@kong-ui-public/entities-key-sets 3.0.9 → 3.0.11

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,4 +1,4 @@
1
- import { defineComponent as Y, ref as N, computed as x, watch as Ie, renderSlot as W, createCommentVNode as z, unref as k, onBeforeMount as gt, resolveComponent as q, openBlock as m, createBlock as R, createSlots as Oe, withCtx as v, createElementVNode as B, createVNode as I, createTextVNode as P, toDisplayString as K, renderList as ce, createElementBlock as j, withModifiers as lt, withDirectives as me, vShow as he, Fragment as pe, normalizeClass as be, withKeys as aa, useSlots as yt, resolveDynamicComponent as we, useCssVars as Xt, inject as ra, onMounted as ia, onUnmounted as oa, normalizeStyle as Ye, normalizeProps as la, guardReactiveProps as sa, mergeProps as ca, pushScopeId as We, popScopeId as Ze, reactive as Tt } from "vue";
1
+ import { defineComponent as Y, ref as E, computed as A, watch as Ie, renderSlot as Z, createCommentVNode as z, unref as b, onBeforeMount as gt, resolveComponent as L, openBlock as m, createBlock as R, createSlots as Oe, withCtx as v, createElementVNode as B, createVNode as _, createTextVNode as P, toDisplayString as q, renderList as ce, createElementBlock as j, withModifiers as lt, withDirectives as me, vShow as he, Fragment as pe, normalizeClass as be, withKeys as aa, useSlots as yt, resolveDynamicComponent as we, useCssVars as Xt, inject as ia, onMounted as ra, onUnmounted as oa, normalizeStyle as Ye, normalizeProps as la, guardReactiveProps as sa, mergeProps as ca, pushScopeId as Ze, popScopeId as We, reactive as Tt } from "vue";
2
2
  import { useRouter as mt } from "vue-router";
3
3
  import { createI18n as en, i18nTComponent as tn } from "@kong-ui-public/i18n";
4
4
  import jt from "axios";
@@ -93,12 +93,12 @@ const ht = {
93
93
  }
94
94
  }
95
95
  };
96
- var nn = /* @__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))(nn || {}), st = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(st || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ae || {}), H = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(H || {}), se = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(se || {});
96
+ var nn = /* @__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))(nn || {}), st = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(st || {}), xe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(xe || {}), H = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(H || {}), se = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(se || {});
97
97
  function ga() {
98
98
  return {
99
99
  getAxiosInstance: (e = {}) => {
100
100
  try {
101
- const t = ra("get-axios-instance", void 0);
101
+ const t = ia("get-axios-instance", void 0);
102
102
  return typeof t == "function" ? t(e) : jt.create({
103
103
  withCredentials: !0,
104
104
  timeout: 3e4,
@@ -122,9 +122,9 @@ function ya() {
122
122
  return {
123
123
  debounce: (e, t) => {
124
124
  let n;
125
- return (...r) => {
125
+ return (...a) => {
126
126
  clearTimeout(n), n = window == null ? void 0 : window.setTimeout(() => {
127
- e(...r);
127
+ e(...a);
128
128
  }, t);
129
129
  };
130
130
  }
@@ -140,8 +140,8 @@ function ha() {
140
140
  if (typeof n == "string")
141
141
  try {
142
142
  return JSON.parse(n);
143
- } catch (r) {
144
- console.error("useTablePreferences(tryParseJson)", r);
143
+ } catch (a) {
144
+ console.error("useTablePreferences(tryParseJson)", a);
145
145
  return;
146
146
  }
147
147
  }, t = () => {
@@ -149,17 +149,17 @@ function ha() {
149
149
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
150
150
  };
151
151
  return {
152
- setTablePreferences: (n, r) => {
152
+ setTablePreferences: (n, a) => {
153
153
  try {
154
- const a = t();
155
- a.set(n, r), localStorage.setItem(at, JSON.stringify(Object.fromEntries(a.entries())));
156
- } catch (a) {
157
- console.error("useTablePreferences(setTablePreferences)", a);
154
+ const i = t();
155
+ i.set(n, a), localStorage.setItem(at, JSON.stringify(Object.fromEntries(i.entries())));
156
+ } catch (i) {
157
+ console.error("useTablePreferences(setTablePreferences)", i);
158
158
  }
159
159
  },
160
160
  getTablePreferences: (n) => {
161
- const r = t();
162
- return (r == null ? void 0 : r.get(n)) || void 0 || ma;
161
+ const a = t();
162
+ return (a == null ? void 0 : a.get(n)) || void 0 || ma;
163
163
  },
164
164
  deleteAllTablePreferences: () => {
165
165
  localStorage.removeItem(at);
@@ -247,12 +247,12 @@ const va = {
247
247
  applyButtonText: "Apply",
248
248
  clearButtonText: "Clear",
249
249
  clearAllButtonText: "Clear all filters"
250
- }, Aa = {
250
+ }, xa = {
251
251
  errors: {
252
252
  fetch: "Could not fetch available items",
253
253
  invalid: "Please select a valid value"
254
254
  }
255
- }, xa = {
255
+ }, Aa = {
256
256
  unexpected: "An unexpected error has occurred",
257
257
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
258
258
  }, Ia = {
@@ -275,8 +275,8 @@ const va = {
275
275
  baseTable: Ca,
276
276
  baseConfigCard: wa,
277
277
  filter: Sa,
278
- debouncedFilter: Aa,
279
- errors: xa,
278
+ debouncedFilter: xa,
279
+ errors: Aa,
280
280
  validationErrors: Ia,
281
281
  toggleModal: _a
282
282
  };
@@ -289,29 +289,29 @@ function Ge() {
289
289
  };
290
290
  }
291
291
  function an() {
292
- const e = (n, r) => (r == null ? void 0 : r[n]) ?? void 0, t = (n, r) => {
293
- if (n.length !== r.length)
292
+ const e = (n, a) => (a == null ? void 0 : a[n]) ?? void 0, t = (n, a) => {
293
+ if (n.length !== a.length)
294
294
  return !1;
295
- const a = /* @__PURE__ */ new Set([...n, ...r]);
296
- for (const o of a) {
297
- const i = n.filter((s) => s === o).length, l = r.filter((s) => s === o).length;
298
- if (i !== l)
295
+ const i = /* @__PURE__ */ new Set([...n, ...a]);
296
+ for (const o of i) {
297
+ const r = n.filter((s) => s === o).length, l = a.filter((s) => s === o).length;
298
+ if (r !== l)
299
299
  return !1;
300
300
  }
301
301
  return !0;
302
302
  };
