@kong-ui-public/entities-shared 3.40.1 → 3.40.2

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,13 +1,20 @@
1
- import { inject as at, ref as M, computed as _, unref as C, toValue as ye, watch as xe, toRef as ei, provide as Vt, defineComponent as Q, openBlock as g, createBlock as B, resolveDynamicComponent as qe, normalizeClass as fe, withCtx as x, createElementBlock as S, createElementVNode as L, toDisplayString as I, createCommentVNode as D, Fragment as pe, renderList as de, resolveComponent as U, createVNode as N, createTextVNode as q, useCssVars as Wt, useId as ti, useSlots as He, renderSlot as j, createSlots as Ae, normalizeProps as ni, guardReactiveProps as ii, mergeProps as Jt, onMounted as ot, onBeforeMount as lt, withModifiers as Ne, Teleport as Gt, onUnmounted as ri, withDirectives as we, vShow as _e, withKeys as ai, warn as oi } from "vue";
2
- import yt from "axios";
3
- import { createI18n as li, i18nTComponent as si } from "@kong-ui-public/i18n";
4
- import { BadgeMethodAppearances as ci, KExternalLink as ui, KButton as vt, KTruncate as di, KBadge as fi } from "@kong/kongponents";
5
- import { createdBundledHighlighter as pi, createSingletonShorthands as mi } from "@shikijs/core";
1
+ import { inject as ot, ref as M, computed as _, unref as C, toValue as ye, watch as xe, toRef as ti, provide as Wt, defineComponent as Q, openBlock as g, createBlock as L, resolveDynamicComponent as qe, normalizeClass as fe, withCtx as x, createElementBlock as S, createElementVNode as B, toDisplayString as I, createCommentVNode as D, Fragment as pe, renderList as de, resolveComponent as U, createVNode as N, createTextVNode as q, useCssVars as Jt, useId as ni, useSlots as He, renderSlot as j, createSlots as Ae, normalizeProps as ii, guardReactiveProps as ri, mergeProps as Gt, onMounted as lt, onBeforeMount as st, withModifiers as Ne, Teleport as zt, onUnmounted as ai, withDirectives as we, vShow as _e, withKeys as oi, warn as li } from "vue";
2
+ import vt from "axios";
3
+ import { createI18n as si, i18nTComponent as ci } from "@kong-ui-public/i18n";
4
+ import { BadgeMethodAppearances as ui, KExternalLink as di, KButton as bt, KTruncate as fi, KBadge as pi } from "@kong/kongponents";
5
+ import { createHighlighterCoreSync as mi } from "@shikijs/core";
6
6
  import { createJavaScriptRegexEngine as gi } from "@shikijs/engine-javascript";
7
- import { LanguageShellIcon as bt, LanguageBashIcon as kt, BookIcon as zt, AddIcon as Qt, CloseIcon as hi, ChevronDownIcon as yi, CopyIcon as vi } from "@kong/icons";
8
- import { useRouter as bi } from "vue-router";
9
- var ki = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(ki || {}), Ci = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ci || {}), he = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(he || {}), ke = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(ke || {});
10
- const Ye = Object.values(ke), Zt = [
7
+ import hi from "@shikijs/langs/json";
8
+ import yi from "@shikijs/langs/yaml";
9
+ import vi from "@shikijs/langs/terraform";
10
+ import bi from "@shikijs/langs/shellscript";
11
+ import ki from "@shikijs/langs/powershell";
12
+ import Ci from "@shikijs/themes/catppuccin-mocha";
13
+ import xi from "@shikijs/themes/catppuccin-latte";
14
+ import { LanguageShellIcon as kt, LanguageBashIcon as Ct, BookIcon as Qt, AddIcon as Zt, CloseIcon as Ai, ChevronDownIcon as wi, CopyIcon as _i } from "@kong/icons";
15
+ import { useRouter as Si } from "vue-router";
16
+ var $i = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e.RedisConfiguration = "redis configuration", e))($i || {}), Ti = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ti || {}), he = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(he || {}), ke = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(ke || {});
17
+ const Ye = Object.values(ke), Xt = [
11
18
  "ca_certificate",
12
19
  "certificate",
13
20
  "consumer",
@@ -22,24 +29,24 @@ const Ye = Object.values(ke), Zt = [
22
29
  "vault",
23
30
  "partial"
24
31
  /* Partial */
25
- ], xi = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key"], Ai = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
32
+ ], Ei = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key"], Ii = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
26
33
  var G = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(G || {}), le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e.Policy = "policy", e))(le || {});
