@kong-ui-public/entities-consumers 2.0.9 → 2.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,9 +1,9 @@
1
- import { defineComponent as te, ref as F, computed as $, watch as ye, renderSlot as Y, createCommentVNode as G, unref as g, useSlots as Ze, onBeforeMount as mt, resolveComponent as P, openBlock as m, createBlock as D, createSlots as be, withCtx as y, createElementVNode as K, createTextVNode as W, toDisplayString as M, createVNode as O, createElementBlock as T, renderList as de, Fragment as fe, normalizeClass as Ae, withModifiers as Ge, withDirectives as Ue, vShow as De, useCssVars as fa, resolveDynamicComponent as Fe, normalizeProps as ma, guardReactiveProps as ga, mergeProps as st, onMounted as ya, onUnmounted as ha, normalizeStyle as ln, inject as va, pushScopeId as un, popScopeId as cn, reactive as Kt } from "vue";
1
+ import { defineComponent as te, ref as F, computed as $, watch as ye, renderSlot as Y, createCommentVNode as G, unref as g, useSlots as Ze, onBeforeMount as mt, resolveComponent as P, openBlock as m, createBlock as D, createSlots as be, withCtx as y, createElementVNode as K, createTextVNode as W, toDisplayString as M, createVNode as O, createElementBlock as T, renderList as de, Fragment as fe, normalizeClass as Ae, withModifiers as Ge, withDirectives as Ue, vShow as De, useCssVars as fr, resolveDynamicComponent as Fe, normalizeProps as mr, guardReactiveProps as gr, mergeProps as st, onMounted as yr, onUnmounted as hr, normalizeStyle as ln, inject as vr, pushScopeId as un, popScopeId as cn, reactive as Kt } from "vue";
2
2
  import { useRouter as gt } from "vue-router";
3
3
  import { createI18n as yt, i18nTComponent as dn } from "@kong-ui-public/i18n";
