@kong-ui-public/entities-consumers 2.7.3 → 2.7.4-pr.1252.5bfaafa7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { defineComponent as W, ref as N, computed as $, watch as ye, renderSlot as Q, createCommentVNode as G, unref as m, onBeforeMount as yt, resolveComponent as P, openBlock as g, createBlock as R, createSlots as xe, withCtx as k, createElementVNode as q, createVNode as T, createTextVNode as H, toDisplayString as M, renderList as ce, createElementBlock as O, withModifiers as ct, withDirectives as be, vShow as ke, Fragment as de, normalizeClass as we, withKeys as yr, useSlots as vt, useCssVars as un, inject as vr, onMounted as br, onUnmounted as kr, resolveDynamicComponent as je, normalizeStyle as We, normalizeProps as Cr, guardReactiveProps as wr, mergeProps as Ir, pushScopeId as Ye, popScopeId as Ze, reactive as Bt } from "vue";
1
+ import { defineComponent as W, ref as N, computed as T, watch as ye, renderSlot as Q, createCommentVNode as G, unref as m, onBeforeMount as yt, resolveComponent as U, openBlock as g, createBlock as R, createSlots as Te, withCtx as v, createElementVNode as q, createVNode as $, createTextVNode as H, toDisplayString as M, renderList as ce, createElementBlock as E, withModifiers as ct, withDirectives as be, vShow as ke, Fragment as de, normalizeClass as we, withKeys as yr, useSlots as vt, resolveDynamicComponent as Se, useCssVars as un, inject as vr, onMounted as br, onUnmounted as kr, normalizeStyle as We, normalizeProps as Cr, guardReactiveProps as wr, mergeProps as Ir, pushScopeId as Ye, popScopeId as Ze, reactive as Lt } from "vue";
2
2
  import { useRouter as bt } from "vue-router";
3
3
  import { createI18n as cn, i18nTComponent as dn } from "@kong-ui-public/i18n";
4
- import Lt from "axios";
4
+ import Bt from "axios";
5
5
  import { BadgeMethodAppearances as _r } from "@kong/kongponents";
