@opencloud-eu/web-client 5.1.0 → 6.1.0

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.
Files changed (73) hide show
  1. package/dist/axios-Drchb9eh.js +1646 -0
  2. package/dist/dist-tjee3PVd.js +809 -0
  3. package/dist/generated-B6vcMOfs.js +3317 -0
  4. package/dist/graph-DcYhPBws.js +372 -0
  5. package/dist/helpers-B0hzJ78Q.js +1463 -0
  6. package/dist/ocs-2K0ogAXF.js +1658 -0
  7. package/dist/src/graph/activities/activities.d.ts +2 -2
  8. package/dist/src/graph/activities/types.d.ts +2 -2
  9. package/dist/src/graph/applications/applications.d.ts +2 -2
  10. package/dist/src/graph/applications/types.d.ts +2 -2
  11. package/dist/src/graph/driveItems/driveItems.d.ts +2 -2
  12. package/dist/src/graph/driveItems/types.d.ts +3 -1
  13. package/dist/src/graph/drives/drives.d.ts +2 -2
  14. package/dist/src/graph/drives/types.d.ts +4 -3
  15. package/dist/src/graph/generated/api.d.ts +394 -1720
  16. package/dist/src/graph/generated/base.d.ts +11 -24
  17. package/dist/src/graph/generated/common.d.ts +15 -35
  18. package/dist/src/graph/generated/configuration.d.ts +24 -17
  19. package/dist/src/graph/generated/index.d.ts +2 -2
  20. package/dist/src/graph/groups/groups.d.ts +2 -2
  21. package/dist/src/graph/groups/types.d.ts +2 -2
  22. package/dist/src/graph/index.d.ts +2 -2
  23. package/dist/src/graph/permissions/permissions.d.ts +2 -2
  24. package/dist/src/graph/permissions/types.d.ts +2 -2
  25. package/dist/src/graph/photos/photo.d.ts +2 -2
  26. package/dist/src/graph/photos/types.d.ts +1 -1
  27. package/dist/src/graph/tags/tags.d.ts +2 -2
  28. package/dist/src/graph/tags/types.d.ts +2 -2
  29. package/dist/src/graph/types.d.ts +2 -2
  30. package/dist/src/graph/users/types.d.ts +2 -2
  31. package/dist/src/graph/users/users.d.ts +2 -2
  32. package/dist/src/helpers/space/functions.d.ts +1 -1
  33. package/dist/src/webdav/clearTrashBin.d.ts +1 -1
  34. package/dist/src/webdav/copyFiles.d.ts +1 -1
  35. package/dist/src/webdav/deleteFile.d.ts +1 -1
  36. package/dist/src/webdav/listFileVersions.d.ts +1 -1
  37. package/dist/src/webdav/moveFiles.d.ts +1 -1
  38. package/dist/src/webdav/putFileContents.d.ts +1 -1
  39. package/dist/src/webdav/restoreFile.d.ts +1 -1
  40. package/dist/src/webdav/restoreFileVersion.d.ts +1 -1
  41. package/dist/src/webdav/setFavorite.d.ts +1 -1
  42. package/dist/src/webdav/types.d.ts +0 -2
  43. package/dist/toString-tGn_k7yU.js +287 -0
  44. package/dist/web-client/graph/generated.js +2 -5757
  45. package/dist/web-client/graph.js +2 -5
  46. package/dist/web-client/ocs.js +2 -5
  47. package/dist/web-client/sse.js +195 -201
  48. package/dist/web-client/webdav.js +3 -10
  49. package/dist/web-client.js +6 -82
  50. package/dist/webdav-CcBUJk4K.js +4423 -0
  51. package/package.json +8 -14
  52. package/dist/functions-JSgappH3.js +0 -1189
  53. package/dist/functions-K2XX5sqY.cjs +0 -1
  54. package/dist/index-Bjk4YP4o.js +0 -1447
  55. package/dist/index-Brk6gzFd.js +0 -688
  56. package/dist/index-CDNcS2Ra.cjs +0 -1
  57. package/dist/index-CRMq09Yn.js +0 -1933
  58. package/dist/index-D0bnLDAA.cjs +0 -1
  59. package/dist/index-Dn0XwAD_.cjs +0 -13
  60. package/dist/index-YuBBVVCr.js +0 -3860
  61. package/dist/index-_QOU-c0Z.cjs +0 -4
  62. package/dist/index-cttW6Cve.js +0 -1018
  63. package/dist/index-mNoGEl9R.cjs +0 -6
  64. package/dist/src/webdav/listFavoriteFiles.d.ts +0 -12
  65. package/dist/toString-CKeGA2IK.js +0 -255
  66. package/dist/toString-DsGM1XcL.cjs +0 -1
  67. package/dist/vite.config.d.ts +0 -2
  68. package/dist/web-client/graph/generated.cjs +0 -1
  69. package/dist/web-client/graph.cjs +0 -1
  70. package/dist/web-client/ocs.cjs +0 -1
  71. package/dist/web-client/sse.cjs +0 -2
  72. package/dist/web-client/webdav.cjs +0 -1
  73. package/dist/web-client.cjs +0 -1
