@shotstack/shotstack-studio 2.0.0-rc.5 → 2.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/internal.es.js +499 -499
- package/dist/internal.umd.js +10 -10
- package/dist/shotstack-studio.es.js +63 -63
- package/dist/shotstack-studio.umd.js +2 -2
- package/package.json +1 -1
package/dist/internal.es.js
CHANGED
|
@@ -509,7 +509,7 @@ const he = {
|
|
|
509
509
|
OutputDestinationsChanged: "output:destinationsChanged",
|
|
510
510
|
// Merge fields
|
|
511
511
|
MergeFieldChanged: "mergefield:changed"
|
|
512
|
-
},
|
|
512
|
+
}, rt = {
|
|
513
513
|
// Canvas → Edit communication
|
|
514
514
|
CanvasClipClicked: "canvas:clipClicked",
|
|
515
515
|
CanvasBackgroundClicked: "canvas:backgroundClicked",
|
|
@@ -911,7 +911,7 @@ class Nt extends mu {
|
|
|
911
911
|
* All drag/resize/rotate interaction is handled by SelectionHandles.
|
|
912
912
|
*/
|
|
913
913
|
onPointerDown(e) {
|
|
914
|
-
e.button === gu.ButtonLeftClick && this.edit.getInternalEvents().emit(
|
|
914
|
+
e.button === gu.ButtonLeftClick && this.edit.getInternalEvents().emit(rt.CanvasClipClicked, { player: this });
|
|
915
915
|
}
|
|
916
916
|
clipHasKeyframes() {
|
|
917
917
|
return [
|
|
@@ -17105,14 +17105,14 @@ function za(t, e, s) {
|
|
|
17105
17105
|
const c = Math.round(n * 255) * 65536, f = Math.round(o * 255) * 256, h = Math.round(l * 255);
|
|
17106
17106
|
return c + f + h;
|
|
17107
17107
|
}
|
|
17108
|
-
function
|
|
17108
|
+
function Bu(t) {
|
|
17109
17109
|
return {
|
|
17110
17110
|
"text-to-image": "Image",
|
|
17111
17111
|
"image-to-video": "Video",
|
|
17112
17112
|
"text-to-speech": "Audio"
|
|
17113
17113
|
}[t] || t;
|
|
17114
17114
|
}
|
|
17115
|
-
function
|
|
17115
|
+
function Du(t, e = 60) {
|
|
17116
17116
|
return t.length <= e ? t : `${t.substring(0, e - 3)}...`;
|
|
17117
17117
|
}
|
|
17118
17118
|
const Lu = {
|
|
@@ -17347,7 +17347,7 @@ class Tn {
|
|
|
17347
17347
|
c.svg(`<svg viewBox="0 0 24 24"><path d="${Lu[a]}" fill="#C084FC" /></svg>`);
|
|
17348
17348
|
const f = Uo / 24, h = (Kt - Uo) / 2;
|
|
17349
17349
|
if (c.scale.set(f, f), c.position.set(h, h), o.addChild(c), i !== void 0) {
|
|
17350
|
-
const d = n ?
|
|
17350
|
+
const d = n ? Bu(n) : "", y = d ? `${d} ${i}` : String(i), m = new X.Text({
|
|
17351
17351
|
text: y,
|
|
17352
17352
|
style: {
|
|
17353
17353
|
fontFamily: "Arial",
|
|
@@ -17359,7 +17359,7 @@ class Tn {
|
|
|
17359
17359
|
m.anchor.set(0.5, 0.5), m.position.set(Kt / 2, Kt + 15), o.addChild(m);
|
|
17360
17360
|
}
|
|
17361
17361
|
if (r) {
|
|
17362
|
-
const d =
|
|
17362
|
+
const d = Du(r, 60), y = new X.Text({
|
|
17363
17363
|
text: d,
|
|
17364
17364
|
style: {
|
|
17365
17365
|
fontFamily: "Arial",
|
|
@@ -17377,7 +17377,7 @@ class Tn {
|
|
|
17377
17377
|
this.container.addChild(o);
|
|
17378
17378
|
}
|
|
17379
17379
|
}
|
|
17380
|
-
function
|
|
17380
|
+
function Bc(t, e) {
|
|
17381
17381
|
const s = new X.Graphics();
|
|
17382
17382
|
return s.fillStyle = { color: "#cccccc", alpha: 0.5 }, s.rect(0, 0, t, e), s.fill(), s.strokeStyle = { color: "#999999", width: 2 }, s.moveTo(0, 0), s.lineTo(t, e), s.moveTo(t, 0), s.lineTo(0, e), s.stroke(), s;
|
|
17383
17383
|
}
|
|
@@ -17403,7 +17403,7 @@ class Gu extends Nt {
|
|
|
17403
17403
|
assetType: n
|
|
17404
17404
|
});
|
|
17405
17405
|
} catch {
|
|
17406
|
-
this.placeholder =
|
|
17406
|
+
this.placeholder = Bc(e.width, e.height), this.contentContainer.addChild(this.placeholder), this.aiOverlay = new Tn({
|
|
17407
17407
|
mode: "panel",
|
|
17408
17408
|
icon: "video",
|
|
17409
17409
|
width: e.width,
|
|
@@ -17495,7 +17495,7 @@ class Wu extends Nt {
|
|
|
17495
17495
|
return this.texture?.source instanceof X.VideoSource ? this.texture.source.resource.currentTime : -1;
|
|
17496
17496
|
}
|
|
17497
17497
|
}
|
|
17498
|
-
function
|
|
17498
|
+
function B(t, e, s) {
|
|
17499
17499
|
function a(o, l) {
|
|
17500
17500
|
if (o._zod || Object.defineProperty(o, "_zod", {
|
|
17501
17501
|
value: {
|
|
@@ -17534,7 +17534,7 @@ class pa extends Error {
|
|
|
17534
17534
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
17535
17535
|
}
|
|
17536
17536
|
}
|
|
17537
|
-
class
|
|
17537
|
+
class Dc extends Error {
|
|
17538
17538
|
constructor(e) {
|
|
17539
17539
|
super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
|
|
17540
17540
|
}
|
|
@@ -17578,7 +17578,7 @@ function Yu(t, e) {
|
|
|
17578
17578
|
return n % o / 10 ** r;
|
|
17579
17579
|
}
|
|
17580
17580
|
const Go = Symbol("evaluating");
|
|
17581
|
-
function
|
|
17581
|
+
function Be(t, e, s) {
|
|
17582
17582
|
let a;
|
|
17583
17583
|
Object.defineProperty(t, e, {
|
|
17584
17584
|
get() {
|
|
@@ -17853,7 +17853,7 @@ const Wc = (t, e) => {
|
|
|
17853
17853
|
value: () => t.message,
|
|
17854
17854
|
enumerable: !1
|
|
17855
17855
|
});
|
|
17856
|
-
}, Yc =
|
|
17856
|
+
}, Yc = B("$ZodError", Wc), Hc = B("$ZodError", Wc, { Parent: Error });
|
|
17857
17857
|
function ih(t, e = (s) => s.message) {
|
|
17858
17858
|
const s = {}, a = [];
|
|
17859
17859
|
for (const i of t.issues)
|
|
@@ -17946,14 +17946,14 @@ function Mh(t) {
|
|
|
17946
17946
|
const zh = (t) => {
|
|
17947
17947
|
const e = t ? `[\\s\\S]{${t?.minimum ?? 0},${t?.maximum ?? ""}}` : "[\\s\\S]*";
|
|
17948
17948
|
return new RegExp(`^${e}$`);
|
|
17949
|
-
}, Rh = /^-?\d+$/, qc = /^-?\d+(?:\.\d+)?$/,
|
|
17949
|
+
}, Rh = /^-?\d+$/, qc = /^-?\d+(?:\.\d+)?$/, Bh = /^(?:true|false)$/i, Dh = /^null$/i, Lh = /^[^A-Z]*$/, Zh = /^[^a-z]*$/, _t = /* @__PURE__ */ B("$ZodCheck", (t, e) => {
|
|
17950
17950
|
var s;
|
|
17951
17951
|
t._zod ?? (t._zod = {}), t._zod.def = e, (s = t._zod).onattach ?? (s.onattach = []);
|
|
17952
17952
|
}), Jc = {
|
|
17953
17953
|
number: "number",
|
|
17954
17954
|
bigint: "bigint",
|
|
17955
17955
|
object: "date"
|
|
17956
|
-
}, Qc = /* @__PURE__ */
|
|
17956
|
+
}, Qc = /* @__PURE__ */ B("$ZodCheckLessThan", (t, e) => {
|
|
17957
17957
|
_t.init(t, e);
|
|
17958
17958
|
const s = Jc[typeof e.value];
|
|
17959
17959
|
t._zod.onattach.push((a) => {
|
|
@@ -17970,7 +17970,7 @@ const zh = (t) => {
|
|
|
17970
17970
|
continue: !e.abort
|
|
17971
17971
|
});
|
|
17972
17972
|
};
|
|
17973
|
-
}), $c = /* @__PURE__ */
|
|
17973
|
+
}), $c = /* @__PURE__ */ B("$ZodCheckGreaterThan", (t, e) => {
|
|
17974
17974
|
_t.init(t, e);
|
|
17975
17975
|
const s = Jc[typeof e.value];
|
|
17976
17976
|
t._zod.onattach.push((a) => {
|
|
@@ -17987,7 +17987,7 @@ const zh = (t) => {
|
|
|
17987
17987
|
continue: !e.abort
|
|
17988
17988
|
});
|
|
17989
17989
|
};
|
|
17990
|
-
}), Uh = /* @__PURE__ */
|
|
17990
|
+
}), Uh = /* @__PURE__ */ B("$ZodCheckMultipleOf", (t, e) => {
|
|
17991
17991
|
_t.init(t, e), t._zod.onattach.push((s) => {
|
|
17992
17992
|
var a;
|
|
17993
17993
|
(a = s._zod.bag).multipleOf ?? (a.multipleOf = e.value);
|
|
@@ -18003,7 +18003,7 @@ const zh = (t) => {
|
|
|
18003
18003
|
continue: !e.abort
|
|
18004
18004
|
});
|
|
18005
18005
|
};
|
|
18006
|
-
}), Gh = /* @__PURE__ */
|
|
18006
|
+
}), Gh = /* @__PURE__ */ B("$ZodCheckNumberFormat", (t, e) => {
|
|
18007
18007
|
_t.init(t, e), e.format = e.format || "float64";
|
|
18008
18008
|
const s = e.format?.includes("int"), a = s ? "int" : "number", [i, r] = qu[e.format];
|
|
18009
18009
|
t._zod.onattach.push((n) => {
|
|
@@ -18064,7 +18064,7 @@ const zh = (t) => {
|
|
|
18064
18064
|
continue: !e.abort
|
|
18065
18065
|
});
|
|
18066
18066
|
};
|
|
18067
|
-
}), Wh = /* @__PURE__ */
|
|
18067
|
+
}), Wh = /* @__PURE__ */ B("$ZodCheckMaxLength", (t, e) => {
|
|
18068
18068
|
var s;
|
|
18069
18069
|
_t.init(t, e), (s = t._zod.def).when ?? (s.when = (a) => {
|
|
18070
18070
|
const i = a.value;
|
|
@@ -18087,7 +18087,7 @@ const zh = (t) => {
|
|
|
18087
18087
|
continue: !e.abort
|
|
18088
18088
|
});
|
|
18089
18089
|
};
|
|
18090
|
-
}), Yh = /* @__PURE__ */
|
|
18090
|
+
}), Yh = /* @__PURE__ */ B("$ZodCheckMinLength", (t, e) => {
|
|
18091
18091
|
var s;
|
|
18092
18092
|
_t.init(t, e), (s = t._zod.def).when ?? (s.when = (a) => {
|
|
18093
18093
|
const i = a.value;
|
|
@@ -18110,7 +18110,7 @@ const zh = (t) => {
|
|
|
18110
18110
|
continue: !e.abort
|
|
18111
18111
|
});
|
|
18112
18112
|
};
|
|
18113
|
-
}), Hh = /* @__PURE__ */
|
|
18113
|
+
}), Hh = /* @__PURE__ */ B("$ZodCheckLengthEquals", (t, e) => {
|
|
18114
18114
|
var s;
|
|
18115
18115
|
_t.init(t, e), (s = t._zod.def).when ?? (s.when = (a) => {
|
|
18116
18116
|
const i = a.value;
|
|
@@ -18133,7 +18133,7 @@ const zh = (t) => {
|
|
|
18133
18133
|
continue: !e.abort
|
|
18134
18134
|
});
|
|
18135
18135
|
};
|
|
18136
|
-
}), Er = /* @__PURE__ */
|
|
18136
|
+
}), Er = /* @__PURE__ */ B("$ZodCheckStringFormat", (t, e) => {
|
|
18137
18137
|
var s, a;
|
|
18138
18138
|
_t.init(t, e), t._zod.onattach.push((i) => {
|
|
18139
18139
|
const r = i._zod.bag;
|
|
@@ -18150,7 +18150,7 @@ const zh = (t) => {
|
|
|
18150
18150
|
});
|
|
18151
18151
|
}) : (a = t._zod).check ?? (a.check = () => {
|
|
18152
18152
|
});
|
|
18153
|
-
}), Kh = /* @__PURE__ */
|
|
18153
|
+
}), Kh = /* @__PURE__ */ B("$ZodCheckRegex", (t, e) => {
|
|
18154
18154
|
Er.init(t, e), t._zod.check = (s) => {
|
|
18155
18155
|
e.pattern.lastIndex = 0, !e.pattern.test(s.value) && s.issues.push({
|
|
18156
18156
|
origin: "string",
|
|
@@ -18162,11 +18162,11 @@ const zh = (t) => {
|
|
|
18162
18162
|
continue: !e.abort
|
|
18163
18163
|
});
|
|
18164
18164
|
};
|
|
18165
|
-
}), jh = /* @__PURE__ */
|
|
18165
|
+
}), jh = /* @__PURE__ */ B("$ZodCheckLowerCase", (t, e) => {
|
|
18166
18166
|
e.pattern ?? (e.pattern = Lh), Er.init(t, e);
|
|
18167
|
-
}), Xh = /* @__PURE__ */
|
|
18167
|
+
}), Xh = /* @__PURE__ */ B("$ZodCheckUpperCase", (t, e) => {
|
|
18168
18168
|
e.pattern ?? (e.pattern = Zh), Er.init(t, e);
|
|
18169
|
-
}), qh = /* @__PURE__ */
|
|
18169
|
+
}), qh = /* @__PURE__ */ B("$ZodCheckIncludes", (t, e) => {
|
|
18170
18170
|
_t.init(t, e);
|
|
18171
18171
|
const s = va(e.includes), a = new RegExp(typeof e.position == "number" ? `^.{${e.position}}${s}` : s);
|
|
18172
18172
|
e.pattern = a, t._zod.onattach.push((i) => {
|
|
@@ -18183,7 +18183,7 @@ const zh = (t) => {
|
|
|
18183
18183
|
continue: !e.abort
|
|
18184
18184
|
});
|
|
18185
18185
|
};
|
|
18186
|
-
}), Jh = /* @__PURE__ */
|
|
18186
|
+
}), Jh = /* @__PURE__ */ B("$ZodCheckStartsWith", (t, e) => {
|
|
18187
18187
|
_t.init(t, e);
|
|
18188
18188
|
const s = new RegExp(`^${va(e.prefix)}.*`);
|
|
18189
18189
|
e.pattern ?? (e.pattern = s), t._zod.onattach.push((a) => {
|
|
@@ -18200,7 +18200,7 @@ const zh = (t) => {
|
|
|
18200
18200
|
continue: !e.abort
|
|
18201
18201
|
});
|
|
18202
18202
|
};
|
|
18203
|
-
}), Qh = /* @__PURE__ */
|
|
18203
|
+
}), Qh = /* @__PURE__ */ B("$ZodCheckEndsWith", (t, e) => {
|
|
18204
18204
|
_t.init(t, e);
|
|
18205
18205
|
const s = new RegExp(`.*${va(e.suffix)}$`);
|
|
18206
18206
|
e.pattern ?? (e.pattern = s), t._zod.onattach.push((a) => {
|
|
@@ -18217,7 +18217,7 @@ const zh = (t) => {
|
|
|
18217
18217
|
continue: !e.abort
|
|
18218
18218
|
});
|
|
18219
18219
|
};
|
|
18220
|
-
}), $h = /* @__PURE__ */
|
|
18220
|
+
}), $h = /* @__PURE__ */ B("$ZodCheckOverwrite", (t, e) => {
|
|
18221
18221
|
_t.init(t, e), t._zod.check = (s) => {
|
|
18222
18222
|
s.value = e.tx(s.value);
|
|
18223
18223
|
};
|
|
@@ -18249,7 +18249,7 @@ const td = {
|
|
|
18249
18249
|
major: 4,
|
|
18250
18250
|
minor: 3,
|
|
18251
18251
|
patch: 6
|
|
18252
|
-
}, Xe = /* @__PURE__ */
|
|
18252
|
+
}, Xe = /* @__PURE__ */ B("$ZodType", (t, e) => {
|
|
18253
18253
|
var s;
|
|
18254
18254
|
t ?? (t = {}), t._zod.def = e, t._zod.bag = t._zod.bag || {}, t._zod.version = td;
|
|
18255
18255
|
const a = [...t._zod.def.checks ?? []];
|
|
@@ -18311,7 +18311,7 @@ const td = {
|
|
|
18311
18311
|
return i(l, a, o);
|
|
18312
18312
|
};
|
|
18313
18313
|
}
|
|
18314
|
-
|
|
18314
|
+
Be(t, "~standard", () => ({
|
|
18315
18315
|
validate: (i) => {
|
|
18316
18316
|
try {
|
|
18317
18317
|
const r = nh(t, i);
|
|
@@ -18323,7 +18323,7 @@ const td = {
|
|
|
18323
18323
|
vendor: "zod",
|
|
18324
18324
|
version: 1
|
|
18325
18325
|
}));
|
|
18326
|
-
}), fo = /* @__PURE__ */
|
|
18326
|
+
}), fo = /* @__PURE__ */ B("$ZodString", (t, e) => {
|
|
18327
18327
|
Xe.init(t, e), t._zod.pattern = [...t?._zod.bag?.patterns ?? []].pop() ?? zh(t._zod.bag), t._zod.parse = (s, a) => {
|
|
18328
18328
|
if (e.coerce)
|
|
18329
18329
|
try {
|
|
@@ -18337,11 +18337,11 @@ const td = {
|
|
|
18337
18337
|
inst: t
|
|
18338
18338
|
}), s;
|
|
18339
18339
|
};
|
|
18340
|
-
}), qe = /* @__PURE__ */
|
|
18340
|
+
}), qe = /* @__PURE__ */ B("$ZodStringFormat", (t, e) => {
|
|
18341
18341
|
Er.init(t, e), fo.init(t, e);
|
|
18342
|
-
}), sd = /* @__PURE__ */
|
|
18342
|
+
}), sd = /* @__PURE__ */ B("$ZodGUID", (t, e) => {
|
|
18343
18343
|
e.pattern ?? (e.pattern = Ah), qe.init(t, e);
|
|
18344
|
-
}), ad = /* @__PURE__ */
|
|
18344
|
+
}), ad = /* @__PURE__ */ B("$ZodUUID", (t, e) => {
|
|
18345
18345
|
if (e.version) {
|
|
18346
18346
|
const a = {
|
|
18347
18347
|
v1: 1,
|
|
@@ -18359,9 +18359,9 @@ const td = {
|
|
|
18359
18359
|
} else
|
|
18360
18360
|
e.pattern ?? (e.pattern = Yo());
|
|
18361
18361
|
qe.init(t, e);
|
|
18362
|
-
}), id = /* @__PURE__ */
|
|
18362
|
+
}), id = /* @__PURE__ */ B("$ZodEmail", (t, e) => {
|
|
18363
18363
|
e.pattern ?? (e.pattern = Nh), qe.init(t, e);
|
|
18364
|
-
}), rd = /* @__PURE__ */
|
|
18364
|
+
}), rd = /* @__PURE__ */ B("$ZodURL", (t, e) => {
|
|
18365
18365
|
qe.init(t, e), t._zod.check = (s) => {
|
|
18366
18366
|
try {
|
|
18367
18367
|
const a = s.value.trim(), i = new URL(a);
|
|
@@ -18393,31 +18393,31 @@ const td = {
|
|
|
18393
18393
|
});
|
|
18394
18394
|
}
|
|
18395
18395
|
};
|
|
18396
|
-
}), nd = /* @__PURE__ */
|
|
18396
|
+
}), nd = /* @__PURE__ */ B("$ZodEmoji", (t, e) => {
|
|
18397
18397
|
e.pattern ?? (e.pattern = Sh()), qe.init(t, e);
|
|
18398
|
-
}), od = /* @__PURE__ */
|
|
18398
|
+
}), od = /* @__PURE__ */ B("$ZodNanoID", (t, e) => {
|
|
18399
18399
|
e.pattern ?? (e.pattern = xh), qe.init(t, e);
|
|
18400
|
-
}), ld = /* @__PURE__ */
|
|
18400
|
+
}), ld = /* @__PURE__ */ B("$ZodCUID", (t, e) => {
|
|
18401
18401
|
e.pattern ?? (e.pattern = mh), qe.init(t, e);
|
|
18402
|
-
}), cd = /* @__PURE__ */
|
|
18402
|
+
}), cd = /* @__PURE__ */ B("$ZodCUID2", (t, e) => {
|
|
18403
18403
|
e.pattern ?? (e.pattern = yh), qe.init(t, e);
|
|
18404
|
-
}), fd = /* @__PURE__ */
|
|
18404
|
+
}), fd = /* @__PURE__ */ B("$ZodULID", (t, e) => {
|
|
18405
18405
|
e.pattern ?? (e.pattern = bh), qe.init(t, e);
|
|
18406
|
-
}), ud = /* @__PURE__ */
|
|
18406
|
+
}), ud = /* @__PURE__ */ B("$ZodXID", (t, e) => {
|
|
18407
18407
|
e.pattern ?? (e.pattern = wh), qe.init(t, e);
|
|
18408
|
-
}), hd = /* @__PURE__ */
|
|
18408
|
+
}), hd = /* @__PURE__ */ B("$ZodKSUID", (t, e) => {
|
|
18409
18409
|
e.pattern ?? (e.pattern = vh), qe.init(t, e);
|
|
18410
|
-
}), dd = /* @__PURE__ */
|
|
18410
|
+
}), dd = /* @__PURE__ */ B("$ZodISODateTime", (t, e) => {
|
|
18411
18411
|
e.pattern ?? (e.pattern = Mh(e)), qe.init(t, e);
|
|
18412
|
-
}), gd = /* @__PURE__ */
|
|
18412
|
+
}), gd = /* @__PURE__ */ B("$ZodISODate", (t, e) => {
|
|
18413
18413
|
e.pattern ?? (e.pattern = Th), qe.init(t, e);
|
|
18414
|
-
}), pd = /* @__PURE__ */
|
|
18414
|
+
}), pd = /* @__PURE__ */ B("$ZodISOTime", (t, e) => {
|
|
18415
18415
|
e.pattern ?? (e.pattern = Oh(e)), qe.init(t, e);
|
|
18416
|
-
}), md = /* @__PURE__ */
|
|
18416
|
+
}), md = /* @__PURE__ */ B("$ZodISODuration", (t, e) => {
|
|
18417
18417
|
e.pattern ?? (e.pattern = Ch), qe.init(t, e);
|
|
18418
|
-
}), yd = /* @__PURE__ */
|
|
18418
|
+
}), yd = /* @__PURE__ */ B("$ZodIPv4", (t, e) => {
|
|
18419
18419
|
e.pattern ?? (e.pattern = Vh), qe.init(t, e), t._zod.bag.format = "ipv4";
|
|
18420
|
-
}), bd = /* @__PURE__ */
|
|
18420
|
+
}), bd = /* @__PURE__ */ B("$ZodIPv6", (t, e) => {
|
|
18421
18421
|
e.pattern ?? (e.pattern = Ih), qe.init(t, e), t._zod.bag.format = "ipv6", t._zod.check = (s) => {
|
|
18422
18422
|
try {
|
|
18423
18423
|
new URL(`http://[${s.value}]`);
|
|
@@ -18431,9 +18431,9 @@ const td = {
|
|
|
18431
18431
|
});
|
|
18432
18432
|
}
|
|
18433
18433
|
};
|
|
18434
|
-
}), wd = /* @__PURE__ */
|
|
18434
|
+
}), wd = /* @__PURE__ */ B("$ZodCIDRv4", (t, e) => {
|
|
18435
18435
|
e.pattern ?? (e.pattern = _h), qe.init(t, e);
|
|
18436
|
-
}), vd = /* @__PURE__ */
|
|
18436
|
+
}), vd = /* @__PURE__ */ B("$ZodCIDRv6", (t, e) => {
|
|
18437
18437
|
e.pattern ?? (e.pattern = Fh), qe.init(t, e), t._zod.check = (s) => {
|
|
18438
18438
|
const a = s.value.split("/");
|
|
18439
18439
|
try {
|
|
@@ -18470,7 +18470,7 @@ function ef(t) {
|
|
|
18470
18470
|
return !1;
|
|
18471
18471
|
}
|
|
18472
18472
|
}
|
|
18473
|
-
const xd = /* @__PURE__ */
|
|
18473
|
+
const xd = /* @__PURE__ */ B("$ZodBase64", (t, e) => {
|
|
18474
18474
|
e.pattern ?? (e.pattern = Ph), qe.init(t, e), t._zod.bag.contentEncoding = "base64", t._zod.check = (s) => {
|
|
18475
18475
|
ef(s.value) || s.issues.push({
|
|
18476
18476
|
code: "invalid_format",
|
|
@@ -18487,7 +18487,7 @@ function Cd(t) {
|
|
|
18487
18487
|
const e = t.replace(/[-_]/g, (a) => a === "-" ? "+" : "/"), s = e.padEnd(Math.ceil(e.length / 4) * 4, "=");
|
|
18488
18488
|
return ef(s);
|
|
18489
18489
|
}
|
|
18490
|
-
const Ad = /* @__PURE__ */
|
|
18490
|
+
const Ad = /* @__PURE__ */ B("$ZodBase64URL", (t, e) => {
|
|
18491
18491
|
e.pattern ?? (e.pattern = Kc), qe.init(t, e), t._zod.bag.contentEncoding = "base64url", t._zod.check = (s) => {
|
|
18492
18492
|
Cd(s.value) || s.issues.push({
|
|
18493
18493
|
code: "invalid_format",
|
|
@@ -18497,7 +18497,7 @@ const Ad = /* @__PURE__ */ D("$ZodBase64URL", (t, e) => {
|
|
|
18497
18497
|
continue: !e.abort
|
|
18498
18498
|
});
|
|
18499
18499
|
};
|
|
18500
|
-
}), Nd = /* @__PURE__ */
|
|
18500
|
+
}), Nd = /* @__PURE__ */ B("$ZodE164", (t, e) => {
|
|
18501
18501
|
e.pattern ?? (e.pattern = Eh), qe.init(t, e);
|
|
18502
18502
|
});
|
|
18503
18503
|
function kd(t, e = null) {
|
|
@@ -18514,7 +18514,7 @@ function kd(t, e = null) {
|
|
|
18514
18514
|
return !1;
|
|
18515
18515
|
}
|
|
18516
18516
|
}
|
|
18517
|
-
const Sd = /* @__PURE__ */
|
|
18517
|
+
const Sd = /* @__PURE__ */ B("$ZodJWT", (t, e) => {
|
|
18518
18518
|
qe.init(t, e), t._zod.check = (s) => {
|
|
18519
18519
|
kd(s.value, e.alg) || s.issues.push({
|
|
18520
18520
|
code: "invalid_format",
|
|
@@ -18524,7 +18524,7 @@ const Sd = /* @__PURE__ */ D("$ZodJWT", (t, e) => {
|
|
|
18524
18524
|
continue: !e.abort
|
|
18525
18525
|
});
|
|
18526
18526
|
};
|
|
18527
|
-
}), tf = /* @__PURE__ */
|
|
18527
|
+
}), tf = /* @__PURE__ */ B("$ZodNumber", (t, e) => {
|
|
18528
18528
|
Xe.init(t, e), t._zod.pattern = t._zod.bag.pattern ?? qc, t._zod.parse = (s, a) => {
|
|
18529
18529
|
if (e.coerce)
|
|
18530
18530
|
try {
|
|
@@ -18543,10 +18543,10 @@ const Sd = /* @__PURE__ */ D("$ZodJWT", (t, e) => {
|
|
|
18543
18543
|
...r ? { received: r } : {}
|
|
18544
18544
|
}), s;
|
|
18545
18545
|
};
|
|
18546
|
-
}), Vd = /* @__PURE__ */
|
|
18546
|
+
}), Vd = /* @__PURE__ */ B("$ZodNumberFormat", (t, e) => {
|
|
18547
18547
|
Gh.init(t, e), tf.init(t, e);
|
|
18548
|
-
}), Id = /* @__PURE__ */
|
|
18549
|
-
Xe.init(t, e), t._zod.pattern =
|
|
18548
|
+
}), Id = /* @__PURE__ */ B("$ZodBoolean", (t, e) => {
|
|
18549
|
+
Xe.init(t, e), t._zod.pattern = Bh, t._zod.parse = (s, a) => {
|
|
18550
18550
|
if (e.coerce)
|
|
18551
18551
|
try {
|
|
18552
18552
|
s.value = !!s.value;
|
|
@@ -18560,8 +18560,8 @@ const Sd = /* @__PURE__ */ D("$ZodJWT", (t, e) => {
|
|
|
18560
18560
|
inst: t
|
|
18561
18561
|
}), s;
|
|
18562
18562
|
};
|
|
18563
|
-
}), _d = /* @__PURE__ */
|
|
18564
|
-
Xe.init(t, e), t._zod.pattern =
|
|
18563
|
+
}), _d = /* @__PURE__ */ B("$ZodNull", (t, e) => {
|
|
18564
|
+
Xe.init(t, e), t._zod.pattern = Dh, t._zod.values = /* @__PURE__ */ new Set([null]), t._zod.parse = (s, a) => {
|
|
18565
18565
|
const i = s.value;
|
|
18566
18566
|
return i === null || s.issues.push({
|
|
18567
18567
|
expected: "null",
|
|
@@ -18570,9 +18570,9 @@ const Sd = /* @__PURE__ */ D("$ZodJWT", (t, e) => {
|
|
|
18570
18570
|
inst: t
|
|
18571
18571
|
}), s;
|
|
18572
18572
|
};
|
|
18573
|
-
}), Fd = /* @__PURE__ */
|
|
18573
|
+
}), Fd = /* @__PURE__ */ B("$ZodUnknown", (t, e) => {
|
|
18574
18574
|
Xe.init(t, e), t._zod.parse = (s) => s;
|
|
18575
|
-
}), Pd = /* @__PURE__ */
|
|
18575
|
+
}), Pd = /* @__PURE__ */ B("$ZodNever", (t, e) => {
|
|
18576
18576
|
Xe.init(t, e), t._zod.parse = (s, a) => (s.issues.push({
|
|
18577
18577
|
expected: "never",
|
|
18578
18578
|
code: "invalid_type",
|
|
@@ -18583,7 +18583,7 @@ const Sd = /* @__PURE__ */ D("$ZodJWT", (t, e) => {
|
|
|
18583
18583
|
function Ho(t, e, s) {
|
|
18584
18584
|
t.issues.length && e.issues.push(...ha(s, t.issues)), e.value[s] = t.value;
|
|
18585
18585
|
}
|
|
18586
|
-
const Ed = /* @__PURE__ */
|
|
18586
|
+
const Ed = /* @__PURE__ */ B("$ZodArray", (t, e) => {
|
|
18587
18587
|
Xe.init(t, e), t._zod.parse = (s, a) => {
|
|
18588
18588
|
const i = s.value;
|
|
18589
18589
|
if (!Array.isArray(i))
|
|
@@ -18646,7 +18646,7 @@ function af(t, e, s, a, i, r) {
|
|
|
18646
18646
|
inst: r
|
|
18647
18647
|
}), t.length ? Promise.all(t).then(() => s) : s;
|
|
18648
18648
|
}
|
|
18649
|
-
const Td = /* @__PURE__ */
|
|
18649
|
+
const Td = /* @__PURE__ */ B("$ZodObject", (t, e) => {
|
|
18650
18650
|
if (Xe.init(t, e), !Object.getOwnPropertyDescriptor(e, "shape")?.get) {
|
|
18651
18651
|
const o = e.shape;
|
|
18652
18652
|
Object.defineProperty(e, "shape", {
|
|
@@ -18659,7 +18659,7 @@ const Td = /* @__PURE__ */ D("$ZodObject", (t, e) => {
|
|
|
18659
18659
|
});
|
|
18660
18660
|
}
|
|
18661
18661
|
const a = _r(() => sf(e));
|
|
18662
|
-
|
|
18662
|
+
Be(t._zod, "propValues", () => {
|
|
18663
18663
|
const o = e.shape, l = {};
|
|
18664
18664
|
for (const c in o) {
|
|
18665
18665
|
const f = o[c]._zod;
|
|
@@ -18691,7 +18691,7 @@ const Td = /* @__PURE__ */ D("$ZodObject", (t, e) => {
|
|
|
18691
18691
|
}
|
|
18692
18692
|
return r ? af(f, c, o, l, a.value, t) : f.length ? Promise.all(f).then(() => o) : o;
|
|
18693
18693
|
};
|
|
18694
|
-
}), Od = /* @__PURE__ */
|
|
18694
|
+
}), Od = /* @__PURE__ */ B("$ZodObjectJIT", (t, e) => {
|
|
18695
18695
|
Td.init(t, e);
|
|
18696
18696
|
const s = t._zod.parse, a = _r(() => sf(e)), i = (d) => {
|
|
18697
18697
|
const y = new ed(["shape", "payload", "ctx"]), m = a.value, x = (v) => {
|
|
@@ -18705,8 +18705,8 @@ const Td = /* @__PURE__ */ D("$ZodObject", (t, e) => {
|
|
|
18705
18705
|
P[v] = `key_${F++}`;
|
|
18706
18706
|
y.write("const newResult = {};");
|
|
18707
18707
|
for (const v of m.keys) {
|
|
18708
|
-
const E = P[v], b = Wo(v),
|
|
18709
|
-
y.write(`const ${E} = ${x(v)};`),
|
|
18708
|
+
const E = P[v], b = Wo(v), D = d[v]?._zod?.optout === "optional";
|
|
18709
|
+
y.write(`const ${E} = ${x(v)};`), D ? y.write(`
|
|
18710
18710
|
if (${E}.issues.length) {
|
|
18711
18711
|
if (${b} in input) {
|
|
18712
18712
|
payload.issues = payload.issues.concat(${E}.issues.map(iss => ({
|
|
@@ -18772,11 +18772,11 @@ function Ko(t, e, s, a) {
|
|
|
18772
18772
|
errors: t.map((r) => r.issues.map((n) => Vs(n, a, Ss())))
|
|
18773
18773
|
}), e);
|
|
18774
18774
|
}
|
|
18775
|
-
const rf = /* @__PURE__ */
|
|
18776
|
-
Xe.init(t, e),
|
|
18775
|
+
const rf = /* @__PURE__ */ B("$ZodUnion", (t, e) => {
|
|
18776
|
+
Xe.init(t, e), Be(t._zod, "optin", () => e.options.some((i) => i._zod.optin === "optional") ? "optional" : void 0), Be(t._zod, "optout", () => e.options.some((i) => i._zod.optout === "optional") ? "optional" : void 0), Be(t._zod, "values", () => {
|
|
18777
18777
|
if (e.options.every((i) => i._zod.values))
|
|
18778
18778
|
return new Set(e.options.flatMap((i) => Array.from(i._zod.values)));
|
|
18779
|
-
}),
|
|
18779
|
+
}), Be(t._zod, "pattern", () => {
|
|
18780
18780
|
if (e.options.every((i) => i._zod.pattern)) {
|
|
18781
18781
|
const i = e.options.map((r) => r._zod.pattern);
|
|
18782
18782
|
return new RegExp(`^(${i.map((r) => no(r.source)).join("|")})$`);
|
|
@@ -18803,10 +18803,10 @@ const rf = /* @__PURE__ */ D("$ZodUnion", (t, e) => {
|
|
|
18803
18803
|
}
|
|
18804
18804
|
return n ? Promise.all(o).then((l) => Ko(l, i, t, r)) : Ko(o, i, t, r);
|
|
18805
18805
|
};
|
|
18806
|
-
}), Md = /* @__PURE__ */
|
|
18806
|
+
}), Md = /* @__PURE__ */ B("$ZodDiscriminatedUnion", (t, e) => {
|
|
18807
18807
|
e.inclusive = !1, rf.init(t, e);
|
|
18808
18808
|
const s = t._zod.parse;
|
|
18809
|
-
|
|
18809
|
+
Be(t._zod, "propValues", () => {
|
|
18810
18810
|
const i = {};
|
|
18811
18811
|
for (const r of e.options) {
|
|
18812
18812
|
const n = r._zod.propValues;
|
|
@@ -18854,7 +18854,7 @@ const rf = /* @__PURE__ */ D("$ZodUnion", (t, e) => {
|
|
|
18854
18854
|
inst: t
|
|
18855
18855
|
}), i);
|
|
18856
18856
|
};
|
|
18857
|
-
}), zd = /* @__PURE__ */
|
|
18857
|
+
}), zd = /* @__PURE__ */ B("$ZodIntersection", (t, e) => {
|
|
18858
18858
|
Xe.init(t, e), t._zod.parse = (s, a) => {
|
|
18859
18859
|
const i = s.value, r = e.left._zod.run({ value: i, issues: [] }, a), n = e.right._zod.run({ value: i, issues: [] }, a);
|
|
18860
18860
|
return r instanceof Promise || n instanceof Promise ? Promise.all([r, n]).then(([l, c]) => jo(s, l, c)) : jo(s, r, n);
|
|
@@ -18919,7 +18919,7 @@ function jo(t, e, s) {
|
|
|
18919
18919
|
throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);
|
|
18920
18920
|
return t.value = n.data, t;
|
|
18921
18921
|
}
|
|
18922
|
-
const Rd = /* @__PURE__ */
|
|
18922
|
+
const Rd = /* @__PURE__ */ B("$ZodRecord", (t, e) => {
|
|
18923
18923
|
Xe.init(t, e), t._zod.parse = (s, a) => {
|
|
18924
18924
|
const i = s.value;
|
|
18925
18925
|
if (!wa(i))
|
|
@@ -18983,7 +18983,7 @@ const Rd = /* @__PURE__ */ D("$ZodRecord", (t, e) => {
|
|
|
18983
18983
|
}
|
|
18984
18984
|
return r.length ? Promise.all(r).then(() => s) : s;
|
|
18985
18985
|
};
|
|
18986
|
-
}),
|
|
18986
|
+
}), Bd = /* @__PURE__ */ B("$ZodEnum", (t, e) => {
|
|
18987
18987
|
Xe.init(t, e);
|
|
18988
18988
|
const s = Zc(e.entries), a = new Set(s);
|
|
18989
18989
|
t._zod.values = a, t._zod.pattern = new RegExp(`^(${s.filter((i) => ju.has(typeof i)).map((i) => typeof i == "string" ? va(i) : i.toString()).join("|")})$`), t._zod.parse = (i, r) => {
|
|
@@ -18995,7 +18995,7 @@ const Rd = /* @__PURE__ */ D("$ZodRecord", (t, e) => {
|
|
|
18995
18995
|
inst: t
|
|
18996
18996
|
}), i;
|
|
18997
18997
|
};
|
|
18998
|
-
}),
|
|
18998
|
+
}), Dd = /* @__PURE__ */ B("$ZodLiteral", (t, e) => {
|
|
18999
18999
|
if (Xe.init(t, e), e.values.length === 0)
|
|
19000
19000
|
throw new Error("Cannot create literal schema with no valid values");
|
|
19001
19001
|
const s = new Set(e.values);
|
|
@@ -19008,10 +19008,10 @@ const Rd = /* @__PURE__ */ D("$ZodRecord", (t, e) => {
|
|
|
19008
19008
|
inst: t
|
|
19009
19009
|
}), a;
|
|
19010
19010
|
};
|
|
19011
|
-
}), Ld = /* @__PURE__ */
|
|
19011
|
+
}), Ld = /* @__PURE__ */ B("$ZodTransform", (t, e) => {
|
|
19012
19012
|
Xe.init(t, e), t._zod.parse = (s, a) => {
|
|
19013
19013
|
if (a.direction === "backward")
|
|
19014
|
-
throw new
|
|
19014
|
+
throw new Dc(t.constructor.name);
|
|
19015
19015
|
const i = e.transform(s.value, s);
|
|
19016
19016
|
if (a.async)
|
|
19017
19017
|
return (i instanceof Promise ? i : Promise.resolve(i)).then((n) => (s.value = n, s));
|
|
@@ -19023,8 +19023,8 @@ const Rd = /* @__PURE__ */ D("$ZodRecord", (t, e) => {
|
|
|
19023
19023
|
function Xo(t, e) {
|
|
19024
19024
|
return t.issues.length && e === void 0 ? { issues: [], value: void 0 } : t;
|
|
19025
19025
|
}
|
|
19026
|
-
const nf = /* @__PURE__ */
|
|
19027
|
-
Xe.init(t, e), t._zod.optin = "optional", t._zod.optout = "optional",
|
|
19026
|
+
const nf = /* @__PURE__ */ B("$ZodOptional", (t, e) => {
|
|
19027
|
+
Xe.init(t, e), t._zod.optin = "optional", t._zod.optout = "optional", Be(t._zod, "values", () => e.innerType._zod.values ? /* @__PURE__ */ new Set([...e.innerType._zod.values, void 0]) : void 0), Be(t._zod, "pattern", () => {
|
|
19028
19028
|
const s = e.innerType._zod.pattern;
|
|
19029
19029
|
return s ? new RegExp(`^(${no(s.source)})?$`) : void 0;
|
|
19030
19030
|
}), t._zod.parse = (s, a) => {
|
|
@@ -19034,15 +19034,15 @@ const nf = /* @__PURE__ */ D("$ZodOptional", (t, e) => {
|
|
|
19034
19034
|
}
|
|
19035
19035
|
return s.value === void 0 ? s : e.innerType._zod.run(s, a);
|
|
19036
19036
|
};
|
|
19037
|
-
}), Zd = /* @__PURE__ */
|
|
19038
|
-
nf.init(t, e),
|
|
19039
|
-
}), Ud = /* @__PURE__ */
|
|
19040
|
-
Xe.init(t, e),
|
|
19037
|
+
}), Zd = /* @__PURE__ */ B("$ZodExactOptional", (t, e) => {
|
|
19038
|
+
nf.init(t, e), Be(t._zod, "values", () => e.innerType._zod.values), Be(t._zod, "pattern", () => e.innerType._zod.pattern), t._zod.parse = (s, a) => e.innerType._zod.run(s, a);
|
|
19039
|
+
}), Ud = /* @__PURE__ */ B("$ZodNullable", (t, e) => {
|
|
19040
|
+
Xe.init(t, e), Be(t._zod, "optin", () => e.innerType._zod.optin), Be(t._zod, "optout", () => e.innerType._zod.optout), Be(t._zod, "pattern", () => {
|
|
19041
19041
|
const s = e.innerType._zod.pattern;
|
|
19042
19042
|
return s ? new RegExp(`^(${no(s.source)}|null)$`) : void 0;
|
|
19043
|
-
}),
|
|
19044
|
-
}), Gd = /* @__PURE__ */
|
|
19045
|
-
Xe.init(t, e), t._zod.optin = "optional",
|
|
19043
|
+
}), Be(t._zod, "values", () => e.innerType._zod.values ? /* @__PURE__ */ new Set([...e.innerType._zod.values, null]) : void 0), t._zod.parse = (s, a) => s.value === null ? s : e.innerType._zod.run(s, a);
|
|
19044
|
+
}), Gd = /* @__PURE__ */ B("$ZodDefault", (t, e) => {
|
|
19045
|
+
Xe.init(t, e), t._zod.optin = "optional", Be(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (s, a) => {
|
|
19046
19046
|
if (a.direction === "backward")
|
|
19047
19047
|
return e.innerType._zod.run(s, a);
|
|
19048
19048
|
if (s.value === void 0)
|
|
@@ -19054,10 +19054,10 @@ const nf = /* @__PURE__ */ D("$ZodOptional", (t, e) => {
|
|
|
19054
19054
|
function qo(t, e) {
|
|
19055
19055
|
return t.value === void 0 && (t.value = e.defaultValue), t;
|
|
19056
19056
|
}
|
|
19057
|
-
const Wd = /* @__PURE__ */
|
|
19058
|
-
Xe.init(t, e), t._zod.optin = "optional",
|
|
19059
|
-
}), Yd = /* @__PURE__ */
|
|
19060
|
-
Xe.init(t, e),
|
|
19057
|
+
const Wd = /* @__PURE__ */ B("$ZodPrefault", (t, e) => {
|
|
19058
|
+
Xe.init(t, e), t._zod.optin = "optional", Be(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (s, a) => (a.direction === "backward" || s.value === void 0 && (s.value = e.defaultValue), e.innerType._zod.run(s, a));
|
|
19059
|
+
}), Yd = /* @__PURE__ */ B("$ZodNonOptional", (t, e) => {
|
|
19060
|
+
Xe.init(t, e), Be(t._zod, "values", () => {
|
|
19061
19061
|
const s = e.innerType._zod.values;
|
|
19062
19062
|
return s ? new Set([...s].filter((a) => a !== void 0)) : void 0;
|
|
19063
19063
|
}), t._zod.parse = (s, a) => {
|
|
@@ -19073,8 +19073,8 @@ function Jo(t, e) {
|
|
|
19073
19073
|
inst: e
|
|
19074
19074
|
}), t;
|
|
19075
19075
|
}
|
|
19076
|
-
const Hd = /* @__PURE__ */
|
|
19077
|
-
Xe.init(t, e),
|
|
19076
|
+
const Hd = /* @__PURE__ */ B("$ZodCatch", (t, e) => {
|
|
19077
|
+
Xe.init(t, e), Be(t._zod, "optin", () => e.innerType._zod.optin), Be(t._zod, "optout", () => e.innerType._zod.optout), Be(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (s, a) => {
|
|
19078
19078
|
if (a.direction === "backward")
|
|
19079
19079
|
return e.innerType._zod.run(s, a);
|
|
19080
19080
|
const i = e.innerType._zod.run(s, a);
|
|
@@ -19092,8 +19092,8 @@ const Hd = /* @__PURE__ */ D("$ZodCatch", (t, e) => {
|
|
|
19092
19092
|
input: s.value
|
|
19093
19093
|
}), s.issues = []), s);
|
|
19094
19094
|
};
|
|
19095
|
-
}), Kd = /* @__PURE__ */
|
|
19096
|
-
Xe.init(t, e),
|
|
19095
|
+
}), Kd = /* @__PURE__ */ B("$ZodPipe", (t, e) => {
|
|
19096
|
+
Xe.init(t, e), Be(t._zod, "values", () => e.in._zod.values), Be(t._zod, "optin", () => e.in._zod.optin), Be(t._zod, "optout", () => e.out._zod.optout), Be(t._zod, "propValues", () => e.in._zod.propValues), t._zod.parse = (s, a) => {
|
|
19097
19097
|
if (a.direction === "backward") {
|
|
19098
19098
|
const r = e.out._zod.run(s, a);
|
|
19099
19099
|
return r instanceof Promise ? r.then((n) => _i(n, e.in, a)) : _i(r, e.in, a);
|
|
@@ -19105,8 +19105,8 @@ const Hd = /* @__PURE__ */ D("$ZodCatch", (t, e) => {
|
|
|
19105
19105
|
function _i(t, e, s) {
|
|
19106
19106
|
return t.issues.length ? (t.aborted = !0, t) : e._zod.run({ value: t.value, issues: t.issues }, s);
|
|
19107
19107
|
}
|
|
19108
|
-
const jd = /* @__PURE__ */
|
|
19109
|
-
Xe.init(t, e),
|
|
19108
|
+
const jd = /* @__PURE__ */ B("$ZodReadonly", (t, e) => {
|
|
19109
|
+
Xe.init(t, e), Be(t._zod, "propValues", () => e.innerType._zod.propValues), Be(t._zod, "values", () => e.innerType._zod.values), Be(t._zod, "optin", () => e.innerType?._zod?.optin), Be(t._zod, "optout", () => e.innerType?._zod?.optout), t._zod.parse = (s, a) => {
|
|
19110
19110
|
if (a.direction === "backward")
|
|
19111
19111
|
return e.innerType._zod.run(s, a);
|
|
19112
19112
|
const i = e.innerType._zod.run(s, a);
|
|
@@ -19116,7 +19116,7 @@ const jd = /* @__PURE__ */ D("$ZodReadonly", (t, e) => {
|
|
|
19116
19116
|
function Qo(t) {
|
|
19117
19117
|
return t.value = Object.freeze(t.value), t;
|
|
19118
19118
|
}
|
|
19119
|
-
const Xd = /* @__PURE__ */
|
|
19119
|
+
const Xd = /* @__PURE__ */ B("$ZodCustom", (t, e) => {
|
|
19120
19120
|
_t.init(t, e), Xe.init(t, e), t._zod.parse = (s, a) => s, t._zod.check = (s) => {
|
|
19121
19121
|
const a = s.value, i = e.fn(a);
|
|
19122
19122
|
if (i instanceof Promise)
|
|
@@ -19625,11 +19625,11 @@ function Rg() {
|
|
|
19625
19625
|
return /* @__PURE__ */ Na((t) => t.trim());
|
|
19626
19626
|
}
|
|
19627
19627
|
// @__NO_SIDE_EFFECTS__
|
|
19628
|
-
function
|
|
19628
|
+
function Bg() {
|
|
19629
19629
|
return /* @__PURE__ */ Na((t) => t.toLowerCase());
|
|
19630
19630
|
}
|
|
19631
19631
|
// @__NO_SIDE_EFFECTS__
|
|
19632
|
-
function
|
|
19632
|
+
function Dg() {
|
|
19633
19633
|
return /* @__PURE__ */ Na((t) => t.toUpperCase());
|
|
19634
19634
|
}
|
|
19635
19635
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -19693,7 +19693,7 @@ function cf(t) {
|
|
|
19693
19693
|
external: t?.external ?? void 0
|
|
19694
19694
|
};
|
|
19695
19695
|
}
|
|
19696
|
-
function
|
|
19696
|
+
function nt(t, e, s = { path: [], schemaPath: [] }) {
|
|
19697
19697
|
var a;
|
|
19698
19698
|
const i = t._zod.def, r = e.seen.get(t);
|
|
19699
19699
|
if (r)
|
|
@@ -19718,7 +19718,7 @@ function rt(t, e, s = { path: [], schemaPath: [] }) {
|
|
|
19718
19718
|
y(t, e, d, f);
|
|
19719
19719
|
}
|
|
19720
19720
|
const h = t._zod.parent;
|
|
19721
|
-
h && (n.ref || (n.ref = h),
|
|
19721
|
+
h && (n.ref || (n.ref = h), nt(h, e, f), e.seen.get(h).isParent = !0);
|
|
19722
19722
|
}
|
|
19723
19723
|
const l = e.metadataRegistry.get(t);
|
|
19724
19724
|
return l && Object.assign(n.schema, l), e.io === "input" && Ct(t) && (delete n.schema.examples, delete n.schema.default), e.io === "input" && n.schema._prefault && ((a = n.schema).default ?? (a.default = n.schema._prefault)), delete n.schema._prefault, e.seen.get(t).schema;
|
|
@@ -19905,10 +19905,10 @@ function Ct(t, e) {
|
|
|
19905
19905
|
}
|
|
19906
19906
|
const Yg = (t, e = {}) => (s) => {
|
|
19907
19907
|
const a = cf({ ...s, processors: e });
|
|
19908
|
-
return
|
|
19908
|
+
return nt(t, a), ff(a, t), uf(a, t);
|
|
19909
19909
|
}, ir = (t, e, s = {}) => (a) => {
|
|
19910
19910
|
const { libraryOptions: i, target: r } = a ?? {}, n = cf({ ...i ?? {}, target: r, io: e, processors: s });
|
|
19911
|
-
return
|
|
19911
|
+
return nt(t, n), ff(n, t), uf(n, t);
|
|
19912
19912
|
}, Hg = {
|
|
19913
19913
|
guid: "uuid",
|
|
19914
19914
|
url: "uri",
|
|
@@ -19967,13 +19967,13 @@ const Yg = (t, e = {}) => (s) => {
|
|
|
19967
19967
|
throw new Error("Transforms cannot be represented in JSON Schema");
|
|
19968
19968
|
}, ap = (t, e, s, a) => {
|
|
19969
19969
|
const i = s, r = t._zod.def, { minimum: n, maximum: o } = t._zod.bag;
|
|
19970
|
-
typeof n == "number" && (i.minItems = n), typeof o == "number" && (i.maxItems = o), i.type = "array", i.items =
|
|
19970
|
+
typeof n == "number" && (i.minItems = n), typeof o == "number" && (i.maxItems = o), i.type = "array", i.items = nt(r.element, e, { ...a, path: [...a.path, "items"] });
|
|
19971
19971
|
}, ip = (t, e, s, a) => {
|
|
19972
19972
|
const i = s, r = t._zod.def;
|
|
19973
19973
|
i.type = "object", i.properties = {};
|
|
19974
19974
|
const n = r.shape;
|
|
19975
19975
|
for (const c in n)
|
|
19976
|
-
i.properties[c] =
|
|
19976
|
+
i.properties[c] = nt(n[c], e, {
|
|
19977
19977
|
...a,
|
|
19978
19978
|
path: [...a.path, "properties", c]
|
|
19979
19979
|
});
|
|
@@ -19981,21 +19981,21 @@ const Yg = (t, e = {}) => (s) => {
|
|
|
19981
19981
|
const f = r.shape[c]._zod;
|
|
19982
19982
|
return e.io === "input" ? f.optin === void 0 : f.optout === void 0;
|
|
19983
19983
|
}));
|
|
19984
|
-
l.size > 0 && (i.required = Array.from(l)), r.catchall?._zod.def.type === "never" ? i.additionalProperties = !1 : r.catchall ? r.catchall && (i.additionalProperties =
|
|
19984
|
+
l.size > 0 && (i.required = Array.from(l)), r.catchall?._zod.def.type === "never" ? i.additionalProperties = !1 : r.catchall ? r.catchall && (i.additionalProperties = nt(r.catchall, e, {
|
|
19985
19985
|
...a,
|
|
19986
19986
|
path: [...a.path, "additionalProperties"]
|
|
19987
19987
|
})) : e.io === "output" && (i.additionalProperties = !1);
|
|
19988
19988
|
}, rp = (t, e, s, a) => {
|
|
19989
|
-
const i = t._zod.def, r = i.inclusive === !1, n = i.options.map((o, l) =>
|
|
19989
|
+
const i = t._zod.def, r = i.inclusive === !1, n = i.options.map((o, l) => nt(o, e, {
|
|
19990
19990
|
...a,
|
|
19991
19991
|
path: [...a.path, r ? "oneOf" : "anyOf", l]
|
|
19992
19992
|
}));
|
|
19993
19993
|
r ? s.oneOf = n : s.anyOf = n;
|
|
19994
19994
|
}, np = (t, e, s, a) => {
|
|
19995
|
-
const i = t._zod.def, r =
|
|
19995
|
+
const i = t._zod.def, r = nt(i.left, e, {
|
|
19996
19996
|
...a,
|
|
19997
19997
|
path: [...a.path, "allOf", 0]
|
|
19998
|
-
}), n =
|
|
19998
|
+
}), n = nt(i.right, e, {
|
|
19999
19999
|
...a,
|
|
20000
20000
|
path: [...a.path, "allOf", 1]
|
|
20001
20001
|
}), o = (c) => "allOf" in c && Object.keys(c).length === 1, l = [
|
|
@@ -20008,7 +20008,7 @@ const Yg = (t, e = {}) => (s) => {
|
|
|
20008
20008
|
i.type = "object";
|
|
20009
20009
|
const n = r.keyType, l = n._zod.bag?.patterns;
|
|
20010
20010
|
if (r.mode === "loose" && l && l.size > 0) {
|
|
20011
|
-
const f =
|
|
20011
|
+
const f = nt(r.valueType, e, {
|
|
20012
20012
|
...a,
|
|
20013
20013
|
path: [...a.path, "patternProperties", "*"]
|
|
20014
20014
|
});
|
|
@@ -20016,10 +20016,10 @@ const Yg = (t, e = {}) => (s) => {
|
|
|
20016
20016
|
for (const h of l)
|
|
20017
20017
|
i.patternProperties[h.source] = f;
|
|
20018
20018
|
} else
|
|
20019
|
-
(e.target === "draft-07" || e.target === "draft-2020-12") && (i.propertyNames =
|
|
20019
|
+
(e.target === "draft-07" || e.target === "draft-2020-12") && (i.propertyNames = nt(r.keyType, e, {
|
|
20020
20020
|
...a,
|
|
20021
20021
|
path: [...a.path, "propertyNames"]
|
|
20022
|
-
})), i.additionalProperties =
|
|
20022
|
+
})), i.additionalProperties = nt(r.valueType, e, {
|
|
20023
20023
|
...a,
|
|
20024
20024
|
path: [...a.path, "additionalProperties"]
|
|
20025
20025
|
});
|
|
@@ -20029,26 +20029,26 @@ const Yg = (t, e = {}) => (s) => {
|
|
|
20029
20029
|
f.length > 0 && (i.required = f);
|
|
20030
20030
|
}
|
|
20031
20031
|
}, lp = (t, e, s, a) => {
|
|
20032
|
-
const i = t._zod.def, r =
|
|
20032
|
+
const i = t._zod.def, r = nt(i.innerType, e, a), n = e.seen.get(t);
|
|
20033
20033
|
e.target === "openapi-3.0" ? (n.ref = i.innerType, s.nullable = !0) : s.anyOf = [r, { type: "null" }];
|
|
20034
20034
|
}, cp = (t, e, s, a) => {
|
|
20035
20035
|
const i = t._zod.def;
|
|
20036
|
-
|
|
20036
|
+
nt(i.innerType, e, a);
|
|
20037
20037
|
const r = e.seen.get(t);
|
|
20038
20038
|
r.ref = i.innerType;
|
|
20039
20039
|
}, fp = (t, e, s, a) => {
|
|
20040
20040
|
const i = t._zod.def;
|
|
20041
|
-
|
|
20041
|
+
nt(i.innerType, e, a);
|
|
20042
20042
|
const r = e.seen.get(t);
|
|
20043
20043
|
r.ref = i.innerType, s.default = JSON.parse(JSON.stringify(i.defaultValue));
|
|
20044
20044
|
}, up = (t, e, s, a) => {
|
|
20045
20045
|
const i = t._zod.def;
|
|
20046
|
-
|
|
20046
|
+
nt(i.innerType, e, a);
|
|
20047
20047
|
const r = e.seen.get(t);
|
|
20048
20048
|
r.ref = i.innerType, e.io === "input" && (s._prefault = JSON.parse(JSON.stringify(i.defaultValue)));
|
|
20049
20049
|
}, hp = (t, e, s, a) => {
|
|
20050
20050
|
const i = t._zod.def;
|
|
20051
|
-
|
|
20051
|
+
nt(i.innerType, e, a);
|
|
20052
20052
|
const r = e.seen.get(t);
|
|
20053
20053
|
r.ref = i.innerType;
|
|
20054
20054
|
let n;
|
|
@@ -20060,38 +20060,38 @@ const Yg = (t, e = {}) => (s) => {
|
|
|
20060
20060
|
s.default = n;
|
|
20061
20061
|
}, dp = (t, e, s, a) => {
|
|
20062
20062
|
const i = t._zod.def, r = e.io === "input" ? i.in._zod.def.type === "transform" ? i.out : i.in : i.out;
|
|
20063
|
-
|
|
20063
|
+
nt(r, e, a);
|
|
20064
20064
|
const n = e.seen.get(t);
|
|
20065
20065
|
n.ref = r;
|
|
20066
20066
|
}, gp = (t, e, s, a) => {
|
|
20067
20067
|
const i = t._zod.def;
|
|
20068
|
-
|
|
20068
|
+
nt(i.innerType, e, a);
|
|
20069
20069
|
const r = e.seen.get(t);
|
|
20070
20070
|
r.ref = i.innerType, s.readOnly = !0;
|
|
20071
20071
|
}, hf = (t, e, s, a) => {
|
|
20072
20072
|
const i = t._zod.def;
|
|
20073
|
-
|
|
20073
|
+
nt(i.innerType, e, a);
|
|
20074
20074
|
const r = e.seen.get(t);
|
|
20075
20075
|
r.ref = i.innerType;
|
|
20076
|
-
}, pp = /* @__PURE__ */
|
|
20076
|
+
}, pp = /* @__PURE__ */ B("ZodISODateTime", (t, e) => {
|
|
20077
20077
|
dd.init(t, e), $e.init(t, e);
|
|
20078
20078
|
});
|
|
20079
20079
|
function mp(t) {
|
|
20080
20080
|
return /* @__PURE__ */ vg(pp, t);
|
|
20081
20081
|
}
|
|
20082
|
-
const yp = /* @__PURE__ */
|
|
20082
|
+
const yp = /* @__PURE__ */ B("ZodISODate", (t, e) => {
|
|
20083
20083
|
gd.init(t, e), $e.init(t, e);
|
|
20084
20084
|
});
|
|
20085
20085
|
function bp(t) {
|
|
20086
20086
|
return /* @__PURE__ */ xg(yp, t);
|
|
20087
20087
|
}
|
|
20088
|
-
const wp = /* @__PURE__ */
|
|
20088
|
+
const wp = /* @__PURE__ */ B("ZodISOTime", (t, e) => {
|
|
20089
20089
|
pd.init(t, e), $e.init(t, e);
|
|
20090
20090
|
});
|
|
20091
20091
|
function vp(t) {
|
|
20092
20092
|
return /* @__PURE__ */ Cg(wp, t);
|
|
20093
20093
|
}
|
|
20094
|
-
const xp = /* @__PURE__ */
|
|
20094
|
+
const xp = /* @__PURE__ */ B("ZodISODuration", (t, e) => {
|
|
20095
20095
|
md.init(t, e), $e.init(t, e);
|
|
20096
20096
|
});
|
|
20097
20097
|
function Cp(t) {
|
|
@@ -20126,9 +20126,9 @@ const Ap = (t, e) => {
|
|
|
20126
20126
|
// enumerable: false,
|
|
20127
20127
|
}
|
|
20128
20128
|
});
|
|
20129
|
-
},
|
|
20129
|
+
}, Bt = B("ZodError", Ap, {
|
|
20130
20130
|
Parent: Error
|
|
20131
|
-
}), Np = /* @__PURE__ */ lo(
|
|
20131
|
+
}), Np = /* @__PURE__ */ lo(Bt), kp = /* @__PURE__ */ co(Bt), Sp = /* @__PURE__ */ Fr(Bt), Vp = /* @__PURE__ */ Pr(Bt), Ip = /* @__PURE__ */ lh(Bt), _p = /* @__PURE__ */ ch(Bt), Fp = /* @__PURE__ */ fh(Bt), Pp = /* @__PURE__ */ uh(Bt), Ep = /* @__PURE__ */ hh(Bt), Tp = /* @__PURE__ */ dh(Bt), Op = /* @__PURE__ */ gh(Bt), Mp = /* @__PURE__ */ ph(Bt), Je = /* @__PURE__ */ B("ZodType", (t, e) => (Xe.init(t, e), Object.assign(t["~standard"], {
|
|
20132
20132
|
jsonSchema: {
|
|
20133
20133
|
input: ir(t, "input"),
|
|
20134
20134
|
output: ir(t, "output")
|
|
@@ -20153,57 +20153,57 @@ const Ap = (t, e) => {
|
|
|
20153
20153
|
return Ua.get(t);
|
|
20154
20154
|
const a = t.clone();
|
|
20155
20155
|
return Ua.add(a, s[0]), a;
|
|
20156
|
-
}, t.isOptional = () => t.safeParse(void 0).success, t.isNullable = () => t.safeParse(null).success, t.apply = (s) => s(t), t)), df = /* @__PURE__ */
|
|
20156
|
+
}, t.isOptional = () => t.safeParse(void 0).success, t.isNullable = () => t.safeParse(null).success, t.apply = (s) => s(t), t)), df = /* @__PURE__ */ B("_ZodString", (t, e) => {
|
|
20157
20157
|
fo.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (a, i, r) => Kg(t, a, i);
|
|
20158
20158
|
const s = t._zod.bag;
|
|
20159
|
-
t.format = s.format ?? null, t.minLength = s.minimum ?? null, t.maxLength = s.maximum ?? null, t.regex = (...a) => t.check(/* @__PURE__ */ Fg(...a)), t.includes = (...a) => t.check(/* @__PURE__ */ Tg(...a)), t.startsWith = (...a) => t.check(/* @__PURE__ */ Og(...a)), t.endsWith = (...a) => t.check(/* @__PURE__ */ Mg(...a)), t.min = (...a) => t.check(/* @__PURE__ */ ar(...a)), t.max = (...a) => t.check(/* @__PURE__ */ of(...a)), t.length = (...a) => t.check(/* @__PURE__ */ lf(...a)), t.nonempty = (...a) => t.check(/* @__PURE__ */ ar(1, ...a)), t.lowercase = (a) => t.check(/* @__PURE__ */ Pg(a)), t.uppercase = (a) => t.check(/* @__PURE__ */ Eg(a)), t.trim = () => t.check(/* @__PURE__ */ Rg()), t.normalize = (...a) => t.check(/* @__PURE__ */ zg(...a)), t.toLowerCase = () => t.check(/* @__PURE__ */
|
|
20160
|
-
}), zp = /* @__PURE__ */
|
|
20161
|
-
fo.init(t, e), df.init(t, e), t.email = (s) => t.check(/* @__PURE__ */ $d(Rp, s)), t.url = (s) => t.check(/* @__PURE__ */ ig(
|
|
20159
|
+
t.format = s.format ?? null, t.minLength = s.minimum ?? null, t.maxLength = s.maximum ?? null, t.regex = (...a) => t.check(/* @__PURE__ */ Fg(...a)), t.includes = (...a) => t.check(/* @__PURE__ */ Tg(...a)), t.startsWith = (...a) => t.check(/* @__PURE__ */ Og(...a)), t.endsWith = (...a) => t.check(/* @__PURE__ */ Mg(...a)), t.min = (...a) => t.check(/* @__PURE__ */ ar(...a)), t.max = (...a) => t.check(/* @__PURE__ */ of(...a)), t.length = (...a) => t.check(/* @__PURE__ */ lf(...a)), t.nonempty = (...a) => t.check(/* @__PURE__ */ ar(1, ...a)), t.lowercase = (a) => t.check(/* @__PURE__ */ Pg(a)), t.uppercase = (a) => t.check(/* @__PURE__ */ Eg(a)), t.trim = () => t.check(/* @__PURE__ */ Rg()), t.normalize = (...a) => t.check(/* @__PURE__ */ zg(...a)), t.toLowerCase = () => t.check(/* @__PURE__ */ Bg()), t.toUpperCase = () => t.check(/* @__PURE__ */ Dg()), t.slugify = () => t.check(/* @__PURE__ */ Lg());
|
|
20160
|
+
}), zp = /* @__PURE__ */ B("ZodString", (t, e) => {
|
|
20161
|
+
fo.init(t, e), df.init(t, e), t.email = (s) => t.check(/* @__PURE__ */ $d(Rp, s)), t.url = (s) => t.check(/* @__PURE__ */ ig(Bp, s)), t.jwt = (s) => t.check(/* @__PURE__ */ wg($p, s)), t.emoji = (s) => t.check(/* @__PURE__ */ rg(Dp, s)), t.guid = (s) => t.check(/* @__PURE__ */ tl(rl, s)), t.uuid = (s) => t.check(/* @__PURE__ */ eg(Fi, s)), t.uuidv4 = (s) => t.check(/* @__PURE__ */ tg(Fi, s)), t.uuidv6 = (s) => t.check(/* @__PURE__ */ sg(Fi, s)), t.uuidv7 = (s) => t.check(/* @__PURE__ */ ag(Fi, s)), t.nanoid = (s) => t.check(/* @__PURE__ */ ng(Lp, s)), t.guid = (s) => t.check(/* @__PURE__ */ tl(rl, s)), t.cuid = (s) => t.check(/* @__PURE__ */ og(Zp, s)), t.cuid2 = (s) => t.check(/* @__PURE__ */ lg(Up, s)), t.ulid = (s) => t.check(/* @__PURE__ */ cg(Gp, s)), t.base64 = (s) => t.check(/* @__PURE__ */ mg(qp, s)), t.base64url = (s) => t.check(/* @__PURE__ */ yg(Jp, s)), t.xid = (s) => t.check(/* @__PURE__ */ fg(Wp, s)), t.ksuid = (s) => t.check(/* @__PURE__ */ ug(Yp, s)), t.ipv4 = (s) => t.check(/* @__PURE__ */ hg(Hp, s)), t.ipv6 = (s) => t.check(/* @__PURE__ */ dg(Kp, s)), t.cidrv4 = (s) => t.check(/* @__PURE__ */ gg(jp, s)), t.cidrv6 = (s) => t.check(/* @__PURE__ */ pg(Xp, s)), t.e164 = (s) => t.check(/* @__PURE__ */ bg(Qp, s)), t.datetime = (s) => t.check(mp(s)), t.date = (s) => t.check(bp(s)), t.time = (s) => t.check(vp(s)), t.duration = (s) => t.check(Cp(s));
|
|
20162
20162
|
});
|
|
20163
20163
|
function p(t) {
|
|
20164
20164
|
return /* @__PURE__ */ Qd(zp, t);
|
|
20165
20165
|
}
|
|
20166
|
-
const $e = /* @__PURE__ */
|
|
20166
|
+
const $e = /* @__PURE__ */ B("ZodStringFormat", (t, e) => {
|
|
20167
20167
|
qe.init(t, e), df.init(t, e);
|
|
20168
|
-
}), Rp = /* @__PURE__ */
|
|
20168
|
+
}), Rp = /* @__PURE__ */ B("ZodEmail", (t, e) => {
|
|
20169
20169
|
id.init(t, e), $e.init(t, e);
|
|
20170
|
-
}), rl = /* @__PURE__ */
|
|
20170
|
+
}), rl = /* @__PURE__ */ B("ZodGUID", (t, e) => {
|
|
20171
20171
|
sd.init(t, e), $e.init(t, e);
|
|
20172
|
-
}), Fi = /* @__PURE__ */
|
|
20172
|
+
}), Fi = /* @__PURE__ */ B("ZodUUID", (t, e) => {
|
|
20173
20173
|
ad.init(t, e), $e.init(t, e);
|
|
20174
|
-
}),
|
|
20174
|
+
}), Bp = /* @__PURE__ */ B("ZodURL", (t, e) => {
|
|
20175
20175
|
rd.init(t, e), $e.init(t, e);
|
|
20176
|
-
}),
|
|
20176
|
+
}), Dp = /* @__PURE__ */ B("ZodEmoji", (t, e) => {
|
|
20177
20177
|
nd.init(t, e), $e.init(t, e);
|
|
20178
|
-
}), Lp = /* @__PURE__ */
|
|
20178
|
+
}), Lp = /* @__PURE__ */ B("ZodNanoID", (t, e) => {
|
|
20179
20179
|
od.init(t, e), $e.init(t, e);
|
|
20180
|
-
}), Zp = /* @__PURE__ */
|
|
20180
|
+
}), Zp = /* @__PURE__ */ B("ZodCUID", (t, e) => {
|
|
20181
20181
|
ld.init(t, e), $e.init(t, e);
|
|
20182
|
-
}), Up = /* @__PURE__ */
|
|
20182
|
+
}), Up = /* @__PURE__ */ B("ZodCUID2", (t, e) => {
|
|
20183
20183
|
cd.init(t, e), $e.init(t, e);
|
|
20184
|
-
}), Gp = /* @__PURE__ */
|
|
20184
|
+
}), Gp = /* @__PURE__ */ B("ZodULID", (t, e) => {
|
|
20185
20185
|
fd.init(t, e), $e.init(t, e);
|
|
20186
|
-
}), Wp = /* @__PURE__ */
|
|
20186
|
+
}), Wp = /* @__PURE__ */ B("ZodXID", (t, e) => {
|
|
20187
20187
|
ud.init(t, e), $e.init(t, e);
|
|
20188
|
-
}), Yp = /* @__PURE__ */
|
|
20188
|
+
}), Yp = /* @__PURE__ */ B("ZodKSUID", (t, e) => {
|
|
20189
20189
|
hd.init(t, e), $e.init(t, e);
|
|
20190
|
-
}), Hp = /* @__PURE__ */
|
|
20190
|
+
}), Hp = /* @__PURE__ */ B("ZodIPv4", (t, e) => {
|
|
20191
20191
|
yd.init(t, e), $e.init(t, e);
|
|
20192
|
-
}), Kp = /* @__PURE__ */
|
|
20192
|
+
}), Kp = /* @__PURE__ */ B("ZodIPv6", (t, e) => {
|
|
20193
20193
|
bd.init(t, e), $e.init(t, e);
|
|
20194
|
-
}), jp = /* @__PURE__ */
|
|
20194
|
+
}), jp = /* @__PURE__ */ B("ZodCIDRv4", (t, e) => {
|
|
20195
20195
|
wd.init(t, e), $e.init(t, e);
|
|
20196
|
-
}), Xp = /* @__PURE__ */
|
|
20196
|
+
}), Xp = /* @__PURE__ */ B("ZodCIDRv6", (t, e) => {
|
|
20197
20197
|
vd.init(t, e), $e.init(t, e);
|
|
20198
|
-
}), qp = /* @__PURE__ */
|
|
20198
|
+
}), qp = /* @__PURE__ */ B("ZodBase64", (t, e) => {
|
|
20199
20199
|
xd.init(t, e), $e.init(t, e);
|
|
20200
|
-
}), Jp = /* @__PURE__ */
|
|
20200
|
+
}), Jp = /* @__PURE__ */ B("ZodBase64URL", (t, e) => {
|
|
20201
20201
|
Ad.init(t, e), $e.init(t, e);
|
|
20202
|
-
}), Qp = /* @__PURE__ */
|
|
20202
|
+
}), Qp = /* @__PURE__ */ B("ZodE164", (t, e) => {
|
|
20203
20203
|
Nd.init(t, e), $e.init(t, e);
|
|
20204
|
-
}), $p = /* @__PURE__ */
|
|
20204
|
+
}), $p = /* @__PURE__ */ B("ZodJWT", (t, e) => {
|
|
20205
20205
|
Sd.init(t, e), $e.init(t, e);
|
|
20206
|
-
}), gf = /* @__PURE__ */
|
|
20206
|
+
}), gf = /* @__PURE__ */ B("ZodNumber", (t, e) => {
|
|
20207
20207
|
tf.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (a, i, r) => jg(t, a, i), t.gt = (a, i) => t.check(/* @__PURE__ */ al(a, i)), t.gte = (a, i) => t.check(/* @__PURE__ */ nn(a, i)), t.min = (a, i) => t.check(/* @__PURE__ */ nn(a, i)), t.lt = (a, i) => t.check(/* @__PURE__ */ sl(a, i)), t.lte = (a, i) => t.check(/* @__PURE__ */ rn(a, i)), t.max = (a, i) => t.check(/* @__PURE__ */ rn(a, i)), t.int = (a) => t.check(nl(a)), t.safe = (a) => t.check(nl(a)), t.positive = (a) => t.check(/* @__PURE__ */ al(0, a)), t.nonnegative = (a) => t.check(/* @__PURE__ */ nn(0, a)), t.negative = (a) => t.check(/* @__PURE__ */ sl(0, a)), t.nonpositive = (a) => t.check(/* @__PURE__ */ rn(0, a)), t.multipleOf = (a, i) => t.check(/* @__PURE__ */ il(a, i)), t.step = (a, i) => t.check(/* @__PURE__ */ il(a, i)), t.finite = () => t;
|
|
20208
20208
|
const s = t._zod.bag;
|
|
20209
20209
|
t.minValue = Math.max(s.minimum ?? Number.NEGATIVE_INFINITY, s.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, t.maxValue = Math.min(s.maximum ?? Number.POSITIVE_INFINITY, s.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, t.isInt = (s.format ?? "").includes("int") || Number.isSafeInteger(s.multipleOf ?? 0.5), t.isFinite = !0, t.format = s.format ?? null;
|
|
@@ -20211,44 +20211,44 @@ const $e = /* @__PURE__ */ D("ZodStringFormat", (t, e) => {
|
|
|
20211
20211
|
function A(t) {
|
|
20212
20212
|
return /* @__PURE__ */ Ng(gf, t);
|
|
20213
20213
|
}
|
|
20214
|
-
const em = /* @__PURE__ */
|
|
20214
|
+
const em = /* @__PURE__ */ B("ZodNumberFormat", (t, e) => {
|
|
20215
20215
|
Vd.init(t, e), gf.init(t, e);
|
|
20216
20216
|
});
|
|
20217
20217
|
function nl(t) {
|
|
20218
20218
|
return /* @__PURE__ */ kg(em, t);
|
|
20219
20219
|
}
|
|
20220
|
-
const tm = /* @__PURE__ */
|
|
20220
|
+
const tm = /* @__PURE__ */ B("ZodBoolean", (t, e) => {
|
|
20221
20221
|
Id.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => Xg(t, s, a);
|
|
20222
20222
|
});
|
|
20223
20223
|
function He(t) {
|
|
20224
20224
|
return /* @__PURE__ */ Sg(tm, t);
|
|
20225
20225
|
}
|
|
20226
|
-
const sm = /* @__PURE__ */
|
|
20226
|
+
const sm = /* @__PURE__ */ B("ZodNull", (t, e) => {
|
|
20227
20227
|
_d.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => qg(t, s, a);
|
|
20228
20228
|
});
|
|
20229
20229
|
function ol(t) {
|
|
20230
20230
|
return /* @__PURE__ */ Vg(sm, t);
|
|
20231
20231
|
}
|
|
20232
|
-
const am = /* @__PURE__ */
|
|
20232
|
+
const am = /* @__PURE__ */ B("ZodUnknown", (t, e) => {
|
|
20233
20233
|
Fd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => Qg();
|
|
20234
20234
|
});
|
|
20235
20235
|
function Xs() {
|
|
20236
20236
|
return /* @__PURE__ */ Ig(am);
|
|
20237
20237
|
}
|
|
20238
|
-
const im = /* @__PURE__ */
|
|
20238
|
+
const im = /* @__PURE__ */ B("ZodNever", (t, e) => {
|
|
20239
20239
|
Pd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => Jg(t, s, a);
|
|
20240
20240
|
});
|
|
20241
20241
|
function we(t) {
|
|
20242
20242
|
return /* @__PURE__ */ _g(im, t);
|
|
20243
20243
|
}
|
|
20244
|
-
const rm = /* @__PURE__ */
|
|
20244
|
+
const rm = /* @__PURE__ */ B("ZodArray", (t, e) => {
|
|
20245
20245
|
Ed.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => ap(t, s, a, i), t.element = e.element, t.min = (s, a) => t.check(/* @__PURE__ */ ar(s, a)), t.nonempty = (s) => t.check(/* @__PURE__ */ ar(1, s)), t.max = (s, a) => t.check(/* @__PURE__ */ of(s, a)), t.length = (s, a) => t.check(/* @__PURE__ */ lf(s, a)), t.unwrap = () => t.element;
|
|
20246
20246
|
});
|
|
20247
20247
|
function Ie(t, e) {
|
|
20248
20248
|
return /* @__PURE__ */ Zg(rm, t, e);
|
|
20249
20249
|
}
|
|
20250
|
-
const nm = /* @__PURE__ */
|
|
20251
|
-
Od.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => ip(t, s, a, i),
|
|
20250
|
+
const nm = /* @__PURE__ */ B("ZodObject", (t, e) => {
|
|
20251
|
+
Od.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => ip(t, s, a, i), Be(t, "shape", () => e.shape), t.keyof = () => R(Object.keys(t._zod.def.shape)), t.catchall = (s) => t.clone({ ...t._zod.def, catchall: s }), t.passthrough = () => t.clone({ ...t._zod.def, catchall: Xs() }), t.loose = () => t.clone({ ...t._zod.def, catchall: Xs() }), t.strict = () => t.clone({ ...t._zod.def, catchall: we() }), t.strip = () => t.clone({ ...t._zod.def, catchall: void 0 }), t.extend = (s) => $u(t, s), t.safeExtend = (s) => eh(t, s), t.merge = (s) => th(t, s), t.pick = (s) => Ju(t, s), t.omit = (s) => Qu(t, s), t.partial = (...s) => sh(yf, t, s[0]), t.required = (...s) => ah(bf, t, s[0]);
|
|
20252
20252
|
});
|
|
20253
20253
|
function C(t, e) {
|
|
20254
20254
|
const s = {
|
|
@@ -20258,7 +20258,7 @@ function C(t, e) {
|
|
|
20258
20258
|
};
|
|
20259
20259
|
return new nm(s);
|
|
20260
20260
|
}
|
|
20261
|
-
const pf = /* @__PURE__ */
|
|
20261
|
+
const pf = /* @__PURE__ */ B("ZodUnion", (t, e) => {
|
|
20262
20262
|
rf.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => rp(t, s, a, i), t.options = e.options;
|
|
20263
20263
|
});
|
|
20264
20264
|
function w(t, e) {
|
|
@@ -20268,7 +20268,7 @@ function w(t, e) {
|
|
|
20268
20268
|
...le(e)
|
|
20269
20269
|
});
|
|
20270
20270
|
}
|
|
20271
|
-
const om = /* @__PURE__ */
|
|
20271
|
+
const om = /* @__PURE__ */ B("ZodDiscriminatedUnion", (t, e) => {
|
|
20272
20272
|
pf.init(t, e), Md.init(t, e);
|
|
20273
20273
|
});
|
|
20274
20274
|
function Tr(t, e, s) {
|
|
@@ -20279,7 +20279,7 @@ function Tr(t, e, s) {
|
|
|
20279
20279
|
...le(s)
|
|
20280
20280
|
});
|
|
20281
20281
|
}
|
|
20282
|
-
const lm = /* @__PURE__ */
|
|
20282
|
+
const lm = /* @__PURE__ */ B("ZodIntersection", (t, e) => {
|
|
20283
20283
|
zd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => np(t, s, a, i);
|
|
20284
20284
|
});
|
|
20285
20285
|
function cm(t, e) {
|
|
@@ -20289,7 +20289,7 @@ function cm(t, e) {
|
|
|
20289
20289
|
right: e
|
|
20290
20290
|
});
|
|
20291
20291
|
}
|
|
20292
|
-
const fm = /* @__PURE__ */
|
|
20292
|
+
const fm = /* @__PURE__ */ B("ZodRecord", (t, e) => {
|
|
20293
20293
|
Rd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => op(t, s, a, i), t.keyType = e.keyType, t.valueType = e.valueType;
|
|
20294
20294
|
});
|
|
20295
20295
|
function um(t, e, s) {
|
|
@@ -20300,8 +20300,8 @@ function um(t, e, s) {
|
|
|
20300
20300
|
...le(s)
|
|
20301
20301
|
});
|
|
20302
20302
|
}
|
|
20303
|
-
const zn = /* @__PURE__ */
|
|
20304
|
-
|
|
20303
|
+
const zn = /* @__PURE__ */ B("ZodEnum", (t, e) => {
|
|
20304
|
+
Bd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (a, i, r) => $g(t, a, i), t.enum = e.entries, t.options = Object.values(e.entries);
|
|
20305
20305
|
const s = new Set(Object.keys(e.entries));
|
|
20306
20306
|
t.extract = (a, i) => {
|
|
20307
20307
|
const r = {};
|
|
@@ -20339,8 +20339,8 @@ function R(t, e) {
|
|
|
20339
20339
|
...le(e)
|
|
20340
20340
|
});
|
|
20341
20341
|
}
|
|
20342
|
-
const hm = /* @__PURE__ */
|
|
20343
|
-
|
|
20342
|
+
const hm = /* @__PURE__ */ B("ZodLiteral", (t, e) => {
|
|
20343
|
+
Dd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => ep(t, s, a), t.values = new Set(e.values), Object.defineProperty(t, "value", {
|
|
20344
20344
|
get() {
|
|
20345
20345
|
if (e.values.length > 1)
|
|
20346
20346
|
throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
@@ -20355,10 +20355,10 @@ function ge(t, e) {
|
|
|
20355
20355
|
...le(e)
|
|
20356
20356
|
});
|
|
20357
20357
|
}
|
|
20358
|
-
const dm = /* @__PURE__ */
|
|
20358
|
+
const dm = /* @__PURE__ */ B("ZodTransform", (t, e) => {
|
|
20359
20359
|
Ld.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => sp(t, s), t._zod.parse = (s, a) => {
|
|
20360
20360
|
if (a.direction === "backward")
|
|
20361
|
-
throw new
|
|
20361
|
+
throw new Dc(t.constructor.name);
|
|
20362
20362
|
s.addIssue = (r) => {
|
|
20363
20363
|
if (typeof r == "string")
|
|
20364
20364
|
s.issues.push(ai(r, s.value, e));
|
|
@@ -20377,7 +20377,7 @@ function mf(t) {
|
|
|
20377
20377
|
transform: t
|
|
20378
20378
|
});
|
|
20379
20379
|
}
|
|
20380
|
-
const yf = /* @__PURE__ */
|
|
20380
|
+
const yf = /* @__PURE__ */ B("ZodOptional", (t, e) => {
|
|
20381
20381
|
nf.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => hf(t, s, a, i), t.unwrap = () => t._zod.def.innerType;
|
|
20382
20382
|
});
|
|
20383
20383
|
function g(t) {
|
|
@@ -20386,7 +20386,7 @@ function g(t) {
|
|
|
20386
20386
|
innerType: t
|
|
20387
20387
|
});
|
|
20388
20388
|
}
|
|
20389
|
-
const gm = /* @__PURE__ */
|
|
20389
|
+
const gm = /* @__PURE__ */ B("ZodExactOptional", (t, e) => {
|
|
20390
20390
|
Zd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => hf(t, s, a, i), t.unwrap = () => t._zod.def.innerType;
|
|
20391
20391
|
});
|
|
20392
20392
|
function pm(t) {
|
|
@@ -20395,7 +20395,7 @@ function pm(t) {
|
|
|
20395
20395
|
innerType: t
|
|
20396
20396
|
});
|
|
20397
20397
|
}
|
|
20398
|
-
const mm = /* @__PURE__ */
|
|
20398
|
+
const mm = /* @__PURE__ */ B("ZodNullable", (t, e) => {
|
|
20399
20399
|
Ud.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => lp(t, s, a, i), t.unwrap = () => t._zod.def.innerType;
|
|
20400
20400
|
});
|
|
20401
20401
|
function ll(t) {
|
|
@@ -20404,7 +20404,7 @@ function ll(t) {
|
|
|
20404
20404
|
innerType: t
|
|
20405
20405
|
});
|
|
20406
20406
|
}
|
|
20407
|
-
const ym = /* @__PURE__ */
|
|
20407
|
+
const ym = /* @__PURE__ */ B("ZodDefault", (t, e) => {
|
|
20408
20408
|
Gd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => fp(t, s, a, i), t.unwrap = () => t._zod.def.innerType, t.removeDefault = t.unwrap;
|
|
20409
20409
|
});
|
|
20410
20410
|
function bm(t, e) {
|
|
@@ -20416,7 +20416,7 @@ function bm(t, e) {
|
|
|
20416
20416
|
}
|
|
20417
20417
|
});
|
|
20418
20418
|
}
|
|
20419
|
-
const wm = /* @__PURE__ */
|
|
20419
|
+
const wm = /* @__PURE__ */ B("ZodPrefault", (t, e) => {
|
|
20420
20420
|
Wd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => up(t, s, a, i), t.unwrap = () => t._zod.def.innerType;
|
|
20421
20421
|
});
|
|
20422
20422
|
function vm(t, e) {
|
|
@@ -20428,7 +20428,7 @@ function vm(t, e) {
|
|
|
20428
20428
|
}
|
|
20429
20429
|
});
|
|
20430
20430
|
}
|
|
20431
|
-
const bf = /* @__PURE__ */
|
|
20431
|
+
const bf = /* @__PURE__ */ B("ZodNonOptional", (t, e) => {
|
|
20432
20432
|
Yd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => cp(t, s, a, i), t.unwrap = () => t._zod.def.innerType;
|
|
20433
20433
|
});
|
|
20434
20434
|
function xm(t, e) {
|
|
@@ -20438,7 +20438,7 @@ function xm(t, e) {
|
|
|
20438
20438
|
...le(e)
|
|
20439
20439
|
});
|
|
20440
20440
|
}
|
|
20441
|
-
const Cm = /* @__PURE__ */
|
|
20441
|
+
const Cm = /* @__PURE__ */ B("ZodCatch", (t, e) => {
|
|
20442
20442
|
Hd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => hp(t, s, a, i), t.unwrap = () => t._zod.def.innerType, t.removeCatch = t.unwrap;
|
|
20443
20443
|
});
|
|
20444
20444
|
function Am(t, e) {
|
|
@@ -20448,7 +20448,7 @@ function Am(t, e) {
|
|
|
20448
20448
|
catchValue: typeof e == "function" ? e : () => e
|
|
20449
20449
|
});
|
|
20450
20450
|
}
|
|
20451
|
-
const Nm = /* @__PURE__ */
|
|
20451
|
+
const Nm = /* @__PURE__ */ B("ZodPipe", (t, e) => {
|
|
20452
20452
|
Kd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => dp(t, s, a, i), t.in = e.in, t.out = e.out;
|
|
20453
20453
|
});
|
|
20454
20454
|
function Rn(t, e) {
|
|
@@ -20459,7 +20459,7 @@ function Rn(t, e) {
|
|
|
20459
20459
|
// ...util.normalizeParams(params),
|
|
20460
20460
|
});
|
|
20461
20461
|
}
|
|
20462
|
-
const km = /* @__PURE__ */
|
|
20462
|
+
const km = /* @__PURE__ */ B("ZodReadonly", (t, e) => {
|
|
20463
20463
|
jd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => gp(t, s, a, i), t.unwrap = () => t._zod.def.innerType;
|
|
20464
20464
|
});
|
|
20465
20465
|
function Sm(t) {
|
|
@@ -20468,7 +20468,7 @@ function Sm(t) {
|
|
|
20468
20468
|
innerType: t
|
|
20469
20469
|
});
|
|
20470
20470
|
}
|
|
20471
|
-
const Vm = /* @__PURE__ */
|
|
20471
|
+
const Vm = /* @__PURE__ */ B("ZodCustom", (t, e) => {
|
|
20472
20472
|
Xd.init(t, e), Je.init(t, e), t._zod.processJSONSchema = (s, a, i) => tp(t, s);
|
|
20473
20473
|
});
|
|
20474
20474
|
function Im(t, e = {}) {
|
|
@@ -20569,7 +20569,7 @@ const ma = {
|
|
|
20569
20569
|
}).strict().and(Mm), Rm = C({
|
|
20570
20570
|
provider: R(["d-id"]),
|
|
20571
20571
|
options: zm
|
|
20572
|
-
}).strict(),
|
|
20572
|
+
}).strict(), Bm = C({
|
|
20573
20573
|
type: R(["text-to-speech"]),
|
|
20574
20574
|
text: p(),
|
|
20575
20575
|
voice: R([
|
|
@@ -20583,11 +20583,11 @@ const ma = {
|
|
|
20583
20583
|
"Rachel",
|
|
20584
20584
|
"Sam"
|
|
20585
20585
|
])
|
|
20586
|
-
}).strict(),
|
|
20586
|
+
}).strict(), Dm = C({
|
|
20587
20587
|
type: ge("elevenlabsTextToSpeechOptions_ElevenLabsTextToSpeechOptions")
|
|
20588
|
-
}).strict().and(
|
|
20588
|
+
}).strict().and(Bm), Lm = C({
|
|
20589
20589
|
provider: R(["elevenlabs"]),
|
|
20590
|
-
options:
|
|
20590
|
+
options: Dm
|
|
20591
20591
|
}).strict(), Zm = C({
|
|
20592
20592
|
type: R(["text-to-avatar"]),
|
|
20593
20593
|
text: p(),
|
|
@@ -21183,7 +21183,7 @@ const Oy = C({
|
|
|
21183
21183
|
if (!(t === "" || t === null || t === void 0))
|
|
21184
21184
|
return Array.isArray(t) ? t : typeof t == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(t) ? t : Number(t) : t;
|
|
21185
21185
|
}, A()), p().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
|
|
21186
|
-
}).strict(),
|
|
21186
|
+
}).strict(), By = C({
|
|
21187
21187
|
start: g(w([_((t) => {
|
|
21188
21188
|
if (!(t === "" || t === null || t === void 0))
|
|
21189
21189
|
return Array.isArray(t) ? t : typeof t == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(t) ? t : Number(t) : t;
|
|
@@ -21192,7 +21192,7 @@ const Oy = C({
|
|
|
21192
21192
|
if (!(t === "" || t === null || t === void 0))
|
|
21193
21193
|
return Array.isArray(t) ? t : typeof t == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(t) ? t : Number(t) : t;
|
|
21194
21194
|
}, A().gte(0)), p().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
21195
|
-
}).strict(),
|
|
21195
|
+
}).strict(), Dy = C({
|
|
21196
21196
|
id: p(),
|
|
21197
21197
|
owner: p(),
|
|
21198
21198
|
region: g(p()),
|
|
@@ -21210,7 +21210,7 @@ const Oy = C({
|
|
|
21210
21210
|
updated: g(p())
|
|
21211
21211
|
}).strict(), vf = C({
|
|
21212
21212
|
type: p(),
|
|
21213
|
-
attributes:
|
|
21213
|
+
attributes: Dy
|
|
21214
21214
|
}).strict();
|
|
21215
21215
|
C({
|
|
21216
21216
|
data: Ie(vf)
|
|
@@ -22035,7 +22035,7 @@ const db = C({
|
|
|
22035
22035
|
if (!(t === "" || t === null || t === void 0))
|
|
22036
22036
|
return Array.isArray(t) ? t : typeof t == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(t) ? t : Number(t) : t;
|
|
22037
22037
|
}, A().gte(0.1).lte(30)), p().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
22038
|
-
}).strict(),
|
|
22038
|
+
}).strict(), Bb = C({
|
|
22039
22039
|
color: g(w([p().regex(/^#[A-Fa-f0-9]{6}$/), p().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
22040
22040
|
opacity: g(w([_((t) => {
|
|
22041
22041
|
if (!(t === "" || t === null || t === void 0))
|
|
@@ -22049,7 +22049,7 @@ const db = C({
|
|
|
22049
22049
|
if (!(t === "" || t === null || t === void 0))
|
|
22050
22050
|
return Array.isArray(t) ? t : typeof t == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(t) ? t : Number(t) : t;
|
|
22051
22051
|
}, A().gte(0)), p().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
22052
|
-
}).strict(),
|
|
22052
|
+
}).strict(), Db = C({
|
|
22053
22053
|
family: g(p()),
|
|
22054
22054
|
color: g(p()),
|
|
22055
22055
|
opacity: g(w([_((t) => {
|
|
@@ -22085,8 +22085,8 @@ const db = C({
|
|
|
22085
22085
|
if (!(t === "" || t === null || t === void 0))
|
|
22086
22086
|
return Array.isArray(t) ? t : typeof t == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(t) ? t : Number(t) : t;
|
|
22087
22087
|
}, A().int()), p().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
22088
|
-
font: g(
|
|
22089
|
-
background: g(
|
|
22088
|
+
font: g(Db),
|
|
22089
|
+
background: g(Bb),
|
|
22090
22090
|
alignment: g(zb),
|
|
22091
22091
|
stroke: g(Lb),
|
|
22092
22092
|
animation: g(Rb),
|
|
@@ -22167,7 +22167,7 @@ const db = C({
|
|
|
22167
22167
|
])),
|
|
22168
22168
|
repeat: g(He()),
|
|
22169
22169
|
mute: g(He()),
|
|
22170
|
-
range: g(
|
|
22170
|
+
range: g(By),
|
|
22171
22171
|
poster: g(Ry),
|
|
22172
22172
|
thumbnail: g(Gb),
|
|
22173
22173
|
destinations: g(Ie(Mr))
|
|
@@ -22815,8 +22815,8 @@ C({
|
|
|
22815
22815
|
}),
|
|
22816
22816
|
query: g(we())
|
|
22817
22817
|
}).strict();
|
|
22818
|
-
const aw = vy, iw = lb, rw = zr.shape.format, nw = zr.shape.fps.unwrap(), ow = zr.shape.resolution, lw = zr.shape.aspectRatio, cw = p().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/),
|
|
22819
|
-
clips: Ie(
|
|
22818
|
+
const aw = vy, iw = lb, rw = zr.shape.format, nw = zr.shape.fps.unwrap(), ow = zr.shape.resolution, lw = zr.shape.aspectRatio, cw = p().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/), Bn = rr.extend({ id: p() }), fw = Tf.extend({
|
|
22819
|
+
clips: Ie(Bn).min(1)
|
|
22820
22820
|
});
|
|
22821
22821
|
Ga.extend({
|
|
22822
22822
|
timeline: ew.extend({
|
|
@@ -23451,7 +23451,7 @@ class V extends ms {
|
|
|
23451
23451
|
}
|
|
23452
23452
|
let { type: i } = this;
|
|
23453
23453
|
if (i == null) {
|
|
23454
|
-
if (!(e instanceof
|
|
23454
|
+
if (!(e instanceof Dn))
|
|
23455
23455
|
throw new Error("Must be a VoidPointer");
|
|
23456
23456
|
({ type: i } = e), e = e.value;
|
|
23457
23457
|
}
|
|
@@ -23485,7 +23485,7 @@ class V extends ms {
|
|
|
23485
23485
|
this.options.relativeTo && (i += this.relativeToGetter(r.val)), this.offsetType.encode(e, a.pointerOffset - i);
|
|
23486
23486
|
let { type: n } = this;
|
|
23487
23487
|
if (n == null) {
|
|
23488
|
-
if (!(s instanceof
|
|
23488
|
+
if (!(s instanceof Dn))
|
|
23489
23489
|
throw new Error("Must be a VoidPointer");
|
|
23490
23490
|
({ type: n } = s), s = s.value;
|
|
23491
23491
|
}
|
|
@@ -23496,7 +23496,7 @@ class V extends ms {
|
|
|
23496
23496
|
}), a.pointerOffset += n.size(s, r);
|
|
23497
23497
|
}
|
|
23498
23498
|
}
|
|
23499
|
-
class
|
|
23499
|
+
class Dn {
|
|
23500
23500
|
constructor(e, s) {
|
|
23501
23501
|
this.type = e, this.value = s;
|
|
23502
23502
|
}
|
|
@@ -23587,14 +23587,14 @@ function Mw(t) {
|
|
|
23587
23587
|
es[e >> 10] + es[e >> 4 & 63] + es[e << 2 & 63] + "="
|
|
23588
23588
|
)), i.join("");
|
|
23589
23589
|
}
|
|
23590
|
-
var wo = 0,
|
|
23590
|
+
var wo = 0, Bf = -3;
|
|
23591
23591
|
function ii() {
|
|
23592
23592
|
this.table = new Uint16Array(16), this.trans = new Uint16Array(288);
|
|
23593
23593
|
}
|
|
23594
23594
|
function zw(t, e) {
|
|
23595
23595
|
this.source = t, this.sourceIndex = 0, this.tag = 0, this.bitcount = 0, this.dest = e, this.destLen = 0, this.ltree = new ii(), this.dtree = new ii();
|
|
23596
23596
|
}
|
|
23597
|
-
var
|
|
23597
|
+
var Df = new ii(), Lf = new ii(), vo = new Uint8Array(30), xo = new Uint16Array(30), Zf = new Uint8Array(30), Uf = new Uint16Array(30), Rw = new Uint8Array([
|
|
23598
23598
|
16,
|
|
23599
23599
|
17,
|
|
23600
23600
|
18,
|
|
@@ -23622,7 +23622,7 @@ function Gf(t, e, s, a) {
|
|
|
23622
23622
|
for (r = a, i = 0; i < 30; ++i)
|
|
23623
23623
|
e[i] = r, r += 1 << t[i];
|
|
23624
23624
|
}
|
|
23625
|
-
function
|
|
23625
|
+
function Bw(t, e) {
|
|
23626
23626
|
var s;
|
|
23627
23627
|
for (s = 0; s < 7; ++s) t.table[s] = 0;
|
|
23628
23628
|
for (t.table[7] = 24, t.table[8] = 152, t.table[9] = 112, s = 0; s < 24; ++s) t.trans[s] = 256 + s;
|
|
@@ -23642,7 +23642,7 @@ function fn(t, e, s, a) {
|
|
|
23642
23642
|
for (i = 0; i < a; ++i)
|
|
23643
23643
|
e[s + i] && (t.trans[gl[e[s + i]]++] = i);
|
|
23644
23644
|
}
|
|
23645
|
-
function
|
|
23645
|
+
function Dw(t) {
|
|
23646
23646
|
t.bitcount-- || (t.tag = t.source[t.sourceIndex++], t.bitcount = 7);
|
|
23647
23647
|
var e = t.tag & 1;
|
|
23648
23648
|
return t.tag >>>= 1, e;
|
|
@@ -23712,7 +23712,7 @@ function Zw(t) {
|
|
|
23712
23712
|
for (var e, s, a; t.bitcount > 8; )
|
|
23713
23713
|
t.sourceIndex--, t.bitcount -= 8;
|
|
23714
23714
|
if (e = t.source[t.sourceIndex + 1], e = 256 * e + t.source[t.sourceIndex], s = t.source[t.sourceIndex + 3], s = 256 * s + t.source[t.sourceIndex + 2], e !== (~s & 65535))
|
|
23715
|
-
return
|
|
23715
|
+
return Bf;
|
|
23716
23716
|
for (t.sourceIndex += 4, a = e; a; --a)
|
|
23717
23717
|
t.dest[t.destLen++] = t.source[t.sourceIndex++];
|
|
23718
23718
|
return t.bitcount = 0, wo;
|
|
@@ -23720,25 +23720,25 @@ function Zw(t) {
|
|
|
23720
23720
|
function Uw(t, e) {
|
|
23721
23721
|
var s = new zw(t, e), a, i, r;
|
|
23722
23722
|
do {
|
|
23723
|
-
switch (a =
|
|
23723
|
+
switch (a = Dw(s), i = Qt(s, 2, 0), i) {
|
|
23724
23724
|
case 0:
|
|
23725
23725
|
r = Zw(s);
|
|
23726
23726
|
break;
|
|
23727
23727
|
case 1:
|
|
23728
|
-
r = pl(s,
|
|
23728
|
+
r = pl(s, Df, Lf);
|
|
23729
23729
|
break;
|
|
23730
23730
|
case 2:
|
|
23731
23731
|
Lw(s, s.ltree, s.dtree), r = pl(s, s.ltree, s.dtree);
|
|
23732
23732
|
break;
|
|
23733
23733
|
default:
|
|
23734
|
-
r =
|
|
23734
|
+
r = Bf;
|
|
23735
23735
|
}
|
|
23736
23736
|
if (r !== wo)
|
|
23737
23737
|
throw new Error("Data error");
|
|
23738
23738
|
} while (!a);
|
|
23739
23739
|
return s.destLen < s.dest.length ? typeof s.dest.slice == "function" ? s.dest.slice(0, s.destLen) : s.dest.subarray(0, s.destLen) : s.dest;
|
|
23740
23740
|
}
|
|
23741
|
-
|
|
23741
|
+
Bw(Df, Lf);
|
|
23742
23742
|
Gf(vo, xo, 4, 3);
|
|
23743
23743
|
Gf(Zf, Uf, 2, 1);
|
|
23744
23744
|
vo[28] = 0;
|
|
@@ -23785,8 +23785,8 @@ function $s(t) {
|
|
|
23785
23785
|
}
|
|
23786
23786
|
var Ts = {};
|
|
23787
23787
|
Ts = JSON.parse('{"categories":["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],"combiningClasses":["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],"scripts":["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Osage","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Hanifi_Rohingya","Old_Sogdian","Sogdian","Elymaic","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Newa","Tirhuta","Siddham","Modi","Takri","Ahom","Dogra","Warang_Citi","Nandinagari","Zanabazar_Square","Soyombo","Pau_Cin_Hau","Bhaiksuki","Marchen","Masaram_Gondi","Gunjala_Gondi","Makasar","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Medefaidrin","Miao","Tangut","Nushu","Duployan","SignWriting","Nyiakeng_Puachue_Hmong","Wancho","Mende_Kikakui","Adlam"],"eaw":["N","Na","A","W","H","F"]}');
|
|
23788
|
-
const Ao = new Rr(di.toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8J++7iRu2B6eAKlK/kujrLthwaD/7a6J5w90Tus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3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")), l1 = Math.log2 || ((t) => Math.log(t) / Math.LN2), Dr = (t) => l1(t) + 1 | 0, c1 = Dr((/* @__PURE__ */ $s(Ts)).categories.length - 1), Hf = Dr((/* @__PURE__ */ $s(Ts)).combiningClasses.length - 1), No = Dr((/* @__PURE__ */ $s(Ts)).scripts.length - 1), ko = Dr((/* @__PURE__ */ $s(Ts)).eaw.length - 1), So = 10, f1 = Hf + No + ko + So, u1 = No + ko + So, h1 = ko + So, d1 = (1 << c1) - 1, g1 = (1 << Hf) - 1, p1 = (1 << No) - 1;
|
|
23789
|
-
function
|
|
23788
|
+
const Ao = new Rr(di.toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+I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JQxzUMmWjv0W6uGJK11uAGDqSpOwCf6rouSIjPVgw57cJCOQ4b9tkI/Y5WNon9Swe72aZryKo8d+HyHBEdWJKrkary0LIGczA4Irq353Wc0Zga3om7UQiAGCvIl8GGyaqz5zH+1gMP5phWUCpKtttWIyicz09vXg76GxkmiGSMQ06Z9X8BUwqOtauDbPIf4rpK/yYoeAHxJ9soXS9VDe1Aw+awOOxaN8foLrif0TXBvQ55dtRtulRq9emFDBxlQcqKCaD8NeTSE7FOHvcjf/+oKbbtRqz9gbofoc2EzQ3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")), l1 = Math.log2 || ((t) => Math.log(t) / Math.LN2), Br = (t) => l1(t) + 1 | 0, c1 = Br((/* @__PURE__ */ $s(Ts)).categories.length - 1), Hf = Br((/* @__PURE__ */ $s(Ts)).combiningClasses.length - 1), No = Br((/* @__PURE__ */ $s(Ts)).scripts.length - 1), ko = Br((/* @__PURE__ */ $s(Ts)).eaw.length - 1), So = 10, f1 = Hf + No + ko + So, u1 = No + ko + So, h1 = ko + So, d1 = (1 << c1) - 1, g1 = (1 << Hf) - 1, p1 = (1 << No) - 1;
|
|
23789
|
+
function Dr(t) {
|
|
23790
23790
|
const e = Ao.get(t);
|
|
23791
23791
|
return (/* @__PURE__ */ $s(Ts)).categories[e >> f1 & d1];
|
|
23792
23792
|
}
|
|
@@ -23799,10 +23799,10 @@ function Kf(t) {
|
|
|
23799
23799
|
return (/* @__PURE__ */ $s(Ts)).scripts[e >> h1 & p1];
|
|
23800
23800
|
}
|
|
23801
23801
|
function bl(t) {
|
|
23802
|
-
return
|
|
23802
|
+
return Dr(t) === "Nd";
|
|
23803
23803
|
}
|
|
23804
23804
|
function jf(t) {
|
|
23805
|
-
const e =
|
|
23805
|
+
const e = Dr(t);
|
|
23806
23806
|
return e === "Mn" || e === "Me" || e === "Mc";
|
|
23807
23807
|
}
|
|
23808
23808
|
var hn = 1, dn = 0;
|
|
@@ -23875,15 +23875,15 @@ var qf = { exports: {} };
|
|
|
23875
23875
|
return null;
|
|
23876
23876
|
if (U === 0)
|
|
23877
23877
|
return b;
|
|
23878
|
-
var
|
|
23878
|
+
var D, L;
|
|
23879
23879
|
if (typeof b != "object")
|
|
23880
23880
|
return b;
|
|
23881
23881
|
if (s(b, a))
|
|
23882
|
-
|
|
23882
|
+
D = new a();
|
|
23883
23883
|
else if (s(b, i))
|
|
23884
|
-
|
|
23884
|
+
D = new i();
|
|
23885
23885
|
else if (s(b, r))
|
|
23886
|
-
|
|
23886
|
+
D = new r(function(be, G) {
|
|
23887
23887
|
b.then(function(Y) {
|
|
23888
23888
|
be(E(Y, U - 1));
|
|
23889
23889
|
}, function(Y) {
|
|
@@ -23891,48 +23891,48 @@ var qf = { exports: {} };
|
|
|
23891
23891
|
});
|
|
23892
23892
|
});
|
|
23893
23893
|
else if (n.__isArray(b))
|
|
23894
|
-
|
|
23894
|
+
D = [];
|
|
23895
23895
|
else if (n.__isRegExp(b))
|
|
23896
|
-
|
|
23896
|
+
D = new RegExp(b.source, h(b)), b.lastIndex && (D.lastIndex = b.lastIndex);
|
|
23897
23897
|
else if (n.__isDate(b))
|
|
23898
|
-
|
|
23898
|
+
D = new Date(b.getTime());
|
|
23899
23899
|
else {
|
|
23900
23900
|
if (v && Buffer.isBuffer(b))
|
|
23901
|
-
return Buffer.allocUnsafe ?
|
|
23902
|
-
s(b, Error) ?
|
|
23901
|
+
return Buffer.allocUnsafe ? D = Buffer.allocUnsafe(b.length) : D = new Buffer(b.length), b.copy(D), D;
|
|
23902
|
+
s(b, Error) ? D = Object.create(b) : typeof x > "u" ? (L = Object.getPrototypeOf(b), D = Object.create(L)) : (D = Object.create(x), L = x);
|
|
23903
23903
|
}
|
|
23904
23904
|
if (y) {
|
|
23905
23905
|
var J = F.indexOf(b);
|
|
23906
23906
|
if (J != -1)
|
|
23907
23907
|
return N[J];
|
|
23908
|
-
F.push(b), N.push(
|
|
23908
|
+
F.push(b), N.push(D);
|
|
23909
23909
|
}
|
|
23910
23910
|
s(b, a) && b.forEach(function(be, G) {
|
|
23911
23911
|
var Y = E(G, U - 1), W = E(be, U - 1);
|
|
23912
|
-
|
|
23912
|
+
D.set(Y, W);
|
|
23913
23913
|
}), s(b, i) && b.forEach(function(be) {
|
|
23914
23914
|
var G = E(be, U - 1);
|
|
23915
|
-
|
|
23915
|
+
D.add(G);
|
|
23916
23916
|
});
|
|
23917
23917
|
for (var ee in b) {
|
|
23918
23918
|
var te;
|
|
23919
|
-
L && (te = Object.getOwnPropertyDescriptor(L, ee)), !(te && te.set == null) && (
|
|
23919
|
+
L && (te = Object.getOwnPropertyDescriptor(L, ee)), !(te && te.set == null) && (D[ee] = E(b[ee], U - 1));
|
|
23920
23920
|
}
|
|
23921
23921
|
if (Object.getOwnPropertySymbols)
|
|
23922
23922
|
for (var ue = Object.getOwnPropertySymbols(b), ee = 0; ee < ue.length; ee++) {
|
|
23923
23923
|
var re = ue[ee], Se = Object.getOwnPropertyDescriptor(b, re);
|
|
23924
|
-
Se && !Se.enumerable && !P || (
|
|
23924
|
+
Se && !Se.enumerable && !P || (D[re] = E(b[re], U - 1), Se.enumerable || Object.defineProperty(D, re, {
|
|
23925
23925
|
enumerable: !1
|
|
23926
23926
|
}));
|
|
23927
23927
|
}
|
|
23928
23928
|
if (P)
|
|
23929
23929
|
for (var xe = Object.getOwnPropertyNames(b), ee = 0; ee < xe.length; ee++) {
|
|
23930
23930
|
var Fe = xe[ee], Se = Object.getOwnPropertyDescriptor(b, Fe);
|
|
23931
|
-
Se && Se.enumerable || (
|
|
23931
|
+
Se && Se.enumerable || (D[Fe] = E(b[Fe], U - 1), Object.defineProperty(D, Fe, {
|
|
23932
23932
|
enumerable: !1
|
|
23933
23933
|
}));
|
|
23934
23934
|
}
|
|
23935
|
-
return
|
|
23935
|
+
return D;
|
|
23936
23936
|
}
|
|
23937
23937
|
return E(d, m);
|
|
23938
23938
|
}
|
|
@@ -26104,9 +26104,9 @@ Sa.kCopyRangeLut = [
|
|
|
26104
26104
|
8,
|
|
26105
26105
|
16
|
|
26106
26106
|
];
|
|
26107
|
-
var
|
|
26107
|
+
var Ba = {}, Nl;
|
|
26108
26108
|
function S1() {
|
|
26109
|
-
if (Nl) return
|
|
26109
|
+
if (Nl) return Ba;
|
|
26110
26110
|
Nl = 1;
|
|
26111
26111
|
var t = e0(), e = 0, s = 1, a = 2, i = 3, r = 4, n = 5, o = 6, l = 7, c = 8, f = 9, h = 10, d = 11, y = 12, m = 13, x = 14, P = 15, F = 16, N = 17, v = 18, E = 20;
|
|
26112
26112
|
function b(L, J, ee) {
|
|
@@ -26241,11 +26241,11 @@ function S1() {
|
|
|
26241
26241
|
new b(" ", d, "='"),
|
|
26242
26242
|
new b(" ", h, "='")
|
|
26243
26243
|
];
|
|
26244
|
-
|
|
26245
|
-
function
|
|
26244
|
+
Ba.kTransforms = U, Ba.kNumTransforms = U.length;
|
|
26245
|
+
function D(L, J) {
|
|
26246
26246
|
return L[J] < 192 ? (L[J] >= 97 && L[J] <= 122 && (L[J] ^= 32), 1) : L[J] < 224 ? (L[J + 1] ^= 32, 2) : (L[J + 2] ^= 5, 3);
|
|
26247
26247
|
}
|
|
26248
|
-
return
|
|
26248
|
+
return Ba.transformDictionaryWord = function(L, J, ee, te, ue) {
|
|
26249
26249
|
var re = U[ue].prefix, Se = U[ue].suffix, xe = U[ue].transform, Fe = xe < y ? 0 : xe - (y - 1), be = 0, G = J, Y;
|
|
26250
26250
|
Fe > te && (Fe = te);
|
|
26251
26251
|
for (var W = 0; W < re.length; )
|
|
@@ -26253,16 +26253,16 @@ function S1() {
|
|
|
26253
26253
|
for (ee += Fe, te -= Fe, xe <= f && (te -= xe), be = 0; be < te; be++)
|
|
26254
26254
|
L[J++] = t.dictionary[ee + be];
|
|
26255
26255
|
if (Y = J - te, xe === h)
|
|
26256
|
-
|
|
26256
|
+
D(L, Y);
|
|
26257
26257
|
else if (xe === d)
|
|
26258
26258
|
for (; te > 0; ) {
|
|
26259
|
-
var me =
|
|
26259
|
+
var me = D(L, Y);
|
|
26260
26260
|
Y += me, te -= me;
|
|
26261
26261
|
}
|
|
26262
26262
|
for (var de = 0; de < Se.length; )
|
|
26263
26263
|
L[J++] = Se[de++];
|
|
26264
26264
|
return J - G;
|
|
26265
|
-
},
|
|
26265
|
+
}, Ba;
|
|
26266
26266
|
}
|
|
26267
26267
|
var kl;
|
|
26268
26268
|
function t0() {
|
|
@@ -26304,7 +26304,7 @@ function t0() {
|
|
|
26304
26304
|
2,
|
|
26305
26305
|
2,
|
|
26306
26306
|
2
|
|
26307
|
-
]),
|
|
26307
|
+
]), D = new Int8Array([
|
|
26308
26308
|
0,
|
|
26309
26309
|
0,
|
|
26310
26310
|
0,
|
|
@@ -26471,7 +26471,7 @@ function t0() {
|
|
|
26471
26471
|
}
|
|
26472
26472
|
function be(H, z, M) {
|
|
26473
26473
|
var O;
|
|
26474
|
-
return H < b ? (M += U[H], M &= 3, O = z[M] +
|
|
26474
|
+
return H < b ? (M += U[H], M &= 3, O = z[M] + D[H]) : O = H - b + 1, O;
|
|
26475
26475
|
}
|
|
26476
26476
|
function G(H, z) {
|
|
26477
26477
|
for (var M = H[z], O = z; O; --O) H[O] = H[O - 1];
|
|
@@ -26568,39 +26568,39 @@ function t0() {
|
|
|
26568
26568
|
var M = new t(H);
|
|
26569
26569
|
z == null && (z = Te(H));
|
|
26570
26570
|
var O = new Uint8Array(z), $ = new e(O);
|
|
26571
|
-
return
|
|
26571
|
+
return lt(M, $), $.pos < $.buffer.length && ($.buffer = $.buffer.subarray(0, $.pos)), $.buffer;
|
|
26572
26572
|
}
|
|
26573
26573
|
Ra.BrotliDecompressBuffer = Pe;
|
|
26574
|
-
function
|
|
26574
|
+
function lt(H, z) {
|
|
26575
26575
|
var M, O = 0, $ = 0, oe = 0, ae, ne = 0, ye, ie, q, ve, je = [16, 15, 11, 4], dt = 0, Ge = 0, st = 0, at = [new W(0, 0), new W(0, 0), new W(0, 0)], bt, kt, Ce, Xr = 128 + s.READ_SIZE;
|
|
26576
26576
|
Ce = new s(H), oe = J(Ce), ae = (1 << oe) - 16, ye = 1 << oe, ie = ye - 1, q = new Uint8Array(ye + Xr + a.maxDictionaryWordLength), ve = ye, bt = [], kt = [];
|
|
26577
26577
|
for (var ta = 0; ta < 3 * N; ta++)
|
|
26578
26578
|
bt[ta] = new i(0, 0), kt[ta] = new i(0, 0);
|
|
26579
26579
|
for (; !$; ) {
|
|
26580
|
-
var
|
|
26580
|
+
var ct = 0, _a, zt = [1 << 28, 1 << 28, 1 << 28], Dt = [0], Pt = [1, 1, 1], os = [0, 1, 0, 1, 0, 1], Os = [0], ys, Et, wi, sa, vi = null, bs = null, xi, Ci = null, Fa, Ai = 0, aa = null, Lt = 0, ia = 0, Pa = null, k = 0, se = 0, _e = 0, Me, Ze;
|
|
26581
26581
|
for (M = 0; M < 3; ++M)
|
|
26582
26582
|
at[M].codes = null, at[M].htrees = null;
|
|
26583
26583
|
Ce.readMoreInput();
|
|
26584
|
-
var
|
|
26585
|
-
if (
|
|
26586
|
-
var ra = new Uint8Array(O +
|
|
26584
|
+
var ft = ue(Ce);
|
|
26585
|
+
if (ct = ft.meta_block_length, O + ct > z.buffer.length) {
|
|
26586
|
+
var ra = new Uint8Array(O + ct);
|
|
26587
26587
|
ra.set(z.buffer), z.buffer = ra;
|
|
26588
26588
|
}
|
|
26589
|
-
if ($ =
|
|
26590
|
-
for (Le(Ce);
|
|
26589
|
+
if ($ = ft.input_end, _a = ft.is_uncompressed, ft.is_metadata) {
|
|
26590
|
+
for (Le(Ce); ct > 0; --ct)
|
|
26591
26591
|
Ce.readMoreInput(), Ce.readBits(8);
|
|
26592
26592
|
continue;
|
|
26593
26593
|
}
|
|
26594
|
-
if (
|
|
26594
|
+
if (ct !== 0) {
|
|
26595
26595
|
if (_a) {
|
|
26596
26596
|
Ce.bit_pos_ = Ce.bit_pos_ + 7 & -8, Ee(
|
|
26597
26597
|
z,
|
|
26598
|
-
|
|
26598
|
+
ct,
|
|
26599
26599
|
O,
|
|
26600
26600
|
q,
|
|
26601
26601
|
ie,
|
|
26602
26602
|
Ce
|
|
26603
|
-
), O +=
|
|
26603
|
+
), O += ct;
|
|
26604
26604
|
continue;
|
|
26605
26605
|
}
|
|
26606
26606
|
for (M = 0; M < 3; ++M)
|
|
@@ -26612,38 +26612,38 @@ function t0() {
|
|
|
26612
26612
|
var qr = me(Pt[2] << x, Ce);
|
|
26613
26613
|
for (Fa = qr.num_htrees, Ci = qr.context_map, at[0] = new W(h, xi), at[1] = new W(d, Pt[1]), at[2] = new W(sa, Fa), M = 0; M < 3; ++M)
|
|
26614
26614
|
at[M].decode(Ce);
|
|
26615
|
-
for (aa = 0, Pa = 0, Me = bs[
|
|
26615
|
+
for (aa = 0, Pa = 0, Me = bs[Dt[0]], se = n.lookupOffsets[Me], _e = n.lookupOffsets[Me + 1], Ze = at[1].htrees[0]; ct > 0; ) {
|
|
26616
26616
|
var ki, Ea, Jr, Qr, $r, St, Tt, ls, Ta, na, Oa;
|
|
26617
26617
|
for (Ce.readMoreInput(), zt[1] === 0 && (de(
|
|
26618
26618
|
Pt[1],
|
|
26619
26619
|
bt,
|
|
26620
26620
|
1,
|
|
26621
|
-
|
|
26621
|
+
Dt,
|
|
26622
26622
|
os,
|
|
26623
26623
|
Os,
|
|
26624
26624
|
Ce
|
|
26625
|
-
), zt[1] = Fe(kt, N, Ce), Ze = at[1].htrees[
|
|
26625
|
+
), zt[1] = Fe(kt, N, Ce), Ze = at[1].htrees[Dt[1]]), --zt[1], ki = re(at[1].codes, Ze, Ce), Ea = ki >> 6, Ea >= 2 ? (Ea -= 2, Tt = -1) : Tt = 0, Jr = o.kInsertRangeLut[Ea] + (ki >> 3 & 7), Qr = o.kCopyRangeLut[Ea] + (ki & 7), $r = o.kInsertLengthPrefixCode[Jr].offset + Ce.readBits(o.kInsertLengthPrefixCode[Jr].nbits), St = o.kCopyLengthPrefixCode[Qr].offset + Ce.readBits(o.kCopyLengthPrefixCode[Qr].nbits), Ge = q[O - 1 & ie], st = q[O - 2 & ie], na = 0; na < $r; ++na)
|
|
26626
26626
|
Ce.readMoreInput(), zt[0] === 0 && (de(
|
|
26627
26627
|
Pt[0],
|
|
26628
26628
|
bt,
|
|
26629
26629
|
0,
|
|
26630
|
-
|
|
26630
|
+
Dt,
|
|
26631
26631
|
os,
|
|
26632
26632
|
Os,
|
|
26633
26633
|
Ce
|
|
26634
|
-
), zt[0] = Fe(kt, 0, Ce), Ai =
|
|
26635
|
-
if (
|
|
26634
|
+
), zt[0] = Fe(kt, 0, Ce), Ai = Dt[0] << m, aa = Ai, Me = bs[Dt[0]], se = n.lookupOffsets[Me], _e = n.lookupOffsets[Me + 1]), Ta = n.lookup[se + Ge] | n.lookup[_e + st], Lt = vi[aa + Ta], --zt[0], st = Ge, Ge = re(at[0].codes, at[0].htrees[Lt], Ce), q[O & ie] = Ge, (O & ie) === ie && z.write(q, ye), ++O;
|
|
26635
|
+
if (ct -= $r, ct <= 0) break;
|
|
26636
26636
|
if (Tt < 0) {
|
|
26637
26637
|
var Ta;
|
|
26638
26638
|
if (Ce.readMoreInput(), zt[2] === 0 && (de(
|
|
26639
26639
|
Pt[2],
|
|
26640
26640
|
bt,
|
|
26641
26641
|
2,
|
|
26642
|
-
|
|
26642
|
+
Dt,
|
|
26643
26643
|
os,
|
|
26644
26644
|
Os,
|
|
26645
26645
|
Ce
|
|
26646
|
-
), zt[2] = Fe(kt, 2 * N, Ce), ia =
|
|
26646
|
+
), zt[2] = Fe(kt, 2 * N, Ce), ia = Dt[2] << x, Pa = ia), --zt[2], Ta = (St > 4 ? 3 : St - 2) & 255, k = Ci[Pa + Ta], Tt = re(at[2].codes, at[2].htrees[k], Ce), Tt >= Et) {
|
|
26647
26647
|
var en, Ro, Ma;
|
|
26648
26648
|
Tt -= Et, Ro = Tt & wi, Tt >>= ys, en = (Tt >> 1) + 1, Ma = (2 + (Tt & 1) << en) - 4, Tt = Et + (Ma + Ce.readBits(en) << ys) + Ro;
|
|
26649
26649
|
}
|
|
@@ -26652,23 +26652,23 @@ function t0() {
|
|
|
26652
26652
|
throw new Error("[BrotliDecompress] invalid distance");
|
|
26653
26653
|
if (O < ae && ne !== ae ? ne = O : ne = ae, Oa = O & ie, ls > ne)
|
|
26654
26654
|
if (St >= a.minDictionaryWordLength && St <= a.maxDictionaryWordLength) {
|
|
26655
|
-
var Ma = a.offsetsByLength[St],
|
|
26655
|
+
var Ma = a.offsetsByLength[St], Bo = ls - ne - 1, Do = a.sizeBitsByLength[St], $0 = (1 << Do) - 1, eu = Bo & $0, Lo = Bo >> Do;
|
|
26656
26656
|
if (Ma += eu * St, Lo < l.kNumTransforms) {
|
|
26657
26657
|
var tn = l.transformDictionaryWord(q, Oa, Ma, St, Lo);
|
|
26658
|
-
if (Oa += tn, O += tn,
|
|
26658
|
+
if (Oa += tn, O += tn, ct -= tn, Oa >= ve) {
|
|
26659
26659
|
z.write(q, ye);
|
|
26660
26660
|
for (var Si = 0; Si < Oa - ve; Si++)
|
|
26661
26661
|
q[Si] = q[ve + Si];
|
|
26662
26662
|
}
|
|
26663
26663
|
} else
|
|
26664
|
-
throw new Error("Invalid backward reference. pos: " + O + " distance: " + ls + " len: " + St + " bytes left: " +
|
|
26664
|
+
throw new Error("Invalid backward reference. pos: " + O + " distance: " + ls + " len: " + St + " bytes left: " + ct);
|
|
26665
26665
|
} else
|
|
26666
|
-
throw new Error("Invalid backward reference. pos: " + O + " distance: " + ls + " len: " + St + " bytes left: " +
|
|
26666
|
+
throw new Error("Invalid backward reference. pos: " + O + " distance: " + ls + " len: " + St + " bytes left: " + ct);
|
|
26667
26667
|
else {
|
|
26668
|
-
if (Tt > 0 && (je[dt & 3] = ls, ++dt), St >
|
|
26669
|
-
throw new Error("Invalid backward reference. pos: " + O + " distance: " + ls + " len: " + St + " bytes left: " +
|
|
26668
|
+
if (Tt > 0 && (je[dt & 3] = ls, ++dt), St > ct)
|
|
26669
|
+
throw new Error("Invalid backward reference. pos: " + O + " distance: " + ls + " len: " + St + " bytes left: " + ct);
|
|
26670
26670
|
for (na = 0; na < St; ++na)
|
|
26671
|
-
q[O & ie] = q[O - ls & ie], (O & ie) === ie && z.write(q, ye), ++O, --
|
|
26671
|
+
q[O & ie] = q[O - ls & ie], (O & ie) === ie && z.write(q, ye), ++O, --ct;
|
|
26672
26672
|
}
|
|
26673
26673
|
Ge = q[O - 1 & ie], st = q[O - 2 & ie];
|
|
26674
26674
|
}
|
|
@@ -26677,7 +26677,7 @@ function t0() {
|
|
|
26677
26677
|
}
|
|
26678
26678
|
z.write(q, O & ie);
|
|
26679
26679
|
}
|
|
26680
|
-
return Ra.BrotliDecompress =
|
|
26680
|
+
return Ra.BrotliDecompress = lt, a.init(), Ra;
|
|
26681
26681
|
}
|
|
26682
26682
|
var V1 = t0().BrotliDecompressBuffer;
|
|
26683
26683
|
const I1 = /* @__PURE__ */ ka(V1);
|
|
@@ -26832,7 +26832,7 @@ let P1 = new T({
|
|
|
26832
26832
|
numRecords: I,
|
|
26833
26833
|
varSelectors: new Ue(z1, "numRecords")
|
|
26834
26834
|
}
|
|
26835
|
-
}),
|
|
26835
|
+
}), B1 = new T({
|
|
26836
26836
|
platformID: u,
|
|
26837
26837
|
encodingID: u,
|
|
26838
26838
|
table: new V(I, R1, {
|
|
@@ -26840,10 +26840,10 @@ let P1 = new T({
|
|
|
26840
26840
|
lazy: !0
|
|
26841
26841
|
})
|
|
26842
26842
|
});
|
|
26843
|
-
var
|
|
26843
|
+
var D1 = new T({
|
|
26844
26844
|
version: u,
|
|
26845
26845
|
numSubtables: u,
|
|
26846
|
-
tables: new S(
|
|
26846
|
+
tables: new S(B1, "numSubtables")
|
|
26847
26847
|
}), L1 = new T({
|
|
26848
26848
|
version: Zs,
|
|
26849
26849
|
revision: Zs,
|
|
@@ -27685,7 +27685,7 @@ class ts {
|
|
|
27685
27685
|
this.type = e;
|
|
27686
27686
|
}
|
|
27687
27687
|
}
|
|
27688
|
-
const
|
|
27688
|
+
const Da = 15, Il = [
|
|
27689
27689
|
"0",
|
|
27690
27690
|
"1",
|
|
27691
27691
|
"2",
|
|
@@ -27718,10 +27718,10 @@ class vn {
|
|
|
27718
27718
|
let a = "";
|
|
27719
27719
|
for (; ; ) {
|
|
27720
27720
|
let i = e.readUInt8(), r = i >> 4;
|
|
27721
|
-
if (r ===
|
|
27721
|
+
if (r === Da) break;
|
|
27722
27722
|
a += Il[r];
|
|
27723
27723
|
let n = i & 15;
|
|
27724
|
-
if (n ===
|
|
27724
|
+
if (n === Da) break;
|
|
27725
27725
|
a += Il[n];
|
|
27726
27726
|
}
|
|
27727
27727
|
return parseFloat(a);
|
|
@@ -27743,14 +27743,14 @@ class vn {
|
|
|
27743
27743
|
let r = "" + a;
|
|
27744
27744
|
for (let n = 0; n < r.length; n += 2) {
|
|
27745
27745
|
let o = r[n], l = _l[o] || +o;
|
|
27746
|
-
if (n === r.length - 1) var i =
|
|
27746
|
+
if (n === r.length - 1) var i = Da;
|
|
27747
27747
|
else {
|
|
27748
27748
|
let c = r[n + 1];
|
|
27749
27749
|
var i = _l[c] || +c;
|
|
27750
27750
|
}
|
|
27751
27751
|
e.writeUInt8(l << 4 | i & 15);
|
|
27752
27752
|
}
|
|
27753
|
-
if (i !==
|
|
27753
|
+
if (i !== Da) return e.writeUInt8(Da << 4);
|
|
27754
27754
|
} else return -107 <= a && a <= 107 ? e.writeUInt8(a + 139) : 108 <= a && a <= 1131 ? (a -= 108, e.writeUInt8((a >> 8) + 247), e.writeUInt8(a & 255)) : -1131 <= a && a <= -108 ? (a = -a - 108, e.writeUInt8((a >> 8) + 251), e.writeUInt8(a & 255)) : -32768 <= a && a <= 32767 ? (e.writeUInt8(28), e.writeInt16BE(a)) : (e.writeUInt8(29), e.writeInt32BE(a));
|
|
27755
27755
|
}
|
|
27756
27756
|
}
|
|
@@ -29708,7 +29708,7 @@ let M4 = new Ne(j, {
|
|
|
29708
29708
|
})), R4 = new T({
|
|
29709
29709
|
first: u,
|
|
29710
29710
|
fd: j
|
|
29711
|
-
}),
|
|
29711
|
+
}), B4 = new T({
|
|
29712
29712
|
first: I,
|
|
29713
29713
|
fd: u
|
|
29714
29714
|
}), m0 = new Ne(j, {
|
|
@@ -29722,7 +29722,7 @@ let M4 = new Ne(j, {
|
|
|
29722
29722
|
},
|
|
29723
29723
|
4: {
|
|
29724
29724
|
nRanges: I,
|
|
29725
|
-
ranges: new S(
|
|
29725
|
+
ranges: new S(B4, "nRanges"),
|
|
29726
29726
|
sentinel: I
|
|
29727
29727
|
}
|
|
29728
29728
|
}), xn = new Ut(Gn);
|
|
@@ -29787,7 +29787,7 @@ let b0 = new Zr([
|
|
|
29787
29787
|
"number",
|
|
29788
29788
|
0
|
|
29789
29789
|
]
|
|
29790
|
-
]),
|
|
29790
|
+
]), D4 = new Zr([
|
|
29791
29791
|
// key name type(s) default
|
|
29792
29792
|
[
|
|
29793
29793
|
[
|
|
@@ -30137,7 +30137,7 @@ let b0 = new Zr([
|
|
|
30137
30137
|
hdrSize: j,
|
|
30138
30138
|
offSize: j,
|
|
30139
30139
|
nameIndex: new ts(new Re("length")),
|
|
30140
|
-
topDictIndex: new ts(
|
|
30140
|
+
topDictIndex: new ts(D4),
|
|
30141
30141
|
stringIndex: new ts(new Re("length")),
|
|
30142
30142
|
globalSubrIndex: new ts()
|
|
30143
30143
|
},
|
|
@@ -30629,7 +30629,7 @@ let b2 = new T({
|
|
|
30629
30629
|
markAnchor: new V(u, ni, {
|
|
30630
30630
|
type: "parent"
|
|
30631
30631
|
})
|
|
30632
|
-
}), An = new S(C2, u), A2 = new S(new V(u, ni), (t) => t.parent.classCount),
|
|
30632
|
+
}), An = new S(C2, u), A2 = new S(new V(u, ni), (t) => t.parent.classCount), Bl = new S(A2, u), N2 = new S(new V(u, ni), (t) => t.parent.parent.classCount), k2 = new S(N2, u), S2 = new S(new V(u, k2), u), oi = new Ne("lookupType", {
|
|
30633
30633
|
1: new Ne(u, {
|
|
30634
30634
|
1: {
|
|
30635
30635
|
coverage: new V(u, ze),
|
|
@@ -30674,7 +30674,7 @@ let b2 = new T({
|
|
|
30674
30674
|
baseCoverage: new V(u, ze),
|
|
30675
30675
|
classCount: u,
|
|
30676
30676
|
markArray: new V(u, An),
|
|
30677
|
-
baseArray: new V(u,
|
|
30677
|
+
baseArray: new V(u, Bl)
|
|
30678
30678
|
},
|
|
30679
30679
|
5: {
|
|
30680
30680
|
format: u,
|
|
@@ -30690,7 +30690,7 @@ let b2 = new T({
|
|
|
30690
30690
|
mark2Coverage: new V(u, ze),
|
|
30691
30691
|
classCount: u,
|
|
30692
30692
|
mark1Array: new V(u, An),
|
|
30693
|
-
mark2Array: new V(u,
|
|
30693
|
+
mark2Array: new V(u, Bl)
|
|
30694
30694
|
},
|
|
30695
30695
|
7: u0,
|
|
30696
30696
|
8: h0,
|
|
@@ -30825,16 +30825,16 @@ class R2 {
|
|
|
30825
30825
|
this._size = e;
|
|
30826
30826
|
}
|
|
30827
30827
|
}
|
|
30828
|
-
let
|
|
30828
|
+
let B2 = new T({
|
|
30829
30829
|
entry: new R2((t) => ((t.parent.entryFormat & 48) >> 4) + 1),
|
|
30830
30830
|
outerIndex: (t) => t.entry >> (t.parent.entryFormat & 15) + 1,
|
|
30831
30831
|
innerIndex: (t) => t.entry & (1 << (t.parent.entryFormat & 15) + 1) - 1
|
|
30832
30832
|
}), Nn = new T({
|
|
30833
30833
|
entryFormat: u,
|
|
30834
30834
|
mapCount: u,
|
|
30835
|
-
mapData: new S(
|
|
30835
|
+
mapData: new S(B2, "mapCount")
|
|
30836
30836
|
});
|
|
30837
|
-
var
|
|
30837
|
+
var D2 = new T({
|
|
30838
30838
|
majorVersion: u,
|
|
30839
30839
|
minorVersion: u,
|
|
30840
30840
|
itemVariationStore: new V(I, Ur),
|
|
@@ -30889,7 +30889,7 @@ let K2 = new T({
|
|
|
30889
30889
|
left: u,
|
|
30890
30890
|
right: u,
|
|
30891
30891
|
value: Z
|
|
30892
|
-
}),
|
|
30892
|
+
}), Dl = new T({
|
|
30893
30893
|
firstGlyph: u,
|
|
30894
30894
|
nGlyphs: u,
|
|
30895
30895
|
offsets: new S(u, "nGlyphs"),
|
|
@@ -30908,10 +30908,10 @@ let K2 = new T({
|
|
|
30908
30908
|
},
|
|
30909
30909
|
2: {
|
|
30910
30910
|
rowWidth: u,
|
|
30911
|
-
leftTable: new V(u,
|
|
30911
|
+
leftTable: new V(u, Dl, {
|
|
30912
30912
|
type: "parent"
|
|
30913
30913
|
}),
|
|
30914
|
-
rightTable: new V(u,
|
|
30914
|
+
rightTable: new V(u, Dl, {
|
|
30915
30915
|
type: "parent"
|
|
30916
30916
|
}),
|
|
30917
30917
|
array: new V(u, j2, {
|
|
@@ -31392,13 +31392,13 @@ let Fv = {
|
|
|
31392
31392
|
features: new S(zv, "nFeatureEntries"),
|
|
31393
31393
|
subtables: new S(Mv, "nSubtables")
|
|
31394
31394
|
});
|
|
31395
|
-
var
|
|
31395
|
+
var Bv = new T({
|
|
31396
31396
|
version: u,
|
|
31397
31397
|
unused: new Ke(u),
|
|
31398
31398
|
nChains: I,
|
|
31399
31399
|
chains: new S(Rv, "nChains")
|
|
31400
31400
|
});
|
|
31401
|
-
let
|
|
31401
|
+
let Dv = new T({
|
|
31402
31402
|
left: Z,
|
|
31403
31403
|
top: Z,
|
|
31404
31404
|
right: Z,
|
|
@@ -31407,11 +31407,11 @@ let Bv = new T({
|
|
|
31407
31407
|
var Lv = new T({
|
|
31408
31408
|
version: tt,
|
|
31409
31409
|
format: u,
|
|
31410
|
-
lookupTable: new Is(
|
|
31410
|
+
lookupTable: new Is(Dv)
|
|
31411
31411
|
});
|
|
31412
31412
|
let pe = {};
|
|
31413
31413
|
var dr = pe;
|
|
31414
|
-
pe.cmap =
|
|
31414
|
+
pe.cmap = D1;
|
|
31415
31415
|
pe.head = L1;
|
|
31416
31416
|
pe.hhea = Z1;
|
|
31417
31417
|
pe.hmtx = G1;
|
|
@@ -31437,7 +31437,7 @@ pe.GDEF = m2;
|
|
|
31437
31437
|
pe.GPOS = V2;
|
|
31438
31438
|
pe.GSUB = P2;
|
|
31439
31439
|
pe.JSTF = z2;
|
|
31440
|
-
pe.HVAR =
|
|
31440
|
+
pe.HVAR = D2;
|
|
31441
31441
|
pe.DSIG = U2;
|
|
31442
31442
|
pe.gasp = W2;
|
|
31443
31443
|
pe.hdmx = H2;
|
|
@@ -31453,7 +31453,7 @@ pe.feat = gv;
|
|
|
31453
31453
|
pe.fvar = yv;
|
|
31454
31454
|
pe.gvar = xv;
|
|
31455
31455
|
pe.just = _v;
|
|
31456
|
-
pe.morx =
|
|
31456
|
+
pe.morx = Bv;
|
|
31457
31457
|
pe.opbd = Lv;
|
|
31458
31458
|
let Zv = new T({
|
|
31459
31459
|
tag: new Re(4),
|
|
@@ -31483,7 +31483,7 @@ Fo.preEncode = function() {
|
|
|
31483
31483
|
i && s.push({
|
|
31484
31484
|
tag: a,
|
|
31485
31485
|
checkSum: 0,
|
|
31486
|
-
offset: new
|
|
31486
|
+
offset: new Dn(dr[a], i),
|
|
31487
31487
|
length: dr[a].size(i)
|
|
31488
31488
|
});
|
|
31489
31489
|
}
|
|
@@ -33483,7 +33483,7 @@ class Cs extends Fs {
|
|
|
33483
33483
|
function N3(t) {
|
|
33484
33484
|
let e = x3.get(t);
|
|
33485
33485
|
if (e) return e - 1;
|
|
33486
|
-
let s =
|
|
33486
|
+
let s = Dr(t);
|
|
33487
33487
|
return s === "Mn" || s === "Me" || s === "Cf" ? Hn.Transparent : Hn.Non_Joining;
|
|
33488
33488
|
}
|
|
33489
33489
|
class k3 {
|
|
@@ -33775,7 +33775,7 @@ class V0 extends Fs {
|
|
|
33775
33775
|
}
|
|
33776
33776
|
}
|
|
33777
33777
|
Ft(V0, "zeroMarkWidths", "NONE");
|
|
33778
|
-
const Aa = 44032, I0 = 55204, V3 = I0 - Aa + 1, Wr = 4352, Yr = 4449, js = 4519, I3 = 19, mr = 21, li = 28, _3 = Wr + I3 - 1, F3 = Yr + mr - 1, P3 = js + li - 1, Ql = 9676, E3 = (t) => 4352 <= t && t <= 4447 || 43360 <= t && t <= 43388, T3 = (t) => 4448 <= t && t <= 4519 || 55216 <= t && t <= 55238, O3 = (t) => 4520 <= t && t <= 4607 || 55243 <= t && t <= 55291, M3 = (t) => 12334 <= t && t <= 12335, z3 = (t) => Aa <= t && t <= I0, R3 = (t) => t - Aa < V3 && (t - Aa) % li === 0,
|
|
33778
|
+
const Aa = 44032, I0 = 55204, V3 = I0 - Aa + 1, Wr = 4352, Yr = 4449, js = 4519, I3 = 19, mr = 21, li = 28, _3 = Wr + I3 - 1, F3 = Yr + mr - 1, P3 = js + li - 1, Ql = 9676, E3 = (t) => 4352 <= t && t <= 4447 || 43360 <= t && t <= 43388, T3 = (t) => 4448 <= t && t <= 4519 || 55216 <= t && t <= 55238, O3 = (t) => 4520 <= t && t <= 4607 || 55243 <= t && t <= 55291, M3 = (t) => 12334 <= t && t <= 12335, z3 = (t) => Aa <= t && t <= I0, R3 = (t) => t - Aa < V3 && (t - Aa) % li === 0, B3 = (t) => Wr <= t && t <= _3, D3 = (t) => Yr <= t && t <= F3, L3 = (t) => 1 <= t && t <= P3, Z3 = 0, U3 = 1, yr = 2, To = 3, br = 4, _0 = 5, G3 = 6;
|
|
33779
33779
|
function wr(t) {
|
|
33780
33780
|
return E3(t) ? U3 : T3(t) ? yr : O3(t) ? To : R3(t) ? br : z3(t) ? _0 : M3(t) ? G3 : Z3;
|
|
33781
33781
|
}
|
|
@@ -33937,7 +33937,7 @@ function Y3(t, e, s) {
|
|
|
33937
33937
|
else {
|
|
33938
33938
|
r === yr ? (c = t[e - 1], f = a) : (c = t[e - 2], f = t[e - 1], h = a);
|
|
33939
33939
|
let y = c.codePoints[0], m = f.codePoints[0];
|
|
33940
|
-
|
|
33940
|
+
B3(y) && D3(m) && (l = Aa + ((y - Wr) * mr + (m - Yr)) * li);
|
|
33941
33941
|
}
|
|
33942
33942
|
let d = h && h.codePoints[0] || js;
|
|
33943
33943
|
if (l != null && (d === js || L3(d))) {
|
|
@@ -34197,7 +34197,7 @@ function $3(t, e) {
|
|
|
34197
34197
|
for (let i = a; i < e.length; i++) e[i].shaperInfo = new Yi(ke.X, fe.End, "non_indic_cluster", s);
|
|
34198
34198
|
}
|
|
34199
34199
|
}
|
|
34200
|
-
function
|
|
34200
|
+
function Bs(t) {
|
|
34201
34201
|
return t.shaperInfo.category & X3;
|
|
34202
34202
|
}
|
|
34203
34203
|
function $t(t) {
|
|
@@ -34262,7 +34262,7 @@ function tx(t, e, s) {
|
|
|
34262
34262
|
let v = l, E = !1;
|
|
34263
34263
|
do {
|
|
34264
34264
|
let b = e[--v].shaperInfo;
|
|
34265
|
-
if (
|
|
34265
|
+
if (Bs(e[v])) {
|
|
34266
34266
|
if (b.position !== fe.Below_C && (b.position !== fe.Post_C || E)) {
|
|
34267
34267
|
h = v;
|
|
34268
34268
|
break;
|
|
@@ -34274,7 +34274,7 @@ function tx(t, e, s) {
|
|
|
34274
34274
|
}
|
|
34275
34275
|
case "First":
|
|
34276
34276
|
h = o;
|
|
34277
|
-
for (let v = h + 1; v < l; v++)
|
|
34277
|
+
for (let v = h + 1; v < l; v++) Bs(e[v]) && (e[v].shaperInfo.position = fe.Below_C);
|
|
34278
34278
|
}
|
|
34279
34279
|
y && h === o && d - h <= 2 && (y = !1);
|
|
34280
34280
|
for (let v = o; v < h; v++) {
|
|
@@ -34283,7 +34283,7 @@ function tx(t, e, s) {
|
|
|
34283
34283
|
}
|
|
34284
34284
|
h < l && (e[h].shaperInfo.position = fe.Base_C);
|
|
34285
34285
|
for (let v = h + 1; v < l; v++) if (e[v].shaperInfo.category === ke.M) {
|
|
34286
|
-
for (let E = v + 1; E < l; E++) if (
|
|
34286
|
+
for (let E = v + 1; E < l; E++) if (Bs(e[E])) {
|
|
34287
34287
|
e[E].shaperInfo.position = fe.Final_C;
|
|
34288
34288
|
break;
|
|
34289
34289
|
}
|
|
@@ -34293,7 +34293,7 @@ function tx(t, e, s) {
|
|
|
34293
34293
|
let v = s.unicodeScript !== "Malayalam";
|
|
34294
34294
|
for (let E = h + 1; E < l; E++) if (e[E].shaperInfo.category === ke.H) {
|
|
34295
34295
|
let b;
|
|
34296
|
-
for (b = l - 1; b > E && !(
|
|
34296
|
+
for (b = l - 1; b > E && !(Bs(e[b]) || v && e[b].shaperInfo.category === ke.H); b--)
|
|
34297
34297
|
;
|
|
34298
34298
|
if (e[b].shaperInfo.category !== ke.H && b > E) {
|
|
34299
34299
|
let U = e[E];
|
|
@@ -34316,7 +34316,7 @@ function tx(t, e, s) {
|
|
|
34316
34316
|
}
|
|
34317
34317
|
let x = h;
|
|
34318
34318
|
for (let v = h + 1; v < l; v++)
|
|
34319
|
-
if (
|
|
34319
|
+
if (Bs(e[v])) {
|
|
34320
34320
|
for (let E = x + 1; E < v; E++) e[E].shaperInfo.position < fe.SMVD && (e[E].shaperInfo.position = e[v].shaperInfo.position);
|
|
34321
34321
|
x = v;
|
|
34322
34322
|
} else e[v].shaperInfo.category === ke.M && (x = v);
|
|
@@ -34351,7 +34351,7 @@ function tx(t, e, s) {
|
|
|
34351
34351
|
let E = e[v].shaperInfo.category === ke.ZWNJ, b = v;
|
|
34352
34352
|
do
|
|
34353
34353
|
b--, E && delete e[b].features.half;
|
|
34354
|
-
while (b > o && !
|
|
34354
|
+
while (b > o && !Bs(e[b]));
|
|
34355
34355
|
}
|
|
34356
34356
|
}
|
|
34357
34357
|
}
|
|
@@ -34373,7 +34373,7 @@ function sx(t, e, s) {
|
|
|
34373
34373
|
for (; c < n && $t(e[c]); ) c++;
|
|
34374
34374
|
if (c === n || !cs(e[c])) break;
|
|
34375
34375
|
for (c++; c < n && $t(e[c]); ) c++;
|
|
34376
|
-
c < n &&
|
|
34376
|
+
c < n && Bs(e[c]) && e[c].shaperInfo.position === fe.Below_C && (l = c, e[l].shaperInfo.position = fe.Base_C);
|
|
34377
34377
|
}
|
|
34378
34378
|
r < l && e[l].shaperInfo.position > fe.Base_C && l--;
|
|
34379
34379
|
break;
|
|
@@ -34440,7 +34440,7 @@ function sx(t, e, s) {
|
|
|
34440
34440
|
break;
|
|
34441
34441
|
}
|
|
34442
34442
|
}
|
|
34443
|
-
e[r].shaperInfo.position === fe.Pre_M && (!r || !/Cf|Mn/.test(
|
|
34443
|
+
e[r].shaperInfo.position === fe.Pre_M && (!r || !/Cf|Mn/.test(Dr(e[r - 1].codePoints[0]))) && (e[r].features.init = !0);
|
|
34444
34444
|
}
|
|
34445
34445
|
}
|
|
34446
34446
|
function vr(t, e) {
|
|
@@ -35053,11 +35053,11 @@ class Ia {
|
|
|
35053
35053
|
0 < ee && ee < 1 && (F === 0 ? e.addPoint(i(ee), e.maxY) : F === 1 && e.addPoint(e.maxX, i(ee)));
|
|
35054
35054
|
continue;
|
|
35055
35055
|
}
|
|
35056
|
-
let
|
|
35057
|
-
if (
|
|
35058
|
-
let L = (-b + Math.sqrt(
|
|
35056
|
+
let D = Math.pow(b, 2) - 4 * N * U;
|
|
35057
|
+
if (D < 0) continue;
|
|
35058
|
+
let L = (-b + Math.sqrt(D)) / (2 * U);
|
|
35059
35059
|
0 < L && L < 1 && (F === 0 ? e.addPoint(i(L), e.maxY) : F === 1 && e.addPoint(e.maxX, i(L)));
|
|
35060
|
-
let J = (-b - Math.sqrt(
|
|
35060
|
+
let J = (-b - Math.sqrt(D)) / (2 * U);
|
|
35061
35061
|
0 < J && J < 1 && (F === 0 ? e.addPoint(i(J), e.maxY) : F === 1 && e.addPoint(e.maxX, i(J)));
|
|
35062
35062
|
}
|
|
35063
35063
|
s = h, a = d;
|
|
@@ -35731,11 +35731,11 @@ class Fx extends ns {
|
|
|
35731
35731
|
let r = new Ia(), n = [], o = [], l = null, c = 0, f = 0, h = 0, d, y, m = !1;
|
|
35732
35732
|
this._usedGsubrs = d = {}, this._usedSubrs = y = {};
|
|
35733
35733
|
let x = e.globalSubrIndex || [], P = this.bias(x), F = e.privateDictForGlyph(this.id) || {}, N = F.Subrs || [], v = this.bias(N), E = e.topDict.vstore && e.topDict.vstore.itemVariationStore, b = F.vsindex, U = this._font._variationProcessor;
|
|
35734
|
-
function
|
|
35734
|
+
function D() {
|
|
35735
35735
|
l == null && (l = n.shift() + F.nominalWidthX);
|
|
35736
35736
|
}
|
|
35737
35737
|
function L() {
|
|
35738
|
-
return n.length % 2 !== 0 &&
|
|
35738
|
+
return n.length % 2 !== 0 && D(), c += n.length >> 1, n.length = 0;
|
|
35739
35739
|
}
|
|
35740
35740
|
function J(te, ue) {
|
|
35741
35741
|
m && r.closePath(), r.moveTo(te, ue), m = !0;
|
|
@@ -35744,7 +35744,7 @@ class Fx extends ns {
|
|
|
35744
35744
|
for (; s.pos < i; ) {
|
|
35745
35745
|
let re = s.readUInt8();
|
|
35746
35746
|
if (re < 32) {
|
|
35747
|
-
let Se, xe, Fe, be, G, Y, W, me, de, Ee, Le, Te, Pe,
|
|
35747
|
+
let Se, xe, Fe, be, G, Y, W, me, de, Ee, Le, Te, Pe, lt, H, z;
|
|
35748
35748
|
switch (re) {
|
|
35749
35749
|
case 1:
|
|
35750
35750
|
case 3:
|
|
@@ -35753,7 +35753,7 @@ class Fx extends ns {
|
|
|
35753
35753
|
L();
|
|
35754
35754
|
break;
|
|
35755
35755
|
case 4:
|
|
35756
|
-
n.length > 1 &&
|
|
35756
|
+
n.length > 1 && D(), h += n.shift(), J(f, h);
|
|
35757
35757
|
break;
|
|
35758
35758
|
case 5:
|
|
35759
35759
|
for (; n.length >= 2; )
|
|
@@ -35780,7 +35780,7 @@ class Fx extends ns {
|
|
|
35780
35780
|
return;
|
|
35781
35781
|
case 14:
|
|
35782
35782
|
if (e.version >= 2) break;
|
|
35783
|
-
n.length > 0 &&
|
|
35783
|
+
n.length > 0 && D(), m && (r.closePath(), m = !1);
|
|
35784
35784
|
break;
|
|
35785
35785
|
case 15:
|
|
35786
35786
|
if (e.version < 2) throw new Error("vsindex operator not supported in CFF v1");
|
|
@@ -35803,10 +35803,10 @@ class Fx extends ns {
|
|
|
35803
35803
|
L(), s.pos += c + 7 >> 3;
|
|
35804
35804
|
break;
|
|
35805
35805
|
case 21:
|
|
35806
|
-
n.length > 2 &&
|
|
35806
|
+
n.length > 2 && D(), f += n.shift(), h += n.shift(), J(f, h);
|
|
35807
35807
|
break;
|
|
35808
35808
|
case 22:
|
|
35809
|
-
n.length > 1 &&
|
|
35809
|
+
n.length > 1 && D(), f += n.shift(), J(f, h);
|
|
35810
35810
|
break;
|
|
35811
35811
|
case 24:
|
|
35812
35812
|
for (; n.length >= 8; )
|
|
@@ -35917,7 +35917,7 @@ class Fx extends ns {
|
|
|
35917
35917
|
}
|
|
35918
35918
|
break;
|
|
35919
35919
|
case 34:
|
|
35920
|
-
be = f + n.shift(), G = h, Y = be + n.shift(), W = G + n.shift(), me = Y + n.shift(), de = W, Ee = me + n.shift(), Le = de, Te = Ee + n.shift(), Pe = Le,
|
|
35920
|
+
be = f + n.shift(), G = h, Y = be + n.shift(), W = G + n.shift(), me = Y + n.shift(), de = W, Ee = me + n.shift(), Le = de, Te = Ee + n.shift(), Pe = Le, lt = Te + n.shift(), H = Pe, f = lt, h = H, r.bezierCurveTo(be, G, Y, W, me, de), r.bezierCurveTo(Ee, Le, Te, Pe, lt, H);
|
|
35921
35921
|
break;
|
|
35922
35922
|
case 35:
|
|
35923
35923
|
z = [];
|
|
@@ -35926,7 +35926,7 @@ class Fx extends ns {
|
|
|
35926
35926
|
r.bezierCurveTo(...z.slice(0, 6)), r.bezierCurveTo(...z.slice(6)), n.shift();
|
|
35927
35927
|
break;
|
|
35928
35928
|
case 36:
|
|
35929
|
-
be = f + n.shift(), G = h + n.shift(), Y = be + n.shift(), W = G + n.shift(), me = Y + n.shift(), de = W, Ee = me + n.shift(), Le = de, Te = Ee + n.shift(), Pe = Le + n.shift(),
|
|
35929
|
+
be = f + n.shift(), G = h + n.shift(), Y = be + n.shift(), W = G + n.shift(), me = Y + n.shift(), de = W, Ee = me + n.shift(), Le = de, Te = Ee + n.shift(), Pe = Le + n.shift(), lt = Te + n.shift(), H = Pe, f = lt, h = H, r.bezierCurveTo(be, G, Y, W, me, de), r.bezierCurveTo(Ee, Le, Te, Pe, lt, H);
|
|
35930
35930
|
break;
|
|
35931
35931
|
case 37:
|
|
35932
35932
|
let je = f, dt = h;
|
|
@@ -36060,7 +36060,7 @@ class Tx extends ns {
|
|
|
36060
36060
|
super(...e), Ft(this, "type", "COLR");
|
|
36061
36061
|
}
|
|
36062
36062
|
}
|
|
36063
|
-
const Ox = 32768, Mx = 4095, zx = 32768, lc = 16384, Rx = 8192, cc = 4095, fc = 128, uc = 127,
|
|
36063
|
+
const Ox = 32768, Mx = 4095, zx = 32768, lc = 16384, Rx = 8192, cc = 4095, fc = 128, uc = 127, Bx = 128, Dx = 64, Lx = 63;
|
|
36064
36064
|
class Zx {
|
|
36065
36065
|
normalizeCoords(e) {
|
|
36066
36066
|
let s = [];
|
|
@@ -36121,10 +36121,10 @@ class Zx {
|
|
|
36121
36121
|
var l = r.pos;
|
|
36122
36122
|
if (r.pos = o, N & Rx) var m = this.decodePoints();
|
|
36123
36123
|
else var m = c;
|
|
36124
|
-
let b = m.length === 0 ? s.length : m.length, U = this.decodeDeltas(b),
|
|
36124
|
+
let b = m.length === 0 ? s.length : m.length, U = this.decodeDeltas(b), D = this.decodeDeltas(b);
|
|
36125
36125
|
if (m.length === 0) for (let L = 0; L < s.length; L++) {
|
|
36126
36126
|
var x = s[L];
|
|
36127
|
-
x.x += Math.round(U[L] * v), x.y += Math.round(
|
|
36127
|
+
x.x += Math.round(U[L] * v), x.y += Math.round(D[L] * v);
|
|
36128
36128
|
}
|
|
36129
36129
|
else {
|
|
36130
36130
|
let L = f.map((ee) => ee.copy()), J = s.map(() => !1);
|
|
@@ -36132,7 +36132,7 @@ class Zx {
|
|
|
36132
36132
|
let te = m[ee];
|
|
36133
36133
|
if (te < s.length) {
|
|
36134
36134
|
let ue = L[te];
|
|
36135
|
-
J[te] = !0, ue.x += U[ee] * v, ue.y +=
|
|
36135
|
+
J[te] = !0, ue.x += U[ee] * v, ue.y += D[ee] * v;
|
|
36136
36136
|
}
|
|
36137
36137
|
}
|
|
36138
36138
|
this.interpolateMissingDeltas(L, f, J);
|
|
@@ -36159,9 +36159,9 @@ class Zx {
|
|
|
36159
36159
|
let s = this.font.stream, a = 0, i = new Int16Array(e);
|
|
36160
36160
|
for (; a < e; ) {
|
|
36161
36161
|
let r = s.readUInt8(), n = (r & Lx) + 1;
|
|
36162
|
-
if (r &
|
|
36162
|
+
if (r & Bx) a += n;
|
|
36163
36163
|
else {
|
|
36164
|
-
let o = r &
|
|
36164
|
+
let o = r & Dx ? s.readInt16BE : s.readInt8;
|
|
36165
36165
|
for (let l = 0; l < n && a < e; l++) i[a++] = o.call(s);
|
|
36166
36166
|
}
|
|
36167
36167
|
}
|
|
@@ -36301,9 +36301,9 @@ class jx {
|
|
|
36301
36301
|
for (let v = 0; v < N.args.length; v += 2) {
|
|
36302
36302
|
let E = N.args[v], b = N.args[v + 1], U = 0;
|
|
36303
36303
|
if (N.command === "quadraticCurveTo" && v === 2) {
|
|
36304
|
-
let
|
|
36305
|
-
if (
|
|
36306
|
-
let L = (l +
|
|
36304
|
+
let D = e.commands[F + 1];
|
|
36305
|
+
if (D && D.command === "quadraticCurveTo") {
|
|
36306
|
+
let L = (l + D.args[0]) / 2, J = (c + D.args[1]) / 2;
|
|
36307
36307
|
if (E === L && b === J) continue;
|
|
36308
36308
|
}
|
|
36309
36309
|
}
|
|
@@ -37544,7 +37544,7 @@ async function OC(t) {
|
|
|
37544
37544
|
);
|
|
37545
37545
|
}
|
|
37546
37546
|
}
|
|
37547
|
-
function
|
|
37547
|
+
function Bi(t) {
|
|
37548
37548
|
if (t == null) return "400";
|
|
37549
37549
|
if (typeof t == "number") return String(t);
|
|
37550
37550
|
const e = String(t).toLowerCase().trim(), s = {
|
|
@@ -37680,7 +37680,7 @@ var yi = class Ye {
|
|
|
37680
37680
|
return this.hb;
|
|
37681
37681
|
}
|
|
37682
37682
|
key(e) {
|
|
37683
|
-
const s =
|
|
37683
|
+
const s = Bi(e.weight);
|
|
37684
37684
|
return `${e.family}__${s}`;
|
|
37685
37685
|
}
|
|
37686
37686
|
hasRegisteredFace(e) {
|
|
@@ -37693,7 +37693,7 @@ var yi = class Ye {
|
|
|
37693
37693
|
if (this.fonts.has(a)) return;
|
|
37694
37694
|
const i = this.hb.createBlob(e), r = this.hb.createFace(i, 0), n = this.hb.createFont(r), o = r.upem || 1e3;
|
|
37695
37695
|
n.setScale(o, o);
|
|
37696
|
-
const l =
|
|
37696
|
+
const l = Bi(s.weight), c = parseInt(l, 10);
|
|
37697
37697
|
if (c !== 400 && typeof n.setVariations == "function")
|
|
37698
37698
|
try {
|
|
37699
37699
|
n.setVariations(`wght=${c}`);
|
|
@@ -37720,7 +37720,7 @@ var yi = class Ye {
|
|
|
37720
37720
|
const s = Ye.fallbackLoader;
|
|
37721
37721
|
if (!s) return !1;
|
|
37722
37722
|
try {
|
|
37723
|
-
const a =
|
|
37723
|
+
const a = Bi(e.weight), i = await s({
|
|
37724
37724
|
family: e.family,
|
|
37725
37725
|
weight: a
|
|
37726
37726
|
});
|
|
@@ -37746,7 +37746,7 @@ var yi = class Ye {
|
|
|
37746
37746
|
}
|
|
37747
37747
|
}
|
|
37748
37748
|
async tryDeriveFromExistingFont(e) {
|
|
37749
|
-
const s = e.family, a =
|
|
37749
|
+
const s = e.family, a = Bi(e.weight), i = parseInt(a, 10);
|
|
37750
37750
|
let r;
|
|
37751
37751
|
for (const [d, y] of this.blobs)
|
|
37752
37752
|
if (d.startsWith(`${s}__`)) {
|
|
@@ -37918,15 +37918,15 @@ var zC = class {
|
|
|
37918
37918
|
const N = Array.from(o), v = [];
|
|
37919
37919
|
let E = { text: "", startIndex: 0, isEmoji: !1 };
|
|
37920
37920
|
for (let b = 0; b < N.length; b++) {
|
|
37921
|
-
const U = N[b],
|
|
37922
|
-
b === 0 ? E = { text: U, startIndex: 0, isEmoji:
|
|
37921
|
+
const U = N[b], D = MC(U);
|
|
37922
|
+
b === 0 ? E = { text: U, startIndex: 0, isEmoji: D } : E.isEmoji === D ? E.text += U : (v.push(E), E = { text: U, startIndex: E.startIndex + E.text.length, isEmoji: D });
|
|
37923
37923
|
}
|
|
37924
37924
|
E.text && v.push(E), l = [];
|
|
37925
37925
|
for (const b of v) {
|
|
37926
|
-
const U = b.isEmoji ? n : s,
|
|
37927
|
-
for (const L of
|
|
37926
|
+
const U = b.isEmoji ? n : s, D = await this.shapeFull(b.text, U);
|
|
37927
|
+
for (const L of D)
|
|
37928
37928
|
L.cl += b.startIndex, L.fontDesc = U;
|
|
37929
|
-
l.push(...
|
|
37929
|
+
l.push(...D);
|
|
37930
37930
|
}
|
|
37931
37931
|
}
|
|
37932
37932
|
} catch (N) {
|
|
@@ -37976,10 +37976,10 @@ var zC = class {
|
|
|
37976
37976
|
}
|
|
37977
37977
|
if (m + E > r && y.length > 0) {
|
|
37978
37978
|
if (P > -1) {
|
|
37979
|
-
const b = P - (N - y.length) + 1, U = y.splice(b),
|
|
37979
|
+
const b = P - (N - y.length) + 1, U = y.splice(b), D = y.reduce((L, J) => L + J.xAdvance, 0);
|
|
37980
37980
|
d.push({
|
|
37981
37981
|
glyphs: y,
|
|
37982
|
-
width:
|
|
37982
|
+
width: D,
|
|
37983
37983
|
y: 0
|
|
37984
37984
|
}), y = U, m = U.reduce((L, J) => L + J.xAdvance, 0);
|
|
37985
37985
|
} else
|
|
@@ -38009,16 +38009,16 @@ var zC = class {
|
|
|
38009
38009
|
function RC(t, e) {
|
|
38010
38010
|
return t.type === "linear" ? { kind: "linear", angle: t.angle, stops: t.stops, opacity: e } : { kind: "radial", stops: t.stops, opacity: e };
|
|
38011
38011
|
}
|
|
38012
|
-
function
|
|
38012
|
+
function BC(t, e) {
|
|
38013
38013
|
const s = Math.max(1, Math.round(e.fontSize * 0.05));
|
|
38014
38014
|
let a = e.baselineY + Math.round(e.fontSize * 0.1);
|
|
38015
38015
|
return t === "line-through" && (a = e.baselineY - Math.round(e.fontSize * 0.3)), { x1: e.xStart, x2: e.xStart + e.lineWidth, y: a, width: s };
|
|
38016
38016
|
}
|
|
38017
|
-
function
|
|
38017
|
+
function DC(t) {
|
|
38018
38018
|
return t == null ? { top: 0, right: 0, bottom: 0, left: 0 } : typeof t == "number" ? { top: t, right: t, bottom: t, left: t } : t;
|
|
38019
38019
|
}
|
|
38020
38020
|
async function LC(t) {
|
|
38021
|
-
const e = [], s =
|
|
38021
|
+
const e = [], s = DC(t.padding), a = t.border?.width ?? 0;
|
|
38022
38022
|
if (e.push({
|
|
38023
38023
|
op: "BeginFrame",
|
|
38024
38024
|
width: t.canvas.width,
|
|
@@ -38063,7 +38063,7 @@ async function LC(t) {
|
|
|
38063
38063
|
let v = N;
|
|
38064
38064
|
const E = t.lines.indexOf(F), b = l + E * o;
|
|
38065
38065
|
if (t.font.background) {
|
|
38066
|
-
const U = t.font.size * 0.15,
|
|
38066
|
+
const U = t.font.size * 0.15, D = t.font.size * 0.12, L = t.font.size * 0.92 + D * 2, J = b - t.font.size * 0.78 - D;
|
|
38067
38067
|
d.push({
|
|
38068
38068
|
op: "Rectangle",
|
|
38069
38069
|
x: N - U,
|
|
@@ -38074,12 +38074,12 @@ async function LC(t) {
|
|
|
38074
38074
|
});
|
|
38075
38075
|
}
|
|
38076
38076
|
for (const U of F.glyphs) {
|
|
38077
|
-
const
|
|
38077
|
+
const D = v + U.xOffset, L = b + U.yOffset, J = U.fontDesc?.family;
|
|
38078
38078
|
if ((U.isColorEmoji || J && t.isColorEmojiFont && t.isColorEmojiFont(J)) && U.char) {
|
|
38079
38079
|
h.push({
|
|
38080
38080
|
op: "DrawColorEmoji",
|
|
38081
38081
|
char: U.char,
|
|
38082
|
-
x:
|
|
38082
|
+
x: D,
|
|
38083
38083
|
y: L,
|
|
38084
38084
|
fontSize: t.font.size,
|
|
38085
38085
|
fontFamily: J || "NotoColorEmoji"
|
|
@@ -38091,19 +38091,19 @@ async function LC(t) {
|
|
|
38091
38091
|
v += U.xAdvance;
|
|
38092
38092
|
continue;
|
|
38093
38093
|
}
|
|
38094
|
-
const ue = UC(te), re =
|
|
38094
|
+
const ue = UC(te), re = D + r * ue.x, Se = D + r * (ue.x + ue.w), xe = L - r * (ue.y + ue.h), Fe = L - r * ue.y;
|
|
38095
38095
|
re < y && (y = re), xe < m && (m = xe), Se > x && (x = Se), Fe > P && (P = Fe), t.shadow && t.shadow.blur > 0 && h.push({
|
|
38096
38096
|
isShadow: !0,
|
|
38097
38097
|
op: "FillPath",
|
|
38098
38098
|
path: te,
|
|
38099
|
-
x:
|
|
38099
|
+
x: D + t.shadow.offsetX,
|
|
38100
38100
|
y: L + t.shadow.offsetY,
|
|
38101
38101
|
scale: r,
|
|
38102
38102
|
fill: { kind: "solid", color: t.shadow.color, opacity: t.shadow.opacity }
|
|
38103
38103
|
}), t.stroke && t.stroke.width > 0 && h.push({
|
|
38104
38104
|
op: "StrokePath",
|
|
38105
38105
|
path: te,
|
|
38106
|
-
x:
|
|
38106
|
+
x: D,
|
|
38107
38107
|
y: L,
|
|
38108
38108
|
scale: r,
|
|
38109
38109
|
width: t.stroke.width,
|
|
@@ -38112,14 +38112,14 @@ async function LC(t) {
|
|
|
38112
38112
|
}), h.push({
|
|
38113
38113
|
op: "FillPath",
|
|
38114
38114
|
path: te,
|
|
38115
|
-
x:
|
|
38115
|
+
x: D,
|
|
38116
38116
|
y: L,
|
|
38117
38117
|
scale: r,
|
|
38118
38118
|
fill: c
|
|
38119
38119
|
}), v += U.xAdvance;
|
|
38120
38120
|
}
|
|
38121
38121
|
if (t.style.textDecoration !== "none") {
|
|
38122
|
-
const U =
|
|
38122
|
+
const U = BC(t.style.textDecoration, {
|
|
38123
38123
|
baselineY: b,
|
|
38124
38124
|
fontSize: t.font.size,
|
|
38125
38125
|
lineWidth: F.width,
|
|
@@ -38146,7 +38146,7 @@ async function LC(t) {
|
|
|
38146
38146
|
N.op === "FillPath" && !N.isShadow && (N.gradientBBox = F);
|
|
38147
38147
|
}
|
|
38148
38148
|
if (t.background || t.border) {
|
|
38149
|
-
const F = t.contentRect?.width ?? t.canvas.width, N = t.contentRect?.height ?? t.canvas.height, v = t.border?.width ?? 0, E = t.border?.radius ?? 0, b = v / 2, U = t.canvas.width / 2,
|
|
38149
|
+
const F = t.contentRect?.width ?? t.canvas.width, N = t.contentRect?.height ?? t.canvas.height, v = t.border?.width ?? 0, E = t.border?.radius ?? 0, b = v / 2, U = t.canvas.width / 2, D = t.canvas.height / 2, L = U - F / 2, J = D - N / 2, ee = Math.min(F - v, N - v) / 2, te = Math.min(E, ee), ue = Math.max(0, te - b);
|
|
38150
38150
|
t.background?.color && e.push({
|
|
38151
38151
|
op: "Rectangle",
|
|
38152
38152
|
x: L + v,
|
|
@@ -38334,25 +38334,25 @@ function KC(t, e, s, a, i, r, n) {
|
|
|
38334
38334
|
if (!o)
|
|
38335
38335
|
E = N;
|
|
38336
38336
|
else {
|
|
38337
|
-
let
|
|
38337
|
+
let D = -1, L = 0;
|
|
38338
38338
|
for (let J = 0; J < f.length; J++) {
|
|
38339
38339
|
const ee = f[J].glyphCount;
|
|
38340
38340
|
if (N >= L && N < L + ee) {
|
|
38341
|
-
|
|
38341
|
+
D = J;
|
|
38342
38342
|
break;
|
|
38343
38343
|
}
|
|
38344
38344
|
L += ee;
|
|
38345
38345
|
}
|
|
38346
|
-
E = Math.max(0,
|
|
38346
|
+
E = Math.max(0, D);
|
|
38347
38347
|
}
|
|
38348
38348
|
const { startF: b, endF: U } = F(E);
|
|
38349
38349
|
if (s <= b) {
|
|
38350
|
-
const
|
|
38351
|
-
v.op === "FillPath" ?
|
|
38350
|
+
const D = { ...v, x: v.x + c.x, y: v.y + c.y };
|
|
38351
|
+
v.op === "FillPath" ? D.fill.kind === "solid" ? D.fill = { ...D.fill, opacity: 0 } : D.fill = { ...D.fill, opacity: 0 } : D.opacity = 0, y.push(D);
|
|
38352
38352
|
} else if (s >= U)
|
|
38353
38353
|
y.push(v);
|
|
38354
38354
|
else {
|
|
38355
|
-
const
|
|
38355
|
+
const D = (s - b) / Math.max(1e-6, U - b), L = Cr(Math.min(1, D)), J = c.x * (1 - L), ee = c.y * (1 - L), te = { ...v, x: v.x + J, y: v.y + ee };
|
|
38356
38356
|
if (v.op === "FillPath") {
|
|
38357
38357
|
const ue = te.fill.kind === "solid" ? te.fill.opacity : te.fill.opacity ?? 1;
|
|
38358
38358
|
te.fill.kind === "solid" ? te.fill = { ...te.fill, opacity: ue * L } : te.fill = { ...te.fill, opacity: ue * L };
|
|
@@ -38393,10 +38393,10 @@ function jC(t, e, s, a, i, r) {
|
|
|
38393
38393
|
N = P;
|
|
38394
38394
|
else {
|
|
38395
38395
|
let b = -1, U = 0;
|
|
38396
|
-
for (let
|
|
38397
|
-
const L = l[
|
|
38396
|
+
for (let D = 0; D < l.length; D++) {
|
|
38397
|
+
const L = l[D].glyphCount;
|
|
38398
38398
|
if (P >= U && P < U + L) {
|
|
38399
|
-
b =
|
|
38399
|
+
b = D;
|
|
38400
38400
|
break;
|
|
38401
38401
|
}
|
|
38402
38402
|
U += L;
|
|
@@ -38410,13 +38410,13 @@ function jC(t, e, s, a, i, r) {
|
|
|
38410
38410
|
} else if (s >= E)
|
|
38411
38411
|
h.push(F);
|
|
38412
38412
|
else {
|
|
38413
|
-
const b = (s - v) / Math.max(1e-6, E - v), U = Qn(Math.min(1, b)),
|
|
38413
|
+
const b = (s - v) / Math.max(1e-6, E - v), U = Qn(Math.min(1, b)), D = { ...F };
|
|
38414
38414
|
if (F.op === "FillPath") {
|
|
38415
|
-
const L =
|
|
38416
|
-
|
|
38415
|
+
const L = D.fill.kind === "solid" ? D.fill.opacity : D.fill.opacity ?? 1;
|
|
38416
|
+
D.fill.kind === "solid" ? D.fill = { ...D.fill, opacity: L * U } : D.fill = { ...D.fill, opacity: L * U };
|
|
38417
38417
|
} else
|
|
38418
|
-
|
|
38419
|
-
h.push(
|
|
38418
|
+
D.opacity = D.opacity * U;
|
|
38419
|
+
h.push(D);
|
|
38420
38420
|
}
|
|
38421
38421
|
jr(F) && P++;
|
|
38422
38422
|
}
|
|
@@ -38442,8 +38442,8 @@ function XC(t, e, s, a, i, r, n) {
|
|
|
38442
38442
|
break;
|
|
38443
38443
|
}
|
|
38444
38444
|
const x = 0.3, F = n * 0.7 / Math.max(1, y - 1), N = (E) => {
|
|
38445
|
-
const b = E * F, U = b / n,
|
|
38446
|
-
return { startF: U, endF:
|
|
38445
|
+
const b = E * F, U = b / n, D = Math.min(1, (b + x) / n);
|
|
38446
|
+
return { startF: U, endF: D };
|
|
38447
38447
|
};
|
|
38448
38448
|
let v = 0;
|
|
38449
38449
|
for (const E of t) {
|
|
@@ -38466,14 +38466,14 @@ function XC(t, e, s, a, i, r, n) {
|
|
|
38466
38466
|
}
|
|
38467
38467
|
b = Math.max(0, L);
|
|
38468
38468
|
}
|
|
38469
|
-
const { startF: U, endF:
|
|
38469
|
+
const { startF: U, endF: D } = N(b);
|
|
38470
38470
|
if (s <= U) {
|
|
38471
38471
|
const L = { ...E, x: E.x + f.x, y: E.y + f.y };
|
|
38472
38472
|
E.op === "FillPath" ? L.fill.kind === "solid" ? L.fill = { ...L.fill, opacity: 0 } : L.fill = { ...L.fill, opacity: 0 } : L.opacity = 0, m.push(L);
|
|
38473
|
-
} else if (s >=
|
|
38473
|
+
} else if (s >= D)
|
|
38474
38474
|
m.push(E);
|
|
38475
38475
|
else {
|
|
38476
|
-
const L = (s - U) / Math.max(1e-6,
|
|
38476
|
+
const L = (s - U) / Math.max(1e-6, D - U), J = Cr(Math.min(1, L)), ee = f.x * (1 - J), te = f.y * (1 - J), ue = { ...E, x: E.x + ee, y: E.y + te };
|
|
38477
38477
|
if (E.op === "FillPath") {
|
|
38478
38478
|
const re = ue.fill.kind === "solid" ? ue.fill.opacity : ue.fill.opacity ?? 1;
|
|
38479
38479
|
ue.fill.kind === "solid" ? ue.fill = { ...ue.fill, opacity: re * J } : ue.fill = { ...ue.fill, opacity: re * J };
|
|
@@ -38742,7 +38742,7 @@ function sA(t) {
|
|
|
38742
38742
|
}
|
|
38743
38743
|
if (r.op === "ShapePath") {
|
|
38744
38744
|
e.save(), e.translate(r.x, r.y);
|
|
38745
|
-
const n = r.gradientBBox ??
|
|
38745
|
+
const n = r.gradientBBox ?? B0(r.path), o = Za(e, r.fill, n);
|
|
38746
38746
|
e.fillStyle = o;
|
|
38747
38747
|
const l = new Path2D(r.path);
|
|
38748
38748
|
e.fill(l), e.restore();
|
|
@@ -38787,7 +38787,7 @@ function aA(t) {
|
|
|
38787
38787
|
if (r.op !== "FillPath") continue;
|
|
38788
38788
|
const n = r;
|
|
38789
38789
|
if (n.isShadow) continue;
|
|
38790
|
-
const o =
|
|
38790
|
+
const o = B0(n.path), l = n.scale ?? 1, c = n.x + l * o.x, f = n.x + l * (o.x + o.w), h = n.y - l * (o.y + o.h), d = n.y - l * o.y;
|
|
38791
38791
|
c < e && (e = c), h < s && (s = h), f > a && (a = f), d > i && (i = d);
|
|
38792
38792
|
}
|
|
38793
38793
|
return e === 1 / 0 ? { x: 0, y: 0, w: 1, h: 1 } : {
|
|
@@ -38797,7 +38797,7 @@ function aA(t) {
|
|
|
38797
38797
|
h: Math.max(1, i - s)
|
|
38798
38798
|
};
|
|
38799
38799
|
}
|
|
38800
|
-
function
|
|
38800
|
+
function B0(t) {
|
|
38801
38801
|
const e = iA(t);
|
|
38802
38802
|
let s = 0, a = 1 / 0, i = 1 / 0, r = -1 / 0, n = -1 / 0;
|
|
38803
38803
|
const o = (l, c) => {
|
|
@@ -38859,7 +38859,7 @@ function Nc(t, e, s) {
|
|
|
38859
38859
|
s && t.closePath();
|
|
38860
38860
|
}
|
|
38861
38861
|
}
|
|
38862
|
-
async function
|
|
38862
|
+
async function Di(t) {
|
|
38863
38863
|
try {
|
|
38864
38864
|
const e = await fetch(t);
|
|
38865
38865
|
if (!e.ok)
|
|
@@ -38878,7 +38878,7 @@ async function Bi(t) {
|
|
|
38878
38878
|
function Ot(t, e) {
|
|
38879
38879
|
return t === void 0 ? e : typeof t == "string" ? parseFloat(t) : t;
|
|
38880
38880
|
}
|
|
38881
|
-
var
|
|
38881
|
+
var Ds = null, Ja = !1, D0 = "https://unpkg.com/@resvg/resvg-wasm@2.6.2/index_bg.wasm";
|
|
38882
38882
|
async function Oo(t) {
|
|
38883
38883
|
try {
|
|
38884
38884
|
const e = await fetch(t);
|
|
@@ -38908,26 +38908,26 @@ async function L0(t) {
|
|
|
38908
38908
|
}
|
|
38909
38909
|
}
|
|
38910
38910
|
async function nA(t) {
|
|
38911
|
-
if (
|
|
38912
|
-
return
|
|
38913
|
-
if (
|
|
38911
|
+
if (Ds && Ja)
|
|
38912
|
+
return Ds;
|
|
38913
|
+
if (Ds = await Promise.resolve().then(() => Q0), !Ja) {
|
|
38914
38914
|
let s = await L0(t);
|
|
38915
|
-
if (s || (s = await Oo(
|
|
38915
|
+
if (s || (s = await Oo(D0)), !s)
|
|
38916
38916
|
throw new Error("Failed to load resvg WASM from any source");
|
|
38917
38917
|
const a = await WebAssembly.compile(s);
|
|
38918
|
-
await
|
|
38918
|
+
await Ds.initWasm(a), Ja = !0;
|
|
38919
38919
|
}
|
|
38920
|
-
return
|
|
38920
|
+
return Ds;
|
|
38921
38921
|
}
|
|
38922
38922
|
async function oA(t) {
|
|
38923
38923
|
if (Ja)
|
|
38924
38924
|
return;
|
|
38925
|
-
|
|
38925
|
+
Ds = await Promise.resolve().then(() => Q0);
|
|
38926
38926
|
let s;
|
|
38927
|
-
if (t instanceof ArrayBuffer ? s = t : (s = await L0(t), s || (s = await Oo(
|
|
38927
|
+
if (t instanceof ArrayBuffer ? s = t : (s = await L0(t), s || (s = await Oo(D0))), !s)
|
|
38928
38928
|
throw new Error("Failed to load resvg WASM from any source");
|
|
38929
38929
|
const a = await WebAssembly.compile(s);
|
|
38930
|
-
await
|
|
38930
|
+
await Ds.initWasm(a), Ja = !0;
|
|
38931
38931
|
}
|
|
38932
38932
|
async function lA(t, e = {}) {
|
|
38933
38933
|
const { Resvg: s } = await nA(), a = {};
|
|
@@ -39261,7 +39261,7 @@ async function kA(t = {}) {
|
|
|
39261
39261
|
vc.setFallbackLoader(async (m) => {
|
|
39262
39262
|
const x = (m.family ?? "Roboto").toLowerCase(), P = `${m.weight ?? "400"}`;
|
|
39263
39263
|
if (x === "roboto" && P === "400")
|
|
39264
|
-
return
|
|
39264
|
+
return Di(kc);
|
|
39265
39265
|
});
|
|
39266
39266
|
let r;
|
|
39267
39267
|
try {
|
|
@@ -39281,7 +39281,7 @@ async function kA(t = {}) {
|
|
|
39281
39281
|
const v = (async () => {
|
|
39282
39282
|
if (r.hasRegisteredFace(P))
|
|
39283
39283
|
return;
|
|
39284
|
-
const E = await
|
|
39284
|
+
const E = await Di(m);
|
|
39285
39285
|
await r.registerFromBytes(E, P);
|
|
39286
39286
|
})();
|
|
39287
39287
|
return l.set(F, v), v;
|
|
@@ -39295,7 +39295,7 @@ async function kA(t = {}) {
|
|
|
39295
39295
|
const N = (async () => {
|
|
39296
39296
|
if (r.hasRegisteredFace(x))
|
|
39297
39297
|
return;
|
|
39298
|
-
const v = await
|
|
39298
|
+
const v = await Di(m.src);
|
|
39299
39299
|
await r.registerFromBytes(v, x);
|
|
39300
39300
|
})();
|
|
39301
39301
|
return o.set(P, N), N;
|
|
@@ -39324,7 +39324,7 @@ async function kA(t = {}) {
|
|
|
39324
39324
|
} catch {
|
|
39325
39325
|
if ((x.family || "Roboto").toLowerCase() === "roboto" && `${x.weight}` == "400") {
|
|
39326
39326
|
if (!r.hasRegisteredFace({ family: "Roboto", weight: "400" })) {
|
|
39327
|
-
const v = await
|
|
39327
|
+
const v = await Di(kc);
|
|
39328
39328
|
await r.registerFromBytes(v, {
|
|
39329
39329
|
family: "Roboto",
|
|
39330
39330
|
weight: "400"
|
|
@@ -39425,7 +39425,7 @@ async function kA(t = {}) {
|
|
|
39425
39425
|
right: m.padding,
|
|
39426
39426
|
bottom: m.padding,
|
|
39427
39427
|
left: m.padding
|
|
39428
|
-
} : m.padding : { top: 0, right: 0, bottom: 0, left: 0 }, b = m.border?.width ?? 0, U = (m.width ?? e) + b * 2,
|
|
39428
|
+
} : m.padding : { top: 0, right: 0, bottom: 0, left: 0 }, b = m.border?.width ?? 0, U = (m.width ?? e) + b * 2, D = (m.height ?? s) + b * 2, L = a, J = {
|
|
39429
39429
|
x: 0,
|
|
39430
39430
|
y: 0,
|
|
39431
39431
|
width: (m.width ?? e) - E.left - E.right,
|
|
@@ -39434,7 +39434,7 @@ async function kA(t = {}) {
|
|
|
39434
39434
|
let ue;
|
|
39435
39435
|
try {
|
|
39436
39436
|
ue = await LC({
|
|
39437
|
-
canvas: { width: U, height:
|
|
39437
|
+
canvas: { width: U, height: D, pixelRatio: L },
|
|
39438
39438
|
textRect: J,
|
|
39439
39439
|
lines: v,
|
|
39440
39440
|
contentRect: { width: ee, height: te },
|
|
@@ -39598,7 +39598,7 @@ class qt extends Nt {
|
|
|
39598
39598
|
if (!a)
|
|
39599
39599
|
return;
|
|
39600
39600
|
const i = qt.getFontSourceCacheKey(a), r = qt.fontCapabilityCache.get(i), n = r ?? this.createFontCapabilityCheckPromise(a);
|
|
39601
|
-
r || qt.fontCapabilityCache.set(i, n), this.fontSupportsBold = await n, s && this.edit.getInternalEvents().emit(
|
|
39601
|
+
r || qt.fontCapabilityCache.set(i, n), this.fontSupportsBold = await n, s && this.edit.getInternalEvents().emit(rt.FontCapabilitiesChanged, { supportsBold: this.fontSupportsBold });
|
|
39602
39602
|
}
|
|
39603
39603
|
supportsBold() {
|
|
39604
39604
|
return this.fontSupportsBold;
|
|
@@ -39898,7 +39898,7 @@ class us extends Nt {
|
|
|
39898
39898
|
await this.rerenderAtCurrentDimensions();
|
|
39899
39899
|
}
|
|
39900
39900
|
createFallbackGraphic() {
|
|
39901
|
-
const e = this.clipConfiguration.width || this.edit.size.width, s = this.clipConfiguration.height || this.edit.size.height, a =
|
|
39901
|
+
const e = this.clipConfiguration.width || this.edit.size.width, s = this.clipConfiguration.height || this.edit.size.height, a = Bc(e, s);
|
|
39902
39902
|
this.renderedWidth = e, this.renderedHeight = s, this.contentContainer.addChild(a), this.configureKeyframes();
|
|
39903
39903
|
}
|
|
39904
39904
|
update(e, s) {
|
|
@@ -40694,7 +40694,7 @@ function TA(t) {
|
|
|
40694
40694
|
}
|
|
40695
40695
|
return e;
|
|
40696
40696
|
}
|
|
40697
|
-
const
|
|
40697
|
+
const De = () => ({ status: "success" }), ot = (t) => ({ status: "noop", message: t });
|
|
40698
40698
|
class OA {
|
|
40699
40699
|
constructor(e, s) {
|
|
40700
40700
|
this.trackIdx = e, this.clip = s;
|
|
@@ -40712,16 +40712,16 @@ class OA {
|
|
|
40712
40712
|
return e.emitEvent(he.ClipAdded, {
|
|
40713
40713
|
trackIndex: this.trackIdx,
|
|
40714
40714
|
clipIndex: n
|
|
40715
|
-
}),
|
|
40715
|
+
}), De();
|
|
40716
40716
|
}
|
|
40717
40717
|
undo(e) {
|
|
40718
40718
|
if (!e) throw new Error("AddClipCommand.undo: context is required");
|
|
40719
|
-
if (!this.addedClipId) return
|
|
40719
|
+
if (!this.addedClipId) return ot("No clip ID stored");
|
|
40720
40720
|
const s = e.getDocument();
|
|
40721
40721
|
if (!s) throw new Error("AddClipCommand.undo: no document");
|
|
40722
40722
|
const i = e.getDocumentTrack(this.trackIdx)?.clips, r = i?.findIndex((o) => o.id === this.addedClipId) ?? -1;
|
|
40723
40723
|
if (r === -1)
|
|
40724
|
-
return
|
|
40724
|
+
return ot(`Clip ${this.addedClipId} not found in track ${this.trackIdx}`);
|
|
40725
40725
|
const n = i?.[r]?.alias;
|
|
40726
40726
|
if (n) {
|
|
40727
40727
|
const o = /* @__PURE__ */ new Set([`${this.trackIdx}:${r}`]);
|
|
@@ -40730,7 +40730,7 @@ class OA {
|
|
|
40730
40730
|
return e.documentRemoveClip(this.trackIdx, r), e.resolve(), e.updateDuration(), e.emitEvent(he.ClipDeleted, {
|
|
40731
40731
|
trackIndex: this.trackIdx,
|
|
40732
40732
|
clipIndex: r
|
|
40733
|
-
}),
|
|
40733
|
+
}), De();
|
|
40734
40734
|
}
|
|
40735
40735
|
dispose() {
|
|
40736
40736
|
this.addedClipId = void 0, this.convertedReferences = void 0;
|
|
@@ -40748,13 +40748,13 @@ class MA {
|
|
|
40748
40748
|
return s.addTrack(this.trackIdx), e.resolve(), e.updateDuration(), e.emitEvent(he.TrackAdded, {
|
|
40749
40749
|
trackIndex: this.trackIdx,
|
|
40750
40750
|
totalTracks: s.getTrackCount()
|
|
40751
|
-
}),
|
|
40751
|
+
}), De();
|
|
40752
40752
|
}
|
|
40753
40753
|
undo(e) {
|
|
40754
40754
|
if (!e) throw new Error("AddTrackCommand.undo: context is required");
|
|
40755
40755
|
const s = e.getDocument();
|
|
40756
40756
|
if (!s) throw new Error("AddTrackCommand.undo: document is required");
|
|
40757
|
-
return s.removeTrack(this.trackIdx), e.resolve(), e.updateDuration(),
|
|
40757
|
+
return s.removeTrack(this.trackIdx), e.resolve(), e.updateDuration(), De();
|
|
40758
40758
|
}
|
|
40759
40759
|
dispose() {
|
|
40760
40760
|
}
|
|
@@ -40771,7 +40771,7 @@ class U0 {
|
|
|
40771
40771
|
const s = e.getDocument();
|
|
40772
40772
|
if (!s) throw new Error("DeleteTrackCommand: no document");
|
|
40773
40773
|
if (s.getTrackCount() <= 1)
|
|
40774
|
-
return
|
|
40774
|
+
return ot("Cannot delete the last track");
|
|
40775
40775
|
const a = s.getTrack(this.trackIdx);
|
|
40776
40776
|
a && (this.deletedClips = a.clips.map((r) => structuredClone(r)));
|
|
40777
40777
|
const i = TA(this.deletedClips);
|
|
@@ -40781,7 +40781,7 @@ class U0 {
|
|
|
40781
40781
|
r.add(`${this.trackIdx}:${n}`);
|
|
40782
40782
|
this.convertedReferences = EA(s, e.getEditState(), i, r);
|
|
40783
40783
|
}
|
|
40784
|
-
return s.removeTrack(this.trackIdx), e.resolve(), e.updateDuration(), e.emitEvent(he.TrackRemoved, { trackIndex: this.trackIdx }),
|
|
40784
|
+
return s.removeTrack(this.trackIdx), e.resolve(), e.updateDuration(), e.emitEvent(he.TrackRemoved, { trackIndex: this.trackIdx }), De();
|
|
40785
40785
|
}
|
|
40786
40786
|
undo(e) {
|
|
40787
40787
|
if (!e) throw new Error("DeleteTrackCommand.undo: context is required");
|
|
@@ -40790,7 +40790,7 @@ class U0 {
|
|
|
40790
40790
|
s.addTrack(this.trackIdx);
|
|
40791
40791
|
for (let a = 0; a < this.deletedClips.length; a += 1)
|
|
40792
40792
|
s.addClip(this.trackIdx, this.deletedClips[a], a);
|
|
40793
|
-
return this.convertedReferences && this.convertedReferences.size > 0 && zo(s, this.convertedReferences), e.resolve(), e.updateDuration(), e.emitEvent(he.TrackAdded, { trackIndex: this.trackIdx, totalTracks: s.getTrackCount() }),
|
|
40793
|
+
return this.convertedReferences && this.convertedReferences.size > 0 && zo(s, this.convertedReferences), e.resolve(), e.updateDuration(), e.emitEvent(he.TrackAdded, { trackIndex: this.trackIdx, totalTracks: s.getTrackCount() }), De();
|
|
40794
40794
|
}
|
|
40795
40795
|
dispose() {
|
|
40796
40796
|
this.deletedClips = [], this.convertedReferences = void 0;
|
|
@@ -40813,7 +40813,7 @@ class In {
|
|
|
40813
40813
|
if (!s) throw new Error("DeleteClipCommand: no document");
|
|
40814
40814
|
const a = s.getClip(this.trackIdx, this.clipIdx);
|
|
40815
40815
|
if (!a)
|
|
40816
|
-
return
|
|
40816
|
+
return ot(`No clip at track ${this.trackIdx}, index ${this.clipIdx}`);
|
|
40817
40817
|
if (this.deletedClipConfig = structuredClone(a), this.deletedClipId = a.id, this.deletedClipId) {
|
|
40818
40818
|
const o = e.getClipBindings(this.deletedClipId);
|
|
40819
40819
|
this.storedBindings = o ? new Map(o) : void 0, s.clearClipBindings(this.deletedClipId);
|
|
@@ -40830,11 +40830,11 @@ class In {
|
|
|
40830
40830
|
return n && n.clips.length === 0 && (this.deleteTrackCommand = new U0(this.trackIdx), this.deleteTrackCommand.execute(e).status === "success" && (this.trackWasDeleted = !0)), e.resolve(), e.updateDuration(), e.emitEvent(he.ClipDeleted, {
|
|
40831
40831
|
trackIndex: this.trackIdx,
|
|
40832
40832
|
clipIndex: this.clipIdx
|
|
40833
|
-
}),
|
|
40833
|
+
}), De();
|
|
40834
40834
|
}
|
|
40835
40835
|
undo(e) {
|
|
40836
40836
|
if (!e) throw new Error("DeleteClipCommand.undo: context is required");
|
|
40837
|
-
if (!this.deletedClipConfig) return
|
|
40837
|
+
if (!this.deletedClipConfig) return ot("No deleted clip config");
|
|
40838
40838
|
const s = e.getDocument();
|
|
40839
40839
|
if (!s) throw new Error("DeleteClipCommand.undo: no document");
|
|
40840
40840
|
this.trackWasDeleted && s.addTrack(this.trackIdx);
|
|
@@ -40845,7 +40845,7 @@ class In {
|
|
|
40845
40845
|
}), this.trackWasDeleted = !1), e.emitEvent(he.ClipRestored, {
|
|
40846
40846
|
trackIndex: this.trackIdx,
|
|
40847
40847
|
clipIndex: this.clipIdx
|
|
40848
|
-
}),
|
|
40848
|
+
}), De();
|
|
40849
40849
|
}
|
|
40850
40850
|
dispose() {
|
|
40851
40851
|
this.deletedClipConfig = void 0, this.deletedClipId = void 0, this.deleteTrackCommand = void 0, this.storedBindings = void 0, this.convertedReferences = void 0;
|
|
@@ -40859,11 +40859,11 @@ class zA {
|
|
|
40859
40859
|
previousAspectRatio;
|
|
40860
40860
|
execute(e) {
|
|
40861
40861
|
if (!e) throw new Error("SetOutputAspectRatioCommand requires context");
|
|
40862
|
-
return this.previousAspectRatio = e.getOutputAspectRatio(), e.setOutputAspectRatio(this.aspectRatio),
|
|
40862
|
+
return this.previousAspectRatio = e.getOutputAspectRatio(), e.setOutputAspectRatio(this.aspectRatio), De();
|
|
40863
40863
|
}
|
|
40864
40864
|
undo(e) {
|
|
40865
40865
|
if (!e) throw new Error("SetOutputAspectRatioCommand requires context");
|
|
40866
|
-
return this.previousAspectRatio === void 0 ?
|
|
40866
|
+
return this.previousAspectRatio === void 0 ? ot("No previous aspect ratio stored") : (e.setOutputAspectRatio(this.previousAspectRatio), De());
|
|
40867
40867
|
}
|
|
40868
40868
|
dispose() {
|
|
40869
40869
|
this.previousAspectRatio = void 0;
|
|
@@ -40877,17 +40877,17 @@ class RA {
|
|
|
40877
40877
|
previousDestinations;
|
|
40878
40878
|
execute(e) {
|
|
40879
40879
|
if (!e) throw new Error("SetOutputDestinationsCommand requires context");
|
|
40880
|
-
return this.previousDestinations = e.getOutputDestinations(), e.setOutputDestinations(this.destinations),
|
|
40880
|
+
return this.previousDestinations = e.getOutputDestinations(), e.setOutputDestinations(this.destinations), De();
|
|
40881
40881
|
}
|
|
40882
40882
|
undo(e) {
|
|
40883
40883
|
if (!e) throw new Error("SetOutputDestinationsCommand requires context");
|
|
40884
|
-
return this.previousDestinations === void 0 ?
|
|
40884
|
+
return this.previousDestinations === void 0 ? ot("No previous destinations stored") : (e.setOutputDestinations(this.previousDestinations), De());
|
|
40885
40885
|
}
|
|
40886
40886
|
dispose() {
|
|
40887
40887
|
this.previousDestinations = void 0;
|
|
40888
40888
|
}
|
|
40889
40889
|
}
|
|
40890
|
-
class
|
|
40890
|
+
class BA {
|
|
40891
40891
|
constructor(e) {
|
|
40892
40892
|
this.format = e;
|
|
40893
40893
|
}
|
|
@@ -40895,17 +40895,17 @@ class DA {
|
|
|
40895
40895
|
previousFormat;
|
|
40896
40896
|
execute(e) {
|
|
40897
40897
|
if (!e) throw new Error("SetOutputFormatCommand requires context");
|
|
40898
|
-
return this.previousFormat = e.getOutputFormat(), e.setOutputFormat(this.format),
|
|
40898
|
+
return this.previousFormat = e.getOutputFormat(), e.setOutputFormat(this.format), De();
|
|
40899
40899
|
}
|
|
40900
40900
|
undo(e) {
|
|
40901
40901
|
if (!e) throw new Error("SetOutputFormatCommand requires context");
|
|
40902
|
-
return this.previousFormat === void 0 ?
|
|
40902
|
+
return this.previousFormat === void 0 ? ot("No previous format stored") : (e.setOutputFormat(this.previousFormat), De());
|
|
40903
40903
|
}
|
|
40904
40904
|
dispose() {
|
|
40905
40905
|
this.previousFormat = void 0;
|
|
40906
40906
|
}
|
|
40907
40907
|
}
|
|
40908
|
-
class
|
|
40908
|
+
class DA {
|
|
40909
40909
|
constructor(e) {
|
|
40910
40910
|
this.fps = e;
|
|
40911
40911
|
}
|
|
@@ -40913,11 +40913,11 @@ class BA {
|
|
|
40913
40913
|
previousFps;
|
|
40914
40914
|
execute(e) {
|
|
40915
40915
|
if (!e) throw new Error("SetOutputFpsCommand requires context");
|
|
40916
|
-
return this.previousFps = e.getOutputFps(), e.setOutputFps(this.fps),
|
|
40916
|
+
return this.previousFps = e.getOutputFps(), e.setOutputFps(this.fps), De();
|
|
40917
40917
|
}
|
|
40918
40918
|
undo(e) {
|
|
40919
40919
|
if (!e) throw new Error("SetOutputFpsCommand requires context");
|
|
40920
|
-
return this.previousFps === void 0 ?
|
|
40920
|
+
return this.previousFps === void 0 ? ot("No previous FPS stored") : (e.setOutputFps(this.previousFps), De());
|
|
40921
40921
|
}
|
|
40922
40922
|
dispose() {
|
|
40923
40923
|
this.previousFps = void 0;
|
|
@@ -40931,11 +40931,11 @@ class LA {
|
|
|
40931
40931
|
previousResolution;
|
|
40932
40932
|
execute(e) {
|
|
40933
40933
|
if (!e) throw new Error("SetOutputResolutionCommand requires context");
|
|
40934
|
-
return this.previousResolution = e.getOutputResolution(), e.setOutputResolution(this.resolution),
|
|
40934
|
+
return this.previousResolution = e.getOutputResolution(), e.setOutputResolution(this.resolution), De();
|
|
40935
40935
|
}
|
|
40936
40936
|
undo(e) {
|
|
40937
40937
|
if (!e) throw new Error("SetOutputResolutionCommand requires context");
|
|
40938
|
-
return this.previousResolution === void 0 ?
|
|
40938
|
+
return this.previousResolution === void 0 ? ot("No previous resolution stored") : (e.setOutputResolution(this.previousResolution), De());
|
|
40939
40939
|
}
|
|
40940
40940
|
dispose() {
|
|
40941
40941
|
this.previousResolution = void 0;
|
|
@@ -40949,11 +40949,11 @@ class ZA {
|
|
|
40949
40949
|
previousSize;
|
|
40950
40950
|
execute(e) {
|
|
40951
40951
|
if (!e) throw new Error("SetOutputSizeCommand requires context");
|
|
40952
|
-
return this.previousSize = e.getOutputSize(), e.setOutputSize(this.width, this.height),
|
|
40952
|
+
return this.previousSize = e.getOutputSize(), e.setOutputSize(this.width, this.height), De();
|
|
40953
40953
|
}
|
|
40954
40954
|
undo(e) {
|
|
40955
40955
|
if (!e) throw new Error("SetOutputSizeCommand requires context");
|
|
40956
|
-
return this.previousSize ? (e.setOutputSize(this.previousSize.width, this.previousSize.height),
|
|
40956
|
+
return this.previousSize ? (e.setOutputSize(this.previousSize.width, this.previousSize.height), De()) : ot("No previous size stored");
|
|
40957
40957
|
}
|
|
40958
40958
|
dispose() {
|
|
40959
40959
|
this.previousSize = void 0;
|
|
@@ -40967,11 +40967,11 @@ class UA {
|
|
|
40967
40967
|
previousColor;
|
|
40968
40968
|
execute(e) {
|
|
40969
40969
|
if (!e) throw new Error("SetTimelineBackgroundCommand requires context");
|
|
40970
|
-
return this.previousColor = e.getTimelineBackground(), e.setTimelineBackground(this.color),
|
|
40970
|
+
return this.previousColor = e.getTimelineBackground(), e.setTimelineBackground(this.color), De();
|
|
40971
40971
|
}
|
|
40972
40972
|
undo(e) {
|
|
40973
40973
|
if (!e) throw new Error("SetTimelineBackgroundCommand requires context");
|
|
40974
|
-
return this.previousColor === void 0 ?
|
|
40974
|
+
return this.previousColor === void 0 ? ot("No previous color stored") : (e.setTimelineBackground(this.previousColor), De());
|
|
40975
40975
|
}
|
|
40976
40976
|
dispose() {
|
|
40977
40977
|
this.previousColor = void 0;
|
|
@@ -41030,7 +41030,7 @@ class _n {
|
|
|
41030
41030
|
if (!s) throw new Error("SetUpdatedClipCommand.execute: document is required");
|
|
41031
41031
|
const a = e.getClipAt(this.trackIndex, this.clipIndex);
|
|
41032
41032
|
if (!a)
|
|
41033
|
-
return
|
|
41033
|
+
return ot(`Invalid clip at ${this.trackIndex}/${this.clipIndex}`);
|
|
41034
41034
|
this.clipId = a.clipId, this.storedInitialConfig || (this.storedInitialConfig = this.initialClipConfig ? structuredClone(this.initialClipConfig) : structuredClone(a.clipConfiguration)), this.storedFinalConfig || (this.storedFinalConfig = this.finalClipConfig ? structuredClone(this.finalClipConfig) : structuredClone(a.clipConfiguration));
|
|
41035
41035
|
const i = e.getDocumentClip(
|
|
41036
41036
|
this.trackIndex >= 0 ? this.trackIndex : a.layer - 1,
|
|
@@ -41055,16 +41055,16 @@ class _n {
|
|
|
41055
41055
|
return e.emitEvent(he.ClipUpdated, {
|
|
41056
41056
|
previous: { clip: Mt(this.previousDocClip), trackIndex: n, clipIndex: o },
|
|
41057
41057
|
current: { clip: Mt(m), trackIndex: n, clipIndex: o }
|
|
41058
|
-
}),
|
|
41058
|
+
}), De();
|
|
41059
41059
|
}
|
|
41060
41060
|
async undo(e) {
|
|
41061
41061
|
if (!e) throw new Error("SetUpdatedClipCommand.undo: context is required");
|
|
41062
41062
|
const s = this.storedInitialConfig ?? this.initialClipConfig;
|
|
41063
|
-
if (!s) return
|
|
41063
|
+
if (!s) return ot("No stored initial config");
|
|
41064
41064
|
const a = e.getDocument();
|
|
41065
41065
|
if (!a) throw new Error("SetUpdatedClipCommand.undo: document is required");
|
|
41066
41066
|
const i = this.clipId ? e.getPlayerByClipId(this.clipId) : e.getClipAt(this.trackIndex, this.clipIndex);
|
|
41067
|
-
if (!i) return
|
|
41067
|
+
if (!i) return ot("Clip not found for undo");
|
|
41068
41068
|
const r = this.trackIndex >= 0 ? this.trackIndex : i.layer - 1, n = this.clipIndex >= 0 ? this.clipIndex : e.getTracks()[r]?.indexOf(i) ?? -1, o = structuredClone(e.getDocumentClip(r, n));
|
|
41069
41069
|
if (a.replaceClipProperties(r, n, s), e.resolve(), this.clipId) {
|
|
41070
41070
|
const d = new Map(this.storedInitialBindings);
|
|
@@ -41081,7 +41081,7 @@ class _n {
|
|
|
41081
41081
|
return e.emitEvent(he.ClipUpdated, {
|
|
41082
41082
|
previous: { clip: Mt(o), trackIndex: r, clipIndex: n },
|
|
41083
41083
|
current: { clip: Mt(h), trackIndex: r, clipIndex: n }
|
|
41084
|
-
}),
|
|
41084
|
+
}), De();
|
|
41085
41085
|
}
|
|
41086
41086
|
dispose() {
|
|
41087
41087
|
this.clipId = null, this.storedInitialConfig = null, this.storedFinalConfig = null, this.storedInitialBindings.clear(), this.previousDocClip = null;
|
|
@@ -41102,10 +41102,10 @@ class GA {
|
|
|
41102
41102
|
if (!s) throw new Error("UpdateClipTimingCommand.execute: document is required");
|
|
41103
41103
|
const i = e.getDocumentTrack(this.trackIndex)?.clips[this.clipIndex];
|
|
41104
41104
|
if (!i)
|
|
41105
|
-
return
|
|
41105
|
+
return ot(`Invalid clip at ${this.trackIndex}/${this.clipIndex}`);
|
|
41106
41106
|
const r = e.getClipAt(this.trackIndex, this.clipIndex);
|
|
41107
41107
|
if (!r)
|
|
41108
|
-
return
|
|
41108
|
+
return ot(`Player not found at ${this.trackIndex}/${this.clipIndex}`);
|
|
41109
41109
|
this.originalStart = i.start, this.originalLength = i.length, this.clipId = r.clipId ?? void 0;
|
|
41110
41110
|
const n = structuredClone(i), o = {};
|
|
41111
41111
|
this.params.start !== void 0 && (o.start = this.params.start), this.params.length !== void 0 && (o.length = this.params.length), s.updateClip(this.trackIndex, this.clipIndex, o), this.clipId ? e.resolveClip(this.clipId) : e.resolve(), o.length === "auto" && e.resolveClipAutoLength(r).then(() => {
|
|
@@ -41116,7 +41116,7 @@ class GA {
|
|
|
41116
41116
|
return e.emitEvent(he.ClipUpdated, {
|
|
41117
41117
|
previous: { trackIndex: this.trackIndex, clipIndex: this.clipIndex, clip: Mt(n) },
|
|
41118
41118
|
current: { trackIndex: this.trackIndex, clipIndex: this.clipIndex, clip: Mt(l) }
|
|
41119
|
-
}), e.propagateTimingChanges(this.trackIndex, this.clipIndex),
|
|
41119
|
+
}), e.propagateTimingChanges(this.trackIndex, this.clipIndex), De();
|
|
41120
41120
|
}
|
|
41121
41121
|
undo(e) {
|
|
41122
41122
|
if (!e) throw new Error("UpdateClipTimingCommand.undo: context is required");
|
|
@@ -41136,7 +41136,7 @@ class GA {
|
|
|
41136
41136
|
return e.emitEvent(he.ClipUpdated, {
|
|
41137
41137
|
previous: { trackIndex: this.trackIndex, clipIndex: this.clipIndex, clip: Mt(i) },
|
|
41138
41138
|
current: { trackIndex: this.trackIndex, clipIndex: this.clipIndex, clip: Mt(n) }
|
|
41139
|
-
}), e.propagateTimingChanges(this.trackIndex, this.clipIndex),
|
|
41139
|
+
}), e.propagateTimingChanges(this.trackIndex, this.clipIndex), De();
|
|
41140
41140
|
}
|
|
41141
41141
|
}
|
|
41142
41142
|
class WA {
|
|
@@ -41154,9 +41154,9 @@ class WA {
|
|
|
41154
41154
|
if (!s) throw new Error("UpdateTextContentCommand.execute: document is required");
|
|
41155
41155
|
const a = e.getClipAt(this.trackIndex, this.clipIndex);
|
|
41156
41156
|
if (!a)
|
|
41157
|
-
return
|
|
41157
|
+
return ot(`Invalid clip at ${this.trackIndex}/${this.clipIndex}`);
|
|
41158
41158
|
const i = s.getClip(this.trackIndex, this.clipIndex);
|
|
41159
|
-
if (!i) return
|
|
41159
|
+
if (!i) return ot("Clip not found in document");
|
|
41160
41160
|
this.clipId = a.clipId, this.previousDocClip = structuredClone(i);
|
|
41161
41161
|
const r = i.asset;
|
|
41162
41162
|
this.previousText = r && "text" in r ? r.text ?? "" : "";
|
|
@@ -41168,14 +41168,14 @@ class WA {
|
|
|
41168
41168
|
return e.emitEvent(he.ClipUpdated, {
|
|
41169
41169
|
previous: { clip: Mt(this.previousDocClip), trackIndex: this.trackIndex, clipIndex: this.clipIndex },
|
|
41170
41170
|
current: { clip: Mt(l), trackIndex: this.trackIndex, clipIndex: this.clipIndex }
|
|
41171
|
-
}),
|
|
41171
|
+
}), De();
|
|
41172
41172
|
}
|
|
41173
41173
|
undo(e) {
|
|
41174
41174
|
if (!e) throw new Error("UpdateTextContentCommand.undo: context is required");
|
|
41175
41175
|
const s = e.getDocument();
|
|
41176
41176
|
if (!s) throw new Error("UpdateTextContentCommand.undo: document is required");
|
|
41177
41177
|
const a = structuredClone(e.getDocumentClip(this.trackIndex, this.clipIndex)), i = s.getClip(this.trackIndex, this.clipIndex);
|
|
41178
|
-
if (!i) return
|
|
41178
|
+
if (!i) return ot("Clip not found for undo");
|
|
41179
41179
|
const n = { ...i.asset, text: this.previousText };
|
|
41180
41180
|
s.updateClip(this.trackIndex, this.clipIndex, { asset: n }), this.clipId ? e.resolveClip(this.clipId) : e.resolve();
|
|
41181
41181
|
const o = e.getDocumentClip(this.trackIndex, this.clipIndex);
|
|
@@ -41187,7 +41187,7 @@ class WA {
|
|
|
41187
41187
|
current: { clip: Mt(o), trackIndex: this.trackIndex, clipIndex: this.clipIndex }
|
|
41188
41188
|
});
|
|
41189
41189
|
}
|
|
41190
|
-
return
|
|
41190
|
+
return De();
|
|
41191
41191
|
}
|
|
41192
41192
|
dispose() {
|
|
41193
41193
|
this.clipId = null, this.previousDocClip = void 0;
|
|
@@ -41327,10 +41327,10 @@ class HA {
|
|
|
41327
41327
|
}
|
|
41328
41328
|
}
|
|
41329
41329
|
setupEventListeners() {
|
|
41330
|
-
this.events.on(
|
|
41330
|
+
this.events.on(rt.PlayerLoaded, this.onPlayerLoadedBound), this.events.on(he.ClipUpdated, this.onClipChangedBound), this.events.on(rt.PlayerMovedBetweenTracks, this.onClipChangedBound);
|
|
41331
41331
|
}
|
|
41332
41332
|
removeEventListeners() {
|
|
41333
|
-
this.events.off(
|
|
41333
|
+
this.events.off(rt.PlayerLoaded, this.onPlayerLoadedBound), this.events.off(he.ClipUpdated, this.onClipChangedBound), this.events.off(rt.PlayerMovedBetweenTracks, this.onClipChangedBound);
|
|
41334
41334
|
}
|
|
41335
41335
|
processPendingMaskCleanup() {
|
|
41336
41336
|
for (let e = this.pendingMaskCleanup.length - 1; e >= 0; e -= 1) {
|
|
@@ -42545,7 +42545,7 @@ class ba {
|
|
|
42545
42545
|
const Fc = /* @__PURE__ */ new Set(["asset", "start", "length", "id"]), nN = /* @__PURE__ */ new Set(["text-to-image", "image-to-video", "text-to-speech"]);
|
|
42546
42546
|
class oN {
|
|
42547
42547
|
constructor(e) {
|
|
42548
|
-
this.edit = e, this.edit.getInternalEvents().on(
|
|
42548
|
+
this.edit = e, this.edit.getInternalEvents().on(rt.Resolved, this.onResolved);
|
|
42549
42549
|
}
|
|
42550
42550
|
isReconciling = !1;
|
|
42551
42551
|
/**
|
|
@@ -42642,7 +42642,7 @@ class oN {
|
|
|
42642
42642
|
r.layer = a + 1, r.clipId = s, this.edit.registerPlayerByClipId(s, r), this.edit.addPlayerToTracksArray(a, r), this.edit.addPlayerToContainer(a, r);
|
|
42643
42643
|
const n = e.asset?.type ?? "unknown";
|
|
42644
42644
|
return r.load().then(() => {
|
|
42645
|
-
this.edit.getInternalEvents().emit(
|
|
42645
|
+
this.edit.getInternalEvents().emit(rt.PlayerLoaded, {
|
|
42646
42646
|
player: r,
|
|
42647
42647
|
trackIndex: a,
|
|
42648
42648
|
clipIndex: i
|
|
@@ -42765,7 +42765,7 @@ class oN {
|
|
|
42765
42765
|
* Clean up event subscriptions.
|
|
42766
42766
|
*/
|
|
42767
42767
|
dispose() {
|
|
42768
|
-
this.edit.getInternalEvents().off(
|
|
42768
|
+
this.edit.getInternalEvents().off(rt.Resolved, this.onResolved);
|
|
42769
42769
|
}
|
|
42770
42770
|
}
|
|
42771
42771
|
function H0(t, e) {
|
|
@@ -43077,11 +43077,11 @@ class ci {
|
|
|
43077
43077
|
}
|
|
43078
43078
|
/* @internal Update canvas visuals after size change (viewport mask, background, zoom). */
|
|
43079
43079
|
updateCanvasForSize() {
|
|
43080
|
-
this.internalEvents.emit(
|
|
43080
|
+
this.internalEvents.emit(rt.ViewportSizeChanged, {
|
|
43081
43081
|
width: this.size.width,
|
|
43082
43082
|
height: this.size.height,
|
|
43083
43083
|
backgroundColor: this.backgroundColor
|
|
43084
|
-
}), this.internalEvents.emit(
|
|
43084
|
+
}), this.internalEvents.emit(rt.ViewportNeedsZoomToFit);
|
|
43085
43085
|
}
|
|
43086
43086
|
play() {
|
|
43087
43087
|
this.isPlaying = !0, this.internalEvents.emit(he.PlaybackPlay);
|
|
@@ -43111,11 +43111,11 @@ class ci {
|
|
|
43111
43111
|
try {
|
|
43112
43112
|
this.lastResolved = null, this.document = new ba(e);
|
|
43113
43113
|
const n = this.document.getResolution(), o = this.document.getAspectRatio();
|
|
43114
|
-
this.size = n ? kr(n, o) : this.document.getSize(), this.backgroundColor = this.document.getBackground() ?? "#000000", this.internalEvents.emit(
|
|
43114
|
+
this.size = n ? kr(n, o) : this.document.getSize(), this.backgroundColor = this.document.getBackground() ?? "#000000", this.internalEvents.emit(rt.ViewportSizeChanged, {
|
|
43115
43115
|
width: this.size.width,
|
|
43116
43116
|
height: this.size.height,
|
|
43117
43117
|
backgroundColor: this.backgroundColor
|
|
43118
|
-
}), this.internalEvents.emit(
|
|
43118
|
+
}), this.internalEvents.emit(rt.ViewportNeedsZoomToFit), this.clearClips(), await this.initializeFromDocument("loadEdit");
|
|
43119
43119
|
} catch (n) {
|
|
43120
43120
|
throw this.document = s, this.lastResolved = a, this.size = i, this.backgroundColor = r, n;
|
|
43121
43121
|
}
|
|
@@ -43205,7 +43205,7 @@ class ci {
|
|
|
43205
43205
|
resolve() {
|
|
43206
43206
|
return this.lastResolved = Pc(this.document, {
|
|
43207
43207
|
mergeFields: this.mergeFieldService
|
|
43208
|
-
}), this.internalEvents.emit(
|
|
43208
|
+
}), this.internalEvents.emit(rt.Resolved, { edit: this.lastResolved }), this.lastResolved;
|
|
43209
43209
|
}
|
|
43210
43210
|
/** @internal Resolve a single clip and update its player. */
|
|
43211
43211
|
resolveClip(e) {
|
|
@@ -43352,7 +43352,7 @@ class ci {
|
|
|
43352
43352
|
console.warn(`Cannot remove non-empty track ${e}`);
|
|
43353
43353
|
return;
|
|
43354
43354
|
}
|
|
43355
|
-
this.tracks.splice(e, 1), this.internalEvents.emit(
|
|
43355
|
+
this.tracks.splice(e, 1), this.internalEvents.emit(rt.TrackContainerRemoved, { trackIndex: e });
|
|
43356
43356
|
for (let a = e; a < this.tracks.length; a += 1)
|
|
43357
43357
|
for (const i of this.tracks[a])
|
|
43358
43358
|
i.layer = a + 1;
|
|
@@ -43463,7 +43463,7 @@ class ci {
|
|
|
43463
43463
|
console.warn(`commitClipUpdate: clip ${e} not found in document`);
|
|
43464
43464
|
return;
|
|
43465
43465
|
}
|
|
43466
|
-
|
|
43466
|
+
Bn.parse(a);
|
|
43467
43467
|
const r = new _n(s, structuredClone(a), {
|
|
43468
43468
|
trackIndex: i.trackIndex,
|
|
43469
43469
|
clipIndex: i.clipIndex
|
|
@@ -43492,7 +43492,7 @@ class ci {
|
|
|
43492
43492
|
if (!i)
|
|
43493
43493
|
return console.warn(`Clip not found at track ${e}, index ${s}`), Promise.resolve();
|
|
43494
43494
|
const r = this.document?.getClip(e, s), n = structuredClone(r ?? i.clipConfiguration), o = structuredClone(r ?? i.clipConfiguration), l = $n(o, a);
|
|
43495
|
-
|
|
43495
|
+
Bn.parse(l);
|
|
43496
43496
|
const c = new _n(n, l, {
|
|
43497
43497
|
trackIndex: e,
|
|
43498
43498
|
clipIndex: s
|
|
@@ -43919,11 +43919,11 @@ class ci {
|
|
|
43919
43919
|
* @internal Used by PlayerReconciler and commands
|
|
43920
43920
|
*/
|
|
43921
43921
|
addPlayerToContainer(e, s) {
|
|
43922
|
-
this.internalEvents.emit(
|
|
43922
|
+
this.internalEvents.emit(rt.PlayerAddedToTrack, { player: s, trackIndex: e });
|
|
43923
43923
|
}
|
|
43924
43924
|
// Move a player's container to the appropriate track container
|
|
43925
43925
|
movePlayerToTrackContainer(e, s, a) {
|
|
43926
|
-
this.internalEvents.emit(
|
|
43926
|
+
this.internalEvents.emit(rt.PlayerMovedBetweenTracks, {
|
|
43927
43927
|
player: e,
|
|
43928
43928
|
fromTrackIndex: s,
|
|
43929
43929
|
toTrackIndex: a
|
|
@@ -43939,7 +43939,7 @@ class ci {
|
|
|
43939
43939
|
async addPlayer(e, s) {
|
|
43940
43940
|
for (; this.tracks.length <= e; )
|
|
43941
43941
|
this.tracks.push([]);
|
|
43942
|
-
this.tracks[e].push(s), this.internalEvents.emit(
|
|
43942
|
+
this.tracks[e].push(s), this.internalEvents.emit(rt.PlayerAddedToTrack, { player: s, trackIndex: e }), await s.load(), this.updateTotalDuration();
|
|
43943
43943
|
}
|
|
43944
43944
|
/** @internal */
|
|
43945
43945
|
selectClip(e, s) {
|
|
@@ -44054,14 +44054,14 @@ class ci {
|
|
|
44054
44054
|
return this.executeCommand(a);
|
|
44055
44055
|
}
|
|
44056
44056
|
setOutputFps(e) {
|
|
44057
|
-
const s = new
|
|
44057
|
+
const s = new DA(e);
|
|
44058
44058
|
return this.executeCommand(s);
|
|
44059
44059
|
}
|
|
44060
44060
|
getOutputFps() {
|
|
44061
44061
|
return this.outputSettings.getFps();
|
|
44062
44062
|
}
|
|
44063
44063
|
setOutputFormat(e) {
|
|
44064
|
-
const s = new
|
|
44064
|
+
const s = new BA(e);
|
|
44065
44065
|
return this.executeCommand(s);
|
|
44066
44066
|
}
|
|
44067
44067
|
getOutputFormat() {
|
|
@@ -44123,7 +44123,7 @@ class ci {
|
|
|
44123
44123
|
return this.executeCommand(s);
|
|
44124
44124
|
}
|
|
44125
44125
|
setTimelineBackgroundInternal(e) {
|
|
44126
|
-
cw.parse(e), this.backgroundColor = e, this.document.setBackground(e), this.internalEvents.emit(
|
|
44126
|
+
cw.parse(e), this.backgroundColor = e, this.document.setBackground(e), this.internalEvents.emit(rt.ViewportSizeChanged, {
|
|
44127
44127
|
width: this.size.width,
|
|
44128
44128
|
height: this.size.height,
|
|
44129
44129
|
backgroundColor: this.backgroundColor
|
|
@@ -44253,9 +44253,9 @@ class ci {
|
|
|
44253
44253
|
}
|
|
44254
44254
|
// ─── Intent Listeners ────────────────────────────────────────────────────────
|
|
44255
44255
|
setupIntentListeners() {
|
|
44256
|
-
this.internalEvents.on(
|
|
44256
|
+
this.internalEvents.on(rt.CanvasClipClicked, (e) => {
|
|
44257
44257
|
this.selectPlayer(e.player);
|
|
44258
|
-
}), this.internalEvents.on(
|
|
44258
|
+
}), this.internalEvents.on(rt.CanvasBackgroundClicked, () => {
|
|
44259
44259
|
this.clearSelection();
|
|
44260
44260
|
});
|
|
44261
44261
|
}
|
|
@@ -44308,12 +44308,12 @@ class Ec {
|
|
|
44308
44308
|
this.updateDocumentClip(e, a, !0);
|
|
44309
44309
|
} else
|
|
44310
44310
|
this.updateDocumentClip(e, this.storedNewValue, !1);
|
|
44311
|
-
return e.resolve(), e.emitEvent(he.MergeFieldChanged, { fields: s.getAll() }),
|
|
44311
|
+
return e.resolve(), e.emitEvent(he.MergeFieldChanged, { fields: s.getAll() }), De();
|
|
44312
44312
|
}
|
|
44313
44313
|
async undo(e) {
|
|
44314
44314
|
if (!e) throw new Error("SetMergeFieldCommand.undo: context is required");
|
|
44315
44315
|
const s = e.getMergeFields();
|
|
44316
|
-
return this.storedPreviousBinding ? e.setClipBinding(this.clipId, this.propertyPath, this.storedPreviousBinding) : e.removeClipBinding(this.clipId, this.propertyPath), this.previousFieldName && s.register({ name: this.previousFieldName, defaultValue: this.storedPreviousValue }, { silent: !0 }), this.storedPreviousBinding ? this.updateDocumentClip(e, this.storedPreviousBinding.placeholder, !0) : this.updateDocumentClip(e, this.storedPreviousValue, !1), e.resolve(), e.emitEvent(he.MergeFieldChanged, { fields: s.getAll() }),
|
|
44316
|
+
return this.storedPreviousBinding ? e.setClipBinding(this.clipId, this.propertyPath, this.storedPreviousBinding) : e.removeClipBinding(this.clipId, this.propertyPath), this.previousFieldName && s.register({ name: this.previousFieldName, defaultValue: this.storedPreviousValue }, { silent: !0 }), this.storedPreviousBinding ? this.updateDocumentClip(e, this.storedPreviousBinding.placeholder, !0) : this.updateDocumentClip(e, this.storedPreviousValue, !1), e.resolve(), e.emitEvent(he.MergeFieldChanged, { fields: s.getAll() }), De();
|
|
44317
44317
|
}
|
|
44318
44318
|
dispose() {
|
|
44319
44319
|
this.storedPreviousBinding = void 0;
|
|
@@ -44346,7 +44346,7 @@ function pN(t) {
|
|
|
44346
44346
|
};
|
|
44347
44347
|
return e.width !== void 0 && a.width === void 0 && (a.width = e.width), e.height !== void 0 && a.height === void 0 && (a.height = e.height), a;
|
|
44348
44348
|
}
|
|
44349
|
-
class
|
|
44349
|
+
class DN extends ci {
|
|
44350
44350
|
// Recursion guard for merge field updates (prevents stack overflow)
|
|
44351
44351
|
isUpdatingMergeFields = !1;
|
|
44352
44352
|
// ─── Merge Field API ───────────────────────────────────────────────────────
|
|
@@ -44673,9 +44673,9 @@ var yN = zf({
|
|
|
44673
44673
|
};
|
|
44674
44674
|
}
|
|
44675
44675
|
console.log.bind(console);
|
|
44676
|
-
var P = console.error.bind(console), F, N = !1, v, E = (k) => k.startsWith("file://"), b, U,
|
|
44676
|
+
var P = console.error.bind(console), F, N = !1, v, E = (k) => k.startsWith("file://"), b, U, D, L, J = !1;
|
|
44677
44677
|
function ee() {
|
|
44678
|
-
var k =
|
|
44678
|
+
var k = D.buffer;
|
|
44679
44679
|
n.HEAP8 = new Int8Array(k), n.HEAPU8 = L = new Uint8Array(k), n.HEAP32 = new Int32Array(k), n.HEAPU32 = new Uint32Array(k), n.HEAPF32 = new Float32Array(k), new BigInt64Array(k), new BigUint64Array(k);
|
|
44680
44680
|
}
|
|
44681
44681
|
function te() {
|
|
@@ -44741,8 +44741,8 @@ var yN = zf({
|
|
|
44741
44741
|
try {
|
|
44742
44742
|
var Me = fetch(se, { credentials: "same-origin" }), Ze = await WebAssembly.instantiateStreaming(Me, _e);
|
|
44743
44743
|
return Ze;
|
|
44744
|
-
} catch (
|
|
44745
|
-
P(`wasm streaming compile failed: ${
|
|
44744
|
+
} catch (ft) {
|
|
44745
|
+
P(`wasm streaming compile failed: ${ft}`), P("falling back to ArrayBuffer instantiation");
|
|
44746
44746
|
}
|
|
44747
44747
|
return Ee(se, _e);
|
|
44748
44748
|
}
|
|
@@ -44750,25 +44750,25 @@ var yN = zf({
|
|
|
44750
44750
|
return { env: aa, wasi_snapshot_preview1: aa };
|
|
44751
44751
|
}
|
|
44752
44752
|
async function Pe() {
|
|
44753
|
-
function k(
|
|
44754
|
-
return Lt =
|
|
44753
|
+
function k(ft, ra) {
|
|
44754
|
+
return Lt = ft.exports, n.wasmExports = Lt, D = Lt.memory, n.wasmMemory = D, ee(), os = Lt.__indirect_function_table, Ai(Lt), be(), Lt;
|
|
44755
44755
|
}
|
|
44756
44756
|
Fe();
|
|
44757
|
-
function se(
|
|
44758
|
-
return k(
|
|
44757
|
+
function se(ft) {
|
|
44758
|
+
return k(ft.instance);
|
|
44759
44759
|
}
|
|
44760
44760
|
var _e = Te();
|
|
44761
44761
|
if (n.instantiateWasm)
|
|
44762
|
-
return new Promise((
|
|
44762
|
+
return new Promise((ft, ra) => {
|
|
44763
44763
|
n.instantiateWasm(_e, (Ni, qr) => {
|
|
44764
|
-
|
|
44764
|
+
ft(k(Ni));
|
|
44765
44765
|
});
|
|
44766
44766
|
});
|
|
44767
44767
|
Y ?? (Y = W());
|
|
44768
44768
|
var Me = await Le(F, Y, _e), Ze = se(Me);
|
|
44769
44769
|
return Ze;
|
|
44770
44770
|
}
|
|
44771
|
-
class
|
|
44771
|
+
class lt {
|
|
44772
44772
|
constructor(se) {
|
|
44773
44773
|
wt(this, "name", "ExitStatus"), this.message = `Program terminated with exit(${se})`, this.status = se;
|
|
44774
44774
|
}
|
|
@@ -44779,11 +44779,11 @@ var yN = zf({
|
|
|
44779
44779
|
}, z = [], M = (k) => z.push(k), O = [], $ = (k) => O.push(k), oe = !0, ae = () => G(""), ne = 0, ye = () => {
|
|
44780
44780
|
oe = !1, ne = 0;
|
|
44781
44781
|
}, ie = {}, q = (k) => {
|
|
44782
|
-
if (k instanceof
|
|
44782
|
+
if (k instanceof lt || k == "unwind")
|
|
44783
44783
|
return v;
|
|
44784
44784
|
f(1, k);
|
|
44785
44785
|
}, ve = () => oe || ne > 0, je = (k) => {
|
|
44786
|
-
v = k, ve() || (n.onExit?.(k), N = !0), f(k, new
|
|
44786
|
+
v = k, ve() || (n.onExit?.(k), N = !0), f(k, new lt(k));
|
|
44787
44787
|
}, dt = (k, se) => {
|
|
44788
44788
|
v = k, je(k);
|
|
44789
44789
|
}, Ge = dt, st = () => {
|
|
@@ -44807,12 +44807,12 @@ var yN = zf({
|
|
|
44807
44807
|
}, se);
|
|
44808
44808
|
return ie[k] = { id: _e, timeout_ms: se }, 0;
|
|
44809
44809
|
}, Ce = () => 2147483648, Xr = (k, se) => Math.ceil(k / se) * se, ta = (k) => {
|
|
44810
|
-
var se =
|
|
44810
|
+
var se = D.buffer.byteLength, _e = (k - se + 65535) / 65536 | 0;
|
|
44811
44811
|
try {
|
|
44812
|
-
return
|
|
44812
|
+
return D.grow(_e), ee(), 1;
|
|
44813
44813
|
} catch {
|
|
44814
44814
|
}
|
|
44815
|
-
},
|
|
44815
|
+
}, ct = (k) => {
|
|
44816
44816
|
var se = L.length;
|
|
44817
44817
|
k >>>= 0;
|
|
44818
44818
|
var _e = Ce();
|
|
@@ -44821,7 +44821,7 @@ var yN = zf({
|
|
|
44821
44821
|
for (var Me = 1; Me <= 4; Me *= 2) {
|
|
44822
44822
|
var Ze = se * (1 + 0.2 / Me);
|
|
44823
44823
|
Ze = Math.min(Ze, k + 100663296);
|
|
44824
|
-
var
|
|
44824
|
+
var ft = Math.min(_e, Xr(Math.max(k, Ze), 65536)), ra = ta(ft);
|
|
44825
44825
|
if (ra)
|
|
44826
44826
|
return !0;
|
|
44827
44827
|
}
|
|
@@ -44829,12 +44829,12 @@ var yN = zf({
|
|
|
44829
44829
|
}, _a = (k) => {
|
|
44830
44830
|
const se = k.length;
|
|
44831
44831
|
return [se % 128 | 128, se >> 7, ...k];
|
|
44832
|
-
}, zt = { i: 127, p: 127, j: 126, f: 125, d: 124, e: 111 },
|
|
44832
|
+
}, zt = { i: 127, p: 127, j: 126, f: 125, d: 124, e: 111 }, Dt = (k) => _a(Array.from(k, (se) => {
|
|
44833
44833
|
var _e = zt[se];
|
|
44834
44834
|
return _e;
|
|
44835
44835
|
})), Pt = (k, se) => {
|
|
44836
|
-
var _e = Uint8Array.of(0, 97, 115, 109, 1, 0, 0, 0, 1, ..._a([1, 96, ...
|
|
44837
|
-
return
|
|
44836
|
+
var _e = Uint8Array.of(0, 97, 115, 109, 1, 0, 0, 0, 1, ..._a([1, 96, ...Dt(se.slice(1)), ...Dt(se[0] === "v" ? "" : se[0])]), 2, 7, 1, 1, 101, 1, 102, 0, 0, 7, 5, 1, 1, 102, 0, 0), Me = new WebAssembly.Module(_e), Ze = new WebAssembly.Instance(Me, { e: { f: k } }), ft = Ze.exports.f;
|
|
44837
|
+
return ft;
|
|
44838
44838
|
}, os, Os = (k) => os.get(k), ys = (k, se) => {
|
|
44839
44839
|
if (Et)
|
|
44840
44840
|
for (var _e = k; _e < k + se; _e++) {
|
|
@@ -44848,9 +44848,9 @@ var yN = zf({
|
|
|
44848
44848
|
var Me = vi();
|
|
44849
44849
|
try {
|
|
44850
44850
|
bs(Me, k);
|
|
44851
|
-
} catch (
|
|
44852
|
-
if (!(
|
|
44853
|
-
throw
|
|
44851
|
+
} catch (ft) {
|
|
44852
|
+
if (!(ft instanceof TypeError))
|
|
44853
|
+
throw ft;
|
|
44854
44854
|
var Ze = Pt(k, se);
|
|
44855
44855
|
bs(Me, Ze);
|
|
44856
44856
|
}
|
|
@@ -44858,12 +44858,12 @@ var yN = zf({
|
|
|
44858
44858
|
}, Ci = (k) => {
|
|
44859
44859
|
Et.delete(Os(k)), bs(k, null), sa.push(k);
|
|
44860
44860
|
};
|
|
44861
|
-
n.noExitRuntime && (oe = n.noExitRuntime), n.print && n.print, n.printErr && (P = n.printErr), n.wasmBinary && (F = n.wasmBinary), n.arguments && n.arguments, n.thisProgram && n.thisProgram, n.wasmMemory =
|
|
44861
|
+
n.noExitRuntime && (oe = n.noExitRuntime), n.print && n.print, n.printErr && (P = n.printErr), n.wasmBinary && (F = n.wasmBinary), n.arguments && n.arguments, n.thisProgram && n.thisProgram, n.wasmMemory = D, n.wasmExports = Lt, n.addFunction = xi, n.removeFunction = Ci;
|
|
44862
44862
|
var Fa;
|
|
44863
44863
|
function Ai(k) {
|
|
44864
44864
|
n._hb_blob_create = k.hb_blob_create, n._hb_blob_destroy = k.hb_blob_destroy, n._hb_blob_get_length = k.hb_blob_get_length, n._hb_blob_get_data = k.hb_blob_get_data, n._hb_buffer_serialize_glyphs = k.hb_buffer_serialize_glyphs, n._hb_buffer_create = k.hb_buffer_create, n._hb_buffer_destroy = k.hb_buffer_destroy, n._hb_buffer_get_content_type = k.hb_buffer_get_content_type, n._hb_buffer_set_direction = k.hb_buffer_set_direction, n._hb_buffer_set_script = k.hb_buffer_set_script, n._hb_buffer_set_language = k.hb_buffer_set_language, n._hb_buffer_set_flags = k.hb_buffer_set_flags, n._hb_buffer_set_cluster_level = k.hb_buffer_set_cluster_level, n._hb_buffer_get_length = k.hb_buffer_get_length, n._hb_buffer_get_glyph_infos = k.hb_buffer_get_glyph_infos, n._hb_buffer_get_glyph_positions = k.hb_buffer_get_glyph_positions, n._hb_glyph_info_get_glyph_flags = k.hb_glyph_info_get_glyph_flags, n._hb_buffer_guess_segment_properties = k.hb_buffer_guess_segment_properties, n._hb_buffer_add_utf8 = k.hb_buffer_add_utf8, n._hb_buffer_add_utf16 = k.hb_buffer_add_utf16, n._hb_buffer_set_message_func = k.hb_buffer_set_message_func, n._hb_language_from_string = k.hb_language_from_string, n._hb_script_from_string = k.hb_script_from_string, n._hb_version = k.hb_version, n._hb_version_string = k.hb_version_string, n._hb_feature_from_string = k.hb_feature_from_string, n._malloc = k.malloc, n._free = k.free, n._hb_draw_funcs_set_move_to_func = k.hb_draw_funcs_set_move_to_func, n._hb_draw_funcs_set_line_to_func = k.hb_draw_funcs_set_line_to_func, n._hb_draw_funcs_set_quadratic_to_func = k.hb_draw_funcs_set_quadratic_to_func, n._hb_draw_funcs_set_cubic_to_func = k.hb_draw_funcs_set_cubic_to_func, n._hb_draw_funcs_set_close_path_func = k.hb_draw_funcs_set_close_path_func, n._hb_draw_funcs_create = k.hb_draw_funcs_create, n._hb_draw_funcs_destroy = k.hb_draw_funcs_destroy, n._hb_face_create = k.hb_face_create, n._hb_face_destroy = k.hb_face_destroy, n._hb_face_reference_table = k.hb_face_reference_table, n._hb_face_get_upem = k.hb_face_get_upem, n._hb_face_collect_unicodes = k.hb_face_collect_unicodes, n._hb_font_draw_glyph = k.hb_font_draw_glyph, n._hb_font_glyph_to_string = k.hb_font_glyph_to_string, n._hb_font_create = k.hb_font_create, n._hb_font_set_variations = k.hb_font_set_variations, n._hb_font_destroy = k.hb_font_destroy, n._hb_font_set_scale = k.hb_font_set_scale, n._hb_set_create = k.hb_set_create, n._hb_set_destroy = k.hb_set_destroy, n._hb_ot_var_get_axis_infos = k.hb_ot_var_get_axis_infos, n._hb_set_get_population = k.hb_set_get_population, n._hb_set_next_many = k.hb_set_next_many, n._hb_shape = k.hb_shape, Fa = k._emscripten_timeout;
|
|
44865
44865
|
}
|
|
44866
|
-
var aa = { _abort_js: ae, _emscripten_runtime_keepalive_clear: ye, _setitimer_js: kt, emscripten_resize_heap:
|
|
44866
|
+
var aa = { _abort_js: ae, _emscripten_runtime_keepalive_clear: ye, _setitimer_js: kt, emscripten_resize_heap: ct, proc_exit: je }, Lt = await Pe();
|
|
44867
44867
|
function ia() {
|
|
44868
44868
|
if (Se > 0) {
|
|
44869
44869
|
xe = ia;
|
|
@@ -44987,27 +44987,27 @@ var vN = zf({
|
|
|
44987
44987
|
}
|
|
44988
44988
|
};
|
|
44989
44989
|
}
|
|
44990
|
-
var
|
|
44990
|
+
var D = "", L = 256, J = i.malloc(L);
|
|
44991
44991
|
function ee(G) {
|
|
44992
44992
|
var Y = i.hb_font_create(G.ptr), W = null, me = null, de = null, Ee = null, Le = null, Te = null;
|
|
44993
44993
|
function Pe(H) {
|
|
44994
44994
|
if (!W) {
|
|
44995
44995
|
var z = function(ae, ne, ye, ie, q, ve) {
|
|
44996
|
-
|
|
44996
|
+
D += `M${ie},${q}`;
|
|
44997
44997
|
}, M = function(ae, ne, ye, ie, q, ve) {
|
|
44998
|
-
|
|
44998
|
+
D += `L${ie},${q}`;
|
|
44999
44999
|
}, O = function(ae, ne, ye, ie, q, ve, je, dt, Ge, st) {
|
|
45000
|
-
|
|
45000
|
+
D += `C${ie},${q} ${ve},${je} ${dt},${Ge}`;
|
|
45001
45001
|
}, $ = function(ae, ne, ye, ie, q, ve, je, dt) {
|
|
45002
|
-
|
|
45002
|
+
D += `Q${ie},${q} ${ve},${je}`;
|
|
45003
45003
|
}, oe = function(ae, ne, ye, ie) {
|
|
45004
|
-
|
|
45004
|
+
D += "Z";
|
|
45005
45005
|
};
|
|
45006
45006
|
me = n(z, "viiiffi"), de = n(M, "viiiffi"), Ee = n(O, "viiiffffffi"), Le = n($, "viiiffffi"), Te = n(oe, "viiii"), W = i.hb_draw_funcs_create(), i.hb_draw_funcs_set_move_to_func(W, me, 0, 0), i.hb_draw_funcs_set_line_to_func(W, de, 0, 0), i.hb_draw_funcs_set_cubic_to_func(W, Ee, 0, 0), i.hb_draw_funcs_set_quadratic_to_func(W, Le, 0, 0), i.hb_draw_funcs_set_close_path_func(W, Te, 0, 0);
|
|
45007
45007
|
}
|
|
45008
|
-
return
|
|
45008
|
+
return D = "", i.hb_font_draw_glyph(Y, H, W, 0), D;
|
|
45009
45009
|
}
|
|
45010
|
-
function
|
|
45010
|
+
function lt(H) {
|
|
45011
45011
|
i.hb_font_glyph_to_string(
|
|
45012
45012
|
Y,
|
|
45013
45013
|
H,
|
|
@@ -45019,7 +45019,7 @@ var vN = zf({
|
|
|
45019
45019
|
}
|
|
45020
45020
|
return {
|
|
45021
45021
|
ptr: Y,
|
|
45022
|
-
glyphName:
|
|
45022
|
+
glyphName: lt,
|
|
45023
45023
|
glyphToPath: Pe,
|
|
45024
45024
|
/**
|
|
45025
45025
|
* Return a glyph as a JSON path string
|
|
@@ -45209,13 +45209,13 @@ var vN = zf({
|
|
|
45209
45209
|
})), i.hb_shape(G.ptr, Y.ptr, me, de), me && i.free(me);
|
|
45210
45210
|
}
|
|
45211
45211
|
function xe(G, Y, W, me, de) {
|
|
45212
|
-
var Ee = [], Le = d, Te = !1, Pe = 1024 * 1024,
|
|
45212
|
+
var Ee = [], Le = d, Te = !1, Pe = 1024 * 1024, lt = i.malloc(Pe), H = function(M, O, $, oe) {
|
|
45213
45213
|
var ae = r.decode(a.HEAPU8.subarray($, a.HEAPU8.indexOf(0, $)));
|
|
45214
45214
|
return ae.startsWith("start table GSUB") ? Le = y : ae.startsWith("start table GPOS") && (Le = m), Le != de && (Te = !1), de != d && Le == de && ae.startsWith("end lookup " + me) && (Te = !0), Te ? 0 : (i.hb_buffer_serialize_glyphs(
|
|
45215
45215
|
M,
|
|
45216
45216
|
0,
|
|
45217
45217
|
i.hb_buffer_get_length(M),
|
|
45218
|
-
|
|
45218
|
+
lt,
|
|
45219
45219
|
Pe,
|
|
45220
45220
|
0,
|
|
45221
45221
|
O,
|
|
@@ -45223,11 +45223,11 @@ var vN = zf({
|
|
|
45223
45223
|
F
|
|
45224
45224
|
), Ee.push({
|
|
45225
45225
|
m: ae,
|
|
45226
|
-
t: JSON.parse(r.decode(a.HEAPU8.subarray(
|
|
45226
|
+
t: JSON.parse(r.decode(a.HEAPU8.subarray(lt, a.HEAPU8.indexOf(0, lt)))),
|
|
45227
45227
|
glyphs: i.hb_buffer_get_content_type(M) == h
|
|
45228
45228
|
}), 1);
|
|
45229
45229
|
}, z = n(H, "iiiii");
|
|
45230
|
-
return i.hb_buffer_set_message_func(Y.ptr, z, 0, 0), Se(G, Y, W), i.free(
|
|
45230
|
+
return i.hb_buffer_set_message_func(Y.ptr, z, 0, 0), Se(G, Y, W), i.free(lt), o(z), Ee;
|
|
45231
45231
|
}
|
|
45232
45232
|
function Fe() {
|
|
45233
45233
|
var G = i.malloc(12);
|
|
@@ -45721,5 +45721,5 @@ const Q0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
45721
45721
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
45722
45722
|
export {
|
|
45723
45723
|
ci as Edit,
|
|
45724
|
-
|
|
45724
|
+
DN as ShotstackEdit
|
|
45725
45725
|
};
|