@kong-ui-public/entities-gateway-services 2.2.6 → 2.2.7-pr.940.1b2ea2c1.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,6 +1,6 @@
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";
1
+ import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as b, 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 na, mergeProps as ut, onMounted as ai, onUnmounted as la, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as ni, reactive as $t } from "vue";
2
2
  import { useRouter as ht } from "vue-router";
3
- import { createI18n as bt, i18nTComponent as ni } from "@kong-ui-public/i18n";
3
+ import { createI18n as bt, i18nTComponent as li } from "@kong-ui-public/i18n";
4
4
  import ca from "axios";
5
5
  import { BadgeMethodAppearances as ua } from "@kong/kongponents";
6
6
  const da = {
@@ -20,7 +20,10 @@ const da = {
20
20
  menu_label: "Delete"
21
21
  }
22
22
  }, pa = {
23
- placeholder: "Filter by name"
23
+ placeholder: {
24
+ konnect: "Filter by name",
25
+ kongManager: "Filter by exact name or ID"
26
+ }
24
27
  }, fa = {
25
28
  title: "Gateway Services",
26
29
  list: {
@@ -183,7 +186,7 @@ function ha() {
183
186
  const e = bt("en-us", va);
184
187
  return {
185
188
  i18n: e,
186
- i18nT: ni(e)
189
+ i18nT: li(e)
187
190
  // Translation component <i18n-t>
188
191
  };
189
192
  }
@@ -256,7 +259,7 @@ function wa() {
256
259
  }
257
260
  };
258
261
  }
259
- const lt = "khcp-user-table-preferences", _a = {
262
+ const nt = "khcp-user-table-preferences", _a = {
260
263
  pageSize: 30,
261
264
  sortColumnKey: void 0,
262
265
  sortColumnOrder: void 0
@@ -271,14 +274,14 @@ function ka() {
271
274
  return;
272
275
  }
273
276
  }, i = () => {
274
- const t = e(localStorage.getItem(lt));
277
+ const t = e(localStorage.getItem(nt));
275
278
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
276
279
  };
277
280
  return {
278
281
  setTablePreferences: (t, a) => {
279
282
  try {
280
283
  const r = i();
281
- r.set(t, a), localStorage.setItem(lt, JSON.stringify(Object.fromEntries(r.entries())));
284
+ r.set(t, a), localStorage.setItem(nt, JSON.stringify(Object.fromEntries(r.entries())));
282
285
  } catch (r) {
283
286
  console.error("useTablePreferences(setTablePreferences)", r);
284
287
  }
@@ -288,7 +291,7 @@ function ka() {
288
291
  return (a == null ? void 0 : a.get(t)) || void 0 || _a;
289
292
  },
290
293
  deleteAllTablePreferences: () => {
291
- localStorage.removeItem(lt);
294
+ localStorage.removeItem(nt);
292
295
  }
293
296
  };
294
297
  }
@@ -394,7 +397,7 @@ function _t() {
394
397
  const e = bt("en-us", Ea);
395
398
  return {
396
399
  i18n: e,
397
- i18nT: ni(e)
400
+ i18nT: li(e)
398
401
  // Translation component <i18n-t>
399
402
  };
400
403
  }
@@ -404,8 +407,8 @@ function ci() {
404
407
  return !1;
405
408
  const r = /* @__PURE__ */ new Set([...t, ...a]);
406
409
  for (const o of r) {
407
- const n = t.filter((u) => u === o).length, l = a.filter((u) => u === o).length;
408
- if (n !== l)
410
+ const l = t.filter((u) => u === o).length, n = a.filter((u) => u === o).length;
411
+ if (l !== n)
409
412
  return !1;
410
413
  }
411
414
  return !0;
@@ -436,8 +439,8 @@ function ci() {
436
439
  }
437
440
  },
438
441
  sortAlpha: (t) => (a, r) => {
439
- let o = a[t] === void 0 || a[t] === null ? "" : a[t], n = r[t] === void 0 || r[t] === null ? "" : r[t];
440
- return Array.isArray(a[t]) && (o = a[t][0]), Array.isArray(r[t]) && (n = r[t][0]), o.localeCompare(n);
442
+ let o = a[t] === void 0 || a[t] === null ? "" : a[t], l = r[t] === void 0 || r[t] === null ? "" : r[t];
443
+ return Array.isArray(a[t]) && (o = a[t][0]), Array.isArray(r[t]) && (l = r[t][0]), o.localeCompare(l);
441
444
  },
442
445
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
443
446
  };
@@ -449,16 +452,16 @@ function Oa(e, i, t, a = {
449
452
  t || (t = "100");
450
453
  const { axiosInstance: r } = wt({
451
454
  headers: e.requestHeaders
452
- }), { i18n: { t: o } } = _t(), { debounce: n } = wa(), l = n(async (x) => {
455
+ }), { i18n: { t: o } } = _t(), { debounce: l } = wa(), n = l(async (x) => {
453
456
  await E(x);
454
- }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), b = N(void 0), S = m(i);
457
+ }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), h = N(void 0), S = m(i);
455
458
  let k = `${e.apiBaseUrl}${S}`;
456
459
  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
