@shotstack/shotstack-studio 2.0.0-beta.26 → 2.0.0-beta.27
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/shotstack-studio.es.js +555 -555
- package/dist/shotstack-studio.umd.js +30 -30
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import "pixi.js/text-html";
|
|
|
10
10
|
import "pixi.js/sprite-tiling";
|
|
11
11
|
import "pixi.js/filters";
|
|
12
12
|
import "pixi.js/mesh";
|
|
13
|
-
const lg = "2.0.0-beta.
|
|
13
|
+
const lg = "2.0.0-beta.27", cg = {
|
|
14
14
|
version: lg
|
|
15
15
|
};
|
|
16
16
|
class dg {
|
|
@@ -613,7 +613,7 @@ function vl(s) {
|
|
|
613
613
|
function Cs(s) {
|
|
614
614
|
return typeof s == "string" && /^alias:\/\/[a-zA-Z0-9_-]+$/.test(s);
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function fn(s) {
|
|
617
617
|
return s.replace(/^alias:\/\//, "");
|
|
618
618
|
}
|
|
619
619
|
let Ff = class {
|
|
@@ -1072,7 +1072,7 @@ class mg extends Ot {
|
|
|
1072
1072
|
];
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function hn(s) {
|
|
1076
1076
|
const e = s.trim().replace(",", "."), t = e.split(":");
|
|
1077
1077
|
if (t.length === 3) {
|
|
1078
1078
|
const i = parseInt(t[0], 10), a = parseInt(t[1], 10), r = parseFloat(t[2]);
|
|
@@ -1092,7 +1092,7 @@ function yg(s) {
|
|
|
1092
1092
|
for (; i < t.length; ) {
|
|
1093
1093
|
const a = t[i].trim();
|
|
1094
1094
|
if (a.includes("-->")) {
|
|
1095
|
-
const [r, n] = a.split("-->").map((d) => d.trim().split(" ")[0]), o =
|
|
1095
|
+
const [r, n] = a.split("-->").map((d) => d.trim().split(" ")[0]), o = hn(r), l = hn(n), c = [];
|
|
1096
1096
|
for (i += 1; i < t.length && t[i].trim() !== "" && !t[i].includes("-->"); ) {
|
|
1097
1097
|
const d = t[i].trim();
|
|
1098
1098
|
d.startsWith("NOTE") || c.push(d), i += 1;
|
|
@@ -1116,7 +1116,7 @@ function bg(s) {
|
|
|
1116
1116
|
if (/^\d+$/.test(a) || a === "")
|
|
1117
1117
|
i += 1;
|
|
1118
1118
|
else if (a.includes("-->")) {
|
|
1119
|
-
const [r, n] = a.split("-->").map((d) => d.trim()), o =
|
|
1119
|
+
const [r, n] = a.split("-->").map((d) => d.trim()), o = hn(r), l = hn(n), c = [];
|
|
1120
1120
|
for (i += 1; i < t.length && t[i].trim() !== ""; )
|
|
1121
1121
|
c.push(t[i].trim()), i += 1;
|
|
1122
1122
|
c.length > 0 && e.push({
|
|
@@ -1349,7 +1349,7 @@ async function Tg(s, e, t) {
|
|
|
1349
1349
|
function Eg(s) {
|
|
1350
1350
|
s.startsWith("blob:") && URL.revokeObjectURL(s);
|
|
1351
1351
|
}
|
|
1352
|
-
const
|
|
1352
|
+
const pn = [
|
|
1353
1353
|
{
|
|
1354
1354
|
displayName: "Roboto",
|
|
1355
1355
|
filename: "KFOmCnqEu92Fr1Me5WZLCzYlKw",
|
|
@@ -16622,7 +16622,7 @@ const gn = [
|
|
|
16622
16622
|
weight: 400,
|
|
16623
16623
|
isVariable: !1
|
|
16624
16624
|
}
|
|
16625
|
-
], xl = new Map(
|
|
16625
|
+
], xl = new Map(pn.map((s) => [s.filename, s])), Ql = new Map(pn.map((s) => [s.displayName, s])), dt = "https://templates.shotstack.io/basic/asset/font", Or = {
|
|
16626
16626
|
Arapey: `${dt}/arapey-regular.ttf`,
|
|
16627
16627
|
"Clear Sans": `${dt}/clearsans-regular.ttf`,
|
|
16628
16628
|
"Clear Sans Bold": `${dt}/clearsans-bold.ttf`,
|
|
@@ -16679,11 +16679,11 @@ function Jl(s) {
|
|
|
16679
16679
|
const e = xl.get(s);
|
|
16680
16680
|
if (e)
|
|
16681
16681
|
return e.url;
|
|
16682
|
-
if (
|
|
16683
|
-
return
|
|
16682
|
+
if (Or[s])
|
|
16683
|
+
return Or[s];
|
|
16684
16684
|
const { baseFontFamily: t } = is(s), i = Ng[t] ?? t;
|
|
16685
|
-
if (
|
|
16686
|
-
return
|
|
16685
|
+
if (Or[i])
|
|
16686
|
+
return Or[i];
|
|
16687
16687
|
const a = Ql.get(s);
|
|
16688
16688
|
if (a)
|
|
16689
16689
|
return a.url;
|
|
@@ -16904,7 +16904,7 @@ fn outlineMaxAlphaAtPos(uv: vec2<f32>) -> f32 {
|
|
|
16904
16904
|
}
|
|
16905
16905
|
|
|
16906
16906
|
const DOUBLE_PI: f32 = 3.14159265358979323846264 * 2.;`, Bg = Object.defineProperty, Lg = (s, e, t) => e in s ? Bg(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, Ii = (s, e, t) => (Lg(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
16907
|
-
const
|
|
16907
|
+
const Hn = class Ci extends sg {
|
|
16908
16908
|
/** @ignore */
|
|
16909
16909
|
constructor(...e) {
|
|
16910
16910
|
let t = e[0] ?? {};
|
|
@@ -17010,17 +17010,17 @@ const Gn = class Ci extends sg {
|
|
|
17010
17010
|
this.uniforms.uKnockout = e ? 1 : 0;
|
|
17011
17011
|
}
|
|
17012
17012
|
};
|
|
17013
|
-
Ii(
|
|
17013
|
+
Ii(Hn, "DEFAULT_OPTIONS", {
|
|
17014
17014
|
thickness: 1,
|
|
17015
17015
|
color: 0,
|
|
17016
17016
|
alpha: 1,
|
|
17017
17017
|
quality: 0.1,
|
|
17018
17018
|
knockout: !1
|
|
17019
17019
|
});
|
|
17020
|
-
Ii(
|
|
17021
|
-
Ii(
|
|
17022
|
-
let lr =
|
|
17023
|
-
class
|
|
17020
|
+
Ii(Hn, "MIN_SAMPLES", 1);
|
|
17021
|
+
Ii(Hn, "MAX_SAMPLES", 100);
|
|
17022
|
+
let lr = Hn;
|
|
17023
|
+
class gn extends Ot {
|
|
17024
17024
|
static loadedFonts = /* @__PURE__ */ new Set();
|
|
17025
17025
|
cues = [];
|
|
17026
17026
|
currentCue = null;
|
|
@@ -17159,14 +17159,14 @@ class mn extends Ot {
|
|
|
17159
17159
|
}
|
|
17160
17160
|
async loadFont(e) {
|
|
17161
17161
|
const { baseFontFamily: t, fontWeight: i } = is(e), a = `${t}-${i}`;
|
|
17162
|
-
if (
|
|
17162
|
+
if (gn.loadedFonts.has(a))
|
|
17163
17163
|
return;
|
|
17164
17164
|
const r = Jl(e);
|
|
17165
17165
|
if (r) {
|
|
17166
17166
|
const n = new FontFace(t, `url(${r})`, {
|
|
17167
17167
|
weight: i.toString()
|
|
17168
17168
|
});
|
|
17169
|
-
await n.load(), document.fonts.add(n),
|
|
17169
|
+
await n.load(), document.fonts.add(n), gn.loadedFonts.add(a);
|
|
17170
17170
|
}
|
|
17171
17171
|
}
|
|
17172
17172
|
}
|
|
@@ -17814,7 +17814,7 @@ function Df(s) {
|
|
|
17814
17814
|
function kl(s, e) {
|
|
17815
17815
|
return typeof e == "bigint" ? e.toString() : e;
|
|
17816
17816
|
}
|
|
17817
|
-
function
|
|
17817
|
+
function Gn(s) {
|
|
17818
17818
|
return {
|
|
17819
17819
|
get value() {
|
|
17820
17820
|
{
|
|
@@ -17885,7 +17885,7 @@ const Uf = "captureStackTrace" in Error ? Error.captureStackTrace : (...s) => {
|
|
|
17885
17885
|
function cr(s) {
|
|
17886
17886
|
return typeof s == "object" && s !== null && !Array.isArray(s);
|
|
17887
17887
|
}
|
|
17888
|
-
const Jg =
|
|
17888
|
+
const Jg = Gn(() => {
|
|
17889
17889
|
if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare"))
|
|
17890
17890
|
return !1;
|
|
17891
17891
|
try {
|
|
@@ -18083,13 +18083,13 @@ function ia(s, e) {
|
|
|
18083
18083
|
return (i = t).path ?? (i.path = []), t.path.unshift(s), t;
|
|
18084
18084
|
});
|
|
18085
18085
|
}
|
|
18086
|
-
function
|
|
18086
|
+
function zr(s) {
|
|
18087
18087
|
return typeof s == "string" ? s : s?.message;
|
|
18088
18088
|
}
|
|
18089
18089
|
function li(s, e, t) {
|
|
18090
18090
|
const i = { ...s, path: s.path ?? [] };
|
|
18091
18091
|
if (!s.message) {
|
|
18092
|
-
const a =
|
|
18092
|
+
const a = zr(s.inst?._zod.def?.error?.(s)) ?? zr(e?.error?.(s)) ?? zr(t.customError?.(s)) ?? zr(t.localeError?.(s)) ?? "Invalid input";
|
|
18093
18093
|
i.message = a;
|
|
18094
18094
|
}
|
|
18095
18095
|
return delete i.inst, delete i.continue, e?.reportInput || delete i.input, i;
|
|
@@ -18162,7 +18162,7 @@ const ic = (s) => (e, t, i, a) => {
|
|
|
18162
18162
|
throw Uf(o, a?.callee), o;
|
|
18163
18163
|
}
|
|
18164
18164
|
return n.value;
|
|
18165
|
-
},
|
|
18165
|
+
}, qn = (s) => (e, t, i) => {
|
|
18166
18166
|
const a = i ? { ...i, async: !1 } : { async: !1 }, r = e._zod.run({ value: t, issues: [] }, a);
|
|
18167
18167
|
if (r instanceof Promise)
|
|
18168
18168
|
throw new la();
|
|
@@ -18170,14 +18170,14 @@ const ic = (s) => (e, t, i, a) => {
|
|
|
18170
18170
|
success: !1,
|
|
18171
18171
|
error: new (s ?? Hf)(r.issues.map((n) => li(n, a, oi())))
|
|
18172
18172
|
} : { success: !0, data: r.value };
|
|
18173
|
-
}, um = /* @__PURE__ */
|
|
18173
|
+
}, um = /* @__PURE__ */ qn(Gf), Yn = (s) => async (e, t, i) => {
|
|
18174
18174
|
const a = i ? Object.assign(i, { async: !0 }) : { async: !0 };
|
|
18175
18175
|
let r = e._zod.run({ value: t, issues: [] }, a);
|
|
18176
18176
|
return r instanceof Promise && (r = await r), r.issues.length ? {
|
|
18177
18177
|
success: !1,
|
|
18178
18178
|
error: new s(r.issues.map((n) => li(n, a, oi())))
|
|
18179
18179
|
} : { success: !0, data: r.value };
|
|
18180
|
-
}, fm = /* @__PURE__ */
|
|
18180
|
+
}, fm = /* @__PURE__ */ Yn(Gf), hm = (s) => (e, t, i) => {
|
|
18181
18181
|
const a = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
|
|
18182
18182
|
return ic(s)(e, t, a);
|
|
18183
18183
|
}, pm = (s) => (e, t, i) => ic(s)(e, t, i), gm = (s) => async (e, t, i) => {
|
|
@@ -18185,11 +18185,11 @@ const ic = (s) => (e, t, i, a) => {
|
|
|
18185
18185
|
return ac(s)(e, t, a);
|
|
18186
18186
|
}, mm = (s) => async (e, t, i) => ac(s)(e, t, i), ym = (s) => (e, t, i) => {
|
|
18187
18187
|
const a = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
|
|
18188
|
-
return
|
|
18189
|
-
}, bm = (s) => (e, t, i) =>
|
|
18188
|
+
return qn(s)(e, t, a);
|
|
18189
|
+
}, bm = (s) => (e, t, i) => qn(s)(e, t, i), wm = (s) => async (e, t, i) => {
|
|
18190
18190
|
const a = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
|
|
18191
|
-
return
|
|
18192
|
-
}, vm = (s) => async (e, t, i) =>
|
|
18191
|
+
return Yn(s)(e, t, a);
|
|
18192
|
+
}, vm = (s) => async (e, t, i) => Yn(s)(e, t, i), xm = /^[cC][^\s-]{8,}$/, Cm = /^[0-9a-z]+$/, km = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Sm = /^[0-9a-vA-V]{20}$/, Am = /^[A-Za-z0-9]{27}$/, Im = /^[a-zA-Z0-9_-]{21}$/, Tm = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Em = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Kc = (s) => s ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${s}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Nm = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Pm = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
18193
18193
|
function Vm() {
|
|
18194
18194
|
return new RegExp(Pm, "u");
|
|
18195
18195
|
}
|
|
@@ -18397,7 +18397,7 @@ const Um = (s) => {
|
|
|
18397
18397
|
continue: !e.abort
|
|
18398
18398
|
});
|
|
18399
18399
|
};
|
|
18400
|
-
}),
|
|
18400
|
+
}), jn = /* @__PURE__ */ R("$ZodCheckStringFormat", (s, e) => {
|
|
18401
18401
|
var t, i;
|
|
18402
18402
|
Wt.init(s, e), s._zod.onattach.push((a) => {
|
|
18403
18403
|
const r = a._zod.bag;
|
|
@@ -18415,7 +18415,7 @@ const Um = (s) => {
|
|
|
18415
18415
|
}) : (i = s._zod).check ?? (i.check = () => {
|
|
18416
18416
|
});
|
|
18417
18417
|
}), Jm = /* @__PURE__ */ R("$ZodCheckRegex", (s, e) => {
|
|
18418
|
-
|
|
18418
|
+
jn.init(s, e), s._zod.check = (t) => {
|
|
18419
18419
|
e.pattern.lastIndex = 0, !e.pattern.test(t.value) && t.issues.push({
|
|
18420
18420
|
origin: "string",
|
|
18421
18421
|
code: "invalid_format",
|
|
@@ -18427,9 +18427,9 @@ const Um = (s) => {
|
|
|
18427
18427
|
});
|
|
18428
18428
|
};
|
|
18429
18429
|
}), $m = /* @__PURE__ */ R("$ZodCheckLowerCase", (s, e) => {
|
|
18430
|
-
e.pattern ?? (e.pattern = Gm),
|
|
18430
|
+
e.pattern ?? (e.pattern = Gm), jn.init(s, e);
|
|
18431
18431
|
}), ey = /* @__PURE__ */ R("$ZodCheckUpperCase", (s, e) => {
|
|
18432
|
-
e.pattern ?? (e.pattern = qm),
|
|
18432
|
+
e.pattern ?? (e.pattern = qm), jn.init(s, e);
|
|
18433
18433
|
}), ty = /* @__PURE__ */ R("$ZodCheckIncludes", (s, e) => {
|
|
18434
18434
|
Wt.init(s, e);
|
|
18435
18435
|
const t = pa(e.includes), i = new RegExp(typeof e.position == "number" ? `^.{${e.position}}${t}` : t);
|
|
@@ -18602,7 +18602,7 @@ const ny = {
|
|
|
18602
18602
|
}), t;
|
|
18603
18603
|
};
|
|
18604
18604
|
}), ot = /* @__PURE__ */ R("$ZodStringFormat", (s, e) => {
|
|
18605
|
-
|
|
18605
|
+
jn.init(s, e), rc.init(s, e);
|
|
18606
18606
|
}), oy = /* @__PURE__ */ R("$ZodGUID", (s, e) => {
|
|
18607
18607
|
e.pattern ?? (e.pattern = Em), ot.init(s, e);
|
|
18608
18608
|
}), ly = /* @__PURE__ */ R("$ZodUUID", (s, e) => {
|
|
@@ -18869,7 +18869,7 @@ const Oy = /* @__PURE__ */ R("$ZodArray", (s, e) => {
|
|
|
18869
18869
|
return r.length ? Promise.all(r).then(() => t) : t;
|
|
18870
18870
|
};
|
|
18871
18871
|
});
|
|
18872
|
-
function
|
|
18872
|
+
function mn(s, e, t, i, a) {
|
|
18873
18873
|
if (s.issues.length) {
|
|
18874
18874
|
if (a && !(t in i))
|
|
18875
18875
|
return;
|
|
@@ -18901,7 +18901,7 @@ function sh(s, e, t, i, a, r) {
|
|
|
18901
18901
|
continue;
|
|
18902
18902
|
}
|
|
18903
18903
|
const h = l.run({ value: e[u], issues: [] }, i);
|
|
18904
|
-
h instanceof Promise ? s.push(h.then((p) =>
|
|
18904
|
+
h instanceof Promise ? s.push(h.then((p) => mn(p, t, u, e, d))) : mn(h, t, u, e, d);
|
|
18905
18905
|
}
|
|
18906
18906
|
return n.length && t.issues.push({
|
|
18907
18907
|
code: "unrecognized_keys",
|
|
@@ -18922,7 +18922,7 @@ const zy = /* @__PURE__ */ R("$ZodObject", (s, e) => {
|
|
|
18922
18922
|
}
|
|
18923
18923
|
});
|
|
18924
18924
|
}
|
|
18925
|
-
const i =
|
|
18925
|
+
const i = Gn(() => th(e));
|
|
18926
18926
|
je(s._zod, "propValues", () => {
|
|
18927
18927
|
const o = e.shape, l = {};
|
|
18928
18928
|
for (const c in o) {
|
|
@@ -18951,13 +18951,13 @@ const zy = /* @__PURE__ */ R("$ZodObject", (s, e) => {
|
|
|
18951
18951
|
const d = [], u = n.shape;
|
|
18952
18952
|
for (const h of n.keys) {
|
|
18953
18953
|
const p = u[h], m = p._zod.optout === "optional", w = p._zod.run({ value: c[h], issues: [] }, l);
|
|
18954
|
-
w instanceof Promise ? d.push(w.then((x) =>
|
|
18954
|
+
w instanceof Promise ? d.push(w.then((x) => mn(x, o, h, c, m))) : mn(w, o, h, c, m);
|
|
18955
18955
|
}
|
|
18956
18956
|
return r ? sh(d, c, o, l, i.value, s) : d.length ? Promise.all(d).then(() => o) : o;
|
|
18957
18957
|
};
|
|
18958
18958
|
}), Ry = /* @__PURE__ */ R("$ZodObjectJIT", (s, e) => {
|
|
18959
18959
|
zy.init(s, e);
|
|
18960
|
-
const t = s._zod.parse, i =
|
|
18960
|
+
const t = s._zod.parse, i = Gn(() => th(e)), a = (h) => {
|
|
18961
18961
|
const p = new ry(["shape", "payload", "ctx"]), m = i.value, w = (v) => {
|
|
18962
18962
|
const P = Xc(v);
|
|
18963
18963
|
return `shape[${P}]._zod.run({ value: input[${P}], issues: [] }, ctx)`;
|
|
@@ -19084,7 +19084,7 @@ const ih = /* @__PURE__ */ R("$ZodUnion", (s, e) => {
|
|
|
19084
19084
|
}
|
|
19085
19085
|
return a;
|
|
19086
19086
|
});
|
|
19087
|
-
const i =
|
|
19087
|
+
const i = Gn(() => {
|
|
19088
19088
|
const a = e.options, r = /* @__PURE__ */ new Map();
|
|
19089
19089
|
for (const n of a) {
|
|
19090
19090
|
const o = n._zod.propValues?.[e.discriminator];
|
|
@@ -19360,13 +19360,13 @@ const Qy = /* @__PURE__ */ R("$ZodCatch", (s, e) => {
|
|
|
19360
19360
|
nt.init(s, e), je(s._zod, "values", () => e.in._zod.values), je(s._zod, "optin", () => e.in._zod.optin), je(s._zod, "optout", () => e.out._zod.optout), je(s._zod, "propValues", () => e.in._zod.propValues), s._zod.parse = (t, i) => {
|
|
19361
19361
|
if (i.direction === "backward") {
|
|
19362
19362
|
const r = e.out._zod.run(t, i);
|
|
19363
|
-
return r instanceof Promise ? r.then((n) =>
|
|
19363
|
+
return r instanceof Promise ? r.then((n) => Rr(n, e.in, i)) : Rr(r, e.in, i);
|
|
19364
19364
|
}
|
|
19365
19365
|
const a = e.in._zod.run(t, i);
|
|
19366
|
-
return a instanceof Promise ? a.then((r) =>
|
|
19366
|
+
return a instanceof Promise ? a.then((r) => Rr(r, e.out, i)) : Rr(a, e.out, i);
|
|
19367
19367
|
};
|
|
19368
19368
|
});
|
|
19369
|
-
function
|
|
19369
|
+
function Rr(s, e, t) {
|
|
19370
19370
|
return s.issues.length ? (s.aborted = !0, s) : e._zod.run({ value: s.value, issues: s.issues }, t);
|
|
19371
19371
|
}
|
|
19372
19372
|
const $y = /* @__PURE__ */ R("$ZodReadonly", (s, e) => {
|
|
@@ -19806,7 +19806,7 @@ function rh(s, e) {
|
|
|
19806
19806
|
});
|
|
19807
19807
|
}
|
|
19808
19808
|
// @__NO_SIDE_EFFECTS__
|
|
19809
|
-
function
|
|
19809
|
+
function yn(s, e) {
|
|
19810
19810
|
return new Km({
|
|
19811
19811
|
check: "min_length",
|
|
19812
19812
|
...fe(e),
|
|
@@ -20114,8 +20114,8 @@ function ch(s, e) {
|
|
|
20114
20114
|
value: {
|
|
20115
20115
|
...e["~standard"],
|
|
20116
20116
|
jsonSchema: {
|
|
20117
|
-
input:
|
|
20118
|
-
output:
|
|
20117
|
+
input: bn(e, "input", s.processors),
|
|
20118
|
+
output: bn(e, "output", s.processors)
|
|
20119
20119
|
}
|
|
20120
20120
|
},
|
|
20121
20121
|
enumerable: !1,
|
|
@@ -20170,7 +20170,7 @@ function Bt(s, e) {
|
|
|
20170
20170
|
const Kb = (s, e = {}) => (t) => {
|
|
20171
20171
|
const i = oh({ ...t, processors: e });
|
|
20172
20172
|
return yt(s, i), lh(i, s), ch(i, s);
|
|
20173
|
-
},
|
|
20173
|
+
}, bn = (s, e, t = {}) => (i) => {
|
|
20174
20174
|
const { libraryOptions: a, target: r } = i ?? {}, n = oh({ ...a ?? {}, target: r, io: e, processors: t });
|
|
20175
20175
|
return yt(s, n), lh(n, s), ch(n, s);
|
|
20176
20176
|
}, Qb = {
|
|
@@ -20392,10 +20392,10 @@ const Ew = (s, e) => {
|
|
|
20392
20392
|
});
|
|
20393
20393
|
}, Qt = R("ZodError", Ew, {
|
|
20394
20394
|
Parent: Error
|
|
20395
|
-
}), Nw = /* @__PURE__ */ ic(Qt), Pw = /* @__PURE__ */ ac(Qt), Vw = /* @__PURE__ */
|
|
20395
|
+
}), Nw = /* @__PURE__ */ ic(Qt), Pw = /* @__PURE__ */ ac(Qt), Vw = /* @__PURE__ */ qn(Qt), Fw = /* @__PURE__ */ Yn(Qt), _w = /* @__PURE__ */ hm(Qt), Mw = /* @__PURE__ */ pm(Qt), Bw = /* @__PURE__ */ gm(Qt), Lw = /* @__PURE__ */ mm(Qt), Ow = /* @__PURE__ */ ym(Qt), zw = /* @__PURE__ */ bm(Qt), Rw = /* @__PURE__ */ wm(Qt), Dw = /* @__PURE__ */ vm(Qt), lt = /* @__PURE__ */ R("ZodType", (s, e) => (nt.init(s, e), Object.assign(s["~standard"], {
|
|
20396
20396
|
jsonSchema: {
|
|
20397
|
-
input:
|
|
20398
|
-
output:
|
|
20397
|
+
input: bn(s, "input"),
|
|
20398
|
+
output: bn(s, "output")
|
|
20399
20399
|
}
|
|
20400
20400
|
}), s.toJSONSchema = Kb(s, {}), s.def = e, s.type = e.type, Object.defineProperty(s, "_def", { value: e }), s.check = (...t) => s.clone(hi(e, {
|
|
20401
20401
|
checks: [
|
|
@@ -20420,9 +20420,9 @@ const Ew = (s, e) => {
|
|
|
20420
20420
|
}, s.isOptional = () => s.safeParse(void 0).success, s.isNullable = () => s.safeParse(null).success, s.apply = (t) => t(s), s)), uh = /* @__PURE__ */ R("_ZodString", (s, e) => {
|
|
20421
20421
|
rc.init(s, e), lt.init(s, e), s._zod.processJSONSchema = (i, a, r) => Jb(s, i, a);
|
|
20422
20422
|
const t = s._zod.bag;
|
|
20423
|
-
s.format = t.format ?? null, s.minLength = t.minimum ?? null, s.maxLength = t.maximum ?? null, s.regex = (...i) => s.check(/* @__PURE__ */ Bb(...i)), s.includes = (...i) => s.check(/* @__PURE__ */ zb(...i)), s.startsWith = (...i) => s.check(/* @__PURE__ */ Rb(...i)), s.endsWith = (...i) => s.check(/* @__PURE__ */ Db(...i)), s.min = (...i) => s.check(/* @__PURE__ */
|
|
20423
|
+
s.format = t.format ?? null, s.minLength = t.minimum ?? null, s.maxLength = t.maximum ?? null, s.regex = (...i) => s.check(/* @__PURE__ */ Bb(...i)), s.includes = (...i) => s.check(/* @__PURE__ */ zb(...i)), s.startsWith = (...i) => s.check(/* @__PURE__ */ Rb(...i)), s.endsWith = (...i) => s.check(/* @__PURE__ */ Db(...i)), s.min = (...i) => s.check(/* @__PURE__ */ yn(...i)), s.max = (...i) => s.check(/* @__PURE__ */ rh(...i)), s.length = (...i) => s.check(/* @__PURE__ */ nh(...i)), s.nonempty = (...i) => s.check(/* @__PURE__ */ yn(1, ...i)), s.lowercase = (i) => s.check(/* @__PURE__ */ Lb(i)), s.uppercase = (i) => s.check(/* @__PURE__ */ Ob(i)), s.trim = () => s.check(/* @__PURE__ */ Zb()), s.normalize = (...i) => s.check(/* @__PURE__ */ Ub(...i)), s.toLowerCase = () => s.check(/* @__PURE__ */ Wb()), s.toUpperCase = () => s.check(/* @__PURE__ */ Hb()), s.slugify = () => s.check(/* @__PURE__ */ Gb());
|
|
20424
20424
|
}), Uw = /* @__PURE__ */ R("ZodString", (s, e) => {
|
|
20425
|
-
rc.init(s, e), uh.init(s, e), s.email = (t) => s.check(/* @__PURE__ */ ab(Zw, t)), s.url = (t) => s.check(/* @__PURE__ */ cb(Ww, t)), s.jwt = (t) => s.check(/* @__PURE__ */ Sb(a1, t)), s.emoji = (t) => s.check(/* @__PURE__ */ db(Hw, t)), s.guid = (t) => s.check(/* @__PURE__ */ nd(dd, t)), s.uuid = (t) => s.check(/* @__PURE__ */ rb(
|
|
20425
|
+
rc.init(s, e), uh.init(s, e), s.email = (t) => s.check(/* @__PURE__ */ ab(Zw, t)), s.url = (t) => s.check(/* @__PURE__ */ cb(Ww, t)), s.jwt = (t) => s.check(/* @__PURE__ */ Sb(a1, t)), s.emoji = (t) => s.check(/* @__PURE__ */ db(Hw, t)), s.guid = (t) => s.check(/* @__PURE__ */ nd(dd, t)), s.uuid = (t) => s.check(/* @__PURE__ */ rb(Dr, t)), s.uuidv4 = (t) => s.check(/* @__PURE__ */ nb(Dr, t)), s.uuidv6 = (t) => s.check(/* @__PURE__ */ ob(Dr, t)), s.uuidv7 = (t) => s.check(/* @__PURE__ */ lb(Dr, t)), s.nanoid = (t) => s.check(/* @__PURE__ */ ub(Gw, t)), s.guid = (t) => s.check(/* @__PURE__ */ nd(dd, t)), s.cuid = (t) => s.check(/* @__PURE__ */ fb(qw, t)), s.cuid2 = (t) => s.check(/* @__PURE__ */ hb(Yw, t)), s.ulid = (t) => s.check(/* @__PURE__ */ pb(jw, t)), s.base64 = (t) => s.check(/* @__PURE__ */ xb(t1, t)), s.base64url = (t) => s.check(/* @__PURE__ */ Cb(s1, t)), s.xid = (t) => s.check(/* @__PURE__ */ gb(Xw, t)), s.ksuid = (t) => s.check(/* @__PURE__ */ mb(Kw, t)), s.ipv4 = (t) => s.check(/* @__PURE__ */ yb(Qw, t)), s.ipv6 = (t) => s.check(/* @__PURE__ */ bb(Jw, t)), s.cidrv4 = (t) => s.check(/* @__PURE__ */ wb($w, t)), s.cidrv6 = (t) => s.check(/* @__PURE__ */ vb(e1, t)), s.e164 = (t) => s.check(/* @__PURE__ */ kb(i1, t)), s.datetime = (t) => s.check(xw(t)), s.date = (t) => s.check(kw(t)), s.time = (t) => s.check(Aw(t)), s.duration = (t) => s.check(Tw(t));
|
|
20426
20426
|
});
|
|
20427
20427
|
function y(s) {
|
|
20428
20428
|
return /* @__PURE__ */ ib(Uw, s);
|
|
@@ -20433,7 +20433,7 @@ const ct = /* @__PURE__ */ R("ZodStringFormat", (s, e) => {
|
|
|
20433
20433
|
cy.init(s, e), ct.init(s, e);
|
|
20434
20434
|
}), dd = /* @__PURE__ */ R("ZodGUID", (s, e) => {
|
|
20435
20435
|
oy.init(s, e), ct.init(s, e);
|
|
20436
|
-
}),
|
|
20436
|
+
}), Dr = /* @__PURE__ */ R("ZodUUID", (s, e) => {
|
|
20437
20437
|
ly.init(s, e), ct.init(s, e);
|
|
20438
20438
|
}), Ww = /* @__PURE__ */ R("ZodURL", (s, e) => {
|
|
20439
20439
|
dy.init(s, e), ct.init(s, e);
|
|
@@ -20506,7 +20506,7 @@ function Ee(s) {
|
|
|
20506
20506
|
return /* @__PURE__ */ Mb(c1, s);
|
|
20507
20507
|
}
|
|
20508
20508
|
const d1 = /* @__PURE__ */ R("ZodArray", (s, e) => {
|
|
20509
|
-
Oy.init(s, e), lt.init(s, e), s._zod.processJSONSchema = (t, i, a) => lw(s, t, i, a), s.element = e.element, s.min = (t, i) => s.check(/* @__PURE__ */
|
|
20509
|
+
Oy.init(s, e), lt.init(s, e), s._zod.processJSONSchema = (t, i, a) => lw(s, t, i, a), s.element = e.element, s.min = (t, i) => s.check(/* @__PURE__ */ yn(t, i)), s.nonempty = (t) => s.check(/* @__PURE__ */ yn(1, t)), s.max = (t, i) => s.check(/* @__PURE__ */ rh(t, i)), s.length = (t, i) => s.check(/* @__PURE__ */ nh(t, i)), s.unwrap = () => s.element;
|
|
20510
20510
|
});
|
|
20511
20511
|
function De(s, e) {
|
|
20512
20512
|
return /* @__PURE__ */ qb(d1, s, e);
|
|
@@ -20535,7 +20535,7 @@ function S(s, e) {
|
|
|
20535
20535
|
const f1 = /* @__PURE__ */ R("ZodDiscriminatedUnion", (s, e) => {
|
|
20536
20536
|
hh.init(s, e), Dy.init(s, e);
|
|
20537
20537
|
});
|
|
20538
|
-
function
|
|
20538
|
+
function Xn(s, e, t) {
|
|
20539
20539
|
return new f1({
|
|
20540
20540
|
type: "union",
|
|
20541
20541
|
options: e,
|
|
@@ -21284,7 +21284,7 @@ const $1 = k({
|
|
|
21284
21284
|
}), Cv = k({
|
|
21285
21285
|
provider: Ce("vimeo"),
|
|
21286
21286
|
options: g(xv)
|
|
21287
|
-
}),
|
|
21287
|
+
}), Kn = Xn("provider", [
|
|
21288
21288
|
yv,
|
|
21289
21289
|
pv,
|
|
21290
21290
|
mv,
|
|
@@ -21292,7 +21292,7 @@ const $1 = k({
|
|
|
21292
21292
|
fv,
|
|
21293
21293
|
Cv,
|
|
21294
21294
|
wv
|
|
21295
|
-
]), kv =
|
|
21295
|
+
]), kv = Kn, Sv = k({
|
|
21296
21296
|
horizontal: g(st()),
|
|
21297
21297
|
vertical: g(st())
|
|
21298
21298
|
}), Av = k({
|
|
@@ -21626,7 +21626,7 @@ k({
|
|
|
21626
21626
|
const t2 = k({
|
|
21627
21627
|
url: y(),
|
|
21628
21628
|
id: y(),
|
|
21629
|
-
destinations: De(
|
|
21629
|
+
destinations: De(Kn)
|
|
21630
21630
|
}), Mh = k({
|
|
21631
21631
|
type: U(["shape"]),
|
|
21632
21632
|
shape: U(["rectangle", "circle", "line"]),
|
|
@@ -21821,7 +21821,7 @@ k({
|
|
|
21821
21821
|
const o2 = k({
|
|
21822
21822
|
url: g(y()),
|
|
21823
21823
|
outputs: g(i2),
|
|
21824
|
-
destinations: g(
|
|
21824
|
+
destinations: g(Kn),
|
|
21825
21825
|
callback: g(y())
|
|
21826
21826
|
}), l2 = k({
|
|
21827
21827
|
src: y().min(1).regex(/\S/),
|
|
@@ -21879,7 +21879,7 @@ const o2 = k({
|
|
|
21879
21879
|
if (!(s === "" || s === null || s === void 0))
|
|
21880
21880
|
return Array.isArray(s) ? s : typeof s == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(s) ? s : Number(s) : s;
|
|
21881
21881
|
}, I().gte(0).lte(1)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
|
|
21882
|
-
}), h2 =
|
|
21882
|
+
}), h2 = Xn("type", [
|
|
21883
21883
|
f2,
|
|
21884
21884
|
c2,
|
|
21885
21885
|
d2
|
|
@@ -22043,7 +22043,7 @@ const o2 = k({
|
|
|
22043
22043
|
if (!(s === "" || s === null || s === void 0))
|
|
22044
22044
|
return Array.isArray(s) ? s : typeof s == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(s) ? s : Number(s) : s;
|
|
22045
22045
|
}, I().gte(1).lte(2048)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
|
|
22046
|
-
}), T2 =
|
|
22046
|
+
}), T2 = Xn("type", [
|
|
22047
22047
|
S2,
|
|
22048
22048
|
y2,
|
|
22049
22049
|
w2,
|
|
@@ -22208,8 +22208,8 @@ const o2 = k({
|
|
|
22208
22208
|
range: g(Ov),
|
|
22209
22209
|
poster: g(Lv),
|
|
22210
22210
|
thumbnail: g(B2),
|
|
22211
|
-
destinations: g(De(
|
|
22212
|
-
}),
|
|
22211
|
+
destinations: g(De(Kn))
|
|
22212
|
+
}), Qn = Uh, Zh = k({
|
|
22213
22213
|
in: g(U([
|
|
22214
22214
|
"none",
|
|
22215
22215
|
"fade",
|
|
@@ -22499,7 +22499,7 @@ const o2 = k({
|
|
|
22499
22499
|
}, I().gte(0).lte(10)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
22500
22500
|
crop: g(xr),
|
|
22501
22501
|
chromaKey: g(O1)
|
|
22502
|
-
}), c9 = qh, Yh =
|
|
22502
|
+
}), c9 = qh, Yh = Xn("type", [
|
|
22503
22503
|
qh,
|
|
22504
22504
|
vh,
|
|
22505
22505
|
Rh,
|
|
@@ -22781,7 +22781,7 @@ k({
|
|
|
22781
22781
|
}),
|
|
22782
22782
|
query: g(Ee())
|
|
22783
22783
|
});
|
|
22784
|
-
const U2 = kv, Z2 = s2, W2 =
|
|
22784
|
+
const U2 = kv, Z2 = s2, W2 = Qn.shape.format, H2 = Qn.shape.fps.unwrap(), G2 = Qn.shape.resolution, q2 = Qn.shape.aspectRatio, Y2 = y().regex(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{8}$/);
|
|
22785
22785
|
var j2 = Object.defineProperty, X2 = Object.getOwnPropertyNames, K2 = (s, e, t) => e in s ? j2(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, Q2 = /* @__PURE__ */ ((s) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(s, {
|
|
22786
22786
|
get: (e, t) => (typeof require < "u" ? require : e)[t]
|
|
22787
22787
|
}) : s)(function(s) {
|
|
@@ -22850,7 +22850,7 @@ for (let s of Object.getOwnPropertyNames(DataView.prototype))
|
|
|
22850
22850
|
});
|
|
22851
22851
|
}
|
|
22852
22852
|
const $2 = new TextEncoder(), pd = new Uint8Array(new Uint16Array([4660]).buffer)[0] == 18;
|
|
22853
|
-
class
|
|
22853
|
+
class wn {
|
|
22854
22854
|
constructor(e) {
|
|
22855
22855
|
this.buffer = e, this.view = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength), this.pos = 0;
|
|
22856
22856
|
}
|
|
@@ -22920,9 +22920,9 @@ for (let s of Object.getOwnPropertyNames(DataView.prototype))
|
|
|
22920
22920
|
let e = s.slice(3).replace("Ui", "UI");
|
|
22921
22921
|
e === "Float32" ? e = "Float" : e === "Float64" && (e = "Double");
|
|
22922
22922
|
let t = It.TYPES[e];
|
|
22923
|
-
|
|
22923
|
+
wn.prototype["write" + e + (t === 1 ? "" : "BE")] = function(i) {
|
|
22924
22924
|
this.view[s](this.pos, i, !1), this.pos += t;
|
|
22925
|
-
}, t !== 1 && (
|
|
22925
|
+
}, t !== 1 && (wn.prototype["write" + e + "LE"] = function(i) {
|
|
22926
22926
|
this.view[s](this.pos, i, !0), this.pos += t;
|
|
22927
22927
|
});
|
|
22928
22928
|
}
|
|
@@ -22932,7 +22932,7 @@ class Zs {
|
|
|
22932
22932
|
return this.decode(t);
|
|
22933
22933
|
}
|
|
22934
22934
|
toBuffer(e) {
|
|
22935
|
-
let t = this.size(e), i = new Uint8Array(t), a = new
|
|
22935
|
+
let t = this.size(e), i = new Uint8Array(t), a = new wn(i);
|
|
22936
22936
|
return this.encode(a, e), i;
|
|
22937
22937
|
}
|
|
22938
22938
|
}
|
|
@@ -23126,7 +23126,7 @@ class xs extends Zs {
|
|
|
23126
23126
|
return this.length instanceof He && this.length.encode(e, t.length), e.writeBuffer(t);
|
|
23127
23127
|
}
|
|
23128
23128
|
}
|
|
23129
|
-
class
|
|
23129
|
+
class vn extends Zs {
|
|
23130
23130
|
constructor(e, t = !0) {
|
|
23131
23131
|
super(), this.type = e, this.condition = t;
|
|
23132
23132
|
}
|
|
@@ -23716,7 +23716,7 @@ const Ix = /* @__PURE__ */ xa(n0), Tx = new Uint8Array(new Uint32Array([30541989
|
|
|
23716
23716
|
var Px = {
|
|
23717
23717
|
swap32LE: Nx
|
|
23718
23718
|
};
|
|
23719
|
-
const Cd = n0, { swap32LE: Vx } = Px, fc = 11, _i = 5, Fx = fc - _i, _x = 65536 >> fc, Mx = 1 << Fx, Bx = Mx - 1,
|
|
23719
|
+
const Cd = n0, { swap32LE: Vx } = Px, fc = 11, _i = 5, Fx = fc - _i, _x = 65536 >> fc, Mx = 1 << Fx, Bx = Mx - 1, sn = 2, Lx = 1 << _i, Fo = Lx - 1, o0 = 65536 >> _i, Ox = 1024 >> _i, zx = o0 + Ox, Rx = zx, Dx = 32, Ux = Rx + Dx, Zx = 1 << sn;
|
|
23720
23720
|
class Wx {
|
|
23721
23721
|
constructor(e) {
|
|
23722
23722
|
const t = typeof e.readUInt32BE == "function" && typeof e.slice == "function";
|
|
@@ -23734,18 +23734,18 @@ class Wx {
|
|
|
23734
23734
|
}
|
|
23735
23735
|
get(e) {
|
|
23736
23736
|
let t;
|
|
23737
|
-
return e < 0 || e > 1114111 ? this.errorValue : e < 55296 || e > 56319 && e <= 65535 ? (t = (this.data[e >> _i] <<
|
|
23737
|
+
return e < 0 || e > 1114111 ? this.errorValue : e < 55296 || e > 56319 && e <= 65535 ? (t = (this.data[e >> _i] << sn) + (e & Fo), this.data[t]) : e <= 65535 ? (t = (this.data[o0 + (e - 55296 >> _i)] << sn) + (e & Fo), this.data[t]) : e < this.highStart ? (t = this.data[Ux - _x + (e >> fc)], t = this.data[t + (e >> _i & Bx)], t = (t << sn) + (e & Fo), this.data[t]) : this.data[this.data.length - Zx];
|
|
23738
23738
|
}
|
|
23739
23739
|
}
|
|
23740
23740
|
var Hx = Wx;
|
|
23741
|
-
const
|
|
23741
|
+
const Jn = /* @__PURE__ */ xa(Hx);
|
|
23742
23742
|
function Ui(s) {
|
|
23743
23743
|
return s && s.__esModule ? s.default : s;
|
|
23744
23744
|
}
|
|
23745
23745
|
var gi = {};
|
|
23746
23746
|
gi = 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"]}');
|
|
23747
|
-
const hc = new $n(kr.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/7a6J5w90TusnH1JMAc+gNrql4aspOUG/RrsxUKmPzhHgP4Bleru+6Vfc/MBjgXVx7who94nPn7MPFrnwQP7g0k0Dq0h2GSKO6fTZ8nLodN1SiOUj/5EL/Xo1DBvRm0wmrh3x6phcJ20/9CuMr5h8WPqXMSasLoLHoufTmE7mzYrs6B0dY7KjuCogKqsvxnxAwXWvd9Puc9PnE8DOHT2INHxRlIyVHrqZahtfV2E/A2PDdtA3ewlRHMtFIBKO/T4IozWTQZ+mb+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P45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")), Gx = Math.log2 || ((s) => Math.log(s) / Math.LN2), eo = (s) => Gx(s) + 1 | 0, qx = eo((/* @__PURE__ */ Ui(gi)).categories.length - 1), l0 = eo((/* @__PURE__ */ Ui(gi)).combiningClasses.length - 1), pc = eo((/* @__PURE__ */ Ui(gi)).scripts.length - 1), gc = eo((/* @__PURE__ */ Ui(gi)).eaw.length - 1), mc = 10, Yx = l0 + pc + gc + mc, jx = pc + gc + mc, Xx = gc + mc, Kx = (1 << qx) - 1, Qx = (1 << l0) - 1, Jx = (1 << pc) - 1;
|
|
23748
|
-
function
|
|
23747
|
+
const hc = new Jn(kr.toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8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eTSE7FOHvcjf/+oKbbtRqz9gbofoc2EzQ3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")), Gx = Math.log2 || ((s) => Math.log(s) / Math.LN2), $n = (s) => Gx(s) + 1 | 0, qx = $n((/* @__PURE__ */ Ui(gi)).categories.length - 1), l0 = $n((/* @__PURE__ */ Ui(gi)).combiningClasses.length - 1), pc = $n((/* @__PURE__ */ Ui(gi)).scripts.length - 1), gc = $n((/* @__PURE__ */ Ui(gi)).eaw.length - 1), mc = 10, Yx = l0 + pc + gc + mc, jx = pc + gc + mc, Xx = gc + mc, Kx = (1 << qx) - 1, Qx = (1 << l0) - 1, Jx = (1 << pc) - 1;
|
|
23748
|
+
function eo(s) {
|
|
23749
23749
|
const e = hc.get(s);
|
|
23750
23750
|
return (/* @__PURE__ */ Ui(gi)).categories[e >> Yx & Kx];
|
|
23751
23751
|
}
|
|
@@ -23758,10 +23758,10 @@ function c0(s) {
|
|
|
23758
23758
|
return (/* @__PURE__ */ Ui(gi)).scripts[e >> Xx & Jx];
|
|
23759
23759
|
}
|
|
23760
23760
|
function kd(s) {
|
|
23761
|
-
return
|
|
23761
|
+
return eo(s) === "Nd";
|
|
23762
23762
|
}
|
|
23763
23763
|
function d0(s) {
|
|
23764
|
-
const e =
|
|
23764
|
+
const e = eo(s);
|
|
23765
23765
|
return e === "Mn" || e === "Me" || e === "Mc";
|
|
23766
23766
|
}
|
|
23767
23767
|
var _o = 1, Mo = 0;
|
|
@@ -23928,7 +23928,7 @@ var f0 = { exports: {} };
|
|
|
23928
23928
|
})(f0);
|
|
23929
23929
|
var s4 = f0.exports;
|
|
23930
23930
|
const Bo = /* @__PURE__ */ xa(s4);
|
|
23931
|
-
var Ba = {},
|
|
23931
|
+
var Ba = {}, xn = {};
|
|
23932
23932
|
function h0(s) {
|
|
23933
23933
|
this.buffer = s, this.pos = 0;
|
|
23934
23934
|
}
|
|
@@ -23938,7 +23938,7 @@ h0.prototype.read = function(s, e, t) {
|
|
|
23938
23938
|
s[e + i] = this.buffer[this.pos + i];
|
|
23939
23939
|
return this.pos += t, t;
|
|
23940
23940
|
};
|
|
23941
|
-
|
|
23941
|
+
xn.BrotliInput = h0;
|
|
23942
23942
|
function p0(s) {
|
|
23943
23943
|
this.buffer = s, this.pos = 0;
|
|
23944
23944
|
}
|
|
@@ -23947,7 +23947,7 @@ p0.prototype.write = function(s, e) {
|
|
|
23947
23947
|
throw new Error("Output buffer is not large enough");
|
|
23948
23948
|
return this.buffer.set(s.subarray(0, e), this.pos), this.pos += e, e;
|
|
23949
23949
|
};
|
|
23950
|
-
|
|
23950
|
+
xn.BrotliOutput = p0;
|
|
23951
23951
|
var Ei = 4096, i4 = 2 * Ei + 32, g0 = 2 * Ei - 1, a4 = new Uint32Array([
|
|
23952
23952
|
0,
|
|
23953
23953
|
1,
|
|
@@ -24093,11 +24093,11 @@ function m0() {
|
|
|
24093
24093
|
5
|
|
24094
24094
|
]), qs.minDictionaryWordLength = 4, qs.maxDictionaryWordLength = 24, qs;
|
|
24095
24095
|
}
|
|
24096
|
-
var
|
|
24096
|
+
var Cn = {};
|
|
24097
24097
|
function aa(s, e) {
|
|
24098
24098
|
this.bits = s, this.value = e;
|
|
24099
24099
|
}
|
|
24100
|
-
|
|
24100
|
+
Cn.HuffmanCode = aa;
|
|
24101
24101
|
var $i = 15;
|
|
24102
24102
|
function Td(s, e) {
|
|
24103
24103
|
for (var t = 1 << e - 1; s & t; )
|
|
@@ -24114,7 +24114,7 @@ function l4(s, e, t) {
|
|
|
24114
24114
|
++e, i <<= 1;
|
|
24115
24115
|
return e - t;
|
|
24116
24116
|
}
|
|
24117
|
-
|
|
24117
|
+
Cn.BrotliBuildHuffmanTable = function(s, e, t, i, a) {
|
|
24118
24118
|
var r = e, n, o, l, c, d, u, h, p, m, w, x, C = new Int32Array($i + 1), A = new Int32Array($i + 1);
|
|
24119
24119
|
for (x = new Int32Array(a), l = 0; l < a; l++)
|
|
24120
24120
|
C[i[l]]++;
|
|
@@ -26227,7 +26227,7 @@ var Pd;
|
|
|
26227
26227
|
function y0() {
|
|
26228
26228
|
if (Pd) return Ba;
|
|
26229
26229
|
Pd = 1;
|
|
26230
|
-
var s =
|
|
26230
|
+
var s = xn.BrotliInput, e = xn.BrotliOutput, t = r4, i = m0(), a = Cn.HuffmanCode, r = Cn.BrotliBuildHuffmanTable, n = yc, o = Ca, l = c4(), c = 8, d = 16, u = 256, h = 704, p = 26, m = 6, w = 2, x = 8, C = 255, A = 1080, v = 18, P = new Uint8Array([
|
|
26231
26231
|
1,
|
|
26232
26232
|
2,
|
|
26233
26233
|
3,
|
|
@@ -26536,7 +26536,7 @@ function y0() {
|
|
|
26536
26536
|
for (var Wi = 0; Wi < 3 * A; Wi++)
|
|
26537
26537
|
Nt[Wi] = new a(0, 0), zt[Wi] = new a(0, 0);
|
|
26538
26538
|
for (; !re; ) {
|
|
26539
|
-
var wt = 0, Ta, jt = [1 << 28, 1 << 28, 1 << 28], Jt = [0], Gt = [1, 1, 1], Ts = [0, 1, 0, 1, 0, 1], yi = [0], Hs, qt,
|
|
26539
|
+
var wt = 0, Ta, jt = [1 << 28, 1 << 28, 1 << 28], Jt = [0], Gt = [1, 1, 1], Ts = [0, 1, 0, 1, 0, 1], yi = [0], Hs, qt, Nr, Hi, Pr = null, Gs = null, Vr, Fr = null, Ea, _r = 0, Gi = null, $t = 0, qi = 0, Na = null, T = 0, ne = 0, Oe = 0, Ge, Ke;
|
|
26540
26540
|
for (O = 0; O < 3; ++O)
|
|
26541
26541
|
gt[O].codes = null, gt[O].htrees = null;
|
|
26542
26542
|
Ve.readMoreInput();
|
|
@@ -26564,15 +26564,15 @@ function y0() {
|
|
|
26564
26564
|
}
|
|
26565
26565
|
for (O = 0; O < 3; ++O)
|
|
26566
26566
|
Gt[O] = Q(Ve) + 1, Gt[O] >= 2 && (he(Gt[O] + 2, Nt, O * A, Ve), he(p, zt, O * A, Ve), jt[O] = Te(zt, O * A, Ve), yi[O] = 1);
|
|
26567
|
-
for (Ve.readMoreInput(), Hs = Ve.readBits(2), qt = b + (Ve.readBits(4) << Hs),
|
|
26567
|
+
for (Ve.readMoreInput(), Hs = Ve.readBits(2), qt = b + (Ve.readBits(4) << Hs), Nr = (1 << Hs) - 1, Hi = qt + (48 << Hs), Gs = new Uint8Array(Gt[0]), O = 0; O < Gt[0]; ++O)
|
|
26568
26568
|
Ve.readMoreInput(), Gs[O] = Ve.readBits(2) << 1;
|
|
26569
|
-
var
|
|
26570
|
-
|
|
26569
|
+
var Mr = Ae(Gt[0] << m, Ve);
|
|
26570
|
+
Vr = Mr.num_htrees, Pr = Mr.context_map;
|
|
26571
26571
|
var bo = Ae(Gt[2] << w, Ve);
|
|
26572
|
-
for (Ea = bo.num_htrees,
|
|
26572
|
+
for (Ea = bo.num_htrees, Fr = bo.context_map, gt[0] = new q(u, Vr), gt[1] = new q(h, Gt[1]), gt[2] = new q(Hi, Ea), O = 0; O < 3; ++O)
|
|
26573
26573
|
gt[O].decode(Ve);
|
|
26574
26574
|
for (Gi = 0, Na = 0, Ge = Gs[Jt[0]], ne = n.lookupOffsets[Ge], Oe = n.lookupOffsets[Ge + 1], Ke = gt[1].htrees[0]; wt > 0; ) {
|
|
26575
|
-
var
|
|
26575
|
+
var Br, Pa, wo, vo, xo, Rt, Yt, Es, Va, ji, Fa;
|
|
26576
26576
|
for (Ve.readMoreInput(), jt[1] === 0 && (xe(
|
|
26577
26577
|
Gt[1],
|
|
26578
26578
|
Nt,
|
|
@@ -26581,7 +26581,7 @@ function y0() {
|
|
|
26581
26581
|
Ts,
|
|
26582
26582
|
yi,
|
|
26583
26583
|
Ve
|
|
26584
|
-
), jt[1] = Te(zt, A, Ve), Ke = gt[1].htrees[Jt[1]]), --jt[1],
|
|
26584
|
+
), jt[1] = Te(zt, A, Ve), Ke = gt[1].htrees[Jt[1]]), --jt[1], Br = ve(gt[1].codes, Ke, Ve), Pa = Br >> 6, Pa >= 2 ? (Pa -= 2, Yt = -1) : Yt = 0, wo = o.kInsertRangeLut[Pa] + (Br >> 3 & 7), vo = o.kCopyRangeLut[Pa] + (Br & 7), xo = o.kInsertLengthPrefixCode[wo].offset + Ve.readBits(o.kInsertLengthPrefixCode[wo].nbits), Rt = o.kCopyLengthPrefixCode[vo].offset + Ve.readBits(o.kCopyLengthPrefixCode[vo].nbits), $e = ie[B - 1 & le], pt = ie[B - 2 & le], ji = 0; ji < xo; ++ji)
|
|
26585
26585
|
Ve.readMoreInput(), jt[0] === 0 && (xe(
|
|
26586
26586
|
Gt[0],
|
|
26587
26587
|
Nt,
|
|
@@ -26590,7 +26590,7 @@ function y0() {
|
|
|
26590
26590
|
Ts,
|
|
26591
26591
|
yi,
|
|
26592
26592
|
Ve
|
|
26593
|
-
), jt[0] = Te(zt, 0, Ve),
|
|
26593
|
+
), jt[0] = Te(zt, 0, Ve), _r = Jt[0] << m, Gi = _r, Ge = Gs[Jt[0]], ne = n.lookupOffsets[Ge], Oe = n.lookupOffsets[Ge + 1]), Va = n.lookup[ne + $e] | n.lookup[Oe + pt], $t = Pr[Gi + Va], --jt[0], pt = $e, $e = ve(gt[0].codes, gt[0].htrees[$t], Ve), ie[B & le] = $e, (B & le) === le && z.write(ie, Ie), ++B;
|
|
26594
26594
|
if (wt -= xo, wt <= 0) break;
|
|
26595
26595
|
if (Yt < 0) {
|
|
26596
26596
|
var Va;
|
|
@@ -26602,9 +26602,9 @@ function y0() {
|
|
|
26602
26602
|
Ts,
|
|
26603
26603
|
yi,
|
|
26604
26604
|
Ve
|
|
26605
|
-
), jt[2] = Te(zt, 2 * A, Ve), qi = Jt[2] << w, Na = qi), --jt[2], Va = (Rt > 4 ? 3 : Rt - 2) & 255, T =
|
|
26605
|
+
), jt[2] = Te(zt, 2 * A, Ve), qi = Jt[2] << w, Na = qi), --jt[2], Va = (Rt > 4 ? 3 : Rt - 2) & 255, T = Fr[Na + Va], Yt = ve(gt[2].codes, gt[2].htrees[T], Ve), Yt >= qt) {
|
|
26606
26606
|
var Co, Uc, _a;
|
|
26607
|
-
Yt -= qt, Uc = Yt &
|
|
26607
|
+
Yt -= qt, Uc = Yt & Nr, Yt >>= Hs, Co = (Yt >> 1) + 1, _a = (2 + (Yt & 1) << Co) - 4, Yt = qt + (_a + Ve.readBits(Co) << Hs) + Uc;
|
|
26608
26608
|
}
|
|
26609
26609
|
}
|
|
26610
26610
|
if (Es = be(Yt, rt, kt), Es < 0)
|
|
@@ -26616,8 +26616,8 @@ function y0() {
|
|
|
26616
26616
|
var ko = l.transformDictionaryWord(ie, Fa, _a, Rt, Hc);
|
|
26617
26617
|
if (Fa += ko, B += ko, wt -= ko, Fa >= Ne) {
|
|
26618
26618
|
z.write(ie, Ie);
|
|
26619
|
-
for (var
|
|
26620
|
-
ie[
|
|
26619
|
+
for (var Lr = 0; Lr < Fa - Ne; Lr++)
|
|
26620
|
+
ie[Lr] = ie[Ne + Lr];
|
|
26621
26621
|
}
|
|
26622
26622
|
} else
|
|
26623
26623
|
throw new Error("Invalid backward reference. pos: " + B + " distance: " + Es + " len: " + Rt + " bytes left: " + wt);
|
|
@@ -26643,14 +26643,14 @@ const u4 = /* @__PURE__ */ xa(d4);
|
|
|
26643
26643
|
function Sr(s, e, t, i) {
|
|
26644
26644
|
Object.defineProperty(s, e, { get: t, set: i, enumerable: !0, configurable: !0 });
|
|
26645
26645
|
}
|
|
26646
|
-
function
|
|
26646
|
+
function to(s) {
|
|
26647
26647
|
return s && s.__esModule ? s.default : s;
|
|
26648
26648
|
}
|
|
26649
26649
|
var Ar = {};
|
|
26650
26650
|
Sr(Ar, "logErrors", () => f4);
|
|
26651
26651
|
Sr(Ar, "registerFormat", () => ka);
|
|
26652
26652
|
Sr(Ar, "create", () => b0);
|
|
26653
|
-
Sr(Ar, "defaultLanguage", () =>
|
|
26653
|
+
Sr(Ar, "defaultLanguage", () => kn);
|
|
26654
26654
|
Sr(Ar, "setDefaultLanguage", () => h4);
|
|
26655
26655
|
let f4 = !1, Pl = [];
|
|
26656
26656
|
function ka(s) {
|
|
@@ -26666,9 +26666,9 @@ function b0(s, e) {
|
|
|
26666
26666
|
}
|
|
26667
26667
|
throw new Error("Unknown font format");
|
|
26668
26668
|
}
|
|
26669
|
-
let
|
|
26669
|
+
let kn = "en";
|
|
26670
26670
|
function h4(s = "en") {
|
|
26671
|
-
|
|
26671
|
+
kn = s;
|
|
26672
26672
|
}
|
|
26673
26673
|
function Et(s, e, t) {
|
|
26674
26674
|
if (t.get) {
|
|
@@ -27360,7 +27360,7 @@ let Fd = new _({
|
|
|
27360
27360
|
relativeTo: (s) => s.stringOffset
|
|
27361
27361
|
})
|
|
27362
27362
|
});
|
|
27363
|
-
var
|
|
27363
|
+
var Sn = new _e(f, {
|
|
27364
27364
|
0: {
|
|
27365
27365
|
count: f,
|
|
27366
27366
|
stringOffset: f,
|
|
@@ -27373,7 +27373,7 @@ var An = new _e(f, {
|
|
|
27373
27373
|
langTagCount: f,
|
|
27374
27374
|
langTags: new E(_4, "langTagCount")
|
|
27375
27375
|
}
|
|
27376
|
-
}), M4 =
|
|
27376
|
+
}), M4 = Sn;
|
|
27377
27377
|
const Vl = [
|
|
27378
27378
|
"copyright",
|
|
27379
27379
|
"fontFamily",
|
|
@@ -27399,7 +27399,7 @@ const Vl = [
|
|
|
27399
27399
|
"wwsFamilyName",
|
|
27400
27400
|
"wwsSubfamilyName"
|
|
27401
27401
|
];
|
|
27402
|
-
|
|
27402
|
+
Sn.process = function(s) {
|
|
27403
27403
|
var e = {};
|
|
27404
27404
|
for (let t of this.records) {
|
|
27405
27405
|
let i = F4[t.platformID][t.languageID];
|
|
@@ -27411,7 +27411,7 @@ An.process = function(s) {
|
|
|
27411
27411
|
}
|
|
27412
27412
|
this.records = e;
|
|
27413
27413
|
};
|
|
27414
|
-
|
|
27414
|
+
Sn.preEncode = function() {
|
|
27415
27415
|
if (Array.isArray(this.records)) return;
|
|
27416
27416
|
this.version = 0;
|
|
27417
27417
|
let s = [];
|
|
@@ -27433,7 +27433,7 @@ An.preEncode = function() {
|
|
|
27433
27433
|
string: t.en
|
|
27434
27434
|
}));
|
|
27435
27435
|
}
|
|
27436
|
-
this.records = s, this.count = s.length, this.stringOffset =
|
|
27436
|
+
this.records = s, this.count = s.length, this.stringOffset = Sn.size(this, null, !1);
|
|
27437
27437
|
};
|
|
27438
27438
|
var v0 = new _e(f, {
|
|
27439
27439
|
header: {
|
|
@@ -27713,7 +27713,7 @@ class Uo {
|
|
|
27713
27713
|
} else return -107 <= i && i <= 107 ? e.writeUInt8(i + 139) : 108 <= i && i <= 1131 ? (i -= 108, e.writeUInt8((i >> 8) + 247), e.writeUInt8(i & 255)) : -1131 <= i && i <= -108 ? (i = -i - 108, e.writeUInt8((i >> 8) + 251), e.writeUInt8(i & 255)) : -32768 <= i && i <= 32767 ? (e.writeUInt8(28), e.writeInt16BE(i)) : (e.writeUInt8(29), e.writeInt32BE(i));
|
|
27714
27714
|
}
|
|
27715
27715
|
}
|
|
27716
|
-
class
|
|
27716
|
+
class so {
|
|
27717
27717
|
decodeOperands(e, t, i, a) {
|
|
27718
27718
|
if (Array.isArray(e)) return a.map((r, n) => this.decodeOperands(e[n], t, i, [
|
|
27719
27719
|
r
|
|
@@ -27855,7 +27855,7 @@ class Z4 {
|
|
|
27855
27855
|
for (; i.length > a; ) i.pop();
|
|
27856
27856
|
}
|
|
27857
27857
|
}
|
|
27858
|
-
var Fl = new
|
|
27858
|
+
var Fl = new so([
|
|
27859
27859
|
// key name type default
|
|
27860
27860
|
[
|
|
27861
27861
|
6,
|
|
@@ -28006,7 +28006,7 @@ var Fl = new io([
|
|
|
28006
28006
|
}),
|
|
28007
28007
|
null
|
|
28008
28008
|
]
|
|
28009
|
-
]),
|
|
28009
|
+
]), an = [
|
|
28010
28010
|
".notdef",
|
|
28011
28011
|
"space",
|
|
28012
28012
|
"exclam",
|
|
@@ -29434,13 +29434,13 @@ let x0 = [
|
|
|
29434
29434
|
"useMarkFilteringSet"
|
|
29435
29435
|
])
|
|
29436
29436
|
});
|
|
29437
|
-
function
|
|
29437
|
+
function An(s) {
|
|
29438
29438
|
let e = new _({
|
|
29439
29439
|
lookupType: f,
|
|
29440
29440
|
flags: Q4,
|
|
29441
29441
|
subTableCount: f,
|
|
29442
29442
|
subTables: new E(new N(f, s), "subTableCount"),
|
|
29443
|
-
markFilteringSet: new
|
|
29443
|
+
markFilteringSet: new vn(f, (t) => t.flags.flags.useMarkFilteringSet)
|
|
29444
29444
|
});
|
|
29445
29445
|
return new Qe(new N(f, e), f);
|
|
29446
29446
|
}
|
|
@@ -29557,7 +29557,7 @@ let J4 = new _({
|
|
|
29557
29557
|
regionIndexCount: f,
|
|
29558
29558
|
regionIndexes: new E(f, "regionIndexCount"),
|
|
29559
29559
|
deltaSets: new E(oC, "itemCount")
|
|
29560
|
-
}),
|
|
29560
|
+
}), io = new _({
|
|
29561
29561
|
format: f,
|
|
29562
29562
|
variationRegionList: new N(V, nC),
|
|
29563
29563
|
variationDataCount: f,
|
|
@@ -29704,7 +29704,7 @@ class _0 {
|
|
|
29704
29704
|
];
|
|
29705
29705
|
}
|
|
29706
29706
|
}
|
|
29707
|
-
let M0 = new
|
|
29707
|
+
let M0 = new so([
|
|
29708
29708
|
// key name type(s) default
|
|
29709
29709
|
[
|
|
29710
29710
|
18,
|
|
@@ -29746,7 +29746,7 @@ let M0 = new io([
|
|
|
29746
29746
|
"number",
|
|
29747
29747
|
0
|
|
29748
29748
|
]
|
|
29749
|
-
]), CC = new
|
|
29749
|
+
]), CC = new so([
|
|
29750
29750
|
// key name type(s) default
|
|
29751
29751
|
[
|
|
29752
29752
|
[
|
|
@@ -30037,8 +30037,8 @@ let M0 = new io([
|
|
|
30037
30037
|
]
|
|
30038
30038
|
]), kC = new _({
|
|
30039
30039
|
length: f,
|
|
30040
|
-
itemVariationStore:
|
|
30041
|
-
}), SC = new
|
|
30040
|
+
itemVariationStore: io
|
|
30041
|
+
}), SC = new so([
|
|
30042
30042
|
[
|
|
30043
30043
|
[
|
|
30044
30044
|
12,
|
|
@@ -30126,7 +30126,7 @@ class wc {
|
|
|
30126
30126
|
return this.isCIDFont = this.topDict.ROS != null, this;
|
|
30127
30127
|
}
|
|
30128
30128
|
string(e) {
|
|
30129
|
-
return this.version >= 2 ? null : e <
|
|
30129
|
+
return this.version >= 2 ? null : e < an.length ? an[e] : this.stringIndex[e - an.length];
|
|
30130
30130
|
}
|
|
30131
30131
|
get postscriptName() {
|
|
30132
30132
|
return this.version < 2 ? this.nameIndex[0] : null;
|
|
@@ -30208,7 +30208,7 @@ let ra = new _({
|
|
|
30208
30208
|
vertBearingX: xt,
|
|
30209
30209
|
vertBearingY: xt,
|
|
30210
30210
|
vertAdvance: se
|
|
30211
|
-
}),
|
|
30211
|
+
}), Ur = new _({
|
|
30212
30212
|
height: se,
|
|
30213
30213
|
width: se,
|
|
30214
30214
|
bearingX: xt,
|
|
@@ -30225,11 +30225,11 @@ class Wo {
|
|
|
30225
30225
|
}
|
|
30226
30226
|
new _e("version", {
|
|
30227
30227
|
1: {
|
|
30228
|
-
metrics:
|
|
30228
|
+
metrics: Ur,
|
|
30229
30229
|
data: Rd
|
|
30230
30230
|
},
|
|
30231
30231
|
2: {
|
|
30232
|
-
metrics:
|
|
30232
|
+
metrics: Ur,
|
|
30233
30233
|
data: Wo
|
|
30234
30234
|
},
|
|
30235
30235
|
// format 3 is deprecated
|
|
@@ -30246,7 +30246,7 @@ new _e("version", {
|
|
|
30246
30246
|
data: Wo
|
|
30247
30247
|
},
|
|
30248
30248
|
8: {
|
|
30249
|
-
metrics:
|
|
30249
|
+
metrics: Ur,
|
|
30250
30250
|
pad: new at(se),
|
|
30251
30251
|
numComponents: f,
|
|
30252
30252
|
components: new E(zd, "numComponents")
|
|
@@ -30258,7 +30258,7 @@ new _e("version", {
|
|
|
30258
30258
|
components: new E(zd, "numComponents")
|
|
30259
30259
|
},
|
|
30260
30260
|
17: {
|
|
30261
|
-
metrics:
|
|
30261
|
+
metrics: Ur,
|
|
30262
30262
|
dataLen: V,
|
|
30263
30263
|
data: new xs("dataLen")
|
|
30264
30264
|
},
|
|
@@ -30457,7 +30457,7 @@ var YC = new _e(V, {
|
|
|
30457
30457
|
},
|
|
30458
30458
|
65536: {},
|
|
30459
30459
|
65537: {
|
|
30460
|
-
itemVariationStore: new N(V,
|
|
30460
|
+
itemVariationStore: new N(V, io)
|
|
30461
30461
|
}
|
|
30462
30462
|
});
|
|
30463
30463
|
let jC = new E(f, f), XC = new _({
|
|
@@ -30497,7 +30497,7 @@ var $C = new _e(V, {
|
|
|
30497
30497
|
},
|
|
30498
30498
|
65539: {
|
|
30499
30499
|
markGlyphSetsDef: new N(f, Zd),
|
|
30500
|
-
itemVariationStore: new N(V,
|
|
30500
|
+
itemVariationStore: new N(V, io)
|
|
30501
30501
|
}
|
|
30502
30502
|
});
|
|
30503
30503
|
let Ki = new rs(f, [
|
|
@@ -30664,7 +30664,7 @@ var dk = new _e(V, {
|
|
|
30664
30664
|
header: {
|
|
30665
30665
|
scriptList: new N(f, S0),
|
|
30666
30666
|
featureList: new N(f, I0),
|
|
30667
|
-
lookupList: new N(f, new
|
|
30667
|
+
lookupList: new N(f, new An(pr))
|
|
30668
30668
|
},
|
|
30669
30669
|
65536: {},
|
|
30670
30670
|
65537: {
|
|
@@ -30727,7 +30727,7 @@ var pk = new _e(V, {
|
|
|
30727
30727
|
header: {
|
|
30728
30728
|
scriptList: new N(f, S0),
|
|
30729
30729
|
featureList: new N(f, I0),
|
|
30730
|
-
lookupList: new N(f, new
|
|
30730
|
+
lookupList: new N(f, new An(_l))
|
|
30731
30731
|
},
|
|
30732
30732
|
65536: {},
|
|
30733
30733
|
65537: {
|
|
@@ -30739,12 +30739,12 @@ let Ys = new E(f, f), gk = new _({
|
|
|
30739
30739
|
shrinkageDisableGSUB: new N(f, Ys),
|
|
30740
30740
|
shrinkageEnableGPOS: new N(f, Ys),
|
|
30741
30741
|
shrinkageDisableGPOS: new N(f, Ys),
|
|
30742
|
-
shrinkageJstfMax: new N(f, new
|
|
30742
|
+
shrinkageJstfMax: new N(f, new An(pr)),
|
|
30743
30743
|
extensionEnableGSUB: new N(f, Ys),
|
|
30744
30744
|
extensionDisableGSUB: new N(f, Ys),
|
|
30745
30745
|
extensionEnableGPOS: new N(f, Ys),
|
|
30746
30746
|
extensionDisableGPOS: new N(f, Ys),
|
|
30747
|
-
extensionJstfMax: new N(f, new
|
|
30747
|
+
extensionJstfMax: new N(f, new An(pr))
|
|
30748
30748
|
}), R0 = new E(new N(f, gk), f), mk = new _({
|
|
30749
30749
|
tag: new Ye(4),
|
|
30750
30750
|
jstfLangSys: new N(f, R0)
|
|
@@ -30796,7 +30796,7 @@ let xk = new _({
|
|
|
30796
30796
|
var Ck = new _({
|
|
30797
30797
|
majorVersion: f,
|
|
30798
30798
|
minorVersion: f,
|
|
30799
|
-
itemVariationStore: new N(V,
|
|
30799
|
+
itemVariationStore: new N(V, io),
|
|
30800
30800
|
advanceWidthMapping: new N(V, Go),
|
|
30801
30801
|
LSBMapping: new N(V, Go),
|
|
30802
30802
|
RSBMapping: new N(V, Go)
|
|
@@ -31100,7 +31100,7 @@ let di = function(s = f) {
|
|
|
31100
31100
|
}
|
|
31101
31101
|
});
|
|
31102
31102
|
};
|
|
31103
|
-
function
|
|
31103
|
+
function Zr(s = {}, e = f) {
|
|
31104
31104
|
let t = Object.assign({
|
|
31105
31105
|
newState: f,
|
|
31106
31106
|
flags: f
|
|
@@ -31200,7 +31200,7 @@ let Jk = new _({
|
|
|
31200
31200
|
name: (s) => s.parent.parent.name.records.fontFeatures[s.nameID],
|
|
31201
31201
|
flags: f,
|
|
31202
31202
|
coord: new E(ht, (s) => s.parent.axisCount),
|
|
31203
|
-
postscriptNameID: new
|
|
31203
|
+
postscriptNameID: new vn(f, (s) => s.parent.instanceSize - s._currentOffset > 0)
|
|
31204
31204
|
});
|
|
31205
31205
|
var e3 = new _({
|
|
31206
31206
|
version: ht,
|
|
@@ -31312,14 +31312,14 @@ let h3 = {
|
|
|
31312
31312
|
items: new ws(new N(V, new di()))
|
|
31313
31313
|
}), y3 = new _e("type", {
|
|
31314
31314
|
0: {
|
|
31315
|
-
stateTable: new
|
|
31315
|
+
stateTable: new Zr()
|
|
31316
31316
|
},
|
|
31317
31317
|
1: {
|
|
31318
|
-
stateTable: new
|
|
31318
|
+
stateTable: new Zr(p3),
|
|
31319
31319
|
substitutionTable: new N(V, m3)
|
|
31320
31320
|
},
|
|
31321
31321
|
2: {
|
|
31322
|
-
stateTable: new
|
|
31322
|
+
stateTable: new Zr(h3),
|
|
31323
31323
|
ligatureActions: new N(V, new ws(V)),
|
|
31324
31324
|
components: new N(V, new ws(f)),
|
|
31325
31325
|
ligatureList: new N(V, new ws(f))
|
|
@@ -31328,7 +31328,7 @@ let h3 = {
|
|
|
31328
31328
|
lookupTable: new di()
|
|
31329
31329
|
},
|
|
31330
31330
|
5: {
|
|
31331
|
-
stateTable: new
|
|
31331
|
+
stateTable: new Zr(g3),
|
|
31332
31332
|
insertionActions: new N(V, new ws(f))
|
|
31333
31333
|
}
|
|
31334
31334
|
}), b3 = new _({
|
|
@@ -31369,7 +31369,7 @@ var k3 = new _({
|
|
|
31369
31369
|
lookupTable: new di(C3)
|
|
31370
31370
|
});
|
|
31371
31371
|
let ke = {};
|
|
31372
|
-
var
|
|
31372
|
+
var In = ke;
|
|
31373
31373
|
ke.cmap = C4;
|
|
31374
31374
|
ke.head = k4;
|
|
31375
31375
|
ke.hhea = S4;
|
|
@@ -31442,8 +31442,8 @@ vc.preEncode = function() {
|
|
|
31442
31442
|
a && t.push({
|
|
31443
31443
|
tag: i,
|
|
31444
31444
|
checkSum: 0,
|
|
31445
|
-
offset: new El(
|
|
31446
|
-
length:
|
|
31445
|
+
offset: new El(In[i], a),
|
|
31446
|
+
length: In[i].size(a)
|
|
31447
31447
|
});
|
|
31448
31448
|
}
|
|
31449
31449
|
this.tables = t;
|
|
@@ -31453,7 +31453,7 @@ vc.preEncode = function() {
|
|
|
31453
31453
|
this.searchRange = e * 16, this.entrySelector = Math.log(e) / Math.LN2, this.rangeShift = this.numTables * 16 - this.searchRange;
|
|
31454
31454
|
};
|
|
31455
31455
|
var D0 = vc;
|
|
31456
|
-
function
|
|
31456
|
+
function rn(s, e) {
|
|
31457
31457
|
let t = 0, i = s.length - 1;
|
|
31458
31458
|
for (; t <= i; ) {
|
|
31459
31459
|
let a = t + i >> 1, r = e(s[a]);
|
|
@@ -31468,7 +31468,7 @@ function ea(s, e) {
|
|
|
31468
31468
|
for (; s < e; ) t.push(s++);
|
|
31469
31469
|
return t;
|
|
31470
31470
|
}
|
|
31471
|
-
const
|
|
31471
|
+
const ao = new TextDecoder("ascii"), Xd = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", qa = new Uint8Array(256);
|
|
31472
31472
|
for (let s = 0; s < Xd.length; s++) qa[Xd.charCodeAt(s)] = s;
|
|
31473
31473
|
function xc(s) {
|
|
31474
31474
|
let e = s.length * 0.75;
|
|
@@ -31539,8 +31539,8 @@ class Cc {
|
|
|
31539
31539
|
}
|
|
31540
31540
|
getVariationSelector(e, t) {
|
|
31541
31541
|
if (!this.uvs) return 0;
|
|
31542
|
-
let i = this.uvs.varSelectors.toArray(), a =
|
|
31543
|
-
return a !== -1 && r.defaultUVS && (a =
|
|
31542
|
+
let i = this.uvs.varSelectors.toArray(), a = rn(i, (n) => t - n.varSelector), r = i[a];
|
|
31543
|
+
return a !== -1 && r.defaultUVS && (a = rn(r.defaultUVS, (n) => e < n.startUnicodeValue ? -1 : e > n.startUnicodeValue + n.additionalCount ? 1 : 0)), a !== -1 && r.nonDefaultUVS && (a = rn(r.nonDefaultUVS, (n) => e - n.unicodeValue), a !== -1) ? r.nonDefaultUVS[a].glyphID : 0;
|
|
31544
31544
|
}
|
|
31545
31545
|
getCharacterSet() {
|
|
31546
31546
|
let e = this.cmap;
|
|
@@ -31689,7 +31689,7 @@ class A3 {
|
|
|
31689
31689
|
let r = 0, n = a.subtable;
|
|
31690
31690
|
switch (a.format) {
|
|
31691
31691
|
case 0:
|
|
31692
|
-
let o =
|
|
31692
|
+
let o = rn(n.pairs, function(u) {
|
|
31693
31693
|
return e - u.left || t - u.right;
|
|
31694
31694
|
});
|
|
31695
31695
|
o >= 0 && (r = n.pairs[o].value);
|
|
@@ -32486,7 +32486,7 @@ const Ni = {
|
|
|
32486
32486
|
}, ee = (s, e) => [
|
|
32487
32487
|
Ni[s].code,
|
|
32488
32488
|
Ni[s][e]
|
|
32489
|
-
],
|
|
32489
|
+
], Tn = {
|
|
32490
32490
|
rlig: ee("ligatures", "requiredLigatures"),
|
|
32491
32491
|
clig: ee("ligatures", "contextualLigatures"),
|
|
32492
32492
|
dlig: ee("ligatures", "rareLigatures"),
|
|
@@ -32583,20 +32583,20 @@ const Ni = {
|
|
|
32583
32583
|
ss19: ee("stylisticAlternatives", "stylisticAltNineteen"),
|
|
32584
32584
|
ss20: ee("stylisticAlternatives", "stylisticAltTwenty")
|
|
32585
32585
|
};
|
|
32586
|
-
for (let s = 1; s <= 99; s++)
|
|
32586
|
+
for (let s = 1; s <= 99; s++) Tn[`cv${`00${s}`.slice(-2)}`] = [
|
|
32587
32587
|
Ni.characterAlternatives.code,
|
|
32588
32588
|
s
|
|
32589
32589
|
];
|
|
32590
32590
|
let Pi = {};
|
|
32591
|
-
for (let s in
|
|
32592
|
-
let e =
|
|
32591
|
+
for (let s in Tn) {
|
|
32592
|
+
let e = Tn[s];
|
|
32593
32593
|
Pi[e[0]] == null && (Pi[e[0]] = {}), Pi[e[0]][e[1]] = s;
|
|
32594
32594
|
}
|
|
32595
32595
|
function _3(s) {
|
|
32596
32596
|
let e = {};
|
|
32597
32597
|
for (let t in s) {
|
|
32598
32598
|
let i;
|
|
32599
|
-
(i =
|
|
32599
|
+
(i = Tn[t]) && (e[i[0]] == null && (e[i[0]] = {}), e[i[0]][i[1]] = s[t]);
|
|
32600
32600
|
}
|
|
32601
32601
|
return e;
|
|
32602
32602
|
}
|
|
@@ -33162,7 +33162,7 @@ class fi {
|
|
|
33162
33162
|
}
|
|
33163
33163
|
}
|
|
33164
33164
|
Ht(fi, "zeroMarkWidths", "AFTER_GPOS");
|
|
33165
|
-
const aS = new
|
|
33165
|
+
const aS = new Jn(xc("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCYaEcygEiqBQ4FAkCE4ikUgMiiBJSAgSiUQSDMn9L9eSl6bddddug9t7yS/trevre+3r27pcNxZiG+yCfdCVv/9LeQxOwRm4AJegD27ALbgD9+ABPJF+z+BN/h7yDj5k/VOWX6SdmU5+wLWknggxDxaS8u0qiiX4uiz9XamQ3wzDMAzDMAzDMAzDVI/h959V/v7BMAzDMAzDMLlyNTNiMSdewVxbiA44B4/guz1qW58VYlMI0WsJ0W+N6kXw0spvPtdwhtkwnGM6uLaV4Xyzg3v3PM9DPfQ/sOg4xPWjipy31P8LTqbU304c/cLCUmWJLNB2Uz2U1KTeRKNmKHVMfbJC+/0loTZRH/W5cvEvBJPMbREkWt3FD1NcqXZBSpuE2Ad0PBehPtNrPtIEdYP+hiRt/V1jIiE69X4NT/uVZI3PUHE9bm5M7ePGdZWy951v7Nn6j8v1WWKP3mt6ttnsigx6VN7Vc0VomSSGqW2mGNP1muZPl7LfjNUaKNFtDGVf2fvE9O7VlBS5j333c5p/eeoOqcs1R/hIqDWLJ7TTlksirVT1SI7l8k4Yp+g3jafGcrU1RM6l9th80XOpnlN97bDNY4i4s61B0Si/ipa0uHMl6zqEjlFfCZm/TM8KmzQDjmuTAQ==")), su = [
|
|
33166
33166
|
"isol",
|
|
33167
33167
|
"fina",
|
|
33168
33168
|
"fin2",
|
|
@@ -33173,7 +33173,7 @@ const aS = new $n(xc("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCY
|
|
|
33173
33173
|
], Bl = {
|
|
33174
33174
|
Non_Joining: 0,
|
|
33175
33175
|
Transparent: 6
|
|
33176
|
-
}, et = "isol", js = "fina", qo = "fin2", rS = "fin3",
|
|
33176
|
+
}, et = "isol", js = "fina", qo = "fin2", rS = "fin3", Wr = "medi", Hr = "med2", Gr = "init", Be = null, nS = [
|
|
33177
33177
|
// Non_Joining, Left_Joining, Right_Joining, Dual_Joining, ALAPH, DALATH RISH
|
|
33178
33178
|
// State 0: prev was U, not willing to join.
|
|
33179
33179
|
[
|
|
@@ -33254,22 +33254,22 @@ const aS = new $n(xc("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCY
|
|
|
33254
33254
|
2
|
|
33255
33255
|
],
|
|
33256
33256
|
[
|
|
33257
|
-
|
|
33257
|
+
Gr,
|
|
33258
33258
|
js,
|
|
33259
33259
|
1
|
|
33260
33260
|
],
|
|
33261
33261
|
[
|
|
33262
|
-
|
|
33262
|
+
Gr,
|
|
33263
33263
|
js,
|
|
33264
33264
|
3
|
|
33265
33265
|
],
|
|
33266
33266
|
[
|
|
33267
|
-
|
|
33267
|
+
Gr,
|
|
33268
33268
|
js,
|
|
33269
33269
|
4
|
|
33270
33270
|
],
|
|
33271
33271
|
[
|
|
33272
|
-
|
|
33272
|
+
Gr,
|
|
33273
33273
|
js,
|
|
33274
33274
|
6
|
|
33275
33275
|
]
|
|
@@ -33287,22 +33287,22 @@ const aS = new $n(xc("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCY
|
|
|
33287
33287
|
2
|
|
33288
33288
|
],
|
|
33289
33289
|
[
|
|
33290
|
-
|
|
33290
|
+
Wr,
|
|
33291
33291
|
js,
|
|
33292
33292
|
1
|
|
33293
33293
|
],
|
|
33294
33294
|
[
|
|
33295
|
-
|
|
33295
|
+
Wr,
|
|
33296
33296
|
js,
|
|
33297
33297
|
3
|
|
33298
33298
|
],
|
|
33299
33299
|
[
|
|
33300
|
-
|
|
33300
|
+
Wr,
|
|
33301
33301
|
js,
|
|
33302
33302
|
4
|
|
33303
33303
|
],
|
|
33304
33304
|
[
|
|
33305
|
-
|
|
33305
|
+
Wr,
|
|
33306
33306
|
js,
|
|
33307
33307
|
6
|
|
33308
33308
|
]
|
|
@@ -33320,22 +33320,22 @@ const aS = new $n(xc("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCY
|
|
|
33320
33320
|
2
|
|
33321
33321
|
],
|
|
33322
33322
|
[
|
|
33323
|
-
|
|
33323
|
+
Hr,
|
|
33324
33324
|
et,
|
|
33325
33325
|
1
|
|
33326
33326
|
],
|
|
33327
33327
|
[
|
|
33328
|
-
|
|
33328
|
+
Hr,
|
|
33329
33329
|
et,
|
|
33330
33330
|
2
|
|
33331
33331
|
],
|
|
33332
33332
|
[
|
|
33333
|
-
|
|
33333
|
+
Hr,
|
|
33334
33334
|
qo,
|
|
33335
33335
|
5
|
|
33336
33336
|
],
|
|
33337
33337
|
[
|
|
33338
|
-
|
|
33338
|
+
Hr,
|
|
33339
33339
|
et,
|
|
33340
33340
|
6
|
|
33341
33341
|
]
|
|
@@ -33442,7 +33442,7 @@ class Xs extends fi {
|
|
|
33442
33442
|
function oS(s) {
|
|
33443
33443
|
let e = aS.get(s);
|
|
33444
33444
|
if (e) return e - 1;
|
|
33445
|
-
let t =
|
|
33445
|
+
let t = eo(s);
|
|
33446
33446
|
return t === "Mn" || t === "Me" || t === "Cf" ? Bl.Transparent : Bl.Non_Joining;
|
|
33447
33447
|
}
|
|
33448
33448
|
class lS {
|
|
@@ -33489,7 +33489,7 @@ const cS = [
|
|
|
33489
33489
|
"dflt",
|
|
33490
33490
|
"latn"
|
|
33491
33491
|
];
|
|
33492
|
-
class
|
|
33492
|
+
class En {
|
|
33493
33493
|
findScript(e) {
|
|
33494
33494
|
if (this.table.scriptList == null) return null;
|
|
33495
33495
|
Array.isArray(e) || (e = [
|
|
@@ -33686,8 +33686,8 @@ class ns {
|
|
|
33686
33686
|
this._id = e, this.substituted = !0;
|
|
33687
33687
|
let t = this._font.GDEF;
|
|
33688
33688
|
if (t && t.glyphClassDef) {
|
|
33689
|
-
let i =
|
|
33690
|
-
this.isBase = i === 1, this.isLigature = i === 2, this.isMark = i === 3, this.markAttachmentType = t.markAttachClassDef ?
|
|
33689
|
+
let i = En.prototype.getClassID(e, t.glyphClassDef);
|
|
33690
|
+
this.isBase = i === 1, this.isLigature = i === 2, this.isMark = i === 3, this.markAttachmentType = t.markAttachClassDef ? En.prototype.getClassID(e, t.markAttachClassDef) : 0;
|
|
33691
33691
|
} else
|
|
33692
33692
|
this.isMark = this.codePoints.length > 0 && this.codePoints.every(d0), this.isBase = !this.isMark, this.isLigature = this.codePoints.length > 1, this.markAttachmentType = 0;
|
|
33693
33693
|
}
|
|
@@ -33714,7 +33714,7 @@ class W0 extends fi {
|
|
|
33714
33714
|
static assignFeatures(e, t) {
|
|
33715
33715
|
let i = 0, a = 0;
|
|
33716
33716
|
for (; a < t.length; ) {
|
|
33717
|
-
let r, o = t[a].codePoints[0], l =
|
|
33717
|
+
let r, o = t[a].codePoints[0], l = Fn(o);
|
|
33718
33718
|
switch ([r, i] = TS[i][l], r) {
|
|
33719
33719
|
case Ps:
|
|
33720
33720
|
e.font.hasGlyphForCodePoint(o) || (a = q0(t, a, e.font));
|
|
@@ -33734,9 +33734,9 @@ class W0 extends fi {
|
|
|
33734
33734
|
}
|
|
33735
33735
|
}
|
|
33736
33736
|
Ht(W0, "zeroMarkWidths", "NONE");
|
|
33737
|
-
const ya = 44032, H0 = 55204, dS = H0 - ya + 1,
|
|
33738
|
-
function
|
|
33739
|
-
return gS(s) ? AS : mS(s) ?
|
|
33737
|
+
const ya = 44032, H0 = 55204, dS = H0 - ya + 1, ro = 4352, no = 4449, Mi = 4519, uS = 19, Nn = 21, gr = 28, fS = ro + uS - 1, hS = no + Nn - 1, pS = Mi + gr - 1, iu = 9676, gS = (s) => 4352 <= s && s <= 4447 || 43360 <= s && s <= 43388, mS = (s) => 4448 <= s && s <= 4519 || 55216 <= s && s <= 55238, yS = (s) => 4520 <= s && s <= 4607 || 55243 <= s && s <= 55291, bS = (s) => 12334 <= s && s <= 12335, wS = (s) => ya <= s && s <= H0, vS = (s) => s - ya < dS && (s - ya) % gr === 0, xS = (s) => ro <= s && s <= fS, CS = (s) => no <= s && s <= hS, kS = (s) => 1 <= s && s <= pS, SS = 0, AS = 1, Pn = 2, kc = 3, Vn = 4, G0 = 5, IS = 6;
|
|
33738
|
+
function Fn(s) {
|
|
33739
|
+
return gS(s) ? AS : mS(s) ? Pn : yS(s) ? kc : vS(s) ? Vn : wS(s) ? G0 : bS(s) ? IS : SS;
|
|
33740
33740
|
}
|
|
33741
33741
|
const Dt = 0, Ps = 1, Ll = 2, Ol = 4, zl = 5, TS = [
|
|
33742
33742
|
// X L V T LV LVT M
|
|
@@ -33873,7 +33873,7 @@ function $a(s, e, t) {
|
|
|
33873
33873
|
function q0(s, e, t) {
|
|
33874
33874
|
let i = s[e], r = i.codePoints[0] - ya, n = Mi + r % gr;
|
|
33875
33875
|
r = r / gr | 0;
|
|
33876
|
-
let o =
|
|
33876
|
+
let o = ro + r / Nn | 0, l = no + r % Nn;
|
|
33877
33877
|
if (!t.hasGlyphForCodePoint(o) || !t.hasGlyphForCodePoint(l) || n !== Mi && !t.hasGlyphForCodePoint(n)) return e;
|
|
33878
33878
|
let c = $a(t, o, i.features);
|
|
33879
33879
|
c.features.ljmo = !0;
|
|
@@ -33890,30 +33890,30 @@ function q0(s, e, t) {
|
|
|
33890
33890
|
return s.splice(e, 1, ...u), e + u.length - 1;
|
|
33891
33891
|
}
|
|
33892
33892
|
function ES(s, e, t) {
|
|
33893
|
-
let i = s[e], a = s[e].codePoints[0], r =
|
|
33894
|
-
if (o ===
|
|
33893
|
+
let i = s[e], a = s[e].codePoints[0], r = Fn(a), n = s[e - 1].codePoints[0], o = Fn(n), l, c, d, u;
|
|
33894
|
+
if (o === Vn && r === kc)
|
|
33895
33895
|
l = n, u = i;
|
|
33896
33896
|
else {
|
|
33897
|
-
r ===
|
|
33897
|
+
r === Pn ? (c = s[e - 1], d = i) : (c = s[e - 2], d = s[e - 1], u = i);
|
|
33898
33898
|
let p = c.codePoints[0], m = d.codePoints[0];
|
|
33899
|
-
xS(p) && CS(m) && (l = ya + ((p -
|
|
33899
|
+
xS(p) && CS(m) && (l = ya + ((p - ro) * Nn + (m - no)) * gr);
|
|
33900
33900
|
}
|
|
33901
33901
|
let h = u && u.codePoints[0] || Mi;
|
|
33902
33902
|
if (l != null && (h === Mi || kS(h))) {
|
|
33903
33903
|
let p = l + (h - Mi);
|
|
33904
33904
|
if (t.hasGlyphForCodePoint(p)) {
|
|
33905
|
-
let m = o ===
|
|
33905
|
+
let m = o === Pn ? 3 : 2;
|
|
33906
33906
|
return s.splice(e - m + 1, m, $a(t, p, i.features)), e - m + 1;
|
|
33907
33907
|
}
|
|
33908
33908
|
}
|
|
33909
|
-
return c && (c.features.ljmo = !0), d && (d.features.vjmo = !0), u && (u.features.tjmo = !0), o ===
|
|
33909
|
+
return c && (c.features.ljmo = !0), d && (d.features.vjmo = !0), u && (u.features.tjmo = !0), o === Vn ? (q0(s, e - 1, t), e + 1) : e;
|
|
33910
33910
|
}
|
|
33911
33911
|
function NS(s) {
|
|
33912
|
-
switch (
|
|
33913
|
-
case
|
|
33912
|
+
switch (Fn(s)) {
|
|
33913
|
+
case Vn:
|
|
33914
33914
|
case G0:
|
|
33915
33915
|
return 1;
|
|
33916
|
-
case
|
|
33916
|
+
case Pn:
|
|
33917
33917
|
return 2;
|
|
33918
33918
|
case kc:
|
|
33919
33919
|
return 3;
|
|
@@ -33935,8 +33935,8 @@ function VS(s, e, t) {
|
|
|
33935
33935
|
}
|
|
33936
33936
|
var Y0 = {};
|
|
33937
33937
|
Y0 = JSON.parse('{"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]],"accepting":[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true],"tags":[[],["broken_cluster"],["consonant_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],[],["broken_cluster"],["symbol_cluster"],[],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["symbol_cluster"],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],[],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],[],[],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],["consonant_syllable"],["vowel_syllable"],["standalone_cluster"]]}');
|
|
33938
|
-
var
|
|
33939
|
-
|
|
33938
|
+
var oo = {};
|
|
33939
|
+
oo = JSON.parse('{"categories":["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","null","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","M","VS","N","HN","MAbv"],"decompositions":{"2507":[2503,2494],"2508":[2503,2519],"2888":[2887,2902],"2891":[2887,2878],"2892":[2887,2903],"3018":[3014,3006],"3019":[3015,3006],"3020":[3014,3031],"3144":[3142,3158],"3264":[3263,3285],"3271":[3270,3285],"3272":[3270,3286],"3274":[3270,3266],"3275":[3270,3266,3285],"3402":[3398,3390],"3403":[3399,3390],"3404":[3398,3415],"3546":[3545,3530],"3548":[3545,3535],"3549":[3545,3535,3530],"3550":[3545,3551],"3635":[3661,3634],"3763":[3789,3762],"3955":[3953,3954],"3957":[3953,3956],"3958":[4018,3968],"3959":[4018,3953,3968],"3960":[4019,3968],"3961":[4019,3953,3968],"3969":[3953,3968],"6971":[6970,6965],"6973":[6972,6965],"6976":[6974,6965],"6977":[6975,6965],"6979":[6978,6965],"69934":[69937,69927],"69935":[69938,69927],"70475":[70471,70462],"70476":[70471,70487],"70843":[70841,70842],"70844":[70841,70832],"70846":[70841,70845],"71098":[71096,71087],"71099":[71097,71087]},"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0]],"accepting":[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],"tags":[[],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["symbol_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["virama_terminated_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["number_joiner_terminated_cluster"],["standard_cluster"],["standard_cluster"],["numeral_cluster"]]}');
|
|
33940
33940
|
const Me = {
|
|
33941
33941
|
X: 1,
|
|
33942
33942
|
C: 2,
|
|
@@ -34089,7 +34089,7 @@ const Me = {
|
|
|
34089
34089
|
6081,
|
|
34090
34090
|
6085
|
|
34091
34091
|
]
|
|
34092
|
-
}, { decompositions: MS } = /* @__PURE__ */
|
|
34092
|
+
}, { decompositions: MS } = /* @__PURE__ */ to(oo), X0 = new Jn(xc("AAARAAAAAABg2AAAAWYPmfDtnXuMXFUdx+/uzs7M7szudAtECGJRIMRQbUAithQWkGAKiVhNpFVRRAmIQVCDkDYICGotIA9BTCz8IeUviv7BQ2PBtBIRLBBQIWAUsKg1BKxRAqIgfs/cc+aeOXPej3tnZX7JJ/dxzj3nd36/8753Z5fUsuxgsAwcAU4Gp4BPgM+Cd4P3RjieDs4GXwLrHJ5bDy4DG8A14LvgZrAZbAF3gns0z18ALgY/B78C94NHwBPgabAE/AX8DbwM5sF/QX0yD5vFcU/wVnAgWAoOAyvAceBE8CGwBpwGzgJfAF8BXwXfAFeC68EmsBlsAXeCreA+8CB4DDwF/gh2gd3gFfAGmKxn2QzYC+wHDgRLweFgJTgWrKrnuq/GcQ04jV6fheN54EJwEbgcXAG+Q8O/j+Mt4DZwB9haz8t9Hz3a8iCN/xiOvwRP0evH6fE68AzOH+Ke2eWYhw3PcGnuxvkr4A3QaGRZB7wFLAEHg2XgiEZ/fHKcp/ceBh/A+cngFPCpRm6vM3E8l8a5gN67GMdvgqsbeX2ap9yI601gM7gN3AG20mfuo8cdOP6GpvdUg9oKxz839GV90RDO2/glxN1B790NXsN1rZll7WYRdw+c70uvTwIHNAfTO0RyL5TDmnnbc3lmRQI9UnM0dD5eovfz4FpJ/BNpXNYWV+N6Lfg0hY97JK1vn+Pur9DoQur2F7m436bHDUK8C5t5/8vruo4+97WmXG+GLmzEiBF+PDwEOowYMWLEiBEjRoxYeBw5BDqIPEfXut9yWN+vVNxfrnnmWqR/PdgENoMt4E5wD9gOHgCPgifBs2BXM99b2o3jP8F/wMRUlrXAHNgHvH0q3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RlqdOf5v0ZM+bymdbfp1NfG0bq27Y5JMyfxeJkU6o/inKH8O2Zfgidb6h/g3VJ7QcVbWL0Pxt6rlrPqa4KfQ25a2zl4/E8GdM/4fK/wA=")), BS = new u0(/* @__PURE__ */ to(Y0));
|
|
34093
34093
|
class mt extends fi {
|
|
34094
34094
|
static planFeatures(e) {
|
|
34095
34095
|
e.addStage(LS), e.addStage([
|
|
@@ -34135,7 +34135,7 @@ function Rl(s) {
|
|
|
34135
34135
|
function K0(s) {
|
|
34136
34136
|
return 1 << (X0.get(s.codePoints[0]) & 255);
|
|
34137
34137
|
}
|
|
34138
|
-
class
|
|
34138
|
+
class nn {
|
|
34139
34139
|
constructor(e, t, i, a) {
|
|
34140
34140
|
this.category = e, this.position = t, this.syllableType = i, this.syllable = a;
|
|
34141
34141
|
}
|
|
@@ -34145,15 +34145,15 @@ function LS(s, e) {
|
|
|
34145
34145
|
for (let [a, r, n] of BS.match(e.map(Rl))) {
|
|
34146
34146
|
if (a > i) {
|
|
34147
34147
|
++t;
|
|
34148
|
-
for (let o = i; o < a; o++) e[o].shaperInfo = new
|
|
34148
|
+
for (let o = i; o < a; o++) e[o].shaperInfo = new nn(Me.X, me.End, "non_indic_cluster", t);
|
|
34149
34149
|
}
|
|
34150
34150
|
++t;
|
|
34151
|
-
for (let o = a; o <= r; o++) e[o].shaperInfo = new
|
|
34151
|
+
for (let o = a; o <= r; o++) e[o].shaperInfo = new nn(1 << Rl(e[o]), K0(e[o]), n[0], t);
|
|
34152
34152
|
i = r + 1;
|
|
34153
34153
|
}
|
|
34154
34154
|
if (i < e.length) {
|
|
34155
34155
|
++t;
|
|
34156
|
-
for (let a = i; a < e.length; a++) e[a].shaperInfo = new
|
|
34156
|
+
for (let a = i; a < e.length; a++) e[a].shaperInfo = new nn(Me.X, me.End, "non_indic_cluster", t);
|
|
34157
34157
|
}
|
|
34158
34158
|
}
|
|
34159
34159
|
function ki(s) {
|
|
@@ -34189,14 +34189,14 @@ function zS(s, e, t) {
|
|
|
34189
34189
|
]);
|
|
34190
34190
|
for (let l = 0; l < e.length; l++) e[l].shaperInfo.position === me.Base_C && (e[l].shaperInfo.position = OS(s, e[l].copy(), o));
|
|
34191
34191
|
}
|
|
34192
|
-
for (let o = 0, l =
|
|
34192
|
+
for (let o = 0, l = _n(e, 0); o < e.length; o = l, l = _n(e, o)) {
|
|
34193
34193
|
let { category: c, syllableType: d } = e[o].shaperInfo;
|
|
34194
34194
|
if (d === "symbol_cluster" || d === "non_indic_cluster") continue;
|
|
34195
34195
|
if (d === "broken_cluster" && r) {
|
|
34196
34196
|
let v = new ns(s, r, [
|
|
34197
34197
|
9676
|
|
34198
34198
|
]);
|
|
34199
|
-
v.shaperInfo = new
|
|
34199
|
+
v.shaperInfo = new nn(1 << Rl(v), K0(v), e[o].shaperInfo.syllableType, e[o].shaperInfo.syllable);
|
|
34200
34200
|
let P = o;
|
|
34201
34201
|
for (; P < l && e[P].shaperInfo.category === Me.Repha; ) P++;
|
|
34202
34202
|
e.splice(P++, 0, v), l++;
|
|
@@ -34316,7 +34316,7 @@ function zS(s, e, t) {
|
|
|
34316
34316
|
}
|
|
34317
34317
|
function RS(s, e, t) {
|
|
34318
34318
|
let i = t.indicConfig, a = s._layoutEngine.engine.GSUBProcessor.features;
|
|
34319
|
-
for (let r = 0, n =
|
|
34319
|
+
for (let r = 0, n = _n(e, 0); r < e.length; r = n, n = _n(e, r)) {
|
|
34320
34320
|
let o = !!a.pref, l = r;
|
|
34321
34321
|
for (; l < n; l++) if (e[l].shaperInfo.position >= me.Base_C) {
|
|
34322
34322
|
if (o && l + 1 < n) {
|
|
@@ -34399,16 +34399,16 @@ function RS(s, e, t) {
|
|
|
34399
34399
|
break;
|
|
34400
34400
|
}
|
|
34401
34401
|
}
|
|
34402
|
-
e[r].shaperInfo.position === me.Pre_M && (!r || !/Cf|Mn/.test(
|
|
34402
|
+
e[r].shaperInfo.position === me.Pre_M && (!r || !/Cf|Mn/.test(eo(e[r - 1].codePoints[0]))) && (e[r].features.init = !0);
|
|
34403
34403
|
}
|
|
34404
34404
|
}
|
|
34405
|
-
function
|
|
34405
|
+
function _n(s, e) {
|
|
34406
34406
|
if (e >= s.length) return e;
|
|
34407
34407
|
let t = s[e].shaperInfo.syllable;
|
|
34408
34408
|
for (; ++e < s.length && s[e].shaperInfo.syllable === t; ) ;
|
|
34409
34409
|
return e;
|
|
34410
34410
|
}
|
|
34411
|
-
const { categories: DS, decompositions: ru } = /* @__PURE__ */
|
|
34411
|
+
const { categories: DS, decompositions: ru } = /* @__PURE__ */ to(oo), US = new Jn(xc("AAACAAAAAAAQugAAAQUO+vHtnHuMX0UVx2d3u/t7bXe7FlqgvB+mpQhFmhikMRAg0ZQmakMU+cPWBzZisEGNjUpoiIYCEgmGUGOEGqOVNPUZUGNA+QNIBU2KREEFFSMBUYRISMXE+B3vnPzOzp553tcWfif5ZO5jnufMzJ2ZO/eumlDqFLAWnAMuBBvBZnC5uXZeBe4WsA1sBzs8/naCXcL1G8GtYDfYA74NvgfuAfcZHmT+fwEeBb8DTwvxPQWeAavACyZvq8z9VYxXwCGglijVBcvACnA8eCM4E6wHG8BF4BLwbvA+8AHwUbAd7AA7wS5wC9gN7gR7wX5wN7gXPAAeBr8Gvwd/Ac+CF8EhoCaV6oBZsBKcAE4FZ0wWeV8P9zxwoTnfCHczuBxsAdvAx8Gnzf1r4X4B3AxuA1+bHJb9m5PzdVGW/Yjv+xXHyfmxFfd9OH8Q/Ar8Bjw1WZT3GfACeAX8N5CfqSmlZsAKsGqqCH8K3DXgbHCuuXYB3HeAd4HLpgrdarbi+EPgY+CT4HPg8ybMTcb9MtyvghtYut/A+b4pf95+ELgfw08Qx/3gADgInjDl0veehPtX8A/wsrn2KtzxDuogWNoJx38k/BzXKeI8Ee5qcBZYD9aZtDbg+AwT19uMX83F7JizCdcvBZdZ97c6/BMfMWmfzfTm88/95aLj+DDSvApcDXZ04uPfaen3TMHPLvi5BezuFPVtD4t/qUcfe3FvP7gb3Ouwo9T+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oXm/LKSVpYh5wqmr/X67SfwHtPc9a97p/k8bt0hpbW0j1Svr2m+7Rd98qIQ1pvSF273dKOjHYNmk6fd8/JX3tWIddblBqoU5p7zrZKnd9TppjVq0DSitWqkwz12b2exb7vwjaRvS/TFd/S+8AYvIo+Suri5TwvvZRdV1IQevQ1/8SA+UeH5eto7n/X1Oe86ptaafl8kPjcF7P7W93eD9d5n+oSvn7fFe7I/G9q1IBfylSR71N6fft94ZU18hOXKR+JqUO8f4+5dvLsmWlMQb/Vov+CUDlpTGUndeQlG3fdZWdRPoPgl3mmDlsLnaey/4X3tVuU+o6L3/Pym+qlLV/jk6rlBRd8394hZ6JdnuqIv2ykOh3pfq96Wkq/E8qu2xl88/tOJ4R3tfmpbGi3c5T859bzqr7MbsN03iI5itUNj5eaEKWqIX/KJCQ/iFWNZMmHXs8ovWk53JzFq5vPul6zDjLV36pX7bzvNzB0YlQOZephWtRS5T7eeSq8030R77/HvC1d7tN83Zt9yltrDdwSR0XxsZd5l+MvvvU1/M9jSnj+Nh6FPJbBld/w6XHXH5MZeXrOfS/65g9RTl1JCa8chzX2RZ9/3lXSh4/VqWfEBNq4b82Ytp6m+9Qqxir1jX+rfPdT1vvsWhM6bPbmON6E1LnPCZW7L0qqXswmtqf0MQelZj4myrzYtzvIYmURlvtqapyx+gzRfd0XPfahVSOquMoG+dibBdl46iyfdbV1qvUW9m8+KTudMvkzZe/pqTJ+pWTflX5zw1fVfox6ZTVc8hvHflOSb+OuG1JsZ0kufXAJf8D")), ZS = new u0(/* @__PURE__ */ to(oo));
|
|
34412
34412
|
class Fe extends fi {
|
|
34413
34413
|
static planFeatures(e) {
|
|
34414
34414
|
e.addStage(HS), e.addStage([
|
|
@@ -34494,13 +34494,13 @@ function YS(s, e) {
|
|
|
34494
34494
|
}
|
|
34495
34495
|
if (o.category === "R" && a - i > 1) {
|
|
34496
34496
|
for (r = i + 1; r < a; r++)
|
|
34497
|
-
if (o = e[r].shaperInfo, cu(o) ||
|
|
34498
|
-
|
|
34497
|
+
if (o = e[r].shaperInfo, cu(o) || qr(e[r])) {
|
|
34498
|
+
qr(e[r]) && r--, e.splice(i, 0, ...e.splice(i + 1, r - i), e[r]);
|
|
34499
34499
|
break;
|
|
34500
34500
|
}
|
|
34501
34501
|
}
|
|
34502
34502
|
for (r = i, n = a; r < a; r++)
|
|
34503
|
-
o = e[r].shaperInfo, cu(o) ||
|
|
34503
|
+
o = e[r].shaperInfo, cu(o) || qr(e[r]) ? n = qr(e[r]) ? r + 1 : r : (o.category === "VPre" || o.category === "VMPre") && n < r && e.splice(n, 1, e[r], ...e.splice(n, r - n));
|
|
34504
34504
|
}
|
|
34505
34505
|
}
|
|
34506
34506
|
}
|
|
@@ -34510,7 +34510,7 @@ function lu(s, e) {
|
|
|
34510
34510
|
for (; ++e < s.length && s[e].shaperInfo.syllable === t; ) ;
|
|
34511
34511
|
return e;
|
|
34512
34512
|
}
|
|
34513
|
-
function
|
|
34513
|
+
function qr(s) {
|
|
34514
34514
|
return s.shaperInfo.category === "H" && !s.isLigated;
|
|
34515
34515
|
}
|
|
34516
34516
|
function cu(s) {
|
|
@@ -34603,7 +34603,7 @@ function XS(s) {
|
|
|
34603
34603
|
}
|
|
34604
34604
|
return fi;
|
|
34605
34605
|
}
|
|
34606
|
-
class KS extends
|
|
34606
|
+
class KS extends En {
|
|
34607
34607
|
applyLookup(e, t) {
|
|
34608
34608
|
switch (e) {
|
|
34609
34609
|
case 1: {
|
|
@@ -34685,7 +34685,7 @@ class KS extends Nn {
|
|
|
34685
34685
|
}
|
|
34686
34686
|
}
|
|
34687
34687
|
}
|
|
34688
|
-
class QS extends
|
|
34688
|
+
class QS extends En {
|
|
34689
34689
|
applyPositionValue(e, t) {
|
|
34690
34690
|
let i = this.positions[this.glyphIterator.peekIndex(e)];
|
|
34691
34691
|
t.xAdvance != null && (i.xAdvance += t.xAdvance), t.yAdvance != null && (i.yAdvance += t.yAdvance), t.xPlacement != null && (i.xOffset += t.xPlacement), t.yPlacement != null && (i.yOffset += t.yPlacement);
|
|
@@ -35515,7 +35515,7 @@ class f5 {
|
|
|
35515
35515
|
this.glyphID = e, this.dx = t, this.dy = i, this.pos = 0, this.scaleX = this.scaleY = 1, this.scale01 = this.scale10 = 0;
|
|
35516
35516
|
}
|
|
35517
35517
|
}
|
|
35518
|
-
class
|
|
35518
|
+
class lo extends Ss {
|
|
35519
35519
|
// Parses just the glyph header and returns the bounding box
|
|
35520
35520
|
_getCBox(e) {
|
|
35521
35521
|
if (this._font._variationProcessor && !e) return this.path.cbox;
|
|
@@ -35923,7 +35923,7 @@ let p5 = new _({
|
|
|
35923
35923
|
type: new Ye(4),
|
|
35924
35924
|
data: new xs((s) => s.parent.buflen - s._currentOffset)
|
|
35925
35925
|
});
|
|
35926
|
-
class g5 extends
|
|
35926
|
+
class g5 extends lo {
|
|
35927
35927
|
/**
|
|
35928
35928
|
* Returns an object representing a glyph image at the given point size.
|
|
35929
35929
|
* The object has a data property with a Buffer containing the actual image data,
|
|
@@ -36282,7 +36282,7 @@ class V5 {
|
|
|
36282
36282
|
flags: n,
|
|
36283
36283
|
xPoints: a,
|
|
36284
36284
|
yPoints: r
|
|
36285
|
-
}, m = bu.size(p), w = 4 - m % 4, x = new
|
|
36285
|
+
}, m = bu.size(p), w = 4 - m % 4, x = new wn(m + w);
|
|
36286
36286
|
return bu.encode(x, p), w !== 0 && x.fill(0, w), x.buffer;
|
|
36287
36287
|
}
|
|
36288
36288
|
_encodePoint(e, t, i, a, r, n) {
|
|
@@ -36405,7 +36405,7 @@ class _5 extends Q0 {
|
|
|
36405
36405
|
};
|
|
36406
36406
|
}
|
|
36407
36407
|
addString(e) {
|
|
36408
|
-
return e ? (this.strings || (this.strings = []), this.strings.push(e),
|
|
36408
|
+
return e ? (this.strings || (this.strings = []), this.strings.push(e), an.length + this.strings.length - 1) : null;
|
|
36409
36409
|
}
|
|
36410
36410
|
encode() {
|
|
36411
36411
|
this.subsetCharstrings();
|
|
@@ -36457,7 +36457,7 @@ class _5 extends Q0 {
|
|
|
36457
36457
|
}
|
|
36458
36458
|
class _t {
|
|
36459
36459
|
static probe(e) {
|
|
36460
|
-
let t =
|
|
36460
|
+
let t = ao.decode(e.slice(0, 4));
|
|
36461
36461
|
return t === "true" || t === "OTTO" || t === "\0\0\0";
|
|
36462
36462
|
}
|
|
36463
36463
|
setDefaultLanguage(e = null) {
|
|
@@ -36480,7 +36480,7 @@ class _t {
|
|
|
36480
36480
|
});
|
|
36481
36481
|
}
|
|
36482
36482
|
_decodeTable(e) {
|
|
36483
|
-
let t = this.stream.pos, i = this._getTableStream(e.tag), a =
|
|
36483
|
+
let t = this.stream.pos, i = this._getTableStream(e.tag), a = In[e.tag].decode(i, this, e.length);
|
|
36484
36484
|
return this.stream.pos = t, a;
|
|
36485
36485
|
}
|
|
36486
36486
|
/**
|
|
@@ -36488,9 +36488,9 @@ class _t {
|
|
|
36488
36488
|
* `lang` is a BCP-47 language code.
|
|
36489
36489
|
* @return {string}
|
|
36490
36490
|
*/
|
|
36491
|
-
getName(e, t = this.defaultLanguage ||
|
|
36491
|
+
getName(e, t = this.defaultLanguage || kn) {
|
|
36492
36492
|
let i = this.name && this.name.records[e];
|
|
36493
|
-
return i && (i[t] || i[this.defaultLanguage] || i[
|
|
36493
|
+
return i && (i[t] || i[this.defaultLanguage] || i[kn] || i.en || i[Object.keys(i)[0]]) || null;
|
|
36494
36494
|
}
|
|
36495
36495
|
/**
|
|
36496
36496
|
* The unique PostScript name for this font, e.g. "Helvetica-Bold"
|
|
@@ -36711,7 +36711,7 @@ class _t {
|
|
|
36711
36711
|
return this._layoutEngine.getAvailableFeatures(e, t);
|
|
36712
36712
|
}
|
|
36713
36713
|
_getBaseGlyph(e, t = []) {
|
|
36714
|
-
return this._glyphs[e] || (this.directory.tables.glyf ? this._glyphs[e] = new
|
|
36714
|
+
return this._glyphs[e] || (this.directory.tables.glyf ? this._glyphs[e] = new lo(e, t, this) : (this.directory.tables["CFF "] || this.directory.tables.CFF2) && (this._glyphs[e] = new h5(e, t, this))), this._glyphs[e] || null;
|
|
36715
36715
|
}
|
|
36716
36716
|
/**
|
|
36717
36717
|
* Returns a glyph object for the given glyph id.
|
|
@@ -36802,7 +36802,7 @@ class _t {
|
|
|
36802
36802
|
Ht(this, "type", "TTF"), this.defaultLanguage = null, this.stream = e, this.variationCoords = t, this._directoryPos = this.stream.pos, this._tables = {}, this._glyphs = {}, this._decodeDirectory();
|
|
36803
36803
|
for (let i in this.directory.tables) {
|
|
36804
36804
|
let a = this.directory.tables[i];
|
|
36805
|
-
|
|
36805
|
+
In[i] && a.length > 0 && Object.defineProperty(this, i, {
|
|
36806
36806
|
get: this._getTable.bind(this, a)
|
|
36807
36807
|
});
|
|
36808
36808
|
}
|
|
@@ -36861,7 +36861,7 @@ J0.process = function() {
|
|
|
36861
36861
|
var B5 = J0;
|
|
36862
36862
|
class L5 extends _t {
|
|
36863
36863
|
static probe(e) {
|
|
36864
|
-
return
|
|
36864
|
+
return ao.decode(e.slice(0, 4)) === "wOFF";
|
|
36865
36865
|
}
|
|
36866
36866
|
_decodeDirectory() {
|
|
36867
36867
|
this.directory = B5.decode(this.stream, {
|
|
@@ -36882,7 +36882,7 @@ class L5 extends _t {
|
|
|
36882
36882
|
super(...e), Ht(this, "type", "WOFF");
|
|
36883
36883
|
}
|
|
36884
36884
|
}
|
|
36885
|
-
class O5 extends
|
|
36885
|
+
class O5 extends lo {
|
|
36886
36886
|
_decode() {
|
|
36887
36887
|
return this._font._transformedGlyphs[this.id];
|
|
36888
36888
|
}
|
|
@@ -36976,12 +36976,12 @@ let z5 = [
|
|
|
36976
36976
|
"Sill"
|
|
36977
36977
|
], R5 = new _({
|
|
36978
36978
|
flags: se,
|
|
36979
|
-
customTag: new
|
|
36979
|
+
customTag: new vn(new Ye(4), (s) => (s.flags & 63) === 63),
|
|
36980
36980
|
tag: (s) => s.customTag || z5[s.flags & 63],
|
|
36981
36981
|
length: wu,
|
|
36982
36982
|
transformVersion: (s) => s.flags >>> 6 & 3,
|
|
36983
36983
|
transformed: (s) => s.tag === "glyf" || s.tag === "loca" ? s.transformVersion === 0 : s.transformVersion !== 0,
|
|
36984
|
-
transformLength: new
|
|
36984
|
+
transformLength: new vn(wu, (s) => s.transformed)
|
|
36985
36985
|
}), $0 = new _({
|
|
36986
36986
|
tag: new Ye(4),
|
|
36987
36987
|
flavor: V,
|
|
@@ -37010,7 +37010,7 @@ $0.process = function() {
|
|
|
37010
37010
|
var D5 = $0;
|
|
37011
37011
|
class U5 extends _t {
|
|
37012
37012
|
static probe(e) {
|
|
37013
|
-
return
|
|
37013
|
+
return ao.decode(e.slice(0, 4)) === "wOF2";
|
|
37014
37014
|
}
|
|
37015
37015
|
_decodeDirectory() {
|
|
37016
37016
|
this.directory = D5.decode(this.stream), this._dataPos = this.stream.pos;
|
|
@@ -37051,7 +37051,7 @@ class U5 extends _t {
|
|
|
37051
37051
|
r.points = q5(e.flags, e.glyphs, l);
|
|
37052
37052
|
for (let c = 0; c < n; c++) r.points[o[c] - 1].endContour = !0;
|
|
37053
37053
|
var i = Yo(e.glyphs);
|
|
37054
|
-
} else if (n < 0 &&
|
|
37054
|
+
} else if (n < 0 && lo.prototype._decodeComposite.call({
|
|
37055
37055
|
_font: this
|
|
37056
37056
|
}, r, e.composites))
|
|
37057
37057
|
var i = Yo(e.glyphs);
|
|
@@ -37137,7 +37137,7 @@ let Y5 = new _e(V, {
|
|
|
37137
37137
|
});
|
|
37138
37138
|
class j5 {
|
|
37139
37139
|
static probe(e) {
|
|
37140
|
-
return
|
|
37140
|
+
return ao.decode(e.slice(0, 4)) === "ttcf";
|
|
37141
37141
|
}
|
|
37142
37142
|
getFont(e) {
|
|
37143
37143
|
for (let t of this.header.offsets) {
|
|
@@ -37362,7 +37362,7 @@ var Ct = {
|
|
|
37362
37362
|
align: dA.optional(),
|
|
37363
37363
|
animation: uA.optional(),
|
|
37364
37364
|
customFonts: De(tA).optional()
|
|
37365
|
-
}).strict(),
|
|
37365
|
+
}).strict(), Yr = null;
|
|
37366
37366
|
function Cu() {
|
|
37367
37367
|
return typeof process < "u" && process.versions != null && process.versions.node != null;
|
|
37368
37368
|
}
|
|
@@ -37393,16 +37393,16 @@ async function Su(s) {
|
|
|
37393
37393
|
}
|
|
37394
37394
|
async function pA() {
|
|
37395
37395
|
try {
|
|
37396
|
-
const { readFile: s } = await Promise.resolve().then(() =>
|
|
37396
|
+
const { readFile: s } = await Promise.resolve().then(() => Kr), e = await Promise.resolve().then(() => Kr), t = [];
|
|
37397
37397
|
try {
|
|
37398
|
-
const { createRequire: a } = await Promise.resolve().then(() =>
|
|
37398
|
+
const { createRequire: a } = await Promise.resolve().then(() => Kr), n = a(import.meta.url || `file://${process.cwd()}/`).resolve("harfbuzzjs/package.json"), o = e.dirname(n);
|
|
37399
37399
|
t.push(e.join(o, "hb.wasm"));
|
|
37400
37400
|
} catch {
|
|
37401
37401
|
}
|
|
37402
37402
|
let i;
|
|
37403
37403
|
try {
|
|
37404
37404
|
if (typeof import.meta.url == "string") {
|
|
37405
|
-
const { fileURLToPath: a } = await Promise.resolve().then(() =>
|
|
37405
|
+
const { fileURLToPath: a } = await Promise.resolve().then(() => Kr);
|
|
37406
37406
|
i = e.dirname(a(import.meta.url));
|
|
37407
37407
|
}
|
|
37408
37408
|
} catch {
|
|
@@ -37484,7 +37484,7 @@ function mA(s) {
|
|
|
37484
37484
|
});
|
|
37485
37485
|
}
|
|
37486
37486
|
async function yA(s) {
|
|
37487
|
-
if (
|
|
37487
|
+
if (Yr) return Yr;
|
|
37488
37488
|
try {
|
|
37489
37489
|
let e;
|
|
37490
37490
|
if (Cu() ? e = await pA() : e = await gA(s), !e)
|
|
@@ -37496,14 +37496,14 @@ async function yA(s) {
|
|
|
37496
37496
|
const t = await Promise.resolve().then(() => vN), a = await (t.default || t)({ wasmBinary: e }), r = await Promise.resolve().then(() => kN), o = (r.default || r)(a);
|
|
37497
37497
|
if (!o || typeof o.createBuffer != "function" || typeof o.createFont != "function")
|
|
37498
37498
|
throw new Error("Failed to initialize HarfBuzz: unexpected export shape from 'harfbuzzjs'.");
|
|
37499
|
-
return
|
|
37499
|
+
return Yr = o, Yr;
|
|
37500
37500
|
} catch (e) {
|
|
37501
37501
|
throw console.error("Failed to initialize HarfBuzz:", e), new Error(
|
|
37502
37502
|
`Failed to initialize HarfBuzz: ${e instanceof Error ? e.message : String(e)}`
|
|
37503
37503
|
);
|
|
37504
37504
|
}
|
|
37505
37505
|
}
|
|
37506
|
-
function
|
|
37506
|
+
function jr(s) {
|
|
37507
37507
|
if (s == null) return "400";
|
|
37508
37508
|
if (typeof s == "number") return String(s);
|
|
37509
37509
|
const e = String(s).toLowerCase().trim(), t = {
|
|
@@ -37639,7 +37639,7 @@ var Tr = class tt {
|
|
|
37639
37639
|
return this.hb;
|
|
37640
37640
|
}
|
|
37641
37641
|
key(e) {
|
|
37642
|
-
const t =
|
|
37642
|
+
const t = jr(e.weight);
|
|
37643
37643
|
return `${e.family}__${t}`;
|
|
37644
37644
|
}
|
|
37645
37645
|
async registerFromBytes(e, t) {
|
|
@@ -37649,7 +37649,7 @@ var Tr = class tt {
|
|
|
37649
37649
|
if (this.fonts.has(i)) return;
|
|
37650
37650
|
const a = this.hb.createBlob(e), r = this.hb.createFace(a, 0), n = this.hb.createFont(r), o = r.upem || 1e3;
|
|
37651
37651
|
n.setScale(o, o);
|
|
37652
|
-
const l =
|
|
37652
|
+
const l = jr(t.weight), c = parseInt(l, 10);
|
|
37653
37653
|
if (c !== 400 && typeof n.setVariations == "function")
|
|
37654
37654
|
try {
|
|
37655
37655
|
n.setVariations(`wght=${c}`);
|
|
@@ -37676,7 +37676,7 @@ var Tr = class tt {
|
|
|
37676
37676
|
const t = tt.fallbackLoader;
|
|
37677
37677
|
if (!t) return !1;
|
|
37678
37678
|
try {
|
|
37679
|
-
const i =
|
|
37679
|
+
const i = jr(e.weight), a = await t({
|
|
37680
37680
|
family: e.family,
|
|
37681
37681
|
weight: i
|
|
37682
37682
|
});
|
|
@@ -37702,7 +37702,7 @@ var Tr = class tt {
|
|
|
37702
37702
|
}
|
|
37703
37703
|
}
|
|
37704
37704
|
async tryDeriveFromExistingFont(e) {
|
|
37705
|
-
const t = e.family, i =
|
|
37705
|
+
const t = e.family, i = jr(e.weight), a = parseInt(i, 10);
|
|
37706
37706
|
let r;
|
|
37707
37707
|
for (const [h, p] of this.blobs)
|
|
37708
37708
|
if (h.startsWith(`${t}__`)) {
|
|
@@ -38203,7 +38203,7 @@ function IA(s, e, t) {
|
|
|
38203
38203
|
return s;
|
|
38204
38204
|
}
|
|
38205
38205
|
}
|
|
38206
|
-
var
|
|
38206
|
+
var Mn = (s) => s.op === "FillPath" && s.isShadow === !0, co = (s) => s.op === "FillPath" && !s.isShadow;
|
|
38207
38207
|
function TA(s) {
|
|
38208
38208
|
for (const e of s)
|
|
38209
38209
|
if (e.op === "FillPath") {
|
|
@@ -38256,11 +38256,11 @@ function NA(s, e, t, i, a, r) {
|
|
|
38256
38256
|
if (t >= m)
|
|
38257
38257
|
l.push(d);
|
|
38258
38258
|
else if (t > p) {
|
|
38259
|
-
const w = (t - p) / Math.max(1e-6, m - p), x =
|
|
38259
|
+
const w = (t - p) / Math.max(1e-6, m - p), x = Bn(Math.min(1, w)), C = i === "up" ? a * 0.4 : -a * 0.4, A = { ...d, y: d.y + C * (1 - x) };
|
|
38260
38260
|
d.op === "FillPath" ? A.fill.kind === "solid" ? A.fill = { ...A.fill, opacity: A.fill.opacity * x } : A.fill = { ...A.fill, opacity: (A.fill.opacity ?? 1) * x } : A.opacity = A.opacity * x, l.push(A);
|
|
38261
38261
|
}
|
|
38262
38262
|
}
|
|
38263
|
-
|
|
38263
|
+
co(d) && c++;
|
|
38264
38264
|
} else d.op === "DecorationLine" && t >= Dl && l.push(d);
|
|
38265
38265
|
return l;
|
|
38266
38266
|
}
|
|
@@ -38308,7 +38308,7 @@ function PA(s, e, t, i, a, r, n) {
|
|
|
38308
38308
|
} else if (t >= D)
|
|
38309
38309
|
p.push(v);
|
|
38310
38310
|
else {
|
|
38311
|
-
const M = (t - b) / Math.max(1e-6, D - b), L =
|
|
38311
|
+
const M = (t - b) / Math.max(1e-6, D - b), L = Bn(Math.min(1, M)), K = c.x * (1 - L), Q = c.y * (1 - L), Y = { ...v, x: v.x + K, y: v.y + Q };
|
|
38312
38312
|
if (v.op === "FillPath") {
|
|
38313
38313
|
const ce = Y.fill.kind === "solid" ? Y.fill.opacity : Y.fill.opacity ?? 1;
|
|
38314
38314
|
Y.fill.kind === "solid" ? Y.fill = { ...Y.fill, opacity: ce * L } : Y.fill = { ...Y.fill, opacity: ce * L };
|
|
@@ -38316,7 +38316,7 @@ function PA(s, e, t, i, a, r, n) {
|
|
|
38316
38316
|
Y.opacity = Y.opacity * L;
|
|
38317
38317
|
p.push(Y);
|
|
38318
38318
|
}
|
|
38319
|
-
|
|
38319
|
+
co(v) && A++;
|
|
38320
38320
|
}
|
|
38321
38321
|
return p;
|
|
38322
38322
|
}
|
|
@@ -38374,14 +38374,14 @@ function VA(s, e, t, i, a, r) {
|
|
|
38374
38374
|
M.opacity = M.opacity * D;
|
|
38375
38375
|
u.push(M);
|
|
38376
38376
|
}
|
|
38377
|
-
|
|
38377
|
+
co(C) && x++;
|
|
38378
38378
|
}
|
|
38379
38379
|
return u;
|
|
38380
38380
|
}
|
|
38381
38381
|
function FA(s, e, t, i, a, r, n) {
|
|
38382
38382
|
const o = r === "word";
|
|
38383
38383
|
if (!o && !(r === "character")) {
|
|
38384
|
-
const P =
|
|
38384
|
+
const P = Bn(t), b = zA(1 - P, i, a * 2), D = Ul(t);
|
|
38385
38385
|
return LA(s, b.dx, b.dy, D);
|
|
38386
38386
|
}
|
|
38387
38387
|
const d = {
|
|
@@ -38429,7 +38429,7 @@ function FA(s, e, t, i, a, r, n) {
|
|
|
38429
38429
|
} else if (t >= M)
|
|
38430
38430
|
m.push(P);
|
|
38431
38431
|
else {
|
|
38432
|
-
const L = (t - D) / Math.max(1e-6, M - D), K =
|
|
38432
|
+
const L = (t - D) / Math.max(1e-6, M - D), K = Bn(Math.min(1, L)), Q = d.x * (1 - K), Y = d.y * (1 - K), ce = { ...P, x: P.x + Q, y: P.y + Y };
|
|
38433
38433
|
if (P.op === "FillPath") {
|
|
38434
38434
|
const ve = ce.fill.kind === "solid" ? ce.fill.opacity : ce.fill.opacity ?? 1;
|
|
38435
38435
|
ce.fill.kind === "solid" ? ce.fill = { ...ce.fill, opacity: ve * K } : ce.fill = { ...ce.fill, opacity: ve * K };
|
|
@@ -38437,7 +38437,7 @@ function FA(s, e, t, i, a, r, n) {
|
|
|
38437
38437
|
ce.opacity = ce.opacity * K;
|
|
38438
38438
|
m.push(ce);
|
|
38439
38439
|
}
|
|
38440
|
-
|
|
38440
|
+
co(P) && v++;
|
|
38441
38441
|
}
|
|
38442
38442
|
return m;
|
|
38443
38443
|
}
|
|
@@ -38471,7 +38471,7 @@ function Iu(s, e) {
|
|
|
38471
38471
|
t.push(r);
|
|
38472
38472
|
continue;
|
|
38473
38473
|
}
|
|
38474
|
-
if (r.op === "FillPath" && !
|
|
38474
|
+
if (r.op === "FillPath" && !Mn(r)) {
|
|
38475
38475
|
i < e && (t.push(r), a = !0), i++;
|
|
38476
38476
|
continue;
|
|
38477
38477
|
}
|
|
@@ -38479,7 +38479,7 @@ function Iu(s, e) {
|
|
|
38479
38479
|
i < e && t.push(r);
|
|
38480
38480
|
continue;
|
|
38481
38481
|
}
|
|
38482
|
-
if (r.op === "FillPath" &&
|
|
38482
|
+
if (r.op === "FillPath" && Mn(r)) {
|
|
38483
38483
|
i < e && t.push(r);
|
|
38484
38484
|
continue;
|
|
38485
38485
|
}
|
|
@@ -38494,7 +38494,7 @@ function Tu(s, e, t, i) {
|
|
|
38494
38494
|
if (e === 0) return s;
|
|
38495
38495
|
let a = null, r = 0;
|
|
38496
38496
|
for (const n of s)
|
|
38497
|
-
if (n.op === "FillPath" && !
|
|
38497
|
+
if (n.op === "FillPath" && !Mn(n) && (r++, r === e)) {
|
|
38498
38498
|
a = n;
|
|
38499
38499
|
break;
|
|
38500
38500
|
}
|
|
@@ -38558,7 +38558,7 @@ function OA(s, e, t, i) {
|
|
|
38558
38558
|
if (o.op === "FillPath" || o.op === "StrokePath") {
|
|
38559
38559
|
const l = Math.sin(a / 5 * Math.PI + i * Math.PI * 2), c = e === "left" || e === "right" ? l * t * (e === "left" ? -1 : 1) : 0, d = e === "up" || e === "down" ? l * t * (e === "up" ? -1 : 1) : 0;
|
|
38560
38560
|
if (o.op === "FillPath") {
|
|
38561
|
-
|
|
38561
|
+
Mn(o) || a++;
|
|
38562
38562
|
const u = { ...o, x: o.x + c, y: o.y + d };
|
|
38563
38563
|
return u.fill.kind === "solid" ? u.fill = { ...u.fill, opacity: u.fill.opacity * n } : u.fill = { ...u.fill, opacity: (u.fill.opacity ?? 1) * n }, u;
|
|
38564
38564
|
}
|
|
@@ -38583,7 +38583,7 @@ function zA(s, e, t) {
|
|
|
38583
38583
|
function Ul(s) {
|
|
38584
38584
|
return s * (2 - s);
|
|
38585
38585
|
}
|
|
38586
|
-
function
|
|
38586
|
+
function Bn(s) {
|
|
38587
38587
|
return 1 - Math.pow(1 - s, 3);
|
|
38588
38588
|
}
|
|
38589
38589
|
function Vi(s, e = 1) {
|
|
@@ -38982,7 +38982,7 @@ function jA(s) {
|
|
|
38982
38982
|
throw new Error(`Unknown shape type: ${e}`);
|
|
38983
38983
|
}
|
|
38984
38984
|
}
|
|
38985
|
-
var
|
|
38985
|
+
var Ln = 0.5522847498307936;
|
|
38986
38986
|
function XA(s, e, t) {
|
|
38987
38987
|
const i = -s / 2, a = -e / 2, r = Math.min(t, s / 2, e / 2);
|
|
38988
38988
|
return r === 0 ? `M ${i} ${a} L ${i + s} ${a} L ${i + s} ${a + e} L ${i} ${a + e} Z` : [
|
|
@@ -38999,7 +38999,7 @@ function XA(s, e, t) {
|
|
|
38999
38999
|
].join(" ");
|
|
39000
39000
|
}
|
|
39001
39001
|
function ip(s) {
|
|
39002
|
-
const e = s *
|
|
39002
|
+
const e = s * Ln;
|
|
39003
39003
|
return [
|
|
39004
39004
|
`M ${s} 0`,
|
|
39005
39005
|
`C ${s} ${e} ${e} ${s} 0 ${s}`,
|
|
@@ -39010,7 +39010,7 @@ function ip(s) {
|
|
|
39010
39010
|
].join(" ");
|
|
39011
39011
|
}
|
|
39012
39012
|
function KA(s) {
|
|
39013
|
-
const e = s *
|
|
39013
|
+
const e = s * Ln;
|
|
39014
39014
|
return [
|
|
39015
39015
|
`M ${s} 0`,
|
|
39016
39016
|
`C ${s} ${-e} ${e} ${-s} 0 ${-s}`,
|
|
@@ -39021,7 +39021,7 @@ function KA(s) {
|
|
|
39021
39021
|
].join(" ");
|
|
39022
39022
|
}
|
|
39023
39023
|
function QA(s, e) {
|
|
39024
|
-
const t = s *
|
|
39024
|
+
const t = s * Ln, i = e * Ln;
|
|
39025
39025
|
return [
|
|
39026
39026
|
`M ${s} 0`,
|
|
39027
39027
|
`C ${s} ${i} ${t} ${e} 0 ${e}`,
|
|
@@ -40009,20 +40009,20 @@ class sr {
|
|
|
40009
40009
|
};
|
|
40010
40010
|
}
|
|
40011
40011
|
}
|
|
40012
|
-
class
|
|
40012
|
+
class On {
|
|
40013
40013
|
static DEFAULT_FOCUS_DELAY_MS = 50;
|
|
40014
40014
|
hiddenInput = null;
|
|
40015
40015
|
isFocused = !1;
|
|
40016
40016
|
focusRetryCount = 0;
|
|
40017
40017
|
maxFocusRetries = 3;
|
|
40018
|
-
focusDelay =
|
|
40018
|
+
focusDelay = On.DEFAULT_FOCUS_DELAY_MS;
|
|
40019
40019
|
eventHandlers = {};
|
|
40020
40020
|
abortController = null;
|
|
40021
40021
|
textChangeCallback = null;
|
|
40022
40022
|
lastSyncedText = "";
|
|
40023
40023
|
isComposing = !1;
|
|
40024
40024
|
setupInput(e, t) {
|
|
40025
|
-
this.focusDelay = t?.focusDelay ??
|
|
40025
|
+
this.focusDelay = t?.focusDelay ?? On.DEFAULT_FOCUS_DELAY_MS, this.createHiddenTextarea(), this.hiddenInput && (this.hiddenInput.value = e, this.lastSyncedText = e), this.setupEventListeners(), t?.autoFocus !== !1 && this.focusInput();
|
|
40026
40026
|
}
|
|
40027
40027
|
updateInputValue(e) {
|
|
40028
40028
|
this.hiddenInput && (this.hiddenInput.value = e, this.lastSyncedText = e);
|
|
@@ -40229,7 +40229,7 @@ class hs {
|
|
|
40229
40229
|
), e.fill(), this.editingContainer.addChild(e), this.editableText = new H.Text(this.targetText.text, this.targetText.style), this.editableText.eventMode = "static", this.editableText.cursor = "text", this.editingContainer.addChild(this.editableText);
|
|
40230
40230
|
}
|
|
40231
40231
|
setupTextInputHandler() {
|
|
40232
|
-
this.textInputHandler = new
|
|
40232
|
+
this.textInputHandler = new On(), this.textInputHandler.setTextInputHandler((e, t) => {
|
|
40233
40233
|
this.editableText && (this.editableText.text = e, this.updateTextAlignment()), this.textCursor?.updatePosition(t);
|
|
40234
40234
|
}), this.textInputHandler.setEventHandlers({
|
|
40235
40235
|
onEscape: (e) => this.stopEditing(!1),
|
|
@@ -40553,7 +40553,7 @@ class _u {
|
|
|
40553
40553
|
case "luma":
|
|
40554
40554
|
return new Xg(e, t);
|
|
40555
40555
|
case "caption":
|
|
40556
|
-
return new
|
|
40556
|
+
return new gn(e, t);
|
|
40557
40557
|
case "svg":
|
|
40558
40558
|
return new Vs(e, t);
|
|
40559
40559
|
case "text-to-image":
|
|
@@ -40906,19 +40906,19 @@ function Le(s) {
|
|
|
40906
40906
|
const { id: e, ...t } = s;
|
|
40907
40907
|
return t;
|
|
40908
40908
|
}
|
|
40909
|
-
function
|
|
40909
|
+
function Xr(s) {
|
|
40910
40910
|
return !!(s && typeof s == "object" && !Array.isArray(s));
|
|
40911
40911
|
}
|
|
40912
|
-
function
|
|
40912
|
+
function zn(s, e) {
|
|
40913
40913
|
const t = { ...s };
|
|
40914
|
-
return
|
|
40914
|
+
return Xr(s) && Xr(e) && Object.keys(e).forEach((i) => {
|
|
40915
40915
|
if (i === "__proto__" || i === "constructor" || i === "prototype")
|
|
40916
40916
|
return;
|
|
40917
40917
|
const a = e[i], r = s[i];
|
|
40918
|
-
|
|
40918
|
+
Xr(a) ? i in s && Xr(r) ? t[i] = zn(r, a) : t[i] = zn({}, a) : t[i] = a;
|
|
40919
40919
|
}), t;
|
|
40920
40920
|
}
|
|
40921
|
-
function
|
|
40921
|
+
function Rn(s, e, t) {
|
|
40922
40922
|
const i = e.split(".");
|
|
40923
40923
|
let a = s;
|
|
40924
40924
|
for (let r = 0; r < i.length - 1; r += 1) {
|
|
@@ -41876,7 +41876,7 @@ class RI extends Ec {
|
|
|
41876
41876
|
super(), this.registry = {};
|
|
41877
41877
|
}
|
|
41878
41878
|
}
|
|
41879
|
-
class
|
|
41879
|
+
class Dn {
|
|
41880
41880
|
static VIDEO_EXTENSIONS = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
|
|
41881
41881
|
static VIDEO_MIME = {
|
|
41882
41882
|
".mp4": "video/mp4",
|
|
@@ -41965,7 +41965,7 @@ class Un {
|
|
|
41965
41965
|
}
|
|
41966
41966
|
hasVideoExtension(e) {
|
|
41967
41967
|
const t = new URL(e, window.location.origin).pathname.toLowerCase();
|
|
41968
|
-
return
|
|
41968
|
+
return Dn.VIDEO_EXTENSIONS.some((i) => t.endsWith(i));
|
|
41969
41969
|
}
|
|
41970
41970
|
async getContentType(e) {
|
|
41971
41971
|
try {
|
|
@@ -41975,7 +41975,7 @@ class Un {
|
|
|
41975
41975
|
}
|
|
41976
41976
|
}
|
|
41977
41977
|
canPlayVideo(e) {
|
|
41978
|
-
const t = new URL(e, window.location.origin).pathname.toLowerCase(), i = t.slice(t.lastIndexOf(".")), a =
|
|
41978
|
+
const t = new URL(e, window.location.origin).pathname.toLowerCase(), i = t.slice(t.lastIndexOf(".")), a = Dn.VIDEO_MIME[i];
|
|
41979
41979
|
return a ? document.createElement("video").canPlayType(a) !== "" : !1;
|
|
41980
41980
|
}
|
|
41981
41981
|
async isPlayableVideo(e) {
|
|
@@ -42184,13 +42184,13 @@ function JI(s) {
|
|
|
42184
42184
|
function $I(s, e) {
|
|
42185
42185
|
return Math.sqrt(s * s + e * e);
|
|
42186
42186
|
}
|
|
42187
|
-
function
|
|
42187
|
+
function e8(s, e, t) {
|
|
42188
42188
|
return $I(s, e) >= t;
|
|
42189
42189
|
}
|
|
42190
42190
|
function Ou(s, e, t, i, a) {
|
|
42191
42191
|
return a > 0 ? { type: "move-with-push", pushOffset: a } : e !== s || i !== t ? { type: "simple-move" } : { type: "no-change" };
|
|
42192
42192
|
}
|
|
42193
|
-
function
|
|
42193
|
+
function t8(s) {
|
|
42194
42194
|
const { dragTarget: e, draggedAssetType: t, altKeyHeld: i, targetClip: a, existingLumaRef: r, draggedClipRef: n, startTime: o, newTime: l, originalTrack: c, pushOffset: d } = s;
|
|
42195
42195
|
if (e.type === "insert")
|
|
42196
42196
|
return { type: "insert-track", insertionIndex: e.insertionIndex };
|
|
@@ -42206,11 +42206,11 @@ function t6(s) {
|
|
|
42206
42206
|
}
|
|
42207
42207
|
return Ou(o, l, c, e.trackIndex, d);
|
|
42208
42208
|
}
|
|
42209
|
-
function
|
|
42209
|
+
function s8(s, e, t, i) {
|
|
42210
42210
|
const a = Math.max(s, t), r = Math.min(e, i);
|
|
42211
42211
|
return Math.max(0, r - a);
|
|
42212
42212
|
}
|
|
42213
|
-
class
|
|
42213
|
+
class i8 {
|
|
42214
42214
|
queue = [];
|
|
42215
42215
|
isProcessing = !1;
|
|
42216
42216
|
/**
|
|
@@ -42669,7 +42669,7 @@ class ua {
|
|
|
42669
42669
|
const r = this.clipBindings.get(a);
|
|
42670
42670
|
if (r)
|
|
42671
42671
|
for (const [n, { placeholder: o }] of r)
|
|
42672
|
-
|
|
42672
|
+
Rn(i, n, o);
|
|
42673
42673
|
}
|
|
42674
42674
|
delete i.id;
|
|
42675
42675
|
}
|
|
@@ -42688,8 +42688,8 @@ class ua {
|
|
|
42688
42688
|
return new ua(this.data);
|
|
42689
42689
|
}
|
|
42690
42690
|
}
|
|
42691
|
-
const zu = /* @__PURE__ */ new Set(["asset", "start", "length", "id"]),
|
|
42692
|
-
class
|
|
42691
|
+
const zu = /* @__PURE__ */ new Set(["asset", "start", "length", "id"]), a8 = /* @__PURE__ */ new Set(["text-to-image", "image-to-video", "text-to-speech"]);
|
|
42692
|
+
class r8 {
|
|
42693
42693
|
constructor(e) {
|
|
42694
42694
|
this.edit = e, this.edit.events.on(Je.Resolved, this.onResolved);
|
|
42695
42695
|
}
|
|
@@ -42792,7 +42792,7 @@ class r6 {
|
|
|
42792
42792
|
player: r,
|
|
42793
42793
|
trackIndex: i,
|
|
42794
42794
|
clipIndex: a
|
|
42795
|
-
}),
|
|
42795
|
+
}), a8.has(n) && this.edit.events.emit(G.ClipUnresolved, {
|
|
42796
42796
|
trackIndex: i,
|
|
42797
42797
|
clipIndex: a,
|
|
42798
42798
|
assetType: n,
|
|
@@ -42932,7 +42932,7 @@ function lp(s, e) {
|
|
|
42932
42932
|
}
|
|
42933
42933
|
return t(structuredClone(s));
|
|
42934
42934
|
}
|
|
42935
|
-
function
|
|
42935
|
+
function n8(s) {
|
|
42936
42936
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), i = [];
|
|
42937
42937
|
for (let a = 0; a < s.getTrackCount(); a += 1) {
|
|
42938
42938
|
const r = s.getClipsInTrack(a);
|
|
@@ -42952,13 +42952,13 @@ function n6(s) {
|
|
|
42952
42952
|
for (let n = 0; n < r.length; n += 1) {
|
|
42953
42953
|
const o = r[n], l = o.alias ?? o.id, c = /* @__PURE__ */ new Set();
|
|
42954
42954
|
if (Cs(o.start)) {
|
|
42955
|
-
const d =
|
|
42955
|
+
const d = fn(o.start);
|
|
42956
42956
|
if (!t.has(d))
|
|
42957
42957
|
throw new Error(`Alias reference "alias://${d}" not found. No clip defines alias "${d}".`);
|
|
42958
42958
|
c.add(d);
|
|
42959
42959
|
}
|
|
42960
42960
|
if (Cs(o.length)) {
|
|
42961
|
-
const d =
|
|
42961
|
+
const d = fn(o.length);
|
|
42962
42962
|
if (!t.has(d))
|
|
42963
42963
|
throw new Error(`Alias reference "alias://${d}" not found. No clip defines alias "${d}".`);
|
|
42964
42964
|
c.add(d);
|
|
@@ -42972,7 +42972,7 @@ function n6(s) {
|
|
|
42972
42972
|
}
|
|
42973
42973
|
return { dependencies: e, clipsByAlias: t, allClips: i };
|
|
42974
42974
|
}
|
|
42975
|
-
function
|
|
42975
|
+
function o8(s) {
|
|
42976
42976
|
const e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
|
|
42977
42977
|
function i(a, r) {
|
|
42978
42978
|
e.add(a), t.add(a);
|
|
@@ -42995,7 +42995,7 @@ function o6(s) {
|
|
|
42995
42995
|
}
|
|
42996
42996
|
return null;
|
|
42997
42997
|
}
|
|
42998
|
-
function
|
|
42998
|
+
function l8(s, e) {
|
|
42999
42999
|
const t = [], i = /* @__PURE__ */ new Set();
|
|
43000
43000
|
function a(r) {
|
|
43001
43001
|
if (i.has(r)) return;
|
|
@@ -43017,7 +43017,7 @@ function cp(s, e, t) {
|
|
|
43017
43017
|
if (s.start === "auto")
|
|
43018
43018
|
i = e;
|
|
43019
43019
|
else if (Cs(s.start)) {
|
|
43020
|
-
const n =
|
|
43020
|
+
const n = fn(s.start), o = t.get(n);
|
|
43021
43021
|
if (!o) throw new Error(`Internal error: Alias "${n}" not resolved.`);
|
|
43022
43022
|
i = o.start;
|
|
43023
43023
|
} else
|
|
@@ -43028,7 +43028,7 @@ function cp(s, e, t) {
|
|
|
43028
43028
|
else if (s.length === "auto")
|
|
43029
43029
|
a = 3;
|
|
43030
43030
|
else if (Cs(s.length)) {
|
|
43031
|
-
const n =
|
|
43031
|
+
const n = fn(s.length), o = t.get(n);
|
|
43032
43032
|
if (!o) throw new Error(`Internal error: Alias "${n}" not resolved.`);
|
|
43033
43033
|
a = o.length;
|
|
43034
43034
|
} else
|
|
@@ -43041,7 +43041,7 @@ function cp(s, e, t) {
|
|
|
43041
43041
|
pendingEndLength: r || void 0
|
|
43042
43042
|
};
|
|
43043
43043
|
}
|
|
43044
|
-
function
|
|
43044
|
+
function c8(s) {
|
|
43045
43045
|
let e = 0;
|
|
43046
43046
|
for (const t of s)
|
|
43047
43047
|
for (const i of t.clips)
|
|
@@ -43055,7 +43055,7 @@ function Hl(s) {
|
|
|
43055
43055
|
const { pendingEndLength: e, ...t } = s;
|
|
43056
43056
|
return t;
|
|
43057
43057
|
}
|
|
43058
|
-
function
|
|
43058
|
+
function d8(s, e, t) {
|
|
43059
43059
|
const i = s.getClipById(e);
|
|
43060
43060
|
if (!i)
|
|
43061
43061
|
return null;
|
|
@@ -43067,13 +43067,13 @@ function d6(s, e, t) {
|
|
|
43067
43067
|
};
|
|
43068
43068
|
}
|
|
43069
43069
|
function Ru(s, e) {
|
|
43070
|
-
const { dependencies: t, allClips: i } =
|
|
43070
|
+
const { dependencies: t, allClips: i } = n8(s);
|
|
43071
43071
|
if (t.size > 0) {
|
|
43072
|
-
const p =
|
|
43072
|
+
const p = o8(t);
|
|
43073
43073
|
if (p)
|
|
43074
43074
|
throw new Error(`Circular alias reference detected: ${p.join(" -> ")}`);
|
|
43075
43075
|
}
|
|
43076
|
-
const a = i.map((p) => p.id), r =
|
|
43076
|
+
const a = i.map((p) => p.id), r = l8(t, a), n = /* @__PURE__ */ new Map();
|
|
43077
43077
|
for (const p of i)
|
|
43078
43078
|
n.set(p.id, p);
|
|
43079
43079
|
const o = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
|
|
@@ -43100,7 +43100,7 @@ function Ru(s, e) {
|
|
|
43100
43100
|
}
|
|
43101
43101
|
d.push({ clips: w });
|
|
43102
43102
|
}
|
|
43103
|
-
const u =
|
|
43103
|
+
const u = c8(d), h = d.map((p) => ({
|
|
43104
43104
|
clips: p.clips.map((m) => {
|
|
43105
43105
|
if (m.pendingEndLength) {
|
|
43106
43106
|
const w = Math.max(u - m.start, 0.1);
|
|
@@ -43154,7 +43154,7 @@ class yr {
|
|
|
43154
43154
|
// ─── Command History ──────────────────────────────────────────────────────
|
|
43155
43155
|
commandHistory = [];
|
|
43156
43156
|
commandIndex = -1;
|
|
43157
|
-
commandQueue = new
|
|
43157
|
+
commandQueue = new i8();
|
|
43158
43158
|
// ─── Internal Bookkeeping ─────────────────────────────────────────────────
|
|
43159
43159
|
clipsToDispose = /* @__PURE__ */ new Set();
|
|
43160
43160
|
clipErrors = /* @__PURE__ */ new Map();
|
|
@@ -43171,11 +43171,11 @@ class yr {
|
|
|
43171
43171
|
constructor(e) {
|
|
43172
43172
|
this.tracks = [], this.playbackTime = 0, this.totalDuration = 0, this.isPlaying = !1, this.document = new ua(e);
|
|
43173
43173
|
const t = this.document.getResolution(), i = this.document.getAspectRatio();
|
|
43174
|
-
this.backgroundColor = this.document.getBackground() ?? "#000000", this.size = t ? Zl(t, i) : this.document.getSize(), this.assetLoader = new
|
|
43174
|
+
this.backgroundColor = this.document.getBackground() ?? "#000000", this.size = t ? Zl(t, i) : this.document.getSize(), this.assetLoader = new Dn(), this.events = new Ec(), this.lumaMaskController = new EI(
|
|
43175
43175
|
() => this.canvas,
|
|
43176
43176
|
() => this.tracks,
|
|
43177
43177
|
this.events
|
|
43178
|
-
), this.playerReconciler = new
|
|
43178
|
+
), this.playerReconciler = new r8(this), this.mergeFieldService = new FI(this.events), this.outputSettings = new MI(this), this.selectionManager = new BI(this), this.timingManager = new zI(this), this.setupIntentListeners();
|
|
43179
43179
|
}
|
|
43180
43180
|
/**
|
|
43181
43181
|
* Load the edit session.
|
|
@@ -43349,7 +43349,7 @@ class yr {
|
|
|
43349
43349
|
mergeFields: this.mergeFieldService,
|
|
43350
43350
|
previousClipEnd: c,
|
|
43351
43351
|
cachedTimelineEnd: this.timingManager.getTimelineEnd()
|
|
43352
|
-
}, u =
|
|
43352
|
+
}, u = d8(this.document, e, d);
|
|
43353
43353
|
if (!u)
|
|
43354
43354
|
return !1;
|
|
43355
43355
|
if (this.lastResolved) {
|
|
@@ -43496,7 +43496,7 @@ class yr {
|
|
|
43496
43496
|
for (const [o, { placeholder: l }] of n)
|
|
43497
43497
|
if (o.startsWith("asset.")) {
|
|
43498
43498
|
const c = o.slice(6);
|
|
43499
|
-
|
|
43499
|
+
Rn(a.asset, c, l);
|
|
43500
43500
|
}
|
|
43501
43501
|
}
|
|
43502
43502
|
}
|
|
@@ -43618,7 +43618,7 @@ class yr {
|
|
|
43618
43618
|
const a = this.getPlayerClip(e, t);
|
|
43619
43619
|
if (!a)
|
|
43620
43620
|
return console.warn(`Clip not found at track ${e}, index ${t}`), Promise.resolve();
|
|
43621
|
-
const r = this.document?.getClip(e, t), n = structuredClone(r ?? a.clipConfiguration), o = structuredClone(r ?? a.clipConfiguration), l =
|
|
43621
|
+
const r = this.document?.getClip(e, t), n = structuredClone(r ?? a.clipConfiguration), o = structuredClone(r ?? a.clipConfiguration), l = zn(o, i), c = new Ko(n, l, {
|
|
43622
43622
|
trackIndex: e,
|
|
43623
43623
|
clipIndex: t
|
|
43624
43624
|
});
|
|
@@ -44274,7 +44274,7 @@ class yr {
|
|
|
44274
44274
|
const n = this.document.getClipBindings(r);
|
|
44275
44275
|
if (n)
|
|
44276
44276
|
for (const [o, { placeholder: l }] of n)
|
|
44277
|
-
|
|
44277
|
+
Rn(a, o, l);
|
|
44278
44278
|
}
|
|
44279
44279
|
return a;
|
|
44280
44280
|
}
|
|
@@ -44353,7 +44353,7 @@ class yr {
|
|
|
44353
44353
|
let n = null, o = 0;
|
|
44354
44354
|
for (const l of i)
|
|
44355
44355
|
if (l.playerType !== it.Luma) {
|
|
44356
|
-
const c = l.getStart(), d = c + l.getLength(), u =
|
|
44356
|
+
const c = l.getStart(), d = c + l.getLength(), u = s8(a, r, c, d);
|
|
44357
44357
|
u > o && (o = u, n = l);
|
|
44358
44358
|
}
|
|
44359
44359
|
return n;
|
|
@@ -44381,7 +44381,7 @@ class yr {
|
|
|
44381
44381
|
}
|
|
44382
44382
|
}
|
|
44383
44383
|
const Du = 16711935, Uu = 2, Jo = 6, Zu = 4;
|
|
44384
|
-
class
|
|
44384
|
+
class u8 {
|
|
44385
44385
|
graphics;
|
|
44386
44386
|
canvasWidth;
|
|
44387
44387
|
canvasHeight;
|
|
@@ -44419,9 +44419,9 @@ class u6 {
|
|
|
44419
44419
|
this.graphics.destroy();
|
|
44420
44420
|
}
|
|
44421
44421
|
}
|
|
44422
|
-
const
|
|
44423
|
-
function
|
|
44424
|
-
const t =
|
|
44422
|
+
const f8 = "Browser Not Supported", h8 = "Please try a different browser or enable hardware acceleration in your browser settings.";
|
|
44423
|
+
function p8(s, e) {
|
|
44424
|
+
const t = f8, i = h8, a = document.createElement("div");
|
|
44425
44425
|
a.className = "ss-webgl-error-overlay";
|
|
44426
44426
|
const r = document.createElement("div");
|
|
44427
44427
|
r.className = "ss-webgl-error-content";
|
|
@@ -44436,7 +44436,7 @@ function p6(s, e) {
|
|
|
44436
44436
|
const l = document.createElement("p");
|
|
44437
44437
|
return l.className = "ss-webgl-error-message", l.textContent = i, r.appendChild(n), r.appendChild(o), r.appendChild(l), a.appendChild(r), s.appendChild(a), a;
|
|
44438
44438
|
}
|
|
44439
|
-
function
|
|
44439
|
+
function g8() {
|
|
44440
44440
|
try {
|
|
44441
44441
|
const s = document.createElement("canvas");
|
|
44442
44442
|
return s.getContext("webgl2") || s.getContext("webgl") ? { supported: !0 } : { supported: !1, reason: "webgl-unavailable" };
|
|
@@ -44484,12 +44484,12 @@ class _s {
|
|
|
44484
44484
|
const e = document.querySelector(_s.CanvasSelector);
|
|
44485
44485
|
if (!e)
|
|
44486
44486
|
throw new Error(`Shotstack canvas root element '${_s.CanvasSelector}' not found.`);
|
|
44487
|
-
if (!
|
|
44488
|
-
|
|
44487
|
+
if (!g8().supported) {
|
|
44488
|
+
p8(e);
|
|
44489
44489
|
return;
|
|
44490
44490
|
}
|
|
44491
44491
|
const i = e.getBoundingClientRect();
|
|
44492
|
-
this.viewportSize = i.width > 0 && i.height > 0 ? { width: i.width, height: i.height } : { width: this.edit.size.width, height: this.edit.size.height }, this.registerExtensions(), this.container = new H.Container(), this.background = new H.Graphics(), this.background.fillStyle = { color: "#F0F1F5" }, this.background.rect(0, 0, this.viewportSize.width, this.viewportSize.height), this.background.fill(), this.viewportContainer = new H.Container(), this.viewportContainer.sortableChildren = !0, this.editBackground = new H.Graphics(), this.editBackground.fillStyle = { color: this.edit.getTimelineBackground() }, this.editBackground.rect(0, 0, this.edit.size.width, this.edit.size.height), this.editBackground.fill(), this.viewportContainer.addChild(this.editBackground), this.viewportMask = new H.Graphics(), this.viewportMask.rect(0, 0, this.edit.size.width, this.edit.size.height), this.viewportMask.fill(16777215), this.viewportContainer.addChild(this.viewportMask), this.viewportContainer.setMask({ mask: this.viewportMask }), this.alignmentGuides = new
|
|
44492
|
+
this.viewportSize = i.width > 0 && i.height > 0 ? { width: i.width, height: i.height } : { width: this.edit.size.width, height: this.edit.size.height }, this.registerExtensions(), this.container = new H.Container(), this.background = new H.Graphics(), this.background.fillStyle = { color: "#F0F1F5" }, this.background.rect(0, 0, this.viewportSize.width, this.viewportSize.height), this.background.fill(), this.viewportContainer = new H.Container(), this.viewportContainer.sortableChildren = !0, this.editBackground = new H.Graphics(), this.editBackground.fillStyle = { color: this.edit.getTimelineBackground() }, this.editBackground.rect(0, 0, this.edit.size.width, this.edit.size.height), this.editBackground.fill(), this.viewportContainer.addChild(this.editBackground), this.viewportMask = new H.Graphics(), this.viewportMask.rect(0, 0, this.edit.size.width, this.edit.size.height), this.viewportMask.fill(16777215), this.viewportContainer.addChild(this.viewportMask), this.viewportContainer.setMask({ mask: this.viewportMask }), this.alignmentGuides = new u8(this.viewportContainer, this.edit.size.width, this.edit.size.height), this.subscribeToEditEvents(), await this.configureApplication(), this.configureStage();
|
|
44493
44493
|
const a = this.edit.getTracks();
|
|
44494
44494
|
for (let r = 0; r < a.length; r += 1)
|
|
44495
44495
|
for (const n of a[r])
|
|
@@ -44833,7 +44833,7 @@ class p9 {
|
|
|
44833
44833
|
}
|
|
44834
44834
|
};
|
|
44835
44835
|
}
|
|
44836
|
-
class
|
|
44836
|
+
class m8 {
|
|
44837
44837
|
name = "export";
|
|
44838
44838
|
clips = [];
|
|
44839
44839
|
tracks = [];
|
|
@@ -44953,7 +44953,7 @@ const te = (s) => {
|
|
|
44953
44953
|
// SMPTE 170M
|
|
44954
44954
|
"bt2020-ncl": 9
|
|
44955
44955
|
// ITU-R BT.2020-2 (non-constant luminance)
|
|
44956
|
-
},
|
|
44956
|
+
}, y8 = (s) => !!s && !!s.primaries && !!s.transfer && !!s.matrix && s.fullRange !== void 0, uo = (s) => s instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && s instanceof SharedArrayBuffer || ArrayBuffer.isView(s);
|
|
44957
44957
|
class dp {
|
|
44958
44958
|
constructor() {
|
|
44959
44959
|
this.currentPromise = Promise.resolve(), this.pending = 0;
|
|
@@ -44969,18 +44969,18 @@ class dp {
|
|
|
44969
44969
|
return this.currentPromise = t, this.pending++, await i, e;
|
|
44970
44970
|
}
|
|
44971
44971
|
}
|
|
44972
|
-
const
|
|
44972
|
+
const b8 = () => {
|
|
44973
44973
|
let s, e;
|
|
44974
44974
|
return { promise: new Promise((i, a) => {
|
|
44975
44975
|
s = i, e = a;
|
|
44976
44976
|
}), resolve: s, reject: e };
|
|
44977
|
-
},
|
|
44977
|
+
}, fo = (s) => {
|
|
44978
44978
|
throw new Error(`Unexpected value: ${s}`);
|
|
44979
44979
|
}, _c = (s, e, t, i) => {
|
|
44980
44980
|
t = t >>> 0, t = t & 16777215, i ? (s.setUint8(e, t & 255), s.setUint8(e + 1, t >>> 8 & 255), s.setUint8(e + 2, t >>> 16 & 255)) : (s.setUint8(e, t >>> 16 & 255), s.setUint8(e + 1, t >>> 8 & 255), s.setUint8(e + 2, t & 255));
|
|
44981
|
-
},
|
|
44981
|
+
}, w8 = (s, e, t, i) => {
|
|
44982
44982
|
t = Ut(t, -8388608, 8388607), t < 0 && (t = t + 16777216 & 16777215), _c(s, e, t, i);
|
|
44983
|
-
}, Ut = (s, e, t) => Math.max(e, Math.min(t, s)),
|
|
44983
|
+
}, Ut = (s, e, t) => Math.max(e, Math.min(t, s)), v8 = "und", x8 = /^[a-z]{3}$/, C8 = (s) => x8.test(s), ti = 1e6 * (1 + Number.EPSILON), k8 = (s, e) => {
|
|
44984
44984
|
const t = s < 0 ? -1 : 1;
|
|
44985
44985
|
s = Math.abs(s);
|
|
44986
44986
|
let i = 0, a = 1, r = 1, n = 0, o = s;
|
|
@@ -45008,14 +45008,14 @@ class up {
|
|
|
45008
45008
|
}
|
|
45009
45009
|
}
|
|
45010
45010
|
let $o = null;
|
|
45011
|
-
const
|
|
45011
|
+
const S8 = () => $o !== null ? $o : $o = !!(typeof navigator < "u" && (navigator.vendor?.match(/apple/i) || /AppleWebKit/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) || /\b(iPad|iPhone|iPod)\b/.test(navigator.userAgent)));
|
|
45012
45012
|
let el = null;
|
|
45013
45013
|
const Gl = () => el !== null ? el : el = typeof navigator < "u" && navigator.userAgent?.includes("Firefox"), fp = function* (s) {
|
|
45014
45014
|
for (const e in s) {
|
|
45015
45015
|
const t = s[e];
|
|
45016
45016
|
t !== void 0 && (yield { key: e, value: t });
|
|
45017
45017
|
}
|
|
45018
|
-
},
|
|
45018
|
+
}, A8 = () => {
|
|
45019
45019
|
Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
45020
45020
|
};
|
|
45021
45021
|
/*!
|
|
@@ -45034,7 +45034,7 @@ class hp {
|
|
|
45034
45034
|
throw new TypeError("mimeType must be a string.");
|
|
45035
45035
|
}
|
|
45036
45036
|
}
|
|
45037
|
-
class
|
|
45037
|
+
class I8 {
|
|
45038
45038
|
/** Creates a new {@link AttachedFile}. */
|
|
45039
45039
|
constructor(e, t, i, a) {
|
|
45040
45040
|
if (this.data = e, this.mimeType = t, this.name = i, this.description = a, !(e instanceof Uint8Array))
|
|
@@ -45047,7 +45047,7 @@ class I6 {
|
|
|
45047
45047
|
throw new TypeError("description, when provided, must be a string.");
|
|
45048
45048
|
}
|
|
45049
45049
|
}
|
|
45050
|
-
const
|
|
45050
|
+
const T8 = (s) => {
|
|
45051
45051
|
if (!s || typeof s != "object")
|
|
45052
45052
|
throw new TypeError("tags must be an object.");
|
|
45053
45053
|
if (s.title !== void 0 && typeof s.title != "string")
|
|
@@ -45094,10 +45094,10 @@ const T6 = (s) => {
|
|
|
45094
45094
|
if (!s.raw || typeof s.raw != "object")
|
|
45095
45095
|
throw new TypeError("tags.raw, when provided, must be an object.");
|
|
45096
45096
|
for (const e of Object.values(s.raw))
|
|
45097
|
-
if (e !== null && typeof e != "string" && !(e instanceof Uint8Array) && !(e instanceof hp) && !(e instanceof
|
|
45097
|
+
if (e !== null && typeof e != "string" && !(e instanceof Uint8Array) && !(e instanceof hp) && !(e instanceof I8))
|
|
45098
45098
|
throw new TypeError("Each value in tags.raw must be a string, Uint8Array, RichImageData, AttachedFile, or null.");
|
|
45099
45099
|
}
|
|
45100
|
-
},
|
|
45100
|
+
}, E8 = (s) => {
|
|
45101
45101
|
if (!s || typeof s != "object")
|
|
45102
45102
|
throw new TypeError("disposition must be an object.");
|
|
45103
45103
|
if (s.default !== void 0 && typeof s.default != "boolean")
|
|
@@ -45151,9 +45151,9 @@ const Oi = [
|
|
|
45151
45151
|
], wa = [
|
|
45152
45152
|
...pp,
|
|
45153
45153
|
...As
|
|
45154
|
-
],
|
|
45154
|
+
], Un = [
|
|
45155
45155
|
"webvtt"
|
|
45156
|
-
],
|
|
45156
|
+
], Zn = [
|
|
45157
45157
|
{ maxMacroblocks: 99, maxBitrate: 64e3, maxDpbMbs: 396, level: 10 },
|
|
45158
45158
|
// Level 1
|
|
45159
45159
|
{ maxMacroblocks: 396, maxBitrate: 192e3, maxDpbMbs: 900, level: 11 },
|
|
@@ -45313,9 +45313,9 @@ const Oi = [
|
|
|
45313
45313
|
// Level 6.3 (Main Tier)
|
|
45314
45314
|
{ maxPictureSize: 35651584, maxBitrate: 8e8, tier: "H", level: 19 }
|
|
45315
45315
|
// Level 6.3 (High Tier)
|
|
45316
|
-
],
|
|
45316
|
+
], N8 = (s, e, t, i) => {
|
|
45317
45317
|
if (s === "avc") {
|
|
45318
|
-
const r = Math.ceil(e / 16) * Math.ceil(t / 16), n =
|
|
45318
|
+
const r = Math.ceil(e / 16) * Math.ceil(t / 16), n = Zn.find((u) => r <= u.maxMacroblocks && i <= u.maxBitrate) ?? Kt(Zn), o = n ? n.level : 0, l = "64".padStart(2, "0"), c = "00", d = o.toString(16).padStart(2, "0");
|
|
45319
45319
|
return `avc1.${l}${c}${d}`;
|
|
45320
45320
|
} else if (s === "hevc") {
|
|
45321
45321
|
const a = "", n = "6", o = e * t, l = Wu.find((d) => o <= d.maxPictureSize && i <= d.maxBitrate) ?? Kt(Wu);
|
|
@@ -45332,10 +45332,10 @@ const Oi = [
|
|
|
45332
45332
|
}
|
|
45333
45333
|
}
|
|
45334
45334
|
throw new TypeError(`Unhandled codec '${s}'.`);
|
|
45335
|
-
},
|
|
45335
|
+
}, P8 = (s) => {
|
|
45336
45336
|
const e = s.split("."), a = (1 << 7) + 1, r = Number(e[1]), n = e[2], o = Number(n.slice(0, -1)), l = (r << 5) + o, c = n.slice(-1) === "H" ? 1 : 0, u = Number(e[3]) === 8 ? 0 : 1, h = 0, p = e[4] ? Number(e[4]) : 0, m = e[5] ? Number(e[5][0]) : 1, w = e[5] ? Number(e[5][1]) : 1, x = e[5] ? Number(e[5][2]) : 0, C = (c << 7) + (u << 6) + (h << 5) + (p << 4) + (m << 3) + (w << 2) + x;
|
|
45337
45337
|
return [a, l, C, 0];
|
|
45338
|
-
},
|
|
45338
|
+
}, V8 = (s, e, t) => {
|
|
45339
45339
|
if (s === "aac")
|
|
45340
45340
|
return e >= 2 && t <= 24e3 ? "mp4a.40.29" : t <= 24e3 ? "mp4a.40.5" : "mp4a.40.2";
|
|
45341
45341
|
if (s === "mp3")
|
|
@@ -45349,7 +45349,7 @@ const Oi = [
|
|
|
45349
45349
|
if (As.includes(s))
|
|
45350
45350
|
return s;
|
|
45351
45351
|
throw new TypeError(`Unhandled codec '${s}'.`);
|
|
45352
|
-
},
|
|
45352
|
+
}, Wn = [
|
|
45353
45353
|
96e3,
|
|
45354
45354
|
88200,
|
|
45355
45355
|
64e3,
|
|
@@ -45363,7 +45363,7 @@ const Oi = [
|
|
|
45363
45363
|
11025,
|
|
45364
45364
|
8e3,
|
|
45365
45365
|
7350
|
|
45366
|
-
], Mc = [-1, 1, 2, 3, 4, 5, 6, 8],
|
|
45366
|
+
], Mc = [-1, 1, 2, 3, 4, 5, 6, 8], F8 = (s) => {
|
|
45367
45367
|
if (!s || s.byteLength < 2)
|
|
45368
45368
|
throw new TypeError("AAC description must be at least 2 bytes long.");
|
|
45369
45369
|
const e = new mi(s);
|
|
@@ -45371,7 +45371,7 @@ const Oi = [
|
|
|
45371
45371
|
t === 31 && (t = 32 + e.readBits(6));
|
|
45372
45372
|
const i = e.readBits(4);
|
|
45373
45373
|
let a = null;
|
|
45374
|
-
i === 15 ? a = e.readBits(24) : i <
|
|
45374
|
+
i === 15 ? a = e.readBits(24) : i < Wn.length && (a = Wn[i]);
|
|
45375
45375
|
const r = e.readBits(4);
|
|
45376
45376
|
let n = null;
|
|
45377
45377
|
return r >= 1 && r <= 7 && (n = Mc[r]), {
|
|
@@ -45382,7 +45382,7 @@ const Oi = [
|
|
|
45382
45382
|
numberOfChannels: n
|
|
45383
45383
|
};
|
|
45384
45384
|
}, gp = (s) => {
|
|
45385
|
-
let e =
|
|
45385
|
+
let e = Wn.indexOf(s.sampleRate), t = null;
|
|
45386
45386
|
e === -1 && (e = 15, t = s.sampleRate);
|
|
45387
45387
|
const i = Mc.indexOf(s.numberOfChannels);
|
|
45388
45388
|
if (i === -1)
|
|
@@ -45402,7 +45402,7 @@ const Oi = [
|
|
|
45402
45402
|
e[1] === "u" ? t = "unsigned" : e[1] === "s" ? t = "signed" : t = "float";
|
|
45403
45403
|
const i = Number(e[2]) / 8, a = e[3] !== "be", r = s === "pcm-u8" ? 2 ** 7 : 0;
|
|
45404
45404
|
return { dataType: t, sampleSize: i, littleEndian: a, silentValue: r };
|
|
45405
|
-
}, yp = (s) => s.startsWith("avc1") || s.startsWith("avc3") ? "avc" : s.startsWith("hev1") || s.startsWith("hvc1") ? "hevc" : s === "vp8" ? "vp8" : s.startsWith("vp09") ? "vp9" : s.startsWith("av01") ? "av1" : s.startsWith("mp4a.40") || s === "mp4a.67" ? "aac" : s === "mp3" || s === "mp4a.69" || s === "mp4a.6B" || s === "mp4a.6b" ? "mp3" : s === "opus" ? "opus" : s === "vorbis" ? "vorbis" : s === "flac" ? "flac" : s === "ulaw" ? "ulaw" : s === "alaw" ? "alaw" : mp.test(s) ? s : s === "webvtt" ? "webvtt" : null,
|
|
45405
|
+
}, yp = (s) => s.startsWith("avc1") || s.startsWith("avc3") ? "avc" : s.startsWith("hev1") || s.startsWith("hvc1") ? "hevc" : s === "vp8" ? "vp8" : s.startsWith("vp09") ? "vp9" : s.startsWith("av01") ? "av1" : s.startsWith("mp4a.40") || s === "mp4a.67" ? "aac" : s === "mp3" || s === "mp4a.69" || s === "mp4a.6B" || s === "mp4a.6b" ? "mp3" : s === "opus" ? "opus" : s === "vorbis" ? "vorbis" : s === "flac" ? "flac" : s === "ulaw" ? "ulaw" : s === "alaw" ? "alaw" : mp.test(s) ? s : s === "webvtt" ? "webvtt" : null, _8 = (s) => s === "avc" ? {
|
|
45406
45406
|
avc: {
|
|
45407
45407
|
format: "avc"
|
|
45408
45408
|
// Ensure the format is not Annex B
|
|
@@ -45412,7 +45412,7 @@ const Oi = [
|
|
|
45412
45412
|
format: "hevc"
|
|
45413
45413
|
// Ensure the format is not Annex B
|
|
45414
45414
|
}
|
|
45415
|
-
} : {},
|
|
45415
|
+
} : {}, M8 = (s) => s === "aac" ? {
|
|
45416
45416
|
aac: {
|
|
45417
45417
|
format: "aac"
|
|
45418
45418
|
// Ensure the format is not ADTS
|
|
@@ -45421,7 +45421,7 @@ const Oi = [
|
|
|
45421
45421
|
opus: {
|
|
45422
45422
|
format: "opus"
|
|
45423
45423
|
}
|
|
45424
|
-
} : {},
|
|
45424
|
+
} : {}, B8 = ["avc1", "avc3", "hev1", "hvc1", "vp8", "vp09", "av01"], L8 = /^(avc1|avc3)\.[0-9a-fA-F]{6}$/, O8 = /^(hev1|hvc1)\.(?:[ABC]?\d+)\.[0-9a-fA-F]{1,8}\.[LH]\d+(?:\.[0-9a-fA-F]{1,2}){0,6}$/, z8 = /^vp09(?:\.\d{2}){3}(?:(?:\.\d{2}){5})?$/, R8 = /^av01\.\d\.\d{2}[MH]\.\d{2}(?:\.\d\.\d{3}\.\d{2}\.\d{2}\.\d{2}\.\d)?$/, D8 = (s) => {
|
|
45425
45425
|
if (!s)
|
|
45426
45426
|
throw new TypeError("Video chunk metadata must be provided.");
|
|
45427
45427
|
if (typeof s != "object")
|
|
@@ -45432,13 +45432,13 @@ const Oi = [
|
|
|
45432
45432
|
throw new TypeError("Video chunk metadata decoder configuration must be an object.");
|
|
45433
45433
|
if (typeof s.decoderConfig.codec != "string")
|
|
45434
45434
|
throw new TypeError("Video chunk metadata decoder configuration must specify a codec string.");
|
|
45435
|
-
if (!
|
|
45435
|
+
if (!B8.some((e) => s.decoderConfig.codec.startsWith(e)))
|
|
45436
45436
|
throw new TypeError("Video chunk metadata decoder configuration codec string must be a valid video codec string as specified in the WebCodecs Codec Registry.");
|
|
45437
45437
|
if (!Number.isInteger(s.decoderConfig.codedWidth) || s.decoderConfig.codedWidth <= 0)
|
|
45438
45438
|
throw new TypeError("Video chunk metadata decoder configuration must specify a valid codedWidth (positive integer).");
|
|
45439
45439
|
if (!Number.isInteger(s.decoderConfig.codedHeight) || s.decoderConfig.codedHeight <= 0)
|
|
45440
45440
|
throw new TypeError("Video chunk metadata decoder configuration must specify a valid codedHeight (positive integer).");
|
|
45441
|
-
if (s.decoderConfig.description !== void 0 && !
|
|
45441
|
+
if (s.decoderConfig.description !== void 0 && !uo(s.decoderConfig.description))
|
|
45442
45442
|
throw new TypeError("Video chunk metadata decoder configuration description, when defined, must be an ArrayBuffer or an ArrayBuffer view.");
|
|
45443
45443
|
if (s.decoderConfig.colorSpace !== void 0) {
|
|
45444
45444
|
const { colorSpace: e } = s.decoderConfig;
|
|
@@ -45457,20 +45457,20 @@ const Oi = [
|
|
|
45457
45457
|
throw new TypeError("Video chunk metadata decoder configuration colorSpace fullRange, when defined, must be a boolean.");
|
|
45458
45458
|
}
|
|
45459
45459
|
if (s.decoderConfig.codec.startsWith("avc1") || s.decoderConfig.codec.startsWith("avc3")) {
|
|
45460
|
-
if (!
|
|
45460
|
+
if (!L8.test(s.decoderConfig.codec))
|
|
45461
45461
|
throw new TypeError("Video chunk metadata decoder configuration codec string for AVC must be a valid AVC codec string as specified in Section 3.4 of RFC 6381.");
|
|
45462
45462
|
} else if (s.decoderConfig.codec.startsWith("hev1") || s.decoderConfig.codec.startsWith("hvc1")) {
|
|
45463
|
-
if (!
|
|
45463
|
+
if (!O8.test(s.decoderConfig.codec))
|
|
45464
45464
|
throw new TypeError("Video chunk metadata decoder configuration codec string for HEVC must be a valid HEVC codec string as specified in Section E.3 of ISO 14496-15.");
|
|
45465
45465
|
} else if (s.decoderConfig.codec.startsWith("vp8")) {
|
|
45466
45466
|
if (s.decoderConfig.codec !== "vp8")
|
|
45467
45467
|
throw new TypeError('Video chunk metadata decoder configuration codec string for VP8 must be "vp8".');
|
|
45468
45468
|
} else if (s.decoderConfig.codec.startsWith("vp09")) {
|
|
45469
|
-
if (!
|
|
45469
|
+
if (!z8.test(s.decoderConfig.codec))
|
|
45470
45470
|
throw new TypeError('Video chunk metadata decoder configuration codec string for VP9 must be a valid VP9 codec string as specified in Section "Codecs Parameter String" of https://www.webmproject.org/vp9/mp4/.');
|
|
45471
|
-
} else if (s.decoderConfig.codec.startsWith("av01") && !
|
|
45471
|
+
} else if (s.decoderConfig.codec.startsWith("av01") && !R8.test(s.decoderConfig.codec))
|
|
45472
45472
|
throw new TypeError('Video chunk metadata decoder configuration codec string for AV1 must be a valid AV1 codec string as specified in Section "Codecs Parameter String" of https://aomediacodec.github.io/av1-isobmff/.');
|
|
45473
|
-
},
|
|
45473
|
+
}, U8 = ["mp4a", "mp3", "opus", "vorbis", "flac", "ulaw", "alaw", "pcm"], Z8 = (s) => {
|
|
45474
45474
|
if (!s)
|
|
45475
45475
|
throw new TypeError("Audio chunk metadata must be provided.");
|
|
45476
45476
|
if (typeof s != "object")
|
|
@@ -45481,13 +45481,13 @@ const Oi = [
|
|
|
45481
45481
|
throw new TypeError("Audio chunk metadata decoder configuration must be an object.");
|
|
45482
45482
|
if (typeof s.decoderConfig.codec != "string")
|
|
45483
45483
|
throw new TypeError("Audio chunk metadata decoder configuration must specify a codec string.");
|
|
45484
|
-
if (!
|
|
45484
|
+
if (!U8.some((e) => s.decoderConfig.codec.startsWith(e)))
|
|
45485
45485
|
throw new TypeError("Audio chunk metadata decoder configuration codec string must be a valid audio codec string as specified in the WebCodecs Codec Registry.");
|
|
45486
45486
|
if (!Number.isInteger(s.decoderConfig.sampleRate) || s.decoderConfig.sampleRate <= 0)
|
|
45487
45487
|
throw new TypeError("Audio chunk metadata decoder configuration must specify a valid sampleRate (positive integer).");
|
|
45488
45488
|
if (!Number.isInteger(s.decoderConfig.numberOfChannels) || s.decoderConfig.numberOfChannels <= 0)
|
|
45489
45489
|
throw new TypeError("Audio chunk metadata decoder configuration must specify a valid numberOfChannels (positive integer).");
|
|
45490
|
-
if (s.decoderConfig.description !== void 0 && !
|
|
45490
|
+
if (s.decoderConfig.description !== void 0 && !uo(s.decoderConfig.description))
|
|
45491
45491
|
throw new TypeError("Audio chunk metadata decoder configuration description, when defined, must be an ArrayBuffer or an ArrayBuffer view.");
|
|
45492
45492
|
if (s.decoderConfig.codec.startsWith("mp4a") && s.decoderConfig.codec !== "mp4a.69" && s.decoderConfig.codec !== "mp4a.6B" && s.decoderConfig.codec !== "mp4a.6b") {
|
|
45493
45493
|
if (!["mp4a.40.2", "mp4a.40.02", "mp4a.40.5", "mp4a.40.05", "mp4a.40.29", "mp4a.67"].includes(s.decoderConfig.codec))
|
|
@@ -45512,7 +45512,7 @@ const Oi = [
|
|
|
45512
45512
|
throw new TypeError("Audio chunk metadata decoder configuration for FLAC must include a description, which is expected to adhere to the format described in https://www.w3.org/TR/webcodecs-flac-codec-registration/.");
|
|
45513
45513
|
} else if ((s.decoderConfig.codec.startsWith("pcm") || s.decoderConfig.codec.startsWith("ulaw") || s.decoderConfig.codec.startsWith("alaw")) && !As.includes(s.decoderConfig.codec))
|
|
45514
45514
|
throw new TypeError(`Audio chunk metadata decoder configuration codec string for PCM must be one of the supported PCM codecs (${As.join(", ")}).`);
|
|
45515
|
-
},
|
|
45515
|
+
}, W8 = (s) => {
|
|
45516
45516
|
if (!s)
|
|
45517
45517
|
throw new TypeError("Subtitle metadata must be provided.");
|
|
45518
45518
|
if (typeof s != "object")
|
|
@@ -45560,12 +45560,12 @@ const Bc = function* (s) {
|
|
|
45560
45560
|
offset: t,
|
|
45561
45561
|
length: s.length - t
|
|
45562
45562
|
});
|
|
45563
|
-
},
|
|
45563
|
+
}, H8 = (s) => s & 31, Lc = (s) => {
|
|
45564
45564
|
const e = [], t = s.length;
|
|
45565
45565
|
for (let i = 0; i < t; i++)
|
|
45566
45566
|
i + 2 < t && s[i] === 0 && s[i + 1] === 0 && s[i + 2] === 3 ? (e.push(0, 0), i += 2) : e.push(s[i]);
|
|
45567
45567
|
return new Uint8Array(e);
|
|
45568
|
-
},
|
|
45568
|
+
}, G8 = (s, e) => {
|
|
45569
45569
|
const t = s.reduce((r, n) => r + e + n.byteLength, 0), i = new Uint8Array(t);
|
|
45570
45570
|
let a = 0;
|
|
45571
45571
|
for (const r of s) {
|
|
@@ -45587,16 +45587,16 @@ const Bc = function* (s) {
|
|
|
45587
45587
|
a += e, i.set(r, a), a += r.byteLength;
|
|
45588
45588
|
}
|
|
45589
45589
|
return i;
|
|
45590
|
-
},
|
|
45590
|
+
}, q8 = (s) => {
|
|
45591
45591
|
try {
|
|
45592
45592
|
const e = [], t = [], i = [];
|
|
45593
45593
|
for (const o of Bc(s)) {
|
|
45594
|
-
const l = s.subarray(o.offset, o.offset + o.length), c =
|
|
45594
|
+
const l = s.subarray(o.offset, o.offset + o.length), c = H8(l[0]);
|
|
45595
45595
|
c === ir.SPS ? e.push(l) : c === ir.PPS ? t.push(l) : c === ir.SPS_EXT && i.push(l);
|
|
45596
45596
|
}
|
|
45597
45597
|
if (e.length === 0 || t.length === 0)
|
|
45598
45598
|
return null;
|
|
45599
|
-
const a = e[0], r =
|
|
45599
|
+
const a = e[0], r = j8(a);
|
|
45600
45600
|
J(r !== null);
|
|
45601
45601
|
const n = r.profileIdc === 100 || r.profileIdc === 110 || r.profileIdc === 122 || r.profileIdc === 144;
|
|
45602
45602
|
return {
|
|
@@ -45616,7 +45616,7 @@ const Bc = function* (s) {
|
|
|
45616
45616
|
} catch (e) {
|
|
45617
45617
|
return console.error("Error building AVC Decoder Configuration Record:", e), null;
|
|
45618
45618
|
}
|
|
45619
|
-
},
|
|
45619
|
+
}, Y8 = (s) => {
|
|
45620
45620
|
const e = [];
|
|
45621
45621
|
e.push(s.configurationVersion), e.push(s.avcProfileIndication), e.push(s.profileCompatibility), e.push(s.avcLevelIndication), e.push(252 | s.lengthSizeMinusOne & 3), e.push(224 | s.sequenceParameterSets.length & 31);
|
|
45622
45622
|
for (const t of s.sequenceParameterSets) {
|
|
@@ -45642,7 +45642,7 @@ const Bc = function* (s) {
|
|
|
45642
45642
|
}
|
|
45643
45643
|
}
|
|
45644
45644
|
return new Uint8Array(e);
|
|
45645
|
-
},
|
|
45645
|
+
}, j8 = (s) => {
|
|
45646
45646
|
try {
|
|
45647
45647
|
const e = new mi(Lc(s));
|
|
45648
45648
|
if (e.skipBits(1), e.skipBits(2), e.readBits(5) !== 7)
|
|
@@ -45703,7 +45703,7 @@ const Bc = function* (s) {
|
|
|
45703
45703
|
if ((i === 44 || i === 86 || i === 100 || i === 110 || i === 122 || i === 244) && Q)
|
|
45704
45704
|
M = 0, L = 0;
|
|
45705
45705
|
else {
|
|
45706
|
-
const Y = u + 1, ce = h + 1, ve = (2 - C) * ce, Se =
|
|
45706
|
+
const Y = u + 1, ce = h + 1, ve = (2 - C) * ce, Se = Zn.find((Te) => Te.level >= r) ?? Kt(Zn), he = Math.min(Math.floor(Se.maxDpbMbs / (Y * ve)), 16);
|
|
45707
45707
|
M = he, L = he;
|
|
45708
45708
|
}
|
|
45709
45709
|
}
|
|
@@ -45735,11 +45735,11 @@ const Bc = function* (s) {
|
|
|
45735
45735
|
for (let t = 0; t <= e; t++)
|
|
45736
45736
|
te(s), te(s), s.skipBits(1);
|
|
45737
45737
|
s.skipBits(5), s.skipBits(5), s.skipBits(5), s.skipBits(5);
|
|
45738
|
-
}, Yu = (s) => s >> 1 & 63,
|
|
45738
|
+
}, Yu = (s) => s >> 1 & 63, X8 = (s) => {
|
|
45739
45739
|
try {
|
|
45740
45740
|
const e = new mi(Lc(s));
|
|
45741
45741
|
e.skipBits(16), e.readBits(4);
|
|
45742
|
-
const t = e.readBits(3), i = e.readBits(1), { general_profile_space: a, general_tier_flag: r, general_profile_idc: n, general_profile_compatibility_flags: o, general_constraint_indicator_flags: l, general_level_idc: c } =
|
|
45742
|
+
const t = e.readBits(3), i = e.readBits(1), { general_profile_space: a, general_tier_flag: r, general_profile_idc: n, general_profile_compatibility_flags: o, general_constraint_indicator_flags: l, general_level_idc: c } = Q8(e, t);
|
|
45743
45743
|
te(e);
|
|
45744
45744
|
const d = te(e);
|
|
45745
45745
|
let u = 0;
|
|
@@ -45758,9 +45758,9 @@ const Bc = function* (s) {
|
|
|
45758
45758
|
let P = 0;
|
|
45759
45759
|
for (let Y = v; Y <= t; Y++)
|
|
45760
45760
|
te(e), P = te(e), te(e);
|
|
45761
|
-
te(e), te(e), te(e), te(e), te(e), te(e), e.readBits(1) && e.readBits(1) &&
|
|
45761
|
+
te(e), te(e), te(e), te(e), te(e), te(e), e.readBits(1) && e.readBits(1) && J8(e), e.skipBits(1), e.skipBits(1), e.readBits(1) && (e.skipBits(4), e.skipBits(4), te(e), te(e), e.skipBits(1));
|
|
45762
45762
|
const b = te(e);
|
|
45763
|
-
if ($
|
|
45763
|
+
if ($8(e, b), e.readBits(1)) {
|
|
45764
45764
|
const Y = te(e);
|
|
45765
45765
|
for (let ce = 0; ce < Y; ce++)
|
|
45766
45766
|
te(e), e.skipBits(1);
|
|
@@ -45768,7 +45768,7 @@ const Bc = function* (s) {
|
|
|
45768
45768
|
e.skipBits(1), e.skipBits(1);
|
|
45769
45769
|
let D = 2, M = 2, L = 2, K = 0, Q = 0;
|
|
45770
45770
|
if (e.readBits(1)) {
|
|
45771
|
-
const Y =
|
|
45771
|
+
const Y = t6(e, t);
|
|
45772
45772
|
D = Y.colourPrimaries, M = Y.transferCharacteristics, L = Y.matrixCoefficients, K = Y.fullRangeFlag, Q = Y.minSpatialSegmentationIdc;
|
|
45773
45773
|
}
|
|
45774
45774
|
return {
|
|
@@ -45795,7 +45795,7 @@ const Bc = function* (s) {
|
|
|
45795
45795
|
} catch (e) {
|
|
45796
45796
|
return console.error("Error parsing HEVC SPS:", e), null;
|
|
45797
45797
|
}
|
|
45798
|
-
},
|
|
45798
|
+
}, K8 = (s) => {
|
|
45799
45799
|
try {
|
|
45800
45800
|
const e = [], t = [], i = [], a = [];
|
|
45801
45801
|
for (const c of Bc(s)) {
|
|
@@ -45804,7 +45804,7 @@ const Bc = function* (s) {
|
|
|
45804
45804
|
}
|
|
45805
45805
|
if (t.length === 0 || i.length === 0)
|
|
45806
45806
|
return null;
|
|
45807
|
-
const r =
|
|
45807
|
+
const r = X8(t[0]);
|
|
45808
45808
|
if (!r)
|
|
45809
45809
|
return null;
|
|
45810
45810
|
let n = 0;
|
|
@@ -45867,7 +45867,7 @@ const Bc = function* (s) {
|
|
|
45867
45867
|
} catch (e) {
|
|
45868
45868
|
return console.error("Error building HEVC Decoder Configuration Record:", e), null;
|
|
45869
45869
|
}
|
|
45870
|
-
},
|
|
45870
|
+
}, Q8 = (s, e) => {
|
|
45871
45871
|
const t = s.readBits(2), i = s.readBits(1), a = s.readBits(5);
|
|
45872
45872
|
let r = 0;
|
|
45873
45873
|
for (let d = 0; d < 32; d++)
|
|
@@ -45891,7 +45891,7 @@ const Bc = function* (s) {
|
|
|
45891
45891
|
general_constraint_indicator_flags: n,
|
|
45892
45892
|
general_level_idc: o
|
|
45893
45893
|
};
|
|
45894
|
-
},
|
|
45894
|
+
}, J8 = (s) => {
|
|
45895
45895
|
for (let e = 0; e < 4; e++)
|
|
45896
45896
|
for (let t = 0; t < (e === 3 ? 2 : 6); t++)
|
|
45897
45897
|
if (!s.readBits(1))
|
|
@@ -45902,11 +45902,11 @@ const Bc = function* (s) {
|
|
|
45902
45902
|
for (let r = 0; r < a; r++)
|
|
45903
45903
|
Rs(s);
|
|
45904
45904
|
}
|
|
45905
|
-
}, $
|
|
45905
|
+
}, $8 = (s, e) => {
|
|
45906
45906
|
const t = [];
|
|
45907
45907
|
for (let i = 0; i < e; i++)
|
|
45908
|
-
t[i] =
|
|
45909
|
-
},
|
|
45908
|
+
t[i] = e6(s, i, e, t);
|
|
45909
|
+
}, e6 = (s, e, t, i) => {
|
|
45910
45910
|
let a = 0, r = 0, n = 0;
|
|
45911
45911
|
if (e !== 0 && (r = s.readBits(1)), r) {
|
|
45912
45912
|
if (e === t) {
|
|
@@ -45928,16 +45928,16 @@ const Bc = function* (s) {
|
|
|
45928
45928
|
a = o + l;
|
|
45929
45929
|
}
|
|
45930
45930
|
return a;
|
|
45931
|
-
},
|
|
45931
|
+
}, t6 = (s, e) => {
|
|
45932
45932
|
let t = 2, i = 2, a = 2, r = 0, n = 0;
|
|
45933
|
-
return s.readBits(1) && s.readBits(8) === 255 && (s.readBits(16), s.readBits(16)), s.readBits(1) && s.readBits(1), s.readBits(1) && (s.readBits(3), r = s.readBits(1), s.readBits(1) && (t = s.readBits(8), i = s.readBits(8), a = s.readBits(8))), s.readBits(1) && (te(s), te(s)), s.readBits(1), s.readBits(1), s.readBits(1), s.readBits(1) && (te(s), te(s), te(s), te(s)), s.readBits(1) && (s.readBits(32), s.readBits(32), s.readBits(1) && te(s), s.readBits(1) &&
|
|
45933
|
+
return s.readBits(1) && s.readBits(8) === 255 && (s.readBits(16), s.readBits(16)), s.readBits(1) && s.readBits(1), s.readBits(1) && (s.readBits(3), r = s.readBits(1), s.readBits(1) && (t = s.readBits(8), i = s.readBits(8), a = s.readBits(8))), s.readBits(1) && (te(s), te(s)), s.readBits(1), s.readBits(1), s.readBits(1), s.readBits(1) && (te(s), te(s), te(s), te(s)), s.readBits(1) && (s.readBits(32), s.readBits(32), s.readBits(1) && te(s), s.readBits(1) && s6(s, !0, e)), s.readBits(1) && (s.readBits(1), s.readBits(1), s.readBits(1), n = te(s), te(s), te(s), te(s), te(s)), {
|
|
45934
45934
|
colourPrimaries: t,
|
|
45935
45935
|
transferCharacteristics: i,
|
|
45936
45936
|
matrixCoefficients: a,
|
|
45937
45937
|
fullRangeFlag: r,
|
|
45938
45938
|
minSpatialSegmentationIdc: n
|
|
45939
45939
|
};
|
|
45940
|
-
},
|
|
45940
|
+
}, s6 = (s, e, t) => {
|
|
45941
45941
|
let i = !1, a = !1, r = !1;
|
|
45942
45942
|
i = s.readBits(1) === 1, a = s.readBits(1) === 1, (i || a) && (r = s.readBits(1) === 1, r && (s.readBits(8), s.readBits(5), s.readBits(1), s.readBits(5)), s.readBits(4), s.readBits(4), r && s.readBits(4), s.readBits(5), s.readBits(5), s.readBits(5));
|
|
45943
45943
|
for (let n = 0; n <= t; n++) {
|
|
@@ -45952,7 +45952,7 @@ const Bc = function* (s) {
|
|
|
45952
45952
|
}, ju = (s, e, t) => {
|
|
45953
45953
|
for (let i = 0; i < e; i++)
|
|
45954
45954
|
te(s), te(s), t && (te(s), te(s)), s.readBits(1);
|
|
45955
|
-
},
|
|
45955
|
+
}, i6 = (s) => {
|
|
45956
45956
|
const e = [];
|
|
45957
45957
|
e.push(s.configurationVersion), e.push((s.generalProfileSpace & 3) << 6 | (s.generalTierFlag & 1) << 5 | s.generalProfileIdc & 31), e.push(s.generalProfileCompatibilityFlags >>> 24 & 255), e.push(s.generalProfileCompatibilityFlags >>> 16 & 255), e.push(s.generalProfileCompatibilityFlags >>> 8 & 255), e.push(s.generalProfileCompatibilityFlags & 255), e.push(...s.generalConstraintIndicatorFlags), e.push(s.generalLevelIdc & 255), e.push(240 | s.minSpatialSegmentationIdc >> 8 & 15), e.push(s.minSpatialSegmentationIdc & 255), e.push(252 | s.parallelismType & 3), e.push(252 | s.chromaFormatIdc & 3), e.push(248 | s.bitDepthLumaMinus8 & 7), e.push(248 | s.bitDepthChromaMinus8 & 7), e.push(s.avgFrameRate >> 8 & 255), e.push(s.avgFrameRate & 255), e.push((s.constantFrameRate & 3) << 6 | (s.numTemporalLayers & 7) << 3 | (s.temporalIdNested & 1) << 2 | s.lengthSizeMinusOne & 3), e.push(s.arrays.length & 255);
|
|
45958
45958
|
for (const t of s.arrays) {
|
|
@@ -45964,7 +45964,7 @@ const Bc = function* (s) {
|
|
|
45964
45964
|
}
|
|
45965
45965
|
}
|
|
45966
45966
|
return new Uint8Array(e);
|
|
45967
|
-
},
|
|
45967
|
+
}, a6 = (s) => {
|
|
45968
45968
|
const e = ei(s), t = e.getUint8(9), i = e.getUint16(10, !0), a = e.getUint32(12, !0), r = e.getInt16(16, !0), n = e.getUint8(18);
|
|
45969
45969
|
let o = null;
|
|
45970
45970
|
return n && (o = s.subarray(19, 21 + t)), {
|
|
@@ -45987,7 +45987,7 @@ var Xu;
|
|
|
45987
45987
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
45988
45988
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
45989
45989
|
*/
|
|
45990
|
-
const
|
|
45990
|
+
const r6 = [], n6 = [];
|
|
45991
45991
|
/*!
|
|
45992
45992
|
* Copyright (c) 2026-present, Vanilagy and contributors
|
|
45993
45993
|
*
|
|
@@ -46123,12 +46123,12 @@ class ni {
|
|
|
46123
46123
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
46124
46124
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
46125
46125
|
*/
|
|
46126
|
-
const
|
|
46126
|
+
const o6 = (s) => {
|
|
46127
46127
|
let i = s, a = 4096, r = 0, n = 12, o = 0;
|
|
46128
46128
|
for (i < 0 && (i = -i, r = 128), i += 33, i > 8191 && (i = 8191); (i & a) !== a && n >= 5; )
|
|
46129
46129
|
a >>= 1, n--;
|
|
46130
46130
|
return o = i >> n - 4 & 15, ~(r | n - 5 << 4 | o) & 255;
|
|
46131
|
-
},
|
|
46131
|
+
}, l6 = (s) => {
|
|
46132
46132
|
let t = 2048, i = 0, a = 11, r = 0, n = s;
|
|
46133
46133
|
for (n < 0 && (n = -n, i = 128), n > 4095 && (n = 4095); (n & t) !== t && a >= 5; )
|
|
46134
46134
|
t >>= 1, a--;
|
|
@@ -46141,7 +46141,7 @@ const o8 = (s) => {
|
|
|
46141
46141
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
46142
46142
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
46143
46143
|
*/
|
|
46144
|
-
|
|
46144
|
+
A8();
|
|
46145
46145
|
let Qu = -1 / 0, Ju = -1 / 0, br = null;
|
|
46146
46146
|
typeof FinalizationRegistry < "u" && (br = new FinalizationRegistry((s) => {
|
|
46147
46147
|
const e = Date.now();
|
|
@@ -46182,7 +46182,7 @@ const bp = [
|
|
|
46182
46182
|
"BGRA",
|
|
46183
46183
|
// 4:4:4 BGRX (opaque)
|
|
46184
46184
|
"BGRX"
|
|
46185
|
-
],
|
|
46185
|
+
], c6 = new Set(bp);
|
|
46186
46186
|
class Fi {
|
|
46187
46187
|
/** The width of the frame in pixels after rotation. */
|
|
46188
46188
|
get displayWidth() {
|
|
@@ -46211,7 +46211,7 @@ class Fi {
|
|
|
46211
46211
|
if (this._closed = !1, e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer || ArrayBuffer.isView(e)) {
|
|
46212
46212
|
if (!t || typeof t != "object")
|
|
46213
46213
|
throw new TypeError("init must be an object.");
|
|
46214
|
-
if (t.format === void 0 || !
|
|
46214
|
+
if (t.format === void 0 || !c6.has(t.format))
|
|
46215
46215
|
throw new TypeError("init.format must be one of: " + bp.join(", "));
|
|
46216
46216
|
if (!Number.isInteger(t.codedWidth) || t.codedWidth <= 0)
|
|
46217
46217
|
throw new TypeError("init.codedWidth must be a positive integer.");
|
|
@@ -46223,7 +46223,7 @@ class Fi {
|
|
|
46223
46223
|
throw new TypeError("init.timestamp must be a number.");
|
|
46224
46224
|
if (t.duration !== void 0 && (!Number.isFinite(t.duration) || t.duration < 0))
|
|
46225
46225
|
throw new TypeError("init.duration, when provided, must be a non-negative number.");
|
|
46226
|
-
this._data = Us(e).slice(), this._layout = t.layout ??
|
|
46226
|
+
this._data = Us(e).slice(), this._layout = t.layout ?? f6(t.format, t.codedWidth, t.codedHeight), this.format = t.format, this.codedWidth = t.codedWidth, this.codedHeight = t.codedHeight, this.rotation = t.rotation ?? 0, this.timestamp = t.timestamp, this.duration = t.duration ?? 0, this.colorSpace = new tl(t.colorSpace);
|
|
46227
46227
|
} else if (typeof VideoFrame < "u" && e instanceof VideoFrame) {
|
|
46228
46228
|
if (t?.rotation !== void 0 && ![0, 90, 180, 270].includes(t.rotation))
|
|
46229
46229
|
throw new TypeError("init.rotation, when provided, must be 0, 90, 180, or 270.");
|
|
@@ -46318,7 +46318,7 @@ class Fi {
|
|
|
46318
46318
|
* @returns The byte layout of the planes of the copied data.
|
|
46319
46319
|
*/
|
|
46320
46320
|
async copyTo(e, t = {}) {
|
|
46321
|
-
if (!
|
|
46321
|
+
if (!uo(e))
|
|
46322
46322
|
throw new TypeError("destination must be an ArrayBuffer or an ArrayBuffer view.");
|
|
46323
46323
|
if ($u(t), this._closed)
|
|
46324
46324
|
throw new Error("VideoSample is closed.");
|
|
@@ -46407,9 +46407,9 @@ class Fi {
|
|
|
46407
46407
|
throw new TypeError("options.fit must be 'fill', 'contain', or 'cover'.");
|
|
46408
46408
|
if (t.rotation !== void 0 && ![0, 90, 180, 270].includes(t.rotation))
|
|
46409
46409
|
throw new TypeError("options.rotation, when provided, must be 0, 90, 180, or 270.");
|
|
46410
|
-
t.crop !== void 0 &&
|
|
46410
|
+
t.crop !== void 0 && u6(t.crop, "options.");
|
|
46411
46411
|
const i = e.canvas.width, a = e.canvas.height, r = t.rotation ?? this.rotation, [n, o] = r % 180 === 0 ? [this.codedWidth, this.codedHeight] : [this.codedHeight, this.codedWidth];
|
|
46412
|
-
t.crop &&
|
|
46412
|
+
t.crop && d6(t.crop, n, o);
|
|
46413
46413
|
let l, c, d, u;
|
|
46414
46414
|
const { sx: h, sy: p, sWidth: m, sHeight: w } = this._rotateSourceRegion(t.crop?.left ?? 0, t.crop?.top ?? 0, t.crop?.width ?? n, t.crop?.height ?? o, r);
|
|
46415
46415
|
if (t.fit === "fill")
|
|
@@ -46493,9 +46493,9 @@ class tl {
|
|
|
46493
46493
|
};
|
|
46494
46494
|
}
|
|
46495
46495
|
}
|
|
46496
|
-
const vi = (s) => typeof VideoFrame < "u" && s instanceof VideoFrame,
|
|
46496
|
+
const vi = (s) => typeof VideoFrame < "u" && s instanceof VideoFrame, d6 = (s, e, t) => {
|
|
46497
46497
|
s.left = Math.min(s.left, e), s.top = Math.min(s.top, t), s.width = Math.min(s.width, e - s.left), s.height = Math.min(s.height, t - s.top), J(s.width >= 0), J(s.height >= 0);
|
|
46498
|
-
},
|
|
46498
|
+
}, u6 = (s, e) => {
|
|
46499
46499
|
if (!s || typeof s != "object")
|
|
46500
46500
|
throw new TypeError(e + "crop, when provided, must be an object.");
|
|
46501
46501
|
if (!Number.isInteger(s.left) || s.left < 0)
|
|
@@ -46537,8 +46537,8 @@ const vi = (s) => typeof VideoFrame < "u" && s instanceof VideoFrame, d8 = (s, e
|
|
|
46537
46537
|
if (s.rect.height !== void 0 && (!Number.isInteger(s.rect.height) || s.rect.height < 0))
|
|
46538
46538
|
throw new TypeError("options.rect.height, when provided, must be a non-negative integer.");
|
|
46539
46539
|
}
|
|
46540
|
-
},
|
|
46541
|
-
const i =
|
|
46540
|
+
}, f6 = (s, e, t) => {
|
|
46541
|
+
const i = h6(s), a = [];
|
|
46542
46542
|
let r = 0;
|
|
46543
46543
|
for (const n of i) {
|
|
46544
46544
|
const o = Math.ceil(e / n.widthDivisor), l = Math.ceil(t / n.heightDivisor), c = o * n.sampleBytes, d = c * l;
|
|
@@ -46548,7 +46548,7 @@ const vi = (s) => typeof VideoFrame < "u" && s instanceof VideoFrame, d8 = (s, e
|
|
|
46548
46548
|
}), r += d;
|
|
46549
46549
|
}
|
|
46550
46550
|
return a;
|
|
46551
|
-
},
|
|
46551
|
+
}, h6 = (s) => {
|
|
46552
46552
|
const e = (t, i, a, r, n) => {
|
|
46553
46553
|
const o = [
|
|
46554
46554
|
{ sampleBytes: t, widthDivisor: 1, heightDivisor: 1 },
|
|
@@ -46602,7 +46602,7 @@ const vi = (s) => typeof VideoFrame < "u" && s instanceof VideoFrame, d8 = (s, e
|
|
|
46602
46602
|
{ sampleBytes: 4, widthDivisor: 1, heightDivisor: 1 }
|
|
46603
46603
|
];
|
|
46604
46604
|
default:
|
|
46605
|
-
|
|
46605
|
+
fo(s), J(!1);
|
|
46606
46606
|
}
|
|
46607
46607
|
}, sl = /* @__PURE__ */ new Set(["f32", "f32-planar", "s16", "s16-planar", "s32", "s32-planar", "u8", "u8-planar"]);
|
|
46608
46608
|
class si {
|
|
@@ -46682,7 +46682,7 @@ class si {
|
|
|
46682
46682
|
}
|
|
46683
46683
|
/** Copies the audio sample's data to an ArrayBuffer or ArrayBufferView as specified by the given options. */
|
|
46684
46684
|
copyTo(e, t) {
|
|
46685
|
-
if (!
|
|
46685
|
+
if (!uo(e))
|
|
46686
46686
|
throw new TypeError("destination must be an ArrayBuffer or an ArrayBuffer view.");
|
|
46687
46687
|
if (!t || typeof t != "object")
|
|
46688
46688
|
throw new TypeError("options must be an object.");
|
|
@@ -46715,7 +46715,7 @@ class si {
|
|
|
46715
46715
|
throw new RangeError("Destination buffer is too small");
|
|
46716
46716
|
const C = ei(e), A = vp(l);
|
|
46717
46717
|
if (Za(this._data))
|
|
46718
|
-
|
|
46718
|
+
S8() && d > 2 && l !== o ? p6(this._data, C, o, l, d, i, u, h) : this._data.copyTo(e, {
|
|
46719
46719
|
planeIndex: i,
|
|
46720
46720
|
frameOffset: u,
|
|
46721
46721
|
frameCount: h,
|
|
@@ -46935,7 +46935,7 @@ const Ai = (s) => {
|
|
|
46935
46935
|
case "f32-planar":
|
|
46936
46936
|
return (e, t, i) => e.setFloat32(t, i, !0);
|
|
46937
46937
|
}
|
|
46938
|
-
}, Za = (s) => typeof AudioData < "u" && s instanceof AudioData,
|
|
46938
|
+
}, Za = (s) => typeof AudioData < "u" && s instanceof AudioData, p6 = (s, e, t, i, a, r, n, o) => {
|
|
46939
46939
|
const l = wp(t), c = vp(i), d = Ai(t), u = Ai(i), h = oa(t);
|
|
46940
46940
|
if (oa(i))
|
|
46941
46941
|
if (h) {
|
|
@@ -46999,7 +46999,7 @@ const Ai = (s) => {
|
|
|
46999
46999
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
47000
47000
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
47001
47001
|
*/
|
|
47002
|
-
const
|
|
47002
|
+
const g6 = (s) => {
|
|
47003
47003
|
let t = (s.hasVideo ? "video/" : s.hasAudio ? "audio/" : "application/") + (s.isQuickTime ? "quicktime" : "mp4");
|
|
47004
47004
|
if (s.codecStrings.length > 0) {
|
|
47005
47005
|
const i = [...new Set(s.codecStrings)];
|
|
@@ -47022,8 +47022,8 @@ const il = 8, ef = 16;
|
|
|
47022
47022
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
47023
47023
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
47024
47024
|
*/
|
|
47025
|
-
const
|
|
47026
|
-
const e = s.filePos, t =
|
|
47025
|
+
const m6 = 7, y6 = 9, tf = (s) => {
|
|
47026
|
+
const e = s.filePos, t = v6(s, 9), i = new mi(t);
|
|
47027
47027
|
if (i.readBits(12) !== 4095 || (i.skipBits(1), i.readBits(2) !== 0))
|
|
47028
47028
|
return null;
|
|
47029
47029
|
const n = i.readBits(1), o = i.readBits(2) + 1, l = i.readBits(4);
|
|
@@ -47049,9 +47049,9 @@ const m8 = 7, y8 = 9, tf = (s) => {
|
|
|
47049
47049
|
crcCheck: h,
|
|
47050
47050
|
startPos: e
|
|
47051
47051
|
};
|
|
47052
|
-
},
|
|
47052
|
+
}, b6 = {}, Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47053
47053
|
__proto__: null,
|
|
47054
|
-
default:
|
|
47054
|
+
default: b6
|
|
47055
47055
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
47056
47056
|
/*!
|
|
47057
47057
|
* Copyright (c) 2026-present, Vanilagy and contributors
|
|
@@ -47090,11 +47090,11 @@ class wr {
|
|
|
47090
47090
|
return new wr(this.bytes, this.view, this.offset, e, e + t);
|
|
47091
47091
|
}
|
|
47092
47092
|
}
|
|
47093
|
-
const
|
|
47093
|
+
const w6 = (s, e) => {
|
|
47094
47094
|
if (s.filePos < s.start || s.filePos + e > s.end)
|
|
47095
47095
|
throw new RangeError(`Tried reading [${s.filePos}, ${s.filePos + e}), but slice is [${s.start}, ${s.end}). This is likely an internal error, please report it alongside the file that caused it.`);
|
|
47096
|
-
},
|
|
47097
|
-
|
|
47096
|
+
}, v6 = (s, e) => {
|
|
47097
|
+
w6(s, e);
|
|
47098
47098
|
const t = s.bytes.subarray(s.bufferPos, s.bufferPos + e);
|
|
47099
47099
|
return s.bufferPos += e, t;
|
|
47100
47100
|
};
|
|
@@ -47105,7 +47105,7 @@ const w8 = (s, e) => {
|
|
|
47105
47105
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
47106
47106
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
47107
47107
|
*/
|
|
47108
|
-
class
|
|
47108
|
+
class x6 {
|
|
47109
47109
|
constructor(e) {
|
|
47110
47110
|
this.mutex = new dp(), this.firstMediaStreamTimestamp = null, this.trackTimestampInfo = /* @__PURE__ */ new WeakMap(), this.output = e;
|
|
47111
47111
|
}
|
|
@@ -47137,7 +47137,7 @@ class x8 {
|
|
|
47137
47137
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
47138
47138
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
47139
47139
|
*/
|
|
47140
|
-
const sf = /<(?:(\d{2}):)?(\d{2}):(\d{2}).(\d{3})>/g,
|
|
47140
|
+
const sf = /<(?:(\d{2}):)?(\d{2}):(\d{2}).(\d{3})>/g, C6 = (s) => {
|
|
47141
47141
|
const e = Math.floor(s / 36e5), t = Math.floor(s % (60 * 60 * 1e3) / (60 * 1e3)), i = Math.floor(s % (60 * 1e3) / 1e3), a = s % 1e3;
|
|
47142
47142
|
return e.toString().padStart(2, "0") + ":" + t.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0") + "." + a.toString().padStart(3, "0");
|
|
47143
47143
|
};
|
|
@@ -47242,7 +47242,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47242
47242
|
type: s,
|
|
47243
47243
|
contents: e && new Uint8Array(e.flat(10)),
|
|
47244
47244
|
children: t
|
|
47245
|
-
}), Ze = (s, e, t, i, a) => ye(s, [ft(e), Cp(t), i ?? []], a),
|
|
47245
|
+
}), Ze = (s, e, t, i, a) => ye(s, [ft(e), Cp(t), i ?? []], a), k6 = (s) => s.isQuickTime ? ye("ftyp", [
|
|
47246
47246
|
Ft("qt "),
|
|
47247
47247
|
// Major brand
|
|
47248
47248
|
$(512),
|
|
@@ -47267,12 +47267,12 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47267
47267
|
Ft("isom"),
|
|
47268
47268
|
s.holdsAvc ? Ft("avc1") : [],
|
|
47269
47269
|
Ft("mp41")
|
|
47270
|
-
]),
|
|
47271
|
-
|
|
47272
|
-
...s.trackDatas.map((e) =>
|
|
47270
|
+
]), Qr = (s) => ({ type: "mdat", largeSize: s }), S6 = (s) => ({ type: "free", size: s }), Wa = (s) => ye("moov", void 0, [
|
|
47271
|
+
A6(s.creationTime, s.trackDatas),
|
|
47272
|
+
...s.trackDatas.map((e) => I6(e, s.creationTime)),
|
|
47273
47273
|
s.isFragmented ? oT(s.trackDatas) : null,
|
|
47274
47274
|
vT(s)
|
|
47275
|
-
]),
|
|
47275
|
+
]), A6 = (s, e) => {
|
|
47276
47276
|
const t = At(Math.max(0, ...e.filter((n) => n.samples.length > 0).map((n) => {
|
|
47277
47277
|
const o = Oc(n.samples);
|
|
47278
47278
|
return o.timestamp + o.duration;
|
|
@@ -47299,18 +47299,18 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47299
47299
|
$(i)
|
|
47300
47300
|
// Next track ID
|
|
47301
47301
|
]);
|
|
47302
|
-
},
|
|
47302
|
+
}, I6 = (s, e) => {
|
|
47303
47303
|
const t = VT(s);
|
|
47304
47304
|
return ye("trak", void 0, [
|
|
47305
|
-
|
|
47306
|
-
|
|
47305
|
+
T6(s, e),
|
|
47306
|
+
E6(s, e),
|
|
47307
47307
|
t.name !== void 0 ? ye("udta", void 0, [
|
|
47308
47308
|
ye("name", [
|
|
47309
47309
|
...vs.encode(t.name)
|
|
47310
47310
|
])
|
|
47311
47311
|
]) : null
|
|
47312
47312
|
]);
|
|
47313
|
-
},
|
|
47313
|
+
}, T6 = (s, e) => {
|
|
47314
47314
|
const t = Oc(s.samples), i = At(t ? t.timestamp + t.duration : 0, ql), a = !ba(e) || !ba(i), r = a ? zi : $;
|
|
47315
47315
|
let n;
|
|
47316
47316
|
if (s.type === "video") {
|
|
@@ -47347,11 +47347,11 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47347
47347
|
Ms(s.type === "video" ? s.info.height : 0)
|
|
47348
47348
|
// Track height
|
|
47349
47349
|
]);
|
|
47350
|
-
},
|
|
47351
|
-
|
|
47352
|
-
zc(!0,
|
|
47353
|
-
|
|
47354
|
-
]),
|
|
47350
|
+
}, E6 = (s, e) => ye("mdia", void 0, [
|
|
47351
|
+
N6(s, e),
|
|
47352
|
+
zc(!0, P6[s.type], V6[s.type]),
|
|
47353
|
+
F6(s)
|
|
47354
|
+
]), N6 = (s, e) => {
|
|
47355
47355
|
const t = Oc(s.samples), i = At(t ? t.timestamp + t.duration : 0, s.timescale), a = !ba(e) || !ba(i), r = a ? zi : $;
|
|
47356
47356
|
return Ze("mdhd", +a, 0, [
|
|
47357
47357
|
r(e),
|
|
@@ -47362,16 +47362,16 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47362
47362
|
// Timescale
|
|
47363
47363
|
r(i),
|
|
47364
47364
|
// Duration
|
|
47365
|
-
ge(Pp(s.track.metadata.languageCode ??
|
|
47365
|
+
ge(Pp(s.track.metadata.languageCode ?? v8)),
|
|
47366
47366
|
// Language
|
|
47367
47367
|
ge(0)
|
|
47368
47368
|
// Quality
|
|
47369
47369
|
]);
|
|
47370
|
-
},
|
|
47370
|
+
}, P6 = {
|
|
47371
47371
|
video: "vide",
|
|
47372
47372
|
audio: "soun",
|
|
47373
47373
|
subtitle: "text"
|
|
47374
|
-
},
|
|
47374
|
+
}, V6 = {
|
|
47375
47375
|
video: "MediabunnyVideoHandler",
|
|
47376
47376
|
audio: "MediabunnySoundHandler",
|
|
47377
47377
|
subtitle: "MediabunnyTextHandler"
|
|
@@ -47388,11 +47388,11 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47388
47388
|
// Component flags mask
|
|
47389
47389
|
Ft(t, !0)
|
|
47390
47390
|
// Component name
|
|
47391
|
-
]),
|
|
47392
|
-
|
|
47393
|
-
|
|
47394
|
-
|
|
47395
|
-
]),
|
|
47391
|
+
]), F6 = (s) => ye("minf", void 0, [
|
|
47392
|
+
L6[s.type](),
|
|
47393
|
+
O6(),
|
|
47394
|
+
D6(s)
|
|
47395
|
+
]), _6 = () => Ze("vmhd", 0, 1, [
|
|
47396
47396
|
ge(0),
|
|
47397
47397
|
// Graphics mode
|
|
47398
47398
|
ge(0),
|
|
@@ -47401,26 +47401,26 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47401
47401
|
// Opcolor G
|
|
47402
47402
|
ge(0)
|
|
47403
47403
|
// Opcolor B
|
|
47404
|
-
]),
|
|
47404
|
+
]), M6 = () => Ze("smhd", 0, 0, [
|
|
47405
47405
|
ge(0),
|
|
47406
47406
|
// Balance
|
|
47407
47407
|
ge(0)
|
|
47408
47408
|
// Reserved
|
|
47409
|
-
]),
|
|
47410
|
-
video:
|
|
47411
|
-
audio:
|
|
47412
|
-
subtitle:
|
|
47413
|
-
},
|
|
47414
|
-
|
|
47415
|
-
]),
|
|
47409
|
+
]), B6 = () => Ze("nmhd", 0, 0), L6 = {
|
|
47410
|
+
video: _6,
|
|
47411
|
+
audio: M6,
|
|
47412
|
+
subtitle: B6
|
|
47413
|
+
}, O6 = () => ye("dinf", void 0, [
|
|
47414
|
+
z6()
|
|
47415
|
+
]), z6 = () => Ze("dref", 0, 0, [
|
|
47416
47416
|
$(1)
|
|
47417
47417
|
// Entry count
|
|
47418
47418
|
], [
|
|
47419
|
-
|
|
47420
|
-
]),
|
|
47419
|
+
R6()
|
|
47420
|
+
]), R6 = () => Ze("url ", 0, 1), D6 = (s) => {
|
|
47421
47421
|
const e = s.compositionTimeOffsetTable.length > 1 || s.compositionTimeOffsetTable.some((t) => t.sampleCompositionTimeOffset !== 0);
|
|
47422
47422
|
return ye("stbl", void 0, [
|
|
47423
|
-
|
|
47423
|
+
U6(s),
|
|
47424
47424
|
eT(s),
|
|
47425
47425
|
e ? rT(s) : null,
|
|
47426
47426
|
e ? nT(s) : null,
|
|
@@ -47429,21 +47429,21 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47429
47429
|
aT(s),
|
|
47430
47430
|
tT(s)
|
|
47431
47431
|
]);
|
|
47432
|
-
},
|
|
47432
|
+
}, U6 = (s) => {
|
|
47433
47433
|
let e;
|
|
47434
47434
|
if (s.type === "video")
|
|
47435
|
-
e =
|
|
47435
|
+
e = Z6(ST(s.track.source._codec, s.info.decoderConfig.codec), s);
|
|
47436
47436
|
else if (s.type === "audio") {
|
|
47437
47437
|
const t = Np(s.track.source._codec, s.muxer.isQuickTime);
|
|
47438
|
-
J(t), e =
|
|
47439
|
-
} else s.type === "subtitle" && (e =
|
|
47438
|
+
J(t), e = Y6(t, s);
|
|
47439
|
+
} else s.type === "subtitle" && (e = J6(TT[s.track.source._codec], s));
|
|
47440
47440
|
return J(e), Ze("stsd", 0, 0, [
|
|
47441
47441
|
$(1)
|
|
47442
47442
|
// Entry count
|
|
47443
47443
|
], [
|
|
47444
47444
|
e
|
|
47445
47445
|
]);
|
|
47446
|
-
},
|
|
47446
|
+
}, Z6 = (s, e) => ye(s, [
|
|
47447
47447
|
Array(6).fill(0),
|
|
47448
47448
|
// Reserved
|
|
47449
47449
|
ge(1),
|
|
@@ -47474,8 +47474,8 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47474
47474
|
// Pre-defined
|
|
47475
47475
|
], [
|
|
47476
47476
|
AT[e.track.source._codec](e),
|
|
47477
|
-
|
|
47478
|
-
]),
|
|
47477
|
+
y8(e.info.decoderConfig.colorSpace) ? W6(e) : null
|
|
47478
|
+
]), W6 = (s) => ye("colr", [
|
|
47479
47479
|
Ft("nclx"),
|
|
47480
47480
|
// Colour type
|
|
47481
47481
|
ge(Pc[s.info.decoderConfig.colorSpace.primaries]),
|
|
@@ -47486,10 +47486,10 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47486
47486
|
// Matrix coefficients
|
|
47487
47487
|
ft((s.info.decoderConfig.colorSpace.fullRange ? 1 : 0) << 7)
|
|
47488
47488
|
// Full range flag
|
|
47489
|
-
]),
|
|
47489
|
+
]), H6 = (s) => s.info.decoderConfig && ye("avcC", [
|
|
47490
47490
|
// For AVC, description is an AVCDecoderConfigurationRecord, so nothing else to do here
|
|
47491
47491
|
...Us(s.info.decoderConfig.description)
|
|
47492
|
-
]),
|
|
47492
|
+
]), G6 = (s) => s.info.decoderConfig && ye("hvcC", [
|
|
47493
47493
|
// For HEVC, description is an HEVCDecoderConfigurationRecord, so nothing else to do here
|
|
47494
47494
|
...Us(s.info.decoderConfig.description)
|
|
47495
47495
|
]), rf = (s) => {
|
|
@@ -47512,7 +47512,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47512
47512
|
ge(0)
|
|
47513
47513
|
// Codec initialization data size
|
|
47514
47514
|
]);
|
|
47515
|
-
},
|
|
47515
|
+
}, q6 = (s) => ye("av1C", P8(s.info.decoderConfig.codec)), Y6 = (s, e) => {
|
|
47516
47516
|
let t = 0, i, a = 16;
|
|
47517
47517
|
if (As.includes(e.track.source._codec)) {
|
|
47518
47518
|
const r = e.track.source._codec, { sampleSize: n } = Aa(r);
|
|
@@ -47634,23 +47634,23 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47634
47634
|
...t
|
|
47635
47635
|
], Ze("esds", 0, 0, t);
|
|
47636
47636
|
}, Ks = (s) => ye("wave", void 0, [
|
|
47637
|
-
|
|
47638
|
-
|
|
47637
|
+
j6(s),
|
|
47638
|
+
X6(s),
|
|
47639
47639
|
ye("\0\0\0\0")
|
|
47640
47640
|
// NULL tag at the end
|
|
47641
|
-
]),
|
|
47641
|
+
]), j6 = (s) => ye("frma", [
|
|
47642
47642
|
Ft(Np(s.track.source._codec, s.muxer.isQuickTime))
|
|
47643
|
-
]),
|
|
47643
|
+
]), X6 = (s) => {
|
|
47644
47644
|
const { littleEndian: e } = Aa(s.track.source._codec);
|
|
47645
47645
|
return ye("enda", [
|
|
47646
47646
|
ge(+e)
|
|
47647
47647
|
]);
|
|
47648
|
-
},
|
|
47648
|
+
}, K6 = (s) => {
|
|
47649
47649
|
let e = s.info.numberOfChannels, t = 3840, i = s.info.sampleRate, a = 0, r = 0, n = new Uint8Array(0);
|
|
47650
47650
|
const o = s.info.decoderConfig?.description;
|
|
47651
47651
|
if (o) {
|
|
47652
47652
|
J(o.byteLength >= 18);
|
|
47653
|
-
const l = Us(o), c =
|
|
47653
|
+
const l = Us(o), c = a6(l);
|
|
47654
47654
|
e = c.outputChannelCount, t = c.preSkip, i = c.inputSampleRate, a = c.outputGain, r = c.channelMappingFamily, c.channelMappingTable && (n = c.channelMappingTable);
|
|
47655
47655
|
}
|
|
47656
47656
|
return ye("dOps", [
|
|
@@ -47668,7 +47668,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47668
47668
|
// ChannelMappingFamily
|
|
47669
47669
|
...n
|
|
47670
47670
|
]);
|
|
47671
|
-
},
|
|
47671
|
+
}, Q6 = (s) => {
|
|
47672
47672
|
const e = s.info.decoderConfig?.description;
|
|
47673
47673
|
J(e);
|
|
47674
47674
|
const t = Us(e);
|
|
@@ -47681,14 +47681,14 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47681
47681
|
ft(i),
|
|
47682
47682
|
ft(8 * t)
|
|
47683
47683
|
]);
|
|
47684
|
-
},
|
|
47684
|
+
}, J6 = (s, e) => ye(s, [
|
|
47685
47685
|
Array(6).fill(0),
|
|
47686
47686
|
// Reserved
|
|
47687
47687
|
ge(1)
|
|
47688
47688
|
// Data reference index
|
|
47689
47689
|
], [
|
|
47690
47690
|
ET[e.track.source._codec](e)
|
|
47691
|
-
]), $
|
|
47691
|
+
]), $6 = (s) => ye("vttC", [
|
|
47692
47692
|
...vs.encode(s.info.config.description)
|
|
47693
47693
|
]), eT = (s) => Ze("stts", 0, 0, [
|
|
47694
47694
|
$(s.timeToSampleTable.length),
|
|
@@ -47878,7 +47878,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47878
47878
|
]), yT = () => ye("vtte"), bT = (s, e, t, i, a) => ye("vttc", void 0, [
|
|
47879
47879
|
a !== null ? ye("vsid", [Qs(a)]) : null,
|
|
47880
47880
|
t !== null ? ye("iden", [...vs.encode(t)]) : null,
|
|
47881
|
-
e !== null ? ye("ctim", [...vs.encode(
|
|
47881
|
+
e !== null ? ye("ctim", [...vs.encode(C6(e))]) : null,
|
|
47882
47882
|
i !== null ? ye("sttg", [...vs.encode(i)]) : null,
|
|
47883
47883
|
ye("payl", [...vs.encode(s)])
|
|
47884
47884
|
]), wT = (s) => ye("vtta", [...vs.encode(s)]), vT = (s) => {
|
|
@@ -47930,7 +47930,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
47930
47930
|
case "images":
|
|
47931
47931
|
break;
|
|
47932
47932
|
default:
|
|
47933
|
-
|
|
47933
|
+
fo(t);
|
|
47934
47934
|
}
|
|
47935
47935
|
if (e.raw)
|
|
47936
47936
|
for (const t in e.raw) {
|
|
@@ -48029,7 +48029,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
48029
48029
|
case "raw":
|
|
48030
48030
|
break;
|
|
48031
48031
|
default:
|
|
48032
|
-
|
|
48032
|
+
fo(i);
|
|
48033
48033
|
}
|
|
48034
48034
|
if (s.raw)
|
|
48035
48035
|
for (const i in s.raw) {
|
|
@@ -48093,11 +48093,11 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
48093
48093
|
return "av01";
|
|
48094
48094
|
}
|
|
48095
48095
|
}, AT = {
|
|
48096
|
-
avc:
|
|
48097
|
-
hevc:
|
|
48096
|
+
avc: H6,
|
|
48097
|
+
hevc: G6,
|
|
48098
48098
|
vp8: rf,
|
|
48099
48099
|
vp9: rf,
|
|
48100
|
-
av1:
|
|
48100
|
+
av1: q6
|
|
48101
48101
|
}, Np = (s, e) => {
|
|
48102
48102
|
switch (s) {
|
|
48103
48103
|
case "aac":
|
|
@@ -48172,11 +48172,11 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
48172
48172
|
case "mp3":
|
|
48173
48173
|
return nl;
|
|
48174
48174
|
case "opus":
|
|
48175
|
-
return
|
|
48175
|
+
return K6;
|
|
48176
48176
|
case "vorbis":
|
|
48177
48177
|
return nl;
|
|
48178
48178
|
case "flac":
|
|
48179
|
-
return
|
|
48179
|
+
return Q6;
|
|
48180
48180
|
}
|
|
48181
48181
|
if (e)
|
|
48182
48182
|
switch (s) {
|
|
@@ -48224,7 +48224,7 @@ const ze = /* @__PURE__ */ new Uint8Array(8), Is = /* @__PURE__ */ new DataView(
|
|
|
48224
48224
|
}, TT = {
|
|
48225
48225
|
webvtt: "wvtt"
|
|
48226
48226
|
}, ET = {
|
|
48227
|
-
webvtt: $
|
|
48227
|
+
webvtt: $6
|
|
48228
48228
|
}, Pp = (s) => {
|
|
48229
48229
|
J(s.length === 3);
|
|
48230
48230
|
let e = 0;
|
|
@@ -48361,15 +48361,15 @@ const ql = 1e3, PT = 2082844800, VT = (s) => {
|
|
|
48361
48361
|
const i = s * e;
|
|
48362
48362
|
return t ? Math.round(i) : i;
|
|
48363
48363
|
};
|
|
48364
|
-
class FT extends
|
|
48364
|
+
class FT extends x6 {
|
|
48365
48365
|
constructor(e, t) {
|
|
48366
|
-
super(e), this.auxTarget = new _p(), this.auxWriter = this.auxTarget._createWriter(), this.auxBoxWriter = new af(this.auxWriter), this.mdat = null, this.ftypSize = null, this.trackDatas = [], this.allTracksKnown =
|
|
48366
|
+
super(e), this.auxTarget = new _p(), this.auxWriter = this.auxTarget._createWriter(), this.auxBoxWriter = new af(this.auxWriter), this.mdat = null, this.ftypSize = null, this.trackDatas = [], this.allTracksKnown = b8(), this.creationTime = Math.floor(Date.now() / 1e3) + PT, this.finalizedChunks = [], this.nextFragmentNumber = 1, this.maxWrittenTimestamp = -1 / 0, this.format = t, this.writer = e._writer, this.boxWriter = new af(this.writer), this.isQuickTime = t instanceof Op;
|
|
48367
48367
|
const i = this.writer instanceof Vp ? "in-memory" : !1;
|
|
48368
48368
|
this.fastStart = t._options.fastStart ?? i, this.isFragmented = this.fastStart === "fragmented", (this.fastStart === "in-memory" || this.isFragmented) && (this.writer.ensureMonotonicity = !0), this.minimumFragmentDuration = t._options.minimumFragmentDuration ?? 1;
|
|
48369
48369
|
}
|
|
48370
48370
|
async start() {
|
|
48371
48371
|
const e = await this.mutex.acquire(), t = this.output._tracks.some((i) => i.type === "video" && i.source._codec === "avc");
|
|
48372
|
-
if (this.format._options.onFtyp && this.writer.startTrackingWrites(), this.boxWriter.writeBox(
|
|
48372
|
+
if (this.format._options.onFtyp && this.writer.startTrackingWrites(), this.boxWriter.writeBox(k6({
|
|
48373
48373
|
isQuickTime: this.isQuickTime,
|
|
48374
48374
|
holdsAvc: t,
|
|
48375
48375
|
fragmented: this.isFragmented
|
|
@@ -48381,7 +48381,7 @@ class FT extends x8 {
|
|
|
48381
48381
|
for (const i of this.output._tracks)
|
|
48382
48382
|
if (i.metadata.maximumPacketCount === void 0)
|
|
48383
48383
|
throw new Error("All tracks must specify maximumPacketCount in their metadata when using fastStart: 'reserve'.");
|
|
48384
|
-
} else this.isFragmented || (this.format._options.onMdat && this.writer.startTrackingWrites(), this.mdat =
|
|
48384
|
+
} else this.isFragmented || (this.format._options.onMdat && this.writer.startTrackingWrites(), this.mdat = Qr(!0), this.boxWriter.writeBox(this.mdat));
|
|
48385
48385
|
await this.writer.flush(), e();
|
|
48386
48386
|
}
|
|
48387
48387
|
allTracksAreKnown() {
|
|
@@ -48395,7 +48395,7 @@ class FT extends x8 {
|
|
|
48395
48395
|
const e = this.trackDatas.map((t) => t.type === "video" || t.type === "audio" ? t.info.decoderConfig.codec : {
|
|
48396
48396
|
webvtt: "wvtt"
|
|
48397
48397
|
}[t.track.source._codec]);
|
|
48398
|
-
return
|
|
48398
|
+
return g6({
|
|
48399
48399
|
isQuickTime: this.isQuickTime,
|
|
48400
48400
|
hasVideo: this.trackDatas.some((t) => t.type === "video"),
|
|
48401
48401
|
hasAudio: this.trackDatas.some((t) => t.type === "audio"),
|
|
@@ -48406,22 +48406,22 @@ class FT extends x8 {
|
|
|
48406
48406
|
const a = this.trackDatas.find((c) => c.track === e);
|
|
48407
48407
|
if (a)
|
|
48408
48408
|
return a;
|
|
48409
|
-
|
|
48409
|
+
D8(i), J(i), J(i.decoderConfig);
|
|
48410
48410
|
const r = { ...i.decoderConfig };
|
|
48411
48411
|
J(r.codedWidth !== void 0), J(r.codedHeight !== void 0);
|
|
48412
48412
|
let n = !1;
|
|
48413
48413
|
if (e.source._codec === "avc" && !r.description) {
|
|
48414
|
-
const c =
|
|
48414
|
+
const c = q8(t.data);
|
|
48415
48415
|
if (!c)
|
|
48416
48416
|
throw new Error("Couldn't extract an AVCDecoderConfigurationRecord from the AVC packet. Make sure the packets are in Annex B format (as specified in ITU-T-REC-H.264) when not providing a description, or provide a description (must be an AVCDecoderConfigurationRecord as specified in ISO 14496-15) and ensure the packets are in AVCC format.");
|
|
48417
|
-
r.description =
|
|
48417
|
+
r.description = Y8(c), n = !0;
|
|
48418
48418
|
} else if (e.source._codec === "hevc" && !r.description) {
|
|
48419
|
-
const c =
|
|
48419
|
+
const c = K8(t.data);
|
|
48420
48420
|
if (!c)
|
|
48421
48421
|
throw new Error("Couldn't extract an HEVCDecoderConfigurationRecord from the HEVC packet. Make sure the packets are in Annex B format (as specified in ITU-T-REC-H.265) when not providing a description, or provide a description (must be an HEVCDecoderConfigurationRecord as specified in ISO 14496-15) and ensure the packets are in HEVC format.");
|
|
48422
|
-
r.description =
|
|
48422
|
+
r.description = i6(c), n = !0;
|
|
48423
48423
|
}
|
|
48424
|
-
const o =
|
|
48424
|
+
const o = k8(1 / (e.metadata.frameRate ?? 57600), 1e6).denominator, l = {
|
|
48425
48425
|
muxer: this,
|
|
48426
48426
|
track: e,
|
|
48427
48427
|
type: "video",
|
|
@@ -48449,14 +48449,14 @@ class FT extends x8 {
|
|
|
48449
48449
|
const a = this.trackDatas.find((l) => l.track === e);
|
|
48450
48450
|
if (a)
|
|
48451
48451
|
return a;
|
|
48452
|
-
|
|
48452
|
+
Z8(i), J(i), J(i.decoderConfig);
|
|
48453
48453
|
const r = { ...i.decoderConfig };
|
|
48454
48454
|
let n = !1;
|
|
48455
48455
|
if (e.source._codec === "aac" && !r.description) {
|
|
48456
48456
|
const l = tf(wr.tempFromBytes(t.data));
|
|
48457
48457
|
if (!l)
|
|
48458
48458
|
throw new Error("Couldn't parse ADTS header from the AAC packet. Make sure the packets are in ADTS format (as specified in ISO 13818-7) when not providing a description, or provide a description (must be an AudioSpecificConfig as specified in ISO 14496-3) and ensure the packets are raw AAC data.");
|
|
48459
|
-
const c =
|
|
48459
|
+
const c = Wn[l.samplingFrequencyIndex], d = Mc[l.channelConfiguration];
|
|
48460
48460
|
if (c === void 0 || d === void 0)
|
|
48461
48461
|
throw new Error("Invalid ADTS frame header.");
|
|
48462
48462
|
r.description = gp({
|
|
@@ -48494,7 +48494,7 @@ class FT extends x8 {
|
|
|
48494
48494
|
const i = this.trackDatas.find((r) => r.track === e);
|
|
48495
48495
|
if (i)
|
|
48496
48496
|
return i;
|
|
48497
|
-
|
|
48497
|
+
W8(t), J(t), J(t.config);
|
|
48498
48498
|
const a = {
|
|
48499
48499
|
muxer: this,
|
|
48500
48500
|
track: e,
|
|
@@ -48530,7 +48530,7 @@ class FT extends x8 {
|
|
|
48530
48530
|
const c = [...Bc(n)].map((d) => n.subarray(d.offset, d.offset + d.length));
|
|
48531
48531
|
if (c.length === 0)
|
|
48532
48532
|
throw new Error("Failed to transform packet data. Make sure all packets are provided in Annex B format, as specified in ITU-T-REC-H.264 and ITU-T-REC-H.265.");
|
|
48533
|
-
n =
|
|
48533
|
+
n = G8(c, 4);
|
|
48534
48534
|
}
|
|
48535
48535
|
const o = this.validateAndNormalizeTimestamp(r.track, t.timestamp, t.type === "key"), l = this.createSampleForTrack(r, n, o, t.duration, t.type);
|
|
48536
48536
|
await this.registerSample(r, l);
|
|
@@ -48547,7 +48547,7 @@ class FT extends x8 {
|
|
|
48547
48547
|
const c = tf(wr.tempFromBytes(n));
|
|
48548
48548
|
if (!c)
|
|
48549
48549
|
throw new Error("Expected ADTS frame, didn't get one.");
|
|
48550
|
-
const d = c.crcCheck === null ?
|
|
48550
|
+
const d = c.crcCheck === null ? m6 : y6;
|
|
48551
48551
|
n = n.subarray(d);
|
|
48552
48552
|
}
|
|
48553
48553
|
const o = this.validateAndNormalizeTimestamp(r.track, t.timestamp, t.type === "key"), l = this.createSampleForTrack(r, n, o, t.duration, t.type);
|
|
@@ -48780,7 +48780,7 @@ class FT extends x8 {
|
|
|
48780
48780
|
this.format._options.onMoof(p, m, l);
|
|
48781
48781
|
}
|
|
48782
48782
|
J(this.writer.getPos() === n), this.format._options.onMdat && this.writer.startTrackingWrites();
|
|
48783
|
-
const h =
|
|
48783
|
+
const h = Qr(d);
|
|
48784
48784
|
h.size = c, this.boxWriter.writeBox(h), this.writer.seek(n + (d ? ef : il));
|
|
48785
48785
|
for (const p of i)
|
|
48786
48786
|
for (const m of p.currentChunk.samples)
|
|
@@ -48797,7 +48797,7 @@ class FT extends x8 {
|
|
|
48797
48797
|
if (this.allTracksAreKnown()) {
|
|
48798
48798
|
if (!this.mdat) {
|
|
48799
48799
|
const i = Wa(this), r = this.boxWriter.measureBox(i) + this.computeSampleTableSizeUpperBound() + 4096;
|
|
48800
|
-
J(this.ftypSize !== null), this.writer.seek(this.ftypSize + r), this.format._options.onMdat && this.writer.startTrackingWrites(), this.mdat =
|
|
48800
|
+
J(this.ftypSize !== null), this.writer.seek(this.ftypSize + r), this.format._options.onMdat && this.writer.startTrackingWrites(), this.mdat = Qr(!0), this.boxWriter.writeBox(this.mdat);
|
|
48801
48801
|
for (const n of this.trackDatas) {
|
|
48802
48802
|
for (const o of n.sampleQueue)
|
|
48803
48803
|
await this.addSampleToTrack(n, o);
|
|
@@ -48841,7 +48841,7 @@ class FT extends x8 {
|
|
|
48841
48841
|
for (const t of this.trackDatas)
|
|
48842
48842
|
this.processTimestamps(t), await this.finalizeCurrentChunk(t);
|
|
48843
48843
|
if (this.fastStart === "in-memory") {
|
|
48844
|
-
this.mdat =
|
|
48844
|
+
this.mdat = Qr(!1);
|
|
48845
48845
|
let t;
|
|
48846
48846
|
for (let a = 0; a < 2; a++) {
|
|
48847
48847
|
const r = Wa(this), n = this.boxWriter.measureBox(r);
|
|
@@ -48888,7 +48888,7 @@ class FT extends x8 {
|
|
|
48888
48888
|
if (this.fastStart === "reserve") {
|
|
48889
48889
|
J(this.ftypSize !== null), this.writer.seek(this.ftypSize), this.format._options.onMoov && this.writer.startTrackingWrites(), this.boxWriter.writeBox(a);
|
|
48890
48890
|
const r = this.boxWriter.offsets.get(this.mdat) - this.writer.getPos();
|
|
48891
|
-
this.boxWriter.writeBox(
|
|
48891
|
+
this.boxWriter.writeBox(S6(r));
|
|
48892
48892
|
} else
|
|
48893
48893
|
this.format._options.onMoov && this.writer.startTrackingWrites(), this.boxWriter.writeBox(a);
|
|
48894
48894
|
if (this.format._options.onMoov) {
|
|
@@ -48917,7 +48917,7 @@ class Mp {
|
|
|
48917
48917
|
}
|
|
48918
48918
|
/** Returns a list of subtitle codecs that this output format can contain. */
|
|
48919
48919
|
getSupportedSubtitleCodecs() {
|
|
48920
|
-
return this.getSupportedCodecs().filter((e) =>
|
|
48920
|
+
return this.getSupportedCodecs().filter((e) => Un.includes(e));
|
|
48921
48921
|
}
|
|
48922
48922
|
/** @internal */
|
|
48923
48923
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -48992,7 +48992,7 @@ class Lp extends Bp {
|
|
|
48992
48992
|
"pcm-f32be",
|
|
48993
48993
|
"pcm-f64",
|
|
48994
48994
|
"pcm-f64be",
|
|
48995
|
-
...
|
|
48995
|
+
...Un
|
|
48996
48996
|
];
|
|
48997
48997
|
}
|
|
48998
48998
|
/** @internal */
|
|
@@ -49038,7 +49038,7 @@ const _T = (s) => {
|
|
|
49038
49038
|
throw new TypeError("Encoding config must be an object.");
|
|
49039
49039
|
if (!Oi.includes(s.codec))
|
|
49040
49040
|
throw new TypeError(`Invalid video codec '${s.codec}'. Must be one of: ${Oi.join(", ")}.`);
|
|
49041
|
-
if (!(s.bitrate instanceof
|
|
49041
|
+
if (!(s.bitrate instanceof ho) && (!Number.isInteger(s.bitrate) || s.bitrate <= 0))
|
|
49042
49042
|
throw new TypeError("config.bitrate must be a positive integer or a quality.");
|
|
49043
49043
|
if (s.keyFrameInterval !== void 0 && (!Number.isFinite(s.keyFrameInterval) || s.keyFrameInterval < 0))
|
|
49044
49044
|
throw new TypeError("config.keyFrameInterval, when provided, must be a non-negative number.");
|
|
@@ -49069,9 +49069,9 @@ const _T = (s) => {
|
|
|
49069
49069
|
if (e.contentHint !== void 0 && typeof e.contentHint != "string")
|
|
49070
49070
|
throw new TypeError("contentHint, when provided, must be a string.");
|
|
49071
49071
|
}, BT = (s) => {
|
|
49072
|
-
const e = s.bitrate instanceof
|
|
49072
|
+
const e = s.bitrate instanceof ho ? s.bitrate._toVideoBitrate(s.codec, s.width, s.height) : s.bitrate;
|
|
49073
49073
|
return {
|
|
49074
|
-
codec: s.fullCodecString ??
|
|
49074
|
+
codec: s.fullCodecString ?? N8(s.codec, s.width, s.height, e),
|
|
49075
49075
|
width: s.width,
|
|
49076
49076
|
height: s.height,
|
|
49077
49077
|
bitrate: e,
|
|
@@ -49082,7 +49082,7 @@ const _T = (s) => {
|
|
|
49082
49082
|
hardwareAcceleration: s.hardwareAcceleration,
|
|
49083
49083
|
scalabilityMode: s.scalabilityMode,
|
|
49084
49084
|
contentHint: s.contentHint,
|
|
49085
|
-
...
|
|
49085
|
+
..._8(s.codec)
|
|
49086
49086
|
};
|
|
49087
49087
|
}, LT = (s) => {
|
|
49088
49088
|
if (!s || typeof s != "object")
|
|
@@ -49091,7 +49091,7 @@ const _T = (s) => {
|
|
|
49091
49091
|
throw new TypeError(`Invalid audio codec '${s.codec}'. Must be one of: ${wa.join(", ")}.`);
|
|
49092
49092
|
if (s.bitrate === void 0 && (!As.includes(s.codec) || s.codec === "flac"))
|
|
49093
49093
|
throw new TypeError("config.bitrate must be provided for compressed audio codecs.");
|
|
49094
|
-
if (s.bitrate !== void 0 && !(s.bitrate instanceof
|
|
49094
|
+
if (s.bitrate !== void 0 && !(s.bitrate instanceof ho) && (!Number.isInteger(s.bitrate) || s.bitrate <= 0))
|
|
49095
49095
|
throw new TypeError("config.bitrate, when provided, must be a positive integer or a quality.");
|
|
49096
49096
|
if (s.onEncodedPacket !== void 0 && typeof s.onEncodedPacket != "function")
|
|
49097
49097
|
throw new TypeError("config.onEncodedChunk, when provided, must be a function.");
|
|
@@ -49108,17 +49108,17 @@ const _T = (s) => {
|
|
|
49108
49108
|
if (e.fullCodecString !== void 0 && yp(e.fullCodecString) !== s)
|
|
49109
49109
|
throw new TypeError(`fullCodecString, when provided, must be a string that matches the specified codec (${s}).`);
|
|
49110
49110
|
}, zT = (s) => {
|
|
49111
|
-
const e = s.bitrate instanceof
|
|
49111
|
+
const e = s.bitrate instanceof ho ? s.bitrate._toAudioBitrate(s.codec) : s.bitrate;
|
|
49112
49112
|
return {
|
|
49113
|
-
codec: s.fullCodecString ??
|
|
49113
|
+
codec: s.fullCodecString ?? V8(s.codec, s.numberOfChannels, s.sampleRate),
|
|
49114
49114
|
numberOfChannels: s.numberOfChannels,
|
|
49115
49115
|
sampleRate: s.sampleRate,
|
|
49116
49116
|
bitrate: e,
|
|
49117
49117
|
bitrateMode: s.bitrateMode,
|
|
49118
|
-
...
|
|
49118
|
+
...M8(s.codec)
|
|
49119
49119
|
};
|
|
49120
49120
|
};
|
|
49121
|
-
class
|
|
49121
|
+
class ho {
|
|
49122
49122
|
/** @internal */
|
|
49123
49123
|
constructor(e) {
|
|
49124
49124
|
this._factor = e;
|
|
@@ -49316,7 +49316,7 @@ class RT {
|
|
|
49316
49316
|
framerate: this.source._connectedTrack?.metadata.frameRate
|
|
49317
49317
|
});
|
|
49318
49318
|
this.encodingConfig.onEncoderConfig?.(i);
|
|
49319
|
-
const a =
|
|
49319
|
+
const a = r6.find((r) => r.supports(this.encodingConfig.codec, i));
|
|
49320
49320
|
if (a)
|
|
49321
49321
|
this.customEncoder = new a(), this.customEncoder.codec = this.encodingConfig.codec, this.customEncoder.config = i, this.customEncoder.onPacket = (r, n) => {
|
|
49322
49322
|
if (!(r instanceof ni))
|
|
@@ -49670,7 +49670,7 @@ class ZT {
|
|
|
49670
49670
|
...this.encodingConfig
|
|
49671
49671
|
});
|
|
49672
49672
|
this.encodingConfig.onEncoderConfig?.(r);
|
|
49673
|
-
const n =
|
|
49673
|
+
const n = n6.find((o) => o.supports(this.encodingConfig.codec, r));
|
|
49674
49674
|
if (n)
|
|
49675
49675
|
this.customEncoder = new n(), this.customEncoder.codec = this.encodingConfig.codec, this.customEncoder.config = r, this.customEncoder.onPacket = (o, l) => {
|
|
49676
49676
|
if (!(o instanceof ni))
|
|
@@ -49692,7 +49692,7 @@ class ZT {
|
|
|
49692
49692
|
output: (l, c) => {
|
|
49693
49693
|
if (this.encodingConfig.codec === "aac" && c?.decoderConfig) {
|
|
49694
49694
|
let u = !1;
|
|
49695
|
-
if (!c.decoderConfig.description || c.decoderConfig.description.byteLength < 2 ? u = !0 : u =
|
|
49695
|
+
if (!c.decoderConfig.description || c.decoderConfig.description.byteLength < 2 ? u = !0 : u = F8(Us(c.decoderConfig.description)).objectType === 0, u) {
|
|
49696
49696
|
const h = Number(Kt(r.codec.split(".")));
|
|
49697
49697
|
c.decoderConfig.description = gp({
|
|
49698
49698
|
objectType: h,
|
|
@@ -49723,17 +49723,17 @@ class ZT {
|
|
|
49723
49723
|
r.setInt8(n, Ut(Math.round(o * 128), -128, 127));
|
|
49724
49724
|
} : t === "ulaw" ? this.writeOutputValue = (r, n, o) => {
|
|
49725
49725
|
const l = Ut(Math.floor(o * 32767), -32768, 32767);
|
|
49726
|
-
r.setUint8(n,
|
|
49726
|
+
r.setUint8(n, o6(l));
|
|
49727
49727
|
} : t === "alaw" ? this.writeOutputValue = (r, n, o) => {
|
|
49728
49728
|
const l = Ut(Math.floor(o * 32767), -32768, 32767);
|
|
49729
|
-
r.setUint8(n,
|
|
49729
|
+
r.setUint8(n, l6(l));
|
|
49730
49730
|
} : J(!1);
|
|
49731
49731
|
break;
|
|
49732
49732
|
case 2:
|
|
49733
49733
|
t === "unsigned" ? this.writeOutputValue = (r, n, o) => r.setUint16(n, Ut((o + 1) * 32767.5, 0, 65535), a) : t === "signed" ? this.writeOutputValue = (r, n, o) => r.setInt16(n, Ut(Math.round(o * 32767), -32768, 32767), a) : J(!1);
|
|
49734
49734
|
break;
|
|
49735
49735
|
case 3:
|
|
49736
|
-
t === "unsigned" ? this.writeOutputValue = (r, n, o) => _c(r, n, Ut((o + 1) * 83886075e-1, 0, 16777215), a) : t === "signed" ? this.writeOutputValue = (r, n, o) =>
|
|
49736
|
+
t === "unsigned" ? this.writeOutputValue = (r, n, o) => _c(r, n, Ut((o + 1) * 83886075e-1, 0, 16777215), a) : t === "signed" ? this.writeOutputValue = (r, n, o) => w8(r, n, Ut(Math.round(o * 8388607), -8388608, 8388607), a) : J(!1);
|
|
49737
49737
|
break;
|
|
49738
49738
|
case 4:
|
|
49739
49739
|
t === "unsigned" ? this.writeOutputValue = (r, n, o) => r.setUint32(n, Ut((o + 1) * 21474836475e-1, 0, 4294967295), a) : t === "signed" ? this.writeOutputValue = (r, n, o) => r.setInt32(n, Ut(Math.round(o * 2147483647), -2147483648, 2147483647), a) : t === "float" ? this.writeOutputValue = (r, n, o) => r.setFloat32(n, o, a) : J(!1);
|
|
@@ -49742,7 +49742,7 @@ class ZT {
|
|
|
49742
49742
|
t === "float" ? this.writeOutputValue = (r, n, o) => r.setFloat64(n, o, a) : J(!1);
|
|
49743
49743
|
break;
|
|
49744
49744
|
default:
|
|
49745
|
-
|
|
49745
|
+
fo(i), J(!1);
|
|
49746
49746
|
}
|
|
49747
49747
|
}
|
|
49748
49748
|
async flushAndClose(e) {
|
|
@@ -49783,8 +49783,8 @@ class WT extends Rp {
|
|
|
49783
49783
|
class HT extends Rc {
|
|
49784
49784
|
/** Internal constructor. */
|
|
49785
49785
|
constructor(e) {
|
|
49786
|
-
if (super(), this._connectedTrack = null, !
|
|
49787
|
-
throw new TypeError(`Invalid subtitle codec '${e}'. Must be one of: ${
|
|
49786
|
+
if (super(), this._connectedTrack = null, !Un.includes(e))
|
|
49787
|
+
throw new TypeError(`Invalid subtitle codec '${e}'. Must be one of: ${Un.join(", ")}.`);
|
|
49788
49788
|
this._codec = e;
|
|
49789
49789
|
}
|
|
49790
49790
|
}
|
|
@@ -49798,11 +49798,11 @@ class HT extends Rc {
|
|
|
49798
49798
|
const GT = ["video", "audio", "subtitle"], cl = (s) => {
|
|
49799
49799
|
if (!s || typeof s != "object")
|
|
49800
49800
|
throw new TypeError("metadata must be an object.");
|
|
49801
|
-
if (s.languageCode !== void 0 && !
|
|
49801
|
+
if (s.languageCode !== void 0 && !C8(s.languageCode))
|
|
49802
49802
|
throw new TypeError("metadata.languageCode, when provided, must be a three-letter, ISO 639-2/T language code.");
|
|
49803
49803
|
if (s.name !== void 0 && typeof s.name != "string")
|
|
49804
49804
|
throw new TypeError("metadata.name, when provided, must be a string.");
|
|
49805
|
-
if (s.disposition !== void 0 &&
|
|
49805
|
+
if (s.disposition !== void 0 && E8(s.disposition), s.maximumPacketCount !== void 0 && (!Number.isInteger(s.maximumPacketCount) || s.maximumPacketCount < 0))
|
|
49806
49806
|
throw new TypeError("metadata.maximumPacketCount, when provided, must be a non-negative integer.");
|
|
49807
49807
|
};
|
|
49808
49808
|
class qT {
|
|
@@ -49852,7 +49852,7 @@ class qT {
|
|
|
49852
49852
|
* Can only be called before the output is started.
|
|
49853
49853
|
*/
|
|
49854
49854
|
setMetadataTags(e) {
|
|
49855
|
-
if (
|
|
49855
|
+
if (T8(e), this.state !== "pending")
|
|
49856
49856
|
throw new Error("Cannot set metadata tags after output has been started or canceled.");
|
|
49857
49857
|
this._metadataTags = e;
|
|
49858
49858
|
}
|
|
@@ -50078,12 +50078,12 @@ class lf extends Map {
|
|
|
50078
50078
|
return this;
|
|
50079
50079
|
}
|
|
50080
50080
|
}
|
|
50081
|
-
class
|
|
50081
|
+
class on extends Error {
|
|
50082
50082
|
constructor(e, t = "unknown", i = {}, a) {
|
|
50083
50083
|
super(e), this.phase = t, this.context = i, this.name = "ExportError", this.cause = a;
|
|
50084
50084
|
}
|
|
50085
50085
|
}
|
|
50086
|
-
class XT extends
|
|
50086
|
+
class XT extends on {
|
|
50087
50087
|
constructor(e, t) {
|
|
50088
50088
|
super(e, "initialization", { missingFeatures: t }), this.name = "BrowserCompatibilityError";
|
|
50089
50089
|
}
|
|
@@ -50175,14 +50175,14 @@ class g9 {
|
|
|
50175
50175
|
videoProcessor = new KT();
|
|
50176
50176
|
audioProcessor = new YT();
|
|
50177
50177
|
progressUI = new jT();
|
|
50178
|
-
exportCommand = new
|
|
50178
|
+
exportCommand = new m8();
|
|
50179
50179
|
constructor(e, t) {
|
|
50180
50180
|
this.edit = e, this.canvas = t, this.app = t.application, document.addEventListener("keydown", this.handleKeyDown);
|
|
50181
50181
|
}
|
|
50182
50182
|
async export(e = "shotstack-export.mp4", t) {
|
|
50183
50183
|
if (typeof VideoEncoder > "u")
|
|
50184
50184
|
throw new XT("WebCodecs API not supported", ["VideoEncoder"]);
|
|
50185
|
-
if (this.isExporting) throw new
|
|
50185
|
+
if (this.isExporting) throw new on("Export in progress", "init");
|
|
50186
50186
|
this.isExporting = !0;
|
|
50187
50187
|
const i = this.saveEditState();
|
|
50188
50188
|
this.edit.setExportMode(!0);
|
|
@@ -50203,7 +50203,7 @@ class g9 {
|
|
|
50203
50203
|
const u = new Blob([d], { type: "video/mp4" }), h = URL.createObjectURL(u), p = document.createElement("a");
|
|
50204
50204
|
p.href = h, p.download = e, p.click(), URL.revokeObjectURL(h), this.progressUI.update(100, 100, "Complete!");
|
|
50205
50205
|
} catch (a) {
|
|
50206
|
-
throw a instanceof
|
|
50206
|
+
throw a instanceof on ? a : new on(`Export failed: ${a}`, "export");
|
|
50207
50207
|
} finally {
|
|
50208
50208
|
this.isExporting = !1, this.edit.setExportMode(!1), this.canvas.resumeTicker(), this.progressUI.remove(), this.restoreEditState(i);
|
|
50209
50209
|
}
|
|
@@ -51329,7 +51329,7 @@ class lE {
|
|
|
51329
51329
|
this.moveCommand.dispose(), this.pushedClipIds = [];
|
|
51330
51330
|
}
|
|
51331
51331
|
}
|
|
51332
|
-
class
|
|
51332
|
+
class Jr {
|
|
51333
51333
|
constructor(e, t, i) {
|
|
51334
51334
|
this.trackIndex = e, this.clipIndex = t, this.newLength = i;
|
|
51335
51335
|
}
|
|
@@ -51374,34 +51374,34 @@ class $r {
|
|
|
51374
51374
|
}), e.propagateTimingChanges(this.trackIndex, this.clipIndex), we();
|
|
51375
51375
|
}
|
|
51376
51376
|
}
|
|
51377
|
-
function
|
|
51377
|
+
function po(s, e, t) {
|
|
51378
51378
|
if (e) return e;
|
|
51379
51379
|
const i = document.createElement("div");
|
|
51380
51380
|
return i.className = t, s.appendChild(i), i;
|
|
51381
51381
|
}
|
|
51382
51382
|
function hf(s, e, t) {
|
|
51383
|
-
const i =
|
|
51383
|
+
const i = po(s.container, s.snapLine, "ss-snap-line"), a = Nc(e, t.pixelsPerSecond) - t.scrollLeft;
|
|
51384
51384
|
return i.style.left = `${a}px`, i.style.display = "block", i;
|
|
51385
51385
|
}
|
|
51386
|
-
function
|
|
51386
|
+
function ln(s) {
|
|
51387
51387
|
s && (s.style.display = "none");
|
|
51388
51388
|
}
|
|
51389
51389
|
function cE(s, e, t) {
|
|
51390
|
-
const i =
|
|
51390
|
+
const i = po(s.container, s.dropZone, "ss-drop-zone");
|
|
51391
51391
|
return i.style.top = `${e - 2 + t}px`, i.style.display = "block", i;
|
|
51392
51392
|
}
|
|
51393
51393
|
function Hp(s) {
|
|
51394
51394
|
s && (s.style.display = "none");
|
|
51395
51395
|
}
|
|
51396
51396
|
function fl(s, e, t, i) {
|
|
51397
|
-
const a =
|
|
51397
|
+
const a = po(s.container, s.dragTimeTooltip, "ss-drag-time-tooltip");
|
|
51398
51398
|
return a.textContent = UI(e), a.style.left = `${t}px`, a.style.top = `${i - 28}px`, a.style.display = "block", a;
|
|
51399
51399
|
}
|
|
51400
51400
|
function Gp(s) {
|
|
51401
51401
|
s && (s.style.display = "none");
|
|
51402
51402
|
}
|
|
51403
51403
|
function dE(s, e, t, i, a, r) {
|
|
51404
|
-
const n =
|
|
51404
|
+
const n = po(s.container, s.lumaConnectionLine, "ss-luma-connection-line"), o = Nc(e.config.start, r);
|
|
51405
51405
|
return n.style.left = `${o}px`, n.style.top = `${t + a}px`, n.style.height = `${i}px`, n.classList.add("active"), n;
|
|
51406
51406
|
}
|
|
51407
51407
|
function Dc(s) {
|
|
@@ -51436,7 +51436,7 @@ function hl(s, e) {
|
|
|
51436
51436
|
return e.getBoundingClientRect().top - i.top;
|
|
51437
51437
|
}
|
|
51438
51438
|
function hE(s, e = null) {
|
|
51439
|
-
return
|
|
51439
|
+
return ln(s.snapLine), Hp(s.dropZone), Gp(s.dragTimeTooltip), ja(s, e), {
|
|
51440
51440
|
container: s.container,
|
|
51441
51441
|
snapLine: s.snapLine,
|
|
51442
51442
|
// Keep pooled elements
|
|
@@ -51565,7 +51565,7 @@ class xE {
|
|
|
51565
51565
|
}
|
|
51566
51566
|
handlePendingMove(e, t) {
|
|
51567
51567
|
const i = e.clientX - t.startPoint.x, a = e.clientY - t.startPoint.y;
|
|
51568
|
-
|
|
51568
|
+
e8(i, a, this.config.dragThreshold) && this.transitionToDragging(e, t);
|
|
51569
51569
|
}
|
|
51570
51570
|
transitionToDragging(e, t) {
|
|
51571
51571
|
this.trackYCache = null;
|
|
@@ -51614,7 +51614,7 @@ class xE {
|
|
|
51614
51614
|
// ─── Drag Behavior Helpers ─────────────────────────────────────────────────
|
|
51615
51615
|
applySnapAndShowLine(e, t) {
|
|
51616
51616
|
const i = this.applySnap(e);
|
|
51617
|
-
return i !== null ? (this.feedbackElements.snapLine = hf(this.feedbackElements, i, t), i) : (
|
|
51617
|
+
return i !== null ? (this.feedbackElements.snapLine = hf(this.feedbackElements, i, t), i) : (ln(this.feedbackElements.snapLine), e);
|
|
51618
51618
|
}
|
|
51619
51619
|
applyDragBehavior(e, t, i, a) {
|
|
51620
51620
|
switch (t.type) {
|
|
@@ -51684,7 +51684,7 @@ class xE {
|
|
|
51684
51684
|
const n = { pixelsPerSecond: r, scrollLeft: a }, o = e.clientX - i.left + a;
|
|
51685
51685
|
let l = Math.max(0, o / r);
|
|
51686
51686
|
const c = this.applySnap(l);
|
|
51687
|
-
c !== null ? (l = c, this.feedbackElements.snapLine = hf(this.feedbackElements, l, n)) :
|
|
51687
|
+
c !== null ? (l = c, this.feedbackElements.snapLine = hf(this.feedbackElements, l, n)) : ln(this.feedbackElements.snapLine);
|
|
51688
51688
|
const { edge: d, originalStart: u, originalLength: h, clipElement: p } = t;
|
|
51689
51689
|
if (d === "left") {
|
|
51690
51690
|
const m = u + h, w = Math.max(0, Math.min(l, m - 0.1)), x = m - w;
|
|
@@ -51715,7 +51715,7 @@ class xE {
|
|
|
51715
51715
|
completeDrag(e, t) {
|
|
51716
51716
|
const { clipRef: i, clipElement: a, ghost: r, originalStyles: n, dragTarget: o, collisionResult: l, altKeyHeld: c, startTime: d, originalTrack: u } = t;
|
|
51717
51717
|
mE(a, n);
|
|
51718
|
-
const h = this.stateManager.getClipAt(i.trackIndex, i.clipIndex), p = o.type === "track" ? this.findContentClipAtPositionOnTrack(o.trackIndex, l.newStartTime, i) : null, m = p && o.type === "track" ? this.stateManager.findAttachedLuma(p.trackIndex, p.clipIndex) : null, w =
|
|
51718
|
+
const h = this.stateManager.getClipAt(i.trackIndex, i.clipIndex), p = o.type === "track" ? this.findContentClipAtPositionOnTrack(o.trackIndex, l.newStartTime, i) : null, m = p && o.type === "track" ? this.stateManager.findAttachedLuma(p.trackIndex, p.clipIndex) : null, w = t8({
|
|
51719
51719
|
dragTarget: o,
|
|
51720
51720
|
draggedAssetType: h?.config.asset?.type,
|
|
51721
51721
|
altKeyHeld: c,
|
|
@@ -51841,7 +51841,7 @@ class xE {
|
|
|
51841
51841
|
this.edit.executeEditCommand(C);
|
|
51842
51842
|
}
|
|
51843
51843
|
if (x !== n) {
|
|
51844
|
-
const C = new
|
|
51844
|
+
const C = new Jr(i.trackIndex, i.clipIndex, x);
|
|
51845
51845
|
this.edit.executeEditCommand(C);
|
|
51846
51846
|
}
|
|
51847
51847
|
if (p) {
|
|
@@ -51852,7 +51852,7 @@ class xE {
|
|
|
51852
51852
|
this.edit.executeEditCommand(A);
|
|
51853
51853
|
}
|
|
51854
51854
|
if (x !== n) {
|
|
51855
|
-
const A = new
|
|
51855
|
+
const A = new Jr(C.trackIndex, C.clipIndex, x);
|
|
51856
51856
|
this.edit.executeEditCommand(A);
|
|
51857
51857
|
}
|
|
51858
51858
|
}
|
|
@@ -51861,17 +51861,17 @@ class xE {
|
|
|
51861
51861
|
} else {
|
|
51862
51862
|
const m = Math.max(0.1, u - r);
|
|
51863
51863
|
if (m !== n) {
|
|
51864
|
-
const w = new
|
|
51864
|
+
const w = new Jr(i.trackIndex, i.clipIndex, m);
|
|
51865
51865
|
if (this.edit.executeEditCommand(w), p) {
|
|
51866
51866
|
const x = this.edit.findClipIndices(p);
|
|
51867
51867
|
if (x) {
|
|
51868
|
-
const C = new
|
|
51868
|
+
const C = new Jr(x.trackIndex, x.clipIndex, m);
|
|
51869
51869
|
this.edit.executeEditCommand(C);
|
|
51870
51870
|
}
|
|
51871
51871
|
}
|
|
51872
51872
|
}
|
|
51873
51873
|
}
|
|
51874
|
-
|
|
51874
|
+
ln(this.feedbackElements.snapLine), Gp(this.feedbackElements.dragTimeTooltip), this.state = Ji;
|
|
51875
51875
|
}
|
|
51876
51876
|
moveLumaWithContent(e, t, i) {
|
|
51877
51877
|
if (!e) return;
|
|
@@ -52556,7 +52556,7 @@ class pf {
|
|
|
52556
52556
|
*/
|
|
52557
52557
|
getMergedAsset(e, t) {
|
|
52558
52558
|
const r = e.getDocument()?.getClip(this.trackIndex, this.clipIndex)?.asset ?? {};
|
|
52559
|
-
return
|
|
52559
|
+
return zn(r, t);
|
|
52560
52560
|
}
|
|
52561
52561
|
async execute(e) {
|
|
52562
52562
|
if (!e) throw new Error("SetMergeFieldCommand.execute: context is required");
|
|
@@ -52621,7 +52621,7 @@ function EE(s) {
|
|
|
52621
52621
|
};
|
|
52622
52622
|
return e.width !== void 0 && i.width === void 0 && (i.width = e.width), e.height !== void 0 && i.height === void 0 && (i.height = e.height), i;
|
|
52623
52623
|
}
|
|
52624
|
-
class
|
|
52624
|
+
class go extends yr {
|
|
52625
52625
|
// Recursion guard for merge field updates (prevents stack overflow)
|
|
52626
52626
|
isUpdatingMergeFields = !1;
|
|
52627
52627
|
// ─── Merge Field API ───────────────────────────────────────────────────────
|
|
@@ -52827,7 +52827,7 @@ class Nr extends yr {
|
|
|
52827
52827
|
};
|
|
52828
52828
|
r.setClipBinding(a, l, h);
|
|
52829
52829
|
const p = r.getClip(n.trackIndex, n.clipIndex);
|
|
52830
|
-
p &&
|
|
52830
|
+
p && Rn(p, l, u);
|
|
52831
52831
|
}
|
|
52832
52832
|
}
|
|
52833
52833
|
}
|
|
@@ -52919,7 +52919,7 @@ const PE = [
|
|
|
52919
52919
|
"#22C55E",
|
|
52920
52920
|
"#3B82F6",
|
|
52921
52921
|
"#8B5CF6"
|
|
52922
|
-
],
|
|
52922
|
+
], $r = {
|
|
52923
52923
|
monitor: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line></svg>',
|
|
52924
52924
|
check: '<svg class="checkmark" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>',
|
|
52925
52925
|
variables: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 5H9a2 2 0 0 0-2 2v2c0 1-.6 3-3 3 1 0 3 .6 3 3v2a2 2 0 0 0 2 2h.5m5-14h.5a2 2 0 0 1 2 2v2c0 1 .6 3 3 3-1 0-3 .6-3 3v2a2 2 0 0 1-2 2h-.5"/></svg>'
|
|
@@ -52973,7 +52973,7 @@ class _E {
|
|
|
52973
52973
|
}
|
|
52974
52974
|
/** Get the edit as ShotstackEdit if it has merge field capabilities */
|
|
52975
52975
|
getShotstackEdit() {
|
|
52976
|
-
return this.edit
|
|
52976
|
+
return this.edit && "mergeFields" in this.edit ? this.edit : null;
|
|
52977
52977
|
}
|
|
52978
52978
|
setPosition(e, t) {
|
|
52979
52979
|
this.container && (this.container.style.left = `${e}px`, this.container.style.top = `${t}px`);
|
|
@@ -52983,7 +52983,7 @@ class _E {
|
|
|
52983
52983
|
<!-- Resolution -->
|
|
52984
52984
|
<div class="ss-canvas-toolbar-dropdown">
|
|
52985
52985
|
<button class="ss-canvas-toolbar-btn" data-action="resolution" data-tooltip-label data-tooltip="Resolution">
|
|
52986
|
-
${
|
|
52986
|
+
${$r.monitor}
|
|
52987
52987
|
</button>
|
|
52988
52988
|
<div class="ss-canvas-toolbar-popup" data-popup="resolution">
|
|
52989
52989
|
<div class="ss-canvas-toolbar-popup-header">Presets</div>
|
|
@@ -52994,7 +52994,7 @@ class _E {
|
|
|
52994
52994
|
<span>${t.label}</span>
|
|
52995
52995
|
<span class="ss-canvas-toolbar-popup-item-sublabel">${t.sublabel}</span>
|
|
52996
52996
|
</div>
|
|
52997
|
-
${
|
|
52997
|
+
${$r.check}
|
|
52998
52998
|
</div>
|
|
52999
52999
|
`
|
|
53000
53000
|
).join("")}
|
|
@@ -53041,7 +53041,7 @@ class _E {
|
|
|
53041
53041
|
(t) => `
|
|
53042
53042
|
<div class="ss-canvas-toolbar-popup-item" data-fps="${t}">
|
|
53043
53043
|
<span>${t} fps</span>
|
|
53044
|
-
${
|
|
53044
|
+
${$r.check}
|
|
53045
53045
|
</div>
|
|
53046
53046
|
`
|
|
53047
53047
|
).join("")}
|
|
@@ -53054,7 +53054,7 @@ class _E {
|
|
|
53054
53054
|
<!-- Variables -->
|
|
53055
53055
|
<div class="ss-canvas-toolbar-dropdown">
|
|
53056
53056
|
<button class="ss-canvas-toolbar-btn" data-action="variables" data-tooltip="Merge Fields">
|
|
53057
|
-
${
|
|
53057
|
+
${$r.variables}
|
|
53058
53058
|
</button>
|
|
53059
53059
|
<div class="ss-canvas-toolbar-popup ss-canvas-toolbar-popup--variables" data-popup="variables">
|
|
53060
53060
|
<div class="ss-canvas-toolbar-popup-header ss-variables-header">
|
|
@@ -54136,7 +54136,7 @@ class wf extends mo {
|
|
|
54136
54136
|
}
|
|
54137
54137
|
/** Get the edit as ShotstackEdit if it has merge field capabilities */
|
|
54138
54138
|
getShotstackEdit() {
|
|
54139
|
-
return this.edit instanceof
|
|
54139
|
+
return this.edit instanceof go ? this.edit : null;
|
|
54140
54140
|
}
|
|
54141
54141
|
// Current values
|
|
54142
54142
|
currentFit = "crop";
|
|
@@ -55755,7 +55755,7 @@ class GE {
|
|
|
55755
55755
|
viewport;
|
|
55756
55756
|
content;
|
|
55757
55757
|
items = /* @__PURE__ */ new Map();
|
|
55758
|
-
filteredFonts = [...
|
|
55758
|
+
filteredFonts = [...pn];
|
|
55759
55759
|
selectedFilename;
|
|
55760
55760
|
onSelect;
|
|
55761
55761
|
scrollTop = 0;
|
|
@@ -55781,7 +55781,7 @@ class GE {
|
|
|
55781
55781
|
*/
|
|
55782
55782
|
setFilter(e, t) {
|
|
55783
55783
|
const i = e?.toLowerCase().trim() || "";
|
|
55784
|
-
this.filteredFonts =
|
|
55784
|
+
this.filteredFonts = pn.filter((a) => {
|
|
55785
55785
|
const r = !i || a.displayName.toLowerCase().includes(i), n = !t || a.category === t;
|
|
55786
55786
|
return r && n;
|
|
55787
55787
|
}), this.viewport.scrollTop = 0, this.scrollTop = 0, this.render();
|
|
@@ -56203,7 +56203,7 @@ class ar extends mo {
|
|
|
56203
56203
|
super(e), this.showMergeFields = t.mergeFields ?? !1;
|
|
56204
56204
|
}
|
|
56205
56205
|
getShotstackEdit() {
|
|
56206
|
-
return this.edit instanceof
|
|
56206
|
+
return this.edit instanceof go ? this.edit : null;
|
|
56207
56207
|
}
|
|
56208
56208
|
mount(e) {
|
|
56209
56209
|
Ws(), this.container = document.createElement("div"), this.container.className = "ss-toolbar", this.container.innerHTML = `
|
|
@@ -56994,7 +56994,7 @@ class ar extends mo {
|
|
|
56994
56994
|
this.animationDurationThrottle.cancel(), this.boundHandleClick && (this.container?.removeEventListener("click", this.boundHandleClick), this.boundHandleClick = null), super.dispose(), this.sizeInput = null, this.sizePopup = null, this.weightPopup = null, this.weightPreview = null, this.fontPopup = null, this.fontPreview = null, this.fontPicker?.destroy(), this.fontPicker = null, this.fontColorPicker?.dispose(), this.fontColorPicker = null, this.fontColorPopup = null, this.colorDisplay = null, this.spacingPopup = null, this.spacingPanel?.dispose(), this.spacingPanel = null, this.stylePopup = null, this.stylePanel?.dispose(), this.stylePanel = null, this.anchorTopBtn = null, this.anchorMiddleBtn = null, this.anchorBottomBtn = null, this.alignIcon = null, this.transformBtn = null, this.underlineBtn = null, this.linethroughBtn = null, this.textEditPopup = null, this.textEditArea = null, this.textEditDebounceTimer && (clearTimeout(this.textEditDebounceTimer), this.textEditDebounceTimer = null), this.borderPopup = null, this.borderWidthSlider = null, this.borderWidthValue = null, this.borderColorInput = null, this.borderOpacitySlider = null, this.borderOpacityValue = null, this.borderRadiusSlider = null, this.borderRadiusValue = null, this.animationPopup = null, this.animationDurationSlider = null, this.animationDurationValue = null, this.animationStyleSection = null, this.animationDirectionSection = null, this.backgroundColorPicker?.dispose(), this.backgroundColorPicker = null, this.backgroundPopup = null, this.paddingPopup = null, this.paddingTopSlider = null, this.paddingTopValue = null, this.paddingRightSlider = null, this.paddingRightValue = null, this.paddingBottomSlider = null, this.paddingBottomValue = null, this.paddingLeftSlider = null, this.paddingLeftValue = null, this.transitionPanel?.dispose(), this.transitionPanel = null, this.transitionPopup = null, this.effectPanel?.dispose(), this.effectPanel = null, this.effectPopup = null;
|
|
56995
56995
|
}
|
|
56996
56996
|
}
|
|
56997
|
-
const
|
|
56997
|
+
const en = {
|
|
56998
56998
|
/** Minimum clip dimension in pixels */
|
|
56999
56999
|
MIN_DIMENSION: 50,
|
|
57000
57000
|
/** Maximum clip dimension in pixels */
|
|
@@ -57054,8 +57054,8 @@ function $E(s, e, t, i) {
|
|
|
57054
57054
|
}
|
|
57055
57055
|
function If(s, e) {
|
|
57056
57056
|
return {
|
|
57057
|
-
width: Math.max(
|
|
57058
|
-
height: Math.max(
|
|
57057
|
+
width: Math.max(en.MIN_DIMENSION, Math.min(s, en.MAX_DIMENSION)),
|
|
57058
|
+
height: Math.max(en.MIN_DIMENSION, Math.min(e, en.MAX_DIMENSION))
|
|
57059
57059
|
};
|
|
57060
57060
|
}
|
|
57061
57061
|
function Tf(s, e) {
|
|
@@ -57595,7 +57595,7 @@ class yN extends mo {
|
|
|
57595
57595
|
// Stored bound handler for proper cleanup
|
|
57596
57596
|
boundHandleClick = null;
|
|
57597
57597
|
getShotstackEdit() {
|
|
57598
|
-
return this.edit instanceof
|
|
57598
|
+
return this.edit instanceof go ? this.edit : null;
|
|
57599
57599
|
}
|
|
57600
57600
|
mount(e) {
|
|
57601
57601
|
Ws(), this.container = document.createElement("div"), this.container.className = "ss-toolbar ss-text-toolbar", this.container.innerHTML = `
|
|
@@ -58018,7 +58018,7 @@ class yN extends mo {
|
|
|
58018
58018
|
this.boundHandleClick && (this.container?.removeEventListener("click", this.boundHandleClick), this.boundHandleClick = null), this.textEditDebounceTimer && clearTimeout(this.textEditDebounceTimer), this.spacingPanel?.dispose(), this.transitionPanel?.dispose(), this.effectPanel?.dispose(), super.dispose(), this.textEditBtn = null, this.textEditPopup = null, this.textEditArea = null, this.sizeInput = null, this.sizePopup = null, this.fontBtn = null, this.fontPopup = null, this.fontPreview = null, this.boldBtn = null, this.fontColorBtn = null, this.fontColorPopup = null, this.fontColorInput = null, this.colorDisplay = null, this.spacingBtn = null, this.spacingPopup = null, this.spacingPanel = null, this.anchorTopBtn = null, this.anchorMiddleBtn = null, this.anchorBottomBtn = null, this.alignBtn = null, this.alignIcon = null, this.backgroundBtn = null, this.backgroundPopup = null, this.bgColorInput = null, this.bgOpacitySlider = null, this.bgOpacityValue = null, this.strokeBtn = null, this.strokePopup = null, this.strokeWidthSlider = null, this.strokeWidthValue = null, this.strokeColorInput = null, this.transitionBtn = null, this.transitionPopup = null, this.transitionPanel = null, this.effectBtn = null, this.effectPopup = null, this.effectPanel = null;
|
|
58019
58019
|
}
|
|
58020
58020
|
}
|
|
58021
|
-
const Ef = 48,
|
|
58021
|
+
const Ef = 48, tn = 12, Nf = 80;
|
|
58022
58022
|
class Yl {
|
|
58023
58023
|
toolbars = /* @__PURE__ */ new Map();
|
|
58024
58024
|
utilities = [];
|
|
@@ -58093,7 +58093,7 @@ class Yl {
|
|
|
58093
58093
|
* Private constructor - use UIController.create() or UIController.minimal() instead.
|
|
58094
58094
|
*/
|
|
58095
58095
|
constructor(e, t, i) {
|
|
58096
|
-
this.edit = e, this.canvas = t, this.mergeFieldsEnabled = i.mergeFields ?? e instanceof
|
|
58096
|
+
this.edit = e, this.canvas = t, this.mergeFieldsEnabled = i.mergeFields ?? e instanceof go, this.selectionHandlesEnabled = i.selectionHandles ?? !0, this.maxPixels = i.maxPixels, this.onKeyDownBound = this.onKeyDown.bind(this);
|
|
58097
58097
|
}
|
|
58098
58098
|
edit;
|
|
58099
58099
|
/**
|
|
@@ -58191,7 +58191,7 @@ class Yl {
|
|
|
58191
58191
|
*/
|
|
58192
58192
|
updateToolbarPositions() {
|
|
58193
58193
|
if (!this.canvas) return;
|
|
58194
|
-
const e = this.canvas.application.canvas.getBoundingClientRect(), t = this.canvas.getContentBounds(), i = window.innerWidth, a = window.innerHeight, r = e.left + t.left, n = e.left + t.right, o = e.top + (t.top + t.bottom) / 2, l = Math.max(Nf, Math.min(a - Nf, o)), c = Math.max(
|
|
58194
|
+
const e = this.canvas.application.canvas.getBoundingClientRect(), t = this.canvas.getContentBounds(), i = window.innerWidth, a = window.innerHeight, r = e.left + t.left, n = e.left + t.right, o = e.top + (t.top + t.bottom) / 2, l = Math.max(Nf, Math.min(a - Nf, o)), c = Math.max(tn, r - Ef - tn), d = i - Ef - tn, u = Math.min(d, n + tn);
|
|
58195
58195
|
this.assetToolbar?.setPosition(c, l), this.canvasToolbar?.setPosition(u, l);
|
|
58196
58196
|
}
|
|
58197
58197
|
/**
|
|
@@ -58675,7 +58675,7 @@ var bN = Jh({
|
|
|
58675
58675
|
}
|
|
58676
58676
|
async function Re() {
|
|
58677
58677
|
function T(vt, Yi) {
|
|
58678
|
-
return $t = vt.exports, n.wasmExports = $t, M = $t.memory, n.wasmMemory = M, Q(), Ts = $t.__indirect_function_table,
|
|
58678
|
+
return $t = vt.exports, n.wasmExports = $t, M = $t.memory, n.wasmMemory = M, Q(), Ts = $t.__indirect_function_table, _r($t), be(), $t;
|
|
58679
58679
|
}
|
|
58680
58680
|
Te();
|
|
58681
58681
|
function ne(vt) {
|
|
@@ -58684,8 +58684,8 @@ var bN = Jh({
|
|
|
58684
58684
|
var Oe = We();
|
|
58685
58685
|
if (n.instantiateWasm)
|
|
58686
58686
|
return new Promise((vt, Yi) => {
|
|
58687
|
-
n.instantiateWasm(Oe, (
|
|
58688
|
-
vt(T(
|
|
58687
|
+
n.instantiateWasm(Oe, (Mr, bo) => {
|
|
58688
|
+
vt(T(Mr));
|
|
58689
58689
|
});
|
|
58690
58690
|
});
|
|
58691
58691
|
j ?? (j = q());
|
|
@@ -58765,11 +58765,11 @@ var bN = Jh({
|
|
|
58765
58765
|
var Ge = yi(Oe);
|
|
58766
58766
|
Ge && qt.set(Ge, Oe);
|
|
58767
58767
|
}
|
|
58768
|
-
}, qt,
|
|
58769
|
-
var Oe =
|
|
58768
|
+
}, qt, Nr = (T) => (qt || (qt = /* @__PURE__ */ new WeakMap(), Hs(0, Ts.length)), qt.get(T) || 0), Hi = [], Pr = () => Hi.length ? Hi.pop() : Ts.grow(1), Gs = (T, ne) => Ts.set(T, ne), Vr = (T, ne) => {
|
|
58769
|
+
var Oe = Nr(T);
|
|
58770
58770
|
if (Oe)
|
|
58771
58771
|
return Oe;
|
|
58772
|
-
var Ge =
|
|
58772
|
+
var Ge = Pr();
|
|
58773
58773
|
try {
|
|
58774
58774
|
Gs(Ge, T);
|
|
58775
58775
|
} catch (vt) {
|
|
@@ -58779,12 +58779,12 @@ var bN = Jh({
|
|
|
58779
58779
|
Gs(Ge, Ke);
|
|
58780
58780
|
}
|
|
58781
58781
|
return qt.set(T, Ge), Ge;
|
|
58782
|
-
},
|
|
58782
|
+
}, Fr = (T) => {
|
|
58783
58783
|
qt.delete(yi(T)), Gs(T, null), Hi.push(T);
|
|
58784
58784
|
};
|
|
58785
|
-
n.noExitRuntime && (ue = n.noExitRuntime), n.print && n.print, n.printErr && (x = n.printErr), n.wasmBinary && (C = n.wasmBinary), n.arguments && n.arguments, n.thisProgram && n.thisProgram, n.wasmMemory = M, n.wasmExports = $t, n.addFunction =
|
|
58785
|
+
n.noExitRuntime && (ue = n.noExitRuntime), n.print && n.print, n.printErr && (x = n.printErr), n.wasmBinary && (C = n.wasmBinary), n.arguments && n.arguments, n.thisProgram && n.thisProgram, n.wasmMemory = M, n.wasmExports = $t, n.addFunction = Vr, n.removeFunction = Fr;
|
|
58786
58786
|
var Ea;
|
|
58787
|
-
function
|
|
58787
|
+
function _r(T) {
|
|
58788
58788
|
n._hb_blob_create = T.hb_blob_create, n._hb_blob_destroy = T.hb_blob_destroy, n._hb_blob_get_length = T.hb_blob_get_length, n._hb_blob_get_data = T.hb_blob_get_data, n._hb_buffer_serialize_glyphs = T.hb_buffer_serialize_glyphs, n._hb_buffer_create = T.hb_buffer_create, n._hb_buffer_destroy = T.hb_buffer_destroy, n._hb_buffer_get_content_type = T.hb_buffer_get_content_type, n._hb_buffer_set_direction = T.hb_buffer_set_direction, n._hb_buffer_set_script = T.hb_buffer_set_script, n._hb_buffer_set_language = T.hb_buffer_set_language, n._hb_buffer_set_flags = T.hb_buffer_set_flags, n._hb_buffer_set_cluster_level = T.hb_buffer_set_cluster_level, n._hb_buffer_get_length = T.hb_buffer_get_length, n._hb_buffer_get_glyph_infos = T.hb_buffer_get_glyph_infos, n._hb_buffer_get_glyph_positions = T.hb_buffer_get_glyph_positions, n._hb_glyph_info_get_glyph_flags = T.hb_glyph_info_get_glyph_flags, n._hb_buffer_guess_segment_properties = T.hb_buffer_guess_segment_properties, n._hb_buffer_add_utf8 = T.hb_buffer_add_utf8, n._hb_buffer_add_utf16 = T.hb_buffer_add_utf16, n._hb_buffer_set_message_func = T.hb_buffer_set_message_func, n._hb_language_from_string = T.hb_language_from_string, n._hb_script_from_string = T.hb_script_from_string, n._hb_version = T.hb_version, n._hb_version_string = T.hb_version_string, n._hb_feature_from_string = T.hb_feature_from_string, n._malloc = T.malloc, n._free = T.free, n._hb_draw_funcs_set_move_to_func = T.hb_draw_funcs_set_move_to_func, n._hb_draw_funcs_set_line_to_func = T.hb_draw_funcs_set_line_to_func, n._hb_draw_funcs_set_quadratic_to_func = T.hb_draw_funcs_set_quadratic_to_func, n._hb_draw_funcs_set_cubic_to_func = T.hb_draw_funcs_set_cubic_to_func, n._hb_draw_funcs_set_close_path_func = T.hb_draw_funcs_set_close_path_func, n._hb_draw_funcs_create = T.hb_draw_funcs_create, n._hb_draw_funcs_destroy = T.hb_draw_funcs_destroy, n._hb_face_create = T.hb_face_create, n._hb_face_destroy = T.hb_face_destroy, n._hb_face_reference_table = T.hb_face_reference_table, n._hb_face_get_upem = T.hb_face_get_upem, n._hb_face_collect_unicodes = T.hb_face_collect_unicodes, n._hb_font_draw_glyph = T.hb_font_draw_glyph, n._hb_font_glyph_to_string = T.hb_font_glyph_to_string, n._hb_font_create = T.hb_font_create, n._hb_font_set_variations = T.hb_font_set_variations, n._hb_font_destroy = T.hb_font_destroy, n._hb_font_set_scale = T.hb_font_set_scale, n._hb_set_create = T.hb_set_create, n._hb_set_destroy = T.hb_set_destroy, n._hb_ot_var_get_axis_infos = T.hb_ot_var_get_axis_infos, n._hb_set_get_population = T.hb_set_get_population, n._hb_set_next_many = T.hb_set_next_many, n._hb_shape = T.hb_shape, Ea = T._emscripten_timeout;
|
|
58789
58789
|
}
|
|
58790
58790
|
var Gi = { _abort_js: oe, _emscripten_runtime_keepalive_clear: Ie, _setitimer_js: zt, emscripten_resize_heap: wt, proc_exit: rt }, $t = await Re();
|
|
@@ -59207,15 +59207,15 @@ function zs(s) {
|
|
|
59207
59207
|
return SN(s), e;
|
|
59208
59208
|
}
|
|
59209
59209
|
var vr = 0, Xa = null;
|
|
59210
|
-
function
|
|
59210
|
+
function cn() {
|
|
59211
59211
|
return (Xa === null || Xa.byteLength === 0) && (Xa = new Uint8Array(pe.memory.buffer)), Xa;
|
|
59212
59212
|
}
|
|
59213
|
-
var
|
|
59213
|
+
var dn = typeof TextEncoder < "u" ? new TextEncoder("utf-8") : { encode: () => {
|
|
59214
59214
|
throw Error("TextEncoder not available");
|
|
59215
|
-
} }, AN = typeof
|
|
59216
|
-
return
|
|
59215
|
+
} }, AN = typeof dn.encodeInto == "function" ? function(s, e) {
|
|
59216
|
+
return dn.encodeInto(s, e);
|
|
59217
59217
|
} : function(s, e) {
|
|
59218
|
-
const t =
|
|
59218
|
+
const t = dn.encode(s);
|
|
59219
59219
|
return e.set(t), {
|
|
59220
59220
|
read: s.length,
|
|
59221
59221
|
written: t.length
|
|
@@ -59223,11 +59223,11 @@ var un = typeof TextEncoder < "u" ? new TextEncoder("utf-8") : { encode: () => {
|
|
|
59223
59223
|
};
|
|
59224
59224
|
function jl(s, e, t) {
|
|
59225
59225
|
if (t === void 0) {
|
|
59226
|
-
const o =
|
|
59227
|
-
return
|
|
59226
|
+
const o = dn.encode(s), l = e(o.length, 1) >>> 0;
|
|
59227
|
+
return cn().subarray(l, l + o.length).set(o), vr = o.length, l;
|
|
59228
59228
|
}
|
|
59229
59229
|
let i = s.length, a = e(i, 1) >>> 0;
|
|
59230
|
-
const r =
|
|
59230
|
+
const r = cn();
|
|
59231
59231
|
let n = 0;
|
|
59232
59232
|
for (; n < i; n++) {
|
|
59233
59233
|
const o = s.charCodeAt(n);
|
|
@@ -59237,7 +59237,7 @@ function jl(s, e, t) {
|
|
|
59237
59237
|
}
|
|
59238
59238
|
if (n !== i) {
|
|
59239
59239
|
n !== 0 && (s = s.slice(n)), a = t(a, i, i = n + s.length * 3, 1) >>> 0;
|
|
59240
|
-
const o =
|
|
59240
|
+
const o = cn().subarray(a + n, a + i), l = AN(s, o);
|
|
59241
59241
|
n += l.written, a = t(a, i, n, 1) >>> 0;
|
|
59242
59242
|
}
|
|
59243
59243
|
return vr = n, a;
|
|
@@ -59253,8 +59253,8 @@ var Xp = typeof TextDecoder < "u" ? new TextDecoder("utf-8", { ignoreBOM: !0, fa
|
|
|
59253
59253
|
throw Error("TextDecoder not available");
|
|
59254
59254
|
} };
|
|
59255
59255
|
typeof TextDecoder < "u" && Xp.decode();
|
|
59256
|
-
function
|
|
59257
|
-
return s = s >>> 0, Xp.decode(
|
|
59256
|
+
function un(s, e) {
|
|
59257
|
+
return s = s >>> 0, Xp.decode(cn().subarray(s, s + e));
|
|
59258
59258
|
}
|
|
59259
59259
|
function IN(s, e) {
|
|
59260
59260
|
if (!(s instanceof e))
|
|
@@ -59455,7 +59455,7 @@ var Pf = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
|
59455
59455
|
const a = pe.__wbindgen_add_to_stack_pointer(-16);
|
|
59456
59456
|
pe.resvg_toString(a, this.__wbg_ptr);
|
|
59457
59457
|
var t = St()[a / 4 + 0], i = St()[a / 4 + 1];
|
|
59458
|
-
return s = t, e = i,
|
|
59458
|
+
return s = t, e = i, un(t, i);
|
|
59459
59459
|
} finally {
|
|
59460
59460
|
pe.__wbindgen_add_to_stack_pointer(16), pe.__wbindgen_free(s, e, 1);
|
|
59461
59461
|
}
|
|
@@ -59540,7 +59540,7 @@ async function VN(s, e) {
|
|
|
59540
59540
|
function FN() {
|
|
59541
59541
|
const s = {};
|
|
59542
59542
|
return s.wbg = {}, s.wbg.__wbg_new_28c511d9baebfa89 = function(e, t) {
|
|
59543
|
-
const i = new Error(
|
|
59543
|
+
const i = new Error(un(e, t));
|
|
59544
59544
|
return Zt(i);
|
|
59545
59545
|
}, s.wbg.__wbindgen_memory = function() {
|
|
59546
59546
|
const e = pe.memory;
|
|
@@ -59585,7 +59585,7 @@ function FN() {
|
|
|
59585
59585
|
const e = new Array();
|
|
59586
59586
|
return Zt(e);
|
|
59587
59587
|
}, s.wbg.__wbindgen_string_new = function(e, t) {
|
|
59588
|
-
const i =
|
|
59588
|
+
const i = un(e, t);
|
|
59589
59589
|
return Zt(i);
|
|
59590
59590
|
}, s.wbg.__wbg_push_a5b05aedc7234f9f = function(e, t) {
|
|
59591
59591
|
return Lt(e).push(Lt(t));
|
|
@@ -59594,7 +59594,7 @@ function FN() {
|
|
|
59594
59594
|
}, s.wbg.__wbg_set_a47bac70306a19a7 = function(e, t, i) {
|
|
59595
59595
|
Lt(e).set(Lt(t), i >>> 0);
|
|
59596
59596
|
}, s.wbg.__wbindgen_throw = function(e, t) {
|
|
59597
|
-
throw new Error(
|
|
59597
|
+
throw new Error(un(e, t));
|
|
59598
59598
|
}, s;
|
|
59599
59599
|
}
|
|
59600
59600
|
function _N(s, e) {
|
|
@@ -59671,7 +59671,7 @@ export {
|
|
|
59671
59671
|
W2 as OutputFormatSchema,
|
|
59672
59672
|
H2 as OutputFpsSchema,
|
|
59673
59673
|
G2 as OutputResolutionSchema,
|
|
59674
|
-
|
|
59674
|
+
Qn as OutputSchema,
|
|
59675
59675
|
Z2 as OutputSizeSchema,
|
|
59676
59676
|
_h as RichTextAssetSchema,
|
|
59677
59677
|
ar as RichTextToolbar,
|