@kong-ui-public/entities-shared 3.7.2 → 3.7.3-pr.1565.0bdabcc1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
- import { inject as Ln, ref as D, computed as k, unref as $, toValue as Bn, watch as Se, defineComponent as P, openBlock as m, createBlock as B, resolveDynamicComponent as se, normalizeClass as pe, withCtx as C, createElementBlock as A, createElementVNode as L, toDisplayString as F, createCommentVNode as q, Fragment as ue, renderList as le, resolveComponent as j, createVNode as M, createTextVNode as V, useCssVars as Lt, useSlots as tt, renderSlot as z, createSlots as we, normalizeProps as Rn, guardReactiveProps as Mn, mergeProps as Kn, normalizeStyle as $e, pushScopeId as Ie, popScopeId as Te, onBeforeMount as Bt, withModifiers as Ge, onMounted as Dn, onUnmounted as jn, withDirectives as ge, vShow as ye, withKeys as qn, Teleport as Un } from "vue";
2
- import ut from "axios";
1
+ import { inject as Ln, ref as D, computed as _, unref as $, toValue as Bn, watch as Se, defineComponent as P, openBlock as m, createBlock as B, resolveDynamicComponent as se, normalizeClass as pe, withCtx as C, createElementBlock as A, createElementVNode as L, toDisplayString as F, createCommentVNode as q, Fragment as ue, renderList as le, resolveComponent as j, createVNode as M, createTextVNode as V, useCssVars as Bt, useSlots as tt, renderSlot as z, createSlots as we, normalizeProps as Rn, guardReactiveProps as Mn, mergeProps as Kn, normalizeStyle as $e, pushScopeId as Ie, popScopeId as Te, onBeforeMount as Rt, withModifiers as Ge, onMounted as Dn, onUnmounted as jn, withDirectives as ge, vShow as ye, withKeys as qn, Teleport as Un } from "vue";
2
+ import dt from "axios";
3
3
  import { createI18n as Pn, i18nTComponent as Hn } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as Vn } from "@kong/kongponents";
5
5
  import { useRouter as zn } from "vue-router";
6
- var Yn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e))(Yn || {}), Wn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Wn || {}), xe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(xe || {}), Rt = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "key_set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e))(Rt || {});
7
- const Ue = Object.values(Rt);
6
+ var Yn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e))(Yn || {}), Wn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Wn || {}), xe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(xe || {}), nt = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Other = "other", e))(nt || {});
7
+ const Ue = Object.values(nt);
8
8
  var H = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(H || {}), ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ie || {});
