@syncshio/kano-plugin-dsh 1.0.4 → 1.0.5

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.
package/dist/entry.js CHANGED
@@ -1,54 +1,186 @@
1
1
  import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, openBlock as c, ref as l, renderList as u, shallowRef as d, toDisplayString as f, unref as p, watch as m, withCtx as h } from "vue";
2
2
  import { Button as g, DataList as _, DataRow as v, EmptyState as y, PageShell as b, Select as x, buildLocalWebviewUrl as S, resolvePath as C } from "@syncshio/kano-plugin-sdk/host";
3
+ //#region ../kano-plugin-sdk/src/api/contributions.ts
4
+ function ee(e) {
5
+ return Object.freeze({ id: e });
6
+ }
7
+ var te = ee("kano:llm-endpoints");
8
+ ee("kano:shared-model-directories");
9
+ //#endregion
10
+ //#region ../kano-plugin-sdk/src/contracts/launch.ts
11
+ var w = {
12
+ RefreshHostCapabilities: "refresh-host-capabilities",
13
+ OpenPythonSettings: "open-python-settings",
14
+ OpenLaunchSettings: "open-launch-settings",
15
+ OpenVersionManagement: "open-version-management",
16
+ OpenExtensionManagement: "open-extension-management",
17
+ ApplyLaunchParam: "apply-launch-param",
18
+ ApplyBackendSelection: "apply-backend-selection",
19
+ OpenUrl: "open-url"
20
+ };
21
+ ee("kano:output-gallery");
22
+ //#endregion
23
+ //#region ../kano-plugin-sdk/src/helpers/define-plugin.ts
24
+ function ne(e) {
25
+ return e;
26
+ }
27
+ //#endregion
28
+ //#region ../kano-plugin-sdk/src/versions.ts
29
+ var re = /* @__PURE__ */ new Set([
30
+ "",
31
+ "*",
32
+ "x",
33
+ "X"
34
+ ]);
35
+ function ie(e) {
36
+ let t = e.trim().replace(/^v/i, "").split("+")[0], [n, r = ""] = t.split("-", 2), i = n.split(".");
37
+ return !/^\d+(?:\.\d+){0,2}(?:-[0-9A-Za-z.-]+)?$/.test(t) || i.length > 3 || i.some((e) => e !== "" && !/^\d+$/.test(e)) ? null : {
38
+ major: Number(i[0] ?? 0),
39
+ minor: Number(i[1] ?? 0),
40
+ patch: Number(i[2] ?? 0),
41
+ prerelease: r
42
+ };
43
+ }
44
+ function T(e, t) {
45
+ for (let n of [
46
+ "major",
47
+ "minor",
48
+ "patch"
49
+ ]) {
50
+ if (e[n] > t[n]) return 1;
51
+ if (e[n] < t[n]) return -1;
52
+ }
53
+ if (e.prerelease === t.prerelease) return 0;
54
+ if (!e.prerelease) return 1;
55
+ if (!t.prerelease) return -1;
56
+ let n = e.prerelease.split("."), r = t.prerelease.split(".");
57
+ for (let e = 0; e < Math.max(n.length, r.length); e++) {
58
+ if (n[e] === r[e]) continue;
59
+ if (n[e] === void 0) return -1;
60
+ if (r[e] === void 0) return 1;
61
+ let t = /^\d+$/.test(n[e]), i = /^\d+$/.test(r[e]);
62
+ return t && i ? Number(n[e]) - Number(r[e]) : t === i ? n[e] < r[e] ? -1 : 1 : t ? -1 : 1;
63
+ }
64
+ return 0;
65
+ }
66
+ function E(e) {
67
+ return {
68
+ major: e.major + 1,
69
+ minor: 0,
70
+ patch: 0,
71
+ prerelease: ""
72
+ };
73
+ }
74
+ function ae(e) {
75
+ return {
76
+ major: e.major,
77
+ minor: e.minor + 1,
78
+ patch: 0,
79
+ prerelease: ""
80
+ };
81
+ }
82
+ function oe(e) {
83
+ return {
84
+ major: e.major,
85
+ minor: e.minor,
86
+ patch: e.patch + 1,
87
+ prerelease: ""
88
+ };
89
+ }
90
+ function se(e, t, n) {
91
+ let r = T(e, n);
92
+ switch (t) {
93
+ case ">": return r > 0;
94
+ case ">=": return r >= 0;
95
+ case "<": return r < 0;
96
+ case "<=": return r <= 0;
97
+ default: return r === 0;
98
+ }
99
+ }
100
+ function ce(e, t) {
101
+ let n = t.major > 0 ? E(t) : t.minor > 0 ? ae(t) : oe(t);
102
+ return T(e, t) >= 0 && T(e, n) < 0;
103
+ }
104
+ function le(e, t) {
105
+ let n = ae(t);
106
+ return T(e, t) >= 0 && T(e, n) < 0;
107
+ }
108
+ function ue(e, t) {
109
+ let n = t.trim().replace(/^v/i, "").split("."), r = n.findIndex((e) => e === "*" || /^x$/i.test(e));
110
+ if (r === -1) return !1;
111
+ let i = ie(n.map((e) => e === "*" || /^x$/i.test(e) ? "0" : e).join("."));
112
+ if (!i) return !1;
113
+ let a = r === 0 ? null : r === 1 ? E(i) : ae(i);
114
+ return T(e, i) >= 0 && (!a || T(e, a) < 0);
115
+ }
116
+ function de(e, t) {
117
+ let n = t.trim();
118
+ if (re.has(n)) return !0;
119
+ if (n.includes("*") || /(^|\.)x(\.|$)/i.test(n)) return ue(e, n);
120
+ let r = n.match(/^(\^|~)(.+)$/);
121
+ if (r) {
122
+ let t = ie(r[2]);
123
+ return t ? r[1] === "^" ? ce(e, t) : le(e, t) : !1;
124
+ }
125
+ let i = n.match(/^(>=|<=|>|<|=)?\s*(.+)$/);
126
+ if (!i) return !1;
127
+ let a = ie(i[2]);
128
+ return a ? se(e, i[1] ?? "=", a) : !1;
129
+ }
130
+ function fe(e, t) {
131
+ let n = ie(e);
132
+ return n ? t.split("||").map((e) => e.trim()).some((e) => e.split(/\s+/).every((e) => de(n, e))) : !1;
133
+ }
134
+ //#endregion
3
135
  //#region node_modules/yaml/browser/dist/nodes/identity.js
