@kong-ui-public/entities-consumer-groups 2.1.11 → 2.1.12-pr.1001.eb6db247.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,9 +1,9 @@
1
- import { defineComponent as ae, ref as E, computed as $, watch as Ae, renderSlot as Z, createCommentVNode as H, unref as y, useSlots as lt, onBeforeMount as ut, resolveComponent as L, openBlock as m, createBlock as U, createSlots as $e, withCtx as v, createElementVNode as V, createTextVNode as Q, toDisplayString as O, createVNode as F, createElementBlock as M, renderList as he, Fragment as be, normalizeClass as Fe, withModifiers as nt, withDirectives as Je, vShow as Ye, useCssVars as gr, resolveDynamicComponent as Ue, normalizeProps as yr, guardReactiveProps as hr, mergeProps as ht, onMounted as vr, onUnmounted as br, normalizeStyle as fn, inject as kr, pushScopeId as mn, popScopeId as gn, Teleport as Cr, reactive as Lt } from "vue";
1
+ import { defineComponent as ae, ref as E, computed as $, watch as Ae, renderSlot as Z, createCommentVNode as H, unref as y, useSlots as lt, onBeforeMount as ut, resolveComponent as L, openBlock as m, createBlock as U, createSlots as $e, withCtx as v, createElementVNode as V, createTextVNode as Q, toDisplayString as O, createVNode as F, createElementBlock as M, renderList as he, Fragment as be, normalizeClass as Fe, withModifiers as nt, withDirectives as Je, vShow as Ye, useCssVars as gr, resolveDynamicComponent as Ne, normalizeProps as yr, guardReactiveProps as hr, mergeProps as ht, onMounted as vr, onUnmounted as br, normalizeStyle as fn, inject as kr, pushScopeId as mn, popScopeId as gn, reactive as Lt } from "vue";
2
2
  import { useRouter as _t } from "vue-router";
3
3
  import { createI18n as It, i18nTComponent as yn } from "@kong-ui-public/i18n";
