@kong-ui-public/entities-key-sets 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 Y, ref as N, computed as A, watch as Ae, renderSlot as W, createCommentVNode as z, unref as k, onBeforeMount as ut, resolveComponent as K, openBlock as h, createBlock as U, createSlots as Oe, withCtx as b, createElementVNode as B, createVNode as I, createTextVNode as V, toDisplayString as q, renderList as se, createElementBlock as T, withModifiers as at, withDirectives as ye, vShow as me, Fragment as de, normalizeClass as ve, withKeys as Qn, useSlots as dt, resolveDynamicComponent as Ce, useCssVars as Yt, inject as Xn, onMounted as ea, onUnmounted as ta, normalizeStyle as He, normalizeProps as na, guardReactiveProps as aa, mergeProps as ra, pushScopeId as Je, popScopeId as Ye, reactive as xt } from "vue";
2
- import { useRouter as pt } from "vue-router";
3
- import { createI18n as Wt, i18nTComponent as Zt } from "@kong-ui-public/i18n";
4
- import At from "axios";
5
- import { BadgeMethodAppearances as ia } from "@kong/kongponents";
6
- const oa = {
1
+ import { defineComponent as Y, ref as N, computed as x, watch as xe, renderSlot as W, createCommentVNode as z, unref as k, onBeforeMount as pt, resolveComponent as K, openBlock as h, createBlock as R, createSlots as $e, withCtx as b, createElementVNode as B, createVNode as I, createTextVNode as V, toDisplayString as q, renderList as se, createElementBlock as T, withModifiers as it, withDirectives as ye, vShow as me, Fragment as de, normalizeClass as ve, withKeys as ea, useSlots as ft, resolveDynamicComponent as Ce, useCssVars as Zt, inject as ta, onMounted as na, onUnmounted as aa, normalizeStyle as He, normalizeProps as ra, guardReactiveProps as ia, mergeProps as oa, pushScopeId as Je, popScopeId as Ye, reactive as It } from "vue";
2
+ import { useRouter as gt } from "vue-router";
3
+ import { createI18n as Gt, i18nTComponent as Qt } from "@kong-ui-public/i18n";
4
+ import _t from "axios";
5
+ import { BadgeMethodAppearances as la } from "@kong/kongponents";
6
+ const sa = {
7
7
  title: "Key Sets",
8
8
  list: {
9
9
  toolbar_actions: {
@@ -64,48 +64,48 @@ const oa = {
64
64
  }
65
65
  }
66
66
  }
67
- }, la = {
68
- keySets: oa
67
+ }, ca = {
68
+ keySets: sa
69
69
  };
70
- function sa() {
71
- const e = Wt("en-us", la);
70
+ function ua() {
71
+ const e = Gt("en-us", ca);
72
72
  return {
73
73
  i18n: e,
74
- i18nT: Zt(e)
74
+ i18nT: Qt(e)
75
75
  // Translation component <i18n-t>
76
76
  };
77
77
  }
78
- const ft = {
79
- useI18n: sa
80
- }, Re = {
78
+ const yt = {
79
+ useI18n: ua
80
+ }, Xe = "/v2/control-planes/{controlPlaneId}/core-entities", et = "/{workspace}", Ue = {
81
81
  list: {
82
- konnect: "/api/runtime_groups/{controlPlaneId}/key-sets",
83
- kongManager: "/{workspace}/key-sets"
82
+ konnect: `${Xe}/key-sets`,
83
+ kongManager: `${et}/key-sets`
84
84
  },
85
85
  form: {
86
86
  konnect: {
87
- create: "/api/runtime_groups/{controlPlaneId}/key-sets",
88
- edit: "/api/runtime_groups/{controlPlaneId}/key-sets/{id}"
87
+ create: `${Xe}/key-sets`,
88
+ edit: `${Xe}/key-sets/{id}`
89
89
  },
90
90
  kongManager: {
91
- create: "/{workspace}/key-sets",
92
- edit: "/{workspace}/key-sets/{id}"
91
+ create: `${et}/key-sets`,
92
+ edit: `${et}/key-sets/{id}`
93
93
  }
94
94
  }
95
95
  };
96
- var Gt = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(Gt || {}), rt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(rt || {}), Se = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Se || {}), J = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(J || {}), le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(le || {});
97
- function ca() {
96
+ var Xt = /* @__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))(Xt || {}), ot = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ot || {}), Se = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Se || {}), J = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(J || {}), le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(le || {});
97
+ function da() {
98
98
  return {
99
99
  getAxiosInstance: (e = {}) => {
100
100
  try {
101
- const t = Xn("get-axios-instance", void 0);
102
- return typeof t == "function" ? t(e) : At.create({
101
+ const t = ta("get-axios-instance", void 0);
102
+ return typeof t == "function" ? t(e) : _t.create({
103
103
  withCredentials: !0,
104
104
  timeout: 3e4,
105
105
  ...e
106
106
  });
107
107
  } catch (t) {
108
- return console.warn("getAxiosInstance:", t.message || t), At.create({
108
+ return console.warn("getAxiosInstance:", t.message || t), _t.create({
109
109
  withCredentials: !0,
110
110
  timeout: 3e4,
111
111
  ...e
@@ -118,7 +118,7 @@ function ca() {
118
118
  }
119
119
  };
120
120
  }
121
- function ua() {
121
+ function pa() {
122
122
  return {
123
123
  debounce: (e, t) => {
124
124
  let n;
@@ -130,12 +130,12 @@ function ua() {
130
130
  }
131
131
  };
132
132
  }
133
- const Xe = "khcp-user-table-preferences", da = {
133
+ const tt = "khcp-user-table-preferences", fa = {
134
134
  pageSize: 30,
135
135
  sortColumnKey: void 0,
136
136
  sortColumnOrder: void 0
137
137
  };
138
- function pa() {
138
+ function ga() {
139
139
  const e = (n) => {
140
140
  if (typeof n == "string")
141
141
  try {
@@ -145,44 +145,44 @@ function pa() {
145
145
  return;
146
146
  }
147
147
  }, t = () => {
148
- const n = e(localStorage.getItem(Xe));
148
+ const n = e(localStorage.getItem(tt));
149
149
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
150
150
  };
151
151
  return {
152
152
  setTablePreferences: (n, r) => {
153
153
  try {
154
154
  const a = t();
155
- a.set(n, r), localStorage.setItem(Xe, JSON.stringify(Object.fromEntries(a.entries())));
155
+ a.set(n, r), localStorage.setItem(tt, JSON.stringify(Object.fromEntries(a.entries())));
156
156
  } catch (a) {
157
157
  console.error("useTablePreferences(setTablePreferences)", a);
158
158
  }
159
159
  },
160
160
  getTablePreferences: (n) => {
161
161
  const r = t();
162
- return (r == null ? void 0 : r.get(n)) || void 0 || da;
162
+ return (r == null ? void 0 : r.get(n)) || void 0 || fa;
163
163
  },
164
164
  deleteAllTablePreferences: () => {
165
- localStorage.removeItem(Xe);
165
+ localStorage.removeItem(tt);
166
166
  }
167
167
  };
168
168
  }
169
- function gt(e = {}) {
170
- const { getAxiosInstance: t } = ca();
169
+ function mt(e = {}) {
170
+ const { getAxiosInstance: t } = da();
171
171
  return {
172
172
  axiosInstance: t(e)
173
173
  };
174
174
  }
175
- const fa = {
175
+ const ya = {
176
176
  actions: {
177
177
  copyId: "Copy ID",
178
178
  copied_id: 'Copied "{id}" to the clipboard',
179
179
  copyToClipboard: "Copied successfully!",
180
180
  copyToClipboardFailed: "Failed to copy to the clipboard"
181
181
  }
182
- }, ga = {
182
+ }, ma = {
183
183
  message: "Are you sure you want to delete this {entityType}?",
184
184
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
185
- }, ya = {
185
+ }, ha = {
186
186
  actions: {
187
187
  viewConfiguration: "View Configuration",
188
188
  save: "Save",
@@ -198,13 +198,13 @@ const fa = {
198
198
  errors: {
199
199
  edit: "The entity could not be edited at this time."
200
200
  }
201
- }, ma = {
201
+ }, va = {
202
202
  emptyState: {
203
203
  noSearchResultsTitle: "No results found",
204
204
  noSearchResultsMessage: "Please adjust the criteria and try again.",
205
205
  noSearchResultsCtaText: "Clear"
206
206
  }
207
- }, ha = {
207
+ }, ba = {
208
208
  title: "Configuration",
209
209
  actions: {
210
210
  copy: "Copy JSON"
@@ -239,7 +239,7 @@ const fa = {
239
239
  entryTitle: "Entry {index}",
240
240
  structuredFormat: "Structured"
241
241
  }
242
- }, va = {
242
+ }, ka = {
243
243
  filterButtonText: "Filter",
244
244
  fieldLabel: "Filter by:",
245
245
  inputPlaceholder: "Enter a value",
@@ -247,17 +247,17 @@ const fa = {
247
247
  applyButtonText: "Apply",
248
248
  clearButtonText: "Clear",
249
249
  clearAllButtonText: "Clear all filters"
250
- }, ba = {
250
+ }, Ca = {
251
251
  errors: {
252
252
  fetch: "Could not fetch available items",
253
253
  invalid: "Please select a valid value"
254
254
  }
255
- }, ka = {
255
+ }, wa = {
256
256
  unexpected: "An unexpected error has occurred",
257
257
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
258
- }, Ca = {
258
+ }, Sa = {
259
259
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
260
- }, wa = {
260
+ }, Aa = {
261
261
  enable: {
262
262
  title: "Enable {entityType}",
263
263
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -268,27 +268,27 @@ const fa = {
268
268
  message: "Are you sure you want to disable the {entityType} {entityName}?",
269
269
  confirmText: "Yes, disable"
270
270
  }
271
- }, Sa = {
272
- global: fa,
273
- deleteModal: ga,
274
- baseForm: ya,
275
- baseTable: ma,
276
- baseConfigCard: ha,
277
- filter: va,
278
- debouncedFilter: ba,
279
- errors: ka,
280
- validationErrors: Ca,
281
- toggleModal: wa
271
+ }, xa = {
272
+ global: ya,
273
+ deleteModal: ma,
274
+ baseForm: ha,
275
+ baseTable: va,
276
+ baseConfigCard: ba,
277
+ filter: ka,
278
+ debouncedFilter: Ca,
279
+ errors: wa,
280
+ validationErrors: Sa,
281
+ toggleModal: Aa
282
282
  };
283
283
  function We() {
284
- const e = Wt("en-us", Sa);
284
+ const e = Gt("en-us", xa);
285
285
  return {
286
286
  i18n: e,
287
- i18nT: Zt(e)
287
+ i18nT: Qt(e)
288
288
  // Translation component <i18n-t>
289
289
  };
290
290
  }
291
- function Qt() {
291
+ function en() {
292
292
  const e = (n, r) => (r == null ? void 0 : r[n]) ?? void 0, t = (n, r) => {
293
293
  if (n.length !== r.length)
294
294
  return !1;
@@ -332,19 +332,19 @@ function Qt() {
332
332
  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
333
333
  };
334
334
  }
335
- function xa(e, t, n, r = {
335
+ function Ia(e, t, n, r = {
336
336
  fetchedItemsKey: "data",
337
337
  searchKeys: ["id"]
338
338
  }) {
339
339
  n || (n = "1000");
340
- const { axiosInstance: a } = gt({
340
+ const { axiosInstance: a } = mt({
341
341
  headers: e.requestHeaders
342
- }), { i18n: { t: o } } = We(), { debounce: i } = ua(), l = i(async (g) => {
342
+ }), { i18n: { t: o } } = We(), { debounce: i } = pa(), l = i(async (g) => {
343
343
  await E(g);
344
344
  }, 200), s = N(!1), u = N(""), d = N(""), c = N([]), m = N([]), y = N(void 0), C = k(t);
345
345
  let v = `${e.apiBaseUrl}${C}`;
346
346
  e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
347
- const { isValidUuid: w } = Qt(), L = async () => {
347
+ const { isValidUuid: w } = en(), L = async () => {
348
348
  try {
349
349
  s.value = !0;
350
350
  const { data: g } = await a.get(`${v}?size=${n}`);
@@ -362,24 +362,24 @@ function xa(e, t, n, r = {
362
362
  if (s.value = !0, u.value = "", d.value = "", e.app === "konnect") {
363
363
  let F = v + "";
364
364
  g && (F += `/${g}`);
365
- const { data: x } = await a.get(`${F}?size=${n}`);
366
- r.fetchedItemsKey in x ? c.value = x[r.fetchedItemsKey] : x != null && x.id ? c.value = [x] : c.value = [];
365
+ const { data: A } = await a.get(`${F}?size=${n}`);
366
+ r.fetchedItemsKey in A ? c.value = A[r.fetchedItemsKey] : A != null && A.id ? c.value = [A] : c.value = [];
367
367
  } else if (g) {
368
368
  const F = [];
369
369
  w(g) && r.searchKeys.includes("id") ? F.push((async () => {
370
- const { data: O } = await a.get(`${v}/${g}`);
371
- return [O[r.fetchedItemsKey] ?? O];
370
+ const { data: $ } = await a.get(`${v}/${g}`);
371
+ return [$[r.fetchedItemsKey] ?? $];
372
372
  })()) : F.push(
373
- ...r.searchKeys.filter((O) => O !== "id").map(async (O) => {
374
- const { data: j } = await a.get(`${v}?${O}=${g}`);
373
+ ...r.searchKeys.filter(($) => $ !== "id").map(async ($) => {
374
+ const { data: j } = await a.get(`${v}?${$}=${g}`);
375
375
  return j[r.fetchedItemsKey];
376
376
  })
377
377
  );
378
- const x = await Promise.all(F), R = /* @__PURE__ */ new Set();
379
- c.value = [], (f = x == null ? void 0 : x.forEach) == null || f.call(x, (O) => {
378
+ const A = await Promise.all(F), U = /* @__PURE__ */ new Set();
379
+ c.value = [], (f = A == null ? void 0 : A.forEach) == null || f.call(A, ($) => {
380
380
  var j;
381
- (j = O == null ? void 0 : O.forEach) == null || j.call(O, (P) => {
382
- R.has(P.id) || (R.add(P.id), c.value.push(P));
381
+ (j = $ == null ? void 0 : $.forEach) == null || j.call($, (D) => {
382
+ U.has(D.id) || (U.add(D.id), c.value.push(D));
383
383
  });
384
384
  });
385
385
  } else
@@ -391,13 +391,13 @@ function xa(e, t, n, r = {
391
391
  }
392
392
  else
393
393
  s.value = !0, d.value = "", g ? (c.value = (M = y.value) == null ? void 0 : M.filter((F) => {
394
- var x;
395
- let R = !1;
396
- for (const O of r.searchKeys) {
397
- const j = typeof F[O] == "string" ? (x = F[O]) == null ? void 0 : x.toLowerCase() : F[O];
398
- j != null && j.includes(g.toLowerCase()) && (R = !0);
394
+ var A;
395
+ let U = !1;
396
+ for (const $ of r.searchKeys) {
397
+ const j = typeof F[$] == "string" ? (A = F[$]) == null ? void 0 : A.toLowerCase() : F[$];
398
+ j != null && j.includes(g.toLowerCase()) && (U = !0);
399
399
  }
400
- return R;
400
+ return U;
401
401
  }), (!c.value || !c.value.length) && (d.value = o("debouncedFilter.errors.invalid"))) : c.value = y.value, s.value = !1;
402
402
  };
403
403
  return {
@@ -410,13 +410,13 @@ function xa(e, t, n, r = {
410
410
  debouncedQueryChange: l
411
411
  };
412
412
  }
413
- function Aa(e, t) {
414
- const n = k(t), r = A(
413
+ function _a(e, t) {
414
+ const n = k(t), r = x(
415
415
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
416
416
  );
417
417
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
418
418
  }
419
- function Ia() {
419
+ function ja() {
420
420
  const { i18n: { t: e } } = We();
421
421
  return {
422
422
  getMessageFromError: (t) => {
@@ -446,7 +446,7 @@ function Ia() {
446
446
  }
447
447
  };
448
448
  }
449
- function _a(e) {
449
+ function Ta(e) {
450
450
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
451
451
  try {
452
452
  const r = e.join("/"), a = `${n}${r}`, o = e.some((i) => i.trim() === "");
@@ -457,10 +457,10 @@ function _a(e) {
457
457
  return console.warn("Failed to build valid URL:", r), "";
458
458
  }
459
459
  }
460
- function Xt(e, t) {
461
- const n = N(k(e)), r = N(k(t)), a = A(
460
+ function tn(e, t) {
461
+ const n = N(k(e)), r = N(k(t)), a = x(
462
462
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
463
- ), o = A(
463
+ ), o = x(
464
464
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
465
465
  );
466
466
  return (i) => {
@@ -475,12 +475,12 @@ function Xt(e, t) {
475
475
  }
476
476
  };
477
477
  }
478
- function ja(e, t, n = "data") {
478
+ function $a(e, t, n = "data") {
479
479
  var r;
480
- const a = k(t), { axiosInstance: o } = gt({
480
+ const a = k(t), { axiosInstance: o } = mt({
481
481
  ...e.axiosRequestConfig,
482
482
  headers: { ...(r = e.axiosRequestConfig) == null ? void 0 : r.headers, ...e.requestHeaders }
483
- }), i = Xt(e, a), l = N({
483
+ }), i = tn(e, a), l = N({
484
484
  status: Se.Idle
485
485
  });
486
486
  return { fetcher: async (s) => {
@@ -525,100 +525,100 @@ function ja(e, t, n = "data") {
525
525
  }
526
526
  }, fetcherState: l };
527
527
  }
528
- function Ta() {
528
+ function Oa() {
529
529
  const e = (n, r = "_") => n ? n.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
530
530
  return {
531
531
  capitalize: (n) => n ? n.replace(t, (r) => r.toUpperCase()) : "",
532
532
  convertKeyToTitle: e
533
533
  };
534
534
  }
535
- const en = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, It = (e) => {
535
+ const nn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, jt = (e) => {
536
536
  if (typeof e != "string")
537
537
  throw new TypeError("Invalid argument expected string");
538
- const t = e.match(en);
538
+ const t = e.match(nn);
539
539
  if (!t)
540
540
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
541
541
  return t.shift(), t;
542
- }, _t = (e) => e === "*" || e === "x" || e === "X", jt = (e) => {
542
+ }, Tt = (e) => e === "*" || e === "x" || e === "X", $t = (e) => {
543
543
  const t = parseInt(e, 10);
544
544
  return isNaN(t) ? e : t;
545
- }, Oa = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], $a = (e, t) => {
546
- if (_t(e) || _t(t))
545
+ }, Ma = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Na = (e, t) => {
546
+ if (Tt(e) || Tt(t))
547
547
  return 0;
548
- const [n, r] = Oa(jt(e), jt(t));
548
+ const [n, r] = Ma($t(e), $t(t));
549
549
  return n > r ? 1 : n < r ? -1 : 0;
550
- }, Tt = (e, t) => {
550
+ }, Ot = (e, t) => {
551
551
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
552
- const r = $a(e[n] || "0", t[n] || "0");
552
+ const r = Na(e[n] || "0", t[n] || "0");
553
553
  if (r !== 0)
554
554
  return r;
555
555
  }
556
556
  return 0;
557
- }, Ma = (e, t) => {
558
- const n = It(e), r = It(t), a = n.pop(), o = r.pop(), i = Tt(n, r);
559
- return i !== 0 ? i : a && o ? Tt(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
560
- }, Ot = (e, t, n) => {
561
- Na(n);
562
- const r = Ma(e, t);
563
- return tn[n].includes(r);
564
- }, tn = {
557
+ }, Ea = (e, t) => {
558
+ const n = jt(e), r = jt(t), a = n.pop(), o = r.pop(), i = Ot(n, r);
559
+ return i !== 0 ? i : a && o ? Ot(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
560
+ }, Mt = (e, t, n) => {
561
+ Fa(n);
562
+ const r = Ea(e, t);
563
+ return an[n].includes(r);
564
+ }, an = {
565
565
  ">": [1],
566
566
  ">=": [0, 1],
567
567
  "=": [0],
568
568
  "<=": [-1, 0],
569
569
  "<": [-1],
570
570
  "!=": [-1, 1]
571
- }, $t = Object.keys(tn), Na = (e) => {
571
+ }, Nt = Object.keys(an), Fa = (e) => {
572
572
  if (typeof e != "string")
573
573
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
574
- if ($t.indexOf(e) === -1)
575
- throw new Error(`Invalid operator, expected one of ${$t.join("|")}`);
576
- }, Ea = (e) => typeof e == "string" && /^[v\d]/.test(e) && en.test(e);
577
- function Fa(e) {
574
+ if (Nt.indexOf(e) === -1)
575
+ throw new Error(`Invalid operator, expected one of ${Nt.join("|")}`);
576
+ }, qa = (e) => typeof e == "string" && /^[v\d]/.test(e) && nn.test(e);
577
+ function Ka(e) {
578
578
  const { gatewayInfo: t, supportedRange: n } = e;
579
579
  if (!t)
580
580
  return !0;
581
581
  const { edition: r, version: a } = t;
582
- if (!Ea(a))
582
+ if (!qa(a))
583
583
  return console.error("Invalid version"), !1;
584
584
  const o = n[r];
585
585
  if (!o)
586
586
  return !1;
587
587
  const [i, l] = o;
588
- return !(i && Ot(a, i, "<") || l && Ot(a, l, ">"));
588
+ return !(i && Mt(a, i, "<") || l && Mt(a, l, ">"));
589
589
  }
590
- function qa(e) {
590
+ function La(e) {
591
591
  const t = N(0), n = N(0), r = N(!1);
592
- return Ae(e, (a) => {
592
+ return xe(e, (a) => {
593
593
  a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
594
594
  }), {
595
- isTruncated: A(() => t.value < n.value)
595
+ isTruncated: x(() => t.value < n.value)
596
596
  };
597
597
  }
598
- function Ka() {
598
+ function Ba() {
599
599
  const { i18n: { t: e } } = We();
600
600
  return {
601
601
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
602
602
  };
603
603
  }
604
604
  const X = {
605
- useAxios: gt,
606
- useDebouncedFilter: xa,
607
- useDeleteUrlBuilder: Aa,
608
- useErrors: Ia,
609
- useExternalLinkCreator: _a,
610
- useFetcher: ja,
611
- useFetchUrlBuilder: Xt,
612
- useHelpers: Qt,
613
- useStringHelpers: Ta,
605
+ useAxios: mt,
606
+ useDebouncedFilter: Ia,
607
+ useDeleteUrlBuilder: _a,
608
+ useErrors: ja,
609
+ useExternalLinkCreator: Ta,
610
+ useFetcher: $a,
611
+ useFetchUrlBuilder: tn,
612
+ useHelpers: en,
613
+ useStringHelpers: Oa,
614
614
  useI18n: We,
615
- useGatewayFeatureSupported: Fa,
616
- useTruncationDetector: qa,
617
- useValidators: Ka
618
- }, La = {
615
+ useGatewayFeatureSupported: Ka,
616
+ useTruncationDetector: La,
617
+ useValidators: Ba
618
+ }, Ua = {
619
619
  key: 0,
620
620
  class: "config-card-fieldset-title"
621
- }, Ba = /* @__PURE__ */ Y({
621
+ }, Ra = /* @__PURE__ */ Y({
622
622
  __name: "JsonCardItem",
623
623
  props: {
624
624
  item: {
@@ -635,21 +635,21 @@ const X = {
635
635
  }
636
636
  },
637
637
  setup(e) {
638
- const t = e, { i18n: { t: n } } = X.useI18n(), { convertKeyToTitle: r } = X.useStringHelpers(), a = A(() => t.item.key ?? "json-array-item"), o = A(() => t.item.value ?? t.item), i = A(() => {
638
+ const t = e, { i18n: { t: n } } = X.useI18n(), { convertKeyToTitle: r } = X.useStringHelpers(), a = x(() => t.item.key ?? "json-array-item"), o = x(() => t.item.value ?? t.item), i = x(() => {
639
639
  const s = JSON.parse(JSON.stringify(o.value));
640
640
  return t.isArrayItem && delete s.name, s;
641
- }), l = A(() => {
641
+ }), l = x(() => {
642
642
  var s;
643
643
  return t.isArrayItem ? (s = o.value) != null && s.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
644
644
  });
645
- return (s, u) => (h(), U(Ce(e.isArrayItem ? "fieldset" : "div"), {
645
+ return (s, u) => (h(), R(Ce(e.isArrayItem ? "fieldset" : "div"), {
646
646
  class: ve(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
647
647
  }, {
648
648
  default: b(() => [
649
- e.isArrayItem ? (h(), T("legend", La, [
649
+ e.isArrayItem ? (h(), T("legend", Ua, [
650
650
  B("b", null, q(l.value), 1)
651
651
  ])) : z("", !0),
652
- (h(!0), T(de, null, se(Object.keys(i.value), (d, c) => (h(), U(an, {
652
+ (h(!0), T(de, null, se(Object.keys(i.value), (d, c) => (h(), R(on, {
653
653
  key: `${a.value}-property-${c}`,
654
654
  item: {
655
655
  key: d,
@@ -666,7 +666,7 @@ const X = {
666
666
  for (const [r, a] of t)
667
667
  n[r] = a;
668
668
  return n;
669
- }, nn = /* @__PURE__ */ ce(Ba, [["__scopeId", "data-v-68ca83ec"]]), Ra = /* @__PURE__ */ Y({
669
+ }, rn = /* @__PURE__ */ ce(Ra, [["__scopeId", "data-v-68ca83ec"]]), Da = /* @__PURE__ */ Y({
670
670
  __name: "InternalLinkItem",
671
671
  props: {
672
672
  item: {
@@ -693,7 +693,7 @@ const X = {
693
693
  ]);
694
694
  };
695
695
  }
696
- }), Ua = /* @__PURE__ */ ce(Ra, [["__scopeId", "data-v-c96811e5"]]), Pa = /* @__PURE__ */ Y({
696
+ }), Pa = /* @__PURE__ */ ce(Da, [["__scopeId", "data-v-c96811e5"]]), Va = /* @__PURE__ */ Y({
697
697
  __name: "StatusBadge",
698
698
  props: {
699
699
  status: {
@@ -705,7 +705,7 @@ const X = {
705
705
  const { i18n: { t } } = X.useI18n();
706
706
  return (n, r) => {
707
707
  const a = K("KBadge");
708
- return h(), U(a, {
708
+ return h(), R(a, {
709
709
  appearance: e.status ? "success" : "neutral"
710
710
  }, {
711
711
  default: b(() => [
@@ -715,11 +715,11 @@ const X = {
715
715
  }, 8, ["appearance"]);
716
716
  };
717
717
  }
718
- }), Da = "#0044f4", Va = "#e0e4ea", za = "#3a3f51", Ha = "#afb7c5", Ja = "1px", Ya = "20px", Wa = { class: "config-card-details-row" }, Za = ["data-testid"], Ga = ["data-testid"], Qa = ["data-testid"], Xa = ["data-testid"], er = { key: 1 }, tr = ["data-testid"], nr = ["data-testid"], ar = ["data-testid"], rr = ["data-testid"], ir = {
718
+ }), za = "#0044f4", Ha = "#e0e4ea", Ja = "#3a3f51", Ya = "#afb7c5", Wa = "1px", Za = "20px", Ga = { class: "config-card-details-row" }, Qa = ["data-testid"], Xa = ["data-testid"], er = ["data-testid"], tr = ["data-testid"], nr = { key: 1 }, ar = ["data-testid"], rr = ["data-testid"], ir = ["data-testid"], or = ["data-testid"], lr = {
719
719
  name: "ConfigCardItem",
720
- components: { JsonCardItem: nn, StatusBadge: Pa, InternalLinkItem: Ua }
721
- }, or = /* @__PURE__ */ Y({
722
- ...ir,
720
+ components: { JsonCardItem: rn, StatusBadge: Va, InternalLinkItem: Pa }
721
+ }, sr = /* @__PURE__ */ Y({
722
+ ...lr,
723
723
  props: {
724
724
  item: {
725
725
  type: Object,
@@ -738,13 +738,13 @@ const X = {
738
738
  },
739
739
  emits: ["navigation-click"],
740
740
  setup(e, { emit: t }) {
741
- Yt((C) => ({
742
- "07753575": d.value ? "none" : `solid ${k(Ja)} ${k(Va)}`,
741
+ Zt((C) => ({
742
+ "07753575": d.value ? "none" : `solid ${k(Wa)} ${k(Ha)}`,
743
743
  "32d44ea8": u.value && l.value ? "block" : "flex",
744
744
  "5036b738": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
745
745
  "5038fd13": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
746
746
  }));
747
- const n = e, r = t, a = dt(), { i18n: { t: o, formatUnixTimeStamp: i } } = X.useI18n(), l = A(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = A(() => !!(n.item.tooltip || a["label-tooltip"])), u = A(() => n.item.type === J.Json || n.item.type === J.JsonArray), d = A(() => n.item.type === J.JsonArray), c = A(() => {
747
+ const n = e, r = t, a = ft(), { i18n: { t: o, formatUnixTimeStamp: i } } = X.useI18n(), l = x(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = x(() => !!(n.item.tooltip || a["label-tooltip"])), u = x(() => n.item.type === J.Json || n.item.type === J.JsonArray), d = x(() => n.item.type === J.JsonArray), c = x(() => {
748
748
  switch (n.item.type) {
749
749
  case J.ID:
750
750
  return {
@@ -857,13 +857,13 @@ const X = {
857
857
  }), m = N(), { isTruncated: y } = X.useTruncationDetector(m);
858
858
  return (C, v) => {
859
859
  const w = K("KLabel"), L = K("KBadge"), _ = K("KCopy"), E = K("KTooltip");
860
- return h(), T("div", Wa, [
860
+ return h(), T("div", Ga, [
861
861
  B("div", {
862
862
  class: "config-card-details-label",
863
863
  "data-testid": `${e.item.key}-label`
864
864
  }, [
865
865
  W(C.$slots, "label", { item: e.item }, () => [
866
- I(w, { "tooltip-attributes": { maxWidth: "500px" } }, Oe({
866
+ I(w, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
867
867
  default: b(() => [
868
868
  V(q(e.item.label) + " ", 1)
869
869
  ]),
@@ -878,13 +878,13 @@ const X = {
878
878
  W(C.$slots, "label-tooltip", {}, () => [
879
879
  V(q(e.item.tooltip), 1)
880
880
  ], !0)
881
- ], 8, Ga)
881
+ ], 8, Xa)
882
882
  ]),
883
883
  key: "0"
884
884
  } : void 0
885
885
  ]), 1024)
886
886
  ], !0)
887
- ], 8, Za),
887
+ ], 8, Qa),
888
888
  B("div", {
889
889
  class: "config-card-details-value",
890
890
  "data-testid": `${e.item.key}-property-value`
@@ -892,14 +892,14 @@ const X = {
892
892
  W(C.$slots, e.item.key, {
893
893
  rowValue: e.item.value
894
894
  }, () => [
895
- l.value ? (h(), T("div", er, [
896
- (h(), U(Ce(c.value.tag), na(aa(c.value.attrs)), {
895
+ l.value ? (h(), T("div", nr, [
896
+ (h(), R(Ce(c.value.tag), ra(ia(c.value.attrs)), {
897
897
  default: b(() => [
898
898
  c.value.additionalComponent === "KBadge" ? (h(), T("div", {
899
899
  key: 0,
900
900
  "data-testid": `${e.item.key}-badge-tags`
901
901
  }, [
902
- (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), U(L, {
902
+ (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), R(L, {
903
903
  key: `${e.item.key}-badge-tag-${f}`,
904
904
  class: "config-badge",
905
905
  "data-testid": `${e.item.key}-badge-tag-${f}`,
@@ -911,25 +911,25 @@ const X = {
911
911
  ]),
912
912
  _: 2
913
913
  }, 1032, ["data-testid", "tooltip"]))), 128))
914
- ], 8, tr)) : z("", !0),
914
+ ], 8, ar)) : z("", !0),
915
915
  c.value.additionalComponent === "KCopy" ? (h(), T("div", {
916
916
  key: 1,
917
917
  class: "copy-uuid-array",
918
918
  "data-testid": `${e.item.key}-copy-uuid-array`
919
919
  }, [
920
- (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), U(_, ra(c.value.childAttrs, {
920
+ (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), R(_, oa(c.value.childAttrs, {
921
921
  key: `${e.item.key}-copy-uuid-${f}`,
922
922
  "data-testid": `${e.item.key}-copy-uuid-${f}`,
923
923
  text: g
924
924
  }), null, 16, ["data-testid", "text"]))), 128))
925
- ], 8, nr)) : c.value.additionalComponent === "KMethodBadge" ? (h(), T("div", {
925
+ ], 8, rr)) : c.value.additionalComponent === "KMethodBadge" ? (h(), T("div", {
926
926
  key: 2,
927
927
  class: "method-badge-array",
928
928
  "data-testid": `${e.item.key}-badge-methods`
929
929
  }, [
930
- (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), U(L, {
930
+ (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), R(L, {
931
931
  key: `${e.item.key}-badge-method-${f}`,
932
- appearance: Object.values(k(ia)).includes(g.toLowerCase()) ? g.toLowerCase() : "custom",
932
+ appearance: Object.values(k(la)).includes(g.toLowerCase()) ? g.toLowerCase() : "custom",
933
933
  class: "config-badge",
934
934
  "data-testid": `${e.item.key}-badge-method-${f}`
935
935
  }, {
@@ -938,18 +938,18 @@ const X = {
938
938
  ]),
939
939
  _: 2
940
940
  }, 1032, ["appearance", "data-testid"]))), 128))
941
- ], 8, ar)) : z("", !0),
941
+ ], 8, ir)) : z("", !0),
942
942
  c.value.additionalComponent === "JsonCardItem" ? (h(), T("div", {
943
943
  key: 3,
944
944
  "data-testid": `${n.item.key}-json-array-content`
945
945
  }, [
946
- (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), U(nn, {
946
+ (h(!0), T(de, null, se(e.item.value, (g, f) => (h(), R(rn, {
947
947
  key: `json-array-item-${f}`,
948
948
  index: f,
949
949
  "is-array-item": "",
950
950
  item: g
951
951
  }, null, 8, ["index", "item"]))), 128))
952
- ], 8, rr)) : (h(), U(E, {
952
+ ], 8, or)) : (h(), R(E, {
953
953
  key: 4,
954
954
  text: k(y) ? e.item.value : ""
955
955
  }, {
@@ -968,16 +968,16 @@ const X = {
968
968
  ])) : (h(), T("div", {
969
969
  key: 0,
970
970
  "data-testid": `${e.item.key}-no-value`
971
- }, " – ", 8, Xa))
971
+ }, " – ", 8, tr))
972
972
  ], !0)
973
- ], 8, Qa)
973
+ ], 8, er)
974
974
  ]);
975
975
  };
976
976
  }
977
- }), an = /* @__PURE__ */ ce(or, [["__scopeId", "data-v-d056663c"]]), lr = { class: "json-config" }, sr = {
977
+ }), on = /* @__PURE__ */ ce(sr, [["__scopeId", "data-v-d056663c"]]), cr = { class: "json-config" }, ur = {
978
978
  key: 0,
979
979
  class: "json-endpoint"
980
- }, rn = /* @__PURE__ */ Y({
980
+ }, ln = /* @__PURE__ */ Y({
981
981
  __name: "JsonCodeBlock",
982
982
  props: {
983
983
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1005,10 +1005,10 @@ const X = {
1005
1005
  }
1006
1006
  },
1007
1007
  setup(e) {
1008
- Yt((a) => ({
1008
+ Zt((a) => ({
1009
1009
  "954d3eca": `${r.value}ch`
1010
1010
  }));
1011
- const t = e, n = A(() => t.jsonRecord), r = A(() => {
1011
+ const t = e, n = x(() => t.jsonRecord), r = x(() => {
1012
1012
  var a;
1013
1013
  if (!t.fetcherUrl)
1014
1014
  return 0;
@@ -1017,8 +1017,8 @@ const X = {
1017
1017
  });
1018
1018
  return (a, o) => {
1019
1019
  const i = K("KBadge"), l = K("KCodeBlock");
1020
- return h(), T("div", lr, [
1021
- t.fetcherUrl ? (h(), T("div", sr, [
1020
+ return h(), T("div", cr, [
1021
+ t.fetcherUrl ? (h(), T("div", ur, [
1022
1022
  I(i, {
1023
1023
  appearance: t.requestMethod
1024
1024
  }, {
@@ -1035,7 +1035,7 @@ const X = {
1035
1035
  theme: "dark"
1036
1036
  }, null, 8, ["code"])
1037
1037
  ])) : z("", !0),
1038
- t.jsonRecord ? (h(), U(l, {
1038
+ t.jsonRecord ? (h(), R(l, {
1039
1039
  key: 1,
1040
1040
  id: "json-codeblock",
1041
1041
  class: ve({ "json-content": t.fetcherUrl }),
@@ -1048,55 +1048,55 @@ const X = {
1048
1048
  }
1049
1049
  });
1050
1050
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1051
- function on(e) {
1051
+ function sn(e) {
1052
1052
  return typeof e > "u" || e === null;
1053
1053
  }
1054
- function cr(e) {
1054
+ function dr(e) {
1055
1055
  return typeof e == "object" && e !== null;
1056
1056
  }
1057
- function ur(e) {
1058
- return Array.isArray(e) ? e : on(e) ? [] : [e];
1057
+ function pr(e) {
1058
+ return Array.isArray(e) ? e : sn(e) ? [] : [e];
1059
1059
  }
1060
- function dr(e, t) {
1060
+ function fr(e, t) {
1061
1061
  var n, r, a, o;
1062
1062
  if (t)
1063
1063
  for (o = Object.keys(t), n = 0, r = o.length; n < r; n += 1)
1064
1064
  a = o[n], e[a] = t[a];
1065
1065
  return e;
1066
1066
  }
1067
- function pr(e, t) {
1067
+ function gr(e, t) {
1068
1068
  var n = "", r;
1069
1069
  for (r = 0; r < t; r += 1)
1070
1070
  n += e;
1071
1071
  return n;
1072
1072
  }
1073
- function fr(e) {
1073
+ function yr(e) {
1074
1074
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1075
1075
  }
1076
- var gr = on, yr = cr, mr = ur, hr = pr, vr = fr, br = dr, Q = {
1077
- isNothing: gr,
1078
- isObject: yr,
1079
- toArray: mr,
1080
- repeat: hr,
1081
- isNegativeZero: vr,
1082
- extend: br
1076
+ var mr = sn, hr = dr, vr = pr, br = gr, kr = yr, Cr = fr, Q = {
1077
+ isNothing: mr,
1078
+ isObject: hr,
1079
+ toArray: vr,
1080
+ repeat: br,
1081
+ isNegativeZero: kr,
1082
+ extend: Cr
1083
1083
  };
1084
- function ln(e, t) {
1084
+ function cn(e, t) {
1085
1085
  var n = "", r = e.reason || "(unknown reason)";
1086
1086
  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 += `
1087
1087
 
1088
1088
  ` + e.mark.snippet), r + " " + n) : r;
1089
1089
  }
1090
1090
  function Ee(e, t) {
1091
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = ln(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1091
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = cn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1092
1092
  }
1093
1093
  Ee.prototype = Object.create(Error.prototype);
1094
1094
  Ee.prototype.constructor = Ee;
1095
1095
  Ee.prototype.toString = function(e) {
1096
- return this.name + ": " + ln(this, e);
1096
+ return this.name + ": " + cn(this, e);
1097
1097
  };
1098
1098
  var ae = Ee;
1099
- function et(e, t, n, r, a) {
1099
+ function nt(e, t, n, r, a) {
1100
1100
  var o = "", i = "", l = Math.floor(a / 2) - 1;
1101
1101
  return r - t > l && (o = " ... ", t = r - l + o.length), n - r > l && (i = " ...", n = r + l - i.length), {
1102
1102
  str: o + e.slice(t, n).replace(/\t/g, "→") + i,
@@ -1104,10 +1104,10 @@ function et(e, t, n, r, a) {
1104
1104
  // relative position
1105
1105
  };
1106
1106
  }
1107
- function tt(e, t) {
1107
+ function at(e, t) {
1108
1108
  return Q.repeat(" ", t - e.length) + e;
1109
1109
  }
1110
- function kr(e, t) {
1110
+ function wr(e, t) {
1111
1111
  if (t = Object.create(t || null), !e.buffer)
1112
1112
  return null;
1113
1113
  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);
@@ -1116,28 +1116,28 @@ function kr(e, t) {
1116
1116
  i < 0 && (i = r.length - 1);
1117
1117
  var l = "", s, u, d = Math.min(e.line + t.linesAfter, a.length).toString().length, c = t.maxLength - (t.indent + d + 3);
1118
1118
  for (s = 1; s <= t.linesBefore && !(i - s < 0); s++)
1119
- u = et(
1119
+ u = nt(
1120
1120
  e.buffer,
1121
1121
  r[i - s],
1122
1122
  a[i - s],
1123
1123
  e.position - (r[i] - r[i - s]),
1124
1124
  c
1125
- ), l = Q.repeat(" ", t.indent) + tt((e.line - s + 1).toString(), d) + " | " + u.str + `
1125
+ ), l = Q.repeat(" ", t.indent) + at((e.line - s + 1).toString(), d) + " | " + u.str + `
1126
1126
  ` + l;
1127
- for (u = et(e.buffer, r[i], a[i], e.position, c), l += Q.repeat(" ", t.indent) + tt((e.line + 1).toString(), d) + " | " + u.str + `
1127
+ for (u = nt(e.buffer, r[i], a[i], e.position, c), l += Q.repeat(" ", t.indent) + at((e.line + 1).toString(), d) + " | " + u.str + `
1128
1128
  `, l += Q.repeat("-", t.indent + d + 3 + u.pos) + `^
1129
1129
  `, s = 1; s <= t.linesAfter && !(i + s >= a.length); s++)
1130
- u = et(
1130
+ u = nt(
1131
1131
  e.buffer,
1132
1132
  r[i + s],
1133
1133
  a[i + s],
1134
1134
  e.position - (r[i] - r[i + s]),
1135
1135
  c
1136
- ), l += Q.repeat(" ", t.indent) + tt((e.line + s + 1).toString(), d) + " | " + u.str + `
1136
+ ), l += Q.repeat(" ", t.indent) + at((e.line + s + 1).toString(), d) + " | " + u.str + `
1137
1137
  `;
1138
1138
  return l.replace(/\n$/, "");
1139
1139
  }
1140
- var Cr = kr, wr = [
1140
+ var Sr = wr, Ar = [
1141
1141
  "kind",
1142
1142
  "multi",
1143
1143
  "resolve",
@@ -1148,12 +1148,12 @@ var Cr = kr, wr = [
1148
1148
  "representName",
1149
1149
  "defaultStyle",
1150
1150
  "styleAliases"
1151
- ], Sr = [
1151
+ ], xr = [
1152
1152
  "scalar",
1153
1153
  "sequence",
1154
1154
  "mapping"
1155
1155
  ];
1156
- function xr(e) {
1156
+ function Ir(e) {
1157
1157
  var t = {};
1158
1158
  return e !== null && Object.keys(e).forEach(function(n) {
1159
1159
  e[n].forEach(function(r) {
@@ -1161,19 +1161,19 @@ function xr(e) {
1161
1161
  });
1162
1162
  }), t;
1163
1163
  }
1164
- function Ar(e, t) {
1164
+ function _r(e, t) {
1165
1165
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1166
- if (wr.indexOf(n) === -1)
1166
+ if (Ar.indexOf(n) === -1)
1167
1167
  throw new ae('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1168
1168
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1169
1169
  return !0;
1170
1170
  }, this.construct = t.construct || function(n) {
1171
1171
  return n;
1172
- }, 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 = xr(t.styleAliases || null), Sr.indexOf(this.kind) === -1)
1172
+ }, 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 = Ir(t.styleAliases || null), xr.indexOf(this.kind) === -1)
1173
1173
  throw new ae('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1174
1174
  }
1175
- var te = Ar;
1176
- function Mt(e, t) {
1175
+ var te = _r;
1176
+ function Et(e, t) {
1177
1177
  var n = [];
1178
1178
  return e[t].forEach(function(r) {
1179
1179
  var a = n.length;
@@ -1182,7 +1182,7 @@ function Mt(e, t) {
1182
1182
  }), n[a] = r;
1183
1183
  }), n;
1184
1184
  }
1185
- function Ir() {
1185
+ function jr() {
1186
1186
  var e = {
1187
1187
  scalar: {},
1188
1188
  sequence: {},
@@ -1202,10 +1202,10 @@ function Ir() {
1202
1202
  arguments[t].forEach(r);
1203
1203
  return e;
1204
1204
  }
1205
- function it(e) {
1205
+ function lt(e) {
1206
1206
  return this.extend(e);
1207
1207
  }
1208
- it.prototype.extend = function(e) {
1208
+ lt.prototype.extend = function(e) {
1209
1209
  var t = [], n = [];
1210
1210
  if (e instanceof te)
1211
1211
  n.push(e);
@@ -1226,48 +1226,48 @@ it.prototype.extend = function(e) {
1226
1226
  if (!(a instanceof te))
1227
1227
  throw new ae("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1228
1228
  });
1229
- var r = Object.create(it.prototype);
1230
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Mt(r, "implicit"), r.compiledExplicit = Mt(r, "explicit"), r.compiledTypeMap = Ir(r.compiledImplicit, r.compiledExplicit), r;
1229
+ var r = Object.create(lt.prototype);
1230
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Et(r, "implicit"), r.compiledExplicit = Et(r, "explicit"), r.compiledTypeMap = jr(r.compiledImplicit, r.compiledExplicit), r;
1231
1231
  };
1232
- var sn = it, cn = new te("tag:yaml.org,2002:str", {
1232
+ var un = lt, dn = new te("tag:yaml.org,2002:str", {
1233
1233
  kind: "scalar",
1234
1234
  construct: function(e) {
1235
1235
  return e !== null ? e : "";
1236
1236
  }
1237
- }), un = new te("tag:yaml.org,2002:seq", {
1237
+ }), pn = new te("tag:yaml.org,2002:seq", {
1238
1238
  kind: "sequence",
1239
1239
  construct: function(e) {
1240
1240
  return e !== null ? e : [];
1241
1241
  }
1242
- }), dn = new te("tag:yaml.org,2002:map", {
1242
+ }), fn = new te("tag:yaml.org,2002:map", {
1243
1243
  kind: "mapping",
1244
1244
  construct: function(e) {
1245
1245
  return e !== null ? e : {};
1246
1246
  }
1247
- }), pn = new sn({
1247
+ }), gn = new un({
1248
1248
  explicit: [
1249
- cn,
1250
- un,
1251
- dn
1249
+ dn,
1250
+ pn,
1251
+ fn
1252
1252
  ]
1253
1253
  });
1254
- function _r(e) {
1254
+ function Tr(e) {
1255
1255
  if (e === null)
1256
1256
  return !0;
1257
1257
  var t = e.length;
1258
1258
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1259
1259
  }
1260
- function jr() {
1260
+ function $r() {
1261
1261
  return null;
1262
1262
  }
1263
- function Tr(e) {
1263
+ function Or(e) {
1264
1264
  return e === null;
1265
1265
  }
1266
- var fn = new te("tag:yaml.org,2002:null", {
1266
+ var yn = new te("tag:yaml.org,2002:null", {
1267
1267
  kind: "scalar",
1268
- resolve: _r,
1269
- construct: jr,
1270
- predicate: Tr,
1268
+ resolve: Tr,
1269
+ construct: $r,
1270
+ predicate: Or,
1271
1271
  represent: {
1272
1272
  canonical: function() {
1273
1273
  return "~";
@@ -1287,23 +1287,23 @@ var fn = new te("tag:yaml.org,2002:null", {
1287
1287
  },
1288
1288
  defaultStyle: "lowercase"
1289
1289
  });
1290
- function Or(e) {
1290
+ function Mr(e) {
1291
1291
  if (e === null)
1292
1292
  return !1;
1293
1293
  var t = e.length;
1294
1294
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1295
1295
  }
1296
- function $r(e) {
1296
+ function Nr(e) {
1297
1297
  return e === "true" || e === "True" || e === "TRUE";
1298
1298
  }
1299
- function Mr(e) {
1299
+ function Er(e) {
1300
1300
  return Object.prototype.toString.call(e) === "[object Boolean]";
1301
1301
  }
1302
- var gn = new te("tag:yaml.org,2002:bool", {
1302
+ var mn = new te("tag:yaml.org,2002:bool", {
1303
1303
  kind: "scalar",
1304
- resolve: Or,
1305
- construct: $r,
1306
- predicate: Mr,
1304
+ resolve: Mr,
1305
+ construct: Nr,
1306
+ predicate: Er,
1307
1307
  represent: {
1308
1308
  lowercase: function(e) {
1309
1309
  return e ? "true" : "false";
@@ -1317,16 +1317,16 @@ var gn = new te("tag:yaml.org,2002:bool", {
1317
1317
  },
1318
1318
  defaultStyle: "lowercase"
1319
1319
  });
1320
- function Nr(e) {
1320
+ function Fr(e) {
1321
1321
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1322
1322
  }
1323
- function Er(e) {
1323
+ function qr(e) {
1324
1324
  return 48 <= e && e <= 55;
1325
1325
  }
1326
- function Fr(e) {
1326
+ function Kr(e) {
1327
1327
  return 48 <= e && e <= 57;
1328
1328
  }
1329
- function qr(e) {
1329
+ function Lr(e) {
1330
1330
  if (e === null)
1331
1331
  return !1;
1332
1332
  var t = e.length, n = 0, r = !1, a;
@@ -1347,7 +1347,7 @@ function qr(e) {
1347
1347
  if (a === "x") {
1348
1348
  for (n++; n < t; n++)
1349
1349
  if (a = e[n], a !== "_") {
1350
- if (!Nr(e.charCodeAt(n)))
1350
+ if (!Fr(e.charCodeAt(n)))
1351
1351
  return !1;
1352
1352
  r = !0;
1353
1353
  }
@@ -1356,7 +1356,7 @@ function qr(e) {
1356
1356
  if (a === "o") {
1357
1357
  for (n++; n < t; n++)
1358
1358
  if (a = e[n], a !== "_") {
1359
- if (!Er(e.charCodeAt(n)))
1359
+ if (!qr(e.charCodeAt(n)))
1360
1360
  return !1;
1361
1361
  r = !0;
1362
1362
  }
@@ -1367,13 +1367,13 @@ function qr(e) {
1367
1367
  return !1;
1368
1368
  for (; n < t; n++)
1369
1369
  if (a = e[n], a !== "_") {
1370
- if (!Fr(e.charCodeAt(n)))
1370
+ if (!Kr(e.charCodeAt(n)))
1371
1371
  return !1;
1372
1372
  r = !0;
1373
1373
  }
1374
1374
  return !(!r || a === "_");
1375
1375
  }
1376
- function Kr(e) {
1376
+ function Br(e) {
1377
1377
  var t = e, n = 1, r;
1378
1378
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0")
1379
1379
  return 0;
@@ -1387,14 +1387,14 @@ function Kr(e) {
1387
1387
  }
1388
1388
  return n * parseInt(t, 10);
1389
1389
  }
1390
- function Lr(e) {
1390
+ function Ur(e) {
1391
1391
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !Q.isNegativeZero(e);
1392
1392
  }
1393
- var yn = new te("tag:yaml.org,2002:int", {
1393
+ var hn = new te("tag:yaml.org,2002:int", {
1394
1394
  kind: "scalar",
1395
- resolve: qr,
1396
- construct: Kr,
1397
- predicate: Lr,
1395
+ resolve: Lr,
1396
+ construct: Br,
1397
+ predicate: Ur,
1398
1398
  represent: {
1399
1399
  binary: function(e) {
1400
1400
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1417,21 +1417,21 @@ var yn = new te("tag:yaml.org,2002:int", {
1417
1417
  decimal: [10, "dec"],
1418
1418
  hexadecimal: [16, "hex"]
1419
1419
  }
1420
- }), Br = new RegExp(
1420
+ }), Rr = new RegExp(
1421
1421
  // 2.5e4, 2.5 and integers
1422
1422
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1423
1423
  );
1424
- function Rr(e) {
1425
- return !(e === null || !Br.test(e) || // Quick hack to not allow integers end with `_`
1424
+ function Dr(e) {
1425
+ return !(e === null || !Rr.test(e) || // Quick hack to not allow integers end with `_`
1426
1426
  // Probably should update regexp & check speed
1427
1427
  e[e.length - 1] === "_");
1428
1428
  }
1429
- function Ur(e) {
1429
+ function Pr(e) {
1430
1430
  var t, n;
1431
1431
  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);
1432
1432
  }
1433
- var Pr = /^[-+]?[0-9]+e/;
1434
- function Dr(e, t) {
1433
+ var Vr = /^[-+]?[0-9]+e/;
1434
+ function zr(e, t) {
1435
1435
  var n;
1436
1436
  if (isNaN(e))
1437
1437
  switch (t) {
@@ -1462,36 +1462,36 @@ function Dr(e, t) {
1462
1462
  }
1463
1463
  else if (Q.isNegativeZero(e))
1464
1464
  return "-0.0";
1465
- return n = e.toString(10), Pr.test(n) ? n.replace("e", ".e") : n;
1465
+ return n = e.toString(10), Vr.test(n) ? n.replace("e", ".e") : n;
1466
1466
  }
1467
- function Vr(e) {
1467
+ function Hr(e) {
1468
1468
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || Q.isNegativeZero(e));
1469
1469
  }
1470
- var mn = new te("tag:yaml.org,2002:float", {
1470
+ var vn = new te("tag:yaml.org,2002:float", {
1471
1471
  kind: "scalar",
1472
- resolve: Rr,
1473
- construct: Ur,
1474
- predicate: Vr,
1475
- represent: Dr,
1472
+ resolve: Dr,
1473
+ construct: Pr,
1474
+ predicate: Hr,
1475
+ represent: zr,
1476
1476
  defaultStyle: "lowercase"
1477
- }), hn = pn.extend({
1477
+ }), bn = gn.extend({
1478
1478
  implicit: [
1479
- fn,
1480
- gn,
1481
1479
  yn,
1482
- mn
1480
+ mn,
1481
+ hn,
1482
+ vn
1483
1483
  ]
1484
- }), vn = hn, bn = new RegExp(
1484
+ }), kn = bn, Cn = new RegExp(
1485
1485
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1486
- ), kn = new RegExp(
1486
+ ), wn = new RegExp(
1487
1487
  "^([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]))?))?$"
1488
1488
  );
1489
- function zr(e) {
1490
- return e === null ? !1 : bn.exec(e) !== null || kn.exec(e) !== null;
1489
+ function Jr(e) {
1490
+ return e === null ? !1 : Cn.exec(e) !== null || wn.exec(e) !== null;
1491
1491
  }
1492
- function Hr(e) {
1492
+ function Yr(e) {
1493
1493
  var t, n, r, a, o, i, l, s = 0, u = null, d, c, m;
1494
- if (t = bn.exec(e), t === null && (t = kn.exec(e)), t === null)
1494
+ if (t = Cn.exec(e), t === null && (t = wn.exec(e)), t === null)
1495
1495
  throw new Error("Date resolve error");
1496
1496
  if (n = +t[1], r = +t[2] - 1, a = +t[3], !t[4])
1497
1497
  return new Date(Date.UTC(n, r, a));
@@ -1502,28 +1502,28 @@ function Hr(e) {
1502
1502
  }
1503
1503
  return t[9] && (d = +t[10], c = +(t[11] || 0), u = (d * 60 + c) * 6e4, t[9] === "-" && (u = -u)), m = new Date(Date.UTC(n, r, a, o, i, l, s)), u && m.setTime(m.getTime() - u), m;
1504
1504
  }
1505
- function Jr(e) {
1505
+ function Wr(e) {
1506
1506
  return e.toISOString();
1507
1507
  }
1508
- var Cn = new te("tag:yaml.org,2002:timestamp", {
1508
+ var Sn = new te("tag:yaml.org,2002:timestamp", {
1509
1509
  kind: "scalar",
1510
- resolve: zr,
1511
- construct: Hr,
1510
+ resolve: Jr,
1511
+ construct: Yr,
1512
1512
  instanceOf: Date,
1513
- represent: Jr
1513
+ represent: Wr
1514
1514
  });
1515
- function Yr(e) {
1515
+ function Zr(e) {
1516
1516
  return e === "<<" || e === null;
1517
1517
  }
1518
- var wn = new te("tag:yaml.org,2002:merge", {
1518
+ var An = new te("tag:yaml.org,2002:merge", {
1519
1519
  kind: "scalar",
1520
- resolve: Yr
1521
- }), yt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1520
+ resolve: Zr
1521
+ }), ht = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1522
1522
  \r`;
1523
- function Wr(e) {
1523
+ function Gr(e) {
1524
1524
  if (e === null)
1525
1525
  return !1;
1526
- var t, n, r = 0, a = e.length, o = yt;
1526
+ var t, n, r = 0, a = e.length, o = ht;
1527
1527
  for (n = 0; n < a; n++)
1528
1528
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1529
1529
  if (t < 0)
@@ -1532,37 +1532,37 @@ function Wr(e) {
1532
1532
  }
1533
1533
  return r % 8 === 0;
1534
1534
  }
1535
- function Zr(e) {
1536
- var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = yt, i = 0, l = [];
1535
+ function Qr(e) {
1536
+ var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = ht, i = 0, l = [];
1537
1537
  for (t = 0; t < a; t++)
1538
1538
  t % 4 === 0 && t && (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(t));
1539
1539
  return n = a % 4 * 6, n === 0 ? (l.push(i >> 16 & 255), l.push(i >> 8 & 255), l.push(i & 255)) : n === 18 ? (l.push(i >> 10 & 255), l.push(i >> 2 & 255)) : n === 12 && l.push(i >> 4 & 255), new Uint8Array(l);
1540
1540
  }
1541
- function Gr(e) {
1542
- var t = "", n = 0, r, a, o = e.length, i = yt;
1541
+ function Xr(e) {
1542
+ var t = "", n = 0, r, a, o = e.length, i = ht;
1543
1543
  for (r = 0; r < o; r++)
1544
1544
  r % 3 === 0 && r && (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]), n = (n << 8) + e[r];
1545
1545
  return a = o % 3, a === 0 ? (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]) : a === 2 ? (t += i[n >> 10 & 63], t += i[n >> 4 & 63], t += i[n << 2 & 63], t += i[64]) : a === 1 && (t += i[n >> 2 & 63], t += i[n << 4 & 63], t += i[64], t += i[64]), t;
1546
1546
  }
1547
- function Qr(e) {
1547
+ function ei(e) {
1548
1548
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1549
1549
  }
1550
- var Sn = new te("tag:yaml.org,2002:binary", {
1550
+ var xn = new te("tag:yaml.org,2002:binary", {
1551
1551
  kind: "scalar",
1552
- resolve: Wr,
1553
- construct: Zr,
1554
- predicate: Qr,
1555
- represent: Gr
1556
- }), Xr = Object.prototype.hasOwnProperty, ei = Object.prototype.toString;
1557
- function ti(e) {
1552
+ resolve: Gr,
1553
+ construct: Qr,
1554
+ predicate: ei,
1555
+ represent: Xr
1556
+ }), ti = Object.prototype.hasOwnProperty, ni = Object.prototype.toString;
1557
+ function ai(e) {
1558
1558
  if (e === null)
1559
1559
  return !0;
1560
1560
  var t = [], n, r, a, o, i, l = e;
1561
1561
  for (n = 0, r = l.length; n < r; n += 1) {
1562
- if (a = l[n], i = !1, ei.call(a) !== "[object Object]")
1562
+ if (a = l[n], i = !1, ni.call(a) !== "[object Object]")
1563
1563
  return !1;
1564
1564
  for (o in a)
1565
- if (Xr.call(a, o))
1565
+ if (ti.call(a, o))
1566
1566
  if (!i)
1567
1567
  i = !0;
1568
1568
  else
@@ -1576,26 +1576,26 @@ function ti(e) {
1576
1576
  }
1577
1577
  return !0;
1578
1578
  }
1579
- function ni(e) {
1579
+ function ri(e) {
1580
1580
  return e !== null ? e : [];
1581
1581
  }
1582
- var xn = new te("tag:yaml.org,2002:omap", {
1582
+ var In = new te("tag:yaml.org,2002:omap", {
1583
1583
  kind: "sequence",
1584
- resolve: ti,
1585
- construct: ni
1586
- }), ai = Object.prototype.toString;
1587
- function ri(e) {
1584
+ resolve: ai,
1585
+ construct: ri
1586
+ }), ii = Object.prototype.toString;
1587
+ function oi(e) {
1588
1588
  if (e === null)
1589
1589
  return !0;
1590
1590
  var t, n, r, a, o, i = e;
1591
1591
  for (o = new Array(i.length), t = 0, n = i.length; t < n; t += 1) {
1592
- if (r = i[t], ai.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1592
+ if (r = i[t], ii.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1593
1593
  return !1;
1594
1594
  o[t] = [a[0], r[a[0]]];
1595
1595
  }
1596
1596
  return !0;
1597
1597
  }
1598
- function ii(e) {
1598
+ function li(e) {
1599
1599
  if (e === null)
1600
1600
  return [];
1601
1601
  var t, n, r, a, o, i = e;
@@ -1603,46 +1603,46 @@ function ii(e) {
1603
1603
  r = i[t], a = Object.keys(r), o[t] = [a[0], r[a[0]]];
1604
1604
  return o;
1605
1605
  }
1606
- var An = new te("tag:yaml.org,2002:pairs", {
1606
+ var _n = new te("tag:yaml.org,2002:pairs", {
1607
1607
  kind: "sequence",
1608
- resolve: ri,
1609
- construct: ii
1610
- }), oi = Object.prototype.hasOwnProperty;
1611
- function li(e) {
1608
+ resolve: oi,
1609
+ construct: li
1610
+ }), si = Object.prototype.hasOwnProperty;
1611
+ function ci(e) {
1612
1612
  if (e === null)
1613
1613
  return !0;
1614
1614
  var t, n = e;
1615
1615
  for (t in n)
1616
- if (oi.call(n, t) && n[t] !== null)
1616
+ if (si.call(n, t) && n[t] !== null)
1617
1617
  return !1;
1618
1618
  return !0;
1619
1619
  }
1620
- function si(e) {
1620
+ function ui(e) {
1621
1621
  return e !== null ? e : {};
1622
1622
  }
1623
- var In = new te("tag:yaml.org,2002:set", {
1623
+ var jn = new te("tag:yaml.org,2002:set", {
1624
1624
  kind: "mapping",
1625
- resolve: li,
1626
- construct: si
1627
- }), mt = vn.extend({
1625
+ resolve: ci,
1626
+ construct: ui
1627
+ }), vt = kn.extend({
1628
1628
  implicit: [
1629
- Cn,
1630
- wn
1629
+ Sn,
1630
+ An
1631
1631
  ],
1632
1632
  explicit: [
1633
- Sn,
1634
1633
  xn,
1635
- An,
1636
- In
1634
+ In,
1635
+ _n,
1636
+ jn
1637
1637
  ]
1638
- }), be = Object.prototype.hasOwnProperty, Ue = 1, _n = 2, jn = 3, Pe = 4, nt = 1, ci = 2, Nt = 3, ui = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, di = /[\x85\u2028\u2029]/, pi = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, On = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1639
- function Et(e) {
1638
+ }), be = Object.prototype.hasOwnProperty, Re = 1, Tn = 2, $n = 3, De = 4, rt = 1, di = 2, Ft = 3, pi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, fi = /[\x85\u2028\u2029]/, gi = /[,\[\]\{\}]/, On = /^(?:!|!!|![a-z\-]+!)$/i, Mn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1639
+ function qt(e) {
1640
1640
  return Object.prototype.toString.call(e);
1641
1641
  }
1642
1642
  function pe(e) {
1643
1643
  return e === 10 || e === 13;
1644
1644
  }
1645
- function xe(e) {
1645
+ function Ae(e) {
1646
1646
  return e === 9 || e === 32;
1647
1647
  }
1648
1648
  function re(e) {
@@ -1651,33 +1651,33 @@ function re(e) {
1651
1651
  function je(e) {
1652
1652
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1653
1653
  }
1654
- function fi(e) {
1654
+ function yi(e) {
1655
1655
  var t;
1656
1656
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1657
1657
  }
1658
- function gi(e) {
1658
+ function mi(e) {
1659
1659
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1660
1660
  }
1661
- function yi(e) {
1661
+ function hi(e) {
1662
1662
  return 48 <= e && e <= 57 ? e - 48 : -1;
1663
1663
  }
1664
- function Ft(e) {
1664
+ function Kt(e) {
1665
1665
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1666
1666
  ` : 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" : "";
1667
1667
  }
1668
- function mi(e) {
1668
+ function vi(e) {
1669
1669
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1670
1670
  (e - 65536 >> 10) + 55296,
1671
1671
  (e - 65536 & 1023) + 56320
1672
1672
  );
1673
1673
  }
1674
- var $n = new Array(256), Mn = new Array(256);
1674
+ var Nn = new Array(256), En = new Array(256);
1675
1675
  for (var Ie = 0; Ie < 256; Ie++)
1676
- $n[Ie] = Ft(Ie) ? 1 : 0, Mn[Ie] = Ft(Ie);
1677
- function hi(e, t) {
1678
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || mt, 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 = [];
1676
+ Nn[Ie] = Kt(Ie) ? 1 : 0, En[Ie] = Kt(Ie);
1677
+ function bi(e, t) {
1678
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || vt, 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 = [];
1679
1679
  }
1680
- function Nn(e, t) {
1680
+ function Fn(e, t) {
1681
1681
  var n = {
1682
1682
  name: e.filename,
1683
1683
  buffer: e.input.slice(0, -1),
@@ -1686,22 +1686,22 @@ function Nn(e, t) {
1686
1686
  line: e.line,
1687
1687
  column: e.position - e.lineStart
1688
1688
  };
1689
- return n.snippet = Cr(n), new ae(t, n);
1689
+ return n.snippet = Sr(n), new ae(t, n);
1690
1690
  }
1691
1691
  function S(e, t) {
1692
- throw Nn(e, t);
1692
+ throw Fn(e, t);
1693
1693
  }
1694
- function De(e, t) {
1695
- e.onWarning && e.onWarning.call(null, Nn(e, t));
1694
+ function Pe(e, t) {
1695
+ e.onWarning && e.onWarning.call(null, Fn(e, t));
1696
1696
  }
1697
- var qt = {
1697
+ var Lt = {
1698
1698
  YAML: function(e, t, n) {
1699
1699
  var r, a, o;
1700
- e.version !== null && S(e, "duplication of %YAML directive"), n.length !== 1 && S(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && S(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && S(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && De(e, "unsupported YAML version of the document");
1700
+ e.version !== null && S(e, "duplication of %YAML directive"), n.length !== 1 && S(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && S(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && S(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Pe(e, "unsupported YAML version of the document");
1701
1701
  },
1702
1702
  TAG: function(e, t, n) {
1703
1703
  var r, a;
1704
- n.length !== 2 && S(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], Tn.test(r) || S(e, "ill-formed tag handle (first argument) of the TAG directive"), be.call(e.tagMap, r) && S(e, 'there is a previously declared suffix for "' + r + '" tag handle'), On.test(a) || S(e, "ill-formed tag prefix (second argument) of the TAG directive");
1704
+ n.length !== 2 && S(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], On.test(r) || S(e, "ill-formed tag handle (first argument) of the TAG directive"), be.call(e.tagMap, r) && S(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Mn.test(a) || S(e, "ill-formed tag prefix (second argument) of the TAG directive");
1705
1705
  try {
1706
1706
  a = decodeURIComponent(a);
1707
1707
  } catch {
@@ -1717,11 +1717,11 @@ function he(e, t, n, r) {
1717
1717
  for (a = 0, o = l.length; a < o; a += 1)
1718
1718
  i = l.charCodeAt(a), i === 9 || 32 <= i && i <= 1114111 || S(e, "expected valid JSON character");
1719
1719
  else
1720
- ui.test(l) && S(e, "the stream contains non-printable characters");
1720
+ pi.test(l) && S(e, "the stream contains non-printable characters");
1721
1721
  e.result += l;
1722
1722
  }
1723
1723
  }
1724
- function Kt(e, t, n, r) {
1724
+ function Bt(e, t, n, r) {
1725
1725
  var a, o, i, l;
1726
1726
  for (Q.isObject(n) || S(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), i = 0, l = a.length; i < l; i += 1)
1727
1727
  o = a[i], be.call(t, o) || (t[o] = n[o], r[o] = !0);
@@ -1730,13 +1730,13 @@ function Te(e, t, n, r, a, o, i, l, s) {
1730
1730
  var u, d;
1731
1731
  if (Array.isArray(a))
1732
1732
  for (a = Array.prototype.slice.call(a), u = 0, d = a.length; u < d; u += 1)
1733
- Array.isArray(a[u]) && S(e, "nested arrays are not supported inside keys"), typeof a == "object" && Et(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1734
- if (typeof a == "object" && Et(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1733
+ Array.isArray(a[u]) && S(e, "nested arrays are not supported inside keys"), typeof a == "object" && qt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1734
+ if (typeof a == "object" && qt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1735
1735
  if (Array.isArray(o))
1736
1736
  for (u = 0, d = o.length; u < d; u += 1)
1737
- Kt(e, t, o[u], n);
1737
+ Bt(e, t, o[u], n);
1738
1738
  else
1739
- Kt(e, t, o, n);
1739
+ Bt(e, t, o, n);
1740
1740
  else
1741
1741
  !e.json && !be.call(n, a) && be.call(t, a) && (e.line = i || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, S(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1742
1742
  configurable: !0,
@@ -1746,35 +1746,35 @@ function Te(e, t, n, r, a, o, i, l, s) {
1746
1746
  }) : t[a] = o, delete n[a];
1747
1747
  return t;
1748
1748
  }
1749
- function ht(e) {
1749
+ function bt(e) {
1750
1750
  var t;
1751
1751
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : S(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1752
1752
  }
1753
1753
  function G(e, t, n) {
1754
1754
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1755
- for (; xe(a); )
1755
+ for (; Ae(a); )
1756
1756
  a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1757
1757
  if (t && a === 35)
1758
1758
  do
1759
1759
  a = e.input.charCodeAt(++e.position);
1760
1760
  while (a !== 10 && a !== 13 && a !== 0);
1761
1761
  if (pe(a))
1762
- for (ht(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1762
+ for (bt(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1763
1763
  e.lineIndent++, a = e.input.charCodeAt(++e.position);
1764
1764
  else
1765
1765
  break;
1766
1766
  }
1767
- return n !== -1 && r !== 0 && e.lineIndent < n && De(e, "deficient indentation"), r;
1767
+ return n !== -1 && r !== 0 && e.lineIndent < n && Pe(e, "deficient indentation"), r;
1768
1768
  }
1769
1769
  function Ze(e) {
1770
1770
  var t = e.position, n;
1771
1771
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || re(n)));
1772
1772
  }
1773
- function vt(e, t) {
1773
+ function kt(e, t) {
1774
1774
  t === 1 ? e.result += " " : t > 1 && (e.result += Q.repeat(`
1775
1775
  `, t - 1));
1776
1776
  }
1777
- function vi(e, t, n) {
1777
+ function ki(e, t, n) {
1778
1778
  var r, a, o, i, l, s, u, d, c = e.kind, m = e.result, y;
1779
1779
  if (y = e.input.charCodeAt(e.position), re(y) || je(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (a = e.input.charCodeAt(e.position + 1), re(a) || n && je(a)))
1780
1780
  return !1;
@@ -1797,11 +1797,11 @@ function vi(e, t, n) {
1797
1797
  break;
1798
1798
  }
1799
1799
  }
1800
- l && (he(e, o, i, !1), vt(e, e.line - s), o = i = e.position, l = !1), xe(y) || (i = e.position + 1), y = e.input.charCodeAt(++e.position);
1800
+ l && (he(e, o, i, !1), kt(e, e.line - s), o = i = e.position, l = !1), Ae(y) || (i = e.position + 1), y = e.input.charCodeAt(++e.position);
1801
1801
  }
1802
1802
  return he(e, o, i, !1), e.result ? !0 : (e.kind = c, e.result = m, !1);
1803
1803
  }
1804
- function bi(e, t) {
1804
+ function Ci(e, t) {
1805
1805
  var n, r, a;
1806
1806
  if (n = e.input.charCodeAt(e.position), n !== 39)
1807
1807
  return !1;
@@ -1812,10 +1812,10 @@ function bi(e, t) {
1812
1812
  else
1813
1813
  return !0;
1814
1814
  else
1815
- pe(n) ? (he(e, r, a, !0), vt(e, G(e, !1, t)), r = a = e.position) : e.position === e.lineStart && Ze(e) ? S(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1815
+ pe(n) ? (he(e, r, a, !0), kt(e, G(e, !1, t)), r = a = e.position) : e.position === e.lineStart && Ze(e) ? S(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1816
1816
  S(e, "unexpected end of the stream within a single quoted scalar");
1817
1817
  }
1818
- function ki(e, t) {
1818
+ function wi(e, t) {
1819
1819
  var n, r, a, o, i, l;
1820
1820
  if (l = e.input.charCodeAt(e.position), l !== 34)
1821
1821
  return !1;
@@ -1825,21 +1825,21 @@ function ki(e, t) {
1825
1825
  if (l === 92) {
1826
1826
  if (he(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), pe(l))
1827
1827
  G(e, !1, t);
1828
- else if (l < 256 && $n[l])
1829
- e.result += Mn[l], e.position++;
1830
- else if ((i = gi(l)) > 0) {
1828
+ else if (l < 256 && Nn[l])
1829
+ e.result += En[l], e.position++;
1830
+ else if ((i = mi(l)) > 0) {
1831
1831
  for (a = i, o = 0; a > 0; a--)
1832
- l = e.input.charCodeAt(++e.position), (i = fi(l)) >= 0 ? o = (o << 4) + i : S(e, "expected hexadecimal character");
1833
- e.result += mi(o), e.position++;
1832
+ l = e.input.charCodeAt(++e.position), (i = yi(l)) >= 0 ? o = (o << 4) + i : S(e, "expected hexadecimal character");
1833
+ e.result += vi(o), e.position++;
1834
1834
  } else
1835
1835
  S(e, "unknown escape sequence");
1836
1836
  n = r = e.position;
1837
1837
  } else
1838
- pe(l) ? (he(e, n, r, !0), vt(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Ze(e) ? S(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1838
+ pe(l) ? (he(e, n, r, !0), kt(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Ze(e) ? S(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1839
1839
  }
1840
1840
  S(e, "unexpected end of the stream within a double quoted scalar");
1841
1841
  }
1842
- function Ci(e, t) {
1842
+ function Si(e, t) {
1843
1843
  var n = !0, r, a, o, i = e.tag, l, s = e.anchor, u, d, c, m, y, C = /* @__PURE__ */ Object.create(null), v, w, L, _;
1844
1844
  if (_ = e.input.charCodeAt(e.position), _ === 91)
1845
1845
  d = 93, y = !1, l = [];
@@ -1850,12 +1850,12 @@ function Ci(e, t) {
1850
1850
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), _ = e.input.charCodeAt(++e.position); _ !== 0; ) {
1851
1851
  if (G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === d)
1852
1852
  return e.position++, e.tag = i, e.anchor = s, e.kind = y ? "mapping" : "sequence", e.result = l, !0;
1853
- n ? _ === 44 && S(e, "expected the node content, but found ','") : S(e, "missed comma between flow collection entries"), w = v = L = null, c = m = !1, _ === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (c = m = !0, e.position++, G(e, !0, t))), r = e.line, a = e.lineStart, o = e.position, $e(e, t, Ue, !1, !0), w = e.tag, v = e.result, G(e, !0, t), _ = e.input.charCodeAt(e.position), (m || e.line === r) && _ === 58 && (c = !0, _ = e.input.charCodeAt(++e.position), G(e, !0, t), $e(e, t, Ue, !1, !0), L = e.result), y ? Te(e, l, C, w, v, L, r, a, o) : c ? l.push(Te(e, null, C, w, v, L, r, a, o)) : l.push(v), G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === 44 ? (n = !0, _ = e.input.charCodeAt(++e.position)) : n = !1;
1853
+ n ? _ === 44 && S(e, "expected the node content, but found ','") : S(e, "missed comma between flow collection entries"), w = v = L = null, c = m = !1, _ === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (c = m = !0, e.position++, G(e, !0, t))), r = e.line, a = e.lineStart, o = e.position, Oe(e, t, Re, !1, !0), w = e.tag, v = e.result, G(e, !0, t), _ = e.input.charCodeAt(e.position), (m || e.line === r) && _ === 58 && (c = !0, _ = e.input.charCodeAt(++e.position), G(e, !0, t), Oe(e, t, Re, !1, !0), L = e.result), y ? Te(e, l, C, w, v, L, r, a, o) : c ? l.push(Te(e, null, C, w, v, L, r, a, o)) : l.push(v), G(e, !0, t), _ = e.input.charCodeAt(e.position), _ === 44 ? (n = !0, _ = e.input.charCodeAt(++e.position)) : n = !1;
1854
1854
  }
1855
1855
  S(e, "unexpected end of the stream within a flow collection");
1856
1856
  }
1857
- function wi(e, t) {
1858
- var n, r, a = nt, o = !1, i = !1, l = t, s = 0, u = !1, d, c;
1857
+ function Ai(e, t) {
1858
+ var n, r, a = rt, o = !1, i = !1, l = t, s = 0, u = !1, d, c;
1859
1859
  if (c = e.input.charCodeAt(e.position), c === 124)
1860
1860
  r = !1;
1861
1861
  else if (c === 62)
@@ -1864,34 +1864,34 @@ function wi(e, t) {
1864
1864
  return !1;
1865
1865
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1866
1866
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1867
- nt === a ? a = c === 43 ? Nt : ci : S(e, "repeat of a chomping mode identifier");
1868
- else if ((d = yi(c)) >= 0)
1867
+ rt === a ? a = c === 43 ? Ft : di : S(e, "repeat of a chomping mode identifier");
1868
+ else if ((d = hi(c)) >= 0)
1869
1869
  d === 0 ? S(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? S(e, "repeat of an indentation width identifier") : (l = t + d - 1, i = !0);
1870
1870
  else
1871
1871
  break;
1872
- if (xe(c)) {
1872
+ if (Ae(c)) {
1873
1873
  do
1874
1874
  c = e.input.charCodeAt(++e.position);
1875
- while (xe(c));
1875
+ while (Ae(c));
1876
1876
  if (c === 35)
1877
1877
  do
1878
1878
  c = e.input.charCodeAt(++e.position);
1879
1879
  while (!pe(c) && c !== 0);
1880
1880
  }
1881
1881
  for (; c !== 0; ) {
1882
- for (ht(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!i || e.lineIndent < l) && c === 32; )
1882
+ for (bt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!i || e.lineIndent < l) && c === 32; )
1883
1883
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
1884
1884
  if (!i && e.lineIndent > l && (l = e.lineIndent), pe(c)) {
1885
1885
  s++;
1886
1886
  continue;
1887
1887
  }
1888
1888
  if (e.lineIndent < l) {
1889
- a === Nt ? e.result += Q.repeat(`
1890
- `, o ? 1 + s : s) : a === nt && o && (e.result += `
1889
+ a === Ft ? e.result += Q.repeat(`
1890
+ `, o ? 1 + s : s) : a === rt && o && (e.result += `
1891
1891
  `);
1892
1892
  break;
1893
1893
  }
1894
- for (r ? xe(c) ? (u = !0, e.result += Q.repeat(`
1894
+ for (r ? Ae(c) ? (u = !0, e.result += Q.repeat(`
1895
1895
  `, o ? 1 + s : s)) : u ? (u = !1, e.result += Q.repeat(`
1896
1896
  `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += Q.repeat(`
1897
1897
  `, s) : e.result += Q.repeat(`
@@ -1901,7 +1901,7 @@ function wi(e, t) {
1901
1901
  }
1902
1902
  return !0;
1903
1903
  }
1904
- function Lt(e, t) {
1904
+ function Ut(e, t) {
1905
1905
  var n, r = e.tag, a = e.anchor, o = [], i, l = !1, s;
1906
1906
  if (e.firstTabInLine !== -1)
1907
1907
  return !1;
@@ -1910,14 +1910,14 @@ function Lt(e, t) {
1910
1910
  o.push(null), s = e.input.charCodeAt(e.position);
1911
1911
  continue;
1912
1912
  }
1913
- if (n = e.line, $e(e, t, jn, !1, !0), o.push(e.result), G(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1913
+ if (n = e.line, Oe(e, t, $n, !1, !0), o.push(e.result), G(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1914
1914
  S(e, "bad indentation of a sequence entry");
1915
1915
  else if (e.lineIndent < t)
1916
1916
  break;
1917
1917
  }
1918
1918
  return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
1919
1919
  }
1920
- function Si(e, t, n) {
1920
+ function xi(e, t, n) {
1921
1921
  var r, a, o, i, l, s, u = e.tag, d = e.anchor, c = {}, m = /* @__PURE__ */ Object.create(null), y = null, C = null, v = null, w = !1, L = !1, _;
1922
1922
  if (e.firstTabInLine !== -1)
1923
1923
  return !1;
@@ -1925,10 +1925,10 @@ function Si(e, t, n) {
1925
1925
  if (!w && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (_ === 63 || _ === 58) && re(r))
1926
1926
  _ === 63 ? (w && (Te(e, c, m, y, C, null, i, l, s), y = C = v = null), L = !0, w = !0, a = !0) : w ? (w = !1, a = !0) : S(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
1927
1927
  else {
1928
- if (i = e.line, l = e.lineStart, s = e.position, !$e(e, n, _n, !1, !0))
1928
+ if (i = e.line, l = e.lineStart, s = e.position, !Oe(e, n, Tn, !1, !0))
1929
1929
  break;
1930
1930
  if (e.line === o) {
1931
- for (_ = e.input.charCodeAt(e.position); xe(_); )
1931
+ for (_ = e.input.charCodeAt(e.position); Ae(_); )
1932
1932
  _ = e.input.charCodeAt(++e.position);
1933
1933
  if (_ === 58)
1934
1934
  _ = e.input.charCodeAt(++e.position), re(_) || S(e, "a whitespace character is expected after the key-value separator within a block mapping"), w && (Te(e, c, m, y, C, null, i, l, s), y = C = v = null), L = !0, w = !1, a = !1, y = e.tag, C = e.result;
@@ -1941,14 +1941,14 @@ function Si(e, t, n) {
1941
1941
  else
1942
1942
  return e.tag = u, e.anchor = d, !0;
1943
1943
  }
1944
- if ((e.line === o || e.lineIndent > t) && (w && (i = e.line, l = e.lineStart, s = e.position), $e(e, t, Pe, !0, a) && (w ? C = e.result : v = e.result), w || (Te(e, c, m, y, C, v, i, l, s), y = C = v = null), G(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && _ !== 0)
1944
+ if ((e.line === o || e.lineIndent > t) && (w && (i = e.line, l = e.lineStart, s = e.position), Oe(e, t, De, !0, a) && (w ? C = e.result : v = e.result), w || (Te(e, c, m, y, C, v, i, l, s), y = C = v = null), G(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && _ !== 0)
1945
1945
  S(e, "bad indentation of a mapping entry");
1946
1946
  else if (e.lineIndent < t)
1947
1947
  break;
1948
1948
  }
1949
1949
  return w && Te(e, c, m, y, C, null, i, l, s), L && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), L;
1950
1950
  }
1951
- function xi(e) {
1951
+ function Ii(e) {
1952
1952
  var t, n = !1, r = !1, a, o, i;
1953
1953
  if (i = e.input.charCodeAt(e.position), i !== 33)
1954
1954
  return !1;
@@ -1959,10 +1959,10 @@ function xi(e) {
1959
1959
  e.position < e.length ? (o = e.input.slice(t, e.position), i = e.input.charCodeAt(++e.position)) : S(e, "unexpected end of the stream within a verbatim tag");
1960
1960
  } else {
1961
1961
  for (; i !== 0 && !re(i); )
1962
- i === 33 && (r ? S(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Tn.test(a) || S(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), i = e.input.charCodeAt(++e.position);
1963
- o = e.input.slice(t, e.position), pi.test(o) && S(e, "tag suffix cannot contain flow indicator characters");
1962
+ i === 33 && (r ? S(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), On.test(a) || S(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), i = e.input.charCodeAt(++e.position);
1963
+ o = e.input.slice(t, e.position), gi.test(o) && S(e, "tag suffix cannot contain flow indicator characters");
1964
1964
  }
1965
- o && !On.test(o) && S(e, "tag name cannot contain such characters: " + o);
1965
+ o && !Mn.test(o) && S(e, "tag name cannot contain such characters: " + o);
1966
1966
  try {
1967
1967
  o = decodeURIComponent(o);
1968
1968
  } catch {
@@ -1970,7 +1970,7 @@ function xi(e) {
1970
1970
  }
1971
1971
  return n ? e.tag = o : be.call(e.tagMap, a) ? e.tag = e.tagMap[a] + o : a === "!" ? e.tag = "!" + o : a === "!!" ? e.tag = "tag:yaml.org,2002:" + o : S(e, 'undeclared tag handle "' + a + '"'), !0;
1972
1972
  }
1973
- function Ai(e) {
1973
+ function _i(e) {
1974
1974
  var t, n;
1975
1975
  if (n = e.input.charCodeAt(e.position), n !== 38)
1976
1976
  return !1;
@@ -1978,7 +1978,7 @@ function Ai(e) {
1978
1978
  n = e.input.charCodeAt(++e.position);
1979
1979
  return e.position === t && S(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1980
1980
  }
1981
- function Ii(e) {
1981
+ function ji(e) {
1982
1982
  var t, n, r;
1983
1983
  if (r = e.input.charCodeAt(e.position), r !== 42)
1984
1984
  return !1;
@@ -1986,12 +1986,12 @@ function Ii(e) {
1986
1986
  r = e.input.charCodeAt(++e.position);
1987
1987
  return e.position === t && S(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), be.call(e.anchorMap, n) || S(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1988
1988
  }
1989
- function $e(e, t, n, r, a) {
1989
+ function Oe(e, t, n, r, a) {
1990
1990
  var o, i, l, s = 1, u = !1, d = !1, c, m, y, C, v, w;
1991
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = l = Pe === n || jn === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1992
- for (; xi(e) || Ai(e); )
1991
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = l = De === n || $n === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1992
+ for (; Ii(e) || _i(e); )
1993
1993
  G(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1994
- if (l && (l = u || a), (s === 1 || Pe === n) && (Ue === n || _n === n ? v = t : v = t + 1, w = e.position - e.lineStart, s === 1 ? l && (Lt(e, w) || Si(e, w, v)) || Ci(e, v) ? d = !0 : (i && wi(e, v) || bi(e, v) || ki(e, v) ? d = !0 : Ii(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && S(e, "alias node should not have any properties")) : vi(e, v, Ue === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Lt(e, w))), e.tag === null)
1994
+ if (l && (l = u || a), (s === 1 || De === n) && (Re === n || Tn === n ? v = t : v = t + 1, w = e.position - e.lineStart, s === 1 ? l && (Ut(e, w) || xi(e, w, v)) || Si(e, v) ? d = !0 : (i && Ai(e, v) || Ci(e, v) || wi(e, v) ? d = !0 : ji(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && S(e, "alias node should not have any properties")) : ki(e, v, Re === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ut(e, w))), e.tag === null)
1995
1995
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1996
1996
  else if (e.tag === "?") {
1997
1997
  for (e.result !== null && e.kind !== "scalar" && S(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
@@ -2012,13 +2012,13 @@ function $e(e, t, n, r, a) {
2012
2012
  }
2013
2013
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2014
2014
  }
2015
- function _i(e) {
2015
+ function Ti(e) {
2016
2016
  var t = e.position, n, r, a, o = !1, i;
2017
2017
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (G(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2018
2018
  for (o = !0, i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !re(i); )
2019
2019
  i = e.input.charCodeAt(++e.position);
2020
2020
  for (r = e.input.slice(n, e.position), a = [], r.length < 1 && S(e, "directive name must not be less than one character in length"); i !== 0; ) {
2021
- for (; xe(i); )
2021
+ for (; Ae(i); )
2022
2022
  i = e.input.charCodeAt(++e.position);
2023
2023
  if (i === 35) {
2024
2024
  do
@@ -2032,9 +2032,9 @@ function _i(e) {
2032
2032
  i = e.input.charCodeAt(++e.position);
2033
2033
  a.push(e.input.slice(n, e.position));
2034
2034
  }
2035
- i !== 0 && ht(e), be.call(qt, r) ? qt[r](e, r, a) : De(e, 'unknown document directive "' + r + '"');
2035
+ i !== 0 && bt(e), be.call(Lt, r) ? Lt[r](e, r, a) : Pe(e, 'unknown document directive "' + r + '"');
2036
2036
  }
2037
- if (G(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, G(e, !0, -1)) : o && S(e, "directives end mark is expected"), $e(e, e.lineIndent - 1, Pe, !1, !0), G(e, !0, -1), e.checkLineBreaks && di.test(e.input.slice(t, e.position)) && De(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ze(e)) {
2037
+ if (G(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, G(e, !0, -1)) : o && S(e, "directives end mark is expected"), Oe(e, e.lineIndent - 1, De, !1, !0), G(e, !0, -1), e.checkLineBreaks && fi.test(e.input.slice(t, e.position)) && Pe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ze(e)) {
2038
2038
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, G(e, !0, -1));
2039
2039
  return;
2040
2040
  }
@@ -2043,36 +2043,36 @@ function _i(e) {
2043
2043
  else
2044
2044
  return;
2045
2045
  }
2046
- function En(e, t) {
2046
+ function qn(e, t) {
2047
2047
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2048
2048
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2049
- var n = new hi(e, t), r = e.indexOf("\0");
2049
+ var n = new bi(e, t), r = e.indexOf("\0");
2050
2050
  for (r !== -1 && (n.position = r, S(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2051
2051
  n.lineIndent += 1, n.position += 1;
2052
2052
  for (; n.position < n.length - 1; )
2053
- _i(n);
2053
+ Ti(n);
2054
2054
  return n.documents;
2055
2055
  }
2056
- function ji(e, t, n) {
2056
+ function $i(e, t, n) {
2057
2057
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2058
- var r = En(e, n);
2058
+ var r = qn(e, n);
2059
2059
  if (typeof t != "function")
2060
2060
  return r;
2061
2061
  for (var a = 0, o = r.length; a < o; a += 1)
2062
2062
  t(r[a]);
2063
2063
  }
2064
- function Ti(e, t) {
2065
- var n = En(e, t);
2064
+ function Oi(e, t) {
2065
+ var n = qn(e, t);
2066
2066
  if (n.length !== 0) {
2067
2067
  if (n.length === 1)
2068
2068
  return n[0];
2069
2069
  throw new ae("expected a single document in the stream, but found more");
2070
2070
  }
2071
2071
  }
2072
- var Oi = ji, $i = Ti, Fn = {
2073
- loadAll: Oi,
2074
- load: $i
2075
- }, qn = Object.prototype.toString, Kn = Object.prototype.hasOwnProperty, bt = 65279, Mi = 9, Fe = 10, Ni = 13, Ei = 32, Fi = 33, qi = 34, ot = 35, Ki = 37, Li = 38, Bi = 39, Ri = 42, Ln = 44, Ui = 45, Ve = 58, Pi = 61, Di = 62, Vi = 63, zi = 64, Bn = 91, Rn = 93, Hi = 96, Un = 123, Ji = 124, Pn = 125, ne = {};
2072
+ var Mi = $i, Ni = Oi, Kn = {
2073
+ loadAll: Mi,
2074
+ load: Ni
2075
+ }, Ln = Object.prototype.toString, Bn = Object.prototype.hasOwnProperty, Ct = 65279, Ei = 9, Fe = 10, Fi = 13, qi = 32, Ki = 33, Li = 34, st = 35, Bi = 37, Ui = 38, Ri = 39, Di = 42, Un = 44, Pi = 45, Ve = 58, Vi = 61, zi = 62, Hi = 63, Ji = 64, Rn = 91, Dn = 93, Yi = 96, Pn = 123, Wi = 124, Vn = 125, ne = {};
2076
2076
  ne[0] = "\\0";
2077
2077
  ne[7] = "\\a";
2078
2078
  ne[8] = "\\b";
@@ -2088,7 +2088,7 @@ ne[133] = "\\N";
2088
2088
  ne[160] = "\\_";
2089
2089
  ne[8232] = "\\L";
2090
2090
  ne[8233] = "\\P";
2091
- var Yi = [
2091
+ var Zi = [
2092
2092
  "y",
2093
2093
  "Y",
2094
2094
  "yes",
@@ -2105,16 +2105,16 @@ var Yi = [
2105
2105
  "off",
2106
2106
  "Off",
2107
2107
  "OFF"
2108
- ], Wi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2109
- function Zi(e, t) {
2108
+ ], Gi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2109
+ function Qi(e, t) {
2110
2110
  var n, r, a, o, i, l, s;
2111
2111
  if (t === null)
2112
2112
  return {};
2113
2113
  for (n = {}, r = Object.keys(t), a = 0, o = r.length; a < o; a += 1)
2114
- i = r[a], l = String(t[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), s = e.compiledTypeMap.fallback[i], s && Kn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[i] = l;
2114
+ i = r[a], l = String(t[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), s = e.compiledTypeMap.fallback[i], s && Bn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[i] = l;
2115
2115
  return n;
2116
2116
  }
2117
- function Gi(e) {
2117
+ function Xi(e) {
2118
2118
  var t, n, r;
2119
2119
  if (t = e.toString(16).toUpperCase(), e <= 255)
2120
2120
  n = "x", r = 2;
@@ -2126,22 +2126,22 @@ function Gi(e) {
2126
2126
  throw new ae("code point within a string may not be greater than 0xFFFFFFFF");
2127
2127
  return "\\" + n + Q.repeat("0", r - t.length) + t;
2128
2128
  }
2129
- var Qi = 1, qe = 2;
2130
- function Xi(e) {
2131
- this.schema = e.schema || mt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Zi(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 === '"' ? qe : Qi, 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;
2129
+ var eo = 1, qe = 2;
2130
+ function to(e) {
2131
+ this.schema = e.schema || vt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Qi(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 === '"' ? qe : eo, 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;
2132
2132
  }
2133
- function Bt(e, t) {
2133
+ function Rt(e, t) {
2134
2134
  for (var n = Q.repeat(" ", t), r = 0, a = -1, o = "", i, l = e.length; r < l; )
2135
2135
  a = e.indexOf(`
2136
2136
  `, r), a === -1 ? (i = e.slice(r), r = l) : (i = e.slice(r, a + 1), r = a + 1), i.length && i !== `
2137
2137
  ` && (o += n), o += i;
2138
2138
  return o;
2139
2139
  }
2140
- function lt(e, t) {
2140
+ function ct(e, t) {
2141
2141
  return `
2142
2142
  ` + Q.repeat(" ", e.indent * t);
2143
2143
  }
2144
- function eo(e, t) {
2144
+ function no(e, t) {
2145
2145
  var n, r, a;
2146
2146
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2147
2147
  if (a = e.implicitTypes[n], a.resolve(t))
@@ -2149,46 +2149,46 @@ function eo(e, t) {
2149
2149
  return !1;
2150
2150
  }
2151
2151
  function ze(e) {
2152
- return e === Ei || e === Mi;
2152
+ return e === qi || e === Ei;
2153
2153
  }
2154
2154
  function Ke(e) {
2155
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== bt || 65536 <= e && e <= 1114111;
2155
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Ct || 65536 <= e && e <= 1114111;
2156
2156
  }
2157
- function Rt(e) {
2158
- return Ke(e) && e !== bt && e !== Ni && e !== Fe;
2157
+ function Dt(e) {
2158
+ return Ke(e) && e !== Ct && e !== Fi && e !== Fe;
2159
2159
  }
2160
- function Ut(e, t, n) {
2161
- var r = Rt(e), a = r && !ze(e);
2160
+ function Pt(e, t, n) {
2161
+ var r = Dt(e), a = r && !ze(e);
2162
2162
  return (
2163
2163
  // ns-plain-safe
2164
2164
  (n ? (
2165
2165
  // c = flow-in
2166
2166
  r
2167
- ) : r && e !== Ln && e !== Bn && e !== Rn && e !== Un && e !== Pn) && e !== ot && !(t === Ve && !a) || Rt(t) && !ze(t) && e === ot || t === Ve && a
2167
+ ) : r && e !== Un && e !== Rn && e !== Dn && e !== Pn && e !== Vn) && e !== st && !(t === Ve && !a) || Dt(t) && !ze(t) && e === st || t === Ve && a
2168
2168
  );
2169
2169
  }
2170
- function to(e) {
2171
- return Ke(e) && e !== bt && !ze(e) && e !== Ui && e !== Vi && e !== Ve && e !== Ln && e !== Bn && e !== Rn && e !== Un && e !== Pn && e !== ot && e !== Li && e !== Ri && e !== Fi && e !== Ji && e !== Pi && e !== Di && e !== Bi && e !== qi && e !== Ki && e !== zi && e !== Hi;
2170
+ function ao(e) {
2171
+ return Ke(e) && e !== Ct && !ze(e) && e !== Pi && e !== Hi && e !== Ve && e !== Un && e !== Rn && e !== Dn && e !== Pn && e !== Vn && e !== st && e !== Ui && e !== Di && e !== Ki && e !== Wi && e !== Vi && e !== zi && e !== Ri && e !== Li && e !== Bi && e !== Ji && e !== Yi;
2172
2172
  }
2173
- function no(e) {
2173
+ function ro(e) {
2174
2174
  return !ze(e) && e !== Ve;
2175
2175
  }
2176
2176
  function Ne(e, t) {
2177
2177
  var n = e.charCodeAt(t), r;
2178
2178
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
2179
2179
  }
2180
- function Dn(e) {
2180
+ function zn(e) {
2181
2181
  var t = /^\n* /;
2182
2182
  return t.test(e);
2183
2183
  }
2184
- var Vn = 1, st = 2, zn = 3, Hn = 4, _e = 5;
2185
- function ao(e, t, n, r, a, o, i, l) {
2186
- var s, u = 0, d = null, c = !1, m = !1, y = r !== -1, C = -1, v = to(Ne(e, 0)) && no(Ne(e, e.length - 1));
2184
+ var Hn = 1, ut = 2, Jn = 3, Yn = 4, _e = 5;
2185
+ function io(e, t, n, r, a, o, i, l) {
2186
+ var s, u = 0, d = null, c = !1, m = !1, y = r !== -1, C = -1, v = ao(Ne(e, 0)) && ro(Ne(e, e.length - 1));
2187
2187
  if (t || i)
2188
2188
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2189
2189
  if (u = Ne(e, s), !Ke(u))
2190
2190
  return _e;
2191
- v = v && Ut(u, d, l), d = u;
2191
+ v = v && Pt(u, d, l), d = u;
2192
2192
  }
2193
2193
  else {
2194
2194
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
@@ -2197,23 +2197,23 @@ function ao(e, t, n, r, a, o, i, l) {
2197
2197
  s - C - 1 > r && e[C + 1] !== " ", C = s);
2198
2198
  else if (!Ke(u))
2199
2199
  return _e;
2200
- v = v && Ut(u, d, l), d = u;
2200
+ v = v && Pt(u, d, l), d = u;
2201
2201
  }
2202
2202
  m = m || y && s - C - 1 > r && e[C + 1] !== " ";
2203
2203
  }
2204
- return !c && !m ? v && !i && !a(e) ? Vn : o === qe ? _e : st : n > 9 && Dn(e) ? _e : i ? o === qe ? _e : st : m ? Hn : zn;
2204
+ return !c && !m ? v && !i && !a(e) ? Hn : o === qe ? _e : ut : n > 9 && zn(e) ? _e : i ? o === qe ? _e : ut : m ? Yn : Jn;
2205
2205
  }
2206
- function ro(e, t, n, r, a) {
2206
+ function oo(e, t, n, r, a) {
2207
2207
  e.dump = function() {
2208
2208
  if (t.length === 0)
2209
2209
  return e.quotingType === qe ? '""' : "''";
2210
- if (!e.noCompatMode && (Yi.indexOf(t) !== -1 || Wi.test(t)))
2210
+ if (!e.noCompatMode && (Zi.indexOf(t) !== -1 || Gi.test(t)))
2211
2211
  return e.quotingType === qe ? '"' + t + '"' : "'" + t + "'";
2212
2212
  var o = e.indent * Math.max(1, n), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2213
2213
  function s(u) {
2214
- return eo(e, u);
2214
+ return no(e, u);
2215
2215
  }
2216
- switch (ao(
2216
+ switch (io(
2217
2217
  t,
2218
2218
  l,
2219
2219
  e.indent,
@@ -2223,47 +2223,47 @@ function ro(e, t, n, r, a) {
2223
2223
  e.forceQuotes && !r,
2224
2224
  a
2225
2225
  )) {
2226
- case Vn:
2226
+ case Hn:
2227
2227
  return t;
2228
- case st:
2228
+ case ut:
2229
2229
  return "'" + t.replace(/'/g, "''") + "'";
2230
- case zn:
2231
- return "|" + Pt(t, e.indent) + Dt(Bt(t, o));
2232
- case Hn:
2233
- return ">" + Pt(t, e.indent) + Dt(Bt(io(t, i), o));
2230
+ case Jn:
2231
+ return "|" + Vt(t, e.indent) + zt(Rt(t, o));
2232
+ case Yn:
2233
+ return ">" + Vt(t, e.indent) + zt(Rt(lo(t, i), o));
2234
2234
  case _e:
2235
- return '"' + oo(t) + '"';
2235
+ return '"' + so(t) + '"';
2236
2236
  default:
2237
2237
  throw new ae("impossible error: invalid scalar style");
2238
2238
  }
2239
2239
  }();
2240
2240
  }
2241
- function Pt(e, t) {
2242
- var n = Dn(e) ? String(t) : "", r = e[e.length - 1] === `
2241
+ function Vt(e, t) {
2242
+ var n = zn(e) ? String(t) : "", r = e[e.length - 1] === `
2243
2243
  `, a = r && (e[e.length - 2] === `
2244
2244
  ` || e === `
2245
2245
  `), o = a ? "+" : r ? "" : "-";
2246
2246
  return n + o + `
2247
2247
  `;
2248
2248
  }
2249
- function Dt(e) {
2249
+ function zt(e) {
2250
2250
  return e[e.length - 1] === `
2251
2251
  ` ? e.slice(0, -1) : e;
2252
2252
  }
2253
- function io(e, t) {
2253
+ function lo(e, t) {
2254
2254
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2255
2255
  var u = e.indexOf(`
2256
2256
  `);
2257
- return u = u !== -1 ? u : e.length, n.lastIndex = u, Vt(e.slice(0, u), t);
2257
+ return u = u !== -1 ? u : e.length, n.lastIndex = u, Ht(e.slice(0, u), t);
2258
2258
  }(), a = e[0] === `
2259
2259
  ` || e[0] === " ", o, i; i = n.exec(e); ) {
2260
2260
  var l = i[1], s = i[2];
2261
2261
  o = s[0] === " ", r += l + (!a && !o && s !== "" ? `
2262
- ` : "") + Vt(s, t), a = o;
2262
+ ` : "") + Ht(s, t), a = o;
2263
2263
  }
2264
2264
  return r;
2265
2265
  }
2266
- function Vt(e, t) {
2266
+ function Ht(e, t) {
2267
2267
  if (e === "" || e[0] === " ")
2268
2268
  return e;
2269
2269
  for (var n = / [^ ]/g, r, a = 0, o, i = 0, l = 0, s = ""; r = n.exec(e); )
@@ -2273,30 +2273,30 @@ function Vt(e, t) {
2273
2273
  `, e.length - a > t && i > a ? s += e.slice(a, i) + `
2274
2274
  ` + e.slice(i + 1) : s += e.slice(a), s.slice(1);
2275
2275
  }
2276
- function oo(e) {
2276
+ function so(e) {
2277
2277
  for (var t = "", n = 0, r, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
2278
- n = Ne(e, a), r = ne[n], !r && Ke(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || Gi(n);
2278
+ n = Ne(e, a), r = ne[n], !r && Ke(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || Xi(n);
2279
2279
  return t;
2280
2280
  }
2281
- function lo(e, t, n) {
2281
+ function co(e, t, n) {
2282
2282
  var r = "", a = e.tag, o, i, l;
2283
2283
  for (o = 0, i = n.length; o < i; o += 1)
2284
2284
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (fe(e, t, l, !1, !1) || typeof l > "u" && fe(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2285
2285
  e.tag = a, e.dump = "[" + r + "]";
2286
2286
  }
2287
- function zt(e, t, n, r) {
2287
+ function Jt(e, t, n, r) {
2288
2288
  var a = "", o = e.tag, i, l, s;
2289
2289
  for (i = 0, l = n.length; i < l; i += 1)
2290
- s = n[i], e.replacer && (s = e.replacer.call(n, String(i), s)), (fe(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && fe(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += lt(e, t)), e.dump && Fe === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2290
+ s = n[i], e.replacer && (s = e.replacer.call(n, String(i), s)), (fe(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && fe(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += ct(e, t)), e.dump && Fe === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2291
2291
  e.tag = o, e.dump = a || "[]";
2292
2292
  }
2293
- function so(e, t, n) {
2293
+ function uo(e, t, n) {
2294
2294
  var r = "", a = e.tag, o = Object.keys(n), i, l, s, u, d;
2295
2295
  for (i = 0, l = o.length; i < l; i += 1)
2296
2296
  d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[i], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), fe(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), fe(e, t, u, !1, !1) && (d += e.dump, r += d));
2297
2297
  e.tag = a, e.dump = "{" + r + "}";
2298
2298
  }
2299
- function co(e, t, n, r) {
2299
+ function po(e, t, n, r) {
2300
2300
  var a = "", o = e.tag, i = Object.keys(n), l, s, u, d, c, m;
2301
2301
  if (e.sortKeys === !0)
2302
2302
  i.sort();
@@ -2305,17 +2305,17 @@ function co(e, t, n, r) {
2305
2305
  else if (e.sortKeys)
2306
2306
  throw new ae("sortKeys must be a boolean or a function");
2307
2307
  for (l = 0, s = i.length; l < s; l += 1)
2308
- m = "", (!r || a !== "") && (m += lt(e, t)), u = i[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), fe(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) ? m += "?" : m += "? "), m += e.dump, c && (m += lt(e, t)), fe(e, t + 1, d, !0, c) && (e.dump && Fe === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, a += m));
2308
+ m = "", (!r || a !== "") && (m += ct(e, t)), u = i[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), fe(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) ? m += "?" : m += "? "), m += e.dump, c && (m += ct(e, t)), fe(e, t + 1, d, !0, c) && (e.dump && Fe === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, a += m));
2309
2309
  e.tag = o, e.dump = a || "{}";
2310
2310
  }
2311
- function Ht(e, t, n) {
2311
+ function Yt(e, t, n) {
2312
2312
  var r, a, o, i, l, s;
2313
2313
  for (a = n ? e.explicitTypes : e.implicitTypes, o = 0, i = a.length; o < i; o += 1)
2314
2314
  if (l = a[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2315
2315
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2316
- if (s = e.styleMap[l.tag] || l.defaultStyle, qn.call(l.represent) === "[object Function]")
2316
+ if (s = e.styleMap[l.tag] || l.defaultStyle, Ln.call(l.represent) === "[object Function]")
2317
2317
  r = l.represent(t, s);
2318
- else if (Kn.call(l.represent, s))
2318
+ else if (Bn.call(l.represent, s))
2319
2319
  r = l.represent[s](t, s);
2320
2320
  else
2321
2321
  throw new ae("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
@@ -2326,19 +2326,19 @@ function Ht(e, t, n) {
2326
2326
  return !1;
2327
2327
  }
2328
2328
  function fe(e, t, n, r, a, o, i) {
2329
- e.tag = null, e.dump = n, Ht(e, n, !1) || Ht(e, n, !0);
2330
- var l = qn.call(e.dump), s = r, u;
2329
+ e.tag = null, e.dump = n, Yt(e, n, !1) || Yt(e, n, !0);
2330
+ var l = Ln.call(e.dump), s = r, u;
2331
2331
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2332
2332
  var d = l === "[object Object]" || l === "[object Array]", c, m;
2333
2333
  if (d && (c = e.duplicates.indexOf(n), m = c !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && t > 0) && (a = !1), m && e.usedDuplicates[c])
2334
2334
  e.dump = "*ref_" + c;
2335
2335
  else {
2336
2336
  if (d && m && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
2337
- r && Object.keys(e.dump).length !== 0 ? (co(e, t, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (so(e, t, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2337
+ r && Object.keys(e.dump).length !== 0 ? (po(e, t, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (uo(e, t, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2338
2338
  else if (l === "[object Array]")
2339
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? zt(e, t - 1, e.dump, a) : zt(e, t, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (lo(e, t, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2339
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? Jt(e, t - 1, e.dump, a) : Jt(e, t, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (co(e, t, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2340
2340
  else if (l === "[object String]")
2341
- e.tag !== "?" && ro(e, e.dump, t, o, s);
2341
+ e.tag !== "?" && oo(e, e.dump, t, o, s);
2342
2342
  else {
2343
2343
  if (l === "[object Undefined]" || e.skipInvalid)
2344
2344
  return !1;
@@ -2350,71 +2350,71 @@ function fe(e, t, n, r, a, o, i) {
2350
2350
  }
2351
2351
  return !0;
2352
2352
  }
2353
- function uo(e, t) {
2353
+ function fo(e, t) {
2354
2354
  var n = [], r = [], a, o;
2355
- for (ct(e, n, r), a = 0, o = r.length; a < o; a += 1)
2355
+ for (dt(e, n, r), a = 0, o = r.length; a < o; a += 1)
2356
2356
  t.duplicates.push(n[r[a]]);
2357
2357
  t.usedDuplicates = new Array(o);
2358
2358
  }
2359
- function ct(e, t, n) {
2359
+ function dt(e, t, n) {
2360
2360
  var r, a, o;
2361
2361
  if (e !== null && typeof e == "object")
2362
2362
  if (a = t.indexOf(e), a !== -1)
2363
2363
  n.indexOf(a) === -1 && n.push(a);
2364
2364
  else if (t.push(e), Array.isArray(e))
2365
2365
  for (a = 0, o = e.length; a < o; a += 1)
2366
- ct(e[a], t, n);
2366
+ dt(e[a], t, n);
2367
2367
  else
2368
2368
  for (r = Object.keys(e), a = 0, o = r.length; a < o; a += 1)
2369
- ct(e[r[a]], t, n);
2369
+ dt(e[r[a]], t, n);
2370
2370
  }
2371
- function po(e, t) {
2371
+ function go(e, t) {
2372
2372
  t = t || {};
2373
- var n = new Xi(t);
2374
- n.noRefs || uo(e, n);
2373
+ var n = new to(t);
2374
+ n.noRefs || fo(e, n);
2375
2375
  var r = e;
2376
2376
  return n.replacer && (r = n.replacer.call({ "": r }, "", r)), fe(n, 0, r, !0, !0) ? n.dump + `
2377
2377
  ` : "";
2378
2378
  }
2379
- var fo = po, go = {
2380
- dump: fo
2379
+ var yo = go, mo = {
2380
+ dump: yo
2381
2381
  };
2382
- function kt(e, t) {
2382
+ function wt(e, t) {
2383
2383
  return function() {
2384
2384
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2385
2385
  };
2386
2386
  }
2387
- var yo = te, mo = sn, ho = pn, vo = hn, bo = vn, ko = mt, Co = Fn.load, wo = Fn.loadAll, So = go.dump, xo = ae, Ao = {
2388
- binary: Sn,
2389
- float: mn,
2390
- map: dn,
2391
- null: fn,
2392
- pairs: An,
2393
- set: In,
2394
- timestamp: Cn,
2395
- bool: gn,
2396
- int: yn,
2397
- merge: wn,
2398
- omap: xn,
2399
- seq: un,
2400
- str: cn
2401
- }, Io = kt("safeLoad", "load"), _o = kt("safeLoadAll", "loadAll"), jo = kt("safeDump", "dump"), To = {
2402
- Type: yo,
2403
- Schema: mo,
2404
- FAILSAFE_SCHEMA: ho,
2405
- JSON_SCHEMA: vo,
2406
- CORE_SCHEMA: bo,
2407
- DEFAULT_SCHEMA: ko,
2408
- load: Co,
2409
- loadAll: wo,
2410
- dump: So,
2411
- YAMLException: xo,
2412
- types: Ao,
2413
- safeLoad: Io,
2414
- safeLoadAll: _o,
2415
- safeDump: jo
2387
+ var ho = te, vo = un, bo = gn, ko = bn, Co = kn, wo = vt, So = Kn.load, Ao = Kn.loadAll, xo = mo.dump, Io = ae, _o = {
2388
+ binary: xn,
2389
+ float: vn,
2390
+ map: fn,
2391
+ null: yn,
2392
+ pairs: _n,
2393
+ set: jn,
2394
+ timestamp: Sn,
2395
+ bool: mn,
2396
+ int: hn,
2397
+ merge: An,
2398
+ omap: In,
2399
+ seq: pn,
2400
+ str: dn
2401
+ }, jo = wt("safeLoad", "load"), To = wt("safeLoadAll", "loadAll"), $o = wt("safeDump", "dump"), Oo = {
2402
+ Type: ho,
2403
+ Schema: vo,
2404
+ FAILSAFE_SCHEMA: bo,
2405
+ JSON_SCHEMA: ko,
2406
+ CORE_SCHEMA: Co,
2407
+ DEFAULT_SCHEMA: wo,
2408
+ load: So,
2409
+ loadAll: Ao,
2410
+ dump: xo,
2411
+ YAMLException: Io,
2412
+ types: _o,
2413
+ safeLoad: jo,
2414
+ safeLoadAll: To,
2415
+ safeDump: $o
2416
2416
  };
2417
- const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2417
+ const Mo = { class: "yaml-config" }, Wn = /* @__PURE__ */ Y({
2418
2418
  __name: "YamlCodeBlock",
2419
2419
  props: {
2420
2420
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2424,14 +2424,14 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2424
2424
  }
2425
2425
  },
2426
2426
  setup(e) {
2427
- const t = e, n = A(() => {
2427
+ const t = e, n = x(() => {
2428
2428
  const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, a]) => a && (Array.isArray(a) ? a.length !== 0 : !0)));
2429
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : To.dump(r).trim();
2429
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : Oo.dump(r).trim();
2430
2430
  });
2431
2431
  return (r, a) => {
2432
2432
  const o = K("KCodeBlock");
2433
- return h(), T("div", Oo, [
2434
- t.yamlRecord ? (h(), U(o, {
2433
+ return h(), T("div", Mo, [
2434
+ t.yamlRecord ? (h(), R(o, {
2435
2435
  key: 0,
2436
2436
  id: "yaml-codeblock",
2437
2437
  code: n.value,
@@ -2441,13 +2441,13 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2441
2441
  ]);
2442
2442
  };
2443
2443
  }
2444
- }), $o = {
2444
+ }), No = {
2445
2445
  key: 0,
2446
2446
  class: "config-card-display-form"
2447
- }, Mo = ["data-testid"], No = {
2447
+ }, Eo = ["data-testid"], Fo = {
2448
2448
  key: 0,
2449
2449
  class: "config-card-prop-section-title"
2450
- }, Eo = /* @__PURE__ */ Y({
2450
+ }, qo = /* @__PURE__ */ Y({
2451
2451
  __name: "ConfigCardDisplay",
2452
2452
  props: {
2453
2453
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2486,24 +2486,24 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2486
2486
  }
2487
2487
  },
2488
2488
  setup(e) {
2489
- const t = e, n = dt(), { i18n: { t: r } } = X.useI18n(), a = (i) => !!(i.tooltip || n[`${i.key}-label-tooltip`]), o = A(() => {
2489
+ const t = e, n = ft(), { i18n: { t: r } } = X.useI18n(), a = (i) => !!(i.tooltip || n[`${i.key}-label-tooltip`]), o = x(() => {
2490
2490
  if (!t.record)
2491
2491
  return t.record;
2492
2492
  const i = JSON.parse(JSON.stringify(t.record));
2493
2493
  return delete i.created_at, delete i.updated_at, i;
2494
2494
  });
2495
2495
  return (i, l) => (h(), T(de, null, [
2496
- e.format === "structured" ? (h(), T("div", $o, [
2496
+ e.format === "structured" ? (h(), T("div", No, [
2497
2497
  (h(!0), T(de, null, se(e.propListTypes, (s) => (h(), T("div", {
2498
2498
  key: `config-card-details-${s}-props`,
2499
2499
  class: ve(`config-card-details-${s}-props`),
2500
2500
  "data-testid": `config-card-details-${s}-props`
2501
2501
  }, [
2502
- s !== "basic" ? (h(), T("div", No, q(s === "advanced" ? k(r)("baseConfigCard.sections.advanced") : k(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2503
- (h(!0), T(de, null, se(e.propertyCollections[s], (u) => (h(), U(an, {
2502
+ s !== "basic" ? (h(), T("div", Fo, q(s === "advanced" ? k(r)("baseConfigCard.sections.advanced") : k(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2503
+ (h(!0), T(de, null, se(e.propertyCollections[s], (u) => (h(), R(on, {
2504
2504
  key: u.key,
2505
2505
  item: u
2506
- }, Oe({
2506
+ }, $e({
2507
2507
  label: b(() => [
2508
2508
  W(i.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2509
2509
  ]),
@@ -2523,33 +2523,33 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2523
2523
  key: "0"
2524
2524
  } : void 0
2525
2525
  ]), 1032, ["item"]))), 128))
2526
- ], 10, Mo))), 128))
2526
+ ], 10, Eo))), 128))
2527
2527
  ])) : z("", !0),
2528
- e.format === "json" && t.record ? (h(), U(rn, {
2528
+ e.format === "json" && t.record ? (h(), R(ln, {
2529
2529
  key: 1,
2530
2530
  config: t.config,
2531
2531
  "fetcher-url": t.fetcherUrl,
2532
2532
  "json-record": o.value,
2533
2533
  "request-method": "get"
2534
2534
  }, null, 8, ["config", "fetcher-url", "json-record"])) : z("", !0),
2535
- e.format === "yaml" && t.record ? (h(), U(Jn, {
2535
+ e.format === "yaml" && t.record ? (h(), R(Wn, {
2536
2536
  key: 2,
2537
2537
  "yaml-record": o.value
2538
2538
  }, null, 8, ["yaml-record"])) : z("", !0)
2539
2539
  ], 64));
2540
2540
  }
2541
- }), Fo = /* @__PURE__ */ ce(Eo, [["__scopeId", "data-v-147a2f70"]]), ke = "24px", Ge = (e, t) => {
2541
+ }), Ko = /* @__PURE__ */ ce(qo, [["__scopeId", "data-v-147a2f70"]]), ke = "24px", Ge = (e, t) => {
2542
2542
  const n = e.__vccOpts || e;
2543
2543
  for (const [r, a] of t)
2544
2544
  n[r] = a;
2545
2545
  return n;
2546
- }, qo = (e) => (Je("data-v-2295e0fb"), e = e(), Ye(), e), Ko = ["aria-hidden"], Lo = {
2546
+ }, Lo = (e) => (Je("data-v-2295e0fb"), e = e(), Ye(), e), Bo = ["aria-hidden"], Uo = {
2547
2547
  key: 0,
2548
2548
  "data-testid": "kui-icon-svg-title"
2549
- }, Bo = /* @__PURE__ */ qo(() => /* @__PURE__ */ B("path", {
2549
+ }, Ro = /* @__PURE__ */ Lo(() => /* @__PURE__ */ B("path", {
2550
2550
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2551
2551
  fill: "currentColor"
2552
- }, null, -1)), Ro = /* @__PURE__ */ Y({
2552
+ }, null, -1)), Do = /* @__PURE__ */ Y({
2553
2553
  __name: "AddIcon",
2554
2554
  props: {
2555
2555
  /** The accessibility text provided to screen readers */
@@ -2601,7 +2601,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2601
2601
  }
2602
2602
  },
2603
2603
  setup(e) {
2604
- const t = e, n = A(() => {
2604
+ const t = e, n = x(() => {
2605
2605
  if (typeof t.size == "number" && t.size > 0)
2606
2606
  return `${t.size}px`;
2607
2607
  if (typeof t.size == "string") {
@@ -2610,7 +2610,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2610
2610
  return `${o}px`;
2611
2611
  }
2612
2612
  return ke;
2613
- }), r = A(() => ({
2613
+ }), r = x(() => ({
2614
2614
  boxSizing: "border-box",
2615
2615
  color: t.color,
2616
2616
  display: t.display,
@@ -2618,7 +2618,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2618
2618
  lineHeight: "0",
2619
2619
  width: n.value
2620
2620
  }));
2621
- return (a, o) => (h(), U(Ce(e.as), {
2621
+ return (a, o) => (h(), R(Ce(e.as), {
2622
2622
  "aria-hidden": e.decorative ? "true" : void 0,
2623
2623
  class: "kui-icon add-icon",
2624
2624
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -2635,20 +2635,20 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2635
2635
  width: "100%",
2636
2636
  xmlns: "http://www.w3.org/2000/svg"
2637
2637
  }, [
2638
- e.title ? (h(), T("title", Lo, q(e.title), 1)) : z("", !0),
2639
- Bo
2640
- ], 8, Ko))
2638
+ e.title ? (h(), T("title", Uo, q(e.title), 1)) : z("", !0),
2639
+ Ro
2640
+ ], 8, Bo))
2641
2641
  ]),
2642
2642
  _: 1
2643
2643
  }, 8, ["aria-hidden", "style"]));
2644
2644
  }
2645
- }), Uo = /* @__PURE__ */ Ge(Ro, [["__scopeId", "data-v-2295e0fb"]]), Po = (e) => (Je("data-v-40a7f387"), e = e(), Ye(), e), Do = ["aria-hidden"], Vo = {
2645
+ }), Po = /* @__PURE__ */ Ge(Do, [["__scopeId", "data-v-2295e0fb"]]), Vo = (e) => (Je("data-v-40a7f387"), e = e(), Ye(), e), zo = ["aria-hidden"], Ho = {
2646
2646
  key: 0,
2647
2647
  "data-testid": "kui-icon-svg-title"
2648
- }, zo = /* @__PURE__ */ Po(() => /* @__PURE__ */ B("path", {
2648
+ }, Jo = /* @__PURE__ */ Vo(() => /* @__PURE__ */ B("path", {
2649
2649
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2650
2650
  fill: "currentColor"
2651
- }, null, -1)), Ho = /* @__PURE__ */ Y({
2651
+ }, null, -1)), Yo = /* @__PURE__ */ Y({
2652
2652
  __name: "BookIcon",
2653
2653
  props: {
2654
2654
  /** The accessibility text provided to screen readers */
@@ -2700,7 +2700,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2700
2700
  }
2701
2701
  },
2702
2702
  setup(e) {
2703
- const t = e, n = A(() => {
2703
+ const t = e, n = x(() => {
2704
2704
  if (typeof t.size == "number" && t.size > 0)
2705
2705
  return `${t.size}px`;
2706
2706
  if (typeof t.size == "string") {
@@ -2709,7 +2709,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2709
2709
  return `${o}px`;
2710
2710
  }
2711
2711
  return ke;
2712
- }), r = A(() => ({
2712
+ }), r = x(() => ({
2713
2713
  boxSizing: "border-box",
2714
2714
  color: t.color,
2715
2715
  display: t.display,
@@ -2717,7 +2717,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2717
2717
  lineHeight: "0",
2718
2718
  width: n.value
2719
2719
  }));
2720
- return (a, o) => (h(), U(Ce(e.as), {
2720
+ return (a, o) => (h(), R(Ce(e.as), {
2721
2721
  "aria-hidden": e.decorative ? "true" : void 0,
2722
2722
  class: "kui-icon book-icon",
2723
2723
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2734,20 +2734,20 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2734
2734
  width: "100%",
2735
2735
  xmlns: "http://www.w3.org/2000/svg"
2736
2736
  }, [
2737
- e.title ? (h(), T("title", Vo, q(e.title), 1)) : z("", !0),
2738
- zo
2739
- ], 8, Do))
2737
+ e.title ? (h(), T("title", Ho, q(e.title), 1)) : z("", !0),
2738
+ Jo
2739
+ ], 8, zo))
2740
2740
  ]),
2741
2741
  _: 1
2742
2742
  }, 8, ["aria-hidden", "style"]));
2743
2743
  }
2744
- }), Jo = /* @__PURE__ */ Ge(Ho, [["__scopeId", "data-v-40a7f387"]]), Yo = (e) => (Je("data-v-98c34919"), e = e(), Ye(), e), Wo = ["aria-hidden"], Zo = {
2744
+ }), Wo = /* @__PURE__ */ Ge(Yo, [["__scopeId", "data-v-40a7f387"]]), Zo = (e) => (Je("data-v-98c34919"), e = e(), Ye(), e), Go = ["aria-hidden"], Qo = {
2745
2745
  key: 0,
2746
2746
  "data-testid": "kui-icon-svg-title"
2747
- }, Go = /* @__PURE__ */ Yo(() => /* @__PURE__ */ B("path", {
2747
+ }, Xo = /* @__PURE__ */ Zo(() => /* @__PURE__ */ B("path", {
2748
2748
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2749
2749
  fill: "currentColor"
2750
- }, null, -1)), Qo = /* @__PURE__ */ Y({
2750
+ }, null, -1)), el = /* @__PURE__ */ Y({
2751
2751
  __name: "ChevronDownIcon",
2752
2752
  props: {
2753
2753
  /** The accessibility text provided to screen readers */
@@ -2799,7 +2799,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2799
2799
  }
2800
2800
  },
2801
2801
  setup(e) {
2802
- const t = e, n = A(() => {
2802
+ const t = e, n = x(() => {
2803
2803
  if (typeof t.size == "number" && t.size > 0)
2804
2804
  return `${t.size}px`;
2805
2805
  if (typeof t.size == "string") {
@@ -2808,7 +2808,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2808
2808
  return `${o}px`;
2809
2809
  }
2810
2810
  return ke;
2811
- }), r = A(() => ({
2811
+ }), r = x(() => ({
2812
2812
  boxSizing: "border-box",
2813
2813
  color: t.color,
2814
2814
  display: t.display,
@@ -2816,7 +2816,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2816
2816
  lineHeight: "0",
2817
2817
  width: n.value
2818
2818
  }));
2819
- return (a, o) => (h(), U(Ce(e.as), {
2819
+ return (a, o) => (h(), R(Ce(e.as), {
2820
2820
  "aria-hidden": e.decorative ? "true" : void 0,
2821
2821
  class: "kui-icon chevron-down-icon",
2822
2822
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
@@ -2833,20 +2833,20 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2833
2833
  width: "100%",
2834
2834
  xmlns: "http://www.w3.org/2000/svg"
2835
2835
  }, [
2836
- e.title ? (h(), T("title", Zo, q(e.title), 1)) : z("", !0),
2837
- Go
2838
- ], 8, Wo))
2836
+ e.title ? (h(), T("title", Qo, q(e.title), 1)) : z("", !0),
2837
+ Xo
2838
+ ], 8, Go))
2839
2839
  ]),
2840
2840
  _: 1
2841
2841
  }, 8, ["aria-hidden", "style"]));
2842
2842
  }
2843
- }), Xo = /* @__PURE__ */ Ge(Qo, [["__scopeId", "data-v-98c34919"]]), el = (e) => (Je("data-v-19f4cbbe"), e = e(), Ye(), e), tl = ["aria-hidden"], nl = {
2843
+ }), tl = /* @__PURE__ */ Ge(el, [["__scopeId", "data-v-98c34919"]]), nl = (e) => (Je("data-v-19f4cbbe"), e = e(), Ye(), e), al = ["aria-hidden"], rl = {
2844
2844
  key: 0,
2845
2845
  "data-testid": "kui-icon-svg-title"
2846
- }, al = /* @__PURE__ */ el(() => /* @__PURE__ */ B("path", {
2846
+ }, il = /* @__PURE__ */ nl(() => /* @__PURE__ */ B("path", {
2847
2847
  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",
2848
2848
  fill: "currentColor"
2849
- }, null, -1)), rl = /* @__PURE__ */ Y({
2849
+ }, null, -1)), ol = /* @__PURE__ */ Y({
2850
2850
  __name: "CloseIcon",
2851
2851
  props: {
2852
2852
  /** The accessibility text provided to screen readers */
@@ -2898,7 +2898,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2898
2898
  }
2899
2899
  },
2900
2900
  setup(e) {
2901
- const t = e, n = A(() => {
2901
+ const t = e, n = x(() => {
2902
2902
  if (typeof t.size == "number" && t.size > 0)
2903
2903
  return `${t.size}px`;
2904
2904
  if (typeof t.size == "string") {
@@ -2907,7 +2907,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2907
2907
  return `${o}px`;
2908
2908
  }
2909
2909
  return ke;
2910
- }), r = A(() => ({
2910
+ }), r = x(() => ({
2911
2911
  boxSizing: "border-box",
2912
2912
  color: t.color,
2913
2913
  display: t.display,
@@ -2915,7 +2915,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2915
2915
  lineHeight: "0",
2916
2916
  width: n.value
2917
2917
  }));
2918
- return (a, o) => (h(), U(Ce(e.as), {
2918
+ return (a, o) => (h(), R(Ce(e.as), {
2919
2919
  "aria-hidden": e.decorative ? "true" : void 0,
2920
2920
  class: "kui-icon close-icon",
2921
2921
  "data-testid": "kui-icon-wrapper-close-icon",
@@ -2932,17 +2932,17 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2932
2932
  width: "100%",
2933
2933
  xmlns: "http://www.w3.org/2000/svg"
2934
2934
  }, [
2935
- e.title ? (h(), T("title", nl, q(e.title), 1)) : z("", !0),
2936
- al
2937
- ], 8, tl))
2935
+ e.title ? (h(), T("title", rl, q(e.title), 1)) : z("", !0),
2936
+ il
2937
+ ], 8, al))
2938
2938
  ]),
2939
2939
  _: 1
2940
2940
  }, 8, ["aria-hidden", "style"]));
2941
2941
  }
2942
- }), il = /* @__PURE__ */ Ge(rl, [["__scopeId", "data-v-19f4cbbe"]]), ol = {
2942
+ }), ll = /* @__PURE__ */ Ge(ol, [["__scopeId", "data-v-19f4cbbe"]]), sl = {
2943
2943
  class: "config-card-title",
2944
2944
  "data-testid": "config-card-title"
2945
- }, ll = { class: "config-card-actions" }, sl = ["href"], cl = { class: "config-card-details-section" }, ul = /* @__PURE__ */ Y({
2945
+ }, cl = { class: "config-card-actions" }, ul = ["href"], dl = { class: "config-card-details-section" }, pl = /* @__PURE__ */ Y({
2946
2946
  __name: "EntityBaseConfigCard",
2947
2947
  props: {
2948
2948
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2975,7 +2975,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
2975
2975
  * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
2976
2976
  * the endpoints file.
2977
2977
  *
2978
- * ex. `/api/runtime_groups/{controlPlaneId}/snis/{id}`
2978
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
2979
2979
  */
2980
2980
  fetchUrl: {
2981
2981
  type: String,
@@ -3073,21 +3073,21 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3073
3073
  // the last property displayed
3074
3074
  section: le.Basic
3075
3075
  }
3076
- }, y = N(!1), C = N(!1), v = N(""), w = N({}), L = A(() => {
3076
+ }, y = N(!1), C = N(!1), v = N(""), w = N({}), L = x(() => {
3077
3077
  var p, M, F;
3078
3078
  if (!w.value)
3079
3079
  return [];
3080
- const x = [], R = Object.keys(w.value).length;
3081
- for (const O in w.value) {
3082
- const j = (M = (p = a.configSchema) == null ? void 0 : p[O]) == null ? void 0 : M.order, P = (F = m[O]) == null ? void 0 : F.order;
3083
- let H = R;
3084
- (P || P === 0) && (H = P === -1 ? R + 1 : P), j && (H = j === -1 ? R + 1 : j), x.push([O, H]);
3080
+ const A = [], U = Object.keys(w.value).length;
3081
+ for (const $ in w.value) {
3082
+ const j = (M = (p = a.configSchema) == null ? void 0 : p[$]) == null ? void 0 : M.order, D = (F = m[$]) == null ? void 0 : F.order;
3083
+ let H = U;
3084
+ (D || D === 0) && (H = D === -1 ? U + 1 : D), j && (H = j === -1 ? U + 1 : j), A.push([$, H]);
3085
3085
  }
3086
- return x.sort(function(O, j) {
3087
- return O[1] - j[1];
3088
- }), x.map((O) => {
3089
- var j, P;
3090
- const H = O[0], ie = (j = w.value) == null ? void 0 : j[H], oe = ((P = a.configSchema) == null ? void 0 : P[H]) || {}, ue = m[H];
3086
+ return A.sort(function($, j) {
3087
+ return $[1] - j[1];
3088
+ }), A.map(($) => {
3089
+ var j, D;
3090
+ const H = $[0], ie = (j = w.value) == null ? void 0 : j[H], oe = ((D = a.configSchema) == null ? void 0 : D[H]) || {}, ue = m[H];
3091
3091
  return {
3092
3092
  key: H,
3093
3093
  value: ie,
@@ -3097,50 +3097,50 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3097
3097
  tooltip: oe.tooltip ?? ((ue == null ? void 0 : ue.tooltip) || void 0),
3098
3098
  section: oe.section ?? ((ue == null ? void 0 : ue.section) || le.Advanced)
3099
3099
  };
3100
- }).filter((O) => !O.hidden && O.key !== a.pluginConfigKey);
3101
- }), _ = A(() => {
3100
+ }).filter(($) => !$.hidden && $.key !== a.pluginConfigKey);
3101
+ }), _ = x(() => {
3102
3102
  var p, M;
3103
3103
  if (!w.value || !a.pluginConfigKey)
3104
3104
  return [];
3105
- const F = w.value[a.pluginConfigKey] || {}, x = Object.keys(F).length, R = [];
3106
- for (const O in F) {
3107
- const j = (M = (p = a.pluginConfigSchema) == null ? void 0 : p[O]) == null ? void 0 : M.order, P = F[O];
3108
- let H = P != null && P !== "" ? x - 1 : x;
3109
- j && (H = j === -1 ? x + 1 : j), R.push([O, H]);
3105
+ const F = w.value[a.pluginConfigKey] || {}, A = Object.keys(F).length, U = [];
3106
+ for (const $ in F) {
3107
+ const j = (M = (p = a.pluginConfigSchema) == null ? void 0 : p[$]) == null ? void 0 : M.order, D = F[$];
3108
+ let H = D != null && D !== "" ? A - 1 : A;
3109
+ j && (H = j === -1 ? A + 1 : j), U.push([$, H]);
3110
3110
  }
3111
- return R.sort(function(O, j) {
3112
- return O[1] - j[1];
3113
- }), R.map((O) => {
3111
+ return U.sort(function($, j) {
3112
+ return $[1] - j[1];
3113
+ }), U.map(($) => {
3114
3114
  var j;
3115
- const P = O[0], H = F[P], ie = ((j = a.pluginConfigSchema) == null ? void 0 : j[P]) || {};
3115
+ const D = $[0], H = F[D], ie = ((j = a.pluginConfigSchema) == null ? void 0 : j[D]) || {};
3116
3116
  return {
3117
- key: P,
3117
+ key: D,
3118
3118
  value: H,
3119
3119
  hidden: ie.hidden || !1,
3120
3120
  type: ie.type ?? J.Text,
3121
- label: ie.label ?? l(P),
3121
+ label: ie.label ?? l(D),
3122
3122
  tooltip: ie.tooltip ?? void 0,
3123
3123
  section: le.Plugin
3124
3124
  };
3125
- }).filter((O) => !O.hidden);
3126
- }), E = A(() => {
3127
- var p, M, F, x;
3125
+ }).filter(($) => !$.hidden);
3126
+ }), E = x(() => {
3127
+ var p, M, F, A;
3128
3128
  return {
3129
- basic: (p = L.value) == null ? void 0 : p.filter((R) => R.section === le.Basic),
3130
- advanced: (M = L.value) == null ? void 0 : M.filter((R) => R.section === le.Advanced),
3131
- plugin: (x = _.value) == null ? void 0 : x.concat((F = L.value) == null ? void 0 : F.filter((R) => R.section === le.Plugin))
3129
+ basic: (p = L.value) == null ? void 0 : p.filter((U) => U.section === le.Basic),
3130
+ advanced: (M = L.value) == null ? void 0 : M.filter((U) => U.section === le.Advanced),
3131
+ plugin: (A = _.value) == null ? void 0 : A.concat((F = L.value) == null ? void 0 : F.filter((U) => U.section === le.Plugin))
3132
3132
  };
3133
- }), g = A(() => {
3133
+ }), g = x(() => {
3134
3134
  const p = [];
3135
3135
  return E.value.basic.length && p.push("basic"), E.value.advanced.length && p.push("advanced"), E.value.plugin.length && p.push("plugin"), p;
3136
- }), f = A(() => {
3136
+ }), f = x(() => {
3137
3137
  var p, M;
3138
3138
  let F = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3139
3139
  return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (M = a.config) != null && M.workspace ? `/${a.config.workspace}` : "")), F = F.replace(/{id}/gi, a.config.entityId), F;
3140
3140
  });
3141
- return Ae(y, (p) => {
3141
+ return xe(y, (p) => {
3142
3142
  r("loading", p);
3143
- }, { immediate: !0 }), ut(async () => {
3143
+ }, { immediate: !0 }), pt(async () => {
3144
3144
  C.value = !1, y.value = !0;
3145
3145
  try {
3146
3146
  const { data: p } = await s.get(f.value);
@@ -3161,13 +3161,13 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3161
3161
  y.value = !1;
3162
3162
  }
3163
3163
  }), (p, M) => {
3164
- const F = K("KLabel"), x = K("KSelect"), R = K("KButton"), O = K("KSkeleton"), j = K("KEmptyState"), P = K("KCard");
3165
- return h(), U(P, {
3164
+ const F = K("KLabel"), A = K("KSelect"), U = K("KButton"), $ = K("KSkeleton"), j = K("KEmptyState"), D = K("KCard");
3165
+ return h(), R(D, {
3166
3166
  class: "kong-ui-entity-base-config-card",
3167
3167
  "title-tag": e.titleTag
3168
- }, Oe({
3168
+ }, $e({
3169
3169
  actions: b(() => [
3170
- B("div", ll, [
3170
+ B("div", cl, [
3171
3171
  W(p.$slots, "actions", {}, void 0, !0),
3172
3172
  I(F, {
3173
3173
  class: "config-format-select-label",
@@ -3178,12 +3178,12 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3178
3178
  ]),
3179
3179
  _: 1
3180
3180
  }),
3181
- I(x, {
3181
+ I(A, {
3182
3182
  "data-testid": "select-config-format",
3183
3183
  items: u,
3184
3184
  onChange: c
3185
3185
  }),
3186
- e.configCardDoc ? (h(), U(R, {
3186
+ e.configCardDoc ? (h(), R(U, {
3187
3187
  key: 0,
3188
3188
  appearance: "tertiary",
3189
3189
  class: "book-icon",
@@ -3195,20 +3195,20 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3195
3195
  rel: "noopener",
3196
3196
  target: "_blank"
3197
3197
  }, [
3198
- I(k(Jo), { size: k(Ya) }, null, 8, ["size"])
3199
- ], 8, sl)
3198
+ I(k(Wo), { size: k(Za) }, null, 8, ["size"])
3199
+ ], 8, ul)
3200
3200
  ]),
3201
3201
  _: 1
3202
3202
  })) : z("", !0)
3203
3203
  ])
3204
3204
  ]),
3205
3205
  default: b(() => [
3206
- y.value ? (h(), U(O, {
3206
+ y.value ? (h(), R($, {
3207
3207
  key: 0,
3208
3208
  "data-testid": "config-card-loader",
3209
3209
  "table-columns": 2,
3210
3210
  type: "table"
3211
- })) : C.value ? (h(), U(j, {
3211
+ })) : C.value ? (h(), R(j, {
3212
3212
  key: 1,
3213
3213
  "data-testid": "config-card-fetch-error",
3214
3214
  "icon-variant": "error"
@@ -3218,15 +3218,15 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3218
3218
  ]),
3219
3219
  _: 1
3220
3220
  })) : z("", !0),
3221
- B("div", cl, [
3222
- I(Fo, {
3221
+ B("div", dl, [
3222
+ I(Ko, {
3223
3223
  config: e.config,
3224
3224
  "fetcher-url": f.value,
3225
3225
  format: d.value,
3226
3226
  "prop-list-types": g.value,
3227
3227
  "property-collections": E.value,
3228
3228
  record: w.value
3229
- }, Oe({ _: 2 }, [
3229
+ }, $e({ _: 2 }, [
3230
3230
  se(Object.keys(p.$slots), (H) => ({
3231
3231
  name: H,
3232
3232
  fn: b(({ row: ie, rowValue: oe }) => [
@@ -3244,7 +3244,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3244
3244
  e.hideTitle ? void 0 : {
3245
3245
  name: "title",
3246
3246
  fn: b(() => [
3247
- B("span", ol, [
3247
+ B("span", sl, [
3248
3248
  W(p.$slots, "title", {}, () => [
3249
3249
  V(q(k(o)("baseConfigCard.title")), 1)
3250
3250
  ], !0)
@@ -3255,10 +3255,10 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3255
3255
  ]), 1032, ["title-tag"]);
3256
3256
  };
3257
3257
  }
3258
- }), dl = /* @__PURE__ */ ce(ul, [["__scopeId", "data-v-7c5b607d"]]), pl = {
3258
+ }), fl = /* @__PURE__ */ ce(pl, [["__scopeId", "data-v-3c3b1eb5"]]), gl = {
3259
3259
  class: "form-actions",
3260
3260
  "data-testid": "form-actions"
3261
- }, fl = /* @__PURE__ */ Y({
3261
+ }, yl = /* @__PURE__ */ Y({
3262
3262
  __name: "EntityBaseForm",
3263
3263
  props: {
3264
3264
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3279,7 +3279,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3279
3279
  * the endpoints file.
3280
3280
  * Required if `editId` is specified.
3281
3281
  *
3282
- * ex. `/api/runtime_groups/{controlPlaneId}/snis/{id}`
3282
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
3283
3283
  */
3284
3284
  fetchUrl: {
3285
3285
  type: String,
@@ -3313,9 +3313,9 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3313
3313
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3314
3314
  setup(e, { emit: t }) {
3315
3315
  var n;
3316
- const r = t, a = e, o = pt(), { i18n: { t: i } } = X.useI18n(), { getMessageFromError: l } = X.useErrors(), { axiosInstance: s } = X.useAxios({
3316
+ const r = t, a = e, o = gt(), { i18n: { t: i } } = X.useI18n(), { getMessageFromError: l } = X.useErrors(), { axiosInstance: s } = X.useAxios({
3317
3317
  headers: (n = a.config) == null ? void 0 : n.requestHeaders
3318
- }), u = N(!1), d = N(!1), c = N(""), m = A(() => a.canSubmit === !1 || a.isReadonly), y = N(!1), C = A(() => {
3318
+ }), u = N(!1), d = N(!1), c = N(""), m = x(() => a.canSubmit === !1 || a.isReadonly), y = N(!1), C = x(() => {
3319
3319
  var g, f;
3320
3320
  let p = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3321
3321
  return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (f = a.config) != null && f.workspace ? `/${a.config.workspace}` : "")), a.editId ? (p = p.replace(/{id}/gi, a.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
@@ -3337,9 +3337,9 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3337
3337
  hash: "#json"
3338
3338
  }
3339
3339
  ]);
3340
- return Ae(() => u.value, (g) => {
3340
+ return xe(() => u.value, (g) => {
3341
3341
  r("loading", g);
3342
- }, { immediate: !0 }), ut(async () => {
3342
+ }, { immediate: !0 }), pt(async () => {
3343
3343
  if (a.editId)
3344
3344
  try {
3345
3345
  d.value = !1, u.value = !0;
@@ -3352,13 +3352,13 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3352
3352
  u.value = !1;
3353
3353
  }
3354
3354
  }), (g, f) => {
3355
- const p = K("KSkeleton"), M = K("KEmptyState"), F = K("KAlert"), x = K("KButton"), R = K("KTabs"), O = K("KSlideout"), j = K("KCard");
3356
- return h(), U(j, { class: "kong-ui-entity-base-form" }, {
3355
+ const p = K("KSkeleton"), M = K("KEmptyState"), F = K("KAlert"), A = K("KButton"), U = K("KTabs"), $ = K("KSlideout"), j = K("KCard");
3356
+ return h(), R(j, { class: "kong-ui-entity-base-form" }, {
3357
3357
  default: b(() => [
3358
- u.value ? (h(), U(p, {
3358
+ u.value ? (h(), R(p, {
3359
3359
  key: 0,
3360
3360
  type: "form"
3361
- })) : d.value ? (h(), U(M, {
3361
+ })) : d.value ? (h(), R(M, {
3362
3362
  key: 1,
3363
3363
  "action-button-text": k(i)("baseForm.actions.back"),
3364
3364
  "data-testid": "form-fetch-error",
@@ -3372,29 +3372,29 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3372
3372
  }, 8, ["action-button-text"])) : (h(), T("form", {
3373
3373
  key: 2,
3374
3374
  "data-testid": "form-content",
3375
- onReset: at(L, ["prevent"]),
3376
- onSubmit: at(_, ["prevent"])
3375
+ onReset: it(L, ["prevent"]),
3376
+ onSubmit: it(_, ["prevent"])
3377
3377
  }, [
3378
3378
  W(g.$slots, "default", {}, void 0, !0),
3379
- e.errorMessage ? (h(), U(F, {
3379
+ e.errorMessage ? (h(), R(F, {
3380
3380
  key: 0,
3381
3381
  appearance: "danger",
3382
3382
  "data-testid": "form-error",
3383
3383
  message: e.errorMessage
3384
3384
  }, null, 8, ["message"])) : z("", !0),
3385
- B("div", pl, [
3385
+ B("div", gl, [
3386
3386
  W(g.$slots, "form-actions", {}, () => [
3387
- I(x, {
3387
+ I(A, {
3388
3388
  appearance: "tertiary",
3389
3389
  "data-testid": "form-view-configuration",
3390
- onClick: f[0] || (f[0] = (P) => v())
3390
+ onClick: f[0] || (f[0] = (D) => v())
3391
3391
  }, {
3392
3392
  default: b(() => [
3393
3393
  V(q(k(i)("baseForm.actions.viewConfiguration")), 1)
3394
3394
  ]),
3395
3395
  _: 1
3396
3396
  }),
3397
- I(x, {
3397
+ I(A, {
3398
3398
  appearance: "secondary",
3399
3399
  "data-testid": "form-cancel",
3400
3400
  disabled: e.isReadonly,
@@ -3405,7 +3405,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3405
3405
  ]),
3406
3406
  _: 1
3407
3407
  }, 8, ["disabled"]),
3408
- I(x, {
3408
+ I(A, {
3409
3409
  appearance: "primary",
3410
3410
  "data-testid": "form-submit",
3411
3411
  disabled: m.value,
@@ -3419,23 +3419,23 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3419
3419
  ], !0)
3420
3420
  ])
3421
3421
  ], 32)),
3422
- I(O, {
3422
+ I($, {
3423
3423
  "close-on-blur": !1,
3424
3424
  "data-testid": "form-view-configuration-slideout",
3425
3425
  "has-overlay": !1,
3426
3426
  "offset-top": 60,
3427
3427
  title: k(i)("baseForm.configuration.title"),
3428
3428
  visible: y.value,
3429
- onClose: f[1] || (f[1] = (P) => v())
3429
+ onClose: f[1] || (f[1] = (D) => v())
3430
3430
  }, {
3431
3431
  default: b(() => [
3432
3432
  B("div", null, q(k(i)("baseForm.configuration.message")), 1),
3433
- I(R, {
3433
+ I(U, {
3434
3434
  "data-testid": "form-view-configuration-slideout-tabs",
3435
3435
  tabs: E.value
3436
3436
  }, {
3437
3437
  json: b(() => [
3438
- I(rn, {
3438
+ I(ln, {
3439
3439
  config: e.config,
3440
3440
  "fetcher-url": C.value,
3441
3441
  "json-record": a.formFields,
@@ -3443,7 +3443,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3443
3443
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3444
3444
  ]),
3445
3445
  yaml: b(() => [
3446
- I(Jn, {
3446
+ I(Wn, {
3447
3447
  "yaml-record": a.formFields
3448
3448
  }, null, 8, ["yaml-record"])
3449
3449
  ]),
@@ -3457,10 +3457,10 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3457
3457
  });
3458
3458
  };
3459
3459
  }
3460
- }), gl = /* @__PURE__ */ ce(fl, [["__scopeId", "data-v-1d932d98"]]), yl = {
3460
+ }), ml = /* @__PURE__ */ ce(yl, [["__scopeId", "data-v-4c62c7d5"]]), hl = {
3461
3461
  key: 0,
3462
3462
  "data-testid": "first-col"
3463
- }, ml = /* @__PURE__ */ Y({
3463
+ }, vl = /* @__PURE__ */ Y({
3464
3464
  __name: "EntityBaseTableCell",
3465
3465
  props: {
3466
3466
  keyName: {
@@ -3473,13 +3473,13 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3473
3473
  }
3474
3474
  },
3475
3475
  setup(e) {
3476
- const t = e, n = A(() => {
3476
+ const t = e, n = x(() => {
3477
3477
  var v;
3478
3478
  return ((v = t.rowEl) == null ? void 0 : v.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3479
- }), r = A(() => {
3479
+ }), r = x(() => {
3480
3480
  var v;
3481
3481
  return ((v = n.value) == null ? void 0 : v.querySelector('[data-testid="first-col"]')) || null;
3482
- }), a = A(() => {
3482
+ }), a = x(() => {
3483
3483
  var v, w;
3484
3484
  const L = (v = t.rowEl) == null ? void 0 : v.querySelectorAll("td");
3485
3485
  return L ? ((w = L[0]) == null ? void 0 : w.getAttribute("data-testid")) === t.keyName : !1;
@@ -3490,7 +3490,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3490
3490
  }, l = () => {
3491
3491
  var v, w, L;
3492
3492
  u.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((w = n.value) == null ? void 0 : w.clientWidth) || 0, c.value = ((L = s.value) == null ? void 0 : L.innerText) || "";
3493
- }, s = N({}), u = N(0), d = N(0), c = N(""), m = A(() => [r.value, n.value]), y = Ae(
3493
+ }, s = N({}), u = N(0), d = N(0), c = N(""), m = x(() => [r.value, n.value]), y = xe(
3494
3494
  m,
3495
3495
  (v) => {
3496
3496
  if (a.value && (i(), "ResizeObserver" in window && window)) {
@@ -3504,10 +3504,10 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3504
3504
  }
3505
3505
  },
3506
3506
  { immediate: !0, flush: "post", deep: !0 }
3507
- ), C = A(() => a.value ? u.value > d.value : !1);
3508
- return ea(() => {
3507
+ ), C = x(() => a.value ? u.value > d.value : !1);
3508
+ return na(() => {
3509
3509
  l();
3510
- }), ta(() => {
3510
+ }), aa(() => {
3511
3511
  y();
3512
3512
  }), (v, w) => {
3513
3513
  const L = K("KTooltip");
@@ -3516,7 +3516,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3516
3516
  ref: s,
3517
3517
  class: "content-wrapper"
3518
3518
  }, [
3519
- a.value ? (h(), T("span", yl, [
3519
+ a.value ? (h(), T("span", hl, [
3520
3520
  I(L, {
3521
3521
  "max-width": "300",
3522
3522
  placement: "bottomStart",
@@ -3531,10 +3531,10 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3531
3531
  ], 512);
3532
3532
  };
3533
3533
  }
3534
- }), hl = /* @__PURE__ */ ce(ml, [["__scopeId", "data-v-c4379fd4"]]), vl = { class: "toolbar-container" }, bl = {
3534
+ }), bl = /* @__PURE__ */ ce(vl, [["__scopeId", "data-v-c4379fd4"]]), kl = { class: "toolbar-container" }, Cl = {
3535
3535
  key: 0,
3536
3536
  class: "toolbar-button-container"
3537
- }, kl = ["data-testid"], Cl = /* @__PURE__ */ Y({
3537
+ }, wl = ["data-testid"], Sl = /* @__PURE__ */ Y({
3538
3538
  __name: "EntityBaseTable",
3539
3539
  props: {
3540
3540
  // table header configuration
@@ -3648,7 +3648,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3648
3648
  },
3649
3649
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3650
3650
  setup(e, { emit: t }) {
3651
- const n = e, r = t, { i18n: { t: a } } = X.useI18n(), o = A(() => {
3651
+ const n = e, r = t, { i18n: { t: a } } = X.useI18n(), o = x(() => {
3652
3652
  var f, p;
3653
3653
  return typeof n.errorMessage == "string" ? {
3654
3654
  hasError: !!n.errorMessage,
@@ -3659,7 +3659,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3659
3659
  title: (f = n.errorMessage) == null ? void 0 : f.title,
3660
3660
  message: (p = n.errorMessage) == null ? void 0 : p.message
3661
3661
  };
3662
- }), i = A(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = A(() => {
3662
+ }), i = x(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = x(() => {
3663
3663
  const f = [];
3664
3664
  return Object.keys(n.tableHeaders).forEach((p) => {
3665
3665
  const M = n.tableHeaders[p];
@@ -3693,11 +3693,11 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3693
3693
  r("empty-state-cta-clicked"), C();
3694
3694
  }, C = () => {
3695
3695
  r("clear-search-input");
3696
- }, v = A(() => n.disableRowClick ? void 0 : (f, p) => {
3696
+ }, v = x(() => n.disableRowClick ? void 0 : (f, p) => {
3697
3697
  r("click:row", p);
3698
3698
  }), w = (f) => {
3699
3699
  r("sort", f);
3700
- }, { setTablePreferences: L, getTablePreferences: _ } = pa(), E = A(() => {
3700
+ }, { setTablePreferences: L, getTablePreferences: _ } = ga(), E = x(() => {
3701
3701
  const f = _(n.preferencesStorageKey);
3702
3702
  return {
3703
3703
  ...n.initialFetcherParams,
@@ -3707,14 +3707,14 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3707
3707
  n.preferencesStorageKey && L(n.preferencesStorageKey, f);
3708
3708
  };
3709
3709
  return (f, p) => {
3710
- const M = K("KIcon"), F = K("KButton"), x = K("KDropdown"), R = K("KTable"), O = K("KCard");
3711
- return h(), U(O, {
3710
+ const M = K("KIcon"), F = K("KButton"), A = K("KDropdown"), U = K("KTable"), $ = K("KCard");
3711
+ return h(), R($, {
3712
3712
  class: "kong-ui-entity-base-table",
3713
3713
  title: e.title,
3714
3714
  "title-tag": e.titleTag
3715
3715
  }, {
3716
3716
  default: b(() => [
3717
- I(R, {
3717
+ I(U, {
3718
3718
  ref_key: "tableRefs",
3719
3719
  ref: d,
3720
3720
  "cache-identifier": i.value,
@@ -3743,30 +3743,30 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3743
3743
  "onRow:click": v.value,
3744
3744
  onSort: p[0] || (p[0] = (j) => w(j)),
3745
3745
  "onUpdate:tablePreferences": g
3746
- }, Oe({
3746
+ }, $e({
3747
3747
  toolbar: b(({ state: j }) => [
3748
- ye(B("div", vl, [
3748
+ ye(B("div", kl, [
3749
3749
  W(f.$slots, "toolbar-filter", {}, void 0, !0),
3750
- f.$slots["toolbar-button"] ? (h(), T("div", bl, [
3750
+ f.$slots["toolbar-button"] ? (h(), T("div", Cl, [
3751
3751
  W(f.$slots, "toolbar-button", {}, void 0, !0)
3752
3752
  ])) : z("", !0)
3753
3753
  ], 512), [
3754
3754
  [me, l(j)]
3755
3755
  ])
3756
3756
  ]),
3757
- actions: b(({ row: j, rowKey: P, rowValue: H }) => [
3757
+ actions: b(({ row: j, rowKey: D, rowValue: H }) => [
3758
3758
  B("div", {
3759
3759
  class: "actions-container",
3760
3760
  "data-testid": j.name
3761
3761
  }, [
3762
- I(x, {
3762
+ I(A, {
3763
3763
  "kpop-attributes": { placement: "bottomEnd" },
3764
3764
  width: e.dropdownMenuWidth
3765
3765
  }, {
3766
3766
  items: b(() => [
3767
3767
  W(f.$slots, "actions", {
3768
3768
  row: j,
3769
- rowKey: P,
3769
+ rowKey: D,
3770
3770
  rowValue: H
3771
3771
  }, void 0, !0)
3772
3772
  ]),
@@ -3778,7 +3778,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3778
3778
  }, {
3779
3779
  icon: b(() => [
3780
3780
  I(M, {
3781
- color: k(za),
3781
+ color: k(Ja),
3782
3782
  icon: "more",
3783
3783
  size: "16"
3784
3784
  }, null, 8, ["color"])
@@ -3788,19 +3788,19 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3788
3788
  ]),
3789
3789
  _: 2
3790
3790
  }, 1032, ["width"])
3791
- ], 8, kl)
3791
+ ], 8, wl)
3792
3792
  ]),
3793
3793
  _: 2
3794
3794
  }, [
3795
- se(e.tableHeaders, (j, P) => ({
3796
- name: P,
3795
+ se(e.tableHeaders, (j, D) => ({
3796
+ name: D,
3797
3797
  fn: b(({ row: H, rowKey: ie, rowValue: oe }) => [
3798
- I(hl, {
3799
- "key-name": String(P),
3798
+ I(bl, {
3799
+ "key-name": String(D),
3800
3800
  "row-el": c(H)
3801
3801
  }, {
3802
3802
  default: b(() => [
3803
- W(f.$slots, P, {
3803
+ W(f.$slots, D, {
3804
3804
  row: H,
3805
3805
  rowKey: ie,
3806
3806
  rowValue: oe
@@ -3815,7 +3815,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3815
3815
  e.query ? void 0 : {
3816
3816
  name: "empty-state-action-icon",
3817
3817
  fn: b(() => [
3818
- I(k(Uo))
3818
+ I(k(Po))
3819
3819
  ]),
3820
3820
  key: "0"
3821
3821
  }
@@ -3825,13 +3825,13 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3825
3825
  }, 8, ["title", "title-tag"]);
3826
3826
  };
3827
3827
  }
3828
- }), wl = /* @__PURE__ */ ce(Cl, [["__scopeId", "data-v-99908c24"]]), Sl = {
3828
+ }), Al = /* @__PURE__ */ ce(Sl, [["__scopeId", "data-v-99908c24"]]), xl = {
3829
3829
  key: 0,
3830
3830
  class: "kong-ui-entity-delete-error"
3831
- }, xl = {
3831
+ }, Il = {
3832
3832
  key: 1,
3833
3833
  class: "description"
3834
- }, Al = /* @__PURE__ */ Y({
3834
+ }, _l = /* @__PURE__ */ Y({
3835
3835
  __name: "EntityDeleteModal",
3836
3836
  props: {
3837
3837
  visible: {
@@ -3870,14 +3870,14 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3870
3870
  },
3871
3871
  emits: ["cancel", "proceed"],
3872
3872
  setup(e, { emit: t }) {
3873
- const { i18nT: n } = X.useI18n(), r = e, a = t, o = A(() => r.needConfirm ? r.entityName : ""), i = () => {
3873
+ const { i18nT: n } = X.useI18n(), r = e, a = t, o = x(() => r.needConfirm ? r.entityName : ""), i = () => {
3874
3874
  a("cancel");
3875
3875
  }, l = () => {
3876
3876
  a("proceed");
3877
3877
  };
3878
3878
  return (s, u) => {
3879
3879
  const d = K("KAlert"), c = K("KPrompt");
3880
- return h(), U(c, {
3880
+ return h(), R(c, {
3881
3881
  "action-button-appearance": "danger",
3882
3882
  "action-button-disabled": e.actionPending,
3883
3883
  "action-button-text": "Yes, delete",
@@ -3889,7 +3889,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3889
3889
  onProceed: l
3890
3890
  }, {
3891
3891
  default: b(() => [
3892
- e.error ? (h(), T("div", Sl, [
3892
+ e.error ? (h(), T("div", xl, [
3893
3893
  I(d, { appearance: "danger" }, {
3894
3894
  default: b(() => [
3895
3895
  V(q(e.error), 1)
@@ -3901,7 +3901,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3901
3901
  class: "message",
3902
3902
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3903
3903
  tag: "p"
3904
- }, Oe({
3904
+ }, $e({
3905
3905
  entityType: b(() => [
3906
3906
  V(q(r.entityType), 1)
3907
3907
  ]),
@@ -3915,7 +3915,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3915
3915
  key: "0"
3916
3916
  } : void 0
3917
3917
  ]), 1032, ["keypath"]),
3918
- r.description || s.$slots.description ? (h(), T("div", xl, [
3918
+ r.description || s.$slots.description ? (h(), T("div", Il, [
3919
3919
  W(s.$slots, "description", {}, () => [
3920
3920
  B("p", null, q(r.description), 1)
3921
3921
  ], !0)
@@ -3925,13 +3925,13 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3925
3925
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3926
3926
  };
3927
3927
  }
3928
- }), Il = /* @__PURE__ */ ce(Al, [["__scopeId", "data-v-4361d622"]]), _l = {
3928
+ }), jl = /* @__PURE__ */ ce(_l, [["__scopeId", "data-v-4361d622"]]), Tl = {
3929
3929
  fill: "none",
3930
3930
  height: "20",
3931
3931
  viewBox: "0 0 20 20",
3932
3932
  width: "20",
3933
3933
  xmlns: "http://www.w3.org/2000/svg"
3934
- }, jl = {
3934
+ }, $l = {
3935
3935
  id: "mask0_180_20349",
3936
3936
  height: "20",
3937
3937
  maskUnits: "userSpaceOnUse",
@@ -3939,35 +3939,35 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3939
3939
  width: "20",
3940
3940
  x: "0",
3941
3941
  y: "0"
3942
- }, Tl = ["fill"], Ol = { mask: "url(#mask0_180_20349)" }, $l = ["fill"], Jt = /* @__PURE__ */ Y({
3942
+ }, Ol = ["fill"], Ml = { mask: "url(#mask0_180_20349)" }, Nl = ["fill"], Wt = /* @__PURE__ */ Y({
3943
3943
  __name: "IconFilter",
3944
3944
  props: {
3945
3945
  color: {
3946
3946
  type: String,
3947
- default: `var(--kong-ui-entity-filter-color, ${Da})`
3947
+ default: `var(--kong-ui-entity-filter-color, ${za})`
3948
3948
  }
3949
3949
  },
3950
3950
  setup(e) {
3951
- return (t, n) => (h(), T("svg", _l, [
3952
- B("mask", jl, [
3951
+ return (t, n) => (h(), T("svg", Tl, [
3952
+ B("mask", $l, [
3953
3953
  B("rect", {
3954
3954
  fill: e.color,
3955
3955
  height: "20",
3956
3956
  width: "20"
3957
- }, null, 8, Tl)
3957
+ }, null, 8, Ol)
3958
3958
  ]),
3959
- B("g", Ol, [
3959
+ B("g", Ml, [
3960
3960
  B("path", {
3961
3961
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3962
3962
  fill: e.color
3963
- }, null, 8, $l)
3963
+ }, null, 8, Nl)
3964
3964
  ])
3965
3965
  ]));
3966
3966
  }
3967
- }), Ml = {
3967
+ }), El = {
3968
3968
  key: 1,
3969
3969
  class: "kong-ui-entity-filter"
3970
- }, Nl = { class: "kong-ui-entity-filter-menu" }, El = ["data-testid"], Fl = ["onClick", "onKeydown"], ql = { class: "menu-item-indicator" }, Kl = { class: "menu-item-body" }, Ll = ["for"], Bl = { class: "menu-item-buttons" }, Rl = { class: "filter-clear-button-container" }, Ul = /* @__PURE__ */ Y({
3970
+ }, Fl = { class: "kong-ui-entity-filter-menu" }, ql = ["data-testid"], Kl = ["onClick", "onKeydown"], Ll = { class: "menu-item-indicator" }, Bl = { class: "menu-item-body" }, Ul = ["for"], Rl = { class: "menu-item-buttons" }, Dl = { class: "filter-clear-button-container" }, Pl = /* @__PURE__ */ Y({
3971
3971
  __name: "EntityFilter",
3972
3972
  props: {
3973
3973
  // filter config, either exact match or fuzzy match
@@ -3987,12 +3987,12 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
3987
3987
  },
3988
3988
  emits: ["update:modelValue"],
3989
3989
  setup(e, { emit: t }) {
3990
- const { i18n: { t: n } } = X.useI18n(), r = e, a = t, o = N(!1), i = N({}), l = N(/* @__PURE__ */ new Set()), s = A(() => {
3990
+ const { i18n: { t: n } } = X.useI18n(), r = e, a = t, o = N(!1), i = N({}), l = N(/* @__PURE__ */ new Set()), s = x(() => {
3991
3991
  const g = [];
3992
3992
  return new URLSearchParams(r.modelValue).forEach((f, p) => {
3993
3993
  f !== "" && g.push(p);
3994
3994
  }), g;
3995
- }), u = A(() => {
3995
+ }), u = x(() => {
3996
3996
  const g = r.config.fields;
3997
3997
  return Object.keys(g).filter((f) => g[f].searchable).map((f) => ({
3998
3998
  label: g[f].label || f,
@@ -4000,7 +4000,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4000
4000
  expanded: !1
4001
4001
  }));
4002
4002
  });
4003
- Ae(() => r.modelValue, (g) => {
4003
+ xe(() => r.modelValue, (g) => {
4004
4004
  i.value = {}, new URLSearchParams(g).forEach((f, p) => {
4005
4005
  i.value[p] = f;
4006
4006
  });
@@ -4035,7 +4035,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4035
4035
  };
4036
4036
  return (g, f) => {
4037
4037
  const p = K("KInput"), M = K("KButton"), F = K("KSelect");
4038
- return e.config.isExactMatch ? (h(), U(p, {
4038
+ return e.config.isExactMatch ? (h(), R(p, {
4039
4039
  key: 0,
4040
4040
  autocomplete: "off",
4041
4041
  class: "kong-ui-entity-filter-input",
@@ -4045,10 +4045,10 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4045
4045
  "onUpdate:modelValue": m
4046
4046
  }, {
4047
4047
  before: b(() => [
4048
- I(Jt)
4048
+ I(Wt)
4049
4049
  ]),
4050
4050
  after: b(() => [
4051
- ye(I(k(il), {
4051
+ ye(I(k(ll), {
4052
4052
  class: "kong-ui-entity-filter-clear",
4053
4053
  onClick: y
4054
4054
  }, null, 512), [
@@ -4056,14 +4056,14 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4056
4056
  ])
4057
4057
  ]),
4058
4058
  _: 1
4059
- }, 8, ["model-value", "placeholder"])) : (h(), T("div", Ml, [
4059
+ }, 8, ["model-value", "placeholder"])) : (h(), T("div", El, [
4060
4060
  I(M, {
4061
4061
  appearance: "tertiary",
4062
4062
  "data-testid": "filter-button",
4063
4063
  onClick: d
4064
4064
  }, {
4065
4065
  default: b(() => [
4066
- I(Jt),
4066
+ I(Wt),
4067
4067
  V(" " + q(k(n)("filter.filterButtonText")) + " " + q(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4068
4068
  ]),
4069
4069
  _: 1
@@ -4074,55 +4074,55 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4074
4074
  }, null, 512), [
4075
4075
  [me, o.value]
4076
4076
  ]),
4077
- ye(B("div", Nl, [
4078
- (h(!0), T(de, null, se(u.value, (x) => {
4079
- var R, O;
4077
+ ye(B("div", Fl, [
4078
+ (h(!0), T(de, null, se(u.value, (A) => {
4079
+ var U, $;
4080
4080
  return h(), T("div", {
4081
- key: x.value,
4081
+ key: A.value,
4082
4082
  class: "kong-ui-entity-filter-menu-item",
4083
- "data-testid": x.value
4083
+ "data-testid": A.value
4084
4084
  }, [
4085
4085
  B("span", {
4086
- class: ve(["menu-item-title", { expanded: l.value.has(x.value) }]),
4086
+ class: ve(["menu-item-title", { expanded: l.value.has(A.value) }]),
4087
4087
  role: "button",
4088
4088
  tabindex: "0",
4089
- onClick: (j) => c(x.value),
4090
- onKeydown: Qn((j) => c(x.value), ["enter"])
4089
+ onClick: (j) => c(A.value),
4090
+ onKeydown: ea((j) => c(A.value), ["enter"])
4091
4091
  }, [
4092
- V(q(x.label) + " ", 1),
4093
- ye(B("span", ql, null, 512), [
4094
- [me, s.value.includes(x.value)]
4092
+ V(q(A.label) + " ", 1),
4093
+ ye(B("span", Ll, null, 512), [
4094
+ [me, s.value.includes(A.value)]
4095
4095
  ]),
4096
- I(k(Xo), {
4097
- class: ve(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
4098
- color: k(Ha)
4096
+ I(k(tl), {
4097
+ class: ve(["menu-item-expand-icon", { expanded: l.value.has(A.value) }]),
4098
+ color: k(Ya)
4099
4099
  }, null, 8, ["class", "color"])
4100
- ], 42, Fl),
4101
- ye(B("div", Kl, [
4100
+ ], 42, Kl),
4101
+ ye(B("div", Bl, [
4102
4102
  B("label", {
4103
4103
  class: "menu-item-label",
4104
- for: C(x.value)
4105
- }, q(k(n)("filter.fieldLabel")), 9, Ll),
4106
- ((O = (R = e.config.schema) == null ? void 0 : R[x.value]) == null ? void 0 : O.type) === "select" ? (h(), U(F, {
4104
+ for: C(A.value)
4105
+ }, q(k(n)("filter.fieldLabel")), 9, Ul),
4106
+ (($ = (U = e.config.schema) == null ? void 0 : U[A.value]) == null ? void 0 : $.type) === "select" ? (h(), R(F, {
4107
4107
  key: 0,
4108
- id: C(x.value),
4109
- modelValue: i.value[x.value],
4110
- "onUpdate:modelValue": (j) => i.value[x.value] = j,
4111
- items: v(x.value),
4108
+ id: C(A.value),
4109
+ modelValue: i.value[A.value],
4110
+ "onUpdate:modelValue": (j) => i.value[A.value] = j,
4111
+ items: v(A.value),
4112
4112
  placeholder: k(n)("filter.selectPlaceholder")
4113
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (h(), U(p, {
4113
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (h(), R(p, {
4114
4114
  key: 1,
4115
- id: C(x.value),
4116
- modelValue: i.value[x.value],
4117
- "onUpdate:modelValue": (j) => i.value[x.value] = j,
4115
+ id: C(A.value),
4116
+ modelValue: i.value[A.value],
4117
+ "onUpdate:modelValue": (j) => i.value[A.value] = j,
4118
4118
  autocomplete: "off",
4119
4119
  placeholder: k(n)("filter.inputPlaceholder"),
4120
- type: w(x.value)
4120
+ type: w(A.value)
4121
4121
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4122
4122
  ], 512), [
4123
- [me, l.value.has(x.value)]
4123
+ [me, l.value.has(A.value)]
4124
4124
  ]),
4125
- ye(B("div", Bl, [
4125
+ ye(B("div", Rl, [
4126
4126
  I(M, {
4127
4127
  appearance: "tertiary",
4128
4128
  "data-testid": "apply-filter",
@@ -4138,7 +4138,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4138
4138
  appearance: "tertiary",
4139
4139
  "data-testid": "clear-filter",
4140
4140
  size: "small",
4141
- onClick: (j) => L(x.value)
4141
+ onClick: (j) => L(A.value)
4142
4142
  }, {
4143
4143
  default: b(() => [
4144
4144
  V(q(k(n)("filter.clearButtonText")), 1)
@@ -4146,11 +4146,11 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4146
4146
  _: 2
4147
4147
  }, 1032, ["onClick"])
4148
4148
  ], 512), [
4149
- [me, l.value.has(x.value)]
4149
+ [me, l.value.has(A.value)]
4150
4150
  ])
4151
- ], 8, El);
4151
+ ], 8, ql);
4152
4152
  }), 128)),
4153
- B("div", Rl, [
4153
+ B("div", Dl, [
4154
4154
  I(M, {
4155
4155
  appearance: "tertiary",
4156
4156
  size: "small",
@@ -4168,7 +4168,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4168
4168
  ]));
4169
4169
  };
4170
4170
  }
4171
- }), Pl = /* @__PURE__ */ ce(Ul, [["__scopeId", "data-v-8cfadde3"]]), Be = /* @__PURE__ */ Y({
4171
+ }), Vl = /* @__PURE__ */ ce(Pl, [["__scopeId", "data-v-8cfadde3"]]), Be = /* @__PURE__ */ Y({
4172
4172
  __name: "PermissionsWrapper",
4173
4173
  props: {
4174
4174
  /**
@@ -4190,21 +4190,21 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4190
4190
  }
4191
4191
  },
4192
4192
  setup(e) {
4193
- const t = e, n = N(void 0), r = A(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4194
- return Ae(() => t.authFunction, async () => {
4193
+ const t = e, n = N(void 0), r = x(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4194
+ return xe(() => t.authFunction, async () => {
4195
4195
  n.value = await t.authFunction();
4196
4196
  }, { immediate: !0 }), (a, o) => r.value ? W(a.$slots, "default", {
4197
4197
  key: 0,
4198
4198
  isAllowed: n.value
4199
4199
  }) : z("", !0);
4200
4200
  }
4201
- }), Dl = { class: "form-section-wrapper" }, Vl = {
4201
+ }), zl = { class: "form-section-wrapper" }, Hl = {
4202
4202
  key: 1,
4203
4203
  class: "form-section-description"
4204
- }, zl = {
4204
+ }, Jl = {
4205
4205
  key: 2,
4206
4206
  class: "form-section-footer"
4207
- }, Hl = { class: "form-section-content" }, Jl = /* @__PURE__ */ Y({
4207
+ }, Yl = { class: "form-section-content" }, Wl = /* @__PURE__ */ Y({
4208
4208
  __name: "EntityFormSection",
4209
4209
  props: {
4210
4210
  title: {
@@ -4233,16 +4233,16 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4233
4233
  }
4234
4234
  },
4235
4235
  setup(e) {
4236
- const t = dt();
4236
+ const t = ft();
4237
4237
  return (n, r) => (h(), T("fieldset", {
4238
4238
  class: ve(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4239
4239
  }, [
4240
- B("div", Dl, [
4240
+ B("div", zl, [
4241
4241
  e.hideInfoHeader ? z("", !0) : (h(), T("div", {
4242
4242
  key: 0,
4243
4243
  class: ve(["form-section-info", { sticky: e.stickyInfoHeader }])
4244
4244
  }, [
4245
- e.title ? (h(), U(Ce(e.titleTag), {
4245
+ e.title ? (h(), R(Ce(e.titleTag), {
4246
4246
  key: 0,
4247
4247
  class: "form-section-title"
4248
4248
  }, {
@@ -4251,22 +4251,22 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4251
4251
  ]),
4252
4252
  _: 1
4253
4253
  })) : z("", !0),
4254
- e.description || k(t).description ? (h(), T("div", Vl, [
4254
+ e.description || k(t).description ? (h(), T("div", Hl, [
4255
4255
  W(n.$slots, "description", {}, () => [
4256
4256
  B("p", null, q(e.description), 1)
4257
4257
  ], !0)
4258
4258
  ])) : z("", !0),
4259
- k(t).footer ? (h(), T("div", zl, [
4259
+ k(t).footer ? (h(), T("div", Jl, [
4260
4260
  W(n.$slots, "footer", {}, void 0, !0)
4261
4261
  ])) : z("", !0)
4262
4262
  ], 2)),
4263
- B("div", Hl, [
4263
+ B("div", Yl, [
4264
4264
  W(n.$slots, "default", {}, void 0, !0)
4265
4265
  ])
4266
4266
  ])
4267
4267
  ], 2));
4268
4268
  }
4269
- }), Yl = /* @__PURE__ */ ce(Jl, [["__scopeId", "data-v-4bb31634"]]), { useAxios: Yn, useDeleteUrlBuilder: Wl, useErrors: Zl, useExternalLinkCreator: cs, useFetchUrlBuilder: us, useFetcher: Gl, useDebouncedFilter: ds, useStringHelpers: ps, useHelpers: fs, useGatewayFeatureSupported: gs, useTruncationDetector: ys, useValidators: ms } = X, Ql = { class: "kong-ui-entities-key-sets-list" }, Xl = { key: 1 }, es = /* @__PURE__ */ Y({
4269
+ }), Zl = /* @__PURE__ */ ce(Wl, [["__scopeId", "data-v-4bb31634"]]), { useAxios: Zn, useDeleteUrlBuilder: Gl, useErrors: Ql, useExternalLinkCreator: ds, useFetchUrlBuilder: ps, useFetcher: Xl, useDebouncedFilter: fs, useStringHelpers: gs, useHelpers: ys, useGatewayFeatureSupported: ms, useTruncationDetector: hs, useValidators: vs } = X, es = { class: "kong-ui-entities-key-sets-list" }, ts = { key: 1 }, ns = /* @__PURE__ */ Y({
4270
4270
  __name: "KeySetList",
4271
4271
  props: {
4272
4272
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4312,98 +4312,98 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4312
4312
  },
4313
4313
  emits: ["error", "copy:success", "copy:error", "delete:success"],
4314
4314
  setup(e, { emit: t }) {
4315
- var wt;
4316
- const n = t, r = e, { i18n: { t: a } } = ft.useI18n(), o = pt(), { axiosInstance: i } = Yn({
4317
- headers: (wt = r.config) == null ? void 0 : wt.requestHeaders
4318
- }), l = N(1), s = A(() => r.config.app !== "kongManager" || !!r.config.disableSorting), u = {
4315
+ var At;
4316
+ const n = t, r = e, { i18n: { t: a } } = yt.useI18n(), o = gt(), { axiosInstance: i } = Zn({
4317
+ headers: (At = r.config) == null ? void 0 : At.requestHeaders
4318
+ }), l = N(1), s = x(() => r.config.app !== "kongManager" || !!r.config.disableSorting), u = {
4319
4319
  name: { label: a("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4320
4320
  tags: { label: a("keySets.list.table_headers.tags") },
4321
4321
  id: { label: a("keySets.list.table_headers.id"), sortable: !0 }
4322
- }, d = u, c = A(() => {
4323
- var D, ee;
4324
- let $ = `${r.config.apiBaseUrl}${Re.list[r.config.app]}`;
4325
- return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((D = r.config) == null ? void 0 : D.controlPlaneId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (ee = r.config) != null && ee.workspace ? `/${r.config.workspace}` : "")), $;
4326
- }), m = N(""), y = A(() => {
4327
- const $ = r.config.app === "konnect" || r.config.isExactMatch;
4328
- if ($)
4322
+ }, d = u, c = x(() => {
4323
+ var P, ee;
4324
+ let O = `${r.config.apiBaseUrl}${Ue.list[r.config.app]}`;
4325
+ return r.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((P = r.config) == null ? void 0 : P.controlPlaneId) || "") : r.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (ee = r.config) != null && ee.workspace ? `/${r.config.workspace}` : "")), O;
4326
+ }), m = N(""), y = x(() => {
4327
+ const O = r.config.app === "konnect" || r.config.isExactMatch;
4328
+ if (O)
4329
4329
  return {
4330
- isExactMatch: $,
4330
+ isExactMatch: O,
4331
4331
  placeholder: a("keySets.search.placeholder")
4332
4332
  };
4333
- const D = { name: u.name };
4333
+ const P = { name: u.name };
4334
4334
  return {
4335
- isExactMatch: $,
4336
- fields: D,
4335
+ isExactMatch: O,
4336
+ fields: P,
4337
4337
  schema: r.config.filterSchema
4338
4338
  };
4339
- }), { fetcher: C, fetcherState: v } = Gl(r.config, c.value), w = () => {
4339
+ }), { fetcher: C, fetcherState: v } = Xl(r.config, c.value), w = () => {
4340
4340
  m.value = "";
4341
4341
  }, L = () => {
4342
4342
  l.value++;
4343
- }, _ = N(null), E = ($, D) => {
4344
- const ee = $.id;
4345
- if (!D(ee)) {
4346
- p($, "id");
4343
+ }, _ = N(null), E = (O, P) => {
4344
+ const ee = O.id;
4345
+ if (!P(ee)) {
4346
+ p(O, "id");
4347
4347
  return;
4348
4348
  }
4349
- f($, "id");
4350
- }, g = ($, D) => {
4351
- const ee = JSON.stringify($);
4352
- if (!D(ee)) {
4349
+ f(O, "id");
4350
+ }, g = (O, P) => {
4351
+ const ee = JSON.stringify(O);
4352
+ if (!P(ee)) {
4353
4353
  n("copy:error", {
4354
- entity: $,
4354
+ entity: O,
4355
4355
  message: a("keySets.errors.copy")
4356
4356
  });
4357
4357
  return;
4358
4358
  }
4359
4359
  n("copy:success", {
4360
- entity: $,
4360
+ entity: O,
4361
4361
  message: a("keySets.copy.success_brief")
4362
4362
  });
4363
- }, f = ($, D) => {
4363
+ }, f = (O, P) => {
4364
4364
  n("copy:success", {
4365
- entity: $,
4366
- field: D,
4367
- message: a("keySets.copy.success", { val: $[D] })
4365
+ entity: O,
4366
+ field: P,
4367
+ message: a("keySets.copy.success", { val: O[P] })
4368
4368
  });
4369
- }, p = ($, D) => {
4369
+ }, p = (O, P) => {
4370
4370
  n("copy:error", {
4371
- entity: $,
4372
- field: D,
4371
+ entity: O,
4372
+ field: P,
4373
4373
  message: a("keySets.errors.copy")
4374
4374
  });
4375
- }, M = async ($) => {
4375
+ }, M = async (O) => {
4376
4376
  var ee;
4377
- await ((ee = r.canRetrieve) == null ? void 0 : ee.call(r, $)) && o.push(r.config.getViewRoute($.id));
4378
- }, F = ($) => ({
4377
+ await ((ee = r.canRetrieve) == null ? void 0 : ee.call(r, O)) && o.push(r.config.getViewRoute(O.id));
4378
+ }, F = (O) => ({
4379
4379
  label: a("keySets.actions.view"),
4380
- to: r.config.getViewRoute($)
4381
- }), x = ($) => ({
4380
+ to: r.config.getViewRoute(O)
4381
+ }), A = (O) => ({
4382
4382
  label: a("keySets.actions.edit"),
4383
- to: r.config.getEditRoute($)
4384
- }), R = N(void 0), O = N(!1), j = N(!1), P = N(""), H = Wl(r.config, c.value), ie = ($) => {
4385
- R.value = $, O.value = !0;
4383
+ to: r.config.getEditRoute(O)
4384
+ }), U = N(void 0), $ = N(!1), j = N(!1), D = N(""), H = Gl(r.config, c.value), ie = (O) => {
4385
+ U.value = O, $.value = !0;
4386
4386
  }, oe = () => {
4387
- O.value = !1;
4387
+ $.value = !1;
4388
4388
  }, ue = async () => {
4389
- var $, D, ee;
4390
- if (($ = R.value) != null && $.id) {
4389
+ var O, P, ee;
4390
+ if ((O = U.value) != null && O.id) {
4391
4391
  j.value = !0;
4392
4392
  try {
4393
- await i.delete(H(R.value.id)), j.value = !1, O.value = !1, l.value++, n("delete:success", R.value);
4393
+ await i.delete(H(U.value.id)), j.value = !1, $.value = !1, l.value++, n("delete:success", U.value);
4394
4394
  } catch (ge) {
4395
- P.value = ((ee = (D = ge.response) == null ? void 0 : D.data) == null ? void 0 : ee.message) || ge.message || a("keySets.errors.delete"), n("error", ge);
4395
+ D.value = ((ee = (P = ge.response) == null ? void 0 : P.data) == null ? void 0 : ee.message) || ge.message || a("keySets.errors.delete"), n("error", ge);
4396
4396
  } finally {
4397
4397
  j.value = !1;
4398
4398
  }
4399
4399
  }
4400
- }, Ct = N(!0);
4401
- Ae(v, ($) => {
4402
- var D, ee, ge, Le;
4403
- if (Array.isArray((D = $ == null ? void 0 : $.response) == null ? void 0 : D.data) && (Ct.value = $.response.data.length > 0), $.status === Se.Error) {
4400
+ }, St = N(!0);
4401
+ xe(v, (O) => {
4402
+ var P, ee, ge, Le;
4403
+ if (Array.isArray((P = O == null ? void 0 : O.response) == null ? void 0 : P.data) && (St.value = O.response.data.length > 0), O.status === Se.Error) {
4404
4404
  _.value = {
4405
4405
  title: a("keySets.errors.general")
4406
- }, (Le = (ge = (ee = $.error) == null ? void 0 : ee.response) == null ? void 0 : ge.data) != null && Le.message && (_.value.message = $.error.response.data.message), n("error", $.error);
4406
+ }, (Le = (ge = (ee = O.error) == null ? void 0 : ee.response) == null ? void 0 : ge.data) != null && Le.message && (_.value.message = O.error.response.data.message), n("error", O.error);
4407
4407
  return;
4408
4408
  }
4409
4409
  _.value = null;
@@ -4414,12 +4414,12 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4414
4414
  message: `${a("keySets.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
4415
4415
  title: a("keySets.title")
4416
4416
  });
4417
- return ut(async () => {
4417
+ return pt(async () => {
4418
4418
  await r.canCreate() && (Qe.value.title = a("keySets.list.empty_state.title"), Qe.value.ctaText = a("keySets.actions.create"));
4419
- }), ($, D) => {
4420
- const ee = K("KButton"), ge = K("KBadge"), Le = K("KTruncate"), Zn = K("KCopy"), Me = K("KDropdownItem"), St = K("KClipboardProvider");
4421
- return h(), T("div", Ql, [
4422
- I(k(wl), {
4419
+ }), (O, P) => {
4420
+ const ee = K("KButton"), ge = K("KBadge"), Le = K("KTruncate"), Qn = K("KCopy"), Me = K("KDropdownItem"), xt = K("KClipboardProvider");
4421
+ return h(), T("div", es, [
4422
+ I(k(Al), {
4423
4423
  "cache-identifier": e.cacheIdentifier,
4424
4424
  "disable-pagination-page-jump": "",
4425
4425
  "disable-sorting": s.value,
@@ -4434,18 +4434,18 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4434
4434
  "table-headers": k(d),
4435
4435
  "use-action-outside": e.useActionOutside,
4436
4436
  onClearSearchInput: w,
4437
- "onClick:row": D[2] || (D[2] = (Z) => M(Z)),
4437
+ "onClick:row": P[2] || (P[2] = (Z) => M(Z)),
4438
4438
  onSort: L
4439
4439
  }, {
4440
4440
  "toolbar-filter": b(() => [
4441
- I(k(Pl), {
4441
+ I(k(Vl), {
4442
4442
  modelValue: m.value,
4443
- "onUpdate:modelValue": D[0] || (D[0] = (Z) => m.value = Z),
4443
+ "onUpdate:modelValue": P[0] || (P[0] = (Z) => m.value = Z),
4444
4444
  config: y.value
4445
4445
  }, null, 8, ["modelValue", "config"])
4446
4446
  ]),
4447
4447
  "toolbar-button": b(() => [
4448
- (h(), U(Ce(e.useActionOutside ? "Teleport" : "div"), {
4448
+ (h(), R(Ce(e.useActionOutside ? "Teleport" : "div"), {
4449
4449
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4450
4450
  }, {
4451
4451
  default: b(() => [
@@ -4465,7 +4465,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4465
4465
  ]),
4466
4466
  _: 1
4467
4467
  }, 8, ["to"]), [
4468
- [me, Ct.value]
4468
+ [me, St.value]
4469
4469
  ])
4470
4470
  ]),
4471
4471
  _: 1
@@ -4478,11 +4478,11 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4478
4478
  B("b", null, q(Z ?? "-"), 1)
4479
4479
  ]),
4480
4480
  tags: b(({ rowValue: Z }) => [
4481
- (Z == null ? void 0 : Z.length) > 0 ? (h(), U(Le, { key: 0 }, {
4481
+ (Z == null ? void 0 : Z.length) > 0 ? (h(), R(Le, { key: 0 }, {
4482
4482
  default: b(() => [
4483
- (h(!0), T(de, null, se(Z, (we) => (h(), U(ge, {
4483
+ (h(!0), T(de, null, se(Z, (we) => (h(), R(ge, {
4484
4484
  key: we,
4485
- onClick: D[1] || (D[1] = at(() => {
4485
+ onClick: P[1] || (P[1] = it(() => {
4486
4486
  }, ["stop"]))
4487
4487
  }, {
4488
4488
  default: b(() => [
@@ -4492,20 +4492,20 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4492
4492
  }, 1024))), 128))
4493
4493
  ]),
4494
4494
  _: 2
4495
- }, 1024)) : (h(), T("span", Xl, "-"))
4495
+ }, 1024)) : (h(), T("span", ts, "-"))
4496
4496
  ]),
4497
4497
  id: b(({ rowValue: Z }) => [
4498
- I(Zn, {
4498
+ I(Qn, {
4499
4499
  text: Z,
4500
4500
  truncate: ""
4501
4501
  }, null, 8, ["text"])
4502
4502
  ]),
4503
4503
  actions: b(({ row: Z }) => [
4504
- I(St, null, {
4504
+ I(xt, null, {
4505
4505
  default: b(({ copyToClipboard: we }) => [
4506
4506
  I(Me, {
4507
4507
  "data-testid": "action-entity-copy-id",
4508
- onClick: (Gn) => E(Z, we)
4508
+ onClick: (Xn) => E(Z, we)
4509
4509
  }, {
4510
4510
  default: b(() => [
4511
4511
  V(q(k(a)("keySets.actions.copy_id")), 1)
@@ -4515,11 +4515,11 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4515
4515
  ]),
4516
4516
  _: 2
4517
4517
  }, 1024),
4518
- I(St, null, {
4518
+ I(xt, null, {
4519
4519
  default: b(({ copyToClipboard: we }) => [
4520
4520
  I(Me, {
4521
4521
  "data-testid": "action-entity-copy-json",
4522
- onClick: (Gn) => g(Z, we)
4522
+ onClick: (Xn) => g(Z, we)
4523
4523
  }, {
4524
4524
  default: b(() => [
4525
4525
  V(q(k(a)("keySets.actions.copy_json")), 1)
@@ -4547,7 +4547,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4547
4547
  default: b(() => [
4548
4548
  I(Me, {
4549
4549
  "data-testid": "action-entity-edit",
4550
- item: x(Z.id)
4550
+ item: A(Z.id)
4551
4551
  }, null, 8, ["item"])
4552
4552
  ]),
4553
4553
  _: 2
@@ -4573,26 +4573,26 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4573
4573
  ]),
4574
4574
  _: 1
4575
4575
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4576
- I(k(Il), {
4576
+ I(k(jl), {
4577
4577
  "action-pending": j.value,
4578
4578
  description: k(a)("keySets.delete.description"),
4579
- "entity-name": R.value && (R.value.name || R.value.id),
4580
- "entity-type": k(Gt).KeySet,
4581
- error: P.value,
4579
+ "entity-name": U.value && (U.value.name || U.value.id),
4580
+ "entity-type": k(Xt).KeySet,
4581
+ error: D.value,
4582
4582
  title: k(a)("keySets.delete.title"),
4583
- visible: O.value,
4583
+ visible: $.value,
4584
4584
  onCancel: oe,
4585
4585
  onProceed: ue
4586
4586
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
4587
4587
  ]);
4588
4588
  };
4589
4589
  }
4590
- }), Wn = (e, t) => {
4590
+ }), Gn = (e, t) => {
4591
4591
  const n = e.__vccOpts || e;
4592
4592
  for (const [r, a] of t)
4593
4593
  n[r] = a;
4594
4594
  return n;
4595
- }, hs = /* @__PURE__ */ Wn(es, [["__scopeId", "data-v-949b46c8"]]), ts = { class: "kong-ui-entities-key-sets-form" }, ns = /* @__PURE__ */ Y({
4595
+ }, bs = /* @__PURE__ */ Gn(ns, [["__scopeId", "data-v-949b46c8"]]), as = { class: "kong-ui-entities-key-sets-form" }, rs = /* @__PURE__ */ Y({
4596
4596
  __name: "KeySetForm",
4597
4597
  props: {
4598
4598
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4611,28 +4611,28 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4611
4611
  emits: ["update", "error", "loading"],
4612
4612
  setup(e, { emit: t }) {
4613
4613
  var _;
4614
- const n = t, r = e, a = pt(), { i18n: { t: o } } = ft.useI18n(), { getMessageFromError: i } = Zl(), { axiosInstance: l } = Yn({
4614
+ const n = t, r = e, a = gt(), { i18n: { t: o } } = yt.useI18n(), { getMessageFromError: i } = Ql(), { axiosInstance: l } = Zn({
4615
4615
  headers: (_ = r.config) == null ? void 0 : _.requestHeaders
4616
- }), s = A(() => Re.form[r.config.app].edit), u = A(() => r.keySetId ? rt.Edit : rt.Create), d = xt({
4616
+ }), s = x(() => Ue.form[r.config.app].edit), u = x(() => r.keySetId ? ot.Edit : ot.Create), d = It({
4617
4617
  fields: {
4618
4618
  name: "",
4619
4619
  tags: ""
4620
4620
  },
4621
4621
  isReadonly: !1,
4622
4622
  errorMessage: ""
4623
- }), c = xt({
4623
+ }), c = It({
4624
4624
  name: "",
4625
4625
  tags: ""
4626
- }), m = A(() => JSON.stringify(d.fields) !== JSON.stringify(c) && !!d.fields.name), y = (E) => {
4626
+ }), m = x(() => JSON.stringify(d.fields) !== JSON.stringify(c) && !!d.fields.name), y = (E) => {
4627
4627
  var g;
4628
4628
  d.fields.name = (E == null ? void 0 : E.name) || "", d.fields.tags = ((g = E == null ? void 0 : E.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(c, d.fields);
4629
4629
  }, C = () => {
4630
4630
  a.push(r.config.cancelRoute);
4631
- }, v = A(() => {
4631
+ }, v = x(() => {
4632
4632
  var g, f;
4633
- let E = `${r.config.apiBaseUrl}${Re.form[r.config.app][u.value]}`;
4633
+ let E = `${r.config.apiBaseUrl}${Ue.form[r.config.app][u.value]}`;
4634
4634
  return r.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (f = r.config) != null && f.workspace ? `/${r.config.workspace}` : "")), E = E.replace(/{id}/gi, r.keySetId), E;
4635
- }), w = A(() => {
4635
+ }), w = x(() => {
4636
4636
  var E, g, f;
4637
4637
  return {
4638
4638
  name: d.fields.name,
@@ -4655,8 +4655,8 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4655
4655
  };
4656
4656
  return (E, g) => {
4657
4657
  const f = K("KInput");
4658
- return h(), T("div", ts, [
4659
- I(k(gl), {
4658
+ return h(), T("div", as, [
4659
+ I(k(ml), {
4660
4660
  "can-submit": m.value,
4661
4661
  config: e.config,
4662
4662
  "edit-id": e.keySetId,
@@ -4671,7 +4671,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4671
4671
  onSubmit: L
4672
4672
  }, {
4673
4673
  default: b(() => [
4674
- I(k(Yl), {
4674
+ I(k(Zl), {
4675
4675
  description: k(o)("keySets.form.sections.general.description"),
4676
4676
  "has-divider": "",
4677
4677
  title: k(o)("keySets.form.sections.general.title")
@@ -4710,7 +4710,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4710
4710
  ]);
4711
4711
  };
4712
4712
  }
4713
- }), vs = /* @__PURE__ */ Wn(ns, [["__scopeId", "data-v-9e736908"]]), as = { class: "kong-ui-entities-keys-entity-config-card" }, bs = /* @__PURE__ */ Y({
4713
+ }), ks = /* @__PURE__ */ Gn(rs, [["__scopeId", "data-v-9e736908"]]), is = { class: "kong-ui-entities-keys-entity-config-card" }, Cs = /* @__PURE__ */ Y({
4714
4714
  __name: "KeySetConfigCard",
4715
4715
  props: {
4716
4716
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4737,7 +4737,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4737
4737
  },
4738
4738
  emits: ["loading", "fetch:error", "fetch:success"],
4739
4739
  setup(e) {
4740
- const t = e, { i18n: { t: n } } = ft.useI18n(), r = A(() => Re.form[t.config.app].edit), a = N({
4740
+ const t = e, { i18n: { t: n } } = yt.useI18n(), r = x(() => Ue.form[t.config.app].edit), a = N({
4741
4741
  id: {},
4742
4742
  name: {},
4743
4743
  last_updated: {},
@@ -4746,8 +4746,8 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4746
4746
  tooltip: n("keySets.form.fields.tags.tooltip")
4747
4747
  }
4748
4748
  });
4749
- return (o, i) => (h(), T("div", as, [
4750
- I(k(dl), {
4749
+ return (o, i) => (h(), T("div", is, [
4750
+ I(k(fl), {
4751
4751
  config: e.config,
4752
4752
  "config-card-doc": e.configCardDoc,
4753
4753
  "config-schema": a.value,
@@ -4761,7 +4761,7 @@ const Oo = { class: "yaml-config" }, Jn = /* @__PURE__ */ Y({
4761
4761
  }
4762
4762
  });
4763
4763
  export {
4764
- bs as KeySetConfigCard,
4765
- vs as KeySetForm,
4766
- hs as KeySetList
4764
+ Cs as KeySetConfigCard,
4765
+ ks as KeySetForm,
4766
+ bs as KeySetList
4767
4767
  };