@kong-ui-public/entities-consumer-groups 2.4.16-pr.1143.df716ea0.0 → 2.4.16

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