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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as h, createBlock as P, Teleport as ii, createVNode as C, withCtx as y, unref as m, createTextVNode as G, 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";
1
+ import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as h, createBlock as P, Teleport as ii, createVNode as S, withCtx as y, unref as m, createTextVNode as J, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Fe, withDirectives as Ue, vShow as Re, useCssVars as ra, resolveDynamicComponent as Ne, normalizeProps as oa, guardReactiveProps as la, mergeProps as ut, onMounted as ai, onUnmounted as na, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as li, reactive as $t } from "vue";
2
2
  import { useRouter as ht } from "vue-router";
3
- import { createI18n as bt, i18nTComponent as li } from "@kong-ui-public/i18n";
3
+ import { createI18n as bt, i18nTComponent as ni } from "@kong-ui-public/i18n";
4
4
  import ca from "axios";
5
- import { BadgeMethodAppearances as ua } from "@kong/kongponents";
5
+ import { MethodsArray as ua } from "@kong/kongponents";
6
6
  const da = {
7
7
  create: "New Gateway Service",
8
8
  copy_id: "Copy ID",
@@ -183,7 +183,7 @@ function ha() {
183
183
  const e = bt("en-us", va);
184
184
  return {
185
185
  i18n: e,
186
- i18nT: li(e)
186
+ i18nT: ni(e)
187
187
  // Translation component <i18n-t>
188
188
  };
189
189
  }
@@ -256,7 +256,7 @@ function wa() {
256
256
  }
257
257
  };
258
258
  }
