@kong-ui-public/entities-shared 3.8.5 → 3.8.7

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,24 +1,24 @@
1
- import { inject as Tn, ref as K, computed as I, unref as w, toValue as En, watch as ke, defineComponent as Q, openBlock as g, createBlock as j, resolveDynamicComponent as Ke, normalizeClass as de, withCtx as A, createElementBlock as O, createElementVNode as D, toDisplayString as N, createCommentVNode as P, Fragment as ce, renderList as oe, resolveComponent as M, createVNode as B, createTextVNode as Y, useCssVars as Et, useSlots as ze, renderSlot as V, createSlots as Ae, normalizeProps as Fn, guardReactiveProps as On, mergeProps as Ln, onBeforeMount as Ft, withModifiers as He, onMounted as Rn, onUnmounted as Bn, withDirectives as me, vShow as he, withKeys as Kn, Teleport as Nn } from "vue";
2
- import ot from "axios";
3
- import { createI18n as Mn, i18nTComponent as Dn } from "@kong-ui-public/i18n";
4
- import { BadgeMethodAppearances as jn } from "@kong/kongponents";
5
- import { BookIcon as Un, MoreIcon as Pn, AddIcon as qn, CloseIcon as Hn, ChevronDownIcon as Yn, CopyIcon as Vn } from "@kong/icons";
6
- import { useRouter as Wn } from "vue-router";
7
- var Jn = /* @__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.Secret = "secret", e))(Jn || {}), Gn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Gn || {}), ve = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(ve || {}), Qe = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Other = "other", e))(Qe || {});
8
- const Ne = Object.values(Qe);
1
+ import { inject as En, ref as K, computed as I, unref as w, toValue as Fn, watch as ke, defineComponent as Q, openBlock as g, createBlock as j, resolveDynamicComponent as Ke, normalizeClass as de, withCtx as A, createElementBlock as O, createElementVNode as D, toDisplayString as N, createCommentVNode as P, Fragment as ce, renderList as oe, resolveComponent as M, createVNode as B, createTextVNode as Y, useCssVars as Ft, useSlots as Qe, renderSlot as V, createSlots as Ae, normalizeProps as On, guardReactiveProps as Ln, mergeProps as Rn, onBeforeMount as Ot, withModifiers as Ye, onMounted as Bn, onUnmounted as Kn, withDirectives as me, vShow as he, withKeys as Nn, Teleport as Mn } from "vue";
2
+ import lt from "axios";
3
+ import { createI18n as Dn, i18nTComponent as jn } from "@kong-ui-public/i18n";
4
+ import { BadgeMethodAppearances as Un } from "@kong/kongponents";
5
+ import { BookIcon as Pn, MoreIcon as qn, AddIcon as Hn, CloseIcon as Yn, ChevronDownIcon as Vn, CopyIcon as Wn } from "@kong/icons";
6
+ import { useRouter as Jn } from "vue-router";
7
+ var Gn = /* @__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.Secret = "secret", e))(Gn || {}), zn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(zn || {}), ve = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(ve || {}), Ze = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Other = "other", e))(Ze || {});
8
+ const Ne = Object.values(Ze);
9
9
  var q = /* @__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.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(q || {}), ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ie || {});
10
- function zn() {
10
+ function Qn() {
11
11
  return {
12
12
  getAxiosInstance: (e = {}) => {
13
13
  try {
14
- const t = Tn("get-axios-instance", void 0);
15
- return typeof t == "function" ? t(e) : ot.create({
14
+ const t = En("get-axios-instance", void 0);
15
+ return typeof t == "function" ? t(e) : lt.create({
16
16
  withCredentials: !0,
17
17
  timeout: 3e4,
18
18
  ...e
19
19
  });
20
20
  } catch (t) {
21
- return console.warn("getAxiosInstance:", t.message || t), ot.create({
21
+ return console.warn("getAxiosInstance:", t.message || t), lt.create({
22
22
  withCredentials: !0,
23
23
  timeout: 3e4,
24
24
  ...e
@@ -31,7 +31,7 @@ function zn() {
31
31
  }
32
32
  };
33
33
  }
34
- function Qn() {
34
+ function Zn() {
35
35
  return {
36
36
  debounce: (e, t) => {
37
37
  let n;
@@ -43,14 +43,14 @@ function Qn() {
43
43
  }
44
44
  };
45
45
  }
46
- const je = "khcp-user-table-preferences", Zn = {
46
+ const je = "khcp-user-table-preferences", Xn = {
47
47
  pageSize: 30,
48
48
  sortColumnKey: void 0,
49
49
  sortColumnOrder: void 0,
50
50
  columnWidths: {},
51
51
  columnVisibility: {}
52
52
  };
53
- function Xn() {
53
+ function er() {
54
54
  const e = (n) => {
55
55
  if (typeof n == "string")
56
56
  try {
@@ -74,30 +74,30 @@ function Xn() {
74
74
  },
75
75
  getTablePreferences: (n) => {
76
76
  const r = t();
77
- return (r == null ? void 0 : r.get(n)) || void 0 || Zn;
77
+ return (r == null ? void 0 : r.get(n)) || void 0 || Xn;
78
78
  },
79
79
  deleteAllTablePreferences: () => {
80
80
  localStorage.removeItem(je);
81
81
  }
82
82
  };
83
83
  }
84
- function Ze(e = {}) {
85
- const { getAxiosInstance: t } = zn();
84
+ function Xe(e = {}) {
85
+ const { getAxiosInstance: t } = Qn();
86
86
  return {
87
87
  axiosInstance: t(e)
88
88
  };
89
89
  }
90
- const er = {
90
+ const tr = {
91
91
  actions: {
92
92
  copyId: "Copy ID",
93
93
  copied_id: 'Copied "{id}" to the clipboard',
94
94
  copyToClipboard: "Copied successfully!",
95
95
  copyToClipboardFailed: "Failed to copy to the clipboard"
96
96
  }
97
- }, tr = {
97
+ }, nr = {
98
98
  message: "Are you sure you want to delete this {entityType}?",
99
99
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
100
- }, nr = {
100
+ }, rr = {
101
101
  actions: {
102
102
  viewConfiguration: "View Configuration",
103
103
  save: "Save",
@@ -114,13 +114,13 @@ const er = {
114
114
  errors: {
115
115
  edit: "The entity could not be edited at this time."
116
116
  }
117
- }, rr = {
117
+ }, ir = {
118
118
  emptyState: {
119
119
  noSearchResultsTitle: "No results found",
120
120
  noSearchResultsMessage: "Please adjust the criteria and try again.",
121
121
  noSearchResultsCtaText: "Clear"
122
122
  }
123
- }, ir = {
123
+ }, ar = {
124
124
  title: "Configuration",
125
125
  actions: {
126
126
  copy: "Copy JSON"
@@ -155,7 +155,7 @@ const er = {
155
155
  entryTitle: "Entry {index}",
156
156
  structuredFormat: "Structured"
157
157
  }
158
- }, ar = {
158
+ }, or = {
159
159
  filterButtonText: "Filter",
160
160
  fieldLabel: "Filter by:",
161
161
  inputPlaceholder: "Enter a value",
@@ -163,17 +163,17 @@ const er = {
163
163
  applyButtonText: "Apply",
164
164
  clearButtonText: "Clear",
165
165
  clearAllButtonText: "Clear all filters"
166
- }, or = {
166
+ }, lr = {
167
167
  errors: {
168
168
  fetch: "Could not fetch available items",
169
169
  invalid: "Please select a valid value"
170
170
  }
171
- }, lr = {
171
+ }, cr = {
172
172
  unexpected: "An unexpected error has occurred",
173
173
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
174
- }, cr = {
175
- utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
176
174
  }, sr = {
175
+ utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
176
+ }, ur = {
177
177
  enable: {
178
178
  title: "Enable {entityType}",
179
179
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -184,27 +184,27 @@ const er = {
184
184
  message: "Are you sure you want to disable the {entityType} {entityName}?",
185
185
  confirmText: "Yes, disable"
186
186
  }
187
- }, ur = {
188
- global: er,
189
- deleteModal: tr,
190
- baseForm: nr,
191
- baseTable: rr,
192
- baseConfigCard: ir,
193
- filter: ar,
194
- debouncedFilter: or,
195
- errors: lr,
196
- validationErrors: cr,
197
- toggleModal: sr
187
+ }, dr = {
188
+ global: tr,
189
+ deleteModal: nr,
190
+ baseForm: rr,
191
+ baseTable: ir,
192
+ baseConfigCard: ar,
193
+ filter: or,
194
+ debouncedFilter: lr,
195
+ errors: cr,
196
+ validationErrors: sr,
197
+ toggleModal: ur
198
198
  };
199
199
  function Me() {
200
- const e = Mn("en-us", ur);
200
+ const e = Dn("en-us", dr);
201
201
  return {
202
202
  i18n: e,
203
- i18nT: Dn(e)
203
+ i18nT: jn(e)
204
204
  // Translation component <i18n-t>
205
205
  };
206
206
  }
207
- function Ot() {
207
+ function Lt() {
208
208
  const e = (o, a) => (a == null ? void 0 : a[o]) ?? void 0, t = (o, a) => {
209
209
  if (o.length !== a.length) return !1;
210
210
  const l = /* @__PURE__ */ new Set([...o, ...a]);
@@ -246,17 +246,17 @@ function Ot() {
246
246
  isValidUuid: (o) => o ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o) : !1
247
247
  };
248
248
  }
