@richmd/react 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import * as LA from "react";
|
|
2
2
|
import Qa, { useState as n1, useCallback as Ec, useMemo as AC } from "react";
|
|
3
3
|
import Af from "html-react-parser";
|
|
4
|
-
class
|
|
4
|
+
let Wt = class {
|
|
5
5
|
constructor(e, r) {
|
|
6
6
|
this.name = e, this.type = r;
|
|
7
7
|
}
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
const cC = /^!\[([^\]]*)?\]\(([^\)]+)\)$/, dC = /^@\[([^\]]*)?\]\(([^\)]+)\)$/, uC = /^\[([^\]]*)?\]\(([^\)]+)\)$/;
|
|
10
|
-
class pC extends
|
|
10
|
+
class pC extends Wt {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super("text", "inline"), this.value = e;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
class _C extends
|
|
15
|
+
class _C extends Wt {
|
|
16
16
|
constructor(e) {
|
|
17
17
|
super("html", "inline"), this.value = e;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
class mC extends
|
|
20
|
+
class mC extends Wt {
|
|
21
21
|
constructor(e) {
|
|
22
22
|
super("htmlcomment", "inline"), this.value = e;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
class gC extends
|
|
25
|
+
class gC extends Wt {
|
|
26
26
|
constructor(e) {
|
|
27
27
|
super("em", "inline"), this.value = e;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
class fC extends
|
|
30
|
+
class fC extends Wt {
|
|
31
31
|
constructor(e) {
|
|
32
32
|
super("italic", "inline"), this.value = e;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
class hC extends
|
|
35
|
+
class hC extends Wt {
|
|
36
36
|
constructor(e) {
|
|
37
37
|
super("emitalic", "inline"), this.value = e;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
class bC extends
|
|
40
|
+
class bC extends Wt {
|
|
41
41
|
constructor(e) {
|
|
42
42
|
super("strikethrough", "inline"), this.value = e;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
class yC extends
|
|
45
|
+
class yC extends Wt {
|
|
46
46
|
constructor(e) {
|
|
47
47
|
super("code", "inline"), this.value = e;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
class EC extends
|
|
50
|
+
class EC extends Wt {
|
|
51
51
|
constructor(e) {
|
|
52
52
|
const r = e.match(cC);
|
|
53
53
|
super("image", "inline"), r ? (this.alt = r[1] || "", this.src = r[2] || "") : (this.alt = "", this.src = "");
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
let SC = class extends
|
|
56
|
+
let SC = class extends Wt {
|
|
57
57
|
constructor(t) {
|
|
58
58
|
const e = t.match(dC);
|
|
59
59
|
super("video", "inline"), e ? this.src = e[2] || "" : this.src = "";
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
class wC extends
|
|
62
|
+
class wC extends Wt {
|
|
63
63
|
constructor(e) {
|
|
64
64
|
const r = e.match(uC);
|
|
65
65
|
super("link", "inline"), r ? (this.title = r[1] || "", this.href = r[2] || "") : (this.title = "", this.href = "");
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
class vC extends
|
|
68
|
+
class vC extends Wt {
|
|
69
69
|
constructor(e) {
|
|
70
70
|
super("katex", "inline"), this.value = e;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
class CC extends
|
|
73
|
+
class CC extends Wt {
|
|
74
74
|
constructor(e) {
|
|
75
75
|
super("emoji", "inline"), this.value = e;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const er = {
|
|
79
79
|
Text: pC,
|
|
80
80
|
Html: _C,
|
|
81
81
|
HtmlComment: mC,
|
|
@@ -104,13 +104,13 @@ const Wt = {
|
|
|
104
104
|
switch (o) {
|
|
105
105
|
case "*":
|
|
106
106
|
if (t[s + 1] === "*") {
|
|
107
|
-
s += 1, t[s + 1] === "*" ? (s += 1, a === FA ? (e.push(new
|
|
107
|
+
s += 1, t[s + 1] === "*" ? (s += 1, a === FA ? (e.push(new er.EmItalic(r)), a = da) : (e.push(new er.Text(r)), a = FA), r = "") : (a === MA ? (e.push(new er.Em(r)), a = da) : (e.push(new er.Text(r)), a = MA), r = "");
|
|
108
108
|
continue;
|
|
109
109
|
} else if (a === FA) {
|
|
110
|
-
e.push(new
|
|
110
|
+
e.push(new er.EmItalic(r)), a = MA, r = "";
|
|
111
111
|
continue;
|
|
112
112
|
}
|
|
113
|
-
a === zd ? (e.push(new
|
|
113
|
+
a === zd ? (e.push(new er.Italic(r)), a = da, r = "") : (e.push(new er.Text(r)), a = zd, r = "");
|
|
114
114
|
continue;
|
|
115
115
|
case "_":
|
|
116
116
|
if (a === fo || a === go || a === Sl || a === Vd) {
|
|
@@ -118,10 +118,10 @@ const Wt = {
|
|
|
118
118
|
continue;
|
|
119
119
|
}
|
|
120
120
|
if (t[s + 1] === "_") {
|
|
121
|
-
s += 1, t[s + 1] === "_" ? (s += 1, a === qd ? (e.push(new
|
|
121
|
+
s += 1, t[s + 1] === "_" ? (s += 1, a === qd ? (e.push(new er.EmItalic(r)), a = da) : (e.push(new er.Text(r)), a = qd), r = "") : (a === Gd ? (e.push(new er.Em(r)), a = da) : (e.push(new er.Text(r)), a = Gd), r = "");
|
|
122
122
|
continue;
|
|
123
123
|
}
|
|
124
|
-
a === Hd ? (e.push(new
|
|
124
|
+
a === Hd ? (e.push(new er.Italic(r)), a = da) : (e.push(new er.Text(r)), a = Hd), r = "";
|
|
125
125
|
continue;
|
|
126
126
|
case "~":
|
|
127
127
|
if (a === fo || a === go || a === Sl) {
|
|
@@ -129,31 +129,31 @@ const Wt = {
|
|
|
129
129
|
continue;
|
|
130
130
|
}
|
|
131
131
|
if (t[s + 1] === "~") {
|
|
132
|
-
s += 1, a === Yd ? (e.push(new
|
|
132
|
+
s += 1, a === Yd ? (e.push(new er.Strikethrough(r)), a = da) : (e.push(new er.Text(r)), a = Yd), r = "";
|
|
133
133
|
continue;
|
|
134
134
|
}
|
|
135
135
|
r += o;
|
|
136
136
|
continue;
|
|
137
137
|
case "`":
|
|
138
|
-
a === Bs ? (e.push(new
|
|
138
|
+
a === Bs ? (e.push(new er.InlineCode(r)), a = da) : (e.push(new er.Text(r)), a = Bs), r = "";
|
|
139
139
|
continue;
|
|
140
140
|
case "$":
|
|
141
|
-
a === Os ? (e.push(new
|
|
141
|
+
a === Os ? (e.push(new er.InlineKatex(r)), a = da) : (e.push(new er.Text(r)), a = Os), r = "";
|
|
142
142
|
continue;
|
|
143
143
|
case "<": {
|
|
144
|
-
Bl.isEmpty(r) || (i.length === 0 ? (e.push(new
|
|
145
|
-
let
|
|
146
|
-
if (
|
|
144
|
+
Bl.isEmpty(r) || (i.length === 0 ? (e.push(new er.Text(r)), a = Kd) : i[i.length - 1] += r, r = "");
|
|
145
|
+
let c = o;
|
|
146
|
+
if (c !== "<") {
|
|
147
147
|
do
|
|
148
|
-
r +=
|
|
149
|
-
while (
|
|
150
|
-
r +=
|
|
148
|
+
r += c, c = t[s += 1];
|
|
149
|
+
while (c !== ">");
|
|
150
|
+
r += c;
|
|
151
151
|
} else
|
|
152
|
-
r +=
|
|
152
|
+
r += c;
|
|
153
153
|
if (r[1] === "/") {
|
|
154
|
-
const
|
|
155
|
-
e.push(new
|
|
156
|
-
} else r[1] === "!" ? (e.push(new
|
|
154
|
+
const d = i.pop() + r;
|
|
155
|
+
e.push(new er.Html(d)), a = da;
|
|
156
|
+
} else r[1] === "!" ? (e.push(new er.HtmlComment(r)), a = da) : r === "<" ? (e.push(new er.Text(r)), a = Kd) : i.push(r);
|
|
157
157
|
r = "";
|
|
158
158
|
continue;
|
|
159
159
|
}
|
|
@@ -185,7 +185,7 @@ const Wt = {
|
|
|
185
185
|
}
|
|
186
186
|
case "[":
|
|
187
187
|
if (a !== go && a !== fo) {
|
|
188
|
-
e.push(new
|
|
188
|
+
e.push(new er.Text(r)), a = Sl, r = o;
|
|
189
189
|
continue;
|
|
190
190
|
} else {
|
|
191
191
|
r += o;
|
|
@@ -193,13 +193,13 @@ const Wt = {
|
|
|
193
193
|
}
|
|
194
194
|
case ")":
|
|
195
195
|
if (r += o, a === go) {
|
|
196
|
-
e.push(new
|
|
196
|
+
e.push(new er.Image(r)), a = da, r = "";
|
|
197
197
|
continue;
|
|
198
198
|
} else if (a === fo) {
|
|
199
|
-
e.push(new
|
|
199
|
+
e.push(new er.Video(r)), a = da, r = "";
|
|
200
200
|
continue;
|
|
201
201
|
} else if (a === Sl) {
|
|
202
|
-
e.push(new
|
|
202
|
+
e.push(new er.Link(r)), a = da, r = "";
|
|
203
203
|
continue;
|
|
204
204
|
} else
|
|
205
205
|
continue;
|
|
@@ -214,8 +214,14 @@ const Wt = {
|
|
|
214
214
|
r += o;
|
|
215
215
|
continue;
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
const l = /^[a-z0-9_]$/;
|
|
218
|
+
if (t[s + 1] && l.test(t[s + 1])) {
|
|
219
|
+
a = Vd, r = "";
|
|
220
|
+
continue;
|
|
221
|
+
} else if (a === Vd && t[s - 1] && l.test(t[s - 1])) {
|
|
222
|
+
e.push(new er.Emoji(r)), a = da, r = "";
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
219
225
|
default:
|
|
220
226
|
r += o;
|
|
221
227
|
break;
|
|
@@ -224,7 +230,7 @@ const Wt = {
|
|
|
224
230
|
if (!Bl.isEmpty(r)) {
|
|
225
231
|
const s = e[e.length - 1];
|
|
226
232
|
if (!s || a === da)
|
|
227
|
-
e.push(new
|
|
233
|
+
e.push(new er.Text(r));
|
|
228
234
|
else {
|
|
229
235
|
let o = "";
|
|
230
236
|
switch (a) {
|
|
@@ -261,69 +267,69 @@ const Wt = {
|
|
|
261
267
|
}
|
|
262
268
|
return e;
|
|
263
269
|
};
|
|
264
|
-
class NC extends
|
|
270
|
+
class NC extends Wt {
|
|
265
271
|
constructor(e) {
|
|
266
272
|
super("mode", "block"), this.mode = e;
|
|
267
273
|
}
|
|
268
274
|
}
|
|
269
|
-
class IC extends
|
|
275
|
+
class IC extends Wt {
|
|
270
276
|
constructor(e) {
|
|
271
277
|
super("paragraph", "block"), this.values = ps(e);
|
|
272
278
|
}
|
|
273
279
|
}
|
|
274
|
-
class BC extends
|
|
280
|
+
class BC extends Wt {
|
|
275
281
|
constructor() {
|
|
276
282
|
super("horizontal", "block");
|
|
277
283
|
}
|
|
278
284
|
}
|
|
279
|
-
class OC extends
|
|
285
|
+
class OC extends Wt {
|
|
280
286
|
constructor() {
|
|
281
287
|
super("br", "block");
|
|
282
288
|
}
|
|
283
289
|
}
|
|
284
|
-
class RC extends
|
|
290
|
+
class RC extends Wt {
|
|
285
291
|
constructor(e, r, a) {
|
|
286
|
-
super("code", "block"), this.syntax = r, this.file = a, this.values = [new
|
|
292
|
+
super("code", "block"), this.syntax = r, this.file = a, this.values = [new er.Text(e)];
|
|
287
293
|
}
|
|
288
294
|
}
|
|
289
|
-
class xC extends
|
|
295
|
+
class xC extends Wt {
|
|
290
296
|
constructor(e) {
|
|
291
|
-
super("katex", "block"), this.values = [new
|
|
297
|
+
super("katex", "block"), this.values = [new er.Text(e)];
|
|
292
298
|
}
|
|
293
299
|
}
|
|
294
|
-
class DC extends
|
|
300
|
+
class DC extends Wt {
|
|
295
301
|
constructor(e, r) {
|
|
296
302
|
super("color", "block"), this.style = r, this.values = ps(e);
|
|
297
303
|
}
|
|
298
304
|
}
|
|
299
|
-
class LC extends
|
|
305
|
+
class LC extends Wt {
|
|
300
306
|
constructor(e, r) {
|
|
301
307
|
super("blockquote", "block"), this.level = r, this.values = ps(e);
|
|
302
308
|
}
|
|
303
309
|
}
|
|
304
|
-
class MC extends
|
|
310
|
+
class MC extends Wt {
|
|
305
311
|
constructor(e, r) {
|
|
306
312
|
if (r === 0 || r > 6)
|
|
307
313
|
throw new Error("Invalid heading: heading support only between H1 and H6");
|
|
308
314
|
super("heading", "block"), this.level = r, this.values = ps(e);
|
|
309
315
|
}
|
|
310
316
|
}
|
|
311
|
-
class FC extends
|
|
317
|
+
class FC extends Wt {
|
|
312
318
|
constructor(e, r) {
|
|
313
319
|
super("list", "block"), this.level = r, this.values = ps(e);
|
|
314
320
|
}
|
|
315
321
|
}
|
|
316
|
-
class UC extends
|
|
322
|
+
class UC extends Wt {
|
|
317
323
|
constructor(e, r, a) {
|
|
318
324
|
super("orderedlist", "block"), this.level = a, this.order = r, this.values = ps(e);
|
|
319
325
|
}
|
|
320
326
|
}
|
|
321
|
-
class PC extends
|
|
327
|
+
class PC extends Wt {
|
|
322
328
|
constructor(e, r, a) {
|
|
323
329
|
super("checklist", "block"), this.level = a, this.checked = r, this.values = ps(e);
|
|
324
330
|
}
|
|
325
331
|
}
|
|
326
|
-
class QC extends
|
|
332
|
+
class QC extends Wt {
|
|
327
333
|
constructor(e) {
|
|
328
334
|
super("table", "block"), this.headings = [], this.aligns = [], this.rows = [];
|
|
329
335
|
const [r, a, ...n] = e.map(
|
|
@@ -336,32 +342,32 @@ class QC extends $t {
|
|
|
336
342
|
})), n !== void 0 && (this.rows = n.map((i) => i.map((s) => ps(s.trim()))));
|
|
337
343
|
}
|
|
338
344
|
}
|
|
339
|
-
class zC extends
|
|
345
|
+
class zC extends Wt {
|
|
340
346
|
constructor(e) {
|
|
341
347
|
super("startDetails", "block"), this.summary = e;
|
|
342
348
|
}
|
|
343
349
|
}
|
|
344
|
-
class HC extends
|
|
350
|
+
class HC extends Wt {
|
|
345
351
|
constructor() {
|
|
346
352
|
super("endDetails", "block");
|
|
347
353
|
}
|
|
348
354
|
}
|
|
349
|
-
class GC extends
|
|
355
|
+
class GC extends Wt {
|
|
350
356
|
constructor(e, r) {
|
|
351
357
|
super("startTag", "block"), this.style = r, this.tag = e;
|
|
352
358
|
}
|
|
353
359
|
}
|
|
354
|
-
class qC extends
|
|
360
|
+
class qC extends Wt {
|
|
355
361
|
constructor(e) {
|
|
356
362
|
super("endTag", "block"), this.tag = e;
|
|
357
363
|
}
|
|
358
364
|
}
|
|
359
|
-
class YC extends
|
|
365
|
+
class YC extends Wt {
|
|
360
366
|
constructor(e, r, a) {
|
|
361
367
|
super("startSlide", "block"), this.layout = e, this.mode = r, this.theme = a;
|
|
362
368
|
}
|
|
363
369
|
}
|
|
364
|
-
class VC extends
|
|
370
|
+
class VC extends Wt {
|
|
365
371
|
constructor() {
|
|
366
372
|
super("endSlide", "block");
|
|
367
373
|
}
|
|
@@ -15047,7 +15053,7 @@ function EW() {
|
|
|
15047
15053
|
return a(Z, { variants: null }, fe);
|
|
15048
15054
|
})), Z.cachedVariants ? Z.cachedVariants : Ut(Z) ? a(Z, { starts: Z.starts ? a(Z.starts) : null }) : Object.isFrozen(Z) ? a(Z) : Z;
|
|
15049
15055
|
}
|
|
15050
|
-
var
|
|
15056
|
+
var $t = "11.11.1";
|
|
15051
15057
|
class or extends Error {
|
|
15052
15058
|
constructor(fe, xe) {
|
|
15053
15059
|
super(fe), this.name = "HTMLInjectionError", this.html = xe;
|
|
@@ -15077,24 +15083,24 @@ function EW() {
|
|
|
15077
15083
|
At += Pe.parentNode ? Pe.parentNode.className : "";
|
|
15078
15084
|
const Mt = Te.languageDetectRe.exec(At);
|
|
15079
15085
|
if (Mt) {
|
|
15080
|
-
const
|
|
15081
|
-
return
|
|
15086
|
+
const Xt = Ca(Mt[1]);
|
|
15087
|
+
return Xt || (vt(jt.replace("{}", Mt[1])), vt("Falling back to no-highlight mode for this block.", Pe)), Xt ? Mt[1] : "no-highlight";
|
|
15082
15088
|
}
|
|
15083
|
-
return At.split(/\s+/).find((
|
|
15089
|
+
return At.split(/\s+/).find((Xt) => ct(Xt) || Ca(Xt));
|
|
15084
15090
|
}
|
|
15085
15091
|
function Ht(Pe, At, Mt) {
|
|
15086
|
-
let
|
|
15087
|
-
typeof At == "object" ? (
|
|
15088
|
-
https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe,
|
|
15092
|
+
let Xt = "", vr = "";
|
|
15093
|
+
typeof At == "object" ? (Xt = Pe, Mt = At.ignoreIllegals, vr = At.language) : (mt("10.7.0", "highlight(lang, code, ...args) has been deprecated."), mt("10.7.0", `Please use highlight(code, options) instead.
|
|
15094
|
+
https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Xt = At), Mt === void 0 && (Mt = !0);
|
|
15089
15095
|
const oa = {
|
|
15090
|
-
code:
|
|
15096
|
+
code: Xt,
|
|
15091
15097
|
language: vr
|
|
15092
15098
|
};
|
|
15093
15099
|
wn("before:highlight", oa);
|
|
15094
15100
|
const ln = oa.result ? oa.result : hr(oa.language, oa.code, Mt);
|
|
15095
15101
|
return ln.code = oa.code, wn("after:highlight", ln), ln;
|
|
15096
15102
|
}
|
|
15097
|
-
function hr(Pe, At, Mt,
|
|
15103
|
+
function hr(Pe, At, Mt, Xt) {
|
|
15098
15104
|
const vr = /* @__PURE__ */ Object.create(null);
|
|
15099
15105
|
function oa(je, Xe) {
|
|
15100
15106
|
return je.keywords[Xe];
|
|
@@ -15235,7 +15241,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15235
15241
|
if (!ka)
|
|
15236
15242
|
throw st(jt.replace("{}", Pe)), new Error('Unknown language: "' + Pe + '"');
|
|
15237
15243
|
const jo = Dr(ka);
|
|
15238
|
-
let Bi = "", kt =
|
|
15244
|
+
let Bi = "", kt = Xt || jo;
|
|
15239
15245
|
const Oi = {}, Lr = new Te.__emitter(Te);
|
|
15240
15246
|
bs();
|
|
15241
15247
|
let tr = "", Ri = 0, la = 0, Un = 0, Pn = !1;
|
|
@@ -15301,11 +15307,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15301
15307
|
}
|
|
15302
15308
|
function ia(Pe, At) {
|
|
15303
15309
|
At = At || Te.languages || Object.keys(fe);
|
|
15304
|
-
const Mt = Er(Pe),
|
|
15310
|
+
const Mt = Er(Pe), Xt = At.filter(Ca).filter(ni).map(
|
|
15305
15311
|
(Jr) => hr(Jr, Pe, !1)
|
|
15306
15312
|
);
|
|
15307
|
-
|
|
15308
|
-
const vr =
|
|
15313
|
+
Xt.unshift(Mt);
|
|
15314
|
+
const vr = Xt.sort((Jr, Ta) => {
|
|
15309
15315
|
if (Jr.relevance !== Ta.relevance) return Ta.relevance - Jr.relevance;
|
|
15310
15316
|
if (Jr.language && Ta.language) {
|
|
15311
15317
|
if (Ca(Jr.language).supersetOf === Ta.language)
|
|
@@ -15318,8 +15324,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15318
15324
|
return pr.secondBest = ln, pr;
|
|
15319
15325
|
}
|
|
15320
15326
|
function Ti(Pe, At, Mt) {
|
|
15321
|
-
const
|
|
15322
|
-
Pe.classList.add("hljs"), Pe.classList.add(`language-${
|
|
15327
|
+
const Xt = At && xe[At] || Mt;
|
|
15328
|
+
Pe.classList.add("hljs"), Pe.classList.add(`language-${Xt}`);
|
|
15323
15329
|
}
|
|
15324
15330
|
function qa(Pe) {
|
|
15325
15331
|
let At = null;
|
|
@@ -15338,7 +15344,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15338
15344
|
Pe.innerHTML
|
|
15339
15345
|
);
|
|
15340
15346
|
At = Pe;
|
|
15341
|
-
const
|
|
15347
|
+
const Xt = At.textContent, vr = Mt ? Ht(Xt, { language: Mt, ignoreIllegals: !0 }) : ia(Xt);
|
|
15342
15348
|
Pe.innerHTML = vr.value, Pe.dataset.highlighted = "yes", Ti(Pe, Mt, vr.language), Pe.result = {
|
|
15343
15349
|
language: vr.language,
|
|
15344
15350
|
// TODO: remove with version 11.0
|
|
@@ -15347,7 +15353,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15347
15353
|
}, vr.secondBest && (Pe.secondBest = {
|
|
15348
15354
|
language: vr.secondBest.language,
|
|
15349
15355
|
relevance: vr.secondBest.relevance
|
|
15350
|
-
}), wn("after:highlightElement", { el: Pe, result: vr, text:
|
|
15356
|
+
}), wn("after:highlightElement", { el: Pe, result: vr, text: Xt });
|
|
15351
15357
|
}
|
|
15352
15358
|
function Ya(Pe) {
|
|
15353
15359
|
Te = zt(Te, Pe);
|
|
@@ -15373,11 +15379,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15373
15379
|
let Mt = null;
|
|
15374
15380
|
try {
|
|
15375
15381
|
Mt = At(Z);
|
|
15376
|
-
} catch (
|
|
15382
|
+
} catch (Xt) {
|
|
15377
15383
|
if (st("Language definition for '{}' could not be registered.".replace("{}", Pe)), Lt)
|
|
15378
|
-
st(
|
|
15384
|
+
st(Xt);
|
|
15379
15385
|
else
|
|
15380
|
-
throw
|
|
15386
|
+
throw Xt;
|
|
15381
15387
|
Mt = et;
|
|
15382
15388
|
}
|
|
15383
15389
|
Mt.name || (Mt.name = Pe), fe[Pe] = Mt, Mt.rawDefinition = At.bind(null, Z), Mt.aliases && ai(Mt.aliases, { languageName: Pe });
|
|
@@ -15422,8 +15428,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15422
15428
|
}
|
|
15423
15429
|
function wn(Pe, At) {
|
|
15424
15430
|
const Mt = Pe;
|
|
15425
|
-
St.forEach(function(
|
|
15426
|
-
|
|
15431
|
+
St.forEach(function(Xt) {
|
|
15432
|
+
Xt[Mt] && Xt[Mt](At);
|
|
15427
15433
|
});
|
|
15428
15434
|
}
|
|
15429
15435
|
function Ks(Pe) {
|
|
@@ -15452,7 +15458,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vr = Pe, Zt = At), Mt
|
|
|
15452
15458
|
Lt = !1;
|
|
15453
15459
|
}, Z.safeMode = function() {
|
|
15454
15460
|
Lt = !0;
|
|
15455
|
-
}, Z.versionString =
|
|
15461
|
+
}, Z.versionString = $t, Z.regex = {
|
|
15456
15462
|
concat: y,
|
|
15457
15463
|
lookahead: u,
|
|
15458
15464
|
either: S,
|
|
@@ -59422,7 +59428,7 @@ function BZ() {
|
|
|
59422
59428
|
W
|
|
59423
59429
|
],
|
|
59424
59430
|
illegal: /\[|%/
|
|
59425
|
-
},
|
|
59431
|
+
}, $t = {
|
|
59426
59432
|
match: [
|
|
59427
59433
|
/operator/,
|
|
59428
59434
|
/\s+/,
|
|
@@ -59534,7 +59540,7 @@ function BZ() {
|
|
|
59534
59540
|
_a,
|
|
59535
59541
|
zt,
|
|
59536
59542
|
sn,
|
|
59537
|
-
|
|
59543
|
+
$t,
|
|
59538
59544
|
or,
|
|
59539
59545
|
{
|
|
59540
59546
|
beginKeywords: "import",
|
|
@@ -63697,7 +63703,7 @@ Sorry, your browser doesn't support embedded videos.
|
|
|
63697
63703
|
` : `</span>
|
|
63698
63704
|
`, cJ = (t, e, r, a) => `<section id="slide-${a + 1}" class="slide slide-${e} slide-layout-${t} ${r}-theme">
|
|
63699
63705
|
`, dJ = () => `</section>
|
|
63700
|
-
`,
|
|
63706
|
+
`, Jt = {
|
|
63701
63707
|
heading: mW,
|
|
63702
63708
|
paragraph: gW,
|
|
63703
63709
|
blockquote: fW,
|
|
@@ -63722,62 +63728,62 @@ Sorry, your browser doesn't support embedded videos.
|
|
|
63722
63728
|
for (const d in e)
|
|
63723
63729
|
switch (e[d].name) {
|
|
63724
63730
|
case "heading":
|
|
63725
|
-
e[d].values.length !== 0 && (a +=
|
|
63731
|
+
e[d].values.length !== 0 && (a += Jt.heading(e[d].level, e[d].values)), n = e[d];
|
|
63726
63732
|
break;
|
|
63727
63733
|
case "paragraph":
|
|
63728
|
-
n && n.name === "blockquote" ? (i.push(e[d].values), e[d] === e[e.length - 1] && (a +=
|
|
63734
|
+
n && n.name === "blockquote" ? (i.push(e[d].values), e[d] === e[e.length - 1] && (a += Jt.blockquote(i))) : (a += Jt.paragraph(e[d].values), n = e[d]);
|
|
63729
63735
|
break;
|
|
63730
63736
|
case "blockquote":
|
|
63731
|
-
i.push(e[d].values), e[d] === e[e.length - 1] && (a +=
|
|
63737
|
+
i.push(e[d].values), e[d] === e[e.length - 1] && (a += Jt.blockquote(i)), n = e[d];
|
|
63732
63738
|
break;
|
|
63733
63739
|
case "list":
|
|
63734
|
-
o.push({ level: e[d].level, values: e[d].values }), e[d] === e[e.length - 1] && (a +=
|
|
63740
|
+
o.push({ level: e[d].level, values: e[d].values }), e[d] === e[e.length - 1] && (a += Jt.ulist(o)), n = e[d];
|
|
63735
63741
|
break;
|
|
63736
63742
|
case "checklist":
|
|
63737
63743
|
c.push({
|
|
63738
63744
|
level: e[d].level,
|
|
63739
63745
|
values: e[d].values,
|
|
63740
63746
|
checked: e[d].checked
|
|
63741
|
-
}), e[d] === e[e.length - 1] && (a +=
|
|
63747
|
+
}), e[d] === e[e.length - 1] && (a += Jt.checklist(c)), n = e[d];
|
|
63742
63748
|
break;
|
|
63743
63749
|
case "orderedlist":
|
|
63744
|
-
l.push({ level: e[d].level, values: e[d].values }), e[d] === e[e.length - 1] && (a +=
|
|
63750
|
+
l.push({ level: e[d].level, values: e[d].values }), e[d] === e[e.length - 1] && (a += Jt.olist(l)), n = e[d];
|
|
63745
63751
|
break;
|
|
63746
63752
|
case "code":
|
|
63747
|
-
a +=
|
|
63753
|
+
a += Jt.code(e[d]);
|
|
63748
63754
|
break;
|
|
63749
63755
|
case "horizontal":
|
|
63750
|
-
a +=
|
|
63756
|
+
a += Jt.horizontal();
|
|
63751
63757
|
break;
|
|
63752
63758
|
case "table":
|
|
63753
|
-
a +=
|
|
63759
|
+
a += Jt.table(e[d]);
|
|
63754
63760
|
break;
|
|
63755
63761
|
case "katex":
|
|
63756
|
-
a +=
|
|
63762
|
+
a += Jt.katex(e[d]);
|
|
63757
63763
|
break;
|
|
63758
63764
|
case "color":
|
|
63759
|
-
a +=
|
|
63765
|
+
a += Jt.colorBlock(e[d]);
|
|
63760
63766
|
break;
|
|
63761
63767
|
case "startDetails":
|
|
63762
|
-
a +=
|
|
63768
|
+
a += Jt.startDetails(e[d].summary);
|
|
63763
63769
|
break;
|
|
63764
63770
|
case "endDetails":
|
|
63765
|
-
a +=
|
|
63771
|
+
a += Jt.endDetails();
|
|
63766
63772
|
break;
|
|
63767
63773
|
case "startSlide":
|
|
63768
|
-
a +=
|
|
63774
|
+
a += Jt.startSlide(e[d].layout, e[d].mode, e[d].theme, s.length);
|
|
63769
63775
|
break;
|
|
63770
63776
|
case "endSlide":
|
|
63771
|
-
o.length !== 0 ? (a +=
|
|
63777
|
+
o.length !== 0 ? (a += Jt.ulist(o), o = []) : l.length !== 0 ? (a += Jt.olist(l), l = []) : c.length !== 0 ? (a += Jt.checklist(c), c = []) : i.length !== 0 && (a += Jt.blockquote(i), i = []), a += Jt.endSlide(), s.push(a), n = e[d], a = "";
|
|
63772
63778
|
break;
|
|
63773
63779
|
case "startTag":
|
|
63774
|
-
a +=
|
|
63780
|
+
a += Jt.startTag(e[d]);
|
|
63775
63781
|
break;
|
|
63776
63782
|
case "endTag":
|
|
63777
|
-
o.length !== 0 ? (a +=
|
|
63783
|
+
o.length !== 0 ? (a += Jt.ulist(o), o = []) : l.length !== 0 ? (a += Jt.olist(l), l = []) : c.length !== 0 ? (a += Jt.checklist(c), c = []) : i.length !== 0 && (a += Jt.blockquote(i), i = []), a += Jt.endTag(e[d]), n = e[d];
|
|
63778
63784
|
break;
|
|
63779
63785
|
case "br":
|
|
63780
|
-
i.length !== 0 ? (a +=
|
|
63786
|
+
i.length !== 0 ? (a += Jt.blockquote(i), i = [], n = e[d]) : n && n.name === "list" ? (a += Jt.ulist(o), o = [], n = e[d]) : n && n.name === "orderedlist" ? (a += Jt.olist(l), l = [], n = e[d]) : n && n.name === "checklist" ? (a += Jt.checklist(c), c = [], n = e[d]) : (n && n.name === "br" || n && n.name, a += Jt.br(), n = e[d]);
|
|
63781
63787
|
break;
|
|
63782
63788
|
}
|
|
63783
63789
|
return r.mode === "slide" ? {
|
|
@@ -63794,7 +63800,7 @@ ${a}
|
|
|
63794
63800
|
slide: [],
|
|
63795
63801
|
mode: "page"
|
|
63796
63802
|
};
|
|
63797
|
-
}, kf = (t, e = !0) => uJ(AT(t, e)),
|
|
63803
|
+
}, kf = (t, e = !0) => uJ(AT(t, e)), Kie = ({ text: t, useSlideMode: e = !0, id: r = "", className: a = "" }) => {
|
|
63798
63804
|
const { html: n } = kf(t, e);
|
|
63799
63805
|
return /* @__PURE__ */ Qa.createElement("div", { id: r, className: a }, Af(n));
|
|
63800
63806
|
};
|
|
@@ -69644,7 +69650,7 @@ function wt(t) {
|
|
|
69644
69650
|
if (Object.keys(gt).indexOf(g) === -1) throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
69645
69651
|
return gt[g] = N;
|
|
69646
69652
|
};
|
|
69647
|
-
var Bt, We, Dr, Ut, va,
|
|
69653
|
+
var Bt, We, Dr, Ut, va, $t = {}, or = {}, _a = [], zt = {}, sn = {}, Et = {}, Wr = {}, Nr = null, Z = 0, fe = [], xe = new qS(m), St = t.hotfixes || [], Lt = {}, jt = {}, et = [], Te = function g(N, j, ae, _e, Ce, Me) {
|
|
69648
69654
|
if (!(this instanceof g)) return new g(N, j, ae, _e, Ce, Me);
|
|
69649
69655
|
isNaN(N) && (N = 1), isNaN(j) && (j = 0), isNaN(ae) && (ae = 0), isNaN(_e) && (_e = 1), isNaN(Ce) && (Ce = 0), isNaN(Me) && (Me = 0), this._matrix = [N, j, ae, _e, Ce, Me];
|
|
69650
69656
|
};
|
|
@@ -69852,7 +69858,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
69852
69858
|
}, ki = function(g) {
|
|
69853
69859
|
xe.publish("putFont", { font: g, out: $, newObject: hr, putStream: sa }), g.isAlreadyPutted !== !0 && (g.objectNumber = hr(), $("<<"), $("/Type /Font"), $("/BaseFont /" + Ro(g.postScriptName)), $("/Subtype /Type1"), typeof g.encoding == "string" && $("/Encoding /" + g.encoding), $("/FirstChar 32"), $("/LastChar 255"), $(">>"), $("endobj"));
|
|
69854
69860
|
}, Ca = function() {
|
|
69855
|
-
for (var g in
|
|
69861
|
+
for (var g in $t) $t.hasOwnProperty(g) && (_ === !1 || _ === !0 && u.hasOwnProperty(g)) && ki($t[g]);
|
|
69856
69862
|
}, ai = function(g) {
|
|
69857
69863
|
g.objectNumber = hr();
|
|
69858
69864
|
var N = [];
|
|
@@ -69910,8 +69916,8 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
69910
69916
|
xe.publish("putXobjectDict"), $(">>");
|
|
69911
69917
|
}, Mt = function() {
|
|
69912
69918
|
Xe.oid = hr(), $("<<"), $("/Filter /Standard"), $("/V " + Xe.v), $("/R " + Xe.r), $("/U <" + Xe.toHexString(Xe.U) + ">"), $("/O <" + Xe.toHexString(Xe.O) + ">"), $("/P " + Xe.P), $(">>"), $("endobj");
|
|
69913
|
-
},
|
|
69914
|
-
for (var g in $("/Font <<"),
|
|
69919
|
+
}, Xt = function() {
|
|
69920
|
+
for (var g in $("/Font <<"), $t) $t.hasOwnProperty(g) && (_ === !1 || _ === !0 && u.hasOwnProperty(g)) && $("/" + g + " " + $t[g].objectNumber + " 0 R");
|
|
69915
69921
|
$(">>");
|
|
69916
69922
|
}, vr = function() {
|
|
69917
69923
|
if (Object.keys(zt).length > 0) {
|
|
@@ -69930,7 +69936,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
69930
69936
|
xe.publish("putGStateDict"), $(">>");
|
|
69931
69937
|
}
|
|
69932
69938
|
}, pr = function(g) {
|
|
69933
|
-
ia(g.resourcesOid, !0), $("<<"), $("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),
|
|
69939
|
+
ia(g.resourcesOid, !0), $("<<"), $("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), Xt(), vr(), oa(g.objectOid), ln(), At(), $(">>"), $("endobj");
|
|
69934
69940
|
}, Jr = function() {
|
|
69935
69941
|
var g = [];
|
|
69936
69942
|
Ca(), Pe(), ni(), wn(g), xe.publish("putResources"), g.forEach(pr), pr({ resourcesOid: Ya, objectOid: Number.MAX_SAFE_INTEGER }), xe.publish("postPutResources");
|
|
@@ -69944,8 +69950,8 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
69944
69950
|
}, hs = function(g) {
|
|
69945
69951
|
or[g.fontName] = or[g.fontName] || {}, or[g.fontName][g.fontStyle] = g.id;
|
|
69946
69952
|
}, Ni = function(g, N, j, ae, _e) {
|
|
69947
|
-
var Ce = { id: "F" + (Object.keys(
|
|
69948
|
-
return xe.publish("addFont", { font: Ce, instance: this }),
|
|
69953
|
+
var Ce = { id: "F" + (Object.keys($t).length + 1).toString(10), postScriptName: g, fontName: N, fontStyle: j, encoding: ae, isStandardFont: _e || !1, metadata: {} };
|
|
69954
|
+
return xe.publish("addFont", { font: Ce, instance: this }), $t[Ce.id] = Ce, hs(Ce), Ce.id;
|
|
69949
69955
|
}, js = function(g) {
|
|
69950
69956
|
for (var N = 0, j = Fe.length; N < j; N++) {
|
|
69951
69957
|
var ae = Ni.call(this, g[N][0], g[N][1], g[N][2], Fe[N][3], !0);
|
|
@@ -69953,7 +69959,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
69953
69959
|
var _e = g[N][0].split("-");
|
|
69954
69960
|
hs({ id: ae, fontName: _e[0], fontStyle: _e[1] || "" });
|
|
69955
69961
|
}
|
|
69956
|
-
xe.publish("addFonts", { fonts:
|
|
69962
|
+
xe.publish("addFonts", { fonts: $t, dictionary: or });
|
|
69957
69963
|
}, Wa = function(g) {
|
|
69958
69964
|
return g.foo = function() {
|
|
69959
69965
|
try {
|
|
@@ -69969,7 +69975,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
69969
69975
|
}, g.foo.bar = g, g.foo;
|
|
69970
69976
|
}, Ii = function(g, N) {
|
|
69971
69977
|
var j, ae, _e, Ce, Me, tt, ut, Rt, Nt;
|
|
69972
|
-
if (_e = (N = N || {}).sourceEncoding || "Unicode", Me = N.outputEncoding, (N.autoencode || Me) &&
|
|
69978
|
+
if (_e = (N = N || {}).sourceEncoding || "Unicode", Me = N.outputEncoding, (N.autoencode || Me) && $t[Bt].metadata && $t[Bt].metadata[_e] && $t[Bt].metadata[_e].encoding && (Ce = $t[Bt].metadata[_e].encoding, !Me && $t[Bt].encoding && (Me = $t[Bt].encoding), !Me && Ce.codePages && (Me = Ce.codePages[0]), typeof Me == "string" && (Me = Ce[Me]), Me)) {
|
|
69973
69979
|
for (ut = !1, tt = [], j = 0, ae = g.length; j < ae; j++) (Rt = Me[g.charCodeAt(j)]) ? tt.push(String.fromCharCode(Rt)) : tt.push(g[j]), tt[j].charCodeAt(0) >> 8 && (ut = !0);
|
|
69974
69980
|
g = tt.join("");
|
|
69975
69981
|
}
|
|
@@ -70002,7 +70008,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
70002
70008
|
return Be.length - 1;
|
|
70003
70009
|
}, Bi = function(g, N, j) {
|
|
70004
70010
|
var ae, _e = void 0;
|
|
70005
|
-
return j = j || {}, g = g !== void 0 ? g :
|
|
70011
|
+
return j = j || {}, g = g !== void 0 ? g : $t[Bt].fontName, N = N !== void 0 ? N : $t[Bt].fontStyle, ae = g.toLowerCase(), or[ae] !== void 0 && or[ae][N] !== void 0 ? _e = or[ae][N] : or[g] !== void 0 && or[g][N] !== void 0 ? _e = or[g][N] : j.disableWarning === !1 && dr.warn("Unable to look up font label for font '" + g + "', '" + N + "'. Refer to getFontList() for available fonts."), _e || j.noFallback || (_e = or.times[N]) == null && (_e = or.times.normal), _e;
|
|
70006
70012
|
}, kt = m.__private__.putInfo = function() {
|
|
70007
70013
|
var g = hr(), N = function(ae) {
|
|
70008
70014
|
return ae;
|
|
@@ -70233,7 +70239,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
70233
70239
|
}
|
|
70234
70240
|
if ((Nt = ae.maxWidth || 0) > 0 && (typeof g == "string" ? g = qr.splitTextToSize(g, Nt) : Object.prototype.toString.call(g) === "[object Array]" && (g = g.reduce(function(_r, mr) {
|
|
70235
70241
|
return _r.concat(qr.splitTextToSize(mr, Nt));
|
|
70236
|
-
}, []))), Ce = { text: g, x: N, y: j, options: ae, mutex: { pdfEscape: ma, activeFontKey: Bt, fonts:
|
|
70242
|
+
}, []))), Ce = { text: g, x: N, y: j, options: ae, mutex: { pdfEscape: ma, activeFontKey: Bt, fonts: $t, activeFontSize: Ge } }, xe.publish("preProcessText", Ce), g = Ce.text, tt = (ae = Ce.options).angle, !(Ir instanceof Te) && tt && typeof tt == "number") {
|
|
70237
70243
|
tt *= Math.PI / 180, ae.rotationDirection === 0 && (tt = -tt), x === T.ADVANCED && (tt = -tt);
|
|
70238
70244
|
var io = Math.cos(tt), cl = Math.sin(tt);
|
|
70239
70245
|
Ir = new Te(io, cl, -cl, io, 0, 0);
|
|
@@ -70281,7 +70287,7 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
70281
70287
|
La !== -1 ? ea += La + ` Tr
|
|
70282
70288
|
` : dA !== -1 && (ea += `0 Tr
|
|
70283
70289
|
`), La !== -1 && (dl.usedRenderingMode = La), ut = ae.align || "left";
|
|
70284
|
-
var cn, so = Ge * Xa, uA = qr.internal.pageSize.getWidth(), pA =
|
|
70290
|
+
var cn, so = Ge * Xa, uA = qr.internal.pageSize.getWidth(), pA = $t[Bt];
|
|
70285
70291
|
Rt = ae.charSpace || Zs, Nt = ae.maxWidth || 0, Gt = Object.assign({ autoencode: !0, noBOM: !0 }, ae.flags);
|
|
70286
70292
|
var Mi = [], vs = function(_r) {
|
|
70287
70293
|
return qr.getStringUnitWidth(_r, { font: pA, charSpace: Rt, fontSize: Ge, doKerning: !1 }) * Ge / zn;
|
|
@@ -70318,8 +70324,8 @@ Q`), ia(_e, !0), sa({ data: Ce, filters: ja(), objectId: _e }), $("endobj"), ae;
|
|
|
70318
70324
|
var _A = typeof ae.R2L == "boolean" ? ae.R2L : st;
|
|
70319
70325
|
_A === !0 && (g = ol(g, function(_r, mr, Fr) {
|
|
70320
70326
|
return [_r.split("").reverse().join(""), mr, Fr];
|
|
70321
|
-
})), Ce = { text: g, x: N, y: j, options: ae, mutex: { pdfEscape: ma, activeFontKey: Bt, fonts:
|
|
70322
|
-
var pl =
|
|
70327
|
+
})), Ce = { text: g, x: N, y: j, options: ae, mutex: { pdfEscape: ma, activeFontKey: Bt, fonts: $t, activeFontSize: Ge } }, xe.publish("postProcessText", Ce), g = Ce.text, Cn = Ce.mutex.isHex || !1;
|
|
70328
|
+
var pl = $t[Bt].encoding;
|
|
70323
70329
|
pl !== "WinAnsiEncoding" && pl !== "StandardEncoding" || (g = ol(g, function(_r, mr, Fr) {
|
|
70324
70330
|
return [cA(_r), mr, Fr];
|
|
70325
70331
|
})), Me = sl(g), g = [];
|
|
@@ -70488,7 +70494,7 @@ T* `) : g.join(` Tj
|
|
|
70488
70494
|
return j && (N = f(N, j)), Bt = Bi(g, N, { disableWarning: !1 }), this;
|
|
70489
70495
|
};
|
|
70490
70496
|
var hd = m.__private__.getFont = m.getFont = function() {
|
|
70491
|
-
return
|
|
70497
|
+
return $t[Bi.apply(m, arguments)];
|
|
70492
70498
|
};
|
|
70493
70499
|
m.__private__.getFontList = m.getFontList = function() {
|
|
70494
70500
|
var g, N, j = {};
|
|
@@ -73646,11 +73652,11 @@ function bg(t) {
|
|
|
73646
73652
|
var Ke, Ye, st, vt, mt, yt, Ft, Kt, gt, Bt, We = 0;
|
|
73647
73653
|
for (gt = 0; gt < 8; ++gt) {
|
|
73648
73654
|
Ke = Fe[We], Ye = Fe[We + 1], st = Fe[We + 2], vt = Fe[We + 3], mt = Fe[We + 4], yt = Fe[We + 5], Ft = Fe[We + 6];
|
|
73649
|
-
var Dr = Ke + (Kt = Fe[We + 7]), Ut = Ke - Kt, va = Ye + Ft,
|
|
73655
|
+
var Dr = Ke + (Kt = Fe[We + 7]), Ut = Ke - Kt, va = Ye + Ft, $t = Ye - Ft, or = st + yt, _a = st - yt, zt = vt + mt, sn = vt - mt, Et = Dr + zt, Wr = Dr - zt, Nr = va + or, Z = va - or;
|
|
73650
73656
|
Fe[We] = Et + Nr, Fe[We + 4] = Et - Nr;
|
|
73651
73657
|
var fe = 0.707106781 * (Z + Wr);
|
|
73652
73658
|
Fe[We + 2] = Wr + fe, Fe[We + 6] = Wr - fe;
|
|
73653
|
-
var xe = 0.382683433 * ((Et = sn + _a) - (Z =
|
|
73659
|
+
var xe = 0.382683433 * ((Et = sn + _a) - (Z = $t + Ut)), St = 0.5411961 * Et + xe, Lt = 1.306562965 * Z + xe, jt = 0.707106781 * (Nr = _a + $t), et = Ut + jt, Te = Ut - jt;
|
|
73654
73660
|
Fe[We + 5] = Te + St, Fe[We + 3] = Te - St, Fe[We + 1] = et + Lt, Fe[We + 7] = et - Lt, We += 8;
|
|
73655
73661
|
}
|
|
73656
73662
|
for (We = 0, gt = 0; gt < 8; ++gt) {
|
|
@@ -74006,7 +74012,7 @@ function r1(t) {
|
|
|
74006
74012
|
w[k++] = O, w[k++] = D;
|
|
74007
74013
|
}
|
|
74008
74014
|
}
|
|
74009
|
-
function
|
|
74015
|
+
function $t(A, p, h, w, k) {
|
|
74010
74016
|
for (h = p + h; p < h; ) {
|
|
74011
74017
|
var O = A[p++];
|
|
74012
74018
|
w[k++] = O >> 0 & 255, w[k++] = O >> 8 & 255, w[k++] = O >> 16 & 255;
|
|
@@ -74121,10 +74127,10 @@ function r1(t) {
|
|
|
74121
74127
|
var we = ne, ie = he, le = z, ke = F, Re = ($e = q).Ea;
|
|
74122
74128
|
we == 0 && (wd(be, ce, null, null, 1, le, ke), yt(be, ce + 1, 0, 0, Re - 1, le, ke + 1), ce += Re, ke += Re, ++we);
|
|
74123
74129
|
for (var Ne = 1 << $e.b, at = Ne - 1, Ve = rt(Re, $e.b), ft = $e.K, $e = $e.w + (we >> $e.b) * Ve; we < ie; ) {
|
|
74124
|
-
var
|
|
74130
|
+
var Zt = ft, nr = $e, Yt = 1;
|
|
74125
74131
|
for (dl(be, ce, le, ke - Re, 1, le, ke); Yt < Re; ) {
|
|
74126
74132
|
var Pt = (Yt & ~at) + Ne;
|
|
74127
|
-
Pt > Re && (Pt = Re), (0, Mi[
|
|
74133
|
+
Pt > Re && (Pt = Re), (0, Mi[Zt[nr++] >> 8 & 15])(be, ce + +Yt, le, ke + Yt - Re, Pt - Yt, le, ke + Yt), Yt = Pt;
|
|
74128
74134
|
}
|
|
74129
74135
|
ce += Re, ke += Re, ++we & at || ($e += Ve);
|
|
74130
74136
|
}
|
|
@@ -74132,8 +74138,8 @@ function r1(t) {
|
|
|
74132
74138
|
break;
|
|
74133
74139
|
case 1:
|
|
74134
74140
|
for (Ie = be, ie = ce, Re = (be = q.Ea) - (ke = be & ~(le = (ce = 1 << q.b) - 1)), we = rt(be, q.b), Ne = q.K, q = q.w + (ne >> q.b) * we; ne < he; ) {
|
|
74135
|
-
for (at = Ne, Ve = q, ft = new Ke(), $e = ie + ke,
|
|
74136
|
-
ie <
|
|
74141
|
+
for (at = Ne, Ve = q, ft = new Ke(), $e = ie + ke, Zt = ie + be; ie < $e; ) Kt(at[Ve++], ft), vs(ft, Ie, ie, ce, z, F), ie += ce, F += ce;
|
|
74142
|
+
ie < Zt && (Kt(at[Ve++], ft), vs(ft, Ie, ie, Re, z, F), ie += Re, F += Re), ++ne & le || (q += we);
|
|
74137
74143
|
}
|
|
74138
74144
|
break;
|
|
74139
74145
|
case 3:
|
|
@@ -74285,7 +74291,7 @@ function r1(t) {
|
|
|
74285
74291
|
}
|
|
74286
74292
|
function sa() {
|
|
74287
74293
|
var A = new Sd();
|
|
74288
|
-
return A == null ? null : (A.a = 0, A.xb = Hf, _a("Predictor", "VP8LPredictors"), _a("Predictor", "VP8LPredictors_C"), _a("PredictorAdd", "VP8LPredictorsAdd"), _a("PredictorAdd", "VP8LPredictorsAdd_C"), dA = Ft, vs = gt, Ma = We, Na = Dr, Fi = Ut, oi = va, li =
|
|
74294
|
+
return A == null ? null : (A.a = 0, A.xb = Hf, _a("Predictor", "VP8LPredictors"), _a("Predictor", "VP8LPredictors_C"), _a("PredictorAdd", "VP8LPredictorsAdd"), _a("PredictorAdd", "VP8LPredictorsAdd_C"), dA = Ft, vs = gt, Ma = We, Na = Dr, Fi = Ut, oi = va, li = $t, M.VP8LMapColor32b = so, M.VP8LMapColor8b = pA, A);
|
|
74289
74295
|
}
|
|
74290
74296
|
function on(A, p, h, w, k) {
|
|
74291
74297
|
var O = 1, D = [A], F = [p], z = w.m, q = w.s, ne = null, he = 0;
|
|
@@ -74302,12 +74308,12 @@ function r1(t) {
|
|
|
74302
74308
|
case 3:
|
|
74303
74309
|
var Re, Ne = Se(ie, 8) + 1, at = 16 < Ne ? 0 : 4 < Ne ? 1 : 2 < Ne ? 2 : 3;
|
|
74304
74310
|
if (be[0] = rt(le.Ea, at), le.b = at, Re = we = on(Ne, 1, 0, Ie, le.K)) {
|
|
74305
|
-
var Ve, ft = Ne, $e = le,
|
|
74311
|
+
var Ve, ft = Ne, $e = le, Zt = 1 << (8 >> $e.b), nr = i(Zt);
|
|
74306
74312
|
if (nr == null) Re = 0;
|
|
74307
74313
|
else {
|
|
74308
74314
|
var Yt = $e.K[0], Pt = $e.w;
|
|
74309
74315
|
for (nr[0] = $e.K[0][0], Ve = 1; Ve < 1 * ft; ++Ve) nr[Ve] = Fe(Yt[Pt + Ve], nr[Ve - 1]);
|
|
74310
|
-
for (; Ve < 4 *
|
|
74316
|
+
for (; Ve < 4 * Zt; ++Ve) nr[Ve] = 0;
|
|
74311
74317
|
$e.K[0] = null, $e.K[0] = nr, Re = 1;
|
|
74312
74318
|
}
|
|
74313
74319
|
}
|
|
@@ -74488,11 +74494,11 @@ function r1(t) {
|
|
|
74488
74494
|
function Mt() {
|
|
74489
74495
|
this.uc = this.M = this.Nb = 0, this.wa = Array(new wn()), this.Y = 0, this.ya = Array(new At()), this.aa = 0, this.l = new oa();
|
|
74490
74496
|
}
|
|
74491
|
-
function
|
|
74497
|
+
function Xt() {
|
|
74492
74498
|
this.y = i(16), this.f = i(8), this.ea = i(8);
|
|
74493
74499
|
}
|
|
74494
74500
|
function vr() {
|
|
74495
|
-
this.cb = this.a = 0, this.sc = "", this.m = new Oe(), this.Od = new Ca(), this.Kc = new ai(), this.ed = new Ko(), this.Qa = new ni(), this.Ic = this.$c = this.Aa = 0, this.D = new Mt(), this.Xb = this.Va = this.Hb = this.zb = this.yb = this.Ub = this.za = 0, this.Jc = s(8, Oe), this.ia = 0, this.pb = s(4, Pe), this.Pa = new Vo(), this.Bd = this.kc = 0, this.Ac = [], this.Bc = 0, this.zc = [0, 0, 0, 0], this.Gd = Array(new
|
|
74501
|
+
this.cb = this.a = 0, this.sc = "", this.m = new Oe(), this.Od = new Ca(), this.Kc = new ai(), this.ed = new Ko(), this.Qa = new ni(), this.Ic = this.$c = this.Aa = 0, this.D = new Mt(), this.Xb = this.Va = this.Hb = this.zb = this.yb = this.Ub = this.za = 0, this.Jc = s(8, Oe), this.ia = 0, this.pb = s(4, Pe), this.Pa = new Vo(), this.Bd = this.kc = 0, this.Ac = [], this.Bc = 0, this.zc = [0, 0, 0, 0], this.Gd = Array(new Xt()), this.Hd = 0, this.rb = Array(new Ks()), this.sb = 0, this.wa = Array(new wn()), this.Y = 0, this.oc = [], this.pc = 0, this.sa = [], this.ta = 0, this.qa = [], this.ra = 0, this.Ha = [], this.B = this.R = this.Ia = 0, this.Ec = [], this.M = this.ja = this.Vb = this.Fc = 0, this.ya = Array(new At()), this.L = this.aa = 0, this.gd = o([4, 2], wn), this.ga = null, this.Fa = [], this.Cc = this.qc = this.P = 0, this.Gb = [], this.Uc = 0, this.mb = [], this.nb = 0, this.rc = [], this.Ga = this.Vc = 0;
|
|
74496
74502
|
}
|
|
74497
74503
|
function oa() {
|
|
74498
74504
|
this.T = this.U = this.ka = this.height = this.width = 0, this.y = [], this.f = [], this.ea = [], this.Rc = this.fa = this.W = this.N = this.O = 0, this.ma = "void", this.put = "VP8IoPutHook", this.ac = "VP8IoSetupHook", this.bc = "VP8IoTeardownHook", this.ha = this.Kb = 0, this.data = [], this.hb = this.ib = this.da = this.o = this.j = this.va = this.v = this.Da = this.ob = this.w = 0, this.F = [], this.J = 0;
|
|
@@ -74636,7 +74642,7 @@ function r1(t) {
|
|
|
74636
74642
|
}
|
|
74637
74643
|
A.Vb = D;
|
|
74638
74644
|
}
|
|
74639
|
-
D = A.Ec, F = A.Fc, A.Ac = D, A.Bc = F, F += w, A.Gd = s(q,
|
|
74645
|
+
D = A.Ec, F = A.Fc, A.Ac = D, A.Bc = F, F += w, A.Gd = s(q, Xt), A.Hd = 0, A.rb = s(ne + 1, Ks), A.sb = 1, A.wa = he ? s(he, wn) : null, A.Y = 0, A.D.Nb = 0, A.D.wa = A.wa, A.D.Y = A.Y, 0 < A.Aa && (A.D.Y += z), e(!0), A.oc = D, A.pc = F, F += 832, A.ya = s(be, At), A.aa = 0, A.D.ya = A.ya, A.D.aa = A.aa, A.Aa == 2 && (A.D.aa += z), A.R = 16 * z, A.B = 8 * z, z = (q = vA[A.L]) * A.R, q = q / 2 * A.B, A.sa = D, A.ta = F + z, A.qa = A.sa, A.ra = A.ta + 16 * h * A.R + q, A.Ha = A.qa, A.Ia = A.ra + 8 * h * A.B + q, A.$c = 0, F += k, A.mb = O ? D : null, A.nb = O ? F : null, e(F + O <= A.Fc + A.Vb), Ni(A), n(A.Ac, A.Bc, 0, w), h = 1;
|
|
74640
74646
|
}
|
|
74641
74647
|
}
|
|
74642
74648
|
if (h) {
|
|
@@ -74656,7 +74662,7 @@ function r1(t) {
|
|
|
74656
74662
|
for (we = 0; we < ke.za; ++we) {
|
|
74657
74663
|
var Re = le, Ne = ke, at = Ne.Ac, Ve = Ne.Bc + 4 * we, ft = Ne.zc, $e = Ne.ya[Ne.aa + we];
|
|
74658
74664
|
if (Ne.Qa.Bb ? $e.$b = ge(Re, Ne.Pa.jb[0]) ? 2 + ge(Re, Ne.Pa.jb[2]) : ge(Re, Ne.Pa.jb[1]) : $e.$b = 0, Ne.kc && ($e.Ad = ge(Re, Ne.Bd)), $e.Za = !ge(Re, 145) + 0, $e.Za) {
|
|
74659
|
-
var
|
|
74665
|
+
var Zt = $e.Ob, nr = 0;
|
|
74660
74666
|
for (Ne = 0; 4 > Ne; ++Ne) {
|
|
74661
74667
|
var Yt, Pt = ft[0 + Ne];
|
|
74662
74668
|
for (Yt = 0; 4 > Yt; ++Yt) {
|
|
@@ -74664,7 +74670,7 @@ function r1(t) {
|
|
|
74664
74670
|
for (var cr = zf[ge(Re, Pt[0])]; 0 < cr; ) cr = zf[2 * cr + ge(Re, Pt[cr])];
|
|
74665
74671
|
Pt = -cr, at[Ve + Yt] = Pt;
|
|
74666
74672
|
}
|
|
74667
|
-
a(
|
|
74673
|
+
a(Zt, nr, at, Ve, 4), nr += 4, ft[0 + Ne] = Pt;
|
|
74668
74674
|
}
|
|
74669
74675
|
} else Pt = ge(Re, 156) ? ge(Re, 128) ? 1 : 3 : ge(Re, 163) ? 2 : 0, $e.Ob[0] = Pt, n(at, Ve, Pt, 4), n(ft, 0, Pt, 4);
|
|
74670
74676
|
$e.Dd = ge(Re, 142) ? ge(Re, 114) ? ge(Re, 183) ? 1 : 3 : 2 : 0;
|
|
@@ -74674,26 +74680,26 @@ function r1(t) {
|
|
|
74674
74680
|
if (ke = ie, Re = (le = ce).rb[le.sb - 1], at = le.rb[le.sb + le.ja], we = le.ya[le.aa + le.ja], Ve = le.kc ? we.Ad : 0) Re.la = at.la = 0, we.Za || (Re.Na = at.Na = 0), we.Hc = 0, we.Gc = 0, we.ia = 0;
|
|
74675
74681
|
else {
|
|
74676
74682
|
var lr, xt;
|
|
74677
|
-
if (Re = at, at = ke, Ve = le.Pa.Xc, ft = le.ya[le.aa + le.ja], $e = le.pb[ft.$b], Ne = ft.ad,
|
|
74683
|
+
if (Re = at, at = ke, Ve = le.Pa.Xc, ft = le.ya[le.aa + le.ja], $e = le.pb[ft.$b], Ne = ft.ad, Zt = 0, nr = le.rb[le.sb - 1], Pt = Yt = 0, n(Ne, Zt, 0, 384), ft.Za) var Yr = 0, Fa = Ve[3];
|
|
74678
74684
|
else {
|
|
74679
74685
|
cr = i(16);
|
|
74680
74686
|
var Vr = Re.Na + nr.Na;
|
|
74681
|
-
if (Vr = gl(at, Ve[1], Vr, $e.Eb, 0, cr, 0), Re.Na = nr.Na = (0 < Vr) + 0, 1 < Vr) oo(cr, 0, Ne,
|
|
74687
|
+
if (Vr = gl(at, Ve[1], Vr, $e.Eb, 0, cr, 0), Re.Na = nr.Na = (0 < Vr) + 0, 1 < Vr) oo(cr, 0, Ne, Zt);
|
|
74682
74688
|
else {
|
|
74683
74689
|
var Ua = cr[0] + 3 >> 3;
|
|
74684
|
-
for (cr = 0; 256 > cr; cr += 16) Ne[
|
|
74690
|
+
for (cr = 0; 256 > cr; cr += 16) Ne[Zt + cr] = Ua;
|
|
74685
74691
|
}
|
|
74686
74692
|
Yr = 1, Fa = Ve[0];
|
|
74687
74693
|
}
|
|
74688
74694
|
var ir = 15 & Re.la, Ja = 15 & nr.la;
|
|
74689
74695
|
for (cr = 0; 4 > cr; ++cr) {
|
|
74690
74696
|
var en = 1 & Ja;
|
|
74691
|
-
for (Ua = xt = 0; 4 > Ua; ++Ua) ir = ir >> 1 | (en = (Vr = gl(at, Fa, Vr = en + (1 & ir), $e.Sc, Yr, Ne,
|
|
74697
|
+
for (Ua = xt = 0; 4 > Ua; ++Ua) ir = ir >> 1 | (en = (Vr = gl(at, Fa, Vr = en + (1 & ir), $e.Sc, Yr, Ne, Zt)) > Yr) << 7, xt = xt << 2 | (3 < Vr ? 3 : 1 < Vr ? 2 : Ne[Zt + 0] != 0), Zt += 16;
|
|
74692
74698
|
ir >>= 4, Ja = Ja >> 1 | en << 7, Yt = (Yt << 8 | xt) >>> 0;
|
|
74693
74699
|
}
|
|
74694
74700
|
for (Fa = ir, Yr = Ja >> 4, lr = 0; 4 > lr; lr += 2) {
|
|
74695
74701
|
for (xt = 0, ir = Re.la >> 4 + lr, Ja = nr.la >> 4 + lr, cr = 0; 2 > cr; ++cr) {
|
|
74696
|
-
for (en = 1 & Ja, Ua = 0; 2 > Ua; ++Ua) Vr = en + (1 & ir), ir = ir >> 1 | (en = 0 < (Vr = gl(at, Ve[2], Vr, $e.Qc, 0, Ne,
|
|
74702
|
+
for (en = 1 & Ja, Ua = 0; 2 > Ua; ++Ua) Vr = en + (1 & ir), ir = ir >> 1 | (en = 0 < (Vr = gl(at, Ve[2], Vr, $e.Qc, 0, Ne, Zt))) << 3, xt = xt << 2 | (3 < Vr ? 3 : 1 < Vr ? 2 : Ne[Zt + 0] != 0), Zt += 16;
|
|
74697
74703
|
ir >>= 2, Ja = Ja >> 1 | en << 5;
|
|
74698
74704
|
}
|
|
74699
74705
|
Pt |= xt << 4 * lr, Fa |= ir << 4 << lr, Yr |= (240 & Ja) << lr;
|
|
@@ -74703,7 +74709,7 @@ function r1(t) {
|
|
|
74703
74709
|
if (0 < le.L && (le.wa[le.Y + le.ja] = le.gd[we.$b][we.Za], le.wa[le.Y + le.ja].La |= !Ve), ke.Ka) return pr(ce, 7, "Premature end-of-file encountered.");
|
|
74704
74710
|
}
|
|
74705
74711
|
if (Ni(ce), le = Ie, ke = 1, we = (ie = ce).D, Re = 0 < ie.L && ie.M >= ie.zb && ie.M <= ie.Va, ie.Aa == 0) e: {
|
|
74706
|
-
if (we.M = ie.M, we.uc = Re, ol(ie, we), ke = 1, we = (xt = ie.D).Nb, Re = (Pt = vA[ie.L]) * ie.R, at = Pt / 2 * ie.B, cr = 16 * we * ie.R, Ua = 8 * we * ie.B, Ve = ie.sa, ft = ie.ta - Re + cr, $e = ie.qa, Ne = ie.ra - at + Ua,
|
|
74712
|
+
if (we.M = ie.M, we.uc = Re, ol(ie, we), ke = 1, we = (xt = ie.D).Nb, Re = (Pt = vA[ie.L]) * ie.R, at = Pt / 2 * ie.B, cr = 16 * we * ie.R, Ua = 8 * we * ie.B, Ve = ie.sa, ft = ie.ta - Re + cr, $e = ie.qa, Ne = ie.ra - at + Ua, Zt = ie.Ha, nr = ie.Ia - at + Ua, Ja = (ir = xt.M) == 0, Yt = ir >= ie.Va - 1, ie.Aa == 2 && ol(ie, xt), xt.uc) for (en = (Vr = ie).D.M, e(Vr.D.uc), xt = Vr.yb; xt < Vr.Hb; ++xt) {
|
|
74707
74713
|
Yr = xt, Fa = en;
|
|
74708
74714
|
var ta = (ca = (Br = Vr).D).Nb;
|
|
74709
74715
|
lr = Br.R;
|
|
@@ -74715,13 +74721,13 @@ function r1(t) {
|
|
|
74715
74721
|
}
|
|
74716
74722
|
}
|
|
74717
74723
|
if (ie.ia && alert("todo:DitherRow"), le.put != null) {
|
|
74718
|
-
if (xt = 16 * ir, ir = 16 * (ir + 1), Ja ? (le.y = ie.sa, le.O = ie.ta + cr, le.f = ie.qa, le.N = ie.ra + Ua, le.ea = ie.Ha, le.W = ie.Ia + Ua) : (xt -= Pt, le.y = Ve, le.O = ft, le.f = $e, le.N = Ne, le.ea =
|
|
74724
|
+
if (xt = 16 * ir, ir = 16 * (ir + 1), Ja ? (le.y = ie.sa, le.O = ie.ta + cr, le.f = ie.qa, le.N = ie.ra + Ua, le.ea = ie.Ha, le.W = ie.Ia + Ua) : (xt -= Pt, le.y = Ve, le.O = ft, le.f = $e, le.N = Ne, le.ea = Zt, le.W = nr), Yt || (ir -= Pt), ir > le.o && (ir = le.o), le.F = null, le.J = null, ie.Fa != null && 0 < ie.Fa.length && xt < ir && (le.J = il(ie, le, xt, ir - xt), le.F = ie.mb, le.F == null && le.F.length == 0)) {
|
|
74719
74725
|
ke = pr(ie, 3, "Could not decode alpha data.");
|
|
74720
74726
|
break e;
|
|
74721
74727
|
}
|
|
74722
74728
|
xt < le.j && (Pt = le.j - xt, xt = le.j, e(!(1 & Pt)), le.O += ie.R * Pt, le.N += ie.B * (Pt >> 1), le.W += ie.B * (Pt >> 1), le.F != null && (le.J += le.width * Pt)), xt < ir && (le.O += le.v, le.N += le.v >> 1, le.W += le.v >> 1, le.F != null && (le.J += le.v), le.ka = xt - le.j, le.U = le.va - le.v, le.T = ir - xt, ke = le.put(le));
|
|
74723
74729
|
}
|
|
74724
|
-
we + 1 != ie.Ic || Yt || (a(ie.sa, ie.ta - Re, Ve, ft + 16 * ie.R, Re), a(ie.qa, ie.ra - at, $e, Ne + 8 * ie.B, at), a(ie.Ha, ie.Ia - at,
|
|
74730
|
+
we + 1 != ie.Ic || Yt || (a(ie.sa, ie.ta - Re, Ve, ft + 16 * ie.R, Re), a(ie.qa, ie.ra - at, $e, Ne + 8 * ie.B, at), a(ie.Ha, ie.Ia - at, Zt, nr + 8 * ie.B, at));
|
|
74725
74731
|
}
|
|
74726
74732
|
if (!ke) return pr(ce, 6, "Output aborted.");
|
|
74727
74733
|
}
|
|
@@ -75122,8 +75128,8 @@ function r1(t) {
|
|
|
75122
75128
|
e(w != null);
|
|
75123
75129
|
var $e = 3 * Ve + ft + 131074 >> 2;
|
|
75124
75130
|
for (p(w[k + 0], 255 & $e, $e >> 16, we, ie), O != null && ($e = 3 * ft + Ve + 131074 >> 2, p(O[D + 0], 255 & $e, $e >> 16, le, ke)), Ne = 1; Ne <= at; ++Ne) {
|
|
75125
|
-
var
|
|
75126
|
-
$e = Pt + Ve >> 1, Ve = (Yt = Yt + 2 * (Ve + nr) >> 3) +
|
|
75131
|
+
var Zt = F[z + Ne] | q[ne + Ne] << 16, nr = he[be + Ne] | ce[Ie + Ne] << 16, Yt = Ve + Zt + ft + nr + 524296, Pt = Yt + 2 * (Zt + ft) >> 3;
|
|
75132
|
+
$e = Pt + Ve >> 1, Ve = (Yt = Yt + 2 * (Ve + nr) >> 3) + Zt >> 1, p(w[k + 2 * Ne - 1], 255 & $e, $e >> 16, we, ie + (2 * Ne - 1) * h), p(w[k + 2 * Ne - 0], 255 & Ve, Ve >> 16, we, ie + (2 * Ne - 0) * h), O != null && ($e = Yt + ft >> 1, Ve = Pt + nr >> 1, p(O[D + 2 * Ne - 1], 255 & $e, $e >> 16, le, ke + (2 * Ne - 1) * h), p(O[D + 2 * Ne + 0], 255 & Ve, Ve >> 16, le, ke + (2 * Ne + 0) * h)), Ve = Zt, ft = nr;
|
|
75127
75133
|
}
|
|
75128
75134
|
1 & Re || ($e = 3 * Ve + ft + 131074 >> 2, p(w[k + Re - 1], 255 & $e, $e >> 16, we, ie + (Re - 1) * h), O != null && ($e = 3 * ft + Ve + 131074 >> 2, p(O[D + Re - 1], 255 & $e, $e >> 16, le, ke + (Re - 1) * h)));
|
|
75129
75135
|
};
|
|
@@ -75277,9 +75283,9 @@ function r1(t) {
|
|
|
75277
75283
|
Ve = A, ie = p, le = h;
|
|
75278
75284
|
var $e = ce.gb;
|
|
75279
75285
|
Re = ce.na, Ne = ce.P, at = ce.Sa, ft = 22, e(Ve != null), e(le != null), ke = ie[0];
|
|
75280
|
-
var
|
|
75286
|
+
var Zt = le[0];
|
|
75281
75287
|
for (e(Re != null), e(at != null), Re[0] = null, Ne[0] = null, at[0] = 0; ; ) {
|
|
75282
|
-
if (ie[0] = ke, le[0] =
|
|
75288
|
+
if (ie[0] = ke, le[0] = Zt, 8 > Zt) {
|
|
75283
75289
|
ie = 7;
|
|
75284
75290
|
break e;
|
|
75285
75291
|
}
|
|
@@ -75297,11 +75303,11 @@ function r1(t) {
|
|
|
75297
75303
|
ie = 0;
|
|
75298
75304
|
break e;
|
|
75299
75305
|
}
|
|
75300
|
-
if (
|
|
75306
|
+
if (Zt[0] < Yt) {
|
|
75301
75307
|
ie = 7;
|
|
75302
75308
|
break e;
|
|
75303
75309
|
}
|
|
75304
|
-
r(Ve, ke, "ALPH") || (Re[0] = Ve, Ne[0] = ke + 8, at[0] = nr), ke += Yt,
|
|
75310
|
+
r(Ve, ke, "ALPH") || (Re[0] = Ve, Ne[0] = ke + 8, at[0] = nr), ke += Yt, Zt -= Yt;
|
|
75305
75311
|
}
|
|
75306
75312
|
}
|
|
75307
75313
|
if (h = h[0], ce.na = ce.na[0], ce.P = ce.P[0], ce.Sa = ce.Sa[0], ie != 0) break;
|
|
@@ -75975,7 +75981,7 @@ function(t) {
|
|
|
75975
75981
|
*/
|
|
75976
75982
|
function(t) {
|
|
75977
75983
|
function e() {
|
|
75978
|
-
return (Ct.canvg ? Promise.resolve(Ct.canvg) : import("./index.es-
|
|
75984
|
+
return (Ct.canvg ? Promise.resolve(Ct.canvg) : import("./index.es-BvvdUTEL.mjs")).catch(function(r) {
|
|
75979
75985
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
75980
75986
|
}).then(function(r) {
|
|
75981
75987
|
return r.default ? r.default : r;
|
|
@@ -76861,9 +76867,9 @@ const Uie = ({ text: t, isController: e = !1 }) => {
|
|
|
76861
76867
|
},
|
|
76862
76868
|
/* @__PURE__ */ Qa.createElement("path", { d: "M291 169L0 337.009V0.991074L291 169Z", fill: "#71a3e3" })
|
|
76863
76869
|
)))));
|
|
76864
|
-
},
|
|
76870
|
+
}, jie = ({ text: t, isController: e = !1, pdfDownload: r = !1 }) => r ? /* @__PURE__ */ Qa.createElement(Mie, { text: t }) : /* @__PURE__ */ Qa.createElement(Uie, { text: t, isController: e });
|
|
76865
76871
|
export {
|
|
76866
|
-
|
|
76872
|
+
Kie as R,
|
|
76867
76873
|
sr as _,
|
|
76868
|
-
|
|
76874
|
+
jie as a
|
|
76869
76875
|
};
|