460
  const { isValidUuid: v } = ci(), $ = async () => {
458
461
  try {
459
462
  u.value = !0;
460
463
  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;
464
+ x != null && x.next || (h.value = a.fetchedItemsKey in x ? x[a.fetchedItemsKey] : []), w.value = a.fetchedItemsKey in x ? x[a.fetchedItemsKey] : [], p.value = w.value;
462
465
  } catch {
463
466
  p.value = [], d.value = o("debouncedFilter.errors.fetch");
464
467
  } finally {
@@ -467,7 +470,7 @@ function Oa(e, i, t, a = {
467
470
  }, s = N(""), E = async (x) => {
468
471
  var B, re, W;
469
472
  if (s.value !== x)
470
- if (s.value = x || "", b.value === void 0)
473
+ if (s.value = x || "", h.value === void 0)
471
474
  try {
472
475
  if (u.value = !0, d.value = "", f.value = "", e.app === "konnect") {
473
476
  let A = k + "";
@@ -500,7 +503,7 @@ function Oa(e, i, t, a = {
500
503
  u.value = !1;
501
504
  }
502
505
  else
503
- u.value = !0, f.value = "", x ? (p.value = (W = b.value) == null ? void 0 : W.filter((A) => {
506
+ u.value = !0, f.value = "", x ? (p.value = (W = h.value) == null ? void 0 : W.filter((A) => {
504
507
  var q;
505
508
  let U = !1;
506
509
  for (const K of a.searchKeys) {
@@ -508,16 +511,16 @@ function Oa(e, i, t, a = {
508
511
  H != null && H.includes(x.toLowerCase()) && (U = !0);
509
512
  }
510
513
  return U;
511
- }), (!p.value || !p.value.length) && (f.value = o("debouncedFilter.errors.invalid"))) : p.value = b.value, u.value = !1;
514
+ }), (!p.value || !p.value.length) && (f.value = o("debouncedFilter.errors.invalid"))) : p.value = h.value, u.value = !1;
512
515
  };
513
516
  return {
514
517
  loading: u,
515
518
  error: d,
516
519
  validationError: f,
517
520
  results: p,
518
- allRecords: b,
521
+ allRecords: h,
519
522
  loadItems: $,
520
- debouncedQueryChange: l
523
+ debouncedQueryChange: n
521
524
  };
522
525
  }
523
526
  function Va(e, i) {
@@ -538,8 +541,8 @@ function Fa() {
538
541
  return i.response.data.detail;
539
542
  if ((a = i.response.data.details) != null && a.length)
540
543
  return i.response.data.details.map((o) => {
541
- let n = e("errors.unexpected");
542
- return o.messages && typeof o.messages == "object" && o.messages.length && (n = o.messages.join(", ")), o.field ? `${o.field} - ${n}` : n;
544
+ let l = e("errors.unexpected");
545
+ return o.messages && typeof o.messages == "object" && o.messages.length && (l = o.messages.join(", ")), o.field ? `${o.field} - ${l}` : l;
543
546
  }).join("; ");
544
547
  if (i.response.data.message) {
545
548
  const { message: o } = i.response.data;
@@ -557,7 +560,7 @@ function Fa() {
557
560
  function Na(e) {
558
561
  const i = window.location.origin, t = i.endsWith("/") ? i : `${i}/`;
559
562
  try {
560
- const a = e.join("/"), r = `${t}${a}`, o = e.some((n) => n.trim() === "");
563
+ const a = e.join("/"), r = `${t}${a}`, o = e.some((l) => l.trim() === "");
561
564
  if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(r) && !o && new URL(r))
562
565
  return `${t}${a}`;
563
566
  throw new Error("Invalid url");
@@ -571,28 +574,28 @@ function ui(e, i) {
571
574
  ), o = T(
572
575
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
573
576
  );
574
- return (n) => {
575
- const { page: l, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: w } = n;
577
+ return (l) => {
578
+ const { page: n, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: w } = l;
576
579
  try {
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((S, k) => {
579
- b.searchParams.append(k, S);
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
- } catch (b) {
582
- return console.error("RouteList(fetcher)", b), a.value;
580
+ let h = new URL(o.value.href);
581
+ return r.value && w ? (h.search = "", h = t.value.app === "konnect" ? new URL(`${h.href}?filter[name][contains]=${w}`) : new URL(`${h.href}/${w}/`)) : (r.value || new URLSearchParams(w).forEach((S, k) => {
582
+ h.searchParams.append(k, S);
583
+ }), f && h.searchParams.append("sort_by", f), p === "desc" && h.searchParams.append("sort_desc", "1"), h.searchParams.append("size", String(u))), d && n !== 1 && h.searchParams.append("offset", String(d)), h.href;
584
+ } catch (h) {
585
+ return console.error("RouteList(fetcher)", h), a.value;
583
586
  }
584
587
  };
585
588
  }
586
589
  function Ka(e, i, t = "data") {
587
590
  const a = m(i), { axiosInstance: r } = wt({
588
591
  headers: e.requestHeaders
589
- }), o = ui(e, a), n = N({
592
+ }), o = ui(e, a), l = N({
590
593
  status: Ae.Idle
591
594
  });
592
- return { fetcher: async (l) => {
595
+ return { fetcher: async (n) => {
593
596
  try {
594
- n.value = { status: Ae.Loading };
595
- const u = o(l), { data: d } = await r.get(u), f = t && t.replace(/[^\w-_]/gi, "");
597
+ l.value = { status: Ae.Loading };
598
+ const u = o(n), { data: d } = await r.get(u), f = t && t.replace(/[^\w-_]/gi, "");
596
599
  let p;
597
600
  d[f] && Array.isArray(d[f]) ? p = d[f] : Array.isArray(d) ? p = d : p = Object.keys(d).length ? [d] : [];
598
601
  const w = {
@@ -604,7 +607,7 @@ function Ka(e, i, t = "data") {
604
607
  }
605
608
  } : null
606
609
  };
607
- return n.value = {
610
+ return l.value = {
608
611
  status: Ae.Idle,
609
612
  response: w
610
613
  }, w;
@@ -613,17 +616,17 @@ function Ka(e, i, t = "data") {
613
616
  data: [],
614
617
  total: 0
615
618
  };
616
- return l.query && u.response.status === 404 ? (n.value = {
619
+ return n.query && u.response.status === 404 ? (l.value = {
617
620
  status: Ae.NoResults,
618
621
  response: d,
619
622
  error: u
620
- }, d) : (n.value = {
623
+ }, d) : (l.value = {
621
624
  status: Ae.Error,
622
625
  response: d,
623
626
  error: u
624
627
  }, d);
625
628
  }
626
- }, fetcherState: n };
629
+ }, fetcherState: l };
627
630
  }
628
631
  function La() {
629
632
  const e = (t, a = "_") => t ? t.split(a).map((r) => r.toLowerCase() === "id" ? r.toUpperCase() : r.charAt(0).toUpperCase() + r.substring(1)).join(" ") : "", i = /(?:^|[\s-:'"])\w/g;
@@ -655,8 +658,8 @@ const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
655
658
  }
656
659
  return 0;
657
660
  }, Pa = (e, i) => {
658
- const t = Mt(e), a = Mt(i), r = t.pop(), o = a.pop(), n = Ot(t, a);
659
- return n !== 0 ? n : r && o ? Ot(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
661
+ const t = Mt(e), a = Mt(i), r = t.pop(), o = a.pop(), l = Ot(t, a);
662
+ return l !== 0 ? l : r && o ? Ot(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
660
663
  }, Vt = (e, i, t) => {
661
664
  Ua(t);
662
665
  const a = Pa(e, i);
@@ -684,8 +687,8 @@ function Da(e) {
684
687
  const o = t[a];
685
688
  if (!o)
686
689
  return !1;
687
- const [n, l] = o;
688
- return !(n && Vt(r, n, "<") || l && Vt(r, l, ">"));
690
+ const [l, n] = o;
691
+ return !(l && Vt(r, l, "<") || n && Vt(r, n, ">"));
689
692
  }
690
693
  function Ha(e) {
691
694
  const i = N(0), t = N(0), a = N(!1);
@@ -695,7 +698,7 @@ function Ha(e) {
695
698
  isTruncated: T(() => i.value < t.value)
696
699
  };
697
700
  }
698
- const ne = {
701
+ const le = {
699
702
  useAxios: wt,
700
703
  useDebouncedFilter: Oa,
701
704
  useDeleteUrlBuilder: Va,
@@ -722,7 +725,7 @@ const ne = {
722
725
  for (const [a, r] of i)
723
726
  t[a] = r;
724
727
  return t;
725
- }, Za = (e) => (oi("data-v-641e0aee"), e = e(), li(), e), Qa = ["aria-hidden"], Xa = {
728
+ }, Za = (e) => (oi("data-v-641e0aee"), e = e(), ni(), e), Qa = ["aria-hidden"], Xa = {
726
729
  key: 0,
727
730
  "data-testid": "kui-icon-svg-title"
728
731
  }, er = /* @__PURE__ */ Za(() => /* @__PURE__ */ F("path", {
@@ -797,14 +800,14 @@ const ne = {
797
800
  lineHeight: "0",
798
801
  width: t.value
799
802
  }));
800
- return (r, o) => (h(), P(Ne(e.as), {
803
+ return (r, o) => (b(), P(Ne(e.as), {
801
804
  "aria-hidden": e.decorative ? "true" : void 0,
802
805
  class: "kui-icon copy-icon",
803
806
  "data-testid": "kui-icon-wrapper-copy-icon",
804
807
  style: ri(a.value)
805
808
  }, {
806
809
  default: y(() => [
807
- (h(), M("svg", {
810
+ (b(), M("svg", {
808
811
  "aria-hidden": e.decorative ? "true" : void 0,
809
812
  "data-testid": "kui-icon-svg-copy-icon",
810
813
  fill: "none",
@@ -814,14 +817,14 @@ const ne = {
814
817
  width: "100%",
815
818
  xmlns: "http://www.w3.org/2000/svg"
816
819
  }, [
817
- e.title ? (h(), M("title", Xa, V(e.title), 1)) : D("", !0),
820
+ e.title ? (b(), M("title", Xa, V(e.title), 1)) : D("", !0),
818
821
  er
819
822
  ], 8, Qa))
820
823
  ]),
821
824
  _: 1
822
825
  }, 8, ["aria-hidden", "style"]));
823
826
  }
824
- }), ir = /* @__PURE__ */ Ya(tr, [["__scopeId", "data-v-641e0aee"]]), ar = "16px", rr = { class: "kong-ui-copy-uuid" }, or = ["onClick"], Kt = 15, lr = /* @__PURE__ */ ae({
827
+ }), ir = /* @__PURE__ */ Ya(tr, [["__scopeId", "data-v-641e0aee"]]), ar = "16px", rr = { class: "kong-ui-copy-uuid" }, or = ["onClick"], Kt = 15, nr = /* @__PURE__ */ ae({
825
828
  __name: "CopyUuid",
826
829
  props: {
827
830
  uuid: {
@@ -872,8 +875,8 @@ const ne = {
872
875
  placement: "bottomStart"
873
876
  } : {
874
877
  title: t.uuid
875
- }), n = T(() => !!(t.tooltip && t.successTooltip)), l = N(t.tooltip), u = T(() => t.tooltip ? {
876
- label: l.value,
878
+ }), l = T(() => !!(t.tooltip && t.successTooltip)), n = N(t.tooltip), u = T(() => t.tooltip ? {
879
+ label: n.value,
877
880
  positionFixed: !0,
878
881
  maxWidth: "500px",
879
882
  placement: "bottomStart"
@@ -881,28 +884,28 @@ const ne = {
881
884
  var w;
882
885
  return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(w = t.uuid) == null ? void 0 : w.substring(0, 5)}` : t.uuid;
883
886
  }), f = (w) => {
884
- l.value = w, setTimeout(() => {
885
- l.value = t.tooltip;
887
+ n.value = w, setTimeout(() => {
888
+ n.value = t.tooltip;
886
889
  }, 1800);
887
890
  }, p = (w) => {
888
- var b, S;
891
+ var h, S;
889
892
  if (!w(t.uuid)) {
890
893
  typeof r == "function" && r({
891
894
  type: "error",
892
895
  message: a("message.fail")
893
- }), n.value ? f(a("message.fail")) : i("error", t.uuid);
896
+ }), l.value ? f(a("message.fail")) : i("error", t.uuid);
894
897
  return;
895
898
  }
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 ? "..." : "")}"`;
899
+ const k = ((h = t.uuid) == null ? void 0 : h.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
900
  typeof r == "function" && r({
898
901
  type: "success",
899
902
  message: `${v}${a("message.success.content")}`
900
- }), n.value ? f(t.successTooltip) : i("success", t.uuid);
903
+ }), l.value ? f(t.successTooltip) : i("success", t.uuid);
901
904
  };
902
- return (w, b) => {
905
+ return (w, h) => {
903
906
  const S = L("KClipboardProvider");
904
- return h(), M("div", rr, [
905
- e.format !== "hidden" ? (h(), P(Ne(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
907
+ return b(), M("div", rr, [
908
+ e.format !== "hidden" ? (b(), P(Ne(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
906
909
  default: y(() => [
907
910
  F("div", {
908
911
  class: $e([
@@ -914,7 +917,7 @@ const ne = {
914
917
  ]),
915
918
  _: 1
916
919
  }, 16)) : D("", !0),
917
- (h(), P(Ne(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
920
+ (b(), P(Ne(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
918
921
  default: y(() => [
919
922
  C(S, null, {
920
923
  default: y(({ copyToClipboard: k }) => [
@@ -941,12 +944,12 @@ const ne = {
941
944
  ]);
942
945
  };
943
946
  }
944
- }), nr = (e, i) => {
947
+ }), lr = (e, i) => {
945
948
  const t = e.__vccOpts || e;
946
949
  for (const [a, r] of i)
947
950
  t[a] = r;
948
951
  return t;
949
- }, fi = /* @__PURE__ */ nr(lr, [["__scopeId", "data-v-0c07874b"]]), sr = {
952
+ }, fi = /* @__PURE__ */ lr(nr, [["__scopeId", "data-v-0c07874b"]]), sr = {
950
953
  key: 0,
951
954
  class: "config-card-fieldset-title"
952
955
  }, cr = /* @__PURE__ */ ae({
@@ -966,26 +969,26 @@ const ne = {
966
969
  }
967
970
  },
968
971
  setup(e) {
969
- const i = e, { i18n: { t } } = ne.useI18n(), { convertKeyToTitle: a } = ne.useStringHelpers(), r = T(() => i.item.key ?? "json-array-item"), o = T(() => i.item.value ?? i.item), n = T(() => {
972
+ const i = e, { i18n: { t } } = le.useI18n(), { convertKeyToTitle: a } = le.useStringHelpers(), r = T(() => i.item.key ?? "json-array-item"), o = T(() => i.item.value ?? i.item), l = T(() => {
970
973
  const u = JSON.parse(JSON.stringify(o.value));
971
974
  return i.isArrayItem && delete u.name, u;
972
- }), l = T(() => {
975
+ }), n = T(() => {
973
976
  var u;
974
977
  return i.isArrayItem ? (u = o.value) != null && u.name ? a(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: i.index }) : "";
975
978
  });
976
- return (u, d) => (h(), P(Ne(e.isArrayItem ? "fieldset" : "div"), {
979
+ return (u, d) => (b(), P(Ne(e.isArrayItem ? "fieldset" : "div"), {
977
980
  class: $e(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
978
981
  }, {
979
982
  default: y(() => [
980
- e.isArrayItem ? (h(), M("legend", sr, [
981
- F("b", null, V(l.value), 1)
983
+ e.isArrayItem ? (b(), M("legend", sr, [
984
+ F("b", null, V(n.value), 1)
982
985
  ])) : D("", !0),
983
- (h(!0), M(ye, null, ge(Object.keys(n.value), (f, p) => (h(), P(kt, {
986
+ (b(!0), M(ye, null, ge(Object.keys(l.value), (f, p) => (b(), P(kt, {
984
987
  key: `${r.value}-property-${p}`,
985
988
  item: {
986
989
  key: f,
987
990
  label: m(a)(f),
988
- value: n.value[f]
991
+ value: l.value[f]
989
992
  }
990
993
  }, null, 8, ["item"]))), 128))
991
994
  ]),
@@ -1007,10 +1010,10 @@ const ne = {
1007
1010
  },
1008
1011
  emits: ["navigation-click"],
1009
1012
  setup(e) {
1010
- const { i18n: { t: i } } = ne.useI18n();
1013
+ const { i18n: { t: i } } = le.useI18n();
1011
1014
  return (t, a) => {
1012
1015
  const r = L("KButton");
1013
- return h(), M("div", null, [
1016
+ return b(), M("div", null, [
1014
1017
  C(r, {
1015
1018
  appearance: "tertiary",
1016
1019
  class: "navigation-button",
@@ -1033,10 +1036,10 @@ const ne = {
1033
1036
  }
1034
1037
  },
1035
1038
  setup(e) {
1036
- const { i18n: { t: i } } = ne.useI18n();
1039
+ const { i18n: { t: i } } = le.useI18n();
1037
1040
  return (t, a) => {
1038
1041
  const r = L("KBadge");
1039
- return h(), P(r, {
1042
+ return b(), P(r, {
1040
1043
  appearance: e.status ? "success" : "neutral"
1041
1044
  }, {
1042
1045
  default: y(() => [
@@ -1070,13 +1073,13 @@ const ne = {
1070
1073
  emits: ["navigation-click"],
1071
1074
  setup(e, { emit: i }) {
1072
1075
  const t = e;
1073
- ra((b) => ({
1076
+ ra((h) => ({
1074
1077
  "0da74440": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
- "02a039da": u.value && n.value ? "block" : "flex",
1076
- "690f3ced": u.value && n.value ? "100%" : t.slim ? "50%" : "25%",
1077
- "691182c8": u.value && n.value ? "100%" : t.slim ? "50%" : "75%"
1078
+ "02a039da": u.value && l.value ? "block" : "flex",
1079
+ "690f3ced": u.value && l.value ? "100%" : t.slim ? "50%" : "25%",
1080
+ "691182c8": u.value && l.value ? "100%" : t.slim ? "50%" : "75%"
1078
1081
  }));
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(() => {
1082
+ const a = it(), { i18n: { t: r, formatUnixTimeStamp: o } } = le.useI18n(), l = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), n = 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
1083
  switch (t.item.type) {
1081
1084
  case ee.ID:
1082
1085
  return {
@@ -1162,8 +1165,8 @@ const ne = {
1162
1165
  attrs: {
1163
1166
  "data-testid": `${t.item.key}-internal-link`,
1164
1167
  item: t.item,
1165
- onNavigationClick: (b) => {
1166
- i("navigation-click", b);
1168
+ onNavigationClick: (h) => {
1169
+ i("navigation-click", h);
1167
1170
  }
1168
1171
  }
1169
1172
  };
@@ -1202,28 +1205,28 @@ const ne = {
1202
1205
  text: t.item.value
1203
1206
  };
1204
1207
  }
1205
- }), p = N(), { isTruncated: w } = ne.useTruncationDetector(p);
1206
- return (b, S) => {
1208
+ }), p = N(), { isTruncated: w } = le.useTruncationDetector(p);
1209
+ return (h, S) => {
1207
1210
  const k = L("KLabel"), v = L("KBadge"), $ = L("KTooltip");
1208
- return h(), M("div", hr, [
1211
+ return b(), M("div", hr, [
1209
1212
  F("div", {
1210
1213
  class: "config-card-details-label",
1211
1214
  "data-testid": `${e.item.key}-label`
1212
1215
  }, [
1213
- Z(b.$slots, "label", { item: e.item }, () => [
1216
+ Z(h.$slots, "label", { item: e.item }, () => [
1214
1217
  C(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1215
1218
  default: y(() => [
1216
1219
  J(V(e.item.label) + " ", 1)
1217
1220
  ]),
1218
1221
  _: 2
1219
1222
  }, [
1220
- l.value ? {
1223
+ n.value ? {
1221
1224
  name: "tooltip",
1222
1225
  fn: y(() => [
1223
1226
  F("div", {
1224
1227
  "data-testid": `${e.item.key}-label-tooltip`
1225
1228
  }, [
1226
- Z(b.$slots, "label-tooltip", {}, () => [
1229
+ Z(h.$slots, "label-tooltip", {}, () => [
1227
1230
  J(V(e.item.tooltip), 1)
1228
1231
  ], !0)
1229
1232
  ], 8, wr)
@@ -1237,17 +1240,17 @@ const ne = {
1237
1240
  class: "config-card-details-value",
1238
1241
  "data-testid": `${e.item.key}-property-value`
1239
1242
  }, [
1240
- Z(b.$slots, e.item.key, {
1243
+ Z(h.$slots, e.item.key, {
1241
1244
  rowValue: e.item.value
1242
1245
  }, () => [
1243
- n.value ? (h(), M("div", Cr, [
1244
- (h(), P(Ne(f.value.tag), oa(la(f.value.attrs)), {
1246
+ l.value ? (b(), M("div", Cr, [
1247
+ (b(), P(Ne(f.value.tag), oa(na(f.value.attrs)), {
1245
1248
  default: y(() => [
1246
- f.value.additionalComponent === "KBadge" ? (h(), M("div", {
1249
+ f.value.additionalComponent === "KBadge" ? (b(), M("div", {
1247
1250
  key: 0,
1248
1251
  "data-testid": `${e.item.key}-badge-tags`
1249
1252
  }, [
1250
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1253
+ (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(v, {
1251
1254
  key: `${e.item.key}-badge-tag-${E}`,
1252
1255
  class: "config-badge",
1253
1256
  "data-testid": `${e.item.key}-badge-tag-${E}`,
@@ -1260,22 +1263,22 @@ const ne = {
1260
1263
  _: 2
1261
1264
  }, 1032, ["data-testid", "tooltip"]))), 128))
1262
1265
  ], 8, Sr)) : D("", !0),
1263
- f.value.additionalComponent === "CopyUuid" ? (h(), M("div", {
1266
+ f.value.additionalComponent === "CopyUuid" ? (b(), M("div", {
1264
1267
  key: 1,
1265
1268
  class: "copy-uuid-array",
1266
1269
  "data-testid": `${e.item.key}-copy-uuid-array`
1267
1270
  }, [
1268
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(m(fi), ut(f.value.childAttrs, {
1271
+ (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(m(fi), ut(f.value.childAttrs, {
1269
1272
  key: `${e.item.key}-copy-uuid-${E}`,
1270
1273
  "data-testid": `${e.item.key}-copy-uuid-${E}`,
1271
1274
  uuid: s
1272
1275
  }), null, 16, ["data-testid", "uuid"]))), 128))
1273
- ], 8, Ir)) : f.value.additionalComponent === "KMethodBadge" ? (h(), M("div", {
1276
+ ], 8, Ir)) : f.value.additionalComponent === "KMethodBadge" ? (b(), M("div", {
1274
1277
  key: 2,
1275
1278
  class: "method-badge-array",
1276
1279
  "data-testid": `${e.item.key}-badge-methods`
1277
1280
  }, [
1278
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1281
+ (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(v, {
1279
1282
  key: `${e.item.key}-badge-method-${E}`,
1280
1283
  appearance: Object.values(m(ua)).includes(s.toLowerCase()) ? s.toLowerCase() : "custom",
1281
1284
  class: "config-badge",
@@ -1287,17 +1290,17 @@ const ne = {
1287
1290
  _: 2
1288
1291
  }, 1032, ["appearance", "data-testid"]))), 128))
1289
1292
  ], 8, Ar)) : D("", !0),
1290
- f.value.additionalComponent === "JsonCardItem" ? (h(), M("div", {
1293
+ f.value.additionalComponent === "JsonCardItem" ? (b(), M("div", {
1291
1294
  key: 3,
1292
1295
  "data-testid": `${t.item.key}-json-array-content`
1293
1296
  }, [
1294
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(mi, {
1297
+ (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(mi, {
1295
1298
  key: `json-array-item-${E}`,
1296
1299
  index: E,
1297
1300
  "is-array-item": "",
1298
1301
  item: s
1299
1302
  }, null, 8, ["index", "item"]))), 128))
1300
- ], 8, xr)) : (h(), P($, {
1303
+ ], 8, xr)) : (b(), P($, {
1301
1304
  key: 4,
1302
1305
  label: m(w) ? e.item.value : ""
1303
1306
  }, {
@@ -1313,7 +1316,7 @@ const ne = {
1313
1316
  ]),
1314
1317
  _: 1
1315
1318
  }, 16))
1316
- ])) : (h(), M("div", {
1319
+ ])) : (b(), M("div", {
1317
1320
  key: 0,
1318
1321
  "data-testid": `${e.item.key}-no-value`
1319
1322
  }, " – ", 8, kr))
@@ -1349,7 +1352,7 @@ function Or(e, i) {
1349
1352
  function Vr(e) {
1350
1353
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1351
1354
  }
1352
- var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, le = {
1355
+ var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, ne = {
1353
1356
  isNothing: Fr,
1354
1357
  isObject: Nr,
1355
1358
  toArray: Kr,
@@ -1372,46 +1375,46 @@ He.prototype.toString = function(e) {
1372
1375
  return this.name + ": " + yi(this, e);
1373
1376
  };
1374
1377
  var fe = He;
1375
- function nt(e, i, t, a, r) {
1376
- var o = "", n = "", l = Math.floor(r / 2) - 1;
1377
- return a - i > l && (o = " ... ", i = a - l + o.length), t - a > l && (n = " ...", t = a + l - n.length), {
1378
- str: o + e.slice(i, t).replace(/\t/g, "→") + n,
1378
+ function lt(e, i, t, a, r) {
1379
+ var o = "", l = "", n = Math.floor(r / 2) - 1;
1380
+ return a - i > n && (o = " ... ", i = a - n + o.length), t - a > n && (l = " ...", t = a + n - l.length), {
1381
+ str: o + e.slice(i, t).replace(/\t/g, "→") + l,
1379
1382
  pos: a - i + o.length
1380
1383
  // relative position
1381
1384
  };
1382
1385
  }
1383
1386
  function st(e, i) {
1384
- return le.repeat(" ", i - e.length) + e;
1387
+ return ne.repeat(" ", i - e.length) + e;
1385
1388
  }
1386
1389
  function Pr(e, i) {
1387
1390
  if (i = Object.create(i || null), !e.buffer)
1388
1391
  return null;
1389
1392
  i.maxLength || (i.maxLength = 79), typeof i.indent != "number" && (i.indent = 1), typeof i.linesBefore != "number" && (i.linesBefore = 3), typeof i.linesAfter != "number" && (i.linesAfter = 2);
1390
- for (var t = /\r?\n|\r|\0/g, a = [0], r = [], o, n = -1; o = t.exec(e.buffer); )
1391
- r.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && n < 0 && (n = a.length - 2);
1392
- n < 0 && (n = a.length - 1);
1393
- var l = "", u, d, f = Math.min(e.line + i.linesAfter, r.length).toString().length, p = i.maxLength - (i.indent + f + 3);
1394
- for (u = 1; u <= i.linesBefore && !(n - u < 0); u++)
1395
- d = nt(
1393
+ for (var t = /\r?\n|\r|\0/g, a = [0], r = [], o, l = -1; o = t.exec(e.buffer); )
1394
+ r.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && l < 0 && (l = a.length - 2);
1395
+ l < 0 && (l = a.length - 1);
1396
+ var n = "", u, d, f = Math.min(e.line + i.linesAfter, r.length).toString().length, p = i.maxLength - (i.indent + f + 3);
1397
+ for (u = 1; u <= i.linesBefore && !(l - u < 0); u++)
1398
+ d = lt(
1396
1399
  e.buffer,
1397
- a[n - u],
1398
- r[n - u],
1399
- e.position - (a[n] - a[n - u]),
1400
+ a[l - u],
1401
+ r[l - u],
1402
+ e.position - (a[l] - a[l - u]),
1400
1403
  p
1401
- ), l = le.repeat(" ", i.indent) + st((e.line - u + 1).toString(), f) + " | " + d.str + `
1402
- ` + l;
1403
- for (d = nt(e.buffer, a[n], r[n], e.position, p), l += le.repeat(" ", i.indent) + st((e.line + 1).toString(), f) + " | " + d.str + `
1404
- `, l += le.repeat("-", i.indent + f + 3 + d.pos) + `^
1405
- `, u = 1; u <= i.linesAfter && !(n + u >= r.length); u++)
1406
- d = nt(
1404
+ ), n = ne.repeat(" ", i.indent) + st((e.line - u + 1).toString(), f) + " | " + d.str + `
1405
+ ` + n;
1406
+ for (d = lt(e.buffer, a[l], r[l], e.position, p), n += ne.repeat(" ", i.indent) + st((e.line + 1).toString(), f) + " | " + d.str + `
1407
+ `, n += ne.repeat("-", i.indent + f + 3 + d.pos) + `^
1408
+ `, u = 1; u <= i.linesAfter && !(l + u >= r.length); u++)
1409
+ d = lt(
1407
1410
  e.buffer,
1408
- a[n + u],
1409
- r[n + u],
1410
- e.position - (a[n] - a[n + u]),
1411
+ a[l + u],
1412
+ r[l + u],
1413
+ e.position - (a[l] - a[l + u]),
1411
1414
  p
1412
- ), l += le.repeat(" ", i.indent) + st((e.line + u + 1).toString(), f) + " | " + d.str + `
1415
+ ), n += ne.repeat(" ", i.indent) + st((e.line + u + 1).toString(), f) + " | " + d.str + `
1413
1416
  `;
1414
- return l.replace(/\n$/, "");
1417
+ return n.replace(/\n$/, "");
1415
1418
  }
1416
1419
  var Ur = Pr, Rr = [
1417
1420
  "kind",
@@ -1453,8 +1456,8 @@ function Lt(e, i) {
1453
1456
  var t = [];
1454
1457
  return e[i].forEach(function(a) {
1455
1458
  var r = t.length;
1456
- t.forEach(function(o, n) {
1457
- o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (r = n);
1459
+ t.forEach(function(o, l) {
1460
+ o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (r = l);
1458
1461
  }), t[r] = a;
1459
1462
  }), t;
1460
1463
  }
@@ -1664,7 +1667,7 @@ function ro(e) {
1664
1667
  return t * parseInt(i, 10);
1665
1668
  }
1666
1669
  function oo(e) {
1667
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !le.isNegativeZero(e);
1670
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ne.isNegativeZero(e);
1668
1671
  }
1669
1672
  var Si = new ue("tag:yaml.org,2002:int", {
1670
1673
  kind: "scalar",
@@ -1693,12 +1696,12 @@ var Si = new ue("tag:yaml.org,2002:int", {
1693
1696
  decimal: [10, "dec"],
1694
1697
  hexadecimal: [16, "hex"]
1695
1698
  }
1696
- }), lo = new RegExp(
1699
+ }), no = new RegExp(
1697
1700
  // 2.5e4, 2.5 and integers
1698
1701
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1699
1702
  );
1700
- function no(e) {
1701
- return !(e === null || !lo.test(e) || // Quick hack to not allow integers end with `_`
1703
+ function lo(e) {
1704
+ return !(e === null || !no.test(e) || // Quick hack to not allow integers end with `_`
1702
1705
  // Probably should update regexp & check speed
1703
1706
  e[e.length - 1] === "_");
1704
1707
  }
@@ -1736,16 +1739,16 @@ function uo(e, i) {
1736
1739
  case "camelcase":
1737
1740
  return "-.Inf";
1738
1741
  }
1739
- else if (le.isNegativeZero(e))
1742
+ else if (ne.isNegativeZero(e))
1740
1743
  return "-0.0";
1741
1744
  return t = e.toString(10), co.test(t) ? t.replace("e", ".e") : t;
1742
1745
  }
1743
1746
  function po(e) {
1744
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || le.isNegativeZero(e));
1747
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ne.isNegativeZero(e));
1745
1748
  }
1746
1749
  var Ii = new ue("tag:yaml.org,2002:float", {
1747
1750
  kind: "scalar",
1748
- resolve: no,
1751
+ resolve: lo,
1749
1752
  construct: so,
1750
1753
  predicate: po,
1751
1754
  represent: uo,
@@ -1766,17 +1769,17 @@ function fo(e) {
1766
1769
  return e === null ? !1 : Ti.exec(e) !== null || $i.exec(e) !== null;
1767
1770
  }
1768
1771
  function mo(e) {
1769
- var i, t, a, r, o, n, l, u = 0, d = null, f, p, w;
1772
+ var i, t, a, r, o, l, n, u = 0, d = null, f, p, w;
1770
1773
  if (i = Ti.exec(e), i === null && (i = $i.exec(e)), i === null)
1771
1774
  throw new Error("Date resolve error");
1772
1775
  if (t = +i[1], a = +i[2] - 1, r = +i[3], !i[4])
1773
1776
  return new Date(Date.UTC(t, a, r));
1774
- if (o = +i[4], n = +i[5], l = +i[6], i[7]) {
1777
+ if (o = +i[4], l = +i[5], n = +i[6], i[7]) {
1775
1778
  for (u = i[7].slice(0, 3); u.length < 3; )
1776
1779
  u += "0";
1777
1780
  u = +u;
1778
1781
  }
1779
- return i[9] && (f = +i[10], p = +(i[11] || 0), d = (f * 60 + p) * 6e4, i[9] === "-" && (d = -d)), w = new Date(Date.UTC(t, a, r, o, n, l, u)), d && w.setTime(w.getTime() - d), w;
1782
+ return i[9] && (f = +i[10], p = +(i[11] || 0), d = (f * 60 + p) * 6e4, i[9] === "-" && (d = -d)), w = new Date(Date.UTC(t, a, r, o, l, n, u)), d && w.setTime(w.getTime() - d), w;
1780
1783
  }
1781
1784
  function go(e) {
1782
1785
  return e.toISOString();
@@ -1809,16 +1812,16 @@ function vo(e) {
1809
1812
  return a % 8 === 0;
1810
1813
  }
1811
1814
  function ho(e) {
1812
- var i, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, o = Ct, n = 0, l = [];
1815
+ var i, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, o = Ct, l = 0, n = [];
1813
1816
  for (i = 0; i < r; i++)
1814
- i % 4 === 0 && i && (l.push(n >> 16 & 255), l.push(n >> 8 & 255), l.push(n & 255)), n = n << 6 | o.indexOf(a.charAt(i));
1815
- return t = r % 4 * 6, t === 0 ? (l.push(n >> 16 & 255), l.push(n >> 8 & 255), l.push(n & 255)) : t === 18 ? (l.push(n >> 10 & 255), l.push(n >> 2 & 255)) : t === 12 && l.push(n >> 4 & 255), new Uint8Array(l);
1817
+ i % 4 === 0 && i && (n.push(l >> 16 & 255), n.push(l >> 8 & 255), n.push(l & 255)), l = l << 6 | o.indexOf(a.charAt(i));
1818
+ return t = r % 4 * 6, t === 0 ? (n.push(l >> 16 & 255), n.push(l >> 8 & 255), n.push(l & 255)) : t === 18 ? (n.push(l >> 10 & 255), n.push(l >> 2 & 255)) : t === 12 && n.push(l >> 4 & 255), new Uint8Array(n);
1816
1819
  }
1817
1820
  function bo(e) {
1818
- var i = "", t = 0, a, r, o = e.length, n = Ct;
1821
+ var i = "", t = 0, a, r, o = e.length, l = Ct;
1819
1822
  for (a = 0; a < o; a++)
1820
- a % 3 === 0 && a && (i += n[t >> 18 & 63], i += n[t >> 12 & 63], i += n[t >> 6 & 63], i += n[t & 63]), t = (t << 8) + e[a];
1821
- return r = o % 3, r === 0 ? (i += n[t >> 18 & 63], i += n[t >> 12 & 63], i += n[t >> 6 & 63], i += n[t & 63]) : r === 2 ? (i += n[t >> 10 & 63], i += n[t >> 4 & 63], i += n[t << 2 & 63], i += n[64]) : r === 1 && (i += n[t >> 2 & 63], i += n[t << 4 & 63], i += n[64], i += n[64]), i;
1823
+ a % 3 === 0 && a && (i += l[t >> 18 & 63], i += l[t >> 12 & 63], i += l[t >> 6 & 63], i += l[t & 63]), t = (t << 8) + e[a];
1824
+ return r = o % 3, r === 0 ? (i += l[t >> 18 & 63], i += l[t >> 12 & 63], i += l[t >> 6 & 63], i += l[t & 63]) : r === 2 ? (i += l[t >> 10 & 63], i += l[t >> 4 & 63], i += l[t << 2 & 63], i += l[64]) : r === 1 && (i += l[t >> 2 & 63], i += l[t << 4 & 63], i += l[64], i += l[64]), i;
1822
1825
  }
1823
1826
  function wo(e) {
1824
1827
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
@@ -1833,17 +1836,17 @@ var Ei = new ue("tag:yaml.org,2002:binary", {
1833
1836
  function Co(e) {
1834
1837
  if (e === null)
1835
1838
  return !0;
1836
- var i = [], t, a, r, o, n, l = e;
1837
- for (t = 0, a = l.length; t < a; t += 1) {
1838
- if (r = l[t], n = !1, ko.call(r) !== "[object Object]")
1839
+ var i = [], t, a, r, o, l, n = e;
1840
+ for (t = 0, a = n.length; t < a; t += 1) {
1841
+ if (r = n[t], l = !1, ko.call(r) !== "[object Object]")
1839
1842
  return !1;
1840
1843
  for (o in r)
1841
1844
  if (_o.call(r, o))
1842
- if (!n)
1843
- n = !0;
1845
+ if (!l)
1846
+ l = !0;
1844
1847
  else
1845
1848
  return !1;
1846
- if (!n)
1849
+ if (!l)
1847
1850
  return !1;
1848
1851
  if (i.indexOf(o) === -1)
1849
1852
  i.push(o);
@@ -1863,9 +1866,9 @@ var Oi = new ue("tag:yaml.org,2002:omap", {
1863
1866
  function Ao(e) {
1864
1867
  if (e === null)
1865
1868
  return !0;
1866
- var i, t, a, r, o, n = e;
1867
- for (o = new Array(n.length), i = 0, t = n.length; i < t; i += 1) {
1868
- if (a = n[i], Io.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1869
+ var i, t, a, r, o, l = e;
1870
+ for (o = new Array(l.length), i = 0, t = l.length; i < t; i += 1) {
1871
+ if (a = l[i], Io.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1869
1872
  return !1;
1870
1873
  o[i] = [r[0], a[r[0]]];
1871
1874
  }
@@ -1874,9 +1877,9 @@ function Ao(e) {
1874
1877
  function xo(e) {
1875
1878
  if (e === null)
1876
1879
  return [];
1877
- var i, t, a, r, o, n = e;
1878
- for (o = new Array(n.length), i = 0, t = n.length; i < t; i += 1)
1879
- a = n[i], r = Object.keys(a), o[i] = [r[0], a[r[0]]];
1880
+ var i, t, a, r, o, l = e;
1881
+ for (o = new Array(l.length), i = 0, t = l.length; i < t; i += 1)
1882
+ a = l[i], r = Object.keys(a), o[i] = [r[0], a[r[0]]];
1880
1883
  return o;
1881
1884
  }
1882
1885
  var Vi = new ue("tag:yaml.org,2002:pairs", {
@@ -1987,22 +1990,22 @@ var Ut = {
1987
1990
  }
1988
1991
  };
1989
1992
  function ke(e, i, t, a) {
1990
- var r, o, n, l;
1993
+ var r, o, l, n;
1991
1994
  if (i < t) {
1992
- if (l = e.input.slice(i, t), a)
1993
- for (r = 0, o = l.length; r < o; r += 1)
1994
- n = l.charCodeAt(r), n === 9 || 32 <= n && n <= 1114111 || j(e, "expected valid JSON character");
1995
+ if (n = e.input.slice(i, t), a)
1996
+ for (r = 0, o = n.length; r < o; r += 1)
1997
+ l = n.charCodeAt(r), l === 9 || 32 <= l && l <= 1114111 || j(e, "expected valid JSON character");
1995
1998
  else
1996
- Eo.test(l) && j(e, "the stream contains non-printable characters");
1997
- e.result += l;
1999
+ Eo.test(n) && j(e, "the stream contains non-printable characters");
2000
+ e.result += n;
1998
2001
  }
1999
2002
  }
2000
2003
  function Rt(e, i, t, a) {
2001
- var r, o, n, l;
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)
2003
- o = r[n], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2004
+ var r, o, l, n;
2005
+ for (ne.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), l = 0, n = r.length; l < n; l += 1)
2006
+ o = r[l], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2004
2007
  }
2005
- function Ve(e, i, t, a, r, o, n, l, u) {
2008
+ function Ve(e, i, t, a, r, o, l, n, u) {
2006
2009
  var d, f;
2007
2010
  if (Array.isArray(r))
2008
2011
  for (r = Array.prototype.slice.call(r), d = 0, f = r.length; d < f; d += 1)
@@ -2014,7 +2017,7 @@ function Ve(e, i, t, a, r, o, n, l, u) {
2014
2017
  else
2015
2018
  Rt(e, i, o, t);
2016
2019
  else
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, {
2020
+ !e.json && !Ce.call(t, r) && Ce.call(i, r) && (e.line = l || e.line, e.lineStart = n || e.lineStart, e.position = u || e.position, j(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2018
2021
  configurable: !0,
2019
2022
  enumerable: !0,
2020
2023
  writable: !0,
@@ -2047,35 +2050,35 @@ function at(e) {
2047
2050
  return t = e.input.charCodeAt(i), !!((t === 45 || t === 46) && t === e.input.charCodeAt(i + 1) && t === e.input.charCodeAt(i + 2) && (i += 3, t = e.input.charCodeAt(i), t === 0 || me(t)));
2048
2051
  }
2049
2052
  function At(e, i) {
2050
- i === 1 ? e.result += " " : i > 1 && (e.result += le.repeat(`
2053
+ i === 1 ? e.result += " " : i > 1 && (e.result += ne.repeat(`
2051
2054
  `, i - 1));
2052
2055
  }
2053
2056
  function Bo(e, i, t) {
2054
- var a, r, o, n, l, u, d, f, p = e.kind, w = e.result, b;
2055
- if (b = e.input.charCodeAt(e.position), me(b) || Oe(b) || b === 35 || b === 38 || b === 42 || b === 33 || b === 124 || b === 62 || b === 39 || b === 34 || b === 37 || b === 64 || b === 96 || (b === 63 || b === 45) && (r = e.input.charCodeAt(e.position + 1), me(r) || t && Oe(r)))
2057
+ var a, r, o, l, n, u, d, f, p = e.kind, w = e.result, h;
2058
+ if (h = e.input.charCodeAt(e.position), me(h) || Oe(h) || h === 35 || h === 38 || h === 42 || h === 33 || h === 124 || h === 62 || h === 39 || h === 34 || h === 37 || h === 64 || h === 96 || (h === 63 || h === 45) && (r = e.input.charCodeAt(e.position + 1), me(r) || t && Oe(r)))
2056
2059
  return !1;
2057
- for (e.kind = "scalar", e.result = "", o = n = e.position, l = !1; b !== 0; ) {
2058
- if (b === 58) {
2060
+ for (e.kind = "scalar", e.result = "", o = l = e.position, n = !1; h !== 0; ) {
2061
+ if (h === 58) {
2059
2062
  if (r = e.input.charCodeAt(e.position + 1), me(r) || t && Oe(r))
2060
2063
  break;
2061
- } else if (b === 35) {
2064
+ } else if (h === 35) {
2062
2065
  if (a = e.input.charCodeAt(e.position - 1), me(a))
2063
2066
  break;
2064
2067
  } else {
2065
- if (e.position === e.lineStart && at(e) || t && Oe(b))
2068
+ if (e.position === e.lineStart && at(e) || t && Oe(h))
2066
2069
  break;
2067
- if (he(b))
2070
+ if (he(h))
2068
2071
  if (u = e.line, d = e.lineStart, f = e.lineIndent, oe(e, !1, -1), e.lineIndent >= i) {
2069
- l = !0, b = e.input.charCodeAt(e.position);
2072
+ n = !0, h = e.input.charCodeAt(e.position);
2070
2073
  continue;
2071
2074
  } else {
2072
- e.position = n, e.line = u, e.lineStart = d, e.lineIndent = f;
2075
+ e.position = l, e.line = u, e.lineStart = d, e.lineIndent = f;
2073
2076
  break;
2074
2077
  }
2075
2078
  }
2076
- l && (ke(e, o, n, !1), At(e, e.line - u), o = n = e.position, l = !1), Te(b) || (n = e.position + 1), b = e.input.charCodeAt(++e.position);
2079
+ n && (ke(e, o, l, !1), At(e, e.line - u), o = l = e.position, n = !1), Te(h) || (l = e.position + 1), h = e.input.charCodeAt(++e.position);
2077
2080
  }
2078
- return ke(e, o, n, !1), e.result ? !0 : (e.kind = p, e.result = w, !1);
2081
+ return ke(e, o, l, !1), e.result ? !0 : (e.kind = p, e.result = w, !1);
2079
2082
  }
2080
2083
  function Po(e, i) {
2081
2084
  var t, a, r;
@@ -2092,46 +2095,46 @@ function Po(e, i) {
2092
2095
  j(e, "unexpected end of the stream within a single quoted scalar");
2093
2096
  }
2094
2097
  function Uo(e, i) {
2095
- var t, a, r, o, n, l;
2096
- if (l = e.input.charCodeAt(e.position), l !== 34)
2098
+ var t, a, r, o, l, n;
2099
+ if (n = e.input.charCodeAt(e.position), n !== 34)
2097
2100
  return !1;
2098
- for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
2099
- if (l === 34)
2101
+ for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (n = e.input.charCodeAt(e.position)) !== 0; ) {
2102
+ if (n === 34)
2100
2103
  return ke(e, t, e.position, !0), e.position++, !0;
2101
- if (l === 92) {
2102
- if (ke(e, t, e.position, !0), l = e.input.charCodeAt(++e.position), he(l))
2104
+ if (n === 92) {
2105
+ if (ke(e, t, e.position, !0), n = e.input.charCodeAt(++e.position), he(n))
2103
2106
  oe(e, !1, i);
2104
- else if (l < 256 && Bi[l])
2105
- e.result += Pi[l], e.position++;
2106
- else if ((n = No(l)) > 0) {
2107
- for (r = n, o = 0; r > 0; r--)
2108
- l = e.input.charCodeAt(++e.position), (n = Fo(l)) >= 0 ? o = (o << 4) + n : j(e, "expected hexadecimal character");
2107
+ else if (n < 256 && Bi[n])
2108
+ e.result += Pi[n], e.position++;
2109
+ else if ((l = No(n)) > 0) {
2110
+ for (r = l, o = 0; r > 0; r--)
2111
+ n = e.input.charCodeAt(++e.position), (l = Fo(n)) >= 0 ? o = (o << 4) + l : j(e, "expected hexadecimal character");
2109
2112
  e.result += Lo(o), e.position++;
2110
2113
  } else
2111
2114
  j(e, "unknown escape sequence");
2112
2115
  t = a = e.position;
2113
2116
  } else
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);
2117
+ he(n) ? (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);
2115
2118
  }
2116
2119
  j(e, "unexpected end of the stream within a double quoted scalar");
2117
2120
  }
2118
2121
  function Ro(e, i) {
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;
2122
+ var t = !0, a, r, o, l = e.tag, n, u = e.anchor, d, f, p, w, h, S = /* @__PURE__ */ Object.create(null), k, v, $, s;
2120
2123
  if (s = e.input.charCodeAt(e.position), s === 91)
2121
- f = 93, b = !1, l = [];
2124
+ f = 93, h = !1, n = [];
2122
2125
  else if (s === 123)
2123
- f = 125, b = !0, l = {};
2126
+ f = 125, h = !0, n = {};
2124
2127
  else
2125
2128
  return !1;
2126
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2129
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = n), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2127
2130
  if (oe(e, !0, i), s = e.input.charCodeAt(e.position), s === f)
2128
- return e.position++, e.tag = n, e.anchor = u, e.kind = b ? "mapping" : "sequence", e.result = l, !0;
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
+ return e.position++, e.tag = l, e.anchor = u, e.kind = h ? "mapping" : "sequence", e.result = n, !0;
2132
+ 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), h ? Ve(e, n, S, v, k, $, a, r, o) : p ? n.push(Ve(e, null, S, v, k, $, a, r, o)) : n.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2130
2133
  }
2131
2134
  j(e, "unexpected end of the stream within a flow collection");
2132
2135
  }
2133
2136
  function Do(e, i) {
2134
- var t, a, r = ct, o = !1, n = !1, l = i, u = 0, d = !1, f, p;
2137
+ var t, a, r = ct, o = !1, l = !1, n = i, u = 0, d = !1, f, p;
2135
2138
  if (p = e.input.charCodeAt(e.position), p === 124)
2136
2139
  a = !1;
2137
2140
  else if (p === 62)
@@ -2142,7 +2145,7 @@ function Do(e, i) {
2142
2145
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2143
2146
  ct === r ? r = p === 43 ? qt : jo : j(e, "repeat of a chomping mode identifier");
2144
2147
  else if ((f = Ko(p)) >= 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);
2148
+ f === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : l ? j(e, "repeat of an indentation width identifier") : (n = i + f - 1, l = !0);
2146
2149
  else
2147
2150
  break;
2148
2151
  if (Te(p)) {
@@ -2155,34 +2158,34 @@ function Do(e, i) {
2155
2158
  while (!he(p) && p !== 0);
2156
2159
  }
2157
2160
  for (; p !== 0; ) {
2158
- for (It(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!n || e.lineIndent < l) && p === 32; )
2161
+ for (It(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!l || e.lineIndent < n) && p === 32; )
2159
2162
  e.lineIndent++, p = e.input.charCodeAt(++e.position);
2160
- if (!n && e.lineIndent > l && (l = e.lineIndent), he(p)) {
2163
+ if (!l && e.lineIndent > n && (n = e.lineIndent), he(p)) {
2161
2164
  u++;
2162
2165
  continue;
2163
2166
  }
2164
- if (e.lineIndent < l) {
2165
- r === qt ? e.result += le.repeat(`
2167
+ if (e.lineIndent < n) {
2168
+ r === qt ? e.result += ne.repeat(`
2166
2169
  `, o ? 1 + u : u) : r === ct && o && (e.result += `
2167
2170
  `);
2168
2171
  break;
2169
2172
  }
2170
- for (a ? Te(p) ? (d = !0, e.result += le.repeat(`
2171
- `, o ? 1 + u : u)) : d ? (d = !1, e.result += le.repeat(`
2172
- `, u + 1)) : u === 0 ? o && (e.result += " ") : e.result += le.repeat(`
2173
- `, u) : e.result += le.repeat(`
2174
- `, o ? 1 + u : u), o = !0, n = !0, u = 0, t = e.position; !he(p) && p !== 0; )
2173
+ for (a ? Te(p) ? (d = !0, e.result += ne.repeat(`
2174
+ `, o ? 1 + u : u)) : d ? (d = !1, e.result += ne.repeat(`
2175
+ `, u + 1)) : u === 0 ? o && (e.result += " ") : e.result += ne.repeat(`
2176
+ `, u) : e.result += ne.repeat(`
2177
+ `, o ? 1 + u : u), o = !0, l = !0, u = 0, t = e.position; !he(p) && p !== 0; )
2175
2178
  p = e.input.charCodeAt(++e.position);
2176
2179
  ke(e, t, e.position, !1);
2177
2180
  }
2178
2181
  return !0;
2179
2182
  }
2180
2183
  function Dt(e, i) {
2181
- var t, a = e.tag, r = e.anchor, o = [], n, l = !1, u;
2184
+ var t, a = e.tag, r = e.anchor, o = [], l, n = !1, u;
2182
2185
  if (e.firstTabInLine !== -1)
2183
2186
  return !1;
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)))); ) {
2185
- if (l = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= i) {
2187
+ 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 || (l = e.input.charCodeAt(e.position + 1), !me(l)))); ) {
2188
+ if (n = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= i) {
2186
2189
  o.push(null), u = e.input.charCodeAt(e.position);
2187
2190
  continue;
2188
2191
  }
@@ -2191,23 +2194,23 @@ function Dt(e, i) {
2191
2194
  else if (e.lineIndent < i)
2192
2195
  break;
2193
2196
  }
2194
- return l ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2197
+ return n ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2195
2198
  }
2196
2199
  function Ho(e, i, t) {
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;
2200
+ var a, r, o, l, n, u, d = e.tag, f = e.anchor, p = {}, w = /* @__PURE__ */ Object.create(null), h = null, S = null, k = null, v = !1, $ = !1, s;
2198
2201
  if (e.firstTabInLine !== -1)
2199
2202
  return !1;
2200
2203
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), s = e.input.charCodeAt(e.position); s !== 0; ) {
2201
2204
  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;
2205
+ s === 63 ? (v && (Ve(e, p, w, h, S, null, l, n, u), h = 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;
2203
2206
  else {
2204
- if (n = e.line, l = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2207
+ if (l = e.line, n = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2205
2208
  break;
2206
2209
  if (e.line === o) {
2207
2210
  for (s = e.input.charCodeAt(e.position); Te(s); )
2208
2211
  s = e.input.charCodeAt(++e.position);
2209
2212
  if (s === 58)
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;
2213
+ 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, h, S, null, l, n, u), h = S = k = null), $ = !0, v = !1, r = !1, h = e.tag, S = e.result;
2211
2214
  else if ($)
2212
2215
  j(e, "can not read an implicit mapping pair; a colon is missed");
2213
2216
  else
@@ -2217,25 +2220,25 @@ function Ho(e, i, t) {
2217
2220
  else
2218
2221
  return e.tag = d, e.anchor = f, !0;
2219
2222
  }
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)
2223
+ if ((e.line === o || e.lineIndent > i) && (v && (l = e.line, n = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? S = e.result : k = e.result), v || (Ve(e, p, w, h, S, k, l, n, u), h = S = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2221
2224
  j(e, "bad indentation of a mapping entry");
2222
2225
  else if (e.lineIndent < i)
2223
2226
  break;
2224
2227
  }
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), $;
2228
+ return v && Ve(e, p, w, h, S, null, l, n, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2226
2229
  }
2227
2230
  function zo(e) {
2228
- var i, t = !1, a = !1, r, o, n;
2229
- if (n = e.input.charCodeAt(e.position), n !== 33)
2231
+ var i, t = !1, a = !1, r, o, l;
2232
+ if (l = e.input.charCodeAt(e.position), l !== 33)
2230
2233
  return !1;
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) {
2234
+ if (e.tag !== null && j(e, "duplication of a tag property"), l = e.input.charCodeAt(++e.position), l === 60 ? (t = !0, l = e.input.charCodeAt(++e.position)) : l === 33 ? (a = !0, r = "!!", l = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2232
2235
  do
2233
- n = e.input.charCodeAt(++e.position);
2234
- while (n !== 0 && n !== 62);
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");
2236
+ l = e.input.charCodeAt(++e.position);
2237
+ while (l !== 0 && l !== 62);
2238
+ e.position < e.length ? (o = e.input.slice(i, e.position), l = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2236
2239
  } else {
2237
- for (; n !== 0 && !me(n); )
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);
2240
+ for (; l !== 0 && !me(l); )
2241
+ l === 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)), l = e.input.charCodeAt(++e.position);
2239
2242
  o = e.input.slice(i, e.position), Vo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2240
2243
  }
2241
2244
  o && !qi.test(o) && j(e, "tag name cannot contain such characters: " + o);
@@ -2263,11 +2266,11 @@ function Go(e) {
2263
2266
  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;
2264
2267
  }
2265
2268
  function Ke(e, i, t, a, r) {
2266
- var o, n, l, u = 1, d = !1, f = !1, p, w, b, S, k, v;
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
+ var o, l, n, u = 1, d = !1, f = !1, p, w, h, S, k, v;
2270
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = l = n = 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)
2268
2271
  for (; zo(e) || Jo(e); )
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;
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
+ oe(e, !0, -1) ? (d = !0, n = o, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)) : n = !1;
2273
+ if (n && (n = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? n && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (l && 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 = n && Dt(e, v))), e.tag === null)
2271
2274
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2272
2275
  else if (e.tag === "?") {
2273
2276
  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)
@@ -2279,9 +2282,9 @@ function Ke(e, i, t, a, r) {
2279
2282
  if (Ce.call(e.typeMap[e.kind || "fallback"], e.tag))
2280
2283
  S = e.typeMap[e.kind || "fallback"][e.tag];
2281
2284
  else
2282
- for (S = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, w = b.length; p < w; p += 1)
2283
- if (e.tag.slice(0, b[p].tag.length) === b[p].tag) {
2284
- S = b[p];
2285
+ for (S = null, h = e.typeMap.multi[e.kind || "fallback"], p = 0, w = h.length; p < w; p += 1)
2286
+ if (e.tag.slice(0, h[p].tag.length) === h[p].tag) {
2287
+ S = h[p];
2285
2288
  break;
2286
2289
  }
2287
2290
  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,26 +2292,26 @@ function Ke(e, i, t, a, r) {
2289
2292
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || f;
2290
2293
  }
2291
2294
  function Wo(e) {
2292
- var i = e.position, t, a, r, o = !1, n;
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)); ) {
2294
- for (o = !0, n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !me(n); )
2295
- n = e.input.charCodeAt(++e.position);
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; ) {
2297
- for (; Te(n); )
2298
- n = e.input.charCodeAt(++e.position);
2299
- if (n === 35) {
2295
+ var i = e.position, t, a, r, o = !1, l;
2296
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (l = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), l = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || l !== 37)); ) {
2297
+ for (o = !0, l = e.input.charCodeAt(++e.position), t = e.position; l !== 0 && !me(l); )
2298
+ l = e.input.charCodeAt(++e.position);
2299
+ 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"); l !== 0; ) {
2300
+ for (; Te(l); )
2301
+ l = e.input.charCodeAt(++e.position);
2302
+ if (l === 35) {
2300
2303
  do
2301
- n = e.input.charCodeAt(++e.position);
2302
- while (n !== 0 && !he(n));
2304
+ l = e.input.charCodeAt(++e.position);
2305
+ while (l !== 0 && !he(l));
2303
2306
  break;
2304
2307
  }
2305
- if (he(n))
2308
+ if (he(l))
2306
2309
  break;
2307
- for (t = e.position; n !== 0 && !me(n); )
2308
- n = e.input.charCodeAt(++e.position);
2310
+ for (t = e.position; l !== 0 && !me(l); )
2311
+ l = e.input.charCodeAt(++e.position);
2309
2312
  r.push(e.input.slice(t, e.position));
2310
2313
  }
2311
- n !== 0 && It(e), Ce.call(Ut, a) ? Ut[a](e, a, r) : Xe(e, 'unknown document directive "' + a + '"');
2314
+ l !== 0 && It(e), Ce.call(Ut, a) ? Ut[a](e, a, r) : Xe(e, 'unknown document directive "' + a + '"');
2312
2315
  }
2313
2316
  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)) {
2314
2317
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
@@ -2348,7 +2351,7 @@ function Zo(e, i) {
2348
2351
  var Qo = Yo, Xo = Zo, Di = {
2349
2352
  loadAll: Qo,
2350
2353
  load: Xo
2351
- }, Hi = Object.prototype.toString, zi = Object.prototype.hasOwnProperty, xt = 65279, el = 9, ze = 10, tl = 13, il = 32, al = 33, rl = 34, ft = 35, ol = 37, ll = 38, nl = 39, sl = 42, Ji = 44, cl = 45, et = 58, ul = 61, dl = 62, pl = 63, fl = 64, Gi = 91, Wi = 93, ml = 96, Yi = 123, gl = 124, Zi = 125, pe = {};
2354
+ }, Hi = Object.prototype.toString, zi = Object.prototype.hasOwnProperty, xt = 65279, en = 9, ze = 10, tn = 13, an = 32, rn = 33, on = 34, ft = 35, nn = 37, ln = 38, sn = 39, cn = 42, Ji = 44, un = 45, et = 58, dn = 61, pn = 62, fn = 63, mn = 64, Gi = 91, Wi = 93, gn = 96, Yi = 123, yn = 124, Zi = 125, pe = {};
2352
2355
  pe[0] = "\\0";
2353
2356
  pe[7] = "\\a";
2354
2357
  pe[8] = "\\b";
@@ -2364,7 +2367,7 @@ pe[133] = "\\N";
2364
2367
  pe[160] = "\\_";
2365
2368
  pe[8232] = "\\L";
2366
2369
  pe[8233] = "\\P";
2367
- var yl = [
2370
+ var vn = [
2368
2371
  "y",
2369
2372
  "Y",
2370
2373
  "yes",
@@ -2381,16 +2384,16 @@ var yl = [
2381
2384
  "off",
2382
2385
  "Off",
2383
2386
  "OFF"
2384
- ], vl = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2385
- function hl(e, i) {
2386
- var t, a, r, o, n, l, u;
2387
+ ], hn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2388
+ function bn(e, i) {
2389
+ var t, a, r, o, l, n, u;
2387
2390
  if (i === null)
2388
2391
  return {};
2389
2392
  for (t = {}, a = Object.keys(i), r = 0, o = a.length; r < o; r += 1)
2390
- n = a[r], l = String(i[n]), n.slice(0, 2) === "!!" && (n = "tag:yaml.org,2002:" + n.slice(2)), u = e.compiledTypeMap.fallback[n], u && zi.call(u.styleAliases, l) && (l = u.styleAliases[l]), t[n] = l;
2393
+ l = a[r], n = String(i[l]), l.slice(0, 2) === "!!" && (l = "tag:yaml.org,2002:" + l.slice(2)), u = e.compiledTypeMap.fallback[l], u && zi.call(u.styleAliases, n) && (n = u.styleAliases[n]), t[l] = n;
2391
2394
  return t;
2392
2395
  }
2393
- function bl(e) {
2396
+ function wn(e) {
2394
2397
  var i, t, a;
2395
2398
  if (i = e.toString(16).toUpperCase(), e <= 255)
2396
2399
  t = "x", a = 2;
@@ -2400,24 +2403,24 @@ function bl(e) {
2400
2403
  t = "U", a = 8;
2401
2404
  else
2402
2405
  throw new fe("code point within a string may not be greater than 0xFFFFFFFF");
2403
- return "\\" + t + le.repeat("0", a - i.length) + i;
2406
+ return "\\" + t + ne.repeat("0", a - i.length) + i;
2404
2407
  }
2405
- var wl = 1, Je = 2;
2406
- function _l(e) {
2407
- this.schema = e.schema || St, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = le.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = hl(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Je : wl, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2408
+ var _n = 1, Je = 2;
2409
+ function kn(e) {
2410
+ this.schema = e.schema || St, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ne.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = bn(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Je : _n, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2408
2411
  }
2409
2412
  function Ht(e, i) {
2410
- for (var t = le.repeat(" ", i), a = 0, r = -1, o = "", n, l = e.length; a < l; )
2413
+ for (var t = ne.repeat(" ", i), a = 0, r = -1, o = "", l, n = e.length; a < n; )
2411
2414
  r = e.indexOf(`
2412
- `, a), r === -1 ? (n = e.slice(a), a = l) : (n = e.slice(a, r + 1), a = r + 1), n.length && n !== `
2413
- ` && (o += t), o += n;
2415
+ `, a), r === -1 ? (l = e.slice(a), a = n) : (l = e.slice(a, r + 1), a = r + 1), l.length && l !== `
2416
+ ` && (o += t), o += l;
2414
2417
  return o;
2415
2418
  }
2416
2419
  function mt(e, i) {
2417
2420
  return `
2418
- ` + le.repeat(" ", e.indent * i);
2421
+ ` + ne.repeat(" ", e.indent * i);
2419
2422
  }
2420
- function kl(e, i) {
2423
+ function Cn(e, i) {
2421
2424
  var t, a, r;
2422
2425
  for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2423
2426
  if (r = e.implicitTypes[t], r.resolve(i))
@@ -2425,13 +2428,13 @@ function kl(e, i) {
2425
2428
  return !1;
2426
2429
  }
2427
2430
  function tt(e) {
2428
- return e === il || e === el;
2431
+ return e === an || e === en;
2429
2432
  }
2430
2433
  function Ge(e) {
2431
2434
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== xt || 65536 <= e && e <= 1114111;
2432
2435
  }
2433
2436
  function zt(e) {
2434
- return Ge(e) && e !== xt && e !== tl && e !== ze;
2437
+ return Ge(e) && e !== xt && e !== tn && e !== ze;
2435
2438
  }
2436
2439
  function Jt(e, i, t) {
2437
2440
  var a = zt(e), r = a && !tt(e);
@@ -2443,10 +2446,10 @@ function Jt(e, i, t) {
2443
2446
  ) : a && e !== Ji && e !== Gi && e !== Wi && e !== Yi && e !== Zi) && e !== ft && !(i === et && !r) || zt(i) && !tt(i) && e === ft || i === et && r
2444
2447
  );
2445
2448
  }
2446
- function Cl(e) {
2447
- return Ge(e) && e !== xt && !tt(e) && e !== cl && e !== pl && e !== et && e !== Ji && e !== Gi && e !== Wi && e !== Yi && e !== Zi && e !== ft && e !== ll && e !== sl && e !== al && e !== gl && e !== ul && e !== dl && e !== nl && e !== rl && e !== ol && e !== fl && e !== ml;
2449
+ function Sn(e) {
2450
+ return Ge(e) && e !== xt && !tt(e) && e !== un && e !== fn && e !== et && e !== Ji && e !== Gi && e !== Wi && e !== Yi && e !== Zi && e !== ft && e !== ln && e !== cn && e !== rn && e !== yn && e !== dn && e !== pn && e !== sn && e !== on && e !== nn && e !== mn && e !== gn;
2448
2451
  }
2449
- function Sl(e) {
2452
+ function In(e) {
2450
2453
  return !tt(e) && e !== et;
2451
2454
  }
2452
2455
  function Pe(e, i) {
@@ -2458,42 +2461,42 @@ function Qi(e) {
2458
2461
  return i.test(e);
2459
2462
  }
2460
2463
  var Xi = 1, gt = 2, ea = 3, ta = 4, Ee = 5;
2461
- function Il(e, i, t, a, r, o, n, l) {
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));
2463
- if (i || n)
2464
+ function An(e, i, t, a, r, o, l, n) {
2465
+ var u, d = 0, f = null, p = !1, w = !1, h = a !== -1, S = -1, k = Sn(Pe(e, 0)) && In(Pe(e, e.length - 1));
2466
+ if (i || l)
2464
2467
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2465
2468
  if (d = Pe(e, u), !Ge(d))
2466
2469
  return Ee;
2467
- k = k && Jt(d, f, l), f = d;
2470
+ k = k && Jt(d, f, n), f = d;
2468
2471
  }
2469
2472
  else {
2470
2473
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2471
2474
  if (d = Pe(e, u), d === ze)
2472
- p = !0, b && (w = w || // Foldable line = too long, and not more-indented.
2475
+ p = !0, h && (w = w || // Foldable line = too long, and not more-indented.
2473
2476
  u - S - 1 > a && e[S + 1] !== " ", S = u);
2474
2477
  else if (!Ge(d))
2475
2478
  return Ee;
2476
- k = k && Jt(d, f, l), f = d;
2479
+ k = k && Jt(d, f, n), f = d;
2477
2480
  }
2478
- w = w || b && u - S - 1 > a && e[S + 1] !== " ";
2481
+ w = w || h && u - S - 1 > a && e[S + 1] !== " ";
2479
2482
  }
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;
2483
+ return !p && !w ? k && !l && !r(e) ? Xi : o === Je ? Ee : gt : t > 9 && Qi(e) ? Ee : l ? o === Je ? Ee : gt : w ? ta : ea;
2481
2484
  }
2482
- function Al(e, i, t, a, r) {
2485
+ function xn(e, i, t, a, r) {
2483
2486
  e.dump = function() {
2484
2487
  if (i.length === 0)
2485
2488
  return e.quotingType === Je ? '""' : "''";
2486
- if (!e.noCompatMode && (yl.indexOf(i) !== -1 || vl.test(i)))
2489
+ if (!e.noCompatMode && (vn.indexOf(i) !== -1 || hn.test(i)))
2487
2490
  return e.quotingType === Je ? '"' + i + '"' : "'" + i + "'";
2488
- var o = e.indent * Math.max(1, t), n = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = a || e.flowLevel > -1 && t >= e.flowLevel;
2491
+ var o = e.indent * Math.max(1, t), l = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), n = a || e.flowLevel > -1 && t >= e.flowLevel;
2489
2492
  function u(d) {
2490
- return kl(e, d);
2493
+ return Cn(e, d);
2491
2494
  }
2492
- switch (Il(
2495
+ switch (An(
2493
2496
  i,
2494
- l,
2495
- e.indent,
2496
2497
  n,
2498
+ e.indent,
2499
+ l,
2497
2500
  u,
2498
2501
  e.quotingType,
2499
2502
  e.forceQuotes && !a,
@@ -2506,9 +2509,9 @@ function Al(e, i, t, a, r) {
2506
2509
  case ea:
2507
2510
  return "|" + Gt(i, e.indent) + Wt(Ht(i, o));
2508
2511
  case ta:
2509
- return ">" + Gt(i, e.indent) + Wt(Ht(xl(i, n), o));
2512
+ return ">" + Gt(i, e.indent) + Wt(Ht(Tn(i, l), o));
2510
2513
  case Ee:
2511
- return '"' + Tl(i) + '"';
2514
+ return '"' + $n(i) + '"';
2512
2515
  default:
2513
2516
  throw new fe("impossible error: invalid scalar style");
2514
2517
  }
@@ -2526,15 +2529,15 @@ function Wt(e) {
2526
2529
  return e[e.length - 1] === `
2527
2530
  ` ? e.slice(0, -1) : e;
2528
2531
  }
2529
- function xl(e, i) {
2532
+ function Tn(e, i) {
2530
2533
  for (var t = /(\n+)([^\n]*)/g, a = function() {
2531
2534
  var d = e.indexOf(`
2532
2535
  `);
2533
2536
  return d = d !== -1 ? d : e.length, t.lastIndex = d, Yt(e.slice(0, d), i);
2534
2537
  }(), r = e[0] === `
2535
- ` || e[0] === " ", o, n; n = t.exec(e); ) {
2536
- var l = n[1], u = n[2];
2537
- o = u[0] === " ", a += l + (!r && !o && u !== "" ? `
2538
+ ` || e[0] === " ", o, l; l = t.exec(e); ) {
2539
+ var n = l[1], u = l[2];
2540
+ o = u[0] === " ", a += n + (!r && !o && u !== "" ? `
2538
2541
  ` : "") + Yt(u, i), r = o;
2539
2542
  }
2540
2543
  return a;
@@ -2542,83 +2545,83 @@ function xl(e, i) {
2542
2545
  function Yt(e, i) {
2543
2546
  if (e === "" || e[0] === " ")
2544
2547
  return e;
2545
- for (var t = / [^ ]/g, a, r = 0, o, n = 0, l = 0, u = ""; a = t.exec(e); )
2546
- l = a.index, l - r > i && (o = n > r ? n : l, u += `
2547
- ` + e.slice(r, o), r = o + 1), n = l;
2548
+ for (var t = / [^ ]/g, a, r = 0, o, l = 0, n = 0, u = ""; a = t.exec(e); )
2549
+ n = a.index, n - r > i && (o = l > r ? l : n, u += `
2550
+ ` + e.slice(r, o), r = o + 1), l = n;
2548
2551
  return u += `
2549
- `, e.length - r > i && n > r ? u += e.slice(r, n) + `
2550
- ` + e.slice(n + 1) : u += e.slice(r), u.slice(1);
2552
+ `, e.length - r > i && l > r ? u += e.slice(r, l) + `
2553
+ ` + e.slice(l + 1) : u += e.slice(r), u.slice(1);
2551
2554
  }
2552
- function Tl(e) {
2555
+ function $n(e) {
2553
2556
  for (var i = "", t = 0, a, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2554
- t = Pe(e, r), a = pe[t], !a && Ge(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || bl(t);
2557
+ t = Pe(e, r), a = pe[t], !a && Ge(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || wn(t);
2555
2558
  return i;
2556
2559
  }
2557
- function $l(e, i, t) {
2558
- var a = "", r = e.tag, o, n, l;
2559
- for (o = 0, n = t.length; o < n; o += 1)
2560
- l = t[o], e.replacer && (l = e.replacer.call(t, String(o), l)), (_e(e, i, l, !1, !1) || typeof l > "u" && _e(e, i, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2560
+ function Mn(e, i, t) {
2561
+ var a = "", r = e.tag, o, l, n;
2562
+ for (o = 0, l = t.length; o < l; o += 1)
2563
+ n = t[o], e.replacer && (n = e.replacer.call(t, String(o), n)), (_e(e, i, n, !1, !1) || typeof n > "u" && _e(e, i, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2561
2564
  e.tag = r, e.dump = "[" + a + "]";
2562
2565
  }
2563
2566
  function Zt(e, i, t, a) {
2564
- var r = "", o = e.tag, n, l, u;
2565
- for (n = 0, l = t.length; n < l; n += 1)
2566
- u = t[n], e.replacer && (u = e.replacer.call(t, String(n), u)), (_e(e, i + 1, u, !0, !0, !1, !0) || typeof u > "u" && _e(e, i + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += mt(e, i)), e.dump && ze === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2567
+ var r = "", o = e.tag, l, n, u;
2568
+ for (l = 0, n = t.length; l < n; l += 1)
2569
+ u = t[l], e.replacer && (u = e.replacer.call(t, String(l), u)), (_e(e, i + 1, u, !0, !0, !1, !0) || typeof u > "u" && _e(e, i + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += mt(e, i)), e.dump && ze === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2567
2570
  e.tag = o, e.dump = r || "[]";
2568
2571
  }
2569
- function Ml(e, i, t) {
2570
- var a = "", r = e.tag, o = Object.keys(t), n, l, u, d, f;
2571
- for (n = 0, l = o.length; n < l; n += 1)
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));
2572
+ function jn(e, i, t) {
2573
+ var a = "", r = e.tag, o = Object.keys(t), l, n, u, d, f;
2574
+ for (l = 0, n = o.length; l < n; l += 1)
2575
+ f = "", a !== "" && (f += ", "), e.condenseFlow && (f += '"'), u = o[l], 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));
2573
2576
  e.tag = r, e.dump = "{" + a + "}";
2574
2577
  }
2575
- function jl(e, i, t, a) {
2576
- var r = "", o = e.tag, n = Object.keys(t), l, u, d, f, p, w;
2578
+ function En(e, i, t, a) {
2579
+ var r = "", o = e.tag, l = Object.keys(t), n, u, d, f, p, w;
2577
2580
  if (e.sortKeys === !0)
2578
- n.sort();
2581
+ l.sort();
2579
2582
  else if (typeof e.sortKeys == "function")
2580
- n.sort(e.sortKeys);
2583
+ l.sort(e.sortKeys);
2581
2584
  else if (e.sortKeys)
2582
2585
  throw new fe("sortKeys must be a boolean or a function");
2583
- for (l = 0, u = n.length; l < u; l += 1)
2584
- w = "", (!a || r !== "") && (w += mt(e, i)), d = n[l], f = t[d], e.replacer && (f = e.replacer.call(t, d, f)), _e(e, i + 1, d, !0, !0, !0) && (p = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p && (e.dump && ze === e.dump.charCodeAt(0) ? w += "?" : w += "? "), w += e.dump, p && (w += mt(e, i)), _e(e, i + 1, f, !0, p) && (e.dump && ze === e.dump.charCodeAt(0) ? w += ":" : w += ": ", w += e.dump, r += w));
2586
+ for (n = 0, u = l.length; n < u; n += 1)
2587
+ w = "", (!a || r !== "") && (w += mt(e, i)), d = l[n], f = t[d], e.replacer && (f = e.replacer.call(t, d, f)), _e(e, i + 1, d, !0, !0, !0) && (p = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p && (e.dump && ze === e.dump.charCodeAt(0) ? w += "?" : w += "? "), w += e.dump, p && (w += mt(e, i)), _e(e, i + 1, f, !0, p) && (e.dump && ze === e.dump.charCodeAt(0) ? w += ":" : w += ": ", w += e.dump, r += w));
2585
2588
  e.tag = o, e.dump = r || "{}";
2586
2589
  }
2587
2590
  function Qt(e, i, t) {
2588
- var a, r, o, n, l, u;
2589
- for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, n = r.length; o < n; o += 1)
2590
- if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof i == "object" && i instanceof l.instanceOf) && (!l.predicate || l.predicate(i))) {
2591
- if (t ? l.multi && l.representName ? e.tag = l.representName(i) : e.tag = l.tag : e.tag = "?", l.represent) {
2592
- if (u = e.styleMap[l.tag] || l.defaultStyle, Hi.call(l.represent) === "[object Function]")
2593
- a = l.represent(i, u);
2594
- else if (zi.call(l.represent, u))
2595
- a = l.represent[u](i, u);
2591
+ var a, r, o, l, n, u;
2592
+ for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, l = r.length; o < l; o += 1)
2593
+ if (n = r[o], (n.instanceOf || n.predicate) && (!n.instanceOf || typeof i == "object" && i instanceof n.instanceOf) && (!n.predicate || n.predicate(i))) {
2594
+ if (t ? n.multi && n.representName ? e.tag = n.representName(i) : e.tag = n.tag : e.tag = "?", n.represent) {
2595
+ if (u = e.styleMap[n.tag] || n.defaultStyle, Hi.call(n.represent) === "[object Function]")
2596
+ a = n.represent(i, u);
2597
+ else if (zi.call(n.represent, u))
2598
+ a = n.represent[u](i, u);
2596
2599
  else
2597
- throw new fe("!<" + l.tag + '> tag resolver accepts not "' + u + '" style');
2600
+ throw new fe("!<" + n.tag + '> tag resolver accepts not "' + u + '" style');
2598
2601
  e.dump = a;
2599
2602
  }
2600
2603
  return !0;
2601
2604
  }
2602
2605
  return !1;
2603
2606
  }
2604
- function _e(e, i, t, a, r, o, n) {
2607
+ function _e(e, i, t, a, r, o, l) {
2605
2608
  e.tag = null, e.dump = t, Qt(e, t, !1) || Qt(e, t, !0);
2606
- var l = Hi.call(e.dump), u = a, d;
2609
+ var n = Hi.call(e.dump), u = a, d;
2607
2610
  a && (a = e.flowLevel < 0 || e.flowLevel > i);
2608
- var f = l === "[object Object]" || l === "[object Array]", p, w;
2611
+ var f = n === "[object Object]" || n === "[object Array]", p, w;
2609
2612
  if (f && (p = e.duplicates.indexOf(t), w = p !== -1), (e.tag !== null && e.tag !== "?" || w || e.indent !== 2 && i > 0) && (r = !1), w && e.usedDuplicates[p])
2610
2613
  e.dump = "*ref_" + p;
2611
2614
  else {
2612
- if (f && w && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), l === "[object Object]")
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));
2614
- else if (l === "[object Array]")
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));
2616
- else if (l === "[object String]")
2617
- e.tag !== "?" && Al(e, e.dump, i, o, u);
2615
+ if (f && w && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), n === "[object Object]")
2616
+ a && Object.keys(e.dump).length !== 0 ? (En(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (jn(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2617
+ else if (n === "[object Array]")
2618
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !l && i > 0 ? Zt(e, i - 1, e.dump, r) : Zt(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (Mn(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2619
+ else if (n === "[object String]")
2620
+ e.tag !== "?" && xn(e, e.dump, i, o, u);
2618
2621
  else {
2619
- if (l === "[object Undefined]" || e.skipInvalid)
2622
+ if (n === "[object Undefined]" || e.skipInvalid)
2620
2623
  return !1;
2621
- throw new fe("unacceptable kind of an object to dump " + l);
2624
+ throw new fe("unacceptable kind of an object to dump " + n);
2622
2625
  }
2623
2626
  e.tag !== null && e.tag !== "?" && (d = encodeURI(
2624
2627
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -2626,7 +2629,7 @@ function _e(e, i, t, a, r, o, n) {
2626
2629
  }
2627
2630
  return !0;
2628
2631
  }
2629
- function El(e, i) {
2632
+ function On(e, i) {
2630
2633
  var t = [], a = [], r, o;
2631
2634
  for (yt(e, t, a), r = 0, o = a.length; r < o; r += 1)
2632
2635
  i.duplicates.push(t[a[r]]);
@@ -2644,23 +2647,23 @@ function yt(e, i, t) {
2644
2647
  for (a = Object.keys(e), r = 0, o = a.length; r < o; r += 1)
2645
2648
  yt(e[a[r]], i, t);
2646
2649
  }
2647
- function Ol(e, i) {
2650
+ function Vn(e, i) {
2648
2651
  i = i || {};
2649
- var t = new _l(i);
2650
- t.noRefs || El(e, t);
2652
+ var t = new kn(i);
2653
+ t.noRefs || On(e, t);
2651
2654
  var a = e;
2652
2655
  return t.replacer && (a = t.replacer.call({ "": a }, "", a)), _e(t, 0, a, !0, !0) ? t.dump + `
2653
2656
  ` : "";
2654
2657
  }
2655
- var Vl = Ol, Fl = {
2656
- dump: Vl
2658
+ var Fn = Vn, Nn = {
2659
+ dump: Fn
2657
2660
  };
2658
2661
  function Tt(e, i) {
2659
2662
  return function() {
2660
2663
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + i + " instead, which is now safe by default.");
2661
2664
  };
2662
2665
  }
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 = {
2666
+ var Kn = ue, Ln = vi, qn = _i, Bn = Ai, Pn = xi, Un = St, Rn = Di.load, Dn = Di.loadAll, Hn = Nn.dump, zn = fe, Jn = {
2664
2667
  binary: Ei,
2665
2668
  float: Ii,
2666
2669
  map: wi,
@@ -2674,35 +2677,35 @@ var Nl = ue, Kl = vi, Ll = _i, ql = Ai, Bl = xi, Pl = St, Ul = Di.load, Rl = Di.
2674
2677
  omap: Oi,
2675
2678
  seq: bi,
2676
2679
  str: hi
2677
- }, Jl = Tt("safeLoad", "load"), Gl = Tt("safeLoadAll", "loadAll"), Wl = Tt("safeDump", "dump"), Yl = {
2678
- Type: Nl,
2679
- Schema: Kl,
2680
- FAILSAFE_SCHEMA: Ll,
2681
- JSON_SCHEMA: ql,
2682
- CORE_SCHEMA: Bl,
2683
- DEFAULT_SCHEMA: Pl,
2684
- load: Ul,
2685
- loadAll: Rl,
2686
- dump: Dl,
2687
- YAMLException: Hl,
2688
- types: zl,
2689
- safeLoad: Jl,
2690
- safeLoadAll: Gl,
2691
- safeDump: Wl
2680
+ }, Gn = Tt("safeLoad", "load"), Wn = Tt("safeLoadAll", "loadAll"), Yn = Tt("safeDump", "dump"), Zn = {
2681
+ Type: Kn,
2682
+ Schema: Ln,
2683
+ FAILSAFE_SCHEMA: qn,
2684
+ JSON_SCHEMA: Bn,
2685
+ CORE_SCHEMA: Pn,
2686
+ DEFAULT_SCHEMA: Un,
2687
+ load: Rn,
2688
+ loadAll: Dn,
2689
+ dump: Hn,
2690
+ YAMLException: zn,
2691
+ types: Jn,
2692
+ safeLoad: Gn,
2693
+ safeLoadAll: Wn,
2694
+ safeDump: Yn
2692
2695
  };
2693
- const Zl = {
2696
+ const Qn = {
2694
2697
  key: 0,
2695
2698
  class: "config-card-display-form"
2696
- }, Ql = ["data-testid"], Xl = {
2699
+ }, Xn = ["data-testid"], el = {
2697
2700
  key: 0,
2698
2701
  class: "config-card-prop-section-title"
2699
- }, en = {
2702
+ }, tl = {
2700
2703
  key: 1,
2701
2704
  class: "config-card-display-json"
2702
- }, tn = {
2705
+ }, il = {
2703
2706
  key: 2,
2704
2707
  class: "config-card-display-yaml"
2705
- }, an = /* @__PURE__ */ ae({
2708
+ }, al = /* @__PURE__ */ ae({
2706
2709
  __name: "ConfigCardDisplay",
2707
2710
  props: {
2708
2711
  propertyCollections: {
@@ -2728,31 +2731,31 @@ const Zl = {
2728
2731
  }
2729
2732
  },
2730
2733
  setup(e) {
2731
- const i = e, t = it(), { i18n: { t: a } } = ne.useI18n(), r = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), o = N(""), n = N("");
2732
- return be(() => i.format, (l) => {
2733
- if (l !== "structured") {
2734
+ const i = e, t = it(), { i18n: { t: a } } = le.useI18n(), r = (n) => !!(n.tooltip || t[`${n.key}-label-tooltip`]), o = N(""), l = N("");
2735
+ return be(() => i.format, (n) => {
2736
+ if (n !== "structured") {
2734
2737
  const u = JSON.parse(JSON.stringify(i.record));
2735
- delete u.created_at, delete u.updated_at, l === "json" ? o.value = JSON.stringify(u, null, 2) : l === "yaml" && (n.value = Yl.dump(u));
2738
+ delete u.created_at, delete u.updated_at, n === "json" ? o.value = JSON.stringify(u, null, 2) : n === "yaml" && (l.value = Zn.dump(u));
2736
2739
  }
2737
- }, { immediate: !0 }), (l, u) => {
2740
+ }, { immediate: !0 }), (n, u) => {
2738
2741
  const d = L("KCodeBlock");
2739
- return h(), M(ye, null, [
2740
- e.format === "structured" ? (h(), M("div", Zl, [
2741
- (h(!0), M(ye, null, ge(e.propListTypes, (f) => (h(), M("div", {
2742
+ return b(), M(ye, null, [
2743
+ e.format === "structured" ? (b(), M("div", Qn, [
2744
+ (b(!0), M(ye, null, ge(e.propListTypes, (f) => (b(), M("div", {
2742
2745
  key: `config-card-details-${f}-props`,
2743
2746
  class: $e(`config-card-details-${f}-props`),
2744
2747
  "data-testid": `config-card-details-${f}-props`
2745
2748
  }, [
2746
- f !== "basic" ? (h(), M("div", Xl, V(f === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2747
- (h(!0), M(ye, null, ge(e.propertyCollections[f], (p) => (h(), P(kt, {
2749
+ f !== "basic" ? (b(), M("div", el, V(f === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2750
+ (b(!0), M(ye, null, ge(e.propertyCollections[f], (p) => (b(), P(kt, {
2748
2751
  key: p.key,
2749
2752
  item: p
2750
2753
  }, xe({
2751
2754
  label: y(() => [
2752
- Z(l.$slots, `${p.key}-label`, { row: p }, void 0, !0)
2755
+ Z(n.$slots, `${p.key}-label`, { row: p }, void 0, !0)
2753
2756
  ]),
2754
2757
  [p.key]: y(({ rowValue: w }) => [
2755
- Z(l.$slots, p.key, {
2758
+ Z(n.$slots, p.key, {
2756
2759
  row: p,
2757
2760
  rowValue: w
2758
2761
  }, void 0, !0)
@@ -2762,14 +2765,14 @@ const Zl = {
2762
2765
  r(p) ? {
2763
2766
  name: "label-tooltip",
2764
2767
  fn: y(() => [
2765
- Z(l.$slots, `${p.key}-label-tooltip`, { row: p }, void 0, !0)
2768
+ Z(n.$slots, `${p.key}-label-tooltip`, { row: p }, void 0, !0)
2766
2769
  ]),
2767
2770
  key: "0"
2768
2771
  } : void 0
2769
2772
  ]), 1032, ["item"]))), 128))
2770
- ], 10, Ql))), 128))
2773
+ ], 10, Xn))), 128))
2771
2774
  ])) : D("", !0),
2772
- e.format === "json" ? (h(), M("div", en, [
2775
+ e.format === "json" ? (b(), M("div", tl, [
2773
2776
  C(d, {
2774
2777
  id: "config-card-codeblock",
2775
2778
  code: o.value,
@@ -2777,10 +2780,10 @@ const Zl = {
2777
2780
  theme: "dark"
2778
2781
  }, null, 8, ["code"])
2779
2782
  ])) : D("", !0),
2780
- e.format === "yaml" ? (h(), M("div", tn, [
2783
+ e.format === "yaml" ? (b(), M("div", il, [
2781
2784
  C(d, {
2782
2785
  id: "config-card-codeblock",
2783
- code: n.value,
2786
+ code: l.value,
2784
2787
  language: "yaml",
2785
2788
  theme: "dark"
2786
2789
  }, null, 8, ["code"])
@@ -2788,18 +2791,18 @@ const Zl = {
2788
2791
  ], 64);
2789
2792
  };
2790
2793
  }
2791
- }), rn = /* @__PURE__ */ ve(an, [["__scopeId", "data-v-c914c7e4"]]), Xt = "24px", on = (e, i) => {
2794
+ }), rl = /* @__PURE__ */ ve(al, [["__scopeId", "data-v-c914c7e4"]]), Xt = "24px", ol = (e, i) => {
2792
2795
  const t = e.__vccOpts || e;
2793
2796
  for (const [a, r] of i)
2794
2797
  t[a] = r;
2795
2798
  return t;
2796
- }, ln = (e) => (oi("data-v-a53b73fd"), e = e(), li(), e), nn = ["aria-hidden"], sn = {
2799
+ }, nl = (e) => (oi("data-v-a53b73fd"), e = e(), ni(), e), ll = ["aria-hidden"], sl = {
2797
2800
  key: 0,
2798
2801
  "data-testid": "kui-icon-svg-title"
2799
- }, cn = /* @__PURE__ */ ln(() => /* @__PURE__ */ F("path", {
2802
+ }, cl = /* @__PURE__ */ nl(() => /* @__PURE__ */ F("path", {
2800
2803
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2801
2804
  fill: "currentColor"
2802
- }, null, -1)), un = /* @__PURE__ */ ae({
2805
+ }, null, -1)), ul = /* @__PURE__ */ ae({
2803
2806
  __name: "BookIcon",
2804
2807
  props: {
2805
2808
  /** The accessibility text provided to screen readers */
@@ -2868,14 +2871,14 @@ const Zl = {
2868
2871
  lineHeight: "0",
2869
2872
  width: t.value
2870
2873
  }));
2871
- return (r, o) => (h(), P(Ne(e.as), {
2874
+ return (r, o) => (b(), P(Ne(e.as), {
2872
2875
  "aria-hidden": e.decorative ? "true" : void 0,
2873
2876
  class: "kui-icon book-icon",
2874
2877
  "data-testid": "kui-icon-wrapper-book-icon",
2875
2878
  style: ri(a.value)
2876
2879
  }, {
2877
2880
  default: y(() => [
2878
- (h(), M("svg", {
2881
+ (b(), M("svg", {
2879
2882
  "aria-hidden": e.decorative ? "true" : void 0,
2880
2883
  "data-testid": "kui-icon-svg-book-icon",
2881
2884
  fill: "none",
@@ -2885,23 +2888,23 @@ const Zl = {
2885
2888
  width: "100%",
2886
2889
  xmlns: "http://www.w3.org/2000/svg"
2887
2890
  }, [
2888
- e.title ? (h(), M("title", sn, V(e.title), 1)) : D("", !0),
2889
- cn
2890
- ], 8, nn))
2891
+ e.title ? (b(), M("title", sl, V(e.title), 1)) : D("", !0),
2892
+ cl
2893
+ ], 8, ll))
2891
2894
  ]),
2892
2895
  _: 1
2893
2896
  }, 8, ["aria-hidden", "style"]));
2894
2897
  }
2895
- }), dn = /* @__PURE__ */ on(un, [["__scopeId", "data-v-a53b73fd"]]), pn = { "data-testid": "config-card-title" }, fn = { class: "config-card-actions" }, mn = ["href"], gn = {
2898
+ }), dl = /* @__PURE__ */ ol(ul, [["__scopeId", "data-v-a53b73fd"]]), pl = { "data-testid": "config-card-title" }, fl = { class: "config-card-actions" }, ml = ["href"], gl = {
2896
2899
  key: 2,
2897
2900
  class: "config-card-details-section"
2898
- }, yn = {
2901
+ }, yl = {
2899
2902
  key: 3,
2900
2903
  class: "config-card-details-section"
2901
- }, vn = ["data-testid"], hn = {
2904
+ }, vl = ["data-testid"], hl = {
2902
2905
  key: 0,
2903
2906
  class: "config-card-prop-section-title"
2904
- }, bn = /* @__PURE__ */ ae({
2907
+ }, bl = /* @__PURE__ */ ae({
2905
2908
  __name: "EntityBaseConfigCard",
2906
2909
  props: {
2907
2910
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2976,7 +2979,7 @@ const Zl = {
2976
2979
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2977
2980
  setup(e, { emit: i }) {
2978
2981
  var t;
2979
- const a = e, r = it(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: n } = ne.useErrors(), { convertKeyToTitle: l } = ne.useStringHelpers(), { axiosInstance: u } = ne.useAxios({
2982
+ const a = e, r = it(), { i18n: { t: o } } = le.useI18n(), { getMessageFromError: l } = le.useErrors(), { convertKeyToTitle: n } = le.useStringHelpers(), { axiosInstance: u } = le.useAxios({
2980
2983
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
2981
2984
  }), d = [
2982
2985
  {
@@ -3028,7 +3031,7 @@ const Zl = {
3028
3031
  // the last property displayed
3029
3032
  section: de.Basic
3030
3033
  }
3031
- }, b = N(!1), S = N(!1), k = N(""), v = N(), $ = T(() => {
3034
+ }, h = N(!1), S = N(!1), k = N(""), v = N(), $ = T(() => {
3032
3035
  var A, q, U;
3033
3036
  if (!v.value)
3034
3037
  return [];
@@ -3048,7 +3051,7 @@ const Zl = {
3048
3051
  value: Y,
3049
3052
  hidden: X.hidden || !1,
3050
3053
  type: X.type ?? ((ce == null ? void 0 : ce.type) || ee.Text),
3051
- label: X.label ?? ((ce == null ? void 0 : ce.label) || l(ie)),
3054
+ label: X.label ?? ((ce == null ? void 0 : ce.label) || n(ie)),
3052
3055
  tooltip: X.tooltip ?? ((ce == null ? void 0 : ce.tooltip) || void 0),
3053
3056
  section: X.section ?? ((ce == null ? void 0 : ce.section) || de.Advanced)
3054
3057
  };
@@ -3073,7 +3076,7 @@ const Zl = {
3073
3076
  value: ie,
3074
3077
  hidden: Y.hidden || !1,
3075
3078
  type: Y.type ?? ee.Text,
3076
- label: Y.label ?? l(z),
3079
+ label: Y.label ?? n(z),
3077
3080
  tooltip: Y.tooltip ?? void 0,
3078
3081
  section: de.Plugin
3079
3082
  };
@@ -3095,10 +3098,10 @@ const Zl = {
3095
3098
  }), W = (A) => {
3096
3099
  v.value && A(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3097
3100
  };
3098
- return be(b, (A) => {
3101
+ return be(h, (A) => {
3099
3102
  i("loading", A);
3100
3103
  }, { immediate: !0 }), vt(async () => {
3101
- S.value = !1, b.value = !0;
3104
+ S.value = !1, h.value = !0;
3102
3105
  try {
3103
3106
  const { data: A } = await u.get(re.value);
3104
3107
  if (a.dataKey)
@@ -3112,18 +3115,18 @@ const Zl = {
3112
3115
  v.value && typeof v.value[q] > "u" && (v.value[q] = null);
3113
3116
  }), i("fetch:success", A);
3114
3117
  } catch (A) {
3115
- const q = n(A);
3118
+ const q = l(A);
3116
3119
  k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, S.value = !0, i("fetch:error", A);
3117
3120
  } finally {
3118
- b.value = !1;
3121
+ h.value = !1;
3119
3122
  }
3120
3123
  }), (A, q) => {
3121
3124
  const U = L("KLabel"), K = L("KSelect"), H = L("KButton"), R = L("KClipboardProvider"), Q = L("KSkeleton"), z = L("KEmptyState"), ie = L("KCard");
3122
- return h(), P(ie, { class: "kong-ui-entity-base-config-card" }, xe({
3125
+ return b(), P(ie, { class: "kong-ui-entity-base-config-card" }, xe({
3123
3126
  actions: y(() => [
3124
- F("div", fn, [
3127
+ F("div", fl, [
3125
3128
  Z(A.$slots, "actions", {}, void 0, !0),
3126
- e.config.jsonYamlEnabled ? (h(), P(U, {
3129
+ e.config.jsonYamlEnabled ? (b(), P(U, {
3127
3130
  key: 0,
3128
3131
  class: "config-format-select-label",
3129
3132
  "data-testid": "config-format-select-label"
@@ -3133,14 +3136,14 @@ const Zl = {
3133
3136
  ]),
3134
3137
  _: 1
3135
3138
  })) : D("", !0),
3136
- e.config.jsonYamlEnabled ? (h(), P(K, {
3139
+ e.config.jsonYamlEnabled ? (b(), P(K, {
3137
3140
  key: 1,
3138
3141
  appearance: "select",
3139
3142
  "data-testid": "select-config-format",
3140
3143
  items: d,
3141
3144
  onChange: p
3142
3145
  })) : D("", !0),
3143
- a.config.jsonYamlEnabled && e.configCardDoc ? (h(), P(H, {
3146
+ a.config.jsonYamlEnabled && e.configCardDoc ? (b(), P(H, {
3144
3147
  key: 2,
3145
3148
  appearance: "tertiary",
3146
3149
  class: "book-icon",
@@ -3152,14 +3155,14 @@ const Zl = {
3152
3155
  rel: "noopener",
3153
3156
  target: "_blank"
3154
3157
  }, [
3155
- C(m(dn), { size: m(vr) }, null, 8, ["size"])
3156
- ], 8, mn)
3158
+ C(m(dl), { size: m(vr) }, null, 8, ["size"])
3159
+ ], 8, ml)
3157
3160
  ]),
3158
3161
  _: 1
3159
3162
  })) : D("", !0),
3160
- e.config.jsonYamlEnabled ? D("", !0) : (h(), P(R, { key: 3 }, {
3163
+ e.config.jsonYamlEnabled ? D("", !0) : (b(), P(R, { key: 3 }, {
3161
3164
  default: y(({ copyToClipboard: Y }) => [
3162
- !b.value && !S.value ? (h(), P(H, {
3165
+ !h.value && !S.value ? (b(), P(H, {
3163
3166
  key: 0,
3164
3167
  appearance: "tertiary",
3165
3168
  "data-testid": "json-copy-button",
@@ -3176,12 +3179,12 @@ const Zl = {
3176
3179
  ])
3177
3180
  ]),
3178
3181
  default: y(() => [
3179
- b.value ? (h(), P(Q, {
3182
+ h.value ? (b(), P(Q, {
3180
3183
  key: 0,
3181
3184
  "data-testid": "config-card-loader",
3182
3185
  "table-columns": 2,
3183
3186
  type: "table"
3184
- })) : S.value ? (h(), P(z, {
3187
+ })) : S.value ? (b(), P(z, {
3185
3188
  key: 1,
3186
3189
  "data-testid": "config-card-fetch-error",
3187
3190
  "is-error": ""
@@ -3191,8 +3194,8 @@ const Zl = {
3191
3194
  ]),
3192
3195
  _: 1
3193
3196
  })) : D("", !0),
3194
- e.config.jsonYamlEnabled ? (h(), M("div", gn, [
3195
- C(rn, {
3197
+ e.config.jsonYamlEnabled ? (b(), M("div", gl, [
3198
+ C(rl, {
3196
3199
  format: f.value,
3197
3200
  "prop-list-types": x.value,
3198
3201
  "property-collections": E.value,
@@ -3208,14 +3211,14 @@ const Zl = {
3208
3211
  ])
3209
3212
  }))
3210
3213
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3211
- ])) : (h(), M("div", yn, [
3212
- (h(!0), M(ye, null, ge(x.value, (Y) => (h(), M("div", {
3214
+ ])) : (b(), M("div", yl, [
3215
+ (b(!0), M(ye, null, ge(x.value, (Y) => (b(), M("div", {
3213
3216
  key: `config-card-details-${Y}-props`,
3214
3217
  class: $e(`config-card-details-${Y}-props`),
3215
3218
  "data-testid": `config-card-details-${Y}-props`
3216
3219
  }, [
3217
- Y !== "basic" ? (h(), M("div", hn, V(Y === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3218
- (h(!0), M(ye, null, ge(E.value[Y], (X) => (h(), P(kt, {
3220
+ Y !== "basic" ? (b(), M("div", hl, V(Y === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3221
+ (b(!0), M(ye, null, ge(E.value[Y], (X) => (b(), P(kt, {
3219
3222
  key: X.key,
3220
3223
  item: X
3221
3224
  }, xe({
@@ -3238,7 +3241,7 @@ const Zl = {
3238
3241
  key: "0"
3239
3242
  } : void 0
3240
3243
  ]), 1032, ["item"]))), 128))
3241
- ], 10, vn))), 128))
3244
+ ], 10, vl))), 128))
3242
3245
  ]))
3243
3246
  ]),
3244
3247
  _: 2
@@ -3246,7 +3249,7 @@ const Zl = {
3246
3249
  e.hideTitle ? void 0 : {
3247
3250
  name: "title",
3248
3251
  fn: y(() => [
3249
- F("div", pn, [
3252
+ F("div", pl, [
3250
3253
  Z(A.$slots, "title", {}, () => [
3251
3254
  J(V(m(o)("baseConfigCard.title")), 1)
3252
3255
  ], !0)
@@ -3257,10 +3260,10 @@ const Zl = {
3257
3260
  ]), 1024);
3258
3261
  };
3259
3262
  }
3260
- }), wn = /* @__PURE__ */ ve(bn, [["__scopeId", "data-v-bea4df63"]]), _n = ["onReset", "onSubmit"], kn = {
3263
+ }), wl = /* @__PURE__ */ ve(bl, [["__scopeId", "data-v-bea4df63"]]), _l = ["onReset", "onSubmit"], kl = {
3261
3264
  class: "form-actions",
3262
3265
  "data-testid": "form-actions"
3263
- }, Cn = /* @__PURE__ */ ae({
3266
+ }, Cl = /* @__PURE__ */ ae({
3264
3267
  __name: "EntityBaseForm",
3265
3268
  props: {
3266
3269
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3310,7 +3313,7 @@ const Zl = {
3310
3313
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3311
3314
  setup(e, { emit: i }) {
3312
3315
  var t;
3313
- const a = e, r = ht(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: n } = ne.useErrors(), { axiosInstance: l } = ne.useAxios({
3316
+ const a = e, r = ht(), { i18n: { t: o } } = le.useI18n(), { getMessageFromError: l } = le.useErrors(), { axiosInstance: n } = le.useAxios({
3314
3317
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3315
3318
  }), u = N(!1), d = N(!1), f = N(""), p = T(() => a.canSubmit === !1 || a.isReadonly), w = T(() => {
3316
3319
  var v, $;
@@ -3318,7 +3321,7 @@ const Zl = {
3318
3321
  return "";
3319
3322
  let s = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3320
3323
  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;
3321
- }), b = () => {
3324
+ }), h = () => {
3322
3325
  a.config.cancelRoute ? r.push(a.config.cancelRoute) : S();
3323
3326
  }, S = () => {
3324
3327
  i("cancel");
@@ -3331,46 +3334,46 @@ const Zl = {
3331
3334
  if (a.editId)
3332
3335
  try {
3333
3336
  d.value = !1, u.value = !0;
3334
- const { data: v } = await l.get(w.value);
3337
+ const { data: v } = await n.get(w.value);
3335
3338
  i("fetch:success", v);
3336
3339
  } catch (v) {
3337
- const $ = n(v);
3340
+ const $ = l(v);
3338
3341
  f.value = $.startsWith("code") ? o("baseForm.errors.edit") : $, d.value = !0, i("fetch:error", v);
3339
3342
  } finally {
3340
3343
  u.value = !1;
3341
3344
  }
3342
3345
  }), (v, $) => {
3343
3346
  const s = L("KSkeleton"), E = L("KEmptyState"), x = L("KAlert"), B = L("KButton"), re = L("KCard");
3344
- return h(), P(re, { class: "kong-ui-entity-base-form" }, {
3347
+ return b(), P(re, { class: "kong-ui-entity-base-form" }, {
3345
3348
  default: y(() => [
3346
- u.value ? (h(), P(s, {
3349
+ u.value ? (b(), P(s, {
3347
3350
  key: 0,
3348
3351
  type: "form"
3349
- })) : d.value ? (h(), P(E, {
3352
+ })) : d.value ? (b(), P(E, {
3350
3353
  key: 1,
3351
3354
  "cta-text": m(o)("baseForm.actions.back"),
3352
3355
  "data-testid": "form-fetch-error",
3353
- "handle-click": b,
3356
+ "handle-click": h,
3354
3357
  "is-error": !0
3355
3358
  }, {
3356
3359
  message: y(() => [
3357
3360
  F("h3", null, V(f.value), 1)
3358
3361
  ]),
3359
3362
  _: 1
3360
- }, 8, ["cta-text"])) : (h(), M("form", {
3363
+ }, 8, ["cta-text"])) : (b(), M("form", {
3361
3364
  key: 2,
3362
3365
  "data-testid": "form-content",
3363
3366
  onReset: Fe(S, ["prevent"]),
3364
3367
  onSubmit: Fe(k, ["prevent"])
3365
3368
  }, [
3366
3369
  Z(v.$slots, "default", {}, void 0, !0),
3367
- e.errorMessage ? (h(), P(x, {
3370
+ e.errorMessage ? (b(), P(x, {
3368
3371
  key: 0,
3369
3372
  "alert-message": e.errorMessage,
3370
3373
  appearance: "danger",
3371
3374
  "data-testid": "form-error"
3372
3375
  }, null, 8, ["alert-message"])) : D("", !0),
3373
- F("div", kn, [
3376
+ F("div", kl, [
3374
3377
  Z(v.$slots, "form-actions", {}, () => [
3375
3378
  C(B, {
3376
3379
  appearance: "secondary",
@@ -3396,16 +3399,16 @@ const Zl = {
3396
3399
  }, 8, ["disabled"])
3397
3400
  ], !0)
3398
3401
  ])
3399
- ], 40, _n))
3402
+ ], 40, _l))
3400
3403
  ]),
3401
3404
  _: 3
3402
3405
  });
3403
3406
  };
3404
3407
  }
3405
- }), Sn = /* @__PURE__ */ ve(Cn, [["__scopeId", "data-v-448d8512"]]), In = {
3408
+ }), Sl = /* @__PURE__ */ ve(Cl, [["__scopeId", "data-v-448d8512"]]), Il = {
3406
3409
  key: 0,
3407
3410
  "data-testid": "first-col"
3408
- }, An = /* @__PURE__ */ ae({
3411
+ }, Al = /* @__PURE__ */ ae({
3409
3412
  __name: "EntityBaseTableCell",
3410
3413
  props: {
3411
3414
  keyName: {
@@ -3430,18 +3433,18 @@ const Zl = {
3430
3433
  return $ ? ((v = $[0]) == null ? void 0 : v.getAttribute("data-testid")) === i.keyName : !1;
3431
3434
  });
3432
3435
  let o;
3433
- const n = () => {
3436
+ const l = () => {
3434
3437
  o && (o.disconnect(), o = void 0);
3435
- }, l = () => {
3438
+ }, n = () => {
3436
3439
  var k, v, $;
3437
3440
  d.value = ((k = a.value) == null ? void 0 : k.getBoundingClientRect().width) || 0, f.value = ((v = t.value) == null ? void 0 : v.clientWidth) || 0, p.value = (($ = u.value) == null ? void 0 : $.innerText) || "";
3438
- }, u = N({}), d = N(0), f = N(0), p = N(""), w = T(() => [a.value, t.value]), b = be(
3441
+ }, u = N({}), d = N(0), f = N(0), p = N(""), w = T(() => [a.value, t.value]), h = be(
3439
3442
  w,
3440
3443
  (k) => {
3441
- if (r.value && (n(), "ResizeObserver" in window && window)) {
3444
+ if (r.value && (l(), "ResizeObserver" in window && window)) {
3442
3445
  o = new ResizeObserver((v) => {
3443
3446
  window.requestAnimationFrame(() => {
3444
- !Array.isArray(v) || !v.length || l();
3447
+ !Array.isArray(v) || !v.length || n();
3445
3448
  });
3446
3449
  });
3447
3450
  for (const v of k)
@@ -3451,17 +3454,17 @@ const Zl = {
3451
3454
  { immediate: !0, flush: "post", deep: !0 }
3452
3455
  ), S = T(() => r.value ? d.value > f.value : !1);
3453
3456
  return ai(() => {
3454
- l();
3455
- }), na(() => {
3456
- b();
3457
+ n();
3458
+ }), la(() => {
3459
+ h();
3457
3460
  }), (k, v) => {
3458
3461
  const $ = L("KTooltip");
3459
- return h(), M("span", {
3462
+ return b(), M("span", {
3460
3463
  ref_key: "contentRef",
3461
3464
  ref: u,
3462
3465
  class: "content-wrapper"
3463
3466
  }, [
3464
- r.value ? (h(), M("span", In, [
3467
+ r.value ? (b(), M("span", Il, [
3465
3468
  C($, {
3466
3469
  label: S.value ? p.value : "",
3467
3470
  "max-width": "300",
@@ -3476,10 +3479,10 @@ const Zl = {
3476
3479
  ], 512);
3477
3480
  };
3478
3481
  }
3479
- }), xn = /* @__PURE__ */ ve(An, [["__scopeId", "data-v-e42a20c9"]]), Tn = { class: "toolbar-container" }, $n = {
3482
+ }), xl = /* @__PURE__ */ ve(Al, [["__scopeId", "data-v-e42a20c9"]]), Tl = { class: "toolbar-container" }, $l = {
3480
3483
  key: 0,
3481
3484
  class: "toolbar-button-container"
3482
- }, Mn = ["data-testid"], jn = /* @__PURE__ */ ae({
3485
+ }, Ml = ["data-testid"], jl = /* @__PURE__ */ ae({
3483
3486
  __name: "EntityBaseTable",
3484
3487
  props: {
3485
3488
  // table header configuration
@@ -3589,7 +3592,7 @@ const Zl = {
3589
3592
  },
3590
3593
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3591
3594
  setup(e, { emit: i }) {
3592
- const t = e, { i18n: { t: a } } = ne.useI18n(), r = T(() => {
3595
+ const t = e, { i18n: { t: a } } = le.useI18n(), r = T(() => {
3593
3596
  var x, B;
3594
3597
  return typeof t.errorMessage == "string" ? {
3595
3598
  hasError: !!t.errorMessage,
@@ -3600,7 +3603,7 @@ const Zl = {
3600
3603
  title: (x = t.errorMessage) == null ? void 0 : x.title,
3601
3604
  message: (B = t.errorMessage) == null ? void 0 : B.message
3602
3605
  };
3603
- }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), n = (x) => x.hasData || !!t.query, l = T(() => {
3606
+ }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), l = (x) => x.hasData || !!t.query, n = T(() => {
3604
3607
  const x = [];
3605
3608
  return Object.keys(t.tableHeaders).forEach((B) => {
3606
3609
  const re = t.tableHeaders[B];
@@ -3631,8 +3634,8 @@ const Zl = {
3631
3634
  textOverflow: "ellipsis"
3632
3635
  }), B;
3633
3636
  }, w = () => {
3634
- i("empty-state-cta-clicked"), b();
3635
- }, b = () => {
3637
+ i("empty-state-cta-clicked"), h();
3638
+ }, h = () => {
3636
3639
  i("clear-search-input");
3637
3640
  }, S = T(() => t.disableRowClick ? void 0 : (x, B) => {
3638
3641
  i("click:row", B);
@@ -3649,7 +3652,7 @@ const Zl = {
3649
3652
  };
3650
3653
  return (x, B) => {
3651
3654
  const re = L("KIcon"), W = L("KButton"), A = L("KDropdown"), q = L("KTable"), U = L("KCard");
3652
- return h(), P(U, {
3655
+ return b(), P(U, {
3653
3656
  class: "kong-ui-entity-base-table",
3654
3657
  title: e.title
3655
3658
  }, {
@@ -3674,7 +3677,7 @@ const Zl = {
3674
3677
  fetcher: e.fetcher,
3675
3678
  "fetcher-cache-key": String(e.fetcherCacheKey),
3676
3679
  "has-error": r.value.hasError,
3677
- headers: l.value,
3680
+ headers: n.value,
3678
3681
  "hide-pagination-when-optional": "",
3679
3682
  "initial-fetcher-params": s.value,
3680
3683
  "is-loading": e.isLoading,
@@ -3687,13 +3690,13 @@ const Zl = {
3687
3690
  "onUpdate:tablePreferences": E
3688
3691
  }, xe({
3689
3692
  toolbar: y(({ state: K }) => [
3690
- Ue(F("div", Tn, [
3693
+ Ue(F("div", Tl, [
3691
3694
  Z(x.$slots, "toolbar-filter", {}, void 0, !0),
3692
- x.$slots["toolbar-button"] ? (h(), M("div", $n, [
3695
+ x.$slots["toolbar-button"] ? (b(), M("div", $l, [
3693
3696
  Z(x.$slots, "toolbar-button", {}, void 0, !0)
3694
3697
  ])) : D("", !0)
3695
3698
  ], 512), [
3696
- [Re, n(K)]
3699
+ [Re, l(K)]
3697
3700
  ])
3698
3701
  ]),
3699
3702
  actions: y(({ row: K, rowKey: H, rowValue: R }) => [
@@ -3730,14 +3733,14 @@ const Zl = {
3730
3733
  ]),
3731
3734
  _: 2
3732
3735
  }, 1032, ["width"])
3733
- ], 8, Mn)
3736
+ ], 8, Ml)
3734
3737
  ]),
3735
3738
  _: 2
3736
3739
  }, [
3737
3740
  ge(e.tableHeaders, (K, H) => ({
3738
3741
  name: H,
3739
3742
  fn: y(({ row: R, rowKey: Q, rowValue: z }) => [
3740
- C(xn, {
3743
+ C(xl, {
3741
3744
  "key-name": String(H),
3742
3745
  "row-el": f(R)
3743
3746
  }, {
@@ -3760,13 +3763,13 @@ const Zl = {
3760
3763
  }, 8, ["title"]);
3761
3764
  };
3762
3765
  }
3763
- }), En = /* @__PURE__ */ ve(jn, [["__scopeId", "data-v-57b5a97b"]]), On = {
3766
+ }), El = /* @__PURE__ */ ve(jl, [["__scopeId", "data-v-57b5a97b"]]), Ol = {
3764
3767
  key: 0,
3765
3768
  class: "kong-ui-entity-delete-error"
3766
- }, Vn = {
3769
+ }, Vl = {
3767
3770
  key: 1,
3768
3771
  class: "description"
3769
- }, Fn = /* @__PURE__ */ ae({
3772
+ }, Fl = /* @__PURE__ */ ae({
3770
3773
  __name: "EntityDeleteModal",
3771
3774
  props: {
3772
3775
  visible: {
@@ -3805,14 +3808,14 @@ const Zl = {
3805
3808
  },
3806
3809
  emits: ["cancel", "proceed"],
3807
3810
  setup(e, { emit: i }) {
3808
- const t = e, { i18nT: a } = ne.useI18n(), r = T(() => t.needConfirm ? t.entityName : ""), o = () => {
3811
+ const t = e, { i18nT: a } = le.useI18n(), r = T(() => t.needConfirm ? t.entityName : ""), o = () => {
3809
3812
  i("cancel");
3810
- }, n = () => {
3813
+ }, l = () => {
3811
3814
  i("proceed");
3812
3815
  };
3813
- return (l, u) => {
3816
+ return (n, u) => {
3814
3817
  const d = L("KAlert"), f = L("KPrompt");
3815
- return h(), P(f, {
3818
+ return b(), P(f, {
3816
3819
  "action-button-text": "Yes, delete",
3817
3820
  "action-pending": e.actionPending,
3818
3821
  class: "kong-ui-entity-delete-modal",
@@ -3821,10 +3824,10 @@ const Zl = {
3821
3824
  title: e.title,
3822
3825
  type: "danger",
3823
3826
  onCanceled: o,
3824
- onProceed: n
3827
+ onProceed: l
3825
3828
  }, {
3826
3829
  "body-content": y(() => [
3827
- e.error ? (h(), M("div", On, [
3830
+ e.error ? (b(), M("div", Ol, [
3828
3831
  C(d, { appearance: "danger" }, {
3829
3832
  alertMessage: y(() => [
3830
3833
  J(V(e.error), 1)
@@ -3850,8 +3853,8 @@ const Zl = {
3850
3853
  key: "0"
3851
3854
  } : void 0
3852
3855
  ]), 1032, ["keypath"]),
3853
- t.description || l.$slots.description ? (h(), M("div", Vn, [
3854
- Z(l.$slots, "description", {}, () => [
3856
+ t.description || n.$slots.description ? (b(), M("div", Vl, [
3857
+ Z(n.$slots, "description", {}, () => [
3855
3858
  F("p", null, V(t.description), 1)
3856
3859
  ], !0)
3857
3860
  ])) : D("", !0)
@@ -3860,13 +3863,13 @@ const Zl = {
3860
3863
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3861
3864
  };
3862
3865
  }
3863
- }), Nn = /* @__PURE__ */ ve(Fn, [["__scopeId", "data-v-1c9a2a07"]]), Kn = {
3866
+ }), Nl = /* @__PURE__ */ ve(Fl, [["__scopeId", "data-v-1c9a2a07"]]), Kl = {
3864
3867
  fill: "none",
3865
3868
  height: "20",
3866
3869
  viewBox: "0 0 20 20",
3867
3870
  width: "20",
3868
3871
  xmlns: "http://www.w3.org/2000/svg"
3869
- }, Ln = {
3872
+ }, Ll = {
3870
3873
  id: "mask0_180_20349",
3871
3874
  height: "20",
3872
3875
  maskUnits: "userSpaceOnUse",
@@ -3874,7 +3877,7 @@ const Zl = {
3874
3877
  width: "20",
3875
3878
  x: "0",
3876
3879
  y: "0"
3877
- }, qn = ["fill"], Bn = { mask: "url(#mask0_180_20349)" }, Pn = ["fill"], ei = /* @__PURE__ */ ae({
3880
+ }, ql = ["fill"], Bl = { mask: "url(#mask0_180_20349)" }, Pl = ["fill"], ei = /* @__PURE__ */ ae({
3878
3881
  __name: "IconFilter",
3879
3882
  props: {
3880
3883
  color: {
@@ -3883,26 +3886,26 @@ const Zl = {
3883
3886
  }
3884
3887
  },
3885
3888
  setup(e) {
3886
- return (i, t) => (h(), M("svg", Kn, [
3887
- F("mask", Ln, [
3889
+ return (i, t) => (b(), M("svg", Kl, [
3890
+ F("mask", Ll, [
3888
3891
  F("rect", {
3889
3892
  fill: e.color,
3890
3893
  height: "20",
3891
3894
  width: "20"
3892
- }, null, 8, qn)
3895
+ }, null, 8, ql)
3893
3896
  ]),
3894
- F("g", Bn, [
3897
+ F("g", Bl, [
3895
3898
  F("path", {
3896
3899
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3897
3900
  fill: e.color
3898
- }, null, 8, Pn)
3901
+ }, null, 8, Pl)
3899
3902
  ])
3900
3903
  ]));
3901
3904
  }
3902
- }), Un = {
3905
+ }), Ul = {
3903
3906
  key: 1,
3904
3907
  class: "kong-ui-entity-filter"
3905
- }, Rn = { class: "menu-item-title" }, Dn = { class: "menu-item-indicator" }, Hn = { class: "menu-item-body" }, zn = ["for"], Jn = { class: "menu-item-buttons" }, Gn = { class: "filter-clear-button-container" }, Wn = /* @__PURE__ */ ae({
3908
+ }, Rl = { class: "menu-item-title" }, Dl = { class: "menu-item-indicator" }, Hl = { class: "menu-item-body" }, zl = ["for"], Jl = { class: "menu-item-buttons" }, Gl = { class: "filter-clear-button-container" }, Wl = /* @__PURE__ */ ae({
3906
3909
  __name: "EntityFilter",
3907
3910
  props: {
3908
3911
  // filter config, either exact match or fuzzy match
@@ -3922,12 +3925,12 @@ const Zl = {
3922
3925
  },
3923
3926
  emits: ["update:modelValue"],
3924
3927
  setup(e, { emit: i }) {
3925
- const t = e, { i18n: { t: a } } = ne.useI18n(), r = N(!1), o = N({}), n = T(() => {
3928
+ const t = e, { i18n: { t: a } } = le.useI18n(), r = N(!1), o = N({}), l = T(() => {
3926
3929
  const v = [];
3927
3930
  return new URLSearchParams(t.modelValue).forEach(($, s) => {
3928
3931
  $ !== "" && v.push(s);
3929
3932
  }), v;
3930
- }), l = T(() => {
3933
+ }), n = T(() => {
3931
3934
  const v = t.config.fields;
3932
3935
  return Object.keys(v).filter(($) => v[$].searchable).map(($) => ({
3933
3936
  label: v[$].label || $,
@@ -3952,7 +3955,7 @@ const Zl = {
3952
3955
  }, w = (v) => {
3953
3956
  var $, s;
3954
3957
  return ((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.type) ?? "text";
3955
- }, b = (v) => {
3958
+ }, h = (v) => {
3956
3959
  o.value = {
3957
3960
  ...o.value,
3958
3961
  [v]: ""
@@ -3965,7 +3968,7 @@ const Zl = {
3965
3968
  };
3966
3969
  return (v, $) => {
3967
3970
  const s = L("KInput"), E = L("KButton"), x = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3968
- return e.config.isExactMatch ? (h(), P(s, {
3971
+ return e.config.isExactMatch ? (b(), P(s, {
3969
3972
  key: 0,
3970
3973
  autocomplete: "off",
3971
3974
  class: "kong-ui-entity-filter-input",
@@ -3978,7 +3981,7 @@ const Zl = {
3978
3981
  C(ei)
3979
3982
  ]),
3980
3983
  _: 1
3981
- }, 8, ["model-value", "placeholder"])) : (h(), M("div", Un, [
3984
+ }, 8, ["model-value", "placeholder"])) : (b(), M("div", Ul, [
3982
3985
  C(E, {
3983
3986
  appearance: "tertiary",
3984
3987
  "data-testid": "filter-button",
@@ -3986,7 +3989,7 @@ const Zl = {
3986
3989
  }, {
3987
3990
  default: y(() => [
3988
3991
  C(ei),
3989
- J(" " + V(m(a)("filter.filterButtonText")) + " " + V(n.value.length > 0 ? `(${n.value.length})` : ""), 1)
3992
+ J(" " + V(m(a)("filter.filterButtonText")) + " " + V(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
3990
3993
  ]),
3991
3994
  _: 1
3992
3995
  }),
@@ -3998,29 +4001,29 @@ const Zl = {
3998
4001
  ]),
3999
4002
  Ue(C(re, { class: "kong-ui-entity-filter-menu" }, {
4000
4003
  body: y(() => [
4001
- (h(!0), M(ye, null, ge(l.value, (W, A) => (h(), P(B, {
4004
+ (b(!0), M(ye, null, ge(n.value, (W, A) => (b(), P(B, {
4002
4005
  key: W.value,
4003
4006
  "data-testid": W.value,
4004
4007
  expandable: "",
4005
- "last-menu-item": A === l.value.length - 1
4008
+ "last-menu-item": A === n.value.length - 1
4006
4009
  }, {
4007
4010
  itemTitle: y(() => [
4008
- F("span", Rn, [
4011
+ F("span", Rl, [
4009
4012
  J(V(W.label) + " ", 1),
4010
- Ue(F("span", Dn, null, 512), [
4011
- [Re, n.value.includes(W.value)]
4013
+ Ue(F("span", Dl, null, 512), [
4014
+ [Re, l.value.includes(W.value)]
4012
4015
  ])
4013
4016
  ])
4014
4017
  ]),
4015
4018
  itemBody: y(() => {
4016
4019
  var q, U;
4017
4020
  return [
4018
- F("div", Hn, [
4021
+ F("div", Hl, [
4019
4022
  F("label", {
4020
4023
  class: "menu-item-label",
4021
4024
  for: f(W.value)
4022
- }, V(m(a)("filter.fieldLabel")), 9, zn),
4023
- ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(x, {
4025
+ }, V(m(a)("filter.fieldLabel")), 9, zl),
4026
+ ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (b(), P(x, {
4024
4027
  key: 0,
4025
4028
  id: f(W.value),
4026
4029
  modelValue: o.value[W.value],
@@ -4028,7 +4031,7 @@ const Zl = {
4028
4031
  appearance: "select",
4029
4032
  items: p(W.value),
4030
4033
  placeholder: m(a)("filter.selectPlaceholder")
4031
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (h(), P(s, {
4034
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (b(), P(s, {
4032
4035
  key: 1,
4033
4036
  id: f(W.value),
4034
4037
  modelValue: o.value[W.value],
@@ -4038,7 +4041,7 @@ const Zl = {
4038
4041
  type: w(W.value)
4039
4042
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4040
4043
  ]),
4041
- F("div", Jn, [
4044
+ F("div", Jl, [
4042
4045
  C(E, {
4043
4046
  appearance: "tertiary",
4044
4047
  "data-testid": "apply-filter",
@@ -4054,7 +4057,7 @@ const Zl = {
4054
4057
  appearance: "tertiary",
4055
4058
  "data-testid": "clear-filter",
4056
4059
  size: "small",
4057
- onClick: (K) => b(W.value)
4060
+ onClick: (K) => h(W.value)
4058
4061
  }, {
4059
4062
  default: y(() => [
4060
4063
  J(V(m(a)("filter.clearButtonText")), 1)
@@ -4068,7 +4071,7 @@ const Zl = {
4068
4071
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
4069
4072
  ]),
4070
4073
  actionButton: y(() => [
4071
- F("div", Gn, [
4074
+ F("div", Gl, [
4072
4075
  C(E, {
4073
4076
  appearance: "tertiary",
4074
4077
  size: "small",
@@ -4088,7 +4091,7 @@ const Zl = {
4088
4091
  ]));
4089
4092
  };
4090
4093
  }
4091
- }), Yn = /* @__PURE__ */ ve(Wn, [["__scopeId", "data-v-15962ee2"]]), Zn = /* @__PURE__ */ ae({
4094
+ }), Yl = /* @__PURE__ */ ve(Wl, [["__scopeId", "data-v-15962ee2"]]), Zl = /* @__PURE__ */ ae({
4092
4095
  __name: "EntityToggleModal",
4093
4096
  props: {
4094
4097
  visible: {
@@ -4120,9 +4123,9 @@ const Zl = {
4120
4123
  },
4121
4124
  emits: ["canceled", "proceed"],
4122
4125
  setup(e, { emit: i }) {
4123
- const t = e, { i18n: { t: a }, i18nT: r } = ne.useI18n(), o = N(!1), n = T(
4126
+ const t = e, { i18n: { t: a }, i18nT: r } = le.useI18n(), o = N(!1), l = T(
4124
4127
  () => t.action === "enable" ? a("toggleModal.enable.title", { entityType: t.entityType }) : a("toggleModal.disable.title", { entityType: t.entityType })
4125
- ), l = T(
4128
+ ), n = T(
4126
4129
  () => t.action === "enable" ? a("toggleModal.enable.confirmText") : a("toggleModal.disable.confirmText")
4127
4130
  ), u = () => i("canceled"), d = async () => {
4128
4131
  if (t.onConfirm) {
@@ -4138,13 +4141,13 @@ const Zl = {
4138
4141
  };
4139
4142
  return (f, p) => {
4140
4143
  const w = L("KPrompt");
4141
- return h(), P(ii, { to: "body" }, [
4144
+ return b(), P(ii, { to: "body" }, [
4142
4145
  C(w, {
4143
- "action-button-text": l.value,
4146
+ "action-button-text": n.value,
4144
4147
  "action-pending": o.value,
4145
4148
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
4146
4149
  "is-visible": e.visible,
4147
- title: n.value,
4150
+ title: l.value,
4148
4151
  type: "warning",
4149
4152
  onCanceled: u,
4150
4153
  onProceed: d
@@ -4198,7 +4201,7 @@ const Zl = {
4198
4201
  isAllowed: t.value
4199
4202
  }) : D("", !0);
4200
4203
  }
4201
- }), Qn = { class: "form-section-wrapper" }, Xn = {
4204
+ }), Ql = { class: "form-section-wrapper" }, Xl = {
4202
4205
  key: 0,
4203
4206
  class: "form-section-title"
4204
4207
  }, es = {
@@ -4233,21 +4236,21 @@ const Zl = {
4233
4236
  },
4234
4237
  setup(e) {
4235
4238
  const i = it();
4236
- return (t, a) => (h(), M("fieldset", {
4239
+ return (t, a) => (b(), M("fieldset", {
4237
4240
  class: $e(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4238
4241
  }, [
4239
- F("div", Qn, [
4240
- e.hideInfoHeader ? D("", !0) : (h(), M("div", {
4242
+ F("div", Ql, [
4243
+ e.hideInfoHeader ? D("", !0) : (b(), M("div", {
4241
4244
  key: 0,
4242
4245
  class: $e(["form-section-info", { sticky: e.stickyInfoHeader }])
4243
4246
  }, [
4244
- e.title ? (h(), M("h4", Xn, V(e.title), 1)) : D("", !0),
4245
- e.description || m(i).description ? (h(), M("div", es, [
4247
+ e.title ? (b(), M("h4", Xl, V(e.title), 1)) : D("", !0),
4248
+ e.description || m(i).description ? (b(), M("div", es, [
4246
4249
  Z(t.$slots, "description", {}, () => [
4247
4250
  F("p", null, V(e.description), 1)
4248
4251
  ], !0)
4249
4252
  ])) : D("", !0),
4250
- m(i).footer ? (h(), M("div", ts, [
4253
+ m(i).footer ? (b(), M("div", ts, [
4251
4254
  Z(t.$slots, "footer", {}, void 0, !0)
4252
4255
  ])) : D("", !0)
4253
4256
  ], 2)),
@@ -4257,7 +4260,7 @@ const Zl = {
4257
4260
  ])
4258
4261
  ], 2));
4259
4262
  }
4260
- }), ti = /* @__PURE__ */ ve(as, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: ia, useDeleteUrlBuilder: rs, useErrors: os, useExternalLinkCreator: Ns, useFetchUrlBuilder: Ks, useFetcher: ls, useDebouncedFilter: Ls, useStringHelpers: qs, useHelpers: ns, useGatewayFeatureSupported: ss, useTruncationDetector: Bs } = ne, cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 }, ds = /* @__PURE__ */ ae({
4263
+ }), ti = /* @__PURE__ */ ve(as, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: ia, useDeleteUrlBuilder: rs, useErrors: os, useExternalLinkCreator: Ns, useFetchUrlBuilder: Ks, useFetcher: ns, useDebouncedFilter: Ls, useStringHelpers: qs, useHelpers: ls, useGatewayFeatureSupported: ss, useTruncationDetector: Bs } = le, cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 }, ds = /* @__PURE__ */ ae({
4261
4264
  __name: "GatewayServiceList",
4262
4265
  props: {
4263
4266
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4306,7 +4309,7 @@ const Zl = {
4306
4309
  var Le;
4307
4310
  const t = e, { i18n: { t: a } } = Ye.useI18n(), r = ht(), { axiosInstance: o } = ia({
4308
4311
  headers: (Le = t.config) == null ? void 0 : Le.requestHeaders
4309
- }), n = N(1), l = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), u = {
4312
+ }), l = N(1), n = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), u = {
4310
4313
  name: { label: a("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0 },
4311
4314
  protocol: { label: a("gateway_services.list.table_headers.protocol"), searchable: !0, sortable: !0 },
4312
4315
  host: { label: a("gateway_services.list.table_headers.host"), searchable: !0, sortable: !0 },
@@ -4318,12 +4321,12 @@ const Zl = {
4318
4321
  var g, O;
4319
4322
  let c = `${t.config.apiBaseUrl}${De.list[t.config.app].all}`;
4320
4323
  return t.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((g = t.config) == null ? void 0 : g.controlPlaneId) || "") : t.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (O = t.config) != null && O.workspace ? `/${t.config.workspace}` : "")), c;
4321
- }), p = T(() => t.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${f.value}`) : new URL(f.value)), w = N(""), b = T(() => {
4324
+ }), p = T(() => t.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${f.value}`) : new URL(f.value)), w = N(""), h = T(() => {
4322
4325
  const c = t.config.app === "konnect" || t.config.isExactMatch;
4323
4326
  if (c)
4324
4327
  return {
4325
4328
  isExactMatch: c,
4326
- placeholder: a("search.placeholder")
4329
+ placeholder: a(`search.placeholder.${t.config.app}`)
4327
4330
  };
4328
4331
  const { name: g, enabled: O, protocol: G, host: te, port: se, path: _ } = u;
4329
4332
  return {
@@ -4331,10 +4334,10 @@ const Zl = {
4331
4334
  fields: { name: g, enabled: O, protocol: G, host: te, port: se, path: _ },
4332
4335
  schema: t.config.filterSchema
4333
4336
  };
4334
- }), { fetcher: S, fetcherState: k } = ls(t.config, f.value), v = () => {
4337
+ }), { fetcher: S, fetcherState: k } = ns(t.config, f.value), v = () => {
4335
4338
  w.value = "";
4336
4339
  }, $ = () => {
4337
- n.value++;
4340
+ l.value++;
4338
4341
  }, s = N(null), E = T(() => ({
4339
4342
  ctaPath: t.config.createRoute,
4340
4343
  ctaText: Ie.value ? a("actions.create") : void 0,
@@ -4413,7 +4416,7 @@ const Zl = {
4413
4416
  if ((c = z.value) != null && c.id) {
4414
4417
  Y.value = !0;
4415
4418
  try {
4416
- await o.delete(ce(z.value.id)), i("delete:success", z.value), Me(), n.value++;
4419
+ await o.delete(ce(z.value.id)), i("delete:success", z.value), Me(), l.value++;
4417
4420
  } catch (G) {
4418
4421
  X.value = ((O = (g = G.response) == null ? void 0 : g.data) == null ? void 0 : O.message) || G.message || a("errors.delete"), i("error", G);
4419
4422
  } finally {
@@ -4436,16 +4439,16 @@ const Zl = {
4436
4439
  Ie.value = await t.canCreate();
4437
4440
  }), (c, g) => {
4438
4441
  const O = L("KButton"), G = L("KInputSwitch"), te = L("KBadge"), se = L("KTruncate"), _ = L("KDropdownItem"), qe = L("KClipboardProvider");
4439
- return h(), M("div", cs, [
4440
- C(m(En), {
4442
+ return b(), M("div", cs, [
4443
+ C(m(El), {
4441
4444
  "cache-identifier": e.cacheIdentifier,
4442
4445
  "disable-pagination-page-jump": "",
4443
- "disable-sorting": l.value,
4446
+ "disable-sorting": n.value,
4444
4447
  "empty-state-options": E.value,
4445
4448
  "enable-entity-actions": "",
4446
4449
  "error-message": s.value,
4447
4450
  fetcher: m(S),
4448
- "fetcher-cache-key": n.value,
4451
+ "fetcher-cache-key": l.value,
4449
4452
  "pagination-type": "offset",
4450
4453
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
4451
4454
  query: w.value,
@@ -4456,14 +4459,14 @@ const Zl = {
4456
4459
  onSort: $
4457
4460
  }, {
4458
4461
  "toolbar-filter": y(() => [
4459
- C(m(Yn), {
4462
+ C(m(Yl), {
4460
4463
  modelValue: w.value,
4461
4464
  "onUpdate:modelValue": g[0] || (g[0] = (I) => w.value = I),
4462
- config: b.value
4465
+ config: h.value
4463
4466
  }, null, 8, ["modelValue", "config"])
4464
4467
  ]),
4465
4468
  "toolbar-button": y(() => [
4466
- (h(), P(ii, {
4469
+ (b(), P(ii, {
4467
4470
  disabled: !e.useActionOutside,
4468
4471
  to: "#kong-ui-app-page-header-action-button"
4469
4472
  }, [
@@ -4516,9 +4519,9 @@ const Zl = {
4516
4519
  }, 1032, ["auth-function"])
4517
4520
  ]),
4518
4521
  tags: y(({ rowValue: I }) => [
4519
- (I == null ? void 0 : I.length) > 0 ? (h(), P(se, { key: 0 }, {
4522
+ (I == null ? void 0 : I.length) > 0 ? (b(), P(se, { key: 0 }, {
4520
4523
  default: y(() => [
4521
- (h(!0), M(ye, null, ge(I, (we) => (h(), P(te, {
4524
+ (b(!0), M(ye, null, ge(I, (we) => (b(), P(te, {
4522
4525
  key: we,
4523
4526
  onClick: g[2] || (g[2] = Fe(() => {
4524
4527
  }, ["stop"]))
@@ -4530,7 +4533,7 @@ const Zl = {
4530
4533
  }, 1024))), 128))
4531
4534
  ]),
4532
4535
  _: 2
4533
- }, 1024)) : (h(), M("span", us, "-"))
4536
+ }, 1024)) : (b(), M("span", us, "-"))
4534
4537
  ]),
4535
4538
  actions: y(({ row: I }) => [
4536
4539
  C(qe, null, {
@@ -4605,7 +4608,7 @@ const Zl = {
4605
4608
  ]),
4606
4609
  _: 1
4607
4610
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4608
- C(m(Zn), {
4611
+ C(m(Zl), {
4609
4612
  action: re.value.action,
4610
4613
  "entity-id": re.value.id,
4611
4614
  "entity-name": re.value.name,
@@ -4615,7 +4618,7 @@ const Zl = {
4615
4618
  onCanceled: A,
4616
4619
  onProceed: A
4617
4620
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
4618
- C(m(Nn), {
4621
+ C(m(Nl), {
4619
4622
  "action-pending": Y.value,
4620
4623
  description: m(a)("actions.delete.description"),
4621
4624
  "entity-name": z.value && (z.value.name || z.value.id),
@@ -4634,7 +4637,7 @@ const Zl = {
4634
4637
  for (const [a, r] of i)
4635
4638
  t[a] = r;
4636
4639
  return t;
4637
- }, Ps = /* @__PURE__ */ aa(ds, [["__scopeId", "data-v-d069f686"]]), ps = { class: "kong-ui-entities-gateway-service-form" }, fs = { key: 0 }, ms = { class: "gateway-service-form-traffic-label" }, gs = { class: "gateway-service-form-margin-bottom" }, ys = {
4640
+ }, Ps = /* @__PURE__ */ aa(ds, [["__scopeId", "data-v-0b44b6b1"]]), ps = { class: "kong-ui-entities-gateway-service-form" }, fs = { key: 0 }, ms = { class: "gateway-service-form-traffic-label" }, gs = { class: "gateway-service-form-margin-bottom" }, ys = {
4638
4641
  key: 0,
4639
4642
  class: "gateway-service-form-group-fields"
4640
4643
  }, vs = {
@@ -4680,9 +4683,9 @@ const Zl = {
4680
4683
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
4681
4684
  setup(e, { expose: i, emit: t }) {
4682
4685
  var Le;
4683
- const a = e, r = N(!0), o = ht(), { i18nT: n, i18n: { t: l } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4686
+ const a = e, r = N(!0), o = ht(), { i18nT: l, i18n: { t: n } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4684
4687
  headers: (Le = a.config) == null ? void 0 : Le.requestHeaders
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({
4688
+ }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), w = N(!1), h = T(() => !!a.gatewayServiceId), S = N(h.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4686
4689
  fields: {
4687
4690
  name: "",
4688
4691
  protocol: "http",
@@ -4726,54 +4729,54 @@ const Zl = {
4726
4729
  }
4727
4730
  }), B = [
4728
4731
  {
4729
- label: l("gateway_services.form.fields.protocol.options.http"),
4732
+ label: n("gateway_services.form.fields.protocol.options.http"),
4730
4733
  value: "http",
4731
4734
  group: "http"
4732
4735
  },
4733
4736
  {
4734
- label: l("gateway_services.form.fields.protocol.options.https"),
4737
+ label: n("gateway_services.form.fields.protocol.options.https"),
4735
4738
  value: "https",
4736
4739
  group: "http"
4737
4740
  },
4738
4741
  {
4739
- label: l("gateway_services.form.fields.protocol.options.tcp"),
4742
+ label: n("gateway_services.form.fields.protocol.options.tcp"),
4740
4743
  value: "tcp",
4741
4744
  group: "tcp"
4742
4745
  },
4743
4746
  {
4744
- label: l("gateway_services.form.fields.protocol.options.tls"),
4747
+ label: n("gateway_services.form.fields.protocol.options.tls"),
4745
4748
  value: "tls",
4746
4749
  group: "tcp"
4747
4750
  },
4748
4751
  {
4749
- label: l("gateway_services.form.fields.protocol.options.tls_passthrough"),
4752
+ label: n("gateway_services.form.fields.protocol.options.tls_passthrough"),
4750
4753
  value: "tls_passthrough",
4751
4754
  group: "tcp"
4752
4755
  },
4753
4756
  {
4754
- label: l("gateway_services.form.fields.protocol.options.grpc"),
4757
+ label: n("gateway_services.form.fields.protocol.options.grpc"),
4755
4758
  value: "grpc",
4756
4759
  group: "grpc"
4757
4760
  },
4758
4761
  {
4759
- label: l("gateway_services.form.fields.protocol.options.grpcs"),
4762
+ label: n("gateway_services.form.fields.protocol.options.grpcs"),
4760
4763
  value: "grpcs",
4761
4764
  group: "grpc"
4762
4765
  },
4763
4766
  ...x ? [
4764
4767
  {
4765
- label: l("gateway_services.form.fields.protocol.options.ws"),
4768
+ label: n("gateway_services.form.fields.protocol.options.ws"),
4766
4769
  value: "ws",
4767
4770
  group: "websocket"
4768
4771
  },
4769
4772
  {
4770
- label: l("gateway_services.form.fields.protocol.options.wss"),
4773
+ label: n("gateway_services.form.fields.protocol.options.wss"),
4771
4774
  value: "wss",
4772
4775
  group: "websocket"
4773
4776
  }
4774
4777
  ] : [],
4775
4778
  {
4776
- label: l("gateway_services.form.fields.protocol.options.udp"),
4779
+ label: n("gateway_services.form.fields.protocol.options.udp"),
4777
4780
  value: "udp",
4778
4781
  group: "udp"
4779
4782
  }
@@ -4789,7 +4792,7 @@ const Zl = {
4789
4792
  const g = Number(c.port);
4790
4793
  w.value = !!g, s.fields.port = g || k.getPortFromProtocol(s.fields.protocol), s.errorMessage = "", t("url-valid:success");
4791
4794
  } catch (c) {
4792
- s.errorMessage = l("errors.urlErrorMessage"), t("url-valid:error", u(c));
4795
+ s.errorMessage = n("errors.urlErrorMessage"), t("url-valid:error", u(c));
4793
4796
  }
4794
4797
  else
4795
4798
  t("url-valid:success"), s.errorMessage = "";
@@ -4808,9 +4811,9 @@ const Zl = {
4808
4811
  return !0;
4809
4812
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4810
4813
  return S.value === "protocol" && c;
4811
- }), z = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : l("errors.validationNameError"), ie = (c) => {
4814
+ }), z = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : n("errors.validationNameError"), ie = (c) => {
4812
4815
  v.value = z(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) => {
4816
+ }, Y = T(() => h.value && JSON.stringify(s.fields) !== JSON.stringify(E) || S.value === "url" && !!s.fields.url || S.value === "protocol" && !!s.fields.host), X = (c) => {
4814
4817
  var g, O, G;
4815
4818
  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);
4816
4819
  }, ce = () => {
@@ -4876,8 +4879,8 @@ const Zl = {
4876
4879
  canSubmit: Y
4877
4880
  }), (c, g) => {
4878
4881
  const O = L("KInput"), G = L("KLabel"), te = L("KRadio"), se = L("KSelect"), _ = L("KCheckbox"), qe = L("KCollapse");
4879
- return h(), M("div", ps, [
4880
- C(m(Sn), {
4882
+ return b(), M("div", ps, [
4883
+ C(m(Sl), {
4881
4884
  "can-submit": Y.value,
4882
4885
  config: e.config,
4883
4886
  "edit-id": e.gatewayServiceId,
@@ -4899,9 +4902,9 @@ const Zl = {
4899
4902
  ]),
4900
4903
  default: y(() => [
4901
4904
  C(m(ti), {
4902
- description: m(l)("gateway_services.form.sections.general.description"),
4905
+ description: m(n)("gateway_services.form.sections.general.description"),
4903
4906
  "hide-info-header": e.hideSectionsInfo,
4904
- title: m(l)("gateway_services.form.sections.general.title")
4907
+ title: m(n)("gateway_services.form.sections.general.title")
4905
4908
  }, {
4906
4909
  default: y(() => [
4907
4910
  C(O, {
@@ -4912,10 +4915,10 @@ const Zl = {
4912
4915
  "data-testid": "gateway-service-name-input",
4913
4916
  error: $.value,
4914
4917
  "error-message": v.value,
4915
- label: m(l)("gateway_services.form.fields.name.label"),
4916
- "label-attributes": { info: m(l)("gateway_services.form.fields.name.tooltip") },
4918
+ label: m(n)("gateway_services.form.fields.name.label"),
4919
+ "label-attributes": { info: m(n)("gateway_services.form.fields.name.tooltip") },
4917
4920
  name: "name",
4918
- placeholder: m(l)("gateway_services.form.fields.name.placeholder"),
4921
+ placeholder: m(n)("gateway_services.form.fields.name.placeholder"),
4919
4922
  readonly: s.isReadonly,
4920
4923
  type: "text",
4921
4924
  onInput: ie
@@ -4926,11 +4929,11 @@ const Zl = {
4926
4929
  modelModifiers: { trim: !0 },
4927
4930
  autocomplete: "off",
4928
4931
  "data-testid": "gateway-service-tags-input",
4929
- help: m(l)("gateway_services.form.fields.tags.help"),
4930
- label: m(l)("gateway_services.form.fields.tags.label"),
4931
- "label-attributes": { info: m(l)("gateway_services.form.fields.tags.tooltip") },
4932
+ help: m(n)("gateway_services.form.fields.tags.help"),
4933
+ label: m(n)("gateway_services.form.fields.tags.label"),
4934
+ "label-attributes": { info: m(n)("gateway_services.form.fields.tags.tooltip") },
4932
4935
  name: "tags",
4933
- placeholder: m(l)("gateway_services.form.fields.tags.placeholder"),
4936
+ placeholder: m(n)("gateway_services.form.fields.tags.placeholder"),
4934
4937
  readonly: s.isReadonly,
4935
4938
  type: "text"
4936
4939
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -4938,16 +4941,16 @@ const Zl = {
4938
4941
  _: 1
4939
4942
  }, 8, ["description", "hide-info-header", "title"]),
4940
4943
  C(m(ti), {
4941
- description: m(l)("gateway_services.form.sections.keys.description"),
4944
+ description: m(n)("gateway_services.form.sections.keys.description"),
4942
4945
  "hide-info-header": e.hideSectionsInfo,
4943
- title: m(l)("gateway_services.form.sections.keys.title")
4946
+ title: m(n)("gateway_services.form.sections.keys.title")
4944
4947
  }, {
4945
4948
  default: y(() => [
4946
- b.value ? D("", !0) : (h(), M("div", fs, [
4949
+ h.value ? D("", !0) : (b(), M("div", fs, [
4947
4950
  F("div", ms, [
4948
4951
  C(G, { required: "" }, {
4949
4952
  default: y(() => [
4950
- J(V(m(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4953
+ J(V(m(n)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4951
4954
  ]),
4952
4955
  _: 1
4953
4956
  })
@@ -4963,7 +4966,7 @@ const Zl = {
4963
4966
  default: y(() => [
4964
4967
  C(G, { class: "gateway-service-url-radio-label" }, {
4965
4968
  default: y(() => [
4966
- J(V(m(l)("gateway_services.form.sections.keys.urlLabel")), 1)
4969
+ J(V(m(n)("gateway_services.form.sections.keys.urlLabel")), 1)
4967
4970
  ]),
4968
4971
  _: 1
4969
4972
  })
@@ -4971,19 +4974,19 @@ const Zl = {
4971
4974
  _: 1
4972
4975
  }, 8, ["modelValue", "selected-value"])
4973
4976
  ]),
4974
- S.value === "url" ? (h(), M("div", ys, [
4977
+ S.value === "url" ? (b(), M("div", ys, [
4975
4978
  C(O, {
4976
4979
  modelValue: s.fields.url,
4977
4980
  "onUpdate:modelValue": g[3] || (g[3] = (I) => s.fields.url = I),
4978
4981
  modelModifiers: { trim: !0 },
4979
4982
  class: "gateway-service-url-input gateway-service-form-margin-bottom",
4980
4983
  "data-testid": "gateway-service-url-input",
4981
- label: m(l)("gateway_services.form.fields.upstream_url.label"),
4984
+ label: m(n)("gateway_services.form.fields.upstream_url.label"),
4982
4985
  "label-attributes": {
4983
- info: e.config.app === "konnect" ? m(l)("gateway_services.form.fields.upstream_url.tooltip_for_konnect") : m(l)("gateway_services.form.fields.upstream_url.tooltip_for_km")
4986
+ info: e.config.app === "konnect" ? m(n)("gateway_services.form.fields.upstream_url.tooltip_for_konnect") : m(n)("gateway_services.form.fields.upstream_url.tooltip_for_km")
4984
4987
  },
4985
4988
  name: "url",
4986
- placeholder: m(l)("gateway_services.form.fields.upstream_url.placeholder"),
4989
+ placeholder: m(n)("gateway_services.form.fields.upstream_url.placeholder"),
4987
4990
  required: ""
4988
4991
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
4989
4992
  ])) : D("", !0),
@@ -4998,7 +5001,7 @@ const Zl = {
4998
5001
  default: y(() => [
4999
5002
  C(G, { class: "gateway-service-protocol-radio-label" }, {
5000
5003
  default: y(() => [
5001
- J(V(m(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5004
+ J(V(m(n)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5002
5005
  ]),
5003
5006
  _: 1
5004
5007
  })
@@ -5006,16 +5009,16 @@ const Zl = {
5006
5009
  _: 1
5007
5010
  }, 8, ["modelValue", "selected-value"])
5008
5011
  ])),
5009
- S.value === "protocol" || b.value ? (h(), M("div", vs, [
5012
+ S.value === "protocol" || h.value ? (b(), M("div", vs, [
5010
5013
  C(se, {
5011
5014
  modelValue: s.fields.protocol,
5012
5015
  "onUpdate:modelValue": g[5] || (g[5] = (I) => s.fields.protocol = I),
5013
5016
  appearance: "select",
5014
5017
  "data-testid": "gateway-service-protocol-select",
5015
5018
  items: B,
5016
- label: m(l)("gateway_services.form.fields.protocol.label"),
5019
+ label: m(n)("gateway_services.form.fields.protocol.label"),
5017
5020
  "label-attributes": {
5018
- info: m(l)("gateway_services.form.fields.protocol.tooltip")
5021
+ info: m(n)("gateway_services.form.fields.protocol.tooltip")
5019
5022
  },
5020
5023
  readonly: s.isReadonly,
5021
5024
  required: "",
@@ -5028,27 +5031,27 @@ const Zl = {
5028
5031
  modelModifiers: { trim: !0 },
5029
5032
  class: "gateway-service-form-margin-top",
5030
5033
  "data-testid": "gateway-service-host-input",
5031
- label: m(l)("gateway_services.form.fields.host.label"),
5034
+ label: m(n)("gateway_services.form.fields.host.label"),
5032
5035
  "label-attributes": {
5033
- info: m(l)("gateway_services.form.fields.host.tooltip")
5036
+ info: m(n)("gateway_services.form.fields.host.tooltip")
5034
5037
  },
5035
5038
  name: "host",
5036
- placeholder: m(l)("gateway_services.form.fields.host.placeholder"),
5039
+ placeholder: m(n)("gateway_services.form.fields.host.placeholder"),
5037
5040
  required: ""
5038
5041
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
5039
- K.value ? (h(), M("div", hs, [
5042
+ K.value ? (b(), M("div", hs, [
5040
5043
  C(O, {
5041
5044
  modelValue: s.fields.path,
5042
5045
  "onUpdate:modelValue": g[8] || (g[8] = (I) => s.fields.path = I),
5043
5046
  modelModifiers: { trim: !0 },
5044
5047
  class: "gateway-service-form-margin-top",
5045
5048
  "data-testid": "gateway-service-path-input",
5046
- label: m(l)("gateway_services.form.fields.path.label"),
5049
+ label: m(n)("gateway_services.form.fields.path.label"),
5047
5050
  "label-attributes": {
5048
- info: m(l)("gateway_services.form.fields.path.tooltip")
5051
+ info: m(n)("gateway_services.form.fields.path.tooltip")
5049
5052
  },
5050
5053
  name: "path",
5051
- placeholder: m(l)("gateway_services.form.fields.path.placeholder")
5054
+ placeholder: m(n)("gateway_services.form.fields.path.placeholder")
5052
5055
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
5053
5056
  ])) : D("", !0),
5054
5057
  C(O, {
@@ -5061,9 +5064,9 @@ const Zl = {
5061
5064
  ],
5062
5065
  class: "gateway-service-form-margin-top",
5063
5066
  "data-testid": "gateway-service-port-input",
5064
- label: m(l)("gateway_services.form.fields.port.label"),
5067
+ label: m(n)("gateway_services.form.fields.port.label"),
5065
5068
  "label-attributes": {
5066
- info: m(l)("gateway_services.form.fields.port.tooltip")
5069
+ info: m(n)("gateway_services.form.fields.port.tooltip")
5067
5070
  },
5068
5071
  name: "port",
5069
5072
  type: "number"
@@ -5074,7 +5077,7 @@ const Zl = {
5074
5077
  "onUpdate:modelValue": g[24] || (g[24] = (I) => r.value = I),
5075
5078
  "data-testid": "advanced-fields-collapse",
5076
5079
  "trigger-alignment": "leading",
5077
- "trigger-label": m(l)("gateway_services.form.sections.keys.viewAdvancedFields")
5080
+ "trigger-label": m(n)("gateway_services.form.sections.keys.viewAdvancedFields")
5078
5081
  }, {
5079
5082
  default: y(() => [
5080
5083
  F("div", bs, [
@@ -5089,8 +5092,8 @@ const Zl = {
5089
5092
  ],
5090
5093
  autocomplete: "off",
5091
5094
  "data-testid": "gateway-service-retries-input",
5092
- label: m(l)("gateway_services.form.fields.retries.label"),
5093
- "label-attributes": { info: m(l)("gateway_services.form.fields.retries.tooltip") },
5095
+ label: m(n)("gateway_services.form.fields.retries.label"),
5096
+ "label-attributes": { info: m(n)("gateway_services.form.fields.retries.tooltip") },
5094
5097
  name: "retries",
5095
5098
  readonly: s.isReadonly,
5096
5099
  type: "number"
@@ -5107,8 +5110,8 @@ const Zl = {
5107
5110
  ],
5108
5111
  autocomplete: "off",
5109
5112
  "data-testid": "gateway-service-connTimeout-input",
5110
- label: m(l)("gateway_services.form.fields.connect_timeout.label"),
5111
- "label-attributes": { info: m(l)("gateway_services.form.fields.connect_timeout.tooltip") },
5113
+ label: m(n)("gateway_services.form.fields.connect_timeout.label"),
5114
+ "label-attributes": { info: m(n)("gateway_services.form.fields.connect_timeout.tooltip") },
5112
5115
  name: "connTimeout",
5113
5116
  readonly: s.isReadonly,
5114
5117
  type: "number"
@@ -5125,8 +5128,8 @@ const Zl = {
5125
5128
  ],
5126
5129
  autocomplete: "off",
5127
5130
  "data-testid": "gateway-service-writeTimeout-input",
5128
- label: m(l)("gateway_services.form.fields.write_timeout.label"),
5129
- "label-attributes": { info: m(l)("gateway_services.form.fields.write_timeout.tooltip") },
5131
+ label: m(n)("gateway_services.form.fields.write_timeout.label"),
5132
+ "label-attributes": { info: m(n)("gateway_services.form.fields.write_timeout.tooltip") },
5130
5133
  name: "writeTimeout",
5131
5134
  readonly: s.isReadonly,
5132
5135
  type: "number"
@@ -5143,50 +5146,50 @@ const Zl = {
5143
5146
  ],
5144
5147
  autocomplete: "off",
5145
5148
  "data-testid": "gateway-service-readTimeout-input",
5146
- label: m(l)("gateway_services.form.fields.read_timeout.label"),
5147
- "label-attributes": { info: m(l)("gateway_services.form.fields.read_timeout.tooltip") },
5149
+ label: m(n)("gateway_services.form.fields.read_timeout.label"),
5150
+ "label-attributes": { info: m(n)("gateway_services.form.fields.read_timeout.tooltip") },
5148
5151
  name: "readTimeout",
5149
5152
  readonly: s.isReadonly,
5150
5153
  type: "number"
5151
5154
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5152
5155
  ]),
5153
- H.value ? (h(), M("div", Ss, [
5156
+ H.value ? (b(), M("div", Ss, [
5154
5157
  C(O, {
5155
5158
  modelValue: s.fields.client_certificate,
5156
5159
  "onUpdate:modelValue": g[19] || (g[19] = (I) => s.fields.client_certificate = I),
5157
5160
  modelModifiers: { trim: !0 },
5158
5161
  autocomplete: "off",
5159
5162
  "data-testid": "gateway-service-clientCert-input",
5160
- label: m(l)("gateway_services.form.fields.client_certificate.label"),
5161
- "label-attributes": { info: m(l)("gateway_services.form.fields.client_certificate.tooltip") },
5163
+ label: m(n)("gateway_services.form.fields.client_certificate.label"),
5164
+ "label-attributes": { info: m(n)("gateway_services.form.fields.client_certificate.tooltip") },
5162
5165
  name: "clientCert",
5163
- placeholder: m(l)("gateway_services.form.fields.client_certificate.placeholder"),
5166
+ placeholder: m(n)("gateway_services.form.fields.client_certificate.placeholder"),
5164
5167
  readonly: s.isReadonly,
5165
5168
  type: "text"
5166
5169
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
5167
5170
  ])) : D("", !0),
5168
- R.value ? (h(), M("div", Is, [
5171
+ R.value ? (b(), M("div", Is, [
5169
5172
  C(O, {
5170
5173
  modelValue: s.fields.ca_certificates,
5171
5174
  "onUpdate:modelValue": g[20] || (g[20] = (I) => s.fields.ca_certificates = I),
5172
5175
  modelModifiers: { trim: !0 },
5173
5176
  autocomplete: "off",
5174
5177
  "data-testid": "gateway-service-ca-certs-input",
5175
- label: m(l)("gateway_services.form.fields.ca_certificates.label"),
5176
- placeholder: m(l)("gateway_services.form.fields.ca_certificates.placeholder"),
5178
+ label: m(n)("gateway_services.form.fields.ca_certificates.label"),
5179
+ placeholder: m(n)("gateway_services.form.fields.ca_certificates.placeholder"),
5177
5180
  readonly: s.isReadonly,
5178
5181
  type: "text"
5179
5182
  }, {
5180
5183
  "label-tooltip": y(() => [
5181
- C(m(n), {
5184
+ C(m(l), {
5182
5185
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5183
5186
  scope: "global"
5184
5187
  }, {
5185
5188
  code1: y(() => [
5186
- F("code", null, V(m(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5189
+ F("code", null, V(m(n)("gateway_services.form.fields.ca_certificates.code1")), 1)
5187
5190
  ]),
5188
5191
  code2: y(() => [
5189
- F("code", null, V(m(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5192
+ F("code", null, V(m(n)("gateway_services.form.fields.ca_certificates.code2")), 1)
5190
5193
  ]),
5191
5194
  _: 1
5192
5195
  })
@@ -5194,42 +5197,42 @@ const Zl = {
5194
5197
  _: 1
5195
5198
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5196
5199
  ])) : D("", !0),
5197
- Q.value ? (h(), M("div", As, [
5200
+ Q.value ? (b(), M("div", As, [
5198
5201
  C(_, {
5199
5202
  modelValue: s.fields.tls_verify_enabled,
5200
5203
  "onUpdate:modelValue": g[21] || (g[21] = (I) => s.fields.tls_verify_enabled = I),
5201
5204
  "data-testid": "gateway-service-tls-verify-checkbox",
5202
- description: m(l)("gateway_services.form.fields.tls_verify_enabled.help"),
5203
- label: m(l)("gateway_services.form.fields.tls_verify_enabled.label")
5205
+ description: m(n)("gateway_services.form.fields.tls_verify_enabled.help"),
5206
+ label: m(n)("gateway_services.form.fields.tls_verify_enabled.label")
5204
5207
  }, {
5205
5208
  tooltip: y(() => [
5206
- C(m(n), {
5209
+ C(m(l), {
5207
5210
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5208
5211
  scope: "global"
5209
5212
  }, {
5210
5213
  code1: y(() => [
5211
- F("code", null, V(m(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5214
+ F("code", null, V(m(n)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5212
5215
  ]),
5213
5216
  _: 1
5214
5217
  })
5215
5218
  ]),
5216
5219
  _: 1
5217
5220
  }, 8, ["modelValue", "description", "label"]),
5218
- s.fields.tls_verify_enabled ? (h(), M("div", xs, [
5221
+ s.fields.tls_verify_enabled ? (b(), M("div", xs, [
5219
5222
  C(te, {
5220
5223
  modelValue: s.fields.tls_verify_value,
5221
5224
  "onUpdate:modelValue": g[22] || (g[22] = (I) => s.fields.tls_verify_value = I),
5222
5225
  "data-testid": "gateway-service-tls-verify-true-option",
5223
- label: m(l)("gateway_services.form.fields.tls_verify_option.true.label"),
5226
+ label: m(n)("gateway_services.form.fields.tls_verify_option.true.label"),
5224
5227
  "selected-value": !0
5225
5228
  }, null, 8, ["modelValue", "label"])
5226
5229
  ])) : D("", !0),
5227
- s.fields.tls_verify_enabled ? (h(), M("div", Ts, [
5230
+ s.fields.tls_verify_enabled ? (b(), M("div", Ts, [
5228
5231
  C(te, {
5229
5232
  modelValue: s.fields.tls_verify_value,
5230
5233
  "onUpdate:modelValue": g[23] || (g[23] = (I) => s.fields.tls_verify_value = I),
5231
5234
  "data-testid": "gateway-service-tls-verify-false-option",
5232
- label: m(l)("gateway_services.form.fields.tls_verify_option.false.label"),
5235
+ label: m(n)("gateway_services.form.fields.tls_verify_option.false.label"),
5233
5236
  "selected-value": !1
5234
5237
  }, null, 8, ["modelValue", "label"])
5235
5238
  ])) : D("", !0)
@@ -5274,7 +5277,7 @@ const Zl = {
5274
5277
  },
5275
5278
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
5276
5279
  setup(e) {
5277
- const i = e, { i18n: { t }, i18nT: a } = Ye.useI18n(), r = T(() => De.form[i.config.app].edit), { getPropValue: o } = ns(), n = (u, d) => o(u, d) === !0 ? t("gateway_services.form.fields.tls_verify_option.true.display") : t("gateway_services.form.fields.tls_verify_option.false.display"), l = N({
5280
+ const i = e, { i18n: { t }, i18nT: a } = Ye.useI18n(), r = T(() => De.form[i.config.app].edit), { getPropValue: o } = ls(), l = (u, d) => o(u, d) === !0 ? t("gateway_services.form.fields.tls_verify_option.true.display") : t("gateway_services.form.fields.tls_verify_option.false.display"), n = N({
5278
5281
  id: {},
5279
5282
  name: {
5280
5283
  tooltip: t("gateway_services.form.fields.name.tooltip")
@@ -5334,11 +5337,11 @@ const Zl = {
5334
5337
  hidden: !0
5335
5338
  }
5336
5339
  });
5337
- return (u, d) => (h(), M("div", Ms, [
5338
- C(m(wn), {
5340
+ return (u, d) => (b(), M("div", Ms, [
5341
+ C(m(wl), {
5339
5342
  config: e.config,
5340
5343
  "config-card-doc": e.configCardDoc,
5341
- "config-schema": l.value,
5344
+ "config-schema": n.value,
5342
5345
  "fetch-url": r.value,
5343
5346
  "hide-title": e.hideTitle,
5344
5347
  "onCopy:success": d[0] || (d[0] = (f) => u.$emit("copy:success", f)),
@@ -5386,7 +5389,7 @@ const Zl = {
5386
5389
  })
5387
5390
  ]),
5388
5391
  tls_verify: y((f) => [
5389
- J(V(typeof m(o)("rowValue", f) == "boolean" ? n("rowValue", f) : m(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5392
+ J(V(typeof m(o)("rowValue", f) == "boolean" ? l("rowValue", f) : m(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5390
5393
  ]),
5391
5394
  client_certificate: y((f) => [
5392
5395
  J(V(m(o)("rowValue", f) ? m(o)("rowValue", f).id : "–"), 1)