@@ -0,0 +1,1658 @@
1
+ import { t as e } from "./dist-tjee3PVd.js";
2
+ import { a as t, n, s as r, t as i, u as a } from "./toString-tGn_k7yU.js";
3
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js
4
+ var o = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, s = /^\w*$/;
5
+ function c(e, n) {
6
+ if (t(e)) return !1;
7
+ var i = typeof e;
8
+ return i == "number" || i == "symbol" || i == "boolean" || e == null || r(e) ? !0 : s.test(e) || !o.test(e) || n != null && e in Object(n);
9
+ }
10
+ //#endregion
11
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/memoize.js
12
+ var l = "Expected a function";
13
+ function u(e, t) {
14
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(l);
15
+ var r = function() {
16
+ var n = arguments, i = t ? t.apply(this, n) : n[0], a = r.cache;
17
+ if (a.has(i)) return a.get(i);
18
+ var o = e.apply(this, n);
19
+ return r.cache = a.set(i, o) || a, o;
20
+ };
21
+ return r.cache = new (u.Cache || n)(), r;
22
+ }
23
+ u.Cache = n;
24
+ //#endregion
25
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js
26
+ var d = 500;
27
+ function f(e) {
28
+ var t = u(e, function(e) {
29
+ return n.size === d && n.clear(), e;
30
+ }), n = t.cache;
31
+ return t;
32
+ }
33
+ //#endregion
34
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js
35
+ var p = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, m = /\\(\\)?/g, h = f(function(e) {
36
+ var t = [];
37
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(p, function(e, n, r, i) {
38
+ t.push(r ? i.replace(m, "$1") : n || e);
39
+ }), t;
40
+ });
41
+ //#endregion
42
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js
43
+ function g(e, n) {
44
+ return t(e) ? e : c(e, n) ? [e] : h(i(e));
45
+ }
46
+ //#endregion
47
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js
48
+ var _ = Infinity;
49
+ function ee(e) {
50
+ if (typeof e == "string" || r(e)) return e;
51
+ var t = e + "";
52
+ return t == "0" && 1 / e == -_ ? "-0" : t;
53
+ }
54
+ //#endregion
55
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.js
56
+ function te(e, t) {
57
+ t = g(t, e);
58
+ for (var n = 0, r = t.length; e != null && n < r;) e = e[ee(t[n++])];
59
+ return n && n == r ? e : void 0;
60
+ }
61
+ //#endregion
62
+ //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/get.js
63
+ function ne(e, t, n) {
64
+ var r = e == null ? void 0 : te(e, t);
65
+ return r === void 0 ? n : r;
66
+ }
67
+ //#endregion
68
+ //#region src/ocs/capabilities.ts
69
+ var v = (e, t) => {
70
+ let n = new URL(e);
71
+ n.pathname = [
72
+ ...n.pathname.split("/"),
73
+ "cloud",
74
+ "capabilities"
75
+ ].filter(Boolean).join("/"), n.searchParams.append("format", "json");
76
+ let r = n.href;
77
+ return { async getCapabilities() {
78
+ return ne(await t.get(r), "data.ocs.data", {
79
+ capabilities: null,
80
+ version: null
81
+ });
82
+ } };
83
+ };
84
+ //#endregion
85
+ //#region ../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js
86
+ function y(e) {
87
+ return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
88
+ }
89
+ function b(e, t = "") {
90
+ if (!Number.isSafeInteger(e) || e < 0) {
91
+ let n = t && `"${t}" `;
92
+ throw Error(`${n}expected integer >= 0, got ${e}`);
93
+ }
94
+ }
95
+ function x(e, t, n = "") {
96
+ let r = y(e), i = e?.length, a = t !== void 0;
97
+ if (!r || a && i !== t) {
98
+ let o = n && `"${n}" `, s = a ? ` of length ${t}` : "", c = r ? `length=${i}` : `type=${typeof e}`;
99
+ throw Error(o + "expected Uint8Array" + s + ", got " + c);
100
+ }
101
+ return e;
102
+ }
103
+ function S(e) {
104
+ if (typeof e != "function" || typeof e.create != "function") throw Error("Hash must wrapped by utils.createHasher");
105
+ b(e.outputLen), b(e.blockLen);
106
+ }
107
+ function C(e, t = !0) {
108
+ if (e.destroyed) throw Error("Hash instance has been destroyed");
109
+ if (t && e.finished) throw Error("Hash#digest() has already been called");
110
+ }
111
+ function re(e, t) {
112
+ x(e, void 0, "digestInto() output");
113
+ let n = t.outputLen;
114
+ if (e.length < n) throw Error("\"digestInto() output\" expected to be of length >=" + n);
115
+ }
116
+ function w(...e) {
117
+ for (let t = 0; t < e.length; t++) e[t].fill(0);
118
+ }
119
+ function T(e) {
120
+ return new DataView(e.buffer, e.byteOffset, e.byteLength);
121
+ }
122
+ new Uint8Array(new Uint32Array([287454020]).buffer)[0], typeof Uint8Array.from([]).toHex == "function" && Uint8Array.fromHex;
123
+ function ie(e) {
124
+ if (typeof e != "string") throw Error("string expected");
125
+ return new Uint8Array(new TextEncoder().encode(e));
126
+ }
127
+ function E(e, t = "") {
128
+ return typeof e == "string" ? ie(e) : x(e, void 0, t);
129
+ }
130
+ function ae(e, t) {
131
+ if (t !== void 0 && {}.toString.call(t) !== "[object Object]") throw Error("options must be object or undefined");
132
+ return Object.assign(e, t);
133
+ }
134
+ function oe(e, t = {}) {
135
+ let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
136
+ return n.outputLen = r.outputLen, n.blockLen = r.blockLen, n.create = (t) => e(t), Object.assign(n, t), Object.freeze(n);
137
+ }
138
+ var se = (e) => ({ oid: Uint8Array.from([
139
+ 6,
140
+ 9,
141
+ 96,
142
+ 134,
143
+ 72,
144
+ 1,
145
+ 101,
146
+ 3,
147
+ 4,
148
+ 2,
149
+ e
150
+ ]) }), ce = class {
151
+ oHash;
152
+ iHash;
153
+ blockLen;
154
+ outputLen;
155
+ finished = !1;
156
+ destroyed = !1;
157
+ constructor(e, t) {
158
+ if (S(e), x(t, void 0, "key"), this.iHash = e.create(), typeof this.iHash.update != "function") throw Error("Expected instance of class which extends utils.Hash");
159
+ this.blockLen = this.iHash.blockLen, this.outputLen = this.iHash.outputLen;
160
+ let n = this.blockLen, r = new Uint8Array(n);
161
+ r.set(t.length > n ? e.create().update(t).digest() : t);
162
+ for (let e = 0; e < r.length; e++) r[e] ^= 54;
163
+ this.iHash.update(r), this.oHash = e.create();
164
+ for (let e = 0; e < r.length; e++) r[e] ^= 106;
165
+ this.oHash.update(r), w(r);
166
+ }
167
+ update(e) {
168
+ return C(this), this.iHash.update(e), this;
169
+ }
170
+ digestInto(e) {
171
+ C(this), x(e, this.outputLen, "output"), this.finished = !0, this.iHash.digestInto(e), this.oHash.update(e), this.oHash.digestInto(e), this.destroy();
172
+ }
173
+ digest() {
174
+ let e = new Uint8Array(this.oHash.outputLen);
175
+ return this.digestInto(e), e;
176
+ }
177
+ _cloneInto(e) {
178
+ e ||= Object.create(Object.getPrototypeOf(this), {});
179
+ let { oHash: t, iHash: n, finished: r, destroyed: i, blockLen: a, outputLen: o } = this;
180
+ return e = e, e.finished = r, e.destroyed = i, e.blockLen = a, e.outputLen = o, e.oHash = t._cloneInto(e.oHash), e.iHash = n._cloneInto(e.iHash), e;
181
+ }
182
+ clone() {
183
+ return this._cloneInto();
184
+ }
185
+ destroy() {
186
+ this.destroyed = !0, this.oHash.destroy(), this.iHash.destroy();
187
+ }
188
+ }, le = (e, t, n) => new ce(e, t).update(n).digest();
189
+ le.create = (e, t) => new ce(e, t);
190
+ //#endregion
191
+ //#region ../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/pbkdf2.js
192
+ function ue(e, t, n, r) {
193
+ S(e);
194
+ let { c: i, dkLen: a, asyncTick: o } = ae({
195
+ dkLen: 32,
196
+ asyncTick: 10
197
+ }, r);
198
+ if (b(i, "c"), b(a, "dkLen"), b(o, "asyncTick"), i < 1) throw Error("iterations (c) must be >= 1");
199
+ let s = E(t, "password"), c = E(n, "salt"), l = new Uint8Array(a), u = le.create(e, s);
200
+ return {
201
+ c: i,
202
+ dkLen: a,
203
+ asyncTick: o,
204
+ DK: l,
205
+ PRF: u,
206
+ PRFSalt: u._cloneInto().update(c)
207
+ };
208
+ }
209
+ function de(e, t, n, r, i) {
210
+ return e.destroy(), t.destroy(), r && r.destroy(), w(i), n;
211
+ }
212
+ function fe(e, t, n, r) {
213
+ let { c: i, dkLen: a, DK: o, PRF: s, PRFSalt: c } = ue(e, t, n, r), l, u = new Uint8Array(4), d = T(u), f = new Uint8Array(s.outputLen);
214
+ for (let e = 1, t = 0; t < a; e++, t += s.outputLen) {
215
+ let n = o.subarray(t, t + s.outputLen);
216
+ d.setInt32(0, e, !1), (l = c._cloneInto(l)).update(u).digestInto(f), n.set(f.subarray(0, n.length));
217
+ for (let e = 1; e < i; e++) {
218
+ s._cloneInto(l).update(f).digestInto(f);
219
+ for (let e = 0; e < n.length; e++) n[e] ^= f[e];
220
+ }
221
+ }
222
+ return de(s, c, o, l, f);
223
+ }
224
+ //#endregion
225
+ //#region ../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_md.js
226
+ var pe = class {
227
+ blockLen;
228
+ outputLen;
229
+ padOffset;
230
+ isLE;
231
+ buffer;
232
+ view;
233
+ finished = !1;
234
+ length = 0;
235
+ pos = 0;
236
+ destroyed = !1;
237
+ constructor(e, t, n, r) {
238
+ this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = T(this.buffer);
239
+ }
240
+ update(e) {
241
+ C(this), x(e);
242
+ let { view: t, buffer: n, blockLen: r } = this, i = e.length;
243
+ for (let a = 0; a < i;) {
244
+ let o = Math.min(r - this.pos, i - a);
245
+ if (o === r) {
246
+ let t = T(e);
247
+ for (; r <= i - a; a += r) this.process(t, a);
248
+ continue;
249
+ }
250
+ n.set(e.subarray(a, a + o), this.pos), this.pos += o, a += o, this.pos === r && (this.process(t, 0), this.pos = 0);
251
+ }
252
+ return this.length += e.length, this.roundClean(), this;
253
+ }
254
+ digestInto(e) {
255
+ C(this), re(e, this), this.finished = !0;
256
+ let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
257
+ t[a++] = 128, w(this.buffer.subarray(a)), this.padOffset > r - a && (this.process(n, 0), a = 0);
258
+ for (let e = a; e < r; e++) t[e] = 0;
259
+ n.setBigUint64(r - 8, BigInt(this.length * 8), i), this.process(n, 0);
260
+ let o = T(e), s = this.outputLen;
261
+ if (s % 4) throw Error("_sha2: outputLen must be aligned to 32bit");
262
+ let c = s / 4, l = this.get();
263
+ if (c > l.length) throw Error("_sha2: outputLen bigger than state");
264
+ for (let e = 0; e < c; e++) o.setUint32(4 * e, l[e], i);
265
+ }
266
+ digest() {
267
+ let { buffer: e, outputLen: t } = this;
268
+ this.digestInto(e);
269
+ let n = e.slice(0, t);
270
+ return this.destroy(), n;
271
+ }
272
+ _cloneInto(e) {
273
+ e ||= new this.constructor(), e.set(...this.get());
274
+ let { blockLen: t, buffer: n, length: r, finished: i, destroyed: a, pos: o } = this;
275
+ return e.destroyed = a, e.finished = i, e.length = r, e.pos = o, r % t && e.buffer.set(n), e;
276
+ }
277
+ clone() {
278
+ return this._cloneInto();
279
+ }
280
+ }, D = /* @__PURE__ */ Uint32Array.from([
281
+ 1779033703,
282
+ 4089235720,
283
+ 3144134277,
284
+ 2227873595,
285
+ 1013904242,
286
+ 4271175723,
287
+ 2773480762,
288
+ 1595750129,
289
+ 1359893119,
290
+ 2917565137,
291
+ 2600822924,
292
+ 725511199,
293
+ 528734635,
294
+ 4215389547,
295
+ 1541459225,
296
+ 327033209
297
+ ]), O = /* @__PURE__ */ BigInt(2 ** 32 - 1), me = /* @__PURE__ */ BigInt(32);
298
+ function he(e, t = !1) {
299
+ return t ? {
300
+ h: Number(e & O),
301
+ l: Number(e >> me & O)
302
+ } : {
303
+ h: Number(e >> me & O) | 0,
304
+ l: Number(e & O) | 0
305
+ };
306
+ }
307
+ function ge(e, t = !1) {
308
+ let n = e.length, r = new Uint32Array(n), i = new Uint32Array(n);
309
+ for (let a = 0; a < n; a++) {
310
+ let { h: n, l: o } = he(e[a], t);
311
+ [r[a], i[a]] = [n, o];
312
+ }
313
+ return [r, i];
314
+ }
315
+ var _e = (e, t, n) => e >>> n, ve = (e, t, n) => e << 32 - n | t >>> n, k = (e, t, n) => e >>> n | t << 32 - n, A = (e, t, n) => e << 32 - n | t >>> n, j = (e, t, n) => e << 64 - n | t >>> n - 32, M = (e, t, n) => e >>> n - 32 | t << 64 - n;
316
+ function N(e, t, n, r) {
317
+ let i = (t >>> 0) + (r >>> 0);
318
+ return {
319
+ h: e + n + (i / 2 ** 32 | 0) | 0,
320
+ l: i | 0
321
+ };
322
+ }
323
+ var ye = (e, t, n) => (e >>> 0) + (t >>> 0) + (n >>> 0), be = (e, t, n, r) => t + n + r + (e / 2 ** 32 | 0) | 0, xe = (e, t, n, r) => (e >>> 0) + (t >>> 0) + (n >>> 0) + (r >>> 0), Se = (e, t, n, r, i) => t + n + r + i + (e / 2 ** 32 | 0) | 0, Ce = (e, t, n, r, i) => (e >>> 0) + (t >>> 0) + (n >>> 0) + (r >>> 0) + (i >>> 0), we = (e, t, n, r, i, a) => t + n + r + i + a + (e / 2 ** 32 | 0) | 0, P = ge((/* @__PURE__ */ "0x428a2f98d728ae22.0x7137449123ef65cd.0xb5c0fbcfec4d3b2f.0xe9b5dba58189dbbc.0x3956c25bf348b538.0x59f111f1b605d019.0x923f82a4af194f9b.0xab1c5ed5da6d8118.0xd807aa98a3030242.0x12835b0145706fbe.0x243185be4ee4b28c.0x550c7dc3d5ffb4e2.0x72be5d74f27b896f.0x80deb1fe3b1696b1.0x9bdc06a725c71235.0xc19bf174cf692694.0xe49b69c19ef14ad2.0xefbe4786384f25e3.0x0fc19dc68b8cd5b5.0x240ca1cc77ac9c65.0x2de92c6f592b0275.0x4a7484aa6ea6e483.0x5cb0a9dcbd41fbd4.0x76f988da831153b5.0x983e5152ee66dfab.0xa831c66d2db43210.0xb00327c898fb213f.0xbf597fc7beef0ee4.0xc6e00bf33da88fc2.0xd5a79147930aa725.0x06ca6351e003826f.0x142929670a0e6e70.0x27b70a8546d22ffc.0x2e1b21385c26c926.0x4d2c6dfc5ac42aed.0x53380d139d95b3df.0x650a73548baf63de.0x766a0abb3c77b2a8.0x81c2c92e47edaee6.0x92722c851482353b.0xa2bfe8a14cf10364.0xa81a664bbc423001.0xc24b8b70d0f89791.0xc76c51a30654be30.0xd192e819d6ef5218.0xd69906245565a910.0xf40e35855771202a.0x106aa07032bbd1b8.0x19a4c116b8d2d0c8.0x1e376c085141ab53.0x2748774cdf8eeb99.0x34b0bcb5e19b48a8.0x391c0cb3c5c95a63.0x4ed8aa4ae3418acb.0x5b9cca4f7763e373.0x682e6ff3d6b2b8a3.0x748f82ee5defb2fc.0x78a5636f43172f60.0x84c87814a1f0ab72.0x8cc702081a6439ec.0x90befffa23631e28.0xa4506cebde82bde9.0xbef9a3f7b2c67915.0xc67178f2e372532b.0xca273eceea26619c.0xd186b8c721c0c207.0xeada7dd6cde0eb1e.0xf57d4f7fee6ed178.0x06f067aa72176fba.0x0a637dc5a2c898a6.0x113f9804bef90dae.0x1b710b35131c471b.0x28db77f523047d84.0x32caab7b40c72493.0x3c9ebe0a15c9bebc.0x431d67c49c100d4c.0x4cc5d4becb3e42b6.0x597f299cfc657e2a.0x5fcb6fab3ad6faec.0x6c44198c4a475817".split(".")).map((e) => BigInt(e))), Te = P[0], Ee = P[1], F = /* @__PURE__ */ new Uint32Array(80), I = /* @__PURE__ */ new Uint32Array(80), De = class extends pe {
324
+ constructor(e) {
325
+ super(128, e, 16, !1);
326
+ }
327
+ get() {
328
+ let { Ah: e, Al: t, Bh: n, Bl: r, Ch: i, Cl: a, Dh: o, Dl: s, Eh: c, El: l, Fh: u, Fl: d, Gh: f, Gl: p, Hh: m, Hl: h } = this;
329
+ return [
330
+ e,
331
+ t,
332
+ n,
333
+ r,
334
+ i,
335
+ a,
336
+ o,
337
+ s,
338
+ c,
339
+ l,
340
+ u,
341
+ d,
342
+ f,
343
+ p,
344
+ m,
345
+ h
346
+ ];
347
+ }
348
+ set(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h) {
349
+ this.Ah = e | 0, this.Al = t | 0, this.Bh = n | 0, this.Bl = r | 0, this.Ch = i | 0, this.Cl = a | 0, this.Dh = o | 0, this.Dl = s | 0, this.Eh = c | 0, this.El = l | 0, this.Fh = u | 0, this.Fl = d | 0, this.Gh = f | 0, this.Gl = p | 0, this.Hh = m | 0, this.Hl = h | 0;
350
+ }
351
+ process(e, t) {
352
+ for (let n = 0; n < 16; n++, t += 4) F[n] = e.getUint32(t), I[n] = e.getUint32(t += 4);
353
+ for (let e = 16; e < 80; e++) {
354
+ let t = F[e - 15] | 0, n = I[e - 15] | 0, r = k(t, n, 1) ^ k(t, n, 8) ^ _e(t, n, 7), i = A(t, n, 1) ^ A(t, n, 8) ^ ve(t, n, 7), a = F[e - 2] | 0, o = I[e - 2] | 0, s = k(a, o, 19) ^ j(a, o, 61) ^ _e(a, o, 6), c = xe(i, A(a, o, 19) ^ M(a, o, 61) ^ ve(a, o, 6), I[e - 7], I[e - 16]);
355
+ F[e] = Se(c, r, s, F[e - 7], F[e - 16]) | 0, I[e] = c | 0;
356
+ }
357
+ let { Ah: n, Al: r, Bh: i, Bl: a, Ch: o, Cl: s, Dh: c, Dl: l, Eh: u, El: d, Fh: f, Fl: p, Gh: m, Gl: h, Hh: g, Hl: _ } = this;
358
+ for (let e = 0; e < 80; e++) {
359
+ let t = k(u, d, 14) ^ k(u, d, 18) ^ j(u, d, 41), ee = A(u, d, 14) ^ A(u, d, 18) ^ M(u, d, 41), te = u & f ^ ~u & m, ne = d & p ^ ~d & h, v = Ce(_, ee, ne, Ee[e], I[e]), y = we(v, g, t, te, Te[e], F[e]), b = v | 0, x = k(n, r, 28) ^ j(n, r, 34) ^ j(n, r, 39), S = A(n, r, 28) ^ M(n, r, 34) ^ M(n, r, 39), C = n & i ^ n & o ^ i & o, re = r & a ^ r & s ^ a & s;
360
+ g = m | 0, _ = h | 0, m = f | 0, h = p | 0, f = u | 0, p = d | 0, {h: u, l: d} = N(c | 0, l | 0, y | 0, b | 0), c = o | 0, l = s | 0, o = i | 0, s = a | 0, i = n | 0, a = r | 0;
361
+ let w = ye(b, S, re);
362
+ n = be(w, y, x, C), r = w | 0;
363
+ }
364
+ ({h: n, l: r} = N(this.Ah | 0, this.Al | 0, n | 0, r | 0)), {h: i, l: a} = N(this.Bh | 0, this.Bl | 0, i | 0, a | 0), {h: o, l: s} = N(this.Ch | 0, this.Cl | 0, o | 0, s | 0), {h: c, l: l} = N(this.Dh | 0, this.Dl | 0, c | 0, l | 0), {h: u, l: d} = N(this.Eh | 0, this.El | 0, u | 0, d | 0), {h: f, l: p} = N(this.Fh | 0, this.Fl | 0, f | 0, p | 0), {h: m, l: h} = N(this.Gh | 0, this.Gl | 0, m | 0, h | 0), {h: g, l: _} = N(this.Hh | 0, this.Hl | 0, g | 0, _ | 0), this.set(n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _);
365
+ }
366
+ roundClean() {
367
+ w(F, I);
368
+ }
369
+ destroy() {
370
+ w(this.buffer), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
371
+ }
372
+ }, Oe = class extends De {
373
+ Ah = D[0] | 0;
374
+ Al = D[1] | 0;
375
+ Bh = D[2] | 0;
376
+ Bl = D[3] | 0;
377
+ Ch = D[4] | 0;
378
+ Cl = D[5] | 0;
379
+ Dh = D[6] | 0;
380
+ Dl = D[7] | 0;
381
+ Eh = D[8] | 0;
382
+ El = D[9] | 0;
383
+ Fh = D[10] | 0;
384
+ Fl = D[11] | 0;
385
+ Gh = D[12] | 0;
386
+ Gl = D[13] | 0;
387
+ Hh = D[14] | 0;
388
+ Hl = D[15] | 0;
389
+ constructor() {
390
+ super(64);
391
+ }
392
+ }, ke = /* @__PURE__ */ oe(() => new Oe(), /* @__PURE__ */ se(3)), Ae = (t, n, r, i) => e.from(fe(ke, t, n, {
393
+ c: r,
394
+ dkLen: i
395
+ })), L = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
396
+ L + "";
397
+ var je = "[" + L + "][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*", Me = RegExp("^" + je + "$");
398
+ function R(e, t) {
399
+ let n = [], r = t.exec(e);
400
+ for (; r;) {
401
+ let i = [];
402
+ i.startIndex = t.lastIndex - r[0].length;
403
+ let a = r.length;
404
+ for (let e = 0; e < a; e++) i.push(r[e]);
405
+ n.push(i), r = t.exec(e);
406
+ }
407
+ return n;
408
+ }
409
+ var z = function(e) {
410
+ return Me.exec(e) != null;
411
+ };
412
+ function Ne(e) {
413
+ return e !== void 0;
414
+ }
415
+ var B = [
416
+ "hasOwnProperty",
417
+ "toString",
418
+ "valueOf",
419
+ "__defineGetter__",
420
+ "__defineSetter__",
421
+ "__lookupGetter__",
422
+ "__lookupSetter__"
423
+ ], Pe = [
424
+ "__proto__",
425
+ "constructor",
426
+ "prototype"
427
+ ], Fe = {
428
+ allowBooleanAttributes: !1,
429
+ unpairedTags: []
430
+ };
431
+ function Ie(e, t) {
432
+ t = Object.assign({}, Fe, t);
433
+ let n = [], r = !1, i = !1;
434
+ e[0] === "" && (e = e.substr(1));
435
+ for (let a = 0; a < e.length; a++) if (e[a] === "<" && e[a + 1] === "?") {
436
+ if (a += 2, a = Re(e, a), a.err) return a;
437
+ } else if (e[a] === "<") {
438
+ let o = a;
439
+ if (a++, e[a] === "!") {
440
+ a = V(e, a);
441
+ continue;
442
+ } else {
443
+ let s = !1;
444
+ e[a] === "/" && (s = !0, a++);
445
+ let c = "";
446
+ for (; a < e.length && e[a] !== ">" && e[a] !== " " && e[a] !== " " && e[a] !== "\n" && e[a] !== "\r"; a++) c += e[a];
447
+ if (c = c.trim(), c[c.length - 1] === "/" && (c = c.substring(0, c.length - 1), a--), !qe(c)) {
448
+ let t;
449
+ return t = c.trim().length === 0 ? "Invalid space after '<'." : "Tag '" + c + "' is an invalid name.", H("InvalidTag", t, U(e, a));
450
+ }
451
+ let l = Ve(e, a);
452
+ if (l === !1) return H("InvalidAttr", "Attributes for '" + c + "' have open quote.", U(e, a));
453
+ let u = l.value;
454
+ if (a = l.index, u[u.length - 1] === "/") {
455
+ let n = a - u.length;
456
+ u = u.substring(0, u.length - 1);
457
+ let i = Ue(u, t);
458
+ if (i === !0) r = !0;
459
+ else return H(i.err.code, i.err.msg, U(e, n + i.err.line));
460
+ } else if (s) {
461
+ if (!l.tagClosed) return H("InvalidTag", "Closing tag '" + c + "' doesn't have proper closing.", U(e, a));
462
+ if (u.trim().length > 0) return H("InvalidTag", "Closing tag '" + c + "' can't have attributes or invalid starting.", U(e, o));
463
+ if (n.length === 0) return H("InvalidTag", "Closing tag '" + c + "' has not been opened.", U(e, o));
464
+ {
465
+ let t = n.pop();
466
+ if (c !== t.tagName) {
467
+ let n = U(e, t.tagStartPos);
468
+ return H("InvalidTag", "Expected closing tag '" + t.tagName + "' (opened in line " + n.line + ", col " + n.col + ") instead of closing tag '" + c + "'.", U(e, o));
469
+ }
470
+ n.length == 0 && (i = !0);
471
+ }
472
+ } else {
473
+ let s = Ue(u, t);
474
+ if (s !== !0) return H(s.err.code, s.err.msg, U(e, a - u.length + s.err.line));
475
+ if (i === !0) return H("InvalidXml", "Multiple possible root nodes found.", U(e, a));
476
+ t.unpairedTags.indexOf(c) !== -1 || n.push({
477
+ tagName: c,
478
+ tagStartPos: o
479
+ }), r = !0;
480
+ }
481
+ for (a++; a < e.length; a++) if (e[a] === "<") if (e[a + 1] === "!") {
482
+ a++, a = V(e, a);
483
+ continue;
484
+ } else if (e[a + 1] === "?") {
485
+ if (a = Re(e, ++a), a.err) return a;
486
+ } else break;
487
+ else if (e[a] === "&") {
488
+ let t = Ge(e, a);
489
+ if (t == -1) return H("InvalidChar", "char '&' is not expected.", U(e, a));
490
+ a = t;
491
+ } else if (i === !0 && !Le(e[a])) return H("InvalidXml", "Extra text at the end", U(e, a));
492
+ e[a] === "<" && a--;
493
+ }
494
+ } else {
495
+ if (Le(e[a])) continue;
496
+ return H("InvalidChar", "char '" + e[a] + "' is not expected.", U(e, a));
497
+ }
498
+ return r ? n.length == 1 ? H("InvalidTag", "Unclosed tag '" + n[0].tagName + "'.", U(e, n[0].tagStartPos)) : n.length > 0 ? H("InvalidXml", "Invalid '" + JSON.stringify(n.map((e) => e.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", {
499
+ line: 1,
500
+ col: 1
501
+ }) : !0 : H("InvalidXml", "Start tag expected.", 1);
502
+ }
503
+ function Le(e) {
504
+ return e === " " || e === " " || e === "\n" || e === "\r";
505
+ }
506
+ function Re(e, t) {
507
+ let n = t;
508
+ for (; t < e.length; t++) if (e[t] == "?" || e[t] == " ") {
509
+ let r = e.substr(n, t - n);
510
+ if (t > 5 && r === "xml") return H("InvalidXml", "XML declaration allowed only at the start of the document.", U(e, t));
511
+ if (e[t] == "?" && e[t + 1] == ">") {
512
+ t++;
513
+ break;
514
+ } else continue;
515
+ }
516
+ return t;
517
+ }
518
+ function V(e, t) {
519
+ if (e.length > t + 5 && e[t + 1] === "-" && e[t + 2] === "-") {
520
+ for (t += 3; t < e.length; t++) if (e[t] === "-" && e[t + 1] === "-" && e[t + 2] === ">") {
521
+ t += 2;
522
+ break;
523
+ }
524
+ } else if (e.length > t + 8 && e[t + 1] === "D" && e[t + 2] === "O" && e[t + 3] === "C" && e[t + 4] === "T" && e[t + 5] === "Y" && e[t + 6] === "P" && e[t + 7] === "E") {
525
+ let n = 1;
526
+ for (t += 8; t < e.length; t++) if (e[t] === "<") n++;
527
+ else if (e[t] === ">" && (n--, n === 0)) break;
528
+ } else if (e.length > t + 9 && e[t + 1] === "[" && e[t + 2] === "C" && e[t + 3] === "D" && e[t + 4] === "A" && e[t + 5] === "T" && e[t + 6] === "A" && e[t + 7] === "[") {
529
+ for (t += 8; t < e.length; t++) if (e[t] === "]" && e[t + 1] === "]" && e[t + 2] === ">") {
530
+ t += 2;
531
+ break;
532
+ }
533
+ }
534
+ return t;
535
+ }
536
+ var ze = "\"", Be = "'";
537
+ function Ve(e, t) {
538
+ let n = "", r = "", i = !1;
539
+ for (; t < e.length; t++) {
540
+ if (e[t] === ze || e[t] === Be) r === "" ? r = e[t] : r !== e[t] || (r = "");
541
+ else if (e[t] === ">" && r === "") {
542
+ i = !0;
543
+ break;
544
+ }
545
+ n += e[t];
546
+ }
547
+ return r === "" ? {
548
+ value: n,
549
+ index: t,
550
+ tagClosed: i
551
+ } : !1;
552
+ }
553
+ var He = /* @__PURE__ */ RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?", "g");
554
+ function Ue(e, t) {
555
+ let n = R(e, He), r = {};
556
+ for (let e = 0; e < n.length; e++) {
557
+ if (n[e][1].length === 0) return H("InvalidAttr", "Attribute '" + n[e][2] + "' has no space in starting.", W(n[e]));
558
+ if (n[e][3] !== void 0 && n[e][4] === void 0) return H("InvalidAttr", "Attribute '" + n[e][2] + "' is without value.", W(n[e]));
559
+ if (n[e][3] === void 0 && !t.allowBooleanAttributes) return H("InvalidAttr", "boolean attribute '" + n[e][2] + "' is not allowed.", W(n[e]));
560
+ let i = n[e][2];
561
+ if (!Ke(i)) return H("InvalidAttr", "Attribute '" + i + "' is an invalid name.", W(n[e]));
562
+ if (!Object.prototype.hasOwnProperty.call(r, i)) r[i] = 1;
563
+ else return H("InvalidAttr", "Attribute '" + i + "' is repeated.", W(n[e]));
564
+ }
565
+ return !0;
566
+ }
567
+ function We(e, t) {
568
+ let n = /\d/;
569
+ for (e[t] === "x" && (t++, n = /[\da-fA-F]/); t < e.length; t++) {
570
+ if (e[t] === ";") return t;
571
+ if (!e[t].match(n)) break;
572
+ }
573
+ return -1;
574
+ }
575
+ function Ge(e, t) {
576
+ if (t++, e[t] === ";") return -1;
577
+ if (e[t] === "#") return t++, We(e, t);
578
+ let n = 0;
579
+ for (; t < e.length; t++, n++) if (!(e[t].match(/\w/) && n < 20)) {
580
+ if (e[t] === ";") break;
581
+ return -1;
582
+ }
583
+ return t;
584
+ }
585
+ function H(e, t, n) {
586
+ return { err: {
587
+ code: e,
588
+ msg: t,
589
+ line: n.line || n,
590
+ col: n.col
591
+ } };
592
+ }
593
+ function Ke(e) {
594
+ return z(e);
595
+ }
596
+ function qe(e) {
597
+ return z(e);
598
+ }
599
+ function U(e, t) {
600
+ let n = e.substring(0, t).split(/\r?\n/);
601
+ return {
602
+ line: n.length,
603
+ col: n[n.length - 1].length + 1
604
+ };
605
+ }
606
+ function W(e) {
607
+ return e.startIndex + e[1].length;
608
+ }
609
+ //#endregion
610
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.5.9/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
611
+ var Je = (e) => B.includes(e) ? "__" + e : e, Ye = {
612
+ preserveOrder: !1,
613
+ attributeNamePrefix: "@_",
614
+ attributesGroupName: !1,
615
+ textNodeName: "#text",
616
+ ignoreAttributes: !0,
617
+ removeNSPrefix: !1,
618
+ allowBooleanAttributes: !1,
619
+ parseTagValue: !0,
620
+ parseAttributeValue: !1,
621
+ trimValues: !0,
622
+ cdataPropName: !1,
623
+ numberParseOptions: {
624
+ hex: !0,
625
+ leadingZeros: !0,
626
+ eNotation: !0
627
+ },
628
+ tagValueProcessor: function(e, t) {
629
+ return t;
630
+ },
631
+ attributeValueProcessor: function(e, t) {
632
+ return t;
633
+ },
634
+ stopNodes: [],
635
+ alwaysCreateTextNode: !1,
636
+ isArray: () => !1,
637
+ commentPropName: !1,
638
+ unpairedTags: [],
639
+ processEntities: !0,
640
+ htmlEntities: !1,
641
+ ignoreDeclaration: !1,
642
+ ignorePiTags: !1,
643
+ transformTagName: !1,
644
+ transformAttributeName: !1,
645
+ updateTag: function(e, t, n) {
646
+ return e;
647
+ },
648
+ captureMetaData: !1,
649
+ maxNestedTags: 100,
650
+ strictReservedNames: !0,
651
+ jPath: !0,
652
+ onDangerousProperty: Je
653
+ };
654
+ function Xe(e, t) {
655
+ if (typeof e != "string") return;
656
+ let n = e.toLowerCase();
657
+ if (B.some((e) => n === e.toLowerCase()) || Pe.some((e) => n === e.toLowerCase())) throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);
658
+ }
659
+ function Ze(e) {
660
+ return typeof e == "boolean" ? {
661
+ enabled: e,
662
+ maxEntitySize: 1e4,
663
+ maxExpansionDepth: 10,
664
+ maxTotalExpansions: 1e3,
665
+ maxExpandedLength: 1e5,
666
+ maxEntityCount: 100,
667
+ allowedTags: null,
668
+ tagFilter: null
669
+ } : typeof e == "object" && e ? {
670
+ enabled: e.enabled !== !1,
671
+ maxEntitySize: Math.max(1, e.maxEntitySize ?? 1e4),
672
+ maxExpansionDepth: Math.max(1, e.maxExpansionDepth ?? 10),
673
+ maxTotalExpansions: Math.max(1, e.maxTotalExpansions ?? 1e3),
674
+ maxExpandedLength: Math.max(1, e.maxExpandedLength ?? 1e5),
675
+ maxEntityCount: Math.max(1, e.maxEntityCount ?? 100),
676
+ allowedTags: e.allowedTags ?? null,
677
+ tagFilter: e.tagFilter ?? null
678
+ } : Ze(!0);
679
+ }
680
+ var Qe = function(e) {
681
+ let t = Object.assign({}, Ye, e), n = [
682
+ {
683
+ value: t.attributeNamePrefix,
684
+ name: "attributeNamePrefix"
685
+ },
686
+ {
687
+ value: t.attributesGroupName,
688
+ name: "attributesGroupName"
689
+ },
690
+ {
691
+ value: t.textNodeName,
692
+ name: "textNodeName"
693
+ },
694
+ {
695
+ value: t.cdataPropName,
696
+ name: "cdataPropName"
697
+ },
698
+ {
699
+ value: t.commentPropName,
700
+ name: "commentPropName"
701
+ }
702
+ ];
703
+ for (let { value: e, name: t } of n) e && Xe(e, t);
704
+ return t.onDangerousProperty === null && (t.onDangerousProperty = Je), t.processEntities = Ze(t.processEntities), t.stopNodes && Array.isArray(t.stopNodes) && (t.stopNodes = t.stopNodes.map((e) => typeof e == "string" && e.startsWith("*.") ? ".." + e.substring(2) : e)), t;
705
+ }, $e = typeof Symbol == "function" ? Symbol("XML Node Metadata") : "@@xmlMetadata", G = class {
706
+ constructor(e) {
707
+ this.tagname = e, this.child = [], this[":@"] = Object.create(null);
708
+ }
709
+ add(e, t) {
710
+ e === "__proto__" && (e = "#__proto__"), this.child.push({ [e]: t });
711
+ }
712
+ addChild(e, t) {
713
+ e.tagname === "__proto__" && (e.tagname = "#__proto__"), e[":@"] && Object.keys(e[":@"]).length > 0 ? this.child.push({
714
+ [e.tagname]: e.child,
715
+ ":@": e[":@"]
716
+ }) : this.child.push({ [e.tagname]: e.child }), t !== void 0 && (this.child[this.child.length - 1][$e] = { startIndex: t });
717
+ }
718
+ static getMetaDataSymbol() {
719
+ return $e;
720
+ }
721
+ }, et = class {
722
+ constructor(e) {
723
+ this.suppressValidationErr = !e, this.options = e;
724
+ }
725
+ readDocType(e, t) {
726
+ let n = Object.create(null), r = 0;
727
+ if (e[t + 3] === "O" && e[t + 4] === "C" && e[t + 5] === "T" && e[t + 6] === "Y" && e[t + 7] === "P" && e[t + 8] === "E") {
728
+ t += 9;
729
+ let i = 1, a = !1, o = !1, s = "";
730
+ for (; t < e.length; t++) if (e[t] === "<" && !o) {
731
+ if (a && q(e, "!ENTITY", t)) {
732
+ t += 7;
733
+ let i, a;
734
+ if ([i, a, t] = this.readEntityExp(e, t + 1, this.suppressValidationErr), a.indexOf("&") === -1) {
735
+ if (this.options.enabled !== !1 && this.options.maxEntityCount != null && r >= this.options.maxEntityCount) throw Error(`Entity count (${r + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`);
736
+ let e = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
737
+ n[i] = {
738
+ regx: RegExp(`&${e};`, "g"),
739
+ val: a
740
+ }, r++;
741
+ }
742
+ } else if (a && q(e, "!ELEMENT", t)) {
743
+ t += 8;
744
+ let { index: n } = this.readElementExp(e, t + 1);
745
+ t = n;
746
+ } else if (a && q(e, "!ATTLIST", t)) t += 8;
747
+ else if (a && q(e, "!NOTATION", t)) {
748
+ t += 9;
749
+ let { index: n } = this.readNotationExp(e, t + 1, this.suppressValidationErr);
750
+ t = n;
751
+ } else if (q(e, "!--", t)) o = !0;
752
+ else throw Error("Invalid DOCTYPE");
753
+ i++, s = "";
754
+ } else if (e[t] === ">") {
755
+ if (o ? e[t - 1] === "-" && e[t - 2] === "-" && (o = !1, i--) : i--, i === 0) break;
756
+ } else e[t] === "[" ? a = !0 : s += e[t];
757
+ if (i !== 0) throw Error("Unclosed DOCTYPE");
758
+ } else throw Error("Invalid Tag instead of DOCTYPE");
759
+ return {
760
+ entities: n,
761
+ i: t
762
+ };
763
+ }
764
+ readEntityExp(e, t) {
765
+ t = K(e, t);
766
+ let n = t;
767
+ for (; t < e.length && !/\s/.test(e[t]) && e[t] !== "\"" && e[t] !== "'";) t++;
768
+ let r = e.substring(n, t);
769
+ if (J(r), t = K(e, t), !this.suppressValidationErr) {
770
+ if (e.substring(t, t + 6).toUpperCase() === "SYSTEM") throw Error("External entities are not supported");
771
+ if (e[t] === "%") throw Error("Parameter entities are not supported");
772
+ }
773
+ let i = "";
774
+ if ([t, i] = this.readIdentifierVal(e, t, "entity"), this.options.enabled !== !1 && this.options.maxEntitySize != null && i.length > this.options.maxEntitySize) throw Error(`Entity "${r}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);
775
+ return t--, [
776
+ r,
777
+ i,
778
+ t
779
+ ];
780
+ }
781
+ readNotationExp(e, t) {
782
+ t = K(e, t);
783
+ let n = t;
784
+ for (; t < e.length && !/\s/.test(e[t]);) t++;
785
+ let r = e.substring(n, t);
786
+ !this.suppressValidationErr && J(r), t = K(e, t);
787
+ let i = e.substring(t, t + 6).toUpperCase();
788
+ if (!this.suppressValidationErr && i !== "SYSTEM" && i !== "PUBLIC") throw Error(`Expected SYSTEM or PUBLIC, found "${i}"`);
789
+ t += i.length, t = K(e, t);
790
+ let a = null, o = null;
791
+ if (i === "PUBLIC") [t, a] = this.readIdentifierVal(e, t, "publicIdentifier"), t = K(e, t), (e[t] === "\"" || e[t] === "'") && ([t, o] = this.readIdentifierVal(e, t, "systemIdentifier"));
792
+ else if (i === "SYSTEM" && ([t, o] = this.readIdentifierVal(e, t, "systemIdentifier"), !this.suppressValidationErr && !o)) throw Error("Missing mandatory system identifier for SYSTEM notation");
793
+ return {
794
+ notationName: r,
795
+ publicIdentifier: a,
796
+ systemIdentifier: o,
797
+ index: --t
798
+ };
799
+ }
800
+ readIdentifierVal(e, t, n) {
801
+ let r = "", i = e[t];
802
+ if (i !== "\"" && i !== "'") throw Error(`Expected quoted string, found "${i}"`);
803
+ t++;
804
+ let a = t;
805
+ for (; t < e.length && e[t] !== i;) t++;
806
+ if (r = e.substring(a, t), e[t] !== i) throw Error(`Unterminated ${n} value`);
807
+ return t++, [t, r];
808
+ }
809
+ readElementExp(e, t) {
810
+ t = K(e, t);
811
+ let n = t;
812
+ for (; t < e.length && !/\s/.test(e[t]);) t++;
813
+ let r = e.substring(n, t);
814
+ if (!this.suppressValidationErr && !z(r)) throw Error(`Invalid element name: "${r}"`);
815
+ t = K(e, t);
816
+ let i = "";
817
+ if (e[t] === "E" && q(e, "MPTY", t)) t += 4;
818
+ else if (e[t] === "A" && q(e, "NY", t)) t += 2;
819
+ else if (e[t] === "(") {
820
+ t++;
821
+ let n = t;
822
+ for (; t < e.length && e[t] !== ")";) t++;
823
+ if (i = e.substring(n, t), e[t] !== ")") throw Error("Unterminated content model");
824
+ } else if (!this.suppressValidationErr) throw Error(`Invalid Element Expression, found "${e[t]}"`);
825
+ return {
826
+ elementName: r,
827
+ contentModel: i.trim(),
828
+ index: t
829
+ };
830
+ }
831
+ readAttlistExp(e, t) {
832
+ t = K(e, t);
833
+ let n = t;
834
+ for (; t < e.length && !/\s/.test(e[t]);) t++;
835
+ let r = e.substring(n, t);
836
+ for (J(r), t = K(e, t), n = t; t < e.length && !/\s/.test(e[t]);) t++;
837
+ let i = e.substring(n, t);
838
+ if (!J(i)) throw Error(`Invalid attribute name: "${i}"`);
839
+ t = K(e, t);
840
+ let a = "";
841
+ if (e.substring(t, t + 8).toUpperCase() === "NOTATION") {
842
+ if (a = "NOTATION", t += 8, t = K(e, t), e[t] !== "(") throw Error(`Expected '(', found "${e[t]}"`);
843
+ t++;
844
+ let n = [];
845
+ for (; t < e.length && e[t] !== ")";) {
846
+ let r = t;
847
+ for (; t < e.length && e[t] !== "|" && e[t] !== ")";) t++;
848
+ let i = e.substring(r, t);
849
+ if (i = i.trim(), !J(i)) throw Error(`Invalid notation name: "${i}"`);
850
+ n.push(i), e[t] === "|" && (t++, t = K(e, t));
851
+ }
852
+ if (e[t] !== ")") throw Error("Unterminated list of notations");
853
+ t++, a += " (" + n.join("|") + ")";
854
+ } else {
855
+ let n = t;
856
+ for (; t < e.length && !/\s/.test(e[t]);) t++;
857
+ if (a += e.substring(n, t), !this.suppressValidationErr && ![
858
+ "CDATA",
859
+ "ID",
860
+ "IDREF",
861
+ "IDREFS",
862
+ "ENTITY",
863
+ "ENTITIES",
864
+ "NMTOKEN",
865
+ "NMTOKENS"
866
+ ].includes(a.toUpperCase())) throw Error(`Invalid attribute type: "${a}"`);
867
+ }
868
+ t = K(e, t);
869
+ let o = "";
870
+ return e.substring(t, t + 8).toUpperCase() === "#REQUIRED" ? (o = "#REQUIRED", t += 8) : e.substring(t, t + 7).toUpperCase() === "#IMPLIED" ? (o = "#IMPLIED", t += 7) : [t, o] = this.readIdentifierVal(e, t, "ATTLIST"), {
871
+ elementName: r,
872
+ attributeName: i,
873
+ attributeType: a,
874
+ defaultValue: o,
875
+ index: t
876
+ };
877
+ }
878
+ }, K = (e, t) => {
879
+ for (; t < e.length && /\s/.test(e[t]);) t++;
880
+ return t;
881
+ };
882
+ function q(e, t, n) {
883
+ for (let r = 0; r < t.length; r++) if (t[r] !== e[n + r + 1]) return !1;
884
+ return !0;
885
+ }
886
+ function J(e) {
887
+ if (z(e)) return e;
888
+ throw Error(`Invalid entity name ${e}`);
889
+ }
890
+ //#endregion
891
+ //#region ../../node_modules/.pnpm/strnum@2.2.2/node_modules/strnum/strnum.js
892
+ var tt = /^[-+]?0x[a-fA-F0-9]+$/, nt = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, rt = {
893
+ hex: !0,
894
+ leadingZeros: !0,
895
+ decimalPoint: ".",
896
+ eNotation: !0,
897
+ infinity: "original"
898
+ };
899
+ function it(e, t = {}) {
900
+ if (t = Object.assign({}, rt, t), !e || typeof e != "string") return e;
901
+ let n = e.trim();
902
+ if (n.length === 0 || t.skipLike !== void 0 && t.skipLike.test(n)) return e;
903
+ if (n === "0") return 0;
904
+ if (t.hex && tt.test(n)) return ct(n, 16);
905
+ if (!isFinite(n)) return lt(e, Number(n), t);
906
+ if (n.includes("e") || n.includes("E")) return ot(e, n, t);
907
+ {
908
+ let r = nt.exec(n);
909
+ if (r) {
910
+ let i = r[1] || "", a = r[2], o = st(r[3]), s = i ? e[a.length + 1] === "." : e[a.length] === ".";
911
+ if (!t.leadingZeros && (a.length > 1 || a.length === 1 && !s)) return e;
912
+ {
913
+ let r = Number(n), s = String(r);
914
+ if (r === 0) return r;
915
+ if (s.search(/[eE]/) !== -1) return t.eNotation ? r : e;
916
+ if (n.indexOf(".") !== -1) return s === "0" || s === o || s === `${i}${o}` ? r : e;
917
+ let c = a ? o : n;
918
+ return a ? c === s || i + c === s ? r : e : c === s || c === i + s ? r : e;
919
+ }
920
+ } else return e;
921
+ }
922
+ }
923
+ var at = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
924
+ function ot(e, t, n) {
925
+ if (!n.eNotation) return e;
926
+ let r = t.match(at);
927
+ if (r) {
928
+ let i = r[1] || "", a = r[3].indexOf("e") === -1 ? "E" : "e", o = r[2], s = i ? e[o.length + 1] === a : e[o.length] === a;
929
+ return o.length > 1 && s ? e : o.length === 1 && (r[3].startsWith(`.${a}`) || r[3][0] === a) ? Number(t) : o.length > 0 ? n.leadingZeros && !s ? (t = (r[1] || "") + r[3], Number(t)) : e : Number(t);
930
+ } else return e;
931
+ }
932
+ function st(e) {
933
+ return e && e.indexOf(".") !== -1 ? (e = e.replace(/0+$/, ""), e === "." ? e = "0" : e[0] === "." ? e = "0" + e : e[e.length - 1] === "." && (e = e.substring(0, e.length - 1)), e) : e;
934
+ }
935
+ function ct(e, t) {
936
+ if (parseInt) return parseInt(e, t);
937
+ if (Number.parseInt) return Number.parseInt(e, t);
938
+ if (window && window.parseInt) return window.parseInt(e, t);
939
+ throw Error("parseInt, Number.parseInt, window.parseInt are not supported");
940
+ }
941
+ function lt(e, t, n) {
942
+ let r = t === Infinity;
943
+ switch (n.infinity.toLowerCase()) {
944
+ case "null": return null;
945
+ case "infinity": return t;
946
+ case "string": return r ? "Infinity" : "-Infinity";
947
+ default: return e;
948
+ }
949
+ }
950
+ //#endregion
951
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.5.9/node_modules/fast-xml-parser/src/ignoreAttributes.js
952
+ function ut(e) {
953
+ return typeof e == "function" ? e : Array.isArray(e) ? (t) => {
954
+ for (let n of e) if (typeof n == "string" && t === n || n instanceof RegExp && n.test(t)) return !0;
955
+ } : () => !1;
956
+ }
957
+ //#endregion
958
+ //#region ../../node_modules/.pnpm/path-expression-matcher@1.2.0/node_modules/path-expression-matcher/src/Expression.js
959
+ var Y = class {
960
+ constructor(e, t = {}) {
961
+ this.pattern = e, this.separator = t.separator || ".", this.segments = this._parse(e), this._hasDeepWildcard = this.segments.some((e) => e.type === "deep-wildcard"), this._hasAttributeCondition = this.segments.some((e) => e.attrName !== void 0), this._hasPositionSelector = this.segments.some((e) => e.position !== void 0);
962
+ }
963
+ _parse(e) {
964
+ let t = [], n = 0, r = "";
965
+ for (; n < e.length;) e[n] === this.separator ? n + 1 < e.length && e[n + 1] === this.separator ? (r.trim() && (t.push(this._parseSegment(r.trim())), r = ""), t.push({ type: "deep-wildcard" }), n += 2) : (r.trim() && t.push(this._parseSegment(r.trim())), r = "", n++) : (r += e[n], n++);
966
+ return r.trim() && t.push(this._parseSegment(r.trim())), t;
967
+ }
968
+ _parseSegment(e) {
969
+ let t = { type: "tag" }, n = null, r = e, i = e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);
970
+ if (i && (r = i[1] + i[3], i[2])) {
971
+ let e = i[2].slice(1, -1);
972
+ e && (n = e);
973
+ }
974
+ let a, o = r;
975
+ if (r.includes("::")) {
976
+ let t = r.indexOf("::");
977
+ if (a = r.substring(0, t).trim(), o = r.substring(t + 2).trim(), !a) throw Error(`Invalid namespace in pattern: ${e}`);
978
+ }
979
+ let s, c = null;
980
+ if (o.includes(":")) {
981
+ let e = o.lastIndexOf(":"), t = o.substring(0, e).trim(), n = o.substring(e + 1).trim();
982
+ [
983
+ "first",
984
+ "last",
985
+ "odd",
986
+ "even"
987
+ ].includes(n) || /^nth\(\d+\)$/.test(n) ? (s = t, c = n) : s = o;
988
+ } else s = o;
989
+ if (!s) throw Error(`Invalid segment pattern: ${e}`);
990
+ if (t.tag = s, a && (t.namespace = a), n) if (n.includes("=")) {
991
+ let e = n.indexOf("=");
992
+ t.attrName = n.substring(0, e).trim(), t.attrValue = n.substring(e + 1).trim();
993
+ } else t.attrName = n.trim();
994
+ if (c) {
995
+ let e = c.match(/^nth\((\d+)\)$/);
996
+ e ? (t.position = "nth", t.positionValue = parseInt(e[1], 10)) : t.position = c;
997
+ }
998
+ return t;
999
+ }
1000
+ get length() {
1001
+ return this.segments.length;
1002
+ }
1003
+ hasDeepWildcard() {
1004
+ return this._hasDeepWildcard;
1005
+ }
1006
+ hasAttributeCondition() {
1007
+ return this._hasAttributeCondition;
1008
+ }
1009
+ hasPositionSelector() {
1010
+ return this._hasPositionSelector;
1011
+ }
1012
+ toString() {
1013
+ return this.pattern;
1014
+ }
1015
+ }, dt = new Set([
1016
+ "push",
1017
+ "pop",
1018
+ "reset",
1019
+ "updateCurrent",
1020
+ "restore"
1021
+ ]), ft = class {
1022
+ constructor(e = {}) {
1023
+ this.separator = e.separator || ".", this.path = [], this.siblingStacks = [];
1024
+ }
1025
+ push(e, t = null, n = null) {
1026
+ if (this.path.length > 0) {
1027
+ let e = this.path[this.path.length - 1];
1028
+ e.values = void 0;
1029
+ }
1030
+ let r = this.path.length;
1031
+ this.siblingStacks[r] || (this.siblingStacks[r] = /* @__PURE__ */ new Map());
1032
+ let i = this.siblingStacks[r], a = n ? `${n}:${e}` : e, o = i.get(a) || 0, s = 0;
1033
+ for (let e of i.values()) s += e;
1034
+ i.set(a, o + 1);
1035
+ let c = {
1036
+ tag: e,
1037
+ position: s,
1038
+ counter: o
1039
+ };
1040
+ n != null && (c.namespace = n), t != null && (c.values = t), this.path.push(c);
1041
+ }
1042
+ pop() {
1043
+ if (this.path.length === 0) return;
1044
+ let e = this.path.pop();
1045
+ return this.siblingStacks.length > this.path.length + 1 && (this.siblingStacks.length = this.path.length + 1), e;
1046
+ }
1047
+ updateCurrent(e) {
1048
+ if (this.path.length > 0) {
1049
+ let t = this.path[this.path.length - 1];
1050
+ e != null && (t.values = e);
1051
+ }
1052
+ }
1053
+ getCurrentTag() {
1054
+ return this.path.length > 0 ? this.path[this.path.length - 1].tag : void 0;
1055
+ }
1056
+ getCurrentNamespace() {
1057
+ return this.path.length > 0 ? this.path[this.path.length - 1].namespace : void 0;
1058
+ }
1059
+ getAttrValue(e) {
1060
+ if (this.path.length !== 0) return this.path[this.path.length - 1].values?.[e];
1061
+ }
1062
+ hasAttr(e) {
1063
+ if (this.path.length === 0) return !1;
1064
+ let t = this.path[this.path.length - 1];
1065
+ return t.values !== void 0 && e in t.values;
1066
+ }
1067
+ getPosition() {
1068
+ return this.path.length === 0 ? -1 : this.path[this.path.length - 1].position ?? 0;
1069
+ }
1070
+ getCounter() {
1071
+ return this.path.length === 0 ? -1 : this.path[this.path.length - 1].counter ?? 0;
1072
+ }
1073
+ getIndex() {
1074
+ return this.getPosition();
1075
+ }
1076
+ getDepth() {
1077
+ return this.path.length;
1078
+ }
1079
+ toString(e, t = !0) {
1080
+ let n = e || this.separator;
1081
+ return this.path.map((e) => t && e.namespace ? `${e.namespace}:${e.tag}` : e.tag).join(n);
1082
+ }
1083
+ toArray() {
1084
+ return this.path.map((e) => e.tag);
1085
+ }
1086
+ reset() {
1087
+ this.path = [], this.siblingStacks = [];
1088
+ }
1089
+ matches(e) {
1090
+ let t = e.segments;
1091
+ return t.length === 0 ? !1 : e.hasDeepWildcard() ? this._matchWithDeepWildcard(t) : this._matchSimple(t);
1092
+ }
1093
+ _matchSimple(e) {
1094
+ if (this.path.length !== e.length) return !1;
1095
+ for (let t = 0; t < e.length; t++) {
1096
+ let n = e[t], r = this.path[t], i = t === this.path.length - 1;
1097
+ if (!this._matchSegment(n, r, i)) return !1;
1098
+ }
1099
+ return !0;
1100
+ }
1101
+ _matchWithDeepWildcard(e) {
1102
+ let t = this.path.length - 1, n = e.length - 1;
1103
+ for (; n >= 0 && t >= 0;) {
1104
+ let r = e[n];
1105
+ if (r.type === "deep-wildcard") {
1106
+ if (n--, n < 0) return !0;
1107
+ let r = e[n], i = !1;
1108
+ for (let e = t; e >= 0; e--) {
1109
+ let a = e === this.path.length - 1;
1110
+ if (this._matchSegment(r, this.path[e], a)) {
1111
+ t = e - 1, n--, i = !0;
1112
+ break;
1113
+ }
1114
+ }
1115
+ if (!i) return !1;
1116
+ } else {
1117
+ let e = t === this.path.length - 1;
1118
+ if (!this._matchSegment(r, this.path[t], e)) return !1;
1119
+ t--, n--;
1120
+ }
1121
+ }
1122
+ return n < 0;
1123
+ }
1124
+ _matchSegment(e, t, n) {
1125
+ if (e.tag !== "*" && e.tag !== t.tag || e.namespace !== void 0 && e.namespace !== "*" && e.namespace !== t.namespace) return !1;
1126
+ if (e.attrName !== void 0) {
1127
+ if (!n || !t.values || !(e.attrName in t.values)) return !1;
1128
+ if (e.attrValue !== void 0) {
1129
+ let n = t.values[e.attrName];
1130
+ if (String(n) !== String(e.attrValue)) return !1;
1131
+ }
1132
+ }
1133
+ if (e.position !== void 0) {
1134
+ if (!n) return !1;
1135
+ let r = t.counter ?? 0;
1136
+ if (e.position === "first" && r !== 0 || e.position === "odd" && r % 2 != 1 || e.position === "even" && r % 2 != 0 || e.position === "nth" && r !== e.positionValue) return !1;
1137
+ }
1138
+ return !0;
1139
+ }
1140
+ snapshot() {
1141
+ return {
1142
+ path: this.path.map((e) => ({ ...e })),
1143
+ siblingStacks: this.siblingStacks.map((e) => new Map(e))
1144
+ };
1145
+ }
1146
+ restore(e) {
1147
+ this.path = e.path.map((e) => ({ ...e })), this.siblingStacks = e.siblingStacks.map((e) => new Map(e));
1148
+ }
1149
+ readOnly() {
1150
+ return new Proxy(this, {
1151
+ get(e, t, n) {
1152
+ if (dt.has(t)) return () => {
1153
+ throw TypeError(`Cannot call '${t}' on a read-only Matcher. Obtain a writable instance to mutate state.`);
1154
+ };
1155
+ let r = Reflect.get(e, t, n);
1156
+ return t === "path" || t === "siblingStacks" ? Object.freeze(Array.isArray(r) ? r.map((e) => e instanceof Map ? Object.freeze(new Map(e)) : Object.freeze({ ...e })) : r) : typeof r == "function" ? r.bind(e) : r;
1157
+ },
1158
+ set(e, t) {
1159
+ throw TypeError(`Cannot set property '${String(t)}' on a read-only Matcher.`);
1160
+ },
1161
+ deleteProperty(e, t) {
1162
+ throw TypeError(`Cannot delete property '${String(t)}' from a read-only Matcher.`);
1163
+ }
1164
+ });
1165
+ }
1166
+ };
1167
+ //#endregion
1168
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.5.9/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
1169
+ function pt(e, t) {
1170
+ if (!e) return {};
1171
+ let n = t.attributesGroupName ? e[t.attributesGroupName] : e;
1172
+ if (!n) return {};
1173
+ let r = {};
1174
+ for (let e in n) if (e.startsWith(t.attributeNamePrefix)) {
1175
+ let i = e.substring(t.attributeNamePrefix.length);
1176
+ r[i] = n[e];
1177
+ } else r[e] = n[e];
1178
+ return r;
1179
+ }
1180
+ function mt(e) {
1181
+ if (!e || typeof e != "string") return;
1182
+ let t = e.indexOf(":");
1183
+ if (t !== -1 && t > 0) {
1184
+ let n = e.substring(0, t);
1185
+ if (n !== "xmlns") return n;
1186
+ }
1187
+ }
1188
+ var ht = class {
1189
+ constructor(e) {
1190
+ if (this.options = e, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = {
1191
+ apos: {
1192
+ regex: /&(apos|#39|#x27);/g,
1193
+ val: "'"
1194
+ },
1195
+ gt: {
1196
+ regex: /&(gt|#62|#x3E);/g,
1197
+ val: ">"
1198
+ },
1199
+ lt: {
1200
+ regex: /&(lt|#60|#x3C);/g,
1201
+ val: "<"
1202
+ },
1203
+ quot: {
1204
+ regex: /&(quot|#34|#x22);/g,
1205
+ val: "\""
1206
+ }
1207
+ }, this.ampEntity = {
1208
+ regex: /&(amp|#38|#x26);/g,
1209
+ val: "&"
1210
+ }, this.htmlEntities = {
1211
+ space: {
1212
+ regex: /&(nbsp|#160);/g,
1213
+ val: " "
1214
+ },
1215
+ cent: {
1216
+ regex: /&(cent|#162);/g,
1217
+ val: "¢"
1218
+ },
1219
+ pound: {
1220
+ regex: /&(pound|#163);/g,
1221
+ val: "£"
1222
+ },
1223
+ yen: {
1224
+ regex: /&(yen|#165);/g,
1225
+ val: "¥"
1226
+ },
1227
+ euro: {
1228
+ regex: /&(euro|#8364);/g,
1229
+ val: "€"
1230
+ },
1231
+ copyright: {
1232
+ regex: /&(copy|#169);/g,
1233
+ val: "©"
1234
+ },
1235
+ reg: {
1236
+ regex: /&(reg|#174);/g,
1237
+ val: "®"
1238
+ },
1239
+ inr: {
1240
+ regex: /&(inr|#8377);/g,
1241
+ val: "₹"
1242
+ },
1243
+ num_dec: {
1244
+ regex: /&#([0-9]{1,7});/g,
1245
+ val: (e, t) => kt(t, 10, "&#")
1246
+ },
1247
+ num_hex: {
1248
+ regex: /&#x([0-9a-fA-F]{1,6});/g,
1249
+ val: (e, t) => kt(t, 16, "&#x")
1250
+ }
1251
+ }, this.addExternalEntities = gt, this.parseXml = xt, this.parseTextData = _t, this.resolveNameSpace = vt, this.buildAttributesMap = bt, this.isItStopNode = Tt, this.replaceEntitiesValue = Ct, this.readStopNodeData = Dt, this.saveTextToParentTag = wt, this.addChild = St, this.ignoreAttributesFn = ut(this.options.ignoreAttributes), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.matcher = new ft(), this.readonlyMatcher = this.matcher.readOnly(), this.isCurrentNodeStopNode = !1, this.options.stopNodes && this.options.stopNodes.length > 0) {
1252
+ this.stopNodeExpressions = [];
1253
+ for (let e = 0; e < this.options.stopNodes.length; e++) {
1254
+ let t = this.options.stopNodes[e];
1255
+ typeof t == "string" ? this.stopNodeExpressions.push(new Y(t)) : t instanceof Y && this.stopNodeExpressions.push(t);
1256
+ }
1257
+ }
1258
+ }
1259
+ };
1260
+ function gt(e) {
1261
+ let t = Object.keys(e);
1262
+ for (let n = 0; n < t.length; n++) {
1263
+ let r = t[n], i = r.replace(/[.\-+*:]/g, "\\.");
1264
+ this.lastEntities[r] = {
1265
+ regex: RegExp("&" + i + ";", "g"),
1266
+ val: e[r]
1267
+ };
1268
+ }
1269
+ }
1270
+ function _t(e, t, n, r, i, a, o) {
1271
+ if (e !== void 0 && (this.options.trimValues && !r && (e = e.trim()), e.length > 0)) {
1272
+ o || (e = this.replaceEntitiesValue(e, t, n));
1273
+ let r = this.options.jPath ? n.toString() : n, s = this.options.tagValueProcessor(t, e, r, i, a);
1274
+ return s == null ? e : typeof s != typeof e || s !== e ? s : this.options.trimValues || e.trim() === e ? Ot(e, this.options.parseTagValue, this.options.numberParseOptions) : e;
1275
+ }
1276
+ }
1277
+ function vt(e) {
1278
+ if (this.options.removeNSPrefix) {
1279
+ let t = e.split(":"), n = e.charAt(0) === "/" ? "/" : "";
1280
+ if (t[0] === "xmlns") return "";
1281
+ t.length === 2 && (e = n + t[1]);
1282
+ }
1283
+ return e;
1284
+ }
1285
+ var yt = /* @__PURE__ */ RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm");
1286
+ function bt(e, t, n) {
1287
+ if (this.options.ignoreAttributes !== !0 && typeof e == "string") {
1288
+ let r = R(e, yt), i = r.length, a = {}, o = {};
1289
+ for (let e = 0; e < i; e++) {
1290
+ let t = this.resolveNameSpace(r[e][1]), i = r[e][4];
1291
+ if (t.length && i !== void 0) {
1292
+ let e = i;
1293
+ this.options.trimValues && (e = e.trim()), e = this.replaceEntitiesValue(e, n, this.readonlyMatcher), o[t] = e;
1294
+ }
1295
+ }
1296
+ Object.keys(o).length > 0 && typeof t == "object" && t.updateCurrent && t.updateCurrent(o);
1297
+ for (let e = 0; e < i; e++) {
1298
+ let i = this.resolveNameSpace(r[e][1]), o = this.options.jPath ? t.toString() : this.readonlyMatcher;
1299
+ if (this.ignoreAttributesFn(i, o)) continue;
1300
+ let s = r[e][4], c = this.options.attributeNamePrefix + i;
1301
+ if (i.length) if (this.options.transformAttributeName && (c = this.options.transformAttributeName(c)), c = At(c, this.options), s !== void 0) {
1302
+ this.options.trimValues && (s = s.trim()), s = this.replaceEntitiesValue(s, n, this.readonlyMatcher);
1303
+ let e = this.options.jPath ? t.toString() : this.readonlyMatcher, r = this.options.attributeValueProcessor(i, s, e);
1304
+ r == null ? a[c] = s : typeof r != typeof s || r !== s ? a[c] = r : a[c] = Ot(s, this.options.parseAttributeValue, this.options.numberParseOptions);
1305
+ } else this.options.allowBooleanAttributes && (a[c] = !0);
1306
+ }
1307
+ if (!Object.keys(a).length) return;
1308
+ if (this.options.attributesGroupName) {
1309
+ let e = {};
1310
+ return e[this.options.attributesGroupName] = a, e;
1311
+ }
1312
+ return a;
1313
+ }
1314
+ }
1315
+ var xt = function(e) {
1316
+ e = e.replace(/\r\n?/g, "\n");
1317
+ let t = new G("!xml"), n = t, r = "";
1318
+ this.matcher.reset(), this.entityExpansionCount = 0, this.currentExpandedLength = 0;
1319
+ let i = new et(this.options.processEntities);
1320
+ for (let a = 0; a < e.length; a++) if (e[a] === "<") if (e[a + 1] === "/") {
1321
+ let t = X(e, ">", a, "Closing Tag is not closed."), i = e.substring(a + 2, t).trim();
1322
+ if (this.options.removeNSPrefix) {
1323
+ let e = i.indexOf(":");
1324
+ e !== -1 && (i = i.substr(e + 1));
1325
+ }
1326
+ i = Q(this.options.transformTagName, i, "", this.options).tagName, n && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher));
1327
+ let o = this.matcher.getCurrentTag();
1328
+ if (i && this.options.unpairedTags.indexOf(i) !== -1) throw Error(`Unpaired tag can not be used as closing tag: </${i}>`);
1329
+ o && this.options.unpairedTags.indexOf(o) !== -1 && (this.matcher.pop(), this.tagsNodeStack.pop()), this.matcher.pop(), this.isCurrentNodeStopNode = !1, n = this.tagsNodeStack.pop(), r = "", a = t;
1330
+ } else if (e[a + 1] === "?") {
1331
+ let t = Z(e, a, !1, "?>");
1332
+ if (!t) throw Error("Pi Tag is not closed.");
1333
+ if (r = this.saveTextToParentTag(r, n, this.readonlyMatcher), !(this.options.ignoreDeclaration && t.tagName === "?xml" || this.options.ignorePiTags)) {
1334
+ let e = new G(t.tagName);
1335
+ e.add(this.options.textNodeName, ""), t.tagName !== t.tagExp && t.attrExpPresent && (e[":@"] = this.buildAttributesMap(t.tagExp, this.matcher, t.tagName)), this.addChild(n, e, this.readonlyMatcher, a);
1336
+ }
1337
+ a = t.closeIndex + 1;
1338
+ } else if (e.substr(a + 1, 3) === "!--") {
1339
+ let t = X(e, "-->", a + 4, "Comment is not closed.");
1340
+ if (this.options.commentPropName) {
1341
+ let i = e.substring(a + 4, t - 2);
1342
+ r = this.saveTextToParentTag(r, n, this.readonlyMatcher), n.add(this.options.commentPropName, [{ [this.options.textNodeName]: i }]);
1343
+ }
1344
+ a = t;
1345
+ } else if (e.substr(a + 1, 2) === "!D") {
1346
+ let t = i.readDocType(e, a);
1347
+ this.docTypeEntities = t.entities, a = t.i;
1348
+ } else if (e.substr(a + 1, 2) === "![") {
1349
+ let t = X(e, "]]>", a, "CDATA is not closed.") - 2, i = e.substring(a + 9, t);
1350
+ r = this.saveTextToParentTag(r, n, this.readonlyMatcher);
1351
+ let o = this.parseTextData(i, n.tagname, this.readonlyMatcher, !0, !1, !0, !0);
1352
+ o ??= "", this.options.cdataPropName ? n.add(this.options.cdataPropName, [{ [this.options.textNodeName]: i }]) : n.add(this.options.textNodeName, o), a = t + 2;
1353
+ } else {
1354
+ let i = Z(e, a, this.options.removeNSPrefix);
1355
+ if (!i) {
1356
+ let t = e.substring(Math.max(0, a - 50), Math.min(e.length, a + 50));
1357
+ throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`);
1358
+ }
1359
+ let o = i.tagName, s = i.rawTagName, c = i.tagExp, l = i.attrExpPresent, u = i.closeIndex;
1360
+ if ({tagName: o, tagExp: c} = Q(this.options.transformTagName, o, c, this.options), this.options.strictReservedNames && (o === this.options.commentPropName || o === this.options.cdataPropName || o === this.options.textNodeName || o === this.options.attributesGroupName)) throw Error(`Invalid tag name: ${o}`);
1361
+ n && r && n.tagname !== "!xml" && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher, !1));
1362
+ let d = n;
1363
+ d && this.options.unpairedTags.indexOf(d.tagname) !== -1 && (n = this.tagsNodeStack.pop(), this.matcher.pop());
1364
+ let f = !1;
1365
+ c.length > 0 && c.lastIndexOf("/") === c.length - 1 && (f = !0, o[o.length - 1] === "/" ? (o = o.substr(0, o.length - 1), c = o) : c = c.substr(0, c.length - 1), l = o !== c);
1366
+ let p = null, m;
1367
+ m = mt(s), o !== t.tagname && this.matcher.push(o, {}, m), o !== c && l && (p = this.buildAttributesMap(c, this.matcher, o), p && pt(p, this.options)), o !== t.tagname && (this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher));
1368
+ let h = a;
1369
+ if (this.isCurrentNodeStopNode) {
1370
+ let t = "";
1371
+ if (f) a = i.closeIndex;
1372
+ else if (this.options.unpairedTags.indexOf(o) !== -1) a = i.closeIndex;
1373
+ else {
1374
+ let n = this.readStopNodeData(e, s, u + 1);
1375
+ if (!n) throw Error(`Unexpected end of ${s}`);
1376
+ a = n.i, t = n.tagContent;
1377
+ }
1378
+ let r = new G(o);
1379
+ p && (r[":@"] = p), r.add(this.options.textNodeName, t), this.matcher.pop(), this.isCurrentNodeStopNode = !1, this.addChild(n, r, this.readonlyMatcher, h);
1380
+ } else {
1381
+ if (f) {
1382
+ ({tagName: o, tagExp: c} = Q(this.options.transformTagName, o, c, this.options));
1383
+ let e = new G(o);
1384
+ p && (e[":@"] = p), this.addChild(n, e, this.readonlyMatcher, h), this.matcher.pop(), this.isCurrentNodeStopNode = !1;
1385
+ } else if (this.options.unpairedTags.indexOf(o) !== -1) {
1386
+ let e = new G(o);
1387
+ p && (e[":@"] = p), this.addChild(n, e, this.readonlyMatcher, h), this.matcher.pop(), this.isCurrentNodeStopNode = !1, a = i.closeIndex;
1388
+ continue;
1389
+ } else {
1390
+ let e = new G(o);
1391
+ if (this.tagsNodeStack.length > this.options.maxNestedTags) throw Error("Maximum nested tags exceeded");
1392
+ this.tagsNodeStack.push(n), p && (e[":@"] = p), this.addChild(n, e, this.readonlyMatcher, h), n = e;
1393
+ }
1394
+ r = "", a = u;
1395
+ }
1396
+ }
1397
+ else r += e[a];
1398
+ return t.child;
1399
+ };
1400
+ function St(e, t, n, r) {
1401
+ this.options.captureMetaData || (r = void 0);
1402
+ let i = this.options.jPath ? n.toString() : n, a = this.options.updateTag(t.tagname, i, t[":@"]);
1403
+ a === !1 || (typeof a == "string" && (t.tagname = a), e.addChild(t, r));
1404
+ }
1405
+ function Ct(e, t, n) {
1406
+ let r = this.options.processEntities;
1407
+ if (!r || !r.enabled) return e;
1408
+ if (r.allowedTags) {
1409
+ let i = this.options.jPath ? n.toString() : n;
1410
+ if (!(Array.isArray(r.allowedTags) ? r.allowedTags.includes(t) : r.allowedTags(t, i))) return e;
1411
+ }
1412
+ if (r.tagFilter) {
1413
+ let i = this.options.jPath ? n.toString() : n;
1414
+ if (!r.tagFilter(t, i)) return e;
1415
+ }
1416
+ for (let t of Object.keys(this.docTypeEntities)) {
1417
+ let n = this.docTypeEntities[t], i = e.match(n.regx);
1418
+ if (i) {
1419
+ if (this.entityExpansionCount += i.length, r.maxTotalExpansions && this.entityExpansionCount > r.maxTotalExpansions) throw Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${r.maxTotalExpansions}`);
1420
+ let t = e.length;
1421
+ if (e = e.replace(n.regx, n.val), r.maxExpandedLength && (this.currentExpandedLength += e.length - t, this.currentExpandedLength > r.maxExpandedLength)) throw Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${r.maxExpandedLength}`);
1422
+ }
1423
+ }
1424
+ for (let t of Object.keys(this.lastEntities)) {
1425
+ let n = this.lastEntities[t], i = e.match(n.regex);
1426
+ if (i && (this.entityExpansionCount += i.length, r.maxTotalExpansions && this.entityExpansionCount > r.maxTotalExpansions)) throw Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${r.maxTotalExpansions}`);
1427
+ e = e.replace(n.regex, n.val);
1428
+ }
1429
+ if (e.indexOf("&") === -1) return e;
1430
+ if (this.options.htmlEntities) for (let t of Object.keys(this.htmlEntities)) {
1431
+ let n = this.htmlEntities[t], i = e.match(n.regex);
1432
+ if (i && (this.entityExpansionCount += i.length, r.maxTotalExpansions && this.entityExpansionCount > r.maxTotalExpansions)) throw Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${r.maxTotalExpansions}`);
1433
+ e = e.replace(n.regex, n.val);
1434
+ }
1435
+ return e = e.replace(this.ampEntity.regex, this.ampEntity.val), e;
1436
+ }
1437
+ function wt(e, t, n, r) {
1438
+ return e &&= (r === void 0 && (r = t.child.length === 0), e = this.parseTextData(e, t.tagname, n, !1, t[":@"] ? Object.keys(t[":@"]).length !== 0 : !1, r), e !== void 0 && e !== "" && t.add(this.options.textNodeName, e), ""), e;
1439
+ }
1440
+ function Tt(e, t) {
1441
+ if (!e || e.length === 0) return !1;
1442
+ for (let n = 0; n < e.length; n++) if (t.matches(e[n])) return !0;
1443
+ return !1;
1444
+ }
1445
+ function Et(e, t, n = ">") {
1446
+ let r, i = "";
1447
+ for (let a = t; a < e.length; a++) {
1448
+ let t = e[a];
1449
+ if (r) t === r && (r = "");
1450
+ else if (t === "\"" || t === "'") r = t;
1451
+ else if (t === n[0]) if (n[1]) {
1452
+ if (e[a + 1] === n[1]) return {
1453
+ data: i,
1454
+ index: a
1455
+ };
1456
+ } else return {
1457
+ data: i,
1458
+ index: a
1459
+ };
1460
+ else t === " " && (t = " ");
1461
+ i += t;
1462
+ }
1463
+ }
1464
+ function X(e, t, n, r) {
1465
+ let i = e.indexOf(t, n);
1466
+ if (i === -1) throw Error(r);
1467
+ return i + t.length - 1;
1468
+ }
1469
+ function Z(e, t, n, r = ">") {
1470
+ let i = Et(e, t + 1, r);
1471
+ if (!i) return;
1472
+ let a = i.data, o = i.index, s = a.search(/\s/), c = a, l = !0;
1473
+ s !== -1 && (c = a.substring(0, s), a = a.substring(s + 1).trimStart());
1474
+ let u = c;
1475
+ if (n) {
1476
+ let e = c.indexOf(":");
1477
+ e !== -1 && (c = c.substr(e + 1), l = c !== i.data.substr(e + 1));
1478
+ }
1479
+ return {
1480
+ tagName: c,
1481
+ tagExp: a,
1482
+ closeIndex: o,
1483
+ attrExpPresent: l,
1484
+ rawTagName: u
1485
+ };
1486
+ }
1487
+ function Dt(e, t, n) {
1488
+ let r = n, i = 1;
1489
+ for (; n < e.length; n++) if (e[n] === "<") if (e[n + 1] === "/") {
1490
+ let a = X(e, ">", n, `${t} is not closed`);
1491
+ if (e.substring(n + 2, a).trim() === t && (i--, i === 0)) return {
1492
+ tagContent: e.substring(r, n),
1493
+ i: a
1494
+ };
1495
+ n = a;
1496
+ } else if (e[n + 1] === "?") n = X(e, "?>", n + 1, "StopNode is not closed.");
1497
+ else if (e.substr(n + 1, 3) === "!--") n = X(e, "-->", n + 3, "StopNode is not closed.");
1498
+ else if (e.substr(n + 1, 2) === "![") n = X(e, "]]>", n, "StopNode is not closed.") - 2;
1499
+ else {
1500
+ let r = Z(e, n, ">");
1501
+ r && ((r && r.tagName) === t && r.tagExp[r.tagExp.length - 1] !== "/" && i++, n = r.closeIndex);
1502
+ }
1503
+ }
1504
+ function Ot(e, t, n) {
1505
+ if (t && typeof e == "string") {
1506
+ let t = e.trim();
1507
+ return t === "true" ? !0 : t === "false" ? !1 : it(e, n);
1508
+ } else if (Ne(e)) return e;
1509
+ else return "";
1510
+ }
1511
+ function kt(e, t, n) {
1512
+ let r = Number.parseInt(e, t);
1513
+ return r >= 0 && r <= 1114111 ? String.fromCodePoint(r) : n + e + ";";
1514
+ }
1515
+ function Q(e, t, n, r) {
1516
+ if (e) {
1517
+ let r = e(t);
1518
+ n === t && (n = r), t = r;
1519
+ }
1520
+ return t = At(t, r), {
1521
+ tagName: t,
1522
+ tagExp: n
1523
+ };
1524
+ }
1525
+ function At(e, t) {
1526
+ if (Pe.includes(e)) throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);
1527
+ return B.includes(e) ? t.onDangerousProperty(e) : e;
1528
+ }
1529
+ //#endregion
1530
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.5.9/node_modules/fast-xml-parser/src/xmlparser/node2json.js
1531
+ var $ = G.getMetaDataSymbol();
1532
+ function jt(e, t) {
1533
+ if (!e || typeof e != "object") return {};
1534
+ if (!t) return e;
1535
+ let n = {};
1536
+ for (let r in e) if (r.startsWith(t)) {
1537
+ let i = r.substring(t.length);
1538
+ n[i] = e[r];
1539
+ } else n[r] = e[r];
1540
+ return n;
1541
+ }
1542
+ function Mt(e, t, n, r) {
1543
+ return Nt(e, t, n, r);
1544
+ }
1545
+ function Nt(e, t, n, r) {
1546
+ let i, a = {};
1547
+ for (let o = 0; o < e.length; o++) {
1548
+ let s = e[o], c = Pt(s);
1549
+ if (c !== void 0 && c !== t.textNodeName) {
1550
+ let e = jt(s[":@"] || {}, t.attributeNamePrefix);
1551
+ n.push(c, e);
1552
+ }
1553
+ if (c === t.textNodeName) i === void 0 ? i = s[c] : i += "" + s[c];
1554
+ else if (c === void 0) continue;
1555
+ else if (s[c]) {
1556
+ let e = Nt(s[c], t, n, r), i = It(e, t);
1557
+ if (s[":@"] ? Ft(e, s[":@"], r, t) : Object.keys(e).length === 1 && e[t.textNodeName] !== void 0 && !t.alwaysCreateTextNode ? e = e[t.textNodeName] : Object.keys(e).length === 0 && (t.alwaysCreateTextNode ? e[t.textNodeName] = "" : e = ""), s[$] !== void 0 && typeof e == "object" && e && (e[$] = s[$]), a[c] !== void 0 && Object.prototype.hasOwnProperty.call(a, c)) Array.isArray(a[c]) || (a[c] = [a[c]]), a[c].push(e);
1558
+ else {
1559
+ let n = t.jPath ? r.toString() : r;
1560
+ t.isArray(c, n, i) ? a[c] = [e] : a[c] = e;
1561
+ }
1562
+ c !== void 0 && c !== t.textNodeName && n.pop();
1563
+ }
1564
+ }
1565
+ return typeof i == "string" ? i.length > 0 && (a[t.textNodeName] = i) : i !== void 0 && (a[t.textNodeName] = i), a;
1566
+ }
1567
+ function Pt(e) {
1568
+ let t = Object.keys(e);
1569
+ for (let e = 0; e < t.length; e++) {
1570
+ let n = t[e];
1571
+ if (n !== ":@") return n;
1572
+ }
1573
+ }
1574
+ function Ft(e, t, n, r) {
1575
+ if (t) {
1576
+ let i = Object.keys(t), a = i.length;
1577
+ for (let o = 0; o < a; o++) {
1578
+ let a = i[o], s = a.startsWith(r.attributeNamePrefix) ? a.substring(r.attributeNamePrefix.length) : a, c = r.jPath ? n.toString() + "." + s : n;
1579
+ r.isArray(a, c, !0, !0) ? e[a] = [t[a]] : e[a] = t[a];
1580
+ }
1581
+ }
1582
+ }
1583
+ function It(e, t) {
1584
+ let { textNodeName: n } = t, r = Object.keys(e).length;
1585
+ return !!(r === 0 || r === 1 && (e[n] || typeof e[n] == "boolean" || e[n] === 0));
1586
+ }
1587
+ //#endregion
1588
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.5.9/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
1589
+ var Lt = class {
1590
+ constructor(e) {
1591
+ this.externalEntities = {}, this.options = Qe(e);
1592
+ }
1593
+ parse(e, t) {
1594
+ if (typeof e != "string" && e.toString) e = e.toString();
1595
+ else if (typeof e != "string") throw Error("XML data is accepted in String or Bytes[] form.");
1596
+ if (t) {
1597
+ t === !0 && (t = {});
1598
+ let n = Ie(e, t);
1599
+ if (n !== !0) throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`);
1600
+ }
1601
+ let n = new ht(this.options);
1602
+ n.addExternalEntities(this.externalEntities);
1603
+ let r = n.parseXml(e);
1604
+ return this.options.preserveOrder || r === void 0 ? r : Mt(r, this.options, n.matcher, n.readonlyMatcher);
1605
+ }
1606
+ addEntity(e, t) {
1607
+ if (t.indexOf("&") !== -1) throw Error("Entity value can't have '&'");
1608
+ if (e.indexOf("&") !== -1 || e.indexOf(";") !== -1) throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");
1609
+ if (t === "&") throw Error("An entity with value '&' is not permitted");
1610
+ this.externalEntities[e] = t;
1611
+ }
1612
+ static getMetaDataSymbol() {
1613
+ return G.getMetaDataSymbol();
1614
+ }
1615
+ }, Rt = class {
1616
+ axiosClient;
1617
+ baseURI;
1618
+ xmlParser;
1619
+ signingKey;
1620
+ ALGORITHM = "sha512";
1621
+ TTL = 1200;
1622
+ HASH_LENGTH = 32;
1623
+ ITERATION_COUNT = 1e4;
1624
+ constructor({ axiosClient: e, baseURI: t }) {
1625
+ this.axiosClient = e, this.baseURI = t, this.xmlParser = new Lt();
1626
+ }
1627
+ async signUrl(e, t) {
1628
+ let n = new URL(e);
1629
+ n.searchParams.set("OC-Credential", t), n.searchParams.set("OC-Date", (/* @__PURE__ */ new Date()).toISOString()), n.searchParams.set("OC-Expires", this.TTL.toString()), n.searchParams.set("OC-Verb", "GET");
1630
+ let r = await this.createHashedKey(n.toString());
1631
+ return n.searchParams.set("OC-Algo", `PBKDF2/${this.ITERATION_COUNT}-SHA512`), n.searchParams.set("OC-Signature", r), n.toString();
1632
+ }
1633
+ async getSignKey() {
1634
+ if (this.signingKey) return this.signingKey;
1635
+ let e = await this.axiosClient.get(a(this.baseURI, "ocs/v1.php/cloud/user/signing-key"), { headers: { "Content-Type": "application/x-www-form-urlencoded" } });
1636
+ return this.signingKey = this.xmlParser.parse(e.data).ocs.data["signing-key"], this.signingKey;
1637
+ }
1638
+ async createHashedKey(e) {
1639
+ return Ae(e, await this.getSignKey(), this.ITERATION_COUNT, this.HASH_LENGTH, this.ALGORITHM).toString("hex");
1640
+ }
1641
+ }, zt = (e, t) => {
1642
+ let n = new URL(e);
1643
+ n.pathname = [
1644
+ ...n.pathname.split("/"),
1645
+ "ocs",
1646
+ "v1.php"
1647
+ ].filter(Boolean).join("/");
1648
+ let r = n.href, i = v(r, t), a = new Rt({
1649
+ baseURI: e,
1650
+ axiosClient: t
1651
+ });
1652
+ return {
1653
+ getCapabilities: () => i.getCapabilities(),
1654
+ signUrl: (e, t) => a.signUrl(e, t)
1655
+ };
1656
+ };
1657
+ //#endregion
1658
+ export { v as a, Y as i, Lt as n, ft as r, zt as t };