@kong-ui-public/entities-shared 3.10.17 → 3.10.18

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 Rt, ref as B, computed as $, unref as T, watch as ge, toValue as Bn, provide as Bt, toRef as Kn, defineComponent as z, openBlock as v, createBlock as D, resolveDynamicComponent as De, normalizeClass as fe, withCtx as C, createElementBlock as R, createElementVNode as M, toDisplayString as K, createCommentVNode as q, Fragment as le, renderList as oe, resolveComponent as j, createVNode as N, createTextVNode as V, useCssVars as Kt, useSlots as et, renderSlot as W, createSlots as ke, normalizeProps as Nn, guardReactiveProps as Mn, mergeProps as Dn, onBeforeMount as Nt, withModifiers as Le, onMounted as jn, onUnmounted as Un, withDirectives as ye, vShow as ve, withKeys as Pn, Teleport as qn } from "vue";
2
- import ut from "axios";
3
- import { createI18n as Hn, i18nTComponent as Yn } from "@kong-ui-public/i18n";
4
- import { BadgeMethodAppearances as Vn, KTruncate as Wn, KBadge as Jn } from "@kong/kongponents";
5
- import { BookIcon as Gn, AddIcon as zn, CloseIcon as Qn, ChevronDownIcon as Zn, CopyIcon as Xn } from "@kong/icons";
6
- import { useRouter as er } from "vue-router";
7
- var tr = /* @__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))(tr || {}), nr = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nr || {}), ue = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(ue || {}), tt = /* @__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))(tt || {});
8
- const je = Object.values(tt);
1
+ import { inject as Rt, ref as B, computed as $, unref as I, toValue as Kn, watch as _e, provide as Bt, toRef as Nn, defineComponent as z, openBlock as v, createBlock as D, resolveDynamicComponent as Me, normalizeClass as fe, withCtx as C, createElementBlock as R, createElementVNode as M, toDisplayString as K, createCommentVNode as q, Fragment as le, renderList as oe, resolveComponent as j, createVNode as N, createTextVNode as V, useCssVars as Kt, useSlots as Xe, renderSlot as W, createSlots as Ae, normalizeProps as Mn, guardReactiveProps as Dn, mergeProps as jn, onBeforeMount as Nt, withModifiers as Oe, onMounted as Un, onUnmounted as Pn, withDirectives as ge, vShow as ye, withKeys as qn, Teleport as Hn } from "vue";
2
+ import st from "axios";
3
+ import { createI18n as Yn, i18nTComponent as Vn } from "@kong-ui-public/i18n";
4
+ import { BadgeMethodAppearances as Wn, KTruncate as Jn, KBadge as Gn } from "@kong/kongponents";
5
+ import { BookIcon as zn, AddIcon as Qn, CloseIcon as Zn, ChevronDownIcon as Xn, CopyIcon as er } from "@kong/icons";
6
+ import { useRouter as tr } from "vue-router";
7
+ var nr = /* @__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))(nr || {}), rr = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(rr || {}), ue = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(ue || {}), et = /* @__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))(et || {});
8
+ const De = Object.values(et);
9
9
  var P = /* @__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))(P || {}), ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ie || {});
10
- function rr() {
10
+ function ir() {
11
11
  return {
12
12
  getAxiosInstance: (e = {}) => {
13
13
  try {
14
14
  const t = Rt("get-axios-instance", void 0);
15
- return typeof t == "function" ? t(e) : ut.create({
15
+ return typeof t == "function" ? t(e) : st.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), ut.create({
21
+ return console.warn("getAxiosInstance:", t.message || t), st.create({
22
22
  withCredentials: !0,
23
23
  timeout: 3e4,
24
24
  ...e
@@ -31,7 +31,7 @@ function rr() {
31
31
  }
32
32
  };
33
33
  }
34
- function ir() {
34
+ function ar() {
35
35
  return {
36
36
  debounce: (e, t) => {
37
37
  let n;
@@ -43,13 +43,13 @@ function ir() {
43
43
  }
44
44
  };
45
45
  }
46
- const qe = "khcp-user-table-preferences", ar = {
46
+ const Pe = "khcp-user-table-preferences", or = {
47
47
  pageSize: 30,
48
48
  sortColumnKey: void 0,
49
49
  sortColumnOrder: void 0,
50
50
  columnVisibility: {}
51
51
  };
52
- function or() {
52
+ function lr() {
53
53
  const e = (n) => {
54
54
  if (typeof n == "string")
55
55
  try {
@@ -59,44 +59,44 @@ function or() {
59
59
  return;
60
60
  }
61
61
  }, t = () => {
62
- const n = e(localStorage.getItem(qe));
62
+ const n = e(localStorage.getItem(Pe));
63
63
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
64
64
  };
65
65
  return {
66
66
  setTablePreferences: (n, r) => {
67
67
  try {
68
68
  const i = t();
69
- i.set(n, r), localStorage.setItem(qe, JSON.stringify(Object.fromEntries(i.entries())));
69
+ i.set(n, r), localStorage.setItem(Pe, JSON.stringify(Object.fromEntries(i.entries())));
70
70
  } catch (i) {
71
71
  console.error("useTablePreferences(setTablePreferences)", i);
72
72
  }
73
73
  },
74
74
  getTablePreferences: (n, r) => {
75
75
  const i = t();
76
- return (i == null ? void 0 : i.get(n)) || void 0 || r || ar;
76
+ return (i == null ? void 0 : i.get(n)) || void 0 || r || or;
77
77
  },
78
78
  deleteAllTablePreferences: () => {
79
- localStorage.removeItem(qe);
79
+ localStorage.removeItem(Pe);
80
80
  }
81
81
  };
82
82
  }
83
- function nt(e = {}) {
84
- const { getAxiosInstance: t } = rr();
83
+ function tt(e = {}) {
84
+ const { getAxiosInstance: t } = ir();
85
85
  return {
86
86
  axiosInstance: t(e)
87
87
  };
88
88
  }
89
- const lr = {
89
+ const cr = {
90
90
  actions: {
91
91
  copyId: "Copy ID",
92
92
  copied_id: 'Copied "{id}" to the clipboard',
93
93
  copyToClipboard: "Copied successfully!",
94
94
  copyToClipboardFailed: "Failed to copy to the clipboard"
95
95
  }
96
- }, cr = {
96
+ }, sr = {
97
97
  message: "Are you sure you want to delete this {entityType}?",
98
98
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
99
- }, sr = {
99
+ }, ur = {
100
100
  actions: {
101
101
  viewConfiguration: "View Configuration",
102
102
  save: "Save",
@@ -113,13 +113,13 @@ const lr = {
113
113
  errors: {
114
114
  edit: "The entity could not be edited at this time."
115
115
  }
116
- }, ur = {
116
+ }, dr = {
117
117
  emptyState: {
118
118
  noSearchResultsTitle: "No results found",
119
119
  noSearchResultsMessage: "Please adjust the criteria and try again.",
120
120
  noSearchResultsCtaText: "Clear"
121
121
  }
122
- }, dr = {
122
+ }, fr = {
123
123
  title: "Configuration",
124
124
  actions: {
125
125
  copy: "Copy JSON"
@@ -154,7 +154,7 @@ const lr = {
154
154
  entryTitle: "Entry {index}",
155
155
  structuredFormat: "Structured"
156
156
  }
157
- }, fr = {
157
+ }, pr = {
158
158
  filterButtonText: "Filter",
159
159
  fieldLabel: "Filter by:",
160
160
  inputPlaceholder: "Enter a value",
@@ -162,17 +162,17 @@ const lr = {
162
162
  applyButtonText: "Apply",
163
163
  clearButtonText: "Clear",
164
164
  clearAllButtonText: "Clear all filters"
165
- }, pr = {
165
+ }, mr = {
166
166
  errors: {
167
167
  fetch: "Could not fetch available items",
168
168
  invalid: "Please select a valid value"
169
169
  }
170
- }, mr = {
170
+ }, hr = {
171
171
  unexpected: "An unexpected error has occurred",
172
172
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
173
- }, hr = {
174
- utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
175
173
  }, gr = {
174
+ utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
175
+ }, yr = {
176
176
  enable: {
177
177
  title: "Enable {entityType}",
178
178
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -183,23 +183,23 @@ const lr = {
183
183
  message: "Are you sure you want to disable the {entityType} {entityName}?",
184
184
  confirmText: "Yes, disable"
185
185
  }
186
- }, yr = {
187
- global: lr,
188
- deleteModal: cr,
189
- baseForm: sr,
190
- baseTable: ur,
191
- baseConfigCard: dr,
192
- filter: fr,
193
- debouncedFilter: pr,
194
- errors: mr,
195
- validationErrors: hr,
196
- toggleModal: gr
186
+ }, vr = {
187
+ global: cr,
188
+ deleteModal: sr,
189
+ baseForm: ur,
190
+ baseTable: dr,
191
+ baseConfigCard: fr,
192
+ filter: pr,
193
+ debouncedFilter: mr,
194
+ errors: hr,
195
+ validationErrors: gr,
196
+ toggleModal: yr
197
197
  };
198
- function Ue() {
199
- const e = Hn("en-us", yr);
198
+ function je() {
199
+ const e = Yn("en-us", vr);
200
200
  return {
201
201
  i18n: e,
202
- i18nT: Yn(e)
202
+ i18nT: Vn(e)
203
203
  // Translation component <i18n-t>
204
204
  };
205
205
  }
@@ -245,15 +245,15 @@ function Mt() {
245
245
  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
246
246
  };
247
247
  }
248
- function vr(e, t, n, r = {
248
+ function br(e, t, n, r = {
249
249
  fetchedItemsKey: "data",
250
250
  searchKeys: ["id"]
251
251
  }) {
252
252
  n || (n = "1000");
253
- const { axiosInstance: i } = nt(e.axiosRequestConfig), { i18n: { t: o } } = Ue(), { debounce: a } = ir(), l = a(async (L) => {
253
+ const { axiosInstance: i } = tt(e.axiosRequestConfig), { i18n: { t: o } } = je(), { debounce: a } = ar(), l = a(async (L) => {
254
254
  await y(L);
255
255
  }, 200), c = B(!1), u = B(""), d = B(""), s = B([]), p = B([]), f = B(void 0), g = $(() => {
256
- const L = `${e.apiBaseUrl}${T(t)}`;
256
+ const L = `${e.apiBaseUrl}${I(t)}`;
257
257
  return e.app === "konnect" ? L.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? L.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : L;
258
258
  }), { isValidUuid: h } = Mt(), x = async () => {
259
259
  try {
@@ -266,7 +266,7 @@ function vr(e, t, n, r = {
266
266
  c.value = !1;
267
267
  }
268
268
  }, E = B(""), y = async (L) => {
269
- var F, I, m;
269
+ var F, T, m;
270
270
  if (E.value !== L) {
271
271
  if (E.value = L ?? "", !L) {
272
272
  s.value = p.value;
@@ -297,7 +297,7 @@ function vr(e, t, n, r = {
297
297
  });
298
298
  }
299
299
  } catch (A) {
300
- ((I = A == null ? void 0 : A.response) == null ? void 0 : I.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (s.value = [], u.value = o("debouncedFilter.errors.fetch"));
300
+ ((T = A == null ? void 0 : A.response) == null ? void 0 : T.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (s.value = [], u.value = o("debouncedFilter.errors.fetch"));
301
301
  } finally {
302
302
  c.value = !1;
303
303
  }
@@ -323,14 +323,14 @@ function vr(e, t, n, r = {
323
323
  debouncedQueryChange: l
324
324
  };
325
325
  }
326
- function br(e, t) {
327
- const n = T(t), r = $(
326
+ function xr(e, t) {
327
+ const n = I(t), r = $(
328
328
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
329
329
  );
330
330
  return r.value.search = "", (i) => `${r.value.href}/${i}`;
331
331
  }
332
- function xr() {
333
- const { i18n: { t: e } } = Ue();
332
+ function Cr() {
333
+ const { i18n: { t: e } } = je();
334
334
  return {
335
335
  getMessageFromError: (n) => {
336
336
  var r, i, o, a;
@@ -359,7 +359,7 @@ function xr() {
359
359
  }
360
360
  };
361
361
  }
362
- function Cr(e) {
362
+ function Ar(e) {
363
363
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
364
364
  try {
365
365
  const r = e.join("/"), i = `${n}${r}`, o = e.some((l) => l.trim() === "");
@@ -371,7 +371,7 @@ function Cr(e) {
371
371
  }
372
372
  }
373
373
  function Dt(e, t) {
374
- const n = B(T(e)), r = B(T(t)), i = $(
374
+ const n = B(I(e)), r = B(I(t)), i = $(
375
375
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
376
376
  ), o = $(
377
377
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
@@ -388,13 +388,13 @@ function Dt(e, t) {
388
388
  }
389
389
  };
390
390
  }
391
- const Fe = /* @__PURE__ */ new Map();
392
- function Ar(e, t, n) {
393
- const r = B(!0), i = T(t), { axiosInstance: o } = nt(e.axiosRequestConfig), a = Dt(e, i), l = B({
391
+ const ut = /* @__PURE__ */ new Map();
392
+ function kr(e, t, n) {
393
+ const r = B(!0), i = I(t), { axiosInstance: o } = tt(e.axiosRequestConfig), a = Dt(e, i), l = B({
394
394
  status: ue.Idle
395
395
  }), c = async (s) => {
396
396
  var f;
397
- const p = Bn(n) || "data";
397
+ const p = Kn(n) || "data";
398
398
  try {
399
399
  l.value = r.value ? { status: ue.InitialLoad } : { status: ue.Loading }, r.value = !1;
400
400
  let g = a(s);
@@ -436,66 +436,71 @@ function Ar(e, t, n) {
436
436
  error: g.response ? g : { response: g }
437
437
  }, h);
438
438
  }
439
- }, u = e.cacheIdentifier, d = B(1);
440
- return u && (Fe.has(u) ? d.value = Fe.get(u) : Fe.set(u, d.value)), ge(d, (s) => {
441
- u && Fe.set(u, s);
442
- }), { fetcher: c, fetcherState: l, fetcherCacheKey: d };
439
+ }, u = e.cacheIdentifier, d = jt(u);
440
+ return { fetcher: c, fetcherState: l, fetcherCacheKey: d };
441
+ }
442
+ function jt(e) {
443
+ if (e) {
444
+ let t = ut.get(e);
445
+ return t || (t = B(1), ut.set(e, t)), t;
446
+ }
447
+ return B(1);
443
448
  }
444
- function kr() {
449
+ function _r() {
445
450
  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;
446
451
  return {
447
452
  capitalize: (r) => r ? r.replace(t, (i) => i.toUpperCase()) : "",
448
453
  convertKeyToTitle: e
449
454
  };
450
455
  }
451
- const jt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, dt = (e) => {
456
+ const Ut = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, dt = (e) => {
452
457
  if (typeof e != "string")
453
458
  throw new TypeError("Invalid argument expected string");
454
- const t = e.match(jt);
459
+ const t = e.match(Ut);
455
460
  if (!t)
456
461
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
457
462
  return t.shift(), t;
458
463
  }, ft = (e) => e === "*" || e === "x" || e === "X", pt = (e) => {
459
464
  const t = parseInt(e, 10);
460
465
  return isNaN(t) ? e : t;
461
- }, _r = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], wr = (e, t) => {
466
+ }, wr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Sr = (e, t) => {
462
467
  if (ft(e) || ft(t))
463
468
  return 0;
464
- const [n, r] = _r(pt(e), pt(t));
469
+ const [n, r] = wr(pt(e), pt(t));
465
470
  return n > r ? 1 : n < r ? -1 : 0;
466
471
  }, mt = (e, t) => {
467
472
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
468
- const r = wr(e[n] || "0", t[n] || "0");
473
+ const r = Sr(e[n] || "0", t[n] || "0");
469
474
  if (r !== 0)
470
475
  return r;
471
476
  }
472
477
  return 0;
473
- }, Sr = (e, t) => {
478
+ }, Tr = (e, t) => {
474
479
  const n = dt(e), r = dt(t), i = n.pop(), o = r.pop(), a = mt(n, r);
475
480
  return a !== 0 ? a : i && o ? mt(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
476
481
  }, ht = (e, t, n) => {
477
482
  Ir(n);
478
- const r = Sr(e, t);
479
- return Ut[n].includes(r);
480
- }, Ut = {
483
+ const r = Tr(e, t);
484
+ return Pt[n].includes(r);
485
+ }, Pt = {
481
486
  ">": [1],
482
487
  ">=": [0, 1],
483
488
  "=": [0],
484
489
  "<=": [-1, 0],
485
490
  "<": [-1],
486
491
  "!=": [-1, 1]
487
- }, gt = Object.keys(Ut), Ir = (e) => {
492
+ }, gt = Object.keys(Pt), Ir = (e) => {
488
493
  if (typeof e != "string")
489
494
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
490
495
  if (gt.indexOf(e) === -1)
491
496
  throw new Error(`Invalid operator, expected one of ${gt.join("|")}`);
492
- }, Tr = (e) => typeof e == "string" && /^[v\d]/.test(e) && jt.test(e);
493
- function $r(e) {
497
+ }, $r = (e) => typeof e == "string" && /^[v\d]/.test(e) && Ut.test(e);
498
+ function Er(e) {
494
499
  const { gatewayInfo: t, supportedRange: n } = e;
495
500
  if (!t)
496
501
  return !0;
497
502
  const { edition: r, version: i } = t;
498
- if (!Tr(i))
503
+ if (!$r(i))
499
504
  return console.error("Invalid version"), !1;
500
505
  const o = n[r];
501
506
  if (!o)
@@ -503,46 +508,47 @@ function $r(e) {
503
508
  const [a, l] = o;
504
509
  return !(a && ht(i, a, "<") || l && ht(i, l, ">"));
505
510
  }
506
- function Er(e) {
511
+ function Fr(e) {
507
512
  const t = B(0), n = B(0), r = B(!1);
508
- return ge(e, (o) => {
513
+ return _e(e, (o) => {
509
514
  o && !r.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, r.value = !0);
510
515
  }), {
511
516
  isTruncated: $(() => t.value < n.value)
512
517
  };
513
518
  }
514
- function Fr() {
515
- const { i18n: { t: e } } = Ue();
519
+ function Or() {
520
+ const { i18n: { t: e } } = je();
516
521
  return {
517
522
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
518
523
  };
519
524
  }
520
- const Je = Symbol("schema"), Or = (e) => {
521
- Bt(Je, e);
522
- }, Lr = (e) => {
525
+ const We = Symbol("schema"), Lr = (e) => {
526
+ Bt(We, e);
527
+ }, Rr = (e) => {
523
528
  var i, o;
524
- const t = Rt(Je, void 0), n = (o = (i = t == null ? void 0 : t.value) == null ? void 0 : i.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), r = Kn(n == null ? void 0 : n[e]);
525
- return Bt(Je, r), r;
529
+ const t = Rt(We, void 0), n = (o = (i = t == null ? void 0 : t.value) == null ? void 0 : i.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), r = Nn(n == null ? void 0 : n[e]);
530
+ return Bt(We, r), r;
526
531
  }, H = {
527
- useAxios: nt,
528
- useDebouncedFilter: vr,
529
- useDeleteUrlBuilder: br,
530
- useErrors: xr,
531
- useExternalLinkCreator: Cr,
532
- useFetcher: Ar,
532
+ useAxios: tt,
533
+ useDebouncedFilter: br,
534
+ useDeleteUrlBuilder: xr,
535
+ useErrors: Cr,
536
+ useExternalLinkCreator: Ar,
537
+ useFetcher: kr,
538
+ useFetcherCacheKey: jt,
533
539
  useFetchUrlBuilder: Dt,
534
540
  useHelpers: Mt,
535
- useStringHelpers: kr,
536
- useI18n: Ue,
537
- useGatewayFeatureSupported: $r,
538
- useTruncationDetector: Er,
539
- useValidators: Fr,
540
- useSchemaProvider: Or,
541
- useSubSchema: Lr
542
- }, Rr = {
541
+ useStringHelpers: _r,
542
+ useI18n: je,
543
+ useGatewayFeatureSupported: Er,
544
+ useTruncationDetector: Fr,
545
+ useValidators: Or,
546
+ useSchemaProvider: Lr,
547
+ useSubSchema: Rr
548
+ }, Br = {
543
549
  key: 0,
544
550
  class: "config-card-fieldset-title"
545
- }, Br = /* @__PURE__ */ z({
551
+ }, Kr = /* @__PURE__ */ z({
546
552
  __name: "JsonCardItem",
547
553
  props: {
548
554
  item: {
@@ -566,18 +572,18 @@ const Je = Symbol("schema"), Or = (e) => {
566
572
  var c;
567
573
  return t.isArrayItem ? (c = o.value) != null && c.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
568
574
  });
569
- return (c, u) => (v(), D(De(e.isArrayItem ? "fieldset" : "div"), {
575
+ return (c, u) => (v(), D(Me(e.isArrayItem ? "fieldset" : "div"), {
570
576
  class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
571
577
  }, {
572
578
  default: C(() => [
573
- e.isArrayItem ? (v(), R("legend", Rr, [
579
+ e.isArrayItem ? (v(), R("legend", Br, [
574
580
  M("b", null, K(l.value), 1)
575
581
  ])) : q("", !0),
576
- (v(!0), R(le, null, oe(Object.keys(a.value), (d, s) => (v(), D(qt, {
582
+ (v(!0), R(le, null, oe(Object.keys(a.value), (d, s) => (v(), D(Ht, {
577
583
  key: `${i.value}-property-${s}`,
578
584
  item: {
579
585
  key: d,
580
- label: T(r)(d),
586
+ label: I(r)(d),
581
587
  value: a.value[d]
582
588
  }
583
589
  }, null, 8, ["item"]))), 128))
@@ -590,7 +596,7 @@ const Je = Symbol("schema"), Or = (e) => {
590
596
  for (const [r, i] of t)
591
597
  n[r] = i;
592
598
  return n;
593
- }, Pt = /* @__PURE__ */ ae(Br, [["__scopeId", "data-v-68ca83ec"]]), Kr = /* @__PURE__ */ z({
599
+ }, qt = /* @__PURE__ */ ae(Kr, [["__scopeId", "data-v-68ca83ec"]]), Nr = /* @__PURE__ */ z({
594
600
  __name: "InternalLinkItem",
595
601
  props: {
596
602
  item: {
@@ -610,14 +616,14 @@ const Je = Symbol("schema"), Or = (e) => {
610
616
  onClick: r[0] || (r[0] = (o) => n.$emit("navigation-click", e.item))
611
617
  }, {
612
618
  default: C(() => [
613
- V(K(e.item.value || T(t)("baseConfigCard.commonFields.link")), 1)
619
+ V(K(e.item.value || I(t)("baseConfigCard.commonFields.link")), 1)
614
620
  ]),
615
621
  _: 1
616
622
  })
617
623
  ]);
618
624
  };
619
625
  }
620
- }), Nr = /* @__PURE__ */ ae(Kr, [["__scopeId", "data-v-c96811e5"]]), Mr = /* @__PURE__ */ z({
626
+ }), Mr = /* @__PURE__ */ ae(Nr, [["__scopeId", "data-v-c96811e5"]]), Dr = /* @__PURE__ */ z({
621
627
  __name: "StatusBadge",
622
628
  props: {
623
629
  status: {
@@ -633,17 +639,17 @@ const Je = Symbol("schema"), Or = (e) => {
633
639
  appearance: e.status ? "success" : "neutral"
634
640
  }, {
635
641
  default: C(() => [
636
- V(K(e.status ? T(t)("baseConfigCard.statusBadge.enabledLabel") : T(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
642
+ V(K(e.status ? I(t)("baseConfigCard.statusBadge.enabledLabel") : I(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
637
643
  ]),
638
644
  _: 1
639
645
  }, 8, ["appearance"]);
640
646
  };
641
647
  }
642
- }), Dr = "#0044f4", jr = "#e0e4ea", Ur = "#afb7c5", Pr = "#0044f4", qr = "1px", Hr = "16px", Yr = "20px", Vr = { class: "config-card-details-row" }, Wr = ["data-testid"], Jr = ["data-testid"], Gr = ["data-testid"], zr = ["data-testid"], Qr = { key: 1 }, Zr = ["data-testid"], Xr = ["data-testid"], ei = ["data-testid"], ti = ["data-testid"], ni = {
648
+ }), jr = "#0044f4", Ur = "#e0e4ea", Pr = "#afb7c5", qr = "#0044f4", Hr = "1px", Yr = "16px", Vr = "20px", Wr = { class: "config-card-details-row" }, Jr = ["data-testid"], Gr = ["data-testid"], zr = ["data-testid"], Qr = ["data-testid"], Zr = { key: 1 }, Xr = ["data-testid"], ei = ["data-testid"], ti = ["data-testid"], ni = ["data-testid"], ri = {
643
649
  name: "ConfigCardItem",
644
- components: { JsonCardItem: Pt, StatusBadge: Mr, InternalLinkItem: Nr }
645
- }, ri = /* @__PURE__ */ z({
646
- ...ni,
650
+ components: { JsonCardItem: qt, StatusBadge: Dr, InternalLinkItem: Mr }
651
+ }, ii = /* @__PURE__ */ z({
652
+ ...ri,
647
653
  props: {
648
654
  item: {
649
655
  type: Object,
@@ -663,12 +669,12 @@ const Je = Symbol("schema"), Or = (e) => {
663
669
  emits: ["navigation-click"],
664
670
  setup(e, { emit: t }) {
665
671
  Kt((y) => ({
666
- "3ccdd5d2": d.value ? "none" : `solid ${T(qr)} ${T(jr)}`,
672
+ "3ccdd5d2": d.value ? "none" : `solid ${I(Hr)} ${I(Ur)}`,
667
673
  "4b1da305": u.value && l.value ? "block" : "flex",
668
674
  cd20788a: u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
669
675
  cd1becd4: u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
670
676
  }));
671
- const n = e, r = t, i = et(), { i18n: { t: o, formatUnixTimeStamp: a } } = H.useI18n(), l = $(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = $(() => !!(n.item.tooltip || i["label-tooltip"])), u = $(() => n.item.type === P.Json || n.item.type === P.JsonArray), d = $(() => n.item.type === P.JsonArray), s = H.useSubSchema(n.item.key), p = $(() => {
677
+ const n = e, r = t, i = Xe(), { i18n: { t: o, formatUnixTimeStamp: a } } = H.useI18n(), l = $(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = $(() => !!(n.item.tooltip || i["label-tooltip"])), u = $(() => n.item.type === P.Json || n.item.type === P.JsonArray), d = $(() => n.item.type === P.JsonArray), s = H.useSubSchema(n.item.key), p = $(() => {
672
678
  var y;
673
679
  return n.item.type ? n.item.type : (y = s == null ? void 0 : s.value) != null && y.encrypted ? P.Redacted : void 0;
674
680
  }), f = $(() => {
@@ -794,17 +800,17 @@ const Je = Symbol("schema"), Or = (e) => {
794
800
  }
795
801
  }), g = B(), h = B(), { isTruncated: x } = H.useTruncationDetector(g), { isTruncated: E } = H.useTruncationDetector(h);
796
802
  return (y, L) => {
797
- const F = j("KTooltip"), I = j("KLabel"), m = j("KBadge"), A = j("KCopy");
798
- return v(), R("div", Vr, [
803
+ const F = j("KTooltip"), T = j("KLabel"), m = j("KBadge"), A = j("KCopy");
804
+ return v(), R("div", Wr, [
799
805
  M("div", {
800
806
  class: "config-card-details-label",
801
807
  "data-testid": `${e.item.key}-label`
802
808
  }, [
803
809
  W(y.$slots, "label", { item: e.item }, () => [
804
- N(I, { "tooltip-attributes": { maxWidth: "500px" } }, ke({
810
+ N(T, { "tooltip-attributes": { maxWidth: "500px" } }, Ae({
805
811
  default: C(() => [
806
812
  N(F, {
807
- text: T(x) ? e.item.label : ""
813
+ text: I(x) ? e.item.label : ""
808
814
  }, {
809
815
  default: C(() => [
810
816
  M("span", {
@@ -827,13 +833,13 @@ const Je = Symbol("schema"), Or = (e) => {
827
833
  W(y.$slots, "label-tooltip", {}, () => [
828
834
  V(K(e.item.tooltip), 1)
829
835
  ], !0)
830
- ], 8, Jr)
836
+ ], 8, Gr)
831
837
  ]),
832
838
  key: "0"
833
839
  } : void 0
834
840
  ]), 1024)
835
841
  ], !0)
836
- ], 8, Wr),
842
+ ], 8, Jr),
837
843
  M("div", {
838
844
  class: "config-card-details-value",
839
845
  "data-testid": `${e.item.key}-property-value`
@@ -841,8 +847,8 @@ const Je = Symbol("schema"), Or = (e) => {
841
847
  W(y.$slots, e.item.key, {
842
848
  rowValue: e.item.value
843
849
  }, () => [
844
- l.value ? (v(), R("div", Qr, [
845
- (v(), D(De(f.value.tag), Nn(Mn(f.value.attrs)), {
850
+ l.value ? (v(), R("div", Zr, [
851
+ (v(), D(Me(f.value.tag), Mn(Dn(f.value.attrs)), {
846
852
  default: C(() => [
847
853
  f.value.additionalComponent === "KBadge" ? (v(), R("div", {
848
854
  key: 0,
@@ -860,25 +866,25 @@ const Je = Symbol("schema"), Or = (e) => {
860
866
  ]),
861
867
  _: 2
862
868
  }, 1032, ["data-testid", "tooltip"]))), 128))
863
- ], 8, Zr)) : q("", !0),
869
+ ], 8, Xr)) : q("", !0),
864
870
  f.value.additionalComponent === "KCopy" ? (v(), R("div", {
865
871
  key: 1,
866
872
  class: "copy-uuid-array",
867
873
  "data-testid": `${e.item.key}-copy-uuid-array`
868
874
  }, [
869
- (v(!0), R(le, null, oe(e.item.value, (S, w) => (v(), D(A, Dn({ ref_for: !0 }, f.value.childAttrs, {
875
+ (v(!0), R(le, null, oe(e.item.value, (S, w) => (v(), D(A, jn({ ref_for: !0 }, f.value.childAttrs, {
870
876
  key: `${e.item.key}-copy-uuid-${w}`,
871
877
  "data-testid": `${e.item.key}-copy-uuid-${w}`,
872
878
  text: S
873
879
  }), null, 16, ["data-testid", "text"]))), 128))
874
- ], 8, Xr)) : f.value.additionalComponent === "KMethodBadge" ? (v(), R("div", {
880
+ ], 8, ei)) : f.value.additionalComponent === "KMethodBadge" ? (v(), R("div", {
875
881
  key: 2,
876
882
  class: "method-badge-array",
877
883
  "data-testid": `${e.item.key}-badge-methods`
878
884
  }, [
879
885
  (v(!0), R(le, null, oe(e.item.value, (S, w) => (v(), D(m, {
880
886
  key: `${e.item.key}-badge-method-${w}`,
881
- appearance: Object.values(T(Vn)).includes(S.toLowerCase()) ? S.toLowerCase() : "custom",
887
+ appearance: Object.values(I(Wn)).includes(S.toLowerCase()) ? S.toLowerCase() : "custom",
882
888
  class: "config-badge",
883
889
  "data-testid": `${e.item.key}-badge-method-${w}`
884
890
  }, {
@@ -887,20 +893,20 @@ const Je = Symbol("schema"), Or = (e) => {
887
893
  ]),
888
894
  _: 2
889
895
  }, 1032, ["appearance", "data-testid"]))), 128))
890
- ], 8, ei)) : q("", !0),
896
+ ], 8, ti)) : q("", !0),
891
897
  f.value.additionalComponent === "JsonCardItem" ? (v(), R("div", {
892
898
  key: 3,
893
899
  "data-testid": `${n.item.key}-json-array-content`
894
900
  }, [
895
- (v(!0), R(le, null, oe(e.item.value, (S, w) => (v(), D(Pt, {
901
+ (v(!0), R(le, null, oe(e.item.value, (S, w) => (v(), D(qt, {
896
902
  key: `json-array-item-${w}`,
897
903
  index: w,
898
904
  "is-array-item": "",
899
905
  item: S
900
906
  }, null, 8, ["index", "item"]))), 128))
901
- ], 8, ti)) : (v(), D(F, {
907
+ ], 8, ni)) : (v(), D(F, {
902
908
  key: 4,
903
- text: T(E) ? e.item.value : ""
909
+ text: I(E) ? e.item.value : ""
904
910
  }, {
905
911
  default: C(() => [
906
912
  M("span", {
@@ -917,16 +923,16 @@ const Je = Symbol("schema"), Or = (e) => {
917
923
  ])) : (v(), R("div", {
918
924
  key: 0,
919
925
  "data-testid": `${e.item.key}-no-value`
920
- }, " – ", 8, zr))
926
+ }, " – ", 8, Qr))
921
927
  ], !0)
922
- ], 8, Gr)
928
+ ], 8, zr)
923
929
  ]);
924
930
  };
925
931
  }
926
- }), qt = /* @__PURE__ */ ae(ri, [["__scopeId", "data-v-761f7e64"]]), ii = { class: "json-config" }, ai = {
932
+ }), Ht = /* @__PURE__ */ ae(ii, [["__scopeId", "data-v-761f7e64"]]), ai = { class: "json-config" }, oi = {
927
933
  key: 0,
928
934
  class: "json-endpoint"
929
- }, Ht = /* @__PURE__ */ z({
935
+ }, Yt = /* @__PURE__ */ z({
930
936
  __name: "JsonCodeBlock",
931
937
  props: {
932
938
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -966,8 +972,8 @@ const Je = Symbol("schema"), Or = (e) => {
966
972
  });
967
973
  return (i, o) => {
968
974
  const a = j("KBadge"), l = j("KCodeBlock");
969
- return v(), R("div", ii, [
970
- t.fetcherUrl ? (v(), R("div", ai, [
975
+ return v(), R("div", ai, [
976
+ t.fetcherUrl ? (v(), R("div", oi, [
971
977
  N(a, {
972
978
  appearance: t.requestMethod
973
979
  }, {
@@ -997,55 +1003,55 @@ const Je = Symbol("schema"), Or = (e) => {
997
1003
  }
998
1004
  });
999
1005
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1000
- function Yt(e) {
1006
+ function Vt(e) {
1001
1007
  return typeof e > "u" || e === null;
1002
1008
  }
1003
- function oi(e) {
1009
+ function li(e) {
1004
1010
  return typeof e == "object" && e !== null;
1005
1011
  }
1006
- function li(e) {
1007
- return Array.isArray(e) ? e : Yt(e) ? [] : [e];
1012
+ function ci(e) {
1013
+ return Array.isArray(e) ? e : Vt(e) ? [] : [e];
1008
1014
  }
1009
- function ci(e, t) {
1015
+ function si(e, t) {
1010
1016
  var n, r, i, o;
1011
1017
  if (t)
1012
1018
  for (o = Object.keys(t), n = 0, r = o.length; n < r; n += 1)
1013
1019
  i = o[n], e[i] = t[i];
1014
1020
  return e;
1015
1021
  }
1016
- function si(e, t) {
1022
+ function ui(e, t) {
1017
1023
  var n = "", r;
1018
1024
  for (r = 0; r < t; r += 1)
1019
1025
  n += e;
1020
1026
  return n;
1021
1027
  }
1022
- function ui(e) {
1028
+ function di(e) {
1023
1029
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1024
1030
  }
1025
- var di = Yt, fi = oi, pi = li, mi = si, hi = ui, gi = ci, Q = {
1026
- isNothing: di,
1027
- isObject: fi,
1028
- toArray: pi,
1029
- repeat: mi,
1030
- isNegativeZero: hi,
1031
- extend: gi
1031
+ var fi = Vt, pi = li, mi = ci, hi = ui, gi = di, yi = si, Q = {
1032
+ isNothing: fi,
1033
+ isObject: pi,
1034
+ toArray: mi,
1035
+ repeat: hi,
1036
+ isNegativeZero: gi,
1037
+ extend: yi
1032
1038
  };
1033
- function Vt(e, t) {
1039
+ function Wt(e, t) {
1034
1040
  var n = "", r = e.reason || "(unknown reason)";
1035
1041
  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 += `
1036
1042
 
1037
1043
  ` + e.mark.snippet), r + " " + n) : r;
1038
1044
  }
1039
1045
  function Se(e, t) {
1040
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Vt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1046
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Wt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1041
1047
  }
1042
1048
  Se.prototype = Object.create(Error.prototype);
1043
1049
  Se.prototype.constructor = Se;
1044
1050
  Se.prototype.toString = function(t) {
1045
- return this.name + ": " + Vt(this, t);
1051
+ return this.name + ": " + Wt(this, t);
1046
1052
  };
1047
1053
  var ne = Se;
1048
- function He(e, t, n, r, i) {
1054
+ function qe(e, t, n, r, i) {
1049
1055
  var o = "", a = "", l = Math.floor(i / 2) - 1;
1050
1056
  return r - t > l && (o = " ... ", t = r - l + o.length), n - r > l && (a = " ...", n = r + l - a.length), {
1051
1057
  str: o + e.slice(t, n).replace(/\t/g, "→") + a,
@@ -1053,10 +1059,10 @@ function He(e, t, n, r, i) {
1053
1059
  // relative position
1054
1060
  };
1055
1061
  }
1056
- function Ye(e, t) {
1062
+ function He(e, t) {
1057
1063
  return Q.repeat(" ", t - e.length) + e;
1058
1064
  }
1059
- function yi(e, t) {
1065
+ function vi(e, t) {
1060
1066
  if (t = Object.create(t || null), !e.buffer) return null;
1061
1067
  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);
1062
1068
  for (var n = /\r?\n|\r|\0/g, r = [0], i = [], o, a = -1; o = n.exec(e.buffer); )
@@ -1064,28 +1070,28 @@ function yi(e, t) {
1064
1070
  a < 0 && (a = r.length - 1);
1065
1071
  var l = "", c, u, d = Math.min(e.line + t.linesAfter, i.length).toString().length, s = t.maxLength - (t.indent + d + 3);
1066
1072
  for (c = 1; c <= t.linesBefore && !(a - c < 0); c++)
1067
- u = He(
1073
+ u = qe(
1068
1074
  e.buffer,
1069
1075
  r[a - c],
1070
1076
  i[a - c],
1071
1077
  e.position - (r[a] - r[a - c]),
1072
1078
  s
1073
- ), l = Q.repeat(" ", t.indent) + Ye((e.line - c + 1).toString(), d) + " | " + u.str + `
1079
+ ), l = Q.repeat(" ", t.indent) + He((e.line - c + 1).toString(), d) + " | " + u.str + `
1074
1080
  ` + l;
1075
- for (u = He(e.buffer, r[a], i[a], e.position, s), l += Q.repeat(" ", t.indent) + Ye((e.line + 1).toString(), d) + " | " + u.str + `
1081
+ for (u = qe(e.buffer, r[a], i[a], e.position, s), l += Q.repeat(" ", t.indent) + He((e.line + 1).toString(), d) + " | " + u.str + `
1076
1082
  `, l += Q.repeat("-", t.indent + d + 3 + u.pos) + `^
1077
1083
  `, c = 1; c <= t.linesAfter && !(a + c >= i.length); c++)
1078
- u = He(
1084
+ u = qe(
1079
1085
  e.buffer,
1080
1086
  r[a + c],
1081
1087
  i[a + c],
1082
1088
  e.position - (r[a] - r[a + c]),
1083
1089
  s
1084
- ), l += Q.repeat(" ", t.indent) + Ye((e.line + c + 1).toString(), d) + " | " + u.str + `
1090
+ ), l += Q.repeat(" ", t.indent) + He((e.line + c + 1).toString(), d) + " | " + u.str + `
1085
1091
  `;
1086
1092
  return l.replace(/\n$/, "");
1087
1093
  }
1088
- var vi = yi, bi = [
1094
+ var bi = vi, xi = [
1089
1095
  "kind",
1090
1096
  "multi",
1091
1097
  "resolve",
@@ -1096,12 +1102,12 @@ var vi = yi, bi = [
1096
1102
  "representName",
1097
1103
  "defaultStyle",
1098
1104
  "styleAliases"
1099
- ], xi = [
1105
+ ], Ci = [
1100
1106
  "scalar",
1101
1107
  "sequence",
1102
1108
  "mapping"
1103
1109
  ];
1104
- function Ci(e) {
1110
+ function Ai(e) {
1105
1111
  var t = {};
1106
1112
  return e !== null && Object.keys(e).forEach(function(n) {
1107
1113
  e[n].forEach(function(r) {
@@ -1109,18 +1115,18 @@ function Ci(e) {
1109
1115
  });
1110
1116
  }), t;
1111
1117
  }
1112
- function Ai(e, t) {
1118
+ function ki(e, t) {
1113
1119
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1114
- if (bi.indexOf(n) === -1)
1120
+ if (xi.indexOf(n) === -1)
1115
1121
  throw new ne('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1116
1122
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1117
1123
  return !0;
1118
1124
  }, this.construct = t.construct || function(n) {
1119
1125
  return n;
1120
- }, 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 = Ci(t.styleAliases || null), xi.indexOf(this.kind) === -1)
1126
+ }, 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 = Ai(t.styleAliases || null), Ci.indexOf(this.kind) === -1)
1121
1127
  throw new ne('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1122
1128
  }
1123
- var X = Ai;
1129
+ var X = ki;
1124
1130
  function yt(e, t) {
1125
1131
  var n = [];
1126
1132
  return e[t].forEach(function(r) {
@@ -1130,7 +1136,7 @@ function yt(e, t) {
1130
1136
  }), n[i] = r;
1131
1137
  }), n;
1132
1138
  }
1133
- function ki() {
1139
+ function _i() {
1134
1140
  var e = {
1135
1141
  scalar: {},
1136
1142
  sequence: {},
@@ -1150,10 +1156,10 @@ function ki() {
1150
1156
  arguments[t].forEach(r);
1151
1157
  return e;
1152
1158
  }
1153
- function Ge(e) {
1159
+ function Je(e) {
1154
1160
  return this.extend(e);
1155
1161
  }
1156
- Ge.prototype.extend = function(t) {
1162
+ Je.prototype.extend = function(t) {
1157
1163
  var n = [], r = [];
1158
1164
  if (t instanceof X)
1159
1165
  r.push(t);
@@ -1174,47 +1180,47 @@ Ge.prototype.extend = function(t) {
1174
1180
  if (!(o instanceof X))
1175
1181
  throw new ne("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1176
1182
  });
1177
- var i = Object.create(Ge.prototype);
1178
- return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = yt(i, "implicit"), i.compiledExplicit = yt(i, "explicit"), i.compiledTypeMap = ki(i.compiledImplicit, i.compiledExplicit), i;
1183
+ var i = Object.create(Je.prototype);
1184
+ return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = yt(i, "implicit"), i.compiledExplicit = yt(i, "explicit"), i.compiledTypeMap = _i(i.compiledImplicit, i.compiledExplicit), i;
1179
1185
  };
1180
- var Wt = Ge, Jt = new X("tag:yaml.org,2002:str", {
1186
+ var Jt = Je, Gt = new X("tag:yaml.org,2002:str", {
1181
1187
  kind: "scalar",
1182
1188
  construct: function(e) {
1183
1189
  return e !== null ? e : "";
1184
1190
  }
1185
- }), Gt = new X("tag:yaml.org,2002:seq", {
1191
+ }), zt = new X("tag:yaml.org,2002:seq", {
1186
1192
  kind: "sequence",
1187
1193
  construct: function(e) {
1188
1194
  return e !== null ? e : [];
1189
1195
  }
1190
- }), zt = new X("tag:yaml.org,2002:map", {
1196
+ }), Qt = new X("tag:yaml.org,2002:map", {
1191
1197
  kind: "mapping",
1192
1198
  construct: function(e) {
1193
1199
  return e !== null ? e : {};
1194
1200
  }
1195
- }), Qt = new Wt({
1201
+ }), Zt = new Jt({
1196
1202
  explicit: [
1197
- Jt,
1198
1203
  Gt,
1199
- zt
1204
+ zt,
1205
+ Qt
1200
1206
  ]
1201
1207
  });
1202
- function _i(e) {
1208
+ function wi(e) {
1203
1209
  if (e === null) return !0;
1204
1210
  var t = e.length;
1205
1211
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1206
1212
  }
1207
- function wi() {
1213
+ function Si() {
1208
1214
  return null;
1209
1215
  }
1210
- function Si(e) {
1216
+ function Ti(e) {
1211
1217
  return e === null;
1212
1218
  }
1213
- var Zt = new X("tag:yaml.org,2002:null", {
1219
+ var Xt = new X("tag:yaml.org,2002:null", {
1214
1220
  kind: "scalar",
1215
- resolve: _i,
1216
- construct: wi,
1217
- predicate: Si,
1221
+ resolve: wi,
1222
+ construct: Si,
1223
+ predicate: Ti,
1218
1224
  represent: {
1219
1225
  canonical: function() {
1220
1226
  return "~";
@@ -1239,17 +1245,17 @@ function Ii(e) {
1239
1245
  var t = e.length;
1240
1246
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1241
1247
  }
1242
- function Ti(e) {
1248
+ function $i(e) {
1243
1249
  return e === "true" || e === "True" || e === "TRUE";
1244
1250
  }
1245
- function $i(e) {
1251
+ function Ei(e) {
1246
1252
  return Object.prototype.toString.call(e) === "[object Boolean]";
1247
1253
  }
1248
- var Xt = new X("tag:yaml.org,2002:bool", {
1254
+ var en = new X("tag:yaml.org,2002:bool", {
1249
1255
  kind: "scalar",
1250
1256
  resolve: Ii,
1251
- construct: Ti,
1252
- predicate: $i,
1257
+ construct: $i,
1258
+ predicate: Ei,
1253
1259
  represent: {
1254
1260
  lowercase: function(e) {
1255
1261
  return e ? "true" : "false";
@@ -1263,16 +1269,16 @@ var Xt = new X("tag:yaml.org,2002:bool", {
1263
1269
  },
1264
1270
  defaultStyle: "lowercase"
1265
1271
  });
1266
- function Ei(e) {
1272
+ function Fi(e) {
1267
1273
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1268
1274
  }
1269
- function Fi(e) {
1275
+ function Oi(e) {
1270
1276
  return 48 <= e && e <= 55;
1271
1277
  }
1272
- function Oi(e) {
1278
+ function Li(e) {
1273
1279
  return 48 <= e && e <= 57;
1274
1280
  }
1275
- function Li(e) {
1281
+ function Ri(e) {
1276
1282
  if (e === null) return !1;
1277
1283
  var t = e.length, n = 0, r = !1, i;
1278
1284
  if (!t) return !1;
@@ -1289,7 +1295,7 @@ function Li(e) {
1289
1295
  if (i === "x") {
1290
1296
  for (n++; n < t; n++)
1291
1297
  if (i = e[n], i !== "_") {
1292
- if (!Ei(e.charCodeAt(n))) return !1;
1298
+ if (!Fi(e.charCodeAt(n))) return !1;
1293
1299
  r = !0;
1294
1300
  }
1295
1301
  return r && i !== "_";
@@ -1297,7 +1303,7 @@ function Li(e) {
1297
1303
  if (i === "o") {
1298
1304
  for (n++; n < t; n++)
1299
1305
  if (i = e[n], i !== "_") {
1300
- if (!Fi(e.charCodeAt(n))) return !1;
1306
+ if (!Oi(e.charCodeAt(n))) return !1;
1301
1307
  r = !0;
1302
1308
  }
1303
1309
  return r && i !== "_";
@@ -1306,13 +1312,13 @@ function Li(e) {
1306
1312
  if (i === "_") return !1;
1307
1313
  for (; n < t; n++)
1308
1314
  if (i = e[n], i !== "_") {
1309
- if (!Oi(e.charCodeAt(n)))
1315
+ if (!Li(e.charCodeAt(n)))
1310
1316
  return !1;
1311
1317
  r = !0;
1312
1318
  }
1313
1319
  return !(!r || i === "_");
1314
1320
  }
1315
- function Ri(e) {
1321
+ function Bi(e) {
1316
1322
  var t = e, n = 1, r;
1317
1323
  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;
1318
1324
  if (r === "0") {
@@ -1322,14 +1328,14 @@ function Ri(e) {
1322
1328
  }
1323
1329
  return n * parseInt(t, 10);
1324
1330
  }
1325
- function Bi(e) {
1331
+ function Ki(e) {
1326
1332
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !Q.isNegativeZero(e);
1327
1333
  }
1328
- var en = new X("tag:yaml.org,2002:int", {
1334
+ var tn = new X("tag:yaml.org,2002:int", {
1329
1335
  kind: "scalar",
1330
- resolve: Li,
1331
- construct: Ri,
1332
- predicate: Bi,
1336
+ resolve: Ri,
1337
+ construct: Bi,
1338
+ predicate: Ki,
1333
1339
  represent: {
1334
1340
  binary: function(e) {
1335
1341
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1352,21 +1358,21 @@ var en = new X("tag:yaml.org,2002:int", {
1352
1358
  decimal: [10, "dec"],
1353
1359
  hexadecimal: [16, "hex"]
1354
1360
  }
1355
- }), Ki = new RegExp(
1361
+ }), Ni = new RegExp(
1356
1362
  // 2.5e4, 2.5 and integers
1357
1363
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1358
1364
  );
1359
- function Ni(e) {
1360
- return !(e === null || !Ki.test(e) || // Quick hack to not allow integers end with `_`
1365
+ function Mi(e) {
1366
+ return !(e === null || !Ni.test(e) || // Quick hack to not allow integers end with `_`
1361
1367
  // Probably should update regexp & check speed
1362
1368
  e[e.length - 1] === "_");
1363
1369
  }
1364
- function Mi(e) {
1370
+ function Di(e) {
1365
1371
  var t, n;
1366
1372
  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);
1367
1373
  }
1368
- var Di = /^[-+]?[0-9]+e/;
1369
- function ji(e, t) {
1374
+ var ji = /^[-+]?[0-9]+e/;
1375
+ function Ui(e, t) {
1370
1376
  var n;
1371
1377
  if (isNaN(e))
1372
1378
  switch (t) {
@@ -1397,36 +1403,36 @@ function ji(e, t) {
1397
1403
  }
1398
1404
  else if (Q.isNegativeZero(e))
1399
1405
  return "-0.0";
1400
- return n = e.toString(10), Di.test(n) ? n.replace("e", ".e") : n;
1406
+ return n = e.toString(10), ji.test(n) ? n.replace("e", ".e") : n;
1401
1407
  }
1402
- function Ui(e) {
1408
+ function Pi(e) {
1403
1409
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || Q.isNegativeZero(e));
1404
1410
  }
1405
- var tn = new X("tag:yaml.org,2002:float", {
1411
+ var nn = new X("tag:yaml.org,2002:float", {
1406
1412
  kind: "scalar",
1407
- resolve: Ni,
1408
- construct: Mi,
1409
- predicate: Ui,
1410
- represent: ji,
1413
+ resolve: Mi,
1414
+ construct: Di,
1415
+ predicate: Pi,
1416
+ represent: Ui,
1411
1417
  defaultStyle: "lowercase"
1412
- }), nn = Qt.extend({
1418
+ }), rn = Zt.extend({
1413
1419
  implicit: [
1414
- Zt,
1415
1420
  Xt,
1416
1421
  en,
1417
- tn
1422
+ tn,
1423
+ nn
1418
1424
  ]
1419
- }), rn = nn, an = new RegExp(
1425
+ }), an = rn, on = new RegExp(
1420
1426
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1421
- ), on = new RegExp(
1427
+ ), ln = new RegExp(
1422
1428
  "^([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]))?))?$"
1423
1429
  );
1424
- function Pi(e) {
1425
- return e === null ? !1 : an.exec(e) !== null || on.exec(e) !== null;
1426
- }
1427
1430
  function qi(e) {
1431
+ return e === null ? !1 : on.exec(e) !== null || ln.exec(e) !== null;
1432
+ }
1433
+ function Hi(e) {
1428
1434
  var t, n, r, i, o, a, l, c = 0, u = null, d, s, p;
1429
- if (t = an.exec(e), t === null && (t = on.exec(e)), t === null) throw new Error("Date resolve error");
1435
+ if (t = on.exec(e), t === null && (t = ln.exec(e)), t === null) throw new Error("Date resolve error");
1430
1436
  if (n = +t[1], r = +t[2] - 1, i = +t[3], !t[4])
1431
1437
  return new Date(Date.UTC(n, r, i));
1432
1438
  if (o = +t[4], a = +t[5], l = +t[6], t[7]) {
@@ -1436,27 +1442,27 @@ function qi(e) {
1436
1442
  }
1437
1443
  return t[9] && (d = +t[10], s = +(t[11] || 0), u = (d * 60 + s) * 6e4, t[9] === "-" && (u = -u)), p = new Date(Date.UTC(n, r, i, o, a, l, c)), u && p.setTime(p.getTime() - u), p;
1438
1444
  }
1439
- function Hi(e) {
1445
+ function Yi(e) {
1440
1446
  return e.toISOString();
1441
1447
  }
1442
- var ln = new X("tag:yaml.org,2002:timestamp", {
1448
+ var cn = new X("tag:yaml.org,2002:timestamp", {
1443
1449
  kind: "scalar",
1444
- resolve: Pi,
1445
- construct: qi,
1450
+ resolve: qi,
1451
+ construct: Hi,
1446
1452
  instanceOf: Date,
1447
- represent: Hi
1453
+ represent: Yi
1448
1454
  });
1449
- function Yi(e) {
1455
+ function Vi(e) {
1450
1456
  return e === "<<" || e === null;
1451
1457
  }
1452
- var cn = new X("tag:yaml.org,2002:merge", {
1458
+ var sn = new X("tag:yaml.org,2002:merge", {
1453
1459
  kind: "scalar",
1454
- resolve: Yi
1455
- }), rt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1460
+ resolve: Vi
1461
+ }), nt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1456
1462
  \r`;
1457
- function Vi(e) {
1463
+ function Wi(e) {
1458
1464
  if (e === null) return !1;
1459
- var t, n, r = 0, i = e.length, o = rt;
1465
+ var t, n, r = 0, i = e.length, o = nt;
1460
1466
  for (n = 0; n < i; n++)
1461
1467
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1462
1468
  if (t < 0) return !1;
@@ -1464,35 +1470,35 @@ function Vi(e) {
1464
1470
  }
1465
1471
  return r % 8 === 0;
1466
1472
  }
1467
- function Wi(e) {
1468
- var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, o = rt, a = 0, l = [];
1473
+ function Ji(e) {
1474
+ var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, o = nt, a = 0, l = [];
1469
1475
  for (t = 0; t < i; t++)
1470
1476
  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));
1471
1477
  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);
1472
1478
  }
1473
- function Ji(e) {
1474
- var t = "", n = 0, r, i, o = e.length, a = rt;
1479
+ function Gi(e) {
1480
+ var t = "", n = 0, r, i, o = e.length, a = nt;
1475
1481
  for (r = 0; r < o; r++)
1476
1482
  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];
1477
1483
  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;
1478
1484
  }
1479
- function Gi(e) {
1485
+ function zi(e) {
1480
1486
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1481
1487
  }
1482
- var sn = new X("tag:yaml.org,2002:binary", {
1488
+ var un = new X("tag:yaml.org,2002:binary", {
1483
1489
  kind: "scalar",
1484
- resolve: Vi,
1485
- construct: Wi,
1486
- predicate: Gi,
1487
- represent: Ji
1488
- }), zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.toString;
1489
- function Zi(e) {
1490
+ resolve: Wi,
1491
+ construct: Ji,
1492
+ predicate: zi,
1493
+ represent: Gi
1494
+ }), Qi = Object.prototype.hasOwnProperty, Zi = Object.prototype.toString;
1495
+ function Xi(e) {
1490
1496
  if (e === null) return !0;
1491
1497
  var t = [], n, r, i, o, a, l = e;
1492
1498
  for (n = 0, r = l.length; n < r; n += 1) {
1493
- if (i = l[n], a = !1, Qi.call(i) !== "[object Object]") return !1;
1499
+ if (i = l[n], a = !1, Zi.call(i) !== "[object Object]") return !1;
1494
1500
  for (o in i)
1495
- if (zi.call(i, o))
1501
+ if (Qi.call(i, o))
1496
1502
  if (!a) a = !0;
1497
1503
  else return !1;
1498
1504
  if (!a) return !1;
@@ -1501,62 +1507,62 @@ function Zi(e) {
1501
1507
  }
1502
1508
  return !0;
1503
1509
  }
1504
- function Xi(e) {
1510
+ function ea(e) {
1505
1511
  return e !== null ? e : [];
1506
1512
  }
1507
- var un = new X("tag:yaml.org,2002:omap", {
1513
+ var dn = new X("tag:yaml.org,2002:omap", {
1508
1514
  kind: "sequence",
1509
- resolve: Zi,
1510
- construct: Xi
1511
- }), ea = Object.prototype.toString;
1512
- function ta(e) {
1515
+ resolve: Xi,
1516
+ construct: ea
1517
+ }), ta = Object.prototype.toString;
1518
+ function na(e) {
1513
1519
  if (e === null) return !0;
1514
1520
  var t, n, r, i, o, a = e;
1515
1521
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
1516
- if (r = a[t], ea.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
1522
+ if (r = a[t], ta.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
1517
1523
  o[t] = [i[0], r[i[0]]];
1518
1524
  }
1519
1525
  return !0;
1520
1526
  }
1521
- function na(e) {
1527
+ function ra(e) {
1522
1528
  if (e === null) return [];
1523
1529
  var t, n, r, i, o, a = e;
1524
1530
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1)
1525
1531
  r = a[t], i = Object.keys(r), o[t] = [i[0], r[i[0]]];
1526
1532
  return o;
1527
1533
  }
1528
- var dn = new X("tag:yaml.org,2002:pairs", {
1534
+ var fn = new X("tag:yaml.org,2002:pairs", {
1529
1535
  kind: "sequence",
1530
- resolve: ta,
1531
- construct: na
1532
- }), ra = Object.prototype.hasOwnProperty;
1533
- function ia(e) {
1536
+ resolve: na,
1537
+ construct: ra
1538
+ }), ia = Object.prototype.hasOwnProperty;
1539
+ function aa(e) {
1534
1540
  if (e === null) return !0;
1535
1541
  var t, n = e;
1536
1542
  for (t in n)
1537
- if (ra.call(n, t) && n[t] !== null)
1543
+ if (ia.call(n, t) && n[t] !== null)
1538
1544
  return !1;
1539
1545
  return !0;
1540
1546
  }
1541
- function aa(e) {
1547
+ function oa(e) {
1542
1548
  return e !== null ? e : {};
1543
1549
  }
1544
- var fn = new X("tag:yaml.org,2002:set", {
1550
+ var pn = new X("tag:yaml.org,2002:set", {
1545
1551
  kind: "mapping",
1546
- resolve: ia,
1547
- construct: aa
1548
- }), it = rn.extend({
1552
+ resolve: aa,
1553
+ construct: oa
1554
+ }), rt = an.extend({
1549
1555
  implicit: [
1550
- ln,
1551
- cn
1556
+ cn,
1557
+ sn
1552
1558
  ],
1553
1559
  explicit: [
1554
- sn,
1555
1560
  un,
1556
1561
  dn,
1557
- fn
1562
+ fn,
1563
+ pn
1558
1564
  ]
1559
- }), pe = Object.prototype.hasOwnProperty, Re = 1, pn = 2, mn = 3, Be = 4, Ve = 1, oa = 2, vt = 3, la = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ca = /[\x85\u2028\u2029]/, sa = /[,\[\]\{\}]/, hn = /^(?:!|!!|![a-z\-]+!)$/i, gn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1565
+ }), pe = Object.prototype.hasOwnProperty, Le = 1, mn = 2, hn = 3, Re = 4, Ye = 1, la = 2, vt = 3, ca = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, sa = /[\x85\u2028\u2029]/, ua = /[,\[\]\{\}]/, gn = /^(?:!|!!|![a-z\-]+!)$/i, yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1560
1566
  function bt(e) {
1561
1567
  return Object.prototype.toString.call(e);
1562
1568
  }
@@ -1569,36 +1575,36 @@ function he(e) {
1569
1575
  function re(e) {
1570
1576
  return e === 9 || e === 32 || e === 10 || e === 13;
1571
1577
  }
1572
- function Ce(e) {
1578
+ function xe(e) {
1573
1579
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1574
1580
  }
1575
- function ua(e) {
1581
+ function da(e) {
1576
1582
  var t;
1577
1583
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1578
1584
  }
1579
- function da(e) {
1585
+ function fa(e) {
1580
1586
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1581
1587
  }
1582
- function fa(e) {
1588
+ function pa(e) {
1583
1589
  return 48 <= e && e <= 57 ? e - 48 : -1;
1584
1590
  }
1585
1591
  function xt(e) {
1586
1592
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1587
1593
  ` : 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" : "";
1588
1594
  }
1589
- function pa(e) {
1595
+ function ma(e) {
1590
1596
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1591
1597
  (e - 65536 >> 10) + 55296,
1592
1598
  (e - 65536 & 1023) + 56320
1593
1599
  );
1594
1600
  }
1595
- var yn = new Array(256), vn = new Array(256);
1596
- for (var be = 0; be < 256; be++)
1597
- yn[be] = xt(be) ? 1 : 0, vn[be] = xt(be);
1598
- function ma(e, t) {
1599
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || it, 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 = [];
1601
+ var vn = new Array(256), bn = new Array(256);
1602
+ for (var ve = 0; ve < 256; ve++)
1603
+ vn[ve] = xt(ve) ? 1 : 0, bn[ve] = xt(ve);
1604
+ function ha(e, t) {
1605
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || rt, 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 = [];
1600
1606
  }
1601
- function bn(e, t) {
1607
+ function xn(e, t) {
1602
1608
  var n = {
1603
1609
  name: e.filename,
1604
1610
  buffer: e.input.slice(0, -1),
@@ -1607,22 +1613,22 @@ function bn(e, t) {
1607
1613
  line: e.line,
1608
1614
  column: e.position - e.lineStart
1609
1615
  };
1610
- return n.snippet = vi(n), new ne(t, n);
1616
+ return n.snippet = bi(n), new ne(t, n);
1611
1617
  }
1612
1618
  function k(e, t) {
1613
- throw bn(e, t);
1619
+ throw xn(e, t);
1614
1620
  }
1615
- function Ke(e, t) {
1616
- e.onWarning && e.onWarning.call(null, bn(e, t));
1621
+ function Be(e, t) {
1622
+ e.onWarning && e.onWarning.call(null, xn(e, t));
1617
1623
  }
1618
1624
  var Ct = {
1619
1625
  YAML: function(t, n, r) {
1620
1626
  var i, o, a;
1621
- t.version !== null && k(t, "duplication of %YAML directive"), r.length !== 1 && k(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && k(t, "ill-formed argument of the YAML directive"), o = parseInt(i[1], 10), a = parseInt(i[2], 10), o !== 1 && k(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Ke(t, "unsupported YAML version of the document");
1627
+ t.version !== null && k(t, "duplication of %YAML directive"), r.length !== 1 && k(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && k(t, "ill-formed argument of the YAML directive"), o = parseInt(i[1], 10), a = parseInt(i[2], 10), o !== 1 && k(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Be(t, "unsupported YAML version of the document");
1622
1628
  },
1623
1629
  TAG: function(t, n, r) {
1624
1630
  var i, o;
1625
- r.length !== 2 && k(t, "TAG directive accepts exactly two arguments"), i = r[0], o = r[1], hn.test(i) || k(t, "ill-formed tag handle (first argument) of the TAG directive"), pe.call(t.tagMap, i) && k(t, 'there is a previously declared suffix for "' + i + '" tag handle'), gn.test(o) || k(t, "ill-formed tag prefix (second argument) of the TAG directive");
1631
+ r.length !== 2 && k(t, "TAG directive accepts exactly two arguments"), i = r[0], o = r[1], gn.test(i) || k(t, "ill-formed tag handle (first argument) of the TAG directive"), pe.call(t.tagMap, i) && k(t, 'there is a previously declared suffix for "' + i + '" tag handle'), yn.test(o) || k(t, "ill-formed tag prefix (second argument) of the TAG directive");
1626
1632
  try {
1627
1633
  o = decodeURIComponent(o);
1628
1634
  } catch {
@@ -1637,7 +1643,7 @@ function de(e, t, n, r) {
1637
1643
  if (l = e.input.slice(t, n), r)
1638
1644
  for (i = 0, o = l.length; i < o; i += 1)
1639
1645
  a = l.charCodeAt(i), a === 9 || 32 <= a && a <= 1114111 || k(e, "expected valid JSON character");
1640
- else la.test(l) && k(e, "the stream contains non-printable characters");
1646
+ else ca.test(l) && k(e, "the stream contains non-printable characters");
1641
1647
  e.result += l;
1642
1648
  }
1643
1649
  }
@@ -1646,7 +1652,7 @@ function At(e, t, n, r) {
1646
1652
  for (Q.isObject(n) || k(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), a = 0, l = i.length; a < l; a += 1)
1647
1653
  o = i[a], pe.call(t, o) || (t[o] = n[o], r[o] = !0);
1648
1654
  }
1649
- function Ae(e, t, n, r, i, o, a, l, c) {
1655
+ function Ce(e, t, n, r, i, o, a, l, c) {
1650
1656
  var u, d;
1651
1657
  if (Array.isArray(i))
1652
1658
  for (i = Array.prototype.slice.call(i), u = 0, d = i.length; u < d; u += 1)
@@ -1666,7 +1672,7 @@ function Ae(e, t, n, r, i, o, a, l, c) {
1666
1672
  }) : t[i] = o, delete n[i];
1667
1673
  return t;
1668
1674
  }
1669
- function at(e) {
1675
+ function it(e) {
1670
1676
  var t;
1671
1677
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : k(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1672
1678
  }
@@ -1679,34 +1685,34 @@ function G(e, t, n) {
1679
1685
  i = e.input.charCodeAt(++e.position);
1680
1686
  while (i !== 10 && i !== 13 && i !== 0);
1681
1687
  if (ce(i))
1682
- for (at(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1688
+ for (it(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1683
1689
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1684
1690
  else
1685
1691
  break;
1686
1692
  }
1687
- return n !== -1 && r !== 0 && e.lineIndent < n && Ke(e, "deficient indentation"), r;
1693
+ return n !== -1 && r !== 0 && e.lineIndent < n && Be(e, "deficient indentation"), r;
1688
1694
  }
1689
- function Pe(e) {
1695
+ function Ue(e) {
1690
1696
  var t = e.position, n;
1691
1697
  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)));
1692
1698
  }
1693
- function ot(e, t) {
1699
+ function at(e, t) {
1694
1700
  t === 1 ? e.result += " " : t > 1 && (e.result += Q.repeat(`
1695
1701
  `, t - 1));
1696
1702
  }
1697
- function ha(e, t, n) {
1703
+ function ga(e, t, n) {
1698
1704
  var r, i, o, a, l, c, u, d, s = e.kind, p = e.result, f;
1699
- if (f = e.input.charCodeAt(e.position), re(f) || Ce(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 && Ce(i)))
1705
+ 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)))
1700
1706
  return !1;
1701
1707
  for (e.kind = "scalar", e.result = "", o = a = e.position, l = !1; f !== 0; ) {
1702
1708
  if (f === 58) {
1703
- if (i = e.input.charCodeAt(e.position + 1), re(i) || n && Ce(i))
1709
+ if (i = e.input.charCodeAt(e.position + 1), re(i) || n && xe(i))
1704
1710
  break;
1705
1711
  } else if (f === 35) {
1706
1712
  if (r = e.input.charCodeAt(e.position - 1), re(r))
1707
1713
  break;
1708
1714
  } else {
1709
- if (e.position === e.lineStart && Pe(e) || n && Ce(f))
1715
+ if (e.position === e.lineStart && Ue(e) || n && xe(f))
1710
1716
  break;
1711
1717
  if (ce(f))
1712
1718
  if (c = e.line, u = e.lineStart, d = e.lineIndent, G(e, !1, -1), e.lineIndent >= t) {
@@ -1717,11 +1723,11 @@ function ha(e, t, n) {
1717
1723
  break;
1718
1724
  }
1719
1725
  }
1720
- l && (de(e, o, a, !1), ot(e, e.line - c), o = a = e.position, l = !1), he(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1726
+ l && (de(e, o, a, !1), at(e, e.line - c), o = a = e.position, l = !1), he(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1721
1727
  }
1722
1728
  return de(e, o, a, !1), e.result ? !0 : (e.kind = s, e.result = p, !1);
1723
1729
  }
1724
- function ga(e, t) {
1730
+ function ya(e, t) {
1725
1731
  var n, r, i;
1726
1732
  if (n = e.input.charCodeAt(e.position), n !== 39)
1727
1733
  return !1;
@@ -1731,10 +1737,10 @@ function ga(e, t) {
1731
1737
  r = e.position, e.position++, i = e.position;
1732
1738
  else
1733
1739
  return !0;
1734
- else ce(n) ? (de(e, r, i, !0), ot(e, G(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Pe(e) ? k(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1740
+ else ce(n) ? (de(e, r, i, !0), at(e, G(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Ue(e) ? k(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1735
1741
  k(e, "unexpected end of the stream within a single quoted scalar");
1736
1742
  }
1737
- function ya(e, t) {
1743
+ function va(e, t) {
1738
1744
  var n, r, i, o, a, l;
1739
1745
  if (l = e.input.charCodeAt(e.position), l !== 34)
1740
1746
  return !1;
@@ -1744,20 +1750,20 @@ function ya(e, t) {
1744
1750
  if (l === 92) {
1745
1751
  if (de(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), ce(l))
1746
1752
  G(e, !1, t);
1747
- else if (l < 256 && yn[l])
1748
- e.result += vn[l], e.position++;
1749
- else if ((a = da(l)) > 0) {
1753
+ else if (l < 256 && vn[l])
1754
+ e.result += bn[l], e.position++;
1755
+ else if ((a = fa(l)) > 0) {
1750
1756
  for (i = a, o = 0; i > 0; i--)
1751
- l = e.input.charCodeAt(++e.position), (a = ua(l)) >= 0 ? o = (o << 4) + a : k(e, "expected hexadecimal character");
1752
- e.result += pa(o), e.position++;
1757
+ l = e.input.charCodeAt(++e.position), (a = da(l)) >= 0 ? o = (o << 4) + a : k(e, "expected hexadecimal character");
1758
+ e.result += ma(o), e.position++;
1753
1759
  } else
1754
1760
  k(e, "unknown escape sequence");
1755
1761
  n = r = e.position;
1756
- } else ce(l) ? (de(e, n, r, !0), ot(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Pe(e) ? k(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1762
+ } else ce(l) ? (de(e, n, r, !0), at(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Ue(e) ? k(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1757
1763
  }
1758
1764
  k(e, "unexpected end of the stream within a double quoted scalar");
1759
1765
  }
1760
- function va(e, t) {
1766
+ function ba(e, t) {
1761
1767
  var n = !0, r, i, o, a = e.tag, l, c = e.anchor, u, d, s, p, f, g = /* @__PURE__ */ Object.create(null), h, x, E, y;
1762
1768
  if (y = e.input.charCodeAt(e.position), y === 91)
1763
1769
  d = 93, f = !1, l = [];
@@ -1768,12 +1774,12 @@ function va(e, t) {
1768
1774
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), y = e.input.charCodeAt(++e.position); y !== 0; ) {
1769
1775
  if (G(e, !0, t), y = e.input.charCodeAt(e.position), y === d)
1770
1776
  return e.position++, e.tag = a, e.anchor = c, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1771
- n ? y === 44 && k(e, "expected the node content, but found ','") : k(e, "missed comma between flow collection entries"), x = h = E = null, s = p = !1, y === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (s = p = !0, e.position++, G(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, _e(e, t, Re, !1, !0), x = e.tag, h = e.result, G(e, !0, t), y = e.input.charCodeAt(e.position), (p || e.line === r) && y === 58 && (s = !0, y = e.input.charCodeAt(++e.position), G(e, !0, t), _e(e, t, Re, !1, !0), E = e.result), f ? Ae(e, l, g, x, h, E, r, i, o) : s ? l.push(Ae(e, null, g, x, h, E, r, i, o)) : l.push(h), G(e, !0, t), y = e.input.charCodeAt(e.position), y === 44 ? (n = !0, y = e.input.charCodeAt(++e.position)) : n = !1;
1777
+ n ? y === 44 && k(e, "expected the node content, but found ','") : k(e, "missed comma between flow collection entries"), x = h = E = null, s = p = !1, y === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (s = p = !0, e.position++, G(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, ke(e, t, Le, !1, !0), x = e.tag, h = e.result, G(e, !0, t), y = e.input.charCodeAt(e.position), (p || e.line === r) && y === 58 && (s = !0, y = e.input.charCodeAt(++e.position), G(e, !0, t), ke(e, t, Le, !1, !0), E = e.result), f ? Ce(e, l, g, x, h, E, r, i, o) : s ? l.push(Ce(e, null, g, x, h, E, r, i, o)) : l.push(h), G(e, !0, t), y = e.input.charCodeAt(e.position), y === 44 ? (n = !0, y = e.input.charCodeAt(++e.position)) : n = !1;
1772
1778
  }
1773
1779
  k(e, "unexpected end of the stream within a flow collection");
1774
1780
  }
1775
- function ba(e, t) {
1776
- var n, r, i = Ve, o = !1, a = !1, l = t, c = 0, u = !1, d, s;
1781
+ function xa(e, t) {
1782
+ var n, r, i = Ye, o = !1, a = !1, l = t, c = 0, u = !1, d, s;
1777
1783
  if (s = e.input.charCodeAt(e.position), s === 124)
1778
1784
  r = !1;
1779
1785
  else if (s === 62)
@@ -1782,8 +1788,8 @@ function ba(e, t) {
1782
1788
  return !1;
1783
1789
  for (e.kind = "scalar", e.result = ""; s !== 0; )
1784
1790
  if (s = e.input.charCodeAt(++e.position), s === 43 || s === 45)
1785
- Ve === i ? i = s === 43 ? vt : oa : k(e, "repeat of a chomping mode identifier");
1786
- else if ((d = fa(s)) >= 0)
1791
+ Ye === i ? i = s === 43 ? vt : la : k(e, "repeat of a chomping mode identifier");
1792
+ else if ((d = pa(s)) >= 0)
1787
1793
  d === 0 ? k(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? k(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1788
1794
  else
1789
1795
  break;
@@ -1797,7 +1803,7 @@ function ba(e, t) {
1797
1803
  while (!ce(s) && s !== 0);
1798
1804
  }
1799
1805
  for (; s !== 0; ) {
1800
- for (at(e), e.lineIndent = 0, s = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && s === 32; )
1806
+ for (it(e), e.lineIndent = 0, s = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && s === 32; )
1801
1807
  e.lineIndent++, s = e.input.charCodeAt(++e.position);
1802
1808
  if (!a && e.lineIndent > l && (l = e.lineIndent), ce(s)) {
1803
1809
  c++;
@@ -1805,7 +1811,7 @@ function ba(e, t) {
1805
1811
  }
1806
1812
  if (e.lineIndent < l) {
1807
1813
  i === vt ? e.result += Q.repeat(`
1808
- `, o ? 1 + c : c) : i === Ve && o && (e.result += `
1814
+ `, o ? 1 + c : c) : i === Ye && o && (e.result += `
1809
1815
  `);
1810
1816
  break;
1811
1817
  }
@@ -1827,27 +1833,27 @@ function kt(e, t) {
1827
1833
  o.push(null), c = e.input.charCodeAt(e.position);
1828
1834
  continue;
1829
1835
  }
1830
- if (n = e.line, _e(e, t, mn, !1, !0), o.push(e.result), G(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1836
+ if (n = e.line, ke(e, t, hn, !1, !0), o.push(e.result), G(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1831
1837
  k(e, "bad indentation of a sequence entry");
1832
1838
  else if (e.lineIndent < t)
1833
1839
  break;
1834
1840
  }
1835
1841
  return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1836
1842
  }
1837
- function xa(e, t, n) {
1843
+ function Ca(e, t, n) {
1838
1844
  var r, i, o, a, l, c, u = e.tag, d = e.anchor, s = {}, p = /* @__PURE__ */ Object.create(null), f = null, g = null, h = null, x = !1, E = !1, y;
1839
1845
  if (e.firstTabInLine !== -1) return !1;
1840
1846
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), y = e.input.charCodeAt(e.position); y !== 0; ) {
1841
1847
  if (!x && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, k(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (y === 63 || y === 58) && re(r))
1842
- y === 63 ? (x && (Ae(e, s, p, f, g, null, a, l, c), f = g = h = null), E = !0, x = !0, i = !0) : x ? (x = !1, i = !0) : k(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = r;
1848
+ y === 63 ? (x && (Ce(e, s, p, f, g, null, a, l, c), f = g = h = null), E = !0, x = !0, i = !0) : x ? (x = !1, i = !0) : k(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = r;
1843
1849
  else {
1844
- if (a = e.line, l = e.lineStart, c = e.position, !_e(e, n, pn, !1, !0))
1850
+ if (a = e.line, l = e.lineStart, c = e.position, !ke(e, n, mn, !1, !0))
1845
1851
  break;
1846
1852
  if (e.line === o) {
1847
1853
  for (y = e.input.charCodeAt(e.position); he(y); )
1848
1854
  y = e.input.charCodeAt(++e.position);
1849
1855
  if (y === 58)
1850
- y = e.input.charCodeAt(++e.position), re(y) || k(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (Ae(e, s, p, f, g, null, a, l, c), f = g = h = null), E = !0, x = !1, i = !1, f = e.tag, g = e.result;
1856
+ y = e.input.charCodeAt(++e.position), re(y) || k(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (Ce(e, s, p, f, g, null, a, l, c), f = g = h = null), E = !0, x = !1, i = !1, f = e.tag, g = e.result;
1851
1857
  else if (E)
1852
1858
  k(e, "can not read an implicit mapping pair; a colon is missed");
1853
1859
  else
@@ -1857,14 +1863,14 @@ function xa(e, t, n) {
1857
1863
  else
1858
1864
  return e.tag = u, e.anchor = d, !0;
1859
1865
  }
1860
- if ((e.line === o || e.lineIndent > t) && (x && (a = e.line, l = e.lineStart, c = e.position), _e(e, t, Be, !0, i) && (x ? g = e.result : h = e.result), x || (Ae(e, s, p, f, g, h, a, l, c), f = g = h = null), G(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && y !== 0)
1866
+ if ((e.line === o || e.lineIndent > t) && (x && (a = e.line, l = e.lineStart, c = e.position), ke(e, t, Re, !0, i) && (x ? g = e.result : h = e.result), x || (Ce(e, s, p, f, g, h, a, l, c), f = g = h = null), G(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && y !== 0)
1861
1867
  k(e, "bad indentation of a mapping entry");
1862
1868
  else if (e.lineIndent < t)
1863
1869
  break;
1864
1870
  }
1865
- return x && Ae(e, s, p, f, g, null, a, l, c), E && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = s), E;
1871
+ return x && Ce(e, s, p, f, g, null, a, l, c), E && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = s), E;
1866
1872
  }
1867
- function Ca(e) {
1873
+ function Aa(e) {
1868
1874
  var t, n = !1, r = !1, i, o, a;
1869
1875
  if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
1870
1876
  if (e.tag !== null && k(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) {
@@ -1874,10 +1880,10 @@ function Ca(e) {
1874
1880
  e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : k(e, "unexpected end of the stream within a verbatim tag");
1875
1881
  } else {
1876
1882
  for (; a !== 0 && !re(a); )
1877
- a === 33 && (r ? k(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), hn.test(i) || k(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1878
- o = e.input.slice(t, e.position), sa.test(o) && k(e, "tag suffix cannot contain flow indicator characters");
1883
+ a === 33 && (r ? k(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), gn.test(i) || k(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1884
+ o = e.input.slice(t, e.position), ua.test(o) && k(e, "tag suffix cannot contain flow indicator characters");
1879
1885
  }
1880
- o && !gn.test(o) && k(e, "tag name cannot contain such characters: " + o);
1886
+ o && !yn.test(o) && k(e, "tag name cannot contain such characters: " + o);
1881
1887
  try {
1882
1888
  o = decodeURIComponent(o);
1883
1889
  } catch {
@@ -1885,26 +1891,26 @@ function Ca(e) {
1885
1891
  }
1886
1892
  return n ? e.tag = o : pe.call(e.tagMap, i) ? e.tag = e.tagMap[i] + o : i === "!" ? e.tag = "!" + o : i === "!!" ? e.tag = "tag:yaml.org,2002:" + o : k(e, 'undeclared tag handle "' + i + '"'), !0;
1887
1893
  }
1888
- function Aa(e) {
1894
+ function ka(e) {
1889
1895
  var t, n;
1890
1896
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
1891
- for (e.anchor !== null && k(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !Ce(n); )
1897
+ for (e.anchor !== null && k(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !xe(n); )
1892
1898
  n = e.input.charCodeAt(++e.position);
1893
1899
  return e.position === t && k(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1894
1900
  }
1895
- function ka(e) {
1901
+ function _a(e) {
1896
1902
  var t, n, r;
1897
1903
  if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
1898
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !Ce(r); )
1904
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !xe(r); )
1899
1905
  r = e.input.charCodeAt(++e.position);
1900
1906
  return e.position === t && k(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), pe.call(e.anchorMap, n) || k(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1901
1907
  }
1902
- function _e(e, t, n, r, i) {
1908
+ function ke(e, t, n, r, i) {
1903
1909
  var o, a, l, c = 1, u = !1, d = !1, s, p, f, g, h, x;
1904
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Be === n || mn === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
1905
- for (; Ca(e) || Aa(e); )
1910
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Re === n || hn === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
1911
+ for (; Aa(e) || ka(e); )
1906
1912
  G(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : l = !1;
1907
- if (l && (l = u || i), (c === 1 || Be === n) && (Re === n || pn === n ? h = t : h = t + 1, x = e.position - e.lineStart, c === 1 ? l && (kt(e, x) || xa(e, x, h)) || va(e, h) ? d = !0 : (a && ba(e, h) || ga(e, h) || ya(e, h) ? d = !0 : ka(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && k(e, "alias node should not have any properties")) : ha(e, h, Re === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && kt(e, x))), e.tag === null)
1913
+ if (l && (l = u || i), (c === 1 || Re === n) && (Le === n || mn === n ? h = t : h = t + 1, x = e.position - e.lineStart, c === 1 ? l && (kt(e, x) || Ca(e, x, h)) || ba(e, h) ? d = !0 : (a && xa(e, h) || ya(e, h) || va(e, h) ? d = !0 : _a(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && k(e, "alias node should not have any properties")) : ga(e, h, Le === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && kt(e, x))), e.tag === null)
1908
1914
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1909
1915
  else if (e.tag === "?") {
1910
1916
  for (e.result !== null && e.kind !== "scalar" && k(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), s = 0, p = e.implicitTypes.length; s < p; s += 1)
@@ -1925,7 +1931,7 @@ function _e(e, t, n, r, i) {
1925
1931
  }
1926
1932
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
1927
1933
  }
1928
- function _a(e) {
1934
+ function wa(e) {
1929
1935
  var t = e.position, n, r, i, o = !1, a;
1930
1936
  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 && (G(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
1931
1937
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !re(a); )
@@ -1944,9 +1950,9 @@ function _a(e) {
1944
1950
  a = e.input.charCodeAt(++e.position);
1945
1951
  i.push(e.input.slice(n, e.position));
1946
1952
  }
1947
- a !== 0 && at(e), pe.call(Ct, r) ? Ct[r](e, r, i) : Ke(e, 'unknown document directive "' + r + '"');
1953
+ a !== 0 && it(e), pe.call(Ct, r) ? Ct[r](e, r, i) : Be(e, 'unknown document directive "' + r + '"');
1948
1954
  }
1949
- if (G(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, G(e, !0, -1)) : o && k(e, "directives end mark is expected"), _e(e, e.lineIndent - 1, Be, !1, !0), G(e, !0, -1), e.checkLineBreaks && ca.test(e.input.slice(t, e.position)) && Ke(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Pe(e)) {
1955
+ if (G(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, G(e, !0, -1)) : o && k(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Re, !1, !0), G(e, !0, -1), e.checkLineBreaks && sa.test(e.input.slice(t, e.position)) && Be(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ue(e)) {
1950
1956
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, G(e, !0, -1));
1951
1957
  return;
1952
1958
  }
@@ -1955,36 +1961,36 @@ function _a(e) {
1955
1961
  else
1956
1962
  return;
1957
1963
  }
1958
- function xn(e, t) {
1964
+ function Cn(e, t) {
1959
1965
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
1960
1966
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
1961
- var n = new ma(e, t), r = e.indexOf("\0");
1967
+ var n = new ha(e, t), r = e.indexOf("\0");
1962
1968
  for (r !== -1 && (n.position = r, k(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
1963
1969
  n.lineIndent += 1, n.position += 1;
1964
1970
  for (; n.position < n.length - 1; )
1965
- _a(n);
1971
+ wa(n);
1966
1972
  return n.documents;
1967
1973
  }
1968
- function wa(e, t, n) {
1974
+ function Sa(e, t, n) {
1969
1975
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
1970
- var r = xn(e, n);
1976
+ var r = Cn(e, n);
1971
1977
  if (typeof t != "function")
1972
1978
  return r;
1973
1979
  for (var i = 0, o = r.length; i < o; i += 1)
1974
1980
  t(r[i]);
1975
1981
  }
1976
- function Sa(e, t) {
1977
- var n = xn(e, t);
1982
+ function Ta(e, t) {
1983
+ var n = Cn(e, t);
1978
1984
  if (n.length !== 0) {
1979
1985
  if (n.length === 1)
1980
1986
  return n[0];
1981
1987
  throw new ne("expected a single document in the stream, but found more");
1982
1988
  }
1983
1989
  }
1984
- var Ia = wa, Ta = Sa, Cn = {
1990
+ var Ia = Sa, $a = Ta, An = {
1985
1991
  loadAll: Ia,
1986
- load: Ta
1987
- }, An = Object.prototype.toString, kn = Object.prototype.hasOwnProperty, lt = 65279, $a = 9, Ie = 10, Ea = 13, Fa = 32, Oa = 33, La = 34, ze = 35, Ra = 37, Ba = 38, Ka = 39, Na = 42, _n = 44, Ma = 45, Ne = 58, Da = 61, ja = 62, Ua = 63, Pa = 64, wn = 91, Sn = 93, qa = 96, In = 123, Ha = 124, Tn = 125, ee = {};
1992
+ load: $a
1993
+ }, kn = Object.prototype.toString, _n = Object.prototype.hasOwnProperty, ot = 65279, Ea = 9, Te = 10, Fa = 13, Oa = 32, La = 33, Ra = 34, Ge = 35, Ba = 37, Ka = 38, Na = 39, Ma = 42, wn = 44, Da = 45, Ke = 58, ja = 61, Ua = 62, Pa = 63, qa = 64, Sn = 91, Tn = 93, Ha = 96, In = 123, Ya = 124, $n = 125, ee = {};
1988
1994
  ee[0] = "\\0";
1989
1995
  ee[7] = "\\a";
1990
1996
  ee[8] = "\\b";
@@ -2000,7 +2006,7 @@ ee[133] = "\\N";
2000
2006
  ee[160] = "\\_";
2001
2007
  ee[8232] = "\\L";
2002
2008
  ee[8233] = "\\P";
2003
- var Ya = [
2009
+ var Va = [
2004
2010
  "y",
2005
2011
  "Y",
2006
2012
  "yes",
@@ -2017,15 +2023,15 @@ var Ya = [
2017
2023
  "off",
2018
2024
  "Off",
2019
2025
  "OFF"
2020
- ], Va = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2021
- function Wa(e, t) {
2026
+ ], Wa = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2027
+ function Ja(e, t) {
2022
2028
  var n, r, i, o, a, l, c;
2023
2029
  if (t === null) return {};
2024
2030
  for (n = {}, r = Object.keys(t), i = 0, o = r.length; i < o; i += 1)
2025
- 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 && kn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
2031
+ 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 && _n.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
2026
2032
  return n;
2027
2033
  }
2028
- function Ja(e) {
2034
+ function Ga(e) {
2029
2035
  var t, n, r;
2030
2036
  if (t = e.toString(16).toUpperCase(), e <= 255)
2031
2037
  n = "x", r = 2;
@@ -2037,9 +2043,9 @@ function Ja(e) {
2037
2043
  throw new ne("code point within a string may not be greater than 0xFFFFFFFF");
2038
2044
  return "\\" + n + Q.repeat("0", r - t.length) + t;
2039
2045
  }
2040
- var Ga = 1, Te = 2;
2041
- function za(e) {
2042
- this.schema = e.schema || it, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Wa(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 : Ga, 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;
2046
+ var za = 1, Ie = 2;
2047
+ function Qa(e) {
2048
+ this.schema = e.schema || rt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ja(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 === '"' ? Ie : za, 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;
2043
2049
  }
2044
2050
  function _t(e, t) {
2045
2051
  for (var n = Q.repeat(" ", t), r = 0, i = -1, o = "", a, l = e.length; r < l; )
@@ -2048,83 +2054,83 @@ function _t(e, t) {
2048
2054
  ` && (o += n), o += a;
2049
2055
  return o;
2050
2056
  }
2051
- function Qe(e, t) {
2057
+ function ze(e, t) {
2052
2058
  return `
2053
2059
  ` + Q.repeat(" ", e.indent * t);
2054
2060
  }
2055
- function Qa(e, t) {
2061
+ function Za(e, t) {
2056
2062
  var n, r, i;
2057
2063
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2058
2064
  if (i = e.implicitTypes[n], i.resolve(t))
2059
2065
  return !0;
2060
2066
  return !1;
2061
2067
  }
2062
- function Me(e) {
2063
- return e === Fa || e === $a;
2068
+ function Ne(e) {
2069
+ return e === Oa || e === Ea;
2064
2070
  }
2065
2071
  function $e(e) {
2066
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== lt || 65536 <= e && e <= 1114111;
2072
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ot || 65536 <= e && e <= 1114111;
2067
2073
  }
2068
2074
  function wt(e) {
2069
- return $e(e) && e !== lt && e !== Ea && e !== Ie;
2075
+ return $e(e) && e !== ot && e !== Fa && e !== Te;
2070
2076
  }
2071
2077
  function St(e, t, n) {
2072
- var r = wt(e), i = r && !Me(e);
2078
+ var r = wt(e), i = r && !Ne(e);
2073
2079
  return (
2074
2080
  // ns-plain-safe
2075
2081
  (n ? (
2076
2082
  // c = flow-in
2077
2083
  r
2078
- ) : r && e !== _n && e !== wn && e !== Sn && e !== In && e !== Tn) && e !== ze && !(t === Ne && !i) || wt(t) && !Me(t) && e === ze || t === Ne && i
2084
+ ) : r && e !== wn && e !== Sn && e !== Tn && e !== In && e !== $n) && e !== Ge && !(t === Ke && !i) || wt(t) && !Ne(t) && e === Ge || t === Ke && i
2079
2085
  );
2080
2086
  }
2081
- function Za(e) {
2082
- return $e(e) && e !== lt && !Me(e) && e !== Ma && e !== Ua && e !== Ne && e !== _n && e !== wn && e !== Sn && e !== In && e !== Tn && e !== ze && e !== Ba && e !== Na && e !== Oa && e !== Ha && e !== Da && e !== ja && e !== Ka && e !== La && e !== Ra && e !== Pa && e !== qa;
2083
- }
2084
2087
  function Xa(e) {
2085
- return !Me(e) && e !== Ne;
2088
+ return $e(e) && e !== ot && !Ne(e) && e !== Da && e !== Pa && e !== Ke && e !== wn && e !== Sn && e !== Tn && e !== In && e !== $n && e !== Ge && e !== Ka && e !== Ma && e !== La && e !== Ya && e !== ja && e !== Ua && e !== Na && e !== Ra && e !== Ba && e !== qa && e !== Ha;
2089
+ }
2090
+ function eo(e) {
2091
+ return !Ne(e) && e !== Ke;
2086
2092
  }
2087
2093
  function we(e, t) {
2088
2094
  var n = e.charCodeAt(t), r;
2089
2095
  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;
2090
2096
  }
2091
- function $n(e) {
2097
+ function En(e) {
2092
2098
  var t = /^\n* /;
2093
2099
  return t.test(e);
2094
2100
  }
2095
- var En = 1, Ze = 2, Fn = 3, On = 4, xe = 5;
2096
- function eo(e, t, n, r, i, o, a, l) {
2097
- var c, u = 0, d = null, s = !1, p = !1, f = r !== -1, g = -1, h = Za(we(e, 0)) && Xa(we(e, e.length - 1));
2101
+ var Fn = 1, Qe = 2, On = 3, Ln = 4, be = 5;
2102
+ function to(e, t, n, r, i, o, a, l) {
2103
+ var c, u = 0, d = null, s = !1, p = !1, f = r !== -1, g = -1, h = Xa(we(e, 0)) && eo(we(e, e.length - 1));
2098
2104
  if (t || a)
2099
2105
  for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
2100
2106
  if (u = we(e, c), !$e(u))
2101
- return xe;
2107
+ return be;
2102
2108
  h = h && St(u, d, l), d = u;
2103
2109
  }
2104
2110
  else {
2105
2111
  for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
2106
- if (u = we(e, c), u === Ie)
2112
+ if (u = we(e, c), u === Te)
2107
2113
  s = !0, f && (p = p || // Foldable line = too long, and not more-indented.
2108
2114
  c - g - 1 > r && e[g + 1] !== " ", g = c);
2109
2115
  else if (!$e(u))
2110
- return xe;
2116
+ return be;
2111
2117
  h = h && St(u, d, l), d = u;
2112
2118
  }
2113
2119
  p = p || f && c - g - 1 > r && e[g + 1] !== " ";
2114
2120
  }
2115
- return !s && !p ? h && !a && !i(e) ? En : o === Te ? xe : Ze : n > 9 && $n(e) ? xe : a ? o === Te ? xe : Ze : p ? On : Fn;
2121
+ return !s && !p ? h && !a && !i(e) ? Fn : o === Ie ? be : Qe : n > 9 && En(e) ? be : a ? o === Ie ? be : Qe : p ? Ln : On;
2116
2122
  }
2117
- function to(e, t, n, r, i) {
2123
+ function no(e, t, n, r, i) {
2118
2124
  e.dump = function() {
2119
2125
  if (t.length === 0)
2120
- return e.quotingType === Te ? '""' : "''";
2121
- if (!e.noCompatMode && (Ya.indexOf(t) !== -1 || Va.test(t)))
2122
- return e.quotingType === Te ? '"' + t + '"' : "'" + t + "'";
2126
+ return e.quotingType === Ie ? '""' : "''";
2127
+ if (!e.noCompatMode && (Va.indexOf(t) !== -1 || Wa.test(t)))
2128
+ return e.quotingType === Ie ? '"' + t + '"' : "'" + t + "'";
2123
2129
  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;
2124
2130
  function c(u) {
2125
- return Qa(e, u);
2131
+ return Za(e, u);
2126
2132
  }
2127
- switch (eo(
2133
+ switch (to(
2128
2134
  t,
2129
2135
  l,
2130
2136
  e.indent,
@@ -2134,34 +2140,34 @@ function to(e, t, n, r, i) {
2134
2140
  e.forceQuotes && !r,
2135
2141
  i
2136
2142
  )) {
2137
- case En:
2143
+ case Fn:
2138
2144
  return t;
2139
- case Ze:
2145
+ case Qe:
2140
2146
  return "'" + t.replace(/'/g, "''") + "'";
2141
- case Fn:
2142
- return "|" + It(t, e.indent) + Tt(_t(t, o));
2143
2147
  case On:
2144
- return ">" + It(t, e.indent) + Tt(_t(no(t, a), o));
2145
- case xe:
2146
- return '"' + ro(t) + '"';
2148
+ return "|" + Tt(t, e.indent) + It(_t(t, o));
2149
+ case Ln:
2150
+ return ">" + Tt(t, e.indent) + It(_t(ro(t, a), o));
2151
+ case be:
2152
+ return '"' + io(t) + '"';
2147
2153
  default:
2148
2154
  throw new ne("impossible error: invalid scalar style");
2149
2155
  }
2150
2156
  }();
2151
2157
  }
2152
- function It(e, t) {
2153
- var n = $n(e) ? String(t) : "", r = e[e.length - 1] === `
2158
+ function Tt(e, t) {
2159
+ var n = En(e) ? String(t) : "", r = e[e.length - 1] === `
2154
2160
  `, i = r && (e[e.length - 2] === `
2155
2161
  ` || e === `
2156
2162
  `), o = i ? "+" : r ? "" : "-";
2157
2163
  return n + o + `
2158
2164
  `;
2159
2165
  }
2160
- function Tt(e) {
2166
+ function It(e) {
2161
2167
  return e[e.length - 1] === `
2162
2168
  ` ? e.slice(0, -1) : e;
2163
2169
  }
2164
- function no(e, t) {
2170
+ function ro(e, t) {
2165
2171
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2166
2172
  var u = e.indexOf(`
2167
2173
  `);
@@ -2183,12 +2189,12 @@ function $t(e, t) {
2183
2189
  `, e.length - i > t && a > i ? c += e.slice(i, a) + `
2184
2190
  ` + e.slice(a + 1) : c += e.slice(i), c.slice(1);
2185
2191
  }
2186
- function ro(e) {
2192
+ function io(e) {
2187
2193
  for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
2188
- n = we(e, i), r = ee[n], !r && $e(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Ja(n);
2194
+ n = we(e, i), r = ee[n], !r && $e(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Ga(n);
2189
2195
  return t;
2190
2196
  }
2191
- function io(e, t, n) {
2197
+ function ao(e, t, n) {
2192
2198
  var r = "", i = e.tag, o, a, l;
2193
2199
  for (o = 0, a = n.length; o < a; o += 1)
2194
2200
  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);
@@ -2197,16 +2203,16 @@ function io(e, t, n) {
2197
2203
  function Et(e, t, n, r) {
2198
2204
  var i = "", o = e.tag, a, l, c;
2199
2205
  for (a = 0, l = n.length; a < l; a += 1)
2200
- 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 += Qe(e, t)), e.dump && Ie === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2206
+ 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 += ze(e, t)), e.dump && Te === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2201
2207
  e.tag = o, e.dump = i || "[]";
2202
2208
  }
2203
- function ao(e, t, n) {
2209
+ function oo(e, t, n) {
2204
2210
  var r = "", i = e.tag, o = Object.keys(n), a, l, c, u, d;
2205
2211
  for (a = 0, l = o.length; a < l; a += 1)
2206
2212
  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));
2207
2213
  e.tag = i, e.dump = "{" + r + "}";
2208
2214
  }
2209
- function oo(e, t, n, r) {
2215
+ function lo(e, t, n, r) {
2210
2216
  var i = "", o = e.tag, a = Object.keys(n), l, c, u, d, s, p;
2211
2217
  if (e.sortKeys === !0)
2212
2218
  a.sort();
@@ -2215,7 +2221,7 @@ function oo(e, t, n, r) {
2215
2221
  else if (e.sortKeys)
2216
2222
  throw new ne("sortKeys must be a boolean or a function");
2217
2223
  for (l = 0, c = a.length; l < c; l += 1)
2218
- p = "", (!r || i !== "") && (p += Qe(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) ? p += "?" : p += "? "), p += e.dump, s && (p += Qe(e, t)), se(e, t + 1, d, !0, s) && (e.dump && Ie === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
2224
+ p = "", (!r || i !== "") && (p += ze(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 && Te === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, s && (p += ze(e, t)), se(e, t + 1, d, !0, s) && (e.dump && Te === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
2219
2225
  e.tag = o, e.dump = i || "{}";
2220
2226
  }
2221
2227
  function Ft(e, t, n) {
@@ -2223,9 +2229,9 @@ function Ft(e, t, n) {
2223
2229
  for (i = n ? e.explicitTypes : e.implicitTypes, o = 0, a = i.length; o < a; o += 1)
2224
2230
  if (l = i[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2225
2231
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2226
- if (c = e.styleMap[l.tag] || l.defaultStyle, An.call(l.represent) === "[object Function]")
2232
+ if (c = e.styleMap[l.tag] || l.defaultStyle, kn.call(l.represent) === "[object Function]")
2227
2233
  r = l.represent(t, c);
2228
- else if (kn.call(l.represent, c))
2234
+ else if (_n.call(l.represent, c))
2229
2235
  r = l.represent[c](t, c);
2230
2236
  else
2231
2237
  throw new ne("!<" + l.tag + '> tag resolver accepts not "' + c + '" style');
@@ -2237,18 +2243,18 @@ function Ft(e, t, n) {
2237
2243
  }
2238
2244
  function se(e, t, n, r, i, o, a) {
2239
2245
  e.tag = null, e.dump = n, Ft(e, n, !1) || Ft(e, n, !0);
2240
- var l = An.call(e.dump), c = r, u;
2246
+ var l = kn.call(e.dump), c = r, u;
2241
2247
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2242
2248
  var d = l === "[object Object]" || l === "[object Array]", s, p;
2243
2249
  if (d && (s = e.duplicates.indexOf(n), p = s !== -1), (e.tag !== null && e.tag !== "?" || p || e.indent !== 2 && t > 0) && (i = !1), p && e.usedDuplicates[s])
2244
2250
  e.dump = "*ref_" + s;
2245
2251
  else {
2246
2252
  if (d && p && !e.usedDuplicates[s] && (e.usedDuplicates[s] = !0), l === "[object Object]")
2247
- r && Object.keys(e.dump).length !== 0 ? (oo(e, t, e.dump, i), p && (e.dump = "&ref_" + s + e.dump)) : (ao(e, t, e.dump), p && (e.dump = "&ref_" + s + " " + e.dump));
2253
+ r && Object.keys(e.dump).length !== 0 ? (lo(e, t, e.dump, i), p && (e.dump = "&ref_" + s + e.dump)) : (oo(e, t, e.dump), p && (e.dump = "&ref_" + s + " " + e.dump));
2248
2254
  else if (l === "[object Array]")
2249
- r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Et(e, t - 1, e.dump, i) : Et(e, t, e.dump, i), p && (e.dump = "&ref_" + s + e.dump)) : (io(e, t, e.dump), p && (e.dump = "&ref_" + s + " " + e.dump));
2255
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Et(e, t - 1, e.dump, i) : Et(e, t, e.dump, i), p && (e.dump = "&ref_" + s + e.dump)) : (ao(e, t, e.dump), p && (e.dump = "&ref_" + s + " " + e.dump));
2250
2256
  else if (l === "[object String]")
2251
- e.tag !== "?" && to(e, e.dump, t, o, c);
2257
+ e.tag !== "?" && no(e, e.dump, t, o, c);
2252
2258
  else {
2253
2259
  if (l === "[object Undefined]")
2254
2260
  return !1;
@@ -2261,71 +2267,71 @@ function se(e, t, n, r, i, o, a) {
2261
2267
  }
2262
2268
  return !0;
2263
2269
  }
2264
- function lo(e, t) {
2270
+ function co(e, t) {
2265
2271
  var n = [], r = [], i, o;
2266
- for (Xe(e, n, r), i = 0, o = r.length; i < o; i += 1)
2272
+ for (Ze(e, n, r), i = 0, o = r.length; i < o; i += 1)
2267
2273
  t.duplicates.push(n[r[i]]);
2268
2274
  t.usedDuplicates = new Array(o);
2269
2275
  }
2270
- function Xe(e, t, n) {
2276
+ function Ze(e, t, n) {
2271
2277
  var r, i, o;
2272
2278
  if (e !== null && typeof e == "object")
2273
2279
  if (i = t.indexOf(e), i !== -1)
2274
2280
  n.indexOf(i) === -1 && n.push(i);
2275
2281
  else if (t.push(e), Array.isArray(e))
2276
2282
  for (i = 0, o = e.length; i < o; i += 1)
2277
- Xe(e[i], t, n);
2283
+ Ze(e[i], t, n);
2278
2284
  else
2279
2285
  for (r = Object.keys(e), i = 0, o = r.length; i < o; i += 1)
2280
- Xe(e[r[i]], t, n);
2286
+ Ze(e[r[i]], t, n);
2281
2287
  }
2282
- function co(e, t) {
2288
+ function so(e, t) {
2283
2289
  t = t || {};
2284
- var n = new za(t);
2285
- n.noRefs || lo(e, n);
2290
+ var n = new Qa(t);
2291
+ n.noRefs || co(e, n);
2286
2292
  var r = e;
2287
2293
  return n.replacer && (r = n.replacer.call({ "": r }, "", r)), se(n, 0, r, !0, !0) ? n.dump + `
2288
2294
  ` : "";
2289
2295
  }
2290
- var so = co, uo = {
2291
- dump: so
2296
+ var uo = so, fo = {
2297
+ dump: uo
2292
2298
  };
2293
- function ct(e, t) {
2299
+ function lt(e, t) {
2294
2300
  return function() {
2295
2301
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2296
2302
  };
2297
2303
  }
2298
- var fo = X, po = Wt, mo = Qt, ho = nn, go = rn, yo = it, vo = Cn.load, bo = Cn.loadAll, xo = uo.dump, Co = ne, Ao = {
2299
- binary: sn,
2300
- float: tn,
2301
- map: zt,
2302
- null: Zt,
2303
- pairs: dn,
2304
- set: fn,
2305
- timestamp: ln,
2306
- bool: Xt,
2307
- int: en,
2308
- merge: cn,
2309
- omap: un,
2310
- seq: Gt,
2311
- str: Jt
2312
- }, ko = ct("safeLoad", "load"), _o = ct("safeLoadAll", "loadAll"), wo = ct("safeDump", "dump"), So = {
2313
- Type: fo,
2314
- Schema: po,
2315
- FAILSAFE_SCHEMA: mo,
2316
- JSON_SCHEMA: ho,
2317
- CORE_SCHEMA: go,
2318
- DEFAULT_SCHEMA: yo,
2319
- load: vo,
2320
- loadAll: bo,
2321
- dump: xo,
2322
- YAMLException: Co,
2323
- types: Ao,
2324
- safeLoad: ko,
2325
- safeLoadAll: _o,
2326
- safeDump: wo
2304
+ var po = X, mo = Jt, ho = Zt, go = rn, yo = an, vo = rt, bo = An.load, xo = An.loadAll, Co = fo.dump, Ao = ne, ko = {
2305
+ binary: un,
2306
+ float: nn,
2307
+ map: Qt,
2308
+ null: Xt,
2309
+ pairs: fn,
2310
+ set: pn,
2311
+ timestamp: cn,
2312
+ bool: en,
2313
+ int: tn,
2314
+ merge: sn,
2315
+ omap: dn,
2316
+ seq: zt,
2317
+ str: Gt
2318
+ }, _o = lt("safeLoad", "load"), wo = lt("safeLoadAll", "loadAll"), So = lt("safeDump", "dump"), To = {
2319
+ Type: po,
2320
+ Schema: mo,
2321
+ FAILSAFE_SCHEMA: ho,
2322
+ JSON_SCHEMA: go,
2323
+ CORE_SCHEMA: yo,
2324
+ DEFAULT_SCHEMA: vo,
2325
+ load: bo,
2326
+ loadAll: xo,
2327
+ dump: Co,
2328
+ YAMLException: Ao,
2329
+ types: ko,
2330
+ safeLoad: _o,
2331
+ safeLoadAll: wo,
2332
+ safeDump: So
2327
2333
  };
2328
- const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2334
+ const Io = { class: "yaml-config" }, Rn = /* @__PURE__ */ z({
2329
2335
  __name: "YamlCodeBlock",
2330
2336
  props: {
2331
2337
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2337,7 +2343,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2337
2343
  setup(e) {
2338
2344
  const t = e, n = $(() => {
2339
2345
  const r = Object.fromEntries(Object.entries(t.entityRecord).filter(([, i]) => i !== null && i !== "" && (Array.isArray(i) ? i.length !== 0 : !0)));
2340
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : So.dump(r).trim();
2346
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : To.dump(r).trim();
2341
2347
  });
2342
2348
  return (r, i) => {
2343
2349
  const o = j("KCodeBlock");
@@ -2352,7 +2358,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2352
2358
  ]);
2353
2359
  };
2354
2360
  }
2355
- }), To = { class: "terraform-config" }, te = " ", Rn = /* @__PURE__ */ z({
2361
+ }), $o = { class: "terraform-config" }, te = " ", Bn = /* @__PURE__ */ z({
2356
2362
  __name: "TerraformCodeBlock",
2357
2363
  props: {
2358
2364
  /** A record to indicate the entity's configuration, used to populate the Terraform code block */
@@ -2363,7 +2369,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2363
2369
  entityType: {
2364
2370
  type: String,
2365
2371
  required: !0,
2366
- validator: (e) => je.includes(e)
2372
+ validator: (e) => De.includes(e)
2367
2373
  },
2368
2374
  credentialType: {
2369
2375
  type: String,
@@ -2438,7 +2444,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2438
2444
  });
2439
2445
  return (l, c) => {
2440
2446
  const u = j("KCodeBlock");
2441
- return v(), R("div", To, [
2447
+ return v(), R("div", $o, [
2442
2448
  t.entityRecord ? (v(), D(u, {
2443
2449
  key: 0,
2444
2450
  id: "terraform-codeblock",
@@ -2449,13 +2455,13 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2449
2455
  ]);
2450
2456
  };
2451
2457
  }
2452
- }), $o = {
2458
+ }), Eo = {
2453
2459
  key: 0,
2454
2460
  class: "config-card-display-form"
2455
- }, Eo = ["data-testid"], Fo = {
2461
+ }, Fo = ["data-testid"], Oo = {
2456
2462
  key: 0,
2457
2463
  class: "config-card-prop-section-title"
2458
- }, Oo = /* @__PURE__ */ z({
2464
+ }, Lo = /* @__PURE__ */ z({
2459
2465
  __name: "ConfigCardDisplay",
2460
2466
  props: {
2461
2467
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2467,7 +2473,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2467
2473
  entityType: {
2468
2474
  type: String,
2469
2475
  required: !0,
2470
- validator: (e) => je.includes(e)
2476
+ validator: (e) => De.includes(e)
2471
2477
  },
2472
2478
  propertyCollections: {
2473
2479
  type: Object,
@@ -2499,24 +2505,24 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2499
2505
  }
2500
2506
  },
2501
2507
  setup(e) {
2502
- const t = e, n = et(), { i18n: { t: r } } = H.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = $(() => {
2508
+ const t = e, n = Xe(), { i18n: { t: r } } = H.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = $(() => {
2503
2509
  if (!t.record)
2504
2510
  return t.record;
2505
2511
  const a = JSON.parse(JSON.stringify(t.record));
2506
2512
  return delete a.created_at, delete a.updated_at, a;
2507
2513
  });
2508
2514
  return (a, l) => (v(), R(le, null, [
2509
- e.format === "structured" ? (v(), R("div", $o, [
2515
+ e.format === "structured" ? (v(), R("div", Eo, [
2510
2516
  (v(!0), R(le, null, oe(e.propListTypes, (c) => (v(), R("div", {
2511
2517
  key: `config-card-details-${c}-props`,
2512
2518
  class: fe(`config-card-details-${c}-props`),
2513
2519
  "data-testid": `config-card-details-${c}-props`
2514
2520
  }, [
2515
- c !== "basic" ? (v(), R("div", Fo, K(c === "advanced" ? T(r)("baseConfigCard.sections.advanced") : T(r)("baseConfigCard.sections.plugin")), 1)) : q("", !0),
2516
- (v(!0), R(le, null, oe(e.propertyCollections[c], (u) => (v(), D(qt, {
2521
+ c !== "basic" ? (v(), R("div", Oo, K(c === "advanced" ? I(r)("baseConfigCard.sections.advanced") : I(r)("baseConfigCard.sections.plugin")), 1)) : q("", !0),
2522
+ (v(!0), R(le, null, oe(e.propertyCollections[c], (u) => (v(), D(Ht, {
2517
2523
  key: u.key,
2518
2524
  item: u
2519
- }, ke({
2525
+ }, Ae({
2520
2526
  label: C(() => [
2521
2527
  W(a.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2522
2528
  ]),
@@ -2536,30 +2542,30 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2536
2542
  key: "0"
2537
2543
  } : void 0
2538
2544
  ]), 1032, ["item"]))), 128))
2539
- ], 10, Eo))), 128))
2545
+ ], 10, Fo))), 128))
2540
2546
  ])) : q("", !0),
2541
- e.format === "json" && o.value ? (v(), D(Ht, {
2547
+ e.format === "json" && o.value ? (v(), D(Yt, {
2542
2548
  key: 1,
2543
2549
  config: t.config,
2544
2550
  "entity-record": o.value,
2545
2551
  "fetcher-url": t.fetcherUrl,
2546
2552
  "request-method": "get"
2547
2553
  }, null, 8, ["config", "entity-record", "fetcher-url"])) : q("", !0),
2548
- e.format === "yaml" && o.value ? (v(), D(Ln, {
2554
+ e.format === "yaml" && o.value ? (v(), D(Rn, {
2549
2555
  key: 2,
2550
2556
  "entity-record": o.value
2551
2557
  }, null, 8, ["entity-record"])) : q("", !0),
2552
- e.format === "terraform" && o.value ? (v(), D(Rn, {
2558
+ e.format === "terraform" && o.value ? (v(), D(Bn, {
2553
2559
  key: 3,
2554
2560
  "entity-record": o.value,
2555
2561
  "entity-type": t.entityType
2556
2562
  }, null, 8, ["entity-record", "entity-type"])) : q("", !0)
2557
2563
  ], 64));
2558
2564
  }
2559
- }), Lo = /* @__PURE__ */ ae(Oo, [["__scopeId", "data-v-d15be7fe"]]), Ro = {
2565
+ }), Ro = /* @__PURE__ */ ae(Lo, [["__scopeId", "data-v-d15be7fe"]]), Bo = {
2560
2566
  class: "config-card-title",
2561
2567
  "data-testid": "config-card-title"
2562
- }, Bo = { class: "config-card-actions" }, Ko = ["href"], No = { class: "config-card-details-section" }, Mo = /* @__PURE__ */ z({
2568
+ }, Ko = { class: "config-card-actions" }, No = ["href"], Mo = { class: "config-card-details-section" }, Do = /* @__PURE__ */ z({
2563
2569
  __name: "EntityBaseConfigCard",
2564
2570
  props: {
2565
2571
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2580,7 +2586,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2580
2586
  entityType: {
2581
2587
  type: String,
2582
2588
  required: !0,
2583
- validator: (e) => je.includes(e)
2589
+ validator: (e) => De.includes(e)
2584
2590
  },
2585
2591
  /** Record key that contains the plugin configuration */
2586
2592
  pluginConfigKey: {
@@ -2645,10 +2651,10 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2645
2651
  },
2646
2652
  emits: ["loading", "fetch:success", "fetch:error"],
2647
2653
  setup(e, { emit: t }) {
2648
- var I;
2654
+ var T;
2649
2655
  const n = t, r = e, { i18n: { t: i } } = H.useI18n(), { getMessageFromError: o } = H.useErrors(), { convertKeyToTitle: a } = H.useStringHelpers();
2650
2656
  H.useSubSchema(r.pluginConfigKey);
2651
- const { axiosInstance: l } = H.useAxios((I = r.config) == null ? void 0 : I.axiosRequestConfig), c = [
2657
+ const { axiosInstance: l } = H.useAxios((T = r.config) == null ? void 0 : T.axiosRequestConfig), c = [
2652
2658
  {
2653
2659
  label: i("baseConfigCard.general.structuredFormat"),
2654
2660
  value: "structured",
@@ -2768,7 +2774,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2768
2774
  let m = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2769
2775
  return r.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((A = r.config) == null ? void 0 : A.controlPlaneId) || "") : r.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (S = r.config) != null && S.workspace ? `/${r.config.workspace}` : "")), m = m.replace(/{id}/gi, r.config.entityId), m;
2770
2776
  });
2771
- return ge(p, (m) => {
2777
+ return _e(p, (m) => {
2772
2778
  n("loading", m);
2773
2779
  }, { immediate: !0 }), Nt(async () => {
2774
2780
  f.value = !1, p.value = !0;
@@ -2795,9 +2801,9 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2795
2801
  return v(), D(Y, {
2796
2802
  class: "kong-ui-entity-base-config-card",
2797
2803
  "title-tag": e.titleTag
2798
- }, ke({
2804
+ }, Ae({
2799
2805
  actions: C(() => [
2800
- M("div", Bo, [
2806
+ M("div", Ko, [
2801
2807
  W(m.$slots, "actions", {}, void 0, !0),
2802
2808
  N(S, {
2803
2809
  class: "config-format-select-label",
@@ -2825,8 +2831,8 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2825
2831
  rel: "noopener",
2826
2832
  target: "_blank"
2827
2833
  }, [
2828
- N(T(Gn), { size: T(Yr) }, null, 8, ["size"])
2829
- ], 8, Ko)
2834
+ N(I(zn), { size: I(Vr) }, null, 8, ["size"])
2835
+ ], 8, No)
2830
2836
  ]),
2831
2837
  _: 1
2832
2838
  })) : q("", !0)
@@ -2848,8 +2854,8 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2848
2854
  ]),
2849
2855
  _: 1
2850
2856
  })) : q("", !0),
2851
- M("div", No, [
2852
- N(Lo, {
2857
+ M("div", Mo, [
2858
+ N(Ro, {
2853
2859
  config: e.config,
2854
2860
  "entity-type": e.entityType,
2855
2861
  "fetcher-url": F.value,
@@ -2857,7 +2863,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2857
2863
  "prop-list-types": L.value,
2858
2864
  "property-collections": y.value,
2859
2865
  record: h.value
2860
- }, ke({ _: 2 }, [
2866
+ }, Ae({ _: 2 }, [
2861
2867
  oe(Object.keys(m.$slots), (U) => ({
2862
2868
  name: U,
2863
2869
  fn: C(({ row: J, rowValue: me }) => [
@@ -2875,9 +2881,9 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2875
2881
  e.hideTitle ? void 0 : {
2876
2882
  name: "title",
2877
2883
  fn: C(() => [
2878
- M("span", Ro, [
2884
+ M("span", Bo, [
2879
2885
  W(m.$slots, "title", {}, () => [
2880
- V(K(T(i)("baseConfigCard.title")), 1)
2886
+ V(K(I(i)("baseConfigCard.title")), 1)
2881
2887
  ], !0)
2882
2888
  ])
2883
2889
  ]),
@@ -2886,10 +2892,10 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2886
2892
  ]), 1032, ["title-tag"]);
2887
2893
  };
2888
2894
  }
2889
- }), Bl = /* @__PURE__ */ ae(Mo, [["__scopeId", "data-v-7ef5c755"]]), Do = ["novalidate"], jo = {
2895
+ }), Kl = /* @__PURE__ */ ae(Do, [["__scopeId", "data-v-7ef5c755"]]), jo = ["novalidate"], Uo = {
2890
2896
  class: "form-actions",
2891
2897
  "data-testid": "form-actions"
2892
- }, Uo = /* @__PURE__ */ z({
2898
+ }, Po = /* @__PURE__ */ z({
2893
2899
  __name: "EntityBaseForm",
2894
2900
  props: {
2895
2901
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2910,7 +2916,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2910
2916
  entityType: {
2911
2917
  type: String,
2912
2918
  required: !0,
2913
- validator: (e) => je.includes(e)
2919
+ validator: (e) => De.includes(e)
2914
2920
  },
2915
2921
  /**
2916
2922
  * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
@@ -2966,10 +2972,10 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2966
2972
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
2967
2973
  setup(e, { emit: t }) {
2968
2974
  var F;
2969
- const n = t, r = e, i = er(), { i18n: { t: o } } = H.useI18n(), { getMessageFromError: a } = H.useErrors(), { axiosInstance: l } = H.useAxios((F = r.config) == null ? void 0 : F.axiosRequestConfig), c = B(!1), u = $(() => !!r.editId), d = B(!1), s = B(""), p = $(() => r.canSubmit === !1 || r.isReadonly), f = B(!1), g = $(() => {
2975
+ const n = t, r = e, i = tr(), { i18n: { t: o } } = H.useI18n(), { getMessageFromError: a } = H.useErrors(), { axiosInstance: l } = H.useAxios((F = r.config) == null ? void 0 : F.axiosRequestConfig), c = B(!1), u = $(() => !!r.editId), d = B(!1), s = B(""), p = $(() => r.canSubmit === !1 || r.isReadonly), f = B(!1), g = $(() => {
2970
2976
  var m, A;
2971
- let I = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2972
- return r.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((m = r.config) == null ? void 0 : m.controlPlaneId) || "") : r.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (A = r.config) != null && A.workspace ? `/${r.config.workspace}` : "")), r.editId ? (I = I.replace(/{id}/gi, r.editId), I) : (I = I.replace(/\/{id}/gi, ""), I);
2977
+ let T = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2978
+ return r.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((m = r.config) == null ? void 0 : m.controlPlaneId) || "") : r.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (A = r.config) != null && A.workspace ? `/${r.config.workspace}` : "")), r.editId ? (T = T.replace(/{id}/gi, r.editId), T) : (T = T.replace(/\/{id}/gi, ""), T);
2973
2979
  }), h = () => {
2974
2980
  f.value = !f.value;
2975
2981
  }, x = () => {
@@ -2988,33 +2994,33 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
2988
2994
  hash: "#yaml"
2989
2995
  }
2990
2996
  ]);
2991
- return r.config.app === "konnect" && r.entityType !== tt.Other && L.value.splice(1, 0, {
2997
+ return r.config.app === "konnect" && r.entityType !== et.Other && L.value.splice(1, 0, {
2992
2998
  title: o("baseForm.configuration.terraform"),
2993
2999
  hash: "#terraform"
2994
- }), ge(() => c.value, (I) => {
2995
- n("loading", I);
3000
+ }), _e(() => c.value, (T) => {
3001
+ n("loading", T);
2996
3002
  }, { immediate: !0 }), Nt(async () => {
2997
3003
  if (r.editId)
2998
3004
  try {
2999
3005
  d.value = !1, c.value = !0;
3000
- const { data: I } = await l.get(g.value);
3001
- n("fetch:success", I);
3002
- } catch (I) {
3003
- const m = a(I);
3004
- s.value = m.startsWith("code") ? o("baseForm.errors.edit") : m, d.value = !0, n("fetch:error", I);
3006
+ const { data: T } = await l.get(g.value);
3007
+ n("fetch:success", T);
3008
+ } catch (T) {
3009
+ const m = a(T);
3010
+ s.value = m.startsWith("code") ? o("baseForm.errors.edit") : m, d.value = !0, n("fetch:error", T);
3005
3011
  } finally {
3006
3012
  c.value = !1;
3007
3013
  }
3008
- }), (I, m) => {
3014
+ }), (T, m) => {
3009
3015
  const A = j("KSkeleton"), S = j("KEmptyState"), w = j("KAlert"), b = j("KButton"), _ = j("KTabs"), O = j("KSlideout");
3010
- return v(), D(De(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3016
+ return v(), D(Me(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3011
3017
  default: C(() => [
3012
3018
  c.value ? (v(), D(A, {
3013
3019
  key: 0,
3014
3020
  type: "form"
3015
3021
  })) : d.value ? (v(), D(S, {
3016
3022
  key: 1,
3017
- "action-button-text": T(o)("baseForm.actions.back"),
3023
+ "action-button-text": I(o)("baseForm.actions.back"),
3018
3024
  "data-testid": "form-fetch-error",
3019
3025
  "icon-variant": "error",
3020
3026
  onClickAction: x
@@ -3027,25 +3033,25 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3027
3033
  key: 2,
3028
3034
  "data-testid": "form-content",
3029
3035
  novalidate: r.noValidate,
3030
- onReset: Le(E, ["prevent"]),
3031
- onSubmit: Le(y, ["prevent"])
3036
+ onReset: Oe(E, ["prevent"]),
3037
+ onSubmit: Oe(y, ["prevent"])
3032
3038
  }, [
3033
- W(I.$slots, "default", {}, void 0, !0),
3039
+ W(T.$slots, "default", {}, void 0, !0),
3034
3040
  e.errorMessage ? (v(), D(w, {
3035
3041
  key: 0,
3036
3042
  appearance: "danger",
3037
3043
  "data-testid": "form-error",
3038
3044
  message: e.errorMessage
3039
3045
  }, null, 8, ["message"])) : q("", !0),
3040
- M("div", jo, [
3041
- W(I.$slots, "form-actions", {}, () => [
3046
+ M("div", Uo, [
3047
+ W(T.$slots, "form-actions", {}, () => [
3042
3048
  N(b, {
3043
3049
  appearance: "tertiary",
3044
3050
  "data-testid": `${e.entityType}-${u.value ? "edit" : "create"}-form-view-configuration`,
3045
3051
  onClick: m[0] || (m[0] = (Y) => h())
3046
3052
  }, {
3047
3053
  default: C(() => [
3048
- V(K(T(o)("baseForm.actions.viewConfiguration")), 1)
3054
+ V(K(I(o)("baseForm.actions.viewConfiguration")), 1)
3049
3055
  ]),
3050
3056
  _: 1
3051
3057
  }, 8, ["data-testid"]),
@@ -3056,7 +3062,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3056
3062
  type: "reset"
3057
3063
  }, {
3058
3064
  default: C(() => [
3059
- V(K(T(o)("baseForm.actions.cancel")), 1)
3065
+ V(K(I(o)("baseForm.actions.cancel")), 1)
3060
3066
  ]),
3061
3067
  _: 1
3062
3068
  }, 8, ["data-testid", "disabled"]),
@@ -3067,30 +3073,30 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3067
3073
  type: "submit"
3068
3074
  }, {
3069
3075
  default: C(() => [
3070
- V(K(T(o)("baseForm.actions.save")), 1)
3076
+ V(K(I(o)("baseForm.actions.save")), 1)
3071
3077
  ]),
3072
3078
  _: 1
3073
3079
  }, 8, ["data-testid", "disabled"])
3074
3080
  ], !0)
3075
3081
  ])
3076
- ], 40, Do)),
3082
+ ], 40, jo)),
3077
3083
  N(O, {
3078
3084
  "close-on-blur": !1,
3079
3085
  "data-testid": "form-view-configuration-slideout",
3080
3086
  "has-overlay": !1,
3081
3087
  "offset-top": 60,
3082
- title: T(o)("baseForm.configuration.title"),
3088
+ title: I(o)("baseForm.configuration.title"),
3083
3089
  visible: f.value,
3084
3090
  onClose: m[1] || (m[1] = (Y) => h())
3085
3091
  }, {
3086
3092
  default: C(() => [
3087
- M("div", null, K(T(o)("baseForm.configuration.message")), 1),
3093
+ M("div", null, K(I(o)("baseForm.configuration.message")), 1),
3088
3094
  N(_, {
3089
3095
  "data-testid": "form-view-configuration-slideout-tabs",
3090
3096
  tabs: L.value
3091
3097
  }, {
3092
3098
  json: C(() => [
3093
- N(Ht, {
3099
+ N(Yt, {
3094
3100
  config: e.config,
3095
3101
  "entity-record": r.formFields,
3096
3102
  "fetcher-url": g.value,
@@ -3098,12 +3104,12 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3098
3104
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3099
3105
  ]),
3100
3106
  yaml: C(() => [
3101
- N(Ln, {
3107
+ N(Rn, {
3102
3108
  "entity-record": r.formFields
3103
3109
  }, null, 8, ["entity-record"])
3104
3110
  ]),
3105
3111
  terraform: C(() => [
3106
- N(Rn, {
3112
+ N(Bn, {
3107
3113
  "entity-record": r.formFields,
3108
3114
  "entity-type": e.entityType
3109
3115
  }, null, 8, ["entity-record", "entity-type"])
@@ -3118,7 +3124,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3118
3124
  });
3119
3125
  };
3120
3126
  }
3121
- }), Kl = /* @__PURE__ */ ae(Uo, [["__scopeId", "data-v-6210a67a"]]), Po = ["data-truncate"], qo = /* @__PURE__ */ z({
3127
+ }), Nl = /* @__PURE__ */ ae(Po, [["__scopeId", "data-v-6210a67a"]]), qo = ["data-truncate"], Ho = /* @__PURE__ */ z({
3122
3128
  __name: "EntityBaseTableCell",
3123
3129
  props: {
3124
3130
  keyName: {
@@ -3157,7 +3163,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3157
3163
  x -= (parseFloat(F.paddingLeft) || 0) + (parseFloat(F.paddingRight) || 0);
3158
3164
  }
3159
3165
  d.value = ((y = r.value) == null ? void 0 : y.getBoundingClientRect().width) || 0, s.value = x, p.value = ((L = u.value) == null ? void 0 : L.innerText) || "";
3160
- }, u = B({}), d = B(0), s = B(0), p = B(""), f = $(() => [r.value, n.value]), g = ge(
3166
+ }, u = B({}), d = B(0), s = B(0), p = B(""), f = $(() => [r.value, n.value]), g = _e(
3161
3167
  f,
3162
3168
  (x) => {
3163
3169
  if (o.value && (l(), "ResizeObserver" in window && window)) {
@@ -3172,9 +3178,9 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3172
3178
  },
3173
3179
  { immediate: !0, flush: "post", deep: !0 }
3174
3180
  ), h = $(() => o.value ? d.value > s.value : !1);
3175
- return jn(() => {
3181
+ return Un(() => {
3176
3182
  c();
3177
- }), Un(() => {
3183
+ }), Pn(() => {
3178
3184
  g();
3179
3185
  }), (x, E) => {
3180
3186
  const y = j("KTooltip");
@@ -3197,14 +3203,14 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3197
3203
  ]),
3198
3204
  _: 3
3199
3205
  }, 8, ["text"])
3200
- ], 8, Po)) : W(x.$slots, "default", { key: 1 }, void 0, !0)
3206
+ ], 8, qo)) : W(x.$slots, "default", { key: 1 }, void 0, !0)
3201
3207
  ], 512);
3202
3208
  };
3203
3209
  }
3204
- }), Ho = /* @__PURE__ */ ae(qo, [["__scopeId", "data-v-b252463e"]]), Yo = { class: "toolbar-container" }, Vo = {
3210
+ }), Yo = /* @__PURE__ */ ae(Ho, [["__scopeId", "data-v-b252463e"]]), Vo = { class: "toolbar-container" }, Wo = {
3205
3211
  key: 0,
3206
3212
  class: "toolbar-button-container"
3207
- }, Wo = /* @__PURE__ */ z({
3213
+ }, Jo = /* @__PURE__ */ z({
3208
3214
  __name: "EntityBaseTable",
3209
3215
  props: {
3210
3216
  // table header configuration
@@ -3388,7 +3394,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3388
3394
  let x = "";
3389
3395
  const E = B(!1), y = B(null), L = $(() => E.value ? !1 : y.value ? !y.value.hasData && !n.query : !0), F = (b) => {
3390
3396
  b.hasData ? E.value = !0 : b.state === "success" && !b.hasData && !x && (E.value = !1), x = n.query, y.value = { ...b };
3391
- }, { setTablePreferences: I, getTablePreferences: m } = or(), A = B(m(a.value, n.defaultTablePreferences)), S = $(() => {
3397
+ }, { setTablePreferences: T, getTablePreferences: m } = lr(), A = B(m(a.value, n.defaultTablePreferences)), S = $(() => {
3392
3398
  const b = m(a.value);
3393
3399
  return {
3394
3400
  ...n.initialFetcherParams,
@@ -3397,7 +3403,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3397
3403
  }), w = (b) => {
3398
3404
  A.value = b, l.value.forEach((_) => {
3399
3405
  !("hidable" in _) || !A.value.columnVisibility || _.hidable === !1 && (A.value.columnVisibility[_.key] = !0);
3400
- }), a.value && I(a.value, b);
3406
+ }), a.value && T(a.value, b);
3401
3407
  };
3402
3408
  return (b, _) => {
3403
3409
  const O = j("KTableData"), Y = j("KCard");
@@ -3413,11 +3419,11 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3413
3419
  "cache-identifier": a.value,
3414
3420
  "cell-attrs": s,
3415
3421
  "client-sort": e.enableClientSort,
3416
- "empty-state-action-message": e.query ? T(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3422
+ "empty-state-action-message": e.query ? I(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3417
3423
  "empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
3418
3424
  "empty-state-icon-variant": e.query ? "search" : "kong",
3419
- "empty-state-message": e.query ? T(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3420
- "empty-state-title": e.query ? T(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3425
+ "empty-state-message": e.query ? I(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3426
+ "empty-state-title": e.query ? I(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3421
3427
  error: o.value.hasError,
3422
3428
  "error-state-message": o.value.message,
3423
3429
  "error-state-title": o.value.title,
@@ -3442,11 +3448,11 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3442
3448
  onSort: _[0] || (_[0] = (U) => h(U)),
3443
3449
  onState: F,
3444
3450
  "onUpdate:tablePreferences": w
3445
- }, ke({
3451
+ }, Ae({
3446
3452
  toolbar: C(() => [
3447
- M("div", Yo, [
3453
+ M("div", Vo, [
3448
3454
  W(b.$slots, "toolbar-filter", {}, void 0, !0),
3449
- b.$slots["toolbar-button"] ? (v(), R("div", Vo, [
3455
+ b.$slots["toolbar-button"] ? (v(), R("div", Wo, [
3450
3456
  W(b.$slots, "toolbar-button", {}, void 0, !0)
3451
3457
  ])) : q("", !0)
3452
3458
  ])
@@ -3458,8 +3464,8 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3458
3464
  }, [
3459
3465
  oe(e.tableHeaders, (U, J) => ({
3460
3466
  name: J,
3461
- fn: C(({ row: me, rowKey: Ee, rowValue: st }) => [
3462
- N(Ho, {
3467
+ fn: C(({ row: me, rowKey: Ee, rowValue: ct }) => [
3468
+ N(Yo, {
3463
3469
  "key-name": String(J),
3464
3470
  "row-el": d(me),
3465
3471
  tooltip: U.tooltip
@@ -3468,9 +3474,9 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3468
3474
  W(b.$slots, J, {
3469
3475
  row: me,
3470
3476
  rowKey: Ee,
3471
- rowValue: st
3477
+ rowValue: ct
3472
3478
  }, () => [
3473
- V(K(st), 1)
3479
+ V(K(ct), 1)
3474
3480
  ], !0)
3475
3481
  ]),
3476
3482
  _: 2
@@ -3480,7 +3486,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3480
3486
  e.query ? void 0 : {
3481
3487
  name: "empty-state-action-icon",
3482
3488
  fn: C(() => [
3483
- N(T(zn))
3489
+ N(I(Qn))
3484
3490
  ]),
3485
3491
  key: "0"
3486
3492
  }
@@ -3490,13 +3496,13 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3490
3496
  }, 8, ["title", "title-tag"]);
3491
3497
  };
3492
3498
  }
3493
- }), Nl = /* @__PURE__ */ ae(Wo, [["__scopeId", "data-v-6f28b73b"]]), Jo = {
3499
+ }), Ml = /* @__PURE__ */ ae(Jo, [["__scopeId", "data-v-6f28b73b"]]), Go = {
3494
3500
  key: 0,
3495
3501
  class: "kong-ui-entity-delete-error"
3496
- }, Go = {
3502
+ }, zo = {
3497
3503
  key: 1,
3498
3504
  class: "description"
3499
- }, zo = /* @__PURE__ */ z({
3505
+ }, Qo = /* @__PURE__ */ z({
3500
3506
  __name: "EntityDeleteModal",
3501
3507
  props: {
3502
3508
  visible: {
@@ -3554,7 +3560,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3554
3560
  onProceed: l
3555
3561
  }, {
3556
3562
  default: C(() => [
3557
- e.error ? (v(), R("div", Jo, [
3563
+ e.error ? (v(), R("div", Go, [
3558
3564
  N(d, { appearance: "danger" }, {
3559
3565
  default: C(() => [
3560
3566
  V(K(e.error), 1)
@@ -3562,11 +3568,11 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3562
3568
  _: 1
3563
3569
  })
3564
3570
  ])) : q("", !0),
3565
- N(T(n), {
3571
+ N(I(n), {
3566
3572
  class: "message",
3567
3573
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3568
3574
  tag: "p"
3569
- }, ke({
3575
+ }, Ae({
3570
3576
  entityType: C(() => [
3571
3577
  V(K(r.entityType), 1)
3572
3578
  ]),
@@ -3580,7 +3586,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3580
3586
  key: "0"
3581
3587
  } : void 0
3582
3588
  ]), 1032, ["keypath"]),
3583
- r.description || c.$slots.description ? (v(), R("div", Go, [
3589
+ r.description || c.$slots.description ? (v(), R("div", zo, [
3584
3590
  W(c.$slots, "description", {}, () => [
3585
3591
  M("p", null, K(r.description), 1)
3586
3592
  ], !0)
@@ -3590,13 +3596,13 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3590
3596
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3591
3597
  };
3592
3598
  }
3593
- }), Ml = /* @__PURE__ */ ae(zo, [["__scopeId", "data-v-4361d622"]]), Qo = {
3599
+ }), Dl = /* @__PURE__ */ ae(Qo, [["__scopeId", "data-v-4361d622"]]), Zo = {
3594
3600
  fill: "none",
3595
3601
  height: "20",
3596
3602
  viewBox: "0 0 20 20",
3597
3603
  width: "20",
3598
3604
  xmlns: "http://www.w3.org/2000/svg"
3599
- }, Zo = {
3605
+ }, Xo = {
3600
3606
  id: "mask0_180_20349",
3601
3607
  height: "20",
3602
3608
  maskUnits: "userSpaceOnUse",
@@ -3604,35 +3610,35 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3604
3610
  width: "20",
3605
3611
  x: "0",
3606
3612
  y: "0"
3607
- }, Xo = ["fill"], el = { mask: "url(#mask0_180_20349)" }, tl = ["fill"], Ot = /* @__PURE__ */ z({
3613
+ }, el = ["fill"], tl = { mask: "url(#mask0_180_20349)" }, nl = ["fill"], Ot = /* @__PURE__ */ z({
3608
3614
  __name: "IconFilter",
3609
3615
  props: {
3610
3616
  color: {
3611
3617
  type: String,
3612
- default: `var(--kong-ui-entity-filter-color, ${Dr})`
3618
+ default: `var(--kong-ui-entity-filter-color, ${jr})`
3613
3619
  }
3614
3620
  },
3615
3621
  setup(e) {
3616
- return (t, n) => (v(), R("svg", Qo, [
3617
- M("mask", Zo, [
3622
+ return (t, n) => (v(), R("svg", Zo, [
3623
+ M("mask", Xo, [
3618
3624
  M("rect", {
3619
3625
  fill: e.color,
3620
3626
  height: "20",
3621
3627
  width: "20"
3622
- }, null, 8, Xo)
3628
+ }, null, 8, el)
3623
3629
  ]),
3624
- M("g", el, [
3630
+ M("g", tl, [
3625
3631
  M("path", {
3626
3632
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3627
3633
  fill: e.color
3628
- }, null, 8, tl)
3634
+ }, null, 8, nl)
3629
3635
  ])
3630
3636
  ]));
3631
3637
  }
3632
- }), nl = {
3638
+ }), rl = {
3633
3639
  key: 1,
3634
3640
  class: "kong-ui-entity-filter"
3635
- }, rl = { class: "kong-ui-entity-filter-menu" }, il = ["data-testid"], al = ["onClick", "onKeydown"], ol = { class: "menu-item-indicator" }, ll = { class: "menu-item-body" }, cl = ["for"], sl = { class: "menu-item-buttons" }, ul = { class: "filter-clear-button-container" }, dl = /* @__PURE__ */ z({
3641
+ }, il = { class: "kong-ui-entity-filter-menu" }, al = ["data-testid"], ol = ["onClick", "onKeydown"], ll = { class: "menu-item-indicator" }, cl = { class: "menu-item-body" }, sl = ["for"], ul = { class: "menu-item-buttons" }, dl = { class: "filter-clear-button-container" }, fl = /* @__PURE__ */ z({
3636
3642
  __name: "EntityFilter",
3637
3643
  props: {
3638
3644
  // filter config, either exact match or fuzzy match
@@ -3654,23 +3660,23 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3654
3660
  setup(e, { emit: t }) {
3655
3661
  const { i18n: { t: n } } = H.useI18n(), r = e, i = t, o = B(!1), a = B({}), l = B(/* @__PURE__ */ new Set()), c = $(() => {
3656
3662
  const F = [];
3657
- return new URLSearchParams(r.modelValue).forEach((I, m) => {
3658
- I !== "" && F.push(m);
3663
+ return new URLSearchParams(r.modelValue).forEach((T, m) => {
3664
+ T !== "" && F.push(m);
3659
3665
  }), F;
3660
3666
  }), u = $(() => {
3661
3667
  const F = r.config.fields;
3662
- return Object.keys(F).filter((I) => {
3668
+ return Object.keys(F).filter((T) => {
3663
3669
  var m;
3664
- return (m = F == null ? void 0 : F[I]) == null ? void 0 : m.searchable;
3665
- }).map((I) => ({
3666
- label: F[I].label || I,
3667
- value: I,
3670
+ return (m = F == null ? void 0 : F[T]) == null ? void 0 : m.searchable;
3671
+ }).map((T) => ({
3672
+ label: F[T].label || T,
3673
+ value: T,
3668
3674
  expanded: !1
3669
3675
  }));
3670
3676
  });
3671
- ge(() => r.modelValue, (F) => {
3672
- a.value = {}, new URLSearchParams(F).forEach((I, m) => {
3673
- a.value[m] = I;
3677
+ _e(() => r.modelValue, (F) => {
3678
+ a.value = {}, new URLSearchParams(F).forEach((T, m) => {
3679
+ a.value[m] = T;
3674
3680
  });
3675
3681
  });
3676
3682
  const d = () => {
@@ -3682,14 +3688,14 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3682
3688
  }, f = () => {
3683
3689
  p("");
3684
3690
  }, g = (F) => `filter-${F}`, h = (F) => {
3685
- var I, m;
3686
- return (((m = (I = r.config.schema) == null ? void 0 : I[F]) == null ? void 0 : m.values) ?? []).map((A) => ({
3691
+ var T, m;
3692
+ return (((m = (T = r.config.schema) == null ? void 0 : T[F]) == null ? void 0 : m.values) ?? []).map((A) => ({
3687
3693
  value: A,
3688
3694
  label: A
3689
3695
  }));
3690
3696
  }, x = (F) => {
3691
- var I, m;
3692
- return ((m = (I = r.config.schema) == null ? void 0 : I[F]) == null ? void 0 : m.type) ?? "text";
3697
+ var T, m;
3698
+ return ((m = (T = r.config.schema) == null ? void 0 : T[F]) == null ? void 0 : m.type) ?? "text";
3693
3699
  }, E = (F) => {
3694
3700
  a.value = {
3695
3701
  ...a.value,
@@ -3698,10 +3704,10 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3698
3704
  }, y = () => {
3699
3705
  a.value = {}, L(!0);
3700
3706
  }, L = (F = !1) => {
3701
- const I = Object.keys(a.value).reduce((m, A) => (a.value[A] && (m[A] = `${a.value[A]}`), m), {});
3702
- F && (o.value = !1), i("update:modelValue", new URLSearchParams(I).toString());
3707
+ const T = Object.keys(a.value).reduce((m, A) => (a.value[A] && (m[A] = `${a.value[A]}`), m), {});
3708
+ F && (o.value = !1), i("update:modelValue", new URLSearchParams(T).toString());
3703
3709
  };
3704
- return (F, I) => {
3710
+ return (F, T) => {
3705
3711
  const m = j("KInput"), A = j("KButton"), S = j("KSelect");
3706
3712
  return e.config.isExactMatch ? (v(), D(m, {
3707
3713
  key: 0,
@@ -3716,17 +3722,17 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3716
3722
  N(Ot)
3717
3723
  ]),
3718
3724
  after: C(() => [
3719
- ye(N(T(Qn), {
3725
+ ge(N(I(Zn), {
3720
3726
  class: "kong-ui-entity-filter-clear",
3721
3727
  role: "button",
3722
3728
  tabindex: "0",
3723
3729
  onClick: f
3724
3730
  }, null, 512), [
3725
- [ve, e.modelValue !== ""]
3731
+ [ye, e.modelValue !== ""]
3726
3732
  ])
3727
3733
  ]),
3728
3734
  _: 1
3729
- }, 8, ["model-value", "placeholder"])) : (v(), R("div", nl, [
3735
+ }, 8, ["model-value", "placeholder"])) : (v(), R("div", rl, [
3730
3736
  N(A, {
3731
3737
  appearance: "tertiary",
3732
3738
  "data-testid": "filter-button",
@@ -3734,17 +3740,17 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3734
3740
  }, {
3735
3741
  default: C(() => [
3736
3742
  N(Ot),
3737
- V(" " + K(T(n)("filter.filterButtonText")) + " " + K(c.value.length > 0 ? `(${c.value.length})` : ""), 1)
3743
+ V(" " + K(I(n)("filter.filterButtonText")) + " " + K(c.value.length > 0 ? `(${c.value.length})` : ""), 1)
3738
3744
  ]),
3739
3745
  _: 1
3740
3746
  }),
3741
- ye(M("div", {
3747
+ ge(M("div", {
3742
3748
  class: "kong-ui-entity-filter-backdrop",
3743
3749
  onClick: d
3744
3750
  }, null, 512), [
3745
- [ve, o.value]
3751
+ [ye, o.value]
3746
3752
  ]),
3747
- ye(M("div", rl, [
3753
+ ge(M("div", il, [
3748
3754
  (v(!0), R(le, null, oe(u.value, (w) => {
3749
3755
  var b, _;
3750
3756
  return v(), R("div", {
@@ -3757,50 +3763,50 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3757
3763
  role: "button",
3758
3764
  tabindex: "0",
3759
3765
  onClick: (O) => s(w.value),
3760
- onKeydown: Pn((O) => s(w.value), ["enter"])
3766
+ onKeydown: qn((O) => s(w.value), ["enter"])
3761
3767
  }, [
3762
3768
  V(K(w.label) + " ", 1),
3763
- ye(M("span", ol, null, 512), [
3764
- [ve, c.value.includes(w.value)]
3769
+ ge(M("span", ll, null, 512), [
3770
+ [ye, c.value.includes(w.value)]
3765
3771
  ]),
3766
- N(T(Zn), {
3772
+ N(I(Xn), {
3767
3773
  class: fe(["menu-item-expand-icon", { expanded: l.value.has(w.value) }]),
3768
- color: T(Ur)
3774
+ color: I(Pr)
3769
3775
  }, null, 8, ["class", "color"])
3770
- ], 42, al),
3771
- ye(M("div", ll, [
3776
+ ], 42, ol),
3777
+ ge(M("div", cl, [
3772
3778
  M("label", {
3773
3779
  class: "menu-item-label",
3774
3780
  for: g(w.value)
3775
- }, K(T(n)("filter.fieldLabel")), 9, cl),
3781
+ }, K(I(n)("filter.fieldLabel")), 9, sl),
3776
3782
  ((_ = (b = e.config.schema) == null ? void 0 : b[w.value]) == null ? void 0 : _.type) === "select" ? (v(), D(S, {
3777
3783
  key: 0,
3778
3784
  id: g(w.value),
3779
3785
  modelValue: a.value[w.value],
3780
3786
  "onUpdate:modelValue": (O) => a.value[w.value] = O,
3781
3787
  items: h(w.value),
3782
- placeholder: T(n)("filter.selectPlaceholder")
3788
+ placeholder: I(n)("filter.selectPlaceholder")
3783
3789
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (v(), D(m, {
3784
3790
  key: 1,
3785
3791
  id: g(w.value),
3786
3792
  modelValue: a.value[w.value],
3787
3793
  "onUpdate:modelValue": (O) => a.value[w.value] = O,
3788
3794
  autocomplete: "off",
3789
- placeholder: T(n)("filter.inputPlaceholder"),
3795
+ placeholder: I(n)("filter.inputPlaceholder"),
3790
3796
  type: x(w.value)
3791
3797
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3792
3798
  ], 512), [
3793
- [ve, l.value.has(w.value)]
3799
+ [ye, l.value.has(w.value)]
3794
3800
  ]),
3795
- ye(M("div", sl, [
3801
+ ge(M("div", ul, [
3796
3802
  N(A, {
3797
3803
  appearance: "tertiary",
3798
3804
  "data-testid": "apply-filter",
3799
3805
  size: "small",
3800
- onClick: I[0] || (I[0] = (O) => L(!0))
3806
+ onClick: T[0] || (T[0] = (O) => L(!0))
3801
3807
  }, {
3802
3808
  default: C(() => [
3803
- V(K(T(n)("filter.applyButtonText")), 1)
3809
+ V(K(I(n)("filter.applyButtonText")), 1)
3804
3810
  ]),
3805
3811
  _: 1
3806
3812
  }),
@@ -3811,34 +3817,34 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3811
3817
  onClick: (O) => E(w.value)
3812
3818
  }, {
3813
3819
  default: C(() => [
3814
- V(K(T(n)("filter.clearButtonText")), 1)
3820
+ V(K(I(n)("filter.clearButtonText")), 1)
3815
3821
  ]),
3816
3822
  _: 2
3817
3823
  }, 1032, ["onClick"])
3818
3824
  ], 512), [
3819
- [ve, l.value.has(w.value)]
3825
+ [ye, l.value.has(w.value)]
3820
3826
  ])
3821
- ], 8, il);
3827
+ ], 8, al);
3822
3828
  }), 128)),
3823
- M("div", ul, [
3829
+ M("div", dl, [
3824
3830
  N(A, {
3825
3831
  appearance: "tertiary",
3826
3832
  size: "small",
3827
3833
  onClick: y
3828
3834
  }, {
3829
3835
  default: C(() => [
3830
- V(K(T(n)("filter.clearAllButtonText")), 1)
3836
+ V(K(I(n)("filter.clearAllButtonText")), 1)
3831
3837
  ]),
3832
3838
  _: 1
3833
3839
  })
3834
3840
  ])
3835
3841
  ], 512), [
3836
- [ve, o.value]
3842
+ [ye, o.value]
3837
3843
  ])
3838
3844
  ]));
3839
3845
  };
3840
3846
  }
3841
- }), Dl = /* @__PURE__ */ ae(dl, [["__scopeId", "data-v-10fa27a5"]]), jl = /* @__PURE__ */ z({
3847
+ }), jl = /* @__PURE__ */ ae(fl, [["__scopeId", "data-v-10fa27a5"]]), Ul = /* @__PURE__ */ z({
3842
3848
  __name: "EntityToggleModal",
3843
3849
  props: {
3844
3850
  visible: {
@@ -3888,7 +3894,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3888
3894
  };
3889
3895
  return (s, p) => {
3890
3896
  const f = j("KPrompt");
3891
- return v(), D(qn, { to: "body" }, [
3897
+ return v(), D(Hn, { to: "body" }, [
3892
3898
  N(f, {
3893
3899
  "action-button-disabled": a.value,
3894
3900
  "action-button-text": c.value,
@@ -3899,7 +3905,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3899
3905
  onProceed: d
3900
3906
  }, {
3901
3907
  default: C(() => [
3902
- N(T(r), {
3908
+ N(I(r), {
3903
3909
  keypath: `toggleModal.${i.action}.message`,
3904
3910
  scope: "global"
3905
3911
  }, {
@@ -3917,7 +3923,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3917
3923
  ]);
3918
3924
  };
3919
3925
  }
3920
- }), Ul = /* @__PURE__ */ z({
3926
+ }), Pl = /* @__PURE__ */ z({
3921
3927
  __name: "PermissionsWrapper",
3922
3928
  props: {
3923
3929
  /**
@@ -3940,7 +3946,7 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3940
3946
  },
3941
3947
  setup(e) {
3942
3948
  const t = e, n = B(void 0), r = $(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
3943
- return ge(() => t.authFunction, async () => {
3949
+ return _e(() => t.authFunction, async () => {
3944
3950
  n.value = await t.authFunction();
3945
3951
  }, { immediate: !0 }), (i, o) => r.value ? W(i.$slots, "default", {
3946
3952
  key: 0,
@@ -3949,35 +3955,35 @@ const Io = { class: "yaml-config" }, Ln = /* @__PURE__ */ z({
3949
3955
  }
3950
3956
  });
3951
3957
  var Z = [];
3952
- for (var We = 0; We < 256; ++We)
3953
- Z.push((We + 256).toString(16).slice(1));
3954
- function fl(e, t = 0) {
3958
+ for (var Ve = 0; Ve < 256; ++Ve)
3959
+ Z.push((Ve + 256).toString(16).slice(1));
3960
+ function pl(e, t = 0) {
3955
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]]).toLowerCase();
3956
3962
  }
3957
- var Oe, pl = new Uint8Array(16);
3958
- function ml() {
3959
- if (!Oe && (Oe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Oe))
3963
+ var Fe, ml = new Uint8Array(16);
3964
+ function hl() {
3965
+ if (!Fe && (Fe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Fe))
3960
3966
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3961
- return Oe(pl);
3967
+ return Fe(ml);
3962
3968
  }
3963
- var hl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3969
+ var gl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3964
3970
  const Lt = {
3965
- randomUUID: hl
3971
+ randomUUID: gl
3966
3972
  };
3967
- function gl(e, t, n) {
3973
+ function yl(e, t, n) {
3968
3974
  if (Lt.randomUUID && !t && !e)
3969
3975
  return Lt.randomUUID();
3970
3976
  e = e || {};
3971
- var r = e.random || (e.rng || ml)();
3972
- return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, fl(r);
3977
+ var r = e.random || (e.rng || hl)();
3978
+ return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, pl(r);
3973
3979
  }
3974
- const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
3980
+ const vl = ["aria-labelledby"], bl = { class: "form-section-wrapper" }, xl = {
3975
3981
  key: 1,
3976
3982
  class: "form-section-description"
3977
- }, xl = {
3983
+ }, Cl = {
3978
3984
  key: 2,
3979
3985
  class: "form-section-footer"
3980
- }, Cl = { class: "form-section-content" }, Al = /* @__PURE__ */ z({
3986
+ }, Al = { class: "form-section-content" }, kl = /* @__PURE__ */ z({
3981
3987
  __name: "EntityFormSection",
3982
3988
  props: {
3983
3989
  title: {
@@ -4006,20 +4012,20 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4006
4012
  }
4007
4013
  },
4008
4014
  setup(e) {
4009
- const t = et(), n = gl();
4015
+ const t = Xe(), n = yl();
4010
4016
  return (r, i) => (v(), R("div", {
4011
- "aria-labelledby": e.title ? T(n) : void 0,
4017
+ "aria-labelledby": e.title ? I(n) : void 0,
4012
4018
  class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4013
4019
  role: "group"
4014
4020
  }, [
4015
- M("div", vl, [
4021
+ M("div", bl, [
4016
4022
  e.hideInfoHeader ? q("", !0) : (v(), R("div", {
4017
4023
  key: 0,
4018
4024
  class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4019
4025
  }, [
4020
- e.title ? (v(), D(De(e.titleTag), {
4026
+ e.title ? (v(), D(Me(e.titleTag), {
4021
4027
  key: 0,
4022
- id: T(n),
4028
+ id: I(n),
4023
4029
  class: "form-section-title"
4024
4030
  }, {
4025
4031
  default: C(() => [
@@ -4027,28 +4033,28 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4027
4033
  ]),
4028
4034
  _: 1
4029
4035
  }, 8, ["id"])) : q("", !0),
4030
- e.description || T(t).description ? (v(), R("div", bl, [
4036
+ e.description || I(t).description ? (v(), R("div", xl, [
4031
4037
  W(r.$slots, "description", {}, () => [
4032
4038
  M("p", null, K(e.description), 1)
4033
4039
  ], !0)
4034
4040
  ])) : q("", !0),
4035
- T(t).footer ? (v(), R("div", xl, [
4041
+ I(t).footer ? (v(), R("div", Cl, [
4036
4042
  W(r.$slots, "footer", {}, void 0, !0)
4037
4043
  ])) : q("", !0)
4038
4044
  ], 2)),
4039
- M("div", Cl, [
4045
+ M("div", Al, [
4040
4046
  W(r.$slots, "default", {}, void 0, !0)
4041
4047
  ])
4042
4048
  ])
4043
- ], 10, yl));
4049
+ ], 10, vl));
4044
4050
  }
4045
- }), Pl = /* @__PURE__ */ ae(Al, [["__scopeId", "data-v-b1f74200"]]), kl = {
4051
+ }), ql = /* @__PURE__ */ ae(kl, [["__scopeId", "data-v-b1f74200"]]), _l = {
4046
4052
  class: "kong-ui-public-entity-link",
4047
4053
  "data-testid": "entity-link-parent"
4048
- }, _l = {
4054
+ }, wl = {
4049
4055
  key: 0,
4050
4056
  class: "deleted-entity"
4051
- }, wl = { key: 1 }, Sl = ["onClick"], Il = /* @__PURE__ */ z({
4057
+ }, Sl = { key: 1 }, Tl = ["onClick"], Il = /* @__PURE__ */ z({
4052
4058
  __name: "EntityLink",
4053
4059
  props: {
4054
4060
  entityLinkData: {
@@ -4085,8 +4091,8 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4085
4091
  };
4086
4092
  return (s, p) => {
4087
4093
  const f = j("KTooltip"), g = j("KExternalLink"), h = j("KClipboardProvider");
4088
- return v(), R("div", kl, [
4089
- l.value ? (v(), R("div", _l, K(u.value), 1)) : c.value ? c.value ? (v(), D(g, {
4094
+ return v(), R("div", _l, [
4095
+ l.value ? (v(), R("div", wl, K(u.value), 1)) : c.value ? c.value ? (v(), D(g, {
4090
4096
  key: 2,
4091
4097
  class: "entity-link",
4092
4098
  "hide-icon": !e.newWindow,
@@ -4095,7 +4101,7 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4095
4101
  }, {
4096
4102
  default: C(() => [
4097
4103
  N(f, {
4098
- text: T(r) && e.entityLinkData.label || ""
4104
+ text: I(r) && e.entityLinkData.label || ""
4099
4105
  }, {
4100
4106
  default: C(() => [
4101
4107
  M("span", {
@@ -4108,7 +4114,7 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4108
4114
  }, 8, ["text"])
4109
4115
  ]),
4110
4116
  _: 1
4111
- }, 8, ["hide-icon", "href", "target"])) : q("", !0) : (v(), R("div", wl, K(" – "))),
4117
+ }, 8, ["hide-icon", "href", "target"])) : q("", !0) : (v(), R("div", Sl, K(" – "))),
4112
4118
  c.value && e.allowCopy ? (v(), D(f, {
4113
4119
  key: a.value,
4114
4120
  class: "copy-uuid-tooltip",
@@ -4121,15 +4127,15 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4121
4127
  default: C(({ copyToClipboard: x }) => [
4122
4128
  M("span", {
4123
4129
  class: "entity-link-copy-id",
4124
- onClick: Le((E) => d(x), ["stop"])
4130
+ onClick: Oe((E) => d(x), ["stop"])
4125
4131
  }, [
4126
- N(T(Xn), {
4132
+ N(I(er), {
4127
4133
  class: "copy-icon",
4128
- color: T(Pr),
4134
+ color: I(qr),
4129
4135
  "data-testid": "copy-id",
4130
- size: T(Hr)
4136
+ size: I(Yr)
4131
4137
  }, null, 8, ["color", "size"])
4132
- ], 8, Sl)
4138
+ ], 8, Tl)
4133
4139
  ]),
4134
4140
  _: 1
4135
4141
  })
@@ -4139,7 +4145,7 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4139
4145
  ]);
4140
4146
  };
4141
4147
  }
4142
- }), ql = /* @__PURE__ */ ae(Il, [["__scopeId", "data-v-60e3ef7c"]]), Tl = { key: 1 }, Hl = /* @__PURE__ */ z({
4148
+ }), Hl = /* @__PURE__ */ ae(Il, [["__scopeId", "data-v-60e3ef7c"]]), $l = { key: 1 }, Yl = /* @__PURE__ */ z({
4143
4149
  __name: "TableTags",
4144
4150
  props: {
4145
4151
  /** The tags to display in the table */
@@ -4167,12 +4173,12 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4167
4173
  });
4168
4174
  return (r, i) => {
4169
4175
  var o;
4170
- return ((o = n.value) == null ? void 0 : o.length) > 0 ? (v(), D(T(Wn), { key: 0 }, {
4176
+ return ((o = n.value) == null ? void 0 : o.length) > 0 ? (v(), D(I(Jn), { key: 0 }, {
4171
4177
  default: C(() => [
4172
- (v(!0), R(le, null, oe(n.value, (a) => (v(), D(T(Jn), {
4178
+ (v(!0), R(le, null, oe(n.value, (a) => (v(), D(I(Gn), {
4173
4179
  key: a,
4174
4180
  "max-width": e.tagMaxWidth,
4175
- onClick: i[0] || (i[0] = Le(() => {
4181
+ onClick: i[0] || (i[0] = Oe(() => {
4176
4182
  }, ["stop"]))
4177
4183
  }, {
4178
4184
  default: C(() => [
@@ -4182,45 +4188,45 @@ const yl = ["aria-labelledby"], vl = { class: "form-section-wrapper" }, bl = {
4182
4188
  }, 1032, ["max-width"]))), 128))
4183
4189
  ]),
4184
4190
  _: 1
4185
- })) : (v(), R("span", Tl, "-"));
4191
+ })) : (v(), R("span", $l, "-"));
4186
4192
  };
4187
4193
  }
4188
- }), { useAxios: Yl, useDeleteUrlBuilder: Vl, useErrors: Wl, useExternalLinkCreator: Jl, useFetchUrlBuilder: Gl, useFetcher: zl, useDebouncedFilter: Ql, useStringHelpers: Zl, useHelpers: Xl, useGatewayFeatureSupported: ec, useTruncationDetector: tc, useValidators: nc, useSchemaProvider: rc } = H;
4194
+ }), { useAxios: Vl, useDeleteUrlBuilder: Wl, useErrors: Jl, useExternalLinkCreator: Gl, useFetchUrlBuilder: zl, useFetcher: Ql, useDebouncedFilter: Zl, useStringHelpers: Xl, useHelpers: ec, useGatewayFeatureSupported: tc, useTruncationDetector: nc, useValidators: rc, useSchemaProvider: ic } = H;
4189
4195
  export {
4190
- Lo as ConfigCardDisplay,
4191
- qt as ConfigCardItem,
4196
+ Ro as ConfigCardDisplay,
4197
+ Ht as ConfigCardItem,
4192
4198
  ie as ConfigurationSchemaSection,
4193
4199
  P as ConfigurationSchemaType,
4194
- Bl as EntityBaseConfigCard,
4195
- Kl as EntityBaseForm,
4196
- nr as EntityBaseFormType,
4197
- Nl as EntityBaseTable,
4198
- Ml as EntityDeleteModal,
4199
- Dl as EntityFilter,
4200
- Pl as EntityFormSection,
4201
- ql as EntityLink,
4202
- jl as EntityToggleModal,
4203
- tr as EntityTypes,
4200
+ Kl as EntityBaseConfigCard,
4201
+ Nl as EntityBaseForm,
4202
+ rr as EntityBaseFormType,
4203
+ Ml as EntityBaseTable,
4204
+ Dl as EntityDeleteModal,
4205
+ jl as EntityFilter,
4206
+ ql as EntityFormSection,
4207
+ Hl as EntityLink,
4208
+ Ul as EntityToggleModal,
4209
+ nr as EntityTypes,
4204
4210
  ue as FetcherStatus,
4205
- Nr as InternalLinkItem,
4206
- Ht as JsonCodeBlock,
4207
- Ul as PermissionsWrapper,
4208
- tt as SupportedEntityType,
4209
- je as SupportedEntityTypesArray,
4210
- Hl as TableTags,
4211
- Rn as TerraformCodeBlock,
4212
- Ln as YamlCodeBlock,
4213
- Yl as useAxios,
4214
- Ql as useDebouncedFilter,
4215
- Vl as useDeleteUrlBuilder,
4216
- Wl as useErrors,
4217
- Jl as useExternalLinkCreator,
4218
- Gl as useFetchUrlBuilder,
4219
- zl as useFetcher,
4220
- ec as useGatewayFeatureSupported,
4221
- Xl as useHelpers,
4222
- rc as useSchemaProvider,
4223
- Zl as useStringHelpers,
4224
- tc as useTruncationDetector,
4225
- nc as useValidators
4211
+ Mr as InternalLinkItem,
4212
+ Yt as JsonCodeBlock,
4213
+ Pl as PermissionsWrapper,
4214
+ et as SupportedEntityType,
4215
+ De as SupportedEntityTypesArray,
4216
+ Yl as TableTags,
4217
+ Bn as TerraformCodeBlock,
4218
+ Rn as YamlCodeBlock,
4219
+ Vl as useAxios,
4220
+ Zl as useDebouncedFilter,
4221
+ Wl as useDeleteUrlBuilder,
4222
+ Jl as useErrors,
4223
+ Gl as useExternalLinkCreator,
4224
+ zl as useFetchUrlBuilder,
4225
+ Ql as useFetcher,
4226
+ tc as useGatewayFeatureSupported,
4227
+ ec as useHelpers,
4228
+ ic as useSchemaProvider,
4229
+ Xl as useStringHelpers,
4230
+ nc as useTruncationDetector,
4231
+ rc as useValidators
4226
4232
  };