4
- import wr from "axios";
5
- import { BadgeMethodAppearances as _r } from "@kong/kongponents";
6
- const Ir = {
4
+ import Cr from "axios";
5
+ import { BadgeMethodAppearances as wr } from "@kong/kongponents";
6
+ const _r = {
7
7
  list: {
8
8
  table_headers: {
9
9
  name: "Name",
@@ -95,11 +95,11 @@ const Ir = {
95
95
  name: "The name can be any string containing letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
96
96
  }
97
97
  }
98
- }, Ar = {
99
- consumer_groups: Ir
98
+ }, Ir = {
99
+ consumer_groups: _r
100
100
  };
101
- function xr() {
102
- const e = It("en-us", Ar);
101
+ function Ar() {
102
+ const e = It("en-us", Ir);
103
103
  return {
104
104
  i18n: e,
105
105
  i18nT: yn(e)
@@ -107,7 +107,7 @@ function xr() {
107
107
  };
108
108
  }
109
109
  const ct = {
110
- useI18n: xr
110
+ useI18n: Ar
111
111
  }, xe = "/api/runtime_groups/{controlPlaneId}", Se = "/{workspace}", Me = {
112
112
  list: {
113
113
  konnect: {
@@ -143,14 +143,14 @@ const ct = {
143
143
  var hn = /* @__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))(hn || {}), tt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(tt || {}), Oe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Oe || {}), ne = /* @__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.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ne || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
144
144
  function At(e = {}) {
145
145
  return {
146
- axiosInstance: wr.create({
146
+ axiosInstance: Cr.create({
147
147
  withCredentials: !0,
148
148
  timeout: 3e4,
149
149
  ...e
150
150
  })
151
151
  };
152
152
  }
153
- function Sr() {
153
+ function xr() {
154
154
  return {
155
155
  debounce: (e, n) => {
156
156
  let t;
@@ -162,12 +162,12 @@ function Sr() {
162
162
  }
163
163
  };
164
164
  }
165
- const ft = "khcp-user-table-preferences", Tr = {
165
+ const ft = "khcp-user-table-preferences", Sr = {
166
166
  pageSize: 30,
167
167
  sortColumnKey: void 0,
168
168
  sortColumnOrder: void 0
169
169
  };
170
- function $r() {
170
+ function Tr() {
171
171
  const e = (t) => {
172
172
  if (typeof t == "string")
173
173
  try {
@@ -191,24 +191,24 @@ function $r() {
191
191
  },
192
192
  getTablePreferences: (t) => {
193
193
  const r = n();
194
- return (r == null ? void 0 : r.get(t)) || void 0 || Tr;
194
+ return (r == null ? void 0 : r.get(t)) || void 0 || Sr;
195
195
  },
196
196
  deleteAllTablePreferences: () => {
197
197
  localStorage.removeItem(ft);
198
198
  }
199
199
  };
200
200
  }
201
- const Mr = {
201
+ const $r = {
202
202
  actions: {
203
203
  copyId: "Copy ID",
204
204
  copied_id: 'Copied "{id}" to the clipboard',
205
205
  copyToClipboard: "Copied successfully!",
206
206
  copyToClipboardFailed: "Failed to copy to the clipboard"
207
207
  }
208
- }, jr = {
208
+ }, Mr = {
209
209
  message: "Are you sure you want to delete this {entityType}?",
210
210
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
211
- }, Er = {
211
+ }, jr = {
212
212
  actions: {
213
213
  save: "Save",
214
214
  cancel: "Cancel",
@@ -217,13 +217,13 @@ const Mr = {
217
217
  errors: {
218
218
  edit: "The entity could not be edited at this time."
219
219
  }
220
- }, Or = {
220
+ }, Er = {
221
221
  emptyState: {
222
222
  noSearchResultsTitle: "No results found",
223
223
  noSearchResultsMessage: "Please adjust the criteria and try again.",
224
224
  noSearchResultsCtaText: "Clear"
225
225
  }
226
- }, Kr = {
226
+ }, Or = {
227
227
  title: "Configuration",
228
228
  actions: {
229
229
  copy: "Copy JSON"
@@ -258,7 +258,7 @@ const Mr = {
258
258
  entryTitle: "Entry {index}",
259
259
  structuredFormat: "Structured"
260
260
  }
261
- }, Fr = {
261
+ }, Kr = {
262
262
  filterButtonText: "Filter",
263
263
  fieldLabel: "Filter by:",
264
264
  inputPlaceholder: "Enter a value",
@@ -266,15 +266,15 @@ const Mr = {
266
266
  applyButtonText: "Apply",
267
267
  clearButtonText: "Clear",
268
268
  clearAllButtonText: "Clear all filters"
269
- }, Nr = {
269
+ }, Fr = {
270
270
  errors: {
271
271
  fetch: "Could not fetch available items",
272
272
  invalid: "Please select a valid value"
273
273
  }
274
- }, Br = {
274
+ }, Nr = {
275
275
  unexpected: "An unexpected error has occurred",
276
276
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
277
- }, qr = {
277
+ }, Br = {
278
278
  enable: {
279
279
  title: "Enable {entityType}",
280
280
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -285,19 +285,19 @@ const Mr = {
285
285
  message: "Are you sure you want to disable the {entityType} {entityName}?",
286
286
  confirmText: "Yes, disable"
287
287
  }
288
- }, Lr = {
289
- global: Mr,
290
- deleteModal: jr,
291
- baseForm: Er,
292
- baseTable: Or,
293
- baseConfigCard: Kr,
294
- filter: Fr,
295
- debouncedFilter: Nr,
296
- errors: Br,
297
- toggleModal: qr
288
+ }, qr = {
289
+ global: $r,
290
+ deleteModal: Mr,
291
+ baseForm: jr,
292
+ baseTable: Er,
293
+ baseConfigCard: Or,
294
+ filter: Kr,
295
+ debouncedFilter: Fr,
296
+ errors: Nr,
297
+ toggleModal: Br
298
298
  };
299
299
  function xt() {
300
- const e = It("en-us", Lr);
300
+ const e = It("en-us", qr);
301
301
  return {
302
302
  i18n: e,
303
303
  i18nT: yn(e)
@@ -348,14 +348,14 @@ function vn() {
348
348
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
349
349
  };
350
350
  }
351
- function Pr(e, n, t, r = {
351
+ function Lr(e, n, t, r = {
352
352
  fetchedItemsKey: "data",
353
353
  searchKeys: ["id"]
354
354
  }) {
355
355
  t || (t = "100");
356
356
  const { axiosInstance: a } = At({
357
357
  headers: e.requestHeaders
358
- }), { i18n: { t: o } } = xt(), { debounce: i } = Sr(), s = i(async (_) => {
358
+ }), { i18n: { t: o } } = xt(), { debounce: i } = xr(), s = i(async (_) => {
359
359
  await K(_);
360
360
  }, 200), l = E(!1), c = E(""), d = E(""), u = E([]), g = E([]), f = E(void 0), I = y(n);
361
361
  let b = `${e.apiBaseUrl}${I}`;
@@ -426,13 +426,13 @@ function Pr(e, n, t, r = {
426
426
  debouncedQueryChange: s
427
427
  };
428
428
  }
429
- function Vr(e, n) {
429
+ function Pr(e, n) {
430
430
  const t = y(n), r = $(
431
431
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
432
432
  );
433
433
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
434
434
  }
435
- function Ur() {
435
+ function Vr() {
436
436
  const { i18n: { t: e } } = xt();
437
437
  return {
438
438
  getMessageFromError: (n) => {
@@ -460,7 +460,7 @@ function Ur() {
460
460
  }
461
461
  };
462
462
  }
463
- function Rr(e) {
463
+ function Ur(e) {
464
464
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
465
465
  try {
466
466
  const r = e.join("/"), a = `${t}${r}`, o = e.some((i) => i.trim() === "");
@@ -489,7 +489,7 @@ function bn(e, n) {
489
489
  }
490
490
  };
491
491
  }
492
- function Dr(e, n, t = "data") {
492
+ function Rr(e, n, t = "data") {
493
493
  const r = y(n), { axiosInstance: a } = At({
494
494
  headers: e.requestHeaders
495
495
  }), o = bn(e, r), i = E({
@@ -531,7 +531,7 @@ function Dr(e, n, t = "data") {
531
531
  }
532
532
  }, fetcherState: i };
533
533
  }
534
- function Gr() {
534
+ function Dr() {
535
535
  const e = (t, r = "_") => t ? t.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
536
536
  return {
537
537
  capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
@@ -548,24 +548,24 @@ const kn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
548
548
  }, Vt = (e) => e === "*" || e === "x" || e === "X", Ut = (e) => {
549
549
  const n = parseInt(e, 10);
550
550
  return isNaN(n) ? e : n;
551
- }, Hr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], zr = (e, n) => {
551
+ }, Gr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Hr = (e, n) => {
552
552
  if (Vt(e) || Vt(n))
553
553
  return 0;
554
- const [t, r] = Hr(Ut(e), Ut(n));
554
+ const [t, r] = Gr(Ut(e), Ut(n));
555
555
  return t > r ? 1 : t < r ? -1 : 0;
556
556
  }, Rt = (e, n) => {
557
557
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
558
- const r = zr(e[t] || "0", n[t] || "0");
558
+ const r = Hr(e[t] || "0", n[t] || "0");
559
559
  if (r !== 0)
560
560
  return r;
561
561
  }
562
562
  return 0;
563
- }, Jr = (e, n) => {
563
+ }, zr = (e, n) => {
564
564
  const t = Pt(e), r = Pt(n), a = t.pop(), o = r.pop(), i = Rt(t, r);
565
565
  return i !== 0 ? i : a && o ? Rt(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
566
566
  }, Dt = (e, n, t) => {
567
- Yr(t);
568
- const r = Jr(e, n);
567
+ Jr(t);
568
+ const r = zr(e, n);
569
569
  return Cn[t].includes(r);
570
570
  }, Cn = {
571
571
  ">": [1],
@@ -574,18 +574,18 @@ const kn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
574
574
  "<=": [-1, 0],
575
575
  "<": [-1],
576
576
  "!=": [-1, 1]
577
- }, Gt = Object.keys(Cn), Yr = (e) => {
577
+ }, Gt = Object.keys(Cn), Jr = (e) => {
578
578
  if (typeof e != "string")
579
579
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
580
580
  if (Gt.indexOf(e) === -1)
581
581
  throw new Error(`Invalid operator, expected one of ${Gt.join("|")}`);
582
- }, Wr = (e) => typeof e == "string" && /^[v\d]/.test(e) && kn.test(e);
583
- function Zr(e) {
582
+ }, Yr = (e) => typeof e == "string" && /^[v\d]/.test(e) && kn.test(e);
583
+ function Wr(e) {
584
584
  const { gatewayInfo: n, supportedRange: t } = e;
585
585
  if (!n)
586
586
  return !0;
587
587
  const { edition: r, version: a } = n;
588
- if (!Wr(a))
588
+ if (!Yr(a))
589
589
  return console.error("Invalid version"), !1;
590
590
  const o = t[r];
591
591
  if (!o)
@@ -593,7 +593,7 @@ function Zr(e) {
593
593
  const [i, s] = o;
594
594
  return !(i && Dt(a, i, "<") || s && Dt(a, s, ">"));
595
595
  }
596
- function Qr(e) {
596
+ function Zr(e) {
597
597
  const n = E(0), t = E(0), r = E(!1);
598
598
  return Ae(e, (a) => {
599
599
  a && !r.value && (n.value = a.offsetWidth, t.value = a.scrollWidth, r.value = !0);
@@ -603,38 +603,38 @@ function Qr(e) {
603
603
  }
604
604
  const ce = {
605
605
  useAxios: At,
606
- useDebouncedFilter: Pr,
607
- useDeleteUrlBuilder: Vr,
608
- useErrors: Ur,
609
- useExternalLinkCreator: Rr,
610
- useFetcher: Dr,
606
+ useDebouncedFilter: Lr,
607
+ useDeleteUrlBuilder: Pr,
608
+ useErrors: Vr,
609
+ useExternalLinkCreator: Ur,
610
+ useFetcher: Rr,
611
611
  useFetchUrlBuilder: bn,
612
612
  useHelpers: vn,
613
- useStringHelpers: Gr,
613
+ useStringHelpers: Dr,
614
614
  useI18n: xt,
615
- useGatewayFeatureSupported: Zr,
616
- useTruncationDetector: Qr
617
- }, Xr = {
615
+ useGatewayFeatureSupported: Wr,
616
+ useTruncationDetector: Zr
617
+ }, Qr = {
618
618
  fail: "Failed to copy id to clipboard",
619
619
  success: {
620
620
  prefix: "Successfully",
621
621
  content: " copied to clipboard"
622
622
  }
623
- }, ea = "Copy to clipboard", ta = {
624
- message: Xr,
625
- iconTitle: ea
626
- }, na = "kong-ui-copy-uuid-notify", Ht = "24px", ra = (e, n) => {
623
+ }, Xr = "Copy to clipboard", ea = {
624
+ message: Qr,
625
+ iconTitle: Xr
626
+ }, ta = "kong-ui-copy-uuid-notify", Ht = "24px", na = (e, n) => {
627
627
  const t = e.__vccOpts || e;
628
628
  for (const [r, a] of n)
629
629
  t[r] = a;
630
630
  return t;
631
- }, aa = (e) => (mn("data-v-641e0aee"), e = e(), gn(), e), oa = ["aria-hidden"], ia = {
631
+ }, ra = (e) => (mn("data-v-641e0aee"), e = e(), gn(), e), aa = ["aria-hidden"], oa = {
632
632
  key: 0,
633
633
  "data-testid": "kui-icon-svg-title"
634
- }, sa = /* @__PURE__ */ aa(() => /* @__PURE__ */ V("path", {
634
+ }, ia = /* @__PURE__ */ ra(() => /* @__PURE__ */ V("path", {
635
635
  d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
636
636
  fill: "currentColor"
637
- }, null, -1)), la = /* @__PURE__ */ ae({
637
+ }, null, -1)), sa = /* @__PURE__ */ ae({
638
638
  __name: "CopyIcon",
639
639
  props: {
640
640
  /** The accessibility text provided to screen readers */
@@ -703,7 +703,7 @@ const ce = {
703
703
  lineHeight: "0",
704
704
  width: t.value
705
705
  }));
706
- return (a, o) => (m(), U(Ue(e.as), {
706
+ return (a, o) => (m(), U(Ne(e.as), {
707
707
  "aria-hidden": e.decorative ? "true" : void 0,
708
708
  class: "kui-icon copy-icon",
709
709
  "data-testid": "kui-icon-wrapper-copy-icon",
@@ -720,14 +720,14 @@ const ce = {
720
720
  width: "100%",
721
721
  xmlns: "http://www.w3.org/2000/svg"
722
722
  }, [
723
- e.title ? (m(), M("title", ia, O(e.title), 1)) : H("", !0),
724
- sa
725
- ], 8, oa))
723
+ e.title ? (m(), M("title", oa, O(e.title), 1)) : H("", !0),
724
+ ia
725
+ ], 8, aa))
726
726
  ]),
727
727
  _: 1
728
728
  }, 8, ["aria-hidden", "style"]));
729
729
  }
730
- }), ua = /* @__PURE__ */ ra(la, [["__scopeId", "data-v-641e0aee"]]), ca = "16px", da = { class: "kong-ui-copy-uuid" }, pa = ["onClick"], zt = 15, fa = /* @__PURE__ */ ae({
730
+ }), la = /* @__PURE__ */ na(sa, [["__scopeId", "data-v-641e0aee"]]), ua = "16px", ca = { class: "kong-ui-copy-uuid" }, da = ["onClick"], zt = 15, pa = /* @__PURE__ */ ae({
731
731
  __name: "CopyUuid",
732
732
  props: {
733
733
  uuid: {
@@ -771,7 +771,7 @@ const ce = {
771
771
  },
772
772
  emits: ["success", "error"],
773
773
  setup(e, { emit: n }) {
774
- const t = e, { t: r } = It("en-us", ta), a = t.notify || kr(na, () => {
774
+ const t = e, { t: r } = It("en-us", ea), a = t.notify || kr(ta, () => {
775
775
  }), o = $(() => t.idTooltip ? {
776
776
  label: t.idTooltip,
777
777
  positionFixed: !0,
@@ -807,8 +807,8 @@ const ce = {
807
807
  };
808
808
  return (g, f) => {
809
809
  const I = L("KClipboardProvider");
810
- return m(), M("div", da, [
811
- e.format !== "hidden" ? (m(), U(Ue(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
810
+ return m(), M("div", ca, [
811
+ e.format !== "hidden" ? (m(), U(Ne(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
812
812
  default: v(() => [
813
813
  V("div", {
814
814
  class: Fe([
@@ -820,7 +820,7 @@ const ce = {
820
820
  ]),
821
821
  _: 1
822
822
  }, 16)) : H("", !0),
823
- (m(), U(Ue(e.tooltip ? "KTooltip" : "div"), ht(l.value, { class: "uuid-icon-wrapper" }), {
823
+ (m(), U(Ne(e.tooltip ? "KTooltip" : "div"), ht(l.value, { class: "uuid-icon-wrapper" }), {
824
824
  default: v(() => [
825
825
  F(I, null, {
826
826
  default: v(({ copyToClipboard: b }) => [
@@ -830,14 +830,14 @@ const ce = {
830
830
  tabindex: "0",
831
831
  onClick: nt((p) => u(b), ["stop"])
832
832
  }, [
833
- F(y(ua), {
833
+ F(y(la), {
834
834
  class: "uuid-icon",
835
835
  color: e.iconColor,
836
836
  decorative: !!e.tooltip,
837
- size: y(ca),
837
+ size: y(ua),
838
838
  title: y(r)("iconTitle")
839
839
  }, null, 8, ["color", "decorative", "size", "title"])
840
- ], 8, pa)
840
+ ], 8, da)
841
841
  ]),
842
842
  _: 1
843
843
  })
@@ -847,15 +847,15 @@ const ce = {
847
847
  ]);
848
848
  };
849
849
  }
850
- }), ma = (e, n) => {
850
+ }), fa = (e, n) => {
851
851
  const t = e.__vccOpts || e;
852
852
  for (const [r, a] of n)
853
853
  t[r] = a;
854
854
  return t;
855
- }, wn = /* @__PURE__ */ ma(fa, [["__scopeId", "data-v-0c07874b"]]), ga = {
855
+ }, wn = /* @__PURE__ */ fa(pa, [["__scopeId", "data-v-0c07874b"]]), ma = {
856
856
  key: 0,
857
857
  class: "config-card-fieldset-title"
858
- }, ya = /* @__PURE__ */ ae({
858
+ }, ga = /* @__PURE__ */ ae({
859
859
  __name: "JsonCardItem",
860
860
  props: {
861
861
  item: {
@@ -879,11 +879,11 @@ const ce = {
879
879
  var l;
880
880
  return n.isArrayItem ? (l = o.value) != null && l.name ? r(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
881
881
  });
882
- return (l, c) => (m(), U(Ue(e.isArrayItem ? "fieldset" : "div"), {
882
+ return (l, c) => (m(), U(Ne(e.isArrayItem ? "fieldset" : "div"), {
883
883
  class: Fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
884
884
  }, {
885
885
  default: v(() => [
886
- e.isArrayItem ? (m(), M("legend", ga, [
886
+ e.isArrayItem ? (m(), M("legend", ma, [
887
887
  V("b", null, O(s.value), 1)
888
888
  ])) : H("", !0),
889
889
  (m(!0), M(be, null, he(Object.keys(i.value), (d, u) => (m(), U(St, {
@@ -903,7 +903,7 @@ const ce = {
903
903
  for (const [r, a] of n)
904
904
  t[r] = a;
905
905
  return t;
906
- }, _n = /* @__PURE__ */ Ce(ya, [["__scopeId", "data-v-68ca83ec"]]), ha = /* @__PURE__ */ ae({
906
+ }, _n = /* @__PURE__ */ Ce(ga, [["__scopeId", "data-v-68ca83ec"]]), ya = /* @__PURE__ */ ae({
907
907
  __name: "InternalLinkItem",
908
908
  props: {
909
909
  item: {
@@ -930,7 +930,7 @@ const ce = {
930
930
  ]);
931
931
  };
932
932
  }
933
- }), va = /* @__PURE__ */ Ce(ha, [["__scopeId", "data-v-c96811e5"]]), ba = /* @__PURE__ */ ae({
933
+ }), ha = /* @__PURE__ */ Ce(ya, [["__scopeId", "data-v-c96811e5"]]), va = /* @__PURE__ */ ae({
934
934
  __name: "StatusBadge",
935
935
  props: {
936
936
  status: {
@@ -952,11 +952,11 @@ const ce = {
952
952
  }, 8, ["appearance"]);
953
953
  };
954
954
  }
955
- }), ka = "#0044f4", Ca = "#e0e4ea", wa = "#3a3f51", _a = "1px", Ia = "20px", Aa = { class: "config-card-details-row" }, xa = ["data-testid"], Sa = ["data-testid"], Ta = ["data-testid"], $a = ["data-testid"], Ma = { key: 1 }, ja = ["data-testid"], Ea = ["data-testid"], Oa = ["data-testid"], Ka = ["data-testid"], Fa = {
955
+ }), ba = "#0044f4", ka = "#e0e4ea", Ca = "#3a3f51", wa = "1px", _a = "20px", Ia = { class: "config-card-details-row" }, Aa = ["data-testid"], xa = ["data-testid"], Sa = ["data-testid"], Ta = ["data-testid"], $a = { key: 1 }, Ma = ["data-testid"], ja = ["data-testid"], Ea = ["data-testid"], Oa = ["data-testid"], Ka = {
956
956
  name: "ConfigCardItem",
957
- components: { CopyUuid: wn, JsonCardItem: _n, StatusBadge: ba, InternalLinkItem: va }
958
- }, Na = /* @__PURE__ */ ae({
959
- ...Fa,
957
+ components: { CopyUuid: wn, JsonCardItem: _n, StatusBadge: va, InternalLinkItem: ha }
958
+ }, Fa = /* @__PURE__ */ ae({
959
+ ...Ka,
960
960
  props: {
961
961
  item: {
962
962
  type: Object,
@@ -977,7 +977,7 @@ const ce = {
977
977
  setup(e, { emit: n }) {
978
978
  const t = e;
979
979
  gr((f) => ({
980
- "0da74440": c.value ? "none" : `solid ${y(_a)} ${y(Ca)}`,
980
+ "0da74440": c.value ? "none" : `solid ${y(wa)} ${y(ka)}`,
981
981
  "02a039da": l.value && i.value ? "block" : "flex",
982
982
  "690f3ced": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
983
983
  "691182c8": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
@@ -1111,7 +1111,7 @@ const ce = {
1111
1111
  }), u = E(), { isTruncated: g } = ce.useTruncationDetector(u);
1112
1112
  return (f, I) => {
1113
1113
  const b = L("KLabel"), p = L("KBadge"), A = L("KTooltip");
1114
- return m(), M("div", Aa, [
1114
+ return m(), M("div", Ia, [
1115
1115
  V("div", {
1116
1116
  class: "config-card-details-label",
1117
1117
  "data-testid": `${e.item.key}-label`
@@ -1132,13 +1132,13 @@ const ce = {
1132
1132
  Z(f.$slots, "label-tooltip", {}, () => [
1133
1133
  Q(O(e.item.tooltip), 1)
1134
1134
  ], !0)
1135
- ], 8, Sa)
1135
+ ], 8, xa)
1136
1136
  ]),
1137
1137
  key: "0"
1138
1138
  } : void 0
1139
1139
  ]), 1024)
1140
1140
  ], !0)
1141
- ], 8, xa),
1141
+ ], 8, Aa),
1142
1142
  V("div", {
1143
1143
  class: "config-card-details-value",
1144
1144
  "data-testid": `${e.item.key}-property-value`
@@ -1146,8 +1146,8 @@ const ce = {
1146
1146
  Z(f.$slots, e.item.key, {
1147
1147
  rowValue: e.item.value
1148
1148
  }, () => [
1149
- i.value ? (m(), M("div", Ma, [
1150
- (m(), U(Ue(d.value.tag), yr(hr(d.value.attrs)), {
1149
+ i.value ? (m(), M("div", $a, [
1150
+ (m(), U(Ne(d.value.tag), yr(hr(d.value.attrs)), {
1151
1151
  default: v(() => [
1152
1152
  d.value.additionalComponent === "KBadge" ? (m(), M("div", {
1153
1153
  key: 0,
@@ -1165,7 +1165,7 @@ const ce = {
1165
1165
  ]),
1166
1166
  _: 2
1167
1167
  }, 1032, ["data-testid", "tooltip"]))), 128))
1168
- ], 8, ja)) : H("", !0),
1168
+ ], 8, Ma)) : H("", !0),
1169
1169
  d.value.additionalComponent === "CopyUuid" ? (m(), M("div", {
1170
1170
  key: 1,
1171
1171
  class: "copy-uuid-array",
@@ -1176,14 +1176,14 @@ const ce = {
1176
1176
  "data-testid": `${e.item.key}-copy-uuid-${K}`,
1177
1177
  uuid: h
1178
1178
  }), null, 16, ["data-testid", "uuid"]))), 128))
1179
- ], 8, Ea)) : d.value.additionalComponent === "KMethodBadge" ? (m(), M("div", {
1179
+ ], 8, ja)) : d.value.additionalComponent === "KMethodBadge" ? (m(), M("div", {
1180
1180
  key: 2,
1181
1181
  class: "method-badge-array",
1182
1182
  "data-testid": `${e.item.key}-badge-methods`
1183
1183
  }, [
1184
1184
  (m(!0), M(be, null, he(e.item.value, (h, K) => (m(), U(p, {
1185
1185
  key: `${e.item.key}-badge-method-${K}`,
1186
- appearance: Object.values(y(_r)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
1186
+ appearance: Object.values(y(wr)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
1187
1187
  class: "config-badge",
1188
1188
  "data-testid": `${e.item.key}-badge-method-${K}`
1189
1189
  }, {
@@ -1192,7 +1192,7 @@ const ce = {
1192
1192
  ]),
1193
1193
  _: 2
1194
1194
  }, 1032, ["appearance", "data-testid"]))), 128))
1195
- ], 8, Oa)) : H("", !0),
1195
+ ], 8, Ea)) : H("", !0),
1196
1196
  d.value.additionalComponent === "JsonCardItem" ? (m(), M("div", {
1197
1197
  key: 3,
1198
1198
  "data-testid": `${t.item.key}-json-array-content`
@@ -1203,7 +1203,7 @@ const ce = {
1203
1203
  "is-array-item": "",
1204
1204
  item: h
1205
1205
  }, null, 8, ["index", "item"]))), 128))
1206
- ], 8, Ka)) : (m(), U(A, {
1206
+ ], 8, Oa)) : (m(), U(A, {
1207
1207
  key: 4,
1208
1208
  label: y(g) ? e.item.value : ""
1209
1209
  }, {
@@ -1222,46 +1222,46 @@ const ce = {
1222
1222
  ])) : (m(), M("div", {
1223
1223
  key: 0,
1224
1224
  "data-testid": `${e.item.key}-no-value`
1225
- }, " – ", 8, $a))
1225
+ }, " – ", 8, Ta))
1226
1226
  ], !0)
1227
- ], 8, Ta)
1227
+ ], 8, Sa)
1228
1228
  ]);
1229
1229
  };
1230
1230
  }
1231
- }), St = /* @__PURE__ */ Ce(Na, [["__scopeId", "data-v-9c87856b"]]);
1231
+ }), St = /* @__PURE__ */ Ce(Fa, [["__scopeId", "data-v-9c87856b"]]);
1232
1232
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1233
1233
  function In(e) {
1234
1234
  return typeof e > "u" || e === null;
1235
1235
  }
1236
- function Ba(e) {
1236
+ function Na(e) {
1237
1237
  return typeof e == "object" && e !== null;
1238
1238
  }
1239
- function qa(e) {
1239
+ function Ba(e) {
1240
1240
  return Array.isArray(e) ? e : In(e) ? [] : [e];
1241
1241
  }
1242
- function La(e, n) {
1242
+ function qa(e, n) {
1243
1243
  var t, r, a, o;
1244
1244
  if (n)
1245
1245
  for (o = Object.keys(n), t = 0, r = o.length; t < r; t += 1)
1246
1246
  a = o[t], e[a] = n[a];
1247
1247
  return e;
1248
1248
  }
1249
- function Pa(e, n) {
1249
+ function La(e, n) {
1250
1250
  var t = "", r;
1251
1251
  for (r = 0; r < n; r += 1)
1252
1252
  t += e;
1253
1253
  return t;
1254
1254
  }
1255
- function Va(e) {
1255
+ function Pa(e) {
1256
1256
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1257
1257
  }
1258
- var Ua = In, Ra = Ba, Da = qa, Ga = Pa, Ha = Va, za = La, ue = {
1259
- isNothing: Ua,
1260
- isObject: Ra,
1261
- toArray: Da,
1262
- repeat: Ga,
1263
- isNegativeZero: Ha,
1264
- extend: za
1258
+ var Va = In, Ua = Na, Ra = Ba, Da = La, Ga = Pa, Ha = qa, ue = {
1259
+ isNothing: Va,
1260
+ isObject: Ua,
1261
+ toArray: Ra,
1262
+ repeat: Da,
1263
+ isNegativeZero: Ga,
1264
+ extend: Ha
1265
1265
  };
1266
1266
  function An(e, n) {
1267
1267
  var t = "", r = e.reason || "(unknown reason)";
@@ -1289,7 +1289,7 @@ function mt(e, n, t, r, a) {
1289
1289
  function gt(e, n) {
1290
1290
  return ue.repeat(" ", n - e.length) + e;
1291
1291
  }
1292
- function Ja(e, n) {
1292
+ function za(e, n) {
1293
1293
  if (n = Object.create(n || null), !e.buffer)
1294
1294
  return null;
1295
1295
  n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
@@ -1319,7 +1319,7 @@ function Ja(e, n) {
1319
1319
  `;
1320
1320
  return s.replace(/\n$/, "");
1321
1321
  }
1322
- var Ya = Ja, Wa = [
1322
+ var Ja = za, Ya = [
1323
1323
  "kind",
1324
1324
  "multi",
1325
1325
  "resolve",
@@ -1330,12 +1330,12 @@ var Ya = Ja, Wa = [
1330
1330
  "representName",
1331
1331
  "defaultStyle",
1332
1332
  "styleAliases"
1333
- ], Za = [
1333
+ ], Wa = [
1334
1334
  "scalar",
1335
1335
  "sequence",
1336
1336
  "mapping"
1337
1337
  ];
1338
- function Qa(e) {
1338
+ function Za(e) {
1339
1339
  var n = {};
1340
1340
  return e !== null && Object.keys(e).forEach(function(t) {
1341
1341
  e[t].forEach(function(r) {
@@ -1343,18 +1343,18 @@ function Qa(e) {
1343
1343
  });
1344
1344
  }), n;
1345
1345
  }
1346
- function Xa(e, n) {
1346
+ function Qa(e, n) {
1347
1347
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1348
- if (Wa.indexOf(t) === -1)
1348
+ if (Ya.indexOf(t) === -1)
1349
1349
  throw new me('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1350
1350
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1351
1351
  return !0;
1352
1352
  }, this.construct = n.construct || function(t) {
1353
1353
  return t;
1354
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Qa(n.styleAliases || null), Za.indexOf(this.kind) === -1)
1354
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Za(n.styleAliases || null), Wa.indexOf(this.kind) === -1)
1355
1355
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1356
1356
  }
1357
- var pe = Xa;
1357
+ var pe = Qa;
1358
1358
  function Jt(e, n) {
1359
1359
  var t = [];
1360
1360
  return e[n].forEach(function(r) {
@@ -1364,7 +1364,7 @@ function Jt(e, n) {
1364
1364
  }), t[a] = r;
1365
1365
  }), t;
1366
1366
  }
1367
- function eo() {
1367
+ function Xa() {
1368
1368
  var e = {
1369
1369
  scalar: {},
1370
1370
  sequence: {},
@@ -1409,7 +1409,7 @@ vt.prototype.extend = function(e) {
1409
1409
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1410
1410
  });
1411
1411
  var r = Object.create(vt.prototype);
1412
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Jt(r, "implicit"), r.compiledExplicit = Jt(r, "explicit"), r.compiledTypeMap = eo(r.compiledImplicit, r.compiledExplicit), r;
1412
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Jt(r, "implicit"), r.compiledExplicit = Jt(r, "explicit"), r.compiledTypeMap = Xa(r.compiledImplicit, r.compiledExplicit), r;
1413
1413
  };
1414
1414
  var xn = vt, Sn = new pe("tag:yaml.org,2002:str", {
1415
1415
  kind: "scalar",
@@ -1433,23 +1433,23 @@ var xn = vt, Sn = new pe("tag:yaml.org,2002:str", {
1433
1433
  $n
1434
1434
  ]
1435
1435
  });
1436
- function to(e) {
1436
+ function eo(e) {
1437
1437
  if (e === null)
1438
1438
  return !0;
1439
1439
  var n = e.length;
1440
1440
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1441
1441
  }
1442
- function no() {
1442
+ function to() {
1443
1443
  return null;
1444
1444
  }
1445
- function ro(e) {
1445
+ function no(e) {
1446
1446
  return e === null;
1447
1447
  }
1448
1448
  var jn = new pe("tag:yaml.org,2002:null", {
1449
1449
  kind: "scalar",
1450
- resolve: to,
1451
- construct: no,
1452
- predicate: ro,
1450
+ resolve: eo,
1451
+ construct: to,
1452
+ predicate: no,
1453
1453
  represent: {
1454
1454
  canonical: function() {
1455
1455
  return "~";
@@ -1469,23 +1469,23 @@ var jn = new pe("tag:yaml.org,2002:null", {
1469
1469
  },
1470
1470
  defaultStyle: "lowercase"
1471
1471
  });
1472
- function ao(e) {
1472
+ function ro(e) {
1473
1473
  if (e === null)
1474
1474
  return !1;
1475
1475
  var n = e.length;
1476
1476
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1477
1477
  }
1478
- function oo(e) {
1478
+ function ao(e) {
1479
1479
  return e === "true" || e === "True" || e === "TRUE";
1480
1480
  }
1481
- function io(e) {
1481
+ function oo(e) {
1482
1482
  return Object.prototype.toString.call(e) === "[object Boolean]";
1483
1483
  }
1484
1484
  var En = new pe("tag:yaml.org,2002:bool", {
1485
1485
  kind: "scalar",
1486
- resolve: ao,
1487
- construct: oo,
1488
- predicate: io,
1486
+ resolve: ro,
1487
+ construct: ao,
1488
+ predicate: oo,
1489
1489
  represent: {
1490
1490
  lowercase: function(e) {
1491
1491
  return e ? "true" : "false";
@@ -1499,16 +1499,16 @@ var En = new pe("tag:yaml.org,2002:bool", {
1499
1499
  },
1500
1500
  defaultStyle: "lowercase"
1501
1501
  });
1502
- function so(e) {
1502
+ function io(e) {
1503
1503
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1504
1504
  }
1505
- function lo(e) {
1505
+ function so(e) {
1506
1506
  return 48 <= e && e <= 55;
1507
1507
  }
1508
- function uo(e) {
1508
+ function lo(e) {
1509
1509
  return 48 <= e && e <= 57;
1510
1510
  }
1511
- function co(e) {
1511
+ function uo(e) {
1512
1512
  if (e === null)
1513
1513
  return !1;
1514
1514
  var n = e.length, t = 0, r = !1, a;
@@ -1529,7 +1529,7 @@ function co(e) {
1529
1529
  if (a === "x") {
1530
1530
  for (t++; t < n; t++)
1531
1531
  if (a = e[t], a !== "_") {
1532
- if (!so(e.charCodeAt(t)))
1532
+ if (!io(e.charCodeAt(t)))
1533
1533
  return !1;
1534
1534
  r = !0;
1535
1535
  }
@@ -1538,7 +1538,7 @@ function co(e) {
1538
1538
  if (a === "o") {
1539
1539
  for (t++; t < n; t++)
1540
1540
  if (a = e[t], a !== "_") {
1541
- if (!lo(e.charCodeAt(t)))
1541
+ if (!so(e.charCodeAt(t)))
1542
1542
  return !1;
1543
1543
  r = !0;
1544
1544
  }
@@ -1549,13 +1549,13 @@ function co(e) {
1549
1549
  return !1;
1550
1550
  for (; t < n; t++)
1551
1551
  if (a = e[t], a !== "_") {
1552
- if (!uo(e.charCodeAt(t)))
1552
+ if (!lo(e.charCodeAt(t)))
1553
1553
  return !1;
1554
1554
  r = !0;
1555
1555
  }
1556
1556
  return !(!r || a === "_");
1557
1557
  }
1558
- function po(e) {
1558
+ function co(e) {
1559
1559
  var n = e, t = 1, r;
1560
1560
  if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (t = -1), n = n.slice(1), r = n[0]), n === "0")
1561
1561
  return 0;
@@ -1569,14 +1569,14 @@ function po(e) {
1569
1569
  }
1570
1570
  return t * parseInt(n, 10);
1571
1571
  }
1572
- function fo(e) {
1572
+ function po(e) {
1573
1573
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ue.isNegativeZero(e);
1574
1574
  }
1575
1575
  var On = new pe("tag:yaml.org,2002:int", {
1576
1576
  kind: "scalar",
1577
- resolve: co,
1578
- construct: po,
1579
- predicate: fo,
1577
+ resolve: uo,
1578
+ construct: co,
1579
+ predicate: po,
1580
1580
  represent: {
1581
1581
  binary: function(e) {
1582
1582
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1599,21 +1599,21 @@ var On = new pe("tag:yaml.org,2002:int", {
1599
1599
  decimal: [10, "dec"],
1600
1600
  hexadecimal: [16, "hex"]
1601
1601
  }
1602
- }), mo = new RegExp(
1602
+ }), fo = new RegExp(
1603
1603
  // 2.5e4, 2.5 and integers
1604
1604
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1605
1605
  );
1606
- function go(e) {
1607
- return !(e === null || !mo.test(e) || // Quick hack to not allow integers end with `_`
1606
+ function mo(e) {
1607
+ return !(e === null || !fo.test(e) || // Quick hack to not allow integers end with `_`
1608
1608
  // Probably should update regexp & check speed
1609
1609
  e[e.length - 1] === "_");
1610
1610
  }
1611
- function yo(e) {
1611
+ function go(e) {
1612
1612
  var n, t;
1613
1613
  return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
1614
1614
  }
1615
- var ho = /^[-+]?[0-9]+e/;
1616
- function vo(e, n) {
1615
+ var yo = /^[-+]?[0-9]+e/;
1616
+ function ho(e, n) {
1617
1617
  var t;
1618
1618
  if (isNaN(e))
1619
1619
  switch (n) {
@@ -1644,17 +1644,17 @@ function vo(e, n) {
1644
1644
  }
1645
1645
  else if (ue.isNegativeZero(e))
1646
1646
  return "-0.0";
1647
- return t = e.toString(10), ho.test(t) ? t.replace("e", ".e") : t;
1647
+ return t = e.toString(10), yo.test(t) ? t.replace("e", ".e") : t;
1648
1648
  }
1649
- function bo(e) {
1649
+ function vo(e) {
1650
1650
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ue.isNegativeZero(e));
1651
1651
  }
1652
1652
  var Kn = new pe("tag:yaml.org,2002:float", {
1653
1653
  kind: "scalar",
1654
- resolve: go,
1655
- construct: yo,
1656
- predicate: bo,
1657
- represent: vo,
1654
+ resolve: mo,
1655
+ construct: go,
1656
+ predicate: vo,
1657
+ represent: ho,
1658
1658
  defaultStyle: "lowercase"
1659
1659
  }), Fn = Mn.extend({
1660
1660
  implicit: [
@@ -1668,10 +1668,10 @@ var Kn = new pe("tag:yaml.org,2002:float", {
1668
1668
  ), qn = new RegExp(
1669
1669
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1670
1670
  );
1671
- function ko(e) {
1671
+ function bo(e) {
1672
1672
  return e === null ? !1 : Bn.exec(e) !== null || qn.exec(e) !== null;
1673
1673
  }
1674
- function Co(e) {
1674
+ function ko(e) {
1675
1675
  var n, t, r, a, o, i, s, l = 0, c = null, d, u, g;
1676
1676
  if (n = Bn.exec(e), n === null && (n = qn.exec(e)), n === null)
1677
1677
  throw new Error("Date resolve error");
@@ -1684,25 +1684,25 @@ function Co(e) {
1684
1684
  }
1685
1685
  return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), g = new Date(Date.UTC(t, r, a, o, i, s, l)), c && g.setTime(g.getTime() - c), g;
1686
1686
  }
1687
- function wo(e) {
1687
+ function Co(e) {
1688
1688
  return e.toISOString();
1689
1689
  }
1690
1690
  var Ln = new pe("tag:yaml.org,2002:timestamp", {
1691
1691
  kind: "scalar",
1692
- resolve: ko,
1693
- construct: Co,
1692
+ resolve: bo,
1693
+ construct: ko,
1694
1694
  instanceOf: Date,
1695
- represent: wo
1695
+ represent: Co
1696
1696
  });
1697
- function _o(e) {
1697
+ function wo(e) {
1698
1698
  return e === "<<" || e === null;
1699
1699
  }
1700
1700
  var Pn = new pe("tag:yaml.org,2002:merge", {
1701
1701
  kind: "scalar",
1702
- resolve: _o
1702
+ resolve: wo
1703
1703
  }), Tt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1704
1704
  \r`;
1705
- function Io(e) {
1705
+ function _o(e) {
1706
1706
  if (e === null)
1707
1707
  return !1;
1708
1708
  var n, t, r = 0, a = e.length, o = Tt;
@@ -1714,37 +1714,37 @@ function Io(e) {
1714
1714
  }
1715
1715
  return r % 8 === 0;
1716
1716
  }
1717
- function Ao(e) {
1717
+ function Io(e) {
1718
1718
  var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = Tt, i = 0, s = [];
1719
1719
  for (n = 0; n < a; n++)
1720
1720
  n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(n));
1721
1721
  return t = a % 4 * 6, t === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : t === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : t === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1722
1722
  }
1723
- function xo(e) {
1723
+ function Ao(e) {
1724
1724
  var n = "", t = 0, r, a, o = e.length, i = Tt;
1725
1725
  for (r = 0; r < o; r++)
1726
1726
  r % 3 === 0 && r && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[r];
1727
1727
  return a = o % 3, a === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : a === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : a === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1728
1728
  }
1729
- function So(e) {
1729
+ function xo(e) {
1730
1730
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1731
1731
  }
1732
1732
  var Vn = new pe("tag:yaml.org,2002:binary", {
1733
1733
  kind: "scalar",
1734
- resolve: Io,
1735
- construct: Ao,
1736
- predicate: So,
1737
- represent: xo
1738
- }), To = Object.prototype.hasOwnProperty, $o = Object.prototype.toString;
1739
- function Mo(e) {
1734
+ resolve: _o,
1735
+ construct: Io,
1736
+ predicate: xo,
1737
+ represent: Ao
1738
+ }), So = Object.prototype.hasOwnProperty, To = Object.prototype.toString;
1739
+ function $o(e) {
1740
1740
  if (e === null)
1741
1741
  return !0;
1742
1742
  var n = [], t, r, a, o, i, s = e;
1743
1743
  for (t = 0, r = s.length; t < r; t += 1) {
1744
- if (a = s[t], i = !1, $o.call(a) !== "[object Object]")
1744
+ if (a = s[t], i = !1, To.call(a) !== "[object Object]")
1745
1745
  return !1;
1746
1746
  for (o in a)
1747
- if (To.call(a, o))
1747
+ if (So.call(a, o))
1748
1748
  if (!i)
1749
1749
  i = !0;
1750
1750
  else
@@ -1758,26 +1758,26 @@ function Mo(e) {
1758
1758
  }
1759
1759
  return !0;
1760
1760
  }
1761
- function jo(e) {
1761
+ function Mo(e) {
1762
1762
  return e !== null ? e : [];
1763
1763
  }
1764
1764
  var Un = new pe("tag:yaml.org,2002:omap", {
1765
1765
  kind: "sequence",
1766
- resolve: Mo,
1767
- construct: jo
1768
- }), Eo = Object.prototype.toString;
1769
- function Oo(e) {
1766
+ resolve: $o,
1767
+ construct: Mo
1768
+ }), jo = Object.prototype.toString;
1769
+ function Eo(e) {
1770
1770
  if (e === null)
1771
1771
  return !0;
1772
1772
  var n, t, r, a, o, i = e;
1773
1773
  for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1774
- if (r = i[n], Eo.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1774
+ if (r = i[n], jo.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1775
1775
  return !1;
1776
1776
  o[n] = [a[0], r[a[0]]];
1777
1777
  }
1778
1778
  return !0;
1779
1779
  }
1780
- function Ko(e) {
1780
+ function Oo(e) {
1781
1781
  if (e === null)
1782
1782
  return [];
1783
1783
  var n, t, r, a, o, i = e;
@@ -1787,25 +1787,25 @@ function Ko(e) {
1787
1787
  }
1788
1788
  var Rn = new pe("tag:yaml.org,2002:pairs", {
1789
1789
  kind: "sequence",
1790
- resolve: Oo,
1791
- construct: Ko
1792
- }), Fo = Object.prototype.hasOwnProperty;
1793
- function No(e) {
1790
+ resolve: Eo,
1791
+ construct: Oo
1792
+ }), Ko = Object.prototype.hasOwnProperty;
1793
+ function Fo(e) {
1794
1794
  if (e === null)
1795
1795
  return !0;
1796
1796
  var n, t = e;
1797
1797
  for (n in t)
1798
- if (Fo.call(t, n) && t[n] !== null)
1798
+ if (Ko.call(t, n) && t[n] !== null)
1799
1799
  return !1;
1800
1800
  return !0;
1801
1801
  }
1802
- function Bo(e) {
1802
+ function No(e) {
1803
1803
  return e !== null ? e : {};
1804
1804
  }
1805
1805
  var Dn = new pe("tag:yaml.org,2002:set", {
1806
1806
  kind: "mapping",
1807
- resolve: No,
1808
- construct: Bo
1807
+ resolve: Fo,
1808
+ construct: No
1809
1809
  }), $t = Nn.extend({
1810
1810
  implicit: [
1811
1811
  Ln,
@@ -1817,7 +1817,7 @@ var Dn = new pe("tag:yaml.org,2002:set", {
1817
1817
  Rn,
1818
1818
  Dn
1819
1819
  ]
1820
- }), Ee = Object.prototype.hasOwnProperty, rt = 1, Gn = 2, Hn = 3, at = 4, yt = 1, qo = 2, Yt = 3, Lo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Po = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, zn = /^(?:!|!!|![a-z\-]+!)$/i, Jn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1820
+ }), Ee = Object.prototype.hasOwnProperty, rt = 1, Gn = 2, Hn = 3, at = 4, yt = 1, Bo = 2, Yt = 3, qo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Lo = /[\x85\u2028\u2029]/, Po = /[,\[\]\{\}]/, zn = /^(?:!|!!|![a-z\-]+!)$/i, Jn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1821
1821
  function Wt(e) {
1822
1822
  return Object.prototype.toString.call(e);
1823
1823
  }
@@ -1830,33 +1830,33 @@ function Ke(e) {
1830
1830
  function ve(e) {
1831
1831
  return e === 9 || e === 32 || e === 10 || e === 13;
1832
1832
  }
1833
- function Pe(e) {
1833
+ function Ve(e) {
1834
1834
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1835
1835
  }
1836
- function Uo(e) {
1836
+ function Vo(e) {
1837
1837
  var n;
1838
1838
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1839
1839
  }
1840
- function Ro(e) {
1840
+ function Uo(e) {
1841
1841
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1842
1842
  }
1843
- function Do(e) {
1843
+ function Ro(e) {
1844
1844
  return 48 <= e && e <= 57 ? e - 48 : -1;
1845
1845
  }
1846
1846
  function Zt(e) {
1847
1847
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1848
1848
  ` : 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" : "";
1849
1849
  }
1850
- function Go(e) {
1850
+ function Do(e) {
1851
1851
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1852
1852
  (e - 65536 >> 10) + 55296,
1853
1853
  (e - 65536 & 1023) + 56320
1854
1854
  );
1855
1855
  }
1856
1856
  var Yn = new Array(256), Wn = new Array(256);
1857
- for (var qe = 0; qe < 256; qe++)
1858
- Yn[qe] = Zt(qe) ? 1 : 0, Wn[qe] = Zt(qe);
1859
- function Ho(e, n) {
1857
+ for (var Le = 0; Le < 256; Le++)
1858
+ Yn[Le] = Zt(Le) ? 1 : 0, Wn[Le] = Zt(Le);
1859
+ function Go(e, n) {
1860
1860
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.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 = [];
1861
1861
  }
1862
1862
  function Zn(e, n) {
@@ -1868,7 +1868,7 @@ function Zn(e, n) {
1868
1868
  line: e.line,
1869
1869
  column: e.position - e.lineStart
1870
1870
  };
1871
- return t.snippet = Ya(t), new me(n, t);
1871
+ return t.snippet = Ja(t), new me(n, t);
1872
1872
  }
1873
1873
  function j(e, n) {
1874
1874
  throw Zn(e, n);
@@ -1899,7 +1899,7 @@ function je(e, n, t, r) {
1899
1899
  for (a = 0, o = s.length; a < o; a += 1)
1900
1900
  i = s.charCodeAt(a), i === 9 || 32 <= i && i <= 1114111 || j(e, "expected valid JSON character");
1901
1901
  else
1902
- Lo.test(s) && j(e, "the stream contains non-printable characters");
1902
+ qo.test(s) && j(e, "the stream contains non-printable characters");
1903
1903
  e.result += s;
1904
1904
  }
1905
1905
  }
@@ -1908,7 +1908,7 @@ function Xt(e, n, t, r) {
1908
1908
  for (ue.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), i = 0, s = a.length; i < s; i += 1)
1909
1909
  o = a[i], Ee.call(n, o) || (n[o] = t[o], r[o] = !0);
1910
1910
  }
1911
- function Ve(e, n, t, r, a, o, i, s, l) {
1911
+ function Ue(e, n, t, r, a, o, i, s, l) {
1912
1912
  var c, d;
1913
1913
  if (Array.isArray(a))
1914
1914
  for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
@@ -1956,19 +1956,19 @@ function jt(e, n) {
1956
1956
  n === 1 ? e.result += " " : n > 1 && (e.result += ue.repeat(`
1957
1957
  `, n - 1));
1958
1958
  }
1959
- function zo(e, n, t) {
1959
+ function Ho(e, n, t) {
1960
1960
  var r, a, o, i, s, l, c, d, u = e.kind, g = e.result, f;
1961
- if (f = e.input.charCodeAt(e.position), ve(f) || Pe(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) && (a = e.input.charCodeAt(e.position + 1), ve(a) || t && Pe(a)))
1961
+ if (f = e.input.charCodeAt(e.position), ve(f) || Ve(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) && (a = e.input.charCodeAt(e.position + 1), ve(a) || t && Ve(a)))
1962
1962
  return !1;
1963
1963
  for (e.kind = "scalar", e.result = "", o = i = e.position, s = !1; f !== 0; ) {
1964
1964
  if (f === 58) {
1965
- if (a = e.input.charCodeAt(e.position + 1), ve(a) || t && Pe(a))
1965
+ if (a = e.input.charCodeAt(e.position + 1), ve(a) || t && Ve(a))
1966
1966
  break;
1967
1967
  } else if (f === 35) {
1968
1968
  if (r = e.input.charCodeAt(e.position - 1), ve(r))
1969
1969
  break;
1970
1970
  } else {
1971
- if (e.position === e.lineStart && dt(e) || t && Pe(f))
1971
+ if (e.position === e.lineStart && dt(e) || t && Ve(f))
1972
1972
  break;
1973
1973
  if (Ie(f))
1974
1974
  if (l = e.line, c = e.lineStart, d = e.lineIndent, ie(e, !1, -1), e.lineIndent >= n) {
@@ -1983,7 +1983,7 @@ function zo(e, n, t) {
1983
1983
  }
1984
1984
  return je(e, o, i, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1985
1985
  }
1986
- function Jo(e, n) {
1986
+ function zo(e, n) {
1987
1987
  var t, r, a;
1988
1988
  if (t = e.input.charCodeAt(e.position), t !== 39)
1989
1989
  return !1;
@@ -1997,7 +1997,7 @@ function Jo(e, n) {
1997
1997
  Ie(t) ? (je(e, r, a, !0), jt(e, ie(e, !1, n)), r = a = e.position) : e.position === e.lineStart && dt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1998
1998
  j(e, "unexpected end of the stream within a single quoted scalar");
1999
1999
  }
2000
- function Yo(e, n) {
2000
+ function Jo(e, n) {
2001
2001
  var t, r, a, o, i, s;
2002
2002
  if (s = e.input.charCodeAt(e.position), s !== 34)
2003
2003
  return !1;
@@ -2009,10 +2009,10 @@ function Yo(e, n) {
2009
2009
  ie(e, !1, n);
2010
2010
  else if (s < 256 && Yn[s])
2011
2011
  e.result += Wn[s], e.position++;
2012
- else if ((i = Ro(s)) > 0) {
2012
+ else if ((i = Uo(s)) > 0) {
2013
2013
  for (a = i, o = 0; a > 0; a--)
2014
- s = e.input.charCodeAt(++e.position), (i = Uo(s)) >= 0 ? o = (o << 4) + i : j(e, "expected hexadecimal character");
2015
- e.result += Go(o), e.position++;
2014
+ s = e.input.charCodeAt(++e.position), (i = Vo(s)) >= 0 ? o = (o << 4) + i : j(e, "expected hexadecimal character");
2015
+ e.result += Do(o), e.position++;
2016
2016
  } else
2017
2017
  j(e, "unknown escape sequence");
2018
2018
  t = r = e.position;
@@ -2021,7 +2021,7 @@ function Yo(e, n) {
2021
2021
  }
2022
2022
  j(e, "unexpected end of the stream within a double quoted scalar");
2023
2023
  }
2024
- function Wo(e, n) {
2024
+ function Yo(e, n) {
2025
2025
  var t = !0, r, a, o, i = e.tag, s, l = e.anchor, c, d, u, g, f, I = /* @__PURE__ */ Object.create(null), b, p, A, h;
2026
2026
  if (h = e.input.charCodeAt(e.position), h === 91)
2027
2027
  d = 93, f = !1, s = [];
@@ -2032,11 +2032,11 @@ function Wo(e, n) {
2032
2032
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), h = e.input.charCodeAt(++e.position); h !== 0; ) {
2033
2033
  if (ie(e, !0, n), h = e.input.charCodeAt(e.position), h === d)
2034
2034
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2035
- t ? h === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = b = A = null, u = g = !1, h === 63 && (c = e.input.charCodeAt(e.position + 1), ve(c) && (u = g = !0, e.position++, ie(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, Re(e, n, rt, !1, !0), p = e.tag, b = e.result, ie(e, !0, n), h = e.input.charCodeAt(e.position), (g || e.line === r) && h === 58 && (u = !0, h = e.input.charCodeAt(++e.position), ie(e, !0, n), Re(e, n, rt, !1, !0), A = e.result), f ? Ve(e, s, I, p, b, A, r, a, o) : u ? s.push(Ve(e, null, I, p, b, A, r, a, o)) : s.push(b), ie(e, !0, n), h = e.input.charCodeAt(e.position), h === 44 ? (t = !0, h = e.input.charCodeAt(++e.position)) : t = !1;
2035
+ t ? h === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = b = A = null, u = g = !1, h === 63 && (c = e.input.charCodeAt(e.position + 1), ve(c) && (u = g = !0, e.position++, ie(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, Re(e, n, rt, !1, !0), p = e.tag, b = e.result, ie(e, !0, n), h = e.input.charCodeAt(e.position), (g || e.line === r) && h === 58 && (u = !0, h = e.input.charCodeAt(++e.position), ie(e, !0, n), Re(e, n, rt, !1, !0), A = e.result), f ? Ue(e, s, I, p, b, A, r, a, o) : u ? s.push(Ue(e, null, I, p, b, A, r, a, o)) : s.push(b), ie(e, !0, n), h = e.input.charCodeAt(e.position), h === 44 ? (t = !0, h = e.input.charCodeAt(++e.position)) : t = !1;
2036
2036
  }
2037
2037
  j(e, "unexpected end of the stream within a flow collection");
2038
2038
  }
2039
- function Zo(e, n) {
2039
+ function Wo(e, n) {
2040
2040
  var t, r, a = yt, o = !1, i = !1, s = n, l = 0, c = !1, d, u;
2041
2041
  if (u = e.input.charCodeAt(e.position), u === 124)
2042
2042
  r = !1;
@@ -2046,8 +2046,8 @@ function Zo(e, n) {
2046
2046
  return !1;
2047
2047
  for (e.kind = "scalar", e.result = ""; u !== 0; )
2048
2048
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
2049
- yt === a ? a = u === 43 ? Yt : qo : j(e, "repeat of a chomping mode identifier");
2050
- else if ((d = Do(u)) >= 0)
2049
+ yt === a ? a = u === 43 ? Yt : Bo : j(e, "repeat of a chomping mode identifier");
2050
+ else if ((d = Ro(u)) >= 0)
2051
2051
  d === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? j(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2052
2052
  else
2053
2053
  break;
@@ -2099,13 +2099,13 @@ function en(e, n) {
2099
2099
  }
2100
2100
  return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
2101
2101
  }
2102
- function Qo(e, n, t) {
2102
+ function Zo(e, n, t) {
2103
2103
  var r, a, o, i, s, l, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, I = null, b = null, p = !1, A = !1, h;
2104
2104
  if (e.firstTabInLine !== -1)
2105
2105
  return !1;
2106
2106
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), h = e.input.charCodeAt(e.position); h !== 0; ) {
2107
2107
  if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (h === 63 || h === 58) && ve(r))
2108
- h === 63 ? (p && (Ve(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !0, a = !0) : p ? (p = !1, a = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, h = r;
2108
+ h === 63 ? (p && (Ue(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !0, a = !0) : p ? (p = !1, a = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, h = r;
2109
2109
  else {
2110
2110
  if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Gn, !1, !0))
2111
2111
  break;
@@ -2113,7 +2113,7 @@ function Qo(e, n, t) {
2113
2113
  for (h = e.input.charCodeAt(e.position); Ke(h); )
2114
2114
  h = e.input.charCodeAt(++e.position);
2115
2115
  if (h === 58)
2116
- h = e.input.charCodeAt(++e.position), ve(h) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ve(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !1, a = !1, f = e.tag, I = e.result;
2116
+ h = e.input.charCodeAt(++e.position), ve(h) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !1, a = !1, f = e.tag, I = e.result;
2117
2117
  else if (A)
2118
2118
  j(e, "can not read an implicit mapping pair; a colon is missed");
2119
2119
  else
@@ -2123,14 +2123,14 @@ function Qo(e, n, t) {
2123
2123
  else
2124
2124
  return e.tag = c, e.anchor = d, !0;
2125
2125
  }
2126
- if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, a) && (p ? I = e.result : b = e.result), p || (Ve(e, u, g, f, I, b, i, s, l), f = I = b = null), ie(e, !0, -1), h = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && h !== 0)
2126
+ if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, a) && (p ? I = e.result : b = e.result), p || (Ue(e, u, g, f, I, b, i, s, l), f = I = b = null), ie(e, !0, -1), h = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && h !== 0)
2127
2127
  j(e, "bad indentation of a mapping entry");
2128
2128
  else if (e.lineIndent < n)
2129
2129
  break;
2130
2130
  }
2131
- return p && Ve(e, u, g, f, I, null, i, s, l), A && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), A;
2131
+ return p && Ue(e, u, g, f, I, null, i, s, l), A && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), A;
2132
2132
  }
2133
- function Xo(e) {
2133
+ function Qo(e) {
2134
2134
  var n, t = !1, r = !1, a, o, i;
2135
2135
  if (i = e.input.charCodeAt(e.position), i !== 33)
2136
2136
  return !1;
@@ -2142,7 +2142,7 @@ function Xo(e) {
2142
2142
  } else {
2143
2143
  for (; i !== 0 && !ve(i); )
2144
2144
  i === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), zn.test(a) || j(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2145
- o = e.input.slice(n, e.position), Vo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2145
+ o = e.input.slice(n, e.position), Po.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2146
2146
  }
2147
2147
  o && !Jn.test(o) && j(e, "tag name cannot contain such characters: " + o);
2148
2148
  try {
@@ -2152,28 +2152,28 @@ function Xo(e) {
2152
2152
  }
2153
2153
  return t ? e.tag = o : Ee.call(e.tagMap, a) ? e.tag = e.tagMap[a] + o : a === "!" ? e.tag = "!" + o : a === "!!" ? e.tag = "tag:yaml.org,2002:" + o : j(e, 'undeclared tag handle "' + a + '"'), !0;
2154
2154
  }
2155
- function ei(e) {
2155
+ function Xo(e) {
2156
2156
  var n, t;
2157
2157
  if (t = e.input.charCodeAt(e.position), t !== 38)
2158
2158
  return !1;
2159
- for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ve(t) && !Pe(t); )
2159
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ve(t) && !Ve(t); )
2160
2160
  t = e.input.charCodeAt(++e.position);
2161
2161
  return e.position === n && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2162
2162
  }
2163
- function ti(e) {
2163
+ function ei(e) {
2164
2164
  var n, t, r;
2165
2165
  if (r = e.input.charCodeAt(e.position), r !== 42)
2166
2166
  return !1;
2167
- for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !ve(r) && !Pe(r); )
2167
+ for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !ve(r) && !Ve(r); )
2168
2168
  r = e.input.charCodeAt(++e.position);
2169
2169
  return e.position === n && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Ee.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ie(e, !0, -1), !0;
2170
2170
  }
2171
2171
  function Re(e, n, t, r, a) {
2172
2172
  var o, i, s, l = 1, c = !1, d = !1, u, g, f, I, b, p;
2173
2173
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = at === t || Hn === t, r && ie(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2174
- for (; Xo(e) || ei(e); )
2174
+ for (; Qo(e) || Xo(e); )
2175
2175
  ie(e, !0, -1) ? (c = !0, s = o, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2176
- if (s && (s = c || a), (l === 1 || at === t) && (rt === t || Gn === t ? b = n : b = n + 1, p = e.position - e.lineStart, l === 1 ? s && (en(e, p) || Qo(e, p, b)) || Wo(e, b) ? d = !0 : (i && Zo(e, b) || Jo(e, b) || Yo(e, b) ? d = !0 : ti(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : zo(e, b, rt === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && en(e, p))), e.tag === null)
2176
+ if (s && (s = c || a), (l === 1 || at === t) && (rt === t || Gn === t ? b = n : b = n + 1, p = e.position - e.lineStart, l === 1 ? s && (en(e, p) || Zo(e, p, b)) || Yo(e, b) ? d = !0 : (i && Wo(e, b) || zo(e, b) || Jo(e, b) ? d = !0 : ei(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Ho(e, b, rt === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && en(e, p))), e.tag === null)
2177
2177
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2178
2178
  else if (e.tag === "?") {
2179
2179
  for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
@@ -2194,7 +2194,7 @@ function Re(e, n, t, r, a) {
2194
2194
  }
2195
2195
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2196
2196
  }
2197
- function ni(e) {
2197
+ function ti(e) {
2198
2198
  var n = e.position, t, r, a, o = !1, i;
2199
2199
  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 && (ie(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2200
2200
  for (o = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !ve(i); )
@@ -2216,7 +2216,7 @@ function ni(e) {
2216
2216
  }
2217
2217
  i !== 0 && Mt(e), Ee.call(Qt, r) ? Qt[r](e, r, a) : ot(e, 'unknown document directive "' + r + '"');
2218
2218
  }
2219
- if (ie(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, ie(e, !0, -1)) : o && j(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ie(e, !0, -1), e.checkLineBreaks && Po.test(e.input.slice(n, e.position)) && ot(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2219
+ if (ie(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, ie(e, !0, -1)) : o && j(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ie(e, !0, -1), e.checkLineBreaks && Lo.test(e.input.slice(n, e.position)) && ot(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2220
2220
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ie(e, !0, -1));
2221
2221
  return;
2222
2222
  }
@@ -2228,14 +2228,14 @@ function ni(e) {
2228
2228
  function Qn(e, n) {
2229
2229
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2230
2230
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2231
- var t = new Ho(e, n), r = e.indexOf("\0");
2231
+ var t = new Go(e, n), r = e.indexOf("\0");
2232
2232
  for (r !== -1 && (t.position = r, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2233
2233
  t.lineIndent += 1, t.position += 1;
2234
2234
  for (; t.position < t.length - 1; )
2235
- ni(t);
2235
+ ti(t);
2236
2236
  return t.documents;
2237
2237
  }
2238
- function ri(e, n, t) {
2238
+ function ni(e, n, t) {
2239
2239
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2240
2240
  var r = Qn(e, t);
2241
2241
  if (typeof n != "function")
@@ -2243,7 +2243,7 @@ function ri(e, n, t) {
2243
2243
  for (var a = 0, o = r.length; a < o; a += 1)
2244
2244
  n(r[a]);
2245
2245
  }
2246
- function ai(e, n) {
2246
+ function ri(e, n) {
2247
2247
  var t = Qn(e, n);
2248
2248
  if (t.length !== 0) {
2249
2249
  if (t.length === 1)
@@ -2251,10 +2251,10 @@ function ai(e, n) {
2251
2251
  throw new me("expected a single document in the stream, but found more");
2252
2252
  }
2253
2253
  }
2254
- var oi = ri, ii = ai, Xn = {
2255
- loadAll: oi,
2256
- load: ii
2257
- }, er = Object.prototype.toString, tr = Object.prototype.hasOwnProperty, Et = 65279, si = 9, Ze = 10, li = 13, ui = 32, ci = 33, di = 34, bt = 35, pi = 37, fi = 38, mi = 39, gi = 42, nr = 44, yi = 45, it = 58, hi = 61, vi = 62, bi = 63, ki = 64, rr = 91, ar = 93, Ci = 96, or = 123, wi = 124, ir = 125, fe = {};
2254
+ var ai = ni, oi = ri, Xn = {
2255
+ loadAll: ai,
2256
+ load: oi
2257
+ }, er = Object.prototype.toString, tr = Object.prototype.hasOwnProperty, Et = 65279, ii = 9, Ze = 10, si = 13, li = 32, ui = 33, ci = 34, bt = 35, di = 37, pi = 38, fi = 39, mi = 42, nr = 44, gi = 45, it = 58, yi = 61, hi = 62, vi = 63, bi = 64, rr = 91, ar = 93, ki = 96, or = 123, Ci = 124, ir = 125, fe = {};
2258
2258
  fe[0] = "\\0";
2259
2259
  fe[7] = "\\a";
2260
2260
  fe[8] = "\\b";
@@ -2270,7 +2270,7 @@ fe[133] = "\\N";
2270
2270
  fe[160] = "\\_";
2271
2271
  fe[8232] = "\\L";
2272
2272
  fe[8233] = "\\P";
2273
- var _i = [
2273
+ var wi = [
2274
2274
  "y",
2275
2275
  "Y",
2276
2276
  "yes",
@@ -2287,8 +2287,8 @@ var _i = [
2287
2287
  "off",
2288
2288
  "Off",
2289
2289
  "OFF"
2290
- ], Ii = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2291
- function Ai(e, n) {
2290
+ ], _i = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2291
+ function Ii(e, n) {
2292
2292
  var t, r, a, o, i, s, l;
2293
2293
  if (n === null)
2294
2294
  return {};
@@ -2296,7 +2296,7 @@ function Ai(e, n) {
2296
2296
  i = r[a], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && tr.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2297
2297
  return t;
2298
2298
  }
2299
- function xi(e) {
2299
+ function Ai(e) {
2300
2300
  var n, t, r;
2301
2301
  if (n = e.toString(16).toUpperCase(), e <= 255)
2302
2302
  t = "x", r = 2;
@@ -2308,9 +2308,9 @@ function xi(e) {
2308
2308
  throw new me("code point within a string may not be greater than 0xFFFFFFFF");
2309
2309
  return "\\" + t + ue.repeat("0", r - n.length) + n;
2310
2310
  }
2311
- var Si = 1, Qe = 2;
2312
- function Ti(e) {
2313
- this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ue.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ai(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 : Si, 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;
2311
+ var xi = 1, Qe = 2;
2312
+ function Si(e) {
2313
+ this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ue.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ii(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 : xi, 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;
2314
2314
  }
2315
2315
  function tn(e, n) {
2316
2316
  for (var t = ue.repeat(" ", n), r = 0, a = -1, o = "", i, s = e.length; r < s; )
@@ -2323,7 +2323,7 @@ function kt(e, n) {
2323
2323
  return `
2324
2324
  ` + ue.repeat(" ", e.indent * n);
2325
2325
  }
2326
- function $i(e, n) {
2326
+ function Ti(e, n) {
2327
2327
  var t, r, a;
2328
2328
  for (t = 0, r = e.implicitTypes.length; t < r; t += 1)
2329
2329
  if (a = e.implicitTypes[t], a.resolve(n))
@@ -2331,13 +2331,13 @@ function $i(e, n) {
2331
2331
  return !1;
2332
2332
  }
2333
2333
  function st(e) {
2334
- return e === ui || e === si;
2334
+ return e === li || e === ii;
2335
2335
  }
2336
2336
  function Xe(e) {
2337
2337
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Et || 65536 <= e && e <= 1114111;
2338
2338
  }
2339
2339
  function nn(e) {
2340
- return Xe(e) && e !== Et && e !== li && e !== Ze;
2340
+ return Xe(e) && e !== Et && e !== si && e !== Ze;
2341
2341
  }
2342
2342
  function rn(e, n, t) {
2343
2343
  var r = nn(e), a = r && !st(e);
@@ -2349,10 +2349,10 @@ function rn(e, n, t) {
2349
2349
  ) : r && e !== nr && e !== rr && e !== ar && e !== or && e !== ir) && e !== bt && !(n === it && !a) || nn(n) && !st(n) && e === bt || n === it && a
2350
2350
  );
2351
2351
  }
2352
- function Mi(e) {
2353
- return Xe(e) && e !== Et && !st(e) && e !== yi && e !== bi && e !== it && e !== nr && e !== rr && e !== ar && e !== or && e !== ir && e !== bt && e !== fi && e !== gi && e !== ci && e !== wi && e !== hi && e !== vi && e !== mi && e !== di && e !== pi && e !== ki && e !== Ci;
2352
+ function $i(e) {
2353
+ return Xe(e) && e !== Et && !st(e) && e !== gi && e !== vi && e !== it && e !== nr && e !== rr && e !== ar && e !== or && e !== ir && e !== bt && e !== pi && e !== mi && e !== ui && e !== Ci && e !== yi && e !== hi && e !== fi && e !== ci && e !== di && e !== bi && e !== ki;
2354
2354
  }
2355
- function ji(e) {
2355
+ function Mi(e) {
2356
2356
  return !st(e) && e !== it;
2357
2357
  }
2358
2358
  function ze(e, n) {
@@ -2363,13 +2363,13 @@ function sr(e) {
2363
2363
  var n = /^\n* /;
2364
2364
  return n.test(e);
2365
2365
  }
2366
- var lr = 1, Ct = 2, ur = 3, cr = 4, Le = 5;
2367
- function Ei(e, n, t, r, a, o, i, s) {
2368
- var l, c = 0, d = null, u = !1, g = !1, f = r !== -1, I = -1, b = Mi(ze(e, 0)) && ji(ze(e, e.length - 1));
2366
+ var lr = 1, Ct = 2, ur = 3, cr = 4, Pe = 5;
2367
+ function ji(e, n, t, r, a, o, i, s) {
2368
+ var l, c = 0, d = null, u = !1, g = !1, f = r !== -1, I = -1, b = $i(ze(e, 0)) && Mi(ze(e, e.length - 1));
2369
2369
  if (n || i)
2370
2370
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2371
2371
  if (c = ze(e, l), !Xe(c))
2372
- return Le;
2372
+ return Pe;
2373
2373
  b = b && rn(c, d, s), d = c;
2374
2374
  }
2375
2375
  else {
@@ -2378,24 +2378,24 @@ function Ei(e, n, t, r, a, o, i, s) {
2378
2378
  u = !0, f && (g = g || // Foldable line = too long, and not more-indented.
2379
2379
  l - I - 1 > r && e[I + 1] !== " ", I = l);
2380
2380
  else if (!Xe(c))
2381
- return Le;
2381
+ return Pe;
2382
2382
  b = b && rn(c, d, s), d = c;
2383
2383
  }
2384
2384
  g = g || f && l - I - 1 > r && e[I + 1] !== " ";
2385
2385
  }
2386
- return !u && !g ? b && !i && !a(e) ? lr : o === Qe ? Le : Ct : t > 9 && sr(e) ? Le : i ? o === Qe ? Le : Ct : g ? cr : ur;
2386
+ return !u && !g ? b && !i && !a(e) ? lr : o === Qe ? Pe : Ct : t > 9 && sr(e) ? Pe : i ? o === Qe ? Pe : Ct : g ? cr : ur;
2387
2387
  }
2388
- function Oi(e, n, t, r, a) {
2388
+ function Ei(e, n, t, r, a) {
2389
2389
  e.dump = function() {
2390
2390
  if (n.length === 0)
2391
2391
  return e.quotingType === Qe ? '""' : "''";
2392
- if (!e.noCompatMode && (_i.indexOf(n) !== -1 || Ii.test(n)))
2392
+ if (!e.noCompatMode && (wi.indexOf(n) !== -1 || _i.test(n)))
2393
2393
  return e.quotingType === Qe ? '"' + n + '"' : "'" + n + "'";
2394
2394
  var o = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2395
2395
  function l(c) {
2396
- return $i(e, c);
2396
+ return Ti(e, c);
2397
2397
  }
2398
- switch (Ei(
2398
+ switch (ji(
2399
2399
  n,
2400
2400
  s,
2401
2401
  e.indent,
@@ -2412,9 +2412,9 @@ function Oi(e, n, t, r, a) {
2412
2412
  case ur:
2413
2413
  return "|" + an(n, e.indent) + on(tn(n, o));
2414
2414
  case cr:
2415
- return ">" + an(n, e.indent) + on(tn(Ki(n, i), o));
2416
- case Le:
2417
- return '"' + Fi(n) + '"';
2415
+ return ">" + an(n, e.indent) + on(tn(Oi(n, i), o));
2416
+ case Pe:
2417
+ return '"' + Ki(n) + '"';
2418
2418
  default:
2419
2419
  throw new me("impossible error: invalid scalar style");
2420
2420
  }
@@ -2432,7 +2432,7 @@ function on(e) {
2432
2432
  return e[e.length - 1] === `
2433
2433
  ` ? e.slice(0, -1) : e;
2434
2434
  }
2435
- function Ki(e, n) {
2435
+ function Oi(e, n) {
2436
2436
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2437
2437
  var c = e.indexOf(`
2438
2438
  `);
@@ -2455,12 +2455,12 @@ function sn(e, n) {
2455
2455
  `, e.length - a > n && i > a ? l += e.slice(a, i) + `
2456
2456
  ` + e.slice(i + 1) : l += e.slice(a), l.slice(1);
2457
2457
  }
2458
- function Fi(e) {
2458
+ function Ki(e) {
2459
2459
  for (var n = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2460
- t = ze(e, a), r = fe[t], !r && Xe(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || xi(t);
2460
+ t = ze(e, a), r = fe[t], !r && Xe(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || Ai(t);
2461
2461
  return n;
2462
2462
  }
2463
- function Ni(e, n, t) {
2463
+ function Fi(e, n, t) {
2464
2464
  var r = "", a = e.tag, o, i, s;
2465
2465
  for (o = 0, i = t.length; o < i; o += 1)
2466
2466
  s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (Te(e, n, s, !1, !1) || typeof s > "u" && Te(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
@@ -2472,13 +2472,13 @@ function ln(e, n, t, r) {
2472
2472
  l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Te(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Te(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += kt(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2473
2473
  e.tag = o, e.dump = a || "[]";
2474
2474
  }
2475
- function Bi(e, n, t) {
2475
+ function Ni(e, n, t) {
2476
2476
  var r = "", a = e.tag, o = Object.keys(t), i, s, l, c, d;
2477
2477
  for (i = 0, s = o.length; i < s; i += 1)
2478
2478
  d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = o[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), Te(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Te(e, n, c, !1, !1) && (d += e.dump, r += d));
2479
2479
  e.tag = a, e.dump = "{" + r + "}";
2480
2480
  }
2481
- function qi(e, n, t, r) {
2481
+ function Bi(e, n, t, r) {
2482
2482
  var a = "", o = e.tag, i = Object.keys(t), s, l, c, d, u, g;
2483
2483
  if (e.sortKeys === !0)
2484
2484
  i.sort();
@@ -2516,11 +2516,11 @@ function Te(e, n, t, r, a, o, i) {
2516
2516
  e.dump = "*ref_" + u;
2517
2517
  else {
2518
2518
  if (d && g && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), s === "[object Object]")
2519
- r && Object.keys(e.dump).length !== 0 ? (qi(e, n, e.dump, a), g && (e.dump = "&ref_" + u + e.dump)) : (Bi(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2519
+ r && Object.keys(e.dump).length !== 0 ? (Bi(e, n, e.dump, a), g && (e.dump = "&ref_" + u + e.dump)) : (Ni(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2520
2520
  else if (s === "[object Array]")
2521
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? ln(e, n - 1, e.dump, a) : ln(e, n, e.dump, a), g && (e.dump = "&ref_" + u + e.dump)) : (Ni(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2521
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? ln(e, n - 1, e.dump, a) : ln(e, n, e.dump, a), g && (e.dump = "&ref_" + u + e.dump)) : (Fi(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2522
2522
  else if (s === "[object String]")
2523
- e.tag !== "?" && Oi(e, e.dump, n, o, l);
2523
+ e.tag !== "?" && Ei(e, e.dump, n, o, l);
2524
2524
  else {
2525
2525
  if (s === "[object Undefined]" || e.skipInvalid)
2526
2526
  return !1;
@@ -2532,7 +2532,7 @@ function Te(e, n, t, r, a, o, i) {
2532
2532
  }
2533
2533
  return !0;
2534
2534
  }
2535
- function Li(e, n) {
2535
+ function qi(e, n) {
2536
2536
  var t = [], r = [], a, o;
2537
2537
  for (wt(e, t, r), a = 0, o = r.length; a < o; a += 1)
2538
2538
  n.duplicates.push(t[r[a]]);
@@ -2550,23 +2550,23 @@ function wt(e, n, t) {
2550
2550
  for (r = Object.keys(e), a = 0, o = r.length; a < o; a += 1)
2551
2551
  wt(e[r[a]], n, t);
2552
2552
  }
2553
- function Pi(e, n) {
2553
+ function Li(e, n) {
2554
2554
  n = n || {};
2555
- var t = new Ti(n);
2556
- t.noRefs || Li(e, t);
2555
+ var t = new Si(n);
2556
+ t.noRefs || qi(e, t);
2557
2557
  var r = e;
2558
2558
  return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Te(t, 0, r, !0, !0) ? t.dump + `
2559
2559
  ` : "";
2560
2560
  }
2561
- var Vi = Pi, Ui = {
2562
- dump: Vi
2561
+ var Pi = Li, Vi = {
2562
+ dump: Pi
2563
2563
  };
2564
2564
  function Ot(e, n) {
2565
2565
  return function() {
2566
2566
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2567
2567
  };
2568
2568
  }
2569
- var Ri = pe, Di = xn, Gi = Mn, Hi = Fn, zi = Nn, Ji = $t, Yi = Xn.load, Wi = Xn.loadAll, Zi = Ui.dump, Qi = me, Xi = {
2569
+ var Ui = pe, Ri = xn, Di = Mn, Gi = Fn, Hi = Nn, zi = $t, Ji = Xn.load, Yi = Xn.loadAll, Wi = Vi.dump, Zi = me, Qi = {
2570
2570
  binary: Vn,
2571
2571
  float: Kn,
2572
2572
  map: $n,
@@ -2580,35 +2580,35 @@ var Ri = pe, Di = xn, Gi = Mn, Hi = Fn, zi = Nn, Ji = $t, Yi = Xn.load, Wi = Xn.
2580
2580
  omap: Un,
2581
2581
  seq: Tn,
2582
2582
  str: Sn
2583
- }, es = Ot("safeLoad", "load"), ts = Ot("safeLoadAll", "loadAll"), ns = Ot("safeDump", "dump"), rs = {
2584
- Type: Ri,
2585
- Schema: Di,
2586
- FAILSAFE_SCHEMA: Gi,
2587
- JSON_SCHEMA: Hi,
2588
- CORE_SCHEMA: zi,
2589
- DEFAULT_SCHEMA: Ji,
2590
- load: Yi,
2591
- loadAll: Wi,
2592
- dump: Zi,
2593
- YAMLException: Qi,
2594
- types: Xi,
2595
- safeLoad: es,
2596
- safeLoadAll: ts,
2597
- safeDump: ns
2583
+ }, Xi = Ot("safeLoad", "load"), es = Ot("safeLoadAll", "loadAll"), ts = Ot("safeDump", "dump"), ns = {
2584
+ Type: Ui,
2585
+ Schema: Ri,
2586
+ FAILSAFE_SCHEMA: Di,
2587
+ JSON_SCHEMA: Gi,
2588
+ CORE_SCHEMA: Hi,
2589
+ DEFAULT_SCHEMA: zi,
2590
+ load: Ji,
2591
+ loadAll: Yi,
2592
+ dump: Wi,
2593
+ YAMLException: Zi,
2594
+ types: Qi,
2595
+ safeLoad: Xi,
2596
+ safeLoadAll: es,
2597
+ safeDump: ts
2598
2598
  };
2599
- const as = {
2599
+ const rs = {
2600
2600
  key: 0,
2601
2601
  class: "config-card-display-form"
2602
- }, os = ["data-testid"], is = {
2602
+ }, as = ["data-testid"], os = {
2603
2603
  key: 0,
2604
2604
  class: "config-card-prop-section-title"
2605
- }, ss = {
2605
+ }, is = {
2606
2606
  key: 1,
2607
2607
  class: "config-card-display-json"
2608
- }, ls = {
2608
+ }, ss = {
2609
2609
  key: 2,
2610
2610
  class: "config-card-display-yaml"
2611
- }, us = /* @__PURE__ */ ae({
2611
+ }, ls = /* @__PURE__ */ ae({
2612
2612
  __name: "ConfigCardDisplay",
2613
2613
  props: {
2614
2614
  propertyCollections: {
@@ -2638,18 +2638,18 @@ const as = {
2638
2638
  return Ae(() => n.format, (s) => {
2639
2639
  if (s !== "structured") {
2640
2640
  const l = JSON.parse(JSON.stringify(n.record));
2641
- delete l.created_at, delete l.updated_at, s === "json" ? o.value = JSON.stringify(l, null, 2) : s === "yaml" && (i.value = rs.dump(l));
2641
+ delete l.created_at, delete l.updated_at, s === "json" ? o.value = JSON.stringify(l, null, 2) : s === "yaml" && (i.value = ns.dump(l));
2642
2642
  }
2643
2643
  }, { immediate: !0 }), (s, l) => {
2644
2644
  const c = L("KCodeBlock");
2645
2645
  return m(), M(be, null, [
2646
- e.format === "structured" ? (m(), M("div", as, [
2646
+ e.format === "structured" ? (m(), M("div", rs, [
2647
2647
  (m(!0), M(be, null, he(e.propListTypes, (d) => (m(), M("div", {
2648
2648
  key: `config-card-details-${d}-props`,
2649
2649
  class: Fe(`config-card-details-${d}-props`),
2650
2650
  "data-testid": `config-card-details-${d}-props`
2651
2651
  }, [
2652
- d !== "basic" ? (m(), M("div", is, O(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2652
+ d !== "basic" ? (m(), M("div", os, O(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2653
2653
  (m(!0), M(be, null, he(e.propertyCollections[d], (u) => (m(), U(St, {
2654
2654
  key: u.key,
2655
2655
  item: u
@@ -2673,9 +2673,9 @@ const as = {
2673
2673
  key: "0"
2674
2674
  } : void 0
2675
2675
  ]), 1032, ["item"]))), 128))
2676
- ], 10, os))), 128))
2676
+ ], 10, as))), 128))
2677
2677
  ])) : H("", !0),
2678
- e.format === "json" ? (m(), M("div", ss, [
2678
+ e.format === "json" ? (m(), M("div", is, [
2679
2679
  F(c, {
2680
2680
  id: "config-card-codeblock",
2681
2681
  code: o.value,
@@ -2683,7 +2683,7 @@ const as = {
2683
2683
  theme: "dark"
2684
2684
  }, null, 8, ["code"])
2685
2685
  ])) : H("", !0),
2686
- e.format === "yaml" ? (m(), M("div", ls, [
2686
+ e.format === "yaml" ? (m(), M("div", ss, [
2687
2687
  F(c, {
2688
2688
  id: "config-card-codeblock",
2689
2689
  code: i.value,
@@ -2694,18 +2694,18 @@ const as = {
2694
2694
  ], 64);
2695
2695
  };
2696
2696
  }
2697
- }), cs = /* @__PURE__ */ Ce(us, [["__scopeId", "data-v-c914c7e4"]]), cn = "24px", ds = (e, n) => {
2697
+ }), us = /* @__PURE__ */ Ce(ls, [["__scopeId", "data-v-c914c7e4"]]), cn = "24px", cs = (e, n) => {
2698
2698
  const t = e.__vccOpts || e;
2699
2699
  for (const [r, a] of n)
2700
2700
  t[r] = a;
2701
2701
  return t;
2702
- }, ps = (e) => (mn("data-v-a53b73fd"), e = e(), gn(), e), fs = ["aria-hidden"], ms = {
2702
+ }, ds = (e) => (mn("data-v-a53b73fd"), e = e(), gn(), e), ps = ["aria-hidden"], fs = {
2703
2703
  key: 0,
2704
2704
  "data-testid": "kui-icon-svg-title"
2705
- }, gs = /* @__PURE__ */ ps(() => /* @__PURE__ */ V("path", {
2705
+ }, ms = /* @__PURE__ */ ds(() => /* @__PURE__ */ V("path", {
2706
2706
  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",
2707
2707
  fill: "currentColor"
2708
- }, null, -1)), ys = /* @__PURE__ */ ae({
2708
+ }, null, -1)), gs = /* @__PURE__ */ ae({
2709
2709
  __name: "BookIcon",
2710
2710
  props: {
2711
2711
  /** The accessibility text provided to screen readers */
@@ -2774,7 +2774,7 @@ const as = {
2774
2774
  lineHeight: "0",
2775
2775
  width: t.value
2776
2776
  }));
2777
- return (a, o) => (m(), U(Ue(e.as), {
2777
+ return (a, o) => (m(), U(Ne(e.as), {
2778
2778
  "aria-hidden": e.decorative ? "true" : void 0,
2779
2779
  class: "kui-icon book-icon",
2780
2780
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2791,23 +2791,23 @@ const as = {
2791
2791
  width: "100%",
2792
2792
  xmlns: "http://www.w3.org/2000/svg"
2793
2793
  }, [
2794
- e.title ? (m(), M("title", ms, O(e.title), 1)) : H("", !0),
2795
- gs
2796
- ], 8, fs))
2794
+ e.title ? (m(), M("title", fs, O(e.title), 1)) : H("", !0),
2795
+ ms
2796
+ ], 8, ps))
2797
2797
  ]),
2798
2798
  _: 1
2799
2799
  }, 8, ["aria-hidden", "style"]));
2800
2800
  }
2801
- }), hs = /* @__PURE__ */ ds(ys, [["__scopeId", "data-v-a53b73fd"]]), vs = { "data-testid": "config-card-title" }, bs = { class: "config-card-actions" }, ks = ["href"], Cs = {
2801
+ }), ys = /* @__PURE__ */ cs(gs, [["__scopeId", "data-v-a53b73fd"]]), hs = { "data-testid": "config-card-title" }, vs = { class: "config-card-actions" }, bs = ["href"], ks = {
2802
2802
  key: 2,
2803
2803
  class: "config-card-details-section"
2804
- }, ws = {
2804
+ }, Cs = {
2805
2805
  key: 3,
2806
2806
  class: "config-card-details-section"
2807
- }, _s = ["data-testid"], Is = {
2807
+ }, ws = ["data-testid"], _s = {
2808
2808
  key: 0,
2809
2809
  class: "config-card-prop-section-title"
2810
- }, As = /* @__PURE__ */ ae({
2810
+ }, Is = /* @__PURE__ */ ae({
2811
2811
  __name: "EntityBaseConfigCard",
2812
2812
  props: {
2813
2813
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3027,7 +3027,7 @@ const as = {
3027
3027
  const R = L("KLabel"), k = L("KSelect"), x = L("KButton"), S = L("KClipboardProvider"), q = L("KSkeleton"), J = L("KEmptyState"), X = L("KCard");
3028
3028
  return m(), U(X, { class: "kong-ui-entity-base-config-card" }, $e({
3029
3029
  actions: v(() => [
3030
- V("div", bs, [
3030
+ V("div", vs, [
3031
3031
  Z(w.$slots, "actions", {}, void 0, !0),
3032
3032
  e.config.jsonYamlEnabled ? (m(), U(R, {
3033
3033
  key: 0,
@@ -3058,8 +3058,8 @@ const as = {
3058
3058
  rel: "noopener",
3059
3059
  target: "_blank"
3060
3060
  }, [
3061
- F(y(hs), { size: y(Ia) }, null, 8, ["size"])
3062
- ], 8, ks)
3061
+ F(y(ys), { size: y(_a) }, null, 8, ["size"])
3062
+ ], 8, bs)
3063
3063
  ]),
3064
3064
  _: 1
3065
3065
  })) : H("", !0),
@@ -3097,8 +3097,8 @@ const as = {
3097
3097
  ]),
3098
3098
  _: 1
3099
3099
  })) : H("", !0),
3100
- e.config.jsonYamlEnabled ? (m(), M("div", Cs, [
3101
- F(cs, {
3100
+ e.config.jsonYamlEnabled ? (m(), M("div", ks, [
3101
+ F(us, {
3102
3102
  format: d.value,
3103
3103
  "prop-list-types": _.value,
3104
3104
  "property-collections": K.value,
@@ -3114,13 +3114,13 @@ const as = {
3114
3114
  ])
3115
3115
  }))
3116
3116
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3117
- ])) : (m(), M("div", ws, [
3117
+ ])) : (m(), M("div", Cs, [
3118
3118
  (m(!0), M(be, null, he(_.value, (ee) => (m(), M("div", {
3119
3119
  key: `config-card-details-${ee}-props`,
3120
3120
  class: Fe(`config-card-details-${ee}-props`),
3121
3121
  "data-testid": `config-card-details-${ee}-props`
3122
3122
  }, [
3123
- ee !== "basic" ? (m(), M("div", Is, O(ee === "advanced" ? y(o)("baseConfigCard.sections.advanced") : y(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3123
+ ee !== "basic" ? (m(), M("div", _s, O(ee === "advanced" ? y(o)("baseConfigCard.sections.advanced") : y(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3124
3124
  (m(!0), M(be, null, he(K.value[ee], (te) => (m(), U(St, {
3125
3125
  key: te.key,
3126
3126
  item: te
@@ -3144,7 +3144,7 @@ const as = {
3144
3144
  key: "0"
3145
3145
  } : void 0
3146
3146
  ]), 1032, ["item"]))), 128))
3147
- ], 10, _s))), 128))
3147
+ ], 10, ws))), 128))
3148
3148
  ]))
3149
3149
  ]),
3150
3150
  _: 2
@@ -3152,7 +3152,7 @@ const as = {
3152
3152
  e.hideTitle ? void 0 : {
3153
3153
  name: "title",
3154
3154
  fn: v(() => [
3155
- V("div", vs, [
3155
+ V("div", hs, [
3156
3156
  Z(w.$slots, "title", {}, () => [
3157
3157
  Q(O(y(o)("baseConfigCard.title")), 1)
3158
3158
  ], !0)
@@ -3163,10 +3163,10 @@ const as = {
3163
3163
  ]), 1024);
3164
3164
  };
3165
3165
  }
3166
- }), xs = /* @__PURE__ */ Ce(As, [["__scopeId", "data-v-bea4df63"]]), Ss = ["onReset", "onSubmit"], Ts = {
3166
+ }), As = /* @__PURE__ */ Ce(Is, [["__scopeId", "data-v-bea4df63"]]), xs = ["onReset", "onSubmit"], Ss = {
3167
3167
  class: "form-actions",
3168
3168
  "data-testid": "form-actions"
3169
- }, $s = /* @__PURE__ */ ae({
3169
+ }, Ts = /* @__PURE__ */ ae({
3170
3170
  __name: "EntityBaseForm",
3171
3171
  props: {
3172
3172
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3276,7 +3276,7 @@ const as = {
3276
3276
  appearance: "danger",
3277
3277
  "data-testid": "form-error"
3278
3278
  }, null, 8, ["alert-message"])) : H("", !0),
3279
- V("div", Ts, [
3279
+ V("div", Ss, [
3280
3280
  Z(p.$slots, "form-actions", {}, () => [
3281
3281
  F(D, {
3282
3282
  appearance: "secondary",
@@ -3302,16 +3302,16 @@ const as = {
3302
3302
  }, 8, ["disabled"])
3303
3303
  ], !0)
3304
3304
  ])
3305
- ], 40, Ss))
3305
+ ], 40, xs))
3306
3306
  ]),
3307
3307
  _: 3
3308
3308
  });
3309
3309
  };
3310
3310
  }
3311
- }), Ms = /* @__PURE__ */ Ce($s, [["__scopeId", "data-v-448d8512"]]), js = {
3311
+ }), $s = /* @__PURE__ */ Ce(Ts, [["__scopeId", "data-v-448d8512"]]), Ms = {
3312
3312
  key: 0,
3313
3313
  "data-testid": "first-col"
3314
- }, Es = /* @__PURE__ */ ae({
3314
+ }, js = /* @__PURE__ */ ae({
3315
3315
  __name: "EntityBaseTableCell",
3316
3316
  props: {
3317
3317
  keyName: {
@@ -3367,7 +3367,7 @@ const as = {
3367
3367
  ref: l,
3368
3368
  class: "content-wrapper"
3369
3369
  }, [
3370
- a.value ? (m(), M("span", js, [
3370
+ a.value ? (m(), M("span", Ms, [
3371
3371
  F(A, {
3372
3372
  label: I.value ? u.value : "",
3373
3373
  "max-width": "300",
@@ -3382,10 +3382,10 @@ const as = {
3382
3382
  ], 512);
3383
3383
  };
3384
3384
  }
3385
- }), Os = /* @__PURE__ */ Ce(Es, [["__scopeId", "data-v-e42a20c9"]]), Ks = { class: "toolbar-container" }, Fs = {
3385
+ }), Es = /* @__PURE__ */ Ce(js, [["__scopeId", "data-v-e42a20c9"]]), Os = { class: "toolbar-container" }, Ks = {
3386
3386
  key: 0,
3387
3387
  class: "toolbar-button-container"
3388
- }, Ns = ["data-testid"], Bs = /* @__PURE__ */ ae({
3388
+ }, Fs = ["data-testid"], Ns = /* @__PURE__ */ ae({
3389
3389
  __name: "EntityBaseTable",
3390
3390
  props: {
3391
3391
  // table header configuration
@@ -3544,7 +3544,7 @@ const as = {
3544
3544
  n("click:row", D);
3545
3545
  }), b = (_) => {
3546
3546
  n("sort", _);
3547
- }, { setTablePreferences: p, getTablePreferences: A } = $r(), h = $(() => {
3547
+ }, { setTablePreferences: p, getTablePreferences: A } = Tr(), h = $(() => {
3548
3548
  const _ = A(t.preferencesStorageKey);
3549
3549
  return {
3550
3550
  ...t.initialFetcherParams,
@@ -3593,9 +3593,9 @@ const as = {
3593
3593
  "onUpdate:tablePreferences": K
3594
3594
  }, $e({
3595
3595
  toolbar: v(({ state: k }) => [
3596
- Je(V("div", Ks, [
3596
+ Je(V("div", Os, [
3597
3597
  Z(_.$slots, "toolbar-filter", {}, void 0, !0),
3598
- _.$slots["toolbar-button"] ? (m(), M("div", Fs, [
3598
+ _.$slots["toolbar-button"] ? (m(), M("div", Ks, [
3599
3599
  Z(_.$slots, "toolbar-button", {}, void 0, !0)
3600
3600
  ])) : H("", !0)
3601
3601
  ], 512), [
@@ -3626,7 +3626,7 @@ const as = {
3626
3626
  }, {
3627
3627
  icon: v(() => [
3628
3628
  F(se, {
3629
- color: y(wa),
3629
+ color: y(Ca),
3630
3630
  icon: "more",
3631
3631
  size: "16"
3632
3632
  }, null, 8, ["color"])
@@ -3636,14 +3636,14 @@ const as = {
3636
3636
  ]),
3637
3637
  _: 2
3638
3638
  }, 1032, ["width"])
3639
- ], 8, Ns)
3639
+ ], 8, Fs)
3640
3640
  ]),
3641
3641
  _: 2
3642
3642
  }, [
3643
3643
  he(e.tableHeaders, (k, x) => ({
3644
3644
  name: x,
3645
3645
  fn: v(({ row: S, rowKey: q, rowValue: J }) => [
3646
- F(Os, {
3646
+ F(Es, {
3647
3647
  "key-name": String(x),
3648
3648
  "row-el": d(S)
3649
3649
  }, {
@@ -3666,13 +3666,13 @@ const as = {
3666
3666
  }, 8, ["title"]);
3667
3667
  };
3668
3668
  }
3669
- }), qs = /* @__PURE__ */ Ce(Bs, [["__scopeId", "data-v-57b5a97b"]]), Ls = {
3669
+ }), Bs = /* @__PURE__ */ Ce(Ns, [["__scopeId", "data-v-57b5a97b"]]), qs = {
3670
3670
  key: 0,
3671
3671
  class: "kong-ui-entity-delete-error"
3672
- }, Ps = {
3672
+ }, Ls = {
3673
3673
  key: 1,
3674
3674
  class: "description"
3675
- }, Vs = /* @__PURE__ */ ae({
3675
+ }, Ps = /* @__PURE__ */ ae({
3676
3676
  __name: "EntityDeleteModal",
3677
3677
  props: {
3678
3678
  visible: {
@@ -3730,7 +3730,7 @@ const as = {
3730
3730
  onProceed: i
3731
3731
  }, {
3732
3732
  "body-content": v(() => [
3733
- e.error ? (m(), M("div", Ls, [
3733
+ e.error ? (m(), M("div", qs, [
3734
3734
  F(c, { appearance: "danger" }, {
3735
3735
  alertMessage: v(() => [
3736
3736
  Q(O(e.error), 1)
@@ -3756,7 +3756,7 @@ const as = {
3756
3756
  key: "0"
3757
3757
  } : void 0
3758
3758
  ]), 1032, ["keypath"]),
3759
- t.description || s.$slots.description ? (m(), M("div", Ps, [
3759
+ t.description || s.$slots.description ? (m(), M("div", Ls, [
3760
3760
  Z(s.$slots, "description", {}, () => [
3761
3761
  V("p", null, O(t.description), 1)
3762
3762
  ], !0)
@@ -3766,13 +3766,13 @@ const as = {
3766
3766
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3767
3767
  };
3768
3768
  }
3769
- }), Us = /* @__PURE__ */ Ce(Vs, [["__scopeId", "data-v-1c9a2a07"]]), Rs = {
3769
+ }), Vs = /* @__PURE__ */ Ce(Ps, [["__scopeId", "data-v-1c9a2a07"]]), Us = {
3770
3770
  fill: "none",
3771
3771
  height: "20",
3772
3772
  viewBox: "0 0 20 20",
3773
3773
  width: "20",
3774
3774
  xmlns: "http://www.w3.org/2000/svg"
3775
- }, Ds = {
3775
+ }, Rs = {
3776
3776
  id: "mask0_180_20349",
3777
3777
  height: "20",
3778
3778
  maskUnits: "userSpaceOnUse",
@@ -3780,35 +3780,35 @@ const as = {
3780
3780
  width: "20",
3781
3781
  x: "0",
3782
3782
  y: "0"
3783
- }, Gs = ["fill"], Hs = { mask: "url(#mask0_180_20349)" }, zs = ["fill"], dn = /* @__PURE__ */ ae({
3783
+ }, Ds = ["fill"], Gs = { mask: "url(#mask0_180_20349)" }, Hs = ["fill"], dn = /* @__PURE__ */ ae({
3784
3784
  __name: "IconFilter",
3785
3785
  props: {
3786
3786
  color: {
3787
3787
  type: String,
3788
- default: `var(--kong-ui-entity-filter-color, ${ka})`
3788
+ default: `var(--kong-ui-entity-filter-color, ${ba})`
3789
3789
  }
3790
3790
  },
3791
3791
  setup(e) {
3792
- return (n, t) => (m(), M("svg", Rs, [
3793
- V("mask", Ds, [
3792
+ return (n, t) => (m(), M("svg", Us, [
3793
+ V("mask", Rs, [
3794
3794
  V("rect", {
3795
3795
  fill: e.color,
3796
3796
  height: "20",
3797
3797
  width: "20"
3798
- }, null, 8, Gs)
3798
+ }, null, 8, Ds)
3799
3799
  ]),
3800
- V("g", Hs, [
3800
+ V("g", Gs, [
3801
3801
  V("path", {
3802
3802
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3803
3803
  fill: e.color
3804
- }, null, 8, zs)
3804
+ }, null, 8, Hs)
3805
3805
  ])
3806
3806
  ]));
3807
3807
  }
3808
- }), Js = {
3808
+ }), zs = {
3809
3809
  key: 1,
3810
3810
  class: "kong-ui-entity-filter"
3811
- }, Ys = { class: "menu-item-title" }, Ws = { class: "menu-item-indicator" }, Zs = { class: "menu-item-body" }, Qs = ["for"], Xs = { class: "menu-item-buttons" }, el = { class: "filter-clear-button-container" }, tl = /* @__PURE__ */ ae({
3811
+ }, Js = { class: "menu-item-title" }, Ys = { class: "menu-item-indicator" }, Ws = { class: "menu-item-body" }, Zs = ["for"], Qs = { class: "menu-item-buttons" }, Xs = { class: "filter-clear-button-container" }, el = /* @__PURE__ */ ae({
3812
3812
  __name: "EntityFilter",
3813
3813
  props: {
3814
3814
  // filter config, either exact match or fuzzy match
@@ -3884,7 +3884,7 @@ const as = {
3884
3884
  F(dn)
3885
3885
  ]),
3886
3886
  _: 1
3887
- }, 8, ["model-value", "placeholder"])) : (m(), M("div", Js, [
3887
+ }, 8, ["model-value", "placeholder"])) : (m(), M("div", zs, [
3888
3888
  F(K, {
3889
3889
  appearance: "tertiary",
3890
3890
  "data-testid": "filter-button",
@@ -3911,9 +3911,9 @@ const as = {
3911
3911
  "last-menu-item": w === s.value.length - 1
3912
3912
  }, {
3913
3913
  itemTitle: v(() => [
3914
- V("span", Ys, [
3914
+ V("span", Js, [
3915
3915
  Q(O(Y.label) + " ", 1),
3916
- Je(V("span", Ws, null, 512), [
3916
+ Je(V("span", Ys, null, 512), [
3917
3917
  [Ye, i.value.includes(Y.value)]
3918
3918
  ])
3919
3919
  ])
@@ -3921,11 +3921,11 @@ const as = {
3921
3921
  itemBody: v(() => {
3922
3922
  var N, R;
3923
3923
  return [
3924
- V("div", Zs, [
3924
+ V("div", Ws, [
3925
3925
  V("label", {
3926
3926
  class: "menu-item-label",
3927
3927
  for: d(Y.value)
3928
- }, O(y(r)("filter.fieldLabel")), 9, Qs),
3928
+ }, O(y(r)("filter.fieldLabel")), 9, Zs),
3929
3929
  ((R = (N = e.config.schema) == null ? void 0 : N[Y.value]) == null ? void 0 : R.type) === "select" ? (m(), U(_, {
3930
3930
  key: 0,
3931
3931
  id: d(Y.value),
@@ -3944,7 +3944,7 @@ const as = {
3944
3944
  type: g(Y.value)
3945
3945
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3946
3946
  ]),
3947
- V("div", Xs, [
3947
+ V("div", Qs, [
3948
3948
  F(K, {
3949
3949
  appearance: "tertiary",
3950
3950
  "data-testid": "apply-filter",
@@ -3974,7 +3974,7 @@ const as = {
3974
3974
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
3975
3975
  ]),
3976
3976
  actionButton: v(() => [
3977
- V("div", el, [
3977
+ V("div", Xs, [
3978
3978
  F(K, {
3979
3979
  appearance: "tertiary",
3980
3980
  size: "small",
@@ -3994,7 +3994,7 @@ const as = {
3994
3994
  ]));
3995
3995
  };
3996
3996
  }
3997
- }), nl = /* @__PURE__ */ Ce(tl, [["__scopeId", "data-v-15962ee2"]]), et = /* @__PURE__ */ ae({
3997
+ }), tl = /* @__PURE__ */ Ce(el, [["__scopeId", "data-v-15962ee2"]]), et = /* @__PURE__ */ ae({
3998
3998
  __name: "PermissionsWrapper",
3999
3999
  props: {
4000
4000
  /**
@@ -4024,16 +4024,16 @@ const as = {
4024
4024
  isAllowed: t.value
4025
4025
  }) : H("", !0);
4026
4026
  }
4027
- }), rl = { class: "form-section-wrapper" }, al = {
4027
+ }), nl = { class: "form-section-wrapper" }, rl = {
4028
4028
  key: 0,
4029
4029
  class: "form-section-title"
4030
- }, ol = {
4030
+ }, al = {
4031
4031
  key: 1,
4032
4032
  class: "form-section-description"
4033
- }, il = {
4033
+ }, ol = {
4034
4034
  key: 2,
4035
4035
  class: "form-section-footer"
4036
- }, sl = { class: "form-section-content" }, ll = /* @__PURE__ */ ae({
4036
+ }, il = { class: "form-section-content" }, sl = /* @__PURE__ */ ae({
4037
4037
  __name: "EntityFormSection",
4038
4038
  props: {
4039
4039
  title: {
@@ -4062,31 +4062,31 @@ const as = {
4062
4062
  return (t, r) => (m(), M("fieldset", {
4063
4063
  class: Fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4064
4064
  }, [
4065
- V("div", rl, [
4065
+ V("div", nl, [
4066
4066
  e.hideInfoHeader ? H("", !0) : (m(), M("div", {
4067
4067
  key: 0,
4068
4068
  class: Fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4069
4069
  }, [
4070
- e.title ? (m(), M("h4", al, O(e.title), 1)) : H("", !0),
4071
- e.description || y(n).description ? (m(), M("div", ol, [
4070
+ e.title ? (m(), M("h4", rl, O(e.title), 1)) : H("", !0),
4071
+ e.description || y(n).description ? (m(), M("div", al, [
4072
4072
  Z(t.$slots, "description", {}, () => [
4073
4073
  V("p", null, O(e.description), 1)
4074
4074
  ], !0)
4075
4075
  ])) : H("", !0),
4076
- y(n).footer ? (m(), M("div", il, [
4076
+ y(n).footer ? (m(), M("div", ol, [
4077
4077
  Z(t.$slots, "footer", {}, void 0, !0)
4078
4078
  ])) : H("", !0)
4079
4079
  ], 2)),
4080
- V("div", sl, [
4080
+ V("div", il, [
4081
4081
  Z(t.$slots, "default", {}, void 0, !0)
4082
4082
  ])
4083
4083
  ])
4084
4084
  ], 2));
4085
4085
  }
4086
- }), pn = /* @__PURE__ */ Ce(ll, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Kt, useDeleteUrlBuilder: ul, useErrors: cl, useExternalLinkCreator: jl, useFetchUrlBuilder: El, useFetcher: dl, useDebouncedFilter: dr, useStringHelpers: Ol, useHelpers: Kl, useGatewayFeatureSupported: Fl, useTruncationDetector: Nl } = ce, pl = { class: "add-to-group-form-container" }, fl = { class: "add-to-group-cta-text" }, ml = {
4086
+ }), pn = /* @__PURE__ */ Ce(sl, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Kt, useDeleteUrlBuilder: ll, useErrors: ul, useExternalLinkCreator: Ml, useFetchUrlBuilder: jl, useFetcher: cl, useDebouncedFilter: dr, useStringHelpers: El, useHelpers: Ol, useGatewayFeatureSupported: Kl, useTruncationDetector: Fl } = ce, dl = { class: "add-to-group-form-container" }, pl = { class: "add-to-group-cta-text" }, fl = {
4087
4087
  key: 0,
4088
4088
  class: "kong-ui-entity-add-to-groups-error"
4089
- }, gl = { key: 0 }, yl = /* @__PURE__ */ ae({
4089
+ }, ml = { key: 0 }, gl = /* @__PURE__ */ ae({
4090
4090
  __name: "AddToGroupModal",
4091
4091
  props: {
4092
4092
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4187,8 +4187,8 @@ const as = {
4187
4187
  onProceed: D
4188
4188
  }, {
4189
4189
  "body-content": v(() => [
4190
- V("div", pl, [
4191
- V("p", fl, O(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4190
+ V("div", dl, [
4191
+ V("p", pl, O(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4192
4192
  F(S, {
4193
4193
  modelValue: o.value,
4194
4194
  "onUpdate:modelValue": x[0] || (x[0] = (X) => o.value = X),
@@ -4204,11 +4204,11 @@ const as = {
4204
4204
  width: "100%",
4205
4205
  onQueryChange: y(i)
4206
4206
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4207
- _.value || g.value || w.value.length ? (m(), M("div", ml, [
4207
+ _.value || g.value || w.value.length ? (m(), M("div", fl, [
4208
4208
  F(q, { appearance: "danger" }, {
4209
4209
  alertMessage: v(() => [
4210
4210
  V("p", null, O(y(r)("consumer_groups.errors.add")), 1),
4211
- w.value.length ? (m(), M("ul", gl, [
4211
+ w.value.length ? (m(), M("ul", ml, [
4212
4212
  (m(!0), M(be, null, he(w.value, (X, ee) => (m(), M("li", { key: ee }, O(X), 1))), 128))
4213
4213
  ])) : H("", !0),
4214
4214
  V("div", null, O(_.value || g.value), 1)
@@ -4227,7 +4227,7 @@ const as = {
4227
4227
  for (const [r, a] of n)
4228
4228
  t[r] = a;
4229
4229
  return t;
4230
- }, hl = /* @__PURE__ */ Ft(yl, [["__scopeId", "data-v-3808b4c0"]]), vl = { class: "kong-ui-entities-consumer-groups-list" }, bl = { key: 1 }, kl = /* @__PURE__ */ ae({
4230
+ }, yl = /* @__PURE__ */ Ft(gl, [["__scopeId", "data-v-3808b4c0"]]), hl = { class: "kong-ui-entities-consumer-groups-list" }, vl = { key: 1 }, bl = /* @__PURE__ */ ae({
4231
4231
  __name: "ConsumerGroupList",
4232
4232
  props: {
4233
4233
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4302,7 +4302,7 @@ const as = {
4302
4302
  },
4303
4303
  schema: t.config.filterSchema
4304
4304
  };
4305
- }), p = $(() => l.value ? "consumer_groups" : void 0), { fetcher: A, fetcherState: h } = dl(t.config, f.value, p.value), K = () => {
4305
+ }), p = $(() => l.value ? "consumer_groups" : void 0), { fetcher: A, fetcherState: h } = cl(t.config, f.value, p.value), K = () => {
4306
4306
  I.value = "";
4307
4307
  }, _ = () => {
4308
4308
  s.value++;
@@ -4343,7 +4343,7 @@ const as = {
4343
4343
  }), R = (T) => ({
4344
4344
  label: a("consumer_groups.actions.edit"),
4345
4345
  to: t.config.getEditRoute(T)
4346
- }), k = E(void 0), x = E(!1), S = E(!1), q = E(""), J = ul(t.config, f.value), X = (T) => {
4346
+ }), k = E(void 0), x = E(!1), S = E(!1), q = E(""), J = ll(t.config, f.value), X = (T) => {
4347
4347
  k.value = T, x.value = !0;
4348
4348
  }, ee = () => {
4349
4349
  x.value = !1;
@@ -4371,7 +4371,7 @@ const as = {
4371
4371
  P.value = T, G.value = !0;
4372
4372
  }, de = () => {
4373
4373
  G.value = !1, P.value = void 0;
4374
- }, Ne = $(() => {
4374
+ }, Be = $(() => {
4375
4375
  var z, re, ye, _e;
4376
4376
  let T = `${t.config.apiBaseUrl}${Me.list[t.config.app].oneForConsumer}`;
4377
4377
  return t.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((z = t.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = t.config) == null ? void 0 : re.consumerId) || "") : t.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (ye = t.config) != null && ye.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((_e = t.config) == null ? void 0 : _e.consumerId) || "")), T;
@@ -4379,7 +4379,7 @@ const as = {
4379
4379
  if (P.value) {
4380
4380
  Ge.value = !0;
4381
4381
  try {
4382
- const T = Ne.value.replace(/{consumerGroupId}/gi, P.value.id);
4382
+ const T = Be.value.replace(/{consumerGroupId}/gi, P.value.id);
4383
4383
  await i.delete(T), n("remove:success", P.value), de(), s.value++;
4384
4384
  } catch (T) {
4385
4385
  ge.value = T.message || a("consumer_groups.errors.delete"), n("error", T);
@@ -4408,8 +4408,8 @@ const as = {
4408
4408
  await t.canCreate() && (pt.value.title = l.value ? a("consumer_groups.list.empty_state.title_for_consumer") : a("consumer_groups.list.empty_state.title"), pt.value.ctaText = l.value ? a("consumer_groups.actions.add_to_group") : a("consumer_groups.actions.create"));
4409
4409
  }), (T, z) => {
4410
4410
  const re = L("KButton"), ye = L("KBadge"), _e = L("KTruncate"), He = L("KDropdownItem"), qt = L("KClipboardProvider"), fr = L("KPrompt");
4411
- return m(), M("div", vl, [
4412
- F(y(qs), {
4411
+ return m(), M("div", hl, [
4412
+ F(y(Bs), {
4413
4413
  "cache-identifier": e.cacheIdentifier,
4414
4414
  "disable-pagination": l.value,
4415
4415
  "disable-pagination-page-jump": "",
@@ -4431,7 +4431,7 @@ const as = {
4431
4431
  onSort: _
4432
4432
  }, {
4433
4433
  "toolbar-filter": v(() => [
4434
- l.value ? H("", !0) : (m(), U(y(nl), {
4434
+ l.value ? H("", !0) : (m(), U(y(tl), {
4435
4435
  key: 0,
4436
4436
  modelValue: I.value,
4437
4437
  "onUpdate:modelValue": z[0] || (z[0] = (W) => I.value = W),
@@ -4439,32 +4439,32 @@ const as = {
4439
4439
  }, null, 8, ["modelValue", "config"]))
4440
4440
  ]),
4441
4441
  "toolbar-button": v(() => [
4442
- (m(), U(Cr, {
4443
- disabled: !e.useActionOutside,
4444
- to: "#kong-ui-app-page-header-action-button"
4445
- }, [
4446
- F(y(et), {
4447
- "auth-function": () => e.canCreate()
4448
- }, {
4449
- default: v(() => [
4450
- Je(F(re, {
4451
- appearance: "primary",
4452
- "data-testid": "toolbar-add-consumer-group",
4453
- icon: "plus",
4454
- to: e.config.consumerId ? void 0 : e.config.createRoute,
4455
- onClick: z[1] || (z[1] = () => e.config.consumerId ? De() : void 0)
4456
- }, {
4457
- default: v(() => [
4458
- Q(O(e.config.consumerId ? y(a)("consumer_groups.actions.add_to_group") : y(a)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4459
- ]),
4460
- _: 1
4461
- }, 8, ["to"]), [
4462
- [Ye, Nt.value]
4463
- ])
4464
- ]),
4465
- _: 1
4466
- }, 8, ["auth-function"])
4467
- ], 8, ["disabled"]))
4442
+ (m(), U(Ne(e.useActionOutside ? "Teleport" : "div"), { to: "#kong-ui-app-page-header-action-button" }, {
4443
+ default: v(() => [
4444
+ F(y(et), {
4445
+ "auth-function": () => e.canCreate()
4446
+ }, {
4447
+ default: v(() => [
4448
+ Je(F(re, {
4449
+ appearance: "primary",
4450
+ "data-testid": "toolbar-add-consumer-group",
4451
+ icon: "plus",
4452
+ to: e.config.consumerId ? void 0 : e.config.createRoute,
4453
+ onClick: z[1] || (z[1] = () => e.config.consumerId ? De() : void 0)
4454
+ }, {
4455
+ default: v(() => [
4456
+ Q(O(e.config.consumerId ? y(a)("consumer_groups.actions.add_to_group") : y(a)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4457
+ ]),
4458
+ _: 1
4459
+ }, 8, ["to"]), [
4460
+ [Ye, Nt.value]
4461
+ ])
4462
+ ]),
4463
+ _: 1
4464
+ }, 8, ["auth-function"])
4465
+ ]),
4466
+ _: 1
4467
+ }))
4468
4468
  ]),
4469
4469
  name: v(({ rowValue: W }) => [
4470
4470
  V("b", null, O(W ?? "-"), 1)
@@ -4475,26 +4475,26 @@ const as = {
4475
4475
  tags: v(({ rowValue: W }) => [
4476
4476
  (W == null ? void 0 : W.length) > 0 ? (m(), U(_e, { key: 0 }, {
4477
4477
  default: v(() => [
4478
- (m(!0), M(be, null, he(W, (Be) => (m(), U(ye, {
4479
- key: Be,
4478
+ (m(!0), M(be, null, he(W, (qe) => (m(), U(ye, {
4479
+ key: qe,
4480
4480
  onClick: z[2] || (z[2] = nt(() => {
4481
4481
  }, ["stop"]))
4482
4482
  }, {
4483
4483
  default: v(() => [
4484
- Q(O(Be), 1)
4484
+ Q(O(qe), 1)
4485
4485
  ]),
4486
4486
  _: 2
4487
4487
  }, 1024))), 128))
4488
4488
  ]),
4489
4489
  _: 2
4490
- }, 1024)) : (m(), M("span", bl, "-"))
4490
+ }, 1024)) : (m(), M("span", vl, "-"))
4491
4491
  ]),
4492
4492
  actions: v(({ row: W }) => [
4493
4493
  F(qt, null, {
4494
- default: v(({ copyToClipboard: Be }) => [
4494
+ default: v(({ copyToClipboard: qe }) => [
4495
4495
  F(He, {
4496
4496
  "data-testid": "action-entity-copy-id",
4497
- onClick: (mr) => se(W, Be)
4497
+ onClick: (mr) => se(W, qe)
4498
4498
  }, {
4499
4499
  default: v(() => [
4500
4500
  Q(O(y(a)("consumer_groups.actions.copy_id")), 1)
@@ -4505,10 +4505,10 @@ const as = {
4505
4505
  _: 2
4506
4506
  }, 1024),
4507
4507
  F(qt, null, {
4508
- default: v(({ copyToClipboard: Be }) => [
4508
+ default: v(({ copyToClipboard: qe }) => [
4509
4509
  F(He, {
4510
4510
  "data-testid": "action-entity-copy-json",
4511
- onClick: (mr) => Y(W, Be)
4511
+ onClick: (mr) => Y(W, qe)
4512
4512
  }, {
4513
4513
  default: v(() => [
4514
4514
  Q(O(y(a)("consumer_groups.actions.copy_json")), 1)
@@ -4562,7 +4562,7 @@ const as = {
4562
4562
  ]),
4563
4563
  _: 1
4564
4564
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4565
- F(y(Us), {
4565
+ F(y(Vs), {
4566
4566
  "action-pending": S.value,
4567
4567
  "data-testid": "delete-consumer-group-modal",
4568
4568
  description: y(a)("consumer_groups.delete.description"),
@@ -4574,7 +4574,7 @@ const as = {
4574
4574
  onCancel: ee,
4575
4575
  onProceed: te
4576
4576
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4577
- e.config.consumerId ? (m(), U(hl, {
4577
+ e.config.consumerId ? (m(), U(yl, {
4578
4578
  key: 0,
4579
4579
  config: e.config,
4580
4580
  "data-testid": "add-to-group-modal",
@@ -4618,10 +4618,10 @@ const as = {
4618
4618
  ]);
4619
4619
  };
4620
4620
  }
4621
- }), Bl = /* @__PURE__ */ Ft(kl, [["__scopeId", "data-v-12149d54"]]), Cl = { class: "kong-ui-entities-consumer-group-form" }, wl = { class: "select-item-label" }, _l = {
4621
+ }), Nl = /* @__PURE__ */ Ft(bl, [["__scopeId", "data-v-ad266ee0"]]), kl = { class: "kong-ui-entities-consumer-group-form" }, Cl = { class: "select-item-label" }, wl = {
4622
4622
  key: 0,
4623
4623
  class: "select-item-desc"
4624
- }, Il = /* @__PURE__ */ ae({
4624
+ }, _l = /* @__PURE__ */ ae({
4625
4625
  __name: "ConsumerGroupForm",
4626
4626
  props: {
4627
4627
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4663,7 +4663,7 @@ const as = {
4663
4663
  searchKeys: ["username", "custom_id", "id"]
4664
4664
  }), { axiosInstance: g } = Kt({
4665
4665
  headers: (De = t.config) == null ? void 0 : De.requestHeaders
4666
- }), { getMessageFromError: f } = cl(), I = $(() => u.value.map((C) => ({
4666
+ }), { getMessageFromError: f } = ul(), I = $(() => u.value.map((C) => ({
4667
4667
  label: C.username || C.custom_id,
4668
4668
  value: C.id,
4669
4669
  selected: o.fields.consumers.includes(C.id),
@@ -4673,9 +4673,9 @@ const as = {
4673
4673
  var C, B;
4674
4674
  return (B = Me.form[(C = t.config) == null ? void 0 : C.app]) == null ? void 0 : B.edit;
4675
4675
  }), p = $(() => t.consumerGroupId ? tt.Edit : tt.Create), A = $(() => !!o.fields.name && !w.value), h = $(() => JSON.stringify(o.fields) !== JSON.stringify(i)), K = (C, B = "", oe = "") => {
4676
- var G, ge, we, de, Ne, Ge;
4676
+ var G, ge, we, de, Be, Ge;
4677
4677
  let P = `${(G = t.config) == null ? void 0 : G.apiBaseUrl}${Me.form[(ge = t.config) == null ? void 0 : ge.app][C]}`;
4678
- return ((we = t.config) == null ? void 0 : we.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (Ge = t.config) != null && Ge.workspace ? `/${t.config.workspace}` : "")), P = P.replace(/{id}/gi, B || t.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (P = P.replace(/{consumerId}/gi, oe)), P;
4678
+ return ((we = t.config) == null ? void 0 : we.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Be = t.config) == null ? void 0 : Be.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (Ge = t.config) != null && Ge.workspace ? `/${t.config.workspace}` : "")), P = P.replace(/{id}/gi, B || t.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (P = P.replace(/{consumerId}/gi, oe)), P;
4679
4679
  }, _ = () => {
4680
4680
  var C;
4681
4681
  a.push(((C = t.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-group-list" });
@@ -4692,7 +4692,7 @@ const as = {
4692
4692
  else
4693
4693
  try {
4694
4694
  const { data: de } = await g.get(K("getConsumers"));
4695
- o.fields.consumers = "consumers" in de ? (we = de == null ? void 0 : de.consumers) == null ? void 0 : we.map((Ne) => Ne.id) : [];
4695
+ o.fields.consumers = "consumers" in de ? (we = de == null ? void 0 : de.consumers) == null ? void 0 : we.map((Be) => Be.id) : [];
4696
4696
  } catch (de) {
4697
4697
  x(de);
4698
4698
  }
@@ -4767,8 +4767,8 @@ const as = {
4767
4767
  await d();
4768
4768
  }), (C, B) => {
4769
4769
  const oe = L("KInput"), P = L("KMultiselect");
4770
- return m(), M("div", Cl, [
4771
- F(y(Ms), {
4770
+ return m(), M("div", kl, [
4771
+ F(y($s), {
4772
4772
  "can-submit": A.value && h.value,
4773
4773
  config: e.config,
4774
4774
  "edit-id": e.consumerGroupId,
@@ -4838,8 +4838,8 @@ const as = {
4838
4838
  "item-template": v(({ item: G }) => {
4839
4839
  var ge, we, de;
4840
4840
  return [
4841
- V("div", wl, O(G.label), 1),
4842
- (ge = G == null ? void 0 : G.data) != null && ge.username && ((we = G == null ? void 0 : G.data) != null && we.custom_id) ? (m(), M("div", _l, O((de = G == null ? void 0 : G.data) == null ? void 0 : de.custom_id), 1)) : H("", !0)
4841
+ V("div", Cl, O(G.label), 1),
4842
+ (ge = G == null ? void 0 : G.data) != null && ge.username && ((we = G == null ? void 0 : G.data) != null && we.custom_id) ? (m(), M("div", wl, O((de = G == null ? void 0 : G.data) == null ? void 0 : de.custom_id), 1)) : H("", !0)
4843
4843
  ];
4844
4844
  }),
4845
4845
  _: 1
@@ -4853,7 +4853,7 @@ const as = {
4853
4853
  ]);
4854
4854
  };
4855
4855
  }
4856
- }), ql = /* @__PURE__ */ Ft(Il, [["__scopeId", "data-v-102d40d2"]]), Al = { class: "kong-ui-consumer-group-entity-config-card" }, Ll = /* @__PURE__ */ ae({
4856
+ }), Bl = /* @__PURE__ */ Ft(_l, [["__scopeId", "data-v-102d40d2"]]), Il = { class: "kong-ui-consumer-group-entity-config-card" }, ql = /* @__PURE__ */ ae({
4857
4857
  __name: "ConsumerGroupConfigCard",
4858
4858
  props: {
4859
4859
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4889,8 +4889,8 @@ const as = {
4889
4889
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
4890
4890
  }
4891
4891
  });
4892
- return (o, i) => (m(), M("div", Al, [
4893
- F(y(xs), {
4892
+ return (o, i) => (m(), M("div", Il, [
4893
+ F(y(As), {
4894
4894
  config: e.config,
4895
4895
  "config-card-doc": e.configCardDoc,
4896
4896
  "config-schema": a.value,
@@ -4906,7 +4906,7 @@ const as = {
4906
4906
  }
4907
4907
  });
4908
4908
  export {
4909
- Ll as ConsumerGroupConfigCard,
4910
- ql as ConsumerGroupForm,
4911
- Bl as ConsumerGroupList
4909
+ ql as ConsumerGroupConfigCard,
4910
+ Bl as ConsumerGroupForm,
4911
+ Nl as ConsumerGroupList
4912
4912
  };