@kong-ui-public/entities-key-sets 2.5.0 → 2.5.1

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,7 +1,7 @@
1
- import { defineComponent as W, ref as N, computed as x, watch as Ae, renderSlot as Y, createCommentVNode as z, unref as k, onBeforeMount as ct, resolveComponent as q, openBlock as y, createBlock as R, createSlots as Oe, withCtx as v, createElementVNode as B, createVNode as I, createTextVNode as V, toDisplayString as K, renderList as se, createElementBlock as j, withModifiers as nt, withDirectives as me, vShow as ye, Fragment as de, normalizeClass as ve, withKeys as Qn, useSlots as ut, useCssVars as Wt, inject as Xn, onMounted as ea, onUnmounted as ta, resolveDynamicComponent as xe, normalizeStyle as He, normalizeProps as na, guardReactiveProps as aa, mergeProps as ra, pushScopeId as Je, popScopeId as We, reactive as At } from "vue";
1
+ import { defineComponent as W, ref as N, computed as A, watch as xe, renderSlot as Y, createCommentVNode as z, unref as k, onBeforeMount as ct, resolveComponent as K, openBlock as h, createBlock as U, createSlots as Oe, withCtx as b, createElementVNode as B, createVNode as I, createTextVNode as V, toDisplayString as q, renderList as se, createElementBlock as j, withModifiers as nt, withDirectives as ye, vShow as me, Fragment as de, normalizeClass as ve, withKeys as Qn, useSlots as ut, useCssVars as Wt, inject as Xn, onMounted as ea, onUnmounted as ta, resolveDynamicComponent as Ae, normalizeStyle as He, normalizeProps as na, guardReactiveProps as aa, mergeProps as ra, pushScopeId as Je, popScopeId as We, reactive as xt } from "vue";
2
2
  import { useRouter as dt } from "vue-router";
3
3
  import { createI18n as Yt, i18nTComponent as Zt } from "@kong-ui-public/i18n";
4
- import xt from "axios";
4
+ import At from "axios";
5
5
  import { BadgeMethodAppearances as ia } from "@kong/kongponents";
