@kong-ui-public/entities-key-sets 2.0.8 → 2.0.9

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 O, computed as x, watch as ke, renderSlot as U, createCommentVNode as D, unref as w, useSlots as Je, onBeforeMount as lt, resolveComponent as E, openBlock as y, createBlock as B, createSlots as we, withCtx as k, createElementVNode as L, createTextVNode as H, toDisplayString as K, createVNode as j, createElementBlock as I, renderList as ue, Fragment as pe, normalizeClass as Ae, withModifiers as Re, withDirectives as qe, vShow as Le, useCssVars as Wa, resolveDynamicComponent as je, normalizeProps as Za, guardReactiveProps as Ga, mergeProps as et, onMounted as Qa, onUnmounted as Xa, normalizeStyle as Jt, inject as en, pushScopeId as Yt, popScopeId as Wt, reactive as Ct } from "vue";
1
+ import { defineComponent as te, ref as O, computed as x, watch as ke, renderSlot as U, createCommentVNode as D, unref as w, useSlots as Je, onBeforeMount as lt, resolveComponent as E, openBlock as y, createBlock as B, createSlots as we, withCtx as k, createElementVNode as L, createTextVNode as H, toDisplayString as K, createVNode as j, createElementBlock as I, renderList as ue, Fragment as pe, normalizeClass as Ae, withModifiers as Re, withDirectives as qe, vShow as Le, useCssVars as Zn, resolveDynamicComponent as je, normalizeProps as Gn, guardReactiveProps as Qn, mergeProps as et, onMounted as Xn, onUnmounted as ea, normalizeStyle as Jt, inject as ta, pushScopeId as Yt, popScopeId as Wt, reactive as Ct } from "vue";
2
2
  import { useRouter as st } from "vue-router";
3
3
  import { createI18n as ct, i18nTComponent as Zt } from "@kong-ui-public/i18n";