249
- function dr(e, t, n, r = {
249
+ function fr(e, t, n, r = {
250
250
  fetchedItemsKey: "data",
251
251
  searchKeys: ["id"]
252
252
  }) {
253
253
  n || (n = "1000");
254
- const { axiosInstance: i } = Ze(e.axiosRequestConfig), { i18n: { t: o } } = Me(), { debounce: a } = Qn(), l = a(async (F) => {
254
+ const { axiosInstance: i } = Xe(e.axiosRequestConfig), { i18n: { t: o } } = Me(), { debounce: a } = Zn(), l = a(async (F) => {
255
255
  await b(F);
256
256
  }, 200), c = K(!1), u = K(""), d = K(""), s = K([]), m = K([]), f = K(void 0), y = I(() => {
257
257
  const F = `${e.apiBaseUrl}${w(t)}`;
258
258
  return e.app === "konnect" ? F.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? F.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : F;
259
- }), { isValidUuid: h } = Ot(), C = async () => {
259
+ }), { isValidUuid: h } = Lt(), C = async () => {
260
260
  try {
261
261
  c.value = !0;
262
262
  const { data: F } = await i.get(`${y.value}?size=${n}`);
@@ -276,8 +276,8 @@ function dr(e, t, n, r = {
276
276
  if (f.value === void 0)
277
277
  try {
278
278
  if (c.value = !0, u.value = "", d.value = "", e.app === "konnect") {
279
- const v = `${y.value}/${F}`, { data: T } = await i.get(`${v}?size=${n}`);
280
- r.fetchedItemsKey in T ? s.value = T[r.fetchedItemsKey] : T != null && T[r.exactMatchKey ?? "id"] ? s.value = [T] : s.value = [];
279
+ const v = `${y.value}/${F}`, { data: $ } = await i.get(`${v}?size=${n}`);
280
+ r.fetchedItemsKey in $ ? s.value = $[r.fetchedItemsKey] : $ != null && $[r.exactMatchKey ?? "id"] ? s.value = [$] : s.value = [];
281
281
  } else {
282
282
  const v = [];
283
283
  h(F) && r.searchKeys.includes("id") ? v.push((async () => {
@@ -289,11 +289,11 @@ function dr(e, t, n, r = {
289
289
  return R[r.fetchedItemsKey];
290
290
  })
291
291
  );
292
- const T = await Promise.all(v), $ = /* @__PURE__ */ new Set();
293
- s.value = [], (k = T == null ? void 0 : T.forEach) == null || k.call(T, (L) => {
292
+ const $ = await Promise.all(v), T = /* @__PURE__ */ new Set();
293
+ s.value = [], (k = $ == null ? void 0 : $.forEach) == null || k.call($, (L) => {
294
294
  var R;
295
295
  (R = L == null ? void 0 : L.forEach) == null || R.call(L, (S) => {
296
- $.has(S.id) || ($.add(S.id), s.value.push(S));
296
+ T.has(S.id) || (T.add(S.id), s.value.push(S));
297
297
  });
298
298
  });
299
299
  }
@@ -304,13 +304,13 @@ function dr(e, t, n, r = {
304
304
  }
305
305
  else
306
306
  c.value = !0, d.value = "", s.value = (p = f.value) == null ? void 0 : p.filter((v) => {
307
- var $;
308
- let T = !1;
307
+ var T;
308
+ let $ = !1;
309
309
  for (const L of r.searchKeys) {
310
- const R = typeof v[L] == "string" ? ($ = v[L]) == null ? void 0 : $.toLowerCase() : v[L];
311
- R != null && R.includes(F.toLowerCase()) && (T = !0);
310
+ const R = typeof v[L] == "string" ? (T = v[L]) == null ? void 0 : T.toLowerCase() : v[L];
311
+ R != null && R.includes(F.toLowerCase()) && ($ = !0);
312
312
  }
313
- return T;
313
+ return $;
314
314
  }), (!s.value || !s.value.length) && (d.value = o("debouncedFilter.errors.invalid")), c.value = !1;
315
315
  }
316
316
  };
@@ -324,13 +324,13 @@ function dr(e, t, n, r = {
324
324
  debouncedQueryChange: l
325
325
  };
326
326
  }
327
- function fr(e, t) {
327
+ function pr(e, t) {
328
328
  const n = w(t), r = I(
329
329
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
330
330
  );
331
331
  return r.value.search = "", (i) => `${r.value.href}/${i}`;
332
332
  }
333
- function pr() {
333
+ function mr() {
334
334
  const { i18n: { t: e } } = Me();
335
335
  return {
336
336
  getMessageFromError: (n) => {
@@ -360,7 +360,7 @@ function pr() {
360
360
  }
361
361
  };
362
362
  }
363
- function mr(e) {
363
+ function hr(e) {
364
364
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
365
365
  try {
366
366
  const r = e.join("/"), i = `${n}${r}`, o = e.some((l) => l.trim() === "");
@@ -371,7 +371,7 @@ function mr(e) {
371
371
  return console.warn("Failed to build valid URL:", r), "";
372
372
  }
373
373
  }
374
- function Lt(e, t) {
374
+ function Rt(e, t) {
375
375
  const n = K(w(e)), r = K(w(t)), i = I(
376
376
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
377
377
  ), o = I(
@@ -389,13 +389,13 @@ function Lt(e, t) {
389
389
  }
390
390
  };
391
391
  }
392
- function hr(e, t, n) {
393
- const r = w(t), { axiosInstance: i } = Ze(e.axiosRequestConfig), o = Lt(e, r), a = K({
392
+ function gr(e, t, n) {
393
+ const r = w(t), { axiosInstance: i } = Xe(e.axiosRequestConfig), o = Rt(e, r), a = K({
394
394
  status: ve.Idle
395
395
  });
396
396
  return { fetcher: async (c) => {
397
397
  var d;
398
- const u = En(n) || "data";
398
+ const u = Fn(n) || "data";
399
399
  try {
400
400
  a.value = { status: ve.Loading };
401
401
  let s = o(c);
@@ -436,69 +436,69 @@ function hr(e, t, n) {
436
436
  }
437
437
  }, fetcherState: a };
438
438
  }
439
- function gr() {
439
+ function yr() {
440
440
  const e = (r, i = "_") => r ? r.split(i).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
441
441
  return {
442
442
  capitalize: (r) => r ? r.replace(t, (i) => i.toUpperCase()) : "",
443
443
  convertKeyToTitle: e
444
444
  };
445
445
  }
446
- const Rt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, lt = (e) => {
446
+ const Bt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, ct = (e) => {
447
447
  if (typeof e != "string")
448
448
  throw new TypeError("Invalid argument expected string");
449
- const t = e.match(Rt);
449
+ const t = e.match(Bt);
450
450
  if (!t)
451
451
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
452
452
  return t.shift(), t;
453
- }, ct = (e) => e === "*" || e === "x" || e === "X", st = (e) => {
453
+ }, st = (e) => e === "*" || e === "x" || e === "X", ut = (e) => {
454
454
  const t = parseInt(e, 10);
455
455
  return isNaN(t) ? e : t;
456
- }, yr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], vr = (e, t) => {
457
- if (ct(e) || ct(t))
456
+ }, vr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], br = (e, t) => {
457
+ if (st(e) || st(t))
458
458
  return 0;
459
- const [n, r] = yr(st(e), st(t));
459
+ const [n, r] = vr(ut(e), ut(t));
460
460
  return n > r ? 1 : n < r ? -1 : 0;
461
- }, ut = (e, t) => {
461
+ }, dt = (e, t) => {
462
462
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
463
- const r = vr(e[n] || "0", t[n] || "0");
463
+ const r = br(e[n] || "0", t[n] || "0");
464
464
  if (r !== 0)
465
465
  return r;
466
466
  }
467
467
  return 0;
468
- }, br = (e, t) => {
469
- const n = lt(e), r = lt(t), i = n.pop(), o = r.pop(), a = ut(n, r);
470
- return a !== 0 ? a : i && o ? ut(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
471
- }, dt = (e, t, n) => {
472
- xr(n);
473
- const r = br(e, t);
474
- return Bt[n].includes(r);
475
- }, Bt = {
468
+ }, xr = (e, t) => {
469
+ const n = ct(e), r = ct(t), i = n.pop(), o = r.pop(), a = dt(n, r);
470
+ return a !== 0 ? a : i && o ? dt(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
471
+ }, ft = (e, t, n) => {
472
+ Cr(n);
473
+ const r = xr(e, t);
474
+ return Kt[n].includes(r);
475
+ }, Kt = {
476
476
  ">": [1],
477
477
  ">=": [0, 1],
478
478
  "=": [0],
479
479
  "<=": [-1, 0],
480
480
  "<": [-1],
481
481
  "!=": [-1, 1]
482
- }, ft = Object.keys(Bt), xr = (e) => {
482
+ }, pt = Object.keys(Kt), Cr = (e) => {
483
483
  if (typeof e != "string")
484
484
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
485
- if (ft.indexOf(e) === -1)
486
- throw new Error(`Invalid operator, expected one of ${ft.join("|")}`);
487
- }, Cr = (e) => typeof e == "string" && /^[v\d]/.test(e) && Rt.test(e);
488
- function Ar(e) {
485
+ if (pt.indexOf(e) === -1)
486
+ throw new Error(`Invalid operator, expected one of ${pt.join("|")}`);
487
+ }, Ar = (e) => typeof e == "string" && /^[v\d]/.test(e) && Bt.test(e);
488
+ function _r(e) {
489
489
  const { gatewayInfo: t, supportedRange: n } = e;
490
490
  if (!t)
491
491
  return !0;
492
492
  const { edition: r, version: i } = t;
493
- if (!Cr(i))
493
+ if (!Ar(i))
494
494
  return console.error("Invalid version"), !1;
495
495
  const o = n[r];
496
496
  if (!o)
497
497
  return !1;
498
498
  const [a, l] = o;
499
- return !(a && dt(i, a, "<") || l && dt(i, l, ">"));
499
+ return !(a && ft(i, a, "<") || l && ft(i, l, ">"));
500
500
  }
501
- function _r(e) {
501
+ function kr(e) {
502
502
  const t = K(0), n = K(0), r = K(!1);
503
503
  return ke(e, (o) => {
504
504
  o && !r.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, r.value = !0);
@@ -506,30 +506,30 @@ function _r(e) {
506
506
  isTruncated: I(() => t.value < n.value)
507
507
  };
508
508
  }
509
- function kr() {
509
+ function wr() {
510
510
  const { i18n: { t: e } } = Me();
511
511
  return {
512
512
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
513
513
  };
514
514
  }
515
515
  const W = {
516
- useAxios: Ze,
517
- useDebouncedFilter: dr,
518
- useDeleteUrlBuilder: fr,
519
- useErrors: pr,
520
- useExternalLinkCreator: mr,
521
- useFetcher: hr,
522
- useFetchUrlBuilder: Lt,
523
- useHelpers: Ot,
524
- useStringHelpers: gr,
516
+ useAxios: Xe,
517
+ useDebouncedFilter: fr,
518
+ useDeleteUrlBuilder: pr,
519
+ useErrors: mr,
520
+ useExternalLinkCreator: hr,
521
+ useFetcher: gr,
522
+ useFetchUrlBuilder: Rt,
523
+ useHelpers: Lt,
524
+ useStringHelpers: yr,
525
525
  useI18n: Me,
526
- useGatewayFeatureSupported: Ar,
527
- useTruncationDetector: _r,
528
- useValidators: kr
529
- }, wr = {
526
+ useGatewayFeatureSupported: _r,
527
+ useTruncationDetector: kr,
528
+ useValidators: wr
529
+ }, Sr = {
530
530
  key: 0,
531
531
  class: "config-card-fieldset-title"
532
- }, Sr = /* @__PURE__ */ Q({
532
+ }, Ir = /* @__PURE__ */ Q({
533
533
  __name: "JsonCardItem",
534
534
  props: {
535
535
  item: {
@@ -557,10 +557,10 @@ const W = {
557
557
  class: de(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
558
558
  }, {
559
559
  default: A(() => [
560
- e.isArrayItem ? (g(), O("legend", wr, [
560
+ e.isArrayItem ? (g(), O("legend", Sr, [
561
561
  D("b", null, N(l.value), 1)
562
562
  ])) : P("", !0),
563
- (g(!0), O(ce, null, oe(Object.keys(a.value), (d, s) => (g(), j(Nt, {
563
+ (g(!0), O(ce, null, oe(Object.keys(a.value), (d, s) => (g(), j(Mt, {
564
564
  key: `${i.value}-property-${s}`,
565
565
  item: {
566
566
  key: d,
@@ -577,7 +577,7 @@ const W = {
577
577
  for (const [r, i] of t)
578
578
  n[r] = i;
579
579
  return n;
580
- }, Kt = /* @__PURE__ */ ae(Sr, [["__scopeId", "data-v-68ca83ec"]]), Ir = /* @__PURE__ */ Q({
580
+ }, Nt = /* @__PURE__ */ ae(Ir, [["__scopeId", "data-v-68ca83ec"]]), Tr = /* @__PURE__ */ Q({
581
581
  __name: "InternalLinkItem",
582
582
  props: {
583
583
  item: {
@@ -604,7 +604,7 @@ const W = {
604
604
  ]);
605
605
  };
606
606
  }
607
- }), $r = /* @__PURE__ */ ae(Ir, [["__scopeId", "data-v-c96811e5"]]), Tr = /* @__PURE__ */ Q({
607
+ }), $r = /* @__PURE__ */ ae(Tr, [["__scopeId", "data-v-c96811e5"]]), Er = /* @__PURE__ */ Q({
608
608
  __name: "StatusBadge",
609
609
  props: {
610
610
  status: {
@@ -626,11 +626,11 @@ const W = {
626
626
  }, 8, ["appearance"]);
627
627
  };
628
628
  }
629
- }), Er = "#0044f4", Fr = "#e0e4ea", Or = "#afb7c5", Lr = "#0044f4", Rr = "1px", Br = "16px", Kr = "20px", Nr = { class: "config-card-details-row" }, Mr = ["data-testid"], Dr = ["data-testid"], jr = ["data-testid"], Ur = ["data-testid"], Pr = { key: 1 }, qr = ["data-testid"], Hr = ["data-testid"], Yr = ["data-testid"], Vr = ["data-testid"], Wr = {
629
+ }), Fr = "#0044f4", Or = "#e0e4ea", Lr = "#afb7c5", Rr = "#0044f4", Br = "1px", Kr = "16px", Nr = "20px", Mr = { class: "config-card-details-row" }, Dr = ["data-testid"], jr = ["data-testid"], Ur = ["data-testid"], Pr = ["data-testid"], qr = { key: 1 }, Hr = ["data-testid"], Yr = ["data-testid"], Vr = ["data-testid"], Wr = ["data-testid"], Jr = {
630
630
  name: "ConfigCardItem",
631
- components: { JsonCardItem: Kt, StatusBadge: Tr, InternalLinkItem: $r }
632
- }, Jr = /* @__PURE__ */ Q({
633
- ...Wr,
631
+ components: { JsonCardItem: Nt, StatusBadge: Er, InternalLinkItem: $r }
632
+ }, Gr = /* @__PURE__ */ Q({
633
+ ...Jr,
634
634
  props: {
635
635
  item: {
636
636
  type: Object,
@@ -649,13 +649,13 @@ const W = {
649
649
  },
650
650
  emits: ["navigation-click"],
651
651
  setup(e, { emit: t }) {
652
- Et((y) => ({
653
- "2f5b0492": d.value ? "none" : `solid ${w(Rr)} ${w(Fr)}`,
652
+ Ft((y) => ({
653
+ "2f5b0492": d.value ? "none" : `solid ${w(Br)} ${w(Or)}`,
654
654
  "5d59c22c": u.value && l.value ? "block" : "flex",
655
655
  aa41a894: u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
656
656
  aa3d1cde: u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
657
657
  }));
658
- const n = e, r = t, i = ze(), { i18n: { t: o, formatUnixTimeStamp: a } } = W.useI18n(), l = I(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = I(() => !!(n.item.tooltip || i["label-tooltip"])), u = I(() => n.item.type === q.Json || n.item.type === q.JsonArray), d = I(() => n.item.type === q.JsonArray), s = I(() => {
658
+ const n = e, r = t, i = Qe(), { i18n: { t: o, formatUnixTimeStamp: a } } = W.useI18n(), l = I(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = I(() => !!(n.item.tooltip || i["label-tooltip"])), u = I(() => n.item.type === q.Json || n.item.type === q.JsonArray), d = I(() => n.item.type === q.JsonArray), s = I(() => {
659
659
  switch (n.item.type) {
660
660
  case q.ID:
661
661
  return {
@@ -779,7 +779,7 @@ const W = {
779
779
  }), m = K(), { isTruncated: f } = W.useTruncationDetector(m);
780
780
  return (y, h) => {
781
781
  const C = M("KLabel"), E = M("KBadge"), b = M("KCopy"), F = M("KTooltip");
782
- return g(), O("div", Nr, [
782
+ return g(), O("div", Mr, [
783
783
  D("div", {
784
784
  class: "config-card-details-label",
785
785
  "data-testid": `${e.item.key}-label`
@@ -800,13 +800,13 @@ const W = {
800
800
  V(y.$slots, "label-tooltip", {}, () => [
801
801
  Y(N(e.item.tooltip), 1)
802
802
  ], !0)
803
- ], 8, Dr)
803
+ ], 8, jr)
804
804
  ]),
805
805
  key: "0"
806
806
  } : void 0
807
807
  ]), 1024)
808
808
  ], !0)
809
- ], 8, Mr),
809
+ ], 8, Dr),
810
810
  D("div", {
811
811
  class: "config-card-details-value",
812
812
  "data-testid": `${e.item.key}-property-value`
@@ -814,8 +814,8 @@ const W = {
814
814
  V(y.$slots, e.item.key, {
815
815
  rowValue: e.item.value
816
816
  }, () => [
817
- l.value ? (g(), O("div", Pr, [
818
- (g(), j(Ke(s.value.tag), Fn(On(s.value.attrs)), {
817
+ l.value ? (g(), O("div", qr, [
818
+ (g(), j(Ke(s.value.tag), On(Ln(s.value.attrs)), {
819
819
  default: A(() => [
820
820
  s.value.additionalComponent === "KBadge" ? (g(), O("div", {
821
821
  key: 0,
@@ -833,25 +833,25 @@ const W = {
833
833
  ]),
834
834
  _: 2
835
835
  }, 1032, ["data-testid", "tooltip"]))), 128))
836
- ], 8, qr)) : P("", !0),
836
+ ], 8, Hr)) : P("", !0),
837
837
  s.value.additionalComponent === "KCopy" ? (g(), O("div", {
838
838
  key: 1,
839
839
  class: "copy-uuid-array",
840
840
  "data-testid": `${e.item.key}-copy-uuid-array`
841
841
  }, [
842
- (g(!0), O(ce, null, oe(e.item.value, (k, x) => (g(), j(b, Ln({ ref_for: !0 }, s.value.childAttrs, {
842
+ (g(!0), O(ce, null, oe(e.item.value, (k, x) => (g(), j(b, Rn({ ref_for: !0 }, s.value.childAttrs, {
843
843
  key: `${e.item.key}-copy-uuid-${x}`,
844
844
  "data-testid": `${e.item.key}-copy-uuid-${x}`,
845
845
  text: k
846
846
  }), null, 16, ["data-testid", "text"]))), 128))
847
- ], 8, Hr)) : s.value.additionalComponent === "KMethodBadge" ? (g(), O("div", {
847
+ ], 8, Yr)) : s.value.additionalComponent === "KMethodBadge" ? (g(), O("div", {
848
848
  key: 2,
849
849
  class: "method-badge-array",
850
850
  "data-testid": `${e.item.key}-badge-methods`
851
851
  }, [
852
852
  (g(!0), O(ce, null, oe(e.item.value, (k, x) => (g(), j(E, {
853
853
  key: `${e.item.key}-badge-method-${x}`,
854
- appearance: Object.values(w(jn)).includes(k.toLowerCase()) ? k.toLowerCase() : "custom",
854
+ appearance: Object.values(w(Un)).includes(k.toLowerCase()) ? k.toLowerCase() : "custom",
855
855
  class: "config-badge",
856
856
  "data-testid": `${e.item.key}-badge-method-${x}`
857
857
  }, {
@@ -860,18 +860,18 @@ const W = {
860
860
  ]),
861
861
  _: 2
862
862
  }, 1032, ["appearance", "data-testid"]))), 128))
863
- ], 8, Yr)) : P("", !0),
863
+ ], 8, Vr)) : P("", !0),
864
864
  s.value.additionalComponent === "JsonCardItem" ? (g(), O("div", {
865
865
  key: 3,
866
866
  "data-testid": `${n.item.key}-json-array-content`
867
867
  }, [
868
- (g(!0), O(ce, null, oe(e.item.value, (k, x) => (g(), j(Kt, {
868
+ (g(!0), O(ce, null, oe(e.item.value, (k, x) => (g(), j(Nt, {
869
869
  key: `json-array-item-${x}`,
870
870
  index: x,
871
871
  "is-array-item": "",
872
872
  item: k
873
873
  }, null, 8, ["index", "item"]))), 128))
874
- ], 8, Vr)) : (g(), j(F, {
874
+ ], 8, Wr)) : (g(), j(F, {
875
875
  key: 4,
876
876
  text: w(f) ? e.item.value : ""
877
877
  }, {
@@ -890,16 +890,16 @@ const W = {
890
890
  ])) : (g(), O("div", {
891
891
  key: 0,
892
892
  "data-testid": `${e.item.key}-no-value`
893
- }, " – ", 8, Ur))
893
+ }, " – ", 8, Pr))
894
894
  ], !0)
895
- ], 8, jr)
895
+ ], 8, Ur)
896
896
  ]);
897
897
  };
898
898
  }
899
- }), Nt = /* @__PURE__ */ ae(Jr, [["__scopeId", "data-v-711ebcf2"]]), Gr = { class: "json-config" }, zr = {
899
+ }), Mt = /* @__PURE__ */ ae(Gr, [["__scopeId", "data-v-711ebcf2"]]), zr = { class: "json-config" }, Qr = {
900
900
  key: 0,
901
901
  class: "json-endpoint"
902
- }, Mt = /* @__PURE__ */ Q({
902
+ }, Dt = /* @__PURE__ */ Q({
903
903
  __name: "JsonCodeBlock",
904
904
  props: {
905
905
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -927,7 +927,7 @@ const W = {
927
927
  }
928
928
  },
929
929
  setup(e) {
930
- Et((i) => ({
930
+ Ft((i) => ({
931
931
  "454fa8c4": `${r.value}ch`
932
932
  }));
933
933
  const t = e, n = I(() => t.entityRecord), r = I(() => {
@@ -939,8 +939,8 @@ const W = {
939
939
  });
940
940
  return (i, o) => {
941
941
  const a = M("KBadge"), l = M("KCodeBlock");
942
- return g(), O("div", Gr, [
943
- t.fetcherUrl ? (g(), O("div", zr, [
942
+ return g(), O("div", zr, [
943
+ t.fetcherUrl ? (g(), O("div", Qr, [
944
944
  B(a, {
945
945
  appearance: t.requestMethod
946
946
  }, {
@@ -970,52 +970,52 @@ const W = {
970
970
  }
971
971
  });
972
972
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
973
- function Dt(e) {
973
+ function jt(e) {
974
974
  return typeof e > "u" || e === null;
975
975
  }
976
- function Qr(e) {
976
+ function Zr(e) {
977
977
  return typeof e == "object" && e !== null;
978
978
  }
979
- function Zr(e) {
980
- return Array.isArray(e) ? e : Dt(e) ? [] : [e];
979
+ function Xr(e) {
980
+ return Array.isArray(e) ? e : jt(e) ? [] : [e];
981
981
  }
982
- function Xr(e, t) {
982
+ function ei(e, t) {
983
983
  var n, r, i, o;
984
984
  if (t)
985
985
  for (o = Object.keys(t), n = 0, r = o.length; n < r; n += 1)
986
986
  i = o[n], e[i] = t[i];
987
987
  return e;
988
988
  }
989
- function ei(e, t) {
989
+ function ti(e, t) {
990
990
  var n = "", r;
991
991
  for (r = 0; r < t; r += 1)
992
992
  n += e;
993
993
  return n;
994
994
  }
995
- function ti(e) {
995
+ function ni(e) {
996
996
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
997
997
  }
998
- var ni = Dt, ri = Qr, ii = Zr, ai = ei, oi = ti, li = Xr, z = {
999
- isNothing: ni,
1000
- isObject: ri,
1001
- toArray: ii,
1002
- repeat: ai,
1003
- isNegativeZero: oi,
1004
- extend: li
998
+ var ri = jt, ii = Zr, ai = Xr, oi = ti, li = ni, ci = ei, z = {
999
+ isNothing: ri,
1000
+ isObject: ii,
1001
+ toArray: ai,
1002
+ repeat: oi,
1003
+ isNegativeZero: li,
1004
+ extend: ci
1005
1005
  };
1006
- function jt(e, t) {
1006
+ function Ut(e, t) {
1007
1007
  var n = "", r = e.reason || "(unknown reason)";
1008
1008
  return e.mark ? (e.mark.name && (n += 'in "' + e.mark.name + '" '), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += `
1009
1009
 
1010
1010
  ` + e.mark.snippet), r + " " + n) : r;
1011
1011
  }
1012
1012
  function Se(e, t) {
1013
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = jt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1013
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Ut(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1014
1014
  }
1015
1015
  Se.prototype = Object.create(Error.prototype);
1016
1016
  Se.prototype.constructor = Se;
1017
1017
  Se.prototype.toString = function(t) {
1018
- return this.name + ": " + jt(this, t);
1018
+ return this.name + ": " + Ut(this, t);
1019
1019
  };
1020
1020
  var ne = Se;
1021
1021
  function Ue(e, t, n, r, i) {
@@ -1029,7 +1029,7 @@ function Ue(e, t, n, r, i) {
1029
1029
  function Pe(e, t) {
1030
1030
  return z.repeat(" ", t - e.length) + e;
1031
1031
  }
1032
- function ci(e, t) {
1032
+ function si(e, t) {
1033
1033
  if (t = Object.create(t || null), !e.buffer) return null;
1034
1034
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1035
1035
  for (var n = /\r?\n|\r|\0/g, r = [0], i = [], o, a = -1; o = n.exec(e.buffer); )
@@ -1058,7 +1058,7 @@ function ci(e, t) {
1058
1058
  `;
1059
1059
  return l.replace(/\n$/, "");
1060
1060
  }
1061
- var si = ci, ui = [
1061
+ var ui = si, di = [
1062
1062
  "kind",
1063
1063
  "multi",
1064
1064
  "resolve",
@@ -1069,12 +1069,12 @@ var si = ci, ui = [
1069
1069
  "representName",
1070
1070
  "defaultStyle",
1071
1071
  "styleAliases"
1072
- ], di = [
1072
+ ], fi = [
1073
1073
  "scalar",
1074
1074
  "sequence",
1075
1075
  "mapping"
1076
1076
  ];
1077
- function fi(e) {
1077
+ function pi(e) {
1078
1078
  var t = {};
1079
1079
  return e !== null && Object.keys(e).forEach(function(n) {
1080
1080
  e[n].forEach(function(r) {
@@ -1082,19 +1082,19 @@ function fi(e) {
1082
1082
  });
1083
1083
  }), t;
1084
1084
  }
1085
- function pi(e, t) {
1085
+ function mi(e, t) {
1086
1086
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1087
- if (ui.indexOf(n) === -1)
1087
+ if (di.indexOf(n) === -1)
1088
1088
  throw new ne('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1089
1089
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1090
1090
  return !0;
1091
1091
  }, this.construct = t.construct || function(n) {
1092
1092
  return n;
1093
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = fi(t.styleAliases || null), di.indexOf(this.kind) === -1)
1093
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = pi(t.styleAliases || null), fi.indexOf(this.kind) === -1)
1094
1094
  throw new ne('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1095
1095
  }
1096
- var X = pi;
1097
- function pt(e, t) {
1096
+ var X = mi;
1097
+ function mt(e, t) {
1098
1098
  var n = [];
1099
1099
  return e[t].forEach(function(r) {
1100
1100
  var i = n.length;
@@ -1103,7 +1103,7 @@ function pt(e, t) {
1103
1103
  }), n[i] = r;
1104
1104
  }), n;
1105
1105
  }
1106
- function mi() {
1106
+ function hi() {
1107
1107
  var e = {
1108
1108
  scalar: {},
1109
1109
  sequence: {},
@@ -1123,10 +1123,10 @@ function mi() {
1123
1123
  arguments[t].forEach(r);
1124
1124
  return e;
1125
1125
  }
1126
- function Ye(e) {
1126
+ function Ve(e) {
1127
1127
  return this.extend(e);
1128
1128
  }
1129
- Ye.prototype.extend = function(t) {
1129
+ Ve.prototype.extend = function(t) {
1130
1130
  var n = [], r = [];
1131
1131
  if (t instanceof X)
1132
1132
  r.push(t);
@@ -1147,47 +1147,47 @@ Ye.prototype.extend = function(t) {
1147
1147
  if (!(o instanceof X))
1148
1148
  throw new ne("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1149
1149
  });
1150
- var i = Object.create(Ye.prototype);
1151
- return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = pt(i, "implicit"), i.compiledExplicit = pt(i, "explicit"), i.compiledTypeMap = mi(i.compiledImplicit, i.compiledExplicit), i;
1150
+ var i = Object.create(Ve.prototype);
1151
+ return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = mt(i, "implicit"), i.compiledExplicit = mt(i, "explicit"), i.compiledTypeMap = hi(i.compiledImplicit, i.compiledExplicit), i;
1152
1152
  };
1153
- var Ut = Ye, Pt = new X("tag:yaml.org,2002:str", {
1153
+ var Pt = Ve, qt = new X("tag:yaml.org,2002:str", {
1154
1154
  kind: "scalar",
1155
1155
  construct: function(e) {
1156
1156
  return e !== null ? e : "";
1157
1157
  }
1158
- }), qt = new X("tag:yaml.org,2002:seq", {
1158
+ }), Ht = new X("tag:yaml.org,2002:seq", {
1159
1159
  kind: "sequence",
1160
1160
  construct: function(e) {
1161
1161
  return e !== null ? e : [];
1162
1162
  }
1163
- }), Ht = new X("tag:yaml.org,2002:map", {
1163
+ }), Yt = new X("tag:yaml.org,2002:map", {
1164
1164
  kind: "mapping",
1165
1165
  construct: function(e) {
1166
1166
  return e !== null ? e : {};
1167
1167
  }
1168
- }), Yt = new Ut({
1168
+ }), Vt = new Pt({
1169
1169
  explicit: [
1170
- Pt,
1171
1170
  qt,
1172
- Ht
1171
+ Ht,
1172
+ Yt
1173
1173
  ]
1174
1174
  });
1175
- function hi(e) {
1175
+ function gi(e) {
1176
1176
  if (e === null) return !0;
1177
1177
  var t = e.length;
1178
1178
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1179
1179
  }
1180
- function gi() {
1180
+ function yi() {
1181
1181
  return null;
1182
1182
  }
1183
- function yi(e) {
1183
+ function vi(e) {
1184
1184
  return e === null;
1185
1185
  }
1186
- var Vt = new X("tag:yaml.org,2002:null", {
1186
+ var Wt = new X("tag:yaml.org,2002:null", {
1187
1187
  kind: "scalar",
1188
- resolve: hi,
1189
- construct: gi,
1190
- predicate: yi,
1188
+ resolve: gi,
1189
+ construct: yi,
1190
+ predicate: vi,
1191
1191
  represent: {
1192
1192
  canonical: function() {
1193
1193
  return "~";
@@ -1207,22 +1207,22 @@ var Vt = new X("tag:yaml.org,2002:null", {
1207
1207
  },
1208
1208
  defaultStyle: "lowercase"
1209
1209
  });
1210
- function vi(e) {
1210
+ function bi(e) {
1211
1211
  if (e === null) return !1;
1212
1212
  var t = e.length;
1213
1213
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1214
1214
  }
1215
- function bi(e) {
1215
+ function xi(e) {
1216
1216
  return e === "true" || e === "True" || e === "TRUE";
1217
1217
  }
1218
- function xi(e) {
1218
+ function Ci(e) {
1219
1219
  return Object.prototype.toString.call(e) === "[object Boolean]";
1220
1220
  }
1221
- var Wt = new X("tag:yaml.org,2002:bool", {
1221
+ var Jt = new X("tag:yaml.org,2002:bool", {
1222
1222
  kind: "scalar",
1223
- resolve: vi,
1224
- construct: bi,
1225
- predicate: xi,
1223
+ resolve: bi,
1224
+ construct: xi,
1225
+ predicate: Ci,
1226
1226
  represent: {
1227
1227
  lowercase: function(e) {
1228
1228
  return e ? "true" : "false";
@@ -1236,16 +1236,16 @@ var Wt = new X("tag:yaml.org,2002:bool", {
1236
1236
  },
1237
1237
  defaultStyle: "lowercase"
1238
1238
  });
1239
- function Ci(e) {
1239
+ function Ai(e) {
1240
1240
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1241
1241
  }
1242
- function Ai(e) {
1242
+ function _i(e) {
1243
1243
  return 48 <= e && e <= 55;
1244
1244
  }
1245
- function _i(e) {
1245
+ function ki(e) {
1246
1246
  return 48 <= e && e <= 57;
1247
1247
  }
1248
- function ki(e) {
1248
+ function wi(e) {
1249
1249
  if (e === null) return !1;
1250
1250
  var t = e.length, n = 0, r = !1, i;
1251
1251
  if (!t) return !1;
@@ -1262,7 +1262,7 @@ function ki(e) {
1262
1262
  if (i === "x") {
1263
1263
  for (n++; n < t; n++)
1264
1264
  if (i = e[n], i !== "_") {
1265
- if (!Ci(e.charCodeAt(n))) return !1;
1265
+ if (!Ai(e.charCodeAt(n))) return !1;
1266
1266
  r = !0;
1267
1267
  }
1268
1268
  return r && i !== "_";
@@ -1270,7 +1270,7 @@ function ki(e) {
1270
1270
  if (i === "o") {
1271
1271
  for (n++; n < t; n++)
1272
1272
  if (i = e[n], i !== "_") {
1273
- if (!Ai(e.charCodeAt(n))) return !1;
1273
+ if (!_i(e.charCodeAt(n))) return !1;
1274
1274
  r = !0;
1275
1275
  }
1276
1276
  return r && i !== "_";
@@ -1279,13 +1279,13 @@ function ki(e) {
1279
1279
  if (i === "_") return !1;
1280
1280
  for (; n < t; n++)
1281
1281
  if (i = e[n], i !== "_") {
1282
- if (!_i(e.charCodeAt(n)))
1282
+ if (!ki(e.charCodeAt(n)))
1283
1283
  return !1;
1284
1284
  r = !0;
1285
1285
  }
1286
1286
  return !(!r || i === "_");
1287
1287
  }
1288
- function wi(e) {
1288
+ function Si(e) {
1289
1289
  var t = e, n = 1, r;
1290
1290
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
1291
1291
  if (r === "0") {
@@ -1295,14 +1295,14 @@ function wi(e) {
1295
1295
  }
1296
1296
  return n * parseInt(t, 10);
1297
1297
  }
1298
- function Si(e) {
1298
+ function Ii(e) {
1299
1299
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !z.isNegativeZero(e);
1300
1300
  }
1301
- var Jt = new X("tag:yaml.org,2002:int", {
1301
+ var Gt = new X("tag:yaml.org,2002:int", {
1302
1302
  kind: "scalar",
1303
- resolve: ki,
1304
- construct: wi,
1305
- predicate: Si,
1303
+ resolve: wi,
1304
+ construct: Si,
1305
+ predicate: Ii,
1306
1306
  represent: {
1307
1307
  binary: function(e) {
1308
1308
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1325,21 +1325,21 @@ var Jt = new X("tag:yaml.org,2002:int", {
1325
1325
  decimal: [10, "dec"],
1326
1326
  hexadecimal: [16, "hex"]
1327
1327
  }
1328
- }), Ii = new RegExp(
1328
+ }), Ti = new RegExp(
1329
1329
  // 2.5e4, 2.5 and integers
1330
1330
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1331
1331
  );
1332
1332
  function $i(e) {
1333
- return !(e === null || !Ii.test(e) || // Quick hack to not allow integers end with `_`
1333
+ return !(e === null || !Ti.test(e) || // Quick hack to not allow integers end with `_`
1334
1334
  // Probably should update regexp & check speed
1335
1335
  e[e.length - 1] === "_");
1336
1336
  }
1337
- function Ti(e) {
1337
+ function Ei(e) {
1338
1338
  var t, n;
1339
1339
  return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
1340
1340
  }
1341
- var Ei = /^[-+]?[0-9]+e/;
1342
- function Fi(e, t) {
1341
+ var Fi = /^[-+]?[0-9]+e/;
1342
+ function Oi(e, t) {
1343
1343
  var n;
1344
1344
  if (isNaN(e))
1345
1345
  switch (t) {
@@ -1370,36 +1370,36 @@ function Fi(e, t) {
1370
1370
  }
1371
1371
  else if (z.isNegativeZero(e))
1372
1372
  return "-0.0";
1373
- return n = e.toString(10), Ei.test(n) ? n.replace("e", ".e") : n;
1373
+ return n = e.toString(10), Fi.test(n) ? n.replace("e", ".e") : n;
1374
1374
  }
1375
- function Oi(e) {
1375
+ function Li(e) {
1376
1376
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || z.isNegativeZero(e));
1377
1377
  }
1378
- var Gt = new X("tag:yaml.org,2002:float", {
1378
+ var zt = new X("tag:yaml.org,2002:float", {
1379
1379
  kind: "scalar",
1380
1380
  resolve: $i,
1381
- construct: Ti,
1382
- predicate: Oi,
1383
- represent: Fi,
1381
+ construct: Ei,
1382
+ predicate: Li,
1383
+ represent: Oi,
1384
1384
  defaultStyle: "lowercase"
1385
- }), zt = Yt.extend({
1385
+ }), Qt = Vt.extend({
1386
1386
  implicit: [
1387
- Vt,
1388
1387
  Wt,
1389
1388
  Jt,
1390
- Gt
1389
+ Gt,
1390
+ zt
1391
1391
  ]
1392
- }), Qt = zt, Zt = new RegExp(
1392
+ }), Zt = Qt, Xt = new RegExp(
1393
1393
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1394
- ), Xt = new RegExp(
1394
+ ), en = new RegExp(
1395
1395
  "^([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]))?))?$"
1396
1396
  );
1397
- function Li(e) {
1398
- return e === null ? !1 : Zt.exec(e) !== null || Xt.exec(e) !== null;
1399
- }
1400
1397
  function Ri(e) {
1398
+ return e === null ? !1 : Xt.exec(e) !== null || en.exec(e) !== null;
1399
+ }
1400
+ function Bi(e) {
1401
1401
  var t, n, r, i, o, a, l, c = 0, u = null, d, s, m;
1402
- if (t = Zt.exec(e), t === null && (t = Xt.exec(e)), t === null) throw new Error("Date resolve error");
1402
+ if (t = Xt.exec(e), t === null && (t = en.exec(e)), t === null) throw new Error("Date resolve error");
1403
1403
  if (n = +t[1], r = +t[2] - 1, i = +t[3], !t[4])
1404
1404
  return new Date(Date.UTC(n, r, i));
1405
1405
  if (o = +t[4], a = +t[5], l = +t[6], t[7]) {
@@ -1409,27 +1409,27 @@ function Ri(e) {
1409
1409
  }
1410
1410
  return t[9] && (d = +t[10], s = +(t[11] || 0), u = (d * 60 + s) * 6e4, t[9] === "-" && (u = -u)), m = new Date(Date.UTC(n, r, i, o, a, l, c)), u && m.setTime(m.getTime() - u), m;
1411
1411
  }
1412
- function Bi(e) {
1412
+ function Ki(e) {
1413
1413
  return e.toISOString();
1414
1414
  }
1415
- var en = new X("tag:yaml.org,2002:timestamp", {
1415
+ var tn = new X("tag:yaml.org,2002:timestamp", {
1416
1416
  kind: "scalar",
1417
- resolve: Li,
1418
- construct: Ri,
1417
+ resolve: Ri,
1418
+ construct: Bi,
1419
1419
  instanceOf: Date,
1420
- represent: Bi
1420
+ represent: Ki
1421
1421
  });
1422
- function Ki(e) {
1422
+ function Ni(e) {
1423
1423
  return e === "<<" || e === null;
1424
1424
  }
1425
- var tn = new X("tag:yaml.org,2002:merge", {
1425
+ var nn = new X("tag:yaml.org,2002:merge", {
1426
1426
  kind: "scalar",
1427
- resolve: Ki
1428
- }), Xe = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1427
+ resolve: Ni
1428
+ }), et = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1429
1429
  \r`;
1430
- function Ni(e) {
1430
+ function Mi(e) {
1431
1431
  if (e === null) return !1;
1432
- var t, n, r = 0, i = e.length, o = Xe;
1432
+ var t, n, r = 0, i = e.length, o = et;
1433
1433
  for (n = 0; n < i; n++)
1434
1434
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1435
1435
  if (t < 0) return !1;
@@ -1437,35 +1437,35 @@ function Ni(e) {
1437
1437
  }
1438
1438
  return r % 8 === 0;
1439
1439
  }
1440
- function Mi(e) {
1441
- var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, o = Xe, a = 0, l = [];
1440
+ function Di(e) {
1441
+ var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, o = et, a = 0, l = [];
1442
1442
  for (t = 0; t < i; t++)
1443
1443
  t % 4 === 0 && t && (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)), a = a << 6 | o.indexOf(r.charAt(t));
1444
1444
  return n = i % 4 * 6, n === 0 ? (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)) : n === 18 ? (l.push(a >> 10 & 255), l.push(a >> 2 & 255)) : n === 12 && l.push(a >> 4 & 255), new Uint8Array(l);
1445
1445
  }
1446
- function Di(e) {
1447
- var t = "", n = 0, r, i, o = e.length, a = Xe;
1446
+ function ji(e) {
1447
+ var t = "", n = 0, r, i, o = e.length, a = et;
1448
1448
  for (r = 0; r < o; r++)
1449
1449
  r % 3 === 0 && r && (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]), n = (n << 8) + e[r];
1450
1450
  return i = o % 3, i === 0 ? (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]) : i === 2 ? (t += a[n >> 10 & 63], t += a[n >> 4 & 63], t += a[n << 2 & 63], t += a[64]) : i === 1 && (t += a[n >> 2 & 63], t += a[n << 4 & 63], t += a[64], t += a[64]), t;
1451
1451
  }
1452
- function ji(e) {
1452
+ function Ui(e) {
1453
1453
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1454
1454
  }
1455
- var nn = new X("tag:yaml.org,2002:binary", {
1455
+ var rn = new X("tag:yaml.org,2002:binary", {
1456
1456
  kind: "scalar",
1457
- resolve: Ni,
1458
- construct: Mi,
1459
- predicate: ji,
1460
- represent: Di
1461
- }), Ui = Object.prototype.hasOwnProperty, Pi = Object.prototype.toString;
1462
- function qi(e) {
1457
+ resolve: Mi,
1458
+ construct: Di,
1459
+ predicate: Ui,
1460
+ represent: ji
1461
+ }), Pi = Object.prototype.hasOwnProperty, qi = Object.prototype.toString;
1462
+ function Hi(e) {
1463
1463
  if (e === null) return !0;
1464
1464
  var t = [], n, r, i, o, a, l = e;
1465
1465
  for (n = 0, r = l.length; n < r; n += 1) {
1466
- if (i = l[n], a = !1, Pi.call(i) !== "[object Object]") return !1;
1466
+ if (i = l[n], a = !1, qi.call(i) !== "[object Object]") return !1;
1467
1467
  for (o in i)
1468
- if (Ui.call(i, o))
1468
+ if (Pi.call(i, o))
1469
1469
  if (!a) a = !0;
1470
1470
  else return !1;
1471
1471
  if (!a) return !1;
@@ -1474,63 +1474,63 @@ function qi(e) {
1474
1474
  }
1475
1475
  return !0;
1476
1476
  }
1477
- function Hi(e) {
1477
+ function Yi(e) {
1478
1478
  return e !== null ? e : [];
1479
1479
  }
1480
- var rn = new X("tag:yaml.org,2002:omap", {
1480
+ var an = new X("tag:yaml.org,2002:omap", {
1481
1481
  kind: "sequence",
1482
- resolve: qi,
1483
- construct: Hi
1484
- }), Yi = Object.prototype.toString;
1485
- function Vi(e) {
1482
+ resolve: Hi,
1483
+ construct: Yi
1484
+ }), Vi = Object.prototype.toString;
1485
+ function Wi(e) {
1486
1486
  if (e === null) return !0;
1487
1487
  var t, n, r, i, o, a = e;
1488
1488
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
1489
- if (r = a[t], Yi.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
1489
+ if (r = a[t], Vi.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
1490
1490
  o[t] = [i[0], r[i[0]]];
1491
1491
  }
1492
1492
  return !0;
1493
1493
  }
1494
- function Wi(e) {
1494
+ function Ji(e) {
1495
1495
  if (e === null) return [];
1496
1496
  var t, n, r, i, o, a = e;
1497
1497
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1)
1498
1498
  r = a[t], i = Object.keys(r), o[t] = [i[0], r[i[0]]];
1499
1499
  return o;
1500
1500
  }
1501
- var an = new X("tag:yaml.org,2002:pairs", {
1501
+ var on = new X("tag:yaml.org,2002:pairs", {
1502
1502
  kind: "sequence",
1503
- resolve: Vi,
1504
- construct: Wi
1505
- }), Ji = Object.prototype.hasOwnProperty;
1506
- function Gi(e) {
1503
+ resolve: Wi,
1504
+ construct: Ji
1505
+ }), Gi = Object.prototype.hasOwnProperty;
1506
+ function zi(e) {
1507
1507
  if (e === null) return !0;
1508
1508
  var t, n = e;
1509
1509
  for (t in n)
1510
- if (Ji.call(n, t) && n[t] !== null)
1510
+ if (Gi.call(n, t) && n[t] !== null)
1511
1511
  return !1;
1512
1512
  return !0;
1513
1513
  }
1514
- function zi(e) {
1514
+ function Qi(e) {
1515
1515
  return e !== null ? e : {};
1516
1516
  }
1517
- var on = new X("tag:yaml.org,2002:set", {
1517
+ var ln = new X("tag:yaml.org,2002:set", {
1518
1518
  kind: "mapping",
1519
- resolve: Gi,
1520
- construct: zi
1521
- }), et = Qt.extend({
1519
+ resolve: zi,
1520
+ construct: Qi
1521
+ }), tt = Zt.extend({
1522
1522
  implicit: [
1523
- en,
1524
- tn
1523
+ tn,
1524
+ nn
1525
1525
  ],
1526
1526
  explicit: [
1527
- nn,
1528
1527
  rn,
1529
1528
  an,
1530
- on
1529
+ on,
1530
+ ln
1531
1531
  ]
1532
- }), fe = Object.prototype.hasOwnProperty, Fe = 1, ln = 2, cn = 3, Oe = 4, qe = 1, Qi = 2, mt = 3, Zi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Xi = /[\x85\u2028\u2029]/, ea = /[,\[\]\{\}]/, sn = /^(?:!|!!|![a-z\-]+!)$/i, un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1533
- function ht(e) {
1532
+ }), fe = Object.prototype.hasOwnProperty, Fe = 1, cn = 2, sn = 3, Oe = 4, qe = 1, Zi = 2, ht = 3, Xi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ea = /[\x85\u2028\u2029]/, ta = /[,\[\]\{\}]/, un = /^(?:!|!!|![a-z\-]+!)$/i, dn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1533
+ function gt(e) {
1534
1534
  return Object.prototype.toString.call(e);
1535
1535
  }
1536
1536
  function le(e) {
@@ -1545,33 +1545,33 @@ function re(e) {
1545
1545
  function xe(e) {
1546
1546
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1547
1547
  }
1548
- function ta(e) {
1548
+ function na(e) {
1549
1549
  var t;
1550
1550
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1551
1551
  }
1552
- function na(e) {
1552
+ function ra(e) {
1553
1553
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1554
1554
  }
1555
- function ra(e) {
1555
+ function ia(e) {
1556
1556
  return 48 <= e && e <= 57 ? e - 48 : -1;
1557
1557
  }
1558
- function gt(e) {
1558
+ function yt(e) {
1559
1559
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1560
1560
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1561
1561
  }
1562
- function ia(e) {
1562
+ function aa(e) {
1563
1563
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1564
1564
  (e - 65536 >> 10) + 55296,
1565
1565
  (e - 65536 & 1023) + 56320
1566
1566
  );
1567
1567
  }
1568
- var dn = new Array(256), fn = new Array(256);
1568
+ var fn = new Array(256), pn = new Array(256);
1569
1569
  for (var ye = 0; ye < 256; ye++)
1570
- dn[ye] = gt(ye) ? 1 : 0, fn[ye] = gt(ye);
1571
- function aa(e, t) {
1572
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || et, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1570
+ fn[ye] = yt(ye) ? 1 : 0, pn[ye] = yt(ye);
1571
+ function oa(e, t) {
1572
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || tt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1573
1573
  }
1574
- function pn(e, t) {
1574
+ function mn(e, t) {
1575
1575
  var n = {
1576
1576
  name: e.filename,
1577
1577
  buffer: e.input.slice(0, -1),
@@ -1580,22 +1580,22 @@ function pn(e, t) {
1580
1580
  line: e.line,
1581
1581
  column: e.position - e.lineStart
1582
1582
  };
1583
- return n.snippet = si(n), new ne(t, n);
1583
+ return n.snippet = ui(n), new ne(t, n);
1584
1584
  }
1585
1585
  function _(e, t) {
1586
- throw pn(e, t);
1586
+ throw mn(e, t);
1587
1587
  }
1588
1588
  function Le(e, t) {
1589
- e.onWarning && e.onWarning.call(null, pn(e, t));
1589
+ e.onWarning && e.onWarning.call(null, mn(e, t));
1590
1590
  }
1591
- var yt = {
1591
+ var vt = {
1592
1592
  YAML: function(t, n, r) {
1593
1593
  var i, o, a;
1594
1594
  t.version !== null && _(t, "duplication of %YAML directive"), r.length !== 1 && _(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && _(t, "ill-formed argument of the YAML directive"), o = parseInt(i[1], 10), a = parseInt(i[2], 10), o !== 1 && _(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Le(t, "unsupported YAML version of the document");
1595
1595
  },
1596
1596
  TAG: function(t, n, r) {
1597
1597
  var i, o;
1598
- r.length !== 2 && _(t, "TAG directive accepts exactly two arguments"), i = r[0], o = r[1], sn.test(i) || _(t, "ill-formed tag handle (first argument) of the TAG directive"), fe.call(t.tagMap, i) && _(t, 'there is a previously declared suffix for "' + i + '" tag handle'), un.test(o) || _(t, "ill-formed tag prefix (second argument) of the TAG directive");
1598
+ r.length !== 2 && _(t, "TAG directive accepts exactly two arguments"), i = r[0], o = r[1], un.test(i) || _(t, "ill-formed tag handle (first argument) of the TAG directive"), fe.call(t.tagMap, i) && _(t, 'there is a previously declared suffix for "' + i + '" tag handle'), dn.test(o) || _(t, "ill-formed tag prefix (second argument) of the TAG directive");
1599
1599
  try {
1600
1600
  o = decodeURIComponent(o);
1601
1601
  } catch {
@@ -1610,11 +1610,11 @@ function ue(e, t, n, r) {
1610
1610
  if (l = e.input.slice(t, n), r)
1611
1611
  for (i = 0, o = l.length; i < o; i += 1)
1612
1612
  a = l.charCodeAt(i), a === 9 || 32 <= a && a <= 1114111 || _(e, "expected valid JSON character");
1613
- else Zi.test(l) && _(e, "the stream contains non-printable characters");
1613
+ else Xi.test(l) && _(e, "the stream contains non-printable characters");
1614
1614
  e.result += l;
1615
1615
  }
1616
1616
  }
1617
- function vt(e, t, n, r) {
1617
+ function bt(e, t, n, r) {
1618
1618
  var i, o, a, l;
1619
1619
  for (z.isObject(n) || _(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), a = 0, l = i.length; a < l; a += 1)
1620
1620
  o = i[a], fe.call(t, o) || (t[o] = n[o], r[o] = !0);
@@ -1623,13 +1623,13 @@ function Ce(e, t, n, r, i, o, a, l, c) {
1623
1623
  var u, d;
1624
1624
  if (Array.isArray(i))
1625
1625
  for (i = Array.prototype.slice.call(i), u = 0, d = i.length; u < d; u += 1)
1626
- Array.isArray(i[u]) && _(e, "nested arrays are not supported inside keys"), typeof i == "object" && ht(i[u]) === "[object Object]" && (i[u] = "[object Object]");
1627
- if (typeof i == "object" && ht(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1626
+ Array.isArray(i[u]) && _(e, "nested arrays are not supported inside keys"), typeof i == "object" && gt(i[u]) === "[object Object]" && (i[u] = "[object Object]");
1627
+ if (typeof i == "object" && gt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1628
1628
  if (Array.isArray(o))
1629
1629
  for (u = 0, d = o.length; u < d; u += 1)
1630
- vt(e, t, o[u], n);
1630
+ bt(e, t, o[u], n);
1631
1631
  else
1632
- vt(e, t, o, n);
1632
+ bt(e, t, o, n);
1633
1633
  else
1634
1634
  !e.json && !fe.call(n, i) && fe.call(t, i) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = c || e.position, _(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1635
1635
  configurable: !0,
@@ -1639,7 +1639,7 @@ function Ce(e, t, n, r, i, o, a, l, c) {
1639
1639
  }) : t[i] = o, delete n[i];
1640
1640
  return t;
1641
1641
  }
1642
- function tt(e) {
1642
+ function nt(e) {
1643
1643
  var t;
1644
1644
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : _(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1645
1645
  }
@@ -1652,7 +1652,7 @@ function J(e, t, n) {
1652
1652
  i = e.input.charCodeAt(++e.position);
1653
1653
  while (i !== 10 && i !== 13 && i !== 0);
1654
1654
  if (le(i))
1655
- for (tt(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1655
+ for (nt(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1656
1656
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1657
1657
  else
1658
1658
  break;
@@ -1663,11 +1663,11 @@ function De(e) {
1663
1663
  var t = e.position, n;
1664
1664
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || re(n)));
1665
1665
  }
1666
- function nt(e, t) {
1666
+ function rt(e, t) {
1667
1667
  t === 1 ? e.result += " " : t > 1 && (e.result += z.repeat(`
1668
1668
  `, t - 1));
1669
1669
  }
1670
- function oa(e, t, n) {
1670
+ function la(e, t, n) {
1671
1671
  var r, i, o, a, l, c, u, d, s = e.kind, m = e.result, f;
1672
1672
  if (f = e.input.charCodeAt(e.position), re(f) || xe(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), re(i) || n && xe(i)))
1673
1673
  return !1;
@@ -1690,11 +1690,11 @@ function oa(e, t, n) {
1690
1690
  break;
1691
1691
  }
1692
1692
  }
1693
- l && (ue(e, o, a, !1), nt(e, e.line - c), o = a = e.position, l = !1), ge(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1693
+ l && (ue(e, o, a, !1), rt(e, e.line - c), o = a = e.position, l = !1), ge(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1694
1694
  }
1695
1695
  return ue(e, o, a, !1), e.result ? !0 : (e.kind = s, e.result = m, !1);
1696
1696
  }
1697
- function la(e, t) {
1697
+ function ca(e, t) {
1698
1698
  var n, r, i;
1699
1699
  if (n = e.input.charCodeAt(e.position), n !== 39)
1700
1700
  return !1;
@@ -1704,10 +1704,10 @@ function la(e, t) {
1704
1704
  r = e.position, e.position++, i = e.position;
1705
1705
  else
1706
1706
  return !0;
1707
- else le(n) ? (ue(e, r, i, !0), nt(e, J(e, !1, t)), r = i = e.position) : e.position === e.lineStart && De(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1707
+ else le(n) ? (ue(e, r, i, !0), rt(e, J(e, !1, t)), r = i = e.position) : e.position === e.lineStart && De(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1708
1708
  _(e, "unexpected end of the stream within a single quoted scalar");
1709
1709
  }
1710
- function ca(e, t) {
1710
+ function sa(e, t) {
1711
1711
  var n, r, i, o, a, l;
1712
1712
  if (l = e.input.charCodeAt(e.position), l !== 34)
1713
1713
  return !1;
@@ -1717,20 +1717,20 @@ function ca(e, t) {
1717
1717
  if (l === 92) {
1718
1718
  if (ue(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), le(l))
1719
1719
  J(e, !1, t);
1720
- else if (l < 256 && dn[l])
1721
- e.result += fn[l], e.position++;
1722
- else if ((a = na(l)) > 0) {
1720
+ else if (l < 256 && fn[l])
1721
+ e.result += pn[l], e.position++;
1722
+ else if ((a = ra(l)) > 0) {
1723
1723
  for (i = a, o = 0; i > 0; i--)
1724
- l = e.input.charCodeAt(++e.position), (a = ta(l)) >= 0 ? o = (o << 4) + a : _(e, "expected hexadecimal character");
1725
- e.result += ia(o), e.position++;
1724
+ l = e.input.charCodeAt(++e.position), (a = na(l)) >= 0 ? o = (o << 4) + a : _(e, "expected hexadecimal character");
1725
+ e.result += aa(o), e.position++;
1726
1726
  } else
1727
1727
  _(e, "unknown escape sequence");
1728
1728
  n = r = e.position;
1729
- } else le(l) ? (ue(e, n, r, !0), nt(e, J(e, !1, t)), n = r = e.position) : e.position === e.lineStart && De(e) ? _(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1729
+ } else le(l) ? (ue(e, n, r, !0), rt(e, J(e, !1, t)), n = r = e.position) : e.position === e.lineStart && De(e) ? _(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1730
1730
  }
1731
1731
  _(e, "unexpected end of the stream within a double quoted scalar");
1732
1732
  }
1733
- function sa(e, t) {
1733
+ function ua(e, t) {
1734
1734
  var n = !0, r, i, o, a = e.tag, l, c = e.anchor, u, d, s, m, f, y = /* @__PURE__ */ Object.create(null), h, C, E, b;
1735
1735
  if (b = e.input.charCodeAt(e.position), b === 91)
1736
1736
  d = 93, f = !1, l = [];
@@ -1745,7 +1745,7 @@ function sa(e, t) {
1745
1745
  }
1746
1746
  _(e, "unexpected end of the stream within a flow collection");
1747
1747
  }
1748
- function ua(e, t) {
1748
+ function da(e, t) {
1749
1749
  var n, r, i = qe, o = !1, a = !1, l = t, c = 0, u = !1, d, s;
1750
1750
  if (s = e.input.charCodeAt(e.position), s === 124)
1751
1751
  r = !1;
@@ -1755,8 +1755,8 @@ function ua(e, t) {
1755
1755
  return !1;
1756
1756
  for (e.kind = "scalar", e.result = ""; s !== 0; )
1757
1757
  if (s = e.input.charCodeAt(++e.position), s === 43 || s === 45)
1758
- qe === i ? i = s === 43 ? mt : Qi : _(e, "repeat of a chomping mode identifier");
1759
- else if ((d = ra(s)) >= 0)
1758
+ qe === i ? i = s === 43 ? ht : Zi : _(e, "repeat of a chomping mode identifier");
1759
+ else if ((d = ia(s)) >= 0)
1760
1760
  d === 0 ? _(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? _(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1761
1761
  else
1762
1762
  break;
@@ -1770,14 +1770,14 @@ function ua(e, t) {
1770
1770
  while (!le(s) && s !== 0);
1771
1771
  }
1772
1772
  for (; s !== 0; ) {
1773
- for (tt(e), e.lineIndent = 0, s = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && s === 32; )
1773
+ for (nt(e), e.lineIndent = 0, s = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && s === 32; )
1774
1774
  e.lineIndent++, s = e.input.charCodeAt(++e.position);
1775
1775
  if (!a && e.lineIndent > l && (l = e.lineIndent), le(s)) {
1776
1776
  c++;
1777
1777
  continue;
1778
1778
  }
1779
1779
  if (e.lineIndent < l) {
1780
- i === mt ? e.result += z.repeat(`
1780
+ i === ht ? e.result += z.repeat(`
1781
1781
  `, o ? 1 + c : c) : i === qe && o && (e.result += `
1782
1782
  `);
1783
1783
  break;
@@ -1792,7 +1792,7 @@ function ua(e, t) {
1792
1792
  }
1793
1793
  return !0;
1794
1794
  }
1795
- function bt(e, t) {
1795
+ function xt(e, t) {
1796
1796
  var n, r = e.tag, i = e.anchor, o = [], a, l = !1, c;
1797
1797
  if (e.firstTabInLine !== -1) return !1;
1798
1798
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), !(c !== 45 || (a = e.input.charCodeAt(e.position + 1), !re(a)))); ) {
@@ -1800,21 +1800,21 @@ function bt(e, t) {
1800
1800
  o.push(null), c = e.input.charCodeAt(e.position);
1801
1801
  continue;
1802
1802
  }
1803
- if (n = e.line, _e(e, t, cn, !1, !0), o.push(e.result), J(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1803
+ if (n = e.line, _e(e, t, sn, !1, !0), o.push(e.result), J(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1804
1804
  _(e, "bad indentation of a sequence entry");
1805
1805
  else if (e.lineIndent < t)
1806
1806
  break;
1807
1807
  }
1808
1808
  return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1809
1809
  }
1810
- function da(e, t, n) {
1810
+ function fa(e, t, n) {
1811
1811
  var r, i, o, a, l, c, u = e.tag, d = e.anchor, s = {}, m = /* @__PURE__ */ Object.create(null), f = null, y = null, h = null, C = !1, E = !1, b;
1812
1812
  if (e.firstTabInLine !== -1) return !1;
1813
1813
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), b = e.input.charCodeAt(e.position); b !== 0; ) {
1814
1814
  if (!C && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (b === 63 || b === 58) && re(r))
1815
1815
  b === 63 ? (C && (Ce(e, s, m, f, y, null, a, l, c), f = y = h = null), E = !0, C = !0, i = !0) : C ? (C = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
1816
1816
  else {
1817
- if (a = e.line, l = e.lineStart, c = e.position, !_e(e, n, ln, !1, !0))
1817
+ if (a = e.line, l = e.lineStart, c = e.position, !_e(e, n, cn, !1, !0))
1818
1818
  break;
1819
1819
  if (e.line === o) {
1820
1820
  for (b = e.input.charCodeAt(e.position); ge(b); )
@@ -1837,7 +1837,7 @@ function da(e, t, n) {
1837
1837
  }
1838
1838
  return C && Ce(e, s, m, f, y, null, a, l, c), E && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = s), E;
1839
1839
  }
1840
- function fa(e) {
1840
+ function pa(e) {
1841
1841
  var t, n = !1, r = !1, i, o, a;
1842
1842
  if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
1843
1843
  if (e.tag !== null && _(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (r = !0, i = "!!", a = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
@@ -1847,10 +1847,10 @@ function fa(e) {
1847
1847
  e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : _(e, "unexpected end of the stream within a verbatim tag");
1848
1848
  } else {
1849
1849
  for (; a !== 0 && !re(a); )
1850
- a === 33 && (r ? _(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), sn.test(i) || _(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1851
- o = e.input.slice(t, e.position), ea.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
1850
+ a === 33 && (r ? _(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), un.test(i) || _(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1851
+ o = e.input.slice(t, e.position), ta.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
1852
1852
  }
1853
- o && !un.test(o) && _(e, "tag name cannot contain such characters: " + o);
1853
+ o && !dn.test(o) && _(e, "tag name cannot contain such characters: " + o);
1854
1854
  try {
1855
1855
  o = decodeURIComponent(o);
1856
1856
  } catch {
@@ -1858,14 +1858,14 @@ function fa(e) {
1858
1858
  }
1859
1859
  return n ? e.tag = o : fe.call(e.tagMap, i) ? e.tag = e.tagMap[i] + o : i === "!" ? e.tag = "!" + o : i === "!!" ? e.tag = "tag:yaml.org,2002:" + o : _(e, 'undeclared tag handle "' + i + '"'), !0;
1860
1860
  }
1861
- function pa(e) {
1861
+ function ma(e) {
1862
1862
  var t, n;
1863
1863
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
1864
1864
  for (e.anchor !== null && _(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !xe(n); )
1865
1865
  n = e.input.charCodeAt(++e.position);
1866
1866
  return e.position === t && _(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1867
1867
  }
1868
- function ma(e) {
1868
+ function ha(e) {
1869
1869
  var t, n, r;
1870
1870
  if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
1871
1871
  for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !xe(r); )
@@ -1874,10 +1874,10 @@ function ma(e) {
1874
1874
  }
1875
1875
  function _e(e, t, n, r, i) {
1876
1876
  var o, a, l, c = 1, u = !1, d = !1, s, m, f, y, h, C;
1877
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Oe === n || cn === n, r && J(e, !0, -1) && (u = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
1878
- for (; fa(e) || pa(e); )
1877
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Oe === n || sn === n, r && J(e, !0, -1) && (u = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
1878
+ for (; pa(e) || ma(e); )
1879
1879
  J(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : l = !1;
1880
- if (l && (l = u || i), (c === 1 || Oe === n) && (Fe === n || ln === n ? h = t : h = t + 1, C = e.position - e.lineStart, c === 1 ? l && (bt(e, C) || da(e, C, h)) || sa(e, h) ? d = !0 : (a && ua(e, h) || la(e, h) || ca(e, h) ? d = !0 : ma(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : oa(e, h, Fe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && bt(e, C))), e.tag === null)
1880
+ if (l && (l = u || i), (c === 1 || Oe === n) && (Fe === n || cn === n ? h = t : h = t + 1, C = e.position - e.lineStart, c === 1 ? l && (xt(e, C) || fa(e, C, h)) || ua(e, h) ? d = !0 : (a && da(e, h) || ca(e, h) || sa(e, h) ? d = !0 : ha(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : la(e, h, Fe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && xt(e, C))), e.tag === null)
1881
1881
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1882
1882
  else if (e.tag === "?") {
1883
1883
  for (e.result !== null && e.kind !== "scalar" && _(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), s = 0, m = e.implicitTypes.length; s < m; s += 1)
@@ -1898,7 +1898,7 @@ function _e(e, t, n, r, i) {
1898
1898
  }
1899
1899
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
1900
1900
  }
1901
- function ha(e) {
1901
+ function ga(e) {
1902
1902
  var t = e.position, n, r, i, o = !1, a;
1903
1903
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (J(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
1904
1904
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !re(a); )
@@ -1917,9 +1917,9 @@ function ha(e) {
1917
1917
  a = e.input.charCodeAt(++e.position);
1918
1918
  i.push(e.input.slice(n, e.position));
1919
1919
  }
1920
- a !== 0 && tt(e), fe.call(yt, r) ? yt[r](e, r, i) : Le(e, 'unknown document directive "' + r + '"');
1920
+ a !== 0 && nt(e), fe.call(vt, r) ? vt[r](e, r, i) : Le(e, 'unknown document directive "' + r + '"');
1921
1921
  }
1922
- if (J(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, J(e, !0, -1)) : o && _(e, "directives end mark is expected"), _e(e, e.lineIndent - 1, Oe, !1, !0), J(e, !0, -1), e.checkLineBreaks && Xi.test(e.input.slice(t, e.position)) && Le(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && De(e)) {
1922
+ if (J(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, J(e, !0, -1)) : o && _(e, "directives end mark is expected"), _e(e, e.lineIndent - 1, Oe, !1, !0), J(e, !0, -1), e.checkLineBreaks && ea.test(e.input.slice(t, e.position)) && Le(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && De(e)) {
1923
1923
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, J(e, !0, -1));
1924
1924
  return;
1925
1925
  }
@@ -1928,36 +1928,36 @@ function ha(e) {
1928
1928
  else
1929
1929
  return;
1930
1930
  }
1931
- function mn(e, t) {
1931
+ function hn(e, t) {
1932
1932
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
1933
1933
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
1934
- var n = new aa(e, t), r = e.indexOf("\0");
1934
+ var n = new oa(e, t), r = e.indexOf("\0");
1935
1935
  for (r !== -1 && (n.position = r, _(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
1936
1936
  n.lineIndent += 1, n.position += 1;
1937
1937
  for (; n.position < n.length - 1; )
1938
- ha(n);
1938
+ ga(n);
1939
1939
  return n.documents;
1940
1940
  }
1941
- function ga(e, t, n) {
1941
+ function ya(e, t, n) {
1942
1942
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
1943
- var r = mn(e, n);
1943
+ var r = hn(e, n);
1944
1944
  if (typeof t != "function")
1945
1945
  return r;
1946
1946
  for (var i = 0, o = r.length; i < o; i += 1)
1947
1947
  t(r[i]);
1948
1948
  }
1949
- function ya(e, t) {
1950
- var n = mn(e, t);
1949
+ function va(e, t) {
1950
+ var n = hn(e, t);
1951
1951
  if (n.length !== 0) {
1952
1952
  if (n.length === 1)
1953
1953
  return n[0];
1954
1954
  throw new ne("expected a single document in the stream, but found more");
1955
1955
  }
1956
1956
  }
1957
- var va = ga, ba = ya, hn = {
1958
- loadAll: va,
1959
- load: ba
1960
- }, gn = Object.prototype.toString, yn = Object.prototype.hasOwnProperty, rt = 65279, xa = 9, Ie = 10, Ca = 13, Aa = 32, _a = 33, ka = 34, Ve = 35, wa = 37, Sa = 38, Ia = 39, $a = 42, vn = 44, Ta = 45, Re = 58, Ea = 61, Fa = 62, Oa = 63, La = 64, bn = 91, xn = 93, Ra = 96, Cn = 123, Ba = 124, An = 125, ee = {};
1957
+ var ba = ya, xa = va, gn = {
1958
+ loadAll: ba,
1959
+ load: xa
1960
+ }, yn = Object.prototype.toString, vn = Object.prototype.hasOwnProperty, it = 65279, Ca = 9, Ie = 10, Aa = 13, _a = 32, ka = 33, wa = 34, We = 35, Sa = 37, Ia = 38, Ta = 39, $a = 42, bn = 44, Ea = 45, Re = 58, Fa = 61, Oa = 62, La = 63, Ra = 64, xn = 91, Cn = 93, Ba = 96, An = 123, Ka = 124, _n = 125, ee = {};
1961
1961
  ee[0] = "\\0";
1962
1962
  ee[7] = "\\a";
1963
1963
  ee[8] = "\\b";
@@ -1973,7 +1973,7 @@ ee[133] = "\\N";
1973
1973
  ee[160] = "\\_";
1974
1974
  ee[8232] = "\\L";
1975
1975
  ee[8233] = "\\P";
1976
- var Ka = [
1976
+ var Na = [
1977
1977
  "y",
1978
1978
  "Y",
1979
1979
  "yes",
@@ -1990,15 +1990,15 @@ var Ka = [
1990
1990
  "off",
1991
1991
  "Off",
1992
1992
  "OFF"
1993
- ], Na = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1994
- function Ma(e, t) {
1993
+ ], Ma = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1994
+ function Da(e, t) {
1995
1995
  var n, r, i, o, a, l, c;
1996
1996
  if (t === null) return {};
1997
1997
  for (n = {}, r = Object.keys(t), i = 0, o = r.length; i < o; i += 1)
1998
- a = r[i], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), c = e.compiledTypeMap.fallback[a], c && yn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
1998
+ a = r[i], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), c = e.compiledTypeMap.fallback[a], c && vn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
1999
1999
  return n;
2000
2000
  }
2001
- function Da(e) {
2001
+ function ja(e) {
2002
2002
  var t, n, r;
2003
2003
  if (t = e.toString(16).toUpperCase(), e <= 255)
2004
2004
  n = "x", r = 2;
@@ -2010,22 +2010,22 @@ function Da(e) {
2010
2010
  throw new ne("code point within a string may not be greater than 0xFFFFFFFF");
2011
2011
  return "\\" + n + z.repeat("0", r - t.length) + t;
2012
2012
  }
2013
- var ja = 1, $e = 2;
2014
- function Ua(e) {
2015
- this.schema = e.schema || et, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ma(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 === '"' ? $e : ja, 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;
2013
+ var Ua = 1, Te = 2;
2014
+ function Pa(e) {
2015
+ this.schema = e.schema || tt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Da(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 === '"' ? Te : Ua, 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;
2016
2016
  }
2017
- function xt(e, t) {
2017
+ function Ct(e, t) {
2018
2018
  for (var n = z.repeat(" ", t), r = 0, i = -1, o = "", a, l = e.length; r < l; )
2019
2019
  i = e.indexOf(`
2020
2020
  `, r), i === -1 ? (a = e.slice(r), r = l) : (a = e.slice(r, i + 1), r = i + 1), a.length && a !== `
2021
2021
  ` && (o += n), o += a;
2022
2022
  return o;
2023
2023
  }
2024
- function We(e, t) {
2024
+ function Je(e, t) {
2025
2025
  return `
2026
2026
  ` + z.repeat(" ", e.indent * t);
2027
2027
  }
2028
- function Pa(e, t) {
2028
+ function qa(e, t) {
2029
2029
  var n, r, i;
2030
2030
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2031
2031
  if (i = e.implicitTypes[n], i.resolve(t))
@@ -2033,71 +2033,71 @@ function Pa(e, t) {
2033
2033
  return !1;
2034
2034
  }
2035
2035
  function Be(e) {
2036
- return e === Aa || e === xa;
2036
+ return e === _a || e === Ca;
2037
2037
  }
2038
- function Te(e) {
2039
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== rt || 65536 <= e && e <= 1114111;
2038
+ function $e(e) {
2039
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== it || 65536 <= e && e <= 1114111;
2040
2040
  }
2041
- function Ct(e) {
2042
- return Te(e) && e !== rt && e !== Ca && e !== Ie;
2041
+ function At(e) {
2042
+ return $e(e) && e !== it && e !== Aa && e !== Ie;
2043
2043
  }
2044
- function At(e, t, n) {
2045
- var r = Ct(e), i = r && !Be(e);
2044
+ function _t(e, t, n) {
2045
+ var r = At(e), i = r && !Be(e);
2046
2046
  return (
2047
2047
  // ns-plain-safe
2048
2048
  (n ? (
2049
2049
  // c = flow-in
2050
2050
  r
2051
- ) : r && e !== vn && e !== bn && e !== xn && e !== Cn && e !== An) && e !== Ve && !(t === Re && !i) || Ct(t) && !Be(t) && e === Ve || t === Re && i
2051
+ ) : r && e !== bn && e !== xn && e !== Cn && e !== An && e !== _n) && e !== We && !(t === Re && !i) || At(t) && !Be(t) && e === We || t === Re && i
2052
2052
  );
2053
2053
  }
2054
- function qa(e) {
2055
- return Te(e) && e !== rt && !Be(e) && e !== Ta && e !== Oa && e !== Re && e !== vn && e !== bn && e !== xn && e !== Cn && e !== An && e !== Ve && e !== Sa && e !== $a && e !== _a && e !== Ba && e !== Ea && e !== Fa && e !== Ia && e !== ka && e !== wa && e !== La && e !== Ra;
2056
- }
2057
2054
  function Ha(e) {
2055
+ return $e(e) && e !== it && !Be(e) && e !== Ea && e !== La && e !== Re && e !== bn && e !== xn && e !== Cn && e !== An && e !== _n && e !== We && e !== Ia && e !== $a && e !== ka && e !== Ka && e !== Fa && e !== Oa && e !== Ta && e !== wa && e !== Sa && e !== Ra && e !== Ba;
2056
+ }
2057
+ function Ya(e) {
2058
2058
  return !Be(e) && e !== Re;
2059
2059
  }
2060
2060
  function we(e, t) {
2061
2061
  var n = e.charCodeAt(t), r;
2062
2062
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
2063
2063
  }
2064
- function _n(e) {
2064
+ function kn(e) {
2065
2065
  var t = /^\n* /;
2066
2066
  return t.test(e);
2067
2067
  }
2068
- var kn = 1, Je = 2, wn = 3, Sn = 4, be = 5;
2069
- function Ya(e, t, n, r, i, o, a, l) {
2070
- var c, u = 0, d = null, s = !1, m = !1, f = r !== -1, y = -1, h = qa(we(e, 0)) && Ha(we(e, e.length - 1));
2068
+ var wn = 1, Ge = 2, Sn = 3, In = 4, be = 5;
2069
+ function Va(e, t, n, r, i, o, a, l) {
2070
+ var c, u = 0, d = null, s = !1, m = !1, f = r !== -1, y = -1, h = Ha(we(e, 0)) && Ya(we(e, e.length - 1));
2071
2071
  if (t || a)
2072
2072
  for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
2073
- if (u = we(e, c), !Te(u))
2073
+ if (u = we(e, c), !$e(u))
2074
2074
  return be;
2075
- h = h && At(u, d, l), d = u;
2075
+ h = h && _t(u, d, l), d = u;
2076
2076
  }
2077
2077
  else {
2078
2078
  for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
2079
2079
  if (u = we(e, c), u === Ie)
2080
2080
  s = !0, f && (m = m || // Foldable line = too long, and not more-indented.
2081
2081
  c - y - 1 > r && e[y + 1] !== " ", y = c);
2082
- else if (!Te(u))
2082
+ else if (!$e(u))
2083
2083
  return be;
2084
- h = h && At(u, d, l), d = u;
2084
+ h = h && _t(u, d, l), d = u;
2085
2085
  }
2086
2086
  m = m || f && c - y - 1 > r && e[y + 1] !== " ";
2087
2087
  }
2088
- return !s && !m ? h && !a && !i(e) ? kn : o === $e ? be : Je : n > 9 && _n(e) ? be : a ? o === $e ? be : Je : m ? Sn : wn;
2088
+ return !s && !m ? h && !a && !i(e) ? wn : o === Te ? be : Ge : n > 9 && kn(e) ? be : a ? o === Te ? be : Ge : m ? In : Sn;
2089
2089
  }
2090
- function Va(e, t, n, r, i) {
2090
+ function Wa(e, t, n, r, i) {
2091
2091
  e.dump = function() {
2092
2092
  if (t.length === 0)
2093
- return e.quotingType === $e ? '""' : "''";
2094
- if (!e.noCompatMode && (Ka.indexOf(t) !== -1 || Na.test(t)))
2095
- return e.quotingType === $e ? '"' + t + '"' : "'" + t + "'";
2093
+ return e.quotingType === Te ? '""' : "''";
2094
+ if (!e.noCompatMode && (Na.indexOf(t) !== -1 || Ma.test(t)))
2095
+ return e.quotingType === Te ? '"' + t + '"' : "'" + t + "'";
2096
2096
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2097
2097
  function c(u) {
2098
- return Pa(e, u);
2098
+ return qa(e, u);
2099
2099
  }
2100
- switch (Ya(
2100
+ switch (Va(
2101
2101
  t,
2102
2102
  l,
2103
2103
  e.indent,
@@ -2107,47 +2107,47 @@ function Va(e, t, n, r, i) {
2107
2107
  e.forceQuotes && !r,
2108
2108
  i
2109
2109
  )) {
2110
- case kn:
2110
+ case wn:
2111
2111
  return t;
2112
- case Je:
2112
+ case Ge:
2113
2113
  return "'" + t.replace(/'/g, "''") + "'";
2114
- case wn:
2115
- return "|" + _t(t, e.indent) + kt(xt(t, o));
2116
2114
  case Sn:
2117
- return ">" + _t(t, e.indent) + kt(xt(Wa(t, a), o));
2115
+ return "|" + kt(t, e.indent) + wt(Ct(t, o));
2116
+ case In:
2117
+ return ">" + kt(t, e.indent) + wt(Ct(Ja(t, a), o));
2118
2118
  case be:
2119
- return '"' + Ja(t) + '"';
2119
+ return '"' + Ga(t) + '"';
2120
2120
  default:
2121
2121
  throw new ne("impossible error: invalid scalar style");
2122
2122
  }
2123
2123
  }();
2124
2124
  }
2125
- function _t(e, t) {
2126
- var n = _n(e) ? String(t) : "", r = e[e.length - 1] === `
2125
+ function kt(e, t) {
2126
+ var n = kn(e) ? String(t) : "", r = e[e.length - 1] === `
2127
2127
  `, i = r && (e[e.length - 2] === `
2128
2128
  ` || e === `
2129
2129
  `), o = i ? "+" : r ? "" : "-";
2130
2130
  return n + o + `
2131
2131
  `;
2132
2132
  }
2133
- function kt(e) {
2133
+ function wt(e) {
2134
2134
  return e[e.length - 1] === `
2135
2135
  ` ? e.slice(0, -1) : e;
2136
2136
  }
2137
- function Wa(e, t) {
2137
+ function Ja(e, t) {
2138
2138
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2139
2139
  var u = e.indexOf(`
2140
2140
  `);
2141
- return u = u !== -1 ? u : e.length, n.lastIndex = u, wt(e.slice(0, u), t);
2141
+ return u = u !== -1 ? u : e.length, n.lastIndex = u, St(e.slice(0, u), t);
2142
2142
  }(), i = e[0] === `
2143
2143
  ` || e[0] === " ", o, a; a = n.exec(e); ) {
2144
2144
  var l = a[1], c = a[2];
2145
2145
  o = c[0] === " ", r += l + (!i && !o && c !== "" ? `
2146
- ` : "") + wt(c, t), i = o;
2146
+ ` : "") + St(c, t), i = o;
2147
2147
  }
2148
2148
  return r;
2149
2149
  }
2150
- function wt(e, t) {
2150
+ function St(e, t) {
2151
2151
  if (e === "" || e[0] === " ") return e;
2152
2152
  for (var n = / [^ ]/g, r, i = 0, o, a = 0, l = 0, c = ""; r = n.exec(e); )
2153
2153
  l = r.index, l - i > t && (o = a > i ? a : l, c += `
@@ -2156,30 +2156,30 @@ function wt(e, t) {
2156
2156
  `, e.length - i > t && a > i ? c += e.slice(i, a) + `
2157
2157
  ` + e.slice(a + 1) : c += e.slice(i), c.slice(1);
2158
2158
  }
2159
- function Ja(e) {
2159
+ function Ga(e) {
2160
2160
  for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
2161
- n = we(e, i), r = ee[n], !r && Te(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Da(n);
2161
+ n = we(e, i), r = ee[n], !r && $e(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || ja(n);
2162
2162
  return t;
2163
2163
  }
2164
- function Ga(e, t, n) {
2164
+ function za(e, t, n) {
2165
2165
  var r = "", i = e.tag, o, a, l;
2166
2166
  for (o = 0, a = n.length; o < a; o += 1)
2167
2167
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (se(e, t, l, !1, !1) || typeof l > "u" && se(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2168
2168
  e.tag = i, e.dump = "[" + r + "]";
2169
2169
  }
2170
- function St(e, t, n, r) {
2170
+ function It(e, t, n, r) {
2171
2171
  var i = "", o = e.tag, a, l, c;
2172
2172
  for (a = 0, l = n.length; a < l; a += 1)
2173
- c = n[a], e.replacer && (c = e.replacer.call(n, String(a), c)), (se(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && se(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += We(e, t)), e.dump && Ie === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2173
+ c = n[a], e.replacer && (c = e.replacer.call(n, String(a), c)), (se(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && se(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += Je(e, t)), e.dump && Ie === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2174
2174
  e.tag = o, e.dump = i || "[]";
2175
2175
  }
2176
- function za(e, t, n) {
2176
+ function Qa(e, t, n) {
2177
2177
  var r = "", i = e.tag, o = Object.keys(n), a, l, c, u, d;
2178
2178
  for (a = 0, l = o.length; a < l; a += 1)
2179
2179
  d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), c = o[a], u = n[c], e.replacer && (u = e.replacer.call(n, c, u)), se(e, t, c, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), se(e, t, u, !1, !1) && (d += e.dump, r += d));
2180
2180
  e.tag = i, e.dump = "{" + r + "}";
2181
2181
  }
2182
- function Qa(e, t, n, r) {
2182
+ function Za(e, t, n, r) {
2183
2183
  var i = "", o = e.tag, a = Object.keys(n), l, c, u, d, s, m;
2184
2184
  if (e.sortKeys === !0)
2185
2185
  a.sort();
@@ -2188,17 +2188,17 @@ function Qa(e, t, n, r) {
2188
2188
  else if (e.sortKeys)
2189
2189
  throw new ne("sortKeys must be a boolean or a function");
2190
2190
  for (l = 0, c = a.length; l < c; l += 1)
2191
- m = "", (!r || i !== "") && (m += We(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), se(e, t + 1, u, !0, !0, !0) && (s = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, s && (e.dump && Ie === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, s && (m += We(e, t)), se(e, t + 1, d, !0, s) && (e.dump && Ie === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, i += m));
2191
+ m = "", (!r || i !== "") && (m += Je(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), se(e, t + 1, u, !0, !0, !0) && (s = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, s && (e.dump && Ie === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, s && (m += Je(e, t)), se(e, t + 1, d, !0, s) && (e.dump && Ie === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, i += m));
2192
2192
  e.tag = o, e.dump = i || "{}";
2193
2193
  }
2194
- function It(e, t, n) {
2194
+ function Tt(e, t, n) {
2195
2195
  var r, i, o, a, l, c;
2196
2196
  for (i = n ? e.explicitTypes : e.implicitTypes, o = 0, a = i.length; o < a; o += 1)
2197
2197
  if (l = i[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2198
2198
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2199
- if (c = e.styleMap[l.tag] || l.defaultStyle, gn.call(l.represent) === "[object Function]")
2199
+ if (c = e.styleMap[l.tag] || l.defaultStyle, yn.call(l.represent) === "[object Function]")
2200
2200
  r = l.represent(t, c);
2201
- else if (yn.call(l.represent, c))
2201
+ else if (vn.call(l.represent, c))
2202
2202
  r = l.represent[c](t, c);
2203
2203
  else
2204
2204
  throw new ne("!<" + l.tag + '> tag resolver accepts not "' + c + '" style');
@@ -2209,19 +2209,19 @@ function It(e, t, n) {
2209
2209
  return !1;
2210
2210
  }
2211
2211
  function se(e, t, n, r, i, o, a) {
2212
- e.tag = null, e.dump = n, It(e, n, !1) || It(e, n, !0);
2213
- var l = gn.call(e.dump), c = r, u;
2212
+ e.tag = null, e.dump = n, Tt(e, n, !1) || Tt(e, n, !0);
2213
+ var l = yn.call(e.dump), c = r, u;
2214
2214
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2215
2215
  var d = l === "[object Object]" || l === "[object Array]", s, m;
2216
2216
  if (d && (s = e.duplicates.indexOf(n), m = s !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && t > 0) && (i = !1), m && e.usedDuplicates[s])
2217
2217
  e.dump = "*ref_" + s;
2218
2218
  else {
2219
2219
  if (d && m && !e.usedDuplicates[s] && (e.usedDuplicates[s] = !0), l === "[object Object]")
2220
- r && Object.keys(e.dump).length !== 0 ? (Qa(e, t, e.dump, i), m && (e.dump = "&ref_" + s + e.dump)) : (za(e, t, e.dump), m && (e.dump = "&ref_" + s + " " + e.dump));
2220
+ r && Object.keys(e.dump).length !== 0 ? (Za(e, t, e.dump, i), m && (e.dump = "&ref_" + s + e.dump)) : (Qa(e, t, e.dump), m && (e.dump = "&ref_" + s + " " + e.dump));
2221
2221
  else if (l === "[object Array]")
2222
- r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? St(e, t - 1, e.dump, i) : St(e, t, e.dump, i), m && (e.dump = "&ref_" + s + e.dump)) : (Ga(e, t, e.dump), m && (e.dump = "&ref_" + s + " " + e.dump));
2222
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? It(e, t - 1, e.dump, i) : It(e, t, e.dump, i), m && (e.dump = "&ref_" + s + e.dump)) : (za(e, t, e.dump), m && (e.dump = "&ref_" + s + " " + e.dump));
2223
2223
  else if (l === "[object String]")
2224
- e.tag !== "?" && Va(e, e.dump, t, o, c);
2224
+ e.tag !== "?" && Wa(e, e.dump, t, o, c);
2225
2225
  else {
2226
2226
  if (l === "[object Undefined]")
2227
2227
  return !1;
@@ -2234,71 +2234,71 @@ function se(e, t, n, r, i, o, a) {
2234
2234
  }
2235
2235
  return !0;
2236
2236
  }
2237
- function Za(e, t) {
2237
+ function Xa(e, t) {
2238
2238
  var n = [], r = [], i, o;
2239
- for (Ge(e, n, r), i = 0, o = r.length; i < o; i += 1)
2239
+ for (ze(e, n, r), i = 0, o = r.length; i < o; i += 1)
2240
2240
  t.duplicates.push(n[r[i]]);
2241
2241
  t.usedDuplicates = new Array(o);
2242
2242
  }
2243
- function Ge(e, t, n) {
2243
+ function ze(e, t, n) {
2244
2244
  var r, i, o;
2245
2245
  if (e !== null && typeof e == "object")
2246
2246
  if (i = t.indexOf(e), i !== -1)
2247
2247
  n.indexOf(i) === -1 && n.push(i);
2248
2248
  else if (t.push(e), Array.isArray(e))
2249
2249
  for (i = 0, o = e.length; i < o; i += 1)
2250
- Ge(e[i], t, n);
2250
+ ze(e[i], t, n);
2251
2251
  else
2252
2252
  for (r = Object.keys(e), i = 0, o = r.length; i < o; i += 1)
2253
- Ge(e[r[i]], t, n);
2253
+ ze(e[r[i]], t, n);
2254
2254
  }
2255
- function Xa(e, t) {
2255
+ function eo(e, t) {
2256
2256
  t = t || {};
2257
- var n = new Ua(t);
2258
- n.noRefs || Za(e, n);
2257
+ var n = new Pa(t);
2258
+ n.noRefs || Xa(e, n);
2259
2259
  var r = e;
2260
2260
  return n.replacer && (r = n.replacer.call({ "": r }, "", r)), se(n, 0, r, !0, !0) ? n.dump + `
2261
2261
  ` : "";
2262
2262
  }
2263
- var eo = Xa, to = {
2264
- dump: eo
2263
+ var to = eo, no = {
2264
+ dump: to
2265
2265
  };
2266
- function it(e, t) {
2266
+ function at(e, t) {
2267
2267
  return function() {
2268
2268
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2269
2269
  };
2270
2270
  }
2271
- var no = X, ro = Ut, io = Yt, ao = zt, oo = Qt, lo = et, co = hn.load, so = hn.loadAll, uo = to.dump, fo = ne, po = {
2272
- binary: nn,
2273
- float: Gt,
2274
- map: Ht,
2275
- null: Vt,
2276
- pairs: an,
2277
- set: on,
2278
- timestamp: en,
2279
- bool: Wt,
2280
- int: Jt,
2281
- merge: tn,
2282
- omap: rn,
2283
- seq: qt,
2284
- str: Pt
2285
- }, mo = it("safeLoad", "load"), ho = it("safeLoadAll", "loadAll"), go = it("safeDump", "dump"), yo = {
2286
- Type: no,
2287
- Schema: ro,
2288
- FAILSAFE_SCHEMA: io,
2289
- JSON_SCHEMA: ao,
2290
- CORE_SCHEMA: oo,
2291
- DEFAULT_SCHEMA: lo,
2292
- load: co,
2293
- loadAll: so,
2294
- dump: uo,
2295
- YAMLException: fo,
2296
- types: po,
2297
- safeLoad: mo,
2298
- safeLoadAll: ho,
2299
- safeDump: go
2271
+ var ro = X, io = Pt, ao = Vt, oo = Qt, lo = Zt, co = tt, so = gn.load, uo = gn.loadAll, fo = no.dump, po = ne, mo = {
2272
+ binary: rn,
2273
+ float: zt,
2274
+ map: Yt,
2275
+ null: Wt,
2276
+ pairs: on,
2277
+ set: ln,
2278
+ timestamp: tn,
2279
+ bool: Jt,
2280
+ int: Gt,
2281
+ merge: nn,
2282
+ omap: an,
2283
+ seq: Ht,
2284
+ str: qt
2285
+ }, ho = at("safeLoad", "load"), go = at("safeLoadAll", "loadAll"), yo = at("safeDump", "dump"), vo = {
2286
+ Type: ro,
2287
+ Schema: io,
2288
+ FAILSAFE_SCHEMA: ao,
2289
+ JSON_SCHEMA: oo,
2290
+ CORE_SCHEMA: lo,
2291
+ DEFAULT_SCHEMA: co,
2292
+ load: so,
2293
+ loadAll: uo,
2294
+ dump: fo,
2295
+ YAMLException: po,
2296
+ types: mo,
2297
+ safeLoad: ho,
2298
+ safeLoadAll: go,
2299
+ safeDump: yo
2300
2300
  };
2301
- const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2301
+ const bo = { class: "yaml-config" }, Tn = /* @__PURE__ */ Q({
2302
2302
  __name: "YamlCodeBlock",
2303
2303
  props: {
2304
2304
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2310,11 +2310,11 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2310
2310
  setup(e) {
2311
2311
  const t = e, n = I(() => {
2312
2312
  const r = Object.fromEntries(Object.entries(t.entityRecord).filter(([, i]) => i !== null && i !== "" && (Array.isArray(i) ? i.length !== 0 : !0)));
2313
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : yo.dump(r).trim();
2313
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : vo.dump(r).trim();
2314
2314
  });
2315
2315
  return (r, i) => {
2316
2316
  const o = M("KCodeBlock");
2317
- return g(), O("div", vo, [
2317
+ return g(), O("div", bo, [
2318
2318
  t.entityRecord ? (g(), j(o, {
2319
2319
  key: 0,
2320
2320
  id: "yaml-codeblock",
@@ -2325,7 +2325,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2325
2325
  ]);
2326
2326
  };
2327
2327
  }
2328
- }), bo = { class: "terraform-config" }, te = " ", $n = /* @__PURE__ */ Q({
2328
+ }), xo = { class: "terraform-config" }, te = " ", $n = /* @__PURE__ */ Q({
2329
2329
  __name: "TerraformCodeBlock",
2330
2330
  props: {
2331
2331
  /** A record to indicate the entity's configuration, used to populate the Terraform code block */
@@ -2411,7 +2411,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2411
2411
  });
2412
2412
  return (l, c) => {
2413
2413
  const u = M("KCodeBlock");
2414
- return g(), O("div", bo, [
2414
+ return g(), O("div", xo, [
2415
2415
  t.entityRecord ? (g(), j(u, {
2416
2416
  key: 0,
2417
2417
  id: "terraform-codeblock",
@@ -2422,13 +2422,13 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2422
2422
  ]);
2423
2423
  };
2424
2424
  }
2425
- }), xo = {
2425
+ }), Co = {
2426
2426
  key: 0,
2427
2427
  class: "config-card-display-form"
2428
- }, Co = ["data-testid"], Ao = {
2428
+ }, Ao = ["data-testid"], _o = {
2429
2429
  key: 0,
2430
2430
  class: "config-card-prop-section-title"
2431
- }, _o = /* @__PURE__ */ Q({
2431
+ }, ko = /* @__PURE__ */ Q({
2432
2432
  __name: "ConfigCardDisplay",
2433
2433
  props: {
2434
2434
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2472,21 +2472,21 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2472
2472
  }
2473
2473
  },
2474
2474
  setup(e) {
2475
- const t = e, n = ze(), { i18n: { t: r } } = W.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = I(() => {
2475
+ const t = e, n = Qe(), { i18n: { t: r } } = W.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = I(() => {
2476
2476
  if (!t.record)
2477
2477
  return t.record;
2478
2478
  const a = JSON.parse(JSON.stringify(t.record));
2479
2479
  return delete a.created_at, delete a.updated_at, a;
2480
2480
  });
2481
2481
  return (a, l) => (g(), O(ce, null, [
2482
- e.format === "structured" ? (g(), O("div", xo, [
2482
+ e.format === "structured" ? (g(), O("div", Co, [
2483
2483
  (g(!0), O(ce, null, oe(e.propListTypes, (c) => (g(), O("div", {
2484
2484
  key: `config-card-details-${c}-props`,
2485
2485
  class: de(`config-card-details-${c}-props`),
2486
2486
  "data-testid": `config-card-details-${c}-props`
2487
2487
  }, [
2488
- c !== "basic" ? (g(), O("div", Ao, N(c === "advanced" ? w(r)("baseConfigCard.sections.advanced") : w(r)("baseConfigCard.sections.plugin")), 1)) : P("", !0),
2489
- (g(!0), O(ce, null, oe(e.propertyCollections[c], (u) => (g(), j(Nt, {
2488
+ c !== "basic" ? (g(), O("div", _o, N(c === "advanced" ? w(r)("baseConfigCard.sections.advanced") : w(r)("baseConfigCard.sections.plugin")), 1)) : P("", !0),
2489
+ (g(!0), O(ce, null, oe(e.propertyCollections[c], (u) => (g(), j(Mt, {
2490
2490
  key: u.key,
2491
2491
  item: u
2492
2492
  }, Ae({
@@ -2509,16 +2509,16 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2509
2509
  key: "0"
2510
2510
  } : void 0
2511
2511
  ]), 1032, ["item"]))), 128))
2512
- ], 10, Co))), 128))
2512
+ ], 10, Ao))), 128))
2513
2513
  ])) : P("", !0),
2514
- e.format === "json" && o.value ? (g(), j(Mt, {
2514
+ e.format === "json" && o.value ? (g(), j(Dt, {
2515
2515
  key: 1,
2516
2516
  config: t.config,
2517
2517
  "entity-record": o.value,
2518
2518
  "fetcher-url": t.fetcherUrl,
2519
2519
  "request-method": "get"
2520
2520
  }, null, 8, ["config", "entity-record", "fetcher-url"])) : P("", !0),
2521
- e.format === "yaml" && o.value ? (g(), j(In, {
2521
+ e.format === "yaml" && o.value ? (g(), j(Tn, {
2522
2522
  key: 2,
2523
2523
  "entity-record": o.value
2524
2524
  }, null, 8, ["entity-record"])) : P("", !0),
@@ -2529,10 +2529,10 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2529
2529
  }, null, 8, ["entity-record", "entity-type"])) : P("", !0)
2530
2530
  ], 64));
2531
2531
  }
2532
- }), ko = /* @__PURE__ */ ae(_o, [["__scopeId", "data-v-d15be7fe"]]), wo = {
2532
+ }), wo = /* @__PURE__ */ ae(ko, [["__scopeId", "data-v-d15be7fe"]]), So = {
2533
2533
  class: "config-card-title",
2534
2534
  "data-testid": "config-card-title"
2535
- }, So = { class: "config-card-actions" }, Io = ["href"], $o = { class: "config-card-details-section" }, To = /* @__PURE__ */ Q({
2535
+ }, Io = { class: "config-card-actions" }, To = ["href"], $o = { class: "config-card-details-section" }, Eo = /* @__PURE__ */ Q({
2536
2536
  __name: "EntityBaseConfigCard",
2537
2537
  props: {
2538
2538
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2683,20 +2683,20 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2683
2683
  section: ie.Basic
2684
2684
  }
2685
2685
  }, m = K(!1), f = K(!1), y = K(""), h = K({}), C = I(() => {
2686
- var T, $, L;
2686
+ var $, T, L;
2687
2687
  if (!h.value)
2688
2688
  return [];
2689
2689
  const p = [], v = Object.keys(h.value).length;
2690
2690
  for (const R in h.value) {
2691
- const S = ($ = (T = r.configSchema) == null ? void 0 : T[R]) == null ? void 0 : $.order, H = (L = s[R]) == null ? void 0 : L.order;
2691
+ const S = (T = ($ = r.configSchema) == null ? void 0 : $[R]) == null ? void 0 : T.order, H = (L = s[R]) == null ? void 0 : L.order;
2692
2692
  let U = v;
2693
2693
  (H || H === 0) && (U = H === -1 ? v + 1 : H), S && (U = S === -1 ? v + 1 : S), p.push([R, U]);
2694
2694
  }
2695
2695
  return p.sort(function(R, S) {
2696
2696
  return R[1] - S[1];
2697
2697
  }), p.map((R) => {
2698
- var pe, at;
2699
- const S = R[0], H = (pe = h.value) == null ? void 0 : pe[S], U = ((at = r.configSchema) == null ? void 0 : at[S]) || {}, G = s[S];
2698
+ var pe, ot;
2699
+ const S = R[0], H = (pe = h.value) == null ? void 0 : pe[S], U = ((ot = r.configSchema) == null ? void 0 : ot[S]) || {}, G = s[S];
2700
2700
  return {
2701
2701
  key: S,
2702
2702
  value: H,
@@ -2708,18 +2708,18 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2708
2708
  };
2709
2709
  }).filter((R) => !R.hidden && R.key !== r.pluginConfigKey);
2710
2710
  }), E = I(() => {
2711
- var $, L;
2711
+ var T, L;
2712
2712
  if (!h.value || !r.pluginConfigKey)
2713
2713
  return [];
2714
- const p = h.value[r.pluginConfigKey] || {}, v = Object.keys(p).length, T = [];
2714
+ const p = h.value[r.pluginConfigKey] || {}, v = Object.keys(p).length, $ = [];
2715
2715
  for (const R in p) {
2716
- const S = (L = ($ = r.pluginConfigSchema) == null ? void 0 : $[R]) == null ? void 0 : L.order, H = p[R];
2716
+ const S = (L = (T = r.pluginConfigSchema) == null ? void 0 : T[R]) == null ? void 0 : L.order, H = p[R];
2717
2717
  let U = H != null && H !== "" ? v - 1 : v;
2718
- S && (U = S === -1 ? v + 1 : S), T.push([R, U]);
2718
+ S && (U = S === -1 ? v + 1 : S), $.push([R, U]);
2719
2719
  }
2720
- return T.sort(function(R, S) {
2720
+ return $.sort(function(R, S) {
2721
2721
  return R[1] - S[1];
2722
- }), T.map((R) => {
2722
+ }), $.map((R) => {
2723
2723
  var G;
2724
2724
  const S = R[0], H = p[S], U = ((G = r.pluginConfigSchema) == null ? void 0 : G[S]) || {};
2725
2725
  return {
@@ -2733,23 +2733,23 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2733
2733
  };
2734
2734
  }).filter((R) => !R.hidden);
2735
2735
  }), b = I(() => {
2736
- var p, v, T, $;
2736
+ var p, v, $, T;
2737
2737
  return {
2738
2738
  basic: (p = C.value) == null ? void 0 : p.filter((L) => L.section === ie.Basic),
2739
2739
  advanced: (v = C.value) == null ? void 0 : v.filter((L) => L.section === ie.Advanced),
2740
- plugin: ($ = E.value) == null ? void 0 : $.concat((T = C.value) == null ? void 0 : T.filter((L) => L.section === ie.Plugin))
2740
+ plugin: (T = E.value) == null ? void 0 : T.concat(($ = C.value) == null ? void 0 : $.filter((L) => L.section === ie.Plugin))
2741
2741
  };
2742
2742
  }), F = I(() => {
2743
2743
  const p = [];
2744
2744
  return b.value.basic.length && p.push("basic"), b.value.advanced.length && p.push("advanced"), b.value.plugin.length && p.push("plugin"), p;
2745
2745
  }), k = I(() => {
2746
- var v, T;
2746
+ var v, $;
2747
2747
  let p = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2748
- return r.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((v = r.config) == null ? void 0 : v.controlPlaneId) || "") : r.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (T = r.config) != null && T.workspace ? `/${r.config.workspace}` : "")), p = p.replace(/{id}/gi, r.config.entityId), p;
2748
+ return r.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((v = r.config) == null ? void 0 : v.controlPlaneId) || "") : r.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, ($ = r.config) != null && $.workspace ? `/${r.config.workspace}` : "")), p = p.replace(/{id}/gi, r.config.entityId), p;
2749
2749
  });
2750
2750
  return ke(m, (p) => {
2751
2751
  n("loading", p);
2752
- }, { immediate: !0 }), Ft(async () => {
2752
+ }, { immediate: !0 }), Ot(async () => {
2753
2753
  f.value = !1, m.value = !0;
2754
2754
  try {
2755
2755
  const { data: p } = await l.get(k.value);
@@ -2760,8 +2760,8 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2760
2760
  throw new Error(i("errors.dataKeyUndefined", { dataKey: r.dataKey }));
2761
2761
  else
2762
2762
  h.value = { ...p };
2763
- Object.keys(r.configSchema).filter((T) => r.configSchema[T].forceShow).forEach((T) => {
2764
- h.value && typeof h.value[T] > "u" && (h.value[T] = null);
2763
+ Object.keys(r.configSchema).filter(($) => r.configSchema[$].forceShow).forEach(($) => {
2764
+ h.value && typeof h.value[$] > "u" && (h.value[$] = null);
2765
2765
  }), n("fetch:success", p);
2766
2766
  } catch (p) {
2767
2767
  const v = o(p);
@@ -2770,15 +2770,15 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2770
2770
  m.value = !1;
2771
2771
  }
2772
2772
  }), (p, v) => {
2773
- const T = M("KLabel"), $ = M("KSelect"), L = M("KButton"), R = M("KSkeleton"), S = M("KEmptyState"), H = M("KCard");
2773
+ const $ = M("KLabel"), T = M("KSelect"), L = M("KButton"), R = M("KSkeleton"), S = M("KEmptyState"), H = M("KCard");
2774
2774
  return g(), j(H, {
2775
2775
  class: "kong-ui-entity-base-config-card",
2776
2776
  "title-tag": e.titleTag
2777
2777
  }, Ae({
2778
2778
  actions: A(() => [
2779
- D("div", So, [
2779
+ D("div", Io, [
2780
2780
  V(p.$slots, "actions", {}, void 0, !0),
2781
- B(T, {
2781
+ B($, {
2782
2782
  class: "config-format-select-label",
2783
2783
  "data-testid": "config-format-select-label"
2784
2784
  }, {
@@ -2787,7 +2787,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2787
2787
  ]),
2788
2788
  _: 1
2789
2789
  }),
2790
- B($, {
2790
+ B(T, {
2791
2791
  "data-testid": "select-config-format",
2792
2792
  items: c,
2793
2793
  onChange: d
@@ -2804,8 +2804,8 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2804
2804
  rel: "noopener",
2805
2805
  target: "_blank"
2806
2806
  }, [
2807
- B(w(Un), { size: w(Kr) }, null, 8, ["size"])
2808
- ], 8, Io)
2807
+ B(w(Pn), { size: w(Nr) }, null, 8, ["size"])
2808
+ ], 8, To)
2809
2809
  ]),
2810
2810
  _: 1
2811
2811
  })) : P("", !0)
@@ -2828,7 +2828,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2828
2828
  _: 1
2829
2829
  })) : P("", !0),
2830
2830
  D("div", $o, [
2831
- B(ko, {
2831
+ B(wo, {
2832
2832
  config: e.config,
2833
2833
  "entity-type": e.entityType,
2834
2834
  "fetcher-url": k.value,
@@ -2854,7 +2854,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2854
2854
  e.hideTitle ? void 0 : {
2855
2855
  name: "title",
2856
2856
  fn: A(() => [
2857
- D("span", wo, [
2857
+ D("span", So, [
2858
2858
  V(p.$slots, "title", {}, () => [
2859
2859
  Y(N(w(i)("baseConfigCard.title")), 1)
2860
2860
  ], !0)
@@ -2865,10 +2865,10 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2865
2865
  ]), 1032, ["title-tag"]);
2866
2866
  };
2867
2867
  }
2868
- }), Sl = /* @__PURE__ */ ae(To, [["__scopeId", "data-v-85381f68"]]), Eo = ["novalidate"], Fo = {
2868
+ }), Il = /* @__PURE__ */ ae(Eo, [["__scopeId", "data-v-85381f68"]]), Fo = ["novalidate"], Oo = {
2869
2869
  class: "form-actions",
2870
2870
  "data-testid": "form-actions"
2871
- }, Oo = /* @__PURE__ */ Q({
2871
+ }, Lo = /* @__PURE__ */ Q({
2872
2872
  __name: "EntityBaseForm",
2873
2873
  props: {
2874
2874
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2953,7 +2953,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2953
2953
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
2954
2954
  setup(e, { emit: t }) {
2955
2955
  var k;
2956
- const n = t, r = e, i = Wn(), { i18n: { t: o } } = W.useI18n(), { getMessageFromError: a } = W.useErrors(), { axiosInstance: l } = W.useAxios((k = r.config) == null ? void 0 : k.axiosRequestConfig), c = K(!1), u = I(() => !!r.editId), d = K(!1), s = K(""), m = I(() => r.canSubmit === !1 || r.isReadonly), f = K(!1), y = I(() => {
2956
+ const n = t, r = e, i = Jn(), { i18n: { t: o } } = W.useI18n(), { getMessageFromError: a } = W.useErrors(), { axiosInstance: l } = W.useAxios((k = r.config) == null ? void 0 : k.axiosRequestConfig), c = K(!1), u = I(() => !!r.editId), d = K(!1), s = K(""), m = I(() => r.canSubmit === !1 || r.isReadonly), f = K(!1), y = I(() => {
2957
2957
  var p, v;
2958
2958
  let x = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2959
2959
  return r.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((p = r.config) == null ? void 0 : p.controlPlaneId) || "") : r.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (v = r.config) != null && v.workspace ? `/${r.config.workspace}` : "")), r.editId ? (x = x.replace(/{id}/gi, r.editId), x) : (x = x.replace(/\/{id}/gi, ""), x);
@@ -2975,12 +2975,12 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2975
2975
  hash: "#yaml"
2976
2976
  }
2977
2977
  ]);
2978
- return r.enableTerraform && r.entityType !== Qe.Other && F.value.splice(1, 0, {
2978
+ return r.enableTerraform && r.entityType !== Ze.Other && F.value.splice(1, 0, {
2979
2979
  title: o("baseForm.configuration.terraform"),
2980
2980
  hash: "#terraform"
2981
2981
  }), ke(() => c.value, (x) => {
2982
2982
  n("loading", x);
2983
- }, { immediate: !0 }), Ft(async () => {
2983
+ }, { immediate: !0 }), Ot(async () => {
2984
2984
  if (r.editId)
2985
2985
  try {
2986
2986
  d.value = !1, c.value = !0;
@@ -2993,13 +2993,13 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
2993
2993
  c.value = !1;
2994
2994
  }
2995
2995
  }), (x, p) => {
2996
- const v = M("KSkeleton"), T = M("KEmptyState"), $ = M("KAlert"), L = M("KButton"), R = M("KTabs"), S = M("KSlideout");
2996
+ const v = M("KSkeleton"), $ = M("KEmptyState"), T = M("KAlert"), L = M("KButton"), R = M("KTabs"), S = M("KSlideout");
2997
2997
  return g(), j(Ke(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
2998
2998
  default: A(() => [
2999
2999
  c.value ? (g(), j(v, {
3000
3000
  key: 0,
3001
3001
  type: "form"
3002
- })) : d.value ? (g(), j(T, {
3002
+ })) : d.value ? (g(), j($, {
3003
3003
  key: 1,
3004
3004
  "action-button-text": w(o)("baseForm.actions.back"),
3005
3005
  "data-testid": "form-fetch-error",
@@ -3014,17 +3014,17 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3014
3014
  key: 2,
3015
3015
  "data-testid": "form-content",
3016
3016
  novalidate: r.noValidate,
3017
- onReset: He(E, ["prevent"]),
3018
- onSubmit: He(b, ["prevent"])
3017
+ onReset: Ye(E, ["prevent"]),
3018
+ onSubmit: Ye(b, ["prevent"])
3019
3019
  }, [
3020
3020
  V(x.$slots, "default", {}, void 0, !0),
3021
- e.errorMessage ? (g(), j($, {
3021
+ e.errorMessage ? (g(), j(T, {
3022
3022
  key: 0,
3023
3023
  appearance: "danger",
3024
3024
  "data-testid": "form-error",
3025
3025
  message: e.errorMessage
3026
3026
  }, null, 8, ["message"])) : P("", !0),
3027
- D("div", Fo, [
3027
+ D("div", Oo, [
3028
3028
  V(x.$slots, "form-actions", {}, () => [
3029
3029
  B(L, {
3030
3030
  appearance: "tertiary",
@@ -3060,7 +3060,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3060
3060
  }, 8, ["data-testid", "disabled"])
3061
3061
  ], !0)
3062
3062
  ])
3063
- ], 40, Eo)),
3063
+ ], 40, Fo)),
3064
3064
  B(S, {
3065
3065
  "close-on-blur": !1,
3066
3066
  "data-testid": "form-view-configuration-slideout",
@@ -3077,7 +3077,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3077
3077
  tabs: F.value
3078
3078
  }, {
3079
3079
  json: A(() => [
3080
- B(Mt, {
3080
+ B(Dt, {
3081
3081
  config: e.config,
3082
3082
  "entity-record": r.formFields,
3083
3083
  "fetcher-url": y.value,
@@ -3085,7 +3085,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3085
3085
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3086
3086
  ]),
3087
3087
  yaml: A(() => [
3088
- B(In, {
3088
+ B(Tn, {
3089
3089
  "entity-record": r.formFields
3090
3090
  }, null, 8, ["entity-record"])
3091
3091
  ]),
@@ -3105,7 +3105,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3105
3105
  });
3106
3106
  };
3107
3107
  }
3108
- }), Il = /* @__PURE__ */ ae(Oo, [["__scopeId", "data-v-94d27e50"]]), Lo = ["data-truncate"], Ro = /* @__PURE__ */ Q({
3108
+ }), Tl = /* @__PURE__ */ ae(Lo, [["__scopeId", "data-v-94d27e50"]]), Ro = ["data-truncate"], Bo = /* @__PURE__ */ Q({
3109
3109
  __name: "EntityBaseTableCell",
3110
3110
  props: {
3111
3111
  keyName: {
@@ -3159,9 +3159,9 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3159
3159
  },
3160
3160
  { immediate: !0, flush: "post", deep: !0 }
3161
3161
  ), h = I(() => o.value ? d.value > s.value : !1);
3162
- return Rn(() => {
3162
+ return Bn(() => {
3163
3163
  c();
3164
- }), Bn(() => {
3164
+ }), Kn(() => {
3165
3165
  y();
3166
3166
  }), (C, E) => {
3167
3167
  const b = M("KTooltip");
@@ -3184,14 +3184,14 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3184
3184
  ]),
3185
3185
  _: 3
3186
3186
  }, 8, ["text"])
3187
- ], 8, Lo)) : V(C.$slots, "default", { key: 1 }, void 0, !0)
3187
+ ], 8, Ro)) : V(C.$slots, "default", { key: 1 }, void 0, !0)
3188
3188
  ], 512);
3189
3189
  };
3190
3190
  }
3191
- }), Bo = /* @__PURE__ */ ae(Ro, [["__scopeId", "data-v-b252463e"]]), Ko = { class: "toolbar-container" }, No = {
3191
+ }), Ko = /* @__PURE__ */ ae(Bo, [["__scopeId", "data-v-b252463e"]]), No = { class: "toolbar-container" }, Mo = {
3192
3192
  key: 0,
3193
3193
  class: "toolbar-button-container"
3194
- }, Mo = ["data-testid"], Do = /* @__PURE__ */ Q({
3194
+ }, Do = ["data-testid"], jo = /* @__PURE__ */ Q({
3195
3195
  __name: "EntityBaseTable",
3196
3196
  props: {
3197
3197
  // table header configuration
@@ -3322,13 +3322,13 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3322
3322
  };
3323
3323
  }), a = I(() => n.cacheIdentifier || n.preferencesStorageKey), l = (p) => p.hasData || !!n.query, c = I(() => {
3324
3324
  const p = [];
3325
- return Object.keys(n.tableHeaders).forEach((T) => {
3326
- const $ = n.tableHeaders[T];
3325
+ return Object.keys(n.tableHeaders).forEach(($) => {
3326
+ const T = n.tableHeaders[$];
3327
3327
  p.push({
3328
- label: $.label ?? T,
3329
- key: T,
3330
- sortable: $.sortable ?? !1,
3331
- hidable: $.hidable ?? !0
3328
+ label: T.label ?? $,
3329
+ key: $,
3330
+ sortable: T.sortable ?? !1,
3331
+ hidable: T.hidable ?? !0
3332
3332
  });
3333
3333
  }), n.enableEntityActions && p.push({
3334
3334
  key: "actions",
@@ -3359,7 +3359,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3359
3359
  r("click:row", v);
3360
3360
  }), C = (p) => {
3361
3361
  r("sort", p);
3362
- }, { setTablePreferences: E, getTablePreferences: b } = Xn(), F = K(b(a.value)), k = I(() => {
3362
+ }, { setTablePreferences: E, getTablePreferences: b } = er(), F = K(b(a.value)), k = I(() => {
3363
3363
  const p = b(a.value);
3364
3364
  return {
3365
3365
  ...n.initialFetcherParams,
@@ -3371,7 +3371,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3371
3371
  }), a.value && E(a.value, p);
3372
3372
  };
3373
3373
  return (p, v) => {
3374
- const T = M("KButton"), $ = M("KDropdown"), L = M("KTable"), R = M("KCard");
3374
+ const $ = M("KButton"), T = M("KDropdown"), L = M("KTable"), R = M("KCard");
3375
3375
  return g(), j(R, {
3376
3376
  class: "kong-ui-entity-base-table",
3377
3377
  title: e.title,
@@ -3412,9 +3412,9 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3412
3412
  "onUpdate:tablePreferences": x
3413
3413
  }, Ae({
3414
3414
  toolbar: A(({ state: S }) => [
3415
- me(D("div", Ko, [
3415
+ me(D("div", No, [
3416
3416
  V(p.$slots, "toolbar-filter", {}, void 0, !0),
3417
- p.$slots["toolbar-button"] ? (g(), O("div", No, [
3417
+ p.$slots["toolbar-button"] ? (g(), O("div", Mo, [
3418
3418
  V(p.$slots, "toolbar-button", {}, void 0, !0)
3419
3419
  ])) : P("", !0)
3420
3420
  ], 512), [
@@ -3426,7 +3426,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3426
3426
  class: "actions-container",
3427
3427
  "data-testid": S.name
3428
3428
  }, [
3429
- B($, {
3429
+ B(T, {
3430
3430
  "kpop-attributes": { placement: "bottom-end" },
3431
3431
  width: e.dropdownMenuWidth
3432
3432
  }, {
@@ -3438,7 +3438,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3438
3438
  }, void 0, !0)
3439
3439
  ]),
3440
3440
  default: A(() => [
3441
- B(T, {
3441
+ B($, {
3442
3442
  appearance: "tertiary",
3443
3443
  class: "actions-trigger",
3444
3444
  "data-testid": "overflow-actions-button",
@@ -3446,21 +3446,21 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3446
3446
  size: "small"
3447
3447
  }, {
3448
3448
  default: A(() => [
3449
- B(w(Pn))
3449
+ B(w(qn))
3450
3450
  ]),
3451
3451
  _: 1
3452
3452
  })
3453
3453
  ]),
3454
3454
  _: 2
3455
3455
  }, 1032, ["width"])
3456
- ], 8, Mo)
3456
+ ], 8, Do)
3457
3457
  ]),
3458
3458
  _: 2
3459
3459
  }, [
3460
3460
  oe(e.tableHeaders, (S, H) => ({
3461
3461
  name: H,
3462
3462
  fn: A(({ row: U, rowKey: G, rowValue: pe }) => [
3463
- B(Bo, {
3463
+ B(Ko, {
3464
3464
  "key-name": String(H),
3465
3465
  "row-el": s(U),
3466
3466
  tooltip: S.tooltip
@@ -3481,7 +3481,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3481
3481
  e.query ? void 0 : {
3482
3482
  name: "empty-state-action-icon",
3483
3483
  fn: A(() => [
3484
- B(w(qn))
3484
+ B(w(Hn))
3485
3485
  ]),
3486
3486
  key: "0"
3487
3487
  }
@@ -3491,13 +3491,13 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3491
3491
  }, 8, ["title", "title-tag"]);
3492
3492
  };
3493
3493
  }
3494
- }), $l = /* @__PURE__ */ ae(Do, [["__scopeId", "data-v-71b4425a"]]), jo = {
3494
+ }), $l = /* @__PURE__ */ ae(jo, [["__scopeId", "data-v-71b4425a"]]), Uo = {
3495
3495
  key: 0,
3496
3496
  class: "kong-ui-entity-delete-error"
3497
- }, Uo = {
3497
+ }, Po = {
3498
3498
  key: 1,
3499
3499
  class: "description"
3500
- }, Po = /* @__PURE__ */ Q({
3500
+ }, qo = /* @__PURE__ */ Q({
3501
3501
  __name: "EntityDeleteModal",
3502
3502
  props: {
3503
3503
  visible: {
@@ -3555,7 +3555,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3555
3555
  onProceed: l
3556
3556
  }, {
3557
3557
  default: A(() => [
3558
- e.error ? (g(), O("div", jo, [
3558
+ e.error ? (g(), O("div", Uo, [
3559
3559
  B(d, { appearance: "danger" }, {
3560
3560
  default: A(() => [
3561
3561
  Y(N(e.error), 1)
@@ -3581,7 +3581,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3581
3581
  key: "0"
3582
3582
  } : void 0
3583
3583
  ]), 1032, ["keypath"]),
3584
- r.description || c.$slots.description ? (g(), O("div", Uo, [
3584
+ r.description || c.$slots.description ? (g(), O("div", Po, [
3585
3585
  V(c.$slots, "description", {}, () => [
3586
3586
  D("p", null, N(r.description), 1)
3587
3587
  ], !0)
@@ -3591,13 +3591,13 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3591
3591
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3592
3592
  };
3593
3593
  }
3594
- }), Tl = /* @__PURE__ */ ae(Po, [["__scopeId", "data-v-4361d622"]]), qo = {
3594
+ }), El = /* @__PURE__ */ ae(qo, [["__scopeId", "data-v-4361d622"]]), Ho = {
3595
3595
  fill: "none",
3596
3596
  height: "20",
3597
3597
  viewBox: "0 0 20 20",
3598
3598
  width: "20",
3599
3599
  xmlns: "http://www.w3.org/2000/svg"
3600
- }, Ho = {
3600
+ }, Yo = {
3601
3601
  id: "mask0_180_20349",
3602
3602
  height: "20",
3603
3603
  maskUnits: "userSpaceOnUse",
@@ -3605,35 +3605,35 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3605
3605
  width: "20",
3606
3606
  x: "0",
3607
3607
  y: "0"
3608
- }, Yo = ["fill"], Vo = { mask: "url(#mask0_180_20349)" }, Wo = ["fill"], $t = /* @__PURE__ */ Q({
3608
+ }, Vo = ["fill"], Wo = { mask: "url(#mask0_180_20349)" }, Jo = ["fill"], $t = /* @__PURE__ */ Q({
3609
3609
  __name: "IconFilter",
3610
3610
  props: {
3611
3611
  color: {
3612
3612
  type: String,
3613
- default: `var(--kong-ui-entity-filter-color, ${Er})`
3613
+ default: `var(--kong-ui-entity-filter-color, ${Fr})`
3614
3614
  }
3615
3615
  },
3616
3616
  setup(e) {
3617
- return (t, n) => (g(), O("svg", qo, [
3618
- D("mask", Ho, [
3617
+ return (t, n) => (g(), O("svg", Ho, [
3618
+ D("mask", Yo, [
3619
3619
  D("rect", {
3620
3620
  fill: e.color,
3621
3621
  height: "20",
3622
3622
  width: "20"
3623
- }, null, 8, Yo)
3623
+ }, null, 8, Vo)
3624
3624
  ]),
3625
- D("g", Vo, [
3625
+ D("g", Wo, [
3626
3626
  D("path", {
3627
3627
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3628
3628
  fill: e.color
3629
- }, null, 8, Wo)
3629
+ }, null, 8, Jo)
3630
3630
  ])
3631
3631
  ]));
3632
3632
  }
3633
- }), Jo = {
3633
+ }), Go = {
3634
3634
  key: 1,
3635
3635
  class: "kong-ui-entity-filter"
3636
- }, Go = { class: "kong-ui-entity-filter-menu" }, zo = ["data-testid"], Qo = ["onClick", "onKeydown"], Zo = { class: "menu-item-indicator" }, Xo = { class: "menu-item-body" }, el = ["for"], tl = { class: "menu-item-buttons" }, nl = { class: "filter-clear-button-container" }, rl = /* @__PURE__ */ Q({
3636
+ }, zo = { class: "kong-ui-entity-filter-menu" }, Qo = ["data-testid"], Zo = ["onClick", "onKeydown"], Xo = { class: "menu-item-indicator" }, el = { class: "menu-item-body" }, tl = ["for"], nl = { class: "menu-item-buttons" }, rl = { class: "filter-clear-button-container" }, il = /* @__PURE__ */ Q({
3637
3637
  __name: "EntityFilter",
3638
3638
  props: {
3639
3639
  // filter config, either exact match or fuzzy match
@@ -3703,7 +3703,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3703
3703
  k && (o.value = !1), i("update:modelValue", new URLSearchParams(x).toString());
3704
3704
  };
3705
3705
  return (k, x) => {
3706
- const p = M("KInput"), v = M("KButton"), T = M("KSelect");
3706
+ const p = M("KInput"), v = M("KButton"), $ = M("KSelect");
3707
3707
  return e.config.isExactMatch ? (g(), j(p, {
3708
3708
  key: 0,
3709
3709
  autocomplete: "off",
@@ -3717,7 +3717,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3717
3717
  B($t)
3718
3718
  ]),
3719
3719
  after: A(() => [
3720
- me(B(w(Hn), {
3720
+ me(B(w(Yn), {
3721
3721
  class: "kong-ui-entity-filter-clear",
3722
3722
  onClick: f
3723
3723
  }, null, 512), [
@@ -3725,7 +3725,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3725
3725
  ])
3726
3726
  ]),
3727
3727
  _: 1
3728
- }, 8, ["model-value", "placeholder"])) : (g(), O("div", Jo, [
3728
+ }, 8, ["model-value", "placeholder"])) : (g(), O("div", Go, [
3729
3729
  B(v, {
3730
3730
  appearance: "tertiary",
3731
3731
  "data-testid": "filter-button",
@@ -3743,55 +3743,55 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3743
3743
  }, null, 512), [
3744
3744
  [he, o.value]
3745
3745
  ]),
3746
- me(D("div", Go, [
3747
- (g(!0), O(ce, null, oe(u.value, ($) => {
3746
+ me(D("div", zo, [
3747
+ (g(!0), O(ce, null, oe(u.value, (T) => {
3748
3748
  var L, R;
3749
3749
  return g(), O("div", {
3750
- key: $.value,
3750
+ key: T.value,
3751
3751
  class: "kong-ui-entity-filter-menu-item",
3752
- "data-testid": $.value
3752
+ "data-testid": T.value
3753
3753
  }, [
3754
3754
  D("span", {
3755
- class: de(["menu-item-title", { expanded: l.value.has($.value) }]),
3755
+ class: de(["menu-item-title", { expanded: l.value.has(T.value) }]),
3756
3756
  role: "button",
3757
3757
  tabindex: "0",
3758
- onClick: (S) => s($.value),
3759
- onKeydown: Kn((S) => s($.value), ["enter"])
3758
+ onClick: (S) => s(T.value),
3759
+ onKeydown: Nn((S) => s(T.value), ["enter"])
3760
3760
  }, [
3761
- Y(N($.label) + " ", 1),
3762
- me(D("span", Zo, null, 512), [
3763
- [he, c.value.includes($.value)]
3761
+ Y(N(T.label) + " ", 1),
3762
+ me(D("span", Xo, null, 512), [
3763
+ [he, c.value.includes(T.value)]
3764
3764
  ]),
3765
- B(w(Yn), {
3766
- class: de(["menu-item-expand-icon", { expanded: l.value.has($.value) }]),
3767
- color: w(Or)
3765
+ B(w(Vn), {
3766
+ class: de(["menu-item-expand-icon", { expanded: l.value.has(T.value) }]),
3767
+ color: w(Lr)
3768
3768
  }, null, 8, ["class", "color"])
3769
- ], 42, Qo),
3770
- me(D("div", Xo, [
3769
+ ], 42, Zo),
3770
+ me(D("div", el, [
3771
3771
  D("label", {
3772
3772
  class: "menu-item-label",
3773
- for: y($.value)
3774
- }, N(w(n)("filter.fieldLabel")), 9, el),
3775
- ((R = (L = e.config.schema) == null ? void 0 : L[$.value]) == null ? void 0 : R.type) === "select" ? (g(), j(T, {
3773
+ for: y(T.value)
3774
+ }, N(w(n)("filter.fieldLabel")), 9, tl),
3775
+ ((R = (L = e.config.schema) == null ? void 0 : L[T.value]) == null ? void 0 : R.type) === "select" ? (g(), j($, {
3776
3776
  key: 0,
3777
- id: y($.value),
3778
- modelValue: a.value[$.value],
3779
- "onUpdate:modelValue": (S) => a.value[$.value] = S,
3780
- items: h($.value),
3777
+ id: y(T.value),
3778
+ modelValue: a.value[T.value],
3779
+ "onUpdate:modelValue": (S) => a.value[T.value] = S,
3780
+ items: h(T.value),
3781
3781
  placeholder: w(n)("filter.selectPlaceholder")
3782
3782
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (g(), j(p, {
3783
3783
  key: 1,
3784
- id: y($.value),
3785
- modelValue: a.value[$.value],
3786
- "onUpdate:modelValue": (S) => a.value[$.value] = S,
3784
+ id: y(T.value),
3785
+ modelValue: a.value[T.value],
3786
+ "onUpdate:modelValue": (S) => a.value[T.value] = S,
3787
3787
  autocomplete: "off",
3788
3788
  placeholder: w(n)("filter.inputPlaceholder"),
3789
- type: C($.value)
3789
+ type: C(T.value)
3790
3790
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3791
3791
  ], 512), [
3792
- [he, l.value.has($.value)]
3792
+ [he, l.value.has(T.value)]
3793
3793
  ]),
3794
- me(D("div", tl, [
3794
+ me(D("div", nl, [
3795
3795
  B(v, {
3796
3796
  appearance: "tertiary",
3797
3797
  "data-testid": "apply-filter",
@@ -3807,7 +3807,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3807
3807
  appearance: "tertiary",
3808
3808
  "data-testid": "clear-filter",
3809
3809
  size: "small",
3810
- onClick: (S) => E($.value)
3810
+ onClick: (S) => E(T.value)
3811
3811
  }, {
3812
3812
  default: A(() => [
3813
3813
  Y(N(w(n)("filter.clearButtonText")), 1)
@@ -3815,11 +3815,11 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3815
3815
  _: 2
3816
3816
  }, 1032, ["onClick"])
3817
3817
  ], 512), [
3818
- [he, l.value.has($.value)]
3818
+ [he, l.value.has(T.value)]
3819
3819
  ])
3820
- ], 8, zo);
3820
+ ], 8, Qo);
3821
3821
  }), 128)),
3822
- D("div", nl, [
3822
+ D("div", rl, [
3823
3823
  B(v, {
3824
3824
  appearance: "tertiary",
3825
3825
  size: "small",
@@ -3837,7 +3837,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3837
3837
  ]));
3838
3838
  };
3839
3839
  }
3840
- }), El = /* @__PURE__ */ ae(rl, [["__scopeId", "data-v-94990087"]]), Fl = /* @__PURE__ */ Q({
3840
+ }), Fl = /* @__PURE__ */ ae(il, [["__scopeId", "data-v-94990087"]]), Ol = /* @__PURE__ */ Q({
3841
3841
  __name: "EntityToggleModal",
3842
3842
  props: {
3843
3843
  visible: {
@@ -3887,7 +3887,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3887
3887
  };
3888
3888
  return (s, m) => {
3889
3889
  const f = M("KPrompt");
3890
- return g(), j(Nn, { to: "body" }, [
3890
+ return g(), j(Mn, { to: "body" }, [
3891
3891
  B(f, {
3892
3892
  "action-button-disabled": a.value,
3893
3893
  "action-button-text": c.value,
@@ -3916,7 +3916,7 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3916
3916
  ]);
3917
3917
  };
3918
3918
  }
3919
- }), Ol = /* @__PURE__ */ Q({
3919
+ }), Ll = /* @__PURE__ */ Q({
3920
3920
  __name: "PermissionsWrapper",
3921
3921
  props: {
3922
3922
  /**
@@ -3947,36 +3947,36 @@ const vo = { class: "yaml-config" }, In = /* @__PURE__ */ Q({
3947
3947
  }) : P("", !0);
3948
3948
  }
3949
3949
  });
3950
- let Ee;
3951
- const il = new Uint8Array(16);
3952
- function al() {
3950
+ var Z = [];
3951
+ for (var He = 0; He < 256; ++He)
3952
+ Z.push((He + 256).toString(16).slice(1));
3953
+ function al(e, t = 0) {
3954
+ return (Z[e[t + 0]] + Z[e[t + 1]] + Z[e[t + 2]] + Z[e[t + 3]] + "-" + Z[e[t + 4]] + Z[e[t + 5]] + "-" + Z[e[t + 6]] + Z[e[t + 7]] + "-" + Z[e[t + 8]] + Z[e[t + 9]] + "-" + Z[e[t + 10]] + Z[e[t + 11]] + Z[e[t + 12]] + Z[e[t + 13]] + Z[e[t + 14]] + Z[e[t + 15]]).toLowerCase();
3955
+ }
3956
+ var Ee, ol = new Uint8Array(16);
3957
+ function ll() {
3953
3958
  if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
3954
3959
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3955
- return Ee(il);
3956
- }
3957
- const Z = [];
3958
- for (let e = 0; e < 256; ++e)
3959
- Z.push((e + 256).toString(16).slice(1));
3960
- function ol(e, t = 0) {
3961
- return Z[e[t + 0]] + Z[e[t + 1]] + Z[e[t + 2]] + Z[e[t + 3]] + "-" + Z[e[t + 4]] + Z[e[t + 5]] + "-" + Z[e[t + 6]] + Z[e[t + 7]] + "-" + Z[e[t + 8]] + Z[e[t + 9]] + "-" + Z[e[t + 10]] + Z[e[t + 11]] + Z[e[t + 12]] + Z[e[t + 13]] + Z[e[t + 14]] + Z[e[t + 15]];
3960
+ return Ee(ol);
3962
3961
  }
3963
- const ll = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Tt = {
3964
- randomUUID: ll
3962
+ var cl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3963
+ const Et = {
3964
+ randomUUID: cl
3965
3965
  };
3966
- function cl(e, t, n) {
3967
- if (Tt.randomUUID && !t && !e)
3968
- return Tt.randomUUID();
3966
+ function sl(e, t, n) {
3967
+ if (Et.randomUUID && !t && !e)
3968
+ return Et.randomUUID();
3969
3969
  e = e || {};
3970
- const r = e.random || (e.rng || al)();
3971
- return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, ol(r);
3970
+ var r = e.random || (e.rng || ll)();
3971
+ return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, al(r);
3972
3972
  }
3973
- const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
3973
+ const ul = ["aria-labelledby"], dl = { class: "form-section-wrapper" }, fl = {
3974
3974
  key: 1,
3975
3975
  class: "form-section-description"
3976
- }, fl = {
3976
+ }, pl = {
3977
3977
  key: 2,
3978
3978
  class: "form-section-footer"
3979
- }, pl = { class: "form-section-content" }, ml = /* @__PURE__ */ Q({
3979
+ }, ml = { class: "form-section-content" }, hl = /* @__PURE__ */ Q({
3980
3980
  __name: "EntityFormSection",
3981
3981
  props: {
3982
3982
  title: {
@@ -4005,13 +4005,13 @@ const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
4005
4005
  }
4006
4006
  },
4007
4007
  setup(e) {
4008
- const t = ze(), n = cl();
4008
+ const t = Qe(), n = sl();
4009
4009
  return (r, i) => (g(), O("div", {
4010
4010
  "aria-labelledby": e.title ? w(n) : void 0,
4011
4011
  class: de(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4012
4012
  role: "group"
4013
4013
  }, [
4014
- D("div", ul, [
4014
+ D("div", dl, [
4015
4015
  e.hideInfoHeader ? P("", !0) : (g(), O("div", {
4016
4016
  key: 0,
4017
4017
  class: de(["form-section-info", { sticky: e.stickyInfoHeader }])
@@ -4026,28 +4026,28 @@ const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
4026
4026
  ]),
4027
4027
  _: 1
4028
4028
  }, 8, ["id"])) : P("", !0),
4029
- e.description || w(t).description ? (g(), O("div", dl, [
4029
+ e.description || w(t).description ? (g(), O("div", fl, [
4030
4030
  V(r.$slots, "description", {}, () => [
4031
4031
  D("p", null, N(e.description), 1)
4032
4032
  ], !0)
4033
4033
  ])) : P("", !0),
4034
- w(t).footer ? (g(), O("div", fl, [
4034
+ w(t).footer ? (g(), O("div", pl, [
4035
4035
  V(r.$slots, "footer", {}, void 0, !0)
4036
4036
  ])) : P("", !0)
4037
4037
  ], 2)),
4038
- D("div", pl, [
4038
+ D("div", ml, [
4039
4039
  V(r.$slots, "default", {}, void 0, !0)
4040
4040
  ])
4041
4041
  ])
4042
- ], 10, sl));
4042
+ ], 10, ul));
4043
4043
  }
4044
- }), Ll = /* @__PURE__ */ ae(ml, [["__scopeId", "data-v-b1f74200"]]), hl = {
4044
+ }), Rl = /* @__PURE__ */ ae(hl, [["__scopeId", "data-v-b1f74200"]]), gl = {
4045
4045
  class: "kong-ui-public-entity-link",
4046
4046
  "data-testid": "entity-link-parent"
4047
- }, gl = {
4047
+ }, yl = {
4048
4048
  key: 0,
4049
4049
  class: "deleted-entity"
4050
- }, yl = { key: 1 }, vl = ["onClick"], bl = /* @__PURE__ */ Q({
4050
+ }, vl = { key: 1 }, bl = ["onClick"], xl = /* @__PURE__ */ Q({
4051
4051
  __name: "EntityLink",
4052
4052
  props: {
4053
4053
  entityLinkData: {
@@ -4084,8 +4084,8 @@ const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
4084
4084
  };
4085
4085
  return (s, m) => {
4086
4086
  const f = M("KTooltip"), y = M("KExternalLink"), h = M("KClipboardProvider");
4087
- return g(), O("div", hl, [
4088
- l.value ? (g(), O("div", gl, N(u.value), 1)) : c.value ? c.value ? (g(), j(y, {
4087
+ return g(), O("div", gl, [
4088
+ l.value ? (g(), O("div", yl, N(u.value), 1)) : c.value ? c.value ? (g(), j(y, {
4089
4089
  key: 2,
4090
4090
  class: "entity-link",
4091
4091
  "hide-icon": !e.newWindow,
@@ -4107,7 +4107,7 @@ const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
4107
4107
  }, 8, ["text"])
4108
4108
  ]),
4109
4109
  _: 1
4110
- }, 8, ["hide-icon", "href", "target"])) : P("", !0) : (g(), O("div", yl, N(" – "))),
4110
+ }, 8, ["hide-icon", "href", "target"])) : P("", !0) : (g(), O("div", vl, N(" – "))),
4111
4111
  c.value && e.allowCopy ? (g(), j(f, {
4112
4112
  key: a.value,
4113
4113
  class: "copy-uuid-tooltip",
@@ -4120,15 +4120,15 @@ const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
4120
4120
  default: A(({ copyToClipboard: C }) => [
4121
4121
  D("span", {
4122
4122
  class: "entity-link-copy-id",
4123
- onClick: He((E) => d(C), ["stop"])
4123
+ onClick: Ye((E) => d(C), ["stop"])
4124
4124
  }, [
4125
- B(w(Vn), {
4125
+ B(w(Wn), {
4126
4126
  class: "copy-icon",
4127
- color: w(Lr),
4127
+ color: w(Rr),
4128
4128
  "data-testid": "copy-id",
4129
- size: w(Br)
4129
+ size: w(Kr)
4130
4130
  }, null, 8, ["color", "size"])
4131
- ], 8, vl)
4131
+ ], 8, bl)
4132
4132
  ]),
4133
4133
  _: 1
4134
4134
  })
@@ -4138,40 +4138,40 @@ const sl = ["aria-labelledby"], ul = { class: "form-section-wrapper" }, dl = {
4138
4138
  ]);
4139
4139
  };
4140
4140
  }
4141
- }), Rl = /* @__PURE__ */ ae(bl, [["__scopeId", "data-v-60e3ef7c"]]), { useAxios: Bl, useDeleteUrlBuilder: Kl, useErrors: Nl, useExternalLinkCreator: Ml, useFetchUrlBuilder: Dl, useFetcher: jl, useDebouncedFilter: Ul, useStringHelpers: Pl, useHelpers: ql, useGatewayFeatureSupported: Hl, useTruncationDetector: Yl, useValidators: Vl } = W;
4141
+ }), Bl = /* @__PURE__ */ ae(xl, [["__scopeId", "data-v-60e3ef7c"]]), { useAxios: Kl, useDeleteUrlBuilder: Nl, useErrors: Ml, useExternalLinkCreator: Dl, useFetchUrlBuilder: jl, useFetcher: Ul, useDebouncedFilter: Pl, useStringHelpers: ql, useHelpers: Hl, useGatewayFeatureSupported: Yl, useTruncationDetector: Vl, useValidators: Wl } = W;
4142
4142
  export {
4143
- ko as ConfigCardDisplay,
4144
- Nt as ConfigCardItem,
4143
+ wo as ConfigCardDisplay,
4144
+ Mt as ConfigCardItem,
4145
4145
  ie as ConfigurationSchemaSection,
4146
4146
  q as ConfigurationSchemaType,
4147
- Sl as EntityBaseConfigCard,
4148
- Il as EntityBaseForm,
4149
- Gn as EntityBaseFormType,
4147
+ Il as EntityBaseConfigCard,
4148
+ Tl as EntityBaseForm,
4149
+ zn as EntityBaseFormType,
4150
4150
  $l as EntityBaseTable,
4151
- Tl as EntityDeleteModal,
4152
- El as EntityFilter,
4153
- Ll as EntityFormSection,
4154
- Rl as EntityLink,
4155
- Fl as EntityToggleModal,
4156
- Jn as EntityTypes,
4151
+ El as EntityDeleteModal,
4152
+ Fl as EntityFilter,
4153
+ Rl as EntityFormSection,
4154
+ Bl as EntityLink,
4155
+ Ol as EntityToggleModal,
4156
+ Gn as EntityTypes,
4157
4157
  ve as FetcherStatus,
4158
4158
  $r as InternalLinkItem,
4159
- Mt as JsonCodeBlock,
4160
- Ol as PermissionsWrapper,
4161
- Qe as SupportedEntityType,
4159
+ Dt as JsonCodeBlock,
4160
+ Ll as PermissionsWrapper,
4161
+ Ze as SupportedEntityType,
4162
4162
  Ne as SupportedEntityTypesArray,
4163
4163
  $n as TerraformCodeBlock,
4164
- In as YamlCodeBlock,
4165
- Bl as useAxios,
4166
- Ul as useDebouncedFilter,
4167
- Kl as useDeleteUrlBuilder,
4168
- Nl as useErrors,
4169
- Ml as useExternalLinkCreator,
4170
- Dl as useFetchUrlBuilder,
4171
- jl as useFetcher,
4172
- Hl as useGatewayFeatureSupported,
4173
- ql as useHelpers,
4174
- Pl as useStringHelpers,
4175
- Yl as useTruncationDetector,
4176
- Vl as useValidators
4164
+ Tn as YamlCodeBlock,
4165
+ Kl as useAxios,
4166
+ Pl as useDebouncedFilter,
4167
+ Nl as useDeleteUrlBuilder,
4168
+ Ml as useErrors,
4169
+ Dl as useExternalLinkCreator,
4170
+ jl as useFetchUrlBuilder,
4171
+ Ul as useFetcher,
4172
+ Yl as useGatewayFeatureSupported,
4173
+ Hl as useHelpers,
4174
+ ql as useStringHelpers,
4175
+ Vl as useTruncationDetector,
4176
+ Wl as useValidators
4177
4177
  };