6
6
  const oa = {
7
7
  title: "Key Sets",
@@ -77,7 +77,7 @@ function sa() {
77
77
  }
78
78
  const pt = {
79
79
  useI18n: sa
80
- }, Ue = {
80
+ }, Re = {
81
81
  list: {
82
82
  konnect: "/api/runtime_groups/{controlPlaneId}/key-sets",
83
83
  kongManager: "/{workspace}/key-sets"
@@ -99,13 +99,13 @@ function ca() {
99
99
  getAxiosInstance: (e = {}) => {
100
100
  try {
101
101
  const t = Xn("get-axios-instance", void 0);
102
- return typeof t == "function" ? t(e) : xt.create({
102
+ return typeof t == "function" ? t(e) : At.create({
103
103
  withCredentials: !0,
104
104
  timeout: 3e4,
105
105
  ...e
106
106
  });
107
107
  } catch (t) {
108
- return console.warn("getAxiosInstance:", t.message || t), xt.create({
108
+ return console.warn("getAxiosInstance:", t.message || t), At.create({
109
109
  withCredentials: !0,
110
110
  timeout: 3e4,
111
111
  ...e
@@ -182,7 +182,7 @@ const fa = {
182
182
  }, ga = {
183
183
  message: "Are you sure you want to delete this {entityType}?",
184
184
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
185
- }, ma = {
185
+ }, ya = {
186
186
  actions: {
187
187
  viewConfiguration: "View Configuration",
188
188
  save: "Save",
@@ -198,7 +198,7 @@ const fa = {
198
198
  errors: {
199
199
  edit: "The entity could not be edited at this time."
200
200
  }
201
- }, ya = {
201
+ }, ma = {
202
202
  emptyState: {
203
203
  noSearchResultsTitle: "No results found",
204
204
  noSearchResultsMessage: "Please adjust the criteria and try again.",
@@ -269,8 +269,8 @@ const fa = {
269
269
  }, wa = {
270
270
  global: fa,
271
271
  deleteModal: ga,
272
- baseForm: ma,
273
- baseTable: ya,
272
+ baseForm: ya,
273
+ baseTable: ma,
274
274
  baseConfigCard: ha,
275
275
  filter: va,
276
276
  debouncedFilter: ba,
@@ -338,82 +338,82 @@ function Sa(e, t, n, r = {
338
338
  headers: e.requestHeaders
339
339
  }), { i18n: { t: o } } = gt(), { debounce: i } = ua(), l = i(async (g) => {
340
340
  await E(g);
341
- }, 200), s = N(!1), c = N(""), d = N(""), u = N([]), h = N([]), m = N(void 0), w = k(t);
342
- let b = `${e.apiBaseUrl}${w}`;
343
- e.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
344
- const { isValidUuid: C } = Qt(), L = async () => {
341
+ }, 200), s = N(!1), u = N(""), d = N(""), c = N([]), m = N([]), y = N(void 0), C = k(t);
342
+ let v = `${e.apiBaseUrl}${C}`;
343
+ e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
344
+ const { isValidUuid: w } = Qt(), L = async () => {
345
345
  try {
346
346
  s.value = !0;
347
- const { data: g } = await a.get(`${b}?size=${n}`);
348
- g != null && g.next || (m.value = r.fetchedItemsKey in g ? g[r.fetchedItemsKey] : []), h.value = r.fetchedItemsKey in g ? g[r.fetchedItemsKey] : [], u.value = h.value;
347
+ const { data: g } = await a.get(`${v}?size=${n}`);
348
+ g != null && g.next || (y.value = r.fetchedItemsKey in g ? g[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in g ? g[r.fetchedItemsKey] : [], c.value = m.value;
349
349
  } catch {
350
- u.value = [], c.value = o("debouncedFilter.errors.fetch");
350
+ c.value = [], u.value = o("debouncedFilter.errors.fetch");
351
351
  } finally {
352
352
  s.value = !1;
353
353
  }
354
354
  }, _ = N(""), E = async (g) => {
355
355
  var f, p, M;
356
356
  if (_.value !== g)
357
- if (_.value = g || "", m.value === void 0)
357
+ if (_.value = g || "", y.value === void 0)
358
358
  try {
359
- if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
360
- let F = b + "";
359
+ if (s.value = !0, u.value = "", d.value = "", e.app === "konnect") {
360
+ let F = v + "";
361
361
  g && (F += `/${g}`);
362
- const { data: A } = await a.get(`${F}?size=${n}`);
363
- r.fetchedItemsKey in A ? u.value = A[r.fetchedItemsKey] : A != null && A.id ? u.value = [A] : u.value = [];
362
+ const { data: x } = await a.get(`${F}?size=${n}`);
363
+ r.fetchedItemsKey in x ? c.value = x[r.fetchedItemsKey] : x != null && x.id ? c.value = [x] : c.value = [];
364
364
  } else if (g) {
365
365
  const F = [];
366
- C(g) && r.searchKeys.includes("id") ? F.push((async () => {
367
- const { data: O } = await a.get(`${b}/${g}`);
366
+ w(g) && r.searchKeys.includes("id") ? F.push((async () => {
367
+ const { data: O } = await a.get(`${v}/${g}`);
368
368
  return [O[r.fetchedItemsKey] ?? O];
369
369
  })()) : F.push(
370
370
  ...r.searchKeys.filter((O) => O !== "id").map(async (O) => {
371
- const { data: T } = await a.get(`${b}?${O}=${g}`);
371
+ const { data: T } = await a.get(`${v}?${O}=${g}`);
372
372
  return T[r.fetchedItemsKey];
373
373
  })
374
374
  );
375
- const A = await Promise.all(F), U = /* @__PURE__ */ new Set();
376
- u.value = [], (f = A == null ? void 0 : A.forEach) == null || f.call(A, (O) => {
375
+ const x = await Promise.all(F), R = /* @__PURE__ */ new Set();
376
+ c.value = [], (f = x == null ? void 0 : x.forEach) == null || f.call(x, (O) => {
377
377
  var T;
378
378
  (T = O == null ? void 0 : O.forEach) == null || T.call(O, (P) => {
379
- U.has(P.id) || (U.add(P.id), u.value.push(P));
379
+ R.has(P.id) || (R.add(P.id), c.value.push(P));
380
380
  });
381
381
  });
382
382
  } else
383
- u.value = h.value;
383
+ c.value = m.value;
384
384
  } catch (F) {
385
- ((p = F == null ? void 0 : F.response) == null ? void 0 : p.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
385
+ ((p = F == null ? void 0 : F.response) == null ? void 0 : p.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (c.value = [], u.value = o("debouncedFilter.errors.fetch"));
386
386
  } finally {
387
387
  s.value = !1;
388
388
  }
389
389
  else
390
- s.value = !0, d.value = "", g ? (u.value = (M = m.value) == null ? void 0 : M.filter((F) => {
391
- var A;
392
- let U = !1;
390
+ s.value = !0, d.value = "", g ? (c.value = (M = y.value) == null ? void 0 : M.filter((F) => {
391
+ var x;
392
+ let R = !1;
393
393
  for (const O of r.searchKeys) {
394
- const T = typeof F[O] == "string" ? (A = F[O]) == null ? void 0 : A.toLowerCase() : F[O];
395
- T != null && T.includes(g.toLowerCase()) && (U = !0);
394
+ const T = typeof F[O] == "string" ? (x = F[O]) == null ? void 0 : x.toLowerCase() : F[O];
395
+ T != null && T.includes(g.toLowerCase()) && (R = !0);
396
396
  }
397
- return U;
398
- }), (!u.value || !u.value.length) && (d.value = o("debouncedFilter.errors.invalid"))) : u.value = m.value, s.value = !1;
397
+ return R;
398
+ }), (!c.value || !c.value.length) && (d.value = o("debouncedFilter.errors.invalid"))) : c.value = y.value, s.value = !1;
399
399
  };
400
400
  return {
401
401
  loading: s,
402
- error: c,
402
+ error: u,
403
403
  validationError: d,
404
- results: u,
405
- allRecords: m,
404
+ results: c,
405
+ allRecords: y,
406
406
  loadItems: L,
407
407
  debouncedQueryChange: l
408
408
  };
409
409
  }
410
- function Aa(e, t) {
411
- const n = k(t), r = x(
410
+ function xa(e, t) {
411
+ const n = k(t), r = A(
412
412
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
413
413
  );
414
414
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
415
415
  }
416
- function xa() {
416
+ function Aa() {
417
417
  const { i18n: { t: e } } = gt();
418
418
  return {
419
419
  getMessageFromError: (t) => {
@@ -455,66 +455,72 @@ function Ia(e) {
455
455
  }
456
456
  }
457
457
  function Xt(e, t) {
458
- const n = N(k(e)), r = N(k(t)), a = x(
458
+ const n = N(k(e)), r = N(k(t)), a = A(
459
459
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
460
- ), o = x(
460
+ ), o = A(
461
461
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
462
462
  );
463
463
  return (i) => {
464
- const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: h } = i;
464
+ const { page: l, pageSize: s, offset: u, sortColumnKey: d, sortColumnOrder: c, query: m } = i;
465
465
  try {
466
- let m = new URL(o.value.href);
467
- return a.value && h ? (m.search = "", m = n.value.isExactMatch ? new URL(`${m.href}/${h}/`) : new URL(`${m.href}?filter[name][contains]=${h}`)) : (a.value || new URLSearchParams(h).forEach((w, b) => {
468
- m.searchParams.append(b, w);
469
- }), d && m.searchParams.append("sort_by", d), u === "desc" && m.searchParams.append("sort_desc", "1"), m.searchParams.append("size", String(s))), c && l !== 1 && m.searchParams.append("offset", String(c)), m.href;
470
- } catch (m) {
471
- return console.error("RouteList(fetcher)", m), r.value;
466
+ let y = new URL(o.value.href);
467
+ return a.value && m ? (y.search = "", y = n.value.isExactMatch ? new URL(`${y.href}/${m}/`) : new URL(`${y.href}?filter[name][contains]=${m}`)) : (a.value || new URLSearchParams(m).forEach((C, v) => {
468
+ y.searchParams.append(v, C);
469
+ }), d && y.searchParams.append("sort_by", d), c === "desc" && y.searchParams.append("sort_desc", "1"), y.searchParams.append("size", String(s))), u && l !== 1 && y.searchParams.append("offset", String(u)), y.href;
470
+ } catch (y) {
471
+ return console.error("RouteList(fetcher)", y), r.value;
472
472
  }
473
473
  };
474
474
  }
475
475
  function _a(e, t, n = "data") {
476
- const r = k(t), { axiosInstance: a } = ft({
477
- headers: e.requestHeaders
478
- }), o = Xt(e, r), i = N({
476
+ var r;
477
+ const a = k(t), { axiosInstance: o } = ft({
478
+ ...e.axiosRequestConfig,
479
+ headers: { ...(r = e.axiosRequestConfig) == null ? void 0 : r.headers, ...e.requestHeaders }
480
+ }), i = Xt(e, a), l = N({
479
481
  status: we.Idle
480
482
  });
481
- return { fetcher: async (l) => {
483
+ return { fetcher: async (s) => {
484
+ var u;
482
485
  try {
483
- i.value = { status: we.Loading };
484
- let s = o(l);
485
- s.includes("filter[name]") && (s = `${s}&page[size]=${l.pageSize}&page[number]=${l.page}`);
486
- const { data: c } = await a.get(s), d = n && n.replace(/[^\w-_]/gi, "");
487
- let u;
488
- c[d] && Array.isArray(c[d]) ? u = c[d] : Array.isArray(c) ? u = c : u = Object.keys(c).length ? [c] : [];
489
- const h = {
490
- data: u,
491
- total: u.length,
492
- ...c.offset ? {
486
+ l.value = { status: we.Loading };
487
+ let d = i(s);
488
+ d.includes("filter[name]") && (d = `${d}&page[size]=${s.pageSize}&page[number]=${s.page}`);
489
+ const c = await o.get(d);
490
+ if (c.status >= 400)
491
+ throw c;
492
+ const m = c.data, y = n && n.replace(/[^\w-_]/gi, "");
493
+ let C;
494
+ m[y] && Array.isArray(m[y]) ? C = m[y] : Array.isArray(m) ? C = m : C = Object.keys(m).length ? [m] : [];
495
+ const v = {
496
+ data: C,
497
+ total: C.length,
498
+ ...m.offset ? {
493
499
  pagination: {
494
- offset: c.offset
500
+ offset: m.offset
495
501
  }
496
502
  } : null
497
503
  };
498
- return i.value = {
504
+ return l.value = {
499
505
  status: we.Idle,
500
- response: h
501
- }, h;
502
- } catch (s) {
506
+ response: v
507
+ }, v;
508
+ } catch (d) {
503
509
  const c = {
504
510
  data: [],
505
511
  total: 0
506
512
  };
507
- return l.query && s.response.status === 404 ? (i.value = {
513
+ return s.query && (((u = d.response) == null ? void 0 : u.status) === 404 || d.status === 404) ? (l.value = {
508
514
  status: we.NoResults,
509
515
  response: c,
510
- error: s
511
- }, c) : (i.value = {
516
+ error: d.response ? d : { response: d }
517
+ }, c) : (l.value = {
512
518
  status: we.Error,
513
519
  response: c,
514
- error: s
520
+ error: d.response ? d : { response: d }
515
521
  }, c);
516
522
  }
517
- }, fetcherState: i };
523
+ }, fetcherState: l };
518
524
  }
519
525
  function ja() {
520
526
  const e = (n, r = "_") => n ? n.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
@@ -580,17 +586,17 @@ function Ea(e) {
580
586
  }
581
587
  function Fa(e) {
582
588
  const t = N(0), n = N(0), r = N(!1);
583
- return Ae(e, (a) => {
589
+ return xe(e, (a) => {
584
590
  a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
585
591
  }), {
586
- isTruncated: x(() => t.value < n.value)
592
+ isTruncated: A(() => t.value < n.value)
587
593
  };
588
594
  }
589
595
  const X = {
590
596
  useAxios: ft,
591
597
  useDebouncedFilter: Sa,
592
- useDeleteUrlBuilder: Aa,
593
- useErrors: xa,
598
+ useDeleteUrlBuilder: xa,
599
+ useErrors: Aa,
594
600
  useExternalLinkCreator: Ia,
595
601
  useFetcher: _a,
596
602
  useFetchUrlBuilder: Xt,
@@ -599,10 +605,10 @@ const X = {
599
605
  useI18n: gt,
600
606
  useGatewayFeatureSupported: Ea,
601
607
  useTruncationDetector: Fa
602
- }, Ka = {
608
+ }, qa = {
603
609
  key: 0,
604
610
  class: "config-card-fieldset-title"
605
- }, qa = /* @__PURE__ */ W({
611
+ }, Ka = /* @__PURE__ */ W({
606
612
  __name: "JsonCardItem",
607
613
  props: {
608
614
  item: {
@@ -619,22 +625,22 @@ const X = {
619
625
  }
620
626
  },
621
627
  setup(e) {
622
- const t = e, { i18n: { t: n } } = X.useI18n(), { convertKeyToTitle: r } = X.useStringHelpers(), a = x(() => t.item.key ?? "json-array-item"), o = x(() => t.item.value ?? t.item), i = x(() => {
628
+ const t = e, { i18n: { t: n } } = X.useI18n(), { convertKeyToTitle: r } = X.useStringHelpers(), a = A(() => t.item.key ?? "json-array-item"), o = A(() => t.item.value ?? t.item), i = A(() => {
623
629
  const s = JSON.parse(JSON.stringify(o.value));
624
630
  return t.isArrayItem && delete s.name, s;
625
- }), l = x(() => {
631
+ }), l = A(() => {
626
632
  var s;
627
633
  return t.isArrayItem ? (s = o.value) != null && s.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
628
634
  });
629
- return (s, c) => (y(), R(xe(e.isArrayItem ? "fieldset" : "div"), {
635
+ return (s, u) => (h(), U(Ae(e.isArrayItem ? "fieldset" : "div"), {
630
636
  class: ve(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
631
637
  }, {
632
- default: v(() => [
633
- e.isArrayItem ? (y(), j("legend", Ka, [
634
- B("b", null, K(l.value), 1)
638
+ default: b(() => [
639
+ e.isArrayItem ? (h(), j("legend", qa, [
640
+ B("b", null, q(l.value), 1)
635
641
  ])) : z("", !0),
636
- (y(!0), j(de, null, se(Object.keys(i.value), (d, u) => (y(), R(an, {
637
- key: `${a.value}-property-${u}`,
642
+ (h(!0), j(de, null, se(Object.keys(i.value), (d, c) => (h(), U(an, {
643
+ key: `${a.value}-property-${c}`,
638
644
  item: {
639
645
  key: d,
640
646
  label: k(r)(d),
@@ -650,7 +656,7 @@ const X = {
650
656
  for (const [r, a] of t)
651
657
  n[r] = a;
652
658
  return n;
653
- }, nn = /* @__PURE__ */ ce(qa, [["__scopeId", "data-v-68ca83ec"]]), La = /* @__PURE__ */ W({
659
+ }, nn = /* @__PURE__ */ ce(Ka, [["__scopeId", "data-v-68ca83ec"]]), La = /* @__PURE__ */ W({
654
660
  __name: "InternalLinkItem",
655
661
  props: {
656
662
  item: {
@@ -662,22 +668,22 @@ const X = {
662
668
  setup(e) {
663
669
  const { i18n: { t } } = X.useI18n();
664
670
  return (n, r) => {
665
- const a = q("KButton");
666
- return y(), j("div", null, [
671
+ const a = K("KButton");
672
+ return h(), j("div", null, [
667
673
  I(a, {
668
674
  appearance: "tertiary",
669
675
  class: "navigation-button",
670
676
  onClick: r[0] || (r[0] = (o) => n.$emit("navigation-click", e.item))
671
677
  }, {
672
- default: v(() => [
673
- V(K(e.item.value || k(t)("baseConfigCard.commonFields.link")), 1)
678
+ default: b(() => [
679
+ V(q(e.item.value || k(t)("baseConfigCard.commonFields.link")), 1)
674
680
  ]),
675
681
  _: 1
676
682
  })
677
683
  ]);
678
684
  };
679
685
  }
680
- }), Ba = /* @__PURE__ */ ce(La, [["__scopeId", "data-v-c96811e5"]]), Ua = /* @__PURE__ */ W({
686
+ }), Ba = /* @__PURE__ */ ce(La, [["__scopeId", "data-v-c96811e5"]]), Ra = /* @__PURE__ */ W({
681
687
  __name: "StatusBadge",
682
688
  props: {
683
689
  status: {
@@ -688,20 +694,20 @@ const X = {
688
694
  setup(e) {
689
695
  const { i18n: { t } } = X.useI18n();
690
696
  return (n, r) => {
691
- const a = q("KBadge");
692
- return y(), R(a, {
697
+ const a = K("KBadge");
698
+ return h(), U(a, {
693
699
  appearance: e.status ? "success" : "neutral"
694
700
  }, {
695
- default: v(() => [
696
- V(K(e.status ? k(t)("baseConfigCard.statusBadge.enabledLabel") : k(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
701
+ default: b(() => [
702
+ V(q(e.status ? k(t)("baseConfigCard.statusBadge.enabledLabel") : k(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
697
703
  ]),
698
704
  _: 1
699
705
  }, 8, ["appearance"]);
700
706
  };
701
707
  }
702
- }), Ra = "#0044f4", Pa = "#e0e4ea", Da = "#3a3f51", Va = "#afb7c5", za = "1px", Ha = "20px", Ja = { class: "config-card-details-row" }, Wa = ["data-testid"], Ya = ["data-testid"], Za = ["data-testid"], Ga = ["data-testid"], Qa = { key: 1 }, Xa = ["data-testid"], er = ["data-testid"], tr = ["data-testid"], nr = ["data-testid"], ar = {
708
+ }), Ua = "#0044f4", Pa = "#e0e4ea", Da = "#3a3f51", Va = "#afb7c5", za = "1px", Ha = "20px", Ja = { class: "config-card-details-row" }, Wa = ["data-testid"], Ya = ["data-testid"], Za = ["data-testid"], Ga = ["data-testid"], Qa = { key: 1 }, Xa = ["data-testid"], er = ["data-testid"], tr = ["data-testid"], nr = ["data-testid"], ar = {
703
709
  name: "ConfigCardItem",
704
- components: { JsonCardItem: nn, StatusBadge: Ua, InternalLinkItem: Ba }
710
+ components: { JsonCardItem: nn, StatusBadge: Ra, InternalLinkItem: Ba }
705
711
  }, rr = /* @__PURE__ */ W({
706
712
  ...ar,
707
713
  props: {
@@ -722,13 +728,13 @@ const X = {
722
728
  },
723
729
  emits: ["navigation-click"],
724
730
  setup(e, { emit: t }) {
725
- Wt((w) => ({
731
+ Wt((C) => ({
726
732
  "07753575": d.value ? "none" : `solid ${k(za)} ${k(Pa)}`,
727
- "32d44ea8": c.value && l.value ? "block" : "flex",
728
- "5036b738": c.value && l.value ? "100%" : n.slim ? "50%" : "25%",
729
- "5038fd13": c.value && l.value ? "100%" : n.slim ? "50%" : "75%"
733
+ "32d44ea8": u.value && l.value ? "block" : "flex",
734
+ "5036b738": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
735
+ "5038fd13": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
730
736
  }));
731
- const n = e, r = t, a = ut(), { i18n: { t: o, formatUnixTimeStamp: i } } = X.useI18n(), l = x(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = x(() => !!(n.item.tooltip || a["label-tooltip"])), c = x(() => n.item.type === J.Json || n.item.type === J.JsonArray), d = x(() => n.item.type === J.JsonArray), u = x(() => {
737
+ const n = e, r = t, a = ut(), { i18n: { t: o, formatUnixTimeStamp: i } } = X.useI18n(), l = A(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = A(() => !!(n.item.tooltip || a["label-tooltip"])), u = A(() => n.item.type === J.Json || n.item.type === J.JsonArray), d = A(() => n.item.type === J.JsonArray), c = A(() => {
732
738
  switch (n.item.type) {
733
739
  case J.ID:
734
740
  return {
@@ -798,8 +804,8 @@ const X = {
798
804
  attrs: {
799
805
  "data-testid": `${n.item.key}-internal-link`,
800
806
  item: n.item,
801
- onNavigationClick: (w) => {
802
- r("navigation-click", w);
807
+ onNavigationClick: (C) => {
808
+ r("navigation-click", C);
803
809
  }
804
810
  }
805
811
  };
@@ -838,29 +844,29 @@ const X = {
838
844
  text: n.item.value
839
845
  };
840
846
  }
841
- }), h = N(), { isTruncated: m } = X.useTruncationDetector(h);
842
- return (w, b) => {
843
- const C = q("KLabel"), L = q("KBadge"), _ = q("KCopy"), E = q("KTooltip");
844
- return y(), j("div", Ja, [
847
+ }), m = N(), { isTruncated: y } = X.useTruncationDetector(m);
848
+ return (C, v) => {
849
+ const w = K("KLabel"), L = K("KBadge"), _ = K("KCopy"), E = K("KTooltip");
850
+ return h(), j("div", Ja, [
845
851
  B("div", {
846
852
  class: "config-card-details-label",
847
853
  "data-testid": `${e.item.key}-label`
848
854
  }, [
849
- Y(w.$slots, "label", { item: e.item }, () => [
850
- I(C, { "tooltip-attributes": { maxWidth: "500px" } }, Oe({
851
- default: v(() => [
852
- V(K(e.item.label) + " ", 1)
855
+ Y(C.$slots, "label", { item: e.item }, () => [
856
+ I(w, { "tooltip-attributes": { maxWidth: "500px" } }, Oe({
857
+ default: b(() => [
858
+ V(q(e.item.label) + " ", 1)
853
859
  ]),
854
860
  _: 2
855
861
  }, [
856
862
  s.value ? {
857
863
  name: "tooltip",
858
- fn: v(() => [
864
+ fn: b(() => [
859
865
  B("div", {
860
866
  "data-testid": `${e.item.key}-label-tooltip`
861
867
  }, [
862
- Y(w.$slots, "label-tooltip", {}, () => [
863
- V(K(e.item.tooltip), 1)
868
+ Y(C.$slots, "label-tooltip", {}, () => [
869
+ V(q(e.item.tooltip), 1)
864
870
  ], !0)
865
871
  ], 8, Ya)
866
872
  ]),
@@ -873,83 +879,83 @@ const X = {
873
879
  class: "config-card-details-value",
874
880
  "data-testid": `${e.item.key}-property-value`
875
881
  }, [
876
- Y(w.$slots, e.item.key, {
882
+ Y(C.$slots, e.item.key, {
877
883
  rowValue: e.item.value
878
884
  }, () => [
879
- l.value ? (y(), j("div", Qa, [
880
- (y(), R(xe(u.value.tag), na(aa(u.value.attrs)), {
881
- default: v(() => [
882
- u.value.additionalComponent === "KBadge" ? (y(), j("div", {
885
+ l.value ? (h(), j("div", Qa, [
886
+ (h(), U(Ae(c.value.tag), na(aa(c.value.attrs)), {
887
+ default: b(() => [
888
+ c.value.additionalComponent === "KBadge" ? (h(), j("div", {
883
889
  key: 0,
884
890
  "data-testid": `${e.item.key}-badge-tags`
885
891
  }, [
886
- (y(!0), j(de, null, se(e.item.value, (g, f) => (y(), R(L, {
892
+ (h(!0), j(de, null, se(e.item.value, (g, f) => (h(), U(L, {
887
893
  key: `${e.item.key}-badge-tag-${f}`,
888
894
  class: "config-badge",
889
895
  "data-testid": `${e.item.key}-badge-tag-${f}`,
890
896
  tooltip: g,
891
897
  "truncation-tooltip": ""
892
898
  }, {
893
- default: v(() => [
894
- V(K(g), 1)
899
+ default: b(() => [
900
+ V(q(g), 1)
895
901
  ]),
896
902
  _: 2
897
903
  }, 1032, ["data-testid", "tooltip"]))), 128))
898
904
  ], 8, Xa)) : z("", !0),
899
- u.value.additionalComponent === "KCopy" ? (y(), j("div", {
905
+ c.value.additionalComponent === "KCopy" ? (h(), j("div", {
900
906
  key: 1,
901
907
  class: "copy-uuid-array",
902
908
  "data-testid": `${e.item.key}-copy-uuid-array`
903
909
  }, [
904
- (y(!0), j(de, null, se(e.item.value, (g, f) => (y(), R(_, ra(u.value.childAttrs, {
910
+ (h(!0), j(de, null, se(e.item.value, (g, f) => (h(), U(_, ra(c.value.childAttrs, {
905
911
  key: `${e.item.key}-copy-uuid-${f}`,
906
912
  "data-testid": `${e.item.key}-copy-uuid-${f}`,
907
913
  text: g
908
914
  }), null, 16, ["data-testid", "text"]))), 128))
909
- ], 8, er)) : u.value.additionalComponent === "KMethodBadge" ? (y(), j("div", {
915
+ ], 8, er)) : c.value.additionalComponent === "KMethodBadge" ? (h(), j("div", {
910
916
  key: 2,
911
917
  class: "method-badge-array",
912
918
  "data-testid": `${e.item.key}-badge-methods`
913
919
  }, [
914
- (y(!0), j(de, null, se(e.item.value, (g, f) => (y(), R(L, {
920
+ (h(!0), j(de, null, se(e.item.value, (g, f) => (h(), U(L, {
915
921
  key: `${e.item.key}-badge-method-${f}`,
916
922
  appearance: Object.values(k(ia)).includes(g.toLowerCase()) ? g.toLowerCase() : "custom",
917
923
  class: "config-badge",
918
924
  "data-testid": `${e.item.key}-badge-method-${f}`
919
925
  }, {
920
- default: v(() => [
921
- V(K(g), 1)
926
+ default: b(() => [
927
+ V(q(g), 1)
922
928
  ]),
923
929
  _: 2
924
930
  }, 1032, ["appearance", "data-testid"]))), 128))
925
931
  ], 8, tr)) : z("", !0),
926
- u.value.additionalComponent === "JsonCardItem" ? (y(), j("div", {
932
+ c.value.additionalComponent === "JsonCardItem" ? (h(), j("div", {
927
933
  key: 3,
928
934
  "data-testid": `${n.item.key}-json-array-content`
929
935
  }, [
930
- (y(!0), j(de, null, se(e.item.value, (g, f) => (y(), R(nn, {
936
+ (h(!0), j(de, null, se(e.item.value, (g, f) => (h(), U(nn, {
931
937
  key: `json-array-item-${f}`,
932
938
  index: f,
933
939
  "is-array-item": "",
934
940
  item: g
935
941
  }, null, 8, ["index", "item"]))), 128))
936
- ], 8, nr)) : (y(), R(E, {
942
+ ], 8, nr)) : (h(), U(E, {
937
943
  key: 4,
938
- text: k(m) ? e.item.value : ""
944
+ text: k(y) ? e.item.value : ""
939
945
  }, {
940
- default: v(() => [
946
+ default: b(() => [
941
947
  B("span", {
942
948
  ref_key: "textContent",
943
- ref: h,
949
+ ref: m,
944
950
  class: ve(["attrs-data-text", { truncated: e.truncated }])
945
- }, K(u.value.text), 3)
951
+ }, q(c.value.text), 3)
946
952
  ]),
947
953
  _: 1
948
954
  }, 8, ["text"]))
949
955
  ]),
950
956
  _: 1
951
957
  }, 16))
952
- ])) : (y(), j("div", {
958
+ ])) : (h(), j("div", {
953
959
  key: 0,
954
960
  "data-testid": `${e.item.key}-no-value`
955
961
  }, " – ", 8, Ga))
@@ -992,7 +998,7 @@ const X = {
992
998
  Wt((a) => ({
993
999
  "954d3eca": `${r.value}ch`
994
1000
  }));
995
- const t = e, n = x(() => t.jsonRecord), r = x(() => {
1001
+ const t = e, n = A(() => t.jsonRecord), r = A(() => {
996
1002
  var a;
997
1003
  if (!t.fetcherUrl)
998
1004
  return 0;
@@ -1000,14 +1006,14 @@ const X = {
1000
1006
  return o.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? o[o.length - 1] : o[o.length - 2]).length;
1001
1007
  });
1002
1008
  return (a, o) => {
1003
- const i = q("KBadge"), l = q("KCodeBlock");
1004
- return y(), j("div", ir, [
1005
- t.fetcherUrl ? (y(), j("div", or, [
1009
+ const i = K("KBadge"), l = K("KCodeBlock");
1010
+ return h(), j("div", ir, [
1011
+ t.fetcherUrl ? (h(), j("div", or, [
1006
1012
  I(i, {
1007
1013
  appearance: t.requestMethod
1008
1014
  }, {
1009
- default: v(() => [
1010
- V(K(t.requestMethod), 1)
1015
+ default: b(() => [
1016
+ V(q(t.requestMethod), 1)
1011
1017
  ]),
1012
1018
  _: 1
1013
1019
  }, 8, ["appearance"]),
@@ -1019,7 +1025,7 @@ const X = {
1019
1025
  theme: "dark"
1020
1026
  }, null, 8, ["code"])
1021
1027
  ])) : z("", !0),
1022
- t.jsonRecord ? (y(), R(l, {
1028
+ t.jsonRecord ? (h(), U(l, {
1023
1029
  key: 1,
1024
1030
  id: "json-codeblock",
1025
1031
  class: ve({ "json-content": t.fetcherUrl }),
@@ -1057,12 +1063,12 @@ function ur(e, t) {
1057
1063
  function dr(e) {
1058
1064
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1059
1065
  }
1060
- var pr = on, fr = lr, gr = sr, mr = ur, yr = dr, hr = cr, Q = {
1066
+ var pr = on, fr = lr, gr = sr, yr = ur, mr = dr, hr = cr, Q = {
1061
1067
  isNothing: pr,
1062
1068
  isObject: fr,
1063
1069
  toArray: gr,
1064
- repeat: mr,
1065
- isNegativeZero: yr,
1070
+ repeat: yr,
1071
+ isNegativeZero: mr,
1066
1072
  extend: hr
1067
1073
  };
1068
1074
  function ln(e, t) {
@@ -1098,26 +1104,26 @@ function vr(e, t) {
1098
1104
  for (var n = /\r?\n|\r|\0/g, r = [0], a = [], o, i = -1; o = n.exec(e.buffer); )
1099
1105
  a.push(o.index), r.push(o.index + o[0].length), e.position <= o.index && i < 0 && (i = r.length - 2);
1100
1106
  i < 0 && (i = r.length - 1);
1101
- var l = "", s, c, d = Math.min(e.line + t.linesAfter, a.length).toString().length, u = t.maxLength - (t.indent + d + 3);
1107
+ var l = "", s, u, d = Math.min(e.line + t.linesAfter, a.length).toString().length, c = t.maxLength - (t.indent + d + 3);
1102
1108
  for (s = 1; s <= t.linesBefore && !(i - s < 0); s++)
1103
- c = Xe(
1109
+ u = Xe(
1104
1110
  e.buffer,
1105
1111
  r[i - s],
1106
1112
  a[i - s],
1107
1113
  e.position - (r[i] - r[i - s]),
1108
- u
1109
- ), l = Q.repeat(" ", t.indent) + et((e.line - s + 1).toString(), d) + " | " + c.str + `
1114
+ c
1115
+ ), l = Q.repeat(" ", t.indent) + et((e.line - s + 1).toString(), d) + " | " + u.str + `
1110
1116
  ` + l;
1111
- for (c = Xe(e.buffer, r[i], a[i], e.position, u), l += Q.repeat(" ", t.indent) + et((e.line + 1).toString(), d) + " | " + c.str + `
1112
- `, l += Q.repeat("-", t.indent + d + 3 + c.pos) + `^
1117
+ for (u = Xe(e.buffer, r[i], a[i], e.position, c), l += Q.repeat(" ", t.indent) + et((e.line + 1).toString(), d) + " | " + u.str + `
1118
+ `, l += Q.repeat("-", t.indent + d + 3 + u.pos) + `^
1113
1119
  `, s = 1; s <= t.linesAfter && !(i + s >= a.length); s++)
1114
- c = Xe(
1120
+ u = Xe(
1115
1121
  e.buffer,
1116
1122
  r[i + s],
1117
1123
  a[i + s],
1118
1124
  e.position - (r[i] - r[i + s]),
1119
- u
1120
- ), l += Q.repeat(" ", t.indent) + et((e.line + s + 1).toString(), d) + " | " + c.str + `
1125
+ c
1126
+ ), l += Q.repeat(" ", t.indent) + et((e.line + s + 1).toString(), d) + " | " + u.str + `
1121
1127
  `;
1122
1128
  return l.replace(/\n$/, "");
1123
1129
  }
@@ -1166,7 +1172,7 @@ function Mt(e, t) {
1166
1172
  }), n[a] = r;
1167
1173
  }), n;
1168
1174
  }
1169
- function Ar() {
1175
+ function xr() {
1170
1176
  var e = {
1171
1177
  scalar: {},
1172
1178
  sequence: {},
@@ -1211,7 +1217,7 @@ rt.prototype.extend = function(e) {
1211
1217
  throw new ae("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1212
1218
  });
1213
1219
  var r = Object.create(rt.prototype);
1214
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Mt(r, "implicit"), r.compiledExplicit = Mt(r, "explicit"), r.compiledTypeMap = Ar(r.compiledImplicit, r.compiledExplicit), r;
1220
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Mt(r, "implicit"), r.compiledExplicit = Mt(r, "explicit"), r.compiledTypeMap = xr(r.compiledImplicit, r.compiledExplicit), r;
1215
1221
  };
1216
1222
  var sn = rt, cn = new te("tag:yaml.org,2002:str", {
1217
1223
  kind: "scalar",
@@ -1235,7 +1241,7 @@ var sn = rt, cn = new te("tag:yaml.org,2002:str", {
1235
1241
  dn
1236
1242
  ]
1237
1243
  });
1238
- function xr(e) {
1244
+ function Ar(e) {
1239
1245
  if (e === null)
1240
1246
  return !0;
1241
1247
  var t = e.length;
@@ -1249,7 +1255,7 @@ function _r(e) {
1249
1255
  }
1250
1256
  var fn = new te("tag:yaml.org,2002:null", {
1251
1257
  kind: "scalar",
1252
- resolve: xr,
1258
+ resolve: Ar,
1253
1259
  construct: Ir,
1254
1260
  predicate: _r,
1255
1261
  represent: {
@@ -1371,14 +1377,14 @@ function Fr(e) {
1371
1377
  }
1372
1378
  return n * parseInt(t, 10);
1373
1379
  }
1374
- function Kr(e) {
1380
+ function qr(e) {
1375
1381
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !Q.isNegativeZero(e);
1376
1382
  }
1377
- var mn = new te("tag:yaml.org,2002:int", {
1383
+ var yn = new te("tag:yaml.org,2002:int", {
1378
1384
  kind: "scalar",
1379
1385
  resolve: Er,
1380
1386
  construct: Fr,
1381
- predicate: Kr,
1387
+ predicate: qr,
1382
1388
  represent: {
1383
1389
  binary: function(e) {
1384
1390
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1401,12 +1407,12 @@ var mn = new te("tag:yaml.org,2002:int", {
1401
1407
  decimal: [10, "dec"],
1402
1408
  hexadecimal: [16, "hex"]
1403
1409
  }
1404
- }), qr = new RegExp(
1410
+ }), Kr = new RegExp(
1405
1411
  // 2.5e4, 2.5 and integers
1406
1412
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1407
1413
  );
1408
1414
  function Lr(e) {
1409
- return !(e === null || !qr.test(e) || // Quick hack to not allow integers end with `_`
1415
+ return !(e === null || !Kr.test(e) || // Quick hack to not allow integers end with `_`
1410
1416
  // Probably should update regexp & check speed
1411
1417
  e[e.length - 1] === "_");
1412
1418
  }
@@ -1414,8 +1420,8 @@ function Br(e) {
1414
1420
  var t, n;
1415
1421
  return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
1416
1422
  }
1417
- var Ur = /^[-+]?[0-9]+e/;
1418
- function Rr(e, t) {
1423
+ var Rr = /^[-+]?[0-9]+e/;
1424
+ function Ur(e, t) {
1419
1425
  var n;
1420
1426
  if (isNaN(e))
1421
1427
  switch (t) {
@@ -1446,24 +1452,24 @@ function Rr(e, t) {
1446
1452
  }
1447
1453
  else if (Q.isNegativeZero(e))
1448
1454
  return "-0.0";
1449
- return n = e.toString(10), Ur.test(n) ? n.replace("e", ".e") : n;
1455
+ return n = e.toString(10), Rr.test(n) ? n.replace("e", ".e") : n;
1450
1456
  }
1451
1457
  function Pr(e) {
1452
1458
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || Q.isNegativeZero(e));
1453
1459
  }
1454
- var yn = new te("tag:yaml.org,2002:float", {
1460
+ var mn = new te("tag:yaml.org,2002:float", {
1455
1461
  kind: "scalar",
1456
1462
  resolve: Lr,
1457
1463
  construct: Br,
1458
1464
  predicate: Pr,
1459
- represent: Rr,
1465
+ represent: Ur,
1460
1466
  defaultStyle: "lowercase"
1461
1467
  }), hn = pn.extend({
1462
1468
  implicit: [
1463
1469
  fn,
1464
1470
  gn,
1465
- mn,
1466
- yn
1471
+ yn,
1472
+ mn
1467
1473
  ]
1468
1474
  }), vn = hn, bn = new RegExp(
1469
1475
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
@@ -1474,7 +1480,7 @@ function Dr(e) {
1474
1480
  return e === null ? !1 : bn.exec(e) !== null || kn.exec(e) !== null;
1475
1481
  }
1476
1482
  function Vr(e) {
1477
- var t, n, r, a, o, i, l, s = 0, c = null, d, u, h;
1483
+ var t, n, r, a, o, i, l, s = 0, u = null, d, c, m;
1478
1484
  if (t = bn.exec(e), t === null && (t = kn.exec(e)), t === null)
1479
1485
  throw new Error("Date resolve error");
1480
1486
  if (n = +t[1], r = +t[2] - 1, a = +t[3], !t[4])
@@ -1484,7 +1490,7 @@ function Vr(e) {
1484
1490
  s += "0";
1485
1491
  s = +s;
1486
1492
  }
1487
- return t[9] && (d = +t[10], u = +(t[11] || 0), c = (d * 60 + u) * 6e4, t[9] === "-" && (c = -c)), h = new Date(Date.UTC(n, r, a, o, i, l, s)), c && h.setTime(h.getTime() - c), h;
1493
+ return t[9] && (d = +t[10], c = +(t[11] || 0), u = (d * 60 + c) * 6e4, t[9] === "-" && (u = -u)), m = new Date(Date.UTC(n, r, a, o, i, l, s)), u && m.setTime(m.getTime() - u), m;
1488
1494
  }
1489
1495
  function zr(e) {
1490
1496
  return e.toISOString();
@@ -1502,12 +1508,12 @@ function Hr(e) {
1502
1508
  var wn = new te("tag:yaml.org,2002:merge", {
1503
1509
  kind: "scalar",
1504
1510
  resolve: Hr
1505
- }), mt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1511
+ }), yt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1506
1512
  \r`;
1507
1513
  function Jr(e) {
1508
1514
  if (e === null)
1509
1515
  return !1;
1510
- var t, n, r = 0, a = e.length, o = mt;
1516
+ var t, n, r = 0, a = e.length, o = yt;
1511
1517
  for (n = 0; n < a; n++)
1512
1518
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1513
1519
  if (t < 0)
@@ -1517,13 +1523,13 @@ function Jr(e) {
1517
1523
  return r % 8 === 0;
1518
1524
  }
1519
1525
  function Wr(e) {
1520
- var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = mt, i = 0, l = [];
1526
+ var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = yt, i = 0, l = [];
1521
1527
  for (t = 0; t < a; t++)
1522
1528
  t % 4 === 0 && t && (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(t));
1523
1529
  return n = a % 4 * 6, n === 0 ? (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)) : n === 18 ? (l.push(i >> 10 & 255), l.push(i >> 2 & 255)) : n === 12 && l.push(i >> 4 & 255), new Uint8Array(l);
1524
1530
  }
1525
1531
  function Yr(e) {
1526
- var t = "", n = 0, r, a, o = e.length, i = mt;
1532
+ var t = "", n = 0, r, a, o = e.length, i = yt;
1527
1533
  for (r = 0; r < o; r++)
1528
1534
  r % 3 === 0 && r && (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]), n = (n << 8) + e[r];
1529
1535
  return a = o % 3, a === 0 ? (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]) : a === 2 ? (t += i[n >> 10 & 63], t += i[n >> 4 & 63], t += i[n << 2 & 63], t += i[64]) : a === 1 && (t += i[n >> 2 & 63], t += i[n << 4 & 63], t += i[64], t += i[64]), t;
@@ -1563,7 +1569,7 @@ function Xr(e) {
1563
1569
  function ei(e) {
1564
1570
  return e !== null ? e : [];
1565
1571
  }
1566
- var An = new te("tag:yaml.org,2002:omap", {
1572
+ var xn = new te("tag:yaml.org,2002:omap", {
1567
1573
  kind: "sequence",
1568
1574
  resolve: Xr,
1569
1575
  construct: ei
@@ -1587,7 +1593,7 @@ function ai(e) {
1587
1593
  r = i[t], a = Object.keys(r), o[t] = [a[0], r[a[0]]];
1588
1594
  return o;
1589
1595
  }
1590
- var xn = new te("tag:yaml.org,2002:pairs", {
1596
+ var An = new te("tag:yaml.org,2002:pairs", {
1591
1597
  kind: "sequence",
1592
1598
  resolve: ni,
1593
1599
  construct: ai
@@ -1608,18 +1614,18 @@ var In = new te("tag:yaml.org,2002:set", {
1608
1614
  kind: "mapping",
1609
1615
  resolve: ii,
1610
1616
  construct: oi
1611
- }), yt = vn.extend({
1617
+ }), mt = vn.extend({
1612
1618
  implicit: [
1613
1619
  Cn,
1614
1620
  wn
1615
1621
  ],
1616
1622
  explicit: [
1617
1623
  Sn,
1618
- An,
1619
1624
  xn,
1625
+ An,
1620
1626
  In
1621
1627
  ]
1622
- }), be = Object.prototype.hasOwnProperty, Re = 1, _n = 2, jn = 3, Pe = 4, tt = 1, li = 2, Nt = 3, si = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ci = /[\x85\u2028\u2029]/, ui = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, On = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1628
+ }), be = Object.prototype.hasOwnProperty, Ue = 1, _n = 2, jn = 3, Pe = 4, tt = 1, li = 2, Nt = 3, si = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ci = /[\x85\u2028\u2029]/, ui = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, On = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1623
1629
  function Et(e) {
1624
1630
  return Object.prototype.toString.call(e);
1625
1631
  }
@@ -1658,8 +1664,8 @@ function gi(e) {
1658
1664
  var $n = new Array(256), Mn = new Array(256);
1659
1665
  for (var Ie = 0; Ie < 256; Ie++)
1660
1666
  $n[Ie] = Ft(Ie) ? 1 : 0, Mn[Ie] = Ft(Ie);
1661
- function mi(e, t) {
1662
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || yt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.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 = [];
1667
+ function yi(e, t) {
1668
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || mt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.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 = [];
1663
1669
  }
1664
1670
  function Nn(e, t) {
1665
1671
  var n = {
@@ -1678,7 +1684,7 @@ function S(e, t) {
1678
1684
  function De(e, t) {
1679
1685
  e.onWarning && e.onWarning.call(null, Nn(e, t));
1680
1686
  }
1681
- var Kt = {
1687
+ var qt = {
1682
1688
  YAML: function(e, t, n) {
1683
1689
  var r, a, o;
1684
1690
  e.version !== null && S(e, "duplication of %YAML directive"), n.length !== 1 && S(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && S(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && S(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && De(e, "unsupported YAML version of the document");
@@ -1705,22 +1711,22 @@ function he(e, t, n, r) {
1705
1711
  e.result += l;
1706
1712
  }
1707
1713
  }
1708
- function qt(e, t, n, r) {
1714
+ function Kt(e, t, n, r) {
1709
1715
  var a, o, i, l;
1710
1716
  for (Q.isObject(n) || S(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), i = 0, l = a.length; i < l; i += 1)
1711
1717
  o = a[i], be.call(t, o) || (t[o] = n[o], r[o] = !0);
1712
1718
  }
1713
1719
  function Te(e, t, n, r, a, o, i, l, s) {
1714
- var c, d;
1720
+ var u, d;
1715
1721
  if (Array.isArray(a))
1716
- for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
1717
- Array.isArray(a[c]) && S(e, "nested arrays are not supported inside keys"), typeof a == "object" && Et(a[c]) === "[object Object]" && (a[c] = "[object Object]");
1722
+ for (a = Array.prototype.slice.call(a), u = 0, d = a.length; u < d; u += 1)
1723
+ Array.isArray(a[u]) && S(e, "nested arrays are not supported inside keys"), typeof a == "object" && Et(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1718
1724
  if (typeof a == "object" && Et(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1719
1725
  if (Array.isArray(o))
1720
- for (c = 0, d = o.length; c < d; c += 1)
1721
- qt(e, t, o[c], n);
1726
+ for (u = 0, d = o.length; u < d; u += 1)
1727
+ Kt(e, t, o[u], n);
1722
1728
  else
1723
- qt(e, t, o, n);
1729
+ Kt(e, t, o, n);
1724
1730
  else
1725
1731
  !e.json && !be.call(n, a) && be.call(t, a) && (e.line = i || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, S(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1726
1732
  configurable: !0,
@@ -1758,32 +1764,32 @@ function vt(e, t) {
1758
1764
  t === 1 ? e.result += " " : t > 1 && (e.result += Q.repeat(`
1759
1765
  `, t - 1));
1760
1766
  }
1761
- function yi(e, t, n) {
1762
- var r, a, o, i, l, s, c, d, u = e.kind, h = e.result, m;
1763
- if (m = e.input.charCodeAt(e.position), re(m) || je(m) || m === 35 || m === 38 || m === 42 || m === 33 || m === 124 || m === 62 || m === 39 || m === 34 || m === 37 || m === 64 || m === 96 || (m === 63 || m === 45) && (a = e.input.charCodeAt(e.position + 1), re(a) || n && je(a)))
1767
+ function mi(e, t, n) {
1768
+ var r, a, o, i, l, s, u, d, c = e.kind, m = e.result, y;
1769
+ if (y = e.input.charCodeAt(e.position), re(y) || je(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (a = e.input.charCodeAt(e.position + 1), re(a) || n && je(a)))
1764
1770
  return !1;
1765
- for (e.kind = "scalar", e.result = "", o = i = e.position, l = !1; m !== 0; ) {
1766
- if (m === 58) {
1771
+ for (e.kind = "scalar", e.result = "", o = i = e.position, l = !1; y !== 0; ) {
1772
+ if (y === 58) {
1767
1773
  if (a = e.input.charCodeAt(e.position + 1), re(a) || n && je(a))
1768
1774
  break;
1769
- } else if (m === 35) {
1775
+ } else if (y === 35) {
1770
1776
  if (r = e.input.charCodeAt(e.position - 1), re(r))
1771
1777
  break;
1772
1778
  } else {
1773
- if (e.position === e.lineStart && Ye(e) || n && je(m))
1779
+ if (e.position === e.lineStart && Ye(e) || n && je(y))
1774
1780
  break;
1775
- if (pe(m))
1776
- if (s = e.line, c = e.lineStart, d = e.lineIndent, G(e, !1, -1), e.lineIndent >= t) {
1777
- l = !0, m = e.input.charCodeAt(e.position);
1781
+ if (pe(y))
1782
+ if (s = e.line, u = e.lineStart, d = e.lineIndent, G(e, !1, -1), e.lineIndent >= t) {
1783
+ l = !0, y = e.input.charCodeAt(e.position);
1778
1784
  continue;
1779
1785
  } else {
1780
- e.position = i, e.line = s, e.lineStart = c, e.lineIndent = d;
1786
+ e.position = i, e.line = s, e.lineStart = u, e.lineIndent = d;
1781
1787
  break;
1782
1788
  }
1783
1789
  }
1784
- l && (he(e, o, i, !1), vt(e, e.line - s), o = i = e.position, l = !1), Se(m) || (i = e.position + 1), m = e.input.charCodeAt(++e.position);
1790
+ l && (he(e, o, i, !1), vt(e, e.line - s), o = i = e.position, l = !1), Se(y) || (i = e.position + 1), y = e.input.charCodeAt(++e.position);
1785
1791
  }
1786
- return he(e, o, i, !1), e.result ? !0 : (e.kind = u, e.result = h, !1);
1792
+ return he(e, o, i, !1), e.result ? !0 : (e.kind = c, e.result = m, !1);
1787
1793
  }
1788
1794
  function hi(e, t) {
1789
1795
  var n, r, a;
@@ -1824,48 +1830,48 @@ function vi(e, t) {
1824
1830
  S(e, "unexpected end of the stream within a double quoted scalar");
1825
1831
  }
1826
1832
  function bi(e, t) {
1827
- var n = !0, r, a, o, i = e.tag, l, s = e.anchor, c, d, u, h, m, w = /* @__PURE__ */ Object.create(null), b, C, L, _;
1833
+ var n = !0, r, a, o, i = e.tag, l, s = e.anchor, u, d, c, m, y, C = /* @__PURE__ */ Object.create(null), v, w, L, _;
1828
1834
  if (_ = e.input.charCodeAt(e.position), _ === 91)
1829
- d = 93, m = !1, l = [];
1835
+ d = 93, y = !1, l = [];
1830
1836
  else if (_ === 123)
1831
- d = 125, m = !0, l = {};
1837
+ d = 125, y = !0, l = {};
1832
1838
  else
1833
1839
  return !1;
1834
1840
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), _ = e.input.charCodeAt(++e.position); _ !== 0; ) {
1835
1841
  if (G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === d)
1836
- return e.position++, e.tag = i, e.anchor = s, e.kind = m ? "mapping" : "sequence", e.result = l, !0;
1837
- n ? _ === 44 && S(e, "expected the node content, but found ','") : S(e, "missed comma between flow collection entries"), C = b = L = null, u = h = !1, _ === 63 && (c = e.input.charCodeAt(e.position + 1), re(c) && (u = h = !0, e.position++, G(e, !0, t))), r = e.line, a = e.lineStart, o = e.position, $e(e, t, Re, !1, !0), C = e.tag, b = e.result, G(e, !0, t), _ = e.input.charCodeAt(e.position), (h || e.line === r) && _ === 58 && (u = !0, _ = e.input.charCodeAt(++e.position), G(e, !0, t), $e(e, t, Re, !1, !0), L = e.result), m ? Te(e, l, w, C, b, L, r, a, o) : u ? l.push(Te(e, null, w, C, b, L, r, a, o)) : l.push(b), G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === 44 ? (n = !0, _ = e.input.charCodeAt(++e.position)) : n = !1;
1842
+ return e.position++, e.tag = i, e.anchor = s, e.kind = y ? "mapping" : "sequence", e.result = l, !0;
1843
+ n ? _ === 44 && S(e, "expected the node content, but found ','") : S(e, "missed comma between flow collection entries"), w = v = L = null, c = m = !1, _ === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (c = m = !0, e.position++, G(e, !0, t))), r = e.line, a = e.lineStart, o = e.position, $e(e, t, Ue, !1, !0), w = e.tag, v = e.result, G(e, !0, t), _ = e.input.charCodeAt(e.position), (m || e.line === r) && _ === 58 && (c = !0, _ = e.input.charCodeAt(++e.position), G(e, !0, t), $e(e, t, Ue, !1, !0), L = e.result), y ? Te(e, l, C, w, v, L, r, a, o) : c ? l.push(Te(e, null, C, w, v, L, r, a, o)) : l.push(v), G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === 44 ? (n = !0, _ = e.input.charCodeAt(++e.position)) : n = !1;
1838
1844
  }
1839
1845
  S(e, "unexpected end of the stream within a flow collection");
1840
1846
  }
1841
1847
  function ki(e, t) {
1842
- var n, r, a = tt, o = !1, i = !1, l = t, s = 0, c = !1, d, u;
1843
- if (u = e.input.charCodeAt(e.position), u === 124)
1848
+ var n, r, a = tt, o = !1, i = !1, l = t, s = 0, u = !1, d, c;
1849
+ if (c = e.input.charCodeAt(e.position), c === 124)
1844
1850
  r = !1;
1845
- else if (u === 62)
1851
+ else if (c === 62)
1846
1852
  r = !0;
1847
1853
  else
1848
1854
  return !1;
1849
- for (e.kind = "scalar", e.result = ""; u !== 0; )
1850
- if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1851
- tt === a ? a = u === 43 ? Nt : li : S(e, "repeat of a chomping mode identifier");
1852
- else if ((d = fi(u)) >= 0)
1855
+ for (e.kind = "scalar", e.result = ""; c !== 0; )
1856
+ if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1857
+ tt === a ? a = c === 43 ? Nt : li : S(e, "repeat of a chomping mode identifier");
1858
+ else if ((d = fi(c)) >= 0)
1853
1859
  d === 0 ? S(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? S(e, "repeat of an indentation width identifier") : (l = t + d - 1, i = !0);
1854
1860
  else
1855
1861
  break;
1856
- if (Se(u)) {
1862
+ if (Se(c)) {
1857
1863
  do
1858
- u = e.input.charCodeAt(++e.position);
1859
- while (Se(u));
1860
- if (u === 35)
1864
+ c = e.input.charCodeAt(++e.position);
1865
+ while (Se(c));
1866
+ if (c === 35)
1861
1867
  do
1862
- u = e.input.charCodeAt(++e.position);
1863
- while (!pe(u) && u !== 0);
1868
+ c = e.input.charCodeAt(++e.position);
1869
+ while (!pe(c) && c !== 0);
1864
1870
  }
1865
- for (; u !== 0; ) {
1866
- for (ht(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!i || e.lineIndent < l) && u === 32; )
1867
- e.lineIndent++, u = e.input.charCodeAt(++e.position);
1868
- if (!i && e.lineIndent > l && (l = e.lineIndent), pe(u)) {
1871
+ for (; c !== 0; ) {
1872
+ for (ht(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!i || e.lineIndent < l) && c === 32; )
1873
+ e.lineIndent++, c = e.input.charCodeAt(++e.position);
1874
+ if (!i && e.lineIndent > l && (l = e.lineIndent), pe(c)) {
1869
1875
  s++;
1870
1876
  continue;
1871
1877
  }
@@ -1875,12 +1881,12 @@ function ki(e, t) {
1875
1881
  `);
1876
1882
  break;
1877
1883
  }
1878
- for (r ? Se(u) ? (c = !0, e.result += Q.repeat(`
1879
- `, o ? 1 + s : s)) : c ? (c = !1, e.result += Q.repeat(`
1884
+ for (r ? Se(c) ? (u = !0, e.result += Q.repeat(`
1885
+ `, o ? 1 + s : s)) : u ? (u = !1, e.result += Q.repeat(`
1880
1886
  `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += Q.repeat(`
1881
1887
  `, s) : e.result += Q.repeat(`
1882
- `, o ? 1 + s : s), o = !0, i = !0, s = 0, n = e.position; !pe(u) && u !== 0; )
1883
- u = e.input.charCodeAt(++e.position);
1888
+ `, o ? 1 + s : s), o = !0, i = !0, s = 0, n = e.position; !pe(c) && c !== 0; )
1889
+ c = e.input.charCodeAt(++e.position);
1884
1890
  he(e, n, e.position, !1);
1885
1891
  }
1886
1892
  return !0;
@@ -1902,12 +1908,12 @@ function Lt(e, t) {
1902
1908
  return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
1903
1909
  }
1904
1910
  function Ci(e, t, n) {
1905
- var r, a, o, i, l, s, c = e.tag, d = e.anchor, u = {}, h = /* @__PURE__ */ Object.create(null), m = null, w = null, b = null, C = !1, L = !1, _;
1911
+ var r, a, o, i, l, s, u = e.tag, d = e.anchor, c = {}, m = /* @__PURE__ */ Object.create(null), y = null, C = null, v = null, w = !1, L = !1, _;
1906
1912
  if (e.firstTabInLine !== -1)
1907
1913
  return !1;
1908
- for (e.anchor !== null && (e.anchorMap[e.anchor] = u), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
1909
- if (!C && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (_ === 63 || _ === 58) && re(r))
1910
- _ === 63 ? (C && (Te(e, u, h, m, w, null, i, l, s), m = w = b = null), L = !0, C = !0, a = !0) : C ? (C = !1, a = !0) : S(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
1914
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = c), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
1915
+ if (!w && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (_ === 63 || _ === 58) && re(r))
1916
+ _ === 63 ? (w && (Te(e, c, m, y, C, null, i, l, s), y = C = v = null), L = !0, w = !0, a = !0) : w ? (w = !1, a = !0) : S(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
1911
1917
  else {
1912
1918
  if (i = e.line, l = e.lineStart, s = e.position, !$e(e, n, _n, !1, !0))
1913
1919
  break;
@@ -1915,22 +1921,22 @@ function Ci(e, t, n) {
1915
1921
  for (_ = e.input.charCodeAt(e.position); Se(_); )
1916
1922
  _ = e.input.charCodeAt(++e.position);
1917
1923
  if (_ === 58)
1918
- _ = e.input.charCodeAt(++e.position), re(_) || S(e, "a whitespace character is expected after the key-value separator within a block mapping"), C && (Te(e, u, h, m, w, null, i, l, s), m = w = b = null), L = !0, C = !1, a = !1, m = e.tag, w = e.result;
1924
+ _ = e.input.charCodeAt(++e.position), re(_) || S(e, "a whitespace character is expected after the key-value separator within a block mapping"), w && (Te(e, c, m, y, C, null, i, l, s), y = C = v = null), L = !0, w = !1, a = !1, y = e.tag, C = e.result;
1919
1925
  else if (L)
1920
1926
  S(e, "can not read an implicit mapping pair; a colon is missed");
1921
1927
  else
1922
- return e.tag = c, e.anchor = d, !0;
1928
+ return e.tag = u, e.anchor = d, !0;
1923
1929
  } else if (L)
1924
1930
  S(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1925
1931
  else
1926
- return e.tag = c, e.anchor = d, !0;
1932
+ return e.tag = u, e.anchor = d, !0;
1927
1933
  }
1928
- if ((e.line === o || e.lineIndent > t) && (C && (i = e.line, l = e.lineStart, s = e.position), $e(e, t, Pe, !0, a) && (C ? w = e.result : b = e.result), C || (Te(e, u, h, m, w, b, i, l, s), m = w = b = null), G(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && _ !== 0)
1934
+ if ((e.line === o || e.lineIndent > t) && (w && (i = e.line, l = e.lineStart, s = e.position), $e(e, t, Pe, !0, a) && (w ? C = e.result : v = e.result), w || (Te(e, c, m, y, C, v, i, l, s), y = C = v = null), G(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && _ !== 0)
1929
1935
  S(e, "bad indentation of a mapping entry");
1930
1936
  else if (e.lineIndent < t)
1931
1937
  break;
1932
1938
  }
1933
- return C && Te(e, u, h, m, w, null, i, l, s), L && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), L;
1939
+ return w && Te(e, c, m, y, C, null, i, l, s), L && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), L;
1934
1940
  }
1935
1941
  function wi(e) {
1936
1942
  var t, n = !1, r = !1, a, o, i;
@@ -1962,7 +1968,7 @@ function Si(e) {
1962
1968
  n = e.input.charCodeAt(++e.position);
1963
1969
  return e.position === t && S(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1964
1970
  }
1965
- function Ai(e) {
1971
+ function xi(e) {
1966
1972
  var t, n, r;
1967
1973
  if (r = e.input.charCodeAt(e.position), r !== 42)
1968
1974
  return !1;
@@ -1971,32 +1977,32 @@ function Ai(e) {
1971
1977
  return e.position === t && S(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), be.call(e.anchorMap, n) || S(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1972
1978
  }
1973
1979
  function $e(e, t, n, r, a) {
1974
- var o, i, l, s = 1, c = !1, d = !1, u, h, m, w, b, C;
1975
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = l = Pe === n || jn === n, r && G(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1980
+ var o, i, l, s = 1, u = !1, d = !1, c, m, y, C, v, w;
1981
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = l = Pe === n || jn === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1976
1982
  for (; wi(e) || Si(e); )
1977
- G(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1978
- if (l && (l = c || a), (s === 1 || Pe === n) && (Re === n || _n === n ? b = t : b = t + 1, C = e.position - e.lineStart, s === 1 ? l && (Lt(e, C) || Ci(e, C, b)) || bi(e, b) ? d = !0 : (i && ki(e, b) || hi(e, b) || vi(e, b) ? d = !0 : Ai(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && S(e, "alias node should not have any properties")) : yi(e, b, Re === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Lt(e, C))), e.tag === null)
1983
+ G(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1984
+ if (l && (l = u || a), (s === 1 || Pe === n) && (Ue === n || _n === n ? v = t : v = t + 1, w = e.position - e.lineStart, s === 1 ? l && (Lt(e, w) || Ci(e, w, v)) || bi(e, v) ? d = !0 : (i && ki(e, v) || hi(e, v) || vi(e, v) ? d = !0 : xi(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && S(e, "alias node should not have any properties")) : mi(e, v, Ue === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Lt(e, w))), e.tag === null)
1979
1985
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1980
1986
  else if (e.tag === "?") {
1981
- for (e.result !== null && e.kind !== "scalar" && S(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
1982
- if (w = e.implicitTypes[u], w.resolve(e.result)) {
1983
- e.result = w.construct(e.result), e.tag = w.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1987
+ for (e.result !== null && e.kind !== "scalar" && S(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
1988
+ if (C = e.implicitTypes[c], C.resolve(e.result)) {
1989
+ e.result = C.construct(e.result), e.tag = C.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1984
1990
  break;
1985
1991
  }
1986
1992
  } else if (e.tag !== "!") {
1987
1993
  if (be.call(e.typeMap[e.kind || "fallback"], e.tag))
1988
- w = e.typeMap[e.kind || "fallback"][e.tag];
1994
+ C = e.typeMap[e.kind || "fallback"][e.tag];
1989
1995
  else
1990
- for (w = null, m = e.typeMap.multi[e.kind || "fallback"], u = 0, h = m.length; u < h; u += 1)
1991
- if (e.tag.slice(0, m[u].tag.length) === m[u].tag) {
1992
- w = m[u];
1996
+ for (C = null, y = e.typeMap.multi[e.kind || "fallback"], c = 0, m = y.length; c < m; c += 1)
1997
+ if (e.tag.slice(0, y[c].tag.length) === y[c].tag) {
1998
+ C = y[c];
1993
1999
  break;
1994
2000
  }
1995
- w || S(e, "unknown tag !<" + e.tag + ">"), e.result !== null && w.kind !== e.kind && S(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + w.kind + '", not "' + e.kind + '"'), w.resolve(e.result, e.tag) ? (e.result = w.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : S(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2001
+ C || S(e, "unknown tag !<" + e.tag + ">"), e.result !== null && C.kind !== e.kind && S(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + C.kind + '", not "' + e.kind + '"'), C.resolve(e.result, e.tag) ? (e.result = C.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : S(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
1996
2002
  }
1997
2003
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
1998
2004
  }
1999
- function xi(e) {
2005
+ function Ai(e) {
2000
2006
  var t = e.position, n, r, a, o = !1, i;
2001
2007
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (G(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2002
2008
  for (o = !0, i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !re(i); )
@@ -2016,7 +2022,7 @@ function xi(e) {
2016
2022
  i = e.input.charCodeAt(++e.position);
2017
2023
  a.push(e.input.slice(n, e.position));
2018
2024
  }
2019
- i !== 0 && ht(e), be.call(Kt, r) ? Kt[r](e, r, a) : De(e, 'unknown document directive "' + r + '"');
2025
+ i !== 0 && ht(e), be.call(qt, r) ? qt[r](e, r, a) : De(e, 'unknown document directive "' + r + '"');
2020
2026
  }
2021
2027
  if (G(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, G(e, !0, -1)) : o && S(e, "directives end mark is expected"), $e(e, e.lineIndent - 1, Pe, !1, !0), G(e, !0, -1), e.checkLineBreaks && ci.test(e.input.slice(t, e.position)) && De(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ye(e)) {
2022
2028
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, G(e, !0, -1));
@@ -2030,11 +2036,11 @@ function xi(e) {
2030
2036
  function En(e, t) {
2031
2037
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2032
2038
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2033
- var n = new mi(e, t), r = e.indexOf("\0");
2039
+ var n = new yi(e, t), r = e.indexOf("\0");
2034
2040
  for (r !== -1 && (n.position = r, S(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2035
2041
  n.lineIndent += 1, n.position += 1;
2036
2042
  for (; n.position < n.length - 1; )
2037
- xi(n);
2043
+ Ai(n);
2038
2044
  return n.documents;
2039
2045
  }
2040
2046
  function Ii(e, t, n) {
@@ -2056,7 +2062,7 @@ function _i(e, t) {
2056
2062
  var ji = Ii, Ti = _i, Fn = {
2057
2063
  loadAll: ji,
2058
2064
  load: Ti
2059
- }, Kn = Object.prototype.toString, qn = Object.prototype.hasOwnProperty, bt = 65279, Oi = 9, Fe = 10, $i = 13, Mi = 32, Ni = 33, Ei = 34, it = 35, Fi = 37, Ki = 38, qi = 39, Li = 42, Ln = 44, Bi = 45, Ve = 58, Ui = 61, Ri = 62, Pi = 63, Di = 64, Bn = 91, Un = 93, Vi = 96, Rn = 123, zi = 124, Pn = 125, ne = {};
2065
+ }, qn = Object.prototype.toString, Kn = Object.prototype.hasOwnProperty, bt = 65279, Oi = 9, Fe = 10, $i = 13, Mi = 32, Ni = 33, Ei = 34, it = 35, Fi = 37, qi = 38, Ki = 39, Li = 42, Ln = 44, Bi = 45, Ve = 58, Ri = 61, Ui = 62, Pi = 63, Di = 64, Bn = 91, Rn = 93, Vi = 96, Un = 123, zi = 124, Pn = 125, ne = {};
2060
2066
  ne[0] = "\\0";
2061
2067
  ne[7] = "\\a";
2062
2068
  ne[8] = "\\b";
@@ -2095,7 +2101,7 @@ function Wi(e, t) {
2095
2101
  if (t === null)
2096
2102
  return {};
2097
2103
  for (n = {}, r = Object.keys(t), a = 0, o = r.length; a < o; a += 1)
2098
- i = r[a], l = String(t[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), s = e.compiledTypeMap.fallback[i], s && qn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[i] = l;
2104
+ i = r[a], l = String(t[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), s = e.compiledTypeMap.fallback[i], s && Kn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[i] = l;
2099
2105
  return n;
2100
2106
  }
2101
2107
  function Yi(e) {
@@ -2110,9 +2116,9 @@ function Yi(e) {
2110
2116
  throw new ae("code point within a string may not be greater than 0xFFFFFFFF");
2111
2117
  return "\\" + n + Q.repeat("0", r - t.length) + t;
2112
2118
  }
2113
- var Zi = 1, Ke = 2;
2119
+ var Zi = 1, qe = 2;
2114
2120
  function Gi(e) {
2115
- this.schema = e.schema || yt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Wi(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 === '"' ? Ke : Zi, 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;
2121
+ this.schema = e.schema || mt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Wi(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 === '"' ? qe : Zi, 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;
2116
2122
  }
2117
2123
  function Bt(e, t) {
2118
2124
  for (var n = Q.repeat(" ", t), r = 0, a = -1, o = "", i, l = e.length; r < l; )
@@ -2135,24 +2141,24 @@ function Qi(e, t) {
2135
2141
  function ze(e) {
2136
2142
  return e === Mi || e === Oi;
2137
2143
  }
2138
- function qe(e) {
2144
+ function Ke(e) {
2139
2145
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== bt || 65536 <= e && e <= 1114111;
2140
2146
  }
2141
- function Ut(e) {
2142
- return qe(e) && e !== bt && e !== $i && e !== Fe;
2147
+ function Rt(e) {
2148
+ return Ke(e) && e !== bt && e !== $i && e !== Fe;
2143
2149
  }
2144
- function Rt(e, t, n) {
2145
- var r = Ut(e), a = r && !ze(e);
2150
+ function Ut(e, t, n) {
2151
+ var r = Rt(e), a = r && !ze(e);
2146
2152
  return (
2147
2153
  // ns-plain-safe
2148
2154
  (n ? (
2149
2155
  // c = flow-in
2150
2156
  r
2151
- ) : r && e !== Ln && e !== Bn && e !== Un && e !== Rn && e !== Pn) && e !== it && !(t === Ve && !a) || Ut(t) && !ze(t) && e === it || t === Ve && a
2157
+ ) : r && e !== Ln && e !== Bn && e !== Rn && e !== Un && e !== Pn) && e !== it && !(t === Ve && !a) || Rt(t) && !ze(t) && e === it || t === Ve && a
2152
2158
  );
2153
2159
  }
2154
2160
  function Xi(e) {
2155
- return qe(e) && e !== bt && !ze(e) && e !== Bi && e !== Pi && e !== Ve && e !== Ln && e !== Bn && e !== Un && e !== Rn && e !== Pn && e !== it && e !== Ki && e !== Li && e !== Ni && e !== zi && e !== Ui && e !== Ri && e !== qi && e !== Ei && e !== Fi && e !== Di && e !== Vi;
2161
+ return Ke(e) && e !== bt && !ze(e) && e !== Bi && e !== Pi && e !== Ve && e !== Ln && e !== Bn && e !== Rn && e !== Un && e !== Pn && e !== it && e !== qi && e !== Li && e !== Ni && e !== zi && e !== Ri && e !== Ui && e !== Ki && e !== Ei && e !== Fi && e !== Di && e !== Vi;
2156
2162
  }
2157
2163
  function eo(e) {
2158
2164
  return !ze(e) && e !== Ve;
@@ -2167,35 +2173,35 @@ function Dn(e) {
2167
2173
  }
2168
2174
  var Vn = 1, lt = 2, zn = 3, Hn = 4, _e = 5;
2169
2175
  function to(e, t, n, r, a, o, i, l) {
2170
- var s, c = 0, d = null, u = !1, h = !1, m = r !== -1, w = -1, b = Xi(Ne(e, 0)) && eo(Ne(e, e.length - 1));
2176
+ var s, u = 0, d = null, c = !1, m = !1, y = r !== -1, C = -1, v = Xi(Ne(e, 0)) && eo(Ne(e, e.length - 1));
2171
2177
  if (t || i)
2172
- for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2173
- if (c = Ne(e, s), !qe(c))
2178
+ for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2179
+ if (u = Ne(e, s), !Ke(u))
2174
2180
  return _e;
2175
- b = b && Rt(c, d, l), d = c;
2181
+ v = v && Ut(u, d, l), d = u;
2176
2182
  }
2177
2183
  else {
2178
- for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2179
- if (c = Ne(e, s), c === Fe)
2180
- u = !0, m && (h = h || // Foldable line = too long, and not more-indented.
2181
- s - w - 1 > r && e[w + 1] !== " ", w = s);
2182
- else if (!qe(c))
2184
+ for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2185
+ if (u = Ne(e, s), u === Fe)
2186
+ c = !0, y && (m = m || // Foldable line = too long, and not more-indented.
2187
+ s - C - 1 > r && e[C + 1] !== " ", C = s);
2188
+ else if (!Ke(u))
2183
2189
  return _e;
2184
- b = b && Rt(c, d, l), d = c;
2190
+ v = v && Ut(u, d, l), d = u;
2185
2191
  }
2186
- h = h || m && s - w - 1 > r && e[w + 1] !== " ";
2192
+ m = m || y && s - C - 1 > r && e[C + 1] !== " ";
2187
2193
  }
2188
- return !u && !h ? b && !i && !a(e) ? Vn : o === Ke ? _e : lt : n > 9 && Dn(e) ? _e : i ? o === Ke ? _e : lt : h ? Hn : zn;
2194
+ return !c && !m ? v && !i && !a(e) ? Vn : o === qe ? _e : lt : n > 9 && Dn(e) ? _e : i ? o === qe ? _e : lt : m ? Hn : zn;
2189
2195
  }
2190
2196
  function no(e, t, n, r, a) {
2191
2197
  e.dump = function() {
2192
2198
  if (t.length === 0)
2193
- return e.quotingType === Ke ? '""' : "''";
2199
+ return e.quotingType === qe ? '""' : "''";
2194
2200
  if (!e.noCompatMode && (Hi.indexOf(t) !== -1 || Ji.test(t)))
2195
- return e.quotingType === Ke ? '"' + t + '"' : "'" + t + "'";
2201
+ return e.quotingType === qe ? '"' + t + '"' : "'" + t + "'";
2196
2202
  var o = e.indent * Math.max(1, n), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2197
- function s(c) {
2198
- return Qi(e, c);
2203
+ function s(u) {
2204
+ return Qi(e, u);
2199
2205
  }
2200
2206
  switch (to(
2201
2207
  t,
@@ -2236,9 +2242,9 @@ function Dt(e) {
2236
2242
  }
2237
2243
  function ao(e, t) {
2238
2244
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2239
- var c = e.indexOf(`
2245
+ var u = e.indexOf(`
2240
2246
  `);
2241
- return c = c !== -1 ? c : e.length, n.lastIndex = c, Vt(e.slice(0, c), t);
2247
+ return u = u !== -1 ? u : e.length, n.lastIndex = u, Vt(e.slice(0, u), t);
2242
2248
  }(), a = e[0] === `
2243
2249
  ` || e[0] === " ", o, i; i = n.exec(e); ) {
2244
2250
  var l = i[1], s = i[2];
@@ -2259,7 +2265,7 @@ function Vt(e, t) {
2259
2265
  }
2260
2266
  function ro(e) {
2261
2267
  for (var t = "", n = 0, r, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
2262
- n = Ne(e, a), r = ne[n], !r && qe(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || Yi(n);
2268
+ n = Ne(e, a), r = ne[n], !r && Ke(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || Yi(n);
2263
2269
  return t;
2264
2270
  }
2265
2271
  function io(e, t, n) {
@@ -2275,13 +2281,13 @@ function zt(e, t, n, r) {
2275
2281
  e.tag = o, e.dump = a || "[]";
2276
2282
  }
2277
2283
  function oo(e, t, n) {
2278
- var r = "", a = e.tag, o = Object.keys(n), i, l, s, c, d;
2284
+ var r = "", a = e.tag, o = Object.keys(n), i, l, s, u, d;
2279
2285
  for (i = 0, l = o.length; i < l; i += 1)
2280
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[i], c = n[s], e.replacer && (c = e.replacer.call(n, s, c)), fe(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), fe(e, t, c, !1, !1) && (d += e.dump, r += d));
2286
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[i], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), fe(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), fe(e, t, u, !1, !1) && (d += e.dump, r += d));
2281
2287
  e.tag = a, e.dump = "{" + r + "}";
2282
2288
  }
2283
2289
  function lo(e, t, n, r) {
2284
- var a = "", o = e.tag, i = Object.keys(n), l, s, c, d, u, h;
2290
+ var a = "", o = e.tag, i = Object.keys(n), l, s, u, d, c, m;
2285
2291
  if (e.sortKeys === !0)
2286
2292
  i.sort();
2287
2293
  else if (typeof e.sortKeys == "function")
@@ -2289,7 +2295,7 @@ function lo(e, t, n, r) {
2289
2295
  else if (e.sortKeys)
2290
2296
  throw new ae("sortKeys must be a boolean or a function");
2291
2297
  for (l = 0, s = i.length; l < s; l += 1)
2292
- h = "", (!r || a !== "") && (h += ot(e, t)), c = i[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), fe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Fe === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += ot(e, t)), fe(e, t + 1, d, !0, u) && (e.dump && Fe === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, a += h));
2298
+ m = "", (!r || a !== "") && (m += ot(e, t)), u = i[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), fe(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Fe === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += ot(e, t)), fe(e, t + 1, d, !0, c) && (e.dump && Fe === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, a += m));
2293
2299
  e.tag = o, e.dump = a || "{}";
2294
2300
  }
2295
2301
  function Ht(e, t, n) {
@@ -2297,9 +2303,9 @@ function Ht(e, t, n) {
2297
2303
  for (a = n ? e.explicitTypes : e.implicitTypes, o = 0, i = a.length; o < i; o += 1)
2298
2304
  if (l = a[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2299
2305
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2300
- if (s = e.styleMap[l.tag] || l.defaultStyle, Kn.call(l.represent) === "[object Function]")
2306
+ if (s = e.styleMap[l.tag] || l.defaultStyle, qn.call(l.represent) === "[object Function]")
2301
2307
  r = l.represent(t, s);
2302
- else if (qn.call(l.represent, s))
2308
+ else if (Kn.call(l.represent, s))
2303
2309
  r = l.represent[s](t, s);
2304
2310
  else
2305
2311
  throw new ae("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
@@ -2311,16 +2317,16 @@ function Ht(e, t, n) {
2311
2317
  }
2312
2318
  function fe(e, t, n, r, a, o, i) {
2313
2319
  e.tag = null, e.dump = n, Ht(e, n, !1) || Ht(e, n, !0);
2314
- var l = Kn.call(e.dump), s = r, c;
2320
+ var l = qn.call(e.dump), s = r, u;
2315
2321
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2316
- var d = l === "[object Object]" || l === "[object Array]", u, h;
2317
- if (d && (u = e.duplicates.indexOf(n), h = u !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && t > 0) && (a = !1), h && e.usedDuplicates[u])
2318
- e.dump = "*ref_" + u;
2322
+ var d = l === "[object Object]" || l === "[object Array]", c, m;
2323
+ if (d && (c = e.duplicates.indexOf(n), m = c !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && t > 0) && (a = !1), m && e.usedDuplicates[c])
2324
+ e.dump = "*ref_" + c;
2319
2325
  else {
2320
- if (d && h && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2321
- r && Object.keys(e.dump).length !== 0 ? (lo(e, t, e.dump, a), h && (e.dump = "&ref_" + u + e.dump)) : (oo(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2326
+ if (d && m && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
2327
+ r && Object.keys(e.dump).length !== 0 ? (lo(e, t, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (oo(e, t, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2322
2328
  else if (l === "[object Array]")
2323
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? zt(e, t - 1, e.dump, a) : zt(e, t, e.dump, a), h && (e.dump = "&ref_" + u + e.dump)) : (io(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2329
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? zt(e, t - 1, e.dump, a) : zt(e, t, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (io(e, t, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2324
2330
  else if (l === "[object String]")
2325
2331
  e.tag !== "?" && no(e, e.dump, t, o, s);
2326
2332
  else {
@@ -2328,9 +2334,9 @@ function fe(e, t, n, r, a, o, i) {
2328
2334
  return !1;
2329
2335
  throw new ae("unacceptable kind of an object to dump " + l);
2330
2336
  }
2331
- e.tag !== null && e.tag !== "?" && (c = encodeURI(
2337
+ e.tag !== null && e.tag !== "?" && (u = encodeURI(
2332
2338
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
2333
- ).replace(/!/g, "%21"), e.tag[0] === "!" ? c = "!" + c : c.slice(0, 18) === "tag:yaml.org,2002:" ? c = "!!" + c.slice(18) : c = "!<" + c + ">", e.dump = c + " " + e.dump);
2339
+ ).replace(/!/g, "%21"), e.tag[0] === "!" ? u = "!" + u : u.slice(0, 18) === "tag:yaml.org,2002:" ? u = "!!" + u.slice(18) : u = "!<" + u + ">", e.dump = u + " " + e.dump);
2334
2340
  }
2335
2341
  return !0;
2336
2342
  }
@@ -2368,25 +2374,25 @@ function kt(e, t) {
2368
2374
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2369
2375
  };
2370
2376
  }
2371
- var fo = te, go = sn, mo = pn, yo = hn, ho = vn, vo = yt, bo = Fn.load, ko = Fn.loadAll, Co = po.dump, wo = ae, So = {
2377
+ var fo = te, go = sn, yo = pn, mo = hn, ho = vn, vo = mt, bo = Fn.load, ko = Fn.loadAll, Co = po.dump, wo = ae, So = {
2372
2378
  binary: Sn,
2373
- float: yn,
2379
+ float: mn,
2374
2380
  map: dn,
2375
2381
  null: fn,
2376
- pairs: xn,
2382
+ pairs: An,
2377
2383
  set: In,
2378
2384
  timestamp: Cn,
2379
2385
  bool: gn,
2380
- int: mn,
2386
+ int: yn,
2381
2387
  merge: wn,
2382
- omap: An,
2388
+ omap: xn,
2383
2389
  seq: un,
2384
2390
  str: cn
2385
- }, Ao = kt("safeLoad", "load"), xo = kt("safeLoadAll", "loadAll"), Io = kt("safeDump", "dump"), _o = {
2391
+ }, xo = kt("safeLoad", "load"), Ao = kt("safeLoadAll", "loadAll"), Io = kt("safeDump", "dump"), _o = {
2386
2392
  Type: fo,
2387
2393
  Schema: go,
2388
- FAILSAFE_SCHEMA: mo,
2389
- JSON_SCHEMA: yo,
2394
+ FAILSAFE_SCHEMA: yo,
2395
+ JSON_SCHEMA: mo,
2390
2396
  CORE_SCHEMA: ho,
2391
2397
  DEFAULT_SCHEMA: vo,
2392
2398
  load: bo,
@@ -2394,8 +2400,8 @@ var fo = te, go = sn, mo = pn, yo = hn, ho = vn, vo = yt, bo = Fn.load, ko = Fn.
2394
2400
  dump: Co,
2395
2401
  YAMLException: wo,
2396
2402
  types: So,
2397
- safeLoad: Ao,
2398
- safeLoadAll: xo,
2403
+ safeLoad: xo,
2404
+ safeLoadAll: Ao,
2399
2405
  safeDump: Io
2400
2406
  };
2401
2407
  const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
@@ -2408,14 +2414,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2408
2414
  }
2409
2415
  },
2410
2416
  setup(e) {
2411
- const t = e, n = x(() => {
2417
+ const t = e, n = A(() => {
2412
2418
  const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, a]) => a && (Array.isArray(a) ? a.length !== 0 : !0)));
2413
2419
  return Object.keys(r).length === 0 && r.constructor === Object ? "" : _o.dump(r).trim();
2414
2420
  });
2415
2421
  return (r, a) => {
2416
- const o = q("KCodeBlock");
2417
- return y(), j("div", jo, [
2418
- t.yamlRecord ? (y(), R(o, {
2422
+ const o = K("KCodeBlock");
2423
+ return h(), j("div", jo, [
2424
+ t.yamlRecord ? (h(), U(o, {
2419
2425
  key: 0,
2420
2426
  id: "yaml-codeblock",
2421
2427
  code: n.value,
@@ -2470,53 +2476,53 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2470
2476
  }
2471
2477
  },
2472
2478
  setup(e) {
2473
- const t = e, n = ut(), { i18n: { t: r } } = X.useI18n(), a = (i) => !!(i.tooltip || n[`${i.key}-label-tooltip`]), o = x(() => {
2479
+ const t = e, n = ut(), { i18n: { t: r } } = X.useI18n(), a = (i) => !!(i.tooltip || n[`${i.key}-label-tooltip`]), o = A(() => {
2474
2480
  if (!t.record)
2475
2481
  return t.record;
2476
2482
  const i = JSON.parse(JSON.stringify(t.record));
2477
2483
  return delete i.created_at, delete i.updated_at, i;
2478
2484
  });
2479
- return (i, l) => (y(), j(de, null, [
2480
- e.format === "structured" ? (y(), j("div", To, [
2481
- (y(!0), j(de, null, se(e.propListTypes, (s) => (y(), j("div", {
2485
+ return (i, l) => (h(), j(de, null, [
2486
+ e.format === "structured" ? (h(), j("div", To, [
2487
+ (h(!0), j(de, null, se(e.propListTypes, (s) => (h(), j("div", {
2482
2488
  key: `config-card-details-${s}-props`,
2483
2489
  class: ve(`config-card-details-${s}-props`),
2484
2490
  "data-testid": `config-card-details-${s}-props`
2485
2491
  }, [
2486
- s !== "basic" ? (y(), j("div", $o, K(s === "advanced" ? k(r)("baseConfigCard.sections.advanced") : k(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2487
- (y(!0), j(de, null, se(e.propertyCollections[s], (c) => (y(), R(an, {
2488
- key: c.key,
2489
- item: c
2492
+ s !== "basic" ? (h(), j("div", $o, q(s === "advanced" ? k(r)("baseConfigCard.sections.advanced") : k(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2493
+ (h(!0), j(de, null, se(e.propertyCollections[s], (u) => (h(), U(an, {
2494
+ key: u.key,
2495
+ item: u
2490
2496
  }, Oe({
2491
- label: v(() => [
2492
- Y(i.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2497
+ label: b(() => [
2498
+ Y(i.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2493
2499
  ]),
2494
- [c.key]: v(({ rowValue: d }) => [
2495
- Y(i.$slots, c.key, {
2496
- row: c,
2500
+ [u.key]: b(({ rowValue: d }) => [
2501
+ Y(i.$slots, u.key, {
2502
+ row: u,
2497
2503
  rowValue: d
2498
2504
  }, void 0, !0)
2499
2505
  ]),
2500
2506
  _: 2
2501
2507
  }, [
2502
- a(c) ? {
2508
+ a(u) ? {
2503
2509
  name: "label-tooltip",
2504
- fn: v(() => [
2505
- Y(i.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2510
+ fn: b(() => [
2511
+ Y(i.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2506
2512
  ]),
2507
2513
  key: "0"
2508
2514
  } : void 0
2509
2515
  ]), 1032, ["item"]))), 128))
2510
2516
  ], 10, Oo))), 128))
2511
2517
  ])) : z("", !0),
2512
- e.format === "json" && t.record ? (y(), R(rn, {
2518
+ e.format === "json" && t.record ? (h(), U(rn, {
2513
2519
  key: 1,
2514
2520
  config: t.config,
2515
2521
  "fetcher-url": t.fetcherUrl,
2516
2522
  "json-record": o.value,
2517
2523
  "request-method": "get"
2518
2524
  }, null, 8, ["config", "fetcher-url", "json-record"])) : z("", !0),
2519
- e.format === "yaml" && t.record ? (y(), R(Jn, {
2525
+ e.format === "yaml" && t.record ? (h(), U(Jn, {
2520
2526
  key: 2,
2521
2527
  "yaml-record": o.value
2522
2528
  }, null, 8, ["yaml-record"])) : z("", !0)
@@ -2527,10 +2533,10 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2527
2533
  for (const [r, a] of t)
2528
2534
  n[r] = a;
2529
2535
  return n;
2530
- }, Eo = (e) => (Je("data-v-2295e0fb"), e = e(), We(), e), Fo = ["aria-hidden"], Ko = {
2536
+ }, Eo = (e) => (Je("data-v-2295e0fb"), e = e(), We(), e), Fo = ["aria-hidden"], qo = {
2531
2537
  key: 0,
2532
2538
  "data-testid": "kui-icon-svg-title"
2533
- }, qo = /* @__PURE__ */ Eo(() => /* @__PURE__ */ B("path", {
2539
+ }, Ko = /* @__PURE__ */ Eo(() => /* @__PURE__ */ B("path", {
2534
2540
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2535
2541
  fill: "currentColor"
2536
2542
  }, null, -1)), Lo = /* @__PURE__ */ W({
@@ -2585,7 +2591,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2585
2591
  }
2586
2592
  },
2587
2593
  setup(e) {
2588
- const t = e, n = x(() => {
2594
+ const t = e, n = A(() => {
2589
2595
  if (typeof t.size == "number" && t.size > 0)
2590
2596
  return `${t.size}px`;
2591
2597
  if (typeof t.size == "string") {
@@ -2594,7 +2600,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2594
2600
  return `${o}px`;
2595
2601
  }
2596
2602
  return ke;
2597
- }), r = x(() => ({
2603
+ }), r = A(() => ({
2598
2604
  boxSizing: "border-box",
2599
2605
  color: t.color,
2600
2606
  display: t.display,
@@ -2602,14 +2608,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2602
2608
  lineHeight: "0",
2603
2609
  width: n.value
2604
2610
  }));
2605
- return (a, o) => (y(), R(xe(e.as), {
2611
+ return (a, o) => (h(), U(Ae(e.as), {
2606
2612
  "aria-hidden": e.decorative ? "true" : void 0,
2607
2613
  class: "kui-icon add-icon",
2608
2614
  "data-testid": "kui-icon-wrapper-add-icon",
2609
2615
  style: He(r.value)
2610
2616
  }, {
2611
- default: v(() => [
2612
- (y(), j("svg", {
2617
+ default: b(() => [
2618
+ (h(), j("svg", {
2613
2619
  "aria-hidden": e.decorative ? "true" : void 0,
2614
2620
  "data-testid": "kui-icon-svg-add-icon",
2615
2621
  fill: "none",
@@ -2619,17 +2625,17 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2619
2625
  width: "100%",
2620
2626
  xmlns: "http://www.w3.org/2000/svg"
2621
2627
  }, [
2622
- e.title ? (y(), j("title", Ko, K(e.title), 1)) : z("", !0),
2623
- qo
2628
+ e.title ? (h(), j("title", qo, q(e.title), 1)) : z("", !0),
2629
+ Ko
2624
2630
  ], 8, Fo))
2625
2631
  ]),
2626
2632
  _: 1
2627
2633
  }, 8, ["aria-hidden", "style"]));
2628
2634
  }
2629
- }), Bo = /* @__PURE__ */ Ze(Lo, [["__scopeId", "data-v-2295e0fb"]]), Uo = (e) => (Je("data-v-40a7f387"), e = e(), We(), e), Ro = ["aria-hidden"], Po = {
2635
+ }), Bo = /* @__PURE__ */ Ze(Lo, [["__scopeId", "data-v-2295e0fb"]]), Ro = (e) => (Je("data-v-40a7f387"), e = e(), We(), e), Uo = ["aria-hidden"], Po = {
2630
2636
  key: 0,
2631
2637
  "data-testid": "kui-icon-svg-title"
2632
- }, Do = /* @__PURE__ */ Uo(() => /* @__PURE__ */ B("path", {
2638
+ }, Do = /* @__PURE__ */ Ro(() => /* @__PURE__ */ B("path", {
2633
2639
  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",
2634
2640
  fill: "currentColor"
2635
2641
  }, null, -1)), Vo = /* @__PURE__ */ W({
@@ -2684,7 +2690,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2684
2690
  }
2685
2691
  },
2686
2692
  setup(e) {
2687
- const t = e, n = x(() => {
2693
+ const t = e, n = A(() => {
2688
2694
  if (typeof t.size == "number" && t.size > 0)
2689
2695
  return `${t.size}px`;
2690
2696
  if (typeof t.size == "string") {
@@ -2693,7 +2699,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2693
2699
  return `${o}px`;
2694
2700
  }
2695
2701
  return ke;
2696
- }), r = x(() => ({
2702
+ }), r = A(() => ({
2697
2703
  boxSizing: "border-box",
2698
2704
  color: t.color,
2699
2705
  display: t.display,
@@ -2701,14 +2707,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2701
2707
  lineHeight: "0",
2702
2708
  width: n.value
2703
2709
  }));
2704
- return (a, o) => (y(), R(xe(e.as), {
2710
+ return (a, o) => (h(), U(Ae(e.as), {
2705
2711
  "aria-hidden": e.decorative ? "true" : void 0,
2706
2712
  class: "kui-icon book-icon",
2707
2713
  "data-testid": "kui-icon-wrapper-book-icon",
2708
2714
  style: He(r.value)
2709
2715
  }, {
2710
- default: v(() => [
2711
- (y(), j("svg", {
2716
+ default: b(() => [
2717
+ (h(), j("svg", {
2712
2718
  "aria-hidden": e.decorative ? "true" : void 0,
2713
2719
  "data-testid": "kui-icon-svg-book-icon",
2714
2720
  fill: "none",
@@ -2718,9 +2724,9 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2718
2724
  width: "100%",
2719
2725
  xmlns: "http://www.w3.org/2000/svg"
2720
2726
  }, [
2721
- e.title ? (y(), j("title", Po, K(e.title), 1)) : z("", !0),
2727
+ e.title ? (h(), j("title", Po, q(e.title), 1)) : z("", !0),
2722
2728
  Do
2723
- ], 8, Ro))
2729
+ ], 8, Uo))
2724
2730
  ]),
2725
2731
  _: 1
2726
2732
  }, 8, ["aria-hidden", "style"]));
@@ -2783,7 +2789,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2783
2789
  }
2784
2790
  },
2785
2791
  setup(e) {
2786
- const t = e, n = x(() => {
2792
+ const t = e, n = A(() => {
2787
2793
  if (typeof t.size == "number" && t.size > 0)
2788
2794
  return `${t.size}px`;
2789
2795
  if (typeof t.size == "string") {
@@ -2792,7 +2798,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2792
2798
  return `${o}px`;
2793
2799
  }
2794
2800
  return ke;
2795
- }), r = x(() => ({
2801
+ }), r = A(() => ({
2796
2802
  boxSizing: "border-box",
2797
2803
  color: t.color,
2798
2804
  display: t.display,
@@ -2800,14 +2806,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2800
2806
  lineHeight: "0",
2801
2807
  width: n.value
2802
2808
  }));
2803
- return (a, o) => (y(), R(xe(e.as), {
2809
+ return (a, o) => (h(), U(Ae(e.as), {
2804
2810
  "aria-hidden": e.decorative ? "true" : void 0,
2805
2811
  class: "kui-icon chevron-down-icon",
2806
2812
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2807
2813
  style: He(r.value)
2808
2814
  }, {
2809
- default: v(() => [
2810
- (y(), j("svg", {
2815
+ default: b(() => [
2816
+ (h(), j("svg", {
2811
2817
  "aria-hidden": e.decorative ? "true" : void 0,
2812
2818
  "data-testid": "kui-icon-svg-chevron-down-icon",
2813
2819
  fill: "none",
@@ -2817,7 +2823,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2817
2823
  width: "100%",
2818
2824
  xmlns: "http://www.w3.org/2000/svg"
2819
2825
  }, [
2820
- e.title ? (y(), j("title", Wo, K(e.title), 1)) : z("", !0),
2826
+ e.title ? (h(), j("title", Wo, q(e.title), 1)) : z("", !0),
2821
2827
  Yo
2822
2828
  ], 8, Jo))
2823
2829
  ]),
@@ -2882,7 +2888,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2882
2888
  }
2883
2889
  },
2884
2890
  setup(e) {
2885
- const t = e, n = x(() => {
2891
+ const t = e, n = A(() => {
2886
2892
  if (typeof t.size == "number" && t.size > 0)
2887
2893
  return `${t.size}px`;
2888
2894
  if (typeof t.size == "string") {
@@ -2891,7 +2897,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2891
2897
  return `${o}px`;
2892
2898
  }
2893
2899
  return ke;
2894
- }), r = x(() => ({
2900
+ }), r = A(() => ({
2895
2901
  boxSizing: "border-box",
2896
2902
  color: t.color,
2897
2903
  display: t.display,
@@ -2899,14 +2905,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2899
2905
  lineHeight: "0",
2900
2906
  width: n.value
2901
2907
  }));
2902
- return (a, o) => (y(), R(xe(e.as), {
2908
+ return (a, o) => (h(), U(Ae(e.as), {
2903
2909
  "aria-hidden": e.decorative ? "true" : void 0,
2904
2910
  class: "kui-icon close-icon",
2905
2911
  "data-testid": "kui-icon-wrapper-close-icon",
2906
2912
  style: He(r.value)
2907
2913
  }, {
2908
- default: v(() => [
2909
- (y(), j("svg", {
2914
+ default: b(() => [
2915
+ (h(), j("svg", {
2910
2916
  "aria-hidden": e.decorative ? "true" : void 0,
2911
2917
  "data-testid": "kui-icon-svg-close-icon",
2912
2918
  fill: "none",
@@ -2916,7 +2922,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
2916
2922
  width: "100%",
2917
2923
  xmlns: "http://www.w3.org/2000/svg"
2918
2924
  }, [
2919
- e.title ? (y(), j("title", el, K(e.title), 1)) : z("", !0),
2925
+ e.title ? (h(), j("title", el, q(e.title), 1)) : z("", !0),
2920
2926
  tl
2921
2927
  ], 8, Xo))
2922
2928
  ]),
@@ -3000,7 +3006,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3000
3006
  var n;
3001
3007
  const r = t, a = e, { i18n: { t: o } } = X.useI18n(), { getMessageFromError: i } = X.useErrors(), { convertKeyToTitle: l } = X.useStringHelpers(), { axiosInstance: s } = X.useAxios({
3002
3008
  headers: (n = a.config) == null ? void 0 : n.requestHeaders
3003
- }), c = [
3009
+ }), u = [
3004
3010
  {
3005
3011
  label: o("baseConfigCard.general.structuredFormat"),
3006
3012
  value: "structured",
@@ -3014,9 +3020,9 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3014
3020
  label: "YAML",
3015
3021
  value: "yaml"
3016
3022
  }
3017
- ], d = N("structured"), u = (p) => {
3023
+ ], d = N("structured"), c = (p) => {
3018
3024
  d.value = p == null ? void 0 : p.value;
3019
- }, h = {
3025
+ }, m = {
3020
3026
  id: {
3021
3027
  type: J.ID,
3022
3028
  label: o("baseConfigCard.commonFields.id_label"),
@@ -3050,21 +3056,21 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3050
3056
  // the last property displayed
3051
3057
  section: le.Basic
3052
3058
  }
3053
- }, m = N(!1), w = N(!1), b = N(""), C = N({}), L = x(() => {
3059
+ }, y = N(!1), C = N(!1), v = N(""), w = N({}), L = A(() => {
3054
3060
  var p, M, F;
3055
- if (!C.value)
3061
+ if (!w.value)
3056
3062
  return [];
3057
- const A = [], U = Object.keys(C.value).length;
3058
- for (const O in C.value) {
3059
- const T = (M = (p = a.configSchema) == null ? void 0 : p[O]) == null ? void 0 : M.order, P = (F = h[O]) == null ? void 0 : F.order;
3060
- let H = U;
3061
- (P || P === 0) && (H = P === -1 ? U + 1 : P), T && (H = T === -1 ? U + 1 : T), A.push([O, H]);
3063
+ const x = [], R = Object.keys(w.value).length;
3064
+ for (const O in w.value) {
3065
+ const T = (M = (p = a.configSchema) == null ? void 0 : p[O]) == null ? void 0 : M.order, P = (F = m[O]) == null ? void 0 : F.order;
3066
+ let H = R;
3067
+ (P || P === 0) && (H = P === -1 ? R + 1 : P), T && (H = T === -1 ? R + 1 : T), x.push([O, H]);
3062
3068
  }
3063
- return A.sort(function(O, T) {
3069
+ return x.sort(function(O, T) {
3064
3070
  return O[1] - T[1];
3065
- }), A.map((O) => {
3071
+ }), x.map((O) => {
3066
3072
  var T, P;
3067
- const H = O[0], ie = (T = C.value) == null ? void 0 : T[H], oe = ((P = a.configSchema) == null ? void 0 : P[H]) || {}, ue = h[H];
3073
+ const H = O[0], ie = (T = w.value) == null ? void 0 : T[H], oe = ((P = a.configSchema) == null ? void 0 : P[H]) || {}, ue = m[H];
3068
3074
  return {
3069
3075
  key: H,
3070
3076
  value: ie,
@@ -3075,19 +3081,19 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3075
3081
  section: oe.section ?? ((ue == null ? void 0 : ue.section) || le.Advanced)
3076
3082
  };
3077
3083
  }).filter((O) => !O.hidden && O.key !== a.pluginConfigKey);
3078
- }), _ = x(() => {
3084
+ }), _ = A(() => {
3079
3085
  var p, M;
3080
- if (!C.value || !a.pluginConfigKey)
3086
+ if (!w.value || !a.pluginConfigKey)
3081
3087
  return [];
3082
- const F = C.value[a.pluginConfigKey] || {}, A = Object.keys(F).length, U = [];
3088
+ const F = w.value[a.pluginConfigKey] || {}, x = Object.keys(F).length, R = [];
3083
3089
  for (const O in F) {
3084
3090
  const T = (M = (p = a.pluginConfigSchema) == null ? void 0 : p[O]) == null ? void 0 : M.order, P = F[O];
3085
- let H = P != null && P !== "" ? A - 1 : A;
3086
- T && (H = T === -1 ? A + 1 : T), U.push([O, H]);
3091
+ let H = P != null && P !== "" ? x - 1 : x;
3092
+ T && (H = T === -1 ? x + 1 : T), R.push([O, H]);
3087
3093
  }
3088
- return U.sort(function(O, T) {
3094
+ return R.sort(function(O, T) {
3089
3095
  return O[1] - T[1];
3090
- }), U.map((O) => {
3096
+ }), R.map((O) => {
3091
3097
  var T;
3092
3098
  const P = O[0], H = F[P], ie = ((T = a.pluginConfigSchema) == null ? void 0 : T[P]) || {};
3093
3099
  return {
@@ -3100,70 +3106,70 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3100
3106
  section: le.Plugin
3101
3107
  };
3102
3108
  }).filter((O) => !O.hidden);
3103
- }), E = x(() => {
3104
- var p, M, F, A;
3109
+ }), E = A(() => {
3110
+ var p, M, F, x;
3105
3111
  return {
3106
- basic: (p = L.value) == null ? void 0 : p.filter((U) => U.section === le.Basic),
3107
- advanced: (M = L.value) == null ? void 0 : M.filter((U) => U.section === le.Advanced),
3108
- plugin: (A = _.value) == null ? void 0 : A.concat((F = L.value) == null ? void 0 : F.filter((U) => U.section === le.Plugin))
3112
+ basic: (p = L.value) == null ? void 0 : p.filter((R) => R.section === le.Basic),
3113
+ advanced: (M = L.value) == null ? void 0 : M.filter((R) => R.section === le.Advanced),
3114
+ plugin: (x = _.value) == null ? void 0 : x.concat((F = L.value) == null ? void 0 : F.filter((R) => R.section === le.Plugin))
3109
3115
  };
3110
- }), g = x(() => {
3116
+ }), g = A(() => {
3111
3117
  const p = [];
3112
3118
  return E.value.basic.length && p.push("basic"), E.value.advanced.length && p.push("advanced"), E.value.plugin.length && p.push("plugin"), p;
3113
- }), f = x(() => {
3119
+ }), f = A(() => {
3114
3120
  var p, M;
3115
3121
  let F = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3116
3122
  return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (M = a.config) != null && M.workspace ? `/${a.config.workspace}` : "")), F = F.replace(/{id}/gi, a.config.entityId), F;
3117
3123
  });
3118
- return Ae(m, (p) => {
3124
+ return xe(y, (p) => {
3119
3125
  r("loading", p);
3120
3126
  }, { immediate: !0 }), ct(async () => {
3121
- w.value = !1, m.value = !0;
3127
+ C.value = !1, y.value = !0;
3122
3128
  try {
3123
3129
  const { data: p } = await s.get(f.value);
3124
3130
  if (a.dataKey)
3125
3131
  if (typeof p[a.dataKey] < "u")
3126
- C.value = { ...p[a.dataKey] };
3132
+ w.value = { ...p[a.dataKey] };
3127
3133
  else
3128
3134
  throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3129
3135
  else
3130
- C.value = { ...p };
3136
+ w.value = { ...p };
3131
3137
  Object.keys(a.configSchema).filter((M) => a.configSchema[M].forceShow).forEach((M) => {
3132
- C.value && typeof C.value[M] > "u" && (C.value[M] = null);
3138
+ w.value && typeof w.value[M] > "u" && (w.value[M] = null);
3133
3139
  }), r("fetch:success", p);
3134
3140
  } catch (p) {
3135
3141
  const M = i(p);
3136
- b.value = M.startsWith("code") ? o("baseConfigCard.errors.load") : M, w.value = !0, r("fetch:error", p);
3142
+ v.value = M.startsWith("code") ? o("baseConfigCard.errors.load") : M, C.value = !0, r("fetch:error", p);
3137
3143
  } finally {
3138
- m.value = !1;
3144
+ y.value = !1;
3139
3145
  }
3140
3146
  }), (p, M) => {
3141
- const F = q("KLabel"), A = q("KSelect"), U = q("KButton"), O = q("KSkeleton"), T = q("KEmptyState"), P = q("KCard");
3142
- return y(), R(P, { class: "kong-ui-entity-base-config-card" }, Oe({
3143
- actions: v(() => [
3147
+ const F = K("KLabel"), x = K("KSelect"), R = K("KButton"), O = K("KSkeleton"), T = K("KEmptyState"), P = K("KCard");
3148
+ return h(), U(P, { class: "kong-ui-entity-base-config-card" }, Oe({
3149
+ actions: b(() => [
3144
3150
  B("div", il, [
3145
3151
  Y(p.$slots, "actions", {}, void 0, !0),
3146
3152
  I(F, {
3147
3153
  class: "config-format-select-label",
3148
3154
  "data-testid": "config-format-select-label"
3149
3155
  }, {
3150
- default: v(() => [
3151
- V(K(e.label), 1)
3156
+ default: b(() => [
3157
+ V(q(e.label), 1)
3152
3158
  ]),
3153
3159
  _: 1
3154
3160
  }),
3155
- I(A, {
3161
+ I(x, {
3156
3162
  "data-testid": "select-config-format",
3157
- items: c,
3158
- onChange: u
3163
+ items: u,
3164
+ onChange: c
3159
3165
  }),
3160
- e.configCardDoc ? (y(), R(U, {
3166
+ e.configCardDoc ? (h(), U(R, {
3161
3167
  key: 0,
3162
3168
  appearance: "tertiary",
3163
3169
  class: "book-icon",
3164
3170
  "data-testid": "book-icon"
3165
3171
  }, {
3166
- default: v(() => [
3172
+ default: b(() => [
3167
3173
  B("a", {
3168
3174
  href: e.configCardDoc,
3169
3175
  rel: "noopener",
@@ -3176,19 +3182,19 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3176
3182
  })) : z("", !0)
3177
3183
  ])
3178
3184
  ]),
3179
- default: v(() => [
3180
- m.value ? (y(), R(O, {
3185
+ default: b(() => [
3186
+ y.value ? (h(), U(O, {
3181
3187
  key: 0,
3182
3188
  "data-testid": "config-card-loader",
3183
3189
  "table-columns": 2,
3184
3190
  type: "table"
3185
- })) : w.value ? (y(), R(T, {
3191
+ })) : C.value ? (h(), U(T, {
3186
3192
  key: 1,
3187
3193
  "data-testid": "config-card-fetch-error",
3188
3194
  "icon-variant": "error"
3189
3195
  }, {
3190
- default: v(() => [
3191
- B("h3", null, K(b.value), 1)
3196
+ default: b(() => [
3197
+ B("h3", null, q(v.value), 1)
3192
3198
  ]),
3193
3199
  _: 1
3194
3200
  })) : z("", !0),
@@ -3199,11 +3205,11 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3199
3205
  format: d.value,
3200
3206
  "prop-list-types": g.value,
3201
3207
  "property-collections": E.value,
3202
- record: C.value
3208
+ record: w.value
3203
3209
  }, Oe({ _: 2 }, [
3204
3210
  se(Object.keys(p.$slots), (H) => ({
3205
3211
  name: H,
3206
- fn: v(({ row: ie, rowValue: oe }) => [
3212
+ fn: b(({ row: ie, rowValue: oe }) => [
3207
3213
  Y(p.$slots, H, {
3208
3214
  row: ie,
3209
3215
  rowValue: oe
@@ -3217,10 +3223,10 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3217
3223
  }, [
3218
3224
  e.hideTitle ? void 0 : {
3219
3225
  name: "title",
3220
- fn: v(() => [
3226
+ fn: b(() => [
3221
3227
  B("div", rl, [
3222
3228
  Y(p.$slots, "title", {}, () => [
3223
- V(K(k(o)("baseConfigCard.title")), 1)
3229
+ V(q(k(o)("baseConfigCard.title")), 1)
3224
3230
  ], !0)
3225
3231
  ])
3226
3232
  ]),
@@ -3289,18 +3295,18 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3289
3295
  var n;
3290
3296
  const r = t, a = e, o = dt(), { i18n: { t: i } } = X.useI18n(), { getMessageFromError: l } = X.useErrors(), { axiosInstance: s } = X.useAxios({
3291
3297
  headers: (n = a.config) == null ? void 0 : n.requestHeaders
3292
- }), c = N(!1), d = N(!1), u = N(""), h = x(() => a.canSubmit === !1 || a.isReadonly), m = N(!1), w = x(() => {
3298
+ }), u = N(!1), d = N(!1), c = N(""), m = A(() => a.canSubmit === !1 || a.isReadonly), y = N(!1), C = A(() => {
3293
3299
  var g, f;
3294
3300
  let p = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3295
3301
  return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (f = a.config) != null && f.workspace ? `/${a.config.workspace}` : "")), a.editId ? (p = p.replace(/{id}/gi, a.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
3296
- }), b = () => {
3297
- m.value = !m.value;
3298
- }, C = () => {
3302
+ }), v = () => {
3303
+ y.value = !y.value;
3304
+ }, w = () => {
3299
3305
  a.config.cancelRoute ? o.push(a.config.cancelRoute) : L();
3300
3306
  }, L = () => {
3301
3307
  r("cancel");
3302
3308
  }, _ = () => {
3303
- h.value || r("submit");
3309
+ m.value || r("submit");
3304
3310
  }, E = N([
3305
3311
  {
3306
3312
  title: i("baseForm.configuration.yaml"),
@@ -3311,46 +3317,46 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3311
3317
  hash: "#json"
3312
3318
  }
3313
3319
  ]);
3314
- return Ae(() => c.value, (g) => {
3320
+ return xe(() => u.value, (g) => {
3315
3321
  r("loading", g);
3316
3322
  }, { immediate: !0 }), ct(async () => {
3317
3323
  if (a.editId)
3318
3324
  try {
3319
- d.value = !1, c.value = !0;
3320
- const { data: g } = await s.get(w.value);
3325
+ d.value = !1, u.value = !0;
3326
+ const { data: g } = await s.get(C.value);
3321
3327
  r("fetch:success", g);
3322
3328
  } catch (g) {
3323
3329
  const f = l(g);
3324
- u.value = f.startsWith("code") ? i("baseForm.errors.edit") : f, d.value = !0, r("fetch:error", g);
3330
+ c.value = f.startsWith("code") ? i("baseForm.errors.edit") : f, d.value = !0, r("fetch:error", g);
3325
3331
  } finally {
3326
- c.value = !1;
3332
+ u.value = !1;
3327
3333
  }
3328
3334
  }), (g, f) => {
3329
- const p = q("KSkeleton"), M = q("KEmptyState"), F = q("KAlert"), A = q("KButton"), U = q("KTabs"), O = q("KSlideout"), T = q("KCard");
3330
- return y(), R(T, { class: "kong-ui-entity-base-form" }, {
3331
- default: v(() => [
3332
- c.value ? (y(), R(p, {
3335
+ const p = K("KSkeleton"), M = K("KEmptyState"), F = K("KAlert"), x = K("KButton"), R = K("KTabs"), O = K("KSlideout"), T = K("KCard");
3336
+ return h(), U(T, { class: "kong-ui-entity-base-form" }, {
3337
+ default: b(() => [
3338
+ u.value ? (h(), U(p, {
3333
3339
  key: 0,
3334
3340
  type: "form"
3335
- })) : d.value ? (y(), R(M, {
3341
+ })) : d.value ? (h(), U(M, {
3336
3342
  key: 1,
3337
3343
  "action-button-text": k(i)("baseForm.actions.back"),
3338
3344
  "data-testid": "form-fetch-error",
3339
3345
  "icon-variant": "error",
3340
- onClickAction: C
3346
+ onClickAction: w
3341
3347
  }, {
3342
- default: v(() => [
3343
- B("h3", null, K(u.value), 1)
3348
+ default: b(() => [
3349
+ B("h3", null, q(c.value), 1)
3344
3350
  ]),
3345
3351
  _: 1
3346
- }, 8, ["action-button-text"])) : (y(), j("form", {
3352
+ }, 8, ["action-button-text"])) : (h(), j("form", {
3347
3353
  key: 2,
3348
3354
  "data-testid": "form-content",
3349
3355
  onReset: nt(L, ["prevent"]),
3350
3356
  onSubmit: nt(_, ["prevent"])
3351
3357
  }, [
3352
3358
  Y(g.$slots, "default", {}, void 0, !0),
3353
- e.errorMessage ? (y(), R(F, {
3359
+ e.errorMessage ? (h(), U(F, {
3354
3360
  key: 0,
3355
3361
  appearance: "danger",
3356
3362
  "data-testid": "form-error",
@@ -3358,35 +3364,35 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3358
3364
  }, null, 8, ["message"])) : z("", !0),
3359
3365
  B("div", ul, [
3360
3366
  Y(g.$slots, "form-actions", {}, () => [
3361
- I(A, {
3367
+ I(x, {
3362
3368
  appearance: "tertiary",
3363
3369
  "data-testid": "form-view-configuration",
3364
- onClick: f[0] || (f[0] = (P) => b())
3370
+ onClick: f[0] || (f[0] = (P) => v())
3365
3371
  }, {
3366
- default: v(() => [
3367
- V(K(k(i)("baseForm.actions.viewConfiguration")), 1)
3372
+ default: b(() => [
3373
+ V(q(k(i)("baseForm.actions.viewConfiguration")), 1)
3368
3374
  ]),
3369
3375
  _: 1
3370
3376
  }),
3371
- I(A, {
3377
+ I(x, {
3372
3378
  appearance: "secondary",
3373
3379
  "data-testid": "form-cancel",
3374
3380
  disabled: e.isReadonly,
3375
3381
  type: "reset"
3376
3382
  }, {
3377
- default: v(() => [
3378
- V(K(k(i)("baseForm.actions.cancel")), 1)
3383
+ default: b(() => [
3384
+ V(q(k(i)("baseForm.actions.cancel")), 1)
3379
3385
  ]),
3380
3386
  _: 1
3381
3387
  }, 8, ["disabled"]),
3382
- I(A, {
3388
+ I(x, {
3383
3389
  appearance: "primary",
3384
3390
  "data-testid": "form-submit",
3385
- disabled: h.value,
3391
+ disabled: m.value,
3386
3392
  type: "submit"
3387
3393
  }, {
3388
- default: v(() => [
3389
- V(K(k(i)("baseForm.actions.save")), 1)
3394
+ default: b(() => [
3395
+ V(q(k(i)("baseForm.actions.save")), 1)
3390
3396
  ]),
3391
3397
  _: 1
3392
3398
  }, 8, ["disabled"])
@@ -3399,24 +3405,24 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3399
3405
  "has-overlay": !1,
3400
3406
  "offset-top": 60,
3401
3407
  title: k(i)("baseForm.configuration.title"),
3402
- visible: m.value,
3403
- onClose: f[1] || (f[1] = (P) => b())
3408
+ visible: y.value,
3409
+ onClose: f[1] || (f[1] = (P) => v())
3404
3410
  }, {
3405
- default: v(() => [
3406
- B("div", null, K(k(i)("baseForm.configuration.message")), 1),
3407
- I(U, {
3411
+ default: b(() => [
3412
+ B("div", null, q(k(i)("baseForm.configuration.message")), 1),
3413
+ I(R, {
3408
3414
  "data-testid": "form-view-configuration-slideout-tabs",
3409
3415
  tabs: E.value
3410
3416
  }, {
3411
- json: v(() => [
3417
+ json: b(() => [
3412
3418
  I(rn, {
3413
3419
  config: e.config,
3414
- "fetcher-url": w.value,
3420
+ "fetcher-url": C.value,
3415
3421
  "json-record": a.formFields,
3416
3422
  "request-method": a.editId ? "put" : "post"
3417
3423
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3418
3424
  ]),
3419
- yaml: v(() => [
3425
+ yaml: b(() => [
3420
3426
  I(Jn, {
3421
3427
  "yaml-record": a.formFields
3422
3428
  }, null, 8, ["yaml-record"])
@@ -3447,65 +3453,65 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3447
3453
  }
3448
3454
  },
3449
3455
  setup(e) {
3450
- const t = e, n = x(() => {
3451
- var b;
3452
- return ((b = t.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3453
- }), r = x(() => {
3454
- var b;
3455
- return ((b = n.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3456
- }), a = x(() => {
3457
- var b, C;
3458
- const L = (b = t.rowEl) == null ? void 0 : b.querySelectorAll("td");
3459
- return L ? ((C = L[0]) == null ? void 0 : C.getAttribute("data-testid")) === t.keyName : !1;
3456
+ const t = e, n = A(() => {
3457
+ var v;
3458
+ return ((v = t.rowEl) == null ? void 0 : v.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3459
+ }), r = A(() => {
3460
+ var v;
3461
+ return ((v = n.value) == null ? void 0 : v.querySelector('[data-testid="first-col"]')) || null;
3462
+ }), a = A(() => {
3463
+ var v, w;
3464
+ const L = (v = t.rowEl) == null ? void 0 : v.querySelectorAll("td");
3465
+ return L ? ((w = L[0]) == null ? void 0 : w.getAttribute("data-testid")) === t.keyName : !1;
3460
3466
  });
3461
3467
  let o;
3462
3468
  const i = () => {
3463
3469
  o && (o.disconnect(), o = void 0);
3464
3470
  }, l = () => {
3465
- var b, C, L;
3466
- c.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, d.value = ((C = n.value) == null ? void 0 : C.clientWidth) || 0, u.value = ((L = s.value) == null ? void 0 : L.innerText) || "";
3467
- }, s = N({}), c = N(0), d = N(0), u = N(""), h = x(() => [r.value, n.value]), m = Ae(
3468
- h,
3469
- (b) => {
3471
+ var v, w, L;
3472
+ u.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((w = n.value) == null ? void 0 : w.clientWidth) || 0, c.value = ((L = s.value) == null ? void 0 : L.innerText) || "";
3473
+ }, s = N({}), u = N(0), d = N(0), c = N(""), m = A(() => [r.value, n.value]), y = xe(
3474
+ m,
3475
+ (v) => {
3470
3476
  if (a.value && (i(), "ResizeObserver" in window && window)) {
3471
- o = new ResizeObserver((C) => {
3477
+ o = new ResizeObserver((w) => {
3472
3478
  window.requestAnimationFrame(() => {
3473
- !Array.isArray(C) || !C.length || l();
3479
+ !Array.isArray(w) || !w.length || l();
3474
3480
  });
3475
3481
  });
3476
- for (const C of b)
3477
- C && o.observe(C);
3482
+ for (const w of v)
3483
+ w && o.observe(w);
3478
3484
  }
3479
3485
  },
3480
3486
  { immediate: !0, flush: "post", deep: !0 }
3481
- ), w = x(() => a.value ? c.value > d.value : !1);
3487
+ ), C = A(() => a.value ? u.value > d.value : !1);
3482
3488
  return ea(() => {
3483
3489
  l();
3484
3490
  }), ta(() => {
3485
- m();
3486
- }), (b, C) => {
3487
- const L = q("KTooltip");
3488
- return y(), j("span", {
3491
+ y();
3492
+ }), (v, w) => {
3493
+ const L = K("KTooltip");
3494
+ return h(), j("span", {
3489
3495
  ref_key: "contentRef",
3490
3496
  ref: s,
3491
3497
  class: "content-wrapper"
3492
3498
  }, [
3493
- a.value ? (y(), j("span", fl, [
3499
+ a.value ? (h(), j("span", fl, [
3494
3500
  I(L, {
3495
3501
  "max-width": "300",
3496
3502
  placement: "bottomStart",
3497
- text: w.value ? u.value : ""
3503
+ text: C.value ? c.value : ""
3498
3504
  }, {
3499
- default: v(() => [
3500
- Y(b.$slots, "default", {}, void 0, !0)
3505
+ default: b(() => [
3506
+ Y(v.$slots, "default", {}, void 0, !0)
3501
3507
  ]),
3502
3508
  _: 3
3503
3509
  }, 8, ["text"])
3504
- ])) : Y(b.$slots, "default", { key: 1 }, void 0, !0)
3510
+ ])) : Y(v.$slots, "default", { key: 1 }, void 0, !0)
3505
3511
  ], 512);
3506
3512
  };
3507
3513
  }
3508
- }), ml = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-c4379fd4"]]), yl = { class: "toolbar-container" }, hl = {
3514
+ }), yl = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-c4379fd4"]]), ml = { class: "toolbar-container" }, hl = {
3509
3515
  key: 0,
3510
3516
  class: "toolbar-button-container"
3511
3517
  }, vl = ["data-testid"], bl = /* @__PURE__ */ W({
@@ -3618,7 +3624,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3618
3624
  },
3619
3625
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3620
3626
  setup(e, { emit: t }) {
3621
- const n = e, r = t, { i18n: { t: a } } = X.useI18n(), o = x(() => {
3627
+ const n = e, r = t, { i18n: { t: a } } = X.useI18n(), o = A(() => {
3622
3628
  var f, p;
3623
3629
  return typeof n.errorMessage == "string" ? {
3624
3630
  hasError: !!n.errorMessage,
@@ -3629,7 +3635,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3629
3635
  title: (f = n.errorMessage) == null ? void 0 : f.title,
3630
3636
  message: (p = n.errorMessage) == null ? void 0 : p.message
3631
3637
  };
3632
- }), i = x(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = x(() => {
3638
+ }), i = A(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = A(() => {
3633
3639
  const f = [];
3634
3640
  return Object.keys(n.tableHeaders).forEach((p) => {
3635
3641
  const M = n.tableHeaders[p];
@@ -3642,14 +3648,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3642
3648
  key: "actions",
3643
3649
  hideLabel: !0
3644
3650
  }), f;
3645
- }), c = (f) => ({
3651
+ }), u = (f) => ({
3646
3652
  "data-rowid": f.id,
3647
3653
  "data-testid": f.name,
3648
3654
  ...n.rowAttributes(f)
3649
- }), d = N({}), u = (f) => {
3655
+ }), d = N({}), c = (f) => {
3650
3656
  var p;
3651
3657
  return (p = d.value) == null ? void 0 : p.$el.querySelector(`[data-rowid="${f.id}"]`);
3652
- }, h = (f) => {
3658
+ }, m = (f) => {
3653
3659
  const p = {
3654
3660
  "data-testid": f.headerKey,
3655
3661
  ...n.cellAttributes(f)
@@ -3659,15 +3665,15 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3659
3665
  overflowX: "hidden",
3660
3666
  textOverflow: "ellipsis"
3661
3667
  }), p;
3662
- }, m = () => {
3663
- r("empty-state-cta-clicked"), w();
3664
- }, w = () => {
3668
+ }, y = () => {
3669
+ r("empty-state-cta-clicked"), C();
3670
+ }, C = () => {
3665
3671
  r("clear-search-input");
3666
- }, b = x(() => n.disableRowClick ? void 0 : (f, p) => {
3672
+ }, v = A(() => n.disableRowClick ? void 0 : (f, p) => {
3667
3673
  r("click:row", p);
3668
- }), C = (f) => {
3674
+ }), w = (f) => {
3669
3675
  r("sort", f);
3670
- }, { setTablePreferences: L, getTablePreferences: _ } = pa(), E = x(() => {
3676
+ }, { setTablePreferences: L, getTablePreferences: _ } = pa(), E = A(() => {
3671
3677
  const f = _(n.preferencesStorageKey);
3672
3678
  return {
3673
3679
  ...n.initialFetcherParams,
@@ -3677,17 +3683,17 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3677
3683
  n.preferencesStorageKey && L(n.preferencesStorageKey, f);
3678
3684
  };
3679
3685
  return (f, p) => {
3680
- const M = q("KIcon"), F = q("KButton"), A = q("KDropdown"), U = q("KTable"), O = q("KCard");
3681
- return y(), R(O, {
3686
+ const M = K("KIcon"), F = K("KButton"), x = K("KDropdown"), R = K("KTable"), O = K("KCard");
3687
+ return h(), U(O, {
3682
3688
  class: "kong-ui-entity-base-table",
3683
3689
  title: e.title
3684
3690
  }, {
3685
- default: v(() => [
3686
- I(U, {
3691
+ default: b(() => [
3692
+ I(R, {
3687
3693
  ref_key: "tableRefs",
3688
3694
  ref: d,
3689
3695
  "cache-identifier": i.value,
3690
- "cell-attrs": h,
3696
+ "cell-attrs": m,
3691
3697
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3692
3698
  "disable-sorting": e.disableSorting,
3693
3699
  "empty-state-action-message": e.query ? k(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
@@ -3706,46 +3712,46 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3706
3712
  "initial-fetcher-params": E.value,
3707
3713
  "is-loading": e.isLoading,
3708
3714
  "pagination-type": e.paginationType,
3709
- "row-attrs": c,
3715
+ "row-attrs": u,
3710
3716
  "search-input": e.query,
3711
- onKtableEmptyStateCtaClicked: m,
3712
- "onRow:click": b.value,
3713
- onSort: p[0] || (p[0] = (T) => C(T)),
3717
+ onKtableEmptyStateCtaClicked: y,
3718
+ "onRow:click": v.value,
3719
+ onSort: p[0] || (p[0] = (T) => w(T)),
3714
3720
  "onUpdate:tablePreferences": g
3715
3721
  }, Oe({
3716
- toolbar: v(({ state: T }) => [
3717
- me(B("div", yl, [
3722
+ toolbar: b(({ state: T }) => [
3723
+ ye(B("div", ml, [
3718
3724
  Y(f.$slots, "toolbar-filter", {}, void 0, !0),
3719
- f.$slots["toolbar-button"] ? (y(), j("div", hl, [
3725
+ f.$slots["toolbar-button"] ? (h(), j("div", hl, [
3720
3726
  Y(f.$slots, "toolbar-button", {}, void 0, !0)
3721
3727
  ])) : z("", !0)
3722
3728
  ], 512), [
3723
- [ye, l(T)]
3729
+ [me, l(T)]
3724
3730
  ])
3725
3731
  ]),
3726
- actions: v(({ row: T, rowKey: P, rowValue: H }) => [
3732
+ actions: b(({ row: T, rowKey: P, rowValue: H }) => [
3727
3733
  B("div", {
3728
3734
  class: "actions-container",
3729
3735
  "data-testid": T.name
3730
3736
  }, [
3731
- I(A, {
3737
+ I(x, {
3732
3738
  "kpop-attributes": { placement: "bottomEnd" },
3733
3739
  width: e.dropdownMenuWidth
3734
3740
  }, {
3735
- items: v(() => [
3741
+ items: b(() => [
3736
3742
  Y(f.$slots, "actions", {
3737
3743
  row: T,
3738
3744
  rowKey: P,
3739
3745
  rowValue: H
3740
3746
  }, void 0, !0)
3741
3747
  ]),
3742
- default: v(() => [
3748
+ default: b(() => [
3743
3749
  I(F, {
3744
3750
  class: "actions-trigger",
3745
3751
  "data-testid": "overflow-actions-button",
3746
3752
  size: "small"
3747
3753
  }, {
3748
- icon: v(() => [
3754
+ icon: b(() => [
3749
3755
  I(M, {
3750
3756
  color: k(Da),
3751
3757
  icon: "more",
@@ -3763,18 +3769,18 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3763
3769
  }, [
3764
3770
  se(e.tableHeaders, (T, P) => ({
3765
3771
  name: P,
3766
- fn: v(({ row: H, rowKey: ie, rowValue: oe }) => [
3767
- I(ml, {
3772
+ fn: b(({ row: H, rowKey: ie, rowValue: oe }) => [
3773
+ I(yl, {
3768
3774
  "key-name": String(P),
3769
- "row-el": u(H)
3775
+ "row-el": c(H)
3770
3776
  }, {
3771
- default: v(() => [
3777
+ default: b(() => [
3772
3778
  Y(f.$slots, P, {
3773
3779
  row: H,
3774
3780
  rowKey: ie,
3775
3781
  rowValue: oe
3776
3782
  }, () => [
3777
- V(K(oe), 1)
3783
+ V(q(oe), 1)
3778
3784
  ], !0)
3779
3785
  ]),
3780
3786
  _: 2
@@ -3783,7 +3789,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3783
3789
  })),
3784
3790
  e.query ? void 0 : {
3785
3791
  name: "empty-state-action-icon",
3786
- fn: v(() => [
3792
+ fn: b(() => [
3787
3793
  I(k(Bo))
3788
3794
  ]),
3789
3795
  key: "0"
@@ -3839,14 +3845,14 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3839
3845
  },
3840
3846
  emits: ["cancel", "proceed"],
3841
3847
  setup(e, { emit: t }) {
3842
- const { i18nT: n } = X.useI18n(), r = e, a = t, o = x(() => r.needConfirm ? r.entityName : ""), i = () => {
3848
+ const { i18nT: n } = X.useI18n(), r = e, a = t, o = A(() => r.needConfirm ? r.entityName : ""), i = () => {
3843
3849
  a("cancel");
3844
3850
  }, l = () => {
3845
3851
  a("proceed");
3846
3852
  };
3847
- return (s, c) => {
3848
- const d = q("KAlert"), u = q("KPrompt");
3849
- return y(), R(u, {
3853
+ return (s, u) => {
3854
+ const d = K("KAlert"), c = K("KPrompt");
3855
+ return h(), U(c, {
3850
3856
  "action-button-appearance": "danger",
3851
3857
  "action-button-disabled": e.actionPending,
3852
3858
  "action-button-text": "Yes, delete",
@@ -3857,11 +3863,11 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3857
3863
  onCancel: i,
3858
3864
  onProceed: l
3859
3865
  }, {
3860
- default: v(() => [
3861
- e.error ? (y(), j("div", Cl, [
3866
+ default: b(() => [
3867
+ e.error ? (h(), j("div", Cl, [
3862
3868
  I(d, { appearance: "danger" }, {
3863
- default: v(() => [
3864
- V(K(e.error), 1)
3869
+ default: b(() => [
3870
+ V(q(e.error), 1)
3865
3871
  ]),
3866
3872
  _: 1
3867
3873
  })
@@ -3871,22 +3877,22 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3871
3877
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3872
3878
  tag: "p"
3873
3879
  }, Oe({
3874
- entityType: v(() => [
3875
- V(K(r.entityType), 1)
3880
+ entityType: b(() => [
3881
+ V(q(r.entityType), 1)
3876
3882
  ]),
3877
3883
  _: 2
3878
3884
  }, [
3879
3885
  r.entityName ? {
3880
3886
  name: "entityName",
3881
- fn: v(() => [
3882
- B("strong", null, K(r.entityName), 1)
3887
+ fn: b(() => [
3888
+ B("strong", null, q(r.entityName), 1)
3883
3889
  ]),
3884
3890
  key: "0"
3885
3891
  } : void 0
3886
3892
  ]), 1032, ["keypath"]),
3887
- r.description || s.$slots.description ? (y(), j("div", wl, [
3893
+ r.description || s.$slots.description ? (h(), j("div", wl, [
3888
3894
  Y(s.$slots, "description", {}, () => [
3889
- B("p", null, K(r.description), 1)
3895
+ B("p", null, q(r.description), 1)
3890
3896
  ], !0)
3891
3897
  ])) : z("", !0)
3892
3898
  ]),
@@ -3894,7 +3900,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3894
3900
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3895
3901
  };
3896
3902
  }
3897
- }), Al = /* @__PURE__ */ ce(Sl, [["__scopeId", "data-v-4361d622"]]), xl = {
3903
+ }), xl = /* @__PURE__ */ ce(Sl, [["__scopeId", "data-v-4361d622"]]), Al = {
3898
3904
  fill: "none",
3899
3905
  height: "20",
3900
3906
  viewBox: "0 0 20 20",
@@ -3913,11 +3919,11 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3913
3919
  props: {
3914
3920
  color: {
3915
3921
  type: String,
3916
- default: `var(--kong-ui-entity-filter-color, ${Ra})`
3922
+ default: `var(--kong-ui-entity-filter-color, ${Ua})`
3917
3923
  }
3918
3924
  },
3919
3925
  setup(e) {
3920
- return (t, n) => (y(), j("svg", xl, [
3926
+ return (t, n) => (h(), j("svg", Al, [
3921
3927
  B("mask", Il, [
3922
3928
  B("rect", {
3923
3929
  fill: e.color,
@@ -3936,7 +3942,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3936
3942
  }), Ol = {
3937
3943
  key: 1,
3938
3944
  class: "kong-ui-entity-filter"
3939
- }, $l = { class: "kong-ui-entity-filter-menu" }, Ml = ["data-testid"], Nl = ["onClick", "onKeydown"], El = { class: "menu-item-indicator" }, Fl = { class: "menu-item-body" }, Kl = ["for"], ql = { class: "menu-item-buttons" }, Ll = { class: "filter-clear-button-container" }, Bl = /* @__PURE__ */ W({
3945
+ }, $l = { class: "kong-ui-entity-filter-menu" }, Ml = ["data-testid"], Nl = ["onClick", "onKeydown"], El = { class: "menu-item-indicator" }, Fl = { class: "menu-item-body" }, ql = ["for"], Kl = { class: "menu-item-buttons" }, Ll = { class: "filter-clear-button-container" }, Bl = /* @__PURE__ */ W({
3940
3946
  __name: "EntityFilter",
3941
3947
  props: {
3942
3948
  // filter config, either exact match or fuzzy match
@@ -3956,12 +3962,12 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3956
3962
  },
3957
3963
  emits: ["update:modelValue"],
3958
3964
  setup(e, { emit: t }) {
3959
- const { i18n: { t: n } } = X.useI18n(), r = e, a = t, o = N(!1), i = N({}), l = N(/* @__PURE__ */ new Set()), s = x(() => {
3965
+ const { i18n: { t: n } } = X.useI18n(), r = e, a = t, o = N(!1), i = N({}), l = N(/* @__PURE__ */ new Set()), s = A(() => {
3960
3966
  const g = [];
3961
3967
  return new URLSearchParams(r.modelValue).forEach((f, p) => {
3962
3968
  f !== "" && g.push(p);
3963
3969
  }), g;
3964
- }), c = x(() => {
3970
+ }), u = A(() => {
3965
3971
  const g = r.config.fields;
3966
3972
  return Object.keys(g).filter((f) => g[f].searchable).map((f) => ({
3967
3973
  label: g[f].label || f,
@@ -3969,26 +3975,26 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
3969
3975
  expanded: !1
3970
3976
  }));
3971
3977
  });
3972
- Ae(() => r.modelValue, (g) => {
3978
+ xe(() => r.modelValue, (g) => {
3973
3979
  i.value = {}, new URLSearchParams(g).forEach((f, p) => {
3974
3980
  i.value[p] = f;
3975
3981
  });
3976
3982
  });
3977
3983
  const d = () => {
3978
3984
  o.value = !o.value;
3979
- }, u = (g) => {
3985
+ }, c = (g) => {
3980
3986
  l.value.has(g) ? l.value.delete(g) : l.value.add(g);
3981
- }, h = (g) => {
3987
+ }, m = (g) => {
3982
3988
  a("update:modelValue", g);
3983
- }, m = () => {
3984
- h("");
3985
- }, w = (g) => `filter-${g}`, b = (g) => {
3989
+ }, y = () => {
3990
+ m("");
3991
+ }, C = (g) => `filter-${g}`, v = (g) => {
3986
3992
  var f, p;
3987
3993
  return (((p = (f = r.config.schema) == null ? void 0 : f[g]) == null ? void 0 : p.values) ?? []).map((M) => ({
3988
3994
  value: M,
3989
3995
  label: M
3990
3996
  }));
3991
- }, C = (g) => {
3997
+ }, w = (g) => {
3992
3998
  var f, p;
3993
3999
  return ((p = (f = r.config.schema) == null ? void 0 : f[g]) == null ? void 0 : p.type) ?? "text";
3994
4000
  }, L = (g) => {
@@ -4003,103 +4009,103 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4003
4009
  g && (o.value = !1), a("update:modelValue", new URLSearchParams(f).toString());
4004
4010
  };
4005
4011
  return (g, f) => {
4006
- const p = q("KInput"), M = q("KButton"), F = q("KSelect");
4007
- return e.config.isExactMatch ? (y(), R(p, {
4012
+ const p = K("KInput"), M = K("KButton"), F = K("KSelect");
4013
+ return e.config.isExactMatch ? (h(), U(p, {
4008
4014
  key: 0,
4009
4015
  autocomplete: "off",
4010
4016
  class: "kong-ui-entity-filter-input",
4011
4017
  "data-testid": "search-input",
4012
4018
  "model-value": e.modelValue,
4013
4019
  placeholder: e.config.placeholder,
4014
- "onUpdate:modelValue": h
4020
+ "onUpdate:modelValue": m
4015
4021
  }, {
4016
- before: v(() => [
4022
+ before: b(() => [
4017
4023
  I(Jt)
4018
4024
  ]),
4019
- after: v(() => [
4020
- me(I(k(al), {
4025
+ after: b(() => [
4026
+ ye(I(k(al), {
4021
4027
  class: "kong-ui-entity-filter-clear",
4022
- onClick: m
4028
+ onClick: y
4023
4029
  }, null, 512), [
4024
- [ye, e.modelValue !== ""]
4030
+ [me, e.modelValue !== ""]
4025
4031
  ])
4026
4032
  ]),
4027
4033
  _: 1
4028
- }, 8, ["model-value", "placeholder"])) : (y(), j("div", Ol, [
4034
+ }, 8, ["model-value", "placeholder"])) : (h(), j("div", Ol, [
4029
4035
  I(M, {
4030
4036
  appearance: "tertiary",
4031
4037
  "data-testid": "filter-button",
4032
4038
  onClick: d
4033
4039
  }, {
4034
- default: v(() => [
4040
+ default: b(() => [
4035
4041
  I(Jt),
4036
- V(" " + K(k(n)("filter.filterButtonText")) + " " + K(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4042
+ V(" " + q(k(n)("filter.filterButtonText")) + " " + q(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4037
4043
  ]),
4038
4044
  _: 1
4039
4045
  }),
4040
- me(B("div", {
4046
+ ye(B("div", {
4041
4047
  class: "kong-ui-entity-filter-backdrop",
4042
4048
  onClick: d
4043
4049
  }, null, 512), [
4044
- [ye, o.value]
4050
+ [me, o.value]
4045
4051
  ]),
4046
- me(B("div", $l, [
4047
- (y(!0), j(de, null, se(c.value, (A) => {
4048
- var U, O;
4049
- return y(), j("div", {
4050
- key: A.value,
4052
+ ye(B("div", $l, [
4053
+ (h(!0), j(de, null, se(u.value, (x) => {
4054
+ var R, O;
4055
+ return h(), j("div", {
4056
+ key: x.value,
4051
4057
  class: "kong-ui-entity-filter-menu-item",
4052
- "data-testid": A.value
4058
+ "data-testid": x.value
4053
4059
  }, [
4054
4060
  B("span", {
4055
- class: ve(["menu-item-title", { expanded: l.value.has(A.value) }]),
4061
+ class: ve(["menu-item-title", { expanded: l.value.has(x.value) }]),
4056
4062
  role: "button",
4057
4063
  tabindex: "0",
4058
- onClick: (T) => u(A.value),
4059
- onKeydown: Qn((T) => u(A.value), ["enter"])
4064
+ onClick: (T) => c(x.value),
4065
+ onKeydown: Qn((T) => c(x.value), ["enter"])
4060
4066
  }, [
4061
- V(K(A.label) + " ", 1),
4062
- me(B("span", El, null, 512), [
4063
- [ye, s.value.includes(A.value)]
4067
+ V(q(x.label) + " ", 1),
4068
+ ye(B("span", El, null, 512), [
4069
+ [me, s.value.includes(x.value)]
4064
4070
  ]),
4065
4071
  I(k(Go), {
4066
- class: ve(["menu-item-expand-icon", { expanded: l.value.has(A.value) }]),
4072
+ class: ve(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
4067
4073
  color: k(Va)
4068
4074
  }, null, 8, ["class", "color"])
4069
4075
  ], 42, Nl),
4070
- me(B("div", Fl, [
4076
+ ye(B("div", Fl, [
4071
4077
  B("label", {
4072
4078
  class: "menu-item-label",
4073
- for: w(A.value)
4074
- }, K(k(n)("filter.fieldLabel")), 9, Kl),
4075
- ((O = (U = e.config.schema) == null ? void 0 : U[A.value]) == null ? void 0 : O.type) === "select" ? (y(), R(F, {
4079
+ for: C(x.value)
4080
+ }, q(k(n)("filter.fieldLabel")), 9, ql),
4081
+ ((O = (R = e.config.schema) == null ? void 0 : R[x.value]) == null ? void 0 : O.type) === "select" ? (h(), U(F, {
4076
4082
  key: 0,
4077
- id: w(A.value),
4078
- modelValue: i.value[A.value],
4079
- "onUpdate:modelValue": (T) => i.value[A.value] = T,
4080
- items: b(A.value),
4083
+ id: C(x.value),
4084
+ modelValue: i.value[x.value],
4085
+ "onUpdate:modelValue": (T) => i.value[x.value] = T,
4086
+ items: v(x.value),
4081
4087
  placeholder: k(n)("filter.selectPlaceholder")
4082
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), R(p, {
4088
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (h(), U(p, {
4083
4089
  key: 1,
4084
- id: w(A.value),
4085
- modelValue: i.value[A.value],
4086
- "onUpdate:modelValue": (T) => i.value[A.value] = T,
4090
+ id: C(x.value),
4091
+ modelValue: i.value[x.value],
4092
+ "onUpdate:modelValue": (T) => i.value[x.value] = T,
4087
4093
  autocomplete: "off",
4088
4094
  placeholder: k(n)("filter.inputPlaceholder"),
4089
- type: C(A.value)
4095
+ type: w(x.value)
4090
4096
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4091
4097
  ], 512), [
4092
- [ye, l.value.has(A.value)]
4098
+ [me, l.value.has(x.value)]
4093
4099
  ]),
4094
- me(B("div", ql, [
4100
+ ye(B("div", Kl, [
4095
4101
  I(M, {
4096
4102
  appearance: "tertiary",
4097
4103
  "data-testid": "apply-filter",
4098
4104
  size: "small",
4099
4105
  onClick: f[0] || (f[0] = (T) => E(!0))
4100
4106
  }, {
4101
- default: v(() => [
4102
- V(K(k(n)("filter.applyButtonText")), 1)
4107
+ default: b(() => [
4108
+ V(q(k(n)("filter.applyButtonText")), 1)
4103
4109
  ]),
4104
4110
  _: 1
4105
4111
  }),
@@ -4107,15 +4113,15 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4107
4113
  appearance: "tertiary",
4108
4114
  "data-testid": "clear-filter",
4109
4115
  size: "small",
4110
- onClick: (T) => L(A.value)
4116
+ onClick: (T) => L(x.value)
4111
4117
  }, {
4112
- default: v(() => [
4113
- V(K(k(n)("filter.clearButtonText")), 1)
4118
+ default: b(() => [
4119
+ V(q(k(n)("filter.clearButtonText")), 1)
4114
4120
  ]),
4115
4121
  _: 2
4116
4122
  }, 1032, ["onClick"])
4117
4123
  ], 512), [
4118
- [ye, l.value.has(A.value)]
4124
+ [me, l.value.has(x.value)]
4119
4125
  ])
4120
4126
  ], 8, Ml);
4121
4127
  }), 128)),
@@ -4125,19 +4131,19 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4125
4131
  size: "small",
4126
4132
  onClick: _
4127
4133
  }, {
4128
- default: v(() => [
4129
- V(K(k(n)("filter.clearAllButtonText")), 1)
4134
+ default: b(() => [
4135
+ V(q(k(n)("filter.clearAllButtonText")), 1)
4130
4136
  ]),
4131
4137
  _: 1
4132
4138
  })
4133
4139
  ])
4134
4140
  ], 512), [
4135
- [ye, o.value]
4141
+ [me, o.value]
4136
4142
  ])
4137
4143
  ]));
4138
4144
  };
4139
4145
  }
4140
- }), Ul = /* @__PURE__ */ ce(Bl, [["__scopeId", "data-v-8cfadde3"]]), Be = /* @__PURE__ */ W({
4146
+ }), Rl = /* @__PURE__ */ ce(Bl, [["__scopeId", "data-v-8cfadde3"]]), Be = /* @__PURE__ */ W({
4141
4147
  __name: "PermissionsWrapper",
4142
4148
  props: {
4143
4149
  /**
@@ -4159,15 +4165,15 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4159
4165
  }
4160
4166
  },
4161
4167
  setup(e) {
4162
- const t = e, n = N(void 0), r = x(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4163
- return Ae(() => t.authFunction, async () => {
4168
+ const t = e, n = N(void 0), r = A(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4169
+ return xe(() => t.authFunction, async () => {
4164
4170
  n.value = await t.authFunction();
4165
4171
  }, { immediate: !0 }), (a, o) => r.value ? Y(a.$slots, "default", {
4166
4172
  key: 0,
4167
4173
  isAllowed: n.value
4168
4174
  }) : z("", !0);
4169
4175
  }
4170
- }), Rl = { class: "form-section-wrapper" }, Pl = {
4176
+ }), Ul = { class: "form-section-wrapper" }, Pl = {
4171
4177
  key: 0,
4172
4178
  class: "form-section-title"
4173
4179
  }, Dl = {
@@ -4202,21 +4208,21 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4202
4208
  },
4203
4209
  setup(e) {
4204
4210
  const t = ut();
4205
- return (n, r) => (y(), j("fieldset", {
4211
+ return (n, r) => (h(), j("fieldset", {
4206
4212
  class: ve(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4207
4213
  }, [
4208
- B("div", Rl, [
4209
- e.hideInfoHeader ? z("", !0) : (y(), j("div", {
4214
+ B("div", Ul, [
4215
+ e.hideInfoHeader ? z("", !0) : (h(), j("div", {
4210
4216
  key: 0,
4211
4217
  class: ve(["form-section-info", { sticky: e.stickyInfoHeader }])
4212
4218
  }, [
4213
- e.title ? (y(), j("h4", Pl, K(e.title), 1)) : z("", !0),
4214
- e.description || k(t).description ? (y(), j("div", Dl, [
4219
+ e.title ? (h(), j("h4", Pl, q(e.title), 1)) : z("", !0),
4220
+ e.description || k(t).description ? (h(), j("div", Dl, [
4215
4221
  Y(n.$slots, "description", {}, () => [
4216
- B("p", null, K(e.description), 1)
4222
+ B("p", null, q(e.description), 1)
4217
4223
  ], !0)
4218
4224
  ])) : z("", !0),
4219
- k(t).footer ? (y(), j("div", Vl, [
4225
+ k(t).footer ? (h(), j("div", Vl, [
4220
4226
  Y(n.$slots, "footer", {}, void 0, !0)
4221
4227
  ])) : z("", !0)
4222
4228
  ], 2)),
@@ -4275,29 +4281,29 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4275
4281
  var wt;
4276
4282
  const n = t, r = e, { i18n: { t: a } } = pt.useI18n(), o = dt(), { axiosInstance: i } = Wn({
4277
4283
  headers: (wt = r.config) == null ? void 0 : wt.requestHeaders
4278
- }), l = N(1), s = x(() => r.config.app !== "kongManager" || !!r.config.disableSorting), c = {
4284
+ }), l = N(1), s = A(() => r.config.app !== "kongManager" || !!r.config.disableSorting), u = {
4279
4285
  name: { label: a("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4280
4286
  tags: { label: a("keySets.list.table_headers.tags") },
4281
4287
  id: { label: a("keySets.list.table_headers.id"), sortable: !0 }
4282
- }, d = c, u = x(() => {
4288
+ }, d = u, c = A(() => {
4283
4289
  var D, ee;
4284
- let $ = `${r.config.apiBaseUrl}${Ue.list[r.config.app]}`;
4290
+ let $ = `${r.config.apiBaseUrl}${Re.list[r.config.app]}`;
4285
4291
  return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((D = r.config) == null ? void 0 : D.controlPlaneId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (ee = r.config) != null && ee.workspace ? `/${r.config.workspace}` : "")), $;
4286
- }), h = N(""), m = x(() => {
4292
+ }), m = N(""), y = A(() => {
4287
4293
  const $ = r.config.app === "konnect" || r.config.isExactMatch;
4288
4294
  if ($)
4289
4295
  return {
4290
4296
  isExactMatch: $,
4291
4297
  placeholder: a("keySets.search.placeholder")
4292
4298
  };
4293
- const D = { name: c.name };
4299
+ const D = { name: u.name };
4294
4300
  return {
4295
4301
  isExactMatch: $,
4296
4302
  fields: D,
4297
4303
  schema: r.config.filterSchema
4298
4304
  };
4299
- }), { fetcher: w, fetcherState: b } = Zl(r.config, u.value), C = () => {
4300
- h.value = "";
4305
+ }), { fetcher: C, fetcherState: v } = Zl(r.config, c.value), w = () => {
4306
+ m.value = "";
4301
4307
  }, L = () => {
4302
4308
  l.value++;
4303
4309
  }, _ = N(null), E = ($, D) => {
@@ -4338,19 +4344,19 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4338
4344
  }, F = ($) => ({
4339
4345
  label: a("keySets.actions.view"),
4340
4346
  to: r.config.getViewRoute($)
4341
- }), A = ($) => ({
4347
+ }), x = ($) => ({
4342
4348
  label: a("keySets.actions.edit"),
4343
4349
  to: r.config.getEditRoute($)
4344
- }), U = N(void 0), O = N(!1), T = N(!1), P = N(""), H = Wl(r.config, u.value), ie = ($) => {
4345
- U.value = $, O.value = !0;
4350
+ }), R = N(void 0), O = N(!1), T = N(!1), P = N(""), H = Wl(r.config, c.value), ie = ($) => {
4351
+ R.value = $, O.value = !0;
4346
4352
  }, oe = () => {
4347
4353
  O.value = !1;
4348
4354
  }, ue = async () => {
4349
4355
  var $, D, ee;
4350
- if (($ = U.value) != null && $.id) {
4356
+ if (($ = R.value) != null && $.id) {
4351
4357
  T.value = !0;
4352
4358
  try {
4353
- await i.delete(H(U.value.id)), T.value = !1, O.value = !1, l.value++, n("delete:success", U.value);
4359
+ await i.delete(H(R.value.id)), T.value = !1, O.value = !1, l.value++, n("delete:success", R.value);
4354
4360
  } catch (ge) {
4355
4361
  P.value = ((ee = (D = ge.response) == null ? void 0 : D.data) == null ? void 0 : ee.message) || ge.message || a("keySets.errors.delete"), n("error", ge);
4356
4362
  } finally {
@@ -4358,7 +4364,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4358
4364
  }
4359
4365
  }
4360
4366
  }, Ct = N(!0);
4361
- Ae(b, ($) => {
4367
+ xe(v, ($) => {
4362
4368
  var D, ee, ge, Le;
4363
4369
  if (Array.isArray((D = $ == null ? void 0 : $.response) == null ? void 0 : D.data) && (Ct.value = $.response.data.length > 0), $.status === we.Error) {
4364
4370
  _.value = {
@@ -4377,8 +4383,8 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4377
4383
  return ct(async () => {
4378
4384
  await r.canCreate() && (Ge.value.title = a("keySets.list.empty_state.title"), Ge.value.ctaText = a("keySets.actions.create"));
4379
4385
  }), ($, D) => {
4380
- const ee = q("KButton"), ge = q("KBadge"), Le = q("KTruncate"), Zn = q("KCopy"), Me = q("KDropdownItem"), St = q("KClipboardProvider");
4381
- return y(), j("div", Gl, [
4386
+ const ee = K("KButton"), ge = K("KBadge"), Le = K("KTruncate"), Zn = K("KCopy"), Me = K("KDropdownItem"), St = K("KClipboardProvider");
4387
+ return h(), j("div", Gl, [
4382
4388
  I(k(kl), {
4383
4389
  "cache-identifier": e.cacheIdentifier,
4384
4390
  "disable-pagination-page-jump": "",
@@ -4386,46 +4392,46 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4386
4392
  "empty-state-options": Ge.value,
4387
4393
  "enable-entity-actions": "",
4388
4394
  "error-message": _.value,
4389
- fetcher: k(w),
4395
+ fetcher: k(C),
4390
4396
  "fetcher-cache-key": l.value,
4391
4397
  "pagination-type": "offset",
4392
4398
  "preferences-storage-key": "kong-ui-entities-key-sets-list",
4393
- query: h.value,
4399
+ query: m.value,
4394
4400
  "table-headers": k(d),
4395
4401
  "use-action-outside": e.useActionOutside,
4396
- onClearSearchInput: C,
4402
+ onClearSearchInput: w,
4397
4403
  "onClick:row": D[2] || (D[2] = (Z) => M(Z)),
4398
4404
  onSort: L
4399
4405
  }, {
4400
- "toolbar-filter": v(() => [
4401
- I(k(Ul), {
4402
- modelValue: h.value,
4403
- "onUpdate:modelValue": D[0] || (D[0] = (Z) => h.value = Z),
4404
- config: m.value
4406
+ "toolbar-filter": b(() => [
4407
+ I(k(Rl), {
4408
+ modelValue: m.value,
4409
+ "onUpdate:modelValue": D[0] || (D[0] = (Z) => m.value = Z),
4410
+ config: y.value
4405
4411
  }, null, 8, ["modelValue", "config"])
4406
4412
  ]),
4407
- "toolbar-button": v(() => [
4408
- (y(), R(xe(e.useActionOutside ? "Teleport" : "div"), {
4413
+ "toolbar-button": b(() => [
4414
+ (h(), U(Ae(e.useActionOutside ? "Teleport" : "div"), {
4409
4415
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4410
4416
  }, {
4411
- default: v(() => [
4417
+ default: b(() => [
4412
4418
  I(k(Be), {
4413
4419
  "auth-function": () => e.canCreate()
4414
4420
  }, {
4415
- default: v(() => [
4416
- me(I(ee, {
4421
+ default: b(() => [
4422
+ ye(I(ee, {
4417
4423
  appearance: "primary",
4418
4424
  "data-testid": "toolbar-add-key-set",
4419
4425
  icon: "plus",
4420
4426
  size: "large",
4421
4427
  to: e.config.createRoute
4422
4428
  }, {
4423
- default: v(() => [
4424
- V(K(k(a)("keySets.list.toolbar_actions.new_key_set")), 1)
4429
+ default: b(() => [
4430
+ V(q(k(a)("keySets.list.toolbar_actions.new_key_set")), 1)
4425
4431
  ]),
4426
4432
  _: 1
4427
4433
  }, 8, ["to"]), [
4428
- [ye, Ct.value]
4434
+ [me, Ct.value]
4429
4435
  ])
4430
4436
  ]),
4431
4437
  _: 1
@@ -4434,41 +4440,41 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4434
4440
  _: 1
4435
4441
  }, 8, ["to"]))
4436
4442
  ]),
4437
- name: v(({ rowValue: Z }) => [
4438
- B("b", null, K(Z ?? "-"), 1)
4443
+ name: b(({ rowValue: Z }) => [
4444
+ B("b", null, q(Z ?? "-"), 1)
4439
4445
  ]),
4440
- tags: v(({ rowValue: Z }) => [
4441
- (Z == null ? void 0 : Z.length) > 0 ? (y(), R(Le, { key: 0 }, {
4442
- default: v(() => [
4443
- (y(!0), j(de, null, se(Z, (Ce) => (y(), R(ge, {
4446
+ tags: b(({ rowValue: Z }) => [
4447
+ (Z == null ? void 0 : Z.length) > 0 ? (h(), U(Le, { key: 0 }, {
4448
+ default: b(() => [
4449
+ (h(!0), j(de, null, se(Z, (Ce) => (h(), U(ge, {
4444
4450
  key: Ce,
4445
4451
  onClick: D[1] || (D[1] = nt(() => {
4446
4452
  }, ["stop"]))
4447
4453
  }, {
4448
- default: v(() => [
4449
- V(K(Ce), 1)
4454
+ default: b(() => [
4455
+ V(q(Ce), 1)
4450
4456
  ]),
4451
4457
  _: 2
4452
4458
  }, 1024))), 128))
4453
4459
  ]),
4454
4460
  _: 2
4455
- }, 1024)) : (y(), j("span", Ql, "-"))
4461
+ }, 1024)) : (h(), j("span", Ql, "-"))
4456
4462
  ]),
4457
- id: v(({ rowValue: Z }) => [
4463
+ id: b(({ rowValue: Z }) => [
4458
4464
  I(Zn, {
4459
4465
  text: Z,
4460
4466
  truncate: ""
4461
4467
  }, null, 8, ["text"])
4462
4468
  ]),
4463
- actions: v(({ row: Z }) => [
4469
+ actions: b(({ row: Z }) => [
4464
4470
  I(St, null, {
4465
- default: v(({ copyToClipboard: Ce }) => [
4471
+ default: b(({ copyToClipboard: Ce }) => [
4466
4472
  I(Me, {
4467
4473
  "data-testid": "action-entity-copy-id",
4468
4474
  onClick: (Gn) => E(Z, Ce)
4469
4475
  }, {
4470
- default: v(() => [
4471
- V(K(k(a)("keySets.actions.copy_id")), 1)
4476
+ default: b(() => [
4477
+ V(q(k(a)("keySets.actions.copy_id")), 1)
4472
4478
  ]),
4473
4479
  _: 2
4474
4480
  }, 1032, ["onClick"])
@@ -4476,13 +4482,13 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4476
4482
  _: 2
4477
4483
  }, 1024),
4478
4484
  I(St, null, {
4479
- default: v(({ copyToClipboard: Ce }) => [
4485
+ default: b(({ copyToClipboard: Ce }) => [
4480
4486
  I(Me, {
4481
4487
  "data-testid": "action-entity-copy-json",
4482
4488
  onClick: (Gn) => g(Z, Ce)
4483
4489
  }, {
4484
- default: v(() => [
4485
- V(K(k(a)("keySets.actions.copy_json")), 1)
4490
+ default: b(() => [
4491
+ V(q(k(a)("keySets.actions.copy_json")), 1)
4486
4492
  ]),
4487
4493
  _: 2
4488
4494
  }, 1032, ["onClick"])
@@ -4492,7 +4498,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4492
4498
  I(k(Be), {
4493
4499
  "auth-function": () => e.canRetrieve(Z)
4494
4500
  }, {
4495
- default: v(() => [
4501
+ default: b(() => [
4496
4502
  I(Me, {
4497
4503
  "data-testid": "action-entity-view",
4498
4504
  "has-divider": "",
@@ -4504,10 +4510,10 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4504
4510
  I(k(Be), {
4505
4511
  "auth-function": () => e.canEdit(Z)
4506
4512
  }, {
4507
- default: v(() => [
4513
+ default: b(() => [
4508
4514
  I(Me, {
4509
4515
  "data-testid": "action-entity-edit",
4510
- item: A(Z.id)
4516
+ item: x(Z.id)
4511
4517
  }, null, 8, ["item"])
4512
4518
  ]),
4513
4519
  _: 2
@@ -4515,15 +4521,15 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4515
4521
  I(k(Be), {
4516
4522
  "auth-function": () => e.canDelete(Z)
4517
4523
  }, {
4518
- default: v(() => [
4524
+ default: b(() => [
4519
4525
  I(Me, {
4520
4526
  danger: "",
4521
4527
  "data-testid": "action-entity-delete",
4522
4528
  "has-divider": "",
4523
4529
  onClick: (Ce) => ie(Z)
4524
4530
  }, {
4525
- default: v(() => [
4526
- V(K(k(a)("keySets.actions.delete")), 1)
4531
+ default: b(() => [
4532
+ V(q(k(a)("keySets.actions.delete")), 1)
4527
4533
  ]),
4528
4534
  _: 2
4529
4535
  }, 1032, ["onClick"])
@@ -4533,10 +4539,10 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4533
4539
  ]),
4534
4540
  _: 1
4535
4541
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4536
- I(k(Al), {
4542
+ I(k(xl), {
4537
4543
  "action-pending": T.value,
4538
4544
  description: k(a)("keySets.delete.description"),
4539
- "entity-name": U.value && (U.value.name || U.value.id),
4545
+ "entity-name": R.value && (R.value.name || R.value.id),
4540
4546
  "entity-type": k(Gt).KeySet,
4541
4547
  error: P.value,
4542
4548
  title: k(a)("keySets.delete.title"),
@@ -4552,7 +4558,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4552
4558
  for (const [r, a] of t)
4553
4559
  n[r] = a;
4554
4560
  return n;
4555
- }, ms = /* @__PURE__ */ Yn(Xl, [["__scopeId", "data-v-949b46c8"]]), es = { class: "kong-ui-entities-key-sets-form" }, ts = /* @__PURE__ */ W({
4561
+ }, ys = /* @__PURE__ */ Yn(Xl, [["__scopeId", "data-v-949b46c8"]]), es = { class: "kong-ui-entities-key-sets-form" }, ts = /* @__PURE__ */ W({
4556
4562
  __name: "KeySetForm",
4557
4563
  props: {
4558
4564
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4573,26 +4579,26 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4573
4579
  var _;
4574
4580
  const n = t, r = e, a = dt(), { i18n: { t: o } } = pt.useI18n(), { getMessageFromError: i } = Yl(), { axiosInstance: l } = Wn({
4575
4581
  headers: (_ = r.config) == null ? void 0 : _.requestHeaders
4576
- }), s = x(() => Ue.form[r.config.app].edit), c = x(() => r.keySetId ? at.Edit : at.Create), d = At({
4582
+ }), s = A(() => Re.form[r.config.app].edit), u = A(() => r.keySetId ? at.Edit : at.Create), d = xt({
4577
4583
  fields: {
4578
4584
  name: "",
4579
4585
  tags: ""
4580
4586
  },
4581
4587
  isReadonly: !1,
4582
4588
  errorMessage: ""
4583
- }), u = At({
4589
+ }), c = xt({
4584
4590
  name: "",
4585
4591
  tags: ""
4586
- }), h = x(() => JSON.stringify(d.fields) !== JSON.stringify(u) && !!d.fields.name), m = (E) => {
4592
+ }), m = A(() => JSON.stringify(d.fields) !== JSON.stringify(c) && !!d.fields.name), y = (E) => {
4587
4593
  var g;
4588
- d.fields.name = (E == null ? void 0 : E.name) || "", d.fields.tags = ((g = E == null ? void 0 : E.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields);
4589
- }, w = () => {
4594
+ d.fields.name = (E == null ? void 0 : E.name) || "", d.fields.tags = ((g = E == null ? void 0 : E.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(c, d.fields);
4595
+ }, C = () => {
4590
4596
  a.push(r.config.cancelRoute);
4591
- }, b = x(() => {
4597
+ }, v = A(() => {
4592
4598
  var g, f;
4593
- let E = `${r.config.apiBaseUrl}${Ue.form[r.config.app][c.value]}`;
4599
+ let E = `${r.config.apiBaseUrl}${Re.form[r.config.app][u.value]}`;
4594
4600
  return r.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (f = r.config) != null && f.workspace ? `/${r.config.workspace}` : "")), E = E.replace(/{id}/gi, r.keySetId), E;
4595
- }), C = x(() => {
4601
+ }), w = A(() => {
4596
4602
  var E, g, f;
4597
4603
  return {
4598
4604
  name: d.fields.name,
@@ -4603,9 +4609,9 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4603
4609
  try {
4604
4610
  d.isReadonly = !0;
4605
4611
  let f;
4606
- if (c.value === "create" ? f = await l.post(b.value, C.value) : c.value === "edit" && (f = ((E = r.config) == null ? void 0 : E.app) === "konnect" ? await l.put(b.value, C.value) : await l.patch(b.value, C.value)), f) {
4612
+ if (u.value === "create" ? f = await l.post(v.value, w.value) : u.value === "edit" && (f = ((E = r.config) == null ? void 0 : E.app) === "konnect" ? await l.put(v.value, w.value) : await l.patch(v.value, w.value)), f) {
4607
4613
  const { data: p } = f;
4608
- d.fields.name = (p == null ? void 0 : p.name) || "", d.fields.tags = ((g = p == null ? void 0 : p.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields), n("update", f == null ? void 0 : f.data);
4614
+ d.fields.name = (p == null ? void 0 : p.name) || "", d.fields.tags = ((g = p == null ? void 0 : p.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(c, d.fields), n("update", f == null ? void 0 : f.data);
4609
4615
  }
4610
4616
  } catch (f) {
4611
4617
  d.errorMessage = i(f), n("error", f);
@@ -4614,29 +4620,29 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4614
4620
  }
4615
4621
  };
4616
4622
  return (E, g) => {
4617
- const f = q("KInput");
4618
- return y(), j("div", es, [
4623
+ const f = K("KInput");
4624
+ return h(), j("div", es, [
4619
4625
  I(k(pl), {
4620
- "can-submit": h.value,
4626
+ "can-submit": m.value,
4621
4627
  config: e.config,
4622
4628
  "edit-id": e.keySetId,
4623
4629
  "error-message": d.errorMessage,
4624
4630
  "fetch-url": s.value,
4625
- "form-fields": C.value,
4631
+ "form-fields": w.value,
4626
4632
  "is-readonly": d.isReadonly,
4627
- onCancel: w,
4633
+ onCancel: C,
4628
4634
  "onFetch:error": g[2] || (g[2] = (p) => E.$emit("error", p)),
4629
- "onFetch:success": m,
4635
+ "onFetch:success": y,
4630
4636
  onLoading: g[3] || (g[3] = (p) => E.$emit("loading", p)),
4631
4637
  onSubmit: L
4632
4638
  }, {
4633
- default: v(() => [
4639
+ default: b(() => [
4634
4640
  I(k(Jl), {
4635
4641
  description: k(o)("keySets.form.sections.general.description"),
4636
4642
  "has-divider": "",
4637
4643
  title: k(o)("keySets.form.sections.general.title")
4638
4644
  }, {
4639
- default: v(() => [
4645
+ default: b(() => [
4640
4646
  I(f, {
4641
4647
  modelValue: d.fields.name,
4642
4648
  "onUpdate:modelValue": g[0] || (g[0] = (p) => d.fields.name = p),
@@ -4670,7 +4676,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4670
4676
  ]);
4671
4677
  };
4672
4678
  }
4673
- }), ys = /* @__PURE__ */ Yn(ts, [["__scopeId", "data-v-9e736908"]]), ns = { class: "kong-ui-entities-keys-entity-config-card" }, hs = /* @__PURE__ */ W({
4679
+ }), ms = /* @__PURE__ */ Yn(ts, [["__scopeId", "data-v-9e736908"]]), ns = { class: "kong-ui-entities-keys-entity-config-card" }, hs = /* @__PURE__ */ W({
4674
4680
  __name: "KeySetConfigCard",
4675
4681
  props: {
4676
4682
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4697,7 +4703,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4697
4703
  },
4698
4704
  emits: ["loading", "fetch:error", "fetch:success"],
4699
4705
  setup(e) {
4700
- const t = e, { i18n: { t: n } } = pt.useI18n(), r = x(() => Ue.form[t.config.app].edit), a = N({
4706
+ const t = e, { i18n: { t: n } } = pt.useI18n(), r = A(() => Re.form[t.config.app].edit), a = N({
4701
4707
  id: {},
4702
4708
  name: {},
4703
4709
  last_updated: {},
@@ -4706,7 +4712,7 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4706
4712
  tooltip: n("keySets.form.fields.tags.tooltip")
4707
4713
  }
4708
4714
  });
4709
- return (o, i) => (y(), j("div", ns, [
4715
+ return (o, i) => (h(), j("div", ns, [
4710
4716
  I(k(cl), {
4711
4717
  config: e.config,
4712
4718
  "config-card-doc": e.configCardDoc,
@@ -4722,6 +4728,6 @@ const jo = { class: "yaml-config" }, Jn = /* @__PURE__ */ W({
4722
4728
  });
4723
4729
  export {
4724
4730
  hs as KeySetConfigCard,
4725
- ys as KeySetForm,
4726
- ms as KeySetList
4731
+ ms as KeySetForm,
4732
+ ys as KeySetList
4727
4733
  };