@kong-ui-public/entities-snis 2.5.9 → 2.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { defineComponent as re, ref as N, computed as T, watch as he, renderSlot as oe, createCommentVNode as X, unref as y, onBeforeMount as tt, resolveComponent as q, openBlock as A, createBlock as z, withCtx as b, createElementVNode as K, toDisplayString as F, createElementBlock as $, withModifiers as Je, createVNode as _, createTextVNode as J, createSlots as Rt, withDirectives as pe, vShow as fe, renderList as nt, Fragment as Ut, normalizeClass as Ne, withKeys as Bn, useSlots as Pn, resolveDynamicComponent as Le, useCssVars as Dn, inject as Vn, onMounted as zn, onUnmounted as Hn, normalizeStyle as it, pushScopeId as rt, popScopeId as at, reactive as gt } from "vue";
2
- import { createI18n as Bt, i18nTComponent as Pt } from "@kong-ui-public/i18n";
3
- import ht from "axios";
1
+ import { defineComponent as re, ref as N, computed as T, watch as he, renderSlot as oe, createCommentVNode as X, unref as y, onBeforeMount as it, resolveComponent as $, openBlock as A, createBlock as z, withCtx as b, createElementVNode as K, toDisplayString as F, createElementBlock as q, withModifiers as Ze, createVNode as _, createTextVNode as J, createSlots as Bt, withDirectives as pe, vShow as fe, renderList as rt, Fragment as Pt, normalizeClass as Ee, withKeys as Dn, useSlots as Vn, resolveDynamicComponent as qe, useCssVars as zn, inject as Hn, onMounted as Yn, onUnmounted as Wn, normalizeStyle as at, pushScopeId as ot, popScopeId as lt, reactive as mt } from "vue";
2
+ import { createI18n as Dt, i18nTComponent as Vt } from "@kong-ui-public/i18n";
3
+ import yt from "axios";
4
4
  import "@kong/kongponents";
