@kong-ui-public/entities-consumer-groups 2.4.17-pr.1154.de06e66a.0 → 2.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { defineComponent as ae, ref as F, computed as A, watch as Te, renderSlot as X, createCommentVNode as z, unref as m, useSlots as ut, onBeforeMount as ct, resolveComponent as q, openBlock as d, createBlock as P, createSlots as $e, withCtx as g, createElementVNode as V, createTextVNode as Z, toDisplayString as K, createVNode as E, createElementBlock as $, renderList as ve, Fragment as Ce, normalizeClass as Ee, withModifiers as rt, withDirectives as Je, vShow as Ye, useCssVars as gn, resolveDynamicComponent as Be, normalizeProps as Cr, guardReactiveProps as kr, mergeProps as vt, onMounted as wr, onUnmounted as _r, normalizeStyle as yn, inject as Ir, pushScopeId as hn, popScopeId as vn, reactive as Pt } from "vue";
1
+ import { defineComponent as ae, ref as F, computed as A, watch as Te, renderSlot as X, createCommentVNode as z, unref as m, useSlots as ut, onBeforeMount as ct, resolveComponent as q, openBlock as d, createBlock as P, createSlots as je, withCtx as g, createElementVNode as D, createTextVNode as Z, toDisplayString as K, createVNode as E, createElementBlock as j, renderList as ve, Fragment as Ce, normalizeClass as Ee, withModifiers as rt, withDirectives as Je, vShow as Ye, inject as gn, useCssVars as yn, resolveDynamicComponent as Be, normalizeProps as kr, guardReactiveProps as wr, mergeProps as vt, onMounted as _r, onUnmounted as Ir, normalizeStyle as hn, pushScopeId as vn, popScopeId as bn, reactive as Pt } from "vue";
2
2
  import { useRouter as It } from "vue-router";
3
- import { createI18n as At, i18nTComponent as bn } from "@kong-ui-public/i18n";
3
+ import { createI18n as At, i18nTComponent as Cn } from "@kong-ui-public/i18n";
4
4
  import Ar from "axios";
5
5
  import { BadgeMethodAppearances as Sr } from "@kong/kongponents";