4
- var ee = Symbol.for("yaml.alias"), w = Symbol.for("yaml.document"), T = Symbol.for("yaml.map"), E = Symbol.for("yaml.pair"), D = Symbol.for("yaml.scalar"), O = Symbol.for("yaml.seq"), k = Symbol.for("yaml.node.type"), A = (e) => !!e && typeof e == "object" && e[k] === ee, te = (e) => !!e && typeof e == "object" && e[k] === w, j = (e) => !!e && typeof e == "object" && e[k] === T, M = (e) => !!e && typeof e == "object" && e[k] === E, N = (e) => !!e && typeof e == "object" && e[k] === D, P = (e) => !!e && typeof e == "object" && e[k] === O;
136
+ var pe = Symbol.for("yaml.alias"), me = Symbol.for("yaml.document"), D = Symbol.for("yaml.map"), he = Symbol.for("yaml.pair"), O = Symbol.for("yaml.scalar"), k = Symbol.for("yaml.seq"), A = Symbol.for("yaml.node.type"), ge = (e) => !!e && typeof e == "object" && e[A] === pe, _e = (e) => !!e && typeof e == "object" && e[A] === me, j = (e) => !!e && typeof e == "object" && e[A] === D, M = (e) => !!e && typeof e == "object" && e[A] === he, N = (e) => !!e && typeof e == "object" && e[A] === O, P = (e) => !!e && typeof e == "object" && e[A] === k;
5
137
  function F(e) {
6
- if (e && typeof e == "object") switch (e[k]) {
7
- case T:
8
- case O: return !0;
138
+ if (e && typeof e == "object") switch (e[A]) {
139
+ case D:
140
+ case k: return !0;
9
141
  }
10
142
  return !1;
11
143
  }
12
144
  function I(e) {
13
- if (e && typeof e == "object") switch (e[k]) {
14
- case ee:
15
- case T:
145
+ if (e && typeof e == "object") switch (e[A]) {
146
+ case pe:
16
147
  case D:
17
- case O: return !0;
148
+ case O:
149
+ case k: return !0;
18
150
  }
19
151
  return !1;
20
152
  }
21
- var ne = (e) => (N(e) || F(e)) && !!e.anchor, L = Symbol("break visit"), re = Symbol("skip children"), ie = Symbol("remove node");
153
+ var ve = (e) => (N(e) || F(e)) && !!e.anchor, L = Symbol("break visit"), ye = Symbol("skip children"), be = Symbol("remove node");
22
154
  function R(e, t) {
23
- let n = oe(t);
24
- te(e) ? ae(null, e.contents, n, Object.freeze([e])) === ie && (e.contents = null) : ae(null, e, n, Object.freeze([]));
155
+ let n = xe(t);
156
+ _e(e) ? z(null, e.contents, n, Object.freeze([e])) === be && (e.contents = null) : z(null, e, n, Object.freeze([]));
25
157
  }
26
- R.BREAK = L, R.SKIP = re, R.REMOVE = ie;
27
- function ae(e, t, n, r) {
28
- let i = se(e, t, n, r);
29
- if (I(i) || M(i)) return ce(e, r, i), ae(e, i, n, r);
158
+ R.BREAK = L, R.SKIP = ye, R.REMOVE = be;
159
+ function z(e, t, n, r) {
160
+ let i = Se(e, t, n, r);
161
+ if (I(i) || M(i)) return Ce(e, r, i), z(e, i, n, r);
30
162
  if (typeof i != "symbol") {
31
163
  if (F(t)) {
32
164
  r = Object.freeze(r.concat(t));
33
165
  for (let e = 0; e < t.items.length; ++e) {
34
- let i = ae(e, t.items[e], n, r);
166
+ let i = z(e, t.items[e], n, r);
35
167
  if (typeof i == "number") e = i - 1;
36
168
  else if (i === L) return L;
37
- else i === ie && (t.items.splice(e, 1), --e);
169
+ else i === be && (t.items.splice(e, 1), --e);
38
170
  }
39
171
  } else if (M(t)) {
40
172
  r = Object.freeze(r.concat(t));
41
- let e = ae("key", t.key, n, r);
173
+ let e = z("key", t.key, n, r);
42
174
  if (e === L) return L;
43
- e === ie && (t.key = null);
44
- let i = ae("value", t.value, n, r);
175
+ e === be && (t.key = null);
176
+ let i = z("value", t.value, n, r);
45
177
  if (i === L) return L;
46
- i === ie && (t.value = null);
178
+ i === be && (t.value = null);
47
179
  }
48
180
  }
49
181
  return i;
50
182
  }
51
- function oe(e) {
183
+ function xe(e) {
52
184
  return typeof e == "object" && (e.Collection || e.Node || e.Value) ? Object.assign({
53
185
  Alias: e.Node,
54
186
  Map: e.Node,
@@ -63,34 +195,34 @@ function oe(e) {
63
195
  Seq: e.Collection
64
196
  }, e) : e;
65
197
  }
66
- function se(e, t, n, r) {
198
+ function Se(e, t, n, r) {
67
199
  if (typeof n == "function") return n(e, t, r);
68
200
  if (j(t)) return n.Map?.(e, t, r);
69
201
  if (P(t)) return n.Seq?.(e, t, r);
70
202
  if (M(t)) return n.Pair?.(e, t, r);
71
203
  if (N(t)) return n.Scalar?.(e, t, r);
72
- if (A(t)) return n.Alias?.(e, t, r);
204
+ if (ge(t)) return n.Alias?.(e, t, r);
73
205
  }
74
- function ce(e, t, n) {
206
+ function Ce(e, t, n) {
75
207
  let r = t[t.length - 1];
76
208
  if (F(r)) r.items[e] = n;
77
209
  else if (M(r)) e === "key" ? r.key = n : r.value = n;
78
- else if (te(r)) r.contents = n;
210
+ else if (_e(r)) r.contents = n;
79
211
  else {
80
- let e = A(r) ? "alias" : "scalar";
212
+ let e = ge(r) ? "alias" : "scalar";
81
213
  throw Error(`Cannot replace node with ${e} parent`);
82
214
  }
83
215
  }
84
216
  //#endregion
85
217
  //#region node_modules/yaml/browser/dist/doc/directives.js
86
- var le = {
218
+ var we = {
87
219
  "!": "%21",
88
220
  ",": "%2C",
89
221
  "[": "%5B",
90
222
  "]": "%5D",
91
223
  "{": "%7B",
92
224
  "}": "%7D"
93
- }, ue = (e) => e.replace(/[!,[\]{}]/g, (e) => le[e]), de = class e {
225
+ }, Te = (e) => e.replace(/[!,[\]{}]/g, (e) => we[e]), B = class e {
94
226
  constructor(t, n) {
95
227
  this.docStart = null, this.docEnd = !1, this.yaml = Object.assign({}, e.defaultYaml, t), this.tags = Object.assign({}, e.defaultTags, n);
96
228
  }
@@ -153,7 +285,7 @@ var le = {
153
285
  return n === "!" ? e : (t(`Could not resolve tag: ${e}`), null);
154
286
  }
155
287
  tagString(e) {
156
- for (let [t, n] of Object.entries(this.tags)) if (e.startsWith(n)) return t + ue(e.substring(n.length));
288
+ for (let [t, n] of Object.entries(this.tags)) if (e.startsWith(n)) return t + Te(e.substring(n.length));
157
289
  return e[0] === "!" ? e : `!<${e}>`;
158
290
  }
159
291
  toString(e) {
@@ -168,37 +300,37 @@ var le = {
168
300
  return t.join("\n");
169
301
  }
170
302
  };
171
- de.defaultYaml = {
303
+ B.defaultYaml = {
172
304
  explicit: !1,
173
305
  version: "1.2"
174
- }, de.defaultTags = { "!!": "tag:yaml.org,2002:" };
306
+ }, B.defaultTags = { "!!": "tag:yaml.org,2002:" };
175
307
  //#endregion
176
308
  //#region node_modules/yaml/browser/dist/doc/anchors.js
177
- function fe(e) {
309
+ function Ee(e) {
178
310
  if (/[\x00-\x19\s,[\]{}]/.test(e)) {
179
311
  let t = `Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;
180
312
  throw Error(t);
181
313
  }
182
314
  return !0;
183
315
  }
184
- function pe(e) {
316
+ function De(e) {
185
317
  let t = /* @__PURE__ */ new Set();
186
318
  return R(e, { Value(e, n) {
187
319
  n.anchor && t.add(n.anchor);
188
320
  } }), t;
189
321
  }
190
- function me(e, t) {
322
+ function Oe(e, t) {
191
323
  for (let n = 1;; ++n) {
192
324
  let r = `${e}${n}`;
193
325
  if (!t.has(r)) return r;
194
326
  }
195
327
  }
196
- function he(e, t) {
328
+ function ke(e, t) {
197
329
  let n = [], r = /* @__PURE__ */ new Map(), i = null;
198
330
  return {
199
331
  onAnchor: (r) => {
200
- n.push(r), i ||= pe(e);
201
- let a = me(t, i);
332
+ n.push(r), i ||= De(e);
333
+ let a = Oe(t, i);
202
334
  return i.add(a), a;
203
335
  },
204
336
  setAnchors: () => {
@@ -216,22 +348,22 @@ function he(e, t) {
216
348
  }
217
349
  //#endregion
218
350
  //#region node_modules/yaml/browser/dist/doc/applyReviver.js
219
- function ge(e, t, n, r) {
351
+ function V(e, t, n, r) {
220
352
  if (r && typeof r == "object") {
221
353
  if (Array.isArray(r)) for (let t = 0, n = r.length; t < n; ++t) {
222
- let n = r[t], i = ge(e, r, String(t), n);
354
+ let n = r[t], i = V(e, r, String(t), n);
223
355
  i === void 0 ? delete r[t] : i !== n && (r[t] = i);
224
356
  }
225
357
  else if (r instanceof Map) for (let t of Array.from(r.keys())) {
226
- let n = r.get(t), i = ge(e, r, t, n);
358
+ let n = r.get(t), i = V(e, r, t, n);
227
359
  i === void 0 ? r.delete(t) : i !== n && r.set(t, i);
228
360
  }
229
361
  else if (r instanceof Set) for (let t of Array.from(r)) {
230
- let n = ge(e, r, t, t);
362
+ let n = V(e, r, t, t);
231
363
  n === void 0 ? r.delete(t) : n !== t && (r.delete(t), r.add(n));
232
364
  }
233
365
  else for (let [t, n] of Object.entries(r)) {
234
- let i = ge(e, r, t, n);
366
+ let i = V(e, r, t, n);
235
367
  i === void 0 ? delete r[t] : i !== n && (r[t] = i);
236
368
  }
237
369
  }
@@ -239,10 +371,10 @@ function ge(e, t, n, r) {
239
371
  }
240
372
  //#endregion
241
373
  //#region node_modules/yaml/browser/dist/nodes/toJS.js
242
- function z(e, t, n) {
243
- if (Array.isArray(e)) return e.map((e, t) => z(e, String(t), n));
374
+ function H(e, t, n) {
375
+ if (Array.isArray(e)) return e.map((e, t) => H(e, String(t), n));
244
376
  if (e && typeof e.toJSON == "function") {
245
- if (!n || !ne(e)) return e.toJSON(t, n);
377
+ if (!n || !ve(e)) return e.toJSON(t, n);
246
378
  let r = {
247
379
  aliasCount: 0,
248
380
  count: 1,
@@ -258,16 +390,16 @@ function z(e, t, n) {
258
390
  }
259
391
  //#endregion
260
392
  //#region node_modules/yaml/browser/dist/nodes/Node.js
261
- var _e = class {
393
+ var Ae = class {
262
394
  constructor(e) {
263
- Object.defineProperty(this, k, { value: e });
395
+ Object.defineProperty(this, A, { value: e });
264
396
  }
265
397
  clone() {
266
398
  let e = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
267
399
  return this.range && (e.range = this.range.slice()), e;
268
400
  }
269
401
  toJS(e, { mapAsMap: t, maxAliasCount: n, onAnchor: r, reviver: i } = {}) {
270
- if (!te(e)) throw TypeError("A document argument is required");
402
+ if (!_e(e)) throw TypeError("A document argument is required");
271
403
  let a = {
272
404
  anchors: /* @__PURE__ */ new Map(),
273
405
  doc: e,
@@ -275,13 +407,13 @@ var _e = class {
275
407
  mapAsMap: t === !0,
276
408
  mapKeyWarned: !1,
277
409
  maxAliasCount: typeof n == "number" ? n : 100
278
- }, o = z(this, "", a);
410
+ }, o = H(this, "", a);
279
411
  if (typeof r == "function") for (let { count: e, res: t } of a.anchors.values()) r(t, e);
280
- return typeof i == "function" ? ge(i, { "": o }, "", o) : o;
412
+ return typeof i == "function" ? V(i, { "": o }, "", o) : o;
281
413
  }
282
- }, ve = class extends _e {
414
+ }, je = class extends Ae {
283
415
  constructor(e) {
284
- super(ee), this.source = e, Object.defineProperty(this, "tag", { set() {
416
+ super(pe), this.source = e, Object.defineProperty(this, "tag", { set() {
285
417
  throw Error("Alias nodes cannot have tags");
286
418
  } });
287
419
  }
@@ -301,14 +433,14 @@ var _e = class {
301
433
  }
302
434
  let o = n.get(a);
303
435
  /* istanbul ignore if */
304
- if (o ||= (z(a, null, t), n.get(a)), !o || o.res === void 0) throw ReferenceError("This should not happen: Alias anchor was not resolved?");
305
- if (i >= 0 && (o.count += 1, o.aliasCount === 0 && (o.aliasCount = ye(r, a, n)), o.count * o.aliasCount > i)) throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");
436
+ if (o ||= (H(a, null, t), n.get(a)), !o || o.res === void 0) throw ReferenceError("This should not happen: Alias anchor was not resolved?");
437
+ if (i >= 0 && (o.count += 1, o.aliasCount === 0 && (o.aliasCount = Me(r, a, n)), o.count * o.aliasCount > i)) throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");
306
438
  return o.res;
307
439
  }
308
440
  toString(e, t, n) {
309
441
  let r = `*${this.source}`;
310
442
  if (e) {
311
- if (fe(this.source), e.options.verifyAliasOrder && !e.anchors.has(this.source)) {
443
+ if (Ee(this.source), e.options.verifyAliasOrder && !e.anchors.has(this.source)) {
312
444
  let e = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
313
445
  throw Error(e);
314
446
  }
@@ -317,43 +449,43 @@ var _e = class {
317
449
  return r;
318
450
  }
319
451
  };
320
- function ye(e, t, n) {
321
- if (A(t)) {
452
+ function Me(e, t, n) {
453
+ if (ge(t)) {
322
454
  let r = t.resolve(e), i = n && r && n.get(r);
323
455
  return i ? i.count * i.aliasCount : 0;
324
456
  }
325
457
  if (F(t)) {
326
458
  let r = 0;
327
459
  for (let i of t.items) {
328
- let t = ye(e, i, n);
460
+ let t = Me(e, i, n);
329
461
  t > r && (r = t);
330
462
  }
331
463
  return r;
332
464
  }
333
465
  if (M(t)) {
334
- let r = ye(e, t.key, n), i = ye(e, t.value, n);
466
+ let r = Me(e, t.key, n), i = Me(e, t.value, n);
335
467
  return Math.max(r, i);
336
468
  }
337
469
  return 1;
338
470
  }
339
471
  //#endregion
340
472
  //#region node_modules/yaml/browser/dist/nodes/Scalar.js
341
- var be = (e) => !e || typeof e != "function" && typeof e != "object", B = class extends _e {
473
+ var Ne = (e) => !e || typeof e != "function" && typeof e != "object", U = class extends Ae {
342
474
  constructor(e) {
343
- super(D), this.value = e;
475
+ super(O), this.value = e;
344
476
  }
345
477
  toJSON(e, t) {
346
- return t?.keep ? this.value : z(this.value, e, t);
478
+ return t?.keep ? this.value : H(this.value, e, t);
347
479
  }
348
480
  toString() {
349
481
  return String(this.value);
350
482
  }
351
483
  };
352
- B.BLOCK_FOLDED = "BLOCK_FOLDED", B.BLOCK_LITERAL = "BLOCK_LITERAL", B.PLAIN = "PLAIN", B.QUOTE_DOUBLE = "QUOTE_DOUBLE", B.QUOTE_SINGLE = "QUOTE_SINGLE";
484
+ U.BLOCK_FOLDED = "BLOCK_FOLDED", U.BLOCK_LITERAL = "BLOCK_LITERAL", U.PLAIN = "PLAIN", U.QUOTE_DOUBLE = "QUOTE_DOUBLE", U.QUOTE_SINGLE = "QUOTE_SINGLE";
353
485
  //#endregion
354
486
  //#region node_modules/yaml/browser/dist/doc/createNode.js
355
- var xe = "tag:yaml.org,2002:";
356
- function Se(e, t, n) {
487
+ var Pe = "tag:yaml.org,2002:";
488
+ function Fe(e, t, n) {
357
489
  if (t) {
358
490
  let e = n.filter((e) => e.tag === t), r = e.find((e) => !e.format) ?? e[0];
359
491
  if (!r) throw Error(`Tag ${t} not found`);
@@ -361,37 +493,37 @@ function Se(e, t, n) {
361
493
  }
362
494
  return n.find((t) => t.identify?.(e) && !t.format);
363
495
  }
364
- function Ce(e, t, n) {
365
- if (te(e) && (e = e.contents), I(e)) return e;
496
+ function Ie(e, t, n) {
497
+ if (_e(e) && (e = e.contents), I(e)) return e;
366
498
  if (M(e)) {
367
- let t = n.schema[T].createNode?.(n.schema, null, n);
499
+ let t = n.schema[D].createNode?.(n.schema, null, n);
368
500
  return t.items.push(e), t;
369
501
  }
370
502
  (e instanceof String || e instanceof Number || e instanceof Boolean || typeof BigInt < "u" && e instanceof BigInt) && (e = e.valueOf());
371
503
  let { aliasDuplicateObjects: r, onAnchor: i, onTagObj: a, schema: o, sourceObjects: s } = n, c;
372
504
  if (r && e && typeof e == "object") {
373
- if (c = s.get(e), c) return c.anchor || (c.anchor = i(e)), new ve(c.anchor);
505
+ if (c = s.get(e), c) return c.anchor || (c.anchor = i(e)), new je(c.anchor);
374
506
  c = {
375
507
  anchor: null,
376
508
  node: null
377
509
  }, s.set(e, c);
378
510
  }
379
- t?.startsWith("!!") && (t = xe + t.slice(2));
380
- let l = Se(e, t, o.tags);
511
+ t?.startsWith("!!") && (t = Pe + t.slice(2));
512
+ let l = Fe(e, t, o.tags);
381
513
  if (!l) {
382
514
  if (e && typeof e.toJSON == "function" && (e = e.toJSON()), !e || typeof e != "object") {
383
- let t = new B(e);
515
+ let t = new U(e);
384
516
  return c && (c.node = t), t;
385
517
  }
386
- l = e instanceof Map ? o[T] : Symbol.iterator in Object(e) ? o[O] : o[T];
518
+ l = e instanceof Map ? o[D] : Symbol.iterator in Object(e) ? o[k] : o[D];
387
519
  }
388
520
  a && (a(l), delete n.onTagObj);
389
- let u = l?.createNode ? l.createNode(n.schema, e, n) : typeof l?.nodeClass?.from == "function" ? l.nodeClass.from(n.schema, e, n) : new B(e);
521
+ let u = l?.createNode ? l.createNode(n.schema, e, n) : typeof l?.nodeClass?.from == "function" ? l.nodeClass.from(n.schema, e, n) : new U(e);
390
522
  return t ? u.tag = t : l.default || (u.tag = l.tag), c && (c.node = u), u;
391
523
  }
392
524
  //#endregion
393
525
  //#region node_modules/yaml/browser/dist/nodes/Collection.js
394
- function we(e, t, n) {
526
+ function Le(e, t, n) {
395
527
  let r = n;
396
528
  for (let e = t.length - 1; e >= 0; --e) {
397
529
  let n = t[e];
@@ -400,7 +532,7 @@ function we(e, t, n) {
400
532
  e[n] = r, r = e;
401
533
  } else r = /* @__PURE__ */ new Map([[n, r]]);
402
534
  }
403
- return Ce(r, void 0, {
535
+ return Ie(r, void 0, {
404
536
  aliasDuplicateObjects: !1,
405
537
  keepUndefined: !1,
406
538
  onAnchor: () => {
@@ -410,7 +542,7 @@ function we(e, t, n) {
410
542
  sourceObjects: /* @__PURE__ */ new Map()
411
543
  });
412
544
  }
413
- var Te = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done, Ee = class extends _e {
545
+ var Re = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done, ze = class extends Ae {
414
546
  constructor(e, t) {
415
547
  super(e), Object.defineProperty(this, "schema", {
416
548
  value: t,
@@ -424,11 +556,11 @@ var Te = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next
424
556
  return e && (t.schema = e), t.items = t.items.map((t) => I(t) || M(t) ? t.clone(e) : t), this.range && (t.range = this.range.slice()), t;
425
557
  }
426
558
  addIn(e, t) {
427
- if (Te(e)) this.add(t);
559
+ if (Re(e)) this.add(t);
428
560
  else {
429
561
  let [n, ...r] = e, i = this.get(n, !0);
430
562
  if (F(i)) i.addIn(r, t);
431
- else if (i === void 0 && this.schema) this.set(n, we(this.schema, r, t));
563
+ else if (i === void 0 && this.schema) this.set(n, Le(this.schema, r, t));
432
564
  else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);
433
565
  }
434
566
  }
@@ -462,27 +594,27 @@ var Te = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next
462
594
  else {
463
595
  let e = this.get(n, !0);
464
596
  if (F(e)) e.setIn(r, t);
465
- else if (e === void 0 && this.schema) this.set(n, we(this.schema, r, t));
597
+ else if (e === void 0 && this.schema) this.set(n, Le(this.schema, r, t));
466
598
  else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);
467
599
  }
468
600
  }
469
601
  };
470
- Ee.maxFlowStringSingleLineLength = 60;
602
+ ze.maxFlowStringSingleLineLength = 60;
471
603
  //#endregion
472
604
  //#region node_modules/yaml/browser/dist/stringify/stringifyComment.js
473
- var De = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
474
- function V(e, t) {
605
+ var Be = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
606
+ function W(e, t) {
475
607
  return /^\n+$/.test(e) ? e.substring(1) : t ? e.replace(/^(?! *$)/gm, t) : e;
476
608
  }
477
- var H = (e, t, n) => e.endsWith("\n") ? V(n, t) : n.includes("\n") ? "\n" + V(n, t) : (e.endsWith(" ") ? "" : " ") + n, Oe = "flow", ke = "block", Ae = "quoted";
478
- function je(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentWidth: a = 20, onFold: o, onOverflow: s } = {}) {
609
+ var G = (e, t, n) => e.endsWith("\n") ? W(n, t) : n.includes("\n") ? "\n" + W(n, t) : (e.endsWith(" ") ? "" : " ") + n, Ve = "flow", He = "block", Ue = "quoted";
610
+ function We(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentWidth: a = 20, onFold: o, onOverflow: s } = {}) {
479
611
  if (!i || i < 0) return e;
480
612
  let c = Math.max(1 + a, 1 + i - t.length);
481
613
  if (e.length <= c) return e;
482
614
  let l = [], u = {}, d = i - t.length;
483
615
  typeof r == "number" && (r > i - Math.max(2, a) ? l.push(0) : d = i - r);
484
616
  let f, p, m = !1, h = -1, g = -1, _ = -1;
485
- n === "block" && (h = Me(e, h, t.length), h !== -1 && (d = h + c));
617
+ n === "block" && (h = Ge(e, h, t.length), h !== -1 && (d = h + c));
486
618
  for (let r; r = e[h += 1];) {
487
619
  if (n === "quoted" && r === "\\") {
488
620
  switch (g = h, e[h + 1]) {
@@ -499,7 +631,7 @@ function je(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentW
499
631
  }
500
632
  _ = h;
501
633
  }
502
- if (r === "\n") n === "block" && (h = Me(e, h, t.length)), d = h + t.length + c, f = void 0;
634
+ if (r === "\n") n === "block" && (h = Ge(e, h, t.length)), d = h + t.length + c, f = void 0;
503
635
  else {
504
636
  if (r === " " && p && p !== " " && p !== "\n" && p !== " ") {
505
637
  let t = e[h + 1];
@@ -526,7 +658,7 @@ function je(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentW
526
658
  }
527
659
  return v;
528
660
  }
529
- function Me(e, t, n) {
661
+ function Ge(e, t, n) {
530
662
  let r = t, i = t + 1, a = e[i];
531
663
  for (; a === " " || a === " ";) if (t < i + n) a = e[++t];
532
664
  else {
@@ -539,12 +671,12 @@ function Me(e, t, n) {
539
671
  }
540
672
  //#endregion
541
673
  //#region node_modules/yaml/browser/dist/stringify/stringifyString.js
542
- var Ne = (e, t) => ({
674
+ var Ke = (e, t) => ({
543
675
  indentAtStart: t ? e.indent.length : e.indentAtStart,
544
676
  lineWidth: e.options.lineWidth,
545
677
  minContentWidth: e.options.minContentWidth
546
- }), Pe = (e) => /^(%|---|\.\.\.)/m.test(e);
547
- function Fe(e, t, n) {
678
+ }), qe = (e) => /^(%|---|\.\.\.)/m.test(e);
679
+ function Je(e, t, n) {
548
680
  if (!t || t < 0) return !1;
549
681
  let r = t - n, i = e.length;
550
682
  if (i <= r) return !1;
@@ -554,10 +686,10 @@ function Fe(e, t, n) {
554
686
  }
555
687
  return !0;
556
688
  }
557
- function Ie(e, t) {
689
+ function Ye(e, t) {
558
690
  let n = JSON.stringify(e);
559
691
  if (t.options.doubleQuotedAsJSON) return n;
560
- let { implicitKey: r } = t, i = t.options.doubleQuotedMinMultiLineLength, a = t.indent || (Pe(e) ? " " : ""), o = "", s = 0;
692
+ let { implicitKey: r } = t, i = t.options.doubleQuotedMinMultiLineLength, a = t.indent || (qe(e) ? " " : ""), o = "", s = 0;
561
693
  for (let e = 0, t = n[e]; t; t = n[++e]) if (t === " " && n[e + 1] === "\\" && n[e + 2] === "n" && (o += n.slice(s, e) + "\\ ", e += 1, s = e, t = "\\"), t === "\\") switch (n[e + 1]) {
562
694
  case "u":
563
695
  {
@@ -602,32 +734,32 @@ function Ie(e, t) {
602
734
  break;
603
735
  default: e += 1;
604
736
  }
605
- return o = s ? o + n.slice(s) : n, r ? o : je(o, a, Ae, Ne(t, !1));
737
+ return o = s ? o + n.slice(s) : n, r ? o : We(o, a, Ue, Ke(t, !1));
606
738
  }
607
- function Le(e, t) {
608
- if (t.options.singleQuote === !1 || t.implicitKey && e.includes("\n") || /[ \t]\n|\n[ \t]/.test(e)) return Ie(e, t);
609
- let n = t.indent || (Pe(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&\n${n}`) + "'";
610
- return t.implicitKey ? r : je(r, n, Oe, Ne(t, !1));
739
+ function Xe(e, t) {
740
+ if (t.options.singleQuote === !1 || t.implicitKey && e.includes("\n") || /[ \t]\n|\n[ \t]/.test(e)) return Ye(e, t);
741
+ let n = t.indent || (qe(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&\n${n}`) + "'";
742
+ return t.implicitKey ? r : We(r, n, Ve, Ke(t, !1));
611
743
  }
612
- function U(e, t) {
744
+ function K(e, t) {
613
745
  let { singleQuote: n } = t.options, r;
614
- if (n === !1) r = Ie;
746
+ if (n === !1) r = Ye;
615
747
  else {
616
748
  let t = e.includes("\""), i = e.includes("'");
617
- r = t && !i ? Le : i && !t ? Ie : n ? Le : Ie;
749
+ r = t && !i ? Xe : i && !t ? Ye : n ? Xe : Ye;
618
750
  }
619
751
  return r(e, t);
620
752
  }
621
- var Re;
753
+ var Ze;
622
754
  try {
623
- Re = /* @__PURE__ */ RegExp("(^|(?<!\n))\n+(?!\n|$)", "g");
755
+ Ze = /* @__PURE__ */ RegExp("(^|(?<!\n))\n+(?!\n|$)", "g");
624
756
  } catch {
625
- Re = /\n+(?!\n|$)/g;
757
+ Ze = /\n+(?!\n|$)/g;
626
758
  }
627
- function ze({ comment: e, type: t, value: n }, r, i, a) {
759
+ function Qe({ comment: e, type: t, value: n }, r, i, a) {
628
760
  let { blockQuote: o, commentString: s, lineWidth: c } = r.options;
629
- if (!o || /\n[\t ]+$/.test(n) || /^\s*$/.test(n)) return U(n, r);
630
- let l = r.indent || (r.forceBlockIndent || Pe(n) ? " " : ""), u = o === "literal" ? !0 : o === "folded" || t === B.BLOCK_FOLDED ? !1 : t === B.BLOCK_LITERAL || !Fe(n, c, l.length);
761
+ if (!o || /\n[\t ]+$/.test(n) || /^\s*$/.test(n)) return K(n, r);
762
+ let l = r.indent || (r.forceBlockIndent || qe(n) ? " " : ""), u = o === "literal" ? !0 : o === "folded" || t === U.BLOCK_FOLDED ? !1 : t === U.BLOCK_LITERAL || !Je(n, c, l.length);
631
763
  if (!n) return u ? "|\n" : ">\n";
632
764
  let d, f;
633
765
  for (f = n.length; f > 0; --f) {
@@ -635,7 +767,7 @@ function ze({ comment: e, type: t, value: n }, r, i, a) {
635
767
  if (e !== "\n" && e !== " " && e !== " ") break;
636
768
  }
637
769
  let p = n.substring(f), m = p.indexOf("\n");
638
- m === -1 ? d = "-" : n === p || m !== p.length - 1 ? (d = "+", a && a()) : d = "", p &&= (n = n.slice(0, -p.length), p[p.length - 1] === "\n" && (p = p.slice(0, -1)), p.replace(Re, `$&${l}`));
770
+ m === -1 ? d = "-" : n === p || m !== p.length - 1 ? (d = "+", a && a()) : d = "", p &&= (n = n.slice(0, -p.length), p[p.length - 1] === "\n" && (p = p.slice(0, -1)), p.replace(Ze, `$&${l}`));
639
771
  let h = !1, g, _ = -1;
640
772
  for (g = 0; g < n.length; ++g) {
641
773
  let e = n[g];
@@ -648,35 +780,35 @@ function ze({ comment: e, type: t, value: n }, r, i, a) {
648
780
  let y = (u ? "|" : ">") + (h ? l ? "2" : "1" : "") + d;
649
781
  if (e && (y += " " + s(e.replace(/ ?[\r\n]+/g, " ")), i && i()), u) return n = n.replace(/\n+/g, `$&${l}`), `${y}\n${l}${v}${n}${p}`;
650
782
  n = n.replace(/\n+/g, "\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${l}`);
651
- let b = je(`${v}${n}${p}`, l, ke, Ne(r, !0));
783
+ let b = We(`${v}${n}${p}`, l, He, Ke(r, !0));
652
784
  return `${y}\n${l}${b}`;
653
785
  }
654
- function Be(e, t, n, r) {
786
+ function $e(e, t, n, r) {
655
787
  let { type: i, value: a } = e, { actualString: o, implicitKey: s, indent: c, indentStep: l, inFlow: u } = t;
656
- if (s && a.includes("\n") || u && /[[\]{},]/.test(a)) return U(a, t);
657
- if (!a || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)) return s || u || !a.includes("\n") ? U(a, t) : ze(e, t, n, r);
658
- if (!s && !u && i !== B.PLAIN && a.includes("\n")) return ze(e, t, n, r);
659
- if (Pe(a)) {
660
- if (c === "") return t.forceBlockIndent = !0, ze(e, t, n, r);
661
- if (s && c === l) return U(a, t);
788
+ if (s && a.includes("\n") || u && /[[\]{},]/.test(a)) return K(a, t);
789
+ if (!a || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)) return s || u || !a.includes("\n") ? K(a, t) : Qe(e, t, n, r);
790
+ if (!s && !u && i !== U.PLAIN && a.includes("\n")) return Qe(e, t, n, r);
791
+ if (qe(a)) {
792
+ if (c === "") return t.forceBlockIndent = !0, Qe(e, t, n, r);
793
+ if (s && c === l) return K(a, t);
662
794
  }
663
795
  let d = a.replace(/\n+/g, `$&\n${c}`);
664
796
  if (o) {
665
797
  let e = (e) => e.default && e.tag !== "tag:yaml.org,2002:str" && e.test?.test(d), { compat: n, tags: r } = t.doc.schema;
666
- if (r.some(e) || n?.some(e)) return U(a, t);
798
+ if (r.some(e) || n?.some(e)) return K(a, t);
667
799
  }
668
- return s ? d : je(d, c, Oe, Ne(t, !1));
800
+ return s ? d : We(d, c, Ve, Ke(t, !1));
669
801
  }
670
- function Ve(e, t, n, r) {
802
+ function et(e, t, n, r) {
671
803
  let { implicitKey: i, inFlow: a } = t, o = typeof e.value == "string" ? e : Object.assign({}, e, { value: String(e.value) }), { type: s } = e;
672
- s !== B.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value) && (s = B.QUOTE_DOUBLE);
804
+ s !== U.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value) && (s = U.QUOTE_DOUBLE);
673
805
  let c = (e) => {
674
806
  switch (e) {
675
- case B.BLOCK_FOLDED:
676
- case B.BLOCK_LITERAL: return i || a ? U(o.value, t) : ze(o, t, n, r);
677
- case B.QUOTE_DOUBLE: return Ie(o.value, t);
678
- case B.QUOTE_SINGLE: return Le(o.value, t);
679
- case B.PLAIN: return Be(o, t, n, r);
807
+ case U.BLOCK_FOLDED:
808
+ case U.BLOCK_LITERAL: return i || a ? K(o.value, t) : Qe(o, t, n, r);
809
+ case U.QUOTE_DOUBLE: return Ye(o.value, t);
810
+ case U.QUOTE_SINGLE: return Xe(o.value, t);
811
+ case U.PLAIN: return $e(o, t, n, r);
680
812
  default: return null;
681
813
  }
682
814
  }, l = c(s);
@@ -688,10 +820,10 @@ function Ve(e, t, n, r) {
688
820
  }
689
821
  //#endregion
690
822
  //#region node_modules/yaml/browser/dist/stringify/stringify.js
691
- function He(e, t) {
823
+ function tt(e, t) {
692
824
  let n = Object.assign({
693
825
  blockQuote: !0,
694
- commentString: De,
826
+ commentString: Be,
695
827
  defaultKeyType: null,
696
828
  defaultStringType: "PLAIN",
697
829
  directives: null,
@@ -727,7 +859,7 @@ function He(e, t) {
727
859
  options: n
728
860
  };
729
861
  }
730
- function Ue(e, t) {
862
+ function nt(e, t) {
731
863
  if (t.tag) {
732
864
  let n = e.filter((e) => e.tag === t.tag);
733
865
  if (n.length > 0) return n.find((e) => e.format === t.format) ?? n[0];
@@ -744,57 +876,57 @@ function Ue(e, t) {
744
876
  }
745
877
  return n;
746
878
  }
747
- function We(e, t, { anchors: n, doc: r }) {
879
+ function rt(e, t, { anchors: n, doc: r }) {
748
880
  if (!r.directives) return "";
749
881
  let i = [], a = (N(e) || F(e)) && e.anchor;
750
- a && fe(a) && (n.add(a), i.push(`&${a}`));
882
+ a && Ee(a) && (n.add(a), i.push(`&${a}`));
751
883
  let o = e.tag ? e.tag : t.default ? null : t.tag;
752
884
  return o && i.push(r.directives.tagString(o)), i.join(" ");
753
885
  }
754
- function W(e, t, n, r) {
886
+ function it(e, t, n, r) {
755
887
  if (M(e)) return e.toString(t, n, r);
756
- if (A(e)) {
888
+ if (ge(e)) {
757
889
  if (t.doc.directives) return e.toString(t);
758
890
  if (t.resolvedAliases?.has(e)) throw TypeError("Cannot stringify circular structure without alias nodes");
759
891
  t.resolvedAliases ? t.resolvedAliases.add(e) : t.resolvedAliases = /* @__PURE__ */ new Set([e]), e = e.resolve(t.doc);
760
892
  }
761
893
  let i, a = I(e) ? e : t.doc.createNode(e, { onTagObj: (e) => i = e });
762
- i ||= Ue(t.doc.schema.tags, a);
763
- let o = We(a, i, t);
894
+ i ||= nt(t.doc.schema.tags, a);
895
+ let o = rt(a, i, t);
764
896
  o.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + o.length + 1);
765
- let s = typeof i.stringify == "function" ? i.stringify(a, t, n, r) : N(a) ? Ve(a, t, n, r) : a.toString(t, n, r);
897
+ let s = typeof i.stringify == "function" ? i.stringify(a, t, n, r) : N(a) ? et(a, t, n, r) : a.toString(t, n, r);
766
898
  return o ? N(a) || s[0] === "{" || s[0] === "[" ? `${o} ${s}` : `${o}\n${t.indent}${s}` : s;
767
899
  }
768
900
  //#endregion
769
901
  //#region node_modules/yaml/browser/dist/stringify/stringifyPair.js
770
- function Ge({ key: e, value: t }, n, r, i) {
902
+ function at({ key: e, value: t }, n, r, i) {
771
903
  let { allNullValues: a, doc: o, indent: s, indentStep: c, options: { commentString: l, indentSeq: u, simpleKeys: d } } = n, f = I(e) && e.comment || null;
772
904
  if (d) {
773
905
  if (f) throw Error("With simple keys, key nodes cannot have comments");
774
906
  if (F(e) || !I(e) && typeof e == "object") throw Error("With simple keys, collection cannot be used as a key value");
775
907
  }
776
- let p = !d && (!e || f && t == null && !n.inFlow || F(e) || (N(e) ? e.type === B.BLOCK_FOLDED || e.type === B.BLOCK_LITERAL : typeof e == "object"));
908
+ let p = !d && (!e || f && t == null && !n.inFlow || F(e) || (N(e) ? e.type === U.BLOCK_FOLDED || e.type === U.BLOCK_LITERAL : typeof e == "object"));
777
909
  n = Object.assign({}, n, {
778
910
  allNullValues: !1,
779
911
  implicitKey: !p && (d || !a),
780
912
  indent: s + c
781
913
  });
782
- let m = !1, h = !1, g = W(e, n, () => m = !0, () => h = !0);
914
+ let m = !1, h = !1, g = it(e, n, () => m = !0, () => h = !0);
783
915
  if (!p && !n.inFlow && g.length > 1024) {
784
916
  if (d) throw Error("With simple keys, single line scalar must not span more than 1024 characters");
785
917
  p = !0;
786
918
  }
787
919
  if (n.inFlow) {
788
920
  if (a || t == null) return m && r && r(), g === "" ? "?" : p ? `? ${g}` : g;
789
- } else if (a && !d || t == null && p) return g = `? ${g}`, f && !m ? g += H(g, n.indent, l(f)) : h && i && i(), g;
790
- m && (f = null), p ? (f && (g += H(g, n.indent, l(f))), g = `? ${g}\n${s}:`) : (g = `${g}:`, f && (g += H(g, n.indent, l(f))));
921
+ } else if (a && !d || t == null && p) return g = `? ${g}`, f && !m ? g += G(g, n.indent, l(f)) : h && i && i(), g;
922
+ m && (f = null), p ? (f && (g += G(g, n.indent, l(f))), g = `? ${g}\n${s}:`) : (g = `${g}:`, f && (g += G(g, n.indent, l(f))));
791
923
  let _, v, y;
792
924
  I(t) ? (_ = !!t.spaceBefore, v = t.commentBefore, y = t.comment) : (_ = !1, v = null, y = null, t && typeof t == "object" && (t = o.createNode(t))), n.implicitKey = !1, !p && !f && N(t) && (n.indentAtStart = g.length + 1), h = !1, !u && c.length >= 2 && !n.inFlow && !p && P(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
793
- let b = !1, x = W(t, n, () => b = !0, () => h = !0), S = " ";
925
+ let b = !1, x = it(t, n, () => b = !0, () => h = !0), S = " ";
794
926
  if (f || _ || v) {
795
927
  if (S = _ ? "\n" : "", v) {
796
928
  let e = l(v);
797
- S += `\n${V(e, n.indent)}`;
929
+ S += `\n${W(e, n.indent)}`;
798
930
  }
799
931
  x === "" && !n.inFlow ? S === "\n" && (S = "\n\n") : S += `\n${n.indent}`;
800
932
  } else if (!p && F(t)) {
@@ -808,27 +940,27 @@ function Ge({ key: e, value: t }, n, r, i) {
808
940
  t || (S = `\n${n.indent}`);
809
941
  }
810
942
  } else (x === "" || x[0] === "\n") && (S = "");
811
- return g += S + x, n.inFlow ? b && r && r() : y && !b ? g += H(g, n.indent, l(y)) : h && i && i(), g;
943
+ return g += S + x, n.inFlow ? b && r && r() : y && !b ? g += G(g, n.indent, l(y)) : h && i && i(), g;
812
944
  }
813
945
  //#endregion
814
946
  //#region node_modules/yaml/browser/dist/log.js
815
- function Ke(e, t) {
947
+ function ot(e, t) {
816
948
  (e === "debug" || e === "warn") && (typeof process < "u" && process.emitWarning ? process.emitWarning(t) : console.warn(t));
817
949
  }
818
950
  //#endregion
819
951
  //#region node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
820
- var qe = "<<";
821
- function Je(e, t, { key: n, value: r }) {
822
- if (e?.doc.schema.merge && Ye(n)) {
823
- if (r = A(r) ? r.resolve(e.doc) : r, P(r)) for (let n of r.items) Xe(e, t, n);
824
- else if (Array.isArray(r)) for (let n of r) Xe(e, t, n);
825
- else Xe(e, t, r);
952
+ var st = "<<";
953
+ function ct(e, t, { key: n, value: r }) {
954
+ if (e?.doc.schema.merge && lt(n)) {
955
+ if (r = ge(r) ? r.resolve(e.doc) : r, P(r)) for (let n of r.items) ut(e, t, n);
956
+ else if (Array.isArray(r)) for (let n of r) ut(e, t, n);
957
+ else ut(e, t, r);
826
958
  } else {
827
- let i = z(n, "", e);
828
- if (t instanceof Map) t.set(i, z(r, i, e));
959
+ let i = H(n, "", e);
960
+ if (t instanceof Map) t.set(i, H(r, i, e));
829
961
  else if (t instanceof Set) t.add(i);
830
962
  else {
831
- let a = Ze(n, i, e), o = z(r, a, e);
963
+ let a = dt(n, i, e), o = H(r, a, e);
832
964
  a in t ? Object.defineProperty(t, a, {
833
965
  value: o,
834
966
  writable: !0,
@@ -839,9 +971,9 @@ function Je(e, t, { key: n, value: r }) {
839
971
  }
840
972
  return t;
841
973
  }
842
- var Ye = (e) => e === qe || N(e) && e.value === qe && (!e.type || e.type === B.PLAIN);
843
- function Xe(e, t, n) {
844
- let r = e && A(n) ? n.resolve(e.doc) : n;
974
+ var lt = (e) => e === st || N(e) && e.value === st && (!e.type || e.type === U.PLAIN);
975
+ function ut(e, t, n) {
976
+ let r = e && ge(n) ? n.resolve(e.doc) : n;
845
977
  if (!j(r)) throw Error("Merge sources must be maps or map aliases");
846
978
  let i = r.toJSON(null, e, Map);
847
979
  for (let [e, n] of i) t instanceof Map ? t.has(e) || t.set(e, n) : t instanceof Set ? t.add(e) : Object.prototype.hasOwnProperty.call(t, e) || Object.defineProperty(t, e, {
@@ -852,18 +984,18 @@ function Xe(e, t, n) {
852
984
  });
853
985
  return t;
854
986
  }
855
- function Ze(e, t, n) {
987
+ function dt(e, t, n) {
856
988
  if (t === null) return "";
857
989
  if (typeof t != "object") return String(t);
858
990
  if (I(e) && n?.doc) {
859
- let t = He(n.doc, {});
991
+ let t = tt(n.doc, {});
860
992
  t.anchors = /* @__PURE__ */ new Set();
861
993
  for (let e of n.anchors.keys()) t.anchors.add(e.anchor);
862
994
  t.inFlow = !0, t.inStringifyKey = !0;
863
995
  let r = e.toString(t);
864
996
  if (!n.mapKeyWarned) {
865
997
  let e = JSON.stringify(r);
866
- e.length > 40 && (e = e.substring(0, 36) + "...\""), Ke(n.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`), n.mapKeyWarned = !0;
998
+ e.length > 40 && (e = e.substring(0, 36) + "...\""), ot(n.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`), n.mapKeyWarned = !0;
867
999
  }
868
1000
  return r;
869
1001
  }
@@ -871,44 +1003,44 @@ function Ze(e, t, n) {
871
1003
  }
872
1004
  //#endregion
873
1005
  //#region node_modules/yaml/browser/dist/nodes/Pair.js
874
- function Qe(e, t, n) {
875
- return new G(Ce(e, void 0, n), Ce(t, void 0, n));
1006
+ function ft(e, t, n) {
1007
+ return new q(Ie(e, void 0, n), Ie(t, void 0, n));
876
1008
  }
877
- var G = class e {
1009
+ var q = class e {
878
1010
  constructor(e, t = null) {
879
- Object.defineProperty(this, k, { value: E }), this.key = e, this.value = t;
1011
+ Object.defineProperty(this, A, { value: he }), this.key = e, this.value = t;
880
1012
  }
881
1013
  clone(t) {
882
1014
  let { key: n, value: r } = this;
883
1015
  return I(n) && (n = n.clone(t)), I(r) && (r = r.clone(t)), new e(n, r);
884
1016
  }
885
1017
  toJSON(e, t) {
886
- return Je(t, t?.mapAsMap ? /* @__PURE__ */ new Map() : {}, this);
1018
+ return ct(t, t?.mapAsMap ? /* @__PURE__ */ new Map() : {}, this);
887
1019
  }
888
1020
  toString(e, t, n) {
889
- return e?.doc ? Ge(this, e, t, n) : JSON.stringify(this);
1021
+ return e?.doc ? at(this, e, t, n) : JSON.stringify(this);
890
1022
  }
891
1023
  };
892
1024
  //#endregion
893
1025
  //#region node_modules/yaml/browser/dist/stringify/stringifyCollection.js
894
- function $e(e, t, n) {
895
- return (t.inFlow ?? e.flow ? tt : et)(e, t, n);
1026
+ function pt(e, t, n) {
1027
+ return (t.inFlow ?? e.flow ? ht : mt)(e, t, n);
896
1028
  }
897
- function et({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, itemIndent: a, onChompKeep: o, onComment: s }) {
1029
+ function mt({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, itemIndent: a, onChompKeep: o, onComment: s }) {
898
1030
  let { indent: c, options: { commentString: l } } = n, u = Object.assign({}, n, {
899
1031
  indent: a,
900
1032
  type: null
901
1033
  }), d = !1, f = [];
902
1034
  for (let e = 0; e < t.length; ++e) {
903
1035
  let i = t[e], o = null;
904
- if (I(i)) !d && i.spaceBefore && f.push(""), nt(n, f, i.commentBefore, d), i.comment && (o = i.comment);
1036
+ if (I(i)) !d && i.spaceBefore && f.push(""), gt(n, f, i.commentBefore, d), i.comment && (o = i.comment);
905
1037
  else if (M(i)) {
906
1038
  let e = I(i.key) ? i.key : null;
907
- e && (!d && e.spaceBefore && f.push(""), nt(n, f, e.commentBefore, d));
1039
+ e && (!d && e.spaceBefore && f.push(""), gt(n, f, e.commentBefore, d));
908
1040
  }
909
1041
  d = !1;
910
- let s = W(i, u, () => o = null, () => d = !0);
911
- o && (s += H(s, a, l(o))), d && o && (d = !1), f.push(r + s);
1042
+ let s = it(i, u, () => o = null, () => d = !0);
1043
+ o && (s += G(s, a, l(o))), d && o && (d = !1), f.push(r + s);
912
1044
  }
913
1045
  let p;
914
1046
  if (f.length === 0) p = i.start + i.end;
@@ -919,9 +1051,9 @@ function et({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, ite
919
1051
  p += t ? `\n${c}${t}` : "\n";
920
1052
  }
921
1053
  }
922
- return e ? (p += "\n" + V(l(e), c), s && s()) : d && o && o(), p;
1054
+ return e ? (p += "\n" + W(l(e), c), s && s()) : d && o && o(), p;
923
1055
  }
924
- function tt({ items: e }, t, { flowChars: n, itemIndent: r }) {
1056
+ function ht({ items: e }, t, { flowChars: n, itemIndent: r }) {
925
1057
  let { indent: i, indentStep: a, flowCollectionPadding: o, options: { commentString: s } } = t;
926
1058
  r += a;
927
1059
  let c = Object.assign({}, t, {
@@ -931,16 +1063,16 @@ function tt({ items: e }, t, { flowChars: n, itemIndent: r }) {
931
1063
  }), l = !1, u = 0, d = [];
932
1064
  for (let n = 0; n < e.length; ++n) {
933
1065
  let i = e[n], a = null;
934
- if (I(i)) i.spaceBefore && d.push(""), nt(t, d, i.commentBefore, !1), i.comment && (a = i.comment);
1066
+ if (I(i)) i.spaceBefore && d.push(""), gt(t, d, i.commentBefore, !1), i.comment && (a = i.comment);
935
1067
  else if (M(i)) {
936
1068
  let e = I(i.key) ? i.key : null;
937
- e && (e.spaceBefore && d.push(""), nt(t, d, e.commentBefore, !1), e.comment && (l = !0));
1069
+ e && (e.spaceBefore && d.push(""), gt(t, d, e.commentBefore, !1), e.comment && (l = !0));
938
1070
  let n = I(i.value) ? i.value : null;
939
1071
  n ? (n.comment && (a = n.comment), n.commentBefore && (l = !0)) : i.value == null && e?.comment && (a = e.comment);
940
1072
  }
941
1073
  a && (l = !0);
942
- let o = W(i, c, () => a = null);
943
- n < e.length - 1 && (o += ","), a && (o += H(o, r, s(a))), !l && (d.length > u || o.includes("\n")) && (l = !0), d.push(o), u = d.length;
1074
+ let o = it(i, c, () => a = null);
1075
+ n < e.length - 1 && (o += ","), a && (o += G(o, r, s(a))), !l && (d.length > u || o.includes("\n")) && (l = !0), d.push(o), u = d.length;
944
1076
  }
945
1077
  let { start: f, end: p } = n;
946
1078
  if (d.length === 0) return f + p;
@@ -955,30 +1087,30 @@ function tt({ items: e }, t, { flowChars: n, itemIndent: r }) {
955
1087
  }
956
1088
  return `${f}${o}${d.join(" ")}${o}${p}`;
957
1089
  }
958
- function nt({ indent: e, options: { commentString: t } }, n, r, i) {
1090
+ function gt({ indent: e, options: { commentString: t } }, n, r, i) {
959
1091
  if (r && i && (r = r.replace(/^\n+/, "")), r) {
960
- let i = V(t(r), e);
1092
+ let i = W(t(r), e);
961
1093
  n.push(i.trimStart());
962
1094
  }
963
1095
  }
964
1096
  //#endregion
965
1097
  //#region node_modules/yaml/browser/dist/nodes/YAMLMap.js
966
- function K(e, t) {
1098
+ function J(e, t) {
967
1099
  let n = N(t) ? t.value : t;
968
1100
  for (let r of e) if (M(r) && (r.key === t || r.key === n || N(r.key) && r.key.value === n)) return r;
969
1101
  }
970
- var q = class extends Ee {
1102
+ var Y = class extends ze {
971
1103
  static get tagName() {
972
1104
  return "tag:yaml.org,2002:map";
973
1105
  }
974
1106
  constructor(e) {
975
- super(T, e), this.items = [];
1107
+ super(D, e), this.items = [];
976
1108
  }
977
1109
  static from(e, t, n) {
978
1110
  let { keepUndefined: r, replacer: i } = n, a = new this(e), o = (e, o) => {
979
1111
  if (typeof i == "function") o = i.call(t, e, o);
980
1112
  else if (Array.isArray(i) && !i.includes(e)) return;
981
- (o !== void 0 || r) && a.items.push(Qe(e, o, n));
1113
+ (o !== void 0 || r) && a.items.push(ft(e, o, n));
982
1114
  };
983
1115
  if (t instanceof Map) for (let [e, n] of t) o(e, n);
984
1116
  else if (t && typeof t == "object") for (let e of Object.keys(t)) o(e, t[e]);
@@ -986,40 +1118,40 @@ var q = class extends Ee {
986
1118
  }
987
1119
  add(e, t) {
988
1120
  let n;
989
- n = M(e) ? e : !e || typeof e != "object" || !("key" in e) ? new G(e, e?.value) : new G(e.key, e.value);
990
- let r = K(this.items, n.key), i = this.schema?.sortMapEntries;
1121
+ n = M(e) ? e : !e || typeof e != "object" || !("key" in e) ? new q(e, e?.value) : new q(e.key, e.value);
1122
+ let r = J(this.items, n.key), i = this.schema?.sortMapEntries;
991
1123
  if (r) {
992
1124
  if (!t) throw Error(`Key ${n.key} already set`);
993
- N(r.value) && be(n.value) ? r.value.value = n.value : r.value = n.value;
1125
+ N(r.value) && Ne(n.value) ? r.value.value = n.value : r.value = n.value;
994
1126
  } else if (i) {
995
1127
  let e = this.items.findIndex((e) => i(n, e) < 0);
996
1128
  e === -1 ? this.items.push(n) : this.items.splice(e, 0, n);
997
1129
  } else this.items.push(n);
998
1130
  }
999
1131
  delete(e) {
1000
- let t = K(this.items, e);
1132
+ let t = J(this.items, e);
1001
1133
  return t ? this.items.splice(this.items.indexOf(t), 1).length > 0 : !1;
1002
1134
  }
1003
1135
  get(e, t) {
1004
- let n = K(this.items, e)?.value;
1136
+ let n = J(this.items, e)?.value;
1005
1137
  return (!t && N(n) ? n.value : n) ?? void 0;
1006
1138
  }
1007
1139
  has(e) {
1008
- return !!K(this.items, e);
1140
+ return !!J(this.items, e);
1009
1141
  }
1010
1142
  set(e, t) {
1011
- this.add(new G(e, t), !0);
1143
+ this.add(new q(e, t), !0);
1012
1144
  }
1013
1145
  toJSON(e, t, n) {
1014
1146
  let r = n ? new n() : t?.mapAsMap ? /* @__PURE__ */ new Map() : {};
1015
1147
  t?.onCreate && t.onCreate(r);
1016
- for (let e of this.items) Je(t, r, e);
1148
+ for (let e of this.items) ct(t, r, e);
1017
1149
  return r;
1018
1150
  }
1019
1151
  toString(e, t, n) {
1020
1152
  if (!e) return JSON.stringify(this);
1021
1153
  for (let e of this.items) if (!M(e)) throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);
1022
- return !e.allNullValues && this.hasAllNullValues(!1) && (e = Object.assign({}, e, { allNullValues: !0 })), $e(this, e, {
1154
+ return !e.allNullValues && this.hasAllNullValues(!1) && (e = Object.assign({}, e, { allNullValues: !0 })), pt(this, e, {
1023
1155
  blockItemPrefix: "",
1024
1156
  flowChars: {
1025
1157
  start: "{",
@@ -1030,54 +1162,54 @@ var q = class extends Ee {
1030
1162
  onComment: t
1031
1163
  });
1032
1164
  }
1033
- }, rt = {
1165
+ }, _t = {
1034
1166
  collection: "map",
1035
1167
  default: !0,
1036
- nodeClass: q,
1168
+ nodeClass: Y,
1037
1169
  tag: "tag:yaml.org,2002:map",
1038
1170
  resolve(e, t) {
1039
1171
  return j(e) || t("Expected a mapping for this tag"), e;
1040
1172
  },
1041
- createNode: (e, t, n) => q.from(e, t, n)
1042
- }, J = class extends Ee {
1173
+ createNode: (e, t, n) => Y.from(e, t, n)
1174
+ }, X = class extends ze {
1043
1175
  static get tagName() {
1044
1176
  return "tag:yaml.org,2002:seq";
1045
1177
  }
1046
1178
  constructor(e) {
1047
- super(O, e), this.items = [];
1179
+ super(k, e), this.items = [];
1048
1180
  }
1049
1181
  add(e) {
1050
1182
  this.items.push(e);
1051
1183
  }
1052
1184
  delete(e) {
1053
- let t = it(e);
1185
+ let t = vt(e);
1054
1186
  return typeof t == "number" && this.items.splice(t, 1).length > 0;
1055
1187
  }
1056
1188
  get(e, t) {
1057
- let n = it(e);
1189
+ let n = vt(e);
1058
1190
  if (typeof n != "number") return;
1059
1191
  let r = this.items[n];
1060
1192
  return !t && N(r) ? r.value : r;
1061
1193
  }
1062
1194
  has(e) {
1063
- let t = it(e);
1195
+ let t = vt(e);
1064
1196
  return typeof t == "number" && t < this.items.length;
1065
1197
  }
1066
1198
  set(e, t) {
1067
- let n = it(e);
1199
+ let n = vt(e);
1068
1200
  if (typeof n != "number") throw Error(`Expected a valid index, not ${e}.`);
1069
1201
  let r = this.items[n];
1070
- N(r) && be(t) ? r.value = t : this.items[n] = t;
1202
+ N(r) && Ne(t) ? r.value = t : this.items[n] = t;
1071
1203
  }
1072
1204
  toJSON(e, t) {
1073
1205
  let n = [];
1074
1206
  t?.onCreate && t.onCreate(n);
1075
1207
  let r = 0;
1076
- for (let e of this.items) n.push(z(e, String(r++), t));
1208
+ for (let e of this.items) n.push(H(e, String(r++), t));
1077
1209
  return n;
1078
1210
  }
1079
1211
  toString(e, t, n) {
1080
- return e ? $e(this, e, {
1212
+ return e ? pt(this, e, {
1081
1213
  blockItemPrefix: "- ",
1082
1214
  flowChars: {
1083
1215
  start: "[",
@@ -1097,56 +1229,56 @@ var q = class extends Ee {
1097
1229
  let n = t instanceof Set ? a : String(e++);
1098
1230
  a = r.call(t, n, a);
1099
1231
  }
1100
- i.items.push(Ce(a, void 0, n));
1232
+ i.items.push(Ie(a, void 0, n));
1101
1233
  }
1102
1234
  }
1103
1235
  return i;
1104
1236
  }
1105
1237
  };
1106
- function it(e) {
1238
+ function vt(e) {
1107
1239
  let t = N(e) ? e.value : e;
1108
1240
  return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
1109
1241
  }
1110
1242
  //#endregion
1111
1243
  //#region node_modules/yaml/browser/dist/schema/common/seq.js
1112
- var at = {
1244
+ var yt = {
1113
1245
  collection: "seq",
1114
1246
  default: !0,
1115
- nodeClass: J,
1247
+ nodeClass: X,
1116
1248
  tag: "tag:yaml.org,2002:seq",
1117
1249
  resolve(e, t) {
1118
1250
  return P(e) || t("Expected a sequence for this tag"), e;
1119
1251
  },
1120
- createNode: (e, t, n) => J.from(e, t, n)
1121
- }, ot = {
1252
+ createNode: (e, t, n) => X.from(e, t, n)
1253
+ }, bt = {
1122
1254
  identify: (e) => typeof e == "string",
1123
1255
  default: !0,
1124
1256
  tag: "tag:yaml.org,2002:str",
1125
1257
  resolve: (e) => e,
1126
1258
  stringify(e, t, n, r) {
1127
- return t = Object.assign({ actualString: !0 }, t), Ve(e, t, n, r);
1259
+ return t = Object.assign({ actualString: !0 }, t), et(e, t, n, r);
1128
1260
  }
1129
- }, st = {
1261
+ }, xt = {
1130
1262
  identify: (e) => e == null,
1131
- createNode: () => new B(null),
1263
+ createNode: () => new U(null),
1132
1264
  default: !0,
1133
1265
  tag: "tag:yaml.org,2002:null",
1134
1266
  test: /^(?:~|[Nn]ull|NULL)?$/,
1135
- resolve: () => new B(null),
1136
- stringify: ({ source: e }, t) => typeof e == "string" && st.test.test(e) ? e : t.options.nullStr
1137
- }, ct = {
1267
+ resolve: () => new U(null),
1268
+ stringify: ({ source: e }, t) => typeof e == "string" && xt.test.test(e) ? e : t.options.nullStr
1269
+ }, St = {
1138
1270
  identify: (e) => typeof e == "boolean",
1139
1271
  default: !0,
1140
1272
  tag: "tag:yaml.org,2002:bool",
1141
1273
  test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
1142
- resolve: (e) => new B(e[0] === "t" || e[0] === "T"),
1274
+ resolve: (e) => new U(e[0] === "t" || e[0] === "T"),
1143
1275
  stringify({ source: e, value: t }, n) {
1144
- return e && ct.test.test(e) && t === (e[0] === "t" || e[0] === "T") ? e : t ? n.options.trueStr : n.options.falseStr;
1276
+ return e && St.test.test(e) && t === (e[0] === "t" || e[0] === "T") ? e : t ? n.options.trueStr : n.options.falseStr;
1145
1277
  }
1146
1278
  };
1147
1279
  //#endregion
1148
1280
  //#region node_modules/yaml/browser/dist/stringify/stringifyNumber.js
1149
- function Y({ format: e, minFractionDigits: t, tag: n, value: r }) {
1281
+ function Z({ format: e, minFractionDigits: t, tag: n, value: r }) {
1150
1282
  if (typeof r == "bigint") return String(r);
1151
1283
  let i = typeof r == "number" ? r : Number(r);
1152
1284
  if (!isFinite(i)) return isNaN(i) ? ".nan" : i < 0 ? "-.inf" : ".inf";
@@ -1161,14 +1293,14 @@ function Y({ format: e, minFractionDigits: t, tag: n, value: r }) {
1161
1293
  }
1162
1294
  //#endregion
1163
1295
  //#region node_modules/yaml/browser/dist/schema/core/float.js
1164
- var lt = {
1296
+ var Ct = {
1165
1297
  identify: (e) => typeof e == "number",
1166
1298
  default: !0,
1167
1299
  tag: "tag:yaml.org,2002:float",
1168
1300
  test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
1169
1301
  resolve: (e) => e.slice(-3).toLowerCase() === "nan" ? NaN : e[0] === "-" ? -Infinity : Infinity,
1170
- stringify: Y
1171
- }, ut = {
1302
+ stringify: Z
1303
+ }, wt = {
1172
1304
  identify: (e) => typeof e == "number",
1173
1305
  default: !0,
1174
1306
  tag: "tag:yaml.org,2002:float",
@@ -1177,80 +1309,80 @@ var lt = {
1177
1309
  resolve: (e) => parseFloat(e),
1178
1310
  stringify(e) {
1179
1311
  let t = Number(e.value);
1180
- return isFinite(t) ? t.toExponential() : Y(e);
1312
+ return isFinite(t) ? t.toExponential() : Z(e);
1181
1313
  }
1182
- }, dt = {
1314
+ }, Tt = {
1183
1315
  identify: (e) => typeof e == "number",
1184
1316
  default: !0,
1185
1317
  tag: "tag:yaml.org,2002:float",
1186
1318
  test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,
1187
1319
  resolve(e) {
1188
- let t = new B(parseFloat(e)), n = e.indexOf(".");
1320
+ let t = new U(parseFloat(e)), n = e.indexOf(".");
1189
1321
  return n !== -1 && e[e.length - 1] === "0" && (t.minFractionDigits = e.length - n - 1), t;
1190
1322
  },
1191
- stringify: Y
1192
- }, ft = (e) => typeof e == "bigint" || Number.isInteger(e), pt = (e, t, n, { intAsBigInt: r }) => r ? BigInt(e) : parseInt(e.substring(t), n);
1193
- function mt(e, t, n) {
1323
+ stringify: Z
1324
+ }, Et = (e) => typeof e == "bigint" || Number.isInteger(e), Dt = (e, t, n, { intAsBigInt: r }) => r ? BigInt(e) : parseInt(e.substring(t), n);
1325
+ function Ot(e, t, n) {
1194
1326
  let { value: r } = e;
1195
- return ft(r) && r >= 0 ? n + r.toString(t) : Y(e);
1327
+ return Et(r) && r >= 0 ? n + r.toString(t) : Z(e);
1196
1328
  }
1197
- var ht = {
1198
- identify: (e) => ft(e) && e >= 0,
1329
+ var kt = {
1330
+ identify: (e) => Et(e) && e >= 0,
1199
1331
  default: !0,
1200
1332
  tag: "tag:yaml.org,2002:int",
1201
1333
  format: "OCT",
1202
1334
  test: /^0o[0-7]+$/,
1203
- resolve: (e, t, n) => pt(e, 2, 8, n),
1204
- stringify: (e) => mt(e, 8, "0o")
1205
- }, gt = {
1206
- identify: ft,
1335
+ resolve: (e, t, n) => Dt(e, 2, 8, n),
1336
+ stringify: (e) => Ot(e, 8, "0o")
1337
+ }, At = {
1338
+ identify: Et,
1207
1339
  default: !0,
1208
1340
  tag: "tag:yaml.org,2002:int",
1209
1341
  test: /^[-+]?[0-9]+$/,
1210
- resolve: (e, t, n) => pt(e, 0, 10, n),
1211
- stringify: Y
1212
- }, _t = {
1213
- identify: (e) => ft(e) && e >= 0,
1342
+ resolve: (e, t, n) => Dt(e, 0, 10, n),
1343
+ stringify: Z
1344
+ }, jt = {
1345
+ identify: (e) => Et(e) && e >= 0,
1214
1346
  default: !0,
1215
1347
  tag: "tag:yaml.org,2002:int",
1216
1348
  format: "HEX",
1217
1349
  test: /^0x[0-9a-fA-F]+$/,
1218
- resolve: (e, t, n) => pt(e, 2, 16, n),
1219
- stringify: (e) => mt(e, 16, "0x")
1220
- }, vt = [
1221
- rt,
1222
- at,
1223
- ot,
1224
- st,
1225
- ct,
1226
- ht,
1227
- gt,
1350
+ resolve: (e, t, n) => Dt(e, 2, 16, n),
1351
+ stringify: (e) => Ot(e, 16, "0x")
1352
+ }, Mt = [
1228
1353
  _t,
1229
- lt,
1230
- ut,
1231
- dt
1354
+ yt,
1355
+ bt,
1356
+ xt,
1357
+ St,
1358
+ kt,
1359
+ At,
1360
+ jt,
1361
+ Ct,
1362
+ wt,
1363
+ Tt
1232
1364
  ];
1233
1365
  //#endregion
1234
1366
  //#region node_modules/yaml/browser/dist/schema/json/schema.js
1235
- function yt(e) {
1367
+ function Nt(e) {
1236
1368
  return typeof e == "bigint" || Number.isInteger(e);
1237
1369
  }
1238
- var bt = ({ value: e }) => JSON.stringify(e), xt = [
1370
+ var Pt = ({ value: e }) => JSON.stringify(e), Ft = [
1239
1371
  {
1240
1372
  identify: (e) => typeof e == "string",
1241
1373
  default: !0,
1242
1374
  tag: "tag:yaml.org,2002:str",
1243
1375
  resolve: (e) => e,
1244
- stringify: bt
1376
+ stringify: Pt
1245
1377
  },
1246
1378
  {
1247
1379
  identify: (e) => e == null,
1248
- createNode: () => new B(null),
1380
+ createNode: () => new U(null),
1249
1381
  default: !0,
1250
1382
  tag: "tag:yaml.org,2002:null",
1251
1383
  test: /^null$/,
1252
1384
  resolve: () => null,
1253
- stringify: bt
1385
+ stringify: Pt
1254
1386
  },
1255
1387
  {
1256
1388
  identify: (e) => typeof e == "boolean",
@@ -1258,15 +1390,15 @@ var bt = ({ value: e }) => JSON.stringify(e), xt = [
1258
1390
  tag: "tag:yaml.org,2002:bool",
1259
1391
  test: /^true|false$/,
1260
1392
  resolve: (e) => e === "true",
1261
- stringify: bt
1393
+ stringify: Pt
1262
1394
  },
1263
1395
  {
1264
- identify: yt,
1396
+ identify: Nt,
1265
1397
  default: !0,
1266
1398
  tag: "tag:yaml.org,2002:int",
1267
1399
  test: /^-?(?:0|[1-9][0-9]*)$/,
1268
1400
  resolve: (e, t, { intAsBigInt: n }) => n ? BigInt(e) : parseInt(e, 10),
1269
- stringify: ({ value: e }) => yt(e) ? e.toString() : JSON.stringify(e)
1401
+ stringify: ({ value: e }) => Nt(e) ? e.toString() : JSON.stringify(e)
1270
1402
  },
1271
1403
  {
1272
1404
  identify: (e) => typeof e == "number",
@@ -1274,16 +1406,16 @@ var bt = ({ value: e }) => JSON.stringify(e), xt = [
1274
1406
  tag: "tag:yaml.org,2002:float",
1275
1407
  test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
1276
1408
  resolve: (e) => parseFloat(e),
1277
- stringify: bt
1409
+ stringify: Pt
1278
1410
  }
1279
- ], St = [rt, at].concat(xt, {
1411
+ ], It = [_t, yt].concat(Ft, {
1280
1412
  default: !0,
1281
1413
  tag: "",
1282
1414
  test: /^/,
1283
1415
  resolve(e, t) {
1284
1416
  return t(`Unresolved plain scalar ${JSON.stringify(e)}`), e;
1285
1417
  }
1286
- }), Ct = {
1418
+ }), Lt = {
1287
1419
  identify: (e) => e instanceof Uint8Array,
1288
1420
  default: !1,
1289
1421
  tag: "tag:yaml.org,2002:binary",
@@ -1304,12 +1436,12 @@ var bt = ({ value: e }) => JSON.stringify(e), xt = [
1304
1436
  for (let t = 0; t < o.length; ++t) e += String.fromCharCode(o[t]);
1305
1437
  s = btoa(e);
1306
1438
  } else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");
1307
- if (t ||= B.BLOCK_LITERAL, t !== B.QUOTE_DOUBLE) {
1439
+ if (t ||= U.BLOCK_LITERAL, t !== U.QUOTE_DOUBLE) {
1308
1440
  let e = Math.max(r.options.lineWidth - r.indent.length, r.options.minContentWidth), n = Math.ceil(s.length / e), i = Array(n);
1309
1441
  for (let t = 0, r = 0; t < n; ++t, r += e) i[t] = s.substr(r, e);
1310
- s = i.join(t === B.BLOCK_LITERAL ? "\n" : " ");
1442
+ s = i.join(t === U.BLOCK_LITERAL ? "\n" : " ");
1311
1443
  }
1312
- return Ve({
1444
+ return et({
1313
1445
  comment: e,
1314
1446
  type: t,
1315
1447
  value: s
@@ -1318,27 +1450,27 @@ var bt = ({ value: e }) => JSON.stringify(e), xt = [
1318
1450
  };
1319
1451
  //#endregion
1320
1452
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
1321
- function wt(e, t) {
1453
+ function Rt(e, t) {
1322
1454
  if (P(e)) for (let n = 0; n < e.items.length; ++n) {
1323
1455
  let r = e.items[n];
1324
1456
  if (!M(r)) {
1325
1457
  if (j(r)) {
1326
1458
  r.items.length > 1 && t("Each pair must have its own sequence indicator");
1327
- let e = r.items[0] || new G(new B(null));
1459
+ let e = r.items[0] || new q(new U(null));
1328
1460
  if (r.commentBefore && (e.key.commentBefore = e.key.commentBefore ? `${r.commentBefore}\n${e.key.commentBefore}` : r.commentBefore), r.comment) {
1329
1461
  let t = e.value ?? e.key;
1330
1462
  t.comment = t.comment ? `${r.comment}\n${t.comment}` : r.comment;
1331
1463
  }
1332
1464
  r = e;
1333
1465
  }
1334
- e.items[n] = M(r) ? r : new G(r);
1466
+ e.items[n] = M(r) ? r : new q(r);
1335
1467
  }
1336
1468
  }
1337
1469
  else t("Expected a sequence for this tag");
1338
1470
  return e;
1339
1471
  }
1340
- function Tt(e, t, n) {
1341
- let { replacer: r } = n, i = new J(e);
1472
+ function zt(e, t, n) {
1473
+ let { replacer: r } = n, i = new X(e);
1342
1474
  i.tag = "tag:yaml.org,2002:pairs";
1343
1475
  let a = 0;
1344
1476
  if (t && Symbol.iterator in Object(t)) for (let e of t) {
@@ -1352,19 +1484,19 @@ function Tt(e, t, n) {
1352
1484
  if (t.length === 1) o = t[0], s = e[o];
1353
1485
  else throw TypeError(`Expected tuple with one key, not ${t.length} keys`);
1354
1486
  } else o = e;
1355
- i.items.push(Qe(o, s, n));
1487
+ i.items.push(ft(o, s, n));
1356
1488
  }
1357
1489
  return i;
1358
1490
  }
1359
- var Et = {
1491
+ var Bt = {
1360
1492
  collection: "seq",
1361
1493
  default: !1,
1362
1494
  tag: "tag:yaml.org,2002:pairs",
1363
- resolve: wt,
1364
- createNode: Tt
1365
- }, Dt = class e extends J {
1495
+ resolve: Rt,
1496
+ createNode: zt
1497
+ }, Vt = class e extends X {
1366
1498
  constructor() {
1367
- super(), this.add = q.prototype.add.bind(this), this.delete = q.prototype.delete.bind(this), this.get = q.prototype.get.bind(this), this.has = q.prototype.has.bind(this), this.set = q.prototype.set.bind(this), this.tag = e.tag;
1499
+ super(), this.add = Y.prototype.add.bind(this), this.delete = Y.prototype.delete.bind(this), this.get = Y.prototype.get.bind(this), this.has = Y.prototype.has.bind(this), this.set = Y.prototype.set.bind(this), this.tag = e.tag;
1368
1500
  }
1369
1501
  toJSON(e, t) {
1370
1502
  if (!t) return super.toJSON(e);
@@ -1372,57 +1504,57 @@ var Et = {
1372
1504
  t?.onCreate && t.onCreate(n);
1373
1505
  for (let e of this.items) {
1374
1506
  let r, i;
1375
- if (M(e) ? (r = z(e.key, "", t), i = z(e.value, r, t)) : r = z(e, "", t), n.has(r)) throw Error("Ordered maps must not include duplicate keys");
1507
+ if (M(e) ? (r = H(e.key, "", t), i = H(e.value, r, t)) : r = H(e, "", t), n.has(r)) throw Error("Ordered maps must not include duplicate keys");
1376
1508
  n.set(r, i);
1377
1509
  }
1378
1510
  return n;
1379
1511
  }
1380
1512
  static from(e, t, n) {
1381
- let r = Tt(e, t, n), i = new this();
1513
+ let r = zt(e, t, n), i = new this();
1382
1514
  return i.items = r.items, i;
1383
1515
  }
1384
1516
  };
1385
- Dt.tag = "tag:yaml.org,2002:omap";
1386
- var Ot = {
1517
+ Vt.tag = "tag:yaml.org,2002:omap";
1518
+ var Ht = {
1387
1519
  collection: "seq",
1388
1520
  identify: (e) => e instanceof Map,
1389
- nodeClass: Dt,
1521
+ nodeClass: Vt,
1390
1522
  default: !1,
1391
1523
  tag: "tag:yaml.org,2002:omap",
1392
1524
  resolve(e, t) {
1393
- let n = wt(e, t), r = [];
1525
+ let n = Rt(e, t), r = [];
1394
1526
  for (let { key: e } of n.items) N(e) && (r.includes(e.value) ? t(`Ordered maps must not include duplicate keys: ${e.value}`) : r.push(e.value));
1395
- return Object.assign(new Dt(), n);
1527
+ return Object.assign(new Vt(), n);
1396
1528
  },
1397
- createNode: (e, t, n) => Dt.from(e, t, n)
1529
+ createNode: (e, t, n) => Vt.from(e, t, n)
1398
1530
  };
1399
1531
  //#endregion
1400
1532
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
1401
- function kt({ value: e, source: t }, n) {
1402
- return t && (e ? At : jt).test.test(t) ? t : e ? n.options.trueStr : n.options.falseStr;
1533
+ function Ut({ value: e, source: t }, n) {
1534
+ return t && (e ? Wt : Gt).test.test(t) ? t : e ? n.options.trueStr : n.options.falseStr;
1403
1535
  }
1404
- var At = {
1536
+ var Wt = {
1405
1537
  identify: (e) => e === !0,
1406
1538
  default: !0,
1407
1539
  tag: "tag:yaml.org,2002:bool",
1408
1540
  test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,
1409
- resolve: () => new B(!0),
1410
- stringify: kt
1411
- }, jt = {
1541
+ resolve: () => new U(!0),
1542
+ stringify: Ut
1543
+ }, Gt = {
1412
1544
  identify: (e) => e === !1,
1413
1545
  default: !0,
1414
1546
  tag: "tag:yaml.org,2002:bool",
1415
1547
  test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
1416
- resolve: () => new B(!1),
1417
- stringify: kt
1418
- }, Mt = {
1548
+ resolve: () => new U(!1),
1549
+ stringify: Ut
1550
+ }, Kt = {
1419
1551
  identify: (e) => typeof e == "number",
1420
1552
  default: !0,
1421
1553
  tag: "tag:yaml.org,2002:float",
1422
1554
  test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
1423
1555
  resolve: (e) => e.slice(-3).toLowerCase() === "nan" ? NaN : e[0] === "-" ? -Infinity : Infinity,
1424
- stringify: Y
1425
- }, Nt = {
1556
+ stringify: Z
1557
+ }, qt = {
1426
1558
  identify: (e) => typeof e == "number",
1427
1559
  default: !0,
1428
1560
  tag: "tag:yaml.org,2002:float",
@@ -1431,24 +1563,24 @@ var At = {
1431
1563
  resolve: (e) => parseFloat(e.replace(/_/g, "")),
1432
1564
  stringify(e) {
1433
1565
  let t = Number(e.value);
1434
- return isFinite(t) ? t.toExponential() : Y(e);
1566
+ return isFinite(t) ? t.toExponential() : Z(e);
1435
1567
  }
1436
- }, Pt = {
1568
+ }, Jt = {
1437
1569
  identify: (e) => typeof e == "number",
1438
1570
  default: !0,
1439
1571
  tag: "tag:yaml.org,2002:float",
1440
1572
  test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,
1441
1573
  resolve(e) {
1442
- let t = new B(parseFloat(e.replace(/_/g, ""))), n = e.indexOf(".");
1574
+ let t = new U(parseFloat(e.replace(/_/g, ""))), n = e.indexOf(".");
1443
1575
  if (n !== -1) {
1444
1576
  let r = e.substring(n + 1).replace(/_/g, "");
1445
1577
  r[r.length - 1] === "0" && (t.minFractionDigits = r.length);
1446
1578
  }
1447
1579
  return t;
1448
1580
  },
1449
- stringify: Y
1450
- }, Ft = (e) => typeof e == "bigint" || Number.isInteger(e);
1451
- function It(e, t, n, { intAsBigInt: r }) {
1581
+ stringify: Z
1582
+ }, Yt = (e) => typeof e == "bigint" || Number.isInteger(e);
1583
+ function Xt(e, t, n, { intAsBigInt: r }) {
1452
1584
  let i = e[0];
1453
1585
  if ((i === "-" || i === "+") && (t += 1), e = e.substring(t).replace(/_/g, ""), r) {
1454
1586
  switch (n) {
@@ -1466,61 +1598,61 @@ function It(e, t, n, { intAsBigInt: r }) {
1466
1598
  let a = parseInt(e, n);
1467
1599
  return i === "-" ? -1 * a : a;
1468
1600
  }
1469
- function Lt(e, t, n) {
1601
+ function Zt(e, t, n) {
1470
1602
  let { value: r } = e;
1471
- if (Ft(r)) {
1603
+ if (Yt(r)) {
1472
1604
  let e = r.toString(t);
1473
1605
  return r < 0 ? "-" + n + e.substr(1) : n + e;
1474
1606
  }
1475
- return Y(e);
1607
+ return Z(e);
1476
1608
  }
1477
- var Rt = {
1478
- identify: Ft,
1609
+ var Qt = {
1610
+ identify: Yt,
1479
1611
  default: !0,
1480
1612
  tag: "tag:yaml.org,2002:int",
1481
1613
  format: "BIN",
1482
1614
  test: /^[-+]?0b[0-1_]+$/,
1483
- resolve: (e, t, n) => It(e, 2, 2, n),
1484
- stringify: (e) => Lt(e, 2, "0b")
1485
- }, zt = {
1486
- identify: Ft,
1615
+ resolve: (e, t, n) => Xt(e, 2, 2, n),
1616
+ stringify: (e) => Zt(e, 2, "0b")
1617
+ }, $t = {
1618
+ identify: Yt,
1487
1619
  default: !0,
1488
1620
  tag: "tag:yaml.org,2002:int",
1489
1621
  format: "OCT",
1490
1622
  test: /^[-+]?0[0-7_]+$/,
1491
- resolve: (e, t, n) => It(e, 1, 8, n),
1492
- stringify: (e) => Lt(e, 8, "0")
1493
- }, Bt = {
1494
- identify: Ft,
1623
+ resolve: (e, t, n) => Xt(e, 1, 8, n),
1624
+ stringify: (e) => Zt(e, 8, "0")
1625
+ }, en = {
1626
+ identify: Yt,
1495
1627
  default: !0,
1496
1628
  tag: "tag:yaml.org,2002:int",
1497
1629
  test: /^[-+]?[0-9][0-9_]*$/,
1498
- resolve: (e, t, n) => It(e, 0, 10, n),
1499
- stringify: Y
1500
- }, Vt = {
1501
- identify: Ft,
1630
+ resolve: (e, t, n) => Xt(e, 0, 10, n),
1631
+ stringify: Z
1632
+ }, tn = {
1633
+ identify: Yt,
1502
1634
  default: !0,
1503
1635
  tag: "tag:yaml.org,2002:int",
1504
1636
  format: "HEX",
1505
1637
  test: /^[-+]?0x[0-9a-fA-F_]+$/,
1506
- resolve: (e, t, n) => It(e, 2, 16, n),
1507
- stringify: (e) => Lt(e, 16, "0x")
1508
- }, Ht = class e extends q {
1638
+ resolve: (e, t, n) => Xt(e, 2, 16, n),
1639
+ stringify: (e) => Zt(e, 16, "0x")
1640
+ }, nn = class e extends Y {
1509
1641
  constructor(t) {
1510
1642
  super(t), this.tag = e.tag;
1511
1643
  }
1512
1644
  add(e) {
1513
1645
  let t;
1514
- t = M(e) ? e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? new G(e.key, null) : new G(e, null), K(this.items, t.key) || this.items.push(t);
1646
+ t = M(e) ? e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? new q(e.key, null) : new q(e, null), J(this.items, t.key) || this.items.push(t);
1515
1647
  }
1516
1648
  get(e, t) {
1517
- let n = K(this.items, e);
1649
+ let n = J(this.items, e);
1518
1650
  return !t && M(n) ? N(n.key) ? n.key.value : n.key : n;
1519
1651
  }
1520
1652
  set(e, t) {
1521
1653
  if (typeof t != "boolean") throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);
1522
- let n = K(this.items, e);
1523
- n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new G(e));
1654
+ let n = J(this.items, e);
1655
+ n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new q(e));
1524
1656
  }
1525
1657
  toJSON(e, t) {
1526
1658
  return super.toJSON(e, t, Set);
@@ -1532,21 +1664,21 @@ var Rt = {
1532
1664
  }
1533
1665
  static from(e, t, n) {
1534
1666
  let { replacer: r } = n, i = new this(e);
1535
- if (t && Symbol.iterator in Object(t)) for (let e of t) typeof r == "function" && (e = r.call(t, e, e)), i.items.push(Qe(e, null, n));
1667
+ if (t && Symbol.iterator in Object(t)) for (let e of t) typeof r == "function" && (e = r.call(t, e, e)), i.items.push(ft(e, null, n));
1536
1668
  return i;
1537
1669
  }
1538
1670
  };
1539
- Ht.tag = "tag:yaml.org,2002:set";
1540
- var Ut = {
1671
+ nn.tag = "tag:yaml.org,2002:set";
1672
+ var rn = {
1541
1673
  collection: "map",
1542
1674
  identify: (e) => e instanceof Set,
1543
- nodeClass: Ht,
1675
+ nodeClass: nn,
1544
1676
  default: !1,
1545
1677
  tag: "tag:yaml.org,2002:set",
1546
- createNode: (e, t, n) => Ht.from(e, t, n),
1678
+ createNode: (e, t, n) => nn.from(e, t, n),
1547
1679
  resolve(e, t) {
1548
1680
  if (j(e)) {
1549
- if (e.hasAllNullValues(!0)) return Object.assign(new Ht(), e);
1681
+ if (e.hasAllNullValues(!0)) return Object.assign(new nn(), e);
1550
1682
  t("Set items must all have null values");
1551
1683
  } else t("Expected a mapping for this tag");
1552
1684
  return e;
@@ -1554,113 +1686,113 @@ var Ut = {
1554
1686
  };
1555
1687
  //#endregion
1556
1688
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
1557
- function Wt(e, t) {
1689
+ function an(e, t) {
1558
1690
  let n = e[0], r = n === "-" || n === "+" ? e.substring(1) : e, i = (e) => t ? BigInt(e) : Number(e), a = r.replace(/_/g, "").split(":").reduce((e, t) => e * i(60) + i(t), i(0));
1559
1691
  return n === "-" ? i(-1) * a : a;
1560
1692
  }
1561
- function Gt(e) {
1693
+ function on(e) {
1562
1694
  let { value: t } = e, n = (e) => e;
1563
1695
  if (typeof t == "bigint") n = (e) => BigInt(e);
1564
- else if (isNaN(t) || !isFinite(t)) return Y(e);
1696
+ else if (isNaN(t) || !isFinite(t)) return Z(e);
1565
1697
  let r = "";
1566
1698
  t < 0 && (r = "-", t *= n(-1));
1567
1699
  let i = n(60), a = [t % i];
1568
1700
  return t < 60 ? a.unshift(0) : (t = (t - a[0]) / i, a.unshift(t % i), t >= 60 && (t = (t - a[0]) / i, a.unshift(t))), r + a.map((e) => String(e).padStart(2, "0")).join(":").replace(/000000\d*$/, "");
1569
1701
  }
1570
- var Kt = {
1702
+ var sn = {
1571
1703
  identify: (e) => typeof e == "bigint" || Number.isInteger(e),
1572
1704
  default: !0,
1573
1705
  tag: "tag:yaml.org,2002:int",
1574
1706
  format: "TIME",
1575
1707
  test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
1576
- resolve: (e, t, { intAsBigInt: n }) => Wt(e, n),
1577
- stringify: Gt
1578
- }, qt = {
1708
+ resolve: (e, t, { intAsBigInt: n }) => an(e, n),
1709
+ stringify: on
1710
+ }, cn = {
1579
1711
  identify: (e) => typeof e == "number",
1580
1712
  default: !0,
1581
1713
  tag: "tag:yaml.org,2002:float",
1582
1714
  format: "TIME",
1583
1715
  test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
1584
- resolve: (e) => Wt(e, !1),
1585
- stringify: Gt
1586
- }, Jt = {
1716
+ resolve: (e) => an(e, !1),
1717
+ stringify: on
1718
+ }, ln = {
1587
1719
  identify: (e) => e instanceof Date,
1588
1720
  default: !0,
1589
1721
  tag: "tag:yaml.org,2002:timestamp",
1590
1722
  test: RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),
1591
1723
  resolve(e) {
1592
- let t = e.match(Jt.test);
1724
+ let t = e.match(ln.test);
1593
1725
  if (!t) throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");
1594
1726
  let [, n, r, i, a, o, s] = t.map(Number), c = t[7] ? Number((t[7] + "00").substr(1, 3)) : 0, l = Date.UTC(n, r - 1, i, a || 0, o || 0, s || 0, c), u = t[8];
1595
1727
  if (u && u !== "Z") {
1596
- let e = Wt(u, !1);
1728
+ let e = an(u, !1);
1597
1729
  Math.abs(e) < 30 && (e *= 60), l -= 6e4 * e;
1598
1730
  }
1599
1731
  return new Date(l);
1600
1732
  },
1601
1733
  stringify: ({ value: e }) => e.toISOString().replace(/((T00:00)?:00)?\.000Z$/, "")
1602
- }, Yt = [
1603
- rt,
1604
- at,
1605
- ot,
1606
- st,
1607
- At,
1608
- jt,
1609
- Rt,
1610
- zt,
1611
- Bt,
1612
- Vt,
1613
- Mt,
1614
- Nt,
1615
- Pt,
1616
- Ct,
1617
- Ot,
1618
- Et,
1619
- Ut,
1734
+ }, un = [
1735
+ _t,
1736
+ yt,
1737
+ bt,
1738
+ xt,
1739
+ Wt,
1740
+ Gt,
1741
+ Qt,
1742
+ $t,
1743
+ en,
1744
+ tn,
1620
1745
  Kt,
1621
1746
  qt,
1622
- Jt
1623
- ], Xt = /* @__PURE__ */ new Map([
1624
- ["core", vt],
1747
+ Jt,
1748
+ Lt,
1749
+ Ht,
1750
+ Bt,
1751
+ rn,
1752
+ sn,
1753
+ cn,
1754
+ ln
1755
+ ], dn = /* @__PURE__ */ new Map([
1756
+ ["core", Mt],
1625
1757
  ["failsafe", [
1626
- rt,
1627
- at,
1628
- ot
1758
+ _t,
1759
+ yt,
1760
+ bt
1629
1761
  ]],
1630
- ["json", St],
1631
- ["yaml11", Yt],
1632
- ["yaml-1.1", Yt]
1633
- ]), Zt = {
1634
- binary: Ct,
1635
- bool: ct,
1636
- float: dt,
1637
- floatExp: ut,
1638
- floatNaN: lt,
1639
- floatTime: qt,
1640
- int: gt,
1641
- intHex: _t,
1642
- intOct: ht,
1643
- intTime: Kt,
1644
- map: rt,
1645
- null: st,
1646
- omap: Ot,
1647
- pairs: Et,
1648
- seq: at,
1649
- set: Ut,
1650
- timestamp: Jt
1651
- }, Qt = {
1652
- "tag:yaml.org,2002:binary": Ct,
1653
- "tag:yaml.org,2002:omap": Ot,
1654
- "tag:yaml.org,2002:pairs": Et,
1655
- "tag:yaml.org,2002:set": Ut,
1656
- "tag:yaml.org,2002:timestamp": Jt
1762
+ ["json", It],
1763
+ ["yaml11", un],
1764
+ ["yaml-1.1", un]
1765
+ ]), fn = {
1766
+ binary: Lt,
1767
+ bool: St,
1768
+ float: Tt,
1769
+ floatExp: wt,
1770
+ floatNaN: Ct,
1771
+ floatTime: cn,
1772
+ int: At,
1773
+ intHex: jt,
1774
+ intOct: kt,
1775
+ intTime: sn,
1776
+ map: _t,
1777
+ null: xt,
1778
+ omap: Ht,
1779
+ pairs: Bt,
1780
+ seq: yt,
1781
+ set: rn,
1782
+ timestamp: ln
1783
+ }, pn = {
1784
+ "tag:yaml.org,2002:binary": Lt,
1785
+ "tag:yaml.org,2002:omap": Ht,
1786
+ "tag:yaml.org,2002:pairs": Bt,
1787
+ "tag:yaml.org,2002:set": rn,
1788
+ "tag:yaml.org,2002:timestamp": ln
1657
1789
  };
1658
- function $t(e, t) {
1659
- let n = Xt.get(t);
1790
+ function mn(e, t) {
1791
+ let n = dn.get(t);
1660
1792
  if (!n) {
1661
1793
  if (Array.isArray(e)) n = [];
1662
1794
  else {
1663
- let e = Array.from(Xt.keys()).filter((e) => e !== "yaml11").map((e) => JSON.stringify(e)).join(", ");
1795
+ let e = Array.from(dn.keys()).filter((e) => e !== "yaml11").map((e) => JSON.stringify(e)).join(", ");
1664
1796
  throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`);
1665
1797
  }
1666
1798
  }
@@ -1668,17 +1800,17 @@ function $t(e, t) {
1668
1800
  else typeof e == "function" && (n = e(n.slice()));
1669
1801
  return n.map((e) => {
1670
1802
  if (typeof e != "string") return e;
1671
- let t = Zt[e];
1803
+ let t = fn[e];
1672
1804
  if (t) return t;
1673
- let n = Object.keys(Zt).map((e) => JSON.stringify(e)).join(", ");
1805
+ let n = Object.keys(fn).map((e) => JSON.stringify(e)).join(", ");
1674
1806
  throw Error(`Unknown custom tag "${e}"; use one of ${n}`);
1675
1807
  });
1676
1808
  }
1677
1809
  //#endregion
1678
1810
  //#region node_modules/yaml/browser/dist/schema/Schema.js
1679
- var en = (e, t) => e.key < t.key ? -1 : +(e.key > t.key), tn = class e {
1811
+ var hn = (e, t) => e.key < t.key ? -1 : +(e.key > t.key), gn = class e {
1680
1812
  constructor({ compat: e, customTags: t, merge: n, resolveKnownTags: r, schema: i, sortMapEntries: a, toStringDefaults: o }) {
1681
- this.compat = Array.isArray(e) ? $t(e, "compat") : e ? $t(null, e) : null, this.merge = !!n, this.name = typeof i == "string" && i || "core", this.knownTags = r ? Qt : {}, this.tags = $t(t, this.name), this.toStringOptions = o ?? null, Object.defineProperty(this, T, { value: rt }), Object.defineProperty(this, D, { value: ot }), Object.defineProperty(this, O, { value: at }), this.sortMapEntries = typeof a == "function" ? a : a === !0 ? en : null;
1813
+ this.compat = Array.isArray(e) ? mn(e, "compat") : e ? mn(null, e) : null, this.merge = !!n, this.name = typeof i == "string" && i || "core", this.knownTags = r ? pn : {}, this.tags = mn(t, this.name), this.toStringOptions = o ?? null, Object.defineProperty(this, D, { value: _t }), Object.defineProperty(this, O, { value: bt }), Object.defineProperty(this, k, { value: yt }), this.sortMapEntries = typeof a == "function" ? a : a === !0 ? hn : null;
1682
1814
  }
1683
1815
  clone() {
1684
1816
  let t = Object.create(e.prototype, Object.getOwnPropertyDescriptors(this));
@@ -1687,47 +1819,47 @@ var en = (e, t) => e.key < t.key ? -1 : +(e.key > t.key), tn = class e {
1687
1819
  };
1688
1820
  //#endregion
1689
1821
  //#region node_modules/yaml/browser/dist/stringify/stringifyDocument.js
1690
- function nn(e, t) {
1822
+ function _n(e, t) {
1691
1823
  let n = [], r = t.directives === !0;
1692
1824
  if (t.directives !== !1 && e.directives) {
1693
1825
  let t = e.directives.toString(e);
1694
1826
  t ? (n.push(t), r = !0) : e.directives.docStart && (r = !0);
1695
1827
  }
1696
1828
  r && n.push("---");
1697
- let i = He(e, t), { commentString: a } = i.options;
1829
+ let i = tt(e, t), { commentString: a } = i.options;
1698
1830
  if (e.commentBefore) {
1699
1831
  n.length !== 1 && n.unshift("");
1700
1832
  let t = a(e.commentBefore);
1701
- n.unshift(V(t, ""));
1833
+ n.unshift(W(t, ""));
1702
1834
  }
1703
1835
  let o = !1, s = null;
1704
1836
  if (e.contents) {
1705
1837
  if (I(e.contents)) {
1706
1838
  if (e.contents.spaceBefore && r && n.push(""), e.contents.commentBefore) {
1707
1839
  let t = a(e.contents.commentBefore);
1708
- n.push(V(t, ""));
1840
+ n.push(W(t, ""));
1709
1841
  }
1710
1842
  i.forceBlockIndent = !!e.comment, s = e.contents.comment;
1711
1843
  }
1712
- let t = s ? void 0 : () => o = !0, c = W(e.contents, i, () => s = null, t);
1713
- s && (c += H(c, "", a(s))), (c[0] === "|" || c[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${c}` : n.push(c);
1714
- } else n.push(W(e.contents, i));
1844
+ let t = s ? void 0 : () => o = !0, c = it(e.contents, i, () => s = null, t);
1845
+ s && (c += G(c, "", a(s))), (c[0] === "|" || c[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${c}` : n.push(c);
1846
+ } else n.push(it(e.contents, i));
1715
1847
  if (e.directives?.docEnd) {
1716
1848
  if (e.comment) {
1717
1849
  let t = a(e.comment);
1718
- t.includes("\n") ? (n.push("..."), n.push(V(t, ""))) : n.push(`... ${t}`);
1850
+ t.includes("\n") ? (n.push("..."), n.push(W(t, ""))) : n.push(`... ${t}`);
1719
1851
  } else n.push("...");
1720
1852
  } else {
1721
1853
  let t = e.comment;
1722
- t && o && (t = t.replace(/^\n+/, "")), t && ((!o || s) && n[n.length - 1] !== "" && n.push(""), n.push(V(a(t), "")));
1854
+ t && o && (t = t.replace(/^\n+/, "")), t && ((!o || s) && n[n.length - 1] !== "" && n.push(""), n.push(W(a(t), "")));
1723
1855
  }
1724
1856
  return n.join("\n") + "\n";
1725
1857
  }
1726
1858
  //#endregion
1727
1859
  //#region node_modules/yaml/browser/dist/doc/Document.js
1728
- var rn = class e {
1860
+ var vn = class e {
1729
1861
  constructor(e, t, n) {
1730
- this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, k, { value: w });
1862
+ this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, A, { value: me });
1731
1863
  let r = null;
1732
1864
  typeof t == "function" || Array.isArray(t) ? r = t : n === void 0 && t && (n = t, t = void 0);
1733
1865
  let i = Object.assign({
@@ -1741,24 +1873,24 @@ var rn = class e {
1741
1873
  }, n);
1742
1874
  this.options = i;
1743
1875
  let { version: a } = i;
1744
- n?._directives ? (this.directives = n._directives.atDocument(), this.directives.yaml.explicit && (a = this.directives.yaml.version)) : this.directives = new de({ version: a }), this.setSchema(a, n), this.contents = e === void 0 ? null : this.createNode(e, r, n);
1876
+ n?._directives ? (this.directives = n._directives.atDocument(), this.directives.yaml.explicit && (a = this.directives.yaml.version)) : this.directives = new B({ version: a }), this.setSchema(a, n), this.contents = e === void 0 ? null : this.createNode(e, r, n);
1745
1877
  }
1746
1878
  clone() {
1747
- let t = Object.create(e.prototype, { [k]: { value: w } });
1879
+ let t = Object.create(e.prototype, { [A]: { value: me } });
1748
1880
  return t.commentBefore = this.commentBefore, t.comment = this.comment, t.errors = this.errors.slice(), t.warnings = this.warnings.slice(), t.options = Object.assign({}, this.options), this.directives && (t.directives = this.directives.clone()), t.schema = this.schema.clone(), t.contents = I(this.contents) ? this.contents.clone(t.schema) : this.contents, this.range && (t.range = this.range.slice()), t;
1749
1881
  }
1750
1882
  add(e) {
1751
- an(this.contents) && this.contents.add(e);
1883
+ yn(this.contents) && this.contents.add(e);
1752
1884
  }
1753
1885
  addIn(e, t) {
1754
- an(this.contents) && this.contents.addIn(e, t);
1886
+ yn(this.contents) && this.contents.addIn(e, t);
1755
1887
  }
1756
1888
  createAlias(e, t) {
1757
1889
  if (!e.anchor) {
1758
- let n = pe(this);
1759
- e.anchor = !t || n.has(t) ? me(t || "a", n) : t;
1890
+ let n = De(this);
1891
+ e.anchor = !t || n.has(t) ? Oe(t || "a", n) : t;
1760
1892
  }
1761
- return new ve(e.anchor);
1893
+ return new je(e.anchor);
1762
1894
  }
1763
1895
  createNode(e, t, n) {
1764
1896
  let r;
@@ -1767,7 +1899,7 @@ var rn = class e {
1767
1899
  let e = t.filter((e) => typeof e == "number" || e instanceof String || e instanceof Number).map(String);
1768
1900
  e.length > 0 && (t = t.concat(e)), r = t;
1769
1901
  } else n === void 0 && t && (n = t, t = void 0);
1770
- let { aliasDuplicateObjects: i, anchorPrefix: a, flow: o, keepUndefined: s, onTagObj: c, tag: l } = n ?? {}, { onAnchor: u, setAnchors: d, sourceObjects: f } = he(this, a || "a"), p = {
1902
+ let { aliasDuplicateObjects: i, anchorPrefix: a, flow: o, keepUndefined: s, onTagObj: c, tag: l } = n ?? {}, { onAnchor: u, setAnchors: d, sourceObjects: f } = ke(this, a || "a"), p = {
1771
1903
  aliasDuplicateObjects: i ?? !0,
1772
1904
  keepUndefined: s ?? !1,
1773
1905
  onAnchor: u,
@@ -1775,42 +1907,42 @@ var rn = class e {
1775
1907
  replacer: r,
1776
1908
  schema: this.schema,
1777
1909
  sourceObjects: f
1778
- }, m = Ce(e, l, p);
1910
+ }, m = Ie(e, l, p);
1779
1911
  return o && F(m) && (m.flow = !0), d(), m;
1780
1912
  }
1781
1913
  createPair(e, t, n = {}) {
1782
- return new G(this.createNode(e, null, n), this.createNode(t, null, n));
1914
+ return new q(this.createNode(e, null, n), this.createNode(t, null, n));
1783
1915
  }
1784
1916
  delete(e) {
1785
- return an(this.contents) ? this.contents.delete(e) : !1;
1917
+ return yn(this.contents) ? this.contents.delete(e) : !1;
1786
1918
  }
1787
1919
  deleteIn(e) {
1788
- return Te(e) ? this.contents != null && (this.contents = null, !0) : an(this.contents) ? this.contents.deleteIn(e) : !1;
1920
+ return Re(e) ? this.contents != null && (this.contents = null, !0) : yn(this.contents) ? this.contents.deleteIn(e) : !1;
1789
1921
  }
1790
1922
  get(e, t) {
1791
1923
  return F(this.contents) ? this.contents.get(e, t) : void 0;
1792
1924
  }
1793
1925
  getIn(e, t) {
1794
- return Te(e) ? !t && N(this.contents) ? this.contents.value : this.contents : F(this.contents) ? this.contents.getIn(e, t) : void 0;
1926
+ return Re(e) ? !t && N(this.contents) ? this.contents.value : this.contents : F(this.contents) ? this.contents.getIn(e, t) : void 0;
1795
1927
  }
1796
1928
  has(e) {
1797
1929
  return F(this.contents) ? this.contents.has(e) : !1;
1798
1930
  }
1799
1931
  hasIn(e) {
1800
- return Te(e) ? this.contents !== void 0 : F(this.contents) ? this.contents.hasIn(e) : !1;
1932
+ return Re(e) ? this.contents !== void 0 : F(this.contents) ? this.contents.hasIn(e) : !1;
1801
1933
  }
1802
1934
  set(e, t) {
1803
- this.contents == null ? this.contents = we(this.schema, [e], t) : an(this.contents) && this.contents.set(e, t);
1935
+ this.contents == null ? this.contents = Le(this.schema, [e], t) : yn(this.contents) && this.contents.set(e, t);
1804
1936
  }
1805
1937
  setIn(e, t) {
1806
- Te(e) ? this.contents = t : this.contents == null ? this.contents = we(this.schema, Array.from(e), t) : an(this.contents) && this.contents.setIn(e, t);
1938
+ Re(e) ? this.contents = t : this.contents == null ? this.contents = Le(this.schema, Array.from(e), t) : yn(this.contents) && this.contents.setIn(e, t);
1807
1939
  }
1808
1940
  setSchema(e, t = {}) {
1809
1941
  typeof e == "number" && (e = String(e));
1810
1942
  let n;
1811
1943
  switch (e) {
1812
1944
  case "1.1":
1813
- this.directives ? this.directives.yaml.version = "1.1" : this.directives = new de({ version: "1.1" }), n = {
1945
+ this.directives ? this.directives.yaml.version = "1.1" : this.directives = new B({ version: "1.1" }), n = {
1814
1946
  merge: !0,
1815
1947
  resolveKnownTags: !1,
1816
1948
  schema: "yaml-1.1"
@@ -1818,7 +1950,7 @@ var rn = class e {
1818
1950
  break;
1819
1951
  case "1.2":
1820
1952
  case "next":
1821
- this.directives ? this.directives.yaml.version = e : this.directives = new de({ version: e }), n = {
1953
+ this.directives ? this.directives.yaml.version = e : this.directives = new B({ version: e }), n = {
1822
1954
  merge: !1,
1823
1955
  resolveKnownTags: !0,
1824
1956
  schema: "core"
@@ -1833,7 +1965,7 @@ var rn = class e {
1833
1965
  }
1834
1966
  }
1835
1967
  if (t.schema instanceof Object) this.schema = t.schema;
1836
- else if (n) this.schema = new tn(Object.assign(n, t));
1968
+ else if (n) this.schema = new gn(Object.assign(n, t));
1837
1969
  else throw Error("With a null YAML version, the { schema: Schema } option is required");
1838
1970
  }
1839
1971
  toJS({ json: e, jsonArg: t, mapAsMap: n, maxAliasCount: r, onAnchor: i, reviver: a } = {}) {
@@ -1844,9 +1976,9 @@ var rn = class e {
1844
1976
  mapAsMap: n === !0,
1845
1977
  mapKeyWarned: !1,
1846
1978
  maxAliasCount: typeof r == "number" ? r : 100
1847
- }, s = z(this.contents, t ?? "", o);
1979
+ }, s = H(this.contents, t ?? "", o);
1848
1980
  if (typeof i == "function") for (let { count: e, res: t } of o.anchors.values()) i(t, e);
1849
- return typeof a == "function" ? ge(a, { "": s }, "", s) : s;
1981
+ return typeof a == "function" ? V(a, { "": s }, "", s) : s;
1850
1982
  }
1851
1983
  toJSON(e, t) {
1852
1984
  return this.toJS({
@@ -1862,28 +1994,28 @@ var rn = class e {
1862
1994
  let t = JSON.stringify(e.indent);
1863
1995
  throw Error(`"indent" option must be a positive integer, not ${t}`);
1864
1996
  }
1865
- return nn(this, e);
1997
+ return _n(this, e);
1866
1998
  }
1867
1999
  };
1868
- function an(e) {
2000
+ function yn(e) {
1869
2001
  if (F(e)) return !0;
1870
2002
  throw Error("Expected a YAML collection as document contents");
1871
2003
  }
1872
2004
  //#endregion
1873
2005
  //#region node_modules/yaml/browser/dist/errors.js
1874
- var on = class extends Error {
2006
+ var bn = class extends Error {
1875
2007
  constructor(e, t, n, r) {
1876
2008
  super(), this.name = e, this.code = n, this.message = r, this.pos = t;
1877
2009
  }
1878
- }, sn = class extends on {
2010
+ }, xn = class extends bn {
1879
2011
  constructor(e, t, n) {
1880
2012
  super("YAMLParseError", e, t, n);
1881
2013
  }
1882
- }, cn = class extends on {
2014
+ }, Sn = class extends bn {
1883
2015
  constructor(e, t, n) {
1884
2016
  super("YAMLWarning", e, t, n);
1885
2017
  }
1886
- }, ln = (e, t) => (n) => {
2018
+ }, Cn = (e, t) => (n) => {
1887
2019
  if (n.pos[0] === -1) return;
1888
2020
  n.linePos = n.pos.map((e) => t.linePos(e));
1889
2021
  let { line: r, col: i } = n.linePos[0];
@@ -1906,7 +2038,7 @@ var on = class extends Error {
1906
2038
  };
1907
2039
  //#endregion
1908
2040
  //#region node_modules/yaml/browser/dist/compose/resolve-props.js
1909
- function un(e, { flow: t, indicator: n, next: r, offset: i, onError: a, parentIndent: o, startOnNewline: s }) {
2041
+ function wn(e, { flow: t, indicator: n, next: r, offset: i, onError: a, parentIndent: o, startOnNewline: s }) {
1910
2042
  let c = !1, l = s, u = s, d = "", f = "", p = !1, m = !1, h = !1, g = null, _ = null, v = null, y = null, b = null, x = null;
1911
2043
  for (let i of e) switch (h &&= (i.type !== "space" && i.type !== "newline" && i.type !== "comma" && a(i.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), !1), g &&= (l && i.type !== "comment" && i.type !== "newline" && a(g, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), null), i.type) {
1912
2044
  case "space":
@@ -1952,7 +2084,7 @@ function un(e, { flow: t, indicator: n, next: r, offset: i, onError: a, parentIn
1952
2084
  }
1953
2085
  //#endregion
1954
2086
  //#region node_modules/yaml/browser/dist/compose/util-contains-newline.js
1955
- function dn(e) {
2087
+ function Tn(e) {
1956
2088
  if (!e) return null;
1957
2089
  switch (e.type) {
1958
2090
  case "alias":
@@ -1970,7 +2102,7 @@ function dn(e) {
1970
2102
  if (t.sep) {
1971
2103
  for (let e of t.sep) if (e.type === "newline") return !0;
1972
2104
  }
1973
- if (dn(t.key) || dn(t.value)) return !0;
2105
+ if (Tn(t.key) || Tn(t.value)) return !0;
1974
2106
  }
1975
2107
  return !1;
1976
2108
  default: return !0;
@@ -1978,15 +2110,15 @@ function dn(e) {
1978
2110
  }
1979
2111
  //#endregion
1980
2112
  //#region node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
1981
- function fn(e, t, n) {
2113
+ function En(e, t, n) {
1982
2114
  if (t?.type === "flow-collection") {
1983
2115
  let r = t.end[0];
1984
- r.indent === e && (r.source === "]" || r.source === "}") && dn(t) && n(r, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
2116
+ r.indent === e && (r.source === "]" || r.source === "}") && Tn(t) && n(r, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
1985
2117
  }
1986
2118
  }
1987
2119
  //#endregion
1988
2120
  //#region node_modules/yaml/browser/dist/compose/util-map-includes.js
1989
- function pn(e, t, n) {
2121
+ function Dn(e, t, n) {
1990
2122
  let { uniqueKeys: r } = e.options;
1991
2123
  if (r === !1) return !1;
1992
2124
  let i = typeof r == "function" ? r : (t, n) => t === n || N(t) && N(n) && t.value === n.value && !(t.value === "<<" && e.schema.merge);
@@ -1994,13 +2126,13 @@ function pn(e, t, n) {
1994
2126
  }
1995
2127
  //#endregion
1996
2128
  //#region node_modules/yaml/browser/dist/compose/resolve-block-map.js
1997
- var mn = "All mapping items must start at the same column";
1998
- function hn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
1999
- let o = new ((a?.nodeClass) ?? q)(n.schema);
2129
+ var On = "All mapping items must start at the same column";
2130
+ function kn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2131
+ let o = new ((a?.nodeClass) ?? Y)(n.schema);
2000
2132
  n.atRoot &&= !1;
2001
2133
  let s = r.offset, c = null;
2002
2134
  for (let a of r.items) {
2003
- let { start: l, key: u, sep: d, value: f } = a, p = un(l, {
2135
+ let { start: l, key: u, sep: d, value: f } = a, p = wn(l, {
2004
2136
  indicator: "explicit-key-ind",
2005
2137
  next: u ?? d?.[0],
2006
2138
  offset: s,
@@ -2009,15 +2141,15 @@ function hn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2009
2141
  startOnNewline: !0
2010
2142
  }), m = !p.found;
2011
2143
  if (m) {
2012
- if (u && (u.type === "block-seq" ? i(s, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in u && u.indent !== r.indent && i(s, "BAD_INDENT", mn)), !p.anchor && !p.tag && !d) {
2144
+ if (u && (u.type === "block-seq" ? i(s, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in u && u.indent !== r.indent && i(s, "BAD_INDENT", On)), !p.anchor && !p.tag && !d) {
2013
2145
  c = p.end, p.comment && (o.comment ? o.comment += "\n" + p.comment : o.comment = p.comment);
2014
2146
  continue;
2015
2147
  }
2016
- (p.hasNewlineAfterProp || dn(u)) && i(u ?? l[l.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
2017
- } else p.found?.indent !== r.indent && i(s, "BAD_INDENT", mn);
2148
+ (p.hasNewlineAfterProp || Tn(u)) && i(u ?? l[l.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
2149
+ } else p.found?.indent !== r.indent && i(s, "BAD_INDENT", On);
2018
2150
  let h = p.end, g = u ? e(n, u, p, i) : t(n, h, l, null, p, i);
2019
- n.schema.compat && fn(r.indent, u, i), pn(n, o.items, g) && i(h, "DUPLICATE_KEY", "Map keys must be unique");
2020
- let _ = un(d ?? [], {
2151
+ n.schema.compat && En(r.indent, u, i), Dn(n, o.items, g) && i(h, "DUPLICATE_KEY", "Map keys must be unique");
2152
+ let _ = wn(d ?? [], {
2021
2153
  indicator: "map-value-ind",
2022
2154
  next: f,
2023
2155
  offset: g.range[2],
@@ -2028,12 +2160,12 @@ function hn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2028
2160
  if (s = _.end, _.found) {
2029
2161
  m && (f?.type === "block-map" && !_.hasNewline && i(s, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), n.options.strict && p.start < _.found.offset - 1024 && i(g.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
2030
2162
  let c = f ? e(n, f, _, i) : t(n, s, d, null, _, i);
2031
- n.schema.compat && fn(r.indent, f, i), s = c.range[2];
2032
- let l = new G(g, c);
2163
+ n.schema.compat && En(r.indent, f, i), s = c.range[2];
2164
+ let l = new q(g, c);
2033
2165
  n.options.keepSourceTokens && (l.srcToken = a), o.items.push(l);
2034
2166
  } else {
2035
2167
  m && i(g.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), _.comment && (g.comment ? g.comment += "\n" + _.comment : g.comment = _.comment);
2036
- let e = new G(g);
2168
+ let e = new q(g);
2037
2169
  n.options.keepSourceTokens && (e.srcToken = a), o.items.push(e);
2038
2170
  }
2039
2171
  }
@@ -2045,12 +2177,12 @@ function hn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2045
2177
  }
2046
2178
  //#endregion
2047
2179
  //#region node_modules/yaml/browser/dist/compose/resolve-block-seq.js
2048
- function gn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2049
- let o = new ((a?.nodeClass) ?? J)(n.schema);
2180
+ function An({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2181
+ let o = new ((a?.nodeClass) ?? X)(n.schema);
2050
2182
  n.atRoot &&= !1;
2051
2183
  let s = r.offset, c = null;
2052
2184
  for (let { start: a, value: l } of r.items) {
2053
- let u = un(a, {
2185
+ let u = wn(a, {
2054
2186
  indicator: "seq-item-ind",
2055
2187
  next: l,
2056
2188
  offset: s,
@@ -2066,7 +2198,7 @@ function gn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2066
2198
  }
2067
2199
  }
2068
2200
  let d = l ? e(n, l, u, i) : t(n, u.end, a, null, u, i);
2069
- n.schema.compat && fn(r.indent, l, i), s = d.range[2], o.items.push(d);
2201
+ n.schema.compat && En(r.indent, l, i), s = d.range[2], o.items.push(d);
2070
2202
  }
2071
2203
  return o.range = [
2072
2204
  r.offset,
@@ -2076,7 +2208,7 @@ function gn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2076
2208
  }
2077
2209
  //#endregion
2078
2210
  //#region node_modules/yaml/browser/dist/compose/resolve-end.js
2079
- function _n(e, t, n, r) {
2211
+ function jn(e, t, n, r) {
2080
2212
  let i = "";
2081
2213
  if (e) {
2082
2214
  let a = !1, o = "";
@@ -2107,15 +2239,15 @@ function _n(e, t, n, r) {
2107
2239
  }
2108
2240
  //#endregion
2109
2241
  //#region node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
2110
- var vn = "Block collections are not allowed within flow collections", yn = (e) => e && (e.type === "block-map" || e.type === "block-seq");
2111
- function bn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2112
- let o = r.start.source === "{", s = o ? "flow map" : "flow sequence", c = new ((a?.nodeClass) ?? (o ? q : J))(n.schema);
2242
+ var Mn = "Block collections are not allowed within flow collections", Nn = (e) => e && (e.type === "block-map" || e.type === "block-seq");
2243
+ function Pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2244
+ let o = r.start.source === "{", s = o ? "flow map" : "flow sequence", c = new ((a?.nodeClass) ?? (o ? Y : X))(n.schema);
2113
2245
  c.flow = !0;
2114
2246
  let l = n.atRoot;
2115
2247
  l && (n.atRoot = !1);
2116
2248
  let u = r.offset + r.start.source.length;
2117
2249
  for (let a = 0; a < r.items.length; ++a) {
2118
- let l = r.items[a], { start: d, key: f, sep: p, value: m } = l, h = un(d, {
2250
+ let l = r.items[a], { start: d, key: f, sep: p, value: m } = l, h = wn(d, {
2119
2251
  flow: s,
2120
2252
  indicator: "explicit-key-ind",
2121
2253
  next: f ?? p?.[0],
@@ -2129,7 +2261,7 @@ function bn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2129
2261
  a === 0 && h.comma ? i(h.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${s}`) : a < r.items.length - 1 && i(h.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${s}`), h.comment && (c.comment ? c.comment += "\n" + h.comment : c.comment = h.comment), u = h.end;
2130
2262
  continue;
2131
2263
  }
2132
- !o && n.options.strict && dn(f) && i(f, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
2264
+ !o && n.options.strict && Tn(f) && i(f, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
2133
2265
  }
2134
2266
  if (a === 0) h.comma && i(h.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${s}`);
2135
2267
  else if (h.comma || i(h.start, "MISSING_CHAR", `Missing , between ${s} items`), h.comment) {
@@ -2149,11 +2281,11 @@ function bn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2149
2281
  }
2150
2282
  if (!o && !p && !h.found) {
2151
2283
  let r = m ? e(n, m, h, i) : t(n, h.end, p, null, h, i);
2152
- c.items.push(r), u = r.range[2], yn(m) && i(r.range, "BLOCK_IN_FLOW", vn);
2284
+ c.items.push(r), u = r.range[2], Nn(m) && i(r.range, "BLOCK_IN_FLOW", Mn);
2153
2285
  } else {
2154
2286
  let a = h.end, g = f ? e(n, f, h, i) : t(n, a, d, null, h, i);
2155
- yn(f) && i(g.range, "BLOCK_IN_FLOW", vn);
2156
- let _ = un(p ?? [], {
2287
+ Nn(f) && i(g.range, "BLOCK_IN_FLOW", Mn);
2288
+ let _ = wn(p ?? [], {
2157
2289
  flow: s,
2158
2290
  indicator: "map-value-ind",
2159
2291
  next: m,
@@ -2175,13 +2307,13 @@ function bn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2175
2307
  }
2176
2308
  } else m && ("source" in m && m.source && m.source[0] === ":" ? i(m, "MISSING_CHAR", `Missing space after : in ${s}`) : i(_.start, "MISSING_CHAR", `Missing , or : between ${s} items`));
2177
2309
  let v = m ? e(n, m, _, i) : _.found ? t(n, _.end, p, null, _, i) : null;
2178
- v ? yn(m) && i(v.range, "BLOCK_IN_FLOW", vn) : _.comment && (g.comment ? g.comment += "\n" + _.comment : g.comment = _.comment);
2179
- let y = new G(g, v);
2310
+ v ? Nn(m) && i(v.range, "BLOCK_IN_FLOW", Mn) : _.comment && (g.comment ? g.comment += "\n" + _.comment : g.comment = _.comment);
2311
+ let y = new q(g, v);
2180
2312
  if (n.options.keepSourceTokens && (y.srcToken = l), o) {
2181
2313
  let e = c;
2182
- pn(n, e.items, g) && i(a, "DUPLICATE_KEY", "Map keys must be unique"), e.items.push(y);
2314
+ Dn(n, e.items, g) && i(a, "DUPLICATE_KEY", "Map keys must be unique"), e.items.push(y);
2183
2315
  } else {
2184
- let e = new q(n.schema);
2316
+ let e = new Y(n.schema);
2185
2317
  e.flow = !0, e.items.push(y), c.items.push(e);
2186
2318
  }
2187
2319
  u = v ? v.range[2] : _.end;
@@ -2194,7 +2326,7 @@ function bn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2194
2326
  i(u, l ? "MISSING_CHAR" : "BAD_INDENT", t), f && f.source.length !== 1 && p.unshift(f);
2195
2327
  }
2196
2328
  if (p.length > 0) {
2197
- let e = _n(p, m, n.options.strict, i);
2329
+ let e = jn(p, m, n.options.strict, i);
2198
2330
  e.comment && (c.comment ? c.comment += "\n" + e.comment : c.comment = e.comment), c.range = [
2199
2331
  r.offset,
2200
2332
  m,
@@ -2209,26 +2341,26 @@ function bn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2209
2341
  }
2210
2342
  //#endregion
2211
2343
  //#region node_modules/yaml/browser/dist/compose/compose-collection.js
2212
- function xn(e, t, n, r, i, a) {
2213
- let o = n.type === "block-map" ? hn(e, t, n, r, a) : n.type === "block-seq" ? gn(e, t, n, r, a) : bn(e, t, n, r, a), s = o.constructor;
2344
+ function Fn(e, t, n, r, i, a) {
2345
+ let o = n.type === "block-map" ? kn(e, t, n, r, a) : n.type === "block-seq" ? An(e, t, n, r, a) : Pn(e, t, n, r, a), s = o.constructor;
2214
2346
  return i === "!" || i === s.tagName ? (o.tag = s.tagName, o) : (i && (o.tag = i), o);
2215
2347
  }
2216
- function Sn(e, t, n, r, i) {
2348
+ function In(e, t, n, r, i) {
2217
2349
  let a = r ? t.directives.tagName(r.source, (e) => i(r, "TAG_RESOLVE_FAILED", e)) : null, o = n.type === "block-map" ? "map" : n.type === "block-seq" ? "seq" : n.start.source === "{" ? "map" : "seq";
2218
- if (!r || !a || a === "!" || a === q.tagName && o === "map" || a === J.tagName && o === "seq" || !o) return xn(e, t, n, i, a);
2350
+ if (!r || !a || a === "!" || a === Y.tagName && o === "map" || a === X.tagName && o === "seq" || !o) return Fn(e, t, n, i, a);
2219
2351
  let s = t.schema.tags.find((e) => e.tag === a && e.collection === o);
2220
2352
  if (!s) {
2221
2353
  let c = t.schema.knownTags[a];
2222
2354
  if (c && c.collection === o) t.schema.tags.push(Object.assign({}, c, { default: !1 })), s = c;
2223
- else return c?.collection ? i(r, "BAD_COLLECTION_TYPE", `${c.tag} used for ${o} collection, but expects ${c.collection}`, !0) : i(r, "TAG_RESOLVE_FAILED", `Unresolved tag: ${a}`, !0), xn(e, t, n, i, a);
2355
+ else return c?.collection ? i(r, "BAD_COLLECTION_TYPE", `${c.tag} used for ${o} collection, but expects ${c.collection}`, !0) : i(r, "TAG_RESOLVE_FAILED", `Unresolved tag: ${a}`, !0), Fn(e, t, n, i, a);
2224
2356
  }
2225
- let c = xn(e, t, n, i, a, s), l = s.resolve?.(c, (e) => i(r, "TAG_RESOLVE_FAILED", e), t.options) ?? c, u = I(l) ? l : new B(l);
2357
+ let c = Fn(e, t, n, i, a, s), l = s.resolve?.(c, (e) => i(r, "TAG_RESOLVE_FAILED", e), t.options) ?? c, u = I(l) ? l : new U(l);
2226
2358
  return u.range = c.range, u.tag = a, s?.format && (u.format = s.format), u;
2227
2359
  }
2228
2360
  //#endregion
2229
2361
  //#region node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
2230
- function Cn(e, t, n) {
2231
- let r = t.offset, i = wn(t, e.options.strict, n);
2362
+ function Ln(e, t, n) {
2363
+ let r = t.offset, i = Rn(t, e.options.strict, n);
2232
2364
  if (!i) return {
2233
2365
  value: "",
2234
2366
  type: null,
@@ -2239,7 +2371,7 @@ function Cn(e, t, n) {
2239
2371
  r
2240
2372
  ]
2241
2373
  };
2242
- let a = i.mode === ">" ? B.BLOCK_FOLDED : B.BLOCK_LITERAL, o = t.source ? Tn(t.source) : [], s = o.length;
2374
+ let a = i.mode === ">" ? U.BLOCK_FOLDED : U.BLOCK_LITERAL, o = t.source ? zn(t.source) : [], s = o.length;
2243
2375
  for (let e = o.length - 1; e >= 0; --e) {
2244
2376
  let t = o[e][1];
2245
2377
  if (t === "" || t === "\r") s = e;
@@ -2280,7 +2412,7 @@ function Cn(e, t, n) {
2280
2412
  let e = `Block scalar lines must not be less indented than their ${i.indent ? "explicit indentation indicator" : "first line"}`;
2281
2413
  n(l - r.length - (s ? 2 : 1), "BAD_INDENT", e), t = "";
2282
2414
  }
2283
- a === B.BLOCK_LITERAL ? (d += f + t.slice(c) + r, f = "\n") : t.length > c || r[0] === " " ? (f === " " ? f = "\n" : !p && f === "\n" && (f = "\n\n"), d += f + t.slice(c) + r, f = "\n", p = !0) : r === "" ? f === "\n" ? d += "\n" : f = "\n" : (d += f + r, f = " ", p = !1);
2415
+ a === U.BLOCK_LITERAL ? (d += f + t.slice(c) + r, f = "\n") : t.length > c || r[0] === " " ? (f === " " ? f = "\n" : !p && f === "\n" && (f = "\n\n"), d += f + t.slice(c) + r, f = "\n", p = !0) : r === "" ? f === "\n" ? d += "\n" : f = "\n" : (d += f + r, f = " ", p = !1);
2284
2416
  }
2285
2417
  switch (i.chomp) {
2286
2418
  case "-": break;
@@ -2302,7 +2434,7 @@ function Cn(e, t, n) {
2302
2434
  ]
2303
2435
  };
2304
2436
  }
2305
- function wn({ offset: e, props: t }, n, r) {
2437
+ function Rn({ offset: e, props: t }, n, r) {
2306
2438
  /* istanbul ignore if should not happen */
2307
2439
  if (t[0].type !== "block-scalar-header") return r(t[0], "IMPOSSIBLE", "Block scalar header not found"), null;
2308
2440
  let { source: i } = t[0], a = i[0], o = 0, s = "", c = -1;
@@ -2345,24 +2477,24 @@ function wn({ offset: e, props: t }, n, r) {
2345
2477
  length: d
2346
2478
  };
2347
2479
  }
2348
- function Tn(e) {
2480
+ function zn(e) {
2349
2481
  let t = e.split(/\n( *)/), n = t[0], r = n.match(/^( *)/), i = [r?.[1] ? [r[1], n.slice(r[1].length)] : ["", n]];
2350
2482
  for (let e = 1; e < t.length; e += 2) i.push([t[e], t[e + 1]]);
2351
2483
  return i;
2352
2484
  }
2353
2485
  //#endregion
2354
2486
  //#region node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
2355
- function En(e, t, n) {
2487
+ function Bn(e, t, n) {
2356
2488
  let { offset: r, type: i, source: a, end: o } = e, s, c, l = (e, t, i) => n(r + e, t, i);
2357
2489
  switch (i) {
2358
2490
  case "scalar":
2359
- s = B.PLAIN, c = Dn(a, l);
2491
+ s = U.PLAIN, c = Vn(a, l);
2360
2492
  break;
2361
2493
  case "single-quoted-scalar":
2362
- s = B.QUOTE_SINGLE, c = On(a, l);
2494
+ s = U.QUOTE_SINGLE, c = Hn(a, l);
2363
2495
  break;
2364
2496
  case "double-quoted-scalar":
2365
- s = B.QUOTE_DOUBLE, c = An(a, l);
2497
+ s = U.QUOTE_DOUBLE, c = Wn(a, l);
2366
2498
  break;
2367
2499
  /* istanbul ignore next should not happen */
2368
2500
  default: return n(e, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${i}`), {
@@ -2376,7 +2508,7 @@ function En(e, t, n) {
2376
2508
  ]
2377
2509
  };
2378
2510
  }
2379
- let u = r + a.length, d = _n(o, u, t, n);
2511
+ let u = r + a.length, d = jn(o, u, t, n);
2380
2512
  return {
2381
2513
  value: c,
2382
2514
  type: s,
@@ -2388,7 +2520,7 @@ function En(e, t, n) {
2388
2520
  ]
2389
2521
  };
2390
2522
  }
2391
- function Dn(e, t) {
2523
+ function Vn(e, t) {
2392
2524
  let n = "";
2393
2525
  switch (e[0]) {
2394
2526
  /* istanbul ignore next should not happen */
@@ -2408,12 +2540,12 @@ function Dn(e, t) {
2408
2540
  case "@":
2409
2541
  case "`": n = `reserved character ${e[0]}`;
2410
2542
  }
2411
- return n && t(0, "BAD_SCALAR_START", `Plain value cannot start with ${n}`), kn(e);
2543
+ return n && t(0, "BAD_SCALAR_START", `Plain value cannot start with ${n}`), Un(e);
2412
2544
  }
2413
- function On(e, t) {
2414
- return (e[e.length - 1] !== "'" || e.length === 1) && t(e.length, "MISSING_CHAR", "Missing closing 'quote"), kn(e.slice(1, -1)).replace(/''/g, "'");
2545
+ function Hn(e, t) {
2546
+ return (e[e.length - 1] !== "'" || e.length === 1) && t(e.length, "MISSING_CHAR", "Missing closing 'quote"), Un(e.slice(1, -1)).replace(/''/g, "'");
2415
2547
  }
2416
- function kn(e) {
2548
+ function Un(e) {
2417
2549
  let t, n;
2418
2550
  try {
2419
2551
  t = /* @__PURE__ */ RegExp("(.*?)(?<![ ])[ ]*\r?\n", "sy"), n = /* @__PURE__ */ RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n", "sy");
@@ -2427,16 +2559,16 @@ function kn(e) {
2427
2559
  let s = /[ \t]*(.*)/sy;
2428
2560
  return s.lastIndex = o, r = s.exec(e), i + a + (r?.[1] ?? "");
2429
2561
  }
2430
- function An(e, t) {
2562
+ function Wn(e, t) {
2431
2563
  let n = "";
2432
2564
  for (let r = 1; r < e.length - 1; ++r) {
2433
2565
  let i = e[r];
2434
2566
  if (i !== "\r" || e[r + 1] !== "\n") {
2435
2567
  if (i === "\n") {
2436
- let { fold: t, offset: i } = jn(e, r);
2568
+ let { fold: t, offset: i } = Gn(e, r);
2437
2569
  n += t, r = i;
2438
2570
  } else if (i === "\\") {
2439
- let i = e[++r], a = Mn[i];
2571
+ let i = e[++r], a = Kn[i];
2440
2572
  if (a) n += a;
2441
2573
  else if (i === "\n") for (i = e[r + 1]; i === " " || i === " ";) i = e[++r + 1];
2442
2574
  else if (i === "\r" && e[r + 1] === "\n") for (i = e[++r + 1]; i === " " || i === " ";) i = e[++r + 1];
@@ -2446,7 +2578,7 @@ function An(e, t) {
2446
2578
  u: 4,
2447
2579
  U: 8
2448
2580
  }[i];
2449
- n += Nn(e, r + 1, a, t), r += a;
2581
+ n += qn(e, r + 1, a, t), r += a;
2450
2582
  } else {
2451
2583
  let i = e.substr(r - 1, 2);
2452
2584
  t(r - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${i}`), n += i;
@@ -2460,7 +2592,7 @@ function An(e, t) {
2460
2592
  }
2461
2593
  return (e[e.length - 1] !== "\"" || e.length === 1) && t(e.length, "MISSING_CHAR", "Missing closing \"quote"), n;
2462
2594
  }
2463
- function jn(e, t) {
2595
+ function Gn(e, t) {
2464
2596
  let n = "", r = e[t + 1];
2465
2597
  for (; (r === " " || r === " " || r === "\n" || r === "\r") && (r !== "\r" || e[t + 2] === "\n");) r === "\n" && (n += "\n"), t += 1, r = e[t + 1];
2466
2598
  return n ||= " ", {
@@ -2468,7 +2600,7 @@ function jn(e, t) {
2468
2600
  offset: t
2469
2601
  };
2470
2602
  }
2471
- var Mn = {
2603
+ var Kn = {
2472
2604
  0: "\0",
2473
2605
  a: "\x07",
2474
2606
  b: "\b",
@@ -2488,7 +2620,7 @@ var Mn = {
2488
2620
  "\\": "\\",
2489
2621
  " ": " "
2490
2622
  };
2491
- function Nn(e, t, n, r) {
2623
+ function qn(e, t, n, r) {
2492
2624
  let i = e.substr(t, n), a = i.length === n && /^[0-9a-fA-F]+$/.test(i) ? parseInt(i, 16) : NaN;
2493
2625
  if (isNaN(a)) {
2494
2626
  let i = e.substr(t - 2, n + 2);
@@ -2498,19 +2630,19 @@ function Nn(e, t, n, r) {
2498
2630
  }
2499
2631
  //#endregion
2500
2632
  //#region node_modules/yaml/browser/dist/compose/compose-scalar.js
2501
- function Pn(e, t, n, r) {
2502
- let { value: i, type: a, comment: o, range: s } = t.type === "block-scalar" ? Cn(e, t, r) : En(t, e.options.strict, r), c = n ? e.directives.tagName(n.source, (e) => r(n, "TAG_RESOLVE_FAILED", e)) : null, l = n && c ? Fn(e.schema, i, c, n, r) : t.type === "scalar" ? In(e, i, t, r) : e.schema[D], u;
2633
+ function Jn(e, t, n, r) {
2634
+ let { value: i, type: a, comment: o, range: s } = t.type === "block-scalar" ? Ln(e, t, r) : Bn(t, e.options.strict, r), c = n ? e.directives.tagName(n.source, (e) => r(n, "TAG_RESOLVE_FAILED", e)) : null, l = n && c ? Yn(e.schema, i, c, n, r) : t.type === "scalar" ? Xn(e, i, t, r) : e.schema[O], u;
2503
2635
  try {
2504
2636
  let a = l.resolve(i, (e) => r(n ?? t, "TAG_RESOLVE_FAILED", e), e.options);
2505
- u = N(a) ? a : new B(a);
2637
+ u = N(a) ? a : new U(a);
2506
2638
  } catch (e) {
2507
2639
  let a = e instanceof Error ? e.message : String(e);
2508
- r(n ?? t, "TAG_RESOLVE_FAILED", a), u = new B(i);
2640
+ r(n ?? t, "TAG_RESOLVE_FAILED", a), u = new U(i);
2509
2641
  }
2510
2642
  return u.range = s, u.source = i, a && (u.type = a), c && (u.tag = c), l.format && (u.format = l.format), o && (u.comment = o), u;
2511
2643
  }
2512
- function Fn(e, t, n, r, i) {
2513
- if (n === "!") return e[D];
2644
+ function Yn(e, t, n, r, i) {
2645
+ if (n === "!") return e[O];
2514
2646
  let a = [];
2515
2647
  for (let t of e.tags) if (!t.collection && t.tag === n) {
2516
2648
  if (t.default && t.test) a.push(t);
@@ -2521,19 +2653,19 @@ function Fn(e, t, n, r, i) {
2521
2653
  return o && !o.collection ? (e.tags.push(Object.assign({}, o, {
2522
2654
  default: !1,
2523
2655
  test: void 0
2524
- })), o) : (i(r, "TAG_RESOLVE_FAILED", `Unresolved tag: ${n}`, n !== "tag:yaml.org,2002:str"), e[D]);
2656
+ })), o) : (i(r, "TAG_RESOLVE_FAILED", `Unresolved tag: ${n}`, n !== "tag:yaml.org,2002:str"), e[O]);
2525
2657
  }
2526
- function In({ directives: e, schema: t }, n, r, i) {
2527
- let a = t.tags.find((e) => e.default && e.test?.test(n)) || t[D];
2658
+ function Xn({ directives: e, schema: t }, n, r, i) {
2659
+ let a = t.tags.find((e) => e.default && e.test?.test(n)) || t[O];
2528
2660
  if (t.compat) {
2529
- let o = t.compat.find((e) => e.default && e.test?.test(n)) ?? t[D];
2661
+ let o = t.compat.find((e) => e.default && e.test?.test(n)) ?? t[O];
2530
2662
  a.tag !== o.tag && i(r, "TAG_RESOLVE_FAILED", `Value may be parsed as either ${e.tagString(a.tag)} or ${e.tagString(o.tag)}`, !0);
2531
2663
  }
2532
2664
  return a;
2533
2665
  }
2534
2666
  //#endregion
2535
2667
  //#region node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
2536
- function Ln(e, t, n) {
2668
+ function Zn(e, t, n) {
2537
2669
  if (t) {
2538
2670
  n === null && (n = t.length);
2539
2671
  for (let r = n - 1; r >= 0; --r) {
@@ -2553,44 +2685,44 @@ function Ln(e, t, n) {
2553
2685
  }
2554
2686
  //#endregion
2555
2687
  //#region node_modules/yaml/browser/dist/compose/compose-node.js
2556
- var Rn = {
2557
- composeNode: zn,
2558
- composeEmptyNode: Bn
2688
+ var Qn = {
2689
+ composeNode: $n,
2690
+ composeEmptyNode: er
2559
2691
  };
2560
- function zn(e, t, n, r) {
2692
+ function $n(e, t, n, r) {
2561
2693
  let { spaceBefore: i, comment: a, anchor: o, tag: s } = n, c, l = !0;
2562
2694
  switch (t.type) {
2563
2695
  case "alias":
2564
- c = Vn(e, t, r), (o || s) && r(t, "ALIAS_PROPS", "An alias node must not specify any properties");
2696
+ c = tr(e, t, r), (o || s) && r(t, "ALIAS_PROPS", "An alias node must not specify any properties");
2565
2697
  break;
2566
2698
  case "scalar":
2567
2699
  case "single-quoted-scalar":
2568
2700
  case "double-quoted-scalar":
2569
2701
  case "block-scalar":
2570
- c = Pn(e, t, s, r), o && (c.anchor = o.source.substring(1));
2702
+ c = Jn(e, t, s, r), o && (c.anchor = o.source.substring(1));
2571
2703
  break;
2572
2704
  case "block-map":
2573
2705
  case "block-seq":
2574
2706
  case "flow-collection":
2575
- c = Sn(Rn, e, t, s, r), o && (c.anchor = o.source.substring(1));
2707
+ c = In(Qn, e, t, s, r), o && (c.anchor = o.source.substring(1));
2576
2708
  break;
2577
- default: r(t, "UNEXPECTED_TOKEN", t.type === "error" ? t.message : `Unsupported token (type: ${t.type})`), c = Bn(e, t.offset, void 0, null, n, r), l = !1;
2709
+ default: r(t, "UNEXPECTED_TOKEN", t.type === "error" ? t.message : `Unsupported token (type: ${t.type})`), c = er(e, t.offset, void 0, null, n, r), l = !1;
2578
2710
  }
2579
2711
  return o && c.anchor === "" && r(o, "BAD_ALIAS", "Anchor cannot be an empty string"), i && (c.spaceBefore = !0), a && (t.type === "scalar" && t.source === "" ? c.comment = a : c.commentBefore = a), e.options.keepSourceTokens && l && (c.srcToken = t), c;
2580
2712
  }
2581
- function Bn(e, t, n, r, { spaceBefore: i, comment: a, anchor: o, tag: s, end: c }, l) {
2582
- let u = Pn(e, {
2713
+ function er(e, t, n, r, { spaceBefore: i, comment: a, anchor: o, tag: s, end: c }, l) {
2714
+ let u = Jn(e, {
2583
2715
  type: "scalar",
2584
- offset: Ln(t, n, r),
2716
+ offset: Zn(t, n, r),
2585
2717
  indent: -1,
2586
2718
  source: ""
2587
2719
  }, s, l);
2588
2720
  return o && (u.anchor = o.source.substring(1), u.anchor === "" && l(o, "BAD_ALIAS", "Anchor cannot be an empty string")), i && (u.spaceBefore = !0), a && (u.comment = a, u.range[2] = c), u;
2589
2721
  }
2590
- function Vn({ options: e }, { offset: t, source: n, end: r }, i) {
2591
- let a = new ve(n.substring(1));
2722
+ function tr({ options: e }, { offset: t, source: n, end: r }, i) {
2723
+ let a = new je(n.substring(1));
2592
2724
  a.source === "" && i(t, "BAD_ALIAS", "Alias cannot be an empty string"), a.source.endsWith(":") && i(t + n.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
2593
- let o = t + n.length, s = _n(r, o, e.strict, i);
2725
+ let o = t + n.length, s = jn(r, o, e.strict, i);
2594
2726
  return a.range = [
2595
2727
  t,
2596
2728
  o,
@@ -2599,13 +2731,13 @@ function Vn({ options: e }, { offset: t, source: n, end: r }, i) {
2599
2731
  }
2600
2732
  //#endregion
2601
2733
  //#region node_modules/yaml/browser/dist/compose/compose-doc.js
2602
- function Hn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2603
- let s = new rn(void 0, Object.assign({ _directives: t }, e)), c = {
2734
+ function nr(e, t, { offset: n, start: r, value: i, end: a }, o) {
2735
+ let s = new vn(void 0, Object.assign({ _directives: t }, e)), c = {
2604
2736
  atRoot: !0,
2605
2737
  directives: s.directives,
2606
2738
  options: s.options,
2607
2739
  schema: s.schema
2608
- }, l = un(r, {
2740
+ }, l = wn(r, {
2609
2741
  indicator: "doc-start",
2610
2742
  next: i ?? a?.[0],
2611
2743
  offset: n,
@@ -2613,8 +2745,8 @@ function Hn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2613
2745
  parentIndent: 0,
2614
2746
  startOnNewline: !0
2615
2747
  });
2616
- l.found && (s.directives.docStart = !0, i && (i.type === "block-map" || i.type === "block-seq") && !l.hasNewline && o(l.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")), s.contents = i ? zn(c, i, l, o) : Bn(c, l.end, r, null, l, o);
2617
- let u = s.contents.range[2], d = _n(a, u, !1, o);
2748
+ l.found && (s.directives.docStart = !0, i && (i.type === "block-map" || i.type === "block-seq") && !l.hasNewline && o(l.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")), s.contents = i ? $n(c, i, l, o) : er(c, l.end, r, null, l, o);
2749
+ let u = s.contents.range[2], d = jn(a, u, !1, o);
2618
2750
  return d.comment && (s.comment = d.comment), s.range = [
2619
2751
  n,
2620
2752
  u,
@@ -2623,13 +2755,13 @@ function Hn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2623
2755
  }
2624
2756
  //#endregion
2625
2757
  //#region node_modules/yaml/browser/dist/compose/composer.js
2626
- function Un(e) {
2758
+ function rr(e) {
2627
2759
  if (typeof e == "number") return [e, e + 1];
2628
2760
  if (Array.isArray(e)) return e.length === 2 ? e : [e[0], e[1]];
2629
2761
  let { offset: t, source: n } = e;
2630
2762
  return [t, t + (typeof n == "string" ? n.length : 1)];
2631
2763
  }
2632
- function Wn(e) {
2764
+ function ir(e) {
2633
2765
  let t = "", n = !1, r = !1;
2634
2766
  for (let i = 0; i < e.length; ++i) {
2635
2767
  let a = e[i];
@@ -2648,15 +2780,15 @@ function Wn(e) {
2648
2780
  afterEmptyLine: r
2649
2781
  };
2650
2782
  }
2651
- var Gn = class {
2783
+ var ar = class {
2652
2784
  constructor(e = {}) {
2653
2785
  this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (e, t, n, r) => {
2654
- let i = Un(e);
2655
- r ? this.warnings.push(new cn(i, t, n)) : this.errors.push(new sn(i, t, n));
2656
- }, this.directives = new de({ version: e.version || "1.2" }), this.options = e;
2786
+ let i = rr(e);
2787
+ r ? this.warnings.push(new Sn(i, t, n)) : this.errors.push(new xn(i, t, n));
2788
+ }, this.directives = new B({ version: e.version || "1.2" }), this.options = e;
2657
2789
  }
2658
2790
  decorate(e, t) {
2659
- let { comment: n, afterEmptyLine: r } = Wn(this.prelude);
2791
+ let { comment: n, afterEmptyLine: r } = ir(this.prelude);
2660
2792
  if (n) {
2661
2793
  let i = e.contents;
2662
2794
  if (t) e.comment = e.comment ? `${e.comment}\n${n}` : n;
@@ -2675,7 +2807,7 @@ var Gn = class {
2675
2807
  }
2676
2808
  streamInfo() {
2677
2809
  return {
2678
- comment: Wn(this.prelude).comment,
2810
+ comment: ir(this.prelude).comment,
2679
2811
  directives: this.directives,
2680
2812
  errors: this.errors,
2681
2813
  warnings: this.warnings
@@ -2689,12 +2821,12 @@ var Gn = class {
2689
2821
  switch (e.type) {
2690
2822
  case "directive":
2691
2823
  this.directives.add(e.source, (t, n, r) => {
2692
- let i = Un(e);
2824
+ let i = rr(e);
2693
2825
  i[0] += t, this.onError(i, "BAD_DIRECTIVE", n, r);
2694
2826
  }), this.prelude.push(e.source), this.atDirectives = !0;
2695
2827
  break;
2696
2828
  case "document": {
2697
- let t = Hn(this.options, this.directives, e, this.onError);
2829
+ let t = nr(this.options, this.directives, e, this.onError);
2698
2830
  this.atDirectives && !t.directives.docStart && this.onError(e, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"), this.decorate(t, !1), this.doc && (yield this.doc), this.doc = t, this.atDirectives = !1;
2699
2831
  break;
2700
2832
  }
@@ -2705,17 +2837,17 @@ var Gn = class {
2705
2837
  this.prelude.push(e.source);
2706
2838
  break;
2707
2839
  case "error": {
2708
- let t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message, n = new sn(Un(e), "UNEXPECTED_TOKEN", t);
2840
+ let t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message, n = new xn(rr(e), "UNEXPECTED_TOKEN", t);
2709
2841
  this.atDirectives || !this.doc ? this.errors.push(n) : this.doc.errors.push(n);
2710
2842
  break;
2711
2843
  }
2712
2844
  case "doc-end": {
2713
2845
  if (!this.doc) {
2714
- this.errors.push(new sn(Un(e), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
2846
+ this.errors.push(new xn(rr(e), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
2715
2847
  break;
2716
2848
  }
2717
2849
  this.doc.directives.docEnd = !0;
2718
- let t = _n(e.end, e.offset + e.source.length, this.doc.options.strict, this.onError);
2850
+ let t = jn(e.end, e.offset + e.source.length, this.doc.options.strict, this.onError);
2719
2851
  if (this.decorate(this.doc, !0), t.comment) {
2720
2852
  let e = this.doc.comment;
2721
2853
  this.doc.comment = e ? `${e}\n${t.comment}` : t.comment;
@@ -2723,13 +2855,13 @@ var Gn = class {
2723
2855
  this.doc.range[2] = t.offset;
2724
2856
  break;
2725
2857
  }
2726
- default: this.errors.push(new sn(Un(e), "UNEXPECTED_TOKEN", `Unsupported token ${e.type}`));
2858
+ default: this.errors.push(new xn(rr(e), "UNEXPECTED_TOKEN", `Unsupported token ${e.type}`));
2727
2859
  }
2728
2860
  }
2729
2861
  *end(e = !1, t = -1) {
2730
2862
  if (this.doc) this.decorate(this.doc, !0), yield this.doc, this.doc = null;
2731
2863
  else if (e) {
2732
- let e = new rn(void 0, Object.assign({ _directives: this.directives }, this.options));
2864
+ let e = new vn(void 0, Object.assign({ _directives: this.directives }, this.options));
2733
2865
  this.atDirectives && this.onError(t, "MISSING_CHAR", "Missing directives-end indicator line"), e.range = [
2734
2866
  0,
2735
2867
  t,
@@ -2737,14 +2869,14 @@ var Gn = class {
2737
2869
  ], this.decorate(e, !1), yield e;
2738
2870
  }
2739
2871
  }
2740
- }, Kn = Symbol("break visit"), qn = Symbol("skip children"), Jn = Symbol("remove item");
2741
- function Yn(e, t) {
2872
+ }, or = Symbol("break visit"), sr = Symbol("skip children"), cr = Symbol("remove item");
2873
+ function lr(e, t) {
2742
2874
  "type" in e && e.type === "document" && (e = {
2743
2875
  start: e.start,
2744
2876
  value: e.value
2745
- }), Xn(Object.freeze([]), e, t);
2877
+ }), ur(Object.freeze([]), e, t);
2746
2878
  }
2747
- Yn.BREAK = Kn, Yn.SKIP = qn, Yn.REMOVE = Jn, Yn.itemAtPath = (e, t) => {
2879
+ lr.BREAK = or, lr.SKIP = sr, lr.REMOVE = cr, lr.itemAtPath = (e, t) => {
2748
2880
  let n = e;
2749
2881
  for (let [e, r] of t) {
2750
2882
  let t = n?.[e];
@@ -2752,29 +2884,29 @@ Yn.BREAK = Kn, Yn.SKIP = qn, Yn.REMOVE = Jn, Yn.itemAtPath = (e, t) => {
2752
2884
  else return;
2753
2885
  }
2754
2886
  return n;
2755
- }, Yn.parentCollection = (e, t) => {
2756
- let n = Yn.itemAtPath(e, t.slice(0, -1)), r = t[t.length - 1][0], i = n?.[r];
2887
+ }, lr.parentCollection = (e, t) => {
2888
+ let n = lr.itemAtPath(e, t.slice(0, -1)), r = t[t.length - 1][0], i = n?.[r];
2757
2889
  if (i && "items" in i) return i;
2758
2890
  throw Error("Parent collection not found");
2759
2891
  };
2760
- function Xn(e, t, n) {
2892
+ function ur(e, t, n) {
2761
2893
  let r = n(t, e);
2762
2894
  if (typeof r == "symbol") return r;
2763
2895
  for (let i of ["key", "value"]) {
2764
2896
  let a = t[i];
2765
2897
  if (a && "items" in a) {
2766
2898
  for (let t = 0; t < a.items.length; ++t) {
2767
- let r = Xn(Object.freeze(e.concat([[i, t]])), a.items[t], n);
2899
+ let r = ur(Object.freeze(e.concat([[i, t]])), a.items[t], n);
2768
2900
  if (typeof r == "number") t = r - 1;
2769
- else if (r === Kn) return Kn;
2770
- else r === Jn && (a.items.splice(t, 1), --t);
2901
+ else if (r === or) return or;
2902
+ else r === cr && (a.items.splice(t, 1), --t);
2771
2903
  }
2772
2904
  typeof r == "function" && i === "key" && (r = r(t, e));
2773
2905
  }
2774
2906
  }
2775
2907
  return typeof r == "function" ? r(t, e) : r;
2776
2908
  }
2777
- function Zn(e) {
2909
+ function dr(e) {
2778
2910
  switch (e) {
2779
2911
  case "": return "byte-order-mark";
2780
2912
  case "": return "doc-mode";
@@ -2811,7 +2943,7 @@ function Zn(e) {
2811
2943
  }
2812
2944
  //#endregion
2813
2945
  //#region node_modules/yaml/browser/dist/parse/lexer.js
2814
- function X(e) {
2946
+ function Q(e) {
2815
2947
  switch (e) {
2816
2948
  case void 0:
2817
2949
  case " ":
@@ -2821,7 +2953,7 @@ function X(e) {
2821
2953
  default: return !1;
2822
2954
  }
2823
2955
  }
2824
- var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), er = /* @__PURE__ */ new Set(",[]{}"), tr = /* @__PURE__ */ new Set(" ,[]{}\n\r "), nr = (e) => !e || tr.has(e), rr = class {
2956
+ var fr = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), pr = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), mr = /* @__PURE__ */ new Set(",[]{}"), hr = /* @__PURE__ */ new Set(" ,[]{}\n\r "), gr = (e) => !e || hr.has(e), _r = class {
2825
2957
  constructor() {
2826
2958
  this.atEnd = !1, this.blockScalarIndent = -1, this.blockScalarKeep = !1, this.buffer = "", this.flowKey = !1, this.flowLevel = 0, this.indentNext = 0, this.indentValue = 0, this.lineEndPos = null, this.next = null, this.pos = 0;
2827
2959
  }
@@ -2855,7 +2987,7 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
2855
2987
  }
2856
2988
  if (t === "-" || t === ".") {
2857
2989
  let t = this.buffer.substr(e, 3);
2858
- if ((t === "---" || t === "...") && X(this.buffer[e + 3])) return -1;
2990
+ if ((t === "---" || t === "...") && Q(this.buffer[e + 3])) return -1;
2859
2991
  }
2860
2992
  return e;
2861
2993
  }
@@ -2917,15 +3049,15 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
2917
3049
  if (e === "-" || e === ".") {
2918
3050
  if (!this.atEnd && !this.hasChars(4)) return this.setNext("line-start");
2919
3051
  let e = this.peek(3);
2920
- if (e === "---" && X(this.charAt(3))) return yield* this.pushCount(3), this.indentValue = 0, this.indentNext = 0, "doc";
2921
- if (e === "..." && X(this.charAt(3))) return yield* this.pushCount(3), "stream";
3052
+ if (e === "---" && Q(this.charAt(3))) return yield* this.pushCount(3), this.indentValue = 0, this.indentNext = 0, "doc";
3053
+ if (e === "..." && Q(this.charAt(3))) return yield* this.pushCount(3), "stream";
2922
3054
  }
2923
- return this.indentValue = yield* this.pushSpaces(!1), this.indentNext > this.indentValue && !X(this.charAt(1)) && (this.indentNext = this.indentValue), yield* this.parseBlockStart();
3055
+ return this.indentValue = yield* this.pushSpaces(!1), this.indentNext > this.indentValue && !Q(this.charAt(1)) && (this.indentNext = this.indentValue), yield* this.parseBlockStart();
2924
3056
  }
2925
3057
  *parseBlockStart() {
2926
3058
  let [e, t] = this.peek(2);
2927
3059
  if (!t && !this.atEnd) return this.setNext("block-start");
2928
- if ((e === "-" || e === "?" || e === ":") && X(t)) {
3060
+ if ((e === "-" || e === "?" || e === ":") && Q(t)) {
2929
3061
  let e = (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0));
2930
3062
  return this.indentNext = this.indentValue + 1, this.indentValue += e, yield* this.parseBlockStart();
2931
3063
  }
@@ -2943,7 +3075,7 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
2943
3075
  case "[": return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel = 1, "flow";
2944
3076
  case "}":
2945
3077
  case "]": return yield* this.pushCount(1), "doc";
2946
- case "*": return yield* this.pushUntil(nr), "doc";
3078
+ case "*": return yield* this.pushUntil(gr), "doc";
2947
3079
  case "\"":
2948
3080
  case "'": return yield* this.parseQuotedScalar();
2949
3081
  case "|":
@@ -2958,7 +3090,7 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
2958
3090
  while (e + t > 0);
2959
3091
  let r = this.getLine();
2960
3092
  if (r === null) return this.setNext("flow");
2961
- if ((n !== -1 && n < this.indentNext && r[0] !== "#" || n === 0 && (r.startsWith("---") || r.startsWith("...")) && X(r[3])) && (n !== this.indentNext - 1 || this.flowLevel !== 1 || r[0] !== "]" && r[0] !== "}")) return this.flowLevel = 0, yield "", yield* this.parseLineStart();
3093
+ if ((n !== -1 && n < this.indentNext && r[0] !== "#" || n === 0 && (r.startsWith("---") || r.startsWith("...")) && Q(r[3])) && (n !== this.indentNext - 1 || this.flowLevel !== 1 || r[0] !== "]" && r[0] !== "}")) return this.flowLevel = 0, yield "", yield* this.parseLineStart();
2962
3094
  let i = 0;
2963
3095
  for (; r[i] === ",";) i += yield* this.pushCount(1), i += yield* this.pushSpaces(!0), this.flowKey = !1;
2964
3096
  switch (i += yield* this.pushIndicators(), r[i]) {
@@ -2968,12 +3100,12 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
2968
3100
  case "[": return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel += 1, "flow";
2969
3101
  case "}":
2970
3102
  case "]": return yield* this.pushCount(1), this.flowKey = !0, --this.flowLevel, this.flowLevel ? "flow" : "doc";
2971
- case "*": return yield* this.pushUntil(nr), "flow";
3103
+ case "*": return yield* this.pushUntil(gr), "flow";
2972
3104
  case "\"":
2973
3105
  case "'": return this.flowKey = !0, yield* this.parseQuotedScalar();
2974
3106
  case ":": {
2975
3107
  let e = this.charAt(1);
2976
- if (this.flowKey || X(e) || e === ",") return this.flowKey = !1, yield* this.pushCount(1), yield* this.pushSpaces(!0), "flow";
3108
+ if (this.flowKey || Q(e) || e === ",") return this.flowKey = !1, yield* this.pushCount(1), yield* this.pushSpaces(!0), "flow";
2977
3109
  }
2978
3110
  default: return this.flowKey = !1, yield* this.parsePlainScalar();
2979
3111
  }
@@ -3011,7 +3143,7 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
3011
3143
  else if (t > "0" && t <= "9") this.blockScalarIndent = Number(t) - 1;
3012
3144
  else if (t !== "-") break;
3013
3145
  }
3014
- return yield* this.pushUntil((e) => X(e) || e === "#");
3146
+ return yield* this.pushUntil((e) => Q(e) || e === "#");
3015
3147
  }
3016
3148
  *parseBlockScalar() {
3017
3149
  let e = this.pos - 1, t = 0, n;
@@ -3061,18 +3193,18 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
3061
3193
  let e = this.flowLevel > 0, t = this.pos - 1, n = this.pos - 1, r;
3062
3194
  for (; r = this.buffer[++n];) if (r === ":") {
3063
3195
  let r = this.buffer[n + 1];
3064
- if (X(r) || e && er.has(r)) break;
3196
+ if (Q(r) || e && mr.has(r)) break;
3065
3197
  t = n;
3066
- } else if (X(r)) {
3198
+ } else if (Q(r)) {
3067
3199
  let i = this.buffer[n + 1];
3068
- if (r === "\r" && (i === "\n" ? (n += 1, r = "\n", i = this.buffer[n + 1]) : t = n), i === "#" || e && er.has(i)) break;
3200
+ if (r === "\r" && (i === "\n" ? (n += 1, r = "\n", i = this.buffer[n + 1]) : t = n), i === "#" || e && mr.has(i)) break;
3069
3201
  if (r === "\n") {
3070
3202
  let e = this.continueScalar(n + 1);
3071
3203
  if (e === -1) break;
3072
3204
  n = Math.max(n, e - 2);
3073
3205
  }
3074
3206
  } else {
3075
- if (e && er.has(r)) break;
3207
+ if (e && mr.has(r)) break;
3076
3208
  t = n;
3077
3209
  }
3078
3210
  return !r && !this.atEnd ? this.setNext("plain-scalar") : (yield "", yield* this.pushToIndex(t + 1, !0), e ? "flow" : "doc");
@@ -3087,12 +3219,12 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
3087
3219
  *pushIndicators() {
3088
3220
  switch (this.charAt(0)) {
3089
3221
  case "!": return (yield* this.pushTag()) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3090
- case "&": return (yield* this.pushUntil(nr)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3222
+ case "&": return (yield* this.pushUntil(gr)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3091
3223
  case "-":
3092
3224
  case "?":
3093
3225
  case ":": {
3094
3226
  let e = this.flowLevel > 0, t = this.charAt(1);
3095
- if (X(t) || e && er.has(t)) return e ? this.flowKey &&= !1 : this.indentNext = this.indentValue + 1, (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3227
+ if (Q(t) || e && mr.has(t)) return e ? this.flowKey &&= !1 : this.indentNext = this.indentValue + 1, (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3096
3228
  }
3097
3229
  }
3098
3230
  return 0;
@@ -3100,13 +3232,13 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
3100
3232
  *pushTag() {
3101
3233
  if (this.charAt(1) === "<") {
3102
3234
  let e = this.pos + 2, t = this.buffer[e];
3103
- for (; !X(t) && t !== ">";) t = this.buffer[++e];
3235
+ for (; !Q(t) && t !== ">";) t = this.buffer[++e];
3104
3236
  return yield* this.pushToIndex(t === ">" ? e + 1 : e, !1);
3105
3237
  }
3106
3238
  {
3107
3239
  let e = this.pos + 1, t = this.buffer[e];
3108
- for (; t;) if ($n.has(t)) t = this.buffer[++e];
3109
- else if (t === "%" && Qn.has(this.buffer[e + 1]) && Qn.has(this.buffer[e + 2])) t = this.buffer[e += 3];
3240
+ for (; t;) if (pr.has(t)) t = this.buffer[++e];
3241
+ else if (t === "%" && fr.has(this.buffer[e + 1]) && fr.has(this.buffer[e + 2])) t = this.buffer[e += 3];
3110
3242
  else break;
3111
3243
  return yield* this.pushToIndex(e, !1);
3112
3244
  }
@@ -3128,7 +3260,7 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
3128
3260
  for (; !e(n);) n = this.buffer[++t];
3129
3261
  return yield* this.pushToIndex(t, !1);
3130
3262
  }
3131
- }, ir = class {
3263
+ }, vr = class {
3132
3264
  constructor() {
3133
3265
  this.lineStarts = [], this.addNewLine = (e) => this.lineStarts.push(e), this.linePos = (e) => {
3134
3266
  let t = 0, n = this.lineStarts.length;
@@ -3154,11 +3286,11 @@ var Qn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), $n = /* @__PURE__ */
3154
3286
  };
3155
3287
  //#endregion
3156
3288
  //#region node_modules/yaml/browser/dist/parse/parser.js
3157
- function Z(e, t) {
3289
+ function $(e, t) {
3158
3290
  for (let n = 0; n < e.length; ++n) if (e[n].type === t) return !0;
3159
3291
  return !1;
3160
3292
  }
3161
- function ar(e) {
3293
+ function yr(e) {
3162
3294
  for (let t = 0; t < e.length; ++t) switch (e[t].type) {
3163
3295
  case "space":
3164
3296
  case "comment":
@@ -3167,7 +3299,7 @@ function ar(e) {
3167
3299
  }
3168
3300
  return -1;
3169
3301
  }
3170
- function or(e) {
3302
+ function br(e) {
3171
3303
  switch (e?.type) {
3172
3304
  case "alias":
3173
3305
  case "scalar":
@@ -3177,7 +3309,7 @@ function or(e) {
3177
3309
  default: return !1;
3178
3310
  }
3179
3311
  }
3180
- function sr(e) {
3312
+ function xr(e) {
3181
3313
  switch (e.type) {
3182
3314
  case "document": return e.start;
3183
3315
  case "block-map": {
@@ -3189,7 +3321,7 @@ function sr(e) {
3189
3321
  default: return [];
3190
3322
  }
3191
3323
  }
3192
- function Q(e) {
3324
+ function Sr(e) {
3193
3325
  if (e.length === 0) return [];
3194
3326
  let t = e.length;
3195
3327
  loop: for (; --t >= 0;) switch (e[t].type) {
@@ -3202,12 +3334,12 @@ function Q(e) {
3202
3334
  for (; e[++t]?.type === "space";);
3203
3335
  return e.splice(t, e.length);
3204
3336
  }
3205
- function cr(e) {
3206
- if (e.start.type === "flow-seq-start") for (let t of e.items) t.sep && !t.value && !Z(t.start, "explicit-key-ind") && !Z(t.sep, "map-value-ind") && (t.key && (t.value = t.key), delete t.key, or(t.value) ? t.value.end ? Array.prototype.push.apply(t.value.end, t.sep) : t.value.end = t.sep : Array.prototype.push.apply(t.start, t.sep), delete t.sep);
3337
+ function Cr(e) {
3338
+ if (e.start.type === "flow-seq-start") for (let t of e.items) t.sep && !t.value && !$(t.start, "explicit-key-ind") && !$(t.sep, "map-value-ind") && (t.key && (t.value = t.key), delete t.key, br(t.value) ? t.value.end ? Array.prototype.push.apply(t.value.end, t.sep) : t.value.end = t.sep : Array.prototype.push.apply(t.start, t.sep), delete t.sep);
3207
3339
  }
3208
- var lr = class {
3340
+ var wr = class {
3209
3341
  constructor(e) {
3210
- this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.lexer = new rr(), this.onNewLine = e;
3342
+ this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.lexer = new _r(), this.onNewLine = e;
3211
3343
  }
3212
3344
  *parse(e, t = !1) {
3213
3345
  this.onNewLine && this.offset === 0 && this.onNewLine(0);
@@ -3219,7 +3351,7 @@ var lr = class {
3219
3351
  this.atScalar = !1, yield* this.step(), this.offset += e.length;
3220
3352
  return;
3221
3353
  }
3222
- let t = Zn(e);
3354
+ let t = dr(e);
3223
3355
  if (!t) {
3224
3356
  let t = `Not a YAML token: ${e}`;
3225
3357
  yield* this.pop({
@@ -3302,7 +3434,7 @@ var lr = class {
3302
3434
  else if (this.stack.length === 0) yield t;
3303
3435
  else {
3304
3436
  let e = this.peek(1);
3305
- switch (t.type === "block-scalar" ? t.indent = "indent" in e ? e.indent : 0 : t.type === "flow-collection" && e.type === "document" && (t.indent = 0), t.type === "flow-collection" && cr(t), e.type) {
3437
+ switch (t.type === "block-scalar" ? t.indent = "indent" in e ? e.indent : 0 : t.type === "flow-collection" && e.type === "document" && (t.indent = 0), t.type === "flow-collection" && Cr(t), e.type) {
3306
3438
  case "document":
3307
3439
  e.value = t;
3308
3440
  break;
@@ -3354,7 +3486,7 @@ var lr = class {
3354
3486
  }
3355
3487
  if ((e.type === "document" || e.type === "block-map" || e.type === "block-seq") && (t.type === "block-map" || t.type === "block-seq")) {
3356
3488
  let n = t.items[t.items.length - 1];
3357
- n && !n.sep && !n.value && n.start.length > 0 && ar(n.start) === -1 && (t.indent === 0 || n.start.every((e) => e.type !== "comment" || e.indent < t.indent)) && (e.type === "document" ? e.end = n.start : e.items.push({ start: n.start }), t.items.splice(-1, 1));
3489
+ n && !n.sep && !n.value && n.start.length > 0 && yr(n.start) === -1 && (t.indent === 0 || n.start.every((e) => e.type !== "comment" || e.indent < t.indent)) && (e.type === "document" ? e.end = n.start : e.items.push({ start: n.start }), t.items.splice(-1, 1));
3358
3490
  }
3359
3491
  }
3360
3492
  }
@@ -3395,7 +3527,7 @@ var lr = class {
3395
3527
  if (e.value) return yield* this.lineEnd(e);
3396
3528
  switch (this.type) {
3397
3529
  case "doc-start":
3398
- ar(e.start) === -1 ? e.start.push(this.sourceToken) : (yield* this.pop(), yield* this.step());
3530
+ yr(e.start) === -1 ? e.start.push(this.sourceToken) : (yield* this.pop(), yield* this.step());
3399
3531
  return;
3400
3532
  case "anchor":
3401
3533
  case "tag":
@@ -3415,7 +3547,7 @@ var lr = class {
3415
3547
  }
3416
3548
  *scalar(e) {
3417
3549
  if (this.type === "map-value-ind") {
3418
- let t = Q(sr(this.peek(2))), n;
3550
+ let t = Sr(xr(this.peek(2))), n;
3419
3551
  e.end ? (n = e.end, n.push(this.sourceToken), delete e.end) : n = [this.sourceToken];
3420
3552
  let r = {
3421
3553
  type: "block-map",
@@ -3514,12 +3646,12 @@ var lr = class {
3514
3646
  case "map-value-ind":
3515
3647
  if (t.explicitKey) {
3516
3648
  if (!t.sep) {
3517
- if (Z(t.start, "newline")) Object.assign(t, {
3649
+ if ($(t.start, "newline")) Object.assign(t, {
3518
3650
  key: null,
3519
3651
  sep: [this.sourceToken]
3520
3652
  });
3521
3653
  else {
3522
- let e = Q(t.start);
3654
+ let e = Sr(t.start);
3523
3655
  this.stack.push({
3524
3656
  type: "block-map",
3525
3657
  offset: this.offset,
@@ -3536,7 +3668,7 @@ var lr = class {
3536
3668
  key: null,
3537
3669
  sep: [this.sourceToken]
3538
3670
  });
3539
- else if (Z(t.sep, "map-value-ind")) this.stack.push({
3671
+ else if ($(t.sep, "map-value-ind")) this.stack.push({
3540
3672
  type: "block-map",
3541
3673
  offset: this.offset,
3542
3674
  indent: this.indent,
@@ -3546,8 +3678,8 @@ var lr = class {
3546
3678
  sep: [this.sourceToken]
3547
3679
  }]
3548
3680
  });
3549
- else if (or(t.key) && !Z(t.sep, "newline")) {
3550
- let e = Q(t.start), n = t.key, r = t.sep;
3681
+ else if (br(t.key) && !$(t.sep, "newline")) {
3682
+ let e = Sr(t.start), n = t.key, r = t.sep;
3551
3683
  r.push(this.sourceToken), delete t.key, delete t.sep, this.stack.push({
3552
3684
  type: "block-map",
3553
3685
  offset: this.offset,
@@ -3563,7 +3695,7 @@ var lr = class {
3563
3695
  start: i,
3564
3696
  key: null,
3565
3697
  sep: [this.sourceToken]
3566
- }) : Z(t.sep, "map-value-ind") ? this.stack.push({
3698
+ }) : $(t.sep, "map-value-ind") ? this.stack.push({
3567
3699
  type: "block-map",
3568
3700
  offset: this.offset,
3569
3701
  indent: this.indent,
@@ -3634,7 +3766,7 @@ var lr = class {
3634
3766
  return;
3635
3767
  case "seq-item-ind":
3636
3768
  if (this.indent !== e.indent) break;
3637
- t.value || Z(t.start, "seq-item-ind") ? e.items.push({ start: [this.sourceToken] }) : t.start.push(this.sourceToken);
3769
+ t.value || $(t.start, "seq-item-ind") ? e.items.push({ start: [this.sourceToken] }) : t.start.push(this.sourceToken);
3638
3770
  return;
3639
3771
  }
3640
3772
  if (this.indent > e.indent) {
@@ -3703,8 +3835,8 @@ var lr = class {
3703
3835
  let t = this.peek(2);
3704
3836
  if (t.type === "block-map" && (this.type === "map-value-ind" && t.indent === e.indent || this.type === "newline" && !t.items[t.items.length - 1].sep)) yield* this.pop(), yield* this.step();
3705
3837
  else if (this.type === "map-value-ind" && t.type !== "flow-collection") {
3706
- let n = Q(sr(t));
3707
- cr(e);
3838
+ let n = Sr(xr(t));
3839
+ Cr(e);
3708
3840
  let r = e.end.splice(1, e.end.length);
3709
3841
  r.push(this.sourceToken);
3710
3842
  let i = {
@@ -3763,7 +3895,7 @@ var lr = class {
3763
3895
  };
3764
3896
  case "explicit-key-ind": {
3765
3897
  this.onKeyLine = !0;
3766
- let t = Q(sr(e));
3898
+ let t = Sr(xr(e));
3767
3899
  return t.push(this.sourceToken), {
3768
3900
  type: "block-map",
3769
3901
  offset: this.offset,
@@ -3776,7 +3908,7 @@ var lr = class {
3776
3908
  }
3777
3909
  case "map-value-ind": {
3778
3910
  this.onKeyLine = !0;
3779
- let t = Q(sr(e));
3911
+ let t = Sr(xr(e));
3780
3912
  return {
3781
3913
  type: "block-map",
3782
3914
  offset: this.offset,
@@ -3814,32 +3946,32 @@ var lr = class {
3814
3946
  };
3815
3947
  //#endregion
3816
3948
  //#region node_modules/yaml/browser/dist/public-api.js
3817
- function ur(e) {
3949
+ function Tr(e) {
3818
3950
  let t = e.prettyErrors !== !1;
3819
3951
  return {
3820
- lineCounter: e.lineCounter || t && new ir() || null,
3952
+ lineCounter: e.lineCounter || t && new vr() || null,
3821
3953
  prettyErrors: t
3822
3954
  };
3823
3955
  }
3824
- function dr(e, t = {}) {
3825
- let { lineCounter: n, prettyErrors: r } = ur(t), i = new lr(n?.addNewLine), a = new Gn(t), o = null;
3956
+ function Er(e, t = {}) {
3957
+ let { lineCounter: n, prettyErrors: r } = Tr(t), i = new wr(n?.addNewLine), a = new ar(t), o = null;
3826
3958
  for (let t of a.compose(i.parse(e), !0, e.length)) if (!o) o = t;
3827
3959
  else if (o.options.logLevel !== "silent") {
3828
- o.errors.push(new sn(t.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
3960
+ o.errors.push(new xn(t.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
3829
3961
  break;
3830
3962
  }
3831
- return r && n && (o.errors.forEach(ln(e, n)), o.warnings.forEach(ln(e, n))), o;
3963
+ return r && n && (o.errors.forEach(Cn(e, n)), o.warnings.forEach(Cn(e, n))), o;
3832
3964
  }
3833
3965
  //#endregion
3834
3966
  //#region packages/plugins/dsh/endpoint-auth.ts
3835
- function fr(e) {
3967
+ function Dr(e) {
3836
3968
  return "kano-" + e.replace(/[^a-z0-9]/gu, (e) => "-" + e.codePointAt(0).toString(16) + "-");
3837
3969
  }
3838
- function pr(e) {
3839
- return fr(e).replaceAll("-", "_").toUpperCase() + "_API_KEY";
3970
+ function Or(e) {
3971
+ return Dr(e).replaceAll("-", "_").toUpperCase() + "_API_KEY";
3840
3972
  }
3841
- function mr(e, t, n, r) {
3842
- let i = "Bearer kano-local", a = pr(n), o = [...t, "apiKeyEnv"], s = [...t, "headers"], c = e.getIn(o), l = e.getIn(s, !0);
3973
+ function kr(e, t, n, r) {
3974
+ let i = "Bearer kano-local", a = Or(n), o = [...t, "apiKeyEnv"], s = [...t, "headers"], c = e.getIn(o), l = e.getIn(s, !0);
3843
3975
  if (l !== void 0 && !j(l)) throw Error("dsh 提供方的 headers 不是有效的映射");
3844
3976
  let u = j(l) ? l.items.map((e) => String(e.key)).find((e) => e.toLowerCase() === "authorization") : void 0, d = [...s, u || "Authorization"];
3845
3977
  if (r) {
@@ -3847,7 +3979,7 @@ function mr(e, t, n, r) {
3847
3979
  u && e.deleteIn(d), e.setIn(o, a);
3848
3980
  } else c === a && e.deleteIn(o), !e.getIn(o) && !u && e.setIn(d, i);
3849
3981
  }
3850
- async function hr(e, t, n, r) {
3982
+ async function Ar(e, t, n, r) {
3851
3983
  let i;
3852
3984
  try {
3853
3985
  i = new URL(t.webUrl || "");
@@ -3875,7 +4007,7 @@ async function hr(e, t, n, r) {
3875
4007
  rpcId: crypto.randomUUID(),
3876
4008
  method: "credentials/set",
3877
4009
  payload: { args: {
3878
- ref: pr(n),
4010
+ ref: Or(n),
3879
4011
  value: r
3880
4012
  } }
3881
4013
  }, {
@@ -3892,7 +4024,7 @@ async function hr(e, t, n, r) {
3892
4024
  }
3893
4025
  //#endregion
3894
4026
  //#region packages/plugins/dsh/params.ts
3895
- var gr = [
4027
+ var jr = [
3896
4028
  {
3897
4029
  id: "server",
3898
4030
  label: "服务",
@@ -3910,7 +4042,7 @@ var gr = [
3910
4042
  collapsed: !0
3911
4043
  }
3912
4044
  ];
3913
- function _r(e) {
4045
+ function Mr(e) {
3914
4046
  return /^[a-zA-Z0-9][a-zA-Z0-9_-]*$/.test(e) && ![
3915
4047
  "node_modules",
3916
4048
  "desktop",
@@ -3920,7 +4052,7 @@ function _r(e) {
3920
4052
  "acp"
3921
4053
  ].includes(e);
3922
4054
  }
3923
- var vr = [
4055
+ var Nr = [
3924
4056
  {
3925
4057
  id: "profile",
3926
4058
  label: "Web 配置名称",
@@ -3930,7 +4062,7 @@ var vr = [
3930
4062
  required: !0,
3931
4063
  cli: "--profile",
3932
4064
  description: "默认 web。自定义配置必须已存在且包含 Web 应用;模型和 API 密钥在 dsh 的 Settings → Models 中配置。",
3933
- validate: (e) => _r(String(e)) ? null : "请填写 web 或自定义 Web 配置名称"
4065
+ validate: (e) => Mr(String(e)) ? null : "请填写 web 或自定义 Web 配置名称"
3934
4066
  },
3935
4067
  {
3936
4068
  id: "patches",
@@ -4027,24 +4159,24 @@ var vr = [
4027
4159
  ];
4028
4160
  //#endregion
4029
4161
  //#region packages/plugins/dsh/local-models.ts
4030
- function yr(e) {
4162
+ function Pr(e) {
4031
4163
  if (e.contents ||= e.createNode([]), !P(e.contents)) throw Error("dsh 配置补丁需要使用 YAML 列表");
4032
4164
  let t = e.contents.items, n = t.findLastIndex((e) => j(e) && e.get("id") === "llm-pi-ai");
4033
4165
  return n < 0 && (n = t.length, e.contents.add(e.createNode({ id: "llm-pi-ai" }))), [n, "config"];
4034
4166
  }
4035
- function br(e, t, n, r, i, a = !1, o = !1) {
4036
- let s = dr(e);
4167
+ function Fr(e, t, n, r, i, a = !1, o = !1) {
4168
+ let s = Er(e);
4037
4169
  if (s.errors.length || !o && s.contents && !j(s.contents)) throw Error("dsh 设置不是有效的 YAML 映射");
4038
4170
  let c = [
4039
- ...o ? yr(s) : ["llm-pi-ai"],
4171
+ ...o ? Pr(s) : ["llm-pi-ai"],
4040
4172
  "providers",
4041
- fr(t)
4173
+ Dr(t)
4042
4174
  ];
4043
4175
  for (let e = 1; e <= c.length; e++) {
4044
4176
  let t = s.getIn(c.slice(0, e), !0);
4045
4177
  if (t !== void 0 && !j(t)) throw Error("dsh 提供方配置格式无效");
4046
4178
  }
4047
- mr(s, c, t, a);
4179
+ kr(s, c, t, a);
4048
4180
  for (let [e, t] of Object.entries({
4049
4181
  displayName: i,
4050
4182
  api: "openai-completions",
@@ -4053,7 +4185,7 @@ function br(e, t, n, r, i, a = !1, o = !1) {
4053
4185
  })) s.setIn([...c, e], t);
4054
4186
  return s.toString();
4055
4187
  }
4056
- async function xr({ fs: e, http: t }, n, r) {
4188
+ async function Ir({ fs: e, http: t }, n, r) {
4057
4189
  let i = await t.get(r.baseURL + "/models", {
4058
4190
  headers: r.apiKey ? { Authorization: "Bearer " + r.apiKey } : void 0,
4059
4191
  no_redirect: !0,
@@ -4069,9 +4201,9 @@ async function xr({ fs: e, http: t }, n, r) {
4069
4201
  let o = Array.isArray(a) ? a.map((e) => e?.id).filter((e) => typeof e == "string" && !!e) : [];
4070
4202
  if (!o.length) throw Error("该端点未返回可用模型");
4071
4203
  let s = C(n.path, String(n.params.dataDir || ".kano/dsh")), c = await e.exists(C(n.path, "node_modules/@deepseek-ai/dsh-config-editor/package.json")), l = String(n.params.profile || "web");
4072
- if (c && !_r(l)) throw Error("请检查 dsh 的 Web 配置名称");
4073
- let u = c ? C(s, `profiles/${l}`) : s, d = C(u, c ? "cordis.patch.yml" : "settings.yaml"), f = await e.exists(d) ? await e.readTextFile(d) : void 0, p = (e) => br(e, r.id, r.baseURL, o, r.name, !!r.apiKey, c), m = p(f?.content || "");
4074
- if (r.apiKey && await hr(t, n, r.id, r.apiKey), !f) {
4204
+ if (c && !Mr(l)) throw Error("请检查 dsh 的 Web 配置名称");
4205
+ let u = c ? C(s, `profiles/${l}`) : s, d = C(u, c ? "cordis.patch.yml" : "settings.yaml"), f = await e.exists(d) ? await e.readTextFile(d) : void 0, p = (e) => Fr(e, r.id, r.baseURL, o, r.name, !!r.apiKey, c), m = p(f?.content || "");
4206
+ if (r.apiKey && await Ar(t, n, r.id, r.apiKey), !f) {
4075
4207
  await e.mkdir(u);
4076
4208
  try {
4077
4209
  await e.createFile(d);
@@ -4084,14 +4216,14 @@ async function xr({ fs: e, http: t }, n, r) {
4084
4216
  }
4085
4217
  //#endregion
4086
4218
  //#region packages/plugins/dsh/LocalModelsPage.vue?vue&type=script&setup=true&lang.ts
4087
- var Sr = {
4219
+ var Lr = {
4088
4220
  key: 0,
4089
4221
  role: "alert",
4090
4222
  class: "mb-3 break-words text-sm text-danger"
4091
- }, Cr = { class: "kano-field-label break-words" }, wr = { class: "break-all font-mono text-xs text-text-secondary" }, Tr = {
4223
+ }, Rr = { class: "kano-field-label break-words" }, zr = { class: "break-all font-mono text-xs text-text-secondary" }, Br = {
4092
4224
  key: 0,
4093
4225
  class: "kano-field-hint"
4094
- }, Er = /* @__PURE__ */ s({
4226
+ }, Vr = /* @__PURE__ */ s({
4095
4227
  __name: "LocalModelsPage",
4096
4228
  props: {
4097
4229
  app: {},
@@ -4100,7 +4232,7 @@ var Sr = {
4100
4232
  setup(s) {
4101
4233
  let S = s, C = d([]);
4102
4234
  m(() => S.api, (e, t, n) => {
4103
- n(e.services.watch("kano:llm-endpoints", (e) => {
4235
+ n(e.services.watch(te, (e) => {
4104
4236
  C.value = e;
4105
4237
  }).dispose);
4106
4238
  }, { immediate: !0 });
@@ -4108,35 +4240,35 @@ var Sr = {
4108
4240
  ...t,
4109
4241
  key: e.providerId + ":" + t.id,
4110
4242
  provider: e
4111
- })))), w = l(""), T = l(""), E = t(() => S.api.apps.list("llamacpp").filter((e) => e.status === "stopped" || e.status === "error")), D = l(""), O = t(() => E.value.find((e) => e.id === D.value) ?? E.value[0]), k = l(!1);
4112
- async function A() {
4113
- let e = O.value;
4114
- if (!e || k.value) return;
4243
+ })))), w = l(""), ne = l(""), re = t(() => S.api.apps.list("llamacpp").filter((e) => e.status === "stopped" || e.status === "error")), ie = l(""), T = t(() => re.value.find((e) => e.id === ie.value) ?? re.value[0]), E = l(!1);
4244
+ async function ae() {
4245
+ let e = T.value;
4246
+ if (!e || E.value) return;
4115
4247
  let { api: t } = S;
4116
- k.value = !0;
4248
+ E.value = !0;
4117
4249
  try {
4118
4250
  await t.apps.openTab(e.id, "launch-control"), await t.apps.start(e.id);
4119
4251
  } catch (n) {
4120
4252
  t.ui.toast.exception("启动 " + e.name + " 失败", n);
4121
4253
  } finally {
4122
- k.value = !1;
4254
+ E.value = !1;
4123
4255
  }
4124
4256
  }
4125
- async function te(e) {
4257
+ async function oe(e) {
4126
4258
  if (w.value) return;
4127
4259
  let { api: t, app: n } = S;
4128
- w.value = e.key, T.value = "";
4260
+ w.value = e.key, ne.value = "";
4129
4261
  try {
4130
4262
  let r = e.requiresApiKey ? await e.provider.getApiKey?.(e.id) : void 0, i = e.provider.list().find((t) => t.id === e.id);
4131
4263
  if (i?.status !== "running" || i.baseURL !== e.baseURL || i.requiresApiKey !== e.requiresApiKey) throw Error("端点配置已变化,请重新选择。");
4132
4264
  if (i.requiresApiKey && !r) throw Error("端点需要凭据,请在提供方配置 API 密钥。");
4133
- await xr(t, n, {
4265
+ await Ir(t, n, {
4134
4266
  ...i,
4135
4267
  id: e.key,
4136
4268
  apiKey: r ?? ""
4137
4269
  }), t.ui.toast.success("已填入 dsh 模型设置");
4138
4270
  } catch (e) {
4139
- T.value = e instanceof Error ? e.message : String(e);
4271
+ ne.value = e instanceof Error ? e.message : String(e);
4140
4272
  } finally {
4141
4273
  w.value = "";
4142
4274
  }
@@ -4145,7 +4277,7 @@ var Sr = {
4145
4277
  title: "模型端点",
4146
4278
  "max-width": "prose"
4147
4279
  }, {
4148
- default: h(() => [T.value ? (c(), i("p", Sr, f(T.value), 1)) : r("", !0), ee.value.length ? (c(), n(p(_), {
4280
+ default: h(() => [ne.value ? (c(), i("p", Lr, f(ne.value), 1)) : r("", !0), ee.value.length ? (c(), n(p(_), {
4149
4281
  key: 2,
4150
4282
  "aria-label": "运行中的推理端点"
4151
4283
  }, {
@@ -4160,7 +4292,7 @@ var Sr = {
4160
4292
  severity: "secondary",
4161
4293
  loading: w.value === e.key,
4162
4294
  disabled: !!w.value,
4163
- onClick: (t) => te(e)
4295
+ onClick: (t) => oe(e)
4164
4296
  }, null, 8, [
4165
4297
  "label",
4166
4298
  "loading",
@@ -4168,9 +4300,9 @@ var Sr = {
4168
4300
  "onClick"
4169
4301
  ])]),
4170
4302
  default: h(() => [
4171
- a("h2", Cr, f(e.name), 1),
4172
- a("p", wr, f(e.baseURL), 1),
4173
- e.requiresApiKey ? (c(), i("p", Tr, " API 密钥将保存到当前执行机器的 dsh 凭据库。 ")) : r("", !0)
4303
+ a("h2", Rr, f(e.name), 1),
4304
+ a("p", zr, f(e.baseURL), 1),
4305
+ e.requiresApiKey ? (c(), i("p", Br, " API 密钥将保存到当前执行机器的 dsh 凭据库。 ")) : r("", !0)
4174
4306
  ]),
4175
4307
  _: 2
4176
4308
  }, 1024))), 128))]),
@@ -4180,16 +4312,16 @@ var Sr = {
4180
4312
  icon: "i-lucide-network",
4181
4313
  title: "当前执行端没有运行中的模型端点"
4182
4314
  }, {
4183
- default: h(() => [O.value ? (c(), i(e, { key: 0 }, [E.value.length > 1 ? (c(), n(p(x), {
4315
+ default: h(() => [T.value ? (c(), i(e, { key: 0 }, [re.value.length > 1 ? (c(), n(p(x), {
4184
4316
  key: 0,
4185
- "model-value": O.value.id,
4186
- options: E.value,
4317
+ "model-value": T.value.id,
4318
+ options: re.value,
4187
4319
  "option-label": "name",
4188
4320
  "option-value": "id",
4189
4321
  "aria-label": "要启动的 llama.cpp 实例",
4190
4322
  class: "kano-select-adaptive",
4191
- disabled: k.value,
4192
- "onUpdate:modelValue": s[0] ||= (e) => D.value = String(e)
4323
+ disabled: E.value,
4324
+ "onUpdate:modelValue": s[0] ||= (e) => ie.value = String(e)
4193
4325
  }, null, 8, [
4194
4326
  "model-value",
4195
4327
  "options",
@@ -4197,152 +4329,28 @@ var Sr = {
4197
4329
  ])) : r("", !0), o(p(g), {
4198
4330
  label: "前往并启动 llama.cpp",
4199
4331
  icon: "i-lucide-play",
4200
- loading: k.value,
4201
- disabled: k.value,
4202
- onClick: A
4332
+ loading: E.value,
4333
+ disabled: E.value,
4334
+ onClick: ae
4203
4335
  }, null, 8, ["loading", "disabled"])], 64)) : r("", !0)]),
4204
4336
  _: 1
4205
4337
  }))]),
4206
4338
  _: 1
4207
4339
  }));
4208
4340
  }
4209
- }), Dr = {
4210
- RefreshHostCapabilities: "refresh-host-capabilities",
4211
- OpenPythonSettings: "open-python-settings",
4212
- OpenLaunchSettings: "open-launch-settings",
4213
- OpenVersionManagement: "open-version-management",
4214
- OpenExtensionManagement: "open-extension-management",
4215
- ApplyLaunchParam: "apply-launch-param",
4216
- ApplyBackendSelection: "apply-backend-selection",
4217
- OpenUrl: "open-url"
4218
- };
4219
- //#endregion
4220
- //#region ../kano-plugin-sdk/src/helpers/define-plugin.ts
4221
- function Or(e) {
4222
- return e;
4223
- }
4224
- //#endregion
4225
- //#region ../kano-plugin-sdk/src/versions.ts
4226
- var kr = /* @__PURE__ */ new Set([
4227
- "",
4228
- "*",
4229
- "x",
4230
- "X"
4231
- ]);
4232
- function Ar(e) {
4233
- let t = e.trim().replace(/^v/i, "").split("+")[0], [n, r = ""] = t.split("-", 2), i = n.split(".");
4234
- return !/^\d+(?:\.\d+){0,2}(?:-[0-9A-Za-z.-]+)?$/.test(t) || i.length > 3 || i.some((e) => e !== "" && !/^\d+$/.test(e)) ? null : {
4235
- major: Number(i[0] ?? 0),
4236
- minor: Number(i[1] ?? 0),
4237
- patch: Number(i[2] ?? 0),
4238
- prerelease: r
4239
- };
4240
- }
4241
- function $(e, t) {
4242
- for (let n of [
4243
- "major",
4244
- "minor",
4245
- "patch"
4246
- ]) {
4247
- if (e[n] > t[n]) return 1;
4248
- if (e[n] < t[n]) return -1;
4249
- }
4250
- if (e.prerelease === t.prerelease) return 0;
4251
- if (!e.prerelease) return 1;
4252
- if (!t.prerelease) return -1;
4253
- let n = e.prerelease.split("."), r = t.prerelease.split(".");
4254
- for (let e = 0; e < Math.max(n.length, r.length); e++) {
4255
- if (n[e] === r[e]) continue;
4256
- if (n[e] === void 0) return -1;
4257
- if (r[e] === void 0) return 1;
4258
- let t = /^\d+$/.test(n[e]), i = /^\d+$/.test(r[e]);
4259
- return t && i ? Number(n[e]) - Number(r[e]) : t === i ? n[e] < r[e] ? -1 : 1 : t ? -1 : 1;
4260
- }
4261
- return 0;
4262
- }
4263
- function jr(e) {
4264
- return {
4265
- major: e.major + 1,
4266
- minor: 0,
4267
- patch: 0,
4268
- prerelease: ""
4269
- };
4270
- }
4271
- function Mr(e) {
4272
- return {
4273
- major: e.major,
4274
- minor: e.minor + 1,
4275
- patch: 0,
4276
- prerelease: ""
4277
- };
4278
- }
4279
- function Nr(e) {
4280
- return {
4281
- major: e.major,
4282
- minor: e.minor,
4283
- patch: e.patch + 1,
4284
- prerelease: ""
4285
- };
4286
- }
4287
- function Pr(e, t, n) {
4288
- let r = $(e, n);
4289
- switch (t) {
4290
- case ">": return r > 0;
4291
- case ">=": return r >= 0;
4292
- case "<": return r < 0;
4293
- case "<=": return r <= 0;
4294
- default: return r === 0;
4295
- }
4296
- }
4297
- function Fr(e, t) {
4298
- let n = t.major > 0 ? jr(t) : t.minor > 0 ? Mr(t) : Nr(t);
4299
- return $(e, t) >= 0 && $(e, n) < 0;
4300
- }
4301
- function Ir(e, t) {
4302
- let n = Mr(t);
4303
- return $(e, t) >= 0 && $(e, n) < 0;
4304
- }
4305
- function Lr(e, t) {
4306
- let n = t.trim().replace(/^v/i, "").split("."), r = n.findIndex((e) => e === "*" || /^x$/i.test(e));
4307
- if (r === -1) return !1;
4308
- let i = Ar(n.map((e) => e === "*" || /^x$/i.test(e) ? "0" : e).join("."));
4309
- if (!i) return !1;
4310
- let a = r === 0 ? null : r === 1 ? jr(i) : Mr(i);
4311
- return $(e, i) >= 0 && (!a || $(e, a) < 0);
4312
- }
4313
- function Rr(e, t) {
4314
- let n = t.trim();
4315
- if (kr.has(n)) return !0;
4316
- if (n.includes("*") || /(^|\.)x(\.|$)/i.test(n)) return Lr(e, n);
4317
- let r = n.match(/^(\^|~)(.+)$/);
4318
- if (r) {
4319
- let t = Ar(r[2]);
4320
- return t ? r[1] === "^" ? Fr(e, t) : Ir(e, t) : !1;
4321
- }
4322
- let i = n.match(/^(>=|<=|>|<|=)?\s*(.+)$/);
4323
- if (!i) return !1;
4324
- let a = Ar(i[2]);
4325
- return a ? Pr(e, i[1] ?? "=", a) : !1;
4326
- }
4327
- function zr(e, t) {
4328
- let n = Ar(e);
4329
- return n ? t.split("||").map((e) => e.trim()).some((e) => e.split(/\s+/).every((e) => Rr(n, e))) : !1;
4330
- }
4331
- //#endregion
4332
- //#region packages/plugins/dsh/launch.ts
4333
- var Br = "node_modules/@deepseek-ai/dsh/package.json";
4334
- function Vr(e) {
4341
+ }), Hr = "node_modules/@deepseek-ai/dsh/package.json";
4342
+ function Ur(e) {
4335
4343
  return S({
4336
4344
  host: e.host,
4337
4345
  port: e.port,
4338
4346
  defaultPort: 3080
4339
4347
  });
4340
4348
  }
4341
- function Hr(e, t) {
4349
+ function Wr(e, t) {
4342
4350
  let n = /^dsh web:\s+(https?:\/\/\S+)/.exec(e.trim());
4343
4351
  if (!n) return null;
4344
4352
  try {
4345
- let e = new URL(n[1]), r = new URL(Vr(t)), i = new URL(Vr({ port: t.port }));
4353
+ let e = new URL(n[1]), r = new URL(Ur(t)), i = new URL(Ur({ port: t.port }));
4346
4354
  return ![r.origin, i.origin].includes(e.origin) || e.pathname !== "/" || !e.searchParams.get("token") ? null : (r.search = e.search, r.href);
4347
4355
  } catch {
4348
4356
  return null;
@@ -4350,105 +4358,102 @@ function Hr(e, t) {
4350
4358
  }
4351
4359
  //#endregion
4352
4360
  //#region packages/plugins/dsh/index.ts
4353
- var Ur = Or({
4354
- id: "dsh",
4355
- app: {
4356
- tabs: [{
4357
- id: "dsh-local-models",
4358
- label: "模型端点",
4359
- icon: "i-lucide-network",
4360
- order: 15,
4361
- component: Er
4362
- }],
4363
- icon: "i-lucide-terminal",
4364
- color: "#64748b",
4365
- identifiers: [{
4366
- type: "file",
4367
- pattern: Br,
4368
- weight: 50
4369
- }],
4370
- launchProvider: {
4371
- entry: {
4372
- type: "node",
4373
- script: "node_modules/@deepseek-ai/dsh/lib/bin.js"
4374
- },
4375
- dependencies: !1,
4376
- groups: gr,
4377
- params: vr,
4378
- extraArgs: {
4379
- param: "extraArgs",
4380
- target: "argv"
4381
- },
4382
- ownedArgs: [
4383
- "--help",
4384
- "-h",
4385
- "--version",
4386
- "-V",
4387
- "--dump-config",
4388
- "--dump-default-config",
4389
- "--from-default-profile",
4390
- "--open"
4391
- ],
4392
- getWebViewUrl: Vr,
4393
- strategy: {
4394
- requirements: {},
4395
- async preflight(e, t) {
4396
- let n = await t.launch.checkPaths([...String(e.params.patches ?? "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean).map((t, n) => ({
4397
- id: `dsh-patch-${n}`,
4398
- paths: [C(e.app.path, t)],
4399
- successMessage: `配置补丁已找到:${t}`,
4400
- failureMessage: `配置补丁不存在:${t}`,
4401
- actions: [{
4402
- id: Dr.OpenLaunchSettings,
4361
+ var Gr = ne({ app: {
4362
+ tabs: [{
4363
+ id: "dsh-local-models",
4364
+ label: "模型端点",
4365
+ icon: "i-lucide-network",
4366
+ order: 15,
4367
+ component: Vr
4368
+ }],
4369
+ icon: "i-lucide-terminal",
4370
+ color: "#64748b",
4371
+ identifiers: [{
4372
+ type: "file",
4373
+ pattern: Hr,
4374
+ weight: 50
4375
+ }],
4376
+ launchProvider: {
4377
+ entry: {
4378
+ type: "node",
4379
+ script: "node_modules/@deepseek-ai/dsh/lib/bin.js"
4380
+ },
4381
+ dependencies: !1,
4382
+ groups: jr,
4383
+ params: Nr,
4384
+ extraArgs: {
4385
+ param: "extraArgs",
4386
+ target: "argv"
4387
+ },
4388
+ ownedArgs: [
4389
+ "--help",
4390
+ "-h",
4391
+ "--version",
4392
+ "-V",
4393
+ "--dump-config",
4394
+ "--dump-default-config",
4395
+ "--from-default-profile",
4396
+ "--open"
4397
+ ],
4398
+ getWebViewUrl: Ur,
4399
+ strategy: {
4400
+ requirements: {},
4401
+ async preflight(e, t) {
4402
+ let n = await t.launch.checkPaths([...String(e.params.patches ?? "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean).map((t, n) => ({
4403
+ id: `dsh-patch-${n}`,
4404
+ paths: [C(e.app.path, t)],
4405
+ successMessage: `配置补丁已找到:${t}`,
4406
+ failureMessage: `配置补丁不存在:${t}`,
4407
+ actions: [{
4408
+ id: w.OpenLaunchSettings,
4409
+ label: "启动参数"
4410
+ }]
4411
+ }))]), r = e.runtime.node?.version;
4412
+ if (r) {
4413
+ let i = await t.fs.readTextFile(C(e.app.path, Hr)), a = JSON.parse(i.content).engines?.node ?? "^22.19.0 || >=24.0.0", o = fe(r, a);
4414
+ n.push({
4415
+ id: "dsh-node-version",
4416
+ stage: "runtime",
4417
+ passed: o,
4418
+ severity: o ? "info" : "error",
4419
+ message: o ? `Node ${r}` : `当前 dsh 需要 Node ${a},已选择 ${r}`,
4420
+ actions: o ? void 0 : [{
4421
+ id: w.OpenLaunchSettings,
4403
4422
  label: "启动参数"
4404
4423
  }]
4405
- }))]), r = e.runtime.node?.version;
4406
- if (r) {
4407
- let i = await t.fs.readTextFile(C(e.app.path, Br)), a = JSON.parse(i.content).engines?.node ?? "^22.19.0 || >=24.0.0", o = zr(r, a);
4408
- n.push({
4409
- id: "dsh-node-version",
4410
- stage: "runtime",
4411
- passed: o,
4412
- severity: o ? "info" : "error",
4413
- message: o ? `Node ${r}` : `当前 dsh 需要 Node ${a},已选择 ${r}`,
4414
- actions: o ? void 0 : [{
4415
- id: Dr.OpenLaunchSettings,
4416
- label: "启动参数"
4417
- }]
4418
- });
4419
- }
4420
- let i = new URL(Vr(e.params));
4421
- return n.push(...await t.launch.checkHttpPort(Number(i.port), "dsh-port", i.hostname.replace(/^\[|\]$/g, ""))), n;
4424
+ });
4422
4425
  }
4426
+ let i = new URL(Ur(e.params));
4427
+ return n.push(...await t.launch.checkHttpPort(Number(i.port), "dsh-port", i.hostname.replace(/^\[|\]$/g, ""))), n;
4423
4428
  }
4424
- },
4425
- versionProvider: {
4426
- kind: "npm",
4427
- packageName: "@deepseek-ai/dsh"
4428
- },
4429
- webview: {
4430
- urlTemplate: "http://127.0.0.1:{port}",
4431
- defaultPort: 3080,
4432
- portParamId: "port",
4433
- autoOpen: !1,
4434
- getReadyUrlFromLog: Hr
4435
- },
4436
- actions: [{
4437
- id: "webui",
4438
- label: "WebUI",
4439
- icon: "i-lucide-globe",
4440
- kind: "tab",
4441
- target: "webview",
4442
- order: 1
4443
- }, {
4444
- id: "settings",
4445
- label: "启动参数",
4446
- icon: "i-lucide-settings",
4447
- kind: "tab",
4448
- target: "settings",
4449
- order: 2
4450
- }]
4451
- }
4452
- });
4429
+ }
4430
+ },
4431
+ versionProvider: {
4432
+ kind: "npm",
4433
+ packageName: "@deepseek-ai/dsh"
4434
+ },
4435
+ webview: {
4436
+ urlTemplate: "http://127.0.0.1:{port}",
4437
+ defaultPort: 3080,
4438
+ portParamId: "port",
4439
+ autoOpen: !1,
4440
+ getReadyUrlFromLog: Wr
4441
+ },
4442
+ actions: [{
4443
+ id: "webui",
4444
+ label: "WebUI",
4445
+ icon: "i-lucide-globe",
4446
+ kind: "tab",
4447
+ target: "webview",
4448
+ order: 1
4449
+ }, {
4450
+ id: "settings",
4451
+ label: "启动参数",
4452
+ icon: "i-lucide-settings",
4453
+ kind: "tab",
4454
+ target: "settings",
4455
+ order: 2
4456
+ }]
4457
+ } });
4453
4458
  //#endregion
4454
- export { Ur as default };
4459
+ export { Gr as default };