4
- import tn from "axios";
5
- import { MethodsArray as an } from "@kong/kongponents";
6
- const nn = {
4
+ import na from "axios";
5
+ import { MethodsArray as aa } from "@kong/kongponents";
6
+ const ia = {
7
7
  title: "Key Sets",
8
8
  list: {
9
9
  toolbar_actions: {
@@ -64,11 +64,11 @@ const nn = {
64
64
  }
65
65
  }
66
66
  }
67
- }, rn = {
68
- keySets: nn
67
+ }, ra = {
68
+ keySets: ia
69
69
  };
70
- function on() {
71
- const e = ct("en-us", rn);
70
+ function oa() {
71
+ const e = ct("en-us", ra);
72
72
  return {
73
73
  i18n: e,
74
74
  i18nT: Zt(e)
@@ -76,7 +76,7 @@ function on() {
76
76
  };
77
77
  }
78
78
  const ut = {
79
- useI18n: on
79
+ useI18n: oa
80
80
  }, Pe = {
81
81
  list: {
82
82
  konnect: "/api/runtime_groups/{controlPlaneId}/key-sets",
@@ -96,72 +96,72 @@ const ut = {
96
96
  var Gt = /* @__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))(Gt || {}), tt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(tt || {}), Ce = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ce || {}), W = /* @__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))(W || {}), de = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(de || {});
97
97
  function dt(e = {}) {
98
98
  return {
99
- axiosInstance: tn.create({
99
+ axiosInstance: na.create({
100
100
  withCredentials: !0,
101
101
  timeout: 3e4,
102
102
  ...e
103
103
  })
104
104
  };
105
105
  }
106
- function ln() {
106
+ function la() {
107
107
  return {
108
- debounce: (e, a) => {
108
+ debounce: (e, n) => {
109
109
  let t;
110
- return (...n) => {
110
+ return (...a) => {
111
111
  clearTimeout(t), t = window == null ? void 0 : window.setTimeout(() => {
112
- e(...n);
113
- }, a);
112
+ e(...a);
113
+ }, n);
114
114
  };
115
115
  }
116
116
  };
117
117
  }
118
- const Ze = "khcp-user-table-preferences", sn = {
118
+ const Ze = "khcp-user-table-preferences", sa = {
119
119
  pageSize: 30,
120
120
  sortColumnKey: void 0,
121
121
  sortColumnOrder: void 0
122
122
  };
123
- function cn() {
123
+ function ca() {
124
124
  const e = (t) => {
125
125
  if (typeof t == "string")
126
126
  try {
127
127
  return JSON.parse(t);
128
- } catch (n) {
129
- console.error("useTablePreferences(tryParseJson)", n);
128
+ } catch (a) {
129
+ console.error("useTablePreferences(tryParseJson)", a);
130
130
  return;
131
131
  }
132
- }, a = () => {
132
+ }, n = () => {
133
133
  const t = e(localStorage.getItem(Ze));
134
134
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
135
135
  };
136
136
  return {
137
- setTablePreferences: (t, n) => {
137
+ setTablePreferences: (t, a) => {
138
138
  try {
139
- const i = a();
140
- i.set(t, n), localStorage.setItem(Ze, JSON.stringify(Object.fromEntries(i.entries())));
139
+ const i = n();
140
+ i.set(t, a), localStorage.setItem(Ze, JSON.stringify(Object.fromEntries(i.entries())));
141
141
  } catch (i) {
142
142
  console.error("useTablePreferences(setTablePreferences)", i);
143
143
  }
144
144
  },
145
145
  getTablePreferences: (t) => {
146
- const n = a();
147
- return (n == null ? void 0 : n.get(t)) || void 0 || sn;
146
+ const a = n();
147
+ return (a == null ? void 0 : a.get(t)) || void 0 || sa;
148
148
  },
149
149
  deleteAllTablePreferences: () => {
150
150
  localStorage.removeItem(Ze);
151
151
  }
152
152
  };
153
153
  }
154
- const un = {
154
+ const ua = {
155
155
  actions: {
156
156
  copyId: "Copy ID",
157
157
  copied_id: 'Copied "{id}" to the clipboard',
158
158
  copyToClipboard: "Copied successfully!",
159
159
  copyToClipboardFailed: "Failed to copy to the clipboard"
160
160
  }
161
- }, dn = {
161
+ }, da = {
162
162
  message: "Are you sure you want to delete this {entityType}?",
163
163
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
164
- }, pn = {
164
+ }, pa = {
165
165
  actions: {
166
166
  save: "Save",
167
167
  cancel: "Cancel",
@@ -170,13 +170,13 @@ const un = {
170
170
  errors: {
171
171
  edit: "The entity could not be edited at this time."
172
172
  }
173
- }, fn = {
173
+ }, fa = {
174
174
  emptyState: {
175
175
  noSearchResultsTitle: "No results found",
176
176
  noSearchResultsMessage: "Please adjust the criteria and try again.",
177
177
  noSearchResultsCtaText: "Clear"
178
178
  }
179
- }, yn = {
179
+ }, ya = {
180
180
  title: "Configuration",
181
181
  actions: {
182
182
  copy: "Copy JSON"
@@ -211,7 +211,7 @@ const un = {
211
211
  entryTitle: "Entry {index}",
212
212
  structuredFormat: "Structured"
213
213
  }
214
- }, gn = {
214
+ }, ga = {
215
215
  filterButtonText: "Filter",
216
216
  fieldLabel: "Filter by:",
217
217
  inputPlaceholder: "Enter a value",
@@ -219,15 +219,15 @@ const un = {
219
219
  applyButtonText: "Apply",
220
220
  clearButtonText: "Clear",
221
221
  clearAllButtonText: "Clear all filters"
222
- }, mn = {
222
+ }, ma = {
223
223
  errors: {
224
224
  fetch: "Could not fetch available items",
225
225
  invalid: "Please select a valid value"
226
226
  }
227
- }, hn = {
227
+ }, ha = {
228
228
  unexpected: "An unexpected error has occurred",
229
229
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
230
- }, vn = {
230
+ }, va = {
231
231
  enable: {
232
232
  title: "Enable {entityType}",
233
233
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -238,19 +238,19 @@ const un = {
238
238
  message: "Are you sure you want to disable the {entityType} {entityName}?",
239
239
  confirmText: "Yes, disable"
240
240
  }
241
- }, bn = {
242
- global: un,
243
- deleteModal: dn,
244
- baseForm: pn,
245
- baseTable: fn,
246
- baseConfigCard: yn,
247
- filter: gn,
248
- debouncedFilter: mn,
249
- errors: hn,
250
- toggleModal: vn
241
+ }, ba = {
242
+ global: ua,
243
+ deleteModal: da,
244
+ baseForm: pa,
245
+ baseTable: fa,
246
+ baseConfigCard: ya,
247
+ filter: ga,
248
+ debouncedFilter: ma,
249
+ errors: ha,
250
+ toggleModal: va
251
251
  };
252
252
  function pt() {
253
- const e = ct("en-us", bn);
253
+ const e = ct("en-us", ba);
254
254
  return {
255
255
  i18n: e,
256
256
  i18nT: Zt(e)
@@ -258,12 +258,12 @@ function pt() {
258
258
  };
259
259
  }
260
260
  function Qt() {
261
- const e = (t, n) => (n == null ? void 0 : n[t]) ?? void 0, a = (t, n) => {
262
- if (t.length !== n.length)
261
+ const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, n = (t, a) => {
262
+ if (t.length !== a.length)
263
263
  return !1;
264
- const i = /* @__PURE__ */ new Set([...t, ...n]);
264
+ const i = /* @__PURE__ */ new Set([...t, ...a]);
265
265
  for (const r of i) {
266
- const o = t.filter((s) => s === r).length, l = n.filter((s) => s === r).length;
266
+ const o = t.filter((s) => s === r).length, l = a.filter((s) => s === r).length;
267
267
  if (o !== l)
268
268
  return !1;
269
269
  }
@@ -271,16 +271,16 @@ function Qt() {
271
271
  };
272
272
  return {
273
273
  getPropValue: e,
274
- objectsAreEqual: (t, n, i) => {
274
+ objectsAreEqual: (t, a, i) => {
275
275
  if (i) {
276
- if (Object.keys(t).length === Object.keys(n).length)
276
+ if (Object.keys(t).length === Object.keys(a).length)
277
277
  for (const r in t)
278
- if (Array.isArray(t[r]) && Array.isArray(n[r])) {
279
- if (a(t[r], n[r]))
278
+ if (Array.isArray(t[r]) && Array.isArray(a[r])) {
279
+ if (n(t[r], a[r]))
280
280
  continue;
281
281
  return !1;
282
282
  } else {
283
- if (t[r] === n[r])
283
+ if (t[r] === a[r])
284
284
  continue;
285
285
  return !1;
286
286
  }
@@ -289,35 +289,35 @@ function Qt() {
289
289
  return !0;
290
290
  }
291
291
  try {
292
- return JSON.stringify(t) === JSON.stringify(n);
292
+ return JSON.stringify(t) === JSON.stringify(a);
293
293
  } catch {
294
294
  return !1;
295
295
  }
296
296
  },
297
- sortAlpha: (t) => (n, i) => {
298
- let r = n[t] === void 0 || n[t] === null ? "" : n[t], o = i[t] === void 0 || i[t] === null ? "" : i[t];
299
- return Array.isArray(n[t]) && (r = n[t][0]), Array.isArray(i[t]) && (o = i[t][0]), r.localeCompare(o);
297
+ sortAlpha: (t) => (a, i) => {
298
+ let r = a[t] === void 0 || a[t] === null ? "" : a[t], o = i[t] === void 0 || i[t] === null ? "" : i[t];
299
+ return Array.isArray(a[t]) && (r = a[t][0]), Array.isArray(i[t]) && (o = i[t][0]), r.localeCompare(o);
300
300
  },
301
301
  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
302
302
  };
303
303
  }
304
- function kn(e, a, t, n = {
304
+ function ka(e, n, t, a = {
305
305
  fetchedItemsKey: "data",
306
306
  searchKeys: ["id"]
307
307
  }) {
308
308
  t || (t = "100");
309
309
  const { axiosInstance: i } = dt({
310
310
  headers: e.requestHeaders
311
- }), { i18n: { t: r } } = pt(), { debounce: o } = ln(), l = o(async (v) => {
311
+ }), { i18n: { t: r } } = pt(), { debounce: o } = la(), l = o(async (v) => {
312
312
  await _(v);
313
- }, 200), s = O(!1), c = O(""), d = O(""), u = O([]), g = O([]), f = O(void 0), S = w(a);
313
+ }, 200), s = O(!1), c = O(""), d = O(""), u = O([]), g = O([]), f = O(void 0), S = w(n);
314
314
  let b = `${e.apiBaseUrl}${S}`;
315
315
  e.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
316
316
  const { isValidUuid: p } = Qt(), h = async () => {
317
317
  try {
318
318
  s.value = !0;
319
319
  const { data: v } = await i.get(`${b}?size=${t}`);
320
- v != null && v.next || (f.value = n.fetchedItemsKey in v ? v[n.fetchedItemsKey] : []), g.value = n.fetchedItemsKey in v ? v[n.fetchedItemsKey] : [], u.value = g.value;
320
+ v != null && v.next || (f.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : []), g.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : [], u.value = g.value;
321
321
  } catch {
322
322
  u.value = [], c.value = r("debouncedFilter.errors.fetch");
323
323
  } finally {
@@ -332,16 +332,16 @@ function kn(e, a, t, n = {
332
332
  let C = b + "";
333
333
  v && (C += `/${v}`);
334
334
  const { data: M } = await i.get(`${C}?size=${t}`);
335
- n.fetchedItemsKey in M ? u.value = M[n.fetchedItemsKey] : M != null && M.id ? u.value = [M] : u.value = [];
335
+ a.fetchedItemsKey in M ? u.value = M[a.fetchedItemsKey] : M != null && M.id ? u.value = [M] : u.value = [];
336
336
  } else if (v) {
337
337
  const C = [];
338
- p(v) && n.searchKeys.includes("id") ? C.push((async () => {
338
+ p(v) && a.searchKeys.includes("id") ? C.push((async () => {
339
339
  const { data: T } = await i.get(`${b}/${v}`);
340
- return [T[n.fetchedItemsKey] ?? T];
340
+ return [T[a.fetchedItemsKey] ?? T];
341
341
  })()) : C.push(
342
- ...n.searchKeys.filter((T) => T !== "id").map(async (T) => {
342
+ ...a.searchKeys.filter((T) => T !== "id").map(async (T) => {
343
343
  const { data: N } = await i.get(`${b}?${T}=${v}`);
344
- return N[n.fetchedItemsKey];
344
+ return N[a.fetchedItemsKey];
345
345
  })
346
346
  );
347
347
  const M = await Promise.all(C), F = /* @__PURE__ */ new Set();
@@ -362,7 +362,7 @@ function kn(e, a, t, n = {
362
362
  s.value = !0, d.value = "", v ? (u.value = (P = f.value) == null ? void 0 : P.filter((C) => {
363
363
  var M;
364
364
  let F = !1;
365
- for (const T of n.searchKeys) {
365
+ for (const T of a.searchKeys) {
366
366
  const N = typeof C[T] == "string" ? (M = C[T]) == null ? void 0 : M.toLowerCase() : C[T];
367
367
  N != null && N.includes(v.toLowerCase()) && (F = !0);
368
368
  }
@@ -379,56 +379,56 @@ function kn(e, a, t, n = {
379
379
  debouncedQueryChange: l
380
380
  };
381
381
  }
382
- function Cn(e, a) {
383
- const t = w(a), n = x(
382
+ function Ca(e, n) {
383
+ const t = w(n), a = x(
384
384
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
385
385
  );
386
- return n.value.search = "", (i) => `${n.value.href}/${i}`;
386
+ return a.value.search = "", (i) => `${a.value.href}/${i}`;
387
387
  }
388
- function wn() {
388
+ function wa() {
389
389
  const { i18n: { t: e } } = pt();
390
390
  return {
391
- getMessageFromError: (a) => {
392
- var t, n, i;
393
- if (!a)
391
+ getMessageFromError: (n) => {
392
+ var t, a, i;
393
+ if (!n)
394
394
  return e("errors.unexpected");
395
- if ((t = a == null ? void 0 : a.response) != null && t.data) {
396
- if (a.response.data.detail)
397
- return a.response.data.detail;
398
- if ((n = a.response.data.details) != null && n.length)
399
- return a.response.data.details.map((r) => {
395
+ if ((t = n == null ? void 0 : n.response) != null && t.data) {
396
+ if (n.response.data.detail)
397
+ return n.response.data.detail;
398
+ if ((a = n.response.data.details) != null && a.length)
399
+ return n.response.data.details.map((r) => {
400
400
  let o = e("errors.unexpected");
401
401
  return r.messages && typeof r.messages == "object" && r.messages.length && (o = r.messages.join(", ")), r.field ? `${r.field} - ${o}` : o;
402
402
  }).join("; ");
403
- if (a.response.data.message) {
404
- const { message: r } = a.response.data;
403
+ if (n.response.data.message) {
404
+ const { message: r } = n.response.data;
405
405
  return Array.isArray(r) ? (i = r[0]) != null && i.constraints ? Object.values(r[0].constraints)[0] : r[0] : r;
406
406
  }
407
- if (typeof a.response.data == "string")
408
- return a.response.data;
409
- if (typeof a.response.data == "object")
410
- return Object.keys(a.response.data).map((r) => `${r} ${a.response.data[r]}`).join(", ");
407
+ if (typeof n.response.data == "string")
408
+ return n.response.data;
409
+ if (typeof n.response.data == "object")
410
+ return Object.keys(n.response.data).map((r) => `${r} ${n.response.data[r]}`).join(", ");
411
411
  }
412
- return a.message || e("errors.unexpected");
412
+ return n.message || e("errors.unexpected");
413
413
  }
414
414
  };
415
415
  }
416
- function Sn(e) {
417
- const a = window.location.origin, t = a.endsWith("/") ? a : `${a}/`;
416
+ function Sa(e) {
417
+ const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
418
418
  try {
419
- const n = e.join("/"), i = `${t}${n}`, r = e.some((o) => o.trim() === "");
419
+ const a = e.join("/"), i = `${t}${a}`, r = e.some((o) => o.trim() === "");
420
420
  if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(i) && !r && new URL(i))
421
- return `${t}${n}`;
421
+ return `${t}${a}`;
422
422
  throw new Error("Invalid url");
423
- } catch (n) {
424
- return console.warn("Failed to build valid URL:", n), "";
423
+ } catch (a) {
424
+ return console.warn("Failed to build valid URL:", a), "";
425
425
  }
426
426
  }
427
- function Xt(e, a) {
428
- const t = O(w(e)), n = O(w(a)), i = x(
427
+ function Xt(e, n) {
428
+ const t = O(w(e)), a = O(w(n)), i = x(
429
429
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
430
430
  ), r = x(
431
- () => n.value.startsWith("/") ? new URL(`${window.location.origin}${n.value}`) : new URL(n.value)
431
+ () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
432
432
  );
433
433
  return (o) => {
434
434
  const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: g } = o;
@@ -438,14 +438,14 @@ function Xt(e, a) {
438
438
  f.searchParams.append(b, S);
439
439
  }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), c && l !== 1 && f.searchParams.append("offset", String(c)), f.href;
440
440
  } catch (f) {
441
- return console.error("RouteList(fetcher)", f), n.value;
441
+ return console.error("RouteList(fetcher)", f), a.value;
442
442
  }
443
443
  };
444
444
  }
445
- function An(e, a, t = "data") {
446
- const n = w(a), { axiosInstance: i } = dt({
445
+ function Aa(e, n, t = "data") {
446
+ const a = w(n), { axiosInstance: i } = dt({
447
447
  headers: e.requestHeaders
448
- }), r = Xt(e, n), o = O({
448
+ }), r = Xt(e, a), o = O({
449
449
  status: Ce.Idle
450
450
  });
451
451
  return { fetcher: async (l) => {
@@ -484,110 +484,110 @@ function An(e, a, t = "data") {
484
484
  }
485
485
  }, fetcherState: o };
486
486
  }
487
- function In() {
488
- const e = (t, n = "_") => t ? t.split(n).map((i) => i.toLowerCase() === "id" ? i.toUpperCase() : i.charAt(0).toUpperCase() + i.substring(1)).join(" ") : "", a = /(?:^|[\s-:'"])\w/g;
487
+ function Ia() {
488
+ const e = (t, a = "_") => t ? t.split(a).map((i) => i.toLowerCase() === "id" ? i.toUpperCase() : i.charAt(0).toUpperCase() + i.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
489
489
  return {
490
- capitalize: (t) => t ? t.replace(a, (n) => n.toUpperCase()) : "",
490
+ capitalize: (t) => t ? t.replace(n, (a) => a.toUpperCase()) : "",
491
491
  convertKeyToTitle: e
492
492
  };
493
493
  }
494
- const ea = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, wt = (e) => {
494
+ const en = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, wt = (e) => {
495
495
  if (typeof e != "string")
496
496
  throw new TypeError("Invalid argument expected string");
497
- const a = e.match(ea);
498
- if (!a)
497
+ const n = e.match(en);
498
+ if (!n)
499
499
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
500
- return a.shift(), a;
500
+ return n.shift(), n;
501
501
  }, St = (e) => e === "*" || e === "x" || e === "X", At = (e) => {
502
- const a = parseInt(e, 10);
503
- return isNaN(a) ? e : a;
504
- }, xn = (e, a) => typeof e != typeof a ? [String(e), String(a)] : [e, a], _n = (e, a) => {
505
- if (St(e) || St(a))
502
+ const n = parseInt(e, 10);
503
+ return isNaN(n) ? e : n;
504
+ }, xa = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], _a = (e, n) => {
505
+ if (St(e) || St(n))
506
506
  return 0;
507
- const [t, n] = xn(At(e), At(a));
508
- return t > n ? 1 : t < n ? -1 : 0;
509
- }, It = (e, a) => {
510
- for (let t = 0; t < Math.max(e.length, a.length); t++) {
511
- const n = _n(e[t] || "0", a[t] || "0");
512
- if (n !== 0)
513
- return n;
507
+ const [t, a] = xa(At(e), At(n));
508
+ return t > a ? 1 : t < a ? -1 : 0;
509
+ }, It = (e, n) => {
510
+ for (let t = 0; t < Math.max(e.length, n.length); t++) {
511
+ const a = _a(e[t] || "0", n[t] || "0");
512
+ if (a !== 0)
513
+ return a;
514
514
  }
515
515
  return 0;
516
- }, Tn = (e, a) => {
517
- const t = wt(e), n = wt(a), i = t.pop(), r = n.pop(), o = It(t, n);
516
+ }, Ta = (e, n) => {
517
+ const t = wt(e), a = wt(n), i = t.pop(), r = a.pop(), o = It(t, a);
518
518
  return o !== 0 ? o : i && r ? It(i.split("."), r.split(".")) : i || r ? i ? -1 : 1 : 0;
519
- }, xt = (e, a, t) => {
520
- jn(t);
521
- const n = Tn(e, a);
522
- return ta[t].includes(n);
523
- }, ta = {
519
+ }, xt = (e, n, t) => {
520
+ ja(t);
521
+ const a = Ta(e, n);
522
+ return tn[t].includes(a);
523
+ }, tn = {
524
524
  ">": [1],
525
525
  ">=": [0, 1],
526
526
  "=": [0],
527
527
  "<=": [-1, 0],
528
528
  "<": [-1],
529
529
  "!=": [-1, 1]
530
- }, _t = Object.keys(ta), jn = (e) => {
530
+ }, _t = Object.keys(tn), ja = (e) => {
531
531
  if (typeof e != "string")
532
532
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
533
533
  if (_t.indexOf(e) === -1)
534
534
  throw new Error(`Invalid operator, expected one of ${_t.join("|")}`);
535
- }, $n = (e) => typeof e == "string" && /^[v\d]/.test(e) && ea.test(e);
536
- function On(e) {
537
- const { gatewayInfo: a, supportedRange: t } = e;
538
- if (!a)
535
+ }, $a = (e) => typeof e == "string" && /^[v\d]/.test(e) && en.test(e);
536
+ function Oa(e) {
537
+ const { gatewayInfo: n, supportedRange: t } = e;
538
+ if (!n)
539
539
  return !0;
540
- const { edition: n, version: i } = a;
541
- if (!$n(i))
540
+ const { edition: a, version: i } = n;
541
+ if (!$a(i))
542
542
  return console.error("Invalid version"), !1;
543
- const r = t[n];
543
+ const r = t[a];
544
544
  if (!r)
545
545
  return !1;
546
546
  const [o, l] = r;
547
547
  return !(o && xt(i, o, "<") || l && xt(i, l, ">"));
548
548
  }
549
- function Mn(e) {
550
- const a = O(0), t = O(0), n = O(!1);
549
+ function Ma(e) {
550
+ const n = O(0), t = O(0), a = O(!1);
551
551
  return ke(e, (i) => {
552
- i && !n.value && (a.value = i.offsetWidth, t.value = i.scrollWidth, n.value = !0);
552
+ i && !a.value && (n.value = i.offsetWidth, t.value = i.scrollWidth, a.value = !0);
553
553
  }), {
554
- isTruncated: x(() => a.value < t.value)
554
+ isTruncated: x(() => n.value < t.value)
555
555
  };
556
556
  }
557
557
  const ie = {
558
558
  useAxios: dt,
559
- useDebouncedFilter: kn,
560
- useDeleteUrlBuilder: Cn,
561
- useErrors: wn,
562
- useExternalLinkCreator: Sn,
563
- useFetcher: An,
559
+ useDebouncedFilter: ka,
560
+ useDeleteUrlBuilder: Ca,
561
+ useErrors: wa,
562
+ useExternalLinkCreator: Sa,
563
+ useFetcher: Aa,
564
564
  useFetchUrlBuilder: Xt,
565
565
  useHelpers: Qt,
566
- useStringHelpers: In,
566
+ useStringHelpers: Ia,
567
567
  useI18n: pt,
568
- useGatewayFeatureSupported: On,
569
- useTruncationDetector: Mn
570
- }, En = {
568
+ useGatewayFeatureSupported: Oa,
569
+ useTruncationDetector: Ma
570
+ }, Ea = {
571
571
  fail: "Failed to copy id to clipboard",
572
572
  success: {
573
573
  prefix: "Successfully",
574
574
  content: " copied to clipboard"
575
575
  }
576
- }, Kn = "Copy to clipboard", Fn = {
577
- message: En,
578
- iconTitle: Kn
579
- }, Nn = "kong-ui-copy-uuid-notify", Tt = "24px", Bn = (e, a) => {
576
+ }, Ka = "Copy to clipboard", Fa = {
577
+ message: Ea,
578
+ iconTitle: Ka
579
+ }, Na = "kong-ui-copy-uuid-notify", Tt = "24px", Ba = (e, n) => {
580
580
  const t = e.__vccOpts || e;
581
- for (const [n, i] of a)
582
- t[n] = i;
581
+ for (const [a, i] of n)
582
+ t[a] = i;
583
583
  return t;
584
- }, qn = (e) => (Yt("data-v-9971cc79"), e = e(), Wt(), e), Ln = ["aria-hidden"], Rn = {
584
+ }, qa = (e) => (Yt("data-v-9971cc79"), e = e(), Wt(), e), La = ["aria-hidden"], Ra = {
585
585
  key: 0,
586
586
  "data-testid": "kui-icon-svg-title"
587
- }, Pn = /* @__PURE__ */ qn(() => /* @__PURE__ */ L("path", {
587
+ }, Pa = /* @__PURE__ */ qa(() => /* @__PURE__ */ L("path", {
588
588
  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",
589
589
  fill: "currentColor"
590
- }, null, -1)), Vn = /* @__PURE__ */ te({
590
+ }, null, -1)), Va = /* @__PURE__ */ te({
591
591
  __name: "CopyIcon",
592
592
  props: {
593
593
  /** The accessibility text provided to screen readers */
@@ -624,7 +624,7 @@ const ie = {
624
624
  if (typeof e == "number" && e > 0)
625
625
  return !0;
626
626
  if (typeof e == "string") {
627
- const a = String(e).replace(/px/gi, ""), t = Number(a);
627
+ const n = String(e).replace(/px/gi, ""), t = Number(n);
628
628
  if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
629
629
  return !0;
630
630
  }
@@ -639,19 +639,19 @@ const ie = {
639
639
  }
640
640
  },
641
641
  setup(e) {
642
- const a = e, t = x(() => {
643
- if (typeof a.size == "number" && a.size > 0)
644
- return `${a.size}px`;
645
- if (typeof a.size == "string") {
646
- const i = String(a.size).replace(/px/gi, ""), r = Number(i);
642
+ const n = e, t = x(() => {
643
+ if (typeof n.size == "number" && n.size > 0)
644
+ return `${n.size}px`;
645
+ if (typeof n.size == "string") {
646
+ const i = String(n.size).replace(/px/gi, ""), r = Number(i);
647
647
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
648
648
  return `${r}px`;
649
649
  }
650
650
  return Tt;
651
- }), n = x(() => ({
651
+ }), a = x(() => ({
652
652
  boxSizing: "border-box",
653
- color: a.color,
654
- display: a.display,
653
+ color: n.color,
654
+ display: n.display,
655
655
  height: t.value,
656
656
  lineHeight: "0",
657
657
  width: t.value
@@ -660,7 +660,7 @@ const ie = {
660
660
  "aria-hidden": e.decorative ? "true" : void 0,
661
661
  class: "kui-icon copy-icon",
662
662
  "data-testid": "kui-icon-wrapper-copy-icon",
663
- style: Jt(n.value)
663
+ style: Jt(a.value)
664
664
  }, {
665
665
  default: k(() => [
666
666
  (y(), I("svg", {
@@ -673,14 +673,14 @@ const ie = {
673
673
  width: "100%",
674
674
  xmlns: "http://www.w3.org/2000/svg"
675
675
  }, [
676
- e.title ? (y(), I("title", Rn, K(e.title), 1)) : D("", !0),
677
- Pn
678
- ], 8, Ln))
676
+ e.title ? (y(), I("title", Ra, K(e.title), 1)) : D("", !0),
677
+ Pa
678
+ ], 8, La))
679
679
  ]),
680
680
  _: 1
681
681
  }, 8, ["aria-hidden", "style"]));
682
682
  }
683
- }), Dn = /* @__PURE__ */ Bn(Vn, [["__scopeId", "data-v-9971cc79"]]), Un = "16px", Hn = { class: "kong-ui-copy-uuid" }, zn = ["onClick"], jt = 15, Jn = /* @__PURE__ */ te({
683
+ }), Da = /* @__PURE__ */ Ba(Va, [["__scopeId", "data-v-9971cc79"]]), Ua = "16px", Ha = { class: "kong-ui-copy-uuid" }, za = ["onClick"], jt = 15, Ja = /* @__PURE__ */ te({
684
684
  __name: "CopyUuid",
685
685
  props: {
686
686
  uuid: {
@@ -723,8 +723,8 @@ const ie = {
723
723
  }
724
724
  },
725
725
  emits: ["success", "error"],
726
- setup(e, { emit: a }) {
727
- const t = e, { t: n } = ct("en-us", Fn), i = t.notify || en(Nn, () => {
726
+ setup(e, { emit: n }) {
727
+ const t = e, { t: a } = ct("en-us", Fa), i = t.notify || ta(Na, () => {
728
728
  }), r = x(() => t.idTooltip ? {
729
729
  label: t.idTooltip,
730
730
  positionFixed: !0,
@@ -748,19 +748,19 @@ const ie = {
748
748
  if (!g(t.uuid)) {
749
749
  typeof i == "function" && i({
750
750
  type: "error",
751
- message: n("message.fail")
752
- }), o.value ? d(n("message.fail")) : a("error", t.uuid);
751
+ message: a("message.fail")
752
+ }), o.value ? d(a("message.fail")) : n("error", t.uuid);
753
753
  return;
754
754
  }
755
- const b = ((f = t.uuid) == null ? void 0 : f.length) > jt, p = t.format === "hidden" || t.format === "redacted" ? n("message.success.prefix") : `"${((S = t.uuid) == null ? void 0 : S.substring(0, jt)) + (b ? "..." : "")}"`;
755
+ const b = ((f = t.uuid) == null ? void 0 : f.length) > jt, p = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((S = t.uuid) == null ? void 0 : S.substring(0, jt)) + (b ? "..." : "")}"`;
756
756
  typeof i == "function" && i({
757
757
  type: "success",
758
- message: `${p}${n("message.success.content")}`
759
- }), o.value ? d(t.successTooltip) : a("success", t.uuid);
758
+ message: `${p}${a("message.success.content")}`
759
+ }), o.value ? d(t.successTooltip) : n("success", t.uuid);
760
760
  };
761
761
  return (g, f) => {
762
762
  const S = E("KClipboardProvider");
763
- return y(), I("div", Hn, [
763
+ return y(), I("div", Ha, [
764
764
  e.format !== "hidden" ? (y(), B(je(e.idTooltip ? "KTooltip" : "div"), et({ key: 0 }, r.value, { "data-testid": "copy-id" }), {
765
765
  default: k(() => [
766
766
  L("div", {
@@ -783,14 +783,14 @@ const ie = {
783
783
  tabindex: "0",
784
784
  onClick: Re((p) => u(b), ["stop"])
785
785
  }, [
786
- j(w(Dn), {
786
+ j(w(Da), {
787
787
  class: "uuid-icon",
788
788
  color: e.iconColor,
789
789
  decorative: !!e.tooltip,
790
- size: w(Un),
791
- title: w(n)("iconTitle")
790
+ size: w(Ua),
791
+ title: w(a)("iconTitle")
792
792
  }, null, 8, ["color", "decorative", "size", "title"])
793
- ], 8, zn)
793
+ ], 8, za)
794
794
  ]),
795
795
  _: 1
796
796
  })
@@ -800,15 +800,15 @@ const ie = {
800
800
  ]);
801
801
  };
802
802
  }
803
- }), Yn = (e, a) => {
803
+ }), Ya = (e, n) => {
804
804
  const t = e.__vccOpts || e;
805
- for (const [n, i] of a)
806
- t[n] = i;
805
+ for (const [a, i] of n)
806
+ t[a] = i;
807
807
  return t;
808
- }, aa = /* @__PURE__ */ Yn(Jn, [["__scopeId", "data-v-0c07874b"]]), Wn = {
808
+ }, nn = /* @__PURE__ */ Ya(Ja, [["__scopeId", "data-v-0c07874b"]]), Wa = {
809
809
  key: 0,
810
810
  class: "config-card-fieldset-title"
811
- }, Zn = /* @__PURE__ */ te({
811
+ }, Za = /* @__PURE__ */ te({
812
812
  __name: "JsonCardItem",
813
813
  props: {
814
814
  item: {
@@ -825,25 +825,25 @@ const ie = {
825
825
  }
826
826
  },
827
827
  setup(e) {
828
- const a = e, { i18n: { t } } = ie.useI18n(), { convertKeyToTitle: n } = ie.useStringHelpers(), i = x(() => a.item.key ?? "json-array-item"), r = x(() => a.item.value ?? a.item), o = x(() => {
828
+ const n = e, { i18n: { t } } = ie.useI18n(), { convertKeyToTitle: a } = ie.useStringHelpers(), i = x(() => n.item.key ?? "json-array-item"), r = x(() => n.item.value ?? n.item), o = x(() => {
829
829
  const s = JSON.parse(JSON.stringify(r.value));
830
- return a.isArrayItem && delete s.name, s;
830
+ return n.isArrayItem && delete s.name, s;
831
831
  }), l = x(() => {
832
832
  var s;
833
- return a.isArrayItem ? (s = r.value) != null && s.name ? n(r.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: a.index }) : "";
833
+ return n.isArrayItem ? (s = r.value) != null && s.name ? a(r.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
834
834
  });
835
835
  return (s, c) => (y(), B(je(e.isArrayItem ? "fieldset" : "div"), {
836
836
  class: Ae(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
837
837
  }, {
838
838
  default: k(() => [
839
- e.isArrayItem ? (y(), I("legend", Wn, [
839
+ e.isArrayItem ? (y(), I("legend", Wa, [
840
840
  L("b", null, K(l.value), 1)
841
841
  ])) : D("", !0),
842
842
  (y(!0), I(pe, null, ue(Object.keys(o.value), (d, u) => (y(), B(ft, {
843
843
  key: `${i.value}-property-${u}`,
844
844
  item: {
845
845
  key: d,
846
- label: w(n)(d),
846
+ label: w(a)(d),
847
847
  value: o.value[d]
848
848
  }
849
849
  }, null, 8, ["item"]))), 128))
@@ -851,12 +851,12 @@ const ie = {
851
851
  _: 1
852
852
  }, 8, ["class"]));
853
853
  }
854
- }), fe = (e, a) => {
854
+ }), fe = (e, n) => {
855
855
  const t = e.__vccOpts || e;
856
- for (const [n, i] of a)
857
- t[n] = i;
856
+ for (const [a, i] of n)
857
+ t[a] = i;
858
858
  return t;
859
- }, na = /* @__PURE__ */ fe(Zn, [["__scopeId", "data-v-68ca83ec"]]), Gn = /* @__PURE__ */ te({
859
+ }, an = /* @__PURE__ */ fe(Za, [["__scopeId", "data-v-68ca83ec"]]), Ga = /* @__PURE__ */ te({
860
860
  __name: "InternalLinkItem",
861
861
  props: {
862
862
  item: {
@@ -866,24 +866,24 @@ const ie = {
866
866
  },
867
867
  emits: ["navigation-click"],
868
868
  setup(e) {
869
- const { i18n: { t: a } } = ie.useI18n();
870
- return (t, n) => {
869
+ const { i18n: { t: n } } = ie.useI18n();
870
+ return (t, a) => {
871
871
  const i = E("KButton");
872
872
  return y(), I("div", null, [
873
873
  j(i, {
874
874
  appearance: "tertiary",
875
875
  class: "navigation-button",
876
- onClick: n[0] || (n[0] = (r) => t.$emit("navigation-click", e.item))
876
+ onClick: a[0] || (a[0] = (r) => t.$emit("navigation-click", e.item))
877
877
  }, {
878
878
  default: k(() => [
879
- H(K(e.item.value || w(a)("baseConfigCard.commonFields.link")), 1)
879
+ H(K(e.item.value || w(n)("baseConfigCard.commonFields.link")), 1)
880
880
  ]),
881
881
  _: 1
882
882
  })
883
883
  ]);
884
884
  };
885
885
  }
886
- }), Qn = /* @__PURE__ */ fe(Gn, [["__scopeId", "data-v-c96811e5"]]), Xn = /* @__PURE__ */ te({
886
+ }), Qa = /* @__PURE__ */ fe(Ga, [["__scopeId", "data-v-c96811e5"]]), Xa = /* @__PURE__ */ te({
887
887
  __name: "StatusBadge",
888
888
  props: {
889
889
  status: {
@@ -892,22 +892,22 @@ const ie = {
892
892
  }
893
893
  },
894
894
  setup(e) {
895
- const { i18n: { t: a } } = ie.useI18n();
896
- return (t, n) => {
895
+ const { i18n: { t: n } } = ie.useI18n();
896
+ return (t, a) => {
897
897
  const i = E("KBadge");
898
898
  return y(), B(i, {
899
899
  appearance: e.status ? "success" : "neutral"
900
900
  }, {
901
901
  default: k(() => [
902
- H(K(e.status ? w(a)("baseConfigCard.statusBadge.enabledLabel") : w(a)("baseConfigCard.statusBadge.disabledLabel")), 1)
902
+ H(K(e.status ? w(n)("baseConfigCard.statusBadge.enabledLabel") : w(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
903
903
  ]),
904
904
  _: 1
905
905
  }, 8, ["appearance"]);
906
906
  };
907
907
  }
908
- }), ei = "#0044f4", ti = "#e0e4ea", ai = "#3a3f51", ni = "1px", ii = "20px", ri = { class: "config-card-details-row" }, oi = ["data-testid"], li = ["data-testid"], si = ["data-testid"], ci = ["data-testid"], ui = { key: 1 }, di = ["data-testid"], pi = ["data-testid"], fi = ["data-testid"], yi = ["data-testid"], gi = {
908
+ }), ei = "#0044f4", ti = "#e0e4ea", ni = "#3a3f51", ai = "1px", ii = "20px", ri = { class: "config-card-details-row" }, oi = ["data-testid"], li = ["data-testid"], si = ["data-testid"], ci = ["data-testid"], ui = { key: 1 }, di = ["data-testid"], pi = ["data-testid"], fi = ["data-testid"], yi = ["data-testid"], gi = {
909
909
  name: "ConfigCardItem",
910
- components: { CopyUuid: aa, JsonCardItem: na, StatusBadge: Xn, InternalLinkItem: Qn }
910
+ components: { CopyUuid: nn, JsonCardItem: an, StatusBadge: Xa, InternalLinkItem: Qa }
911
911
  }, mi = /* @__PURE__ */ te({
912
912
  ...gi,
913
913
  props: {
@@ -927,15 +927,15 @@ const ie = {
927
927
  }
928
928
  },
929
929
  emits: ["navigation-click"],
930
- setup(e, { emit: a }) {
930
+ setup(e, { emit: n }) {
931
931
  const t = e;
932
- Wa((f) => ({
933
- "1df60db4": c.value ? "none" : `solid ${w(ni)} ${w(ti)}`,
934
- "21d1d34e": s.value && o.value ? "block" : "flex",
935
- "4d3dc7e7": s.value && o.value ? "100%" : t.slim ? "50%" : "25%",
936
- "4d400dc2": s.value && o.value ? "100%" : t.slim ? "50%" : "75%"
932
+ Zn((f) => ({
933
+ "23f3018c": c.value ? "none" : `solid ${w(ai)} ${w(ti)}`,
934
+ "3815ec6d": s.value && o.value ? "block" : "flex",
935
+ "1957f153": s.value && o.value ? "100%" : t.slim ? "50%" : "25%",
936
+ "195a372e": s.value && o.value ? "100%" : t.slim ? "50%" : "75%"
937
937
  }));
938
- const n = Je(), { i18n: { t: i, formatUnixTimeStamp: r } } = ie.useI18n(), o = x(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = x(() => !!(t.item.tooltip || n["label-tooltip"])), s = x(() => t.item.type === W.Json || t.item.type === W.JsonArray), c = x(() => t.item.type === W.JsonArray), d = x(() => {
938
+ const a = Je(), { i18n: { t: i, formatUnixTimeStamp: r } } = ie.useI18n(), o = x(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = x(() => !!(t.item.tooltip || a["label-tooltip"])), s = x(() => t.item.type === W.Json || t.item.type === W.JsonArray), c = x(() => t.item.type === W.JsonArray), d = x(() => {
939
939
  switch (t.item.type) {
940
940
  case W.ID:
941
941
  return {
@@ -1022,7 +1022,7 @@ const ie = {
1022
1022
  "data-testid": `${t.item.key}-internal-link`,
1023
1023
  item: t.item,
1024
1024
  onNavigationClick: (f) => {
1025
- a("navigation-click", f);
1025
+ n("navigation-click", f);
1026
1026
  }
1027
1027
  }
1028
1028
  };
@@ -1100,7 +1100,7 @@ const ie = {
1100
1100
  rowValue: e.item.value
1101
1101
  }, () => [
1102
1102
  o.value ? (y(), I("div", ui, [
1103
- (y(), B(je(d.value.tag), Za(Ga(d.value.attrs)), {
1103
+ (y(), B(je(d.value.tag), Gn(Qn(d.value.attrs)), {
1104
1104
  default: k(() => [
1105
1105
  d.value.additionalComponent === "KBadge" ? (y(), I("div", {
1106
1106
  key: 0,
@@ -1123,7 +1123,7 @@ const ie = {
1123
1123
  class: "copy-uuid-array",
1124
1124
  "data-testid": `${e.item.key}-copy-uuid-array`
1125
1125
  }, [
1126
- (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(w(aa), et(d.value.childAttrs, {
1126
+ (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(w(nn), et(d.value.childAttrs, {
1127
1127
  key: `${e.item.key}-copy-uuid-${v}`,
1128
1128
  "data-testid": `${e.item.key}-copy-uuid-${v}`,
1129
1129
  uuid: _
@@ -1139,7 +1139,7 @@ const ie = {
1139
1139
  "data-testid": `${e.item.key}-badge-method-${v}`,
1140
1140
  "is-rounded": "",
1141
1141
  label: _,
1142
- method: w(an).includes(_.toLowerCase()) ? _.toLowerCase() : "custom"
1142
+ method: w(aa).includes(_.toLowerCase()) ? _.toLowerCase() : "custom"
1143
1143
  }, {
1144
1144
  default: k(() => [
1145
1145
  H(K(_), 1)
@@ -1151,7 +1151,7 @@ const ie = {
1151
1151
  key: 3,
1152
1152
  "data-testid": `${t.item.key}-json-array-content`
1153
1153
  }, [
1154
- (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(na, {
1154
+ (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(an, {
1155
1155
  key: `json-array-item-${v}`,
1156
1156
  index: v,
1157
1157
  "is-array-item": "",
@@ -1182,34 +1182,34 @@ const ie = {
1182
1182
  ]);
1183
1183
  };
1184
1184
  }
1185
- }), ft = /* @__PURE__ */ fe(mi, [["__scopeId", "data-v-307ab96d"]]);
1185
+ }), ft = /* @__PURE__ */ fe(mi, [["__scopeId", "data-v-e851fc7c"]]);
1186
1186
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1187
- function ia(e) {
1187
+ function rn(e) {
1188
1188
  return typeof e > "u" || e === null;
1189
1189
  }
1190
1190
  function hi(e) {
1191
1191
  return typeof e == "object" && e !== null;
1192
1192
  }
1193
1193
  function vi(e) {
1194
- return Array.isArray(e) ? e : ia(e) ? [] : [e];
1194
+ return Array.isArray(e) ? e : rn(e) ? [] : [e];
1195
1195
  }
1196
- function bi(e, a) {
1197
- var t, n, i, r;
1198
- if (a)
1199
- for (r = Object.keys(a), t = 0, n = r.length; t < n; t += 1)
1200
- i = r[t], e[i] = a[i];
1196
+ function bi(e, n) {
1197
+ var t, a, i, r;
1198
+ if (n)
1199
+ for (r = Object.keys(n), t = 0, a = r.length; t < a; t += 1)
1200
+ i = r[t], e[i] = n[i];
1201
1201
  return e;
1202
1202
  }
1203
- function ki(e, a) {
1204
- var t = "", n;
1205
- for (n = 0; n < a; n += 1)
1203
+ function ki(e, n) {
1204
+ var t = "", a;
1205
+ for (a = 0; a < n; a += 1)
1206
1206
  t += e;
1207
1207
  return t;
1208
1208
  }
1209
1209
  function Ci(e) {
1210
1210
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1211
1211
  }
1212
- var wi = ia, Si = hi, Ai = vi, Ii = ki, xi = Ci, _i = bi, ae = {
1212
+ var wi = rn, Si = hi, Ai = vi, Ii = ki, xi = Ci, _i = bi, ne = {
1213
1213
  isNothing: wi,
1214
1214
  isObject: Si,
1215
1215
  toArray: Ai,
@@ -1217,59 +1217,59 @@ var wi = ia, Si = hi, Ai = vi, Ii = ki, xi = Ci, _i = bi, ae = {
1217
1217
  isNegativeZero: xi,
1218
1218
  extend: _i
1219
1219
  };
1220
- function ra(e, a) {
1221
- var t = "", n = e.reason || "(unknown reason)";
1222
- return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !a && e.mark.snippet && (t += `
1220
+ function on(e, n) {
1221
+ var t = "", a = e.reason || "(unknown reason)";
1222
+ 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 += `
1223
1223
 
1224
- ` + e.mark.snippet), n + " " + t) : n;
1224
+ ` + e.mark.snippet), a + " " + t) : a;
1225
1225
  }
1226
- function Ee(e, a) {
1227
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = a, this.message = ra(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1226
+ function Ee(e, n) {
1227
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = on(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1228
1228
  }
1229
1229
  Ee.prototype = Object.create(Error.prototype);
1230
1230
  Ee.prototype.constructor = Ee;
1231
1231
  Ee.prototype.toString = function(e) {
1232
- return this.name + ": " + ra(this, e);
1232
+ return this.name + ": " + on(this, e);
1233
1233
  };
1234
1234
  var se = Ee;
1235
- function Ge(e, a, t, n, i) {
1235
+ function Ge(e, n, t, a, i) {
1236
1236
  var r = "", o = "", l = Math.floor(i / 2) - 1;
1237
- return n - a > l && (r = " ... ", a = n - l + r.length), t - n > l && (o = " ...", t = n + l - o.length), {
1238
- str: r + e.slice(a, t).replace(/\t/g, "→") + o,
1239
- pos: n - a + r.length
1237
+ return a - n > l && (r = " ... ", n = a - l + r.length), t - a > l && (o = " ...", t = a + l - o.length), {
1238
+ str: r + e.slice(n, t).replace(/\t/g, "→") + o,
1239
+ pos: a - n + r.length
1240
1240
  // relative position
1241
1241
  };
1242
1242
  }
1243
- function Qe(e, a) {
1244
- return ae.repeat(" ", a - e.length) + e;
1243
+ function Qe(e, n) {
1244
+ return ne.repeat(" ", n - e.length) + e;
1245
1245
  }
1246
- function Ti(e, a) {
1247
- if (a = Object.create(a || null), !e.buffer)
1246
+ function Ti(e, n) {
1247
+ if (n = Object.create(n || null), !e.buffer)
1248
1248
  return null;
1249
- a.maxLength || (a.maxLength = 79), typeof a.indent != "number" && (a.indent = 1), typeof a.linesBefore != "number" && (a.linesBefore = 3), typeof a.linesAfter != "number" && (a.linesAfter = 2);
1250
- for (var t = /\r?\n|\r|\0/g, n = [0], i = [], r, o = -1; r = t.exec(e.buffer); )
1251
- i.push(r.index), n.push(r.index + r[0].length), e.position <= r.index && o < 0 && (o = n.length - 2);
1252
- o < 0 && (o = n.length - 1);
1253
- var l = "", s, c, d = Math.min(e.line + a.linesAfter, i.length).toString().length, u = a.maxLength - (a.indent + d + 3);
1254
- for (s = 1; s <= a.linesBefore && !(o - s < 0); s++)
1249
+ 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);
1250
+ for (var t = /\r?\n|\r|\0/g, a = [0], i = [], r, o = -1; r = t.exec(e.buffer); )
1251
+ i.push(r.index), a.push(r.index + r[0].length), e.position <= r.index && o < 0 && (o = a.length - 2);
1252
+ o < 0 && (o = a.length - 1);
1253
+ var l = "", s, c, d = Math.min(e.line + n.linesAfter, i.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1254
+ for (s = 1; s <= n.linesBefore && !(o - s < 0); s++)
1255
1255
  c = Ge(
1256
1256
  e.buffer,
1257
- n[o - s],
1257
+ a[o - s],
1258
1258
  i[o - s],
1259
- e.position - (n[o] - n[o - s]),
1259
+ e.position - (a[o] - a[o - s]),
1260
1260
  u
1261
- ), l = ae.repeat(" ", a.indent) + Qe((e.line - s + 1).toString(), d) + " | " + c.str + `
1261
+ ), l = ne.repeat(" ", n.indent) + Qe((e.line - s + 1).toString(), d) + " | " + c.str + `
1262
1262
  ` + l;
1263
- for (c = Ge(e.buffer, n[o], i[o], e.position, u), l += ae.repeat(" ", a.indent) + Qe((e.line + 1).toString(), d) + " | " + c.str + `
1264
- `, l += ae.repeat("-", a.indent + d + 3 + c.pos) + `^
1265
- `, s = 1; s <= a.linesAfter && !(o + s >= i.length); s++)
1263
+ for (c = Ge(e.buffer, a[o], i[o], e.position, u), l += ne.repeat(" ", n.indent) + Qe((e.line + 1).toString(), d) + " | " + c.str + `
1264
+ `, l += ne.repeat("-", n.indent + d + 3 + c.pos) + `^
1265
+ `, s = 1; s <= n.linesAfter && !(o + s >= i.length); s++)
1266
1266
  c = Ge(
1267
1267
  e.buffer,
1268
- n[o + s],
1268
+ a[o + s],
1269
1269
  i[o + s],
1270
- e.position - (n[o] - n[o + s]),
1270
+ e.position - (a[o] - a[o + s]),
1271
1271
  u
1272
- ), l += ae.repeat(" ", a.indent) + Qe((e.line + s + 1).toString(), d) + " | " + c.str + `
1272
+ ), l += ne.repeat(" ", n.indent) + Qe((e.line + s + 1).toString(), d) + " | " + c.str + `
1273
1273
  `;
1274
1274
  return l.replace(/\n$/, "");
1275
1275
  }
@@ -1290,32 +1290,32 @@ var ji = Ti, $i = [
1290
1290
  "mapping"
1291
1291
  ];
1292
1292
  function Mi(e) {
1293
- var a = {};
1293
+ var n = {};
1294
1294
  return e !== null && Object.keys(e).forEach(function(t) {
1295
- e[t].forEach(function(n) {
1296
- a[String(n)] = t;
1295
+ e[t].forEach(function(a) {
1296
+ n[String(a)] = t;
1297
1297
  });
1298
- }), a;
1298
+ }), n;
1299
1299
  }
1300
- function Ei(e, a) {
1301
- if (a = a || {}, Object.keys(a).forEach(function(t) {
1300
+ function Ei(e, n) {
1301
+ if (n = n || {}, Object.keys(n).forEach(function(t) {
1302
1302
  if ($i.indexOf(t) === -1)
1303
1303
  throw new se('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1304
- }), this.options = a, this.tag = e, this.kind = a.kind || null, this.resolve = a.resolve || function() {
1304
+ }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1305
1305
  return !0;
1306
- }, this.construct = a.construct || function(t) {
1306
+ }, this.construct = n.construct || function(t) {
1307
1307
  return t;
1308
- }, this.instanceOf = a.instanceOf || null, this.predicate = a.predicate || null, this.represent = a.represent || null, this.representName = a.representName || null, this.defaultStyle = a.defaultStyle || null, this.multi = a.multi || !1, this.styleAliases = Mi(a.styleAliases || null), Oi.indexOf(this.kind) === -1)
1308
+ }, 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 = Mi(n.styleAliases || null), Oi.indexOf(this.kind) === -1)
1309
1309
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1310
1310
  }
1311
1311
  var re = Ei;
1312
- function $t(e, a) {
1312
+ function $t(e, n) {
1313
1313
  var t = [];
1314
- return e[a].forEach(function(n) {
1314
+ return e[n].forEach(function(a) {
1315
1315
  var i = t.length;
1316
1316
  t.forEach(function(r, o) {
1317
- r.tag === n.tag && r.kind === n.kind && r.multi === n.multi && (i = o);
1318
- }), t[i] = n;
1317
+ r.tag === a.tag && r.kind === a.kind && r.multi === a.multi && (i = o);
1318
+ }), t[i] = a;
1319
1319
  }), t;
1320
1320
  }
1321
1321
  function Ki() {
@@ -1330,28 +1330,28 @@ function Ki() {
1330
1330
  mapping: [],
1331
1331
  fallback: []
1332
1332
  }
1333
- }, a, t;
1334
- function n(i) {
1333
+ }, n, t;
1334
+ function a(i) {
1335
1335
  i.multi ? (e.multi[i.kind].push(i), e.multi.fallback.push(i)) : e[i.kind][i.tag] = e.fallback[i.tag] = i;
1336
1336
  }
1337
- for (a = 0, t = arguments.length; a < t; a += 1)
1338
- arguments[a].forEach(n);
1337
+ for (n = 0, t = arguments.length; n < t; n += 1)
1338
+ arguments[n].forEach(a);
1339
1339
  return e;
1340
1340
  }
1341
- function at(e) {
1341
+ function nt(e) {
1342
1342
  return this.extend(e);
1343
1343
  }
1344
- at.prototype.extend = function(e) {
1345
- var a = [], t = [];
1344
+ nt.prototype.extend = function(e) {
1345
+ var n = [], t = [];
1346
1346
  if (e instanceof re)
1347
1347
  t.push(e);
1348
1348
  else if (Array.isArray(e))
1349
1349
  t = t.concat(e);
1350
1350
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
1351
- e.implicit && (a = a.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1351
+ e.implicit && (n = n.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1352
1352
  else
1353
1353
  throw new se("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1354
- a.forEach(function(i) {
1354
+ n.forEach(function(i) {
1355
1355
  if (!(i instanceof re))
1356
1356
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1357
1357
  if (i.loadKind && i.loadKind !== "scalar")
@@ -1362,36 +1362,36 @@ at.prototype.extend = function(e) {
1362
1362
  if (!(i instanceof re))
1363
1363
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1364
1364
  });
1365
- var n = Object.create(at.prototype);
1366
- return n.implicit = (this.implicit || []).concat(a), n.explicit = (this.explicit || []).concat(t), n.compiledImplicit = $t(n, "implicit"), n.compiledExplicit = $t(n, "explicit"), n.compiledTypeMap = Ki(n.compiledImplicit, n.compiledExplicit), n;
1365
+ var a = Object.create(nt.prototype);
1366
+ return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = $t(a, "implicit"), a.compiledExplicit = $t(a, "explicit"), a.compiledTypeMap = Ki(a.compiledImplicit, a.compiledExplicit), a;
1367
1367
  };
1368
- var oa = at, la = new re("tag:yaml.org,2002:str", {
1368
+ var ln = nt, sn = new re("tag:yaml.org,2002:str", {
1369
1369
  kind: "scalar",
1370
1370
  construct: function(e) {
1371
1371
  return e !== null ? e : "";
1372
1372
  }
1373
- }), sa = new re("tag:yaml.org,2002:seq", {
1373
+ }), cn = new re("tag:yaml.org,2002:seq", {
1374
1374
  kind: "sequence",
1375
1375
  construct: function(e) {
1376
1376
  return e !== null ? e : [];
1377
1377
  }
1378
- }), ca = new re("tag:yaml.org,2002:map", {
1378
+ }), un = new re("tag:yaml.org,2002:map", {
1379
1379
  kind: "mapping",
1380
1380
  construct: function(e) {
1381
1381
  return e !== null ? e : {};
1382
1382
  }
1383
- }), ua = new oa({
1383
+ }), dn = new ln({
1384
1384
  explicit: [
1385
- la,
1386
- sa,
1387
- ca
1385
+ sn,
1386
+ cn,
1387
+ un
1388
1388
  ]
1389
1389
  });
1390
1390
  function Fi(e) {
1391
1391
  if (e === null)
1392
1392
  return !0;
1393
- var a = e.length;
1394
- return a === 1 && e === "~" || a === 4 && (e === "null" || e === "Null" || e === "NULL");
1393
+ var n = e.length;
1394
+ return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1395
1395
  }
1396
1396
  function Ni() {
1397
1397
  return null;
@@ -1399,7 +1399,7 @@ function Ni() {
1399
1399
  function Bi(e) {
1400
1400
  return e === null;
1401
1401
  }
1402
- var da = new re("tag:yaml.org,2002:null", {
1402
+ var pn = new re("tag:yaml.org,2002:null", {
1403
1403
  kind: "scalar",
1404
1404
  resolve: Fi,
1405
1405
  construct: Ni,
@@ -1426,8 +1426,8 @@ var da = new re("tag:yaml.org,2002:null", {
1426
1426
  function qi(e) {
1427
1427
  if (e === null)
1428
1428
  return !1;
1429
- var a = e.length;
1430
- return a === 4 && (e === "true" || e === "True" || e === "TRUE") || a === 5 && (e === "false" || e === "False" || e === "FALSE");
1429
+ var n = e.length;
1430
+ return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1431
1431
  }
1432
1432
  function Li(e) {
1433
1433
  return e === "true" || e === "True" || e === "TRUE";
@@ -1435,7 +1435,7 @@ function Li(e) {
1435
1435
  function Ri(e) {
1436
1436
  return Object.prototype.toString.call(e) === "[object Boolean]";
1437
1437
  }
1438
- var pa = new re("tag:yaml.org,2002:bool", {
1438
+ var fn = new re("tag:yaml.org,2002:bool", {
1439
1439
  kind: "scalar",
1440
1440
  resolve: qi,
1441
1441
  construct: Li,
@@ -1465,68 +1465,68 @@ function Di(e) {
1465
1465
  function Ui(e) {
1466
1466
  if (e === null)
1467
1467
  return !1;
1468
- var a = e.length, t = 0, n = !1, i;
1469
- if (!a)
1468
+ var n = e.length, t = 0, a = !1, i;
1469
+ if (!n)
1470
1470
  return !1;
1471
1471
  if (i = e[t], (i === "-" || i === "+") && (i = e[++t]), i === "0") {
1472
- if (t + 1 === a)
1472
+ if (t + 1 === n)
1473
1473
  return !0;
1474
1474
  if (i = e[++t], i === "b") {
1475
- for (t++; t < a; t++)
1475
+ for (t++; t < n; t++)
1476
1476
  if (i = e[t], i !== "_") {
1477
1477
  if (i !== "0" && i !== "1")
1478
1478
  return !1;
1479
- n = !0;
1479
+ a = !0;
1480
1480
  }
1481
- return n && i !== "_";
1481
+ return a && i !== "_";
1482
1482
  }
1483
1483
  if (i === "x") {
1484
- for (t++; t < a; t++)
1484
+ for (t++; t < n; t++)
1485
1485
  if (i = e[t], i !== "_") {
1486
1486
  if (!Pi(e.charCodeAt(t)))
1487
1487
  return !1;
1488
- n = !0;
1488
+ a = !0;
1489
1489
  }
1490
- return n && i !== "_";
1490
+ return a && i !== "_";
1491
1491
  }
1492
1492
  if (i === "o") {
1493
- for (t++; t < a; t++)
1493
+ for (t++; t < n; t++)
1494
1494
  if (i = e[t], i !== "_") {
1495
1495
  if (!Vi(e.charCodeAt(t)))
1496
1496
  return !1;
1497
- n = !0;
1497
+ a = !0;
1498
1498
  }
1499
- return n && i !== "_";
1499
+ return a && i !== "_";
1500
1500
  }
1501
1501
  }
1502
1502
  if (i === "_")
1503
1503
  return !1;
1504
- for (; t < a; t++)
1504
+ for (; t < n; t++)
1505
1505
  if (i = e[t], i !== "_") {
1506
1506
  if (!Di(e.charCodeAt(t)))
1507
1507
  return !1;
1508
- n = !0;
1508
+ a = !0;
1509
1509
  }
1510
- return !(!n || i === "_");
1510
+ return !(!a || i === "_");
1511
1511
  }
1512
1512
  function Hi(e) {
1513
- var a = e, t = 1, n;
1514
- if (a.indexOf("_") !== -1 && (a = a.replace(/_/g, "")), n = a[0], (n === "-" || n === "+") && (n === "-" && (t = -1), a = a.slice(1), n = a[0]), a === "0")
1513
+ var n = e, t = 1, a;
1514
+ 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")
1515
1515
  return 0;
1516
- if (n === "0") {
1517
- if (a[1] === "b")
1518
- return t * parseInt(a.slice(2), 2);
1519
- if (a[1] === "x")
1520
- return t * parseInt(a.slice(2), 16);
1521
- if (a[1] === "o")
1522
- return t * parseInt(a.slice(2), 8);
1516
+ if (a === "0") {
1517
+ if (n[1] === "b")
1518
+ return t * parseInt(n.slice(2), 2);
1519
+ if (n[1] === "x")
1520
+ return t * parseInt(n.slice(2), 16);
1521
+ if (n[1] === "o")
1522
+ return t * parseInt(n.slice(2), 8);
1523
1523
  }
1524
- return t * parseInt(a, 10);
1524
+ return t * parseInt(n, 10);
1525
1525
  }
1526
1526
  function zi(e) {
1527
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ae.isNegativeZero(e);
1527
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ne.isNegativeZero(e);
1528
1528
  }
1529
- var fa = new re("tag:yaml.org,2002:int", {
1529
+ var yn = new re("tag:yaml.org,2002:int", {
1530
1530
  kind: "scalar",
1531
1531
  resolve: Ui,
1532
1532
  construct: Hi,
@@ -1563,14 +1563,14 @@ function Yi(e) {
1563
1563
  e[e.length - 1] === "_");
1564
1564
  }
1565
1565
  function Wi(e) {
1566
- var a, t;
1567
- return a = e.replace(/_/g, "").toLowerCase(), t = a[0] === "-" ? -1 : 1, "+-".indexOf(a[0]) >= 0 && (a = a.slice(1)), a === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : a === ".nan" ? NaN : t * parseFloat(a, 10);
1566
+ var n, t;
1567
+ return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
1568
1568
  }
1569
1569
  var Zi = /^[-+]?[0-9]+e/;
1570
- function Gi(e, a) {
1570
+ function Gi(e, n) {
1571
1571
  var t;
1572
1572
  if (isNaN(e))
1573
- switch (a) {
1573
+ switch (n) {
1574
1574
  case "lowercase":
1575
1575
  return ".nan";
1576
1576
  case "uppercase":
@@ -1579,7 +1579,7 @@ function Gi(e, a) {
1579
1579
  return ".NaN";
1580
1580
  }
1581
1581
  else if (Number.POSITIVE_INFINITY === e)
1582
- switch (a) {
1582
+ switch (n) {
1583
1583
  case "lowercase":
1584
1584
  return ".inf";
1585
1585
  case "uppercase":
@@ -1588,7 +1588,7 @@ function Gi(e, a) {
1588
1588
  return ".Inf";
1589
1589
  }
1590
1590
  else if (Number.NEGATIVE_INFINITY === e)
1591
- switch (a) {
1591
+ switch (n) {
1592
1592
  case "lowercase":
1593
1593
  return "-.inf";
1594
1594
  case "uppercase":
@@ -1596,96 +1596,96 @@ function Gi(e, a) {
1596
1596
  case "camelcase":
1597
1597
  return "-.Inf";
1598
1598
  }
1599
- else if (ae.isNegativeZero(e))
1599
+ else if (ne.isNegativeZero(e))
1600
1600
  return "-0.0";
1601
1601
  return t = e.toString(10), Zi.test(t) ? t.replace("e", ".e") : t;
1602
1602
  }
1603
1603
  function Qi(e) {
1604
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ae.isNegativeZero(e));
1604
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ne.isNegativeZero(e));
1605
1605
  }
1606
- var ya = new re("tag:yaml.org,2002:float", {
1606
+ var gn = new re("tag:yaml.org,2002:float", {
1607
1607
  kind: "scalar",
1608
1608
  resolve: Yi,
1609
1609
  construct: Wi,
1610
1610
  predicate: Qi,
1611
1611
  represent: Gi,
1612
1612
  defaultStyle: "lowercase"
1613
- }), ga = ua.extend({
1613
+ }), mn = dn.extend({
1614
1614
  implicit: [
1615
- da,
1616
- pa,
1617
- fa,
1618
- ya
1615
+ pn,
1616
+ fn,
1617
+ yn,
1618
+ gn
1619
1619
  ]
1620
- }), ma = ga, ha = new RegExp(
1620
+ }), hn = mn, vn = new RegExp(
1621
1621
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1622
- ), va = new RegExp(
1622
+ ), bn = new RegExp(
1623
1623
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1624
1624
  );
1625
1625
  function Xi(e) {
1626
- return e === null ? !1 : ha.exec(e) !== null || va.exec(e) !== null;
1626
+ return e === null ? !1 : vn.exec(e) !== null || bn.exec(e) !== null;
1627
1627
  }
1628
1628
  function er(e) {
1629
- var a, t, n, i, r, o, l, s = 0, c = null, d, u, g;
1630
- if (a = ha.exec(e), a === null && (a = va.exec(e)), a === null)
1629
+ var n, t, a, i, r, o, l, s = 0, c = null, d, u, g;
1630
+ if (n = vn.exec(e), n === null && (n = bn.exec(e)), n === null)
1631
1631
  throw new Error("Date resolve error");
1632
- if (t = +a[1], n = +a[2] - 1, i = +a[3], !a[4])
1633
- return new Date(Date.UTC(t, n, i));
1634
- if (r = +a[4], o = +a[5], l = +a[6], a[7]) {
1635
- for (s = a[7].slice(0, 3); s.length < 3; )
1632
+ if (t = +n[1], a = +n[2] - 1, i = +n[3], !n[4])
1633
+ return new Date(Date.UTC(t, a, i));
1634
+ if (r = +n[4], o = +n[5], l = +n[6], n[7]) {
1635
+ for (s = n[7].slice(0, 3); s.length < 3; )
1636
1636
  s += "0";
1637
1637
  s = +s;
1638
1638
  }
1639
- return a[9] && (d = +a[10], u = +(a[11] || 0), c = (d * 60 + u) * 6e4, a[9] === "-" && (c = -c)), g = new Date(Date.UTC(t, n, i, r, o, l, s)), c && g.setTime(g.getTime() - c), g;
1639
+ return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), g = new Date(Date.UTC(t, a, i, r, o, l, s)), c && g.setTime(g.getTime() - c), g;
1640
1640
  }
1641
1641
  function tr(e) {
1642
1642
  return e.toISOString();
1643
1643
  }
1644
- var ba = new re("tag:yaml.org,2002:timestamp", {
1644
+ var kn = new re("tag:yaml.org,2002:timestamp", {
1645
1645
  kind: "scalar",
1646
1646
  resolve: Xi,
1647
1647
  construct: er,
1648
1648
  instanceOf: Date,
1649
1649
  represent: tr
1650
1650
  });
1651
- function ar(e) {
1651
+ function nr(e) {
1652
1652
  return e === "<<" || e === null;
1653
1653
  }
1654
- var ka = new re("tag:yaml.org,2002:merge", {
1654
+ var Cn = new re("tag:yaml.org,2002:merge", {
1655
1655
  kind: "scalar",
1656
- resolve: ar
1656
+ resolve: nr
1657
1657
  }), yt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1658
1658
  \r`;
1659
- function nr(e) {
1659
+ function ar(e) {
1660
1660
  if (e === null)
1661
1661
  return !1;
1662
- var a, t, n = 0, i = e.length, r = yt;
1662
+ var n, t, a = 0, i = e.length, r = yt;
1663
1663
  for (t = 0; t < i; t++)
1664
- if (a = r.indexOf(e.charAt(t)), !(a > 64)) {
1665
- if (a < 0)
1664
+ if (n = r.indexOf(e.charAt(t)), !(n > 64)) {
1665
+ if (n < 0)
1666
1666
  return !1;
1667
- n += 6;
1667
+ a += 6;
1668
1668
  }
1669
- return n % 8 === 0;
1669
+ return a % 8 === 0;
1670
1670
  }
1671
1671
  function ir(e) {
1672
- var a, t, n = e.replace(/[\r\n=]/g, ""), i = n.length, r = yt, o = 0, l = [];
1673
- for (a = 0; a < i; a++)
1674
- a % 4 === 0 && a && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | r.indexOf(n.charAt(a));
1672
+ var n, t, a = e.replace(/[\r\n=]/g, ""), i = a.length, r = yt, o = 0, l = [];
1673
+ for (n = 0; n < i; n++)
1674
+ n % 4 === 0 && n && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | r.indexOf(a.charAt(n));
1675
1675
  return t = i % 4 * 6, t === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : t === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : t === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
1676
1676
  }
1677
1677
  function rr(e) {
1678
- var a = "", t = 0, n, i, r = e.length, o = yt;
1679
- for (n = 0; n < r; n++)
1680
- n % 3 === 0 && n && (a += o[t >> 18 & 63], a += o[t >> 12 & 63], a += o[t >> 6 & 63], a += o[t & 63]), t = (t << 8) + e[n];
1681
- return i = r % 3, i === 0 ? (a += o[t >> 18 & 63], a += o[t >> 12 & 63], a += o[t >> 6 & 63], a += o[t & 63]) : i === 2 ? (a += o[t >> 10 & 63], a += o[t >> 4 & 63], a += o[t << 2 & 63], a += o[64]) : i === 1 && (a += o[t >> 2 & 63], a += o[t << 4 & 63], a += o[64], a += o[64]), a;
1678
+ var n = "", t = 0, a, i, r = e.length, o = yt;
1679
+ for (a = 0; a < r; a++)
1680
+ a % 3 === 0 && a && (n += o[t >> 18 & 63], n += o[t >> 12 & 63], n += o[t >> 6 & 63], n += o[t & 63]), t = (t << 8) + e[a];
1681
+ return i = r % 3, i === 0 ? (n += o[t >> 18 & 63], n += o[t >> 12 & 63], n += o[t >> 6 & 63], n += o[t & 63]) : i === 2 ? (n += o[t >> 10 & 63], n += o[t >> 4 & 63], n += o[t << 2 & 63], n += o[64]) : i === 1 && (n += o[t >> 2 & 63], n += o[t << 4 & 63], n += o[64], n += o[64]), n;
1682
1682
  }
1683
1683
  function or(e) {
1684
1684
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1685
1685
  }
1686
- var Ca = new re("tag:yaml.org,2002:binary", {
1686
+ var wn = new re("tag:yaml.org,2002:binary", {
1687
1687
  kind: "scalar",
1688
- resolve: nr,
1688
+ resolve: ar,
1689
1689
  construct: ir,
1690
1690
  predicate: or,
1691
1691
  represent: rr
@@ -1693,8 +1693,8 @@ var Ca = new re("tag:yaml.org,2002:binary", {
1693
1693
  function cr(e) {
1694
1694
  if (e === null)
1695
1695
  return !0;
1696
- var a = [], t, n, i, r, o, l = e;
1697
- for (t = 0, n = l.length; t < n; t += 1) {
1696
+ var n = [], t, a, i, r, o, l = e;
1697
+ for (t = 0, a = l.length; t < a; t += 1) {
1698
1698
  if (i = l[t], o = !1, sr.call(i) !== "[object Object]")
1699
1699
  return !1;
1700
1700
  for (r in i)
@@ -1705,8 +1705,8 @@ function cr(e) {
1705
1705
  return !1;
1706
1706
  if (!o)
1707
1707
  return !1;
1708
- if (a.indexOf(r) === -1)
1709
- a.push(r);
1708
+ if (n.indexOf(r) === -1)
1709
+ n.push(r);
1710
1710
  else
1711
1711
  return !1;
1712
1712
  }
@@ -1715,7 +1715,7 @@ function cr(e) {
1715
1715
  function ur(e) {
1716
1716
  return e !== null ? e : [];
1717
1717
  }
1718
- var wa = new re("tag:yaml.org,2002:omap", {
1718
+ var Sn = new re("tag:yaml.org,2002:omap", {
1719
1719
  kind: "sequence",
1720
1720
  resolve: cr,
1721
1721
  construct: ur
@@ -1723,23 +1723,23 @@ var wa = new re("tag:yaml.org,2002:omap", {
1723
1723
  function pr(e) {
1724
1724
  if (e === null)
1725
1725
  return !0;
1726
- var a, t, n, i, r, o = e;
1727
- for (r = new Array(o.length), a = 0, t = o.length; a < t; a += 1) {
1728
- if (n = o[a], dr.call(n) !== "[object Object]" || (i = Object.keys(n), i.length !== 1))
1726
+ var n, t, a, i, r, o = e;
1727
+ for (r = new Array(o.length), n = 0, t = o.length; n < t; n += 1) {
1728
+ if (a = o[n], dr.call(a) !== "[object Object]" || (i = Object.keys(a), i.length !== 1))
1729
1729
  return !1;
1730
- r[a] = [i[0], n[i[0]]];
1730
+ r[n] = [i[0], a[i[0]]];
1731
1731
  }
1732
1732
  return !0;
1733
1733
  }
1734
1734
  function fr(e) {
1735
1735
  if (e === null)
1736
1736
  return [];
1737
- var a, t, n, i, r, o = e;
1738
- for (r = new Array(o.length), a = 0, t = o.length; a < t; a += 1)
1739
- n = o[a], i = Object.keys(n), r[a] = [i[0], n[i[0]]];
1737
+ var n, t, a, i, r, o = e;
1738
+ for (r = new Array(o.length), n = 0, t = o.length; n < t; n += 1)
1739
+ a = o[n], i = Object.keys(a), r[n] = [i[0], a[i[0]]];
1740
1740
  return r;
1741
1741
  }
1742
- var Sa = new re("tag:yaml.org,2002:pairs", {
1742
+ var An = new re("tag:yaml.org,2002:pairs", {
1743
1743
  kind: "sequence",
1744
1744
  resolve: pr,
1745
1745
  construct: fr
@@ -1747,31 +1747,31 @@ var Sa = new re("tag:yaml.org,2002:pairs", {
1747
1747
  function gr(e) {
1748
1748
  if (e === null)
1749
1749
  return !0;
1750
- var a, t = e;
1751
- for (a in t)
1752
- if (yr.call(t, a) && t[a] !== null)
1750
+ var n, t = e;
1751
+ for (n in t)
1752
+ if (yr.call(t, n) && t[n] !== null)
1753
1753
  return !1;
1754
1754
  return !0;
1755
1755
  }
1756
1756
  function mr(e) {
1757
1757
  return e !== null ? e : {};
1758
1758
  }
1759
- var Aa = new re("tag:yaml.org,2002:set", {
1759
+ var In = new re("tag:yaml.org,2002:set", {
1760
1760
  kind: "mapping",
1761
1761
  resolve: gr,
1762
1762
  construct: mr
1763
- }), gt = ma.extend({
1763
+ }), gt = hn.extend({
1764
1764
  implicit: [
1765
- ba,
1766
- ka
1765
+ kn,
1766
+ Cn
1767
1767
  ],
1768
1768
  explicit: [
1769
- Ca,
1770
- wa,
1771
- Sa,
1772
- Aa
1769
+ wn,
1770
+ Sn,
1771
+ An,
1772
+ In
1773
1773
  ]
1774
- }), be = Object.prototype.hasOwnProperty, Ve = 1, Ia = 2, xa = 3, De = 4, Xe = 1, hr = 2, Ot = 3, vr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, br = /[\x85\u2028\u2029]/, kr = /[,\[\]\{\}]/, _a = /^(?:!|!!|![a-z\-]+!)$/i, Ta = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1774
+ }), be = Object.prototype.hasOwnProperty, Ve = 1, xn = 2, _n = 3, De = 4, Xe = 1, hr = 2, Ot = 3, vr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, br = /[\x85\u2028\u2029]/, kr = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, jn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1775
1775
  function Mt(e) {
1776
1776
  return Object.prototype.toString.call(e);
1777
1777
  }
@@ -1788,8 +1788,8 @@ function _e(e) {
1788
1788
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1789
1789
  }
1790
1790
  function Cr(e) {
1791
- var a;
1792
- return 48 <= e && e <= 57 ? e - 48 : (a = e | 32, 97 <= a && a <= 102 ? a - 97 + 10 : -1);
1791
+ var n;
1792
+ return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1793
1793
  }
1794
1794
  function wr(e) {
1795
1795
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
@@ -1807,13 +1807,13 @@ function Ar(e) {
1807
1807
  (e - 65536 & 1023) + 56320
1808
1808
  );
1809
1809
  }
1810
- var ja = new Array(256), $a = new Array(256);
1810
+ var $n = new Array(256), On = new Array(256);
1811
1811
  for (var Ie = 0; Ie < 256; Ie++)
1812
- ja[Ie] = Et(Ie) ? 1 : 0, $a[Ie] = Et(Ie);
1813
- function Ir(e, a) {
1814
- this.input = e, this.filename = a.filename || null, this.schema = a.schema || gt, this.onWarning = a.onWarning || null, this.legacy = a.legacy || !1, this.json = a.json || !1, this.listener = a.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1812
+ $n[Ie] = Et(Ie) ? 1 : 0, On[Ie] = Et(Ie);
1813
+ function Ir(e, n) {
1814
+ this.input = e, this.filename = n.filename || null, this.schema = n.schema || gt, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1815
1815
  }
1816
- function Oa(e, a) {
1816
+ function Mn(e, n) {
1817
1817
  var t = {
1818
1818
  name: e.filename,
1819
1819
  buffer: e.input.slice(0, -1),
@@ -1822,34 +1822,34 @@ function Oa(e, a) {
1822
1822
  line: e.line,
1823
1823
  column: e.position - e.lineStart
1824
1824
  };
1825
- return t.snippet = ji(t), new se(a, t);
1825
+ return t.snippet = ji(t), new se(n, t);
1826
1826
  }
1827
- function A(e, a) {
1828
- throw Oa(e, a);
1827
+ function A(e, n) {
1828
+ throw Mn(e, n);
1829
1829
  }
1830
- function Ue(e, a) {
1831
- e.onWarning && e.onWarning.call(null, Oa(e, a));
1830
+ function Ue(e, n) {
1831
+ e.onWarning && e.onWarning.call(null, Mn(e, n));
1832
1832
  }
1833
1833
  var Kt = {
1834
- YAML: function(e, a, t) {
1835
- var n, i, r;
1836
- e.version !== null && A(e, "duplication of %YAML directive"), t.length !== 1 && A(e, "YAML directive accepts exactly one argument"), n = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), n === null && A(e, "ill-formed argument of the YAML directive"), i = parseInt(n[1], 10), r = parseInt(n[2], 10), i !== 1 && A(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = r < 2, r !== 1 && r !== 2 && Ue(e, "unsupported YAML version of the document");
1834
+ YAML: function(e, n, t) {
1835
+ var a, i, r;
1836
+ e.version !== null && A(e, "duplication of %YAML directive"), t.length !== 1 && A(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && A(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), r = parseInt(a[2], 10), i !== 1 && A(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = r < 2, r !== 1 && r !== 2 && Ue(e, "unsupported YAML version of the document");
1837
1837
  },
1838
- TAG: function(e, a, t) {
1839
- var n, i;
1840
- t.length !== 2 && A(e, "TAG directive accepts exactly two arguments"), n = t[0], i = t[1], _a.test(n) || A(e, "ill-formed tag handle (first argument) of the TAG directive"), be.call(e.tagMap, n) && A(e, 'there is a previously declared suffix for "' + n + '" tag handle'), Ta.test(i) || A(e, "ill-formed tag prefix (second argument) of the TAG directive");
1838
+ TAG: function(e, n, t) {
1839
+ var a, i;
1840
+ t.length !== 2 && A(e, "TAG directive accepts exactly two arguments"), a = t[0], i = t[1], Tn.test(a) || A(e, "ill-formed tag handle (first argument) of the TAG directive"), be.call(e.tagMap, a) && A(e, 'there is a previously declared suffix for "' + a + '" tag handle'), jn.test(i) || A(e, "ill-formed tag prefix (second argument) of the TAG directive");
1841
1841
  try {
1842
1842
  i = decodeURIComponent(i);
1843
1843
  } catch {
1844
1844
  A(e, "tag prefix is malformed: " + i);
1845
1845
  }
1846
- e.tagMap[n] = i;
1846
+ e.tagMap[a] = i;
1847
1847
  }
1848
1848
  };
1849
- function ve(e, a, t, n) {
1849
+ function ve(e, n, t, a) {
1850
1850
  var i, r, o, l;
1851
- if (a < t) {
1852
- if (l = e.input.slice(a, t), n)
1851
+ if (n < t) {
1852
+ if (l = e.input.slice(n, t), a)
1853
1853
  for (i = 0, r = l.length; i < r; i += 1)
1854
1854
  o = l.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || A(e, "expected valid JSON character");
1855
1855
  else
@@ -1857,61 +1857,61 @@ function ve(e, a, t, n) {
1857
1857
  e.result += l;
1858
1858
  }
1859
1859
  }
1860
- function Ft(e, a, t, n) {
1860
+ function Ft(e, n, t, a) {
1861
1861
  var i, r, o, l;
1862
- for (ae.isObject(t) || A(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(t), o = 0, l = i.length; o < l; o += 1)
1863
- r = i[o], be.call(a, r) || (a[r] = t[r], n[r] = !0);
1862
+ for (ne.isObject(t) || A(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(t), o = 0, l = i.length; o < l; o += 1)
1863
+ r = i[o], be.call(n, r) || (n[r] = t[r], a[r] = !0);
1864
1864
  }
1865
- function Te(e, a, t, n, i, r, o, l, s) {
1865
+ function Te(e, n, t, a, i, r, o, l, s) {
1866
1866
  var c, d;
1867
1867
  if (Array.isArray(i))
1868
1868
  for (i = Array.prototype.slice.call(i), c = 0, d = i.length; c < d; c += 1)
1869
1869
  Array.isArray(i[c]) && A(e, "nested arrays are not supported inside keys"), typeof i == "object" && Mt(i[c]) === "[object Object]" && (i[c] = "[object Object]");
1870
- if (typeof i == "object" && Mt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), a === null && (a = {}), n === "tag:yaml.org,2002:merge")
1870
+ if (typeof i == "object" && Mt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), n === null && (n = {}), a === "tag:yaml.org,2002:merge")
1871
1871
  if (Array.isArray(r))
1872
1872
  for (c = 0, d = r.length; c < d; c += 1)
1873
- Ft(e, a, r[c], t);
1873
+ Ft(e, n, r[c], t);
1874
1874
  else
1875
- Ft(e, a, r, t);
1875
+ Ft(e, n, r, t);
1876
1876
  else
1877
- !e.json && !be.call(t, i) && be.call(a, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, A(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(a, i, {
1877
+ !e.json && !be.call(t, i) && be.call(n, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, A(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(n, i, {
1878
1878
  configurable: !0,
1879
1879
  enumerable: !0,
1880
1880
  writable: !0,
1881
1881
  value: r
1882
- }) : a[i] = r, delete t[i];
1883
- return a;
1882
+ }) : n[i] = r, delete t[i];
1883
+ return n;
1884
1884
  }
1885
1885
  function mt(e) {
1886
- var a;
1887
- a = e.input.charCodeAt(e.position), a === 10 ? e.position++ : a === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : A(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1886
+ var n;
1887
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : A(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1888
1888
  }
1889
- function ee(e, a, t) {
1890
- for (var n = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1889
+ function ee(e, n, t) {
1890
+ for (var a = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1891
1891
  for (; Se(i); )
1892
1892
  i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1893
- if (a && i === 35)
1893
+ if (n && i === 35)
1894
1894
  do
1895
1895
  i = e.input.charCodeAt(++e.position);
1896
1896
  while (i !== 10 && i !== 13 && i !== 0);
1897
1897
  if (ge(i))
1898
- for (mt(e), i = e.input.charCodeAt(e.position), n++, e.lineIndent = 0; i === 32; )
1898
+ for (mt(e), i = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; i === 32; )
1899
1899
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1900
1900
  else
1901
1901
  break;
1902
1902
  }
1903
- return t !== -1 && n !== 0 && e.lineIndent < t && Ue(e, "deficient indentation"), n;
1903
+ return t !== -1 && a !== 0 && e.lineIndent < t && Ue(e, "deficient indentation"), a;
1904
1904
  }
1905
1905
  function Ye(e) {
1906
- var a = e.position, t;
1907
- return t = e.input.charCodeAt(a), !!((t === 45 || t === 46) && t === e.input.charCodeAt(a + 1) && t === e.input.charCodeAt(a + 2) && (a += 3, t = e.input.charCodeAt(a), t === 0 || ce(t)));
1906
+ var n = e.position, t;
1907
+ 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 || ce(t)));
1908
1908
  }
1909
- function ht(e, a) {
1910
- a === 1 ? e.result += " " : a > 1 && (e.result += ae.repeat(`
1911
- `, a - 1));
1909
+ function ht(e, n) {
1910
+ n === 1 ? e.result += " " : n > 1 && (e.result += ne.repeat(`
1911
+ `, n - 1));
1912
1912
  }
1913
- function xr(e, a, t) {
1914
- var n, i, r, o, l, s, c, d, u = e.kind, g = e.result, f;
1913
+ function xr(e, n, t) {
1914
+ var a, i, r, o, l, s, c, d, u = e.kind, g = e.result, f;
1915
1915
  if (f = e.input.charCodeAt(e.position), ce(f) || _e(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) && (i = e.input.charCodeAt(e.position + 1), ce(i) || t && _e(i)))
1916
1916
  return !1;
1917
1917
  for (e.kind = "scalar", e.result = "", r = o = e.position, l = !1; f !== 0; ) {
@@ -1919,13 +1919,13 @@ function xr(e, a, t) {
1919
1919
  if (i = e.input.charCodeAt(e.position + 1), ce(i) || t && _e(i))
1920
1920
  break;
1921
1921
  } else if (f === 35) {
1922
- if (n = e.input.charCodeAt(e.position - 1), ce(n))
1922
+ if (a = e.input.charCodeAt(e.position - 1), ce(a))
1923
1923
  break;
1924
1924
  } else {
1925
1925
  if (e.position === e.lineStart && Ye(e) || t && _e(f))
1926
1926
  break;
1927
1927
  if (ge(f))
1928
- if (s = e.line, c = e.lineStart, d = e.lineIndent, ee(e, !1, -1), e.lineIndent >= a) {
1928
+ if (s = e.line, c = e.lineStart, d = e.lineIndent, ee(e, !1, -1), e.lineIndent >= n) {
1929
1929
  l = !0, f = e.input.charCodeAt(e.position);
1930
1930
  continue;
1931
1931
  } else {
@@ -1937,46 +1937,46 @@ function xr(e, a, t) {
1937
1937
  }
1938
1938
  return ve(e, r, o, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1939
1939
  }
1940
- function _r(e, a) {
1941
- var t, n, i;
1940
+ function _r(e, n) {
1941
+ var t, a, i;
1942
1942
  if (t = e.input.charCodeAt(e.position), t !== 39)
1943
1943
  return !1;
1944
- for (e.kind = "scalar", e.result = "", e.position++, n = i = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1944
+ for (e.kind = "scalar", e.result = "", e.position++, a = i = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1945
1945
  if (t === 39)
1946
- if (ve(e, n, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1947
- n = e.position, e.position++, i = e.position;
1946
+ if (ve(e, a, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1947
+ a = e.position, e.position++, i = e.position;
1948
1948
  else
1949
1949
  return !0;
1950
1950
  else
1951
- ge(t) ? (ve(e, n, i, !0), ht(e, ee(e, !1, a)), n = i = e.position) : e.position === e.lineStart && Ye(e) ? A(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1951
+ ge(t) ? (ve(e, a, i, !0), ht(e, ee(e, !1, n)), a = i = e.position) : e.position === e.lineStart && Ye(e) ? A(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1952
1952
  A(e, "unexpected end of the stream within a single quoted scalar");
1953
1953
  }
1954
- function Tr(e, a) {
1955
- var t, n, i, r, o, l;
1954
+ function Tr(e, n) {
1955
+ var t, a, i, r, o, l;
1956
1956
  if (l = e.input.charCodeAt(e.position), l !== 34)
1957
1957
  return !1;
1958
- for (e.kind = "scalar", e.result = "", e.position++, t = n = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1958
+ for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1959
1959
  if (l === 34)
1960
1960
  return ve(e, t, e.position, !0), e.position++, !0;
1961
1961
  if (l === 92) {
1962
1962
  if (ve(e, t, e.position, !0), l = e.input.charCodeAt(++e.position), ge(l))
1963
- ee(e, !1, a);
1964
- else if (l < 256 && ja[l])
1965
- e.result += $a[l], e.position++;
1963
+ ee(e, !1, n);
1964
+ else if (l < 256 && $n[l])
1965
+ e.result += On[l], e.position++;
1966
1966
  else if ((o = wr(l)) > 0) {
1967
1967
  for (i = o, r = 0; i > 0; i--)
1968
1968
  l = e.input.charCodeAt(++e.position), (o = Cr(l)) >= 0 ? r = (r << 4) + o : A(e, "expected hexadecimal character");
1969
1969
  e.result += Ar(r), e.position++;
1970
1970
  } else
1971
1971
  A(e, "unknown escape sequence");
1972
- t = n = e.position;
1972
+ t = a = e.position;
1973
1973
  } else
1974
- ge(l) ? (ve(e, t, n, !0), ht(e, ee(e, !1, a)), t = n = e.position) : e.position === e.lineStart && Ye(e) ? A(e, "unexpected end of the document within a double quoted scalar") : (e.position++, n = e.position);
1974
+ ge(l) ? (ve(e, t, a, !0), ht(e, ee(e, !1, n)), t = a = e.position) : e.position === e.lineStart && Ye(e) ? A(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1975
1975
  }
1976
1976
  A(e, "unexpected end of the stream within a double quoted scalar");
1977
1977
  }
1978
- function jr(e, a) {
1979
- var t = !0, n, i, r, o = e.tag, l, s = e.anchor, c, d, u, g, f, S = /* @__PURE__ */ Object.create(null), b, p, h, m;
1978
+ function jr(e, n) {
1979
+ var t = !0, a, i, r, o = e.tag, l, s = e.anchor, c, d, u, g, f, S = /* @__PURE__ */ Object.create(null), b, p, h, m;
1980
1980
  if (m = e.input.charCodeAt(e.position), m === 91)
1981
1981
  d = 93, f = !1, l = [];
1982
1982
  else if (m === 123)
@@ -1984,25 +1984,25 @@ function jr(e, a) {
1984
1984
  else
1985
1985
  return !1;
1986
1986
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), m = e.input.charCodeAt(++e.position); m !== 0; ) {
1987
- if (ee(e, !0, a), m = e.input.charCodeAt(e.position), m === d)
1987
+ if (ee(e, !0, n), m = e.input.charCodeAt(e.position), m === d)
1988
1988
  return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1989
- t ? m === 44 && A(e, "expected the node content, but found ','") : A(e, "missed comma between flow collection entries"), p = b = h = null, u = g = !1, m === 63 && (c = e.input.charCodeAt(e.position + 1), ce(c) && (u = g = !0, e.position++, ee(e, !0, a))), n = e.line, i = e.lineStart, r = e.position, $e(e, a, Ve, !1, !0), p = e.tag, b = e.result, ee(e, !0, a), m = e.input.charCodeAt(e.position), (g || e.line === n) && m === 58 && (u = !0, m = e.input.charCodeAt(++e.position), ee(e, !0, a), $e(e, a, Ve, !1, !0), h = e.result), f ? Te(e, l, S, p, b, h, n, i, r) : u ? l.push(Te(e, null, S, p, b, h, n, i, r)) : l.push(b), ee(e, !0, a), m = e.input.charCodeAt(e.position), m === 44 ? (t = !0, m = e.input.charCodeAt(++e.position)) : t = !1;
1989
+ t ? m === 44 && A(e, "expected the node content, but found ','") : A(e, "missed comma between flow collection entries"), p = b = h = null, u = g = !1, m === 63 && (c = e.input.charCodeAt(e.position + 1), ce(c) && (u = g = !0, e.position++, ee(e, !0, n))), a = e.line, i = e.lineStart, r = e.position, $e(e, n, Ve, !1, !0), p = e.tag, b = e.result, ee(e, !0, n), m = e.input.charCodeAt(e.position), (g || e.line === a) && m === 58 && (u = !0, m = e.input.charCodeAt(++e.position), ee(e, !0, n), $e(e, n, Ve, !1, !0), h = e.result), f ? Te(e, l, S, p, b, h, a, i, r) : u ? l.push(Te(e, null, S, p, b, h, a, i, r)) : l.push(b), ee(e, !0, n), m = e.input.charCodeAt(e.position), m === 44 ? (t = !0, m = e.input.charCodeAt(++e.position)) : t = !1;
1990
1990
  }
1991
1991
  A(e, "unexpected end of the stream within a flow collection");
1992
1992
  }
1993
- function $r(e, a) {
1994
- var t, n, i = Xe, r = !1, o = !1, l = a, s = 0, c = !1, d, u;
1993
+ function $r(e, n) {
1994
+ var t, a, i = Xe, r = !1, o = !1, l = n, s = 0, c = !1, d, u;
1995
1995
  if (u = e.input.charCodeAt(e.position), u === 124)
1996
- n = !1;
1996
+ a = !1;
1997
1997
  else if (u === 62)
1998
- n = !0;
1998
+ a = !0;
1999
1999
  else
2000
2000
  return !1;
2001
2001
  for (e.kind = "scalar", e.result = ""; u !== 0; )
2002
2002
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
2003
2003
  Xe === i ? i = u === 43 ? Ot : hr : A(e, "repeat of a chomping mode identifier");
2004
2004
  else if ((d = Sr(u)) >= 0)
2005
- d === 0 ? A(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? A(e, "repeat of an indentation width identifier") : (l = a + d - 1, o = !0);
2005
+ d === 0 ? A(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? A(e, "repeat of an indentation width identifier") : (l = n + d - 1, o = !0);
2006
2006
  else
2007
2007
  break;
2008
2008
  if (Se(u)) {
@@ -2022,46 +2022,46 @@ function $r(e, a) {
2022
2022
  continue;
2023
2023
  }
2024
2024
  if (e.lineIndent < l) {
2025
- i === Ot ? e.result += ae.repeat(`
2025
+ i === Ot ? e.result += ne.repeat(`
2026
2026
  `, r ? 1 + s : s) : i === Xe && r && (e.result += `
2027
2027
  `);
2028
2028
  break;
2029
2029
  }
2030
- for (n ? Se(u) ? (c = !0, e.result += ae.repeat(`
2031
- `, r ? 1 + s : s)) : c ? (c = !1, e.result += ae.repeat(`
2032
- `, s + 1)) : s === 0 ? r && (e.result += " ") : e.result += ae.repeat(`
2033
- `, s) : e.result += ae.repeat(`
2030
+ for (a ? Se(u) ? (c = !0, e.result += ne.repeat(`
2031
+ `, r ? 1 + s : s)) : c ? (c = !1, e.result += ne.repeat(`
2032
+ `, s + 1)) : s === 0 ? r && (e.result += " ") : e.result += ne.repeat(`
2033
+ `, s) : e.result += ne.repeat(`
2034
2034
  `, r ? 1 + s : s), r = !0, o = !0, s = 0, t = e.position; !ge(u) && u !== 0; )
2035
2035
  u = e.input.charCodeAt(++e.position);
2036
2036
  ve(e, t, e.position, !1);
2037
2037
  }
2038
2038
  return !0;
2039
2039
  }
2040
- function Nt(e, a) {
2041
- var t, n = e.tag, i = e.anchor, r = [], o, l = !1, s;
2040
+ function Nt(e, n) {
2041
+ var t, a = e.tag, i = e.anchor, r = [], o, l = !1, s;
2042
2042
  if (e.firstTabInLine !== -1)
2043
2043
  return !1;
2044
2044
  for (e.anchor !== null && (e.anchorMap[e.anchor] = r), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), !(s !== 45 || (o = e.input.charCodeAt(e.position + 1), !ce(o)))); ) {
2045
- if (l = !0, e.position++, ee(e, !0, -1) && e.lineIndent <= a) {
2045
+ if (l = !0, e.position++, ee(e, !0, -1) && e.lineIndent <= n) {
2046
2046
  r.push(null), s = e.input.charCodeAt(e.position);
2047
2047
  continue;
2048
2048
  }
2049
- if (t = e.line, $e(e, a, xa, !1, !0), r.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > a) && s !== 0)
2049
+ if (t = e.line, $e(e, n, _n, !1, !0), r.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
2050
2050
  A(e, "bad indentation of a sequence entry");
2051
- else if (e.lineIndent < a)
2051
+ else if (e.lineIndent < n)
2052
2052
  break;
2053
2053
  }
2054
- return l ? (e.tag = n, e.anchor = i, e.kind = "sequence", e.result = r, !0) : !1;
2054
+ return l ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = r, !0) : !1;
2055
2055
  }
2056
- function Or(e, a, t) {
2057
- var n, i, r, o, l, s, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, S = null, b = null, p = !1, h = !1, m;
2056
+ function Or(e, n, t) {
2057
+ var a, i, r, o, l, s, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, S = null, b = null, p = !1, h = !1, m;
2058
2058
  if (e.firstTabInLine !== -1)
2059
2059
  return !1;
2060
2060
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), m = e.input.charCodeAt(e.position); m !== 0; ) {
2061
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), n = e.input.charCodeAt(e.position + 1), r = e.line, (m === 63 || m === 58) && ce(n))
2062
- m === 63 ? (p && (Te(e, u, g, f, S, null, o, l, s), f = S = b = null), h = !0, p = !0, i = !0) : p ? (p = !1, i = !0) : A(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, m = n;
2061
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (m === 63 || m === 58) && ce(a))
2062
+ m === 63 ? (p && (Te(e, u, g, f, S, null, o, l, s), f = S = b = null), h = !0, p = !0, i = !0) : p ? (p = !1, i = !0) : A(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, m = a;
2063
2063
  else {
2064
- if (o = e.line, l = e.lineStart, s = e.position, !$e(e, t, Ia, !1, !0))
2064
+ if (o = e.line, l = e.lineStart, s = e.position, !$e(e, t, xn, !1, !0))
2065
2065
  break;
2066
2066
  if (e.line === r) {
2067
2067
  for (m = e.input.charCodeAt(e.position); Se(m); )
@@ -2077,28 +2077,28 @@ function Or(e, a, t) {
2077
2077
  else
2078
2078
  return e.tag = c, e.anchor = d, !0;
2079
2079
  }
2080
- if ((e.line === r || e.lineIndent > a) && (p && (o = e.line, l = e.lineStart, s = e.position), $e(e, a, De, !0, i) && (p ? S = e.result : b = e.result), p || (Te(e, u, g, f, S, b, o, l, s), f = S = b = null), ee(e, !0, -1), m = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > a) && m !== 0)
2080
+ if ((e.line === r || e.lineIndent > n) && (p && (o = e.line, l = e.lineStart, s = e.position), $e(e, n, De, !0, i) && (p ? S = e.result : b = e.result), p || (Te(e, u, g, f, S, b, o, l, s), f = S = b = null), ee(e, !0, -1), m = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && m !== 0)
2081
2081
  A(e, "bad indentation of a mapping entry");
2082
- else if (e.lineIndent < a)
2082
+ else if (e.lineIndent < n)
2083
2083
  break;
2084
2084
  }
2085
2085
  return p && Te(e, u, g, f, S, null, o, l, s), h && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), h;
2086
2086
  }
2087
2087
  function Mr(e) {
2088
- var a, t = !1, n = !1, i, r, o;
2088
+ var n, t = !1, a = !1, i, r, o;
2089
2089
  if (o = e.input.charCodeAt(e.position), o !== 33)
2090
2090
  return !1;
2091
- if (e.tag !== null && A(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (n = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", a = e.position, t) {
2091
+ if (e.tag !== null && A(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (a = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", n = e.position, t) {
2092
2092
  do
2093
2093
  o = e.input.charCodeAt(++e.position);
2094
2094
  while (o !== 0 && o !== 62);
2095
- e.position < e.length ? (r = e.input.slice(a, e.position), o = e.input.charCodeAt(++e.position)) : A(e, "unexpected end of the stream within a verbatim tag");
2095
+ e.position < e.length ? (r = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : A(e, "unexpected end of the stream within a verbatim tag");
2096
2096
  } else {
2097
2097
  for (; o !== 0 && !ce(o); )
2098
- o === 33 && (n ? A(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(a - 1, e.position + 1), _a.test(i) || A(e, "named tag handle cannot contain such characters"), n = !0, a = e.position + 1)), o = e.input.charCodeAt(++e.position);
2099
- r = e.input.slice(a, e.position), kr.test(r) && A(e, "tag suffix cannot contain flow indicator characters");
2098
+ o === 33 && (a ? A(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(n - 1, e.position + 1), Tn.test(i) || A(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2099
+ r = e.input.slice(n, e.position), kr.test(r) && A(e, "tag suffix cannot contain flow indicator characters");
2100
2100
  }
2101
- r && !Ta.test(r) && A(e, "tag name cannot contain such characters: " + r);
2101
+ r && !jn.test(r) && A(e, "tag name cannot contain such characters: " + r);
2102
2102
  try {
2103
2103
  r = decodeURIComponent(r);
2104
2104
  } catch {
@@ -2107,27 +2107,27 @@ function Mr(e) {
2107
2107
  return t ? e.tag = r : be.call(e.tagMap, i) ? e.tag = e.tagMap[i] + r : i === "!" ? e.tag = "!" + r : i === "!!" ? e.tag = "tag:yaml.org,2002:" + r : A(e, 'undeclared tag handle "' + i + '"'), !0;
2108
2108
  }
2109
2109
  function Er(e) {
2110
- var a, t;
2110
+ var n, t;
2111
2111
  if (t = e.input.charCodeAt(e.position), t !== 38)
2112
2112
  return !1;
2113
- for (e.anchor !== null && A(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), a = e.position; t !== 0 && !ce(t) && !_e(t); )
2113
+ for (e.anchor !== null && A(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ce(t) && !_e(t); )
2114
2114
  t = e.input.charCodeAt(++e.position);
2115
- return e.position === a && A(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(a, e.position), !0;
2115
+ return e.position === n && A(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2116
2116
  }
2117
2117
  function Kr(e) {
2118
- var a, t, n;
2119
- if (n = e.input.charCodeAt(e.position), n !== 42)
2118
+ var n, t, a;
2119
+ if (a = e.input.charCodeAt(e.position), a !== 42)
2120
2120
  return !1;
2121
- for (n = e.input.charCodeAt(++e.position), a = e.position; n !== 0 && !ce(n) && !_e(n); )
2122
- n = e.input.charCodeAt(++e.position);
2123
- return e.position === a && A(e, "name of an alias node must contain at least one character"), t = e.input.slice(a, e.position), be.call(e.anchorMap, t) || A(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ee(e, !0, -1), !0;
2121
+ for (a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !ce(a) && !_e(a); )
2122
+ a = e.input.charCodeAt(++e.position);
2123
+ return e.position === n && A(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), be.call(e.anchorMap, t) || A(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ee(e, !0, -1), !0;
2124
2124
  }
2125
- function $e(e, a, t, n, i) {
2125
+ function $e(e, n, t, a, i) {
2126
2126
  var r, o, l, s = 1, c = !1, d = !1, u, g, f, S, b, p;
2127
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = De === t || xa === t, n && ee(e, !0, -1) && (c = !0, e.lineIndent > a ? s = 1 : e.lineIndent === a ? s = 0 : e.lineIndent < a && (s = -1)), s === 1)
2127
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = De === t || _n === t, a && ee(e, !0, -1) && (c = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2128
2128
  for (; Mr(e) || Er(e); )
2129
- ee(e, !0, -1) ? (c = !0, l = r, e.lineIndent > a ? s = 1 : e.lineIndent === a ? s = 0 : e.lineIndent < a && (s = -1)) : l = !1;
2130
- if (l && (l = c || i), (s === 1 || De === t) && (Ve === t || Ia === t ? b = a : b = a + 1, p = e.position - e.lineStart, s === 1 ? l && (Nt(e, p) || Or(e, p, b)) || jr(e, b) ? d = !0 : (o && $r(e, b) || _r(e, b) || Tr(e, b) ? d = !0 : Kr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && A(e, "alias node should not have any properties")) : xr(e, b, Ve === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Nt(e, p))), e.tag === null)
2129
+ ee(e, !0, -1) ? (c = !0, l = r, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)) : l = !1;
2130
+ if (l && (l = c || i), (s === 1 || De === t) && (Ve === t || xn === t ? b = n : b = n + 1, p = e.position - e.lineStart, s === 1 ? l && (Nt(e, p) || Or(e, p, b)) || jr(e, b) ? d = !0 : (o && $r(e, b) || _r(e, b) || Tr(e, b) ? d = !0 : Kr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && A(e, "alias node should not have any properties")) : xr(e, b, Ve === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Nt(e, p))), e.tag === null)
2131
2131
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2132
2132
  else if (e.tag === "?") {
2133
2133
  for (e.result !== null && e.kind !== "scalar" && A(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
@@ -2149,11 +2149,11 @@ function $e(e, a, t, n, i) {
2149
2149
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2150
2150
  }
2151
2151
  function Fr(e) {
2152
- var a = e.position, t, n, i, r = !1, o;
2152
+ var n = e.position, t, a, i, r = !1, o;
2153
2153
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2154
2154
  for (r = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ce(o); )
2155
2155
  o = e.input.charCodeAt(++e.position);
2156
- for (n = e.input.slice(t, e.position), i = [], n.length < 1 && A(e, "directive name must not be less than one character in length"); o !== 0; ) {
2156
+ for (a = e.input.slice(t, e.position), i = [], a.length < 1 && A(e, "directive name must not be less than one character in length"); o !== 0; ) {
2157
2157
  for (; Se(o); )
2158
2158
  o = e.input.charCodeAt(++e.position);
2159
2159
  if (o === 35) {
@@ -2168,9 +2168,9 @@ function Fr(e) {
2168
2168
  o = e.input.charCodeAt(++e.position);
2169
2169
  i.push(e.input.slice(t, e.position));
2170
2170
  }
2171
- o !== 0 && mt(e), be.call(Kt, n) ? Kt[n](e, n, i) : Ue(e, 'unknown document directive "' + n + '"');
2171
+ o !== 0 && mt(e), be.call(Kt, a) ? Kt[a](e, a, i) : Ue(e, 'unknown document directive "' + a + '"');
2172
2172
  }
2173
- if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : r && A(e, "directives end mark is expected"), $e(e, e.lineIndent - 1, De, !1, !0), ee(e, !0, -1), e.checkLineBreaks && br.test(e.input.slice(a, e.position)) && Ue(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ye(e)) {
2173
+ if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : r && A(e, "directives end mark is expected"), $e(e, e.lineIndent - 1, De, !1, !0), ee(e, !0, -1), e.checkLineBreaks && br.test(e.input.slice(n, e.position)) && Ue(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ye(e)) {
2174
2174
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
2175
2175
  return;
2176
2176
  }
@@ -2179,36 +2179,36 @@ function Fr(e) {
2179
2179
  else
2180
2180
  return;
2181
2181
  }
2182
- function Ma(e, a) {
2183
- e = String(e), a = a || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2182
+ function En(e, n) {
2183
+ e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2184
2184
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2185
- var t = new Ir(e, a), n = e.indexOf("\0");
2186
- for (n !== -1 && (t.position = n, A(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2185
+ var t = new Ir(e, n), a = e.indexOf("\0");
2186
+ for (a !== -1 && (t.position = a, A(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2187
2187
  t.lineIndent += 1, t.position += 1;
2188
2188
  for (; t.position < t.length - 1; )
2189
2189
  Fr(t);
2190
2190
  return t.documents;
2191
2191
  }
2192
- function Nr(e, a, t) {
2193
- a !== null && typeof a == "object" && typeof t > "u" && (t = a, a = null);
2194
- var n = Ma(e, t);
2195
- if (typeof a != "function")
2196
- return n;
2197
- for (var i = 0, r = n.length; i < r; i += 1)
2198
- a(n[i]);
2192
+ function Nr(e, n, t) {
2193
+ n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2194
+ var a = En(e, t);
2195
+ if (typeof n != "function")
2196
+ return a;
2197
+ for (var i = 0, r = a.length; i < r; i += 1)
2198
+ n(a[i]);
2199
2199
  }
2200
- function Br(e, a) {
2201
- var t = Ma(e, a);
2200
+ function Br(e, n) {
2201
+ var t = En(e, n);
2202
2202
  if (t.length !== 0) {
2203
2203
  if (t.length === 1)
2204
2204
  return t[0];
2205
2205
  throw new se("expected a single document in the stream, but found more");
2206
2206
  }
2207
2207
  }
2208
- var qr = Nr, Lr = Br, Ea = {
2208
+ var qr = Nr, Lr = Br, Kn = {
2209
2209
  loadAll: qr,
2210
2210
  load: Lr
2211
- }, Ka = Object.prototype.toString, Fa = Object.prototype.hasOwnProperty, vt = 65279, Rr = 9, Ke = 10, Pr = 13, Vr = 32, Dr = 33, Ur = 34, nt = 35, Hr = 37, zr = 38, Jr = 39, Yr = 42, Na = 44, Wr = 45, He = 58, Zr = 61, Gr = 62, Qr = 63, Xr = 64, Ba = 91, qa = 93, eo = 96, La = 123, to = 124, Ra = 125, oe = {};
2211
+ }, Fn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, vt = 65279, Rr = 9, Ke = 10, Pr = 13, Vr = 32, Dr = 33, Ur = 34, at = 35, Hr = 37, zr = 38, Jr = 39, Yr = 42, Bn = 44, Wr = 45, He = 58, Zr = 61, Gr = 62, Qr = 63, Xr = 64, qn = 91, Ln = 93, eo = 96, Rn = 123, to = 124, Pn = 125, oe = {};
2212
2212
  oe[0] = "\\0";
2213
2213
  oe[7] = "\\a";
2214
2214
  oe[8] = "\\b";
@@ -2224,7 +2224,7 @@ oe[133] = "\\N";
2224
2224
  oe[160] = "\\_";
2225
2225
  oe[8232] = "\\L";
2226
2226
  oe[8233] = "\\P";
2227
- var ao = [
2227
+ var no = [
2228
2228
  "y",
2229
2229
  "Y",
2230
2230
  "yes",
@@ -2241,46 +2241,46 @@ var ao = [
2241
2241
  "off",
2242
2242
  "Off",
2243
2243
  "OFF"
2244
- ], no = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2245
- function io(e, a) {
2246
- var t, n, i, r, o, l, s;
2247
- if (a === null)
2244
+ ], ao = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2245
+ function io(e, n) {
2246
+ var t, a, i, r, o, l, s;
2247
+ if (n === null)
2248
2248
  return {};
2249
- for (t = {}, n = Object.keys(a), i = 0, r = n.length; i < r; i += 1)
2250
- o = n[i], l = String(a[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && Fa.call(s.styleAliases, l) && (l = s.styleAliases[l]), t[o] = l;
2249
+ for (t = {}, a = Object.keys(n), i = 0, r = a.length; i < r; i += 1)
2250
+ o = a[i], l = String(n[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && Nn.call(s.styleAliases, l) && (l = s.styleAliases[l]), t[o] = l;
2251
2251
  return t;
2252
2252
  }
2253
2253
  function ro(e) {
2254
- var a, t, n;
2255
- if (a = e.toString(16).toUpperCase(), e <= 255)
2256
- t = "x", n = 2;
2254
+ var n, t, a;
2255
+ if (n = e.toString(16).toUpperCase(), e <= 255)
2256
+ t = "x", a = 2;
2257
2257
  else if (e <= 65535)
2258
- t = "u", n = 4;
2258
+ t = "u", a = 4;
2259
2259
  else if (e <= 4294967295)
2260
- t = "U", n = 8;
2260
+ t = "U", a = 8;
2261
2261
  else
2262
2262
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2263
- return "\\" + t + ae.repeat("0", n - a.length) + a;
2263
+ return "\\" + t + ne.repeat("0", a - n.length) + n;
2264
2264
  }
2265
2265
  var oo = 1, Fe = 2;
2266
2266
  function lo(e) {
2267
- this.schema = e.schema || gt, 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 = io(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 === '"' ? Fe : oo, 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;
2267
+ this.schema = e.schema || gt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ne.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = io(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 === '"' ? Fe : oo, 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;
2268
2268
  }
2269
- function Bt(e, a) {
2270
- for (var t = ae.repeat(" ", a), n = 0, i = -1, r = "", o, l = e.length; n < l; )
2269
+ function Bt(e, n) {
2270
+ for (var t = ne.repeat(" ", n), a = 0, i = -1, r = "", o, l = e.length; a < l; )
2271
2271
  i = e.indexOf(`
2272
- `, n), i === -1 ? (o = e.slice(n), n = l) : (o = e.slice(n, i + 1), n = i + 1), o.length && o !== `
2272
+ `, a), i === -1 ? (o = e.slice(a), a = l) : (o = e.slice(a, i + 1), a = i + 1), o.length && o !== `
2273
2273
  ` && (r += t), r += o;
2274
2274
  return r;
2275
2275
  }
2276
- function it(e, a) {
2276
+ function it(e, n) {
2277
2277
  return `
2278
- ` + ae.repeat(" ", e.indent * a);
2278
+ ` + ne.repeat(" ", e.indent * n);
2279
2279
  }
2280
- function so(e, a) {
2281
- var t, n, i;
2282
- for (t = 0, n = e.implicitTypes.length; t < n; t += 1)
2283
- if (i = e.implicitTypes[t], i.resolve(a))
2280
+ function so(e, n) {
2281
+ var t, a, i;
2282
+ for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2283
+ if (i = e.implicitTypes[t], i.resolve(n))
2284
2284
  return !0;
2285
2285
  return !1;
2286
2286
  }
@@ -2293,34 +2293,34 @@ function Ne(e) {
2293
2293
  function qt(e) {
2294
2294
  return Ne(e) && e !== vt && e !== Pr && e !== Ke;
2295
2295
  }
2296
- function Lt(e, a, t) {
2297
- var n = qt(e), i = n && !ze(e);
2296
+ function Lt(e, n, t) {
2297
+ var a = qt(e), i = a && !ze(e);
2298
2298
  return (
2299
2299
  // ns-plain-safe
2300
2300
  (t ? (
2301
2301
  // c = flow-in
2302
- n
2303
- ) : n && e !== Na && e !== Ba && e !== qa && e !== La && e !== Ra) && e !== nt && !(a === He && !i) || qt(a) && !ze(a) && e === nt || a === He && i
2302
+ a
2303
+ ) : a && e !== Bn && e !== qn && e !== Ln && e !== Rn && e !== Pn) && e !== at && !(n === He && !i) || qt(n) && !ze(n) && e === at || n === He && i
2304
2304
  );
2305
2305
  }
2306
2306
  function co(e) {
2307
- return Ne(e) && e !== vt && !ze(e) && e !== Wr && e !== Qr && e !== He && e !== Na && e !== Ba && e !== qa && e !== La && e !== Ra && e !== nt && e !== zr && e !== Yr && e !== Dr && e !== to && e !== Zr && e !== Gr && e !== Jr && e !== Ur && e !== Hr && e !== Xr && e !== eo;
2307
+ return Ne(e) && e !== vt && !ze(e) && e !== Wr && e !== Qr && e !== He && e !== Bn && e !== qn && e !== Ln && e !== Rn && e !== Pn && e !== at && e !== zr && e !== Yr && e !== Dr && e !== to && e !== Zr && e !== Gr && e !== Jr && e !== Ur && e !== Hr && e !== Xr && e !== eo;
2308
2308
  }
2309
2309
  function uo(e) {
2310
2310
  return !ze(e) && e !== He;
2311
2311
  }
2312
- function Me(e, a) {
2313
- var t = e.charCodeAt(a), n;
2314
- return t >= 55296 && t <= 56319 && a + 1 < e.length && (n = e.charCodeAt(a + 1), n >= 56320 && n <= 57343) ? (t - 55296) * 1024 + n - 56320 + 65536 : t;
2312
+ function Me(e, n) {
2313
+ var t = e.charCodeAt(n), a;
2314
+ 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;
2315
2315
  }
2316
- function Pa(e) {
2317
- var a = /^\n* /;
2318
- return a.test(e);
2316
+ function Vn(e) {
2317
+ var n = /^\n* /;
2318
+ return n.test(e);
2319
2319
  }
2320
- var Va = 1, rt = 2, Da = 3, Ua = 4, xe = 5;
2321
- function po(e, a, t, n, i, r, o, l) {
2322
- var s, c = 0, d = null, u = !1, g = !1, f = n !== -1, S = -1, b = co(Me(e, 0)) && uo(Me(e, e.length - 1));
2323
- if (a || o)
2320
+ var Dn = 1, rt = 2, Un = 3, Hn = 4, xe = 5;
2321
+ function po(e, n, t, a, i, r, o, l) {
2322
+ var s, c = 0, d = null, u = !1, g = !1, f = a !== -1, S = -1, b = co(Me(e, 0)) && uo(Me(e, e.length - 1));
2323
+ if (n || o)
2324
2324
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2325
2325
  if (c = Me(e, s), !Ne(c))
2326
2326
  return xe;
@@ -2330,55 +2330,55 @@ function po(e, a, t, n, i, r, o, l) {
2330
2330
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2331
2331
  if (c = Me(e, s), c === Ke)
2332
2332
  u = !0, f && (g = g || // Foldable line = too long, and not more-indented.
2333
- s - S - 1 > n && e[S + 1] !== " ", S = s);
2333
+ s - S - 1 > a && e[S + 1] !== " ", S = s);
2334
2334
  else if (!Ne(c))
2335
2335
  return xe;
2336
2336
  b = b && Lt(c, d, l), d = c;
2337
2337
  }
2338
- g = g || f && s - S - 1 > n && e[S + 1] !== " ";
2338
+ g = g || f && s - S - 1 > a && e[S + 1] !== " ";
2339
2339
  }
2340
- return !u && !g ? b && !o && !i(e) ? Va : r === Fe ? xe : rt : t > 9 && Pa(e) ? xe : o ? r === Fe ? xe : rt : g ? Ua : Da;
2340
+ return !u && !g ? b && !o && !i(e) ? Dn : r === Fe ? xe : rt : t > 9 && Vn(e) ? xe : o ? r === Fe ? xe : rt : g ? Hn : Un;
2341
2341
  }
2342
- function fo(e, a, t, n, i) {
2342
+ function fo(e, n, t, a, i) {
2343
2343
  e.dump = function() {
2344
- if (a.length === 0)
2344
+ if (n.length === 0)
2345
2345
  return e.quotingType === Fe ? '""' : "''";
2346
- if (!e.noCompatMode && (ao.indexOf(a) !== -1 || no.test(a)))
2347
- return e.quotingType === Fe ? '"' + a + '"' : "'" + a + "'";
2348
- var r = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - r), l = n || e.flowLevel > -1 && t >= e.flowLevel;
2346
+ if (!e.noCompatMode && (no.indexOf(n) !== -1 || ao.test(n)))
2347
+ return e.quotingType === Fe ? '"' + n + '"' : "'" + n + "'";
2348
+ var r = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - r), l = a || e.flowLevel > -1 && t >= e.flowLevel;
2349
2349
  function s(c) {
2350
2350
  return so(e, c);
2351
2351
  }
2352
2352
  switch (po(
2353
- a,
2353
+ n,
2354
2354
  l,
2355
2355
  e.indent,
2356
2356
  o,
2357
2357
  s,
2358
2358
  e.quotingType,
2359
- e.forceQuotes && !n,
2359
+ e.forceQuotes && !a,
2360
2360
  i
2361
2361
  )) {
2362
- case Va:
2363
- return a;
2362
+ case Dn:
2363
+ return n;
2364
2364
  case rt:
2365
- return "'" + a.replace(/'/g, "''") + "'";
2366
- case Da:
2367
- return "|" + Rt(a, e.indent) + Pt(Bt(a, r));
2368
- case Ua:
2369
- return ">" + Rt(a, e.indent) + Pt(Bt(yo(a, o), r));
2365
+ return "'" + n.replace(/'/g, "''") + "'";
2366
+ case Un:
2367
+ return "|" + Rt(n, e.indent) + Pt(Bt(n, r));
2368
+ case Hn:
2369
+ return ">" + Rt(n, e.indent) + Pt(Bt(yo(n, o), r));
2370
2370
  case xe:
2371
- return '"' + go(a) + '"';
2371
+ return '"' + go(n) + '"';
2372
2372
  default:
2373
2373
  throw new se("impossible error: invalid scalar style");
2374
2374
  }
2375
2375
  }();
2376
2376
  }
2377
- function Rt(e, a) {
2378
- var t = Pa(e) ? String(a) : "", n = e[e.length - 1] === `
2379
- `, i = n && (e[e.length - 2] === `
2377
+ function Rt(e, n) {
2378
+ var t = Vn(e) ? String(n) : "", a = e[e.length - 1] === `
2379
+ `, i = a && (e[e.length - 2] === `
2380
2380
  ` || e === `
2381
- `), r = i ? "+" : n ? "" : "-";
2381
+ `), r = i ? "+" : a ? "" : "-";
2382
2382
  return t + r + `
2383
2383
  `;
2384
2384
  }
@@ -2386,53 +2386,53 @@ function Pt(e) {
2386
2386
  return e[e.length - 1] === `
2387
2387
  ` ? e.slice(0, -1) : e;
2388
2388
  }
2389
- function yo(e, a) {
2390
- for (var t = /(\n+)([^\n]*)/g, n = function() {
2389
+ function yo(e, n) {
2390
+ for (var t = /(\n+)([^\n]*)/g, a = function() {
2391
2391
  var c = e.indexOf(`
2392
2392
  `);
2393
- return c = c !== -1 ? c : e.length, t.lastIndex = c, Vt(e.slice(0, c), a);
2393
+ return c = c !== -1 ? c : e.length, t.lastIndex = c, Vt(e.slice(0, c), n);
2394
2394
  }(), i = e[0] === `
2395
2395
  ` || e[0] === " ", r, o; o = t.exec(e); ) {
2396
2396
  var l = o[1], s = o[2];
2397
- r = s[0] === " ", n += l + (!i && !r && s !== "" ? `
2398
- ` : "") + Vt(s, a), i = r;
2397
+ r = s[0] === " ", a += l + (!i && !r && s !== "" ? `
2398
+ ` : "") + Vt(s, n), i = r;
2399
2399
  }
2400
- return n;
2400
+ return a;
2401
2401
  }
2402
- function Vt(e, a) {
2402
+ function Vt(e, n) {
2403
2403
  if (e === "" || e[0] === " ")
2404
2404
  return e;
2405
- for (var t = / [^ ]/g, n, i = 0, r, o = 0, l = 0, s = ""; n = t.exec(e); )
2406
- l = n.index, l - i > a && (r = o > i ? o : l, s += `
2405
+ for (var t = / [^ ]/g, a, i = 0, r, o = 0, l = 0, s = ""; a = t.exec(e); )
2406
+ l = a.index, l - i > n && (r = o > i ? o : l, s += `
2407
2407
  ` + e.slice(i, r), i = r + 1), o = l;
2408
2408
  return s += `
2409
- `, e.length - i > a && o > i ? s += e.slice(i, o) + `
2409
+ `, e.length - i > n && o > i ? s += e.slice(i, o) + `
2410
2410
  ` + e.slice(o + 1) : s += e.slice(i), s.slice(1);
2411
2411
  }
2412
2412
  function go(e) {
2413
- for (var a = "", t = 0, n, i = 0; i < e.length; t >= 65536 ? i += 2 : i++)
2414
- t = Me(e, i), n = oe[t], !n && Ne(t) ? (a += e[i], t >= 65536 && (a += e[i + 1])) : a += n || ro(t);
2415
- return a;
2413
+ for (var n = "", t = 0, a, i = 0; i < e.length; t >= 65536 ? i += 2 : i++)
2414
+ t = Me(e, i), a = oe[t], !a && Ne(t) ? (n += e[i], t >= 65536 && (n += e[i + 1])) : n += a || ro(t);
2415
+ return n;
2416
2416
  }
2417
- function mo(e, a, t) {
2418
- var n = "", i = e.tag, r, o, l;
2417
+ function mo(e, n, t) {
2418
+ var a = "", i = e.tag, r, o, l;
2419
2419
  for (r = 0, o = t.length; r < o; r += 1)
2420
- l = t[r], e.replacer && (l = e.replacer.call(t, String(r), l)), (he(e, a, l, !1, !1) || typeof l > "u" && he(e, a, null, !1, !1)) && (n !== "" && (n += "," + (e.condenseFlow ? "" : " ")), n += e.dump);
2421
- e.tag = i, e.dump = "[" + n + "]";
2420
+ l = t[r], e.replacer && (l = e.replacer.call(t, String(r), l)), (he(e, n, l, !1, !1) || typeof l > "u" && he(e, n, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2421
+ e.tag = i, e.dump = "[" + a + "]";
2422
2422
  }
2423
- function Dt(e, a, t, n) {
2423
+ function Dt(e, n, t, a) {
2424
2424
  var i = "", r = e.tag, o, l, s;
2425
2425
  for (o = 0, l = t.length; o < l; o += 1)
2426
- s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (he(e, a + 1, s, !0, !0, !1, !0) || typeof s > "u" && he(e, a + 1, null, !0, !0, !1, !0)) && ((!n || i !== "") && (i += it(e, a)), e.dump && Ke === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2426
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (he(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && he(e, n + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += it(e, n)), e.dump && Ke === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2427
2427
  e.tag = r, e.dump = i || "[]";
2428
2428
  }
2429
- function ho(e, a, t) {
2430
- var n = "", i = e.tag, r = Object.keys(t), o, l, s, c, d;
2429
+ function ho(e, n, t) {
2430
+ var a = "", i = e.tag, r = Object.keys(t), o, l, s, c, d;
2431
2431
  for (o = 0, l = r.length; o < l; o += 1)
2432
- d = "", n !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = r[o], c = t[s], e.replacer && (c = e.replacer.call(t, s, c)), he(e, a, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), he(e, a, c, !1, !1) && (d += e.dump, n += d));
2433
- e.tag = i, e.dump = "{" + n + "}";
2432
+ d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = r[o], c = t[s], e.replacer && (c = e.replacer.call(t, s, c)), he(e, n, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), he(e, n, c, !1, !1) && (d += e.dump, a += d));
2433
+ e.tag = i, e.dump = "{" + a + "}";
2434
2434
  }
2435
- function vo(e, a, t, n) {
2435
+ function vo(e, n, t, a) {
2436
2436
  var i = "", r = e.tag, o = Object.keys(t), l, s, c, d, u, g;
2437
2437
  if (e.sortKeys === !0)
2438
2438
  o.sort();
@@ -2441,40 +2441,40 @@ function vo(e, a, t, n) {
2441
2441
  else if (e.sortKeys)
2442
2442
  throw new se("sortKeys must be a boolean or a function");
2443
2443
  for (l = 0, s = o.length; l < s; l += 1)
2444
- g = "", (!n || i !== "") && (g += it(e, a)), c = o[l], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), he(e, a + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ke === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += it(e, a)), he(e, a + 1, d, !0, u) && (e.dump && Ke === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, i += g));
2444
+ g = "", (!a || i !== "") && (g += it(e, n)), c = o[l], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), he(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ke === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += it(e, n)), he(e, n + 1, d, !0, u) && (e.dump && Ke === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, i += g));
2445
2445
  e.tag = r, e.dump = i || "{}";
2446
2446
  }
2447
- function Ut(e, a, t) {
2448
- var n, i, r, o, l, s;
2447
+ function Ut(e, n, t) {
2448
+ var a, i, r, o, l, s;
2449
2449
  for (i = t ? e.explicitTypes : e.implicitTypes, r = 0, o = i.length; r < o; r += 1)
2450
- if (l = i[r], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof a == "object" && a instanceof l.instanceOf) && (!l.predicate || l.predicate(a))) {
2451
- if (t ? l.multi && l.representName ? e.tag = l.representName(a) : e.tag = l.tag : e.tag = "?", l.represent) {
2452
- if (s = e.styleMap[l.tag] || l.defaultStyle, Ka.call(l.represent) === "[object Function]")
2453
- n = l.represent(a, s);
2454
- else if (Fa.call(l.represent, s))
2455
- n = l.represent[s](a, s);
2450
+ if (l = i[r], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof n == "object" && n instanceof l.instanceOf) && (!l.predicate || l.predicate(n))) {
2451
+ if (t ? l.multi && l.representName ? e.tag = l.representName(n) : e.tag = l.tag : e.tag = "?", l.represent) {
2452
+ if (s = e.styleMap[l.tag] || l.defaultStyle, Fn.call(l.represent) === "[object Function]")
2453
+ a = l.represent(n, s);
2454
+ else if (Nn.call(l.represent, s))
2455
+ a = l.represent[s](n, s);
2456
2456
  else
2457
2457
  throw new se("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2458
- e.dump = n;
2458
+ e.dump = a;
2459
2459
  }
2460
2460
  return !0;
2461
2461
  }
2462
2462
  return !1;
2463
2463
  }
2464
- function he(e, a, t, n, i, r, o) {
2464
+ function he(e, n, t, a, i, r, o) {
2465
2465
  e.tag = null, e.dump = t, Ut(e, t, !1) || Ut(e, t, !0);
2466
- var l = Ka.call(e.dump), s = n, c;
2467
- n && (n = e.flowLevel < 0 || e.flowLevel > a);
2466
+ var l = Fn.call(e.dump), s = a, c;
2467
+ a && (a = e.flowLevel < 0 || e.flowLevel > n);
2468
2468
  var d = l === "[object Object]" || l === "[object Array]", u, g;
2469
- if (d && (u = e.duplicates.indexOf(t), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && a > 0) && (i = !1), g && e.usedDuplicates[u])
2469
+ if (d && (u = e.duplicates.indexOf(t), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (i = !1), g && e.usedDuplicates[u])
2470
2470
  e.dump = "*ref_" + u;
2471
2471
  else {
2472
2472
  if (d && g && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2473
- n && Object.keys(e.dump).length !== 0 ? (vo(e, a, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (ho(e, a, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2473
+ a && Object.keys(e.dump).length !== 0 ? (vo(e, n, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (ho(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2474
2474
  else if (l === "[object Array]")
2475
- n && e.dump.length !== 0 ? (e.noArrayIndent && !o && a > 0 ? Dt(e, a - 1, e.dump, i) : Dt(e, a, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (mo(e, a, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2475
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? Dt(e, n - 1, e.dump, i) : Dt(e, n, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (mo(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2476
2476
  else if (l === "[object String]")
2477
- e.tag !== "?" && fo(e, e.dump, a, r, s);
2477
+ e.tag !== "?" && fo(e, e.dump, n, r, s);
2478
2478
  else {
2479
2479
  if (l === "[object Undefined]" || e.skipInvalid)
2480
2480
  return !1;
@@ -2486,54 +2486,54 @@ function he(e, a, t, n, i, r, o) {
2486
2486
  }
2487
2487
  return !0;
2488
2488
  }
2489
- function bo(e, a) {
2490
- var t = [], n = [], i, r;
2491
- for (ot(e, t, n), i = 0, r = n.length; i < r; i += 1)
2492
- a.duplicates.push(t[n[i]]);
2493
- a.usedDuplicates = new Array(r);
2489
+ function bo(e, n) {
2490
+ var t = [], a = [], i, r;
2491
+ for (ot(e, t, a), i = 0, r = a.length; i < r; i += 1)
2492
+ n.duplicates.push(t[a[i]]);
2493
+ n.usedDuplicates = new Array(r);
2494
2494
  }
2495
- function ot(e, a, t) {
2496
- var n, i, r;
2495
+ function ot(e, n, t) {
2496
+ var a, i, r;
2497
2497
  if (e !== null && typeof e == "object")
2498
- if (i = a.indexOf(e), i !== -1)
2498
+ if (i = n.indexOf(e), i !== -1)
2499
2499
  t.indexOf(i) === -1 && t.push(i);
2500
- else if (a.push(e), Array.isArray(e))
2500
+ else if (n.push(e), Array.isArray(e))
2501
2501
  for (i = 0, r = e.length; i < r; i += 1)
2502
- ot(e[i], a, t);
2502
+ ot(e[i], n, t);
2503
2503
  else
2504
- for (n = Object.keys(e), i = 0, r = n.length; i < r; i += 1)
2505
- ot(e[n[i]], a, t);
2504
+ for (a = Object.keys(e), i = 0, r = a.length; i < r; i += 1)
2505
+ ot(e[a[i]], n, t);
2506
2506
  }
2507
- function ko(e, a) {
2508
- a = a || {};
2509
- var t = new lo(a);
2507
+ function ko(e, n) {
2508
+ n = n || {};
2509
+ var t = new lo(n);
2510
2510
  t.noRefs || bo(e, t);
2511
- var n = e;
2512
- return t.replacer && (n = t.replacer.call({ "": n }, "", n)), he(t, 0, n, !0, !0) ? t.dump + `
2511
+ var a = e;
2512
+ return t.replacer && (a = t.replacer.call({ "": a }, "", a)), he(t, 0, a, !0, !0) ? t.dump + `
2513
2513
  ` : "";
2514
2514
  }
2515
2515
  var Co = ko, wo = {
2516
2516
  dump: Co
2517
2517
  };
2518
- function bt(e, a) {
2518
+ function bt(e, n) {
2519
2519
  return function() {
2520
- throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + a + " instead, which is now safe by default.");
2520
+ throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2521
2521
  };
2522
2522
  }
2523
- var So = re, Ao = oa, Io = ua, xo = ga, _o = ma, To = gt, jo = Ea.load, $o = Ea.loadAll, Oo = wo.dump, Mo = se, Eo = {
2524
- binary: Ca,
2525
- float: ya,
2526
- map: ca,
2527
- null: da,
2528
- pairs: Sa,
2529
- set: Aa,
2530
- timestamp: ba,
2531
- bool: pa,
2532
- int: fa,
2533
- merge: ka,
2534
- omap: wa,
2535
- seq: sa,
2536
- str: la
2523
+ var So = re, Ao = ln, Io = dn, xo = mn, _o = hn, To = gt, jo = Kn.load, $o = Kn.loadAll, Oo = wo.dump, Mo = se, Eo = {
2524
+ binary: wn,
2525
+ float: gn,
2526
+ map: un,
2527
+ null: pn,
2528
+ pairs: An,
2529
+ set: In,
2530
+ timestamp: kn,
2531
+ bool: fn,
2532
+ int: yn,
2533
+ merge: Cn,
2534
+ omap: Sn,
2535
+ seq: cn,
2536
+ str: sn
2537
2537
  }, Ko = bt("safeLoad", "load"), Fo = bt("safeLoadAll", "loadAll"), No = bt("safeDump", "dump"), Bo = {
2538
2538
  Type: So,
2539
2539
  Schema: Ao,
@@ -2588,9 +2588,9 @@ const qo = {
2588
2588
  }
2589
2589
  },
2590
2590
  setup(e) {
2591
- const a = e, t = Je(), { i18n: { t: n } } = ie.useI18n(), i = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), r = O(""), o = O("");
2592
- return ke(() => a.format, (l) => {
2593
- l === "json" ? r.value = JSON.stringify(a.record, null, 2) : l === "yaml" && (o.value = Bo.dump(a.record));
2591
+ const n = e, t = Je(), { i18n: { t: a } } = ie.useI18n(), i = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), r = O(""), o = O("");
2592
+ return ke(() => n.format, (l) => {
2593
+ l === "json" ? r.value = JSON.stringify(n.record, null, 2) : l === "yaml" && (o.value = Bo.dump(n.record));
2594
2594
  }, { immediate: !0 }), (l, s) => {
2595
2595
  const c = E("KCodeBlock");
2596
2596
  return y(), I(pe, null, [
@@ -2600,7 +2600,7 @@ const qo = {
2600
2600
  class: Ae(`config-card-details-${d}-props`),
2601
2601
  "data-testid": `config-card-details-${d}-props`
2602
2602
  }, [
2603
- d !== "basic" ? (y(), I("div", Ro, K(d === "advanced" ? w(n)("baseConfigCard.sections.advanced") : w(n)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2603
+ d !== "basic" ? (y(), I("div", Ro, K(d === "advanced" ? w(a)("baseConfigCard.sections.advanced") : w(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2604
2604
  (y(!0), I(pe, null, ue(e.propertyCollections[d], (u) => (y(), B(ft, {
2605
2605
  key: u.key,
2606
2606
  item: u
@@ -2645,10 +2645,10 @@ const qo = {
2645
2645
  ], 64);
2646
2646
  };
2647
2647
  }
2648
- }), Uo = /* @__PURE__ */ fe(Do, [["__scopeId", "data-v-6c45e9e4"]]), Ht = "24px", Ho = (e, a) => {
2648
+ }), Uo = /* @__PURE__ */ fe(Do, [["__scopeId", "data-v-6c45e9e4"]]), Ht = "24px", Ho = (e, n) => {
2649
2649
  const t = e.__vccOpts || e;
2650
- for (const [n, i] of a)
2651
- t[n] = i;
2650
+ for (const [a, i] of n)
2651
+ t[a] = i;
2652
2652
  return t;
2653
2653
  }, zo = (e) => (Yt("data-v-dd88a2bb"), e = e(), Wt(), e), Jo = ["aria-hidden"], Yo = {
2654
2654
  key: 0,
@@ -2693,7 +2693,7 @@ const qo = {
2693
2693
  if (typeof e == "number" && e > 0)
2694
2694
  return !0;
2695
2695
  if (typeof e == "string") {
2696
- const a = String(e).replace(/px/gi, ""), t = Number(a);
2696
+ const n = String(e).replace(/px/gi, ""), t = Number(n);
2697
2697
  if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
2698
2698
  return !0;
2699
2699
  }
@@ -2708,19 +2708,19 @@ const qo = {
2708
2708
  }
2709
2709
  },
2710
2710
  setup(e) {
2711
- const a = e, t = x(() => {
2712
- if (typeof a.size == "number" && a.size > 0)
2713
- return `${a.size}px`;
2714
- if (typeof a.size == "string") {
2715
- const i = String(a.size).replace(/px/gi, ""), r = Number(i);
2711
+ const n = e, t = x(() => {
2712
+ if (typeof n.size == "number" && n.size > 0)
2713
+ return `${n.size}px`;
2714
+ if (typeof n.size == "string") {
2715
+ const i = String(n.size).replace(/px/gi, ""), r = Number(i);
2716
2716
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
2717
2717
  return `${r}px`;
2718
2718
  }
2719
2719
  return Ht;
2720
- }), n = x(() => ({
2720
+ }), a = x(() => ({
2721
2721
  boxSizing: "border-box",
2722
- color: a.color,
2723
- display: a.display,
2722
+ color: n.color,
2723
+ display: n.display,
2724
2724
  height: t.value,
2725
2725
  lineHeight: "0",
2726
2726
  width: t.value
@@ -2729,7 +2729,7 @@ const qo = {
2729
2729
  "aria-hidden": e.decorative ? "true" : void 0,
2730
2730
  class: "kui-icon book-icon",
2731
2731
  "data-testid": "kui-icon-wrapper-book-icon",
2732
- style: Jt(n.value)
2732
+ style: Jt(a.value)
2733
2733
  }, {
2734
2734
  default: k(() => [
2735
2735
  (y(), I("svg", {
@@ -2752,10 +2752,10 @@ const qo = {
2752
2752
  }), Go = /* @__PURE__ */ Ho(Zo, [["__scopeId", "data-v-dd88a2bb"]]), Qo = { "data-testid": "config-card-title" }, Xo = { class: "config-card-actions" }, el = ["href"], tl = {
2753
2753
  key: 2,
2754
2754
  class: "config-card-details-section"
2755
- }, al = {
2755
+ }, nl = {
2756
2756
  key: 3,
2757
2757
  class: "config-card-details-section"
2758
- }, nl = ["data-testid"], il = {
2758
+ }, al = ["data-testid"], il = {
2759
2759
  key: 0,
2760
2760
  class: "config-card-prop-section-title"
2761
2761
  }, rl = /* @__PURE__ */ te({
@@ -2831,10 +2831,10 @@ const qo = {
2831
2831
  }
2832
2832
  },
2833
2833
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2834
- setup(e, { emit: a }) {
2834
+ setup(e, { emit: n }) {
2835
2835
  var t;
2836
- const n = e, i = Je(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: o } = ie.useErrors(), { convertKeyToTitle: l } = ie.useStringHelpers(), { axiosInstance: s } = ie.useAxios({
2837
- headers: (t = n.config) == null ? void 0 : t.requestHeaders
2836
+ const a = e, i = Je(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: o } = ie.useErrors(), { convertKeyToTitle: l } = ie.useStringHelpers(), { axiosInstance: s } = ie.useAxios({
2837
+ headers: (t = a.config) == null ? void 0 : t.requestHeaders
2838
2838
  }), c = [
2839
2839
  {
2840
2840
  label: r("baseConfigCard.general.structuredFormat"),
@@ -2891,43 +2891,43 @@ const qo = {
2891
2891
  return [];
2892
2892
  const T = [], N = Object.keys(p.value).length;
2893
2893
  for (const q in p.value) {
2894
- const J = (M = (C = n.configSchema) == null ? void 0 : C[q]) == null ? void 0 : M.order, Z = (F = g[q]) == null ? void 0 : F.order;
2895
- let ne = N;
2896
- (Z || Z === 0) && (ne = Z === -1 ? N + 1 : Z), J && (ne = J === -1 ? N + 1 : J), T.push([q, ne]);
2894
+ const J = (M = (C = a.configSchema) == null ? void 0 : C[q]) == null ? void 0 : M.order, Z = (F = g[q]) == null ? void 0 : F.order;
2895
+ let ae = N;
2896
+ (Z || Z === 0) && (ae = Z === -1 ? N + 1 : Z), J && (ae = J === -1 ? N + 1 : J), T.push([q, ae]);
2897
2897
  }
2898
2898
  return T.sort(function(q, J) {
2899
2899
  return q[1] - J[1];
2900
2900
  }), T.map((q) => {
2901
2901
  var J, Z;
2902
- const ne = q[0], Q = (J = p.value) == null ? void 0 : J[ne], Y = ((Z = n.configSchema) == null ? void 0 : Z[ne]) || {}, le = g[ne];
2902
+ const ae = q[0], Q = (J = p.value) == null ? void 0 : J[ae], Y = ((Z = a.configSchema) == null ? void 0 : Z[ae]) || {}, le = g[ae];
2903
2903
  return {
2904
- key: ne,
2904
+ key: ae,
2905
2905
  value: Q,
2906
2906
  hidden: Y.hidden || !1,
2907
2907
  type: Y.type ?? ((le == null ? void 0 : le.type) || W.Text),
2908
- label: Y.label ?? ((le == null ? void 0 : le.label) || l(ne)),
2908
+ label: Y.label ?? ((le == null ? void 0 : le.label) || l(ae)),
2909
2909
  tooltip: Y.tooltip ?? ((le == null ? void 0 : le.tooltip) || void 0),
2910
2910
  section: Y.section ?? ((le == null ? void 0 : le.section) || de.Advanced)
2911
2911
  };
2912
- }).filter((q) => !q.hidden && q.key !== n.pluginConfigKey);
2912
+ }).filter((q) => !q.hidden && q.key !== a.pluginConfigKey);
2913
2913
  }), m = x(() => {
2914
2914
  var C, M;
2915
- if (!p.value || !n.pluginConfigKey)
2915
+ if (!p.value || !a.pluginConfigKey)
2916
2916
  return [];
2917
- const F = p.value[n.pluginConfigKey] || {}, T = Object.keys(F).length, N = [];
2917
+ const F = p.value[a.pluginConfigKey] || {}, T = Object.keys(F).length, N = [];
2918
2918
  for (const q in F) {
2919
- const J = (M = (C = n.pluginConfigSchema) == null ? void 0 : C[q]) == null ? void 0 : M.order, Z = F[q];
2920
- let ne = Z != null && Z !== "" ? T - 1 : T;
2921
- J && (ne = J === -1 ? T + 1 : J), N.push([q, ne]);
2919
+ const J = (M = (C = a.pluginConfigSchema) == null ? void 0 : C[q]) == null ? void 0 : M.order, Z = F[q];
2920
+ let ae = Z != null && Z !== "" ? T - 1 : T;
2921
+ J && (ae = J === -1 ? T + 1 : J), N.push([q, ae]);
2922
2922
  }
2923
2923
  return N.sort(function(q, J) {
2924
2924
  return q[1] - J[1];
2925
2925
  }), N.map((q) => {
2926
2926
  var J;
2927
- const Z = q[0], ne = F[Z], Q = ((J = n.pluginConfigSchema) == null ? void 0 : J[Z]) || {};
2927
+ const Z = q[0], ae = F[Z], Q = ((J = a.pluginConfigSchema) == null ? void 0 : J[Z]) || {};
2928
2928
  return {
2929
2929
  key: Z,
2930
- value: ne,
2930
+ value: ae,
2931
2931
  hidden: Q.hidden || !1,
2932
2932
  type: Q.type ?? W.Text,
2933
2933
  label: Q.label ?? l(Z),
@@ -2947,36 +2947,36 @@ const qo = {
2947
2947
  return _.value.basic.length && C.push("basic"), _.value.advanced.length && C.push("advanced"), _.value.plugin.length && C.push("plugin"), C;
2948
2948
  }), R = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), z = x(() => {
2949
2949
  var C, M;
2950
- let F = `${n.config.apiBaseUrl}${n.fetchUrl}`;
2951
- return n.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((C = n.config) == null ? void 0 : C.controlPlaneId) || "") : n.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (M = n.config) != null && M.workspace ? `/${n.config.workspace}` : "")), F = F.replace(/{id}/gi, n.config.entityId), F;
2950
+ let F = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2951
+ return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((C = a.config) == null ? void 0 : C.controlPlaneId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (M = a.config) != null && M.workspace ? `/${a.config.workspace}` : "")), F = F.replace(/{id}/gi, a.config.entityId), F;
2952
2952
  }), P = (C) => {
2953
- p.value && C(JSON.stringify(p.value)) ? a("copy:success", p.value) : a("copy:error");
2953
+ p.value && C(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2954
2954
  };
2955
2955
  return ke(f, (C) => {
2956
- a("loading", C);
2956
+ n("loading", C);
2957
2957
  }, { immediate: !0 }), lt(async () => {
2958
2958
  S.value = !1, f.value = !0;
2959
2959
  try {
2960
2960
  const { data: C } = await s.get(z.value);
2961
- if (n.dataKey)
2962
- if (typeof C[n.dataKey] < "u")
2963
- p.value = { ...C[n.dataKey] };
2961
+ if (a.dataKey)
2962
+ if (typeof C[a.dataKey] < "u")
2963
+ p.value = { ...C[a.dataKey] };
2964
2964
  else
2965
- throw new Error(r("errors.dataKeyUndefined", { dataKey: n.dataKey }));
2965
+ throw new Error(r("errors.dataKeyUndefined", { dataKey: a.dataKey }));
2966
2966
  else
2967
2967
  p.value = { ...C };
2968
- Object.keys(n.configSchema).filter((M) => n.configSchema[M].forceShow).forEach((M) => {
2968
+ Object.keys(a.configSchema).filter((M) => a.configSchema[M].forceShow).forEach((M) => {
2969
2969
  p.value && typeof p.value[M] > "u" && (p.value[M] = null);
2970
- }), a("fetch:success", C);
2970
+ }), n("fetch:success", C);
2971
2971
  } catch (C) {
2972
2972
  const M = o(C);
2973
- b.value = M.startsWith("code") ? r("baseConfigCard.errors.load") : M, S.value = !0, a("fetch:error", C);
2973
+ b.value = M.startsWith("code") ? r("baseConfigCard.errors.load") : M, S.value = !0, n("fetch:error", C);
2974
2974
  } finally {
2975
2975
  f.value = !1;
2976
2976
  }
2977
2977
  }), (C, M) => {
2978
- const F = E("KLabel"), T = E("KSelect"), N = E("KButton"), q = E("KClipboardProvider"), J = E("KSkeleton"), Z = E("KEmptyState"), ne = E("KCard");
2979
- return y(), B(ne, { class: "kong-ui-entity-base-config-card" }, we({
2978
+ const F = E("KLabel"), T = E("KSelect"), N = E("KButton"), q = E("KClipboardProvider"), J = E("KSkeleton"), Z = E("KEmptyState"), ae = E("KCard");
2979
+ return y(), B(ae, { class: "kong-ui-entity-base-config-card" }, we({
2980
2980
  actions: k(() => [
2981
2981
  L("div", Xo, [
2982
2982
  U(C.$slots, "actions", {}, void 0, !0),
@@ -2997,7 +2997,7 @@ const qo = {
2997
2997
  items: c,
2998
2998
  onChange: u
2999
2999
  })) : D("", !0),
3000
- n.config.jsonYamlEnabled && e.configCardDoc ? (y(), B(N, {
3000
+ a.config.jsonYamlEnabled && e.configCardDoc ? (y(), B(N, {
3001
3001
  key: 2,
3002
3002
  appearance: "tertiary",
3003
3003
  class: "book-icon",
@@ -3065,7 +3065,7 @@ const qo = {
3065
3065
  ])
3066
3066
  }))
3067
3067
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3068
- ])) : (y(), I("div", al, [
3068
+ ])) : (y(), I("div", nl, [
3069
3069
  (y(!0), I(pe, null, ue(v.value, (Q) => (y(), I("div", {
3070
3070
  key: `config-card-details-${Q}-props`,
3071
3071
  class: Ae(`config-card-details-${Q}-props`),
@@ -3095,7 +3095,7 @@ const qo = {
3095
3095
  key: "0"
3096
3096
  } : void 0
3097
3097
  ]), 1032, ["item"]))), 128))
3098
- ], 10, nl))), 128))
3098
+ ], 10, al))), 128))
3099
3099
  ]))
3100
3100
  ]),
3101
3101
  _: 2
@@ -3114,7 +3114,7 @@ const qo = {
3114
3114
  ]), 1024);
3115
3115
  };
3116
3116
  }
3117
- }), ol = /* @__PURE__ */ fe(rl, [["__scopeId", "data-v-24515123"]]), ll = ["onReset", "onSubmit"], sl = {
3117
+ }), ol = /* @__PURE__ */ fe(rl, [["__scopeId", "data-v-b3999889"]]), ll = ["onReset", "onSubmit"], sl = {
3118
3118
  class: "form-actions",
3119
3119
  "data-testid": "form-actions"
3120
3120
  }, cl = /* @__PURE__ */ te({
@@ -3165,34 +3165,34 @@ const qo = {
3165
3165
  }
3166
3166
  },
3167
3167
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3168
- setup(e, { emit: a }) {
3168
+ setup(e, { emit: n }) {
3169
3169
  var t;
3170
- const n = e, i = st(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: o } = ie.useErrors(), { axiosInstance: l } = ie.useAxios({
3171
- headers: (t = n.config) == null ? void 0 : t.requestHeaders
3172
- }), s = O(!1), c = O(!1), d = O(""), u = x(() => n.canSubmit === !1 || n.isReadonly), g = x(() => {
3170
+ const a = e, i = st(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: o } = ie.useErrors(), { axiosInstance: l } = ie.useAxios({
3171
+ headers: (t = a.config) == null ? void 0 : t.requestHeaders
3172
+ }), s = O(!1), c = O(!1), d = O(""), u = x(() => a.canSubmit === !1 || a.isReadonly), g = x(() => {
3173
3173
  var p, h;
3174
- if (!n.editId)
3174
+ if (!a.editId)
3175
3175
  return "";
3176
- let m = `${n.config.apiBaseUrl}${n.fetchUrl}`;
3177
- return n.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((p = n.config) == null ? void 0 : p.controlPlaneId) || "") : n.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (h = n.config) != null && h.workspace ? `/${n.config.workspace}` : "")), m = m.replace(/{id}/gi, n.editId), m;
3176
+ let m = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3177
+ return a.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (h = a.config) != null && h.workspace ? `/${a.config.workspace}` : "")), m = m.replace(/{id}/gi, a.editId), m;
3178
3178
  }), f = () => {
3179
- n.config.cancelRoute ? i.push(n.config.cancelRoute) : S();
3179
+ a.config.cancelRoute ? i.push(a.config.cancelRoute) : S();
3180
3180
  }, S = () => {
3181
- a("cancel");
3181
+ n("cancel");
3182
3182
  }, b = () => {
3183
- u.value || a("submit");
3183
+ u.value || n("submit");
3184
3184
  };
3185
3185
  return ke(() => s.value, (p) => {
3186
- a("loading", p);
3186
+ n("loading", p);
3187
3187
  }, { immediate: !0 }), lt(async () => {
3188
- if (n.editId)
3188
+ if (a.editId)
3189
3189
  try {
3190
3190
  c.value = !1, s.value = !0;
3191
3191
  const { data: p } = await l.get(g.value);
3192
- a("fetch:success", p);
3192
+ n("fetch:success", p);
3193
3193
  } catch (p) {
3194
3194
  const h = o(p);
3195
- d.value = h.startsWith("code") ? r("baseForm.errors.edit") : h, c.value = !0, a("fetch:error", p);
3195
+ d.value = h.startsWith("code") ? r("baseForm.errors.edit") : h, c.value = !0, n("fetch:error", p);
3196
3196
  } finally {
3197
3197
  s.value = !1;
3198
3198
  }
@@ -3275,24 +3275,24 @@ const qo = {
3275
3275
  }
3276
3276
  },
3277
3277
  setup(e) {
3278
- const a = e, t = x(() => {
3278
+ const n = e, t = x(() => {
3279
3279
  var b;
3280
- return ((b = a.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${a.keyName}"]`)) || null;
3281
- }), n = x(() => {
3280
+ return ((b = n.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3281
+ }), a = x(() => {
3282
3282
  var b;
3283
3283
  return ((b = t.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3284
3284
  }), i = x(() => {
3285
3285
  var b, p;
3286
- const h = (b = a.rowEl) == null ? void 0 : b.querySelectorAll("td");
3287
- return h ? ((p = h[0]) == null ? void 0 : p.getAttribute("data-testid")) === a.keyName : !1;
3286
+ const h = (b = n.rowEl) == null ? void 0 : b.querySelectorAll("td");
3287
+ return h ? ((p = h[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
3288
3288
  });
3289
3289
  let r;
3290
3290
  const o = () => {
3291
3291
  r && (r.disconnect(), r = void 0);
3292
3292
  }, l = () => {
3293
3293
  var b, p, h;
3294
- c.value = ((b = n.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((h = s.value) == null ? void 0 : h.innerText) || "";
3295
- }, s = O({}), c = O(0), d = O(0), u = O(""), g = x(() => [n.value, t.value]), f = ke(
3294
+ c.value = ((b = a.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((h = s.value) == null ? void 0 : h.innerText) || "";
3295
+ }, s = O({}), c = O(0), d = O(0), u = O(""), g = x(() => [a.value, t.value]), f = ke(
3296
3296
  g,
3297
3297
  (b) => {
3298
3298
  if (i.value && (o(), "ResizeObserver" in window && window)) {
@@ -3307,9 +3307,9 @@ const qo = {
3307
3307
  },
3308
3308
  { immediate: !0, flush: "post", deep: !0 }
3309
3309
  ), S = x(() => i.value ? c.value > d.value : !1);
3310
- return Qa(() => {
3310
+ return Xn(() => {
3311
3311
  l();
3312
- }), Xa(() => {
3312
+ }), ea(() => {
3313
3313
  f();
3314
3314
  }), (b, p) => {
3315
3315
  const h = E("KTooltip");
@@ -3445,8 +3445,8 @@ const qo = {
3445
3445
  }
3446
3446
  },
3447
3447
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3448
- setup(e, { emit: a }) {
3449
- const t = e, { i18n: { t: n } } = ie.useI18n(), i = x(() => {
3448
+ setup(e, { emit: n }) {
3449
+ const t = e, { i18n: { t: a } } = ie.useI18n(), i = x(() => {
3450
3450
  var v, R;
3451
3451
  return typeof t.errorMessage == "string" ? {
3452
3452
  hasError: !!t.errorMessage,
@@ -3488,14 +3488,14 @@ const qo = {
3488
3488
  textOverflow: "ellipsis"
3489
3489
  }), R;
3490
3490
  }, g = () => {
3491
- a("empty-state-cta-clicked"), f();
3491
+ n("empty-state-cta-clicked"), f();
3492
3492
  }, f = () => {
3493
- a("clear-search-input");
3493
+ n("clear-search-input");
3494
3494
  }, S = x(() => t.disableRowClick ? void 0 : (v, R) => {
3495
- a("click:row", R);
3495
+ n("click:row", R);
3496
3496
  }), b = (v) => {
3497
- a("sort", v);
3498
- }, { setTablePreferences: p, getTablePreferences: h } = cn(), m = x(() => {
3497
+ n("sort", v);
3498
+ }, { setTablePreferences: p, getTablePreferences: h } = ca(), m = x(() => {
3499
3499
  const v = h(t.preferencesStorageKey);
3500
3500
  return {
3501
3501
  ...t.initialFetcherParams,
@@ -3519,12 +3519,12 @@ const qo = {
3519
3519
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3520
3520
  "disable-sorting": e.disableSorting,
3521
3521
  "empty-state-action-button-icon": e.query ? "" : "plus",
3522
- "empty-state-action-message": e.query ? w(n)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3522
+ "empty-state-action-message": e.query ? w(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3523
3523
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3524
3524
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3525
3525
  "empty-state-icon-size": "96",
3526
- "empty-state-message": e.query ? w(n)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3527
- "empty-state-title": e.query ? w(n)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3526
+ "empty-state-message": e.query ? w(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3527
+ "empty-state-title": e.query ? w(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3528
3528
  "enable-client-sort": e.enableClientSort,
3529
3529
  "error-state-message": i.value.message,
3530
3530
  "error-state-title": i.value.title,
@@ -3577,7 +3577,7 @@ const qo = {
3577
3577
  }, {
3578
3578
  icon: k(() => [
3579
3579
  j(z, {
3580
- color: w(ai),
3580
+ color: w(ni),
3581
3581
  icon: "more",
3582
3582
  size: "16"
3583
3583
  }, null, 8, ["color"])
@@ -3661,11 +3661,11 @@ const qo = {
3661
3661
  }
3662
3662
  },
3663
3663
  emits: ["cancel", "proceed"],
3664
- setup(e, { emit: a }) {
3665
- const t = e, { i18nT: n } = ie.useI18n(), i = x(() => t.needConfirm ? t.entityName : ""), r = () => {
3666
- a("cancel");
3664
+ setup(e, { emit: n }) {
3665
+ const t = e, { i18nT: a } = ie.useI18n(), i = x(() => t.needConfirm ? t.entityName : ""), r = () => {
3666
+ n("cancel");
3667
3667
  }, o = () => {
3668
- a("proceed");
3668
+ n("proceed");
3669
3669
  };
3670
3670
  return (l, s) => {
3671
3671
  const c = E("KAlert"), d = E("KPrompt");
@@ -3689,7 +3689,7 @@ const qo = {
3689
3689
  _: 1
3690
3690
  })
3691
3691
  ])) : D("", !0),
3692
- j(w(n), {
3692
+ j(w(a), {
3693
3693
  class: "message",
3694
3694
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3695
3695
  tag: "p"
@@ -3740,7 +3740,7 @@ const qo = {
3740
3740
  }
3741
3741
  },
3742
3742
  setup(e) {
3743
- return (a, t) => (y(), I("svg", Sl, [
3743
+ return (n, t) => (y(), I("svg", Sl, [
3744
3744
  L("mask", Al, [
3745
3745
  L("rect", {
3746
3746
  fill: e.color,
@@ -3778,8 +3778,8 @@ const qo = {
3778
3778
  }
3779
3779
  },
3780
3780
  emits: ["update:modelValue"],
3781
- setup(e, { emit: a }) {
3782
- const t = e, { i18n: { t: n } } = ie.useI18n(), i = O(!1), r = O({}), o = x(() => {
3781
+ setup(e, { emit: n }) {
3782
+ const t = e, { i18n: { t: a } } = ie.useI18n(), i = O(!1), r = O({}), o = x(() => {
3783
3783
  const p = [];
3784
3784
  return new URLSearchParams(t.modelValue).forEach((h, m) => {
3785
3785
  h !== "" && p.push(m);
@@ -3799,7 +3799,7 @@ const qo = {
3799
3799
  const s = () => {
3800
3800
  i.value = !i.value;
3801
3801
  }, c = (p) => {
3802
- a("update:modelValue", p);
3802
+ n("update:modelValue", p);
3803
3803
  }, d = (p) => `filter-${p}`, u = (p) => {
3804
3804
  var h, m;
3805
3805
  return (((m = (h = t.config.schema) == null ? void 0 : h[p]) == null ? void 0 : m.values) ?? []).map((_) => ({
@@ -3818,7 +3818,7 @@ const qo = {
3818
3818
  r.value = {}, b(!0);
3819
3819
  }, b = (p = !1) => {
3820
3820
  const h = Object.keys(r.value).reduce((m, _) => (r.value[_] && (m[_] = `${r.value[_]}`), m), {});
3821
- p && (i.value = !1), a("update:modelValue", new URLSearchParams(h).toString());
3821
+ p && (i.value = !1), n("update:modelValue", new URLSearchParams(h).toString());
3822
3822
  };
3823
3823
  return (p, h) => {
3824
3824
  const m = E("KInput"), _ = E("KButton"), v = E("KSelect"), R = E("KMenuItem"), z = E("KMenu");
@@ -3843,7 +3843,7 @@ const qo = {
3843
3843
  }, {
3844
3844
  default: k(() => [
3845
3845
  j(zt),
3846
- H(" " + K(w(n)("filter.filterButtonText")) + " " + K(o.value.length > 0 ? `(${o.value.length})` : ""), 1)
3846
+ H(" " + K(w(a)("filter.filterButtonText")) + " " + K(o.value.length > 0 ? `(${o.value.length})` : ""), 1)
3847
3847
  ]),
3848
3848
  _: 1
3849
3849
  }),
@@ -3876,7 +3876,7 @@ const qo = {
3876
3876
  L("label", {
3877
3877
  class: "menu-item-label",
3878
3878
  for: d(P.value)
3879
- }, K(w(n)("filter.fieldLabel")), 9, Ml),
3879
+ }, K(w(a)("filter.fieldLabel")), 9, Ml),
3880
3880
  ((F = (M = e.config.schema) == null ? void 0 : M[P.value]) == null ? void 0 : F.type) === "select" ? (y(), B(v, {
3881
3881
  key: 0,
3882
3882
  id: d(P.value),
@@ -3884,14 +3884,14 @@ const qo = {
3884
3884
  "onUpdate:modelValue": (T) => r.value[P.value] = T,
3885
3885
  appearance: "select",
3886
3886
  items: u(P.value),
3887
- placeholder: w(n)("filter.selectPlaceholder")
3887
+ placeholder: w(a)("filter.selectPlaceholder")
3888
3888
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), B(m, {
3889
3889
  key: 1,
3890
3890
  id: d(P.value),
3891
3891
  modelValue: r.value[P.value],
3892
3892
  "onUpdate:modelValue": (T) => r.value[P.value] = T,
3893
3893
  autocomplete: "off",
3894
- placeholder: w(n)("filter.inputPlaceholder"),
3894
+ placeholder: w(a)("filter.inputPlaceholder"),
3895
3895
  type: g(P.value)
3896
3896
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3897
3897
  ]),
@@ -3903,7 +3903,7 @@ const qo = {
3903
3903
  onClick: h[0] || (h[0] = (T) => b(!0))
3904
3904
  }, {
3905
3905
  default: k(() => [
3906
- H(K(w(n)("filter.applyButtonText")), 1)
3906
+ H(K(w(a)("filter.applyButtonText")), 1)
3907
3907
  ]),
3908
3908
  _: 1
3909
3909
  }),
@@ -3914,7 +3914,7 @@ const qo = {
3914
3914
  onClick: (T) => f(P.value)
3915
3915
  }, {
3916
3916
  default: k(() => [
3917
- H(K(w(n)("filter.clearButtonText")), 1)
3917
+ H(K(w(a)("filter.clearButtonText")), 1)
3918
3918
  ]),
3919
3919
  _: 2
3920
3920
  }, 1032, ["onClick"])
@@ -3932,7 +3932,7 @@ const qo = {
3932
3932
  onClick: S
3933
3933
  }, {
3934
3934
  default: k(() => [
3935
- H(K(w(n)("filter.clearAllButtonText")), 1)
3935
+ H(K(w(a)("filter.clearAllButtonText")), 1)
3936
3936
  ]),
3937
3937
  _: 1
3938
3938
  })
@@ -3967,10 +3967,10 @@ const qo = {
3967
3967
  }
3968
3968
  },
3969
3969
  setup(e) {
3970
- const a = e, t = O(void 0), n = x(() => t.value === !0 || t.value !== void 0 && a.forceShow === !0);
3971
- return ke(() => a.authFunction, async () => {
3972
- t.value = await a.authFunction();
3973
- }, { immediate: !0 }), (i, r) => n.value ? U(i.$slots, "default", {
3970
+ const n = e, t = O(void 0), a = x(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3971
+ return ke(() => n.authFunction, async () => {
3972
+ t.value = await n.authFunction();
3973
+ }, { immediate: !0 }), (i, r) => a.value ? U(i.$slots, "default", {
3974
3974
  key: 0,
3975
3975
  isAllowed: t.value
3976
3976
  }) : D("", !0);
@@ -4009,8 +4009,8 @@ const qo = {
4009
4009
  }
4010
4010
  },
4011
4011
  setup(e) {
4012
- const a = Je();
4013
- return (t, n) => (y(), I("fieldset", {
4012
+ const n = Je();
4013
+ return (t, a) => (y(), I("fieldset", {
4014
4014
  class: Ae(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4015
4015
  }, [
4016
4016
  L("div", Bl, [
@@ -4019,12 +4019,12 @@ const qo = {
4019
4019
  class: Ae(["form-section-info", { sticky: e.stickyInfoHeader }])
4020
4020
  }, [
4021
4021
  e.title ? (y(), I("h4", ql, K(e.title), 1)) : D("", !0),
4022
- e.description || w(a).description ? (y(), I("div", Ll, [
4022
+ e.description || w(n).description ? (y(), I("div", Ll, [
4023
4023
  U(t.$slots, "description", {}, () => [
4024
4024
  L("p", null, K(e.description), 1)
4025
4025
  ], !0)
4026
4026
  ])) : D("", !0),
4027
- w(a).footer ? (y(), I("div", Rl, [
4027
+ w(n).footer ? (y(), I("div", Rl, [
4028
4028
  U(t.$slots, "footer", {}, void 0, !0)
4029
4029
  ])) : D("", !0)
4030
4030
  ], 2)),
@@ -4034,7 +4034,7 @@ const qo = {
4034
4034
  ])
4035
4035
  ], 2));
4036
4036
  }
4037
- }), Dl = /* @__PURE__ */ fe(Vl, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Ha, useDeleteUrlBuilder: Ul, useErrors: Hl, useExternalLinkCreator: is, useFetchUrlBuilder: rs, useFetcher: zl, useDebouncedFilter: os, useStringHelpers: ls, useHelpers: ss, useGatewayFeatureSupported: cs, useTruncationDetector: us } = ie;
4037
+ }), Dl = /* @__PURE__ */ fe(Vl, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: zn, useDeleteUrlBuilder: Ul, useErrors: Hl, useExternalLinkCreator: is, useFetchUrlBuilder: rs, useFetcher: zl, useDebouncedFilter: os, useStringHelpers: ls, useHelpers: ss, useGatewayFeatureSupported: cs, useTruncationDetector: us } = ie;
4038
4038
  const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /* @__PURE__ */ te({
4039
4039
  __name: "KeySetList",
4040
4040
  props: {
@@ -4075,14 +4075,14 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4075
4075
  }
4076
4076
  },
4077
4077
  emits: ["error", "copy:success", "copy:error", "delete:success"],
4078
- setup(e, { emit: a }) {
4078
+ setup(e, { emit: n }) {
4079
4079
  var le;
4080
- const t = e, { i18n: { t: n } } = ut.useI18n(), i = st(), { axiosInstance: r } = Ha({
4080
+ const t = e, { i18n: { t: a } } = ut.useI18n(), i = st(), { axiosInstance: r } = zn({
4081
4081
  headers: (le = t.config) == null ? void 0 : le.requestHeaders
4082
4082
  }), o = O(1), l = x(() => t.config.app !== "kongManager" || !!t.config.disableSorting), s = {
4083
- name: { label: n("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4084
- tags: { label: n("keySets.list.table_headers.tags") },
4085
- id: { label: n("keySets.list.table_headers.id"), sortable: !0 }
4083
+ name: { label: a("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4084
+ tags: { label: a("keySets.list.table_headers.tags") },
4085
+ id: { label: a("keySets.list.table_headers.id"), sortable: !0 }
4086
4086
  }, c = s, d = x(() => {
4087
4087
  var V, X;
4088
4088
  let $ = `${t.config.apiBaseUrl}${Pe.list[t.config.app]}`;
@@ -4092,7 +4092,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4092
4092
  if ($)
4093
4093
  return {
4094
4094
  isExactMatch: $,
4095
- placeholder: n("keySets.search.placeholder")
4095
+ placeholder: a("keySets.search.placeholder")
4096
4096
  };
4097
4097
  const V = { name: s.name };
4098
4098
  return {
@@ -4114,52 +4114,52 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4114
4114
  }, _ = ($, V) => {
4115
4115
  const X = JSON.stringify($);
4116
4116
  if (!V(X)) {
4117
- a("copy:error", {
4117
+ n("copy:error", {
4118
4118
  entity: $,
4119
- message: n("keySets.errors.copy")
4119
+ message: a("keySets.errors.copy")
4120
4120
  });
4121
4121
  return;
4122
4122
  }
4123
- a("copy:success", {
4123
+ n("copy:success", {
4124
4124
  entity: $,
4125
- message: n("keySets.copy.success_brief")
4125
+ message: a("keySets.copy.success_brief")
4126
4126
  });
4127
4127
  }, v = ($, V, X) => {
4128
4128
  const { type: ye } = $;
4129
4129
  ye === "success" ? R(V, X) : z(V, X);
4130
4130
  }, R = ($, V) => {
4131
- a("copy:success", {
4131
+ n("copy:success", {
4132
4132
  entity: $,
4133
4133
  field: V,
4134
- message: n("keySets.copy.success", { val: $[V] })
4134
+ message: a("keySets.copy.success", { val: $[V] })
4135
4135
  });
4136
4136
  }, z = ($, V) => {
4137
- a("copy:error", {
4137
+ n("copy:error", {
4138
4138
  entity: $,
4139
4139
  field: V,
4140
- message: n("keySets.errors.copy")
4140
+ message: a("keySets.errors.copy")
4141
4141
  });
4142
4142
  }, P = async ($) => {
4143
4143
  var X;
4144
4144
  await ((X = t.canRetrieve) == null ? void 0 : X.call(t, $)) && i.push(t.config.getViewRoute($.id));
4145
4145
  }, C = ($) => ({
4146
- label: n("keySets.actions.view"),
4146
+ label: a("keySets.actions.view"),
4147
4147
  to: t.config.getViewRoute($)
4148
4148
  }), M = ($) => ({
4149
- label: n("keySets.actions.edit"),
4149
+ label: a("keySets.actions.edit"),
4150
4150
  to: t.config.getEditRoute($)
4151
4151
  }), F = O(void 0), T = O(!1), N = O(!1), q = O(""), J = Ul(t.config, d.value), Z = ($) => {
4152
4152
  F.value = $, T.value = !0;
4153
- }, ne = () => {
4153
+ }, ae = () => {
4154
4154
  T.value = !1;
4155
4155
  }, Q = async () => {
4156
4156
  var $, V, X;
4157
4157
  if (($ = F.value) != null && $.id) {
4158
4158
  N.value = !0;
4159
4159
  try {
4160
- await r.delete(J(F.value.id)), N.value = !1, T.value = !1, o.value++, a("delete:success", F.value);
4160
+ await r.delete(J(F.value.id)), N.value = !1, T.value = !1, o.value++, n("delete:success", F.value);
4161
4161
  } catch (ye) {
4162
- q.value = ((X = (V = ye.response) == null ? void 0 : V.data) == null ? void 0 : X.message) || ye.message || n("keySets.errors.delete"), a("error", ye);
4162
+ q.value = ((X = (V = ye.response) == null ? void 0 : V.data) == null ? void 0 : X.message) || ye.message || a("keySets.errors.delete"), n("error", ye);
4163
4163
  } finally {
4164
4164
  N.value = !1;
4165
4165
  }
@@ -4169,8 +4169,8 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4169
4169
  var V, X, ye;
4170
4170
  if ($.status === Ce.Error) {
4171
4171
  h.value = {
4172
- title: n("keySets.errors.general")
4173
- }, (ye = (X = (V = $.error) == null ? void 0 : V.response) == null ? void 0 : X.data) != null && ye.message && (h.value.message = $.error.response.data.message), a("error", $.error);
4172
+ title: a("keySets.errors.general")
4173
+ }, (ye = (X = (V = $.error) == null ? void 0 : V.response) == null ? void 0 : X.data) != null && ye.message && (h.value.message = $.error.response.data.message), n("error", $.error);
4174
4174
  return;
4175
4175
  }
4176
4176
  h.value = null;
@@ -4178,13 +4178,13 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4178
4178
  const Y = O({
4179
4179
  ctaPath: t.config.createRoute,
4180
4180
  ctaText: void 0,
4181
- message: n("keySets.list.empty_state.description"),
4182
- title: n("keySets.title")
4181
+ message: a("keySets.list.empty_state.description"),
4182
+ title: a("keySets.title")
4183
4183
  });
4184
4184
  return lt(async () => {
4185
- await t.canCreate() && (Y.value.title = n("keySets.list.empty_state.title"), Y.value.ctaText = n("keySets.actions.create"));
4185
+ await t.canCreate() && (Y.value.title = a("keySets.list.empty_state.title"), Y.value.ctaText = a("keySets.actions.create"));
4186
4186
  }), ($, V) => {
4187
- const X = E("KButton"), ye = E("KBadge"), Ja = E("KTruncate"), Ya = E("CopyUuid"), Oe = E("KDropdownItem"), kt = E("KClipboardProvider");
4187
+ const X = E("KButton"), ye = E("KBadge"), Yn = E("KTruncate"), Wn = E("CopyUuid"), Oe = E("KDropdownItem"), kt = E("KClipboardProvider");
4188
4188
  return y(), I("div", Jl, [
4189
4189
  j(w(vl), {
4190
4190
  "cache-identifier": e.cacheIdentifier,
@@ -4222,7 +4222,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4222
4222
  to: e.config.createRoute
4223
4223
  }, {
4224
4224
  default: k(() => [
4225
- H(K(w(n)("keySets.list.toolbar_actions.new_key_set")), 1)
4225
+ H(K(w(a)("keySets.list.toolbar_actions.new_key_set")), 1)
4226
4226
  ]),
4227
4227
  _: 1
4228
4228
  }, 8, ["to"])
@@ -4234,7 +4234,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4234
4234
  L("b", null, K(G ?? "-"), 1)
4235
4235
  ]),
4236
4236
  tags: k(({ rowValue: G }) => [
4237
- (G == null ? void 0 : G.length) > 0 ? (y(), B(Ja, { key: 0 }, {
4237
+ (G == null ? void 0 : G.length) > 0 ? (y(), B(Yn, { key: 0 }, {
4238
4238
  default: k(() => [
4239
4239
  (y(!0), I(pe, null, ue(G, (me) => (y(), B(ye, {
4240
4240
  key: me,
@@ -4251,7 +4251,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4251
4251
  }, 1024)) : (y(), I("span", Yl, "-"))
4252
4252
  ]),
4253
4253
  id: k(({ row: G, rowValue: me }) => [
4254
- j(Ya, {
4254
+ j(Wn, {
4255
4255
  notify: (We) => v(We, G, "id"),
4256
4256
  truncated: !1,
4257
4257
  uuid: me
@@ -4265,7 +4265,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4265
4265
  onClick: (We) => m(G, me)
4266
4266
  }, {
4267
4267
  default: k(() => [
4268
- H(K(w(n)("keySets.actions.copy_id")), 1)
4268
+ H(K(w(a)("keySets.actions.copy_id")), 1)
4269
4269
  ]),
4270
4270
  _: 2
4271
4271
  }, 1032, ["onClick"])
@@ -4279,7 +4279,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4279
4279
  onClick: (We) => _(G, me)
4280
4280
  }, {
4281
4281
  default: k(() => [
4282
- H(K(w(n)("keySets.actions.copy_json")), 1)
4282
+ H(K(w(a)("keySets.actions.copy_json")), 1)
4283
4283
  ]),
4284
4284
  _: 2
4285
4285
  }, 1032, ["onClick"])
@@ -4320,7 +4320,7 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4320
4320
  onClick: (me) => Z(G)
4321
4321
  }, {
4322
4322
  default: k(() => [
4323
- H(K(w(n)("keySets.actions.delete")), 1)
4323
+ H(K(w(a)("keySets.actions.delete")), 1)
4324
4324
  ]),
4325
4325
  _: 2
4326
4326
  }, 1032, ["onClick"])
@@ -4332,25 +4332,25 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4332
4332
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers"]),
4333
4333
  j(w(wl), {
4334
4334
  "action-pending": N.value,
4335
- description: w(n)("keySets.delete.description"),
4335
+ description: w(a)("keySets.delete.description"),
4336
4336
  "entity-name": F.value && (F.value.name || F.value.id),
4337
4337
  "entity-type": w(Gt).KeySet,
4338
4338
  error: q.value,
4339
- title: w(n)("keySets.delete.title"),
4339
+ title: w(a)("keySets.delete.title"),
4340
4340
  visible: T.value,
4341
- onCancel: ne,
4341
+ onCancel: ae,
4342
4342
  onProceed: Q
4343
4343
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
4344
4344
  ]);
4345
4345
  };
4346
4346
  }
4347
4347
  });
4348
- const za = (e, a) => {
4348
+ const Jn = (e, n) => {
4349
4349
  const t = e.__vccOpts || e;
4350
- for (const [n, i] of a)
4351
- t[n] = i;
4350
+ for (const [a, i] of n)
4351
+ t[a] = i;
4352
4352
  return t;
4353
- }, ds = /* @__PURE__ */ za(Wl, [["__scopeId", "data-v-aeec2847"]]), Zl = { class: "kong-ui-entities-key-sets-form" }, Gl = /* @__PURE__ */ te({
4353
+ }, ds = /* @__PURE__ */ Jn(Wl, [["__scopeId", "data-v-aeec2847"]]), Zl = { class: "kong-ui-entities-key-sets-form" }, Gl = /* @__PURE__ */ te({
4354
4354
  __name: "KeySetForm",
4355
4355
  props: {
4356
4356
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4367,9 +4367,9 @@ const za = (e, a) => {
4367
4367
  }
4368
4368
  },
4369
4369
  emits: ["update", "error", "loading"],
4370
- setup(e, { emit: a }) {
4370
+ setup(e, { emit: n }) {
4371
4371
  var p;
4372
- const t = e, n = st(), { i18n: { t: i } } = ut.useI18n(), { getMessageFromError: r } = Hl(), { axiosInstance: o } = Ha({
4372
+ const t = e, a = st(), { i18n: { t: i } } = ut.useI18n(), { getMessageFromError: r } = Hl(), { axiosInstance: o } = zn({
4373
4373
  headers: (p = t.config) == null ? void 0 : p.requestHeaders
4374
4374
  }), l = x(() => Pe.form[t.config.app].edit), s = x(() => t.keySetId ? tt.Edit : tt.Create), c = Ct({
4375
4375
  fields: {
@@ -4385,7 +4385,7 @@ const za = (e, a) => {
4385
4385
  var m;
4386
4386
  c.fields.name = (h == null ? void 0 : h.name) || "", c.fields.tags = ((m = h == null ? void 0 : h.tags) == null ? void 0 : m.join(", ")) || "", Object.assign(d, c.fields);
4387
4387
  }, f = () => {
4388
- n.push(t.config.cancelRoute);
4388
+ a.push(t.config.cancelRoute);
4389
4389
  }, S = x(() => {
4390
4390
  var m, _;
4391
4391
  let h = `${t.config.apiBaseUrl}${Pe.form[t.config.app][s.value]}`;
@@ -4401,10 +4401,10 @@ const za = (e, a) => {
4401
4401
  let P;
4402
4402
  if (s.value === "create" ? P = await o.post(S.value, z) : s.value === "edit" && (P = ((v = t.config) == null ? void 0 : v.app) === "konnect" ? await o.put(S.value, z) : await o.patch(S.value, z)), P) {
4403
4403
  const { data: C } = P;
4404
- c.fields.name = (C == null ? void 0 : C.name) || "", c.fields.tags = ((R = C == null ? void 0 : C.tags) == null ? void 0 : R.join(", ")) || "", Object.assign(d, c.fields), a("update", P == null ? void 0 : P.data);
4404
+ c.fields.name = (C == null ? void 0 : C.name) || "", c.fields.tags = ((R = C == null ? void 0 : C.tags) == null ? void 0 : R.join(", ")) || "", Object.assign(d, c.fields), n("update", P == null ? void 0 : P.data);
4405
4405
  }
4406
4406
  } catch (z) {
4407
- c.errorMessage = r(z), a("error", z);
4407
+ c.errorMessage = r(z), n("error", z);
4408
4408
  } finally {
4409
4409
  c.isReadonly = !1;
4410
4410
  }
@@ -4466,7 +4466,7 @@ const za = (e, a) => {
4466
4466
  };
4467
4467
  }
4468
4468
  });
4469
- const ps = /* @__PURE__ */ za(Gl, [["__scopeId", "data-v-29df09d7"]]), Ql = { class: "kong-ui-entities-keys-entity-config-card" }, fs = /* @__PURE__ */ te({
4469
+ const ps = /* @__PURE__ */ Jn(Gl, [["__scopeId", "data-v-29df09d7"]]), Ql = { class: "kong-ui-entities-keys-entity-config-card" }, fs = /* @__PURE__ */ te({
4470
4470
  __name: "KeySetConfigCard",
4471
4471
  props: {
4472
4472
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4493,7 +4493,7 @@ const ps = /* @__PURE__ */ za(Gl, [["__scopeId", "data-v-29df09d7"]]), Ql = { cl
4493
4493
  },
4494
4494
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4495
4495
  setup(e) {
4496
- const a = e, { i18n: { t } } = ut.useI18n(), n = x(() => Pe.form[a.config.app].edit), i = O({
4496
+ const n = e, { i18n: { t } } = ut.useI18n(), a = x(() => Pe.form[n.config.app].edit), i = O({
4497
4497
  id: {},
4498
4498
  name: {},
4499
4499
  last_updated: {},
@@ -4507,7 +4507,7 @@ const ps = /* @__PURE__ */ za(Gl, [["__scopeId", "data-v-29df09d7"]]), Ql = { cl
4507
4507
  config: e.config,
4508
4508
  "config-card-doc": e.configCardDoc,
4509
4509
  "config-schema": i.value,
4510
- "fetch-url": n.value,
4510
+ "fetch-url": a.value,
4511
4511
  "hide-title": e.hideTitle,
4512
4512
  "onCopy:success": o[0] || (o[0] = (l) => r.$emit("copy:success", l)),
4513
4513
  "onFetch:error": o[1] || (o[1] = (l) => r.$emit("fetch:error", l)),