9
9
  function Gn() {
10
10
  return {
11
11
  getAxiosInstance: (e = {}) => {
12
12
  try {
13
13
  const t = Ln("get-axios-instance", void 0);
14
- return typeof t == "function" ? t(e) : ut.create({
14
+ return typeof t == "function" ? t(e) : dt.create({
15
15
  withCredentials: !0,
16
16
  timeout: 3e4,
17
17
  ...e
18
18
  });
19
19
  } catch (t) {
20
- return console.warn("getAxiosInstance:", t.message || t), ut.create({
20
+ return console.warn("getAxiosInstance:", t.message || t), dt.create({
21
21
  withCredentials: !0,
22
22
  timeout: 3e4,
23
23
  ...e
@@ -80,7 +80,7 @@ function Qn() {
80
80
  }
81
81
  };
82
82
  }
83
- function nt(e = {}) {
83
+ function rt(e = {}) {
84
84
  const { getAxiosInstance: t } = Gn();
85
85
  return {
86
86
  axiosInstance: t(e)
@@ -250,12 +250,12 @@ function ur(e, t, n, r = {
250
250
  searchKeys: ["id"]
251
251
  }) {
252
252
  n || (n = "1000");
253
- const { axiosInstance: i } = nt(e.axiosRequestConfig), { i18n: { t: o } } = Pe(), { debounce: a } = Jn(), l = a(async (N) => {
253
+ const { axiosInstance: i } = rt(e.axiosRequestConfig), { i18n: { t: o } } = Pe(), { debounce: a } = Jn(), l = a(async (N) => {
254
254
  await x(N);
255
- }, 200), c = D(!1), u = D(""), d = D(""), s = D([]), h = D([]), f = D(void 0), y = k(() => {
255
+ }, 200), c = D(!1), u = D(""), d = D(""), s = D([]), h = D([]), f = D(void 0), y = _(() => {
256
256
  const N = `${e.apiBaseUrl}${$(t)}`;
257
257
  return e.app === "konnect" ? N.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? N.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : N;
258
- }), { isValidUuid: g } = Mt(), _ = async () => {
258
+ }), { isValidUuid: g } = Mt(), k = async () => {
259
259
  try {
260
260
  c.value = !0;
261
261
  const { data: N } = await i.get(`${y.value}?size=${n}`);
@@ -319,12 +319,12 @@ function ur(e, t, n, r = {
319
319
  validationError: d,
320
320
  results: s,
321
321
  allRecords: f,
322
- loadItems: _,
322
+ loadItems: k,
323
323
  debouncedQueryChange: l
324
324
  };
325
325
  }
326
326
  function dr(e, t) {
327
- const n = $(t), r = k(
327
+ const n = $(t), r = _(
328
328
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
329
329
  );
330
330
  return r.value.search = "", (i) => `${r.value.href}/${i}`;
@@ -371,9 +371,9 @@ function pr(e) {
371
371
  }
372
372
  }
373
373
  function Kt(e, t) {
374
- const n = D($(e)), r = D($(t)), i = k(
374
+ const n = D($(e)), r = D($(t)), i = _(
375
375
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
376
- ), o = k(
376
+ ), o = _(
377
377
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
378
378
  );
379
379
  return (a) => {
@@ -389,7 +389,7 @@ function Kt(e, t) {
389
389
  };
390
390
  }
391
391
  function hr(e, t, n) {
392
- const r = $(t), { axiosInstance: i } = nt(e.axiosRequestConfig), o = Kt(e, r), a = D({
392
+ const r = $(t), { axiosInstance: i } = rt(e.axiosRequestConfig), o = Kt(e, r), a = D({
393
393
  status: xe.Idle
394
394
  });
395
395
  return { fetcher: async (c) => {
@@ -405,7 +405,7 @@ function hr(e, t, n) {
405
405
  const f = h.data, y = u && u.replace(/[^\w-_]/gi, "");
406
406
  let g;
407
407
  f[y] ? g = Array.isArray(f[y]) ? f[y] : [f[y]] : Array.isArray(f) ? g = f : g = Object.keys(f).length ? [f] : [];
408
- const _ = {
408
+ const k = {
409
409
  data: g,
410
410
  total: g.length,
411
411
  ...f.offset ? {
@@ -416,8 +416,8 @@ function hr(e, t, n) {
416
416
  };
417
417
  return a.value = {
418
418
  status: xe.Idle,
419
- response: _
420
- }, _;
419
+ response: k
420
+ }, k;
421
421
  } catch (s) {
422
422
  const h = {
423
423
  data: [],
@@ -442,22 +442,22 @@ function mr() {
442
442
  convertKeyToTitle: e
443
443
  };
444
444
  }
445
- const Dt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, dt = (e) => {
445
+ const Dt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, ft = (e) => {
446
446
  if (typeof e != "string")
447
447
  throw new TypeError("Invalid argument expected string");
448
448
  const t = e.match(Dt);
449
449
  if (!t)
450
450
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
451
451
  return t.shift(), t;
452
- }, ft = (e) => e === "*" || e === "x" || e === "X", pt = (e) => {
452
+ }, pt = (e) => e === "*" || e === "x" || e === "X", ht = (e) => {
453
453
  const t = parseInt(e, 10);
454
454
  return isNaN(t) ? e : t;
455
455
  }, gr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], yr = (e, t) => {
456
- if (ft(e) || ft(t))
456
+ if (pt(e) || pt(t))
457
457
  return 0;
458
- const [n, r] = gr(pt(e), pt(t));
458
+ const [n, r] = gr(ht(e), ht(t));
459
459
  return n > r ? 1 : n < r ? -1 : 0;
460
- }, ht = (e, t) => {
460
+ }, mt = (e, t) => {
461
461
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
462
462
  const r = yr(e[n] || "0", t[n] || "0");
463
463
  if (r !== 0)
@@ -465,9 +465,9 @@ const Dt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
465
465
  }
466
466
  return 0;
467
467
  }, vr = (e, t) => {
468
- const n = dt(e), r = dt(t), i = n.pop(), o = r.pop(), a = ht(n, r);
469
- return a !== 0 ? a : i && o ? ht(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
470
- }, mt = (e, t, n) => {
468
+ const n = ft(e), r = ft(t), i = n.pop(), o = r.pop(), a = mt(n, r);
469
+ return a !== 0 ? a : i && o ? mt(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
470
+ }, gt = (e, t, n) => {
471
471
  br(n);
472
472
  const r = vr(e, t);
473
473
  return jt[n].includes(r);
@@ -478,11 +478,11 @@ const Dt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
478
478
  "<=": [-1, 0],
479
479
  "<": [-1],
480
480
  "!=": [-1, 1]
481
- }, gt = Object.keys(jt), br = (e) => {
481
+ }, yt = Object.keys(jt), br = (e) => {
482
482
  if (typeof e != "string")
483
483
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
484
- if (gt.indexOf(e) === -1)
485
- throw new Error(`Invalid operator, expected one of ${gt.join("|")}`);
484
+ if (yt.indexOf(e) === -1)
485
+ throw new Error(`Invalid operator, expected one of ${yt.join("|")}`);
486
486
  }, xr = (e) => typeof e == "string" && /^[v\d]/.test(e) && Dt.test(e);
487
487
  function Cr(e) {
488
488
  const { gatewayInfo: t, supportedRange: n } = e;
@@ -495,24 +495,24 @@ function Cr(e) {
495
495
  if (!o)
496
496
  return !1;
497
497
  const [a, l] = o;
498
- return !(a && mt(i, a, "<") || l && mt(i, l, ">"));
498
+ return !(a && gt(i, a, "<") || l && gt(i, l, ">"));
499
499
  }
500
- function _r(e) {
500
+ function kr(e) {
501
501
  const t = D(0), n = D(0), r = D(!1);
502
502
  return Se(e, (o) => {
503
503
  o && !r.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, r.value = !0);
504
504
  }), {
505
- isTruncated: k(() => t.value < n.value)
505
+ isTruncated: _(() => t.value < n.value)
506
506
  };
507
507
  }
508
- function kr() {
508
+ function _r() {
509
509
  const { i18n: { t: e } } = Pe();
510
510
  return {
511
511
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
512
512
  };
513
513
  }
514
514
  const Y = {
515
- useAxios: nt,
515
+ useAxios: rt,
516
516
  useDebouncedFilter: ur,
517
517
  useDeleteUrlBuilder: dr,
518
518
  useErrors: fr,
@@ -523,8 +523,8 @@ const Y = {
523
523
  useStringHelpers: mr,
524
524
  useI18n: Pe,
525
525
  useGatewayFeatureSupported: Cr,
526
- useTruncationDetector: _r,
527
- useValidators: kr
526
+ useTruncationDetector: kr,
527
+ useValidators: _r
528
528
  }, wr = {
529
529
  key: 0,
530
530
  class: "config-card-fieldset-title"
@@ -545,10 +545,10 @@ const Y = {
545
545
  }
546
546
  },
547
547
  setup(e) {
548
- const t = e, { i18n: { t: n } } = Y.useI18n(), { convertKeyToTitle: r } = Y.useStringHelpers(), i = k(() => t.item.key ?? "json-array-item"), o = k(() => t.item.value ?? t.item), a = k(() => {
548
+ const t = e, { i18n: { t: n } } = Y.useI18n(), { convertKeyToTitle: r } = Y.useStringHelpers(), i = _(() => t.item.key ?? "json-array-item"), o = _(() => t.item.value ?? t.item), a = _(() => {
549
549
  const c = JSON.parse(JSON.stringify(o.value));
550
550
  return t.isArrayItem && delete c.name, c;
551
- }), l = k(() => {
551
+ }), l = _(() => {
552
552
  var c;
553
553
  return t.isArrayItem ? (c = o.value) != null && c.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
554
554
  });
@@ -648,13 +648,13 @@ const Y = {
648
648
  },
649
649
  emits: ["navigation-click"],
650
650
  setup(e, { emit: t }) {
651
- Lt((y) => ({
651
+ Bt((y) => ({
652
652
  "2f5b0492": d.value ? "none" : `solid ${$(Nr)} ${$(Er)}`,
653
653
  "5d59c22c": u.value && l.value ? "block" : "flex",
654
654
  aa41a894: u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
655
655
  aa3d1cde: u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
656
656
  }));
657
- const n = e, r = t, i = tt(), { i18n: { t: o, formatUnixTimeStamp: a } } = Y.useI18n(), l = k(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = k(() => !!(n.item.tooltip || i["label-tooltip"])), u = k(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = k(() => n.item.type === H.JsonArray), s = k(() => {
657
+ const n = e, r = t, i = tt(), { i18n: { t: o, formatUnixTimeStamp: a } } = Y.useI18n(), l = _(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = _(() => !!(n.item.tooltip || i["label-tooltip"])), u = _(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = _(() => n.item.type === H.JsonArray), s = _(() => {
658
658
  switch (n.item.type) {
659
659
  case H.ID:
660
660
  return {
@@ -777,14 +777,14 @@ const Y = {
777
777
  }
778
778
  }), h = D(), { isTruncated: f } = Y.useTruncationDetector(h);
779
779
  return (y, g) => {
780
- const _ = j("KLabel"), O = j("KBadge"), x = j("KCopy"), N = j("KTooltip");
780
+ const k = j("KLabel"), O = j("KBadge"), x = j("KCopy"), N = j("KTooltip");
781
781
  return m(), A("div", Rr, [
782
782
  L("div", {
783
783
  class: "config-card-details-label",
784
784
  "data-testid": `${e.item.key}-label`
785
785
  }, [
786
786
  z(y.$slots, "label", { item: e.item }, () => [
787
- M(_, { "tooltip-attributes": { maxWidth: "500px" } }, we({
787
+ M(k, { "tooltip-attributes": { maxWidth: "500px" } }, we({
788
788
  default: C(() => [
789
789
  V(F(e.item.label) + " ", 1)
790
790
  ]),
@@ -926,10 +926,10 @@ const Y = {
926
926
  }
927
927
  },
928
928
  setup(e) {
929
- Lt((i) => ({
929
+ Bt((i) => ({
930
930
  "454fa8c4": `${r.value}ch`
931
931
  }));
932
- const t = e, n = k(() => t.entityRecord), r = k(() => {
932
+ const t = e, n = _(() => t.entityRecord), r = _(() => {
933
933
  var a;
934
934
  if (!t.fetcherUrl)
935
935
  return 0;
@@ -1093,7 +1093,7 @@ function fi(e, t) {
1093
1093
  throw new ne('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1094
1094
  }
1095
1095
  var X = fi;
1096
- function yt(e, t) {
1096
+ function vt(e, t) {
1097
1097
  var n = [];
1098
1098
  return e[t].forEach(function(r) {
1099
1099
  var i = n.length;
@@ -1147,7 +1147,7 @@ Je.prototype.extend = function(t) {
1147
1147
  throw new ne("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1148
1148
  });
1149
1149
  var i = Object.create(Je.prototype);
1150
- return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = yt(i, "implicit"), i.compiledExplicit = yt(i, "explicit"), i.compiledTypeMap = pi(i.compiledImplicit, i.compiledExplicit), i;
1150
+ return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = vt(i, "implicit"), i.compiledExplicit = vt(i, "explicit"), i.compiledTypeMap = pi(i.compiledImplicit, i.compiledExplicit), i;
1151
1151
  };
1152
1152
  var zt = Je, Yt = new X("tag:yaml.org,2002:str", {
1153
1153
  kind: "scalar",
@@ -1241,10 +1241,10 @@ function xi(e) {
1241
1241
  function Ci(e) {
1242
1242
  return 48 <= e && e <= 55;
1243
1243
  }
1244
- function _i(e) {
1244
+ function ki(e) {
1245
1245
  return 48 <= e && e <= 57;
1246
1246
  }
1247
- function ki(e) {
1247
+ function _i(e) {
1248
1248
  if (e === null) return !1;
1249
1249
  var t = e.length, n = 0, r = !1, i;
1250
1250
  if (!t) return !1;
@@ -1278,7 +1278,7 @@ function ki(e) {
1278
1278
  if (i === "_") return !1;
1279
1279
  for (; n < t; n++)
1280
1280
  if (i = e[n], i !== "_") {
1281
- if (!_i(e.charCodeAt(n)))
1281
+ if (!ki(e.charCodeAt(n)))
1282
1282
  return !1;
1283
1283
  r = !0;
1284
1284
  }
@@ -1299,7 +1299,7 @@ function Ai(e) {
1299
1299
  }
1300
1300
  var Xt = new X("tag:yaml.org,2002:int", {
1301
1301
  kind: "scalar",
1302
- resolve: ki,
1302
+ resolve: _i,
1303
1303
  construct: wi,
1304
1304
  predicate: Ai,
1305
1305
  represent: {
@@ -1424,11 +1424,11 @@ function Bi(e) {
1424
1424
  var ln = new X("tag:yaml.org,2002:merge", {
1425
1425
  kind: "scalar",
1426
1426
  resolve: Bi
1427
- }), rt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1427
+ }), it = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1428
1428
  \r`;
1429
1429
  function Ri(e) {
1430
1430
  if (e === null) return !1;
1431
- var t, n, r = 0, i = e.length, o = rt;
1431
+ var t, n, r = 0, i = e.length, o = it;
1432
1432
  for (n = 0; n < i; n++)
1433
1433
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1434
1434
  if (t < 0) return !1;
@@ -1437,13 +1437,13 @@ function Ri(e) {
1437
1437
  return r % 8 === 0;
1438
1438
  }
1439
1439
  function Mi(e) {
1440
- var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, o = rt, a = 0, l = [];
1440
+ var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, o = it, a = 0, l = [];
1441
1441
  for (t = 0; t < i; t++)
1442
1442
  t % 4 === 0 && t && (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)), a = a << 6 | o.indexOf(r.charAt(t));
1443
1443
  return n = i % 4 * 6, n === 0 ? (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)) : n === 18 ? (l.push(a >> 10 & 255), l.push(a >> 2 & 255)) : n === 12 && l.push(a >> 4 & 255), new Uint8Array(l);
1444
1444
  }
1445
1445
  function Ki(e) {
1446
- var t = "", n = 0, r, i, o = e.length, a = rt;
1446
+ var t = "", n = 0, r, i, o = e.length, a = it;
1447
1447
  for (r = 0; r < o; r++)
1448
1448
  r % 3 === 0 && r && (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]), n = (n << 8) + e[r];
1449
1449
  return i = o % 3, i === 0 ? (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]) : i === 2 ? (t += a[n >> 10 & 63], t += a[n >> 4 & 63], t += a[n << 2 & 63], t += a[64]) : i === 1 && (t += a[n >> 2 & 63], t += a[n << 4 & 63], t += a[64], t += a[64]), t;
@@ -1517,7 +1517,7 @@ var dn = new X("tag:yaml.org,2002:set", {
1517
1517
  kind: "mapping",
1518
1518
  resolve: Wi,
1519
1519
  construct: Gi
1520
- }), it = nn.extend({
1520
+ }), ot = nn.extend({
1521
1521
  implicit: [
1522
1522
  an,
1523
1523
  ln
@@ -1528,8 +1528,8 @@ var dn = new X("tag:yaml.org,2002:set", {
1528
1528
  un,
1529
1529
  dn
1530
1530
  ]
1531
- }), he = Object.prototype.hasOwnProperty, Me = 1, fn = 2, pn = 3, Ke = 4, We = 1, Ji = 2, vt = 3, Zi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Qi = /[\x85\u2028\u2029]/, Xi = /[,\[\]\{\}]/, hn = /^(?:!|!!|![a-z\-]+!)$/i, mn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1532
- function bt(e) {
1531
+ }), he = Object.prototype.hasOwnProperty, Me = 1, fn = 2, pn = 3, Ke = 4, We = 1, Ji = 2, bt = 3, Zi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Qi = /[\x85\u2028\u2029]/, Xi = /[,\[\]\{\}]/, hn = /^(?:!|!!|![a-z\-]+!)$/i, mn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1532
+ function xt(e) {
1533
1533
  return Object.prototype.toString.call(e);
1534
1534
  }
1535
1535
  function ce(e) {
@@ -1541,7 +1541,7 @@ function ve(e) {
1541
1541
  function re(e) {
1542
1542
  return e === 9 || e === 32 || e === 10 || e === 13;
1543
1543
  }
1544
- function _e(e) {
1544
+ function ke(e) {
1545
1545
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1546
1546
  }
1547
1547
  function eo(e) {
@@ -1554,7 +1554,7 @@ function to(e) {
1554
1554
  function no(e) {
1555
1555
  return 48 <= e && e <= 57 ? e - 48 : -1;
1556
1556
  }
1557
- function xt(e) {
1557
+ function Ct(e) {
1558
1558
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1559
1559
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1560
1560
  }
@@ -1566,9 +1566,9 @@ function ro(e) {
1566
1566
  }
1567
1567
  var gn = new Array(256), yn = new Array(256);
1568
1568
  for (var be = 0; be < 256; be++)
1569
- gn[be] = xt(be) ? 1 : 0, yn[be] = xt(be);
1569
+ gn[be] = Ct(be) ? 1 : 0, yn[be] = Ct(be);
1570
1570
  function io(e, t) {
1571
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || it, 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 = [];
1571
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || ot, 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 = [];
1572
1572
  }
1573
1573
  function vn(e, t) {
1574
1574
  var n = {
@@ -1587,7 +1587,7 @@ function w(e, t) {
1587
1587
  function De(e, t) {
1588
1588
  e.onWarning && e.onWarning.call(null, vn(e, t));
1589
1589
  }
1590
- var Ct = {
1590
+ var kt = {
1591
1591
  YAML: function(t, n, r) {
1592
1592
  var i, o, a;
1593
1593
  t.version !== null && w(t, "duplication of %YAML directive"), r.length !== 1 && w(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && w(t, "ill-formed argument of the YAML directive"), o = parseInt(i[1], 10), a = parseInt(i[2], 10), o !== 1 && w(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && De(t, "unsupported YAML version of the document");
@@ -1618,12 +1618,12 @@ function _t(e, t, n, r) {
1618
1618
  for (Z.isObject(n) || w(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), a = 0, l = i.length; a < l; a += 1)
1619
1619
  o = i[a], he.call(t, o) || (t[o] = n[o], r[o] = !0);
1620
1620
  }
1621
- function ke(e, t, n, r, i, o, a, l, c) {
1621
+ function _e(e, t, n, r, i, o, a, l, c) {
1622
1622
  var u, d;
1623
1623
  if (Array.isArray(i))
1624
1624
  for (i = Array.prototype.slice.call(i), u = 0, d = i.length; u < d; u += 1)
1625
- Array.isArray(i[u]) && w(e, "nested arrays are not supported inside keys"), typeof i == "object" && bt(i[u]) === "[object Object]" && (i[u] = "[object Object]");
1626
- if (typeof i == "object" && bt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1625
+ Array.isArray(i[u]) && w(e, "nested arrays are not supported inside keys"), typeof i == "object" && xt(i[u]) === "[object Object]" && (i[u] = "[object Object]");
1626
+ if (typeof i == "object" && xt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1627
1627
  if (Array.isArray(o))
1628
1628
  for (u = 0, d = o.length; u < d; u += 1)
1629
1629
  _t(e, t, o[u], n);
@@ -1638,7 +1638,7 @@ function ke(e, t, n, r, i, o, a, l, c) {
1638
1638
  }) : t[i] = o, delete n[i];
1639
1639
  return t;
1640
1640
  }
1641
- function ot(e) {
1641
+ function at(e) {
1642
1642
  var t;
1643
1643
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : w(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1644
1644
  }
@@ -1651,7 +1651,7 @@ function G(e, t, n) {
1651
1651
  i = e.input.charCodeAt(++e.position);
1652
1652
  while (i !== 10 && i !== 13 && i !== 0);
1653
1653
  if (ce(i))
1654
- for (ot(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1654
+ for (at(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1655
1655
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1656
1656
  else
1657
1657
  break;
@@ -1662,23 +1662,23 @@ function He(e) {
1662
1662
  var t = e.position, n;
1663
1663
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || re(n)));
1664
1664
  }
1665
- function at(e, t) {
1665
+ function lt(e, t) {
1666
1666
  t === 1 ? e.result += " " : t > 1 && (e.result += Z.repeat(`
1667
1667
  `, t - 1));
1668
1668
  }
1669
1669
  function oo(e, t, n) {
1670
1670
  var r, i, o, a, l, c, u, d, s = e.kind, h = e.result, f;
1671
- if (f = e.input.charCodeAt(e.position), re(f) || _e(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), re(i) || n && _e(i)))
1671
+ if (f = e.input.charCodeAt(e.position), re(f) || ke(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), re(i) || n && ke(i)))
1672
1672
  return !1;
1673
1673
  for (e.kind = "scalar", e.result = "", o = a = e.position, l = !1; f !== 0; ) {
1674
1674
  if (f === 58) {
1675
- if (i = e.input.charCodeAt(e.position + 1), re(i) || n && _e(i))
1675
+ if (i = e.input.charCodeAt(e.position + 1), re(i) || n && ke(i))
1676
1676
  break;
1677
1677
  } else if (f === 35) {
1678
1678
  if (r = e.input.charCodeAt(e.position - 1), re(r))
1679
1679
  break;
1680
1680
  } else {
1681
- if (e.position === e.lineStart && He(e) || n && _e(f))
1681
+ if (e.position === e.lineStart && He(e) || n && ke(f))
1682
1682
  break;
1683
1683
  if (ce(f))
1684
1684
  if (c = e.line, u = e.lineStart, d = e.lineIndent, G(e, !1, -1), e.lineIndent >= t) {
@@ -1689,7 +1689,7 @@ function oo(e, t, n) {
1689
1689
  break;
1690
1690
  }
1691
1691
  }
1692
- l && (fe(e, o, a, !1), at(e, e.line - c), o = a = e.position, l = !1), ve(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1692
+ l && (fe(e, o, a, !1), lt(e, e.line - c), o = a = e.position, l = !1), ve(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1693
1693
  }
1694
1694
  return fe(e, o, a, !1), e.result ? !0 : (e.kind = s, e.result = h, !1);
1695
1695
  }
@@ -1703,7 +1703,7 @@ function ao(e, t) {
1703
1703
  r = e.position, e.position++, i = e.position;
1704
1704
  else
1705
1705
  return !0;
1706
- else ce(n) ? (fe(e, r, i, !0), at(e, G(e, !1, t)), r = i = e.position) : e.position === e.lineStart && He(e) ? w(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1706
+ else ce(n) ? (fe(e, r, i, !0), lt(e, G(e, !1, t)), r = i = e.position) : e.position === e.lineStart && He(e) ? w(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1707
1707
  w(e, "unexpected end of the stream within a single quoted scalar");
1708
1708
  }
1709
1709
  function lo(e, t) {
@@ -1725,12 +1725,12 @@ function lo(e, t) {
1725
1725
  } else
1726
1726
  w(e, "unknown escape sequence");
1727
1727
  n = r = e.position;
1728
- } else ce(l) ? (fe(e, n, r, !0), at(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && He(e) ? w(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1728
+ } else ce(l) ? (fe(e, n, r, !0), lt(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && He(e) ? w(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1729
1729
  }
1730
1730
  w(e, "unexpected end of the stream within a double quoted scalar");
1731
1731
  }
1732
1732
  function co(e, t) {
1733
- var n = !0, r, i, o, a = e.tag, l, c = e.anchor, u, d, s, h, f, y = /* @__PURE__ */ Object.create(null), g, _, O, x;
1733
+ var n = !0, r, i, o, a = e.tag, l, c = e.anchor, u, d, s, h, f, y = /* @__PURE__ */ Object.create(null), g, k, O, x;
1734
1734
  if (x = e.input.charCodeAt(e.position), x === 91)
1735
1735
  d = 93, f = !1, l = [];
1736
1736
  else if (x === 123)
@@ -1740,7 +1740,7 @@ function co(e, t) {
1740
1740
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), x = e.input.charCodeAt(++e.position); x !== 0; ) {
1741
1741
  if (G(e, !0, t), x = e.input.charCodeAt(e.position), x === d)
1742
1742
  return e.position++, e.tag = a, e.anchor = c, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1743
- n ? x === 44 && w(e, "expected the node content, but found ','") : w(e, "missed comma between flow collection entries"), _ = g = O = null, s = h = !1, x === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (s = h = !0, e.position++, G(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, Ae(e, t, Me, !1, !0), _ = e.tag, g = e.result, G(e, !0, t), x = e.input.charCodeAt(e.position), (h || e.line === r) && x === 58 && (s = !0, x = e.input.charCodeAt(++e.position), G(e, !0, t), Ae(e, t, Me, !1, !0), O = e.result), f ? ke(e, l, y, _, g, O, r, i, o) : s ? l.push(ke(e, null, y, _, g, O, r, i, o)) : l.push(g), G(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
1743
+ n ? x === 44 && w(e, "expected the node content, but found ','") : w(e, "missed comma between flow collection entries"), k = g = O = null, s = h = !1, x === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (s = h = !0, e.position++, G(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, Ae(e, t, Me, !1, !0), k = e.tag, g = e.result, G(e, !0, t), x = e.input.charCodeAt(e.position), (h || e.line === r) && x === 58 && (s = !0, x = e.input.charCodeAt(++e.position), G(e, !0, t), Ae(e, t, Me, !1, !0), O = e.result), f ? _e(e, l, y, k, g, O, r, i, o) : s ? l.push(_e(e, null, y, k, g, O, r, i, o)) : l.push(g), G(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
1744
1744
  }
1745
1745
  w(e, "unexpected end of the stream within a flow collection");
1746
1746
  }
@@ -1754,7 +1754,7 @@ function so(e, t) {
1754
1754
  return !1;
1755
1755
  for (e.kind = "scalar", e.result = ""; s !== 0; )
1756
1756
  if (s = e.input.charCodeAt(++e.position), s === 43 || s === 45)
1757
- We === i ? i = s === 43 ? vt : Ji : w(e, "repeat of a chomping mode identifier");
1757
+ We === i ? i = s === 43 ? bt : Ji : w(e, "repeat of a chomping mode identifier");
1758
1758
  else if ((d = no(s)) >= 0)
1759
1759
  d === 0 ? w(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? w(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1760
1760
  else
@@ -1769,14 +1769,14 @@ function so(e, t) {
1769
1769
  while (!ce(s) && s !== 0);
1770
1770
  }
1771
1771
  for (; s !== 0; ) {
1772
- for (ot(e), e.lineIndent = 0, s = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && s === 32; )
1772
+ for (at(e), e.lineIndent = 0, s = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && s === 32; )
1773
1773
  e.lineIndent++, s = e.input.charCodeAt(++e.position);
1774
1774
  if (!a && e.lineIndent > l && (l = e.lineIndent), ce(s)) {
1775
1775
  c++;
1776
1776
  continue;
1777
1777
  }
1778
1778
  if (e.lineIndent < l) {
1779
- i === vt ? e.result += Z.repeat(`
1779
+ i === bt ? e.result += Z.repeat(`
1780
1780
  `, o ? 1 + c : c) : i === We && o && (e.result += `
1781
1781
  `);
1782
1782
  break;
@@ -1791,7 +1791,7 @@ function so(e, t) {
1791
1791
  }
1792
1792
  return !0;
1793
1793
  }
1794
- function kt(e, t) {
1794
+ function wt(e, t) {
1795
1795
  var n, r = e.tag, i = e.anchor, o = [], a, l = !1, c;
1796
1796
  if (e.firstTabInLine !== -1) return !1;
1797
1797
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), !(c !== 45 || (a = e.input.charCodeAt(e.position + 1), !re(a)))); ) {
@@ -1807,11 +1807,11 @@ function kt(e, t) {
1807
1807
  return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1808
1808
  }
1809
1809
  function uo(e, t, n) {
1810
- var r, i, o, a, l, c, u = e.tag, d = e.anchor, s = {}, h = /* @__PURE__ */ Object.create(null), f = null, y = null, g = null, _ = !1, O = !1, x;
1810
+ var r, i, o, a, l, c, u = e.tag, d = e.anchor, s = {}, h = /* @__PURE__ */ Object.create(null), f = null, y = null, g = null, k = !1, O = !1, x;
1811
1811
  if (e.firstTabInLine !== -1) return !1;
1812
1812
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), x = e.input.charCodeAt(e.position); x !== 0; ) {
1813
- if (!_ && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (x === 63 || x === 58) && re(r))
1814
- x === 63 ? (_ && (ke(e, s, h, f, y, null, a, l, c), f = y = g = null), O = !0, _ = !0, i = !0) : _ ? (_ = !1, i = !0) : w(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = r;
1813
+ if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (x === 63 || x === 58) && re(r))
1814
+ x === 63 ? (k && (_e(e, s, h, f, y, null, a, l, c), f = y = g = null), O = !0, k = !0, i = !0) : k ? (k = !1, i = !0) : w(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = r;
1815
1815
  else {
1816
1816
  if (a = e.line, l = e.lineStart, c = e.position, !Ae(e, n, fn, !1, !0))
1817
1817
  break;
@@ -1819,7 +1819,7 @@ function uo(e, t, n) {
1819
1819
  for (x = e.input.charCodeAt(e.position); ve(x); )
1820
1820
  x = e.input.charCodeAt(++e.position);
1821
1821
  if (x === 58)
1822
- x = e.input.charCodeAt(++e.position), re(x) || w(e, "a whitespace character is expected after the key-value separator within a block mapping"), _ && (ke(e, s, h, f, y, null, a, l, c), f = y = g = null), O = !0, _ = !1, i = !1, f = e.tag, y = e.result;
1822
+ x = e.input.charCodeAt(++e.position), re(x) || w(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (_e(e, s, h, f, y, null, a, l, c), f = y = g = null), O = !0, k = !1, i = !1, f = e.tag, y = e.result;
1823
1823
  else if (O)
1824
1824
  w(e, "can not read an implicit mapping pair; a colon is missed");
1825
1825
  else
@@ -1829,12 +1829,12 @@ function uo(e, t, n) {
1829
1829
  else
1830
1830
  return e.tag = u, e.anchor = d, !0;
1831
1831
  }
1832
- if ((e.line === o || e.lineIndent > t) && (_ && (a = e.line, l = e.lineStart, c = e.position), Ae(e, t, Ke, !0, i) && (_ ? y = e.result : g = e.result), _ || (ke(e, s, h, f, y, g, a, l, c), f = y = g = null), G(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && x !== 0)
1832
+ if ((e.line === o || e.lineIndent > t) && (k && (a = e.line, l = e.lineStart, c = e.position), Ae(e, t, Ke, !0, i) && (k ? y = e.result : g = e.result), k || (_e(e, s, h, f, y, g, a, l, c), f = y = g = null), G(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && x !== 0)
1833
1833
  w(e, "bad indentation of a mapping entry");
1834
1834
  else if (e.lineIndent < t)
1835
1835
  break;
1836
1836
  }
1837
- return _ && ke(e, s, h, f, y, null, a, l, c), O && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = s), O;
1837
+ return k && _e(e, s, h, f, y, null, a, l, c), O && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = s), O;
1838
1838
  }
1839
1839
  function fo(e) {
1840
1840
  var t, n = !1, r = !1, i, o, a;
@@ -1860,23 +1860,23 @@ function fo(e) {
1860
1860
  function po(e) {
1861
1861
  var t, n;
1862
1862
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
1863
- for (e.anchor !== null && w(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !_e(n); )
1863
+ for (e.anchor !== null && w(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !ke(n); )
1864
1864
  n = e.input.charCodeAt(++e.position);
1865
1865
  return e.position === t && w(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1866
1866
  }
1867
1867
  function ho(e) {
1868
1868
  var t, n, r;
1869
1869
  if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
1870
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !_e(r); )
1870
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !ke(r); )
1871
1871
  r = e.input.charCodeAt(++e.position);
1872
1872
  return e.position === t && w(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), he.call(e.anchorMap, n) || w(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1873
1873
  }
1874
1874
  function Ae(e, t, n, r, i) {
1875
- var o, a, l, c = 1, u = !1, d = !1, s, h, f, y, g, _;
1875
+ var o, a, l, c = 1, u = !1, d = !1, s, h, f, y, g, k;
1876
1876
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Ke === n || pn === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
1877
1877
  for (; fo(e) || po(e); )
1878
1878
  G(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : l = !1;
1879
- if (l && (l = u || i), (c === 1 || Ke === n) && (Me === n || fn === n ? g = t : g = t + 1, _ = e.position - e.lineStart, c === 1 ? l && (kt(e, _) || uo(e, _, g)) || co(e, g) ? d = !0 : (a && so(e, g) || ao(e, g) || lo(e, g) ? d = !0 : ho(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && w(e, "alias node should not have any properties")) : oo(e, g, Me === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && kt(e, _))), e.tag === null)
1879
+ if (l && (l = u || i), (c === 1 || Ke === n) && (Me === n || fn === n ? g = t : g = t + 1, k = e.position - e.lineStart, c === 1 ? l && (wt(e, k) || uo(e, k, g)) || co(e, g) ? d = !0 : (a && so(e, g) || ao(e, g) || lo(e, g) ? d = !0 : ho(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && w(e, "alias node should not have any properties")) : oo(e, g, Me === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && wt(e, k))), e.tag === null)
1880
1880
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1881
1881
  else if (e.tag === "?") {
1882
1882
  for (e.result !== null && e.kind !== "scalar" && w(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), s = 0, h = e.implicitTypes.length; s < h; s += 1)
@@ -1916,7 +1916,7 @@ function mo(e) {
1916
1916
  a = e.input.charCodeAt(++e.position);
1917
1917
  i.push(e.input.slice(n, e.position));
1918
1918
  }
1919
- a !== 0 && ot(e), he.call(Ct, r) ? Ct[r](e, r, i) : De(e, 'unknown document directive "' + r + '"');
1919
+ a !== 0 && at(e), he.call(kt, r) ? kt[r](e, r, i) : De(e, 'unknown document directive "' + r + '"');
1920
1920
  }
1921
1921
  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 && w(e, "directives end mark is expected"), Ae(e, e.lineIndent - 1, Ke, !1, !0), G(e, !0, -1), e.checkLineBreaks && Qi.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 && He(e)) {
1922
1922
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, G(e, !0, -1));
@@ -1956,7 +1956,7 @@ function yo(e, t) {
1956
1956
  var vo = go, bo = yo, xn = {
1957
1957
  loadAll: vo,
1958
1958
  load: bo
1959
- }, Cn = Object.prototype.toString, _n = Object.prototype.hasOwnProperty, lt = 65279, xo = 9, Ne = 10, Co = 13, _o = 32, ko = 33, wo = 34, Ze = 35, Ao = 37, So = 38, $o = 39, Io = 42, kn = 44, To = 45, je = 58, Eo = 61, Fo = 62, Oo = 63, No = 64, wn = 91, An = 93, Lo = 96, Sn = 123, Bo = 124, $n = 125, ee = {};
1959
+ }, Cn = Object.prototype.toString, kn = Object.prototype.hasOwnProperty, ct = 65279, xo = 9, Ne = 10, Co = 13, ko = 32, _o = 33, wo = 34, Ze = 35, Ao = 37, So = 38, $o = 39, Io = 42, _n = 44, To = 45, je = 58, Eo = 61, Fo = 62, Oo = 63, No = 64, wn = 91, An = 93, Lo = 96, Sn = 123, Bo = 124, $n = 125, ee = {};
1960
1960
  ee[0] = "\\0";
1961
1961
  ee[7] = "\\a";
1962
1962
  ee[8] = "\\b";
@@ -1994,7 +1994,7 @@ function Ko(e, t) {
1994
1994
  var n, r, i, o, a, l, c;
1995
1995
  if (t === null) return {};
1996
1996
  for (n = {}, r = Object.keys(t), i = 0, o = r.length; i < o; i += 1)
1997
- a = r[i], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), c = e.compiledTypeMap.fallback[a], c && _n.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
1997
+ a = r[i], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), c = e.compiledTypeMap.fallback[a], c && kn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
1998
1998
  return n;
1999
1999
  }
2000
2000
  function Do(e) {
@@ -2011,9 +2011,9 @@ function Do(e) {
2011
2011
  }
2012
2012
  var jo = 1, Le = 2;
2013
2013
  function qo(e) {
2014
- this.schema = e.schema || it, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ko(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 === '"' ? Le : jo, 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;
2014
+ this.schema = e.schema || ot, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ko(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 === '"' ? Le : jo, 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;
2015
2015
  }
2016
- function wt(e, t) {
2016
+ function At(e, t) {
2017
2017
  for (var n = Z.repeat(" ", t), r = 0, i = -1, o = "", a, l = e.length; r < l; )
2018
2018
  i = e.indexOf(`
2019
2019
  `, r), i === -1 ? (a = e.slice(r), r = l) : (a = e.slice(r, i + 1), r = i + 1), a.length && a !== `
@@ -2032,26 +2032,26 @@ function Uo(e, t) {
2032
2032
  return !1;
2033
2033
  }
2034
2034
  function qe(e) {
2035
- return e === _o || e === xo;
2035
+ return e === ko || e === xo;
2036
2036
  }
2037
2037
  function Be(e) {
2038
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== lt || 65536 <= e && e <= 1114111;
2038
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ct || 65536 <= e && e <= 1114111;
2039
2039
  }
2040
- function At(e) {
2041
- return Be(e) && e !== lt && e !== Co && e !== Ne;
2040
+ function St(e) {
2041
+ return Be(e) && e !== ct && e !== Co && e !== Ne;
2042
2042
  }
2043
- function St(e, t, n) {
2044
- var r = At(e), i = r && !qe(e);
2043
+ function $t(e, t, n) {
2044
+ var r = St(e), i = r && !qe(e);
2045
2045
  return (
2046
2046
  // ns-plain-safe
2047
2047
  (n ? (
2048
2048
  // c = flow-in
2049
2049
  r
2050
- ) : r && e !== kn && e !== wn && e !== An && e !== Sn && e !== $n) && e !== Ze && !(t === je && !i) || At(t) && !qe(t) && e === Ze || t === je && i
2050
+ ) : r && e !== _n && e !== wn && e !== An && e !== Sn && e !== $n) && e !== Ze && !(t === je && !i) || St(t) && !qe(t) && e === Ze || t === je && i
2051
2051
  );
2052
2052
  }
2053
2053
  function Po(e) {
2054
- return Be(e) && e !== lt && !qe(e) && e !== To && e !== Oo && e !== je && e !== kn && e !== wn && e !== An && e !== Sn && e !== $n && e !== Ze && e !== So && e !== Io && e !== ko && e !== Bo && e !== Eo && e !== Fo && e !== $o && e !== wo && e !== Ao && e !== No && e !== Lo;
2054
+ return Be(e) && e !== ct && !qe(e) && e !== To && e !== Oo && e !== je && e !== _n && e !== wn && e !== An && e !== Sn && e !== $n && e !== Ze && e !== So && e !== Io && e !== _o && e !== Bo && e !== Eo && e !== Fo && e !== $o && e !== wo && e !== Ao && e !== No && e !== Lo;
2055
2055
  }
2056
2056
  function Ho(e) {
2057
2057
  return !qe(e) && e !== je;
@@ -2071,7 +2071,7 @@ function Vo(e, t, n, r, i, o, a, l) {
2071
2071
  for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
2072
2072
  if (u = Fe(e, c), !Be(u))
2073
2073
  return Ce;
2074
- g = g && St(u, d, l), d = u;
2074
+ g = g && $t(u, d, l), d = u;
2075
2075
  }
2076
2076
  else {
2077
2077
  for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
@@ -2080,7 +2080,7 @@ function Vo(e, t, n, r, i, o, a, l) {
2080
2080
  c - y - 1 > r && e[y + 1] !== " ", y = c);
2081
2081
  else if (!Be(u))
2082
2082
  return Ce;
2083
- g = g && St(u, d, l), d = u;
2083
+ g = g && $t(u, d, l), d = u;
2084
2084
  }
2085
2085
  h = h || f && c - y - 1 > r && e[y + 1] !== " ";
2086
2086
  }
@@ -2111,9 +2111,9 @@ function zo(e, t, n, r, i) {
2111
2111
  case Xe:
2112
2112
  return "'" + t.replace(/'/g, "''") + "'";
2113
2113
  case En:
2114
- return "|" + $t(t, e.indent) + It(wt(t, o));
2114
+ return "|" + It(t, e.indent) + Tt(At(t, o));
2115
2115
  case Fn:
2116
- return ">" + $t(t, e.indent) + It(wt(Yo(t, a), o));
2116
+ return ">" + It(t, e.indent) + Tt(At(Yo(t, a), o));
2117
2117
  case Ce:
2118
2118
  return '"' + Wo(t) + '"';
2119
2119
  default:
@@ -2121,7 +2121,7 @@ function zo(e, t, n, r, i) {
2121
2121
  }
2122
2122
  }();
2123
2123
  }
2124
- function $t(e, t) {
2124
+ function It(e, t) {
2125
2125
  var n = In(e) ? String(t) : "", r = e[e.length - 1] === `
2126
2126
  `, i = r && (e[e.length - 2] === `
2127
2127
  ` || e === `
@@ -2129,7 +2129,7 @@ function $t(e, t) {
2129
2129
  return n + o + `
2130
2130
  `;
2131
2131
  }
2132
- function It(e) {
2132
+ function Tt(e) {
2133
2133
  return e[e.length - 1] === `
2134
2134
  ` ? e.slice(0, -1) : e;
2135
2135
  }
@@ -2137,16 +2137,16 @@ function Yo(e, t) {
2137
2137
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2138
2138
  var u = e.indexOf(`
2139
2139
  `);
2140
- return u = u !== -1 ? u : e.length, n.lastIndex = u, Tt(e.slice(0, u), t);
2140
+ return u = u !== -1 ? u : e.length, n.lastIndex = u, Et(e.slice(0, u), t);
2141
2141
  }(), i = e[0] === `
2142
2142
  ` || e[0] === " ", o, a; a = n.exec(e); ) {
2143
2143
  var l = a[1], c = a[2];
2144
2144
  o = c[0] === " ", r += l + (!i && !o && c !== "" ? `
2145
- ` : "") + Tt(c, t), i = o;
2145
+ ` : "") + Et(c, t), i = o;
2146
2146
  }
2147
2147
  return r;
2148
2148
  }
2149
- function Tt(e, t) {
2149
+ function Et(e, t) {
2150
2150
  if (e === "" || e[0] === " ") return e;
2151
2151
  for (var n = / [^ ]/g, r, i = 0, o, a = 0, l = 0, c = ""; r = n.exec(e); )
2152
2152
  l = r.index, l - i > t && (o = a > i ? a : l, c += `
@@ -2166,7 +2166,7 @@ function Go(e, t, n) {
2166
2166
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (de(e, t, l, !1, !1) || typeof l > "u" && de(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2167
2167
  e.tag = i, e.dump = "[" + r + "]";
2168
2168
  }
2169
- function Et(e, t, n, r) {
2169
+ function Ft(e, t, n, r) {
2170
2170
  var i = "", o = e.tag, a, l, c;
2171
2171
  for (a = 0, l = n.length; a < l; a += 1)
2172
2172
  c = n[a], e.replacer && (c = e.replacer.call(n, String(a), c)), (de(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && de(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += Qe(e, t)), e.dump && Ne === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
@@ -2190,14 +2190,14 @@ function Zo(e, t, n, r) {
2190
2190
  h = "", (!r || i !== "") && (h += Qe(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), de(e, t + 1, u, !0, !0, !0) && (s = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, s && (e.dump && Ne === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, s && (h += Qe(e, t)), de(e, t + 1, d, !0, s) && (e.dump && Ne === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, i += h));
2191
2191
  e.tag = o, e.dump = i || "{}";
2192
2192
  }
2193
- function Ft(e, t, n) {
2193
+ function Ot(e, t, n) {
2194
2194
  var r, i, o, a, l, c;
2195
2195
  for (i = n ? e.explicitTypes : e.implicitTypes, o = 0, a = i.length; o < a; o += 1)
2196
2196
  if (l = i[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2197
2197
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2198
2198
  if (c = e.styleMap[l.tag] || l.defaultStyle, Cn.call(l.represent) === "[object Function]")
2199
2199
  r = l.represent(t, c);
2200
- else if (_n.call(l.represent, c))
2200
+ else if (kn.call(l.represent, c))
2201
2201
  r = l.represent[c](t, c);
2202
2202
  else
2203
2203
  throw new ne("!<" + l.tag + '> tag resolver accepts not "' + c + '" style');
@@ -2208,7 +2208,7 @@ function Ft(e, t, n) {
2208
2208
  return !1;
2209
2209
  }
2210
2210
  function de(e, t, n, r, i, o, a) {
2211
- e.tag = null, e.dump = n, Ft(e, n, !1) || Ft(e, n, !0);
2211
+ e.tag = null, e.dump = n, Ot(e, n, !1) || Ot(e, n, !0);
2212
2212
  var l = Cn.call(e.dump), c = r, u;
2213
2213
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2214
2214
  var d = l === "[object Object]" || l === "[object Array]", s, h;
@@ -2218,7 +2218,7 @@ function de(e, t, n, r, i, o, a) {
2218
2218
  if (d && h && !e.usedDuplicates[s] && (e.usedDuplicates[s] = !0), l === "[object Object]")
2219
2219
  r && Object.keys(e.dump).length !== 0 ? (Zo(e, t, e.dump, i), h && (e.dump = "&ref_" + s + e.dump)) : (Jo(e, t, e.dump), h && (e.dump = "&ref_" + s + " " + e.dump));
2220
2220
  else if (l === "[object Array]")
2221
- r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Et(e, t - 1, e.dump, i) : Et(e, t, e.dump, i), h && (e.dump = "&ref_" + s + e.dump)) : (Go(e, t, e.dump), h && (e.dump = "&ref_" + s + " " + e.dump));
2221
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Ft(e, t - 1, e.dump, i) : Ft(e, t, e.dump, i), h && (e.dump = "&ref_" + s + e.dump)) : (Go(e, t, e.dump), h && (e.dump = "&ref_" + s + " " + e.dump));
2222
2222
  else if (l === "[object String]")
2223
2223
  e.tag !== "?" && zo(e, e.dump, t, o, c);
2224
2224
  else {
@@ -2262,12 +2262,12 @@ function Xo(e, t) {
2262
2262
  var ea = Xo, ta = {
2263
2263
  dump: ea
2264
2264
  };
2265
- function ct(e, t) {
2265
+ function st(e, t) {
2266
2266
  return function() {
2267
2267
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2268
2268
  };
2269
2269
  }
2270
- var na = X, ra = zt, ia = Jt, oa = tn, aa = nn, la = it, ca = xn.load, sa = xn.loadAll, ua = ta.dump, da = ne, fa = {
2270
+ var na = X, ra = zt, ia = Jt, oa = tn, aa = nn, la = ot, ca = xn.load, sa = xn.loadAll, ua = ta.dump, da = ne, fa = {
2271
2271
  binary: cn,
2272
2272
  float: en,
2273
2273
  map: Gt,
@@ -2281,7 +2281,7 @@ var na = X, ra = zt, ia = Jt, oa = tn, aa = nn, la = it, ca = xn.load, sa = xn.l
2281
2281
  omap: sn,
2282
2282
  seq: Wt,
2283
2283
  str: Yt
2284
- }, pa = ct("safeLoad", "load"), ha = ct("safeLoadAll", "loadAll"), ma = ct("safeDump", "dump"), ga = {
2284
+ }, pa = st("safeLoad", "load"), ha = st("safeLoadAll", "loadAll"), ma = st("safeDump", "dump"), ga = {
2285
2285
  Type: na,
2286
2286
  Schema: ra,
2287
2287
  FAILSAFE_SCHEMA: ia,
@@ -2307,7 +2307,7 @@ const ya = { class: "yaml-config" }, On = /* @__PURE__ */ P({
2307
2307
  }
2308
2308
  },
2309
2309
  setup(e) {
2310
- const t = e, n = k(() => {
2310
+ const t = e, n = _(() => {
2311
2311
  const r = Object.fromEntries(Object.entries(t.entityRecord).filter(([, i]) => i !== null && i !== "" && (Array.isArray(i) ? i.length !== 0 : !0)));
2312
2312
  return Object.keys(r).length === 0 && r.constructor === Object ? "" : ga.dump(r).trim();
2313
2313
  });
@@ -2336,22 +2336,25 @@ const ya = { class: "yaml-config" }, On = /* @__PURE__ */ P({
2336
2336
  type: String,
2337
2337
  required: !0,
2338
2338
  validator: (e) => Ue.includes(e)
2339
+ },
2340
+ credentialType: {
2341
+ type: String,
2342
+ default: ""
2339
2343
  }
2340
2344
  },
2341
2345
  setup(e) {
2342
2346
  const t = e, n = (l, c) => {
2343
2347
  const u = te;
2344
2348
  let d = "";
2345
- return typeof l == "string" ? d += `
2346
- ${u}${c} = "${l}"` : d += `
2347
- ${u}${c} = ${String(l ?? "")}`, d;
2349
+ return typeof l == "string" ? d += `${u}${c} = "${l}"
2350
+ ` : d += `${u}${c} = ${String(l ?? "")}
2351
+ `, d;
2348
2352
  }, r = (l, c, u = "") => {
2349
2353
  if (typeof l != "object")
2350
2354
  return "Invalid object";
2351
2355
  const d = te + u;
2352
2356
  let s = "";
2353
- if (c && (s += `
2354
- ${d}${c} = {
2357
+ if (c && (s += `${d}${c} = {
2355
2358
  `), l === null)
2356
2359
  return c ? s += `${d}}` : s = "{}", s;
2357
2360
  const h = Object.fromEntries(Object.entries(l).filter(([, y]) => y !== null));
@@ -2361,14 +2364,14 @@ ${d}${c} = {
2361
2364
  `, f += i(g, void 0, d), f += `${d}${te}]`) : g && typeof g == "object" ? (f = `{
2362
2365
  `, f += r(g, void 0, d), f += `${d}${te}}`) : f = String(g ?? ""), typeof g == "string" && (f = `"${f}"`), s += `${d}${te}${y} = ${f}
2363
2366
  `;
2364
- return c ? s += `${d}}` : s;
2367
+ return c ? s += `${d}}
2368
+ ` : s;
2365
2369
  }, i = (l, c, u = "") => {
2366
2370
  if (!Array.isArray(l))
2367
2371
  return "Invalid array";
2368
2372
  const d = te + u;
2369
2373
  let s = "";
2370
- c && (l.length === 0 ? s += `${d}${c} = [` : s += `
2371
- ${d}${c} = [
2374
+ c && (l.length === 0 ? s += `${d}${c} = [` : s += `${d}${c} = [
2372
2375
  `);
2373
2376
  for (let h = 0; h < l.length; h++) {
2374
2377
  const f = l[h];
@@ -2376,28 +2379,30 @@ ${d}${c} = [
2376
2379
  `, s += r(f, void 0, d), s += `${d}${te}}`) : typeof f == "string" ? s += `${d}${te}"${f}"` : s += `${d}${te}${String(f ?? "")}`, h < l.length - 1 && (s += ","), s += `
2377
2380
  `;
2378
2381
  }
2379
- return c && (l.length === 0 ? s += "]" : s += `${d}]`), s;
2382
+ return c && (l.length === 0 ? s += `]
2383
+ ` : s += `${d}]
2384
+ `), s;
2380
2385
  }, o = (l) => {
2381
2386
  let c = "";
2382
2387
  for (const [u, d] of Object.entries(l))
2383
2388
  Array.isArray(d) ? c += i(d, u) : typeof d == "object" ? c += r(d, u) : c += n(d, u);
2384
2389
  return c;
2385
- }, a = k(() => {
2386
- var s, h, f, y, g, _, O;
2390
+ }, a = _(() => {
2391
+ var s, h, f, y, g, k, O;
2387
2392
  const l = Object.fromEntries(Object.entries(t.entityRecord).filter(([, x]) => x != null)), c = t.entityRecord.config ? Object.fromEntries(Object.entries((s = t.entityRecord) == null ? void 0 : s.config).filter(([, x]) => x != null)) : void 0;
2388
2393
  if (c && (l.config = c), Object.keys(l).length === 0)
2389
2394
  return "";
2390
2395
  delete l.id;
2391
2396
  let u = "", d = "";
2392
- if ((h = l.service) != null && h.id ? (d = "service", delete l.service) : (f = l.route) != null && f.id ? (d = "route", delete l.route) : (y = l.consumer) != null && y.id ? (d = "consumer", delete l.consumer) : (g = l.consumer_group) != null && g.id ? (d = "consumer_group", delete l.consumer_group) : (_ = l.certificate) != null && _.id ? (d = "certificate", delete l.certificate) : (O = l.key_set) != null && O.id && (d = "key_set", delete l.key_set), t.entityType === "plugin") {
2393
- const x = (l.name + "").replace(/-/g, "_");
2394
- delete l.name, u += `resource "konnect_gateway_plugin_${x}" "my_${x}" {`;
2397
+ if ((h = l.service) != null && h.id ? (d = "service", delete l.service) : (f = l.route) != null && f.id ? (d = "route", delete l.route) : (y = l.consumer) != null && y.id ? (d = "consumer", delete l.consumer) : (g = l.consumer_group) != null && g.id ? (d = "consumer_group", delete l.consumer_group) : (k = l.certificate) != null && k.id ? (d = "certificate", delete l.certificate) : (O = l.set) != null && O.id && (d = "set", delete l.set), t.entityType === "plugin") {
2398
+ const x = t.credentialType.replace(/-/g, "_") || (l.name + "").replace(/-/g, "_");
2399
+ delete l.name, u += `resource "konnect_gateway_plugin_${x}" "my_${x}" {
2400
+ `;
2395
2401
  } else
2396
- u += `resource "konnect_gateway_${t.entityType}" "my_${t.entityType}" {`;
2397
- return u += o(l), u += `
2398
- ${te}control_plane_id = konnect_gateway_control_plane.my_konnect_cp.id
2399
- `, d && (u += `
2400
- ${te}${d} = {
2402
+ u += `resource "konnect_gateway_${t.entityType}" "my_${t.entityType}" {
2403
+ `;
2404
+ return u += o(l), u += `${te}control_plane_id = konnect_gateway_control_plane.my_konnect_cp.id
2405
+ `, d && (u += `${te}${d} = {
2401
2406
  `, u += `${te}${te}id = konnect_gateway_${d}.my_${d}.id
2402
2407
  `, u += `${te}}
2403
2408
  `), u += `}
@@ -2422,7 +2427,7 @@ ${te}${d} = {
2422
2427
  }, xa = ["data-testid"], Ca = {
2423
2428
  key: 0,
2424
2429
  class: "config-card-prop-section-title"
2425
- }, _a = /* @__PURE__ */ P({
2430
+ }, ka = /* @__PURE__ */ P({
2426
2431
  __name: "ConfigCardDisplay",
2427
2432
  props: {
2428
2433
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2466,7 +2471,7 @@ ${te}${d} = {
2466
2471
  }
2467
2472
  },
2468
2473
  setup(e) {
2469
- const t = e, n = tt(), { i18n: { t: r } } = Y.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = k(() => {
2474
+ const t = e, n = tt(), { i18n: { t: r } } = Y.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = _(() => {
2470
2475
  if (!t.record)
2471
2476
  return t.record;
2472
2477
  const a = JSON.parse(JSON.stringify(t.record));
@@ -2523,7 +2528,7 @@ ${te}${d} = {
2523
2528
  }, null, 8, ["entity-record", "entity-type"])) : q("", !0)
2524
2529
  ], 64));
2525
2530
  }
2526
- }), ka = /* @__PURE__ */ ae(_a, [["__scopeId", "data-v-d15be7fe"]]), oe = "24px", Ee = (e, t) => {
2531
+ }), _a = /* @__PURE__ */ ae(ka, [["__scopeId", "data-v-d15be7fe"]]), oe = "24px", Ee = (e, t) => {
2527
2532
  const n = e.__vccOpts || e;
2528
2533
  for (const [r, i] of t)
2529
2534
  n[r] = i;
@@ -2586,7 +2591,7 @@ ${te}${d} = {
2586
2591
  }
2587
2592
  },
2588
2593
  setup(e) {
2589
- const t = e, n = k(() => {
2594
+ const t = e, n = _(() => {
2590
2595
  if (typeof t.size == "number" && t.size > 0)
2591
2596
  return `${t.size}px`;
2592
2597
  if (typeof t.size == "string") {
@@ -2595,7 +2600,7 @@ ${te}${d} = {
2595
2600
  return `${o}px`;
2596
2601
  }
2597
2602
  return oe;
2598
- }), r = k(() => ({
2603
+ }), r = _(() => ({
2599
2604
  boxSizing: "border-box",
2600
2605
  color: t.color,
2601
2606
  display: t.display,
@@ -2686,7 +2691,7 @@ ${te}${d} = {
2686
2691
  }
2687
2692
  },
2688
2693
  setup(e) {
2689
- const t = e, n = k(() => {
2694
+ const t = e, n = _(() => {
2690
2695
  if (typeof t.size == "number" && t.size > 0)
2691
2696
  return `${t.size}px`;
2692
2697
  if (typeof t.size == "string") {
@@ -2695,7 +2700,7 @@ ${te}${d} = {
2695
2700
  return `${o}px`;
2696
2701
  }
2697
2702
  return oe;
2698
- }), r = k(() => ({
2703
+ }), r = _(() => ({
2699
2704
  boxSizing: "border-box",
2700
2705
  color: t.color,
2701
2706
  display: t.display,
@@ -2786,7 +2791,7 @@ ${te}${d} = {
2786
2791
  }
2787
2792
  },
2788
2793
  setup(e) {
2789
- const t = e, n = k(() => {
2794
+ const t = e, n = _(() => {
2790
2795
  if (typeof t.size == "number" && t.size > 0)
2791
2796
  return `${t.size}px`;
2792
2797
  if (typeof t.size == "string") {
@@ -2795,7 +2800,7 @@ ${te}${d} = {
2795
2800
  return `${o}px`;
2796
2801
  }
2797
2802
  return oe;
2798
- }), r = k(() => ({
2803
+ }), r = _(() => ({
2799
2804
  boxSizing: "border-box",
2800
2805
  color: t.color,
2801
2806
  display: t.display,
@@ -2886,7 +2891,7 @@ ${te}${d} = {
2886
2891
  }
2887
2892
  },
2888
2893
  setup(e) {
2889
- const t = e, n = k(() => {
2894
+ const t = e, n = _(() => {
2890
2895
  if (typeof t.size == "number" && t.size > 0)
2891
2896
  return `${t.size}px`;
2892
2897
  if (typeof t.size == "string") {
@@ -2895,7 +2900,7 @@ ${te}${d} = {
2895
2900
  return `${o}px`;
2896
2901
  }
2897
2902
  return oe;
2898
- }), r = k(() => ({
2903
+ }), r = _(() => ({
2899
2904
  boxSizing: "border-box",
2900
2905
  color: t.color,
2901
2906
  display: t.display,
@@ -2986,7 +2991,7 @@ ${te}${d} = {
2986
2991
  }
2987
2992
  },
2988
2993
  setup(e) {
2989
- const t = e, n = k(() => {
2994
+ const t = e, n = _(() => {
2990
2995
  if (typeof t.size == "number" && t.size > 0)
2991
2996
  return `${t.size}px`;
2992
2997
  if (typeof t.size == "string") {
@@ -2995,7 +3000,7 @@ ${te}${d} = {
2995
3000
  return `${o}px`;
2996
3001
  }
2997
3002
  return oe;
2998
- }), r = k(() => ({
3003
+ }), r = _(() => ({
2999
3004
  boxSizing: "border-box",
3000
3005
  color: t.color,
3001
3006
  display: t.display,
@@ -3086,7 +3091,7 @@ ${te}${d} = {
3086
3091
  }
3087
3092
  },
3088
3093
  setup(e) {
3089
- const t = e, n = k(() => {
3094
+ const t = e, n = _(() => {
3090
3095
  if (typeof t.size == "number" && t.size > 0)
3091
3096
  return `${t.size}px`;
3092
3097
  if (typeof t.size == "string") {
@@ -3095,7 +3100,7 @@ ${te}${d} = {
3095
3100
  return `${o}px`;
3096
3101
  }
3097
3102
  return oe;
3098
- }), r = k(() => ({
3103
+ }), r = _(() => ({
3099
3104
  boxSizing: "border-box",
3100
3105
  color: t.color,
3101
3106
  display: t.display,
@@ -3281,7 +3286,7 @@ ${te}${d} = {
3281
3286
  // the last property displayed
3282
3287
  section: ie.Basic
3283
3288
  }
3284
- }, h = D(!1), f = D(!1), y = D(""), g = D({}), _ = k(() => {
3289
+ }, h = D(!1), f = D(!1), y = D(""), g = D({}), k = _(() => {
3285
3290
  var E, I, K;
3286
3291
  if (!g.value)
3287
3292
  return [];
@@ -3294,8 +3299,8 @@ ${te}${d} = {
3294
3299
  return p.sort(function(R, T) {
3295
3300
  return R[1] - T[1];
3296
3301
  }), p.map((R) => {
3297
- var me, st;
3298
- const T = R[0], W = (me = g.value) == null ? void 0 : me[T], U = ((st = r.configSchema) == null ? void 0 : st[T]) || {}, J = s[T];
3302
+ var me, ut;
3303
+ const T = R[0], W = (me = g.value) == null ? void 0 : me[T], U = ((ut = r.configSchema) == null ? void 0 : ut[T]) || {}, J = s[T];
3299
3304
  return {
3300
3305
  key: T,
3301
3306
  value: W,
@@ -3306,7 +3311,7 @@ ${te}${d} = {
3306
3311
  section: U.section ?? ((J == null ? void 0 : J.section) || ie.Advanced)
3307
3312
  };
3308
3313
  }).filter((R) => !R.hidden && R.key !== r.pluginConfigKey);
3309
- }), O = k(() => {
3314
+ }), O = _(() => {
3310
3315
  var I, K;
3311
3316
  if (!g.value || !r.pluginConfigKey)
3312
3317
  return [];
@@ -3331,24 +3336,24 @@ ${te}${d} = {
3331
3336
  section: ie.Plugin
3332
3337
  };
3333
3338
  }).filter((R) => !R.hidden);
3334
- }), x = k(() => {
3339
+ }), x = _(() => {
3335
3340
  var p, b, E, I;
3336
3341
  return {
3337
- basic: (p = _.value) == null ? void 0 : p.filter((K) => K.section === ie.Basic),
3338
- advanced: (b = _.value) == null ? void 0 : b.filter((K) => K.section === ie.Advanced),
3339
- plugin: (I = O.value) == null ? void 0 : I.concat((E = _.value) == null ? void 0 : E.filter((K) => K.section === ie.Plugin))
3342
+ basic: (p = k.value) == null ? void 0 : p.filter((K) => K.section === ie.Basic),
3343
+ advanced: (b = k.value) == null ? void 0 : b.filter((K) => K.section === ie.Advanced),
3344
+ plugin: (I = O.value) == null ? void 0 : I.concat((E = k.value) == null ? void 0 : E.filter((K) => K.section === ie.Plugin))
3340
3345
  };
3341
- }), N = k(() => {
3346
+ }), N = _(() => {
3342
3347
  const p = [];
3343
3348
  return x.value.basic.length && p.push("basic"), x.value.advanced.length && p.push("advanced"), x.value.plugin.length && p.push("plugin"), p;
3344
- }), v = k(() => {
3349
+ }), v = _(() => {
3345
3350
  var b, E;
3346
3351
  let p = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3347
3352
  return r.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((b = r.config) == null ? void 0 : b.controlPlaneId) || "") : r.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (E = r.config) != null && E.workspace ? `/${r.config.workspace}` : "")), p = p.replace(/{id}/gi, r.config.entityId), p;
3348
3353
  });
3349
3354
  return Se(h, (p) => {
3350
3355
  n("loading", p);
3351
- }, { immediate: !0 }), Bt(async () => {
3356
+ }, { immediate: !0 }), Rt(async () => {
3352
3357
  f.value = !1, h.value = !0;
3353
3358
  try {
3354
3359
  const { data: p } = await l.get(v.value);
@@ -3427,7 +3432,7 @@ ${te}${d} = {
3427
3432
  _: 1
3428
3433
  })) : q("", !0),
3429
3434
  L("div", sl, [
3430
- M(ka, {
3435
+ M(_a, {
3431
3436
  config: e.config,
3432
3437
  "entity-type": e.entityType,
3433
3438
  "fetcher-url": v.value,
@@ -3552,15 +3557,15 @@ ${te}${d} = {
3552
3557
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3553
3558
  setup(e, { emit: t }) {
3554
3559
  var N;
3555
- const n = t, r = e, i = zn(), { i18n: { t: o } } = Y.useI18n(), { getMessageFromError: a } = Y.useErrors(), { axiosInstance: l } = Y.useAxios((N = r.config) == null ? void 0 : N.axiosRequestConfig), c = D(!1), u = D(!1), d = D(""), s = k(() => r.canSubmit === !1 || r.isReadonly), h = D(!1), f = k(() => {
3560
+ const n = t, r = e, i = zn(), { i18n: { t: o } } = Y.useI18n(), { getMessageFromError: a } = Y.useErrors(), { axiosInstance: l } = Y.useAxios((N = r.config) == null ? void 0 : N.axiosRequestConfig), c = D(!1), u = D(!1), d = D(""), s = _(() => r.canSubmit === !1 || r.isReadonly), h = D(!1), f = _(() => {
3556
3561
  var S, p;
3557
3562
  let v = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3558
3563
  return r.config.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, ((S = r.config) == null ? void 0 : S.controlPlaneId) || "") : r.config.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, (p = r.config) != null && p.workspace ? `/${r.config.workspace}` : "")), r.editId ? (v = v.replace(/{id}/gi, r.editId), v) : (v = v.replace(/\/{id}/gi, ""), v);
3559
3564
  }), y = () => {
3560
3565
  h.value = !h.value;
3561
3566
  }, g = () => {
3562
- r.config.cancelRoute ? i.push(r.config.cancelRoute) : _();
3563
- }, _ = () => {
3567
+ r.config.cancelRoute ? i.push(r.config.cancelRoute) : k();
3568
+ }, k = () => {
3564
3569
  n("cancel");
3565
3570
  }, O = () => {
3566
3571
  s.value || n("submit");
@@ -3574,12 +3579,12 @@ ${te}${d} = {
3574
3579
  hash: "#yaml"
3575
3580
  }
3576
3581
  ]);
3577
- return r.enableTerraform && x.value.splice(1, 0, {
3582
+ return r.enableTerraform && r.entityType !== nt.Other && x.value.splice(1, 0, {
3578
3583
  title: o("baseForm.configuration.terraform"),
3579
3584
  hash: "#terraform"
3580
3585
  }), Se(() => c.value, (v) => {
3581
3586
  n("loading", v);
3582
- }, { immediate: !0 }), Bt(async () => {
3587
+ }, { immediate: !0 }), Rt(async () => {
3583
3588
  if (r.editId)
3584
3589
  try {
3585
3590
  u.value = !1, c.value = !0;
@@ -3613,7 +3618,7 @@ ${te}${d} = {
3613
3618
  key: 2,
3614
3619
  "data-testid": "form-content",
3615
3620
  novalidate: r.noValidate,
3616
- onReset: Ge(_, ["prevent"]),
3621
+ onReset: Ge(k, ["prevent"]),
3617
3622
  onSubmit: Ge(O, ["prevent"])
3618
3623
  }, [
3619
3624
  z(v.$slots, "default", {}, void 0, !0),
@@ -3627,17 +3632,17 @@ ${te}${d} = {
3627
3632
  z(v.$slots, "form-actions", {}, () => [
3628
3633
  M(I, {
3629
3634
  appearance: "tertiary",
3630
- "data-testid": "form-view-configuration",
3635
+ "data-testid": `${e.entityType}-form-view-configuration`,
3631
3636
  onClick: S[0] || (S[0] = (T) => y())
3632
3637
  }, {
3633
3638
  default: C(() => [
3634
3639
  V(F($(o)("baseForm.actions.viewConfiguration")), 1)
3635
3640
  ]),
3636
3641
  _: 1
3637
- }),
3642
+ }, 8, ["data-testid"]),
3638
3643
  M(I, {
3639
3644
  appearance: "secondary",
3640
- "data-testid": "form-cancel",
3645
+ "data-testid": `${e.entityType}-form-cancel`,
3641
3646
  disabled: e.isReadonly,
3642
3647
  type: "reset"
3643
3648
  }, {
@@ -3645,10 +3650,10 @@ ${te}${d} = {
3645
3650
  V(F($(o)("baseForm.actions.cancel")), 1)
3646
3651
  ]),
3647
3652
  _: 1
3648
- }, 8, ["disabled"]),
3653
+ }, 8, ["data-testid", "disabled"]),
3649
3654
  M(I, {
3650
3655
  appearance: "primary",
3651
- "data-testid": "form-submit",
3656
+ "data-testid": `${e.entityType}-form-submit`,
3652
3657
  disabled: s.value,
3653
3658
  type: "submit"
3654
3659
  }, {
@@ -3656,7 +3661,7 @@ ${te}${d} = {
3656
3661
  V(F($(o)("baseForm.actions.save")), 1)
3657
3662
  ]),
3658
3663
  _: 1
3659
- }, 8, ["disabled"])
3664
+ }, 8, ["data-testid", "disabled"])
3660
3665
  ], !0)
3661
3666
  ])
3662
3667
  ], 40, dl)),
@@ -3704,7 +3709,7 @@ ${te}${d} = {
3704
3709
  });
3705
3710
  };
3706
3711
  }
3707
- }), lc = /* @__PURE__ */ ae(pl, [["__scopeId", "data-v-073c33c8"]]), hl = ["data-truncate"], ml = /* @__PURE__ */ P({
3712
+ }), lc = /* @__PURE__ */ ae(pl, [["__scopeId", "data-v-ace792f9"]]), hl = ["data-truncate"], ml = /* @__PURE__ */ P({
3708
3713
  __name: "EntityBaseTableCell",
3709
3714
  props: {
3710
3715
  keyName: {
@@ -3721,48 +3726,48 @@ ${te}${d} = {
3721
3726
  }
3722
3727
  },
3723
3728
  setup(e) {
3724
- const t = e, n = k(() => {
3725
- var _;
3726
- return ((_ = t.rowEl) == null ? void 0 : _.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3727
- }), r = k(() => {
3728
- var _;
3729
- return ((_ = n.value) == null ? void 0 : _.querySelector('[data-truncate="true"]')) || null;
3730
- }), i = k(() => {
3729
+ const t = e, n = _(() => {
3730
+ var k;
3731
+ return ((k = t.rowEl) == null ? void 0 : k.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3732
+ }), r = _(() => {
3733
+ var k;
3734
+ return ((k = n.value) == null ? void 0 : k.querySelector('[data-truncate="true"]')) || null;
3735
+ }), i = _(() => {
3731
3736
  var O, x;
3732
- const _ = (O = t.rowEl) == null ? void 0 : O.querySelectorAll("td");
3733
- return _ ? ((x = _[0]) == null ? void 0 : x.getAttribute("data-testid")) === t.keyName : !0;
3734
- }), o = k(() => i.value || t.tooltip);
3737
+ const k = (O = t.rowEl) == null ? void 0 : O.querySelectorAll("td");
3738
+ return k ? ((x = k[0]) == null ? void 0 : x.getAttribute("data-testid")) === t.keyName : !0;
3739
+ }), o = _(() => i.value || t.tooltip);
3735
3740
  let a;
3736
3741
  const l = () => {
3737
3742
  a && (a.disconnect(), a = void 0);
3738
3743
  }, c = () => {
3739
3744
  var O, x, N;
3740
- let _ = ((O = n.value) == null ? void 0 : O.clientWidth) || 0;
3745
+ let k = ((O = n.value) == null ? void 0 : O.clientWidth) || 0;
3741
3746
  if (n.value && "getComputedStyle" in window) {
3742
3747
  const v = window.getComputedStyle(n.value);
3743
- _ -= (parseFloat(v.paddingLeft) || 0) + (parseFloat(v.paddingRight) || 0);
3748
+ k -= (parseFloat(v.paddingLeft) || 0) + (parseFloat(v.paddingRight) || 0);
3744
3749
  }
3745
- d.value = ((x = r.value) == null ? void 0 : x.getBoundingClientRect().width) || 0, s.value = _, h.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3746
- }, u = D({}), d = D(0), s = D(0), h = D(""), f = k(() => [r.value, n.value]), y = Se(
3750
+ d.value = ((x = r.value) == null ? void 0 : x.getBoundingClientRect().width) || 0, s.value = k, h.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3751
+ }, u = D({}), d = D(0), s = D(0), h = D(""), f = _(() => [r.value, n.value]), y = Se(
3747
3752
  f,
3748
- (_) => {
3753
+ (k) => {
3749
3754
  if (o.value && (l(), "ResizeObserver" in window && window)) {
3750
3755
  a = new ResizeObserver((O) => {
3751
3756
  window.requestAnimationFrame(() => {
3752
3757
  !Array.isArray(O) || !O.length || c();
3753
3758
  });
3754
3759
  });
3755
- for (const O of _)
3760
+ for (const O of k)
3756
3761
  O && a.observe(O);
3757
3762
  }
3758
3763
  },
3759
3764
  { immediate: !0, flush: "post", deep: !0 }
3760
- ), g = k(() => o.value ? d.value > s.value : !1);
3765
+ ), g = _(() => o.value ? d.value > s.value : !1);
3761
3766
  return Dn(() => {
3762
3767
  c();
3763
3768
  }), jn(() => {
3764
3769
  y();
3765
- }), (_, O) => {
3770
+ }), (k, O) => {
3766
3771
  const x = j("KTooltip");
3767
3772
  return m(), A("span", {
3768
3773
  ref_key: "contentRef",
@@ -3779,11 +3784,11 @@ ${te}${d} = {
3779
3784
  text: g.value ? h.value : ""
3780
3785
  }, {
3781
3786
  default: C(() => [
3782
- z(_.$slots, "default", {}, void 0, !0)
3787
+ z(k.$slots, "default", {}, void 0, !0)
3783
3788
  ]),
3784
3789
  _: 3
3785
3790
  }, 8, ["text"])
3786
- ], 8, hl)) : z(_.$slots, "default", { key: 1 }, void 0, !0)
3791
+ ], 8, hl)) : z(k.$slots, "default", { key: 1 }, void 0, !0)
3787
3792
  ], 512);
3788
3793
  };
3789
3794
  }
@@ -3908,7 +3913,7 @@ ${te}${d} = {
3908
3913
  },
3909
3914
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3910
3915
  setup(e, { emit: t }) {
3911
- const n = e, r = t, { i18n: { t: i } } = Y.useI18n(), o = k(() => {
3916
+ const n = e, r = t, { i18n: { t: i } } = Y.useI18n(), o = _(() => {
3912
3917
  var p, b;
3913
3918
  return typeof n.errorMessage == "string" ? {
3914
3919
  hasError: !!n.errorMessage,
@@ -3919,7 +3924,7 @@ ${te}${d} = {
3919
3924
  title: (p = n.errorMessage) == null ? void 0 : p.title,
3920
3925
  message: (b = n.errorMessage) == null ? void 0 : b.message
3921
3926
  };
3922
- }), a = k(() => n.cacheIdentifier || n.preferencesStorageKey), l = (p) => p.hasData || !!n.query, c = k(() => {
3927
+ }), a = _(() => n.cacheIdentifier || n.preferencesStorageKey), l = (p) => p.hasData || !!n.query, c = _(() => {
3923
3928
  const p = [];
3924
3929
  return Object.keys(n.tableHeaders).forEach((E) => {
3925
3930
  const I = n.tableHeaders[E];
@@ -3954,11 +3959,11 @@ ${te}${d} = {
3954
3959
  r("empty-state-cta-clicked"), y();
3955
3960
  }, y = () => {
3956
3961
  r("clear-search-input");
3957
- }, g = k(() => n.disableRowClick ? void 0 : (p, b) => {
3962
+ }, g = _(() => n.disableRowClick ? void 0 : (p, b) => {
3958
3963
  r("click:row", b);
3959
- }), _ = (p) => {
3964
+ }), k = (p) => {
3960
3965
  r("sort", p);
3961
- }, { setTablePreferences: O, getTablePreferences: x } = Qn(), N = D(x(a.value)), v = k(() => {
3966
+ }, { setTablePreferences: O, getTablePreferences: x } = Qn(), N = D(x(a.value)), v = _(() => {
3962
3967
  const p = x(a.value);
3963
3968
  return {
3964
3969
  ...n.initialFetcherParams,
@@ -4007,7 +4012,7 @@ ${te}${d} = {
4007
4012
  "table-preferences": N.value,
4008
4013
  onEmptyStateActionClick: f,
4009
4014
  "onRow:click": g.value,
4010
- onSort: b[0] || (b[0] = (T) => _(T)),
4015
+ onSort: b[0] || (b[0] = (T) => k(T)),
4011
4016
  "onUpdate:tablePreferences": S
4012
4017
  }, we({
4013
4018
  toolbar: C(({ state: T }) => [
@@ -4093,10 +4098,10 @@ ${te}${d} = {
4093
4098
  }), cc = /* @__PURE__ */ ae(xl, [["__scopeId", "data-v-71b4425a"]]), Cl = {
4094
4099
  key: 0,
4095
4100
  class: "kong-ui-entity-delete-error"
4096
- }, _l = {
4101
+ }, kl = {
4097
4102
  key: 1,
4098
4103
  class: "description"
4099
- }, kl = /* @__PURE__ */ P({
4104
+ }, _l = /* @__PURE__ */ P({
4100
4105
  __name: "EntityDeleteModal",
4101
4106
  props: {
4102
4107
  visible: {
@@ -4135,7 +4140,7 @@ ${te}${d} = {
4135
4140
  },
4136
4141
  emits: ["cancel", "proceed"],
4137
4142
  setup(e, { emit: t }) {
4138
- const { i18nT: n } = Y.useI18n(), r = e, i = t, o = k(() => r.needConfirm ? r.entityName : ""), a = () => {
4143
+ const { i18nT: n } = Y.useI18n(), r = e, i = t, o = _(() => r.needConfirm ? r.entityName : ""), a = () => {
4139
4144
  i("cancel");
4140
4145
  }, l = () => {
4141
4146
  i("proceed");
@@ -4180,7 +4185,7 @@ ${te}${d} = {
4180
4185
  key: "0"
4181
4186
  } : void 0
4182
4187
  ]), 1032, ["keypath"]),
4183
- r.description || c.$slots.description ? (m(), A("div", _l, [
4188
+ r.description || c.$slots.description ? (m(), A("div", kl, [
4184
4189
  z(c.$slots, "description", {}, () => [
4185
4190
  L("p", null, F(r.description), 1)
4186
4191
  ], !0)
@@ -4190,7 +4195,7 @@ ${te}${d} = {
4190
4195
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4191
4196
  };
4192
4197
  }
4193
- }), sc = /* @__PURE__ */ ae(kl, [["__scopeId", "data-v-4361d622"]]), wl = {
4198
+ }), sc = /* @__PURE__ */ ae(_l, [["__scopeId", "data-v-4361d622"]]), wl = {
4194
4199
  fill: "none",
4195
4200
  height: "20",
4196
4201
  viewBox: "0 0 20 20",
@@ -4204,7 +4209,7 @@ ${te}${d} = {
4204
4209
  width: "20",
4205
4210
  x: "0",
4206
4211
  y: "0"
4207
- }, Sl = ["fill"], $l = { mask: "url(#mask0_180_20349)" }, Il = ["fill"], Ot = /* @__PURE__ */ P({
4212
+ }, Sl = ["fill"], $l = { mask: "url(#mask0_180_20349)" }, Il = ["fill"], Nt = /* @__PURE__ */ P({
4208
4213
  __name: "IconFilter",
4209
4214
  props: {
4210
4215
  color: {
@@ -4252,12 +4257,12 @@ ${te}${d} = {
4252
4257
  },
4253
4258
  emits: ["update:modelValue"],
4254
4259
  setup(e, { emit: t }) {
4255
- const { i18n: { t: n } } = Y.useI18n(), r = e, i = t, o = D(!1), a = D({}), l = D(/* @__PURE__ */ new Set()), c = k(() => {
4260
+ const { i18n: { t: n } } = Y.useI18n(), r = e, i = t, o = D(!1), a = D({}), l = D(/* @__PURE__ */ new Set()), c = _(() => {
4256
4261
  const v = [];
4257
4262
  return new URLSearchParams(r.modelValue).forEach((S, p) => {
4258
4263
  S !== "" && v.push(p);
4259
4264
  }), v;
4260
- }), u = k(() => {
4265
+ }), u = _(() => {
4261
4266
  const v = r.config.fields;
4262
4267
  return Object.keys(v).filter((S) => {
4263
4268
  var p;
@@ -4287,7 +4292,7 @@ ${te}${d} = {
4287
4292
  value: b,
4288
4293
  label: b
4289
4294
  }));
4290
- }, _ = (v) => {
4295
+ }, k = (v) => {
4291
4296
  var S, p;
4292
4297
  return ((p = (S = r.config.schema) == null ? void 0 : S[v]) == null ? void 0 : p.type) ?? "text";
4293
4298
  }, O = (v) => {
@@ -4313,7 +4318,7 @@ ${te}${d} = {
4313
4318
  "onUpdate:modelValue": h
4314
4319
  }, {
4315
4320
  before: C(() => [
4316
- M(Ot)
4321
+ M(Nt)
4317
4322
  ]),
4318
4323
  after: C(() => [
4319
4324
  ge(M($(Ya), {
@@ -4331,7 +4336,7 @@ ${te}${d} = {
4331
4336
  onClick: d
4332
4337
  }, {
4333
4338
  default: C(() => [
4334
- M(Ot),
4339
+ M(Nt),
4335
4340
  V(" " + F($(n)("filter.filterButtonText")) + " " + F(c.value.length > 0 ? `(${c.value.length})` : ""), 1)
4336
4341
  ]),
4337
4342
  _: 1
@@ -4385,7 +4390,7 @@ ${te}${d} = {
4385
4390
  "onUpdate:modelValue": (T) => a.value[I.value] = T,
4386
4391
  autocomplete: "off",
4387
4392
  placeholder: $(n)("filter.inputPlaceholder"),
4388
- type: _(I.value)
4393
+ type: k(I.value)
4389
4394
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4390
4395
  ], 512), [
4391
4396
  [ye, l.value.has(I.value)]
@@ -4468,9 +4473,9 @@ ${te}${d} = {
4468
4473
  },
4469
4474
  emits: ["cancel", "proceed"],
4470
4475
  setup(e, { emit: t }) {
4471
- const { i18n: { t: n }, i18nT: r } = Y.useI18n(), i = e, o = t, a = D(!1), l = k(
4476
+ const { i18n: { t: n }, i18nT: r } = Y.useI18n(), i = e, o = t, a = D(!1), l = _(
4472
4477
  () => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
4473
- ), c = k(
4478
+ ), c = _(
4474
4479
  () => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
4475
4480
  ), u = () => o("cancel"), d = async () => {
4476
4481
  if (i.onConfirm) {
@@ -4537,7 +4542,7 @@ ${te}${d} = {
4537
4542
  }
4538
4543
  },
4539
4544
  setup(e) {
4540
- const t = e, n = D(void 0), r = k(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4545
+ const t = e, n = D(void 0), r = _(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4541
4546
  return Se(() => t.authFunction, async () => {
4542
4547
  n.value = await t.authFunction();
4543
4548
  }, { immediate: !0 }), (i, o) => r.value ? z(i.$slots, "default", {
@@ -4559,12 +4564,12 @@ for (let e = 0; e < 256; ++e)
4559
4564
  function ql(e, t = 0) {
4560
4565
  return Q[e[t + 0]] + Q[e[t + 1]] + Q[e[t + 2]] + Q[e[t + 3]] + "-" + Q[e[t + 4]] + Q[e[t + 5]] + "-" + Q[e[t + 6]] + Q[e[t + 7]] + "-" + Q[e[t + 8]] + Q[e[t + 9]] + "-" + Q[e[t + 10]] + Q[e[t + 11]] + Q[e[t + 12]] + Q[e[t + 13]] + Q[e[t + 14]] + Q[e[t + 15]];
4561
4566
  }
4562
- const Ul = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Nt = {
4567
+ const Ul = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Lt = {
4563
4568
  randomUUID: Ul
4564
4569
  };
4565
4570
  function Pl(e, t, n) {
4566
- if (Nt.randomUUID && !t && !e)
4567
- return Nt.randomUUID();
4571
+ if (Lt.randomUUID && !t && !e)
4572
+ return Lt.randomUUID();
4568
4573
  e = e || {};
4569
4574
  const r = e.random || (e.rng || jl)();
4570
4575
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
@@ -4676,10 +4681,10 @@ const Hl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, zl = {
4676
4681
  }
4677
4682
  },
4678
4683
  setup(e) {
4679
- const t = e, n = D(), { isTruncated: r } = Y.useTruncationDetector(n), { i18n: { t: i } } = Y.useI18n(), o = i("global.actions.copyId"), a = D(o), l = k(() => t.entityLinkData.deleted ?? !1), c = k(() => {
4684
+ const t = e, n = D(), { isTruncated: r } = Y.useTruncationDetector(n), { i18n: { t: i } } = Y.useI18n(), o = i("global.actions.copyId"), a = D(o), l = _(() => t.entityLinkData.deleted ?? !1), c = _(() => {
4680
4685
  var s;
4681
4686
  return (s = t.entityLinkData.id) != null && s.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
4682
- }), u = k(() => {
4687
+ }), u = _(() => {
4683
4688
  var s;
4684
4689
  return `${(s = c.value) == null ? void 0 : s.toString().slice(0, 5)} (deleted)`;
4685
4690
  }), d = async (s) => {
@@ -4722,10 +4727,10 @@ const Hl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, zl = {
4722
4727
  }, {
4723
4728
  default: C(() => [
4724
4729
  M(g, null, {
4725
- default: C(({ copyToClipboard: _ }) => [
4730
+ default: C(({ copyToClipboard: k }) => [
4726
4731
  L("span", {
4727
4732
  class: "entity-link-copy-id",
4728
- onClick: Ge((O) => d(_), ["stop"])
4733
+ onClick: Ge((O) => d(k), ["stop"])
4729
4734
  }, [
4730
4735
  M($(Xa), {
4731
4736
  class: "copy-icon",
@@ -4743,9 +4748,9 @@ const Hl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, zl = {
4743
4748
  ]);
4744
4749
  };
4745
4750
  }
4746
- }), hc = /* @__PURE__ */ ae(ec, [["__scopeId", "data-v-60e3ef7c"]]), { useAxios: mc, useDeleteUrlBuilder: gc, useErrors: yc, useExternalLinkCreator: vc, useFetchUrlBuilder: bc, useFetcher: xc, useDebouncedFilter: Cc, useStringHelpers: _c, useHelpers: kc, useGatewayFeatureSupported: wc, useTruncationDetector: Ac, useValidators: Sc } = Y;
4751
+ }), hc = /* @__PURE__ */ ae(ec, [["__scopeId", "data-v-60e3ef7c"]]), { useAxios: mc, useDeleteUrlBuilder: gc, useErrors: yc, useExternalLinkCreator: vc, useFetchUrlBuilder: bc, useFetcher: xc, useDebouncedFilter: Cc, useStringHelpers: kc, useHelpers: _c, useGatewayFeatureSupported: wc, useTruncationDetector: Ac, useValidators: Sc } = Y;
4747
4752
  export {
4748
- ka as ConfigCardDisplay,
4753
+ _a as ConfigCardDisplay,
4749
4754
  Ut as ConfigCardItem,
4750
4755
  ie as ConfigurationSchemaSection,
4751
4756
  H as ConfigurationSchemaType,
@@ -4763,7 +4768,7 @@ export {
4763
4768
  $r as InternalLinkItem,
4764
4769
  Pt as JsonCodeBlock,
4765
4770
  fc as PermissionsWrapper,
4766
- Rt as SupportedEntityType,
4771
+ nt as SupportedEntityType,
4767
4772
  Ue as SupportedEntityTypesArray,
4768
4773
  Nn as TerraformCodeBlock,
4769
4774
  On as YamlCodeBlock,
@@ -4775,8 +4780,8 @@ export {
4775
4780
  bc as useFetchUrlBuilder,
4776
4781
  xc as useFetcher,
4777
4782
  wc as useGatewayFeatureSupported,
4778
- kc as useHelpers,
4779
- _c as useStringHelpers,
4783
+ _c as useHelpers,
4784
+ kc as useStringHelpers,
4780
4785
  Ac as useTruncationDetector,
4781
4786
  Sc as useValidators
4782
4787
  };