6
- const Ar = {
6
+ const Sr = {
7
7
  list: {
8
8
  table_headers: {
9
9
  username: "Username",
@@ -98,11 +98,11 @@ const Ar = {
98
98
  tooltip: "An optional set of strings associated with the Consumer for grouping and filtering."
99
99
  }
100
100
  }
101
- }, Sr = {
102
- consumers: Ar
101
+ }, Ar = {
102
+ consumers: Sr
103
103
  };
104
104
  function xr() {
105
- const e = cn("en-us", Sr);
105
+ const e = cn("en-us", Ar);
106
106
  return {
107
107
  i18n: e,
108
108
  i18nT: dn(e)
@@ -111,7 +111,7 @@ function xr() {
111
111
  }
112
112
  const Qe = {
113
113
  useI18n: xr
114
- }, ot = "/api/runtime_groups/{controlPlaneId}", Me = "/{workspace}", $e = {
114
+ }, it = "/api/runtime_groups/{controlPlaneId}", Me = "/{workspace}", je = {
115
115
  list: {
116
116
  konnect: {
117
117
  all: "/v2/control-planes/{controlPlaneId}/core-entities/consumers",
@@ -126,9 +126,9 @@ const Qe = {
126
126
  },
127
127
  form: {
128
128
  konnect: {
129
- validate: `${ot}/v1/schemas/json/consumer/validate`,
130
- create: `${ot}/consumers`,
131
- edit: `${ot}/consumers/{id}`
129
+ validate: `${it}/v1/schemas/json/consumer/validate`,
130
+ create: `${it}/consumers`,
131
+ edit: `${it}/consumers/{id}`
132
132
  },
133
133
  kongManager: {
134
134
  validate: `${Me}/schemas/consumers/validate`,
@@ -138,18 +138,18 @@ const Qe = {
138
138
  }
139
139
  };
140
140
  var pn = /* @__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))(pn || {}), dt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(dt || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ae || {}), Y = /* @__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))(Y || {}), se = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(se || {});
141
- function $r() {
141
+ function Tr() {
142
142
  return {
143
143
  getAxiosInstance: (e = {}) => {
144
144
  try {
145
145
  const n = vr("get-axios-instance", void 0);
146
- return typeof n == "function" ? n(e) : Lt.create({
146
+ return typeof n == "function" ? n(e) : Bt.create({
147
147
  withCredentials: !0,
148
148
  timeout: 3e4,
149
149
  ...e
150
150
  });
151
151
  } catch (n) {
152
- return console.warn("getAxiosInstance:", n.message || n), Lt.create({
152
+ return console.warn("getAxiosInstance:", n.message || n), Bt.create({
153
153
  withCredentials: !0,
154
154
  timeout: 3e4,
155
155
  ...e
@@ -174,7 +174,7 @@ function jr() {
174
174
  }
175
175
  };
176
176
  }
177
- const it = "khcp-user-table-preferences", Tr = {
177
+ const ot = "khcp-user-table-preferences", $r = {
178
178
  pageSize: 30,
179
179
  sortColumnKey: void 0,
180
180
  sortColumnOrder: void 0
@@ -189,29 +189,29 @@ function Mr() {
189
189
  return;
190
190
  }
191
191
  }, n = () => {
192
- const t = e(localStorage.getItem(it));
192
+ const t = e(localStorage.getItem(ot));
193
193
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
194
194
  };
195
195
  return {
196
196
  setTablePreferences: (t, r) => {
197
197
  try {
198
198
  const a = n();
199
- a.set(t, r), localStorage.setItem(it, JSON.stringify(Object.fromEntries(a.entries())));
199
+ a.set(t, r), localStorage.setItem(ot, JSON.stringify(Object.fromEntries(a.entries())));
200
200
  } catch (a) {
201
201
  console.error("useTablePreferences(setTablePreferences)", a);
202
202
  }
203
203
  },
204
204
  getTablePreferences: (t) => {
205
205
  const r = n();
206
- return (r == null ? void 0 : r.get(t)) || void 0 || Tr;
206
+ return (r == null ? void 0 : r.get(t)) || void 0 || $r;
207
207
  },
208
208
  deleteAllTablePreferences: () => {
209
- localStorage.removeItem(it);
209
+ localStorage.removeItem(ot);
210
210
  }
211
211
  };
212
212
  }
213
213
  function kt(e = {}) {
214
- const { getAxiosInstance: n } = $r();
214
+ const { getAxiosInstance: n } = Tr();
215
215
  return {
216
216
  axiosInstance: n(e)
217
217
  };
@@ -291,15 +291,15 @@ const Or = {
291
291
  applyButtonText: "Apply",
292
292
  clearButtonText: "Clear",
293
293
  clearAllButtonText: "Clear all filters"
294
- }, Br = {
294
+ }, Lr = {
295
295
  errors: {
296
296
  fetch: "Could not fetch available items",
297
297
  invalid: "Please select a valid value"
298
298
  }
299
- }, Lr = {
299
+ }, Br = {
300
300
  unexpected: "An unexpected error has occurred",
301
301
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
302
- }, Ur = {
302
+ }, Pr = {
303
303
  enable: {
304
304
  title: "Enable {entityType}",
305
305
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -310,19 +310,19 @@ const Or = {
310
310
  message: "Are you sure you want to disable the {entityType} {entityName}?",
311
311
  confirmText: "Yes, disable"
312
312
  }
313
- }, Pr = {
313
+ }, Ur = {
314
314
  global: Or,
315
315
  deleteModal: Er,
316
316
  baseForm: Nr,
317
317
  baseTable: Fr,
318
318
  baseConfigCard: qr,
319
319
  filter: Kr,
320
- debouncedFilter: Br,
321
- errors: Lr,
322
- toggleModal: Ur
320
+ debouncedFilter: Lr,
321
+ errors: Br,
322
+ toggleModal: Pr
323
323
  };
324
324
  function Ct() {
325
- const e = cn("en-us", Pr);
325
+ const e = cn("en-us", Ur);
326
326
  return {
327
327
  i18n: e,
328
328
  i18nT: dn(e)
@@ -334,9 +334,9 @@ function fn() {
334
334
  if (t.length !== r.length)
335
335
  return !1;
336
336
  const a = /* @__PURE__ */ new Set([...t, ...r]);
337
- for (const o of a) {
338
- const i = t.filter((s) => s === o).length, l = r.filter((s) => s === o).length;
339
- if (i !== l)
337
+ for (const i of a) {
338
+ const o = t.filter((s) => s === i).length, l = r.filter((s) => s === i).length;
339
+ if (o !== l)
340
340
  return !1;
341
341
  }
342
342
  return !0;
@@ -346,13 +346,13 @@ function fn() {
346
346
  objectsAreEqual: (t, r, a) => {
347
347
  if (a) {
348
348
  if (Object.keys(t).length === Object.keys(r).length)
349
- for (const o in t)
350
- if (Array.isArray(t[o]) && Array.isArray(r[o])) {
351
- if (n(t[o], r[o]))
349
+ for (const i in t)
350
+ if (Array.isArray(t[i]) && Array.isArray(r[i])) {
351
+ if (n(t[i], r[i]))
352
352
  continue;
353
353
  return !1;
354
354
  } else {
355
- if (t[o] === r[o])
355
+ if (t[i] === r[i])
356
356
  continue;
357
357
  return !1;
358
358
  }
@@ -367,8 +367,8 @@ function fn() {
367
367
  }
368
368
  },
369
369
  sortAlpha: (t) => (r, a) => {
370
- let o = r[t] === void 0 || r[t] === null ? "" : r[t], i = a[t] === void 0 || a[t] === null ? "" : a[t];
371
- return Array.isArray(r[t]) && (o = r[t][0]), Array.isArray(a[t]) && (i = a[t][0]), o.localeCompare(i);
370
+ let i = r[t] === void 0 || r[t] === null ? "" : r[t], o = a[t] === void 0 || a[t] === null ? "" : a[t];
371
+ return Array.isArray(r[t]) && (i = r[t][0]), Array.isArray(a[t]) && (o = a[t][0]), i.localeCompare(o);
372
372
  },
373
373
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
374
374
  };
@@ -380,66 +380,66 @@ function Rr(e, n, t, r = {
380
380
  t || (t = "1000");
381
381
  const { axiosInstance: a } = kt({
382
382
  headers: e.requestHeaders
383
- }), { i18n: { t: o } } = Ct(), { debounce: i } = jr(), l = i(async (v) => {
384
- await Z(v);
383
+ }), { i18n: { t: i } } = Ct(), { debounce: o } = jr(), l = o(async (b) => {
384
+ await Z(b);
385
385
  }, 200), s = N(!1), u = N(""), d = N(""), c = N([]), h = N([]), f = N(void 0), _ = m(n);
386
386
  let w = `${e.apiBaseUrl}${_}`;
387
387
  e.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
388
- const { isValidUuid: A } = fn(), U = async () => {
388
+ const { isValidUuid: S } = fn(), P = async () => {
389
389
  try {
390
390
  s.value = !0;
391
- const { data: v } = await a.get(`${w}?size=${t}`);
392
- v != null && v.next || (f.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : []), h.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : [], c.value = h.value;
391
+ const { data: b } = await a.get(`${w}?size=${t}`);
392
+ b != null && b.next || (f.value = r.fetchedItemsKey in b ? b[r.fetchedItemsKey] : []), h.value = r.fetchedItemsKey in b ? b[r.fetchedItemsKey] : [], c.value = h.value;
393
393
  } catch {
394
- c.value = [], u.value = o("debouncedFilter.errors.fetch");
394
+ c.value = [], u.value = i("debouncedFilter.errors.fetch");
395
395
  } finally {
396
396
  s.value = !1;
397
397
  }
398
- }, B = N(""), Z = async (v) => {
398
+ }, L = N(""), Z = async (b) => {
399
399
  var y, p, C;
400
- if (B.value !== v)
401
- if (B.value = v || "", f.value === void 0)
400
+ if (L.value !== b)
401
+ if (L.value = b || "", f.value === void 0)
402
402
  try {
403
403
  if (s.value = !0, u.value = "", d.value = "", e.app === "konnect") {
404
- let b = w + "";
405
- v && (b += `/${v}`);
406
- const { data: I } = await a.get(`${b}?size=${t}`);
404
+ let k = w + "";
405
+ b && (k += `/${b}`);
406
+ const { data: I } = await a.get(`${k}?size=${t}`);
407
407
  r.fetchedItemsKey in I ? c.value = I[r.fetchedItemsKey] : I != null && I.id ? c.value = [I] : c.value = [];
408
- } else if (v) {
409
- const b = [];
410
- A(v) && r.searchKeys.includes("id") ? b.push((async () => {
411
- const { data: S } = await a.get(`${w}/${v}`);
412
- return [S[r.fetchedItemsKey] ?? S];
413
- })()) : b.push(
414
- ...r.searchKeys.filter((S) => S !== "id").map(async (S) => {
415
- const { data: F } = await a.get(`${w}?${S}=${v}`);
408
+ } else if (b) {
409
+ const k = [];
410
+ S(b) && r.searchKeys.includes("id") ? k.push((async () => {
411
+ const { data: A } = await a.get(`${w}/${b}`);
412
+ return [A[r.fetchedItemsKey] ?? A];
413
+ })()) : k.push(
414
+ ...r.searchKeys.filter((A) => A !== "id").map(async (A) => {
415
+ const { data: F } = await a.get(`${w}?${A}=${b}`);
416
416
  return F[r.fetchedItemsKey];
417
417
  })
418
418
  );
419
- const I = await Promise.all(b), L = /* @__PURE__ */ new Set();
420
- c.value = [], (y = I == null ? void 0 : I.forEach) == null || y.call(I, (S) => {
419
+ const I = await Promise.all(k), B = /* @__PURE__ */ new Set();
420
+ c.value = [], (y = I == null ? void 0 : I.forEach) == null || y.call(I, (A) => {
421
421
  var F;
422
- (F = S == null ? void 0 : S.forEach) == null || F.call(S, (x) => {
423
- L.has(x.id) || (L.add(x.id), c.value.push(x));
422
+ (F = A == null ? void 0 : A.forEach) == null || F.call(A, (x) => {
423
+ B.has(x.id) || (B.add(x.id), c.value.push(x));
424
424
  });
425
425
  });
426
426
  } else
427
427
  c.value = h.value;
428
- } catch (b) {
429
- ((p = b == null ? void 0 : b.response) == null ? void 0 : p.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (c.value = [], u.value = o("debouncedFilter.errors.fetch"));
428
+ } catch (k) {
429
+ ((p = k == null ? void 0 : k.response) == null ? void 0 : p.status) === 404 ? d.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
430
430
  } finally {
431
431
  s.value = !1;
432
432
  }
433
433
  else
434
- s.value = !0, d.value = "", v ? (c.value = (C = f.value) == null ? void 0 : C.filter((b) => {
434
+ s.value = !0, d.value = "", b ? (c.value = (C = f.value) == null ? void 0 : C.filter((k) => {
435
435
  var I;
436
- let L = !1;
437
- for (const S of r.searchKeys) {
438
- const F = typeof b[S] == "string" ? (I = b[S]) == null ? void 0 : I.toLowerCase() : b[S];
439
- F != null && F.includes(v.toLowerCase()) && (L = !0);
436
+ let B = !1;
437
+ for (const A of r.searchKeys) {
438
+ const F = typeof k[A] == "string" ? (I = k[A]) == null ? void 0 : I.toLowerCase() : k[A];
439
+ F != null && F.includes(b.toLowerCase()) && (B = !0);
440
440
  }
441
- return L;
442
- }), (!c.value || !c.value.length) && (d.value = o("debouncedFilter.errors.invalid"))) : c.value = f.value, s.value = !1;
441
+ return B;
442
+ }), (!c.value || !c.value.length) && (d.value = i("debouncedFilter.errors.invalid"))) : c.value = f.value, s.value = !1;
443
443
  };
444
444
  return {
445
445
  loading: s,
@@ -447,12 +447,12 @@ function Rr(e, n, t, r = {
447
447
  validationError: d,
448
448
  results: c,
449
449
  allRecords: f,
450
- loadItems: U,
450
+ loadItems: P,
451
451
  debouncedQueryChange: l
452
452
  };
453
453
  }
454
454
  function Vr(e, n) {
455
- const t = m(n), r = $(
455
+ const t = m(n), r = T(
456
456
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
457
457
  );
458
458
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
@@ -461,7 +461,7 @@ function Dr() {
461
461
  const { i18n: { t: e } } = Ct();
462
462
  return {
463
463
  getMessageFromError: (n) => {
464
- var t, r, a, o;
464
+ var t, r, a, i;
465
465
  if (!n)
466
466
  return e("errors.unexpected");
467
467
  if (((t = n == null ? void 0 : n.response) == null ? void 0 : t.status) === 401)
@@ -470,18 +470,18 @@ function Dr() {
470
470
  if (n.response.data.detail)
471
471
  return n.response.data.detail;
472
472
  if ((a = n.response.data.details) != null && a.length)
473
- return n.response.data.details.map((i) => {
473
+ return n.response.data.details.map((o) => {
474
474
  let l = e("errors.unexpected");
475
- return i.messages && typeof i.messages == "object" && i.messages.length && (l = i.messages.join(", ")), i.field ? `${i.field} - ${l}` : l;
475
+ return o.messages && typeof o.messages == "object" && o.messages.length && (l = o.messages.join(", ")), o.field ? `${o.field} - ${l}` : l;
476
476
  }).join("; ");
477
477
  if (n.response.data.message) {
478
- const { message: i } = n.response.data;
479
- return Array.isArray(i) ? (o = i[0]) != null && o.constraints ? Object.values(i[0].constraints)[0] : i[0] : i;
478
+ const { message: o } = n.response.data;
479
+ return Array.isArray(o) ? (i = o[0]) != null && i.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
480
480
  }
481
481
  if (typeof n.response.data == "string")
482
482
  return n.response.data;
483
483
  if (typeof n.response.data == "object")
484
- return Object.keys(n.response.data).map((i) => `${i} ${n.response.data[i]}`).join(", ");
484
+ return Object.keys(n.response.data).map((o) => `${o} ${n.response.data[o]}`).join(", ");
485
485
  }
486
486
  return n.message || e("errors.unexpected");
487
487
  }
@@ -490,8 +490,8 @@ function Dr() {
490
490
  function zr(e) {
491
491
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
492
492
  try {
493
- const r = e.join("/"), a = `${t}${r}`, o = e.some((i) => i.trim() === "");
494
- if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a) && !o && new URL(a))
493
+ const r = e.join("/"), a = `${t}${r}`, i = e.some((o) => o.trim() === "");
494
+ if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a) && !i && new URL(a))
495
495
  return `${t}${r}`;
496
496
  throw new Error("Invalid url");
497
497
  } catch (r) {
@@ -499,15 +499,15 @@ function zr(e) {
499
499
  }
500
500
  }
501
501
  function mn(e, n) {
502
- const t = N(m(e)), r = N(m(n)), a = $(
502
+ const t = N(m(e)), r = N(m(n)), a = T(
503
503
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
504
- ), o = $(
504
+ ), i = T(
505
505
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
506
506
  );
507
- return (i) => {
508
- const { page: l, pageSize: s, offset: u, sortColumnKey: d, sortColumnOrder: c, query: h } = i;
507
+ return (o) => {
508
+ const { page: l, pageSize: s, offset: u, sortColumnKey: d, sortColumnOrder: c, query: h } = o;
509
509
  try {
510
- let f = new URL(o.value.href);
510
+ let f = new URL(i.value.href);
511
511
  return a.value && h ? (f.search = "", f = t.value.isExactMatch ? new URL(`${f.href}/${h}/`) : new URL(`${f.href}?filter[name][contains]=${h}`)) : (a.value || new URLSearchParams(h).forEach((_, w) => {
512
512
  f.searchParams.append(w, _);
513
513
  }), d && f.searchParams.append("sort_by", d), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), u && l !== 1 && f.searchParams.append("offset", String(u)), f.href;
@@ -518,19 +518,19 @@ function mn(e, n) {
518
518
  }
519
519
  function Gr(e, n, t = "data") {
520
520
  var r;
521
- const a = m(n), { axiosInstance: o } = kt({
521
+ const a = m(n), { axiosInstance: i } = kt({
522
522
  ...e.axiosRequestConfig,
523
523
  headers: { ...(r = e.axiosRequestConfig) == null ? void 0 : r.headers, ...e.requestHeaders }
524
- }), i = mn(e, a), l = N({
524
+ }), o = mn(e, a), l = N({
525
525
  status: Ae.Idle
526
526
  });
527
527
  return { fetcher: async (s) => {
528
528
  var u;
529
529
  try {
530
530
  l.value = { status: Ae.Loading };
531
- let d = i(s);
531
+ let d = o(s);
532
532
  d.includes("filter[name]") && (d = `${d}&page[size]=${s.pageSize}&page[number]=${s.page}`);
533
- const c = await o.get(d);
533
+ const c = await i.get(d);
534
534
  if (c.status >= 400)
535
535
  throw c;
536
536
  const h = c.data, f = t && t.replace(/[^\w-_]/gi, "");
@@ -573,18 +573,18 @@ function Hr() {
573
573
  convertKeyToTitle: e
574
574
  };
575
575
  }
576
- const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Ut = (e) => {
576
+ const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Pt = (e) => {
577
577
  if (typeof e != "string")
578
578
  throw new TypeError("Invalid argument expected string");
579
579
  const n = e.match(gn);
580
580
  if (!n)
581
581
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
582
582
  return n.shift(), n;
583
- }, Pt = (e) => e === "*" || e === "x" || e === "X", Rt = (e) => {
583
+ }, Ut = (e) => e === "*" || e === "x" || e === "X", Rt = (e) => {
584
584
  const n = parseInt(e, 10);
585
585
  return isNaN(n) ? e : n;
586
586
  }, Jr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Wr = (e, n) => {
587
- if (Pt(e) || Pt(n))
587
+ if (Ut(e) || Ut(n))
588
588
  return 0;
589
589
  const [t, r] = Jr(Rt(e), Rt(n));
590
590
  return t > r ? 1 : t < r ? -1 : 0;
@@ -596,8 +596,8 @@ const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
596
596
  }
597
597
  return 0;
598
598
  }, Yr = (e, n) => {
599
- const t = Ut(e), r = Ut(n), a = t.pop(), o = r.pop(), i = Vt(t, r);
600
- return i !== 0 ? i : a && o ? Vt(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
599
+ const t = Pt(e), r = Pt(n), a = t.pop(), i = r.pop(), o = Vt(t, r);
600
+ return o !== 0 ? o : a && i ? Vt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
601
601
  }, Dt = (e, n, t) => {
602
602
  Zr(t);
603
603
  const r = Yr(e, n);
@@ -622,18 +622,18 @@ function Xr(e) {
622
622
  const { edition: r, version: a } = n;
623
623
  if (!Qr(a))
624
624
  return console.error("Invalid version"), !1;
625
- const o = t[r];
626
- if (!o)
625
+ const i = t[r];
626
+ if (!i)
627
627
  return !1;
628
- const [i, l] = o;
629
- return !(i && Dt(a, i, "<") || l && Dt(a, l, ">"));
628
+ const [o, l] = i;
629
+ return !(o && Dt(a, o, "<") || l && Dt(a, l, ">"));
630
630
  }
631
631
  function ea(e) {
632
632
  const n = N(0), t = N(0), r = N(!1);
633
633
  return ye(e, (a) => {
634
634
  a && !r.value && (n.value = a.offsetWidth, t.value = a.scrollWidth, r.value = !0);
635
635
  }), {
636
- isTruncated: $(() => n.value < t.value)
636
+ isTruncated: T(() => n.value < t.value)
637
637
  };
638
638
  }
639
639
  const ne = {
@@ -669,26 +669,26 @@ const ne = {
669
669
  }
670
670
  },
671
671
  setup(e) {
672
- const n = e, { i18n: { t } } = ne.useI18n(), { convertKeyToTitle: r } = ne.useStringHelpers(), a = $(() => n.item.key ?? "json-array-item"), o = $(() => n.item.value ?? n.item), i = $(() => {
673
- const s = JSON.parse(JSON.stringify(o.value));
672
+ const n = e, { i18n: { t } } = ne.useI18n(), { convertKeyToTitle: r } = ne.useStringHelpers(), a = T(() => n.item.key ?? "json-array-item"), i = T(() => n.item.value ?? n.item), o = T(() => {
673
+ const s = JSON.parse(JSON.stringify(i.value));
674
674
  return n.isArrayItem && delete s.name, s;
675
- }), l = $(() => {
675
+ }), l = T(() => {
676
676
  var s;
677
- return n.isArrayItem ? (s = o.value) != null && s.name ? r(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
677
+ return n.isArrayItem ? (s = i.value) != null && s.name ? r(i.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
678
678
  });
679
- return (s, u) => (g(), R(je(e.isArrayItem ? "fieldset" : "div"), {
679
+ return (s, u) => (g(), R(Se(e.isArrayItem ? "fieldset" : "div"), {
680
680
  class: we(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
681
681
  }, {
682
- default: k(() => [
683
- e.isArrayItem ? (g(), O("legend", ta, [
682
+ default: v(() => [
683
+ e.isArrayItem ? (g(), E("legend", ta, [
684
684
  q("b", null, M(l.value), 1)
685
685
  ])) : G("", !0),
686
- (g(!0), O(de, null, ce(Object.keys(i.value), (d, c) => (g(), R(vn, {
686
+ (g(!0), E(de, null, ce(Object.keys(o.value), (d, c) => (g(), R(vn, {
687
687
  key: `${a.value}-property-${c}`,
688
688
  item: {
689
689
  key: d,
690
690
  label: m(r)(d),
691
- value: i.value[d]
691
+ value: o.value[d]
692
692
  }
693
693
  }, null, 8, ["item"]))), 128))
694
694
  ]),
@@ -712,14 +712,14 @@ const ne = {
712
712
  setup(e) {
713
713
  const { i18n: { t: n } } = ne.useI18n();
714
714
  return (t, r) => {
715
- const a = P("KButton");
716
- return g(), O("div", null, [
717
- T(a, {
715
+ const a = U("KButton");
716
+ return g(), E("div", null, [
717
+ $(a, {
718
718
  appearance: "tertiary",
719
719
  class: "navigation-button",
720
- onClick: r[0] || (r[0] = (o) => t.$emit("navigation-click", e.item))
720
+ onClick: r[0] || (r[0] = (i) => t.$emit("navigation-click", e.item))
721
721
  }, {
722
- default: k(() => [
722
+ default: v(() => [
723
723
  H(M(e.item.value || m(n)("baseConfigCard.commonFields.link")), 1)
724
724
  ]),
725
725
  _: 1
@@ -727,7 +727,7 @@ const ne = {
727
727
  ]);
728
728
  };
729
729
  }
730
- }), aa = /* @__PURE__ */ pe(ra, [["__scopeId", "data-v-c96811e5"]]), oa = /* @__PURE__ */ W({
730
+ }), aa = /* @__PURE__ */ pe(ra, [["__scopeId", "data-v-c96811e5"]]), ia = /* @__PURE__ */ W({
731
731
  __name: "StatusBadge",
732
732
  props: {
733
733
  status: {
@@ -738,20 +738,20 @@ const ne = {
738
738
  setup(e) {
739
739
  const { i18n: { t: n } } = ne.useI18n();
740
740
  return (t, r) => {
741
- const a = P("KBadge");
741
+ const a = U("KBadge");
742
742
  return g(), R(a, {
743
743
  appearance: e.status ? "success" : "neutral"
744
744
  }, {
745
- default: k(() => [
745
+ default: v(() => [
746
746
  H(M(e.status ? m(n)("baseConfigCard.statusBadge.enabledLabel") : m(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
747
747
  ]),
748
748
  _: 1
749
749
  }, 8, ["appearance"]);
750
750
  };
751
751
  }
752
- }), ia = "#0044f4", la = "#e0e4ea", sa = "#3a3f51", ua = "#afb7c5", ca = "1px", da = "20px", pa = { class: "config-card-details-row" }, fa = ["data-testid"], ma = ["data-testid"], ga = ["data-testid"], ha = ["data-testid"], ya = { key: 1 }, va = ["data-testid"], ba = ["data-testid"], ka = ["data-testid"], Ca = ["data-testid"], wa = {
752
+ }), oa = "#0044f4", la = "#e0e4ea", sa = "#3a3f51", ua = "#afb7c5", ca = "1px", da = "20px", pa = { class: "config-card-details-row" }, fa = ["data-testid"], ma = ["data-testid"], ga = ["data-testid"], ha = ["data-testid"], ya = { key: 1 }, va = ["data-testid"], ba = ["data-testid"], ka = ["data-testid"], Ca = ["data-testid"], wa = {
753
753
  name: "ConfigCardItem",
754
- components: { JsonCardItem: yn, StatusBadge: oa, InternalLinkItem: aa }
754
+ components: { JsonCardItem: yn, StatusBadge: ia, InternalLinkItem: aa }
755
755
  }, Ia = /* @__PURE__ */ W({
756
756
  ...wa,
757
757
  props: {
@@ -778,14 +778,14 @@ const ne = {
778
778
  "5036b738": u.value && l.value ? "100%" : t.slim ? "50%" : "25%",
779
779
  "5038fd13": u.value && l.value ? "100%" : t.slim ? "50%" : "75%"
780
780
  }));
781
- const t = e, r = n, a = vt(), { i18n: { t: o, formatUnixTimeStamp: i } } = ne.useI18n(), l = $(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = $(() => !!(t.item.tooltip || a["label-tooltip"])), u = $(() => t.item.type === Y.Json || t.item.type === Y.JsonArray), d = $(() => t.item.type === Y.JsonArray), c = $(() => {
781
+ const t = e, r = n, a = vt(), { i18n: { t: i, formatUnixTimeStamp: o } } = ne.useI18n(), l = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = T(() => !!(t.item.tooltip || a["label-tooltip"])), u = T(() => t.item.type === Y.Json || t.item.type === Y.JsonArray), d = T(() => t.item.type === Y.JsonArray), c = T(() => {
782
782
  switch (t.item.type) {
783
783
  case Y.ID:
784
784
  return {
785
785
  tag: "KCopy",
786
786
  attrs: {
787
787
  "data-testid": `${t.item.key}-copy-uuid`,
788
- "copy-tooltip": o("baseConfigCard.copy.tooltip", { label: t.item.label }),
788
+ "copy-tooltip": i("baseConfigCard.copy.tooltip", { label: t.item.label }),
789
789
  text: t.item.value
790
790
  }
791
791
  };
@@ -794,7 +794,7 @@ const ne = {
794
794
  tag: "div",
795
795
  additionalComponent: "KCopy",
796
796
  childAttrs: {
797
- "copy-tooltip": o("baseConfigCard.copy.tooltip", { label: t.item.label })
797
+ "copy-tooltip": i("baseConfigCard.copy.tooltip", { label: t.item.label })
798
798
  }
799
799
  };
800
800
  case Y.Redacted:
@@ -803,7 +803,7 @@ const ne = {
803
803
  attrs: {
804
804
  "data-testid": `${t.item.key}-copy-uuid-redacted`,
805
805
  format: "redacted",
806
- "copy-tooltip": o("baseConfigCard.copy.tooltip", { label: t.item.label }),
806
+ "copy-tooltip": i("baseConfigCard.copy.tooltip", { label: t.item.label }),
807
807
  text: t.item.value
808
808
  }
809
809
  };
@@ -813,7 +813,7 @@ const ne = {
813
813
  additionalComponent: "KCopy",
814
814
  childAttrs: {
815
815
  format: "redacted",
816
- "copy-tooltip": o("baseConfigCard.copy.tooltip", { label: t.item.label })
816
+ "copy-tooltip": i("baseConfigCard.copy.tooltip", { label: t.item.label })
817
817
  }
818
818
  };
819
819
  case Y.Date:
@@ -822,7 +822,7 @@ const ne = {
822
822
  attrs: {
823
823
  "data-testid": `${t.item.key}-date`
824
824
  },
825
- text: i(t.item.value)
825
+ text: o(t.item.value)
826
826
  };
827
827
  case Y.BadgeStatus:
828
828
  return {
@@ -890,22 +890,22 @@ const ne = {
890
890
  }
891
891
  }), h = N(), { isTruncated: f } = ne.useTruncationDetector(h);
892
892
  return (_, w) => {
893
- const A = P("KLabel"), U = P("KBadge"), B = P("KCopy"), Z = P("KTooltip");
894
- return g(), O("div", pa, [
893
+ const S = U("KLabel"), P = U("KBadge"), L = U("KCopy"), Z = U("KTooltip");
894
+ return g(), E("div", pa, [
895
895
  q("div", {
896
896
  class: "config-card-details-label",
897
897
  "data-testid": `${e.item.key}-label`
898
898
  }, [
899
899
  Q(_.$slots, "label", { item: e.item }, () => [
900
- T(A, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
901
- default: k(() => [
900
+ $(S, { "tooltip-attributes": { maxWidth: "500px" } }, Te({
901
+ default: v(() => [
902
902
  H(M(e.item.label) + " ", 1)
903
903
  ]),
904
904
  _: 2
905
905
  }, [
906
906
  s.value ? {
907
907
  name: "tooltip",
908
- fn: k(() => [
908
+ fn: v(() => [
909
909
  q("div", {
910
910
  "data-testid": `${e.item.key}-label-tooltip`
911
911
  }, [
@@ -926,68 +926,68 @@ const ne = {
926
926
  Q(_.$slots, e.item.key, {
927
927
  rowValue: e.item.value
928
928
  }, () => [
929
- l.value ? (g(), O("div", ya, [
930
- (g(), R(je(c.value.tag), Cr(wr(c.value.attrs)), {
931
- default: k(() => [
932
- c.value.additionalComponent === "KBadge" ? (g(), O("div", {
929
+ l.value ? (g(), E("div", ya, [
930
+ (g(), R(Se(c.value.tag), Cr(wr(c.value.attrs)), {
931
+ default: v(() => [
932
+ c.value.additionalComponent === "KBadge" ? (g(), E("div", {
933
933
  key: 0,
934
934
  "data-testid": `${e.item.key}-badge-tags`
935
935
  }, [
936
- (g(!0), O(de, null, ce(e.item.value, (v, y) => (g(), R(U, {
936
+ (g(!0), E(de, null, ce(e.item.value, (b, y) => (g(), R(P, {
937
937
  key: `${e.item.key}-badge-tag-${y}`,
938
938
  class: "config-badge",
939
939
  "data-testid": `${e.item.key}-badge-tag-${y}`,
940
- tooltip: v,
940
+ tooltip: b,
941
941
  "truncation-tooltip": ""
942
942
  }, {
943
- default: k(() => [
944
- H(M(v), 1)
943
+ default: v(() => [
944
+ H(M(b), 1)
945
945
  ]),
946
946
  _: 2
947
947
  }, 1032, ["data-testid", "tooltip"]))), 128))
948
948
  ], 8, va)) : G("", !0),
949
- c.value.additionalComponent === "KCopy" ? (g(), O("div", {
949
+ c.value.additionalComponent === "KCopy" ? (g(), E("div", {
950
950
  key: 1,
951
951
  class: "copy-uuid-array",
952
952
  "data-testid": `${e.item.key}-copy-uuid-array`
953
953
  }, [
954
- (g(!0), O(de, null, ce(e.item.value, (v, y) => (g(), R(B, Ir(c.value.childAttrs, {
954
+ (g(!0), E(de, null, ce(e.item.value, (b, y) => (g(), R(L, Ir(c.value.childAttrs, {
955
955
  key: `${e.item.key}-copy-uuid-${y}`,
956
956
  "data-testid": `${e.item.key}-copy-uuid-${y}`,
957
- text: v
957
+ text: b
958
958
  }), null, 16, ["data-testid", "text"]))), 128))
959
- ], 8, ba)) : c.value.additionalComponent === "KMethodBadge" ? (g(), O("div", {
959
+ ], 8, ba)) : c.value.additionalComponent === "KMethodBadge" ? (g(), E("div", {
960
960
  key: 2,
961
961
  class: "method-badge-array",
962
962
  "data-testid": `${e.item.key}-badge-methods`
963
963
  }, [
964
- (g(!0), O(de, null, ce(e.item.value, (v, y) => (g(), R(U, {
964
+ (g(!0), E(de, null, ce(e.item.value, (b, y) => (g(), R(P, {
965
965
  key: `${e.item.key}-badge-method-${y}`,
966
- appearance: Object.values(m(_r)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
966
+ appearance: Object.values(m(_r)).includes(b.toLowerCase()) ? b.toLowerCase() : "custom",
967
967
  class: "config-badge",
968
968
  "data-testid": `${e.item.key}-badge-method-${y}`
969
969
  }, {
970
- default: k(() => [
971
- H(M(v), 1)
970
+ default: v(() => [
971
+ H(M(b), 1)
972
972
  ]),
973
973
  _: 2
974
974
  }, 1032, ["appearance", "data-testid"]))), 128))
975
975
  ], 8, ka)) : G("", !0),
976
- c.value.additionalComponent === "JsonCardItem" ? (g(), O("div", {
976
+ c.value.additionalComponent === "JsonCardItem" ? (g(), E("div", {
977
977
  key: 3,
978
978
  "data-testid": `${t.item.key}-json-array-content`
979
979
  }, [
980
- (g(!0), O(de, null, ce(e.item.value, (v, y) => (g(), R(yn, {
980
+ (g(!0), E(de, null, ce(e.item.value, (b, y) => (g(), R(yn, {
981
981
  key: `json-array-item-${y}`,
982
982
  index: y,
983
983
  "is-array-item": "",
984
- item: v
984
+ item: b
985
985
  }, null, 8, ["index", "item"]))), 128))
986
986
  ], 8, Ca)) : (g(), R(Z, {
987
987
  key: 4,
988
988
  text: m(f) ? e.item.value : ""
989
989
  }, {
990
- default: k(() => [
990
+ default: v(() => [
991
991
  q("span", {
992
992
  ref_key: "textContent",
993
993
  ref: h,
@@ -999,7 +999,7 @@ const ne = {
999
999
  ]),
1000
1000
  _: 1
1001
1001
  }, 16))
1002
- ])) : (g(), O("div", {
1002
+ ])) : (g(), E("div", {
1003
1003
  key: 0,
1004
1004
  "data-testid": `${e.item.key}-no-value`
1005
1005
  }, " – ", 8, ha))
@@ -1008,7 +1008,7 @@ const ne = {
1008
1008
  ]);
1009
1009
  };
1010
1010
  }
1011
- }), vn = /* @__PURE__ */ pe(Ia, [["__scopeId", "data-v-d056663c"]]), _a = { class: "json-config" }, Aa = {
1011
+ }), vn = /* @__PURE__ */ pe(Ia, [["__scopeId", "data-v-d056663c"]]), _a = { class: "json-config" }, Sa = {
1012
1012
  key: 0,
1013
1013
  class: "json-endpoint"
1014
1014
  }, bn = /* @__PURE__ */ W({
@@ -1042,26 +1042,26 @@ const ne = {
1042
1042
  un((a) => ({
1043
1043
  "954d3eca": `${r.value}ch`
1044
1044
  }));
1045
- const n = e, t = $(() => n.jsonRecord), r = $(() => {
1045
+ const n = e, t = T(() => n.jsonRecord), r = T(() => {
1046
1046
  var a;
1047
1047
  if (!n.fetcherUrl)
1048
1048
  return 0;
1049
- const o = (a = n.fetcherUrl) == null ? void 0 : a.split("/");
1050
- return o.length < 2 ? 0 : 41 + (n.requestMethod === "post" ? o[o.length - 1] : o[o.length - 2]).length;
1049
+ const i = (a = n.fetcherUrl) == null ? void 0 : a.split("/");
1050
+ return i.length < 2 ? 0 : 41 + (n.requestMethod === "post" ? i[i.length - 1] : i[i.length - 2]).length;
1051
1051
  });
1052
- return (a, o) => {
1053
- const i = P("KBadge"), l = P("KCodeBlock");
1054
- return g(), O("div", _a, [
1055
- n.fetcherUrl ? (g(), O("div", Aa, [
1056
- T(i, {
1052
+ return (a, i) => {
1053
+ const o = U("KBadge"), l = U("KCodeBlock");
1054
+ return g(), E("div", _a, [
1055
+ n.fetcherUrl ? (g(), E("div", Sa, [
1056
+ $(o, {
1057
1057
  appearance: n.requestMethod
1058
1058
  }, {
1059
- default: k(() => [
1059
+ default: v(() => [
1060
1060
  H(M(n.requestMethod), 1)
1061
1061
  ]),
1062
1062
  _: 1
1063
1063
  }, 8, ["appearance"]),
1064
- T(l, {
1064
+ $(l, {
1065
1065
  id: "json-endpoint-codeblock",
1066
1066
  code: n.fetcherUrl,
1067
1067
  "is-single-line": "",
@@ -1085,17 +1085,17 @@ const ne = {
1085
1085
  function kn(e) {
1086
1086
  return typeof e > "u" || e === null;
1087
1087
  }
1088
- function Sa(e) {
1088
+ function Aa(e) {
1089
1089
  return typeof e == "object" && e !== null;
1090
1090
  }
1091
1091
  function xa(e) {
1092
1092
  return Array.isArray(e) ? e : kn(e) ? [] : [e];
1093
1093
  }
1094
- function $a(e, n) {
1095
- var t, r, a, o;
1094
+ function Ta(e, n) {
1095
+ var t, r, a, i;
1096
1096
  if (n)
1097
- for (o = Object.keys(n), t = 0, r = o.length; t < r; t += 1)
1098
- a = o[t], e[a] = n[a];
1097
+ for (i = Object.keys(n), t = 0, r = i.length; t < r; t += 1)
1098
+ a = i[t], e[a] = n[a];
1099
1099
  return e;
1100
1100
  }
1101
1101
  function ja(e, n) {
@@ -1104,10 +1104,10 @@ function ja(e, n) {
1104
1104
  t += e;
1105
1105
  return t;
1106
1106
  }
1107
- function Ta(e) {
1107
+ function $a(e) {
1108
1108
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1109
1109
  }
1110
- var Ma = kn, Oa = Sa, Ea = xa, Na = ja, Fa = Ta, qa = $a, te = {
1110
+ var Ma = kn, Oa = Aa, Ea = xa, Na = ja, Fa = $a, qa = Ta, te = {
1111
1111
  isNothing: Ma,
1112
1112
  isObject: Oa,
1113
1113
  toArray: Ea,
@@ -1121,20 +1121,20 @@ function Cn(e, n) {
1121
1121
 
1122
1122
  ` + e.mark.snippet), r + " " + t) : r;
1123
1123
  }
1124
- function Le(e, n) {
1124
+ function Be(e, n) {
1125
1125
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = Cn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1126
1126
  }
1127
- Le.prototype = Object.create(Error.prototype);
1128
- Le.prototype.constructor = Le;
1129
- Le.prototype.toString = function(e) {
1127
+ Be.prototype = Object.create(Error.prototype);
1128
+ Be.prototype.constructor = Be;
1129
+ Be.prototype.toString = function(e) {
1130
1130
  return this.name + ": " + Cn(this, e);
1131
1131
  };
1132
- var ie = Le;
1132
+ var oe = Be;
1133
1133
  function lt(e, n, t, r, a) {
1134
- var o = "", i = "", l = Math.floor(a / 2) - 1;
1135
- return r - n > l && (o = " ... ", n = r - l + o.length), t - r > l && (i = " ...", t = r + l - i.length), {
1136
- str: o + e.slice(n, t).replace(/\t/g, "→") + i,
1137
- pos: r - n + o.length
1134
+ var i = "", o = "", l = Math.floor(a / 2) - 1;
1135
+ return r - n > l && (i = " ... ", n = r - l + i.length), t - r > l && (o = " ...", t = r + l - o.length), {
1136
+ str: i + e.slice(n, t).replace(/\t/g, "→") + o,
1137
+ pos: r - n + i.length
1138
1138
  // relative position
1139
1139
  };
1140
1140
  }
@@ -1145,33 +1145,33 @@ function Ka(e, n) {
1145
1145
  if (n = Object.create(n || null), !e.buffer)
1146
1146
  return null;
1147
1147
  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);
1148
- for (var t = /\r?\n|\r|\0/g, r = [0], a = [], o, i = -1; o = t.exec(e.buffer); )
1149
- a.push(o.index), r.push(o.index + o[0].length), e.position <= o.index && i < 0 && (i = r.length - 2);
1150
- i < 0 && (i = r.length - 1);
1148
+ for (var t = /\r?\n|\r|\0/g, r = [0], a = [], i, o = -1; i = t.exec(e.buffer); )
1149
+ a.push(i.index), r.push(i.index + i[0].length), e.position <= i.index && o < 0 && (o = r.length - 2);
1150
+ o < 0 && (o = r.length - 1);
1151
1151
  var l = "", s, u, d = Math.min(e.line + n.linesAfter, a.length).toString().length, c = n.maxLength - (n.indent + d + 3);
1152
- for (s = 1; s <= n.linesBefore && !(i - s < 0); s++)
1152
+ for (s = 1; s <= n.linesBefore && !(o - s < 0); s++)
1153
1153
  u = lt(
1154
1154
  e.buffer,
1155
- r[i - s],
1156
- a[i - s],
1157
- e.position - (r[i] - r[i - s]),
1155
+ r[o - s],
1156
+ a[o - s],
1157
+ e.position - (r[o] - r[o - s]),
1158
1158
  c
1159
1159
  ), l = te.repeat(" ", n.indent) + st((e.line - s + 1).toString(), d) + " | " + u.str + `
1160
1160
  ` + l;
1161
- for (u = lt(e.buffer, r[i], a[i], e.position, c), l += te.repeat(" ", n.indent) + st((e.line + 1).toString(), d) + " | " + u.str + `
1161
+ for (u = lt(e.buffer, r[o], a[o], e.position, c), l += te.repeat(" ", n.indent) + st((e.line + 1).toString(), d) + " | " + u.str + `
1162
1162
  `, l += te.repeat("-", n.indent + d + 3 + u.pos) + `^
1163
- `, s = 1; s <= n.linesAfter && !(i + s >= a.length); s++)
1163
+ `, s = 1; s <= n.linesAfter && !(o + s >= a.length); s++)
1164
1164
  u = lt(
1165
1165
  e.buffer,
1166
- r[i + s],
1167
- a[i + s],
1168
- e.position - (r[i] - r[i + s]),
1166
+ r[o + s],
1167
+ a[o + s],
1168
+ e.position - (r[o] - r[o + s]),
1169
1169
  c
1170
1170
  ), l += te.repeat(" ", n.indent) + st((e.line + s + 1).toString(), d) + " | " + u.str + `
1171
1171
  `;
1172
1172
  return l.replace(/\n$/, "");
1173
1173
  }
1174
- var Ba = Ka, La = [
1174
+ var La = Ka, Ba = [
1175
1175
  "kind",
1176
1176
  "multi",
1177
1177
  "resolve",
@@ -1182,12 +1182,12 @@ var Ba = Ka, La = [
1182
1182
  "representName",
1183
1183
  "defaultStyle",
1184
1184
  "styleAliases"
1185
- ], Ua = [
1185
+ ], Pa = [
1186
1186
  "scalar",
1187
1187
  "sequence",
1188
1188
  "mapping"
1189
1189
  ];
1190
- function Pa(e) {
1190
+ function Ua(e) {
1191
1191
  var n = {};
1192
1192
  return e !== null && Object.keys(e).forEach(function(t) {
1193
1193
  e[t].forEach(function(r) {
@@ -1197,22 +1197,22 @@ function Pa(e) {
1197
1197
  }
1198
1198
  function Ra(e, n) {
1199
1199
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1200
- if (La.indexOf(t) === -1)
1201
- throw new ie('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1200
+ if (Ba.indexOf(t) === -1)
1201
+ throw new oe('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1202
1202
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1203
1203
  return !0;
1204
1204
  }, this.construct = n.construct || function(t) {
1205
1205
  return t;
1206
- }, 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 = Pa(n.styleAliases || null), Ua.indexOf(this.kind) === -1)
1207
- throw new ie('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1206
+ }, 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 = Ua(n.styleAliases || null), Pa.indexOf(this.kind) === -1)
1207
+ throw new oe('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1208
1208
  }
1209
1209
  var re = Ra;
1210
1210
  function Gt(e, n) {
1211
1211
  var t = [];
1212
1212
  return e[n].forEach(function(r) {
1213
1213
  var a = t.length;
1214
- t.forEach(function(o, i) {
1215
- o.tag === r.tag && o.kind === r.kind && o.multi === r.multi && (a = i);
1214
+ t.forEach(function(i, o) {
1215
+ i.tag === r.tag && i.kind === r.kind && i.multi === r.multi && (a = o);
1216
1216
  }), t[a] = r;
1217
1217
  }), t;
1218
1218
  }
@@ -1248,17 +1248,17 @@ pt.prototype.extend = function(e) {
1248
1248
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
1249
1249
  e.implicit && (n = n.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1250
1250
  else
1251
- throw new ie("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1251
+ throw new oe("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1252
1252
  n.forEach(function(a) {
1253
1253
  if (!(a instanceof re))
1254
- throw new ie("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1254
+ throw new oe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1255
1255
  if (a.loadKind && a.loadKind !== "scalar")
1256
- throw new ie("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1256
+ throw new oe("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1257
1257
  if (a.multi)
1258
- throw new ie("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1258
+ throw new oe("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1259
1259
  }), t.forEach(function(a) {
1260
1260
  if (!(a instanceof re))
1261
- throw new ie("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1261
+ throw new oe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1262
1262
  });
1263
1263
  var r = Object.create(pt.prototype);
1264
1264
  return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Gt(r, "implicit"), r.compiledExplicit = Gt(r, "explicit"), r.compiledTypeMap = Va(r.compiledImplicit, r.compiledExplicit), r;
@@ -1273,16 +1273,16 @@ var wn = pt, In = new re("tag:yaml.org,2002:str", {
1273
1273
  construct: function(e) {
1274
1274
  return e !== null ? e : [];
1275
1275
  }
1276
- }), An = new re("tag:yaml.org,2002:map", {
1276
+ }), Sn = new re("tag:yaml.org,2002:map", {
1277
1277
  kind: "mapping",
1278
1278
  construct: function(e) {
1279
1279
  return e !== null ? e : {};
1280
1280
  }
1281
- }), Sn = new wn({
1281
+ }), An = new wn({
1282
1282
  explicit: [
1283
1283
  In,
1284
1284
  _n,
1285
- An
1285
+ Sn
1286
1286
  ]
1287
1287
  });
1288
1288
  function Da(e) {
@@ -1333,7 +1333,7 @@ function Ja(e) {
1333
1333
  function Wa(e) {
1334
1334
  return Object.prototype.toString.call(e) === "[object Boolean]";
1335
1335
  }
1336
- var $n = new re("tag:yaml.org,2002:bool", {
1336
+ var Tn = new re("tag:yaml.org,2002:bool", {
1337
1337
  kind: "scalar",
1338
1338
  resolve: Ha,
1339
1339
  construct: Ja,
@@ -1407,7 +1407,7 @@ function Xa(e) {
1407
1407
  }
1408
1408
  return !(!r || a === "_");
1409
1409
  }
1410
- function eo(e) {
1410
+ function ei(e) {
1411
1411
  var n = e, t = 1, r;
1412
1412
  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")
1413
1413
  return 0;
@@ -1421,14 +1421,14 @@ function eo(e) {
1421
1421
  }
1422
1422
  return t * parseInt(n, 10);
1423
1423
  }
1424
- function to(e) {
1424
+ function ti(e) {
1425
1425
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !te.isNegativeZero(e);
1426
1426
  }
1427
1427
  var jn = new re("tag:yaml.org,2002:int", {
1428
1428
  kind: "scalar",
1429
1429
  resolve: Xa,
1430
- construct: eo,
1431
- predicate: to,
1430
+ construct: ei,
1431
+ predicate: ti,
1432
1432
  represent: {
1433
1433
  binary: function(e) {
1434
1434
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1451,21 +1451,21 @@ var jn = new re("tag:yaml.org,2002:int", {
1451
1451
  decimal: [10, "dec"],
1452
1452
  hexadecimal: [16, "hex"]
1453
1453
  }
1454
- }), no = new RegExp(
1454
+ }), ni = new RegExp(
1455
1455
  // 2.5e4, 2.5 and integers
1456
1456
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1457
1457
  );
1458
- function ro(e) {
1459
- return !(e === null || !no.test(e) || // Quick hack to not allow integers end with `_`
1458
+ function ri(e) {
1459
+ return !(e === null || !ni.test(e) || // Quick hack to not allow integers end with `_`
1460
1460
  // Probably should update regexp & check speed
1461
1461
  e[e.length - 1] === "_");
1462
1462
  }
1463
- function ao(e) {
1463
+ function ai(e) {
1464
1464
  var n, t;
1465
1465
  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);
1466
1466
  }
1467
- var oo = /^[-+]?[0-9]+e/;
1468
- function io(e, n) {
1467
+ var ii = /^[-+]?[0-9]+e/;
1468
+ function oi(e, n) {
1469
1469
  var t;
1470
1470
  if (isNaN(e))
1471
1471
  switch (n) {
@@ -1496,168 +1496,168 @@ function io(e, n) {
1496
1496
  }
1497
1497
  else if (te.isNegativeZero(e))
1498
1498
  return "-0.0";
1499
- return t = e.toString(10), oo.test(t) ? t.replace("e", ".e") : t;
1499
+ return t = e.toString(10), ii.test(t) ? t.replace("e", ".e") : t;
1500
1500
  }
1501
- function lo(e) {
1501
+ function li(e) {
1502
1502
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || te.isNegativeZero(e));
1503
1503
  }
1504
- var Tn = new re("tag:yaml.org,2002:float", {
1504
+ var $n = new re("tag:yaml.org,2002:float", {
1505
1505
  kind: "scalar",
1506
- resolve: ro,
1507
- construct: ao,
1508
- predicate: lo,
1509
- represent: io,
1506
+ resolve: ri,
1507
+ construct: ai,
1508
+ predicate: li,
1509
+ represent: oi,
1510
1510
  defaultStyle: "lowercase"
1511
- }), Mn = Sn.extend({
1511
+ }), Mn = An.extend({
1512
1512
  implicit: [
1513
1513
  xn,
1514
- $n,
1514
+ Tn,
1515
1515
  jn,
1516
- Tn
1516
+ $n
1517
1517
  ]
1518
1518
  }), On = Mn, En = new RegExp(
1519
1519
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1520
1520
  ), Nn = new RegExp(
1521
1521
  "^([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]))?))?$"
1522
1522
  );
1523
- function so(e) {
1523
+ function si(e) {
1524
1524
  return e === null ? !1 : En.exec(e) !== null || Nn.exec(e) !== null;
1525
1525
  }
1526
- function uo(e) {
1527
- var n, t, r, a, o, i, l, s = 0, u = null, d, c, h;
1526
+ function ui(e) {
1527
+ var n, t, r, a, i, o, l, s = 0, u = null, d, c, h;
1528
1528
  if (n = En.exec(e), n === null && (n = Nn.exec(e)), n === null)
1529
1529
  throw new Error("Date resolve error");
1530
1530
  if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
1531
1531
  return new Date(Date.UTC(t, r, a));
1532
- if (o = +n[4], i = +n[5], l = +n[6], n[7]) {
1532
+ if (i = +n[4], o = +n[5], l = +n[6], n[7]) {
1533
1533
  for (s = n[7].slice(0, 3); s.length < 3; )
1534
1534
  s += "0";
1535
1535
  s = +s;
1536
1536
  }
1537
- return n[9] && (d = +n[10], c = +(n[11] || 0), u = (d * 60 + c) * 6e4, n[9] === "-" && (u = -u)), h = new Date(Date.UTC(t, r, a, o, i, l, s)), u && h.setTime(h.getTime() - u), h;
1537
+ return n[9] && (d = +n[10], c = +(n[11] || 0), u = (d * 60 + c) * 6e4, n[9] === "-" && (u = -u)), h = new Date(Date.UTC(t, r, a, i, o, l, s)), u && h.setTime(h.getTime() - u), h;
1538
1538
  }
1539
- function co(e) {
1539
+ function ci(e) {
1540
1540
  return e.toISOString();
1541
1541
  }
1542
1542
  var Fn = new re("tag:yaml.org,2002:timestamp", {
1543
1543
  kind: "scalar",
1544
- resolve: so,
1545
- construct: uo,
1544
+ resolve: si,
1545
+ construct: ui,
1546
1546
  instanceOf: Date,
1547
- represent: co
1547
+ represent: ci
1548
1548
  });
1549
- function po(e) {
1549
+ function di(e) {
1550
1550
  return e === "<<" || e === null;
1551
1551
  }
1552
1552
  var qn = new re("tag:yaml.org,2002:merge", {
1553
1553
  kind: "scalar",
1554
- resolve: po
1554
+ resolve: di
1555
1555
  }), wt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1556
1556
  \r`;
1557
- function fo(e) {
1557
+ function pi(e) {
1558
1558
  if (e === null)
1559
1559
  return !1;
1560
- var n, t, r = 0, a = e.length, o = wt;
1560
+ var n, t, r = 0, a = e.length, i = wt;
1561
1561
  for (t = 0; t < a; t++)
1562
- if (n = o.indexOf(e.charAt(t)), !(n > 64)) {
1562
+ if (n = i.indexOf(e.charAt(t)), !(n > 64)) {
1563
1563
  if (n < 0)
1564
1564
  return !1;
1565
1565
  r += 6;
1566
1566
  }
1567
1567
  return r % 8 === 0;
1568
1568
  }
1569
- function mo(e) {
1570
- var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = wt, i = 0, l = [];
1569
+ function fi(e) {
1570
+ var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, i = wt, o = 0, l = [];
1571
1571
  for (n = 0; n < a; n++)
1572
- n % 4 === 0 && n && (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(n));
1573
- return t = a % 4 * 6, t === 0 ? (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)) : t === 18 ? (l.push(i >> 10 & 255), l.push(i >> 2 & 255)) : t === 12 && l.push(i >> 4 & 255), new Uint8Array(l);
1572
+ n % 4 === 0 && n && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | i.indexOf(r.charAt(n));
1573
+ return t = a % 4 * 6, t === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : t === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : t === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
1574
1574
  }
1575
- function go(e) {
1576
- var n = "", t = 0, r, a, o = e.length, i = wt;
1577
- for (r = 0; r < o; r++)
1578
- r % 3 === 0 && r && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[r];
1579
- return a = o % 3, a === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : a === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : a === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1575
+ function mi(e) {
1576
+ var n = "", t = 0, r, a, i = e.length, o = wt;
1577
+ for (r = 0; r < i; r++)
1578
+ r % 3 === 0 && r && (n += o[t >> 18 & 63], n += o[t >> 12 & 63], n += o[t >> 6 & 63], n += o[t & 63]), t = (t << 8) + e[r];
1579
+ return a = i % 3, a === 0 ? (n += o[t >> 18 & 63], n += o[t >> 12 & 63], n += o[t >> 6 & 63], n += o[t & 63]) : a === 2 ? (n += o[t >> 10 & 63], n += o[t >> 4 & 63], n += o[t << 2 & 63], n += o[64]) : a === 1 && (n += o[t >> 2 & 63], n += o[t << 4 & 63], n += o[64], n += o[64]), n;
1580
1580
  }
1581
- function ho(e) {
1581
+ function gi(e) {
1582
1582
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1583
1583
  }
1584
1584
  var Kn = new re("tag:yaml.org,2002:binary", {
1585
1585
  kind: "scalar",
1586
- resolve: fo,
1587
- construct: mo,
1588
- predicate: ho,
1589
- represent: go
1590
- }), yo = Object.prototype.hasOwnProperty, vo = Object.prototype.toString;
1591
- function bo(e) {
1586
+ resolve: pi,
1587
+ construct: fi,
1588
+ predicate: gi,
1589
+ represent: mi
1590
+ }), hi = Object.prototype.hasOwnProperty, yi = Object.prototype.toString;
1591
+ function vi(e) {
1592
1592
  if (e === null)
1593
1593
  return !0;
1594
- var n = [], t, r, a, o, i, l = e;
1594
+ var n = [], t, r, a, i, o, l = e;
1595
1595
  for (t = 0, r = l.length; t < r; t += 1) {
1596
- if (a = l[t], i = !1, vo.call(a) !== "[object Object]")
1596
+ if (a = l[t], o = !1, yi.call(a) !== "[object Object]")
1597
1597
  return !1;
1598
- for (o in a)
1599
- if (yo.call(a, o))
1600
- if (!i)
1601
- i = !0;
1598
+ for (i in a)
1599
+ if (hi.call(a, i))
1600
+ if (!o)
1601
+ o = !0;
1602
1602
  else
1603
1603
  return !1;
1604
- if (!i)
1604
+ if (!o)
1605
1605
  return !1;
1606
- if (n.indexOf(o) === -1)
1607
- n.push(o);
1606
+ if (n.indexOf(i) === -1)
1607
+ n.push(i);
1608
1608
  else
1609
1609
  return !1;
1610
1610
  }
1611
1611
  return !0;
1612
1612
  }
1613
- function ko(e) {
1613
+ function bi(e) {
1614
1614
  return e !== null ? e : [];
1615
1615
  }
1616
- var Bn = new re("tag:yaml.org,2002:omap", {
1616
+ var Ln = new re("tag:yaml.org,2002:omap", {
1617
1617
  kind: "sequence",
1618
- resolve: bo,
1619
- construct: ko
1620
- }), Co = Object.prototype.toString;
1621
- function wo(e) {
1618
+ resolve: vi,
1619
+ construct: bi
1620
+ }), ki = Object.prototype.toString;
1621
+ function Ci(e) {
1622
1622
  if (e === null)
1623
1623
  return !0;
1624
- var n, t, r, a, o, i = e;
1625
- for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1626
- if (r = i[n], Co.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1624
+ var n, t, r, a, i, o = e;
1625
+ for (i = new Array(o.length), n = 0, t = o.length; n < t; n += 1) {
1626
+ if (r = o[n], ki.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1627
1627
  return !1;
1628
- o[n] = [a[0], r[a[0]]];
1628
+ i[n] = [a[0], r[a[0]]];
1629
1629
  }
1630
1630
  return !0;
1631
1631
  }
1632
- function Io(e) {
1632
+ function wi(e) {
1633
1633
  if (e === null)
1634
1634
  return [];
1635
- var n, t, r, a, o, i = e;
1636
- for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1)
1637
- r = i[n], a = Object.keys(r), o[n] = [a[0], r[a[0]]];
1638
- return o;
1635
+ var n, t, r, a, i, o = e;
1636
+ for (i = new Array(o.length), n = 0, t = o.length; n < t; n += 1)
1637
+ r = o[n], a = Object.keys(r), i[n] = [a[0], r[a[0]]];
1638
+ return i;
1639
1639
  }
1640
- var Ln = new re("tag:yaml.org,2002:pairs", {
1640
+ var Bn = new re("tag:yaml.org,2002:pairs", {
1641
1641
  kind: "sequence",
1642
- resolve: wo,
1643
- construct: Io
1644
- }), _o = Object.prototype.hasOwnProperty;
1645
- function Ao(e) {
1642
+ resolve: Ci,
1643
+ construct: wi
1644
+ }), Ii = Object.prototype.hasOwnProperty;
1645
+ function _i(e) {
1646
1646
  if (e === null)
1647
1647
  return !0;
1648
1648
  var n, t = e;
1649
1649
  for (n in t)
1650
- if (_o.call(t, n) && t[n] !== null)
1650
+ if (Ii.call(t, n) && t[n] !== null)
1651
1651
  return !1;
1652
1652
  return !0;
1653
1653
  }
1654
- function So(e) {
1654
+ function Si(e) {
1655
1655
  return e !== null ? e : {};
1656
1656
  }
1657
- var Un = new re("tag:yaml.org,2002:set", {
1657
+ var Pn = new re("tag:yaml.org,2002:set", {
1658
1658
  kind: "mapping",
1659
- resolve: Ao,
1660
- construct: So
1659
+ resolve: _i,
1660
+ construct: Si
1661
1661
  }), It = On.extend({
1662
1662
  implicit: [
1663
1663
  Fn,
@@ -1665,18 +1665,18 @@ var Un = new re("tag:yaml.org,2002:set", {
1665
1665
  ],
1666
1666
  explicit: [
1667
1667
  Kn,
1668
- Bn,
1669
1668
  Ln,
1670
- Un
1669
+ Bn,
1670
+ Pn
1671
1671
  ]
1672
- }), Ie = Object.prototype.hasOwnProperty, De = 1, Pn = 2, Rn = 3, ze = 4, ut = 1, xo = 2, Ht = 3, $o = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, jo = /[\x85\u2028\u2029]/, To = /[,\[\]\{\}]/, Vn = /^(?:!|!!|![a-z\-]+!)$/i, Dn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1672
+ }), Ie = Object.prototype.hasOwnProperty, De = 1, Un = 2, Rn = 3, ze = 4, ut = 1, Ai = 2, Ht = 3, xi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ti = /[\x85\u2028\u2029]/, ji = /[,\[\]\{\}]/, Vn = /^(?:!|!!|![a-z\-]+!)$/i, Dn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1673
1673
  function Jt(e) {
1674
1674
  return Object.prototype.toString.call(e);
1675
1675
  }
1676
1676
  function ge(e) {
1677
1677
  return e === 10 || e === 13;
1678
1678
  }
1679
- function Se(e) {
1679
+ function xe(e) {
1680
1680
  return e === 9 || e === 32;
1681
1681
  }
1682
1682
  function ue(e) {
@@ -1685,21 +1685,21 @@ function ue(e) {
1685
1685
  function Ne(e) {
1686
1686
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1687
1687
  }
1688
- function Mo(e) {
1688
+ function $i(e) {
1689
1689
  var n;
1690
1690
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1691
1691
  }
1692
- function Oo(e) {
1692
+ function Mi(e) {
1693
1693
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1694
1694
  }
1695
- function Eo(e) {
1695
+ function Oi(e) {
1696
1696
  return 48 <= e && e <= 57 ? e - 48 : -1;
1697
1697
  }
1698
1698
  function Wt(e) {
1699
1699
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1700
1700
  ` : 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" : "";
1701
1701
  }
1702
- function No(e) {
1702
+ function Ei(e) {
1703
1703
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1704
1704
  (e - 65536 >> 10) + 55296,
1705
1705
  (e - 65536 & 1023) + 56320
@@ -1708,7 +1708,7 @@ function No(e) {
1708
1708
  var zn = new Array(256), Gn = new Array(256);
1709
1709
  for (var Oe = 0; Oe < 256; Oe++)
1710
1710
  zn[Oe] = Wt(Oe) ? 1 : 0, Gn[Oe] = Wt(Oe);
1711
- function Fo(e, n) {
1711
+ function Ni(e, n) {
1712
1712
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || It, 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 = [];
1713
1713
  }
1714
1714
  function Hn(e, n) {
@@ -1720,9 +1720,9 @@ function Hn(e, n) {
1720
1720
  line: e.line,
1721
1721
  column: e.position - e.lineStart
1722
1722
  };
1723
- return t.snippet = Ba(t), new ie(n, t);
1723
+ return t.snippet = La(t), new oe(n, t);
1724
1724
  }
1725
- function E(e, n) {
1725
+ function O(e, n) {
1726
1726
  throw Hn(e, n);
1727
1727
  }
1728
1728
  function Ge(e, n) {
@@ -1730,63 +1730,63 @@ function Ge(e, n) {
1730
1730
  }
1731
1731
  var Yt = {
1732
1732
  YAML: function(e, n, t) {
1733
- var r, a, o;
1734
- e.version !== null && E(e, "duplication of %YAML directive"), t.length !== 1 && E(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && E(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && E(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Ge(e, "unsupported YAML version of the document");
1733
+ var r, a, i;
1734
+ e.version !== null && O(e, "duplication of %YAML directive"), t.length !== 1 && O(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && O(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && O(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && Ge(e, "unsupported YAML version of the document");
1735
1735
  },
1736
1736
  TAG: function(e, n, t) {
1737
1737
  var r, a;
1738
- t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Vn.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Ie.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Dn.test(a) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1738
+ t.length !== 2 && O(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Vn.test(r) || O(e, "ill-formed tag handle (first argument) of the TAG directive"), Ie.call(e.tagMap, r) && O(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Dn.test(a) || O(e, "ill-formed tag prefix (second argument) of the TAG directive");
1739
1739
  try {
1740
1740
  a = decodeURIComponent(a);
1741
1741
  } catch {
1742
- E(e, "tag prefix is malformed: " + a);
1742
+ O(e, "tag prefix is malformed: " + a);
1743
1743
  }
1744
1744
  e.tagMap[r] = a;
1745
1745
  }
1746
1746
  };
1747
1747
  function Ce(e, n, t, r) {
1748
- var a, o, i, l;
1748
+ var a, i, o, l;
1749
1749
  if (n < t) {
1750
1750
  if (l = e.input.slice(n, t), r)
1751
- for (a = 0, o = l.length; a < o; a += 1)
1752
- i = l.charCodeAt(a), i === 9 || 32 <= i && i <= 1114111 || E(e, "expected valid JSON character");
1751
+ for (a = 0, i = l.length; a < i; a += 1)
1752
+ o = l.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || O(e, "expected valid JSON character");
1753
1753
  else
1754
- $o.test(l) && E(e, "the stream contains non-printable characters");
1754
+ xi.test(l) && O(e, "the stream contains non-printable characters");
1755
1755
  e.result += l;
1756
1756
  }
1757
1757
  }
1758
1758
  function Zt(e, n, t, r) {
1759
- var a, o, i, l;
1760
- for (te.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), i = 0, l = a.length; i < l; i += 1)
1761
- o = a[i], Ie.call(n, o) || (n[o] = t[o], r[o] = !0);
1759
+ var a, i, o, l;
1760
+ for (te.isObject(t) || O(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, l = a.length; o < l; o += 1)
1761
+ i = a[o], Ie.call(n, i) || (n[i] = t[i], r[i] = !0);
1762
1762
  }
1763
- function Fe(e, n, t, r, a, o, i, l, s) {
1763
+ function Fe(e, n, t, r, a, i, o, l, s) {
1764
1764
  var u, d;
1765
1765
  if (Array.isArray(a))
1766
1766
  for (a = Array.prototype.slice.call(a), u = 0, d = a.length; u < d; u += 1)
1767
- Array.isArray(a[u]) && E(e, "nested arrays are not supported inside keys"), typeof a == "object" && Jt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1767
+ Array.isArray(a[u]) && O(e, "nested arrays are not supported inside keys"), typeof a == "object" && Jt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1768
1768
  if (typeof a == "object" && Jt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1769
- if (Array.isArray(o))
1770
- for (u = 0, d = o.length; u < d; u += 1)
1771
- Zt(e, n, o[u], t);
1769
+ if (Array.isArray(i))
1770
+ for (u = 0, d = i.length; u < d; u += 1)
1771
+ Zt(e, n, i[u], t);
1772
1772
  else
1773
- Zt(e, n, o, t);
1773
+ Zt(e, n, i, t);
1774
1774
  else
1775
- !e.json && !Ie.call(t, a) && Ie.call(n, a) && (e.line = i || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, E(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1775
+ !e.json && !Ie.call(t, a) && Ie.call(n, a) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, O(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1776
1776
  configurable: !0,
1777
1777
  enumerable: !0,
1778
1778
  writable: !0,
1779
- value: o
1780
- }) : n[a] = o, delete t[a];
1779
+ value: i
1780
+ }) : n[a] = i, delete t[a];
1781
1781
  return n;
1782
1782
  }
1783
1783
  function _t(e) {
1784
1784
  var n;
1785
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1785
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : O(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1786
1786
  }
1787
1787
  function ee(e, n, t) {
1788
1788
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1789
- for (; Se(a); )
1789
+ for (; xe(a); )
1790
1790
  a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1791
1791
  if (n && a === 35)
1792
1792
  do
@@ -1804,15 +1804,15 @@ function Xe(e) {
1804
1804
  var n = e.position, t;
1805
1805
  return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || ue(t)));
1806
1806
  }
1807
- function At(e, n) {
1807
+ function St(e, n) {
1808
1808
  n === 1 ? e.result += " " : n > 1 && (e.result += te.repeat(`
1809
1809
  `, n - 1));
1810
1810
  }
1811
- function qo(e, n, t) {
1812
- var r, a, o, i, l, s, u, d, c = e.kind, h = e.result, f;
1811
+ function Fi(e, n, t) {
1812
+ var r, a, i, o, l, s, u, d, c = e.kind, h = e.result, f;
1813
1813
  if (f = e.input.charCodeAt(e.position), ue(f) || Ne(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (a = e.input.charCodeAt(e.position + 1), ue(a) || t && Ne(a)))
1814
1814
  return !1;
1815
- for (e.kind = "scalar", e.result = "", o = i = e.position, l = !1; f !== 0; ) {
1815
+ for (e.kind = "scalar", e.result = "", i = o = e.position, l = !1; f !== 0; ) {
1816
1816
  if (f === 58) {
1817
1817
  if (a = e.input.charCodeAt(e.position + 1), ue(a) || t && Ne(a))
1818
1818
  break;
@@ -1827,15 +1827,15 @@ function qo(e, n, t) {
1827
1827
  l = !0, f = e.input.charCodeAt(e.position);
1828
1828
  continue;
1829
1829
  } else {
1830
- e.position = i, e.line = s, e.lineStart = u, e.lineIndent = d;
1830
+ e.position = o, e.line = s, e.lineStart = u, e.lineIndent = d;
1831
1831
  break;
1832
1832
  }
1833
1833
  }
1834
- l && (Ce(e, o, i, !1), At(e, e.line - s), o = i = e.position, l = !1), Se(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1834
+ l && (Ce(e, i, o, !1), St(e, e.line - s), i = o = e.position, l = !1), xe(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1835
1835
  }
1836
- return Ce(e, o, i, !1), e.result ? !0 : (e.kind = c, e.result = h, !1);
1836
+ return Ce(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = h, !1);
1837
1837
  }
1838
- function Ko(e, n) {
1838
+ function qi(e, n) {
1839
1839
  var t, r, a;
1840
1840
  if (t = e.input.charCodeAt(e.position), t !== 39)
1841
1841
  return !1;
@@ -1846,11 +1846,11 @@ function Ko(e, n) {
1846
1846
  else
1847
1847
  return !0;
1848
1848
  else
1849
- ge(t) ? (Ce(e, r, a, !0), At(e, ee(e, !1, n)), r = a = e.position) : e.position === e.lineStart && Xe(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1850
- E(e, "unexpected end of the stream within a single quoted scalar");
1849
+ ge(t) ? (Ce(e, r, a, !0), St(e, ee(e, !1, n)), r = a = e.position) : e.position === e.lineStart && Xe(e) ? O(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1850
+ O(e, "unexpected end of the stream within a single quoted scalar");
1851
1851
  }
1852
- function Bo(e, n) {
1853
- var t, r, a, o, i, l;
1852
+ function Ki(e, n) {
1853
+ var t, r, a, i, o, l;
1854
1854
  if (l = e.input.charCodeAt(e.position), l !== 34)
1855
1855
  return !1;
1856
1856
  for (e.kind = "scalar", e.result = "", e.position++, t = r = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
@@ -1861,35 +1861,35 @@ function Bo(e, n) {
1861
1861
  ee(e, !1, n);
1862
1862
  else if (l < 256 && zn[l])
1863
1863
  e.result += Gn[l], e.position++;
1864
- else if ((i = Oo(l)) > 0) {
1865
- for (a = i, o = 0; a > 0; a--)
1866
- l = e.input.charCodeAt(++e.position), (i = Mo(l)) >= 0 ? o = (o << 4) + i : E(e, "expected hexadecimal character");
1867
- e.result += No(o), e.position++;
1864
+ else if ((o = Mi(l)) > 0) {
1865
+ for (a = o, i = 0; a > 0; a--)
1866
+ l = e.input.charCodeAt(++e.position), (o = $i(l)) >= 0 ? i = (i << 4) + o : O(e, "expected hexadecimal character");
1867
+ e.result += Ei(i), e.position++;
1868
1868
  } else
1869
- E(e, "unknown escape sequence");
1869
+ O(e, "unknown escape sequence");
1870
1870
  t = r = e.position;
1871
1871
  } else
1872
- ge(l) ? (Ce(e, t, r, !0), At(e, ee(e, !1, n)), t = r = e.position) : e.position === e.lineStart && Xe(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1872
+ ge(l) ? (Ce(e, t, r, !0), St(e, ee(e, !1, n)), t = r = e.position) : e.position === e.lineStart && Xe(e) ? O(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1873
1873
  }
1874
- E(e, "unexpected end of the stream within a double quoted scalar");
1874
+ O(e, "unexpected end of the stream within a double quoted scalar");
1875
1875
  }
1876
- function Lo(e, n) {
1877
- var t = !0, r, a, o, i = e.tag, l, s = e.anchor, u, d, c, h, f, _ = /* @__PURE__ */ Object.create(null), w, A, U, B;
1878
- if (B = e.input.charCodeAt(e.position), B === 91)
1876
+ function Li(e, n) {
1877
+ var t = !0, r, a, i, o = e.tag, l, s = e.anchor, u, d, c, h, f, _ = /* @__PURE__ */ Object.create(null), w, S, P, L;
1878
+ if (L = e.input.charCodeAt(e.position), L === 91)
1879
1879
  d = 93, f = !1, l = [];
1880
- else if (B === 123)
1880
+ else if (L === 123)
1881
1881
  d = 125, f = !0, l = {};
1882
1882
  else
1883
1883
  return !1;
1884
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), B = e.input.charCodeAt(++e.position); B !== 0; ) {
1885
- if (ee(e, !0, n), B = e.input.charCodeAt(e.position), B === d)
1886
- return e.position++, e.tag = i, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1887
- t ? B === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), A = w = U = null, c = h = !1, B === 63 && (u = e.input.charCodeAt(e.position + 1), ue(u) && (c = h = !0, e.position++, ee(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, qe(e, n, De, !1, !0), A = e.tag, w = e.result, ee(e, !0, n), B = e.input.charCodeAt(e.position), (h || e.line === r) && B === 58 && (c = !0, B = e.input.charCodeAt(++e.position), ee(e, !0, n), qe(e, n, De, !1, !0), U = e.result), f ? Fe(e, l, _, A, w, U, r, a, o) : c ? l.push(Fe(e, null, _, A, w, U, r, a, o)) : l.push(w), ee(e, !0, n), B = e.input.charCodeAt(e.position), B === 44 ? (t = !0, B = e.input.charCodeAt(++e.position)) : t = !1;
1884
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), L = e.input.charCodeAt(++e.position); L !== 0; ) {
1885
+ if (ee(e, !0, n), L = e.input.charCodeAt(e.position), L === d)
1886
+ return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1887
+ t ? L === 44 && O(e, "expected the node content, but found ','") : O(e, "missed comma between flow collection entries"), S = w = P = null, c = h = !1, L === 63 && (u = e.input.charCodeAt(e.position + 1), ue(u) && (c = h = !0, e.position++, ee(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, qe(e, n, De, !1, !0), S = e.tag, w = e.result, ee(e, !0, n), L = e.input.charCodeAt(e.position), (h || e.line === r) && L === 58 && (c = !0, L = e.input.charCodeAt(++e.position), ee(e, !0, n), qe(e, n, De, !1, !0), P = e.result), f ? Fe(e, l, _, S, w, P, r, a, i) : c ? l.push(Fe(e, null, _, S, w, P, r, a, i)) : l.push(w), ee(e, !0, n), L = e.input.charCodeAt(e.position), L === 44 ? (t = !0, L = e.input.charCodeAt(++e.position)) : t = !1;
1888
1888
  }
1889
- E(e, "unexpected end of the stream within a flow collection");
1889
+ O(e, "unexpected end of the stream within a flow collection");
1890
1890
  }
1891
- function Uo(e, n) {
1892
- var t, r, a = ut, o = !1, i = !1, l = n, s = 0, u = !1, d, c;
1891
+ function Bi(e, n) {
1892
+ var t, r, a = ut, i = !1, o = !1, l = n, s = 0, u = !1, d, c;
1893
1893
  if (c = e.input.charCodeAt(e.position), c === 124)
1894
1894
  r = !1;
1895
1895
  else if (c === 62)
@@ -1898,137 +1898,137 @@ function Uo(e, n) {
1898
1898
  return !1;
1899
1899
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1900
1900
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1901
- ut === a ? a = c === 43 ? Ht : xo : E(e, "repeat of a chomping mode identifier");
1902
- else if ((d = Eo(c)) >= 0)
1903
- d === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? E(e, "repeat of an indentation width identifier") : (l = n + d - 1, i = !0);
1901
+ ut === a ? a = c === 43 ? Ht : Ai : O(e, "repeat of a chomping mode identifier");
1902
+ else if ((d = Oi(c)) >= 0)
1903
+ d === 0 ? O(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? O(e, "repeat of an indentation width identifier") : (l = n + d - 1, o = !0);
1904
1904
  else
1905
1905
  break;
1906
- if (Se(c)) {
1906
+ if (xe(c)) {
1907
1907
  do
1908
1908
  c = e.input.charCodeAt(++e.position);
1909
- while (Se(c));
1909
+ while (xe(c));
1910
1910
  if (c === 35)
1911
1911
  do
1912
1912
  c = e.input.charCodeAt(++e.position);
1913
1913
  while (!ge(c) && c !== 0);
1914
1914
  }
1915
1915
  for (; c !== 0; ) {
1916
- for (_t(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!i || e.lineIndent < l) && c === 32; )
1916
+ for (_t(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && c === 32; )
1917
1917
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
1918
- if (!i && e.lineIndent > l && (l = e.lineIndent), ge(c)) {
1918
+ if (!o && e.lineIndent > l && (l = e.lineIndent), ge(c)) {
1919
1919
  s++;
1920
1920
  continue;
1921
1921
  }
1922
1922
  if (e.lineIndent < l) {
1923
1923
  a === Ht ? e.result += te.repeat(`
1924
- `, o ? 1 + s : s) : a === ut && o && (e.result += `
1924
+ `, i ? 1 + s : s) : a === ut && i && (e.result += `
1925
1925
  `);
1926
1926
  break;
1927
1927
  }
1928
- for (r ? Se(c) ? (u = !0, e.result += te.repeat(`
1929
- `, o ? 1 + s : s)) : u ? (u = !1, e.result += te.repeat(`
1930
- `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += te.repeat(`
1928
+ for (r ? xe(c) ? (u = !0, e.result += te.repeat(`
1929
+ `, i ? 1 + s : s)) : u ? (u = !1, e.result += te.repeat(`
1930
+ `, s + 1)) : s === 0 ? i && (e.result += " ") : e.result += te.repeat(`
1931
1931
  `, s) : e.result += te.repeat(`
1932
- `, o ? 1 + s : s), o = !0, i = !0, s = 0, t = e.position; !ge(c) && c !== 0; )
1932
+ `, i ? 1 + s : s), i = !0, o = !0, s = 0, t = e.position; !ge(c) && c !== 0; )
1933
1933
  c = e.input.charCodeAt(++e.position);
1934
1934
  Ce(e, t, e.position, !1);
1935
1935
  }
1936
1936
  return !0;
1937
1937
  }
1938
1938
  function Qt(e, n) {
1939
- var t, r = e.tag, a = e.anchor, o = [], i, l = !1, s;
1939
+ var t, r = e.tag, a = e.anchor, i = [], o, l = !1, s;
1940
1940
  if (e.firstTabInLine !== -1)
1941
1941
  return !1;
1942
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(s !== 45 || (i = e.input.charCodeAt(e.position + 1), !ue(i)))); ) {
1942
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = i), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), !(s !== 45 || (o = e.input.charCodeAt(e.position + 1), !ue(o)))); ) {
1943
1943
  if (l = !0, e.position++, ee(e, !0, -1) && e.lineIndent <= n) {
1944
- o.push(null), s = e.input.charCodeAt(e.position);
1944
+ i.push(null), s = e.input.charCodeAt(e.position);
1945
1945
  continue;
1946
1946
  }
1947
- if (t = e.line, qe(e, n, Rn, !1, !0), o.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
1948
- E(e, "bad indentation of a sequence entry");
1947
+ if (t = e.line, qe(e, n, Rn, !1, !0), i.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
1948
+ O(e, "bad indentation of a sequence entry");
1949
1949
  else if (e.lineIndent < n)
1950
1950
  break;
1951
1951
  }
1952
- return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
1952
+ return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
1953
1953
  }
1954
- function Po(e, n, t) {
1955
- var r, a, o, i, l, s, u = e.tag, d = e.anchor, c = {}, h = /* @__PURE__ */ Object.create(null), f = null, _ = null, w = null, A = !1, U = !1, B;
1954
+ function Pi(e, n, t) {
1955
+ var r, a, i, o, l, s, u = e.tag, d = e.anchor, c = {}, h = /* @__PURE__ */ Object.create(null), f = null, _ = null, w = null, S = !1, P = !1, L;
1956
1956
  if (e.firstTabInLine !== -1)
1957
1957
  return !1;
1958
- for (e.anchor !== null && (e.anchorMap[e.anchor] = c), B = e.input.charCodeAt(e.position); B !== 0; ) {
1959
- if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (B === 63 || B === 58) && ue(r))
1960
- B === 63 ? (A && (Fe(e, c, h, f, _, null, i, l, s), f = _ = w = null), U = !0, A = !0, a = !0) : A ? (A = !1, a = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, B = r;
1958
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = c), L = e.input.charCodeAt(e.position); L !== 0; ) {
1959
+ if (!S && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (L === 63 || L === 58) && ue(r))
1960
+ L === 63 ? (S && (Fe(e, c, h, f, _, null, o, l, s), f = _ = w = null), P = !0, S = !0, a = !0) : S ? (S = !1, a = !0) : O(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, L = r;
1961
1961
  else {
1962
- if (i = e.line, l = e.lineStart, s = e.position, !qe(e, t, Pn, !1, !0))
1962
+ if (o = e.line, l = e.lineStart, s = e.position, !qe(e, t, Un, !1, !0))
1963
1963
  break;
1964
- if (e.line === o) {
1965
- for (B = e.input.charCodeAt(e.position); Se(B); )
1966
- B = e.input.charCodeAt(++e.position);
1967
- if (B === 58)
1968
- B = e.input.charCodeAt(++e.position), ue(B) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Fe(e, c, h, f, _, null, i, l, s), f = _ = w = null), U = !0, A = !1, a = !1, f = e.tag, _ = e.result;
1969
- else if (U)
1970
- E(e, "can not read an implicit mapping pair; a colon is missed");
1964
+ if (e.line === i) {
1965
+ for (L = e.input.charCodeAt(e.position); xe(L); )
1966
+ L = e.input.charCodeAt(++e.position);
1967
+ if (L === 58)
1968
+ L = e.input.charCodeAt(++e.position), ue(L) || O(e, "a whitespace character is expected after the key-value separator within a block mapping"), S && (Fe(e, c, h, f, _, null, o, l, s), f = _ = w = null), P = !0, S = !1, a = !1, f = e.tag, _ = e.result;
1969
+ else if (P)
1970
+ O(e, "can not read an implicit mapping pair; a colon is missed");
1971
1971
  else
1972
1972
  return e.tag = u, e.anchor = d, !0;
1973
- } else if (U)
1974
- E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1973
+ } else if (P)
1974
+ O(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1975
1975
  else
1976
1976
  return e.tag = u, e.anchor = d, !0;
1977
1977
  }
1978
- if ((e.line === o || e.lineIndent > n) && (A && (i = e.line, l = e.lineStart, s = e.position), qe(e, n, ze, !0, a) && (A ? _ = e.result : w = e.result), A || (Fe(e, c, h, f, _, w, i, l, s), f = _ = w = null), ee(e, !0, -1), B = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && B !== 0)
1979
- E(e, "bad indentation of a mapping entry");
1978
+ if ((e.line === i || e.lineIndent > n) && (S && (o = e.line, l = e.lineStart, s = e.position), qe(e, n, ze, !0, a) && (S ? _ = e.result : w = e.result), S || (Fe(e, c, h, f, _, w, o, l, s), f = _ = w = null), ee(e, !0, -1), L = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && L !== 0)
1979
+ O(e, "bad indentation of a mapping entry");
1980
1980
  else if (e.lineIndent < n)
1981
1981
  break;
1982
1982
  }
1983
- return A && Fe(e, c, h, f, _, null, i, l, s), U && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), U;
1983
+ return S && Fe(e, c, h, f, _, null, o, l, s), P && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), P;
1984
1984
  }
1985
- function Ro(e) {
1986
- var n, t = !1, r = !1, a, o, i;
1987
- if (i = e.input.charCodeAt(e.position), i !== 33)
1985
+ function Ui(e) {
1986
+ var n, t = !1, r = !1, a, i, o;
1987
+ if (o = e.input.charCodeAt(e.position), o !== 33)
1988
1988
  return !1;
1989
- if (e.tag !== null && E(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, a = "!!", i = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
1989
+ if (e.tag !== null && O(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
1990
1990
  do
1991
- i = e.input.charCodeAt(++e.position);
1992
- while (i !== 0 && i !== 62);
1993
- e.position < e.length ? (o = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
1991
+ o = e.input.charCodeAt(++e.position);
1992
+ while (o !== 0 && o !== 62);
1993
+ e.position < e.length ? (i = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : O(e, "unexpected end of the stream within a verbatim tag");
1994
1994
  } else {
1995
- for (; i !== 0 && !ue(i); )
1996
- i === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Vn.test(a) || E(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
1997
- o = e.input.slice(n, e.position), To.test(o) && E(e, "tag suffix cannot contain flow indicator characters");
1995
+ for (; o !== 0 && !ue(o); )
1996
+ o === 33 && (r ? O(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Vn.test(a) || O(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
1997
+ i = e.input.slice(n, e.position), ji.test(i) && O(e, "tag suffix cannot contain flow indicator characters");
1998
1998
  }
1999
- o && !Dn.test(o) && E(e, "tag name cannot contain such characters: " + o);
1999
+ i && !Dn.test(i) && O(e, "tag name cannot contain such characters: " + i);
2000
2000
  try {
2001
- o = decodeURIComponent(o);
2001
+ i = decodeURIComponent(i);
2002
2002
  } catch {
2003
- E(e, "tag name is malformed: " + o);
2003
+ O(e, "tag name is malformed: " + i);
2004
2004
  }
2005
- return t ? e.tag = o : Ie.call(e.tagMap, a) ? e.tag = e.tagMap[a] + o : a === "!" ? e.tag = "!" + o : a === "!!" ? e.tag = "tag:yaml.org,2002:" + o : E(e, 'undeclared tag handle "' + a + '"'), !0;
2005
+ return t ? e.tag = i : Ie.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : O(e, 'undeclared tag handle "' + a + '"'), !0;
2006
2006
  }
2007
- function Vo(e) {
2007
+ function Ri(e) {
2008
2008
  var n, t;
2009
2009
  if (t = e.input.charCodeAt(e.position), t !== 38)
2010
2010
  return !1;
2011
- for (e.anchor !== null && E(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ue(t) && !Ne(t); )
2011
+ for (e.anchor !== null && O(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ue(t) && !Ne(t); )
2012
2012
  t = e.input.charCodeAt(++e.position);
2013
- return e.position === n && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2013
+ return e.position === n && O(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2014
2014
  }
2015
- function Do(e) {
2015
+ function Vi(e) {
2016
2016
  var n, t, r;
2017
2017
  if (r = e.input.charCodeAt(e.position), r !== 42)
2018
2018
  return !1;
2019
2019
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !ue(r) && !Ne(r); )
2020
2020
  r = e.input.charCodeAt(++e.position);
2021
- return e.position === n && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Ie.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ee(e, !0, -1), !0;
2021
+ return e.position === n && O(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Ie.call(e.anchorMap, t) || O(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ee(e, !0, -1), !0;
2022
2022
  }
2023
2023
  function qe(e, n, t, r, a) {
2024
- var o, i, l, s = 1, u = !1, d = !1, c, h, f, _, w, A;
2025
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = l = ze === t || Rn === t, r && ee(e, !0, -1) && (u = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2026
- for (; Ro(e) || Vo(e); )
2027
- ee(e, !0, -1) ? (u = !0, l = o, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)) : l = !1;
2028
- if (l && (l = u || a), (s === 1 || ze === t) && (De === t || Pn === t ? w = n : w = n + 1, A = e.position - e.lineStart, s === 1 ? l && (Qt(e, A) || Po(e, A, w)) || Lo(e, w) ? d = !0 : (i && Uo(e, w) || Ko(e, w) || Bo(e, w) ? d = !0 : Do(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : qo(e, w, De === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Qt(e, A))), e.tag === null)
2024
+ var i, o, l, s = 1, u = !1, d = !1, c, h, f, _, w, S;
2025
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = l = ze === t || Rn === t, r && ee(e, !0, -1) && (u = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2026
+ for (; Ui(e) || Ri(e); )
2027
+ ee(e, !0, -1) ? (u = !0, l = i, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)) : l = !1;
2028
+ if (l && (l = u || a), (s === 1 || ze === t) && (De === t || Un === t ? w = n : w = n + 1, S = e.position - e.lineStart, s === 1 ? l && (Qt(e, S) || Pi(e, S, w)) || Li(e, w) ? d = !0 : (o && Bi(e, w) || qi(e, w) || Ki(e, w) ? d = !0 : Vi(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && O(e, "alias node should not have any properties")) : Fi(e, w, De === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Qt(e, S))), e.tag === null)
2029
2029
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2030
2030
  else if (e.tag === "?") {
2031
- for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, h = e.implicitTypes.length; c < h; c += 1)
2031
+ for (e.result !== null && e.kind !== "scalar" && O(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, h = e.implicitTypes.length; c < h; c += 1)
2032
2032
  if (_ = e.implicitTypes[c], _.resolve(e.result)) {
2033
2033
  e.result = _.construct(e.result), e.tag = _.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2034
2034
  break;
@@ -2042,87 +2042,87 @@ function qe(e, n, t, r, a) {
2042
2042
  _ = f[c];
2043
2043
  break;
2044
2044
  }
2045
- _ || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2045
+ _ || O(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && O(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : O(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2046
2046
  }
2047
2047
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2048
2048
  }
2049
- function zo(e) {
2050
- var n = e.position, t, r, a, o = !1, i;
2051
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2052
- for (o = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !ue(i); )
2053
- i = e.input.charCodeAt(++e.position);
2054
- for (r = e.input.slice(t, e.position), a = [], r.length < 1 && E(e, "directive name must not be less than one character in length"); i !== 0; ) {
2055
- for (; Se(i); )
2056
- i = e.input.charCodeAt(++e.position);
2057
- if (i === 35) {
2049
+ function Di(e) {
2050
+ var n = e.position, t, r, a, i = !1, o;
2051
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2052
+ for (i = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ue(o); )
2053
+ o = e.input.charCodeAt(++e.position);
2054
+ for (r = e.input.slice(t, e.position), a = [], r.length < 1 && O(e, "directive name must not be less than one character in length"); o !== 0; ) {
2055
+ for (; xe(o); )
2056
+ o = e.input.charCodeAt(++e.position);
2057
+ if (o === 35) {
2058
2058
  do
2059
- i = e.input.charCodeAt(++e.position);
2060
- while (i !== 0 && !ge(i));
2059
+ o = e.input.charCodeAt(++e.position);
2060
+ while (o !== 0 && !ge(o));
2061
2061
  break;
2062
2062
  }
2063
- if (ge(i))
2063
+ if (ge(o))
2064
2064
  break;
2065
- for (t = e.position; i !== 0 && !ue(i); )
2066
- i = e.input.charCodeAt(++e.position);
2065
+ for (t = e.position; o !== 0 && !ue(o); )
2066
+ o = e.input.charCodeAt(++e.position);
2067
2067
  a.push(e.input.slice(t, e.position));
2068
2068
  }
2069
- i !== 0 && _t(e), Ie.call(Yt, r) ? Yt[r](e, r, a) : Ge(e, 'unknown document directive "' + r + '"');
2069
+ o !== 0 && _t(e), Ie.call(Yt, r) ? Yt[r](e, r, a) : Ge(e, 'unknown document directive "' + r + '"');
2070
2070
  }
2071
- if (ee(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, ee(e, !0, -1)) : o && E(e, "directives end mark is expected"), qe(e, e.lineIndent - 1, ze, !1, !0), ee(e, !0, -1), e.checkLineBreaks && jo.test(e.input.slice(n, e.position)) && Ge(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Xe(e)) {
2071
+ if (ee(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, ee(e, !0, -1)) : i && O(e, "directives end mark is expected"), qe(e, e.lineIndent - 1, ze, !1, !0), ee(e, !0, -1), e.checkLineBreaks && Ti.test(e.input.slice(n, e.position)) && Ge(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Xe(e)) {
2072
2072
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
2073
2073
  return;
2074
2074
  }
2075
2075
  if (e.position < e.length - 1)
2076
- E(e, "end of the stream or a document separator is expected");
2076
+ O(e, "end of the stream or a document separator is expected");
2077
2077
  else
2078
2078
  return;
2079
2079
  }
2080
2080
  function Jn(e, n) {
2081
2081
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2082
2082
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2083
- var t = new Fo(e, n), r = e.indexOf("\0");
2084
- for (r !== -1 && (t.position = r, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2083
+ var t = new Ni(e, n), r = e.indexOf("\0");
2084
+ for (r !== -1 && (t.position = r, O(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2085
2085
  t.lineIndent += 1, t.position += 1;
2086
2086
  for (; t.position < t.length - 1; )
2087
- zo(t);
2087
+ Di(t);
2088
2088
  return t.documents;
2089
2089
  }
2090
- function Go(e, n, t) {
2090
+ function zi(e, n, t) {
2091
2091
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2092
2092
  var r = Jn(e, t);
2093
2093
  if (typeof n != "function")
2094
2094
  return r;
2095
- for (var a = 0, o = r.length; a < o; a += 1)
2095
+ for (var a = 0, i = r.length; a < i; a += 1)
2096
2096
  n(r[a]);
2097
2097
  }
2098
- function Ho(e, n) {
2098
+ function Gi(e, n) {
2099
2099
  var t = Jn(e, n);
2100
2100
  if (t.length !== 0) {
2101
2101
  if (t.length === 1)
2102
2102
  return t[0];
2103
- throw new ie("expected a single document in the stream, but found more");
2103
+ throw new oe("expected a single document in the stream, but found more");
2104
2104
  }
2105
2105
  }
2106
- var Jo = Go, Wo = Ho, Wn = {
2107
- loadAll: Jo,
2108
- load: Wo
2109
- }, Yn = Object.prototype.toString, Zn = Object.prototype.hasOwnProperty, St = 65279, Yo = 9, Ue = 10, Zo = 13, Qo = 32, Xo = 33, ei = 34, ft = 35, ti = 37, ni = 38, ri = 39, ai = 42, Qn = 44, oi = 45, He = 58, ii = 61, li = 62, si = 63, ui = 64, Xn = 91, er = 93, ci = 96, tr = 123, di = 124, nr = 125, oe = {};
2110
- oe[0] = "\\0";
2111
- oe[7] = "\\a";
2112
- oe[8] = "\\b";
2113
- oe[9] = "\\t";
2114
- oe[10] = "\\n";
2115
- oe[11] = "\\v";
2116
- oe[12] = "\\f";
2117
- oe[13] = "\\r";
2118
- oe[27] = "\\e";
2119
- oe[34] = '\\"';
2120
- oe[92] = "\\\\";
2121
- oe[133] = "\\N";
2122
- oe[160] = "\\_";
2123
- oe[8232] = "\\L";
2124
- oe[8233] = "\\P";
2125
- var pi = [
2106
+ var Hi = zi, Ji = Gi, Wn = {
2107
+ loadAll: Hi,
2108
+ load: Ji
2109
+ }, Yn = Object.prototype.toString, Zn = Object.prototype.hasOwnProperty, At = 65279, Wi = 9, Pe = 10, Yi = 13, Zi = 32, Qi = 33, Xi = 34, ft = 35, eo = 37, to = 38, no = 39, ro = 42, Qn = 44, ao = 45, He = 58, io = 61, oo = 62, lo = 63, so = 64, Xn = 91, er = 93, uo = 96, tr = 123, co = 124, nr = 125, ie = {};
2110
+ ie[0] = "\\0";
2111
+ ie[7] = "\\a";
2112
+ ie[8] = "\\b";
2113
+ ie[9] = "\\t";
2114
+ ie[10] = "\\n";
2115
+ ie[11] = "\\v";
2116
+ ie[12] = "\\f";
2117
+ ie[13] = "\\r";
2118
+ ie[27] = "\\e";
2119
+ ie[34] = '\\"';
2120
+ ie[92] = "\\\\";
2121
+ ie[133] = "\\N";
2122
+ ie[160] = "\\_";
2123
+ ie[8232] = "\\L";
2124
+ ie[8233] = "\\P";
2125
+ var po = [
2126
2126
  "y",
2127
2127
  "Y",
2128
2128
  "yes",
@@ -2139,16 +2139,16 @@ var pi = [
2139
2139
  "off",
2140
2140
  "Off",
2141
2141
  "OFF"
2142
- ], fi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2143
- function mi(e, n) {
2144
- var t, r, a, o, i, l, s;
2142
+ ], fo = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2143
+ function mo(e, n) {
2144
+ var t, r, a, i, o, l, s;
2145
2145
  if (n === null)
2146
2146
  return {};
2147
- for (t = {}, r = Object.keys(n), a = 0, o = r.length; a < o; a += 1)
2148
- i = r[a], l = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), s = e.compiledTypeMap.fallback[i], s && Zn.call(s.styleAliases, l) && (l = s.styleAliases[l]), t[i] = l;
2147
+ for (t = {}, r = Object.keys(n), a = 0, i = r.length; a < i; a += 1)
2148
+ o = r[a], l = String(n[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && Zn.call(s.styleAliases, l) && (l = s.styleAliases[l]), t[o] = l;
2149
2149
  return t;
2150
2150
  }
2151
- function gi(e) {
2151
+ function go(e) {
2152
2152
  var n, t, r;
2153
2153
  if (n = e.toString(16).toUpperCase(), e <= 255)
2154
2154
  t = "x", r = 2;
@@ -2157,25 +2157,25 @@ function gi(e) {
2157
2157
  else if (e <= 4294967295)
2158
2158
  t = "U", r = 8;
2159
2159
  else
2160
- throw new ie("code point within a string may not be greater than 0xFFFFFFFF");
2160
+ throw new oe("code point within a string may not be greater than 0xFFFFFFFF");
2161
2161
  return "\\" + t + te.repeat("0", r - n.length) + n;
2162
2162
  }
2163
- var hi = 1, Pe = 2;
2164
- function yi(e) {
2165
- this.schema = e.schema || It, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.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 === '"' ? Pe : hi, 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;
2163
+ var ho = 1, Ue = 2;
2164
+ function yo(e) {
2165
+ this.schema = e.schema || It, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = mo(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 === '"' ? Ue : ho, 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;
2166
2166
  }
2167
2167
  function Xt(e, n) {
2168
- for (var t = te.repeat(" ", n), r = 0, a = -1, o = "", i, l = e.length; r < l; )
2168
+ for (var t = te.repeat(" ", n), r = 0, a = -1, i = "", o, l = e.length; r < l; )
2169
2169
  a = e.indexOf(`
2170
- `, r), a === -1 ? (i = e.slice(r), r = l) : (i = e.slice(r, a + 1), r = a + 1), i.length && i !== `
2171
- ` && (o += t), o += i;
2172
- return o;
2170
+ `, r), a === -1 ? (o = e.slice(r), r = l) : (o = e.slice(r, a + 1), r = a + 1), o.length && o !== `
2171
+ ` && (i += t), i += o;
2172
+ return i;
2173
2173
  }
2174
2174
  function mt(e, n) {
2175
2175
  return `
2176
2176
  ` + te.repeat(" ", e.indent * n);
2177
2177
  }
2178
- function vi(e, n) {
2178
+ function vo(e, n) {
2179
2179
  var t, r, a;
2180
2180
  for (t = 0, r = e.implicitTypes.length; t < r; t += 1)
2181
2181
  if (a = e.implicitTypes[t], a.resolve(n))
@@ -2183,13 +2183,13 @@ function vi(e, n) {
2183
2183
  return !1;
2184
2184
  }
2185
2185
  function Je(e) {
2186
- return e === Qo || e === Yo;
2186
+ return e === Zi || e === Wi;
2187
2187
  }
2188
2188
  function Re(e) {
2189
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== St || 65536 <= e && e <= 1114111;
2189
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== At || 65536 <= e && e <= 1114111;
2190
2190
  }
2191
2191
  function en(e) {
2192
- return Re(e) && e !== St && e !== Zo && e !== Ue;
2192
+ return Re(e) && e !== At && e !== Yi && e !== Pe;
2193
2193
  }
2194
2194
  function tn(e, n, t) {
2195
2195
  var r = en(e), a = r && !Je(e);
@@ -2201,13 +2201,13 @@ function tn(e, n, t) {
2201
2201
  ) : r && e !== Qn && e !== Xn && e !== er && e !== tr && e !== nr) && e !== ft && !(n === He && !a) || en(n) && !Je(n) && e === ft || n === He && a
2202
2202
  );
2203
2203
  }
2204
- function bi(e) {
2205
- return Re(e) && e !== St && !Je(e) && e !== oi && e !== si && e !== He && e !== Qn && e !== Xn && e !== er && e !== tr && e !== nr && e !== ft && e !== ni && e !== ai && e !== Xo && e !== di && e !== ii && e !== li && e !== ri && e !== ei && e !== ti && e !== ui && e !== ci;
2204
+ function bo(e) {
2205
+ return Re(e) && e !== At && !Je(e) && e !== ao && e !== lo && e !== He && e !== Qn && e !== Xn && e !== er && e !== tr && e !== nr && e !== ft && e !== to && e !== ro && e !== Qi && e !== co && e !== io && e !== oo && e !== no && e !== Xi && e !== eo && e !== so && e !== uo;
2206
2206
  }
2207
- function ki(e) {
2207
+ function ko(e) {
2208
2208
  return !Je(e) && e !== He;
2209
2209
  }
2210
- function Be(e, n) {
2210
+ function Le(e, n) {
2211
2211
  var t = e.charCodeAt(n), r;
2212
2212
  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;
2213
2213
  }
@@ -2215,18 +2215,18 @@ function rr(e) {
2215
2215
  var n = /^\n* /;
2216
2216
  return n.test(e);
2217
2217
  }
2218
- var ar = 1, gt = 2, or = 3, ir = 4, Ee = 5;
2219
- function Ci(e, n, t, r, a, o, i, l) {
2220
- var s, u = 0, d = null, c = !1, h = !1, f = r !== -1, _ = -1, w = bi(Be(e, 0)) && ki(Be(e, e.length - 1));
2221
- if (n || i)
2218
+ var ar = 1, gt = 2, ir = 3, or = 4, Ee = 5;
2219
+ function Co(e, n, t, r, a, i, o, l) {
2220
+ var s, u = 0, d = null, c = !1, h = !1, f = r !== -1, _ = -1, w = bo(Le(e, 0)) && ko(Le(e, e.length - 1));
2221
+ if (n || o)
2222
2222
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2223
- if (u = Be(e, s), !Re(u))
2223
+ if (u = Le(e, s), !Re(u))
2224
2224
  return Ee;
2225
2225
  w = w && tn(u, d, l), d = u;
2226
2226
  }
2227
2227
  else {
2228
2228
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2229
- if (u = Be(e, s), u === Ue)
2229
+ if (u = Le(e, s), u === Pe)
2230
2230
  c = !0, f && (h = h || // Foldable line = too long, and not more-indented.
2231
2231
  s - _ - 1 > r && e[_ + 1] !== " ", _ = s);
2232
2232
  else if (!Re(u))
@@ -2235,23 +2235,23 @@ function Ci(e, n, t, r, a, o, i, l) {
2235
2235
  }
2236
2236
  h = h || f && s - _ - 1 > r && e[_ + 1] !== " ";
2237
2237
  }
2238
- return !c && !h ? w && !i && !a(e) ? ar : o === Pe ? Ee : gt : t > 9 && rr(e) ? Ee : i ? o === Pe ? Ee : gt : h ? ir : or;
2238
+ return !c && !h ? w && !o && !a(e) ? ar : i === Ue ? Ee : gt : t > 9 && rr(e) ? Ee : o ? i === Ue ? Ee : gt : h ? or : ir;
2239
2239
  }
2240
- function wi(e, n, t, r, a) {
2240
+ function wo(e, n, t, r, a) {
2241
2241
  e.dump = function() {
2242
2242
  if (n.length === 0)
2243
- return e.quotingType === Pe ? '""' : "''";
2244
- if (!e.noCompatMode && (pi.indexOf(n) !== -1 || fi.test(n)))
2245
- return e.quotingType === Pe ? '"' + n + '"' : "'" + n + "'";
2246
- var o = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && t >= e.flowLevel;
2243
+ return e.quotingType === Ue ? '""' : "''";
2244
+ if (!e.noCompatMode && (po.indexOf(n) !== -1 || fo.test(n)))
2245
+ return e.quotingType === Ue ? '"' + n + '"' : "'" + n + "'";
2246
+ var i = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), l = r || e.flowLevel > -1 && t >= e.flowLevel;
2247
2247
  function s(u) {
2248
- return vi(e, u);
2248
+ return vo(e, u);
2249
2249
  }
2250
- switch (Ci(
2250
+ switch (Co(
2251
2251
  n,
2252
2252
  l,
2253
2253
  e.indent,
2254
- i,
2254
+ o,
2255
2255
  s,
2256
2256
  e.quotingType,
2257
2257
  e.forceQuotes && !r,
@@ -2261,14 +2261,14 @@ function wi(e, n, t, r, a) {
2261
2261
  return n;
2262
2262
  case gt:
2263
2263
  return "'" + n.replace(/'/g, "''") + "'";
2264
- case or:
2265
- return "|" + nn(n, e.indent) + rn(Xt(n, o));
2266
2264
  case ir:
2267
- return ">" + nn(n, e.indent) + rn(Xt(Ii(n, i), o));
2265
+ return "|" + nn(n, e.indent) + rn(Xt(n, i));
2266
+ case or:
2267
+ return ">" + nn(n, e.indent) + rn(Xt(Io(n, o), i));
2268
2268
  case Ee:
2269
- return '"' + _i(n) + '"';
2269
+ return '"' + _o(n) + '"';
2270
2270
  default:
2271
- throw new ie("impossible error: invalid scalar style");
2271
+ throw new oe("impossible error: invalid scalar style");
2272
2272
  }
2273
2273
  }();
2274
2274
  }
@@ -2276,90 +2276,90 @@ function nn(e, n) {
2276
2276
  var t = rr(e) ? String(n) : "", r = e[e.length - 1] === `
2277
2277
  `, a = r && (e[e.length - 2] === `
2278
2278
  ` || e === `
2279
- `), o = a ? "+" : r ? "" : "-";
2280
- return t + o + `
2279
+ `), i = a ? "+" : r ? "" : "-";
2280
+ return t + i + `
2281
2281
  `;
2282
2282
  }
2283
2283
  function rn(e) {
2284
2284
  return e[e.length - 1] === `
2285
2285
  ` ? e.slice(0, -1) : e;
2286
2286
  }
2287
- function Ii(e, n) {
2287
+ function Io(e, n) {
2288
2288
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2289
2289
  var u = e.indexOf(`
2290
2290
  `);
2291
2291
  return u = u !== -1 ? u : e.length, t.lastIndex = u, an(e.slice(0, u), n);
2292
2292
  }(), a = e[0] === `
2293
- ` || e[0] === " ", o, i; i = t.exec(e); ) {
2294
- var l = i[1], s = i[2];
2295
- o = s[0] === " ", r += l + (!a && !o && s !== "" ? `
2296
- ` : "") + an(s, n), a = o;
2293
+ ` || e[0] === " ", i, o; o = t.exec(e); ) {
2294
+ var l = o[1], s = o[2];
2295
+ i = s[0] === " ", r += l + (!a && !i && s !== "" ? `
2296
+ ` : "") + an(s, n), a = i;
2297
2297
  }
2298
2298
  return r;
2299
2299
  }
2300
2300
  function an(e, n) {
2301
2301
  if (e === "" || e[0] === " ")
2302
2302
  return e;
2303
- for (var t = / [^ ]/g, r, a = 0, o, i = 0, l = 0, s = ""; r = t.exec(e); )
2304
- l = r.index, l - a > n && (o = i > a ? i : l, s += `
2305
- ` + e.slice(a, o), a = o + 1), i = l;
2303
+ for (var t = / [^ ]/g, r, a = 0, i, o = 0, l = 0, s = ""; r = t.exec(e); )
2304
+ l = r.index, l - a > n && (i = o > a ? o : l, s += `
2305
+ ` + e.slice(a, i), a = i + 1), o = l;
2306
2306
  return s += `
2307
- `, e.length - a > n && i > a ? s += e.slice(a, i) + `
2308
- ` + e.slice(i + 1) : s += e.slice(a), s.slice(1);
2307
+ `, e.length - a > n && o > a ? s += e.slice(a, o) + `
2308
+ ` + e.slice(o + 1) : s += e.slice(a), s.slice(1);
2309
2309
  }
2310
- function _i(e) {
2310
+ function _o(e) {
2311
2311
  for (var n = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2312
- t = Be(e, a), r = oe[t], !r && Re(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || gi(t);
2312
+ t = Le(e, a), r = ie[t], !r && Re(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || go(t);
2313
2313
  return n;
2314
2314
  }
2315
- function Ai(e, n, t) {
2316
- var r = "", a = e.tag, o, i, l;
2317
- for (o = 0, i = t.length; o < i; o += 1)
2318
- l = t[o], e.replacer && (l = e.replacer.call(t, String(o), l)), (ve(e, n, l, !1, !1) || typeof l > "u" && ve(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2315
+ function So(e, n, t) {
2316
+ var r = "", a = e.tag, i, o, l;
2317
+ for (i = 0, o = t.length; i < o; i += 1)
2318
+ l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (ve(e, n, l, !1, !1) || typeof l > "u" && ve(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2319
2319
  e.tag = a, e.dump = "[" + r + "]";
2320
2320
  }
2321
2321
  function on(e, n, t, r) {
2322
- var a = "", o = e.tag, i, l, s;
2323
- for (i = 0, l = t.length; i < l; i += 1)
2324
- s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), (ve(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && ve(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += mt(e, n)), e.dump && Ue === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2325
- e.tag = o, e.dump = a || "[]";
2326
- }
2327
- function Si(e, n, t) {
2328
- var r = "", a = e.tag, o = Object.keys(t), i, l, s, u, d;
2329
- for (i = 0, l = o.length; i < l; i += 1)
2330
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[i], u = t[s], e.replacer && (u = e.replacer.call(t, s, u)), ve(e, n, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ve(e, n, u, !1, !1) && (d += e.dump, r += d));
2322
+ var a = "", i = e.tag, o, l, s;
2323
+ for (o = 0, l = t.length; o < l; o += 1)
2324
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (ve(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && ve(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += mt(e, n)), e.dump && Pe === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2325
+ e.tag = i, e.dump = a || "[]";
2326
+ }
2327
+ function Ao(e, n, t) {
2328
+ var r = "", a = e.tag, i = Object.keys(t), o, l, s, u, d;
2329
+ for (o = 0, l = i.length; o < l; o += 1)
2330
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = i[o], u = t[s], e.replacer && (u = e.replacer.call(t, s, u)), ve(e, n, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ve(e, n, u, !1, !1) && (d += e.dump, r += d));
2331
2331
  e.tag = a, e.dump = "{" + r + "}";
2332
2332
  }
2333
- function xi(e, n, t, r) {
2334
- var a = "", o = e.tag, i = Object.keys(t), l, s, u, d, c, h;
2333
+ function xo(e, n, t, r) {
2334
+ var a = "", i = e.tag, o = Object.keys(t), l, s, u, d, c, h;
2335
2335
  if (e.sortKeys === !0)
2336
- i.sort();
2336
+ o.sort();
2337
2337
  else if (typeof e.sortKeys == "function")
2338
- i.sort(e.sortKeys);
2338
+ o.sort(e.sortKeys);
2339
2339
  else if (e.sortKeys)
2340
- throw new ie("sortKeys must be a boolean or a function");
2341
- for (l = 0, s = i.length; l < s; l += 1)
2342
- h = "", (!r || a !== "") && (h += mt(e, n)), u = i[l], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), ve(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ue === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, c && (h += mt(e, n)), ve(e, n + 1, d, !0, c) && (e.dump && Ue === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, a += h));
2343
- e.tag = o, e.dump = a || "{}";
2340
+ throw new oe("sortKeys must be a boolean or a function");
2341
+ for (l = 0, s = o.length; l < s; l += 1)
2342
+ h = "", (!r || a !== "") && (h += mt(e, n)), u = o[l], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), ve(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Pe === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, c && (h += mt(e, n)), ve(e, n + 1, d, !0, c) && (e.dump && Pe === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, a += h));
2343
+ e.tag = i, e.dump = a || "{}";
2344
2344
  }
2345
2345
  function ln(e, n, t) {
2346
- var r, a, o, i, l, s;
2347
- for (a = t ? e.explicitTypes : e.implicitTypes, o = 0, i = a.length; o < i; o += 1)
2348
- if (l = a[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof n == "object" && n instanceof l.instanceOf) && (!l.predicate || l.predicate(n))) {
2346
+ var r, a, i, o, l, s;
2347
+ for (a = t ? e.explicitTypes : e.implicitTypes, i = 0, o = a.length; i < o; i += 1)
2348
+ if (l = a[i], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof n == "object" && n instanceof l.instanceOf) && (!l.predicate || l.predicate(n))) {
2349
2349
  if (t ? l.multi && l.representName ? e.tag = l.representName(n) : e.tag = l.tag : e.tag = "?", l.represent) {
2350
2350
  if (s = e.styleMap[l.tag] || l.defaultStyle, Yn.call(l.represent) === "[object Function]")
2351
2351
  r = l.represent(n, s);
2352
2352
  else if (Zn.call(l.represent, s))
2353
2353
  r = l.represent[s](n, s);
2354
2354
  else
2355
- throw new ie("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2355
+ throw new oe("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2356
2356
  e.dump = r;
2357
2357
  }
2358
2358
  return !0;
2359
2359
  }
2360
2360
  return !1;
2361
2361
  }
2362
- function ve(e, n, t, r, a, o, i) {
2362
+ function ve(e, n, t, r, a, i, o) {
2363
2363
  e.tag = null, e.dump = t, ln(e, t, !1) || ln(e, t, !0);
2364
2364
  var l = Yn.call(e.dump), s = r, u;
2365
2365
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
@@ -2368,15 +2368,15 @@ function ve(e, n, t, r, a, o, i) {
2368
2368
  e.dump = "*ref_" + c;
2369
2369
  else {
2370
2370
  if (d && h && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
2371
- r && Object.keys(e.dump).length !== 0 ? (xi(e, n, e.dump, a), h && (e.dump = "&ref_" + c + e.dump)) : (Si(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2371
+ r && Object.keys(e.dump).length !== 0 ? (xo(e, n, e.dump, a), h && (e.dump = "&ref_" + c + e.dump)) : (Ao(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2372
2372
  else if (l === "[object Array]")
2373
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? on(e, n - 1, e.dump, a) : on(e, n, e.dump, a), h && (e.dump = "&ref_" + c + e.dump)) : (Ai(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2373
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? on(e, n - 1, e.dump, a) : on(e, n, e.dump, a), h && (e.dump = "&ref_" + c + e.dump)) : (So(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2374
2374
  else if (l === "[object String]")
2375
- e.tag !== "?" && wi(e, e.dump, n, o, s);
2375
+ e.tag !== "?" && wo(e, e.dump, n, i, s);
2376
2376
  else {
2377
2377
  if (l === "[object Undefined]" || e.skipInvalid)
2378
2378
  return !1;
2379
- throw new ie("unacceptable kind of an object to dump " + l);
2379
+ throw new oe("unacceptable kind of an object to dump " + l);
2380
2380
  }
2381
2381
  e.tag !== null && e.tag !== "?" && (u = encodeURI(
2382
2382
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -2384,71 +2384,71 @@ function ve(e, n, t, r, a, o, i) {
2384
2384
  }
2385
2385
  return !0;
2386
2386
  }
2387
- function $i(e, n) {
2388
- var t = [], r = [], a, o;
2389
- for (ht(e, t, r), a = 0, o = r.length; a < o; a += 1)
2387
+ function To(e, n) {
2388
+ var t = [], r = [], a, i;
2389
+ for (ht(e, t, r), a = 0, i = r.length; a < i; a += 1)
2390
2390
  n.duplicates.push(t[r[a]]);
2391
- n.usedDuplicates = new Array(o);
2391
+ n.usedDuplicates = new Array(i);
2392
2392
  }
2393
2393
  function ht(e, n, t) {
2394
- var r, a, o;
2394
+ var r, a, i;
2395
2395
  if (e !== null && typeof e == "object")
2396
2396
  if (a = n.indexOf(e), a !== -1)
2397
2397
  t.indexOf(a) === -1 && t.push(a);
2398
2398
  else if (n.push(e), Array.isArray(e))
2399
- for (a = 0, o = e.length; a < o; a += 1)
2399
+ for (a = 0, i = e.length; a < i; a += 1)
2400
2400
  ht(e[a], n, t);
2401
2401
  else
2402
- for (r = Object.keys(e), a = 0, o = r.length; a < o; a += 1)
2402
+ for (r = Object.keys(e), a = 0, i = r.length; a < i; a += 1)
2403
2403
  ht(e[r[a]], n, t);
2404
2404
  }
2405
- function ji(e, n) {
2405
+ function jo(e, n) {
2406
2406
  n = n || {};
2407
- var t = new yi(n);
2408
- t.noRefs || $i(e, t);
2407
+ var t = new yo(n);
2408
+ t.noRefs || To(e, t);
2409
2409
  var r = e;
2410
2410
  return t.replacer && (r = t.replacer.call({ "": r }, "", r)), ve(t, 0, r, !0, !0) ? t.dump + `
2411
2411
  ` : "";
2412
2412
  }
2413
- var Ti = ji, Mi = {
2414
- dump: Ti
2413
+ var $o = jo, Mo = {
2414
+ dump: $o
2415
2415
  };
2416
2416
  function xt(e, n) {
2417
2417
  return function() {
2418
2418
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2419
2419
  };
2420
2420
  }
2421
- var Oi = re, Ei = wn, Ni = Sn, Fi = Mn, qi = On, Ki = It, Bi = Wn.load, Li = Wn.loadAll, Ui = Mi.dump, Pi = ie, Ri = {
2421
+ var Oo = re, Eo = wn, No = An, Fo = Mn, qo = On, Ko = It, Lo = Wn.load, Bo = Wn.loadAll, Po = Mo.dump, Uo = oe, Ro = {
2422
2422
  binary: Kn,
2423
- float: Tn,
2424
- map: An,
2423
+ float: $n,
2424
+ map: Sn,
2425
2425
  null: xn,
2426
- pairs: Ln,
2427
- set: Un,
2426
+ pairs: Bn,
2427
+ set: Pn,
2428
2428
  timestamp: Fn,
2429
- bool: $n,
2429
+ bool: Tn,
2430
2430
  int: jn,
2431
2431
  merge: qn,
2432
- omap: Bn,
2432
+ omap: Ln,
2433
2433
  seq: _n,
2434
2434
  str: In
2435
- }, Vi = xt("safeLoad", "load"), Di = xt("safeLoadAll", "loadAll"), zi = xt("safeDump", "dump"), Gi = {
2436
- Type: Oi,
2437
- Schema: Ei,
2438
- FAILSAFE_SCHEMA: Ni,
2439
- JSON_SCHEMA: Fi,
2440
- CORE_SCHEMA: qi,
2441
- DEFAULT_SCHEMA: Ki,
2442
- load: Bi,
2443
- loadAll: Li,
2444
- dump: Ui,
2445
- YAMLException: Pi,
2446
- types: Ri,
2447
- safeLoad: Vi,
2448
- safeLoadAll: Di,
2449
- safeDump: zi
2435
+ }, Vo = xt("safeLoad", "load"), Do = xt("safeLoadAll", "loadAll"), zo = xt("safeDump", "dump"), Go = {
2436
+ Type: Oo,
2437
+ Schema: Eo,
2438
+ FAILSAFE_SCHEMA: No,
2439
+ JSON_SCHEMA: Fo,
2440
+ CORE_SCHEMA: qo,
2441
+ DEFAULT_SCHEMA: Ko,
2442
+ load: Lo,
2443
+ loadAll: Bo,
2444
+ dump: Po,
2445
+ YAMLException: Uo,
2446
+ types: Ro,
2447
+ safeLoad: Vo,
2448
+ safeLoadAll: Do,
2449
+ safeDump: zo
2450
2450
  };
2451
- const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2451
+ const Ho = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2452
2452
  __name: "YamlCodeBlock",
2453
2453
  props: {
2454
2454
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2458,14 +2458,14 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2458
2458
  }
2459
2459
  },
2460
2460
  setup(e) {
2461
- const n = e, t = $(() => {
2461
+ const n = e, t = T(() => {
2462
2462
  const r = Object.fromEntries(Object.entries(n.yamlRecord).filter(([, a]) => a && (Array.isArray(a) ? a.length !== 0 : !0)));
2463
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : Gi.dump(r).trim();
2463
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : Go.dump(r).trim();
2464
2464
  });
2465
2465
  return (r, a) => {
2466
- const o = P("KCodeBlock");
2467
- return g(), O("div", Hi, [
2468
- n.yamlRecord ? (g(), R(o, {
2466
+ const i = U("KCodeBlock");
2467
+ return g(), E("div", Ho, [
2468
+ n.yamlRecord ? (g(), R(i, {
2469
2469
  key: 0,
2470
2470
  id: "yaml-codeblock",
2471
2471
  code: t.value,
@@ -2475,13 +2475,13 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2475
2475
  ]);
2476
2476
  };
2477
2477
  }
2478
- }), Ji = {
2478
+ }), Jo = {
2479
2479
  key: 0,
2480
2480
  class: "config-card-display-form"
2481
- }, Wi = ["data-testid"], Yi = {
2481
+ }, Wo = ["data-testid"], Yo = {
2482
2482
  key: 0,
2483
2483
  class: "config-card-prop-section-title"
2484
- }, Zi = /* @__PURE__ */ W({
2484
+ }, Zo = /* @__PURE__ */ W({
2485
2485
  __name: "ConfigCardDisplay",
2486
2486
  props: {
2487
2487
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2520,29 +2520,29 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2520
2520
  }
2521
2521
  },
2522
2522
  setup(e) {
2523
- const n = e, t = vt(), { i18n: { t: r } } = ne.useI18n(), a = (i) => !!(i.tooltip || t[`${i.key}-label-tooltip`]), o = $(() => {
2523
+ const n = e, t = vt(), { i18n: { t: r } } = ne.useI18n(), a = (o) => !!(o.tooltip || t[`${o.key}-label-tooltip`]), i = T(() => {
2524
2524
  if (!n.record)
2525
2525
  return n.record;
2526
- const i = JSON.parse(JSON.stringify(n.record));
2527
- return delete i.created_at, delete i.updated_at, i;
2526
+ const o = JSON.parse(JSON.stringify(n.record));
2527
+ return delete o.created_at, delete o.updated_at, o;
2528
2528
  });
2529
- return (i, l) => (g(), O(de, null, [
2530
- e.format === "structured" ? (g(), O("div", Ji, [
2531
- (g(!0), O(de, null, ce(e.propListTypes, (s) => (g(), O("div", {
2529
+ return (o, l) => (g(), E(de, null, [
2530
+ e.format === "structured" ? (g(), E("div", Jo, [
2531
+ (g(!0), E(de, null, ce(e.propListTypes, (s) => (g(), E("div", {
2532
2532
  key: `config-card-details-${s}-props`,
2533
2533
  class: we(`config-card-details-${s}-props`),
2534
2534
  "data-testid": `config-card-details-${s}-props`
2535
2535
  }, [
2536
- s !== "basic" ? (g(), O("div", Yi, M(s === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2537
- (g(!0), O(de, null, ce(e.propertyCollections[s], (u) => (g(), R(vn, {
2536
+ s !== "basic" ? (g(), E("div", Yo, M(s === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2537
+ (g(!0), E(de, null, ce(e.propertyCollections[s], (u) => (g(), R(vn, {
2538
2538
  key: u.key,
2539
2539
  item: u
2540
- }, xe({
2541
- label: k(() => [
2542
- Q(i.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2540
+ }, Te({
2541
+ label: v(() => [
2542
+ Q(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2543
2543
  ]),
2544
- [u.key]: k(({ rowValue: d }) => [
2545
- Q(i.$slots, u.key, {
2544
+ [u.key]: v(({ rowValue: d }) => [
2545
+ Q(o.$slots, u.key, {
2546
2546
  row: u,
2547
2547
  rowValue: d
2548
2548
  }, void 0, !0)
@@ -2551,36 +2551,36 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2551
2551
  }, [
2552
2552
  a(u) ? {
2553
2553
  name: "label-tooltip",
2554
- fn: k(() => [
2555
- Q(i.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2554
+ fn: v(() => [
2555
+ Q(o.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2556
2556
  ]),
2557
2557
  key: "0"
2558
2558
  } : void 0
2559
2559
  ]), 1032, ["item"]))), 128))
2560
- ], 10, Wi))), 128))
2560
+ ], 10, Wo))), 128))
2561
2561
  ])) : G("", !0),
2562
2562
  e.format === "json" && n.record ? (g(), R(bn, {
2563
2563
  key: 1,
2564
2564
  config: n.config,
2565
2565
  "fetcher-url": n.fetcherUrl,
2566
- "json-record": o.value,
2566
+ "json-record": i.value,
2567
2567
  "request-method": "get"
2568
2568
  }, null, 8, ["config", "fetcher-url", "json-record"])) : G("", !0),
2569
2569
  e.format === "yaml" && n.record ? (g(), R(lr, {
2570
2570
  key: 2,
2571
- "yaml-record": o.value
2571
+ "yaml-record": i.value
2572
2572
  }, null, 8, ["yaml-record"])) : G("", !0)
2573
2573
  ], 64));
2574
2574
  }
2575
- }), Qi = /* @__PURE__ */ pe(Zi, [["__scopeId", "data-v-147a2f70"]]), _e = "24px", et = (e, n) => {
2575
+ }), Qo = /* @__PURE__ */ pe(Zo, [["__scopeId", "data-v-147a2f70"]]), _e = "24px", et = (e, n) => {
2576
2576
  const t = e.__vccOpts || e;
2577
2577
  for (const [r, a] of n)
2578
2578
  t[r] = a;
2579
2579
  return t;
2580
- }, Xi = (e) => (Ye("data-v-2295e0fb"), e = e(), Ze(), e), el = ["aria-hidden"], tl = {
2580
+ }, Xo = (e) => (Ye("data-v-2295e0fb"), e = e(), Ze(), e), el = ["aria-hidden"], tl = {
2581
2581
  key: 0,
2582
2582
  "data-testid": "kui-icon-svg-title"
2583
- }, nl = /* @__PURE__ */ Xi(() => /* @__PURE__ */ q("path", {
2583
+ }, nl = /* @__PURE__ */ Xo(() => /* @__PURE__ */ q("path", {
2584
2584
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2585
2585
  fill: "currentColor"
2586
2586
  }, null, -1)), rl = /* @__PURE__ */ W({
@@ -2635,16 +2635,16 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2635
2635
  }
2636
2636
  },
2637
2637
  setup(e) {
2638
- const n = e, t = $(() => {
2638
+ const n = e, t = T(() => {
2639
2639
  if (typeof n.size == "number" && n.size > 0)
2640
2640
  return `${n.size}px`;
2641
2641
  if (typeof n.size == "string") {
2642
- const a = String(n.size).replace(/px/gi, ""), o = Number(a);
2643
- if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2644
- return `${o}px`;
2642
+ const a = String(n.size).replace(/px/gi, ""), i = Number(a);
2643
+ if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2644
+ return `${i}px`;
2645
2645
  }
2646
2646
  return _e;
2647
- }), r = $(() => ({
2647
+ }), r = T(() => ({
2648
2648
  boxSizing: "border-box",
2649
2649
  color: n.color,
2650
2650
  display: n.display,
@@ -2652,14 +2652,14 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2652
2652
  lineHeight: "0",
2653
2653
  width: t.value
2654
2654
  }));
2655
- return (a, o) => (g(), R(je(e.as), {
2655
+ return (a, i) => (g(), R(Se(e.as), {
2656
2656
  "aria-hidden": e.decorative ? "true" : void 0,
2657
2657
  class: "kui-icon add-icon",
2658
2658
  "data-testid": "kui-icon-wrapper-add-icon",
2659
2659
  style: We(r.value)
2660
2660
  }, {
2661
- default: k(() => [
2662
- (g(), O("svg", {
2661
+ default: v(() => [
2662
+ (g(), E("svg", {
2663
2663
  "aria-hidden": e.decorative ? "true" : void 0,
2664
2664
  "data-testid": "kui-icon-svg-add-icon",
2665
2665
  fill: "none",
@@ -2669,17 +2669,17 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2669
2669
  width: "100%",
2670
2670
  xmlns: "http://www.w3.org/2000/svg"
2671
2671
  }, [
2672
- e.title ? (g(), O("title", tl, M(e.title), 1)) : G("", !0),
2672
+ e.title ? (g(), E("title", tl, M(e.title), 1)) : G("", !0),
2673
2673
  nl
2674
2674
  ], 8, el))
2675
2675
  ]),
2676
2676
  _: 1
2677
2677
  }, 8, ["aria-hidden", "style"]));
2678
2678
  }
2679
- }), al = /* @__PURE__ */ et(rl, [["__scopeId", "data-v-2295e0fb"]]), ol = (e) => (Ye("data-v-40a7f387"), e = e(), Ze(), e), il = ["aria-hidden"], ll = {
2679
+ }), al = /* @__PURE__ */ et(rl, [["__scopeId", "data-v-2295e0fb"]]), il = (e) => (Ye("data-v-40a7f387"), e = e(), Ze(), e), ol = ["aria-hidden"], ll = {
2680
2680
  key: 0,
2681
2681
  "data-testid": "kui-icon-svg-title"
2682
- }, sl = /* @__PURE__ */ ol(() => /* @__PURE__ */ q("path", {
2682
+ }, sl = /* @__PURE__ */ il(() => /* @__PURE__ */ q("path", {
2683
2683
  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",
2684
2684
  fill: "currentColor"
2685
2685
  }, null, -1)), ul = /* @__PURE__ */ W({
@@ -2734,16 +2734,16 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2734
2734
  }
2735
2735
  },
2736
2736
  setup(e) {
2737
- const n = e, t = $(() => {
2737
+ const n = e, t = T(() => {
2738
2738
  if (typeof n.size == "number" && n.size > 0)
2739
2739
  return `${n.size}px`;
2740
2740
  if (typeof n.size == "string") {
2741
- const a = String(n.size).replace(/px/gi, ""), o = Number(a);
2742
- if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2743
- return `${o}px`;
2741
+ const a = String(n.size).replace(/px/gi, ""), i = Number(a);
2742
+ if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2743
+ return `${i}px`;
2744
2744
  }
2745
2745
  return _e;
2746
- }), r = $(() => ({
2746
+ }), r = T(() => ({
2747
2747
  boxSizing: "border-box",
2748
2748
  color: n.color,
2749
2749
  display: n.display,
@@ -2751,14 +2751,14 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2751
2751
  lineHeight: "0",
2752
2752
  width: t.value
2753
2753
  }));
2754
- return (a, o) => (g(), R(je(e.as), {
2754
+ return (a, i) => (g(), R(Se(e.as), {
2755
2755
  "aria-hidden": e.decorative ? "true" : void 0,
2756
2756
  class: "kui-icon book-icon",
2757
2757
  "data-testid": "kui-icon-wrapper-book-icon",
2758
2758
  style: We(r.value)
2759
2759
  }, {
2760
- default: k(() => [
2761
- (g(), O("svg", {
2760
+ default: v(() => [
2761
+ (g(), E("svg", {
2762
2762
  "aria-hidden": e.decorative ? "true" : void 0,
2763
2763
  "data-testid": "kui-icon-svg-book-icon",
2764
2764
  fill: "none",
@@ -2768,9 +2768,9 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2768
2768
  width: "100%",
2769
2769
  xmlns: "http://www.w3.org/2000/svg"
2770
2770
  }, [
2771
- e.title ? (g(), O("title", ll, M(e.title), 1)) : G("", !0),
2771
+ e.title ? (g(), E("title", ll, M(e.title), 1)) : G("", !0),
2772
2772
  sl
2773
- ], 8, il))
2773
+ ], 8, ol))
2774
2774
  ]),
2775
2775
  _: 1
2776
2776
  }, 8, ["aria-hidden", "style"]));
@@ -2833,16 +2833,16 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2833
2833
  }
2834
2834
  },
2835
2835
  setup(e) {
2836
- const n = e, t = $(() => {
2836
+ const n = e, t = T(() => {
2837
2837
  if (typeof n.size == "number" && n.size > 0)
2838
2838
  return `${n.size}px`;
2839
2839
  if (typeof n.size == "string") {
2840
- const a = String(n.size).replace(/px/gi, ""), o = Number(a);
2841
- if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2842
- return `${o}px`;
2840
+ const a = String(n.size).replace(/px/gi, ""), i = Number(a);
2841
+ if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2842
+ return `${i}px`;
2843
2843
  }
2844
2844
  return _e;
2845
- }), r = $(() => ({
2845
+ }), r = T(() => ({
2846
2846
  boxSizing: "border-box",
2847
2847
  color: n.color,
2848
2848
  display: n.display,
@@ -2850,14 +2850,14 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2850
2850
  lineHeight: "0",
2851
2851
  width: t.value
2852
2852
  }));
2853
- return (a, o) => (g(), R(je(e.as), {
2853
+ return (a, i) => (g(), R(Se(e.as), {
2854
2854
  "aria-hidden": e.decorative ? "true" : void 0,
2855
2855
  class: "kui-icon chevron-down-icon",
2856
2856
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2857
2857
  style: We(r.value)
2858
2858
  }, {
2859
- default: k(() => [
2860
- (g(), O("svg", {
2859
+ default: v(() => [
2860
+ (g(), E("svg", {
2861
2861
  "aria-hidden": e.decorative ? "true" : void 0,
2862
2862
  "data-testid": "kui-icon-svg-chevron-down-icon",
2863
2863
  fill: "none",
@@ -2867,7 +2867,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2867
2867
  width: "100%",
2868
2868
  xmlns: "http://www.w3.org/2000/svg"
2869
2869
  }, [
2870
- e.title ? (g(), O("title", fl, M(e.title), 1)) : G("", !0),
2870
+ e.title ? (g(), E("title", fl, M(e.title), 1)) : G("", !0),
2871
2871
  ml
2872
2872
  ], 8, pl))
2873
2873
  ]),
@@ -2932,16 +2932,16 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2932
2932
  }
2933
2933
  },
2934
2934
  setup(e) {
2935
- const n = e, t = $(() => {
2935
+ const n = e, t = T(() => {
2936
2936
  if (typeof n.size == "number" && n.size > 0)
2937
2937
  return `${n.size}px`;
2938
2938
  if (typeof n.size == "string") {
2939
- const a = String(n.size).replace(/px/gi, ""), o = Number(a);
2940
- if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2941
- return `${o}px`;
2939
+ const a = String(n.size).replace(/px/gi, ""), i = Number(a);
2940
+ if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2941
+ return `${i}px`;
2942
2942
  }
2943
2943
  return _e;
2944
- }), r = $(() => ({
2944
+ }), r = T(() => ({
2945
2945
  boxSizing: "border-box",
2946
2946
  color: n.color,
2947
2947
  display: n.display,
@@ -2949,14 +2949,14 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2949
2949
  lineHeight: "0",
2950
2950
  width: t.value
2951
2951
  }));
2952
- return (a, o) => (g(), R(je(e.as), {
2952
+ return (a, i) => (g(), R(Se(e.as), {
2953
2953
  "aria-hidden": e.decorative ? "true" : void 0,
2954
2954
  class: "kui-icon close-icon",
2955
2955
  "data-testid": "kui-icon-wrapper-close-icon",
2956
2956
  style: We(r.value)
2957
2957
  }, {
2958
- default: k(() => [
2959
- (g(), O("svg", {
2958
+ default: v(() => [
2959
+ (g(), E("svg", {
2960
2960
  "aria-hidden": e.decorative ? "true" : void 0,
2961
2961
  "data-testid": "kui-icon-svg-close-icon",
2962
2962
  fill: "none",
@@ -2966,14 +2966,17 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
2966
2966
  width: "100%",
2967
2967
  xmlns: "http://www.w3.org/2000/svg"
2968
2968
  }, [
2969
- e.title ? (g(), O("title", bl, M(e.title), 1)) : G("", !0),
2969
+ e.title ? (g(), E("title", bl, M(e.title), 1)) : G("", !0),
2970
2970
  kl
2971
2971
  ], 8, vl))
2972
2972
  ]),
2973
2973
  _: 1
2974
2974
  }, 8, ["aria-hidden", "style"]));
2975
2975
  }
2976
- }), wl = /* @__PURE__ */ et(Cl, [["__scopeId", "data-v-19f4cbbe"]]), Il = { "data-testid": "config-card-title" }, _l = { class: "config-card-actions" }, Al = ["href"], Sl = { class: "config-card-details-section" }, xl = /* @__PURE__ */ W({
2976
+ }), wl = /* @__PURE__ */ et(Cl, [["__scopeId", "data-v-19f4cbbe"]]), Il = {
2977
+ class: "config-card-title",
2978
+ "data-testid": "config-card-title"
2979
+ }, _l = { class: "config-card-actions" }, Sl = ["href"], Al = { class: "config-card-details-section" }, xl = /* @__PURE__ */ W({
2977
2980
  __name: "EntityBaseConfigCard",
2978
2981
  props: {
2979
2982
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3043,16 +3046,20 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3043
3046
  type: String,
3044
3047
  default: "",
3045
3048
  required: !1
3049
+ },
3050
+ titleTag: {
3051
+ type: String,
3052
+ default: "h2"
3046
3053
  }
3047
3054
  },
3048
3055
  emits: ["loading", "fetch:success", "fetch:error"],
3049
3056
  setup(e, { emit: n }) {
3050
3057
  var t;
3051
- const r = n, a = e, { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: i } = ne.useErrors(), { convertKeyToTitle: l } = ne.useStringHelpers(), { axiosInstance: s } = ne.useAxios({
3058
+ const r = n, a = e, { i18n: { t: i } } = ne.useI18n(), { getMessageFromError: o } = ne.useErrors(), { convertKeyToTitle: l } = ne.useStringHelpers(), { axiosInstance: s } = ne.useAxios({
3052
3059
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3053
3060
  }), u = [
3054
3061
  {
3055
- label: o("baseConfigCard.general.structuredFormat"),
3062
+ label: i("baseConfigCard.general.structuredFormat"),
3056
3063
  value: "structured",
3057
3064
  selected: !0
3058
3065
  },
@@ -3069,7 +3076,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3069
3076
  }, h = {
3070
3077
  id: {
3071
3078
  type: Y.ID,
3072
- label: o("baseConfigCard.commonFields.id_label"),
3079
+ label: i("baseConfigCard.commonFields.id_label"),
3073
3080
  order: 0,
3074
3081
  section: se.Basic
3075
3082
  },
@@ -3084,13 +3091,13 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3084
3091
  },
3085
3092
  updated_at: {
3086
3093
  type: Y.Date,
3087
- label: o("baseConfigCard.commonFields.updated_at_label"),
3094
+ label: i("baseConfigCard.commonFields.updated_at_label"),
3088
3095
  order: 3,
3089
3096
  section: se.Basic
3090
3097
  },
3091
3098
  created_at: {
3092
3099
  type: Y.Date,
3093
- label: o("baseConfigCard.commonFields.created_at_label"),
3100
+ label: i("baseConfigCard.commonFields.created_at_label"),
3094
3101
  order: 4,
3095
3102
  section: se.Basic
3096
3103
  },
@@ -3100,21 +3107,21 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3100
3107
  // the last property displayed
3101
3108
  section: se.Basic
3102
3109
  }
3103
- }, f = N(!1), _ = N(!1), w = N(""), A = N({}), U = $(() => {
3104
- var p, C, b;
3105
- if (!A.value)
3110
+ }, f = N(!1), _ = N(!1), w = N(""), S = N({}), P = T(() => {
3111
+ var p, C, k;
3112
+ if (!S.value)
3106
3113
  return [];
3107
- const I = [], L = Object.keys(A.value).length;
3108
- for (const S in A.value) {
3109
- const F = (C = (p = a.configSchema) == null ? void 0 : p[S]) == null ? void 0 : C.order, x = (b = h[S]) == null ? void 0 : b.order;
3110
- let K = L;
3111
- (x || x === 0) && (K = x === -1 ? L + 1 : x), F && (K = F === -1 ? L + 1 : F), I.push([S, K]);
3114
+ const I = [], B = Object.keys(S.value).length;
3115
+ for (const A in S.value) {
3116
+ const F = (C = (p = a.configSchema) == null ? void 0 : p[A]) == null ? void 0 : C.order, x = (k = h[A]) == null ? void 0 : k.order;
3117
+ let K = B;
3118
+ (x || x === 0) && (K = x === -1 ? B + 1 : x), F && (K = F === -1 ? B + 1 : F), I.push([A, K]);
3112
3119
  }
3113
- return I.sort(function(S, F) {
3114
- return S[1] - F[1];
3115
- }), I.map((S) => {
3120
+ return I.sort(function(A, F) {
3121
+ return A[1] - F[1];
3122
+ }), I.map((A) => {
3116
3123
  var F, x;
3117
- const K = S[0], V = (F = A.value) == null ? void 0 : F[K], D = ((x = a.configSchema) == null ? void 0 : x[K]) || {}, ae = h[K];
3124
+ const K = A[0], V = (F = S.value) == null ? void 0 : F[K], D = ((x = a.configSchema) == null ? void 0 : x[K]) || {}, ae = h[K];
3118
3125
  return {
3119
3126
  key: K,
3120
3127
  value: V,
@@ -3124,22 +3131,22 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3124
3131
  tooltip: D.tooltip ?? ((ae == null ? void 0 : ae.tooltip) || void 0),
3125
3132
  section: D.section ?? ((ae == null ? void 0 : ae.section) || se.Advanced)
3126
3133
  };
3127
- }).filter((S) => !S.hidden && S.key !== a.pluginConfigKey);
3128
- }), B = $(() => {
3134
+ }).filter((A) => !A.hidden && A.key !== a.pluginConfigKey);
3135
+ }), L = T(() => {
3129
3136
  var p, C;
3130
- if (!A.value || !a.pluginConfigKey)
3137
+ if (!S.value || !a.pluginConfigKey)
3131
3138
  return [];
3132
- const b = A.value[a.pluginConfigKey] || {}, I = Object.keys(b).length, L = [];
3133
- for (const S in b) {
3134
- const F = (C = (p = a.pluginConfigSchema) == null ? void 0 : p[S]) == null ? void 0 : C.order, x = b[S];
3139
+ const k = S.value[a.pluginConfigKey] || {}, I = Object.keys(k).length, B = [];
3140
+ for (const A in k) {
3141
+ const F = (C = (p = a.pluginConfigSchema) == null ? void 0 : p[A]) == null ? void 0 : C.order, x = k[A];
3135
3142
  let K = x != null && x !== "" ? I - 1 : I;
3136
- F && (K = F === -1 ? I + 1 : F), L.push([S, K]);
3143
+ F && (K = F === -1 ? I + 1 : F), B.push([A, K]);
3137
3144
  }
3138
- return L.sort(function(S, F) {
3139
- return S[1] - F[1];
3140
- }), L.map((S) => {
3145
+ return B.sort(function(A, F) {
3146
+ return A[1] - F[1];
3147
+ }), B.map((A) => {
3141
3148
  var F;
3142
- const x = S[0], K = b[x], V = ((F = a.pluginConfigSchema) == null ? void 0 : F[x]) || {};
3149
+ const x = A[0], K = k[x], V = ((F = a.pluginConfigSchema) == null ? void 0 : F[x]) || {};
3143
3150
  return {
3144
3151
  key: x,
3145
3152
  value: K,
@@ -3149,21 +3156,21 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3149
3156
  tooltip: V.tooltip ?? void 0,
3150
3157
  section: se.Plugin
3151
3158
  };
3152
- }).filter((S) => !S.hidden);
3153
- }), Z = $(() => {
3154
- var p, C, b, I;
3159
+ }).filter((A) => !A.hidden);
3160
+ }), Z = T(() => {
3161
+ var p, C, k, I;
3155
3162
  return {
3156
- basic: (p = U.value) == null ? void 0 : p.filter((L) => L.section === se.Basic),
3157
- advanced: (C = U.value) == null ? void 0 : C.filter((L) => L.section === se.Advanced),
3158
- plugin: (I = B.value) == null ? void 0 : I.concat((b = U.value) == null ? void 0 : b.filter((L) => L.section === se.Plugin))
3163
+ basic: (p = P.value) == null ? void 0 : p.filter((B) => B.section === se.Basic),
3164
+ advanced: (C = P.value) == null ? void 0 : C.filter((B) => B.section === se.Advanced),
3165
+ plugin: (I = L.value) == null ? void 0 : I.concat((k = P.value) == null ? void 0 : k.filter((B) => B.section === se.Plugin))
3159
3166
  };
3160
- }), v = $(() => {
3167
+ }), b = T(() => {
3161
3168
  const p = [];
3162
3169
  return Z.value.basic.length && p.push("basic"), Z.value.advanced.length && p.push("advanced"), Z.value.plugin.length && p.push("plugin"), p;
3163
- }), y = $(() => {
3170
+ }), y = T(() => {
3164
3171
  var p, C;
3165
- let b = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3166
- return a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (C = a.config) != null && C.workspace ? `/${a.config.workspace}` : "")), b = b.replace(/{id}/gi, a.config.entityId), b;
3172
+ let k = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3173
+ return a.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (C = a.config) != null && C.workspace ? `/${a.config.workspace}` : "")), k = k.replace(/{id}/gi, a.config.entityId), k;
3167
3174
  });
3168
3175
  return ye(f, (p) => {
3169
3176
  r("loading", p);
@@ -3173,61 +3180,64 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3173
3180
  const { data: p } = await s.get(y.value);
3174
3181
  if (a.dataKey)
3175
3182
  if (typeof p[a.dataKey] < "u")
3176
- A.value = { ...p[a.dataKey] };
3183
+ S.value = { ...p[a.dataKey] };
3177
3184
  else
3178
- throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3185
+ throw new Error(i("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3179
3186
  else
3180
- A.value = { ...p };
3187
+ S.value = { ...p };
3181
3188
  Object.keys(a.configSchema).filter((C) => a.configSchema[C].forceShow).forEach((C) => {
3182
- A.value && typeof A.value[C] > "u" && (A.value[C] = null);
3189
+ S.value && typeof S.value[C] > "u" && (S.value[C] = null);
3183
3190
  }), r("fetch:success", p);
3184
3191
  } catch (p) {
3185
- const C = i(p);
3186
- w.value = C.startsWith("code") ? o("baseConfigCard.errors.load") : C, _.value = !0, r("fetch:error", p);
3192
+ const C = o(p);
3193
+ w.value = C.startsWith("code") ? i("baseConfigCard.errors.load") : C, _.value = !0, r("fetch:error", p);
3187
3194
  } finally {
3188
3195
  f.value = !1;
3189
3196
  }
3190
3197
  }), (p, C) => {
3191
- const b = P("KLabel"), I = P("KSelect"), L = P("KButton"), S = P("KSkeleton"), F = P("KEmptyState"), x = P("KCard");
3192
- return g(), R(x, { class: "kong-ui-entity-base-config-card" }, xe({
3193
- actions: k(() => [
3198
+ const k = U("KLabel"), I = U("KSelect"), B = U("KButton"), A = U("KSkeleton"), F = U("KEmptyState"), x = U("KCard");
3199
+ return g(), R(x, {
3200
+ class: "kong-ui-entity-base-config-card",
3201
+ "title-tag": e.titleTag
3202
+ }, Te({
3203
+ actions: v(() => [
3194
3204
  q("div", _l, [
3195
3205
  Q(p.$slots, "actions", {}, void 0, !0),
3196
- T(b, {
3206
+ $(k, {
3197
3207
  class: "config-format-select-label",
3198
3208
  "data-testid": "config-format-select-label"
3199
3209
  }, {
3200
- default: k(() => [
3210
+ default: v(() => [
3201
3211
  H(M(e.label), 1)
3202
3212
  ]),
3203
3213
  _: 1
3204
3214
  }),
3205
- T(I, {
3215
+ $(I, {
3206
3216
  "data-testid": "select-config-format",
3207
3217
  items: u,
3208
3218
  onChange: c
3209
3219
  }),
3210
- e.configCardDoc ? (g(), R(L, {
3220
+ e.configCardDoc ? (g(), R(B, {
3211
3221
  key: 0,
3212
3222
  appearance: "tertiary",
3213
3223
  class: "book-icon",
3214
3224
  "data-testid": "book-icon"
3215
3225
  }, {
3216
- default: k(() => [
3226
+ default: v(() => [
3217
3227
  q("a", {
3218
3228
  href: e.configCardDoc,
3219
3229
  rel: "noopener",
3220
3230
  target: "_blank"
3221
3231
  }, [
3222
- T(m(cl), { size: m(da) }, null, 8, ["size"])
3223
- ], 8, Al)
3232
+ $(m(cl), { size: m(da) }, null, 8, ["size"])
3233
+ ], 8, Sl)
3224
3234
  ]),
3225
3235
  _: 1
3226
3236
  })) : G("", !0)
3227
3237
  ])
3228
3238
  ]),
3229
- default: k(() => [
3230
- f.value ? (g(), R(S, {
3239
+ default: v(() => [
3240
+ f.value ? (g(), R(A, {
3231
3241
  key: 0,
3232
3242
  "data-testid": "config-card-loader",
3233
3243
  "table-columns": 2,
@@ -3237,23 +3247,23 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3237
3247
  "data-testid": "config-card-fetch-error",
3238
3248
  "icon-variant": "error"
3239
3249
  }, {
3240
- default: k(() => [
3250
+ default: v(() => [
3241
3251
  q("h3", null, M(w.value), 1)
3242
3252
  ]),
3243
3253
  _: 1
3244
3254
  })) : G("", !0),
3245
- q("div", Sl, [
3246
- T(Qi, {
3255
+ q("div", Al, [
3256
+ $(Qo, {
3247
3257
  config: e.config,
3248
3258
  "fetcher-url": y.value,
3249
3259
  format: d.value,
3250
- "prop-list-types": v.value,
3260
+ "prop-list-types": b.value,
3251
3261
  "property-collections": Z.value,
3252
- record: A.value
3253
- }, xe({ _: 2 }, [
3262
+ record: S.value
3263
+ }, Te({ _: 2 }, [
3254
3264
  ce(Object.keys(p.$slots), (K) => ({
3255
3265
  name: K,
3256
- fn: k(({ row: V, rowValue: D }) => [
3266
+ fn: v(({ row: V, rowValue: D }) => [
3257
3267
  Q(p.$slots, K, {
3258
3268
  row: V,
3259
3269
  rowValue: D
@@ -3267,22 +3277,22 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3267
3277
  }, [
3268
3278
  e.hideTitle ? void 0 : {
3269
3279
  name: "title",
3270
- fn: k(() => [
3271
- q("div", Il, [
3280
+ fn: v(() => [
3281
+ q("span", Il, [
3272
3282
  Q(p.$slots, "title", {}, () => [
3273
- H(M(m(o)("baseConfigCard.title")), 1)
3283
+ H(M(m(i)("baseConfigCard.title")), 1)
3274
3284
  ], !0)
3275
3285
  ])
3276
3286
  ]),
3277
3287
  key: "0"
3278
3288
  }
3279
- ]), 1024);
3289
+ ]), 1032, ["title-tag"]);
3280
3290
  };
3281
3291
  }
3282
- }), $l = /* @__PURE__ */ pe(xl, [["__scopeId", "data-v-491f1797"]]), jl = {
3292
+ }), Tl = /* @__PURE__ */ pe(xl, [["__scopeId", "data-v-7c5b607d"]]), jl = {
3283
3293
  class: "form-actions",
3284
3294
  "data-testid": "form-actions"
3285
- }, Tl = /* @__PURE__ */ W({
3295
+ }, $l = /* @__PURE__ */ W({
3286
3296
  __name: "EntityBaseForm",
3287
3297
  props: {
3288
3298
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3337,137 +3347,137 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3337
3347
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3338
3348
  setup(e, { emit: n }) {
3339
3349
  var t;
3340
- const r = n, a = e, o = bt(), { i18n: { t: i } } = ne.useI18n(), { getMessageFromError: l } = ne.useErrors(), { axiosInstance: s } = ne.useAxios({
3350
+ const r = n, a = e, i = bt(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: l } = ne.useErrors(), { axiosInstance: s } = ne.useAxios({
3341
3351
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3342
- }), u = N(!1), d = N(!1), c = N(""), h = $(() => a.canSubmit === !1 || a.isReadonly), f = N(!1), _ = $(() => {
3343
- var v, y;
3352
+ }), u = N(!1), d = N(!1), c = N(""), h = T(() => a.canSubmit === !1 || a.isReadonly), f = N(!1), _ = T(() => {
3353
+ var b, y;
3344
3354
  let p = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3345
- return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (y = a.config) != null && y.workspace ? `/${a.config.workspace}` : "")), a.editId ? (p = p.replace(/{id}/gi, a.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
3355
+ return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((b = a.config) == null ? void 0 : b.controlPlaneId) || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (y = a.config) != null && y.workspace ? `/${a.config.workspace}` : "")), a.editId ? (p = p.replace(/{id}/gi, a.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
3346
3356
  }), w = () => {
3347
3357
  f.value = !f.value;
3348
- }, A = () => {
3349
- a.config.cancelRoute ? o.push(a.config.cancelRoute) : U();
3350
- }, U = () => {
3358
+ }, S = () => {
3359
+ a.config.cancelRoute ? i.push(a.config.cancelRoute) : P();
3360
+ }, P = () => {
3351
3361
  r("cancel");
3352
- }, B = () => {
3362
+ }, L = () => {
3353
3363
  h.value || r("submit");
3354
3364
  }, Z = N([
3355
3365
  {
3356
- title: i("baseForm.configuration.yaml"),
3366
+ title: o("baseForm.configuration.yaml"),
3357
3367
  hash: "#yaml"
3358
3368
  },
3359
3369
  {
3360
- title: i("baseForm.configuration.json"),
3370
+ title: o("baseForm.configuration.json"),
3361
3371
  hash: "#json"
3362
3372
  }
3363
3373
  ]);
3364
- return ye(() => u.value, (v) => {
3365
- r("loading", v);
3374
+ return ye(() => u.value, (b) => {
3375
+ r("loading", b);
3366
3376
  }, { immediate: !0 }), yt(async () => {
3367
3377
  if (a.editId)
3368
3378
  try {
3369
3379
  d.value = !1, u.value = !0;
3370
- const { data: v } = await s.get(_.value);
3371
- r("fetch:success", v);
3372
- } catch (v) {
3373
- const y = l(v);
3374
- c.value = y.startsWith("code") ? i("baseForm.errors.edit") : y, d.value = !0, r("fetch:error", v);
3380
+ const { data: b } = await s.get(_.value);
3381
+ r("fetch:success", b);
3382
+ } catch (b) {
3383
+ const y = l(b);
3384
+ c.value = y.startsWith("code") ? o("baseForm.errors.edit") : y, d.value = !0, r("fetch:error", b);
3375
3385
  } finally {
3376
3386
  u.value = !1;
3377
3387
  }
3378
- }), (v, y) => {
3379
- const p = P("KSkeleton"), C = P("KEmptyState"), b = P("KAlert"), I = P("KButton"), L = P("KTabs"), S = P("KSlideout"), F = P("KCard");
3388
+ }), (b, y) => {
3389
+ const p = U("KSkeleton"), C = U("KEmptyState"), k = U("KAlert"), I = U("KButton"), B = U("KTabs"), A = U("KSlideout"), F = U("KCard");
3380
3390
  return g(), R(F, { class: "kong-ui-entity-base-form" }, {
3381
- default: k(() => [
3391
+ default: v(() => [
3382
3392
  u.value ? (g(), R(p, {
3383
3393
  key: 0,
3384
3394
  type: "form"
3385
3395
  })) : d.value ? (g(), R(C, {
3386
3396
  key: 1,
3387
- "action-button-text": m(i)("baseForm.actions.back"),
3397
+ "action-button-text": m(o)("baseForm.actions.back"),
3388
3398
  "data-testid": "form-fetch-error",
3389
3399
  "icon-variant": "error",
3390
- onClickAction: A
3400
+ onClickAction: S
3391
3401
  }, {
3392
- default: k(() => [
3402
+ default: v(() => [
3393
3403
  q("h3", null, M(c.value), 1)
3394
3404
  ]),
3395
3405
  _: 1
3396
- }, 8, ["action-button-text"])) : (g(), O("form", {
3406
+ }, 8, ["action-button-text"])) : (g(), E("form", {
3397
3407
  key: 2,
3398
3408
  "data-testid": "form-content",
3399
- onReset: ct(U, ["prevent"]),
3400
- onSubmit: ct(B, ["prevent"])
3409
+ onReset: ct(P, ["prevent"]),
3410
+ onSubmit: ct(L, ["prevent"])
3401
3411
  }, [
3402
- Q(v.$slots, "default", {}, void 0, !0),
3403
- e.errorMessage ? (g(), R(b, {
3412
+ Q(b.$slots, "default", {}, void 0, !0),
3413
+ e.errorMessage ? (g(), R(k, {
3404
3414
  key: 0,
3405
3415
  appearance: "danger",
3406
3416
  "data-testid": "form-error",
3407
3417
  message: e.errorMessage
3408
3418
  }, null, 8, ["message"])) : G("", !0),
3409
3419
  q("div", jl, [
3410
- Q(v.$slots, "form-actions", {}, () => [
3411
- T(I, {
3420
+ Q(b.$slots, "form-actions", {}, () => [
3421
+ $(I, {
3412
3422
  appearance: "tertiary",
3413
3423
  "data-testid": "form-view-configuration",
3414
3424
  onClick: y[0] || (y[0] = (x) => w())
3415
3425
  }, {
3416
- default: k(() => [
3417
- H(M(m(i)("baseForm.actions.viewConfiguration")), 1)
3426
+ default: v(() => [
3427
+ H(M(m(o)("baseForm.actions.viewConfiguration")), 1)
3418
3428
  ]),
3419
3429
  _: 1
3420
3430
  }),
3421
- T(I, {
3431
+ $(I, {
3422
3432
  appearance: "secondary",
3423
3433
  "data-testid": "form-cancel",
3424
3434
  disabled: e.isReadonly,
3425
3435
  type: "reset"
3426
3436
  }, {
3427
- default: k(() => [
3428
- H(M(m(i)("baseForm.actions.cancel")), 1)
3437
+ default: v(() => [
3438
+ H(M(m(o)("baseForm.actions.cancel")), 1)
3429
3439
  ]),
3430
3440
  _: 1
3431
3441
  }, 8, ["disabled"]),
3432
- T(I, {
3442
+ $(I, {
3433
3443
  appearance: "primary",
3434
3444
  "data-testid": "form-submit",
3435
3445
  disabled: h.value,
3436
3446
  type: "submit"
3437
3447
  }, {
3438
- default: k(() => [
3439
- H(M(m(i)("baseForm.actions.save")), 1)
3448
+ default: v(() => [
3449
+ H(M(m(o)("baseForm.actions.save")), 1)
3440
3450
  ]),
3441
3451
  _: 1
3442
3452
  }, 8, ["disabled"])
3443
3453
  ], !0)
3444
3454
  ])
3445
3455
  ], 32)),
3446
- T(S, {
3456
+ $(A, {
3447
3457
  "close-on-blur": !1,
3448
3458
  "data-testid": "form-view-configuration-slideout",
3449
3459
  "has-overlay": !1,
3450
3460
  "offset-top": 60,
3451
- title: m(i)("baseForm.configuration.title"),
3461
+ title: m(o)("baseForm.configuration.title"),
3452
3462
  visible: f.value,
3453
3463
  onClose: y[1] || (y[1] = (x) => w())
3454
3464
  }, {
3455
- default: k(() => [
3456
- q("div", null, M(m(i)("baseForm.configuration.message")), 1),
3457
- T(L, {
3465
+ default: v(() => [
3466
+ q("div", null, M(m(o)("baseForm.configuration.message")), 1),
3467
+ $(B, {
3458
3468
  "data-testid": "form-view-configuration-slideout-tabs",
3459
3469
  tabs: Z.value
3460
3470
  }, {
3461
- json: k(() => [
3462
- T(bn, {
3471
+ json: v(() => [
3472
+ $(bn, {
3463
3473
  config: e.config,
3464
3474
  "fetcher-url": _.value,
3465
3475
  "json-record": a.formFields,
3466
3476
  "request-method": a.editId ? "put" : "post"
3467
3477
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3468
3478
  ]),
3469
- yaml: k(() => [
3470
- T(lr, {
3479
+ yaml: v(() => [
3480
+ $(lr, {
3471
3481
  "yaml-record": a.formFields
3472
3482
  }, null, 8, ["yaml-record"])
3473
3483
  ]),
@@ -3481,7 +3491,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3481
3491
  });
3482
3492
  };
3483
3493
  }
3484
- }), Ml = /* @__PURE__ */ pe(Tl, [["__scopeId", "data-v-1d932d98"]]), Ol = {
3494
+ }), Ml = /* @__PURE__ */ pe($l, [["__scopeId", "data-v-1d932d98"]]), Ol = {
3485
3495
  key: 0,
3486
3496
  "data-testid": "first-col"
3487
3497
  }, El = /* @__PURE__ */ W({
@@ -3497,56 +3507,56 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3497
3507
  }
3498
3508
  },
3499
3509
  setup(e) {
3500
- const n = e, t = $(() => {
3510
+ const n = e, t = T(() => {
3501
3511
  var w;
3502
3512
  return ((w = n.rowEl) == null ? void 0 : w.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3503
- }), r = $(() => {
3513
+ }), r = T(() => {
3504
3514
  var w;
3505
3515
  return ((w = t.value) == null ? void 0 : w.querySelector('[data-testid="first-col"]')) || null;
3506
- }), a = $(() => {
3507
- var w, A;
3508
- const U = (w = n.rowEl) == null ? void 0 : w.querySelectorAll("td");
3509
- return U ? ((A = U[0]) == null ? void 0 : A.getAttribute("data-testid")) === n.keyName : !1;
3516
+ }), a = T(() => {
3517
+ var w, S;
3518
+ const P = (w = n.rowEl) == null ? void 0 : w.querySelectorAll("td");
3519
+ return P ? ((S = P[0]) == null ? void 0 : S.getAttribute("data-testid")) === n.keyName : !1;
3510
3520
  });
3511
- let o;
3512
- const i = () => {
3513
- o && (o.disconnect(), o = void 0);
3521
+ let i;
3522
+ const o = () => {
3523
+ i && (i.disconnect(), i = void 0);
3514
3524
  }, l = () => {
3515
- var w, A, U;
3516
- u.value = ((w = r.value) == null ? void 0 : w.getBoundingClientRect().width) || 0, d.value = ((A = t.value) == null ? void 0 : A.clientWidth) || 0, c.value = ((U = s.value) == null ? void 0 : U.innerText) || "";
3517
- }, s = N({}), u = N(0), d = N(0), c = N(""), h = $(() => [r.value, t.value]), f = ye(
3525
+ var w, S, P;
3526
+ u.value = ((w = r.value) == null ? void 0 : w.getBoundingClientRect().width) || 0, d.value = ((S = t.value) == null ? void 0 : S.clientWidth) || 0, c.value = ((P = s.value) == null ? void 0 : P.innerText) || "";
3527
+ }, s = N({}), u = N(0), d = N(0), c = N(""), h = T(() => [r.value, t.value]), f = ye(
3518
3528
  h,
3519
3529
  (w) => {
3520
- if (a.value && (i(), "ResizeObserver" in window && window)) {
3521
- o = new ResizeObserver((A) => {
3530
+ if (a.value && (o(), "ResizeObserver" in window && window)) {
3531
+ i = new ResizeObserver((S) => {
3522
3532
  window.requestAnimationFrame(() => {
3523
- !Array.isArray(A) || !A.length || l();
3533
+ !Array.isArray(S) || !S.length || l();
3524
3534
  });
3525
3535
  });
3526
- for (const A of w)
3527
- A && o.observe(A);
3536
+ for (const S of w)
3537
+ S && i.observe(S);
3528
3538
  }
3529
3539
  },
3530
3540
  { immediate: !0, flush: "post", deep: !0 }
3531
- ), _ = $(() => a.value ? u.value > d.value : !1);
3541
+ ), _ = T(() => a.value ? u.value > d.value : !1);
3532
3542
  return br(() => {
3533
3543
  l();
3534
3544
  }), kr(() => {
3535
3545
  f();
3536
- }), (w, A) => {
3537
- const U = P("KTooltip");
3538
- return g(), O("span", {
3546
+ }), (w, S) => {
3547
+ const P = U("KTooltip");
3548
+ return g(), E("span", {
3539
3549
  ref_key: "contentRef",
3540
3550
  ref: s,
3541
3551
  class: "content-wrapper"
3542
3552
  }, [
3543
- a.value ? (g(), O("span", Ol, [
3544
- T(U, {
3553
+ a.value ? (g(), E("span", Ol, [
3554
+ $(P, {
3545
3555
  "max-width": "300",
3546
3556
  placement: "bottomStart",
3547
3557
  text: _.value ? c.value : ""
3548
3558
  }, {
3549
- default: k(() => [
3559
+ default: v(() => [
3550
3560
  Q(w.$slots, "default", {}, void 0, !0)
3551
3561
  ]),
3552
3562
  _: 3
@@ -3558,7 +3568,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3558
3568
  }), Nl = /* @__PURE__ */ pe(El, [["__scopeId", "data-v-c4379fd4"]]), Fl = { class: "toolbar-container" }, ql = {
3559
3569
  key: 0,
3560
3570
  class: "toolbar-button-container"
3561
- }, Kl = ["data-testid"], Bl = /* @__PURE__ */ W({
3571
+ }, Kl = ["data-testid"], Ll = /* @__PURE__ */ W({
3562
3572
  __name: "EntityBaseTable",
3563
3573
  props: {
3564
3574
  // table header configuration
@@ -3660,6 +3670,10 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3660
3670
  type: String,
3661
3671
  default: ""
3662
3672
  },
3673
+ titleTag: {
3674
+ type: String,
3675
+ default: "h2"
3676
+ },
3663
3677
  /** default to false, setting to true will suppress the row click event even if "@click:row" is attached */
3664
3678
  disableRowClick: {
3665
3679
  type: Boolean,
@@ -3668,7 +3682,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3668
3682
  },
3669
3683
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3670
3684
  setup(e, { emit: n }) {
3671
- const t = e, r = n, { i18n: { t: a } } = ne.useI18n(), o = $(() => {
3685
+ const t = e, r = n, { i18n: { t: a } } = ne.useI18n(), i = T(() => {
3672
3686
  var y, p;
3673
3687
  return typeof t.errorMessage == "string" ? {
3674
3688
  hasError: !!t.errorMessage,
@@ -3679,7 +3693,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3679
3693
  title: (y = t.errorMessage) == null ? void 0 : y.title,
3680
3694
  message: (p = t.errorMessage) == null ? void 0 : p.message
3681
3695
  };
3682
- }), i = $(() => t.cacheIdentifier || t.preferencesStorageKey), l = (y) => y.hasData || !!t.query, s = $(() => {
3696
+ }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), l = (y) => y.hasData || !!t.query, s = T(() => {
3683
3697
  const y = [];
3684
3698
  return Object.keys(t.tableHeaders).forEach((p) => {
3685
3699
  const C = t.tableHeaders[p];
@@ -3713,30 +3727,31 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3713
3727
  r("empty-state-cta-clicked"), _();
3714
3728
  }, _ = () => {
3715
3729
  r("clear-search-input");
3716
- }, w = $(() => t.disableRowClick ? void 0 : (y, p) => {
3730
+ }, w = T(() => t.disableRowClick ? void 0 : (y, p) => {
3717
3731
  r("click:row", p);
3718
- }), A = (y) => {
3732
+ }), S = (y) => {
3719
3733
  r("sort", y);
3720
- }, { setTablePreferences: U, getTablePreferences: B } = Mr(), Z = $(() => {
3721
- const y = B(t.preferencesStorageKey);
3734
+ }, { setTablePreferences: P, getTablePreferences: L } = Mr(), Z = T(() => {
3735
+ const y = L(t.preferencesStorageKey);
3722
3736
  return {
3723
3737
  ...t.initialFetcherParams,
3724
3738
  ...y
3725
3739
  };
3726
- }), v = (y) => {
3727
- t.preferencesStorageKey && U(t.preferencesStorageKey, y);
3740
+ }), b = (y) => {
3741
+ t.preferencesStorageKey && P(t.preferencesStorageKey, y);
3728
3742
  };
3729
3743
  return (y, p) => {
3730
- const C = P("KIcon"), b = P("KButton"), I = P("KDropdown"), L = P("KTable"), S = P("KCard");
3731
- return g(), R(S, {
3744
+ const C = U("KIcon"), k = U("KButton"), I = U("KDropdown"), B = U("KTable"), A = U("KCard");
3745
+ return g(), R(A, {
3732
3746
  class: "kong-ui-entity-base-table",
3733
- title: e.title
3747
+ title: e.title,
3748
+ "title-tag": e.titleTag
3734
3749
  }, {
3735
- default: k(() => [
3736
- T(L, {
3750
+ default: v(() => [
3751
+ $(B, {
3737
3752
  ref_key: "tableRefs",
3738
3753
  ref: d,
3739
- "cache-identifier": i.value,
3754
+ "cache-identifier": o.value,
3740
3755
  "cell-attrs": h,
3741
3756
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3742
3757
  "disable-sorting": e.disableSorting,
@@ -3746,11 +3761,11 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3746
3761
  "empty-state-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3747
3762
  "empty-state-title": e.query ? m(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3748
3763
  "enable-client-sort": e.enableClientSort,
3749
- "error-state-message": o.value.message,
3750
- "error-state-title": o.value.title,
3764
+ "error-state-message": i.value.message,
3765
+ "error-state-title": i.value.title,
3751
3766
  fetcher: e.fetcher,
3752
3767
  "fetcher-cache-key": String(e.fetcherCacheKey),
3753
- "has-error": o.value.hasError,
3768
+ "has-error": i.value.hasError,
3754
3769
  headers: s.value,
3755
3770
  "hide-pagination-when-optional": "",
3756
3771
  "initial-fetcher-params": Z.value,
@@ -3760,43 +3775,43 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3760
3775
  "search-input": e.query,
3761
3776
  onKtableEmptyStateCtaClicked: f,
3762
3777
  "onRow:click": w.value,
3763
- onSort: p[0] || (p[0] = (F) => A(F)),
3764
- "onUpdate:tablePreferences": v
3765
- }, xe({
3766
- toolbar: k(({ state: F }) => [
3778
+ onSort: p[0] || (p[0] = (F) => S(F)),
3779
+ "onUpdate:tablePreferences": b
3780
+ }, Te({
3781
+ toolbar: v(({ state: F }) => [
3767
3782
  be(q("div", Fl, [
3768
3783
  Q(y.$slots, "toolbar-filter", {}, void 0, !0),
3769
- y.$slots["toolbar-button"] ? (g(), O("div", ql, [
3784
+ y.$slots["toolbar-button"] ? (g(), E("div", ql, [
3770
3785
  Q(y.$slots, "toolbar-button", {}, void 0, !0)
3771
3786
  ])) : G("", !0)
3772
3787
  ], 512), [
3773
3788
  [ke, l(F)]
3774
3789
  ])
3775
3790
  ]),
3776
- actions: k(({ row: F, rowKey: x, rowValue: K }) => [
3791
+ actions: v(({ row: F, rowKey: x, rowValue: K }) => [
3777
3792
  q("div", {
3778
3793
  class: "actions-container",
3779
3794
  "data-testid": F.name
3780
3795
  }, [
3781
- T(I, {
3796
+ $(I, {
3782
3797
  "kpop-attributes": { placement: "bottomEnd" },
3783
3798
  width: e.dropdownMenuWidth
3784
3799
  }, {
3785
- items: k(() => [
3800
+ items: v(() => [
3786
3801
  Q(y.$slots, "actions", {
3787
3802
  row: F,
3788
3803
  rowKey: x,
3789
3804
  rowValue: K
3790
3805
  }, void 0, !0)
3791
3806
  ]),
3792
- default: k(() => [
3793
- T(b, {
3807
+ default: v(() => [
3808
+ $(k, {
3794
3809
  class: "actions-trigger",
3795
3810
  "data-testid": "overflow-actions-button",
3796
3811
  size: "small"
3797
3812
  }, {
3798
- icon: k(() => [
3799
- T(C, {
3813
+ icon: v(() => [
3814
+ $(C, {
3800
3815
  color: m(sa),
3801
3816
  icon: "more",
3802
3817
  size: "16"
@@ -3813,12 +3828,12 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3813
3828
  }, [
3814
3829
  ce(e.tableHeaders, (F, x) => ({
3815
3830
  name: x,
3816
- fn: k(({ row: K, rowKey: V, rowValue: D }) => [
3817
- T(Nl, {
3831
+ fn: v(({ row: K, rowKey: V, rowValue: D }) => [
3832
+ $(Nl, {
3818
3833
  "key-name": String(x),
3819
3834
  "row-el": c(K)
3820
3835
  }, {
3821
- default: k(() => [
3836
+ default: v(() => [
3822
3837
  Q(y.$slots, x, {
3823
3838
  row: K,
3824
3839
  rowKey: V,
@@ -3833,21 +3848,21 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3833
3848
  })),
3834
3849
  e.query ? void 0 : {
3835
3850
  name: "empty-state-action-icon",
3836
- fn: k(() => [
3837
- T(m(al))
3851
+ fn: v(() => [
3852
+ $(m(al))
3838
3853
  ]),
3839
3854
  key: "0"
3840
3855
  }
3841
3856
  ]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
3842
3857
  ]),
3843
3858
  _: 3
3844
- }, 8, ["title"]);
3859
+ }, 8, ["title", "title-tag"]);
3845
3860
  };
3846
3861
  }
3847
- }), Ll = /* @__PURE__ */ pe(Bl, [["__scopeId", "data-v-273124cf"]]), Ul = {
3862
+ }), Bl = /* @__PURE__ */ pe(Ll, [["__scopeId", "data-v-99908c24"]]), Pl = {
3848
3863
  key: 0,
3849
3864
  class: "kong-ui-entity-delete-error"
3850
- }, Pl = {
3865
+ }, Ul = {
3851
3866
  key: 1,
3852
3867
  class: "description"
3853
3868
  }, Rl = /* @__PURE__ */ W({
@@ -3889,52 +3904,52 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3889
3904
  },
3890
3905
  emits: ["cancel", "proceed"],
3891
3906
  setup(e, { emit: n }) {
3892
- const { i18nT: t } = ne.useI18n(), r = e, a = n, o = $(() => r.needConfirm ? r.entityName : ""), i = () => {
3907
+ const { i18nT: t } = ne.useI18n(), r = e, a = n, i = T(() => r.needConfirm ? r.entityName : ""), o = () => {
3893
3908
  a("cancel");
3894
3909
  }, l = () => {
3895
3910
  a("proceed");
3896
3911
  };
3897
3912
  return (s, u) => {
3898
- const d = P("KAlert"), c = P("KPrompt");
3913
+ const d = U("KAlert"), c = U("KPrompt");
3899
3914
  return g(), R(c, {
3900
3915
  "action-button-appearance": "danger",
3901
3916
  "action-button-disabled": e.actionPending,
3902
3917
  "action-button-text": "Yes, delete",
3903
3918
  class: "kong-ui-entity-delete-modal",
3904
- "confirmation-text": o.value,
3919
+ "confirmation-text": i.value,
3905
3920
  title: e.title,
3906
3921
  visible: e.visible,
3907
- onCancel: i,
3922
+ onCancel: o,
3908
3923
  onProceed: l
3909
3924
  }, {
3910
- default: k(() => [
3911
- e.error ? (g(), O("div", Ul, [
3912
- T(d, { appearance: "danger" }, {
3913
- default: k(() => [
3925
+ default: v(() => [
3926
+ e.error ? (g(), E("div", Pl, [
3927
+ $(d, { appearance: "danger" }, {
3928
+ default: v(() => [
3914
3929
  H(M(e.error), 1)
3915
3930
  ]),
3916
3931
  _: 1
3917
3932
  })
3918
3933
  ])) : G("", !0),
3919
- T(m(t), {
3934
+ $(m(t), {
3920
3935
  class: "message",
3921
3936
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3922
3937
  tag: "p"
3923
- }, xe({
3924
- entityType: k(() => [
3938
+ }, Te({
3939
+ entityType: v(() => [
3925
3940
  H(M(r.entityType), 1)
3926
3941
  ]),
3927
3942
  _: 2
3928
3943
  }, [
3929
3944
  r.entityName ? {
3930
3945
  name: "entityName",
3931
- fn: k(() => [
3946
+ fn: v(() => [
3932
3947
  q("strong", null, M(r.entityName), 1)
3933
3948
  ]),
3934
3949
  key: "0"
3935
3950
  } : void 0
3936
3951
  ]), 1032, ["keypath"]),
3937
- r.description || s.$slots.description ? (g(), O("div", Pl, [
3952
+ r.description || s.$slots.description ? (g(), E("div", Ul, [
3938
3953
  Q(s.$slots, "description", {}, () => [
3939
3954
  q("p", null, M(r.description), 1)
3940
3955
  ], !0)
@@ -3963,11 +3978,11 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
3963
3978
  props: {
3964
3979
  color: {
3965
3980
  type: String,
3966
- default: `var(--kong-ui-entity-filter-color, ${ia})`
3981
+ default: `var(--kong-ui-entity-filter-color, ${oa})`
3967
3982
  }
3968
3983
  },
3969
3984
  setup(e) {
3970
- return (n, t) => (g(), O("svg", Dl, [
3985
+ return (n, t) => (g(), E("svg", Dl, [
3971
3986
  q("mask", zl, [
3972
3987
  q("rect", {
3973
3988
  fill: e.color,
@@ -4006,54 +4021,54 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4006
4021
  },
4007
4022
  emits: ["update:modelValue"],
4008
4023
  setup(e, { emit: n }) {
4009
- const { i18n: { t } } = ne.useI18n(), r = e, a = n, o = N(!1), i = N({}), l = N(/* @__PURE__ */ new Set()), s = $(() => {
4010
- const v = [];
4024
+ const { i18n: { t } } = ne.useI18n(), r = e, a = n, i = N(!1), o = N({}), l = N(/* @__PURE__ */ new Set()), s = T(() => {
4025
+ const b = [];
4011
4026
  return new URLSearchParams(r.modelValue).forEach((y, p) => {
4012
- y !== "" && v.push(p);
4013
- }), v;
4014
- }), u = $(() => {
4015
- const v = r.config.fields;
4016
- return Object.keys(v).filter((y) => v[y].searchable).map((y) => ({
4017
- label: v[y].label || y,
4027
+ y !== "" && b.push(p);
4028
+ }), b;
4029
+ }), u = T(() => {
4030
+ const b = r.config.fields;
4031
+ return Object.keys(b).filter((y) => b[y].searchable).map((y) => ({
4032
+ label: b[y].label || y,
4018
4033
  value: y,
4019
4034
  expanded: !1
4020
4035
  }));
4021
4036
  });
4022
- ye(() => r.modelValue, (v) => {
4023
- i.value = {}, new URLSearchParams(v).forEach((y, p) => {
4024
- i.value[p] = y;
4037
+ ye(() => r.modelValue, (b) => {
4038
+ o.value = {}, new URLSearchParams(b).forEach((y, p) => {
4039
+ o.value[p] = y;
4025
4040
  });
4026
4041
  });
4027
4042
  const d = () => {
4028
- o.value = !o.value;
4029
- }, c = (v) => {
4030
- l.value.has(v) ? l.value.delete(v) : l.value.add(v);
4031
- }, h = (v) => {
4032
- a("update:modelValue", v);
4043
+ i.value = !i.value;
4044
+ }, c = (b) => {
4045
+ l.value.has(b) ? l.value.delete(b) : l.value.add(b);
4046
+ }, h = (b) => {
4047
+ a("update:modelValue", b);
4033
4048
  }, f = () => {
4034
4049
  h("");
4035
- }, _ = (v) => `filter-${v}`, w = (v) => {
4050
+ }, _ = (b) => `filter-${b}`, w = (b) => {
4036
4051
  var y, p;
4037
- return (((p = (y = r.config.schema) == null ? void 0 : y[v]) == null ? void 0 : p.values) ?? []).map((C) => ({
4052
+ return (((p = (y = r.config.schema) == null ? void 0 : y[b]) == null ? void 0 : p.values) ?? []).map((C) => ({
4038
4053
  value: C,
4039
4054
  label: C
4040
4055
  }));
4041
- }, A = (v) => {
4056
+ }, S = (b) => {
4042
4057
  var y, p;
4043
- return ((p = (y = r.config.schema) == null ? void 0 : y[v]) == null ? void 0 : p.type) ?? "text";
4044
- }, U = (v) => {
4045
- i.value = {
4046
- ...i.value,
4047
- [v]: ""
4058
+ return ((p = (y = r.config.schema) == null ? void 0 : y[b]) == null ? void 0 : p.type) ?? "text";
4059
+ }, P = (b) => {
4060
+ o.value = {
4061
+ ...o.value,
4062
+ [b]: ""
4048
4063
  }, Z();
4049
- }, B = () => {
4050
- i.value = {}, Z(!0);
4051
- }, Z = (v = !1) => {
4052
- const y = Object.keys(i.value).reduce((p, C) => (i.value[C] && (p[C] = `${i.value[C]}`), p), {});
4053
- v && (o.value = !1), a("update:modelValue", new URLSearchParams(y).toString());
4064
+ }, L = () => {
4065
+ o.value = {}, Z(!0);
4066
+ }, Z = (b = !1) => {
4067
+ const y = Object.keys(o.value).reduce((p, C) => (o.value[C] && (p[C] = `${o.value[C]}`), p), {});
4068
+ b && (i.value = !1), a("update:modelValue", new URLSearchParams(y).toString());
4054
4069
  };
4055
- return (v, y) => {
4056
- const p = P("KInput"), C = P("KButton"), b = P("KSelect");
4070
+ return (b, y) => {
4071
+ const p = U("KInput"), C = U("KButton"), k = U("KSelect");
4057
4072
  return e.config.isExactMatch ? (g(), R(p, {
4058
4073
  key: 0,
4059
4074
  autocomplete: "off",
@@ -4063,11 +4078,11 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4063
4078
  placeholder: e.config.placeholder,
4064
4079
  "onUpdate:modelValue": h
4065
4080
  }, {
4066
- before: k(() => [
4067
- T(sn)
4081
+ before: v(() => [
4082
+ $(sn)
4068
4083
  ]),
4069
- after: k(() => [
4070
- be(T(m(wl), {
4084
+ after: v(() => [
4085
+ be($(m(wl), {
4071
4086
  class: "kong-ui-entity-filter-clear",
4072
4087
  onClick: f
4073
4088
  }, null, 512), [
@@ -4075,14 +4090,14 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4075
4090
  ])
4076
4091
  ]),
4077
4092
  _: 1
4078
- }, 8, ["model-value", "placeholder"])) : (g(), O("div", Wl, [
4079
- T(C, {
4093
+ }, 8, ["model-value", "placeholder"])) : (g(), E("div", Wl, [
4094
+ $(C, {
4080
4095
  appearance: "tertiary",
4081
4096
  "data-testid": "filter-button",
4082
4097
  onClick: d
4083
4098
  }, {
4084
- default: k(() => [
4085
- T(sn),
4099
+ default: v(() => [
4100
+ $(sn),
4086
4101
  H(" " + M(m(t)("filter.filterButtonText")) + " " + M(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4087
4102
  ]),
4088
4103
  _: 1
@@ -4091,12 +4106,12 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4091
4106
  class: "kong-ui-entity-filter-backdrop",
4092
4107
  onClick: d
4093
4108
  }, null, 512), [
4094
- [ke, o.value]
4109
+ [ke, i.value]
4095
4110
  ]),
4096
4111
  be(q("div", Yl, [
4097
- (g(!0), O(de, null, ce(u.value, (I) => {
4098
- var L, S;
4099
- return g(), O("div", {
4112
+ (g(!0), E(de, null, ce(u.value, (I) => {
4113
+ var B, A;
4114
+ return g(), E("div", {
4100
4115
  key: I.value,
4101
4116
  class: "kong-ui-entity-filter-menu-item",
4102
4117
  "data-testid": I.value
@@ -4112,7 +4127,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4112
4127
  be(q("span", Xl, null, 512), [
4113
4128
  [ke, s.value.includes(I.value)]
4114
4129
  ]),
4115
- T(m(hl), {
4130
+ $(m(hl), {
4116
4131
  class: we(["menu-item-expand-icon", { expanded: l.value.has(I.value) }]),
4117
4132
  color: m(ua)
4118
4133
  }, null, 8, ["class", "color"])
@@ -4122,44 +4137,44 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4122
4137
  class: "menu-item-label",
4123
4138
  for: _(I.value)
4124
4139
  }, M(m(t)("filter.fieldLabel")), 9, ts),
4125
- ((S = (L = e.config.schema) == null ? void 0 : L[I.value]) == null ? void 0 : S.type) === "select" ? (g(), R(b, {
4140
+ ((A = (B = e.config.schema) == null ? void 0 : B[I.value]) == null ? void 0 : A.type) === "select" ? (g(), R(k, {
4126
4141
  key: 0,
4127
4142
  id: _(I.value),
4128
- modelValue: i.value[I.value],
4129
- "onUpdate:modelValue": (F) => i.value[I.value] = F,
4143
+ modelValue: o.value[I.value],
4144
+ "onUpdate:modelValue": (F) => o.value[I.value] = F,
4130
4145
  items: w(I.value),
4131
4146
  placeholder: m(t)("filter.selectPlaceholder")
4132
4147
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (g(), R(p, {
4133
4148
  key: 1,
4134
4149
  id: _(I.value),
4135
- modelValue: i.value[I.value],
4136
- "onUpdate:modelValue": (F) => i.value[I.value] = F,
4150
+ modelValue: o.value[I.value],
4151
+ "onUpdate:modelValue": (F) => o.value[I.value] = F,
4137
4152
  autocomplete: "off",
4138
4153
  placeholder: m(t)("filter.inputPlaceholder"),
4139
- type: A(I.value)
4154
+ type: S(I.value)
4140
4155
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4141
4156
  ], 512), [
4142
4157
  [ke, l.value.has(I.value)]
4143
4158
  ]),
4144
4159
  be(q("div", ns, [
4145
- T(C, {
4160
+ $(C, {
4146
4161
  appearance: "tertiary",
4147
4162
  "data-testid": "apply-filter",
4148
4163
  size: "small",
4149
4164
  onClick: y[0] || (y[0] = (F) => Z(!0))
4150
4165
  }, {
4151
- default: k(() => [
4166
+ default: v(() => [
4152
4167
  H(M(m(t)("filter.applyButtonText")), 1)
4153
4168
  ]),
4154
4169
  _: 1
4155
4170
  }),
4156
- T(C, {
4171
+ $(C, {
4157
4172
  appearance: "tertiary",
4158
4173
  "data-testid": "clear-filter",
4159
4174
  size: "small",
4160
- onClick: (F) => U(I.value)
4175
+ onClick: (F) => P(I.value)
4161
4176
  }, {
4162
- default: k(() => [
4177
+ default: v(() => [
4163
4178
  H(M(m(t)("filter.clearButtonText")), 1)
4164
4179
  ]),
4165
4180
  _: 2
@@ -4170,24 +4185,24 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4170
4185
  ], 8, Zl);
4171
4186
  }), 128)),
4172
4187
  q("div", rs, [
4173
- T(C, {
4188
+ $(C, {
4174
4189
  appearance: "tertiary",
4175
4190
  size: "small",
4176
- onClick: B
4191
+ onClick: L
4177
4192
  }, {
4178
- default: k(() => [
4193
+ default: v(() => [
4179
4194
  H(M(m(t)("filter.clearAllButtonText")), 1)
4180
4195
  ]),
4181
4196
  _: 1
4182
4197
  })
4183
4198
  ])
4184
4199
  ], 512), [
4185
- [ke, o.value]
4200
+ [ke, i.value]
4186
4201
  ])
4187
4202
  ]));
4188
4203
  };
4189
4204
  }
4190
- }), os = /* @__PURE__ */ pe(as, [["__scopeId", "data-v-8cfadde3"]]), Ve = /* @__PURE__ */ W({
4205
+ }), is = /* @__PURE__ */ pe(as, [["__scopeId", "data-v-8cfadde3"]]), Ve = /* @__PURE__ */ W({
4191
4206
  __name: "PermissionsWrapper",
4192
4207
  props: {
4193
4208
  /**
@@ -4209,24 +4224,21 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4209
4224
  }
4210
4225
  },
4211
4226
  setup(e) {
4212
- const n = e, t = N(void 0), r = $(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4227
+ const n = e, t = N(void 0), r = T(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4213
4228
  return ye(() => n.authFunction, async () => {
4214
4229
  t.value = await n.authFunction();
4215
- }, { immediate: !0 }), (a, o) => r.value ? Q(a.$slots, "default", {
4230
+ }, { immediate: !0 }), (a, i) => r.value ? Q(a.$slots, "default", {
4216
4231
  key: 0,
4217
4232
  isAllowed: t.value
4218
4233
  }) : G("", !0);
4219
4234
  }
4220
- }), is = { class: "form-section-wrapper" }, ls = {
4221
- key: 0,
4222
- class: "form-section-title"
4223
- }, ss = {
4235
+ }), os = { class: "form-section-wrapper" }, ls = {
4224
4236
  key: 1,
4225
4237
  class: "form-section-description"
4226
- }, us = {
4238
+ }, ss = {
4227
4239
  key: 2,
4228
4240
  class: "form-section-footer"
4229
- }, cs = { class: "form-section-content" }, ds = /* @__PURE__ */ W({
4241
+ }, us = { class: "form-section-content" }, cs = /* @__PURE__ */ W({
4230
4242
  __name: "EntityFormSection",
4231
4243
  props: {
4232
4244
  title: {
@@ -4248,41 +4260,53 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4248
4260
  hideInfoHeader: {
4249
4261
  type: Boolean,
4250
4262
  default: !1
4263
+ },
4264
+ titleTag: {
4265
+ type: String,
4266
+ default: "h2"
4251
4267
  }
4252
4268
  },
4253
4269
  setup(e) {
4254
4270
  const n = vt();
4255
- return (t, r) => (g(), O("fieldset", {
4271
+ return (t, r) => (g(), E("fieldset", {
4256
4272
  class: we(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4257
4273
  }, [
4258
- q("div", is, [
4259
- e.hideInfoHeader ? G("", !0) : (g(), O("div", {
4274
+ q("div", os, [
4275
+ e.hideInfoHeader ? G("", !0) : (g(), E("div", {
4260
4276
  key: 0,
4261
4277
  class: we(["form-section-info", { sticky: e.stickyInfoHeader }])
4262
4278
  }, [
4263
- e.title ? (g(), O("h4", ls, M(e.title), 1)) : G("", !0),
4264
- e.description || m(n).description ? (g(), O("div", ss, [
4279
+ e.title ? (g(), R(Se(e.titleTag), {
4280
+ key: 0,
4281
+ class: "form-section-title"
4282
+ }, {
4283
+ default: v(() => [
4284
+ H(M(e.title), 1)
4285
+ ]),
4286
+ _: 1
4287
+ })) : G("", !0),
4288
+ e.description || m(n).description ? (g(), E("div", ls, [
4265
4289
  Q(t.$slots, "description", {}, () => [
4266
4290
  q("p", null, M(e.description), 1)
4267
4291
  ], !0)
4268
4292
  ])) : G("", !0),
4269
- m(n).footer ? (g(), O("div", us, [
4293
+ m(n).footer ? (g(), E("div", ss, [
4270
4294
  Q(t.$slots, "footer", {}, void 0, !0)
4271
4295
  ])) : G("", !0)
4272
4296
  ], 2)),
4273
- q("div", cs, [
4297
+ q("div", us, [
4274
4298
  Q(t.$slots, "default", {}, void 0, !0)
4275
4299
  ])
4276
4300
  ])
4277
4301
  ], 2));
4278
4302
  }
4279
- }), ps = /* @__PURE__ */ pe(ds, [["__scopeId", "data-v-3565daa7"]]), { useAxios: $t, useDeleteUrlBuilder: fs, useErrors: ms, useExternalLinkCreator: Bs, useFetchUrlBuilder: Ls, useFetcher: gs, useDebouncedFilter: hs, useStringHelpers: Us, useHelpers: Ps, useGatewayFeatureSupported: Rs, useTruncationDetector: Vs } = ne, ys = { class: "add-consumer-form-container" }, vs = { class: "add-consumer-form-cta" }, bs = { class: "select-item-label" }, ks = {
4303
+ }), ds = /* @__PURE__ */ pe(cs, [["__scopeId", "data-v-4bb31634"]]), { useAxios: Tt, useDeleteUrlBuilder: ps, useErrors: fs, useExternalLinkCreator: Ks, useFetchUrlBuilder: Ls, useFetcher: ms, useDebouncedFilter: gs, useStringHelpers: Bs, useHelpers: Ps, useGatewayFeatureSupported: Us, useTruncationDetector: Rs } = ne, hs = { class: "add-consumer-form-container" }, ys = { class: "add-consumer-form-cta" }, vs = { class: "select-item-label" }, bs = {
4280
4304
  key: 0,
4281
4305
  class: "select-item-desc"
4282
- }, Cs = {
4306
+ }, ks = {
4283
4307
  key: 0,
4284
4308
  class: "kong-ui-entity-add-consumers-error"
4285
- }, ws = { key: 0 }, Is = /* @__PURE__ */ W({
4309
+ }, Cs = { key: 0 }, ws = /* @__PURE__ */ W({
4286
4310
  __name: "AddConsumerModal",
4287
4311
  props: {
4288
4312
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4300,79 +4324,79 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4300
4324
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4301
4325
  setup(e, { emit: n }) {
4302
4326
  var F;
4303
- const { i18n: { t } } = Qe.useI18n(), r = e, a = n, { axiosInstance: o } = $t({
4327
+ const { i18n: { t } } = Qe.useI18n(), r = e, a = n, { axiosInstance: i } = Tt({
4304
4328
  headers: (F = r.config) == null ? void 0 : F.requestHeaders
4305
- }), i = N([]), {
4329
+ }), o = N([]), {
4306
4330
  debouncedQueryChange: l,
4307
4331
  loading: s,
4308
4332
  allRecords: u,
4309
4333
  error: d,
4310
4334
  loadItems: c,
4311
4335
  results: h
4312
- } = hs(
4336
+ } = gs(
4313
4337
  r.config,
4314
- $e.list[r.config.app].all,
4338
+ je.list[r.config.app].all,
4315
4339
  "",
4316
4340
  {
4317
4341
  fetchedItemsKey: "data",
4318
4342
  searchKeys: ["username", "id"]
4319
4343
  }
4320
- ), f = (x) => x, _ = $(() => d.value ? t("consumers.errors.general") : ""), w = N(0), A = $(() => u.value === void 0), U = $(() => h.value.map((x) => ({
4344
+ ), f = (x) => x, _ = T(() => d.value ? t("consumers.errors.general") : ""), w = N(0), S = T(() => u.value === void 0), P = T(() => h.value.map((x) => ({
4321
4345
  label: x.username || x.customId,
4322
4346
  value: x.id,
4323
- selected: i.value.includes(x.id),
4347
+ selected: o.value.includes(x.id),
4324
4348
  data: x
4325
4349
  // we need this to determine whether or not to show the description text
4326
- }))), B = (x) => {
4350
+ }))), L = (x) => {
4327
4351
  var V;
4328
- const K = A.value ? h.value.find((D) => D.id === x) : (V = u.value) == null ? void 0 : V.find((D) => D.id === x);
4352
+ const K = S.value ? h.value.find((D) => D.id === x) : (V = u.value) == null ? void 0 : V.find((D) => D.id === x);
4329
4353
  return K ? K.username || K.custom_id : x;
4330
4354
  }, Z = () => {
4331
- p.value = "", v.value = [], L.value = [], a("cancel");
4332
- }, v = N([]), y = N(!1), p = N(""), C = async () => {
4333
- if (!i.value.length) {
4334
- p.value = "", L.value = [], a("cancel");
4355
+ p.value = "", b.value = [], B.value = [], a("cancel");
4356
+ }, b = N([]), y = N(!1), p = N(""), C = async () => {
4357
+ if (!o.value.length) {
4358
+ p.value = "", B.value = [], a("cancel");
4335
4359
  return;
4336
4360
  }
4337
- y.value = !0, p.value = "", v.value = [], L.value = [];
4361
+ y.value = !0, p.value = "", b.value = [], B.value = [];
4338
4362
  try {
4339
- const x = i.value.map((D) => I(D)), K = await Promise.allSettled(x);
4363
+ const x = o.value.map((D) => I(D)), K = await Promise.allSettled(x);
4340
4364
  let V = !0;
4341
4365
  K.forEach((D) => {
4342
4366
  D.status !== "fulfilled" && (V = !1);
4343
- }), V ? (v.value = [], L.value = [], a("add:success", i.value), i.value = []) : (v.value.length && a("add:partial-success", v.value), i.value = [], S(K));
4367
+ }), V ? (b.value = [], B.value = [], a("add:success", o.value), o.value = []) : (b.value.length && a("add:partial-success", b.value), o.value = [], A(K));
4344
4368
  } catch {
4345
4369
  p.value = t("consumers.errors.add"), a("error", p.value);
4346
4370
  } finally {
4347
4371
  y.value = !1;
4348
4372
  }
4349
- }, b = $(() => {
4373
+ }, k = T(() => {
4350
4374
  var K, V, D, ae;
4351
- let x = `${r.config.apiBaseUrl}${$e.list[r.config.app].forConsumerGroup}`;
4375
+ let x = `${r.config.apiBaseUrl}${je.list[r.config.app].forConsumerGroup}`;
4352
4376
  return r.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((K = r.config) == null ? void 0 : K.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((V = r.config) == null ? void 0 : V.consumerGroupId) || "") : r.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (D = r.config) != null && D.workspace ? `/${r.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((ae = r.config) == null ? void 0 : ae.consumerGroupId) || "")), x;
4353
4377
  }), I = async (x) => {
4354
4378
  const K = {
4355
4379
  consumer: x
4356
4380
  };
4357
4381
  try {
4358
- const V = await o.post(b.value, K);
4359
- return v.value.push(x), V;
4382
+ const V = await i.post(k.value, K);
4383
+ return b.value.push(x), V;
4360
4384
  } catch (V) {
4361
- let D = `${B(x)} - ${V.message}`;
4362
- return V.response.status === 409 && (D = `${B(x)} - ${t("consumers.errors.already_added")}`), Promise.reject(Error(D));
4385
+ let D = `${L(x)} - ${V.message}`;
4386
+ return V.response.status === 409 && (D = `${L(x)} - ${t("consumers.errors.already_added")}`), Promise.reject(Error(D));
4363
4387
  }
4364
- }, L = N([]), S = (x) => {
4365
- L.value = x.map((K) => {
4388
+ }, B = N([]), A = (x) => {
4389
+ B.value = x.map((K) => {
4366
4390
  var V;
4367
4391
  return (V = K.reason) == null ? void 0 : V.message;
4368
4392
  }).filter(Boolean);
4369
4393
  };
4370
- return ye(U, () => {
4394
+ return ye(P, () => {
4371
4395
  w.value++;
4372
4396
  }, { immediate: !0, deep: !0 }), ye(() => r.visible, () => {
4373
4397
  r.visible && c();
4374
4398
  }, { immediate: !0 }), (x, K) => {
4375
- const V = P("KMultiselect"), D = P("KAlert"), ae = P("KPrompt");
4399
+ const V = U("KMultiselect"), D = U("KAlert"), ae = U("KPrompt");
4376
4400
  return g(), R(ae, {
4377
4401
  "action-button-disabled": y.value,
4378
4402
  class: "kong-ui-entities-add-consumers-modal",
@@ -4382,16 +4406,16 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4382
4406
  onCancel: Z,
4383
4407
  onProceed: C
4384
4408
  }, {
4385
- default: k(() => [
4386
- q("div", ys, [
4387
- q("p", vs, M(m(t)("consumers.consumer_groups.add.ctaText")), 1),
4388
- T(V, {
4389
- modelValue: i.value,
4390
- "onUpdate:modelValue": K[0] || (K[0] = (fe) => i.value = fe),
4409
+ default: v(() => [
4410
+ q("div", hs, [
4411
+ q("p", ys, M(m(t)("consumers.consumer_groups.add.ctaText")), 1),
4412
+ $(V, {
4413
+ modelValue: o.value,
4414
+ "onUpdate:modelValue": K[0] || (K[0] = (fe) => o.value = fe),
4391
4415
  autosuggest: "",
4392
4416
  "data-testid": "add-consumers-multiselect",
4393
- "dropdown-footer-text": A.value ? m(t)("consumers.consumer_groups.add.footer") : void 0,
4394
- items: U.value,
4417
+ "dropdown-footer-text": S.value ? m(t)("consumers.consumer_groups.add.footer") : void 0,
4418
+ items: P.value,
4395
4419
  label: m(t)("consumers.consumer_groups.add.consumers_label"),
4396
4420
  loading: m(s),
4397
4421
  placeholder: m(t)("consumers.consumer_groups.add.consumer_placeholder"),
@@ -4400,18 +4424,18 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4400
4424
  width: "100%",
4401
4425
  onQueryChange: m(l)
4402
4426
  }, {
4403
- "item-template": k(({ item: fe }) => [
4404
- q("div", bs, M(fe.label), 1),
4405
- f(fe).data.username && f(fe).data.custom_id ? (g(), O("div", ks, M(f(fe).data.custom_id), 1)) : G("", !0)
4427
+ "item-template": v(({ item: fe }) => [
4428
+ q("div", vs, M(fe.label), 1),
4429
+ f(fe).data.username && f(fe).data.custom_id ? (g(), E("div", bs, M(f(fe).data.custom_id), 1)) : G("", !0)
4406
4430
  ]),
4407
4431
  _: 1
4408
4432
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4409
- p.value || _.value || L.value.length ? (g(), O("div", Cs, [
4410
- T(D, { appearance: "danger" }, {
4411
- default: k(() => [
4433
+ p.value || _.value || B.value.length ? (g(), E("div", ks, [
4434
+ $(D, { appearance: "danger" }, {
4435
+ default: v(() => [
4412
4436
  q("p", null, M(m(t)("consumers.errors.add")), 1),
4413
- L.value.length ? (g(), O("ul", ws, [
4414
- (g(!0), O(de, null, ce(L.value, (fe, tt) => (g(), O("li", { key: tt }, M(fe), 1))), 128))
4437
+ B.value.length ? (g(), E("ul", Cs, [
4438
+ (g(!0), E(de, null, ce(B.value, (fe, tt) => (g(), E("li", { key: tt }, M(fe), 1))), 128))
4415
4439
  ])) : G("", !0),
4416
4440
  q("div", null, M(p.value || _.value), 1)
4417
4441
  ]),
@@ -4429,7 +4453,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4429
4453
  for (const [r, a] of n)
4430
4454
  t[r] = a;
4431
4455
  return t;
4432
- }, _s = /* @__PURE__ */ jt(Is, [["__scopeId", "data-v-f91d7d30"]]), As = { class: "kong-ui-entities-consumers-list" }, Ss = { key: 1 }, xs = /* @__PURE__ */ W({
4456
+ }, Is = /* @__PURE__ */ jt(ws, [["__scopeId", "data-v-f91d7d30"]]), _s = { class: "kong-ui-entities-consumers-list" }, Ss = { key: 1 }, As = /* @__PURE__ */ W({
4433
4457
  __name: "ConsumerList",
4434
4458
  props: {
4435
4459
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4476,25 +4500,25 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4476
4500
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4477
4501
  setup(e, { emit: n }) {
4478
4502
  var qt;
4479
- const t = n, r = e, { i18nT: a, i18n: { t: o } } = Qe.useI18n(), i = bt(), { axiosInstance: l } = $t({
4503
+ const t = n, r = e, { i18nT: a, i18n: { t: i } } = Qe.useI18n(), o = bt(), { axiosInstance: l } = Tt({
4480
4504
  headers: (qt = r.config) == null ? void 0 : qt.requestHeaders
4481
- }), s = N(1), u = $(() => !!r.config.consumerGroupId), d = $(
4505
+ }), s = N(1), u = T(() => !!r.config.consumerGroupId), d = T(
4482
4506
  () => u.value ? "kong-ui-entities-consumers-list-in-group-page" : "kong-ui-entities-consumers-list"
4483
- ), c = $(() => r.config.app !== "kongManager" || !!r.config.disableSorting), h = {
4484
- username: { label: o("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4485
- custom_id: { label: o("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4486
- tags: { label: o("consumers.list.table_headers.tags"), sortable: !1 }
4507
+ ), c = T(() => r.config.app !== "kongManager" || !!r.config.disableSorting), h = {
4508
+ username: { label: i("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4509
+ custom_id: { label: i("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4510
+ tags: { label: i("consumers.list.table_headers.tags"), sortable: !1 }
4487
4511
  }, f = h, _ = (j) => ({
4488
4512
  "data-testid": j.username ?? j.custom_id ?? j.id
4489
- }), w = $(() => {
4513
+ }), w = T(() => {
4490
4514
  var z, X, le, me;
4491
- let j = `${r.config.apiBaseUrl}${$e.list[r.config.app][u.value ? "forConsumerGroup" : "all"]}`;
4515
+ let j = `${r.config.apiBaseUrl}${je.list[r.config.app][u.value ? "forConsumerGroup" : "all"]}`;
4492
4516
  return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((z = r.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((X = r.config) == null ? void 0 : X.consumerGroupId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (le = r.config) != null && le.workspace ? `/${r.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((me = r.config) == null ? void 0 : me.consumerGroupId) || "")), j;
4493
- }), A = N(""), U = $(() => {
4517
+ }), S = N(""), P = T(() => {
4494
4518
  const j = r.config.app === "konnect" || r.config.isExactMatch;
4495
4519
  return j ? {
4496
4520
  isExactMatch: j,
4497
- placeholder: o(`consumers.search.placeholder.${r.config.app}`)
4521
+ placeholder: i(`consumers.search.placeholder.${r.config.app}`)
4498
4522
  } : {
4499
4523
  isExactMatch: j,
4500
4524
  fields: {
@@ -4503,48 +4527,48 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4503
4527
  },
4504
4528
  schema: r.config.filterSchema
4505
4529
  };
4506
- }), B = $(() => u.value && !r.config.paginatedEndpoint ? "consumers" : void 0), { fetcher: Z, fetcherState: v } = gs(r.config, w.value, B.value), y = () => {
4507
- A.value = "";
4530
+ }), L = T(() => u.value && !r.config.paginatedEndpoint ? "consumers" : void 0), { fetcher: Z, fetcherState: b } = ms(r.config, w.value, L.value), y = () => {
4531
+ S.value = "";
4508
4532
  }, p = () => {
4509
4533
  s.value++;
4510
- }, C = (j) => j ?? "-", b = N(null), I = (j, z) => {
4534
+ }, C = (j) => j ?? "-", k = N(null), I = (j, z) => {
4511
4535
  const X = j.id;
4512
4536
  if (!z(X)) {
4513
4537
  t("copy:error", {
4514
4538
  entity: j,
4515
4539
  field: "id",
4516
- message: o("consumers.errors.copy")
4540
+ message: i("consumers.errors.copy")
4517
4541
  });
4518
4542
  return;
4519
4543
  }
4520
4544
  t("copy:success", {
4521
4545
  entity: j,
4522
4546
  field: "id",
4523
- message: o("consumers.copy.success", { val: X })
4547
+ message: i("consumers.copy.success", { val: X })
4524
4548
  });
4525
- }, L = (j, z) => {
4549
+ }, B = (j, z) => {
4526
4550
  const X = JSON.stringify(j);
4527
4551
  if (!z(X)) {
4528
4552
  t("copy:error", {
4529
4553
  entity: j,
4530
- message: o("consumers.errors.copy")
4554
+ message: i("consumers.errors.copy")
4531
4555
  });
4532
4556
  return;
4533
4557
  }
4534
4558
  t("copy:success", {
4535
4559
  entity: j,
4536
- message: o("consumers.copy.success_brief")
4560
+ message: i("consumers.copy.success_brief")
4537
4561
  });
4538
- }, S = async (j) => {
4562
+ }, A = async (j) => {
4539
4563
  var X;
4540
- await ((X = r.canRetrieve) == null ? void 0 : X.call(r, j)) && i.push(r.config.getViewRoute(j.id));
4564
+ await ((X = r.canRetrieve) == null ? void 0 : X.call(r, j)) && o.push(r.config.getViewRoute(j.id));
4541
4565
  }, F = (j) => ({
4542
- label: o("consumers.actions.view"),
4566
+ label: i("consumers.actions.view"),
4543
4567
  to: r.config.getViewRoute(j)
4544
4568
  }), x = (j) => ({
4545
- label: o("consumers.actions.edit"),
4569
+ label: i("consumers.actions.edit"),
4546
4570
  to: r.config.getEditRoute(j)
4547
- }), K = N(void 0), V = N(!1), D = N(!1), ae = N(""), fe = fs(r.config, w.value), tt = (j) => {
4571
+ }), K = N(void 0), V = N(!1), D = N(!1), ae = N(""), fe = ps(r.config, w.value), tt = (j) => {
4548
4572
  K.value = j, V.value = !0;
4549
4573
  }, sr = () => {
4550
4574
  V.value = !1;
@@ -4555,26 +4579,26 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4555
4579
  try {
4556
4580
  await l.delete(fe(K.value.id)), D.value = !1, V.value = !1, s.value++, t("delete:success", K.value);
4557
4581
  } catch (le) {
4558
- ae.value = ((X = (z = le.response) == null ? void 0 : z.data) == null ? void 0 : X.message) || le.message || o("consumers.errors.delete"), t("error", le);
4582
+ ae.value = ((X = (z = le.response) == null ? void 0 : z.data) == null ? void 0 : X.message) || le.message || i("consumers.errors.delete"), t("error", le);
4559
4583
  } finally {
4560
4584
  D.value = !1;
4561
4585
  }
4562
4586
  }
4563
- }, nt = N(!1), Tt = () => {
4587
+ }, nt = N(!1), $t = () => {
4564
4588
  nt.value = !0;
4565
4589
  }, Mt = () => {
4566
4590
  nt.value = !1;
4567
4591
  }, Ot = (j, z) => {
4568
4592
  z || Mt(), s.value++, t("add:success", j);
4569
4593
  }, cr = () => {
4570
- u.value && Tt();
4594
+ u.value && $t();
4571
4595
  }, he = N(void 0), rt = N(!1), dr = N(""), pr = (j) => {
4572
4596
  he.value = j, rt.value = !0;
4573
4597
  }, Et = () => {
4574
4598
  rt.value = !1, he.value = void 0;
4575
- }, fr = $(() => {
4599
+ }, fr = T(() => {
4576
4600
  var z, X, le, me;
4577
- let j = `${r.config.apiBaseUrl}${$e.list[r.config.app].oneForConsumerGroup}`;
4601
+ let j = `${r.config.apiBaseUrl}${je.list[r.config.app].oneForConsumerGroup}`;
4578
4602
  return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((z = r.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((X = r.config) == null ? void 0 : X.consumerGroupId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (le = r.config) != null && le.workspace ? `/${r.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((me = r.config) == null ? void 0 : me.consumerGroupId) || "")), j;
4579
4603
  }), Nt = N(!1), mr = async () => {
4580
4604
  if (he.value) {
@@ -4583,81 +4607,81 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4583
4607
  const j = fr.value.replace(/{consumerId}/gi, he.value.id);
4584
4608
  await l.delete(j), t("remove:success", he.value), Et(), s.value++;
4585
4609
  } catch (j) {
4586
- dr.value = j.message || o("consumers.errors.delete"), t("error", j);
4610
+ dr.value = j.message || i("consumers.errors.delete"), t("error", j);
4587
4611
  } finally {
4588
4612
  Nt.value = !1;
4589
4613
  }
4590
4614
  }
4591
4615
  }, Ft = N(!0);
4592
- ye(v, (j) => {
4616
+ ye(b, (j) => {
4593
4617
  var z, X, le, me;
4594
4618
  if (Array.isArray((z = j == null ? void 0 : j.response) == null ? void 0 : z.data) && (Ft.value = j.response.data.length > 0), j.status === Ae.Error) {
4595
- b.value = {
4596
- title: o("consumers.errors.general")
4597
- }, (me = (le = (X = j.error) == null ? void 0 : X.response) == null ? void 0 : le.data) != null && me.message && (b.value.message = j.error.response.data.message), t("error", j.error);
4619
+ k.value = {
4620
+ title: i("consumers.errors.general")
4621
+ }, (me = (le = (X = j.error) == null ? void 0 : X.response) == null ? void 0 : le.data) != null && me.message && (k.value.message = j.error.response.data.message), t("error", j.error);
4598
4622
  return;
4599
4623
  }
4600
- b.value = null;
4624
+ k.value = null;
4601
4625
  });
4602
4626
  const at = N({
4603
4627
  ctaPath: u.value ? void 0 : r.config.createRoute,
4604
4628
  ctaText: void 0,
4605
- message: `${o("consumers.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
4606
- title: o("consumers.title")
4629
+ message: `${i("consumers.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
4630
+ title: i("consumers.title")
4607
4631
  });
4608
4632
  return yt(async () => {
4609
- await r.canCreate() && (at.value.title = u.value ? o("consumers.list.empty_state.title_for_consumer_group") : o("consumers.list.empty_state.title"), at.value.ctaText = u.value ? o("consumers.actions.add_consumer") : o("consumers.actions.create"));
4633
+ await r.canCreate() && (at.value.title = u.value ? i("consumers.list.empty_state.title_for_consumer_group") : i("consumers.list.empty_state.title"), at.value.ctaText = u.value ? i("consumers.actions.add_consumer") : i("consumers.actions.create"));
4610
4634
  }), (j, z) => {
4611
- const X = P("KButton"), le = P("KBadge"), me = P("KTruncate"), Ke = P("KDropdownItem"), Kt = P("KClipboardProvider"), gr = P("KPrompt");
4612
- return g(), O("div", As, [
4613
- T(m(Ll), {
4635
+ const X = U("KButton"), le = U("KBadge"), me = U("KTruncate"), Ke = U("KDropdownItem"), Kt = U("KClipboardProvider"), gr = U("KPrompt");
4636
+ return g(), E("div", _s, [
4637
+ $(m(Bl), {
4614
4638
  "cache-identifier": e.cacheIdentifier,
4615
4639
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4616
4640
  "disable-pagination-page-jump": "",
4617
4641
  "disable-sorting": c.value,
4618
4642
  "empty-state-options": at.value,
4619
4643
  "enable-entity-actions": "",
4620
- "error-message": b.value,
4644
+ "error-message": k.value,
4621
4645
  fetcher: m(Z),
4622
4646
  "fetcher-cache-key": s.value,
4623
4647
  "pagination-type": "offset",
4624
4648
  "preferences-storage-key": d.value,
4625
- query: A.value,
4649
+ query: S.value,
4626
4650
  "row-attributes": _,
4627
4651
  "table-headers": m(f),
4628
4652
  "use-action-outside": e.useActionOutside,
4629
4653
  onClearSearchInput: y,
4630
- "onClick:row": z[3] || (z[3] = (J) => S(J)),
4654
+ "onClick:row": z[3] || (z[3] = (J) => A(J)),
4631
4655
  onEmptyStateCtaClicked: cr,
4632
4656
  onSort: p
4633
4657
  }, {
4634
- "toolbar-filter": k(() => [
4635
- u.value ? G("", !0) : (g(), R(m(os), {
4658
+ "toolbar-filter": v(() => [
4659
+ u.value ? G("", !0) : (g(), R(m(is), {
4636
4660
  key: 0,
4637
- modelValue: A.value,
4638
- "onUpdate:modelValue": z[0] || (z[0] = (J) => A.value = J),
4639
- config: U.value
4661
+ modelValue: S.value,
4662
+ "onUpdate:modelValue": z[0] || (z[0] = (J) => S.value = J),
4663
+ config: P.value
4640
4664
  }, null, 8, ["modelValue", "config"]))
4641
4665
  ]),
4642
- "toolbar-button": k(() => [
4643
- (g(), R(je(e.useActionOutside ? "Teleport" : "div"), {
4666
+ "toolbar-button": v(() => [
4667
+ (g(), R(Se(e.useActionOutside ? "Teleport" : "div"), {
4644
4668
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4645
4669
  }, {
4646
- default: k(() => [
4647
- T(m(Ve), {
4670
+ default: v(() => [
4671
+ $(m(Ve), {
4648
4672
  "auth-function": () => e.canCreate()
4649
4673
  }, {
4650
- default: k(() => [
4651
- be(T(X, {
4674
+ default: v(() => [
4675
+ be($(X, {
4652
4676
  appearance: "primary",
4653
4677
  "data-testid": "toolbar-add-consumer",
4654
4678
  icon: "plus",
4655
4679
  size: "large",
4656
4680
  to: e.config.consumerGroupId ? void 0 : e.config.createRoute,
4657
- onClick: z[1] || (z[1] = () => e.config.consumerGroupId ? Tt() : void 0)
4681
+ onClick: z[1] || (z[1] = () => e.config.consumerGroupId ? $t() : void 0)
4658
4682
  }, {
4659
- default: k(() => [
4660
- H(M(e.config.consumerGroupId ? m(o)("consumers.actions.add_consumer") : m(o)("consumers.list.toolbar_actions.new_consumer")), 1)
4683
+ default: v(() => [
4684
+ H(M(e.config.consumerGroupId ? m(i)("consumers.actions.add_consumer") : m(i)("consumers.list.toolbar_actions.new_consumer")), 1)
4661
4685
  ]),
4662
4686
  _: 1
4663
4687
  }, 8, ["to"]), [
@@ -4670,63 +4694,63 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4670
4694
  _: 1
4671
4695
  }, 8, ["to"]))
4672
4696
  ]),
4673
- username: k(({ rowValue: J }) => [
4697
+ username: v(({ rowValue: J }) => [
4674
4698
  q("b", null, M(C(J)), 1)
4675
4699
  ]),
4676
- custom_id: k(({ rowValue: J }) => [
4700
+ custom_id: v(({ rowValue: J }) => [
4677
4701
  H(M(C(J)), 1)
4678
4702
  ]),
4679
- tags: k(({ rowValue: J }) => [
4703
+ tags: v(({ rowValue: J }) => [
4680
4704
  J && J.length > 0 ? (g(), R(me, { key: 0 }, {
4681
- default: k(() => [
4682
- (g(!0), O(de, null, ce(J, (Te) => (g(), R(le, {
4683
- key: Te,
4705
+ default: v(() => [
4706
+ (g(!0), E(de, null, ce(J, ($e) => (g(), R(le, {
4707
+ key: $e,
4684
4708
  onClick: z[2] || (z[2] = ct(() => {
4685
4709
  }, ["stop"]))
4686
4710
  }, {
4687
- default: k(() => [
4688
- H(M(Te), 1)
4711
+ default: v(() => [
4712
+ H(M($e), 1)
4689
4713
  ]),
4690
4714
  _: 2
4691
4715
  }, 1024))), 128))
4692
4716
  ]),
4693
4717
  _: 2
4694
- }, 1024)) : (g(), O("span", Ss, "-"))
4718
+ }, 1024)) : (g(), E("span", Ss, "-"))
4695
4719
  ]),
4696
- actions: k(({ row: J }) => [
4697
- T(Kt, null, {
4698
- default: k(({ copyToClipboard: Te }) => [
4699
- T(Ke, {
4720
+ actions: v(({ row: J }) => [
4721
+ $(Kt, null, {
4722
+ default: v(({ copyToClipboard: $e }) => [
4723
+ $(Ke, {
4700
4724
  "data-testid": "action-entity-copy-id",
4701
- onClick: (hr) => I(J, Te)
4725
+ onClick: (hr) => I(J, $e)
4702
4726
  }, {
4703
- default: k(() => [
4704
- H(M(m(o)("consumers.actions.copy_id")), 1)
4727
+ default: v(() => [
4728
+ H(M(m(i)("consumers.actions.copy_id")), 1)
4705
4729
  ]),
4706
4730
  _: 2
4707
4731
  }, 1032, ["onClick"])
4708
4732
  ]),
4709
4733
  _: 2
4710
4734
  }, 1024),
4711
- T(Kt, null, {
4712
- default: k(({ copyToClipboard: Te }) => [
4713
- T(Ke, {
4735
+ $(Kt, null, {
4736
+ default: v(({ copyToClipboard: $e }) => [
4737
+ $(Ke, {
4714
4738
  "data-testid": "action-entity-copy-json",
4715
- onClick: (hr) => L(J, Te)
4739
+ onClick: (hr) => B(J, $e)
4716
4740
  }, {
4717
- default: k(() => [
4718
- H(M(m(o)("consumers.actions.copy_json")), 1)
4741
+ default: v(() => [
4742
+ H(M(m(i)("consumers.actions.copy_json")), 1)
4719
4743
  ]),
4720
4744
  _: 2
4721
4745
  }, 1032, ["onClick"])
4722
4746
  ]),
4723
4747
  _: 2
4724
4748
  }, 1024),
4725
- T(m(Ve), {
4749
+ $(m(Ve), {
4726
4750
  "auth-function": () => e.canRetrieve(J)
4727
4751
  }, {
4728
- default: k(() => [
4729
- T(Ke, {
4752
+ default: v(() => [
4753
+ $(Ke, {
4730
4754
  "data-testid": "action-entity-view",
4731
4755
  "has-divider": "",
4732
4756
  item: F(J.id)
@@ -4734,29 +4758,29 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4734
4758
  ]),
4735
4759
  _: 2
4736
4760
  }, 1032, ["auth-function"]),
4737
- T(m(Ve), {
4761
+ $(m(Ve), {
4738
4762
  "auth-function": () => e.canEdit(J)
4739
4763
  }, {
4740
- default: k(() => [
4741
- T(Ke, {
4764
+ default: v(() => [
4765
+ $(Ke, {
4742
4766
  "data-testid": "action-entity-edit",
4743
4767
  item: x(J.id)
4744
4768
  }, null, 8, ["item"])
4745
4769
  ]),
4746
4770
  _: 2
4747
4771
  }, 1032, ["auth-function"]),
4748
- T(m(Ve), {
4772
+ $(m(Ve), {
4749
4773
  "auth-function": () => e.canDelete(J)
4750
4774
  }, {
4751
- default: k(() => [
4752
- T(Ke, {
4775
+ default: v(() => [
4776
+ $(Ke, {
4753
4777
  danger: "",
4754
4778
  "data-testid": "action-entity-delete",
4755
4779
  "has-divider": "",
4756
4780
  onClick: () => e.config.consumerGroupId ? pr(J) : tt(J)
4757
4781
  }, {
4758
- default: k(() => [
4759
- H(M(e.config.consumerGroupId ? m(o)("consumers.actions.remove") : m(o)("consumers.actions.delete")), 1)
4782
+ default: v(() => [
4783
+ H(M(e.config.consumerGroupId ? m(i)("consumers.actions.remove") : m(i)("consumers.actions.delete")), 1)
4760
4784
  ]),
4761
4785
  _: 2
4762
4786
  }, 1032, ["onClick"])
@@ -4766,19 +4790,19 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4766
4790
  ]),
4767
4791
  _: 1
4768
4792
  }, 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"]),
4769
- T(m(Vl), {
4793
+ $(m(Vl), {
4770
4794
  "action-button-disabled": D.value,
4771
4795
  "data-testid": "delete-consumer-modal",
4772
- description: m(o)("consumers.delete.description"),
4796
+ description: m(i)("consumers.delete.description"),
4773
4797
  "entity-name": K.value && (K.value.username || K.value.custom_id || K.value.id),
4774
4798
  "entity-type": m(pn).Consumer,
4775
4799
  error: ae.value,
4776
- title: m(o)("consumers.delete.title"),
4800
+ title: m(i)("consumers.delete.title"),
4777
4801
  visible: V.value,
4778
4802
  onCancel: sr,
4779
4803
  onProceed: ur
4780
4804
  }, null, 8, ["action-button-disabled", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4781
- e.config.consumerGroupId ? (g(), R(_s, {
4805
+ e.config.consumerGroupId ? (g(), R(Is, {
4782
4806
  key: 0,
4783
4807
  config: e.config,
4784
4808
  "data-testid": "add-consumer-modal",
@@ -4791,38 +4815,38 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4791
4815
  key: 1,
4792
4816
  "action-button-appearance": "danger",
4793
4817
  "data-testid": "remove-consumer-modal",
4794
- title: m(o)("consumers.consumer_groups.remove.title"),
4818
+ title: m(i)("consumers.consumer_groups.remove.title"),
4795
4819
  visible: rt.value,
4796
4820
  onCancel: Et,
4797
4821
  onProceed: mr
4798
4822
  }, {
4799
- default: k(() => [
4800
- T(m(a), {
4823
+ default: v(() => [
4824
+ $(m(a), {
4801
4825
  class: "message",
4802
4826
  keypath: e.config.consumerGroupName ? "consumers.consumer_groups.remove.confirmation" : "consumers.consumer_groups.remove.confirmationNoCG",
4803
4827
  tag: "p"
4804
- }, xe({
4805
- consumer: k(() => [
4828
+ }, Te({
4829
+ consumer: v(() => [
4806
4830
  q("strong", null, M(he.value.username || he.value.custom_id || he.value.id), 1)
4807
4831
  ]),
4808
4832
  _: 2
4809
4833
  }, [
4810
4834
  e.config.consumerGroupName ? {
4811
4835
  name: "consumerGroup",
4812
- fn: k(() => [
4836
+ fn: v(() => [
4813
4837
  q("strong", null, M(e.config.consumerGroupName), 1)
4814
4838
  ]),
4815
4839
  key: "0"
4816
4840
  } : void 0
4817
4841
  ]), 1032, ["keypath"]),
4818
- q("p", null, M(m(o)("consumers.consumer_groups.remove.description")), 1)
4842
+ q("p", null, M(m(i)("consumers.consumer_groups.remove.description")), 1)
4819
4843
  ]),
4820
4844
  _: 1
4821
4845
  }, 8, ["title", "visible"])) : G("", !0)
4822
4846
  ]);
4823
4847
  };
4824
4848
  }
4825
- }), Ds = /* @__PURE__ */ jt(xs, [["__scopeId", "data-v-2be5223c"]]), $s = { class: "kong-ui-entities-consumer-form" }, js = { class: "fields-group-title" }, Ts = { class: "fields-group-text" }, Ms = /* @__PURE__ */ W({
4849
+ }), Vs = /* @__PURE__ */ jt(As, [["__scopeId", "data-v-2be5223c"]]), xs = { class: "kong-ui-entities-consumer-form" }, Ts = { class: "fields-group-title" }, js = { class: "fields-group-text" }, $s = /* @__PURE__ */ W({
4826
4850
  __name: "ConsumerForm",
4827
4851
  props: {
4828
4852
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4841,9 +4865,9 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4841
4865
  emits: ["update", "error", "loading"],
4842
4866
  setup(e, { emit: n }) {
4843
4867
  var p;
4844
- const t = e, r = n, { i18nT: a, i18n: { t: o } } = Qe.useI18n(), i = bt(), { axiosInstance: l } = $t({
4868
+ const t = e, r = n, { i18nT: a, i18n: { t: i } } = Qe.useI18n(), o = bt(), { axiosInstance: l } = Tt({
4845
4869
  headers: (p = t.config) == null ? void 0 : p.requestHeaders
4846
- }), { getMessageFromError: s } = ms(), u = Bt({
4870
+ }), { getMessageFromError: s } = fs(), u = Lt({
4847
4871
  fields: {
4848
4872
  username: "",
4849
4873
  customId: "",
@@ -4851,128 +4875,128 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4851
4875
  },
4852
4876
  readonly: !1,
4853
4877
  errorMessage: ""
4854
- }), d = Bt({
4878
+ }), d = Lt({
4855
4879
  username: "",
4856
4880
  customId: "",
4857
4881
  tags: ""
4858
- }), c = $(() => {
4859
- var C, b;
4860
- return (b = $e.form[(C = t.config) == null ? void 0 : C.app]) == null ? void 0 : b.edit;
4882
+ }), c = T(() => {
4883
+ var C, k;
4884
+ return (k = je.form[(C = t.config) == null ? void 0 : C.app]) == null ? void 0 : k.edit;
4861
4885
  }), h = () => {
4862
4886
  var C;
4863
- i.push(((C = t.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-list" });
4887
+ o.push(((C = t.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-list" });
4864
4888
  }, f = (C) => {
4865
4889
  r("loading", C);
4866
4890
  }, _ = (C) => {
4867
4891
  r("error", C);
4868
4892
  }, w = (C) => {
4869
- var I, L, S;
4870
- u.fields.username = ((I = C == null ? void 0 : C.item) == null ? void 0 : I.username) || (C == null ? void 0 : C.username) || "", u.fields.customId = ((L = C == null ? void 0 : C.item) == null ? void 0 : L.custom_id) || (C == null ? void 0 : C.custom_id) || "";
4871
- const b = ((S = C == null ? void 0 : C.item) == null ? void 0 : S.tags) || (C == null ? void 0 : C.tags) || [];
4872
- u.fields.tags = (b == null ? void 0 : b.join(", ")) || "", Object.assign(d, u.fields);
4873
- }, A = $(() => t.consumerId ? dt.Edit : dt.Create), U = (C) => {
4874
- var I, L, S, F, x, K;
4875
- let b = `${(I = t.config) == null ? void 0 : I.apiBaseUrl}${$e.form[(L = t.config) == null ? void 0 : L.app][C]}`;
4876
- return ((S = t.config) == null ? void 0 : S.app) === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((F = t.config) == null ? void 0 : F.controlPlaneId) || "") : ((x = t.config) == null ? void 0 : x.app) === "kongManager" && (b = b.replace(/\/{workspace}/gi, (K = t.config) != null && K.workspace ? `/${t.config.workspace}` : "")), b = b.replace(/{id}/gi, t.consumerId), b;
4877
- }, B = $(() => !!u.fields.username || !!u.fields.customId), Z = $(() => JSON.stringify(u.fields) !== JSON.stringify(d)), v = $(() => {
4878
- var C, b;
4893
+ var I, B, A;
4894
+ u.fields.username = ((I = C == null ? void 0 : C.item) == null ? void 0 : I.username) || (C == null ? void 0 : C.username) || "", u.fields.customId = ((B = C == null ? void 0 : C.item) == null ? void 0 : B.custom_id) || (C == null ? void 0 : C.custom_id) || "";
4895
+ const k = ((A = C == null ? void 0 : C.item) == null ? void 0 : A.tags) || (C == null ? void 0 : C.tags) || [];
4896
+ u.fields.tags = (k == null ? void 0 : k.join(", ")) || "", Object.assign(d, u.fields);
4897
+ }, S = T(() => t.consumerId ? dt.Edit : dt.Create), P = (C) => {
4898
+ var I, B, A, F, x, K;
4899
+ let k = `${(I = t.config) == null ? void 0 : I.apiBaseUrl}${je.form[(B = t.config) == null ? void 0 : B.app][C]}`;
4900
+ return ((A = t.config) == null ? void 0 : A.app) === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((F = t.config) == null ? void 0 : F.controlPlaneId) || "") : ((x = t.config) == null ? void 0 : x.app) === "kongManager" && (k = k.replace(/\/{workspace}/gi, (K = t.config) != null && K.workspace ? `/${t.config.workspace}` : "")), k = k.replace(/{id}/gi, t.consumerId), k;
4901
+ }, L = T(() => !!u.fields.username || !!u.fields.customId), Z = T(() => JSON.stringify(u.fields) !== JSON.stringify(d)), b = T(() => {
4902
+ var C, k;
4879
4903
  return {
4880
4904
  username: u.fields.username || null,
4881
4905
  custom_id: u.fields.customId || null,
4882
- tags: (b = (C = u.fields.tags.split(",")) == null ? void 0 : C.map((I) => String(I || "").trim())) == null ? void 0 : b.filter((I) => I !== "")
4906
+ tags: (k = (C = u.fields.tags.split(",")) == null ? void 0 : C.map((I) => String(I || "").trim())) == null ? void 0 : k.filter((I) => I !== "")
4883
4907
  };
4884
4908
  }), y = async () => {
4885
4909
  var C;
4886
4910
  try {
4887
4911
  u.readonly = !0;
4888
- let b;
4889
- await l.post(U("validate"), v.value), A.value === "create" ? b = await l.post(U("create"), v.value) : A.value === "edit" && (b = ((C = t.config) == null ? void 0 : C.app) === "konnect" ? await l.put(U("edit"), v.value) : await l.patch(U("edit"), v.value)), w(b == null ? void 0 : b.data), r("update", b == null ? void 0 : b.data);
4890
- } catch (b) {
4891
- u.errorMessage = s(b), r("error", b);
4912
+ let k;
4913
+ await l.post(P("validate"), b.value), S.value === "create" ? k = await l.post(P("create"), b.value) : S.value === "edit" && (k = ((C = t.config) == null ? void 0 : C.app) === "konnect" ? await l.put(P("edit"), b.value) : await l.patch(P("edit"), b.value)), w(k == null ? void 0 : k.data), r("update", k == null ? void 0 : k.data);
4914
+ } catch (k) {
4915
+ u.errorMessage = s(k), r("error", k);
4892
4916
  } finally {
4893
4917
  u.readonly = !1;
4894
4918
  }
4895
4919
  };
4896
- return (C, b) => {
4897
- const I = P("KInput"), L = P("KCard");
4898
- return g(), O("div", $s, [
4899
- T(m(Ml), {
4900
- "can-submit": B.value && Z.value,
4920
+ return (C, k) => {
4921
+ const I = U("KInput"), B = U("KCard");
4922
+ return g(), E("div", xs, [
4923
+ $(m(Ml), {
4924
+ "can-submit": L.value && Z.value,
4901
4925
  config: e.config,
4902
4926
  "edit-id": e.consumerId,
4903
4927
  "error-message": u.errorMessage,
4904
4928
  "fetch-url": c.value,
4905
- "form-fields": v.value,
4929
+ "form-fields": b.value,
4906
4930
  "is-readonly": u.readonly,
4907
4931
  onCancel: h,
4908
- "onFetch:error": b[3] || (b[3] = (S) => _(S)),
4932
+ "onFetch:error": k[3] || (k[3] = (A) => _(A)),
4909
4933
  "onFetch:success": w,
4910
- onLoading: b[4] || (b[4] = (S) => f(S)),
4934
+ onLoading: k[4] || (k[4] = (A) => f(A)),
4911
4935
  onSubmit: y
4912
4936
  }, {
4913
- default: k(() => [
4937
+ default: v(() => [
4914
4938
  q("div", null, [
4915
- T(m(ps), {
4916
- description: m(o)("consumers.form.info.description"),
4939
+ $(m(ds), {
4940
+ description: m(i)("consumers.form.info.description"),
4917
4941
  "has-divider": "",
4918
- title: m(o)("consumers.form.info.title")
4942
+ title: m(i)("consumers.form.info.title")
4919
4943
  }, {
4920
- default: k(() => [
4944
+ default: v(() => [
4921
4945
  q("div", null, [
4922
- q("h5", js, M(m(o)("consumers.form.consumer_identification.title")) + "* ", 1),
4923
- q("p", Ts, M(m(o)("consumers.form.consumer_identification.description")), 1)
4946
+ q("h3", Ts, M(m(i)("consumers.form.consumer_identification.title")) + "* ", 1),
4947
+ q("p", js, M(m(i)("consumers.form.consumer_identification.description")), 1)
4924
4948
  ]),
4925
- T(L, null, {
4926
- default: k(() => [
4927
- T(I, {
4949
+ $(B, null, {
4950
+ default: v(() => [
4951
+ $(I, {
4928
4952
  modelValue: u.fields.username,
4929
- "onUpdate:modelValue": b[0] || (b[0] = (S) => u.fields.username = S),
4953
+ "onUpdate:modelValue": k[0] || (k[0] = (A) => u.fields.username = A),
4930
4954
  modelModifiers: { trim: !0 },
4931
4955
  autocomplete: "off",
4932
4956
  class: "username-field",
4933
4957
  "data-testid": "consumer-form-username",
4934
- label: m(o)("consumers.fields.username.label"),
4958
+ label: m(i)("consumers.fields.username.label"),
4935
4959
  "label-attributes": {
4936
4960
  tooltipAttributes: { maxWidth: "250" }
4937
4961
  },
4938
- placeholder: m(o)("consumers.fields.username.placeholder"),
4962
+ placeholder: m(i)("consumers.fields.username.placeholder"),
4939
4963
  readonly: u.readonly,
4940
4964
  type: "text"
4941
4965
  }, {
4942
- "label-tooltip": k(() => [
4943
- T(m(a), {
4966
+ "label-tooltip": v(() => [
4967
+ $(m(a), {
4944
4968
  keypath: "consumers.fields.username.tooltip",
4945
4969
  scope: "global"
4946
4970
  }, {
4947
- custom_id: k(() => [
4948
- q("code", null, M(m(o)("consumers.fields.username.custom_id")), 1)
4971
+ custom_id: v(() => [
4972
+ q("code", null, M(m(i)("consumers.fields.username.custom_id")), 1)
4949
4973
  ]),
4950
4974
  _: 1
4951
4975
  })
4952
4976
  ]),
4953
4977
  _: 1
4954
4978
  }, 8, ["modelValue", "label", "placeholder", "readonly"]),
4955
- T(I, {
4979
+ $(I, {
4956
4980
  modelValue: u.fields.customId,
4957
- "onUpdate:modelValue": b[1] || (b[1] = (S) => u.fields.customId = S),
4981
+ "onUpdate:modelValue": k[1] || (k[1] = (A) => u.fields.customId = A),
4958
4982
  modelModifiers: { trim: !0 },
4959
4983
  autocomplete: "off",
4960
4984
  "data-testid": "consumer-form-custom-id",
4961
- label: m(o)("consumers.fields.custom_id.label"),
4985
+ label: m(i)("consumers.fields.custom_id.label"),
4962
4986
  "label-attributes": {
4963
4987
  tooltipAttributes: { maxWidth: "250" }
4964
4988
  },
4965
- placeholder: m(o)("consumers.fields.custom_id.placeholder"),
4989
+ placeholder: m(i)("consumers.fields.custom_id.placeholder"),
4966
4990
  readonly: u.readonly,
4967
4991
  type: "text"
4968
4992
  }, {
4969
- "label-tooltip": k(() => [
4970
- T(m(a), {
4993
+ "label-tooltip": v(() => [
4994
+ $(m(a), {
4971
4995
  keypath: "consumers.fields.custom_id.tooltip",
4972
4996
  scope: "global"
4973
4997
  }, {
4974
- username: k(() => [
4975
- q("code", null, M(m(o)("consumers.fields.custom_id.username")), 1)
4998
+ username: v(() => [
4999
+ q("code", null, M(m(i)("consumers.fields.custom_id.username")), 1)
4976
5000
  ]),
4977
5001
  _: 1
4978
5002
  })
@@ -4982,19 +5006,19 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
4982
5006
  ]),
4983
5007
  _: 1
4984
5008
  }),
4985
- T(I, {
5009
+ $(I, {
4986
5010
  modelValue: u.fields.tags,
4987
- "onUpdate:modelValue": b[2] || (b[2] = (S) => u.fields.tags = S),
5011
+ "onUpdate:modelValue": k[2] || (k[2] = (A) => u.fields.tags = A),
4988
5012
  modelModifiers: { trim: !0 },
4989
5013
  autocomplete: "off",
4990
5014
  "data-testid": "consumer-form-tags",
4991
- help: m(o)("consumers.fields.tags.help"),
4992
- label: m(o)("consumers.fields.tags.label"),
5015
+ help: m(i)("consumers.fields.tags.help"),
5016
+ label: m(i)("consumers.fields.tags.label"),
4993
5017
  "label-attributes": {
4994
- info: m(o)("consumers.fields.tags.tooltip"),
5018
+ info: m(i)("consumers.fields.tags.tooltip"),
4995
5019
  tooltipAttributes: { maxWidth: "250" }
4996
5020
  },
4997
- placeholder: m(o)("consumers.fields.tags.placeholder"),
5021
+ placeholder: m(i)("consumers.fields.tags.placeholder"),
4998
5022
  readonly: u.readonly,
4999
5023
  type: "text"
5000
5024
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -5008,7 +5032,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
5008
5032
  ]);
5009
5033
  };
5010
5034
  }
5011
- }), zs = /* @__PURE__ */ jt(Ms, [["__scopeId", "data-v-265f9254"]]), Os = { class: "kong-ui-consumer-entity-config-card" }, Gs = /* @__PURE__ */ W({
5035
+ }), Ds = /* @__PURE__ */ jt($s, [["__scopeId", "data-v-82f673fc"]]), Ms = { class: "kong-ui-consumer-entity-config-card" }, zs = /* @__PURE__ */ W({
5012
5036
  __name: "ConsumerConfigCard",
5013
5037
  props: {
5014
5038
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5035,7 +5059,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
5035
5059
  },
5036
5060
  emits: ["loading", "fetch:error", "fetch:success"],
5037
5061
  setup(e) {
5038
- const n = e, { i18n: { t }, i18nT: r } = Qe.useI18n(), a = $(() => $e.form[n.config.app].edit), o = N({
5062
+ const n = e, { i18n: { t }, i18nT: r } = Qe.useI18n(), a = T(() => je.form[n.config.app].edit), i = N({
5039
5063
  id: {},
5040
5064
  username: {
5041
5065
  section: se.Basic,
@@ -5060,34 +5084,34 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
5060
5084
  hidden: !0
5061
5085
  }
5062
5086
  });
5063
- return (i, l) => (g(), O("div", Os, [
5064
- T(m($l), {
5087
+ return (o, l) => (g(), E("div", Ms, [
5088
+ $(m(Tl), {
5065
5089
  config: e.config,
5066
5090
  "config-card-doc": e.configCardDoc,
5067
- "config-schema": o.value,
5091
+ "config-schema": i.value,
5068
5092
  "fetch-url": a.value,
5069
5093
  "hide-title": e.hideTitle,
5070
- "onFetch:error": l[0] || (l[0] = (s) => i.$emit("fetch:error", s)),
5071
- "onFetch:success": l[1] || (l[1] = (s) => i.$emit("fetch:success", s)),
5072
- onLoading: l[2] || (l[2] = (s) => i.$emit("loading", s))
5094
+ "onFetch:error": l[0] || (l[0] = (s) => o.$emit("fetch:error", s)),
5095
+ "onFetch:success": l[1] || (l[1] = (s) => o.$emit("fetch:success", s)),
5096
+ onLoading: l[2] || (l[2] = (s) => o.$emit("loading", s))
5073
5097
  }, {
5074
- "username-label-tooltip": k(() => [
5075
- T(m(r), {
5098
+ "username-label-tooltip": v(() => [
5099
+ $(m(r), {
5076
5100
  keypath: "consumers.fields.username.tooltip",
5077
5101
  scope: "global"
5078
5102
  }, {
5079
- custom_id: k(() => [
5103
+ custom_id: v(() => [
5080
5104
  q("code", null, M(m(t)("consumers.fields.username.custom_id")), 1)
5081
5105
  ]),
5082
5106
  _: 1
5083
5107
  })
5084
5108
  ]),
5085
- "custom_id-label-tooltip": k(() => [
5086
- T(m(r), {
5109
+ "custom_id-label-tooltip": v(() => [
5110
+ $(m(r), {
5087
5111
  keypath: "consumers.fields.custom_id.tooltip",
5088
5112
  scope: "global"
5089
5113
  }, {
5090
- username: k(() => [
5114
+ username: v(() => [
5091
5115
  q("code", null, M(m(t)("consumers.fields.custom_id.username")), 1)
5092
5116
  ]),
5093
5117
  _: 1
@@ -5099,7 +5123,7 @@ const Hi = { class: "yaml-config" }, lr = /* @__PURE__ */ W({
5099
5123
  }
5100
5124
  });
5101
5125
  export {
5102
- Gs as ConsumerConfigCard,
5103
- zs as ConsumerForm,
5104
- Ds as ConsumerList
5126
+ zs as ConsumerConfigCard,
5127
+ Ds as ConsumerForm,
5128
+ Vs as ConsumerList
5105
5129
  };