@platforma-sdk/block-tools 2.5.61 → 2.5.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,22 @@
1
1
  var as = Object.defineProperty;
2
2
  var os = (t, e, r) => e in t ? as(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var re = (t, e, r) => os(t, typeof e != "symbol" ? e + "" : e, r);
4
- import { BlockPackMeta as M, ContentAbsoluteTextLocal as Nt, ContentAbsoluteBinaryLocal as ce, BlockPackMetaEmbeddedBase64 as cs, BlockPackMetaEmbeddedBytes as Gr, DescriptionContentText as ls, DescriptionContentBinary as us, ContentRelativeText as Z, ContentRelativeBinary as Q, BlockComponents as le, ContentAbsoluteFolder as fs, BlockComponentsManifest as ue, ContentRelative as ae, mapRemoteToAbsolute as jt, addPrefixToRelative as hs, BlockPackDescriptionManifest as X, CreateBlockPackDescriptionSchema as J, BlockPackManifest as xr, BlockPackManifestFile as ps, SemVer as kt, BlockPackDescriptionFromPackageJsonRaw as Ur, Sha256Schema as Rt, BlockPackIdNoVersion as ds, VersionWithChannels as gs, AnyChannel as oe, blockPackIdToString as ye } from "@milaboratories/pl-model-middle-layer";
4
+ import { BlockPackMeta as M, ContentAbsoluteTextLocal as Nt, ContentAbsoluteBinaryLocal as ce, BlockPackMetaEmbeddedBase64 as cs, BlockPackMetaEmbeddedBytes as Gr, DescriptionContentText as ls, DescriptionContentBinary as us, ContentRelativeText as Z, ContentRelativeBinary as Q, BlockComponents as le, ContentAbsoluteFolder as fs, BlockComponentsManifest as ue, ContentRelative as ae, mapRemoteToAbsolute as jt, addPrefixToRelative as hs, BlockPackDescriptionManifest as X, CreateBlockPackDescriptionSchema as J, BlockPackManifest as xr, BlockPackManifestFile as ps, SemVer as kt, BlockPackDescriptionFromPackageJsonRaw as Ur, Sha256Schema as wt, BlockPackIdNoVersion as ds, VersionWithChannels as gs, AnyChannel as oe, blockPackIdToString as ye } from "@milaboratories/pl-model-middle-layer";
5
5
  import { z as L } from "zod";
6
6
  import B from "node:path";
7
- import V from "node:fs/promises";
7
+ import U from "node:fs/promises";
8
8
  import * as fe from "mime-types";
9
9
  import * as ms from "tar";
10
10
  import { tryResolve as Vr } from "@milaboratories/resolve-helper";
11
11
  import { notEmpty as Mr, ConsoleLoggerAdapter as Es } from "@milaboratories/ts-helpers";
12
+ import { extractConfigGeneric as vs } from "@milaboratories/pl-model-common";
12
13
  import { randomUUID as zr } from "node:crypto";
13
- import vs from "yaml";
14
+ import $s from "yaml";
14
15
  import * as Gt from "node:os";
15
- import U from "node:path/posix";
16
- import { S3 as $s, paginateListObjectsV2 as Rs } from "@aws-sdk/client-s3";
16
+ import V from "node:path/posix";
17
+ import { S3 as ws, paginateListObjectsV2 as Rs } from "@aws-sdk/client-s3";
17
18
  import * as K from "node:fs";
18
- function ws(t) {
19
+ function Ss(t) {
19
20
  return L.string().transform((e, r) => {
20
21
  const s = Vr(t, e);
21
22
  return s === void 0 ? (r.addIssue({
@@ -27,7 +28,7 @@ function ws(t) {
27
28
  };
28
29
  });
29
30
  }
30
- function Ss(t, ...e) {
31
+ function ys(t, ...e) {
31
32
  return L.string().transform((r, s) => {
32
33
  const a = r.endsWith("/") ? r : `${r}/`;
33
34
  for (const u of e) {
@@ -51,9 +52,9 @@ function xt(t) {
51
52
  return (e) => e.type === "relative" ? { type: "absolute-file", file: B.resolve(t, e.path) } : e;
52
53
  }
53
54
  function Xr() {
54
- return async (t) => t.type === "absolute-file" ? await V.readFile(t.file, { encoding: "utf-8" }) : t.content;
55
+ return async (t) => t.type === "absolute-file" ? await U.readFile(t.file, { encoding: "utf-8" }) : t.content;
55
56
  }
56
- function ys() {
57
+ function Is() {
57
58
  return async (t) => {
58
59
  if (t.type === "absolute-file") {
59
60
  const e = fe.lookup(t.file);
@@ -61,12 +62,12 @@ function ys() {
61
62
  return {
62
63
  type: "explicit-base64",
63
64
  mimeType: e,
64
- content: await V.readFile(t.file, { encoding: "base64" })
65
+ content: await U.readFile(t.file, { encoding: "base64" })
65
66
  };
66
67
  } else return t;
67
68
  };
68
69
  }
69
- function Is() {
70
+ function Os() {
70
71
  return async (t) => {
71
72
  if (t.type === "absolute-file") {
72
73
  const e = fe.lookup(t.file);
@@ -74,7 +75,7 @@ function Is() {
74
75
  return {
75
76
  type: "explicit-bytes",
76
77
  mimeType: e,
77
- content: Buffer.from(await V.readFile(t.file))
78
+ content: Buffer.from(await U.readFile(t.file))
78
79
  };
79
80
  } else return t.type === "explicit-base64" ? {
80
81
  type: "explicit-bytes",
@@ -83,15 +84,15 @@ function Is() {
83
84
  } : t;
84
85
  };
85
86
  }
86
- function wt(t, e) {
87
+ function Rt(t, e) {
87
88
  return async (r) => {
88
89
  if (r.type === "absolute-file") {
89
90
  const s = B.basename(r.file), a = B.resolve(t, s);
90
- return e == null || e.push(s), await V.cp(r.file, a), { type: "relative", path: s };
91
+ return e == null || e.push(s), await U.cp(r.file, a), { type: "relative", path: s };
91
92
  } else return r;
92
93
  };
93
94
  }
94
- function Os(t, e, r) {
95
+ function Ps(t, e, r) {
95
96
  if (!e.endsWith(".tgz")) throw new Error(`Unexpected tgz file name: ${e}`);
96
97
  return async (s) => {
97
98
  const a = B.resolve(t, e);
@@ -108,10 +109,10 @@ function Os(t, e, r) {
108
109
  function Lt(t) {
109
110
  return async (e) => e.type === "explicit-string" ? e : { type: "explicit-string", content: (await t(e.path)).toString("utf8") };
110
111
  }
111
- function Ps(t) {
112
+ function Ns(t) {
112
113
  return async (e) => e.type === "explicit-string" ? e.content : (await t(e.path)).toString("utf8");
113
114
  }
114
- function Vn(t) {
115
+ function zn(t) {
115
116
  return async (e) => {
116
117
  if (e.type === "explicit-base64") return e;
117
118
  const r = fe.lookup(e.path);
@@ -140,44 +141,44 @@ function he(t) {
140
141
  };
141
142
  };
142
143
  }
143
- function Ns(t) {
144
+ function ks(t) {
144
145
  return M(
145
146
  ls.transform(xt(t)),
146
147
  us.transform(xt(t))
147
148
  );
148
149
  }
149
- function ks(t, e) {
150
+ function Ls(t, e) {
150
151
  return M(
151
- Nt.transform(wt(t, e)),
152
- ce.transform(wt(t, e))
152
+ Nt.transform(Rt(t, e)),
153
+ ce.transform(Rt(t, e))
153
154
  );
154
155
  }
155
- const Mn = M(
156
- Nt.transform(Xr()),
157
- ce.transform(ys())
158
- ).pipe(cs), zn = M(
156
+ const Xn = M(
159
157
  Nt.transform(Xr()),
160
158
  ce.transform(Is())
159
+ ).pipe(cs), Jn = M(
160
+ Nt.transform(Xr()),
161
+ ce.transform(Os())
161
162
  ).pipe(Gr);
162
- function Xn(t) {
163
+ function Wn(t) {
163
164
  return M(
164
- Z.transform(Ps(t)),
165
+ Z.transform(Ns(t)),
165
166
  Q.transform(he(t))
166
167
  ).pipe(Gr);
167
168
  }
168
- function Ls(t) {
169
+ function Cs(t) {
169
170
  return le(
170
- ws(t),
171
- Ss(t, "index.html")
171
+ Ss(t),
172
+ ys(t, "index.html")
172
173
  );
173
174
  }
174
- function Cs(t, e) {
175
+ function Ts(t, e) {
175
176
  return le(
176
- ce.transform(wt(t, e)),
177
- fs.transform(Os(t, "ui.tgz", e))
177
+ ce.transform(Rt(t, e)),
178
+ fs.transform(Ps(t, "ui.tgz", e))
178
179
  ).pipe(ue);
179
180
  }
180
- function Jn(t) {
181
+ function Hn(t) {
181
182
  return le(
182
183
  ae.transform(jt(t)),
183
184
  ae.transform(jt(t))
@@ -185,14 +186,20 @@ function Jn(t) {
185
186
  }
186
187
  function Jr(t) {
187
188
  return J(
188
- Ls(t),
189
- Ns(t)
190
- );
189
+ Cs(t),
190
+ ks(t)
191
+ ).transform(async (e, r) => {
192
+ const a = vs(JSON.parse(await U.readFile(e.components.model.file, "utf-8"))).featureFlags;
193
+ return {
194
+ ...e,
195
+ featureFlags: a
196
+ };
197
+ });
191
198
  }
192
- function Ts(t, e) {
199
+ function As(t, e) {
193
200
  return J(
194
- Cs(t, e),
195
- ks(t, e)
201
+ Ts(t, e),
202
+ Ls(t, e)
196
203
  ).pipe(X);
197
204
  }
198
205
  function Ut(t) {
@@ -212,7 +219,7 @@ function Ut(t) {
212
219
  }
213
220
  async function Ct(t, e) {
214
221
  try {
215
- return e(await V.readFile(t));
222
+ return e(await U.readFile(t));
216
223
  } catch (r) {
217
224
  if (r.code == "ENOENT") return;
218
225
  throw new Error("", { cause: r });
@@ -221,24 +228,26 @@ async function Ct(t, e) {
221
228
  async function St(t) {
222
229
  return Buffer.from(await crypto.subtle.digest("sha-256", t)).toString("hex").toUpperCase();
223
230
  }
224
- async function Wn(t, e) {
225
- await V.mkdir(e, { recursive: !0 });
226
- const r = [], s = await Ts(e, r).parseAsync(t), a = await Promise.all(
231
+ async function Yn(t, e) {
232
+ await U.mkdir(e, { recursive: !0 });
233
+ const r = [], s = await As(e, r).parseAsync(t), a = await Promise.all(
227
234
  r.map(async (c) => {
228
- const h = await V.readFile(B.resolve(e, c)), o = await St(h);
235
+ const h = await U.readFile(B.resolve(e, c)), o = await St(h);
229
236
  return { name: c, size: h.length, sha256: o };
230
237
  })
231
238
  ), u = xr.parse({
232
239
  schema: "v2",
233
- description: s,
240
+ description: {
241
+ ...s
242
+ },
234
243
  files: a,
235
244
  timestamp: Date.now()
236
245
  });
237
- return await V.writeFile(B.resolve(e, ps), JSON.stringify(u)), u;
246
+ return await U.writeFile(B.resolve(e, ps), JSON.stringify(u)), u;
238
247
  }
239
- const yt = "block", As = /(?:@[a-zA-Z0-9-.]+\/)?(?<organization>[a-zA-Z0-9-]+)\.(?<name>[a-zA-Z0-9-]+)/;
248
+ const yt = "block", Fs = /(?:@[a-zA-Z0-9-.]+\/)?(?<organization>[a-zA-Z0-9-]+)\.(?<name>[a-zA-Z0-9-]+)/;
240
249
  function Wr(t) {
241
- const e = t.match(As);
250
+ const e = t.match(Fs);
242
251
  if (!e)
243
252
  throw new Error(
244
253
  `Malformed package name (${t}), can't infer organization and block pack name.`
@@ -246,7 +255,7 @@ function Wr(t) {
246
255
  const { name: r, organization: s } = e.groups;
247
256
  return { name: r, organization: s };
248
257
  }
249
- async function Hn(t, e) {
258
+ async function Kn(t, e) {
250
259
  const r = B.resolve(t, "package.json");
251
260
  try {
252
261
  const s = await Ct(
@@ -273,8 +282,8 @@ async function Hn(t, e) {
273
282
  return;
274
283
  }
275
284
  }
276
- async function Fs(t) {
277
- const e = B.resolve(t, "package.json"), r = JSON.parse(await V.readFile(e, { encoding: "utf-8" })), s = r[yt];
285
+ async function bs(t) {
286
+ const e = B.resolve(t, "package.json"), r = JSON.parse(await U.readFile(e, { encoding: "utf-8" })), s = r[yt];
278
287
  if (s === void 0)
279
288
  throw new Error(
280
289
  `Block description (field ${yt}) not found in ${e}.`
@@ -286,14 +295,15 @@ async function Fs(t) {
286
295
  Mr(r.name, `"name" not found in ${e}`)
287
296
  ),
288
297
  version: kt.parse(r.version)
289
- }
298
+ },
299
+ featureFlags: {}
290
300
  };
291
301
  }
292
- async function Yn(t) {
293
- const e = await Fs(t);
302
+ async function Zn(t) {
303
+ const e = await bs(t);
294
304
  return await Jr(t).parseAsync(e);
295
305
  }
296
- function bs(t) {
306
+ function qs(t) {
297
307
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
298
308
  }
299
309
  var se = { exports: {} }, Ie, Vt;
@@ -341,12 +351,12 @@ function ee() {
341
351
  ["\\s", 1],
342
352
  ["\\d", a],
343
353
  [f, s]
344
- ], w = (E) => {
354
+ ], R = (E) => {
345
355
  for (const [v, N] of d)
346
356
  E = E.split(`${v}*`).join(`${v}{0,${N}}`).split(`${v}+`).join(`${v}{1,${N}}`);
347
357
  return E;
348
358
  }, p = (E, v, N) => {
349
- const I = w(v), F = l++;
359
+ const I = R(v), F = l++;
350
360
  u(E, F, v), n[E] = F, o[F] = v, i[F] = I, c[F] = new RegExp(v, N ? "g" : void 0), h[F] = new RegExp(I, N ? "g" : void 0);
351
361
  };
352
362
  p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${f}*`), p("MAINVERSION", `(${o[n.NUMERICIDENTIFIER]})\\.(${o[n.NUMERICIDENTIFIER]})\\.(${o[n.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${o[n.NUMERICIDENTIFIERLOOSE]})\\.(${o[n.NUMERICIDENTIFIERLOOSE]})\\.(${o[n.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${o[n.NONNUMERICIDENTIFIER]}|${o[n.NUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${o[n.NONNUMERICIDENTIFIER]}|${o[n.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASE", `(?:-(${o[n.PRERELEASEIDENTIFIER]}(?:\\.${o[n.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${o[n.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[n.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${f}+`), p("BUILD", `(?:\\+(${o[n.BUILDIDENTIFIER]}(?:\\.${o[n.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${o[n.MAINVERSION]}${o[n.PRERELEASE]}?${o[n.BUILD]}?`), p("FULL", `^${o[n.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${o[n.MAINVERSIONLOOSE]}${o[n.PRERELEASELOOSE]}?${o[n.BUILD]}?`), p("LOOSE", `^${o[n.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${o[n.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${o[n.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${o[n.XRANGEIDENTIFIER]})(?:\\.(${o[n.XRANGEIDENTIFIER]})(?:\\.(${o[n.XRANGEIDENTIFIER]})(?:${o[n.PRERELEASE]})?${o[n.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${o[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[n.XRANGEIDENTIFIERLOOSE]})(?:${o[n.PRERELEASELOOSE]})?${o[n.BUILD]}?)?)?`), p("XRANGE", `^${o[n.GTLT]}\\s*${o[n.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${o[n.GTLT]}\\s*${o[n.XRANGEPLAINLOOSE]}$`), p("COERCEPLAIN", `(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`), p("COERCE", `${o[n.COERCEPLAIN]}(?:$|[^\\d])`), p("COERCEFULL", o[n.COERCEPLAIN] + `(?:${o[n.PRERELEASE]})?(?:${o[n.BUILD]})?(?:$|[^\\d])`), p("COERCERTL", o[n.COERCE], !0), p("COERCERTLFULL", o[n.COERCEFULL], !0), p("LONETILDE", "(?:~>?)"), p("TILDETRIM", `(\\s*)${o[n.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", p("TILDE", `^${o[n.LONETILDE]}${o[n.XRANGEPLAIN]}$`), p("TILDELOOSE", `^${o[n.LONETILDE]}${o[n.XRANGEPLAINLOOSE]}$`), p("LONECARET", "(?:\\^)"), p("CARETTRIM", `(\\s*)${o[n.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", p("CARET", `^${o[n.LONECARET]}${o[n.XRANGEPLAIN]}$`), p("CARETLOOSE", `^${o[n.LONECARET]}${o[n.XRANGEPLAINLOOSE]}$`), p("COMPARATORLOOSE", `^${o[n.GTLT]}\\s*(${o[n.LOOSEPLAIN]})$|^$`), p("COMPARATOR", `^${o[n.GTLT]}\\s*(${o[n.FULLPLAIN]})$|^$`), p("COMPARATORTRIM", `(\\s*)${o[n.GTLT]}\\s*(${o[n.LOOSEPLAIN]}|${o[n.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", p("HYPHENRANGE", `^\\s*(${o[n.XRANGEPLAIN]})\\s+-\\s+(${o[n.XRANGEPLAIN]})\\s*$`), p("HYPHENRANGELOOSE", `^\\s*(${o[n.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[n.XRANGEPLAINLOOSE]})\\s*$`), p("STAR", "(<|>)?=?\\s*\\*"), p("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), p("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
@@ -551,7 +561,7 @@ function W() {
551
561
  }, Le;
552
562
  }
553
563
  var Ce, Yt;
554
- function qs() {
564
+ function Ds() {
555
565
  if (Yt) return Ce;
556
566
  Yt = 1;
557
567
  const t = W();
@@ -561,7 +571,7 @@ function qs() {
561
571
  }, Ce;
562
572
  }
563
573
  var Te, Kt;
564
- function Ds() {
574
+ function Bs() {
565
575
  if (Kt) return Te;
566
576
  Kt = 1;
567
577
  const t = W();
@@ -571,7 +581,7 @@ function Ds() {
571
581
  }, Te;
572
582
  }
573
583
  var Ae, Zt;
574
- function Bs() {
584
+ function _s() {
575
585
  if (Zt) return Ae;
576
586
  Zt = 1;
577
587
  const t = j();
@@ -588,7 +598,7 @@ function Bs() {
588
598
  }, Ae;
589
599
  }
590
600
  var Fe, Qt;
591
- function _s() {
601
+ function js() {
592
602
  if (Qt) return Fe;
593
603
  Qt = 1;
594
604
  const t = W();
@@ -608,28 +618,28 @@ function _s() {
608
618
  }, Fe;
609
619
  }
610
620
  var be, er;
611
- function js() {
621
+ function Gs() {
612
622
  if (er) return be;
613
623
  er = 1;
614
624
  const t = j();
615
625
  return be = (r, s) => new t(r, s).major, be;
616
626
  }
617
627
  var qe, tr;
618
- function Gs() {
628
+ function xs() {
619
629
  if (tr) return qe;
620
630
  tr = 1;
621
631
  const t = j();
622
632
  return qe = (r, s) => new t(r, s).minor, qe;
623
633
  }
624
634
  var De, rr;
625
- function xs() {
635
+ function Us() {
626
636
  if (rr) return De;
627
637
  rr = 1;
628
638
  const t = j();
629
639
  return De = (r, s) => new t(r, s).patch, De;
630
640
  }
631
641
  var Be, sr;
632
- function Us() {
642
+ function Vs() {
633
643
  if (sr) return Be;
634
644
  sr = 1;
635
645
  const t = W();
@@ -646,14 +656,14 @@ function G() {
646
656
  return _e = (r, s, a) => new t(r, a).compare(new t(s, a)), _e;
647
657
  }
648
658
  var je, ir;
649
- function Vs() {
659
+ function Ms() {
650
660
  if (ir) return je;
651
661
  ir = 1;
652
662
  const t = G();
653
663
  return je = (r, s, a) => t(s, r, a), je;
654
664
  }
655
665
  var Ge, ar;
656
- function Ms() {
666
+ function zs() {
657
667
  if (ar) return Ge;
658
668
  ar = 1;
659
669
  const t = G();
@@ -670,14 +680,14 @@ function At() {
670
680
  }, xe;
671
681
  }
672
682
  var Ue, cr;
673
- function zs() {
683
+ function Xs() {
674
684
  if (cr) return Ue;
675
685
  cr = 1;
676
686
  const t = At();
677
687
  return Ue = (r, s) => r.sort((a, u) => t(a, u, s)), Ue;
678
688
  }
679
689
  var Ve, lr;
680
- function Xs() {
690
+ function Js() {
681
691
  if (lr) return Ve;
682
692
  lr = 1;
683
693
  const t = At();
@@ -756,7 +766,7 @@ function Zr() {
756
766
  }, Ye;
757
767
  }
758
768
  var Ke, Er;
759
- function Js() {
769
+ function Ws() {
760
770
  if (Er) return Ke;
761
771
  Er = 1;
762
772
  const t = j(), e = W(), { safeRe: r, t: s } = ee();
@@ -771,9 +781,9 @@ function Js() {
771
781
  h = u.match(c.includePrerelease ? r[s.COERCEFULL] : r[s.COERCE]);
772
782
  else {
773
783
  const d = c.includePrerelease ? r[s.COERCERTLFULL] : r[s.COERCERTL];
774
- let w;
775
- for (; (w = d.exec(u)) && (!h || h.index + h[0].length !== u.length); )
776
- (!h || w.index + w[0].length !== h.index + h[0].length) && (h = w), d.lastIndex = w.index + w[1].length + w[2].length;
784
+ let R;
785
+ for (; (R = d.exec(u)) && (!h || h.index + h[0].length !== u.length); )
786
+ (!h || R.index + R[0].length !== h.index + h[0].length) && (h = R), d.lastIndex = R.index + R[1].length + R[2].length;
777
787
  d.lastIndex = -1;
778
788
  }
779
789
  if (h === null)
@@ -783,7 +793,7 @@ function Js() {
783
793
  }, Ke;
784
794
  }
785
795
  var Ze, vr;
786
- function Ws() {
796
+ function Hs() {
787
797
  if (vr) return Ze;
788
798
  vr = 1;
789
799
  class t {
@@ -857,13 +867,13 @@ function x() {
857
867
  return this.range;
858
868
  }
859
869
  parseRange(g) {
860
- const $ = ((this.options.includePrerelease && d) | (this.options.loose && w)) + ":" + g, y = s.get($);
870
+ const $ = ((this.options.includePrerelease && d) | (this.options.loose && R)) + ":" + g, y = s.get($);
861
871
  if (y)
862
872
  return y;
863
- const R = this.options.loose, O = R ? o[i.HYPHENRANGELOOSE] : o[i.HYPHENRANGE];
864
- g = g.replace(O, we(this.options.includePrerelease)), c("hyphen replace", g), g = g.replace(o[i.COMPARATORTRIM], n), c("comparator trim", g), g = g.replace(o[i.TILDETRIM], l), c("tilde trim", g), g = g.replace(o[i.CARETTRIM], f), c("caret trim", g);
865
- let C = g.split(" ").map((q) => N(q, this.options)).join(" ").split(/\s+/).map((q) => Re(q, this.options));
866
- R && (C = C.filter((q) => (c("loose invalid filter", q, this.options), !!q.match(o[i.COMPARATORLOOSE])))), c("range list", C);
873
+ const w = this.options.loose, O = w ? o[i.HYPHENRANGELOOSE] : o[i.HYPHENRANGE];
874
+ g = g.replace(O, Re(this.options.includePrerelease)), c("hyphen replace", g), g = g.replace(o[i.COMPARATORTRIM], n), c("comparator trim", g), g = g.replace(o[i.TILDETRIM], l), c("tilde trim", g), g = g.replace(o[i.CARETTRIM], f), c("caret trim", g);
875
+ let C = g.split(" ").map((q) => N(q, this.options)).join(" ").split(/\s+/).map((q) => we(q, this.options));
876
+ w && (C = C.filter((q) => (c("loose invalid filter", q, this.options), !!q.match(o[i.COMPARATORLOOSE])))), c("range list", C);
867
877
  const k = /* @__PURE__ */ new Map(), A = C.map((q) => new u(q, this.options));
868
878
  for (const q of A) {
869
879
  if (p(q))
@@ -877,7 +887,7 @@ function x() {
877
887
  intersects(g, S) {
878
888
  if (!(g instanceof e))
879
889
  throw new TypeError("a Range is required");
880
- return this.set.some(($) => v($, S) && g.set.some((y) => v(y, S) && $.every((R) => y.every((O) => R.intersects(O, S)))));
890
+ return this.set.some(($) => v($, S) && g.set.some((y) => v(y, S) && $.every((w) => y.every((O) => w.intersects(O, S)))));
881
891
  }
882
892
  // if ANY of the sets match ALL of its comparators, then pass
883
893
  test(g) {
@@ -896,43 +906,43 @@ function x() {
896
906
  }
897
907
  }
898
908
  Qe = e;
899
- const r = Ws(), s = new r(), a = Tt(), u = me(), c = de(), h = j(), {
909
+ const r = Hs(), s = new r(), a = Tt(), u = me(), c = de(), h = j(), {
900
910
  safeRe: o,
901
911
  t: i,
902
912
  comparatorTrimReplace: n,
903
913
  tildeTrimReplace: l,
904
914
  caretTrimReplace: f
905
- } = ee(), { FLAG_INCLUDE_PRERELEASE: d, FLAG_LOOSE: w } = pe(), p = (m) => m.value === "<0.0.0-0", E = (m) => m.value === "", v = (m, g) => {
915
+ } = ee(), { FLAG_INCLUDE_PRERELEASE: d, FLAG_LOOSE: R } = pe(), p = (m) => m.value === "<0.0.0-0", E = (m) => m.value === "", v = (m, g) => {
906
916
  let S = !0;
907
917
  const $ = m.slice();
908
918
  let y = $.pop();
909
919
  for (; S && $.length; )
910
- S = $.every((R) => y.intersects(R, g)), y = $.pop();
920
+ S = $.every((w) => y.intersects(w, g)), y = $.pop();
911
921
  return S;
912
922
  }, N = (m, g) => (c("comp", m, g), m = T(m, g), c("caret", m), m = F(m, g), c("tildes", m), m = P(m, g), c("xrange", m), m = $e(m, g), c("stars", m), m), I = (m) => !m || m.toLowerCase() === "x" || m === "*", F = (m, g) => m.trim().split(/\s+/).map((S) => b(S, g)).join(" "), b = (m, g) => {
913
923
  const S = g.loose ? o[i.TILDELOOSE] : o[i.TILDE];
914
- return m.replace(S, ($, y, R, O, C) => {
915
- c("tilde", m, $, y, R, O, C);
924
+ return m.replace(S, ($, y, w, O, C) => {
925
+ c("tilde", m, $, y, w, O, C);
916
926
  let k;
917
- return I(y) ? k = "" : I(R) ? k = `>=${y}.0.0 <${+y + 1}.0.0-0` : I(O) ? k = `>=${y}.${R}.0 <${y}.${+R + 1}.0-0` : C ? (c("replaceTilde pr", C), k = `>=${y}.${R}.${O}-${C} <${y}.${+R + 1}.0-0`) : k = `>=${y}.${R}.${O} <${y}.${+R + 1}.0-0`, c("tilde return", k), k;
927
+ return I(y) ? k = "" : I(w) ? k = `>=${y}.0.0 <${+y + 1}.0.0-0` : I(O) ? k = `>=${y}.${w}.0 <${y}.${+w + 1}.0-0` : C ? (c("replaceTilde pr", C), k = `>=${y}.${w}.${O}-${C} <${y}.${+w + 1}.0-0`) : k = `>=${y}.${w}.${O} <${y}.${+w + 1}.0-0`, c("tilde return", k), k;
918
928
  });
919
929
  }, T = (m, g) => m.trim().split(/\s+/).map((S) => D(S, g)).join(" "), D = (m, g) => {
920
930
  c("caret", m, g);
921
931
  const S = g.loose ? o[i.CARETLOOSE] : o[i.CARET], $ = g.includePrerelease ? "-0" : "";
922
- return m.replace(S, (y, R, O, C, k) => {
923
- c("caret", m, y, R, O, C, k);
932
+ return m.replace(S, (y, w, O, C, k) => {
933
+ c("caret", m, y, w, O, C, k);
924
934
  let A;
925
- return I(R) ? A = "" : I(O) ? A = `>=${R}.0.0${$} <${+R + 1}.0.0-0` : I(C) ? R === "0" ? A = `>=${R}.${O}.0${$} <${R}.${+O + 1}.0-0` : A = `>=${R}.${O}.0${$} <${+R + 1}.0.0-0` : k ? (c("replaceCaret pr", k), R === "0" ? O === "0" ? A = `>=${R}.${O}.${C}-${k} <${R}.${O}.${+C + 1}-0` : A = `>=${R}.${O}.${C}-${k} <${R}.${+O + 1}.0-0` : A = `>=${R}.${O}.${C}-${k} <${+R + 1}.0.0-0`) : (c("no pr"), R === "0" ? O === "0" ? A = `>=${R}.${O}.${C}${$} <${R}.${O}.${+C + 1}-0` : A = `>=${R}.${O}.${C}${$} <${R}.${+O + 1}.0-0` : A = `>=${R}.${O}.${C} <${+R + 1}.0.0-0`), c("caret return", A), A;
935
+ return I(w) ? A = "" : I(O) ? A = `>=${w}.0.0${$} <${+w + 1}.0.0-0` : I(C) ? w === "0" ? A = `>=${w}.${O}.0${$} <${w}.${+O + 1}.0-0` : A = `>=${w}.${O}.0${$} <${+w + 1}.0.0-0` : k ? (c("replaceCaret pr", k), w === "0" ? O === "0" ? A = `>=${w}.${O}.${C}-${k} <${w}.${O}.${+C + 1}-0` : A = `>=${w}.${O}.${C}-${k} <${w}.${+O + 1}.0-0` : A = `>=${w}.${O}.${C}-${k} <${+w + 1}.0.0-0`) : (c("no pr"), w === "0" ? O === "0" ? A = `>=${w}.${O}.${C}${$} <${w}.${O}.${+C + 1}-0` : A = `>=${w}.${O}.${C}${$} <${w}.${+O + 1}.0-0` : A = `>=${w}.${O}.${C} <${+w + 1}.0.0-0`), c("caret return", A), A;
926
936
  });
927
937
  }, P = (m, g) => (c("replaceXRanges", m, g), m.split(/\s+/).map((S) => H(S, g)).join(" ")), H = (m, g) => {
928
938
  m = m.trim();
929
939
  const S = g.loose ? o[i.XRANGELOOSE] : o[i.XRANGE];
930
- return m.replace(S, ($, y, R, O, C, k) => {
931
- c("xRange", m, $, y, R, O, C, k);
932
- const A = I(R), _ = A || I(O), q = _ || I(C), Y = q;
933
- return y === "=" && Y && (y = ""), k = g.includePrerelease ? "-0" : "", A ? y === ">" || y === "<" ? $ = "<0.0.0-0" : $ = "*" : y && Y ? (_ && (O = 0), C = 0, y === ">" ? (y = ">=", _ ? (R = +R + 1, O = 0, C = 0) : (O = +O + 1, C = 0)) : y === "<=" && (y = "<", _ ? R = +R + 1 : O = +O + 1), y === "<" && (k = "-0"), $ = `${y + R}.${O}.${C}${k}`) : _ ? $ = `>=${R}.0.0${k} <${+R + 1}.0.0-0` : q && ($ = `>=${R}.${O}.0${k} <${R}.${+O + 1}.0-0`), c("xRange return", $), $;
940
+ return m.replace(S, ($, y, w, O, C, k) => {
941
+ c("xRange", m, $, y, w, O, C, k);
942
+ const A = I(w), _ = A || I(O), q = _ || I(C), Y = q;
943
+ return y === "=" && Y && (y = ""), k = g.includePrerelease ? "-0" : "", A ? y === ">" || y === "<" ? $ = "<0.0.0-0" : $ = "*" : y && Y ? (_ && (O = 0), C = 0, y === ">" ? (y = ">=", _ ? (w = +w + 1, O = 0, C = 0) : (O = +O + 1, C = 0)) : y === "<=" && (y = "<", _ ? w = +w + 1 : O = +O + 1), y === "<" && (k = "-0"), $ = `${y + w}.${O}.${C}${k}`) : _ ? $ = `>=${w}.0.0${k} <${+w + 1}.0.0-0` : q && ($ = `>=${w}.${O}.0${k} <${w}.${+O + 1}.0-0`), c("xRange return", $), $;
934
944
  });
935
- }, $e = (m, g) => (c("replaceStars", m, g), m.trim().replace(o[i.STAR], "")), Re = (m, g) => (c("replaceGTE0", m, g), m.trim().replace(o[g.includePrerelease ? i.GTE0PRE : i.GTE0], "")), we = (m) => (g, S, $, y, R, O, C, k, A, _, q, Y) => (I($) ? S = "" : I(y) ? S = `>=${$}.0.0${m ? "-0" : ""}` : I(R) ? S = `>=${$}.${y}.0${m ? "-0" : ""}` : O ? S = `>=${S}` : S = `>=${S}${m ? "-0" : ""}`, I(A) ? k = "" : I(_) ? k = `<${+A + 1}.0.0-0` : I(q) ? k = `<${A}.${+_ + 1}.0-0` : Y ? k = `<=${A}.${_}.${q}-${Y}` : m ? k = `<${A}.${_}.${+q + 1}-0` : k = `<=${k}`, `${S} ${k}`.trim()), Se = (m, g, S) => {
945
+ }, $e = (m, g) => (c("replaceStars", m, g), m.trim().replace(o[i.STAR], "")), we = (m, g) => (c("replaceGTE0", m, g), m.trim().replace(o[g.includePrerelease ? i.GTE0PRE : i.GTE0], "")), Re = (m) => (g, S, $, y, w, O, C, k, A, _, q, Y) => (I($) ? S = "" : I(y) ? S = `>=${$}.0.0${m ? "-0" : ""}` : I(w) ? S = `>=${$}.${y}.0${m ? "-0" : ""}` : O ? S = `>=${S}` : S = `>=${S}${m ? "-0" : ""}`, I(A) ? k = "" : I(_) ? k = `<${+A + 1}.0.0-0` : I(q) ? k = `<${A}.${+_ + 1}.0-0` : Y ? k = `<=${A}.${_}.${q}-${Y}` : m ? k = `<${A}.${_}.${+q + 1}-0` : k = `<=${k}`, `${S} ${k}`.trim()), Se = (m, g, S) => {
936
946
  for (let $ = 0; $ < m.length; $++)
937
947
  if (!m[$].test(g))
938
948
  return !1;
@@ -949,10 +959,10 @@ function x() {
949
959
  };
950
960
  return Qe;
951
961
  }
952
- var et, Rr;
962
+ var et, wr;
953
963
  function me() {
954
- if (Rr) return et;
955
- Rr = 1;
964
+ if (wr) return et;
965
+ wr = 1;
956
966
  const t = Symbol("SemVer ANY");
957
967
  class e {
958
968
  static get ANY() {
@@ -996,10 +1006,10 @@ function me() {
996
1006
  const r = Tt(), { safeRe: s, t: a } = ee(), u = Zr(), c = de(), h = j(), o = x();
997
1007
  return et;
998
1008
  }
999
- var tt, wr;
1009
+ var tt, Rr;
1000
1010
  function Ee() {
1001
- if (wr) return tt;
1002
- wr = 1;
1011
+ if (Rr) return tt;
1012
+ Rr = 1;
1003
1013
  const t = x();
1004
1014
  return tt = (r, s, a) => {
1005
1015
  try {
@@ -1011,14 +1021,14 @@ function Ee() {
1011
1021
  }, tt;
1012
1022
  }
1013
1023
  var rt, Sr;
1014
- function Hs() {
1024
+ function Ys() {
1015
1025
  if (Sr) return rt;
1016
1026
  Sr = 1;
1017
1027
  const t = x();
1018
1028
  return rt = (r, s) => new t(r, s).set.map((a) => a.map((u) => u.value).join(" ").trim().split(" ")), rt;
1019
1029
  }
1020
1030
  var st, yr;
1021
- function Ys() {
1031
+ function Ks() {
1022
1032
  if (yr) return st;
1023
1033
  yr = 1;
1024
1034
  const t = j(), e = x();
@@ -1035,7 +1045,7 @@ function Ys() {
1035
1045
  }, st;
1036
1046
  }
1037
1047
  var nt, Ir;
1038
- function Ks() {
1048
+ function Zs() {
1039
1049
  if (Ir) return nt;
1040
1050
  Ir = 1;
1041
1051
  const t = j(), e = x();
@@ -1052,7 +1062,7 @@ function Ks() {
1052
1062
  }, nt;
1053
1063
  }
1054
1064
  var it, Or;
1055
- function Zs() {
1065
+ function Qs() {
1056
1066
  if (Or) return it;
1057
1067
  Or = 1;
1058
1068
  const t = j(), e = x(), r = ge();
@@ -1088,7 +1098,7 @@ function Zs() {
1088
1098
  }, it;
1089
1099
  }
1090
1100
  var at, Pr;
1091
- function Qs() {
1101
+ function en() {
1092
1102
  if (Pr) return at;
1093
1103
  Pr = 1;
1094
1104
  const t = x();
@@ -1107,13 +1117,13 @@ function Dt() {
1107
1117
  const t = j(), e = me(), { ANY: r } = e, s = x(), a = Ee(), u = ge(), c = Ft(), h = qt(), o = bt();
1108
1118
  return ot = (n, l, f, d) => {
1109
1119
  n = new t(n, d), l = new s(l, d);
1110
- let w, p, E, v, N;
1120
+ let R, p, E, v, N;
1111
1121
  switch (f) {
1112
1122
  case ">":
1113
- w = u, p = h, E = c, v = ">", N = ">=";
1123
+ R = u, p = h, E = c, v = ">", N = ">=";
1114
1124
  break;
1115
1125
  case "<":
1116
- w = c, p = o, E = u, v = "<", N = "<=";
1126
+ R = c, p = o, E = u, v = "<", N = "<=";
1117
1127
  break;
1118
1128
  default:
1119
1129
  throw new TypeError('Must provide a hilo val of "<" or ">"');
@@ -1124,7 +1134,7 @@ function Dt() {
1124
1134
  const F = l.set[I];
1125
1135
  let b = null, T = null;
1126
1136
  if (F.forEach((D) => {
1127
- D.semver === r && (D = new e(">=0.0.0")), b = b || D, T = T || D, w(D.semver, b.semver, d) ? b = D : E(D.semver, T.semver, d) && (T = D);
1137
+ D.semver === r && (D = new e(">=0.0.0")), b = b || D, T = T || D, R(D.semver, b.semver, d) ? b = D : E(D.semver, T.semver, d) && (T = D);
1128
1138
  }), b.operator === v || b.operator === N || (!T.operator || T.operator === v) && p(n, T.semver))
1129
1139
  return !1;
1130
1140
  if (T.operator === N && E(n, T.semver))
@@ -1134,28 +1144,28 @@ function Dt() {
1134
1144
  }, ot;
1135
1145
  }
1136
1146
  var ct, kr;
1137
- function en() {
1147
+ function tn() {
1138
1148
  if (kr) return ct;
1139
1149
  kr = 1;
1140
1150
  const t = Dt();
1141
1151
  return ct = (r, s, a) => t(r, s, ">", a), ct;
1142
1152
  }
1143
1153
  var lt, Lr;
1144
- function tn() {
1154
+ function rn() {
1145
1155
  if (Lr) return lt;
1146
1156
  Lr = 1;
1147
1157
  const t = Dt();
1148
1158
  return lt = (r, s, a) => t(r, s, "<", a), lt;
1149
1159
  }
1150
1160
  var ut, Cr;
1151
- function rn() {
1161
+ function sn() {
1152
1162
  if (Cr) return ut;
1153
1163
  Cr = 1;
1154
1164
  const t = x();
1155
1165
  return ut = (r, s, a) => (r = new t(r, a), s = new t(s, a), r.intersects(s, a)), ut;
1156
1166
  }
1157
1167
  var ft, Tr;
1158
- function sn() {
1168
+ function nn() {
1159
1169
  if (Tr) return ft;
1160
1170
  Tr = 1;
1161
1171
  const t = Ee(), e = G();
@@ -1174,21 +1184,21 @@ function sn() {
1174
1184
  }, ft;
1175
1185
  }
1176
1186
  var ht, Ar;
1177
- function nn() {
1187
+ function an() {
1178
1188
  if (Ar) return ht;
1179
1189
  Ar = 1;
1180
1190
  const t = x(), e = me(), { ANY: r } = e, s = Ee(), a = G(), u = (l, f, d = {}) => {
1181
1191
  if (l === f)
1182
1192
  return !0;
1183
1193
  l = new t(l, d), f = new t(f, d);
1184
- let w = !1;
1194
+ let R = !1;
1185
1195
  e: for (const p of l.set) {
1186
1196
  for (const E of f.set) {
1187
1197
  const v = o(p, E, d);
1188
- if (w = w || v !== null, v)
1198
+ if (R = R || v !== null, v)
1189
1199
  continue e;
1190
1200
  }
1191
- if (w)
1201
+ if (R)
1192
1202
  return !1;
1193
1203
  }
1194
1204
  return !0;
@@ -1205,11 +1215,11 @@ function nn() {
1205
1215
  return !0;
1206
1216
  f = h;
1207
1217
  }
1208
- const w = /* @__PURE__ */ new Set();
1218
+ const R = /* @__PURE__ */ new Set();
1209
1219
  let p, E;
1210
1220
  for (const P of l)
1211
- P.operator === ">" || P.operator === ">=" ? p = i(p, P, d) : P.operator === "<" || P.operator === "<=" ? E = n(E, P, d) : w.add(P.semver);
1212
- if (w.size > 1)
1221
+ P.operator === ">" || P.operator === ">=" ? p = i(p, P, d) : P.operator === "<" || P.operator === "<=" ? E = n(E, P, d) : R.add(P.semver);
1222
+ if (R.size > 1)
1213
1223
  return null;
1214
1224
  let v;
1215
1225
  if (p && E) {
@@ -1218,7 +1228,7 @@ function nn() {
1218
1228
  if (v === 0 && (p.operator !== ">=" || E.operator !== "<="))
1219
1229
  return null;
1220
1230
  }
1221
- for (const P of w) {
1231
+ for (const P of R) {
1222
1232
  if (p && !s(P, String(p), d) || E && !s(P, String(E), d))
1223
1233
  return null;
1224
1234
  for (const H of f)
@@ -1250,21 +1260,21 @@ function nn() {
1250
1260
  }, i = (l, f, d) => {
1251
1261
  if (!l)
1252
1262
  return f;
1253
- const w = a(l.semver, f.semver, d);
1254
- return w > 0 ? l : w < 0 || f.operator === ">" && l.operator === ">=" ? f : l;
1263
+ const R = a(l.semver, f.semver, d);
1264
+ return R > 0 ? l : R < 0 || f.operator === ">" && l.operator === ">=" ? f : l;
1255
1265
  }, n = (l, f, d) => {
1256
1266
  if (!l)
1257
1267
  return f;
1258
- const w = a(l.semver, f.semver, d);
1259
- return w < 0 ? l : w > 0 || f.operator === "<" && l.operator === "<=" ? f : l;
1268
+ const R = a(l.semver, f.semver, d);
1269
+ return R < 0 ? l : R > 0 || f.operator === "<" && l.operator === "<=" ? f : l;
1260
1270
  };
1261
1271
  return ht = u, ht;
1262
1272
  }
1263
1273
  var pt, Fr;
1264
- function an() {
1274
+ function on() {
1265
1275
  if (Fr) return pt;
1266
1276
  Fr = 1;
1267
- const t = ee(), e = pe(), r = j(), s = Hr(), a = W(), u = qs(), c = Ds(), h = Bs(), o = _s(), i = js(), n = Gs(), l = xs(), f = Us(), d = G(), w = Vs(), p = Ms(), E = At(), v = zs(), N = Xs(), I = ge(), F = Ft(), b = Yr(), T = Kr(), D = bt(), P = qt(), H = Zr(), $e = Js(), Re = me(), we = x(), Se = Ee(), m = Hs(), g = Ys(), S = Ks(), $ = Zs(), y = Qs(), R = Dt(), O = en(), C = tn(), k = rn(), A = sn(), _ = nn();
1277
+ const t = ee(), e = pe(), r = j(), s = Hr(), a = W(), u = Ds(), c = Bs(), h = _s(), o = js(), i = Gs(), n = xs(), l = Us(), f = Vs(), d = G(), R = Ms(), p = zs(), E = At(), v = Xs(), N = Js(), I = ge(), F = Ft(), b = Yr(), T = Kr(), D = bt(), P = qt(), H = Zr(), $e = Ws(), we = me(), Re = x(), Se = Ee(), m = Ys(), g = Ks(), S = Zs(), $ = Qs(), y = en(), w = Dt(), O = tn(), C = rn(), k = sn(), A = nn(), _ = an();
1268
1278
  return pt = {
1269
1279
  parse: a,
1270
1280
  valid: u,
@@ -1276,7 +1286,7 @@ function an() {
1276
1286
  patch: l,
1277
1287
  prerelease: f,
1278
1288
  compare: d,
1279
- rcompare: w,
1289
+ rcompare: R,
1280
1290
  compareLoose: p,
1281
1291
  compareBuild: E,
1282
1292
  sort: v,
@@ -1289,15 +1299,15 @@ function an() {
1289
1299
  lte: P,
1290
1300
  cmp: H,
1291
1301
  coerce: $e,
1292
- Comparator: Re,
1293
- Range: we,
1302
+ Comparator: we,
1303
+ Range: Re,
1294
1304
  satisfies: Se,
1295
1305
  toComparators: m,
1296
1306
  maxSatisfying: g,
1297
1307
  minSatisfying: S,
1298
1308
  minVersion: $,
1299
1309
  validRange: y,
1300
- outside: R,
1310
+ outside: w,
1301
1311
  gtr: O,
1302
1312
  ltr: C,
1303
1313
  intersects: k,
@@ -1313,39 +1323,39 @@ function an() {
1313
1323
  rcompareIdentifiers: s.rcompareIdentifiers
1314
1324
  }, pt;
1315
1325
  }
1316
- var Qr = an();
1317
- const on = /* @__PURE__ */ bs(Qr), It = "_updates_v2/per_package_version/";
1318
- function cn(t, e) {
1326
+ var Qr = on();
1327
+ const cn = /* @__PURE__ */ qs(Qr), It = "_updates_v2/per_package_version/";
1328
+ function ln(t, e) {
1319
1329
  return `${It}${t.organization}/${t.name}/${t.version}/${e}`;
1320
1330
  }
1321
- const ln = /(?<packageKeyWithoutVersion>(?<organization>[^\/]+)\/(?<name>[^\/]+))\/(?<version>[^\/]+)\/(?<seed>[^\/]+)$/, dt = "_updates_v2/_global_update_in", br = "_updates_v2/_global_update_out", te = "v2/", un = "overview.json", fn = "overview.json", ie = "manifest.json", Ot = "channels", gt = /^[-a-z0-9]+$/;
1331
+ const un = /(?<packageKeyWithoutVersion>(?<organization>[^\/]+)\/(?<name>[^\/]+))\/(?<version>[^\/]+)\/(?<seed>[^\/]+)$/, dt = "_updates_v2/_global_update_in", br = "_updates_v2/_global_update_out", te = "v2/", fn = "overview.json", hn = "overview.json", ie = "manifest.json", Ot = "channels", gt = /^[-a-z0-9]+$/;
1322
1332
  function es(t) {
1323
1333
  return `${t.organization}/${t.name}/${t.version}`;
1324
1334
  }
1325
1335
  function ne(t) {
1326
1336
  return `${te}${es(t)}`;
1327
1337
  }
1328
- const hn = "/" + ie, pn = L.object({
1338
+ const pn = "/" + ie, dn = L.object({
1329
1339
  description: X,
1330
1340
  channels: L.array(L.string()).default(() => []),
1331
- manifestSha256: Rt
1341
+ manifestSha256: wt
1332
1342
  }), qr = L.object({
1333
1343
  schema: L.literal("v2"),
1334
- versions: L.array(pn)
1344
+ versions: L.array(dn)
1335
1345
  });
1336
- function dn(t) {
1337
- return `${t.organization}/${t.name}/${fn}`;
1346
+ function gn(t) {
1347
+ return `${t.organization}/${t.name}/${hn}`;
1338
1348
  }
1339
1349
  function Dr(t) {
1340
- return `${te}${dn(t)}`;
1350
+ return `${te}${gn(t)}`;
1341
1351
  }
1342
- function gn(t) {
1352
+ function mn(t) {
1343
1353
  return `${es(t)}/${Ot}/`;
1344
1354
  }
1345
- function mn(t) {
1346
- return `${te}${gn(t)}`;
1355
+ function En(t) {
1356
+ return `${te}${mn(t)}`;
1347
1357
  }
1348
- const En = /(?<packageKeyWithoutVersion>(?<organization>[^\/]+)\/(?<name>[^\/]+))\/(?<version>[^\/]+)\/manifest\.json$/, mt = `${te}${un}`;
1358
+ const vn = /(?<packageKeyWithoutVersion>(?<organization>[^\/]+)\/(?<name>[^\/]+))\/(?<version>[^\/]+)\/manifest\.json$/, mt = `${te}${fn}`;
1349
1359
  function ts(t) {
1350
1360
  const e = L.object({
1351
1361
  id: ds,
@@ -1355,12 +1365,12 @@ function ts(t) {
1355
1365
  /** @deprecated to be removed at some point, not used, left for compatibility with older versions */
1356
1366
  latest: t,
1357
1367
  /** @deprecated to be removed at some point, not used, left for compatibility with older versions */
1358
- latestManifestSha256: Rt,
1368
+ latestManifestSha256: wt,
1359
1369
  latestByChannel: L.record(
1360
1370
  L.string(),
1361
1371
  L.object({
1362
1372
  description: t,
1363
- manifestSha256: Rt
1373
+ manifestSha256: wt
1364
1374
  })
1365
1375
  ).default({})
1366
1376
  });
@@ -1377,7 +1387,7 @@ function ts(t) {
1377
1387
  }
1378
1388
  ).pipe(e.required({ allVersionsWithChannels: !0 }));
1379
1389
  }
1380
- const Kn = ts(X);
1390
+ const Qn = ts(X);
1381
1391
  function Bt(t) {
1382
1392
  return L.object({
1383
1393
  schema: L.literal("v2"),
@@ -1385,7 +1395,7 @@ function Bt(t) {
1385
1395
  });
1386
1396
  }
1387
1397
  const Br = Bt(X);
1388
- function Zn(t) {
1398
+ function ei(t) {
1389
1399
  return J(
1390
1400
  ue,
1391
1401
  M(
@@ -1394,7 +1404,7 @@ function Zn(t) {
1394
1404
  )
1395
1405
  );
1396
1406
  }
1397
- function Qn(t) {
1407
+ function ti(t) {
1398
1408
  return Bt(
1399
1409
  J(
1400
1410
  ue,
@@ -1405,7 +1415,7 @@ function Qn(t) {
1405
1415
  )
1406
1416
  );
1407
1417
  }
1408
- function ei(t) {
1418
+ function ri(t) {
1409
1419
  return Bt(
1410
1420
  J(
1411
1421
  ue,
@@ -1416,7 +1426,7 @@ function ei(t) {
1416
1426
  )
1417
1427
  );
1418
1428
  }
1419
- class ti {
1429
+ class si {
1420
1430
  constructor(e, r = new Es()) {
1421
1431
  this.storage = e, this.logger = r;
1422
1432
  }
@@ -1436,19 +1446,19 @@ class ti {
1436
1446
  };
1437
1447
  this.logger.info("Packages to be updated:");
1438
1448
  for (const i of a) {
1439
- const n = i.match(ln);
1449
+ const n = i.match(un);
1440
1450
  if (!n) continue;
1441
1451
  s.push(i);
1442
- const { organization: l, name: f, version: d, seed: w } = n.groups, p = u({ organization: l, name: f, version: d });
1452
+ const { organization: l, name: f, version: d, seed: R } = n.groups, p = u({ organization: l, name: f, version: d });
1443
1453
  this.logger.info(` - ${l}:${f}:${d} added:${p}`);
1444
1454
  }
1445
1455
  if (e === "force") {
1446
1456
  const i = await this.storage.listFiles(te);
1447
1457
  for (const n of i) {
1448
- const l = n.match(En);
1458
+ const l = n.match(vn);
1449
1459
  if (!l) continue;
1450
- const { organization: f, name: d, version: w } = l.groups, p = u({ organization: f, name: d, version: w });
1451
- this.logger.info(` - ${f}:${d}:${w} force_added:${p}`);
1460
+ const { organization: f, name: d, version: R } = l.groups, p = u({ organization: f, name: d, version: R });
1461
+ this.logger.info(` - ${f}:${d}:${R} force_added:${p}`);
1452
1462
  }
1453
1463
  }
1454
1464
  const c = await this.storage.getFile(mt);
@@ -1467,10 +1477,10 @@ class ti {
1467
1477
  ...i.package,
1468
1478
  version: v
1469
1479
  }, I = await this.storage.getFile(
1470
- ne(N) + hn
1480
+ ne(N) + pn
1471
1481
  );
1472
1482
  if (!I) continue;
1473
- const F = await St(I), b = (await this.storage.listFiles(mn(N))).filter((T) => T.match(gt) ? !0 : (this.logger.warn(`Unexpected channel in ${ye(N)}: ${T}`), !1));
1483
+ const F = await St(I), b = (await this.storage.listFiles(En(N))).filter((T) => T.match(gt) ? !0 : (this.logger.warn(`Unexpected channel in ${ye(N)}: ${T}`), !1));
1474
1484
  d.push({
1475
1485
  description: Ut(v).parse(
1476
1486
  xr.parse(JSON.parse(I.toString("utf8"))).description
@@ -1487,8 +1497,8 @@ class ti {
1487
1497
  JSON.stringify({ schema: "v2", versions: d })
1488
1498
  )
1489
1499
  ), this.logger.info(`Done (${d.length} records)`);
1490
- const w = /* @__PURE__ */ new Set();
1491
- for (const E of d) for (const v of E.channels) w.add(v);
1500
+ const R = /* @__PURE__ */ new Set();
1501
+ for (const E of d) for (const v of E.channels) R.add(v);
1492
1502
  o = o.filter(
1493
1503
  (E) => E.id.organization !== i.package.organization || E.id.name !== i.package.name
1494
1504
  );
@@ -1508,7 +1518,7 @@ class ti {
1508
1518
  // left for backward compatibility
1509
1519
  latestManifestSha256: d[0].manifestSha256,
1510
1520
  latestByChannel: Object.fromEntries(
1511
- [...w, oe].map((E) => {
1521
+ [...R, oe].map((E) => {
1512
1522
  const v = d.find((N) => E === oe || N.channels.indexOf(E) !== -1);
1513
1523
  if (!v) throw new Error("Assertion error");
1514
1524
  return [
@@ -1553,7 +1563,7 @@ class ti {
1553
1563
  return Br.parse(JSON.parse(e.toString()));
1554
1564
  }
1555
1565
  async marchChanged(e) {
1556
- const r = zr(), s = cn(e, r);
1566
+ const r = zr(), s = ln(e, r);
1557
1567
  this.logger.info(`Creating update seed at ${s} ...`), await this.storage.putFile(s, Buffer.from(r)), this.logger.info(`Touching global update seed ${dt} ...`), await this.storage.putFile(dt, Buffer.from(r));
1558
1568
  }
1559
1569
  async addPackageToChannel(e, r) {
@@ -1592,7 +1602,7 @@ class ti {
1592
1602
  this.logger.info(`Uploading manifest to ${a} ...`), await this.storage.putFile(a, Buffer.from(JSON.stringify(e))), await this.marchChanged(e.description.id);
1593
1603
  }
1594
1604
  }
1595
- class vn {
1605
+ class $n {
1596
1606
  constructor(e, r, s) {
1597
1607
  this.client = e, this.bucket = r, this.root = s;
1598
1608
  }
@@ -1601,7 +1611,7 @@ class vn {
1601
1611
  return Buffer.from(
1602
1612
  await (await this.client.getObject({
1603
1613
  Bucket: this.bucket,
1604
- Key: U.join(this.root, e)
1614
+ Key: V.join(this.root, e)
1605
1615
  })).Body.transformToByteArray()
1606
1616
  );
1607
1617
  } catch (r) {
@@ -1610,7 +1620,7 @@ class vn {
1610
1620
  }
1611
1621
  }
1612
1622
  async listFiles(e) {
1613
- const r = U.join(this.root, e), s = Rs(
1623
+ const r = V.join(this.root, e), s = Rs(
1614
1624
  { client: this.client },
1615
1625
  {
1616
1626
  Bucket: this.bucket,
@@ -1618,13 +1628,13 @@ class vn {
1618
1628
  }
1619
1629
  ), a = [];
1620
1630
  for await (const u of s)
1621
- a.push(...(u.Contents ?? []).map((c) => U.relative(r, c.Key)));
1631
+ a.push(...(u.Contents ?? []).map((c) => V.relative(r, c.Key)));
1622
1632
  return a;
1623
1633
  }
1624
1634
  async putFile(e, r) {
1625
1635
  await this.client.putObject({
1626
1636
  Bucket: this.bucket,
1627
- Key: U.join(this.root, e),
1637
+ Key: V.join(this.root, e),
1628
1638
  Body: r
1629
1639
  });
1630
1640
  }
@@ -1633,7 +1643,7 @@ class vn {
1633
1643
  Bucket: this.bucket,
1634
1644
  Delete: {
1635
1645
  Objects: e.map((s) => ({
1636
- Key: U.join(this.root, s)
1646
+ Key: V.join(this.root, s)
1637
1647
  }))
1638
1648
  }
1639
1649
  });
@@ -1642,15 +1652,15 @@ class vn {
1642
1652
  `)}`);
1643
1653
  }
1644
1654
  }
1645
- class $n {
1655
+ class wn {
1646
1656
  constructor(e) {
1647
1657
  /** Absolute path */
1648
1658
  re(this, "root");
1649
1659
  this.root = B.resolve(e);
1650
1660
  }
1651
1661
  toAbsolutePath(e) {
1652
- if (U.isAbsolute(e)) throw new Error("absolute path");
1653
- return B.resolve(this.root, e.split(U.sep).join(B.sep));
1662
+ if (V.isAbsolute(e)) throw new Error("absolute path");
1663
+ return B.resolve(this.root, e.split(V.sep).join(B.sep));
1654
1664
  }
1655
1665
  async getFile(e) {
1656
1666
  try {
@@ -1664,7 +1674,7 @@ class $n {
1664
1674
  try {
1665
1675
  const r = this.toAbsolutePath(e);
1666
1676
  return (await K.promises.readdir(r, { recursive: !0, withFileTypes: !0 })).filter((s) => s.isFile()).map(
1667
- (s) => B.relative(r, B.resolve(s.parentPath, s.name)).split(B.sep).join(U.sep)
1677
+ (s) => B.relative(r, B.resolve(s.parentPath, s.name)).split(B.sep).join(V.sep)
1668
1678
  );
1669
1679
  } catch (r) {
1670
1680
  if (r.code == "ENOENT") return [];
@@ -1680,36 +1690,36 @@ class $n {
1680
1690
  }
1681
1691
  }
1682
1692
  function Rn(t) {
1683
- const e = new URL(t, `file:${B.resolve(".").split(B.sep).join(U.sep)}/`);
1693
+ const e = new URL(t, `file:${B.resolve(".").split(B.sep).join(V.sep)}/`);
1684
1694
  switch (e.protocol) {
1685
1695
  case "file:":
1686
1696
  const r = B.resolve(e.pathname);
1687
- return new $n(r);
1697
+ return new wn(r);
1688
1698
  case "s3:":
1689
1699
  const s = {}, a = e.searchParams.get("region");
1690
1700
  a && (s.region = a);
1691
1701
  const u = e.hostname;
1692
- return new vn(new $s(s), u, e.pathname.replace(/^\//, ""));
1702
+ return new $n(new ws(s), u, e.pathname.replace(/^\//, ""));
1693
1703
  default:
1694
1704
  throw new Error(`Unknown protocol: ${e.protocol}`);
1695
1705
  }
1696
1706
  }
1697
- const wn = L.string().regex(/^(?:s3:|file:)/), Sn = L.object({
1707
+ const Sn = L.string().regex(/^(?:s3:|file:)/), yn = L.object({
1698
1708
  organization: L.string(),
1699
1709
  package: L.string(),
1700
1710
  version: kt.optional(),
1701
1711
  files: L.record(L.string().regex(/^[^\/]+$/), L.string()).default({}),
1702
1712
  meta: L.object({}).passthrough()
1703
- }), yn = L.object({
1704
- registries: L.record(L.string(), wn).default({}),
1713
+ }), In = L.object({
1714
+ registries: L.record(L.string(), Sn).default({}),
1705
1715
  registry: L.string().optional()
1706
- }), rs = yn.merge(Sn).required(
1716
+ }), rs = In.merge(yn).required(
1707
1717
  { registry: !0, version: !0 }
1708
1718
  ), _t = rs.partial().required({
1709
1719
  registries: !0,
1710
1720
  files: !0
1711
- }), In = "pl.package.json", On = "pl.package.yaml", ve = "v1/";
1712
- function ri(t) {
1721
+ }), On = "pl.package.json", Pn = "pl.package.yaml", ve = "v1/";
1722
+ function ni(t) {
1713
1723
  return `${ve}${t.organization}/${t.package}/${t.version}`;
1714
1724
  }
1715
1725
  function ss(t, e) {
@@ -1719,26 +1729,26 @@ function _r(t) {
1719
1729
  return `${ve}${t.organization}/${t.package}/overview.json`;
1720
1730
  }
1721
1731
  const Et = `${ve}overview.json`, ns = "meta.json", Pt = "_updates_v1/per_package_version/";
1722
- function Pn(t, e) {
1732
+ function Nn(t, e) {
1723
1733
  return `${Pt}${t.organization}/${t.package}/${t.version}/${e}`;
1724
1734
  }
1725
- const Nn = /(?<packageKeyWithoutVersion>(?<organization>[^\/]+)\/(?<pkg>[^\/]+))\/(?<version>[^\/]+)\/(?<seed>[^\/]+)$/, is = "_updates_v1/_global_update_in", jr = "_updates_v1/_global_update_out";
1726
- class kn {
1735
+ const kn = /(?<packageKeyWithoutVersion>(?<organization>[^\/]+)\/(?<pkg>[^\/]+))\/(?<version>[^\/]+)\/(?<seed>[^\/]+)$/, is = "_updates_v1/_global_update_in", jr = "_updates_v1/_global_update_out";
1736
+ class Ln {
1727
1737
  constructor(e, r) {
1728
1738
  this.storage = e, this.logger = r;
1729
1739
  }
1730
1740
  constructNewPackage(e) {
1731
- return new Ln(this.storage, e);
1741
+ return new Cn(this.storage, e);
1732
1742
  }
1733
1743
  async updateRegistry() {
1734
1744
  var c, h, o, i, n, l, f, d;
1735
1745
  (c = this.logger) == null || c.info("Initiating registry refresh...");
1736
1746
  const e = /* @__PURE__ */ new Map(), r = [], s = await this.storage.listFiles(Pt);
1737
1747
  (h = this.logger) == null || h.info("Packages to be updated:");
1738
- for (const w of s) {
1739
- const p = w.match(Nn);
1748
+ for (const R of s) {
1749
+ const p = R.match(kn);
1740
1750
  if (!p) continue;
1741
- r.push(w);
1751
+ r.push(R);
1742
1752
  const { packageKeyWithoutVersion: E, organization: v, pkg: N, version: I, seed: F } = p.groups;
1743
1753
  let b = e.get(E);
1744
1754
  b ? b.versions.has(I) || b.versions.add(I) : e.set(E, {
@@ -1749,17 +1759,17 @@ class kn {
1749
1759
  const a = await this.storage.getFile(Et);
1750
1760
  let u = a === void 0 ? [] : JSON.parse(a.toString());
1751
1761
  (i = this.logger) == null || i.info(`Global overview loaded, ${u.length} records`);
1752
- for (const [, w] of e.entries()) {
1753
- const p = _r(w.package), E = await this.storage.getFile(p);
1762
+ for (const [, R] of e.entries()) {
1763
+ const p = _r(R.package), E = await this.storage.getFile(p);
1754
1764
  let v = E === void 0 ? [] : JSON.parse(E.toString());
1755
1765
  (n = this.logger) == null || n.info(
1756
- `Updating ${w.package.organization}:${w.package.package} overview, ${v.length} records`
1757
- ), v = v.filter((N) => !w.versions.has(N.version));
1758
- for (const [N] of w.versions.entries()) {
1766
+ `Updating ${R.package.organization}:${R.package.package} overview, ${v.length} records`
1767
+ ), v = v.filter((N) => !R.versions.has(N.version));
1768
+ for (const [N] of R.versions.entries()) {
1759
1769
  const I = N.toString(), F = await this.storage.getFile(
1760
1770
  ss(
1761
1771
  {
1762
- ...w.package,
1772
+ ...R.package,
1763
1773
  version: I
1764
1774
  },
1765
1775
  ns
@@ -1767,17 +1777,17 @@ class kn {
1767
1777
  );
1768
1778
  F && v.push({ version: I, meta: JSON.parse(F.toString()) });
1769
1779
  }
1770
- v.sort((N, I) => on.compare(I.version, N.version)), await this.storage.putFile(p, Buffer.from(JSON.stringify(v))), (l = this.logger) == null || l.info(`Done (${v.length} records)`), u = u.filter(
1771
- (N) => N.organization !== w.package.organization || N.package !== w.package.package
1780
+ v.sort((N, I) => cn.compare(I.version, N.version)), await this.storage.putFile(p, Buffer.from(JSON.stringify(v))), (l = this.logger) == null || l.info(`Done (${v.length} records)`), u = u.filter(
1781
+ (N) => N.organization !== R.package.organization || N.package !== R.package.package
1772
1782
  ), u.push({
1773
- organization: w.package.organization,
1774
- package: w.package.package,
1783
+ organization: R.package.organization,
1784
+ package: R.package.package,
1775
1785
  allVersions: v.map((N) => N.version).reverse(),
1776
1786
  latestVersion: v[0].version,
1777
1787
  latestMeta: v[0].meta
1778
1788
  });
1779
1789
  }
1780
- await this.storage.putFile(Et, Buffer.from(JSON.stringify(u))), (f = this.logger) == null || f.info(`Global overview updated (${u.length} records)`), await this.storage.deleteFiles(...r.map((w) => `${Pt}${w}`)), (d = this.logger) == null || d.info("Version update requests cleared");
1790
+ await this.storage.putFile(Et, Buffer.from(JSON.stringify(u))), (f = this.logger) == null || f.info(`Global overview updated (${u.length} records)`), await this.storage.deleteFiles(...r.map((R) => `${Pt}${R}`)), (d = this.logger) == null || d.info("Version update requests cleared");
1781
1791
  }
1782
1792
  async updateIfNeeded(e = !1) {
1783
1793
  var a, u;
@@ -1796,7 +1806,7 @@ class kn {
1796
1806
  return JSON.parse(e.toString());
1797
1807
  }
1798
1808
  }
1799
- class Ln {
1809
+ class Cn {
1800
1810
  constructor(e, r) {
1801
1811
  re(this, "metaAdded", !1);
1802
1812
  re(this, "seed", zr());
@@ -1810,7 +1820,7 @@ class Ln {
1810
1820
  }
1811
1821
  async finish() {
1812
1822
  if (!this.metaAdded) throw new Error("meta not added");
1813
- await this.storage.putFile(Pn(this.name, this.seed), Buffer.of(0)), await this.storage.putFile(is, Buffer.from(this.seed));
1823
+ await this.storage.putFile(Nn(this.name, this.seed), Buffer.of(0)), await this.storage.putFile(is, Buffer.from(this.seed));
1814
1824
  }
1815
1825
  }
1816
1826
  function z(t, e) {
@@ -1825,13 +1835,13 @@ async function vt(t) {
1825
1835
  return Ct(t, (e) => _t.parse(JSON.parse(e.toString())));
1826
1836
  }
1827
1837
  async function $t(t) {
1828
- return Ct(t, (e) => _t.parse(vs.parse(e.toString())));
1838
+ return Ct(t, (e) => _t.parse($s.parse(e.toString())));
1829
1839
  }
1830
- async function Cn() {
1840
+ async function Tn() {
1831
1841
  let t = _t.parse({});
1832
- return t = z(t, await vt("./.pl.reg.json")), t = z(t, await $t("./.pl.reg.yaml")), t = z(t, await vt(`${Gt.homedir()}/.pl.reg.json`)), t = z(t, await $t(`${Gt.homedir()}/.pl.reg.yaml`)), t = z(t, await vt(In)), t = z(t, await $t(On)), t;
1842
+ return t = z(t, await vt("./.pl.reg.json")), t = z(t, await $t("./.pl.reg.yaml")), t = z(t, await vt(`${Gt.homedir()}/.pl.reg.json`)), t = z(t, await $t(`${Gt.homedir()}/.pl.reg.yaml`)), t = z(t, await vt(On)), t = z(t, await $t(Pn)), t;
1833
1843
  }
1834
- class Tn {
1844
+ class An {
1835
1845
  constructor(e) {
1836
1846
  this.conf = e;
1837
1847
  }
@@ -1842,7 +1852,7 @@ class Tn {
1842
1852
  if (!s) throw new Error(`Registry with alias "${r}" not found`);
1843
1853
  r = s;
1844
1854
  }
1845
- return new kn(Rn(r), e);
1855
+ return new Ln(Rn(r), e);
1846
1856
  }
1847
1857
  get fullPackageName() {
1848
1858
  return {
@@ -1852,84 +1862,84 @@ class Tn {
1852
1862
  };
1853
1863
  }
1854
1864
  }
1855
- async function si(t) {
1856
- const e = await Cn();
1857
- return new Tn(
1865
+ async function ii(t) {
1866
+ const e = await Tn();
1867
+ return new An(
1858
1868
  rs.parse(z(e, t))
1859
1869
  );
1860
1870
  }
1861
1871
  export {
1862
- Hn as $,
1863
- Ss as A,
1864
- Mn as B,
1872
+ Kn as $,
1873
+ ys as A,
1874
+ Xn as B,
1865
1875
  xt as C,
1866
1876
  Xr as D,
1867
- ys as E,
1868
- $n as F,
1877
+ Is as E,
1878
+ wn as F,
1869
1879
  Br as G,
1870
- Is as H,
1871
- wt as I,
1872
- Os as J,
1880
+ Os as H,
1881
+ Rt as I,
1882
+ Ps as J,
1873
1883
  Lt as K,
1874
- Ps as L,
1884
+ Ns as L,
1875
1885
  ie as M,
1876
- Vn as N,
1886
+ zn as N,
1877
1887
  he as O,
1878
1888
  _t as P,
1879
- ks as Q,
1880
- ws as R,
1881
- vn as S,
1882
- zn as T,
1883
- Ls as U,
1884
- Cs as V,
1889
+ Ls as Q,
1890
+ Ss as R,
1891
+ $n as S,
1892
+ Jn as T,
1893
+ Cs as U,
1894
+ Ts as V,
1885
1895
  Jr as W,
1886
- Ts as X,
1896
+ As as X,
1887
1897
  Ut as Y,
1888
1898
  yt as Z,
1889
1899
  Wr as _,
1890
- Ns as a,
1891
- fn as a0,
1900
+ ks as a,
1901
+ hn as a0,
1892
1902
  Ot as a1,
1893
1903
  gt as a2,
1894
1904
  ne as a3,
1895
- pn as a4,
1905
+ dn as a4,
1896
1906
  qr as a5,
1897
- dn as a6,
1907
+ gn as a6,
1898
1908
  Dr as a7,
1899
- gn as a8,
1900
- mn as a9,
1901
- En as aa,
1909
+ mn as a8,
1910
+ En as a9,
1911
+ vn as aa,
1902
1912
  mt as ab,
1903
1913
  ts as ac,
1904
- Kn as ad,
1914
+ Qn as ad,
1905
1915
  Bt as ae,
1906
- Zn as af,
1907
- Qn as ag,
1908
- ei as ah,
1909
- ti as b,
1910
- Yn as c,
1911
- Wn as d,
1912
- on as e,
1916
+ ei as af,
1917
+ ti as ag,
1918
+ ri as ah,
1919
+ si as b,
1920
+ Zn as c,
1921
+ Yn as d,
1922
+ cn as e,
1913
1923
  te as f,
1914
- si as g,
1915
- Xn as h,
1916
- un as i,
1917
- hn as j,
1924
+ ii as g,
1925
+ Wn as h,
1926
+ fn as i,
1927
+ pn as j,
1918
1928
  St as k,
1919
- Fs as l,
1920
- Jn as m,
1929
+ bs as l,
1930
+ Hn as m,
1921
1931
  Et as n,
1922
1932
  ns as o,
1923
1933
  es as p,
1924
- Sn as q,
1925
- In as r,
1934
+ yn as q,
1935
+ On as r,
1926
1936
  Rn as s,
1927
- On as t,
1928
- yn as u,
1937
+ Pn as t,
1938
+ In as u,
1929
1939
  rs as v,
1930
- Tn as w,
1931
- ri as x,
1940
+ An as w,
1941
+ ni as x,
1932
1942
  _r as y,
1933
1943
  ss as z
1934
1944
  };
1935
- //# sourceMappingURL=config-Bg6-2Pd-.mjs.map
1945
+ //# sourceMappingURL=config-DwOM2V6u.mjs.map