4
- import ba from "axios";
5
- import { MethodsArray as Ca } from "@kong/kongponents";
6
- const ka = {
4
+ import br from "axios";
5
+ import { MethodsArray as Cr } from "@kong/kongponents";
6
+ const kr = {
7
7
  list: {
8
8
  table_headers: {
9
9
  username: "Username",
@@ -95,11 +95,11 @@ const ka = {
95
95
  tooltip: "An optional set of strings associated with the Consumer for grouping and filtering."
96
96
  }
97
97
  }
98
- }, wa = {
99
- consumers: ka
98
+ }, wr = {
99
+ consumers: kr
100
100
  };
101
- function _a() {
102
- const e = yt("en-us", wa);
101
+ function _r() {
102
+ const e = yt("en-us", wr);
103
103
  return {
104
104
  i18n: e,
105
105
  i18nT: dn(e)
@@ -107,7 +107,7 @@ function _a() {
107
107
  };
108
108
  }
109
109
  const Qe = {
110
- useI18n: _a
110
+ useI18n: _r
111
111
  }, Te = "/api/runtime_groups/{controlPlaneId}", $e = "/{workspace}", Se = {
112
112
  list: {
113
113
  konnect: {
@@ -137,72 +137,72 @@ const Qe = {
137
137
  var pn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(pn || {}), lt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(lt || {}), _e = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(_e || {}), X = /* @__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))(X || {}), ce = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ce || {});
138
138
  function ht(e = {}) {
139
139
  return {
140
- axiosInstance: ba.create({
140
+ axiosInstance: br.create({
141
141
  withCredentials: !0,
142
142
  timeout: 3e4,
143
143
  ...e
144
144
  })
145
145
  };
146
146
  }
147
- function Ia() {
147
+ function Ir() {
148
148
  return {
149
149
  debounce: (e, n) => {
150
150
  let t;
151
- return (...a) => {
151
+ return (...r) => {
152
152
  clearTimeout(t), t = window == null ? void 0 : window.setTimeout(() => {
153
- e(...a);
153
+ e(...r);
154
154
  }, n);
155
155
  };
156
156
  }
157
157
  };
158
158
  }
159
- const at = "khcp-user-table-preferences", Aa = {
159
+ const rt = "khcp-user-table-preferences", Ar = {
160
160
  pageSize: 30,
161
161
  sortColumnKey: void 0,
162
162
  sortColumnOrder: void 0
163
163
  };
164
- function Sa() {
164
+ function Sr() {
165
165
  const e = (t) => {
166
166
  if (typeof t == "string")
167
167
  try {
168
168
  return JSON.parse(t);
169
- } catch (a) {
170
- console.error("useTablePreferences(tryParseJson)", a);
169
+ } catch (r) {
170
+ console.error("useTablePreferences(tryParseJson)", r);
171
171
  return;
172
172
  }
173
173
  }, n = () => {
174
- const t = e(localStorage.getItem(at));
174
+ const t = e(localStorage.getItem(rt));
175
175
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
176
176
  };
177
177
  return {
178
- setTablePreferences: (t, a) => {
178
+ setTablePreferences: (t, r) => {
179
179
  try {
180
- const r = n();
181
- r.set(t, a), localStorage.setItem(at, JSON.stringify(Object.fromEntries(r.entries())));
182
- } catch (r) {
183
- console.error("useTablePreferences(setTablePreferences)", r);
180
+ const a = n();
181
+ a.set(t, r), localStorage.setItem(rt, JSON.stringify(Object.fromEntries(a.entries())));
182
+ } catch (a) {
183
+ console.error("useTablePreferences(setTablePreferences)", a);
184
184
  }
185
185
  },
186
186
  getTablePreferences: (t) => {
187
- const a = n();
188
- return (a == null ? void 0 : a.get(t)) || void 0 || Aa;
187
+ const r = n();
188
+ return (r == null ? void 0 : r.get(t)) || void 0 || Ar;
189
189
  },
190
190
  deleteAllTablePreferences: () => {
191
- localStorage.removeItem(at);
191
+ localStorage.removeItem(rt);
192
192
  }
193
193
  };
194
194
  }
195
- const xa = {
195
+ const xr = {
196
196
  actions: {
197
197
  copyId: "Copy ID",
198
198
  copied_id: 'Copied "{id}" to the clipboard',
199
199
  copyToClipboard: "Copied successfully!",
200
200
  copyToClipboardFailed: "Failed to copy to the clipboard"
201
201
  }
202
- }, Ta = {
202
+ }, Tr = {
203
203
  message: "Are you sure you want to delete this {entityType}?",
204
204
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
205
- }, $a = {
205
+ }, $r = {
206
206
  actions: {
207
207
  save: "Save",
208
208
  cancel: "Cancel",
@@ -211,13 +211,13 @@ const xa = {
211
211
  errors: {
212
212
  edit: "The entity could not be edited at this time."
213
213
  }
214
- }, Ma = {
214
+ }, Mr = {
215
215
  emptyState: {
216
216
  noSearchResultsTitle: "No results found",
217
217
  noSearchResultsMessage: "Please adjust the criteria and try again.",
218
218
  noSearchResultsCtaText: "Clear"
219
219
  }
220
- }, ja = {
220
+ }, jr = {
221
221
  title: "Configuration",
222
222
  actions: {
223
223
  copy: "Copy JSON"
@@ -252,7 +252,7 @@ const xa = {
252
252
  entryTitle: "Entry {index}",
253
253
  structuredFormat: "Structured"
254
254
  }
255
- }, Ea = {
255
+ }, Er = {
256
256
  filterButtonText: "Filter",
257
257
  fieldLabel: "Filter by:",
258
258
  inputPlaceholder: "Enter a value",
@@ -260,15 +260,15 @@ const xa = {
260
260
  applyButtonText: "Apply",
261
261
  clearButtonText: "Clear",
262
262
  clearAllButtonText: "Clear all filters"
263
- }, Oa = {
263
+ }, Or = {
264
264
  errors: {
265
265
  fetch: "Could not fetch available items",
266
266
  invalid: "Please select a valid value"
267
267
  }
268
- }, Fa = {
268
+ }, Fr = {
269
269
  unexpected: "An unexpected error has occurred",
270
270
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
271
- }, Ka = {
271
+ }, Kr = {
272
272
  enable: {
273
273
  title: "Enable {entityType}",
274
274
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -279,19 +279,19 @@ const xa = {
279
279
  message: "Are you sure you want to disable the {entityType} {entityName}?",
280
280
  confirmText: "Yes, disable"
281
281
  }
282
- }, Na = {
283
- global: xa,
284
- deleteModal: Ta,
285
- baseForm: $a,
286
- baseTable: Ma,
287
- baseConfigCard: ja,
288
- filter: Ea,
289
- debouncedFilter: Oa,
290
- errors: Fa,
291
- toggleModal: Ka
282
+ }, Nr = {
283
+ global: xr,
284
+ deleteModal: Tr,
285
+ baseForm: $r,
286
+ baseTable: Mr,
287
+ baseConfigCard: jr,
288
+ filter: Er,
289
+ debouncedFilter: Or,
290
+ errors: Fr,
291
+ toggleModal: Kr
292
292
  };
293
293
  function vt() {
294
- const e = yt("en-us", Na);
294
+ const e = yt("en-us", Nr);
295
295
  return {
296
296
  i18n: e,
297
297
  i18nT: dn(e)
@@ -299,12 +299,12 @@ function vt() {
299
299
  };
300
300
  }
301
301
  function fn() {
302
- const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, n = (t, a) => {
303
- if (t.length !== a.length)
302
+ const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
303
+ if (t.length !== r.length)
304
304
  return !1;
305
- const r = /* @__PURE__ */ new Set([...t, ...a]);
306
- for (const o of r) {
307
- const i = t.filter((l) => l === o).length, s = a.filter((l) => l === o).length;
305
+ const a = /* @__PURE__ */ new Set([...t, ...r]);
306
+ for (const o of a) {
307
+ const i = t.filter((l) => l === o).length, s = r.filter((l) => l === o).length;
308
308
  if (i !== s)
309
309
  return !1;
310
310
  }
@@ -312,16 +312,16 @@ function fn() {
312
312
  };
313
313
  return {
314
314
  getPropValue: e,
315
- objectsAreEqual: (t, a, r) => {
316
- if (r) {
317
- if (Object.keys(t).length === Object.keys(a).length)
315
+ objectsAreEqual: (t, r, a) => {
316
+ if (a) {
317
+ if (Object.keys(t).length === Object.keys(r).length)
318
318
  for (const o in t)
319
- if (Array.isArray(t[o]) && Array.isArray(a[o])) {
320
- if (n(t[o], a[o]))
319
+ if (Array.isArray(t[o]) && Array.isArray(r[o])) {
320
+ if (n(t[o], r[o]))
321
321
  continue;
322
322
  return !1;
323
323
  } else {
324
- if (t[o] === a[o])
324
+ if (t[o] === r[o])
325
325
  continue;
326
326
  return !1;
327
327
  }
@@ -330,26 +330,26 @@ function fn() {
330
330
  return !0;
331
331
  }
332
332
  try {
333
- return JSON.stringify(t) === JSON.stringify(a);
333
+ return JSON.stringify(t) === JSON.stringify(r);
334
334
  } catch {
335
335
  return !1;
336
336
  }
337
337
  },
338
- sortAlpha: (t) => (a, r) => {
339
- let o = a[t] === void 0 || a[t] === null ? "" : a[t], i = r[t] === void 0 || r[t] === null ? "" : r[t];
340
- return Array.isArray(a[t]) && (o = a[t][0]), Array.isArray(r[t]) && (i = r[t][0]), o.localeCompare(i);
338
+ sortAlpha: (t) => (r, a) => {
339
+ let o = r[t] === void 0 || r[t] === null ? "" : r[t], i = a[t] === void 0 || a[t] === null ? "" : a[t];
340
+ return Array.isArray(r[t]) && (o = r[t][0]), Array.isArray(a[t]) && (i = a[t][0]), o.localeCompare(i);
341
341
  },
342
342
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
343
343
  };
344
344
  }
345
- function Ba(e, n, t, a = {
345
+ function Br(e, n, t, r = {
346
346
  fetchedItemsKey: "data",
347
347
  searchKeys: ["id"]
348
348
  }) {
349
349
  t || (t = "100");
350
- const { axiosInstance: r } = ht({
350
+ const { axiosInstance: a } = ht({
351
351
  headers: e.requestHeaders
352
- }), { i18n: { t: o } } = vt(), { debounce: i } = Ia(), s = i(async (v) => {
352
+ }), { i18n: { t: o } } = vt(), { debounce: i } = Ir(), s = i(async (v) => {
353
353
  await q(v);
354
354
  }, 200), l = F(!1), c = F(""), d = F(""), u = F([]), h = F([]), f = F(void 0), A = g(n);
355
355
  let C = `${e.apiBaseUrl}${A}`;
@@ -357,8 +357,8 @@ function Ba(e, n, t, a = {
357
357
  const { isValidUuid: p } = fn(), S = async () => {
358
358
  try {
359
359
  l.value = !0;
360
- const { data: v } = await r.get(`${C}?size=${t}`);
361
- v != null && v.next || (f.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : []), h.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : [], u.value = h.value;
360
+ const { data: v } = await a.get(`${C}?size=${t}`);
361
+ v != null && v.next || (f.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : []), h.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : [], u.value = h.value;
362
362
  } catch {
363
363
  u.value = [], c.value = o("debouncedFilter.errors.fetch");
364
364
  } finally {
@@ -372,17 +372,17 @@ function Ba(e, n, t, a = {
372
372
  if (l.value = !0, c.value = "", d.value = "", e.app === "konnect") {
373
373
  let b = C + "";
374
374
  v && (b += `/${v}`);
375
- const { data: k } = await r.get(`${b}?size=${t}`);
376
- a.fetchedItemsKey in k ? u.value = k[a.fetchedItemsKey] : k != null && k.id ? u.value = [k] : u.value = [];
375
+ const { data: k } = await a.get(`${b}?size=${t}`);
376
+ r.fetchedItemsKey in k ? u.value = k[r.fetchedItemsKey] : k != null && k.id ? u.value = [k] : u.value = [];
377
377
  } else if (v) {
378
378
  const b = [];
379
- p(v) && a.searchKeys.includes("id") ? b.push((async () => {
380
- const { data: B } = await r.get(`${C}/${v}`);
381
- return [B[a.fetchedItemsKey] ?? B];
379
+ p(v) && r.searchKeys.includes("id") ? b.push((async () => {
380
+ const { data: B } = await a.get(`${C}/${v}`);
381
+ return [B[r.fetchedItemsKey] ?? B];
382
382
  })()) : b.push(
383
- ...a.searchKeys.filter((B) => B !== "id").map(async (B) => {
384
- const { data: I } = await r.get(`${C}?${B}=${v}`);
385
- return I[a.fetchedItemsKey];
383
+ ...r.searchKeys.filter((B) => B !== "id").map(async (B) => {
384
+ const { data: I } = await a.get(`${C}?${B}=${v}`);
385
+ return I[r.fetchedItemsKey];
386
386
  })
387
387
  );
388
388
  const k = await Promise.all(b), V = /* @__PURE__ */ new Set();
@@ -403,7 +403,7 @@ function Ba(e, n, t, a = {
403
403
  l.value = !0, d.value = "", v ? (u.value = (R = f.value) == null ? void 0 : R.filter((b) => {
404
404
  var k;
405
405
  let V = !1;
406
- for (const B of a.searchKeys) {
406
+ for (const B of r.searchKeys) {
407
407
  const I = typeof b[B] == "string" ? (k = b[B]) == null ? void 0 : k.toLowerCase() : b[B];
408
408
  I != null && I.includes(v.toLowerCase()) && (V = !0);
409
409
  }
@@ -420,30 +420,30 @@ function Ba(e, n, t, a = {
420
420
  debouncedQueryChange: s
421
421
  };
422
422
  }
423
- function qa(e, n) {
424
- const t = g(n), a = $(
423
+ function qr(e, n) {
424
+ const t = g(n), r = $(
425
425
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
426
426
  );
427
- return a.value.search = "", (r) => `${a.value.href}/${r}`;
427
+ return r.value.search = "", (a) => `${r.value.href}/${a}`;
428
428
  }
429
- function La() {
429
+ function Lr() {
430
430
  const { i18n: { t: e } } = vt();
431
431
  return {
432
432
  getMessageFromError: (n) => {
433
- var t, a, r;
433
+ var t, r, a;
434
434
  if (!n)
435
435
  return e("errors.unexpected");
436
436
  if ((t = n == null ? void 0 : n.response) != null && t.data) {
437
437
  if (n.response.data.detail)
438
438
  return n.response.data.detail;
439
- if ((a = n.response.data.details) != null && a.length)
439
+ if ((r = n.response.data.details) != null && r.length)
440
440
  return n.response.data.details.map((o) => {
441
441
  let i = e("errors.unexpected");
442
442
  return o.messages && typeof o.messages == "object" && o.messages.length && (i = o.messages.join(", ")), o.field ? `${o.field} - ${i}` : i;
443
443
  }).join("; ");
444
444
  if (n.response.data.message) {
445
445
  const { message: o } = n.response.data;
446
- return Array.isArray(o) ? (r = o[0]) != null && r.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
446
+ return Array.isArray(o) ? (a = o[0]) != null && a.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
447
447
  }
448
448
  if (typeof n.response.data == "string")
449
449
  return n.response.data;
@@ -454,45 +454,45 @@ function La() {
454
454
  }
455
455
  };
456
456
  }
457
- function Pa(e) {
457
+ function Pr(e) {
458
458
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
459
459
  try {
460
- const a = e.join("/"), r = `${t}${a}`, o = e.some((i) => i.trim() === "");
461
- if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(r) && !o && new URL(r))
462
- return `${t}${a}`;
460
+ const r = e.join("/"), a = `${t}${r}`, o = e.some((i) => i.trim() === "");
461
+ 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))
462
+ return `${t}${r}`;
463
463
  throw new Error("Invalid url");
464
- } catch (a) {
465
- return console.warn("Failed to build valid URL:", a), "";
464
+ } catch (r) {
465
+ return console.warn("Failed to build valid URL:", r), "";
466
466
  }
467
467
  }
468
468
  function mn(e, n) {
469
- const t = F(g(e)), a = F(g(n)), r = $(
469
+ const t = F(g(e)), r = F(g(n)), a = $(
470
470
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
471
471
  ), o = $(
472
- () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
472
+ () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
473
473
  );
474
474
  return (i) => {
475
475
  const { page: s, pageSize: l, offset: c, sortColumnKey: d, sortColumnOrder: u, query: h } = i;
476
476
  try {
477
477
  let f = new URL(o.value.href);
478
- return r.value && h ? (f.search = "", f = new URL(`${f.href}/${h}/`)) : (r.value || new URLSearchParams(h).forEach((A, C) => {
478
+ return a.value && h ? (f.search = "", f = new URL(`${f.href}/${h}/`)) : (a.value || new URLSearchParams(h).forEach((A, C) => {
479
479
  f.searchParams.append(C, A);
480
480
  }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), c && s !== 1 && f.searchParams.append("offset", String(c)), f.href;
481
481
  } catch (f) {
482
- return console.error("RouteList(fetcher)", f), a.value;
482
+ return console.error("RouteList(fetcher)", f), r.value;
483
483
  }
484
484
  };
485
485
  }
486
- function Va(e, n, t = "data") {
487
- const a = g(n), { axiosInstance: r } = ht({
486
+ function Vr(e, n, t = "data") {
487
+ const r = g(n), { axiosInstance: a } = ht({
488
488
  headers: e.requestHeaders
489
- }), o = mn(e, a), i = F({
489
+ }), o = mn(e, r), i = F({
490
490
  status: _e.Idle
491
491
  });
492
492
  return { fetcher: async (s) => {
493
493
  try {
494
494
  i.value = { status: _e.Loading };
495
- const l = o(s), { data: c } = await r.get(l), d = t && t.replace(/[^\w-_]/gi, "");
495
+ const l = o(s), { data: c } = await a.get(l), d = t && t.replace(/[^\w-_]/gi, "");
496
496
  let u;
497
497
  c[d] && Array.isArray(c[d]) ? u = c[d] : u = Object.keys(c).length ? [c] : [];
498
498
  const h = {
@@ -525,10 +525,10 @@ function Va(e, n, t = "data") {
525
525
  }
526
526
  }, fetcherState: i };
527
527
  }
528
- function Ra() {
529
- const e = (t, a = "_") => t ? t.split(a).map((r) => r.toLowerCase() === "id" ? r.toUpperCase() : r.charAt(0).toUpperCase() + r.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
528
+ function Rr() {
529
+ const e = (t, r = "_") => t ? t.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
530
530
  return {
531
- capitalize: (t) => t ? t.replace(n, (a) => a.toUpperCase()) : "",
531
+ capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
532
532
  convertKeyToTitle: e
533
533
  };
534
534
  }
@@ -542,25 +542,25 @@ const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
542
542
  }, Bt = (e) => e === "*" || e === "x" || e === "X", qt = (e) => {
543
543
  const n = parseInt(e, 10);
544
544
  return isNaN(n) ? e : n;
545
- }, Ua = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Da = (e, n) => {
545
+ }, Ur = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Dr = (e, n) => {
546
546
  if (Bt(e) || Bt(n))
547
547
  return 0;
548
- const [t, a] = Ua(qt(e), qt(n));
549
- return t > a ? 1 : t < a ? -1 : 0;
548
+ const [t, r] = Ur(qt(e), qt(n));
549
+ return t > r ? 1 : t < r ? -1 : 0;
550
550
  }, Lt = (e, n) => {
551
551
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
552
- const a = Da(e[t] || "0", n[t] || "0");
553
- if (a !== 0)
554
- return a;
552
+ const r = Dr(e[t] || "0", n[t] || "0");
553
+ if (r !== 0)
554
+ return r;
555
555
  }
556
556
  return 0;
557
- }, Ga = (e, n) => {
558
- const t = Nt(e), a = Nt(n), r = t.pop(), o = a.pop(), i = Lt(t, a);
559
- return i !== 0 ? i : r && o ? Lt(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
557
+ }, Gr = (e, n) => {
558
+ const t = Nt(e), r = Nt(n), a = t.pop(), o = r.pop(), i = Lt(t, r);
559
+ return i !== 0 ? i : a && o ? Lt(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
560
560
  }, Pt = (e, n, t) => {
561
- Ha(t);
562
- const a = Ga(e, n);
563
- return yn[t].includes(a);
561
+ Hr(t);
562
+ const r = Gr(e, n);
563
+ return yn[t].includes(r);
564
564
  }, yn = {
565
565
  ">": [1],
566
566
  ">=": [0, 1],
@@ -568,67 +568,67 @@ const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
568
568
  "<=": [-1, 0],
569
569
  "<": [-1],
570
570
  "!=": [-1, 1]
571
- }, Vt = Object.keys(yn), Ha = (e) => {
571
+ }, Vt = Object.keys(yn), Hr = (e) => {
572
572
  if (typeof e != "string")
573
573
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
574
574
  if (Vt.indexOf(e) === -1)
575
575
  throw new Error(`Invalid operator, expected one of ${Vt.join("|")}`);
576
- }, za = (e) => typeof e == "string" && /^[v\d]/.test(e) && gn.test(e);
577
- function Ja(e) {
576
+ }, zr = (e) => typeof e == "string" && /^[v\d]/.test(e) && gn.test(e);
577
+ function Jr(e) {
578
578
  const { gatewayInfo: n, supportedRange: t } = e;
579
579
  if (!n)
580
580
  return !0;
581
- const { edition: a, version: r } = n;
582
- if (!za(r))
581
+ const { edition: r, version: a } = n;
582
+ if (!zr(a))
583
583
  return console.error("Invalid version"), !1;
584
- const o = t[a];
584
+ const o = t[r];
585
585
  if (!o)
586
586
  return !1;
587
587
  const [i, s] = o;
588
- return !(i && Pt(r, i, "<") || s && Pt(r, s, ">"));
588
+ return !(i && Pt(a, i, "<") || s && Pt(a, s, ">"));
589
589
  }
590
- function Ya(e) {
591
- const n = F(0), t = F(0), a = F(!1);
592
- return ye(e, (r) => {
593
- r && !a.value && (n.value = r.offsetWidth, t.value = r.scrollWidth, a.value = !0);
590
+ function Yr(e) {
591
+ const n = F(0), t = F(0), r = F(!1);
592
+ return ye(e, (a) => {
593
+ a && !r.value && (n.value = a.offsetWidth, t.value = a.scrollWidth, r.value = !0);
594
594
  }), {
595
595
  isTruncated: $(() => n.value < t.value)
596
596
  };
597
597
  }
598
- const re = {
598
+ const ae = {
599
599
  useAxios: ht,
600
- useDebouncedFilter: Ba,
601
- useDeleteUrlBuilder: qa,
602
- useErrors: La,
603
- useExternalLinkCreator: Pa,
604
- useFetcher: Va,
600
+ useDebouncedFilter: Br,
601
+ useDeleteUrlBuilder: qr,
602
+ useErrors: Lr,
603
+ useExternalLinkCreator: Pr,
604
+ useFetcher: Vr,
605
605
  useFetchUrlBuilder: mn,
606
606
  useHelpers: fn,
607
- useStringHelpers: Ra,
607
+ useStringHelpers: Rr,
608
608
  useI18n: vt,
609
- useGatewayFeatureSupported: Ja,
610
- useTruncationDetector: Ya
611
- }, Wa = {
609
+ useGatewayFeatureSupported: Jr,
610
+ useTruncationDetector: Yr
611
+ }, Wr = {
612
612
  fail: "Failed to copy id to clipboard",
613
613
  success: {
614
614
  prefix: "Successfully",
615
615
  content: " copied to clipboard"
616
616
  }
617
- }, Za = "Copy to clipboard", Qa = {
618
- message: Wa,
619
- iconTitle: Za
620
- }, Xa = "kong-ui-copy-uuid-notify", Rt = "24px", er = (e, n) => {
617
+ }, Zr = "Copy to clipboard", Qr = {
618
+ message: Wr,
619
+ iconTitle: Zr
620
+ }, Xr = "kong-ui-copy-uuid-notify", Rt = "24px", ea = (e, n) => {
621
621
  const t = e.__vccOpts || e;
622
- for (const [a, r] of n)
623
- t[a] = r;
622
+ for (const [r, a] of n)
623
+ t[r] = a;
624
624
  return t;
625
- }, tr = (e) => (un("data-v-9971cc79"), e = e(), cn(), e), nr = ["aria-hidden"], ar = {
625
+ }, ta = (e) => (un("data-v-9971cc79"), e = e(), cn(), e), na = ["aria-hidden"], ra = {
626
626
  key: 0,
627
627
  "data-testid": "kui-icon-svg-title"
628
- }, rr = /* @__PURE__ */ tr(() => /* @__PURE__ */ K("path", {
628
+ }, aa = /* @__PURE__ */ ta(() => /* @__PURE__ */ K("path", {
629
629
  d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
630
630
  fill: "currentColor"
631
- }, null, -1)), or = /* @__PURE__ */ te({
631
+ }, null, -1)), oa = /* @__PURE__ */ te({
632
632
  __name: "CopyIcon",
633
633
  props: {
634
634
  /** The accessibility text provided to screen readers */
@@ -684,12 +684,12 @@ const re = {
684
684
  if (typeof n.size == "number" && n.size > 0)
685
685
  return `${n.size}px`;
686
686
  if (typeof n.size == "string") {
687
- const r = String(n.size).replace(/px/gi, ""), o = Number(r);
687
+ const a = String(n.size).replace(/px/gi, ""), o = Number(a);
688
688
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
689
689
  return `${o}px`;
690
690
  }
691
691
  return Rt;
692
- }), a = $(() => ({
692
+ }), r = $(() => ({
693
693
  boxSizing: "border-box",
694
694
  color: n.color,
695
695
  display: n.display,
@@ -697,11 +697,11 @@ const re = {
697
697
  lineHeight: "0",
698
698
  width: t.value
699
699
  }));
700
- return (r, o) => (m(), D(Fe(e.as), {
700
+ return (a, o) => (m(), D(Fe(e.as), {
701
701
  "aria-hidden": e.decorative ? "true" : void 0,
702
702
  class: "kui-icon copy-icon",
703
703
  "data-testid": "kui-icon-wrapper-copy-icon",
704
- style: ln(a.value)
704
+ style: ln(r.value)
705
705
  }, {
706
706
  default: y(() => [
707
707
  (m(), T("svg", {
@@ -714,14 +714,14 @@ const re = {
714
714
  width: "100%",
715
715
  xmlns: "http://www.w3.org/2000/svg"
716
716
  }, [
717
- e.title ? (m(), T("title", ar, M(e.title), 1)) : G("", !0),
718
- rr
719
- ], 8, nr))
717
+ e.title ? (m(), T("title", ra, M(e.title), 1)) : G("", !0),
718
+ aa
719
+ ], 8, na))
720
720
  ]),
721
721
  _: 1
722
722
  }, 8, ["aria-hidden", "style"]));
723
723
  }
724
- }), ir = /* @__PURE__ */ er(or, [["__scopeId", "data-v-9971cc79"]]), sr = "16px", lr = { class: "kong-ui-copy-uuid" }, ur = ["onClick"], Ut = 15, cr = /* @__PURE__ */ te({
724
+ }), ia = /* @__PURE__ */ ea(oa, [["__scopeId", "data-v-9971cc79"]]), sa = "16px", la = { class: "kong-ui-copy-uuid" }, ua = ["onClick"], Ut = 15, ca = /* @__PURE__ */ te({
725
725
  __name: "CopyUuid",
726
726
  props: {
727
727
  uuid: {
@@ -765,7 +765,7 @@ const re = {
765
765
  },
766
766
  emits: ["success", "error"],
767
767
  setup(e, { emit: n }) {
768
- const t = e, { t: a } = yt("en-us", Qa), r = t.notify || va(Xa, () => {
768
+ const t = e, { t: r } = yt("en-us", Qr), a = t.notify || vr(Xr, () => {
769
769
  }), o = $(() => t.idTooltip ? {
770
770
  label: t.idTooltip,
771
771
  positionFixed: !0,
@@ -787,21 +787,21 @@ const re = {
787
787
  }, u = (h) => {
788
788
  var f, A;
789
789
  if (!h(t.uuid)) {
790
- typeof r == "function" && r({
790
+ typeof a == "function" && a({
791
791
  type: "error",
792
- message: a("message.fail")
793
- }), i.value ? d(a("message.fail")) : n("error", t.uuid);
792
+ message: r("message.fail")
793
+ }), i.value ? d(r("message.fail")) : n("error", t.uuid);
794
794
  return;
795
795
  }
796
- const C = ((f = t.uuid) == null ? void 0 : f.length) > Ut, p = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((A = t.uuid) == null ? void 0 : A.substring(0, Ut)) + (C ? "..." : "")}"`;
797
- typeof r == "function" && r({
796
+ const C = ((f = t.uuid) == null ? void 0 : f.length) > Ut, p = t.format === "hidden" || t.format === "redacted" ? r("message.success.prefix") : `"${((A = t.uuid) == null ? void 0 : A.substring(0, Ut)) + (C ? "..." : "")}"`;
797
+ typeof a == "function" && a({
798
798
  type: "success",
799
- message: `${p}${a("message.success.content")}`
799
+ message: `${p}${r("message.success.content")}`
800
800
  }), i.value ? d(t.successTooltip) : n("success", t.uuid);
801
801
  };
802
802
  return (h, f) => {
803
803
  const A = P("KClipboardProvider");
804
- return m(), T("div", lr, [
804
+ return m(), T("div", la, [
805
805
  e.format !== "hidden" ? (m(), D(Fe(e.idTooltip ? "KTooltip" : "div"), st({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
806
806
  default: y(() => [
807
807
  K("div", {
@@ -824,14 +824,14 @@ const re = {
824
824
  tabindex: "0",
825
825
  onClick: Ge((p) => u(C), ["stop"])
826
826
  }, [
827
- O(g(ir), {
827
+ O(g(ia), {
828
828
  class: "uuid-icon",
829
829
  color: e.iconColor,
830
830
  decorative: !!e.tooltip,
831
- size: g(sr),
832
- title: g(a)("iconTitle")
831
+ size: g(sa),
832
+ title: g(r)("iconTitle")
833
833
  }, null, 8, ["color", "decorative", "size", "title"])
834
- ], 8, ur)
834
+ ], 8, ua)
835
835
  ]),
836
836
  _: 1
837
837
  })
@@ -841,15 +841,15 @@ const re = {
841
841
  ]);
842
842
  };
843
843
  }
844
- }), dr = (e, n) => {
844
+ }), da = (e, n) => {
845
845
  const t = e.__vccOpts || e;
846
- for (const [a, r] of n)
847
- t[a] = r;
846
+ for (const [r, a] of n)
847
+ t[r] = a;
848
848
  return t;
849
- }, hn = /* @__PURE__ */ dr(cr, [["__scopeId", "data-v-0c07874b"]]), pr = {
849
+ }, hn = /* @__PURE__ */ da(ca, [["__scopeId", "data-v-0c07874b"]]), pa = {
850
850
  key: 0,
851
851
  class: "config-card-fieldset-title"
852
- }, fr = /* @__PURE__ */ te({
852
+ }, fa = /* @__PURE__ */ te({
853
853
  __name: "JsonCardItem",
854
854
  props: {
855
855
  item: {
@@ -866,25 +866,25 @@ const re = {
866
866
  }
867
867
  },
868
868
  setup(e) {
869
- const n = e, { i18n: { t } } = re.useI18n(), { convertKeyToTitle: a } = re.useStringHelpers(), r = $(() => n.item.key ?? "json-array-item"), o = $(() => n.item.value ?? n.item), i = $(() => {
869
+ const n = e, { i18n: { t } } = ae.useI18n(), { convertKeyToTitle: r } = ae.useStringHelpers(), a = $(() => n.item.key ?? "json-array-item"), o = $(() => n.item.value ?? n.item), i = $(() => {
870
870
  const l = JSON.parse(JSON.stringify(o.value));
871
871
  return n.isArrayItem && delete l.name, l;
872
872
  }), s = $(() => {
873
873
  var l;
874
- return n.isArrayItem ? (l = o.value) != null && l.name ? a(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
874
+ return n.isArrayItem ? (l = o.value) != null && l.name ? r(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
875
875
  });
876
876
  return (l, c) => (m(), D(Fe(e.isArrayItem ? "fieldset" : "div"), {
877
877
  class: Ae(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
878
878
  }, {
879
879
  default: y(() => [
880
- e.isArrayItem ? (m(), T("legend", pr, [
880
+ e.isArrayItem ? (m(), T("legend", pa, [
881
881
  K("b", null, M(s.value), 1)
882
882
  ])) : G("", !0),
883
883
  (m(!0), T(fe, null, de(Object.keys(i.value), (d, u) => (m(), D(bt, {
884
- key: `${r.value}-property-${u}`,
884
+ key: `${a.value}-property-${u}`,
885
885
  item: {
886
886
  key: d,
887
- label: g(a)(d),
887
+ label: g(r)(d),
888
888
  value: i.value[d]
889
889
  }
890
890
  }, null, 8, ["item"]))), 128))
@@ -894,10 +894,10 @@ const re = {
894
894
  }
895
895
  }), me = (e, n) => {
896
896
  const t = e.__vccOpts || e;
897
- for (const [a, r] of n)
898
- t[a] = r;
897
+ for (const [r, a] of n)
898
+ t[r] = a;
899
899
  return t;
900
- }, vn = /* @__PURE__ */ me(fr, [["__scopeId", "data-v-68ca83ec"]]), mr = /* @__PURE__ */ te({
900
+ }, vn = /* @__PURE__ */ me(fa, [["__scopeId", "data-v-68ca83ec"]]), ma = /* @__PURE__ */ te({
901
901
  __name: "InternalLinkItem",
902
902
  props: {
903
903
  item: {
@@ -907,14 +907,14 @@ const re = {
907
907
  },
908
908
  emits: ["navigation-click"],
909
909
  setup(e) {
910
- const { i18n: { t: n } } = re.useI18n();
911
- return (t, a) => {
912
- const r = P("KButton");
910
+ const { i18n: { t: n } } = ae.useI18n();
911
+ return (t, r) => {
912
+ const a = P("KButton");
913
913
  return m(), T("div", null, [
914
- O(r, {
914
+ O(a, {
915
915
  appearance: "tertiary",
916
916
  class: "navigation-button",
917
- onClick: a[0] || (a[0] = (o) => t.$emit("navigation-click", e.item))
917
+ onClick: r[0] || (r[0] = (o) => t.$emit("navigation-click", e.item))
918
918
  }, {
919
919
  default: y(() => [
920
920
  W(M(e.item.value || g(n)("baseConfigCard.commonFields.link")), 1)
@@ -924,7 +924,7 @@ const re = {
924
924
  ]);
925
925
  };
926
926
  }
927
- }), gr = /* @__PURE__ */ me(mr, [["__scopeId", "data-v-c96811e5"]]), yr = /* @__PURE__ */ te({
927
+ }), ga = /* @__PURE__ */ me(ma, [["__scopeId", "data-v-c96811e5"]]), ya = /* @__PURE__ */ te({
928
928
  __name: "StatusBadge",
929
929
  props: {
930
930
  status: {
@@ -933,10 +933,10 @@ const re = {
933
933
  }
934
934
  },
935
935
  setup(e) {
936
- const { i18n: { t: n } } = re.useI18n();
937
- return (t, a) => {
938
- const r = P("KBadge");
939
- return m(), D(r, {
936
+ const { i18n: { t: n } } = ae.useI18n();
937
+ return (t, r) => {
938
+ const a = P("KBadge");
939
+ return m(), D(a, {
940
940
  appearance: e.status ? "success" : "neutral"
941
941
  }, {
942
942
  default: y(() => [
@@ -946,11 +946,11 @@ const re = {
946
946
  }, 8, ["appearance"]);
947
947
  };
948
948
  }
949
- }), hr = "#0044f4", vr = "#e0e4ea", br = "#3a3f51", Cr = "1px", kr = "20px", wr = { class: "config-card-details-row" }, _r = ["data-testid"], Ir = ["data-testid"], Ar = ["data-testid"], Sr = ["data-testid"], xr = { key: 1 }, Tr = ["data-testid"], $r = ["data-testid"], Mr = ["data-testid"], jr = ["data-testid"], Er = {
949
+ }), ha = "#0044f4", va = "#e0e4ea", ba = "#3a3f51", Ca = "1px", ka = "20px", wa = { class: "config-card-details-row" }, _a = ["data-testid"], Ia = ["data-testid"], Aa = ["data-testid"], Sa = ["data-testid"], xa = { key: 1 }, Ta = ["data-testid"], $a = ["data-testid"], Ma = ["data-testid"], ja = ["data-testid"], Ea = {
950
950
  name: "ConfigCardItem",
951
- components: { CopyUuid: hn, JsonCardItem: vn, StatusBadge: yr, InternalLinkItem: gr }
952
- }, Or = /* @__PURE__ */ te({
953
- ...Er,
951
+ components: { CopyUuid: hn, JsonCardItem: vn, StatusBadge: ya, InternalLinkItem: ga }
952
+ }, Oa = /* @__PURE__ */ te({
953
+ ...Ea,
954
954
  props: {
955
955
  item: {
956
956
  type: Object,
@@ -970,21 +970,21 @@ const re = {
970
970
  emits: ["navigation-click"],
971
971
  setup(e, { emit: n }) {
972
972
  const t = e;
973
- fa((f) => ({
974
- "1df60db4": c.value ? "none" : `solid ${g(Cr)} ${g(vr)}`,
975
- "21d1d34e": l.value && i.value ? "block" : "flex",
976
- "4d3dc7e7": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
977
- "4d400dc2": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
973
+ fr((f) => ({
974
+ "23f3018c": c.value ? "none" : `solid ${g(Ca)} ${g(va)}`,
975
+ "3815ec6d": l.value && i.value ? "block" : "flex",
976
+ "1957f153": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
977
+ "195a372e": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
978
978
  }));
979
- const a = Ze(), { i18n: { t: r, formatUnixTimeStamp: o } } = re.useI18n(), i = $(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = $(() => !!(t.item.tooltip || a["label-tooltip"])), l = $(() => t.item.type === X.Json || t.item.type === X.JsonArray), c = $(() => t.item.type === X.JsonArray), d = $(() => {
979
+ const r = Ze(), { i18n: { t: a, formatUnixTimeStamp: o } } = ae.useI18n(), i = $(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = $(() => !!(t.item.tooltip || r["label-tooltip"])), l = $(() => t.item.type === X.Json || t.item.type === X.JsonArray), c = $(() => t.item.type === X.JsonArray), d = $(() => {
980
980
  switch (t.item.type) {
981
981
  case X.ID:
982
982
  return {
983
983
  tag: "CopyUuid",
984
984
  attrs: {
985
985
  "data-testid": `${t.item.key}-copy-uuid`,
986
- "success-tooltip": r("baseConfigCard.copy.success"),
987
- tooltip: r("baseConfigCard.copy.tooltip", { label: t.item.label }),
986
+ "success-tooltip": a("baseConfigCard.copy.success"),
987
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
988
988
  truncated: !1,
989
989
  uuid: t.item.value,
990
990
  notify: () => {
@@ -996,8 +996,8 @@ const re = {
996
996
  tag: "div",
997
997
  additionalComponent: "CopyUuid",
998
998
  childAttrs: {
999
- "success-tooltip": r("baseConfigCard.copy.success"),
1000
- tooltip: r("baseConfigCard.copy.tooltip", { label: t.item.label }),
999
+ "success-tooltip": a("baseConfigCard.copy.success"),
1000
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
1001
1001
  truncated: !1,
1002
1002
  notify: () => {
1003
1003
  }
@@ -1009,8 +1009,8 @@ const re = {
1009
1009
  attrs: {
1010
1010
  "data-testid": `${t.item.key}-copy-uuid-redacted`,
1011
1011
  format: "redacted",
1012
- "success-tooltip": r("baseConfigCard.copy.success"),
1013
- tooltip: r("baseConfigCard.copy.tooltip", { label: t.item.label }),
1012
+ "success-tooltip": a("baseConfigCard.copy.success"),
1013
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
1014
1014
  truncated: !1,
1015
1015
  uuid: t.item.value,
1016
1016
  notify: () => {
@@ -1023,8 +1023,8 @@ const re = {
1023
1023
  additionalComponent: "CopyUuid",
1024
1024
  childAttrs: {
1025
1025
  format: "redacted",
1026
- "success-tooltip": r("baseConfigCard.copy.success"),
1027
- tooltip: r("baseConfigCard.copy.tooltip", { label: t.item.label }),
1026
+ "success-tooltip": a("baseConfigCard.copy.success"),
1027
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
1028
1028
  truncated: !1,
1029
1029
  notify: () => {
1030
1030
  }
@@ -1102,10 +1102,10 @@ const re = {
1102
1102
  text: t.item.value
1103
1103
  };
1104
1104
  }
1105
- }), u = F(), { isTruncated: h } = re.useTruncationDetector(u);
1105
+ }), u = F(), { isTruncated: h } = ae.useTruncationDetector(u);
1106
1106
  return (f, A) => {
1107
1107
  const C = P("KLabel"), p = P("KBadge"), S = P("KMethodBadge"), _ = P("KTooltip");
1108
- return m(), T("div", wr, [
1108
+ return m(), T("div", wa, [
1109
1109
  K("div", {
1110
1110
  class: "config-card-details-label",
1111
1111
  "data-testid": `${e.item.key}-label`
@@ -1126,13 +1126,13 @@ const re = {
1126
1126
  Y(f.$slots, "label-tooltip", {}, () => [
1127
1127
  W(M(e.item.tooltip), 1)
1128
1128
  ], !0)
1129
- ], 8, Ir)
1129
+ ], 8, Ia)
1130
1130
  ]),
1131
1131
  key: "0"
1132
1132
  } : void 0
1133
1133
  ]), 1024)
1134
1134
  ], !0)
1135
- ], 8, _r),
1135
+ ], 8, _a),
1136
1136
  K("div", {
1137
1137
  class: "config-card-details-value",
1138
1138
  "data-testid": `${e.item.key}-property-value`
@@ -1140,8 +1140,8 @@ const re = {
1140
1140
  Y(f.$slots, e.item.key, {
1141
1141
  rowValue: e.item.value
1142
1142
  }, () => [
1143
- i.value ? (m(), T("div", xr, [
1144
- (m(), D(Fe(d.value.tag), ma(ga(d.value.attrs)), {
1143
+ i.value ? (m(), T("div", xa, [
1144
+ (m(), D(Fe(d.value.tag), mr(gr(d.value.attrs)), {
1145
1145
  default: y(() => [
1146
1146
  d.value.additionalComponent === "KBadge" ? (m(), T("div", {
1147
1147
  key: 0,
@@ -1158,7 +1158,7 @@ const re = {
1158
1158
  ]),
1159
1159
  _: 2
1160
1160
  }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1161
- ], 8, Tr)) : G("", !0),
1161
+ ], 8, Ta)) : G("", !0),
1162
1162
  d.value.additionalComponent === "CopyUuid" ? (m(), T("div", {
1163
1163
  key: 1,
1164
1164
  class: "copy-uuid-array",
@@ -1169,7 +1169,7 @@ const re = {
1169
1169
  "data-testid": `${e.item.key}-copy-uuid-${v}`,
1170
1170
  uuid: q
1171
1171
  }), null, 16, ["data-testid", "uuid"]))), 128))
1172
- ], 8, $r)) : d.value.additionalComponent === "KMethodBadge" ? (m(), T("div", {
1172
+ ], 8, $a)) : d.value.additionalComponent === "KMethodBadge" ? (m(), T("div", {
1173
1173
  key: 2,
1174
1174
  class: "method-badge-array",
1175
1175
  "data-testid": `${e.item.key}-badge-methods`
@@ -1180,14 +1180,14 @@ const re = {
1180
1180
  "data-testid": `${e.item.key}-badge-method-${v}`,
1181
1181
  "is-rounded": "",
1182
1182
  label: q,
1183
- method: g(Ca).includes(q.toLowerCase()) ? q.toLowerCase() : "custom"
1183
+ method: g(Cr).includes(q.toLowerCase()) ? q.toLowerCase() : "custom"
1184
1184
  }, {
1185
1185
  default: y(() => [
1186
1186
  W(M(q), 1)
1187
1187
  ]),
1188
1188
  _: 2
1189
1189
  }, 1032, ["data-testid", "label", "method"]))), 128))
1190
- ], 8, Mr)) : G("", !0),
1190
+ ], 8, Ma)) : G("", !0),
1191
1191
  d.value.additionalComponent === "JsonCardItem" ? (m(), T("div", {
1192
1192
  key: 3,
1193
1193
  "data-testid": `${t.item.key}-json-array-content`
@@ -1198,7 +1198,7 @@ const re = {
1198
1198
  "is-array-item": "",
1199
1199
  item: q
1200
1200
  }, null, 8, ["index", "item"]))), 128))
1201
- ], 8, jr)) : (m(), D(_, {
1201
+ ], 8, ja)) : (m(), D(_, {
1202
1202
  key: 4,
1203
1203
  label: g(h) ? e.item.value : ""
1204
1204
  }, {
@@ -1217,52 +1217,52 @@ const re = {
1217
1217
  ])) : (m(), T("div", {
1218
1218
  key: 0,
1219
1219
  "data-testid": `${e.item.key}-no-value`
1220
- }, " – ", 8, Sr))
1220
+ }, " – ", 8, Sa))
1221
1221
  ], !0)
1222
- ], 8, Ar)
1222
+ ], 8, Aa)
1223
1223
  ]);
1224
1224
  };
1225
1225
  }
1226
- }), bt = /* @__PURE__ */ me(Or, [["__scopeId", "data-v-307ab96d"]]);
1226
+ }), bt = /* @__PURE__ */ me(Oa, [["__scopeId", "data-v-e851fc7c"]]);
1227
1227
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1228
1228
  function bn(e) {
1229
1229
  return typeof e > "u" || e === null;
1230
1230
  }
1231
- function Fr(e) {
1231
+ function Fa(e) {
1232
1232
  return typeof e == "object" && e !== null;
1233
1233
  }
1234
- function Kr(e) {
1234
+ function Ka(e) {
1235
1235
  return Array.isArray(e) ? e : bn(e) ? [] : [e];
1236
1236
  }
1237
- function Nr(e, n) {
1238
- var t, a, r, o;
1237
+ function Na(e, n) {
1238
+ var t, r, a, o;
1239
1239
  if (n)
1240
- for (o = Object.keys(n), t = 0, a = o.length; t < a; t += 1)
1241
- r = o[t], e[r] = n[r];
1240
+ for (o = Object.keys(n), t = 0, r = o.length; t < r; t += 1)
1241
+ a = o[t], e[a] = n[a];
1242
1242
  return e;
1243
1243
  }
1244
- function Br(e, n) {
1245
- var t = "", a;
1246
- for (a = 0; a < n; a += 1)
1244
+ function Ba(e, n) {
1245
+ var t = "", r;
1246
+ for (r = 0; r < n; r += 1)
1247
1247
  t += e;
1248
1248
  return t;
1249
1249
  }
1250
- function qr(e) {
1250
+ function qa(e) {
1251
1251
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1252
1252
  }
1253
- var Lr = bn, Pr = Fr, Vr = Kr, Rr = Br, Ur = qr, Dr = Nr, ae = {
1254
- isNothing: Lr,
1255
- isObject: Pr,
1256
- toArray: Vr,
1257
- repeat: Rr,
1258
- isNegativeZero: Ur,
1259
- extend: Dr
1253
+ var La = bn, Pa = Fa, Va = Ka, Ra = Ba, Ua = qa, Da = Na, re = {
1254
+ isNothing: La,
1255
+ isObject: Pa,
1256
+ toArray: Va,
1257
+ repeat: Ra,
1258
+ isNegativeZero: Ua,
1259
+ extend: Da
1260
1260
  };
1261
1261
  function Cn(e, n) {
1262
- var t = "", a = e.reason || "(unknown reason)";
1262
+ var t = "", r = e.reason || "(unknown reason)";
1263
1263
  return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !n && e.mark.snippet && (t += `
1264
1264
 
1265
- ` + e.mark.snippet), a + " " + t) : a;
1265
+ ` + e.mark.snippet), r + " " + t) : r;
1266
1266
  }
1267
1267
  function qe(e, n) {
1268
1268
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = Cn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
@@ -1273,48 +1273,48 @@ qe.prototype.toString = function(e) {
1273
1273
  return this.name + ": " + Cn(this, e);
1274
1274
  };
1275
1275
  var se = qe;
1276
- function rt(e, n, t, a, r) {
1277
- var o = "", i = "", s = Math.floor(r / 2) - 1;
1278
- return a - n > s && (o = " ... ", n = a - s + o.length), t - a > s && (i = " ...", t = a + s - i.length), {
1276
+ function at(e, n, t, r, a) {
1277
+ var o = "", i = "", s = Math.floor(a / 2) - 1;
1278
+ return r - n > s && (o = " ... ", n = r - s + o.length), t - r > s && (i = " ...", t = r + s - i.length), {
1279
1279
  str: o + e.slice(n, t).replace(/\t/g, "→") + i,
1280
- pos: a - n + o.length
1280
+ pos: r - n + o.length
1281
1281
  // relative position
1282
1282
  };
1283
1283
  }
1284
1284
  function ot(e, n) {
1285
- return ae.repeat(" ", n - e.length) + e;
1285
+ return re.repeat(" ", n - e.length) + e;
1286
1286
  }
1287
- function Gr(e, n) {
1287
+ function Ga(e, n) {
1288
1288
  if (n = Object.create(n || null), !e.buffer)
1289
1289
  return null;
1290
1290
  n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
1291
- for (var t = /\r?\n|\r|\0/g, a = [0], r = [], o, i = -1; o = t.exec(e.buffer); )
1292
- r.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && i < 0 && (i = a.length - 2);
1293
- i < 0 && (i = a.length - 1);
1294
- var s = "", l, c, d = Math.min(e.line + n.linesAfter, r.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1291
+ for (var t = /\r?\n|\r|\0/g, r = [0], a = [], o, i = -1; o = t.exec(e.buffer); )
1292
+ a.push(o.index), r.push(o.index + o[0].length), e.position <= o.index && i < 0 && (i = r.length - 2);
1293
+ i < 0 && (i = r.length - 1);
1294
+ var s = "", l, c, d = Math.min(e.line + n.linesAfter, a.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1295
1295
  for (l = 1; l <= n.linesBefore && !(i - l < 0); l++)
1296
- c = rt(
1296
+ c = at(
1297
1297
  e.buffer,
1298
- a[i - l],
1299
1298
  r[i - l],
1300
- e.position - (a[i] - a[i - l]),
1299
+ a[i - l],
1300
+ e.position - (r[i] - r[i - l]),
1301
1301
  u
1302
- ), s = ae.repeat(" ", n.indent) + ot((e.line - l + 1).toString(), d) + " | " + c.str + `
1302
+ ), s = re.repeat(" ", n.indent) + ot((e.line - l + 1).toString(), d) + " | " + c.str + `
1303
1303
  ` + s;
1304
- for (c = rt(e.buffer, a[i], r[i], e.position, u), s += ae.repeat(" ", n.indent) + ot((e.line + 1).toString(), d) + " | " + c.str + `
1305
- `, s += ae.repeat("-", n.indent + d + 3 + c.pos) + `^
1306
- `, l = 1; l <= n.linesAfter && !(i + l >= r.length); l++)
1307
- c = rt(
1304
+ for (c = at(e.buffer, r[i], a[i], e.position, u), s += re.repeat(" ", n.indent) + ot((e.line + 1).toString(), d) + " | " + c.str + `
1305
+ `, s += re.repeat("-", n.indent + d + 3 + c.pos) + `^
1306
+ `, l = 1; l <= n.linesAfter && !(i + l >= a.length); l++)
1307
+ c = at(
1308
1308
  e.buffer,
1309
- a[i + l],
1310
1309
  r[i + l],
1311
- e.position - (a[i] - a[i + l]),
1310
+ a[i + l],
1311
+ e.position - (r[i] - r[i + l]),
1312
1312
  u
1313
- ), s += ae.repeat(" ", n.indent) + ot((e.line + l + 1).toString(), d) + " | " + c.str + `
1313
+ ), s += re.repeat(" ", n.indent) + ot((e.line + l + 1).toString(), d) + " | " + c.str + `
1314
1314
  `;
1315
1315
  return s.replace(/\n$/, "");
1316
1316
  }
1317
- var Hr = Gr, zr = [
1317
+ var Ha = Ga, za = [
1318
1318
  "kind",
1319
1319
  "multi",
1320
1320
  "resolve",
@@ -1325,41 +1325,41 @@ var Hr = Gr, zr = [
1325
1325
  "representName",
1326
1326
  "defaultStyle",
1327
1327
  "styleAliases"
1328
- ], Jr = [
1328
+ ], Ja = [
1329
1329
  "scalar",
1330
1330
  "sequence",
1331
1331
  "mapping"
1332
1332
  ];
1333
- function Yr(e) {
1333
+ function Ya(e) {
1334
1334
  var n = {};
1335
1335
  return e !== null && Object.keys(e).forEach(function(t) {
1336
- e[t].forEach(function(a) {
1337
- n[String(a)] = t;
1336
+ e[t].forEach(function(r) {
1337
+ n[String(r)] = t;
1338
1338
  });
1339
1339
  }), n;
1340
1340
  }
1341
- function Wr(e, n) {
1341
+ function Wa(e, n) {
1342
1342
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1343
- if (zr.indexOf(t) === -1)
1343
+ if (za.indexOf(t) === -1)
1344
1344
  throw new se('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1345
1345
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1346
1346
  return !0;
1347
1347
  }, this.construct = n.construct || function(t) {
1348
1348
  return t;
1349
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Yr(n.styleAliases || null), Jr.indexOf(this.kind) === -1)
1349
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ya(n.styleAliases || null), Ja.indexOf(this.kind) === -1)
1350
1350
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1351
1351
  }
1352
- var oe = Wr;
1352
+ var oe = Wa;
1353
1353
  function Dt(e, n) {
1354
1354
  var t = [];
1355
- return e[n].forEach(function(a) {
1356
- var r = t.length;
1355
+ return e[n].forEach(function(r) {
1356
+ var a = t.length;
1357
1357
  t.forEach(function(o, i) {
1358
- o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (r = i);
1359
- }), t[r] = a;
1358
+ o.tag === r.tag && o.kind === r.kind && o.multi === r.multi && (a = i);
1359
+ }), t[a] = r;
1360
1360
  }), t;
1361
1361
  }
1362
- function Zr() {
1362
+ function Za() {
1363
1363
  var e = {
1364
1364
  scalar: {},
1365
1365
  sequence: {},
@@ -1372,11 +1372,11 @@ function Zr() {
1372
1372
  fallback: []
1373
1373
  }
1374
1374
  }, n, t;
1375
- function a(r) {
1376
- r.multi ? (e.multi[r.kind].push(r), e.multi.fallback.push(r)) : e[r.kind][r.tag] = e.fallback[r.tag] = r;
1375
+ function r(a) {
1376
+ a.multi ? (e.multi[a.kind].push(a), e.multi.fallback.push(a)) : e[a.kind][a.tag] = e.fallback[a.tag] = a;
1377
1377
  }
1378
1378
  for (n = 0, t = arguments.length; n < t; n += 1)
1379
- arguments[n].forEach(a);
1379
+ arguments[n].forEach(r);
1380
1380
  return e;
1381
1381
  }
1382
1382
  function ut(e) {
@@ -1392,19 +1392,19 @@ ut.prototype.extend = function(e) {
1392
1392
  e.implicit && (n = n.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1393
1393
  else
1394
1394
  throw new se("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1395
- n.forEach(function(r) {
1396
- if (!(r instanceof oe))
1395
+ n.forEach(function(a) {
1396
+ if (!(a instanceof oe))
1397
1397
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1398
- if (r.loadKind && r.loadKind !== "scalar")
1398
+ if (a.loadKind && a.loadKind !== "scalar")
1399
1399
  throw new se("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1400
- if (r.multi)
1400
+ if (a.multi)
1401
1401
  throw new se("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1402
- }), t.forEach(function(r) {
1403
- if (!(r instanceof oe))
1402
+ }), t.forEach(function(a) {
1403
+ if (!(a instanceof oe))
1404
1404
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1405
1405
  });
1406
- var a = Object.create(ut.prototype);
1407
- return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Dt(a, "implicit"), a.compiledExplicit = Dt(a, "explicit"), a.compiledTypeMap = Zr(a.compiledImplicit, a.compiledExplicit), a;
1406
+ var r = Object.create(ut.prototype);
1407
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Dt(r, "implicit"), r.compiledExplicit = Dt(r, "explicit"), r.compiledTypeMap = Za(r.compiledImplicit, r.compiledExplicit), r;
1408
1408
  };
1409
1409
  var kn = ut, wn = new oe("tag:yaml.org,2002:str", {
1410
1410
  kind: "scalar",
@@ -1428,13 +1428,13 @@ var kn = ut, wn = new oe("tag:yaml.org,2002:str", {
1428
1428
  In
1429
1429
  ]
1430
1430
  });
1431
- function Qr(e) {
1431
+ function Qa(e) {
1432
1432
  if (e === null)
1433
1433
  return !0;
1434
1434
  var n = e.length;
1435
1435
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1436
1436
  }
1437
- function Xr() {
1437
+ function Xa() {
1438
1438
  return null;
1439
1439
  }
1440
1440
  function eo(e) {
@@ -1442,8 +1442,8 @@ function eo(e) {
1442
1442
  }
1443
1443
  var Sn = new oe("tag:yaml.org,2002:null", {
1444
1444
  kind: "scalar",
1445
- resolve: Qr,
1446
- construct: Xr,
1445
+ resolve: Qa,
1446
+ construct: Xa,
1447
1447
  predicate: eo,
1448
1448
  represent: {
1449
1449
  canonical: function() {
@@ -1473,14 +1473,14 @@ function to(e) {
1473
1473
  function no(e) {
1474
1474
  return e === "true" || e === "True" || e === "TRUE";
1475
1475
  }
1476
- function ao(e) {
1476
+ function ro(e) {
1477
1477
  return Object.prototype.toString.call(e) === "[object Boolean]";
1478
1478
  }
1479
1479
  var xn = new oe("tag:yaml.org,2002:bool", {
1480
1480
  kind: "scalar",
1481
1481
  resolve: to,
1482
1482
  construct: no,
1483
- predicate: ao,
1483
+ predicate: ro,
1484
1484
  represent: {
1485
1485
  lowercase: function(e) {
1486
1486
  return e ? "true" : "false";
@@ -1494,7 +1494,7 @@ var xn = new oe("tag:yaml.org,2002:bool", {
1494
1494
  },
1495
1495
  defaultStyle: "lowercase"
1496
1496
  });
1497
- function ro(e) {
1497
+ function ao(e) {
1498
1498
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1499
1499
  }
1500
1500
  function oo(e) {
@@ -1506,55 +1506,55 @@ function io(e) {
1506
1506
  function so(e) {
1507
1507
  if (e === null)
1508
1508
  return !1;
1509
- var n = e.length, t = 0, a = !1, r;
1509
+ var n = e.length, t = 0, r = !1, a;
1510
1510
  if (!n)
1511
1511
  return !1;
1512
- if (r = e[t], (r === "-" || r === "+") && (r = e[++t]), r === "0") {
1512
+ if (a = e[t], (a === "-" || a === "+") && (a = e[++t]), a === "0") {
1513
1513
  if (t + 1 === n)
1514
1514
  return !0;
1515
- if (r = e[++t], r === "b") {
1515
+ if (a = e[++t], a === "b") {
1516
1516
  for (t++; t < n; t++)
1517
- if (r = e[t], r !== "_") {
1518
- if (r !== "0" && r !== "1")
1517
+ if (a = e[t], a !== "_") {
1518
+ if (a !== "0" && a !== "1")
1519
1519
  return !1;
1520
- a = !0;
1520
+ r = !0;
1521
1521
  }
1522
- return a && r !== "_";
1522
+ return r && a !== "_";
1523
1523
  }
1524
- if (r === "x") {
1524
+ if (a === "x") {
1525
1525
  for (t++; t < n; t++)
1526
- if (r = e[t], r !== "_") {
1527
- if (!ro(e.charCodeAt(t)))
1526
+ if (a = e[t], a !== "_") {
1527
+ if (!ao(e.charCodeAt(t)))
1528
1528
  return !1;
1529
- a = !0;
1529
+ r = !0;
1530
1530
  }
1531
- return a && r !== "_";
1531
+ return r && a !== "_";
1532
1532
  }
1533
- if (r === "o") {
1533
+ if (a === "o") {
1534
1534
  for (t++; t < n; t++)
1535
- if (r = e[t], r !== "_") {
1535
+ if (a = e[t], a !== "_") {
1536
1536
  if (!oo(e.charCodeAt(t)))
1537
1537
  return !1;
1538
- a = !0;
1538
+ r = !0;
1539
1539
  }
1540
- return a && r !== "_";
1540
+ return r && a !== "_";
1541
1541
  }
1542
1542
  }
1543
- if (r === "_")
1543
+ if (a === "_")
1544
1544
  return !1;
1545
1545
  for (; t < n; t++)
1546
- if (r = e[t], r !== "_") {
1546
+ if (a = e[t], a !== "_") {
1547
1547
  if (!io(e.charCodeAt(t)))
1548
1548
  return !1;
1549
- a = !0;
1549
+ r = !0;
1550
1550
  }
1551
- return !(!a || r === "_");
1551
+ return !(!r || a === "_");
1552
1552
  }
1553
1553
  function lo(e) {
1554
- var n = e, t = 1, a;
1555
- if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), a = n[0], (a === "-" || a === "+") && (a === "-" && (t = -1), n = n.slice(1), a = n[0]), n === "0")
1554
+ var n = e, t = 1, r;
1555
+ if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (t = -1), n = n.slice(1), r = n[0]), n === "0")
1556
1556
  return 0;
1557
- if (a === "0") {
1557
+ if (r === "0") {
1558
1558
  if (n[1] === "b")
1559
1559
  return t * parseInt(n.slice(2), 2);
1560
1560
  if (n[1] === "x")
@@ -1565,7 +1565,7 @@ function lo(e) {
1565
1565
  return t * parseInt(n, 10);
1566
1566
  }
1567
1567
  function uo(e) {
1568
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ae.isNegativeZero(e);
1568
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !re.isNegativeZero(e);
1569
1569
  }
1570
1570
  var Tn = new oe("tag:yaml.org,2002:int", {
1571
1571
  kind: "scalar",
@@ -1637,12 +1637,12 @@ function go(e, n) {
1637
1637
  case "camelcase":
1638
1638
  return "-.Inf";
1639
1639
  }
1640
- else if (ae.isNegativeZero(e))
1640
+ else if (re.isNegativeZero(e))
1641
1641
  return "-0.0";
1642
1642
  return t = e.toString(10), mo.test(t) ? t.replace("e", ".e") : t;
1643
1643
  }
1644
1644
  function yo(e) {
1645
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ae.isNegativeZero(e));
1645
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || re.isNegativeZero(e));
1646
1646
  }
1647
1647
  var $n = new oe("tag:yaml.org,2002:float", {
1648
1648
  kind: "scalar",
@@ -1667,17 +1667,17 @@ function ho(e) {
1667
1667
  return e === null ? !1 : En.exec(e) !== null || On.exec(e) !== null;
1668
1668
  }
1669
1669
  function vo(e) {
1670
- var n, t, a, r, o, i, s, l = 0, c = null, d, u, h;
1670
+ var n, t, r, a, o, i, s, l = 0, c = null, d, u, h;
1671
1671
  if (n = En.exec(e), n === null && (n = On.exec(e)), n === null)
1672
1672
  throw new Error("Date resolve error");
1673
- if (t = +n[1], a = +n[2] - 1, r = +n[3], !n[4])
1674
- return new Date(Date.UTC(t, a, r));
1673
+ if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
1674
+ return new Date(Date.UTC(t, r, a));
1675
1675
  if (o = +n[4], i = +n[5], s = +n[6], n[7]) {
1676
1676
  for (l = n[7].slice(0, 3); l.length < 3; )
1677
1677
  l += "0";
1678
1678
  l = +l;
1679
1679
  }
1680
- return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), h = new Date(Date.UTC(t, a, r, o, i, s, l)), c && h.setTime(h.getTime() - c), h;
1680
+ return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), h = new Date(Date.UTC(t, r, a, o, i, s, l)), c && h.setTime(h.getTime() - c), h;
1681
1681
  }
1682
1682
  function bo(e) {
1683
1683
  return e.toISOString();
@@ -1700,26 +1700,26 @@ var Kn = new oe("tag:yaml.org,2002:merge", {
1700
1700
  function ko(e) {
1701
1701
  if (e === null)
1702
1702
  return !1;
1703
- var n, t, a = 0, r = e.length, o = Ct;
1704
- for (t = 0; t < r; t++)
1703
+ var n, t, r = 0, a = e.length, o = Ct;
1704
+ for (t = 0; t < a; t++)
1705
1705
  if (n = o.indexOf(e.charAt(t)), !(n > 64)) {
1706
1706
  if (n < 0)
1707
1707
  return !1;
1708
- a += 6;
1708
+ r += 6;
1709
1709
  }
1710
- return a % 8 === 0;
1710
+ return r % 8 === 0;
1711
1711
  }
1712
1712
  function wo(e) {
1713
- var n, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, o = Ct, i = 0, s = [];
1714
- for (n = 0; n < r; n++)
1715
- n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | o.indexOf(a.charAt(n));
1716
- return t = r % 4 * 6, t === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : t === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : t === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1713
+ var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = Ct, i = 0, s = [];
1714
+ for (n = 0; n < a; n++)
1715
+ n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(n));
1716
+ return t = a % 4 * 6, t === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : t === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : t === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1717
1717
  }
1718
1718
  function _o(e) {
1719
- var n = "", t = 0, a, r, o = e.length, i = Ct;
1720
- for (a = 0; a < o; a++)
1721
- a % 3 === 0 && a && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[a];
1722
- return r = o % 3, r === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : r === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : r === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1719
+ var n = "", t = 0, r, a, o = e.length, i = Ct;
1720
+ for (r = 0; r < o; r++)
1721
+ r % 3 === 0 && r && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[r];
1722
+ return a = o % 3, a === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : a === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : a === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1723
1723
  }
1724
1724
  function Io(e) {
1725
1725
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
@@ -1734,12 +1734,12 @@ var Nn = new oe("tag:yaml.org,2002:binary", {
1734
1734
  function xo(e) {
1735
1735
  if (e === null)
1736
1736
  return !0;
1737
- var n = [], t, a, r, o, i, s = e;
1738
- for (t = 0, a = s.length; t < a; t += 1) {
1739
- if (r = s[t], i = !1, So.call(r) !== "[object Object]")
1737
+ var n = [], t, r, a, o, i, s = e;
1738
+ for (t = 0, r = s.length; t < r; t += 1) {
1739
+ if (a = s[t], i = !1, So.call(a) !== "[object Object]")
1740
1740
  return !1;
1741
- for (o in r)
1742
- if (Ao.call(r, o))
1741
+ for (o in a)
1742
+ if (Ao.call(a, o))
1743
1743
  if (!i)
1744
1744
  i = !0;
1745
1745
  else
@@ -1764,20 +1764,20 @@ var Bn = new oe("tag:yaml.org,2002:omap", {
1764
1764
  function Mo(e) {
1765
1765
  if (e === null)
1766
1766
  return !0;
1767
- var n, t, a, r, o, i = e;
1767
+ var n, t, r, a, o, i = e;
1768
1768
  for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1769
- if (a = i[n], $o.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1769
+ if (r = i[n], $o.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1770
1770
  return !1;
1771
- o[n] = [r[0], a[r[0]]];
1771
+ o[n] = [a[0], r[a[0]]];
1772
1772
  }
1773
1773
  return !0;
1774
1774
  }
1775
1775
  function jo(e) {
1776
1776
  if (e === null)
1777
1777
  return [];
1778
- var n, t, a, r, o, i = e;
1778
+ var n, t, r, a, o, i = e;
1779
1779
  for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1)
1780
- a = i[n], r = Object.keys(a), o[n] = [r[0], a[r[0]]];
1780
+ r = i[n], a = Object.keys(r), o[n] = [a[0], r[a[0]]];
1781
1781
  return o;
1782
1782
  }
1783
1783
  var qn = new oe("tag:yaml.org,2002:pairs", {
@@ -1863,7 +1863,7 @@ function Hn(e, n) {
1863
1863
  line: e.line,
1864
1864
  column: e.position - e.lineStart
1865
1865
  };
1866
- return t.snippet = Hr(t), new se(n, t);
1866
+ return t.snippet = Ha(t), new se(n, t);
1867
1867
  }
1868
1868
  function j(e, n) {
1869
1869
  throw Hn(e, n);
@@ -1873,54 +1873,54 @@ function Je(e, n) {
1873
1873
  }
1874
1874
  var Jt = {
1875
1875
  YAML: function(e, n, t) {
1876
- var a, r, o;
1877
- e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && j(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Je(e, "unsupported YAML version of the document");
1876
+ var r, a, o;
1877
+ e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && j(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Je(e, "unsupported YAML version of the document");
1878
1878
  },
1879
1879
  TAG: function(e, n, t) {
1880
- var a, r;
1881
- t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Rn.test(a) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), ke.call(e.tagMap, a) && j(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Un.test(r) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1880
+ var r, a;
1881
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Rn.test(r) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), ke.call(e.tagMap, r) && j(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Un.test(a) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1882
1882
  try {
1883
- r = decodeURIComponent(r);
1883
+ a = decodeURIComponent(a);
1884
1884
  } catch {
1885
- j(e, "tag prefix is malformed: " + r);
1885
+ j(e, "tag prefix is malformed: " + a);
1886
1886
  }
1887
- e.tagMap[a] = r;
1887
+ e.tagMap[r] = a;
1888
1888
  }
1889
1889
  };
1890
- function Ce(e, n, t, a) {
1891
- var r, o, i, s;
1890
+ function Ce(e, n, t, r) {
1891
+ var a, o, i, s;
1892
1892
  if (n < t) {
1893
- if (s = e.input.slice(n, t), a)
1894
- for (r = 0, o = s.length; r < o; r += 1)
1895
- i = s.charCodeAt(r), i === 9 || 32 <= i && i <= 1114111 || j(e, "expected valid JSON character");
1893
+ if (s = e.input.slice(n, t), r)
1894
+ for (a = 0, o = s.length; a < o; a += 1)
1895
+ i = s.charCodeAt(a), i === 9 || 32 <= i && i <= 1114111 || j(e, "expected valid JSON character");
1896
1896
  else
1897
1897
  No.test(s) && j(e, "the stream contains non-printable characters");
1898
1898
  e.result += s;
1899
1899
  }
1900
1900
  }
1901
- function Yt(e, n, t, a) {
1902
- var r, o, i, s;
1903
- for (ae.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), i = 0, s = r.length; i < s; i += 1)
1904
- o = r[i], ke.call(n, o) || (n[o] = t[o], a[o] = !0);
1901
+ function Yt(e, n, t, r) {
1902
+ var a, o, i, s;
1903
+ for (re.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), i = 0, s = a.length; i < s; i += 1)
1904
+ o = a[i], ke.call(n, o) || (n[o] = t[o], r[o] = !0);
1905
1905
  }
1906
- function Oe(e, n, t, a, r, o, i, s, l) {
1906
+ function Oe(e, n, t, r, a, o, i, s, l) {
1907
1907
  var c, d;
1908
- if (Array.isArray(r))
1909
- for (r = Array.prototype.slice.call(r), c = 0, d = r.length; c < d; c += 1)
1910
- Array.isArray(r[c]) && j(e, "nested arrays are not supported inside keys"), typeof r == "object" && Ht(r[c]) === "[object Object]" && (r[c] = "[object Object]");
1911
- if (typeof r == "object" && Ht(r) === "[object Object]" && (r = "[object Object]"), r = String(r), n === null && (n = {}), a === "tag:yaml.org,2002:merge")
1908
+ if (Array.isArray(a))
1909
+ for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
1910
+ Array.isArray(a[c]) && j(e, "nested arrays are not supported inside keys"), typeof a == "object" && Ht(a[c]) === "[object Object]" && (a[c] = "[object Object]");
1911
+ if (typeof a == "object" && Ht(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1912
1912
  if (Array.isArray(o))
1913
1913
  for (c = 0, d = o.length; c < d; c += 1)
1914
1914
  Yt(e, n, o[c], t);
1915
1915
  else
1916
1916
  Yt(e, n, o, t);
1917
1917
  else
1918
- !e.json && !ke.call(t, r) && ke.call(n, r) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, j(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(n, r, {
1918
+ !e.json && !ke.call(t, a) && ke.call(n, a) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, j(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1919
1919
  configurable: !0,
1920
1920
  enumerable: !0,
1921
1921
  writable: !0,
1922
1922
  value: o
1923
- }) : n[r] = o, delete t[r];
1923
+ }) : n[a] = o, delete t[a];
1924
1924
  return n;
1925
1925
  }
1926
1926
  function wt(e) {
@@ -1928,39 +1928,39 @@ function wt(e) {
1928
1928
  n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1929
1929
  }
1930
1930
  function ne(e, n, t) {
1931
- for (var a = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
1932
- for (; Ie(r); )
1933
- r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
1934
- if (n && r === 35)
1931
+ for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1932
+ for (; Ie(a); )
1933
+ a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1934
+ if (n && a === 35)
1935
1935
  do
1936
- r = e.input.charCodeAt(++e.position);
1937
- while (r !== 10 && r !== 13 && r !== 0);
1938
- if (ge(r))
1939
- for (wt(e), r = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; r === 32; )
1940
- e.lineIndent++, r = e.input.charCodeAt(++e.position);
1936
+ a = e.input.charCodeAt(++e.position);
1937
+ while (a !== 10 && a !== 13 && a !== 0);
1938
+ if (ge(a))
1939
+ for (wt(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1940
+ e.lineIndent++, a = e.input.charCodeAt(++e.position);
1941
1941
  else
1942
1942
  break;
1943
1943
  }
1944
- return t !== -1 && a !== 0 && e.lineIndent < t && Je(e, "deficient indentation"), a;
1944
+ return t !== -1 && r !== 0 && e.lineIndent < t && Je(e, "deficient indentation"), r;
1945
1945
  }
1946
1946
  function Xe(e) {
1947
1947
  var n = e.position, t;
1948
1948
  return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || pe(t)));
1949
1949
  }
1950
1950
  function _t(e, n) {
1951
- n === 1 ? e.result += " " : n > 1 && (e.result += ae.repeat(`
1951
+ n === 1 ? e.result += " " : n > 1 && (e.result += re.repeat(`
1952
1952
  `, n - 1));
1953
1953
  }
1954
1954
  function Do(e, n, t) {
1955
- var a, r, o, i, s, l, c, d, u = e.kind, h = e.result, f;
1956
- if (f = e.input.charCodeAt(e.position), pe(f) || Ee(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (r = e.input.charCodeAt(e.position + 1), pe(r) || t && Ee(r)))
1955
+ var r, a, o, i, s, l, c, d, u = e.kind, h = e.result, f;
1956
+ if (f = e.input.charCodeAt(e.position), pe(f) || Ee(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (a = e.input.charCodeAt(e.position + 1), pe(a) || t && Ee(a)))
1957
1957
  return !1;
1958
1958
  for (e.kind = "scalar", e.result = "", o = i = e.position, s = !1; f !== 0; ) {
1959
1959
  if (f === 58) {
1960
- if (r = e.input.charCodeAt(e.position + 1), pe(r) || t && Ee(r))
1960
+ if (a = e.input.charCodeAt(e.position + 1), pe(a) || t && Ee(a))
1961
1961
  break;
1962
1962
  } else if (f === 35) {
1963
- if (a = e.input.charCodeAt(e.position - 1), pe(a))
1963
+ if (r = e.input.charCodeAt(e.position - 1), pe(r))
1964
1964
  break;
1965
1965
  } else {
1966
1966
  if (e.position === e.lineStart && Xe(e) || t && Ee(f))
@@ -1979,24 +1979,24 @@ function Do(e, n, t) {
1979
1979
  return Ce(e, o, i, !1), e.result ? !0 : (e.kind = u, e.result = h, !1);
1980
1980
  }
1981
1981
  function Go(e, n) {
1982
- var t, a, r;
1982
+ var t, r, a;
1983
1983
  if (t = e.input.charCodeAt(e.position), t !== 39)
1984
1984
  return !1;
1985
- for (e.kind = "scalar", e.result = "", e.position++, a = r = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1985
+ for (e.kind = "scalar", e.result = "", e.position++, r = a = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1986
1986
  if (t === 39)
1987
- if (Ce(e, a, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1988
- a = e.position, e.position++, r = e.position;
1987
+ if (Ce(e, r, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1988
+ r = e.position, e.position++, a = e.position;
1989
1989
  else
1990
1990
  return !0;
1991
1991
  else
1992
- ge(t) ? (Ce(e, a, r, !0), _t(e, ne(e, !1, n)), a = r = e.position) : e.position === e.lineStart && Xe(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1992
+ ge(t) ? (Ce(e, r, a, !0), _t(e, ne(e, !1, n)), r = a = e.position) : e.position === e.lineStart && Xe(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1993
1993
  j(e, "unexpected end of the stream within a single quoted scalar");
1994
1994
  }
1995
1995
  function Ho(e, n) {
1996
- var t, a, r, o, i, s;
1996
+ var t, r, a, o, i, s;
1997
1997
  if (s = e.input.charCodeAt(e.position), s !== 34)
1998
1998
  return !1;
1999
- for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
1999
+ for (e.kind = "scalar", e.result = "", e.position++, t = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
2000
2000
  if (s === 34)
2001
2001
  return Ce(e, t, e.position, !0), e.position++, !0;
2002
2002
  if (s === 92) {
@@ -2005,19 +2005,19 @@ function Ho(e, n) {
2005
2005
  else if (s < 256 && Dn[s])
2006
2006
  e.result += Gn[s], e.position++;
2007
2007
  else if ((i = Po(s)) > 0) {
2008
- for (r = i, o = 0; r > 0; r--)
2008
+ for (a = i, o = 0; a > 0; a--)
2009
2009
  s = e.input.charCodeAt(++e.position), (i = Lo(s)) >= 0 ? o = (o << 4) + i : j(e, "expected hexadecimal character");
2010
2010
  e.result += Ro(o), e.position++;
2011
2011
  } else
2012
2012
  j(e, "unknown escape sequence");
2013
- t = a = e.position;
2013
+ t = r = e.position;
2014
2014
  } else
2015
- ge(s) ? (Ce(e, t, a, !0), _t(e, ne(e, !1, n)), t = a = e.position) : e.position === e.lineStart && Xe(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2015
+ ge(s) ? (Ce(e, t, r, !0), _t(e, ne(e, !1, n)), t = r = e.position) : e.position === e.lineStart && Xe(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
2016
2016
  }
2017
2017
  j(e, "unexpected end of the stream within a double quoted scalar");
2018
2018
  }
2019
2019
  function zo(e, n) {
2020
- var t = !0, a, r, o, i = e.tag, s, l = e.anchor, c, d, u, h, f, A = /* @__PURE__ */ Object.create(null), C, p, S, _;
2020
+ var t = !0, r, a, o, i = e.tag, s, l = e.anchor, c, d, u, h, f, A = /* @__PURE__ */ Object.create(null), C, p, S, _;
2021
2021
  if (_ = e.input.charCodeAt(e.position), _ === 91)
2022
2022
  d = 93, f = !1, s = [];
2023
2023
  else if (_ === 123)
@@ -2027,21 +2027,21 @@ function zo(e, n) {
2027
2027
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), _ = e.input.charCodeAt(++e.position); _ !== 0; ) {
2028
2028
  if (ne(e, !0, n), _ = e.input.charCodeAt(e.position), _ === d)
2029
2029
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2030
- t ? _ === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = C = S = null, u = h = !1, _ === 63 && (c = e.input.charCodeAt(e.position + 1), pe(c) && (u = h = !0, e.position++, ne(e, !0, n))), a = e.line, r = e.lineStart, o = e.position, Ke(e, n, He, !1, !0), p = e.tag, C = e.result, ne(e, !0, n), _ = e.input.charCodeAt(e.position), (h || e.line === a) && _ === 58 && (u = !0, _ = e.input.charCodeAt(++e.position), ne(e, !0, n), Ke(e, n, He, !1, !0), S = e.result), f ? Oe(e, s, A, p, C, S, a, r, o) : u ? s.push(Oe(e, null, A, p, C, S, a, r, o)) : s.push(C), ne(e, !0, n), _ = e.input.charCodeAt(e.position), _ === 44 ? (t = !0, _ = e.input.charCodeAt(++e.position)) : t = !1;
2030
+ t ? _ === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = C = S = null, u = h = !1, _ === 63 && (c = e.input.charCodeAt(e.position + 1), pe(c) && (u = h = !0, e.position++, ne(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, Ke(e, n, He, !1, !0), p = e.tag, C = e.result, ne(e, !0, n), _ = e.input.charCodeAt(e.position), (h || e.line === r) && _ === 58 && (u = !0, _ = e.input.charCodeAt(++e.position), ne(e, !0, n), Ke(e, n, He, !1, !0), S = e.result), f ? Oe(e, s, A, p, C, S, r, a, o) : u ? s.push(Oe(e, null, A, p, C, S, r, a, o)) : s.push(C), ne(e, !0, n), _ = e.input.charCodeAt(e.position), _ === 44 ? (t = !0, _ = e.input.charCodeAt(++e.position)) : t = !1;
2031
2031
  }
2032
2032
  j(e, "unexpected end of the stream within a flow collection");
2033
2033
  }
2034
2034
  function Jo(e, n) {
2035
- var t, a, r = it, o = !1, i = !1, s = n, l = 0, c = !1, d, u;
2035
+ var t, r, a = it, o = !1, i = !1, s = n, l = 0, c = !1, d, u;
2036
2036
  if (u = e.input.charCodeAt(e.position), u === 124)
2037
- a = !1;
2037
+ r = !1;
2038
2038
  else if (u === 62)
2039
- a = !0;
2039
+ r = !0;
2040
2040
  else
2041
2041
  return !1;
2042
2042
  for (e.kind = "scalar", e.result = ""; u !== 0; )
2043
2043
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
2044
- it === r ? r = u === 43 ? Gt : Ko : j(e, "repeat of a chomping mode identifier");
2044
+ it === a ? a = u === 43 ? Gt : Ko : j(e, "repeat of a chomping mode identifier");
2045
2045
  else if ((d = Vo(u)) >= 0)
2046
2046
  d === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? j(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2047
2047
  else
@@ -2063,15 +2063,15 @@ function Jo(e, n) {
2063
2063
  continue;
2064
2064
  }
2065
2065
  if (e.lineIndent < s) {
2066
- r === Gt ? e.result += ae.repeat(`
2067
- `, o ? 1 + l : l) : r === it && o && (e.result += `
2066
+ a === Gt ? e.result += re.repeat(`
2067
+ `, o ? 1 + l : l) : a === it && o && (e.result += `
2068
2068
  `);
2069
2069
  break;
2070
2070
  }
2071
- for (a ? Ie(u) ? (c = !0, e.result += ae.repeat(`
2072
- `, o ? 1 + l : l)) : c ? (c = !1, e.result += ae.repeat(`
2073
- `, l + 1)) : l === 0 ? o && (e.result += " ") : e.result += ae.repeat(`
2074
- `, l) : e.result += ae.repeat(`
2071
+ for (r ? Ie(u) ? (c = !0, e.result += re.repeat(`
2072
+ `, o ? 1 + l : l)) : c ? (c = !1, e.result += re.repeat(`
2073
+ `, l + 1)) : l === 0 ? o && (e.result += " ") : e.result += re.repeat(`
2074
+ `, l) : e.result += re.repeat(`
2075
2075
  `, o ? 1 + l : l), o = !0, i = !0, l = 0, t = e.position; !ge(u) && u !== 0; )
2076
2076
  u = e.input.charCodeAt(++e.position);
2077
2077
  Ce(e, t, e.position, !1);
@@ -2079,7 +2079,7 @@ function Jo(e, n) {
2079
2079
  return !0;
2080
2080
  }
2081
2081
  function Wt(e, n) {
2082
- var t, a = e.tag, r = e.anchor, o = [], i, s = !1, l;
2082
+ var t, r = e.tag, a = e.anchor, o = [], i, s = !1, l;
2083
2083
  if (e.firstTabInLine !== -1)
2084
2084
  return !1;
2085
2085
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !pe(i)))); ) {
@@ -2092,15 +2092,15 @@ function Wt(e, n) {
2092
2092
  else if (e.lineIndent < n)
2093
2093
  break;
2094
2094
  }
2095
- return s ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2095
+ return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
2096
2096
  }
2097
2097
  function Yo(e, n, t) {
2098
- var a, r, o, i, s, l, c = e.tag, d = e.anchor, u = {}, h = /* @__PURE__ */ Object.create(null), f = null, A = null, C = null, p = !1, S = !1, _;
2098
+ var r, a, o, i, s, l, c = e.tag, d = e.anchor, u = {}, h = /* @__PURE__ */ Object.create(null), f = null, A = null, C = null, p = !1, S = !1, _;
2099
2099
  if (e.firstTabInLine !== -1)
2100
2100
  return !1;
2101
2101
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
2102
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (_ === 63 || _ === 58) && pe(a))
2103
- _ === 63 ? (p && (Oe(e, u, h, f, A, null, i, s, l), f = A = C = null), S = !0, p = !0, r = !0) : p ? (p = !1, r = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = a;
2102
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (_ === 63 || _ === 58) && pe(r))
2103
+ _ === 63 ? (p && (Oe(e, u, h, f, A, null, i, s, l), f = A = C = null), S = !0, p = !0, a = !0) : p ? (p = !1, a = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
2104
2104
  else {
2105
2105
  if (i = e.line, s = e.lineStart, l = e.position, !Ke(e, t, Pn, !1, !0))
2106
2106
  break;
@@ -2108,7 +2108,7 @@ function Yo(e, n, t) {
2108
2108
  for (_ = e.input.charCodeAt(e.position); Ie(_); )
2109
2109
  _ = e.input.charCodeAt(++e.position);
2110
2110
  if (_ === 58)
2111
- _ = e.input.charCodeAt(++e.position), pe(_) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Oe(e, u, h, f, A, null, i, s, l), f = A = C = null), S = !0, p = !1, r = !1, f = e.tag, A = e.result;
2111
+ _ = e.input.charCodeAt(++e.position), pe(_) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Oe(e, u, h, f, A, null, i, s, l), f = A = C = null), S = !0, p = !1, a = !1, f = e.tag, A = e.result;
2112
2112
  else if (S)
2113
2113
  j(e, "can not read an implicit mapping pair; a colon is missed");
2114
2114
  else
@@ -2118,7 +2118,7 @@ function Yo(e, n, t) {
2118
2118
  else
2119
2119
  return e.tag = c, e.anchor = d, !0;
2120
2120
  }
2121
- if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Ke(e, n, ze, !0, r) && (p ? A = e.result : C = e.result), p || (Oe(e, u, h, f, A, C, i, s, l), f = A = C = null), ne(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && _ !== 0)
2121
+ if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Ke(e, n, ze, !0, a) && (p ? A = e.result : C = e.result), p || (Oe(e, u, h, f, A, C, i, s, l), f = A = C = null), ne(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && _ !== 0)
2122
2122
  j(e, "bad indentation of a mapping entry");
2123
2123
  else if (e.lineIndent < n)
2124
2124
  break;
@@ -2126,17 +2126,17 @@ function Yo(e, n, t) {
2126
2126
  return p && Oe(e, u, h, f, A, null, i, s, l), S && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), S;
2127
2127
  }
2128
2128
  function Wo(e) {
2129
- var n, t = !1, a = !1, r, o, i;
2129
+ var n, t = !1, r = !1, a, o, i;
2130
2130
  if (i = e.input.charCodeAt(e.position), i !== 33)
2131
2131
  return !1;
2132
- if (e.tag !== null && j(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (a = !0, r = "!!", i = e.input.charCodeAt(++e.position)) : r = "!", n = e.position, t) {
2132
+ if (e.tag !== null && j(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, a = "!!", i = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
2133
2133
  do
2134
2134
  i = e.input.charCodeAt(++e.position);
2135
2135
  while (i !== 0 && i !== 62);
2136
2136
  e.position < e.length ? (o = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2137
2137
  } else {
2138
2138
  for (; i !== 0 && !pe(i); )
2139
- i === 33 && (a ? j(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(n - 1, e.position + 1), Rn.test(r) || j(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2139
+ i === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Rn.test(a) || j(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2140
2140
  o = e.input.slice(n, e.position), qo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2141
2141
  }
2142
2142
  o && !Un.test(o) && j(e, "tag name cannot contain such characters: " + o);
@@ -2145,7 +2145,7 @@ function Wo(e) {
2145
2145
  } catch {
2146
2146
  j(e, "tag name is malformed: " + o);
2147
2147
  }
2148
- return t ? e.tag = o : ke.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : j(e, 'undeclared tag handle "' + r + '"'), !0;
2148
+ return t ? 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 : j(e, 'undeclared tag handle "' + a + '"'), !0;
2149
2149
  }
2150
2150
  function Zo(e) {
2151
2151
  var n, t;
@@ -2156,19 +2156,19 @@ function Zo(e) {
2156
2156
  return e.position === n && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2157
2157
  }
2158
2158
  function Qo(e) {
2159
- var n, t, a;
2160
- if (a = e.input.charCodeAt(e.position), a !== 42)
2159
+ var n, t, r;
2160
+ if (r = e.input.charCodeAt(e.position), r !== 42)
2161
2161
  return !1;
2162
- for (a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !pe(a) && !Ee(a); )
2163
- a = e.input.charCodeAt(++e.position);
2162
+ for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !pe(r) && !Ee(r); )
2163
+ r = e.input.charCodeAt(++e.position);
2164
2164
  return e.position === n && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), ke.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ne(e, !0, -1), !0;
2165
2165
  }
2166
- function Ke(e, n, t, a, r) {
2166
+ function Ke(e, n, t, r, a) {
2167
2167
  var o, i, s, l = 1, c = !1, d = !1, u, h, f, A, C, p;
2168
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = ze === t || Vn === t, a && ne(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2168
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = ze === t || Vn === t, r && ne(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2169
2169
  for (; Wo(e) || Zo(e); )
2170
2170
  ne(e, !0, -1) ? (c = !0, s = o, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2171
- if (s && (s = c || r), (l === 1 || ze === t) && (He === t || Pn === t ? C = n : C = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Wt(e, p) || Yo(e, p, C)) || zo(e, C) ? d = !0 : (i && Jo(e, C) || Go(e, C) || Ho(e, C) ? d = !0 : Qo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Do(e, C, He === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Wt(e, p))), e.tag === null)
2171
+ if (s && (s = c || a), (l === 1 || ze === t) && (He === t || Pn === t ? C = n : C = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Wt(e, p) || Yo(e, p, C)) || zo(e, C) ? d = !0 : (i && Jo(e, C) || Go(e, C) || Ho(e, C) ? d = !0 : Qo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Do(e, C, He === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Wt(e, p))), e.tag === null)
2172
2172
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2173
2173
  else if (e.tag === "?") {
2174
2174
  for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
@@ -2190,11 +2190,11 @@ function Ke(e, n, t, a, r) {
2190
2190
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2191
2191
  }
2192
2192
  function Xo(e) {
2193
- var n = e.position, t, a, r, o = !1, i;
2193
+ var n = e.position, t, r, a, o = !1, i;
2194
2194
  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 && (ne(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2195
2195
  for (o = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !pe(i); )
2196
2196
  i = e.input.charCodeAt(++e.position);
2197
- for (a = e.input.slice(t, e.position), r = [], a.length < 1 && j(e, "directive name must not be less than one character in length"); i !== 0; ) {
2197
+ for (r = e.input.slice(t, e.position), a = [], r.length < 1 && j(e, "directive name must not be less than one character in length"); i !== 0; ) {
2198
2198
  for (; Ie(i); )
2199
2199
  i = e.input.charCodeAt(++e.position);
2200
2200
  if (i === 35) {
@@ -2207,9 +2207,9 @@ function Xo(e) {
2207
2207
  break;
2208
2208
  for (t = e.position; i !== 0 && !pe(i); )
2209
2209
  i = e.input.charCodeAt(++e.position);
2210
- r.push(e.input.slice(t, e.position));
2210
+ a.push(e.input.slice(t, e.position));
2211
2211
  }
2212
- i !== 0 && wt(e), ke.call(Jt, a) ? Jt[a](e, a, r) : Je(e, 'unknown document directive "' + a + '"');
2212
+ i !== 0 && wt(e), ke.call(Jt, r) ? Jt[r](e, r, a) : Je(e, 'unknown document directive "' + r + '"');
2213
2213
  }
2214
2214
  if (ne(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, ne(e, !0, -1)) : o && j(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, ze, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Bo.test(e.input.slice(n, e.position)) && Je(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Xe(e)) {
2215
2215
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
@@ -2223,8 +2223,8 @@ function Xo(e) {
2223
2223
  function zn(e, n) {
2224
2224
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2225
2225
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2226
- var t = new Uo(e, n), a = e.indexOf("\0");
2227
- for (a !== -1 && (t.position = a, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2226
+ var t = new Uo(e, n), r = e.indexOf("\0");
2227
+ for (r !== -1 && (t.position = r, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2228
2228
  t.lineIndent += 1, t.position += 1;
2229
2229
  for (; t.position < t.length - 1; )
2230
2230
  Xo(t);
@@ -2232,11 +2232,11 @@ function zn(e, n) {
2232
2232
  }
2233
2233
  function ei(e, n, t) {
2234
2234
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2235
- var a = zn(e, t);
2235
+ var r = zn(e, t);
2236
2236
  if (typeof n != "function")
2237
- return a;
2238
- for (var r = 0, o = a.length; r < o; r += 1)
2239
- n(a[r]);
2237
+ return r;
2238
+ for (var a = 0, o = r.length; a < o; a += 1)
2239
+ n(r[a]);
2240
2240
  }
2241
2241
  function ti(e, n) {
2242
2242
  var t = zn(e, n);
@@ -2246,10 +2246,10 @@ function ti(e, n) {
2246
2246
  throw new se("expected a single document in the stream, but found more");
2247
2247
  }
2248
2248
  }
2249
- var ni = ei, ai = ti, Jn = {
2249
+ var ni = ei, ri = ti, Jn = {
2250
2250
  loadAll: ni,
2251
- load: ai
2252
- }, Yn = Object.prototype.toString, Wn = Object.prototype.hasOwnProperty, It = 65279, ri = 9, Le = 10, oi = 13, ii = 32, si = 33, li = 34, ct = 35, ui = 37, ci = 38, di = 39, pi = 42, Zn = 44, fi = 45, Ye = 58, mi = 61, gi = 62, yi = 63, hi = 64, Qn = 91, Xn = 93, vi = 96, ea = 123, bi = 124, ta = 125, ie = {};
2251
+ load: ri
2252
+ }, Yn = Object.prototype.toString, Wn = Object.prototype.hasOwnProperty, It = 65279, ai = 9, Le = 10, oi = 13, ii = 32, si = 33, li = 34, ct = 35, ui = 37, ci = 38, di = 39, pi = 42, Zn = 44, fi = 45, Ye = 58, mi = 61, gi = 62, yi = 63, hi = 64, Qn = 91, Xn = 93, vi = 96, er = 123, bi = 124, tr = 125, ie = {};
2253
2253
  ie[0] = "\\0";
2254
2254
  ie[7] = "\\a";
2255
2255
  ie[8] = "\\b";
@@ -2284,49 +2284,49 @@ var Ci = [
2284
2284
  "OFF"
2285
2285
  ], ki = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2286
2286
  function wi(e, n) {
2287
- var t, a, r, o, i, s, l;
2287
+ var t, r, a, o, i, s, l;
2288
2288
  if (n === null)
2289
2289
  return {};
2290
- for (t = {}, a = Object.keys(n), r = 0, o = a.length; r < o; r += 1)
2291
- i = a[r], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && Wn.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2290
+ for (t = {}, r = Object.keys(n), a = 0, o = r.length; a < o; a += 1)
2291
+ i = r[a], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && Wn.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2292
2292
  return t;
2293
2293
  }
2294
2294
  function _i(e) {
2295
- var n, t, a;
2295
+ var n, t, r;
2296
2296
  if (n = e.toString(16).toUpperCase(), e <= 255)
2297
- t = "x", a = 2;
2297
+ t = "x", r = 2;
2298
2298
  else if (e <= 65535)
2299
- t = "u", a = 4;
2299
+ t = "u", r = 4;
2300
2300
  else if (e <= 4294967295)
2301
- t = "U", a = 8;
2301
+ t = "U", r = 8;
2302
2302
  else
2303
2303
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2304
- return "\\" + t + ae.repeat("0", a - n.length) + n;
2304
+ return "\\" + t + re.repeat("0", r - n.length) + n;
2305
2305
  }
2306
2306
  var Ii = 1, Pe = 2;
2307
2307
  function Ai(e) {
2308
- 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 = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = wi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Pe : Ii, 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;
2308
+ 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 = re.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = wi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Pe : Ii, 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;
2309
2309
  }
2310
2310
  function Zt(e, n) {
2311
- for (var t = ae.repeat(" ", n), a = 0, r = -1, o = "", i, s = e.length; a < s; )
2312
- r = e.indexOf(`
2313
- `, a), r === -1 ? (i = e.slice(a), a = s) : (i = e.slice(a, r + 1), a = r + 1), i.length && i !== `
2311
+ for (var t = re.repeat(" ", n), r = 0, a = -1, o = "", i, s = e.length; r < s; )
2312
+ a = e.indexOf(`
2313
+ `, r), a === -1 ? (i = e.slice(r), r = s) : (i = e.slice(r, a + 1), r = a + 1), i.length && i !== `
2314
2314
  ` && (o += t), o += i;
2315
2315
  return o;
2316
2316
  }
2317
2317
  function dt(e, n) {
2318
2318
  return `
2319
- ` + ae.repeat(" ", e.indent * n);
2319
+ ` + re.repeat(" ", e.indent * n);
2320
2320
  }
2321
2321
  function Si(e, n) {
2322
- var t, a, r;
2323
- for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2324
- if (r = e.implicitTypes[t], r.resolve(n))
2322
+ var t, r, a;
2323
+ for (t = 0, r = e.implicitTypes.length; t < r; t += 1)
2324
+ if (a = e.implicitTypes[t], a.resolve(n))
2325
2325
  return !0;
2326
2326
  return !1;
2327
2327
  }
2328
2328
  function We(e) {
2329
- return e === ii || e === ri;
2329
+ return e === ii || e === ai;
2330
2330
  }
2331
2331
  function Ve(e) {
2332
2332
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== It || 65536 <= e && e <= 1114111;
@@ -2335,32 +2335,32 @@ function Qt(e) {
2335
2335
  return Ve(e) && e !== It && e !== oi && e !== Le;
2336
2336
  }
2337
2337
  function Xt(e, n, t) {
2338
- var a = Qt(e), r = a && !We(e);
2338
+ var r = Qt(e), a = r && !We(e);
2339
2339
  return (
2340
2340
  // ns-plain-safe
2341
2341
  (t ? (
2342
2342
  // c = flow-in
2343
- a
2344
- ) : a && e !== Zn && e !== Qn && e !== Xn && e !== ea && e !== ta) && e !== ct && !(n === Ye && !r) || Qt(n) && !We(n) && e === ct || n === Ye && r
2343
+ r
2344
+ ) : r && e !== Zn && e !== Qn && e !== Xn && e !== er && e !== tr) && e !== ct && !(n === Ye && !a) || Qt(n) && !We(n) && e === ct || n === Ye && a
2345
2345
  );
2346
2346
  }
2347
2347
  function xi(e) {
2348
- return Ve(e) && e !== It && !We(e) && e !== fi && e !== yi && e !== Ye && e !== Zn && e !== Qn && e !== Xn && e !== ea && e !== ta && e !== ct && e !== ci && e !== pi && e !== si && e !== bi && e !== mi && e !== gi && e !== di && e !== li && e !== ui && e !== hi && e !== vi;
2348
+ return Ve(e) && e !== It && !We(e) && e !== fi && e !== yi && e !== Ye && e !== Zn && e !== Qn && e !== Xn && e !== er && e !== tr && e !== ct && e !== ci && e !== pi && e !== si && e !== bi && e !== mi && e !== gi && e !== di && e !== li && e !== ui && e !== hi && e !== vi;
2349
2349
  }
2350
2350
  function Ti(e) {
2351
2351
  return !We(e) && e !== Ye;
2352
2352
  }
2353
2353
  function Be(e, n) {
2354
- var t = e.charCodeAt(n), a;
2355
- return t >= 55296 && t <= 56319 && n + 1 < e.length && (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343) ? (t - 55296) * 1024 + a - 56320 + 65536 : t;
2354
+ var t = e.charCodeAt(n), r;
2355
+ return t >= 55296 && t <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (t - 55296) * 1024 + r - 56320 + 65536 : t;
2356
2356
  }
2357
- function na(e) {
2357
+ function nr(e) {
2358
2358
  var n = /^\n* /;
2359
2359
  return n.test(e);
2360
2360
  }
2361
- var aa = 1, pt = 2, ra = 3, oa = 4, je = 5;
2362
- function $i(e, n, t, a, r, o, i, s) {
2363
- var l, c = 0, d = null, u = !1, h = !1, f = a !== -1, A = -1, C = xi(Be(e, 0)) && Ti(Be(e, e.length - 1));
2361
+ var rr = 1, pt = 2, ar = 3, or = 4, je = 5;
2362
+ function $i(e, n, t, r, a, o, i, s) {
2363
+ var l, c = 0, d = null, u = !1, h = !1, f = r !== -1, A = -1, C = xi(Be(e, 0)) && Ti(Be(e, e.length - 1));
2364
2364
  if (n || i)
2365
2365
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2366
2366
  if (c = Be(e, l), !Ve(c))
@@ -2371,22 +2371,22 @@ function $i(e, n, t, a, r, o, i, s) {
2371
2371
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2372
2372
  if (c = Be(e, l), c === Le)
2373
2373
  u = !0, f && (h = h || // Foldable line = too long, and not more-indented.
2374
- l - A - 1 > a && e[A + 1] !== " ", A = l);
2374
+ l - A - 1 > r && e[A + 1] !== " ", A = l);
2375
2375
  else if (!Ve(c))
2376
2376
  return je;
2377
2377
  C = C && Xt(c, d, s), d = c;
2378
2378
  }
2379
- h = h || f && l - A - 1 > a && e[A + 1] !== " ";
2379
+ h = h || f && l - A - 1 > r && e[A + 1] !== " ";
2380
2380
  }
2381
- return !u && !h ? C && !i && !r(e) ? aa : o === Pe ? je : pt : t > 9 && na(e) ? je : i ? o === Pe ? je : pt : h ? oa : ra;
2381
+ return !u && !h ? C && !i && !a(e) ? rr : o === Pe ? je : pt : t > 9 && nr(e) ? je : i ? o === Pe ? je : pt : h ? or : ar;
2382
2382
  }
2383
- function Mi(e, n, t, a, r) {
2383
+ function Mi(e, n, t, r, a) {
2384
2384
  e.dump = function() {
2385
2385
  if (n.length === 0)
2386
2386
  return e.quotingType === Pe ? '""' : "''";
2387
2387
  if (!e.noCompatMode && (Ci.indexOf(n) !== -1 || ki.test(n)))
2388
2388
  return e.quotingType === Pe ? '"' + n + '"' : "'" + n + "'";
2389
- var o = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = a || e.flowLevel > -1 && t >= e.flowLevel;
2389
+ var o = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2390
2390
  function l(c) {
2391
2391
  return Si(e, c);
2392
2392
  }
@@ -2397,16 +2397,16 @@ function Mi(e, n, t, a, r) {
2397
2397
  i,
2398
2398
  l,
2399
2399
  e.quotingType,
2400
- e.forceQuotes && !a,
2401
- r
2400
+ e.forceQuotes && !r,
2401
+ a
2402
2402
  )) {
2403
- case aa:
2403
+ case rr:
2404
2404
  return n;
2405
2405
  case pt:
2406
2406
  return "'" + n.replace(/'/g, "''") + "'";
2407
- case ra:
2407
+ case ar:
2408
2408
  return "|" + en(n, e.indent) + tn(Zt(n, o));
2409
- case oa:
2409
+ case or:
2410
2410
  return ">" + en(n, e.indent) + tn(Zt(ji(n, i), o));
2411
2411
  case je:
2412
2412
  return '"' + Ei(n) + '"';
@@ -2416,10 +2416,10 @@ function Mi(e, n, t, a, r) {
2416
2416
  }();
2417
2417
  }
2418
2418
  function en(e, n) {
2419
- var t = na(e) ? String(n) : "", a = e[e.length - 1] === `
2420
- `, r = a && (e[e.length - 2] === `
2419
+ var t = nr(e) ? String(n) : "", r = e[e.length - 1] === `
2420
+ `, a = r && (e[e.length - 2] === `
2421
2421
  ` || e === `
2422
- `), o = r ? "+" : a ? "" : "-";
2422
+ `), o = a ? "+" : r ? "" : "-";
2423
2423
  return t + o + `
2424
2424
  `;
2425
2425
  }
@@ -2428,53 +2428,53 @@ function tn(e) {
2428
2428
  ` ? e.slice(0, -1) : e;
2429
2429
  }
2430
2430
  function ji(e, n) {
2431
- for (var t = /(\n+)([^\n]*)/g, a = function() {
2431
+ for (var t = /(\n+)([^\n]*)/g, r = function() {
2432
2432
  var c = e.indexOf(`
2433
2433
  `);
2434
2434
  return c = c !== -1 ? c : e.length, t.lastIndex = c, nn(e.slice(0, c), n);
2435
- }(), r = e[0] === `
2435
+ }(), a = e[0] === `
2436
2436
  ` || e[0] === " ", o, i; i = t.exec(e); ) {
2437
2437
  var s = i[1], l = i[2];
2438
- o = l[0] === " ", a += s + (!r && !o && l !== "" ? `
2439
- ` : "") + nn(l, n), r = o;
2438
+ o = l[0] === " ", r += s + (!a && !o && l !== "" ? `
2439
+ ` : "") + nn(l, n), a = o;
2440
2440
  }
2441
- return a;
2441
+ return r;
2442
2442
  }
2443
2443
  function nn(e, n) {
2444
2444
  if (e === "" || e[0] === " ")
2445
2445
  return e;
2446
- for (var t = / [^ ]/g, a, r = 0, o, i = 0, s = 0, l = ""; a = t.exec(e); )
2447
- s = a.index, s - r > n && (o = i > r ? i : s, l += `
2448
- ` + e.slice(r, o), r = o + 1), i = s;
2446
+ for (var t = / [^ ]/g, r, a = 0, o, i = 0, s = 0, l = ""; r = t.exec(e); )
2447
+ s = r.index, s - a > n && (o = i > a ? i : s, l += `
2448
+ ` + e.slice(a, o), a = o + 1), i = s;
2449
2449
  return l += `
2450
- `, e.length - r > n && i > r ? l += e.slice(r, i) + `
2451
- ` + e.slice(i + 1) : l += e.slice(r), l.slice(1);
2450
+ `, e.length - a > n && i > a ? l += e.slice(a, i) + `
2451
+ ` + e.slice(i + 1) : l += e.slice(a), l.slice(1);
2452
2452
  }
2453
2453
  function Ei(e) {
2454
- for (var n = "", t = 0, a, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2455
- t = Be(e, r), a = ie[t], !a && Ve(t) ? (n += e[r], t >= 65536 && (n += e[r + 1])) : n += a || _i(t);
2454
+ for (var n = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2455
+ t = Be(e, a), r = ie[t], !r && Ve(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || _i(t);
2456
2456
  return n;
2457
2457
  }
2458
2458
  function Oi(e, n, t) {
2459
- var a = "", r = e.tag, o, i, s;
2459
+ var r = "", a = e.tag, o, i, s;
2460
2460
  for (o = 0, i = t.length; o < i; o += 1)
2461
- s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (ve(e, n, s, !1, !1) || typeof s > "u" && ve(e, n, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2462
- e.tag = r, e.dump = "[" + a + "]";
2461
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (ve(e, n, s, !1, !1) || typeof s > "u" && ve(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2462
+ e.tag = a, e.dump = "[" + r + "]";
2463
2463
  }
2464
- function an(e, n, t, a) {
2465
- var r = "", o = e.tag, i, s, l;
2464
+ function rn(e, n, t, r) {
2465
+ var a = "", o = e.tag, i, s, l;
2466
2466
  for (i = 0, s = t.length; i < s; i += 1)
2467
- l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (ve(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && ve(e, n + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += dt(e, n)), e.dump && Le === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2468
- e.tag = o, e.dump = r || "[]";
2467
+ l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (ve(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && ve(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += dt(e, n)), e.dump && Le === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2468
+ e.tag = o, e.dump = a || "[]";
2469
2469
  }
2470
2470
  function Fi(e, n, t) {
2471
- var a = "", r = e.tag, o = Object.keys(t), i, s, l, c, d;
2471
+ var r = "", a = e.tag, o = Object.keys(t), i, s, l, c, d;
2472
2472
  for (i = 0, s = o.length; i < s; i += 1)
2473
- d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = o[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), ve(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ve(e, n, c, !1, !1) && (d += e.dump, a += d));
2474
- e.tag = r, e.dump = "{" + a + "}";
2473
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = o[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), ve(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ve(e, n, c, !1, !1) && (d += e.dump, r += d));
2474
+ e.tag = a, e.dump = "{" + r + "}";
2475
2475
  }
2476
- function Ki(e, n, t, a) {
2477
- var r = "", o = e.tag, i = Object.keys(t), s, l, c, d, u, h;
2476
+ function Ki(e, n, t, r) {
2477
+ var a = "", o = e.tag, i = Object.keys(t), s, l, c, d, u, h;
2478
2478
  if (e.sortKeys === !0)
2479
2479
  i.sort();
2480
2480
  else if (typeof e.sortKeys == "function")
@@ -2482,38 +2482,38 @@ function Ki(e, n, t, a) {
2482
2482
  else if (e.sortKeys)
2483
2483
  throw new se("sortKeys must be a boolean or a function");
2484
2484
  for (s = 0, l = i.length; s < l; s += 1)
2485
- h = "", (!a || r !== "") && (h += dt(e, n)), c = i[s], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), ve(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Le === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += dt(e, n)), ve(e, n + 1, d, !0, u) && (e.dump && Le === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, r += h));
2486
- e.tag = o, e.dump = r || "{}";
2485
+ h = "", (!r || a !== "") && (h += dt(e, n)), c = i[s], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), ve(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Le === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += dt(e, n)), ve(e, n + 1, d, !0, u) && (e.dump && Le === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, a += h));
2486
+ e.tag = o, e.dump = a || "{}";
2487
2487
  }
2488
- function rn(e, n, t) {
2489
- var a, r, o, i, s, l;
2490
- for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, i = r.length; o < i; o += 1)
2491
- if (s = r[o], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2488
+ function an(e, n, t) {
2489
+ var r, a, o, i, s, l;
2490
+ for (a = t ? e.explicitTypes : e.implicitTypes, o = 0, i = a.length; o < i; o += 1)
2491
+ if (s = a[o], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2492
2492
  if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2493
2493
  if (l = e.styleMap[s.tag] || s.defaultStyle, Yn.call(s.represent) === "[object Function]")
2494
- a = s.represent(n, l);
2494
+ r = s.represent(n, l);
2495
2495
  else if (Wn.call(s.represent, l))
2496
- a = s.represent[l](n, l);
2496
+ r = s.represent[l](n, l);
2497
2497
  else
2498
2498
  throw new se("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
2499
- e.dump = a;
2499
+ e.dump = r;
2500
2500
  }
2501
2501
  return !0;
2502
2502
  }
2503
2503
  return !1;
2504
2504
  }
2505
- function ve(e, n, t, a, r, o, i) {
2506
- e.tag = null, e.dump = t, rn(e, t, !1) || rn(e, t, !0);
2507
- var s = Yn.call(e.dump), l = a, c;
2508
- a && (a = e.flowLevel < 0 || e.flowLevel > n);
2505
+ function ve(e, n, t, r, a, o, i) {
2506
+ e.tag = null, e.dump = t, an(e, t, !1) || an(e, t, !0);
2507
+ var s = Yn.call(e.dump), l = r, c;
2508
+ r && (r = e.flowLevel < 0 || e.flowLevel > n);
2509
2509
  var d = s === "[object Object]" || s === "[object Array]", u, h;
2510
- if (d && (u = e.duplicates.indexOf(t), h = u !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && n > 0) && (r = !1), h && e.usedDuplicates[u])
2510
+ if (d && (u = e.duplicates.indexOf(t), h = u !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && n > 0) && (a = !1), h && e.usedDuplicates[u])
2511
2511
  e.dump = "*ref_" + u;
2512
2512
  else {
2513
2513
  if (d && h && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), s === "[object Object]")
2514
- a && Object.keys(e.dump).length !== 0 ? (Ki(e, n, e.dump, r), h && (e.dump = "&ref_" + u + e.dump)) : (Fi(e, n, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2514
+ r && Object.keys(e.dump).length !== 0 ? (Ki(e, n, e.dump, a), h && (e.dump = "&ref_" + u + e.dump)) : (Fi(e, n, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2515
2515
  else if (s === "[object Array]")
2516
- a && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? an(e, n - 1, e.dump, r) : an(e, n, e.dump, r), h && (e.dump = "&ref_" + u + e.dump)) : (Oi(e, n, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2516
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? rn(e, n - 1, e.dump, a) : rn(e, n, e.dump, a), h && (e.dump = "&ref_" + u + e.dump)) : (Oi(e, n, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2517
2517
  else if (s === "[object String]")
2518
2518
  e.tag !== "?" && Mi(e, e.dump, n, o, l);
2519
2519
  else {
@@ -2528,29 +2528,29 @@ function ve(e, n, t, a, r, o, i) {
2528
2528
  return !0;
2529
2529
  }
2530
2530
  function Ni(e, n) {
2531
- var t = [], a = [], r, o;
2532
- for (ft(e, t, a), r = 0, o = a.length; r < o; r += 1)
2533
- n.duplicates.push(t[a[r]]);
2531
+ var t = [], r = [], a, o;
2532
+ for (ft(e, t, r), a = 0, o = r.length; a < o; a += 1)
2533
+ n.duplicates.push(t[r[a]]);
2534
2534
  n.usedDuplicates = new Array(o);
2535
2535
  }
2536
2536
  function ft(e, n, t) {
2537
- var a, r, o;
2537
+ var r, a, o;
2538
2538
  if (e !== null && typeof e == "object")
2539
- if (r = n.indexOf(e), r !== -1)
2540
- t.indexOf(r) === -1 && t.push(r);
2539
+ if (a = n.indexOf(e), a !== -1)
2540
+ t.indexOf(a) === -1 && t.push(a);
2541
2541
  else if (n.push(e), Array.isArray(e))
2542
- for (r = 0, o = e.length; r < o; r += 1)
2543
- ft(e[r], n, t);
2542
+ for (a = 0, o = e.length; a < o; a += 1)
2543
+ ft(e[a], n, t);
2544
2544
  else
2545
- for (a = Object.keys(e), r = 0, o = a.length; r < o; r += 1)
2546
- ft(e[a[r]], n, t);
2545
+ for (r = Object.keys(e), a = 0, o = r.length; a < o; a += 1)
2546
+ ft(e[r[a]], n, t);
2547
2547
  }
2548
2548
  function Bi(e, n) {
2549
2549
  n = n || {};
2550
2550
  var t = new Ai(n);
2551
2551
  t.noRefs || Ni(e, t);
2552
- var a = e;
2553
- return t.replacer && (a = t.replacer.call({ "": a }, "", a)), ve(t, 0, a, !0, !0) ? t.dump + `
2552
+ var r = e;
2553
+ return t.replacer && (r = t.replacer.call({ "": r }, "", r)), ve(t, 0, r, !0, !0) ? t.dump + `
2554
2554
  ` : "";
2555
2555
  }
2556
2556
  var qi = Bi, Li = {
@@ -2594,10 +2594,10 @@ var Pi = oe, Vi = kn, Ri = An, Ui = Mn, Di = jn, Gi = kt, Hi = Jn.load, zi = Jn.
2594
2594
  const ts = {
2595
2595
  key: 0,
2596
2596
  class: "config-card-display-form"
2597
- }, ns = ["data-testid"], as = {
2597
+ }, ns = ["data-testid"], rs = {
2598
2598
  key: 0,
2599
2599
  class: "config-card-prop-section-title"
2600
- }, rs = {
2600
+ }, as = {
2601
2601
  key: 1,
2602
2602
  class: "config-card-display-json"
2603
2603
  }, os = {
@@ -2629,7 +2629,7 @@ const ts = {
2629
2629
  }
2630
2630
  },
2631
2631
  setup(e) {
2632
- const n = e, t = Ze(), { i18n: { t: a } } = re.useI18n(), r = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), o = F(""), i = F("");
2632
+ const n = e, t = Ze(), { i18n: { t: r } } = ae.useI18n(), a = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), o = F(""), i = F("");
2633
2633
  return ye(() => n.format, (s) => {
2634
2634
  s === "json" ? o.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = es.dump(n.record));
2635
2635
  }, { immediate: !0 }), (s, l) => {
@@ -2641,7 +2641,7 @@ const ts = {
2641
2641
  class: Ae(`config-card-details-${d}-props`),
2642
2642
  "data-testid": `config-card-details-${d}-props`
2643
2643
  }, [
2644
- d !== "basic" ? (m(), T("div", as, M(d === "advanced" ? g(a)("baseConfigCard.sections.advanced") : g(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2644
+ d !== "basic" ? (m(), T("div", rs, M(d === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2645
2645
  (m(!0), T(fe, null, de(e.propertyCollections[d], (u) => (m(), D(bt, {
2646
2646
  key: u.key,
2647
2647
  item: u
@@ -2657,7 +2657,7 @@ const ts = {
2657
2657
  ]),
2658
2658
  _: 2
2659
2659
  }, [
2660
- r(u) ? {
2660
+ a(u) ? {
2661
2661
  name: "label-tooltip",
2662
2662
  fn: y(() => [
2663
2663
  Y(s.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
@@ -2667,7 +2667,7 @@ const ts = {
2667
2667
  ]), 1032, ["item"]))), 128))
2668
2668
  ], 10, ns))), 128))
2669
2669
  ])) : G("", !0),
2670
- e.format === "json" ? (m(), T("div", rs, [
2670
+ e.format === "json" ? (m(), T("div", as, [
2671
2671
  O(c, {
2672
2672
  id: "config-card-codeblock",
2673
2673
  code: o.value,
@@ -2688,8 +2688,8 @@ const ts = {
2688
2688
  }
2689
2689
  }), ss = /* @__PURE__ */ me(is, [["__scopeId", "data-v-6c45e9e4"]]), on = "24px", ls = (e, n) => {
2690
2690
  const t = e.__vccOpts || e;
2691
- for (const [a, r] of n)
2692
- t[a] = r;
2691
+ for (const [r, a] of n)
2692
+ t[r] = a;
2693
2693
  return t;
2694
2694
  }, us = (e) => (un("data-v-dd88a2bb"), e = e(), cn(), e), cs = ["aria-hidden"], ds = {
2695
2695
  key: 0,
@@ -2753,12 +2753,12 @@ const ts = {
2753
2753
  if (typeof n.size == "number" && n.size > 0)
2754
2754
  return `${n.size}px`;
2755
2755
  if (typeof n.size == "string") {
2756
- const r = String(n.size).replace(/px/gi, ""), o = Number(r);
2756
+ const a = String(n.size).replace(/px/gi, ""), o = Number(a);
2757
2757
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2758
2758
  return `${o}px`;
2759
2759
  }
2760
2760
  return on;
2761
- }), a = $(() => ({
2761
+ }), r = $(() => ({
2762
2762
  boxSizing: "border-box",
2763
2763
  color: n.color,
2764
2764
  display: n.display,
@@ -2766,11 +2766,11 @@ const ts = {
2766
2766
  lineHeight: "0",
2767
2767
  width: t.value
2768
2768
  }));
2769
- return (r, o) => (m(), D(Fe(e.as), {
2769
+ return (a, o) => (m(), D(Fe(e.as), {
2770
2770
  "aria-hidden": e.decorative ? "true" : void 0,
2771
2771
  class: "kui-icon book-icon",
2772
2772
  "data-testid": "kui-icon-wrapper-book-icon",
2773
- style: ln(a.value)
2773
+ style: ln(r.value)
2774
2774
  }, {
2775
2775
  default: y(() => [
2776
2776
  (m(), T("svg", {
@@ -2874,8 +2874,8 @@ const ts = {
2874
2874
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2875
2875
  setup(e, { emit: n }) {
2876
2876
  var t;
2877
- const a = e, r = Ze(), { i18n: { t: o } } = re.useI18n(), { getMessageFromError: i } = re.useErrors(), { convertKeyToTitle: s } = re.useStringHelpers(), { axiosInstance: l } = re.useAxios({
2878
- headers: (t = a.config) == null ? void 0 : t.requestHeaders
2877
+ const r = e, a = Ze(), { i18n: { t: o } } = ae.useI18n(), { getMessageFromError: i } = ae.useErrors(), { convertKeyToTitle: s } = ae.useStringHelpers(), { axiosInstance: l } = ae.useAxios({
2878
+ headers: (t = r.config) == null ? void 0 : t.requestHeaders
2879
2879
  }), c = [
2880
2880
  {
2881
2881
  label: o("baseConfigCard.general.structuredFormat"),
@@ -2932,7 +2932,7 @@ const ts = {
2932
2932
  return [];
2933
2933
  const B = [], I = Object.keys(p.value).length;
2934
2934
  for (const E in p.value) {
2935
- const L = (k = (b = a.configSchema) == null ? void 0 : b[E]) == null ? void 0 : k.order, U = (V = h[E]) == null ? void 0 : V.order;
2935
+ const L = (k = (b = r.configSchema) == null ? void 0 : b[E]) == null ? void 0 : k.order, U = (V = h[E]) == null ? void 0 : V.order;
2936
2936
  let Z = I;
2937
2937
  (U || U === 0) && (Z = U === -1 ? I + 1 : U), L && (Z = L === -1 ? I + 1 : L), B.push([E, Z]);
2938
2938
  }
@@ -2940,7 +2940,7 @@ const ts = {
2940
2940
  return E[1] - L[1];
2941
2941
  }), B.map((E) => {
2942
2942
  var L, U;
2943
- const Z = E[0], z = (L = p.value) == null ? void 0 : L[Z], Q = ((U = a.configSchema) == null ? void 0 : U[Z]) || {}, le = h[Z];
2943
+ const Z = E[0], z = (L = p.value) == null ? void 0 : L[Z], Q = ((U = r.configSchema) == null ? void 0 : U[Z]) || {}, le = h[Z];
2944
2944
  return {
2945
2945
  key: Z,
2946
2946
  value: z,
@@ -2950,14 +2950,14 @@ const ts = {
2950
2950
  tooltip: Q.tooltip ?? ((le == null ? void 0 : le.tooltip) || void 0),
2951
2951
  section: Q.section ?? ((le == null ? void 0 : le.section) || ce.Advanced)
2952
2952
  };
2953
- }).filter((E) => !E.hidden && E.key !== a.pluginConfigKey);
2953
+ }).filter((E) => !E.hidden && E.key !== r.pluginConfigKey);
2954
2954
  }), _ = $(() => {
2955
2955
  var b, k;
2956
- if (!p.value || !a.pluginConfigKey)
2956
+ if (!p.value || !r.pluginConfigKey)
2957
2957
  return [];
2958
- const V = p.value[a.pluginConfigKey] || {}, B = Object.keys(V).length, I = [];
2958
+ const V = p.value[r.pluginConfigKey] || {}, B = Object.keys(V).length, I = [];
2959
2959
  for (const E in V) {
2960
- const L = (k = (b = a.pluginConfigSchema) == null ? void 0 : b[E]) == null ? void 0 : k.order, U = V[E];
2960
+ const L = (k = (b = r.pluginConfigSchema) == null ? void 0 : b[E]) == null ? void 0 : k.order, U = V[E];
2961
2961
  let Z = U != null && U !== "" ? B - 1 : B;
2962
2962
  L && (Z = L === -1 ? B + 1 : L), I.push([E, Z]);
2963
2963
  }
@@ -2965,7 +2965,7 @@ const ts = {
2965
2965
  return E[1] - L[1];
2966
2966
  }), I.map((E) => {
2967
2967
  var L;
2968
- const U = E[0], Z = V[U], z = ((L = a.pluginConfigSchema) == null ? void 0 : L[U]) || {};
2968
+ const U = E[0], Z = V[U], z = ((L = r.pluginConfigSchema) == null ? void 0 : L[U]) || {};
2969
2969
  return {
2970
2970
  key: U,
2971
2971
  value: Z,
@@ -2986,10 +2986,10 @@ const ts = {
2986
2986
  }), v = $(() => {
2987
2987
  const b = [];
2988
2988
  return q.value.basic.length && b.push("basic"), q.value.advanced.length && b.push("advanced"), q.value.plugin.length && b.push("plugin"), b;
2989
- }), w = (b) => !!(b.tooltip || r[`${b.key}-label-tooltip`]), N = $(() => {
2989
+ }), w = (b) => !!(b.tooltip || a[`${b.key}-label-tooltip`]), N = $(() => {
2990
2990
  var b, k;
2991
- let V = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2992
- return a.config.app === "konnect" ? V = V.replace(/{controlPlaneId}/gi, ((b = a.config) == null ? void 0 : b.controlPlaneId) || "") : a.config.app === "kongManager" && (V = V.replace(/\/{workspace}/gi, (k = a.config) != null && k.workspace ? `/${a.config.workspace}` : "")), V = V.replace(/{id}/gi, a.config.entityId), V;
2991
+ let V = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2992
+ return r.config.app === "konnect" ? V = V.replace(/{controlPlaneId}/gi, ((b = r.config) == null ? void 0 : b.controlPlaneId) || "") : r.config.app === "kongManager" && (V = V.replace(/\/{workspace}/gi, (k = r.config) != null && k.workspace ? `/${r.config.workspace}` : "")), V = V.replace(/{id}/gi, r.config.entityId), V;
2993
2993
  }), R = (b) => {
2994
2994
  p.value && b(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2995
2995
  };
@@ -2999,14 +2999,14 @@ const ts = {
2999
2999
  A.value = !1, f.value = !0;
3000
3000
  try {
3001
3001
  const { data: b } = await l.get(N.value);
3002
- if (a.dataKey)
3003
- if (typeof b[a.dataKey] < "u")
3004
- p.value = { ...b[a.dataKey] };
3002
+ if (r.dataKey)
3003
+ if (typeof b[r.dataKey] < "u")
3004
+ p.value = { ...b[r.dataKey] };
3005
3005
  else
3006
- throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3006
+ throw new Error(o("errors.dataKeyUndefined", { dataKey: r.dataKey }));
3007
3007
  else
3008
3008
  p.value = { ...b };
3009
- Object.keys(a.configSchema).filter((k) => a.configSchema[k].forceShow).forEach((k) => {
3009
+ Object.keys(r.configSchema).filter((k) => r.configSchema[k].forceShow).forEach((k) => {
3010
3010
  p.value && typeof p.value[k] > "u" && (p.value[k] = null);
3011
3011
  }), n("fetch:success", b);
3012
3012
  } catch (b) {
@@ -3038,7 +3038,7 @@ const ts = {
3038
3038
  items: c,
3039
3039
  onChange: u
3040
3040
  })) : G("", !0),
3041
- a.config.jsonYamlEnabled && e.configCardDoc ? (m(), D(I, {
3041
+ r.config.jsonYamlEnabled && e.configCardDoc ? (m(), D(I, {
3042
3042
  key: 2,
3043
3043
  appearance: "tertiary",
3044
3044
  class: "book-icon",
@@ -3050,7 +3050,7 @@ const ts = {
3050
3050
  rel: "noopener",
3051
3051
  target: "_blank"
3052
3052
  }, [
3053
- O(g(ms), { size: g(kr) }, null, 8, ["size"])
3053
+ O(g(ms), { size: g(ka) }, null, 8, ["size"])
3054
3054
  ], 8, hs)
3055
3055
  ]),
3056
3056
  _: 1
@@ -3155,7 +3155,7 @@ const ts = {
3155
3155
  ]), 1024);
3156
3156
  };
3157
3157
  }
3158
- }), _s = /* @__PURE__ */ me(ws, [["__scopeId", "data-v-24515123"]]), Is = ["onReset", "onSubmit"], As = {
3158
+ }), _s = /* @__PURE__ */ me(ws, [["__scopeId", "data-v-b3999889"]]), Is = ["onReset", "onSubmit"], As = {
3159
3159
  class: "form-actions",
3160
3160
  "data-testid": "form-actions"
3161
3161
  }, Ss = /* @__PURE__ */ te({
@@ -3208,16 +3208,16 @@ const ts = {
3208
3208
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3209
3209
  setup(e, { emit: n }) {
3210
3210
  var t;
3211
- const a = e, r = gt(), { i18n: { t: o } } = re.useI18n(), { getMessageFromError: i } = re.useErrors(), { axiosInstance: s } = re.useAxios({
3212
- headers: (t = a.config) == null ? void 0 : t.requestHeaders
3213
- }), l = F(!1), c = F(!1), d = F(""), u = $(() => a.canSubmit === !1 || a.isReadonly), h = $(() => {
3211
+ const r = e, a = gt(), { i18n: { t: o } } = ae.useI18n(), { getMessageFromError: i } = ae.useErrors(), { axiosInstance: s } = ae.useAxios({
3212
+ headers: (t = r.config) == null ? void 0 : t.requestHeaders
3213
+ }), l = F(!1), c = F(!1), d = F(""), u = $(() => r.canSubmit === !1 || r.isReadonly), h = $(() => {
3214
3214
  var p, S;
3215
- if (!a.editId)
3215
+ if (!r.editId)
3216
3216
  return "";
3217
- let _ = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3218
- return a.config.app === "konnect" ? _ = _.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (_ = _.replace(/\/{workspace}/gi, (S = a.config) != null && S.workspace ? `/${a.config.workspace}` : "")), _ = _.replace(/{id}/gi, a.editId), _;
3217
+ let _ = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3218
+ return r.config.app === "konnect" ? _ = _.replace(/{controlPlaneId}/gi, ((p = r.config) == null ? void 0 : p.controlPlaneId) || "") : r.config.app === "kongManager" && (_ = _.replace(/\/{workspace}/gi, (S = r.config) != null && S.workspace ? `/${r.config.workspace}` : "")), _ = _.replace(/{id}/gi, r.editId), _;
3219
3219
  }), f = () => {
3220
- a.config.cancelRoute ? r.push(a.config.cancelRoute) : A();
3220
+ r.config.cancelRoute ? a.push(r.config.cancelRoute) : A();
3221
3221
  }, A = () => {
3222
3222
  n("cancel");
3223
3223
  }, C = () => {
@@ -3226,7 +3226,7 @@ const ts = {
3226
3226
  return ye(() => l.value, (p) => {
3227
3227
  n("loading", p);
3228
3228
  }, { immediate: !0 }), mt(async () => {
3229
- if (a.editId)
3229
+ if (r.editId)
3230
3230
  try {
3231
3231
  c.value = !1, l.value = !0;
3232
3232
  const { data: p } = await s.get(h.value);
@@ -3319,10 +3319,10 @@ const ts = {
3319
3319
  const n = e, t = $(() => {
3320
3320
  var C;
3321
3321
  return ((C = n.rowEl) == null ? void 0 : C.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3322
- }), a = $(() => {
3322
+ }), r = $(() => {
3323
3323
  var C;
3324
3324
  return ((C = t.value) == null ? void 0 : C.querySelector('[data-testid="first-col"]')) || null;
3325
- }), r = $(() => {
3325
+ }), a = $(() => {
3326
3326
  var C, p;
3327
3327
  const S = (C = n.rowEl) == null ? void 0 : C.querySelectorAll("td");
3328
3328
  return S ? ((p = S[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
@@ -3332,11 +3332,11 @@ const ts = {
3332
3332
  o && (o.disconnect(), o = void 0);
3333
3333
  }, s = () => {
3334
3334
  var C, p, S;
3335
- c.value = ((C = a.value) == null ? void 0 : C.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((S = l.value) == null ? void 0 : S.innerText) || "";
3336
- }, l = F({}), c = F(0), d = F(0), u = F(""), h = $(() => [a.value, t.value]), f = ye(
3335
+ c.value = ((C = r.value) == null ? void 0 : C.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((S = l.value) == null ? void 0 : S.innerText) || "";
3336
+ }, l = F({}), c = F(0), d = F(0), u = F(""), h = $(() => [r.value, t.value]), f = ye(
3337
3337
  h,
3338
3338
  (C) => {
3339
- if (r.value && (i(), "ResizeObserver" in window && window)) {
3339
+ if (a.value && (i(), "ResizeObserver" in window && window)) {
3340
3340
  o = new ResizeObserver((p) => {
3341
3341
  window.requestAnimationFrame(() => {
3342
3342
  !Array.isArray(p) || !p.length || s();
@@ -3347,10 +3347,10 @@ const ts = {
3347
3347
  }
3348
3348
  },
3349
3349
  { immediate: !0, flush: "post", deep: !0 }
3350
- ), A = $(() => r.value ? c.value > d.value : !1);
3351
- return ya(() => {
3350
+ ), A = $(() => a.value ? c.value > d.value : !1);
3351
+ return yr(() => {
3352
3352
  s();
3353
- }), ha(() => {
3353
+ }), hr(() => {
3354
3354
  f();
3355
3355
  }), (C, p) => {
3356
3356
  const S = P("KTooltip");
@@ -3359,7 +3359,7 @@ const ts = {
3359
3359
  ref: l,
3360
3360
  class: "content-wrapper"
3361
3361
  }, [
3362
- r.value ? (m(), T("span", Ts, [
3362
+ a.value ? (m(), T("span", Ts, [
3363
3363
  O(S, {
3364
3364
  label: A.value ? u.value : "",
3365
3365
  "max-width": "300",
@@ -3487,7 +3487,7 @@ const ts = {
3487
3487
  },
3488
3488
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3489
3489
  setup(e, { emit: n }) {
3490
- const t = e, { i18n: { t: a } } = re.useI18n(), r = $(() => {
3490
+ const t = e, { i18n: { t: r } } = ae.useI18n(), a = $(() => {
3491
3491
  var v, w;
3492
3492
  return typeof t.errorMessage == "string" ? {
3493
3493
  hasError: !!t.errorMessage,
@@ -3536,7 +3536,7 @@ const ts = {
3536
3536
  n("click:row", w);
3537
3537
  }), C = (v) => {
3538
3538
  n("sort", v);
3539
- }, { setTablePreferences: p, getTablePreferences: S } = Sa(), _ = $(() => {
3539
+ }, { setTablePreferences: p, getTablePreferences: S } = Sr(), _ = $(() => {
3540
3540
  const v = S(t.preferencesStorageKey);
3541
3541
  return {
3542
3542
  ...t.initialFetcherParams,
@@ -3560,18 +3560,18 @@ const ts = {
3560
3560
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3561
3561
  "disable-sorting": e.disableSorting,
3562
3562
  "empty-state-action-button-icon": e.query ? "" : "plus",
3563
- "empty-state-action-message": e.query ? g(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3563
+ "empty-state-action-message": e.query ? g(r)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3564
3564
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3565
3565
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3566
3566
  "empty-state-icon-size": "96",
3567
- "empty-state-message": e.query ? g(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3568
- "empty-state-title": e.query ? g(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3567
+ "empty-state-message": e.query ? g(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3568
+ "empty-state-title": e.query ? g(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3569
3569
  "enable-client-sort": e.enableClientSort,
3570
- "error-state-message": r.value.message,
3571
- "error-state-title": r.value.title,
3570
+ "error-state-message": a.value.message,
3571
+ "error-state-title": a.value.title,
3572
3572
  fetcher: e.fetcher,
3573
3573
  "fetcher-cache-key": String(e.fetcherCacheKey),
3574
- "has-error": r.value.hasError,
3574
+ "has-error": a.value.hasError,
3575
3575
  headers: s.value,
3576
3576
  "hide-pagination-when-optional": "",
3577
3577
  "initial-fetcher-params": _.value,
@@ -3618,7 +3618,7 @@ const ts = {
3618
3618
  }, {
3619
3619
  icon: y(() => [
3620
3620
  O(N, {
3621
- color: g(br),
3621
+ color: g(ba),
3622
3622
  icon: "more",
3623
3623
  size: "16"
3624
3624
  }, null, 8, ["color"])
@@ -3703,7 +3703,7 @@ const ts = {
3703
3703
  },
3704
3704
  emits: ["cancel", "proceed"],
3705
3705
  setup(e, { emit: n }) {
3706
- const t = e, { i18nT: a } = re.useI18n(), r = $(() => t.needConfirm ? t.entityName : ""), o = () => {
3706
+ const t = e, { i18nT: r } = ae.useI18n(), a = $(() => t.needConfirm ? t.entityName : ""), o = () => {
3707
3707
  n("cancel");
3708
3708
  }, i = () => {
3709
3709
  n("proceed");
@@ -3714,7 +3714,7 @@ const ts = {
3714
3714
  "action-button-text": "Yes, delete",
3715
3715
  "action-pending": e.actionPending,
3716
3716
  class: "kong-ui-entity-delete-modal",
3717
- "confirmation-text": r.value,
3717
+ "confirmation-text": a.value,
3718
3718
  "is-visible": e.visible,
3719
3719
  title: e.title,
3720
3720
  type: "danger",
@@ -3730,7 +3730,7 @@ const ts = {
3730
3730
  _: 1
3731
3731
  })
3732
3732
  ])) : G("", !0),
3733
- O(g(a), {
3733
+ O(g(r), {
3734
3734
  class: "message",
3735
3735
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3736
3736
  tag: "p"
@@ -3777,7 +3777,7 @@ const ts = {
3777
3777
  props: {
3778
3778
  color: {
3779
3779
  type: String,
3780
- default: `var(--kong-ui-entity-filter-color, ${hr})`
3780
+ default: `var(--kong-ui-entity-filter-color, ${ha})`
3781
3781
  }
3782
3782
  },
3783
3783
  setup(e) {
@@ -3820,7 +3820,7 @@ const ts = {
3820
3820
  },
3821
3821
  emits: ["update:modelValue"],
3822
3822
  setup(e, { emit: n }) {
3823
- const t = e, { i18n: { t: a } } = re.useI18n(), r = F(!1), o = F({}), i = $(() => {
3823
+ const t = e, { i18n: { t: r } } = ae.useI18n(), a = F(!1), o = F({}), i = $(() => {
3824
3824
  const p = [];
3825
3825
  return new URLSearchParams(t.modelValue).forEach((S, _) => {
3826
3826
  S !== "" && p.push(_);
@@ -3838,7 +3838,7 @@ const ts = {
3838
3838
  });
3839
3839
  });
3840
3840
  const l = () => {
3841
- r.value = !r.value;
3841
+ a.value = !a.value;
3842
3842
  }, c = (p) => {
3843
3843
  n("update:modelValue", p);
3844
3844
  }, d = (p) => `filter-${p}`, u = (p) => {
@@ -3859,7 +3859,7 @@ const ts = {
3859
3859
  o.value = {}, C(!0);
3860
3860
  }, C = (p = !1) => {
3861
3861
  const S = Object.keys(o.value).reduce((_, q) => (o.value[q] && (_[q] = `${o.value[q]}`), _), {});
3862
- p && (r.value = !1), n("update:modelValue", new URLSearchParams(S).toString());
3862
+ p && (a.value = !1), n("update:modelValue", new URLSearchParams(S).toString());
3863
3863
  };
3864
3864
  return (p, S) => {
3865
3865
  const _ = P("KInput"), q = P("KButton"), v = P("KSelect"), w = P("KMenuItem"), N = P("KMenu");
@@ -3884,7 +3884,7 @@ const ts = {
3884
3884
  }, {
3885
3885
  default: y(() => [
3886
3886
  O(sn),
3887
- W(" " + M(g(a)("filter.filterButtonText")) + " " + M(i.value.length > 0 ? `(${i.value.length})` : ""), 1)
3887
+ W(" " + M(g(r)("filter.filterButtonText")) + " " + M(i.value.length > 0 ? `(${i.value.length})` : ""), 1)
3888
3888
  ]),
3889
3889
  _: 1
3890
3890
  }),
@@ -3892,7 +3892,7 @@ const ts = {
3892
3892
  class: "kong-ui-entity-filter-backdrop",
3893
3893
  onClick: l
3894
3894
  }, null, 512), [
3895
- [De, r.value]
3895
+ [De, a.value]
3896
3896
  ]),
3897
3897
  Ue(O(N, { class: "kong-ui-entity-filter-menu" }, {
3898
3898
  body: y(() => [
@@ -3917,7 +3917,7 @@ const ts = {
3917
3917
  K("label", {
3918
3918
  class: "menu-item-label",
3919
3919
  for: d(R.value)
3920
- }, M(g(a)("filter.fieldLabel")), 9, Ys),
3920
+ }, M(g(r)("filter.fieldLabel")), 9, Ys),
3921
3921
  ((V = (k = e.config.schema) == null ? void 0 : k[R.value]) == null ? void 0 : V.type) === "select" ? (m(), D(v, {
3922
3922
  key: 0,
3923
3923
  id: d(R.value),
@@ -3925,14 +3925,14 @@ const ts = {
3925
3925
  "onUpdate:modelValue": (B) => o.value[R.value] = B,
3926
3926
  appearance: "select",
3927
3927
  items: u(R.value),
3928
- placeholder: g(a)("filter.selectPlaceholder")
3928
+ placeholder: g(r)("filter.selectPlaceholder")
3929
3929
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), D(_, {
3930
3930
  key: 1,
3931
3931
  id: d(R.value),
3932
3932
  modelValue: o.value[R.value],
3933
3933
  "onUpdate:modelValue": (B) => o.value[R.value] = B,
3934
3934
  autocomplete: "off",
3935
- placeholder: g(a)("filter.inputPlaceholder"),
3935
+ placeholder: g(r)("filter.inputPlaceholder"),
3936
3936
  type: h(R.value)
3937
3937
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3938
3938
  ]),
@@ -3944,7 +3944,7 @@ const ts = {
3944
3944
  onClick: S[0] || (S[0] = (B) => C(!0))
3945
3945
  }, {
3946
3946
  default: y(() => [
3947
- W(M(g(a)("filter.applyButtonText")), 1)
3947
+ W(M(g(r)("filter.applyButtonText")), 1)
3948
3948
  ]),
3949
3949
  _: 1
3950
3950
  }),
@@ -3955,7 +3955,7 @@ const ts = {
3955
3955
  onClick: (B) => f(R.value)
3956
3956
  }, {
3957
3957
  default: y(() => [
3958
- W(M(g(a)("filter.clearButtonText")), 1)
3958
+ W(M(g(r)("filter.clearButtonText")), 1)
3959
3959
  ]),
3960
3960
  _: 2
3961
3961
  }, 1032, ["onClick"])
@@ -3973,7 +3973,7 @@ const ts = {
3973
3973
  onClick: A
3974
3974
  }, {
3975
3975
  default: y(() => [
3976
- W(M(g(a)("filter.clearAllButtonText")), 1)
3976
+ W(M(g(r)("filter.clearAllButtonText")), 1)
3977
3977
  ]),
3978
3978
  _: 1
3979
3979
  })
@@ -3981,12 +3981,12 @@ const ts = {
3981
3981
  ]),
3982
3982
  _: 1
3983
3983
  }, 512), [
3984
- [De, r.value]
3984
+ [De, a.value]
3985
3985
  ])
3986
3986
  ]));
3987
3987
  };
3988
3988
  }
3989
- }), Xs = /* @__PURE__ */ me(Qs, [["__scopeId", "data-v-5dbd1737"]]), Re = /* @__PURE__ */ te({
3989
+ }), Xs = /* @__PURE__ */ me(Qs, [["__scopeId", "data-v-15962ee2"]]), Re = /* @__PURE__ */ te({
3990
3990
  __name: "PermissionsWrapper",
3991
3991
  props: {
3992
3992
  /**
@@ -4008,10 +4008,10 @@ const ts = {
4008
4008
  }
4009
4009
  },
4010
4010
  setup(e) {
4011
- const n = e, t = F(void 0), a = $(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4011
+ const n = e, t = F(void 0), r = $(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4012
4012
  return ye(() => n.authFunction, async () => {
4013
4013
  t.value = await n.authFunction();
4014
- }, { immediate: !0 }), (r, o) => a.value ? Y(r.$slots, "default", {
4014
+ }, { immediate: !0 }), (a, o) => r.value ? Y(a.$slots, "default", {
4015
4015
  key: 0,
4016
4016
  isAllowed: t.value
4017
4017
  }) : G("", !0);
@@ -4022,10 +4022,10 @@ const ts = {
4022
4022
  }, nl = {
4023
4023
  key: 1,
4024
4024
  class: "form-section-description"
4025
- }, al = {
4025
+ }, rl = {
4026
4026
  key: 2,
4027
4027
  class: "form-section-footer"
4028
- }, rl = { class: "form-section-content" }, ol = /* @__PURE__ */ te({
4028
+ }, al = { class: "form-section-content" }, ol = /* @__PURE__ */ te({
4029
4029
  __name: "EntityFormSection",
4030
4030
  props: {
4031
4031
  title: {
@@ -4051,7 +4051,7 @@ const ts = {
4051
4051
  },
4052
4052
  setup(e) {
4053
4053
  const n = Ze();
4054
- return (t, a) => (m(), T("fieldset", {
4054
+ return (t, r) => (m(), T("fieldset", {
4055
4055
  class: Ae(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4056
4056
  }, [
4057
4057
  K("div", el, [
@@ -4065,17 +4065,17 @@ const ts = {
4065
4065
  K("p", null, M(e.description), 1)
4066
4066
  ], !0)
4067
4067
  ])) : G("", !0),
4068
- g(n).footer ? (m(), T("div", al, [
4068
+ g(n).footer ? (m(), T("div", rl, [
4069
4069
  Y(t.$slots, "footer", {}, void 0, !0)
4070
4070
  ])) : G("", !0)
4071
4071
  ], 2)),
4072
- K("div", rl, [
4072
+ K("div", al, [
4073
4073
  Y(t.$slots, "default", {}, void 0, !0)
4074
4074
  ])
4075
4075
  ])
4076
4076
  ], 2));
4077
4077
  }
4078
- }), il = /* @__PURE__ */ me(ol, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: St, useDeleteUrlBuilder: sl, useErrors: ll, useExternalLinkCreator: El, useFetchUrlBuilder: Ol, useFetcher: ul, useDebouncedFilter: cl, useStringHelpers: Fl, useHelpers: Kl, useGatewayFeatureSupported: Nl, useTruncationDetector: Bl } = re;
4078
+ }), il = /* @__PURE__ */ me(ol, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: St, useDeleteUrlBuilder: sl, useErrors: ll, useExternalLinkCreator: El, useFetchUrlBuilder: Ol, useFetcher: ul, useDebouncedFilter: cl, useStringHelpers: Fl, useHelpers: Kl, useGatewayFeatureSupported: Nl, useTruncationDetector: Bl } = ae;
4079
4079
  const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer-form-cta" }, fl = { class: "select-item-label" }, ml = {
4080
4080
  key: 0,
4081
4081
  class: "select-item-desc"
@@ -4100,7 +4100,7 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4100
4100
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4101
4101
  setup(e, { emit: n }) {
4102
4102
  var B;
4103
- const t = e, { i18n: { t: a } } = Qe.useI18n(), { axiosInstance: r } = St({
4103
+ const t = e, { i18n: { t: r } } = Qe.useI18n(), { axiosInstance: a } = St({
4104
4104
  headers: (B = t.config) == null ? void 0 : B.requestHeaders
4105
4105
  }), o = F([]), {
4106
4106
  debouncedQueryChange: i,
@@ -4117,7 +4117,7 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4117
4117
  fetchedItemsKey: "data",
4118
4118
  searchKeys: ["username", "id"]
4119
4119
  }
4120
- ), h = (I) => I, f = $(() => c.value ? a("consumers.errors.general") : ""), A = F(0), C = $(() => l.value === void 0), p = $(() => u.value.map((I) => ({
4120
+ ), h = (I) => I, f = $(() => c.value ? r("consumers.errors.general") : ""), A = F(0), C = $(() => l.value === void 0), p = $(() => u.value.map((I) => ({
4121
4121
  label: I.username || I.customId,
4122
4122
  value: I.id,
4123
4123
  selected: o.value.includes(I.id),
@@ -4142,7 +4142,7 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4142
4142
  U.status !== "fulfilled" && (L = !1);
4143
4143
  }), L ? (q.value = [], k.value = [], n("add:success", o.value), o.value = []) : (q.value.length && n("add:partial-success", q.value), o.value = [], V(E));
4144
4144
  } catch {
4145
- w.value = a("consumers.errors.add"), n("error", w.value);
4145
+ w.value = r("consumers.errors.add"), n("error", w.value);
4146
4146
  } finally {
4147
4147
  v.value = !1;
4148
4148
  }
@@ -4155,11 +4155,11 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4155
4155
  consumer: I
4156
4156
  };
4157
4157
  try {
4158
- const L = await r.post(R.value, E);
4158
+ const L = await a.post(R.value, E);
4159
4159
  return q.value.push(I), L;
4160
4160
  } catch (L) {
4161
4161
  let U = `${S(I)} - ${L.message}`;
4162
- return L.response.status === 409 && (U = `${S(I)} - ${a("consumers.errors.already_added")}`), Promise.reject(Error(U));
4162
+ return L.response.status === 409 && (U = `${S(I)} - ${r("consumers.errors.already_added")}`), Promise.reject(Error(U));
4163
4163
  }
4164
4164
  }, k = F([]), V = (I) => {
4165
4165
  k.value = I.map((E) => {
@@ -4178,23 +4178,23 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4178
4178
  class: "kong-ui-entities-add-consumers-modal",
4179
4179
  "data-testid": "add-consumer-modal",
4180
4180
  "is-visible": e.visible,
4181
- title: g(a)("consumers.consumer_groups.add.title"),
4181
+ title: g(r)("consumers.consumer_groups.add.title"),
4182
4182
  onCanceled: _,
4183
4183
  onProceed: N
4184
4184
  }, {
4185
4185
  "body-content": y(() => [
4186
4186
  K("div", dl, [
4187
- K("p", pl, M(g(a)("consumers.consumer_groups.add.ctaText")), 1),
4187
+ K("p", pl, M(g(r)("consumers.consumer_groups.add.ctaText")), 1),
4188
4188
  O(L, {
4189
4189
  modelValue: o.value,
4190
4190
  "onUpdate:modelValue": E[0] || (E[0] = (z) => o.value = z),
4191
4191
  autosuggest: "",
4192
4192
  "data-testid": "add-consumers-multiselect",
4193
- "dropdown-footer-text": C.value ? g(a)("consumers.consumer_groups.add.footer") : void 0,
4193
+ "dropdown-footer-text": C.value ? g(r)("consumers.consumer_groups.add.footer") : void 0,
4194
4194
  items: p.value,
4195
- label: g(a)("consumers.consumer_groups.add.consumers_label"),
4195
+ label: g(r)("consumers.consumer_groups.add.consumers_label"),
4196
4196
  loading: g(s),
4197
- placeholder: g(a)("consumers.consumer_groups.add.consumer_placeholder"),
4197
+ placeholder: g(r)("consumers.consumer_groups.add.consumer_placeholder"),
4198
4198
  readonly: v.value,
4199
4199
  required: "",
4200
4200
  width: "100%",
@@ -4209,7 +4209,7 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4209
4209
  w.value || f.value || k.value.length ? (m(), T("div", gl, [
4210
4210
  O(U, { appearance: "danger" }, {
4211
4211
  alertMessage: y(() => [
4212
- K("p", null, M(g(a)("consumers.errors.add")), 1),
4212
+ K("p", null, M(g(r)("consumers.errors.add")), 1),
4213
4213
  k.value.length ? (m(), T("ul", yl, [
4214
4214
  (m(!0), T(fe, null, de(k.value, (z, Q) => (m(), T("li", { key: Q }, M(z), 1))), 128))
4215
4215
  ])) : G("", !0),
@@ -4227,8 +4227,8 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4227
4227
  });
4228
4228
  const xt = (e, n) => {
4229
4229
  const t = e.__vccOpts || e;
4230
- for (const [a, r] of n)
4231
- t[a] = r;
4230
+ for (const [r, a] of n)
4231
+ t[r] = a;
4232
4232
  return t;
4233
4233
  }, vl = /* @__PURE__ */ xt(hl, [["__scopeId", "data-v-700894eb"]]), bl = { class: "kong-ui-entities-consumers-list" }, Cl = { key: 1 }, kl = /* @__PURE__ */ te({
4234
4234
  __name: "ConsumerList",
@@ -4272,12 +4272,12 @@ const xt = (e, n) => {
4272
4272
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4273
4273
  setup(e, { emit: n }) {
4274
4274
  var Ot;
4275
- const t = e, { i18nT: a, i18n: { t: r } } = Qe.useI18n(), o = gt(), { axiosInstance: i } = St({
4275
+ const t = e, { i18nT: r, i18n: { t: a } } = Qe.useI18n(), o = gt(), { axiosInstance: i } = St({
4276
4276
  headers: (Ot = t.config) == null ? void 0 : Ot.requestHeaders
4277
4277
  }), s = F(1), l = $(() => !!t.config.consumerGroupId), c = $(() => t.config.app !== "kongManager" || !!t.config.disableSorting), d = {
4278
- username: { label: r("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4279
- custom_id: { label: r("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4280
- tags: { label: r("consumers.list.table_headers.tags"), sortable: !1 }
4278
+ username: { label: a("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4279
+ custom_id: { label: a("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4280
+ tags: { label: a("consumers.list.table_headers.tags"), sortable: !1 }
4281
4281
  }, u = d, h = (x) => ({
4282
4282
  "data-testid": x.username ?? x.custom_id ?? x.id
4283
4283
  }), f = $(() => {
@@ -4288,7 +4288,7 @@ const xt = (e, n) => {
4288
4288
  const x = t.config.app === "konnect" || t.config.isExactMatch;
4289
4289
  return x ? {
4290
4290
  isExactMatch: x,
4291
- placeholder: r("consumers.search.placeholder")
4291
+ placeholder: a("consumers.search.placeholder")
4292
4292
  } : {
4293
4293
  isExactMatch: x,
4294
4294
  fields: {
@@ -4307,36 +4307,36 @@ const xt = (e, n) => {
4307
4307
  n("copy:error", {
4308
4308
  entity: x,
4309
4309
  field: "id",
4310
- message: r("consumers.errors.copy")
4310
+ message: a("consumers.errors.copy")
4311
4311
  });
4312
4312
  return;
4313
4313
  }
4314
4314
  n("copy:success", {
4315
4315
  entity: x,
4316
4316
  field: "id",
4317
- message: r("consumers.copy.success", { val: ee })
4317
+ message: a("consumers.copy.success", { val: ee })
4318
4318
  });
4319
4319
  }, b = (x, H) => {
4320
4320
  const ee = JSON.stringify(x);
4321
4321
  if (!H(ee)) {
4322
4322
  n("copy:error", {
4323
4323
  entity: x,
4324
- message: r("consumers.errors.copy")
4324
+ message: a("consumers.errors.copy")
4325
4325
  });
4326
4326
  return;
4327
4327
  }
4328
4328
  n("copy:success", {
4329
4329
  entity: x,
4330
- message: r("consumers.copy.success_brief")
4330
+ message: a("consumers.copy.success_brief")
4331
4331
  });
4332
4332
  }, k = async (x) => {
4333
4333
  var ee;
4334
4334
  await ((ee = t.canRetrieve) == null ? void 0 : ee.call(t, x)) && o.push(t.config.getViewRoute(x.id));
4335
4335
  }, V = (x) => ({
4336
- label: r("consumers.actions.view"),
4336
+ label: a("consumers.actions.view"),
4337
4337
  to: t.config.getViewRoute(x)
4338
4338
  }), B = (x) => ({
4339
- label: r("consumers.actions.edit"),
4339
+ label: a("consumers.actions.edit"),
4340
4340
  to: t.config.getEditRoute(x)
4341
4341
  }), I = F(void 0), E = F(!1), L = F(!1), U = F(""), Z = sl(t.config, f.value), z = (x) => {
4342
4342
  I.value = x, E.value = !0;
@@ -4349,7 +4349,7 @@ const xt = (e, n) => {
4349
4349
  try {
4350
4350
  await i.delete(Z(I.value.id)), L.value = !1, E.value = !1, s.value++, n("delete:success", I.value);
4351
4351
  } catch (ue) {
4352
- U.value = ((ee = (H = ue.response) == null ? void 0 : H.data) == null ? void 0 : ee.message) || ue.message || r("consumers.errors.delete"), n("error", ue);
4352
+ U.value = ((ee = (H = ue.response) == null ? void 0 : H.data) == null ? void 0 : ee.message) || ue.message || a("consumers.errors.delete"), n("error", ue);
4353
4353
  } finally {
4354
4354
  L.value = !1;
4355
4355
  }
@@ -4360,24 +4360,24 @@ const xt = (e, n) => {
4360
4360
  et.value = !1;
4361
4361
  }, Mt = (x, H) => {
4362
4362
  H || $t(), s.value++, n("add:success", x);
4363
- }, ia = () => {
4363
+ }, ir = () => {
4364
4364
  l.value && Tt();
4365
- }, he = F(void 0), tt = F(!1), sa = F(""), la = (x) => {
4365
+ }, he = F(void 0), tt = F(!1), sr = F(""), lr = (x) => {
4366
4366
  he.value = x, tt.value = !0;
4367
4367
  }, jt = () => {
4368
4368
  tt.value = !1, he.value = void 0;
4369
- }, ua = $(() => {
4369
+ }, ur = $(() => {
4370
4370
  var H, ee, ue, we;
4371
4371
  let x = `${t.config.apiBaseUrl}${Se.list[t.config.app].oneForConsumerGroup}`;
4372
4372
  return t.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ee = t.config) == null ? void 0 : ee.consumerGroupId) || "") : t.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (ue = t.config) != null && ue.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), x;
4373
- }), Et = F(!1), ca = async () => {
4373
+ }), Et = F(!1), cr = async () => {
4374
4374
  if (he.value) {
4375
4375
  Et.value = !0;
4376
4376
  try {
4377
- const x = ua.value.replace(/{consumerId}/gi, he.value.id);
4377
+ const x = ur.value.replace(/{consumerId}/gi, he.value.id);
4378
4378
  await i.delete(x), n("remove:success", he.value), jt(), s.value++;
4379
4379
  } catch (x) {
4380
- sa.value = x.message || r("consumers.errors.delete"), n("error", x);
4380
+ sr.value = x.message || a("consumers.errors.delete"), n("error", x);
4381
4381
  } finally {
4382
4382
  Et.value = !1;
4383
4383
  }
@@ -4387,7 +4387,7 @@ const xt = (e, n) => {
4387
4387
  var H, ee, ue;
4388
4388
  if (x.status === _e.Error) {
4389
4389
  N.value = {
4390
- title: r("consumers.errors.general")
4390
+ title: a("consumers.errors.general")
4391
4391
  }, (ue = (ee = (H = x.error) == null ? void 0 : H.response) == null ? void 0 : ee.data) != null && ue.message && (N.value.message = x.error.response.data.message), n("error", x.error);
4392
4392
  return;
4393
4393
  }
@@ -4396,13 +4396,13 @@ const xt = (e, n) => {
4396
4396
  const nt = F({
4397
4397
  ctaPath: l.value ? void 0 : t.config.createRoute,
4398
4398
  ctaText: void 0,
4399
- message: r("consumers.list.empty_state.description"),
4400
- title: r("consumers.title")
4399
+ message: a("consumers.list.empty_state.description"),
4400
+ title: a("consumers.title")
4401
4401
  });
4402
4402
  return mt(async () => {
4403
- await t.canCreate() && (nt.value.title = l.value ? r("consumers.list.empty_state.title_for_consumer_group") : r("consumers.list.empty_state.title"), nt.value.ctaText = l.value ? r("consumers.actions.add_consumer") : r("consumers.actions.create"));
4403
+ await t.canCreate() && (nt.value.title = l.value ? a("consumers.list.empty_state.title_for_consumer_group") : a("consumers.list.empty_state.title"), nt.value.ctaText = l.value ? a("consumers.actions.add_consumer") : a("consumers.actions.create"));
4404
4404
  }), (x, H) => {
4405
- const ee = P("KButton"), ue = P("KBadge"), we = P("KTruncate"), Ne = P("KDropdownItem"), Ft = P("KClipboardProvider"), da = P("KPrompt");
4405
+ const ee = P("KButton"), ue = P("KBadge"), we = P("KTruncate"), Ne = P("KDropdownItem"), Ft = P("KClipboardProvider"), dr = P("KPrompt");
4406
4406
  return m(), T("div", bl, [
4407
4407
  O(g(Ks), {
4408
4408
  "cache-identifier": e.cacheIdentifier,
@@ -4421,7 +4421,7 @@ const xt = (e, n) => {
4421
4421
  "table-headers": g(u),
4422
4422
  onClearSearchInput: q,
4423
4423
  "onClick:row": H[3] || (H[3] = (J) => k(J)),
4424
- onEmptyStateCtaClicked: ia,
4424
+ onEmptyStateCtaClicked: ir,
4425
4425
  onSort: v
4426
4426
  }, {
4427
4427
  "toolbar-filter": y(() => [
@@ -4445,7 +4445,7 @@ const xt = (e, n) => {
4445
4445
  onClick: H[1] || (H[1] = () => e.config.consumerGroupId ? Tt() : void 0)
4446
4446
  }, {
4447
4447
  default: y(() => [
4448
- W(M(e.config.consumerGroupId ? g(r)("consumers.actions.add_consumer") : g(r)("consumers.list.toolbar_actions.new_consumer")), 1)
4448
+ W(M(e.config.consumerGroupId ? g(a)("consumers.actions.add_consumer") : g(a)("consumers.list.toolbar_actions.new_consumer")), 1)
4449
4449
  ]),
4450
4450
  _: 1
4451
4451
  }, 8, ["to"])
@@ -4481,10 +4481,10 @@ const xt = (e, n) => {
4481
4481
  default: y(({ copyToClipboard: xe }) => [
4482
4482
  O(Ne, {
4483
4483
  "data-testid": "action-entity-copy-id",
4484
- onClick: (pa) => R(J, xe)
4484
+ onClick: (pr) => R(J, xe)
4485
4485
  }, {
4486
4486
  default: y(() => [
4487
- W(M(g(r)("consumers.actions.copy_id")), 1)
4487
+ W(M(g(a)("consumers.actions.copy_id")), 1)
4488
4488
  ]),
4489
4489
  _: 2
4490
4490
  }, 1032, ["onClick"])
@@ -4495,10 +4495,10 @@ const xt = (e, n) => {
4495
4495
  default: y(({ copyToClipboard: xe }) => [
4496
4496
  O(Ne, {
4497
4497
  "data-testid": "action-entity-copy-json",
4498
- onClick: (pa) => b(J, xe)
4498
+ onClick: (pr) => b(J, xe)
4499
4499
  }, {
4500
4500
  default: y(() => [
4501
- W(M(g(r)("consumers.actions.copy_json")), 1)
4501
+ W(M(g(a)("consumers.actions.copy_json")), 1)
4502
4502
  ]),
4503
4503
  _: 2
4504
4504
  }, 1032, ["onClick"])
@@ -4536,10 +4536,10 @@ const xt = (e, n) => {
4536
4536
  danger: "",
4537
4537
  "data-testid": "action-entity-delete",
4538
4538
  "has-divider": "",
4539
- onClick: () => e.config.consumerGroupId ? la(J) : z(J)
4539
+ onClick: () => e.config.consumerGroupId ? lr(J) : z(J)
4540
4540
  }, {
4541
4541
  default: y(() => [
4542
- W(M(e.config.consumerGroupId ? g(r)("consumers.actions.remove") : g(r)("consumers.actions.delete")), 1)
4542
+ W(M(e.config.consumerGroupId ? g(a)("consumers.actions.remove") : g(a)("consumers.actions.delete")), 1)
4543
4543
  ]),
4544
4544
  _: 2
4545
4545
  }, 1032, ["onClick"])
@@ -4552,11 +4552,11 @@ const xt = (e, n) => {
4552
4552
  O(g(Ls), {
4553
4553
  "action-pending": L.value,
4554
4554
  "data-testid": "delete-consumer-modal",
4555
- description: g(r)("consumers.delete.description"),
4555
+ description: g(a)("consumers.delete.description"),
4556
4556
  "entity-name": I.value && (I.value.username || I.value.custom_id || I.value.id),
4557
4557
  "entity-type": g(pn).Consumer,
4558
4558
  error: U.value,
4559
- title: g(r)("consumers.delete.title"),
4559
+ title: g(a)("consumers.delete.title"),
4560
4560
  visible: E.value,
4561
4561
  onCancel: Q,
4562
4562
  onProceed: le
@@ -4570,17 +4570,17 @@ const xt = (e, n) => {
4570
4570
  "onAdd:success": H[5] || (H[5] = (J) => Mt(J)),
4571
4571
  onCancel: $t
4572
4572
  }, null, 8, ["config", "visible"])) : G("", !0),
4573
- e.config.consumerGroupId && he.value ? (m(), D(da, {
4573
+ e.config.consumerGroupId && he.value ? (m(), D(dr, {
4574
4574
  key: 1,
4575
4575
  "data-testid": "remove-consumer-modal",
4576
4576
  "is-visible": tt.value,
4577
- title: g(r)("consumers.consumer_groups.remove.title"),
4577
+ title: g(a)("consumers.consumer_groups.remove.title"),
4578
4578
  type: "danger",
4579
4579
  onCanceled: jt,
4580
- onProceed: ca
4580
+ onProceed: cr
4581
4581
  }, {
4582
4582
  "body-content": y(() => [
4583
- O(g(a), {
4583
+ O(g(r), {
4584
4584
  class: "message",
4585
4585
  keypath: e.config.consumerGroupName ? "consumers.consumer_groups.remove.confirmation" : "consumers.consumer_groups.remove.confirmationNoCG",
4586
4586
  tag: "p"
@@ -4598,7 +4598,7 @@ const xt = (e, n) => {
4598
4598
  key: "0"
4599
4599
  } : void 0
4600
4600
  ]), 1032, ["keypath"]),
4601
- K("p", null, M(g(r)("consumers.consumer_groups.remove.description")), 1)
4601
+ K("p", null, M(g(a)("consumers.consumer_groups.remove.description")), 1)
4602
4602
  ]),
4603
4603
  _: 1
4604
4604
  }, 8, ["is-visible", "title"])) : G("", !0)
@@ -4625,7 +4625,7 @@ const ql = /* @__PURE__ */ xt(kl, [["__scopeId", "data-v-17811e46"]]), wl = { cl
4625
4625
  emits: ["update", "error", "loading"],
4626
4626
  setup(e, { emit: n }) {
4627
4627
  var v;
4628
- const t = e, { i18nT: a, i18n: { t: r } } = Qe.useI18n(), o = gt(), { axiosInstance: i } = St({
4628
+ const t = e, { i18nT: r, i18n: { t: a } } = Qe.useI18n(), o = gt(), { axiosInstance: i } = St({
4629
4629
  headers: (v = t.config) == null ? void 0 : v.requestHeaders
4630
4630
  }), { getMessageFromError: s } = ll(), l = Kt({
4631
4631
  fields: {
@@ -4694,14 +4694,14 @@ const ql = /* @__PURE__ */ xt(kl, [["__scopeId", "data-v-17811e46"]]), wl = { cl
4694
4694
  default: y(() => [
4695
4695
  K("div", null, [
4696
4696
  O(g(il), {
4697
- description: g(r)("consumers.form.info.description"),
4697
+ description: g(a)("consumers.form.info.description"),
4698
4698
  "has-divider": "",
4699
- title: g(r)("consumers.form.info.title")
4699
+ title: g(a)("consumers.form.info.title")
4700
4700
  }, {
4701
4701
  default: y(() => [
4702
4702
  K("div", null, [
4703
- K("h5", _l, M(g(r)("consumers.form.consumer_identification.title")) + "* ", 1),
4704
- K("p", Il, M(g(r)("consumers.form.consumer_identification.description")), 1)
4703
+ K("h5", _l, M(g(a)("consumers.form.consumer_identification.title")) + "* ", 1),
4704
+ K("p", Il, M(g(a)("consumers.form.consumer_identification.description")), 1)
4705
4705
  ]),
4706
4706
  O(b, null, {
4707
4707
  body: y(() => [
@@ -4712,21 +4712,21 @@ const ql = /* @__PURE__ */ xt(kl, [["__scopeId", "data-v-17811e46"]]), wl = { cl
4712
4712
  autocomplete: "off",
4713
4713
  class: "username-field",
4714
4714
  "data-testid": "consumer-form-username",
4715
- label: g(r)("consumers.fields.username.label"),
4715
+ label: g(a)("consumers.fields.username.label"),
4716
4716
  "label-attributes": {
4717
4717
  tooltipAttributes: { maxWidth: "250" }
4718
4718
  },
4719
- placeholder: g(r)("consumers.fields.username.placeholder"),
4719
+ placeholder: g(a)("consumers.fields.username.placeholder"),
4720
4720
  readonly: l.readonly,
4721
4721
  type: "text"
4722
4722
  }, {
4723
4723
  "label-tooltip": y(() => [
4724
- O(g(a), {
4724
+ O(g(r), {
4725
4725
  keypath: "consumers.fields.username.tooltip",
4726
4726
  scope: "global"
4727
4727
  }, {
4728
4728
  custom_id: y(() => [
4729
- K("code", null, M(g(r)("consumers.fields.username.custom_id")), 1)
4729
+ K("code", null, M(g(a)("consumers.fields.username.custom_id")), 1)
4730
4730
  ]),
4731
4731
  _: 1
4732
4732
  })
@@ -4739,21 +4739,21 @@ const ql = /* @__PURE__ */ xt(kl, [["__scopeId", "data-v-17811e46"]]), wl = { cl
4739
4739
  modelModifiers: { trim: !0 },
4740
4740
  autocomplete: "off",
4741
4741
  "data-testid": "consumer-form-custom-id",
4742
- label: g(r)("consumers.fields.custom_id.label"),
4742
+ label: g(a)("consumers.fields.custom_id.label"),
4743
4743
  "label-attributes": {
4744
4744
  tooltipAttributes: { maxWidth: "250" }
4745
4745
  },
4746
- placeholder: g(r)("consumers.fields.custom_id.placeholder"),
4746
+ placeholder: g(a)("consumers.fields.custom_id.placeholder"),
4747
4747
  readonly: l.readonly,
4748
4748
  type: "text"
4749
4749
  }, {
4750
4750
  "label-tooltip": y(() => [
4751
- O(g(a), {
4751
+ O(g(r), {
4752
4752
  keypath: "consumers.fields.custom_id.tooltip",
4753
4753
  scope: "global"
4754
4754
  }, {
4755
4755
  username: y(() => [
4756
- K("code", null, M(g(r)("consumers.fields.custom_id.username")), 1)
4756
+ K("code", null, M(g(a)("consumers.fields.custom_id.username")), 1)
4757
4757
  ]),
4758
4758
  _: 1
4759
4759
  })
@@ -4769,13 +4769,13 @@ const ql = /* @__PURE__ */ xt(kl, [["__scopeId", "data-v-17811e46"]]), wl = { cl
4769
4769
  modelModifiers: { trim: !0 },
4770
4770
  autocomplete: "off",
4771
4771
  "data-testid": "consumer-form-tags",
4772
- help: g(r)("consumers.fields.tags.help"),
4773
- label: g(r)("consumers.fields.tags.label"),
4772
+ help: g(a)("consumers.fields.tags.help"),
4773
+ label: g(a)("consumers.fields.tags.label"),
4774
4774
  "label-attributes": {
4775
- info: g(r)("consumers.fields.tags.tooltip"),
4775
+ info: g(a)("consumers.fields.tags.tooltip"),
4776
4776
  tooltipAttributes: { maxWidth: "250" }
4777
4777
  },
4778
- placeholder: g(r)("consumers.fields.tags.placeholder"),
4778
+ placeholder: g(a)("consumers.fields.tags.placeholder"),
4779
4779
  readonly: l.readonly,
4780
4780
  type: "text"
4781
4781
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -4817,7 +4817,7 @@ const Ll = /* @__PURE__ */ xt(Al, [["__scopeId", "data-v-335659fc"]]), Sl = { cl
4817
4817
  },
4818
4818
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4819
4819
  setup(e) {
4820
- const n = e, { i18n: { t }, i18nT: a } = Qe.useI18n(), r = $(() => Se.form[n.config.app].edit), o = F({
4820
+ const n = e, { i18n: { t }, i18nT: r } = Qe.useI18n(), a = $(() => Se.form[n.config.app].edit), o = F({
4821
4821
  id: {},
4822
4822
  username: {
4823
4823
  section: ce.Basic,
@@ -4847,7 +4847,7 @@ const Ll = /* @__PURE__ */ xt(Al, [["__scopeId", "data-v-335659fc"]]), Sl = { cl
4847
4847
  config: e.config,
4848
4848
  "config-card-doc": e.configCardDoc,
4849
4849
  "config-schema": o.value,
4850
- "fetch-url": r.value,
4850
+ "fetch-url": a.value,
4851
4851
  "hide-title": e.hideTitle,
4852
4852
  "onCopy:success": s[0] || (s[0] = (l) => i.$emit("copy:success", l)),
4853
4853
  "onFetch:error": s[1] || (s[1] = (l) => i.$emit("fetch:error", l)),
@@ -4855,7 +4855,7 @@ const Ll = /* @__PURE__ */ xt(Al, [["__scopeId", "data-v-335659fc"]]), Sl = { cl
4855
4855
  onLoading: s[3] || (s[3] = (l) => i.$emit("loading", l))
4856
4856
  }, {
4857
4857
  "username-label-tooltip": y(() => [
4858
- O(g(a), {
4858
+ O(g(r), {
4859
4859
  keypath: "consumers.fields.username.tooltip",
4860
4860
  scope: "global"
4861
4861
  }, {
@@ -4866,7 +4866,7 @@ const Ll = /* @__PURE__ */ xt(Al, [["__scopeId", "data-v-335659fc"]]), Sl = { cl
4866
4866
  })
4867
4867
  ]),
4868
4868
  "custom_id-label-tooltip": y(() => [
4869
- O(g(a), {
4869
+ O(g(r), {
4870
4870
  keypath: "consumers.fields.custom_id.tooltip",
4871
4871
  scope: "global"
4872
4872
  }, {