27
- const Ct = [
34
+ const xt = [
28
35
  "primary",
29
36
  "secondary"
30
37
  ];
31
- function wi() {
38
+ function Fi() {
32
39
  return {
33
40
  getAxiosInstance: (e = {}) => {
34
41
  try {
35
- const t = at("get-axios-instance", void 0);
36
- return typeof t == "function" ? t(e) : yt.create({
42
+ const t = ot("get-axios-instance", void 0);
43
+ return typeof t == "function" ? t(e) : vt.create({
37
44
  withCredentials: !0,
38
45
  timeout: 3e4,
39
46
  ...e
40
47
  });
41
48
  } catch (t) {
42
- return console.warn("getAxiosInstance:", t.message || t), yt.create({
49
+ return console.warn("getAxiosInstance:", t.message || t), vt.create({
43
50
  withCredentials: !0,
44
51
  timeout: 3e4,
45
52
  ...e
@@ -52,7 +59,7 @@ function wi() {
52
59
  }
53
60
  };
54
61
  }
55
- function _i() {
62
+ function Oi() {
56
63
  return {
57
64
  debounce: (e, t) => {
58
65
  let n;
@@ -64,13 +71,13 @@ function _i() {
64
71
  }
65
72
  };
66
73
  }
67
- const Je = "khcp-user-table-preferences", Si = {
74
+ const Je = "khcp-user-table-preferences", Li = {
68
75
  pageSize: 30,
69
76
  sortColumnKey: void 0,
70
77
  sortColumnOrder: void 0,
71
78
  columnVisibility: {}
72
79
  };
73
- function $i() {
80
+ function Bi() {
74
81
  const e = (n) => {
75
82
  if (typeof n == "string")
76
83
  try {
@@ -94,30 +101,30 @@ function $i() {
94
101
  },
95
102
  getTablePreferences: (n, i) => {
96
103
  const r = t();
97
- return (r == null ? void 0 : r.get(n)) || void 0 || i || Si;
104
+ return (r == null ? void 0 : r.get(n)) || void 0 || i || Li;
98
105
  },
99
106
  deleteAllTablePreferences: () => {
100
107
  localStorage.removeItem(Je);
101
108
  }
102
109
  };
103
110
  }
104
- function st(e = {}) {
105
- const { getAxiosInstance: t } = wi();
111
+ function ct(e = {}) {
112
+ const { getAxiosInstance: t } = Fi();
106
113
  return {
107
114
  axiosInstance: t(e)
108
115
  };
109
116
  }
110
- const Ti = {
117
+ const Ri = {
111
118
  actions: {
112
119
  copyId: "Copy ID",
113
120
  copied_id: 'Copied "{id}" to the clipboard',
114
121
  copyToClipboard: "Copied successfully!",
115
122
  copyToClipboardFailed: "Failed to copy to the clipboard"
116
123
  }
117
- }, Ei = {
124
+ }, Ki = {
118
125
  message: "Are you sure you want to delete this {entityType}?",
119
126
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
120
- }, Ii = {
127
+ }, Ni = {
121
128
  actions: {
122
129
  viewConfiguration: "View configuration",
123
130
  hideConfiguration: "Hide configuration",
@@ -136,13 +143,13 @@ const Ti = {
136
143
  errors: {
137
144
  edit: "The entity could not be edited at this time."
138
145
  }
139
- }, Fi = {
146
+ }, Mi = {
140
147
  emptyState: {
141
148
  noSearchResultsTitle: "No results found",
142
149
  noSearchResultsMessage: "Please adjust the criteria and try again.",
143
150
  noSearchResultsCtaText: "Clear"
144
151
  }
145
- }, Oi = {
152
+ }, Pi = {
146
153
  title: "Configuration",
147
154
  actions: {
148
155
  copy: "Copy JSON"
@@ -179,10 +186,10 @@ const Ti = {
179
186
  entryTitle: "Entry {index}",
180
187
  structuredFormat: "Structured"
181
188
  }
182
- }, Bi = {
189
+ }, Di = {
183
190
  learnMore: "Learn more",
184
191
  pricingTitle: "Pricing: "
185
- }, Li = {
192
+ }, ji = {
186
193
  filterButtonText: "Filter",
187
194
  fieldLabel: "Filter by:",
188
195
  inputPlaceholder: "Enter a value",
@@ -190,17 +197,17 @@ const Ti = {
190
197
  applyButtonText: "Apply",
191
198
  clearButtonText: "Clear",
192
199
  clearAllButtonText: "Clear all filters"
193
- }, Ri = {
200
+ }, Ui = {
194
201
  errors: {
195
202
  fetch: "Could not fetch available items",
196
203
  invalid: "Please select a valid value"
197
204
  }
198
- }, Ki = {
205
+ }, qi = {
199
206
  unexpected: "An unexpected error has occurred",
200
207
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
201
- }, Ni = {
208
+ }, Hi = {
202
209
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
203
- }, Mi = {
210
+ }, Yi = {
204
211
  enable: {
205
212
  title: "Enable {entityType}",
206
213
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -211,35 +218,35 @@ const Ti = {
211
218
  message: "Are you sure you want to disable the {entityType} {entityName}?",
212
219
  confirmText: "Yes, disable"
213
220
  }
214
- }, Pi = {
221
+ }, Vi = {
215
222
  hint: {
216
223
  konnect: "The {token} environment variable must be added first. See {link} for details.",
217
224
  kongManager: "If your Admin API is secured, set up authentication following {link}."
218
225
  },
219
226
  documentation: "the documentation"
220
- }, Di = {
221
- global: Ti,
222
- deleteModal: Ei,
223
- baseForm: Ii,
224
- baseTable: Fi,
225
- baseConfigCard: Oi,
226
- emptyState: Bi,
227
- filter: Li,
228
- debouncedFilter: Ri,
229
- errors: Ki,
230
- validationErrors: Ni,
231
- toggleModal: Mi,
232
- deckCodeBlock: Pi
227
+ }, Wi = {
228
+ global: Ri,
229
+ deleteModal: Ki,
230
+ baseForm: Ni,
231
+ baseTable: Mi,
232
+ baseConfigCard: Pi,
233
+ emptyState: Di,
234
+ filter: ji,
235
+ debouncedFilter: Ui,
236
+ errors: qi,
237
+ validationErrors: Hi,
238
+ toggleModal: Yi,
239
+ deckCodeBlock: Vi
233
240
  };
234
241
  function Ve() {
235
- const e = li("en-us", Di);
242
+ const e = si("en-us", Wi);
236
243
  return {
237
244
  i18n: e,
238
- i18nT: si(e)
245
+ i18nT: ci(e)
239
246
  // Translation component <i18n-t>
240
247
  };
241
248
  }
242
- function Xt() {
249
+ function en() {
243
250
  const e = (o, a) => (a == null ? void 0 : a[o]) ?? void 0, t = (o, a) => {
244
251
  if (o.length !== a.length) return !1;
245
252
  const l = /* @__PURE__ */ new Set([...o, ...a]);
@@ -281,17 +288,17 @@ function Xt() {
281
288
  isValidUuid: (o) => o ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o) : !1
282
289
  };
283
290
  }
284
- function ji(e, t, n, i = {
291
+ function Ji(e, t, n, i = {
285
292
  fetchedItemsKey: "data",
286
293
  searchKeys: ["id"]
287
294
  }) {
288
295
  n || (n = "1000");
289
- const { axiosInstance: r } = st(e.axiosRequestConfig), { i18n: { t: o } } = Ve(), { debounce: a } = _i(), l = a(async (w) => {
296
+ const { axiosInstance: r } = ct(e.axiosRequestConfig), { i18n: { t: o } } = Ve(), { debounce: a } = Oi(), l = a(async (w) => {
290
297
  await k(w);
291
298
  }, 200), s = M(!1), d = M(""), c = M(""), u = M([]), m = M([]), f = M(void 0), h = _(() => {
292
299
  const w = `${e.apiBaseUrl}${C(t)}`;
293
300
  return e.app === "konnect" ? w.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? w.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : w;
294
- }), { isValidUuid: b } = Xt(), y = async () => {
301
+ }), { isValidUuid: b } = en(), y = async () => {
295
302
  try {
296
303
  s.value = !0;
297
304
  const { data: w } = await r.get(`${h.value}?size=${n}`);
@@ -359,13 +366,13 @@ function ji(e, t, n, i = {
359
366
  debouncedQueryChange: l
360
367
  };
361
368
  }
362
- function Ui(e, t) {
369
+ function Gi(e, t) {
363
370
  const n = C(t), i = _(
364
371
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
365
372
  );
366
373
  return i.value.search = "", (r) => `${i.value.href}/${r}`;
367
374
  }
368
- function qi() {
375
+ function zi() {
369
376
  const { i18n: { t: e } } = Ve();
370
377
  return {
371
378
  getErrorFieldsFromError: (i) => {
@@ -437,7 +444,7 @@ function qi() {
437
444
  }
438
445
  };
439
446
  }
440
- function Hi(e) {
447
+ function Qi(e) {
441
448
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
442
449
  try {
443
450
  const i = e.join("/"), r = `${n}${i}`, o = e.some((l) => l.trim() === "");
@@ -448,7 +455,7 @@ function Hi(e) {
448
455
  return console.warn("Failed to build valid URL:", i), "";
449
456
  }
450
457
  }
451
- function en(e, t) {
458
+ function tn(e, t) {
452
459
  const n = _(() => {
453
460
  const r = ye(e);
454
461
  return r.app === "konnect" || !!r.isExactMatch;
@@ -468,9 +475,9 @@ function en(e, t) {
468
475
  }
469
476
  };
470
477
  }
471
- const xt = /* @__PURE__ */ new Map();
472
- function Yi(e, t, n) {
473
- const i = M(!0), r = ye(e), { axiosInstance: o } = st(r.axiosRequestConfig), a = en(e, t), l = M({
478
+ const At = /* @__PURE__ */ new Map();
479
+ function Zi(e, t, n) {
480
+ const i = M(!0), r = ye(e), { axiosInstance: o } = ct(r.axiosRequestConfig), a = tn(e, t), l = M({
474
481
  status: he.Idle
475
482
  }), s = async (u) => {
476
483
  var f;
@@ -516,79 +523,79 @@ function Yi(e, t, n) {
516
523
  error: h.response ? h : { response: h }
517
524
  }, b);
518
525
  }
519
- }, d = r.cacheIdentifier, c = tn(d);
526
+ }, d = r.cacheIdentifier, c = nn(d);
520
527
  return { fetcher: s, fetcherState: l, fetcherCacheKey: c };
521
528
  }
522
- function tn(e) {
529
+ function nn(e) {
523
530
  if (e) {
524
- let t = xt.get(e);
525
- return t || (t = M(1), xt.set(e, t)), t;
531
+ let t = At.get(e);
532
+ return t || (t = M(1), At.set(e, t)), t;
526
533
  }
527
534
  return M(1);
528
535
  }
529
- function Vi() {
536
+ function Xi() {
530
537
  const e = (i, r = "_") => i ? i.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
531
538
  return {
532
539
  capitalize: (i) => i ? i.replace(t, (r) => r.toUpperCase()) : "",
533
540
  convertKeyToTitle: e
534
541
  };
535
542
  }
536
- const nn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, At = (e) => {
543
+ const rn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, wt = (e) => {
537
544
  if (typeof e != "string")
538
545
  throw new TypeError("Invalid argument expected string");
539
- const t = e.match(nn);
546
+ const t = e.match(rn);
540
547
  if (!t)
541
548
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
542
549
  return t.shift(), t;
543
- }, wt = (e) => e === "*" || e === "x" || e === "X", _t = (e) => {
550
+ }, _t = (e) => e === "*" || e === "x" || e === "X", St = (e) => {
544
551
  const t = parseInt(e, 10);
545
552
  return isNaN(t) ? e : t;
546
- }, Wi = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ji = (e, t) => {
547
- if (wt(e) || wt(t))
553
+ }, er = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], tr = (e, t) => {
554
+ if (_t(e) || _t(t))
548
555
  return 0;
549
- const [n, i] = Wi(_t(e), _t(t));
556
+ const [n, i] = er(St(e), St(t));
550
557
  return n > i ? 1 : n < i ? -1 : 0;
551
- }, St = (e, t) => {
558
+ }, $t = (e, t) => {
552
559
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
553
- const i = Ji(e[n] || "0", t[n] || "0");
560
+ const i = tr(e[n] || "0", t[n] || "0");
554
561
  if (i !== 0)
555
562
  return i;
556
563
  }
557
564
  return 0;
558
- }, Gi = (e, t) => {
559
- const n = At(e), i = At(t), r = n.pop(), o = i.pop(), a = St(n, i);
560
- return a !== 0 ? a : r && o ? St(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
561
- }, $t = (e, t, n) => {
562
- zi(n);
563
- const i = Gi(e, t);
564
- return rn[n].includes(i);
565
- }, rn = {
565
+ }, nr = (e, t) => {
566
+ const n = wt(e), i = wt(t), r = n.pop(), o = i.pop(), a = $t(n, i);
567
+ return a !== 0 ? a : r && o ? $t(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
568
+ }, Tt = (e, t, n) => {
569
+ ir(n);
570
+ const i = nr(e, t);
571
+ return an[n].includes(i);
572
+ }, an = {
566
573
  ">": [1],
567
574
  ">=": [0, 1],
568
575
  "=": [0],
569
576
  "<=": [-1, 0],
570
577
  "<": [-1],
571
578
  "!=": [-1, 1]
572
- }, Tt = Object.keys(rn), zi = (e) => {
579
+ }, Et = Object.keys(an), ir = (e) => {
573
580
  if (typeof e != "string")
574
581
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
575
- if (Tt.indexOf(e) === -1)
576
- throw new Error(`Invalid operator, expected one of ${Tt.join("|")}`);
577
- }, Qi = (e) => typeof e == "string" && /^[v\d]/.test(e) && nn.test(e);
578
- function Zi(e) {
582
+ if (Et.indexOf(e) === -1)
583
+ throw new Error(`Invalid operator, expected one of ${Et.join("|")}`);
584
+ }, rr = (e) => typeof e == "string" && /^[v\d]/.test(e) && rn.test(e);
585
+ function ar(e) {
579
586
  const { gatewayInfo: t, supportedRange: n } = e;
580
587
  if (!t)
581
588
  return !0;
582
589
  const { edition: i, version: r } = t;
583
- if (!Qi(r))
590
+ if (!rr(r))
584
591
  return console.error("Invalid version"), !1;
585
592
  const o = n[i];
586
593
  if (!o)
587
594
  return !1;
588
595
  const [a, l] = o;
589
- return !(a && $t(r, a, "<") || l && $t(r, l, ">"));
596
+ return !(a && Tt(r, a, "<") || l && Tt(r, l, ">"));
590
597
  }
591
- function Xi(e) {
598
+ function or(e) {
592
599
  const t = M(0), n = M(0), i = M(!1);
593
600
  return xe(e, (o) => {
594
601
  o && !i.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, i.value = !0);
@@ -596,20 +603,20 @@ function Xi(e) {
596
603
  isTruncated: _(() => t.value < n.value)
597
604
  };
598
605
  }
599
- function er() {
606
+ function lr() {
600
607
  const { i18n: { t: e } } = Ve();
601
608
  return {
602
609
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
603
610
  };
604
611
  }
605
- const Xe = /* @__PURE__ */ Symbol("schema"), tr = (e) => {
606
- Vt(Xe, e);
607
- }, nr = (e) => {
612
+ const et = /* @__PURE__ */ Symbol("schema"), sr = (e) => {
613
+ Wt(et, e);
614
+ }, cr = (e) => {
608
615
  var r, o;
609
- const t = at(Xe, void 0), n = (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), i = ei(n == null ? void 0 : n[e]);
610
- return Vt(Xe, i), i;
616
+ const t = ot(et, void 0), n = (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), i = ti(n == null ? void 0 : n[e]);
617
+ return Wt(et, i), i;
611
618
  };
612
- function ir(e) {
619
+ function ur(e) {
613
620
  let t = "";
614
621
  const n = M(!1), i = M(null), r = _(() => {
615
622
  let a;
@@ -625,27 +632,27 @@ function ir(e) {
625
632
  };
626
633
  }
627
634
  const z = {
628
- useAxios: st,
629
- useDebouncedFilter: ji,
630
- useDeleteUrlBuilder: Ui,
631
- useErrors: qi,
632
- useExternalLinkCreator: Hi,
633
- useFetcher: Yi,
634
- useFetcherCacheKey: tn,
635
- useFetchUrlBuilder: en,
636
- useHelpers: Xt,
637
- useStringHelpers: Vi,
635
+ useAxios: ct,
636
+ useDebouncedFilter: Ji,
637
+ useDeleteUrlBuilder: Gi,
638
+ useErrors: zi,
639
+ useExternalLinkCreator: Qi,
640
+ useFetcher: Zi,
641
+ useFetcherCacheKey: nn,
642
+ useFetchUrlBuilder: tn,
643
+ useHelpers: en,
644
+ useStringHelpers: Xi,
638
645
  useI18n: Ve,
639
- useGatewayFeatureSupported: Zi,
640
- useTruncationDetector: Xi,
641
- useValidators: er,
642
- useSchemaProvider: tr,
643
- useSubSchema: nr,
644
- useTableState: ir
645
- }, rr = {
646
+ useGatewayFeatureSupported: ar,
647
+ useTruncationDetector: or,
648
+ useValidators: lr,
649
+ useSchemaProvider: sr,
650
+ useSubSchema: cr,
651
+ useTableState: ur
652
+ }, dr = {
646
653
  key: 0,
647
654
  class: "config-card-fieldset-title"
648
- }, ar = /* @__PURE__ */ Q({
655
+ }, fr = /* @__PURE__ */ Q({
649
656
  __name: "JsonCardItem",
650
657
  props: {
651
658
  item: {
@@ -669,14 +676,14 @@ const z = {
669
676
  var s;
670
677
  return t.isArrayItem ? (s = o.value) != null && s.name ? i(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
671
678
  });
672
- return (s, d) => (g(), B(qe(e.isArrayItem ? "fieldset" : "div"), {
679
+ return (s, d) => (g(), L(qe(e.isArrayItem ? "fieldset" : "div"), {
673
680
  class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
674
681
  }, {
675
682
  default: x(() => [
676
- e.isArrayItem ? (g(), S("legend", rr, [
677
- L("b", null, I(l.value), 1)
683
+ e.isArrayItem ? (g(), S("legend", dr, [
684
+ B("b", null, I(l.value), 1)
678
685
  ])) : D("", !0),
679
- (g(!0), S(pe, null, de(Object.keys(a.value), (c, u) => (g(), B(on, {
686
+ (g(!0), S(pe, null, de(Object.keys(a.value), (c, u) => (g(), L(ln, {
680
687
  key: `${r.value}-property-${u}`,
681
688
  item: {
682
689
  key: c,
@@ -693,7 +700,7 @@ const z = {
693
700
  for (const [i, r] of t)
694
701
  n[i] = r;
695
702
  return n;
696
- }, an = /* @__PURE__ */ ce(ar, [["__scopeId", "data-v-dc1e39a1"]]), or = /* @__PURE__ */ Q({
703
+ }, on = /* @__PURE__ */ ce(fr, [["__scopeId", "data-v-dc1e39a1"]]), pr = /* @__PURE__ */ Q({
697
704
  __name: "InternalLinkItem",
698
705
  props: {
699
706
  item: {
@@ -720,7 +727,7 @@ const z = {
720
727
  ]);
721
728
  };
722
729
  }
723
- }), lr = /* @__PURE__ */ ce(or, [["__scopeId", "data-v-2feb8c2e"]]), sr = /* @__PURE__ */ Q({
730
+ }), mr = /* @__PURE__ */ ce(pr, [["__scopeId", "data-v-2feb8c2e"]]), gr = /* @__PURE__ */ Q({
724
731
  __name: "StatusBadge",
725
732
  props: {
726
733
  status: {
@@ -732,7 +739,7 @@ const z = {
732
739
  const { i18n: { t } } = z.useI18n();
733
740
  return (n, i) => {
734
741
  const r = U("KBadge");
735
- return g(), B(r, {
742
+ return g(), L(r, {
736
743
  appearance: e.status ? "success" : "neutral"
737
744
  }, {
738
745
  default: x(() => [
@@ -742,32 +749,32 @@ const z = {
742
749
  }, 8, ["appearance"]);
743
750
  };
744
751
  }
745
- }), cr = "#0044f4", ur = "#e0e4ea", dr = "#afb7c5", fr = "#0044f4", pr = "1px", mr = "16px", gr = "20px", hr = pi({
746
- langs: {
747
- json: () => import("@shikijs/langs/json"),
748
- yaml: () => import("@shikijs/langs/yaml"),
749
- terraform: () => import("@shikijs/langs/terraform"),
750
- shellscript: () => import("@shikijs/langs/shellscript"),
751
- bash: () => import("@shikijs/langs/shellscript"),
752
- sh: () => import("@shikijs/langs/shellscript"),
753
- shell: () => import("@shikijs/langs/shellscript"),
754
- zsh: () => import("@shikijs/langs/shellscript"),
755
- powershell: () => import("@shikijs/langs/powershell")
756
- },
757
- themes: {
758
- "catppuccin-mocha": () => import("@shikijs/themes/catppuccin-mocha"),
759
- "catppuccin-latte": () => import("@shikijs/themes/catppuccin-latte")
760
- },
761
- engine: () => gi()
762
- }), { codeToHtml: yr } = mi(hr);
763
- async function Ie({ codeElement: e, code: t, language: n, theme: i }) {
764
- e.innerHTML = await yr(t, { lang: n, theme: i === "dark" ? "catppuccin-mocha" : "catppuccin-latte", structure: "inline" });
752
+ }), hr = "#0044f4", yr = "#e0e4ea", vr = "#afb7c5", br = "#0044f4", kr = "1px", Cr = "16px", xr = "20px";
753
+ let Ge = null;
754
+ function Ar() {
755
+ return Ge || (Ge = mi({
756
+ langs: [hi, yi, vi, bi, ki],
757
+ themes: [Ci, xi],
758
+ engine: gi(),
759
+ langAlias: {
760
+ bash: "shellscript",
761
+ sh: "shellscript",
762
+ shell: "shellscript",
763
+ zsh: "shellscript"
764
+ }
765
+ })), Ge;
766
+ }
767
+ function wr(e, t) {
768
+ return Ar().codeToHtml(e, t);
769
+ }
770
+ function Ie({ codeElement: e, code: t, language: n, theme: i }) {
771
+ e.innerHTML = wr(t, { lang: n, theme: i === "dark" ? "catppuccin-mocha" : "catppuccin-latte", structure: "inline" });
765
772
  }
766
- const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["data-testid"], Cr = ["data-testid"], xr = ["data-testid"], Ar = { key: 1 }, wr = ["data-testid"], _r = ["data-testid"], Sr = ["data-testid"], $r = ["data-testid"], Tr = {
773
+ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["data-testid"], Tr = ["data-testid"], Er = ["data-testid"], Ir = { key: 1 }, Fr = ["data-testid"], Or = ["data-testid"], Lr = ["data-testid"], Br = ["data-testid"], Rr = {
767
774
  name: "ConfigCardItem",
768
- components: { JsonCardItem: an, StatusBadge: sr, InternalLinkItem: lr }
769
- }, Er = /* @__PURE__ */ Q({
770
- ...Tr,
775
+ components: { JsonCardItem: on, StatusBadge: gr, InternalLinkItem: mr }
776
+ }, Kr = /* @__PURE__ */ Q({
777
+ ...Rr,
771
778
  props: {
772
779
  item: {
773
780
  type: Object,
@@ -786,13 +793,13 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
786
793
  },
787
794
  emits: ["navigation-click"],
788
795
  setup(e, { emit: t }) {
789
- Wt((Y) => ({
790
- v550201a4: m.value ? "none" : `solid ${C(pr)} ${C(ur)}`,
796
+ Jt((Y) => ({
797
+ v550201a4: m.value ? "none" : `solid ${C(kr)} ${C(yr)}`,
791
798
  v2eeb3c61: u.value && d.value ? "block" : "flex",
792
799
  v77ca94df: u.value && d.value ? "100%" : n.slim ? "50%" : "25%",
793
800
  v77ccdaba: u.value && d.value ? "100%" : n.slim ? "50%" : "75%"
794
801
  }));
795
- const n = e, i = t, r = ti(), o = He(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = z.useI18n(), d = _(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = _(() => !!(n.item.tooltip || o["label-tooltip"])), u = _(() => n.item.type === G.Json || n.item.type === G.JsonArray), m = _(() => n.item.type === G.JsonArray), f = z.useSubSchema(n.item.key), h = _(() => {
802
+ const n = e, i = t, r = ni(), o = He(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = z.useI18n(), d = _(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = _(() => !!(n.item.tooltip || o["label-tooltip"])), u = _(() => n.item.type === G.Json || n.item.type === G.JsonArray), m = _(() => n.item.type === G.JsonArray), f = z.useSubSchema(n.item.key), h = _(() => {
796
803
  var Y;
797
804
  return n.item.type ? n.item.type : (Y = f == null ? void 0 : f.value) != null && Y.encrypted ? G.Redacted : void 0;
798
805
  }), b = _(() => {
@@ -930,8 +937,8 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
930
937
  }), y = M(), $ = M(), { isTruncated: k } = z.useTruncationDetector(y), { isTruncated: w } = z.useTruncationDetector($);
931
938
  return (Y, J) => {
932
939
  const R = U("KTooltip"), F = U("KLabel"), E = U("KBadge"), v = U("KCopy");
933
- return g(), S("div", vr, [
934
- L("div", {
940
+ return g(), S("div", _r, [
941
+ B("div", {
935
942
  class: "config-card-details-label",
936
943
  "data-testid": `${e.item.key}-label`
937
944
  }, [
@@ -942,7 +949,7 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
942
949
  text: C(k) ? e.item.label : ""
943
950
  }, {
944
951
  default: x(() => [
945
- L("span", {
952
+ B("span", {
946
953
  ref_key: "labelContent",
947
954
  ref: y,
948
955
  class: "label-content"
@@ -956,34 +963,34 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
956
963
  c.value ? {
957
964
  name: "tooltip",
958
965
  fn: x(() => [
959
- L("div", {
966
+ B("div", {
960
967
  "data-testid": `${e.item.key}-label-tooltip`
961
968
  }, [
962
969
  j(Y.$slots, "label-tooltip", {}, () => [
963
970
  q(I(e.item.tooltip), 1)
964
971
  ], !0)
965
- ], 8, kr)
972
+ ], 8, $r)
966
973
  ]),
967
974
  key: "0"
968
975
  } : void 0
969
976
  ]), 1024)
970
977
  ], !0)
971
- ], 8, br),
972
- L("div", {
978
+ ], 8, Sr),
979
+ B("div", {
973
980
  class: "config-card-details-value",
974
981
  "data-testid": `${e.item.key}-property-value`
975
982
  }, [
976
983
  j(Y.$slots, e.item.key, {
977
984
  rowValue: e.item.value
978
985
  }, () => [
979
- d.value ? (g(), S("div", Ar, [
980
- (g(), B(qe(b.value.tag), ni(ii(b.value.attrs)), {
986
+ d.value ? (g(), S("div", Ir, [
987
+ (g(), L(qe(b.value.tag), ii(ri(b.value.attrs)), {
981
988
  default: x(() => [
982
989
  b.value.additionalComponent === "KBadge" ? (g(), S("div", {
983
990
  key: 0,
984
991
  "data-testid": `${e.item.key}-badge-tags`
985
992
  }, [
986
- (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(E, {
993
+ (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), L(E, {
987
994
  key: `${e.item.key}-badge-tag-${p}`,
988
995
  class: "config-badge",
989
996
  "data-testid": `${e.item.key}-badge-tag-${p}`,
@@ -995,24 +1002,24 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
995
1002
  ]),
996
1003
  _: 2
997
1004
  }, 1032, ["data-testid", "tooltip"]))), 128))
998
- ], 8, wr)) : b.value.additionalComponent === "KCopy" ? (g(), S("div", {
1005
+ ], 8, Fr)) : b.value.additionalComponent === "KCopy" ? (g(), S("div", {
999
1006
  key: 1,
1000
1007
  class: "copy-uuid-array",
1001
1008
  "data-testid": `${e.item.key}-copy-uuid-array`
1002
1009
  }, [
1003
- (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(v, Jt({ ref_for: !0 }, b.value.childAttrs, {
1010
+ (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), L(v, Gt({ ref_for: !0 }, b.value.childAttrs, {
1004
1011
  key: `${e.item.key}-copy-uuid-${p}`,
1005
1012
  "data-testid": `${e.item.key}-copy-uuid-${p}`,
1006
1013
  text: A
1007
1014
  }), null, 16, ["data-testid", "text"]))), 128))
1008
- ], 8, _r)) : b.value.additionalComponent === "KMethodBadge" ? (g(), S("div", {
1015
+ ], 8, Or)) : b.value.additionalComponent === "KMethodBadge" ? (g(), S("div", {
1009
1016
  key: 2,
1010
1017
  class: "method-badge-array",
1011
1018
  "data-testid": `${e.item.key}-badge-methods`
1012
1019
  }, [
1013
- (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(E, {
1020
+ (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), L(E, {
1014
1021
  key: `${e.item.key}-badge-method-${p}`,
1015
- appearance: Object.values(C(ci)).includes(A.toLowerCase()) ? A.toLowerCase() : "custom",
1022
+ appearance: Object.values(C(ui)).includes(A.toLowerCase()) ? A.toLowerCase() : "custom",
1016
1023
  class: "config-badge",
1017
1024
  "data-testid": `${e.item.key}-badge-method-${p}`
1018
1025
  }, {
@@ -1021,22 +1028,22 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
1021
1028
  ]),
1022
1029
  _: 2
1023
1030
  }, 1032, ["appearance", "data-testid"]))), 128))
1024
- ], 8, Sr)) : b.value.additionalComponent === "JsonCardItem" ? (g(), S("div", {
1031
+ ], 8, Lr)) : b.value.additionalComponent === "JsonCardItem" ? (g(), S("div", {
1025
1032
  key: 3,
1026
1033
  "data-testid": `${n.item.key}-json-array-content`
1027
1034
  }, [
1028
- (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(an, {
1035
+ (g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), L(on, {
1029
1036
  key: `json-array-item-${p}`,
1030
1037
  index: Number(p),
1031
1038
  "is-array-item": "",
1032
1039
  item: A
1033
1040
  }, null, 8, ["index", "item"]))), 128))
1034
- ], 8, $r)) : (g(), B(R, {
1041
+ ], 8, Br)) : (g(), L(R, {
1035
1042
  key: 4,
1036
1043
  text: C(w) ? e.item.value : ""
1037
1044
  }, {
1038
1045
  default: x(() => [
1039
- L("span", {
1046
+ B("span", {
1040
1047
  ref_key: "textContent",
1041
1048
  ref: $,
1042
1049
  class: fe(["attrs-data-text", { truncated: e.truncated }])
@@ -1050,16 +1057,16 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
1050
1057
  ])) : (g(), S("div", {
1051
1058
  key: 0,
1052
1059
  "data-testid": `${e.item.key}-no-value`
1053
- }, " – ", 8, xr))
1060
+ }, " – ", 8, Er))
1054
1061
  ], !0)
1055
- ], 8, Cr)
1062
+ ], 8, Tr)
1056
1063
  ]);
1057
1064
  };
1058
1065
  }
1059
- }), on = /* @__PURE__ */ ce(Er, [["__scopeId", "data-v-cd250044"]]), Ir = { class: "json-config config-card-code-block" }, Fr = {
1066
+ }), ln = /* @__PURE__ */ ce(Kr, [["__scopeId", "data-v-cd250044"]]), Nr = { class: "json-config config-card-code-block" }, Mr = {
1060
1067
  key: 0,
1061
1068
  class: "json-endpoint"
1062
- }, ln = /* @__PURE__ */ Q({
1069
+ }, sn = /* @__PURE__ */ Q({
1063
1070
  __name: "JsonCodeBlock",
1064
1071
  props: {
1065
1072
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1087,7 +1094,7 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
1087
1094
  }
1088
1095
  },
1089
1096
  setup(e) {
1090
- Wt((r) => ({
1097
+ Jt((r) => ({
1091
1098
  v58418ff6: `${i.value}ch`
1092
1099
  }));
1093
1100
  const t = e, n = _(() => t.entityRecord), i = _(() => {
@@ -1099,8 +1106,8 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
1099
1106
  });
1100
1107
  return (r, o) => {
1101
1108
  const a = U("KBadge"), l = U("KCodeBlock");
1102
- return g(), S("div", Ir, [
1103
- t.fetcherUrl ? (g(), S("div", Fr, [
1109
+ return g(), S("div", Nr, [
1110
+ t.fetcherUrl ? (g(), S("div", Mr, [
1104
1111
  N(a, {
1105
1112
  appearance: t.requestMethod
1106
1113
  }, {
@@ -1117,7 +1124,7 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
1117
1124
  theme: "dark"
1118
1125
  }, null, 8, ["code"])
1119
1126
  ])) : D("", !0),
1120
- t.entityRecord ? (g(), B(l, {
1127
+ t.entityRecord ? (g(), L(l, {
1121
1128
  key: 1,
1122
1129
  id: "json-codeblock",
1123
1130
  class: fe({ "json-content": t.fetcherUrl }),
@@ -1131,55 +1138,55 @@ const vr = { class: "config-card-details-row" }, br = ["data-testid"], kr = ["da
1131
1138
  }
1132
1139
  });
1133
1140
  /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
1134
- function sn(e) {
1141
+ function cn(e) {
1135
1142
  return typeof e > "u" || e === null;
1136
1143
  }
1137
- function Or(e) {
1144
+ function Pr(e) {
1138
1145
  return typeof e == "object" && e !== null;
1139
1146
  }
1140
- function Br(e) {
1141
- return Array.isArray(e) ? e : sn(e) ? [] : [e];
1147
+ function Dr(e) {
1148
+ return Array.isArray(e) ? e : cn(e) ? [] : [e];
1142
1149
  }
1143
- function Lr(e, t) {
1150
+ function jr(e, t) {
1144
1151
  var n, i, r, o;
1145
1152
  if (t)
1146
1153
  for (o = Object.keys(t), n = 0, i = o.length; n < i; n += 1)
1147
1154
  r = o[n], e[r] = t[r];
1148
1155
  return e;
1149
1156
  }
1150
- function Rr(e, t) {
1157
+ function Ur(e, t) {
1151
1158
  var n = "", i;
1152
1159
  for (i = 0; i < t; i += 1)
1153
1160
  n += e;
1154
1161
  return n;
1155
1162
  }
1156
- function Kr(e) {
1163
+ function qr(e) {
1157
1164
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1158
1165
  }
1159
- var Nr = sn, Mr = Or, Pr = Br, Dr = Rr, jr = Kr, Ur = Lr, te = {
1160
- isNothing: Nr,
1161
- isObject: Mr,
1162
- toArray: Pr,
1163
- repeat: Dr,
1164
- isNegativeZero: jr,
1165
- extend: Ur
1166
+ var Hr = cn, Yr = Pr, Vr = Dr, Wr = Ur, Jr = qr, Gr = jr, te = {
1167
+ isNothing: Hr,
1168
+ isObject: Yr,
1169
+ toArray: Vr,
1170
+ repeat: Wr,
1171
+ isNegativeZero: Jr,
1172
+ extend: Gr
1166
1173
  };
1167
- function cn(e, t) {
1174
+ function un(e, t) {
1168
1175
  var n = "", i = e.reason || "(unknown reason)";
1169
1176
  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 += `
1170
1177
 
1171
1178
  ` + e.mark.snippet), i + " " + n) : i;
1172
1179
  }
1173
- function Be(e, t) {
1174
- 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 || "";
1180
+ function Le(e, t) {
1181
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = un(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1175
1182
  }
1176
- Be.prototype = Object.create(Error.prototype);
1177
- Be.prototype.constructor = Be;
1178
- Be.prototype.toString = function(t) {
1179
- return this.name + ": " + cn(this, t);
1183
+ Le.prototype = Object.create(Error.prototype);
1184
+ Le.prototype.constructor = Le;
1185
+ Le.prototype.toString = function(t) {
1186
+ return this.name + ": " + un(this, t);
1180
1187
  };
1181
- var se = Be;
1182
- function Ge(e, t, n, i, r) {
1188
+ var se = Le;
1189
+ function ze(e, t, n, i, r) {
1183
1190
  var o = "", a = "", l = Math.floor(r / 2) - 1;
1184
1191
  return i - t > l && (o = " ... ", t = i - l + o.length), n - i > l && (a = " ...", n = i + l - a.length), {
1185
1192
  str: o + e.slice(t, n).replace(/\t/g, "→") + a,
@@ -1187,10 +1194,10 @@ function Ge(e, t, n, i, r) {
1187
1194
  // relative position
1188
1195
  };
1189
1196
  }
1190
- function ze(e, t) {
1197
+ function Qe(e, t) {
1191
1198
  return te.repeat(" ", t - e.length) + e;
1192
1199
  }
1193
- function qr(e, t) {
1200
+ function zr(e, t) {
1194
1201
  if (t = Object.create(t || null), !e.buffer) return null;
1195
1202
  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);
1196
1203
  for (var n = /\r?\n|\r|\0/g, i = [0], r = [], o, a = -1; o = n.exec(e.buffer); )
@@ -1198,28 +1205,28 @@ function qr(e, t) {
1198
1205
  a < 0 && (a = i.length - 1);
1199
1206
  var l = "", s, d, c = Math.min(e.line + t.linesAfter, r.length).toString().length, u = t.maxLength - (t.indent + c + 3);
1200
1207
  for (s = 1; s <= t.linesBefore && !(a - s < 0); s++)
1201
- d = Ge(
1208
+ d = ze(
1202
1209
  e.buffer,
1203
1210
  i[a - s],
1204
1211
  r[a - s],
1205
1212
  e.position - (i[a] - i[a - s]),
1206
1213
  u
1207
- ), l = te.repeat(" ", t.indent) + ze((e.line - s + 1).toString(), c) + " | " + d.str + `
1214
+ ), l = te.repeat(" ", t.indent) + Qe((e.line - s + 1).toString(), c) + " | " + d.str + `
1208
1215
  ` + l;
1209
- for (d = Ge(e.buffer, i[a], r[a], e.position, u), l += te.repeat(" ", t.indent) + ze((e.line + 1).toString(), c) + " | " + d.str + `
1216
+ for (d = ze(e.buffer, i[a], r[a], e.position, u), l += te.repeat(" ", t.indent) + Qe((e.line + 1).toString(), c) + " | " + d.str + `
1210
1217
  `, l += te.repeat("-", t.indent + c + 3 + d.pos) + `^
1211
1218
  `, s = 1; s <= t.linesAfter && !(a + s >= r.length); s++)
1212
- d = Ge(
1219
+ d = ze(
1213
1220
  e.buffer,
1214
1221
  i[a + s],
1215
1222
  r[a + s],
1216
1223
  e.position - (i[a] - i[a + s]),
1217
1224
  u
1218
- ), l += te.repeat(" ", t.indent) + ze((e.line + s + 1).toString(), c) + " | " + d.str + `
1225
+ ), l += te.repeat(" ", t.indent) + Qe((e.line + s + 1).toString(), c) + " | " + d.str + `
1219
1226
  `;
1220
1227
  return l.replace(/\n$/, "");
1221
1228
  }
1222
- var Hr = qr, Yr = [
1229
+ var Qr = zr, Zr = [
1223
1230
  "kind",
1224
1231
  "multi",
1225
1232
  "resolve",
@@ -1230,12 +1237,12 @@ var Hr = qr, Yr = [
1230
1237
  "representName",
1231
1238
  "defaultStyle",
1232
1239
  "styleAliases"
1233
- ], Vr = [
1240
+ ], Xr = [
1234
1241
  "scalar",
1235
1242
  "sequence",
1236
1243
  "mapping"
1237
1244
  ];
1238
- function Wr(e) {
1245
+ function ea(e) {
1239
1246
  var t = {};
1240
1247
  return e !== null && Object.keys(e).forEach(function(n) {
1241
1248
  e[n].forEach(function(i) {
@@ -1243,19 +1250,19 @@ function Wr(e) {
1243
1250
  });
1244
1251
  }), t;
1245
1252
  }
1246
- function Jr(e, t) {
1253
+ function ta(e, t) {
1247
1254
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1248
- if (Yr.indexOf(n) === -1)
1255
+ if (Zr.indexOf(n) === -1)
1249
1256
  throw new se('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1250
1257
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1251
1258
  return !0;
1252
1259
  }, this.construct = t.construct || function(n) {
1253
1260
  return n;
1254
- }, 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 = Wr(t.styleAliases || null), Vr.indexOf(this.kind) === -1)
1261
+ }, 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 = ea(t.styleAliases || null), Xr.indexOf(this.kind) === -1)
1255
1262
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1256
1263
  }
1257
- var ae = Jr;
1258
- function Et(e, t) {
1264
+ var ae = ta;
1265
+ function It(e, t) {
1259
1266
  var n = [];
1260
1267
  return e[t].forEach(function(i) {
1261
1268
  var r = n.length;
@@ -1264,7 +1271,7 @@ function Et(e, t) {
1264
1271
  }), n[r] = i;
1265
1272
  }), n;
1266
1273
  }
1267
- function Gr() {
1274
+ function na() {
1268
1275
  var e = {
1269
1276
  scalar: {},
1270
1277
  sequence: {},
@@ -1284,10 +1291,10 @@ function Gr() {
1284
1291
  arguments[t].forEach(i);
1285
1292
  return e;
1286
1293
  }
1287
- function et(e) {
1294
+ function tt(e) {
1288
1295
  return this.extend(e);
1289
1296
  }
1290
- et.prototype.extend = function(t) {
1297
+ tt.prototype.extend = function(t) {
1291
1298
  var n = [], i = [];
1292
1299
  if (t instanceof ae)
1293
1300
  i.push(t);
@@ -1308,47 +1315,47 @@ et.prototype.extend = function(t) {
1308
1315
  if (!(o instanceof ae))
1309
1316
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1310
1317
  });
1311
- var r = Object.create(et.prototype);
1312
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(i), r.compiledImplicit = Et(r, "implicit"), r.compiledExplicit = Et(r, "explicit"), r.compiledTypeMap = Gr(r.compiledImplicit, r.compiledExplicit), r;
1318
+ var r = Object.create(tt.prototype);
1319
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(i), r.compiledImplicit = It(r, "implicit"), r.compiledExplicit = It(r, "explicit"), r.compiledTypeMap = na(r.compiledImplicit, r.compiledExplicit), r;
1313
1320
  };
1314
- var un = et, dn = new ae("tag:yaml.org,2002:str", {
1321
+ var dn = tt, fn = new ae("tag:yaml.org,2002:str", {
1315
1322
  kind: "scalar",
1316
1323
  construct: function(e) {
1317
1324
  return e !== null ? e : "";
1318
1325
  }
1319
- }), fn = new ae("tag:yaml.org,2002:seq", {
1326
+ }), pn = new ae("tag:yaml.org,2002:seq", {
1320
1327
  kind: "sequence",
1321
1328
  construct: function(e) {
1322
1329
  return e !== null ? e : [];
1323
1330
  }
1324
- }), pn = new ae("tag:yaml.org,2002:map", {
1331
+ }), mn = new ae("tag:yaml.org,2002:map", {
1325
1332
  kind: "mapping",
1326
1333
  construct: function(e) {
1327
1334
  return e !== null ? e : {};
1328
1335
  }
1329
- }), mn = new un({
1336
+ }), gn = new dn({
1330
1337
  explicit: [
1331
- dn,
1332
1338
  fn,
1333
- pn
1339
+ pn,
1340
+ mn
1334
1341
  ]
1335
1342
  });
1336
- function zr(e) {
1343
+ function ia(e) {
1337
1344
  if (e === null) return !0;
1338
1345
  var t = e.length;
1339
1346
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1340
1347
  }
1341
- function Qr() {
1348
+ function ra() {
1342
1349
  return null;
1343
1350
  }
1344
- function Zr(e) {
1351
+ function aa(e) {
1345
1352
  return e === null;
1346
1353
  }
1347
- var gn = new ae("tag:yaml.org,2002:null", {
1354
+ var hn = new ae("tag:yaml.org,2002:null", {
1348
1355
  kind: "scalar",
1349
- resolve: zr,
1350
- construct: Qr,
1351
- predicate: Zr,
1356
+ resolve: ia,
1357
+ construct: ra,
1358
+ predicate: aa,
1352
1359
  represent: {
1353
1360
  canonical: function() {
1354
1361
  return "~";
@@ -1368,22 +1375,22 @@ var gn = new ae("tag:yaml.org,2002:null", {
1368
1375
  },
1369
1376
  defaultStyle: "lowercase"
1370
1377
  });
1371
- function Xr(e) {
1378
+ function oa(e) {
1372
1379
  if (e === null) return !1;
1373
1380
  var t = e.length;
1374
1381
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1375
1382
  }
1376
- function ea(e) {
1383
+ function la(e) {
1377
1384
  return e === "true" || e === "True" || e === "TRUE";
1378
1385
  }
1379
- function ta(e) {
1386
+ function sa(e) {
1380
1387
  return Object.prototype.toString.call(e) === "[object Boolean]";
1381
1388
  }
1382
- var hn = new ae("tag:yaml.org,2002:bool", {
1389
+ var yn = new ae("tag:yaml.org,2002:bool", {
1383
1390
  kind: "scalar",
1384
- resolve: Xr,
1385
- construct: ea,
1386
- predicate: ta,
1391
+ resolve: oa,
1392
+ construct: la,
1393
+ predicate: sa,
1387
1394
  represent: {
1388
1395
  lowercase: function(e) {
1389
1396
  return e ? "true" : "false";
@@ -1397,16 +1404,16 @@ var hn = new ae("tag:yaml.org,2002:bool", {
1397
1404
  },
1398
1405
  defaultStyle: "lowercase"
1399
1406
  });
1400
- function na(e) {
1407
+ function ca(e) {
1401
1408
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1402
1409
  }
1403
- function ia(e) {
1410
+ function ua(e) {
1404
1411
  return 48 <= e && e <= 55;
1405
1412
  }
1406
- function ra(e) {
1413
+ function da(e) {
1407
1414
  return 48 <= e && e <= 57;
1408
1415
  }
1409
- function aa(e) {
1416
+ function fa(e) {
1410
1417
  if (e === null) return !1;
1411
1418
  var t = e.length, n = 0, i = !1, r;
1412
1419
  if (!t) return !1;
@@ -1423,7 +1430,7 @@ function aa(e) {
1423
1430
  if (r === "x") {
1424
1431
  for (n++; n < t; n++)
1425
1432
  if (r = e[n], r !== "_") {
1426
- if (!na(e.charCodeAt(n))) return !1;
1433
+ if (!ca(e.charCodeAt(n))) return !1;
1427
1434
  i = !0;
1428
1435
  }
1429
1436
  return i && r !== "_";
@@ -1431,7 +1438,7 @@ function aa(e) {
1431
1438
  if (r === "o") {
1432
1439
  for (n++; n < t; n++)
1433
1440
  if (r = e[n], r !== "_") {
1434
- if (!ia(e.charCodeAt(n))) return !1;
1441
+ if (!ua(e.charCodeAt(n))) return !1;
1435
1442
  i = !0;
1436
1443
  }
1437
1444
  return i && r !== "_";
@@ -1440,13 +1447,13 @@ function aa(e) {
1440
1447
  if (r === "_") return !1;
1441
1448
  for (; n < t; n++)
1442
1449
  if (r = e[n], r !== "_") {
1443
- if (!ra(e.charCodeAt(n)))
1450
+ if (!da(e.charCodeAt(n)))
1444
1451
  return !1;
1445
1452
  i = !0;
1446
1453
  }
1447
1454
  return !(!i || r === "_");
1448
1455
  }
1449
- function oa(e) {
1456
+ function pa(e) {
1450
1457
  var t = e, n = 1, i;
1451
1458
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (n = -1), t = t.slice(1), i = t[0]), t === "0") return 0;
1452
1459
  if (i === "0") {
@@ -1456,14 +1463,14 @@ function oa(e) {
1456
1463
  }
1457
1464
  return n * parseInt(t, 10);
1458
1465
  }
1459
- function la(e) {
1466
+ function ma(e) {
1460
1467
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !te.isNegativeZero(e);
1461
1468
  }
1462
- var yn = new ae("tag:yaml.org,2002:int", {
1469
+ var vn = new ae("tag:yaml.org,2002:int", {
1463
1470
  kind: "scalar",
1464
- resolve: aa,
1465
- construct: oa,
1466
- predicate: la,
1471
+ resolve: fa,
1472
+ construct: pa,
1473
+ predicate: ma,
1467
1474
  represent: {
1468
1475
  binary: function(e) {
1469
1476
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1486,21 +1493,21 @@ var yn = new ae("tag:yaml.org,2002:int", {
1486
1493
  decimal: [10, "dec"],
1487
1494
  hexadecimal: [16, "hex"]
1488
1495
  }
1489
- }), sa = new RegExp(
1496
+ }), ga = new RegExp(
1490
1497
  // 2.5e4, 2.5 and integers
1491
1498
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1492
1499
  );
1493
- function ca(e) {
1494
- return !(e === null || !sa.test(e) || // Quick hack to not allow integers end with `_`
1500
+ function ha(e) {
1501
+ return !(e === null || !ga.test(e) || // Quick hack to not allow integers end with `_`
1495
1502
  // Probably should update regexp & check speed
1496
1503
  e[e.length - 1] === "_");
1497
1504
  }
1498
- function ua(e) {
1505
+ function ya(e) {
1499
1506
  var t, n;
1500
1507
  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);
1501
1508
  }
1502
- var da = /^[-+]?[0-9]+e/;
1503
- function fa(e, t) {
1509
+ var va = /^[-+]?[0-9]+e/;
1510
+ function ba(e, t) {
1504
1511
  var n;
1505
1512
  if (isNaN(e))
1506
1513
  switch (t) {
@@ -1531,36 +1538,36 @@ function fa(e, t) {
1531
1538
  }
1532
1539
  else if (te.isNegativeZero(e))
1533
1540
  return "-0.0";
1534
- return n = e.toString(10), da.test(n) ? n.replace("e", ".e") : n;
1541
+ return n = e.toString(10), va.test(n) ? n.replace("e", ".e") : n;
1535
1542
  }
1536
- function pa(e) {
1543
+ function ka(e) {
1537
1544
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || te.isNegativeZero(e));
1538
1545
  }
1539
- var vn = new ae("tag:yaml.org,2002:float", {
1546
+ var bn = new ae("tag:yaml.org,2002:float", {
1540
1547
  kind: "scalar",
1541
- resolve: ca,
1542
- construct: ua,
1543
- predicate: pa,
1544
- represent: fa,
1548
+ resolve: ha,
1549
+ construct: ya,
1550
+ predicate: ka,
1551
+ represent: ba,
1545
1552
  defaultStyle: "lowercase"
1546
- }), bn = mn.extend({
1553
+ }), kn = gn.extend({
1547
1554
  implicit: [
1548
- gn,
1549
1555
  hn,
1550
1556
  yn,
1551
- vn
1557
+ vn,
1558
+ bn
1552
1559
  ]
1553
- }), kn = bn, Cn = new RegExp(
1560
+ }), Cn = kn, xn = new RegExp(
1554
1561
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1555
- ), xn = new RegExp(
1562
+ ), An = new RegExp(
1556
1563
  "^([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]))?))?$"
1557
1564
  );
1558
- function ma(e) {
1559
- return e === null ? !1 : Cn.exec(e) !== null || xn.exec(e) !== null;
1565
+ function Ca(e) {
1566
+ return e === null ? !1 : xn.exec(e) !== null || An.exec(e) !== null;
1560
1567
  }
1561
- function ga(e) {
1568
+ function xa(e) {
1562
1569
  var t, n, i, r, o, a, l, s = 0, d = null, c, u, m;
1563
- if (t = Cn.exec(e), t === null && (t = xn.exec(e)), t === null) throw new Error("Date resolve error");
1570
+ if (t = xn.exec(e), t === null && (t = An.exec(e)), t === null) throw new Error("Date resolve error");
1564
1571
  if (n = +t[1], i = +t[2] - 1, r = +t[3], !t[4])
1565
1572
  return new Date(Date.UTC(n, i, r));
1566
1573
  if (o = +t[4], a = +t[5], l = +t[6], t[7]) {
@@ -1570,27 +1577,27 @@ function ga(e) {
1570
1577
  }
1571
1578
  return t[9] && (c = +t[10], u = +(t[11] || 0), d = (c * 60 + u) * 6e4, t[9] === "-" && (d = -d)), m = new Date(Date.UTC(n, i, r, o, a, l, s)), d && m.setTime(m.getTime() - d), m;
1572
1579
  }
1573
- function ha(e) {
1580
+ function Aa(e) {
1574
1581
  return e.toISOString();
1575
1582
  }
1576
- var An = new ae("tag:yaml.org,2002:timestamp", {
1583
+ var wn = new ae("tag:yaml.org,2002:timestamp", {
1577
1584
  kind: "scalar",
1578
- resolve: ma,
1579
- construct: ga,
1585
+ resolve: Ca,
1586
+ construct: xa,
1580
1587
  instanceOf: Date,
1581
- represent: ha
1588
+ represent: Aa
1582
1589
  });
1583
- function ya(e) {
1590
+ function wa(e) {
1584
1591
  return e === "<<" || e === null;
1585
1592
  }
1586
- var wn = new ae("tag:yaml.org,2002:merge", {
1593
+ var _n = new ae("tag:yaml.org,2002:merge", {
1587
1594
  kind: "scalar",
1588
- resolve: ya
1589
- }), ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1595
+ resolve: wa
1596
+ }), ut = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1590
1597
  \r`;
1591
- function va(e) {
1598
+ function _a(e) {
1592
1599
  if (e === null) return !1;
1593
- var t, n, i = 0, r = e.length, o = ct;
1600
+ var t, n, i = 0, r = e.length, o = ut;
1594
1601
  for (n = 0; n < r; n++)
1595
1602
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1596
1603
  if (t < 0) return !1;
@@ -1598,35 +1605,35 @@ function va(e) {
1598
1605
  }
1599
1606
  return i % 8 === 0;
1600
1607
  }
1601
- function ba(e) {
1602
- var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = ct, a = 0, l = [];
1608
+ function Sa(e) {
1609
+ var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = ut, a = 0, l = [];
1603
1610
  for (t = 0; t < r; t++)
1604
1611
  t % 4 === 0 && t && (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)), a = a << 6 | o.indexOf(i.charAt(t));
1605
1612
  return n = r % 4 * 6, n === 0 ? (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)) : n === 18 ? (l.push(a >> 10 & 255), l.push(a >> 2 & 255)) : n === 12 && l.push(a >> 4 & 255), new Uint8Array(l);
1606
1613
  }
1607
- function ka(e) {
1608
- var t = "", n = 0, i, r, o = e.length, a = ct;
1614
+ function $a(e) {
1615
+ var t = "", n = 0, i, r, o = e.length, a = ut;
1609
1616
  for (i = 0; i < o; i++)
1610
1617
  i % 3 === 0 && i && (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]), n = (n << 8) + e[i];
1611
1618
  return r = o % 3, r === 0 ? (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]) : r === 2 ? (t += a[n >> 10 & 63], t += a[n >> 4 & 63], t += a[n << 2 & 63], t += a[64]) : r === 1 && (t += a[n >> 2 & 63], t += a[n << 4 & 63], t += a[64], t += a[64]), t;
1612
1619
  }
1613
- function Ca(e) {
1620
+ function Ta(e) {
1614
1621
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1615
1622
  }
1616
- var _n = new ae("tag:yaml.org,2002:binary", {
1623
+ var Sn = new ae("tag:yaml.org,2002:binary", {
1617
1624
  kind: "scalar",
1618
- resolve: va,
1619
- construct: ba,
1620
- predicate: Ca,
1621
- represent: ka
1622
- }), xa = Object.prototype.hasOwnProperty, Aa = Object.prototype.toString;
1623
- function wa(e) {
1625
+ resolve: _a,
1626
+ construct: Sa,
1627
+ predicate: Ta,
1628
+ represent: $a
1629
+ }), Ea = Object.prototype.hasOwnProperty, Ia = Object.prototype.toString;
1630
+ function Fa(e) {
1624
1631
  if (e === null) return !0;
1625
1632
  var t = [], n, i, r, o, a, l = e;
1626
1633
  for (n = 0, i = l.length; n < i; n += 1) {
1627
- if (r = l[n], a = !1, Aa.call(r) !== "[object Object]") return !1;
1634
+ if (r = l[n], a = !1, Ia.call(r) !== "[object Object]") return !1;
1628
1635
  for (o in r)
1629
- if (xa.call(r, o))
1636
+ if (Ea.call(r, o))
1630
1637
  if (!a) a = !0;
1631
1638
  else return !1;
1632
1639
  if (!a) return !1;
@@ -1635,63 +1642,63 @@ function wa(e) {
1635
1642
  }
1636
1643
  return !0;
1637
1644
  }
1638
- function _a(e) {
1645
+ function Oa(e) {
1639
1646
  return e !== null ? e : [];
1640
1647
  }
1641
- var Sn = new ae("tag:yaml.org,2002:omap", {
1648
+ var $n = new ae("tag:yaml.org,2002:omap", {
1642
1649
  kind: "sequence",
1643
- resolve: wa,
1644
- construct: _a
1645
- }), Sa = Object.prototype.toString;
1646
- function $a(e) {
1650
+ resolve: Fa,
1651
+ construct: Oa
1652
+ }), La = Object.prototype.toString;
1653
+ function Ba(e) {
1647
1654
  if (e === null) return !0;
1648
1655
  var t, n, i, r, o, a = e;
1649
1656
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
1650
- if (i = a[t], Sa.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1)) return !1;
1657
+ if (i = a[t], La.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1)) return !1;
1651
1658
  o[t] = [r[0], i[r[0]]];
1652
1659
  }
1653
1660
  return !0;
1654
1661
  }
1655
- function Ta(e) {
1662
+ function Ra(e) {
1656
1663
  if (e === null) return [];
1657
1664
  var t, n, i, r, o, a = e;
1658
1665
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1)
1659
1666
  i = a[t], r = Object.keys(i), o[t] = [r[0], i[r[0]]];
1660
1667
  return o;
1661
1668
  }
1662
- var $n = new ae("tag:yaml.org,2002:pairs", {
1669
+ var Tn = new ae("tag:yaml.org,2002:pairs", {
1663
1670
  kind: "sequence",
1664
- resolve: $a,
1665
- construct: Ta
1666
- }), Ea = Object.prototype.hasOwnProperty;
1667
- function Ia(e) {
1671
+ resolve: Ba,
1672
+ construct: Ra
1673
+ }), Ka = Object.prototype.hasOwnProperty;
1674
+ function Na(e) {
1668
1675
  if (e === null) return !0;
1669
1676
  var t, n = e;
1670
1677
  for (t in n)
1671
- if (Ea.call(n, t) && n[t] !== null)
1678
+ if (Ka.call(n, t) && n[t] !== null)
1672
1679
  return !1;
1673
1680
  return !0;
1674
1681
  }
1675
- function Fa(e) {
1682
+ function Ma(e) {
1676
1683
  return e !== null ? e : {};
1677
1684
  }
1678
- var Tn = new ae("tag:yaml.org,2002:set", {
1685
+ var En = new ae("tag:yaml.org,2002:set", {
1679
1686
  kind: "mapping",
1680
- resolve: Ia,
1681
- construct: Fa
1682
- }), ut = kn.extend({
1687
+ resolve: Na,
1688
+ construct: Ma
1689
+ }), dt = Cn.extend({
1683
1690
  implicit: [
1684
- An,
1685
- wn
1691
+ wn,
1692
+ _n
1686
1693
  ],
1687
1694
  explicit: [
1688
- _n,
1689
1695
  Sn,
1690
1696
  $n,
1691
- Tn
1697
+ Tn,
1698
+ En
1692
1699
  ]
1693
- }), be = Object.prototype.hasOwnProperty, Me = 1, En = 2, In = 3, Pe = 4, Qe = 1, Oa = 2, It = 3, Ba = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, La = /[\x85\u2028\u2029]/, Ra = /[,\[\]\{\}]/, Fn = /^(?:!|!!|![a-z\-]+!)$/i, On = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1694
- function Ft(e) {
1700
+ }), be = Object.prototype.hasOwnProperty, Me = 1, In = 2, Fn = 3, Pe = 4, Ze = 1, Pa = 2, Ft = 3, Da = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ja = /[\x85\u2028\u2029]/, Ua = /[,\[\]\{\}]/, On = /^(?:!|!!|![a-z\-]+!)$/i, Ln = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1701
+ function Ot(e) {
1695
1702
  return Object.prototype.toString.call(e);
1696
1703
  }
1697
1704
  function me(e) {
@@ -1706,21 +1713,21 @@ function ue(e) {
1706
1713
  function Te(e) {
1707
1714
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1708
1715
  }
1709
- function Ka(e) {
1716
+ function qa(e) {
1710
1717
  var t;
1711
1718
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1712
1719
  }
1713
- function Na(e) {
1720
+ function Ha(e) {
1714
1721
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1715
1722
  }
1716
- function Ma(e) {
1723
+ function Ya(e) {
1717
1724
  return 48 <= e && e <= 57 ? e - 48 : -1;
1718
1725
  }
1719
- function Ot(e) {
1726
+ function Lt(e) {
1720
1727
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1721
1728
  ` : 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" : "";
1722
1729
  }
1723
- function Pa(e) {
1730
+ function Va(e) {
1724
1731
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1725
1732
  (e - 65536 >> 10) + 55296,
1726
1733
  (e - 65536 & 1023) + 56320
@@ -1734,13 +1741,13 @@ function Bn(e, t, n) {
1734
1741
  value: n
1735
1742
  }) : e[t] = n;
1736
1743
  }
1737
- var Ln = new Array(256), Rn = new Array(256);
1744
+ var Rn = new Array(256), Kn = new Array(256);
1738
1745
  for (var Se = 0; Se < 256; Se++)
1739
- Ln[Se] = Ot(Se) ? 1 : 0, Rn[Se] = Ot(Se);
1740
- function Da(e, t) {
1741
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || ut, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1746
+ Rn[Se] = Lt(Se) ? 1 : 0, Kn[Se] = Lt(Se);
1747
+ function Wa(e, t) {
1748
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || dt, 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 = [];
1742
1749
  }
1743
- function Kn(e, t) {
1750
+ function Nn(e, t) {
1744
1751
  var n = {
1745
1752
  name: e.filename,
1746
1753
  buffer: e.input.slice(0, -1),
@@ -1749,13 +1756,13 @@ function Kn(e, t) {
1749
1756
  line: e.line,
1750
1757
  column: e.position - e.lineStart
1751
1758
  };
1752
- return n.snippet = Hr(n), new se(t, n);
1759
+ return n.snippet = Qr(n), new se(t, n);
1753
1760
  }
1754
1761
  function T(e, t) {
1755
- throw Kn(e, t);
1762
+ throw Nn(e, t);
1756
1763
  }
1757
1764
  function De(e, t) {
1758
- e.onWarning && e.onWarning.call(null, Kn(e, t));
1765
+ e.onWarning && e.onWarning.call(null, Nn(e, t));
1759
1766
  }
1760
1767
  var Bt = {
1761
1768
  YAML: function(t, n, i) {
@@ -1764,7 +1771,7 @@ var Bt = {
1764
1771
  },
1765
1772
  TAG: function(t, n, i) {
1766
1773
  var r, o;
1767
- i.length !== 2 && T(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], Fn.test(r) || T(t, "ill-formed tag handle (first argument) of the TAG directive"), be.call(t.tagMap, r) && T(t, 'there is a previously declared suffix for "' + r + '" tag handle'), On.test(o) || T(t, "ill-formed tag prefix (second argument) of the TAG directive");
1774
+ i.length !== 2 && T(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], On.test(r) || T(t, "ill-formed tag handle (first argument) of the TAG directive"), be.call(t.tagMap, r) && T(t, 'there is a previously declared suffix for "' + r + '" tag handle'), Ln.test(o) || T(t, "ill-formed tag prefix (second argument) of the TAG directive");
1768
1775
  try {
1769
1776
  o = decodeURIComponent(o);
1770
1777
  } catch {
@@ -1779,11 +1786,11 @@ function ve(e, t, n, i) {
1779
1786
  if (l = e.input.slice(t, n), i)
1780
1787
  for (r = 0, o = l.length; r < o; r += 1)
1781
1788
  a = l.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || T(e, "expected valid JSON character");
1782
- else Ba.test(l) && T(e, "the stream contains non-printable characters");
1789
+ else Da.test(l) && T(e, "the stream contains non-printable characters");
1783
1790
  e.result += l;
1784
1791
  }
1785
1792
  }
1786
- function Lt(e, t, n, i) {
1793
+ function Rt(e, t, n, i) {
1787
1794
  var r, o, a, l;
1788
1795
  for (te.isObject(n) || T(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(n), a = 0, l = r.length; a < l; a += 1)
1789
1796
  o = r[a], be.call(t, o) || (Bn(t, o, n[o]), i[o] = !0);
@@ -1792,18 +1799,18 @@ function Ee(e, t, n, i, r, o, a, l, s) {
1792
1799
  var d, c;
1793
1800
  if (Array.isArray(r))
1794
1801
  for (r = Array.prototype.slice.call(r), d = 0, c = r.length; d < c; d += 1)
1795
- Array.isArray(r[d]) && T(e, "nested arrays are not supported inside keys"), typeof r == "object" && Ft(r[d]) === "[object Object]" && (r[d] = "[object Object]");
1796
- if (typeof r == "object" && Ft(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1802
+ Array.isArray(r[d]) && T(e, "nested arrays are not supported inside keys"), typeof r == "object" && Ot(r[d]) === "[object Object]" && (r[d] = "[object Object]");
1803
+ if (typeof r == "object" && Ot(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1797
1804
  if (Array.isArray(o))
1798
1805
  for (d = 0, c = o.length; d < c; d += 1)
1799
- Lt(e, t, o[d], n);
1806
+ Rt(e, t, o[d], n);
1800
1807
  else
1801
- Lt(e, t, o, n);
1808
+ Rt(e, t, o, n);
1802
1809
  else
1803
1810
  !e.json && !be.call(n, r) && be.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, T(e, "duplicated mapping key")), Bn(t, r, o), delete n[r];
1804
1811
  return t;
1805
1812
  }
1806
- function dt(e) {
1813
+ function ft(e) {
1807
1814
  var t;
1808
1815
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : T(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1809
1816
  }
@@ -1816,7 +1823,7 @@ function ee(e, t, n) {
1816
1823
  r = e.input.charCodeAt(++e.position);
1817
1824
  while (r !== 10 && r !== 13 && r !== 0);
1818
1825
  if (me(r))
1819
- for (dt(e), r = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; r === 32; )
1826
+ for (ft(e), r = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; r === 32; )
1820
1827
  e.lineIndent++, r = e.input.charCodeAt(++e.position);
1821
1828
  else
1822
1829
  break;
@@ -1827,11 +1834,11 @@ function We(e) {
1827
1834
  var t = e.position, n;
1828
1835
  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 || ue(n)));
1829
1836
  }
1830
- function ft(e, t) {
1837
+ function pt(e, t) {
1831
1838
  t === 1 ? e.result += " " : t > 1 && (e.result += te.repeat(`
1832
1839
  `, t - 1));
1833
1840
  }
1834
- function ja(e, t, n) {
1841
+ function Ja(e, t, n) {
1835
1842
  var i, r, o, a, l, s, d, c, u = e.kind, m = e.result, f;
1836
1843
  if (f = e.input.charCodeAt(e.position), ue(f) || Te(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (r = e.input.charCodeAt(e.position + 1), ue(r) || n && Te(r)))
1837
1844
  return !1;
@@ -1854,11 +1861,11 @@ function ja(e, t, n) {
1854
1861
  break;
1855
1862
  }
1856
1863
  }
1857
- l && (ve(e, o, a, !1), ft(e, e.line - s), o = a = e.position, l = !1), Ce(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1864
+ l && (ve(e, o, a, !1), pt(e, e.line - s), o = a = e.position, l = !1), Ce(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1858
1865
  }
1859
1866
  return ve(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = m, !1);
1860
1867
  }
1861
- function Ua(e, t) {
1868
+ function Ga(e, t) {
1862
1869
  var n, i, r;
1863
1870
  if (n = e.input.charCodeAt(e.position), n !== 39)
1864
1871
  return !1;
@@ -1868,10 +1875,10 @@ function Ua(e, t) {
1868
1875
  i = e.position, e.position++, r = e.position;
1869
1876
  else
1870
1877
  return !0;
1871
- else me(n) ? (ve(e, i, r, !0), ft(e, ee(e, !1, t)), i = r = e.position) : e.position === e.lineStart && We(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1878
+ else me(n) ? (ve(e, i, r, !0), pt(e, ee(e, !1, t)), i = r = e.position) : e.position === e.lineStart && We(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1872
1879
  T(e, "unexpected end of the stream within a single quoted scalar");
1873
1880
  }
1874
- function qa(e, t) {
1881
+ function za(e, t) {
1875
1882
  var n, i, r, o, a, l;
1876
1883
  if (l = e.input.charCodeAt(e.position), l !== 34)
1877
1884
  return !1;
@@ -1881,20 +1888,20 @@ function qa(e, t) {
1881
1888
  if (l === 92) {
1882
1889
  if (ve(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), me(l))
1883
1890
  ee(e, !1, t);
1884
- else if (l < 256 && Ln[l])
1885
- e.result += Rn[l], e.position++;
1886
- else if ((a = Na(l)) > 0) {
1891
+ else if (l < 256 && Rn[l])
1892
+ e.result += Kn[l], e.position++;
1893
+ else if ((a = Ha(l)) > 0) {
1887
1894
  for (r = a, o = 0; r > 0; r--)
1888
- l = e.input.charCodeAt(++e.position), (a = Ka(l)) >= 0 ? o = (o << 4) + a : T(e, "expected hexadecimal character");
1889
- e.result += Pa(o), e.position++;
1895
+ l = e.input.charCodeAt(++e.position), (a = qa(l)) >= 0 ? o = (o << 4) + a : T(e, "expected hexadecimal character");
1896
+ e.result += Va(o), e.position++;
1890
1897
  } else
1891
1898
  T(e, "unknown escape sequence");
1892
1899
  n = i = e.position;
1893
- } else me(l) ? (ve(e, n, i, !0), ft(e, ee(e, !1, t)), n = i = e.position) : e.position === e.lineStart && We(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1900
+ } else me(l) ? (ve(e, n, i, !0), pt(e, ee(e, !1, t)), n = i = e.position) : e.position === e.lineStart && We(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1894
1901
  }
1895
1902
  T(e, "unexpected end of the stream within a double quoted scalar");
1896
1903
  }
1897
- function Ha(e, t) {
1904
+ function Qa(e, t) {
1898
1905
  var n = !0, i, r, o, a = e.tag, l, s = e.anchor, d, c, u, m, f, h = /* @__PURE__ */ Object.create(null), b, y, $, k;
1899
1906
  if (k = e.input.charCodeAt(e.position), k === 91)
1900
1907
  c = 93, f = !1, l = [];
@@ -1909,8 +1916,8 @@ function Ha(e, t) {
1909
1916
  }
1910
1917
  T(e, "unexpected end of the stream within a flow collection");
1911
1918
  }
1912
- function Ya(e, t) {
1913
- var n, i, r = Qe, o = !1, a = !1, l = t, s = 0, d = !1, c, u;
1919
+ function Za(e, t) {
1920
+ var n, i, r = Ze, o = !1, a = !1, l = t, s = 0, d = !1, c, u;
1914
1921
  if (u = e.input.charCodeAt(e.position), u === 124)
1915
1922
  i = !1;
1916
1923
  else if (u === 62)
@@ -1919,8 +1926,8 @@ function Ya(e, t) {
1919
1926
  return !1;
1920
1927
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1921
1928
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1922
- Qe === r ? r = u === 43 ? It : Oa : T(e, "repeat of a chomping mode identifier");
1923
- else if ((c = Ma(u)) >= 0)
1929
+ Ze === r ? r = u === 43 ? Ft : Pa : T(e, "repeat of a chomping mode identifier");
1930
+ else if ((c = Ya(u)) >= 0)
1924
1931
  c === 0 ? T(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? T(e, "repeat of an indentation width identifier") : (l = t + c - 1, a = !0);
1925
1932
  else
1926
1933
  break;
@@ -1934,15 +1941,15 @@ function Ya(e, t) {
1934
1941
  while (!me(u) && u !== 0);
1935
1942
  }
1936
1943
  for (; u !== 0; ) {
1937
- for (dt(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && u === 32; )
1944
+ for (ft(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && u === 32; )
1938
1945
  e.lineIndent++, u = e.input.charCodeAt(++e.position);
1939
1946
  if (!a && e.lineIndent > l && (l = e.lineIndent), me(u)) {
1940
1947
  s++;
1941
1948
  continue;
1942
1949
  }
1943
1950
  if (e.lineIndent < l) {
1944
- r === It ? e.result += te.repeat(`
1945
- `, o ? 1 + s : s) : r === Qe && o && (e.result += `
1951
+ r === Ft ? e.result += te.repeat(`
1952
+ `, o ? 1 + s : s) : r === Ze && o && (e.result += `
1946
1953
  `);
1947
1954
  break;
1948
1955
  }
@@ -1956,7 +1963,7 @@ function Ya(e, t) {
1956
1963
  }
1957
1964
  return !0;
1958
1965
  }
1959
- function Rt(e, t) {
1966
+ function Kt(e, t) {
1960
1967
  var n, i = e.tag, r = e.anchor, o = [], a, l = !1, s;
1961
1968
  if (e.firstTabInLine !== -1) return !1;
1962
1969
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !ue(a)))); ) {
@@ -1964,21 +1971,21 @@ function Rt(e, t) {
1964
1971
  o.push(null), s = e.input.charCodeAt(e.position);
1965
1972
  continue;
1966
1973
  }
1967
- if (n = e.line, Fe(e, t, In, !1, !0), o.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1974
+ if (n = e.line, Fe(e, t, Fn, !1, !0), o.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1968
1975
  T(e, "bad indentation of a sequence entry");
1969
1976
  else if (e.lineIndent < t)
1970
1977
  break;
1971
1978
  }
1972
1979
  return l ? (e.tag = i, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
1973
1980
  }
1974
- function Va(e, t, n) {
1981
+ function Xa(e, t, n) {
1975
1982
  var i, r, o, a, l, s, d = e.tag, c = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, h = null, b = null, y = !1, $ = !1, k;
1976
1983
  if (e.firstTabInLine !== -1) return !1;
1977
1984
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), k = e.input.charCodeAt(e.position); k !== 0; ) {
1978
1985
  if (!y && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (k === 63 || k === 58) && ue(i))
1979
1986
  k === 63 ? (y && (Ee(e, u, m, f, h, null, a, l, s), f = h = b = null), $ = !0, y = !0, r = !0) : y ? (y = !1, r = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, k = i;
1980
1987
  else {
1981
- if (a = e.line, l = e.lineStart, s = e.position, !Fe(e, n, En, !1, !0))
1988
+ if (a = e.line, l = e.lineStart, s = e.position, !Fe(e, n, In, !1, !0))
1982
1989
  break;
1983
1990
  if (e.line === o) {
1984
1991
  for (k = e.input.charCodeAt(e.position); Ce(k); )
@@ -2001,7 +2008,7 @@ function Va(e, t, n) {
2001
2008
  }
2002
2009
  return y && Ee(e, u, m, f, h, null, a, l, s), $ && (e.tag = d, e.anchor = c, e.kind = "mapping", e.result = u), $;
2003
2010
  }
2004
- function Wa(e) {
2011
+ function eo(e) {
2005
2012
  var t, n = !1, i = !1, r, o, a;
2006
2013
  if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
2007
2014
  if (e.tag !== null && T(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (i = !0, r = "!!", a = e.input.charCodeAt(++e.position)) : r = "!", t = e.position, n) {
@@ -2011,10 +2018,10 @@ function Wa(e) {
2011
2018
  e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : T(e, "unexpected end of the stream within a verbatim tag");
2012
2019
  } else {
2013
2020
  for (; a !== 0 && !ue(a); )
2014
- a === 33 && (i ? T(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), Fn.test(r) || T(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
2015
- o = e.input.slice(t, e.position), Ra.test(o) && T(e, "tag suffix cannot contain flow indicator characters");
2021
+ a === 33 && (i ? T(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), On.test(r) || T(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
2022
+ o = e.input.slice(t, e.position), Ua.test(o) && T(e, "tag suffix cannot contain flow indicator characters");
2016
2023
  }
2017
- o && !On.test(o) && T(e, "tag name cannot contain such characters: " + o);
2024
+ o && !Ln.test(o) && T(e, "tag name cannot contain such characters: " + o);
2018
2025
  try {
2019
2026
  o = decodeURIComponent(o);
2020
2027
  } catch {
@@ -2022,14 +2029,14 @@ function Wa(e) {
2022
2029
  }
2023
2030
  return n ? e.tag = o : be.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : T(e, 'undeclared tag handle "' + r + '"'), !0;
2024
2031
  }
2025
- function Ja(e) {
2032
+ function to(e) {
2026
2033
  var t, n;
2027
2034
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
2028
2035
  for (e.anchor !== null && T(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ue(n) && !Te(n); )
2029
2036
  n = e.input.charCodeAt(++e.position);
2030
2037
  return e.position === t && T(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2031
2038
  }
2032
- function Ga(e) {
2039
+ function no(e) {
2033
2040
  var t, n, i;
2034
2041
  if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
2035
2042
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !ue(i) && !Te(i); )
@@ -2038,10 +2045,10 @@ function Ga(e) {
2038
2045
  }
2039
2046
  function Fe(e, t, n, i, r) {
2040
2047
  var o, a, l, s = 1, d = !1, c = !1, u, m, f, h, b, y;
2041
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Pe === n || In === n, i && ee(e, !0, -1) && (d = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2042
- for (; Wa(e) || Ja(e); )
2048
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Pe === n || Fn === n, i && ee(e, !0, -1) && (d = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2049
+ for (; eo(e) || to(e); )
2043
2050
  ee(e, !0, -1) ? (d = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2044
- if (l && (l = d || r), (s === 1 || Pe === n) && (Me === n || En === n ? b = t : b = t + 1, y = e.position - e.lineStart, s === 1 ? l && (Rt(e, y) || Va(e, y, b)) || Ha(e, b) ? c = !0 : (a && Ya(e, b) || Ua(e, b) || qa(e, b) ? c = !0 : Ga(e) ? (c = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : ja(e, b, Me === n) && (c = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (c = l && Rt(e, y))), e.tag === null)
2051
+ if (l && (l = d || r), (s === 1 || Pe === n) && (Me === n || In === n ? b = t : b = t + 1, y = e.position - e.lineStart, s === 1 ? l && (Kt(e, y) || Xa(e, y, b)) || Qa(e, b) ? c = !0 : (a && Za(e, b) || Ga(e, b) || za(e, b) ? c = !0 : no(e) ? (c = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : Ja(e, b, Me === n) && (c = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (c = l && Kt(e, y))), e.tag === null)
2045
2052
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2046
2053
  else if (e.tag === "?") {
2047
2054
  for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, m = e.implicitTypes.length; u < m; u += 1)
@@ -2062,7 +2069,7 @@ function Fe(e, t, n, i, r) {
2062
2069
  }
2063
2070
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || c;
2064
2071
  }
2065
- function za(e) {
2072
+ function io(e) {
2066
2073
  var t = e.position, n, i, r, o = !1, a;
2067
2074
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
2068
2075
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !ue(a); )
@@ -2081,9 +2088,9 @@ function za(e) {
2081
2088
  a = e.input.charCodeAt(++e.position);
2082
2089
  r.push(e.input.slice(n, e.position));
2083
2090
  }
2084
- a !== 0 && dt(e), be.call(Bt, i) ? Bt[i](e, i, r) : De(e, 'unknown document directive "' + i + '"');
2091
+ a !== 0 && ft(e), be.call(Bt, i) ? Bt[i](e, i, r) : De(e, 'unknown document directive "' + i + '"');
2085
2092
  }
2086
- if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : o && T(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, Pe, !1, !0), ee(e, !0, -1), e.checkLineBreaks && La.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 && We(e)) {
2093
+ if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : o && T(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, Pe, !1, !0), ee(e, !0, -1), e.checkLineBreaks && ja.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 && We(e)) {
2087
2094
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
2088
2095
  return;
2089
2096
  }
@@ -2092,36 +2099,36 @@ function za(e) {
2092
2099
  else
2093
2100
  return;
2094
2101
  }
2095
- function Nn(e, t) {
2102
+ function Mn(e, t) {
2096
2103
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2097
2104
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2098
- var n = new Da(e, t), i = e.indexOf("\0");
2105
+ var n = new Wa(e, t), i = e.indexOf("\0");
2099
2106
  for (i !== -1 && (n.position = i, T(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2100
2107
  n.lineIndent += 1, n.position += 1;
2101
2108
  for (; n.position < n.length - 1; )
2102
- za(n);
2109
+ io(n);
2103
2110
  return n.documents;
2104
2111
  }
2105
- function Qa(e, t, n) {
2112
+ function ro(e, t, n) {
2106
2113
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2107
- var i = Nn(e, n);
2114
+ var i = Mn(e, n);
2108
2115
  if (typeof t != "function")
2109
2116
  return i;
2110
2117
  for (var r = 0, o = i.length; r < o; r += 1)
2111
2118
  t(i[r]);
2112
2119
  }
2113
- function Za(e, t) {
2114
- var n = Nn(e, t);
2120
+ function ao(e, t) {
2121
+ var n = Mn(e, t);
2115
2122
  if (n.length !== 0) {
2116
2123
  if (n.length === 1)
2117
2124
  return n[0];
2118
2125
  throw new se("expected a single document in the stream, but found more");
2119
2126
  }
2120
2127
  }
2121
- var Xa = Qa, eo = Za, Mn = {
2122
- loadAll: Xa,
2123
- load: eo
2124
- }, Pn = Object.prototype.toString, Dn = Object.prototype.hasOwnProperty, pt = 65279, to = 9, Le = 10, no = 13, io = 32, ro = 33, ao = 34, tt = 35, oo = 37, lo = 38, so = 39, co = 42, jn = 44, uo = 45, je = 58, fo = 61, po = 62, mo = 63, go = 64, Un = 91, qn = 93, ho = 96, Hn = 123, yo = 124, Yn = 125, oe = {};
2128
+ var oo = ro, lo = ao, Pn = {
2129
+ loadAll: oo,
2130
+ load: lo
2131
+ }, Dn = Object.prototype.toString, jn = Object.prototype.hasOwnProperty, mt = 65279, so = 9, Be = 10, co = 13, uo = 32, fo = 33, po = 34, nt = 35, mo = 37, go = 38, ho = 39, yo = 42, Un = 44, vo = 45, je = 58, bo = 61, ko = 62, Co = 63, xo = 64, qn = 91, Hn = 93, Ao = 96, Yn = 123, wo = 124, Vn = 125, oe = {};
2125
2132
  oe[0] = "\\0";
2126
2133
  oe[7] = "\\a";
2127
2134
  oe[8] = "\\b";
@@ -2137,7 +2144,7 @@ oe[133] = "\\N";
2137
2144
  oe[160] = "\\_";
2138
2145
  oe[8232] = "\\L";
2139
2146
  oe[8233] = "\\P";
2140
- var vo = [
2147
+ var _o = [
2141
2148
  "y",
2142
2149
  "Y",
2143
2150
  "yes",
@@ -2154,15 +2161,15 @@ var vo = [
2154
2161
  "off",
2155
2162
  "Off",
2156
2163
  "OFF"
2157
- ], bo = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2158
- function ko(e, t) {
2164
+ ], So = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2165
+ function $o(e, t) {
2159
2166
  var n, i, r, o, a, l, s;
2160
2167
  if (t === null) return {};
2161
2168
  for (n = {}, i = Object.keys(t), r = 0, o = i.length; r < o; r += 1)
2162
- a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && Dn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
2169
+ a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && jn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
2163
2170
  return n;
2164
2171
  }
2165
- function Co(e) {
2172
+ function To(e) {
2166
2173
  var t, n, i;
2167
2174
  if (t = e.toString(16).toUpperCase(), e <= 255)
2168
2175
  n = "x", i = 2;
@@ -2174,22 +2181,22 @@ function Co(e) {
2174
2181
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2175
2182
  return "\\" + n + te.repeat("0", i - t.length) + t;
2176
2183
  }
2177
- var xo = 1, Re = 2;
2178
- function Ao(e) {
2179
- this.schema = e.schema || ut, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = ko(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 === '"' ? Re : xo, 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;
2184
+ var Eo = 1, Re = 2;
2185
+ function Io(e) {
2186
+ this.schema = e.schema || dt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = $o(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 === '"' ? Re : 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;
2180
2187
  }
2181
- function Kt(e, t) {
2188
+ function Nt(e, t) {
2182
2189
  for (var n = te.repeat(" ", t), i = 0, r = -1, o = "", a, l = e.length; i < l; )
2183
2190
  r = e.indexOf(`
2184
2191
  `, i), r === -1 ? (a = e.slice(i), i = l) : (a = e.slice(i, r + 1), i = r + 1), a.length && a !== `
2185
2192
  ` && (o += n), o += a;
2186
2193
  return o;
2187
2194
  }
2188
- function nt(e, t) {
2195
+ function it(e, t) {
2189
2196
  return `
2190
2197
  ` + te.repeat(" ", e.indent * t);
2191
2198
  }
2192
- function wo(e, t) {
2199
+ function Fo(e, t) {
2193
2200
  var n, i, r;
2194
2201
  for (n = 0, i = e.implicitTypes.length; n < i; n += 1)
2195
2202
  if (r = e.implicitTypes[n], r.resolve(t))
@@ -2197,71 +2204,71 @@ function wo(e, t) {
2197
2204
  return !1;
2198
2205
  }
2199
2206
  function Ue(e) {
2200
- return e === io || e === to;
2207
+ return e === uo || e === so;
2201
2208
  }
2202
2209
  function Ke(e) {
2203
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== pt || 65536 <= e && e <= 1114111;
2210
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== mt || 65536 <= e && e <= 1114111;
2204
2211
  }
2205
- function Nt(e) {
2206
- return Ke(e) && e !== pt && e !== no && e !== Le;
2212
+ function Mt(e) {
2213
+ return Ke(e) && e !== mt && e !== co && e !== Be;
2207
2214
  }
2208
- function Mt(e, t, n) {
2209
- var i = Nt(e), r = i && !Ue(e);
2215
+ function Pt(e, t, n) {
2216
+ var i = Mt(e), r = i && !Ue(e);
2210
2217
  return (
2211
2218
  // ns-plain-safe
2212
2219
  (n ? (
2213
2220
  // c = flow-in
2214
2221
  i
2215
- ) : i && e !== jn && e !== Un && e !== qn && e !== Hn && e !== Yn) && e !== tt && !(t === je && !r) || Nt(t) && !Ue(t) && e === tt || t === je && r
2222
+ ) : i && e !== Un && e !== qn && e !== Hn && e !== Yn && e !== Vn) && e !== nt && !(t === je && !r) || Mt(t) && !Ue(t) && e === nt || t === je && r
2216
2223
  );
2217
2224
  }
2218
- function _o(e) {
2219
- return Ke(e) && e !== pt && !Ue(e) && e !== uo && e !== mo && e !== je && e !== jn && e !== Un && e !== qn && e !== Hn && e !== Yn && e !== tt && e !== lo && e !== co && e !== ro && e !== yo && e !== fo && e !== po && e !== so && e !== ao && e !== oo && e !== go && e !== ho;
2225
+ function Oo(e) {
2226
+ return Ke(e) && e !== mt && !Ue(e) && e !== vo && e !== Co && e !== je && e !== Un && e !== qn && e !== Hn && e !== Yn && e !== Vn && e !== nt && e !== go && e !== yo && e !== fo && e !== wo && e !== bo && e !== ko && e !== ho && e !== po && e !== mo && e !== xo && e !== Ao;
2220
2227
  }
2221
- function So(e) {
2228
+ function Lo(e) {
2222
2229
  return !Ue(e) && e !== je;
2223
2230
  }
2224
2231
  function Oe(e, t) {
2225
2232
  var n = e.charCodeAt(t), i;
2226
2233
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (n - 55296) * 1024 + i - 56320 + 65536 : n;
2227
2234
  }
2228
- function Vn(e) {
2235
+ function Wn(e) {
2229
2236
  var t = /^\n* /;
2230
2237
  return t.test(e);
2231
2238
  }
2232
- var Wn = 1, it = 2, Jn = 3, Gn = 4, $e = 5;
2233
- function $o(e, t, n, i, r, o, a, l) {
2234
- var s, d = 0, c = null, u = !1, m = !1, f = i !== -1, h = -1, b = _o(Oe(e, 0)) && So(Oe(e, e.length - 1));
2239
+ var Jn = 1, rt = 2, Gn = 3, zn = 4, $e = 5;
2240
+ function Bo(e, t, n, i, r, o, a, l) {
2241
+ var s, d = 0, c = null, u = !1, m = !1, f = i !== -1, h = -1, b = Oo(Oe(e, 0)) && Lo(Oe(e, e.length - 1));
2235
2242
  if (t || a)
2236
2243
  for (s = 0; s < e.length; d >= 65536 ? s += 2 : s++) {
2237
2244
  if (d = Oe(e, s), !Ke(d))
2238
2245
  return $e;
2239
- b = b && Mt(d, c, l), c = d;
2246
+ b = b && Pt(d, c, l), c = d;
2240
2247
  }
2241
2248
  else {
2242
2249
  for (s = 0; s < e.length; d >= 65536 ? s += 2 : s++) {
2243
- if (d = Oe(e, s), d === Le)
2250
+ if (d = Oe(e, s), d === Be)
2244
2251
  u = !0, f && (m = m || // Foldable line = too long, and not more-indented.
2245
2252
  s - h - 1 > i && e[h + 1] !== " ", h = s);
2246
2253
  else if (!Ke(d))
2247
2254
  return $e;
2248
- b = b && Mt(d, c, l), c = d;
2255
+ b = b && Pt(d, c, l), c = d;
2249
2256
  }
2250
2257
  m = m || f && s - h - 1 > i && e[h + 1] !== " ";
2251
2258
  }
2252
- return !u && !m ? b && !a && !r(e) ? Wn : o === Re ? $e : it : n > 9 && Vn(e) ? $e : a ? o === Re ? $e : it : m ? Gn : Jn;
2259
+ return !u && !m ? b && !a && !r(e) ? Jn : o === Re ? $e : rt : n > 9 && Wn(e) ? $e : a ? o === Re ? $e : rt : m ? zn : Gn;
2253
2260
  }
2254
- function To(e, t, n, i, r) {
2261
+ function Ro(e, t, n, i, r) {
2255
2262
  e.dump = (function() {
2256
2263
  if (t.length === 0)
2257
2264
  return e.quotingType === Re ? '""' : "''";
2258
- if (!e.noCompatMode && (vo.indexOf(t) !== -1 || bo.test(t)))
2265
+ if (!e.noCompatMode && (_o.indexOf(t) !== -1 || So.test(t)))
2259
2266
  return e.quotingType === Re ? '"' + t + '"' : "'" + t + "'";
2260
2267
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = i || e.flowLevel > -1 && n >= e.flowLevel;
2261
2268
  function s(d) {
2262
- return wo(e, d);
2269
+ return Fo(e, d);
2263
2270
  }
2264
- switch ($o(
2271
+ switch (Bo(
2265
2272
  t,
2266
2273
  l,
2267
2274
  e.indent,
@@ -2271,47 +2278,47 @@ function To(e, t, n, i, r) {
2271
2278
  e.forceQuotes && !i,
2272
2279
  r
2273
2280
  )) {
2274
- case Wn:
2281
+ case Jn:
2275
2282
  return t;
2276
- case it:
2283
+ case rt:
2277
2284
  return "'" + t.replace(/'/g, "''") + "'";
2278
- case Jn:
2279
- return "|" + Pt(t, e.indent) + Dt(Kt(t, o));
2280
2285
  case Gn:
2281
- return ">" + Pt(t, e.indent) + Dt(Kt(Eo(t, a), o));
2286
+ return "|" + Dt(t, e.indent) + jt(Nt(t, o));
2287
+ case zn:
2288
+ return ">" + Dt(t, e.indent) + jt(Nt(Ko(t, a), o));
2282
2289
  case $e:
2283
- return '"' + Io(t) + '"';
2290
+ return '"' + No(t) + '"';
2284
2291
  default:
2285
2292
  throw new se("impossible error: invalid scalar style");
2286
2293
  }
2287
2294
  })();
2288
2295
  }
2289
- function Pt(e, t) {
2290
- var n = Vn(e) ? String(t) : "", i = e[e.length - 1] === `
2296
+ function Dt(e, t) {
2297
+ var n = Wn(e) ? String(t) : "", i = e[e.length - 1] === `
2291
2298
  `, r = i && (e[e.length - 2] === `
2292
2299
  ` || e === `
2293
2300
  `), o = r ? "+" : i ? "" : "-";
2294
2301
  return n + o + `
2295
2302
  `;
2296
2303
  }
2297
- function Dt(e) {
2304
+ function jt(e) {
2298
2305
  return e[e.length - 1] === `
2299
2306
  ` ? e.slice(0, -1) : e;
2300
2307
  }
2301
- function Eo(e, t) {
2308
+ function Ko(e, t) {
2302
2309
  for (var n = /(\n+)([^\n]*)/g, i = (function() {
2303
2310
  var d = e.indexOf(`
2304
2311
  `);
2305
- return d = d !== -1 ? d : e.length, n.lastIndex = d, jt(e.slice(0, d), t);
2312
+ return d = d !== -1 ? d : e.length, n.lastIndex = d, Ut(e.slice(0, d), t);
2306
2313
  })(), r = e[0] === `
2307
2314
  ` || e[0] === " ", o, a; a = n.exec(e); ) {
2308
2315
  var l = a[1], s = a[2];
2309
2316
  o = s[0] === " ", i += l + (!r && !o && s !== "" ? `
2310
- ` : "") + jt(s, t), r = o;
2317
+ ` : "") + Ut(s, t), r = o;
2311
2318
  }
2312
2319
  return i;
2313
2320
  }
2314
- function jt(e, t) {
2321
+ function Ut(e, t) {
2315
2322
  if (e === "" || e[0] === " ") return e;
2316
2323
  for (var n = / [^ ]/g, i, r = 0, o, a = 0, l = 0, s = ""; i = n.exec(e); )
2317
2324
  l = i.index, l - r > t && (o = a > r ? a : l, s += `
@@ -2320,30 +2327,30 @@ function jt(e, t) {
2320
2327
  `, e.length - r > t && a > r ? s += e.slice(r, a) + `
2321
2328
  ` + e.slice(a + 1) : s += e.slice(r), s.slice(1);
2322
2329
  }
2323
- function Io(e) {
2330
+ function No(e) {
2324
2331
  for (var t = "", n = 0, i, r = 0; r < e.length; n >= 65536 ? r += 2 : r++)
2325
- n = Oe(e, r), i = oe[n], !i && Ke(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || Co(n);
2332
+ n = Oe(e, r), i = oe[n], !i && Ke(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || To(n);
2326
2333
  return t;
2327
2334
  }
2328
- function Fo(e, t, n) {
2335
+ function Mo(e, t, n) {
2329
2336
  var i = "", r = e.tag, o, a, l;
2330
2337
  for (o = 0, a = n.length; o < a; o += 1)
2331
2338
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (ge(e, t, l, !1, !1) || typeof l > "u" && ge(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
2332
2339
  e.tag = r, e.dump = "[" + i + "]";
2333
2340
  }
2334
- function Ut(e, t, n, i) {
2341
+ function qt(e, t, n, i) {
2335
2342
  var r = "", o = e.tag, a, l, s;
2336
2343
  for (a = 0, l = n.length; a < l; a += 1)
2337
- s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ge(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ge(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += nt(e, t)), e.dump && Le === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2344
+ s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ge(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ge(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += it(e, t)), e.dump && Be === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2338
2345
  e.tag = o, e.dump = r || "[]";
2339
2346
  }
2340
- function Oo(e, t, n) {
2347
+ function Po(e, t, n) {
2341
2348
  var i = "", r = e.tag, o = Object.keys(n), a, l, s, d, c;
2342
2349
  for (a = 0, l = o.length; a < l; a += 1)
2343
2350
  c = "", i !== "" && (c += ", "), e.condenseFlow && (c += '"'), s = o[a], d = n[s], e.replacer && (d = e.replacer.call(n, s, d)), ge(e, t, s, !1, !1) && (e.dump.length > 1024 && (c += "? "), c += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ge(e, t, d, !1, !1) && (c += e.dump, i += c));
2344
2351
  e.tag = r, e.dump = "{" + i + "}";
2345
2352
  }
2346
- function Bo(e, t, n, i) {
2353
+ function Do(e, t, n, i) {
2347
2354
  var r = "", o = e.tag, a = Object.keys(n), l, s, d, c, u, m;
2348
2355
  if (e.sortKeys === !0)
2349
2356
  a.sort();
@@ -2352,17 +2359,17 @@ function Bo(e, t, n, i) {
2352
2359
  else if (e.sortKeys)
2353
2360
  throw new se("sortKeys must be a boolean or a function");
2354
2361
  for (l = 0, s = a.length; l < s; l += 1)
2355
- m = "", (!i || r !== "") && (m += nt(e, t)), d = a[l], c = n[d], e.replacer && (c = e.replacer.call(n, d, c)), ge(e, t + 1, d, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Le === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, u && (m += nt(e, t)), ge(e, t + 1, c, !0, u) && (e.dump && Le === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, r += m));
2362
+ m = "", (!i || r !== "") && (m += it(e, t)), d = a[l], c = n[d], e.replacer && (c = e.replacer.call(n, d, c)), ge(e, t + 1, d, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Be === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, u && (m += it(e, t)), ge(e, t + 1, c, !0, u) && (e.dump && Be === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, r += m));
2356
2363
  e.tag = o, e.dump = r || "{}";
2357
2364
  }
2358
- function qt(e, t, n) {
2365
+ function Ht(e, t, n) {
2359
2366
  var i, r, o, a, l, s;
2360
2367
  for (r = n ? e.explicitTypes : e.implicitTypes, o = 0, a = r.length; o < a; o += 1)
2361
2368
  if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2362
2369
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2363
- if (s = e.styleMap[l.tag] || l.defaultStyle, Pn.call(l.represent) === "[object Function]")
2370
+ if (s = e.styleMap[l.tag] || l.defaultStyle, Dn.call(l.represent) === "[object Function]")
2364
2371
  i = l.represent(t, s);
2365
- else if (Dn.call(l.represent, s))
2372
+ else if (jn.call(l.represent, s))
2366
2373
  i = l.represent[s](t, s);
2367
2374
  else
2368
2375
  throw new se("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
@@ -2373,19 +2380,19 @@ function qt(e, t, n) {
2373
2380
  return !1;
2374
2381
  }
2375
2382
  function ge(e, t, n, i, r, o, a) {
2376
- e.tag = null, e.dump = n, qt(e, n, !1) || qt(e, n, !0);
2377
- var l = Pn.call(e.dump), s = i, d;
2383
+ e.tag = null, e.dump = n, Ht(e, n, !1) || Ht(e, n, !0);
2384
+ var l = Dn.call(e.dump), s = i, d;
2378
2385
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
2379
2386
  var c = l === "[object Object]" || l === "[object Array]", u, m;
2380
2387
  if (c && (u = e.duplicates.indexOf(n), m = u !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && t > 0) && (r = !1), m && e.usedDuplicates[u])
2381
2388
  e.dump = "*ref_" + u;
2382
2389
  else {
2383
2390
  if (c && m && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2384
- i && Object.keys(e.dump).length !== 0 ? (Bo(e, t, e.dump, r), m && (e.dump = "&ref_" + u + e.dump)) : (Oo(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2391
+ i && Object.keys(e.dump).length !== 0 ? (Do(e, t, e.dump, r), m && (e.dump = "&ref_" + u + e.dump)) : (Po(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2385
2392
  else if (l === "[object Array]")
2386
- i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Ut(e, t - 1, e.dump, r) : Ut(e, t, e.dump, r), m && (e.dump = "&ref_" + u + e.dump)) : (Fo(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2393
+ i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? qt(e, t - 1, e.dump, r) : qt(e, t, e.dump, r), m && (e.dump = "&ref_" + u + e.dump)) : (Mo(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2387
2394
  else if (l === "[object String]")
2388
- e.tag !== "?" && To(e, e.dump, t, o, s);
2395
+ e.tag !== "?" && Ro(e, e.dump, t, o, s);
2389
2396
  else {
2390
2397
  if (l === "[object Undefined]")
2391
2398
  return !1;
@@ -2398,71 +2405,71 @@ function ge(e, t, n, i, r, o, a) {
2398
2405
  }
2399
2406
  return !0;
2400
2407
  }
2401
- function Lo(e, t) {
2408
+ function jo(e, t) {
2402
2409
  var n = [], i = [], r, o;
2403
- for (rt(e, n, i), r = 0, o = i.length; r < o; r += 1)
2410
+ for (at(e, n, i), r = 0, o = i.length; r < o; r += 1)
2404
2411
  t.duplicates.push(n[i[r]]);
2405
2412
  t.usedDuplicates = new Array(o);
2406
2413
  }
2407
- function rt(e, t, n) {
2414
+ function at(e, t, n) {
2408
2415
  var i, r, o;
2409
2416
  if (e !== null && typeof e == "object")
2410
2417
  if (r = t.indexOf(e), r !== -1)
2411
2418
  n.indexOf(r) === -1 && n.push(r);
2412
2419
  else if (t.push(e), Array.isArray(e))
2413
2420
  for (r = 0, o = e.length; r < o; r += 1)
2414
- rt(e[r], t, n);
2421
+ at(e[r], t, n);
2415
2422
  else
2416
2423
  for (i = Object.keys(e), r = 0, o = i.length; r < o; r += 1)
2417
- rt(e[i[r]], t, n);
2424
+ at(e[i[r]], t, n);
2418
2425
  }
2419
- function Ro(e, t) {
2426
+ function Uo(e, t) {
2420
2427
  t = t || {};
2421
- var n = new Ao(t);
2422
- n.noRefs || Lo(e, n);
2428
+ var n = new Io(t);
2429
+ n.noRefs || jo(e, n);
2423
2430
  var i = e;
2424
2431
  return n.replacer && (i = n.replacer.call({ "": i }, "", i)), ge(n, 0, i, !0, !0) ? n.dump + `
2425
2432
  ` : "";
2426
2433
  }
2427
- var Ko = Ro, No = {
2428
- dump: Ko
2434
+ var qo = Uo, Ho = {
2435
+ dump: qo
2429
2436
  };
2430
- function mt(e, t) {
2437
+ function gt(e, t) {
2431
2438
  return function() {
2432
2439
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2433
2440
  };
2434
2441
  }
2435
- var Mo = ae, Po = un, Do = mn, jo = bn, Uo = kn, qo = ut, Ho = Mn.load, Yo = Mn.loadAll, Vo = No.dump, Wo = se, Jo = {
2436
- binary: _n,
2437
- float: vn,
2438
- map: pn,
2439
- null: gn,
2440
- pairs: $n,
2441
- set: Tn,
2442
- timestamp: An,
2443
- bool: hn,
2444
- int: yn,
2445
- merge: wn,
2446
- omap: Sn,
2447
- seq: fn,
2448
- str: dn
2449
- }, Go = mt("safeLoad", "load"), zo = mt("safeLoadAll", "loadAll"), Qo = mt("safeDump", "dump"), zn = {
2450
- Type: Mo,
2451
- Schema: Po,
2452
- FAILSAFE_SCHEMA: Do,
2453
- JSON_SCHEMA: jo,
2454
- CORE_SCHEMA: Uo,
2455
- DEFAULT_SCHEMA: qo,
2456
- load: Ho,
2457
- loadAll: Yo,
2458
- dump: Vo,
2459
- YAMLException: Wo,
2460
- types: Jo,
2461
- safeLoad: Go,
2462
- safeLoadAll: zo,
2463
- safeDump: Qo
2442
+ var Yo = ae, Vo = dn, Wo = gn, Jo = kn, Go = Cn, zo = dt, Qo = Pn.load, Zo = Pn.loadAll, Xo = Ho.dump, el = se, tl = {
2443
+ binary: Sn,
2444
+ float: bn,
2445
+ map: mn,
2446
+ null: hn,
2447
+ pairs: Tn,
2448
+ set: En,
2449
+ timestamp: wn,
2450
+ bool: yn,
2451
+ int: vn,
2452
+ merge: _n,
2453
+ omap: $n,
2454
+ seq: pn,
2455
+ str: fn
2456
+ }, nl = gt("safeLoad", "load"), il = gt("safeLoadAll", "loadAll"), rl = gt("safeDump", "dump"), Qn = {
2457
+ Type: Yo,
2458
+ Schema: Vo,
2459
+ FAILSAFE_SCHEMA: Wo,
2460
+ JSON_SCHEMA: Jo,
2461
+ CORE_SCHEMA: Go,
2462
+ DEFAULT_SCHEMA: zo,
2463
+ load: Qo,
2464
+ loadAll: Zo,
2465
+ dump: Xo,
2466
+ YAMLException: el,
2467
+ types: tl,
2468
+ safeLoad: nl,
2469
+ safeLoadAll: il,
2470
+ safeDump: rl
2464
2471
  };
2465
- const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */ Q({
2472
+ const al = { class: "yaml-config config-card-code-block" }, Zn = /* @__PURE__ */ Q({
2466
2473
  __name: "YamlCodeBlock",
2467
2474
  props: {
2468
2475
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2474,12 +2481,12 @@ const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */
2474
2481
  setup(e) {
2475
2482
  const t = e, n = _(() => {
2476
2483
  const i = Object.fromEntries(Object.entries(t.entityRecord).filter(([, r]) => r !== null && r !== "" && (Array.isArray(r) ? r.length !== 0 : !0)));
2477
- return Object.keys(i).length === 0 && i.constructor === Object ? "" : zn.dump(i).trim();
2484
+ return Object.keys(i).length === 0 && i.constructor === Object ? "" : Qn.dump(i).trim();
2478
2485
  });
2479
2486
  return (i, r) => {
2480
2487
  const o = U("KCodeBlock");
2481
- return g(), S("div", Zo, [
2482
- t.entityRecord ? (g(), B(o, {
2488
+ return g(), S("div", al, [
2489
+ t.entityRecord ? (g(), L(o, {
2483
2490
  key: 0,
2484
2491
  id: "yaml-codeblock",
2485
2492
  code: n.value,
@@ -2490,7 +2497,7 @@ const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */
2490
2497
  ]);
2491
2498
  };
2492
2499
  }
2493
- }), Xo = { class: "terraform-config config-card-code-block" }, ie = " ", Zn = /* @__PURE__ */ Q({
2500
+ }), ol = { class: "terraform-config config-card-code-block" }, ie = " ", Xn = /* @__PURE__ */ Q({
2494
2501
  __name: "TerraformCodeBlock",
2495
2502
  props: {
2496
2503
  /** A record to indicate the entity's configuration, used to populate the Terraform code block */
@@ -2514,7 +2521,7 @@ const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */
2514
2521
  }
2515
2522
  },
2516
2523
  setup(e) {
2517
- const t = e, n = _(() => xi.includes(t.entityType)), i = _(() => Ai.includes(t.entityType)), r = (c, u) => {
2524
+ const t = e, n = _(() => Ei.includes(t.entityType)), i = _(() => Ii.includes(t.entityType)), r = (c, u) => {
2518
2525
  const m = ie;
2519
2526
  let f = "";
2520
2527
  return typeof c == "string" ? f += `${m}${u} = "${c}"
@@ -2587,8 +2594,8 @@ const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */
2587
2594
  });
2588
2595
  return (c, u) => {
2589
2596
  const m = U("KCodeBlock");
2590
- return g(), S("div", Xo, [
2591
- t.entityRecord ? (g(), B(m, {
2597
+ return g(), S("div", ol, [
2598
+ t.entityRecord ? (g(), L(m, {
2592
2599
  key: 0,
2593
2600
  id: "terraform-codeblock",
2594
2601
  code: d.value,
@@ -2599,7 +2606,7 @@ const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */
2599
2606
  ]);
2600
2607
  };
2601
2608
  }
2602
- }), el = { class: "deck-config config-card-code-block" }, tl = /* @__PURE__ */ Q({
2609
+ }), ll = { class: "deck-config config-card-code-block" }, sl = /* @__PURE__ */ Q({
2603
2610
  __name: "DeckCodeBlock",
2604
2611
  props: {
2605
2612
  app: {},
@@ -2629,7 +2636,7 @@ const Zo = { class: "yaml-config config-card-code-block" }, Qn = /* @__PURE__ */
2629
2636
  ...a.value,
2630
2637
  [u]: [c]
2631
2638
  };
2632
- return zn.dump(m, { quotingType: '"' }).trim();
2639
+ return Qn.dump(m, { quotingType: '"' }).trim();
2633
2640
  }), s = _(() => o.value === "bash" ? "export DECK_KONNECT_TOKEN='YOUR_KONNECT_PAT'" : '$env:DECK_KONNECT_TOKEN = "YOUR_KONNECT_PAT"'), d = _(() => {
2634
2641
  let c = "deck gateway apply -";
2635
2642
  return t.geoApiServerUrl ? c += ` --konnect-addr ${t.geoApiServerUrl}` : t.kongAdminApiUrl && (c += ` --kong-addr ${t.kongAdminApiUrl}`), o.value === "bash" ? `echo '
@@ -2640,18 +2647,18 @@ ${l.value}
2640
2647
  });
2641
2648
  return (c, u) => {
2642
2649
  const m = U("KSelect"), f = U("KBadge"), h = U("KCodeBlock");
2643
- return g(), S("div", el, [
2650
+ return g(), S("div", ll, [
2644
2651
  N(m, {
2645
2652
  modelValue: o.value,
2646
2653
  "onUpdate:modelValue": u[0] || (u[0] = (b) => o.value = b),
2647
2654
  items: r
2648
2655
  }, {
2649
2656
  "item-template": x(({ item: b }) => [
2650
- b.value === "powershell" ? (g(), B(C(bt), { key: 0 })) : (g(), B(C(kt), { key: 1 })),
2657
+ b.value === "powershell" ? (g(), L(C(kt), { key: 0 })) : (g(), L(C(Ct), { key: 1 })),
2651
2658
  q(" " + I(b.label), 1)
2652
2659
  ]),
2653
2660
  "selected-item-template": x(({ item: b }) => [
2654
- b.value === "powershell" ? (g(), B(C(bt), { key: 0 })) : (g(), B(C(kt), { key: 1 })),
2661
+ b.value === "powershell" ? (g(), L(C(kt), { key: 0 })) : (g(), L(C(Ct), { key: 1 })),
2655
2662
  q(" " + I(b.label), 1)
2656
2663
  ]),
2657
2664
  _: 1
@@ -2662,7 +2669,7 @@ ${l.value}
2662
2669
  tag: "p"
2663
2670
  }, Ae({
2664
2671
  link: x(() => [
2665
- N(C(ui), {
2672
+ N(C(di), {
2666
2673
  href: e.app === "konnect" ? "https://developer.konghq.com/deck/get-started/" : "https://developer.konghq.com/deck/gateway/configuration/"
2667
2674
  }, {
2668
2675
  default: x(() => [
@@ -2686,7 +2693,7 @@ ${l.value}
2686
2693
  key: "0"
2687
2694
  } : void 0
2688
2695
  ]), 1032, ["data-testid", "keypath"]),
2689
- e.app === "konnect" ? (g(), B(h, {
2696
+ e.app === "konnect" ? (g(), L(h, {
2690
2697
  key: 0,
2691
2698
  id: "deck-env-codeblock",
2692
2699
  code: s.value,
@@ -2695,7 +2702,7 @@ ${l.value}
2695
2702
  theme: "dark",
2696
2703
  onCodeBlockRender: C(Ie)
2697
2704
  }, null, 8, ["code", "language", "onCodeBlockRender"])) : D("", !0),
2698
- t.entityRecord ? (g(), B(h, {
2705
+ t.entityRecord ? (g(), L(h, {
2699
2706
  key: 1,
2700
2707
  id: "deck-codeblock",
2701
2708
  code: d.value,
@@ -2706,13 +2713,13 @@ ${l.value}
2706
2713
  ]);
2707
2714
  };
2708
2715
  }
2709
- }), Xn = /* @__PURE__ */ ce(tl, [["__scopeId", "data-v-04c956bc"]]), nl = {
2716
+ }), ei = /* @__PURE__ */ ce(sl, [["__scopeId", "data-v-04c956bc"]]), cl = {
2710
2717
  key: 0,
2711
2718
  class: "config-card-display-form"
2712
- }, il = ["data-testid"], rl = {
2719
+ }, ul = ["data-testid"], dl = {
2713
2720
  key: 0,
2714
2721
  class: "config-card-prop-section-title"
2715
- }, al = /* @__PURE__ */ Q({
2722
+ }, fl = /* @__PURE__ */ Q({
2716
2723
  __name: "ConfigCardDisplay",
2717
2724
  props: {
2718
2725
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2778,15 +2785,15 @@ ${l.value}
2778
2785
  return delete s.created_at, delete s.updated_at, s;
2779
2786
  }), a = _(() => t.fetcherUrl.replace(/(\?|&)__ui_data=true/, ""));
2780
2787
  return (l, s) => (g(), S(pe, null, [
2781
- e.format === "structured" ? (g(), S("div", nl, [
2788
+ e.format === "structured" ? (g(), S("div", cl, [
2782
2789
  (g(!0), S(pe, null, de(e.propListTypes, (d) => (g(), S("div", {
2783
2790
  key: `config-card-details-${d}-props`,
2784
2791
  class: fe(`config-card-details-${d}-props`),
2785
2792
  "data-testid": `config-card-details-${d}-props`
2786
2793
  }, [
2787
- d !== "basic" ? (g(), S("div", rl, I(d === "advanced" ? C(i)("baseConfigCard.sections.advanced") : d === "plugin" ? C(i)("baseConfigCard.sections.plugin") : C(i)("baseConfigCard.sections.policy")), 1)) : D("", !0),
2794
+ d !== "basic" ? (g(), S("div", dl, I(d === "advanced" ? C(i)("baseConfigCard.sections.advanced") : d === "plugin" ? C(i)("baseConfigCard.sections.plugin") : C(i)("baseConfigCard.sections.policy")), 1)) : D("", !0),
2788
2795
  (g(!0), S(pe, null, de(e.propertyCollections[d], (c) => j(l.$slots, `config-card-item-${c.key}`, { row: c }, () => [
2789
- (g(), B(on, {
2796
+ (g(), L(ln, {
2790
2797
  key: c.key,
2791
2798
  item: c
2792
2799
  }, Ae({
@@ -2810,26 +2817,26 @@ ${l.value}
2810
2817
  } : void 0
2811
2818
  ]), 1032, ["item"]))
2812
2819
  ], !0)), 256))
2813
- ], 10, il))), 128))
2820
+ ], 10, ul))), 128))
2814
2821
  ])) : D("", !0),
2815
- e.format === "json" && o.value ? (g(), B(ln, {
2822
+ e.format === "json" && o.value ? (g(), L(sn, {
2816
2823
  key: 1,
2817
2824
  config: t.config,
2818
2825
  "entity-record": o.value,
2819
2826
  "fetcher-url": a.value,
2820
2827
  "request-method": "get"
2821
2828
  }, null, 8, ["config", "entity-record", "fetcher-url"])) : D("", !0),
2822
- e.format === "yaml" && o.value ? (g(), B(Qn, {
2829
+ e.format === "yaml" && o.value ? (g(), L(Zn, {
2823
2830
  key: 2,
2824
2831
  "entity-record": o.value
2825
2832
  }, null, 8, ["entity-record"])) : D("", !0),
2826
- e.format === "terraform" && o.value ? (g(), B(Zn, {
2833
+ e.format === "terraform" && o.value ? (g(), L(Xn, {
2827
2834
  key: 3,
2828
2835
  "entity-record": o.value,
2829
2836
  "entity-type": t.entityType,
2830
2837
  "sub-entity-type": t.subEntityType
2831
2838
  }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : D("", !0),
2832
- e.format === "deck" && o.value ? (g(), B(Xn, {
2839
+ e.format === "deck" && o.value ? (g(), L(ei, {
2833
2840
  key: 4,
2834
2841
  app: e.config.app,
2835
2842
  "control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
@@ -2841,13 +2848,13 @@ ${l.value}
2841
2848
  }, null, 8, ["app", "control-plane-name", "entity-record", "entity-type", "geo-api-server-url", "kong-admin-api-url", "workspace"])) : D("", !0)
2842
2849
  ], 64));
2843
2850
  }
2844
- }), ol = /* @__PURE__ */ ce(al, [["__scopeId", "data-v-50ba1af0"]]), ll = {
2851
+ }), pl = /* @__PURE__ */ ce(fl, [["__scopeId", "data-v-50ba1af0"]]), ml = {
2845
2852
  class: "config-card-title",
2846
2853
  "data-testid": "config-card-title"
2847
- }, sl = { class: "config-card-actions" }, cl = ["href"], ul = {
2854
+ }, gl = { class: "config-card-actions" }, hl = ["href"], yl = {
2848
2855
  key: 2,
2849
2856
  class: "config-card-details-section"
2850
- }, dl = /* @__PURE__ */ Q({
2857
+ }, vl = /* @__PURE__ */ Q({
2851
2858
  __name: "EntityBaseConfigCard",
2852
2859
  props: {
2853
2860
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2991,7 +2998,7 @@ ${l.value}
2991
2998
  label: r("baseForm.configuration.terraform"),
2992
2999
  value: "terraform"
2993
3000
  });
2994
- const d = Zt.includes(i.entityType);
3001
+ const d = Xt.includes(i.entityType);
2995
3002
  (i.config.app === "kongManager" || i.config.enableDeckConfig) && d && s.push({
2996
3003
  label: r("baseForm.configuration.deck"),
2997
3004
  value: "deck"
@@ -3003,7 +3010,7 @@ ${l.value}
3003
3010
  };
3004
3011
  xe(m, (p) => {
3005
3012
  i.config.formatPreferenceKey && h(i.config.formatPreferenceKey, p);
3006
- }), ot(() => {
3013
+ }), lt(() => {
3007
3014
  if (i.config.formatPreferenceKey) {
3008
3015
  const p = localStorage.getItem(i.config.formatPreferenceKey);
3009
3016
  p && s.some((K) => K.value === p) ? m.value = p : m.value = u, h(i.config.formatPreferenceKey, m.value);
@@ -3064,8 +3071,8 @@ ${l.value}
3064
3071
  return p.sort(function(P, O) {
3065
3072
  return P[1] - O[1];
3066
3073
  }), p.map((P) => {
3067
- var gt, ht;
3068
- const O = P[0], Z = (gt = w.value) == null ? void 0 : gt[O], W = ((ht = i.configSchema) == null ? void 0 : ht[O]) || {}, X = b[O];
3074
+ var ht, yt;
3075
+ const O = P[0], Z = (ht = w.value) == null ? void 0 : ht[O], W = ((yt = i.configSchema) == null ? void 0 : yt[O]) || {}, X = b[O];
3069
3076
  return {
3070
3077
  key: O,
3071
3078
  value: Z,
@@ -3144,7 +3151,7 @@ ${l.value}
3144
3151
  });
3145
3152
  return xe(y, (p) => {
3146
3153
  n("loading", p);
3147
- }, { immediate: !0 }), lt(async () => {
3154
+ }, { immediate: !0 }), st(async () => {
3148
3155
  $.value = !1, y.value = !0;
3149
3156
  try {
3150
3157
  const { data: p } = await l.get(v.value);
@@ -3165,12 +3172,12 @@ ${l.value}
3165
3172
  }
3166
3173
  }), (p, K) => {
3167
3174
  const H = U("KLabel"), V = U("KSelect"), ne = U("KButton"), P = U("KSkeleton"), O = U("KEmptyState"), Z = U("KCard");
3168
- return g(), B(Z, {
3175
+ return g(), L(Z, {
3169
3176
  class: "kong-ui-entity-base-config-card",
3170
3177
  "title-tag": e.titleTag
3171
3178
  }, Ae({
3172
3179
  actions: x(() => [
3173
- L("div", sl, [
3180
+ B("div", gl, [
3174
3181
  j(p.$slots, "actions", {}, void 0, !0),
3175
3182
  N(H, {
3176
3183
  class: "config-format-select-label",
@@ -3188,42 +3195,42 @@ ${l.value}
3188
3195
  items: s,
3189
3196
  onChange: f
3190
3197
  }, null, 8, ["modelValue"]),
3191
- e.configCardDoc ? (g(), B(ne, {
3198
+ e.configCardDoc ? (g(), L(ne, {
3192
3199
  key: 0,
3193
3200
  appearance: "tertiary",
3194
3201
  class: "book-icon",
3195
3202
  "data-testid": "book-icon"
3196
3203
  }, {
3197
3204
  default: x(() => [
3198
- L("a", {
3205
+ B("a", {
3199
3206
  href: e.configCardDoc,
3200
3207
  rel: "noopener",
3201
3208
  target: "_blank"
3202
3209
  }, [
3203
- N(C(zt), { size: C(gr) }, null, 8, ["size"])
3204
- ], 8, cl)
3210
+ N(C(Qt), { size: C(xr) }, null, 8, ["size"])
3211
+ ], 8, hl)
3205
3212
  ]),
3206
3213
  _: 1
3207
3214
  })) : D("", !0)
3208
3215
  ])
3209
3216
  ]),
3210
3217
  default: x(() => [
3211
- y.value ? (g(), B(P, {
3218
+ y.value ? (g(), L(P, {
3212
3219
  key: 0,
3213
3220
  "data-testid": "config-card-loader",
3214
3221
  "table-columns": 2,
3215
3222
  type: "table"
3216
- })) : $.value ? (g(), B(O, {
3223
+ })) : $.value ? (g(), L(O, {
3217
3224
  key: 1,
3218
3225
  "data-testid": "config-card-fetch-error",
3219
3226
  "icon-variant": "error"
3220
3227
  }, {
3221
3228
  default: x(() => [
3222
- L("h3", null, I(k.value), 1)
3229
+ B("h3", null, I(k.value), 1)
3223
3230
  ]),
3224
3231
  _: 1
3225
- })) : (g(), S("div", ul, [
3226
- N(ol, {
3232
+ })) : (g(), S("div", yl, [
3233
+ N(pl, {
3227
3234
  "code-block-record-formatter": e.codeBlockRecordFormatter,
3228
3235
  config: e.config,
3229
3236
  "entity-type": e.entityType,
@@ -3237,7 +3244,7 @@ ${l.value}
3237
3244
  de(Object.keys(p.$slots), (W) => ({
3238
3245
  name: W,
3239
3246
  fn: x((X) => [
3240
- j(p.$slots, W, Jt({ record: w.value }, X), void 0, !0)
3247
+ j(p.$slots, W, Gt({ record: w.value }, X), void 0, !0)
3241
3248
  ])
3242
3249
  }))
3243
3250
  ]), 1032, ["code-block-record-formatter", "config", "entity-type", "fetcher-url", "format", "prop-list-types", "property-collections", "record", "sub-entity-type"])
@@ -3248,7 +3255,7 @@ ${l.value}
3248
3255
  e.hideTitle ? void 0 : {
3249
3256
  name: "title",
3250
3257
  fn: x(() => [
3251
- L("span", ll, [
3258
+ B("span", ml, [
3252
3259
  j(p.$slots, "title", {}, () => [
3253
3260
  q(I(C(r)("baseConfigCard.title")), 1)
3254
3261
  ], !0)
@@ -3259,10 +3266,10 @@ ${l.value}
3259
3266
  ]), 1032, ["title-tag"]);
3260
3267
  };
3261
3268
  }
3262
- }), Bs = /* @__PURE__ */ ce(dl, [["__scopeId", "data-v-77c89593"]]), fl = {
3269
+ }), Ws = /* @__PURE__ */ ce(vl, [["__scopeId", "data-v-77c89593"]]), bl = {
3263
3270
  /** Enable the new plugin form layout */
3264
3271
  KM_1948_PLUGIN_FORM_LAYOUT: "KM_1948_PLUGIN_FORM_LAYOUT"
3265
- }, pl = ["novalidate"], ml = /* @__PURE__ */ Q({
3272
+ }, kl = ["novalidate"], Cl = /* @__PURE__ */ Q({
3266
3273
  __name: "EntityBaseForm",
3267
3274
  props: {
3268
3275
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3386,7 +3393,7 @@ ${l.value}
3386
3393
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel", "codeBlockTabChange"],
3387
3394
  setup(e, { expose: t, emit: n }) {
3388
3395
  var E;
3389
- const i = at(fl.KM_1948_PLUGIN_FORM_LAYOUT, _(() => !1)), r = n, o = e, a = bi(), { i18n: { t: l } } = z.useI18n(), { getMessageFromError: s } = z.useErrors(), { axiosInstance: d } = z.useAxios((E = o.config) == null ? void 0 : E.axiosRequestConfig), c = M(!1), u = _(() => !!o.editId), m = M(!1), f = M(""), h = _(() => o.canSubmit === !1 || o.isReadonly), b = M(!1), y = _(() => {
3396
+ const i = ot(bl.KM_1948_PLUGIN_FORM_LAYOUT, _(() => !1)), r = n, o = e, a = Si(), { i18n: { t: l } } = z.useI18n(), { getMessageFromError: s } = z.useErrors(), { axiosInstance: d } = z.useAxios((E = o.config) == null ? void 0 : E.axiosRequestConfig), c = M(!1), u = _(() => !!o.editId), m = M(!1), f = M(""), h = _(() => o.canSubmit === !1 || o.isReadonly), b = M(!1), y = _(() => {
3390
3397
  var A, p;
3391
3398
  let v = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3392
3399
  return o.config.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, ((A = o.config) == null ? void 0 : A.controlPlaneId) || "") : o.config.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, (p = o.config) != null && p.workspace ? `/${o.config.workspace}` : "")), o.editId ? (v = v.replace(/{id}/gi, o.editId), v) : (v = v.replace(/\/{id}/gi, ""), v);
@@ -3412,13 +3419,13 @@ ${l.value}
3412
3419
  title: l("baseForm.configuration.terraform"),
3413
3420
  hash: "#terraform"
3414
3421
  });
3415
- const R = Zt.includes(o.entityType);
3422
+ const R = Xt.includes(o.entityType);
3416
3423
  return (o.config.app === "kongManager" || o.config.enableDeckTab) && R && J.value.push({
3417
3424
  title: l("baseForm.configuration.deck"),
3418
3425
  hash: "#deck"
3419
3426
  }), xe(() => c.value, (v) => {
3420
3427
  r("loading", v);
3421
- }, { immediate: !0 }), lt(async () => {
3428
+ }, { immediate: !0 }), st(async () => {
3422
3429
  if (o.editId)
3423
3430
  try {
3424
3431
  m.value = !1, c.value = !0;
@@ -3436,16 +3443,16 @@ ${l.value}
3436
3443
  formSubmit: Y
3437
3444
  }), (v, A) => {
3438
3445
  const p = U("KSkeleton"), K = U("KEmptyState"), H = U("KAlert"), V = U("KButton"), ne = U("KTabs"), P = U("KSlideout");
3439
- return g(), B(qe(e.wrapperComponent), {
3446
+ return g(), L(qe(e.wrapperComponent), {
3440
3447
  class: fe(["kong-ui-entity-base-form", {
3441
3448
  "new-form-layout": C(i) && e.entityType === C(ke).Plugin
3442
3449
  }])
3443
3450
  }, {
3444
3451
  default: x(() => [
3445
- c.value ? (g(), B(p, {
3452
+ c.value ? (g(), L(p, {
3446
3453
  key: 0,
3447
3454
  type: "form"
3448
- })) : m.value ? (g(), B(K, {
3455
+ })) : m.value ? (g(), L(K, {
3449
3456
  key: 1,
3450
3457
  "action-button-text": C(l)("baseForm.actions.back"),
3451
3458
  "data-testid": "form-fetch-error",
@@ -3453,7 +3460,7 @@ ${l.value}
3453
3460
  onClickAction: k
3454
3461
  }, {
3455
3462
  default: x(() => [
3456
- L("h3", null, I(f.value), 1)
3463
+ B("h3", null, I(f.value), 1)
3457
3464
  ]),
3458
3465
  _: 1
3459
3466
  }, 8, ["action-button-text"])) : (g(), S("form", {
@@ -3464,19 +3471,19 @@ ${l.value}
3464
3471
  onSubmit: Ne(Y, ["prevent"])
3465
3472
  }, [
3466
3473
  j(v.$slots, "default", {}, void 0, !0),
3467
- e.errorMessage ? (g(), B(H, {
3474
+ e.errorMessage ? (g(), L(H, {
3468
3475
  key: 0,
3469
3476
  appearance: "danger",
3470
3477
  class: "form-error",
3471
3478
  "data-testid": "form-error",
3472
3479
  message: e.errorMessage
3473
3480
  }, null, 8, ["message"])) : D("", !0),
3474
- e.hideActions ? D("", !0) : (g(), B(Gt, {
3481
+ e.hideActions ? D("", !0) : (g(), L(zt, {
3475
3482
  key: 1,
3476
3483
  disabled: !e.actionTeleportTarget,
3477
3484
  to: e.actionTeleportTarget
3478
3485
  }, [
3479
- L("div", {
3486
+ B("div", {
3480
3487
  class: fe(["form-actions", { "form-actions-reverted": e.alignActionButtonToLeft }]),
3481
3488
  "data-testid": "form-actions"
3482
3489
  }, [
@@ -3518,7 +3525,7 @@ ${l.value}
3518
3525
  ], !0)
3519
3526
  ], 2)
3520
3527
  ], 8, ["disabled", "to"]))
3521
- ], 40, pl)),
3528
+ ], 40, kl)),
3522
3529
  N(P, {
3523
3530
  "close-on-blur": !1,
3524
3531
  "data-testid": "form-view-configuration-slideout",
@@ -3529,7 +3536,7 @@ ${l.value}
3529
3536
  onClose: A[4] || (A[4] = (O) => $())
3530
3537
  }, {
3531
3538
  default: x(() => [
3532
- L("div", null, [
3539
+ B("div", null, [
3533
3540
  j(v.$slots, "configuration-slideout-message", {}, () => [
3534
3541
  q(I(C(l)("baseForm.configuration.message")), 1)
3535
3542
  ], !0)
@@ -3540,7 +3547,7 @@ ${l.value}
3540
3547
  onChange: A[3] || (A[3] = (O) => r("codeBlockTabChange", O.replace("#", "")))
3541
3548
  }, {
3542
3549
  json: x(() => [
3543
- N(ln, {
3550
+ N(sn, {
3544
3551
  config: e.config,
3545
3552
  "entity-record": o.formFields,
3546
3553
  "fetcher-url": y.value,
@@ -3548,19 +3555,19 @@ ${l.value}
3548
3555
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3549
3556
  ]),
3550
3557
  yaml: x(() => [
3551
- N(Qn, {
3558
+ N(Zn, {
3552
3559
  "entity-record": o.formFields
3553
3560
  }, null, 8, ["entity-record"])
3554
3561
  ]),
3555
3562
  terraform: x(() => [
3556
- N(Zn, {
3563
+ N(Xn, {
3557
3564
  "entity-record": o.formFields,
3558
3565
  "entity-type": e.entityType,
3559
3566
  "sub-entity-type": e.subEntityType
3560
3567
  }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])
3561
3568
  ]),
3562
3569
  deck: x(() => [
3563
- N(Xn, {
3570
+ N(ei, {
3564
3571
  app: e.config.app,
3565
3572
  "control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
3566
3573
  "entity-record": o.formFields,
@@ -3580,7 +3587,7 @@ ${l.value}
3580
3587
  }, 8, ["class"]);
3581
3588
  };
3582
3589
  }
3583
- }), Ls = /* @__PURE__ */ ce(ml, [["__scopeId", "data-v-3cd5219b"]]), gl = ["data-truncate"], hl = /* @__PURE__ */ Q({
3590
+ }), Js = /* @__PURE__ */ ce(Cl, [["__scopeId", "data-v-3cd5219b"]]), xl = ["data-truncate"], Al = /* @__PURE__ */ Q({
3584
3591
  __name: "EntityBaseTableCell",
3585
3592
  props: {
3586
3593
  keyName: {
@@ -3634,9 +3641,9 @@ ${l.value}
3634
3641
  },
3635
3642
  { immediate: !0, flush: "post", deep: !0 }
3636
3643
  ), b = _(() => o.value ? c.value > u.value : !1);
3637
- return ot(() => {
3644
+ return lt(() => {
3638
3645
  s();
3639
- }), ri(() => {
3646
+ }), ai(() => {
3640
3647
  h();
3641
3648
  }), (y, $) => {
3642
3649
  const k = U("KTooltip");
@@ -3659,17 +3666,17 @@ ${l.value}
3659
3666
  ]),
3660
3667
  _: 3
3661
3668
  }, 8, ["text"])
3662
- ], 8, gl)) : j(y.$slots, "default", { key: 1 }, void 0, !0)
3669
+ ], 8, xl)) : j(y.$slots, "default", { key: 1 }, void 0, !0)
3663
3670
  ], 512);
3664
3671
  };
3665
3672
  }
3666
- }), yl = /* @__PURE__ */ ce(hl, [["__scopeId", "data-v-a3a65cac"]]), vl = { class: "toolbar-container" }, bl = {
3673
+ }), wl = /* @__PURE__ */ ce(Al, [["__scopeId", "data-v-a3a65cac"]]), _l = { class: "toolbar-container" }, Sl = {
3667
3674
  key: 0,
3668
3675
  class: "toolbar-button-container"
3669
- }, kl = {
3676
+ }, $l = {
3670
3677
  key: 0,
3671
3678
  class: "hidden"
3672
- }, Cl = /* @__PURE__ */ Q({
3679
+ }, Tl = /* @__PURE__ */ Q({
3673
3680
  __name: "EntityBaseTable",
3674
3681
  props: {
3675
3682
  // table header configuration
@@ -3866,7 +3873,7 @@ ${l.value}
3866
3873
  i("click:row", A);
3867
3874
  }), y = (v) => {
3868
3875
  i("sort", v);
3869
- }, { hideTableToolbar: $, handleStateChange: k } = z.useTableState(() => n.query), { setTablePreferences: w, getTablePreferences: Y } = $i(), J = M(Y(a.value, n.defaultTablePreferences)), R = _(() => {
3876
+ }, { hideTableToolbar: $, handleStateChange: k } = z.useTableState(() => n.query), { setTablePreferences: w, getTablePreferences: Y } = Bi(), J = M(Y(a.value, n.defaultTablePreferences)), R = _(() => {
3870
3877
  const v = Y(a.value);
3871
3878
  return {
3872
3879
  ...n.initialFetcherParams,
@@ -3883,7 +3890,7 @@ ${l.value}
3883
3890
  }));
3884
3891
  return (v, A) => {
3885
3892
  const p = U("KTableData"), K = U("KCard");
3886
- return g(), B(K, {
3893
+ return g(), L(K, {
3887
3894
  class: "kong-ui-entity-base-table",
3888
3895
  title: e.title,
3889
3896
  "title-tag": e.titleTag
@@ -3926,9 +3933,9 @@ ${l.value}
3926
3933
  "onUpdate:tablePreferences": F
3927
3934
  }, Ae({
3928
3935
  toolbar: x(() => [
3929
- L("div", vl, [
3936
+ B("div", _l, [
3930
3937
  j(v.$slots, "toolbar-filter", {}, void 0, !0),
3931
- v.$slots["toolbar-button"] ? (g(), S("div", bl, [
3938
+ v.$slots["toolbar-button"] ? (g(), S("div", Sl, [
3932
3939
  j(v.$slots, "toolbar-button", {}, void 0, !0)
3933
3940
  ])) : D("", !0)
3934
3941
  ])
@@ -3948,7 +3955,7 @@ ${l.value}
3948
3955
  de(e.tableHeaders, (H, V) => ({
3949
3956
  name: V,
3950
3957
  fn: x(({ row: ne, rowValue: P }) => [
3951
- N(yl, {
3958
+ N(wl, {
3952
3959
  "key-name": String(V),
3953
3960
  "row-el": c(ne),
3954
3961
  tooltip: H.tooltip
@@ -3969,12 +3976,12 @@ ${l.value}
3969
3976
  e.query ? void 0 : {
3970
3977
  name: "empty-state-action-icon",
3971
3978
  fn: x(() => [
3972
- N(C(Qt))
3979
+ N(C(Zt))
3973
3980
  ]),
3974
3981
  key: "1"
3975
3982
  }
3976
3983
  ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-pagination-when-optional", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"]),
3977
- v.$slots["outside-actions"] && C($) ? (g(), S("div", kl, [
3984
+ v.$slots["outside-actions"] && C($) ? (g(), S("div", $l, [
3978
3985
  j(v.$slots, "outside-actions", {}, void 0, !0)
3979
3986
  ])) : D("", !0)
3980
3987
  ]),
@@ -3982,13 +3989,13 @@ ${l.value}
3982
3989
  }, 8, ["title", "title-tag"]);
3983
3990
  };
3984
3991
  }
3985
- }), Rs = /* @__PURE__ */ ce(Cl, [["__scopeId", "data-v-09e101d4"]]), xl = {
3992
+ }), Gs = /* @__PURE__ */ ce(Tl, [["__scopeId", "data-v-09e101d4"]]), El = {
3986
3993
  key: 0,
3987
3994
  class: "kong-ui-entity-delete-error"
3988
- }, Al = {
3995
+ }, Il = {
3989
3996
  key: 1,
3990
3997
  class: "description"
3991
- }, wl = /* @__PURE__ */ Q({
3998
+ }, Fl = /* @__PURE__ */ Q({
3992
3999
  __name: "EntityDeleteModal",
3993
4000
  props: {
3994
4001
  visible: {
@@ -4034,7 +4041,7 @@ ${l.value}
4034
4041
  };
4035
4042
  return (s, d) => {
4036
4043
  const c = U("KAlert"), u = U("KPrompt");
4037
- return g(), B(u, {
4044
+ return g(), L(u, {
4038
4045
  "action-button-appearance": "danger",
4039
4046
  "action-button-disabled": e.actionPending,
4040
4047
  "action-button-text": "Yes, delete",
@@ -4046,7 +4053,7 @@ ${l.value}
4046
4053
  onProceed: l
4047
4054
  }, {
4048
4055
  default: x(() => [
4049
- e.error ? (g(), S("div", xl, [
4056
+ e.error ? (g(), S("div", El, [
4050
4057
  N(c, { appearance: "danger" }, {
4051
4058
  default: x(() => [
4052
4059
  q(I(e.error), 1)
@@ -4067,14 +4074,14 @@ ${l.value}
4067
4074
  i.entityName ? {
4068
4075
  name: "entityName",
4069
4076
  fn: x(() => [
4070
- L("strong", null, I(i.entityName), 1)
4077
+ B("strong", null, I(i.entityName), 1)
4071
4078
  ]),
4072
4079
  key: "0"
4073
4080
  } : void 0
4074
4081
  ]), 1032, ["keypath"]),
4075
- i.description || s.$slots.description ? (g(), S("div", Al, [
4082
+ i.description || s.$slots.description ? (g(), S("div", Il, [
4076
4083
  j(s.$slots, "description", {}, () => [
4077
- L("p", null, I(i.description), 1)
4084
+ B("p", null, I(i.description), 1)
4078
4085
  ], !0)
4079
4086
  ])) : D("", !0)
4080
4087
  ]),
@@ -4082,13 +4089,13 @@ ${l.value}
4082
4089
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4083
4090
  };
4084
4091
  }
4085
- }), Ks = /* @__PURE__ */ ce(wl, [["__scopeId", "data-v-4361d622"]]), _l = {
4092
+ }), zs = /* @__PURE__ */ ce(Fl, [["__scopeId", "data-v-4361d622"]]), Ol = {
4086
4093
  fill: "none",
4087
4094
  height: "20",
4088
4095
  viewBox: "0 0 20 20",
4089
4096
  width: "20",
4090
4097
  xmlns: "http://www.w3.org/2000/svg"
4091
- }, Sl = {
4098
+ }, Ll = {
4092
4099
  id: "mask0_180_20349",
4093
4100
  height: "20",
4094
4101
  maskUnits: "userSpaceOnUse",
@@ -4096,35 +4103,35 @@ ${l.value}
4096
4103
  width: "20",
4097
4104
  x: "0",
4098
4105
  y: "0"
4099
- }, $l = ["fill"], Tl = { mask: "url(#mask0_180_20349)" }, El = ["fill"], Ht = /* @__PURE__ */ Q({
4106
+ }, Bl = ["fill"], Rl = { mask: "url(#mask0_180_20349)" }, Kl = ["fill"], Yt = /* @__PURE__ */ Q({
4100
4107
  __name: "IconFilter",
4101
4108
  props: {
4102
4109
  color: {
4103
4110
  type: String,
4104
- default: `var(--kong-ui-entity-filter-color, ${cr})`
4111
+ default: `var(--kong-ui-entity-filter-color, ${hr})`
4105
4112
  }
4106
4113
  },
4107
4114
  setup(e) {
4108
- return (t, n) => (g(), S("svg", _l, [
4109
- L("mask", Sl, [
4110
- L("rect", {
4115
+ return (t, n) => (g(), S("svg", Ol, [
4116
+ B("mask", Ll, [
4117
+ B("rect", {
4111
4118
  fill: e.color,
4112
4119
  height: "20",
4113
4120
  width: "20"
4114
- }, null, 8, $l)
4121
+ }, null, 8, Bl)
4115
4122
  ]),
4116
- L("g", Tl, [
4117
- L("path", {
4123
+ B("g", Rl, [
4124
+ B("path", {
4118
4125
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
4119
4126
  fill: e.color
4120
- }, null, 8, El)
4127
+ }, null, 8, Kl)
4121
4128
  ])
4122
4129
  ]));
4123
4130
  }
4124
- }), Il = {
4131
+ }), Nl = {
4125
4132
  key: 1,
4126
4133
  class: "kong-ui-entity-filter"
4127
- }, Fl = { class: "kong-ui-entity-filter-menu" }, Ol = ["data-testid"], Bl = ["onClick", "onKeydown"], Ll = { class: "menu-item-indicator" }, Rl = { class: "menu-item-body" }, Kl = ["for"], Nl = { class: "menu-item-buttons" }, Ml = { class: "filter-clear-button-container" }, Pl = /* @__PURE__ */ Q({
4134
+ }, Ml = { class: "kong-ui-entity-filter-menu" }, Pl = ["data-testid"], Dl = ["onClick", "onKeydown"], jl = { class: "menu-item-indicator" }, Ul = { class: "menu-item-body" }, ql = ["for"], Hl = { class: "menu-item-buttons" }, Yl = { class: "filter-clear-button-container" }, Vl = /* @__PURE__ */ Q({
4128
4135
  __name: "EntityFilter",
4129
4136
  props: {
4130
4137
  // filter config, either exact match or fuzzy match
@@ -4199,7 +4206,7 @@ ${l.value}
4199
4206
  };
4200
4207
  return (R, F) => {
4201
4208
  const E = U("KInput"), v = U("KButton"), A = U("KSelect");
4202
- return e.config.isExactMatch ? (g(), B(E, {
4209
+ return e.config.isExactMatch ? (g(), L(E, {
4203
4210
  key: 0,
4204
4211
  autocomplete: "off",
4205
4212
  class: "kong-ui-entity-filter-input",
@@ -4209,10 +4216,10 @@ ${l.value}
4209
4216
  "onUpdate:modelValue": m
4210
4217
  }, {
4211
4218
  before: x(() => [
4212
- N(Ht)
4219
+ N(Yt)
4213
4220
  ]),
4214
4221
  after: x(() => [
4215
- we(N(C(hi), {
4222
+ we(N(C(Ai), {
4216
4223
  class: "kong-ui-entity-filter-clear",
4217
4224
  role: "button",
4218
4225
  tabindex: "0",
@@ -4222,25 +4229,25 @@ ${l.value}
4222
4229
  ])
4223
4230
  ]),
4224
4231
  _: 1
4225
- }, 8, ["model-value", "placeholder"])) : (g(), S("div", Il, [
4232
+ }, 8, ["model-value", "placeholder"])) : (g(), S("div", Nl, [
4226
4233
  N(v, {
4227
4234
  appearance: "tertiary",
4228
4235
  "data-testid": "filter-button",
4229
4236
  onClick: c
4230
4237
  }, {
4231
4238
  default: x(() => [
4232
- N(Ht),
4239
+ N(Yt),
4233
4240
  q(" " + I(C(n)("filter.filterButtonText")) + " " + I(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4234
4241
  ]),
4235
4242
  _: 1
4236
4243
  }),
4237
- we(L("div", {
4244
+ we(B("div", {
4238
4245
  class: "kong-ui-entity-filter-backdrop",
4239
4246
  onClick: c
4240
4247
  }, null, 512), [
4241
4248
  [_e, o.value]
4242
4249
  ]),
4243
- we(L("div", Fl, [
4250
+ we(B("div", Ml, [
4244
4251
  (g(!0), S(pe, null, de(d.value, (p) => {
4245
4252
  var K, H;
4246
4253
  return g(), S("div", {
@@ -4248,28 +4255,28 @@ ${l.value}
4248
4255
  class: "kong-ui-entity-filter-menu-item",
4249
4256
  "data-testid": p.value
4250
4257
  }, [
4251
- L("span", {
4258
+ B("span", {
4252
4259
  class: fe(["menu-item-title", { expanded: l.value.has(p.value) }]),
4253
4260
  role: "button",
4254
4261
  tabindex: "0",
4255
4262
  onClick: (V) => u(p.value),
4256
- onKeydown: ai((V) => u(p.value), ["enter"])
4263
+ onKeydown: oi((V) => u(p.value), ["enter"])
4257
4264
  }, [
4258
4265
  q(I(p.label) + " ", 1),
4259
- we(L("span", Ll, null, 512), [
4266
+ we(B("span", jl, null, 512), [
4260
4267
  [_e, s.value.includes(p.value)]
4261
4268
  ]),
4262
- N(C(yi), {
4269
+ N(C(wi), {
4263
4270
  class: fe(["menu-item-expand-icon", { expanded: l.value.has(p.value) }]),
4264
- color: C(dr)
4271
+ color: C(vr)
4265
4272
  }, null, 8, ["class", "color"])
4266
- ], 42, Bl),
4267
- we(L("div", Rl, [
4268
- L("label", {
4273
+ ], 42, Dl),
4274
+ we(B("div", Ul, [
4275
+ B("label", {
4269
4276
  class: "menu-item-label",
4270
4277
  for: h(p.value)
4271
- }, I(C(n)("filter.fieldLabel")), 9, Kl),
4272
- ((H = (K = e.config.schema) == null ? void 0 : K[p.value]) == null ? void 0 : H.type) === "select" ? (g(), B(A, {
4278
+ }, I(C(n)("filter.fieldLabel")), 9, ql),
4279
+ ((H = (K = e.config.schema) == null ? void 0 : K[p.value]) == null ? void 0 : H.type) === "select" ? (g(), L(A, {
4273
4280
  key: 0,
4274
4281
  id: h(p.value),
4275
4282
  modelValue: a.value[p.value],
@@ -4278,7 +4285,7 @@ ${l.value}
4278
4285
  "filter-function": (V) => J(p.value, V),
4279
4286
  items: b(p.value),
4280
4287
  placeholder: C(n)("filter.selectPlaceholder")
4281
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(), B(E, {
4288
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(), L(E, {
4282
4289
  key: 1,
4283
4290
  id: h(p.value),
4284
4291
  modelValue: a.value[p.value],
@@ -4290,7 +4297,7 @@ ${l.value}
4290
4297
  ], 512), [
4291
4298
  [_e, l.value.has(p.value)]
4292
4299
  ]),
4293
- we(L("div", Nl, [
4300
+ we(B("div", Hl, [
4294
4301
  N(v, {
4295
4302
  appearance: "tertiary",
4296
4303
  "data-testid": "apply-filter",
@@ -4316,9 +4323,9 @@ ${l.value}
4316
4323
  ], 512), [
4317
4324
  [_e, l.value.has(p.value)]
4318
4325
  ])
4319
- ], 8, Ol);
4326
+ ], 8, Pl);
4320
4327
  }), 128)),
4321
- L("div", Ml, [
4328
+ B("div", Yl, [
4322
4329
  N(v, {
4323
4330
  appearance: "tertiary",
4324
4331
  size: "small",
@@ -4336,7 +4343,7 @@ ${l.value}
4336
4343
  ]));
4337
4344
  };
4338
4345
  }
4339
- }), Ns = /* @__PURE__ */ ce(Pl, [["__scopeId", "data-v-084f7978"]]), Ms = /* @__PURE__ */ Q({
4346
+ }), Qs = /* @__PURE__ */ ce(Vl, [["__scopeId", "data-v-084f7978"]]), Zs = /* @__PURE__ */ Q({
4340
4347
  __name: "EntityToggleModal",
4341
4348
  props: {
4342
4349
  visible: {
@@ -4386,7 +4393,7 @@ ${l.value}
4386
4393
  };
4387
4394
  return (u, m) => {
4388
4395
  const f = U("KPrompt");
4389
- return g(), B(Gt, { to: "body" }, [
4396
+ return g(), L(zt, { to: "body" }, [
4390
4397
  N(f, {
4391
4398
  "action-button-disabled": a.value,
4392
4399
  "action-button-text": s.value,
@@ -4405,7 +4412,7 @@ ${l.value}
4405
4412
  q(I(e.entityType), 1)
4406
4413
  ]),
4407
4414
  entityName: x(() => [
4408
- L("strong", null, I(e.entityName), 1)
4415
+ B("strong", null, I(e.entityName), 1)
4409
4416
  ]),
4410
4417
  _: 1
4411
4418
  }, 8, ["keypath"])
@@ -4415,7 +4422,7 @@ ${l.value}
4415
4422
  ]);
4416
4423
  };
4417
4424
  }
4418
- }), Ps = /* @__PURE__ */ Q({
4425
+ }), Xs = /* @__PURE__ */ Q({
4419
4426
  __name: "PermissionsWrapper",
4420
4427
  props: {
4421
4428
  /**
@@ -4448,37 +4455,37 @@ ${l.value}
4448
4455
  }), re = [];
4449
4456
  for (let e = 0; e < 256; ++e)
4450
4457
  re.push((e + 256).toString(16).slice(1));
4451
- function Dl(e, t = 0) {
4458
+ function Wl(e, t = 0) {
4452
4459
  return (re[e[t + 0]] + re[e[t + 1]] + re[e[t + 2]] + re[e[t + 3]] + "-" + re[e[t + 4]] + re[e[t + 5]] + "-" + re[e[t + 6]] + re[e[t + 7]] + "-" + re[e[t + 8]] + re[e[t + 9]] + "-" + re[e[t + 10]] + re[e[t + 11]] + re[e[t + 12]] + re[e[t + 13]] + re[e[t + 14]] + re[e[t + 15]]).toLowerCase();
4453
4460
  }
4454
- let Ze;
4455
- const jl = new Uint8Array(16);
4456
- function Ul() {
4457
- if (!Ze) {
4461
+ let Xe;
4462
+ const Jl = new Uint8Array(16);
4463
+ function Gl() {
4464
+ if (!Xe) {
4458
4465
  if (typeof crypto > "u" || !crypto.getRandomValues)
4459
4466
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4460
- Ze = crypto.getRandomValues.bind(crypto);
4467
+ Xe = crypto.getRandomValues.bind(crypto);
4461
4468
  }
4462
- return Ze(jl);
4469
+ return Xe(Jl);
4463
4470
  }
4464
- const ql = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Yt = { randomUUID: ql };
4465
- function Hl(e, t, n) {
4471
+ const zl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Vt = { randomUUID: zl };
4472
+ function Ql(e, t, n) {
4466
4473
  var r;
4467
- if (Yt.randomUUID && !e)
4468
- return Yt.randomUUID();
4474
+ if (Vt.randomUUID && !e)
4475
+ return Vt.randomUUID();
4469
4476
  e = e || {};
4470
- const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Ul();
4477
+ const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Gl();
4471
4478
  if (i.length < 16)
4472
4479
  throw new Error("Random bytes length must be >= 16");
4473
- return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Dl(i);
4480
+ return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Wl(i);
4474
4481
  }
4475
- const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4482
+ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
4476
4483
  key: 1,
4477
4484
  class: "form-section-description"
4478
- }, Jl = {
4485
+ }, ts = {
4479
4486
  key: 2,
4480
4487
  class: "form-section-footer"
4481
- }, Gl = { class: "form-section-content" }, zl = /* @__PURE__ */ Q({
4488
+ }, ns = { class: "form-section-content" }, is = /* @__PURE__ */ Q({
4482
4489
  __name: "EntityFormSection",
4483
4490
  props: {
4484
4491
  title: {
@@ -4507,18 +4514,18 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4507
4514
  }
4508
4515
  },
4509
4516
  setup(e) {
4510
- const t = He(), n = Hl();
4517
+ const t = He(), n = Ql();
4511
4518
  return (i, r) => (g(), S("div", {
4512
4519
  "aria-labelledby": e.title ? C(n) : void 0,
4513
4520
  class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4514
4521
  role: "group"
4515
4522
  }, [
4516
- L("div", Vl, [
4523
+ B("div", Xl, [
4517
4524
  e.hideInfoHeader ? D("", !0) : (g(), S("div", {
4518
4525
  key: 0,
4519
4526
  class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4520
4527
  }, [
4521
- e.title ? (g(), B(qe(e.titleTag), {
4528
+ e.title ? (g(), L(qe(e.titleTag), {
4522
4529
  key: 0,
4523
4530
  id: C(n),
4524
4531
  class: "form-section-title"
@@ -4528,40 +4535,40 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4528
4535
  ]),
4529
4536
  _: 1
4530
4537
  }, 8, ["id"])) : D("", !0),
4531
- e.description || C(t).description ? (g(), S("div", Wl, [
4538
+ e.description || C(t).description ? (g(), S("div", es, [
4532
4539
  j(i.$slots, "description", {}, () => [
4533
- L("p", null, I(e.description), 1)
4540
+ B("p", null, I(e.description), 1)
4534
4541
  ], !0)
4535
4542
  ])) : D("", !0),
4536
- C(t).footer ? (g(), S("div", Jl, [
4543
+ C(t).footer ? (g(), S("div", ts, [
4537
4544
  j(i.$slots, "footer", {}, void 0, !0)
4538
4545
  ])) : D("", !0)
4539
4546
  ], 2)),
4540
- L("div", Gl, [
4547
+ B("div", ns, [
4541
4548
  j(i.$slots, "default", {}, void 0, !0)
4542
4549
  ])
4543
4550
  ])
4544
- ], 10, Yl));
4551
+ ], 10, Zl));
4545
4552
  }
4546
- }), Ds = /* @__PURE__ */ ce(zl, [["__scopeId", "data-v-b1f74200"]]), Ql = { class: "header" }, Zl = {
4553
+ }), ec = /* @__PURE__ */ ce(is, [["__scopeId", "data-v-b1f74200"]]), rs = { class: "header" }, as = {
4547
4554
  key: 0,
4548
4555
  class: "step",
4549
4556
  "data-testid": "form-block-step"
4550
- }, Xl = { class: "header-content" }, es = {
4557
+ }, os = { class: "header-content" }, ls = {
4551
4558
  class: "header-title",
4552
4559
  "data-testid": "header-title"
4553
- }, ts = {
4560
+ }, ss = {
4554
4561
  key: 0,
4555
4562
  class: "header-description",
4556
4563
  "data-testid": "header-description"
4557
- }, ns = {
4564
+ }, cs = {
4558
4565
  key: 1,
4559
4566
  class: "header-extra",
4560
4567
  "data-testid": "header-extra"
4561
- }, is = {
4568
+ }, us = {
4562
4569
  class: "content",
4563
4570
  "data-testid": "form-block-content"
4564
- }, rs = /* @__PURE__ */ Q({
4571
+ }, ds = /* @__PURE__ */ Q({
4565
4572
  __name: "EntityFormBlock",
4566
4573
  props: {
4567
4574
  step: { default: () => {
@@ -4576,40 +4583,40 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4576
4583
  stepped: e.step !== void 0 || t.step
4577
4584
  }])
4578
4585
  }, [
4579
- L("header", Ql, [
4580
- e.step !== void 0 || t.step ? (g(), S("div", Zl, [
4586
+ B("header", rs, [
4587
+ e.step !== void 0 || t.step ? (g(), S("div", as, [
4581
4588
  j(n.$slots, "step", {}, () => [
4582
4589
  q(I(e.step), 1)
4583
4590
  ], !0)
4584
4591
  ])) : D("", !0),
4585
- L("div", Xl, [
4586
- L("h2", es, [
4592
+ B("div", os, [
4593
+ B("h2", ls, [
4587
4594
  j(n.$slots, "title", {}, () => [
4588
4595
  q(I(e.title), 1)
4589
4596
  ], !0)
4590
4597
  ]),
4591
- e.description || t.description ? (g(), S("div", ts, [
4598
+ e.description || t.description ? (g(), S("div", ss, [
4592
4599
  j(n.$slots, "description", {}, () => [
4593
4600
  q(I(e.description), 1)
4594
4601
  ], !0)
4595
4602
  ])) : D("", !0)
4596
4603
  ]),
4597
- t.extra ? (g(), S("div", ns, [
4604
+ t.extra ? (g(), S("div", cs, [
4598
4605
  j(n.$slots, "extra", {}, void 0, !0)
4599
4606
  ])) : D("", !0)
4600
4607
  ]),
4601
- L("div", is, [
4608
+ B("div", us, [
4602
4609
  j(n.$slots, "default", {}, void 0, !0)
4603
4610
  ])
4604
4611
  ], 2));
4605
4612
  }
4606
- }), js = /* @__PURE__ */ ce(rs, [["__scopeId", "data-v-28bd16b2"]]), as = {
4613
+ }), tc = /* @__PURE__ */ ce(ds, [["__scopeId", "data-v-28bd16b2"]]), fs = {
4607
4614
  class: "kong-ui-public-entity-link",
4608
4615
  "data-testid": "entity-link-parent"
4609
- }, os = {
4616
+ }, ps = {
4610
4617
  key: 0,
4611
4618
  class: "deleted-entity"
4612
- }, ls = { key: 1 }, ss = ["onClick"], cs = /* @__PURE__ */ Q({
4619
+ }, ms = { key: 1 }, gs = ["onClick"], hs = /* @__PURE__ */ Q({
4613
4620
  __name: "EntityLink",
4614
4621
  props: {
4615
4622
  entityLinkData: {
@@ -4646,8 +4653,8 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4646
4653
  };
4647
4654
  return (u, m) => {
4648
4655
  const f = U("KTooltip"), h = U("KExternalLink"), b = U("KClipboardProvider");
4649
- return g(), S("div", as, [
4650
- l.value ? (g(), S("div", os, I(d.value), 1)) : s.value ? s.value ? (g(), B(h, {
4656
+ return g(), S("div", fs, [
4657
+ l.value ? (g(), S("div", ps, I(d.value), 1)) : s.value ? s.value ? (g(), L(h, {
4651
4658
  key: 2,
4652
4659
  class: "entity-link",
4653
4660
  "hide-icon": !e.newWindow,
@@ -4659,7 +4666,7 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4659
4666
  text: C(i) && e.entityLinkData.label || ""
4660
4667
  }, {
4661
4668
  default: x(() => [
4662
- L("span", {
4669
+ B("span", {
4663
4670
  ref_key: "textContent",
4664
4671
  ref: n,
4665
4672
  class: "entity-link-label"
@@ -4669,8 +4676,8 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4669
4676
  }, 8, ["text"])
4670
4677
  ]),
4671
4678
  _: 1
4672
- }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (g(), S("div", ls, I(" – "))),
4673
- s.value && e.allowCopy ? (g(), B(f, {
4679
+ }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (g(), S("div", ms, I(" – "))),
4680
+ s.value && e.allowCopy ? (g(), L(f, {
4674
4681
  key: a.value,
4675
4682
  class: "copy-uuid-tooltip",
4676
4683
  "max-width": "160",
@@ -4680,17 +4687,17 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4680
4687
  default: x(() => [
4681
4688
  N(b, null, {
4682
4689
  default: x(({ copyToClipboard: y }) => [
4683
- L("span", {
4690
+ B("span", {
4684
4691
  class: "entity-link-copy-id",
4685
4692
  onClick: Ne(($) => c(y), ["stop"])
4686
4693
  }, [
4687
- N(C(vi), {
4694
+ N(C(_i), {
4688
4695
  class: "copy-icon",
4689
- color: C(fr),
4696
+ color: C(br),
4690
4697
  "data-testid": "copy-id",
4691
- size: C(mr)
4698
+ size: C(Cr)
4692
4699
  }, null, 8, ["color", "size"])
4693
- ], 8, ss)
4700
+ ], 8, gs)
4694
4701
  ]),
4695
4702
  _: 1
4696
4703
  })
@@ -4700,40 +4707,40 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4700
4707
  ]);
4701
4708
  };
4702
4709
  }
4703
- }), Us = /* @__PURE__ */ ce(cs, [["__scopeId", "data-v-96efdfa5"]]), us = { class: "kong-ui-public-entity-empty-state" }, ds = { class: "entity-empty-state-content" }, fs = {
4710
+ }), nc = /* @__PURE__ */ ce(hs, [["__scopeId", "data-v-96efdfa5"]]), ys = { class: "kong-ui-public-entity-empty-state" }, vs = { class: "entity-empty-state-content" }, bs = {
4704
4711
  key: 0,
4705
4712
  class: "empty-state-image"
4706
- }, ps = {
4713
+ }, ks = {
4707
4714
  key: 1,
4708
4715
  class: "entity-empty-state-title"
4709
- }, ms = {
4716
+ }, Cs = {
4710
4717
  key: 2,
4711
4718
  class: "entity-empty-state-description"
4712
- }, gs = {
4719
+ }, xs = {
4713
4720
  key: 3,
4714
4721
  class: "entity-empty-state-pricing"
4715
- }, hs = {
4722
+ }, As = {
4716
4723
  key: 0,
4717
4724
  class: "entity-empty-state-message"
4718
- }, ys = {
4725
+ }, ws = {
4719
4726
  key: 1,
4720
4727
  class: "entity-empty-state-action"
4721
- }, vs = {
4728
+ }, _s = {
4722
4729
  key: 2,
4723
4730
  class: "entity-empty-state-card-container"
4724
- }, bs = {
4731
+ }, Ss = {
4725
4732
  key: 0,
4726
4733
  class: "feature-icon"
4727
- }, ks = { class: "card-header" }, Cs = ["title"], xs = {
4734
+ }, $s = { class: "card-header" }, Ts = ["title"], Es = {
4728
4735
  key: 3,
4729
4736
  class: "entity-empty-state-bottom-container"
4730
- }, As = /* @__PURE__ */ Q({
4737
+ }, Is = /* @__PURE__ */ Q({
4731
4738
  __name: "EntityEmptyState",
4732
4739
  props: {
4733
4740
  appearance: {
4734
4741
  type: String,
4735
4742
  default: () => "primary",
4736
- validator: (e) => Ct.includes(e)
4743
+ validator: (e) => xt.includes(e)
4737
4744
  },
4738
4745
  title: {
4739
4746
  type: String,
@@ -4768,19 +4775,19 @@ const Yl = ["aria-labelledby"], Vl = { class: "form-section-wrapper" }, Wl = {
4768
4775
  },
4769
4776
  emits: ["click:create", "click:learn-more"],
4770
4777
  setup(e) {
4771
- const t = e, { i18n: { t: n } } = z.useI18n(), i = M(!1), r = _(() => i.value && !!t.actionButtonText), o = _(() => Ct.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4772
- return lt(async () => {
4778
+ const t = e, { i18n: { t: n } } = z.useI18n(), i = M(!1), r = _(() => i.value && !!t.actionButtonText), o = _(() => xt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4779
+ return st(async () => {
4773
4780
  i.value = await t.canCreate();
4774
- }), ot(() => oi(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4781
+ }), lt(() => li(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4775
4782
  Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) => {
4776
4783
  const s = U("KCard");
4777
- return g(), S("div", us, [
4778
- L("div", ds, [
4779
- a.$slots.image ? (g(), S("div", fs, [
4784
+ return g(), S("div", ys, [
4785
+ B("div", vs, [
4786
+ a.$slots.image ? (g(), S("div", bs, [
4780
4787
  j(a.$slots, "image", {}, void 0, !0)
4781
4788
  ])) : D("", !0),
4782
- e.title || a.$slots.title ? (g(), S("div", ps, [
4783
- L("h1", {
4789
+ e.title || a.$slots.title ? (g(), S("div", ks, [
4790
+ B("h1", {
4784
4791
  class: fe(o.value)
4785
4792
  }, [
4786
4793
  j(a.$slots, "title", {}, () => [
@@ -4788,14 +4795,14 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4788
4795
  ], !0)
4789
4796
  ], 2)
4790
4797
  ])) : D("", !0),
4791
- e.description || a.$slots.default ? (g(), S("div", ms, [
4798
+ e.description || a.$slots.default ? (g(), S("div", Cs, [
4792
4799
  j(a.$slots, "default", {}, () => [
4793
- L("p", null, I(e.description), 1)
4800
+ B("p", null, I(e.description), 1)
4794
4801
  ], !0)
4795
4802
  ])) : D("", !0),
4796
- e.pricing || a.$slots.pricing ? (g(), S("div", gs, [
4797
- L("p", null, [
4798
- L("b", null, I(C(n)("emptyState.pricingTitle")), 1),
4803
+ e.pricing || a.$slots.pricing ? (g(), S("div", xs, [
4804
+ B("p", null, [
4805
+ B("b", null, I(C(n)("emptyState.pricingTitle")), 1),
4799
4806
  l[2] || (l[2] = q()),
4800
4807
  j(a.$slots, "pricing", {}, () => [
4801
4808
  q(I(e.pricing), 1)
@@ -4803,12 +4810,12 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4803
4810
  ])
4804
4811
  ])) : D("", !0)
4805
4812
  ]),
4806
- a.$slots.message ? (g(), S("div", hs, [
4813
+ a.$slots.message ? (g(), S("div", As, [
4807
4814
  j(a.$slots, "message", {}, void 0, !0)
4808
4815
  ])) : D("", !0),
4809
- r.value || e.learnMore || a.$slots.actions ? (g(), S("div", ys, [
4816
+ r.value || e.learnMore || a.$slots.actions ? (g(), S("div", ws, [
4810
4817
  j(a.$slots, "actions", {}, () => [
4811
- r.value ? (g(), B(C(vt), {
4818
+ r.value ? (g(), L(C(bt), {
4812
4819
  key: 0,
4813
4820
  appearance: "primary",
4814
4821
  "data-testid": "entity-create-button",
@@ -4816,12 +4823,12 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4816
4823
  onClick: l[0] || (l[0] = (d) => a.$emit("click:create"))
4817
4824
  }, {
4818
4825
  default: x(() => [
4819
- N(C(Qt)),
4826
+ N(C(Zt)),
4820
4827
  q(" " + I(e.actionButtonText), 1)
4821
4828
  ]),
4822
4829
  _: 1
4823
4830
  }, 8, ["size"])) : D("", !0),
4824
- e.learnMore ? (g(), B(C(vt), {
4831
+ e.learnMore ? (g(), L(C(bt), {
4825
4832
  key: 1,
4826
4833
  appearance: "secondary",
4827
4834
  "data-testid": "entity-learn-more-button",
@@ -4829,39 +4836,39 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4829
4836
  onClick: l[1] || (l[1] = (d) => a.$emit("click:learn-more"))
4830
4837
  }, {
4831
4838
  default: x(() => [
4832
- N(C(zt), { decorative: "" }),
4839
+ N(C(Qt), { decorative: "" }),
4833
4840
  q(" " + I(C(n)("emptyState.learnMore")), 1)
4834
4841
  ]),
4835
4842
  _: 1
4836
4843
  }, 8, ["size"])) : D("", !0)
4837
4844
  ], !0)
4838
4845
  ])) : D("", !0),
4839
- e.features.length ? (g(), S("div", vs, [
4840
- (g(!0), S(pe, null, de(e.features, (d, c) => (g(), B(s, {
4846
+ e.features.length ? (g(), S("div", _s, [
4847
+ (g(!0), S(pe, null, de(e.features, (d, c) => (g(), L(s, {
4841
4848
  key: `feature-${c}-card`,
4842
4849
  class: "entity-empty-state-card"
4843
4850
  }, {
4844
4851
  title: x(() => [
4845
- a.$slots[`feature-${c}-icon`] ? (g(), S("div", bs, [
4852
+ a.$slots[`feature-${c}-icon`] ? (g(), S("div", Ss, [
4846
4853
  j(a.$slots, `feature-${c}-icon`, {}, void 0, !0)
4847
4854
  ])) : D("", !0),
4848
- L("div", ks, I(d.title), 1)
4855
+ B("div", $s, I(d.title), 1)
4849
4856
  ]),
4850
4857
  default: x(() => [
4851
- L("div", {
4858
+ B("div", {
4852
4859
  title: d.description
4853
- }, I(d.description), 9, Cs)
4860
+ }, I(d.description), 9, Ts)
4854
4861
  ]),
4855
4862
  _: 2
4856
4863
  }, 1024))), 128))
4857
4864
  ])) : D("", !0),
4858
- a.$slots.bottom ? (g(), S("div", xs, [
4865
+ a.$slots.bottom ? (g(), S("div", Es, [
4859
4866
  j(a.$slots, "bottom", {}, void 0, !0)
4860
4867
  ])) : D("", !0)
4861
4868
  ]);
4862
4869
  };
4863
4870
  }
4864
- }), qs = /* @__PURE__ */ ce(As, [["__scopeId", "data-v-6d4a0f89"]]), ws = { key: 1 }, Hs = /* @__PURE__ */ Q({
4871
+ }), ic = /* @__PURE__ */ ce(Is, [["__scopeId", "data-v-6d4a0f89"]]), Fs = { key: 1 }, rc = /* @__PURE__ */ Q({
4865
4872
  __name: "TableTags",
4866
4873
  props: {
4867
4874
  /** The tags to display in the table */
@@ -4889,9 +4896,9 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4889
4896
  });
4890
4897
  return (i, r) => {
4891
4898
  var o;
4892
- return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(), B(C(di), { key: 0 }, {
4899
+ return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(), L(C(fi), { key: 0 }, {
4893
4900
  default: x(() => [
4894
- (g(!0), S(pe, null, de(n.value, (a) => (g(), B(C(fi), {
4901
+ (g(!0), S(pe, null, de(n.value, (a) => (g(), L(C(pi), {
4895
4902
  key: a,
4896
4903
  "max-width": e.tagMaxWidth,
4897
4904
  onClick: r[0] || (r[0] = Ne(() => {
@@ -4904,55 +4911,55 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4904
4911
  }, 1032, ["max-width"]))), 128))
4905
4912
  ]),
4906
4913
  _: 1
4907
- })) : (g(), S("span", ws, "-"));
4914
+ })) : (g(), S("span", Fs, "-"));
4908
4915
  };
4909
4916
  }
4910
- }), { useAxios: Ys, useDeleteUrlBuilder: Vs, useErrors: Ws, useExternalLinkCreator: Js, useFetchUrlBuilder: Gs, useFetcher: zs, useFetcherCacheKey: Qs, useDebouncedFilter: Zs, useStringHelpers: Xs, useHelpers: ec, useGatewayFeatureSupported: tc, useTruncationDetector: nc, useValidators: ic, useSchemaProvider: rc, useTableState: ac } = z;
4917
+ }), { useAxios: ac, useDeleteUrlBuilder: oc, useErrors: lc, useExternalLinkCreator: sc, useFetchUrlBuilder: cc, useFetcher: uc, useFetcherCacheKey: dc, useDebouncedFilter: fc, useStringHelpers: pc, useHelpers: mc, useGatewayFeatureSupported: gc, useTruncationDetector: hc, useValidators: yc, useSchemaProvider: vc, useTableState: bc } = z;
4911
4918
  export {
4912
- Ct as Appearances,
4913
- ol as ConfigCardDisplay,
4914
- on as ConfigCardItem,
4919
+ xt as Appearances,
4920
+ pl as ConfigCardDisplay,
4921
+ ln as ConfigCardItem,
4915
4922
  le as ConfigurationSchemaSection,
4916
4923
  G as ConfigurationSchemaType,
4917
- Xn as DeckCodeBlock,
4918
- Bs as EntityBaseConfigCard,
4919
- Ls as EntityBaseForm,
4920
- Ci as EntityBaseFormType,
4921
- Rs as EntityBaseTable,
4922
- Ks as EntityDeleteModal,
4923
- qs as EntityEmptyState,
4924
- Ns as EntityFilter,
4925
- js as EntityFormBlock,
4926
- Ds as EntityFormSection,
4927
- Us as EntityLink,
4928
- Ms as EntityToggleModal,
4929
- ki as EntityTypes,
4930
- xi as EventGatewayTypesArray,
4931
- fl as FEATURE_FLAGS,
4924
+ ei as DeckCodeBlock,
4925
+ Ws as EntityBaseConfigCard,
4926
+ Js as EntityBaseForm,
4927
+ Ti as EntityBaseFormType,
4928
+ Gs as EntityBaseTable,
4929
+ zs as EntityDeleteModal,
4930
+ ic as EntityEmptyState,
4931
+ Qs as EntityFilter,
4932
+ tc as EntityFormBlock,
4933
+ ec as EntityFormSection,
4934
+ nc as EntityLink,
4935
+ Zs as EntityToggleModal,
4936
+ $i as EntityTypes,
4937
+ Ei as EventGatewayTypesArray,
4938
+ bl as FEATURE_FLAGS,
4932
4939
  he as FetcherStatus,
4933
- Ai as IdentityTypesArray,
4934
- lr as InternalLinkItem,
4935
- ln as JsonCodeBlock,
4936
- Ps as PermissionsWrapper,
4937
- Zt as SupportedEntityDeckArray,
4940
+ Ii as IdentityTypesArray,
4941
+ mr as InternalLinkItem,
4942
+ sn as JsonCodeBlock,
4943
+ Xs as PermissionsWrapper,
4944
+ Xt as SupportedEntityDeckArray,
4938
4945
  ke as SupportedEntityType,
4939
4946
  Ye as SupportedEntityTypesArray,
4940
- Hs as TableTags,
4941
- Zn as TerraformCodeBlock,
4942
- Qn as YamlCodeBlock,
4943
- Ys as useAxios,
4944
- Zs as useDebouncedFilter,
4945
- Vs as useDeleteUrlBuilder,
4946
- Ws as useErrors,
4947
- Js as useExternalLinkCreator,
4948
- Gs as useFetchUrlBuilder,
4949
- zs as useFetcher,
4950
- Qs as useFetcherCacheKey,
4951
- tc as useGatewayFeatureSupported,
4952
- ec as useHelpers,
4953
- rc as useSchemaProvider,
4954
- Xs as useStringHelpers,
4955
- ac as useTableState,
4956
- nc as useTruncationDetector,
4957
- ic as useValidators
4947
+ rc as TableTags,
4948
+ Xn as TerraformCodeBlock,
4949
+ Zn as YamlCodeBlock,
4950
+ ac as useAxios,
4951
+ fc as useDebouncedFilter,
4952
+ oc as useDeleteUrlBuilder,
4953
+ lc as useErrors,
4954
+ sc as useExternalLinkCreator,
4955
+ cc as useFetchUrlBuilder,
4956
+ uc as useFetcher,
4957
+ dc as useFetcherCacheKey,
4958
+ gc as useGatewayFeatureSupported,
4959
+ mc as useHelpers,
4960
+ vc as useSchemaProvider,
4961
+ pc as useStringHelpers,
4962
+ bc as useTableState,
4963
+ hc as useTruncationDetector,
4964
+ yc as useValidators
4958
4965
  };