259
- const nt = "khcp-user-table-preferences", _a = {
259
+ const lt = "khcp-user-table-preferences", _a = {
260
260
  pageSize: 30,
261
261
  sortColumnKey: void 0,
262
262
  sortColumnOrder: void 0
@@ -271,14 +271,14 @@ function ka() {
271
271
  return;
272
272
  }
273
273
  }, i = () => {
274
- const t = e(localStorage.getItem(nt));
274
+ const t = e(localStorage.getItem(lt));
275
275
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
276
276
  };
277
277
  return {
278
278
  setTablePreferences: (t, a) => {
279
279
  try {
280
280
  const r = i();
281
- r.set(t, a), localStorage.setItem(nt, JSON.stringify(Object.fromEntries(r.entries())));
281
+ r.set(t, a), localStorage.setItem(lt, JSON.stringify(Object.fromEntries(r.entries())));
282
282
  } catch (r) {
283
283
  console.error("useTablePreferences(setTablePreferences)", r);
284
284
  }
@@ -288,7 +288,7 @@ function ka() {
288
288
  return (a == null ? void 0 : a.get(t)) || void 0 || _a;
289
289
  },
290
290
  deleteAllTablePreferences: () => {
291
- localStorage.removeItem(nt);
291
+ localStorage.removeItem(lt);
292
292
  }
293
293
  };
294
294
  }
@@ -368,7 +368,7 @@ const Ca = {
368
368
  }, Ma = {
369
369
  unexpected: "An unexpected error has occurred",
370
370
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
371
- }, ja = {
371
+ }, Ea = {
372
372
  enable: {
373
373
  title: "Enable {entityType}",
374
374
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -379,7 +379,7 @@ const Ca = {
379
379
  message: "Are you sure you want to disable the {entityType} {entityName}?",
380
380
  confirmText: "Yes, disable"
381
381
  }
382
- }, Ea = {
382
+ }, ja = {
383
383
  global: Ca,
384
384
  deleteModal: Sa,
385
385
  baseForm: Ia,
@@ -388,13 +388,13 @@ const Ca = {
388
388
  filter: Ta,
389
389
  debouncedFilter: $a,
390
390
  errors: Ma,
391
- toggleModal: ja
391
+ toggleModal: Ea
392
392
  };
393
393
  function _t() {
394
- const e = bt("en-us", Ea);
394
+ const e = bt("en-us", ja);
395
395
  return {
396
396
  i18n: e,
397
- i18nT: li(e)
397
+ i18nT: ni(e)
398
398
  // Translation component <i18n-t>
399
399
  };
400
400
  }
@@ -404,8 +404,8 @@ function ci() {
404
404
  return !1;
405
405
  const r = /* @__PURE__ */ new Set([...t, ...a]);
406
406
  for (const o of r) {
407
- const l = t.filter((u) => u === o).length, n = a.filter((u) => u === o).length;
408
- if (l !== n)
407
+ const n = t.filter((u) => u === o).length, l = a.filter((u) => u === o).length;
408
+ if (n !== l)
409
409
  return !1;
410
410
  }
411
411
  return !0;
@@ -436,8 +436,8 @@ function ci() {
436
436
  }
437
437
  },
438
438
  sortAlpha: (t) => (a, r) => {
439
- let o = a[t] === void 0 || a[t] === null ? "" : a[t], l = r[t] === void 0 || r[t] === null ? "" : r[t];
440
- return Array.isArray(a[t]) && (o = a[t][0]), Array.isArray(r[t]) && (l = r[t][0]), o.localeCompare(l);
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);
441
441
  },
442
442
  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
443
  };
@@ -449,43 +449,43 @@ function Oa(e, i, t, a = {
449
449
  t || (t = "100");
450
450
  const { axiosInstance: r } = wt({
451
451
  headers: e.requestHeaders
452
- }), { i18n: { t: o } } = _t(), { debounce: l } = wa(), n = l(async (x) => {
453
- await E(x);
454
- }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), b = N(void 0), S = m(i);
455
- let k = `${e.apiBaseUrl}${S}`;
452
+ }), { i18n: { t: o } } = _t(), { debounce: n } = wa(), l = n(async (C) => {
453
+ await j(C);
454
+ }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), b = N(void 0), I = m(i);
455
+ let k = `${e.apiBaseUrl}${I}`;
456
456
  e.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
457
457
  const { isValidUuid: v } = ci(), $ = async () => {
458
458
  try {
459
459
  u.value = !0;
460
- const { data: 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;
460
+ const { data: C } = await r.get(`${k}?size=${t}`);
461
+ C != null && C.next || (b.value = a.fetchedItemsKey in C ? C[a.fetchedItemsKey] : []), w.value = a.fetchedItemsKey in C ? C[a.fetchedItemsKey] : [], p.value = w.value;
462
462
  } catch {
463
463
  p.value = [], d.value = o("debouncedFilter.errors.fetch");
464
464
  } finally {
465
465
  u.value = !1;
466
466
  }
467
- }, s = N(""), E = async (x) => {
467
+ }, s = N(""), j = async (C) => {
468
468
  var B, re, W;
469
- if (s.value !== x)
470
- if (s.value = x || "", b.value === void 0)
469
+ if (s.value !== C)
470
+ if (s.value = C || "", b.value === void 0)
471
471
  try {
472
472
  if (u.value = !0, d.value = "", f.value = "", e.app === "konnect") {
473
- let A = k + "";
474
- x && (A += `/${x}`);
475
- const { data: q } = await r.get(`${A}?size=${t}`);
473
+ let x = k + "";
474
+ C && (x += `/${C}`);
475
+ const { data: q } = await r.get(`${x}?size=${t}`);
476
476
  a.fetchedItemsKey in q ? p.value = q[a.fetchedItemsKey] : q != null && q.id ? p.value = [q] : p.value = [];
477
- } else if (x) {
478
- const A = [];
479
- v(x) && a.searchKeys.includes("id") ? A.push((async () => {
480
- const { data: K } = await r.get(`${k}/${x}`);
477
+ } else if (C) {
478
+ const x = [];
479
+ v(C) && a.searchKeys.includes("id") ? x.push((async () => {
480
+ const { data: K } = await r.get(`${k}/${C}`);
481
481
  return [K[a.fetchedItemsKey] ?? K];
482
- })()) : A.push(
482
+ })()) : x.push(
483
483
  ...a.searchKeys.filter((K) => K !== "id").map(async (K) => {
484
- const { data: H } = await r.get(`${k}?${K}=${x}`);
484
+ const { data: H } = await r.get(`${k}?${K}=${C}`);
485
485
  return H[a.fetchedItemsKey];
486
486
  })
487
487
  );
488
- const q = await Promise.all(A), U = /* @__PURE__ */ new Set();
488
+ const q = await Promise.all(x), U = /* @__PURE__ */ new Set();
489
489
  p.value = [], (B = q == null ? void 0 : q.forEach) == null || B.call(q, (K) => {
490
490
  var H;
491
491
  (H = K == null ? void 0 : K.forEach) == null || H.call(K, (R) => {
@@ -494,18 +494,18 @@ function Oa(e, i, t, a = {
494
494
  });
495
495
  } else
496
496
  p.value = w.value;
497
- } catch (A) {
498
- ((re = A == null ? void 0 : A.response) == null ? void 0 : re.status) === 404 ? f.value = o("debouncedFilter.errors.invalid") : (p.value = [], d.value = o("debouncedFilter.errors.fetch"));
497
+ } catch (x) {
498
+ ((re = x == null ? void 0 : x.response) == null ? void 0 : re.status) === 404 ? f.value = o("debouncedFilter.errors.invalid") : (p.value = [], d.value = o("debouncedFilter.errors.fetch"));
499
499
  } finally {
500
500
  u.value = !1;
501
501
  }
502
502
  else
503
- u.value = !0, f.value = "", x ? (p.value = (W = b.value) == null ? void 0 : W.filter((A) => {
503
+ u.value = !0, f.value = "", C ? (p.value = (W = b.value) == null ? void 0 : W.filter((x) => {
504
504
  var q;
505
505
  let U = !1;
506
506
  for (const K of a.searchKeys) {
507
- const H = typeof A[K] == "string" ? (q = A[K]) == null ? void 0 : q.toLowerCase() : A[K];
508
- H != null && H.includes(x.toLowerCase()) && (U = !0);
507
+ const H = typeof x[K] == "string" ? (q = x[K]) == null ? void 0 : q.toLowerCase() : x[K];
508
+ H != null && H.includes(C.toLowerCase()) && (U = !0);
509
509
  }
510
510
  return U;
511
511
  }), (!p.value || !p.value.length) && (f.value = o("debouncedFilter.errors.invalid"))) : p.value = b.value, u.value = !1;
@@ -517,7 +517,7 @@ function Oa(e, i, t, a = {
517
517
  results: p,
518
518
  allRecords: b,
519
519
  loadItems: $,
520
- debouncedQueryChange: n
520
+ debouncedQueryChange: l
521
521
  };
522
522
  }
523
523
  function Va(e, i) {
@@ -538,8 +538,8 @@ function Fa() {
538
538
  return i.response.data.detail;
539
539
  if ((a = i.response.data.details) != null && a.length)
540
540
  return i.response.data.details.map((o) => {
541
- let l = e("errors.unexpected");
542
- return o.messages && typeof o.messages == "object" && o.messages.length && (l = o.messages.join(", ")), o.field ? `${o.field} - ${l}` : l;
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;
543
543
  }).join("; ");
544
544
  if (i.response.data.message) {
545
545
  const { message: o } = i.response.data;
@@ -557,7 +557,7 @@ function Fa() {
557
557
  function Na(e) {
558
558
  const i = window.location.origin, t = i.endsWith("/") ? i : `${i}/`;
559
559
  try {
560
- const a = e.join("/"), r = `${t}${a}`, o = e.some((l) => l.trim() === "");
560
+ const a = e.join("/"), r = `${t}${a}`, o = e.some((n) => n.trim() === "");
561
561
  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
562
  return `${t}${a}`;
563
563
  throw new Error("Invalid url");
@@ -571,13 +571,13 @@ function ui(e, i) {
571
571
  ), o = T(
572
572
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
573
573
  );
574
- return (l) => {
575
- const { page: n, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: w } = l;
574
+ return (n) => {
575
+ const { page: l, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: w } = n;
576
576
  try {
577
577
  let b = new URL(o.value.href);
578
- return r.value && w ? (b.search = "", b = new URL(`${b.href}?filter[name][contains]=${w}`)) : (r.value || new URLSearchParams(w).forEach((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 && n !== 1 && b.searchParams.append("offset", String(d)), b.href;
578
+ return r.value && w ? (b.search = "", b = new URL(`${b.href}?filter[name][contains]=${w}`)) : (r.value || new URLSearchParams(w).forEach((I, k) => {
579
+ b.searchParams.append(k, I);
580
+ }), f && b.searchParams.append("sort_by", f), p === "desc" && b.searchParams.append("sort_desc", "1"), b.searchParams.append("size", String(u))), d && l !== 1 && b.searchParams.append("offset", String(d)), b.href;
581
581
  } catch (b) {
582
582
  return console.error("RouteList(fetcher)", b), a.value;
583
583
  }
@@ -586,13 +586,13 @@ function ui(e, i) {
586
586
  function Ka(e, i, t = "data") {
587
587
  const a = m(i), { axiosInstance: r } = wt({
588
588
  headers: e.requestHeaders
589
- }), o = ui(e, a), l = N({
589
+ }), o = ui(e, a), n = N({
590
590
  status: Ae.Idle
591
591
  });
592
- return { fetcher: async (n) => {
592
+ return { fetcher: async (l) => {
593
593
  try {
594
- l.value = { status: Ae.Loading };
595
- const u = o(n), { data: d } = await r.get(u), f = t && t.replace(/[^\w-_]/gi, "");
594
+ n.value = { status: Ae.Loading };
595
+ const u = o(l), { data: d } = await r.get(u), f = t && t.replace(/[^\w-_]/gi, "");
596
596
  let p;
597
597
  d[f] && Array.isArray(d[f]) ? p = d[f] : Array.isArray(d) ? p = d : p = Object.keys(d).length ? [d] : [];
598
598
  const w = {
@@ -604,7 +604,7 @@ function Ka(e, i, t = "data") {
604
604
  }
605
605
  } : null
606
606
  };
607
- return l.value = {
607
+ return n.value = {
608
608
  status: Ae.Idle,
609
609
  response: w
610
610
  }, w;
@@ -613,17 +613,17 @@ function Ka(e, i, t = "data") {
613
613
  data: [],
614
614
  total: 0
615
615
  };
616
- return n.query && u.response.status === 404 ? (l.value = {
616
+ return l.query && u.response.status === 404 ? (n.value = {
617
617
  status: Ae.NoResults,
618
618
  response: d,
619
619
  error: u
620
- }, d) : (l.value = {
620
+ }, d) : (n.value = {
621
621
  status: Ae.Error,
622
622
  response: d,
623
623
  error: u
624
624
  }, d);
625
625
  }
626
- }, fetcherState: l };
626
+ }, fetcherState: n };
627
627
  }
628
628
  function La() {
629
629
  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;
@@ -639,13 +639,13 @@ const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
639
639
  if (!i)
640
640
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
641
641
  return i.shift(), i;
642
- }, jt = (e) => e === "*" || e === "x" || e === "X", Et = (e) => {
642
+ }, Et = (e) => e === "*" || e === "x" || e === "X", jt = (e) => {
643
643
  const i = parseInt(e, 10);
644
644
  return isNaN(i) ? e : i;
645
645
  }, qa = (e, i) => typeof e != typeof i ? [String(e), String(i)] : [e, i], Ba = (e, i) => {
646
- if (jt(e) || jt(i))
646
+ if (Et(e) || Et(i))
647
647
  return 0;
648
- const [t, a] = qa(Et(e), Et(i));
648
+ const [t, a] = qa(jt(e), jt(i));
649
649
  return t > a ? 1 : t < a ? -1 : 0;
650
650
  }, Ot = (e, i) => {
651
651
  for (let t = 0; t < Math.max(e.length, i.length); t++) {
@@ -655,8 +655,8 @@ const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
655
655
  }
656
656
  return 0;
657
657
  }, Pa = (e, i) => {
658
- const t = Mt(e), a = Mt(i), r = t.pop(), o = a.pop(), l = Ot(t, a);
659
- return l !== 0 ? l : r && o ? Ot(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
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;
660
660
  }, Vt = (e, i, t) => {
661
661
  Ua(t);
662
662
  const a = Pa(e, i);
@@ -684,8 +684,8 @@ function Da(e) {
684
684
  const o = t[a];
685
685
  if (!o)
686
686
  return !1;
687
- const [l, n] = o;
688
- return !(l && Vt(r, l, "<") || n && Vt(r, n, ">"));
687
+ const [n, l] = o;
688
+ return !(n && Vt(r, n, "<") || l && Vt(r, l, ">"));
689
689
  }
690
690
  function Ha(e) {
691
691
  const i = N(0), t = N(0), a = N(!1);
@@ -695,7 +695,7 @@ function Ha(e) {
695
695
  isTruncated: T(() => i.value < t.value)
696
696
  };
697
697
  }
698
- const le = {
698
+ const ne = {
699
699
  useAxios: wt,
700
700
  useDebouncedFilter: Oa,
701
701
  useDeleteUrlBuilder: Va,
@@ -714,15 +714,15 @@ const le = {
714
714
  prefix: "Successfully",
715
715
  content: " copied to clipboard"
716
716
  }
717
- }, Ga = "Copy to clipboard", Ja = {
717
+ }, Ja = "Copy to clipboard", Ga = {
718
718
  message: za,
719
- iconTitle: Ga
719
+ iconTitle: Ja
720
720
  }, Wa = "kong-ui-copy-uuid-notify", Nt = "24px", Ya = (e, i) => {
721
721
  const t = e.__vccOpts || e;
722
722
  for (const [a, r] of i)
723
723
  t[a] = r;
724
724
  return t;
725
- }, Za = (e) => (oi("data-v-77afb926"), e = e(), ni(), e), Qa = ["aria-hidden"], Xa = {
725
+ }, Za = (e) => (oi("data-v-641e0aee"), e = e(), li(), e), Qa = ["aria-hidden"], Xa = {
726
726
  key: 0,
727
727
  "data-testid": "kui-icon-svg-title"
728
728
  }, er = /* @__PURE__ */ Za(() => /* @__PURE__ */ F("path", {
@@ -821,7 +821,7 @@ const le = {
821
821
  _: 1
822
822
  }, 8, ["aria-hidden", "style"]));
823
823
  }
824
- }), ir = /* @__PURE__ */ Ya(tr, [["__scopeId", "data-v-77afb926"]]), ar = "16px", rr = { class: "kong-ui-copy-uuid" }, or = ["onClick"], Kt = 15, nr = /* @__PURE__ */ ae({
824
+ }), ir = /* @__PURE__ */ Ya(tr, [["__scopeId", "data-v-641e0aee"]]), ar = "16px", rr = { class: "kong-ui-copy-uuid" }, or = ["onClick"], Kt = 15, lr = /* @__PURE__ */ ae({
825
825
  __name: "CopyUuid",
826
826
  props: {
827
827
  uuid: {
@@ -865,15 +865,15 @@ const le = {
865
865
  },
866
866
  emits: ["success", "error"],
867
867
  setup(e, { emit: i }) {
868
- const t = e, { t: a } = bt("en-us", Ja), r = t.notify || sa(Wa, () => {
868
+ const t = e, { t: a } = bt("en-us", Ga), r = t.notify || sa(Wa, () => {
869
869
  }), o = T(() => t.idTooltip ? {
870
870
  label: t.idTooltip,
871
871
  positionFixed: !0,
872
872
  placement: "bottomStart"
873
873
  } : {
874
874
  title: t.uuid
875
- }), l = T(() => !!(t.tooltip && t.successTooltip)), n = N(t.tooltip), u = T(() => t.tooltip ? {
876
- label: n.value,
875
+ }), n = T(() => !!(t.tooltip && t.successTooltip)), l = N(t.tooltip), u = T(() => t.tooltip ? {
876
+ label: l.value,
877
877
  positionFixed: !0,
878
878
  maxWidth: "500px",
879
879
  placement: "bottomStart"
@@ -881,26 +881,26 @@ const le = {
881
881
  var w;
882
882
  return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(w = t.uuid) == null ? void 0 : w.substring(0, 5)}` : t.uuid;
883
883
  }), f = (w) => {
884
- n.value = w, setTimeout(() => {
885
- n.value = t.tooltip;
884
+ l.value = w, setTimeout(() => {
885
+ l.value = t.tooltip;
886
886
  }, 1800);
887
887
  }, p = (w) => {
888
- var b, S;
888
+ var b, I;
889
889
  if (!w(t.uuid)) {
890
890
  typeof r == "function" && r({
891
891
  type: "error",
892
892
  message: a("message.fail")
893
- }), l.value ? f(a("message.fail")) : i("error", t.uuid);
893
+ }), n.value ? f(a("message.fail")) : i("error", t.uuid);
894
894
  return;
895
895
  }
896
- const k = ((b = t.uuid) == null ? void 0 : b.length) > Kt, v = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((S = t.uuid) == null ? void 0 : S.substring(0, Kt)) + (k ? "..." : "")}"`;
896
+ const k = ((b = t.uuid) == null ? void 0 : b.length) > Kt, v = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, Kt)) + (k ? "..." : "")}"`;
897
897
  typeof r == "function" && r({
898
898
  type: "success",
899
899
  message: `${v}${a("message.success.content")}`
900
- }), l.value ? f(t.successTooltip) : i("success", t.uuid);
900
+ }), n.value ? f(t.successTooltip) : i("success", t.uuid);
901
901
  };
902
902
  return (w, b) => {
903
- const S = L("KClipboardProvider");
903
+ const I = L("KClipboardProvider");
904
904
  return h(), M("div", rr, [
905
905
  e.format !== "hidden" ? (h(), P(Ne(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
906
906
  default: y(() => [
@@ -916,7 +916,7 @@ const le = {
916
916
  }, 16)) : D("", !0),
917
917
  (h(), P(Ne(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
918
918
  default: y(() => [
919
- C(S, null, {
919
+ S(I, null, {
920
920
  default: y(({ copyToClipboard: k }) => [
921
921
  F("span", {
922
922
  "data-testid": "copy-to-clipboard",
@@ -924,7 +924,7 @@ const le = {
924
924
  tabindex: "0",
925
925
  onClick: Fe((v) => p(k), ["stop"])
926
926
  }, [
927
- C(m(ir), {
927
+ S(m(ir), {
928
928
  class: "uuid-icon",
929
929
  color: e.iconColor,
930
930
  decorative: !!e.tooltip,
@@ -941,12 +941,12 @@ const le = {
941
941
  ]);
942
942
  };
943
943
  }
944
- }), lr = (e, i) => {
944
+ }), nr = (e, i) => {
945
945
  const t = e.__vccOpts || e;
946
946
  for (const [a, r] of i)
947
947
  t[a] = r;
948
948
  return t;
949
- }, fi = /* @__PURE__ */ lr(nr, [["__scopeId", "data-v-0c07874b"]]), sr = {
949
+ }, fi = /* @__PURE__ */ nr(lr, [["__scopeId", "data-v-0c07874b"]]), sr = {
950
950
  key: 0,
951
951
  class: "config-card-fieldset-title"
952
952
  }, cr = /* @__PURE__ */ ae({
@@ -966,10 +966,10 @@ const le = {
966
966
  }
967
967
  },
968
968
  setup(e) {
969
- 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(() => {
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(() => {
970
970
  const u = JSON.parse(JSON.stringify(o.value));
971
971
  return i.isArrayItem && delete u.name, u;
972
- }), n = T(() => {
972
+ }), l = T(() => {
973
973
  var u;
974
974
  return i.isArrayItem ? (u = o.value) != null && u.name ? a(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: i.index }) : "";
975
975
  });
@@ -978,14 +978,14 @@ const le = {
978
978
  }, {
979
979
  default: y(() => [
980
980
  e.isArrayItem ? (h(), M("legend", sr, [
981
- F("b", null, V(n.value), 1)
981
+ F("b", null, V(l.value), 1)
982
982
  ])) : D("", !0),
983
- (h(!0), M(ye, null, ge(Object.keys(l.value), (f, p) => (h(), P(kt, {
983
+ (h(!0), M(ye, null, ge(Object.keys(n.value), (f, p) => (h(), P(kt, {
984
984
  key: `${r.value}-property-${p}`,
985
985
  item: {
986
986
  key: f,
987
987
  label: m(a)(f),
988
- value: l.value[f]
988
+ value: n.value[f]
989
989
  }
990
990
  }, null, 8, ["item"]))), 128))
991
991
  ]),
@@ -1007,17 +1007,17 @@ const le = {
1007
1007
  },
1008
1008
  emits: ["navigation-click"],
1009
1009
  setup(e) {
1010
- const { i18n: { t: i } } = le.useI18n();
1010
+ const { i18n: { t: i } } = ne.useI18n();
1011
1011
  return (t, a) => {
1012
1012
  const r = L("KButton");
1013
1013
  return h(), M("div", null, [
1014
- C(r, {
1014
+ S(r, {
1015
1015
  appearance: "tertiary",
1016
1016
  class: "navigation-button",
1017
1017
  onClick: a[0] || (a[0] = (o) => t.$emit("navigation-click", e.item))
1018
1018
  }, {
1019
1019
  default: y(() => [
1020
- G(V(e.item.value || m(i)("baseConfigCard.commonFields.link")), 1)
1020
+ J(V(e.item.value || m(i)("baseConfigCard.commonFields.link")), 1)
1021
1021
  ]),
1022
1022
  _: 1
1023
1023
  })
@@ -1033,14 +1033,14 @@ const le = {
1033
1033
  }
1034
1034
  },
1035
1035
  setup(e) {
1036
- const { i18n: { t: i } } = le.useI18n();
1036
+ const { i18n: { t: i } } = ne.useI18n();
1037
1037
  return (t, a) => {
1038
1038
  const r = L("KBadge");
1039
1039
  return h(), P(r, {
1040
1040
  appearance: e.status ? "success" : "neutral"
1041
1041
  }, {
1042
1042
  default: y(() => [
1043
- G(V(e.status ? m(i)("baseConfigCard.statusBadge.enabledLabel") : m(i)("baseConfigCard.statusBadge.disabledLabel")), 1)
1043
+ J(V(e.status ? m(i)("baseConfigCard.statusBadge.enabledLabel") : m(i)("baseConfigCard.statusBadge.disabledLabel")), 1)
1044
1044
  ]),
1045
1045
  _: 1
1046
1046
  }, 8, ["appearance"]);
@@ -1071,12 +1071,12 @@ const le = {
1071
1071
  setup(e, { emit: i }) {
1072
1072
  const t = e;
1073
1073
  ra((b) => ({
1074
- "0fea14db": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
- "1cf0460e": u.value && l.value ? "block" : "flex",
1076
- "328cca12": u.value && l.value ? "100%" : t.slim ? "50%" : "25%",
1077
- "328f0fed": u.value && l.value ? "100%" : t.slim ? "50%" : "75%"
1074
+ "23f3018c": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
+ "3815ec6d": u.value && n.value ? "block" : "flex",
1076
+ "1957f153": u.value && n.value ? "100%" : t.slim ? "50%" : "25%",
1077
+ "195a372e": u.value && n.value ? "100%" : t.slim ? "50%" : "75%"
1078
1078
  }));
1079
- 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(() => {
1079
+ const a = it(), { i18n: { t: r, formatUnixTimeStamp: o } } = ne.useI18n(), n = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = T(() => !!(t.item.tooltip || a["label-tooltip"])), u = T(() => t.item.type === ee.Json || t.item.type === ee.JsonArray), d = T(() => t.item.type === ee.JsonArray), f = T(() => {
1080
1080
  switch (t.item.type) {
1081
1081
  case ee.ID:
1082
1082
  return {
@@ -1202,29 +1202,29 @@ const le = {
1202
1202
  text: t.item.value
1203
1203
  };
1204
1204
  }
1205
- }), p = N(), { isTruncated: w } = le.useTruncationDetector(p);
1206
- return (b, S) => {
1207
- const k = L("KLabel"), v = L("KBadge"), $ = L("KTooltip");
1205
+ }), p = N(), { isTruncated: w } = ne.useTruncationDetector(p);
1206
+ return (b, I) => {
1207
+ const k = L("KLabel"), v = L("KBadge"), $ = L("KMethodBadge"), s = L("KTooltip");
1208
1208
  return h(), M("div", hr, [
1209
1209
  F("div", {
1210
1210
  class: "config-card-details-label",
1211
1211
  "data-testid": `${e.item.key}-label`
1212
1212
  }, [
1213
1213
  Z(b.$slots, "label", { item: e.item }, () => [
1214
- C(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1214
+ S(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1215
1215
  default: y(() => [
1216
- G(V(e.item.label) + " ", 1)
1216
+ J(V(e.item.label) + " ", 1)
1217
1217
  ]),
1218
1218
  _: 2
1219
1219
  }, [
1220
- n.value ? {
1220
+ l.value ? {
1221
1221
  name: "tooltip",
1222
1222
  fn: y(() => [
1223
1223
  F("div", {
1224
1224
  "data-testid": `${e.item.key}-label-tooltip`
1225
1225
  }, [
1226
1226
  Z(b.$slots, "label-tooltip", {}, () => [
1227
- G(V(e.item.tooltip), 1)
1227
+ J(V(e.item.tooltip), 1)
1228
1228
  ], !0)
1229
1229
  ], 8, wr)
1230
1230
  ]),
@@ -1240,64 +1240,65 @@ const le = {
1240
1240
  Z(b.$slots, e.item.key, {
1241
1241
  rowValue: e.item.value
1242
1242
  }, () => [
1243
- l.value ? (h(), M("div", Cr, [
1244
- (h(), P(Ne(f.value.tag), oa(na(f.value.attrs)), {
1243
+ n.value ? (h(), M("div", Cr, [
1244
+ (h(), P(Ne(f.value.tag), oa(la(f.value.attrs)), {
1245
1245
  default: y(() => [
1246
1246
  f.value.additionalComponent === "KBadge" ? (h(), M("div", {
1247
1247
  key: 0,
1248
1248
  "data-testid": `${e.item.key}-badge-tags`
1249
1249
  }, [
1250
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1251
- key: `${e.item.key}-badge-tag-${E}`,
1250
+ (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(v, {
1251
+ key: `${e.item.key}-badge-tag-${C}`,
1252
1252
  class: "config-badge",
1253
- "data-testid": `${e.item.key}-badge-tag-${E}`,
1254
- tooltip: s,
1255
- "truncation-tooltip": ""
1253
+ "data-testid": `${e.item.key}-badge-tag-${C}`,
1254
+ "truncation-tooltip": j
1256
1255
  }, {
1257
1256
  default: y(() => [
1258
- G(V(s), 1)
1257
+ J(V(j), 1)
1259
1258
  ]),
1260
1259
  _: 2
1261
- }, 1032, ["data-testid", "tooltip"]))), 128))
1260
+ }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1262
1261
  ], 8, Sr)) : D("", !0),
1263
1262
  f.value.additionalComponent === "CopyUuid" ? (h(), M("div", {
1264
1263
  key: 1,
1265
1264
  class: "copy-uuid-array",
1266
1265
  "data-testid": `${e.item.key}-copy-uuid-array`
1267
1266
  }, [
1268
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(m(fi), ut(f.value.childAttrs, {
1269
- key: `${e.item.key}-copy-uuid-${E}`,
1270
- "data-testid": `${e.item.key}-copy-uuid-${E}`,
1271
- uuid: s
1267
+ (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(m(fi), ut(f.value.childAttrs, {
1268
+ key: `${e.item.key}-copy-uuid-${C}`,
1269
+ "data-testid": `${e.item.key}-copy-uuid-${C}`,
1270
+ uuid: j
1272
1271
  }), null, 16, ["data-testid", "uuid"]))), 128))
1273
1272
  ], 8, Ir)) : f.value.additionalComponent === "KMethodBadge" ? (h(), M("div", {
1274
1273
  key: 2,
1275
1274
  class: "method-badge-array",
1276
1275
  "data-testid": `${e.item.key}-badge-methods`
1277
1276
  }, [
1278
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1279
- key: `${e.item.key}-badge-method-${E}`,
1280
- appearance: Object.values(m(ua)).includes(s.toLowerCase()) ? s.toLowerCase() : "custom",
1277
+ (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P($, {
1278
+ key: `${e.item.key}-badge-method-${C}`,
1281
1279
  class: "config-badge",
1282
- "data-testid": `${e.item.key}-badge-method-${E}`
1280
+ "data-testid": `${e.item.key}-badge-method-${C}`,
1281
+ "is-rounded": "",
1282
+ label: j,
1283
+ method: m(ua).includes(j.toLowerCase()) ? j.toLowerCase() : "custom"
1283
1284
  }, {
1284
1285
  default: y(() => [
1285
- G(V(s), 1)
1286
+ J(V(j), 1)
1286
1287
  ]),
1287
1288
  _: 2
1288
- }, 1032, ["appearance", "data-testid"]))), 128))
1289
+ }, 1032, ["data-testid", "label", "method"]))), 128))
1289
1290
  ], 8, Ar)) : D("", !0),
1290
1291
  f.value.additionalComponent === "JsonCardItem" ? (h(), M("div", {
1291
1292
  key: 3,
1292
1293
  "data-testid": `${t.item.key}-json-array-content`
1293
1294
  }, [
1294
- (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(mi, {
1295
- key: `json-array-item-${E}`,
1296
- index: E,
1295
+ (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(mi, {
1296
+ key: `json-array-item-${C}`,
1297
+ index: C,
1297
1298
  "is-array-item": "",
1298
- item: s
1299
+ item: j
1299
1300
  }, null, 8, ["index", "item"]))), 128))
1300
- ], 8, xr)) : (h(), P($, {
1301
+ ], 8, xr)) : (h(), P(s, {
1301
1302
  key: 4,
1302
1303
  label: m(w) ? e.item.value : ""
1303
1304
  }, {
@@ -1322,7 +1323,7 @@ const le = {
1322
1323
  ]);
1323
1324
  };
1324
1325
  }
1325
- }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-4c7d8cc3"]]);
1326
+ }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-e851fc7c"]]);
1326
1327
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1327
1328
  function gi(e) {
1328
1329
  return typeof e > "u" || e === null;
@@ -1330,10 +1331,10 @@ function gi(e) {
1330
1331
  function Mr(e) {
1331
1332
  return typeof e == "object" && e !== null;
1332
1333
  }
1333
- function jr(e) {
1334
+ function Er(e) {
1334
1335
  return Array.isArray(e) ? e : gi(e) ? [] : [e];
1335
1336
  }
1336
- function Er(e, i) {
1337
+ function jr(e, i) {
1337
1338
  var t, a, r, o;
1338
1339
  if (i)
1339
1340
  for (o = Object.keys(i), t = 0, a = o.length; t < a; t += 1)
@@ -1349,7 +1350,7 @@ function Or(e, i) {
1349
1350
  function Vr(e) {
1350
1351
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1351
1352
  }
1352
- var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, ne = {
1353
+ var Fr = gi, Nr = Mr, Kr = Er, Lr = Or, qr = Vr, Br = jr, le = {
1353
1354
  isNothing: Fr,
1354
1355
  isObject: Nr,
1355
1356
  toArray: Kr,
@@ -1372,46 +1373,46 @@ He.prototype.toString = function(e) {
1372
1373
  return this.name + ": " + yi(this, e);
1373
1374
  };
1374
1375
  var fe = He;
1375
- function lt(e, i, t, a, r) {
1376
- var o = "", l = "", n = Math.floor(r / 2) - 1;
1377
- return a - i > n && (o = " ... ", i = a - n + o.length), t - a > n && (l = " ...", t = a + n - l.length), {
1378
- str: o + e.slice(i, t).replace(/\t/g, "→") + l,
1376
+ function nt(e, i, t, a, r) {
1377
+ var o = "", n = "", l = Math.floor(r / 2) - 1;
1378
+ return a - i > l && (o = " ... ", i = a - l + o.length), t - a > l && (n = " ...", t = a + l - n.length), {
1379
+ str: o + e.slice(i, t).replace(/\t/g, "→") + n,
1379
1380
  pos: a - i + o.length
1380
1381
  // relative position
1381
1382
  };
1382
1383
  }
1383
1384
  function st(e, i) {
1384
- return ne.repeat(" ", i - e.length) + e;
1385
+ return le.repeat(" ", i - e.length) + e;
1385
1386
  }
1386
1387
  function Pr(e, i) {
1387
1388
  if (i = Object.create(i || null), !e.buffer)
1388
1389
  return null;
1389
1390
  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, l = -1; o = t.exec(e.buffer); )
1391
- r.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && l < 0 && (l = a.length - 2);
1392
- l < 0 && (l = a.length - 1);
1393
- var n = "", 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 && !(l - u < 0); u++)
1395
- d = lt(
1391
+ for (var t = /\r?\n|\r|\0/g, a = [0], r = [], o, n = -1; o = t.exec(e.buffer); )
1392
+ r.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && n < 0 && (n = a.length - 2);
1393
+ n < 0 && (n = a.length - 1);
1394
+ var l = "", u, d, f = Math.min(e.line + i.linesAfter, r.length).toString().length, p = i.maxLength - (i.indent + f + 3);
1395
+ for (u = 1; u <= i.linesBefore && !(n - u < 0); u++)
1396
+ d = nt(
1396
1397
  e.buffer,
1397
- a[l - u],
1398
- r[l - u],
1399
- e.position - (a[l] - a[l - u]),
1398
+ a[n - u],
1399
+ r[n - u],
1400
+ e.position - (a[n] - a[n - u]),
1400
1401
  p
1401
- ), n = ne.repeat(" ", i.indent) + st((e.line - u + 1).toString(), f) + " | " + d.str + `
1402
- ` + n;
1403
- 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 + `
1404
- `, n += ne.repeat("-", i.indent + f + 3 + d.pos) + `^
1405
- `, u = 1; u <= i.linesAfter && !(l + u >= r.length); u++)
1406
- d = lt(
1402
+ ), l = le.repeat(" ", i.indent) + st((e.line - u + 1).toString(), f) + " | " + d.str + `
1403
+ ` + l;
1404
+ 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 + `
1405
+ `, l += le.repeat("-", i.indent + f + 3 + d.pos) + `^
1406
+ `, u = 1; u <= i.linesAfter && !(n + u >= r.length); u++)
1407
+ d = nt(
1407
1408
  e.buffer,
1408
- a[l + u],
1409
- r[l + u],
1410
- e.position - (a[l] - a[l + u]),
1409
+ a[n + u],
1410
+ r[n + u],
1411
+ e.position - (a[n] - a[n + u]),
1411
1412
  p
1412
- ), n += ne.repeat(" ", i.indent) + st((e.line + u + 1).toString(), f) + " | " + d.str + `
1413
+ ), l += le.repeat(" ", i.indent) + st((e.line + u + 1).toString(), f) + " | " + d.str + `
1413
1414
  `;
1414
- return n.replace(/\n$/, "");
1415
+ return l.replace(/\n$/, "");
1415
1416
  }
1416
1417
  var Ur = Pr, Rr = [
1417
1418
  "kind",
@@ -1453,12 +1454,12 @@ function Lt(e, i) {
1453
1454
  var t = [];
1454
1455
  return e[i].forEach(function(a) {
1455
1456
  var r = t.length;
1456
- t.forEach(function(o, l) {
1457
- o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (r = l);
1457
+ t.forEach(function(o, n) {
1458
+ o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (r = n);
1458
1459
  }), t[r] = a;
1459
1460
  }), t;
1460
1461
  }
1461
- function Gr() {
1462
+ function Jr() {
1462
1463
  var e = {
1463
1464
  scalar: {},
1464
1465
  sequence: {},
@@ -1503,7 +1504,7 @@ pt.prototype.extend = function(e) {
1503
1504
  throw new fe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1504
1505
  });
1505
1506
  var a = Object.create(pt.prototype);
1506
- return a.implicit = (this.implicit || []).concat(i), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Lt(a, "implicit"), a.compiledExplicit = Lt(a, "explicit"), a.compiledTypeMap = Gr(a.compiledImplicit, a.compiledExplicit), a;
1507
+ return a.implicit = (this.implicit || []).concat(i), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Lt(a, "implicit"), a.compiledExplicit = Lt(a, "explicit"), a.compiledTypeMap = Jr(a.compiledImplicit, a.compiledExplicit), a;
1507
1508
  };
1508
1509
  var vi = pt, hi = new ue("tag:yaml.org,2002:str", {
1509
1510
  kind: "scalar",
@@ -1527,7 +1528,7 @@ var vi = pt, hi = new ue("tag:yaml.org,2002:str", {
1527
1528
  wi
1528
1529
  ]
1529
1530
  });
1530
- function Jr(e) {
1531
+ function Gr(e) {
1531
1532
  if (e === null)
1532
1533
  return !0;
1533
1534
  var i = e.length;
@@ -1541,7 +1542,7 @@ function Yr(e) {
1541
1542
  }
1542
1543
  var ki = new ue("tag:yaml.org,2002:null", {
1543
1544
  kind: "scalar",
1544
- resolve: Jr,
1545
+ resolve: Gr,
1545
1546
  construct: Wr,
1546
1547
  predicate: Yr,
1547
1548
  represent: {
@@ -1664,7 +1665,7 @@ function ro(e) {
1664
1665
  return t * parseInt(i, 10);
1665
1666
  }
1666
1667
  function oo(e) {
1667
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ne.isNegativeZero(e);
1668
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !le.isNegativeZero(e);
1668
1669
  }
1669
1670
  var Si = new ue("tag:yaml.org,2002:int", {
1670
1671
  kind: "scalar",
@@ -1693,12 +1694,12 @@ var Si = new ue("tag:yaml.org,2002:int", {
1693
1694
  decimal: [10, "dec"],
1694
1695
  hexadecimal: [16, "hex"]
1695
1696
  }
1696
- }), no = new RegExp(
1697
+ }), lo = new RegExp(
1697
1698
  // 2.5e4, 2.5 and integers
1698
1699
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1699
1700
  );
1700
- function lo(e) {
1701
- return !(e === null || !no.test(e) || // Quick hack to not allow integers end with `_`
1701
+ function no(e) {
1702
+ return !(e === null || !lo.test(e) || // Quick hack to not allow integers end with `_`
1702
1703
  // Probably should update regexp & check speed
1703
1704
  e[e.length - 1] === "_");
1704
1705
  }
@@ -1736,16 +1737,16 @@ function uo(e, i) {
1736
1737
  case "camelcase":
1737
1738
  return "-.Inf";
1738
1739
  }
1739
- else if (ne.isNegativeZero(e))
1740
+ else if (le.isNegativeZero(e))
1740
1741
  return "-0.0";
1741
1742
  return t = e.toString(10), co.test(t) ? t.replace("e", ".e") : t;
1742
1743
  }
1743
1744
  function po(e) {
1744
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ne.isNegativeZero(e));
1745
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || le.isNegativeZero(e));
1745
1746
  }
1746
1747
  var Ii = new ue("tag:yaml.org,2002:float", {
1747
1748
  kind: "scalar",
1748
- resolve: lo,
1749
+ resolve: no,
1749
1750
  construct: so,
1750
1751
  predicate: po,
1751
1752
  represent: uo,
@@ -1766,17 +1767,17 @@ function fo(e) {
1766
1767
  return e === null ? !1 : Ti.exec(e) !== null || $i.exec(e) !== null;
1767
1768
  }
1768
1769
  function mo(e) {
1769
- var i, t, a, r, o, l, n, u = 0, d = null, f, p, w;
1770
+ var i, t, a, r, o, n, l, u = 0, d = null, f, p, w;
1770
1771
  if (i = Ti.exec(e), i === null && (i = $i.exec(e)), i === null)
1771
1772
  throw new Error("Date resolve error");
1772
1773
  if (t = +i[1], a = +i[2] - 1, r = +i[3], !i[4])
1773
1774
  return new Date(Date.UTC(t, a, r));
1774
- if (o = +i[4], l = +i[5], n = +i[6], i[7]) {
1775
+ if (o = +i[4], n = +i[5], l = +i[6], i[7]) {
1775
1776
  for (u = i[7].slice(0, 3); u.length < 3; )
1776
1777
  u += "0";
1777
1778
  u = +u;
1778
1779
  }
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, l, n, u)), d && w.setTime(w.getTime() - d), w;
1780
+ 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;
1780
1781
  }
1781
1782
  function go(e) {
1782
1783
  return e.toISOString();
@@ -1791,7 +1792,7 @@ var Mi = new ue("tag:yaml.org,2002:timestamp", {
1791
1792
  function yo(e) {
1792
1793
  return e === "<<" || e === null;
1793
1794
  }
1794
- var ji = new ue("tag:yaml.org,2002:merge", {
1795
+ var Ei = new ue("tag:yaml.org,2002:merge", {
1795
1796
  kind: "scalar",
1796
1797
  resolve: yo
1797
1798
  }), Ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1809,21 +1810,21 @@ function vo(e) {
1809
1810
  return a % 8 === 0;
1810
1811
  }
1811
1812
  function ho(e) {
1812
- var i, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, o = Ct, l = 0, n = [];
1813
+ var i, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, o = Ct, n = 0, l = [];
1813
1814
  for (i = 0; i < r; i++)
1814
- 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));
1815
- 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);
1815
+ 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));
1816
+ 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);
1816
1817
  }
1817
1818
  function bo(e) {
1818
- var i = "", t = 0, a, r, o = e.length, l = Ct;
1819
+ var i = "", t = 0, a, r, o = e.length, n = Ct;
1819
1820
  for (a = 0; a < o; a++)
1820
- 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];
1821
- 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;
1821
+ 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];
1822
+ 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;
1822
1823
  }
1823
1824
  function wo(e) {
1824
1825
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1825
1826
  }
1826
- var Ei = new ue("tag:yaml.org,2002:binary", {
1827
+ var ji = new ue("tag:yaml.org,2002:binary", {
1827
1828
  kind: "scalar",
1828
1829
  resolve: vo,
1829
1830
  construct: ho,
@@ -1833,17 +1834,17 @@ var Ei = new ue("tag:yaml.org,2002:binary", {
1833
1834
  function Co(e) {
1834
1835
  if (e === null)
1835
1836
  return !0;
1836
- var i = [], t, a, r, o, l, n = e;
1837
- for (t = 0, a = n.length; t < a; t += 1) {
1838
- if (r = n[t], l = !1, ko.call(r) !== "[object Object]")
1837
+ var i = [], t, a, r, o, n, l = e;
1838
+ for (t = 0, a = l.length; t < a; t += 1) {
1839
+ if (r = l[t], n = !1, ko.call(r) !== "[object Object]")
1839
1840
  return !1;
1840
1841
  for (o in r)
1841
1842
  if (_o.call(r, o))
1842
- if (!l)
1843
- l = !0;
1843
+ if (!n)
1844
+ n = !0;
1844
1845
  else
1845
1846
  return !1;
1846
- if (!l)
1847
+ if (!n)
1847
1848
  return !1;
1848
1849
  if (i.indexOf(o) === -1)
1849
1850
  i.push(o);
@@ -1863,9 +1864,9 @@ var Oi = new ue("tag:yaml.org,2002:omap", {
1863
1864
  function Ao(e) {
1864
1865
  if (e === null)
1865
1866
  return !0;
1866
- var i, t, a, r, o, l = e;
1867
- for (o = new Array(l.length), i = 0, t = l.length; i < t; i += 1) {
1868
- if (a = l[i], Io.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1867
+ var i, t, a, r, o, n = e;
1868
+ for (o = new Array(n.length), i = 0, t = n.length; i < t; i += 1) {
1869
+ if (a = n[i], Io.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1869
1870
  return !1;
1870
1871
  o[i] = [r[0], a[r[0]]];
1871
1872
  }
@@ -1874,9 +1875,9 @@ function Ao(e) {
1874
1875
  function xo(e) {
1875
1876
  if (e === null)
1876
1877
  return [];
1877
- var i, t, a, r, o, l = e;
1878
- for (o = new Array(l.length), i = 0, t = l.length; i < t; i += 1)
1879
- a = l[i], r = Object.keys(a), o[i] = [r[0], a[r[0]]];
1878
+ var i, t, a, r, o, n = e;
1879
+ for (o = new Array(n.length), i = 0, t = n.length; i < t; i += 1)
1880
+ a = n[i], r = Object.keys(a), o[i] = [r[0], a[r[0]]];
1880
1881
  return o;
1881
1882
  }
1882
1883
  var Vi = new ue("tag:yaml.org,2002:pairs", {
@@ -1903,15 +1904,15 @@ var Fi = new ue("tag:yaml.org,2002:set", {
1903
1904
  }), St = xi.extend({
1904
1905
  implicit: [
1905
1906
  Mi,
1906
- ji
1907
+ Ei
1907
1908
  ],
1908
1909
  explicit: [
1909
- Ei,
1910
+ ji,
1910
1911
  Oi,
1911
1912
  Vi,
1912
1913
  Fi
1913
1914
  ]
1914
- }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, jo = 2, qt = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1915
+ }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, Eo = 2, qt = 3, jo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1915
1916
  function Bt(e) {
1916
1917
  return Object.prototype.toString.call(e);
1917
1918
  }
@@ -1948,8 +1949,8 @@ function Lo(e) {
1948
1949
  );
1949
1950
  }
1950
1951
  var Bi = new Array(256), Pi = new Array(256);
1951
- for (var je = 0; je < 256; je++)
1952
- Bi[je] = Pt(je) ? 1 : 0, Pi[je] = Pt(je);
1952
+ for (var Ee = 0; Ee < 256; Ee++)
1953
+ Bi[Ee] = Pt(Ee) ? 1 : 0, Pi[Ee] = Pt(Ee);
1953
1954
  function qo(e, i) {
1954
1955
  this.input = e, this.filename = i.filename || null, this.schema = i.schema || St, this.onWarning = i.onWarning || null, this.legacy = i.legacy || !1, this.json = i.json || !1, this.listener = i.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1955
1956
  }
@@ -1964,7 +1965,7 @@ function Ui(e, i) {
1964
1965
  };
1965
1966
  return t.snippet = Ur(t), new fe(i, t);
1966
1967
  }
1967
- function j(e, i) {
1968
+ function E(e, i) {
1968
1969
  throw Ui(e, i);
1969
1970
  }
1970
1971
  function Xe(e, i) {
@@ -1973,40 +1974,40 @@ function Xe(e, i) {
1973
1974
  var Ut = {
1974
1975
  YAML: function(e, i, t) {
1975
1976
  var a, r, o;
1976
- e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && j(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Xe(e, "unsupported YAML version of the document");
1977
+ e.version !== null && E(e, "duplication of %YAML directive"), t.length !== 1 && E(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && E(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && E(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Xe(e, "unsupported YAML version of the document");
1977
1978
  },
1978
1979
  TAG: function(e, i, t) {
1979
1980
  var a, r;
1980
- t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && j(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1981
+ t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && E(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1981
1982
  try {
1982
1983
  r = decodeURIComponent(r);
1983
1984
  } catch {
1984
- j(e, "tag prefix is malformed: " + r);
1985
+ E(e, "tag prefix is malformed: " + r);
1985
1986
  }
1986
1987
  e.tagMap[a] = r;
1987
1988
  }
1988
1989
  };
1989
1990
  function ke(e, i, t, a) {
1990
- var r, o, l, n;
1991
+ var r, o, n, l;
1991
1992
  if (i < t) {
1992
- if (n = e.input.slice(i, t), a)
1993
- for (r = 0, o = n.length; r < o; r += 1)
1994
- l = n.charCodeAt(r), l === 9 || 32 <= l && l <= 1114111 || j(e, "expected valid JSON character");
1993
+ if (l = e.input.slice(i, t), a)
1994
+ for (r = 0, o = l.length; r < o; r += 1)
1995
+ n = l.charCodeAt(r), n === 9 || 32 <= n && n <= 1114111 || E(e, "expected valid JSON character");
1995
1996
  else
1996
- Eo.test(n) && j(e, "the stream contains non-printable characters");
1997
- e.result += n;
1997
+ jo.test(l) && E(e, "the stream contains non-printable characters");
1998
+ e.result += l;
1998
1999
  }
1999
2000
  }
2000
2001
  function Rt(e, i, t, a) {
2001
- var r, o, l, n;
2002
- 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)
2003
- o = r[l], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2002
+ var r, o, n, l;
2003
+ for (le.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), n = 0, l = r.length; n < l; n += 1)
2004
+ o = r[n], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2004
2005
  }
2005
- function Ve(e, i, t, a, r, o, l, n, u) {
2006
+ function Ve(e, i, t, a, r, o, n, l, u) {
2006
2007
  var d, f;
2007
2008
  if (Array.isArray(r))
2008
2009
  for (r = Array.prototype.slice.call(r), d = 0, f = r.length; d < f; d += 1)
2009
- Array.isArray(r[d]) && j(e, "nested arrays are not supported inside keys"), typeof r == "object" && Bt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2010
+ Array.isArray(r[d]) && E(e, "nested arrays are not supported inside keys"), typeof r == "object" && Bt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2010
2011
  if (typeof r == "object" && Bt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), i === null && (i = {}), a === "tag:yaml.org,2002:merge")
2011
2012
  if (Array.isArray(o))
2012
2013
  for (d = 0, f = o.length; d < f; d += 1)
@@ -2014,7 +2015,7 @@ function Ve(e, i, t, a, r, o, l, n, u) {
2014
2015
  else
2015
2016
  Rt(e, i, o, t);
2016
2017
  else
2017
- !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
+ !e.json && !Ce.call(t, r) && Ce.call(i, r) && (e.line = n || e.line, e.lineStart = l || e.lineStart, e.position = u || e.position, E(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2018
2019
  configurable: !0,
2019
2020
  enumerable: !0,
2020
2021
  writable: !0,
@@ -2024,7 +2025,7 @@ function Ve(e, i, t, a, r, o, l, n, u) {
2024
2025
  }
2025
2026
  function It(e) {
2026
2027
  var i;
2027
- i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
2028
+ i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
2028
2029
  }
2029
2030
  function oe(e, i, t) {
2030
2031
  for (var a = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
@@ -2047,14 +2048,14 @@ function at(e) {
2047
2048
  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
2049
  }
2049
2050
  function At(e, i) {
2050
- i === 1 ? e.result += " " : i > 1 && (e.result += ne.repeat(`
2051
+ i === 1 ? e.result += " " : i > 1 && (e.result += le.repeat(`
2051
2052
  `, i - 1));
2052
2053
  }
2053
2054
  function Bo(e, i, t) {
2054
- var a, r, o, l, n, u, d, f, p = e.kind, w = e.result, b;
2055
+ var a, r, o, n, l, u, d, f, p = e.kind, w = e.result, b;
2055
2056
  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)))
2056
2057
  return !1;
2057
- for (e.kind = "scalar", e.result = "", o = l = e.position, n = !1; b !== 0; ) {
2058
+ for (e.kind = "scalar", e.result = "", o = n = e.position, l = !1; b !== 0; ) {
2058
2059
  if (b === 58) {
2059
2060
  if (r = e.input.charCodeAt(e.position + 1), me(r) || t && Oe(r))
2060
2061
  break;
@@ -2066,16 +2067,16 @@ function Bo(e, i, t) {
2066
2067
  break;
2067
2068
  if (he(b))
2068
2069
  if (u = e.line, d = e.lineStart, f = e.lineIndent, oe(e, !1, -1), e.lineIndent >= i) {
2069
- n = !0, b = e.input.charCodeAt(e.position);
2070
+ l = !0, b = e.input.charCodeAt(e.position);
2070
2071
  continue;
2071
2072
  } else {
2072
- e.position = l, e.line = u, e.lineStart = d, e.lineIndent = f;
2073
+ e.position = n, e.line = u, e.lineStart = d, e.lineIndent = f;
2073
2074
  break;
2074
2075
  }
2075
2076
  }
2076
- n && (ke(e, o, l, !1), At(e, e.line - u), o = l = e.position, n = !1), Te(b) || (l = e.position + 1), b = e.input.charCodeAt(++e.position);
2077
+ 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);
2077
2078
  }
2078
- return ke(e, o, l, !1), e.result ? !0 : (e.kind = p, e.result = w, !1);
2079
+ return ke(e, o, n, !1), e.result ? !0 : (e.kind = p, e.result = w, !1);
2079
2080
  }
2080
2081
  function Po(e, i) {
2081
2082
  var t, a, r;
@@ -2088,50 +2089,50 @@ function Po(e, i) {
2088
2089
  else
2089
2090
  return !0;
2090
2091
  else
2091
- he(t) ? (ke(e, a, r, !0), At(e, oe(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2092
- j(e, "unexpected end of the stream within a single quoted scalar");
2092
+ he(t) ? (ke(e, a, r, !0), At(e, oe(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2093
+ E(e, "unexpected end of the stream within a single quoted scalar");
2093
2094
  }
2094
2095
  function Uo(e, i) {
2095
- var t, a, r, o, l, n;
2096
- if (n = e.input.charCodeAt(e.position), n !== 34)
2096
+ var t, a, r, o, n, l;
2097
+ if (l = e.input.charCodeAt(e.position), l !== 34)
2097
2098
  return !1;
2098
- for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (n = e.input.charCodeAt(e.position)) !== 0; ) {
2099
- if (n === 34)
2099
+ for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
2100
+ if (l === 34)
2100
2101
  return ke(e, t, e.position, !0), e.position++, !0;
2101
- if (n === 92) {
2102
- if (ke(e, t, e.position, !0), n = e.input.charCodeAt(++e.position), he(n))
2102
+ if (l === 92) {
2103
+ if (ke(e, t, e.position, !0), l = e.input.charCodeAt(++e.position), he(l))
2103
2104
  oe(e, !1, i);
2104
- else if (n < 256 && Bi[n])
2105
- e.result += Pi[n], e.position++;
2106
- else if ((l = No(n)) > 0) {
2107
- for (r = l, o = 0; r > 0; r--)
2108
- n = e.input.charCodeAt(++e.position), (l = Fo(n)) >= 0 ? o = (o << 4) + l : j(e, "expected hexadecimal character");
2105
+ else if (l < 256 && Bi[l])
2106
+ e.result += Pi[l], e.position++;
2107
+ else if ((n = No(l)) > 0) {
2108
+ for (r = n, o = 0; r > 0; r--)
2109
+ l = e.input.charCodeAt(++e.position), (n = Fo(l)) >= 0 ? o = (o << 4) + n : E(e, "expected hexadecimal character");
2109
2110
  e.result += Lo(o), e.position++;
2110
2111
  } else
2111
- j(e, "unknown escape sequence");
2112
+ E(e, "unknown escape sequence");
2112
2113
  t = a = e.position;
2113
2114
  } else
2114
- 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
+ he(l) ? (ke(e, t, a, !0), At(e, oe(e, !1, i)), t = a = e.position) : e.position === e.lineStart && at(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2115
2116
  }
2116
- j(e, "unexpected end of the stream within a double quoted scalar");
2117
+ E(e, "unexpected end of the stream within a double quoted scalar");
2117
2118
  }
2118
2119
  function Ro(e, i) {
2119
- var t = !0, a, r, o, l = e.tag, n, u = e.anchor, d, f, p, w, b, S = /* @__PURE__ */ Object.create(null), k, v, $, s;
2120
+ var t = !0, a, r, o, n = e.tag, l, u = e.anchor, d, f, p, w, b, I = /* @__PURE__ */ Object.create(null), k, v, $, s;
2120
2121
  if (s = e.input.charCodeAt(e.position), s === 91)
2121
- f = 93, b = !1, n = [];
2122
+ f = 93, b = !1, l = [];
2122
2123
  else if (s === 123)
2123
- f = 125, b = !0, n = {};
2124
+ f = 125, b = !0, l = {};
2124
2125
  else
2125
2126
  return !1;
2126
- for (e.anchor !== null && (e.anchorMap[e.anchor] = n), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2127
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2127
2128
  if (oe(e, !0, i), s = e.input.charCodeAt(e.position), s === f)
2128
- return e.position++, e.tag = l, e.anchor = u, e.kind = b ? "mapping" : "sequence", e.result = n, !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, 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;
2129
+ return e.position++, e.tag = n, e.anchor = u, e.kind = b ? "mapping" : "sequence", e.result = l, !0;
2130
+ t ? s === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), v = k = $ = null, p = w = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = w = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (w || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), b ? Ve(e, l, I, v, k, $, a, r, o) : p ? l.push(Ve(e, null, I, v, k, $, a, r, o)) : l.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2130
2131
  }
2131
- j(e, "unexpected end of the stream within a flow collection");
2132
+ E(e, "unexpected end of the stream within a flow collection");
2132
2133
  }
2133
2134
  function Do(e, i) {
2134
- var t, a, r = ct, o = !1, l = !1, n = i, u = 0, d = !1, f, p;
2135
+ var t, a, r = ct, o = !1, n = !1, l = i, u = 0, d = !1, f, p;
2135
2136
  if (p = e.input.charCodeAt(e.position), p === 124)
2136
2137
  a = !1;
2137
2138
  else if (p === 62)
@@ -2140,9 +2141,9 @@ function Do(e, i) {
2140
2141
  return !1;
2141
2142
  for (e.kind = "scalar", e.result = ""; p !== 0; )
2142
2143
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2143
- ct === r ? r = p === 43 ? qt : jo : j(e, "repeat of a chomping mode identifier");
2144
+ ct === r ? r = p === 43 ? qt : Eo : E(e, "repeat of a chomping mode identifier");
2144
2145
  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") : l ? j(e, "repeat of an indentation width identifier") : (n = i + f - 1, l = !0);
2146
+ f === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : n ? E(e, "repeat of an indentation width identifier") : (l = i + f - 1, n = !0);
2146
2147
  else
2147
2148
  break;
2148
2149
  if (Te(p)) {
@@ -2155,167 +2156,167 @@ function Do(e, i) {
2155
2156
  while (!he(p) && p !== 0);
2156
2157
  }
2157
2158
  for (; p !== 0; ) {
2158
- for (It(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!l || e.lineIndent < n) && p === 32; )
2159
+ for (It(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!n || e.lineIndent < l) && p === 32; )
2159
2160
  e.lineIndent++, p = e.input.charCodeAt(++e.position);
2160
- if (!l && e.lineIndent > n && (n = e.lineIndent), he(p)) {
2161
+ if (!n && e.lineIndent > l && (l = e.lineIndent), he(p)) {
2161
2162
  u++;
2162
2163
  continue;
2163
2164
  }
2164
- if (e.lineIndent < n) {
2165
- r === qt ? e.result += ne.repeat(`
2165
+ if (e.lineIndent < l) {
2166
+ r === qt ? e.result += le.repeat(`
2166
2167
  `, o ? 1 + u : u) : r === ct && o && (e.result += `
2167
2168
  `);
2168
2169
  break;
2169
2170
  }
2170
- for (a ? Te(p) ? (d = !0, e.result += ne.repeat(`
2171
- `, o ? 1 + u : u)) : d ? (d = !1, e.result += ne.repeat(`
2172
- `, u + 1)) : u === 0 ? o && (e.result += " ") : e.result += ne.repeat(`
2173
- `, u) : e.result += ne.repeat(`
2174
- `, o ? 1 + u : u), o = !0, l = !0, u = 0, t = e.position; !he(p) && p !== 0; )
2171
+ for (a ? Te(p) ? (d = !0, e.result += le.repeat(`
2172
+ `, o ? 1 + u : u)) : d ? (d = !1, e.result += le.repeat(`
2173
+ `, u + 1)) : u === 0 ? o && (e.result += " ") : e.result += le.repeat(`
2174
+ `, u) : e.result += le.repeat(`
2175
+ `, o ? 1 + u : u), o = !0, n = !0, u = 0, t = e.position; !he(p) && p !== 0; )
2175
2176
  p = e.input.charCodeAt(++e.position);
2176
2177
  ke(e, t, e.position, !1);
2177
2178
  }
2178
2179
  return !0;
2179
2180
  }
2180
2181
  function Dt(e, i) {
2181
- var t, a = e.tag, r = e.anchor, o = [], l, n = !1, u;
2182
+ var t, a = e.tag, r = e.anchor, o = [], n, l = !1, u;
2182
2183
  if (e.firstTabInLine !== -1)
2183
2184
  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 || (l = e.input.charCodeAt(e.position + 1), !me(l)))); ) {
2185
- if (n = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= i) {
2185
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(u !== 45 || (n = e.input.charCodeAt(e.position + 1), !me(n)))); ) {
2186
+ if (l = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= i) {
2186
2187
  o.push(null), u = e.input.charCodeAt(e.position);
2187
2188
  continue;
2188
2189
  }
2189
2190
  if (t = e.line, Ke(e, i, Ki, !1, !0), o.push(e.result), oe(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && u !== 0)
2190
- j(e, "bad indentation of a sequence entry");
2191
+ E(e, "bad indentation of a sequence entry");
2191
2192
  else if (e.lineIndent < i)
2192
2193
  break;
2193
2194
  }
2194
- return n ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2195
+ return l ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2195
2196
  }
2196
2197
  function Ho(e, i, t) {
2197
- var a, r, o, l, n, u, d = e.tag, f = e.anchor, p = {}, w = /* @__PURE__ */ Object.create(null), b = null, S = null, k = null, v = !1, $ = !1, s;
2198
+ var a, r, o, n, l, u, d = e.tag, f = e.anchor, p = {}, w = /* @__PURE__ */ Object.create(null), b = null, I = null, k = null, v = !1, $ = !1, s;
2198
2199
  if (e.firstTabInLine !== -1)
2199
2200
  return !1;
2200
2201
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), s = e.input.charCodeAt(e.position); s !== 0; ) {
2201
- if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2202
- s === 63 ? (v && (Ve(e, p, w, b, S, null, l, n, 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;
2202
+ if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2203
+ s === 63 ? (v && (Ve(e, p, w, b, I, null, n, l, u), b = I = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2203
2204
  else {
2204
- if (l = e.line, n = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2205
+ if (n = e.line, l = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2205
2206
  break;
2206
2207
  if (e.line === o) {
2207
2208
  for (s = e.input.charCodeAt(e.position); Te(s); )
2208
2209
  s = e.input.charCodeAt(++e.position);
2209
2210
  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, l, n, u), b = S = k = null), $ = !0, v = !1, r = !1, b = e.tag, S = e.result;
2211
+ s = e.input.charCodeAt(++e.position), me(s) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ve(e, p, w, b, I, null, n, l, u), b = I = k = null), $ = !0, v = !1, r = !1, b = e.tag, I = e.result;
2211
2212
  else if ($)
2212
- j(e, "can not read an implicit mapping pair; a colon is missed");
2213
+ E(e, "can not read an implicit mapping pair; a colon is missed");
2213
2214
  else
2214
2215
  return e.tag = d, e.anchor = f, !0;
2215
2216
  } else if ($)
2216
- j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2217
+ E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2217
2218
  else
2218
2219
  return e.tag = d, e.anchor = f, !0;
2219
2220
  }
2220
- 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, b, S, k, l, n, u), b = S = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2221
- j(e, "bad indentation of a mapping entry");
2221
+ if ((e.line === o || e.lineIndent > i) && (v && (n = e.line, l = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? I = e.result : k = e.result), v || (Ve(e, p, w, b, I, k, n, l, u), b = I = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2222
+ E(e, "bad indentation of a mapping entry");
2222
2223
  else if (e.lineIndent < i)
2223
2224
  break;
2224
2225
  }
2225
- return v && Ve(e, p, w, b, S, null, l, n, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2226
+ return v && Ve(e, p, w, b, I, null, n, l, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2226
2227
  }
2227
2228
  function zo(e) {
2228
- var i, t = !1, a = !1, r, o, l;
2229
- if (l = e.input.charCodeAt(e.position), l !== 33)
2229
+ var i, t = !1, a = !1, r, o, n;
2230
+ if (n = e.input.charCodeAt(e.position), n !== 33)
2230
2231
  return !1;
2231
- 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
+ if (e.tag !== null && E(e, "duplication of a tag property"), n = e.input.charCodeAt(++e.position), n === 60 ? (t = !0, n = e.input.charCodeAt(++e.position)) : n === 33 ? (a = !0, r = "!!", n = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2232
2233
  do
2233
- l = e.input.charCodeAt(++e.position);
2234
- while (l !== 0 && l !== 62);
2235
- 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");
2234
+ n = e.input.charCodeAt(++e.position);
2235
+ while (n !== 0 && n !== 62);
2236
+ e.position < e.length ? (o = e.input.slice(i, e.position), n = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2236
2237
  } else {
2237
- for (; l !== 0 && !me(l); )
2238
- 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
- o = e.input.slice(i, e.position), Vo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2238
+ for (; n !== 0 && !me(n); )
2239
+ n === 33 && (a ? E(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Li.test(r) || E(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), n = e.input.charCodeAt(++e.position);
2240
+ o = e.input.slice(i, e.position), Vo.test(o) && E(e, "tag suffix cannot contain flow indicator characters");
2240
2241
  }
2241
- o && !qi.test(o) && j(e, "tag name cannot contain such characters: " + o);
2242
+ o && !qi.test(o) && E(e, "tag name cannot contain such characters: " + o);
2242
2243
  try {
2243
2244
  o = decodeURIComponent(o);
2244
2245
  } catch {
2245
- j(e, "tag name is malformed: " + o);
2246
+ E(e, "tag name is malformed: " + o);
2246
2247
  }
2247
- return t ? e.tag = o : Ce.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : j(e, 'undeclared tag handle "' + r + '"'), !0;
2248
+ return t ? e.tag = o : Ce.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : E(e, 'undeclared tag handle "' + r + '"'), !0;
2248
2249
  }
2249
- function Go(e) {
2250
+ function Jo(e) {
2250
2251
  var i, t;
2251
2252
  if (t = e.input.charCodeAt(e.position), t !== 38)
2252
2253
  return !1;
2253
- for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2254
+ for (e.anchor !== null && E(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2254
2255
  t = e.input.charCodeAt(++e.position);
2255
- return e.position === i && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2256
+ return e.position === i && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2256
2257
  }
2257
- function Jo(e) {
2258
+ function Go(e) {
2258
2259
  var i, t, a;
2259
2260
  if (a = e.input.charCodeAt(e.position), a !== 42)
2260
2261
  return !1;
2261
2262
  for (a = e.input.charCodeAt(++e.position), i = e.position; a !== 0 && !me(a) && !Oe(a); )
2262
2263
  a = e.input.charCodeAt(++e.position);
2263
- return e.position === i && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2264
+ return e.position === i && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2264
2265
  }
2265
2266
  function Ke(e, i, t, a, r) {
2266
- var o, l, n, 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 = 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
- for (; zo(e) || Go(e); )
2269
- 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;
2270
- 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 : Jo(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)
2267
+ var o, n, l, u = 1, d = !1, f = !1, p, w, b, I, k, v;
2268
+ 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
+ for (; zo(e) || Jo(e); )
2270
+ oe(e, !0, -1) ? (d = !0, l = o, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)) : l = !1;
2271
+ if (l && (l = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? l && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (n && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Go(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = l && Dt(e, v))), e.tag === null)
2271
2272
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2272
2273
  else if (e.tag === "?") {
2273
- for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, w = e.implicitTypes.length; p < w; p += 1)
2274
- if (S = e.implicitTypes[p], S.resolve(e.result)) {
2275
- e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2274
+ for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, w = e.implicitTypes.length; p < w; p += 1)
2275
+ if (I = e.implicitTypes[p], I.resolve(e.result)) {
2276
+ e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2276
2277
  break;
2277
2278
  }
2278
2279
  } else if (e.tag !== "!") {
2279
2280
  if (Ce.call(e.typeMap[e.kind || "fallback"], e.tag))
2280
- S = e.typeMap[e.kind || "fallback"][e.tag];
2281
+ I = e.typeMap[e.kind || "fallback"][e.tag];
2281
2282
  else
2282
- for (S = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, w = b.length; p < w; p += 1)
2283
+ for (I = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, w = b.length; p < w; p += 1)
2283
2284
  if (e.tag.slice(0, b[p].tag.length) === b[p].tag) {
2284
- S = b[p];
2285
+ I = b[p];
2285
2286
  break;
2286
2287
  }
2287
- S || j(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && j(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : j(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2288
+ I || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2288
2289
  }
2289
2290
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || f;
2290
2291
  }
2291
2292
  function Wo(e) {
2292
- var i = e.position, t, a, r, o = !1, l;
2293
- 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)); ) {
2294
- for (o = !0, l = e.input.charCodeAt(++e.position), t = e.position; l !== 0 && !me(l); )
2295
- l = 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"); l !== 0; ) {
2297
- for (; Te(l); )
2298
- l = e.input.charCodeAt(++e.position);
2299
- if (l === 35) {
2293
+ var i = e.position, t, a, r, o = !1, n;
2294
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (n = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), n = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || n !== 37)); ) {
2295
+ for (o = !0, n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !me(n); )
2296
+ n = e.input.charCodeAt(++e.position);
2297
+ for (a = e.input.slice(t, e.position), r = [], a.length < 1 && E(e, "directive name must not be less than one character in length"); n !== 0; ) {
2298
+ for (; Te(n); )
2299
+ n = e.input.charCodeAt(++e.position);
2300
+ if (n === 35) {
2300
2301
  do
2301
- l = e.input.charCodeAt(++e.position);
2302
- while (l !== 0 && !he(l));
2302
+ n = e.input.charCodeAt(++e.position);
2303
+ while (n !== 0 && !he(n));
2303
2304
  break;
2304
2305
  }
2305
- if (he(l))
2306
+ if (he(n))
2306
2307
  break;
2307
- for (t = e.position; l !== 0 && !me(l); )
2308
- l = e.input.charCodeAt(++e.position);
2308
+ for (t = e.position; n !== 0 && !me(n); )
2309
+ n = e.input.charCodeAt(++e.position);
2309
2310
  r.push(e.input.slice(t, e.position));
2310
2311
  }
2311
- l !== 0 && It(e), Ce.call(Ut, a) ? Ut[a](e, a, r) : Xe(e, 'unknown document directive "' + a + '"');
2312
+ n !== 0 && It(e), Ce.call(Ut, a) ? Ut[a](e, a, r) : Xe(e, 'unknown document directive "' + a + '"');
2312
2313
  }
2313
- if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : o && j(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, Qe, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Oo.test(e.input.slice(i, e.position)) && Xe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2314
+ if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : o && E(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, Qe, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Oo.test(e.input.slice(i, e.position)) && Xe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2314
2315
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2315
2316
  return;
2316
2317
  }
2317
2318
  if (e.position < e.length - 1)
2318
- j(e, "end of the stream or a document separator is expected");
2319
+ E(e, "end of the stream or a document separator is expected");
2319
2320
  else
2320
2321
  return;
2321
2322
  }
@@ -2323,7 +2324,7 @@ function Ri(e, i) {
2323
2324
  e = String(e), i = i || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2324
2325
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2325
2326
  var t = new qo(e, i), a = e.indexOf("\0");
2326
- for (a !== -1 && (t.position = a, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2327
+ for (a !== -1 && (t.position = a, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2327
2328
  t.lineIndent += 1, t.position += 1;
2328
2329
  for (; t.position < t.length - 1; )
2329
2330
  Wo(t);
@@ -2348,7 +2349,7 @@ function Zo(e, i) {
2348
2349
  var Qo = Yo, Xo = Zo, Di = {
2349
2350
  loadAll: Qo,
2350
2351
  load: Xo
2351
- }, 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, Gi = 44, un = 45, et = 58, dn = 61, pn = 62, fn = 63, mn = 64, Ji = 91, Wi = 93, gn = 96, Yi = 123, yn = 124, Zi = 125, pe = {};
2352
+ }, 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 = {};
2352
2353
  pe[0] = "\\0";
2353
2354
  pe[7] = "\\a";
2354
2355
  pe[8] = "\\b";
@@ -2364,7 +2365,7 @@ pe[133] = "\\N";
2364
2365
  pe[160] = "\\_";
2365
2366
  pe[8232] = "\\L";
2366
2367
  pe[8233] = "\\P";
2367
- var vn = [
2368
+ var yl = [
2368
2369
  "y",
2369
2370
  "Y",
2370
2371
  "yes",
@@ -2381,16 +2382,16 @@ var vn = [
2381
2382
  "off",
2382
2383
  "Off",
2383
2384
  "OFF"
2384
- ], hn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2385
- function bn(e, i) {
2386
- var t, a, r, o, l, n, u;
2385
+ ], vl = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2386
+ function hl(e, i) {
2387
+ var t, a, r, o, n, l, u;
2387
2388
  if (i === null)
2388
2389
  return {};
2389
2390
  for (t = {}, a = Object.keys(i), r = 0, o = a.length; r < o; r += 1)
2390
- 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
+ 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;
2391
2392
  return t;
2392
2393
  }
2393
- function wn(e) {
2394
+ function bl(e) {
2394
2395
  var i, t, a;
2395
2396
  if (i = e.toString(16).toUpperCase(), e <= 255)
2396
2397
  t = "x", a = 2;
@@ -2400,24 +2401,24 @@ function wn(e) {
2400
2401
  t = "U", a = 8;
2401
2402
  else
2402
2403
  throw new fe("code point within a string may not be greater than 0xFFFFFFFF");
2403
- return "\\" + t + ne.repeat("0", a - i.length) + i;
2404
+ return "\\" + t + le.repeat("0", a - i.length) + i;
2404
2405
  }
2405
- var _n = 1, Ge = 2;
2406
- function kn(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 = 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 === '"' ? Ge : _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;
2406
+ var wl = 1, Je = 2;
2407
+ function _l(e) {
2408
+ 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
2409
  }
2409
2410
  function Ht(e, i) {
2410
- for (var t = ne.repeat(" ", i), a = 0, r = -1, o = "", l, n = e.length; a < n; )
2411
+ for (var t = le.repeat(" ", i), a = 0, r = -1, o = "", n, l = e.length; a < l; )
2411
2412
  r = e.indexOf(`
2412
- `, a), r === -1 ? (l = e.slice(a), a = n) : (l = e.slice(a, r + 1), a = r + 1), l.length && l !== `
2413
- ` && (o += t), o += l;
2413
+ `, a), r === -1 ? (n = e.slice(a), a = l) : (n = e.slice(a, r + 1), a = r + 1), n.length && n !== `
2414
+ ` && (o += t), o += n;
2414
2415
  return o;
2415
2416
  }
2416
2417
  function mt(e, i) {
2417
2418
  return `
2418
- ` + ne.repeat(" ", e.indent * i);
2419
+ ` + le.repeat(" ", e.indent * i);
2419
2420
  }
2420
- function Cn(e, i) {
2421
+ function kl(e, i) {
2421
2422
  var t, a, r;
2422
2423
  for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2423
2424
  if (r = e.implicitTypes[t], r.resolve(i))
@@ -2425,28 +2426,28 @@ function Cn(e, i) {
2425
2426
  return !1;
2426
2427
  }
2427
2428
  function tt(e) {
2428
- return e === an || e === en;
2429
+ return e === il || e === el;
2429
2430
  }
2430
- function Je(e) {
2431
+ function Ge(e) {
2431
2432
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== xt || 65536 <= e && e <= 1114111;
2432
2433
  }
2433
2434
  function zt(e) {
2434
- return Je(e) && e !== xt && e !== tn && e !== ze;
2435
+ return Ge(e) && e !== xt && e !== tl && e !== ze;
2435
2436
  }
2436
- function Gt(e, i, t) {
2437
+ function Jt(e, i, t) {
2437
2438
  var a = zt(e), r = a && !tt(e);
2438
2439
  return (
2439
2440
  // ns-plain-safe
2440
2441
  (t ? (
2441
2442
  // c = flow-in
2442
2443
  a
2443
- ) : a && e !== Gi && e !== Ji && e !== Wi && e !== Yi && e !== Zi) && e !== ft && !(i === et && !r) || zt(i) && !tt(i) && e === ft || i === et && r
2444
+ ) : 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
2445
  );
2445
2446
  }
2446
- function Sn(e) {
2447
- return Je(e) && e !== xt && !tt(e) && e !== un && e !== fn && e !== et && e !== Gi && e !== Ji && 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;
2447
+ function Cl(e) {
2448
+ 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;
2448
2449
  }
2449
- function In(e) {
2450
+ function Sl(e) {
2450
2451
  return !tt(e) && e !== et;
2451
2452
  }
2452
2453
  function Pe(e, i) {
@@ -2457,43 +2458,43 @@ function Qi(e) {
2457
2458
  var i = /^\n* /;
2458
2459
  return i.test(e);
2459
2460
  }
2460
- var Xi = 1, gt = 2, ea = 3, ta = 4, Ee = 5;
2461
- function An(e, i, t, a, r, o, l, n) {
2462
- var u, d = 0, f = null, p = !1, w = !1, b = a !== -1, S = -1, k = Sn(Pe(e, 0)) && In(Pe(e, e.length - 1));
2463
- if (i || l)
2461
+ var Xi = 1, gt = 2, ea = 3, ta = 4, je = 5;
2462
+ function Il(e, i, t, a, r, o, n, l) {
2463
+ var u, d = 0, f = null, p = !1, w = !1, b = a !== -1, I = -1, k = Cl(Pe(e, 0)) && Sl(Pe(e, e.length - 1));
2464
+ if (i || n)
2464
2465
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2465
- if (d = Pe(e, u), !Je(d))
2466
- return Ee;
2467
- k = k && Gt(d, f, n), f = d;
2466
+ if (d = Pe(e, u), !Ge(d))
2467
+ return je;
2468
+ k = k && Jt(d, f, l), f = d;
2468
2469
  }
2469
2470
  else {
2470
2471
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2471
2472
  if (d = Pe(e, u), d === ze)
2472
2473
  p = !0, b && (w = w || // Foldable line = too long, and not more-indented.
2473
- u - S - 1 > a && e[S + 1] !== " ", S = u);
2474
- else if (!Je(d))
2475
- return Ee;
2476
- k = k && Gt(d, f, n), f = d;
2474
+ u - I - 1 > a && e[I + 1] !== " ", I = u);
2475
+ else if (!Ge(d))
2476
+ return je;
2477
+ k = k && Jt(d, f, l), f = d;
2477
2478
  }
2478
- w = w || b && u - S - 1 > a && e[S + 1] !== " ";
2479
+ w = w || b && u - I - 1 > a && e[I + 1] !== " ";
2479
2480
  }
2480
- return !p && !w ? k && !l && !r(e) ? Xi : o === Ge ? Ee : gt : t > 9 && Qi(e) ? Ee : l ? o === Ge ? Ee : gt : w ? ta : ea;
2481
+ return !p && !w ? k && !n && !r(e) ? Xi : o === Je ? je : gt : t > 9 && Qi(e) ? je : n ? o === Je ? je : gt : w ? ta : ea;
2481
2482
  }
2482
- function xn(e, i, t, a, r) {
2483
+ function Al(e, i, t, a, r) {
2483
2484
  e.dump = function() {
2484
2485
  if (i.length === 0)
2485
- return e.quotingType === Ge ? '""' : "''";
2486
- if (!e.noCompatMode && (vn.indexOf(i) !== -1 || hn.test(i)))
2487
- return e.quotingType === Ge ? '"' + i + '"' : "'" + i + "'";
2488
- 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;
2486
+ return e.quotingType === Je ? '""' : "''";
2487
+ if (!e.noCompatMode && (yl.indexOf(i) !== -1 || vl.test(i)))
2488
+ return e.quotingType === Je ? '"' + i + '"' : "'" + i + "'";
2489
+ 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;
2489
2490
  function u(d) {
2490
- return Cn(e, d);
2491
+ return kl(e, d);
2491
2492
  }
2492
- switch (An(
2493
+ switch (Il(
2493
2494
  i,
2494
- n,
2495
- e.indent,
2496
2495
  l,
2496
+ e.indent,
2497
+ n,
2497
2498
  u,
2498
2499
  e.quotingType,
2499
2500
  e.forceQuotes && !a,
@@ -2504,17 +2505,17 @@ function xn(e, i, t, a, r) {
2504
2505
  case gt:
2505
2506
  return "'" + i.replace(/'/g, "''") + "'";
2506
2507
  case ea:
2507
- return "|" + Jt(i, e.indent) + Wt(Ht(i, o));
2508
+ return "|" + Gt(i, e.indent) + Wt(Ht(i, o));
2508
2509
  case ta:
2509
- return ">" + Jt(i, e.indent) + Wt(Ht(Tn(i, l), o));
2510
- case Ee:
2511
- return '"' + $n(i) + '"';
2510
+ return ">" + Gt(i, e.indent) + Wt(Ht(xl(i, n), o));
2511
+ case je:
2512
+ return '"' + Tl(i) + '"';
2512
2513
  default:
2513
2514
  throw new fe("impossible error: invalid scalar style");
2514
2515
  }
2515
2516
  }();
2516
2517
  }
2517
- function Jt(e, i) {
2518
+ function Gt(e, i) {
2518
2519
  var t = Qi(e) ? String(i) : "", a = e[e.length - 1] === `
2519
2520
  `, r = a && (e[e.length - 2] === `
2520
2521
  ` || e === `
@@ -2526,15 +2527,15 @@ function Wt(e) {
2526
2527
  return e[e.length - 1] === `
2527
2528
  ` ? e.slice(0, -1) : e;
2528
2529
  }
2529
- function Tn(e, i) {
2530
+ function xl(e, i) {
2530
2531
  for (var t = /(\n+)([^\n]*)/g, a = function() {
2531
2532
  var d = e.indexOf(`
2532
2533
  `);
2533
2534
  return d = d !== -1 ? d : e.length, t.lastIndex = d, Yt(e.slice(0, d), i);
2534
2535
  }(), r = e[0] === `
2535
- ` || e[0] === " ", o, l; l = t.exec(e); ) {
2536
- var n = l[1], u = l[2];
2537
- o = u[0] === " ", a += n + (!r && !o && u !== "" ? `
2536
+ ` || e[0] === " ", o, n; n = t.exec(e); ) {
2537
+ var l = n[1], u = n[2];
2538
+ o = u[0] === " ", a += l + (!r && !o && u !== "" ? `
2538
2539
  ` : "") + Yt(u, i), r = o;
2539
2540
  }
2540
2541
  return a;
@@ -2542,83 +2543,83 @@ function Tn(e, i) {
2542
2543
  function Yt(e, i) {
2543
2544
  if (e === "" || e[0] === " ")
2544
2545
  return e;
2545
- for (var t = / [^ ]/g, a, r = 0, o, l = 0, n = 0, u = ""; a = t.exec(e); )
2546
- n = a.index, n - r > i && (o = l > r ? l : n, u += `
2547
- ` + e.slice(r, o), r = o + 1), l = n;
2546
+ for (var t = / [^ ]/g, a, r = 0, o, n = 0, l = 0, u = ""; a = t.exec(e); )
2547
+ l = a.index, l - r > i && (o = n > r ? n : l, u += `
2548
+ ` + e.slice(r, o), r = o + 1), n = l;
2548
2549
  return u += `
2549
- `, e.length - r > i && l > r ? u += e.slice(r, l) + `
2550
- ` + e.slice(l + 1) : u += e.slice(r), u.slice(1);
2550
+ `, e.length - r > i && n > r ? u += e.slice(r, n) + `
2551
+ ` + e.slice(n + 1) : u += e.slice(r), u.slice(1);
2551
2552
  }
2552
- function $n(e) {
2553
+ function Tl(e) {
2553
2554
  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 && Je(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || wn(t);
2555
+ t = Pe(e, r), a = pe[t], !a && Ge(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || bl(t);
2555
2556
  return i;
2556
2557
  }
2557
- function Mn(e, i, t) {
2558
- var a = "", r = e.tag, o, l, n;
2559
- for (o = 0, l = t.length; o < l; o += 1)
2560
- 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);
2558
+ function $l(e, i, t) {
2559
+ var a = "", r = e.tag, o, n, l;
2560
+ for (o = 0, n = t.length; o < n; o += 1)
2561
+ 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);
2561
2562
  e.tag = r, e.dump = "[" + a + "]";
2562
2563
  }
2563
2564
  function Zt(e, i, t, a) {
2564
- var r = "", o = e.tag, l, n, u;
2565
- for (l = 0, n = t.length; l < n; l += 1)
2566
- 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);
2565
+ var r = "", o = e.tag, n, l, u;
2566
+ for (n = 0, l = t.length; n < l; n += 1)
2567
+ 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
2568
  e.tag = o, e.dump = r || "[]";
2568
2569
  }
2569
- function jn(e, i, t) {
2570
- var a = "", r = e.tag, o = Object.keys(t), l, n, u, d, f;
2571
- for (l = 0, n = o.length; l < n; l += 1)
2572
- 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));
2570
+ function Ml(e, i, t) {
2571
+ var a = "", r = e.tag, o = Object.keys(t), n, l, u, d, f;
2572
+ for (n = 0, l = o.length; n < l; n += 1)
2573
+ 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));
2573
2574
  e.tag = r, e.dump = "{" + a + "}";
2574
2575
  }
2575
- function En(e, i, t, a) {
2576
- var r = "", o = e.tag, l = Object.keys(t), n, u, d, f, p, w;
2576
+ function El(e, i, t, a) {
2577
+ var r = "", o = e.tag, n = Object.keys(t), l, u, d, f, p, w;
2577
2578
  if (e.sortKeys === !0)
2578
- l.sort();
2579
+ n.sort();
2579
2580
  else if (typeof e.sortKeys == "function")
2580
- l.sort(e.sortKeys);
2581
+ n.sort(e.sortKeys);
2581
2582
  else if (e.sortKeys)
2582
2583
  throw new fe("sortKeys must be a boolean or a function");
2583
- for (n = 0, u = l.length; n < u; n += 1)
2584
- 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));
2584
+ for (l = 0, u = n.length; l < u; l += 1)
2585
+ 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));
2585
2586
  e.tag = o, e.dump = r || "{}";
2586
2587
  }
2587
2588
  function Qt(e, i, t) {
2588
- var a, r, o, l, n, u;
2589
- for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, l = r.length; o < l; o += 1)
2590
- if (n = r[o], (n.instanceOf || n.predicate) && (!n.instanceOf || typeof i == "object" && i instanceof n.instanceOf) && (!n.predicate || n.predicate(i))) {
2591
- if (t ? n.multi && n.representName ? e.tag = n.representName(i) : e.tag = n.tag : e.tag = "?", n.represent) {
2592
- if (u = e.styleMap[n.tag] || n.defaultStyle, Hi.call(n.represent) === "[object Function]")
2593
- a = n.represent(i, u);
2594
- else if (zi.call(n.represent, u))
2595
- a = n.represent[u](i, u);
2589
+ var a, r, o, n, l, u;
2590
+ for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, n = r.length; o < n; o += 1)
2591
+ if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof i == "object" && i instanceof l.instanceOf) && (!l.predicate || l.predicate(i))) {
2592
+ if (t ? l.multi && l.representName ? e.tag = l.representName(i) : e.tag = l.tag : e.tag = "?", l.represent) {
2593
+ if (u = e.styleMap[l.tag] || l.defaultStyle, Hi.call(l.represent) === "[object Function]")
2594
+ a = l.represent(i, u);
2595
+ else if (zi.call(l.represent, u))
2596
+ a = l.represent[u](i, u);
2596
2597
  else
2597
- throw new fe("!<" + n.tag + '> tag resolver accepts not "' + u + '" style');
2598
+ throw new fe("!<" + l.tag + '> tag resolver accepts not "' + u + '" style');
2598
2599
  e.dump = a;
2599
2600
  }
2600
2601
  return !0;
2601
2602
  }
2602
2603
  return !1;
2603
2604
  }
2604
- function _e(e, i, t, a, r, o, l) {
2605
+ function _e(e, i, t, a, r, o, n) {
2605
2606
  e.tag = null, e.dump = t, Qt(e, t, !1) || Qt(e, t, !0);
2606
- var n = Hi.call(e.dump), u = a, d;
2607
+ var l = Hi.call(e.dump), u = a, d;
2607
2608
  a && (a = e.flowLevel < 0 || e.flowLevel > i);
2608
- var f = n === "[object Object]" || n === "[object Array]", p, w;
2609
+ var f = l === "[object Object]" || l === "[object Array]", p, w;
2609
2610
  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
2611
  e.dump = "*ref_" + p;
2611
2612
  else {
2612
- if (f && w && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), n === "[object Object]")
2613
- 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));
2614
- else if (n === "[object Array]")
2615
- 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));
2616
- else if (n === "[object String]")
2617
- e.tag !== "?" && xn(e, e.dump, i, o, u);
2613
+ if (f && w && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), l === "[object Object]")
2614
+ a && Object.keys(e.dump).length !== 0 ? (El(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (Ml(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2615
+ else if (l === "[object Array]")
2616
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !n && i > 0 ? Zt(e, i - 1, e.dump, r) : Zt(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : ($l(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2617
+ else if (l === "[object String]")
2618
+ e.tag !== "?" && Al(e, e.dump, i, o, u);
2618
2619
  else {
2619
- if (n === "[object Undefined]" || e.skipInvalid)
2620
+ if (l === "[object Undefined]" || e.skipInvalid)
2620
2621
  return !1;
2621
- throw new fe("unacceptable kind of an object to dump " + n);
2622
+ throw new fe("unacceptable kind of an object to dump " + l);
2622
2623
  }
2623
2624
  e.tag !== null && e.tag !== "?" && (d = encodeURI(
2624
2625
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -2626,7 +2627,7 @@ function _e(e, i, t, a, r, o, l) {
2626
2627
  }
2627
2628
  return !0;
2628
2629
  }
2629
- function On(e, i) {
2630
+ function jl(e, i) {
2630
2631
  var t = [], a = [], r, o;
2631
2632
  for (yt(e, t, a), r = 0, o = a.length; r < o; r += 1)
2632
2633
  i.duplicates.push(t[a[r]]);
@@ -2644,24 +2645,24 @@ function yt(e, i, t) {
2644
2645
  for (a = Object.keys(e), r = 0, o = a.length; r < o; r += 1)
2645
2646
  yt(e[a[r]], i, t);
2646
2647
  }
2647
- function Vn(e, i) {
2648
+ function Ol(e, i) {
2648
2649
  i = i || {};
2649
- var t = new kn(i);
2650
- t.noRefs || On(e, t);
2650
+ var t = new _l(i);
2651
+ t.noRefs || jl(e, t);
2651
2652
  var a = e;
2652
2653
  return t.replacer && (a = t.replacer.call({ "": a }, "", a)), _e(t, 0, a, !0, !0) ? t.dump + `
2653
2654
  ` : "";
2654
2655
  }
2655
- var Fn = Vn, Nn = {
2656
- dump: Fn
2656
+ var Vl = Ol, Fl = {
2657
+ dump: Vl
2657
2658
  };
2658
2659
  function Tt(e, i) {
2659
2660
  return function() {
2660
2661
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + i + " instead, which is now safe by default.");
2661
2662
  };
2662
2663
  }
2663
- var Kn = ue, Ln = vi, qn = _i, Bn = Ai, Pn = xi, Un = St, Rn = Di.load, Dn = Di.loadAll, Hn = Nn.dump, zn = fe, Gn = {
2664
- binary: Ei,
2664
+ var Nl = ue, Kl = vi, Ll = _i, ql = Ai, Bl = xi, Pl = St, Ul = Di.load, Rl = Di.loadAll, Dl = Fl.dump, Hl = fe, zl = {
2665
+ binary: ji,
2665
2666
  float: Ii,
2666
2667
  map: wi,
2667
2668
  null: ki,
@@ -2670,39 +2671,39 @@ var Kn = ue, Ln = vi, qn = _i, Bn = Ai, Pn = xi, Un = St, Rn = Di.load, Dn = Di.
2670
2671
  timestamp: Mi,
2671
2672
  bool: Ci,
2672
2673
  int: Si,
2673
- merge: ji,
2674
+ merge: Ei,
2674
2675
  omap: Oi,
2675
2676
  seq: bi,
2676
2677
  str: hi
2677
- }, Jn = Tt("safeLoad", "load"), Wn = Tt("safeLoadAll", "loadAll"), Yn = Tt("safeDump", "dump"), Zn = {
2678
- Type: Kn,
2679
- Schema: Ln,
2680
- FAILSAFE_SCHEMA: qn,
2681
- JSON_SCHEMA: Bn,
2682
- CORE_SCHEMA: Pn,
2683
- DEFAULT_SCHEMA: Un,
2684
- load: Rn,
2685
- loadAll: Dn,
2686
- dump: Hn,
2687
- YAMLException: zn,
2688
- types: Gn,
2689
- safeLoad: Jn,
2690
- safeLoadAll: Wn,
2691
- safeDump: Yn
2678
+ }, Jl = Tt("safeLoad", "load"), Gl = Tt("safeLoadAll", "loadAll"), Wl = Tt("safeDump", "dump"), Yl = {
2679
+ Type: Nl,
2680
+ Schema: Kl,
2681
+ FAILSAFE_SCHEMA: Ll,
2682
+ JSON_SCHEMA: ql,
2683
+ CORE_SCHEMA: Bl,
2684
+ DEFAULT_SCHEMA: Pl,
2685
+ load: Ul,
2686
+ loadAll: Rl,
2687
+ dump: Dl,
2688
+ YAMLException: Hl,
2689
+ types: zl,
2690
+ safeLoad: Jl,
2691
+ safeLoadAll: Gl,
2692
+ safeDump: Wl
2692
2693
  };
2693
- const Qn = {
2694
+ const Zl = {
2694
2695
  key: 0,
2695
2696
  class: "config-card-display-form"
2696
- }, Xn = ["data-testid"], el = {
2697
+ }, Ql = ["data-testid"], Xl = {
2697
2698
  key: 0,
2698
2699
  class: "config-card-prop-section-title"
2699
- }, tl = {
2700
+ }, en = {
2700
2701
  key: 1,
2701
2702
  class: "config-card-display-json"
2702
- }, il = {
2703
+ }, tn = {
2703
2704
  key: 2,
2704
2705
  class: "config-card-display-yaml"
2705
- }, al = /* @__PURE__ */ ae({
2706
+ }, an = /* @__PURE__ */ ae({
2706
2707
  __name: "ConfigCardDisplay",
2707
2708
  props: {
2708
2709
  propertyCollections: {
@@ -2728,31 +2729,31 @@ const Qn = {
2728
2729
  }
2729
2730
  },
2730
2731
  setup(e) {
2731
- const i = e, t = it(), { i18n: { t: a } } = le.useI18n(), r = (n) => !!(n.tooltip || t[`${n.key}-label-tooltip`]), o = N(""), l = N("");
2732
- return be(() => i.format, (n) => {
2733
- if (n !== "structured") {
2732
+ const i = e, t = it(), { i18n: { t: a } } = ne.useI18n(), r = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), o = N(""), n = N("");
2733
+ return be(() => i.format, (l) => {
2734
+ if (l !== "structured") {
2734
2735
  const u = JSON.parse(JSON.stringify(i.record));
2735
- 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
+ delete u.created_at, delete u.updated_at, l === "json" ? o.value = JSON.stringify(u, null, 2) : l === "yaml" && (n.value = Yl.dump(u));
2736
2737
  }
2737
- }, { immediate: !0 }), (n, u) => {
2738
+ }, { immediate: !0 }), (l, u) => {
2738
2739
  const d = L("KCodeBlock");
2739
2740
  return h(), M(ye, null, [
2740
- e.format === "structured" ? (h(), M("div", Qn, [
2741
+ e.format === "structured" ? (h(), M("div", Zl, [
2741
2742
  (h(!0), M(ye, null, ge(e.propListTypes, (f) => (h(), M("div", {
2742
2743
  key: `config-card-details-${f}-props`,
2743
2744
  class: $e(`config-card-details-${f}-props`),
2744
2745
  "data-testid": `config-card-details-${f}-props`
2745
2746
  }, [
2746
- f !== "basic" ? (h(), M("div", el, V(f === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2747
+ f !== "basic" ? (h(), M("div", Xl, V(f === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2747
2748
  (h(!0), M(ye, null, ge(e.propertyCollections[f], (p) => (h(), P(kt, {
2748
2749
  key: p.key,
2749
2750
  item: p
2750
2751
  }, xe({
2751
2752
  label: y(() => [
2752
- Z(n.$slots, `${p.key}-label`, { row: p }, void 0, !0)
2753
+ Z(l.$slots, `${p.key}-label`, { row: p }, void 0, !0)
2753
2754
  ]),
2754
2755
  [p.key]: y(({ rowValue: w }) => [
2755
- Z(n.$slots, p.key, {
2756
+ Z(l.$slots, p.key, {
2756
2757
  row: p,
2757
2758
  rowValue: w
2758
2759
  }, void 0, !0)
@@ -2762,25 +2763,25 @@ const Qn = {
2762
2763
  r(p) ? {
2763
2764
  name: "label-tooltip",
2764
2765
  fn: y(() => [
2765
- Z(n.$slots, `${p.key}-label-tooltip`, { row: p }, void 0, !0)
2766
+ Z(l.$slots, `${p.key}-label-tooltip`, { row: p }, void 0, !0)
2766
2767
  ]),
2767
2768
  key: "0"
2768
2769
  } : void 0
2769
2770
  ]), 1032, ["item"]))), 128))
2770
- ], 10, Xn))), 128))
2771
+ ], 10, Ql))), 128))
2771
2772
  ])) : D("", !0),
2772
- e.format === "json" ? (h(), M("div", tl, [
2773
- C(d, {
2773
+ e.format === "json" ? (h(), M("div", en, [
2774
+ S(d, {
2774
2775
  id: "config-card-codeblock",
2775
2776
  code: o.value,
2776
2777
  language: "json",
2777
2778
  theme: "dark"
2778
2779
  }, null, 8, ["code"])
2779
2780
  ])) : D("", !0),
2780
- e.format === "yaml" ? (h(), M("div", il, [
2781
- C(d, {
2781
+ e.format === "yaml" ? (h(), M("div", tn, [
2782
+ S(d, {
2782
2783
  id: "config-card-codeblock",
2783
- code: l.value,
2784
+ code: n.value,
2784
2785
  language: "yaml",
2785
2786
  theme: "dark"
2786
2787
  }, null, 8, ["code"])
@@ -2788,18 +2789,18 @@ const Qn = {
2788
2789
  ], 64);
2789
2790
  };
2790
2791
  }
2791
- }), rl = /* @__PURE__ */ ve(al, [["__scopeId", "data-v-c914c7e4"]]), Xt = "24px", ol = (e, i) => {
2792
+ }), rn = /* @__PURE__ */ ve(an, [["__scopeId", "data-v-c914c7e4"]]), Xt = "24px", on = (e, i) => {
2792
2793
  const t = e.__vccOpts || e;
2793
2794
  for (const [a, r] of i)
2794
2795
  t[a] = r;
2795
2796
  return t;
2796
- }, nl = (e) => (oi("data-v-4c9d405a"), e = e(), ni(), e), ll = ["aria-hidden"], sl = {
2797
+ }, ln = (e) => (oi("data-v-a53b73fd"), e = e(), li(), e), nn = ["aria-hidden"], sn = {
2797
2798
  key: 0,
2798
2799
  "data-testid": "kui-icon-svg-title"
2799
- }, cl = /* @__PURE__ */ nl(() => /* @__PURE__ */ F("path", {
2800
+ }, cn = /* @__PURE__ */ ln(() => /* @__PURE__ */ F("path", {
2800
2801
  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
2802
  fill: "currentColor"
2802
- }, null, -1)), ul = /* @__PURE__ */ ae({
2803
+ }, null, -1)), un = /* @__PURE__ */ ae({
2803
2804
  __name: "BookIcon",
2804
2805
  props: {
2805
2806
  /** The accessibility text provided to screen readers */
@@ -2885,23 +2886,23 @@ const Qn = {
2885
2886
  width: "100%",
2886
2887
  xmlns: "http://www.w3.org/2000/svg"
2887
2888
  }, [
2888
- e.title ? (h(), M("title", sl, V(e.title), 1)) : D("", !0),
2889
- cl
2890
- ], 8, ll))
2889
+ e.title ? (h(), M("title", sn, V(e.title), 1)) : D("", !0),
2890
+ cn
2891
+ ], 8, nn))
2891
2892
  ]),
2892
2893
  _: 1
2893
2894
  }, 8, ["aria-hidden", "style"]));
2894
2895
  }
2895
- }), dl = /* @__PURE__ */ ol(ul, [["__scopeId", "data-v-4c9d405a"]]), pl = { "data-testid": "config-card-title" }, fl = { class: "config-card-actions" }, ml = ["href"], gl = {
2896
+ }), dn = /* @__PURE__ */ on(un, [["__scopeId", "data-v-a53b73fd"]]), pn = { "data-testid": "config-card-title" }, fn = { class: "config-card-actions" }, mn = ["href"], gn = {
2896
2897
  key: 2,
2897
2898
  class: "config-card-details-section"
2898
- }, yl = {
2899
+ }, yn = {
2899
2900
  key: 3,
2900
2901
  class: "config-card-details-section"
2901
- }, vl = ["data-testid"], hl = {
2902
+ }, vn = ["data-testid"], hn = {
2902
2903
  key: 0,
2903
2904
  class: "config-card-prop-section-title"
2904
- }, bl = /* @__PURE__ */ ae({
2905
+ }, bn = /* @__PURE__ */ ae({
2905
2906
  __name: "EntityBaseConfigCard",
2906
2907
  props: {
2907
2908
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2976,7 +2977,7 @@ const Qn = {
2976
2977
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2977
2978
  setup(e, { emit: i }) {
2978
2979
  var t;
2979
- const a = e, r = it(), { i18n: { t: o } } = le.useI18n(), { getMessageFromError: l } = le.useErrors(), { convertKeyToTitle: n } = le.useStringHelpers(), { axiosInstance: u } = le.useAxios({
2980
+ const a = e, r = it(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: n } = ne.useErrors(), { convertKeyToTitle: l } = ne.useStringHelpers(), { axiosInstance: u } = ne.useAxios({
2980
2981
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
2981
2982
  }), d = [
2982
2983
  {
@@ -2992,8 +2993,8 @@ const Qn = {
2992
2993
  label: "YAML",
2993
2994
  value: "yaml"
2994
2995
  }
2995
- ], f = N("structured"), p = (A) => {
2996
- f.value = A == null ? void 0 : A.value;
2996
+ ], f = N("structured"), p = (x) => {
2997
+ f.value = x == null ? void 0 : x.value;
2997
2998
  }, w = {
2998
2999
  id: {
2999
3000
  type: ee.ID,
@@ -3028,13 +3029,13 @@ const Qn = {
3028
3029
  // the last property displayed
3029
3030
  section: de.Basic
3030
3031
  }
3031
- }, b = N(!1), S = N(!1), k = N(""), v = N(), $ = T(() => {
3032
- var A, q, U;
3032
+ }, b = N(!1), I = N(!1), k = N(""), v = N(), $ = T(() => {
3033
+ var x, q, U;
3033
3034
  if (!v.value)
3034
3035
  return [];
3035
3036
  const K = [], H = Object.keys(v.value).length;
3036
3037
  for (const R in v.value) {
3037
- const Q = (q = (A = a.configSchema) == null ? void 0 : A[R]) == null ? void 0 : q.order, z = (U = w[R]) == null ? void 0 : U.order;
3038
+ const Q = (q = (x = a.configSchema) == null ? void 0 : x[R]) == null ? void 0 : q.order, z = (U = w[R]) == null ? void 0 : U.order;
3038
3039
  let ie = H;
3039
3040
  (z || z === 0) && (ie = z === -1 ? H + 1 : z), Q && (ie = Q === -1 ? H + 1 : Q), K.push([R, ie]);
3040
3041
  }
@@ -3048,18 +3049,18 @@ const Qn = {
3048
3049
  value: Y,
3049
3050
  hidden: X.hidden || !1,
3050
3051
  type: X.type ?? ((ce == null ? void 0 : ce.type) || ee.Text),
3051
- label: X.label ?? ((ce == null ? void 0 : ce.label) || n(ie)),
3052
+ label: X.label ?? ((ce == null ? void 0 : ce.label) || l(ie)),
3052
3053
  tooltip: X.tooltip ?? ((ce == null ? void 0 : ce.tooltip) || void 0),
3053
3054
  section: X.section ?? ((ce == null ? void 0 : ce.section) || de.Advanced)
3054
3055
  };
3055
3056
  }).filter((R) => !R.hidden && R.key !== a.pluginConfigKey);
3056
3057
  }), s = T(() => {
3057
- var A, q;
3058
+ var x, q;
3058
3059
  if (!v.value || !a.pluginConfigKey)
3059
3060
  return [];
3060
3061
  const U = v.value[a.pluginConfigKey] || {}, K = Object.keys(U).length, H = [];
3061
3062
  for (const R in U) {
3062
- const Q = (q = (A = a.pluginConfigSchema) == null ? void 0 : A[R]) == null ? void 0 : q.order, z = U[R];
3063
+ const Q = (q = (x = a.pluginConfigSchema) == null ? void 0 : x[R]) == null ? void 0 : q.order, z = U[R];
3063
3064
  let ie = z != null && z !== "" ? K - 1 : K;
3064
3065
  Q && (ie = Q === -1 ? K + 1 : Q), H.push([R, ie]);
3065
3066
  }
@@ -3073,63 +3074,63 @@ const Qn = {
3073
3074
  value: ie,
3074
3075
  hidden: Y.hidden || !1,
3075
3076
  type: Y.type ?? ee.Text,
3076
- label: Y.label ?? n(z),
3077
+ label: Y.label ?? l(z),
3077
3078
  tooltip: Y.tooltip ?? void 0,
3078
3079
  section: de.Plugin
3079
3080
  };
3080
3081
  }).filter((R) => !R.hidden);
3081
- }), E = T(() => {
3082
- var A, q, U, K;
3082
+ }), j = T(() => {
3083
+ var x, q, U, K;
3083
3084
  return {
3084
- basic: (A = $.value) == null ? void 0 : A.filter((H) => H.section === de.Basic),
3085
+ basic: (x = $.value) == null ? void 0 : x.filter((H) => H.section === de.Basic),
3085
3086
  advanced: (q = $.value) == null ? void 0 : q.filter((H) => H.section === de.Advanced),
3086
3087
  plugin: (K = s.value) == null ? void 0 : K.concat((U = $.value) == null ? void 0 : U.filter((H) => H.section === de.Plugin))
3087
3088
  };
3088
- }), x = T(() => {
3089
- const A = [];
3090
- return E.value.basic.length && A.push("basic"), E.value.advanced.length && A.push("advanced"), E.value.plugin.length && A.push("plugin"), A;
3091
- }), B = (A) => !!(A.tooltip || r[`${A.key}-label-tooltip`]), re = T(() => {
3092
- var A, q;
3089
+ }), C = T(() => {
3090
+ const x = [];
3091
+ return j.value.basic.length && x.push("basic"), j.value.advanced.length && x.push("advanced"), j.value.plugin.length && x.push("plugin"), x;
3092
+ }), B = (x) => !!(x.tooltip || r[`${x.key}-label-tooltip`]), re = T(() => {
3093
+ var x, q;
3093
3094
  let U = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3094
- return a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((A = a.config) == null ? void 0 : A.controlPlaneId) || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (q = a.config) != null && q.workspace ? `/${a.config.workspace}` : "")), U = U.replace(/{id}/gi, a.config.entityId), U;
3095
- }), W = (A) => {
3096
- v.value && A(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3095
+ return a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((x = a.config) == null ? void 0 : x.controlPlaneId) || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (q = a.config) != null && q.workspace ? `/${a.config.workspace}` : "")), U = U.replace(/{id}/gi, a.config.entityId), U;
3096
+ }), W = (x) => {
3097
+ v.value && x(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3097
3098
  };
3098
- return be(b, (A) => {
3099
- i("loading", A);
3099
+ return be(b, (x) => {
3100
+ i("loading", x);
3100
3101
  }, { immediate: !0 }), vt(async () => {
3101
- S.value = !1, b.value = !0;
3102
+ I.value = !1, b.value = !0;
3102
3103
  try {
3103
- const { data: A } = await u.get(re.value);
3104
+ const { data: x } = await u.get(re.value);
3104
3105
  if (a.dataKey)
3105
- if (typeof A[a.dataKey] < "u")
3106
- v.value = { ...A[a.dataKey] };
3106
+ if (typeof x[a.dataKey] < "u")
3107
+ v.value = { ...x[a.dataKey] };
3107
3108
  else
3108
3109
  throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3109
3110
  else
3110
- v.value = { ...A };
3111
+ v.value = { ...x };
3111
3112
  Object.keys(a.configSchema).filter((q) => a.configSchema[q].forceShow).forEach((q) => {
3112
3113
  v.value && typeof v.value[q] > "u" && (v.value[q] = null);
3113
- }), i("fetch:success", A);
3114
- } catch (A) {
3115
- const q = l(A);
3116
- k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, S.value = !0, i("fetch:error", A);
3114
+ }), i("fetch:success", x);
3115
+ } catch (x) {
3116
+ const q = n(x);
3117
+ k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, I.value = !0, i("fetch:error", x);
3117
3118
  } finally {
3118
3119
  b.value = !1;
3119
3120
  }
3120
- }), (A, q) => {
3121
+ }), (x, q) => {
3121
3122
  const U = L("KLabel"), K = L("KSelect"), H = L("KButton"), R = L("KClipboardProvider"), Q = L("KSkeleton"), z = L("KEmptyState"), ie = L("KCard");
3122
3123
  return h(), P(ie, { class: "kong-ui-entity-base-config-card" }, xe({
3123
3124
  actions: y(() => [
3124
- F("div", fl, [
3125
- Z(A.$slots, "actions", {}, void 0, !0),
3125
+ F("div", fn, [
3126
+ Z(x.$slots, "actions", {}, void 0, !0),
3126
3127
  e.config.jsonYamlEnabled ? (h(), P(U, {
3127
3128
  key: 0,
3128
3129
  class: "config-format-select-label",
3129
3130
  "data-testid": "config-format-select-label"
3130
3131
  }, {
3131
3132
  default: y(() => [
3132
- G(V(e.label), 1)
3133
+ J(V(e.label), 1)
3133
3134
  ]),
3134
3135
  _: 1
3135
3136
  })) : D("", !0),
@@ -3152,21 +3153,21 @@ const Qn = {
3152
3153
  rel: "noopener",
3153
3154
  target: "_blank"
3154
3155
  }, [
3155
- C(m(dl), { size: m(vr) }, null, 8, ["size"])
3156
- ], 8, ml)
3156
+ S(m(dn), { size: m(vr) }, null, 8, ["size"])
3157
+ ], 8, mn)
3157
3158
  ]),
3158
3159
  _: 1
3159
3160
  })) : D("", !0),
3160
3161
  e.config.jsonYamlEnabled ? D("", !0) : (h(), P(R, { key: 3 }, {
3161
3162
  default: y(({ copyToClipboard: Y }) => [
3162
- !b.value && !S.value ? (h(), P(H, {
3163
+ !b.value && !I.value ? (h(), P(H, {
3163
3164
  key: 0,
3164
3165
  appearance: "tertiary",
3165
3166
  "data-testid": "json-copy-button",
3166
3167
  onClick: (X) => W(Y)
3167
3168
  }, {
3168
3169
  default: y(() => [
3169
- G(V(m(o)("baseConfigCard.actions.copy")), 1)
3170
+ J(V(m(o)("baseConfigCard.actions.copy")), 1)
3170
3171
  ]),
3171
3172
  _: 2
3172
3173
  }, 1032, ["onClick"])) : D("", !0)
@@ -3181,7 +3182,7 @@ const Qn = {
3181
3182
  "data-testid": "config-card-loader",
3182
3183
  "table-columns": 2,
3183
3184
  type: "table"
3184
- })) : S.value ? (h(), P(z, {
3185
+ })) : I.value ? (h(), P(z, {
3185
3186
  key: 1,
3186
3187
  "data-testid": "config-card-fetch-error",
3187
3188
  "is-error": ""
@@ -3191,39 +3192,39 @@ const Qn = {
3191
3192
  ]),
3192
3193
  _: 1
3193
3194
  })) : D("", !0),
3194
- e.config.jsonYamlEnabled ? (h(), M("div", gl, [
3195
- C(rl, {
3195
+ e.config.jsonYamlEnabled ? (h(), M("div", gn, [
3196
+ S(rn, {
3196
3197
  format: f.value,
3197
- "prop-list-types": x.value,
3198
- "property-collections": E.value,
3198
+ "prop-list-types": C.value,
3199
+ "property-collections": j.value,
3199
3200
  record: v.value
3200
3201
  }, xe({ _: 2 }, [
3201
- ge(Object.keys(A.$slots), (Y) => ({
3202
+ ge(Object.keys(x.$slots), (Y) => ({
3202
3203
  name: Y,
3203
3204
  fn: y(({ row: X, rowValue: ce }) => [
3204
- Z(A.$slots, Y, {
3205
+ Z(x.$slots, Y, {
3205
3206
  row: X,
3206
3207
  rowValue: ce
3207
3208
  }, void 0, !0)
3208
3209
  ])
3209
3210
  }))
3210
3211
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3211
- ])) : (h(), M("div", yl, [
3212
- (h(!0), M(ye, null, ge(x.value, (Y) => (h(), M("div", {
3212
+ ])) : (h(), M("div", yn, [
3213
+ (h(!0), M(ye, null, ge(C.value, (Y) => (h(), M("div", {
3213
3214
  key: `config-card-details-${Y}-props`,
3214
3215
  class: $e(`config-card-details-${Y}-props`),
3215
3216
  "data-testid": `config-card-details-${Y}-props`
3216
3217
  }, [
3217
- Y !== "basic" ? (h(), M("div", hl, 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, {
3218
+ Y !== "basic" ? (h(), M("div", hn, V(Y === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3219
+ (h(!0), M(ye, null, ge(j.value[Y], (X) => (h(), P(kt, {
3219
3220
  key: X.key,
3220
3221
  item: X
3221
3222
  }, xe({
3222
3223
  label: y(() => [
3223
- Z(A.$slots, `${X.key}-label`, { row: X }, void 0, !0)
3224
+ Z(x.$slots, `${X.key}-label`, { row: X }, void 0, !0)
3224
3225
  ]),
3225
3226
  [X.key]: y(({ rowValue: ce }) => [
3226
- Z(A.$slots, X.key, {
3227
+ Z(x.$slots, X.key, {
3227
3228
  row: X,
3228
3229
  rowValue: ce
3229
3230
  }, void 0, !0)
@@ -3233,12 +3234,12 @@ const Qn = {
3233
3234
  B(X) ? {
3234
3235
  name: "label-tooltip",
3235
3236
  fn: y(() => [
3236
- Z(A.$slots, `${X.key}-label-tooltip`, { row: X }, void 0, !0)
3237
+ Z(x.$slots, `${X.key}-label-tooltip`, { row: X }, void 0, !0)
3237
3238
  ]),
3238
3239
  key: "0"
3239
3240
  } : void 0
3240
3241
  ]), 1032, ["item"]))), 128))
3241
- ], 10, vl))), 128))
3242
+ ], 10, vn))), 128))
3242
3243
  ]))
3243
3244
  ]),
3244
3245
  _: 2
@@ -3246,9 +3247,9 @@ const Qn = {
3246
3247
  e.hideTitle ? void 0 : {
3247
3248
  name: "title",
3248
3249
  fn: y(() => [
3249
- F("div", pl, [
3250
- Z(A.$slots, "title", {}, () => [
3251
- G(V(m(o)("baseConfigCard.title")), 1)
3250
+ F("div", pn, [
3251
+ Z(x.$slots, "title", {}, () => [
3252
+ J(V(m(o)("baseConfigCard.title")), 1)
3252
3253
  ], !0)
3253
3254
  ])
3254
3255
  ]),
@@ -3257,10 +3258,10 @@ const Qn = {
3257
3258
  ]), 1024);
3258
3259
  };
3259
3260
  }
3260
- }), wl = /* @__PURE__ */ ve(bl, [["__scopeId", "data-v-bea4df63"]]), _l = ["onReset", "onSubmit"], kl = {
3261
+ }), wn = /* @__PURE__ */ ve(bn, [["__scopeId", "data-v-bea4df63"]]), _n = ["onReset", "onSubmit"], kn = {
3261
3262
  class: "form-actions",
3262
3263
  "data-testid": "form-actions"
3263
- }, Cl = /* @__PURE__ */ ae({
3264
+ }, Cn = /* @__PURE__ */ ae({
3264
3265
  __name: "EntityBaseForm",
3265
3266
  props: {
3266
3267
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3310,7 +3311,7 @@ const Qn = {
3310
3311
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3311
3312
  setup(e, { emit: i }) {
3312
3313
  var t;
3313
- const a = e, r = ht(), { i18n: { t: o } } = le.useI18n(), { getMessageFromError: l } = le.useErrors(), { axiosInstance: n } = le.useAxios({
3314
+ const a = e, r = ht(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: n } = ne.useErrors(), { axiosInstance: l } = ne.useAxios({
3314
3315
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3315
3316
  }), u = N(!1), d = N(!1), f = N(""), p = T(() => a.canSubmit === !1 || a.isReadonly), w = T(() => {
3316
3317
  var v, $;
@@ -3319,8 +3320,8 @@ const Qn = {
3319
3320
  let s = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3320
3321
  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
3322
  }), b = () => {
3322
- a.config.cancelRoute ? r.push(a.config.cancelRoute) : S();
3323
- }, S = () => {
3323
+ a.config.cancelRoute ? r.push(a.config.cancelRoute) : I();
3324
+ }, I = () => {
3324
3325
  i("cancel");
3325
3326
  }, k = () => {
3326
3327
  p.value || i("submit");
@@ -3331,22 +3332,22 @@ const Qn = {
3331
3332
  if (a.editId)
3332
3333
  try {
3333
3334
  d.value = !1, u.value = !0;
3334
- const { data: v } = await n.get(w.value);
3335
+ const { data: v } = await l.get(w.value);
3335
3336
  i("fetch:success", v);
3336
3337
  } catch (v) {
3337
- const $ = l(v);
3338
+ const $ = n(v);
3338
3339
  f.value = $.startsWith("code") ? o("baseForm.errors.edit") : $, d.value = !0, i("fetch:error", v);
3339
3340
  } finally {
3340
3341
  u.value = !1;
3341
3342
  }
3342
3343
  }), (v, $) => {
3343
- const s = L("KSkeleton"), E = L("KEmptyState"), x = L("KAlert"), B = L("KButton"), re = L("KCard");
3344
+ const s = L("KSkeleton"), j = L("KEmptyState"), C = L("KAlert"), B = L("KButton"), re = L("KCard");
3344
3345
  return h(), P(re, { class: "kong-ui-entity-base-form" }, {
3345
3346
  default: y(() => [
3346
3347
  u.value ? (h(), P(s, {
3347
3348
  key: 0,
3348
3349
  type: "form"
3349
- })) : d.value ? (h(), P(E, {
3350
+ })) : d.value ? (h(), P(j, {
3350
3351
  key: 1,
3351
3352
  "cta-text": m(o)("baseForm.actions.back"),
3352
3353
  "data-testid": "form-fetch-error",
@@ -3360,52 +3361,52 @@ const Qn = {
3360
3361
  }, 8, ["cta-text"])) : (h(), M("form", {
3361
3362
  key: 2,
3362
3363
  "data-testid": "form-content",
3363
- onReset: Fe(S, ["prevent"]),
3364
+ onReset: Fe(I, ["prevent"]),
3364
3365
  onSubmit: Fe(k, ["prevent"])
3365
3366
  }, [
3366
3367
  Z(v.$slots, "default", {}, void 0, !0),
3367
- e.errorMessage ? (h(), P(x, {
3368
+ e.errorMessage ? (h(), P(C, {
3368
3369
  key: 0,
3369
3370
  "alert-message": e.errorMessage,
3370
3371
  appearance: "danger",
3371
3372
  "data-testid": "form-error"
3372
3373
  }, null, 8, ["alert-message"])) : D("", !0),
3373
- F("div", kl, [
3374
+ F("div", kn, [
3374
3375
  Z(v.$slots, "form-actions", {}, () => [
3375
- C(B, {
3376
+ S(B, {
3376
3377
  appearance: "secondary",
3377
3378
  "data-testid": "form-cancel",
3378
3379
  disabled: e.isReadonly,
3379
3380
  type: "reset"
3380
3381
  }, {
3381
3382
  default: y(() => [
3382
- G(V(m(o)("baseForm.actions.cancel")), 1)
3383
+ J(V(m(o)("baseForm.actions.cancel")), 1)
3383
3384
  ]),
3384
3385
  _: 1
3385
3386
  }, 8, ["disabled"]),
3386
- C(B, {
3387
+ S(B, {
3387
3388
  appearance: "primary",
3388
3389
  "data-testid": "form-submit",
3389
3390
  disabled: p.value,
3390
3391
  type: "submit"
3391
3392
  }, {
3392
3393
  default: y(() => [
3393
- G(V(m(o)("baseForm.actions.save")), 1)
3394
+ J(V(m(o)("baseForm.actions.save")), 1)
3394
3395
  ]),
3395
3396
  _: 1
3396
3397
  }, 8, ["disabled"])
3397
3398
  ], !0)
3398
3399
  ])
3399
- ], 40, _l))
3400
+ ], 40, _n))
3400
3401
  ]),
3401
3402
  _: 3
3402
3403
  });
3403
3404
  };
3404
3405
  }
3405
- }), Sl = /* @__PURE__ */ ve(Cl, [["__scopeId", "data-v-448d8512"]]), Il = {
3406
+ }), Sn = /* @__PURE__ */ ve(Cn, [["__scopeId", "data-v-448d8512"]]), In = {
3406
3407
  key: 0,
3407
3408
  "data-testid": "first-col"
3408
- }, Al = /* @__PURE__ */ ae({
3409
+ }, An = /* @__PURE__ */ ae({
3409
3410
  __name: "EntityBaseTableCell",
3410
3411
  props: {
3411
3412
  keyName: {
@@ -3430,18 +3431,18 @@ const Qn = {
3430
3431
  return $ ? ((v = $[0]) == null ? void 0 : v.getAttribute("data-testid")) === i.keyName : !1;
3431
3432
  });
3432
3433
  let o;
3433
- const l = () => {
3434
+ const n = () => {
3434
3435
  o && (o.disconnect(), o = void 0);
3435
- }, n = () => {
3436
+ }, l = () => {
3436
3437
  var k, v, $;
3437
3438
  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
3439
  }, u = N({}), d = N(0), f = N(0), p = N(""), w = T(() => [a.value, t.value]), b = be(
3439
3440
  w,
3440
3441
  (k) => {
3441
- if (r.value && (l(), "ResizeObserver" in window && window)) {
3442
+ if (r.value && (n(), "ResizeObserver" in window && window)) {
3442
3443
  o = new ResizeObserver((v) => {
3443
3444
  window.requestAnimationFrame(() => {
3444
- !Array.isArray(v) || !v.length || n();
3445
+ !Array.isArray(v) || !v.length || l();
3445
3446
  });
3446
3447
  });
3447
3448
  for (const v of k)
@@ -3449,10 +3450,10 @@ const Qn = {
3449
3450
  }
3450
3451
  },
3451
3452
  { immediate: !0, flush: "post", deep: !0 }
3452
- ), S = T(() => r.value ? d.value > f.value : !1);
3453
+ ), I = T(() => r.value ? d.value > f.value : !1);
3453
3454
  return ai(() => {
3454
- n();
3455
- }), la(() => {
3455
+ l();
3456
+ }), na(() => {
3456
3457
  b();
3457
3458
  }), (k, v) => {
3458
3459
  const $ = L("KTooltip");
@@ -3461,9 +3462,9 @@ const Qn = {
3461
3462
  ref: u,
3462
3463
  class: "content-wrapper"
3463
3464
  }, [
3464
- r.value ? (h(), M("span", Il, [
3465
- C($, {
3466
- label: S.value ? p.value : "",
3465
+ r.value ? (h(), M("span", In, [
3466
+ S($, {
3467
+ label: I.value ? p.value : "",
3467
3468
  "max-width": "300",
3468
3469
  placement: "bottomStart"
3469
3470
  }, {
@@ -3476,10 +3477,10 @@ const Qn = {
3476
3477
  ], 512);
3477
3478
  };
3478
3479
  }
3479
- }), xl = /* @__PURE__ */ ve(Al, [["__scopeId", "data-v-e42a20c9"]]), Tl = { class: "toolbar-container" }, $l = {
3480
+ }), xn = /* @__PURE__ */ ve(An, [["__scopeId", "data-v-e42a20c9"]]), Tn = { class: "toolbar-container" }, $n = {
3480
3481
  key: 0,
3481
3482
  class: "toolbar-button-container"
3482
- }, Ml = ["data-testid"], jl = /* @__PURE__ */ ae({
3483
+ }, Mn = ["data-testid"], En = /* @__PURE__ */ ae({
3483
3484
  __name: "EntityBaseTable",
3484
3485
  props: {
3485
3486
  // table header configuration
@@ -3589,43 +3590,43 @@ const Qn = {
3589
3590
  },
3590
3591
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3591
3592
  setup(e, { emit: i }) {
3592
- const t = e, { i18n: { t: a } } = le.useI18n(), r = T(() => {
3593
- var x, B;
3593
+ const t = e, { i18n: { t: a } } = ne.useI18n(), r = T(() => {
3594
+ var C, B;
3594
3595
  return typeof t.errorMessage == "string" ? {
3595
3596
  hasError: !!t.errorMessage,
3596
3597
  title: t.errorMessage,
3597
3598
  message: void 0
3598
3599
  } : {
3599
3600
  hasError: !!t.errorMessage,
3600
- title: (x = t.errorMessage) == null ? void 0 : x.title,
3601
+ title: (C = t.errorMessage) == null ? void 0 : C.title,
3601
3602
  message: (B = t.errorMessage) == null ? void 0 : B.message
3602
3603
  };
3603
- }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), l = (x) => x.hasData || !!t.query, n = T(() => {
3604
- const x = [];
3604
+ }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), n = (C) => C.hasData || !!t.query, l = T(() => {
3605
+ const C = [];
3605
3606
  return Object.keys(t.tableHeaders).forEach((B) => {
3606
3607
  const re = t.tableHeaders[B];
3607
- x.push({
3608
+ C.push({
3608
3609
  label: re.label ?? B,
3609
3610
  key: B,
3610
3611
  sortable: re.sortable ?? !1
3611
3612
  });
3612
- }), t.enableEntityActions && x.push({
3613
+ }), t.enableEntityActions && C.push({
3613
3614
  key: "actions",
3614
3615
  hideLabel: !0
3615
- }), x;
3616
- }), u = (x) => ({
3617
- "data-rowid": x.id,
3618
- "data-testid": x.name,
3619
- ...t.rowAttributes(x)
3620
- }), d = N({}), f = (x) => {
3616
+ }), C;
3617
+ }), u = (C) => ({
3618
+ "data-rowid": C.id,
3619
+ "data-testid": C.name,
3620
+ ...t.rowAttributes(C)
3621
+ }), d = N({}), f = (C) => {
3621
3622
  var B;
3622
- return (B = d.value) == null ? void 0 : B.$el.querySelector(`[data-rowid="${x.id}"]`);
3623
- }, p = (x) => {
3623
+ return (B = d.value) == null ? void 0 : B.$el.querySelector(`[data-rowid="${C.id}"]`);
3624
+ }, p = (C) => {
3624
3625
  const B = {
3625
- "data-testid": x.headerKey,
3626
- ...t.cellAttributes(x)
3626
+ "data-testid": C.headerKey,
3627
+ ...t.cellAttributes(C)
3627
3628
  };
3628
- return x.colIndex === 0 && (B.style = {
3629
+ return C.colIndex === 0 && (B.style = {
3629
3630
  maxWidth: "250px",
3630
3631
  overflowX: "hidden",
3631
3632
  textOverflow: "ellipsis"
@@ -3634,27 +3635,27 @@ const Qn = {
3634
3635
  i("empty-state-cta-clicked"), b();
3635
3636
  }, b = () => {
3636
3637
  i("clear-search-input");
3637
- }, S = T(() => t.disableRowClick ? void 0 : (x, B) => {
3638
+ }, I = T(() => t.disableRowClick ? void 0 : (C, B) => {
3638
3639
  i("click:row", B);
3639
- }), k = (x) => {
3640
- i("sort", x);
3640
+ }), k = (C) => {
3641
+ i("sort", C);
3641
3642
  }, { setTablePreferences: v, getTablePreferences: $ } = ka(), s = T(() => {
3642
- const x = $(t.preferencesStorageKey);
3643
+ const C = $(t.preferencesStorageKey);
3643
3644
  return {
3644
3645
  ...t.initialFetcherParams,
3645
- ...x
3646
+ ...C
3646
3647
  };
3647
- }), E = (x) => {
3648
- t.preferencesStorageKey && v(t.preferencesStorageKey, x);
3648
+ }), j = (C) => {
3649
+ t.preferencesStorageKey && v(t.preferencesStorageKey, C);
3649
3650
  };
3650
- return (x, B) => {
3651
- const re = L("KIcon"), W = L("KButton"), A = L("KDropdown"), q = L("KTable"), U = L("KCard");
3651
+ return (C, B) => {
3652
+ const re = L("KIcon"), W = L("KButton"), x = L("KDropdown"), q = L("KTable"), U = L("KCard");
3652
3653
  return h(), P(U, {
3653
3654
  class: "kong-ui-entity-base-table",
3654
3655
  title: e.title
3655
3656
  }, {
3656
3657
  default: y(() => [
3657
- C(q, {
3658
+ S(q, {
3658
3659
  ref_key: "tableRefs",
3659
3660
  ref: d,
3660
3661
  "cache-identifier": o.value,
@@ -3674,7 +3675,7 @@ const Qn = {
3674
3675
  fetcher: e.fetcher,
3675
3676
  "fetcher-cache-key": String(e.fetcherCacheKey),
3676
3677
  "has-error": r.value.hasError,
3677
- headers: n.value,
3678
+ headers: l.value,
3678
3679
  "hide-pagination-when-optional": "",
3679
3680
  "initial-fetcher-params": s.value,
3680
3681
  "is-loading": e.isLoading,
@@ -3682,18 +3683,18 @@ const Qn = {
3682
3683
  "row-attrs": u,
3683
3684
  "search-input": e.query,
3684
3685
  onKtableEmptyStateCtaClicked: w,
3685
- "onRow:click": S.value,
3686
+ "onRow:click": I.value,
3686
3687
  onSort: B[0] || (B[0] = (K) => k(K)),
3687
- "onUpdate:tablePreferences": E
3688
+ "onUpdate:tablePreferences": j
3688
3689
  }, xe({
3689
3690
  toolbar: y(({ state: K }) => [
3690
- Ue(F("div", Tl, [
3691
- Z(x.$slots, "toolbar-filter", {}, void 0, !0),
3692
- x.$slots["toolbar-button"] ? (h(), M("div", $l, [
3693
- Z(x.$slots, "toolbar-button", {}, void 0, !0)
3691
+ Ue(F("div", Tn, [
3692
+ Z(C.$slots, "toolbar-filter", {}, void 0, !0),
3693
+ C.$slots["toolbar-button"] ? (h(), M("div", $n, [
3694
+ Z(C.$slots, "toolbar-button", {}, void 0, !0)
3694
3695
  ])) : D("", !0)
3695
3696
  ], 512), [
3696
- [Re, l(K)]
3697
+ [Re, n(K)]
3697
3698
  ])
3698
3699
  ]),
3699
3700
  actions: y(({ row: K, rowKey: H, rowValue: R }) => [
@@ -3701,25 +3702,25 @@ const Qn = {
3701
3702
  class: "actions-container",
3702
3703
  "data-testid": K.name
3703
3704
  }, [
3704
- C(A, {
3705
+ S(x, {
3705
3706
  "kpop-attributes": { placement: "bottomEnd" },
3706
3707
  width: e.dropdownMenuWidth
3707
3708
  }, {
3708
3709
  items: y(() => [
3709
- Z(x.$slots, "actions", {
3710
+ Z(C.$slots, "actions", {
3710
3711
  row: K,
3711
3712
  rowKey: H,
3712
3713
  rowValue: R
3713
3714
  }, void 0, !0)
3714
3715
  ]),
3715
3716
  default: y(() => [
3716
- C(W, {
3717
+ S(W, {
3717
3718
  class: "actions-trigger",
3718
3719
  "data-testid": "overflow-actions-button",
3719
3720
  size: "small"
3720
3721
  }, {
3721
3722
  icon: y(() => [
3722
- C(re, {
3723
+ S(re, {
3723
3724
  color: m(gr),
3724
3725
  icon: "more",
3725
3726
  size: "16"
@@ -3730,24 +3731,24 @@ const Qn = {
3730
3731
  ]),
3731
3732
  _: 2
3732
3733
  }, 1032, ["width"])
3733
- ], 8, Ml)
3734
+ ], 8, Mn)
3734
3735
  ]),
3735
3736
  _: 2
3736
3737
  }, [
3737
3738
  ge(e.tableHeaders, (K, H) => ({
3738
3739
  name: H,
3739
3740
  fn: y(({ row: R, rowKey: Q, rowValue: z }) => [
3740
- C(xl, {
3741
+ S(xn, {
3741
3742
  "key-name": String(H),
3742
3743
  "row-el": f(R)
3743
3744
  }, {
3744
3745
  default: y(() => [
3745
- Z(x.$slots, H, {
3746
+ Z(C.$slots, H, {
3746
3747
  row: R,
3747
3748
  rowKey: Q,
3748
3749
  rowValue: z
3749
3750
  }, () => [
3750
- G(V(z), 1)
3751
+ J(V(z), 1)
3751
3752
  ], !0)
3752
3753
  ]),
3753
3754
  _: 2
@@ -3760,13 +3761,13 @@ const Qn = {
3760
3761
  }, 8, ["title"]);
3761
3762
  };
3762
3763
  }
3763
- }), El = /* @__PURE__ */ ve(jl, [["__scopeId", "data-v-57b5a97b"]]), Ol = {
3764
+ }), jn = /* @__PURE__ */ ve(En, [["__scopeId", "data-v-57b5a97b"]]), On = {
3764
3765
  key: 0,
3765
3766
  class: "kong-ui-entity-delete-error"
3766
- }, Vl = {
3767
+ }, Vn = {
3767
3768
  key: 1,
3768
3769
  class: "description"
3769
- }, Fl = /* @__PURE__ */ ae({
3770
+ }, Fn = /* @__PURE__ */ ae({
3770
3771
  __name: "EntityDeleteModal",
3771
3772
  props: {
3772
3773
  visible: {
@@ -3805,12 +3806,12 @@ const Qn = {
3805
3806
  },
3806
3807
  emits: ["cancel", "proceed"],
3807
3808
  setup(e, { emit: i }) {
3808
- const t = e, { i18nT: a } = le.useI18n(), r = T(() => t.needConfirm ? t.entityName : ""), o = () => {
3809
+ const t = e, { i18nT: a } = ne.useI18n(), r = T(() => t.needConfirm ? t.entityName : ""), o = () => {
3809
3810
  i("cancel");
3810
- }, l = () => {
3811
+ }, n = () => {
3811
3812
  i("proceed");
3812
3813
  };
3813
- return (n, u) => {
3814
+ return (l, u) => {
3814
3815
  const d = L("KAlert"), f = L("KPrompt");
3815
3816
  return h(), P(f, {
3816
3817
  "action-button-text": "Yes, delete",
@@ -3821,24 +3822,24 @@ const Qn = {
3821
3822
  title: e.title,
3822
3823
  type: "danger",
3823
3824
  onCanceled: o,
3824
- onProceed: l
3825
+ onProceed: n
3825
3826
  }, {
3826
3827
  "body-content": y(() => [
3827
- e.error ? (h(), M("div", Ol, [
3828
- C(d, { appearance: "danger" }, {
3828
+ e.error ? (h(), M("div", On, [
3829
+ S(d, { appearance: "danger" }, {
3829
3830
  alertMessage: y(() => [
3830
- G(V(e.error), 1)
3831
+ J(V(e.error), 1)
3831
3832
  ]),
3832
3833
  _: 1
3833
3834
  })
3834
3835
  ])) : D("", !0),
3835
- C(m(a), {
3836
+ S(m(a), {
3836
3837
  class: "message",
3837
3838
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3838
3839
  tag: "p"
3839
3840
  }, xe({
3840
3841
  entityType: y(() => [
3841
- G(V(t.entityType), 1)
3842
+ J(V(t.entityType), 1)
3842
3843
  ]),
3843
3844
  _: 2
3844
3845
  }, [
@@ -3850,8 +3851,8 @@ const Qn = {
3850
3851
  key: "0"
3851
3852
  } : void 0
3852
3853
  ]), 1032, ["keypath"]),
3853
- t.description || n.$slots.description ? (h(), M("div", Vl, [
3854
- Z(n.$slots, "description", {}, () => [
3854
+ t.description || l.$slots.description ? (h(), M("div", Vn, [
3855
+ Z(l.$slots, "description", {}, () => [
3855
3856
  F("p", null, V(t.description), 1)
3856
3857
  ], !0)
3857
3858
  ])) : D("", !0)
@@ -3860,13 +3861,13 @@ const Qn = {
3860
3861
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3861
3862
  };
3862
3863
  }
3863
- }), Nl = /* @__PURE__ */ ve(Fl, [["__scopeId", "data-v-1c9a2a07"]]), Kl = {
3864
+ }), Nn = /* @__PURE__ */ ve(Fn, [["__scopeId", "data-v-1c9a2a07"]]), Kn = {
3864
3865
  fill: "none",
3865
3866
  height: "20",
3866
3867
  viewBox: "0 0 20 20",
3867
3868
  width: "20",
3868
3869
  xmlns: "http://www.w3.org/2000/svg"
3869
- }, Ll = {
3870
+ }, Ln = {
3870
3871
  id: "mask0_180_20349",
3871
3872
  height: "20",
3872
3873
  maskUnits: "userSpaceOnUse",
@@ -3874,7 +3875,7 @@ const Qn = {
3874
3875
  width: "20",
3875
3876
  x: "0",
3876
3877
  y: "0"
3877
- }, ql = ["fill"], Bl = { mask: "url(#mask0_180_20349)" }, Pl = ["fill"], ei = /* @__PURE__ */ ae({
3878
+ }, qn = ["fill"], Bn = { mask: "url(#mask0_180_20349)" }, Pn = ["fill"], ei = /* @__PURE__ */ ae({
3878
3879
  __name: "IconFilter",
3879
3880
  props: {
3880
3881
  color: {
@@ -3883,26 +3884,26 @@ const Qn = {
3883
3884
  }
3884
3885
  },
3885
3886
  setup(e) {
3886
- return (i, t) => (h(), M("svg", Kl, [
3887
- F("mask", Ll, [
3887
+ return (i, t) => (h(), M("svg", Kn, [
3888
+ F("mask", Ln, [
3888
3889
  F("rect", {
3889
3890
  fill: e.color,
3890
3891
  height: "20",
3891
3892
  width: "20"
3892
- }, null, 8, ql)
3893
+ }, null, 8, qn)
3893
3894
  ]),
3894
- F("g", Bl, [
3895
+ F("g", Bn, [
3895
3896
  F("path", {
3896
3897
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3897
3898
  fill: e.color
3898
- }, null, 8, Pl)
3899
+ }, null, 8, Pn)
3899
3900
  ])
3900
3901
  ]));
3901
3902
  }
3902
- }), Ul = {
3903
+ }), Un = {
3903
3904
  key: 1,
3904
3905
  class: "kong-ui-entity-filter"
3905
- }, Rl = { class: "menu-item-title" }, Dl = { class: "menu-item-indicator" }, Hl = { class: "menu-item-body" }, zl = ["for"], Gl = { class: "menu-item-buttons" }, Jl = { class: "filter-clear-button-container" }, Wl = /* @__PURE__ */ ae({
3906
+ }, 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({
3906
3907
  __name: "EntityFilter",
3907
3908
  props: {
3908
3909
  // filter config, either exact match or fuzzy match
@@ -3922,12 +3923,12 @@ const Qn = {
3922
3923
  },
3923
3924
  emits: ["update:modelValue"],
3924
3925
  setup(e, { emit: i }) {
3925
- const t = e, { i18n: { t: a } } = le.useI18n(), r = N(!1), o = N({}), l = T(() => {
3926
+ const t = e, { i18n: { t: a } } = ne.useI18n(), r = N(!1), o = N({}), n = T(() => {
3926
3927
  const v = [];
3927
3928
  return new URLSearchParams(t.modelValue).forEach(($, s) => {
3928
3929
  $ !== "" && v.push(s);
3929
3930
  }), v;
3930
- }), n = T(() => {
3931
+ }), l = T(() => {
3931
3932
  const v = t.config.fields;
3932
3933
  return Object.keys(v).filter(($) => v[$].searchable).map(($) => ({
3933
3934
  label: v[$].label || $,
@@ -3945,9 +3946,9 @@ const Qn = {
3945
3946
  i("update:modelValue", v);
3946
3947
  }, f = (v) => `filter-${v}`, p = (v) => {
3947
3948
  var $, s;
3948
- return (((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.values) ?? []).map((E) => ({
3949
- value: E,
3950
- label: E
3949
+ return (((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.values) ?? []).map((j) => ({
3950
+ value: j,
3951
+ label: j
3951
3952
  }));
3952
3953
  }, w = (v) => {
3953
3954
  var $, s;
@@ -3957,14 +3958,14 @@ const Qn = {
3957
3958
  ...o.value,
3958
3959
  [v]: ""
3959
3960
  }, k();
3960
- }, S = () => {
3961
+ }, I = () => {
3961
3962
  o.value = {}, k(!0);
3962
3963
  }, k = (v = !1) => {
3963
- const $ = Object.keys(o.value).reduce((s, E) => (o.value[E] && (s[E] = `${o.value[E]}`), s), {});
3964
+ const $ = Object.keys(o.value).reduce((s, j) => (o.value[j] && (s[j] = `${o.value[j]}`), s), {});
3964
3965
  v && (r.value = !1), i("update:modelValue", new URLSearchParams($).toString());
3965
3966
  };
3966
3967
  return (v, $) => {
3967
- const s = L("KInput"), E = L("KButton"), x = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3968
+ const s = L("KInput"), j = L("KButton"), C = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3968
3969
  return e.config.isExactMatch ? (h(), P(s, {
3969
3970
  key: 0,
3970
3971
  autocomplete: "off",
@@ -3975,18 +3976,18 @@ const Qn = {
3975
3976
  "onUpdate:modelValue": d
3976
3977
  }, {
3977
3978
  before: y(() => [
3978
- C(ei)
3979
+ S(ei)
3979
3980
  ]),
3980
3981
  _: 1
3981
- }, 8, ["model-value", "placeholder"])) : (h(), M("div", Ul, [
3982
- C(E, {
3982
+ }, 8, ["model-value", "placeholder"])) : (h(), M("div", Un, [
3983
+ S(j, {
3983
3984
  appearance: "tertiary",
3984
3985
  "data-testid": "filter-button",
3985
3986
  onClick: u
3986
3987
  }, {
3987
3988
  default: y(() => [
3988
- C(ei),
3989
- G(" " + V(m(a)("filter.filterButtonText")) + " " + V(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
3989
+ S(ei),
3990
+ J(" " + V(m(a)("filter.filterButtonText")) + " " + V(n.value.length > 0 ? `(${n.value.length})` : ""), 1)
3990
3991
  ]),
3991
3992
  _: 1
3992
3993
  }),
@@ -3996,31 +3997,31 @@ const Qn = {
3996
3997
  }, null, 512), [
3997
3998
  [Re, r.value]
3998
3999
  ]),
3999
- Ue(C(re, { class: "kong-ui-entity-filter-menu" }, {
4000
+ Ue(S(re, { class: "kong-ui-entity-filter-menu" }, {
4000
4001
  body: y(() => [
4001
- (h(!0), M(ye, null, ge(n.value, (W, A) => (h(), P(B, {
4002
+ (h(!0), M(ye, null, ge(l.value, (W, x) => (h(), P(B, {
4002
4003
  key: W.value,
4003
4004
  "data-testid": W.value,
4004
4005
  expandable: "",
4005
- "last-menu-item": A === n.value.length - 1
4006
+ "last-menu-item": x === l.value.length - 1
4006
4007
  }, {
4007
4008
  itemTitle: y(() => [
4008
- F("span", Rl, [
4009
- G(V(W.label) + " ", 1),
4010
- Ue(F("span", Dl, null, 512), [
4011
- [Re, l.value.includes(W.value)]
4009
+ F("span", Rn, [
4010
+ J(V(W.label) + " ", 1),
4011
+ Ue(F("span", Dn, null, 512), [
4012
+ [Re, n.value.includes(W.value)]
4012
4013
  ])
4013
4014
  ])
4014
4015
  ]),
4015
4016
  itemBody: y(() => {
4016
4017
  var q, U;
4017
4018
  return [
4018
- F("div", Hl, [
4019
+ F("div", Hn, [
4019
4020
  F("label", {
4020
4021
  class: "menu-item-label",
4021
4022
  for: f(W.value)
4022
- }, V(m(a)("filter.fieldLabel")), 9, zl),
4023
- ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(x, {
4023
+ }, V(m(a)("filter.fieldLabel")), 9, zn),
4024
+ ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(C, {
4024
4025
  key: 0,
4025
4026
  id: f(W.value),
4026
4027
  modelValue: o.value[W.value],
@@ -4038,26 +4039,26 @@ const Qn = {
4038
4039
  type: w(W.value)
4039
4040
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4040
4041
  ]),
4041
- F("div", Gl, [
4042
- C(E, {
4042
+ F("div", Jn, [
4043
+ S(j, {
4043
4044
  appearance: "tertiary",
4044
4045
  "data-testid": "apply-filter",
4045
4046
  size: "small",
4046
4047
  onClick: $[0] || ($[0] = (K) => k(!0))
4047
4048
  }, {
4048
4049
  default: y(() => [
4049
- G(V(m(a)("filter.applyButtonText")), 1)
4050
+ J(V(m(a)("filter.applyButtonText")), 1)
4050
4051
  ]),
4051
4052
  _: 1
4052
4053
  }),
4053
- C(E, {
4054
+ S(j, {
4054
4055
  appearance: "tertiary",
4055
4056
  "data-testid": "clear-filter",
4056
4057
  size: "small",
4057
4058
  onClick: (K) => b(W.value)
4058
4059
  }, {
4059
4060
  default: y(() => [
4060
- G(V(m(a)("filter.clearButtonText")), 1)
4061
+ J(V(m(a)("filter.clearButtonText")), 1)
4061
4062
  ]),
4062
4063
  _: 2
4063
4064
  }, 1032, ["onClick"])
@@ -4068,14 +4069,14 @@ const Qn = {
4068
4069
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
4069
4070
  ]),
4070
4071
  actionButton: y(() => [
4071
- F("div", Jl, [
4072
- C(E, {
4072
+ F("div", Gn, [
4073
+ S(j, {
4073
4074
  appearance: "tertiary",
4074
4075
  size: "small",
4075
- onClick: S
4076
+ onClick: I
4076
4077
  }, {
4077
4078
  default: y(() => [
4078
- G(V(m(a)("filter.clearAllButtonText")), 1)
4079
+ J(V(m(a)("filter.clearAllButtonText")), 1)
4079
4080
  ]),
4080
4081
  _: 1
4081
4082
  })
@@ -4088,7 +4089,7 @@ const Qn = {
4088
4089
  ]));
4089
4090
  };
4090
4091
  }
4091
- }), Yl = /* @__PURE__ */ ve(Wl, [["__scopeId", "data-v-15962ee2"]]), Zl = /* @__PURE__ */ ae({
4092
+ }), Yn = /* @__PURE__ */ ve(Wn, [["__scopeId", "data-v-15962ee2"]]), Zn = /* @__PURE__ */ ae({
4092
4093
  __name: "EntityToggleModal",
4093
4094
  props: {
4094
4095
  visible: {
@@ -4120,9 +4121,9 @@ const Qn = {
4120
4121
  },
4121
4122
  emits: ["canceled", "proceed"],
4122
4123
  setup(e, { emit: i }) {
4123
- const t = e, { i18n: { t: a }, i18nT: r } = le.useI18n(), o = N(!1), l = T(
4124
+ const t = e, { i18n: { t: a }, i18nT: r } = ne.useI18n(), o = N(!1), n = T(
4124
4125
  () => t.action === "enable" ? a("toggleModal.enable.title", { entityType: t.entityType }) : a("toggleModal.disable.title", { entityType: t.entityType })
4125
- ), n = T(
4126
+ ), l = T(
4126
4127
  () => t.action === "enable" ? a("toggleModal.enable.confirmText") : a("toggleModal.disable.confirmText")
4127
4128
  ), u = () => i("canceled"), d = async () => {
4128
4129
  if (t.onConfirm) {
@@ -4139,23 +4140,23 @@ const Qn = {
4139
4140
  return (f, p) => {
4140
4141
  const w = L("KPrompt");
4141
4142
  return h(), P(ii, { to: "body" }, [
4142
- C(w, {
4143
- "action-button-text": n.value,
4143
+ S(w, {
4144
+ "action-button-text": l.value,
4144
4145
  "action-pending": o.value,
4145
4146
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
4146
4147
  "is-visible": e.visible,
4147
- title: l.value,
4148
+ title: n.value,
4148
4149
  type: "warning",
4149
4150
  onCanceled: u,
4150
4151
  onProceed: d
4151
4152
  }, {
4152
4153
  "body-content": y(() => [
4153
- C(m(r), {
4154
+ S(m(r), {
4154
4155
  keypath: `toggleModal.${t.action}.message`,
4155
4156
  scope: "global"
4156
4157
  }, {
4157
4158
  entityType: y(() => [
4158
- G(V(e.entityType), 1)
4159
+ J(V(e.entityType), 1)
4159
4160
  ]),
4160
4161
  entityName: y(() => [
4161
4162
  F("strong", null, V(e.entityName), 1)
@@ -4198,7 +4199,7 @@ const Qn = {
4198
4199
  isAllowed: t.value
4199
4200
  }) : D("", !0);
4200
4201
  }
4201
- }), Ql = { class: "form-section-wrapper" }, Xl = {
4202
+ }), Qn = { class: "form-section-wrapper" }, Xn = {
4202
4203
  key: 0,
4203
4204
  class: "form-section-title"
4204
4205
  }, es = {
@@ -4236,12 +4237,12 @@ const Qn = {
4236
4237
  return (t, a) => (h(), M("fieldset", {
4237
4238
  class: $e(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4238
4239
  }, [
4239
- F("div", Ql, [
4240
+ F("div", Qn, [
4240
4241
  e.hideInfoHeader ? D("", !0) : (h(), M("div", {
4241
4242
  key: 0,
4242
4243
  class: $e(["form-section-info", { sticky: e.stickyInfoHeader }])
4243
4244
  }, [
4244
- e.title ? (h(), M("h4", Xl, V(e.title), 1)) : D("", !0),
4245
+ e.title ? (h(), M("h4", Xn, V(e.title), 1)) : D("", !0),
4245
4246
  e.description || m(i).description ? (h(), M("div", es, [
4246
4247
  Z(t.$slots, "description", {}, () => [
4247
4248
  F("p", null, V(e.description), 1)
@@ -4257,8 +4258,7 @@ const Qn = {
4257
4258
  ])
4258
4259
  ], 2));
4259
4260
  }
4260
- }), 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;
4261
- const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 }, ds = /* @__PURE__ */ ae({
4261
+ }), 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({
4262
4262
  __name: "GatewayServiceList",
4263
4263
  props: {
4264
4264
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4307,7 +4307,7 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4307
4307
  var Le;
4308
4308
  const t = e, { i18n: { t: a } } = Ye.useI18n(), r = ht(), { axiosInstance: o } = ia({
4309
4309
  headers: (Le = t.config) == null ? void 0 : Le.requestHeaders
4310
- }), l = N(1), n = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), u = {
4310
+ }), n = N(1), l = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), u = {
4311
4311
  name: { label: a("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0 },
4312
4312
  protocol: { label: a("gateway_services.list.table_headers.protocol"), searchable: !0, sortable: !0 },
4313
4313
  host: { label: a("gateway_services.list.table_headers.host"), searchable: !0, sortable: !0 },
@@ -4326,39 +4326,39 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4326
4326
  isExactMatch: c,
4327
4327
  placeholder: a("search.placeholder")
4328
4328
  };
4329
- const { name: g, enabled: O, protocol: J, host: te, port: se, path: _ } = u;
4329
+ const { name: g, enabled: O, protocol: G, host: te, port: se, path: _ } = u;
4330
4330
  return {
4331
4331
  isExactMatch: c,
4332
- fields: { name: g, enabled: O, protocol: J, host: te, port: se, path: _ },
4332
+ fields: { name: g, enabled: O, protocol: G, host: te, port: se, path: _ },
4333
4333
  schema: t.config.filterSchema
4334
4334
  };
4335
- }), { fetcher: S, fetcherState: k } = ns(t.config, f.value), v = () => {
4335
+ }), { fetcher: I, fetcherState: k } = ls(t.config, f.value), v = () => {
4336
4336
  w.value = "";
4337
4337
  }, $ = () => {
4338
- l.value++;
4339
- }, s = N(null), E = T(() => ({
4338
+ n.value++;
4339
+ }, s = N(null), j = T(() => ({
4340
4340
  ctaPath: t.config.createRoute,
4341
4341
  ctaText: Ie.value ? a("actions.create") : void 0,
4342
4342
  message: a("gateway_services.list.empty_state.description"),
4343
4343
  title: Ie.value ? a("gateway_services.list.empty_state.title") : ""
4344
- })), x = N(!1), B = N(null), re = T(() => {
4344
+ })), C = N(!1), B = N(null), re = T(() => {
4345
4345
  const c = {
4346
4346
  action: "disable",
4347
4347
  id: "",
4348
4348
  name: ""
4349
4349
  };
4350
4350
  if (B.value) {
4351
- const { enabled: g, id: O, name: J } = B.value;
4352
- c.action = g ? "disable" : "enable", c.id = O, c.name = J || O;
4351
+ const { enabled: g, id: O, name: G } = B.value;
4352
+ c.action = g ? "disable" : "enable", c.id = O, c.name = G || O;
4353
4353
  }
4354
4354
  return c;
4355
4355
  }), W = (c) => {
4356
- x.value = !0, B.value = c;
4357
- }, A = () => {
4358
- x.value = !1, B.value = null;
4356
+ C.value = !0, B.value = c;
4357
+ }, x = () => {
4358
+ C.value = !1, B.value = null;
4359
4359
  }, q = async () => {
4360
- var J, te;
4361
- if (!await ((J = t.canEdit) == null ? void 0 : J.call(t, B.value)) || !B.value)
4360
+ var G, te;
4361
+ if (!await ((G = t.canEdit) == null ? void 0 : G.call(t, B.value)) || !B.value)
4362
4362
  return;
4363
4363
  const g = `${p.value.href}/${B.value.id}`, O = !B.value.enabled;
4364
4364
  try {
@@ -4414,20 +4414,20 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4414
4414
  if ((c = z.value) != null && c.id) {
4415
4415
  Y.value = !0;
4416
4416
  try {
4417
- await o.delete(ce(z.value.id)), i("delete:success", z.value), Me(), l.value++;
4418
- } catch (J) {
4419
- X.value = ((O = (g = J.response) == null ? void 0 : g.data) == null ? void 0 : O.message) || J.message || a("errors.delete"), i("error", J);
4417
+ await o.delete(ce(z.value.id)), i("delete:success", z.value), Me(), n.value++;
4418
+ } catch (G) {
4419
+ X.value = ((O = (g = G.response) == null ? void 0 : g.data) == null ? void 0 : O.message) || G.message || a("errors.delete"), i("error", G);
4420
4420
  } finally {
4421
4421
  Y.value = !1;
4422
4422
  }
4423
4423
  }
4424
4424
  }, Se = N(!0);
4425
4425
  be(k, (c) => {
4426
- var g, O, J, te;
4426
+ var g, O, G, te;
4427
4427
  if (Array.isArray((g = c == null ? void 0 : c.response) == null ? void 0 : g.data) && (Se.value = c.response.data.length > 0), c.status === Ae.Error) {
4428
4428
  s.value = {
4429
4429
  title: a("errors.general")
4430
- }, (te = (J = (O = c.error) == null ? void 0 : O.response) == null ? void 0 : J.data) != null && te.message && (s.value.message = c.error.response.data.message), i("error", c.error);
4430
+ }, (te = (G = (O = c.error) == null ? void 0 : O.response) == null ? void 0 : G.data) != null && te.message && (s.value.message = c.error.response.data.message), i("error", c.error);
4431
4431
  return;
4432
4432
  }
4433
4433
  s.value = null;
@@ -4436,30 +4436,30 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4436
4436
  return vt(async () => {
4437
4437
  Ie.value = await t.canCreate();
4438
4438
  }), (c, g) => {
4439
- const O = L("KButton"), J = L("KInputSwitch"), te = L("KBadge"), se = L("KTruncate"), _ = L("KDropdownItem"), qe = L("KClipboardProvider");
4439
+ const O = L("KButton"), G = L("KInputSwitch"), te = L("KBadge"), se = L("KTruncate"), _ = L("KDropdownItem"), qe = L("KClipboardProvider");
4440
4440
  return h(), M("div", cs, [
4441
- C(m(El), {
4441
+ S(m(jn), {
4442
4442
  "cache-identifier": e.cacheIdentifier,
4443
4443
  "disable-pagination-page-jump": "",
4444
- "disable-sorting": n.value,
4445
- "empty-state-options": E.value,
4444
+ "disable-sorting": l.value,
4445
+ "empty-state-options": j.value,
4446
4446
  "enable-entity-actions": "",
4447
4447
  "error-message": s.value,
4448
- fetcher: m(S),
4449
- "fetcher-cache-key": l.value,
4448
+ fetcher: m(I),
4449
+ "fetcher-cache-key": n.value,
4450
4450
  "pagination-type": "offset",
4451
4451
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
4452
4452
  query: w.value,
4453
4453
  "table-headers": m(d),
4454
4454
  "use-action-outside": e.useActionOutside,
4455
4455
  onClearSearchInput: v,
4456
- "onClick:row": g[3] || (g[3] = (I) => H(I)),
4456
+ "onClick:row": g[3] || (g[3] = (A) => H(A)),
4457
4457
  onSort: $
4458
4458
  }, {
4459
4459
  "toolbar-filter": y(() => [
4460
- C(m(Yl), {
4460
+ S(m(Yn), {
4461
4461
  modelValue: w.value,
4462
- "onUpdate:modelValue": g[0] || (g[0] = (I) => w.value = I),
4462
+ "onUpdate:modelValue": g[0] || (g[0] = (A) => w.value = A),
4463
4463
  config: b.value
4464
4464
  }, null, 8, ["modelValue", "config"])
4465
4465
  ]),
@@ -4468,18 +4468,18 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4468
4468
  disabled: !e.useActionOutside,
4469
4469
  to: "#kong-ui-app-page-header-action-button"
4470
4470
  }, [
4471
- C(m(Be), {
4471
+ S(m(Be), {
4472
4472
  "auth-function": () => e.canCreate()
4473
4473
  }, {
4474
4474
  default: y(() => [
4475
- Ue(C(O, {
4475
+ Ue(S(O, {
4476
4476
  appearance: "primary",
4477
4477
  "data-testid": "toolbar-add-gateway-service",
4478
4478
  icon: "plus",
4479
4479
  to: e.config.createRoute
4480
4480
  }, {
4481
4481
  default: y(() => [
4482
- G(V(m(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4482
+ J(V(m(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4483
4483
  ]),
4484
4484
  _: 1
4485
4485
  }, 8, ["to"]), [
@@ -4490,12 +4490,12 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4490
4490
  }, 8, ["auth-function"])
4491
4491
  ], 8, ["disabled"]))
4492
4492
  ]),
4493
- name: y(({ rowValue: I }) => [
4494
- F("b", null, V(I ?? "-"), 1)
4493
+ name: y(({ rowValue: A }) => [
4494
+ F("b", null, V(A ?? "-"), 1)
4495
4495
  ]),
4496
- enabled: y(({ row: I }) => [
4497
- C(m(Be), {
4498
- "auth-function": () => e.canEdit(I),
4496
+ enabled: y(({ row: A }) => [
4497
+ S(m(Be), {
4498
+ "auth-function": () => e.canEdit(A),
4499
4499
  "force-show": ""
4500
4500
  }, {
4501
4501
  default: y(({ isAllowed: we }) => [
@@ -4503,29 +4503,29 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4503
4503
  onClick: g[1] || (g[1] = Fe(() => {
4504
4504
  }, ["stop"]))
4505
4505
  }, [
4506
- C(J, {
4507
- modelValue: I.enabled,
4508
- "onUpdate:modelValue": (We) => I.enabled = We,
4509
- "data-testid": `row-${I.id}-toggle-input`,
4506
+ S(G, {
4507
+ modelValue: A.enabled,
4508
+ "onUpdate:modelValue": (We) => A.enabled = We,
4509
+ "data-testid": `row-${A.id}-toggle-input`,
4510
4510
  disabled: !we,
4511
- label: I.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4512
- onClick: Fe((We) => W(I), ["prevent"])
4511
+ label: A.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4512
+ onClick: Fe((We) => W(A), ["prevent"])
4513
4513
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "disabled", "label", "onClick"])
4514
4514
  ])
4515
4515
  ]),
4516
4516
  _: 2
4517
4517
  }, 1032, ["auth-function"])
4518
4518
  ]),
4519
- tags: y(({ rowValue: I }) => [
4520
- (I == null ? void 0 : I.length) > 0 ? (h(), P(se, { key: 0 }, {
4519
+ tags: y(({ rowValue: A }) => [
4520
+ (A == null ? void 0 : A.length) > 0 ? (h(), P(se, { key: 0 }, {
4521
4521
  default: y(() => [
4522
- (h(!0), M(ye, null, ge(I, (we) => (h(), P(te, {
4522
+ (h(!0), M(ye, null, ge(A, (we) => (h(), P(te, {
4523
4523
  key: we,
4524
4524
  onClick: g[2] || (g[2] = Fe(() => {
4525
4525
  }, ["stop"]))
4526
4526
  }, {
4527
4527
  default: y(() => [
4528
- G(V(we), 1)
4528
+ J(V(we), 1)
4529
4529
  ]),
4530
4530
  _: 2
4531
4531
  }, 1024))), 128))
@@ -4533,70 +4533,70 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4533
4533
  _: 2
4534
4534
  }, 1024)) : (h(), M("span", us, "-"))
4535
4535
  ]),
4536
- actions: y(({ row: I }) => [
4537
- C(qe, null, {
4536
+ actions: y(({ row: A }) => [
4537
+ S(qe, null, {
4538
4538
  default: y(({ copyToClipboard: we }) => [
4539
- C(_, {
4539
+ S(_, {
4540
4540
  "data-testid": "action-entity-copy-id",
4541
- onClick: (We) => U(I, we)
4541
+ onClick: (We) => U(A, we)
4542
4542
  }, {
4543
4543
  default: y(() => [
4544
- G(V(m(a)("actions.copy_id")), 1)
4544
+ J(V(m(a)("actions.copy_id")), 1)
4545
4545
  ]),
4546
4546
  _: 2
4547
4547
  }, 1032, ["onClick"])
4548
4548
  ]),
4549
4549
  _: 2
4550
4550
  }, 1024),
4551
- C(qe, null, {
4551
+ S(qe, null, {
4552
4552
  default: y(({ copyToClipboard: we }) => [
4553
- C(_, {
4553
+ S(_, {
4554
4554
  "data-testid": "action-entity-copy-json",
4555
- onClick: (We) => K(I, we)
4555
+ onClick: (We) => K(A, we)
4556
4556
  }, {
4557
4557
  default: y(() => [
4558
- G(V(m(a)("actions.copy_json")), 1)
4558
+ J(V(m(a)("actions.copy_json")), 1)
4559
4559
  ]),
4560
4560
  _: 2
4561
4561
  }, 1032, ["onClick"])
4562
4562
  ]),
4563
4563
  _: 2
4564
4564
  }, 1024),
4565
- C(m(Be), {
4566
- "auth-function": () => e.canRetrieve(I)
4565
+ S(m(Be), {
4566
+ "auth-function": () => e.canRetrieve(A)
4567
4567
  }, {
4568
4568
  default: y(() => [
4569
- C(_, {
4569
+ S(_, {
4570
4570
  "data-testid": "action-entity-view",
4571
4571
  "has-divider": "",
4572
- item: R(I.id)
4572
+ item: R(A.id)
4573
4573
  }, null, 8, ["item"])
4574
4574
  ]),
4575
4575
  _: 2
4576
4576
  }, 1032, ["auth-function"]),
4577
- C(m(Be), {
4578
- "auth-function": () => e.canEdit(I)
4577
+ S(m(Be), {
4578
+ "auth-function": () => e.canEdit(A)
4579
4579
  }, {
4580
4580
  default: y(() => [
4581
- C(_, {
4581
+ S(_, {
4582
4582
  "data-testid": "action-entity-edit",
4583
- item: Q(I.id)
4583
+ item: Q(A.id)
4584
4584
  }, null, 8, ["item"])
4585
4585
  ]),
4586
4586
  _: 2
4587
4587
  }, 1032, ["auth-function"]),
4588
- C(m(Be), {
4589
- "auth-function": () => e.canDelete(I)
4588
+ S(m(Be), {
4589
+ "auth-function": () => e.canDelete(A)
4590
4590
  }, {
4591
4591
  default: y(() => [
4592
- C(_, {
4592
+ S(_, {
4593
4593
  danger: "",
4594
4594
  "data-testid": "action-entity-delete",
4595
4595
  "has-divider": "",
4596
- onClick: (we) => rt(I)
4596
+ onClick: (we) => rt(A)
4597
4597
  }, {
4598
4598
  default: y(() => [
4599
- G(V(m(a)("actions.delete.menu_label")), 1)
4599
+ J(V(m(a)("actions.delete.menu_label")), 1)
4600
4600
  ]),
4601
4601
  _: 2
4602
4602
  }, 1032, ["onClick"])
@@ -4606,17 +4606,17 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4606
4606
  ]),
4607
4607
  _: 1
4608
4608
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4609
- C(m(Zl), {
4609
+ S(m(Zn), {
4610
4610
  action: re.value.action,
4611
4611
  "entity-id": re.value.id,
4612
4612
  "entity-name": re.value.name,
4613
4613
  "entity-type": m(a)("glossary.gateway_services"),
4614
4614
  "on-confirm": q,
4615
- visible: x.value,
4616
- onCanceled: A,
4617
- onProceed: A
4615
+ visible: C.value,
4616
+ onCanceled: x,
4617
+ onProceed: x
4618
4618
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
4619
- C(m(Nl), {
4619
+ S(m(Nn), {
4620
4620
  "action-pending": Y.value,
4621
4621
  description: m(a)("actions.delete.description"),
4622
4622
  "entity-name": z.value && (z.value.name || z.value.id),
@@ -4630,8 +4630,7 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4630
4630
  ]);
4631
4631
  };
4632
4632
  }
4633
- });
4634
- const aa = (e, i) => {
4633
+ }), aa = (e, i) => {
4635
4634
  const t = e.__vccOpts || e;
4636
4635
  for (const [a, r] of i)
4637
4636
  t[a] = r;
@@ -4682,9 +4681,9 @@ const aa = (e, i) => {
4682
4681
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
4683
4682
  setup(e, { expose: i, emit: t }) {
4684
4683
  var Le;
4685
- const a = e, r = N(!0), o = ht(), { i18nT: l, i18n: { t: n } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4684
+ const a = e, r = N(!0), o = ht(), { i18nT: n, i18n: { t: l } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4686
4685
  headers: (Le = a.config) == null ? void 0 : Le.requestHeaders
4687
- }), 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({
4686
+ }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), w = N(!1), b = T(() => !!a.gatewayServiceId), I = N(b.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4688
4687
  fields: {
4689
4688
  name: "",
4690
4689
  protocol: "http",
@@ -4704,7 +4703,7 @@ const aa = (e, i) => {
4704
4703
  },
4705
4704
  isReadonly: !1,
4706
4705
  errorMessage: ""
4707
- }), E = $t({
4706
+ }), j = $t({
4708
4707
  name: "",
4709
4708
  protocol: "http",
4710
4709
  host: "",
@@ -4720,7 +4719,7 @@ const aa = (e, i) => {
4720
4719
  tls_verify_enabled: !1,
4721
4720
  tls_verify_value: !1,
4722
4721
  tags: ""
4723
- }), x = a.config.app === "konnect" || ss({
4722
+ }), C = a.config.app === "konnect" || ss({
4724
4723
  gatewayInfo: a.config.gatewayInfo,
4725
4724
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
4726
4725
  supportedRange: {
@@ -4728,93 +4727,93 @@ const aa = (e, i) => {
4728
4727
  }
4729
4728
  }), B = [
4730
4729
  {
4731
- label: n("gateway_services.form.fields.protocol.options.http"),
4730
+ label: l("gateway_services.form.fields.protocol.options.http"),
4732
4731
  value: "http",
4733
4732
  group: "http"
4734
4733
  },
4735
4734
  {
4736
- label: n("gateway_services.form.fields.protocol.options.https"),
4735
+ label: l("gateway_services.form.fields.protocol.options.https"),
4737
4736
  value: "https",
4738
4737
  group: "http"
4739
4738
  },
4740
4739
  {
4741
- label: n("gateway_services.form.fields.protocol.options.tcp"),
4740
+ label: l("gateway_services.form.fields.protocol.options.tcp"),
4742
4741
  value: "tcp",
4743
4742
  group: "tcp"
4744
4743
  },
4745
4744
  {
4746
- label: n("gateway_services.form.fields.protocol.options.tls"),
4745
+ label: l("gateway_services.form.fields.protocol.options.tls"),
4747
4746
  value: "tls",
4748
4747
  group: "tcp"
4749
4748
  },
4750
4749
  {
4751
- label: n("gateway_services.form.fields.protocol.options.tls_passthrough"),
4750
+ label: l("gateway_services.form.fields.protocol.options.tls_passthrough"),
4752
4751
  value: "tls_passthrough",
4753
4752
  group: "tcp"
4754
4753
  },
4755
4754
  {
4756
- label: n("gateway_services.form.fields.protocol.options.grpc"),
4755
+ label: l("gateway_services.form.fields.protocol.options.grpc"),
4757
4756
  value: "grpc",
4758
4757
  group: "grpc"
4759
4758
  },
4760
4759
  {
4761
- label: n("gateway_services.form.fields.protocol.options.grpcs"),
4760
+ label: l("gateway_services.form.fields.protocol.options.grpcs"),
4762
4761
  value: "grpcs",
4763
4762
  group: "grpc"
4764
4763
  },
4765
- ...x ? [
4764
+ ...C ? [
4766
4765
  {
4767
- label: n("gateway_services.form.fields.protocol.options.ws"),
4766
+ label: l("gateway_services.form.fields.protocol.options.ws"),
4768
4767
  value: "ws",
4769
4768
  group: "websocket"
4770
4769
  },
4771
4770
  {
4772
- label: n("gateway_services.form.fields.protocol.options.wss"),
4771
+ label: l("gateway_services.form.fields.protocol.options.wss"),
4773
4772
  value: "wss",
4774
4773
  group: "websocket"
4775
4774
  }
4776
4775
  ] : [],
4777
4776
  {
4778
- label: n("gateway_services.form.fields.protocol.options.udp"),
4777
+ label: l("gateway_services.form.fields.protocol.options.udp"),
4779
4778
  value: "udp",
4780
4779
  group: "udp"
4781
4780
  }
4782
4781
  ], re = { url: "url", protocol: "protocol" }, W = (c, g) => {
4783
4782
  g.value;
4784
- }, A = (c) => c ? parseFloat(c) : 0, q = () => {
4785
- r.value = !0, s.errorMessage = "", s.fields.host = E.host, s.fields.path = E.path, s.fields.port = E.port, s.fields.protocol = E.protocol, s.fields.url = E.url, s.fields.retries = E.retries, s.fields.connect_timeout = E.connect_timeout, s.fields.write_timeout = E.write_timeout, s.fields.read_timeout = E.read_timeout, s.fields.client_certificate = E.client_certificate, s.fields.ca_certificates = E.ca_certificates, s.fields.tls_verify_enabled = E.tls_verify_enabled, s.fields.tls_verify_value = E.tls_verify_value;
4783
+ }, x = (c) => c ? parseFloat(c) : 0, q = () => {
4784
+ r.value = !0, s.errorMessage = "", s.fields.host = j.host, s.fields.path = j.path, s.fields.port = j.port, s.fields.protocol = j.protocol, s.fields.url = j.url, s.fields.retries = j.retries, s.fields.connect_timeout = j.connect_timeout, s.fields.write_timeout = j.write_timeout, s.fields.read_timeout = j.read_timeout, s.fields.client_certificate = j.client_certificate, s.fields.ca_certificates = j.ca_certificates, s.fields.tls_verify_enabled = j.tls_verify_enabled, s.fields.tls_verify_value = j.tls_verify_value;
4786
4785
  }, U = () => {
4787
- if (s.fields.url && S.value === "url")
4786
+ if (s.fields.url && I.value === "url")
4788
4787
  try {
4789
4788
  const c = new URL(s.fields.url);
4790
4789
  s.errorMessage = "", s.fields.protocol = c.protocol.slice(0, -1), s.fields.host = c.hostname, s.fields.path = c.pathname;
4791
4790
  const g = Number(c.port);
4792
4791
  w.value = !!g, s.fields.port = g || k.getPortFromProtocol(s.fields.protocol), s.errorMessage = "", t("url-valid:success");
4793
4792
  } catch (c) {
4794
- s.errorMessage = n("errors.urlErrorMessage"), t("url-valid:error", u(c));
4793
+ s.errorMessage = l("errors.urlErrorMessage"), t("url-valid:error", u(c));
4795
4794
  }
4796
4795
  else
4797
4796
  t("url-valid:success"), s.errorMessage = "";
4798
4797
  }, K = T(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(s.fields.protocol)), H = T(() => {
4799
- if (S.value === "url")
4798
+ if (I.value === "url")
4800
4799
  return !0;
4801
4800
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4802
- return S.value === "protocol" && c;
4801
+ return I.value === "protocol" && c;
4803
4802
  }), R = T(() => {
4804
- if (S.value === "url")
4803
+ if (I.value === "url")
4805
4804
  return !0;
4806
4805
  const c = ["https", "tls"].includes(s.fields.protocol);
4807
- return S.value === "protocol" && c;
4806
+ return I.value === "protocol" && c;
4808
4807
  }), Q = T(() => {
4809
- if (S.value === "url")
4808
+ if (I.value === "url")
4810
4809
  return !0;
4811
4810
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4812
- return S.value === "protocol" && c;
4813
- }), z = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : n("errors.validationNameError"), ie = (c) => {
4811
+ return I.value === "protocol" && c;
4812
+ }), z = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : l("errors.validationNameError"), ie = (c) => {
4814
4813
  v.value = z(c);
4815
- }, 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
- var g, O, J;
4817
- 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 = ((J = c == null ? void 0 : c.client_certificate) == null ? void 0 : J.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);
4814
+ }, Y = T(() => b.value && JSON.stringify(s.fields) !== JSON.stringify(j) || I.value === "url" && !!s.fields.url || I.value === "protocol" && !!s.fields.host), X = (c) => {
4815
+ var g, O, G;
4816
+ s.fields.name = (c == null ? void 0 : c.name) || "", s.fields.tags = ((g = c == null ? void 0 : c.tags) == null ? void 0 : g.join(",")) || "", s.fields.protocol = (c == null ? void 0 : c.protocol) || "http", s.fields.path = (c == null ? void 0 : c.path) || "", s.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, s.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, s.fields.host = (c == null ? void 0 : c.host) || "", s.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, s.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, s.fields.tls_verify_value = c != null && c.tls_verify ? c == null ? void 0 : c.tls_verify : !1, s.fields.ca_certificates = ((O = c == null ? void 0 : c.ca_certificates) == null ? void 0 : O.join(",")) || "", s.fields.client_certificate = ((G = c == null ? void 0 : c.client_certificate) == null ? void 0 : G.id) || "", s.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, s.fields.port = c != null && c.port || (c == null ? void 0 : c.port) === 0 ? c == null ? void 0 : c.port : 80, Object.assign(j, s.fields);
4818
4817
  }, ce = () => {
4819
4818
  o.push(a.config.cancelRoute);
4820
4819
  }, rt = T(() => {
@@ -4832,7 +4831,7 @@ const aa = (e, i) => {
4832
4831
  var g, O;
4833
4832
  const c = {
4834
4833
  name: s.fields.name || null,
4835
- tags: s.fields.tags ? (g = s.fields.tags) == null ? void 0 : g.split(",").filter((J) => J !== "") : null,
4834
+ tags: s.fields.tags ? (g = s.fields.tags) == null ? void 0 : g.split(",").filter((G) => G !== "") : null,
4836
4835
  protocol: s.fields.protocol,
4837
4836
  path: s.fields.path || null,
4838
4837
  read_timeout: s.fields.read_timeout,
@@ -4841,22 +4840,22 @@ const aa = (e, i) => {
4841
4840
  connect_timeout: s.fields.connect_timeout,
4842
4841
  tls_verify_value: s.fields.tls_verify_value,
4843
4842
  tls_verify_enabled: s.fields.tls_verify_enabled,
4844
- ca_certificates: s.fields.ca_certificates ? (O = s.fields.ca_certificates) == null ? void 0 : O.split(",").filter((J) => J !== "") : null,
4843
+ ca_certificates: s.fields.ca_certificates ? (O = s.fields.ca_certificates) == null ? void 0 : O.split(",").filter((G) => G !== "") : null,
4845
4844
  client_certificate: s.fields.client_certificate ? { id: s.fields.client_certificate } : null,
4846
4845
  write_timeout: s.fields.write_timeout,
4847
4846
  port: s.fields.port,
4848
4847
  url: s.fields.url
4849
4848
  };
4850
- return s.fields.client_certificate && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.client_certificate = { id: s.fields.client_certificate }), s.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.tls_verify = s.fields.tls_verify_value), K.value || (c.path = null), p.value === "create" ? S.value === "url" ? (delete c.protocol, delete c.host, delete c.path, a.config.app === "konnect" && delete c.port) : delete c.url : p.value === "edit" && delete c.url, c;
4849
+ return s.fields.client_certificate && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.client_certificate = { id: s.fields.client_certificate }), s.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.tls_verify = s.fields.tls_verify_value), K.value || (c.path = null), p.value === "create" ? I.value === "url" ? (delete c.protocol, delete c.host, delete c.path, a.config.app === "konnect" && delete c.port) : delete c.url : p.value === "edit" && delete c.url, c;
4851
4850
  }, Ie = async () => {
4852
- var c, g, O, J;
4851
+ var c, g, O, G;
4853
4852
  try {
4854
4853
  s.isReadonly = !0, U();
4855
4854
  const te = Se();
4856
4855
  let se;
4857
4856
  if (ot(te), await d.post(rt.value, te), p.value === "create" ? se = await d.post(Me.value, te) : p.value === "edit" && (se = ((c = a.config) == null ? void 0 : c.app) === "konnect" ? await d.put(Me.value, te) : await d.patch(Me.value, te)), se) {
4858
4857
  const { data: _ } = se;
4859
- s.fields.name = (_ == null ? void 0 : _.name) || "", s.fields.port = _.port || k.getPortFromProtocol(_.protocol), s.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", s.fields.host = (_ == null ? void 0 : _.host) || "", s.fields.path = (_ == null ? void 0 : _.path) || "", s.fields.url = (_ == null ? void 0 : _.url) || "", s.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, s.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, s.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, s.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, s.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = _ == null ? void 0 : _.ca_certificates) != null && O.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), s.fields.tags = (J = _ == null ? void 0 : _.tags) != null && J.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(E, s.fields), t("update", se == null ? void 0 : se.data);
4858
+ s.fields.name = (_ == null ? void 0 : _.name) || "", s.fields.port = _.port || k.getPortFromProtocol(_.protocol), s.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", s.fields.host = (_ == null ? void 0 : _.host) || "", s.fields.path = (_ == null ? void 0 : _.path) || "", s.fields.url = (_ == null ? void 0 : _.url) || "", s.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, s.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, s.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, s.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, s.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = _ == null ? void 0 : _.ca_certificates) != null && O.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), s.fields.tags = (G = _ == null ? void 0 : _.tags) != null && G.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(j, s.fields), t("update", se == null ? void 0 : se.data);
4860
4859
  }
4861
4860
  return se;
4862
4861
  } catch (te) {
@@ -4866,7 +4865,7 @@ const aa = (e, i) => {
4866
4865
  }
4867
4866
  };
4868
4867
  return be(() => a.gatewayServiceId, () => {
4869
- Object.assign(s.fields, E);
4868
+ Object.assign(s.fields, j);
4870
4869
  }), be(s.fields, (c) => {
4871
4870
  s.fields.port = k.getPortFromProtocol(c.protocol, String(c.port)), t("model-updated", Se());
4872
4871
  }), ai(() => {
@@ -4877,9 +4876,9 @@ const aa = (e, i) => {
4877
4876
  saveFormData: Ie,
4878
4877
  canSubmit: Y
4879
4878
  }), (c, g) => {
4880
- const O = L("KInput"), J = L("KLabel"), te = L("KRadio"), se = L("KSelect"), _ = L("KCheckbox"), qe = L("KCollapse");
4879
+ const O = L("KInput"), G = L("KLabel"), te = L("KRadio"), se = L("KSelect"), _ = L("KCheckbox"), qe = L("KCollapse");
4881
4880
  return h(), M("div", ps, [
4882
- C(m(Sl), {
4881
+ S(m(Sn), {
4883
4882
  "can-submit": Y.value,
4884
4883
  config: e.config,
4885
4884
  "edit-id": e.gatewayServiceId,
@@ -4887,9 +4886,9 @@ const aa = (e, i) => {
4887
4886
  "fetch-url": f.value,
4888
4887
  "is-readonly": s.isReadonly,
4889
4888
  onCancel: ce,
4890
- "onFetch:error": g[25] || (g[25] = (I) => c.$emit("error", I)),
4889
+ "onFetch:error": g[25] || (g[25] = (A) => c.$emit("error", A)),
4891
4890
  "onFetch:success": X,
4892
- onLoading: g[26] || (g[26] = (I) => c.$emit("loading", I)),
4891
+ onLoading: g[26] || (g[26] = (A) => c.$emit("loading", A)),
4893
4892
  onSubmit: Ie
4894
4893
  }, {
4895
4894
  "form-actions": y(() => [
@@ -4900,72 +4899,72 @@ const aa = (e, i) => {
4900
4899
  }, void 0, !0)
4901
4900
  ]),
4902
4901
  default: y(() => [
4903
- C(m(ti), {
4904
- description: m(n)("gateway_services.form.sections.general.description"),
4902
+ S(m(ti), {
4903
+ description: m(l)("gateway_services.form.sections.general.description"),
4905
4904
  "hide-info-header": e.hideSectionsInfo,
4906
- title: m(n)("gateway_services.form.sections.general.title")
4905
+ title: m(l)("gateway_services.form.sections.general.title")
4907
4906
  }, {
4908
4907
  default: y(() => [
4909
- C(O, {
4908
+ S(O, {
4910
4909
  modelValue: s.fields.name,
4911
- "onUpdate:modelValue": g[0] || (g[0] = (I) => s.fields.name = I),
4910
+ "onUpdate:modelValue": g[0] || (g[0] = (A) => s.fields.name = A),
4912
4911
  modelModifiers: { trim: !0 },
4913
4912
  autocomplete: "off",
4914
4913
  "data-testid": "gateway-service-name-input",
4915
4914
  error: $.value,
4916
4915
  "error-message": v.value,
4917
- label: m(n)("gateway_services.form.fields.name.label"),
4918
- "label-attributes": { info: m(n)("gateway_services.form.fields.name.tooltip") },
4916
+ label: m(l)("gateway_services.form.fields.name.label"),
4917
+ "label-attributes": { info: m(l)("gateway_services.form.fields.name.tooltip") },
4919
4918
  name: "name",
4920
- placeholder: m(n)("gateway_services.form.fields.name.placeholder"),
4919
+ placeholder: m(l)("gateway_services.form.fields.name.placeholder"),
4921
4920
  readonly: s.isReadonly,
4922
4921
  type: "text",
4923
4922
  onInput: ie
4924
4923
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
4925
- C(O, {
4924
+ S(O, {
4926
4925
  modelValue: s.fields.tags,
4927
- "onUpdate:modelValue": g[1] || (g[1] = (I) => s.fields.tags = I),
4926
+ "onUpdate:modelValue": g[1] || (g[1] = (A) => s.fields.tags = A),
4928
4927
  modelModifiers: { trim: !0 },
4929
4928
  autocomplete: "off",
4930
4929
  "data-testid": "gateway-service-tags-input",
4931
- help: m(n)("gateway_services.form.fields.tags.help"),
4932
- label: m(n)("gateway_services.form.fields.tags.label"),
4933
- "label-attributes": { info: m(n)("gateway_services.form.fields.tags.tooltip") },
4930
+ help: m(l)("gateway_services.form.fields.tags.help"),
4931
+ label: m(l)("gateway_services.form.fields.tags.label"),
4932
+ "label-attributes": { info: m(l)("gateway_services.form.fields.tags.tooltip") },
4934
4933
  name: "tags",
4935
- placeholder: m(n)("gateway_services.form.fields.tags.placeholder"),
4934
+ placeholder: m(l)("gateway_services.form.fields.tags.placeholder"),
4936
4935
  readonly: s.isReadonly,
4937
4936
  type: "text"
4938
4937
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
4939
4938
  ]),
4940
4939
  _: 1
4941
4940
  }, 8, ["description", "hide-info-header", "title"]),
4942
- C(m(ti), {
4943
- description: m(n)("gateway_services.form.sections.keys.description"),
4941
+ S(m(ti), {
4942
+ description: m(l)("gateway_services.form.sections.keys.description"),
4944
4943
  "hide-info-header": e.hideSectionsInfo,
4945
- title: m(n)("gateway_services.form.sections.keys.title")
4944
+ title: m(l)("gateway_services.form.sections.keys.title")
4946
4945
  }, {
4947
4946
  default: y(() => [
4948
4947
  b.value ? D("", !0) : (h(), M("div", fs, [
4949
4948
  F("div", ms, [
4950
- C(J, { required: "" }, {
4949
+ S(G, { required: "" }, {
4951
4950
  default: y(() => [
4952
- G(V(m(n)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4951
+ J(V(m(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4953
4952
  ]),
4954
4953
  _: 1
4955
4954
  })
4956
4955
  ]),
4957
4956
  F("div", gs, [
4958
- C(te, {
4959
- modelValue: S.value,
4960
- "onUpdate:modelValue": g[2] || (g[2] = (I) => S.value = I),
4957
+ S(te, {
4958
+ modelValue: I.value,
4959
+ "onUpdate:modelValue": g[2] || (g[2] = (A) => I.value = A),
4961
4960
  "data-testid": "gateway-service-url-radio",
4962
4961
  "selected-value": re.url,
4963
4962
  onChange: q
4964
4963
  }, {
4965
4964
  default: y(() => [
4966
- C(J, { class: "gateway-service-url-radio-label" }, {
4965
+ S(G, { class: "gateway-service-url-radio-label" }, {
4967
4966
  default: y(() => [
4968
- G(V(m(n)("gateway_services.form.sections.keys.urlLabel")), 1)
4967
+ J(V(m(l)("gateway_services.form.sections.keys.urlLabel")), 1)
4969
4968
  ]),
4970
4969
  _: 1
4971
4970
  })
@@ -4973,34 +4972,34 @@ const aa = (e, i) => {
4973
4972
  _: 1
4974
4973
  }, 8, ["modelValue", "selected-value"])
4975
4974
  ]),
4976
- S.value === "url" ? (h(), M("div", ys, [
4977
- C(O, {
4975
+ I.value === "url" ? (h(), M("div", ys, [
4976
+ S(O, {
4978
4977
  modelValue: s.fields.url,
4979
- "onUpdate:modelValue": g[3] || (g[3] = (I) => s.fields.url = I),
4978
+ "onUpdate:modelValue": g[3] || (g[3] = (A) => s.fields.url = A),
4980
4979
  modelModifiers: { trim: !0 },
4981
4980
  class: "gateway-service-url-input gateway-service-form-margin-bottom",
4982
4981
  "data-testid": "gateway-service-url-input",
4983
- label: m(n)("gateway_services.form.fields.upstream_url.label"),
4982
+ label: m(l)("gateway_services.form.fields.upstream_url.label"),
4984
4983
  "label-attributes": {
4985
- 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
+ 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
4985
  },
4987
4986
  name: "url",
4988
- placeholder: m(n)("gateway_services.form.fields.upstream_url.placeholder"),
4987
+ placeholder: m(l)("gateway_services.form.fields.upstream_url.placeholder"),
4989
4988
  required: ""
4990
4989
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
4991
4990
  ])) : D("", !0),
4992
- C(te, {
4993
- modelValue: S.value,
4994
- "onUpdate:modelValue": g[4] || (g[4] = (I) => S.value = I),
4991
+ S(te, {
4992
+ modelValue: I.value,
4993
+ "onUpdate:modelValue": g[4] || (g[4] = (A) => I.value = A),
4995
4994
  "checked-group": "protocol",
4996
4995
  "data-testid": "gateway-service-protocol-radio",
4997
4996
  "selected-value": re.protocol,
4998
4997
  onChange: q
4999
4998
  }, {
5000
4999
  default: y(() => [
5001
- C(J, { class: "gateway-service-protocol-radio-label" }, {
5000
+ S(G, { class: "gateway-service-protocol-radio-label" }, {
5002
5001
  default: y(() => [
5003
- G(V(m(n)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5002
+ J(V(m(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5004
5003
  ]),
5005
5004
  _: 1
5006
5005
  })
@@ -5008,187 +5007,187 @@ const aa = (e, i) => {
5008
5007
  _: 1
5009
5008
  }, 8, ["modelValue", "selected-value"])
5010
5009
  ])),
5011
- S.value === "protocol" || b.value ? (h(), M("div", vs, [
5012
- C(se, {
5010
+ I.value === "protocol" || b.value ? (h(), M("div", vs, [
5011
+ S(se, {
5013
5012
  modelValue: s.fields.protocol,
5014
- "onUpdate:modelValue": g[5] || (g[5] = (I) => s.fields.protocol = I),
5013
+ "onUpdate:modelValue": g[5] || (g[5] = (A) => s.fields.protocol = A),
5015
5014
  appearance: "select",
5016
5015
  "data-testid": "gateway-service-protocol-select",
5017
5016
  items: B,
5018
- label: m(n)("gateway_services.form.fields.protocol.label"),
5017
+ label: m(l)("gateway_services.form.fields.protocol.label"),
5019
5018
  "label-attributes": {
5020
- info: m(n)("gateway_services.form.fields.protocol.tooltip")
5019
+ info: m(l)("gateway_services.form.fields.protocol.tooltip")
5021
5020
  },
5022
5021
  readonly: s.isReadonly,
5023
5022
  required: "",
5024
5023
  width: "100%",
5025
- onSelected: g[6] || (g[6] = (I) => W(s.fields.protocol, I))
5024
+ onSelected: g[6] || (g[6] = (A) => W(s.fields.protocol, A))
5026
5025
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
5027
- C(O, {
5026
+ S(O, {
5028
5027
  modelValue: s.fields.host,
5029
- "onUpdate:modelValue": g[7] || (g[7] = (I) => s.fields.host = I),
5028
+ "onUpdate:modelValue": g[7] || (g[7] = (A) => s.fields.host = A),
5030
5029
  modelModifiers: { trim: !0 },
5031
5030
  class: "gateway-service-form-margin-top",
5032
5031
  "data-testid": "gateway-service-host-input",
5033
- label: m(n)("gateway_services.form.fields.host.label"),
5032
+ label: m(l)("gateway_services.form.fields.host.label"),
5034
5033
  "label-attributes": {
5035
- info: m(n)("gateway_services.form.fields.host.tooltip")
5034
+ info: m(l)("gateway_services.form.fields.host.tooltip")
5036
5035
  },
5037
5036
  name: "host",
5038
- placeholder: m(n)("gateway_services.form.fields.host.placeholder"),
5037
+ placeholder: m(l)("gateway_services.form.fields.host.placeholder"),
5039
5038
  required: ""
5040
5039
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
5041
5040
  K.value ? (h(), M("div", hs, [
5042
- C(O, {
5041
+ S(O, {
5043
5042
  modelValue: s.fields.path,
5044
- "onUpdate:modelValue": g[8] || (g[8] = (I) => s.fields.path = I),
5043
+ "onUpdate:modelValue": g[8] || (g[8] = (A) => s.fields.path = A),
5045
5044
  modelModifiers: { trim: !0 },
5046
5045
  class: "gateway-service-form-margin-top",
5047
5046
  "data-testid": "gateway-service-path-input",
5048
- label: m(n)("gateway_services.form.fields.path.label"),
5047
+ label: m(l)("gateway_services.form.fields.path.label"),
5049
5048
  "label-attributes": {
5050
- info: m(n)("gateway_services.form.fields.path.tooltip")
5049
+ info: m(l)("gateway_services.form.fields.path.tooltip")
5051
5050
  },
5052
5051
  name: "path",
5053
- placeholder: m(n)("gateway_services.form.fields.path.placeholder")
5052
+ placeholder: m(l)("gateway_services.form.fields.path.placeholder")
5054
5053
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
5055
5054
  ])) : D("", !0),
5056
- C(O, {
5055
+ S(O, {
5057
5056
  modelValue: s.fields.port,
5058
5057
  "onUpdate:modelValue": [
5059
- g[9] || (g[9] = (I) => s.fields.port = I),
5058
+ g[9] || (g[9] = (A) => s.fields.port = A),
5060
5059
  g[10] || (g[10] = () => {
5061
- s.fields.port = A(s.fields.port + "");
5060
+ s.fields.port = x(s.fields.port + "");
5062
5061
  })
5063
5062
  ],
5064
5063
  class: "gateway-service-form-margin-top",
5065
5064
  "data-testid": "gateway-service-port-input",
5066
- label: m(n)("gateway_services.form.fields.port.label"),
5065
+ label: m(l)("gateway_services.form.fields.port.label"),
5067
5066
  "label-attributes": {
5068
- info: m(n)("gateway_services.form.fields.port.tooltip")
5067
+ info: m(l)("gateway_services.form.fields.port.tooltip")
5069
5068
  },
5070
5069
  name: "port",
5071
5070
  type: "number"
5072
5071
  }, null, 8, ["modelValue", "label", "label-attributes"])
5073
5072
  ])) : D("", !0),
5074
- C(qe, {
5073
+ S(qe, {
5075
5074
  modelValue: r.value,
5076
- "onUpdate:modelValue": g[24] || (g[24] = (I) => r.value = I),
5075
+ "onUpdate:modelValue": g[24] || (g[24] = (A) => r.value = A),
5077
5076
  "data-testid": "advanced-fields-collapse",
5078
5077
  "trigger-alignment": "leading",
5079
- "trigger-label": m(n)("gateway_services.form.sections.keys.viewAdvancedFields")
5078
+ "trigger-label": m(l)("gateway_services.form.sections.keys.viewAdvancedFields")
5080
5079
  }, {
5081
5080
  default: y(() => [
5082
5081
  F("div", bs, [
5083
5082
  F("div", ws, [
5084
- C(O, {
5083
+ S(O, {
5085
5084
  modelValue: s.fields.retries,
5086
5085
  "onUpdate:modelValue": [
5087
- g[11] || (g[11] = (I) => s.fields.retries = I),
5086
+ g[11] || (g[11] = (A) => s.fields.retries = A),
5088
5087
  g[12] || (g[12] = () => {
5089
- s.fields.retries = A(s.fields.retries + "");
5088
+ s.fields.retries = x(s.fields.retries + "");
5090
5089
  })
5091
5090
  ],
5092
5091
  autocomplete: "off",
5093
5092
  "data-testid": "gateway-service-retries-input",
5094
- label: m(n)("gateway_services.form.fields.retries.label"),
5095
- "label-attributes": { info: m(n)("gateway_services.form.fields.retries.tooltip") },
5093
+ label: m(l)("gateway_services.form.fields.retries.label"),
5094
+ "label-attributes": { info: m(l)("gateway_services.form.fields.retries.tooltip") },
5096
5095
  name: "retries",
5097
5096
  readonly: s.isReadonly,
5098
5097
  type: "number"
5099
5098
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5100
5099
  ]),
5101
5100
  F("div", _s, [
5102
- C(O, {
5101
+ S(O, {
5103
5102
  modelValue: s.fields.connect_timeout,
5104
5103
  "onUpdate:modelValue": [
5105
- g[13] || (g[13] = (I) => s.fields.connect_timeout = I),
5104
+ g[13] || (g[13] = (A) => s.fields.connect_timeout = A),
5106
5105
  g[14] || (g[14] = () => {
5107
- s.fields.connect_timeout = A(s.fields.connect_timeout + "");
5106
+ s.fields.connect_timeout = x(s.fields.connect_timeout + "");
5108
5107
  })
5109
5108
  ],
5110
5109
  autocomplete: "off",
5111
5110
  "data-testid": "gateway-service-connTimeout-input",
5112
- label: m(n)("gateway_services.form.fields.connect_timeout.label"),
5113
- "label-attributes": { info: m(n)("gateway_services.form.fields.connect_timeout.tooltip") },
5111
+ label: m(l)("gateway_services.form.fields.connect_timeout.label"),
5112
+ "label-attributes": { info: m(l)("gateway_services.form.fields.connect_timeout.tooltip") },
5114
5113
  name: "connTimeout",
5115
5114
  readonly: s.isReadonly,
5116
5115
  type: "number"
5117
5116
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5118
5117
  ]),
5119
5118
  F("div", ks, [
5120
- C(O, {
5119
+ S(O, {
5121
5120
  modelValue: s.fields.write_timeout,
5122
5121
  "onUpdate:modelValue": [
5123
- g[15] || (g[15] = (I) => s.fields.write_timeout = I),
5122
+ g[15] || (g[15] = (A) => s.fields.write_timeout = A),
5124
5123
  g[16] || (g[16] = () => {
5125
- s.fields.write_timeout = A(s.fields.write_timeout + "");
5124
+ s.fields.write_timeout = x(s.fields.write_timeout + "");
5126
5125
  })
5127
5126
  ],
5128
5127
  autocomplete: "off",
5129
5128
  "data-testid": "gateway-service-writeTimeout-input",
5130
- label: m(n)("gateway_services.form.fields.write_timeout.label"),
5131
- "label-attributes": { info: m(n)("gateway_services.form.fields.write_timeout.tooltip") },
5129
+ label: m(l)("gateway_services.form.fields.write_timeout.label"),
5130
+ "label-attributes": { info: m(l)("gateway_services.form.fields.write_timeout.tooltip") },
5132
5131
  name: "writeTimeout",
5133
5132
  readonly: s.isReadonly,
5134
5133
  type: "number"
5135
5134
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5136
5135
  ]),
5137
5136
  F("div", Cs, [
5138
- C(O, {
5137
+ S(O, {
5139
5138
  modelValue: s.fields.read_timeout,
5140
5139
  "onUpdate:modelValue": [
5141
- g[17] || (g[17] = (I) => s.fields.read_timeout = I),
5140
+ g[17] || (g[17] = (A) => s.fields.read_timeout = A),
5142
5141
  g[18] || (g[18] = () => {
5143
- s.fields.read_timeout = A(s.fields.read_timeout + "");
5142
+ s.fields.read_timeout = x(s.fields.read_timeout + "");
5144
5143
  })
5145
5144
  ],
5146
5145
  autocomplete: "off",
5147
5146
  "data-testid": "gateway-service-readTimeout-input",
5148
- label: m(n)("gateway_services.form.fields.read_timeout.label"),
5149
- "label-attributes": { info: m(n)("gateway_services.form.fields.read_timeout.tooltip") },
5147
+ label: m(l)("gateway_services.form.fields.read_timeout.label"),
5148
+ "label-attributes": { info: m(l)("gateway_services.form.fields.read_timeout.tooltip") },
5150
5149
  name: "readTimeout",
5151
5150
  readonly: s.isReadonly,
5152
5151
  type: "number"
5153
5152
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5154
5153
  ]),
5155
5154
  H.value ? (h(), M("div", Ss, [
5156
- C(O, {
5155
+ S(O, {
5157
5156
  modelValue: s.fields.client_certificate,
5158
- "onUpdate:modelValue": g[19] || (g[19] = (I) => s.fields.client_certificate = I),
5157
+ "onUpdate:modelValue": g[19] || (g[19] = (A) => s.fields.client_certificate = A),
5159
5158
  modelModifiers: { trim: !0 },
5160
5159
  autocomplete: "off",
5161
5160
  "data-testid": "gateway-service-clientCert-input",
5162
- label: m(n)("gateway_services.form.fields.client_certificate.label"),
5163
- "label-attributes": { info: m(n)("gateway_services.form.fields.client_certificate.tooltip") },
5161
+ label: m(l)("gateway_services.form.fields.client_certificate.label"),
5162
+ "label-attributes": { info: m(l)("gateway_services.form.fields.client_certificate.tooltip") },
5164
5163
  name: "clientCert",
5165
- placeholder: m(n)("gateway_services.form.fields.client_certificate.placeholder"),
5164
+ placeholder: m(l)("gateway_services.form.fields.client_certificate.placeholder"),
5166
5165
  readonly: s.isReadonly,
5167
5166
  type: "text"
5168
5167
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
5169
5168
  ])) : D("", !0),
5170
5169
  R.value ? (h(), M("div", Is, [
5171
- C(O, {
5170
+ S(O, {
5172
5171
  modelValue: s.fields.ca_certificates,
5173
- "onUpdate:modelValue": g[20] || (g[20] = (I) => s.fields.ca_certificates = I),
5172
+ "onUpdate:modelValue": g[20] || (g[20] = (A) => s.fields.ca_certificates = A),
5174
5173
  modelModifiers: { trim: !0 },
5175
5174
  autocomplete: "off",
5176
5175
  "data-testid": "gateway-service-ca-certs-input",
5177
- label: m(n)("gateway_services.form.fields.ca_certificates.label"),
5178
- placeholder: m(n)("gateway_services.form.fields.ca_certificates.placeholder"),
5176
+ label: m(l)("gateway_services.form.fields.ca_certificates.label"),
5177
+ placeholder: m(l)("gateway_services.form.fields.ca_certificates.placeholder"),
5179
5178
  readonly: s.isReadonly,
5180
5179
  type: "text"
5181
5180
  }, {
5182
5181
  "label-tooltip": y(() => [
5183
- C(m(l), {
5182
+ S(m(n), {
5184
5183
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5185
5184
  scope: "global"
5186
5185
  }, {
5187
5186
  code1: y(() => [
5188
- F("code", null, V(m(n)("gateway_services.form.fields.ca_certificates.code1")), 1)
5187
+ F("code", null, V(m(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5189
5188
  ]),
5190
5189
  code2: y(() => [
5191
- F("code", null, V(m(n)("gateway_services.form.fields.ca_certificates.code2")), 1)
5190
+ F("code", null, V(m(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5192
5191
  ]),
5193
5192
  _: 1
5194
5193
  })
@@ -5197,20 +5196,20 @@ const aa = (e, i) => {
5197
5196
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5198
5197
  ])) : D("", !0),
5199
5198
  Q.value ? (h(), M("div", As, [
5200
- C(_, {
5199
+ S(_, {
5201
5200
  modelValue: s.fields.tls_verify_enabled,
5202
- "onUpdate:modelValue": g[21] || (g[21] = (I) => s.fields.tls_verify_enabled = I),
5201
+ "onUpdate:modelValue": g[21] || (g[21] = (A) => s.fields.tls_verify_enabled = A),
5203
5202
  "data-testid": "gateway-service-tls-verify-checkbox",
5204
- description: m(n)("gateway_services.form.fields.tls_verify_enabled.help"),
5205
- label: m(n)("gateway_services.form.fields.tls_verify_enabled.label")
5203
+ description: m(l)("gateway_services.form.fields.tls_verify_enabled.help"),
5204
+ label: m(l)("gateway_services.form.fields.tls_verify_enabled.label")
5206
5205
  }, {
5207
5206
  tooltip: y(() => [
5208
- C(m(l), {
5207
+ S(m(n), {
5209
5208
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5210
5209
  scope: "global"
5211
5210
  }, {
5212
5211
  code1: y(() => [
5213
- F("code", null, V(m(n)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5212
+ F("code", null, V(m(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5214
5213
  ]),
5215
5214
  _: 1
5216
5215
  })
@@ -5218,20 +5217,20 @@ const aa = (e, i) => {
5218
5217
  _: 1
5219
5218
  }, 8, ["modelValue", "description", "label"]),
5220
5219
  s.fields.tls_verify_enabled ? (h(), M("div", xs, [
5221
- C(te, {
5220
+ S(te, {
5222
5221
  modelValue: s.fields.tls_verify_value,
5223
- "onUpdate:modelValue": g[22] || (g[22] = (I) => s.fields.tls_verify_value = I),
5222
+ "onUpdate:modelValue": g[22] || (g[22] = (A) => s.fields.tls_verify_value = A),
5224
5223
  "data-testid": "gateway-service-tls-verify-true-option",
5225
- label: m(n)("gateway_services.form.fields.tls_verify_option.true.label"),
5224
+ label: m(l)("gateway_services.form.fields.tls_verify_option.true.label"),
5226
5225
  "selected-value": !0
5227
5226
  }, null, 8, ["modelValue", "label"])
5228
5227
  ])) : D("", !0),
5229
5228
  s.fields.tls_verify_enabled ? (h(), M("div", Ts, [
5230
- C(te, {
5229
+ S(te, {
5231
5230
  modelValue: s.fields.tls_verify_value,
5232
- "onUpdate:modelValue": g[23] || (g[23] = (I) => s.fields.tls_verify_value = I),
5231
+ "onUpdate:modelValue": g[23] || (g[23] = (A) => s.fields.tls_verify_value = A),
5233
5232
  "data-testid": "gateway-service-tls-verify-false-option",
5234
- label: m(n)("gateway_services.form.fields.tls_verify_option.false.label"),
5233
+ label: m(l)("gateway_services.form.fields.tls_verify_option.false.label"),
5235
5234
  "selected-value": !1
5236
5235
  }, null, 8, ["modelValue", "label"])
5237
5236
  ])) : D("", !0)
@@ -5249,8 +5248,7 @@ const aa = (e, i) => {
5249
5248
  ]);
5250
5249
  };
5251
5250
  }
5252
- });
5253
- const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { class: "kong-ui-gateway-service-entity-config-card" }, Rs = /* @__PURE__ */ ae({
5251
+ }), Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { class: "kong-ui-gateway-service-entity-config-card" }, Rs = /* @__PURE__ */ ae({
5254
5252
  __name: "GatewayServiceConfigCard",
5255
5253
  props: {
5256
5254
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5277,7 +5275,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5277
5275
  },
5278
5276
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
5279
5277
  setup(e) {
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
+ 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({
5281
5279
  id: {},
5282
5280
  name: {
5283
5281
  tooltip: t("gateway_services.form.fields.name.tooltip")
@@ -5338,10 +5336,10 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5338
5336
  }
5339
5337
  });
5340
5338
  return (u, d) => (h(), M("div", Ms, [
5341
- C(m(wl), {
5339
+ S(m(wn), {
5342
5340
  config: e.config,
5343
5341
  "config-card-doc": e.configCardDoc,
5344
- "config-schema": n.value,
5342
+ "config-schema": l.value,
5345
5343
  "fetch-url": r.value,
5346
5344
  "hide-title": e.hideTitle,
5347
5345
  "onCopy:success": d[0] || (d[0] = (f) => u.$emit("copy:success", f)),
@@ -5350,7 +5348,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5350
5348
  onLoading: d[3] || (d[3] = (f) => u.$emit("loading", f))
5351
5349
  }, {
5352
5350
  "enabled-label-tooltip": y(() => [
5353
- C(m(a), {
5351
+ S(m(a), {
5354
5352
  keypath: "gateway_services.form.fields.enabled.tooltip",
5355
5353
  scope: "global"
5356
5354
  }, {
@@ -5364,7 +5362,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5364
5362
  })
5365
5363
  ]),
5366
5364
  "ca_certificates-label-tooltip": y(() => [
5367
- C(m(a), {
5365
+ S(m(a), {
5368
5366
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5369
5367
  scope: "global"
5370
5368
  }, {
@@ -5378,7 +5376,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5378
5376
  })
5379
5377
  ]),
5380
5378
  "tls_verify-label-tooltip": y(() => [
5381
- C(m(a), {
5379
+ S(m(a), {
5382
5380
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5383
5381
  scope: "global"
5384
5382
  }, {
@@ -5389,10 +5387,10 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5389
5387
  })
5390
5388
  ]),
5391
5389
  tls_verify: y((f) => [
5392
- G(V(typeof m(o)("rowValue", f) == "boolean" ? l("rowValue", f) : m(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5390
+ J(V(typeof m(o)("rowValue", f) == "boolean" ? n("rowValue", f) : m(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5393
5391
  ]),
5394
5392
  client_certificate: y((f) => [
5395
- G(V(m(o)("rowValue", f) ? m(o)("rowValue", f).id : "–"), 1)
5393
+ J(V(m(o)("rowValue", f) ? m(o)("rowValue", f).id : "–"), 1)
5396
5394
  ]),
5397
5395
  _: 1
5398
5396
  }, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])