5
- import { useRouter as Dt } from "vue-router";
6
- const Yn = {
5
+ import { useRouter as zt } from "vue-router";
6
+ const Jn = {
7
7
  create: "New SNI",
8
8
  copy_id: "Copy ID",
9
9
  copy_json: "Copy JSON",
@@ -11,10 +11,10 @@ const Yn = {
11
11
  delete: "Delete",
12
12
  clear: "Clear",
13
13
  loading: "Loading..."
14
- }, Wn = {
14
+ }, Gn = {
15
15
  placeholder: "Filter by exact name or ID",
16
16
  no_results: "No results found"
17
- }, Jn = {
17
+ }, Zn = {
18
18
  title: "SNIs",
19
19
  list: {
20
20
  toolbar_actions: {
@@ -31,7 +31,7 @@ const Yn = {
31
31
  description: "SNIs are used to map hostnames to a certificate."
32
32
  }
33
33
  }
34
- }, Gn = {
34
+ }, Qn = {
35
35
  sections: {
36
36
  general: {
37
37
  title: "General Information",
@@ -59,7 +59,7 @@ const Yn = {
59
59
  footer: "Search by exact ID to find certificates not included in the list"
60
60
  }
61
61
  }
62
- }, Zn = {
62
+ }, Xn = {
63
63
  delete: "The SNI could not be deleted at this time.",
64
64
  general: "SNIs could not be retrieved",
65
65
  certificates: {
@@ -67,68 +67,68 @@ const Yn = {
67
67
  invalid: "Please select a valid certificate ID"
68
68
  },
69
69
  copy: "Failed to copy to clipboard"
70
- }, Qn = {
70
+ }, ei = {
71
71
  success: "Copied {val} to clipboard",
72
72
  success_brief: "Successfully copied to clipboard"
73
- }, Xn = {
74
- actions: Yn,
75
- search: Wn,
76
- snis: Jn,
77
- form: Gn,
73
+ }, ti = {
74
+ actions: Jn,
75
+ search: Gn,
76
+ snis: Zn,
77
+ form: Qn,
78
78
  delete: {
79
79
  title: "Delete an SNI",
80
80
  description: "This action cannot be reversed so make sure to check the SNI usage before deleting."
81
81
  },
82
- errors: Zn,
83
- copy: Qn
82
+ errors: Xn,
83
+ copy: ei
84
84
  };
85
- function ei() {
86
- const e = Bt("en-us", Xn);
85
+ function ni() {
86
+ const e = Dt("en-us", ti);
87
87
  return {
88
88
  i18n: e,
89
- i18nT: Pt(e)
89
+ i18nT: Vt(e)
90
90
  // Translation component <i18n-t>
91
91
  };
92
92
  }
93
- const Vt = {
94
- useI18n: ei
95
- }, Te = {
93
+ const Ht = {
94
+ useI18n: ni
95
+ }, Te = "/v2/control-planes/{controlPlaneId}/core-entities", je = "/{workspace}", Ne = {
96
96
  list: {
97
97
  konnect: {
98
- all: "/api/runtime_groups/{controlPlaneId}/snis"
98
+ all: `${Te}/snis`
99
99
  },
100
100
  kongManager: {
101
- all: "/{workspace}/snis"
101
+ all: `${je}/snis`
102
102
  }
103
103
  },
104
104
  form: {
105
105
  konnect: {
106
- create: "/api/runtime_groups/{controlPlaneId}/snis",
107
- edit: "/api/runtime_groups/{controlPlaneId}/snis/{id}",
108
- validate: "/api/runtime_groups/{controlPlaneId}/v1/schemas/json/sni/validate",
109
- certificates: "/api/runtime_groups/{controlPlaneId}/certificates"
106
+ create: `${Te}/snis`,
107
+ edit: `${Te}/snis/{id}`,
108
+ validate: `${Te}/v1/schemas/json/sni/validate`,
109
+ certificates: `${Te}/certificates`
110
110
  },
111
111
  kongManager: {
112
- create: "/{workspace}/snis",
113
- edit: "/{workspace}/snis/{id}",
114
- validate: "/{workspace}/schemas/snis/validate",
115
- certificates: "/{workspace}/certificates"
112
+ create: `${je}/snis`,
113
+ edit: `${je}/snis/{id}`,
114
+ validate: `${je}/schemas/snis/validate`,
115
+ certificates: `${je}/certificates`
116
116
  }
117
117
  }
118
118
  };
119
- var zt = /* @__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))(zt || {}), qe = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(qe || {}), ye = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(ye || {});
120
- function ti() {
119
+ var Yt = /* @__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))(Yt || {}), Ke = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ke || {}), ye = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(ye || {});
120
+ function ii() {
121
121
  return {
122
122
  getAxiosInstance: (e = {}) => {
123
123
  try {
124
- const t = Vn("get-axios-instance", void 0);
125
- return typeof t == "function" ? t(e) : ht.create({
124
+ const t = Hn("get-axios-instance", void 0);
125
+ return typeof t == "function" ? t(e) : yt.create({
126
126
  withCredentials: !0,
127
127
  timeout: 3e4,
128
128
  ...e
129
129
  });
130
130
  } catch (t) {
131
- return console.warn("getAxiosInstance:", t.message || t), ht.create({
131
+ return console.warn("getAxiosInstance:", t.message || t), yt.create({
132
132
  withCredentials: !0,
133
133
  timeout: 3e4,
134
134
  ...e
@@ -141,7 +141,7 @@ function ti() {
141
141
  }
142
142
  };
143
143
  }
144
- function ni() {
144
+ function ri() {
145
145
  return {
146
146
  debounce: (e, t) => {
147
147
  let n;
@@ -153,12 +153,12 @@ function ni() {
153
153
  }
154
154
  };
155
155
  }
156
- const Ve = "khcp-user-table-preferences", ii = {
156
+ const He = "khcp-user-table-preferences", ai = {
157
157
  pageSize: 30,
158
158
  sortColumnKey: void 0,
159
159
  sortColumnOrder: void 0
160
160
  };
161
- function ri() {
161
+ function oi() {
162
162
  const e = (n) => {
163
163
  if (typeof n == "string")
164
164
  try {
@@ -168,44 +168,44 @@ function ri() {
168
168
  return;
169
169
  }
170
170
  }, t = () => {
171
- const n = e(localStorage.getItem(Ve));
171
+ const n = e(localStorage.getItem(He));
172
172
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
173
173
  };
174
174
  return {
175
175
  setTablePreferences: (n, i) => {
176
176
  try {
177
177
  const r = t();
178
- r.set(n, i), localStorage.setItem(Ve, JSON.stringify(Object.fromEntries(r.entries())));
178
+ r.set(n, i), localStorage.setItem(He, JSON.stringify(Object.fromEntries(r.entries())));
179
179
  } catch (r) {
180
180
  console.error("useTablePreferences(setTablePreferences)", r);
181
181
  }
182
182
  },
183
183
  getTablePreferences: (n) => {
184
184
  const i = t();
185
- return (i == null ? void 0 : i.get(n)) || void 0 || ii;
185
+ return (i == null ? void 0 : i.get(n)) || void 0 || ai;
186
186
  },
187
187
  deleteAllTablePreferences: () => {
188
- localStorage.removeItem(Ve);
188
+ localStorage.removeItem(He);
189
189
  }
190
190
  };
191
191
  }
192
- function ot(e = {}) {
193
- const { getAxiosInstance: t } = ti();
192
+ function st(e = {}) {
193
+ const { getAxiosInstance: t } = ii();
194
194
  return {
195
195
  axiosInstance: t(e)
196
196
  };
197
197
  }
198
- const ai = {
198
+ const li = {
199
199
  actions: {
200
200
  copyId: "Copy ID",
201
201
  copied_id: 'Copied "{id}" to the clipboard',
202
202
  copyToClipboard: "Copied successfully!",
203
203
  copyToClipboardFailed: "Failed to copy to the clipboard"
204
204
  }
205
- }, oi = {
205
+ }, si = {
206
206
  message: "Are you sure you want to delete this {entityType}?",
207
207
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
208
- }, li = {
208
+ }, ci = {
209
209
  actions: {
210
210
  viewConfiguration: "View Configuration",
211
211
  save: "Save",
@@ -221,13 +221,13 @@ const ai = {
221
221
  errors: {
222
222
  edit: "The entity could not be edited at this time."
223
223
  }
224
- }, si = {
224
+ }, ui = {
225
225
  emptyState: {
226
226
  noSearchResultsTitle: "No results found",
227
227
  noSearchResultsMessage: "Please adjust the criteria and try again.",
228
228
  noSearchResultsCtaText: "Clear"
229
229
  }
230
- }, ci = {
230
+ }, di = {
231
231
  title: "Configuration",
232
232
  actions: {
233
233
  copy: "Copy JSON"
@@ -262,7 +262,7 @@ const ai = {
262
262
  entryTitle: "Entry {index}",
263
263
  structuredFormat: "Structured"
264
264
  }
265
- }, ui = {
265
+ }, pi = {
266
266
  filterButtonText: "Filter",
267
267
  fieldLabel: "Filter by:",
268
268
  inputPlaceholder: "Enter a value",
@@ -270,17 +270,17 @@ const ai = {
270
270
  applyButtonText: "Apply",
271
271
  clearButtonText: "Clear",
272
272
  clearAllButtonText: "Clear all filters"
273
- }, di = {
273
+ }, fi = {
274
274
  errors: {
275
275
  fetch: "Could not fetch available items",
276
276
  invalid: "Please select a valid value"
277
277
  }
278
- }, pi = {
278
+ }, gi = {
279
279
  unexpected: "An unexpected error has occurred",
280
280
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
281
- }, fi = {
281
+ }, hi = {
282
282
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
283
- }, gi = {
283
+ }, mi = {
284
284
  enable: {
285
285
  title: "Enable {entityType}",
286
286
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -291,27 +291,27 @@ const ai = {
291
291
  message: "Are you sure you want to disable the {entityType} {entityName}?",
292
292
  confirmText: "Yes, disable"
293
293
  }
294
- }, hi = {
295
- global: ai,
296
- deleteModal: oi,
297
- baseForm: li,
298
- baseTable: si,
299
- baseConfigCard: ci,
300
- filter: ui,
301
- debouncedFilter: di,
302
- errors: pi,
303
- validationErrors: fi,
304
- toggleModal: gi
294
+ }, yi = {
295
+ global: li,
296
+ deleteModal: si,
297
+ baseForm: ci,
298
+ baseTable: ui,
299
+ baseConfigCard: di,
300
+ filter: pi,
301
+ debouncedFilter: fi,
302
+ errors: gi,
303
+ validationErrors: hi,
304
+ toggleModal: mi
305
305
  };
306
- function Pe() {
307
- const e = Bt("en-us", hi);
306
+ function Ve() {
307
+ const e = Dt("en-us", yi);
308
308
  return {
309
309
  i18n: e,
310
- i18nT: Pt(e)
310
+ i18nT: Vt(e)
311
311
  // Translation component <i18n-t>
312
312
  };
313
313
  }
314
- function Ht() {
314
+ function Wt() {
315
315
  const e = (n, i) => (i == null ? void 0 : i[n]) ?? void 0, t = (n, i) => {
316
316
  if (n.length !== i.length)
317
317
  return !1;
@@ -355,19 +355,19 @@ function Ht() {
355
355
  isValidUuid: (n) => n ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(n) : !1
356
356
  };
357
357
  }
358
- function mi(e, t, n, i = {
358
+ function vi(e, t, n, i = {
359
359
  fetchedItemsKey: "data",
360
360
  searchKeys: ["id"]
361
361
  }) {
362
362
  n || (n = "1000");
363
- const { axiosInstance: r } = ot({
363
+ const { axiosInstance: r } = st({
364
364
  headers: e.requestHeaders
365
- }), { i18n: { t: o } } = Pe(), { debounce: a } = ni(), l = a(async (m) => {
365
+ }), { i18n: { t: o } } = Ve(), { debounce: a } = ri(), l = a(async (m) => {
366
366
  await te(m);
367
367
  }, 200), s = N(!1), u = N(""), d = N(""), c = N([]), p = N([]), f = N(void 0), v = y(t);
368
368
  let h = `${e.apiBaseUrl}${v}`;
369
369
  e.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
370
- const { isValidUuid: x } = Ht(), E = async () => {
370
+ const { isValidUuid: I } = Wt(), E = async () => {
371
371
  try {
372
372
  s.value = !0;
373
373
  const { data: m } = await r.get(`${h}?size=${n}`);
@@ -385,11 +385,11 @@ function mi(e, t, n, i = {
385
385
  if (s.value = !0, u.value = "", d.value = "", e.app === "konnect") {
386
386
  let R = h + "";
387
387
  m && (R += `/${m}`);
388
- const { data: I } = await r.get(`${R}?size=${n}`);
389
- i.fetchedItemsKey in I ? c.value = I[i.fetchedItemsKey] : I != null && I.id ? c.value = [I] : c.value = [];
388
+ const { data: x } = await r.get(`${R}?size=${n}`);
389
+ i.fetchedItemsKey in x ? c.value = x[i.fetchedItemsKey] : x != null && x.id ? c.value = [x] : c.value = [];
390
390
  } else if (m) {
391
391
  const R = [];
392
- x(m) && i.searchKeys.includes("id") ? R.push((async () => {
392
+ I(m) && i.searchKeys.includes("id") ? R.push((async () => {
393
393
  const { data: U } = await r.get(`${h}/${m}`);
394
394
  return [U[i.fetchedItemsKey] ?? U];
395
395
  })()) : R.push(
@@ -398,8 +398,8 @@ function mi(e, t, n, i = {
398
398
  return L[i.fetchedItemsKey];
399
399
  })
400
400
  );
401
- const I = await Promise.all(R), G = /* @__PURE__ */ new Set();
402
- c.value = [], (g = I == null ? void 0 : I.forEach) == null || g.call(I, (U) => {
401
+ const x = await Promise.all(R), G = /* @__PURE__ */ new Set();
402
+ c.value = [], (g = x == null ? void 0 : x.forEach) == null || g.call(x, (U) => {
403
403
  var L;
404
404
  (L = U == null ? void 0 : U.forEach) == null || L.call(U, (Z) => {
405
405
  G.has(Z.id) || (G.add(Z.id), c.value.push(Z));
@@ -414,10 +414,10 @@ function mi(e, t, n, i = {
414
414
  }
415
415
  else
416
416
  s.value = !0, d.value = "", m ? (c.value = (M = f.value) == null ? void 0 : M.filter((R) => {
417
- var I;
417
+ var x;
418
418
  let G = !1;
419
419
  for (const U of i.searchKeys) {
420
- const L = typeof R[U] == "string" ? (I = R[U]) == null ? void 0 : I.toLowerCase() : R[U];
420
+ const L = typeof R[U] == "string" ? (x = R[U]) == null ? void 0 : x.toLowerCase() : R[U];
421
421
  L != null && L.includes(m.toLowerCase()) && (G = !0);
422
422
  }
423
423
  return G;
@@ -433,14 +433,14 @@ function mi(e, t, n, i = {
433
433
  debouncedQueryChange: l
434
434
  };
435
435
  }
436
- function yi(e, t) {
436
+ function bi(e, t) {
437
437
  const n = y(t), i = T(
438
438
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
439
439
  );
440
440
  return i.value.search = "", (r) => `${i.value.href}/${r}`;
441
441
  }
442
- function vi() {
443
- const { i18n: { t: e } } = Pe();
442
+ function wi() {
443
+ const { i18n: { t: e } } = Ve();
444
444
  return {
445
445
  getMessageFromError: (t) => {
446
446
  var n, i, r, o;
@@ -469,7 +469,7 @@ function vi() {
469
469
  }
470
470
  };
471
471
  }
472
- function bi(e) {
472
+ function ki(e) {
473
473
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
474
474
  try {
475
475
  const i = e.join("/"), r = `${n}${i}`, o = e.some((a) => a.trim() === "");
@@ -480,7 +480,7 @@ function bi(e) {
480
480
  return console.warn("Failed to build valid URL:", i), "";
481
481
  }
482
482
  }
483
- function Yt(e, t) {
483
+ function Jt(e, t) {
484
484
  const n = N(y(e)), i = N(y(t)), r = T(
485
485
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
486
486
  ), o = T(
@@ -498,12 +498,12 @@ function Yt(e, t) {
498
498
  }
499
499
  };
500
500
  }
501
- function wi(e, t, n = "data") {
501
+ function Ci(e, t, n = "data") {
502
502
  var i;
503
- const r = y(t), { axiosInstance: o } = ot({
503
+ const r = y(t), { axiosInstance: o } = st({
504
504
  ...e.axiosRequestConfig,
505
505
  headers: { ...(i = e.axiosRequestConfig) == null ? void 0 : i.headers, ...e.requestHeaders }
506
- }), a = Yt(e, r), l = N({
506
+ }), a = Jt(e, r), l = N({
507
507
  status: ye.Idle
508
508
  });
509
509
  return { fetcher: async (s) => {
@@ -548,69 +548,69 @@ function wi(e, t, n = "data") {
548
548
  }
549
549
  }, fetcherState: l };
550
550
  }
551
- function ki() {
551
+ function Si() {
552
552
  const e = (n, i = "_") => n ? n.split(i).map((r) => r.toLowerCase() === "id" ? r.toUpperCase() : r.charAt(0).toUpperCase() + r.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
553
553
  return {
554
554
  capitalize: (n) => n ? n.replace(t, (i) => i.toUpperCase()) : "",
555
555
  convertKeyToTitle: e
556
556
  };
557
557
  }
558
- const Wt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, mt = (e) => {
558
+ const Gt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, vt = (e) => {
559
559
  if (typeof e != "string")
560
560
  throw new TypeError("Invalid argument expected string");
561
- const t = e.match(Wt);
561
+ const t = e.match(Gt);
562
562
  if (!t)
563
563
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
564
564
  return t.shift(), t;
565
- }, yt = (e) => e === "*" || e === "x" || e === "X", vt = (e) => {
565
+ }, bt = (e) => e === "*" || e === "x" || e === "X", wt = (e) => {
566
566
  const t = parseInt(e, 10);
567
567
  return isNaN(t) ? e : t;
568
- }, Ci = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Si = (e, t) => {
569
- if (yt(e) || yt(t))
568
+ }, Ai = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], xi = (e, t) => {
569
+ if (bt(e) || bt(t))
570
570
  return 0;
571
- const [n, i] = Ci(vt(e), vt(t));
571
+ const [n, i] = Ai(wt(e), wt(t));
572
572
  return n > i ? 1 : n < i ? -1 : 0;
573
- }, bt = (e, t) => {
573
+ }, kt = (e, t) => {
574
574
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
575
- const i = Si(e[n] || "0", t[n] || "0");
575
+ const i = xi(e[n] || "0", t[n] || "0");
576
576
  if (i !== 0)
577
577
  return i;
578
578
  }
579
579
  return 0;
580
- }, Ai = (e, t) => {
581
- const n = mt(e), i = mt(t), r = n.pop(), o = i.pop(), a = bt(n, i);
582
- return a !== 0 ? a : r && o ? bt(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
583
- }, wt = (e, t, n) => {
584
- Ii(n);
585
- const i = Ai(e, t);
586
- return Jt[n].includes(i);
587
- }, Jt = {
580
+ }, Ii = (e, t) => {
581
+ const n = vt(e), i = vt(t), r = n.pop(), o = i.pop(), a = kt(n, i);
582
+ return a !== 0 ? a : r && o ? kt(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
583
+ }, Ct = (e, t, n) => {
584
+ _i(n);
585
+ const i = Ii(e, t);
586
+ return Zt[n].includes(i);
587
+ }, Zt = {
588
588
  ">": [1],
589
589
  ">=": [0, 1],
590
590
  "=": [0],
591
591
  "<=": [-1, 0],
592
592
  "<": [-1],
593
593
  "!=": [-1, 1]
594
- }, kt = Object.keys(Jt), Ii = (e) => {
594
+ }, St = Object.keys(Zt), _i = (e) => {
595
595
  if (typeof e != "string")
596
596
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
597
- if (kt.indexOf(e) === -1)
598
- throw new Error(`Invalid operator, expected one of ${kt.join("|")}`);
599
- }, xi = (e) => typeof e == "string" && /^[v\d]/.test(e) && Wt.test(e);
600
- function _i(e) {
597
+ if (St.indexOf(e) === -1)
598
+ throw new Error(`Invalid operator, expected one of ${St.join("|")}`);
599
+ }, Ti = (e) => typeof e == "string" && /^[v\d]/.test(e) && Gt.test(e);
600
+ function ji(e) {
601
601
  const { gatewayInfo: t, supportedRange: n } = e;
602
602
  if (!t)
603
603
  return !0;
604
604
  const { edition: i, version: r } = t;
605
- if (!xi(r))
605
+ if (!Ti(r))
606
606
  return console.error("Invalid version"), !1;
607
607
  const o = n[i];
608
608
  if (!o)
609
609
  return !1;
610
610
  const [a, l] = o;
611
- return !(a && wt(r, a, "<") || l && wt(r, l, ">"));
611
+ return !(a && Ct(r, a, "<") || l && Ct(r, l, ">"));
612
612
  }
613
- function Ti(e) {
613
+ function Ni(e) {
614
614
  const t = N(0), n = N(0), i = N(!1);
615
615
  return he(e, (r) => {
616
616
  r && !i.value && (t.value = r.offsetWidth, n.value = r.scrollWidth, i.value = !0);
@@ -618,35 +618,35 @@ function Ti(e) {
618
618
  isTruncated: T(() => t.value < n.value)
619
619
  };
620
620
  }
621
- function ji() {
622
- const { i18n: { t: e } } = Pe();
621
+ function Oi() {
622
+ const { i18n: { t: e } } = Ve();
623
623
  return {
624
624
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
625
625
  };
626
626
  }
627
627
  const ve = {
628
- useAxios: ot,
629
- useDebouncedFilter: mi,
630
- useDeleteUrlBuilder: yi,
631
- useErrors: vi,
632
- useExternalLinkCreator: bi,
633
- useFetcher: wi,
634
- useFetchUrlBuilder: Yt,
635
- useHelpers: Ht,
636
- useStringHelpers: ki,
637
- useI18n: Pe,
638
- useGatewayFeatureSupported: _i,
639
- useTruncationDetector: Ti,
640
- useValidators: ji
628
+ useAxios: st,
629
+ useDebouncedFilter: vi,
630
+ useDeleteUrlBuilder: bi,
631
+ useErrors: wi,
632
+ useExternalLinkCreator: ki,
633
+ useFetcher: Ci,
634
+ useFetchUrlBuilder: Jt,
635
+ useHelpers: Wt,
636
+ useStringHelpers: Si,
637
+ useI18n: Ve,
638
+ useGatewayFeatureSupported: ji,
639
+ useTruncationDetector: Ni,
640
+ useValidators: Oi
641
641
  }, _e = (e, t) => {
642
642
  const n = e.__vccOpts || e;
643
643
  for (const [i, r] of t)
644
644
  n[i] = r;
645
645
  return n;
646
- }, Ni = "#0044f4", Oi = "#3a3f51", Ei = "#afb7c5", Mi = { class: "json-config" }, Fi = {
646
+ }, Ei = "#0044f4", Mi = "#3a3f51", Fi = "#afb7c5", Li = { class: "json-config" }, $i = {
647
647
  key: 0,
648
648
  class: "json-endpoint"
649
- }, Li = /* @__PURE__ */ re({
649
+ }, qi = /* @__PURE__ */ re({
650
650
  __name: "JsonCodeBlock",
651
651
  props: {
652
652
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -674,7 +674,7 @@ const ve = {
674
674
  }
675
675
  },
676
676
  setup(e) {
677
- Dn((r) => ({
677
+ zn((r) => ({
678
678
  "954d3eca": `${i.value}ch`
679
679
  }));
680
680
  const t = e, n = T(() => t.jsonRecord), i = T(() => {
@@ -685,9 +685,9 @@ const ve = {
685
685
  return o.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? o[o.length - 1] : o[o.length - 2]).length;
686
686
  });
687
687
  return (r, o) => {
688
- const a = q("KBadge"), l = q("KCodeBlock");
689
- return A(), $("div", Mi, [
690
- t.fetcherUrl ? (A(), $("div", Fi, [
688
+ const a = $("KBadge"), l = $("KCodeBlock");
689
+ return A(), q("div", Li, [
690
+ t.fetcherUrl ? (A(), q("div", $i, [
691
691
  _(a, {
692
692
  appearance: t.requestMethod
693
693
  }, {
@@ -707,7 +707,7 @@ const ve = {
707
707
  t.jsonRecord ? (A(), z(l, {
708
708
  key: 1,
709
709
  id: "json-codeblock",
710
- class: Ne({ "json-content": t.fetcherUrl }),
710
+ class: Ee({ "json-content": t.fetcherUrl }),
711
711
  code: JSON.stringify(n.value, null, 2),
712
712
  language: "json",
713
713
  theme: "dark"
@@ -717,55 +717,55 @@ const ve = {
717
717
  }
718
718
  });
719
719
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
720
- function Gt(e) {
720
+ function Qt(e) {
721
721
  return typeof e > "u" || e === null;
722
722
  }
723
- function qi(e) {
723
+ function Ki(e) {
724
724
  return typeof e == "object" && e !== null;
725
725
  }
726
- function $i(e) {
727
- return Array.isArray(e) ? e : Gt(e) ? [] : [e];
726
+ function Ri(e) {
727
+ return Array.isArray(e) ? e : Qt(e) ? [] : [e];
728
728
  }
729
- function Ki(e, t) {
729
+ function Ui(e, t) {
730
730
  var n, i, r, o;
731
731
  if (t)
732
732
  for (o = Object.keys(t), n = 0, i = o.length; n < i; n += 1)
733
733
  r = o[n], e[r] = t[r];
734
734
  return e;
735
735
  }
736
- function Ri(e, t) {
736
+ function Bi(e, t) {
737
737
  var n = "", i;
738
738
  for (i = 0; i < t; i += 1)
739
739
  n += e;
740
740
  return n;
741
741
  }
742
- function Ui(e) {
742
+ function Pi(e) {
743
743
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
744
744
  }
745
- var Bi = Gt, Pi = qi, Di = $i, Vi = Ri, zi = Ui, Hi = Ki, W = {
746
- isNothing: Bi,
747
- isObject: Pi,
748
- toArray: Di,
749
- repeat: Vi,
750
- isNegativeZero: zi,
751
- extend: Hi
745
+ var Di = Qt, Vi = Ki, zi = Ri, Hi = Bi, Yi = Pi, Wi = Ui, W = {
746
+ isNothing: Di,
747
+ isObject: Vi,
748
+ toArray: zi,
749
+ repeat: Hi,
750
+ isNegativeZero: Yi,
751
+ extend: Wi
752
752
  };
753
- function Zt(e, t) {
753
+ function Xt(e, t) {
754
754
  var n = "", i = e.reason || "(unknown reason)";
755
755
  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 += `
756
756
 
757
757
  ` + e.mark.snippet), i + " " + n) : i;
758
758
  }
759
- function Oe(e, t) {
760
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Zt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
759
+ function Me(e, t) {
760
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Xt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
761
761
  }
762
- Oe.prototype = Object.create(Error.prototype);
763
- Oe.prototype.constructor = Oe;
764
- Oe.prototype.toString = function(e) {
765
- return this.name + ": " + Zt(this, e);
762
+ Me.prototype = Object.create(Error.prototype);
763
+ Me.prototype.constructor = Me;
764
+ Me.prototype.toString = function(e) {
765
+ return this.name + ": " + Xt(this, e);
766
766
  };
767
- var ie = Oe;
768
- function ze(e, t, n, i, r) {
767
+ var ie = Me;
768
+ function Ye(e, t, n, i, r) {
769
769
  var o = "", a = "", l = Math.floor(r / 2) - 1;
770
770
  return i - t > l && (o = " ... ", t = i - l + o.length), n - i > l && (a = " ...", n = i + l - a.length), {
771
771
  str: o + e.slice(t, n).replace(/\t/g, "→") + a,
@@ -773,10 +773,10 @@ function ze(e, t, n, i, r) {
773
773
  // relative position
774
774
  };
775
775
  }
776
- function He(e, t) {
776
+ function We(e, t) {
777
777
  return W.repeat(" ", t - e.length) + e;
778
778
  }
779
- function Yi(e, t) {
779
+ function Ji(e, t) {
780
780
  if (t = Object.create(t || null), !e.buffer)
781
781
  return null;
782
782
  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);
@@ -785,28 +785,28 @@ function Yi(e, t) {
785
785
  a < 0 && (a = i.length - 1);
786
786
  var l = "", s, u, d = Math.min(e.line + t.linesAfter, r.length).toString().length, c = t.maxLength - (t.indent + d + 3);
787
787
  for (s = 1; s <= t.linesBefore && !(a - s < 0); s++)
788
- u = ze(
788
+ u = Ye(
789
789
  e.buffer,
790
790
  i[a - s],
791
791
  r[a - s],
792
792
  e.position - (i[a] - i[a - s]),
793
793
  c
794
- ), l = W.repeat(" ", t.indent) + He((e.line - s + 1).toString(), d) + " | " + u.str + `
794
+ ), l = W.repeat(" ", t.indent) + We((e.line - s + 1).toString(), d) + " | " + u.str + `
795
795
  ` + l;
796
- for (u = ze(e.buffer, i[a], r[a], e.position, c), l += W.repeat(" ", t.indent) + He((e.line + 1).toString(), d) + " | " + u.str + `
796
+ for (u = Ye(e.buffer, i[a], r[a], e.position, c), l += W.repeat(" ", t.indent) + We((e.line + 1).toString(), d) + " | " + u.str + `
797
797
  `, l += W.repeat("-", t.indent + d + 3 + u.pos) + `^
798
798
  `, s = 1; s <= t.linesAfter && !(a + s >= r.length); s++)
799
- u = ze(
799
+ u = Ye(
800
800
  e.buffer,
801
801
  i[a + s],
802
802
  r[a + s],
803
803
  e.position - (i[a] - i[a + s]),
804
804
  c
805
- ), l += W.repeat(" ", t.indent) + He((e.line + s + 1).toString(), d) + " | " + u.str + `
805
+ ), l += W.repeat(" ", t.indent) + We((e.line + s + 1).toString(), d) + " | " + u.str + `
806
806
  `;
807
807
  return l.replace(/\n$/, "");
808
808
  }
809
- var Wi = Yi, Ji = [
809
+ var Gi = Ji, Zi = [
810
810
  "kind",
811
811
  "multi",
812
812
  "resolve",
@@ -817,12 +817,12 @@ var Wi = Yi, Ji = [
817
817
  "representName",
818
818
  "defaultStyle",
819
819
  "styleAliases"
820
- ], Gi = [
820
+ ], Qi = [
821
821
  "scalar",
822
822
  "sequence",
823
823
  "mapping"
824
824
  ];
825
- function Zi(e) {
825
+ function Xi(e) {
826
826
  var t = {};
827
827
  return e !== null && Object.keys(e).forEach(function(n) {
828
828
  e[n].forEach(function(i) {
@@ -830,19 +830,19 @@ function Zi(e) {
830
830
  });
831
831
  }), t;
832
832
  }
833
- function Qi(e, t) {
833
+ function er(e, t) {
834
834
  if (t = t || {}, Object.keys(t).forEach(function(n) {
835
- if (Ji.indexOf(n) === -1)
835
+ if (Zi.indexOf(n) === -1)
836
836
  throw new ie('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
837
837
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
838
838
  return !0;
839
839
  }, this.construct = t.construct || function(n) {
840
840
  return n;
841
- }, 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 = Zi(t.styleAliases || null), Gi.indexOf(this.kind) === -1)
841
+ }, 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 = Xi(t.styleAliases || null), Qi.indexOf(this.kind) === -1)
842
842
  throw new ie('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
843
843
  }
844
- var Q = Qi;
845
- function Ct(e, t) {
844
+ var Q = er;
845
+ function At(e, t) {
846
846
  var n = [];
847
847
  return e[t].forEach(function(i) {
848
848
  var r = n.length;
@@ -851,7 +851,7 @@ function Ct(e, t) {
851
851
  }), n[r] = i;
852
852
  }), n;
853
853
  }
854
- function Xi() {
854
+ function tr() {
855
855
  var e = {
856
856
  scalar: {},
857
857
  sequence: {},
@@ -871,10 +871,10 @@ function Xi() {
871
871
  arguments[t].forEach(i);
872
872
  return e;
873
873
  }
874
- function Ge(e) {
874
+ function Qe(e) {
875
875
  return this.extend(e);
876
876
  }
877
- Ge.prototype.extend = function(e) {
877
+ Qe.prototype.extend = function(e) {
878
878
  var t = [], n = [];
879
879
  if (e instanceof Q)
880
880
  n.push(e);
@@ -895,48 +895,48 @@ Ge.prototype.extend = function(e) {
895
895
  if (!(r instanceof Q))
896
896
  throw new ie("Specified list of YAML types (or a single Type object) contains a non-Type object.");
897
897
  });
898
- var i = Object.create(Ge.prototype);
899
- return i.implicit = (this.implicit || []).concat(t), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit = Ct(i, "implicit"), i.compiledExplicit = Ct(i, "explicit"), i.compiledTypeMap = Xi(i.compiledImplicit, i.compiledExplicit), i;
898
+ var i = Object.create(Qe.prototype);
899
+ return i.implicit = (this.implicit || []).concat(t), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit = At(i, "implicit"), i.compiledExplicit = At(i, "explicit"), i.compiledTypeMap = tr(i.compiledImplicit, i.compiledExplicit), i;
900
900
  };
901
- var Qt = Ge, Xt = new Q("tag:yaml.org,2002:str", {
901
+ var en = Qe, tn = new Q("tag:yaml.org,2002:str", {
902
902
  kind: "scalar",
903
903
  construct: function(e) {
904
904
  return e !== null ? e : "";
905
905
  }
906
- }), en = new Q("tag:yaml.org,2002:seq", {
906
+ }), nn = new Q("tag:yaml.org,2002:seq", {
907
907
  kind: "sequence",
908
908
  construct: function(e) {
909
909
  return e !== null ? e : [];
910
910
  }
911
- }), tn = new Q("tag:yaml.org,2002:map", {
911
+ }), rn = new Q("tag:yaml.org,2002:map", {
912
912
  kind: "mapping",
913
913
  construct: function(e) {
914
914
  return e !== null ? e : {};
915
915
  }
916
- }), nn = new Qt({
916
+ }), an = new en({
917
917
  explicit: [
918
- Xt,
919
- en,
920
- tn
918
+ tn,
919
+ nn,
920
+ rn
921
921
  ]
922
922
  });
923
- function er(e) {
923
+ function nr(e) {
924
924
  if (e === null)
925
925
  return !0;
926
926
  var t = e.length;
927
927
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
928
928
  }
929
- function tr() {
929
+ function ir() {
930
930
  return null;
931
931
  }
932
- function nr(e) {
932
+ function rr(e) {
933
933
  return e === null;
934
934
  }
935
- var rn = new Q("tag:yaml.org,2002:null", {
935
+ var on = new Q("tag:yaml.org,2002:null", {
936
936
  kind: "scalar",
937
- resolve: er,
938
- construct: tr,
939
- predicate: nr,
937
+ resolve: nr,
938
+ construct: ir,
939
+ predicate: rr,
940
940
  represent: {
941
941
  canonical: function() {
942
942
  return "~";
@@ -956,23 +956,23 @@ var rn = new Q("tag:yaml.org,2002:null", {
956
956
  },
957
957
  defaultStyle: "lowercase"
958
958
  });
959
- function ir(e) {
959
+ function ar(e) {
960
960
  if (e === null)
961
961
  return !1;
962
962
  var t = e.length;
963
963
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
964
964
  }
965
- function rr(e) {
965
+ function or(e) {
966
966
  return e === "true" || e === "True" || e === "TRUE";
967
967
  }
968
- function ar(e) {
968
+ function lr(e) {
969
969
  return Object.prototype.toString.call(e) === "[object Boolean]";
970
970
  }
971
- var an = new Q("tag:yaml.org,2002:bool", {
971
+ var ln = new Q("tag:yaml.org,2002:bool", {
972
972
  kind: "scalar",
973
- resolve: ir,
974
- construct: rr,
975
- predicate: ar,
973
+ resolve: ar,
974
+ construct: or,
975
+ predicate: lr,
976
976
  represent: {
977
977
  lowercase: function(e) {
978
978
  return e ? "true" : "false";
@@ -986,16 +986,16 @@ var an = new Q("tag:yaml.org,2002:bool", {
986
986
  },
987
987
  defaultStyle: "lowercase"
988
988
  });
989
- function or(e) {
989
+ function sr(e) {
990
990
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
991
991
  }
992
- function lr(e) {
992
+ function cr(e) {
993
993
  return 48 <= e && e <= 55;
994
994
  }
995
- function sr(e) {
995
+ function ur(e) {
996
996
  return 48 <= e && e <= 57;
997
997
  }
998
- function cr(e) {
998
+ function dr(e) {
999
999
  if (e === null)
1000
1000
  return !1;
1001
1001
  var t = e.length, n = 0, i = !1, r;
@@ -1016,7 +1016,7 @@ function cr(e) {
1016
1016
  if (r === "x") {
1017
1017
  for (n++; n < t; n++)
1018
1018
  if (r = e[n], r !== "_") {
1019
- if (!or(e.charCodeAt(n)))
1019
+ if (!sr(e.charCodeAt(n)))
1020
1020
  return !1;
1021
1021
  i = !0;
1022
1022
  }
@@ -1025,7 +1025,7 @@ function cr(e) {
1025
1025
  if (r === "o") {
1026
1026
  for (n++; n < t; n++)
1027
1027
  if (r = e[n], r !== "_") {
1028
- if (!lr(e.charCodeAt(n)))
1028
+ if (!cr(e.charCodeAt(n)))
1029
1029
  return !1;
1030
1030
  i = !0;
1031
1031
  }
@@ -1036,13 +1036,13 @@ function cr(e) {
1036
1036
  return !1;
1037
1037
  for (; n < t; n++)
1038
1038
  if (r = e[n], r !== "_") {
1039
- if (!sr(e.charCodeAt(n)))
1039
+ if (!ur(e.charCodeAt(n)))
1040
1040
  return !1;
1041
1041
  i = !0;
1042
1042
  }
1043
1043
  return !(!i || r === "_");
1044
1044
  }
1045
- function ur(e) {
1045
+ function pr(e) {
1046
1046
  var t = e, n = 1, i;
1047
1047
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (n = -1), t = t.slice(1), i = t[0]), t === "0")
1048
1048
  return 0;
@@ -1056,14 +1056,14 @@ function ur(e) {
1056
1056
  }
1057
1057
  return n * parseInt(t, 10);
1058
1058
  }
1059
- function dr(e) {
1059
+ function fr(e) {
1060
1060
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !W.isNegativeZero(e);
1061
1061
  }
1062
- var on = new Q("tag:yaml.org,2002:int", {
1062
+ var sn = new Q("tag:yaml.org,2002:int", {
1063
1063
  kind: "scalar",
1064
- resolve: cr,
1065
- construct: ur,
1066
- predicate: dr,
1064
+ resolve: dr,
1065
+ construct: pr,
1066
+ predicate: fr,
1067
1067
  represent: {
1068
1068
  binary: function(e) {
1069
1069
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1086,21 +1086,21 @@ var on = new Q("tag:yaml.org,2002:int", {
1086
1086
  decimal: [10, "dec"],
1087
1087
  hexadecimal: [16, "hex"]
1088
1088
  }
1089
- }), pr = new RegExp(
1089
+ }), gr = new RegExp(
1090
1090
  // 2.5e4, 2.5 and integers
1091
1091
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1092
1092
  );
1093
- function fr(e) {
1094
- return !(e === null || !pr.test(e) || // Quick hack to not allow integers end with `_`
1093
+ function hr(e) {
1094
+ return !(e === null || !gr.test(e) || // Quick hack to not allow integers end with `_`
1095
1095
  // Probably should update regexp & check speed
1096
1096
  e[e.length - 1] === "_");
1097
1097
  }
1098
- function gr(e) {
1098
+ function mr(e) {
1099
1099
  var t, n;
1100
1100
  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);
1101
1101
  }
1102
- var hr = /^[-+]?[0-9]+e/;
1103
- function mr(e, t) {
1102
+ var yr = /^[-+]?[0-9]+e/;
1103
+ function vr(e, t) {
1104
1104
  var n;
1105
1105
  if (isNaN(e))
1106
1106
  switch (t) {
@@ -1131,36 +1131,36 @@ function mr(e, t) {
1131
1131
  }
1132
1132
  else if (W.isNegativeZero(e))
1133
1133
  return "-0.0";
1134
- return n = e.toString(10), hr.test(n) ? n.replace("e", ".e") : n;
1134
+ return n = e.toString(10), yr.test(n) ? n.replace("e", ".e") : n;
1135
1135
  }
1136
- function yr(e) {
1136
+ function br(e) {
1137
1137
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || W.isNegativeZero(e));
1138
1138
  }
1139
- var ln = new Q("tag:yaml.org,2002:float", {
1139
+ var cn = new Q("tag:yaml.org,2002:float", {
1140
1140
  kind: "scalar",
1141
- resolve: fr,
1142
- construct: gr,
1143
- predicate: yr,
1144
- represent: mr,
1141
+ resolve: hr,
1142
+ construct: mr,
1143
+ predicate: br,
1144
+ represent: vr,
1145
1145
  defaultStyle: "lowercase"
1146
- }), sn = nn.extend({
1146
+ }), un = an.extend({
1147
1147
  implicit: [
1148
- rn,
1149
- an,
1150
1148
  on,
1151
- ln
1149
+ ln,
1150
+ sn,
1151
+ cn
1152
1152
  ]
1153
- }), cn = sn, un = new RegExp(
1153
+ }), dn = un, pn = new RegExp(
1154
1154
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1155
- ), dn = new RegExp(
1155
+ ), fn = new RegExp(
1156
1156
  "^([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]))?))?$"
1157
1157
  );
1158
- function vr(e) {
1159
- return e === null ? !1 : un.exec(e) !== null || dn.exec(e) !== null;
1158
+ function wr(e) {
1159
+ return e === null ? !1 : pn.exec(e) !== null || fn.exec(e) !== null;
1160
1160
  }
1161
- function br(e) {
1161
+ function kr(e) {
1162
1162
  var t, n, i, r, o, a, l, s = 0, u = null, d, c, p;
1163
- if (t = un.exec(e), t === null && (t = dn.exec(e)), t === null)
1163
+ if (t = pn.exec(e), t === null && (t = fn.exec(e)), t === null)
1164
1164
  throw new Error("Date resolve error");
1165
1165
  if (n = +t[1], i = +t[2] - 1, r = +t[3], !t[4])
1166
1166
  return new Date(Date.UTC(n, i, r));
@@ -1171,28 +1171,28 @@ function br(e) {
1171
1171
  }
1172
1172
  return t[9] && (d = +t[10], c = +(t[11] || 0), u = (d * 60 + c) * 6e4, t[9] === "-" && (u = -u)), p = new Date(Date.UTC(n, i, r, o, a, l, s)), u && p.setTime(p.getTime() - u), p;
1173
1173
  }
1174
- function wr(e) {
1174
+ function Cr(e) {
1175
1175
  return e.toISOString();
1176
1176
  }
1177
- var pn = new Q("tag:yaml.org,2002:timestamp", {
1177
+ var gn = new Q("tag:yaml.org,2002:timestamp", {
1178
1178
  kind: "scalar",
1179
- resolve: vr,
1180
- construct: br,
1179
+ resolve: wr,
1180
+ construct: kr,
1181
1181
  instanceOf: Date,
1182
- represent: wr
1182
+ represent: Cr
1183
1183
  });
1184
- function kr(e) {
1184
+ function Sr(e) {
1185
1185
  return e === "<<" || e === null;
1186
1186
  }
1187
- var fn = new Q("tag:yaml.org,2002:merge", {
1187
+ var hn = new Q("tag:yaml.org,2002:merge", {
1188
1188
  kind: "scalar",
1189
- resolve: kr
1190
- }), lt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1189
+ resolve: Sr
1190
+ }), ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1191
1191
  \r`;
1192
- function Cr(e) {
1192
+ function Ar(e) {
1193
1193
  if (e === null)
1194
1194
  return !1;
1195
- var t, n, i = 0, r = e.length, o = lt;
1195
+ var t, n, i = 0, r = e.length, o = ct;
1196
1196
  for (n = 0; n < r; n++)
1197
1197
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1198
1198
  if (t < 0)
@@ -1201,37 +1201,37 @@ function Cr(e) {
1201
1201
  }
1202
1202
  return i % 8 === 0;
1203
1203
  }
1204
- function Sr(e) {
1205
- var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = lt, a = 0, l = [];
1204
+ function xr(e) {
1205
+ var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = ct, a = 0, l = [];
1206
1206
  for (t = 0; t < r; t++)
1207
1207
  t % 4 === 0 && t && (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)), a = a << 6 | o.indexOf(i.charAt(t));
1208
1208
  return n = r % 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);
1209
1209
  }
1210
- function Ar(e) {
1211
- var t = "", n = 0, i, r, o = e.length, a = lt;
1210
+ function Ir(e) {
1211
+ var t = "", n = 0, i, r, o = e.length, a = ct;
1212
1212
  for (i = 0; i < o; i++)
1213
1213
  i % 3 === 0 && i && (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]), n = (n << 8) + e[i];
1214
1214
  return r = o % 3, r === 0 ? (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]) : r === 2 ? (t += a[n >> 10 & 63], t += a[n >> 4 & 63], t += a[n << 2 & 63], t += a[64]) : r === 1 && (t += a[n >> 2 & 63], t += a[n << 4 & 63], t += a[64], t += a[64]), t;
1215
1215
  }
1216
- function Ir(e) {
1216
+ function _r(e) {
1217
1217
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1218
1218
  }
1219
- var gn = new Q("tag:yaml.org,2002:binary", {
1219
+ var mn = new Q("tag:yaml.org,2002:binary", {
1220
1220
  kind: "scalar",
1221
- resolve: Cr,
1222
- construct: Sr,
1223
- predicate: Ir,
1224
- represent: Ar
1225
- }), xr = Object.prototype.hasOwnProperty, _r = Object.prototype.toString;
1226
- function Tr(e) {
1221
+ resolve: Ar,
1222
+ construct: xr,
1223
+ predicate: _r,
1224
+ represent: Ir
1225
+ }), Tr = Object.prototype.hasOwnProperty, jr = Object.prototype.toString;
1226
+ function Nr(e) {
1227
1227
  if (e === null)
1228
1228
  return !0;
1229
1229
  var t = [], n, i, r, o, a, l = e;
1230
1230
  for (n = 0, i = l.length; n < i; n += 1) {
1231
- if (r = l[n], a = !1, _r.call(r) !== "[object Object]")
1231
+ if (r = l[n], a = !1, jr.call(r) !== "[object Object]")
1232
1232
  return !1;
1233
1233
  for (o in r)
1234
- if (xr.call(r, o))
1234
+ if (Tr.call(r, o))
1235
1235
  if (!a)
1236
1236
  a = !0;
1237
1237
  else
@@ -1245,26 +1245,26 @@ function Tr(e) {
1245
1245
  }
1246
1246
  return !0;
1247
1247
  }
1248
- function jr(e) {
1248
+ function Or(e) {
1249
1249
  return e !== null ? e : [];
1250
1250
  }
1251
- var hn = new Q("tag:yaml.org,2002:omap", {
1251
+ var yn = new Q("tag:yaml.org,2002:omap", {
1252
1252
  kind: "sequence",
1253
- resolve: Tr,
1254
- construct: jr
1255
- }), Nr = Object.prototype.toString;
1256
- function Or(e) {
1253
+ resolve: Nr,
1254
+ construct: Or
1255
+ }), Er = Object.prototype.toString;
1256
+ function Mr(e) {
1257
1257
  if (e === null)
1258
1258
  return !0;
1259
1259
  var t, n, i, r, o, a = e;
1260
1260
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
1261
- if (i = a[t], Nr.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1))
1261
+ if (i = a[t], Er.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1))
1262
1262
  return !1;
1263
1263
  o[t] = [r[0], i[r[0]]];
1264
1264
  }
1265
1265
  return !0;
1266
1266
  }
1267
- function Er(e) {
1267
+ function Fr(e) {
1268
1268
  if (e === null)
1269
1269
  return [];
1270
1270
  var t, n, i, r, o, a = e;
@@ -1272,40 +1272,40 @@ function Er(e) {
1272
1272
  i = a[t], r = Object.keys(i), o[t] = [r[0], i[r[0]]];
1273
1273
  return o;
1274
1274
  }
1275
- var mn = new Q("tag:yaml.org,2002:pairs", {
1275
+ var vn = new Q("tag:yaml.org,2002:pairs", {
1276
1276
  kind: "sequence",
1277
- resolve: Or,
1278
- construct: Er
1279
- }), Mr = Object.prototype.hasOwnProperty;
1280
- function Fr(e) {
1277
+ resolve: Mr,
1278
+ construct: Fr
1279
+ }), Lr = Object.prototype.hasOwnProperty;
1280
+ function $r(e) {
1281
1281
  if (e === null)
1282
1282
  return !0;
1283
1283
  var t, n = e;
1284
1284
  for (t in n)
1285
- if (Mr.call(n, t) && n[t] !== null)
1285
+ if (Lr.call(n, t) && n[t] !== null)
1286
1286
  return !1;
1287
1287
  return !0;
1288
1288
  }
1289
- function Lr(e) {
1289
+ function qr(e) {
1290
1290
  return e !== null ? e : {};
1291
1291
  }
1292
- var yn = new Q("tag:yaml.org,2002:set", {
1292
+ var bn = new Q("tag:yaml.org,2002:set", {
1293
1293
  kind: "mapping",
1294
- resolve: Fr,
1295
- construct: Lr
1296
- }), st = cn.extend({
1294
+ resolve: $r,
1295
+ construct: qr
1296
+ }), ut = dn.extend({
1297
1297
  implicit: [
1298
- pn,
1299
- fn
1298
+ gn,
1299
+ hn
1300
1300
  ],
1301
1301
  explicit: [
1302
- gn,
1303
- hn,
1304
1302
  mn,
1305
- yn
1303
+ yn,
1304
+ vn,
1305
+ bn
1306
1306
  ]
1307
- }), me = Object.prototype.hasOwnProperty, $e = 1, vn = 2, bn = 3, Ke = 4, Ye = 1, qr = 2, St = 3, $r = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Kr = /[\x85\u2028\u2029]/, Rr = /[,\[\]\{\}]/, wn = /^(?:!|!!|![a-z\-]+!)$/i, kn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1308
- function At(e) {
1307
+ }), me = Object.prototype.hasOwnProperty, Re = 1, wn = 2, kn = 3, Ue = 4, Je = 1, Kr = 2, xt = 3, Rr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ur = /[\x85\u2028\u2029]/, Br = /[,\[\]\{\}]/, Cn = /^(?:!|!!|![a-z\-]+!)$/i, Sn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1308
+ function It(e) {
1309
1309
  return Object.prototype.toString.call(e);
1310
1310
  }
1311
1311
  function le(e) {
@@ -1320,33 +1320,33 @@ function ae(e) {
1320
1320
  function Se(e) {
1321
1321
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1322
1322
  }
1323
- function Ur(e) {
1323
+ function Pr(e) {
1324
1324
  var t;
1325
1325
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1326
1326
  }
1327
- function Br(e) {
1327
+ function Dr(e) {
1328
1328
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1329
1329
  }
1330
- function Pr(e) {
1330
+ function Vr(e) {
1331
1331
  return 48 <= e && e <= 57 ? e - 48 : -1;
1332
1332
  }
1333
- function It(e) {
1333
+ function _t(e) {
1334
1334
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1335
1335
  ` : 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" : "";
1336
1336
  }
1337
- function Dr(e) {
1337
+ function zr(e) {
1338
1338
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1339
1339
  (e - 65536 >> 10) + 55296,
1340
1340
  (e - 65536 & 1023) + 56320
1341
1341
  );
1342
1342
  }
1343
- var Cn = new Array(256), Sn = new Array(256);
1343
+ var An = new Array(256), xn = new Array(256);
1344
1344
  for (var ke = 0; ke < 256; ke++)
1345
- Cn[ke] = It(ke) ? 1 : 0, Sn[ke] = It(ke);
1346
- function Vr(e, t) {
1347
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || st, 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 = [];
1345
+ An[ke] = _t(ke) ? 1 : 0, xn[ke] = _t(ke);
1346
+ function Hr(e, t) {
1347
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || ut, 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 = [];
1348
1348
  }
1349
- function An(e, t) {
1349
+ function In(e, t) {
1350
1350
  var n = {
1351
1351
  name: e.filename,
1352
1352
  buffer: e.input.slice(0, -1),
@@ -1355,22 +1355,22 @@ function An(e, t) {
1355
1355
  line: e.line,
1356
1356
  column: e.position - e.lineStart
1357
1357
  };
1358
- return n.snippet = Wi(n), new ie(t, n);
1358
+ return n.snippet = Gi(n), new ie(t, n);
1359
1359
  }
1360
1360
  function w(e, t) {
1361
- throw An(e, t);
1361
+ throw In(e, t);
1362
1362
  }
1363
- function Re(e, t) {
1364
- e.onWarning && e.onWarning.call(null, An(e, t));
1363
+ function Be(e, t) {
1364
+ e.onWarning && e.onWarning.call(null, In(e, t));
1365
1365
  }
1366
- var xt = {
1366
+ var Tt = {
1367
1367
  YAML: function(e, t, n) {
1368
1368
  var i, r, o;
1369
- e.version !== null && w(e, "duplication of %YAML directive"), n.length !== 1 && w(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), i === null && w(e, "ill-formed argument of the YAML directive"), r = parseInt(i[1], 10), o = parseInt(i[2], 10), r !== 1 && w(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Re(e, "unsupported YAML version of the document");
1369
+ e.version !== null && w(e, "duplication of %YAML directive"), n.length !== 1 && w(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), i === null && w(e, "ill-formed argument of the YAML directive"), r = parseInt(i[1], 10), o = parseInt(i[2], 10), r !== 1 && w(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Be(e, "unsupported YAML version of the document");
1370
1370
  },
1371
1371
  TAG: function(e, t, n) {
1372
1372
  var i, r;
1373
- n.length !== 2 && w(e, "TAG directive accepts exactly two arguments"), i = n[0], r = n[1], wn.test(i) || w(e, "ill-formed tag handle (first argument) of the TAG directive"), me.call(e.tagMap, i) && w(e, 'there is a previously declared suffix for "' + i + '" tag handle'), kn.test(r) || w(e, "ill-formed tag prefix (second argument) of the TAG directive");
1373
+ n.length !== 2 && w(e, "TAG directive accepts exactly two arguments"), i = n[0], r = n[1], Cn.test(i) || w(e, "ill-formed tag handle (first argument) of the TAG directive"), me.call(e.tagMap, i) && w(e, 'there is a previously declared suffix for "' + i + '" tag handle'), Sn.test(r) || w(e, "ill-formed tag prefix (second argument) of the TAG directive");
1374
1374
  try {
1375
1375
  r = decodeURIComponent(r);
1376
1376
  } catch {
@@ -1386,11 +1386,11 @@ function ge(e, t, n, i) {
1386
1386
  for (r = 0, o = l.length; r < o; r += 1)
1387
1387
  a = l.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || w(e, "expected valid JSON character");
1388
1388
  else
1389
- $r.test(l) && w(e, "the stream contains non-printable characters");
1389
+ Rr.test(l) && w(e, "the stream contains non-printable characters");
1390
1390
  e.result += l;
1391
1391
  }
1392
1392
  }
1393
- function _t(e, t, n, i) {
1393
+ function jt(e, t, n, i) {
1394
1394
  var r, o, a, l;
1395
1395
  for (W.isObject(n) || w(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(n), a = 0, l = r.length; a < l; a += 1)
1396
1396
  o = r[a], me.call(t, o) || (t[o] = n[o], i[o] = !0);
@@ -1399,13 +1399,13 @@ function Ae(e, t, n, i, r, o, a, l, s) {
1399
1399
  var u, d;
1400
1400
  if (Array.isArray(r))
1401
1401
  for (r = Array.prototype.slice.call(r), u = 0, d = r.length; u < d; u += 1)
1402
- Array.isArray(r[u]) && w(e, "nested arrays are not supported inside keys"), typeof r == "object" && At(r[u]) === "[object Object]" && (r[u] = "[object Object]");
1403
- if (typeof r == "object" && At(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1402
+ Array.isArray(r[u]) && w(e, "nested arrays are not supported inside keys"), typeof r == "object" && It(r[u]) === "[object Object]" && (r[u] = "[object Object]");
1403
+ if (typeof r == "object" && It(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1404
1404
  if (Array.isArray(o))
1405
1405
  for (u = 0, d = o.length; u < d; u += 1)
1406
- _t(e, t, o[u], n);
1406
+ jt(e, t, o[u], n);
1407
1407
  else
1408
- _t(e, t, o, n);
1408
+ jt(e, t, o, n);
1409
1409
  else
1410
1410
  !e.json && !me.call(n, r) && me.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, w(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(t, r, {
1411
1411
  configurable: !0,
@@ -1415,7 +1415,7 @@ function Ae(e, t, n, i, r, o, a, l, s) {
1415
1415
  }) : t[r] = o, delete n[r];
1416
1416
  return t;
1417
1417
  }
1418
- function ct(e) {
1418
+ function dt(e) {
1419
1419
  var t;
1420
1420
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : w(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1421
1421
  }
@@ -1428,22 +1428,22 @@ function H(e, t, n) {
1428
1428
  r = e.input.charCodeAt(++e.position);
1429
1429
  while (r !== 10 && r !== 13 && r !== 0);
1430
1430
  if (le(r))
1431
- for (ct(e), r = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; r === 32; )
1431
+ for (dt(e), r = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; r === 32; )
1432
1432
  e.lineIndent++, r = e.input.charCodeAt(++e.position);
1433
1433
  else
1434
1434
  break;
1435
1435
  }
1436
- return n !== -1 && i !== 0 && e.lineIndent < n && Re(e, "deficient indentation"), i;
1436
+ return n !== -1 && i !== 0 && e.lineIndent < n && Be(e, "deficient indentation"), i;
1437
1437
  }
1438
- function De(e) {
1438
+ function ze(e) {
1439
1439
  var t = e.position, n;
1440
1440
  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 || ae(n)));
1441
1441
  }
1442
- function ut(e, t) {
1442
+ function pt(e, t) {
1443
1443
  t === 1 ? e.result += " " : t > 1 && (e.result += W.repeat(`
1444
1444
  `, t - 1));
1445
1445
  }
1446
- function zr(e, t, n) {
1446
+ function Yr(e, t, n) {
1447
1447
  var i, r, o, a, l, s, u, d, c = e.kind, p = e.result, f;
1448
1448
  if (f = e.input.charCodeAt(e.position), ae(f) || Se(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (r = e.input.charCodeAt(e.position + 1), ae(r) || n && Se(r)))
1449
1449
  return !1;
@@ -1455,7 +1455,7 @@ function zr(e, t, n) {
1455
1455
  if (i = e.input.charCodeAt(e.position - 1), ae(i))
1456
1456
  break;
1457
1457
  } else {
1458
- if (e.position === e.lineStart && De(e) || n && Se(f))
1458
+ if (e.position === e.lineStart && ze(e) || n && Se(f))
1459
1459
  break;
1460
1460
  if (le(f))
1461
1461
  if (s = e.line, u = e.lineStart, d = e.lineIndent, H(e, !1, -1), e.lineIndent >= t) {
@@ -1466,11 +1466,11 @@ function zr(e, t, n) {
1466
1466
  break;
1467
1467
  }
1468
1468
  }
1469
- l && (ge(e, o, a, !1), ut(e, e.line - s), o = a = e.position, l = !1), be(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1469
+ l && (ge(e, o, a, !1), pt(e, e.line - s), o = a = e.position, l = !1), be(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1470
1470
  }
1471
1471
  return ge(e, o, a, !1), e.result ? !0 : (e.kind = c, e.result = p, !1);
1472
1472
  }
1473
- function Hr(e, t) {
1473
+ function Wr(e, t) {
1474
1474
  var n, i, r;
1475
1475
  if (n = e.input.charCodeAt(e.position), n !== 39)
1476
1476
  return !1;
@@ -1481,10 +1481,10 @@ function Hr(e, t) {
1481
1481
  else
1482
1482
  return !0;
1483
1483
  else
1484
- le(n) ? (ge(e, i, r, !0), ut(e, H(e, !1, t)), i = r = e.position) : e.position === e.lineStart && De(e) ? w(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1484
+ le(n) ? (ge(e, i, r, !0), pt(e, H(e, !1, t)), i = r = e.position) : e.position === e.lineStart && ze(e) ? w(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1485
1485
  w(e, "unexpected end of the stream within a single quoted scalar");
1486
1486
  }
1487
- function Yr(e, t) {
1487
+ function Jr(e, t) {
1488
1488
  var n, i, r, o, a, l;
1489
1489
  if (l = e.input.charCodeAt(e.position), l !== 34)
1490
1490
  return !1;
@@ -1494,22 +1494,22 @@ function Yr(e, t) {
1494
1494
  if (l === 92) {
1495
1495
  if (ge(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), le(l))
1496
1496
  H(e, !1, t);
1497
- else if (l < 256 && Cn[l])
1498
- e.result += Sn[l], e.position++;
1499
- else if ((a = Br(l)) > 0) {
1497
+ else if (l < 256 && An[l])
1498
+ e.result += xn[l], e.position++;
1499
+ else if ((a = Dr(l)) > 0) {
1500
1500
  for (r = a, o = 0; r > 0; r--)
1501
- l = e.input.charCodeAt(++e.position), (a = Ur(l)) >= 0 ? o = (o << 4) + a : w(e, "expected hexadecimal character");
1502
- e.result += Dr(o), e.position++;
1501
+ l = e.input.charCodeAt(++e.position), (a = Pr(l)) >= 0 ? o = (o << 4) + a : w(e, "expected hexadecimal character");
1502
+ e.result += zr(o), e.position++;
1503
1503
  } else
1504
1504
  w(e, "unknown escape sequence");
1505
1505
  n = i = e.position;
1506
1506
  } else
1507
- le(l) ? (ge(e, n, i, !0), ut(e, H(e, !1, t)), n = i = e.position) : e.position === e.lineStart && De(e) ? w(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1507
+ le(l) ? (ge(e, n, i, !0), pt(e, H(e, !1, t)), n = i = e.position) : e.position === e.lineStart && ze(e) ? w(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1508
1508
  }
1509
1509
  w(e, "unexpected end of the stream within a double quoted scalar");
1510
1510
  }
1511
- function Wr(e, t) {
1512
- var n = !0, i, r, o, a = e.tag, l, s = e.anchor, u, d, c, p, f, v = /* @__PURE__ */ Object.create(null), h, x, E, C;
1511
+ function Gr(e, t) {
1512
+ var n = !0, i, r, o, a = e.tag, l, s = e.anchor, u, d, c, p, f, v = /* @__PURE__ */ Object.create(null), h, I, E, C;
1513
1513
  if (C = e.input.charCodeAt(e.position), C === 91)
1514
1514
  d = 93, f = !1, l = [];
1515
1515
  else if (C === 123)
@@ -1519,12 +1519,12 @@ function Wr(e, t) {
1519
1519
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), C = e.input.charCodeAt(++e.position); C !== 0; ) {
1520
1520
  if (H(e, !0, t), C = e.input.charCodeAt(e.position), C === d)
1521
1521
  return e.position++, e.tag = a, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1522
- n ? C === 44 && w(e, "expected the node content, but found ','") : w(e, "missed comma between flow collection entries"), x = h = E = null, c = p = !1, C === 63 && (u = e.input.charCodeAt(e.position + 1), ae(u) && (c = p = !0, e.position++, H(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Ie(e, t, $e, !1, !0), x = e.tag, h = e.result, H(e, !0, t), C = e.input.charCodeAt(e.position), (p || e.line === i) && C === 58 && (c = !0, C = e.input.charCodeAt(++e.position), H(e, !0, t), Ie(e, t, $e, !1, !0), E = e.result), f ? Ae(e, l, v, x, h, E, i, r, o) : c ? l.push(Ae(e, null, v, x, h, E, i, r, o)) : l.push(h), H(e, !0, t), C = e.input.charCodeAt(e.position), C === 44 ? (n = !0, C = e.input.charCodeAt(++e.position)) : n = !1;
1522
+ n ? C === 44 && w(e, "expected the node content, but found ','") : w(e, "missed comma between flow collection entries"), I = h = E = null, c = p = !1, C === 63 && (u = e.input.charCodeAt(e.position + 1), ae(u) && (c = p = !0, e.position++, H(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, xe(e, t, Re, !1, !0), I = e.tag, h = e.result, H(e, !0, t), C = e.input.charCodeAt(e.position), (p || e.line === i) && C === 58 && (c = !0, C = e.input.charCodeAt(++e.position), H(e, !0, t), xe(e, t, Re, !1, !0), E = e.result), f ? Ae(e, l, v, I, h, E, i, r, o) : c ? l.push(Ae(e, null, v, I, h, E, i, r, o)) : l.push(h), H(e, !0, t), C = e.input.charCodeAt(e.position), C === 44 ? (n = !0, C = e.input.charCodeAt(++e.position)) : n = !1;
1523
1523
  }
1524
1524
  w(e, "unexpected end of the stream within a flow collection");
1525
1525
  }
1526
- function Jr(e, t) {
1527
- var n, i, r = Ye, o = !1, a = !1, l = t, s = 0, u = !1, d, c;
1526
+ function Zr(e, t) {
1527
+ var n, i, r = Je, o = !1, a = !1, l = t, s = 0, u = !1, d, c;
1528
1528
  if (c = e.input.charCodeAt(e.position), c === 124)
1529
1529
  i = !1;
1530
1530
  else if (c === 62)
@@ -1533,8 +1533,8 @@ function Jr(e, t) {
1533
1533
  return !1;
1534
1534
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1535
1535
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1536
- Ye === r ? r = c === 43 ? St : qr : w(e, "repeat of a chomping mode identifier");
1537
- else if ((d = Pr(c)) >= 0)
1536
+ Je === r ? r = c === 43 ? xt : Kr : w(e, "repeat of a chomping mode identifier");
1537
+ else if ((d = Vr(c)) >= 0)
1538
1538
  d === 0 ? w(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? w(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1539
1539
  else
1540
1540
  break;
@@ -1548,15 +1548,15 @@ function Jr(e, t) {
1548
1548
  while (!le(c) && c !== 0);
1549
1549
  }
1550
1550
  for (; c !== 0; ) {
1551
- for (ct(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && c === 32; )
1551
+ for (dt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && c === 32; )
1552
1552
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
1553
1553
  if (!a && e.lineIndent > l && (l = e.lineIndent), le(c)) {
1554
1554
  s++;
1555
1555
  continue;
1556
1556
  }
1557
1557
  if (e.lineIndent < l) {
1558
- r === St ? e.result += W.repeat(`
1559
- `, o ? 1 + s : s) : r === Ye && o && (e.result += `
1558
+ r === xt ? e.result += W.repeat(`
1559
+ `, o ? 1 + s : s) : r === Je && o && (e.result += `
1560
1560
  `);
1561
1561
  break;
1562
1562
  }
@@ -1570,7 +1570,7 @@ function Jr(e, t) {
1570
1570
  }
1571
1571
  return !0;
1572
1572
  }
1573
- function Tt(e, t) {
1573
+ function Nt(e, t) {
1574
1574
  var n, i = e.tag, r = e.anchor, o = [], a, l = !1, s;
1575
1575
  if (e.firstTabInLine !== -1)
1576
1576
  return !1;
@@ -1579,28 +1579,28 @@ function Tt(e, t) {
1579
1579
  o.push(null), s = e.input.charCodeAt(e.position);
1580
1580
  continue;
1581
1581
  }
1582
- if (n = e.line, Ie(e, t, bn, !1, !0), o.push(e.result), H(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1582
+ if (n = e.line, xe(e, t, kn, !1, !0), o.push(e.result), H(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1583
1583
  w(e, "bad indentation of a sequence entry");
1584
1584
  else if (e.lineIndent < t)
1585
1585
  break;
1586
1586
  }
1587
1587
  return l ? (e.tag = i, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
1588
1588
  }
1589
- function Gr(e, t, n) {
1590
- var i, r, o, a, l, s, u = e.tag, d = e.anchor, c = {}, p = /* @__PURE__ */ Object.create(null), f = null, v = null, h = null, x = !1, E = !1, C;
1589
+ function Qr(e, t, n) {
1590
+ var i, r, o, a, l, s, u = e.tag, d = e.anchor, c = {}, p = /* @__PURE__ */ Object.create(null), f = null, v = null, h = null, I = !1, E = !1, C;
1591
1591
  if (e.firstTabInLine !== -1)
1592
1592
  return !1;
1593
1593
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), C = e.input.charCodeAt(e.position); C !== 0; ) {
1594
- if (!x && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (C === 63 || C === 58) && ae(i))
1595
- C === 63 ? (x && (Ae(e, c, p, f, v, null, a, l, s), f = v = h = null), E = !0, x = !0, r = !0) : x ? (x = !1, r = !0) : w(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, C = i;
1594
+ if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (C === 63 || C === 58) && ae(i))
1595
+ C === 63 ? (I && (Ae(e, c, p, f, v, null, a, l, s), f = v = h = null), E = !0, I = !0, r = !0) : I ? (I = !1, r = !0) : w(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, C = i;
1596
1596
  else {
1597
- if (a = e.line, l = e.lineStart, s = e.position, !Ie(e, n, vn, !1, !0))
1597
+ if (a = e.line, l = e.lineStart, s = e.position, !xe(e, n, wn, !1, !0))
1598
1598
  break;
1599
1599
  if (e.line === o) {
1600
1600
  for (C = e.input.charCodeAt(e.position); be(C); )
1601
1601
  C = e.input.charCodeAt(++e.position);
1602
1602
  if (C === 58)
1603
- C = e.input.charCodeAt(++e.position), ae(C) || w(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (Ae(e, c, p, f, v, null, a, l, s), f = v = h = null), E = !0, x = !1, r = !1, f = e.tag, v = e.result;
1603
+ C = e.input.charCodeAt(++e.position), ae(C) || w(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (Ae(e, c, p, f, v, null, a, l, s), f = v = h = null), E = !0, I = !1, r = !1, f = e.tag, v = e.result;
1604
1604
  else if (E)
1605
1605
  w(e, "can not read an implicit mapping pair; a colon is missed");
1606
1606
  else
@@ -1610,14 +1610,14 @@ function Gr(e, t, n) {
1610
1610
  else
1611
1611
  return e.tag = u, e.anchor = d, !0;
1612
1612
  }
1613
- if ((e.line === o || e.lineIndent > t) && (x && (a = e.line, l = e.lineStart, s = e.position), Ie(e, t, Ke, !0, r) && (x ? v = e.result : h = e.result), x || (Ae(e, c, p, f, v, h, a, l, s), f = v = h = null), H(e, !0, -1), C = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && C !== 0)
1613
+ if ((e.line === o || e.lineIndent > t) && (I && (a = e.line, l = e.lineStart, s = e.position), xe(e, t, Ue, !0, r) && (I ? v = e.result : h = e.result), I || (Ae(e, c, p, f, v, h, a, l, s), f = v = h = null), H(e, !0, -1), C = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && C !== 0)
1614
1614
  w(e, "bad indentation of a mapping entry");
1615
1615
  else if (e.lineIndent < t)
1616
1616
  break;
1617
1617
  }
1618
- return x && Ae(e, c, p, f, v, null, a, l, s), E && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), E;
1618
+ return I && Ae(e, c, p, f, v, null, a, l, s), E && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), E;
1619
1619
  }
1620
- function Zr(e) {
1620
+ function Xr(e) {
1621
1621
  var t, n = !1, i = !1, r, o, a;
1622
1622
  if (a = e.input.charCodeAt(e.position), a !== 33)
1623
1623
  return !1;
@@ -1628,10 +1628,10 @@ function Zr(e) {
1628
1628
  e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : w(e, "unexpected end of the stream within a verbatim tag");
1629
1629
  } else {
1630
1630
  for (; a !== 0 && !ae(a); )
1631
- a === 33 && (i ? w(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), wn.test(r) || w(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1632
- o = e.input.slice(t, e.position), Rr.test(o) && w(e, "tag suffix cannot contain flow indicator characters");
1631
+ a === 33 && (i ? w(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), Cn.test(r) || w(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1632
+ o = e.input.slice(t, e.position), Br.test(o) && w(e, "tag suffix cannot contain flow indicator characters");
1633
1633
  }
1634
- o && !kn.test(o) && w(e, "tag name cannot contain such characters: " + o);
1634
+ o && !Sn.test(o) && w(e, "tag name cannot contain such characters: " + o);
1635
1635
  try {
1636
1636
  o = decodeURIComponent(o);
1637
1637
  } catch {
@@ -1639,7 +1639,7 @@ function Zr(e) {
1639
1639
  }
1640
1640
  return n ? e.tag = o : me.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : w(e, 'undeclared tag handle "' + r + '"'), !0;
1641
1641
  }
1642
- function Qr(e) {
1642
+ function ea(e) {
1643
1643
  var t, n;
1644
1644
  if (n = e.input.charCodeAt(e.position), n !== 38)
1645
1645
  return !1;
@@ -1647,7 +1647,7 @@ function Qr(e) {
1647
1647
  n = e.input.charCodeAt(++e.position);
1648
1648
  return e.position === t && w(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1649
1649
  }
1650
- function Xr(e) {
1650
+ function ta(e) {
1651
1651
  var t, n, i;
1652
1652
  if (i = e.input.charCodeAt(e.position), i !== 42)
1653
1653
  return !1;
@@ -1655,12 +1655,12 @@ function Xr(e) {
1655
1655
  i = e.input.charCodeAt(++e.position);
1656
1656
  return e.position === t && w(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), me.call(e.anchorMap, n) || w(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], H(e, !0, -1), !0;
1657
1657
  }
1658
- function Ie(e, t, n, i, r) {
1659
- var o, a, l, s = 1, u = !1, d = !1, c, p, f, v, h, x;
1660
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Ke === n || bn === n, i && H(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1661
- for (; Zr(e) || Qr(e); )
1658
+ function xe(e, t, n, i, r) {
1659
+ var o, a, l, s = 1, u = !1, d = !1, c, p, f, v, h, I;
1660
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Ue === n || kn === n, i && H(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1661
+ for (; Xr(e) || ea(e); )
1662
1662
  H(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1663
- if (l && (l = u || r), (s === 1 || Ke === n) && ($e === n || vn === n ? h = t : h = t + 1, x = e.position - e.lineStart, s === 1 ? l && (Tt(e, x) || Gr(e, x, h)) || Wr(e, h) ? d = !0 : (a && Jr(e, h) || Hr(e, h) || Yr(e, h) ? d = !0 : Xr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && w(e, "alias node should not have any properties")) : zr(e, h, $e === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Tt(e, x))), e.tag === null)
1663
+ if (l && (l = u || r), (s === 1 || Ue === n) && (Re === n || wn === n ? h = t : h = t + 1, I = e.position - e.lineStart, s === 1 ? l && (Nt(e, I) || Qr(e, I, h)) || Gr(e, h) ? d = !0 : (a && Zr(e, h) || Wr(e, h) || Jr(e, h) ? d = !0 : ta(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && w(e, "alias node should not have any properties")) : Yr(e, h, Re === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Nt(e, I))), e.tag === null)
1664
1664
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1665
1665
  else if (e.tag === "?") {
1666
1666
  for (e.result !== null && e.kind !== "scalar" && w(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, p = e.implicitTypes.length; c < p; c += 1)
@@ -1681,7 +1681,7 @@ function Ie(e, t, n, i, r) {
1681
1681
  }
1682
1682
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
1683
1683
  }
1684
- function ea(e) {
1684
+ function na(e) {
1685
1685
  var t = e.position, n, i, r, o = !1, a;
1686
1686
  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 && (H(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
1687
1687
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !ae(a); )
@@ -1701,9 +1701,9 @@ function ea(e) {
1701
1701
  a = e.input.charCodeAt(++e.position);
1702
1702
  r.push(e.input.slice(n, e.position));
1703
1703
  }
1704
- a !== 0 && ct(e), me.call(xt, i) ? xt[i](e, i, r) : Re(e, 'unknown document directive "' + i + '"');
1704
+ a !== 0 && dt(e), me.call(Tt, i) ? Tt[i](e, i, r) : Be(e, 'unknown document directive "' + i + '"');
1705
1705
  }
1706
- if (H(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, H(e, !0, -1)) : o && w(e, "directives end mark is expected"), Ie(e, e.lineIndent - 1, Ke, !1, !0), H(e, !0, -1), e.checkLineBreaks && Kr.test(e.input.slice(t, e.position)) && Re(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && De(e)) {
1706
+ if (H(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, H(e, !0, -1)) : o && w(e, "directives end mark is expected"), xe(e, e.lineIndent - 1, Ue, !1, !0), H(e, !0, -1), e.checkLineBreaks && Ur.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 && ze(e)) {
1707
1707
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, H(e, !0, -1));
1708
1708
  return;
1709
1709
  }
@@ -1712,36 +1712,36 @@ function ea(e) {
1712
1712
  else
1713
1713
  return;
1714
1714
  }
1715
- function In(e, t) {
1715
+ function _n(e, t) {
1716
1716
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
1717
1717
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
1718
- var n = new Vr(e, t), i = e.indexOf("\0");
1718
+ var n = new Hr(e, t), i = e.indexOf("\0");
1719
1719
  for (i !== -1 && (n.position = i, w(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
1720
1720
  n.lineIndent += 1, n.position += 1;
1721
1721
  for (; n.position < n.length - 1; )
1722
- ea(n);
1722
+ na(n);
1723
1723
  return n.documents;
1724
1724
  }
1725
- function ta(e, t, n) {
1725
+ function ia(e, t, n) {
1726
1726
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
1727
- var i = In(e, n);
1727
+ var i = _n(e, n);
1728
1728
  if (typeof t != "function")
1729
1729
  return i;
1730
1730
  for (var r = 0, o = i.length; r < o; r += 1)
1731
1731
  t(i[r]);
1732
1732
  }
1733
- function na(e, t) {
1734
- var n = In(e, t);
1733
+ function ra(e, t) {
1734
+ var n = _n(e, t);
1735
1735
  if (n.length !== 0) {
1736
1736
  if (n.length === 1)
1737
1737
  return n[0];
1738
1738
  throw new ie("expected a single document in the stream, but found more");
1739
1739
  }
1740
1740
  }
1741
- var ia = ta, ra = na, xn = {
1742
- loadAll: ia,
1743
- load: ra
1744
- }, _n = Object.prototype.toString, Tn = Object.prototype.hasOwnProperty, dt = 65279, aa = 9, Ee = 10, oa = 13, la = 32, sa = 33, ca = 34, Ze = 35, ua = 37, da = 38, pa = 39, fa = 42, jn = 44, ga = 45, Ue = 58, ha = 61, ma = 62, ya = 63, va = 64, Nn = 91, On = 93, ba = 96, En = 123, wa = 124, Mn = 125, ee = {};
1741
+ var aa = ia, oa = ra, Tn = {
1742
+ loadAll: aa,
1743
+ load: oa
1744
+ }, jn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, ft = 65279, la = 9, Fe = 10, sa = 13, ca = 32, ua = 33, da = 34, Xe = 35, pa = 37, fa = 38, ga = 39, ha = 42, On = 44, ma = 45, Pe = 58, ya = 61, va = 62, ba = 63, wa = 64, En = 91, Mn = 93, ka = 96, Fn = 123, Ca = 124, Ln = 125, ee = {};
1745
1745
  ee[0] = "\\0";
1746
1746
  ee[7] = "\\a";
1747
1747
  ee[8] = "\\b";
@@ -1757,7 +1757,7 @@ ee[133] = "\\N";
1757
1757
  ee[160] = "\\_";
1758
1758
  ee[8232] = "\\L";
1759
1759
  ee[8233] = "\\P";
1760
- var ka = [
1760
+ var Sa = [
1761
1761
  "y",
1762
1762
  "Y",
1763
1763
  "yes",
@@ -1774,16 +1774,16 @@ var ka = [
1774
1774
  "off",
1775
1775
  "Off",
1776
1776
  "OFF"
1777
- ], Ca = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1778
- function Sa(e, t) {
1777
+ ], Aa = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1778
+ function xa(e, t) {
1779
1779
  var n, i, r, o, a, l, s;
1780
1780
  if (t === null)
1781
1781
  return {};
1782
1782
  for (n = {}, i = Object.keys(t), r = 0, o = i.length; r < o; r += 1)
1783
- a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && Tn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
1783
+ a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && Nn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
1784
1784
  return n;
1785
1785
  }
1786
- function Aa(e) {
1786
+ function Ia(e) {
1787
1787
  var t, n, i;
1788
1788
  if (t = e.toString(16).toUpperCase(), e <= 255)
1789
1789
  n = "x", i = 2;
@@ -1795,94 +1795,94 @@ function Aa(e) {
1795
1795
  throw new ie("code point within a string may not be greater than 0xFFFFFFFF");
1796
1796
  return "\\" + n + W.repeat("0", i - t.length) + t;
1797
1797
  }
1798
- var Ia = 1, Me = 2;
1799
- function xa(e) {
1800
- this.schema = e.schema || st, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = W.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Sa(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 === '"' ? Me : Ia, 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;
1798
+ var _a = 1, Le = 2;
1799
+ function Ta(e) {
1800
+ this.schema = e.schema || ut, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = W.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = xa(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 === '"' ? Le : _a, 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;
1801
1801
  }
1802
- function jt(e, t) {
1802
+ function Ot(e, t) {
1803
1803
  for (var n = W.repeat(" ", t), i = 0, r = -1, o = "", a, l = e.length; i < l; )
1804
1804
  r = e.indexOf(`
1805
1805
  `, i), r === -1 ? (a = e.slice(i), i = l) : (a = e.slice(i, r + 1), i = r + 1), a.length && a !== `
1806
1806
  ` && (o += n), o += a;
1807
1807
  return o;
1808
1808
  }
1809
- function Qe(e, t) {
1809
+ function et(e, t) {
1810
1810
  return `
1811
1811
  ` + W.repeat(" ", e.indent * t);
1812
1812
  }
1813
- function _a(e, t) {
1813
+ function ja(e, t) {
1814
1814
  var n, i, r;
1815
1815
  for (n = 0, i = e.implicitTypes.length; n < i; n += 1)
1816
1816
  if (r = e.implicitTypes[n], r.resolve(t))
1817
1817
  return !0;
1818
1818
  return !1;
1819
1819
  }
1820
- function Be(e) {
1821
- return e === la || e === aa;
1820
+ function De(e) {
1821
+ return e === ca || e === la;
1822
1822
  }
1823
- function Fe(e) {
1824
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== dt || 65536 <= e && e <= 1114111;
1823
+ function $e(e) {
1824
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ft || 65536 <= e && e <= 1114111;
1825
1825
  }
1826
- function Nt(e) {
1827
- return Fe(e) && e !== dt && e !== oa && e !== Ee;
1826
+ function Et(e) {
1827
+ return $e(e) && e !== ft && e !== sa && e !== Fe;
1828
1828
  }
1829
- function Ot(e, t, n) {
1830
- var i = Nt(e), r = i && !Be(e);
1829
+ function Mt(e, t, n) {
1830
+ var i = Et(e), r = i && !De(e);
1831
1831
  return (
1832
1832
  // ns-plain-safe
1833
1833
  (n ? (
1834
1834
  // c = flow-in
1835
1835
  i
1836
- ) : i && e !== jn && e !== Nn && e !== On && e !== En && e !== Mn) && e !== Ze && !(t === Ue && !r) || Nt(t) && !Be(t) && e === Ze || t === Ue && r
1836
+ ) : i && e !== On && e !== En && e !== Mn && e !== Fn && e !== Ln) && e !== Xe && !(t === Pe && !r) || Et(t) && !De(t) && e === Xe || t === Pe && r
1837
1837
  );
1838
1838
  }
1839
- function Ta(e) {
1840
- return Fe(e) && e !== dt && !Be(e) && e !== ga && e !== ya && e !== Ue && e !== jn && e !== Nn && e !== On && e !== En && e !== Mn && e !== Ze && e !== da && e !== fa && e !== sa && e !== wa && e !== ha && e !== ma && e !== pa && e !== ca && e !== ua && e !== va && e !== ba;
1839
+ function Na(e) {
1840
+ return $e(e) && e !== ft && !De(e) && e !== ma && e !== ba && e !== Pe && e !== On && e !== En && e !== Mn && e !== Fn && e !== Ln && e !== Xe && e !== fa && e !== ha && e !== ua && e !== Ca && e !== ya && e !== va && e !== ga && e !== da && e !== pa && e !== wa && e !== ka;
1841
1841
  }
1842
- function ja(e) {
1843
- return !Be(e) && e !== Ue;
1842
+ function Oa(e) {
1843
+ return !De(e) && e !== Pe;
1844
1844
  }
1845
- function je(e, t) {
1845
+ function Oe(e, t) {
1846
1846
  var n = e.charCodeAt(t), i;
1847
1847
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (n - 55296) * 1024 + i - 56320 + 65536 : n;
1848
1848
  }
1849
- function Fn(e) {
1849
+ function $n(e) {
1850
1850
  var t = /^\n* /;
1851
1851
  return t.test(e);
1852
1852
  }
1853
- var Ln = 1, Xe = 2, qn = 3, $n = 4, Ce = 5;
1854
- function Na(e, t, n, i, r, o, a, l) {
1855
- var s, u = 0, d = null, c = !1, p = !1, f = i !== -1, v = -1, h = Ta(je(e, 0)) && ja(je(e, e.length - 1));
1853
+ var qn = 1, tt = 2, Kn = 3, Rn = 4, Ce = 5;
1854
+ function Ea(e, t, n, i, r, o, a, l) {
1855
+ var s, u = 0, d = null, c = !1, p = !1, f = i !== -1, v = -1, h = Na(Oe(e, 0)) && Oa(Oe(e, e.length - 1));
1856
1856
  if (t || a)
1857
1857
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
1858
- if (u = je(e, s), !Fe(u))
1858
+ if (u = Oe(e, s), !$e(u))
1859
1859
  return Ce;
1860
- h = h && Ot(u, d, l), d = u;
1860
+ h = h && Mt(u, d, l), d = u;
1861
1861
  }
1862
1862
  else {
1863
1863
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
1864
- if (u = je(e, s), u === Ee)
1864
+ if (u = Oe(e, s), u === Fe)
1865
1865
  c = !0, f && (p = p || // Foldable line = too long, and not more-indented.
1866
1866
  s - v - 1 > i && e[v + 1] !== " ", v = s);
1867
- else if (!Fe(u))
1867
+ else if (!$e(u))
1868
1868
  return Ce;
1869
- h = h && Ot(u, d, l), d = u;
1869
+ h = h && Mt(u, d, l), d = u;
1870
1870
  }
1871
1871
  p = p || f && s - v - 1 > i && e[v + 1] !== " ";
1872
1872
  }
1873
- return !c && !p ? h && !a && !r(e) ? Ln : o === Me ? Ce : Xe : n > 9 && Fn(e) ? Ce : a ? o === Me ? Ce : Xe : p ? $n : qn;
1873
+ return !c && !p ? h && !a && !r(e) ? qn : o === Le ? Ce : tt : n > 9 && $n(e) ? Ce : a ? o === Le ? Ce : tt : p ? Rn : Kn;
1874
1874
  }
1875
- function Oa(e, t, n, i, r) {
1875
+ function Ma(e, t, n, i, r) {
1876
1876
  e.dump = function() {
1877
1877
  if (t.length === 0)
1878
- return e.quotingType === Me ? '""' : "''";
1879
- if (!e.noCompatMode && (ka.indexOf(t) !== -1 || Ca.test(t)))
1880
- return e.quotingType === Me ? '"' + t + '"' : "'" + t + "'";
1878
+ return e.quotingType === Le ? '""' : "''";
1879
+ if (!e.noCompatMode && (Sa.indexOf(t) !== -1 || Aa.test(t)))
1880
+ return e.quotingType === Le ? '"' + t + '"' : "'" + t + "'";
1881
1881
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = i || e.flowLevel > -1 && n >= e.flowLevel;
1882
1882
  function s(u) {
1883
- return _a(e, u);
1883
+ return ja(e, u);
1884
1884
  }
1885
- switch (Na(
1885
+ switch (Ea(
1886
1886
  t,
1887
1887
  l,
1888
1888
  e.indent,
@@ -1892,47 +1892,47 @@ function Oa(e, t, n, i, r) {
1892
1892
  e.forceQuotes && !i,
1893
1893
  r
1894
1894
  )) {
1895
- case Ln:
1895
+ case qn:
1896
1896
  return t;
1897
- case Xe:
1897
+ case tt:
1898
1898
  return "'" + t.replace(/'/g, "''") + "'";
1899
- case qn:
1900
- return "|" + Et(t, e.indent) + Mt(jt(t, o));
1901
- case $n:
1902
- return ">" + Et(t, e.indent) + Mt(jt(Ea(t, a), o));
1899
+ case Kn:
1900
+ return "|" + Ft(t, e.indent) + Lt(Ot(t, o));
1901
+ case Rn:
1902
+ return ">" + Ft(t, e.indent) + Lt(Ot(Fa(t, a), o));
1903
1903
  case Ce:
1904
- return '"' + Ma(t) + '"';
1904
+ return '"' + La(t) + '"';
1905
1905
  default:
1906
1906
  throw new ie("impossible error: invalid scalar style");
1907
1907
  }
1908
1908
  }();
1909
1909
  }
1910
- function Et(e, t) {
1911
- var n = Fn(e) ? String(t) : "", i = e[e.length - 1] === `
1910
+ function Ft(e, t) {
1911
+ var n = $n(e) ? String(t) : "", i = e[e.length - 1] === `
1912
1912
  `, r = i && (e[e.length - 2] === `
1913
1913
  ` || e === `
1914
1914
  `), o = r ? "+" : i ? "" : "-";
1915
1915
  return n + o + `
1916
1916
  `;
1917
1917
  }
1918
- function Mt(e) {
1918
+ function Lt(e) {
1919
1919
  return e[e.length - 1] === `
1920
1920
  ` ? e.slice(0, -1) : e;
1921
1921
  }
1922
- function Ea(e, t) {
1922
+ function Fa(e, t) {
1923
1923
  for (var n = /(\n+)([^\n]*)/g, i = function() {
1924
1924
  var u = e.indexOf(`
1925
1925
  `);
1926
- return u = u !== -1 ? u : e.length, n.lastIndex = u, Ft(e.slice(0, u), t);
1926
+ return u = u !== -1 ? u : e.length, n.lastIndex = u, $t(e.slice(0, u), t);
1927
1927
  }(), r = e[0] === `
1928
1928
  ` || e[0] === " ", o, a; a = n.exec(e); ) {
1929
1929
  var l = a[1], s = a[2];
1930
1930
  o = s[0] === " ", i += l + (!r && !o && s !== "" ? `
1931
- ` : "") + Ft(s, t), r = o;
1931
+ ` : "") + $t(s, t), r = o;
1932
1932
  }
1933
1933
  return i;
1934
1934
  }
1935
- function Ft(e, t) {
1935
+ function $t(e, t) {
1936
1936
  if (e === "" || e[0] === " ")
1937
1937
  return e;
1938
1938
  for (var n = / [^ ]/g, i, r = 0, o, a = 0, l = 0, s = ""; i = n.exec(e); )
@@ -1942,30 +1942,30 @@ function Ft(e, t) {
1942
1942
  `, e.length - r > t && a > r ? s += e.slice(r, a) + `
1943
1943
  ` + e.slice(a + 1) : s += e.slice(r), s.slice(1);
1944
1944
  }
1945
- function Ma(e) {
1945
+ function La(e) {
1946
1946
  for (var t = "", n = 0, i, r = 0; r < e.length; n >= 65536 ? r += 2 : r++)
1947
- n = je(e, r), i = ee[n], !i && Fe(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || Aa(n);
1947
+ n = Oe(e, r), i = ee[n], !i && $e(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || Ia(n);
1948
1948
  return t;
1949
1949
  }
1950
- function Fa(e, t, n) {
1950
+ function $a(e, t, n) {
1951
1951
  var i = "", r = e.tag, o, a, l;
1952
1952
  for (o = 0, a = n.length; o < a; o += 1)
1953
1953
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (ue(e, t, l, !1, !1) || typeof l > "u" && ue(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
1954
1954
  e.tag = r, e.dump = "[" + i + "]";
1955
1955
  }
1956
- function Lt(e, t, n, i) {
1956
+ function qt(e, t, n, i) {
1957
1957
  var r = "", o = e.tag, a, l, s;
1958
1958
  for (a = 0, l = n.length; a < l; a += 1)
1959
- s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ue(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ue(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += Qe(e, t)), e.dump && Ee === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
1959
+ s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ue(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ue(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += et(e, t)), e.dump && Fe === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
1960
1960
  e.tag = o, e.dump = r || "[]";
1961
1961
  }
1962
- function La(e, t, n) {
1962
+ function qa(e, t, n) {
1963
1963
  var i = "", r = e.tag, o = Object.keys(n), a, l, s, u, d;
1964
1964
  for (a = 0, l = o.length; a < l; a += 1)
1965
1965
  d = "", i !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[a], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), ue(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ue(e, t, u, !1, !1) && (d += e.dump, i += d));
1966
1966
  e.tag = r, e.dump = "{" + i + "}";
1967
1967
  }
1968
- function qa(e, t, n, i) {
1968
+ function Ka(e, t, n, i) {
1969
1969
  var r = "", o = e.tag, a = Object.keys(n), l, s, u, d, c, p;
1970
1970
  if (e.sortKeys === !0)
1971
1971
  a.sort();
@@ -1974,17 +1974,17 @@ function qa(e, t, n, i) {
1974
1974
  else if (e.sortKeys)
1975
1975
  throw new ie("sortKeys must be a boolean or a function");
1976
1976
  for (l = 0, s = a.length; l < s; l += 1)
1977
- p = "", (!i || r !== "") && (p += Qe(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), ue(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ee === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, c && (p += Qe(e, t)), ue(e, t + 1, d, !0, c) && (e.dump && Ee === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, r += p));
1977
+ p = "", (!i || r !== "") && (p += et(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), ue(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Fe === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, c && (p += et(e, t)), ue(e, t + 1, d, !0, c) && (e.dump && Fe === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, r += p));
1978
1978
  e.tag = o, e.dump = r || "{}";
1979
1979
  }
1980
- function qt(e, t, n) {
1980
+ function Kt(e, t, n) {
1981
1981
  var i, r, o, a, l, s;
1982
1982
  for (r = n ? e.explicitTypes : e.implicitTypes, o = 0, a = r.length; o < a; o += 1)
1983
1983
  if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
1984
1984
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
1985
- if (s = e.styleMap[l.tag] || l.defaultStyle, _n.call(l.represent) === "[object Function]")
1985
+ if (s = e.styleMap[l.tag] || l.defaultStyle, jn.call(l.represent) === "[object Function]")
1986
1986
  i = l.represent(t, s);
1987
- else if (Tn.call(l.represent, s))
1987
+ else if (Nn.call(l.represent, s))
1988
1988
  i = l.represent[s](t, s);
1989
1989
  else
1990
1990
  throw new ie("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
@@ -1995,19 +1995,19 @@ function qt(e, t, n) {
1995
1995
  return !1;
1996
1996
  }
1997
1997
  function ue(e, t, n, i, r, o, a) {
1998
- e.tag = null, e.dump = n, qt(e, n, !1) || qt(e, n, !0);
1999
- var l = _n.call(e.dump), s = i, u;
1998
+ e.tag = null, e.dump = n, Kt(e, n, !1) || Kt(e, n, !0);
1999
+ var l = jn.call(e.dump), s = i, u;
2000
2000
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
2001
2001
  var d = l === "[object Object]" || l === "[object Array]", c, p;
2002
2002
  if (d && (c = e.duplicates.indexOf(n), p = c !== -1), (e.tag !== null && e.tag !== "?" || p || e.indent !== 2 && t > 0) && (r = !1), p && e.usedDuplicates[c])
2003
2003
  e.dump = "*ref_" + c;
2004
2004
  else {
2005
2005
  if (d && p && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
2006
- i && Object.keys(e.dump).length !== 0 ? (qa(e, t, e.dump, r), p && (e.dump = "&ref_" + c + e.dump)) : (La(e, t, e.dump), p && (e.dump = "&ref_" + c + " " + e.dump));
2006
+ i && Object.keys(e.dump).length !== 0 ? (Ka(e, t, e.dump, r), p && (e.dump = "&ref_" + c + e.dump)) : (qa(e, t, e.dump), p && (e.dump = "&ref_" + c + " " + e.dump));
2007
2007
  else if (l === "[object Array]")
2008
- i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Lt(e, t - 1, e.dump, r) : Lt(e, t, e.dump, r), p && (e.dump = "&ref_" + c + e.dump)) : (Fa(e, t, e.dump), p && (e.dump = "&ref_" + c + " " + e.dump));
2008
+ i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? qt(e, t - 1, e.dump, r) : qt(e, t, e.dump, r), p && (e.dump = "&ref_" + c + e.dump)) : ($a(e, t, e.dump), p && (e.dump = "&ref_" + c + " " + e.dump));
2009
2009
  else if (l === "[object String]")
2010
- e.tag !== "?" && Oa(e, e.dump, t, o, s);
2010
+ e.tag !== "?" && Ma(e, e.dump, t, o, s);
2011
2011
  else {
2012
2012
  if (l === "[object Undefined]" || e.skipInvalid)
2013
2013
  return !1;
@@ -2019,71 +2019,71 @@ function ue(e, t, n, i, r, o, a) {
2019
2019
  }
2020
2020
  return !0;
2021
2021
  }
2022
- function $a(e, t) {
2022
+ function Ra(e, t) {
2023
2023
  var n = [], i = [], r, o;
2024
- for (et(e, n, i), r = 0, o = i.length; r < o; r += 1)
2024
+ for (nt(e, n, i), r = 0, o = i.length; r < o; r += 1)
2025
2025
  t.duplicates.push(n[i[r]]);
2026
2026
  t.usedDuplicates = new Array(o);
2027
2027
  }
2028
- function et(e, t, n) {
2028
+ function nt(e, t, n) {
2029
2029
  var i, r, o;
2030
2030
  if (e !== null && typeof e == "object")
2031
2031
  if (r = t.indexOf(e), r !== -1)
2032
2032
  n.indexOf(r) === -1 && n.push(r);
2033
2033
  else if (t.push(e), Array.isArray(e))
2034
2034
  for (r = 0, o = e.length; r < o; r += 1)
2035
- et(e[r], t, n);
2035
+ nt(e[r], t, n);
2036
2036
  else
2037
2037
  for (i = Object.keys(e), r = 0, o = i.length; r < o; r += 1)
2038
- et(e[i[r]], t, n);
2038
+ nt(e[i[r]], t, n);
2039
2039
  }
2040
- function Ka(e, t) {
2040
+ function Ua(e, t) {
2041
2041
  t = t || {};
2042
- var n = new xa(t);
2043
- n.noRefs || $a(e, n);
2042
+ var n = new Ta(t);
2043
+ n.noRefs || Ra(e, n);
2044
2044
  var i = e;
2045
2045
  return n.replacer && (i = n.replacer.call({ "": i }, "", i)), ue(n, 0, i, !0, !0) ? n.dump + `
2046
2046
  ` : "";
2047
2047
  }
2048
- var Ra = Ka, Ua = {
2049
- dump: Ra
2048
+ var Ba = Ua, Pa = {
2049
+ dump: Ba
2050
2050
  };
2051
- function pt(e, t) {
2051
+ function gt(e, t) {
2052
2052
  return function() {
2053
2053
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2054
2054
  };
2055
2055
  }
2056
- var Ba = Q, Pa = Qt, Da = nn, Va = sn, za = cn, Ha = st, Ya = xn.load, Wa = xn.loadAll, Ja = Ua.dump, Ga = ie, Za = {
2057
- binary: gn,
2058
- float: ln,
2059
- map: tn,
2060
- null: rn,
2061
- pairs: mn,
2062
- set: yn,
2063
- timestamp: pn,
2064
- bool: an,
2065
- int: on,
2066
- merge: fn,
2067
- omap: hn,
2068
- seq: en,
2069
- str: Xt
2070
- }, Qa = pt("safeLoad", "load"), Xa = pt("safeLoadAll", "loadAll"), eo = pt("safeDump", "dump"), to = {
2071
- Type: Ba,
2072
- Schema: Pa,
2073
- FAILSAFE_SCHEMA: Da,
2074
- JSON_SCHEMA: Va,
2075
- CORE_SCHEMA: za,
2076
- DEFAULT_SCHEMA: Ha,
2077
- load: Ya,
2078
- loadAll: Wa,
2079
- dump: Ja,
2080
- YAMLException: Ga,
2081
- types: Za,
2082
- safeLoad: Qa,
2083
- safeLoadAll: Xa,
2084
- safeDump: eo
2056
+ var Da = Q, Va = en, za = an, Ha = un, Ya = dn, Wa = ut, Ja = Tn.load, Ga = Tn.loadAll, Za = Pa.dump, Qa = ie, Xa = {
2057
+ binary: mn,
2058
+ float: cn,
2059
+ map: rn,
2060
+ null: on,
2061
+ pairs: vn,
2062
+ set: bn,
2063
+ timestamp: gn,
2064
+ bool: ln,
2065
+ int: sn,
2066
+ merge: hn,
2067
+ omap: yn,
2068
+ seq: nn,
2069
+ str: tn
2070
+ }, eo = gt("safeLoad", "load"), to = gt("safeLoadAll", "loadAll"), no = gt("safeDump", "dump"), io = {
2071
+ Type: Da,
2072
+ Schema: Va,
2073
+ FAILSAFE_SCHEMA: za,
2074
+ JSON_SCHEMA: Ha,
2075
+ CORE_SCHEMA: Ya,
2076
+ DEFAULT_SCHEMA: Wa,
2077
+ load: Ja,
2078
+ loadAll: Ga,
2079
+ dump: Za,
2080
+ YAMLException: Qa,
2081
+ types: Xa,
2082
+ safeLoad: eo,
2083
+ safeLoadAll: to,
2084
+ safeDump: no
2085
2085
  };
2086
- const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2086
+ const ro = { class: "yaml-config" }, ao = /* @__PURE__ */ re({
2087
2087
  __name: "YamlCodeBlock",
2088
2088
  props: {
2089
2089
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2095,11 +2095,11 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2095
2095
  setup(e) {
2096
2096
  const t = e, n = T(() => {
2097
2097
  const i = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, r]) => r && (Array.isArray(r) ? r.length !== 0 : !0)));
2098
- return Object.keys(i).length === 0 && i.constructor === Object ? "" : to.dump(i).trim();
2098
+ return Object.keys(i).length === 0 && i.constructor === Object ? "" : io.dump(i).trim();
2099
2099
  });
2100
2100
  return (i, r) => {
2101
- const o = q("KCodeBlock");
2102
- return A(), $("div", no, [
2101
+ const o = $("KCodeBlock");
2102
+ return A(), q("div", ro, [
2103
2103
  t.yamlRecord ? (A(), z(o, {
2104
2104
  key: 0,
2105
2105
  id: "yaml-codeblock",
@@ -2110,18 +2110,18 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2110
2110
  ]);
2111
2111
  };
2112
2112
  }
2113
- }), xe = "24px", ft = (e, t) => {
2113
+ }), Ie = "24px", ht = (e, t) => {
2114
2114
  const n = e.__vccOpts || e;
2115
2115
  for (const [i, r] of t)
2116
2116
  n[i] = r;
2117
2117
  return n;
2118
- }, ro = (e) => (rt("data-v-2295e0fb"), e = e(), at(), e), ao = ["aria-hidden"], oo = {
2118
+ }, oo = (e) => (ot("data-v-2295e0fb"), e = e(), lt(), e), lo = ["aria-hidden"], so = {
2119
2119
  key: 0,
2120
2120
  "data-testid": "kui-icon-svg-title"
2121
- }, lo = /* @__PURE__ */ ro(() => /* @__PURE__ */ K("path", {
2121
+ }, co = /* @__PURE__ */ oo(() => /* @__PURE__ */ K("path", {
2122
2122
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2123
2123
  fill: "currentColor"
2124
- }, null, -1)), so = /* @__PURE__ */ re({
2124
+ }, null, -1)), uo = /* @__PURE__ */ re({
2125
2125
  __name: "AddIcon",
2126
2126
  props: {
2127
2127
  /** The accessibility text provided to screen readers */
@@ -2152,7 +2152,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2152
2152
  size: {
2153
2153
  type: [Number, String],
2154
2154
  required: !1,
2155
- default: xe,
2155
+ default: Ie,
2156
2156
  // if setting to the imported const fails, just pass a number of 24 as the default.
2157
2157
  validator: (e) => {
2158
2158
  if (typeof e == "number" && e > 0)
@@ -2181,7 +2181,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2181
2181
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2182
2182
  return `${o}px`;
2183
2183
  }
2184
- return xe;
2184
+ return Ie;
2185
2185
  }), i = T(() => ({
2186
2186
  boxSizing: "border-box",
2187
2187
  color: t.color,
@@ -2190,14 +2190,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2190
2190
  lineHeight: "0",
2191
2191
  width: n.value
2192
2192
  }));
2193
- return (r, o) => (A(), z(Le(e.as), {
2193
+ return (r, o) => (A(), z(qe(e.as), {
2194
2194
  "aria-hidden": e.decorative ? "true" : void 0,
2195
2195
  class: "kui-icon add-icon",
2196
2196
  "data-testid": "kui-icon-wrapper-add-icon",
2197
- style: it(i.value)
2197
+ style: at(i.value)
2198
2198
  }, {
2199
2199
  default: b(() => [
2200
- (A(), $("svg", {
2200
+ (A(), q("svg", {
2201
2201
  "aria-hidden": e.decorative ? "true" : void 0,
2202
2202
  "data-testid": "kui-icon-svg-add-icon",
2203
2203
  fill: "none",
@@ -2207,20 +2207,20 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2207
2207
  width: "100%",
2208
2208
  xmlns: "http://www.w3.org/2000/svg"
2209
2209
  }, [
2210
- e.title ? (A(), $("title", oo, F(e.title), 1)) : X("", !0),
2211
- lo
2212
- ], 8, ao))
2210
+ e.title ? (A(), q("title", so, F(e.title), 1)) : X("", !0),
2211
+ co
2212
+ ], 8, lo))
2213
2213
  ]),
2214
2214
  _: 1
2215
2215
  }, 8, ["aria-hidden", "style"]));
2216
2216
  }
2217
- }), co = /* @__PURE__ */ ft(so, [["__scopeId", "data-v-2295e0fb"]]), uo = (e) => (rt("data-v-98c34919"), e = e(), at(), e), po = ["aria-hidden"], fo = {
2217
+ }), po = /* @__PURE__ */ ht(uo, [["__scopeId", "data-v-2295e0fb"]]), fo = (e) => (ot("data-v-98c34919"), e = e(), lt(), e), go = ["aria-hidden"], ho = {
2218
2218
  key: 0,
2219
2219
  "data-testid": "kui-icon-svg-title"
2220
- }, go = /* @__PURE__ */ uo(() => /* @__PURE__ */ K("path", {
2220
+ }, mo = /* @__PURE__ */ fo(() => /* @__PURE__ */ K("path", {
2221
2221
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2222
2222
  fill: "currentColor"
2223
- }, null, -1)), ho = /* @__PURE__ */ re({
2223
+ }, null, -1)), yo = /* @__PURE__ */ re({
2224
2224
  __name: "ChevronDownIcon",
2225
2225
  props: {
2226
2226
  /** The accessibility text provided to screen readers */
@@ -2251,7 +2251,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2251
2251
  size: {
2252
2252
  type: [Number, String],
2253
2253
  required: !1,
2254
- default: xe,
2254
+ default: Ie,
2255
2255
  // if setting to the imported const fails, just pass a number of 24 as the default.
2256
2256
  validator: (e) => {
2257
2257
  if (typeof e == "number" && e > 0)
@@ -2280,7 +2280,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2280
2280
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2281
2281
  return `${o}px`;
2282
2282
  }
2283
- return xe;
2283
+ return Ie;
2284
2284
  }), i = T(() => ({
2285
2285
  boxSizing: "border-box",
2286
2286
  color: t.color,
@@ -2289,14 +2289,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2289
2289
  lineHeight: "0",
2290
2290
  width: n.value
2291
2291
  }));
2292
- return (r, o) => (A(), z(Le(e.as), {
2292
+ return (r, o) => (A(), z(qe(e.as), {
2293
2293
  "aria-hidden": e.decorative ? "true" : void 0,
2294
2294
  class: "kui-icon chevron-down-icon",
2295
2295
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2296
- style: it(i.value)
2296
+ style: at(i.value)
2297
2297
  }, {
2298
2298
  default: b(() => [
2299
- (A(), $("svg", {
2299
+ (A(), q("svg", {
2300
2300
  "aria-hidden": e.decorative ? "true" : void 0,
2301
2301
  "data-testid": "kui-icon-svg-chevron-down-icon",
2302
2302
  fill: "none",
@@ -2306,20 +2306,20 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2306
2306
  width: "100%",
2307
2307
  xmlns: "http://www.w3.org/2000/svg"
2308
2308
  }, [
2309
- e.title ? (A(), $("title", fo, F(e.title), 1)) : X("", !0),
2310
- go
2311
- ], 8, po))
2309
+ e.title ? (A(), q("title", ho, F(e.title), 1)) : X("", !0),
2310
+ mo
2311
+ ], 8, go))
2312
2312
  ]),
2313
2313
  _: 1
2314
2314
  }, 8, ["aria-hidden", "style"]));
2315
2315
  }
2316
- }), mo = /* @__PURE__ */ ft(ho, [["__scopeId", "data-v-98c34919"]]), yo = (e) => (rt("data-v-19f4cbbe"), e = e(), at(), e), vo = ["aria-hidden"], bo = {
2316
+ }), vo = /* @__PURE__ */ ht(yo, [["__scopeId", "data-v-98c34919"]]), bo = (e) => (ot("data-v-19f4cbbe"), e = e(), lt(), e), wo = ["aria-hidden"], ko = {
2317
2317
  key: 0,
2318
2318
  "data-testid": "kui-icon-svg-title"
2319
- }, wo = /* @__PURE__ */ yo(() => /* @__PURE__ */ K("path", {
2319
+ }, Co = /* @__PURE__ */ bo(() => /* @__PURE__ */ K("path", {
2320
2320
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2321
2321
  fill: "currentColor"
2322
- }, null, -1)), ko = /* @__PURE__ */ re({
2322
+ }, null, -1)), So = /* @__PURE__ */ re({
2323
2323
  __name: "CloseIcon",
2324
2324
  props: {
2325
2325
  /** The accessibility text provided to screen readers */
@@ -2350,7 +2350,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2350
2350
  size: {
2351
2351
  type: [Number, String],
2352
2352
  required: !1,
2353
- default: xe,
2353
+ default: Ie,
2354
2354
  // if setting to the imported const fails, just pass a number of 24 as the default.
2355
2355
  validator: (e) => {
2356
2356
  if (typeof e == "number" && e > 0)
@@ -2379,7 +2379,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2379
2379
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2380
2380
  return `${o}px`;
2381
2381
  }
2382
- return xe;
2382
+ return Ie;
2383
2383
  }), i = T(() => ({
2384
2384
  boxSizing: "border-box",
2385
2385
  color: t.color,
@@ -2388,14 +2388,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2388
2388
  lineHeight: "0",
2389
2389
  width: n.value
2390
2390
  }));
2391
- return (r, o) => (A(), z(Le(e.as), {
2391
+ return (r, o) => (A(), z(qe(e.as), {
2392
2392
  "aria-hidden": e.decorative ? "true" : void 0,
2393
2393
  class: "kui-icon close-icon",
2394
2394
  "data-testid": "kui-icon-wrapper-close-icon",
2395
- style: it(i.value)
2395
+ style: at(i.value)
2396
2396
  }, {
2397
2397
  default: b(() => [
2398
- (A(), $("svg", {
2398
+ (A(), q("svg", {
2399
2399
  "aria-hidden": e.decorative ? "true" : void 0,
2400
2400
  "data-testid": "kui-icon-svg-close-icon",
2401
2401
  fill: "none",
@@ -2405,17 +2405,17 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2405
2405
  width: "100%",
2406
2406
  xmlns: "http://www.w3.org/2000/svg"
2407
2407
  }, [
2408
- e.title ? (A(), $("title", bo, F(e.title), 1)) : X("", !0),
2409
- wo
2410
- ], 8, vo))
2408
+ e.title ? (A(), q("title", ko, F(e.title), 1)) : X("", !0),
2409
+ Co
2410
+ ], 8, wo))
2411
2411
  ]),
2412
2412
  _: 1
2413
2413
  }, 8, ["aria-hidden", "style"]));
2414
2414
  }
2415
- }), Co = /* @__PURE__ */ ft(ko, [["__scopeId", "data-v-19f4cbbe"]]), So = {
2415
+ }), Ao = /* @__PURE__ */ ht(So, [["__scopeId", "data-v-19f4cbbe"]]), xo = {
2416
2416
  class: "form-actions",
2417
2417
  "data-testid": "form-actions"
2418
- }, Ao = /* @__PURE__ */ re({
2418
+ }, Io = /* @__PURE__ */ re({
2419
2419
  __name: "EntityBaseForm",
2420
2420
  props: {
2421
2421
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2436,7 +2436,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2436
2436
  * the endpoints file.
2437
2437
  * Required if `editId` is specified.
2438
2438
  *
2439
- * ex. `/api/runtime_groups/{controlPlaneId}/snis/{id}`
2439
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
2440
2440
  */
2441
2441
  fetchUrl: {
2442
2442
  type: String,
@@ -2470,7 +2470,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2470
2470
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
2471
2471
  setup(e, { emit: t }) {
2472
2472
  var n;
2473
- const i = t, r = e, o = Dt(), { i18n: { t: a } } = ve.useI18n(), { getMessageFromError: l } = ve.useErrors(), { axiosInstance: s } = ve.useAxios({
2473
+ const i = t, r = e, o = zt(), { i18n: { t: a } } = ve.useI18n(), { getMessageFromError: l } = ve.useErrors(), { axiosInstance: s } = ve.useAxios({
2474
2474
  headers: (n = r.config) == null ? void 0 : n.requestHeaders
2475
2475
  }), u = N(!1), d = N(!1), c = N(""), p = T(() => r.canSubmit === !1 || r.isReadonly), f = N(!1), v = T(() => {
2476
2476
  var m, g;
@@ -2478,7 +2478,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2478
2478
  return r.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((m = r.config) == null ? void 0 : m.controlPlaneId) || "") : r.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (g = r.config) != null && g.workspace ? `/${r.config.workspace}` : "")), r.editId ? (k = k.replace(/{id}/gi, r.editId), k) : (k = k.replace(/\/{id}/gi, ""), k);
2479
2479
  }), h = () => {
2480
2480
  f.value = !f.value;
2481
- }, x = () => {
2481
+ }, I = () => {
2482
2482
  r.config.cancelRoute ? o.push(r.config.cancelRoute) : E();
2483
2483
  }, E = () => {
2484
2484
  i("cancel");
@@ -2496,7 +2496,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2496
2496
  ]);
2497
2497
  return he(() => u.value, (m) => {
2498
2498
  i("loading", m);
2499
- }, { immediate: !0 }), tt(async () => {
2499
+ }, { immediate: !0 }), it(async () => {
2500
2500
  if (r.editId)
2501
2501
  try {
2502
2502
  d.value = !1, u.value = !0;
@@ -2509,7 +2509,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2509
2509
  u.value = !1;
2510
2510
  }
2511
2511
  }), (m, g) => {
2512
- const k = q("KSkeleton"), M = q("KEmptyState"), R = q("KAlert"), I = q("KButton"), G = q("KTabs"), U = q("KSlideout"), L = q("KCard");
2512
+ const k = $("KSkeleton"), M = $("KEmptyState"), R = $("KAlert"), x = $("KButton"), G = $("KTabs"), U = $("KSlideout"), L = $("KCard");
2513
2513
  return A(), z(L, { class: "kong-ui-entity-base-form" }, {
2514
2514
  default: b(() => [
2515
2515
  u.value ? (A(), z(k, {
@@ -2520,17 +2520,17 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2520
2520
  "action-button-text": y(a)("baseForm.actions.back"),
2521
2521
  "data-testid": "form-fetch-error",
2522
2522
  "icon-variant": "error",
2523
- onClickAction: x
2523
+ onClickAction: I
2524
2524
  }, {
2525
2525
  default: b(() => [
2526
2526
  K("h3", null, F(c.value), 1)
2527
2527
  ]),
2528
2528
  _: 1
2529
- }, 8, ["action-button-text"])) : (A(), $("form", {
2529
+ }, 8, ["action-button-text"])) : (A(), q("form", {
2530
2530
  key: 2,
2531
2531
  "data-testid": "form-content",
2532
- onReset: Je(E, ["prevent"]),
2533
- onSubmit: Je(C, ["prevent"])
2532
+ onReset: Ze(E, ["prevent"]),
2533
+ onSubmit: Ze(C, ["prevent"])
2534
2534
  }, [
2535
2535
  oe(m.$slots, "default", {}, void 0, !0),
2536
2536
  e.errorMessage ? (A(), z(R, {
@@ -2539,9 +2539,9 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2539
2539
  "data-testid": "form-error",
2540
2540
  message: e.errorMessage
2541
2541
  }, null, 8, ["message"])) : X("", !0),
2542
- K("div", So, [
2542
+ K("div", xo, [
2543
2543
  oe(m.$slots, "form-actions", {}, () => [
2544
- _(I, {
2544
+ _(x, {
2545
2545
  appearance: "tertiary",
2546
2546
  "data-testid": "form-view-configuration",
2547
2547
  onClick: g[0] || (g[0] = (Z) => h())
@@ -2551,7 +2551,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2551
2551
  ]),
2552
2552
  _: 1
2553
2553
  }),
2554
- _(I, {
2554
+ _(x, {
2555
2555
  appearance: "secondary",
2556
2556
  "data-testid": "form-cancel",
2557
2557
  disabled: e.isReadonly,
@@ -2562,7 +2562,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2562
2562
  ]),
2563
2563
  _: 1
2564
2564
  }, 8, ["disabled"]),
2565
- _(I, {
2565
+ _(x, {
2566
2566
  appearance: "primary",
2567
2567
  "data-testid": "form-submit",
2568
2568
  disabled: p.value,
@@ -2592,7 +2592,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2592
2592
  tabs: te.value
2593
2593
  }, {
2594
2594
  json: b(() => [
2595
- _(Li, {
2595
+ _(qi, {
2596
2596
  config: e.config,
2597
2597
  "fetcher-url": v.value,
2598
2598
  "json-record": r.formFields,
@@ -2600,7 +2600,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2600
2600
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
2601
2601
  ]),
2602
2602
  yaml: b(() => [
2603
- _(io, {
2603
+ _(ao, {
2604
2604
  "yaml-record": r.formFields
2605
2605
  }, null, 8, ["yaml-record"])
2606
2606
  ]),
@@ -2614,10 +2614,10 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2614
2614
  });
2615
2615
  };
2616
2616
  }
2617
- }), Io = /* @__PURE__ */ _e(Ao, [["__scopeId", "data-v-1d932d98"]]), xo = {
2617
+ }), _o = /* @__PURE__ */ _e(Io, [["__scopeId", "data-v-4c62c7d5"]]), To = {
2618
2618
  key: 0,
2619
2619
  "data-testid": "first-col"
2620
- }, _o = /* @__PURE__ */ re({
2620
+ }, jo = /* @__PURE__ */ re({
2621
2621
  __name: "EntityBaseTableCell",
2622
2622
  props: {
2623
2623
  keyName: {
@@ -2637,43 +2637,43 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2637
2637
  var h;
2638
2638
  return ((h = n.value) == null ? void 0 : h.querySelector('[data-testid="first-col"]')) || null;
2639
2639
  }), r = T(() => {
2640
- var h, x;
2640
+ var h, I;
2641
2641
  const E = (h = t.rowEl) == null ? void 0 : h.querySelectorAll("td");
2642
- return E ? ((x = E[0]) == null ? void 0 : x.getAttribute("data-testid")) === t.keyName : !1;
2642
+ return E ? ((I = E[0]) == null ? void 0 : I.getAttribute("data-testid")) === t.keyName : !1;
2643
2643
  });
2644
2644
  let o;
2645
2645
  const a = () => {
2646
2646
  o && (o.disconnect(), o = void 0);
2647
2647
  }, l = () => {
2648
- var h, x, E;
2649
- u.value = ((h = i.value) == null ? void 0 : h.getBoundingClientRect().width) || 0, d.value = ((x = n.value) == null ? void 0 : x.clientWidth) || 0, c.value = ((E = s.value) == null ? void 0 : E.innerText) || "";
2648
+ var h, I, E;
2649
+ u.value = ((h = i.value) == null ? void 0 : h.getBoundingClientRect().width) || 0, d.value = ((I = n.value) == null ? void 0 : I.clientWidth) || 0, c.value = ((E = s.value) == null ? void 0 : E.innerText) || "";
2650
2650
  }, s = N({}), u = N(0), d = N(0), c = N(""), p = T(() => [i.value, n.value]), f = he(
2651
2651
  p,
2652
2652
  (h) => {
2653
2653
  if (r.value && (a(), "ResizeObserver" in window && window)) {
2654
- o = new ResizeObserver((x) => {
2654
+ o = new ResizeObserver((I) => {
2655
2655
  window.requestAnimationFrame(() => {
2656
- !Array.isArray(x) || !x.length || l();
2656
+ !Array.isArray(I) || !I.length || l();
2657
2657
  });
2658
2658
  });
2659
- for (const x of h)
2660
- x && o.observe(x);
2659
+ for (const I of h)
2660
+ I && o.observe(I);
2661
2661
  }
2662
2662
  },
2663
2663
  { immediate: !0, flush: "post", deep: !0 }
2664
2664
  ), v = T(() => r.value ? u.value > d.value : !1);
2665
- return zn(() => {
2665
+ return Yn(() => {
2666
2666
  l();
2667
- }), Hn(() => {
2667
+ }), Wn(() => {
2668
2668
  f();
2669
- }), (h, x) => {
2670
- const E = q("KTooltip");
2671
- return A(), $("span", {
2669
+ }), (h, I) => {
2670
+ const E = $("KTooltip");
2671
+ return A(), q("span", {
2672
2672
  ref_key: "contentRef",
2673
2673
  ref: s,
2674
2674
  class: "content-wrapper"
2675
2675
  }, [
2676
- r.value ? (A(), $("span", xo, [
2676
+ r.value ? (A(), q("span", To, [
2677
2677
  _(E, {
2678
2678
  "max-width": "300",
2679
2679
  placement: "bottomStart",
@@ -2688,10 +2688,10 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2688
2688
  ], 512);
2689
2689
  };
2690
2690
  }
2691
- }), To = /* @__PURE__ */ _e(_o, [["__scopeId", "data-v-c4379fd4"]]), jo = { class: "toolbar-container" }, No = {
2691
+ }), No = /* @__PURE__ */ _e(jo, [["__scopeId", "data-v-c4379fd4"]]), Oo = { class: "toolbar-container" }, Eo = {
2692
2692
  key: 0,
2693
2693
  class: "toolbar-button-container"
2694
- }, Oo = ["data-testid"], Eo = /* @__PURE__ */ re({
2694
+ }, Mo = ["data-testid"], Fo = /* @__PURE__ */ re({
2695
2695
  __name: "EntityBaseTable",
2696
2696
  props: {
2697
2697
  // table header configuration
@@ -2852,9 +2852,9 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2852
2852
  i("clear-search-input");
2853
2853
  }, h = T(() => n.disableRowClick ? void 0 : (g, k) => {
2854
2854
  i("click:row", k);
2855
- }), x = (g) => {
2855
+ }), I = (g) => {
2856
2856
  i("sort", g);
2857
- }, { setTablePreferences: E, getTablePreferences: C } = ri(), te = T(() => {
2857
+ }, { setTablePreferences: E, getTablePreferences: C } = oi(), te = T(() => {
2858
2858
  const g = C(n.preferencesStorageKey);
2859
2859
  return {
2860
2860
  ...n.initialFetcherParams,
@@ -2864,7 +2864,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2864
2864
  n.preferencesStorageKey && E(n.preferencesStorageKey, g);
2865
2865
  };
2866
2866
  return (g, k) => {
2867
- const M = q("KIcon"), R = q("KButton"), I = q("KDropdown"), G = q("KTable"), U = q("KCard");
2867
+ const M = $("KIcon"), R = $("KButton"), x = $("KDropdown"), G = $("KTable"), U = $("KCard");
2868
2868
  return A(), z(U, {
2869
2869
  class: "kong-ui-entity-base-table",
2870
2870
  title: e.title,
@@ -2898,13 +2898,13 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2898
2898
  "search-input": e.query,
2899
2899
  onKtableEmptyStateCtaClicked: f,
2900
2900
  "onRow:click": h.value,
2901
- onSort: k[0] || (k[0] = (L) => x(L)),
2901
+ onSort: k[0] || (k[0] = (L) => I(L)),
2902
2902
  "onUpdate:tablePreferences": m
2903
- }, Rt({
2903
+ }, Bt({
2904
2904
  toolbar: b(({ state: L }) => [
2905
- pe(K("div", jo, [
2905
+ pe(K("div", Oo, [
2906
2906
  oe(g.$slots, "toolbar-filter", {}, void 0, !0),
2907
- g.$slots["toolbar-button"] ? (A(), $("div", No, [
2907
+ g.$slots["toolbar-button"] ? (A(), q("div", Eo, [
2908
2908
  oe(g.$slots, "toolbar-button", {}, void 0, !0)
2909
2909
  ])) : X("", !0)
2910
2910
  ], 512), [
@@ -2916,7 +2916,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2916
2916
  class: "actions-container",
2917
2917
  "data-testid": L.name
2918
2918
  }, [
2919
- _(I, {
2919
+ _(x, {
2920
2920
  "kpop-attributes": { placement: "bottomEnd" },
2921
2921
  width: e.dropdownMenuWidth
2922
2922
  }, {
@@ -2935,7 +2935,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2935
2935
  }, {
2936
2936
  icon: b(() => [
2937
2937
  _(M, {
2938
- color: y(Oi),
2938
+ color: y(Mi),
2939
2939
  icon: "more",
2940
2940
  size: "16"
2941
2941
  }, null, 8, ["color"])
@@ -2945,14 +2945,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2945
2945
  ]),
2946
2946
  _: 2
2947
2947
  }, 1032, ["width"])
2948
- ], 8, Oo)
2948
+ ], 8, Mo)
2949
2949
  ]),
2950
2950
  _: 2
2951
2951
  }, [
2952
- nt(e.tableHeaders, (L, Z) => ({
2952
+ rt(e.tableHeaders, (L, Z) => ({
2953
2953
  name: Z,
2954
2954
  fn: b(({ row: de, rowKey: we, rowValue: se }) => [
2955
- _(To, {
2955
+ _(No, {
2956
2956
  "key-name": String(Z),
2957
2957
  "row-el": c(de)
2958
2958
  }, {
@@ -2972,7 +2972,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2972
2972
  e.query ? void 0 : {
2973
2973
  name: "empty-state-action-icon",
2974
2974
  fn: b(() => [
2975
- _(y(co))
2975
+ _(y(po))
2976
2976
  ]),
2977
2977
  key: "0"
2978
2978
  }
@@ -2982,13 +2982,13 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
2982
2982
  }, 8, ["title", "title-tag"]);
2983
2983
  };
2984
2984
  }
2985
- }), Mo = /* @__PURE__ */ _e(Eo, [["__scopeId", "data-v-99908c24"]]), Fo = {
2985
+ }), Lo = /* @__PURE__ */ _e(Fo, [["__scopeId", "data-v-99908c24"]]), $o = {
2986
2986
  key: 0,
2987
2987
  class: "kong-ui-entity-delete-error"
2988
- }, Lo = {
2988
+ }, qo = {
2989
2989
  key: 1,
2990
2990
  class: "description"
2991
- }, qo = /* @__PURE__ */ re({
2991
+ }, Ko = /* @__PURE__ */ re({
2992
2992
  __name: "EntityDeleteModal",
2993
2993
  props: {
2994
2994
  visible: {
@@ -3033,7 +3033,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3033
3033
  r("proceed");
3034
3034
  };
3035
3035
  return (s, u) => {
3036
- const d = q("KAlert"), c = q("KPrompt");
3036
+ const d = $("KAlert"), c = $("KPrompt");
3037
3037
  return A(), z(c, {
3038
3038
  "action-button-appearance": "danger",
3039
3039
  "action-button-disabled": e.actionPending,
@@ -3046,7 +3046,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3046
3046
  onProceed: l
3047
3047
  }, {
3048
3048
  default: b(() => [
3049
- e.error ? (A(), $("div", Fo, [
3049
+ e.error ? (A(), q("div", $o, [
3050
3050
  _(d, { appearance: "danger" }, {
3051
3051
  default: b(() => [
3052
3052
  J(F(e.error), 1)
@@ -3058,7 +3058,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3058
3058
  class: "message",
3059
3059
  keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3060
3060
  tag: "p"
3061
- }, Rt({
3061
+ }, Bt({
3062
3062
  entityType: b(() => [
3063
3063
  J(F(i.entityType), 1)
3064
3064
  ]),
@@ -3072,7 +3072,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3072
3072
  key: "0"
3073
3073
  } : void 0
3074
3074
  ]), 1032, ["keypath"]),
3075
- i.description || s.$slots.description ? (A(), $("div", Lo, [
3075
+ i.description || s.$slots.description ? (A(), q("div", qo, [
3076
3076
  oe(s.$slots, "description", {}, () => [
3077
3077
  K("p", null, F(i.description), 1)
3078
3078
  ], !0)
@@ -3082,13 +3082,13 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3082
3082
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3083
3083
  };
3084
3084
  }
3085
- }), $o = /* @__PURE__ */ _e(qo, [["__scopeId", "data-v-4361d622"]]), Ko = {
3085
+ }), Ro = /* @__PURE__ */ _e(Ko, [["__scopeId", "data-v-4361d622"]]), Uo = {
3086
3086
  fill: "none",
3087
3087
  height: "20",
3088
3088
  viewBox: "0 0 20 20",
3089
3089
  width: "20",
3090
3090
  xmlns: "http://www.w3.org/2000/svg"
3091
- }, Ro = {
3091
+ }, Bo = {
3092
3092
  id: "mask0_180_20349",
3093
3093
  height: "20",
3094
3094
  maskUnits: "userSpaceOnUse",
@@ -3096,35 +3096,35 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3096
3096
  width: "20",
3097
3097
  x: "0",
3098
3098
  y: "0"
3099
- }, Uo = ["fill"], Bo = { mask: "url(#mask0_180_20349)" }, Po = ["fill"], $t = /* @__PURE__ */ re({
3099
+ }, Po = ["fill"], Do = { mask: "url(#mask0_180_20349)" }, Vo = ["fill"], Rt = /* @__PURE__ */ re({
3100
3100
  __name: "IconFilter",
3101
3101
  props: {
3102
3102
  color: {
3103
3103
  type: String,
3104
- default: `var(--kong-ui-entity-filter-color, ${Ni})`
3104
+ default: `var(--kong-ui-entity-filter-color, ${Ei})`
3105
3105
  }
3106
3106
  },
3107
3107
  setup(e) {
3108
- return (t, n) => (A(), $("svg", Ko, [
3109
- K("mask", Ro, [
3108
+ return (t, n) => (A(), q("svg", Uo, [
3109
+ K("mask", Bo, [
3110
3110
  K("rect", {
3111
3111
  fill: e.color,
3112
3112
  height: "20",
3113
3113
  width: "20"
3114
- }, null, 8, Uo)
3114
+ }, null, 8, Po)
3115
3115
  ]),
3116
- K("g", Bo, [
3116
+ K("g", Do, [
3117
3117
  K("path", {
3118
3118
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3119
3119
  fill: e.color
3120
- }, null, 8, Po)
3120
+ }, null, 8, Vo)
3121
3121
  ])
3122
3122
  ]));
3123
3123
  }
3124
- }), Do = {
3124
+ }), zo = {
3125
3125
  key: 1,
3126
3126
  class: "kong-ui-entity-filter"
3127
- }, Vo = { class: "kong-ui-entity-filter-menu" }, zo = ["data-testid"], Ho = ["onClick", "onKeydown"], Yo = { class: "menu-item-indicator" }, Wo = { class: "menu-item-body" }, Jo = ["for"], Go = { class: "menu-item-buttons" }, Zo = { class: "filter-clear-button-container" }, Qo = /* @__PURE__ */ re({
3127
+ }, Ho = { class: "kong-ui-entity-filter-menu" }, Yo = ["data-testid"], Wo = ["onClick", "onKeydown"], Jo = { class: "menu-item-indicator" }, Go = { class: "menu-item-body" }, Zo = ["for"], Qo = { class: "menu-item-buttons" }, Xo = { class: "filter-clear-button-container" }, el = /* @__PURE__ */ re({
3128
3128
  __name: "EntityFilter",
3129
3129
  props: {
3130
3130
  // filter config, either exact match or fuzzy match
@@ -3176,7 +3176,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3176
3176
  value: M,
3177
3177
  label: M
3178
3178
  }));
3179
- }, x = (m) => {
3179
+ }, I = (m) => {
3180
3180
  var g, k;
3181
3181
  return ((k = (g = i.config.schema) == null ? void 0 : g[m]) == null ? void 0 : k.type) ?? "text";
3182
3182
  }, E = (m) => {
@@ -3191,7 +3191,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3191
3191
  m && (o.value = !1), r("update:modelValue", new URLSearchParams(g).toString());
3192
3192
  };
3193
3193
  return (m, g) => {
3194
- const k = q("KInput"), M = q("KButton"), R = q("KSelect");
3194
+ const k = $("KInput"), M = $("KButton"), R = $("KSelect");
3195
3195
  return e.config.isExactMatch ? (A(), z(k, {
3196
3196
  key: 0,
3197
3197
  autocomplete: "off",
@@ -3202,10 +3202,10 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3202
3202
  "onUpdate:modelValue": p
3203
3203
  }, {
3204
3204
  before: b(() => [
3205
- _($t)
3205
+ _(Rt)
3206
3206
  ]),
3207
3207
  after: b(() => [
3208
- pe(_(y(Co), {
3208
+ pe(_(y(Ao), {
3209
3209
  class: "kong-ui-entity-filter-clear",
3210
3210
  onClick: f
3211
3211
  }, null, 512), [
@@ -3213,14 +3213,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3213
3213
  ])
3214
3214
  ]),
3215
3215
  _: 1
3216
- }, 8, ["model-value", "placeholder"])) : (A(), $("div", Do, [
3216
+ }, 8, ["model-value", "placeholder"])) : (A(), q("div", zo, [
3217
3217
  _(M, {
3218
3218
  appearance: "tertiary",
3219
3219
  "data-testid": "filter-button",
3220
3220
  onClick: d
3221
3221
  }, {
3222
3222
  default: b(() => [
3223
- _($t),
3223
+ _(Rt),
3224
3224
  J(" " + F(y(n)("filter.filterButtonText")) + " " + F(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3225
3225
  ]),
3226
3226
  _: 1
@@ -3231,55 +3231,55 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3231
3231
  }, null, 512), [
3232
3232
  [fe, o.value]
3233
3233
  ]),
3234
- pe(K("div", Vo, [
3235
- (A(!0), $(Ut, null, nt(u.value, (I) => {
3234
+ pe(K("div", Ho, [
3235
+ (A(!0), q(Pt, null, rt(u.value, (x) => {
3236
3236
  var G, U;
3237
- return A(), $("div", {
3238
- key: I.value,
3237
+ return A(), q("div", {
3238
+ key: x.value,
3239
3239
  class: "kong-ui-entity-filter-menu-item",
3240
- "data-testid": I.value
3240
+ "data-testid": x.value
3241
3241
  }, [
3242
3242
  K("span", {
3243
- class: Ne(["menu-item-title", { expanded: l.value.has(I.value) }]),
3243
+ class: Ee(["menu-item-title", { expanded: l.value.has(x.value) }]),
3244
3244
  role: "button",
3245
3245
  tabindex: "0",
3246
- onClick: (L) => c(I.value),
3247
- onKeydown: Bn((L) => c(I.value), ["enter"])
3246
+ onClick: (L) => c(x.value),
3247
+ onKeydown: Dn((L) => c(x.value), ["enter"])
3248
3248
  }, [
3249
- J(F(I.label) + " ", 1),
3250
- pe(K("span", Yo, null, 512), [
3251
- [fe, s.value.includes(I.value)]
3249
+ J(F(x.label) + " ", 1),
3250
+ pe(K("span", Jo, null, 512), [
3251
+ [fe, s.value.includes(x.value)]
3252
3252
  ]),
3253
- _(y(mo), {
3254
- class: Ne(["menu-item-expand-icon", { expanded: l.value.has(I.value) }]),
3255
- color: y(Ei)
3253
+ _(y(vo), {
3254
+ class: Ee(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
3255
+ color: y(Fi)
3256
3256
  }, null, 8, ["class", "color"])
3257
- ], 42, Ho),
3258
- pe(K("div", Wo, [
3257
+ ], 42, Wo),
3258
+ pe(K("div", Go, [
3259
3259
  K("label", {
3260
3260
  class: "menu-item-label",
3261
- for: v(I.value)
3262
- }, F(y(n)("filter.fieldLabel")), 9, Jo),
3263
- ((U = (G = e.config.schema) == null ? void 0 : G[I.value]) == null ? void 0 : U.type) === "select" ? (A(), z(R, {
3261
+ for: v(x.value)
3262
+ }, F(y(n)("filter.fieldLabel")), 9, Zo),
3263
+ ((U = (G = e.config.schema) == null ? void 0 : G[x.value]) == null ? void 0 : U.type) === "select" ? (A(), z(R, {
3264
3264
  key: 0,
3265
- id: v(I.value),
3266
- modelValue: a.value[I.value],
3267
- "onUpdate:modelValue": (L) => a.value[I.value] = L,
3268
- items: h(I.value),
3265
+ id: v(x.value),
3266
+ modelValue: a.value[x.value],
3267
+ "onUpdate:modelValue": (L) => a.value[x.value] = L,
3268
+ items: h(x.value),
3269
3269
  placeholder: y(n)("filter.selectPlaceholder")
3270
3270
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (A(), z(k, {
3271
3271
  key: 1,
3272
- id: v(I.value),
3273
- modelValue: a.value[I.value],
3274
- "onUpdate:modelValue": (L) => a.value[I.value] = L,
3272
+ id: v(x.value),
3273
+ modelValue: a.value[x.value],
3274
+ "onUpdate:modelValue": (L) => a.value[x.value] = L,
3275
3275
  autocomplete: "off",
3276
3276
  placeholder: y(n)("filter.inputPlaceholder"),
3277
- type: x(I.value)
3277
+ type: I(x.value)
3278
3278
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3279
3279
  ], 512), [
3280
- [fe, l.value.has(I.value)]
3280
+ [fe, l.value.has(x.value)]
3281
3281
  ]),
3282
- pe(K("div", Go, [
3282
+ pe(K("div", Qo, [
3283
3283
  _(M, {
3284
3284
  appearance: "tertiary",
3285
3285
  "data-testid": "apply-filter",
@@ -3295,7 +3295,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3295
3295
  appearance: "tertiary",
3296
3296
  "data-testid": "clear-filter",
3297
3297
  size: "small",
3298
- onClick: (L) => E(I.value)
3298
+ onClick: (L) => E(x.value)
3299
3299
  }, {
3300
3300
  default: b(() => [
3301
3301
  J(F(y(n)("filter.clearButtonText")), 1)
@@ -3303,11 +3303,11 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3303
3303
  _: 2
3304
3304
  }, 1032, ["onClick"])
3305
3305
  ], 512), [
3306
- [fe, l.value.has(I.value)]
3306
+ [fe, l.value.has(x.value)]
3307
3307
  ])
3308
- ], 8, zo);
3308
+ ], 8, Yo);
3309
3309
  }), 128)),
3310
- K("div", Zo, [
3310
+ K("div", Xo, [
3311
3311
  _(M, {
3312
3312
  appearance: "tertiary",
3313
3313
  size: "small",
@@ -3325,7 +3325,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3325
3325
  ]));
3326
3326
  };
3327
3327
  }
3328
- }), Xo = /* @__PURE__ */ _e(Qo, [["__scopeId", "data-v-8cfadde3"]]), We = /* @__PURE__ */ re({
3328
+ }), tl = /* @__PURE__ */ _e(el, [["__scopeId", "data-v-8cfadde3"]]), Ge = /* @__PURE__ */ re({
3329
3329
  __name: "PermissionsWrapper",
3330
3330
  props: {
3331
3331
  /**
@@ -3355,13 +3355,13 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3355
3355
  isAllowed: n.value
3356
3356
  }) : X("", !0);
3357
3357
  }
3358
- }), el = { class: "form-section-wrapper" }, tl = {
3358
+ }), nl = { class: "form-section-wrapper" }, il = {
3359
3359
  key: 1,
3360
3360
  class: "form-section-description"
3361
- }, nl = {
3361
+ }, rl = {
3362
3362
  key: 2,
3363
3363
  class: "form-section-footer"
3364
- }, il = { class: "form-section-content" }, rl = /* @__PURE__ */ re({
3364
+ }, al = { class: "form-section-content" }, ol = /* @__PURE__ */ re({
3365
3365
  __name: "EntityFormSection",
3366
3366
  props: {
3367
3367
  title: {
@@ -3390,16 +3390,16 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3390
3390
  }
3391
3391
  },
3392
3392
  setup(e) {
3393
- const t = Pn();
3394
- return (n, i) => (A(), $("fieldset", {
3395
- class: Ne(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
3393
+ const t = Vn();
3394
+ return (n, i) => (A(), q("fieldset", {
3395
+ class: Ee(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
3396
3396
  }, [
3397
- K("div", el, [
3398
- e.hideInfoHeader ? X("", !0) : (A(), $("div", {
3397
+ K("div", nl, [
3398
+ e.hideInfoHeader ? X("", !0) : (A(), q("div", {
3399
3399
  key: 0,
3400
- class: Ne(["form-section-info", { sticky: e.stickyInfoHeader }])
3400
+ class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
3401
3401
  }, [
3402
- e.title ? (A(), z(Le(e.titleTag), {
3402
+ e.title ? (A(), z(qe(e.titleTag), {
3403
3403
  key: 0,
3404
3404
  class: "form-section-title"
3405
3405
  }, {
@@ -3408,22 +3408,22 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3408
3408
  ]),
3409
3409
  _: 1
3410
3410
  })) : X("", !0),
3411
- e.description || y(t).description ? (A(), $("div", tl, [
3411
+ e.description || y(t).description ? (A(), q("div", il, [
3412
3412
  oe(n.$slots, "description", {}, () => [
3413
3413
  K("p", null, F(e.description), 1)
3414
3414
  ], !0)
3415
3415
  ])) : X("", !0),
3416
- y(t).footer ? (A(), $("div", nl, [
3416
+ y(t).footer ? (A(), q("div", rl, [
3417
3417
  oe(n.$slots, "footer", {}, void 0, !0)
3418
3418
  ])) : X("", !0)
3419
3419
  ], 2)),
3420
- K("div", il, [
3420
+ K("div", al, [
3421
3421
  oe(n.$slots, "default", {}, void 0, !0)
3422
3422
  ])
3423
3423
  ])
3424
3424
  ], 2));
3425
3425
  }
3426
- }), Kt = /* @__PURE__ */ _e(rl, [["__scopeId", "data-v-4bb31634"]]), { useAxios: Kn, useDeleteUrlBuilder: al, useErrors: ol, useExternalLinkCreator: Cl, useFetchUrlBuilder: Sl, useFetcher: ll, useDebouncedFilter: sl, useStringHelpers: Al, useHelpers: Il, useGatewayFeatureSupported: xl, useTruncationDetector: _l, useValidators: Tl } = ve, cl = { class: "kong-ui-entities-snis-list" }, ul = { key: 1 }, dl = { key: 1 }, pl = /* @__PURE__ */ re({
3426
+ }), Ut = /* @__PURE__ */ _e(ol, [["__scopeId", "data-v-4bb31634"]]), { useAxios: Un, useDeleteUrlBuilder: ll, useErrors: sl, useExternalLinkCreator: Al, useFetchUrlBuilder: xl, useFetcher: cl, useDebouncedFilter: ul, useStringHelpers: Il, useHelpers: _l, useGatewayFeatureSupported: Tl, useTruncationDetector: jl, useValidators: Nl } = ve, dl = { class: "kong-ui-entities-snis-list" }, pl = { key: 1 }, fl = { key: 1 }, gl = /* @__PURE__ */ re({
3427
3427
  __name: "SniList",
3428
3428
  props: {
3429
3429
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3470,7 +3470,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3470
3470
  emits: ["error", "copy:success", "copy:error", "delete:success"],
3471
3471
  setup(e, { emit: t }) {
3472
3472
  var se;
3473
- const n = t, i = e, { i18n: { t: r } } = Vt.useI18n(), { axiosInstance: o } = Kn({
3473
+ const n = t, i = e, { i18n: { t: r } } = Ht.useI18n(), { axiosInstance: o } = Un({
3474
3474
  headers: (se = i.config) == null ? void 0 : se.requestHeaders
3475
3475
  }), a = N(1), l = T(() => i.config.app !== "kongManager" || !!i.config.disableSorting), s = {
3476
3476
  name: { label: r("snis.list.table_headers.name"), searchable: !0, sortable: !0 },
@@ -3482,7 +3482,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3482
3482
  }
3483
3483
  }), c = T(() => {
3484
3484
  var D, Y;
3485
- let j = `${i.config.apiBaseUrl}${Te.list[i.config.app].all}`;
3485
+ let j = `${i.config.apiBaseUrl}${Ne.list[i.config.app].all}`;
3486
3486
  return i.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((D = i.config) == null ? void 0 : D.controlPlaneId) || "") : i.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (Y = i.config) != null && Y.workspace ? `/${i.config.workspace}` : "")), j;
3487
3487
  }), p = N(""), f = T(() => {
3488
3488
  const j = i.config.app === "konnect" || i.config.isExactMatch;
@@ -3497,7 +3497,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3497
3497
  fields: { name: D },
3498
3498
  schema: i.config.filterSchema
3499
3499
  };
3500
- }), { fetcher: v, fetcherState: h } = ll(i.config, c.value), x = () => {
3500
+ }), { fetcher: v, fetcherState: h } = cl(i.config, c.value), I = () => {
3501
3501
  p.value = "";
3502
3502
  }, E = () => {
3503
3503
  a.value++;
@@ -3537,20 +3537,20 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3537
3537
  }, k = (j) => ({
3538
3538
  label: r("actions.edit"),
3539
3539
  to: i.config.getEditRoute(j)
3540
- }), M = N(void 0), R = N(!1), I = N(!1), G = N(""), U = al(i.config, c.value), L = (j) => {
3540
+ }), M = N(void 0), R = N(!1), x = N(!1), G = N(""), U = ll(i.config, c.value), L = (j) => {
3541
3541
  M.value = j, R.value = !0;
3542
3542
  }, Z = () => {
3543
3543
  R.value = !1, M.value = void 0;
3544
3544
  }, de = async () => {
3545
3545
  var j, D, Y;
3546
3546
  if ((j = M.value) != null && j.id) {
3547
- I.value = !0;
3547
+ x.value = !0;
3548
3548
  try {
3549
- await o.delete(U(M.value.id)), n("delete:success", M.value), I.value = !1, Z(), a.value++;
3549
+ await o.delete(U(M.value.id)), n("delete:success", M.value), x.value = !1, Z(), a.value++;
3550
3550
  } catch (S) {
3551
3551
  G.value = ((Y = (D = S.response) == null ? void 0 : D.data) == null ? void 0 : Y.message) || S.message || r("errors.delete"), n("error", S);
3552
3552
  } finally {
3553
- I.value = !1;
3553
+ x.value = !1;
3554
3554
  }
3555
3555
  }
3556
3556
  }, we = N(!0);
@@ -3563,12 +3563,12 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3563
3563
  return;
3564
3564
  }
3565
3565
  C.value = null;
3566
- }), tt(async () => {
3566
+ }), it(async () => {
3567
3567
  await i.canCreate() && (te.value.title = r("snis.list.empty_state.title"), te.value.ctaText = r("actions.create"));
3568
3568
  }), (j, D) => {
3569
- const Y = q("KButton"), S = q("KCopy"), O = q("KBadge"), V = q("KTruncate"), ce = q("KDropdownItem"), ne = q("KClipboardProvider");
3570
- return A(), $("div", cl, [
3571
- _(y(Mo), {
3569
+ const Y = $("KButton"), S = $("KCopy"), O = $("KBadge"), V = $("KTruncate"), ce = $("KDropdownItem"), ne = $("KClipboardProvider");
3570
+ return A(), q("div", dl, [
3571
+ _(y(Lo), {
3572
3572
  "cache-identifier": e.cacheIdentifier,
3573
3573
  "cell-attributes": d,
3574
3574
  "disable-pagination-page-jump": "",
@@ -3584,22 +3584,22 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3584
3584
  query: p.value,
3585
3585
  "table-headers": y(u),
3586
3586
  "use-action-outside": e.useActionOutside,
3587
- onClearSearchInput: x,
3587
+ onClearSearchInput: I,
3588
3588
  onSort: E
3589
3589
  }, {
3590
3590
  "toolbar-filter": b(() => [
3591
- _(y(Xo), {
3591
+ _(y(tl), {
3592
3592
  modelValue: p.value,
3593
3593
  "onUpdate:modelValue": D[0] || (D[0] = (P) => p.value = P),
3594
3594
  config: f.value
3595
3595
  }, null, 8, ["modelValue", "config"])
3596
3596
  ]),
3597
3597
  "toolbar-button": b(() => [
3598
- (A(), z(Le(e.useActionOutside ? "Teleport" : "div"), {
3598
+ (A(), z(qe(e.useActionOutside ? "Teleport" : "div"), {
3599
3599
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
3600
3600
  }, {
3601
3601
  default: b(() => [
3602
- _(y(We), {
3602
+ _(y(Ge), {
3603
3603
  "auth-function": () => e.canCreate()
3604
3604
  }, {
3605
3605
  default: b(() => [
@@ -3634,14 +3634,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3634
3634
  "data-testid": "copy-certificate-uuid",
3635
3635
  text: P.certificate.id,
3636
3636
  truncate: ""
3637
- }, null, 8, ["text"])) : (A(), $("span", ul, "-"))
3637
+ }, null, 8, ["text"])) : (A(), q("span", pl, "-"))
3638
3638
  ]),
3639
3639
  tags: b(({ rowValue: P }) => [
3640
3640
  P != null && P.length ? (A(), z(V, { key: 0 }, {
3641
3641
  default: b(() => [
3642
- (A(!0), $(Ut, null, nt(P, (B) => (A(), z(O, {
3642
+ (A(!0), q(Pt, null, rt(P, (B) => (A(), z(O, {
3643
3643
  key: B,
3644
- onClick: D[1] || (D[1] = Je(() => {
3644
+ onClick: D[1] || (D[1] = Ze(() => {
3645
3645
  }, ["stop"]))
3646
3646
  }, {
3647
3647
  default: b(() => [
@@ -3651,14 +3651,14 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3651
3651
  }, 1024))), 128))
3652
3652
  ]),
3653
3653
  _: 2
3654
- }, 1024)) : (A(), $("span", dl, "-"))
3654
+ }, 1024)) : (A(), q("span", fl, "-"))
3655
3655
  ]),
3656
3656
  actions: b(({ row: P }) => [
3657
3657
  _(ne, null, {
3658
3658
  default: b(({ copyToClipboard: B }) => [
3659
3659
  _(ce, {
3660
3660
  "data-testid": "action-entity-copy-id",
3661
- onClick: (Un) => m(P, B)
3661
+ onClick: (Pn) => m(P, B)
3662
3662
  }, {
3663
3663
  default: b(() => [
3664
3664
  J(F(y(r)("actions.copy_id")), 1)
@@ -3672,7 +3672,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3672
3672
  default: b(({ copyToClipboard: B }) => [
3673
3673
  _(ce, {
3674
3674
  "data-testid": "action-entity-copy-json",
3675
- onClick: (Un) => g(P, B)
3675
+ onClick: (Pn) => g(P, B)
3676
3676
  }, {
3677
3677
  default: b(() => [
3678
3678
  J(F(y(r)("actions.copy_json")), 1)
@@ -3682,7 +3682,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3682
3682
  ]),
3683
3683
  _: 2
3684
3684
  }, 1024),
3685
- _(y(We), {
3685
+ _(y(Ge), {
3686
3686
  "auth-function": () => e.canEdit(P)
3687
3687
  }, {
3688
3688
  default: b(() => [
@@ -3693,7 +3693,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3693
3693
  ]),
3694
3694
  _: 2
3695
3695
  }, 1032, ["auth-function"]),
3696
- _(y(We), {
3696
+ _(y(Ge), {
3697
3697
  "auth-function": () => e.canDelete(P)
3698
3698
  }, {
3699
3699
  default: b(() => [
@@ -3714,11 +3714,11 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3714
3714
  ]),
3715
3715
  _: 1
3716
3716
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
3717
- _(y($o), {
3718
- "action-pending": I.value,
3717
+ _(y(Ro), {
3718
+ "action-pending": x.value,
3719
3719
  description: y(r)("delete.description"),
3720
3720
  "entity-name": M.value && (M.value.name || M.value.id),
3721
- "entity-type": y(zt).SNI,
3721
+ "entity-type": y(Yt).SNI,
3722
3722
  error: G.value,
3723
3723
  "need-confirm": !1,
3724
3724
  title: y(r)("delete.title"),
@@ -3729,16 +3729,16 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3729
3729
  ]);
3730
3730
  };
3731
3731
  }
3732
- }), Rn = (e, t) => {
3732
+ }), Bn = (e, t) => {
3733
3733
  const n = e.__vccOpts || e;
3734
3734
  for (const [i, r] of t)
3735
3735
  n[i] = r;
3736
3736
  return n;
3737
- }, jl = /* @__PURE__ */ Rn(pl, [["__scopeId", "data-v-113966ab"]]), fl = { class: "kong-ui-entities-snis-form" }, gl = { "data-testid": "no-search-results" }, hl = {
3737
+ }, Ol = /* @__PURE__ */ Bn(gl, [["__scopeId", "data-v-113966ab"]]), hl = { class: "kong-ui-entities-snis-form" }, ml = { "data-testid": "no-search-results" }, yl = {
3738
3738
  key: 2,
3739
3739
  class: "invalid-certificate-message",
3740
3740
  "data-testid": "invalid-certificate-message"
3741
- }, ml = /* @__PURE__ */ re({
3741
+ }, vl = /* @__PURE__ */ re({
3742
3742
  __name: "SniForm",
3743
3743
  props: {
3744
3744
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3757,9 +3757,9 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3757
3757
  emits: ["update", "error", "loading"],
3758
3758
  setup(e, { emit: t }) {
3759
3759
  var Y;
3760
- const n = t, i = e, r = Dt(), { i18n: { t: o } } = Vt.useI18n(), { getMessageFromError: a } = ol(), { axiosInstance: l } = Kn({
3760
+ const n = t, i = e, r = zt(), { i18n: { t: o } } = Ht.useI18n(), { getMessageFromError: a } = sl(), { axiosInstance: l } = Un({
3761
3761
  headers: (Y = i.config) == null ? void 0 : Y.requestHeaders
3762
- }), s = T(() => Te.form[i.config.app].edit), u = T(() => i.sniId ? qe.Edit : qe.Create), d = T(() => i.config.certificateId && u.value === qe.Create ? i.config.certificateId : ""), c = gt({
3762
+ }), s = T(() => Ne.form[i.config.app].edit), u = T(() => i.sniId ? Ke.Edit : Ke.Create), d = T(() => i.config.certificateId && u.value === Ke.Create ? i.config.certificateId : ""), c = mt({
3763
3763
  fields: {
3764
3764
  name: "",
3765
3765
  tags: "",
@@ -3767,7 +3767,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3767
3767
  },
3768
3768
  isReadonly: !1,
3769
3769
  errorMessage: ""
3770
- }), p = gt({
3770
+ }), p = mt({
3771
3771
  name: "",
3772
3772
  tags: "",
3773
3773
  certificate_id: ""
@@ -3776,13 +3776,13 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3776
3776
  c.fields.name = (S == null ? void 0 : S.name) || "", c.fields.tags = ((O = S == null ? void 0 : S.tags) == null ? void 0 : O.join(", ")) || "", c.fields.certificate_id = ((V = S == null ? void 0 : S.certificate) == null ? void 0 : V.id) || "", Object.assign(p, c.fields);
3777
3777
  }, h = () => {
3778
3778
  r.push(i.config.cancelRoute);
3779
- }, x = T(() => {
3779
+ }, I = T(() => {
3780
3780
  var O, V;
3781
- let S = `${i.config.apiBaseUrl}${Te.form[i.config.app].validate}`;
3781
+ let S = `${i.config.apiBaseUrl}${Ne.form[i.config.app].validate}`;
3782
3782
  return i.config.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, ((O = i.config) == null ? void 0 : O.controlPlaneId) || "") : i.config.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, (V = i.config) != null && V.workspace ? `/${i.config.workspace}` : "")), S = S.replace(/{id}/gi, i.sniId), S;
3783
3783
  }), E = T(() => {
3784
3784
  var O, V;
3785
- let S = `${i.config.apiBaseUrl}${Te.form[i.config.app][u.value]}`;
3785
+ let S = `${i.config.apiBaseUrl}${Ne.form[i.config.app][u.value]}`;
3786
3786
  return i.config.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, ((O = i.config) == null ? void 0 : O.controlPlaneId) || "") : i.config.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, (V = i.config) != null && V.workspace ? `/${i.config.workspace}` : "")), S = S.replace(/{id}/gi, i.sniId), S;
3787
3787
  }), C = T(() => {
3788
3788
  var S, O;
@@ -3796,7 +3796,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3796
3796
  try {
3797
3797
  c.isReadonly = !0;
3798
3798
  let B;
3799
- await l.post(x.value, C.value), u.value === "create" ? B = await l.post(E.value, C.value) : u.value === "edit" && (B = ((S = i.config) == null ? void 0 : S.app) === "konnect" ? await l.put(E.value, C.value) : await l.patch(E.value, C.value)), c.fields.name = ((O = B == null ? void 0 : B.data) == null ? void 0 : O.name) || "", c.fields.tags = ((ce = (V = B == null ? void 0 : B.data) == null ? void 0 : V.tags) == null ? void 0 : ce.join(", ")) || "", c.fields.certificate_id = ((P = (ne = B == null ? void 0 : B.data) == null ? void 0 : ne.certificate) == null ? void 0 : P.id) || "", Object.assign(p, c.fields), n("update", B == null ? void 0 : B.data);
3799
+ await l.post(I.value, C.value), u.value === "create" ? B = await l.post(E.value, C.value) : u.value === "edit" && (B = ((S = i.config) == null ? void 0 : S.app) === "konnect" ? await l.put(E.value, C.value) : await l.patch(E.value, C.value)), c.fields.name = ((O = B == null ? void 0 : B.data) == null ? void 0 : O.name) || "", c.fields.tags = ((ce = (V = B == null ? void 0 : B.data) == null ? void 0 : V.tags) == null ? void 0 : ce.join(", ")) || "", c.fields.certificate_id = ((P = (ne = B == null ? void 0 : B.data) == null ? void 0 : ne.certificate) == null ? void 0 : P.id) || "", Object.assign(p, c.fields), n("update", B == null ? void 0 : B.data);
3800
3800
  } catch (B) {
3801
3801
  c.errorMessage = a(B), n("error", B);
3802
3802
  } finally {
@@ -3808,9 +3808,9 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3808
3808
  allRecords: k,
3809
3809
  error: M,
3810
3810
  validationError: R,
3811
- loadItems: I,
3811
+ loadItems: x,
3812
3812
  results: G
3813
- } = sl(i.config, Te.form[i.config.app].certificates), U = (S) => {
3813
+ } = ul(i.config, Ne.form[i.config.app].certificates), U = (S) => {
3814
3814
  m(S);
3815
3815
  }, L = T(() => M.value ? o("errors.certificates.fetch") : ""), Z = T(() => R.value ? o("errors.certificates.invalid") : ""), de = N(0), we = T(() => k.value === void 0), se = N(/* @__PURE__ */ new Set()), j = T(() => Array.from(se.value).map((O) => ({
3816
3816
  label: O,
@@ -3826,12 +3826,12 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3826
3826
  D(S);
3827
3827
  }, { immediate: !0, deep: !0 }), he(j, () => {
3828
3828
  de.value++;
3829
- }, { immediate: !0, deep: !0 }), tt(async () => {
3830
- await I();
3829
+ }, { immediate: !0, deep: !0 }), it(async () => {
3830
+ await x();
3831
3831
  }), (S, O) => {
3832
- const V = q("KInput"), ce = q("KSelect");
3833
- return A(), $("div", fl, [
3834
- _(y(Io), {
3832
+ const V = $("KInput"), ce = $("KSelect");
3833
+ return A(), q("div", hl, [
3834
+ _(y(_o), {
3835
3835
  "can-submit": f.value,
3836
3836
  config: e.config,
3837
3837
  "edit-id": e.sniId,
@@ -3846,7 +3846,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3846
3846
  onSubmit: te
3847
3847
  }, {
3848
3848
  default: b(() => [
3849
- _(y(Kt), {
3849
+ _(y(Ut), {
3850
3850
  description: y(o)("form.sections.general.description"),
3851
3851
  title: y(o)("form.sections.general.title")
3852
3852
  }, {
@@ -3879,7 +3879,7 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3879
3879
  ]),
3880
3880
  _: 1
3881
3881
  }, 8, ["description", "title"]),
3882
- _(y(Kt), {
3882
+ _(y(Ut), {
3883
3883
  description: y(o)("form.sections.certificate.description"),
3884
3884
  "has-divider": "",
3885
3885
  title: y(o)("form.sections.certificate.title")
@@ -3915,11 +3915,11 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3915
3915
  K("div", null, F(y(o)("actions.loading")), 1)
3916
3916
  ]),
3917
3917
  empty: b(() => [
3918
- K("div", gl, F(y(o)("search.no_results")), 1)
3918
+ K("div", ml, F(y(o)("search.no_results")), 1)
3919
3919
  ]),
3920
3920
  _: 1
3921
3921
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly"])),
3922
- Z.value ? (A(), $("p", hl, F(Z.value), 1)) : X("", !0)
3922
+ Z.value ? (A(), q("p", yl, F(Z.value), 1)) : X("", !0)
3923
3923
  ]),
3924
3924
  _: 1
3925
3925
  }, 8, ["description", "title"])
@@ -3929,8 +3929,8 @@ const no = { class: "yaml-config" }, io = /* @__PURE__ */ re({
3929
3929
  ]);
3930
3930
  };
3931
3931
  }
3932
- }), Nl = /* @__PURE__ */ Rn(ml, [["__scopeId", "data-v-3880eb83"]]);
3932
+ }), El = /* @__PURE__ */ Bn(vl, [["__scopeId", "data-v-3880eb83"]]);
3933
3933
  export {
3934
- Nl as SniForm,
3935
- jl as SniList
3934
+ El as SniForm,
3935
+ Ol as SniList
3936
3936
  };