6
6
  const xr = {
@@ -98,16 +98,16 @@ const xr = {
98
98
  }, Tr = {
99
99
  consumer_groups: xr
100
100
  };
101
- function jr() {
101
+ function $r() {
102
102
  const e = At("en-us", Tr);
103
103
  return {
104
104
  i18n: e,
105
- i18nT: bn(e)
105
+ i18nT: Cn(e)
106
106
  // Translation component <i18n-t>
107
107
  };
108
108
  }
109
109
  const dt = {
110
- useI18n: jr
110
+ useI18n: $r
111
111
  }, Se = "/api/runtime_groups/{controlPlaneId}", xe = "/{workspace}", Me = {
112
112
  list: {
113
113
  konnect: {
@@ -140,17 +140,21 @@ const dt = {
140
140
  }
141
141
  }
142
142
  };
143
- var Cn = /* @__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))(Cn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ne || {}), oe = /* @__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))(oe || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
144
- function St(e = {}) {
143
+ var kn = /* @__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))(kn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ne || {}), oe = /* @__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))(oe || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
144
+ function jr() {
145
145
  return {
146
- axiosInstance: Ar.create({
146
+ getAxiosInstance: gn("get-axios-instance", (e = {}) => Ar.create({
147
147
  withCredentials: !0,
148
148
  timeout: 3e4,
149
149
  ...e
150
- })
150
+ })),
151
+ getTraceIdFromError: (e) => {
152
+ var n;
153
+ return ((n = e == null ? void 0 : e.response) == null ? void 0 : n.headers["x-datadog-trace-id"]) || "";
154
+ }
151
155
  };
152
156
  }
153
- function $r() {
157
+ function Mr() {
154
158
  return {
155
159
  debounce: (e, n) => {
156
160
  let t;
@@ -162,12 +166,12 @@ function $r() {
162
166
  }
163
167
  };
164
168
  }
165
- const mt = "khcp-user-table-preferences", Mr = {
169
+ const mt = "khcp-user-table-preferences", Or = {
166
170
  pageSize: 30,
167
171
  sortColumnKey: void 0,
168
172
  sortColumnOrder: void 0
169
173
  };
170
- function Or() {
174
+ function Er() {
171
175
  const e = (t) => {
172
176
  if (typeof t == "string")
173
177
  try {
@@ -191,24 +195,30 @@ function Or() {
191
195
  },
192
196
  getTablePreferences: (t) => {
193
197
  const r = n();
194
- return (r == null ? void 0 : r.get(t)) || void 0 || Mr;
198
+ return (r == null ? void 0 : r.get(t)) || void 0 || Or;
195
199
  },
196
200
  deleteAllTablePreferences: () => {
197
201
  localStorage.removeItem(mt);
198
202
  }
199
203
  };
200
204
  }
201
- const Er = {
205
+ function St(e = {}) {
206
+ const { getAxiosInstance: n } = jr();
207
+ return {
208
+ axiosInstance: n(e)
209
+ };
210
+ }
211
+ const Fr = {
202
212
  actions: {
203
213
  copyId: "Copy ID",
204
214
  copied_id: 'Copied "{id}" to the clipboard',
205
215
  copyToClipboard: "Copied successfully!",
206
216
  copyToClipboardFailed: "Failed to copy to the clipboard"
207
217
  }
208
- }, Fr = {
218
+ }, Kr = {
209
219
  message: "Are you sure you want to delete this {entityType}?",
210
220
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
211
- }, Kr = {
221
+ }, Nr = {
212
222
  actions: {
213
223
  viewConfiguration: "View Configuration",
214
224
  save: "Save",
@@ -224,13 +234,13 @@ const Er = {
224
234
  errors: {
225
235
  edit: "The entity could not be edited at this time."
226
236
  }
227
- }, Nr = {
237
+ }, qr = {
228
238
  emptyState: {
229
239
  noSearchResultsTitle: "No results found",
230
240
  noSearchResultsMessage: "Please adjust the criteria and try again.",
231
241
  noSearchResultsCtaText: "Clear"
232
242
  }
233
- }, qr = {
243
+ }, Br = {
234
244
  title: "Configuration",
235
245
  actions: {
236
246
  copy: "Copy JSON"
@@ -265,7 +275,7 @@ const Er = {
265
275
  entryTitle: "Entry {index}",
266
276
  structuredFormat: "Structured"
267
277
  }
268
- }, Br = {
278
+ }, Lr = {
269
279
  filterButtonText: "Filter",
270
280
  fieldLabel: "Filter by:",
271
281
  inputPlaceholder: "Enter a value",
@@ -273,15 +283,15 @@ const Er = {
273
283
  applyButtonText: "Apply",
274
284
  clearButtonText: "Clear",
275
285
  clearAllButtonText: "Clear all filters"
276
- }, Lr = {
286
+ }, Ur = {
277
287
  errors: {
278
288
  fetch: "Could not fetch available items",
279
289
  invalid: "Please select a valid value"
280
290
  }
281
- }, Ur = {
291
+ }, Pr = {
282
292
  unexpected: "An unexpected error has occurred",
283
293
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
284
- }, Pr = {
294
+ }, Dr = {
285
295
  enable: {
286
296
  title: "Enable {entityType}",
287
297
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -293,25 +303,25 @@ const Er = {
293
303
  confirmText: "Yes, disable"
294
304
  }
295
305
  }, Vr = {
296
- global: Er,
297
- deleteModal: Fr,
298
- baseForm: Kr,
299
- baseTable: Nr,
300
- baseConfigCard: qr,
301
- filter: Br,
302
- debouncedFilter: Lr,
303
- errors: Ur,
304
- toggleModal: Pr
306
+ global: Fr,
307
+ deleteModal: Kr,
308
+ baseForm: Nr,
309
+ baseTable: qr,
310
+ baseConfigCard: Br,
311
+ filter: Lr,
312
+ debouncedFilter: Ur,
313
+ errors: Pr,
314
+ toggleModal: Dr
305
315
  };
306
316
  function xt() {
307
317
  const e = At("en-us", Vr);
308
318
  return {
309
319
  i18n: e,
310
- i18nT: bn(e)
320
+ i18nT: Cn(e)
311
321
  // Translation component <i18n-t>
312
322
  };
313
323
  }
314
- function kn() {
324
+ function wn() {
315
325
  const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
316
326
  if (t.length !== r.length)
317
327
  return !1;
@@ -362,12 +372,12 @@ function Rr(e, n, t, r = {
362
372
  t || (t = "100");
363
373
  const { axiosInstance: o } = St({
364
374
  headers: e.requestHeaders
365
- }), { i18n: { t: i } } = xt(), { debounce: a } = $r(), s = a(async (v) => {
375
+ }), { i18n: { t: i } } = xt(), { debounce: a } = Mr(), s = a(async (v) => {
366
376
  await L(v);
367
377
  }, 200), l = F(!1), u = F(""), p = F(""), c = F([]), y = F([]), f = F(void 0), _ = m(n);
368
378
  let h = `${e.apiBaseUrl}${_}`;
369
379
  e.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
370
- const { isValidUuid: S } = kn(), b = async () => {
380
+ const { isValidUuid: S } = wn(), b = async () => {
371
381
  try {
372
382
  l.value = !0;
373
383
  const { data: v } = await o.get(`${h}?size=${t}`);
@@ -378,7 +388,7 @@ function Rr(e, n, t, r = {
378
388
  l.value = !1;
379
389
  }
380
390
  }, w = F(""), L = async (v) => {
381
- var x, R, re;
391
+ var x, V, re;
382
392
  if (w.value !== v)
383
393
  if (w.value = v || "", f.value === void 0)
384
394
  try {
@@ -398,29 +408,29 @@ function Rr(e, n, t, r = {
398
408
  return I[r.fetchedItemsKey];
399
409
  })
400
410
  );
401
- const C = await Promise.all(G), D = /* @__PURE__ */ new Set();
411
+ const C = await Promise.all(G), R = /* @__PURE__ */ new Set();
402
412
  c.value = [], (x = C == null ? void 0 : C.forEach) == null || x.call(C, (N) => {
403
413
  var I;
404
414
  (I = N == null ? void 0 : N.forEach) == null || I.call(N, (T) => {
405
- D.has(T.id) || (D.add(T.id), c.value.push(T));
415
+ R.has(T.id) || (R.add(T.id), c.value.push(T));
406
416
  });
407
417
  });
408
418
  } else
409
419
  c.value = y.value;
410
420
  } catch (G) {
411
- ((R = G == null ? void 0 : G.response) == null ? void 0 : R.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
421
+ ((V = G == null ? void 0 : G.response) == null ? void 0 : V.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
412
422
  } finally {
413
423
  l.value = !1;
414
424
  }
415
425
  else
416
426
  l.value = !0, p.value = "", v ? (c.value = (re = f.value) == null ? void 0 : re.filter((G) => {
417
427
  var C;
418
- let D = !1;
428
+ let R = !1;
419
429
  for (const N of r.searchKeys) {
420
430
  const I = typeof G[N] == "string" ? (C = G[N]) == null ? void 0 : C.toLowerCase() : G[N];
421
- I != null && I.includes(v.toLowerCase()) && (D = !0);
431
+ I != null && I.includes(v.toLowerCase()) && (R = !0);
422
432
  }
423
- return D;
433
+ return R;
424
434
  }), (!c.value || !c.value.length) && (p.value = i("debouncedFilter.errors.invalid"))) : c.value = f.value, l.value = !1;
425
435
  };
426
436
  return {
@@ -433,13 +443,13 @@ function Rr(e, n, t, r = {
433
443
  debouncedQueryChange: s
434
444
  };
435
445
  }
436
- function Dr(e, n) {
446
+ function Gr(e, n) {
437
447
  const t = m(n), r = A(
438
448
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
439
449
  );
440
450
  return r.value.search = "", (o) => `${r.value.href}/${o}`;
441
451
  }
442
- function Gr() {
452
+ function Hr() {
443
453
  const { i18n: { t: e } } = xt();
444
454
  return {
445
455
  getMessageFromError: (n) => {
@@ -469,7 +479,7 @@ function Gr() {
469
479
  }
470
480
  };
471
481
  }
472
- function Hr(e) {
482
+ function zr(e) {
473
483
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
474
484
  try {
475
485
  const r = e.join("/"), o = `${t}${r}`, i = e.some((a) => a.trim() === "");
@@ -480,7 +490,7 @@ function Hr(e) {
480
490
  return console.warn("Failed to build valid URL:", r), "";
481
491
  }
482
492
  }
483
- function wn(e, n) {
493
+ function _n(e, n) {
484
494
  const t = F(m(e)), r = F(m(n)), o = A(
485
495
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
486
496
  ), i = A(
@@ -498,10 +508,10 @@ function wn(e, n) {
498
508
  }
499
509
  };
500
510
  }
501
- function zr(e, n, t = "data") {
511
+ function Jr(e, n, t = "data") {
502
512
  const r = m(n), { axiosInstance: o } = St({
503
513
  headers: e.requestHeaders
504
- }), i = wn(e, r), a = F({
514
+ }), i = _n(e, r), a = F({
505
515
  status: Ne.Idle
506
516
  });
507
517
  return { fetcher: async (s) => {
@@ -542,61 +552,61 @@ function zr(e, n, t = "data") {
542
552
  }
543
553
  }, fetcherState: a };
544
554
  }
545
- function Jr() {
555
+ function Yr() {
546
556
  const e = (t, r = "_") => t ? t.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
547
557
  return {
548
558
  capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
549
559
  convertKeyToTitle: e
550
560
  };
551
561
  }
552
- const _n = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Vt = (e) => {
562
+ const In = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Dt = (e) => {
553
563
  if (typeof e != "string")
554
564
  throw new TypeError("Invalid argument expected string");
555
- const n = e.match(_n);
565
+ const n = e.match(In);
556
566
  if (!n)
557
567
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
558
568
  return n.shift(), n;
559
- }, Rt = (e) => e === "*" || e === "x" || e === "X", Dt = (e) => {
569
+ }, Vt = (e) => e === "*" || e === "x" || e === "X", Rt = (e) => {
560
570
  const n = parseInt(e, 10);
561
571
  return isNaN(n) ? e : n;
562
- }, Yr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Wr = (e, n) => {
563
- if (Rt(e) || Rt(n))
572
+ }, Wr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Zr = (e, n) => {
573
+ if (Vt(e) || Vt(n))
564
574
  return 0;
565
- const [t, r] = Yr(Dt(e), Dt(n));
575
+ const [t, r] = Wr(Rt(e), Rt(n));
566
576
  return t > r ? 1 : t < r ? -1 : 0;
567
577
  }, Gt = (e, n) => {
568
578
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
569
- const r = Wr(e[t] || "0", n[t] || "0");
579
+ const r = Zr(e[t] || "0", n[t] || "0");
570
580
  if (r !== 0)
571
581
  return r;
572
582
  }
573
583
  return 0;
574
- }, Zr = (e, n) => {
575
- const t = Vt(e), r = Vt(n), o = t.pop(), i = r.pop(), a = Gt(t, r);
584
+ }, Qr = (e, n) => {
585
+ const t = Dt(e), r = Dt(n), o = t.pop(), i = r.pop(), a = Gt(t, r);
576
586
  return a !== 0 ? a : o && i ? Gt(o.split("."), i.split(".")) : o || i ? o ? -1 : 1 : 0;
577
587
  }, Ht = (e, n, t) => {
578
- Qr(t);
579
- const r = Zr(e, n);
580
- return In[t].includes(r);
581
- }, In = {
588
+ Xr(t);
589
+ const r = Qr(e, n);
590
+ return An[t].includes(r);
591
+ }, An = {
582
592
  ">": [1],
583
593
  ">=": [0, 1],
584
594
  "=": [0],
585
595
  "<=": [-1, 0],
586
596
  "<": [-1],
587
597
  "!=": [-1, 1]
588
- }, zt = Object.keys(In), Qr = (e) => {
598
+ }, zt = Object.keys(An), Xr = (e) => {
589
599
  if (typeof e != "string")
590
600
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
591
601
  if (zt.indexOf(e) === -1)
592
602
  throw new Error(`Invalid operator, expected one of ${zt.join("|")}`);
593
- }, Xr = (e) => typeof e == "string" && /^[v\d]/.test(e) && _n.test(e);
594
- function eo(e) {
603
+ }, eo = (e) => typeof e == "string" && /^[v\d]/.test(e) && In.test(e);
604
+ function to(e) {
595
605
  const { gatewayInfo: n, supportedRange: t } = e;
596
606
  if (!n)
597
607
  return !0;
598
608
  const { edition: r, version: o } = n;
599
- if (!Xr(o))
609
+ if (!eo(o))
600
610
  return console.error("Invalid version"), !1;
601
611
  const i = t[r];
602
612
  if (!i)
@@ -604,7 +614,7 @@ function eo(e) {
604
614
  const [a, s] = i;
605
615
  return !(a && Ht(o, a, "<") || s && Ht(o, s, ">"));
606
616
  }
607
- function to(e) {
617
+ function no(e) {
608
618
  const n = F(0), t = F(0), r = F(!1);
609
619
  return Te(e, (o) => {
610
620
  o && !r.value && (n.value = o.offsetWidth, t.value = o.scrollWidth, r.value = !0);
@@ -615,37 +625,37 @@ function to(e) {
615
625
  const ce = {
616
626
  useAxios: St,
617
627
  useDebouncedFilter: Rr,
618
- useDeleteUrlBuilder: Dr,
619
- useErrors: Gr,
620
- useExternalLinkCreator: Hr,
621
- useFetcher: zr,
622
- useFetchUrlBuilder: wn,
623
- useHelpers: kn,
624
- useStringHelpers: Jr,
628
+ useDeleteUrlBuilder: Gr,
629
+ useErrors: Hr,
630
+ useExternalLinkCreator: zr,
631
+ useFetcher: Jr,
632
+ useFetchUrlBuilder: _n,
633
+ useHelpers: wn,
634
+ useStringHelpers: Yr,
625
635
  useI18n: xt,
626
- useGatewayFeatureSupported: eo,
627
- useTruncationDetector: to
628
- }, no = {
636
+ useGatewayFeatureSupported: to,
637
+ useTruncationDetector: no
638
+ }, ro = {
629
639
  fail: "Failed to copy id to clipboard",
630
640
  success: {
631
641
  prefix: "Successfully",
632
642
  content: " copied to clipboard"
633
643
  }
634
- }, ro = "Copy to clipboard", oo = {
635
- message: no,
636
- iconTitle: ro
637
- }, ao = "kong-ui-copy-uuid-notify", Jt = "24px", io = (e, n) => {
644
+ }, oo = "Copy to clipboard", ao = {
645
+ message: ro,
646
+ iconTitle: oo
647
+ }, io = "kong-ui-copy-uuid-notify", Jt = "24px", so = (e, n) => {
638
648
  const t = e.__vccOpts || e;
639
649
  for (const [r, o] of n)
640
650
  t[r] = o;
641
651
  return t;
642
- }, so = (e) => (hn("data-v-13f41aa3"), e = e(), vn(), e), lo = ["aria-hidden"], uo = {
652
+ }, lo = (e) => (vn("data-v-13f41aa3"), e = e(), bn(), e), uo = ["aria-hidden"], co = {
643
653
  key: 0,
644
654
  "data-testid": "kui-icon-svg-title"
645
- }, co = /* @__PURE__ */ so(() => /* @__PURE__ */ V("path", {
655
+ }, po = /* @__PURE__ */ lo(() => /* @__PURE__ */ D("path", {
646
656
  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",
647
657
  fill: "currentColor"
648
- }, null, -1)), po = /* @__PURE__ */ ae({
658
+ }, null, -1)), fo = /* @__PURE__ */ ae({
649
659
  __name: "CopyIcon",
650
660
  props: {
651
661
  /** The accessibility text provided to screen readers */
@@ -718,10 +728,10 @@ const ce = {
718
728
  "aria-hidden": e.decorative ? "true" : void 0,
719
729
  class: "kui-icon copy-icon",
720
730
  "data-testid": "kui-icon-wrapper-copy-icon",
721
- style: yn(r.value)
731
+ style: hn(r.value)
722
732
  }, {
723
733
  default: g(() => [
724
- (d(), $("svg", {
734
+ (d(), j("svg", {
725
735
  "aria-hidden": e.decorative ? "true" : void 0,
726
736
  "data-testid": "kui-icon-svg-copy-icon",
727
737
  fill: "none",
@@ -731,14 +741,14 @@ const ce = {
731
741
  width: "100%",
732
742
  xmlns: "http://www.w3.org/2000/svg"
733
743
  }, [
734
- e.title ? (d(), $("title", uo, K(e.title), 1)) : z("", !0),
735
- co
736
- ], 8, lo))
744
+ e.title ? (d(), j("title", co, K(e.title), 1)) : z("", !0),
745
+ po
746
+ ], 8, uo))
737
747
  ]),
738
748
  _: 1
739
749
  }, 8, ["aria-hidden", "style"]));
740
750
  }
741
- }), fo = /* @__PURE__ */ io(po, [["__scopeId", "data-v-13f41aa3"]]), mo = "16px", go = { class: "kong-ui-copy-uuid" }, yo = ["onClick"], Yt = 15, ho = /* @__PURE__ */ ae({
751
+ }), mo = /* @__PURE__ */ so(fo, [["__scopeId", "data-v-13f41aa3"]]), go = "16px", yo = { class: "kong-ui-copy-uuid" }, ho = ["onClick"], Yt = 15, vo = /* @__PURE__ */ ae({
742
752
  __name: "CopyUuid",
743
753
  props: {
744
754
  uuid: {
@@ -782,7 +792,7 @@ const ce = {
782
792
  },
783
793
  emits: ["success", "error"],
784
794
  setup(e, { emit: n }) {
785
- const { t } = At("en-us", oo), r = e, o = n, i = r.notify || Ir(ao, () => {
795
+ const { t } = At("en-us", ao), r = e, o = n, i = r.notify || gn(io, () => {
786
796
  }), a = A(() => r.idTooltip ? {
787
797
  label: r.idTooltip,
788
798
  positionFixed: !0,
@@ -818,10 +828,10 @@ const ce = {
818
828
  };
819
829
  return (f, _) => {
820
830
  const h = q("KClipboardProvider");
821
- return d(), $("div", go, [
831
+ return d(), j("div", yo, [
822
832
  e.format !== "hidden" ? (d(), P(Be(e.idTooltip ? "KTooltip" : "div"), vt({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
823
833
  default: g(() => [
824
- V("div", {
834
+ D("div", {
825
835
  class: Ee([
826
836
  "uuid-container",
827
837
  e.truncated ? "truncated-uuid" : null,
@@ -835,20 +845,20 @@ const ce = {
835
845
  default: g(() => [
836
846
  E(h, null, {
837
847
  default: g(({ copyToClipboard: S }) => [
838
- V("span", {
848
+ D("span", {
839
849
  "data-testid": "copy-to-clipboard",
840
850
  role: "button",
841
851
  tabindex: "0",
842
852
  onClick: rt((b) => y(S), ["stop"])
843
853
  }, [
844
- E(m(fo), {
854
+ E(m(mo), {
845
855
  class: "uuid-icon",
846
856
  color: e.iconColor,
847
857
  decorative: !!e.tooltip,
848
- size: m(mo),
858
+ size: m(go),
849
859
  title: m(t)("iconTitle")
850
860
  }, null, 8, ["color", "decorative", "size", "title"])
851
- ], 8, yo)
861
+ ], 8, ho)
852
862
  ]),
853
863
  _: 1
854
864
  })
@@ -858,15 +868,15 @@ const ce = {
858
868
  ]);
859
869
  };
860
870
  }
861
- }), vo = (e, n) => {
871
+ }), bo = (e, n) => {
862
872
  const t = e.__vccOpts || e;
863
873
  for (const [r, o] of n)
864
874
  t[r] = o;
865
875
  return t;
866
- }, An = /* @__PURE__ */ vo(ho, [["__scopeId", "data-v-0c07874b"]]), bo = {
876
+ }, Sn = /* @__PURE__ */ bo(vo, [["__scopeId", "data-v-0c07874b"]]), Co = {
867
877
  key: 0,
868
878
  class: "config-card-fieldset-title"
869
- }, Co = /* @__PURE__ */ ae({
879
+ }, ko = /* @__PURE__ */ ae({
870
880
  __name: "JsonCardItem",
871
881
  props: {
872
882
  item: {
@@ -894,10 +904,10 @@ const ce = {
894
904
  class: Ee(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
895
905
  }, {
896
906
  default: g(() => [
897
- e.isArrayItem ? (d(), $("legend", bo, [
898
- V("b", null, K(s.value), 1)
907
+ e.isArrayItem ? (d(), j("legend", Co, [
908
+ D("b", null, K(s.value), 1)
899
909
  ])) : z("", !0),
900
- (d(!0), $(Ce, null, ve(Object.keys(a.value), (p, c) => (d(), P(Tt, {
910
+ (d(!0), j(Ce, null, ve(Object.keys(a.value), (p, c) => (d(), P(Tt, {
901
911
  key: `${o.value}-property-${c}`,
902
912
  item: {
903
913
  key: p,
@@ -914,7 +924,7 @@ const ce = {
914
924
  for (const [r, o] of n)
915
925
  t[r] = o;
916
926
  return t;
917
- }, Sn = /* @__PURE__ */ we(Co, [["__scopeId", "data-v-68ca83ec"]]), ko = /* @__PURE__ */ ae({
927
+ }, xn = /* @__PURE__ */ we(ko, [["__scopeId", "data-v-68ca83ec"]]), wo = /* @__PURE__ */ ae({
918
928
  __name: "InternalLinkItem",
919
929
  props: {
920
930
  item: {
@@ -927,7 +937,7 @@ const ce = {
927
937
  const { i18n: { t: n } } = ce.useI18n();
928
938
  return (t, r) => {
929
939
  const o = q("KButton");
930
- return d(), $("div", null, [
940
+ return d(), j("div", null, [
931
941
  E(o, {
932
942
  appearance: "tertiary",
933
943
  class: "navigation-button",
@@ -941,7 +951,7 @@ const ce = {
941
951
  ]);
942
952
  };
943
953
  }
944
- }), wo = /* @__PURE__ */ we(ko, [["__scopeId", "data-v-c96811e5"]]), _o = /* @__PURE__ */ ae({
954
+ }), _o = /* @__PURE__ */ we(wo, [["__scopeId", "data-v-c96811e5"]]), Io = /* @__PURE__ */ ae({
945
955
  __name: "StatusBadge",
946
956
  props: {
947
957
  status: {
@@ -963,11 +973,11 @@ const ce = {
963
973
  }, 8, ["appearance"]);
964
974
  };
965
975
  }
966
- }), Io = "#0044f4", Ao = "#e0e4ea", So = "#3a3f51", xo = "1px", To = "20px", jo = { class: "config-card-details-row" }, $o = ["data-testid"], Mo = ["data-testid"], Oo = ["data-testid"], Eo = ["data-testid"], Fo = { key: 1 }, Ko = ["data-testid"], No = ["data-testid"], qo = ["data-testid"], Bo = ["data-testid"], Lo = {
976
+ }), Ao = "#0044f4", So = "#e0e4ea", xo = "#3a3f51", To = "1px", $o = "20px", jo = { class: "config-card-details-row" }, Mo = ["data-testid"], Oo = ["data-testid"], Eo = ["data-testid"], Fo = ["data-testid"], Ko = { key: 1 }, No = ["data-testid"], qo = ["data-testid"], Bo = ["data-testid"], Lo = ["data-testid"], Uo = {
967
977
  name: "ConfigCardItem",
968
- components: { CopyUuid: An, JsonCardItem: Sn, StatusBadge: _o, InternalLinkItem: wo }
969
- }, Uo = /* @__PURE__ */ ae({
970
- ...Lo,
978
+ components: { CopyUuid: Sn, JsonCardItem: xn, StatusBadge: Io, InternalLinkItem: _o }
979
+ }, Po = /* @__PURE__ */ ae({
980
+ ...Uo,
971
981
  props: {
972
982
  item: {
973
983
  type: Object,
@@ -986,8 +996,8 @@ const ce = {
986
996
  },
987
997
  emits: ["navigation-click"],
988
998
  setup(e, { emit: n }) {
989
- gn((_) => ({
990
- "0da74440": p.value ? "none" : `solid ${m(xo)} ${m(Ao)}`,
999
+ yn((_) => ({
1000
+ "0da74440": p.value ? "none" : `solid ${m(To)} ${m(So)}`,
991
1001
  "02a039da": u.value && s.value ? "block" : "flex",
992
1002
  "690f3ced": u.value && s.value ? "100%" : t.slim ? "50%" : "25%",
993
1003
  "691182c8": u.value && s.value ? "100%" : t.slim ? "50%" : "75%"
@@ -1121,13 +1131,13 @@ const ce = {
1121
1131
  }), y = F(), { isTruncated: f } = ce.useTruncationDetector(y);
1122
1132
  return (_, h) => {
1123
1133
  const S = q("KLabel"), b = q("KBadge"), w = q("KTooltip");
1124
- return d(), $("div", jo, [
1125
- V("div", {
1134
+ return d(), j("div", jo, [
1135
+ D("div", {
1126
1136
  class: "config-card-details-label",
1127
1137
  "data-testid": `${e.item.key}-label`
1128
1138
  }, [
1129
1139
  X(_.$slots, "label", { item: e.item }, () => [
1130
- E(S, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
1140
+ E(S, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1131
1141
  default: g(() => [
1132
1142
  Z(K(e.item.label) + " ", 1)
1133
1143
  ]),
@@ -1136,34 +1146,34 @@ const ce = {
1136
1146
  l.value ? {
1137
1147
  name: "tooltip",
1138
1148
  fn: g(() => [
1139
- V("div", {
1149
+ D("div", {
1140
1150
  "data-testid": `${e.item.key}-label-tooltip`
1141
1151
  }, [
1142
1152
  X(_.$slots, "label-tooltip", {}, () => [
1143
1153
  Z(K(e.item.tooltip), 1)
1144
1154
  ], !0)
1145
- ], 8, Mo)
1155
+ ], 8, Oo)
1146
1156
  ]),
1147
1157
  key: "0"
1148
1158
  } : void 0
1149
1159
  ]), 1024)
1150
1160
  ], !0)
1151
- ], 8, $o),
1152
- V("div", {
1161
+ ], 8, Mo),
1162
+ D("div", {
1153
1163
  class: "config-card-details-value",
1154
1164
  "data-testid": `${e.item.key}-property-value`
1155
1165
  }, [
1156
1166
  X(_.$slots, e.item.key, {
1157
1167
  rowValue: e.item.value
1158
1168
  }, () => [
1159
- s.value ? (d(), $("div", Fo, [
1160
- (d(), P(Be(c.value.tag), Cr(kr(c.value.attrs)), {
1169
+ s.value ? (d(), j("div", Ko, [
1170
+ (d(), P(Be(c.value.tag), kr(wr(c.value.attrs)), {
1161
1171
  default: g(() => [
1162
- c.value.additionalComponent === "KBadge" ? (d(), $("div", {
1172
+ c.value.additionalComponent === "KBadge" ? (d(), j("div", {
1163
1173
  key: 0,
1164
1174
  "data-testid": `${e.item.key}-badge-tags`
1165
1175
  }, [
1166
- (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1176
+ (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1167
1177
  key: `${e.item.key}-badge-tag-${v}`,
1168
1178
  class: "config-badge",
1169
1179
  "data-testid": `${e.item.key}-badge-tag-${v}`,
@@ -1175,23 +1185,23 @@ const ce = {
1175
1185
  ]),
1176
1186
  _: 2
1177
1187
  }, 1032, ["data-testid", "tooltip"]))), 128))
1178
- ], 8, Ko)) : z("", !0),
1179
- c.value.additionalComponent === "CopyUuid" ? (d(), $("div", {
1188
+ ], 8, No)) : z("", !0),
1189
+ c.value.additionalComponent === "CopyUuid" ? (d(), j("div", {
1180
1190
  key: 1,
1181
1191
  class: "copy-uuid-array",
1182
1192
  "data-testid": `${e.item.key}-copy-uuid-array`
1183
1193
  }, [
1184
- (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(m(An), vt(c.value.childAttrs, {
1194
+ (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(m(Sn), vt(c.value.childAttrs, {
1185
1195
  key: `${e.item.key}-copy-uuid-${v}`,
1186
1196
  "data-testid": `${e.item.key}-copy-uuid-${v}`,
1187
1197
  uuid: L
1188
1198
  }), null, 16, ["data-testid", "uuid"]))), 128))
1189
- ], 8, No)) : c.value.additionalComponent === "KMethodBadge" ? (d(), $("div", {
1199
+ ], 8, qo)) : c.value.additionalComponent === "KMethodBadge" ? (d(), j("div", {
1190
1200
  key: 2,
1191
1201
  class: "method-badge-array",
1192
1202
  "data-testid": `${e.item.key}-badge-methods`
1193
1203
  }, [
1194
- (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1204
+ (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1195
1205
  key: `${e.item.key}-badge-method-${v}`,
1196
1206
  appearance: Object.values(m(Sr)).includes(L.toLowerCase()) ? L.toLowerCase() : "custom",
1197
1207
  class: "config-badge",
@@ -1202,23 +1212,23 @@ const ce = {
1202
1212
  ]),
1203
1213
  _: 2
1204
1214
  }, 1032, ["appearance", "data-testid"]))), 128))
1205
- ], 8, qo)) : z("", !0),
1206
- c.value.additionalComponent === "JsonCardItem" ? (d(), $("div", {
1215
+ ], 8, Bo)) : z("", !0),
1216
+ c.value.additionalComponent === "JsonCardItem" ? (d(), j("div", {
1207
1217
  key: 3,
1208
1218
  "data-testid": `${t.item.key}-json-array-content`
1209
1219
  }, [
1210
- (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(Sn, {
1220
+ (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(xn, {
1211
1221
  key: `json-array-item-${v}`,
1212
1222
  index: v,
1213
1223
  "is-array-item": "",
1214
1224
  item: L
1215
1225
  }, null, 8, ["index", "item"]))), 128))
1216
- ], 8, Bo)) : (d(), P(w, {
1226
+ ], 8, Lo)) : (d(), P(w, {
1217
1227
  key: 4,
1218
1228
  label: m(f) ? e.item.value : ""
1219
1229
  }, {
1220
1230
  default: g(() => [
1221
- V("span", {
1231
+ D("span", {
1222
1232
  ref_key: "textContent",
1223
1233
  ref: y,
1224
1234
  class: Ee(["attrs-data-text", { truncated: e.truncated }])
@@ -1229,19 +1239,19 @@ const ce = {
1229
1239
  ]),
1230
1240
  _: 1
1231
1241
  }, 16))
1232
- ])) : (d(), $("div", {
1242
+ ])) : (d(), j("div", {
1233
1243
  key: 0,
1234
1244
  "data-testid": `${e.item.key}-no-value`
1235
- }, " – ", 8, Eo))
1245
+ }, " – ", 8, Fo))
1236
1246
  ], !0)
1237
- ], 8, Oo)
1247
+ ], 8, Eo)
1238
1248
  ]);
1239
1249
  };
1240
1250
  }
1241
- }), Tt = /* @__PURE__ */ we(Uo, [["__scopeId", "data-v-9c87856b"]]), Po = { class: "json-config" }, Vo = {
1251
+ }), Tt = /* @__PURE__ */ we(Po, [["__scopeId", "data-v-9c87856b"]]), Do = { class: "json-config" }, Vo = {
1242
1252
  key: 0,
1243
1253
  class: "json-endpoint"
1244
- }, xn = /* @__PURE__ */ ae({
1254
+ }, Tn = /* @__PURE__ */ ae({
1245
1255
  __name: "JsonCodeBlock",
1246
1256
  props: {
1247
1257
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1269,7 +1279,7 @@ const ce = {
1269
1279
  }
1270
1280
  },
1271
1281
  setup(e) {
1272
- gn((o) => ({
1282
+ yn((o) => ({
1273
1283
  "2d178975": `${r.value}ch`
1274
1284
  }));
1275
1285
  const n = e, t = A(() => n.jsonRecord), r = A(() => {
@@ -1282,8 +1292,8 @@ const ce = {
1282
1292
  return (o, i) => {
1283
1293
  var a;
1284
1294
  const s = q("KBadge"), l = q("KCodeBlock");
1285
- return d(), $("div", Po, [
1286
- n.fetcherUrl && (a = n.config) != null && a.jsonYamlFormsEnabled ? (d(), $("div", Vo, [
1295
+ return d(), j("div", Do, [
1296
+ n.fetcherUrl && (a = n.config) != null && a.jsonYamlFormsEnabled ? (d(), j("div", Vo, [
1287
1297
  E(s, {
1288
1298
  appearance: n.requestMethod
1289
1299
  }, {
@@ -1313,38 +1323,38 @@ const ce = {
1313
1323
  }
1314
1324
  });
1315
1325
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1316
- function Tn(e) {
1326
+ function $n(e) {
1317
1327
  return typeof e > "u" || e === null;
1318
1328
  }
1319
1329
  function Ro(e) {
1320
1330
  return typeof e == "object" && e !== null;
1321
1331
  }
1322
- function Do(e) {
1323
- return Array.isArray(e) ? e : Tn(e) ? [] : [e];
1332
+ function Go(e) {
1333
+ return Array.isArray(e) ? e : $n(e) ? [] : [e];
1324
1334
  }
1325
- function Go(e, n) {
1335
+ function Ho(e, n) {
1326
1336
  var t, r, o, i;
1327
1337
  if (n)
1328
1338
  for (i = Object.keys(n), t = 0, r = i.length; t < r; t += 1)
1329
1339
  o = i[t], e[o] = n[o];
1330
1340
  return e;
1331
1341
  }
1332
- function Ho(e, n) {
1342
+ function zo(e, n) {
1333
1343
  var t = "", r;
1334
1344
  for (r = 0; r < n; r += 1)
1335
1345
  t += e;
1336
1346
  return t;
1337
1347
  }
1338
- function zo(e) {
1348
+ function Jo(e) {
1339
1349
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1340
1350
  }
1341
- var Jo = Tn, Yo = Ro, Wo = Do, Zo = Ho, Qo = zo, Xo = Go, ue = {
1342
- isNothing: Jo,
1343
- isObject: Yo,
1344
- toArray: Wo,
1345
- repeat: Zo,
1346
- isNegativeZero: Qo,
1347
- extend: Xo
1351
+ var Yo = $n, Wo = Ro, Zo = Go, Qo = zo, Xo = Jo, ea = Ho, ue = {
1352
+ isNothing: Yo,
1353
+ isObject: Wo,
1354
+ toArray: Zo,
1355
+ repeat: Qo,
1356
+ isNegativeZero: Xo,
1357
+ extend: ea
1348
1358
  };
1349
1359
  function jn(e, n) {
1350
1360
  var t = "", r = e.reason || "(unknown reason)";
@@ -1372,7 +1382,7 @@ function gt(e, n, t, r, o) {
1372
1382
  function yt(e, n) {
1373
1383
  return ue.repeat(" ", n - e.length) + e;
1374
1384
  }
1375
- function ea(e, n) {
1385
+ function ta(e, n) {
1376
1386
  if (n = Object.create(n || null), !e.buffer)
1377
1387
  return null;
1378
1388
  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);
@@ -1402,7 +1412,7 @@ function ea(e, n) {
1402
1412
  `;
1403
1413
  return s.replace(/\n$/, "");
1404
1414
  }
1405
- var ta = ea, na = [
1415
+ var na = ta, ra = [
1406
1416
  "kind",
1407
1417
  "multi",
1408
1418
  "resolve",
@@ -1413,12 +1423,12 @@ var ta = ea, na = [
1413
1423
  "representName",
1414
1424
  "defaultStyle",
1415
1425
  "styleAliases"
1416
- ], ra = [
1426
+ ], oa = [
1417
1427
  "scalar",
1418
1428
  "sequence",
1419
1429
  "mapping"
1420
1430
  ];
1421
- function oa(e) {
1431
+ function aa(e) {
1422
1432
  var n = {};
1423
1433
  return e !== null && Object.keys(e).forEach(function(t) {
1424
1434
  e[t].forEach(function(r) {
@@ -1426,18 +1436,18 @@ function oa(e) {
1426
1436
  });
1427
1437
  }), n;
1428
1438
  }
1429
- function aa(e, n) {
1439
+ function ia(e, n) {
1430
1440
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1431
- if (na.indexOf(t) === -1)
1441
+ if (ra.indexOf(t) === -1)
1432
1442
  throw new ye('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1433
1443
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1434
1444
  return !0;
1435
1445
  }, this.construct = n.construct || function(t) {
1436
1446
  return t;
1437
- }, 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 = oa(n.styleAliases || null), ra.indexOf(this.kind) === -1)
1447
+ }, 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 = aa(n.styleAliases || null), oa.indexOf(this.kind) === -1)
1438
1448
  throw new ye('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1439
1449
  }
1440
- var pe = aa;
1450
+ var pe = ia;
1441
1451
  function Wt(e, n) {
1442
1452
  var t = [];
1443
1453
  return e[n].forEach(function(r) {
@@ -1447,7 +1457,7 @@ function Wt(e, n) {
1447
1457
  }), t[o] = r;
1448
1458
  }), t;
1449
1459
  }
1450
- function ia() {
1460
+ function sa() {
1451
1461
  var e = {
1452
1462
  scalar: {},
1453
1463
  sequence: {},
@@ -1492,47 +1502,47 @@ bt.prototype.extend = function(e) {
1492
1502
  throw new ye("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1493
1503
  });
1494
1504
  var r = Object.create(bt.prototype);
1495
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Wt(r, "implicit"), r.compiledExplicit = Wt(r, "explicit"), r.compiledTypeMap = ia(r.compiledImplicit, r.compiledExplicit), r;
1505
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Wt(r, "implicit"), r.compiledExplicit = Wt(r, "explicit"), r.compiledTypeMap = sa(r.compiledImplicit, r.compiledExplicit), r;
1496
1506
  };
1497
- var $n = bt, Mn = new pe("tag:yaml.org,2002:str", {
1507
+ var Mn = bt, On = new pe("tag:yaml.org,2002:str", {
1498
1508
  kind: "scalar",
1499
1509
  construct: function(e) {
1500
1510
  return e !== null ? e : "";
1501
1511
  }
1502
- }), On = new pe("tag:yaml.org,2002:seq", {
1512
+ }), En = new pe("tag:yaml.org,2002:seq", {
1503
1513
  kind: "sequence",
1504
1514
  construct: function(e) {
1505
1515
  return e !== null ? e : [];
1506
1516
  }
1507
- }), En = new pe("tag:yaml.org,2002:map", {
1517
+ }), Fn = new pe("tag:yaml.org,2002:map", {
1508
1518
  kind: "mapping",
1509
1519
  construct: function(e) {
1510
1520
  return e !== null ? e : {};
1511
1521
  }
1512
- }), Fn = new $n({
1522
+ }), Kn = new Mn({
1513
1523
  explicit: [
1514
- Mn,
1515
1524
  On,
1516
- En
1525
+ En,
1526
+ Fn
1517
1527
  ]
1518
1528
  });
1519
- function sa(e) {
1529
+ function la(e) {
1520
1530
  if (e === null)
1521
1531
  return !0;
1522
1532
  var n = e.length;
1523
1533
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1524
1534
  }
1525
- function la() {
1535
+ function ua() {
1526
1536
  return null;
1527
1537
  }
1528
- function ua(e) {
1538
+ function ca(e) {
1529
1539
  return e === null;
1530
1540
  }
1531
- var Kn = new pe("tag:yaml.org,2002:null", {
1541
+ var Nn = new pe("tag:yaml.org,2002:null", {
1532
1542
  kind: "scalar",
1533
- resolve: sa,
1534
- construct: la,
1535
- predicate: ua,
1543
+ resolve: la,
1544
+ construct: ua,
1545
+ predicate: ca,
1536
1546
  represent: {
1537
1547
  canonical: function() {
1538
1548
  return "~";
@@ -1552,23 +1562,23 @@ var Kn = new pe("tag:yaml.org,2002:null", {
1552
1562
  },
1553
1563
  defaultStyle: "lowercase"
1554
1564
  });
1555
- function ca(e) {
1565
+ function da(e) {
1556
1566
  if (e === null)
1557
1567
  return !1;
1558
1568
  var n = e.length;
1559
1569
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1560
1570
  }
1561
- function da(e) {
1571
+ function pa(e) {
1562
1572
  return e === "true" || e === "True" || e === "TRUE";
1563
1573
  }
1564
- function pa(e) {
1574
+ function fa(e) {
1565
1575
  return Object.prototype.toString.call(e) === "[object Boolean]";
1566
1576
  }
1567
- var Nn = new pe("tag:yaml.org,2002:bool", {
1577
+ var qn = new pe("tag:yaml.org,2002:bool", {
1568
1578
  kind: "scalar",
1569
- resolve: ca,
1570
- construct: da,
1571
- predicate: pa,
1579
+ resolve: da,
1580
+ construct: pa,
1581
+ predicate: fa,
1572
1582
  represent: {
1573
1583
  lowercase: function(e) {
1574
1584
  return e ? "true" : "false";
@@ -1582,16 +1592,16 @@ var Nn = new pe("tag:yaml.org,2002:bool", {
1582
1592
  },
1583
1593
  defaultStyle: "lowercase"
1584
1594
  });
1585
- function fa(e) {
1595
+ function ma(e) {
1586
1596
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1587
1597
  }
1588
- function ma(e) {
1598
+ function ga(e) {
1589
1599
  return 48 <= e && e <= 55;
1590
1600
  }
1591
- function ga(e) {
1601
+ function ya(e) {
1592
1602
  return 48 <= e && e <= 57;
1593
1603
  }
1594
- function ya(e) {
1604
+ function ha(e) {
1595
1605
  if (e === null)
1596
1606
  return !1;
1597
1607
  var n = e.length, t = 0, r = !1, o;
@@ -1612,7 +1622,7 @@ function ya(e) {
1612
1622
  if (o === "x") {
1613
1623
  for (t++; t < n; t++)
1614
1624
  if (o = e[t], o !== "_") {
1615
- if (!fa(e.charCodeAt(t)))
1625
+ if (!ma(e.charCodeAt(t)))
1616
1626
  return !1;
1617
1627
  r = !0;
1618
1628
  }
@@ -1621,7 +1631,7 @@ function ya(e) {
1621
1631
  if (o === "o") {
1622
1632
  for (t++; t < n; t++)
1623
1633
  if (o = e[t], o !== "_") {
1624
- if (!ma(e.charCodeAt(t)))
1634
+ if (!ga(e.charCodeAt(t)))
1625
1635
  return !1;
1626
1636
  r = !0;
1627
1637
  }
@@ -1632,13 +1642,13 @@ function ya(e) {
1632
1642
  return !1;
1633
1643
  for (; t < n; t++)
1634
1644
  if (o = e[t], o !== "_") {
1635
- if (!ga(e.charCodeAt(t)))
1645
+ if (!ya(e.charCodeAt(t)))
1636
1646
  return !1;
1637
1647
  r = !0;
1638
1648
  }
1639
1649
  return !(!r || o === "_");
1640
1650
  }
1641
- function ha(e) {
1651
+ function va(e) {
1642
1652
  var n = e, t = 1, r;
1643
1653
  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")
1644
1654
  return 0;
@@ -1652,14 +1662,14 @@ function ha(e) {
1652
1662
  }
1653
1663
  return t * parseInt(n, 10);
1654
1664
  }
1655
- function va(e) {
1665
+ function ba(e) {
1656
1666
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ue.isNegativeZero(e);
1657
1667
  }
1658
- var qn = new pe("tag:yaml.org,2002:int", {
1668
+ var Bn = new pe("tag:yaml.org,2002:int", {
1659
1669
  kind: "scalar",
1660
- resolve: ya,
1661
- construct: ha,
1662
- predicate: va,
1670
+ resolve: ha,
1671
+ construct: va,
1672
+ predicate: ba,
1663
1673
  represent: {
1664
1674
  binary: function(e) {
1665
1675
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1682,21 +1692,21 @@ var qn = new pe("tag:yaml.org,2002:int", {
1682
1692
  decimal: [10, "dec"],
1683
1693
  hexadecimal: [16, "hex"]
1684
1694
  }
1685
- }), ba = new RegExp(
1695
+ }), Ca = new RegExp(
1686
1696
  // 2.5e4, 2.5 and integers
1687
1697
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1688
1698
  );
1689
- function Ca(e) {
1690
- return !(e === null || !ba.test(e) || // Quick hack to not allow integers end with `_`
1699
+ function ka(e) {
1700
+ return !(e === null || !Ca.test(e) || // Quick hack to not allow integers end with `_`
1691
1701
  // Probably should update regexp & check speed
1692
1702
  e[e.length - 1] === "_");
1693
1703
  }
1694
- function ka(e) {
1704
+ function wa(e) {
1695
1705
  var n, t;
1696
1706
  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);
1697
1707
  }
1698
- var wa = /^[-+]?[0-9]+e/;
1699
- function _a(e, n) {
1708
+ var _a = /^[-+]?[0-9]+e/;
1709
+ function Ia(e, n) {
1700
1710
  var t;
1701
1711
  if (isNaN(e))
1702
1712
  switch (n) {
@@ -1727,36 +1737,36 @@ function _a(e, n) {
1727
1737
  }
1728
1738
  else if (ue.isNegativeZero(e))
1729
1739
  return "-0.0";
1730
- return t = e.toString(10), wa.test(t) ? t.replace("e", ".e") : t;
1740
+ return t = e.toString(10), _a.test(t) ? t.replace("e", ".e") : t;
1731
1741
  }
1732
- function Ia(e) {
1742
+ function Aa(e) {
1733
1743
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ue.isNegativeZero(e));
1734
1744
  }
1735
- var Bn = new pe("tag:yaml.org,2002:float", {
1745
+ var Ln = new pe("tag:yaml.org,2002:float", {
1736
1746
  kind: "scalar",
1737
- resolve: Ca,
1738
- construct: ka,
1739
- predicate: Ia,
1740
- represent: _a,
1747
+ resolve: ka,
1748
+ construct: wa,
1749
+ predicate: Aa,
1750
+ represent: Ia,
1741
1751
  defaultStyle: "lowercase"
1742
- }), Ln = Fn.extend({
1752
+ }), Un = Kn.extend({
1743
1753
  implicit: [
1744
- Kn,
1745
1754
  Nn,
1746
1755
  qn,
1747
- Bn
1756
+ Bn,
1757
+ Ln
1748
1758
  ]
1749
- }), Un = Ln, Pn = new RegExp(
1759
+ }), Pn = Un, Dn = new RegExp(
1750
1760
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1751
1761
  ), Vn = new RegExp(
1752
1762
  "^([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]))?))?$"
1753
1763
  );
1754
- function Aa(e) {
1755
- return e === null ? !1 : Pn.exec(e) !== null || Vn.exec(e) !== null;
1756
- }
1757
1764
  function Sa(e) {
1765
+ return e === null ? !1 : Dn.exec(e) !== null || Vn.exec(e) !== null;
1766
+ }
1767
+ function xa(e) {
1758
1768
  var n, t, r, o, i, a, s, l = 0, u = null, p, c, y;
1759
- if (n = Pn.exec(e), n === null && (n = Vn.exec(e)), n === null)
1769
+ if (n = Dn.exec(e), n === null && (n = Vn.exec(e)), n === null)
1760
1770
  throw new Error("Date resolve error");
1761
1771
  if (t = +n[1], r = +n[2] - 1, o = +n[3], !n[4])
1762
1772
  return new Date(Date.UTC(t, r, o));
@@ -1767,28 +1777,28 @@ function Sa(e) {
1767
1777
  }
1768
1778
  return n[9] && (p = +n[10], c = +(n[11] || 0), u = (p * 60 + c) * 6e4, n[9] === "-" && (u = -u)), y = new Date(Date.UTC(t, r, o, i, a, s, l)), u && y.setTime(y.getTime() - u), y;
1769
1779
  }
1770
- function xa(e) {
1780
+ function Ta(e) {
1771
1781
  return e.toISOString();
1772
1782
  }
1773
1783
  var Rn = new pe("tag:yaml.org,2002:timestamp", {
1774
1784
  kind: "scalar",
1775
- resolve: Aa,
1776
- construct: Sa,
1785
+ resolve: Sa,
1786
+ construct: xa,
1777
1787
  instanceOf: Date,
1778
- represent: xa
1788
+ represent: Ta
1779
1789
  });
1780
- function Ta(e) {
1790
+ function $a(e) {
1781
1791
  return e === "<<" || e === null;
1782
1792
  }
1783
- var Dn = new pe("tag:yaml.org,2002:merge", {
1793
+ var Gn = new pe("tag:yaml.org,2002:merge", {
1784
1794
  kind: "scalar",
1785
- resolve: Ta
1786
- }), jt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1795
+ resolve: $a
1796
+ }), $t = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1787
1797
  \r`;
1788
1798
  function ja(e) {
1789
1799
  if (e === null)
1790
1800
  return !1;
1791
- var n, t, r = 0, o = e.length, i = jt;
1801
+ var n, t, r = 0, o = e.length, i = $t;
1792
1802
  for (t = 0; t < o; t++)
1793
1803
  if (n = i.indexOf(e.charAt(t)), !(n > 64)) {
1794
1804
  if (n < 0)
@@ -1797,37 +1807,37 @@ function ja(e) {
1797
1807
  }
1798
1808
  return r % 8 === 0;
1799
1809
  }
1800
- function $a(e) {
1801
- var n, t, r = e.replace(/[\r\n=]/g, ""), o = r.length, i = jt, a = 0, s = [];
1810
+ function Ma(e) {
1811
+ var n, t, r = e.replace(/[\r\n=]/g, ""), o = r.length, i = $t, a = 0, s = [];
1802
1812
  for (n = 0; n < o; n++)
1803
1813
  n % 4 === 0 && n && (s.push(a >> 16 & 255), s.push(a >> 8 & 255), s.push(a & 255)), a = a << 6 | i.indexOf(r.charAt(n));
1804
1814
  return t = o % 4 * 6, t === 0 ? (s.push(a >> 16 & 255), s.push(a >> 8 & 255), s.push(a & 255)) : t === 18 ? (s.push(a >> 10 & 255), s.push(a >> 2 & 255)) : t === 12 && s.push(a >> 4 & 255), new Uint8Array(s);
1805
1815
  }
1806
- function Ma(e) {
1807
- var n = "", t = 0, r, o, i = e.length, a = jt;
1816
+ function Oa(e) {
1817
+ var n = "", t = 0, r, o, i = e.length, a = $t;
1808
1818
  for (r = 0; r < i; r++)
1809
1819
  r % 3 === 0 && r && (n += a[t >> 18 & 63], n += a[t >> 12 & 63], n += a[t >> 6 & 63], n += a[t & 63]), t = (t << 8) + e[r];
1810
1820
  return o = i % 3, o === 0 ? (n += a[t >> 18 & 63], n += a[t >> 12 & 63], n += a[t >> 6 & 63], n += a[t & 63]) : o === 2 ? (n += a[t >> 10 & 63], n += a[t >> 4 & 63], n += a[t << 2 & 63], n += a[64]) : o === 1 && (n += a[t >> 2 & 63], n += a[t << 4 & 63], n += a[64], n += a[64]), n;
1811
1821
  }
1812
- function Oa(e) {
1822
+ function Ea(e) {
1813
1823
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1814
1824
  }
1815
- var Gn = new pe("tag:yaml.org,2002:binary", {
1825
+ var Hn = new pe("tag:yaml.org,2002:binary", {
1816
1826
  kind: "scalar",
1817
1827
  resolve: ja,
1818
- construct: $a,
1819
- predicate: Oa,
1820
- represent: Ma
1821
- }), Ea = Object.prototype.hasOwnProperty, Fa = Object.prototype.toString;
1822
- function Ka(e) {
1828
+ construct: Ma,
1829
+ predicate: Ea,
1830
+ represent: Oa
1831
+ }), Fa = Object.prototype.hasOwnProperty, Ka = Object.prototype.toString;
1832
+ function Na(e) {
1823
1833
  if (e === null)
1824
1834
  return !0;
1825
1835
  var n = [], t, r, o, i, a, s = e;
1826
1836
  for (t = 0, r = s.length; t < r; t += 1) {
1827
- if (o = s[t], a = !1, Fa.call(o) !== "[object Object]")
1837
+ if (o = s[t], a = !1, Ka.call(o) !== "[object Object]")
1828
1838
  return !1;
1829
1839
  for (i in o)
1830
- if (Ea.call(o, i))
1840
+ if (Fa.call(o, i))
1831
1841
  if (!a)
1832
1842
  a = !0;
1833
1843
  else
@@ -1841,26 +1851,26 @@ function Ka(e) {
1841
1851
  }
1842
1852
  return !0;
1843
1853
  }
1844
- function Na(e) {
1854
+ function qa(e) {
1845
1855
  return e !== null ? e : [];
1846
1856
  }
1847
- var Hn = new pe("tag:yaml.org,2002:omap", {
1857
+ var zn = new pe("tag:yaml.org,2002:omap", {
1848
1858
  kind: "sequence",
1849
- resolve: Ka,
1850
- construct: Na
1851
- }), qa = Object.prototype.toString;
1852
- function Ba(e) {
1859
+ resolve: Na,
1860
+ construct: qa
1861
+ }), Ba = Object.prototype.toString;
1862
+ function La(e) {
1853
1863
  if (e === null)
1854
1864
  return !0;
1855
1865
  var n, t, r, o, i, a = e;
1856
1866
  for (i = new Array(a.length), n = 0, t = a.length; n < t; n += 1) {
1857
- if (r = a[n], qa.call(r) !== "[object Object]" || (o = Object.keys(r), o.length !== 1))
1867
+ if (r = a[n], Ba.call(r) !== "[object Object]" || (o = Object.keys(r), o.length !== 1))
1858
1868
  return !1;
1859
1869
  i[n] = [o[0], r[o[0]]];
1860
1870
  }
1861
1871
  return !0;
1862
1872
  }
1863
- function La(e) {
1873
+ function Ua(e) {
1864
1874
  if (e === null)
1865
1875
  return [];
1866
1876
  var n, t, r, o, i, a = e;
@@ -1868,39 +1878,39 @@ function La(e) {
1868
1878
  r = a[n], o = Object.keys(r), i[n] = [o[0], r[o[0]]];
1869
1879
  return i;
1870
1880
  }
1871
- var zn = new pe("tag:yaml.org,2002:pairs", {
1881
+ var Jn = new pe("tag:yaml.org,2002:pairs", {
1872
1882
  kind: "sequence",
1873
- resolve: Ba,
1874
- construct: La
1875
- }), Ua = Object.prototype.hasOwnProperty;
1876
- function Pa(e) {
1883
+ resolve: La,
1884
+ construct: Ua
1885
+ }), Pa = Object.prototype.hasOwnProperty;
1886
+ function Da(e) {
1877
1887
  if (e === null)
1878
1888
  return !0;
1879
1889
  var n, t = e;
1880
1890
  for (n in t)
1881
- if (Ua.call(t, n) && t[n] !== null)
1891
+ if (Pa.call(t, n) && t[n] !== null)
1882
1892
  return !1;
1883
1893
  return !0;
1884
1894
  }
1885
1895
  function Va(e) {
1886
1896
  return e !== null ? e : {};
1887
1897
  }
1888
- var Jn = new pe("tag:yaml.org,2002:set", {
1898
+ var Yn = new pe("tag:yaml.org,2002:set", {
1889
1899
  kind: "mapping",
1890
- resolve: Pa,
1900
+ resolve: Da,
1891
1901
  construct: Va
1892
- }), $t = Un.extend({
1902
+ }), jt = Pn.extend({
1893
1903
  implicit: [
1894
1904
  Rn,
1895
- Dn
1905
+ Gn
1896
1906
  ],
1897
1907
  explicit: [
1898
- Gn,
1899
1908
  Hn,
1900
1909
  zn,
1901
- Jn
1910
+ Jn,
1911
+ Yn
1902
1912
  ]
1903
- }), Fe = Object.prototype.hasOwnProperty, ot = 1, Yn = 2, Wn = 3, at = 4, ht = 1, Ra = 2, Zt = 3, Da = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ga = /[\x85\u2028\u2029]/, Ha = /[,\[\]\{\}]/, Zn = /^(?:!|!!|![a-z\-]+!)$/i, Qn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1913
+ }), Fe = Object.prototype.hasOwnProperty, ot = 1, Wn = 2, Zn = 3, at = 4, ht = 1, Ra = 2, Zt = 3, Ga = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ha = /[\x85\u2028\u2029]/, za = /[,\[\]\{\}]/, Qn = /^(?:!|!!|![a-z\-]+!)$/i, Xn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1904
1914
  function Qt(e) {
1905
1915
  return Object.prototype.toString.call(e);
1906
1916
  }
@@ -1913,36 +1923,36 @@ function qe(e) {
1913
1923
  function be(e) {
1914
1924
  return e === 9 || e === 32 || e === 10 || e === 13;
1915
1925
  }
1916
- function Re(e) {
1926
+ function Ve(e) {
1917
1927
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1918
1928
  }
1919
- function za(e) {
1929
+ function Ja(e) {
1920
1930
  var n;
1921
1931
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1922
1932
  }
1923
- function Ja(e) {
1933
+ function Ya(e) {
1924
1934
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1925
1935
  }
1926
- function Ya(e) {
1936
+ function Wa(e) {
1927
1937
  return 48 <= e && e <= 57 ? e - 48 : -1;
1928
1938
  }
1929
1939
  function Xt(e) {
1930
1940
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1931
1941
  ` : 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" : "";
1932
1942
  }
1933
- function Wa(e) {
1943
+ function Za(e) {
1934
1944
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1935
1945
  (e - 65536 >> 10) + 55296,
1936
1946
  (e - 65536 & 1023) + 56320
1937
1947
  );
1938
1948
  }
1939
- var Xn = new Array(256), er = new Array(256);
1949
+ var er = new Array(256), tr = new Array(256);
1940
1950
  for (var Pe = 0; Pe < 256; Pe++)
1941
- Xn[Pe] = Xt(Pe) ? 1 : 0, er[Pe] = Xt(Pe);
1942
- function Za(e, n) {
1943
- 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 = [];
1951
+ er[Pe] = Xt(Pe) ? 1 : 0, tr[Pe] = Xt(Pe);
1952
+ function Qa(e, n) {
1953
+ this.input = e, this.filename = n.filename || null, this.schema = n.schema || jt, 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 = [];
1944
1954
  }
1945
- function tr(e, n) {
1955
+ function nr(e, n) {
1946
1956
  var t = {
1947
1957
  name: e.filename,
1948
1958
  buffer: e.input.slice(0, -1),
@@ -1951,13 +1961,13 @@ function tr(e, n) {
1951
1961
  line: e.line,
1952
1962
  column: e.position - e.lineStart
1953
1963
  };
1954
- return t.snippet = ta(t), new ye(n, t);
1964
+ return t.snippet = na(t), new ye(n, t);
1955
1965
  }
1956
1966
  function M(e, n) {
1957
- throw tr(e, n);
1967
+ throw nr(e, n);
1958
1968
  }
1959
1969
  function it(e, n) {
1960
- e.onWarning && e.onWarning.call(null, tr(e, n));
1970
+ e.onWarning && e.onWarning.call(null, nr(e, n));
1961
1971
  }
1962
1972
  var en = {
1963
1973
  YAML: function(e, n, t) {
@@ -1966,7 +1976,7 @@ var en = {
1966
1976
  },
1967
1977
  TAG: function(e, n, t) {
1968
1978
  var r, o;
1969
- t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], Zn.test(r) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), Fe.call(e.tagMap, r) && M(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Qn.test(o) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1979
+ t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], Qn.test(r) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), Fe.call(e.tagMap, r) && M(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Xn.test(o) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1970
1980
  try {
1971
1981
  o = decodeURIComponent(o);
1972
1982
  } catch {
@@ -1982,7 +1992,7 @@ function Oe(e, n, t, r) {
1982
1992
  for (o = 0, i = s.length; o < i; o += 1)
1983
1993
  a = s.charCodeAt(o), a === 9 || 32 <= a && a <= 1114111 || M(e, "expected valid JSON character");
1984
1994
  else
1985
- Da.test(s) && M(e, "the stream contains non-printable characters");
1995
+ Ga.test(s) && M(e, "the stream contains non-printable characters");
1986
1996
  e.result += s;
1987
1997
  }
1988
1998
  }
@@ -1991,7 +2001,7 @@ function tn(e, n, t, r) {
1991
2001
  for (ue.isObject(t) || M(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), a = 0, s = o.length; a < s; a += 1)
1992
2002
  i = o[a], Fe.call(n, i) || (n[i] = t[i], r[i] = !0);
1993
2003
  }
1994
- function De(e, n, t, r, o, i, a, s, l) {
2004
+ function Re(e, n, t, r, o, i, a, s, l) {
1995
2005
  var u, p;
1996
2006
  if (Array.isArray(o))
1997
2007
  for (o = Array.prototype.slice.call(o), u = 0, p = o.length; u < p; u += 1)
@@ -2039,19 +2049,19 @@ function Ot(e, n) {
2039
2049
  n === 1 ? e.result += " " : n > 1 && (e.result += ue.repeat(`
2040
2050
  `, n - 1));
2041
2051
  }
2042
- function Qa(e, n, t) {
2052
+ function Xa(e, n, t) {
2043
2053
  var r, o, i, a, s, l, u, p, c = e.kind, y = e.result, f;
2044
- if (f = e.input.charCodeAt(e.position), be(f) || Re(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) && (o = e.input.charCodeAt(e.position + 1), be(o) || t && Re(o)))
2054
+ if (f = e.input.charCodeAt(e.position), be(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) && (o = e.input.charCodeAt(e.position + 1), be(o) || t && Ve(o)))
2045
2055
  return !1;
2046
2056
  for (e.kind = "scalar", e.result = "", i = a = e.position, s = !1; f !== 0; ) {
2047
2057
  if (f === 58) {
2048
- if (o = e.input.charCodeAt(e.position + 1), be(o) || t && Re(o))
2058
+ if (o = e.input.charCodeAt(e.position + 1), be(o) || t && Ve(o))
2049
2059
  break;
2050
2060
  } else if (f === 35) {
2051
2061
  if (r = e.input.charCodeAt(e.position - 1), be(r))
2052
2062
  break;
2053
2063
  } else {
2054
- if (e.position === e.lineStart && pt(e) || t && Re(f))
2064
+ if (e.position === e.lineStart && pt(e) || t && Ve(f))
2055
2065
  break;
2056
2066
  if (Ae(f))
2057
2067
  if (l = e.line, u = e.lineStart, p = e.lineIndent, le(e, !1, -1), e.lineIndent >= n) {
@@ -2066,7 +2076,7 @@ function Qa(e, n, t) {
2066
2076
  }
2067
2077
  return Oe(e, i, a, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
2068
2078
  }
2069
- function Xa(e, n) {
2079
+ function ei(e, n) {
2070
2080
  var t, r, o;
2071
2081
  if (t = e.input.charCodeAt(e.position), t !== 39)
2072
2082
  return !1;
@@ -2080,7 +2090,7 @@ function Xa(e, n) {
2080
2090
  Ae(t) ? (Oe(e, r, o, !0), Ot(e, le(e, !1, n)), r = o = e.position) : e.position === e.lineStart && pt(e) ? M(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
2081
2091
  M(e, "unexpected end of the stream within a single quoted scalar");
2082
2092
  }
2083
- function ei(e, n) {
2093
+ function ti(e, n) {
2084
2094
  var t, r, o, i, a, s;
2085
2095
  if (s = e.input.charCodeAt(e.position), s !== 34)
2086
2096
  return !1;
@@ -2090,12 +2100,12 @@ function ei(e, n) {
2090
2100
  if (s === 92) {
2091
2101
  if (Oe(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), Ae(s))
2092
2102
  le(e, !1, n);
2093
- else if (s < 256 && Xn[s])
2094
- e.result += er[s], e.position++;
2095
- else if ((a = Ja(s)) > 0) {
2103
+ else if (s < 256 && er[s])
2104
+ e.result += tr[s], e.position++;
2105
+ else if ((a = Ya(s)) > 0) {
2096
2106
  for (o = a, i = 0; o > 0; o--)
2097
- s = e.input.charCodeAt(++e.position), (a = za(s)) >= 0 ? i = (i << 4) + a : M(e, "expected hexadecimal character");
2098
- e.result += Wa(i), e.position++;
2107
+ s = e.input.charCodeAt(++e.position), (a = Ja(s)) >= 0 ? i = (i << 4) + a : M(e, "expected hexadecimal character");
2108
+ e.result += Za(i), e.position++;
2099
2109
  } else
2100
2110
  M(e, "unknown escape sequence");
2101
2111
  t = r = e.position;
@@ -2104,7 +2114,7 @@ function ei(e, n) {
2104
2114
  }
2105
2115
  M(e, "unexpected end of the stream within a double quoted scalar");
2106
2116
  }
2107
- function ti(e, n) {
2117
+ function ni(e, n) {
2108
2118
  var t = !0, r, o, i, a = e.tag, s, l = e.anchor, u, p, c, y, f, _ = /* @__PURE__ */ Object.create(null), h, S, b, w;
2109
2119
  if (w = e.input.charCodeAt(e.position), w === 91)
2110
2120
  p = 93, f = !1, s = [];
@@ -2115,11 +2125,11 @@ function ti(e, n) {
2115
2125
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
2116
2126
  if (le(e, !0, n), w = e.input.charCodeAt(e.position), w === p)
2117
2127
  return e.position++, e.tag = a, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2118
- t ? w === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), S = h = b = null, c = y = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), be(u) && (c = y = !0, e.position++, le(e, !0, n))), r = e.line, o = e.lineStart, i = e.position, Ge(e, n, ot, !1, !0), S = e.tag, h = e.result, le(e, !0, n), w = e.input.charCodeAt(e.position), (y || e.line === r) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), le(e, !0, n), Ge(e, n, ot, !1, !0), b = e.result), f ? De(e, s, _, S, h, b, r, o, i) : c ? s.push(De(e, null, _, S, h, b, r, o, i)) : s.push(h), le(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2128
+ t ? w === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), S = h = b = null, c = y = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), be(u) && (c = y = !0, e.position++, le(e, !0, n))), r = e.line, o = e.lineStart, i = e.position, Ge(e, n, ot, !1, !0), S = e.tag, h = e.result, le(e, !0, n), w = e.input.charCodeAt(e.position), (y || e.line === r) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), le(e, !0, n), Ge(e, n, ot, !1, !0), b = e.result), f ? Re(e, s, _, S, h, b, r, o, i) : c ? s.push(Re(e, null, _, S, h, b, r, o, i)) : s.push(h), le(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2119
2129
  }
2120
2130
  M(e, "unexpected end of the stream within a flow collection");
2121
2131
  }
2122
- function ni(e, n) {
2132
+ function ri(e, n) {
2123
2133
  var t, r, o = ht, i = !1, a = !1, s = n, l = 0, u = !1, p, c;
2124
2134
  if (c = e.input.charCodeAt(e.position), c === 124)
2125
2135
  r = !1;
@@ -2130,7 +2140,7 @@ function ni(e, n) {
2130
2140
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2131
2141
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2132
2142
  ht === o ? o = c === 43 ? Zt : Ra : M(e, "repeat of a chomping mode identifier");
2133
- else if ((p = Ya(c)) >= 0)
2143
+ else if ((p = Wa(c)) >= 0)
2134
2144
  p === 0 ? M(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? M(e, "repeat of an indentation width identifier") : (s = n + p - 1, a = !0);
2135
2145
  else
2136
2146
  break;
@@ -2175,28 +2185,28 @@ function nn(e, n) {
2175
2185
  i.push(null), l = e.input.charCodeAt(e.position);
2176
2186
  continue;
2177
2187
  }
2178
- if (t = e.line, Ge(e, n, Wn, !1, !0), i.push(e.result), le(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2188
+ if (t = e.line, Ge(e, n, Zn, !1, !0), i.push(e.result), le(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2179
2189
  M(e, "bad indentation of a sequence entry");
2180
2190
  else if (e.lineIndent < n)
2181
2191
  break;
2182
2192
  }
2183
2193
  return s ? (e.tag = r, e.anchor = o, e.kind = "sequence", e.result = i, !0) : !1;
2184
2194
  }
2185
- function ri(e, n, t) {
2195
+ function oi(e, n, t) {
2186
2196
  var r, o, i, a, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, _ = null, h = null, S = !1, b = !1, w;
2187
2197
  if (e.firstTabInLine !== -1)
2188
2198
  return !1;
2189
2199
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), w = e.input.charCodeAt(e.position); w !== 0; ) {
2190
2200
  if (!S && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (w === 63 || w === 58) && be(r))
2191
- w === 63 ? (S && (De(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, S = !0, o = !0) : S ? (S = !1, o = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = r;
2201
+ w === 63 ? (S && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, S = !0, o = !0) : S ? (S = !1, o = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = r;
2192
2202
  else {
2193
- if (a = e.line, s = e.lineStart, l = e.position, !Ge(e, t, Yn, !1, !0))
2203
+ if (a = e.line, s = e.lineStart, l = e.position, !Ge(e, t, Wn, !1, !0))
2194
2204
  break;
2195
2205
  if (e.line === i) {
2196
2206
  for (w = e.input.charCodeAt(e.position); qe(w); )
2197
2207
  w = e.input.charCodeAt(++e.position);
2198
2208
  if (w === 58)
2199
- w = e.input.charCodeAt(++e.position), be(w) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), S && (De(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, S = !1, o = !1, f = e.tag, _ = e.result;
2209
+ w = e.input.charCodeAt(++e.position), be(w) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), S && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, S = !1, o = !1, f = e.tag, _ = e.result;
2200
2210
  else if (b)
2201
2211
  M(e, "can not read an implicit mapping pair; a colon is missed");
2202
2212
  else
@@ -2206,14 +2216,14 @@ function ri(e, n, t) {
2206
2216
  else
2207
2217
  return e.tag = u, e.anchor = p, !0;
2208
2218
  }
2209
- if ((e.line === i || e.lineIndent > n) && (S && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, at, !0, o) && (S ? _ = e.result : h = e.result), S || (De(e, c, y, f, _, h, a, s, l), f = _ = h = null), le(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && w !== 0)
2219
+ if ((e.line === i || e.lineIndent > n) && (S && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, at, !0, o) && (S ? _ = e.result : h = e.result), S || (Re(e, c, y, f, _, h, a, s, l), f = _ = h = null), le(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && w !== 0)
2210
2220
  M(e, "bad indentation of a mapping entry");
2211
2221
  else if (e.lineIndent < n)
2212
2222
  break;
2213
2223
  }
2214
- return S && De(e, c, y, f, _, null, a, s, l), b && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), b;
2224
+ return S && Re(e, c, y, f, _, null, a, s, l), b && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), b;
2215
2225
  }
2216
- function oi(e) {
2226
+ function ai(e) {
2217
2227
  var n, t = !1, r = !1, o, i, a;
2218
2228
  if (a = e.input.charCodeAt(e.position), a !== 33)
2219
2229
  return !1;
@@ -2224,10 +2234,10 @@ function oi(e) {
2224
2234
  e.position < e.length ? (i = e.input.slice(n, e.position), a = e.input.charCodeAt(++e.position)) : M(e, "unexpected end of the stream within a verbatim tag");
2225
2235
  } else {
2226
2236
  for (; a !== 0 && !be(a); )
2227
- a === 33 && (r ? M(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), Zn.test(o) || M(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), a = e.input.charCodeAt(++e.position);
2228
- i = e.input.slice(n, e.position), Ha.test(i) && M(e, "tag suffix cannot contain flow indicator characters");
2237
+ a === 33 && (r ? M(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), Qn.test(o) || M(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), a = e.input.charCodeAt(++e.position);
2238
+ i = e.input.slice(n, e.position), za.test(i) && M(e, "tag suffix cannot contain flow indicator characters");
2229
2239
  }
2230
- i && !Qn.test(i) && M(e, "tag name cannot contain such characters: " + i);
2240
+ i && !Xn.test(i) && M(e, "tag name cannot contain such characters: " + i);
2231
2241
  try {
2232
2242
  i = decodeURIComponent(i);
2233
2243
  } catch {
@@ -2235,28 +2245,28 @@ function oi(e) {
2235
2245
  }
2236
2246
  return t ? e.tag = i : Fe.call(e.tagMap, o) ? e.tag = e.tagMap[o] + i : o === "!" ? e.tag = "!" + i : o === "!!" ? e.tag = "tag:yaml.org,2002:" + i : M(e, 'undeclared tag handle "' + o + '"'), !0;
2237
2247
  }
2238
- function ai(e) {
2248
+ function ii(e) {
2239
2249
  var n, t;
2240
2250
  if (t = e.input.charCodeAt(e.position), t !== 38)
2241
2251
  return !1;
2242
- for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !be(t) && !Re(t); )
2252
+ for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !be(t) && !Ve(t); )
2243
2253
  t = e.input.charCodeAt(++e.position);
2244
2254
  return e.position === n && M(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2245
2255
  }
2246
- function ii(e) {
2256
+ function si(e) {
2247
2257
  var n, t, r;
2248
2258
  if (r = e.input.charCodeAt(e.position), r !== 42)
2249
2259
  return !1;
2250
- for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !be(r) && !Re(r); )
2260
+ for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !be(r) && !Ve(r); )
2251
2261
  r = e.input.charCodeAt(++e.position);
2252
2262
  return e.position === n && M(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Fe.call(e.anchorMap, t) || M(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], le(e, !0, -1), !0;
2253
2263
  }
2254
2264
  function Ge(e, n, t, r, o) {
2255
2265
  var i, a, s, l = 1, u = !1, p = !1, c, y, f, _, h, S;
2256
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = a = s = at === t || Wn === t, r && le(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2257
- for (; oi(e) || ai(e); )
2266
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = a = s = at === t || Zn === t, r && le(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2267
+ for (; ai(e) || ii(e); )
2258
2268
  le(e, !0, -1) ? (u = !0, s = i, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2259
- if (s && (s = u || o), (l === 1 || at === t) && (ot === t || Yn === t ? h = n : h = n + 1, S = e.position - e.lineStart, l === 1 ? s && (nn(e, S) || ri(e, S, h)) || ti(e, h) ? p = !0 : (a && ni(e, h) || Xa(e, h) || ei(e, h) ? p = !0 : ii(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Qa(e, h, ot === t) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (p = s && nn(e, S))), e.tag === null)
2269
+ if (s && (s = u || o), (l === 1 || at === t) && (ot === t || Wn === t ? h = n : h = n + 1, S = e.position - e.lineStart, l === 1 ? s && (nn(e, S) || oi(e, S, h)) || ni(e, h) ? p = !0 : (a && ri(e, h) || ei(e, h) || ti(e, h) ? p = !0 : si(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Xa(e, h, ot === t) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (p = s && nn(e, S))), e.tag === null)
2260
2270
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2261
2271
  else if (e.tag === "?") {
2262
2272
  for (e.result !== null && e.kind !== "scalar" && M(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
@@ -2277,7 +2287,7 @@ function Ge(e, n, t, r, o) {
2277
2287
  }
2278
2288
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || p;
2279
2289
  }
2280
- function si(e) {
2290
+ function li(e) {
2281
2291
  var n = e.position, t, r, o, i = !1, a;
2282
2292
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (le(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
2283
2293
  for (i = !0, a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !be(a); )
@@ -2299,7 +2309,7 @@ function si(e) {
2299
2309
  }
2300
2310
  a !== 0 && Mt(e), Fe.call(en, r) ? en[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2301
2311
  }
2302
- if (le(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, le(e, !0, -1)) : i && M(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, at, !1, !0), le(e, !0, -1), e.checkLineBreaks && Ga.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && pt(e)) {
2312
+ if (le(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, le(e, !0, -1)) : i && M(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, at, !1, !0), le(e, !0, -1), e.checkLineBreaks && Ha.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && pt(e)) {
2303
2313
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, le(e, !0, -1));
2304
2314
  return;
2305
2315
  }
@@ -2308,36 +2318,36 @@ function si(e) {
2308
2318
  else
2309
2319
  return;
2310
2320
  }
2311
- function nr(e, n) {
2321
+ function rr(e, n) {
2312
2322
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2313
2323
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2314
- var t = new Za(e, n), r = e.indexOf("\0");
2324
+ var t = new Qa(e, n), r = e.indexOf("\0");
2315
2325
  for (r !== -1 && (t.position = r, M(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2316
2326
  t.lineIndent += 1, t.position += 1;
2317
2327
  for (; t.position < t.length - 1; )
2318
- si(t);
2328
+ li(t);
2319
2329
  return t.documents;
2320
2330
  }
2321
- function li(e, n, t) {
2331
+ function ui(e, n, t) {
2322
2332
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2323
- var r = nr(e, t);
2333
+ var r = rr(e, t);
2324
2334
  if (typeof n != "function")
2325
2335
  return r;
2326
2336
  for (var o = 0, i = r.length; o < i; o += 1)
2327
2337
  n(r[o]);
2328
2338
  }
2329
- function ui(e, n) {
2330
- var t = nr(e, n);
2339
+ function ci(e, n) {
2340
+ var t = rr(e, n);
2331
2341
  if (t.length !== 0) {
2332
2342
  if (t.length === 1)
2333
2343
  return t[0];
2334
2344
  throw new ye("expected a single document in the stream, but found more");
2335
2345
  }
2336
2346
  }
2337
- var ci = li, di = ui, rr = {
2338
- loadAll: ci,
2339
- load: di
2340
- }, or = Object.prototype.toString, ar = Object.prototype.hasOwnProperty, Et = 65279, pi = 9, Ze = 10, fi = 13, mi = 32, gi = 33, yi = 34, Ct = 35, hi = 37, vi = 38, bi = 39, Ci = 42, ir = 44, ki = 45, st = 58, wi = 61, _i = 62, Ii = 63, Ai = 64, sr = 91, lr = 93, Si = 96, ur = 123, xi = 124, cr = 125, ge = {};
2347
+ var di = ui, pi = ci, or = {
2348
+ loadAll: di,
2349
+ load: pi
2350
+ }, ar = Object.prototype.toString, ir = Object.prototype.hasOwnProperty, Et = 65279, fi = 9, Ze = 10, mi = 13, gi = 32, yi = 33, hi = 34, Ct = 35, vi = 37, bi = 38, Ci = 39, ki = 42, sr = 44, wi = 45, st = 58, _i = 61, Ii = 62, Ai = 63, Si = 64, lr = 91, ur = 93, xi = 96, cr = 123, Ti = 124, dr = 125, ge = {};
2341
2351
  ge[0] = "\\0";
2342
2352
  ge[7] = "\\a";
2343
2353
  ge[8] = "\\b";
@@ -2353,7 +2363,7 @@ ge[133] = "\\N";
2353
2363
  ge[160] = "\\_";
2354
2364
  ge[8232] = "\\L";
2355
2365
  ge[8233] = "\\P";
2356
- var Ti = [
2366
+ var $i = [
2357
2367
  "y",
2358
2368
  "Y",
2359
2369
  "yes",
@@ -2371,15 +2381,15 @@ var Ti = [
2371
2381
  "Off",
2372
2382
  "OFF"
2373
2383
  ], ji = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2374
- function $i(e, n) {
2384
+ function Mi(e, n) {
2375
2385
  var t, r, o, i, a, s, l;
2376
2386
  if (n === null)
2377
2387
  return {};
2378
2388
  for (t = {}, r = Object.keys(n), o = 0, i = r.length; o < i; o += 1)
2379
- a = r[o], s = String(n[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), l = e.compiledTypeMap.fallback[a], l && ar.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[a] = s;
2389
+ a = r[o], s = String(n[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), l = e.compiledTypeMap.fallback[a], l && ir.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[a] = s;
2380
2390
  return t;
2381
2391
  }
2382
- function Mi(e) {
2392
+ function Oi(e) {
2383
2393
  var n, t, r;
2384
2394
  if (n = e.toString(16).toUpperCase(), e <= 255)
2385
2395
  t = "x", r = 2;
@@ -2391,9 +2401,9 @@ function Mi(e) {
2391
2401
  throw new ye("code point within a string may not be greater than 0xFFFFFFFF");
2392
2402
  return "\\" + t + ue.repeat("0", r - n.length) + n;
2393
2403
  }
2394
- var Oi = 1, Qe = 2;
2395
- function Ei(e) {
2396
- 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 = $i(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 : Oi, 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;
2404
+ var Ei = 1, Qe = 2;
2405
+ function Fi(e) {
2406
+ this.schema = e.schema || jt, 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 = Mi(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 : Ei, 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;
2397
2407
  }
2398
2408
  function rn(e, n) {
2399
2409
  for (var t = ue.repeat(" ", n), r = 0, o = -1, i = "", a, s = e.length; r < s; )
@@ -2406,7 +2416,7 @@ function kt(e, n) {
2406
2416
  return `
2407
2417
  ` + ue.repeat(" ", e.indent * n);
2408
2418
  }
2409
- function Fi(e, n) {
2419
+ function Ki(e, n) {
2410
2420
  var t, r, o;
2411
2421
  for (t = 0, r = e.implicitTypes.length; t < r; t += 1)
2412
2422
  if (o = e.implicitTypes[t], o.resolve(n))
@@ -2414,13 +2424,13 @@ function Fi(e, n) {
2414
2424
  return !1;
2415
2425
  }
2416
2426
  function lt(e) {
2417
- return e === mi || e === pi;
2427
+ return e === gi || e === fi;
2418
2428
  }
2419
2429
  function Xe(e) {
2420
2430
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Et || 65536 <= e && e <= 1114111;
2421
2431
  }
2422
2432
  function on(e) {
2423
- return Xe(e) && e !== Et && e !== fi && e !== Ze;
2433
+ return Xe(e) && e !== Et && e !== mi && e !== Ze;
2424
2434
  }
2425
2435
  function an(e, n, t) {
2426
2436
  var r = on(e), o = r && !lt(e);
@@ -2429,30 +2439,30 @@ function an(e, n, t) {
2429
2439
  (t ? (
2430
2440
  // c = flow-in
2431
2441
  r
2432
- ) : r && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr) && e !== Ct && !(n === st && !o) || on(n) && !lt(n) && e === Ct || n === st && o
2442
+ ) : r && e !== sr && e !== lr && e !== ur && e !== cr && e !== dr) && e !== Ct && !(n === st && !o) || on(n) && !lt(n) && e === Ct || n === st && o
2433
2443
  );
2434
2444
  }
2435
- function Ki(e) {
2436
- return Xe(e) && e !== Et && !lt(e) && e !== ki && e !== Ii && e !== st && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr && e !== Ct && e !== vi && e !== Ci && e !== gi && e !== xi && e !== wi && e !== _i && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2437
- }
2438
2445
  function Ni(e) {
2446
+ return Xe(e) && e !== Et && !lt(e) && e !== wi && e !== Ai && e !== st && e !== sr && e !== lr && e !== ur && e !== cr && e !== dr && e !== Ct && e !== bi && e !== ki && e !== yi && e !== Ti && e !== _i && e !== Ii && e !== Ci && e !== hi && e !== vi && e !== Si && e !== xi;
2447
+ }
2448
+ function qi(e) {
2439
2449
  return !lt(e) && e !== st;
2440
2450
  }
2441
2451
  function ze(e, n) {
2442
2452
  var t = e.charCodeAt(n), r;
2443
2453
  return t >= 55296 && t <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (t - 55296) * 1024 + r - 56320 + 65536 : t;
2444
2454
  }
2445
- function dr(e) {
2455
+ function pr(e) {
2446
2456
  var n = /^\n* /;
2447
2457
  return n.test(e);
2448
2458
  }
2449
- var pr = 1, wt = 2, fr = 3, mr = 4, Ve = 5;
2450
- function qi(e, n, t, r, o, i, a, s) {
2451
- var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, _ = -1, h = Ki(ze(e, 0)) && Ni(ze(e, e.length - 1));
2459
+ var fr = 1, wt = 2, mr = 3, gr = 4, De = 5;
2460
+ function Bi(e, n, t, r, o, i, a, s) {
2461
+ var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, _ = -1, h = Ni(ze(e, 0)) && qi(ze(e, e.length - 1));
2452
2462
  if (n || a)
2453
2463
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2454
2464
  if (u = ze(e, l), !Xe(u))
2455
- return Ve;
2465
+ return De;
2456
2466
  h = h && an(u, p, s), p = u;
2457
2467
  }
2458
2468
  else {
@@ -2461,24 +2471,24 @@ function qi(e, n, t, r, o, i, a, s) {
2461
2471
  c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2462
2472
  l - _ - 1 > r && e[_ + 1] !== " ", _ = l);
2463
2473
  else if (!Xe(u))
2464
- return Ve;
2474
+ return De;
2465
2475
  h = h && an(u, p, s), p = u;
2466
2476
  }
2467
2477
  y = y || f && l - _ - 1 > r && e[_ + 1] !== " ";
2468
2478
  }
2469
- return !c && !y ? h && !a && !o(e) ? pr : i === Qe ? Ve : wt : t > 9 && dr(e) ? Ve : a ? i === Qe ? Ve : wt : y ? mr : fr;
2479
+ return !c && !y ? h && !a && !o(e) ? fr : i === Qe ? De : wt : t > 9 && pr(e) ? De : a ? i === Qe ? De : wt : y ? gr : mr;
2470
2480
  }
2471
- function Bi(e, n, t, r, o) {
2481
+ function Li(e, n, t, r, o) {
2472
2482
  e.dump = function() {
2473
2483
  if (n.length === 0)
2474
2484
  return e.quotingType === Qe ? '""' : "''";
2475
- if (!e.noCompatMode && (Ti.indexOf(n) !== -1 || ji.test(n)))
2485
+ if (!e.noCompatMode && ($i.indexOf(n) !== -1 || ji.test(n)))
2476
2486
  return e.quotingType === Qe ? '"' + n + '"' : "'" + n + "'";
2477
2487
  var i = e.indent * Math.max(1, t), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2478
2488
  function l(u) {
2479
- return Fi(e, u);
2489
+ return Ki(e, u);
2480
2490
  }
2481
- switch (qi(
2491
+ switch (Bi(
2482
2492
  n,
2483
2493
  s,
2484
2494
  e.indent,
@@ -2488,23 +2498,23 @@ function Bi(e, n, t, r, o) {
2488
2498
  e.forceQuotes && !r,
2489
2499
  o
2490
2500
  )) {
2491
- case pr:
2501
+ case fr:
2492
2502
  return n;
2493
2503
  case wt:
2494
2504
  return "'" + n.replace(/'/g, "''") + "'";
2495
- case fr:
2496
- return "|" + sn(n, e.indent) + ln(rn(n, i));
2497
2505
  case mr:
2498
- return ">" + sn(n, e.indent) + ln(rn(Li(n, a), i));
2499
- case Ve:
2500
- return '"' + Ui(n) + '"';
2506
+ return "|" + sn(n, e.indent) + ln(rn(n, i));
2507
+ case gr:
2508
+ return ">" + sn(n, e.indent) + ln(rn(Ui(n, a), i));
2509
+ case De:
2510
+ return '"' + Pi(n) + '"';
2501
2511
  default:
2502
2512
  throw new ye("impossible error: invalid scalar style");
2503
2513
  }
2504
2514
  }();
2505
2515
  }
2506
2516
  function sn(e, n) {
2507
- var t = dr(e) ? String(n) : "", r = e[e.length - 1] === `
2517
+ var t = pr(e) ? String(n) : "", r = e[e.length - 1] === `
2508
2518
  `, o = r && (e[e.length - 2] === `
2509
2519
  ` || e === `
2510
2520
  `), i = o ? "+" : r ? "" : "-";
@@ -2515,7 +2525,7 @@ function ln(e) {
2515
2525
  return e[e.length - 1] === `
2516
2526
  ` ? e.slice(0, -1) : e;
2517
2527
  }
2518
- function Li(e, n) {
2528
+ function Ui(e, n) {
2519
2529
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2520
2530
  var u = e.indexOf(`
2521
2531
  `);
@@ -2538,27 +2548,27 @@ function un(e, n) {
2538
2548
  `, e.length - o > n && a > o ? l += e.slice(o, a) + `
2539
2549
  ` + e.slice(a + 1) : l += e.slice(o), l.slice(1);
2540
2550
  }
2541
- function Ui(e) {
2551
+ function Pi(e) {
2542
2552
  for (var n = "", t = 0, r, o = 0; o < e.length; t >= 65536 ? o += 2 : o++)
2543
- t = ze(e, o), r = ge[t], !r && Xe(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || Mi(t);
2553
+ t = ze(e, o), r = ge[t], !r && Xe(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || Oi(t);
2544
2554
  return n;
2545
2555
  }
2546
- function Pi(e, n, t) {
2556
+ function Di(e, n, t) {
2547
2557
  var r = "", o = e.tag, i, a, s;
2548
2558
  for (i = 0, a = t.length; i < a; i += 1)
2549
- s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), (je(e, n, s, !1, !1) || typeof s > "u" && je(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2559
+ s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), ($e(e, n, s, !1, !1) || typeof s > "u" && $e(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2550
2560
  e.tag = o, e.dump = "[" + r + "]";
2551
2561
  }
2552
2562
  function cn(e, n, t, r) {
2553
2563
  var o = "", i = e.tag, a, s, l;
2554
2564
  for (a = 0, s = t.length; a < s; a += 1)
2555
- l = t[a], e.replacer && (l = e.replacer.call(t, String(a), l)), (je(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && je(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += kt(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2565
+ l = t[a], e.replacer && (l = e.replacer.call(t, String(a), l)), ($e(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && $e(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += kt(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2556
2566
  e.tag = i, e.dump = o || "[]";
2557
2567
  }
2558
2568
  function Vi(e, n, t) {
2559
2569
  var r = "", o = e.tag, i = Object.keys(t), a, s, l, u, p;
2560
2570
  for (a = 0, s = i.length; a < s; a += 1)
2561
- p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), l = i[a], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), je(e, n, l, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), je(e, n, u, !1, !1) && (p += e.dump, r += p));
2571
+ p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), l = i[a], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), $e(e, n, l, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), $e(e, n, u, !1, !1) && (p += e.dump, r += p));
2562
2572
  e.tag = o, e.dump = "{" + r + "}";
2563
2573
  }
2564
2574
  function Ri(e, n, t, r) {
@@ -2570,7 +2580,7 @@ function Ri(e, n, t, r) {
2570
2580
  else if (e.sortKeys)
2571
2581
  throw new ye("sortKeys must be a boolean or a function");
2572
2582
  for (s = 0, l = a.length; s < l; s += 1)
2573
- y = "", (!r || o !== "") && (y += kt(e, n)), u = a[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), je(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ze === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += kt(e, n)), je(e, n + 1, p, !0, c) && (e.dump && Ze === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, o += y));
2583
+ y = "", (!r || o !== "") && (y += kt(e, n)), u = a[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), $e(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ze === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += kt(e, n)), $e(e, n + 1, p, !0, c) && (e.dump && Ze === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, o += y));
2574
2584
  e.tag = i, e.dump = o || "{}";
2575
2585
  }
2576
2586
  function dn(e, n, t) {
@@ -2578,9 +2588,9 @@ function dn(e, n, t) {
2578
2588
  for (o = t ? e.explicitTypes : e.implicitTypes, i = 0, a = o.length; i < a; i += 1)
2579
2589
  if (s = o[i], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2580
2590
  if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2581
- if (l = e.styleMap[s.tag] || s.defaultStyle, or.call(s.represent) === "[object Function]")
2591
+ if (l = e.styleMap[s.tag] || s.defaultStyle, ar.call(s.represent) === "[object Function]")
2582
2592
  r = s.represent(n, l);
2583
- else if (ar.call(s.represent, l))
2593
+ else if (ir.call(s.represent, l))
2584
2594
  r = s.represent[l](n, l);
2585
2595
  else
2586
2596
  throw new ye("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
@@ -2590,9 +2600,9 @@ function dn(e, n, t) {
2590
2600
  }
2591
2601
  return !1;
2592
2602
  }
2593
- function je(e, n, t, r, o, i, a) {
2603
+ function $e(e, n, t, r, o, i, a) {
2594
2604
  e.tag = null, e.dump = t, dn(e, t, !1) || dn(e, t, !0);
2595
- var s = or.call(e.dump), l = r, u;
2605
+ var s = ar.call(e.dump), l = r, u;
2596
2606
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
2597
2607
  var p = s === "[object Object]" || s === "[object Array]", c, y;
2598
2608
  if (p && (c = e.duplicates.indexOf(t), y = c !== -1), (e.tag !== null && e.tag !== "?" || y || e.indent !== 2 && n > 0) && (o = !1), y && e.usedDuplicates[c])
@@ -2601,9 +2611,9 @@ function je(e, n, t, r, o, i, a) {
2601
2611
  if (p && y && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2602
2612
  r && Object.keys(e.dump).length !== 0 ? (Ri(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Vi(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2603
2613
  else if (s === "[object Array]")
2604
- r && e.dump.length !== 0 ? (e.noArrayIndent && !a && n > 0 ? cn(e, n - 1, e.dump, o) : cn(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Pi(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2614
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !a && n > 0 ? cn(e, n - 1, e.dump, o) : cn(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Di(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2605
2615
  else if (s === "[object String]")
2606
- e.tag !== "?" && Bi(e, e.dump, n, i, l);
2616
+ e.tag !== "?" && Li(e, e.dump, n, i, l);
2607
2617
  else {
2608
2618
  if (s === "[object Undefined]" || e.skipInvalid)
2609
2619
  return !1;
@@ -2615,7 +2625,7 @@ function je(e, n, t, r, o, i, a) {
2615
2625
  }
2616
2626
  return !0;
2617
2627
  }
2618
- function Di(e, n) {
2628
+ function Gi(e, n) {
2619
2629
  var t = [], r = [], o, i;
2620
2630
  for (_t(e, t, r), o = 0, i = r.length; o < i; o += 1)
2621
2631
  n.duplicates.push(t[r[o]]);
@@ -2633,53 +2643,53 @@ function _t(e, n, t) {
2633
2643
  for (r = Object.keys(e), o = 0, i = r.length; o < i; o += 1)
2634
2644
  _t(e[r[o]], n, t);
2635
2645
  }
2636
- function Gi(e, n) {
2646
+ function Hi(e, n) {
2637
2647
  n = n || {};
2638
- var t = new Ei(n);
2639
- t.noRefs || Di(e, t);
2648
+ var t = new Fi(n);
2649
+ t.noRefs || Gi(e, t);
2640
2650
  var r = e;
2641
- return t.replacer && (r = t.replacer.call({ "": r }, "", r)), je(t, 0, r, !0, !0) ? t.dump + `
2651
+ return t.replacer && (r = t.replacer.call({ "": r }, "", r)), $e(t, 0, r, !0, !0) ? t.dump + `
2642
2652
  ` : "";
2643
2653
  }
2644
- var Hi = Gi, zi = {
2645
- dump: Hi
2654
+ var zi = Hi, Ji = {
2655
+ dump: zi
2646
2656
  };
2647
2657
  function Ft(e, n) {
2648
2658
  return function() {
2649
2659
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2650
2660
  };
2651
2661
  }
2652
- var Ji = pe, Yi = $n, Wi = Fn, Zi = Ln, Qi = Un, Xi = $t, es = rr.load, ts = rr.loadAll, ns = zi.dump, rs = ye, os = {
2653
- binary: Gn,
2654
- float: Bn,
2655
- map: En,
2656
- null: Kn,
2657
- pairs: zn,
2658
- set: Jn,
2662
+ var Yi = pe, Wi = Mn, Zi = Kn, Qi = Un, Xi = Pn, es = jt, ts = or.load, ns = or.loadAll, rs = Ji.dump, os = ye, as = {
2663
+ binary: Hn,
2664
+ float: Ln,
2665
+ map: Fn,
2666
+ null: Nn,
2667
+ pairs: Jn,
2668
+ set: Yn,
2659
2669
  timestamp: Rn,
2660
- bool: Nn,
2661
- int: qn,
2662
- merge: Dn,
2663
- omap: Hn,
2664
- seq: On,
2665
- str: Mn
2666
- }, as = Ft("safeLoad", "load"), is = Ft("safeLoadAll", "loadAll"), ss = Ft("safeDump", "dump"), ls = {
2667
- Type: Ji,
2668
- Schema: Yi,
2669
- FAILSAFE_SCHEMA: Wi,
2670
- JSON_SCHEMA: Zi,
2671
- CORE_SCHEMA: Qi,
2672
- DEFAULT_SCHEMA: Xi,
2673
- load: es,
2674
- loadAll: ts,
2675
- dump: ns,
2676
- YAMLException: rs,
2677
- types: os,
2678
- safeLoad: as,
2679
- safeLoadAll: is,
2680
- safeDump: ss
2670
+ bool: qn,
2671
+ int: Bn,
2672
+ merge: Gn,
2673
+ omap: zn,
2674
+ seq: En,
2675
+ str: On
2676
+ }, is = Ft("safeLoad", "load"), ss = Ft("safeLoadAll", "loadAll"), ls = Ft("safeDump", "dump"), us = {
2677
+ Type: Yi,
2678
+ Schema: Wi,
2679
+ FAILSAFE_SCHEMA: Zi,
2680
+ JSON_SCHEMA: Qi,
2681
+ CORE_SCHEMA: Xi,
2682
+ DEFAULT_SCHEMA: es,
2683
+ load: ts,
2684
+ loadAll: ns,
2685
+ dump: rs,
2686
+ YAMLException: os,
2687
+ types: as,
2688
+ safeLoad: is,
2689
+ safeLoadAll: ss,
2690
+ safeDump: ls
2681
2691
  };
2682
- const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2692
+ const cs = { class: "yaml-config" }, yr = /* @__PURE__ */ ae({
2683
2693
  __name: "YamlCodeBlock",
2684
2694
  props: {
2685
2695
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2689,30 +2699,27 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2689
2699
  }
2690
2700
  },
2691
2701
  setup(e) {
2692
- const n = e, t = A(() => {
2693
- const r = Object.fromEntries(Object.entries(n.yamlRecord).filter(([, o]) => o && Array.isArray(o) && o.length));
2694
- return ls.dump(r).trim();
2695
- });
2702
+ const n = e, t = A(() => n.yamlRecord);
2696
2703
  return (r, o) => {
2697
2704
  const i = q("KCodeBlock");
2698
- return d(), $("div", us, [
2705
+ return d(), j("div", cs, [
2699
2706
  n.yamlRecord ? (d(), P(i, {
2700
2707
  key: 0,
2701
2708
  id: "yaml-codeblock",
2702
- code: t.value,
2709
+ code: m(us).dump(t.value),
2703
2710
  language: "yaml",
2704
2711
  theme: "dark"
2705
2712
  }, null, 8, ["code"])) : z("", !0)
2706
2713
  ]);
2707
2714
  };
2708
2715
  }
2709
- }), cs = {
2716
+ }), ds = {
2710
2717
  key: 0,
2711
2718
  class: "config-card-display-form"
2712
- }, ds = ["data-testid"], ps = {
2719
+ }, ps = ["data-testid"], fs = {
2713
2720
  key: 0,
2714
2721
  class: "config-card-prop-section-title"
2715
- }, fs = /* @__PURE__ */ ae({
2722
+ }, ms = /* @__PURE__ */ ae({
2716
2723
  __name: "ConfigCardDisplay",
2717
2724
  props: {
2718
2725
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2757,18 +2764,18 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2757
2764
  const a = JSON.parse(JSON.stringify(n.record));
2758
2765
  return delete a.created_at, delete a.updated_at, a;
2759
2766
  });
2760
- return (a, s) => (d(), $(Ce, null, [
2761
- e.format === "structured" ? (d(), $("div", cs, [
2762
- (d(!0), $(Ce, null, ve(e.propListTypes, (l) => (d(), $("div", {
2767
+ return (a, s) => (d(), j(Ce, null, [
2768
+ e.format === "structured" ? (d(), j("div", ds, [
2769
+ (d(!0), j(Ce, null, ve(e.propListTypes, (l) => (d(), j("div", {
2763
2770
  key: `config-card-details-${l}-props`,
2764
2771
  class: Ee(`config-card-details-${l}-props`),
2765
2772
  "data-testid": `config-card-details-${l}-props`
2766
2773
  }, [
2767
- l !== "basic" ? (d(), $("div", ps, K(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2768
- (d(!0), $(Ce, null, ve(e.propertyCollections[l], (u) => (d(), P(Tt, {
2774
+ l !== "basic" ? (d(), j("div", fs, K(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2775
+ (d(!0), j(Ce, null, ve(e.propertyCollections[l], (u) => (d(), P(Tt, {
2769
2776
  key: u.key,
2770
2777
  item: u
2771
- }, $e({
2778
+ }, je({
2772
2779
  label: g(() => [
2773
2780
  X(a.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2774
2781
  ]),
@@ -2788,33 +2795,33 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2788
2795
  key: "0"
2789
2796
  } : void 0
2790
2797
  ]), 1032, ["item"]))), 128))
2791
- ], 10, ds))), 128))
2798
+ ], 10, ps))), 128))
2792
2799
  ])) : z("", !0),
2793
- e.format === "json" && n.record ? (d(), P(xn, {
2800
+ e.format === "json" && n.record ? (d(), P(Tn, {
2794
2801
  key: 1,
2795
2802
  config: n.config,
2796
2803
  "fetcher-url": n.fetcherUrl,
2797
2804
  "json-record": i.value,
2798
2805
  "request-method": "get"
2799
2806
  }, null, 8, ["config", "fetcher-url", "json-record"])) : z("", !0),
2800
- e.format === "yaml" && n.record ? (d(), P(gr, {
2807
+ e.format === "yaml" && n.record ? (d(), P(yr, {
2801
2808
  key: 2,
2802
2809
  "yaml-record": i.value
2803
2810
  }, null, 8, ["yaml-record"])) : z("", !0)
2804
2811
  ], 64));
2805
2812
  }
2806
- }), ms = /* @__PURE__ */ we(fs, [["__scopeId", "data-v-2b74ac63"]]), pn = "24px", gs = (e, n) => {
2813
+ }), gs = /* @__PURE__ */ we(ms, [["__scopeId", "data-v-2b74ac63"]]), pn = "24px", ys = (e, n) => {
2807
2814
  const t = e.__vccOpts || e;
2808
2815
  for (const [r, o] of n)
2809
2816
  t[r] = o;
2810
2817
  return t;
2811
- }, ys = (e) => (hn("data-v-40a7f387"), e = e(), vn(), e), hs = ["aria-hidden"], vs = {
2818
+ }, hs = (e) => (vn("data-v-40a7f387"), e = e(), bn(), e), vs = ["aria-hidden"], bs = {
2812
2819
  key: 0,
2813
2820
  "data-testid": "kui-icon-svg-title"
2814
- }, bs = /* @__PURE__ */ ys(() => /* @__PURE__ */ V("path", {
2821
+ }, Cs = /* @__PURE__ */ hs(() => /* @__PURE__ */ D("path", {
2815
2822
  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",
2816
2823
  fill: "currentColor"
2817
- }, null, -1)), Cs = /* @__PURE__ */ ae({
2824
+ }, null, -1)), ks = /* @__PURE__ */ ae({
2818
2825
  __name: "BookIcon",
2819
2826
  props: {
2820
2827
  /** The accessibility text provided to screen readers */
@@ -2887,10 +2894,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2887
2894
  "aria-hidden": e.decorative ? "true" : void 0,
2888
2895
  class: "kui-icon book-icon",
2889
2896
  "data-testid": "kui-icon-wrapper-book-icon",
2890
- style: yn(r.value)
2897
+ style: hn(r.value)
2891
2898
  }, {
2892
2899
  default: g(() => [
2893
- (d(), $("svg", {
2900
+ (d(), j("svg", {
2894
2901
  "aria-hidden": e.decorative ? "true" : void 0,
2895
2902
  "data-testid": "kui-icon-svg-book-icon",
2896
2903
  fill: "none",
@@ -2900,20 +2907,20 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2900
2907
  width: "100%",
2901
2908
  xmlns: "http://www.w3.org/2000/svg"
2902
2909
  }, [
2903
- e.title ? (d(), $("title", vs, K(e.title), 1)) : z("", !0),
2904
- bs
2905
- ], 8, hs))
2910
+ e.title ? (d(), j("title", bs, K(e.title), 1)) : z("", !0),
2911
+ Cs
2912
+ ], 8, vs))
2906
2913
  ]),
2907
2914
  _: 1
2908
2915
  }, 8, ["aria-hidden", "style"]));
2909
2916
  }
2910
- }), ks = /* @__PURE__ */ gs(Cs, [["__scopeId", "data-v-40a7f387"]]), ws = { "data-testid": "config-card-title" }, _s = { class: "config-card-actions" }, Is = ["href"], As = {
2917
+ }), ws = /* @__PURE__ */ ys(ks, [["__scopeId", "data-v-40a7f387"]]), _s = { "data-testid": "config-card-title" }, Is = { class: "config-card-actions" }, As = ["href"], Ss = {
2911
2918
  key: 2,
2912
2919
  class: "config-card-details-section"
2913
- }, Ss = {
2920
+ }, xs = {
2914
2921
  key: 3,
2915
2922
  class: "config-card-details-section"
2916
- }, xs = ["data-testid"], Ts = {
2923
+ }, Ts = ["data-testid"], $s = {
2917
2924
  key: 0,
2918
2925
  class: "config-card-prop-section-title"
2919
2926
  }, js = /* @__PURE__ */ ae({
@@ -3044,12 +3051,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3044
3051
  section: ke.Basic
3045
3052
  }
3046
3053
  }, _ = F(!1), h = F(!1), S = F(""), b = F({}), w = A(() => {
3047
- var C, D, N;
3054
+ var C, R, N;
3048
3055
  if (!b.value)
3049
3056
  return [];
3050
3057
  const I = [], T = Object.keys(b.value).length;
3051
3058
  for (const O in b.value) {
3052
- const B = (D = (C = o.configSchema) == null ? void 0 : C[O]) == null ? void 0 : D.order, W = (N = f[O]) == null ? void 0 : N.order;
3059
+ const B = (R = (C = o.configSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = (N = f[O]) == null ? void 0 : N.order;
3053
3060
  let ee = T;
3054
3061
  (W || W === 0) && (ee = W === -1 ? T + 1 : W), B && (ee = B === -1 ? T + 1 : B), I.push([O, ee]);
3055
3062
  }
@@ -3069,12 +3076,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3069
3076
  };
3070
3077
  }).filter((O) => !O.hidden && O.key !== o.pluginConfigKey);
3071
3078
  }), L = A(() => {
3072
- var C, D;
3079
+ var C, R;
3073
3080
  if (!b.value || !o.pluginConfigKey)
3074
3081
  return [];
3075
3082
  const N = b.value[o.pluginConfigKey] || {}, I = Object.keys(N).length, T = [];
3076
3083
  for (const O in N) {
3077
- const B = (D = (C = o.pluginConfigSchema) == null ? void 0 : C[O]) == null ? void 0 : D.order, W = N[O];
3084
+ const B = (R = (C = o.pluginConfigSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = N[O];
3078
3085
  let ee = W != null && W !== "" ? I - 1 : I;
3079
3086
  B && (ee = B === -1 ? I + 1 : B), T.push([O, ee]);
3080
3087
  }
@@ -3094,19 +3101,19 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3094
3101
  };
3095
3102
  }).filter((O) => !O.hidden);
3096
3103
  }), v = A(() => {
3097
- var C, D, N, I;
3104
+ var C, R, N, I;
3098
3105
  return {
3099
3106
  basic: (C = w.value) == null ? void 0 : C.filter((T) => T.section === ke.Basic),
3100
- advanced: (D = w.value) == null ? void 0 : D.filter((T) => T.section === ke.Advanced),
3107
+ advanced: (R = w.value) == null ? void 0 : R.filter((T) => T.section === ke.Advanced),
3101
3108
  plugin: (I = L.value) == null ? void 0 : I.concat((N = w.value) == null ? void 0 : N.filter((T) => T.section === ke.Plugin))
3102
3109
  };
3103
3110
  }), x = A(() => {
3104
3111
  const C = [];
3105
3112
  return v.value.basic.length && C.push("basic"), v.value.advanced.length && C.push("advanced"), v.value.plugin.length && C.push("plugin"), C;
3106
- }), R = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = A(() => {
3107
- var C, D;
3113
+ }), V = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = A(() => {
3114
+ var C, R;
3108
3115
  let N = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3109
- return o.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((C = o.config) == null ? void 0 : C.controlPlaneId) || "") : o.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (D = o.config) != null && D.workspace ? `/${o.config.workspace}` : "")), N = N.replace(/{id}/gi, o.config.entityId), N;
3116
+ return o.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((C = o.config) == null ? void 0 : C.controlPlaneId) || "") : o.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (R = o.config) != null && R.workspace ? `/${o.config.workspace}` : "")), N = N.replace(/{id}/gi, o.config.entityId), N;
3110
3117
  }), G = (C) => {
3111
3118
  b.value && C(JSON.stringify(b.value)) ? r("copy:success", b.value) : r("copy:error");
3112
3119
  };
@@ -3123,20 +3130,20 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3123
3130
  throw new Error(a("errors.dataKeyUndefined", { dataKey: o.dataKey }));
3124
3131
  else
3125
3132
  b.value = { ...C };
3126
- Object.keys(o.configSchema).filter((D) => o.configSchema[D].forceShow).forEach((D) => {
3127
- b.value && typeof b.value[D] > "u" && (b.value[D] = null);
3133
+ Object.keys(o.configSchema).filter((R) => o.configSchema[R].forceShow).forEach((R) => {
3134
+ b.value && typeof b.value[R] > "u" && (b.value[R] = null);
3128
3135
  }), r("fetch:success", C);
3129
3136
  } catch (C) {
3130
- const D = s(C);
3131
- S.value = D.startsWith("code") ? a("baseConfigCard.errors.load") : D, h.value = !0, r("fetch:error", C);
3137
+ const R = s(C);
3138
+ S.value = R.startsWith("code") ? a("baseConfigCard.errors.load") : R, h.value = !0, r("fetch:error", C);
3132
3139
  } finally {
3133
3140
  _.value = !1;
3134
3141
  }
3135
- }), (C, D) => {
3142
+ }), (C, R) => {
3136
3143
  const N = q("KLabel"), I = q("KSelect"), T = q("KButton"), O = q("KClipboardProvider"), B = q("KSkeleton"), W = q("KEmptyState"), ee = q("KCard");
3137
- return d(), P(ee, { class: "kong-ui-entity-base-config-card" }, $e({
3144
+ return d(), P(ee, { class: "kong-ui-entity-base-config-card" }, je({
3138
3145
  actions: g(() => [
3139
- V("div", _s, [
3146
+ D("div", Is, [
3140
3147
  X(C.$slots, "actions", {}, void 0, !0),
3141
3148
  e.config.jsonYamlEnabled ? (d(), P(N, {
3142
3149
  key: 0,
@@ -3161,13 +3168,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3161
3168
  "data-testid": "book-icon"
3162
3169
  }, {
3163
3170
  default: g(() => [
3164
- V("a", {
3171
+ D("a", {
3165
3172
  href: e.configCardDoc,
3166
3173
  rel: "noopener",
3167
3174
  target: "_blank"
3168
3175
  }, [
3169
- E(m(ks), { size: m(To) }, null, 8, ["size"])
3170
- ], 8, Is)
3176
+ E(m(ws), { size: m($o) }, null, 8, ["size"])
3177
+ ], 8, As)
3171
3178
  ]),
3172
3179
  _: 1
3173
3180
  })) : z("", !0),
@@ -3201,19 +3208,19 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3201
3208
  "is-error": ""
3202
3209
  }, {
3203
3210
  message: g(() => [
3204
- V("h3", null, K(S.value), 1)
3211
+ D("h3", null, K(S.value), 1)
3205
3212
  ]),
3206
3213
  _: 1
3207
3214
  })) : z("", !0),
3208
- e.config.jsonYamlEnabled ? (d(), $("div", As, [
3209
- E(ms, {
3215
+ e.config.jsonYamlEnabled ? (d(), j("div", Ss, [
3216
+ E(gs, {
3210
3217
  config: e.config,
3211
3218
  "fetcher-url": re.value,
3212
3219
  format: c.value,
3213
3220
  "prop-list-types": x.value,
3214
3221
  "property-collections": v.value,
3215
3222
  record: b.value
3216
- }, $e({ _: 2 }, [
3223
+ }, je({ _: 2 }, [
3217
3224
  ve(Object.keys(C.$slots), (te) => ({
3218
3225
  name: te,
3219
3226
  fn: g(({ row: ne, rowValue: de }) => [
@@ -3224,17 +3231,17 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3224
3231
  ])
3225
3232
  }))
3226
3233
  ]), 1032, ["config", "fetcher-url", "format", "prop-list-types", "property-collections", "record"])
3227
- ])) : (d(), $("div", Ss, [
3228
- (d(!0), $(Ce, null, ve(x.value, (te) => (d(), $("div", {
3234
+ ])) : (d(), j("div", xs, [
3235
+ (d(!0), j(Ce, null, ve(x.value, (te) => (d(), j("div", {
3229
3236
  key: `config-card-details-${te}-props`,
3230
3237
  class: Ee(`config-card-details-${te}-props`),
3231
3238
  "data-testid": `config-card-details-${te}-props`
3232
3239
  }, [
3233
- te !== "basic" ? (d(), $("div", Ts, K(te === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3234
- (d(!0), $(Ce, null, ve(v.value[te], (ne) => (d(), P(Tt, {
3240
+ te !== "basic" ? (d(), j("div", $s, K(te === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3241
+ (d(!0), j(Ce, null, ve(v.value[te], (ne) => (d(), P(Tt, {
3235
3242
  key: ne.key,
3236
3243
  item: ne
3237
- }, $e({
3244
+ }, je({
3238
3245
  label: g(() => [
3239
3246
  X(C.$slots, `${ne.key}-label`, { row: ne }, void 0, !0)
3240
3247
  ]),
@@ -3246,7 +3253,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3246
3253
  ]),
3247
3254
  _: 2
3248
3255
  }, [
3249
- R(ne) ? {
3256
+ V(ne) ? {
3250
3257
  name: "label-tooltip",
3251
3258
  fn: g(() => [
3252
3259
  X(C.$slots, `${ne.key}-label-tooltip`, { row: ne }, void 0, !0)
@@ -3254,7 +3261,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3254
3261
  key: "0"
3255
3262
  } : void 0
3256
3263
  ]), 1032, ["item"]))), 128))
3257
- ], 10, xs))), 128))
3264
+ ], 10, Ts))), 128))
3258
3265
  ]))
3259
3266
  ]),
3260
3267
  _: 2
@@ -3262,7 +3269,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3262
3269
  e.hideTitle ? void 0 : {
3263
3270
  name: "title",
3264
3271
  fn: g(() => [
3265
- V("div", ws, [
3272
+ D("div", _s, [
3266
3273
  X(C.$slots, "title", {}, () => [
3267
3274
  Z(K(m(a)("baseConfigCard.title")), 1)
3268
3275
  ], !0)
@@ -3273,10 +3280,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3273
3280
  ]), 1024);
3274
3281
  };
3275
3282
  }
3276
- }), $s = /* @__PURE__ */ we(js, [["__scopeId", "data-v-3fd4a3a4"]]), Ms = {
3283
+ }), Ms = /* @__PURE__ */ we(js, [["__scopeId", "data-v-3fd4a3a4"]]), Os = {
3277
3284
  class: "form-actions",
3278
3285
  "data-testid": "form-actions"
3279
- }, Os = { key: 0 }, Es = /* @__PURE__ */ ae({
3286
+ }, Es = { key: 0 }, Fs = /* @__PURE__ */ ae({
3280
3287
  __name: "EntityBaseForm",
3281
3288
  props: {
3282
3289
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3335,8 +3342,8 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3335
3342
  headers: (t = o.config) == null ? void 0 : t.requestHeaders
3336
3343
  }), u = F(!1), p = F(!1), c = F(""), y = A(() => o.canSubmit === !1 || o.isReadonly), f = F(!1), _ = A(() => {
3337
3344
  var v, x;
3338
- let R = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3339
- return o.config.app === "konnect" ? R = R.replace(/{controlPlaneId}/gi, ((v = o.config) == null ? void 0 : v.controlPlaneId) || "") : o.config.app === "kongManager" && (R = R.replace(/\/{workspace}/gi, (x = o.config) != null && x.workspace ? `/${o.config.workspace}` : "")), o.editId ? (R = R.replace(/{id}/gi, o.editId), R) : (R = R.replace(/\/{id}/gi, ""), R);
3345
+ let V = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3346
+ return o.config.app === "konnect" ? V = V.replace(/{controlPlaneId}/gi, ((v = o.config) == null ? void 0 : v.controlPlaneId) || "") : o.config.app === "kongManager" && (V = V.replace(/\/{workspace}/gi, (x = o.config) != null && x.workspace ? `/${o.config.workspace}` : "")), o.editId ? (V = V.replace(/{id}/gi, o.editId), V) : (V = V.replace(/\/{id}/gi, ""), V);
3340
3347
  }), h = () => {
3341
3348
  f.value = !f.value;
3342
3349
  }, S = () => {
@@ -3370,10 +3377,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3370
3377
  u.value = !1;
3371
3378
  }
3372
3379
  }), (v, x) => {
3373
- const R = q("KSkeleton"), re = q("KEmptyState"), G = q("KAlert"), C = q("KButton"), D = q("KTabs"), N = q("KSlideout"), I = q("KCard");
3380
+ const V = q("KSkeleton"), re = q("KEmptyState"), G = q("KAlert"), C = q("KButton"), R = q("KTabs"), N = q("KSlideout"), I = q("KCard");
3374
3381
  return d(), P(I, { class: "kong-ui-entity-base-form" }, {
3375
3382
  default: g(() => [
3376
- u.value ? (d(), P(R, {
3383
+ u.value ? (d(), P(V, {
3377
3384
  key: 0,
3378
3385
  type: "form"
3379
3386
  })) : p.value ? (d(), P(re, {
@@ -3384,10 +3391,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3384
3391
  "is-error": !0
3385
3392
  }, {
3386
3393
  message: g(() => [
3387
- V("h3", null, K(c.value), 1)
3394
+ D("h3", null, K(c.value), 1)
3388
3395
  ]),
3389
3396
  _: 1
3390
- }, 8, ["cta-text"])) : (d(), $("form", {
3397
+ }, 8, ["cta-text"])) : (d(), j("form", {
3391
3398
  key: 2,
3392
3399
  "data-testid": "form-content",
3393
3400
  onReset: rt(b, ["prevent"]),
@@ -3400,9 +3407,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3400
3407
  appearance: "danger",
3401
3408
  "data-testid": "form-error"
3402
3409
  }, null, 8, ["alert-message"])) : z("", !0),
3403
- V("div", Ms, [
3410
+ D("div", Os, [
3404
3411
  X(v.$slots, "form-actions", {}, () => [
3405
- e.config.jsonYamlFormsEnabled ? (d(), $("div", Os, [
3412
+ e.config.jsonYamlFormsEnabled ? (d(), j("div", Es, [
3406
3413
  E(C, {
3407
3414
  appearance: "tertiary",
3408
3415
  "data-testid": "form-view-configuration",
@@ -3449,13 +3456,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3449
3456
  onClose: x[1] || (x[1] = (T) => h())
3450
3457
  }, {
3451
3458
  default: g(() => [
3452
- V("div", null, K(m(a)("baseForm.configuration.message")), 1),
3453
- E(D, {
3459
+ D("div", null, K(m(a)("baseForm.configuration.message")), 1),
3460
+ E(R, {
3454
3461
  "data-testid": "form-view-configuration-slideout-tabs",
3455
3462
  tabs: L.value
3456
3463
  }, {
3457
3464
  json: g(() => [
3458
- E(xn, {
3465
+ E(Tn, {
3459
3466
  config: e.config,
3460
3467
  "fetcher-url": _.value,
3461
3468
  "json-record": o.formFields,
@@ -3463,7 +3470,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3463
3470
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3464
3471
  ]),
3465
3472
  yaml: g(() => [
3466
- E(gr, {
3473
+ E(yr, {
3467
3474
  "yaml-record": o.formFields
3468
3475
  }, null, 8, ["yaml-record"])
3469
3476
  ]),
@@ -3477,10 +3484,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3477
3484
  });
3478
3485
  };
3479
3486
  }
3480
- }), Fs = /* @__PURE__ */ we(Es, [["__scopeId", "data-v-4ef70725"]]), Ks = {
3487
+ }), Ks = /* @__PURE__ */ we(Fs, [["__scopeId", "data-v-4ef70725"]]), Ns = {
3481
3488
  key: 0,
3482
3489
  "data-testid": "first-col"
3483
- }, Ns = /* @__PURE__ */ ae({
3490
+ }, qs = /* @__PURE__ */ ae({
3484
3491
  __name: "EntityBaseTableCell",
3485
3492
  props: {
3486
3493
  keyName: {
@@ -3525,18 +3532,18 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3525
3532
  },
3526
3533
  { immediate: !0, flush: "post", deep: !0 }
3527
3534
  ), _ = A(() => o.value ? u.value > p.value : !1);
3528
- return wr(() => {
3535
+ return _r(() => {
3529
3536
  s();
3530
- }), _r(() => {
3537
+ }), Ir(() => {
3531
3538
  f();
3532
3539
  }), (h, S) => {
3533
3540
  const b = q("KTooltip");
3534
- return d(), $("span", {
3541
+ return d(), j("span", {
3535
3542
  ref_key: "contentRef",
3536
3543
  ref: l,
3537
3544
  class: "content-wrapper"
3538
3545
  }, [
3539
- o.value ? (d(), $("span", Ks, [
3546
+ o.value ? (d(), j("span", Ns, [
3540
3547
  E(b, {
3541
3548
  label: _.value ? c.value : "",
3542
3549
  "max-width": "300",
@@ -3551,10 +3558,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3551
3558
  ], 512);
3552
3559
  };
3553
3560
  }
3554
- }), qs = /* @__PURE__ */ we(Ns, [["__scopeId", "data-v-e42a20c9"]]), Bs = { class: "toolbar-container" }, Ls = {
3561
+ }), Bs = /* @__PURE__ */ we(qs, [["__scopeId", "data-v-e42a20c9"]]), Ls = { class: "toolbar-container" }, Us = {
3555
3562
  key: 0,
3556
3563
  class: "toolbar-button-container"
3557
- }, Us = ["data-testid"], Ps = /* @__PURE__ */ ae({
3564
+ }, Ps = ["data-testid"], Ds = /* @__PURE__ */ ae({
3558
3565
  __name: "EntityBaseTable",
3559
3566
  props: {
3560
3567
  // table header configuration
@@ -3665,7 +3672,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3665
3672
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3666
3673
  setup(e, { emit: n }) {
3667
3674
  const t = e, r = n, { i18n: { t: o } } = ce.useI18n(), i = A(() => {
3668
- var x, R;
3675
+ var x, V;
3669
3676
  return typeof t.errorMessage == "string" ? {
3670
3677
  hasError: !!t.errorMessage,
3671
3678
  title: t.errorMessage,
@@ -3673,15 +3680,15 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3673
3680
  } : {
3674
3681
  hasError: !!t.errorMessage,
3675
3682
  title: (x = t.errorMessage) == null ? void 0 : x.title,
3676
- message: (R = t.errorMessage) == null ? void 0 : R.message
3683
+ message: (V = t.errorMessage) == null ? void 0 : V.message
3677
3684
  };
3678
3685
  }), a = A(() => t.cacheIdentifier || t.preferencesStorageKey), s = (x) => x.hasData || !!t.query, l = A(() => {
3679
3686
  const x = [];
3680
- return Object.keys(t.tableHeaders).forEach((R) => {
3681
- const re = t.tableHeaders[R];
3687
+ return Object.keys(t.tableHeaders).forEach((V) => {
3688
+ const re = t.tableHeaders[V];
3682
3689
  x.push({
3683
- label: re.label ?? R,
3684
- key: R,
3690
+ label: re.label ?? V,
3691
+ key: V,
3685
3692
  sortable: re.sortable ?? !1
3686
3693
  });
3687
3694
  }), t.enableEntityActions && x.push({
@@ -3693,27 +3700,27 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3693
3700
  "data-testid": x.name,
3694
3701
  ...t.rowAttributes(x)
3695
3702
  }), p = F({}), c = (x) => {
3696
- var R;
3697
- return (R = p.value) == null ? void 0 : R.$el.querySelector(`[data-rowid="${x.id}"]`);
3703
+ var V;
3704
+ return (V = p.value) == null ? void 0 : V.$el.querySelector(`[data-rowid="${x.id}"]`);
3698
3705
  }, y = (x) => {
3699
- const R = {
3706
+ const V = {
3700
3707
  "data-testid": x.headerKey,
3701
3708
  ...t.cellAttributes(x)
3702
3709
  };
3703
- return x.colIndex === 0 && (R.style = {
3710
+ return x.colIndex === 0 && (V.style = {
3704
3711
  maxWidth: "250px",
3705
3712
  overflowX: "hidden",
3706
3713
  textOverflow: "ellipsis"
3707
- }), R;
3714
+ }), V;
3708
3715
  }, f = () => {
3709
3716
  r("empty-state-cta-clicked"), _();
3710
3717
  }, _ = () => {
3711
3718
  r("clear-search-input");
3712
- }, h = A(() => t.disableRowClick ? void 0 : (x, R) => {
3713
- r("click:row", R);
3719
+ }, h = A(() => t.disableRowClick ? void 0 : (x, V) => {
3720
+ r("click:row", V);
3714
3721
  }), S = (x) => {
3715
3722
  r("sort", x);
3716
- }, { setTablePreferences: b, getTablePreferences: w } = Or(), L = A(() => {
3723
+ }, { setTablePreferences: b, getTablePreferences: w } = Er(), L = A(() => {
3717
3724
  const x = w(t.preferencesStorageKey);
3718
3725
  return {
3719
3726
  ...t.initialFetcherParams,
@@ -3722,14 +3729,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3722
3729
  }), v = (x) => {
3723
3730
  t.preferencesStorageKey && b(t.preferencesStorageKey, x);
3724
3731
  };
3725
- return (x, R) => {
3726
- const re = q("KIcon"), G = q("KButton"), C = q("KDropdown"), D = q("KTable"), N = q("KCard");
3732
+ return (x, V) => {
3733
+ const re = q("KIcon"), G = q("KButton"), C = q("KDropdown"), R = q("KTable"), N = q("KCard");
3727
3734
  return d(), P(N, {
3728
3735
  class: "kong-ui-entity-base-table",
3729
3736
  title: e.title
3730
3737
  }, {
3731
3738
  default: g(() => [
3732
- E(D, {
3739
+ E(R, {
3733
3740
  ref_key: "tableRefs",
3734
3741
  ref: p,
3735
3742
  "cache-identifier": a.value,
@@ -3758,13 +3765,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3758
3765
  "search-input": e.query,
3759
3766
  onKtableEmptyStateCtaClicked: f,
3760
3767
  "onRow:click": h.value,
3761
- onSort: R[0] || (R[0] = (I) => S(I)),
3768
+ onSort: V[0] || (V[0] = (I) => S(I)),
3762
3769
  "onUpdate:tablePreferences": v
3763
- }, $e({
3770
+ }, je({
3764
3771
  toolbar: g(({ state: I }) => [
3765
- Je(V("div", Bs, [
3772
+ Je(D("div", Ls, [
3766
3773
  X(x.$slots, "toolbar-filter", {}, void 0, !0),
3767
- x.$slots["toolbar-button"] ? (d(), $("div", Ls, [
3774
+ x.$slots["toolbar-button"] ? (d(), j("div", Us, [
3768
3775
  X(x.$slots, "toolbar-button", {}, void 0, !0)
3769
3776
  ])) : z("", !0)
3770
3777
  ], 512), [
@@ -3772,7 +3779,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3772
3779
  ])
3773
3780
  ]),
3774
3781
  actions: g(({ row: I, rowKey: T, rowValue: O }) => [
3775
- V("div", {
3782
+ D("div", {
3776
3783
  class: "actions-container",
3777
3784
  "data-testid": I.name
3778
3785
  }, [
@@ -3795,7 +3802,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3795
3802
  }, {
3796
3803
  icon: g(() => [
3797
3804
  E(re, {
3798
- color: m(So),
3805
+ color: m(xo),
3799
3806
  icon: "more",
3800
3807
  size: "16"
3801
3808
  }, null, 8, ["color"])
@@ -3805,14 +3812,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3805
3812
  ]),
3806
3813
  _: 2
3807
3814
  }, 1032, ["width"])
3808
- ], 8, Us)
3815
+ ], 8, Ps)
3809
3816
  ]),
3810
3817
  _: 2
3811
3818
  }, [
3812
3819
  ve(e.tableHeaders, (I, T) => ({
3813
3820
  name: T,
3814
3821
  fn: g(({ row: O, rowKey: B, rowValue: W }) => [
3815
- E(qs, {
3822
+ E(Bs, {
3816
3823
  "key-name": String(T),
3817
3824
  "row-el": c(O)
3818
3825
  }, {
@@ -3835,13 +3842,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3835
3842
  }, 8, ["title"]);
3836
3843
  };
3837
3844
  }
3838
- }), Vs = /* @__PURE__ */ we(Ps, [["__scopeId", "data-v-ecfaa7cf"]]), Rs = {
3845
+ }), Vs = /* @__PURE__ */ we(Ds, [["__scopeId", "data-v-ecfaa7cf"]]), Rs = {
3839
3846
  key: 0,
3840
3847
  class: "kong-ui-entity-delete-error"
3841
- }, Ds = {
3848
+ }, Gs = {
3842
3849
  key: 1,
3843
3850
  class: "description"
3844
- }, Gs = /* @__PURE__ */ ae({
3851
+ }, Hs = /* @__PURE__ */ ae({
3845
3852
  __name: "EntityDeleteModal",
3846
3853
  props: {
3847
3854
  visible: {
@@ -3899,7 +3906,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3899
3906
  onProceed: s
3900
3907
  }, {
3901
3908
  default: g(() => [
3902
- e.error ? (d(), $("div", Rs, [
3909
+ e.error ? (d(), j("div", Rs, [
3903
3910
  E(p, { appearance: "danger" }, {
3904
3911
  alertMessage: g(() => [
3905
3912
  Z(K(e.error), 1)
@@ -3911,7 +3918,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3911
3918
  class: "message",
3912
3919
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3913
3920
  tag: "p"
3914
- }, $e({
3921
+ }, je({
3915
3922
  entityType: g(() => [
3916
3923
  Z(K(r.entityType), 1)
3917
3924
  ]),
@@ -3920,14 +3927,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3920
3927
  r.entityName ? {
3921
3928
  name: "entityName",
3922
3929
  fn: g(() => [
3923
- V("strong", null, K(r.entityName), 1)
3930
+ D("strong", null, K(r.entityName), 1)
3924
3931
  ]),
3925
3932
  key: "0"
3926
3933
  } : void 0
3927
3934
  ]), 1032, ["keypath"]),
3928
- r.description || l.$slots.description ? (d(), $("div", Ds, [
3935
+ r.description || l.$slots.description ? (d(), j("div", Gs, [
3929
3936
  X(l.$slots, "description", {}, () => [
3930
- V("p", null, K(r.description), 1)
3937
+ D("p", null, K(r.description), 1)
3931
3938
  ], !0)
3932
3939
  ])) : z("", !0)
3933
3940
  ]),
@@ -3935,13 +3942,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3935
3942
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3936
3943
  };
3937
3944
  }
3938
- }), Hs = /* @__PURE__ */ we(Gs, [["__scopeId", "data-v-efe8f34b"]]), zs = {
3945
+ }), zs = /* @__PURE__ */ we(Hs, [["__scopeId", "data-v-efe8f34b"]]), Js = {
3939
3946
  fill: "none",
3940
3947
  height: "20",
3941
3948
  viewBox: "0 0 20 20",
3942
3949
  width: "20",
3943
3950
  xmlns: "http://www.w3.org/2000/svg"
3944
- }, Js = {
3951
+ }, Ys = {
3945
3952
  id: "mask0_180_20349",
3946
3953
  height: "20",
3947
3954
  maskUnits: "userSpaceOnUse",
@@ -3949,35 +3956,35 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3949
3956
  width: "20",
3950
3957
  x: "0",
3951
3958
  y: "0"
3952
- }, Ys = ["fill"], Ws = { mask: "url(#mask0_180_20349)" }, Zs = ["fill"], fn = /* @__PURE__ */ ae({
3959
+ }, Ws = ["fill"], Zs = { mask: "url(#mask0_180_20349)" }, Qs = ["fill"], fn = /* @__PURE__ */ ae({
3953
3960
  __name: "IconFilter",
3954
3961
  props: {
3955
3962
  color: {
3956
3963
  type: String,
3957
- default: `var(--kong-ui-entity-filter-color, ${Io})`
3964
+ default: `var(--kong-ui-entity-filter-color, ${Ao})`
3958
3965
  }
3959
3966
  },
3960
3967
  setup(e) {
3961
- return (n, t) => (d(), $("svg", zs, [
3962
- V("mask", Js, [
3963
- V("rect", {
3968
+ return (n, t) => (d(), j("svg", Js, [
3969
+ D("mask", Ys, [
3970
+ D("rect", {
3964
3971
  fill: e.color,
3965
3972
  height: "20",
3966
3973
  width: "20"
3967
- }, null, 8, Ys)
3974
+ }, null, 8, Ws)
3968
3975
  ]),
3969
- V("g", Ws, [
3970
- V("path", {
3976
+ D("g", Zs, [
3977
+ D("path", {
3971
3978
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3972
3979
  fill: e.color
3973
- }, null, 8, Zs)
3980
+ }, null, 8, Qs)
3974
3981
  ])
3975
3982
  ]));
3976
3983
  }
3977
- }), Qs = {
3984
+ }), Xs = {
3978
3985
  key: 1,
3979
3986
  class: "kong-ui-entity-filter"
3980
- }, Xs = { class: "menu-item-title" }, el = { class: "menu-item-indicator" }, tl = { class: "menu-item-body" }, nl = ["for"], rl = { class: "menu-item-buttons" }, ol = { class: "filter-clear-button-container" }, al = /* @__PURE__ */ ae({
3987
+ }, el = { class: "menu-item-title" }, tl = { class: "menu-item-indicator" }, nl = { class: "menu-item-body" }, rl = ["for"], ol = { class: "menu-item-buttons" }, al = { class: "filter-clear-button-container" }, il = /* @__PURE__ */ ae({
3981
3988
  __name: "EntityFilter",
3982
3989
  props: {
3983
3990
  // filter config, either exact match or fuzzy match
@@ -4039,7 +4046,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4039
4046
  b && (i.value = !1), o("update:modelValue", new URLSearchParams(w).toString());
4040
4047
  };
4041
4048
  return (b, w) => {
4042
- const L = q("KInput"), v = q("KButton"), x = q("KSelect"), R = q("KMenuItem"), re = q("KMenu");
4049
+ const L = q("KInput"), v = q("KButton"), x = q("KSelect"), V = q("KMenuItem"), re = q("KMenu");
4043
4050
  return e.config.isExactMatch ? (d(), P(L, {
4044
4051
  key: 0,
4045
4052
  autocomplete: "off",
@@ -4053,7 +4060,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4053
4060
  E(fn)
4054
4061
  ]),
4055
4062
  _: 1
4056
- }, 8, ["model-value", "placeholder"])) : (d(), $("div", Qs, [
4063
+ }, 8, ["model-value", "placeholder"])) : (d(), j("div", Xs, [
4057
4064
  E(v, {
4058
4065
  appearance: "tertiary",
4059
4066
  "data-testid": "filter-button",
@@ -4065,7 +4072,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4065
4072
  ]),
4066
4073
  _: 1
4067
4074
  }),
4068
- Je(V("div", {
4075
+ Je(D("div", {
4069
4076
  class: "kong-ui-entity-filter-backdrop",
4070
4077
  onClick: u
4071
4078
  }, null, 512), [
@@ -4073,29 +4080,29 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4073
4080
  ]),
4074
4081
  Je(E(re, { class: "kong-ui-entity-filter-menu" }, {
4075
4082
  body: g(() => [
4076
- (d(!0), $(Ce, null, ve(l.value, (G, C) => (d(), P(R, {
4083
+ (d(!0), j(Ce, null, ve(l.value, (G, C) => (d(), P(V, {
4077
4084
  key: G.value,
4078
4085
  "data-testid": G.value,
4079
4086
  expandable: "",
4080
4087
  "last-menu-item": C === l.value.length - 1
4081
4088
  }, {
4082
4089
  itemTitle: g(() => [
4083
- V("span", Xs, [
4090
+ D("span", el, [
4084
4091
  Z(K(G.label) + " ", 1),
4085
- Je(V("span", el, null, 512), [
4092
+ Je(D("span", tl, null, 512), [
4086
4093
  [Ye, s.value.includes(G.value)]
4087
4094
  ])
4088
4095
  ])
4089
4096
  ]),
4090
4097
  itemBody: g(() => {
4091
- var D, N;
4098
+ var R, N;
4092
4099
  return [
4093
- V("div", tl, [
4094
- V("label", {
4100
+ D("div", nl, [
4101
+ D("label", {
4095
4102
  class: "menu-item-label",
4096
4103
  for: c(G.value)
4097
- }, K(m(t)("filter.fieldLabel")), 9, nl),
4098
- ((N = (D = e.config.schema) == null ? void 0 : D[G.value]) == null ? void 0 : N.type) === "select" ? (d(), P(x, {
4104
+ }, K(m(t)("filter.fieldLabel")), 9, rl),
4105
+ ((N = (R = e.config.schema) == null ? void 0 : R[G.value]) == null ? void 0 : N.type) === "select" ? (d(), P(x, {
4099
4106
  key: 0,
4100
4107
  id: c(G.value),
4101
4108
  modelValue: a.value[G.value],
@@ -4112,7 +4119,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4112
4119
  type: f(G.value)
4113
4120
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4114
4121
  ]),
4115
- V("div", rl, [
4122
+ D("div", ol, [
4116
4123
  E(v, {
4117
4124
  appearance: "tertiary",
4118
4125
  "data-testid": "apply-filter",
@@ -4142,7 +4149,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4142
4149
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
4143
4150
  ]),
4144
4151
  actionButton: g(() => [
4145
- V("div", ol, [
4152
+ D("div", al, [
4146
4153
  E(v, {
4147
4154
  appearance: "tertiary",
4148
4155
  size: "small",
@@ -4162,7 +4169,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4162
4169
  ]));
4163
4170
  };
4164
4171
  }
4165
- }), il = /* @__PURE__ */ we(al, [["__scopeId", "data-v-e9512e8f"]]), tt = /* @__PURE__ */ ae({
4172
+ }), sl = /* @__PURE__ */ we(il, [["__scopeId", "data-v-e9512e8f"]]), tt = /* @__PURE__ */ ae({
4166
4173
  __name: "PermissionsWrapper",
4167
4174
  props: {
4168
4175
  /**
@@ -4192,16 +4199,16 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4192
4199
  isAllowed: t.value
4193
4200
  }) : z("", !0);
4194
4201
  }
4195
- }), sl = { class: "form-section-wrapper" }, ll = {
4202
+ }), ll = { class: "form-section-wrapper" }, ul = {
4196
4203
  key: 0,
4197
4204
  class: "form-section-title"
4198
- }, ul = {
4205
+ }, cl = {
4199
4206
  key: 1,
4200
4207
  class: "form-section-description"
4201
- }, cl = {
4208
+ }, dl = {
4202
4209
  key: 2,
4203
4210
  class: "form-section-footer"
4204
- }, dl = { class: "form-section-content" }, pl = /* @__PURE__ */ ae({
4211
+ }, pl = { class: "form-section-content" }, fl = /* @__PURE__ */ ae({
4205
4212
  __name: "EntityFormSection",
4206
4213
  props: {
4207
4214
  title: {
@@ -4227,34 +4234,34 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4227
4234
  },
4228
4235
  setup(e) {
4229
4236
  const n = ut();
4230
- return (t, r) => (d(), $("fieldset", {
4237
+ return (t, r) => (d(), j("fieldset", {
4231
4238
  class: Ee(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4232
4239
  }, [
4233
- V("div", sl, [
4234
- e.hideInfoHeader ? z("", !0) : (d(), $("div", {
4240
+ D("div", ll, [
4241
+ e.hideInfoHeader ? z("", !0) : (d(), j("div", {
4235
4242
  key: 0,
4236
4243
  class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
4237
4244
  }, [
4238
- e.title ? (d(), $("h4", ll, K(e.title), 1)) : z("", !0),
4239
- e.description || m(n).description ? (d(), $("div", ul, [
4245
+ e.title ? (d(), j("h4", ul, K(e.title), 1)) : z("", !0),
4246
+ e.description || m(n).description ? (d(), j("div", cl, [
4240
4247
  X(t.$slots, "description", {}, () => [
4241
- V("p", null, K(e.description), 1)
4248
+ D("p", null, K(e.description), 1)
4242
4249
  ], !0)
4243
4250
  ])) : z("", !0),
4244
- m(n).footer ? (d(), $("div", cl, [
4251
+ m(n).footer ? (d(), j("div", dl, [
4245
4252
  X(t.$slots, "footer", {}, void 0, !0)
4246
4253
  ])) : z("", !0)
4247
4254
  ], 2)),
4248
- V("div", dl, [
4255
+ D("div", pl, [
4249
4256
  X(t.$slots, "default", {}, void 0, !0)
4250
4257
  ])
4251
4258
  ])
4252
4259
  ], 2));
4253
4260
  }
4254
- }), mn = /* @__PURE__ */ we(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Kt, useDeleteUrlBuilder: fl, useErrors: ml, useExternalLinkCreator: Nl, useFetchUrlBuilder: ql, useFetcher: gl, useDebouncedFilter: yr, useStringHelpers: Bl, useHelpers: Ll, useGatewayFeatureSupported: Ul, useTruncationDetector: Pl } = ce, yl = { class: "add-to-group-form-container" }, hl = { class: "add-to-group-cta-text" }, vl = {
4261
+ }), mn = /* @__PURE__ */ we(fl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Kt, useDeleteUrlBuilder: ml, useErrors: gl, useExternalLinkCreator: ql, useFetchUrlBuilder: Bl, useFetcher: yl, useDebouncedFilter: hr, useStringHelpers: Ll, useHelpers: Ul, useGatewayFeatureSupported: Pl, useTruncationDetector: Dl } = ce, hl = { class: "add-to-group-form-container" }, vl = { class: "add-to-group-cta-text" }, bl = {
4255
4262
  key: 0,
4256
4263
  class: "kong-ui-entity-add-to-groups-error"
4257
- }, bl = { key: 0 }, Cl = /* @__PURE__ */ ae({
4264
+ }, Cl = { key: 0 }, kl = /* @__PURE__ */ ae({
4258
4265
  __name: "AddToGroupModal",
4259
4266
  props: {
4260
4267
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4281,7 +4288,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4281
4288
  error: p,
4282
4289
  loadItems: c,
4283
4290
  results: y
4284
- } = yr(
4291
+ } = hr(
4285
4292
  r.config,
4286
4293
  Me.list[r.config.app].all,
4287
4294
  "",
@@ -4301,7 +4308,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4301
4308
  return T ? T.name : I;
4302
4309
  }, w = () => {
4303
4310
  x.value = "", L.value = [], C.value = [], o("cancel");
4304
- }, L = F([]), v = F(!1), x = F(""), R = async () => {
4311
+ }, L = F([]), v = F(!1), x = F(""), V = async () => {
4305
4312
  if (!a.value.length) {
4306
4313
  x.value = "", C.value = [], o("cancel");
4307
4314
  return;
@@ -4312,7 +4319,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4312
4319
  let O = !0;
4313
4320
  T.forEach((B) => {
4314
4321
  B.status !== "fulfilled" && (O = !1);
4315
- }), O ? (L.value = [], C.value = [], o("add:success", a.value), a.value = []) : (L.value.length && o("add:partial-success", L.value), a.value = [], D(T));
4322
+ }), O ? (L.value = [], C.value = [], o("add:success", a.value), a.value = []) : (L.value.length && o("add:partial-success", L.value), a.value = [], R(T));
4316
4323
  } catch {
4317
4324
  x.value = t("consumer_groups.errors.add"), o("error", x.value);
4318
4325
  } finally {
@@ -4333,7 +4340,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4333
4340
  let B = `${b(I)} - ${O.message}`;
4334
4341
  return O.response.status === 409 && (B = `${b(I)} - ${t("consumer_groups.errors.already_added")}`), Promise.reject(Error(B));
4335
4342
  }
4336
- }, C = F([]), D = (I) => {
4343
+ }, C = F([]), R = (I) => {
4337
4344
  C.value = I.map((T) => {
4338
4345
  var O;
4339
4346
  return (O = T.reason) == null ? void 0 : O.message;
@@ -4352,11 +4359,11 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4352
4359
  title: m(t)("consumer_groups.consumers.add.title"),
4353
4360
  visible: e.visible,
4354
4361
  onCancel: w,
4355
- onProceed: R
4362
+ onProceed: V
4356
4363
  }, {
4357
4364
  default: g(() => [
4358
- V("div", yl, [
4359
- V("p", hl, K(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4365
+ D("div", hl, [
4366
+ D("p", vl, K(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4360
4367
  E(O, {
4361
4368
  modelValue: a.value,
4362
4369
  "onUpdate:modelValue": T[0] || (T[0] = (ee) => a.value = ee),
@@ -4372,14 +4379,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4372
4379
  width: "100%",
4373
4380
  onQueryChange: m(s)
4374
4381
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4375
- x.value || f.value || C.value.length ? (d(), $("div", vl, [
4382
+ x.value || f.value || C.value.length ? (d(), j("div", bl, [
4376
4383
  E(B, { appearance: "danger" }, {
4377
4384
  alertMessage: g(() => [
4378
- V("p", null, K(m(t)("consumer_groups.errors.add")), 1),
4379
- C.value.length ? (d(), $("ul", bl, [
4380
- (d(!0), $(Ce, null, ve(C.value, (ee, te) => (d(), $("li", { key: te }, K(ee), 1))), 128))
4385
+ D("p", null, K(m(t)("consumer_groups.errors.add")), 1),
4386
+ C.value.length ? (d(), j("ul", Cl, [
4387
+ (d(!0), j(Ce, null, ve(C.value, (ee, te) => (d(), j("li", { key: te }, K(ee), 1))), 128))
4381
4388
  ])) : z("", !0),
4382
- V("div", null, K(x.value || f.value), 1)
4389
+ D("div", null, K(x.value || f.value), 1)
4383
4390
  ]),
4384
4391
  _: 1
4385
4392
  })
@@ -4395,7 +4402,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4395
4402
  for (const [r, o] of n)
4396
4403
  t[r] = o;
4397
4404
  return t;
4398
- }, kl = /* @__PURE__ */ Nt(Cl, [["__scopeId", "data-v-709789a9"]]), wl = { class: "kong-ui-entities-consumer-groups-list" }, _l = { key: 1 }, Il = /* @__PURE__ */ ae({
4405
+ }, wl = /* @__PURE__ */ Nt(kl, [["__scopeId", "data-v-709789a9"]]), _l = { class: "kong-ui-entities-consumer-groups-list" }, Il = { key: 1 }, Al = /* @__PURE__ */ ae({
4399
4406
  __name: "ConsumerGroupList",
4400
4407
  props: {
4401
4408
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4450,76 +4457,76 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4450
4457
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4451
4458
  };
4452
4459
  r.config.app === "kongManager" && (y.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), y.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4453
- const f = y, _ = (j) => ({
4454
- "data-testid": j.username ?? j.custom_id ?? j.id
4460
+ const f = y, _ = ($) => ({
4461
+ "data-testid": $.username ?? $.custom_id ?? $.id
4455
4462
  }), h = A(() => {
4456
4463
  var Y, se, he, Ie;
4457
- let j = `${r.config.apiBaseUrl}${Me.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4458
- return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), j;
4464
+ let $ = `${r.config.apiBaseUrl}${Me.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4465
+ return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), $;
4459
4466
  }), S = F(""), b = A(() => {
4460
- const j = r.config.app === "konnect" || r.config.isExactMatch;
4461
- return j ? {
4462
- isExactMatch: j,
4467
+ const $ = r.config.app === "konnect" || r.config.isExactMatch;
4468
+ return $ ? {
4469
+ isExactMatch: $,
4463
4470
  fields: {
4464
4471
  username: y.name,
4465
4472
  id: { label: i("consumer_groups.list.table_headers.id") }
4466
4473
  },
4467
4474
  placeholder: i("consumer_groups.search.placeholder")
4468
4475
  } : {
4469
- isExactMatch: j,
4476
+ isExactMatch: $,
4470
4477
  fields: {
4471
4478
  name: y.name
4472
4479
  },
4473
4480
  schema: r.config.filterSchema
4474
4481
  };
4475
- }), w = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = gl(r.config, h.value, w.value), x = () => {
4482
+ }), w = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = yl(r.config, h.value, w.value), x = () => {
4476
4483
  S.value = "";
4477
- }, R = () => {
4484
+ }, V = () => {
4478
4485
  l.value++;
4479
- }, re = F(null), G = (j, Y) => {
4480
- const se = j.id;
4486
+ }, re = F(null), G = ($, Y) => {
4487
+ const se = $.id;
4481
4488
  if (!Y(se)) {
4482
4489
  t("copy:error", {
4483
- entity: j,
4490
+ entity: $,
4484
4491
  field: "id",
4485
4492
  message: i("consumer_groups.errors.copy")
4486
4493
  });
4487
4494
  return;
4488
4495
  }
4489
4496
  t("copy:success", {
4490
- entity: j,
4497
+ entity: $,
4491
4498
  field: "id",
4492
4499
  message: i("consumer_groups.copy.success", { val: se })
4493
4500
  });
4494
- }, C = (j, Y) => {
4495
- const se = JSON.stringify(j);
4501
+ }, C = ($, Y) => {
4502
+ const se = JSON.stringify($);
4496
4503
  if (!Y(se)) {
4497
4504
  t("copy:error", {
4498
- entity: j,
4505
+ entity: $,
4499
4506
  message: i("consumer_groups.errors.copy")
4500
4507
  });
4501
4508
  return;
4502
4509
  }
4503
4510
  t("copy:success", {
4504
- entity: j,
4511
+ entity: $,
4505
4512
  message: i("consumer_groups.copy.success_brief")
4506
4513
  });
4507
- }, D = async (j) => {
4514
+ }, R = async ($) => {
4508
4515
  var se;
4509
- await ((se = r.canRetrieve) == null ? void 0 : se.call(r, j)) && a.push(r.config.getViewRoute(j.id));
4510
- }, N = (j) => ({
4516
+ await ((se = r.canRetrieve) == null ? void 0 : se.call(r, $)) && a.push(r.config.getViewRoute($.id));
4517
+ }, N = ($) => ({
4511
4518
  label: i("consumer_groups.actions.view"),
4512
- to: r.config.getViewRoute(j)
4513
- }), I = (j) => ({
4519
+ to: r.config.getViewRoute($)
4520
+ }), I = ($) => ({
4514
4521
  label: i("consumer_groups.actions.edit"),
4515
- to: r.config.getEditRoute(j)
4516
- }), T = F(void 0), O = F(!1), B = F(!1), W = F(""), ee = fl(r.config, h.value), te = (j) => {
4517
- T.value = j, O.value = !0;
4522
+ to: r.config.getEditRoute($)
4523
+ }), T = F(void 0), O = F(!1), B = F(!1), W = F(""), ee = ml(r.config, h.value), te = ($) => {
4524
+ T.value = $, O.value = !0;
4518
4525
  }, ne = () => {
4519
4526
  O.value = !1;
4520
4527
  }, de = async () => {
4521
- var j, Y, se;
4522
- if ((j = T.value) != null && j.id) {
4528
+ var $, Y, se;
4529
+ if (($ = T.value) != null && $.id) {
4523
4530
  B.value = !0;
4524
4531
  try {
4525
4532
  await s.delete(ee(T.value.id)), B.value = !1, O.value = !1, l.value++, t("delete:success", T.value);
@@ -4533,37 +4540,37 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4533
4540
  Le.value = !0;
4534
4541
  }, U = () => {
4535
4542
  Le.value = !1;
4536
- }, ie = (j, Y) => {
4537
- Y || U(), l.value++, t("add:success", j);
4543
+ }, ie = ($, Y) => {
4544
+ Y || U(), l.value++, t("add:success", $);
4538
4545
  }, J = () => {
4539
4546
  u.value && k();
4540
- }, H = F(void 0), fe = F(!1), _e = F(""), me = (j) => {
4541
- H.value = j, fe.value = !0;
4547
+ }, H = F(void 0), fe = F(!1), _e = F(""), me = ($) => {
4548
+ H.value = $, fe.value = !0;
4542
4549
  }, Ke = () => {
4543
4550
  fe.value = !1, H.value = void 0;
4544
4551
  }, et = A(() => {
4545
4552
  var Y, se, he, Ie;
4546
- let j = `${r.config.apiBaseUrl}${Me.list[r.config.app].oneForConsumer}`;
4547
- return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), j;
4548
- }), qt = F(!1), hr = async () => {
4553
+ let $ = `${r.config.apiBaseUrl}${Me.list[r.config.app].oneForConsumer}`;
4554
+ return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), $;
4555
+ }), qt = F(!1), vr = async () => {
4549
4556
  if (H.value) {
4550
4557
  qt.value = !0;
4551
4558
  try {
4552
- const j = et.value.replace(/{consumerGroupId}/gi, H.value.id);
4553
- await s.delete(j), t("remove:success", H.value), Ke(), l.value++;
4554
- } catch (j) {
4555
- _e.value = j.message || i("consumer_groups.errors.delete"), t("error", j);
4559
+ const $ = et.value.replace(/{consumerGroupId}/gi, H.value.id);
4560
+ await s.delete($), t("remove:success", H.value), Ke(), l.value++;
4561
+ } catch ($) {
4562
+ _e.value = $.message || i("consumer_groups.errors.delete"), t("error", $);
4556
4563
  } finally {
4557
4564
  qt.value = !1;
4558
4565
  }
4559
4566
  }
4560
4567
  }, Bt = F(!0);
4561
- Te(v, (j) => {
4568
+ Te(v, ($) => {
4562
4569
  var Y, se, he, Ie;
4563
- if (Array.isArray((Y = j == null ? void 0 : j.response) == null ? void 0 : Y.data) && (Bt.value = j.response.data.length > 0), j.status === Ne.Error) {
4570
+ if (Array.isArray((Y = $ == null ? void 0 : $.response) == null ? void 0 : Y.data) && (Bt.value = $.response.data.length > 0), $.status === Ne.Error) {
4564
4571
  re.value = {
4565
4572
  title: i("consumer_groups.errors.general")
4566
- }, (Ie = (he = (se = j.error) == null ? void 0 : se.response) == null ? void 0 : he.data) != null && Ie.message && (re.value.message = j.error.response.data.message), t("error", j.error);
4573
+ }, (Ie = (he = (se = $.error) == null ? void 0 : se.response) == null ? void 0 : he.data) != null && Ie.message && (re.value.message = $.error.response.data.message), t("error", $.error);
4567
4574
  return;
4568
4575
  }
4569
4576
  re.value = null;
@@ -4576,9 +4583,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4576
4583
  });
4577
4584
  return ct(async () => {
4578
4585
  await r.canCreate() && (ft.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), ft.value.ctaText = u.value ? i("consumer_groups.actions.add_to_group") : i("consumer_groups.actions.create"));
4579
- }), (j, Y) => {
4580
- const se = q("KButton"), he = q("KBadge"), Ie = q("KTruncate"), He = q("KDropdownItem"), Ut = q("KClipboardProvider"), vr = q("KPrompt");
4581
- return d(), $("div", wl, [
4586
+ }), ($, Y) => {
4587
+ const se = q("KButton"), he = q("KBadge"), Ie = q("KTruncate"), He = q("KDropdownItem"), Ut = q("KClipboardProvider"), br = q("KPrompt");
4588
+ return d(), j("div", _l, [
4582
4589
  E(m(Vs), {
4583
4590
  "cache-identifier": e.cacheIdentifier,
4584
4591
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
@@ -4596,12 +4603,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4596
4603
  "table-headers": m(f),
4597
4604
  "use-action-outside": e.useActionOutside,
4598
4605
  onClearSearchInput: x,
4599
- "onClick:row": Y[3] || (Y[3] = (Q) => D(Q)),
4606
+ "onClick:row": Y[3] || (Y[3] = (Q) => R(Q)),
4600
4607
  onEmptyStateCtaClicked: J,
4601
- onSort: R
4608
+ onSort: V
4602
4609
  }, {
4603
4610
  "toolbar-filter": g(() => [
4604
- u.value ? z("", !0) : (d(), P(m(il), {
4611
+ u.value ? z("", !0) : (d(), P(m(sl), {
4605
4612
  key: 0,
4606
4613
  modelValue: S.value,
4607
4614
  "onUpdate:modelValue": Y[0] || (Y[0] = (Q) => S.value = Q),
@@ -4639,7 +4646,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4639
4646
  }, 8, ["to"]))
4640
4647
  ]),
4641
4648
  name: g(({ rowValue: Q }) => [
4642
- V("b", null, K(Q ?? "-"), 1)
4649
+ D("b", null, K(Q ?? "-"), 1)
4643
4650
  ]),
4644
4651
  consumers_count: g(({ rowValue: Q }) => [
4645
4652
  Z(K(Q ?? "-"), 1)
@@ -4647,7 +4654,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4647
4654
  tags: g(({ rowValue: Q }) => [
4648
4655
  (Q == null ? void 0 : Q.length) > 0 ? (d(), P(Ie, { key: 0 }, {
4649
4656
  default: g(() => [
4650
- (d(!0), $(Ce, null, ve(Q, (Ue) => (d(), P(he, {
4657
+ (d(!0), j(Ce, null, ve(Q, (Ue) => (d(), P(he, {
4651
4658
  key: Ue,
4652
4659
  onClick: Y[2] || (Y[2] = rt(() => {
4653
4660
  }, ["stop"]))
@@ -4659,14 +4666,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4659
4666
  }, 1024))), 128))
4660
4667
  ]),
4661
4668
  _: 2
4662
- }, 1024)) : (d(), $("span", _l, "-"))
4669
+ }, 1024)) : (d(), j("span", Il, "-"))
4663
4670
  ]),
4664
4671
  actions: g(({ row: Q }) => [
4665
4672
  E(Ut, null, {
4666
4673
  default: g(({ copyToClipboard: Ue }) => [
4667
4674
  E(He, {
4668
4675
  "data-testid": "action-entity-copy-id",
4669
- onClick: (br) => G(Q, Ue)
4676
+ onClick: (Cr) => G(Q, Ue)
4670
4677
  }, {
4671
4678
  default: g(() => [
4672
4679
  Z(K(m(i)("consumer_groups.actions.copy_id")), 1)
@@ -4680,7 +4687,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4680
4687
  default: g(({ copyToClipboard: Ue }) => [
4681
4688
  E(He, {
4682
4689
  "data-testid": "action-entity-copy-json",
4683
- onClick: (br) => C(Q, Ue)
4690
+ onClick: (Cr) => C(Q, Ue)
4684
4691
  }, {
4685
4692
  default: g(() => [
4686
4693
  Z(K(m(i)("consumer_groups.actions.copy_json")), 1)
@@ -4734,19 +4741,19 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4734
4741
  ]),
4735
4742
  _: 1
4736
4743
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
4737
- E(m(Hs), {
4744
+ E(m(zs), {
4738
4745
  "action-pending": B.value,
4739
4746
  "data-testid": "delete-consumer-group-modal",
4740
4747
  description: m(i)("consumer_groups.delete.description"),
4741
4748
  "entity-name": T.value && (T.value.name || T.value.id),
4742
- "entity-type": m(Cn).ConsumerGroup,
4749
+ "entity-type": m(kn).ConsumerGroup,
4743
4750
  error: W.value,
4744
4751
  title: m(i)("consumer_groups.delete.title"),
4745
4752
  visible: O.value,
4746
4753
  onCancel: ne,
4747
4754
  onProceed: de
4748
4755
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4749
- e.config.consumerId ? (d(), P(kl, {
4756
+ e.config.consumerId ? (d(), P(wl, {
4750
4757
  key: 0,
4751
4758
  config: e.config,
4752
4759
  "data-testid": "add-to-group-modal",
@@ -4755,42 +4762,42 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4755
4762
  "onAdd:success": Y[5] || (Y[5] = (Q) => ie(Q)),
4756
4763
  onCancel: U
4757
4764
  }, null, 8, ["config", "visible"])) : z("", !0),
4758
- e.config.consumerId && H.value ? (d(), P(vr, {
4765
+ e.config.consumerId && H.value ? (d(), P(br, {
4759
4766
  key: 1,
4760
4767
  "action-button-appearance": "danger",
4761
4768
  "data-testid": "exit-group-modal",
4762
4769
  title: m(i)("consumer_groups.consumers.exit.title"),
4763
4770
  visible: fe.value,
4764
4771
  onCancel: Ke,
4765
- onProceed: hr
4772
+ onProceed: vr
4766
4773
  }, {
4767
4774
  default: g(() => [
4768
4775
  E(m(o), {
4769
4776
  class: "exit-modal-message",
4770
4777
  keypath: e.config.consumerUsername ? "consumer_groups.consumers.exit.confirmation" : "consumer_groups.consumers.exit.confirmationNoUsername",
4771
4778
  tag: "p"
4772
- }, $e({
4779
+ }, je({
4773
4780
  consumerGroup: g(() => [
4774
- V("strong", null, K(H.value.name || H.value.id), 1)
4781
+ D("strong", null, K(H.value.name || H.value.id), 1)
4775
4782
  ]),
4776
4783
  _: 2
4777
4784
  }, [
4778
4785
  e.config.consumerUsername ? {
4779
4786
  name: "consumer",
4780
4787
  fn: g(() => [
4781
- V("strong", null, K(e.config.consumerUsername), 1)
4788
+ D("strong", null, K(e.config.consumerUsername), 1)
4782
4789
  ]),
4783
4790
  key: "0"
4784
4791
  } : void 0
4785
4792
  ]), 1032, ["keypath"]),
4786
- V("p", null, K(m(i)("consumer_groups.consumers.exit.description")), 1)
4793
+ D("p", null, K(m(i)("consumer_groups.consumers.exit.description")), 1)
4787
4794
  ]),
4788
4795
  _: 1
4789
4796
  }, 8, ["title", "visible"])) : z("", !0)
4790
4797
  ]);
4791
4798
  };
4792
4799
  }
4793
- }), Vl = /* @__PURE__ */ Nt(Il, [["__scopeId", "data-v-3624929d"]]), Al = { class: "kong-ui-entities-consumer-group-form" }, Sl = { class: "select-item-container" }, xl = { class: "select-item-label" }, Tl = {
4800
+ }), Vl = /* @__PURE__ */ Nt(Al, [["__scopeId", "data-v-3624929d"]]), Sl = { class: "kong-ui-entities-consumer-group-form" }, xl = { class: "select-item-container" }, Tl = { class: "select-item-label" }, $l = {
4794
4801
  key: 0,
4795
4802
  class: "select-item-description"
4796
4803
  }, jl = /* @__PURE__ */ ae({
@@ -4830,12 +4837,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4830
4837
  error: p,
4831
4838
  loadItems: c,
4832
4839
  results: y
4833
- } = yr(t.config, (de = Me.form[(ne = t.config) == null ? void 0 : ne.app]) == null ? void 0 : de.consumersList, "", {
4840
+ } = hr(t.config, (de = Me.form[(ne = t.config) == null ? void 0 : ne.app]) == null ? void 0 : de.consumersList, "", {
4834
4841
  fetchedItemsKey: "data",
4835
4842
  searchKeys: ["username", "custom_id", "id"]
4836
4843
  }), { axiosInstance: f } = Kt({
4837
4844
  headers: (Le = t.config) == null ? void 0 : Le.requestHeaders
4838
- }), { getMessageFromError: _ } = ml(), h = A(() => y.value.map((k) => ({
4845
+ }), { getMessageFromError: _ } = gl(), h = A(() => y.value.map((k) => ({
4839
4846
  label: k.username || k.custom_id,
4840
4847
  value: k.id,
4841
4848
  selected: a.fields.consumers.includes(k.id),
@@ -4851,7 +4858,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4851
4858
  }, x = () => {
4852
4859
  var k;
4853
4860
  i.push(((k = t.config) == null ? void 0 : k.cancelRoute) || { name: "consumer-group-list" });
4854
- }, R = (k) => {
4861
+ }, V = (k) => {
4855
4862
  r("error", k);
4856
4863
  }, re = (k) => {
4857
4864
  r("loading", k);
@@ -4869,7 +4876,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4869
4876
  T(me);
4870
4877
  }
4871
4878
  Object.assign(s, a.fields);
4872
- }, C = A(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : o("consumer_groups.form.validation_errors.name")), D = A(() => {
4879
+ }, C = A(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : o("consumer_groups.form.validation_errors.name")), R = A(() => {
4873
4880
  var k, U;
4874
4881
  return {
4875
4882
  name: a.fields.name,
@@ -4888,7 +4895,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4888
4895
  }, W = async () => {
4889
4896
  let k = "";
4890
4897
  try {
4891
- const { data: U } = await f.post(v("create"), D.value);
4898
+ const { data: U } = await f.post(v("create"), R.value);
4892
4899
  k = "item" in U ? U.item.id : U.id;
4893
4900
  } catch (U) {
4894
4901
  T(U);
@@ -4905,7 +4912,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4905
4912
  }, ee = async () => {
4906
4913
  var ie;
4907
4914
  try {
4908
- ((ie = t.config) == null ? void 0 : ie.app) === "konnect" ? await f.put(v("edit"), D.value) : await f.patch(v("edit"), D.value);
4915
+ ((ie = t.config) == null ? void 0 : ie.app) === "konnect" ? await f.put(v("edit"), R.value) : await f.patch(v("edit"), R.value);
4909
4916
  } catch (J) {
4910
4917
  T(J);
4911
4918
  }
@@ -4939,17 +4946,17 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4939
4946
  await c();
4940
4947
  }), (k, U) => {
4941
4948
  const ie = q("KInput"), J = q("KMultiselect");
4942
- return d(), $("div", Al, [
4943
- E(m(Fs), {
4949
+ return d(), j("div", Sl, [
4950
+ E(m(Ks), {
4944
4951
  "can-submit": w.value && L.value,
4945
4952
  config: e.config,
4946
4953
  "edit-id": e.consumerGroupId,
4947
4954
  "error-message": a.errorMessage || m(p) || C.value,
4948
4955
  "fetch-url": S.value,
4949
- "form-fields": D.value,
4956
+ "form-fields": R.value,
4950
4957
  "is-readonly": a.readonly,
4951
4958
  onCancel: x,
4952
- "onFetch:error": U[3] || (U[3] = (H) => R(H)),
4959
+ "onFetch:error": U[3] || (U[3] = (H) => V(H)),
4953
4960
  "onFetch:success": G,
4954
4961
  onLoading: U[4] || (U[4] = (H) => re(H)),
4955
4962
  onSubmit: te
@@ -5010,9 +5017,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5010
5017
  "item-template": g(({ item: H }) => {
5011
5018
  var fe, _e, me;
5012
5019
  return [
5013
- V("div", Sl, [
5014
- V("div", xl, K(H.label), 1),
5015
- (fe = H == null ? void 0 : H.data) != null && fe.username && ((_e = H == null ? void 0 : H.data) != null && _e.custom_id) ? (d(), $("div", Tl, K((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5020
+ D("div", xl, [
5021
+ D("div", Tl, K(H.label), 1),
5022
+ (fe = H == null ? void 0 : H.data) != null && fe.username && ((_e = H == null ? void 0 : H.data) != null && _e.custom_id) ? (d(), j("div", $l, K((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5016
5023
  ])
5017
5024
  ];
5018
5025
  }),
@@ -5027,7 +5034,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5027
5034
  ]);
5028
5035
  };
5029
5036
  }
5030
- }), Rl = /* @__PURE__ */ Nt(jl, [["__scopeId", "data-v-89ee41dd"]]), $l = { class: "kong-ui-consumer-group-entity-config-card" }, Dl = /* @__PURE__ */ ae({
5037
+ }), Rl = /* @__PURE__ */ Nt(jl, [["__scopeId", "data-v-89ee41dd"]]), Ml = { class: "kong-ui-consumer-group-entity-config-card" }, Gl = /* @__PURE__ */ ae({
5031
5038
  __name: "ConsumerGroupConfigCard",
5032
5039
  props: {
5033
5040
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5063,8 +5070,8 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5063
5070
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
5064
5071
  }
5065
5072
  });
5066
- return (i, a) => (d(), $("div", $l, [
5067
- E(m($s), {
5073
+ return (i, a) => (d(), j("div", Ml, [
5074
+ E(m(Ms), {
5068
5075
  config: e.config,
5069
5076
  "config-card-doc": e.configCardDoc,
5070
5077
  "config-schema": o.value,
@@ -5080,7 +5087,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5080
5087
  }
5081
5088
  });
5082
5089
  export {
5083
- Dl as ConsumerGroupConfigCard,
5090
+ Gl as ConsumerGroupConfigCard,
5084
5091
  Rl as ConsumerGroupForm,
5085
5092
  Vl as ConsumerGroupList
5086
5093
  };