303
303
  return {
304
304
  getPropValue: e,
305
- objectsAreEqual: (n, r, a) => {
306
- if (a) {
307
- if (Object.keys(n).length === Object.keys(r).length)
305
+ objectsAreEqual: (n, a, i) => {
306
+ if (i) {
307
+ if (Object.keys(n).length === Object.keys(a).length)
308
308
  for (const o in n)
309
- if (Array.isArray(n[o]) && Array.isArray(r[o])) {
310
- if (t(n[o], r[o]))
309
+ if (Array.isArray(n[o]) && Array.isArray(a[o])) {
310
+ if (t(n[o], a[o]))
311
311
  continue;
312
312
  return !1;
313
313
  } else {
314
- if (n[o] === r[o])
314
+ if (n[o] === a[o])
315
315
  continue;
316
316
  return !1;
317
317
  }
@@ -320,61 +320,61 @@ function an() {
320
320
  return !0;
321
321
  }
322
322
  try {
323
- return JSON.stringify(n) === JSON.stringify(r);
323
+ return JSON.stringify(n) === JSON.stringify(a);
324
324
  } catch {
325
325
  return !1;
326
326
  }
327
327
  },
328
- sortAlpha: (n) => (r, a) => {
329
- let o = r[n] === void 0 || r[n] === null ? "" : r[n], i = a[n] === void 0 || a[n] === null ? "" : a[n];
330
- return Array.isArray(r[n]) && (o = r[n][0]), Array.isArray(a[n]) && (i = a[n][0]), o.localeCompare(i);
328
+ sortAlpha: (n) => (a, i) => {
329
+ let o = a[n] === void 0 || a[n] === null ? "" : a[n], r = i[n] === void 0 || i[n] === null ? "" : i[n];
330
+ return Array.isArray(a[n]) && (o = a[n][0]), Array.isArray(i[n]) && (r = i[n][0]), o.localeCompare(r);
331
331
  },
332
332
  isValidUuid: (n) => n ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(n) : !1
333
333
  };
334
334
  }
335
- function ja(e, t, n, r = {
335
+ function ja(e, t, n, a = {
336
336
  fetchedItemsKey: "data",
337
337
  searchKeys: ["id"]
338
338
  }) {
339
339
  n || (n = "1000");
340
- const { axiosInstance: a } = vt(e.axiosRequestConfig), { i18n: { t: o } } = Ge(), { debounce: i } = ya(), l = i(async (g) => {
341
- await E(g);
342
- }, 200), s = N(!1), c = N(""), d = N(""), u = N([]), h = N([]), y = N(void 0), C = k(t);
343
- let b = `${e.apiBaseUrl}${C}`;
344
- e.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
345
- const { isValidUuid: w } = an(), L = async () => {
340
+ const { axiosInstance: i } = vt(e.axiosRequestConfig), { i18n: { t: o } } = Ge(), { debounce: r } = ya(), l = r(async (g) => {
341
+ await O(g);
342
+ }, 200), s = E(!1), c = E(""), d = E(""), u = E([]), h = E([]), y = E(void 0), C = b(t);
343
+ let S = `${e.apiBaseUrl}${C}`;
344
+ e.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
345
+ const { isValidUuid: k } = an(), F = async () => {
346
346
  try {
347
347
  s.value = !0;
348
- const { data: g } = await a.get(`${b}?size=${n}`);
349
- g != null && g.next || (y.value = r.fetchedItemsKey in g ? g[r.fetchedItemsKey] : []), h.value = r.fetchedItemsKey in g ? g[r.fetchedItemsKey] : [], u.value = h.value;
348
+ const { data: g } = await i.get(`${S}?size=${n}`);
349
+ g != null && g.next || (y.value = a.fetchedItemsKey in g ? g[a.fetchedItemsKey] : []), h.value = a.fetchedItemsKey in g ? g[a.fetchedItemsKey] : [], u.value = h.value;
350
350
  } catch {
351
351
  u.value = [], c.value = o("debouncedFilter.errors.fetch");
352
352
  } finally {
353
353
  s.value = !1;
354
354
  }
355
- }, _ = N(""), E = async (g) => {
355
+ }, w = E(""), O = async (g) => {
356
356
  var f, p, M;
357
- if (_.value !== g)
358
- if (_.value = g || "", y.value === void 0)
357
+ if (w.value !== g)
358
+ if (w.value = g || "", y.value === void 0)
359
359
  try {
360
360
  if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
361
- let F = b + "";
362
- g && (F += `/${g}`);
363
- const { data: A } = await a.get(`${F}?size=${n}`);
364
- r.fetchedItemsKey in A ? u.value = A[r.fetchedItemsKey] : A != null && A.id ? u.value = [A] : u.value = [];
361
+ let K = S + "";
362
+ g && (K += `/${g}`);
363
+ const { data: I } = await i.get(`${K}?size=${n}`);
364
+ a.fetchedItemsKey in I ? u.value = I[a.fetchedItemsKey] : I != null && I.id ? u.value = [I] : u.value = [];
365
365
  } else if (g) {
366
- const F = [];
367
- w(g) && r.searchKeys.includes("id") ? F.push((async () => {
368
- const { data: $ } = await a.get(`${b}/${g}`);
369
- return [$[r.fetchedItemsKey] ?? $];
370
- })()) : F.push(
371
- ...r.searchKeys.filter(($) => $ !== "id").map(async ($) => {
372
- const { data: T } = await a.get(`${b}?${$}=${g}`);
373
- return T[r.fetchedItemsKey];
366
+ const K = [];
367
+ k(g) && a.searchKeys.includes("id") ? K.push((async () => {
368
+ const { data: $ } = await i.get(`${S}/${g}`);
369
+ return [$[a.fetchedItemsKey] ?? $];
370
+ })()) : K.push(
371
+ ...a.searchKeys.filter(($) => $ !== "id").map(async ($) => {
372
+ const { data: T } = await i.get(`${S}?${$}=${g}`);
373
+ return T[a.fetchedItemsKey];
374
374
  })
375
375
  );
376
- const A = await Promise.all(F), U = /* @__PURE__ */ new Set();
377
- u.value = [], (f = A == null ? void 0 : A.forEach) == null || f.call(A, ($) => {
376
+ const I = await Promise.all(K), U = /* @__PURE__ */ new Set();
377
+ u.value = [], (f = I == null ? void 0 : I.forEach) == null || f.call(I, ($) => {
378
378
  var T;
379
379
  (T = $ == null ? void 0 : $.forEach) == null || T.call($, (D) => {
380
380
  U.has(D.id) || (U.add(D.id), u.value.push(D));
@@ -382,17 +382,17 @@ function ja(e, t, n, r = {
382
382
  });
383
383
  } else
384
384
  u.value = h.value;
385
- } catch (F) {
386
- ((p = F == null ? void 0 : F.response) == null ? void 0 : p.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
385
+ } catch (K) {
386
+ ((p = K == null ? void 0 : K.response) == null ? void 0 : p.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
387
387
  } finally {
388
388
  s.value = !1;
389
389
  }
390
390
  else
391
- s.value = !0, d.value = "", g ? (u.value = (M = y.value) == null ? void 0 : M.filter((F) => {
392
- var A;
391
+ s.value = !0, d.value = "", g ? (u.value = (M = y.value) == null ? void 0 : M.filter((K) => {
392
+ var I;
393
393
  let U = !1;
394
- for (const $ of r.searchKeys) {
395
- const T = typeof F[$] == "string" ? (A = F[$]) == null ? void 0 : A.toLowerCase() : F[$];
394
+ for (const $ of a.searchKeys) {
395
+ const T = typeof K[$] == "string" ? (I = K[$]) == null ? void 0 : I.toLowerCase() : K[$];
396
396
  T != null && T.includes(g.toLowerCase()) && (U = !0);
397
397
  }
398
398
  return U;
@@ -404,86 +404,86 @@ function ja(e, t, n, r = {
404
404
  validationError: d,
405
405
  results: u,
406
406
  allRecords: y,
407
- loadItems: L,
407
+ loadItems: F,
408
408
  debouncedQueryChange: l
409
409
  };
410
410
  }
411
411
  function $a(e, t) {
412
- const n = k(t), r = x(
412
+ const n = b(t), a = A(
413
413
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
414
414
  );
415
- return r.value.search = "", (a) => `${r.value.href}/${a}`;
415
+ return a.value.search = "", (i) => `${a.value.href}/${i}`;
416
416
  }
417
417
  function Oa() {
418
418
  const { i18n: { t: e } } = Ge();
419
419
  return {
420
420
  getMessageFromError: (t) => {
421
- var n, r, a, o;
421
+ var n, a, i, o;
422
422
  if (!t)
423
423
  return e("errors.unexpected");
424
424
  if (((n = t == null ? void 0 : t.response) == null ? void 0 : n.status) === 401)
425
425
  return console.warn("getMessageFromError: User auth token is expired or missing, returning empty message."), "";
426
- if ((r = t == null ? void 0 : t.response) != null && r.data) {
426
+ if ((a = t == null ? void 0 : t.response) != null && a.data) {
427
427
  if (t.response.data.detail)
428
428
  return t.response.data.detail;
429
- if ((a = t.response.data.details) != null && a.length)
430
- return t.response.data.details.map((i) => {
429
+ if ((i = t.response.data.details) != null && i.length)
430
+ return t.response.data.details.map((r) => {
431
431
  let l = e("errors.unexpected");
432
- return i.messages && typeof i.messages == "object" && i.messages.length && (l = i.messages.join(", ")), i.field ? `${i.field} - ${l}` : l;
432
+ return r.messages && typeof r.messages == "object" && r.messages.length && (l = r.messages.join(", ")), r.field ? `${r.field} - ${l}` : l;
433
433
  }).join("; ");
434
434
  if (t.response.data.message) {
435
- const { message: i } = t.response.data;
436
- return Array.isArray(i) ? (o = i[0]) != null && o.constraints ? Object.values(i[0].constraints)[0] : i[0] : i;
435
+ const { message: r } = t.response.data;
436
+ return Array.isArray(r) ? (o = r[0]) != null && o.constraints ? Object.values(r[0].constraints)[0] : r[0] : r;
437
437
  }
438
438
  if (typeof t.response.data == "string")
439
439
  return t.response.data;
440
440
  if (typeof t.response.data == "object")
441
- return Object.keys(t.response.data).map((i) => `${i} ${t.response.data[i]}`).join(", ");
441
+ return Object.keys(t.response.data).map((r) => `${r} ${t.response.data[r]}`).join(", ");
442
442
  }
443
443
  return t.message || e("errors.unexpected");
444
444
  }
445
445
  };
446
446
  }
447
- function Ma(e) {
447
+ function Na(e) {
448
448
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
449
449
  try {
450
- const r = e.join("/"), a = `${n}${r}`, o = e.some((i) => i.trim() === "");
451
- if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a) && !o && new URL(a))
452
- return `${n}${r}`;
450
+ const a = e.join("/"), i = `${n}${a}`, o = e.some((r) => r.trim() === "");
451
+ if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(i) && !o && new URL(i))
452
+ return `${n}${a}`;
453
453
  throw new Error("Invalid url");
454
- } catch (r) {
455
- return console.warn("Failed to build valid URL:", r), "";
454
+ } catch (a) {
455
+ return console.warn("Failed to build valid URL:", a), "";
456
456
  }
457
457
  }
458
458
  function rn(e, t) {
459
- const n = N(k(e)), r = N(k(t)), a = x(
459
+ const n = E(b(e)), a = E(b(t)), i = A(
460
460
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
461
- ), o = x(
462
- () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
461
+ ), o = A(
462
+ () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
463
463
  );
464
- return (i) => {
465
- const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: h } = i;
464
+ return (r) => {
465
+ const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: h } = r;
466
466
  try {
467
467
  let y = new URL(o.value.href);
468
- return a.value && h ? (y.search = "", y = n.value.isExactMatch ? new URL(`${y.href}/${h}/`) : new URL(`${y.href}?filter[name][contains]=${h}`)) : (a.value || new URLSearchParams(h).forEach((C, b) => {
469
- y.searchParams.append(b, C);
468
+ return i.value && h ? (y.search = "", y = n.value.isExactMatch ? new URL(`${y.href}/${h}/`) : new URL(`${y.href}?filter[name][contains]=${h}`)) : (i.value || new URLSearchParams(h).forEach((C, S) => {
469
+ y.searchParams.append(S, C);
470
470
  }), d && y.searchParams.append("sort_by", d), u === "desc" && y.searchParams.append("sort_desc", "1"), y.searchParams.append("size", String(s))), c && l !== 1 && y.searchParams.append("offset", String(c)), y.href;
471
471
  } catch (y) {
472
- return console.error("RouteList(fetcher)", y), r.value;
472
+ return console.error("RouteList(fetcher)", y), a.value;
473
473
  }
474
474
  };
475
475
  }
476
- function Na(e, t, n = "data") {
477
- const r = k(t), { axiosInstance: a } = vt(e.axiosRequestConfig), o = rn(e, r), i = N({
478
- status: Ae.Idle
476
+ function Fa(e, t, n = "data") {
477
+ const a = b(t), { axiosInstance: i } = vt(e.axiosRequestConfig), o = rn(e, a), r = E({
478
+ status: xe.Idle
479
479
  });
480
480
  return { fetcher: async (l) => {
481
481
  var s;
482
482
  try {
483
- i.value = { status: Ae.Loading };
483
+ r.value = { status: xe.Loading };
484
484
  let c = o(l);
485
485
  c.includes("filter[name]") && (c = `${c}&page[size]=${l.pageSize}&page[number]=${l.page}`);
486
- const d = await a.get(c);
486
+ const d = await i.get(c);
487
487
  if (d.status >= 400)
488
488
  throw d;
489
489
  const u = d.data, h = n && n.replace(/[^\w-_]/gi, "");
@@ -498,8 +498,8 @@ function Na(e, t, n = "data") {
498
498
  }
499
499
  } : null
500
500
  };
501
- return i.value = {
502
- status: Ae.Idle,
501
+ return r.value = {
502
+ status: xe.Idle,
503
503
  response: C
504
504
  }, C;
505
505
  } catch (c) {
@@ -507,22 +507,22 @@ function Na(e, t, n = "data") {
507
507
  data: [],
508
508
  total: 0
509
509
  };
510
- return l.query && (((s = c.response) == null ? void 0 : s.status) === 404 || c.status === 404) ? (i.value = {
511
- status: Ae.NoResults,
510
+ return l.query && (((s = c.response) == null ? void 0 : s.status) === 404 || c.status === 404) ? (r.value = {
511
+ status: xe.NoResults,
512
512
  response: d,
513
513
  error: c.response ? c : { response: c }
514
- }, d) : (i.value = {
515
- status: Ae.Error,
514
+ }, d) : (r.value = {
515
+ status: xe.Error,
516
516
  response: d,
517
517
  error: c.response ? c : { response: c }
518
518
  }, d);
519
519
  }
520
- }, fetcherState: i };
520
+ }, fetcherState: r };
521
521
  }
522
- function Ea() {
523
- const e = (n, r = "_") => n ? n.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
522
+ function Ma() {
523
+ const e = (n, a = "_") => n ? n.split(a).map((i) => i.toLowerCase() === "id" ? i.toUpperCase() : i.charAt(0).toUpperCase() + i.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
524
524
  return {
525
- capitalize: (n) => n ? n.replace(t, (r) => r.toUpperCase()) : "",
525
+ capitalize: (n) => n ? n.replace(t, (a) => a.toUpperCase()) : "",
526
526
  convertKeyToTitle: e
527
527
  };
528
528
  }
@@ -533,28 +533,28 @@ const on = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
533
533
  if (!t)
534
534
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
535
535
  return t.shift(), t;
536
- }, Ot = (e) => e === "*" || e === "x" || e === "X", Mt = (e) => {
536
+ }, Ot = (e) => e === "*" || e === "x" || e === "X", Nt = (e) => {
537
537
  const t = parseInt(e, 10);
538
538
  return isNaN(t) ? e : t;
539
- }, Fa = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ka = (e, t) => {
539
+ }, Ea = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ka = (e, t) => {
540
540
  if (Ot(e) || Ot(t))
541
541
  return 0;
542
- const [n, r] = Fa(Mt(e), Mt(t));
543
- return n > r ? 1 : n < r ? -1 : 0;
544
- }, Nt = (e, t) => {
542
+ const [n, a] = Ea(Nt(e), Nt(t));
543
+ return n > a ? 1 : n < a ? -1 : 0;
544
+ }, Ft = (e, t) => {
545
545
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
546
- const r = Ka(e[n] || "0", t[n] || "0");
547
- if (r !== 0)
548
- return r;
546
+ const a = Ka(e[n] || "0", t[n] || "0");
547
+ if (a !== 0)
548
+ return a;
549
549
  }
550
550
  return 0;
551
551
  }, qa = (e, t) => {
552
- const n = $t(e), r = $t(t), a = n.pop(), o = r.pop(), i = Nt(n, r);
553
- return i !== 0 ? i : a && o ? Nt(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
554
- }, Et = (e, t, n) => {
552
+ const n = $t(e), a = $t(t), i = n.pop(), o = a.pop(), r = Ft(n, a);
553
+ return r !== 0 ? r : i && o ? Ft(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
554
+ }, Mt = (e, t, n) => {
555
555
  La(n);
556
- const r = qa(e, t);
557
- return ln[n].includes(r);
556
+ const a = qa(e, t);
557
+ return ln[n].includes(a);
558
558
  }, ln = {
559
559
  ">": [1],
560
560
  ">=": [0, 1],
@@ -562,31 +562,31 @@ const on = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
562
562
  "<=": [-1, 0],
563
563
  "<": [-1],
564
564
  "!=": [-1, 1]
565
- }, Ft = Object.keys(ln), La = (e) => {
565
+ }, Et = Object.keys(ln), La = (e) => {
566
566
  if (typeof e != "string")
567
567
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
568
- if (Ft.indexOf(e) === -1)
569
- throw new Error(`Invalid operator, expected one of ${Ft.join("|")}`);
568
+ if (Et.indexOf(e) === -1)
569
+ throw new Error(`Invalid operator, expected one of ${Et.join("|")}`);
570
570
  }, Ba = (e) => typeof e == "string" && /^[v\d]/.test(e) && on.test(e);
571
571
  function Ua(e) {
572
572
  const { gatewayInfo: t, supportedRange: n } = e;
573
573
  if (!t)
574
574
  return !0;
575
- const { edition: r, version: a } = t;
576
- if (!Ba(a))
575
+ const { edition: a, version: i } = t;
576
+ if (!Ba(i))
577
577
  return console.error("Invalid version"), !1;
578
- const o = n[r];
578
+ const o = n[a];
579
579
  if (!o)
580
580
  return !1;
581
- const [i, l] = o;
582
- return !(i && Et(a, i, "<") || l && Et(a, l, ">"));
581
+ const [r, l] = o;
582
+ return !(r && Mt(i, r, "<") || l && Mt(i, l, ">"));
583
583
  }
584
584
  function Ra(e) {
585
- const t = N(0), n = N(0), r = N(!1);
586
- return Ie(e, (a) => {
587
- a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
585
+ const t = E(0), n = E(0), a = E(!1);
586
+ return Ie(e, (i) => {
587
+ i && !a.value && (t.value = i.offsetWidth, n.value = i.scrollWidth, a.value = !0);
588
588
  }), {
589
- isTruncated: x(() => t.value < n.value)
589
+ isTruncated: A(() => t.value < n.value)
590
590
  };
591
591
  }
592
592
  function Da() {
@@ -600,11 +600,11 @@ const X = {
600
600
  useDebouncedFilter: ja,
601
601
  useDeleteUrlBuilder: $a,
602
602
  useErrors: Oa,
603
- useExternalLinkCreator: Ma,
604
- useFetcher: Na,
603
+ useExternalLinkCreator: Na,
604
+ useFetcher: Fa,
605
605
  useFetchUrlBuilder: rn,
606
606
  useHelpers: an,
607
- useStringHelpers: Ea,
607
+ useStringHelpers: Ma,
608
608
  useI18n: Ge,
609
609
  useGatewayFeatureSupported: Ua,
610
610
  useTruncationDetector: Ra,
@@ -629,26 +629,26 @@ const X = {
629
629
  }
630
630
  },
631
631
  setup(e) {
632
- const t = e, { i18n: { t: n } } = X.useI18n(), { convertKeyToTitle: r } = X.useStringHelpers(), a = x(() => t.item.key ?? "json-array-item"), o = x(() => t.item.value ?? t.item), i = x(() => {
632
+ const t = e, { i18n: { t: n } } = X.useI18n(), { convertKeyToTitle: a } = X.useStringHelpers(), i = A(() => t.item.key ?? "json-array-item"), o = A(() => t.item.value ?? t.item), r = A(() => {
633
633
  const s = JSON.parse(JSON.stringify(o.value));
634
634
  return t.isArrayItem && delete s.name, s;
635
- }), l = x(() => {
635
+ }), l = A(() => {
636
636
  var s;
637
- return t.isArrayItem ? (s = o.value) != null && s.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
637
+ return t.isArrayItem ? (s = o.value) != null && s.name ? a(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
638
638
  });
639
639
  return (s, c) => (m(), R(we(e.isArrayItem ? "fieldset" : "div"), {
640
640
  class: be(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
641
641
  }, {
642
642
  default: v(() => [
643
643
  e.isArrayItem ? (m(), j("legend", Va, [
644
- B("b", null, K(l.value), 1)
644
+ B("b", null, q(l.value), 1)
645
645
  ])) : z("", !0),
646
- (m(!0), j(pe, null, ce(Object.keys(i.value), (d, u) => (m(), R(cn, {
647
- key: `${a.value}-property-${u}`,
646
+ (m(!0), j(pe, null, ce(Object.keys(r.value), (d, u) => (m(), R(cn, {
647
+ key: `${i.value}-property-${u}`,
648
648
  item: {
649
649
  key: d,
650
- label: k(r)(d),
651
- value: i.value[d]
650
+ label: b(a)(d),
651
+ value: r.value[d]
652
652
  }
653
653
  }, null, 8, ["item"]))), 128))
654
654
  ]),
@@ -657,8 +657,8 @@ const X = {
657
657
  }
658
658
  }), ue = (e, t) => {
659
659
  const n = e.__vccOpts || e;
660
- for (const [r, a] of t)
661
- n[r] = a;
660
+ for (const [a, i] of t)
661
+ n[a] = i;
662
662
  return n;
663
663
  }, sn = /* @__PURE__ */ ue(Pa, [["__scopeId", "data-v-68ca83ec"]]), za = /* @__PURE__ */ Y({
664
664
  __name: "InternalLinkItem",
@@ -671,16 +671,16 @@ const X = {
671
671
  emits: ["navigation-click"],
672
672
  setup(e) {
673
673
  const { i18n: { t } } = X.useI18n();
674
- return (n, r) => {
675
- const a = q("KButton");
674
+ return (n, a) => {
675
+ const i = L("KButton");
676
676
  return m(), j("div", null, [
677
- I(a, {
677
+ _(i, {
678
678
  appearance: "tertiary",
679
679
  class: "navigation-button",
680
- onClick: r[0] || (r[0] = (o) => n.$emit("navigation-click", e.item))
680
+ onClick: a[0] || (a[0] = (o) => n.$emit("navigation-click", e.item))
681
681
  }, {
682
682
  default: v(() => [
683
- P(K(e.item.value || k(t)("baseConfigCard.commonFields.link")), 1)
683
+ P(q(e.item.value || b(t)("baseConfigCard.commonFields.link")), 1)
684
684
  ]),
685
685
  _: 1
686
686
  })
@@ -697,23 +697,23 @@ const X = {
697
697
  },
698
698
  setup(e) {
699
699
  const { i18n: { t } } = X.useI18n();
700
- return (n, r) => {
701
- const a = q("KBadge");
702
- return m(), R(a, {
700
+ return (n, a) => {
701
+ const i = L("KBadge");
702
+ return m(), R(i, {
703
703
  appearance: e.status ? "success" : "neutral"
704
704
  }, {
705
705
  default: v(() => [
706
- P(K(e.status ? k(t)("baseConfigCard.statusBadge.enabledLabel") : k(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
706
+ P(q(e.status ? b(t)("baseConfigCard.statusBadge.enabledLabel") : b(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
707
707
  ]),
708
708
  _: 1
709
709
  }, 8, ["appearance"]);
710
710
  };
711
711
  }
712
- }), Ya = "#0044f4", Wa = "#e0e4ea", Za = "#3a3f51", Ga = "#afb7c5", Qa = "1px", Xa = "20px", er = { class: "config-card-details-row" }, tr = ["data-testid"], nr = ["data-testid"], ar = ["data-testid"], rr = ["data-testid"], ir = { key: 1 }, or = ["data-testid"], lr = ["data-testid"], sr = ["data-testid"], cr = ["data-testid"], ur = {
712
+ }), Ya = "#0044f4", Za = "#e0e4ea", Wa = "#3a3f51", Ga = "#afb7c5", Qa = "1px", Xa = "20px", ei = { class: "config-card-details-row" }, ti = ["data-testid"], ni = ["data-testid"], ai = ["data-testid"], ii = ["data-testid"], ri = { key: 1 }, oi = ["data-testid"], li = ["data-testid"], si = ["data-testid"], ci = ["data-testid"], ui = {
713
713
  name: "ConfigCardItem",
714
714
  components: { JsonCardItem: sn, StatusBadge: Ha, InternalLinkItem: Ja }
715
- }, dr = /* @__PURE__ */ Y({
716
- ...ur,
715
+ }, di = /* @__PURE__ */ Y({
716
+ ...ui,
717
717
  props: {
718
718
  item: {
719
719
  type: Object,
@@ -733,12 +733,12 @@ const X = {
733
733
  emits: ["navigation-click"],
734
734
  setup(e, { emit: t }) {
735
735
  Xt((C) => ({
736
- "07753575": d.value ? "none" : `solid ${k(Qa)} ${k(Wa)}`,
736
+ "07753575": d.value ? "none" : `solid ${b(Qa)} ${b(Za)}`,
737
737
  "32d44ea8": c.value && l.value ? "block" : "flex",
738
738
  "5036b738": c.value && l.value ? "100%" : n.slim ? "50%" : "25%",
739
739
  "5038fd13": c.value && l.value ? "100%" : n.slim ? "50%" : "75%"
740
740
  }));
741
- const n = e, r = t, a = yt(), { i18n: { t: o, formatUnixTimeStamp: i } } = X.useI18n(), l = x(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = x(() => !!(n.item.tooltip || a["label-tooltip"])), c = x(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = x(() => n.item.type === H.JsonArray), u = x(() => {
741
+ const n = e, a = t, i = yt(), { i18n: { t: o, formatUnixTimeStamp: r } } = X.useI18n(), l = A(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = A(() => !!(n.item.tooltip || i["label-tooltip"])), c = A(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = A(() => n.item.type === H.JsonArray), u = A(() => {
742
742
  switch (n.item.type) {
743
743
  case H.ID:
744
744
  return {
@@ -782,7 +782,7 @@ const X = {
782
782
  attrs: {
783
783
  "data-testid": `${n.item.key}-date`
784
784
  },
785
- text: i(n.item.value)
785
+ text: r(n.item.value)
786
786
  };
787
787
  case H.BadgeStatus:
788
788
  return {
@@ -809,7 +809,7 @@ const X = {
809
809
  "data-testid": `${n.item.key}-internal-link`,
810
810
  item: n.item,
811
811
  onNavigationClick: (C) => {
812
- r("navigation-click", C);
812
+ a("navigation-click", C);
813
813
  }
814
814
  }
815
815
  };
@@ -848,18 +848,18 @@ const X = {
848
848
  text: n.item.value
849
849
  };
850
850
  }
851
- }), h = N(), { isTruncated: y } = X.useTruncationDetector(h);
852
- return (C, b) => {
853
- const w = q("KLabel"), L = q("KBadge"), _ = q("KCopy"), E = q("KTooltip");
854
- return m(), j("div", er, [
851
+ }), h = E(), { isTruncated: y } = X.useTruncationDetector(h);
852
+ return (C, S) => {
853
+ const k = L("KLabel"), F = L("KBadge"), w = L("KCopy"), O = L("KTooltip");
854
+ return m(), j("div", ei, [
855
855
  B("div", {
856
856
  class: "config-card-details-label",
857
857
  "data-testid": `${e.item.key}-label`
858
858
  }, [
859
- W(C.$slots, "label", { item: e.item }, () => [
860
- I(w, { "tooltip-attributes": { maxWidth: "500px" } }, Oe({
859
+ Z(C.$slots, "label", { item: e.item }, () => [
860
+ _(k, { "tooltip-attributes": { maxWidth: "500px" } }, Oe({
861
861
  default: v(() => [
862
- P(K(e.item.label) + " ", 1)
862
+ P(q(e.item.label) + " ", 1)
863
863
  ]),
864
864
  _: 2
865
865
  }, [
@@ -869,31 +869,31 @@ const X = {
869
869
  B("div", {
870
870
  "data-testid": `${e.item.key}-label-tooltip`
871
871
  }, [
872
- W(C.$slots, "label-tooltip", {}, () => [
873
- P(K(e.item.tooltip), 1)
872
+ Z(C.$slots, "label-tooltip", {}, () => [
873
+ P(q(e.item.tooltip), 1)
874
874
  ], !0)
875
- ], 8, nr)
875
+ ], 8, ni)
876
876
  ]),
877
877
  key: "0"
878
878
  } : void 0
879
879
  ]), 1024)
880
880
  ], !0)
881
- ], 8, tr),
881
+ ], 8, ti),
882
882
  B("div", {
883
883
  class: "config-card-details-value",
884
884
  "data-testid": `${e.item.key}-property-value`
885
885
  }, [
886
- W(C.$slots, e.item.key, {
886
+ Z(C.$slots, e.item.key, {
887
887
  rowValue: e.item.value
888
888
  }, () => [
889
- l.value ? (m(), j("div", ir, [
889
+ l.value ? (m(), j("div", ri, [
890
890
  (m(), R(we(u.value.tag), la(sa(u.value.attrs)), {
891
891
  default: v(() => [
892
892
  u.value.additionalComponent === "KBadge" ? (m(), j("div", {
893
893
  key: 0,
894
894
  "data-testid": `${e.item.key}-badge-tags`
895
895
  }, [
896
- (m(!0), j(pe, null, ce(e.item.value, (g, f) => (m(), R(L, {
896
+ (m(!0), j(pe, null, ce(e.item.value, (g, f) => (m(), R(F, {
897
897
  key: `${e.item.key}-badge-tag-${f}`,
898
898
  class: "config-badge",
899
899
  "data-testid": `${e.item.key}-badge-tag-${f}`,
@@ -901,38 +901,38 @@ const X = {
901
901
  "truncation-tooltip": ""
902
902
  }, {
903
903
  default: v(() => [
904
- P(K(g), 1)
904
+ P(q(g), 1)
905
905
  ]),
906
906
  _: 2
907
907
  }, 1032, ["data-testid", "tooltip"]))), 128))
908
- ], 8, or)) : z("", !0),
908
+ ], 8, oi)) : z("", !0),
909
909
  u.value.additionalComponent === "KCopy" ? (m(), j("div", {
910
910
  key: 1,
911
911
  class: "copy-uuid-array",
912
912
  "data-testid": `${e.item.key}-copy-uuid-array`
913
913
  }, [
914
- (m(!0), j(pe, null, ce(e.item.value, (g, f) => (m(), R(_, ca(u.value.childAttrs, {
914
+ (m(!0), j(pe, null, ce(e.item.value, (g, f) => (m(), R(w, ca(u.value.childAttrs, {
915
915
  key: `${e.item.key}-copy-uuid-${f}`,
916
916
  "data-testid": `${e.item.key}-copy-uuid-${f}`,
917
917
  text: g
918
918
  }), null, 16, ["data-testid", "text"]))), 128))
919
- ], 8, lr)) : u.value.additionalComponent === "KMethodBadge" ? (m(), j("div", {
919
+ ], 8, li)) : u.value.additionalComponent === "KMethodBadge" ? (m(), j("div", {
920
920
  key: 2,
921
921
  class: "method-badge-array",
922
922
  "data-testid": `${e.item.key}-badge-methods`
923
923
  }, [
924
- (m(!0), j(pe, null, ce(e.item.value, (g, f) => (m(), R(L, {
924
+ (m(!0), j(pe, null, ce(e.item.value, (g, f) => (m(), R(F, {
925
925
  key: `${e.item.key}-badge-method-${f}`,
926
- appearance: Object.values(k(ua)).includes(g.toLowerCase()) ? g.toLowerCase() : "custom",
926
+ appearance: Object.values(b(ua)).includes(g.toLowerCase()) ? g.toLowerCase() : "custom",
927
927
  class: "config-badge",
928
928
  "data-testid": `${e.item.key}-badge-method-${f}`
929
929
  }, {
930
930
  default: v(() => [
931
- P(K(g), 1)
931
+ P(q(g), 1)
932
932
  ]),
933
933
  _: 2
934
934
  }, 1032, ["appearance", "data-testid"]))), 128))
935
- ], 8, sr)) : z("", !0),
935
+ ], 8, si)) : z("", !0),
936
936
  u.value.additionalComponent === "JsonCardItem" ? (m(), j("div", {
937
937
  key: 3,
938
938
  "data-testid": `${n.item.key}-json-array-content`
@@ -943,16 +943,16 @@ const X = {
943
943
  "is-array-item": "",
944
944
  item: g
945
945
  }, null, 8, ["index", "item"]))), 128))
946
- ], 8, cr)) : (m(), R(E, {
946
+ ], 8, ci)) : (m(), R(O, {
947
947
  key: 4,
948
- text: k(y) ? e.item.value : ""
948
+ text: b(y) ? e.item.value : ""
949
949
  }, {
950
950
  default: v(() => [
951
951
  B("span", {
952
952
  ref_key: "textContent",
953
953
  ref: h,
954
954
  class: be(["attrs-data-text", { truncated: e.truncated }])
955
- }, K(u.value.text), 3)
955
+ }, q(u.value.text), 3)
956
956
  ]),
957
957
  _: 1
958
958
  }, 8, ["text"]))
@@ -962,13 +962,13 @@ const X = {
962
962
  ])) : (m(), j("div", {
963
963
  key: 0,
964
964
  "data-testid": `${e.item.key}-no-value`
965
- }, " – ", 8, rr))
965
+ }, " – ", 8, ii))
966
966
  ], !0)
967
- ], 8, ar)
967
+ ], 8, ai)
968
968
  ]);
969
969
  };
970
970
  }
971
- }), cn = /* @__PURE__ */ ue(dr, [["__scopeId", "data-v-d056663c"]]), pr = { class: "json-config" }, fr = {
971
+ }), cn = /* @__PURE__ */ ue(di, [["__scopeId", "data-v-d056663c"]]), pi = { class: "json-config" }, fi = {
972
972
  key: 0,
973
973
  class: "json-endpoint"
974
974
  }, un = /* @__PURE__ */ Y({
@@ -999,29 +999,29 @@ const X = {
999
999
  }
1000
1000
  },
1001
1001
  setup(e) {
1002
- Xt((a) => ({
1003
- "4520e3ec": `${r.value}ch`
1002
+ Xt((i) => ({
1003
+ "4520e3ec": `${a.value}ch`
1004
1004
  }));
1005
- const t = e, n = x(() => t.jsonRecord), r = x(() => {
1006
- var a;
1005
+ const t = e, n = A(() => t.jsonRecord), a = A(() => {
1006
+ var i;
1007
1007
  if (!t.fetcherUrl)
1008
1008
  return 0;
1009
- const o = (a = t.fetcherUrl) == null ? void 0 : a.split("/");
1009
+ const o = (i = t.fetcherUrl) == null ? void 0 : i.split("/");
1010
1010
  return o.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? o[o.length - 1] : o[o.length - 2]).length;
1011
1011
  });
1012
- return (a, o) => {
1013
- const i = q("KBadge"), l = q("KCodeBlock");
1014
- return m(), j("div", pr, [
1015
- t.fetcherUrl ? (m(), j("div", fr, [
1016
- I(i, {
1012
+ return (i, o) => {
1013
+ const r = L("KBadge"), l = L("KCodeBlock");
1014
+ return m(), j("div", pi, [
1015
+ t.fetcherUrl ? (m(), j("div", fi, [
1016
+ _(r, {
1017
1017
  appearance: t.requestMethod
1018
1018
  }, {
1019
1019
  default: v(() => [
1020
- P(K(t.requestMethod), 1)
1020
+ P(q(t.requestMethod), 1)
1021
1021
  ]),
1022
1022
  _: 1
1023
1023
  }, 8, ["appearance"]),
1024
- I(l, {
1024
+ _(l, {
1025
1025
  id: "json-endpoint-codeblock",
1026
1026
  code: t.fetcherUrl,
1027
1027
  language: "json",
@@ -1045,93 +1045,93 @@ const X = {
1045
1045
  function dn(e) {
1046
1046
  return typeof e > "u" || e === null;
1047
1047
  }
1048
- function gr(e) {
1048
+ function gi(e) {
1049
1049
  return typeof e == "object" && e !== null;
1050
1050
  }
1051
- function yr(e) {
1051
+ function yi(e) {
1052
1052
  return Array.isArray(e) ? e : dn(e) ? [] : [e];
1053
1053
  }
1054
- function mr(e, t) {
1055
- var n, r, a, o;
1054
+ function mi(e, t) {
1055
+ var n, a, i, o;
1056
1056
  if (t)
1057
- for (o = Object.keys(t), n = 0, r = o.length; n < r; n += 1)
1058
- a = o[n], e[a] = t[a];
1057
+ for (o = Object.keys(t), n = 0, a = o.length; n < a; n += 1)
1058
+ i = o[n], e[i] = t[i];
1059
1059
  return e;
1060
1060
  }
1061
- function hr(e, t) {
1062
- var n = "", r;
1063
- for (r = 0; r < t; r += 1)
1061
+ function hi(e, t) {
1062
+ var n = "", a;
1063
+ for (a = 0; a < t; a += 1)
1064
1064
  n += e;
1065
1065
  return n;
1066
1066
  }
1067
- function vr(e) {
1067
+ function vi(e) {
1068
1068
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1069
1069
  }
1070
- var br = dn, kr = gr, Cr = yr, wr = hr, Sr = vr, Ar = mr, Q = {
1071
- isNothing: br,
1072
- isObject: kr,
1073
- toArray: Cr,
1074
- repeat: wr,
1075
- isNegativeZero: Sr,
1076
- extend: Ar
1070
+ var bi = dn, ki = gi, Ci = yi, wi = hi, Si = vi, xi = mi, Q = {
1071
+ isNothing: bi,
1072
+ isObject: ki,
1073
+ toArray: Ci,
1074
+ repeat: wi,
1075
+ isNegativeZero: Si,
1076
+ extend: xi
1077
1077
  };
1078
1078
  function pn(e, t) {
1079
- var n = "", r = e.reason || "(unknown reason)";
1079
+ var n = "", a = e.reason || "(unknown reason)";
1080
1080
  return e.mark ? (e.mark.name && (n += 'in "' + e.mark.name + '" '), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += `
1081
1081
 
1082
- ` + e.mark.snippet), r + " " + n) : r;
1082
+ ` + e.mark.snippet), a + " " + n) : a;
1083
1083
  }
1084
- function Fe(e, t) {
1084
+ function Ee(e, t) {
1085
1085
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = pn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1086
1086
  }
1087
- Fe.prototype = Object.create(Error.prototype);
1088
- Fe.prototype.constructor = Fe;
1089
- Fe.prototype.toString = function(e) {
1087
+ Ee.prototype = Object.create(Error.prototype);
1088
+ Ee.prototype.constructor = Ee;
1089
+ Ee.prototype.toString = function(e) {
1090
1090
  return this.name + ": " + pn(this, e);
1091
1091
  };
1092
- var re = Fe;
1093
- function rt(e, t, n, r, a) {
1094
- var o = "", i = "", l = Math.floor(a / 2) - 1;
1095
- return r - t > l && (o = " ... ", t = r - l + o.length), n - r > l && (i = " ...", n = r + l - i.length), {
1096
- str: o + e.slice(t, n).replace(/\t/g, "→") + i,
1097
- pos: r - t + o.length
1092
+ var ie = Ee;
1093
+ function it(e, t, n, a, i) {
1094
+ var o = "", r = "", l = Math.floor(i / 2) - 1;
1095
+ return a - t > l && (o = " ... ", t = a - l + o.length), n - a > l && (r = " ...", n = a + l - r.length), {
1096
+ str: o + e.slice(t, n).replace(/\t/g, "→") + r,
1097
+ pos: a - t + o.length
1098
1098
  // relative position
1099
1099
  };
1100
1100
  }
1101
- function it(e, t) {
1101
+ function rt(e, t) {
1102
1102
  return Q.repeat(" ", t - e.length) + e;
1103
1103
  }
1104
- function xr(e, t) {
1104
+ function Ai(e, t) {
1105
1105
  if (t = Object.create(t || null), !e.buffer)
1106
1106
  return null;
1107
1107
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1108
- for (var n = /\r?\n|\r|\0/g, r = [0], a = [], o, i = -1; o = n.exec(e.buffer); )
1109
- a.push(o.index), r.push(o.index + o[0].length), e.position <= o.index && i < 0 && (i = r.length - 2);
1110
- i < 0 && (i = r.length - 1);
1111
- var l = "", s, c, d = Math.min(e.line + t.linesAfter, a.length).toString().length, u = t.maxLength - (t.indent + d + 3);
1112
- for (s = 1; s <= t.linesBefore && !(i - s < 0); s++)
1113
- c = rt(
1108
+ for (var n = /\r?\n|\r|\0/g, a = [0], i = [], o, r = -1; o = n.exec(e.buffer); )
1109
+ i.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && r < 0 && (r = a.length - 2);
1110
+ r < 0 && (r = a.length - 1);
1111
+ var l = "", s, c, d = Math.min(e.line + t.linesAfter, i.length).toString().length, u = t.maxLength - (t.indent + d + 3);
1112
+ for (s = 1; s <= t.linesBefore && !(r - s < 0); s++)
1113
+ c = it(
1114
1114
  e.buffer,
1115
- r[i - s],
1116
- a[i - s],
1117
- e.position - (r[i] - r[i - s]),
1115
+ a[r - s],
1116
+ i[r - s],
1117
+ e.position - (a[r] - a[r - s]),
1118
1118
  u
1119
- ), l = Q.repeat(" ", t.indent) + it((e.line - s + 1).toString(), d) + " | " + c.str + `
1119
+ ), l = Q.repeat(" ", t.indent) + rt((e.line - s + 1).toString(), d) + " | " + c.str + `
1120
1120
  ` + l;
1121
- for (c = rt(e.buffer, r[i], a[i], e.position, u), l += Q.repeat(" ", t.indent) + it((e.line + 1).toString(), d) + " | " + c.str + `
1121
+ for (c = it(e.buffer, a[r], i[r], e.position, u), l += Q.repeat(" ", t.indent) + rt((e.line + 1).toString(), d) + " | " + c.str + `
1122
1122
  `, l += Q.repeat("-", t.indent + d + 3 + c.pos) + `^
1123
- `, s = 1; s <= t.linesAfter && !(i + s >= a.length); s++)
1124
- c = rt(
1123
+ `, s = 1; s <= t.linesAfter && !(r + s >= i.length); s++)
1124
+ c = it(
1125
1125
  e.buffer,
1126
- r[i + s],
1127
- a[i + s],
1128
- e.position - (r[i] - r[i + s]),
1126
+ a[r + s],
1127
+ i[r + s],
1128
+ e.position - (a[r] - a[r + s]),
1129
1129
  u
1130
- ), l += Q.repeat(" ", t.indent) + it((e.line + s + 1).toString(), d) + " | " + c.str + `
1130
+ ), l += Q.repeat(" ", t.indent) + rt((e.line + s + 1).toString(), d) + " | " + c.str + `
1131
1131
  `;
1132
1132
  return l.replace(/\n$/, "");
1133
1133
  }
1134
- var Ir = xr, _r = [
1134
+ var Ii = Ai, _i = [
1135
1135
  "kind",
1136
1136
  "multi",
1137
1137
  "resolve",
@@ -1142,41 +1142,41 @@ var Ir = xr, _r = [
1142
1142
  "representName",
1143
1143
  "defaultStyle",
1144
1144
  "styleAliases"
1145
- ], Tr = [
1145
+ ], Ti = [
1146
1146
  "scalar",
1147
1147
  "sequence",
1148
1148
  "mapping"
1149
1149
  ];
1150
- function jr(e) {
1150
+ function ji(e) {
1151
1151
  var t = {};
1152
1152
  return e !== null && Object.keys(e).forEach(function(n) {
1153
- e[n].forEach(function(r) {
1154
- t[String(r)] = n;
1153
+ e[n].forEach(function(a) {
1154
+ t[String(a)] = n;
1155
1155
  });
1156
1156
  }), t;
1157
1157
  }
1158
- function $r(e, t) {
1158
+ function $i(e, t) {
1159
1159
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1160
- if (_r.indexOf(n) === -1)
1161
- throw new re('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1160
+ if (_i.indexOf(n) === -1)
1161
+ throw new ie('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1162
1162
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1163
1163
  return !0;
1164
1164
  }, this.construct = t.construct || function(n) {
1165
1165
  return n;
1166
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = jr(t.styleAliases || null), Tr.indexOf(this.kind) === -1)
1167
- throw new re('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1166
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = ji(t.styleAliases || null), Ti.indexOf(this.kind) === -1)
1167
+ throw new ie('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1168
1168
  }
1169
- var ne = $r;
1169
+ var ne = $i;
1170
1170
  function Kt(e, t) {
1171
1171
  var n = [];
1172
- return e[t].forEach(function(r) {
1173
- var a = n.length;
1174
- n.forEach(function(o, i) {
1175
- o.tag === r.tag && o.kind === r.kind && o.multi === r.multi && (a = i);
1176
- }), n[a] = r;
1172
+ return e[t].forEach(function(a) {
1173
+ var i = n.length;
1174
+ n.forEach(function(o, r) {
1175
+ o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (i = r);
1176
+ }), n[i] = a;
1177
1177
  }), n;
1178
1178
  }
1179
- function Or() {
1179
+ function Oi() {
1180
1180
  var e = {
1181
1181
  scalar: {},
1182
1182
  sequence: {},
@@ -1189,11 +1189,11 @@ function Or() {
1189
1189
  fallback: []
1190
1190
  }
1191
1191
  }, t, n;
1192
- function r(a) {
1193
- a.multi ? (e.multi[a.kind].push(a), e.multi.fallback.push(a)) : e[a.kind][a.tag] = e.fallback[a.tag] = a;
1192
+ function a(i) {
1193
+ i.multi ? (e.multi[i.kind].push(i), e.multi.fallback.push(i)) : e[i.kind][i.tag] = e.fallback[i.tag] = i;
1194
1194
  }
1195
1195
  for (t = 0, n = arguments.length; t < n; t += 1)
1196
- arguments[t].forEach(r);
1196
+ arguments[t].forEach(a);
1197
1197
  return e;
1198
1198
  }
1199
1199
  function ct(e) {
@@ -1208,20 +1208,20 @@ ct.prototype.extend = function(e) {
1208
1208
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
1209
1209
  e.implicit && (t = t.concat(e.implicit)), e.explicit && (n = n.concat(e.explicit));
1210
1210
  else
1211
- throw new re("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1212
- t.forEach(function(a) {
1213
- if (!(a instanceof ne))
1214
- throw new re("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1215
- if (a.loadKind && a.loadKind !== "scalar")
1216
- throw new re("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1217
- if (a.multi)
1218
- throw new re("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1219
- }), n.forEach(function(a) {
1220
- if (!(a instanceof ne))
1221
- throw new re("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1211
+ throw new ie("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1212
+ t.forEach(function(i) {
1213
+ if (!(i instanceof ne))
1214
+ throw new ie("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1215
+ if (i.loadKind && i.loadKind !== "scalar")
1216
+ throw new ie("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1217
+ if (i.multi)
1218
+ throw new ie("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1219
+ }), n.forEach(function(i) {
1220
+ if (!(i instanceof ne))
1221
+ throw new ie("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1222
1222
  });
1223
- var r = Object.create(ct.prototype);
1224
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Kt(r, "implicit"), r.compiledExplicit = Kt(r, "explicit"), r.compiledTypeMap = Or(r.compiledImplicit, r.compiledExplicit), r;
1223
+ var a = Object.create(ct.prototype);
1224
+ return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(n), a.compiledImplicit = Kt(a, "implicit"), a.compiledExplicit = Kt(a, "explicit"), a.compiledTypeMap = Oi(a.compiledImplicit, a.compiledExplicit), a;
1225
1225
  };
1226
1226
  var fn = ct, gn = new ne("tag:yaml.org,2002:str", {
1227
1227
  kind: "scalar",
@@ -1245,23 +1245,23 @@ var fn = ct, gn = new ne("tag:yaml.org,2002:str", {
1245
1245
  mn
1246
1246
  ]
1247
1247
  });
1248
- function Mr(e) {
1248
+ function Ni(e) {
1249
1249
  if (e === null)
1250
1250
  return !0;
1251
1251
  var t = e.length;
1252
1252
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1253
1253
  }
1254
- function Nr() {
1254
+ function Fi() {
1255
1255
  return null;
1256
1256
  }
1257
- function Er(e) {
1257
+ function Mi(e) {
1258
1258
  return e === null;
1259
1259
  }
1260
1260
  var vn = new ne("tag:yaml.org,2002:null", {
1261
1261
  kind: "scalar",
1262
- resolve: Mr,
1263
- construct: Nr,
1264
- predicate: Er,
1262
+ resolve: Ni,
1263
+ construct: Fi,
1264
+ predicate: Mi,
1265
1265
  represent: {
1266
1266
  canonical: function() {
1267
1267
  return "~";
@@ -1281,23 +1281,23 @@ var vn = new ne("tag:yaml.org,2002:null", {
1281
1281
  },
1282
1282
  defaultStyle: "lowercase"
1283
1283
  });
1284
- function Fr(e) {
1284
+ function Ei(e) {
1285
1285
  if (e === null)
1286
1286
  return !1;
1287
1287
  var t = e.length;
1288
1288
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1289
1289
  }
1290
- function Kr(e) {
1290
+ function Ki(e) {
1291
1291
  return e === "true" || e === "True" || e === "TRUE";
1292
1292
  }
1293
- function qr(e) {
1293
+ function qi(e) {
1294
1294
  return Object.prototype.toString.call(e) === "[object Boolean]";
1295
1295
  }
1296
1296
  var bn = new ne("tag:yaml.org,2002:bool", {
1297
1297
  kind: "scalar",
1298
- resolve: Fr,
1299
- construct: Kr,
1300
- predicate: qr,
1298
+ resolve: Ei,
1299
+ construct: Ki,
1300
+ predicate: qi,
1301
1301
  represent: {
1302
1302
  lowercase: function(e) {
1303
1303
  return e ? "true" : "false";
@@ -1311,67 +1311,67 @@ var bn = new ne("tag:yaml.org,2002:bool", {
1311
1311
  },
1312
1312
  defaultStyle: "lowercase"
1313
1313
  });
1314
- function Lr(e) {
1314
+ function Li(e) {
1315
1315
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1316
1316
  }
1317
- function Br(e) {
1317
+ function Bi(e) {
1318
1318
  return 48 <= e && e <= 55;
1319
1319
  }
1320
- function Ur(e) {
1320
+ function Ui(e) {
1321
1321
  return 48 <= e && e <= 57;
1322
1322
  }
1323
- function Rr(e) {
1323
+ function Ri(e) {
1324
1324
  if (e === null)
1325
1325
  return !1;
1326
- var t = e.length, n = 0, r = !1, a;
1326
+ var t = e.length, n = 0, a = !1, i;
1327
1327
  if (!t)
1328
1328
  return !1;
1329
- if (a = e[n], (a === "-" || a === "+") && (a = e[++n]), a === "0") {
1329
+ if (i = e[n], (i === "-" || i === "+") && (i = e[++n]), i === "0") {
1330
1330
  if (n + 1 === t)
1331
1331
  return !0;
1332
- if (a = e[++n], a === "b") {
1332
+ if (i = e[++n], i === "b") {
1333
1333
  for (n++; n < t; n++)
1334
- if (a = e[n], a !== "_") {
1335
- if (a !== "0" && a !== "1")
1334
+ if (i = e[n], i !== "_") {
1335
+ if (i !== "0" && i !== "1")
1336
1336
  return !1;
1337
- r = !0;
1337
+ a = !0;
1338
1338
  }
1339
- return r && a !== "_";
1339
+ return a && i !== "_";
1340
1340
  }
1341
- if (a === "x") {
1341
+ if (i === "x") {
1342
1342
  for (n++; n < t; n++)
1343
- if (a = e[n], a !== "_") {
1344
- if (!Lr(e.charCodeAt(n)))
1343
+ if (i = e[n], i !== "_") {
1344
+ if (!Li(e.charCodeAt(n)))
1345
1345
  return !1;
1346
- r = !0;
1346
+ a = !0;
1347
1347
  }
1348
- return r && a !== "_";
1348
+ return a && i !== "_";
1349
1349
  }
1350
- if (a === "o") {
1350
+ if (i === "o") {
1351
1351
  for (n++; n < t; n++)
1352
- if (a = e[n], a !== "_") {
1353
- if (!Br(e.charCodeAt(n)))
1352
+ if (i = e[n], i !== "_") {
1353
+ if (!Bi(e.charCodeAt(n)))
1354
1354
  return !1;
1355
- r = !0;
1355
+ a = !0;
1356
1356
  }
1357
- return r && a !== "_";
1357
+ return a && i !== "_";
1358
1358
  }
1359
1359
  }
1360
- if (a === "_")
1360
+ if (i === "_")
1361
1361
  return !1;
1362
1362
  for (; n < t; n++)
1363
- if (a = e[n], a !== "_") {
1364
- if (!Ur(e.charCodeAt(n)))
1363
+ if (i = e[n], i !== "_") {
1364
+ if (!Ui(e.charCodeAt(n)))
1365
1365
  return !1;
1366
- r = !0;
1366
+ a = !0;
1367
1367
  }
1368
- return !(!r || a === "_");
1368
+ return !(!a || i === "_");
1369
1369
  }
1370
- function Dr(e) {
1371
- var t = e, n = 1, r;
1372
- if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0")
1370
+ function Di(e) {
1371
+ var t = e, n = 1, a;
1372
+ if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), a = t[0], (a === "-" || a === "+") && (a === "-" && (n = -1), t = t.slice(1), a = t[0]), t === "0")
1373
1373
  return 0;
1374
- if (r === "0") {
1374
+ if (a === "0") {
1375
1375
  if (t[1] === "b")
1376
1376
  return n * parseInt(t.slice(2), 2);
1377
1377
  if (t[1] === "x")
@@ -1381,14 +1381,14 @@ function Dr(e) {
1381
1381
  }
1382
1382
  return n * parseInt(t, 10);
1383
1383
  }
1384
- function Vr(e) {
1384
+ function Vi(e) {
1385
1385
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !Q.isNegativeZero(e);
1386
1386
  }
1387
1387
  var kn = new ne("tag:yaml.org,2002:int", {
1388
1388
  kind: "scalar",
1389
- resolve: Rr,
1390
- construct: Dr,
1391
- predicate: Vr,
1389
+ resolve: Ri,
1390
+ construct: Di,
1391
+ predicate: Vi,
1392
1392
  represent: {
1393
1393
  binary: function(e) {
1394
1394
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1411,21 +1411,21 @@ var kn = new ne("tag:yaml.org,2002:int", {
1411
1411
  decimal: [10, "dec"],
1412
1412
  hexadecimal: [16, "hex"]
1413
1413
  }
1414
- }), Pr = new RegExp(
1414
+ }), Pi = new RegExp(
1415
1415
  // 2.5e4, 2.5 and integers
1416
1416
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1417
1417
  );
1418
- function zr(e) {
1419
- return !(e === null || !Pr.test(e) || // Quick hack to not allow integers end with `_`
1418
+ function zi(e) {
1419
+ return !(e === null || !Pi.test(e) || // Quick hack to not allow integers end with `_`
1420
1420
  // Probably should update regexp & check speed
1421
1421
  e[e.length - 1] === "_");
1422
1422
  }
1423
- function Jr(e) {
1423
+ function Ji(e) {
1424
1424
  var t, n;
1425
1425
  return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
1426
1426
  }
1427
- var Hr = /^[-+]?[0-9]+e/;
1428
- function Yr(e, t) {
1427
+ var Hi = /^[-+]?[0-9]+e/;
1428
+ function Yi(e, t) {
1429
1429
  var n;
1430
1430
  if (isNaN(e))
1431
1431
  switch (t) {
@@ -1456,17 +1456,17 @@ function Yr(e, t) {
1456
1456
  }
1457
1457
  else if (Q.isNegativeZero(e))
1458
1458
  return "-0.0";
1459
- return n = e.toString(10), Hr.test(n) ? n.replace("e", ".e") : n;
1459
+ return n = e.toString(10), Hi.test(n) ? n.replace("e", ".e") : n;
1460
1460
  }
1461
- function Wr(e) {
1461
+ function Zi(e) {
1462
1462
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || Q.isNegativeZero(e));
1463
1463
  }
1464
1464
  var Cn = new ne("tag:yaml.org,2002:float", {
1465
1465
  kind: "scalar",
1466
- resolve: zr,
1467
- construct: Jr,
1468
- predicate: Wr,
1469
- represent: Yr,
1466
+ resolve: zi,
1467
+ construct: Ji,
1468
+ predicate: Zi,
1469
+ represent: Yi,
1470
1470
  defaultStyle: "lowercase"
1471
1471
  }), wn = hn.extend({
1472
1472
  implicit: [
@@ -1475,93 +1475,93 @@ var Cn = new ne("tag:yaml.org,2002:float", {
1475
1475
  kn,
1476
1476
  Cn
1477
1477
  ]
1478
- }), Sn = wn, An = new RegExp(
1478
+ }), Sn = wn, xn = new RegExp(
1479
1479
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1480
- ), xn = new RegExp(
1480
+ ), An = new RegExp(
1481
1481
  "^([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]))?))?$"
1482
1482
  );
1483
- function Zr(e) {
1484
- return e === null ? !1 : An.exec(e) !== null || xn.exec(e) !== null;
1483
+ function Wi(e) {
1484
+ return e === null ? !1 : xn.exec(e) !== null || An.exec(e) !== null;
1485
1485
  }
1486
- function Gr(e) {
1487
- var t, n, r, a, o, i, l, s = 0, c = null, d, u, h;
1488
- if (t = An.exec(e), t === null && (t = xn.exec(e)), t === null)
1486
+ function Gi(e) {
1487
+ var t, n, a, i, o, r, l, s = 0, c = null, d, u, h;
1488
+ if (t = xn.exec(e), t === null && (t = An.exec(e)), t === null)
1489
1489
  throw new Error("Date resolve error");
1490
- if (n = +t[1], r = +t[2] - 1, a = +t[3], !t[4])
1491
- return new Date(Date.UTC(n, r, a));
1492
- if (o = +t[4], i = +t[5], l = +t[6], t[7]) {
1490
+ if (n = +t[1], a = +t[2] - 1, i = +t[3], !t[4])
1491
+ return new Date(Date.UTC(n, a, i));
1492
+ if (o = +t[4], r = +t[5], l = +t[6], t[7]) {
1493
1493
  for (s = t[7].slice(0, 3); s.length < 3; )
1494
1494
  s += "0";
1495
1495
  s = +s;
1496
1496
  }
1497
- return t[9] && (d = +t[10], u = +(t[11] || 0), c = (d * 60 + u) * 6e4, t[9] === "-" && (c = -c)), h = new Date(Date.UTC(n, r, a, o, i, l, s)), c && h.setTime(h.getTime() - c), h;
1497
+ return t[9] && (d = +t[10], u = +(t[11] || 0), c = (d * 60 + u) * 6e4, t[9] === "-" && (c = -c)), h = new Date(Date.UTC(n, a, i, o, r, l, s)), c && h.setTime(h.getTime() - c), h;
1498
1498
  }
1499
- function Qr(e) {
1499
+ function Qi(e) {
1500
1500
  return e.toISOString();
1501
1501
  }
1502
1502
  var In = new ne("tag:yaml.org,2002:timestamp", {
1503
1503
  kind: "scalar",
1504
- resolve: Zr,
1505
- construct: Gr,
1504
+ resolve: Wi,
1505
+ construct: Gi,
1506
1506
  instanceOf: Date,
1507
- represent: Qr
1507
+ represent: Qi
1508
1508
  });
1509
- function Xr(e) {
1509
+ function Xi(e) {
1510
1510
  return e === "<<" || e === null;
1511
1511
  }
1512
1512
  var _n = new ne("tag:yaml.org,2002:merge", {
1513
1513
  kind: "scalar",
1514
- resolve: Xr
1514
+ resolve: Xi
1515
1515
  }), bt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1516
1516
  \r`;
1517
- function ei(e) {
1517
+ function er(e) {
1518
1518
  if (e === null)
1519
1519
  return !1;
1520
- var t, n, r = 0, a = e.length, o = bt;
1521
- for (n = 0; n < a; n++)
1520
+ var t, n, a = 0, i = e.length, o = bt;
1521
+ for (n = 0; n < i; n++)
1522
1522
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1523
1523
  if (t < 0)
1524
1524
  return !1;
1525
- r += 6;
1525
+ a += 6;
1526
1526
  }
1527
- return r % 8 === 0;
1527
+ return a % 8 === 0;
1528
1528
  }
1529
- function ti(e) {
1530
- var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = bt, i = 0, l = [];
1531
- for (t = 0; t < a; t++)
1532
- t % 4 === 0 && t && (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(t));
1533
- return n = a % 4 * 6, n === 0 ? (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)) : n === 18 ? (l.push(i >> 10 & 255), l.push(i >> 2 & 255)) : n === 12 && l.push(i >> 4 & 255), new Uint8Array(l);
1529
+ function tr(e) {
1530
+ var t, n, a = e.replace(/[\r\n=]/g, ""), i = a.length, o = bt, r = 0, l = [];
1531
+ for (t = 0; t < i; t++)
1532
+ t % 4 === 0 && t && (l.push(r >> 16 & 255), l.push(r >> 8 & 255), l.push(r & 255)), r = r << 6 | o.indexOf(a.charAt(t));
1533
+ return n = i % 4 * 6, n === 0 ? (l.push(r >> 16 & 255), l.push(r >> 8 & 255), l.push(r & 255)) : n === 18 ? (l.push(r >> 10 & 255), l.push(r >> 2 & 255)) : n === 12 && l.push(r >> 4 & 255), new Uint8Array(l);
1534
1534
  }
1535
- function ni(e) {
1536
- var t = "", n = 0, r, a, o = e.length, i = bt;
1537
- for (r = 0; r < o; r++)
1538
- r % 3 === 0 && r && (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]), n = (n << 8) + e[r];
1539
- return a = o % 3, a === 0 ? (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]) : a === 2 ? (t += i[n >> 10 & 63], t += i[n >> 4 & 63], t += i[n << 2 & 63], t += i[64]) : a === 1 && (t += i[n >> 2 & 63], t += i[n << 4 & 63], t += i[64], t += i[64]), t;
1535
+ function nr(e) {
1536
+ var t = "", n = 0, a, i, o = e.length, r = bt;
1537
+ for (a = 0; a < o; a++)
1538
+ a % 3 === 0 && a && (t += r[n >> 18 & 63], t += r[n >> 12 & 63], t += r[n >> 6 & 63], t += r[n & 63]), n = (n << 8) + e[a];
1539
+ return i = o % 3, i === 0 ? (t += r[n >> 18 & 63], t += r[n >> 12 & 63], t += r[n >> 6 & 63], t += r[n & 63]) : i === 2 ? (t += r[n >> 10 & 63], t += r[n >> 4 & 63], t += r[n << 2 & 63], t += r[64]) : i === 1 && (t += r[n >> 2 & 63], t += r[n << 4 & 63], t += r[64], t += r[64]), t;
1540
1540
  }
1541
- function ai(e) {
1541
+ function ar(e) {
1542
1542
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1543
1543
  }
1544
1544
  var Tn = new ne("tag:yaml.org,2002:binary", {
1545
1545
  kind: "scalar",
1546
- resolve: ei,
1547
- construct: ti,
1548
- predicate: ai,
1549
- represent: ni
1550
- }), ri = Object.prototype.hasOwnProperty, ii = Object.prototype.toString;
1551
- function oi(e) {
1546
+ resolve: er,
1547
+ construct: tr,
1548
+ predicate: ar,
1549
+ represent: nr
1550
+ }), ir = Object.prototype.hasOwnProperty, rr = Object.prototype.toString;
1551
+ function or(e) {
1552
1552
  if (e === null)
1553
1553
  return !0;
1554
- var t = [], n, r, a, o, i, l = e;
1555
- for (n = 0, r = l.length; n < r; n += 1) {
1556
- if (a = l[n], i = !1, ii.call(a) !== "[object Object]")
1554
+ var t = [], n, a, i, o, r, l = e;
1555
+ for (n = 0, a = l.length; n < a; n += 1) {
1556
+ if (i = l[n], r = !1, rr.call(i) !== "[object Object]")
1557
1557
  return !1;
1558
- for (o in a)
1559
- if (ri.call(a, o))
1560
- if (!i)
1561
- i = !0;
1558
+ for (o in i)
1559
+ if (ir.call(i, o))
1560
+ if (!r)
1561
+ r = !0;
1562
1562
  else
1563
1563
  return !1;
1564
- if (!i)
1564
+ if (!r)
1565
1565
  return !1;
1566
1566
  if (t.indexOf(o) === -1)
1567
1567
  t.push(o);
@@ -1570,54 +1570,54 @@ function oi(e) {
1570
1570
  }
1571
1571
  return !0;
1572
1572
  }
1573
- function li(e) {
1573
+ function lr(e) {
1574
1574
  return e !== null ? e : [];
1575
1575
  }
1576
1576
  var jn = new ne("tag:yaml.org,2002:omap", {
1577
1577
  kind: "sequence",
1578
- resolve: oi,
1579
- construct: li
1580
- }), si = Object.prototype.toString;
1581
- function ci(e) {
1578
+ resolve: or,
1579
+ construct: lr
1580
+ }), sr = Object.prototype.toString;
1581
+ function cr(e) {
1582
1582
  if (e === null)
1583
1583
  return !0;
1584
- var t, n, r, a, o, i = e;
1585
- for (o = new Array(i.length), t = 0, n = i.length; t < n; t += 1) {
1586
- if (r = i[t], si.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1584
+ var t, n, a, i, o, r = e;
1585
+ for (o = new Array(r.length), t = 0, n = r.length; t < n; t += 1) {
1586
+ if (a = r[t], sr.call(a) !== "[object Object]" || (i = Object.keys(a), i.length !== 1))
1587
1587
  return !1;
1588
- o[t] = [a[0], r[a[0]]];
1588
+ o[t] = [i[0], a[i[0]]];
1589
1589
  }
1590
1590
  return !0;
1591
1591
  }
1592
- function ui(e) {
1592
+ function ur(e) {
1593
1593
  if (e === null)
1594
1594
  return [];
1595
- var t, n, r, a, o, i = e;
1596
- for (o = new Array(i.length), t = 0, n = i.length; t < n; t += 1)
1597
- r = i[t], a = Object.keys(r), o[t] = [a[0], r[a[0]]];
1595
+ var t, n, a, i, o, r = e;
1596
+ for (o = new Array(r.length), t = 0, n = r.length; t < n; t += 1)
1597
+ a = r[t], i = Object.keys(a), o[t] = [i[0], a[i[0]]];
1598
1598
  return o;
1599
1599
  }
1600
1600
  var $n = new ne("tag:yaml.org,2002:pairs", {
1601
1601
  kind: "sequence",
1602
- resolve: ci,
1603
- construct: ui
1604
- }), di = Object.prototype.hasOwnProperty;
1605
- function pi(e) {
1602
+ resolve: cr,
1603
+ construct: ur
1604
+ }), dr = Object.prototype.hasOwnProperty;
1605
+ function pr(e) {
1606
1606
  if (e === null)
1607
1607
  return !0;
1608
1608
  var t, n = e;
1609
1609
  for (t in n)
1610
- if (di.call(n, t) && n[t] !== null)
1610
+ if (dr.call(n, t) && n[t] !== null)
1611
1611
  return !1;
1612
1612
  return !0;
1613
1613
  }
1614
- function fi(e) {
1614
+ function fr(e) {
1615
1615
  return e !== null ? e : {};
1616
1616
  }
1617
1617
  var On = new ne("tag:yaml.org,2002:set", {
1618
1618
  kind: "mapping",
1619
- resolve: pi,
1620
- construct: fi
1619
+ resolve: pr,
1620
+ construct: fr
1621
1621
  }), kt = Sn.extend({
1622
1622
  implicit: [
1623
1623
  In,
@@ -1629,37 +1629,37 @@ var On = new ne("tag:yaml.org,2002:set", {
1629
1629
  $n,
1630
1630
  On
1631
1631
  ]
1632
- }), ke = Object.prototype.hasOwnProperty, Ve = 1, Mn = 2, Nn = 3, Pe = 4, ot = 1, gi = 2, qt = 3, yi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, mi = /[\x85\u2028\u2029]/, hi = /[,\[\]\{\}]/, En = /^(?:!|!!|![a-z\-]+!)$/i, Fn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1632
+ }), ke = Object.prototype.hasOwnProperty, Ve = 1, Nn = 2, Fn = 3, Pe = 4, ot = 1, gr = 2, qt = 3, yr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, mr = /[\x85\u2028\u2029]/, hr = /[,\[\]\{\}]/, Mn = /^(?:!|!!|![a-z\-]+!)$/i, En = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1633
1633
  function Lt(e) {
1634
1634
  return Object.prototype.toString.call(e);
1635
1635
  }
1636
1636
  function fe(e) {
1637
1637
  return e === 10 || e === 13;
1638
1638
  }
1639
- function xe(e) {
1639
+ function Ae(e) {
1640
1640
  return e === 9 || e === 32;
1641
1641
  }
1642
- function ie(e) {
1642
+ function re(e) {
1643
1643
  return e === 9 || e === 32 || e === 10 || e === 13;
1644
1644
  }
1645
1645
  function je(e) {
1646
1646
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1647
1647
  }
1648
- function vi(e) {
1648
+ function vr(e) {
1649
1649
  var t;
1650
1650
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1651
1651
  }
1652
- function bi(e) {
1652
+ function br(e) {
1653
1653
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1654
1654
  }
1655
- function ki(e) {
1655
+ function kr(e) {
1656
1656
  return 48 <= e && e <= 57 ? e - 48 : -1;
1657
1657
  }
1658
1658
  function Bt(e) {
1659
1659
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1660
1660
  ` : 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" : "";
1661
1661
  }
1662
- function Ci(e) {
1662
+ function Cr(e) {
1663
1663
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1664
1664
  (e - 65536 >> 10) + 55296,
1665
1665
  (e - 65536 & 1023) + 56320
@@ -1668,7 +1668,7 @@ function Ci(e) {
1668
1668
  var Kn = new Array(256), qn = new Array(256);
1669
1669
  for (var _e = 0; _e < 256; _e++)
1670
1670
  Kn[_e] = Bt(_e) ? 1 : 0, qn[_e] = Bt(_e);
1671
- function wi(e, t) {
1671
+ function wr(e, t) {
1672
1672
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || kt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1673
1673
  }
1674
1674
  function Ln(e, t) {
@@ -1680,9 +1680,9 @@ function Ln(e, t) {
1680
1680
  line: e.line,
1681
1681
  column: e.position - e.lineStart
1682
1682
  };
1683
- return n.snippet = Ir(n), new re(t, n);
1683
+ return n.snippet = Ii(n), new ie(t, n);
1684
1684
  }
1685
- function S(e, t) {
1685
+ function x(e, t) {
1686
1686
  throw Ln(e, t);
1687
1687
  }
1688
1688
  function ze(e, t) {
@@ -1690,94 +1690,94 @@ function ze(e, t) {
1690
1690
  }
1691
1691
  var Ut = {
1692
1692
  YAML: function(e, t, n) {
1693
- var r, a, o;
1694
- e.version !== null && S(e, "duplication of %YAML directive"), n.length !== 1 && S(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && S(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && S(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && ze(e, "unsupported YAML version of the document");
1693
+ var a, i, o;
1694
+ e.version !== null && x(e, "duplication of %YAML directive"), n.length !== 1 && x(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), a === null && x(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), o = parseInt(a[2], 10), i !== 1 && x(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && ze(e, "unsupported YAML version of the document");
1695
1695
  },
1696
1696
  TAG: function(e, t, n) {
1697
- var r, a;
1698
- n.length !== 2 && S(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], En.test(r) || S(e, "ill-formed tag handle (first argument) of the TAG directive"), ke.call(e.tagMap, r) && S(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Fn.test(a) || S(e, "ill-formed tag prefix (second argument) of the TAG directive");
1697
+ var a, i;
1698
+ n.length !== 2 && x(e, "TAG directive accepts exactly two arguments"), a = n[0], i = n[1], Mn.test(a) || x(e, "ill-formed tag handle (first argument) of the TAG directive"), ke.call(e.tagMap, a) && x(e, 'there is a previously declared suffix for "' + a + '" tag handle'), En.test(i) || x(e, "ill-formed tag prefix (second argument) of the TAG directive");
1699
1699
  try {
1700
- a = decodeURIComponent(a);
1700
+ i = decodeURIComponent(i);
1701
1701
  } catch {
1702
- S(e, "tag prefix is malformed: " + a);
1702
+ x(e, "tag prefix is malformed: " + i);
1703
1703
  }
1704
- e.tagMap[r] = a;
1704
+ e.tagMap[a] = i;
1705
1705
  }
1706
1706
  };
1707
- function ve(e, t, n, r) {
1708
- var a, o, i, l;
1707
+ function ve(e, t, n, a) {
1708
+ var i, o, r, l;
1709
1709
  if (t < n) {
1710
- if (l = e.input.slice(t, n), r)
1711
- for (a = 0, o = l.length; a < o; a += 1)
1712
- i = l.charCodeAt(a), i === 9 || 32 <= i && i <= 1114111 || S(e, "expected valid JSON character");
1710
+ if (l = e.input.slice(t, n), a)
1711
+ for (i = 0, o = l.length; i < o; i += 1)
1712
+ r = l.charCodeAt(i), r === 9 || 32 <= r && r <= 1114111 || x(e, "expected valid JSON character");
1713
1713
  else
1714
- yi.test(l) && S(e, "the stream contains non-printable characters");
1714
+ yr.test(l) && x(e, "the stream contains non-printable characters");
1715
1715
  e.result += l;
1716
1716
  }
1717
1717
  }
1718
- function Rt(e, t, n, r) {
1719
- var a, o, i, l;
1720
- for (Q.isObject(n) || S(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), i = 0, l = a.length; i < l; i += 1)
1721
- o = a[i], ke.call(t, o) || (t[o] = n[o], r[o] = !0);
1718
+ function Rt(e, t, n, a) {
1719
+ var i, o, r, l;
1720
+ for (Q.isObject(n) || x(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), r = 0, l = i.length; r < l; r += 1)
1721
+ o = i[r], ke.call(t, o) || (t[o] = n[o], a[o] = !0);
1722
1722
  }
1723
- function $e(e, t, n, r, a, o, i, l, s) {
1723
+ function $e(e, t, n, a, i, o, r, l, s) {
1724
1724
  var c, d;
1725
- if (Array.isArray(a))
1726
- for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
1727
- Array.isArray(a[c]) && S(e, "nested arrays are not supported inside keys"), typeof a == "object" && Lt(a[c]) === "[object Object]" && (a[c] = "[object Object]");
1728
- if (typeof a == "object" && Lt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1725
+ if (Array.isArray(i))
1726
+ for (i = Array.prototype.slice.call(i), c = 0, d = i.length; c < d; c += 1)
1727
+ Array.isArray(i[c]) && x(e, "nested arrays are not supported inside keys"), typeof i == "object" && Lt(i[c]) === "[object Object]" && (i[c] = "[object Object]");
1728
+ if (typeof i == "object" && Lt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), a === "tag:yaml.org,2002:merge")
1729
1729
  if (Array.isArray(o))
1730
1730
  for (c = 0, d = o.length; c < d; c += 1)
1731
1731
  Rt(e, t, o[c], n);
1732
1732
  else
1733
1733
  Rt(e, t, o, n);
1734
1734
  else
1735
- !e.json && !ke.call(n, a) && ke.call(t, a) && (e.line = i || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, S(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1735
+ !e.json && !ke.call(n, i) && ke.call(t, i) && (e.line = r || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, x(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1736
1736
  configurable: !0,
1737
1737
  enumerable: !0,
1738
1738
  writable: !0,
1739
1739
  value: o
1740
- }) : t[a] = o, delete n[a];
1740
+ }) : t[i] = o, delete n[i];
1741
1741
  return t;
1742
1742
  }
1743
1743
  function Ct(e) {
1744
1744
  var t;
1745
- t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : S(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1745
+ t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : x(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1746
1746
  }
1747
1747
  function G(e, t, n) {
1748
- for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1749
- for (; xe(a); )
1750
- a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1751
- if (t && a === 35)
1748
+ for (var a = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1749
+ for (; Ae(i); )
1750
+ i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1751
+ if (t && i === 35)
1752
1752
  do
1753
- a = e.input.charCodeAt(++e.position);
1754
- while (a !== 10 && a !== 13 && a !== 0);
1755
- if (fe(a))
1756
- for (Ct(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1757
- e.lineIndent++, a = e.input.charCodeAt(++e.position);
1753
+ i = e.input.charCodeAt(++e.position);
1754
+ while (i !== 10 && i !== 13 && i !== 0);
1755
+ if (fe(i))
1756
+ for (Ct(e), i = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; i === 32; )
1757
+ e.lineIndent++, i = e.input.charCodeAt(++e.position);
1758
1758
  else
1759
1759
  break;
1760
1760
  }
1761
- return n !== -1 && r !== 0 && e.lineIndent < n && ze(e, "deficient indentation"), r;
1761
+ return n !== -1 && a !== 0 && e.lineIndent < n && ze(e, "deficient indentation"), a;
1762
1762
  }
1763
1763
  function Qe(e) {
1764
1764
  var t = e.position, n;
1765
- return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || ie(n)));
1765
+ return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || re(n)));
1766
1766
  }
1767
1767
  function wt(e, t) {
1768
1768
  t === 1 ? e.result += " " : t > 1 && (e.result += Q.repeat(`
1769
1769
  `, t - 1));
1770
1770
  }
1771
- function Si(e, t, n) {
1772
- var r, a, o, i, l, s, c, d, u = e.kind, h = e.result, y;
1773
- if (y = e.input.charCodeAt(e.position), ie(y) || je(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (a = e.input.charCodeAt(e.position + 1), ie(a) || n && je(a)))
1771
+ function Sr(e, t, n) {
1772
+ var a, i, o, r, l, s, c, d, u = e.kind, h = e.result, y;
1773
+ if (y = e.input.charCodeAt(e.position), re(y) || je(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (i = e.input.charCodeAt(e.position + 1), re(i) || n && je(i)))
1774
1774
  return !1;
1775
- for (e.kind = "scalar", e.result = "", o = i = e.position, l = !1; y !== 0; ) {
1775
+ for (e.kind = "scalar", e.result = "", o = r = e.position, l = !1; y !== 0; ) {
1776
1776
  if (y === 58) {
1777
- if (a = e.input.charCodeAt(e.position + 1), ie(a) || n && je(a))
1777
+ if (i = e.input.charCodeAt(e.position + 1), re(i) || n && je(i))
1778
1778
  break;
1779
1779
  } else if (y === 35) {
1780
- if (r = e.input.charCodeAt(e.position - 1), ie(r))
1780
+ if (a = e.input.charCodeAt(e.position - 1), re(a))
1781
1781
  break;
1782
1782
  } else {
1783
1783
  if (e.position === e.lineStart && Qe(e) || n && je(y))
@@ -1787,33 +1787,33 @@ function Si(e, t, n) {
1787
1787
  l = !0, y = e.input.charCodeAt(e.position);
1788
1788
  continue;
1789
1789
  } else {
1790
- e.position = i, e.line = s, e.lineStart = c, e.lineIndent = d;
1790
+ e.position = r, e.line = s, e.lineStart = c, e.lineIndent = d;
1791
1791
  break;
1792
1792
  }
1793
1793
  }
1794
- l && (ve(e, o, i, !1), wt(e, e.line - s), o = i = e.position, l = !1), xe(y) || (i = e.position + 1), y = e.input.charCodeAt(++e.position);
1794
+ l && (ve(e, o, r, !1), wt(e, e.line - s), o = r = e.position, l = !1), Ae(y) || (r = e.position + 1), y = e.input.charCodeAt(++e.position);
1795
1795
  }
1796
- return ve(e, o, i, !1), e.result ? !0 : (e.kind = u, e.result = h, !1);
1796
+ return ve(e, o, r, !1), e.result ? !0 : (e.kind = u, e.result = h, !1);
1797
1797
  }
1798
- function Ai(e, t) {
1799
- var n, r, a;
1798
+ function xr(e, t) {
1799
+ var n, a, i;
1800
1800
  if (n = e.input.charCodeAt(e.position), n !== 39)
1801
1801
  return !1;
1802
- for (e.kind = "scalar", e.result = "", e.position++, r = a = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1802
+ for (e.kind = "scalar", e.result = "", e.position++, a = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1803
1803
  if (n === 39)
1804
- if (ve(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1805
- r = e.position, e.position++, a = e.position;
1804
+ if (ve(e, a, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1805
+ a = e.position, e.position++, i = e.position;
1806
1806
  else
1807
1807
  return !0;
1808
1808
  else
1809
- fe(n) ? (ve(e, r, a, !0), wt(e, G(e, !1, t)), r = a = e.position) : e.position === e.lineStart && Qe(e) ? S(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1810
- S(e, "unexpected end of the stream within a single quoted scalar");
1809
+ fe(n) ? (ve(e, a, i, !0), wt(e, G(e, !1, t)), a = i = e.position) : e.position === e.lineStart && Qe(e) ? x(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1810
+ x(e, "unexpected end of the stream within a single quoted scalar");
1811
1811
  }
1812
- function xi(e, t) {
1813
- var n, r, a, o, i, l;
1812
+ function Ar(e, t) {
1813
+ var n, a, i, o, r, l;
1814
1814
  if (l = e.input.charCodeAt(e.position), l !== 34)
1815
1815
  return !1;
1816
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1816
+ for (e.kind = "scalar", e.result = "", e.position++, n = a = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1817
1817
  if (l === 34)
1818
1818
  return ve(e, n, e.position, !0), e.position++, !0;
1819
1819
  if (l === 92) {
@@ -1821,174 +1821,174 @@ function xi(e, t) {
1821
1821
  G(e, !1, t);
1822
1822
  else if (l < 256 && Kn[l])
1823
1823
  e.result += qn[l], e.position++;
1824
- else if ((i = bi(l)) > 0) {
1825
- for (a = i, o = 0; a > 0; a--)
1826
- l = e.input.charCodeAt(++e.position), (i = vi(l)) >= 0 ? o = (o << 4) + i : S(e, "expected hexadecimal character");
1827
- e.result += Ci(o), e.position++;
1824
+ else if ((r = br(l)) > 0) {
1825
+ for (i = r, o = 0; i > 0; i--)
1826
+ l = e.input.charCodeAt(++e.position), (r = vr(l)) >= 0 ? o = (o << 4) + r : x(e, "expected hexadecimal character");
1827
+ e.result += Cr(o), e.position++;
1828
1828
  } else
1829
- S(e, "unknown escape sequence");
1830
- n = r = e.position;
1829
+ x(e, "unknown escape sequence");
1830
+ n = a = e.position;
1831
1831
  } else
1832
- fe(l) ? (ve(e, n, r, !0), wt(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Qe(e) ? S(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1832
+ fe(l) ? (ve(e, n, a, !0), wt(e, G(e, !1, t)), n = a = e.position) : e.position === e.lineStart && Qe(e) ? x(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1833
1833
  }
1834
- S(e, "unexpected end of the stream within a double quoted scalar");
1834
+ x(e, "unexpected end of the stream within a double quoted scalar");
1835
1835
  }
1836
- function Ii(e, t) {
1837
- var n = !0, r, a, o, i = e.tag, l, s = e.anchor, c, d, u, h, y, C = /* @__PURE__ */ Object.create(null), b, w, L, _;
1838
- if (_ = e.input.charCodeAt(e.position), _ === 91)
1836
+ function Ir(e, t) {
1837
+ var n = !0, a, i, o, r = e.tag, l, s = e.anchor, c, d, u, h, y, C = /* @__PURE__ */ Object.create(null), S, k, F, w;
1838
+ if (w = e.input.charCodeAt(e.position), w === 91)
1839
1839
  d = 93, y = !1, l = [];
1840
- else if (_ === 123)
1840
+ else if (w === 123)
1841
1841
  d = 125, y = !0, l = {};
1842
1842
  else
1843
1843
  return !1;
1844
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), _ = e.input.charCodeAt(++e.position); _ !== 0; ) {
1845
- if (G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === d)
1846
- return e.position++, e.tag = i, e.anchor = s, e.kind = y ? "mapping" : "sequence", e.result = l, !0;
1847
- n ? _ === 44 && S(e, "expected the node content, but found ','") : S(e, "missed comma between flow collection entries"), w = b = L = null, u = h = !1, _ === 63 && (c = e.input.charCodeAt(e.position + 1), ie(c) && (u = h = !0, e.position++, G(e, !0, t))), r = e.line, a = e.lineStart, o = e.position, Me(e, t, Ve, !1, !0), w = e.tag, b = e.result, G(e, !0, t), _ = e.input.charCodeAt(e.position), (h || e.line === r) && _ === 58 && (u = !0, _ = e.input.charCodeAt(++e.position), G(e, !0, t), Me(e, t, Ve, !1, !0), L = e.result), y ? $e(e, l, C, w, b, L, r, a, o) : u ? l.push($e(e, null, C, w, b, L, r, a, o)) : l.push(b), G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === 44 ? (n = !0, _ = e.input.charCodeAt(++e.position)) : n = !1;
1844
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), w = e.input.charCodeAt(++e.position); w !== 0; ) {
1845
+ if (G(e, !0, t), w = e.input.charCodeAt(e.position), w === d)
1846
+ return e.position++, e.tag = r, e.anchor = s, e.kind = y ? "mapping" : "sequence", e.result = l, !0;
1847
+ n ? w === 44 && x(e, "expected the node content, but found ','") : x(e, "missed comma between flow collection entries"), k = S = F = null, u = h = !1, w === 63 && (c = e.input.charCodeAt(e.position + 1), re(c) && (u = h = !0, e.position++, G(e, !0, t))), a = e.line, i = e.lineStart, o = e.position, Ne(e, t, Ve, !1, !0), k = e.tag, S = e.result, G(e, !0, t), w = e.input.charCodeAt(e.position), (h || e.line === a) && w === 58 && (u = !0, w = e.input.charCodeAt(++e.position), G(e, !0, t), Ne(e, t, Ve, !1, !0), F = e.result), y ? $e(e, l, C, k, S, F, a, i, o) : u ? l.push($e(e, null, C, k, S, F, a, i, o)) : l.push(S), G(e, !0, t), w = e.input.charCodeAt(e.position), w === 44 ? (n = !0, w = e.input.charCodeAt(++e.position)) : n = !1;
1848
1848
  }
1849
- S(e, "unexpected end of the stream within a flow collection");
1849
+ x(e, "unexpected end of the stream within a flow collection");
1850
1850
  }
1851
- function _i(e, t) {
1852
- var n, r, a = ot, o = !1, i = !1, l = t, s = 0, c = !1, d, u;
1851
+ function _r(e, t) {
1852
+ var n, a, i = ot, o = !1, r = !1, l = t, s = 0, c = !1, d, u;
1853
1853
  if (u = e.input.charCodeAt(e.position), u === 124)
1854
- r = !1;
1854
+ a = !1;
1855
1855
  else if (u === 62)
1856
- r = !0;
1856
+ a = !0;
1857
1857
  else
1858
1858
  return !1;
1859
1859
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1860
1860
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1861
- ot === a ? a = u === 43 ? qt : gi : S(e, "repeat of a chomping mode identifier");
1862
- else if ((d = ki(u)) >= 0)
1863
- d === 0 ? S(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? S(e, "repeat of an indentation width identifier") : (l = t + d - 1, i = !0);
1861
+ ot === i ? i = u === 43 ? qt : gr : x(e, "repeat of a chomping mode identifier");
1862
+ else if ((d = kr(u)) >= 0)
1863
+ d === 0 ? x(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : r ? x(e, "repeat of an indentation width identifier") : (l = t + d - 1, r = !0);
1864
1864
  else
1865
1865
  break;
1866
- if (xe(u)) {
1866
+ if (Ae(u)) {
1867
1867
  do
1868
1868
  u = e.input.charCodeAt(++e.position);
1869
- while (xe(u));
1869
+ while (Ae(u));
1870
1870
  if (u === 35)
1871
1871
  do
1872
1872
  u = e.input.charCodeAt(++e.position);
1873
1873
  while (!fe(u) && u !== 0);
1874
1874
  }
1875
1875
  for (; u !== 0; ) {
1876
- for (Ct(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!i || e.lineIndent < l) && u === 32; )
1876
+ for (Ct(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!r || e.lineIndent < l) && u === 32; )
1877
1877
  e.lineIndent++, u = e.input.charCodeAt(++e.position);
1878
- if (!i && e.lineIndent > l && (l = e.lineIndent), fe(u)) {
1878
+ if (!r && e.lineIndent > l && (l = e.lineIndent), fe(u)) {
1879
1879
  s++;
1880
1880
  continue;
1881
1881
  }
1882
1882
  if (e.lineIndent < l) {
1883
- a === qt ? e.result += Q.repeat(`
1884
- `, o ? 1 + s : s) : a === ot && o && (e.result += `
1883
+ i === qt ? e.result += Q.repeat(`
1884
+ `, o ? 1 + s : s) : i === ot && o && (e.result += `
1885
1885
  `);
1886
1886
  break;
1887
1887
  }
1888
- for (r ? xe(u) ? (c = !0, e.result += Q.repeat(`
1888
+ for (a ? Ae(u) ? (c = !0, e.result += Q.repeat(`
1889
1889
  `, o ? 1 + s : s)) : c ? (c = !1, e.result += Q.repeat(`
1890
1890
  `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += Q.repeat(`
1891
1891
  `, s) : e.result += Q.repeat(`
1892
- `, o ? 1 + s : s), o = !0, i = !0, s = 0, n = e.position; !fe(u) && u !== 0; )
1892
+ `, o ? 1 + s : s), o = !0, r = !0, s = 0, n = e.position; !fe(u) && u !== 0; )
1893
1893
  u = e.input.charCodeAt(++e.position);
1894
1894
  ve(e, n, e.position, !1);
1895
1895
  }
1896
1896
  return !0;
1897
1897
  }
1898
1898
  function Dt(e, t) {
1899
- var n, r = e.tag, a = e.anchor, o = [], i, l = !1, s;
1899
+ var n, a = e.tag, i = e.anchor, o = [], r, l = !1, s;
1900
1900
  if (e.firstTabInLine !== -1)
1901
1901
  return !1;
1902
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), !(s !== 45 || (i = e.input.charCodeAt(e.position + 1), !ie(i)))); ) {
1902
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, x(e, "tab characters must not be used in indentation")), !(s !== 45 || (r = e.input.charCodeAt(e.position + 1), !re(r)))); ) {
1903
1903
  if (l = !0, e.position++, G(e, !0, -1) && e.lineIndent <= t) {
1904
1904
  o.push(null), s = e.input.charCodeAt(e.position);
1905
1905
  continue;
1906
1906
  }
1907
- if (n = e.line, Me(e, t, Nn, !1, !0), o.push(e.result), G(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1908
- S(e, "bad indentation of a sequence entry");
1907
+ if (n = e.line, Ne(e, t, Fn, !1, !0), o.push(e.result), G(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1908
+ x(e, "bad indentation of a sequence entry");
1909
1909
  else if (e.lineIndent < t)
1910
1910
  break;
1911
1911
  }
1912
- return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
1912
+ return l ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1913
1913
  }
1914
- function Ti(e, t, n) {
1915
- var r, a, o, i, l, s, c = e.tag, d = e.anchor, u = {}, h = /* @__PURE__ */ Object.create(null), y = null, C = null, b = null, w = !1, L = !1, _;
1914
+ function Tr(e, t, n) {
1915
+ var a, i, o, r, l, s, c = e.tag, d = e.anchor, u = {}, h = /* @__PURE__ */ Object.create(null), y = null, C = null, S = null, k = !1, F = !1, w;
1916
1916
  if (e.firstTabInLine !== -1)
1917
1917
  return !1;
1918
- for (e.anchor !== null && (e.anchorMap[e.anchor] = u), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
1919
- if (!w && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (_ === 63 || _ === 58) && ie(r))
1920
- _ === 63 ? (w && ($e(e, u, h, y, C, null, i, l, s), y = C = b = null), L = !0, w = !0, a = !0) : w ? (w = !1, a = !0) : S(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
1918
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = u), w = e.input.charCodeAt(e.position); w !== 0; ) {
1919
+ if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, x(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (w === 63 || w === 58) && re(a))
1920
+ w === 63 ? (k && ($e(e, u, h, y, C, null, r, l, s), y = C = S = null), F = !0, k = !0, i = !0) : k ? (k = !1, i = !0) : x(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = a;
1921
1921
  else {
1922
- if (i = e.line, l = e.lineStart, s = e.position, !Me(e, n, Mn, !1, !0))
1922
+ if (r = e.line, l = e.lineStart, s = e.position, !Ne(e, n, Nn, !1, !0))
1923
1923
  break;
1924
1924
  if (e.line === o) {
1925
- for (_ = e.input.charCodeAt(e.position); xe(_); )
1926
- _ = e.input.charCodeAt(++e.position);
1927
- if (_ === 58)
1928
- _ = e.input.charCodeAt(++e.position), ie(_) || S(e, "a whitespace character is expected after the key-value separator within a block mapping"), w && ($e(e, u, h, y, C, null, i, l, s), y = C = b = null), L = !0, w = !1, a = !1, y = e.tag, C = e.result;
1929
- else if (L)
1930
- S(e, "can not read an implicit mapping pair; a colon is missed");
1925
+ for (w = e.input.charCodeAt(e.position); Ae(w); )
1926
+ w = e.input.charCodeAt(++e.position);
1927
+ if (w === 58)
1928
+ w = e.input.charCodeAt(++e.position), re(w) || x(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && ($e(e, u, h, y, C, null, r, l, s), y = C = S = null), F = !0, k = !1, i = !1, y = e.tag, C = e.result;
1929
+ else if (F)
1930
+ x(e, "can not read an implicit mapping pair; a colon is missed");
1931
1931
  else
1932
1932
  return e.tag = c, e.anchor = d, !0;
1933
- } else if (L)
1934
- S(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1933
+ } else if (F)
1934
+ x(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1935
1935
  else
1936
1936
  return e.tag = c, e.anchor = d, !0;
1937
1937
  }
1938
- if ((e.line === o || e.lineIndent > t) && (w && (i = e.line, l = e.lineStart, s = e.position), Me(e, t, Pe, !0, a) && (w ? C = e.result : b = e.result), w || ($e(e, u, h, y, C, b, i, l, s), y = C = b = null), G(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && _ !== 0)
1939
- S(e, "bad indentation of a mapping entry");
1938
+ if ((e.line === o || e.lineIndent > t) && (k && (r = e.line, l = e.lineStart, s = e.position), Ne(e, t, Pe, !0, i) && (k ? C = e.result : S = e.result), k || ($e(e, u, h, y, C, S, r, l, s), y = C = S = null), G(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && w !== 0)
1939
+ x(e, "bad indentation of a mapping entry");
1940
1940
  else if (e.lineIndent < t)
1941
1941
  break;
1942
1942
  }
1943
- return w && $e(e, u, h, y, C, null, i, l, s), L && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), L;
1943
+ return k && $e(e, u, h, y, C, null, r, l, s), F && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), F;
1944
1944
  }
1945
- function ji(e) {
1946
- var t, n = !1, r = !1, a, o, i;
1947
- if (i = e.input.charCodeAt(e.position), i !== 33)
1945
+ function jr(e) {
1946
+ var t, n = !1, a = !1, i, o, r;
1947
+ if (r = e.input.charCodeAt(e.position), r !== 33)
1948
1948
  return !1;
1949
- if (e.tag !== null && S(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (n = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, a = "!!", i = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
1949
+ if (e.tag !== null && x(e, "duplication of a tag property"), r = e.input.charCodeAt(++e.position), r === 60 ? (n = !0, r = e.input.charCodeAt(++e.position)) : r === 33 ? (a = !0, i = "!!", r = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
1950
1950
  do
1951
- i = e.input.charCodeAt(++e.position);
1952
- while (i !== 0 && i !== 62);
1953
- e.position < e.length ? (o = e.input.slice(t, e.position), i = e.input.charCodeAt(++e.position)) : S(e, "unexpected end of the stream within a verbatim tag");
1951
+ r = e.input.charCodeAt(++e.position);
1952
+ while (r !== 0 && r !== 62);
1953
+ e.position < e.length ? (o = e.input.slice(t, e.position), r = e.input.charCodeAt(++e.position)) : x(e, "unexpected end of the stream within a verbatim tag");
1954
1954
  } else {
1955
- for (; i !== 0 && !ie(i); )
1956
- i === 33 && (r ? S(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), En.test(a) || S(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), i = e.input.charCodeAt(++e.position);
1957
- o = e.input.slice(t, e.position), hi.test(o) && S(e, "tag suffix cannot contain flow indicator characters");
1955
+ for (; r !== 0 && !re(r); )
1956
+ r === 33 && (a ? x(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), Mn.test(i) || x(e, "named tag handle cannot contain such characters"), a = !0, t = e.position + 1)), r = e.input.charCodeAt(++e.position);
1957
+ o = e.input.slice(t, e.position), hr.test(o) && x(e, "tag suffix cannot contain flow indicator characters");
1958
1958
  }
1959
- o && !Fn.test(o) && S(e, "tag name cannot contain such characters: " + o);
1959
+ o && !En.test(o) && x(e, "tag name cannot contain such characters: " + o);
1960
1960
  try {
1961
1961
  o = decodeURIComponent(o);
1962
1962
  } catch {
1963
- S(e, "tag name is malformed: " + o);
1963
+ x(e, "tag name is malformed: " + o);
1964
1964
  }
1965
- return n ? e.tag = o : ke.call(e.tagMap, a) ? e.tag = e.tagMap[a] + o : a === "!" ? e.tag = "!" + o : a === "!!" ? e.tag = "tag:yaml.org,2002:" + o : S(e, 'undeclared tag handle "' + a + '"'), !0;
1965
+ return n ? e.tag = o : ke.call(e.tagMap, i) ? e.tag = e.tagMap[i] + o : i === "!" ? e.tag = "!" + o : i === "!!" ? e.tag = "tag:yaml.org,2002:" + o : x(e, 'undeclared tag handle "' + i + '"'), !0;
1966
1966
  }
1967
- function $i(e) {
1967
+ function $r(e) {
1968
1968
  var t, n;
1969
1969
  if (n = e.input.charCodeAt(e.position), n !== 38)
1970
1970
  return !1;
1971
- for (e.anchor !== null && S(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ie(n) && !je(n); )
1971
+ for (e.anchor !== null && x(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !je(n); )
1972
1972
  n = e.input.charCodeAt(++e.position);
1973
- return e.position === t && S(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1973
+ return e.position === t && x(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1974
1974
  }
1975
- function Oi(e) {
1976
- var t, n, r;
1977
- if (r = e.input.charCodeAt(e.position), r !== 42)
1975
+ function Or(e) {
1976
+ var t, n, a;
1977
+ if (a = e.input.charCodeAt(e.position), a !== 42)
1978
1978
  return !1;
1979
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !ie(r) && !je(r); )
1980
- r = e.input.charCodeAt(++e.position);
1981
- return e.position === t && S(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ke.call(e.anchorMap, n) || S(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1982
- }
1983
- function Me(e, t, n, r, a) {
1984
- var o, i, l, s = 1, c = !1, d = !1, u, h, y, C, b, w;
1985
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = l = Pe === n || Nn === n, r && G(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1986
- for (; ji(e) || $i(e); )
1979
+ for (a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !re(a) && !je(a); )
1980
+ a = e.input.charCodeAt(++e.position);
1981
+ return e.position === t && x(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ke.call(e.anchorMap, n) || x(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1982
+ }
1983
+ function Ne(e, t, n, a, i) {
1984
+ var o, r, l, s = 1, c = !1, d = !1, u, h, y, C, S, k;
1985
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = r = l = Pe === n || Fn === n, a && G(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1986
+ for (; jr(e) || $r(e); )
1987
1987
  G(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1988
- if (l && (l = c || a), (s === 1 || Pe === n) && (Ve === n || Mn === n ? b = t : b = t + 1, w = e.position - e.lineStart, s === 1 ? l && (Dt(e, w) || Ti(e, w, b)) || Ii(e, b) ? d = !0 : (i && _i(e, b) || Ai(e, b) || xi(e, b) ? d = !0 : Oi(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && S(e, "alias node should not have any properties")) : Si(e, b, Ve === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Dt(e, w))), e.tag === null)
1988
+ if (l && (l = c || i), (s === 1 || Pe === n) && (Ve === n || Nn === n ? S = t : S = t + 1, k = e.position - e.lineStart, s === 1 ? l && (Dt(e, k) || Tr(e, k, S)) || Ir(e, S) ? d = !0 : (r && _r(e, S) || xr(e, S) || Ar(e, S) ? d = !0 : Or(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && x(e, "alias node should not have any properties")) : Sr(e, S, Ve === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Dt(e, k))), e.tag === null)
1989
1989
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1990
1990
  else if (e.tag === "?") {
1991
- for (e.result !== null && e.kind !== "scalar" && S(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
1991
+ for (e.result !== null && e.kind !== "scalar" && x(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
1992
1992
  if (C = e.implicitTypes[u], C.resolve(e.result)) {
1993
1993
  e.result = C.construct(e.result), e.tag = C.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1994
1994
  break;
@@ -2002,71 +2002,71 @@ function Me(e, t, n, r, a) {
2002
2002
  C = y[u];
2003
2003
  break;
2004
2004
  }
2005
- C || S(e, "unknown tag !<" + e.tag + ">"), e.result !== null && C.kind !== e.kind && S(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + C.kind + '", not "' + e.kind + '"'), C.resolve(e.result, e.tag) ? (e.result = C.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : S(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2005
+ C || x(e, "unknown tag !<" + e.tag + ">"), e.result !== null && C.kind !== e.kind && x(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + C.kind + '", not "' + e.kind + '"'), C.resolve(e.result, e.tag) ? (e.result = C.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : x(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2006
2006
  }
2007
2007
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2008
2008
  }
2009
- function Mi(e) {
2010
- var t = e.position, n, r, a, o = !1, i;
2011
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (G(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2012
- for (o = !0, i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !ie(i); )
2013
- i = e.input.charCodeAt(++e.position);
2014
- for (r = e.input.slice(n, e.position), a = [], r.length < 1 && S(e, "directive name must not be less than one character in length"); i !== 0; ) {
2015
- for (; xe(i); )
2016
- i = e.input.charCodeAt(++e.position);
2017
- if (i === 35) {
2009
+ function Nr(e) {
2010
+ var t = e.position, n, a, i, o = !1, r;
2011
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (r = e.input.charCodeAt(e.position)) !== 0 && (G(e, !0, -1), r = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || r !== 37)); ) {
2012
+ for (o = !0, r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !re(r); )
2013
+ r = e.input.charCodeAt(++e.position);
2014
+ for (a = e.input.slice(n, e.position), i = [], a.length < 1 && x(e, "directive name must not be less than one character in length"); r !== 0; ) {
2015
+ for (; Ae(r); )
2016
+ r = e.input.charCodeAt(++e.position);
2017
+ if (r === 35) {
2018
2018
  do
2019
- i = e.input.charCodeAt(++e.position);
2020
- while (i !== 0 && !fe(i));
2019
+ r = e.input.charCodeAt(++e.position);
2020
+ while (r !== 0 && !fe(r));
2021
2021
  break;
2022
2022
  }
2023
- if (fe(i))
2023
+ if (fe(r))
2024
2024
  break;
2025
- for (n = e.position; i !== 0 && !ie(i); )
2026
- i = e.input.charCodeAt(++e.position);
2027
- a.push(e.input.slice(n, e.position));
2025
+ for (n = e.position; r !== 0 && !re(r); )
2026
+ r = e.input.charCodeAt(++e.position);
2027
+ i.push(e.input.slice(n, e.position));
2028
2028
  }
2029
- i !== 0 && Ct(e), ke.call(Ut, r) ? Ut[r](e, r, a) : ze(e, 'unknown document directive "' + r + '"');
2029
+ r !== 0 && Ct(e), ke.call(Ut, a) ? Ut[a](e, a, i) : ze(e, 'unknown document directive "' + a + '"');
2030
2030
  }
2031
- if (G(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, G(e, !0, -1)) : o && S(e, "directives end mark is expected"), Me(e, e.lineIndent - 1, Pe, !1, !0), G(e, !0, -1), e.checkLineBreaks && mi.test(e.input.slice(t, e.position)) && ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Qe(e)) {
2031
+ if (G(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, G(e, !0, -1)) : o && x(e, "directives end mark is expected"), Ne(e, e.lineIndent - 1, Pe, !1, !0), G(e, !0, -1), e.checkLineBreaks && mr.test(e.input.slice(t, e.position)) && ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Qe(e)) {
2032
2032
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, G(e, !0, -1));
2033
2033
  return;
2034
2034
  }
2035
2035
  if (e.position < e.length - 1)
2036
- S(e, "end of the stream or a document separator is expected");
2036
+ x(e, "end of the stream or a document separator is expected");
2037
2037
  else
2038
2038
  return;
2039
2039
  }
2040
2040
  function Bn(e, t) {
2041
2041
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2042
2042
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2043
- var n = new wi(e, t), r = e.indexOf("\0");
2044
- for (r !== -1 && (n.position = r, S(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2043
+ var n = new wr(e, t), a = e.indexOf("\0");
2044
+ for (a !== -1 && (n.position = a, x(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2045
2045
  n.lineIndent += 1, n.position += 1;
2046
2046
  for (; n.position < n.length - 1; )
2047
- Mi(n);
2047
+ Nr(n);
2048
2048
  return n.documents;
2049
2049
  }
2050
- function Ni(e, t, n) {
2050
+ function Fr(e, t, n) {
2051
2051
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2052
- var r = Bn(e, n);
2052
+ var a = Bn(e, n);
2053
2053
  if (typeof t != "function")
2054
- return r;
2055
- for (var a = 0, o = r.length; a < o; a += 1)
2056
- t(r[a]);
2054
+ return a;
2055
+ for (var i = 0, o = a.length; i < o; i += 1)
2056
+ t(a[i]);
2057
2057
  }
2058
- function Ei(e, t) {
2058
+ function Mr(e, t) {
2059
2059
  var n = Bn(e, t);
2060
2060
  if (n.length !== 0) {
2061
2061
  if (n.length === 1)
2062
2062
  return n[0];
2063
- throw new re("expected a single document in the stream, but found more");
2063
+ throw new ie("expected a single document in the stream, but found more");
2064
2064
  }
2065
2065
  }
2066
- var Fi = Ni, Ki = Ei, Un = {
2067
- loadAll: Fi,
2068
- load: Ki
2069
- }, Rn = Object.prototype.toString, Dn = Object.prototype.hasOwnProperty, St = 65279, qi = 9, Ke = 10, Li = 13, Bi = 32, Ui = 33, Ri = 34, ut = 35, Di = 37, Vi = 38, Pi = 39, zi = 42, Vn = 44, Ji = 45, Je = 58, Hi = 61, Yi = 62, Wi = 63, Zi = 64, Pn = 91, zn = 93, Gi = 96, Jn = 123, Qi = 124, Hn = 125, ae = {};
2066
+ var Er = Fr, Kr = Mr, Un = {
2067
+ loadAll: Er,
2068
+ load: Kr
2069
+ }, Rn = Object.prototype.toString, Dn = Object.prototype.hasOwnProperty, St = 65279, qr = 9, Ke = 10, Lr = 13, Br = 32, Ur = 33, Rr = 34, ut = 35, Dr = 37, Vr = 38, Pr = 39, zr = 42, Vn = 44, Jr = 45, Je = 58, Hr = 61, Yr = 62, Zr = 63, Wr = 64, Pn = 91, zn = 93, Gr = 96, Jn = 123, Qr = 124, Hn = 125, ae = {};
2070
2070
  ae[0] = "\\0";
2071
2071
  ae[7] = "\\a";
2072
2072
  ae[8] = "\\b";
@@ -2082,7 +2082,7 @@ ae[133] = "\\N";
2082
2082
  ae[160] = "\\_";
2083
2083
  ae[8232] = "\\L";
2084
2084
  ae[8233] = "\\P";
2085
- var Xi = [
2085
+ var Xr = [
2086
2086
  "y",
2087
2087
  "Y",
2088
2088
  "yes",
@@ -2101,142 +2101,142 @@ var Xi = [
2101
2101
  "OFF"
2102
2102
  ], eo = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2103
2103
  function to(e, t) {
2104
- var n, r, a, o, i, l, s;
2104
+ var n, a, i, o, r, l, s;
2105
2105
  if (t === null)
2106
2106
  return {};
2107
- for (n = {}, r = Object.keys(t), a = 0, o = r.length; a < o; a += 1)
2108
- i = r[a], l = String(t[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), s = e.compiledTypeMap.fallback[i], s && Dn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[i] = l;
2107
+ for (n = {}, a = Object.keys(t), i = 0, o = a.length; i < o; i += 1)
2108
+ r = a[i], l = String(t[r]), r.slice(0, 2) === "!!" && (r = "tag:yaml.org,2002:" + r.slice(2)), s = e.compiledTypeMap.fallback[r], s && Dn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[r] = l;
2109
2109
  return n;
2110
2110
  }
2111
2111
  function no(e) {
2112
- var t, n, r;
2112
+ var t, n, a;
2113
2113
  if (t = e.toString(16).toUpperCase(), e <= 255)
2114
- n = "x", r = 2;
2114
+ n = "x", a = 2;
2115
2115
  else if (e <= 65535)
2116
- n = "u", r = 4;
2116
+ n = "u", a = 4;
2117
2117
  else if (e <= 4294967295)
2118
- n = "U", r = 8;
2118
+ n = "U", a = 8;
2119
2119
  else
2120
- throw new re("code point within a string may not be greater than 0xFFFFFFFF");
2121
- return "\\" + n + Q.repeat("0", r - t.length) + t;
2120
+ throw new ie("code point within a string may not be greater than 0xFFFFFFFF");
2121
+ return "\\" + n + Q.repeat("0", a - t.length) + t;
2122
2122
  }
2123
2123
  var ao = 1, qe = 2;
2124
- function ro(e) {
2124
+ function io(e) {
2125
2125
  this.schema = e.schema || kt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = to(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 : ao, 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;
2126
2126
  }
2127
2127
  function Vt(e, t) {
2128
- for (var n = Q.repeat(" ", t), r = 0, a = -1, o = "", i, l = e.length; r < l; )
2129
- a = e.indexOf(`
2130
- `, r), a === -1 ? (i = e.slice(r), r = l) : (i = e.slice(r, a + 1), r = a + 1), i.length && i !== `
2131
- ` && (o += n), o += i;
2128
+ for (var n = Q.repeat(" ", t), a = 0, i = -1, o = "", r, l = e.length; a < l; )
2129
+ i = e.indexOf(`
2130
+ `, a), i === -1 ? (r = e.slice(a), a = l) : (r = e.slice(a, i + 1), a = i + 1), r.length && r !== `
2131
+ ` && (o += n), o += r;
2132
2132
  return o;
2133
2133
  }
2134
2134
  function dt(e, t) {
2135
2135
  return `
2136
2136
  ` + Q.repeat(" ", e.indent * t);
2137
2137
  }
2138
- function io(e, t) {
2139
- var n, r, a;
2140
- for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2141
- if (a = e.implicitTypes[n], a.resolve(t))
2138
+ function ro(e, t) {
2139
+ var n, a, i;
2140
+ for (n = 0, a = e.implicitTypes.length; n < a; n += 1)
2141
+ if (i = e.implicitTypes[n], i.resolve(t))
2142
2142
  return !0;
2143
2143
  return !1;
2144
2144
  }
2145
2145
  function He(e) {
2146
- return e === Bi || e === qi;
2146
+ return e === Br || e === qr;
2147
2147
  }
2148
2148
  function Le(e) {
2149
2149
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== St || 65536 <= e && e <= 1114111;
2150
2150
  }
2151
2151
  function Pt(e) {
2152
- return Le(e) && e !== St && e !== Li && e !== Ke;
2152
+ return Le(e) && e !== St && e !== Lr && e !== Ke;
2153
2153
  }
2154
2154
  function zt(e, t, n) {
2155
- var r = Pt(e), a = r && !He(e);
2155
+ var a = Pt(e), i = a && !He(e);
2156
2156
  return (
2157
2157
  // ns-plain-safe
2158
2158
  (n ? (
2159
2159
  // c = flow-in
2160
- r
2161
- ) : r && e !== Vn && e !== Pn && e !== zn && e !== Jn && e !== Hn) && e !== ut && !(t === Je && !a) || Pt(t) && !He(t) && e === ut || t === Je && a
2160
+ a
2161
+ ) : a && e !== Vn && e !== Pn && e !== zn && e !== Jn && e !== Hn) && e !== ut && !(t === Je && !i) || Pt(t) && !He(t) && e === ut || t === Je && i
2162
2162
  );
2163
2163
  }
2164
2164
  function oo(e) {
2165
- return Le(e) && e !== St && !He(e) && e !== Ji && e !== Wi && e !== Je && e !== Vn && e !== Pn && e !== zn && e !== Jn && e !== Hn && e !== ut && e !== Vi && e !== zi && e !== Ui && e !== Qi && e !== Hi && e !== Yi && e !== Pi && e !== Ri && e !== Di && e !== Zi && e !== Gi;
2165
+ return Le(e) && e !== St && !He(e) && e !== Jr && e !== Zr && e !== Je && e !== Vn && e !== Pn && e !== zn && e !== Jn && e !== Hn && e !== ut && e !== Vr && e !== zr && e !== Ur && e !== Qr && e !== Hr && e !== Yr && e !== Pr && e !== Rr && e !== Dr && e !== Wr && e !== Gr;
2166
2166
  }
2167
2167
  function lo(e) {
2168
2168
  return !He(e) && e !== Je;
2169
2169
  }
2170
- function Ee(e, t) {
2171
- var n = e.charCodeAt(t), r;
2172
- return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
2170
+ function Me(e, t) {
2171
+ var n = e.charCodeAt(t), a;
2172
+ return n >= 55296 && n <= 56319 && t + 1 < e.length && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (n - 55296) * 1024 + a - 56320 + 65536 : n;
2173
2173
  }
2174
2174
  function Yn(e) {
2175
2175
  var t = /^\n* /;
2176
2176
  return t.test(e);
2177
2177
  }
2178
- var Wn = 1, pt = 2, Zn = 3, Gn = 4, Te = 5;
2179
- function so(e, t, n, r, a, o, i, l) {
2180
- var s, c = 0, d = null, u = !1, h = !1, y = r !== -1, C = -1, b = oo(Ee(e, 0)) && lo(Ee(e, e.length - 1));
2181
- if (t || i)
2178
+ var Zn = 1, pt = 2, Wn = 3, Gn = 4, Te = 5;
2179
+ function so(e, t, n, a, i, o, r, l) {
2180
+ var s, c = 0, d = null, u = !1, h = !1, y = a !== -1, C = -1, S = oo(Me(e, 0)) && lo(Me(e, e.length - 1));
2181
+ if (t || r)
2182
2182
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2183
- if (c = Ee(e, s), !Le(c))
2183
+ if (c = Me(e, s), !Le(c))
2184
2184
  return Te;
2185
- b = b && zt(c, d, l), d = c;
2185
+ S = S && zt(c, d, l), d = c;
2186
2186
  }
2187
2187
  else {
2188
2188
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2189
- if (c = Ee(e, s), c === Ke)
2189
+ if (c = Me(e, s), c === Ke)
2190
2190
  u = !0, y && (h = h || // Foldable line = too long, and not more-indented.
2191
- s - C - 1 > r && e[C + 1] !== " ", C = s);
2191
+ s - C - 1 > a && e[C + 1] !== " ", C = s);
2192
2192
  else if (!Le(c))
2193
2193
  return Te;
2194
- b = b && zt(c, d, l), d = c;
2194
+ S = S && zt(c, d, l), d = c;
2195
2195
  }
2196
- h = h || y && s - C - 1 > r && e[C + 1] !== " ";
2196
+ h = h || y && s - C - 1 > a && e[C + 1] !== " ";
2197
2197
  }
2198
- return !u && !h ? b && !i && !a(e) ? Wn : o === qe ? Te : pt : n > 9 && Yn(e) ? Te : i ? o === qe ? Te : pt : h ? Gn : Zn;
2198
+ return !u && !h ? S && !r && !i(e) ? Zn : o === qe ? Te : pt : n > 9 && Yn(e) ? Te : r ? o === qe ? Te : pt : h ? Gn : Wn;
2199
2199
  }
2200
- function co(e, t, n, r, a) {
2200
+ function co(e, t, n, a, i) {
2201
2201
  e.dump = function() {
2202
2202
  if (t.length === 0)
2203
2203
  return e.quotingType === qe ? '""' : "''";
2204
- if (!e.noCompatMode && (Xi.indexOf(t) !== -1 || eo.test(t)))
2204
+ if (!e.noCompatMode && (Xr.indexOf(t) !== -1 || eo.test(t)))
2205
2205
  return e.quotingType === qe ? '"' + t + '"' : "'" + t + "'";
2206
- var o = e.indent * Math.max(1, n), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2206
+ var o = e.indent * Math.max(1, n), r = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = a || e.flowLevel > -1 && n >= e.flowLevel;
2207
2207
  function s(c) {
2208
- return io(e, c);
2208
+ return ro(e, c);
2209
2209
  }
2210
2210
  switch (so(
2211
2211
  t,
2212
2212
  l,
2213
2213
  e.indent,
2214
- i,
2214
+ r,
2215
2215
  s,
2216
2216
  e.quotingType,
2217
- e.forceQuotes && !r,
2218
- a
2217
+ e.forceQuotes && !a,
2218
+ i
2219
2219
  )) {
2220
- case Wn:
2220
+ case Zn:
2221
2221
  return t;
2222
2222
  case pt:
2223
2223
  return "'" + t.replace(/'/g, "''") + "'";
2224
- case Zn:
2224
+ case Wn:
2225
2225
  return "|" + Jt(t, e.indent) + Ht(Vt(t, o));
2226
2226
  case Gn:
2227
- return ">" + Jt(t, e.indent) + Ht(Vt(uo(t, i), o));
2227
+ return ">" + Jt(t, e.indent) + Ht(Vt(uo(t, r), o));
2228
2228
  case Te:
2229
2229
  return '"' + po(t) + '"';
2230
2230
  default:
2231
- throw new re("impossible error: invalid scalar style");
2231
+ throw new ie("impossible error: invalid scalar style");
2232
2232
  }
2233
2233
  }();
2234
2234
  }
2235
2235
  function Jt(e, t) {
2236
- var n = Yn(e) ? String(t) : "", r = e[e.length - 1] === `
2237
- `, a = r && (e[e.length - 2] === `
2236
+ var n = Yn(e) ? String(t) : "", a = e[e.length - 1] === `
2237
+ `, i = a && (e[e.length - 2] === `
2238
2238
  ` || e === `
2239
- `), o = a ? "+" : r ? "" : "-";
2239
+ `), o = i ? "+" : a ? "" : "-";
2240
2240
  return n + o + `
2241
2241
  `;
2242
2242
  }
@@ -2245,98 +2245,98 @@ function Ht(e) {
2245
2245
  ` ? e.slice(0, -1) : e;
2246
2246
  }
2247
2247
  function uo(e, t) {
2248
- for (var n = /(\n+)([^\n]*)/g, r = function() {
2248
+ for (var n = /(\n+)([^\n]*)/g, a = function() {
2249
2249
  var c = e.indexOf(`
2250
2250
  `);
2251
2251
  return c = c !== -1 ? c : e.length, n.lastIndex = c, Yt(e.slice(0, c), t);
2252
- }(), a = e[0] === `
2253
- ` || e[0] === " ", o, i; i = n.exec(e); ) {
2254
- var l = i[1], s = i[2];
2255
- o = s[0] === " ", r += l + (!a && !o && s !== "" ? `
2256
- ` : "") + Yt(s, t), a = o;
2252
+ }(), i = e[0] === `
2253
+ ` || e[0] === " ", o, r; r = n.exec(e); ) {
2254
+ var l = r[1], s = r[2];
2255
+ o = s[0] === " ", a += l + (!i && !o && s !== "" ? `
2256
+ ` : "") + Yt(s, t), i = o;
2257
2257
  }
2258
- return r;
2258
+ return a;
2259
2259
  }
2260
2260
  function Yt(e, t) {
2261
2261
  if (e === "" || e[0] === " ")
2262
2262
  return e;
2263
- for (var n = / [^ ]/g, r, a = 0, o, i = 0, l = 0, s = ""; r = n.exec(e); )
2264
- l = r.index, l - a > t && (o = i > a ? i : l, s += `
2265
- ` + e.slice(a, o), a = o + 1), i = l;
2263
+ for (var n = / [^ ]/g, a, i = 0, o, r = 0, l = 0, s = ""; a = n.exec(e); )
2264
+ l = a.index, l - i > t && (o = r > i ? r : l, s += `
2265
+ ` + e.slice(i, o), i = o + 1), r = l;
2266
2266
  return s += `
2267
- `, e.length - a > t && i > a ? s += e.slice(a, i) + `
2268
- ` + e.slice(i + 1) : s += e.slice(a), s.slice(1);
2267
+ `, e.length - i > t && r > i ? s += e.slice(i, r) + `
2268
+ ` + e.slice(r + 1) : s += e.slice(i), s.slice(1);
2269
2269
  }
2270
2270
  function po(e) {
2271
- for (var t = "", n = 0, r, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
2272
- n = Ee(e, a), r = ae[n], !r && Le(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || no(n);
2271
+ for (var t = "", n = 0, a, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
2272
+ n = Me(e, i), a = ae[n], !a && Le(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += a || no(n);
2273
2273
  return t;
2274
2274
  }
2275
2275
  function fo(e, t, n) {
2276
- var r = "", a = e.tag, o, i, l;
2277
- for (o = 0, i = n.length; o < i; o += 1)
2278
- l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (ge(e, t, l, !1, !1) || typeof l > "u" && ge(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2279
- e.tag = a, e.dump = "[" + r + "]";
2276
+ var a = "", i = e.tag, o, r, l;
2277
+ for (o = 0, r = n.length; o < r; o += 1)
2278
+ l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (ge(e, t, l, !1, !1) || typeof l > "u" && ge(e, t, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2279
+ e.tag = i, e.dump = "[" + a + "]";
2280
2280
  }
2281
- function Wt(e, t, n, r) {
2282
- var a = "", o = e.tag, i, l, s;
2283
- for (i = 0, l = n.length; i < l; i += 1)
2284
- s = n[i], e.replacer && (s = e.replacer.call(n, String(i), s)), (ge(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ge(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += dt(e, t)), e.dump && Ke === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2285
- e.tag = o, e.dump = a || "[]";
2281
+ function Zt(e, t, n, a) {
2282
+ var i = "", o = e.tag, r, l, s;
2283
+ for (r = 0, l = n.length; r < l; r += 1)
2284
+ s = n[r], e.replacer && (s = e.replacer.call(n, String(r), s)), (ge(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ge(e, t + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += dt(e, t)), e.dump && Ke === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2285
+ e.tag = o, e.dump = i || "[]";
2286
2286
  }
2287
2287
  function go(e, t, n) {
2288
- var r = "", a = e.tag, o = Object.keys(n), i, l, s, c, d;
2289
- for (i = 0, l = o.length; i < l; i += 1)
2290
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[i], c = n[s], e.replacer && (c = e.replacer.call(n, s, c)), ge(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ge(e, t, c, !1, !1) && (d += e.dump, r += d));
2291
- e.tag = a, e.dump = "{" + r + "}";
2288
+ var a = "", i = e.tag, o = Object.keys(n), r, l, s, c, d;
2289
+ for (r = 0, l = o.length; r < l; r += 1)
2290
+ d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[r], c = n[s], e.replacer && (c = e.replacer.call(n, s, c)), ge(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ge(e, t, c, !1, !1) && (d += e.dump, a += d));
2291
+ e.tag = i, e.dump = "{" + a + "}";
2292
2292
  }
2293
- function yo(e, t, n, r) {
2294
- var a = "", o = e.tag, i = Object.keys(n), l, s, c, d, u, h;
2293
+ function yo(e, t, n, a) {
2294
+ var i = "", o = e.tag, r = Object.keys(n), l, s, c, d, u, h;
2295
2295
  if (e.sortKeys === !0)
2296
- i.sort();
2296
+ r.sort();
2297
2297
  else if (typeof e.sortKeys == "function")
2298
- i.sort(e.sortKeys);
2298
+ r.sort(e.sortKeys);
2299
2299
  else if (e.sortKeys)
2300
- throw new re("sortKeys must be a boolean or a function");
2301
- for (l = 0, s = i.length; l < s; l += 1)
2302
- h = "", (!r || a !== "") && (h += dt(e, t)), c = i[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), ge(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ke === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += dt(e, t)), ge(e, t + 1, d, !0, u) && (e.dump && Ke === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, a += h));
2303
- e.tag = o, e.dump = a || "{}";
2304
- }
2305
- function Zt(e, t, n) {
2306
- var r, a, o, i, l, s;
2307
- for (a = n ? e.explicitTypes : e.implicitTypes, o = 0, i = a.length; o < i; o += 1)
2308
- if (l = a[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2300
+ throw new ie("sortKeys must be a boolean or a function");
2301
+ for (l = 0, s = r.length; l < s; l += 1)
2302
+ h = "", (!a || i !== "") && (h += dt(e, t)), c = r[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), ge(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ke === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += dt(e, t)), ge(e, t + 1, d, !0, u) && (e.dump && Ke === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, i += h));
2303
+ e.tag = o, e.dump = i || "{}";
2304
+ }
2305
+ function Wt(e, t, n) {
2306
+ var a, i, o, r, l, s;
2307
+ for (i = n ? e.explicitTypes : e.implicitTypes, o = 0, r = i.length; o < r; o += 1)
2308
+ if (l = i[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2309
2309
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2310
2310
  if (s = e.styleMap[l.tag] || l.defaultStyle, Rn.call(l.represent) === "[object Function]")
2311
- r = l.represent(t, s);
2311
+ a = l.represent(t, s);
2312
2312
  else if (Dn.call(l.represent, s))
2313
- r = l.represent[s](t, s);
2313
+ a = l.represent[s](t, s);
2314
2314
  else
2315
- throw new re("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2316
- e.dump = r;
2315
+ throw new ie("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2316
+ e.dump = a;
2317
2317
  }
2318
2318
  return !0;
2319
2319
  }
2320
2320
  return !1;
2321
2321
  }
2322
- function ge(e, t, n, r, a, o, i) {
2323
- e.tag = null, e.dump = n, Zt(e, n, !1) || Zt(e, n, !0);
2324
- var l = Rn.call(e.dump), s = r, c;
2325
- r && (r = e.flowLevel < 0 || e.flowLevel > t);
2322
+ function ge(e, t, n, a, i, o, r) {
2323
+ e.tag = null, e.dump = n, Wt(e, n, !1) || Wt(e, n, !0);
2324
+ var l = Rn.call(e.dump), s = a, c;
2325
+ a && (a = e.flowLevel < 0 || e.flowLevel > t);
2326
2326
  var d = l === "[object Object]" || l === "[object Array]", u, h;
2327
- if (d && (u = e.duplicates.indexOf(n), h = u !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && t > 0) && (a = !1), h && e.usedDuplicates[u])
2327
+ if (d && (u = e.duplicates.indexOf(n), h = u !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && t > 0) && (i = !1), h && e.usedDuplicates[u])
2328
2328
  e.dump = "*ref_" + u;
2329
2329
  else {
2330
2330
  if (d && h && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2331
- r && Object.keys(e.dump).length !== 0 ? (yo(e, t, e.dump, a), h && (e.dump = "&ref_" + u + e.dump)) : (go(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2331
+ a && Object.keys(e.dump).length !== 0 ? (yo(e, t, e.dump, i), h && (e.dump = "&ref_" + u + e.dump)) : (go(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2332
2332
  else if (l === "[object Array]")
2333
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? Wt(e, t - 1, e.dump, a) : Wt(e, t, e.dump, a), h && (e.dump = "&ref_" + u + e.dump)) : (fo(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2333
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !r && t > 0 ? Zt(e, t - 1, e.dump, i) : Zt(e, t, e.dump, i), h && (e.dump = "&ref_" + u + e.dump)) : (fo(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2334
2334
  else if (l === "[object String]")
2335
2335
  e.tag !== "?" && co(e, e.dump, t, o, s);
2336
2336
  else {
2337
2337
  if (l === "[object Undefined]" || e.skipInvalid)
2338
2338
  return !1;
2339
- throw new re("unacceptable kind of an object to dump " + l);
2339
+ throw new ie("unacceptable kind of an object to dump " + l);
2340
2340
  }
2341
2341
  e.tag !== null && e.tag !== "?" && (c = encodeURI(
2342
2342
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -2345,40 +2345,40 @@ function ge(e, t, n, r, a, o, i) {
2345
2345
  return !0;
2346
2346
  }
2347
2347
  function mo(e, t) {
2348
- var n = [], r = [], a, o;
2349
- for (ft(e, n, r), a = 0, o = r.length; a < o; a += 1)
2350
- t.duplicates.push(n[r[a]]);
2348
+ var n = [], a = [], i, o;
2349
+ for (ft(e, n, a), i = 0, o = a.length; i < o; i += 1)
2350
+ t.duplicates.push(n[a[i]]);
2351
2351
  t.usedDuplicates = new Array(o);
2352
2352
  }
2353
2353
  function ft(e, t, n) {
2354
- var r, a, o;
2354
+ var a, i, o;
2355
2355
  if (e !== null && typeof e == "object")
2356
- if (a = t.indexOf(e), a !== -1)
2357
- n.indexOf(a) === -1 && n.push(a);
2356
+ if (i = t.indexOf(e), i !== -1)
2357
+ n.indexOf(i) === -1 && n.push(i);
2358
2358
  else if (t.push(e), Array.isArray(e))
2359
- for (a = 0, o = e.length; a < o; a += 1)
2360
- ft(e[a], t, n);
2359
+ for (i = 0, o = e.length; i < o; i += 1)
2360
+ ft(e[i], t, n);
2361
2361
  else
2362
- for (r = Object.keys(e), a = 0, o = r.length; a < o; a += 1)
2363
- ft(e[r[a]], t, n);
2362
+ for (a = Object.keys(e), i = 0, o = a.length; i < o; i += 1)
2363
+ ft(e[a[i]], t, n);
2364
2364
  }
2365
2365
  function ho(e, t) {
2366
2366
  t = t || {};
2367
- var n = new ro(t);
2367
+ var n = new io(t);
2368
2368
  n.noRefs || mo(e, n);
2369
- var r = e;
2370
- return n.replacer && (r = n.replacer.call({ "": r }, "", r)), ge(n, 0, r, !0, !0) ? n.dump + `
2369
+ var a = e;
2370
+ return n.replacer && (a = n.replacer.call({ "": a }, "", a)), ge(n, 0, a, !0, !0) ? n.dump + `
2371
2371
  ` : "";
2372
2372
  }
2373
2373
  var vo = ho, bo = {
2374
2374
  dump: vo
2375
2375
  };
2376
- function At(e, t) {
2376
+ function xt(e, t) {
2377
2377
  return function() {
2378
2378
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2379
2379
  };
2380
2380
  }
2381
- var ko = ne, Co = fn, wo = hn, So = wn, Ao = Sn, xo = kt, Io = Un.load, _o = Un.loadAll, To = bo.dump, jo = re, $o = {
2381
+ var ko = ne, Co = fn, wo = hn, So = wn, xo = Sn, Ao = kt, Io = Un.load, _o = Un.loadAll, To = bo.dump, jo = ie, $o = {
2382
2382
  binary: Tn,
2383
2383
  float: Cn,
2384
2384
  map: mn,
@@ -2392,23 +2392,23 @@ var ko = ne, Co = fn, wo = hn, So = wn, Ao = Sn, xo = kt, Io = Un.load, _o = Un.
2392
2392
  omap: jn,
2393
2393
  seq: yn,
2394
2394
  str: gn
2395
- }, Oo = At("safeLoad", "load"), Mo = At("safeLoadAll", "loadAll"), No = At("safeDump", "dump"), Eo = {
2395
+ }, Oo = xt("safeLoad", "load"), No = xt("safeLoadAll", "loadAll"), Fo = xt("safeDump", "dump"), Mo = {
2396
2396
  Type: ko,
2397
2397
  Schema: Co,
2398
2398
  FAILSAFE_SCHEMA: wo,
2399
2399
  JSON_SCHEMA: So,
2400
- CORE_SCHEMA: Ao,
2401
- DEFAULT_SCHEMA: xo,
2400
+ CORE_SCHEMA: xo,
2401
+ DEFAULT_SCHEMA: Ao,
2402
2402
  load: Io,
2403
2403
  loadAll: _o,
2404
2404
  dump: To,
2405
2405
  YAMLException: jo,
2406
2406
  types: $o,
2407
2407
  safeLoad: Oo,
2408
- safeLoadAll: Mo,
2409
- safeDump: No
2408
+ safeLoadAll: No,
2409
+ safeDump: Fo
2410
2410
  };
2411
- const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2411
+ const Eo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2412
2412
  __name: "YamlCodeBlock",
2413
2413
  props: {
2414
2414
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2418,13 +2418,13 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2418
2418
  }
2419
2419
  },
2420
2420
  setup(e) {
2421
- const t = e, n = x(() => {
2422
- const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, a]) => a !== null && a !== "" && (Array.isArray(a) ? a.length !== 0 : !0)));
2423
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : Eo.dump(r).trim();
2421
+ const t = e, n = A(() => {
2422
+ const a = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, i]) => i !== null && i !== "" && (Array.isArray(i) ? i.length !== 0 : !0)));
2423
+ return Object.keys(a).length === 0 && a.constructor === Object ? "" : Mo.dump(a).trim();
2424
2424
  });
2425
- return (r, a) => {
2426
- const o = q("KCodeBlock");
2427
- return m(), j("div", Fo, [
2425
+ return (a, i) => {
2426
+ const o = L("KCodeBlock");
2427
+ return m(), j("div", Eo, [
2428
2428
  t.yamlRecord ? (m(), R(o, {
2429
2429
  key: 0,
2430
2430
  id: "yaml-codeblock",
@@ -2480,39 +2480,39 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2480
2480
  }
2481
2481
  },
2482
2482
  setup(e) {
2483
- const t = e, n = yt(), { i18n: { t: r } } = X.useI18n(), a = (i) => !!(i.tooltip || n[`${i.key}-label-tooltip`]), o = x(() => {
2483
+ const t = e, n = yt(), { i18n: { t: a } } = X.useI18n(), i = (r) => !!(r.tooltip || n[`${r.key}-label-tooltip`]), o = A(() => {
2484
2484
  if (!t.record)
2485
2485
  return t.record;
2486
- const i = JSON.parse(JSON.stringify(t.record));
2487
- return delete i.created_at, delete i.updated_at, i;
2486
+ const r = JSON.parse(JSON.stringify(t.record));
2487
+ return delete r.created_at, delete r.updated_at, r;
2488
2488
  });
2489
- return (i, l) => (m(), j(pe, null, [
2489
+ return (r, l) => (m(), j(pe, null, [
2490
2490
  e.format === "structured" ? (m(), j("div", Ko, [
2491
2491
  (m(!0), j(pe, null, ce(e.propListTypes, (s) => (m(), j("div", {
2492
2492
  key: `config-card-details-${s}-props`,
2493
2493
  class: be(`config-card-details-${s}-props`),
2494
2494
  "data-testid": `config-card-details-${s}-props`
2495
2495
  }, [
2496
- s !== "basic" ? (m(), j("div", Lo, K(s === "advanced" ? k(r)("baseConfigCard.sections.advanced") : k(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2496
+ s !== "basic" ? (m(), j("div", Lo, q(s === "advanced" ? b(a)("baseConfigCard.sections.advanced") : b(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2497
2497
  (m(!0), j(pe, null, ce(e.propertyCollections[s], (c) => (m(), R(cn, {
2498
2498
  key: c.key,
2499
2499
  item: c
2500
2500
  }, Oe({
2501
2501
  label: v(() => [
2502
- W(i.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2502
+ Z(r.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2503
2503
  ]),
2504
2504
  [c.key]: v(({ rowValue: d }) => [
2505
- W(i.$slots, c.key, {
2505
+ Z(r.$slots, c.key, {
2506
2506
  row: c,
2507
2507
  rowValue: d
2508
2508
  }, void 0, !0)
2509
2509
  ]),
2510
2510
  _: 2
2511
2511
  }, [
2512
- a(c) ? {
2512
+ i(c) ? {
2513
2513
  name: "label-tooltip",
2514
2514
  fn: v(() => [
2515
- W(i.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2515
+ Z(r.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2516
2516
  ]),
2517
2517
  key: "0"
2518
2518
  } : void 0
@@ -2534,10 +2534,10 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2534
2534
  }
2535
2535
  }), Uo = /* @__PURE__ */ ue(Bo, [["__scopeId", "data-v-147a2f70"]]), Ce = "24px", Xe = (e, t) => {
2536
2536
  const n = e.__vccOpts || e;
2537
- for (const [r, a] of t)
2538
- n[r] = a;
2537
+ for (const [a, i] of t)
2538
+ n[a] = i;
2539
2539
  return n;
2540
- }, Ro = (e) => (We("data-v-20c17c32"), e = e(), Ze(), e), Do = ["aria-hidden"], Vo = {
2540
+ }, Ro = (e) => (Ze("data-v-1d2a8d30"), e = e(), We(), e), Do = ["aria-hidden"], Vo = {
2541
2541
  key: 0,
2542
2542
  "data-testid": "kui-icon-svg-title"
2543
2543
  }, Po = /* @__PURE__ */ Ro(() => /* @__PURE__ */ B("path", {
@@ -2595,16 +2595,16 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2595
2595
  }
2596
2596
  },
2597
2597
  setup(e) {
2598
- const t = e, n = x(() => {
2598
+ const t = e, n = A(() => {
2599
2599
  if (typeof t.size == "number" && t.size > 0)
2600
2600
  return `${t.size}px`;
2601
2601
  if (typeof t.size == "string") {
2602
- const a = String(t.size).replace(/px/gi, ""), o = Number(a);
2602
+ const i = String(t.size).replace(/px/gi, ""), o = Number(i);
2603
2603
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2604
2604
  return `${o}px`;
2605
2605
  }
2606
2606
  return Ce;
2607
- }), r = x(() => ({
2607
+ }), a = A(() => ({
2608
2608
  boxSizing: "border-box",
2609
2609
  color: t.color,
2610
2610
  display: t.display,
@@ -2612,11 +2612,11 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2612
2612
  lineHeight: "0",
2613
2613
  width: n.value
2614
2614
  }));
2615
- return (a, o) => (m(), R(we(e.as), {
2615
+ return (i, o) => (m(), R(we(e.as), {
2616
2616
  "aria-hidden": e.decorative ? "true" : void 0,
2617
2617
  class: "kui-icon add-icon",
2618
2618
  "data-testid": "kui-icon-wrapper-add-icon",
2619
- style: Ye(r.value)
2619
+ style: Ye(a.value)
2620
2620
  }, {
2621
2621
  default: v(() => [
2622
2622
  (m(), j("svg", {
@@ -2629,17 +2629,17 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2629
2629
  width: "100%",
2630
2630
  xmlns: "http://www.w3.org/2000/svg"
2631
2631
  }, [
2632
- e.title ? (m(), j("title", Vo, K(e.title), 1)) : z("", !0),
2632
+ e.title ? (m(), j("title", Vo, q(e.title), 1)) : z("", !0),
2633
2633
  Po
2634
2634
  ], 8, Do))
2635
2635
  ]),
2636
2636
  _: 1
2637
2637
  }, 8, ["aria-hidden", "style"]));
2638
2638
  }
2639
- }), Jo = /* @__PURE__ */ Xe(zo, [["__scopeId", "data-v-20c17c32"]]), Ho = (e) => (We("data-v-b939f1df"), e = e(), Ze(), e), Yo = ["aria-hidden"], Wo = {
2639
+ }), Jo = /* @__PURE__ */ Xe(zo, [["__scopeId", "data-v-1d2a8d30"]]), Ho = (e) => (Ze("data-v-929b4762"), e = e(), We(), e), Yo = ["aria-hidden"], Zo = {
2640
2640
  key: 0,
2641
2641
  "data-testid": "kui-icon-svg-title"
2642
- }, Zo = /* @__PURE__ */ Ho(() => /* @__PURE__ */ B("path", {
2642
+ }, Wo = /* @__PURE__ */ Ho(() => /* @__PURE__ */ B("path", {
2643
2643
  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",
2644
2644
  fill: "currentColor"
2645
2645
  }, null, -1)), Go = /* @__PURE__ */ Y({
@@ -2694,16 +2694,16 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2694
2694
  }
2695
2695
  },
2696
2696
  setup(e) {
2697
- const t = e, n = x(() => {
2697
+ const t = e, n = A(() => {
2698
2698
  if (typeof t.size == "number" && t.size > 0)
2699
2699
  return `${t.size}px`;
2700
2700
  if (typeof t.size == "string") {
2701
- const a = String(t.size).replace(/px/gi, ""), o = Number(a);
2701
+ const i = String(t.size).replace(/px/gi, ""), o = Number(i);
2702
2702
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2703
2703
  return `${o}px`;
2704
2704
  }
2705
2705
  return Ce;
2706
- }), r = x(() => ({
2706
+ }), a = A(() => ({
2707
2707
  boxSizing: "border-box",
2708
2708
  color: t.color,
2709
2709
  display: t.display,
@@ -2711,11 +2711,11 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2711
2711
  lineHeight: "0",
2712
2712
  width: n.value
2713
2713
  }));
2714
- return (a, o) => (m(), R(we(e.as), {
2714
+ return (i, o) => (m(), R(we(e.as), {
2715
2715
  "aria-hidden": e.decorative ? "true" : void 0,
2716
2716
  class: "kui-icon book-icon",
2717
2717
  "data-testid": "kui-icon-wrapper-book-icon",
2718
- style: Ye(r.value)
2718
+ style: Ye(a.value)
2719
2719
  }, {
2720
2720
  default: v(() => [
2721
2721
  (m(), j("svg", {
@@ -2728,14 +2728,14 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2728
2728
  width: "100%",
2729
2729
  xmlns: "http://www.w3.org/2000/svg"
2730
2730
  }, [
2731
- e.title ? (m(), j("title", Wo, K(e.title), 1)) : z("", !0),
2732
- Zo
2731
+ e.title ? (m(), j("title", Zo, q(e.title), 1)) : z("", !0),
2732
+ Wo
2733
2733
  ], 8, Yo))
2734
2734
  ]),
2735
2735
  _: 1
2736
2736
  }, 8, ["aria-hidden", "style"]));
2737
2737
  }
2738
- }), Qo = /* @__PURE__ */ Xe(Go, [["__scopeId", "data-v-b939f1df"]]), Xo = (e) => (We("data-v-f1d0332e"), e = e(), Ze(), e), el = ["aria-hidden"], tl = {
2738
+ }), Qo = /* @__PURE__ */ Xe(Go, [["__scopeId", "data-v-929b4762"]]), Xo = (e) => (Ze("data-v-219f8484"), e = e(), We(), e), el = ["aria-hidden"], tl = {
2739
2739
  key: 0,
2740
2740
  "data-testid": "kui-icon-svg-title"
2741
2741
  }, nl = /* @__PURE__ */ Xo(() => /* @__PURE__ */ B("path", {
@@ -2793,16 +2793,16 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2793
2793
  }
2794
2794
  },
2795
2795
  setup(e) {
2796
- const t = e, n = x(() => {
2796
+ const t = e, n = A(() => {
2797
2797
  if (typeof t.size == "number" && t.size > 0)
2798
2798
  return `${t.size}px`;
2799
2799
  if (typeof t.size == "string") {
2800
- const a = String(t.size).replace(/px/gi, ""), o = Number(a);
2800
+ const i = String(t.size).replace(/px/gi, ""), o = Number(i);
2801
2801
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2802
2802
  return `${o}px`;
2803
2803
  }
2804
2804
  return Ce;
2805
- }), r = x(() => ({
2805
+ }), a = A(() => ({
2806
2806
  boxSizing: "border-box",
2807
2807
  color: t.color,
2808
2808
  display: t.display,
@@ -2810,11 +2810,11 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2810
2810
  lineHeight: "0",
2811
2811
  width: n.value
2812
2812
  }));
2813
- return (a, o) => (m(), R(we(e.as), {
2813
+ return (i, o) => (m(), R(we(e.as), {
2814
2814
  "aria-hidden": e.decorative ? "true" : void 0,
2815
2815
  class: "kui-icon chevron-down-icon",
2816
2816
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2817
- style: Ye(r.value)
2817
+ style: Ye(a.value)
2818
2818
  }, {
2819
2819
  default: v(() => [
2820
2820
  (m(), j("svg", {
@@ -2827,17 +2827,17 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2827
2827
  width: "100%",
2828
2828
  xmlns: "http://www.w3.org/2000/svg"
2829
2829
  }, [
2830
- e.title ? (m(), j("title", tl, K(e.title), 1)) : z("", !0),
2830
+ e.title ? (m(), j("title", tl, q(e.title), 1)) : z("", !0),
2831
2831
  nl
2832
2832
  ], 8, el))
2833
2833
  ]),
2834
2834
  _: 1
2835
2835
  }, 8, ["aria-hidden", "style"]));
2836
2836
  }
2837
- }), rl = /* @__PURE__ */ Xe(al, [["__scopeId", "data-v-f1d0332e"]]), il = (e) => (We("data-v-288b6455"), e = e(), Ze(), e), ol = ["aria-hidden"], ll = {
2837
+ }), il = /* @__PURE__ */ Xe(al, [["__scopeId", "data-v-219f8484"]]), rl = (e) => (Ze("data-v-ed11facd"), e = e(), We(), e), ol = ["aria-hidden"], ll = {
2838
2838
  key: 0,
2839
2839
  "data-testid": "kui-icon-svg-title"
2840
- }, sl = /* @__PURE__ */ il(() => /* @__PURE__ */ B("path", {
2840
+ }, sl = /* @__PURE__ */ rl(() => /* @__PURE__ */ B("path", {
2841
2841
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2842
2842
  fill: "currentColor"
2843
2843
  }, null, -1)), cl = /* @__PURE__ */ Y({
@@ -2892,16 +2892,16 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2892
2892
  }
2893
2893
  },
2894
2894
  setup(e) {
2895
- const t = e, n = x(() => {
2895
+ const t = e, n = A(() => {
2896
2896
  if (typeof t.size == "number" && t.size > 0)
2897
2897
  return `${t.size}px`;
2898
2898
  if (typeof t.size == "string") {
2899
- const a = String(t.size).replace(/px/gi, ""), o = Number(a);
2899
+ const i = String(t.size).replace(/px/gi, ""), o = Number(i);
2900
2900
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2901
2901
  return `${o}px`;
2902
2902
  }
2903
2903
  return Ce;
2904
- }), r = x(() => ({
2904
+ }), a = A(() => ({
2905
2905
  boxSizing: "border-box",
2906
2906
  color: t.color,
2907
2907
  display: t.display,
@@ -2909,11 +2909,11 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2909
2909
  lineHeight: "0",
2910
2910
  width: n.value
2911
2911
  }));
2912
- return (a, o) => (m(), R(we(e.as), {
2912
+ return (i, o) => (m(), R(we(e.as), {
2913
2913
  "aria-hidden": e.decorative ? "true" : void 0,
2914
2914
  class: "kui-icon close-icon",
2915
2915
  "data-testid": "kui-icon-wrapper-close-icon",
2916
- style: Ye(r.value)
2916
+ style: Ye(a.value)
2917
2917
  }, {
2918
2918
  default: v(() => [
2919
2919
  (m(), j("svg", {
@@ -2926,14 +2926,14 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
2926
2926
  width: "100%",
2927
2927
  xmlns: "http://www.w3.org/2000/svg"
2928
2928
  }, [
2929
- e.title ? (m(), j("title", ll, K(e.title), 1)) : z("", !0),
2929
+ e.title ? (m(), j("title", ll, q(e.title), 1)) : z("", !0),
2930
2930
  sl
2931
2931
  ], 8, ol))
2932
2932
  ]),
2933
2933
  _: 1
2934
2934
  }, 8, ["aria-hidden", "style"]));
2935
2935
  }
2936
- }), ul = /* @__PURE__ */ Xe(cl, [["__scopeId", "data-v-288b6455"]]), dl = {
2936
+ }), ul = /* @__PURE__ */ Xe(cl, [["__scopeId", "data-v-ed11facd"]]), dl = {
2937
2937
  class: "config-card-title",
2938
2938
  "data-testid": "config-card-title"
2939
2939
  }, pl = { class: "config-card-actions" }, fl = ["href"], gl = { class: "config-card-details-section" }, yl = /* @__PURE__ */ Y({
@@ -3015,7 +3015,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3015
3015
  emits: ["loading", "fetch:success", "fetch:error"],
3016
3016
  setup(e, { emit: t }) {
3017
3017
  var n;
3018
- const r = t, a = e, { i18n: { t: o } } = X.useI18n(), { getMessageFromError: i } = X.useErrors(), { convertKeyToTitle: l } = X.useStringHelpers(), { axiosInstance: s } = X.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), c = [
3018
+ const a = t, i = e, { i18n: { t: o } } = X.useI18n(), { getMessageFromError: r } = X.useErrors(), { convertKeyToTitle: l } = X.useStringHelpers(), { axiosInstance: s } = X.useAxios((n = i.config) == null ? void 0 : n.axiosRequestConfig), c = [
3019
3019
  {
3020
3020
  label: o("baseConfigCard.general.structuredFormat"),
3021
3021
  value: "structured",
@@ -3029,7 +3029,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3029
3029
  label: "YAML",
3030
3030
  value: "yaml"
3031
3031
  }
3032
- ], d = N("structured"), u = (p) => {
3032
+ ], d = E("structured"), u = (p) => {
3033
3033
  d.value = p == null ? void 0 : p.value;
3034
3034
  }, h = {
3035
3035
  id: {
@@ -3065,21 +3065,21 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3065
3065
  // the last property displayed
3066
3066
  section: se.Basic
3067
3067
  }
3068
- }, y = N(!1), C = N(!1), b = N(""), w = N({}), L = x(() => {
3069
- var p, M, F;
3070
- if (!w.value)
3068
+ }, y = E(!1), C = E(!1), S = E(""), k = E({}), F = A(() => {
3069
+ var p, M, K;
3070
+ if (!k.value)
3071
3071
  return [];
3072
- const A = [], U = Object.keys(w.value).length;
3073
- for (const $ in w.value) {
3074
- const T = (M = (p = a.configSchema) == null ? void 0 : p[$]) == null ? void 0 : M.order, D = (F = h[$]) == null ? void 0 : F.order;
3072
+ const I = [], U = Object.keys(k.value).length;
3073
+ for (const $ in k.value) {
3074
+ const T = (M = (p = i.configSchema) == null ? void 0 : p[$]) == null ? void 0 : M.order, D = (K = h[$]) == null ? void 0 : K.order;
3075
3075
  let J = U;
3076
- (D || D === 0) && (J = D === -1 ? U + 1 : D), T && (J = T === -1 ? U + 1 : T), A.push([$, J]);
3076
+ (D || D === 0) && (J = D === -1 ? U + 1 : D), T && (J = T === -1 ? U + 1 : T), I.push([$, J]);
3077
3077
  }
3078
- return A.sort(function($, T) {
3078
+ return I.sort(function($, T) {
3079
3079
  return $[1] - T[1];
3080
- }), A.map(($) => {
3080
+ }), I.map(($) => {
3081
3081
  var T, D;
3082
- const J = $[0], oe = (T = w.value) == null ? void 0 : T[J], le = ((D = a.configSchema) == null ? void 0 : D[J]) || {}, de = h[J];
3082
+ const J = $[0], oe = (T = k.value) == null ? void 0 : T[J], le = ((D = i.configSchema) == null ? void 0 : D[J]) || {}, de = h[J];
3083
3083
  return {
3084
3084
  key: J,
3085
3085
  value: oe,
@@ -3089,22 +3089,22 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3089
3089
  tooltip: le.tooltip ?? ((de == null ? void 0 : de.tooltip) || void 0),
3090
3090
  section: le.section ?? ((de == null ? void 0 : de.section) || se.Advanced)
3091
3091
  };
3092
- }).filter(($) => !$.hidden && $.key !== a.pluginConfigKey);
3093
- }), _ = x(() => {
3092
+ }).filter(($) => !$.hidden && $.key !== i.pluginConfigKey);
3093
+ }), w = A(() => {
3094
3094
  var p, M;
3095
- if (!w.value || !a.pluginConfigKey)
3095
+ if (!k.value || !i.pluginConfigKey)
3096
3096
  return [];
3097
- const F = w.value[a.pluginConfigKey] || {}, A = Object.keys(F).length, U = [];
3098
- for (const $ in F) {
3099
- const T = (M = (p = a.pluginConfigSchema) == null ? void 0 : p[$]) == null ? void 0 : M.order, D = F[$];
3100
- let J = D != null && D !== "" ? A - 1 : A;
3101
- T && (J = T === -1 ? A + 1 : T), U.push([$, J]);
3097
+ const K = k.value[i.pluginConfigKey] || {}, I = Object.keys(K).length, U = [];
3098
+ for (const $ in K) {
3099
+ const T = (M = (p = i.pluginConfigSchema) == null ? void 0 : p[$]) == null ? void 0 : M.order, D = K[$];
3100
+ let J = D != null && D !== "" ? I - 1 : I;
3101
+ T && (J = T === -1 ? I + 1 : T), U.push([$, J]);
3102
3102
  }
3103
3103
  return U.sort(function($, T) {
3104
3104
  return $[1] - T[1];
3105
3105
  }), U.map(($) => {
3106
3106
  var T;
3107
- const D = $[0], J = F[D], oe = ((T = a.pluginConfigSchema) == null ? void 0 : T[D]) || {};
3107
+ const D = $[0], J = K[D], oe = ((T = i.pluginConfigSchema) == null ? void 0 : T[D]) || {};
3108
3108
  return {
3109
3109
  key: D,
3110
3110
  value: J,
@@ -3115,62 +3115,62 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3115
3115
  section: se.Plugin
3116
3116
  };
3117
3117
  }).filter(($) => !$.hidden);
3118
- }), E = x(() => {
3119
- var p, M, F, A;
3118
+ }), O = A(() => {
3119
+ var p, M, K, I;
3120
3120
  return {
3121
- basic: (p = L.value) == null ? void 0 : p.filter((U) => U.section === se.Basic),
3122
- advanced: (M = L.value) == null ? void 0 : M.filter((U) => U.section === se.Advanced),
3123
- plugin: (A = _.value) == null ? void 0 : A.concat((F = L.value) == null ? void 0 : F.filter((U) => U.section === se.Plugin))
3121
+ basic: (p = F.value) == null ? void 0 : p.filter((U) => U.section === se.Basic),
3122
+ advanced: (M = F.value) == null ? void 0 : M.filter((U) => U.section === se.Advanced),
3123
+ plugin: (I = w.value) == null ? void 0 : I.concat((K = F.value) == null ? void 0 : K.filter((U) => U.section === se.Plugin))
3124
3124
  };
3125
- }), g = x(() => {
3125
+ }), g = A(() => {
3126
3126
  const p = [];
3127
- return E.value.basic.length && p.push("basic"), E.value.advanced.length && p.push("advanced"), E.value.plugin.length && p.push("plugin"), p;
3128
- }), f = x(() => {
3127
+ return O.value.basic.length && p.push("basic"), O.value.advanced.length && p.push("advanced"), O.value.plugin.length && p.push("plugin"), p;
3128
+ }), f = A(() => {
3129
3129
  var p, M;
3130
- let F = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3131
- return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (M = a.config) != null && M.workspace ? `/${a.config.workspace}` : "")), F = F.replace(/{id}/gi, a.config.entityId), F;
3130
+ let K = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3131
+ return i.config.app === "konnect" ? K = K.replace(/{controlPlaneId}/gi, ((p = i.config) == null ? void 0 : p.controlPlaneId) || "") : i.config.app === "kongManager" && (K = K.replace(/\/{workspace}/gi, (M = i.config) != null && M.workspace ? `/${i.config.workspace}` : "")), K = K.replace(/{id}/gi, i.config.entityId), K;
3132
3132
  });
3133
3133
  return Ie(y, (p) => {
3134
- r("loading", p);
3134
+ a("loading", p);
3135
3135
  }, { immediate: !0 }), gt(async () => {
3136
3136
  C.value = !1, y.value = !0;
3137
3137
  try {
3138
3138
  const { data: p } = await s.get(f.value);
3139
- if (a.dataKey)
3140
- if (typeof p[a.dataKey] < "u")
3141
- w.value = { ...p[a.dataKey] };
3139
+ if (i.dataKey)
3140
+ if (typeof p[i.dataKey] < "u")
3141
+ k.value = { ...p[i.dataKey] };
3142
3142
  else
3143
- throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3143
+ throw new Error(o("errors.dataKeyUndefined", { dataKey: i.dataKey }));
3144
3144
  else
3145
- w.value = { ...p };
3146
- Object.keys(a.configSchema).filter((M) => a.configSchema[M].forceShow).forEach((M) => {
3147
- w.value && typeof w.value[M] > "u" && (w.value[M] = null);
3148
- }), r("fetch:success", p);
3145
+ k.value = { ...p };
3146
+ Object.keys(i.configSchema).filter((M) => i.configSchema[M].forceShow).forEach((M) => {
3147
+ k.value && typeof k.value[M] > "u" && (k.value[M] = null);
3148
+ }), a("fetch:success", p);
3149
3149
  } catch (p) {
3150
- const M = i(p);
3151
- b.value = M.startsWith("code") ? o("baseConfigCard.errors.load") : M, C.value = !0, r("fetch:error", p);
3150
+ const M = r(p);
3151
+ S.value = M.startsWith("code") ? o("baseConfigCard.errors.load") : M, C.value = !0, a("fetch:error", p);
3152
3152
  } finally {
3153
3153
  y.value = !1;
3154
3154
  }
3155
3155
  }), (p, M) => {
3156
- const F = q("KLabel"), A = q("KSelect"), U = q("KButton"), $ = q("KSkeleton"), T = q("KEmptyState"), D = q("KCard");
3156
+ const K = L("KLabel"), I = L("KSelect"), U = L("KButton"), $ = L("KSkeleton"), T = L("KEmptyState"), D = L("KCard");
3157
3157
  return m(), R(D, {
3158
3158
  class: "kong-ui-entity-base-config-card",
3159
3159
  "title-tag": e.titleTag
3160
3160
  }, Oe({
3161
3161
  actions: v(() => [
3162
3162
  B("div", pl, [
3163
- W(p.$slots, "actions", {}, void 0, !0),
3164
- I(F, {
3163
+ Z(p.$slots, "actions", {}, void 0, !0),
3164
+ _(K, {
3165
3165
  class: "config-format-select-label",
3166
3166
  "data-testid": "config-format-select-label"
3167
3167
  }, {
3168
3168
  default: v(() => [
3169
- P(K(e.label), 1)
3169
+ P(q(e.label), 1)
3170
3170
  ]),
3171
3171
  _: 1
3172
3172
  }),
3173
- I(A, {
3173
+ _(I, {
3174
3174
  "data-testid": "select-config-format",
3175
3175
  items: c,
3176
3176
  onChange: u
@@ -3187,7 +3187,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3187
3187
  rel: "noopener",
3188
3188
  target: "_blank"
3189
3189
  }, [
3190
- I(k(Qo), { size: k(Xa) }, null, 8, ["size"])
3190
+ _(b(Qo), { size: b(Xa) }, null, 8, ["size"])
3191
3191
  ], 8, fl)
3192
3192
  ]),
3193
3193
  _: 1
@@ -3206,23 +3206,23 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3206
3206
  "icon-variant": "error"
3207
3207
  }, {
3208
3208
  default: v(() => [
3209
- B("h3", null, K(b.value), 1)
3209
+ B("h3", null, q(S.value), 1)
3210
3210
  ]),
3211
3211
  _: 1
3212
3212
  })) : z("", !0),
3213
3213
  B("div", gl, [
3214
- I(Uo, {
3214
+ _(Uo, {
3215
3215
  config: e.config,
3216
3216
  "fetcher-url": f.value,
3217
3217
  format: d.value,
3218
3218
  "prop-list-types": g.value,
3219
- "property-collections": E.value,
3220
- record: w.value
3219
+ "property-collections": O.value,
3220
+ record: k.value
3221
3221
  }, Oe({ _: 2 }, [
3222
3222
  ce(Object.keys(p.$slots), (J) => ({
3223
3223
  name: J,
3224
3224
  fn: v(({ row: oe, rowValue: le }) => [
3225
- W(p.$slots, J, {
3225
+ Z(p.$slots, J, {
3226
3226
  row: oe,
3227
3227
  rowValue: le
3228
3228
  }, void 0, !0)
@@ -3237,8 +3237,8 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3237
3237
  name: "title",
3238
3238
  fn: v(() => [
3239
3239
  B("span", dl, [
3240
- W(p.$slots, "title", {}, () => [
3241
- P(K(k(o)("baseConfigCard.title")), 1)
3240
+ Z(p.$slots, "title", {}, () => [
3241
+ P(q(b(o)("baseConfigCard.title")), 1)
3242
3242
  ], !0)
3243
3243
  ])
3244
3244
  ]),
@@ -3312,44 +3312,44 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3312
3312
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3313
3313
  setup(e, { emit: t }) {
3314
3314
  var n;
3315
- const r = t, a = e, o = mt(), { i18n: { t: i } } = X.useI18n(), { getMessageFromError: l } = X.useErrors(), { axiosInstance: s } = X.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), c = N(!1), d = N(!1), u = N(""), h = x(() => a.canSubmit === !1 || a.isReadonly), y = N(!1), C = x(() => {
3315
+ const a = t, i = e, o = mt(), { i18n: { t: r } } = X.useI18n(), { getMessageFromError: l } = X.useErrors(), { axiosInstance: s } = X.useAxios((n = i.config) == null ? void 0 : n.axiosRequestConfig), c = E(!1), d = E(!1), u = E(""), h = A(() => i.canSubmit === !1 || i.isReadonly), y = E(!1), C = A(() => {
3316
3316
  var g, f;
3317
- let p = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3318
- return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (f = a.config) != null && f.workspace ? `/${a.config.workspace}` : "")), a.editId ? (p = p.replace(/{id}/gi, a.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
3319
- }), b = () => {
3317
+ let p = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3318
+ return i.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((g = i.config) == null ? void 0 : g.controlPlaneId) || "") : i.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (f = i.config) != null && f.workspace ? `/${i.config.workspace}` : "")), i.editId ? (p = p.replace(/{id}/gi, i.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
3319
+ }), S = () => {
3320
3320
  y.value = !y.value;
3321
+ }, k = () => {
3322
+ i.config.cancelRoute ? o.push(i.config.cancelRoute) : F();
3323
+ }, F = () => {
3324
+ a("cancel");
3321
3325
  }, w = () => {
3322
- a.config.cancelRoute ? o.push(a.config.cancelRoute) : L();
3323
- }, L = () => {
3324
- r("cancel");
3325
- }, _ = () => {
3326
- h.value || r("submit");
3327
- }, E = N([
3326
+ h.value || a("submit");
3327
+ }, O = E([
3328
3328
  {
3329
- title: i("baseForm.configuration.yaml"),
3329
+ title: r("baseForm.configuration.yaml"),
3330
3330
  hash: "#yaml"
3331
3331
  },
3332
3332
  {
3333
- title: i("baseForm.configuration.json"),
3333
+ title: r("baseForm.configuration.json"),
3334
3334
  hash: "#json"
3335
3335
  }
3336
3336
  ]);
3337
3337
  return Ie(() => c.value, (g) => {
3338
- r("loading", g);
3338
+ a("loading", g);
3339
3339
  }, { immediate: !0 }), gt(async () => {
3340
- if (a.editId)
3340
+ if (i.editId)
3341
3341
  try {
3342
3342
  d.value = !1, c.value = !0;
3343
3343
  const { data: g } = await s.get(C.value);
3344
- r("fetch:success", g);
3344
+ a("fetch:success", g);
3345
3345
  } catch (g) {
3346
3346
  const f = l(g);
3347
- u.value = f.startsWith("code") ? i("baseForm.errors.edit") : f, d.value = !0, r("fetch:error", g);
3347
+ u.value = f.startsWith("code") ? r("baseForm.errors.edit") : f, d.value = !0, a("fetch:error", g);
3348
3348
  } finally {
3349
3349
  c.value = !1;
3350
3350
  }
3351
3351
  }), (g, f) => {
3352
- const p = q("KSkeleton"), M = q("KEmptyState"), F = q("KAlert"), A = q("KButton"), U = q("KTabs"), $ = q("KSlideout"), T = q("KCard");
3352
+ const p = L("KSkeleton"), M = L("KEmptyState"), K = L("KAlert"), I = L("KButton"), U = L("KTabs"), $ = L("KSlideout"), T = L("KCard");
3353
3353
  return m(), R(T, { class: "kong-ui-entity-base-form" }, {
3354
3354
  default: v(() => [
3355
3355
  c.value ? (m(), R(p, {
@@ -3357,92 +3357,92 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3357
3357
  type: "form"
3358
3358
  })) : d.value ? (m(), R(M, {
3359
3359
  key: 1,
3360
- "action-button-text": k(i)("baseForm.actions.back"),
3360
+ "action-button-text": b(r)("baseForm.actions.back"),
3361
3361
  "data-testid": "form-fetch-error",
3362
3362
  "icon-variant": "error",
3363
- onClickAction: w
3363
+ onClickAction: k
3364
3364
  }, {
3365
3365
  default: v(() => [
3366
- B("h3", null, K(u.value), 1)
3366
+ B("h3", null, q(u.value), 1)
3367
3367
  ]),
3368
3368
  _: 1
3369
3369
  }, 8, ["action-button-text"])) : (m(), j("form", {
3370
3370
  key: 2,
3371
3371
  "data-testid": "form-content",
3372
- novalidate: a.noValidate,
3373
- onReset: lt(L, ["prevent"]),
3374
- onSubmit: lt(_, ["prevent"])
3372
+ novalidate: i.noValidate,
3373
+ onReset: lt(F, ["prevent"]),
3374
+ onSubmit: lt(w, ["prevent"])
3375
3375
  }, [
3376
- W(g.$slots, "default", {}, void 0, !0),
3377
- e.errorMessage ? (m(), R(F, {
3376
+ Z(g.$slots, "default", {}, void 0, !0),
3377
+ e.errorMessage ? (m(), R(K, {
3378
3378
  key: 0,
3379
3379
  appearance: "danger",
3380
3380
  "data-testid": "form-error",
3381
3381
  message: e.errorMessage
3382
3382
  }, null, 8, ["message"])) : z("", !0),
3383
3383
  B("div", vl, [
3384
- W(g.$slots, "form-actions", {}, () => [
3385
- I(A, {
3384
+ Z(g.$slots, "form-actions", {}, () => [
3385
+ _(I, {
3386
3386
  appearance: "tertiary",
3387
3387
  "data-testid": "form-view-configuration",
3388
- onClick: f[0] || (f[0] = (D) => b())
3388
+ onClick: f[0] || (f[0] = (D) => S())
3389
3389
  }, {
3390
3390
  default: v(() => [
3391
- P(K(k(i)("baseForm.actions.viewConfiguration")), 1)
3391
+ P(q(b(r)("baseForm.actions.viewConfiguration")), 1)
3392
3392
  ]),
3393
3393
  _: 1
3394
3394
  }),
3395
- I(A, {
3395
+ _(I, {
3396
3396
  appearance: "secondary",
3397
3397
  "data-testid": "form-cancel",
3398
3398
  disabled: e.isReadonly,
3399
3399
  type: "reset"
3400
3400
  }, {
3401
3401
  default: v(() => [
3402
- P(K(k(i)("baseForm.actions.cancel")), 1)
3402
+ P(q(b(r)("baseForm.actions.cancel")), 1)
3403
3403
  ]),
3404
3404
  _: 1
3405
3405
  }, 8, ["disabled"]),
3406
- I(A, {
3406
+ _(I, {
3407
3407
  appearance: "primary",
3408
3408
  "data-testid": "form-submit",
3409
3409
  disabled: h.value,
3410
3410
  type: "submit"
3411
3411
  }, {
3412
3412
  default: v(() => [
3413
- P(K(k(i)("baseForm.actions.save")), 1)
3413
+ P(q(b(r)("baseForm.actions.save")), 1)
3414
3414
  ]),
3415
3415
  _: 1
3416
3416
  }, 8, ["disabled"])
3417
3417
  ], !0)
3418
3418
  ])
3419
3419
  ], 40, hl)),
3420
- I($, {
3420
+ _($, {
3421
3421
  "close-on-blur": !1,
3422
3422
  "data-testid": "form-view-configuration-slideout",
3423
3423
  "has-overlay": !1,
3424
3424
  "offset-top": 60,
3425
- title: k(i)("baseForm.configuration.title"),
3425
+ title: b(r)("baseForm.configuration.title"),
3426
3426
  visible: y.value,
3427
- onClose: f[1] || (f[1] = (D) => b())
3427
+ onClose: f[1] || (f[1] = (D) => S())
3428
3428
  }, {
3429
3429
  default: v(() => [
3430
- B("div", null, K(k(i)("baseForm.configuration.message")), 1),
3431
- I(U, {
3430
+ B("div", null, q(b(r)("baseForm.configuration.message")), 1),
3431
+ _(U, {
3432
3432
  "data-testid": "form-view-configuration-slideout-tabs",
3433
- tabs: E.value
3433
+ tabs: O.value
3434
3434
  }, {
3435
3435
  json: v(() => [
3436
- I(un, {
3436
+ _(un, {
3437
3437
  config: e.config,
3438
3438
  "fetcher-url": C.value,
3439
- "json-record": a.formFields,
3440
- "request-method": a.editId ? "put" : "post"
3439
+ "json-record": i.formFields,
3440
+ "request-method": i.editId ? "put" : "post"
3441
3441
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3442
3442
  ]),
3443
3443
  yaml: v(() => [
3444
- I(Qn, {
3445
- "yaml-record": a.formFields
3444
+ _(Qn, {
3445
+ "yaml-record": i.formFields
3446
3446
  }, null, 8, ["yaml-record"])
3447
3447
  ]),
3448
3448
  _: 1
@@ -3455,10 +3455,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3455
3455
  });
3456
3456
  };
3457
3457
  }
3458
- }), kl = /* @__PURE__ */ ue(bl, [["__scopeId", "data-v-3def74fe"]]), Cl = {
3459
- key: 0,
3460
- "data-testid": "first-col"
3461
- }, wl = /* @__PURE__ */ Y({
3458
+ }), kl = /* @__PURE__ */ ue(bl, [["__scopeId", "data-v-3def74fe"]]), Cl = ["data-truncate"], wl = /* @__PURE__ */ Y({
3462
3459
  __name: "EntityBaseTableCell",
3463
3460
  props: {
3464
3461
  keyName: {
@@ -3468,68 +3465,80 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3468
3465
  rowEl: {
3469
3466
  type: [Object, null],
3470
3467
  required: !0
3468
+ },
3469
+ tooltip: {
3470
+ type: Boolean,
3471
+ default: !1
3471
3472
  }
3472
3473
  },
3473
3474
  setup(e) {
3474
- const t = e, n = x(() => {
3475
- var b;
3476
- return ((b = t.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3477
- }), r = x(() => {
3478
- var b;
3479
- return ((b = n.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3480
- }), a = x(() => {
3481
- var b, w;
3482
- const L = (b = t.rowEl) == null ? void 0 : b.querySelectorAll("td");
3483
- return L ? ((w = L[0]) == null ? void 0 : w.getAttribute("data-testid")) === t.keyName : !1;
3484
- });
3485
- let o;
3486
- const i = () => {
3487
- o && (o.disconnect(), o = void 0);
3488
- }, l = () => {
3489
- var b, w, L;
3490
- c.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, d.value = ((w = n.value) == null ? void 0 : w.clientWidth) || 0, u.value = ((L = s.value) == null ? void 0 : L.innerText) || "";
3491
- }, s = N({}), c = N(0), d = N(0), u = N(""), h = x(() => [r.value, n.value]), y = Ie(
3492
- h,
3493
- (b) => {
3494
- if (a.value && (i(), "ResizeObserver" in window && window)) {
3495
- o = new ResizeObserver((w) => {
3475
+ const t = e, n = A(() => {
3476
+ var k;
3477
+ return ((k = t.rowEl) == null ? void 0 : k.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3478
+ }), a = A(() => {
3479
+ var k;
3480
+ return ((k = n.value) == null ? void 0 : k.querySelector('[data-truncate="true"]')) || null;
3481
+ }), i = A(() => {
3482
+ var k, F;
3483
+ const w = (k = t.rowEl) == null ? void 0 : k.querySelectorAll("td");
3484
+ return w ? ((F = w[0]) == null ? void 0 : F.getAttribute("data-testid")) === t.keyName : !1;
3485
+ }), o = A(() => i.value || t.tooltip);
3486
+ let r;
3487
+ const l = () => {
3488
+ r && (r.disconnect(), r = void 0);
3489
+ }, s = () => {
3490
+ var k, F, w;
3491
+ let O = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3492
+ if (n.value && "getComputedStyle" in window) {
3493
+ const g = window.getComputedStyle(n.value);
3494
+ O -= (parseFloat(g.paddingLeft) || 0) + (parseFloat(g.paddingRight) || 0);
3495
+ }
3496
+ d.value = ((F = a.value) == null ? void 0 : F.getBoundingClientRect().width) || 0, u.value = O, h.value = ((w = c.value) == null ? void 0 : w.innerText) || "";
3497
+ }, c = E({}), d = E(0), u = E(0), h = E(""), y = A(() => [a.value, n.value]), C = Ie(
3498
+ y,
3499
+ (k) => {
3500
+ if (o.value && (l(), "ResizeObserver" in window && window)) {
3501
+ r = new ResizeObserver((F) => {
3496
3502
  window.requestAnimationFrame(() => {
3497
- !Array.isArray(w) || !w.length || l();
3503
+ !Array.isArray(F) || !F.length || s();
3498
3504
  });
3499
3505
  });
3500
- for (const w of b)
3501
- w && o.observe(w);
3506
+ for (const F of k)
3507
+ F && r.observe(F);
3502
3508
  }
3503
3509
  },
3504
3510
  { immediate: !0, flush: "post", deep: !0 }
3505
- ), C = x(() => a.value ? c.value > d.value : !1);
3506
- return ia(() => {
3507
- l();
3511
+ ), S = A(() => o.value ? d.value > u.value : !1);
3512
+ return ra(() => {
3513
+ s();
3508
3514
  }), oa(() => {
3509
- y();
3510
- }), (b, w) => {
3511
- const L = q("KTooltip");
3515
+ C();
3516
+ }), (k, F) => {
3517
+ const w = L("KTooltip");
3512
3518
  return m(), j("span", {
3513
3519
  ref_key: "contentRef",
3514
- ref: s,
3520
+ ref: c,
3515
3521
  class: "content-wrapper"
3516
3522
  }, [
3517
- a.value ? (m(), j("span", Cl, [
3518
- I(L, {
3523
+ o.value ? (m(), j("span", {
3524
+ key: 0,
3525
+ "data-truncate": o.value || void 0
3526
+ }, [
3527
+ _(w, {
3519
3528
  "max-width": "300",
3520
3529
  placement: "bottomStart",
3521
- text: C.value ? u.value : ""
3530
+ text: S.value ? h.value : ""
3522
3531
  }, {
3523
3532
  default: v(() => [
3524
- W(b.$slots, "default", {}, void 0, !0)
3533
+ Z(k.$slots, "default", {}, void 0, !0)
3525
3534
  ]),
3526
3535
  _: 3
3527
3536
  }, 8, ["text"])
3528
- ])) : W(b.$slots, "default", { key: 1 }, void 0, !0)
3537
+ ], 8, Cl)) : Z(k.$slots, "default", { key: 1 }, void 0, !0)
3529
3538
  ], 512);
3530
3539
  };
3531
3540
  }
3532
- }), Sl = /* @__PURE__ */ ue(wl, [["__scopeId", "data-v-c4379fd4"]]), Al = { class: "toolbar-container" }, xl = {
3541
+ }), Sl = /* @__PURE__ */ ue(wl, [["__scopeId", "data-v-6019026f"]]), xl = { class: "toolbar-container" }, Al = {
3533
3542
  key: 0,
3534
3543
  class: "toolbar-button-container"
3535
3544
  }, Il = ["data-testid"], _l = /* @__PURE__ */ Y({
@@ -3646,7 +3655,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3646
3655
  },
3647
3656
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3648
3657
  setup(e, { emit: t }) {
3649
- const n = e, r = t, { i18n: { t: a } } = X.useI18n(), o = x(() => {
3658
+ const n = e, a = t, { i18n: { t: i } } = X.useI18n(), o = A(() => {
3650
3659
  var f, p;
3651
3660
  return typeof n.errorMessage == "string" ? {
3652
3661
  hasError: !!n.errorMessage,
@@ -3657,7 +3666,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3657
3666
  title: (f = n.errorMessage) == null ? void 0 : f.title,
3658
3667
  message: (p = n.errorMessage) == null ? void 0 : p.message
3659
3668
  };
3660
- }), i = x(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = x(() => {
3669
+ }), r = A(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = A(() => {
3661
3670
  const f = [];
3662
3671
  return Object.keys(n.tableHeaders).forEach((p) => {
3663
3672
  const M = n.tableHeaders[p];
@@ -3674,7 +3683,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3674
3683
  "data-rowid": f.id,
3675
3684
  "data-testid": f.name,
3676
3685
  ...n.rowAttributes(f)
3677
- }), d = N({}), u = (f) => {
3686
+ }), d = E({}), u = (f) => {
3678
3687
  var p;
3679
3688
  return (p = d.value) == null ? void 0 : p.$el.querySelector(`[data-rowid="${f.id}"]`);
3680
3689
  }, h = (f) => {
@@ -3688,42 +3697,42 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3688
3697
  textOverflow: "ellipsis"
3689
3698
  }), p;
3690
3699
  }, y = () => {
3691
- r("empty-state-cta-clicked"), C();
3700
+ a("empty-state-cta-clicked"), C();
3692
3701
  }, C = () => {
3693
- r("clear-search-input");
3694
- }, b = x(() => n.disableRowClick ? void 0 : (f, p) => {
3695
- r("click:row", p);
3696
- }), w = (f) => {
3697
- r("sort", f);
3698
- }, { setTablePreferences: L, getTablePreferences: _ } = ha(), E = x(() => {
3699
- const f = _(n.preferencesStorageKey);
3702
+ a("clear-search-input");
3703
+ }, S = A(() => n.disableRowClick ? void 0 : (f, p) => {
3704
+ a("click:row", p);
3705
+ }), k = (f) => {
3706
+ a("sort", f);
3707
+ }, { setTablePreferences: F, getTablePreferences: w } = ha(), O = A(() => {
3708
+ const f = w(n.preferencesStorageKey);
3700
3709
  return {
3701
3710
  ...n.initialFetcherParams,
3702
3711
  ...f
3703
3712
  };
3704
3713
  }), g = (f) => {
3705
- n.preferencesStorageKey && L(n.preferencesStorageKey, f);
3714
+ n.preferencesStorageKey && F(n.preferencesStorageKey, f);
3706
3715
  };
3707
3716
  return (f, p) => {
3708
- const M = q("KIcon"), F = q("KButton"), A = q("KDropdown"), U = q("KTable"), $ = q("KCard");
3717
+ const M = L("KIcon"), K = L("KButton"), I = L("KDropdown"), U = L("KTable"), $ = L("KCard");
3709
3718
  return m(), R($, {
3710
3719
  class: "kong-ui-entity-base-table",
3711
3720
  title: e.title,
3712
3721
  "title-tag": e.titleTag
3713
3722
  }, {
3714
3723
  default: v(() => [
3715
- I(U, {
3724
+ _(U, {
3716
3725
  ref_key: "tableRefs",
3717
3726
  ref: d,
3718
- "cache-identifier": i.value,
3727
+ "cache-identifier": r.value,
3719
3728
  "cell-attrs": h,
3720
3729
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3721
3730
  "disable-sorting": e.disableSorting,
3722
- "empty-state-action-message": e.query ? k(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3731
+ "empty-state-action-message": e.query ? b(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3723
3732
  "empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
3724
3733
  "empty-state-icon-variant": e.query ? "search" : "kong",
3725
- "empty-state-message": e.query ? k(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3726
- "empty-state-title": e.query ? k(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3734
+ "empty-state-message": e.query ? b(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3735
+ "empty-state-title": e.query ? b(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3727
3736
  "enable-client-sort": e.enableClientSort,
3728
3737
  "error-state-message": o.value.message,
3729
3738
  "error-state-title": o.value.title,
@@ -3732,21 +3741,21 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3732
3741
  "has-error": o.value.hasError,
3733
3742
  headers: s.value,
3734
3743
  "hide-pagination-when-optional": "",
3735
- "initial-fetcher-params": E.value,
3744
+ "initial-fetcher-params": O.value,
3736
3745
  "is-loading": e.isLoading,
3737
3746
  "pagination-type": e.paginationType,
3738
3747
  "row-attrs": c,
3739
3748
  "search-input": e.query,
3740
3749
  onKtableEmptyStateCtaClicked: y,
3741
- "onRow:click": b.value,
3742
- onSort: p[0] || (p[0] = (T) => w(T)),
3750
+ "onRow:click": S.value,
3751
+ onSort: p[0] || (p[0] = (T) => k(T)),
3743
3752
  "onUpdate:tablePreferences": g
3744
3753
  }, Oe({
3745
3754
  toolbar: v(({ state: T }) => [
3746
- me(B("div", Al, [
3747
- W(f.$slots, "toolbar-filter", {}, void 0, !0),
3748
- f.$slots["toolbar-button"] ? (m(), j("div", xl, [
3749
- W(f.$slots, "toolbar-button", {}, void 0, !0)
3755
+ me(B("div", xl, [
3756
+ Z(f.$slots, "toolbar-filter", {}, void 0, !0),
3757
+ f.$slots["toolbar-button"] ? (m(), j("div", Al, [
3758
+ Z(f.$slots, "toolbar-button", {}, void 0, !0)
3750
3759
  ])) : z("", !0)
3751
3760
  ], 512), [
3752
3761
  [he, l(T)]
@@ -3757,26 +3766,26 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3757
3766
  class: "actions-container",
3758
3767
  "data-testid": T.name
3759
3768
  }, [
3760
- I(A, {
3769
+ _(I, {
3761
3770
  "kpop-attributes": { placement: "bottomEnd" },
3762
3771
  width: e.dropdownMenuWidth
3763
3772
  }, {
3764
3773
  items: v(() => [
3765
- W(f.$slots, "actions", {
3774
+ Z(f.$slots, "actions", {
3766
3775
  row: T,
3767
3776
  rowKey: D,
3768
3777
  rowValue: J
3769
3778
  }, void 0, !0)
3770
3779
  ]),
3771
3780
  default: v(() => [
3772
- I(F, {
3781
+ _(K, {
3773
3782
  class: "actions-trigger",
3774
3783
  "data-testid": "overflow-actions-button",
3775
3784
  size: "small"
3776
3785
  }, {
3777
3786
  icon: v(() => [
3778
- I(M, {
3779
- color: k(Za),
3787
+ _(M, {
3788
+ color: b(Wa),
3780
3789
  icon: "more",
3781
3790
  size: "16"
3782
3791
  }, null, 8, ["color"])
@@ -3793,27 +3802,28 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3793
3802
  ce(e.tableHeaders, (T, D) => ({
3794
3803
  name: D,
3795
3804
  fn: v(({ row: J, rowKey: oe, rowValue: le }) => [
3796
- I(Sl, {
3805
+ _(Sl, {
3797
3806
  "key-name": String(D),
3798
- "row-el": u(J)
3807
+ "row-el": u(J),
3808
+ tooltip: T.tooltip
3799
3809
  }, {
3800
3810
  default: v(() => [
3801
- W(f.$slots, D, {
3811
+ Z(f.$slots, D, {
3802
3812
  row: J,
3803
3813
  rowKey: oe,
3804
3814
  rowValue: le
3805
3815
  }, () => [
3806
- P(K(le), 1)
3816
+ P(q(le), 1)
3807
3817
  ], !0)
3808
3818
  ]),
3809
3819
  _: 2
3810
- }, 1032, ["key-name", "row-el"])
3820
+ }, 1032, ["key-name", "row-el", "tooltip"])
3811
3821
  ])
3812
3822
  })),
3813
3823
  e.query ? void 0 : {
3814
3824
  name: "empty-state-action-icon",
3815
3825
  fn: v(() => [
3816
- I(k(Jo))
3826
+ _(b(Jo))
3817
3827
  ]),
3818
3828
  key: "0"
3819
3829
  }
@@ -3823,7 +3833,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3823
3833
  }, 8, ["title", "title-tag"]);
3824
3834
  };
3825
3835
  }
3826
- }), Tl = /* @__PURE__ */ ue(_l, [["__scopeId", "data-v-590c2d76"]]), jl = {
3836
+ }), Tl = /* @__PURE__ */ ue(_l, [["__scopeId", "data-v-adb02213"]]), jl = {
3827
3837
  key: 0,
3828
3838
  class: "kong-ui-entity-delete-error"
3829
3839
  }, $l = {
@@ -3868,13 +3878,13 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3868
3878
  },
3869
3879
  emits: ["cancel", "proceed"],
3870
3880
  setup(e, { emit: t }) {
3871
- const { i18nT: n } = X.useI18n(), r = e, a = t, o = x(() => r.needConfirm ? r.entityName : ""), i = () => {
3872
- a("cancel");
3881
+ const { i18nT: n } = X.useI18n(), a = e, i = t, o = A(() => a.needConfirm ? a.entityName : ""), r = () => {
3882
+ i("cancel");
3873
3883
  }, l = () => {
3874
- a("proceed");
3884
+ i("proceed");
3875
3885
  };
3876
3886
  return (s, c) => {
3877
- const d = q("KAlert"), u = q("KPrompt");
3887
+ const d = L("KAlert"), u = L("KPrompt");
3878
3888
  return m(), R(u, {
3879
3889
  "action-button-appearance": "danger",
3880
3890
  "action-button-disabled": e.actionPending,
@@ -3883,39 +3893,39 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3883
3893
  "confirmation-text": o.value,
3884
3894
  title: e.title,
3885
3895
  visible: e.visible,
3886
- onCancel: i,
3896
+ onCancel: r,
3887
3897
  onProceed: l
3888
3898
  }, {
3889
3899
  default: v(() => [
3890
3900
  e.error ? (m(), j("div", jl, [
3891
- I(d, { appearance: "danger" }, {
3901
+ _(d, { appearance: "danger" }, {
3892
3902
  default: v(() => [
3893
- P(K(e.error), 1)
3903
+ P(q(e.error), 1)
3894
3904
  ]),
3895
3905
  _: 1
3896
3906
  })
3897
3907
  ])) : z("", !0),
3898
- I(k(n), {
3908
+ _(b(n), {
3899
3909
  class: "message",
3900
- keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3910
+ keypath: a.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3901
3911
  tag: "p"
3902
3912
  }, Oe({
3903
3913
  entityType: v(() => [
3904
- P(K(r.entityType), 1)
3914
+ P(q(a.entityType), 1)
3905
3915
  ]),
3906
3916
  _: 2
3907
3917
  }, [
3908
- r.entityName ? {
3918
+ a.entityName ? {
3909
3919
  name: "entityName",
3910
3920
  fn: v(() => [
3911
- B("strong", null, K(r.entityName), 1)
3921
+ B("strong", null, q(a.entityName), 1)
3912
3922
  ]),
3913
3923
  key: "0"
3914
3924
  } : void 0
3915
3925
  ]), 1032, ["keypath"]),
3916
- r.description || s.$slots.description ? (m(), j("div", $l, [
3917
- W(s.$slots, "description", {}, () => [
3918
- B("p", null, K(r.description), 1)
3926
+ a.description || s.$slots.description ? (m(), j("div", $l, [
3927
+ Z(s.$slots, "description", {}, () => [
3928
+ B("p", null, q(a.description), 1)
3919
3929
  ], !0)
3920
3930
  ])) : z("", !0)
3921
3931
  ]),
@@ -3923,13 +3933,13 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3923
3933
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3924
3934
  };
3925
3935
  }
3926
- }), Ml = /* @__PURE__ */ ue(Ol, [["__scopeId", "data-v-4361d622"]]), Nl = {
3936
+ }), Nl = /* @__PURE__ */ ue(Ol, [["__scopeId", "data-v-4361d622"]]), Fl = {
3927
3937
  fill: "none",
3928
3938
  height: "20",
3929
3939
  viewBox: "0 0 20 20",
3930
3940
  width: "20",
3931
3941
  xmlns: "http://www.w3.org/2000/svg"
3932
- }, El = {
3942
+ }, Ml = {
3933
3943
  id: "mask0_180_20349",
3934
3944
  height: "20",
3935
3945
  maskUnits: "userSpaceOnUse",
@@ -3937,7 +3947,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3937
3947
  width: "20",
3938
3948
  x: "0",
3939
3949
  y: "0"
3940
- }, Fl = ["fill"], Kl = { mask: "url(#mask0_180_20349)" }, ql = ["fill"], Gt = /* @__PURE__ */ Y({
3950
+ }, El = ["fill"], Kl = { mask: "url(#mask0_180_20349)" }, ql = ["fill"], Gt = /* @__PURE__ */ Y({
3941
3951
  __name: "IconFilter",
3942
3952
  props: {
3943
3953
  color: {
@@ -3946,13 +3956,13 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3946
3956
  }
3947
3957
  },
3948
3958
  setup(e) {
3949
- return (t, n) => (m(), j("svg", Nl, [
3950
- B("mask", El, [
3959
+ return (t, n) => (m(), j("svg", Fl, [
3960
+ B("mask", Ml, [
3951
3961
  B("rect", {
3952
3962
  fill: e.color,
3953
3963
  height: "20",
3954
3964
  width: "20"
3955
- }, null, 8, Fl)
3965
+ }, null, 8, El)
3956
3966
  ]),
3957
3967
  B("g", Kl, [
3958
3968
  B("path", {
@@ -3985,22 +3995,25 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
3985
3995
  },
3986
3996
  emits: ["update:modelValue"],
3987
3997
  setup(e, { emit: t }) {
3988
- const { i18n: { t: n } } = X.useI18n(), r = e, a = t, o = N(!1), i = N({}), l = N(/* @__PURE__ */ new Set()), s = x(() => {
3998
+ const { i18n: { t: n } } = X.useI18n(), a = e, i = t, o = E(!1), r = E({}), l = E(/* @__PURE__ */ new Set()), s = A(() => {
3989
3999
  const g = [];
3990
- return new URLSearchParams(r.modelValue).forEach((f, p) => {
4000
+ return new URLSearchParams(a.modelValue).forEach((f, p) => {
3991
4001
  f !== "" && g.push(p);
3992
4002
  }), g;
3993
- }), c = x(() => {
3994
- const g = r.config.fields;
3995
- return Object.keys(g).filter((f) => g[f].searchable).map((f) => ({
4003
+ }), c = A(() => {
4004
+ const g = a.config.fields;
4005
+ return Object.keys(g).filter((f) => {
4006
+ var p;
4007
+ return (p = g == null ? void 0 : g[f]) == null ? void 0 : p.searchable;
4008
+ }).map((f) => ({
3996
4009
  label: g[f].label || f,
3997
4010
  value: f,
3998
4011
  expanded: !1
3999
4012
  }));
4000
4013
  });
4001
- Ie(() => r.modelValue, (g) => {
4002
- i.value = {}, new URLSearchParams(g).forEach((f, p) => {
4003
- i.value[p] = f;
4014
+ Ie(() => a.modelValue, (g) => {
4015
+ r.value = {}, new URLSearchParams(g).forEach((f, p) => {
4016
+ r.value[p] = f;
4004
4017
  });
4005
4018
  });
4006
4019
  const d = () => {
@@ -4008,31 +4021,31 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
4008
4021
  }, u = (g) => {
4009
4022
  l.value.has(g) ? l.value.delete(g) : l.value.add(g);
4010
4023
  }, h = (g) => {
4011
- a("update:modelValue", g);
4024
+ i("update:modelValue", g);
4012
4025
  }, y = () => {
4013
4026
  h("");
4014
- }, C = (g) => `filter-${g}`, b = (g) => {
4027
+ }, C = (g) => `filter-${g}`, S = (g) => {
4015
4028
  var f, p;
4016
- return (((p = (f = r.config.schema) == null ? void 0 : f[g]) == null ? void 0 : p.values) ?? []).map((M) => ({
4029
+ return (((p = (f = a.config.schema) == null ? void 0 : f[g]) == null ? void 0 : p.values) ?? []).map((M) => ({
4017
4030
  value: M,
4018
4031
  label: M
4019
4032
  }));
4020
- }, w = (g) => {
4033
+ }, k = (g) => {
4021
4034
  var f, p;
4022
- return ((p = (f = r.config.schema) == null ? void 0 : f[g]) == null ? void 0 : p.type) ?? "text";
4023
- }, L = (g) => {
4024
- i.value = {
4025
- ...i.value,
4035
+ return ((p = (f = a.config.schema) == null ? void 0 : f[g]) == null ? void 0 : p.type) ?? "text";
4036
+ }, F = (g) => {
4037
+ r.value = {
4038
+ ...r.value,
4026
4039
  [g]: ""
4027
- }, E();
4028
- }, _ = () => {
4029
- i.value = {}, E(!0);
4030
- }, E = (g = !1) => {
4031
- const f = Object.keys(i.value).reduce((p, M) => (i.value[M] && (p[M] = `${i.value[M]}`), p), {});
4032
- g && (o.value = !1), a("update:modelValue", new URLSearchParams(f).toString());
4040
+ }, O();
4041
+ }, w = () => {
4042
+ r.value = {}, O(!0);
4043
+ }, O = (g = !1) => {
4044
+ const f = Object.keys(r.value).reduce((p, M) => (r.value[M] && (p[M] = `${r.value[M]}`), p), {});
4045
+ g && (o.value = !1), i("update:modelValue", new URLSearchParams(f).toString());
4033
4046
  };
4034
4047
  return (g, f) => {
4035
- const p = q("KInput"), M = q("KButton"), F = q("KSelect");
4048
+ const p = L("KInput"), M = L("KButton"), K = L("KSelect");
4036
4049
  return e.config.isExactMatch ? (m(), R(p, {
4037
4050
  key: 0,
4038
4051
  autocomplete: "off",
@@ -4043,10 +4056,10 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
4043
4056
  "onUpdate:modelValue": h
4044
4057
  }, {
4045
4058
  before: v(() => [
4046
- I(Gt)
4059
+ _(Gt)
4047
4060
  ]),
4048
4061
  after: v(() => [
4049
- me(I(k(ul), {
4062
+ me(_(b(ul), {
4050
4063
  class: "kong-ui-entity-filter-clear",
4051
4064
  onClick: y
4052
4065
  }, null, 512), [
@@ -4055,14 +4068,14 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
4055
4068
  ]),
4056
4069
  _: 1
4057
4070
  }, 8, ["model-value", "placeholder"])) : (m(), j("div", Ll, [
4058
- I(M, {
4071
+ _(M, {
4059
4072
  appearance: "tertiary",
4060
4073
  "data-testid": "filter-button",
4061
4074
  onClick: d
4062
4075
  }, {
4063
4076
  default: v(() => [
4064
- I(Gt),
4065
- P(" " + K(k(n)("filter.filterButtonText")) + " " + K(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4077
+ _(Gt),
4078
+ P(" " + q(b(n)("filter.filterButtonText")) + " " + q(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4066
4079
  ]),
4067
4080
  _: 1
4068
4081
  }),
@@ -4073,89 +4086,89 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
4073
4086
  [he, o.value]
4074
4087
  ]),
4075
4088
  me(B("div", Bl, [
4076
- (m(!0), j(pe, null, ce(c.value, (A) => {
4089
+ (m(!0), j(pe, null, ce(c.value, (I) => {
4077
4090
  var U, $;
4078
4091
  return m(), j("div", {
4079
- key: A.value,
4092
+ key: I.value,
4080
4093
  class: "kong-ui-entity-filter-menu-item",
4081
- "data-testid": A.value
4094
+ "data-testid": I.value
4082
4095
  }, [
4083
4096
  B("span", {
4084
- class: be(["menu-item-title", { expanded: l.value.has(A.value) }]),
4097
+ class: be(["menu-item-title", { expanded: l.value.has(I.value) }]),
4085
4098
  role: "button",
4086
4099
  tabindex: "0",
4087
- onClick: (T) => u(A.value),
4088
- onKeydown: aa((T) => u(A.value), ["enter"])
4100
+ onClick: (T) => u(I.value),
4101
+ onKeydown: aa((T) => u(I.value), ["enter"])
4089
4102
  }, [
4090
- P(K(A.label) + " ", 1),
4103
+ P(q(I.label) + " ", 1),
4091
4104
  me(B("span", Dl, null, 512), [
4092
- [he, s.value.includes(A.value)]
4105
+ [he, s.value.includes(I.value)]
4093
4106
  ]),
4094
- I(k(rl), {
4095
- class: be(["menu-item-expand-icon", { expanded: l.value.has(A.value) }]),
4096
- color: k(Ga)
4107
+ _(b(il), {
4108
+ class: be(["menu-item-expand-icon", { expanded: l.value.has(I.value) }]),
4109
+ color: b(Ga)
4097
4110
  }, null, 8, ["class", "color"])
4098
4111
  ], 42, Rl),
4099
4112
  me(B("div", Vl, [
4100
4113
  B("label", {
4101
4114
  class: "menu-item-label",
4102
- for: C(A.value)
4103
- }, K(k(n)("filter.fieldLabel")), 9, Pl),
4104
- (($ = (U = e.config.schema) == null ? void 0 : U[A.value]) == null ? void 0 : $.type) === "select" ? (m(), R(F, {
4115
+ for: C(I.value)
4116
+ }, q(b(n)("filter.fieldLabel")), 9, Pl),
4117
+ (($ = (U = e.config.schema) == null ? void 0 : U[I.value]) == null ? void 0 : $.type) === "select" ? (m(), R(K, {
4105
4118
  key: 0,
4106
- id: C(A.value),
4107
- modelValue: i.value[A.value],
4108
- "onUpdate:modelValue": (T) => i.value[A.value] = T,
4109
- items: b(A.value),
4110
- placeholder: k(n)("filter.selectPlaceholder")
4119
+ id: C(I.value),
4120
+ modelValue: r.value[I.value],
4121
+ "onUpdate:modelValue": (T) => r.value[I.value] = T,
4122
+ items: S(I.value),
4123
+ placeholder: b(n)("filter.selectPlaceholder")
4111
4124
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), R(p, {
4112
4125
  key: 1,
4113
- id: C(A.value),
4114
- modelValue: i.value[A.value],
4115
- "onUpdate:modelValue": (T) => i.value[A.value] = T,
4126
+ id: C(I.value),
4127
+ modelValue: r.value[I.value],
4128
+ "onUpdate:modelValue": (T) => r.value[I.value] = T,
4116
4129
  autocomplete: "off",
4117
- placeholder: k(n)("filter.inputPlaceholder"),
4118
- type: w(A.value)
4130
+ placeholder: b(n)("filter.inputPlaceholder"),
4131
+ type: k(I.value)
4119
4132
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4120
4133
  ], 512), [
4121
- [he, l.value.has(A.value)]
4134
+ [he, l.value.has(I.value)]
4122
4135
  ]),
4123
4136
  me(B("div", zl, [
4124
- I(M, {
4137
+ _(M, {
4125
4138
  appearance: "tertiary",
4126
4139
  "data-testid": "apply-filter",
4127
4140
  size: "small",
4128
- onClick: f[0] || (f[0] = (T) => E(!0))
4141
+ onClick: f[0] || (f[0] = (T) => O(!0))
4129
4142
  }, {
4130
4143
  default: v(() => [
4131
- P(K(k(n)("filter.applyButtonText")), 1)
4144
+ P(q(b(n)("filter.applyButtonText")), 1)
4132
4145
  ]),
4133
4146
  _: 1
4134
4147
  }),
4135
- I(M, {
4148
+ _(M, {
4136
4149
  appearance: "tertiary",
4137
4150
  "data-testid": "clear-filter",
4138
4151
  size: "small",
4139
- onClick: (T) => L(A.value)
4152
+ onClick: (T) => F(I.value)
4140
4153
  }, {
4141
4154
  default: v(() => [
4142
- P(K(k(n)("filter.clearButtonText")), 1)
4155
+ P(q(b(n)("filter.clearButtonText")), 1)
4143
4156
  ]),
4144
4157
  _: 2
4145
4158
  }, 1032, ["onClick"])
4146
4159
  ], 512), [
4147
- [he, l.value.has(A.value)]
4160
+ [he, l.value.has(I.value)]
4148
4161
  ])
4149
4162
  ], 8, Ul);
4150
4163
  }), 128)),
4151
4164
  B("div", Jl, [
4152
- I(M, {
4165
+ _(M, {
4153
4166
  appearance: "tertiary",
4154
4167
  size: "small",
4155
- onClick: _
4168
+ onClick: w
4156
4169
  }, {
4157
4170
  default: v(() => [
4158
- P(K(k(n)("filter.clearAllButtonText")), 1)
4171
+ P(q(b(n)("filter.clearAllButtonText")), 1)
4159
4172
  ]),
4160
4173
  _: 1
4161
4174
  })
@@ -4166,7 +4179,7 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
4166
4179
  ]));
4167
4180
  };
4168
4181
  }
4169
- }), Yl = /* @__PURE__ */ ue(Hl, [["__scopeId", "data-v-8cfadde3"]]), Ue = /* @__PURE__ */ Y({
4182
+ }), Yl = /* @__PURE__ */ ue(Hl, [["__scopeId", "data-v-9a370e3a"]]), Ue = /* @__PURE__ */ Y({
4170
4183
  __name: "PermissionsWrapper",
4171
4184
  props: {
4172
4185
  /**
@@ -4188,21 +4201,21 @@ const Fo = { class: "yaml-config" }, Qn = /* @__PURE__ */ Y({
4188
4201
  }
4189
4202
  },
4190
4203
  setup(e) {
4191
- const t = e, n = N(void 0), r = x(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4204
+ const t = e, n = E(void 0), a = A(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4192
4205
  return Ie(() => t.authFunction, async () => {
4193
4206
  n.value = await t.authFunction();
4194
- }, { immediate: !0 }), (a, o) => r.value ? W(a.$slots, "default", {
4207
+ }, { immediate: !0 }), (i, o) => a.value ? Z(i.$slots, "default", {
4195
4208
  key: 0,
4196
4209
  isAllowed: n.value
4197
4210
  }) : z("", !0);
4198
4211
  }
4199
4212
  });
4200
4213
  let Re;
4201
- const Wl = new Uint8Array(16);
4202
- function Zl() {
4214
+ const Zl = new Uint8Array(16);
4215
+ function Wl() {
4203
4216
  if (!Re && (Re = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Re))
4204
4217
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4205
- return Re(Wl);
4218
+ return Re(Zl);
4206
4219
  }
4207
4220
  const te = [];
4208
4221
  for (let e = 0; e < 256; ++e)
@@ -4217,14 +4230,14 @@ function Xl(e, t, n) {
4217
4230
  if (Qt.randomUUID && !t && !e)
4218
4231
  return Qt.randomUUID();
4219
4232
  e = e || {};
4220
- const r = e.random || (e.rng || Zl)();
4221
- if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
4233
+ const a = e.random || (e.rng || Wl)();
4234
+ if (a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, t) {
4222
4235
  n = n || 0;
4223
- for (let a = 0; a < 16; ++a)
4224
- t[n + a] = r[a];
4236
+ for (let i = 0; i < 16; ++i)
4237
+ t[n + i] = a[i];
4225
4238
  return t;
4226
4239
  }
4227
- return Gl(r);
4240
+ return Gl(a);
4228
4241
  }
4229
4242
  const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4230
4243
  key: 1,
@@ -4232,7 +4245,7 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4232
4245
  }, as = {
4233
4246
  key: 2,
4234
4247
  class: "form-section-footer"
4235
- }, rs = { class: "form-section-content" }, is = /* @__PURE__ */ Y({
4248
+ }, is = { class: "form-section-content" }, rs = /* @__PURE__ */ Y({
4236
4249
  __name: "EntityFormSection",
4237
4250
  props: {
4238
4251
  title: {
@@ -4262,8 +4275,8 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4262
4275
  },
4263
4276
  setup(e) {
4264
4277
  const t = yt(), n = Xl();
4265
- return (r, a) => (m(), j("div", {
4266
- "aria-labelledby": e.title ? k(n) : void 0,
4278
+ return (a, i) => (m(), j("div", {
4279
+ "aria-labelledby": e.title ? b(n) : void 0,
4267
4280
  class: be(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4268
4281
  role: "group"
4269
4282
  }, [
@@ -4274,30 +4287,30 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4274
4287
  }, [
4275
4288
  e.title ? (m(), R(we(e.titleTag), {
4276
4289
  key: 0,
4277
- id: k(n),
4290
+ id: b(n),
4278
4291
  class: "form-section-title"
4279
4292
  }, {
4280
4293
  default: v(() => [
4281
- P(K(e.title), 1)
4294
+ P(q(e.title), 1)
4282
4295
  ]),
4283
4296
  _: 1
4284
4297
  }, 8, ["id"])) : z("", !0),
4285
- e.description || k(t).description ? (m(), j("div", ns, [
4286
- W(r.$slots, "description", {}, () => [
4287
- B("p", null, K(e.description), 1)
4298
+ e.description || b(t).description ? (m(), j("div", ns, [
4299
+ Z(a.$slots, "description", {}, () => [
4300
+ B("p", null, q(e.description), 1)
4288
4301
  ], !0)
4289
4302
  ])) : z("", !0),
4290
- k(t).footer ? (m(), j("div", as, [
4291
- W(r.$slots, "footer", {}, void 0, !0)
4303
+ b(t).footer ? (m(), j("div", as, [
4304
+ Z(a.$slots, "footer", {}, void 0, !0)
4292
4305
  ])) : z("", !0)
4293
4306
  ], 2)),
4294
- B("div", rs, [
4295
- W(r.$slots, "default", {}, void 0, !0)
4307
+ B("div", is, [
4308
+ Z(a.$slots, "default", {}, void 0, !0)
4296
4309
  ])
4297
4310
  ])
4298
4311
  ], 10, es));
4299
4312
  }
4300
- }), os = /* @__PURE__ */ ue(is, [["__scopeId", "data-v-76e52dbd"]]), { useAxios: Xn, useDeleteUrlBuilder: ls, useErrors: ss, useExternalLinkCreator: Cs, useFetchUrlBuilder: ws, useFetcher: cs, useDebouncedFilter: Ss, useStringHelpers: As, useHelpers: xs, useGatewayFeatureSupported: Is, useTruncationDetector: _s, useValidators: Ts } = X, us = { class: "kong-ui-entities-key-sets-list" }, ds = { key: 1 }, ps = /* @__PURE__ */ Y({
4313
+ }), os = /* @__PURE__ */ ue(rs, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Xn, useDeleteUrlBuilder: ls, useErrors: ss, useExternalLinkCreator: Cs, useFetchUrlBuilder: ws, useFetcher: cs, useDebouncedFilter: Ss, useStringHelpers: xs, useHelpers: As, useGatewayFeatureSupported: Is, useTruncationDetector: _s, useValidators: Ts } = X, us = { class: "kong-ui-entities-key-sets-list" }, ds = { key: 1 }, ps = /* @__PURE__ */ Y({
4301
4314
  __name: "KeySetList",
4302
4315
  props: {
4303
4316
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4344,132 +4357,132 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4344
4357
  emits: ["error", "copy:success", "copy:error", "delete:success"],
4345
4358
  setup(e, { emit: t }) {
4346
4359
  var It;
4347
- const n = t, r = e, { i18n: { t: a } } = ht.useI18n(), o = mt(), { axiosInstance: i } = Xn((It = r.config) == null ? void 0 : It.axiosRequestConfig), l = N(1), s = x(() => r.config.app !== "kongManager" || !!r.config.disableSorting), c = {
4348
- name: { label: a("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4349
- tags: { label: a("keySets.list.table_headers.tags") },
4350
- id: { label: a("keySets.list.table_headers.id"), sortable: !0 }
4351
- }, d = c, u = x(() => {
4360
+ const n = t, a = e, { i18n: { t: i } } = ht.useI18n(), o = mt(), { axiosInstance: r } = Xn((It = a.config) == null ? void 0 : It.axiosRequestConfig), l = E(1), s = A(() => a.config.app !== "kongManager" || !!a.config.disableSorting), c = {
4361
+ name: { label: i("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4362
+ tags: { label: i("keySets.list.table_headers.tags") },
4363
+ id: { label: i("keySets.list.table_headers.id"), sortable: !0 }
4364
+ }, d = c, u = A(() => {
4352
4365
  var V, ee;
4353
- let O = `${r.config.apiBaseUrl}${De.list[r.config.app]}`;
4354
- return r.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((V = r.config) == null ? void 0 : V.controlPlaneId) || "") : r.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (ee = r.config) != null && ee.workspace ? `/${r.config.workspace}` : "")), O;
4355
- }), h = N(""), y = x(() => {
4356
- const O = r.config.app === "konnect" || r.config.isExactMatch;
4357
- if (O)
4366
+ let N = `${a.config.apiBaseUrl}${De.list[a.config.app]}`;
4367
+ return a.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((V = a.config) == null ? void 0 : V.controlPlaneId) || "") : a.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (ee = a.config) != null && ee.workspace ? `/${a.config.workspace}` : "")), N;
4368
+ }), h = E(""), y = A(() => {
4369
+ const N = a.config.app === "konnect" || a.config.isExactMatch;
4370
+ if (N)
4358
4371
  return {
4359
- isExactMatch: O,
4360
- placeholder: a("keySets.search.placeholder")
4372
+ isExactMatch: N,
4373
+ placeholder: i("keySets.search.placeholder")
4361
4374
  };
4362
4375
  const V = { name: c.name };
4363
4376
  return {
4364
- isExactMatch: O,
4377
+ isExactMatch: N,
4365
4378
  fields: V,
4366
- schema: r.config.filterSchema
4379
+ schema: a.config.filterSchema
4367
4380
  };
4368
- }), { fetcher: C, fetcherState: b } = cs(r.config, u.value), w = () => {
4381
+ }), { fetcher: C, fetcherState: S } = cs(a.config, u.value), k = () => {
4369
4382
  h.value = "";
4370
- }, L = () => {
4383
+ }, F = () => {
4371
4384
  l.value++;
4372
- }, _ = N(null), E = (O, V) => {
4373
- const ee = O.id;
4385
+ }, w = E(null), O = (N, V) => {
4386
+ const ee = N.id;
4374
4387
  if (!V(ee)) {
4375
- p(O, "id");
4388
+ p(N, "id");
4376
4389
  return;
4377
4390
  }
4378
- f(O, "id");
4379
- }, g = (O, V) => {
4380
- const ee = JSON.stringify(O);
4391
+ f(N, "id");
4392
+ }, g = (N, V) => {
4393
+ const ee = JSON.stringify(N);
4381
4394
  if (!V(ee)) {
4382
4395
  n("copy:error", {
4383
- entity: O,
4384
- message: a("keySets.errors.copy")
4396
+ entity: N,
4397
+ message: i("keySets.errors.copy")
4385
4398
  });
4386
4399
  return;
4387
4400
  }
4388
4401
  n("copy:success", {
4389
- entity: O,
4390
- message: a("keySets.copy.success_brief")
4402
+ entity: N,
4403
+ message: i("keySets.copy.success_brief")
4391
4404
  });
4392
- }, f = (O, V) => {
4405
+ }, f = (N, V) => {
4393
4406
  n("copy:success", {
4394
- entity: O,
4407
+ entity: N,
4395
4408
  field: V,
4396
- message: a("keySets.copy.success", { val: O[V] })
4409
+ message: i("keySets.copy.success", { val: N[V] })
4397
4410
  });
4398
- }, p = (O, V) => {
4411
+ }, p = (N, V) => {
4399
4412
  n("copy:error", {
4400
- entity: O,
4413
+ entity: N,
4401
4414
  field: V,
4402
- message: a("keySets.errors.copy")
4415
+ message: i("keySets.errors.copy")
4403
4416
  });
4404
- }, M = async (O) => {
4417
+ }, M = async (N) => {
4405
4418
  var ee;
4406
- await ((ee = r.canRetrieve) == null ? void 0 : ee.call(r, O)) && o.push(r.config.getViewRoute(O.id));
4407
- }, F = (O) => ({
4408
- label: a("keySets.actions.view"),
4409
- to: r.config.getViewRoute(O)
4410
- }), A = (O) => ({
4411
- label: a("keySets.actions.edit"),
4412
- to: r.config.getEditRoute(O)
4413
- }), U = N(void 0), $ = N(!1), T = N(!1), D = N(""), J = ls(r.config, u.value), oe = (O) => {
4414
- U.value = O, $.value = !0;
4419
+ await ((ee = a.canRetrieve) == null ? void 0 : ee.call(a, N)) && o.push(a.config.getViewRoute(N.id));
4420
+ }, K = (N) => ({
4421
+ label: i("keySets.actions.view"),
4422
+ to: a.config.getViewRoute(N)
4423
+ }), I = (N) => ({
4424
+ label: i("keySets.actions.edit"),
4425
+ to: a.config.getEditRoute(N)
4426
+ }), U = E(void 0), $ = E(!1), T = E(!1), D = E(""), J = ls(a.config, u.value), oe = (N) => {
4427
+ U.value = N, $.value = !0;
4415
4428
  }, le = () => {
4416
4429
  $.value = !1;
4417
4430
  }, de = async () => {
4418
- var O, V, ee;
4419
- if ((O = U.value) != null && O.id) {
4431
+ var N, V, ee;
4432
+ if ((N = U.value) != null && N.id) {
4420
4433
  T.value = !0;
4421
4434
  try {
4422
- await i.delete(J(U.value.id)), T.value = !1, $.value = !1, l.value++, n("delete:success", U.value);
4435
+ await r.delete(J(U.value.id)), T.value = !1, $.value = !1, l.value++, n("delete:success", U.value);
4423
4436
  } catch (ye) {
4424
- D.value = ((ee = (V = ye.response) == null ? void 0 : V.data) == null ? void 0 : ee.message) || ye.message || a("keySets.errors.delete"), n("error", ye);
4437
+ D.value = ((ee = (V = ye.response) == null ? void 0 : V.data) == null ? void 0 : ee.message) || ye.message || i("keySets.errors.delete"), n("error", ye);
4425
4438
  } finally {
4426
4439
  T.value = !1;
4427
4440
  }
4428
4441
  }
4429
- }, xt = N(!0);
4430
- Ie(b, (O) => {
4442
+ }, At = E(!0);
4443
+ Ie(S, (N) => {
4431
4444
  var V, ee, ye, Be;
4432
- if (Array.isArray((V = O == null ? void 0 : O.response) == null ? void 0 : V.data) && (xt.value = O.response.data.length > 0), O.status === Ae.Error) {
4433
- _.value = {
4434
- title: a("keySets.errors.general")
4435
- }, (Be = (ye = (ee = O.error) == null ? void 0 : ee.response) == null ? void 0 : ye.data) != null && Be.message && (_.value.message = O.error.response.data.message), n("error", O.error);
4445
+ if (Array.isArray((V = N == null ? void 0 : N.response) == null ? void 0 : V.data) && (At.value = N.response.data.length > 0), N.status === xe.Error) {
4446
+ w.value = {
4447
+ title: i("keySets.errors.general")
4448
+ }, (Be = (ye = (ee = N.error) == null ? void 0 : ee.response) == null ? void 0 : ye.data) != null && Be.message && (w.value.message = N.error.response.data.message), n("error", N.error);
4436
4449
  return;
4437
4450
  }
4438
- _.value = null;
4451
+ w.value = null;
4439
4452
  });
4440
- const et = N({
4441
- ctaPath: r.config.createRoute,
4453
+ const et = E({
4454
+ ctaPath: a.config.createRoute,
4442
4455
  ctaText: void 0,
4443
- message: `${a("keySets.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
4444
- title: a("keySets.title")
4456
+ message: `${i("keySets.list.empty_state.description")}${a.config.additionMessageForEmptyState ? ` ${a.config.additionMessageForEmptyState}` : ""}`,
4457
+ title: i("keySets.title")
4445
4458
  });
4446
4459
  return gt(async () => {
4447
- await r.canCreate() && (et.value.title = a("keySets.list.empty_state.title"), et.value.ctaText = a("keySets.actions.create"));
4448
- }), (O, V) => {
4449
- const ee = q("KButton"), ye = q("KBadge"), Be = q("KTruncate"), ta = q("KCopy"), Ne = q("KDropdownItem"), _t = q("KClipboardProvider");
4460
+ await a.canCreate() && (et.value.title = i("keySets.list.empty_state.title"), et.value.ctaText = i("keySets.actions.create"));
4461
+ }), (N, V) => {
4462
+ const ee = L("KButton"), ye = L("KBadge"), Be = L("KTruncate"), ta = L("KCopy"), Fe = L("KDropdownItem"), _t = L("KClipboardProvider");
4450
4463
  return m(), j("div", us, [
4451
- I(k(Tl), {
4464
+ _(b(Tl), {
4452
4465
  "cache-identifier": e.cacheIdentifier,
4453
4466
  "disable-pagination-page-jump": "",
4454
4467
  "disable-sorting": s.value,
4455
4468
  "empty-state-options": et.value,
4456
4469
  "enable-entity-actions": "",
4457
- "error-message": _.value,
4458
- fetcher: k(C),
4470
+ "error-message": w.value,
4471
+ fetcher: b(C),
4459
4472
  "fetcher-cache-key": l.value,
4460
4473
  "pagination-type": "offset",
4461
4474
  "preferences-storage-key": "kong-ui-entities-key-sets-list",
4462
4475
  query: h.value,
4463
- "table-headers": k(d),
4476
+ "table-headers": b(d),
4464
4477
  "use-action-outside": e.useActionOutside,
4465
- onClearSearchInput: w,
4466
- "onClick:row": V[2] || (V[2] = (Z) => M(Z)),
4467
- onSort: L
4478
+ onClearSearchInput: k,
4479
+ "onClick:row": V[2] || (V[2] = (W) => M(W)),
4480
+ onSort: F
4468
4481
  }, {
4469
4482
  "toolbar-filter": v(() => [
4470
- I(k(Yl), {
4483
+ _(b(Yl), {
4471
4484
  modelValue: h.value,
4472
- "onUpdate:modelValue": V[0] || (V[0] = (Z) => h.value = Z),
4485
+ "onUpdate:modelValue": V[0] || (V[0] = (W) => h.value = W),
4473
4486
  config: y.value
4474
4487
  }, null, 8, ["modelValue", "config"])
4475
4488
  ]),
@@ -4478,11 +4491,11 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4478
4491
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4479
4492
  }, {
4480
4493
  default: v(() => [
4481
- I(k(Ue), {
4494
+ _(b(Ue), {
4482
4495
  "auth-function": () => e.canCreate()
4483
4496
  }, {
4484
4497
  default: v(() => [
4485
- me(I(ee, {
4498
+ me(_(ee, {
4486
4499
  appearance: "primary",
4487
4500
  "data-testid": "toolbar-add-key-set",
4488
4501
  icon: "plus",
@@ -4490,11 +4503,11 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4490
4503
  to: e.config.createRoute
4491
4504
  }, {
4492
4505
  default: v(() => [
4493
- P(K(k(a)("keySets.list.toolbar_actions.new_key_set")), 1)
4506
+ P(q(b(i)("keySets.list.toolbar_actions.new_key_set")), 1)
4494
4507
  ]),
4495
4508
  _: 1
4496
4509
  }, 8, ["to"]), [
4497
- [he, xt.value]
4510
+ [he, At.value]
4498
4511
  ])
4499
4512
  ]),
4500
4513
  _: 1
@@ -4503,19 +4516,19 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4503
4516
  _: 1
4504
4517
  }, 8, ["to"]))
4505
4518
  ]),
4506
- name: v(({ rowValue: Z }) => [
4507
- B("b", null, K(Z ?? "-"), 1)
4519
+ name: v(({ rowValue: W }) => [
4520
+ B("b", null, q(W ?? "-"), 1)
4508
4521
  ]),
4509
- tags: v(({ rowValue: Z }) => [
4510
- (Z == null ? void 0 : Z.length) > 0 ? (m(), R(Be, { key: 0 }, {
4522
+ tags: v(({ rowValue: W }) => [
4523
+ (W == null ? void 0 : W.length) > 0 ? (m(), R(Be, { key: 0 }, {
4511
4524
  default: v(() => [
4512
- (m(!0), j(pe, null, ce(Z, (Se) => (m(), R(ye, {
4525
+ (m(!0), j(pe, null, ce(W, (Se) => (m(), R(ye, {
4513
4526
  key: Se,
4514
4527
  onClick: V[1] || (V[1] = lt(() => {
4515
4528
  }, ["stop"]))
4516
4529
  }, {
4517
4530
  default: v(() => [
4518
- P(K(Se), 1)
4531
+ P(q(Se), 1)
4519
4532
  ]),
4520
4533
  _: 2
4521
4534
  }, 1024))), 128))
@@ -4523,76 +4536,76 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4523
4536
  _: 2
4524
4537
  }, 1024)) : (m(), j("span", ds, "-"))
4525
4538
  ]),
4526
- id: v(({ rowValue: Z }) => [
4527
- I(ta, {
4528
- text: Z,
4539
+ id: v(({ rowValue: W }) => [
4540
+ _(ta, {
4541
+ text: W,
4529
4542
  truncate: ""
4530
4543
  }, null, 8, ["text"])
4531
4544
  ]),
4532
- actions: v(({ row: Z }) => [
4533
- I(_t, null, {
4545
+ actions: v(({ row: W }) => [
4546
+ _(_t, null, {
4534
4547
  default: v(({ copyToClipboard: Se }) => [
4535
- I(Ne, {
4548
+ _(Fe, {
4536
4549
  "data-testid": "action-entity-copy-id",
4537
- onClick: (na) => E(Z, Se)
4550
+ onClick: (na) => O(W, Se)
4538
4551
  }, {
4539
4552
  default: v(() => [
4540
- P(K(k(a)("keySets.actions.copy_id")), 1)
4553
+ P(q(b(i)("keySets.actions.copy_id")), 1)
4541
4554
  ]),
4542
4555
  _: 2
4543
4556
  }, 1032, ["onClick"])
4544
4557
  ]),
4545
4558
  _: 2
4546
4559
  }, 1024),
4547
- I(_t, null, {
4560
+ _(_t, null, {
4548
4561
  default: v(({ copyToClipboard: Se }) => [
4549
- I(Ne, {
4562
+ _(Fe, {
4550
4563
  "data-testid": "action-entity-copy-json",
4551
- onClick: (na) => g(Z, Se)
4564
+ onClick: (na) => g(W, Se)
4552
4565
  }, {
4553
4566
  default: v(() => [
4554
- P(K(k(a)("keySets.actions.copy_json")), 1)
4567
+ P(q(b(i)("keySets.actions.copy_json")), 1)
4555
4568
  ]),
4556
4569
  _: 2
4557
4570
  }, 1032, ["onClick"])
4558
4571
  ]),
4559
4572
  _: 2
4560
4573
  }, 1024),
4561
- I(k(Ue), {
4562
- "auth-function": () => e.canRetrieve(Z)
4574
+ _(b(Ue), {
4575
+ "auth-function": () => e.canRetrieve(W)
4563
4576
  }, {
4564
4577
  default: v(() => [
4565
- I(Ne, {
4578
+ _(Fe, {
4566
4579
  "data-testid": "action-entity-view",
4567
4580
  "has-divider": "",
4568
- item: F(Z.id)
4581
+ item: K(W.id)
4569
4582
  }, null, 8, ["item"])
4570
4583
  ]),
4571
4584
  _: 2
4572
4585
  }, 1032, ["auth-function"]),
4573
- I(k(Ue), {
4574
- "auth-function": () => e.canEdit(Z)
4586
+ _(b(Ue), {
4587
+ "auth-function": () => e.canEdit(W)
4575
4588
  }, {
4576
4589
  default: v(() => [
4577
- I(Ne, {
4590
+ _(Fe, {
4578
4591
  "data-testid": "action-entity-edit",
4579
- item: A(Z.id)
4592
+ item: I(W.id)
4580
4593
  }, null, 8, ["item"])
4581
4594
  ]),
4582
4595
  _: 2
4583
4596
  }, 1032, ["auth-function"]),
4584
- I(k(Ue), {
4585
- "auth-function": () => e.canDelete(Z)
4597
+ _(b(Ue), {
4598
+ "auth-function": () => e.canDelete(W)
4586
4599
  }, {
4587
4600
  default: v(() => [
4588
- I(Ne, {
4601
+ _(Fe, {
4589
4602
  danger: "",
4590
4603
  "data-testid": "action-entity-delete",
4591
4604
  "has-divider": "",
4592
- onClick: (Se) => oe(Z)
4605
+ onClick: (Se) => oe(W)
4593
4606
  }, {
4594
4607
  default: v(() => [
4595
- P(K(k(a)("keySets.actions.delete")), 1)
4608
+ P(q(b(i)("keySets.actions.delete")), 1)
4596
4609
  ]),
4597
4610
  _: 2
4598
4611
  }, 1032, ["onClick"])
@@ -4602,13 +4615,13 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4602
4615
  ]),
4603
4616
  _: 1
4604
4617
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4605
- I(k(Ml), {
4618
+ _(b(Nl), {
4606
4619
  "action-pending": T.value,
4607
- description: k(a)("keySets.delete.description"),
4620
+ description: b(i)("keySets.delete.description"),
4608
4621
  "entity-name": U.value && (U.value.name || U.value.id),
4609
- "entity-type": k(nn).KeySet,
4622
+ "entity-type": b(nn).KeySet,
4610
4623
  error: D.value,
4611
- title: k(a)("keySets.delete.title"),
4624
+ title: b(i)("keySets.delete.title"),
4612
4625
  visible: $.value,
4613
4626
  onCancel: le,
4614
4627
  onProceed: de
@@ -4618,8 +4631,8 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4618
4631
  }
4619
4632
  }), ea = (e, t) => {
4620
4633
  const n = e.__vccOpts || e;
4621
- for (const [r, a] of t)
4622
- n[r] = a;
4634
+ for (const [a, i] of t)
4635
+ n[a] = i;
4623
4636
  return n;
4624
4637
  }, js = /* @__PURE__ */ ea(ps, [["__scopeId", "data-v-38687d02"]]), fs = { class: "kong-ui-entities-key-sets-form" }, gs = /* @__PURE__ */ Y({
4625
4638
  __name: "KeySetForm",
@@ -4639,8 +4652,8 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4639
4652
  },
4640
4653
  emits: ["update", "error", "loading"],
4641
4654
  setup(e, { emit: t }) {
4642
- var _;
4643
- const n = t, r = e, a = mt(), { i18n: { t: o } } = ht.useI18n(), { getMessageFromError: i } = ss(), { axiosInstance: l } = Xn((_ = r.config) == null ? void 0 : _.axiosRequestConfig), s = x(() => De.form[r.config.app].edit), c = x(() => r.keySetId ? st.Edit : st.Create), d = Tt({
4655
+ var w;
4656
+ const n = t, a = e, i = mt(), { i18n: { t: o } } = ht.useI18n(), { getMessageFromError: r } = ss(), { axiosInstance: l } = Xn((w = a.config) == null ? void 0 : w.axiosRequestConfig), s = A(() => De.form[a.config.app].edit), c = A(() => a.keySetId ? st.Edit : st.Create), d = Tt({
4644
4657
  fields: {
4645
4658
  name: "",
4646
4659
  tags: ""
@@ -4650,81 +4663,81 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4650
4663
  }), u = Tt({
4651
4664
  name: "",
4652
4665
  tags: ""
4653
- }), h = x(() => JSON.stringify(d.fields) !== JSON.stringify(u) && !!d.fields.name), y = (E) => {
4666
+ }), h = A(() => JSON.stringify(d.fields) !== JSON.stringify(u) && !!d.fields.name), y = (O) => {
4654
4667
  var g;
4655
- d.fields.name = (E == null ? void 0 : E.name) || "", d.fields.tags = ((g = E == null ? void 0 : E.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields);
4668
+ d.fields.name = (O == null ? void 0 : O.name) || "", d.fields.tags = ((g = O == null ? void 0 : O.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields);
4656
4669
  }, C = () => {
4657
- a.push(r.config.cancelRoute);
4658
- }, b = x(() => {
4670
+ i.push(a.config.cancelRoute);
4671
+ }, S = A(() => {
4659
4672
  var g, f;
4660
- let E = `${r.config.apiBaseUrl}${De.form[r.config.app][c.value]}`;
4661
- return r.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (f = r.config) != null && f.workspace ? `/${r.config.workspace}` : "")), E = E.replace(/{id}/gi, r.keySetId), E;
4662
- }), w = x(() => {
4663
- var E, g, f;
4673
+ let O = `${a.config.apiBaseUrl}${De.form[a.config.app][c.value]}`;
4674
+ return a.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (f = a.config) != null && f.workspace ? `/${a.config.workspace}` : "")), O = O.replace(/{id}/gi, a.keySetId), O;
4675
+ }), k = A(() => {
4676
+ var O, g, f;
4664
4677
  return {
4665
4678
  name: d.fields.name,
4666
- tags: ((f = (g = (E = d.fields.tags) == null ? void 0 : E.split(",")) == null ? void 0 : g.map((p) => String(p || "").trim())) == null ? void 0 : f.filter((p) => p !== "")) || ""
4679
+ tags: ((f = (g = (O = d.fields.tags) == null ? void 0 : O.split(",")) == null ? void 0 : g.map((p) => String(p || "").trim())) == null ? void 0 : f.filter((p) => p !== "")) || ""
4667
4680
  };
4668
- }), L = async () => {
4669
- var E, g;
4681
+ }), F = async () => {
4682
+ var O, g;
4670
4683
  try {
4671
4684
  d.isReadonly = !0;
4672
4685
  let f;
4673
- if (c.value === "create" ? f = await l.post(b.value, w.value) : c.value === "edit" && (f = ((E = r.config) == null ? void 0 : E.app) === "konnect" ? await l.put(b.value, w.value) : await l.patch(b.value, w.value)), f) {
4686
+ if (c.value === "create" ? f = await l.post(S.value, k.value) : c.value === "edit" && (f = ((O = a.config) == null ? void 0 : O.app) === "konnect" ? await l.put(S.value, k.value) : await l.patch(S.value, k.value)), f) {
4674
4687
  const { data: p } = f;
4675
4688
  d.fields.name = (p == null ? void 0 : p.name) || "", d.fields.tags = ((g = p == null ? void 0 : p.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields), n("update", f == null ? void 0 : f.data);
4676
4689
  }
4677
4690
  } catch (f) {
4678
- d.errorMessage = i(f), n("error", f);
4691
+ d.errorMessage = r(f), n("error", f);
4679
4692
  } finally {
4680
4693
  d.isReadonly = !1;
4681
4694
  }
4682
4695
  };
4683
- return (E, g) => {
4684
- const f = q("KInput");
4696
+ return (O, g) => {
4697
+ const f = L("KInput");
4685
4698
  return m(), j("div", fs, [
4686
- I(k(kl), {
4699
+ _(b(kl), {
4687
4700
  "can-submit": h.value,
4688
4701
  config: e.config,
4689
4702
  "edit-id": e.keySetId,
4690
4703
  "error-message": d.errorMessage,
4691
4704
  "fetch-url": s.value,
4692
- "form-fields": w.value,
4705
+ "form-fields": k.value,
4693
4706
  "is-readonly": d.isReadonly,
4694
4707
  onCancel: C,
4695
- "onFetch:error": g[2] || (g[2] = (p) => E.$emit("error", p)),
4708
+ "onFetch:error": g[2] || (g[2] = (p) => O.$emit("error", p)),
4696
4709
  "onFetch:success": y,
4697
- onLoading: g[3] || (g[3] = (p) => E.$emit("loading", p)),
4698
- onSubmit: L
4710
+ onLoading: g[3] || (g[3] = (p) => O.$emit("loading", p)),
4711
+ onSubmit: F
4699
4712
  }, {
4700
4713
  default: v(() => [
4701
- I(k(os), {
4702
- description: k(o)("keySets.form.sections.general.description"),
4714
+ _(b(os), {
4715
+ description: b(o)("keySets.form.sections.general.description"),
4703
4716
  "has-divider": "",
4704
- title: k(o)("keySets.form.sections.general.title")
4717
+ title: b(o)("keySets.form.sections.general.title")
4705
4718
  }, {
4706
4719
  default: v(() => [
4707
- I(f, {
4720
+ _(f, {
4708
4721
  modelValue: d.fields.name,
4709
4722
  "onUpdate:modelValue": g[0] || (g[0] = (p) => d.fields.name = p),
4710
4723
  modelModifiers: { trim: !0 },
4711
4724
  autocomplete: "off",
4712
4725
  "data-testid": "key-set-form-name",
4713
- label: k(o)("keySets.form.fields.name.label"),
4714
- placeholder: k(o)("keySets.form.fields.name.placeholder"),
4726
+ label: b(o)("keySets.form.fields.name.label"),
4727
+ placeholder: b(o)("keySets.form.fields.name.placeholder"),
4715
4728
  readonly: d.isReadonly,
4716
4729
  type: "text"
4717
4730
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
4718
- I(f, {
4731
+ _(f, {
4719
4732
  modelValue: d.fields.tags,
4720
4733
  "onUpdate:modelValue": g[1] || (g[1] = (p) => d.fields.tags = p),
4721
4734
  modelModifiers: { trim: !0 },
4722
4735
  autocomplete: "off",
4723
4736
  "data-testid": "key-set-form-tags",
4724
- help: k(o)("keySets.form.fields.tags.help"),
4725
- label: k(o)("keySets.form.fields.tags.label"),
4726
- "label-attributes": { info: k(o)("keySets.form.fields.tags.tooltip") },
4727
- placeholder: k(o)("keySets.form.fields.tags.placeholder"),
4737
+ help: b(o)("keySets.form.fields.tags.help"),
4738
+ label: b(o)("keySets.form.fields.tags.label"),
4739
+ "label-attributes": { info: b(o)("keySets.form.fields.tags.tooltip") },
4740
+ placeholder: b(o)("keySets.form.fields.tags.placeholder"),
4728
4741
  readonly: d.isReadonly,
4729
4742
  type: "text"
4730
4743
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -4764,7 +4777,7 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4764
4777
  },
4765
4778
  emits: ["loading", "fetch:error", "fetch:success"],
4766
4779
  setup(e) {
4767
- const t = e, { i18n: { t: n } } = ht.useI18n(), r = x(() => De.form[t.config.app].edit), a = N({
4780
+ const t = e, { i18n: { t: n } } = ht.useI18n(), a = A(() => De.form[t.config.app].edit), i = E({
4768
4781
  id: {},
4769
4782
  name: {},
4770
4783
  last_updated: {},
@@ -4773,16 +4786,16 @@ const es = ["aria-labelledby"], ts = { class: "form-section-wrapper" }, ns = {
4773
4786
  tooltip: n("keySets.form.fields.tags.tooltip")
4774
4787
  }
4775
4788
  });
4776
- return (o, i) => (m(), j("div", ys, [
4777
- I(k(ml), {
4789
+ return (o, r) => (m(), j("div", ys, [
4790
+ _(b(ml), {
4778
4791
  config: e.config,
4779
4792
  "config-card-doc": e.configCardDoc,
4780
- "config-schema": a.value,
4781
- "fetch-url": r.value,
4793
+ "config-schema": i.value,
4794
+ "fetch-url": a.value,
4782
4795
  "hide-title": e.hideTitle,
4783
- "onFetch:error": i[0] || (i[0] = (l) => o.$emit("fetch:error", l)),
4784
- "onFetch:success": i[1] || (i[1] = (l) => o.$emit("fetch:success", l)),
4785
- onLoading: i[2] || (i[2] = (l) => o.$emit("loading", l))
4796
+ "onFetch:error": r[0] || (r[0] = (l) => o.$emit("fetch:error", l)),
4797
+ "onFetch:success": r[1] || (r[1] = (l) => o.$emit("fetch:success", l)),
4798
+ onLoading: r[2] || (r[2] = (l) => o.$emit("loading", l))
4786
4799
  }, null, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])
4787
4800
  ]));
4788
4801
  }