ppt-dsl-renderer 1.1.7 → 1.1.8
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/AGENT_PPTX_EXPORT.md +10 -2
- package/AGENT_USAGE.md +14 -2
- package/dist/cli.js +2241 -2194
- package/dist/pptx/exporter.js +23 -23
- package/dist/pptx/index.js +311 -303
- package/package.json +1 -1
package/dist/pptx/index.js
CHANGED
|
@@ -61,7 +61,7 @@ function Nn(t) {
|
|
|
61
61
|
function oa(t) {
|
|
62
62
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var Yr = { exports: {} };
|
|
65
65
|
/*!
|
|
66
66
|
|
|
67
67
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
@@ -200,7 +200,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
200
200
|
return y;
|
|
201
201
|
}
|
|
202
202
|
function c(f, h, u, y, v, b) {
|
|
203
|
-
var C, T, N = f.file, E = f.compression, _ = b !== r.utf8encode, w = s.transformTo("string", b(N.name)), D = s.transformTo("string", r.utf8encode(N.name)), W = N.comment,
|
|
203
|
+
var C, T, N = f.file, E = f.compression, _ = b !== r.utf8encode, w = s.transformTo("string", b(N.name)), D = s.transformTo("string", r.utf8encode(N.name)), W = N.comment, j = s.transformTo("string", b(W)), B = s.transformTo("string", r.utf8encode(W)), I = D.length !== N.name.length, m = B.length !== W.length, F = "", Z = "", O = "", V = N.dir, z = N.date, $ = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
204
204
|
h && !u || ($.crc32 = f.crc32, $.compressedSize = f.compressedSize, $.uncompressedSize = f.uncompressedSize);
|
|
205
205
|
var P = 0;
|
|
206
206
|
h && (P |= 8), _ || !I && !m || (P |= 2048);
|
|
@@ -210,10 +210,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
210
210
|
return H || (Tt = pt ? 16893 : 33204), (65535 & Tt) << 16;
|
|
211
211
|
}(N.unixPermissions, V)) : (Q = 20, S |= function(H) {
|
|
212
212
|
return 63 & (H || 0);
|
|
213
|
-
}(N.dosPermissions)), C = z.getUTCHours(), C <<= 6, C |= z.getUTCMinutes(), C <<= 5, C |= z.getUTCSeconds() / 2, T = z.getUTCFullYear() - 1980, T <<= 4, T |= z.getUTCMonth() + 1, T <<= 5, T |= z.getUTCDate(), I && (
|
|
213
|
+
}(N.dosPermissions)), C = z.getUTCHours(), C <<= 6, C |= z.getUTCMinutes(), C <<= 5, C |= z.getUTCSeconds() / 2, T = z.getUTCFullYear() - 1980, T <<= 4, T |= z.getUTCMonth() + 1, T <<= 5, T |= z.getUTCDate(), I && (Z = A(1, 1) + A(i(w), 4) + D, F += "up" + A(Z.length, 2) + Z), m && (O = A(1, 1) + A(i(j), 4) + B, F += "uc" + A(O.length, 2) + O);
|
|
214
214
|
var J = "";
|
|
215
215
|
return J += `
|
|
216
|
-
\0`, J += A(P, 2), J += E.magic, J += A(C, 2), J += A(T, 2), J += A($.crc32, 4), J += A($.compressedSize, 4), J += A($.uncompressedSize, 4), J += A(w.length, 2), J += A(F.length, 2), { fileRecord: d.LOCAL_FILE_HEADER + J + w + F, dirRecord: d.CENTRAL_FILE_HEADER + A(Q, 2) + J + A(
|
|
216
|
+
\0`, J += A(P, 2), J += E.magic, J += A(C, 2), J += A(T, 2), J += A($.crc32, 4), J += A($.compressedSize, 4), J += A($.uncompressedSize, 4), J += A(w.length, 2), J += A(F.length, 2), { fileRecord: d.LOCAL_FILE_HEADER + J + w + F, dirRecord: d.CENTRAL_FILE_HEADER + A(Q, 2) + J + A(j.length, 2) + "\0\0\0\0" + A(S, 4) + A(y, 4) + w + F + j };
|
|
217
217
|
}
|
|
218
218
|
var s = e("../utils"), l = e("../stream/GenericWorker"), r = e("../utf8"), i = e("../crc32"), d = e("../signature");
|
|
219
219
|
function g(f, h, u, y) {
|
|
@@ -401,8 +401,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
401
401
|
function A(N, E, _) {
|
|
402
402
|
var w, D = s.getTypeOf(E), W = s.extend(_ || {}, i);
|
|
403
403
|
W.date = W.date || /* @__PURE__ */ new Date(), W.compression !== null && (W.compression = W.compression.toUpperCase()), typeof W.unixPermissions == "string" && (W.unixPermissions = parseInt(W.unixPermissions, 8)), W.unixPermissions && 16384 & W.unixPermissions && (W.dir = !0), W.dosPermissions && 16 & W.dosPermissions && (W.dir = !0), W.dir && (N = v(N)), W.createFolders && (w = y(N)) && b.call(this, w, !0);
|
|
404
|
-
var
|
|
405
|
-
_ && _.binary !== void 0 || (W.binary = !
|
|
404
|
+
var j = D === "string" && W.binary === !1 && W.base64 === !1;
|
|
405
|
+
_ && _.binary !== void 0 || (W.binary = !j), (E instanceof d && E.uncompressedSize === 0 || W.dir || !E || E.length === 0) && (W.base64 = !1, W.binary = !0, E = "", W.compression = "STORE", D = "string");
|
|
406
406
|
var B = null;
|
|
407
407
|
B = E instanceof d || E instanceof l ? E : h.isNode && h.isStream(E) ? new u(N, E) : s.prepareContent(N, E, W.binary, W.optimizedBinaryString, W.base64);
|
|
408
408
|
var I = new g(N, B, W);
|
|
@@ -436,8 +436,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
436
436
|
return N = this.root + N, A.call(this, N, E, _), this;
|
|
437
437
|
if (C(N)) {
|
|
438
438
|
var w = N;
|
|
439
|
-
return this.filter(function(W,
|
|
440
|
-
return !
|
|
439
|
+
return this.filter(function(W, j) {
|
|
440
|
+
return !j.dir && w.test(W);
|
|
441
441
|
});
|
|
442
442
|
}
|
|
443
443
|
var D = this.files[this.root + N];
|
|
@@ -734,7 +734,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
734
734
|
return A.transformTo(_, w);
|
|
735
735
|
}
|
|
736
736
|
}(T, function(_, w) {
|
|
737
|
-
var D, W = 0,
|
|
737
|
+
var D, W = 0, j = null, B = 0;
|
|
738
738
|
for (D = 0; D < w.length; D++)
|
|
739
739
|
B += w[D].length;
|
|
740
740
|
switch (_) {
|
|
@@ -743,9 +743,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
743
743
|
case "array":
|
|
744
744
|
return Array.prototype.concat.apply([], w);
|
|
745
745
|
case "uint8array":
|
|
746
|
-
for (
|
|
747
|
-
|
|
748
|
-
return
|
|
746
|
+
for (j = new Uint8Array(B), D = 0; D < w.length; D++)
|
|
747
|
+
j.set(w[D], W), W += w[D].length;
|
|
748
|
+
return j;
|
|
749
749
|
case "nodebuffer":
|
|
750
750
|
return Buffer.concat(w);
|
|
751
751
|
default:
|
|
@@ -1348,9 +1348,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1348
1348
|
for (var N = new Array(C), E = 0, _ = -1, w = new this(c); ++_ < C; )
|
|
1349
1349
|
D(v[_], _);
|
|
1350
1350
|
return w;
|
|
1351
|
-
function D(W,
|
|
1351
|
+
function D(W, j) {
|
|
1352
1352
|
b.resolve(W).then(function(B) {
|
|
1353
|
-
N[
|
|
1353
|
+
N[j] = B, ++E !== C || T || (T = !0, s.resolve(w, N));
|
|
1354
1354
|
}, function(B) {
|
|
1355
1355
|
T || (T = !0, s.reject(w, B));
|
|
1356
1356
|
});
|
|
@@ -1575,7 +1575,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1575
1575
|
return -1 ^ c;
|
|
1576
1576
|
};
|
|
1577
1577
|
}, {}], 46: [function(e, o, n) {
|
|
1578
|
-
var A, c = e("../utils/common"), s = e("./trees"), l = e("./adler32"), r = e("./crc32"), i = e("./messages"), d = 0, g = 4, f = 0, h = -2, u = -1, y = 4, v = 2, b = 8, C = 9, T = 286, N = 30, E = 19, _ = 2 * T + 1, w = 15, D = 3, W = 258,
|
|
1578
|
+
var A, c = e("../utils/common"), s = e("./trees"), l = e("./adler32"), r = e("./crc32"), i = e("./messages"), d = 0, g = 4, f = 0, h = -2, u = -1, y = 4, v = 2, b = 8, C = 9, T = 286, N = 30, E = 19, _ = 2 * T + 1, w = 15, D = 3, W = 258, j = W + D + 1, B = 42, I = 113, m = 1, F = 2, Z = 3, O = 4;
|
|
1579
1579
|
function V(p, U) {
|
|
1580
1580
|
return p.msg = i[U], U;
|
|
1581
1581
|
}
|
|
@@ -1600,7 +1600,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1600
1600
|
p.pending_buf[p.pending++] = U >>> 8 & 255, p.pending_buf[p.pending++] = 255 & U;
|
|
1601
1601
|
}
|
|
1602
1602
|
function H(p, U) {
|
|
1603
|
-
var G, L, x = p.max_chain_length, R = p.strstart, q = p.prev_length, X = p.nice_match, M = p.strstart > p.w_size -
|
|
1603
|
+
var G, L, x = p.max_chain_length, R = p.strstart, q = p.prev_length, X = p.nice_match, M = p.strstart > p.w_size - j ? p.strstart - (p.w_size - j) : 0, tt = p.window, rt = p.w_mask, et = p.prev, it = p.strstart + W, vt = tt[R + q - 1], mt = tt[R + q];
|
|
1604
1604
|
p.prev_length >= p.good_match && (x >>= 2), X > p.lookahead && (X = p.lookahead);
|
|
1605
1605
|
do
|
|
1606
1606
|
if (tt[(G = U) + q] === mt && tt[G + q - 1] === vt && tt[G] === tt[R] && tt[++G] === tt[R + 1]) {
|
|
@@ -1620,7 +1620,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1620
1620
|
function pt(p) {
|
|
1621
1621
|
var U, G, L, x, R, q, X, M, tt, rt, et = p.w_size;
|
|
1622
1622
|
do {
|
|
1623
|
-
if (x = p.window_size - p.lookahead - p.strstart, p.strstart >= et + (et -
|
|
1623
|
+
if (x = p.window_size - p.lookahead - p.strstart, p.strstart >= et + (et - j)) {
|
|
1624
1624
|
for (c.arraySet(p.window, p.window, et, et, 0), p.match_start -= et, p.strstart -= et, p.block_start -= et, U = G = p.hash_size; L = p.head[--U], p.head[U] = et <= L ? L - et : 0, --G; )
|
|
1625
1625
|
;
|
|
1626
1626
|
for (U = G = et; L = p.prev[--U], p.prev[U] = et <= L ? L - et : 0, --G; )
|
|
@@ -1632,17 +1632,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1632
1632
|
if (q = p.strm, X = p.window, M = p.strstart + p.lookahead, tt = x, rt = void 0, rt = q.avail_in, tt < rt && (rt = tt), G = rt === 0 ? 0 : (q.avail_in -= rt, c.arraySet(X, q.input, q.next_in, rt, M), q.state.wrap === 1 ? q.adler = l(q.adler, X, rt, M) : q.state.wrap === 2 && (q.adler = r(q.adler, X, rt, M)), q.next_in += rt, q.total_in += rt, rt), p.lookahead += G, p.lookahead + p.insert >= D)
|
|
1633
1633
|
for (R = p.strstart - p.insert, p.ins_h = p.window[R], p.ins_h = (p.ins_h << p.hash_shift ^ p.window[R + 1]) & p.hash_mask; p.insert && (p.ins_h = (p.ins_h << p.hash_shift ^ p.window[R + D - 1]) & p.hash_mask, p.prev[R & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = R, R++, p.insert--, !(p.lookahead + p.insert < D)); )
|
|
1634
1634
|
;
|
|
1635
|
-
} while (p.lookahead <
|
|
1635
|
+
} while (p.lookahead < j && p.strm.avail_in !== 0);
|
|
1636
1636
|
}
|
|
1637
1637
|
function Tt(p, U) {
|
|
1638
1638
|
for (var G, L; ; ) {
|
|
1639
|
-
if (p.lookahead <
|
|
1640
|
-
if (pt(p), p.lookahead <
|
|
1639
|
+
if (p.lookahead < j) {
|
|
1640
|
+
if (pt(p), p.lookahead < j && U === d)
|
|
1641
1641
|
return m;
|
|
1642
1642
|
if (p.lookahead === 0)
|
|
1643
1643
|
break;
|
|
1644
1644
|
}
|
|
1645
|
-
if (G = 0, p.lookahead >= D && (p.ins_h = (p.ins_h << p.hash_shift ^ p.window[p.strstart + D - 1]) & p.hash_mask, G = p.prev[p.strstart & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = p.strstart), G !== 0 && p.strstart - G <= p.w_size -
|
|
1645
|
+
if (G = 0, p.lookahead >= D && (p.ins_h = (p.ins_h << p.hash_shift ^ p.window[p.strstart + D - 1]) & p.hash_mask, G = p.prev[p.strstart & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = p.strstart), G !== 0 && p.strstart - G <= p.w_size - j && (p.match_length = H(p, G)), p.match_length >= D)
|
|
1646
1646
|
if (L = s._tr_tally(p, p.strstart - p.match_start, p.match_length - D), p.lookahead -= p.match_length, p.match_length <= p.max_lazy_match && p.lookahead >= D) {
|
|
1647
1647
|
for (p.match_length--; p.strstart++, p.ins_h = (p.ins_h << p.hash_shift ^ p.window[p.strstart + D - 1]) & p.hash_mask, G = p.prev[p.strstart & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = p.strstart, --p.match_length != 0; )
|
|
1648
1648
|
;
|
|
@@ -1654,17 +1654,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1654
1654
|
if (L && (S(p, !1), p.strm.avail_out === 0))
|
|
1655
1655
|
return m;
|
|
1656
1656
|
}
|
|
1657
|
-
return p.insert = p.strstart < D - 1 ? p.strstart : D - 1, U === g ? (S(p, !0), p.strm.avail_out === 0 ?
|
|
1657
|
+
return p.insert = p.strstart < D - 1 ? p.strstart : D - 1, U === g ? (S(p, !0), p.strm.avail_out === 0 ? Z : O) : p.last_lit && (S(p, !1), p.strm.avail_out === 0) ? m : F;
|
|
1658
1658
|
}
|
|
1659
1659
|
function At(p, U) {
|
|
1660
1660
|
for (var G, L, x; ; ) {
|
|
1661
|
-
if (p.lookahead <
|
|
1662
|
-
if (pt(p), p.lookahead <
|
|
1661
|
+
if (p.lookahead < j) {
|
|
1662
|
+
if (pt(p), p.lookahead < j && U === d)
|
|
1663
1663
|
return m;
|
|
1664
1664
|
if (p.lookahead === 0)
|
|
1665
1665
|
break;
|
|
1666
1666
|
}
|
|
1667
|
-
if (G = 0, p.lookahead >= D && (p.ins_h = (p.ins_h << p.hash_shift ^ p.window[p.strstart + D - 1]) & p.hash_mask, G = p.prev[p.strstart & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = p.strstart), p.prev_length = p.match_length, p.prev_match = p.match_start, p.match_length = D - 1, G !== 0 && p.prev_length < p.max_lazy_match && p.strstart - G <= p.w_size -
|
|
1667
|
+
if (G = 0, p.lookahead >= D && (p.ins_h = (p.ins_h << p.hash_shift ^ p.window[p.strstart + D - 1]) & p.hash_mask, G = p.prev[p.strstart & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = p.strstart), p.prev_length = p.match_length, p.prev_match = p.match_start, p.match_length = D - 1, G !== 0 && p.prev_length < p.max_lazy_match && p.strstart - G <= p.w_size - j && (p.match_length = H(p, G), p.match_length <= 5 && (p.strategy === 1 || p.match_length === D && 4096 < p.strstart - p.match_start) && (p.match_length = D - 1)), p.prev_length >= D && p.match_length <= p.prev_length) {
|
|
1668
1668
|
for (x = p.strstart + p.lookahead - D, L = s._tr_tally(p, p.strstart - 1 - p.prev_match, p.prev_length - D), p.lookahead -= p.prev_length - 1, p.prev_length -= 2; ++p.strstart <= x && (p.ins_h = (p.ins_h << p.hash_shift ^ p.window[p.strstart + D - 1]) & p.hash_mask, G = p.prev[p.strstart & p.w_mask] = p.head[p.ins_h], p.head[p.ins_h] = p.strstart), --p.prev_length != 0; )
|
|
1669
1669
|
;
|
|
1670
1670
|
if (p.match_available = 0, p.match_length = D - 1, p.strstart++, L && (S(p, !1), p.strm.avail_out === 0))
|
|
@@ -1675,7 +1675,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1675
1675
|
} else
|
|
1676
1676
|
p.match_available = 1, p.strstart++, p.lookahead--;
|
|
1677
1677
|
}
|
|
1678
|
-
return p.match_available && (L = s._tr_tally(p, 0, p.window[p.strstart - 1]), p.match_available = 0), p.insert = p.strstart < D - 1 ? p.strstart : D - 1, U === g ? (S(p, !0), p.strm.avail_out === 0 ?
|
|
1678
|
+
return p.match_available && (L = s._tr_tally(p, 0, p.window[p.strstart - 1]), p.match_available = 0), p.insert = p.strstart < D - 1 ? p.strstart : D - 1, U === g ? (S(p, !0), p.strm.avail_out === 0 ? Z : O) : p.last_lit && (S(p, !1), p.strm.avail_out === 0) ? m : F;
|
|
1679
1679
|
}
|
|
1680
1680
|
function dt(p, U, G, L, x) {
|
|
1681
1681
|
this.good_length = p, this.max_lazy = U, this.nice_length = G, this.max_chain = L, this.func = x;
|
|
@@ -1714,10 +1714,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1714
1714
|
}
|
|
1715
1715
|
p.strstart += p.lookahead, p.lookahead = 0;
|
|
1716
1716
|
var L = p.block_start + G;
|
|
1717
|
-
if ((p.strstart === 0 || p.strstart >= L) && (p.lookahead = p.strstart - L, p.strstart = L, S(p, !1), p.strm.avail_out === 0) || p.strstart - p.block_start >= p.w_size -
|
|
1717
|
+
if ((p.strstart === 0 || p.strstart >= L) && (p.lookahead = p.strstart - L, p.strstart = L, S(p, !1), p.strm.avail_out === 0) || p.strstart - p.block_start >= p.w_size - j && (S(p, !1), p.strm.avail_out === 0))
|
|
1718
1718
|
return m;
|
|
1719
1719
|
}
|
|
1720
|
-
return p.insert = 0, U === g ? (S(p, !0), p.strm.avail_out === 0 ?
|
|
1720
|
+
return p.insert = 0, U === g ? (S(p, !0), p.strm.avail_out === 0 ? Z : O) : (p.strstart > p.block_start && (S(p, !1), p.strm.avail_out), m);
|
|
1721
1721
|
}), new dt(4, 4, 8, 4, Tt), new dt(4, 5, 16, 8, Tt), new dt(4, 6, 32, 32, Tt), new dt(4, 4, 16, 16, At), new dt(8, 16, 32, 32, At), new dt(8, 16, 128, 128, At), new dt(8, 32, 128, 256, At), new dt(32, 128, 258, 1024, At), new dt(32, 258, 258, 4096, At)], n.deflateInit = function(p, U) {
|
|
1722
1722
|
return Bt(p, U, b, 15, 8, 0);
|
|
1723
1723
|
}, n.deflateInit2 = Bt, n.deflateReset = xt, n.deflateResetKeep = bt, n.deflateSetHeader = function(p, U) {
|
|
@@ -1786,7 +1786,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1786
1786
|
if (M.match_length = 0, rt = s._tr_tally(M, 0, M.window[M.strstart]), M.lookahead--, M.strstart++, rt && (S(M, !1), M.strm.avail_out === 0))
|
|
1787
1787
|
return m;
|
|
1788
1788
|
}
|
|
1789
|
-
return M.insert = 0, tt === g ? (S(M, !0), M.strm.avail_out === 0 ?
|
|
1789
|
+
return M.insert = 0, tt === g ? (S(M, !0), M.strm.avail_out === 0 ? Z : O) : M.last_lit && (S(M, !1), M.strm.avail_out === 0) ? m : F;
|
|
1790
1790
|
}(L, U) : L.strategy === 3 ? function(M, tt) {
|
|
1791
1791
|
for (var rt, et, it, vt, mt = M.window; ; ) {
|
|
1792
1792
|
if (M.lookahead <= W) {
|
|
@@ -1805,9 +1805,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1805
1805
|
if (M.match_length >= D ? (rt = s._tr_tally(M, 1, M.match_length - D), M.lookahead -= M.match_length, M.strstart += M.match_length, M.match_length = 0) : (rt = s._tr_tally(M, 0, M.window[M.strstart]), M.lookahead--, M.strstart++), rt && (S(M, !1), M.strm.avail_out === 0))
|
|
1806
1806
|
return m;
|
|
1807
1807
|
}
|
|
1808
|
-
return M.insert = 0, tt === g ? (S(M, !0), M.strm.avail_out === 0 ?
|
|
1808
|
+
return M.insert = 0, tt === g ? (S(M, !0), M.strm.avail_out === 0 ? Z : O) : M.last_lit && (S(M, !1), M.strm.avail_out === 0) ? m : F;
|
|
1809
1809
|
}(L, U) : A[L.level].func(L, U);
|
|
1810
|
-
if (X !==
|
|
1810
|
+
if (X !== Z && X !== O || (L.status = 666), X === m || X === Z)
|
|
1811
1811
|
return p.avail_out === 0 && (L.last_flush = -1), f;
|
|
1812
1812
|
if (X === F && (U === 1 ? s._tr_align(L) : U !== 5 && (s._tr_stored_block(L, 0, 0, !1), U === 3 && ($(L.head), L.lookahead === 0 && (L.strstart = 0, L.block_start = 0, L.insert = 0))), P(p), p.avail_out === 0))
|
|
1813
1813
|
return L.last_flush = -1, f;
|
|
@@ -1833,7 +1833,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1833
1833
|
};
|
|
1834
1834
|
}, {}], 48: [function(e, o, n) {
|
|
1835
1835
|
o.exports = function(A, c) {
|
|
1836
|
-
var s, l, r, i, d, g, f, h, u, y, v, b, C, T, N, E, _, w, D, W,
|
|
1836
|
+
var s, l, r, i, d, g, f, h, u, y, v, b, C, T, N, E, _, w, D, W, j, B, I, m, F;
|
|
1837
1837
|
s = A.state, l = A.next_in, m = A.input, r = l + (A.avail_in - 5), i = A.next_out, F = A.output, d = i - (c - A.avail_out), g = i + (A.avail_out - 257), f = s.dmax, h = s.wsize, u = s.whave, y = s.wnext, v = s.window, b = s.hold, C = s.bits, T = s.lencode, N = s.distcode, E = (1 << s.lenbits) - 1, _ = (1 << s.distbits) - 1;
|
|
1838
1838
|
t:
|
|
1839
1839
|
do {
|
|
@@ -1866,12 +1866,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1866
1866
|
A.msg = "invalid distance code", s.mode = 30;
|
|
1867
1867
|
break t;
|
|
1868
1868
|
}
|
|
1869
|
-
if (
|
|
1869
|
+
if (j = 65535 & w, C < (D &= 15) && (b += m[l++] << C, (C += 8) < D && (b += m[l++] << C, C += 8)), f < (j += b & (1 << D) - 1)) {
|
|
1870
1870
|
A.msg = "invalid distance too far back", s.mode = 30;
|
|
1871
1871
|
break t;
|
|
1872
1872
|
}
|
|
1873
|
-
if (b >>>= D, C -= D, (D = i - d) <
|
|
1874
|
-
if (u < (D =
|
|
1873
|
+
if (b >>>= D, C -= D, (D = i - d) < j) {
|
|
1874
|
+
if (u < (D = j - D) && s.sane) {
|
|
1875
1875
|
A.msg = "invalid distance too far back", s.mode = 30;
|
|
1876
1876
|
break t;
|
|
1877
1877
|
}
|
|
@@ -1879,7 +1879,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1879
1879
|
if (B += h - D, D < W) {
|
|
1880
1880
|
for (W -= D; F[i++] = v[B++], --D; )
|
|
1881
1881
|
;
|
|
1882
|
-
B = i -
|
|
1882
|
+
B = i - j, I = F;
|
|
1883
1883
|
}
|
|
1884
1884
|
} else if (y < D) {
|
|
1885
1885
|
if (B += h + y - D, (D -= y) < W) {
|
|
@@ -1888,19 +1888,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1888
1888
|
if (B = 0, y < W) {
|
|
1889
1889
|
for (W -= D = y; F[i++] = v[B++], --D; )
|
|
1890
1890
|
;
|
|
1891
|
-
B = i -
|
|
1891
|
+
B = i - j, I = F;
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
1894
1894
|
} else if (B += y - D, D < W) {
|
|
1895
1895
|
for (W -= D; F[i++] = v[B++], --D; )
|
|
1896
1896
|
;
|
|
1897
|
-
B = i -
|
|
1897
|
+
B = i - j, I = F;
|
|
1898
1898
|
}
|
|
1899
1899
|
for (; 2 < W; )
|
|
1900
1900
|
F[i++] = I[B++], F[i++] = I[B++], F[i++] = I[B++], W -= 3;
|
|
1901
1901
|
W && (F[i++] = I[B++], 1 < W && (F[i++] = I[B++]));
|
|
1902
1902
|
} else {
|
|
1903
|
-
for (B = i -
|
|
1903
|
+
for (B = i - j; F[i++] = F[B++], F[i++] = F[B++], F[i++] = F[B++], 2 < (W -= 3); )
|
|
1904
1904
|
;
|
|
1905
1905
|
W && (F[i++] = F[B++], 1 < W && (F[i++] = F[B++]));
|
|
1906
1906
|
}
|
|
@@ -1954,17 +1954,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
1954
1954
|
}
|
|
1955
1955
|
B.lencode = _, B.lenbits = 9, B.distcode = w, B.distbits = 5;
|
|
1956
1956
|
}
|
|
1957
|
-
function
|
|
1958
|
-
var
|
|
1959
|
-
return O.window === null && (O.wsize = 1 << O.wbits, O.wnext = 0, O.whave = 0, O.window = new A.Buf8(O.wsize)), F >= O.wsize ? (A.arraySet(O.window, I, m - O.wsize, O.wsize, 0), O.wnext = 0, O.whave = O.wsize) : (F < (
|
|
1957
|
+
function j(B, I, m, F) {
|
|
1958
|
+
var Z, O = B.state;
|
|
1959
|
+
return O.window === null && (O.wsize = 1 << O.wbits, O.wnext = 0, O.whave = 0, O.window = new A.Buf8(O.wsize)), F >= O.wsize ? (A.arraySet(O.window, I, m - O.wsize, O.wsize, 0), O.wnext = 0, O.whave = O.wsize) : (F < (Z = O.wsize - O.wnext) && (Z = F), A.arraySet(O.window, I, m - F, Z, O.wnext), (F -= Z) ? (A.arraySet(O.window, I, m - F, F, 0), O.wnext = F, O.whave = O.wsize) : (O.wnext += Z, O.wnext === O.wsize && (O.wnext = 0), O.whave < O.wsize && (O.whave += Z))), 0;
|
|
1960
1960
|
}
|
|
1961
1961
|
n.inflateReset = T, n.inflateReset2 = N, n.inflateResetKeep = C, n.inflateInit = function(B) {
|
|
1962
1962
|
return E(B, 15);
|
|
1963
1963
|
}, n.inflateInit2 = E, n.inflate = function(B, I) {
|
|
1964
|
-
var m, F,
|
|
1964
|
+
var m, F, Z, O, V, z, $, P, S, Q, J, H, pt, Tt, At, dt, Ct, bt, xt, Bt, p, U, G, L, x = 0, R = new A.Buf8(4), q = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
1965
1965
|
if (!B || !B.state || !B.output || !B.input && B.avail_in !== 0)
|
|
1966
1966
|
return f;
|
|
1967
|
-
(m = B.state).mode === 12 && (m.mode = 13), V = B.next_out,
|
|
1967
|
+
(m = B.state).mode === 12 && (m.mode = 13), V = B.next_out, Z = B.output, $ = B.avail_out, O = B.next_in, F = B.input, z = B.avail_in, P = m.hold, S = m.bits, Q = z, J = $, U = g;
|
|
1968
1968
|
t:
|
|
1969
1969
|
for (; ; )
|
|
1970
1970
|
switch (m.mode) {
|
|
@@ -2138,7 +2138,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2138
2138
|
if (H = m.length) {
|
|
2139
2139
|
if (z < H && (H = z), $ < H && (H = $), H === 0)
|
|
2140
2140
|
break t;
|
|
2141
|
-
A.arraySet(
|
|
2141
|
+
A.arraySet(Z, F, O, H, V), z -= H, O += H, $ -= H, V += H, m.length -= H;
|
|
2142
2142
|
break;
|
|
2143
2143
|
}
|
|
2144
2144
|
m.mode = 12;
|
|
@@ -2234,7 +2234,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2234
2234
|
m.mode = 21;
|
|
2235
2235
|
case 21:
|
|
2236
2236
|
if (6 <= z && 258 <= $) {
|
|
2237
|
-
B.next_out = V, B.avail_out = $, B.next_in = O, B.avail_in = z, m.hold = P, m.bits = S, l(B, J), V = B.next_out,
|
|
2237
|
+
B.next_out = V, B.avail_out = $, B.next_in = O, B.avail_in = z, m.hold = P, m.bits = S, l(B, J), V = B.next_out, Z = B.output, $ = B.avail_out, O = B.next_in, F = B.input, z = B.avail_in, P = m.hold, S = m.bits, m.mode === 12 && (m.back = -1);
|
|
2238
2238
|
break;
|
|
2239
2239
|
}
|
|
2240
2240
|
for (m.back = 0; dt = (x = m.lencode[P & (1 << m.lenbits) - 1]) >>> 16 & 255, Ct = 65535 & x, !((At = x >>> 24) <= S); ) {
|
|
@@ -2316,15 +2316,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2316
2316
|
}
|
|
2317
2317
|
pt = H > m.wnext ? (H -= m.wnext, m.wsize - H) : m.wnext - H, H > m.length && (H = m.length), Tt = m.window;
|
|
2318
2318
|
} else
|
|
2319
|
-
Tt =
|
|
2320
|
-
for ($ < H && (H = $), $ -= H, m.length -= H;
|
|
2319
|
+
Tt = Z, pt = V - m.offset, H = m.length;
|
|
2320
|
+
for ($ < H && (H = $), $ -= H, m.length -= H; Z[V++] = Tt[pt++], --H; )
|
|
2321
2321
|
;
|
|
2322
2322
|
m.length === 0 && (m.mode = 21);
|
|
2323
2323
|
break;
|
|
2324
2324
|
case 26:
|
|
2325
2325
|
if ($ === 0)
|
|
2326
2326
|
break t;
|
|
2327
|
-
|
|
2327
|
+
Z[V++] = m.length, $--, m.mode = 21;
|
|
2328
2328
|
break;
|
|
2329
2329
|
case 27:
|
|
2330
2330
|
if (m.wrap) {
|
|
@@ -2333,7 +2333,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2333
2333
|
break t;
|
|
2334
2334
|
z--, P |= F[O++] << S, S += 8;
|
|
2335
2335
|
}
|
|
2336
|
-
if (J -= $, B.total_out += J, m.total += J, J && (B.adler = m.check = m.flags ? s(m.check,
|
|
2336
|
+
if (J -= $, B.total_out += J, m.total += J, J && (B.adler = m.check = m.flags ? s(m.check, Z, J, V - J) : c(m.check, Z, J, V - J)), J = $, (m.flags ? P : v(P)) !== m.check) {
|
|
2337
2337
|
B.msg = "incorrect data check", m.mode = 30;
|
|
2338
2338
|
break;
|
|
2339
2339
|
}
|
|
@@ -2366,7 +2366,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2366
2366
|
default:
|
|
2367
2367
|
return f;
|
|
2368
2368
|
}
|
|
2369
|
-
return B.next_out = V, B.avail_out = $, B.next_in = O, B.avail_in = z, m.hold = P, m.bits = S, (m.wsize || J !== B.avail_out && m.mode < 30 && (m.mode < 27 || I !== 4)) &&
|
|
2369
|
+
return B.next_out = V, B.avail_out = $, B.next_in = O, B.avail_in = z, m.hold = P, m.bits = S, (m.wsize || J !== B.avail_out && m.mode < 30 && (m.mode < 27 || I !== 4)) && j(B, B.output, B.next_out, J - B.avail_out) ? (m.mode = 31, -4) : (Q -= B.avail_in, J -= B.avail_out, B.total_in += Q, B.total_out += J, m.total += J, m.wrap && J && (B.adler = m.check = m.flags ? s(m.check, Z, J, B.next_out - J) : c(m.check, Z, J, B.next_out - J)), B.data_type = m.bits + (m.last ? 64 : 0) + (m.mode === 12 ? 128 : 0) + (m.mode === 20 || m.mode === 15 ? 256 : 0), (Q == 0 && J === 0 || I === 4) && U === g && (U = -5), U);
|
|
2370
2370
|
}, n.inflateEnd = function(B) {
|
|
2371
2371
|
if (!B || !B.state)
|
|
2372
2372
|
return f;
|
|
@@ -2377,23 +2377,23 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2377
2377
|
return B && B.state && 2 & (m = B.state).wrap ? ((m.head = I).done = !1, g) : f;
|
|
2378
2378
|
}, n.inflateSetDictionary = function(B, I) {
|
|
2379
2379
|
var m, F = I.length;
|
|
2380
|
-
return B && B.state ? (m = B.state).wrap !== 0 && m.mode !== 11 ? f : m.mode === 11 && c(1, I, F, 0) !== m.check ? -3 :
|
|
2380
|
+
return B && B.state ? (m = B.state).wrap !== 0 && m.mode !== 11 ? f : m.mode === 11 && c(1, I, F, 0) !== m.check ? -3 : j(B, I, F, F) ? (m.mode = 31, -4) : (m.havedict = 1, g) : f;
|
|
2381
2381
|
}, n.inflateInfo = "pako inflate (from Nodeca project)";
|
|
2382
2382
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, o, n) {
|
|
2383
2383
|
var A = e("../utils/common"), c = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], s = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], r = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
2384
2384
|
o.exports = function(i, d, g, f, h, u, y, v) {
|
|
2385
|
-
var b, C, T, N, E, _, w, D, W,
|
|
2385
|
+
var b, C, T, N, E, _, w, D, W, j = v.bits, B = 0, I = 0, m = 0, F = 0, Z = 0, O = 0, V = 0, z = 0, $ = 0, P = 0, S = null, Q = 0, J = new A.Buf16(16), H = new A.Buf16(16), pt = null, Tt = 0;
|
|
2386
2386
|
for (B = 0; B <= 15; B++)
|
|
2387
2387
|
J[B] = 0;
|
|
2388
2388
|
for (I = 0; I < f; I++)
|
|
2389
2389
|
J[d[g + I]]++;
|
|
2390
|
-
for (
|
|
2390
|
+
for (Z = j, F = 15; 1 <= F && J[F] === 0; F--)
|
|
2391
2391
|
;
|
|
2392
|
-
if (F <
|
|
2392
|
+
if (F < Z && (Z = F), F === 0)
|
|
2393
2393
|
return h[u++] = 20971520, h[u++] = 20971520, v.bits = 1, 0;
|
|
2394
2394
|
for (m = 1; m < F && J[m] === 0; m++)
|
|
2395
2395
|
;
|
|
2396
|
-
for (
|
|
2396
|
+
for (Z < m && (Z = m), B = z = 1; B <= 15; B++)
|
|
2397
2397
|
if (z <<= 1, (z -= J[B]) < 0)
|
|
2398
2398
|
return -1;
|
|
2399
2399
|
if (0 < z && (i === 0 || F !== 1))
|
|
@@ -2402,7 +2402,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2402
2402
|
H[B + 1] = H[B] + J[B];
|
|
2403
2403
|
for (I = 0; I < f; I++)
|
|
2404
2404
|
d[g + I] !== 0 && (y[H[d[g + I]]++] = I);
|
|
2405
|
-
if (_ = i === 0 ? (S = pt = y, 19) : i === 1 ? (S = c, Q -= 257, pt = s, Tt -= 257, 256) : (S = l, pt = r, -1), B = m, E = u, V = I = P = 0, T = -1, N = ($ = 1 << (O =
|
|
2405
|
+
if (_ = i === 0 ? (S = pt = y, 19) : i === 1 ? (S = c, Q -= 257, pt = s, Tt -= 257, 256) : (S = l, pt = r, -1), B = m, E = u, V = I = P = 0, T = -1, N = ($ = 1 << (O = Z)) - 1, i === 1 && 852 < $ || i === 2 && 592 < $)
|
|
2406
2406
|
return 1;
|
|
2407
2407
|
for (; ; ) {
|
|
2408
2408
|
for (w = B - V, W = y[I] < _ ? (D = 0, y[I]) : y[I] > _ ? (D = pt[Tt + y[I]], S[Q + y[I]]) : (D = 96, 0), b = 1 << B - V, m = C = 1 << O; h[E + (P >> V) + (C -= b)] = w << 24 | D << 16 | W | 0, C !== 0; )
|
|
@@ -2414,15 +2414,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2414
2414
|
break;
|
|
2415
2415
|
B = d[g + y[I]];
|
|
2416
2416
|
}
|
|
2417
|
-
if (
|
|
2418
|
-
for (V === 0 && (V =
|
|
2417
|
+
if (Z < B && (P & N) !== T) {
|
|
2418
|
+
for (V === 0 && (V = Z), E += m, z = 1 << (O = B - V); O + V < F && !((z -= J[O + V]) <= 0); )
|
|
2419
2419
|
O++, z <<= 1;
|
|
2420
2420
|
if ($ += 1 << O, i === 1 && 852 < $ || i === 2 && 592 < $)
|
|
2421
2421
|
return 1;
|
|
2422
|
-
h[T = P & N] =
|
|
2422
|
+
h[T = P & N] = Z << 24 | O << 16 | E - u | 0;
|
|
2423
2423
|
}
|
|
2424
2424
|
}
|
|
2425
|
-
return P !== 0 && (h[E + P] = B - V << 24 | 64 << 16 | 0), v.bits =
|
|
2425
|
+
return P !== 0 && (h[E + P] = B - V << 24 | 64 << 16 | 0), v.bits = Z, 0;
|
|
2426
2426
|
};
|
|
2427
2427
|
}, { "../utils/common": 41 }], 51: [function(e, o, n) {
|
|
2428
2428
|
o.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
|
|
@@ -2432,8 +2432,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2432
2432
|
for (var R = x.length; 0 <= --R; )
|
|
2433
2433
|
x[R] = 0;
|
|
2434
2434
|
}
|
|
2435
|
-
var r = 0, i = 29, d = 256, g = d + 1 + i, f = 30, h = 19, u = 2 * g + 1, y = 15, v = 16, b = 7, C = 256, T = 16, N = 17, E = 18, _ = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], w = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], D = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], W = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
|
|
2436
|
-
l(
|
|
2435
|
+
var r = 0, i = 29, d = 256, g = d + 1 + i, f = 30, h = 19, u = 2 * g + 1, y = 15, v = 16, b = 7, C = 256, T = 16, N = 17, E = 18, _ = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], w = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], D = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], W = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], j = new Array(2 * (g + 2));
|
|
2436
|
+
l(j);
|
|
2437
2437
|
var B = new Array(2 * f);
|
|
2438
2438
|
l(B);
|
|
2439
2439
|
var I = new Array(512);
|
|
@@ -2442,7 +2442,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2442
2442
|
l(m);
|
|
2443
2443
|
var F = new Array(i);
|
|
2444
2444
|
l(F);
|
|
2445
|
-
var
|
|
2445
|
+
var Z, O, V, z = new Array(f);
|
|
2446
2446
|
function $(x, R, q, X, M) {
|
|
2447
2447
|
this.static_tree = x, this.extra_bits = R, this.extra_base = q, this.elems = X, this.max_length = M, this.has_stree = x && x.length;
|
|
2448
2448
|
}
|
|
@@ -2571,17 +2571,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2571
2571
|
for (q = 0; q <= y; q++)
|
|
2572
2572
|
rt[q] = 0;
|
|
2573
2573
|
for (R = 0; R <= 143; )
|
|
2574
|
-
|
|
2574
|
+
j[2 * R + 1] = 8, R++, rt[8]++;
|
|
2575
2575
|
for (; R <= 255; )
|
|
2576
|
-
|
|
2576
|
+
j[2 * R + 1] = 9, R++, rt[9]++;
|
|
2577
2577
|
for (; R <= 279; )
|
|
2578
|
-
|
|
2578
|
+
j[2 * R + 1] = 7, R++, rt[7]++;
|
|
2579
2579
|
for (; R <= 287; )
|
|
2580
|
-
|
|
2581
|
-
for (Tt(
|
|
2580
|
+
j[2 * R + 1] = 8, R++, rt[8]++;
|
|
2581
|
+
for (Tt(j, g + 1, rt), R = 0; R < f; R++)
|
|
2582
2582
|
B[2 * R + 1] = 5, B[2 * R] = pt(R, 5);
|
|
2583
|
-
|
|
2584
|
-
}(), G = !0), x.l_desc = new P(x.dyn_ltree,
|
|
2583
|
+
Z = new $(j, _, d + 1, g, y), O = new $(B, w, 0, f, y), V = new $(new Array(0), D, 0, h, b);
|
|
2584
|
+
}(), G = !0), x.l_desc = new P(x.dyn_ltree, Z), x.d_desc = new P(x.dyn_dtree, O), x.bl_desc = new P(x.bl_tree, V), x.bi_buf = 0, x.bi_valid = 0, At(x);
|
|
2585
2585
|
}, n._tr_stored_block = L, n._tr_flush_block = function(x, R, q, X) {
|
|
2586
2586
|
var M, tt, rt = 0;
|
|
2587
2587
|
0 < x.level ? (x.strm.data_type === 2 && (x.strm.data_type = function(et) {
|
|
@@ -2600,7 +2600,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2600
2600
|
for (p(et, et.dyn_ltree, et.l_desc.max_code), p(et, et.dyn_dtree, et.d_desc.max_code), Bt(et, et.bl_desc), it = h - 1; 3 <= it && et.bl_tree[2 * W[it] + 1] === 0; it--)
|
|
2601
2601
|
;
|
|
2602
2602
|
return et.opt_len += 3 * (it + 1) + 5 + 5 + 4, it;
|
|
2603
|
-
}(x), M = x.opt_len + 3 + 7 >>> 3, (tt = x.static_len + 3 + 7 >>> 3) <= M && (M = tt)) : M = tt = q + 5, q + 4 <= M && R !== -1 ? L(x, R, q, X) : x.strategy === 4 || tt === M ? (J(x, 2 + (X ? 1 : 0), 3), xt(x,
|
|
2603
|
+
}(x), M = x.opt_len + 3 + 7 >>> 3, (tt = x.static_len + 3 + 7 >>> 3) <= M && (M = tt)) : M = tt = q + 5, q + 4 <= M && R !== -1 ? L(x, R, q, X) : x.strategy === 4 || tt === M ? (J(x, 2 + (X ? 1 : 0), 3), xt(x, j, B)) : (J(x, 4 + (X ? 1 : 0), 3), function(et, it, vt, mt) {
|
|
2604
2604
|
var Ut;
|
|
2605
2605
|
for (J(et, it - 257, 5), J(et, vt - 1, 5), J(et, mt - 4, 4), Ut = 0; Ut < mt; Ut++)
|
|
2606
2606
|
J(et, et.bl_tree[2 * W[Ut] + 1], 3);
|
|
@@ -2609,7 +2609,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2609
2609
|
}, n._tr_tally = function(x, R, q) {
|
|
2610
2610
|
return x.pending_buf[x.d_buf + 2 * x.last_lit] = R >>> 8 & 255, x.pending_buf[x.d_buf + 2 * x.last_lit + 1] = 255 & R, x.pending_buf[x.l_buf + x.last_lit] = 255 & q, x.last_lit++, R === 0 ? x.dyn_ltree[2 * q]++ : (x.matches++, R--, x.dyn_ltree[2 * (m[q] + d + 1)]++, x.dyn_dtree[2 * S(R)]++), x.last_lit === x.lit_bufsize - 1;
|
|
2611
2611
|
}, n._tr_align = function(x) {
|
|
2612
|
-
J(x, 2, 3), H(x, C,
|
|
2612
|
+
J(x, 2, 3), H(x, C, j), function(R) {
|
|
2613
2613
|
R.bi_valid === 16 ? (Q(R, R.bi_buf), R.bi_buf = 0, R.bi_valid = 0) : 8 <= R.bi_valid && (R.pending_buf[R.pending++] = 255 & R.bi_buf, R.bi_buf >>= 8, R.bi_valid -= 8);
|
|
2614
2614
|
}(x);
|
|
2615
2615
|
};
|
|
@@ -2697,9 +2697,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2697
2697
|
}).call(this, typeof na < "u" ? na : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
2698
2698
|
}, {}] }, {}, [10])(10);
|
|
2699
2699
|
});
|
|
2700
|
-
})(
|
|
2701
|
-
var Bn =
|
|
2702
|
-
const
|
|
2700
|
+
})(Yr);
|
|
2701
|
+
var Bn = Yr.exports;
|
|
2702
|
+
const tr = /* @__PURE__ */ Nn(Bn);
|
|
2703
2703
|
var Pt = function() {
|
|
2704
2704
|
return Pt = Object.assign || function(a) {
|
|
2705
2705
|
for (var e, o = 1, n = arguments.length; o < n; o++) {
|
|
@@ -2809,7 +2809,7 @@ function la(t, a, e) {
|
|
|
2809
2809
|
return t.concat(A || Array.prototype.slice.call(a));
|
|
2810
2810
|
}
|
|
2811
2811
|
var ct = 914400, ra = 12700, Ft = `\r
|
|
2812
|
-
`, Dn = 2147483649, Ta = /^[0-9a-fA-F]{6}$/, _n = 1.67, kn = 27, Ee = { type: "solid", color: "666666", pt: 1 }, Jr = [0.05, 0.1, 0.05, 0.1], Se = { type: "solid", color: "363636", pt: 1 }, Be = { color: "888888", style: "solid", size: 1, cap: "flat" }, Vt = "000000", jt = 12, Rn = 18, Me = "LAYOUT_16x9", Oa = "DEFAULT", Zr = "333333", Te = { type: "outer", blur: 3, offset: 23e3 / 12700, angle: 90, color: "000000", opacity: 0.35, rotateWithShape: !0 }, aa = [0.5, 0.5, 0.5, 0.5],
|
|
2812
|
+
`, Dn = 2147483649, Ta = /^[0-9a-fA-F]{6}$/, _n = 1.67, kn = 27, Ee = { type: "solid", color: "666666", pt: 1 }, Jr = [0.05, 0.1, 0.05, 0.1], Se = { type: "solid", color: "363636", pt: 1 }, Be = { color: "888888", style: "solid", size: 1, cap: "flat" }, Vt = "000000", jt = 12, Rn = 18, Me = "LAYOUT_16x9", Oa = "DEFAULT", Zr = "333333", Te = { type: "outer", blur: 3, offset: 23e3 / 12700, angle: 90, color: "000000", opacity: 0.35, rotateWithShape: !0 }, aa = [0.5, 0.5, 0.5, 0.5], gr = { type: "outer", blur: 8, offset: 4, angle: 270, color: "000000", opacity: 0.75 }, Pn = { size: 8, color: "FFFFFF", opacity: 0.75 }, he = "2094734552", ca = "2094734553", Ke = "2094734554", Ua = "2094734555", Kr = "2094734556", Xe = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), je = [
|
|
2813
2813
|
"C0504D",
|
|
2814
2814
|
"4F81BD",
|
|
2815
2815
|
"9BBB59",
|
|
@@ -2881,10 +2881,10 @@ var we;
|
|
|
2881
2881
|
(function(t) {
|
|
2882
2882
|
t.ACTION_BUTTON_BACK_OR_PREVIOUS = "actionButtonBackPrevious", t.ACTION_BUTTON_BEGINNING = "actionButtonBeginning", t.ACTION_BUTTON_CUSTOM = "actionButtonBlank", t.ACTION_BUTTON_DOCUMENT = "actionButtonDocument", t.ACTION_BUTTON_END = "actionButtonEnd", t.ACTION_BUTTON_FORWARD_OR_NEXT = "actionButtonForwardNext", t.ACTION_BUTTON_HELP = "actionButtonHelp", t.ACTION_BUTTON_HOME = "actionButtonHome", t.ACTION_BUTTON_INFORMATION = "actionButtonInformation", t.ACTION_BUTTON_MOVIE = "actionButtonMovie", t.ACTION_BUTTON_RETURN = "actionButtonReturn", t.ACTION_BUTTON_SOUND = "actionButtonSound", t.ARC = "arc", t.BALLOON = "wedgeRoundRectCallout", t.BENT_ARROW = "bentArrow", t.BENT_UP_ARROW = "bentUpArrow", t.BEVEL = "bevel", t.BLOCK_ARC = "blockArc", t.CAN = "can", t.CHART_PLUS = "chartPlus", t.CHART_STAR = "chartStar", t.CHART_X = "chartX", t.CHEVRON = "chevron", t.CHORD = "chord", t.CIRCULAR_ARROW = "circularArrow", t.CLOUD = "cloud", t.CLOUD_CALLOUT = "cloudCallout", t.CORNER = "corner", t.CORNER_TABS = "cornerTabs", t.CROSS = "plus", t.CUBE = "cube", t.CURVED_DOWN_ARROW = "curvedDownArrow", t.CURVED_DOWN_RIBBON = "ellipseRibbon", t.CURVED_LEFT_ARROW = "curvedLeftArrow", t.CURVED_RIGHT_ARROW = "curvedRightArrow", t.CURVED_UP_ARROW = "curvedUpArrow", t.CURVED_UP_RIBBON = "ellipseRibbon2", t.CUSTOM_GEOMETRY = "custGeom", t.DECAGON = "decagon", t.DIAGONAL_STRIPE = "diagStripe", t.DIAMOND = "diamond", t.DODECAGON = "dodecagon", t.DONUT = "donut", t.DOUBLE_BRACE = "bracePair", t.DOUBLE_BRACKET = "bracketPair", t.DOUBLE_WAVE = "doubleWave", t.DOWN_ARROW = "downArrow", t.DOWN_ARROW_CALLOUT = "downArrowCallout", t.DOWN_RIBBON = "ribbon", t.EXPLOSION1 = "irregularSeal1", t.EXPLOSION2 = "irregularSeal2", t.FLOWCHART_ALTERNATE_PROCESS = "flowChartAlternateProcess", t.FLOWCHART_CARD = "flowChartPunchedCard", t.FLOWCHART_COLLATE = "flowChartCollate", t.FLOWCHART_CONNECTOR = "flowChartConnector", t.FLOWCHART_DATA = "flowChartInputOutput", t.FLOWCHART_DECISION = "flowChartDecision", t.FLOWCHART_DELAY = "flowChartDelay", t.FLOWCHART_DIRECT_ACCESS_STORAGE = "flowChartMagneticDrum", t.FLOWCHART_DISPLAY = "flowChartDisplay", t.FLOWCHART_DOCUMENT = "flowChartDocument", t.FLOWCHART_EXTRACT = "flowChartExtract", t.FLOWCHART_INTERNAL_STORAGE = "flowChartInternalStorage", t.FLOWCHART_MAGNETIC_DISK = "flowChartMagneticDisk", t.FLOWCHART_MANUAL_INPUT = "flowChartManualInput", t.FLOWCHART_MANUAL_OPERATION = "flowChartManualOperation", t.FLOWCHART_MERGE = "flowChartMerge", t.FLOWCHART_MULTIDOCUMENT = "flowChartMultidocument", t.FLOWCHART_OFFLINE_STORAGE = "flowChartOfflineStorage", t.FLOWCHART_OFFPAGE_CONNECTOR = "flowChartOffpageConnector", t.FLOWCHART_OR = "flowChartOr", t.FLOWCHART_PREDEFINED_PROCESS = "flowChartPredefinedProcess", t.FLOWCHART_PREPARATION = "flowChartPreparation", t.FLOWCHART_PROCESS = "flowChartProcess", t.FLOWCHART_PUNCHED_TAPE = "flowChartPunchedTape", t.FLOWCHART_SEQUENTIAL_ACCESS_STORAGE = "flowChartMagneticTape", t.FLOWCHART_SORT = "flowChartSort", t.FLOWCHART_STORED_DATA = "flowChartOnlineStorage", t.FLOWCHART_SUMMING_JUNCTION = "flowChartSummingJunction", t.FLOWCHART_TERMINATOR = "flowChartTerminator", t.FOLDED_CORNER = "folderCorner", t.FRAME = "frame", t.FUNNEL = "funnel", t.GEAR_6 = "gear6", t.GEAR_9 = "gear9", t.HALF_FRAME = "halfFrame", t.HEART = "heart", t.HEPTAGON = "heptagon", t.HEXAGON = "hexagon", t.HORIZONTAL_SCROLL = "horizontalScroll", t.ISOSCELES_TRIANGLE = "triangle", t.LEFT_ARROW = "leftArrow", t.LEFT_ARROW_CALLOUT = "leftArrowCallout", t.LEFT_BRACE = "leftBrace", t.LEFT_BRACKET = "leftBracket", t.LEFT_CIRCULAR_ARROW = "leftCircularArrow", t.LEFT_RIGHT_ARROW = "leftRightArrow", t.LEFT_RIGHT_ARROW_CALLOUT = "leftRightArrowCallout", t.LEFT_RIGHT_CIRCULAR_ARROW = "leftRightCircularArrow", t.LEFT_RIGHT_RIBBON = "leftRightRibbon", t.LEFT_RIGHT_UP_ARROW = "leftRightUpArrow", t.LEFT_UP_ARROW = "leftUpArrow", t.LIGHTNING_BOLT = "lightningBolt", t.LINE_CALLOUT_1 = "borderCallout1", t.LINE_CALLOUT_1_ACCENT_BAR = "accentCallout1", t.LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR = "accentBorderCallout1", t.LINE_CALLOUT_1_NO_BORDER = "callout1", t.LINE_CALLOUT_2 = "borderCallout2", t.LINE_CALLOUT_2_ACCENT_BAR = "accentCallout2", t.LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR = "accentBorderCallout2", t.LINE_CALLOUT_2_NO_BORDER = "callout2", t.LINE_CALLOUT_3 = "borderCallout3", t.LINE_CALLOUT_3_ACCENT_BAR = "accentCallout3", t.LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR = "accentBorderCallout3", t.LINE_CALLOUT_3_NO_BORDER = "callout3", t.LINE_CALLOUT_4 = "borderCallout3", t.LINE_CALLOUT_4_ACCENT_BAR = "accentCallout3", t.LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR = "accentBorderCallout3", t.LINE_CALLOUT_4_NO_BORDER = "callout3", t.LINE = "line", t.LINE_INVERSE = "lineInv", t.MATH_DIVIDE = "mathDivide", t.MATH_EQUAL = "mathEqual", t.MATH_MINUS = "mathMinus", t.MATH_MULTIPLY = "mathMultiply", t.MATH_NOT_EQUAL = "mathNotEqual", t.MATH_PLUS = "mathPlus", t.MOON = "moon", t.NON_ISOSCELES_TRAPEZOID = "nonIsoscelesTrapezoid", t.NOTCHED_RIGHT_ARROW = "notchedRightArrow", t.NO_SYMBOL = "noSmoking", t.OCTAGON = "octagon", t.OVAL = "ellipse", t.OVAL_CALLOUT = "wedgeEllipseCallout", t.PARALLELOGRAM = "parallelogram", t.PENTAGON = "homePlate", t.PIE = "pie", t.PIE_WEDGE = "pieWedge", t.PLAQUE = "plaque", t.PLAQUE_TABS = "plaqueTabs", t.QUAD_ARROW = "quadArrow", t.QUAD_ARROW_CALLOUT = "quadArrowCallout", t.RECTANGLE = "rect", t.RECTANGULAR_CALLOUT = "wedgeRectCallout", t.REGULAR_PENTAGON = "pentagon", t.RIGHT_ARROW = "rightArrow", t.RIGHT_ARROW_CALLOUT = "rightArrowCallout", t.RIGHT_BRACE = "rightBrace", t.RIGHT_BRACKET = "rightBracket", t.RIGHT_TRIANGLE = "rtTriangle", t.ROUNDED_RECTANGLE = "roundRect", t.ROUNDED_RECTANGULAR_CALLOUT = "wedgeRoundRectCallout", t.ROUND_1_RECTANGLE = "round1Rect", t.ROUND_2_DIAG_RECTANGLE = "round2DiagRect", t.ROUND_2_SAME_RECTANGLE = "round2SameRect", t.SMILEY_FACE = "smileyFace", t.SNIP_1_RECTANGLE = "snip1Rect", t.SNIP_2_DIAG_RECTANGLE = "snip2DiagRect", t.SNIP_2_SAME_RECTANGLE = "snip2SameRect", t.SNIP_ROUND_RECTANGLE = "snipRoundRect", t.SQUARE_TABS = "squareTabs", t.STAR_10_POINT = "star10", t.STAR_12_POINT = "star12", t.STAR_16_POINT = "star16", t.STAR_24_POINT = "star24", t.STAR_32_POINT = "star32", t.STAR_4_POINT = "star4", t.STAR_5_POINT = "star5", t.STAR_6_POINT = "star6", t.STAR_7_POINT = "star7", t.STAR_8_POINT = "star8", t.STRIPED_RIGHT_ARROW = "stripedRightArrow", t.SUN = "sun", t.SWOOSH_ARROW = "swooshArrow", t.TEAR = "teardrop", t.TRAPEZOID = "trapezoid", t.UP_ARROW = "upArrow", t.UP_ARROW_CALLOUT = "upArrowCallout", t.UP_DOWN_ARROW = "upDownArrow", t.UP_DOWN_ARROW_CALLOUT = "upDownArrowCallout", t.UP_RIBBON = "ribbon2", t.U_TURN_ARROW = "uturnArrow", t.VERTICAL_SCROLL = "verticalScroll", t.WAVE = "wave";
|
|
2883
2883
|
})(we || (we = {}));
|
|
2884
|
-
var
|
|
2884
|
+
var K;
|
|
2885
2885
|
(function(t) {
|
|
2886
2886
|
t.AREA = "area", t.BAR = "bar", t.BAR3D = "bar3D", t.BUBBLE = "bubble", t.BUBBLE3D = "bubble3D", t.DOUGHNUT = "doughnut", t.LINE = "line", t.PIE = "pie", t.RADAR = "radar", t.SCATTER = "scatter";
|
|
2887
|
-
})(
|
|
2887
|
+
})(K || (K = {}));
|
|
2888
2888
|
var Va;
|
|
2889
2889
|
(function(t) {
|
|
2890
2890
|
t.TEXT1 = "tx1", t.TEXT2 = "tx2", t.BACKGROUND1 = "bg1", t.BACKGROUND2 = "bg2", t.ACCENT1 = "accent1", t.ACCENT2 = "accent2", t.ACCENT3 = "accent3", t.ACCENT4 = "accent4", t.ACCENT5 = "accent5", t.ACCENT6 = "accent6";
|
|
@@ -2961,7 +2961,7 @@ function Kt(t) {
|
|
|
2961
2961
|
function me(t) {
|
|
2962
2962
|
return t._rels.length + t._relsChart.length + t._relsMedia.length + 1;
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2964
|
+
function er(t) {
|
|
2965
2965
|
if (!(!t || typeof t != "object"))
|
|
2966
2966
|
return t.type !== "outer" && t.type !== "inner" && t.type !== "none" && (console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."), t.type = "outer"), t.angle && ((isNaN(Number(t.angle)) || t.angle < 0 || t.angle > 359) && (console.warn("Warning: shadow.angle can only be 0-359"), t.angle = 270), t.angle = Math.round(Number(t.angle))), t.opacity && ((isNaN(Number(t.opacity)) || t.opacity < 0 || t.opacity > 1) && (console.warn("Warning: shadow.opacity can only be 0-1"), t.opacity = 0.75), t.opacity = Number(t.opacity)), t.color && t.color.startsWith("#") && (console.warn('Warning: shadow.color should not include hash (#) character, , e.g. "FF0000"'), t.color = t.color.replace("#", "")), t;
|
|
2967
2967
|
}
|
|
@@ -3068,11 +3068,11 @@ function $r(t, a, e, o) {
|
|
|
3068
3068
|
})), P._lines = Fn(V, S, !1), E.push(P);
|
|
3069
3069
|
}), a.verbose && console.log(`
|
|
3070
3070
|
| SLIDE [`.concat(r.length, "]: ROW [").concat(N, "]: START..."));
|
|
3071
|
-
for (var W = 0,
|
|
3071
|
+
for (var W = 0, j = 0, B = !1; !B; ) {
|
|
3072
3072
|
var I = E[W], m = D[W];
|
|
3073
3073
|
if (E.forEach(function(V) {
|
|
3074
|
-
V._lineHeight >=
|
|
3075
|
-
}), s +
|
|
3074
|
+
V._lineHeight >= j && (j = V._lineHeight);
|
|
3075
|
+
}), s + j > c) {
|
|
3076
3076
|
a.verbose && (console.log(`
|
|
3077
3077
|
|-----------------------------------------------------------------------|`), console.log("|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ".concat((s / ct).toFixed(2), " + ").concat((I._lineHeight / ct).toFixed(2), " > ").concat(c / ct)), console.log(`|-----------------------------------------------------------------------|
|
|
3078
3078
|
|
|
@@ -3091,8 +3091,8 @@ function $r(t, a, e, o) {
|
|
|
3091
3091
|
}), C.rows.push(z), s += $;
|
|
3092
3092
|
}), m = D[W];
|
|
3093
3093
|
}
|
|
3094
|
-
var
|
|
3095
|
-
Array.isArray(m.text) && (
|
|
3094
|
+
var Z = I._lines.shift();
|
|
3095
|
+
Array.isArray(m.text) && (Z ? m.text = m.text.concat(Z) : m.text.length === 0 && (m.text = m.text.concat({ _type: ut.tablecell, text: "" }))), W === E.length - 1 && (s += j), W = W < E.length - 1 ? W + 1 : 0;
|
|
3096
3096
|
var O = E.map(function(V) {
|
|
3097
3097
|
return V._lines.length;
|
|
3098
3098
|
}).reduce(function(V, z) {
|
|
@@ -3163,18 +3163,18 @@ function In(t, a, e, o) {
|
|
|
3163
3163
|
if (window.getComputedStyle(b).getPropertyValue("padding-left")) {
|
|
3164
3164
|
N.margin = [0, 0, 0, 0];
|
|
3165
3165
|
var w = ["padding-top", "padding-right", "padding-bottom", "padding-left"];
|
|
3166
|
-
w.forEach(function(W,
|
|
3167
|
-
N.margin[
|
|
3166
|
+
w.forEach(function(W, j) {
|
|
3167
|
+
N.margin[j] = Math.round(Number(window.getComputedStyle(b).getPropertyValue(W).replace(/\D/gi, "")));
|
|
3168
3168
|
});
|
|
3169
3169
|
}
|
|
3170
3170
|
if (window.getComputedStyle(b).getPropertyValue("border-top-width") || window.getComputedStyle(b).getPropertyValue("border-right-width") || window.getComputedStyle(b).getPropertyValue("border-bottom-width") || window.getComputedStyle(b).getPropertyValue("border-left-width")) {
|
|
3171
3171
|
N.border = [null, null, null, null];
|
|
3172
3172
|
var D = ["top", "right", "bottom", "left"];
|
|
3173
|
-
D.forEach(function(W,
|
|
3173
|
+
D.forEach(function(W, j) {
|
|
3174
3174
|
var B = Math.round(Number(window.getComputedStyle(b).getPropertyValue("border-" + W + "-width").replace("px", ""))), I = [];
|
|
3175
3175
|
I = window.getComputedStyle(b).getPropertyValue("border-" + W + "-color").replace(/\s+/gi, "").replace("rgba(", "").replace("rgb(", "").replace(")", "").split(",");
|
|
3176
3176
|
var m = Ba(Number(I[0]), Number(I[1]), Number(I[2]));
|
|
3177
|
-
N.border[
|
|
3177
|
+
N.border[j] = { pt: B, color: m };
|
|
3178
3178
|
});
|
|
3179
3179
|
}
|
|
3180
3180
|
v.push({
|
|
@@ -3235,13 +3235,13 @@ function tn(t, a, e, o) {
|
|
|
3235
3235
|
var i = l && typeof l == "object" ? l : {};
|
|
3236
3236
|
return i._type = a, i.x = typeof i.x < "u" && i.x != null && !isNaN(Number(i.x)) ? i.x : 1, i.y = typeof i.y < "u" && i.y != null && !isNaN(Number(i.y)) ? i.y : 1, i.w = i.w || "50%", i.h = i.h || "50%", i.objectName = i.objectName ? ft(i.objectName) : "Chart ".concat(t._slideObjects.filter(function(d) {
|
|
3237
3237
|
return d._type === ut.chart;
|
|
3238
|
-
}).length), ["bar", "col"].includes(i.barDir || "") || (i.barDir = "col"), i._type ===
|
|
3238
|
+
}).length), ["bar", "col"].includes(i.barDir || "") || (i.barDir = "col"), i._type === K.AREA && (["stacked", "standard", "percentStacked"].includes(i.barGrouping || "") || (i.barGrouping = "standard")), i._type === K.BAR && (["clustered", "stacked", "percentStacked"].includes(i.barGrouping || "") || (i.barGrouping = "clustered")), i._type === K.BAR3D && (["clustered", "stacked", "standard", "percentStacked"].includes(i.barGrouping || "") || (i.barGrouping = "standard")), !((n = i.barGrouping) === null || n === void 0) && n.includes("tacked") && (i.barGapWidthPct || (i.barGapWidthPct = 50)), i.dataLabelPosition && ((i._type === K.AREA || i._type === K.BAR3D || i._type === K.DOUGHNUT || i._type === K.RADAR) && delete i.dataLabelPosition, i._type === K.PIE && (["bestFit", "ctr", "inEnd", "outEnd"].includes(i.dataLabelPosition) || delete i.dataLabelPosition), (i._type === K.BUBBLE || i._type === K.BUBBLE3D || i._type === K.LINE || i._type === K.SCATTER) && (["b", "ctr", "l", "r", "t"].includes(i.dataLabelPosition) || delete i.dataLabelPosition), i._type === K.BAR && (["stacked", "percentStacked"].includes(i.barGrouping || "") || ["ctr", "inBase", "inEnd"].includes(i.dataLabelPosition) || delete i.dataLabelPosition, ["clustered"].includes(i.barGrouping || "") || ["ctr", "inBase", "inEnd", "outEnd"].includes(i.dataLabelPosition) || delete i.dataLabelPosition)), i.dataLabelBkgrdColors = i.dataLabelBkgrdColors || !i.dataLabelBkgrdColors ? i.dataLabelBkgrdColors : !1, ["b", "l", "r", "t", "tr"].includes(i.legendPos || "") || (i.legendPos = "r"), ["cone", "coneToMax", "box", "cylinder", "pyramid", "pyramidToMax"].includes(i.bar3DShape || "") || (i.bar3DShape = "box"), ["circle", "dash", "diamond", "dot", "none", "square", "triangle"].includes(i.lineDataSymbol || "") || (i.lineDataSymbol = "circle"), ["gap", "span"].includes(i.displayBlanksAs || "") || (i.displayBlanksAs = "span"), ["standard", "marker", "filled"].includes(i.radarStyle || "") || (i.radarStyle = "standard"), i.lineDataSymbolSize = i.lineDataSymbolSize && !isNaN(i.lineDataSymbolSize) ? i.lineDataSymbolSize : 6, i.lineDataSymbolLineSize = i.lineDataSymbolLineSize && !isNaN(i.lineDataSymbolLineSize) ? lt(i.lineDataSymbolLineSize) : lt(0.75), i.layout && ["x", "y", "w", "h"].forEach(function(d) {
|
|
3239
3239
|
var g = i.layout[d];
|
|
3240
3240
|
(isNaN(Number(g)) || g < 0 || g > 1) && (console.warn("Warning: chart.layout." + d + " can only be 0-1"), delete i.layout[d]);
|
|
3241
|
-
}), i.catGridLine = i.catGridLine || (i._type ===
|
|
3241
|
+
}), i.catGridLine = i.catGridLine || (i._type === K.SCATTER ? { color: "D9D9D9", size: 1 } : { style: "none" }), i.valGridLine = i.valGridLine || (i._type === K.SCATTER ? { color: "D9D9D9", size: 1 } : {}), i.serGridLine = i.serGridLine || (i._type === K.SCATTER ? { color: "D9D9D9", size: 1 } : { style: "none" }), A(i.catGridLine), A(i.valGridLine), A(i.serGridLine), er(i.shadow), i.showDataTable = i.showDataTable || !i.showDataTable ? i.showDataTable : !1, i.showDataTableHorzBorder = i.showDataTableHorzBorder || !i.showDataTableHorzBorder ? i.showDataTableHorzBorder : !0, i.showDataTableVertBorder = i.showDataTableVertBorder || !i.showDataTableVertBorder ? i.showDataTableVertBorder : !0, i.showDataTableOutline = i.showDataTableOutline || !i.showDataTableOutline ? i.showDataTableOutline : !0, i.showDataTableKeys = i.showDataTableKeys || !i.showDataTableKeys ? i.showDataTableKeys : !0, i.showLabel = i.showLabel || !i.showLabel ? i.showLabel : !1, i.showLegend = i.showLegend || !i.showLegend ? i.showLegend : !1, i.showPercent = i.showPercent || !i.showPercent ? i.showPercent : !0, i.showTitle = i.showTitle || !i.showTitle ? i.showTitle : !1, i.showValue = i.showValue || !i.showValue ? i.showValue : !1, i.showLeaderLines = i.showLeaderLines || !i.showLeaderLines ? i.showLeaderLines : !1, i.catAxisLineShow = typeof i.catAxisLineShow < "u" ? i.catAxisLineShow : !0, i.valAxisLineShow = typeof i.valAxisLineShow < "u" ? i.valAxisLineShow : !0, i.serAxisLineShow = typeof i.serAxisLineShow < "u" ? i.serAxisLineShow : !0, i.v3DRotX = !isNaN(i.v3DRotX) && i.v3DRotX >= -90 && i.v3DRotX <= 90 ? i.v3DRotX : 30, i.v3DRotY = !isNaN(i.v3DRotY) && i.v3DRotY >= 0 && i.v3DRotY <= 360 ? i.v3DRotY : 30, i.v3DRAngAx = i.v3DRAngAx || !i.v3DRAngAx ? i.v3DRAngAx : !0, i.v3DPerspective = !isNaN(i.v3DPerspective) && i.v3DPerspective >= 0 && i.v3DPerspective <= 240 ? i.v3DPerspective : 30, i.barGapWidthPct = !isNaN(i.barGapWidthPct) && i.barGapWidthPct >= 0 && i.barGapWidthPct <= 1e3 ? i.barGapWidthPct : 150, i.barGapDepthPct = !isNaN(i.barGapDepthPct) && i.barGapDepthPct >= 0 && i.barGapDepthPct <= 1e3 ? i.barGapDepthPct : 150, i.chartColors = Array.isArray(i.chartColors) ? i.chartColors : i._type === K.PIE || i._type === K.DOUGHNUT ? En : je, i.chartColorsOpacity = i.chartColorsOpacity && !isNaN(i.chartColorsOpacity) ? i.chartColorsOpacity : null, i.border = i.border && typeof i.border == "object" ? i.border : null, i.border && (!i.border.pt || isNaN(i.border.pt)) && (i.border.pt = Se.pt), i.border && (!i.border.color || typeof i.border.color != "string") && (i.border.color = Se.color), i.plotArea = i.plotArea || {}, i.plotArea.border = i.plotArea.border && typeof i.plotArea.border == "object" ? i.plotArea.border : null, i.plotArea.border && (!i.plotArea.border.pt || isNaN(i.plotArea.border.pt)) && (i.plotArea.border.pt = Se.pt), i.plotArea.border && (!i.plotArea.border.color || typeof i.plotArea.border.color != "string") && (i.plotArea.border.color = Se.color), i.border && (i.plotArea.border = i.border), i.plotArea.fill = i.plotArea.fill || { color: null, transparency: null }, i.fill && (i.plotArea.fill.color = i.fill), i.chartArea = i.chartArea || {}, i.chartArea.border = i.chartArea.border && typeof i.chartArea.border == "object" ? i.chartArea.border : null, i.chartArea.border && (i.chartArea.border = {
|
|
3242
3242
|
color: i.chartArea.border.color || Se.color,
|
|
3243
3243
|
pt: i.chartArea.border.pt || Se.pt
|
|
3244
|
-
}), i.chartArea.roundedCorners = typeof i.chartArea.roundedCorners == "boolean" ? i.chartArea.roundedCorners : !0, i.dataBorder = i.dataBorder && typeof i.dataBorder == "object" ? i.dataBorder : null, i.dataBorder && (!i.dataBorder.pt || isNaN(i.dataBorder.pt)) && (i.dataBorder.pt = 0.75), i.dataBorder && (!i.dataBorder.color || typeof i.dataBorder.color != "string" || i.dataBorder.color.length !== 6) && (i.dataBorder.color = "F9F9F9"), !i.dataLabelFormatCode && i._type ===
|
|
3244
|
+
}), i.chartArea.roundedCorners = typeof i.chartArea.roundedCorners == "boolean" ? i.chartArea.roundedCorners : !0, i.dataBorder = i.dataBorder && typeof i.dataBorder == "object" ? i.dataBorder : null, i.dataBorder && (!i.dataBorder.pt || isNaN(i.dataBorder.pt)) && (i.dataBorder.pt = 0.75), i.dataBorder && (!i.dataBorder.color || typeof i.dataBorder.color != "string" || i.dataBorder.color.length !== 6) && (i.dataBorder.color = "F9F9F9"), !i.dataLabelFormatCode && i._type === K.SCATTER && (i.dataLabelFormatCode = "General"), !i.dataLabelFormatCode && (i._type === K.PIE || i._type === K.DOUGHNUT) && (i.dataLabelFormatCode = i.showPercent ? "0%" : "General"), i.dataLabelFormatCode = i.dataLabelFormatCode && typeof i.dataLabelFormatCode == "string" ? i.dataLabelFormatCode : "#,##0", !i.dataLabelFormatScatter && i._type === K.SCATTER && (i.dataLabelFormatScatter = "custom"), i.lineSize = typeof i.lineSize == "number" ? i.lineSize : 2, i.valAxisMajorUnit = typeof i.valAxisMajorUnit == "number" ? i.valAxisMajorUnit : null, i._type === K.AREA || i._type === K.BAR || i._type === K.BAR3D || i._type === K.LINE ? i.catAxisMultiLevelLabels = !!i.catAxisMultiLevelLabels : delete i.catAxisMultiLevelLabels, s._type = "chart", s.options = i, s.chartRid = me(t), t._relsChart.push({
|
|
3245
3245
|
rId: me(t),
|
|
3246
3246
|
data: r,
|
|
3247
3247
|
opts: i,
|
|
@@ -3285,7 +3285,7 @@ function en(t, a) {
|
|
|
3285
3285
|
flipH: a.flipH || !1,
|
|
3286
3286
|
transparency: a.transparency || 0,
|
|
3287
3287
|
objectName: g,
|
|
3288
|
-
shadow:
|
|
3288
|
+
shadow: er(a.shadow)
|
|
3289
3289
|
}, f === "svg")
|
|
3290
3290
|
t._relsMedia.push({
|
|
3291
3291
|
path: i || r + "png",
|
|
@@ -3523,7 +3523,7 @@ function ha(t, a, e, o) {
|
|
|
3523
3523
|
}
|
|
3524
3524
|
c.line = c.line || {}, c.lineSpacing = c.lineSpacing && !isNaN(c.lineSpacing) ? c.lineSpacing : null, c.lineSpacingMultiple = c.lineSpacingMultiple && !isNaN(c.lineSpacingMultiple) ? c.lineSpacingMultiple : null, c._bodyProp = c._bodyProp || {}, c._bodyProp.autoFit = c.autoFit || !1, c._bodyProp.anchor = c.placeholder ? null : ze.ctr, c._bodyProp.vert = c.vert || null, c._bodyProp.wrap = typeof c.wrap == "boolean" ? c.wrap : !0, (c.inset && !isNaN(Number(c.inset)) || c.inset === 0) && (c._bodyProp.lIns = yt(c.inset), c._bodyProp.rIns = yt(c.inset), c._bodyProp.tIns = yt(c.inset), c._bodyProp.bIns = yt(c.inset)), typeof c.underline == "boolean" && c.underline === !0 && (c.underline = { style: "sng" });
|
|
3525
3525
|
}
|
|
3526
|
-
return (c.align || "").toLowerCase().indexOf("c") === 0 ? c._bodyProp.align = Ie.center : (c.align || "").toLowerCase().indexOf("l") === 0 ? c._bodyProp.align = Ie.left : (c.align || "").toLowerCase().indexOf("r") === 0 ? c._bodyProp.align = Ie.right : (c.align || "").toLowerCase().indexOf("j") === 0 && (c._bodyProp.align = Ie.justify), (c.valign || "").toLowerCase().indexOf("b") === 0 ? c._bodyProp.anchor = ze.b : (c.valign || "").toLowerCase().indexOf("m") === 0 ? c._bodyProp.anchor = ze.ctr : (c.valign || "").toLowerCase().indexOf("t") === 0 && (c._bodyProp.anchor = ze.t),
|
|
3526
|
+
return (c.align || "").toLowerCase().indexOf("c") === 0 ? c._bodyProp.align = Ie.center : (c.align || "").toLowerCase().indexOf("l") === 0 ? c._bodyProp.align = Ie.left : (c.align || "").toLowerCase().indexOf("r") === 0 ? c._bodyProp.align = Ie.right : (c.align || "").toLowerCase().indexOf("j") === 0 && (c._bodyProp.align = Ie.justify), (c.valign || "").toLowerCase().indexOf("b") === 0 ? c._bodyProp.anchor = ze.b : (c.valign || "").toLowerCase().indexOf("m") === 0 ? c._bodyProp.anchor = ze.ctr : (c.valign || "").toLowerCase().indexOf("t") === 0 && (c._bodyProp.anchor = ze.t), er(c.shadow), c;
|
|
3527
3527
|
}
|
|
3528
3528
|
n.options = A(n.options), n.text.forEach(function(c) {
|
|
3529
3529
|
return c.options = A(c.options || {});
|
|
@@ -3663,7 +3663,7 @@ function Hn(t, a) {
|
|
|
3663
3663
|
switch (o.label) {
|
|
3664
3664
|
case 0:
|
|
3665
3665
|
return e = t.data, [4, new Promise(function(n, A) {
|
|
3666
|
-
var c, s, l = new
|
|
3666
|
+
var c, s, l = new tr(), r = (e.length - 1) * 2 + 1, i = ((s = (c = e[0]) === null || c === void 0 ? void 0 : c.labels) === null || s === void 0 ? void 0 : s.length) > 1;
|
|
3667
3667
|
l.folder("_rels"), l.folder("docProps"), l.folder("xl/_rels"), l.folder("xl/tables"), l.folder("xl/theme"), l.folder("xl/worksheets"), l.folder("xl/worksheets/_rels"), l.file("[Content_Types].xml", `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> <Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/> <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/> <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/> <Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/> <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/> <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
|
|
3668
3668
|
`), l.file("_rels/.rels", `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
|
|
3669
3669
|
`), l.file("docProps/app.xml", `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>
|
|
@@ -3673,9 +3673,9 @@ function Hn(t, a) {
|
|
|
3673
3673
|
`);
|
|
3674
3674
|
{
|
|
3675
3675
|
var d = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
|
|
3676
|
-
if (t.opts._type ===
|
|
3676
|
+
if (t.opts._type === K.BUBBLE || t.opts._type === K.BUBBLE3D)
|
|
3677
3677
|
d += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(r, '" uniqueCount="').concat(r, '">');
|
|
3678
|
-
else if (t.opts._type ===
|
|
3678
|
+
else if (t.opts._type === K.SCATTER)
|
|
3679
3679
|
d += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(e.length, '" uniqueCount="').concat(e.length, '">');
|
|
3680
3680
|
else if (i) {
|
|
3681
3681
|
var g = e.length;
|
|
@@ -3688,11 +3688,11 @@ function Hn(t, a) {
|
|
|
3688
3688
|
var f = e.length + e[0].labels.length * e[0].labels[0].length + e[0].labels.length, h = e.length + e[0].labels.length * e[0].labels[0].length + 1;
|
|
3689
3689
|
d += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(f, '" uniqueCount="').concat(h, '">'), d += '<si><t xml:space="preserve"></t></si>';
|
|
3690
3690
|
}
|
|
3691
|
-
t.opts._type ===
|
|
3691
|
+
t.opts._type === K.BUBBLE || t.opts._type === K.BUBBLE3D ? e.forEach(function(_, w) {
|
|
3692
3692
|
w === 0 ? d += "<si><t>X-Axis</t></si>" : (d += "<si><t>".concat(ft(_.name || "Y-Axis".concat(w)), "</t></si>"), d += "<si><t>".concat(ft("Size".concat(w)), "</t></si>"));
|
|
3693
3693
|
}) : e.forEach(function(_) {
|
|
3694
3694
|
d += "<si><t>".concat(ft((_.name || " ").replace("X-Axis", "X-Values")), "</t></si>");
|
|
3695
|
-
}), t.opts._type !==
|
|
3695
|
+
}), t.opts._type !== K.BUBBLE && t.opts._type !== K.BUBBLE3D && t.opts._type !== K.SCATTER && e[0].labels.slice().reverse().forEach(function(_) {
|
|
3696
3696
|
_.filter(function(w) {
|
|
3697
3697
|
return w && w !== "";
|
|
3698
3698
|
}).forEach(function(w) {
|
|
@@ -3703,14 +3703,14 @@ function Hn(t, a) {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
{
|
|
3705
3705
|
var u = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
|
|
3706
|
-
if (t.opts._type ===
|
|
3706
|
+
if (t.opts._type === K.BUBBLE || t.opts._type === K.BUBBLE3D) {
|
|
3707
3707
|
u += '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Lt(r)).concat(r, '" totalsRowShown="0">'), u += '<tableColumns count="'.concat(r, '">');
|
|
3708
3708
|
var y = 1;
|
|
3709
3709
|
e.forEach(function(_, w) {
|
|
3710
3710
|
w === 0 ? u += '<tableColumn id="'.concat(w + 1, '" name="X-Values"/>') : (u += '<tableColumn id="'.concat(w + y, '" name="').concat(_.name, '"/>'), y++, u += '<tableColumn id="'.concat(w + y, '" name="Size').concat(w, '"/>'));
|
|
3711
3711
|
});
|
|
3712
3712
|
} else
|
|
3713
|
-
t.opts._type ===
|
|
3713
|
+
t.opts._type === K.SCATTER ? (u += '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Lt(e.length)).concat(e[0].values.length + 1, '" totalsRowShown="0">'), u += '<tableColumns count="'.concat(e.length, '">'), e.forEach(function(_, w) {
|
|
3714
3714
|
u += '<tableColumn id="'.concat(w + 1, '" name="').concat(w === 0 ? "X-Values" : "Y-Value ").concat(w, '"/>');
|
|
3715
3715
|
})) : (u += '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Lt(e.length + e[0].labels.length)).concat(e[0].labels[0].length + 1, `'" totalsRowShown="0">`), u += '<tableColumns count="'.concat(e.length + e[0].labels.length, '">'), e[0].labels.forEach(function(_, w) {
|
|
3716
3716
|
u += '<tableColumn id="'.concat(w + 1, '" name="Column').concat(w + 1, '"/>');
|
|
@@ -3721,7 +3721,7 @@ function Hn(t, a) {
|
|
|
3721
3721
|
}
|
|
3722
3722
|
{
|
|
3723
3723
|
var v = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
|
|
3724
|
-
if (v += '<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">', t.opts._type ===
|
|
3724
|
+
if (v += '<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">', t.opts._type === K.BUBBLE || t.opts._type === K.BUBBLE3D ? v += '<dimension ref="A1:'.concat(Lt(r)).concat(e[0].values.length + 1, '"/>') : t.opts._type === K.SCATTER ? v += '<dimension ref="A1:'.concat(Lt(e.length)).concat(e[0].values.length + 1, '"/>') : v += '<dimension ref="A1:'.concat(Lt(e.length + 1)).concat(e[0].values.length + 1, '"/>'), v += '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="B1" sqref="B1"/></sheetView></sheetViews>', v += '<sheetFormatPr baseColWidth="10" defaultRowHeight="16"/>', t.opts._type === K.BUBBLE || t.opts._type === K.BUBBLE3D) {
|
|
3725
3725
|
v += "<sheetData>", v += '<row r="1" spans="1:'.concat(r, '">'), v += '<c r="A1" t="s"><v>0</v></c>';
|
|
3726
3726
|
for (var b = 1; b < r; b++)
|
|
3727
3727
|
v += '<c r="'.concat(Lt(b + 1), '1" t="s"><v>').concat(b, "</v></c>");
|
|
@@ -3731,7 +3731,7 @@ function Hn(t, a) {
|
|
|
3731
3731
|
v += '<c r="'.concat(Lt(D)).concat(w + 2, '"><v>').concat(e[W].values[w] || "", "</v></c>"), D++, v += '<c r="'.concat(Lt(D)).concat(w + 2, '"><v>').concat(e[W].sizes[w] || "", "</v></c>"), D++;
|
|
3732
3732
|
v += "</row>";
|
|
3733
3733
|
});
|
|
3734
|
-
} else if (t.opts._type ===
|
|
3734
|
+
} else if (t.opts._type === K.SCATTER) {
|
|
3735
3735
|
v += "<sheetData>", v += '<row r="1" spans="1:'.concat(e.length, '">');
|
|
3736
3736
|
for (var b = 0; b < e.length; b++)
|
|
3737
3737
|
v += '<c r="'.concat(Lt(b + 1), '1" t="s"><v>').concat(b, "</v></c>");
|
|
@@ -3751,8 +3751,8 @@ function Hn(t, a) {
|
|
|
3751
3751
|
for (var C = e.length, T = e[0].labels[0].length, N = e[0].labels.length, E = function(_) {
|
|
3752
3752
|
v += '<row r="'.concat(_ + 2, '" spans="1:').concat(C + N, '">');
|
|
3753
3753
|
var w = C, D = e[0].labels.slice().reverse();
|
|
3754
|
-
D.forEach(function(
|
|
3755
|
-
var I =
|
|
3754
|
+
D.forEach(function(j, B) {
|
|
3755
|
+
var I = j[_];
|
|
3756
3756
|
if (I) {
|
|
3757
3757
|
var m = B === 0 ? 1 : D[B - 1].filter(function(F) {
|
|
3758
3758
|
return F && F !== "";
|
|
@@ -3806,10 +3806,10 @@ function Vn(t) {
|
|
|
3806
3806
|
titleBold: t.opts.titleBold,
|
|
3807
3807
|
titlePos: t.opts.titlePos,
|
|
3808
3808
|
titleRotate: t.opts.titleRotate
|
|
3809
|
-
}, t.opts.x, t.opts.y), A += '<c:autoTitleDeleted val="0"/>') : A += '<c:autoTitleDeleted val="1"/>', t.opts._type ===
|
|
3809
|
+
}, t.opts.x, t.opts.y), A += '<c:autoTitleDeleted val="0"/>') : A += '<c:autoTitleDeleted val="1"/>', t.opts._type === K.BAR3D && (A += '<c:view3D><c:rotX val="'.concat(t.opts.v3DRotX, '"/><c:rotY val="').concat(t.opts.v3DRotY, '"/><c:rAngAx val="').concat(t.opts.v3DRAngAx ? 1 : 0, '"/><c:perspective val="').concat(t.opts.v3DPerspective, '"/></c:view3D>')), A += "<c:plotArea>", t.opts.layout ? (A += "<c:layout>", A += " <c:manualLayout>", A += ' <c:layoutTarget val="inner" />', A += ' <c:xMode val="edge" />', A += ' <c:yMode val="edge" />', A += ' <c:x val="' + (t.opts.layout.x || 0) + '" />', A += ' <c:y val="' + (t.opts.layout.y || 0) + '" />', A += ' <c:w val="' + (t.opts.layout.w || 1) + '" />', A += ' <c:h val="' + (t.opts.layout.h || 1) + '" />', A += " </c:manualLayout>", A += "</c:layout>") : A += "<c:layout/>", Array.isArray(t.opts._type) ? t.opts._type.forEach(function(s) {
|
|
3810
3810
|
var l = Pt(Pt({}, t.opts), s.options), r = l.secondaryValAxis ? ca : he, i = l.secondaryCatAxis ? Ua : Ke;
|
|
3811
|
-
c = c || l.secondaryValAxis, A +=
|
|
3812
|
-
}) : A +=
|
|
3811
|
+
c = c || l.secondaryValAxis, A += vr(s.type, s.data, l, r, i);
|
|
3812
|
+
}) : A += vr(t.opts._type, t.data, t.opts, he, Ke), t.opts._type !== K.PIE && t.opts._type !== K.DOUGHNUT) {
|
|
3813
3813
|
if (t.opts.valAxes && t.opts.valAxes.length > 1 && !c)
|
|
3814
3814
|
throw new Error("Secondary axis must be used by one of the multiple charts");
|
|
3815
3815
|
if (t.opts.catAxes) {
|
|
@@ -3818,25 +3818,25 @@ function Vn(t) {
|
|
|
3818
3818
|
A += Da(Pt(Pt({}, t.opts), t.opts.catAxes[0]), Ke, he);
|
|
3819
3819
|
} else
|
|
3820
3820
|
A += Da(t.opts, Ke, he);
|
|
3821
|
-
t.opts.valAxes ? (A += _a(Pt(Pt({}, t.opts), t.opts.valAxes[0]), he), t.opts.valAxes[1] && (A += _a(Pt(Pt({}, t.opts), t.opts.valAxes[1]), ca))) : (A += _a(t.opts, he), t.opts._type ===
|
|
3821
|
+
t.opts.valAxes ? (A += _a(Pt(Pt({}, t.opts), t.opts.valAxes[0]), he), t.opts.valAxes[1] && (A += _a(Pt(Pt({}, t.opts), t.opts.valAxes[1]), ca))) : (A += _a(t.opts, he), t.opts._type === K.BAR3D && (A += qn(t.opts, Kr, he))), !((a = t.opts) === null || a === void 0) && a.catAxes && (!((e = t.opts) === null || e === void 0) && e.catAxes[1]) && (A += Da(Pt(Pt({}, t.opts), t.opts.catAxes[1]), Ua, ca));
|
|
3822
3822
|
}
|
|
3823
|
-
return t.opts.showDataTable && (A += "<c:dTable>", A += ' <c:showHorzBorder val="'.concat(t.opts.showDataTableHorzBorder ? 1 : 0, '"/>'), A += ' <c:showVertBorder val="'.concat(t.opts.showDataTableVertBorder ? 1 : 0, '"/>'), A += ' <c:showOutline val="'.concat(t.opts.showDataTableOutline ? 1 : 0, '"/>'), A += ' <c:showKeys val="'.concat(t.opts.showDataTableKeys ? 1 : 0, '"/>'), A += " <c:spPr>", A += " <a:noFill/>", A += ' <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln>', A += " <a:effectLst/>", A += " </c:spPr>", A += " <c:txPr>", A += ' <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>', A += " <a:lstStyle/>", A += " <a:p>", A += ' <a:pPr rtl="0">', A += ' <a:defRPr sz="'.concat(Math.round((t.opts.dataTableFontSize || jt) * 100), '" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'), A += ' <a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>', A += ' <a:latin typeface="+mn-lt"/>', A += ' <a:ea typeface="+mn-ea"/>', A += ' <a:cs typeface="+mn-cs"/>', A += " </a:defRPr>", A += " </a:pPr>", A += ' <a:endParaRPr lang="en-US"/>', A += " </a:p>", A += " </c:txPr>", A += "</c:dTable>"), A += " <c:spPr>", A += !((o = t.opts.plotArea.fill) === null || o === void 0) && o.color ? Kt(t.opts.plotArea.fill) : "<a:noFill/>", A += t.opts.plotArea.border ? '<a:ln w="'.concat(lt(t.opts.plotArea.border.pt), '" cap="flat">').concat(Kt(t.opts.plotArea.border.color), "</a:ln>") : "<a:ln><a:noFill/></a:ln>", A += " <a:effectLst/>", A += " </c:spPr>", A += "</c:plotArea>", t.opts.showLegend && (A += "<c:legend>", A += '<c:legendPos val="' + t.opts.legendPos + '"/>', A += '<c:overlay val="0"/>', (t.opts.legendFontFace || t.opts.legendFontSize || t.opts.legendColor) && (A += "<c:txPr>", A += " <a:bodyPr/>", A += " <a:lstStyle/>", A += " <a:p>", A += " <a:pPr>", A += t.opts.legendFontSize ? '<a:defRPr sz="'.concat(Math.round(Number(t.opts.legendFontSize) * 100), '">') : "<a:defRPr>", t.opts.legendColor && (A += Kt(t.opts.legendColor)), t.opts.legendFontFace && (A += '<a:latin typeface="' + t.opts.legendFontFace + '"/>'), t.opts.legendFontFace && (A += '<a:cs typeface="' + t.opts.legendFontFace + '"/>'), A += " </a:defRPr>", A += " </a:pPr>", A += ' <a:endParaRPr lang="en-US"/>', A += " </a:p>", A += "</c:txPr>"), A += "</c:legend>"), A += ' <c:plotVisOnly val="1"/>', A += ' <c:dispBlanksAs val="' + t.opts.displayBlanksAs + '"/>', t.opts._type ===
|
|
3823
|
+
return t.opts.showDataTable && (A += "<c:dTable>", A += ' <c:showHorzBorder val="'.concat(t.opts.showDataTableHorzBorder ? 1 : 0, '"/>'), A += ' <c:showVertBorder val="'.concat(t.opts.showDataTableVertBorder ? 1 : 0, '"/>'), A += ' <c:showOutline val="'.concat(t.opts.showDataTableOutline ? 1 : 0, '"/>'), A += ' <c:showKeys val="'.concat(t.opts.showDataTableKeys ? 1 : 0, '"/>'), A += " <c:spPr>", A += " <a:noFill/>", A += ' <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln>', A += " <a:effectLst/>", A += " </c:spPr>", A += " <c:txPr>", A += ' <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>', A += " <a:lstStyle/>", A += " <a:p>", A += ' <a:pPr rtl="0">', A += ' <a:defRPr sz="'.concat(Math.round((t.opts.dataTableFontSize || jt) * 100), '" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'), A += ' <a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>', A += ' <a:latin typeface="+mn-lt"/>', A += ' <a:ea typeface="+mn-ea"/>', A += ' <a:cs typeface="+mn-cs"/>', A += " </a:defRPr>", A += " </a:pPr>", A += ' <a:endParaRPr lang="en-US"/>', A += " </a:p>", A += " </c:txPr>", A += "</c:dTable>"), A += " <c:spPr>", A += !((o = t.opts.plotArea.fill) === null || o === void 0) && o.color ? Kt(t.opts.plotArea.fill) : "<a:noFill/>", A += t.opts.plotArea.border ? '<a:ln w="'.concat(lt(t.opts.plotArea.border.pt), '" cap="flat">').concat(Kt(t.opts.plotArea.border.color), "</a:ln>") : "<a:ln><a:noFill/></a:ln>", A += " <a:effectLst/>", A += " </c:spPr>", A += "</c:plotArea>", t.opts.showLegend && (A += "<c:legend>", A += '<c:legendPos val="' + t.opts.legendPos + '"/>', A += '<c:overlay val="0"/>', (t.opts.legendFontFace || t.opts.legendFontSize || t.opts.legendColor) && (A += "<c:txPr>", A += " <a:bodyPr/>", A += " <a:lstStyle/>", A += " <a:p>", A += " <a:pPr>", A += t.opts.legendFontSize ? '<a:defRPr sz="'.concat(Math.round(Number(t.opts.legendFontSize) * 100), '">') : "<a:defRPr>", t.opts.legendColor && (A += Kt(t.opts.legendColor)), t.opts.legendFontFace && (A += '<a:latin typeface="' + t.opts.legendFontFace + '"/>'), t.opts.legendFontFace && (A += '<a:cs typeface="' + t.opts.legendFontFace + '"/>'), A += " </a:defRPr>", A += " </a:pPr>", A += ' <a:endParaRPr lang="en-US"/>', A += " </a:p>", A += "</c:txPr>"), A += "</c:legend>"), A += ' <c:plotVisOnly val="1"/>', A += ' <c:dispBlanksAs val="' + t.opts.displayBlanksAs + '"/>', t.opts._type === K.SCATTER && (A += '<c:showDLblsOverMax val="1"/>'), A += "</c:chart>", A += "<c:spPr>", A += !((n = t.opts.chartArea.fill) === null || n === void 0) && n.color ? Kt(t.opts.chartArea.fill) : "<a:noFill/>", A += t.opts.chartArea.border ? '<a:ln w="'.concat(lt(t.opts.chartArea.border.pt), '" cap="flat">').concat(Kt(t.opts.chartArea.border.color), "</a:ln>") : "<a:ln><a:noFill/></a:ln>", A += " <a:effectLst/>", A += "</c:spPr>", A += '<c:externalData r:id="rId1"><c:autoUpdate val="0"/></c:externalData>', A += "</c:chartSpace>", A;
|
|
3824
3824
|
}
|
|
3825
|
-
function
|
|
3825
|
+
function vr(t, a, e, o, n, A) {
|
|
3826
3826
|
var c = -1, s = 1, l = null, r = "";
|
|
3827
3827
|
switch (t) {
|
|
3828
|
-
case
|
|
3829
|
-
case
|
|
3830
|
-
case
|
|
3831
|
-
case
|
|
3832
|
-
case
|
|
3833
|
-
r += "<c:".concat(t, "Chart>"), t ===
|
|
3828
|
+
case K.AREA:
|
|
3829
|
+
case K.BAR:
|
|
3830
|
+
case K.BAR3D:
|
|
3831
|
+
case K.LINE:
|
|
3832
|
+
case K.RADAR:
|
|
3833
|
+
r += "<c:".concat(t, "Chart>"), t === K.AREA && e.barGrouping === "stacked" && (r += '<c:grouping val="' + e.barGrouping + '"/>'), (t === K.BAR || t === K.BAR3D) && (r += '<c:barDir val="' + e.barDir + '"/>', r += '<c:grouping val="' + (e.barGrouping || "clustered") + '"/>'), t === K.RADAR && (r += '<c:radarStyle val="' + e.radarStyle + '"/>'), r += '<c:varyColors val="0"/>', a.forEach(function(i) {
|
|
3834
3834
|
var d;
|
|
3835
3835
|
c++, r += "<c:ser>", r += ' <c:idx val="'.concat(i._dataIndex, '"/><c:order val="').concat(i._dataIndex, '"/>'), r += " <c:tx>", r += " <c:strRef>", r += " <c:f>Sheet1!$" + Lt(i._dataIndex + i.labels.length + 1) + "$1</c:f>", r += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ft(i.name) + "</c:v></c:pt></c:strCache>", r += " </c:strRef>", r += " </c:tx>";
|
|
3836
3836
|
var g = e.chartColors ? e.chartColors[c % e.chartColors.length] : null;
|
|
3837
|
-
r += " <c:spPr>", g === "transparent" ? r += "<a:noFill/>" : e.chartColorsOpacity ? r += "<a:solidFill>" + wt(g, '<a:alpha val="'.concat(Math.round(e.chartColorsOpacity * 1e3), '"/>')) + "</a:solidFill>" : r += "<a:solidFill>" + wt(g) + "</a:solidFill>", t ===
|
|
3837
|
+
r += " <c:spPr>", g === "transparent" ? r += "<a:noFill/>" : e.chartColorsOpacity ? r += "<a:solidFill>" + wt(g, '<a:alpha val="'.concat(Math.round(e.chartColorsOpacity * 1e3), '"/>')) + "</a:solidFill>" : r += "<a:solidFill>" + wt(g) + "</a:solidFill>", t === K.LINE || t === K.RADAR ? e.lineSize === 0 ? r += "<a:ln><a:noFill/></a:ln>" : (r += '<a:ln w="'.concat(lt(e.lineSize), '" cap="').concat(ua(e.lineCap), '"><a:solidFill>').concat(wt(g), "</a:solidFill>"), r += '<a:prstDash val="' + (e.lineDash || "solid") + '"/><a:round/></a:ln>') : e.dataBorder && (r += '<a:ln w="'.concat(lt(e.dataBorder.pt), '" cap="').concat(ua(e.lineCap), '"><a:solidFill>').concat(wt(e.dataBorder.color), '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')), r += Ne(e.shadow, Te), r += " </c:spPr>", r += ' <c:invertIfNegative val="0"/>', t !== K.RADAR && (r += "<c:dLbls>", r += '<c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), e.dataLabelBkgrdColors && (r += "<c:spPr><a:solidFill>".concat(wt(g), "</a:solidFill></c:spPr>")), r += "<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>", r += '<a:defRPr b="'.concat(e.dataLabelFontBold ? 1 : 0, '" i="').concat(e.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="').concat(Math.round((e.dataLabelFontSize || jt) * 100), '" u="none">'), r += "<a:solidFill>".concat(wt(e.dataLabelColor || Vt), "</a:solidFill>"), r += '<a:latin typeface="'.concat(e.dataLabelFontFace || "Arial", '"/>'), r += "</a:defRPr></a:pPr></a:p></c:txPr>", e.dataLabelPosition && (r += '<c:dLblPos val="'.concat(e.dataLabelPosition, '"/>')), r += '<c:showLegendKey val="0"/>', r += '<c:showVal val="'.concat(e.showValue ? "1" : "0", '"/>'), r += '<c:showCatName val="0"/><c:showSerName val="'.concat(e.showSerName ? "1" : "0", '"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'), r += '<c:showLeaderLines val="'.concat(e.showLeaderLines ? "1" : "0", '"/>'), r += "</c:dLbls>"), (t === K.LINE || t === K.RADAR) && (r += "<c:marker>", r += ' <c:symbol val="' + e.lineDataSymbol + '"/>', e.lineDataSymbolSize && (r += '<c:size val="'.concat(e.lineDataSymbolSize, '"/>')), r += " <c:spPr>", r += " <a:solidFill>".concat(wt(e.chartColors[i._dataIndex + 1 > e.chartColors.length ? Math.floor(Math.random() * e.chartColors.length) : i._dataIndex]), "</a:solidFill>"), r += ' <a:ln w="'.concat(e.lineDataSymbolLineSize, '" cap="flat"><a:solidFill>').concat(wt(e.lineDataSymbolLineColor || g), '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'), r += " <a:effectLst/>", r += " </c:spPr>", r += "</c:marker>"), (t === K.BAR || t === K.BAR3D) && a.length === 1 && (e.chartColors && e.chartColors !== je && e.chartColors.length > 1 || !((d = e.invertedColors) === null || d === void 0) && d.length) && i.values.forEach(function(f, h) {
|
|
3838
3838
|
var u = f < 0 ? e.invertedColors || e.chartColors || je : e.chartColors || [];
|
|
3839
|
-
r += " <c:dPt>", r += ' <c:idx val="'.concat(h, '"/>'), r += ' <c:invertIfNegative val="0"/>', r += ' <c:bubble3D val="0"/>', r += " <c:spPr>", e.lineSize === 0 ? r += "<a:ln><a:noFill/></a:ln>" : t ===
|
|
3839
|
+
r += " <c:dPt>", r += ' <c:idx val="'.concat(h, '"/>'), r += ' <c:invertIfNegative val="0"/>', r += ' <c:bubble3D val="0"/>', r += " <c:spPr>", e.lineSize === 0 ? r += "<a:ln><a:noFill/></a:ln>" : t === K.BAR ? (r += "<a:solidFill>", r += ' <a:srgbClr val="' + u[h % u.length] + '"/>', r += "</a:solidFill>") : (r += "<a:ln>", r += " <a:solidFill>", r += ' <a:srgbClr val="' + u[h % u.length] + '"/>', r += " </a:solidFill>", r += "</a:ln>"), r += Ne(e.shadow, Te), r += " </c:spPr>", r += " </c:dPt>";
|
|
3840
3840
|
}), r += "<c:cat>", e.catLabelFormatCode ? (r += " <c:numRef>", r += " <c:f>Sheet1!$A$2:$A$".concat(i.labels[0].length + 1, "</c:f>"), r += " <c:numCache>", r += " <c:formatCode>" + (e.catLabelFormatCode || "General") + "</c:formatCode>", r += ' <c:ptCount val="'.concat(i.labels[0].length, '"/>'), i.labels[0].forEach(function(f, h) {
|
|
3841
3841
|
return r += '<c:pt idx="'.concat(h, '"><c:v>').concat(ft(f), "</c:v></c:pt>");
|
|
3842
3842
|
}), r += " </c:numCache>", r += " </c:numRef>") : (r += " <c:multiLvlStrRef>", r += " <c:f>Sheet1!$A$2:$".concat(Lt(i.labels.length), "$").concat(i.labels[0].length + 1, "</c:f>"), r += " <c:multiLvlStrCache>", r += ' <c:ptCount val="'.concat(i.labels[0].length, '"/>'), i.labels.forEach(function(f) {
|
|
@@ -3845,10 +3845,10 @@ function gr(t, a, e, o, n, A) {
|
|
|
3845
3845
|
}), r += "</c:lvl>";
|
|
3846
3846
|
}), r += " </c:multiLvlStrCache>", r += " </c:multiLvlStrRef>"), r += "</c:cat>", r += "<c:val>", r += " <c:numRef>", r += "<c:f>Sheet1!$".concat(Lt(i._dataIndex + i.labels.length + 1), "$2:$").concat(Lt(i._dataIndex + i.labels.length + 1), "$").concat(i.labels[0].length + 1, "</c:f>"), r += " <c:numCache>", r += " <c:formatCode>" + (e.valLabelFormatCode || e.dataTableFormatCode || "General") + "</c:formatCode>", r += ' <c:ptCount val="'.concat(i.labels[0].length, '"/>'), i.values.forEach(function(f, h) {
|
|
3847
3847
|
return r += '<c:pt idx="'.concat(h, '"><c:v>').concat(f || f === 0 ? f : "", "</c:v></c:pt>");
|
|
3848
|
-
}), r += " </c:numCache>", r += " </c:numRef>", r += "</c:val>", t ===
|
|
3849
|
-
}), r += " <c:dLbls>", r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:txPr>", r += " <a:bodyPr/>", r += " <a:lstStyle/>", r += " <a:p><a:pPr>", r += ' <a:defRPr b="'.concat(e.dataLabelFontBold ? 1 : 0, '" i="').concat(e.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="').concat(Math.round((e.dataLabelFontSize || jt) * 100), '" u="none">'), r += " <a:solidFill>" + wt(e.dataLabelColor || Vt) + "</a:solidFill>", r += ' <a:latin typeface="' + (e.dataLabelFontFace || "Arial") + '"/>', r += " </a:defRPr>", r += " </a:pPr></a:p>", r += " </c:txPr>", e.dataLabelPosition && (r += ' <c:dLblPos val="' + e.dataLabelPosition + '"/>'), r += ' <c:showLegendKey val="0"/>', r += ' <c:showVal val="' + (e.showValue ? "1" : "0") + '"/>', r += ' <c:showCatName val="0"/>', r += ' <c:showSerName val="' + (e.showSerName ? "1" : "0") + '"/>', r += ' <c:showPercent val="0"/>', r += ' <c:showBubbleSize val="0"/>', r += ' <c:showLeaderLines val="'.concat(e.showLeaderLines ? "1" : "0", '"/>'), r += " </c:dLbls>", t ===
|
|
3848
|
+
}), r += " </c:numCache>", r += " </c:numRef>", r += "</c:val>", t === K.LINE && (r += '<c:smooth val="' + (e.lineSmooth ? "1" : "0") + '"/>'), r += "</c:ser>";
|
|
3849
|
+
}), r += " <c:dLbls>", r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:txPr>", r += " <a:bodyPr/>", r += " <a:lstStyle/>", r += " <a:p><a:pPr>", r += ' <a:defRPr b="'.concat(e.dataLabelFontBold ? 1 : 0, '" i="').concat(e.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="').concat(Math.round((e.dataLabelFontSize || jt) * 100), '" u="none">'), r += " <a:solidFill>" + wt(e.dataLabelColor || Vt) + "</a:solidFill>", r += ' <a:latin typeface="' + (e.dataLabelFontFace || "Arial") + '"/>', r += " </a:defRPr>", r += " </a:pPr></a:p>", r += " </c:txPr>", e.dataLabelPosition && (r += ' <c:dLblPos val="' + e.dataLabelPosition + '"/>'), r += ' <c:showLegendKey val="0"/>', r += ' <c:showVal val="' + (e.showValue ? "1" : "0") + '"/>', r += ' <c:showCatName val="0"/>', r += ' <c:showSerName val="' + (e.showSerName ? "1" : "0") + '"/>', r += ' <c:showPercent val="0"/>', r += ' <c:showBubbleSize val="0"/>', r += ' <c:showLeaderLines val="'.concat(e.showLeaderLines ? "1" : "0", '"/>'), r += " </c:dLbls>", t === K.BAR ? (r += ' <c:gapWidth val="'.concat(e.barGapWidthPct, '"/>'), r += ' <c:overlap val="'.concat((e.barGrouping || "").includes("tacked") ? 100 : e.barOverlapPct ? e.barOverlapPct : 0, '"/>')) : t === K.BAR3D ? (r += ' <c:gapWidth val="'.concat(e.barGapWidthPct, '"/>'), r += ' <c:gapDepth val="'.concat(e.barGapDepthPct, '"/>'), r += ' <c:shape val="' + e.bar3DShape + '"/>') : t === K.LINE && (r += ' <c:marker val="1"/>'), r += '<c:axId val="'.concat(n, '"/><c:axId val="').concat(o, '"/><c:axId val="').concat(Kr, '"/>'), r += "</c:".concat(t, "Chart>");
|
|
3850
3850
|
break;
|
|
3851
|
-
case
|
|
3851
|
+
case K.SCATTER:
|
|
3852
3852
|
r += "<c:" + t + "Chart>", r += '<c:scatterStyle val="lineMarker"/>', r += '<c:varyColors val="0"/>', c = -1, a.filter(function(i, d) {
|
|
3853
3853
|
return d > 0;
|
|
3854
3854
|
}).forEach(function(i, d) {
|
|
@@ -3873,8 +3873,8 @@ function gr(t, a, e, o, n, A) {
|
|
|
3873
3873
|
}), r += " </c:numCache>", r += " </c:numRef>", r += "</c:yVal>", r += '<c:smooth val="' + (e.lineSmooth ? "1" : "0") + '"/>', r += "</c:ser>";
|
|
3874
3874
|
}), r += " <c:dLbls>", r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:txPr>", r += " <a:bodyPr/>", r += " <a:lstStyle/>", r += " <a:p><a:pPr>", r += ' <a:defRPr b="'.concat(e.dataLabelFontBold ? "1" : "0", '" i="').concat(e.dataLabelFontItalic ? "1" : "0", '" strike="noStrike" sz="').concat(Math.round((e.dataLabelFontSize || jt) * 100), '" u="none">'), r += " <a:solidFill>" + wt(e.dataLabelColor || Vt) + "</a:solidFill>", r += ' <a:latin typeface="' + (e.dataLabelFontFace || "Arial") + '"/>', r += " </a:defRPr>", r += " </a:pPr></a:p>", r += " </c:txPr>", e.dataLabelPosition && (r += ' <c:dLblPos val="' + e.dataLabelPosition + '"/>'), r += ' <c:showLegendKey val="0"/>', r += ' <c:showVal val="' + (e.showValue ? "1" : "0") + '"/>', r += ' <c:showCatName val="0"/>', r += ' <c:showSerName val="' + (e.showSerName ? "1" : "0") + '"/>', r += ' <c:showPercent val="0"/>', r += ' <c:showBubbleSize val="0"/>', r += " </c:dLbls>", r += '<c:axId val="'.concat(n, '"/><c:axId val="').concat(o, '"/>'), r += "</c:" + t + "Chart>";
|
|
3875
3875
|
break;
|
|
3876
|
-
case
|
|
3877
|
-
case
|
|
3876
|
+
case K.BUBBLE:
|
|
3877
|
+
case K.BUBBLE3D:
|
|
3878
3878
|
r += "<c:bubbleChart>", r += '<c:varyColors val="0"/>', c = -1, a.filter(function(i, d) {
|
|
3879
3879
|
return d > 0;
|
|
3880
3880
|
}).forEach(function(i, d) {
|
|
@@ -3890,20 +3890,20 @@ function gr(t, a, e, o, n, A) {
|
|
|
3890
3890
|
r += '<c:pt idx="'.concat(h, '"><c:v>').concat(i.values[h] || i.values[h] === 0 ? i.values[h] : "", "</c:v></c:pt>");
|
|
3891
3891
|
}), r += " </c:numCache>", r += " </c:numRef>", r += "</c:yVal>", r += " <c:bubbleSize>", r += " <c:numRef>", r += "<c:f>Sheet1!$".concat(Lt(s + 1), "$2:$").concat(Lt(s + 1), "$").concat(i.sizes.length + 1, "</c:f>"), s++, r += " <c:numCache>", r += " <c:formatCode>General</c:formatCode>", r += ' <c:ptCount val="'.concat(i.sizes.length, '"/>'), i.sizes.forEach(function(f, h) {
|
|
3892
3892
|
r += '<c:pt idx="'.concat(h, '"><c:v>').concat(f || "", "</c:v></c:pt>");
|
|
3893
|
-
}), r += " </c:numCache>", r += " </c:numRef>", r += " </c:bubbleSize>", r += ' <c:bubble3D val="' + (t ===
|
|
3893
|
+
}), r += " </c:numCache>", r += " </c:numRef>", r += " </c:bubbleSize>", r += ' <c:bubble3D val="' + (t === K.BUBBLE3D ? "1" : "0") + '"/>', r += "</c:ser>";
|
|
3894
3894
|
}), r += "<c:dLbls>", r += '<c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += "<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>", r += '<a:defRPr b="'.concat(e.dataLabelFontBold ? 1 : 0, '" i="').concat(e.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="').concat(Math.round(Math.round(e.dataLabelFontSize || jt) * 100), '" u="none">'), r += "<a:solidFill>".concat(wt(e.dataLabelColor || Vt), "</a:solidFill>"), r += '<a:latin typeface="'.concat(e.dataLabelFontFace || "Arial", '"/>'), r += "</a:defRPr></a:pPr></a:p></c:txPr>", e.dataLabelPosition && (r += '<c:dLblPos val="'.concat(e.dataLabelPosition, '"/>')), r += '<c:showLegendKey val="0"/>', r += '<c:showVal val="'.concat(e.showValue ? "1" : "0", '"/>'), r += '<c:showCatName val="0"/><c:showSerName val="'.concat(e.showSerName ? "1" : "0", '"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'), r += "<c:extLst>", r += ' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">', r += ' <c15:showLeaderLines val="' + (e.showLeaderLines ? "1" : "0") + '"/>', r += " </c:ext>", r += "</c:extLst>", r += "</c:dLbls>", r += '<c:axId val="'.concat(n, '"/><c:axId val="').concat(o, '"/>'), r += "</c:bubbleChart>";
|
|
3895
3895
|
break;
|
|
3896
|
-
case
|
|
3897
|
-
case
|
|
3896
|
+
case K.DOUGHNUT:
|
|
3897
|
+
case K.PIE:
|
|
3898
3898
|
l = a[0], r += "<c:" + t + "Chart>", r += ' <c:varyColors val="1"/>', r += "<c:ser>", r += ' <c:idx val="0"/>', r += ' <c:order val="0"/>', r += " <c:tx>", r += " <c:strRef>", r += " <c:f>Sheet1!$B$1</c:f>", r += " <c:strCache>", r += ' <c:ptCount val="1"/>', r += ' <c:pt idx="0"><c:v>' + ft(l.name) + "</c:v></c:pt>", r += " </c:strCache>", r += " </c:strRef>", r += " </c:tx>", r += " <c:spPr>", r += ' <a:solidFill><a:schemeClr val="accent1"/></a:solidFill>', r += ' <a:ln w="9525" cap="flat"><a:solidFill><a:srgbClr val="F9F9F9"/></a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>', e.dataNoEffects ? r += "<a:effectLst/>" : r += Ne(e.shadow, Te), r += " </c:spPr>", l.labels[0].forEach(function(i, d) {
|
|
3899
3899
|
r += "<c:dPt>", r += ' <c:idx val="'.concat(d, '"/>'), r += ' <c:bubble3D val="0"/>', r += " <c:spPr>", r += "<a:solidFill>".concat(wt(e.chartColors[d + 1 > e.chartColors.length ? Math.floor(Math.random() * e.chartColors.length) : d]), "</a:solidFill>"), e.dataBorder && (r += '<a:ln w="'.concat(lt(e.dataBorder.pt), '" cap="flat"><a:solidFill>').concat(wt(e.dataBorder.color), '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')), r += Ne(e.shadow, Te), r += " </c:spPr>", r += "</c:dPt>";
|
|
3900
3900
|
}), r += "<c:dLbls>", l.labels[0].forEach(function(i, d) {
|
|
3901
|
-
r += "<c:dLbl>", r += ' <c:idx val="'.concat(d, '"/>'), r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:spPr/><c:txPr>", r += " <a:bodyPr/><a:lstStyle/>", r += " <a:p><a:pPr>", r += ' <a:defRPr sz="'.concat(Math.round((e.dataLabelFontSize || jt) * 100), '" b="').concat(e.dataLabelFontBold ? 1 : 0, '" i="').concat(e.dataLabelFontItalic ? 1 : 0, '" u="none" strike="noStrike">'), r += " <a:solidFill>" + wt(e.dataLabelColor || Vt) + "</a:solidFill>", r += ' <a:latin typeface="'.concat(e.dataLabelFontFace || "Arial", '"/>'), r += " </a:defRPr>", r += " </a:pPr></a:p>", r += " </c:txPr>", t ===
|
|
3902
|
-
}), r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:txPr>", r += " <a:bodyPr/>", r += " <a:lstStyle/>", r += " <a:p>", r += " <a:pPr>", r += ' <a:defRPr sz="1800" b="'.concat(e.dataLabelFontBold ? "1" : "0", '" i="').concat(e.dataLabelFontItalic ? "1" : "0", '" u="none" strike="noStrike">'), r += ' <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>', r += " </a:defRPr>", r += " </a:pPr>", r += " </a:p>", r += " </c:txPr>", r += t ===
|
|
3901
|
+
r += "<c:dLbl>", r += ' <c:idx val="'.concat(d, '"/>'), r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:spPr/><c:txPr>", r += " <a:bodyPr/><a:lstStyle/>", r += " <a:p><a:pPr>", r += ' <a:defRPr sz="'.concat(Math.round((e.dataLabelFontSize || jt) * 100), '" b="').concat(e.dataLabelFontBold ? 1 : 0, '" i="').concat(e.dataLabelFontItalic ? 1 : 0, '" u="none" strike="noStrike">'), r += " <a:solidFill>" + wt(e.dataLabelColor || Vt) + "</a:solidFill>", r += ' <a:latin typeface="'.concat(e.dataLabelFontFace || "Arial", '"/>'), r += " </a:defRPr>", r += " </a:pPr></a:p>", r += " </c:txPr>", t === K.PIE && e.dataLabelPosition && (r += '<c:dLblPos val="'.concat(e.dataLabelPosition, '"/>')), r += ' <c:showLegendKey val="0"/>', r += ' <c:showVal val="' + (e.showValue ? "1" : "0") + '"/>', r += ' <c:showCatName val="' + (e.showLabel ? "1" : "0") + '"/>', r += ' <c:showSerName val="' + (e.showSerName ? "1" : "0") + '"/>', r += ' <c:showPercent val="' + (e.showPercent ? "1" : "0") + '"/>', r += ' <c:showBubbleSize val="0"/>', r += " </c:dLbl>";
|
|
3902
|
+
}), r += ' <c:numFmt formatCode="'.concat(ft(e.dataLabelFormatCode) || "General", '" sourceLinked="0"/>'), r += " <c:txPr>", r += " <a:bodyPr/>", r += " <a:lstStyle/>", r += " <a:p>", r += " <a:pPr>", r += ' <a:defRPr sz="1800" b="'.concat(e.dataLabelFontBold ? "1" : "0", '" i="').concat(e.dataLabelFontItalic ? "1" : "0", '" u="none" strike="noStrike">'), r += ' <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>', r += " </a:defRPr>", r += " </a:pPr>", r += " </a:p>", r += " </c:txPr>", r += t === K.PIE ? '<c:dLblPos val="ctr"/>' : "", r += ' <c:showLegendKey val="0"/>', r += ' <c:showVal val="0"/>', r += ' <c:showCatName val="1"/>', r += ' <c:showSerName val="0"/>', r += ' <c:showPercent val="1"/>', r += ' <c:showBubbleSize val="0"/>', r += ' <c:showLeaderLines val="'.concat(e.showLeaderLines ? "1" : "0", '"/>'), r += "</c:dLbls>", r += "<c:cat>", r += " <c:strRef>", r += " <c:f>Sheet1!$A$2:$A$".concat(l.labels[0].length + 1, "</c:f>"), r += " <c:strCache>", r += ' <c:ptCount val="'.concat(l.labels[0].length, '"/>'), l.labels[0].forEach(function(i, d) {
|
|
3903
3903
|
r += '<c:pt idx="'.concat(d, '"><c:v>').concat(ft(i), "</c:v></c:pt>");
|
|
3904
3904
|
}), r += " </c:strCache>", r += " </c:strRef>", r += "</c:cat>", r += " <c:val>", r += " <c:numRef>", r += " <c:f>Sheet1!$B$2:$B$".concat(l.labels[0].length + 1, "</c:f>"), r += " <c:numCache>", r += ' <c:ptCount val="'.concat(l.labels[0].length, '"/>'), l.values.forEach(function(i, d) {
|
|
3905
3905
|
r += '<c:pt idx="'.concat(d, '"><c:v>').concat(i || i === 0 ? i : "", "</c:v></c:pt>");
|
|
3906
|
-
}), r += " </c:numCache>", r += " </c:numRef>", r += " </c:val>", r += " </c:ser>", r += ' <c:firstSliceAng val="'.concat(e.firstSliceAng ? Math.round(e.firstSliceAng) : 0, '"/>'), t ===
|
|
3906
|
+
}), r += " </c:numCache>", r += " </c:numRef>", r += " </c:val>", r += " </c:ser>", r += ' <c:firstSliceAng val="'.concat(e.firstSliceAng ? Math.round(e.firstSliceAng) : 0, '"/>'), t === K.DOUGHNUT && (r += '<c:holeSize val="'.concat(typeof e.holeSize == "number" ? e.holeSize : "50", '"/>')), r += "</c:" + t + "Chart>";
|
|
3907
3907
|
break;
|
|
3908
3908
|
default:
|
|
3909
3909
|
r += "";
|
|
@@ -3913,27 +3913,27 @@ function gr(t, a, e, o, n, A) {
|
|
|
3913
3913
|
}
|
|
3914
3914
|
function Da(t, a, e) {
|
|
3915
3915
|
var o = "";
|
|
3916
|
-
return t._type ===
|
|
3916
|
+
return t._type === K.SCATTER || t._type === K.BUBBLE || t._type === K.BUBBLE3D ? o += "<c:valAx>" : o += "<c:" + (t.catLabelFormatCode ? "dateAx" : "catAx") + ">", o += ' <c:axId val="' + a + '"/>', o += " <c:scaling>", o += '<c:orientation val="' + (t.catAxisOrientation || (t.barDir === "col", "minMax")) + '"/>', (t.catAxisMaxVal || t.catAxisMaxVal === 0) && (o += '<c:max val="'.concat(t.catAxisMaxVal, '"/>')), (t.catAxisMinVal || t.catAxisMinVal === 0) && (o += '<c:min val="'.concat(t.catAxisMinVal, '"/>')), o += "</c:scaling>", o += ' <c:delete val="' + (t.catAxisHidden ? "1" : "0") + '"/>', o += ' <c:axPos val="' + (t.barDir === "col" ? "b" : "l") + '"/>', o += t.catGridLine.style !== "none" ? ar(t.catGridLine) : "", t.showCatAxisTitle && (o += ga({
|
|
3917
3917
|
color: t.catAxisTitleColor,
|
|
3918
3918
|
fontFace: t.catAxisTitleFontFace,
|
|
3919
3919
|
fontSize: t.catAxisTitleFontSize,
|
|
3920
3920
|
titleRotate: t.catAxisTitleRotate,
|
|
3921
3921
|
title: t.catAxisTitle || "Axis Title"
|
|
3922
|
-
})), t._type ===
|
|
3922
|
+
})), t._type === K.SCATTER || t._type === K.BUBBLE || t._type === K.BUBBLE3D ? o += ' <c:numFmt formatCode="' + (t.valAxisLabelFormatCode ? ft(t.valAxisLabelFormatCode) : "General") + '" sourceLinked="1"/>' : o += ' <c:numFmt formatCode="' + (ft(t.catLabelFormatCode) || "General") + '" sourceLinked="1"/>', t._type === K.SCATTER ? (o += ' <c:majorTickMark val="none"/>', o += ' <c:minorTickMark val="none"/>', o += ' <c:tickLblPos val="nextTo"/>') : (o += ' <c:majorTickMark val="' + (t.catAxisMajorTickMark || "out") + '"/>', o += ' <c:minorTickMark val="' + (t.catAxisMinorTickMark || "none") + '"/>', o += ' <c:tickLblPos val="' + (t.catAxisLabelPos || (t.barDir === "col" ? "low" : "nextTo")) + '"/>'), o += " <c:spPr>", o += ' <a:ln w="'.concat(t.catAxisLineSize ? lt(t.catAxisLineSize) : ra, '" cap="flat">'), o += t.catAxisLineShow ? "<a:solidFill>" + wt(t.catAxisLineColor || Be.color) + "</a:solidFill>" : "<a:noFill/>", o += ' <a:prstDash val="' + (t.catAxisLineStyle || "solid") + '"/>', o += " <a:round/>", o += " </a:ln>", o += " </c:spPr>", o += " <c:txPr>", t.catAxisLabelRotate ? o += '<a:bodyPr rot="'.concat(De(t.catAxisLabelRotate), '"/>') : o += "<a:bodyPr/>", o += " <a:lstStyle/>", o += " <a:p>", o += " <a:pPr>", o += ' <a:defRPr sz="'.concat(Math.round((t.catAxisLabelFontSize || jt) * 100), '" b="').concat(t.catAxisLabelFontBold ? 1 : 0, '" i="').concat(t.catAxisLabelFontItalic ? 1 : 0, '" u="none" strike="noStrike">'), o += " <a:solidFill>" + wt(t.catAxisLabelColor || Vt) + "</a:solidFill>", o += ' <a:latin typeface="' + (t.catAxisLabelFontFace || "Arial") + '"/>', o += " </a:defRPr>", o += " </a:pPr>", o += ' <a:endParaRPr lang="' + (t.lang || "en-US") + '"/>', o += " </a:p>", o += " </c:txPr>", o += ' <c:crossAx val="' + e + '"/>', o += " <c:".concat(typeof t.valAxisCrossesAt == "number" ? "crossesAt" : "crosses", ' val="').concat(t.valAxisCrossesAt || "autoZero", '"/>'), o += ' <c:auto val="1"/>', o += ' <c:lblAlgn val="ctr"/>', o += ' <c:noMultiLvlLbl val="'.concat(t.catAxisMultiLevelLabels ? 0 : 1, '"/>'), t.catAxisLabelFrequency && (o += ' <c:tickLblSkip val="' + t.catAxisLabelFrequency + '"/>'), (t.catLabelFormatCode || t._type === K.SCATTER || t._type === K.BUBBLE || t._type === K.BUBBLE3D) && (t.catLabelFormatCode && (["catAxisBaseTimeUnit", "catAxisMajorTimeUnit", "catAxisMinorTimeUnit"].forEach(function(n) {
|
|
3923
3923
|
t[n] && (typeof t[n] != "string" || !["days", "months", "years"].includes(t[n].toLowerCase())) && (console.warn('"'.concat(n, `" must be one of: 'days','months','years' !`)), t[n] = null);
|
|
3924
|
-
}), t.catAxisBaseTimeUnit && (o += '<c:baseTimeUnit val="' + t.catAxisBaseTimeUnit.toLowerCase() + '"/>'), t.catAxisMajorTimeUnit && (o += '<c:majorTimeUnit val="' + t.catAxisMajorTimeUnit.toLowerCase() + '"/>'), t.catAxisMinorTimeUnit && (o += '<c:minorTimeUnit val="' + t.catAxisMinorTimeUnit.toLowerCase() + '"/>')), t.catAxisMajorUnit && (o += '<c:majorUnit val="'.concat(t.catAxisMajorUnit, '"/>')), t.catAxisMinorUnit && (o += '<c:minorUnit val="'.concat(t.catAxisMinorUnit, '"/>'))), t._type ===
|
|
3924
|
+
}), t.catAxisBaseTimeUnit && (o += '<c:baseTimeUnit val="' + t.catAxisBaseTimeUnit.toLowerCase() + '"/>'), t.catAxisMajorTimeUnit && (o += '<c:majorTimeUnit val="' + t.catAxisMajorTimeUnit.toLowerCase() + '"/>'), t.catAxisMinorTimeUnit && (o += '<c:minorTimeUnit val="' + t.catAxisMinorTimeUnit.toLowerCase() + '"/>')), t.catAxisMajorUnit && (o += '<c:majorUnit val="'.concat(t.catAxisMajorUnit, '"/>')), t.catAxisMinorUnit && (o += '<c:minorUnit val="'.concat(t.catAxisMinorUnit, '"/>'))), t._type === K.SCATTER || t._type === K.BUBBLE || t._type === K.BUBBLE3D ? o += "</c:valAx>" : o += "</c:" + (t.catLabelFormatCode ? "dateAx" : "catAx") + ">", o;
|
|
3925
3925
|
}
|
|
3926
3926
|
function _a(t, a) {
|
|
3927
3927
|
var e = a === he ? t.barDir === "col" ? "l" : "b" : t.barDir !== "col" ? "r" : "t";
|
|
3928
3928
|
a === ca && (e = "r");
|
|
3929
3929
|
var o = a === he ? Ke : Ua, n = "";
|
|
3930
|
-
if (n += "<c:valAx>", n += ' <c:axId val="' + a + '"/>', n += " <c:scaling>", t.valAxisLogScaleBase && (n += '<c:logBase val="'.concat(t.valAxisLogScaleBase, '"/>')), n += '<c:orientation val="' + (t.valAxisOrientation || (t.barDir === "col", "minMax")) + '"/>', (t.valAxisMaxVal || t.valAxisMaxVal === 0) && (n += '<c:max val="'.concat(t.valAxisMaxVal, '"/>')), (t.valAxisMinVal || t.valAxisMinVal === 0) && (n += '<c:min val="'.concat(t.valAxisMinVal, '"/>')), n += " </c:scaling>", n += ' <c:delete val="'.concat(t.valAxisHidden ? 1 : 0, '"/>'), n += ' <c:axPos val="' + e + '"/>', t.valGridLine.style !== "none" && (n +=
|
|
3930
|
+
if (n += "<c:valAx>", n += ' <c:axId val="' + a + '"/>', n += " <c:scaling>", t.valAxisLogScaleBase && (n += '<c:logBase val="'.concat(t.valAxisLogScaleBase, '"/>')), n += '<c:orientation val="' + (t.valAxisOrientation || (t.barDir === "col", "minMax")) + '"/>', (t.valAxisMaxVal || t.valAxisMaxVal === 0) && (n += '<c:max val="'.concat(t.valAxisMaxVal, '"/>')), (t.valAxisMinVal || t.valAxisMinVal === 0) && (n += '<c:min val="'.concat(t.valAxisMinVal, '"/>')), n += " </c:scaling>", n += ' <c:delete val="'.concat(t.valAxisHidden ? 1 : 0, '"/>'), n += ' <c:axPos val="' + e + '"/>', t.valGridLine.style !== "none" && (n += ar(t.valGridLine)), t.showValAxisTitle && (n += ga({
|
|
3931
3931
|
color: t.valAxisTitleColor,
|
|
3932
3932
|
fontFace: t.valAxisTitleFontFace,
|
|
3933
3933
|
fontSize: t.valAxisTitleFontSize,
|
|
3934
3934
|
titleRotate: t.valAxisTitleRotate,
|
|
3935
3935
|
title: t.valAxisTitle || "Axis Title"
|
|
3936
|
-
})), n += '<c:numFmt formatCode="'.concat(t.valAxisLabelFormatCode ? ft(t.valAxisLabelFormatCode) : "General", '" sourceLinked="0"/>'), t._type ===
|
|
3936
|
+
})), n += '<c:numFmt formatCode="'.concat(t.valAxisLabelFormatCode ? ft(t.valAxisLabelFormatCode) : "General", '" sourceLinked="0"/>'), t._type === K.SCATTER ? (n += ' <c:majorTickMark val="none"/>', n += ' <c:minorTickMark val="none"/>', n += ' <c:tickLblPos val="nextTo"/>') : (n += ' <c:majorTickMark val="' + (t.valAxisMajorTickMark || "out") + '"/>', n += ' <c:minorTickMark val="' + (t.valAxisMinorTickMark || "none") + '"/>', n += ' <c:tickLblPos val="' + (t.valAxisLabelPos || (t.barDir === "col" ? "nextTo" : "low")) + '"/>'), n += " <c:spPr>", n += ' <a:ln w="'.concat(t.valAxisLineSize ? lt(t.valAxisLineSize) : ra, '" cap="flat">'), n += t.valAxisLineShow ? "<a:solidFill>" + wt(t.valAxisLineColor || Be.color) + "</a:solidFill>" : "<a:noFill/>", n += ' <a:prstDash val="' + (t.valAxisLineStyle || "solid") + '"/>', n += " <a:round/>", n += " </a:ln>", n += " </c:spPr>", n += " <c:txPr>", n += " <a:bodyPr".concat(t.valAxisLabelRotate ? ' rot="' + De(t.valAxisLabelRotate).toString() + '"' : "", "/>"), n += " <a:lstStyle/>", n += " <a:p>", n += " <a:pPr>", n += ' <a:defRPr sz="'.concat(Math.round((t.valAxisLabelFontSize || jt) * 100), '" b="').concat(t.valAxisLabelFontBold ? 1 : 0, '" i="').concat(t.valAxisLabelFontItalic ? 1 : 0, '" u="none" strike="noStrike">'), n += " <a:solidFill>" + wt(t.valAxisLabelColor || Vt) + "</a:solidFill>", n += ' <a:latin typeface="' + (t.valAxisLabelFontFace || "Arial") + '"/>', n += " </a:defRPr>", n += " </a:pPr>", n += ' <a:endParaRPr lang="' + (t.lang || "en-US") + '"/>', n += " </a:p>", n += " </c:txPr>", n += ' <c:crossAx val="' + o + '"/>', typeof t.catAxisCrossesAt == "number")
|
|
3937
3937
|
n += ' <c:crossesAt val="'.concat(t.catAxisCrossesAt, '"/>');
|
|
3938
3938
|
else if (typeof t.catAxisCrossesAt == "string")
|
|
3939
3939
|
n += ' <c:crosses val="' + t.catAxisCrossesAt + '"/>';
|
|
@@ -3941,13 +3941,13 @@ function _a(t, a) {
|
|
|
3941
3941
|
var A = e === "r" || e === "t", c = A ? "max" : "autoZero";
|
|
3942
3942
|
n += ' <c:crosses val="' + c + '"/>';
|
|
3943
3943
|
}
|
|
3944
|
-
return n += ' <c:crossBetween val="' + (t._type ===
|
|
3945
|
-
return s.type ===
|
|
3944
|
+
return n += ' <c:crossBetween val="' + (t._type === K.SCATTER || Array.isArray(t._type) && t._type.filter(function(s) {
|
|
3945
|
+
return s.type === K.AREA;
|
|
3946
3946
|
}).length > 0 ? "midCat" : "between") + '"/>', t.valAxisMajorUnit && (n += ' <c:majorUnit val="'.concat(t.valAxisMajorUnit, '"/>')), t.valAxisDisplayUnit && (n += '<c:dispUnits><c:builtInUnit val="'.concat(t.valAxisDisplayUnit, '"/>').concat(t.valAxisDisplayUnitLabel ? "<c:dispUnitsLbl/>" : "", "</c:dispUnits>")), n += "</c:valAx>", n;
|
|
3947
3947
|
}
|
|
3948
3948
|
function qn(t, a, e) {
|
|
3949
3949
|
var o = "";
|
|
3950
|
-
return o += "<c:serAx>", o += ' <c:axId val="' + a + '"/>', o += ' <c:scaling><c:orientation val="' + (t.serAxisOrientation || (t.barDir === "col", "minMax")) + '"/></c:scaling>', o += ' <c:delete val="' + (t.serAxisHidden ? "1" : "0") + '"/>', o += ' <c:axPos val="' + (t.barDir === "col" ? "b" : "l") + '"/>', o += t.serGridLine.style !== "none" ?
|
|
3950
|
+
return o += "<c:serAx>", o += ' <c:axId val="' + a + '"/>', o += ' <c:scaling><c:orientation val="' + (t.serAxisOrientation || (t.barDir === "col", "minMax")) + '"/></c:scaling>', o += ' <c:delete val="' + (t.serAxisHidden ? "1" : "0") + '"/>', o += ' <c:axPos val="' + (t.barDir === "col" ? "b" : "l") + '"/>', o += t.serGridLine.style !== "none" ? ar(t.serGridLine) : "", t.showSerAxisTitle && (o += ga({
|
|
3951
3951
|
color: t.serAxisTitleColor,
|
|
3952
3952
|
fontFace: t.serAxisTitleFontFace,
|
|
3953
3953
|
fontSize: t.serAxisTitleFontSize,
|
|
@@ -4004,7 +4004,7 @@ function Ne(t, a) {
|
|
|
4004
4004
|
var e = "<a:effectLst>", o = Pt(Pt({}, a), t), n = o.type || "outer", A = lt(o.blur), c = lt(o.offset), s = Math.round(o.angle * 6e4), l = o.color, r = Math.round(o.opacity * 1e5), i = o.rotateWithShape ? 1 : 0;
|
|
4005
4005
|
return e += "<a:".concat(n, 'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="').concat(A, '" rotWithShape="').concat(i, '" dist="').concat(c, '" dir="').concat(s, '">'), e += '<a:srgbClr val="'.concat(l, '">'), e += '<a:alpha val="'.concat(r, '"/></a:srgbClr>'), e += "</a:".concat(n, "Shdw>"), e += "</a:effectLst>", e;
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4007
|
+
function ar(t) {
|
|
4008
4008
|
var a = "<c:majorGridlines>";
|
|
4009
4009
|
return a += " <c:spPr>", a += ' <a:ln w="'.concat(lt(t.size || Be.size), '" cap="').concat(ua(t.cap || Be.cap), '">'), a += ' <a:solidFill><a:srgbClr val="' + (t.color || Be.color) + '"/></a:solidFill>', a += ' <a:prstDash val="' + (t.style || Be.style) + '"/><a:round/>', a += " </a:ln>", a += " </c:spPr>", a += "</c:majorGridlines>", a;
|
|
4010
4010
|
}
|
|
@@ -4072,7 +4072,7 @@ function ka(t) {
|
|
|
4072
4072
|
return g.isDuplicate && g.path === c.path;
|
|
4073
4073
|
}).forEach(function(g) {
|
|
4074
4074
|
return g.data = c.data;
|
|
4075
|
-
}), c.isSvgPng ?
|
|
4075
|
+
}), c.isSvgPng ? yr(c).then(function() {
|
|
4076
4076
|
s("done");
|
|
4077
4077
|
}).catch(function(g) {
|
|
4078
4078
|
l(g);
|
|
@@ -4092,10 +4092,10 @@ function ka(t) {
|
|
|
4092
4092
|
}).forEach(function(c) {
|
|
4093
4093
|
a ? (c.data = Ue, o.push(Promise.resolve().then(function() {
|
|
4094
4094
|
return "done";
|
|
4095
|
-
}))) : o.push(
|
|
4095
|
+
}))) : o.push(yr(c));
|
|
4096
4096
|
}), o;
|
|
4097
4097
|
}
|
|
4098
|
-
function
|
|
4098
|
+
function yr(t) {
|
|
4099
4099
|
return Ae(this, void 0, void 0, function() {
|
|
4100
4100
|
return le(this, function(a) {
|
|
4101
4101
|
switch (a.label) {
|
|
@@ -4136,10 +4136,10 @@ var Yn = {
|
|
|
4136
4136
|
return '<a:srcRect l="'.concat(c, '" r="').concat(s, '" t="').concat(l, '" b="').concat(r, '"/><a:stretch/>');
|
|
4137
4137
|
}
|
|
4138
4138
|
};
|
|
4139
|
-
function
|
|
4139
|
+
function rr(t) {
|
|
4140
4140
|
var a, e = t._name ? '<p:cSld name="' + t._name + '">' : "<p:cSld>", o = 1;
|
|
4141
4141
|
return t._bkgdImgRid ? e += '<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId'.concat(t._bkgdImgRid, '"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>') : !((a = t.background) === null || a === void 0) && a.color ? e += "<p:bg><p:bgPr>".concat(Kt(t.background), "</p:bgPr></p:bg>") : !t.bkgd && t._name && t._name === Oa && (e += '<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'), e += "<p:spTree>", e += '<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>', e += '<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>', e += '<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>', t._slideObjects.forEach(function(n, A) {
|
|
4142
|
-
var c, s, l, r, i, d, g, f, h = 0, u = 0, y = ht("75%", "X", t._presLayout), v = 0, b, C = "", T = null, N = null, E = 0, _ = 0, w = null, D = null, W = (c = n.options) === null || c === void 0 ? void 0 : c.sizing,
|
|
4142
|
+
var c, s, l, r, i, d, g, f, h = 0, u = 0, y = ht("75%", "X", t._presLayout), v = 0, b, C = "", T = null, N = null, E = 0, _ = 0, w = null, D = null, W = (c = n.options) === null || c === void 0 ? void 0 : c.sizing, j = (s = n.options) === null || s === void 0 ? void 0 : s.rounding;
|
|
4143
4143
|
t._slideLayout !== void 0 && t._slideLayout._slideObjects !== void 0 && n.options && n.options.placeholder && (b = t._slideLayout._slideObjects.filter(function(Q) {
|
|
4144
4144
|
return Q.options.placeholder === n.options.placeholder;
|
|
4145
4145
|
})[0]), n.options = n.options || {}, typeof n.options.x < "u" && (h = ht(n.options.x, "X", t._presLayout)), typeof n.options.y < "u" && (u = ht(n.options.y, "Y", t._presLayout)), typeof n.options.w < "u" && (y = ht(n.options.w, "X", t._presLayout)), typeof n.options.h < "u" && (v = ht(n.options.h, "Y", t._presLayout));
|
|
@@ -4157,7 +4157,7 @@ function ar(t) {
|
|
|
4157
4157
|
D += "</a:tblGrid>";
|
|
4158
4158
|
} else {
|
|
4159
4159
|
_ = N.colW ? N.colW : ct, n.options.w && !N.colW && (_ = Math.round((typeof n.options.w == "number" ? n.options.w : 1) / E)), D += "<a:tblGrid>";
|
|
4160
|
-
for (var
|
|
4160
|
+
for (var Z = 0; Z < E; Z++)
|
|
4161
4161
|
D += '<a:gridCol w="'.concat(_, '"/>');
|
|
4162
4162
|
D += "</a:tblGrid>";
|
|
4163
4163
|
}
|
|
@@ -4214,7 +4214,7 @@ function ar(t) {
|
|
|
4214
4214
|
var x = L ? Kt(L) : "", R = U.margin === 0 || U.margin ? U.margin : Jr;
|
|
4215
4215
|
!Array.isArray(R) && typeof R == "number" && (R = [R, R, R, R]);
|
|
4216
4216
|
var q = "";
|
|
4217
|
-
R[0] >= 1 ? q = ' marL="'.concat(lt(R[3]), '" marR="').concat(lt(R[1]), '" marT="').concat(lt(R[0]), '" marB="').concat(lt(R[2]), '"') : q = ' marL="'.concat(yt(R[3]), '" marR="').concat(yt(R[1]), '" marT="').concat(yt(R[0]), '" marB="').concat(yt(R[2]), '"'), D += "<a:tc".concat(p, ">").concat(
|
|
4217
|
+
R[0] >= 1 ? q = ' marL="'.concat(lt(R[3]), '" marR="').concat(lt(R[1]), '" marT="').concat(lt(R[0]), '" marB="').concat(lt(R[2]), '"') : q = ' marL="'.concat(yt(R[3]), '" marR="').concat(yt(R[1]), '" marT="').concat(yt(R[0]), '" marB="').concat(yt(R[2]), '"'), D += "<a:tc".concat(p, ">").concat(wr(xt), "<a:tcPr").concat(q).concat(G, ">"), U.border && Array.isArray(U.border) && [
|
|
4218
4218
|
{ idx: 3, name: "lnL" },
|
|
4219
4219
|
{ idx: 1, name: "lnR" },
|
|
4220
4220
|
{ idx: 0, name: "lnT" },
|
|
@@ -4263,7 +4263,7 @@ function ar(t) {
|
|
|
4263
4263
|
}
|
|
4264
4264
|
e += "</a:avLst></a:prstGeom>";
|
|
4265
4265
|
}
|
|
4266
|
-
e += n.options.fill ? Kt(n.options.fill) : "<a:noFill/>", n.options.line && (e += n.options.line.width ? '<a:ln w="'.concat(lt(n.options.line.width), '">') : "<a:ln>", n.options.line.color && (e += Kt(n.options.line)), n.options.line.dashType && (e += '<a:prstDash val="'.concat(n.options.line.dashType, '"/>')), n.options.line.beginArrowType && (e += '<a:headEnd type="'.concat(n.options.line.beginArrowType, '"/>')), n.options.line.endArrowType && (e += '<a:tailEnd type="'.concat(n.options.line.endArrowType, '"/>')), e += "</a:ln>"), n.options.shadow && n.options.shadow.type !== "none" && (n.options.shadow.type = n.options.shadow.type || "outer", n.options.shadow.blur = lt(n.options.shadow.blur || 8), n.options.shadow.offset = lt(n.options.shadow.offset || 4), n.options.shadow.angle = Math.round((n.options.shadow.angle || 270) * 6e4), n.options.shadow.opacity = Math.round((n.options.shadow.opacity || 0.75) * 1e5), n.options.shadow.color = n.options.shadow.color ||
|
|
4266
|
+
e += n.options.fill ? Kt(n.options.fill) : "<a:noFill/>", n.options.line && (e += n.options.line.width ? '<a:ln w="'.concat(lt(n.options.line.width), '">') : "<a:ln>", n.options.line.color && (e += Kt(n.options.line)), n.options.line.dashType && (e += '<a:prstDash val="'.concat(n.options.line.dashType, '"/>')), n.options.line.beginArrowType && (e += '<a:headEnd type="'.concat(n.options.line.beginArrowType, '"/>')), n.options.line.endArrowType && (e += '<a:tailEnd type="'.concat(n.options.line.endArrowType, '"/>')), e += "</a:ln>"), n.options.shadow && n.options.shadow.type !== "none" && (n.options.shadow.type = n.options.shadow.type || "outer", n.options.shadow.blur = lt(n.options.shadow.blur || 8), n.options.shadow.offset = lt(n.options.shadow.offset || 4), n.options.shadow.angle = Math.round((n.options.shadow.angle || 270) * 6e4), n.options.shadow.opacity = Math.round((n.options.shadow.opacity || 0.75) * 1e5), n.options.shadow.color = n.options.shadow.color || gr.color, e += "<a:effectLst>", e += " <a:".concat(n.options.shadow.type, "Shdw ").concat(n.options.shadow.type === "outer" ? 'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"' : "", ' blurRad="').concat(n.options.shadow.blur, '" dist="').concat(n.options.shadow.offset, '" dir="').concat(n.options.shadow.angle, '">'), e += ' <a:srgbClr val="'.concat(n.options.shadow.color, '">'), e += ' <a:alpha val="'.concat(n.options.shadow.opacity, '"/></a:srgbClr>'), e += " </a:outerShdw>", e += "</a:effectLst>"), e += "</p:spPr>", e += wr(n), e += "</p:sp>";
|
|
4267
4267
|
break;
|
|
4268
4268
|
case ut.image:
|
|
4269
4269
|
if (e += "<p:pic>", e += " <p:nvPicPr>", e += '<p:cNvPr id="'.concat(A + 2, '" name="').concat(n.options.objectName, '" descr="').concat(ft(n.options.altText || n.image), '">'), !((g = n.hyperlink) === null || g === void 0) && g.url && (e += '<a:hlinkClick r:id="rId'.concat(n.hyperlink._rId, '" tooltip="').concat(n.hyperlink.tooltip ? ft(n.hyperlink.tooltip) : "", '"/>')), !((f = n.hyperlink) === null || f === void 0) && f.slide && (e += '<a:hlinkClick r:id="rId'.concat(n.hyperlink._rId, '" tooltip="').concat(n.hyperlink.tooltip ? ft(n.hyperlink.tooltip) : "", '" action="ppaction://hlinksldjump"/>')), e += " </p:cNvPr>", e += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>', e += " <p:nvPr>" + ia(b) + "</p:nvPr>", e += " </p:nvPicPr>", e += "<p:blipFill>", (t._relsMedia || []).filter(function(Q) {
|
|
@@ -4275,7 +4275,7 @@ function ar(t) {
|
|
|
4275
4275
|
e += Yn[W.type]({ w: B, h: I }, { w: z, h: $, x: P, y: S }), B = z, I = $;
|
|
4276
4276
|
} else
|
|
4277
4277
|
e += " <a:stretch><a:fillRect/></a:stretch>";
|
|
4278
|
-
e += "</p:blipFill>", e += "<p:spPr>", e += " <a:xfrm" + C + ">", e += ' <a:off x="'.concat(h, '" y="').concat(u, '"/>'), e += ' <a:ext cx="'.concat(B, '" cy="').concat(I, '"/>'), e += " </a:xfrm>", e += ' <a:prstGeom prst="'.concat(
|
|
4278
|
+
e += "</p:blipFill>", e += "<p:spPr>", e += " <a:xfrm" + C + ">", e += ' <a:off x="'.concat(h, '" y="').concat(u, '"/>'), e += ' <a:ext cx="'.concat(B, '" cy="').concat(I, '"/>'), e += " </a:xfrm>", e += ' <a:prstGeom prst="'.concat(j ? "ellipse" : "rect", '"><a:avLst/></a:prstGeom>'), n.options.shadow && n.options.shadow.type !== "none" && (n.options.shadow.type = n.options.shadow.type || "outer", n.options.shadow.blur = lt(n.options.shadow.blur || 8), n.options.shadow.offset = lt(n.options.shadow.offset || 4), n.options.shadow.angle = Math.round((n.options.shadow.angle || 270) * 6e4), n.options.shadow.opacity = Math.round((n.options.shadow.opacity || 0.75) * 1e5), n.options.shadow.color = n.options.shadow.color || gr.color, e += "<a:effectLst>", e += "<a:".concat(n.options.shadow.type, "Shdw ").concat(n.options.shadow.type === "outer" ? 'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"' : "", ' blurRad="').concat(n.options.shadow.blur, '" dist="').concat(n.options.shadow.offset, '" dir="').concat(n.options.shadow.angle, '">'), e += '<a:srgbClr val="'.concat(n.options.shadow.color, '">'), e += '<a:alpha val="'.concat(n.options.shadow.opacity, '"/></a:srgbClr>'), e += "</a:".concat(n.options.shadow.type, "Shdw>"), e += "</a:effectLst>"), e += "</p:spPr>", e += "</p:pic>";
|
|
4279
4279
|
break;
|
|
4280
4280
|
case ut.media:
|
|
4281
4281
|
n.mtype === "online" ? (e += "<p:pic>", e += " <p:nvPicPr>", e += '<p:cNvPr id="'.concat(n.mediaRid + 2, '" name="').concat(n.options.objectName, '"/>'), e += " <p:cNvPicPr/>", e += " <p:nvPr>", e += ' <a:videoFile r:link="rId'.concat(n.mediaRid, '"/>'), e += " </p:nvPr>", e += " </p:nvPicPr>", e += ' <p:blipFill><a:blip r:embed="rId'.concat(n.mediaRid + 1, '"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'), e += " <p:spPr>", e += " <a:xfrm".concat(C, '><a:off x="').concat(h, '" y="').concat(u, '"/><a:ext cx="').concat(y, '" cy="').concat(v, '"/></a:xfrm>'), e += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>', e += " </p:spPr>", e += "</p:pic>") : (e += "<p:pic>", e += " <p:nvPicPr>", e += '<p:cNvPr id="'.concat(n.mediaRid + 2, '" name="').concat(n.options.objectName, '"><a:hlinkClick r:id="" action="ppaction://media"/></p:cNvPr>'), e += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>', e += " <p:nvPr>", e += ' <a:videoFile r:link="rId'.concat(n.mediaRid, '"/>'), e += " <p:extLst>", e += ' <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">', e += ' <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId'.concat(n.mediaRid + 1, '"/>'), e += " </p:ext>", e += " </p:extLst>", e += " </p:nvPr>", e += " </p:nvPicPr>", e += ' <p:blipFill><a:blip r:embed="rId'.concat(n.mediaRid + 2, '"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'), e += " <p:spPr>", e += " <a:xfrm".concat(C, '><a:off x="').concat(h, '" y="').concat(u, '"/><a:ext cx="').concat(y, '" cy="').concat(v, '"/></a:xfrm>'), e += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>', e += " </p:spPr>", e += "</p:pic>");
|
|
@@ -4289,7 +4289,7 @@ function ar(t) {
|
|
|
4289
4289
|
}
|
|
4290
4290
|
}), t._slideNumberProps && (t._slideNumberProps.align || (t._slideNumberProps.align = "left"), e += "<p:sp>", e += " <p:nvSpPr>", e += ' <p:cNvPr id="25" name="Slide Number Placeholder 0"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr>', e += ' <p:nvPr><p:ph type="sldNum" sz="quarter" idx="4294967295"/></p:nvPr>', e += " </p:nvSpPr>", e += " <p:spPr>", e += "<a:xfrm>" + '<a:off x="'.concat(ht(t._slideNumberProps.x, "X", t._presLayout), '" y="').concat(ht(t._slideNumberProps.y, "Y", t._presLayout), '"/>') + '<a:ext cx="'.concat(t._slideNumberProps.w ? ht(t._slideNumberProps.w, "X", t._presLayout) : "800000", '" cy="').concat(t._slideNumberProps.h ? ht(t._slideNumberProps.h, "Y", t._presLayout) : "300000", '"/>') + '</a:xfrm> <a:prstGeom prst="rect"><a:avLst/></a:prstGeom> <a:extLst><a:ext uri="{C572A759-6A51-4108-AA02-DFA0A04FC94B}"><ma14:wrappingTextBoxFlag val="0" xmlns:ma14="http://schemas.microsoft.com/office/mac/drawingml/2011/main"/></a:ext></a:extLst></p:spPr>', e += "<p:txBody>", e += "<a:bodyPr", t._slideNumberProps.margin && Array.isArray(t._slideNumberProps.margin) ? (e += ' lIns="'.concat(lt(t._slideNumberProps.margin[3] || 0), '"'), e += ' tIns="'.concat(lt(t._slideNumberProps.margin[0] || 0), '"'), e += ' rIns="'.concat(lt(t._slideNumberProps.margin[1] || 0), '"'), e += ' bIns="'.concat(lt(t._slideNumberProps.margin[2] || 0), '"')) : typeof t._slideNumberProps.margin == "number" && (e += ' lIns="'.concat(lt(t._slideNumberProps.margin || 0), '"'), e += ' tIns="'.concat(lt(t._slideNumberProps.margin || 0), '"'), e += ' rIns="'.concat(lt(t._slideNumberProps.margin || 0), '"'), e += ' bIns="'.concat(lt(t._slideNumberProps.margin || 0), '"')), t._slideNumberProps.valign && (e += ' anchor="'.concat(t._slideNumberProps.valign.replace("top", "t").replace("middle", "ctr").replace("bottom", "b"), '"')), e += "/>", e += " <a:lstStyle><a:lvl1pPr>", (t._slideNumberProps.fontFace || t._slideNumberProps.fontSize || t._slideNumberProps.color) && (e += '<a:defRPr sz="'.concat(Math.round((t._slideNumberProps.fontSize || 12) * 100), '">'), t._slideNumberProps.color && (e += Kt(t._slideNumberProps.color)), t._slideNumberProps.fontFace && (e += '<a:latin typeface="'.concat(t._slideNumberProps.fontFace, '"/><a:ea typeface="').concat(t._slideNumberProps.fontFace, '"/><a:cs typeface="').concat(t._slideNumberProps.fontFace, '"/>')), e += "</a:defRPr>"), e += "</a:lvl1pPr></a:lstStyle>", e += "<a:p>", t._slideNumberProps.align.startsWith("l") ? e += '<a:pPr algn="l"/>' : t._slideNumberProps.align.startsWith("c") ? e += '<a:pPr algn="ctr"/>' : t._slideNumberProps.align.startsWith("r") ? e += '<a:pPr algn="r"/>' : e += '<a:pPr algn="l"/>', e += '<a:fld id="'.concat(jr, '" type="slidenum"><a:rPr b="').concat(t._slideNumberProps.bold ? 1 : 0, '" lang="en-US"/>'), e += "<a:t>".concat(t._slideNum, '</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>'), e += "</p:txBody></p:sp>"), e += "</p:spTree>", e += "</p:cSld>", e;
|
|
4291
4291
|
}
|
|
4292
|
-
function
|
|
4292
|
+
function nr(t, a) {
|
|
4293
4293
|
var e = 0, o = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + Ft + '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">';
|
|
4294
4294
|
return t._rels.forEach(function(n) {
|
|
4295
4295
|
e = Math.max(e, n.rId), n.type.toLowerCase().includes("hyperlink") ? n.data === "slide" ? o += '<Relationship Id="rId'.concat(n.rId, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slide').concat(n.Target, '.xml"/>') : o += '<Relationship Id="rId'.concat(n.rId, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="').concat(n.Target, '" TargetMode="External"/>') : n.type.toLowerCase().includes("notesSlide") && (o += '<Relationship Id="rId'.concat(n.rId, '" Target="').concat(n.Target, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"/>'));
|
|
@@ -4302,7 +4302,7 @@ function rr(t, a) {
|
|
|
4302
4302
|
o += '<Relationship Id="rId'.concat(e + A + 1, '" Type="').concat(n.type, '" Target="').concat(n.target, '"/>');
|
|
4303
4303
|
}), o += "</Relationships>", o;
|
|
4304
4304
|
}
|
|
4305
|
-
function
|
|
4305
|
+
function br(t, a) {
|
|
4306
4306
|
var e, o, n = "", A = "", c = "", s = "", l = a ? "a:lvl1pPr" : "a:pPr", r = lt(kn), i = "<".concat(l).concat(t.options.rtlMode ? ' rtl="1" ' : "");
|
|
4307
4307
|
{
|
|
4308
4308
|
if (t.options.align)
|
|
@@ -4364,12 +4364,12 @@ function Zn(t) {
|
|
|
4364
4364
|
var a = "<a:bodyPr";
|
|
4365
4365
|
return t && t._type === ut.text && t.options._bodyProp ? (a += t.options._bodyProp.wrap ? ' wrap="square"' : ' wrap="none"', (t.options._bodyProp.lIns || t.options._bodyProp.lIns === 0) && (a += ' lIns="'.concat(t.options._bodyProp.lIns, '"')), (t.options._bodyProp.tIns || t.options._bodyProp.tIns === 0) && (a += ' tIns="'.concat(t.options._bodyProp.tIns, '"')), (t.options._bodyProp.rIns || t.options._bodyProp.rIns === 0) && (a += ' rIns="'.concat(t.options._bodyProp.rIns, '"')), (t.options._bodyProp.bIns || t.options._bodyProp.bIns === 0) && (a += ' bIns="'.concat(t.options._bodyProp.bIns, '"')), a += ' rtlCol="0"', t.options._bodyProp.anchor && (a += ' anchor="' + t.options._bodyProp.anchor + '"'), t.options._bodyProp.vert && (a += ' vert="' + t.options._bodyProp.vert + '"'), a += ">", t.options.fit && (t.options.fit === "none" ? a += "" : t.options.fit === "shrink" ? a += "<a:normAutofit/>" : t.options.fit === "resize" && (a += "<a:spAutoFit/>")), t.options.shrinkText && (a += "<a:normAutofit/>"), a += t.options._bodyProp.autoFit ? "<a:spAutoFit/>" : "", a += "</a:bodyPr>") : (a += ' wrap="square" rtlCol="0">', a += "</a:bodyPr>"), t._type === ut.tablecell ? "<a:bodyPr/>" : a;
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4367
|
+
function wr(t) {
|
|
4368
4368
|
var a = t.options || {}, e = [], o = [];
|
|
4369
4369
|
if (a && t._type !== ut.tablecell && (typeof t.text > "u" || t.text === null))
|
|
4370
4370
|
return "";
|
|
4371
4371
|
var n = t._type === ut.tablecell ? "<a:txBody>" : "<p:txBody>";
|
|
4372
|
-
n += Zn(t), a.h === 0 && a.line && a.align ? n += '<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>' : t._type === "placeholder" ? n += "<a:lstStyle>".concat(
|
|
4372
|
+
n += Zn(t), a.h === 0 && a.line && a.align ? n += '<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>' : t._type === "placeholder" ? n += "<a:lstStyle>".concat(br(t, !0), "</a:lstStyle>") : n += "<a:lstStyle/>", typeof t.text == "string" || typeof t.text == "number" ? e.push({ text: t.text.toString(), options: a || {} }) : t.text && !Array.isArray(t.text) && typeof t.text == "object" && Object.keys(t.text).includes("text") ? e.push({ text: t.text || "", options: t.options || {} }) : Array.isArray(t.text) && (e = t.text.map(function(s) {
|
|
4373
4373
|
return { text: s.text, options: s.options };
|
|
4374
4374
|
})), e.forEach(function(s, l) {
|
|
4375
4375
|
s.text || (s.text = ""), s.options = s.options || a || {}, l === 0 && s.options && !s.options.bullet && a.bullet && (s.options.bullet = a.bullet), (typeof s.text == "string" || typeof s.text == "number") && (s.text = s.text.toString().replace(/\r*\n/g, Ft)), s.text.includes(Ft) && s.text.match(/\n$/g) === null ? s.text.split(Ft).forEach(function(r) {
|
|
@@ -4384,7 +4384,7 @@ function br(t) {
|
|
|
4384
4384
|
n += "<a:p>";
|
|
4385
4385
|
var i = "<a:pPr ".concat(!((l = s[0].options) === null || l === void 0) && l.rtlMode ? ' rtl="1" ' : "");
|
|
4386
4386
|
s.forEach(function(d, g) {
|
|
4387
|
-
d.options._lineIdx = g, g > 0 && d.options.softBreakBefore && (n += "<a:br/>"), d.options.align = d.options.align || a.align, d.options.lineSpacing = d.options.lineSpacing || a.lineSpacing, d.options.lineSpacingMultiple = d.options.lineSpacingMultiple || a.lineSpacingMultiple, d.options.indentLevel = d.options.indentLevel || a.indentLevel, d.options.paraSpaceBefore = d.options.paraSpaceBefore || a.paraSpaceBefore, d.options.paraSpaceAfter = d.options.paraSpaceAfter || a.paraSpaceAfter, i =
|
|
4387
|
+
d.options._lineIdx = g, g > 0 && d.options.softBreakBefore && (n += "<a:br/>"), d.options.align = d.options.align || a.align, d.options.lineSpacing = d.options.lineSpacing || a.lineSpacing, d.options.lineSpacingMultiple = d.options.lineSpacingMultiple || a.lineSpacingMultiple, d.options.indentLevel = d.options.indentLevel || a.indentLevel, d.options.paraSpaceBefore = d.options.paraSpaceBefore || a.paraSpaceBefore, d.options.paraSpaceAfter = d.options.paraSpaceAfter || a.paraSpaceAfter, i = br(d, !1), n += i.replace("<a:pPr></a:pPr>", ""), Object.entries(a).filter(function(f) {
|
|
4388
4388
|
var h = f[0];
|
|
4389
4389
|
return f[1], !(d.options.hyperlink && h === "color");
|
|
4390
4390
|
}).forEach(function(f) {
|
|
@@ -4493,7 +4493,7 @@ function eo(t) {
|
|
|
4493
4493
|
return a++, e += '<Relationship Id="rId'.concat(a + 0, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="notesMasters/notesMaster1.xml"/>') + '<Relationship Id="rId'.concat(a + 1, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" Target="presProps.xml"/>') + '<Relationship Id="rId'.concat(a + 2, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" Target="viewProps.xml"/>') + '<Relationship Id="rId'.concat(a + 3, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>') + '<Relationship Id="rId'.concat(a + 4, '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" Target="tableStyles.xml"/>') + "</Relationships>", e;
|
|
4494
4494
|
}
|
|
4495
4495
|
function ao(t) {
|
|
4496
|
-
return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Ft) + '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"' + "".concat(t != null && t.hidden ? ' show="0"' : "", ">") + "".concat(
|
|
4496
|
+
return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Ft) + '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"' + "".concat(t != null && t.hidden ? ' show="0"' : "", ">") + "".concat(rr(t)) + "<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>";
|
|
4497
4497
|
}
|
|
4498
4498
|
function ro(t) {
|
|
4499
4499
|
var a = "";
|
|
@@ -4510,17 +4510,17 @@ function oo(t) {
|
|
|
4510
4510
|
function io(t) {
|
|
4511
4511
|
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4512
4512
|
<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" preserve="1">
|
|
4513
|
-
`.concat(
|
|
4513
|
+
`.concat(rr(t), `
|
|
4514
4514
|
<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`);
|
|
4515
4515
|
}
|
|
4516
4516
|
function so(t, a) {
|
|
4517
4517
|
var e = a.map(function(n, A) {
|
|
4518
4518
|
return '<p:sldLayoutId id="'.concat(Dn + A, '" r:id="rId').concat(t._rels.length + A + 1, '"/>');
|
|
4519
4519
|
}), o = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + Ft;
|
|
4520
|
-
return o += '<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">', o +=
|
|
4520
|
+
return o += '<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">', o += rr(t), o += '<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>', o += "<p:sldLayoutIdLst>" + e.join("") + "</p:sldLayoutIdLst>", o += '<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>', o += '<p:txStyles> <p:titleStyle> <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr> </p:titleStyle> <p:bodyStyle> <a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="»"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2514600" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2971800" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3429000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3886200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:bodyStyle> <p:otherStyle> <a:defPPr><a:defRPr lang="en-US"/></a:defPPr> <a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:otherStyle></p:txStyles>', o += "</p:sldMaster>", o;
|
|
4521
4521
|
}
|
|
4522
4522
|
function Ao(t, a) {
|
|
4523
|
-
return
|
|
4523
|
+
return nr(a[t - 1], [
|
|
4524
4524
|
{
|
|
4525
4525
|
target: "../slideMasters/slideMaster1.xml",
|
|
4526
4526
|
type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"
|
|
@@ -4528,7 +4528,7 @@ function Ao(t, a) {
|
|
|
4528
4528
|
]);
|
|
4529
4529
|
}
|
|
4530
4530
|
function lo(t, a, e) {
|
|
4531
|
-
return
|
|
4531
|
+
return nr(t[e - 1], [
|
|
4532
4532
|
{
|
|
4533
4533
|
target: "../slideLayouts/slideLayout".concat(po(t, a, e), ".xml"),
|
|
4534
4534
|
type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
|
|
@@ -4553,7 +4553,7 @@ function fo(t, a) {
|
|
|
4553
4553
|
type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
|
|
4554
4554
|
};
|
|
4555
4555
|
});
|
|
4556
|
-
return e.push({ target: "../theme/theme1.xml", type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" }),
|
|
4556
|
+
return e.push({ target: "../theme/theme1.xml", type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" }), nr(t, e);
|
|
4557
4557
|
}
|
|
4558
4558
|
function uo() {
|
|
4559
4559
|
return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(Ft, `<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
@@ -4597,7 +4597,7 @@ var bo = "3.12.0", wo = (
|
|
|
4597
4597
|
function() {
|
|
4598
4598
|
function t() {
|
|
4599
4599
|
var a = this;
|
|
4600
|
-
this._version = bo, this._alignH = Xa, this._alignV = Ha, this._chartType = Wa, this._outputType = Ga, this._schemeColor = Zt, this._shapeType = Qa, this._charts =
|
|
4600
|
+
this._version = bo, this._alignH = Xa, this._alignV = Ha, this._chartType = Wa, this._outputType = Ga, this._schemeColor = Zt, this._shapeType = Qa, this._charts = K, this._colors = Va, this._shapes = we, this.addNewSlide = function(c) {
|
|
4601
4601
|
var s = a.sections.length > 0 && a.sections[a.sections.length - 1]._slides.filter(function(l) {
|
|
4602
4602
|
return l._slideNum === a.slides[a.slides.length - 1]._slideNum;
|
|
4603
4603
|
}).length > 0;
|
|
@@ -4644,7 +4644,7 @@ var bo = "3.12.0", wo = (
|
|
|
4644
4644
|
return le(this, function(d) {
|
|
4645
4645
|
switch (d.label) {
|
|
4646
4646
|
case 0:
|
|
4647
|
-
return s = [], l = [], r = new
|
|
4647
|
+
return s = [], l = [], r = new tr(), this.slides.forEach(function(g) {
|
|
4648
4648
|
l = l.concat(ka(g));
|
|
4649
4649
|
}), this.slideLayouts.forEach(function(g) {
|
|
4650
4650
|
l = l.concat(ka(g));
|
|
@@ -5102,7 +5102,7 @@ nt.prototype = {
|
|
|
5102
5102
|
return this._a = nn(a), this._roundA = Math.round(100 * this._a) / 100, this;
|
|
5103
5103
|
},
|
|
5104
5104
|
toHsv: function() {
|
|
5105
|
-
var a =
|
|
5105
|
+
var a = Cr(this._r, this._g, this._b);
|
|
5106
5106
|
return {
|
|
5107
5107
|
h: a.h * 360,
|
|
5108
5108
|
s: a.s,
|
|
@@ -5111,11 +5111,11 @@ nt.prototype = {
|
|
|
5111
5111
|
};
|
|
5112
5112
|
},
|
|
5113
5113
|
toHsvString: function() {
|
|
5114
|
-
var a =
|
|
5114
|
+
var a = Cr(this._r, this._g, this._b), e = Math.round(a.h * 360), o = Math.round(a.s * 100), n = Math.round(a.v * 100);
|
|
5115
5115
|
return this._a == 1 ? "hsv(" + e + ", " + o + "%, " + n + "%)" : "hsva(" + e + ", " + o + "%, " + n + "%, " + this._roundA + ")";
|
|
5116
5116
|
},
|
|
5117
5117
|
toHsl: function() {
|
|
5118
|
-
var a =
|
|
5118
|
+
var a = xr(this._r, this._g, this._b);
|
|
5119
5119
|
return {
|
|
5120
5120
|
h: a.h * 360,
|
|
5121
5121
|
s: a.s,
|
|
@@ -5124,11 +5124,11 @@ nt.prototype = {
|
|
|
5124
5124
|
};
|
|
5125
5125
|
},
|
|
5126
5126
|
toHslString: function() {
|
|
5127
|
-
var a =
|
|
5127
|
+
var a = xr(this._r, this._g, this._b), e = Math.round(a.h * 360), o = Math.round(a.s * 100), n = Math.round(a.l * 100);
|
|
5128
5128
|
return this._a == 1 ? "hsl(" + e + ", " + o + "%, " + n + "%)" : "hsla(" + e + ", " + o + "%, " + n + "%, " + this._roundA + ")";
|
|
5129
5129
|
},
|
|
5130
5130
|
toHex: function(a) {
|
|
5131
|
-
return
|
|
5131
|
+
return Lr(this._r, this._g, this._b, a);
|
|
5132
5132
|
},
|
|
5133
5133
|
toHexString: function(a) {
|
|
5134
5134
|
return "#" + this.toHex(a);
|
|
@@ -5162,13 +5162,13 @@ nt.prototype = {
|
|
|
5162
5162
|
return this._a == 1 ? "rgb(" + Math.round(_t(this._r, 255) * 100) + "%, " + Math.round(_t(this._g, 255) * 100) + "%, " + Math.round(_t(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(_t(this._r, 255) * 100) + "%, " + Math.round(_t(this._g, 255) * 100) + "%, " + Math.round(_t(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
|
5163
5163
|
},
|
|
5164
5164
|
toName: function() {
|
|
5165
|
-
return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Uo[
|
|
5165
|
+
return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Uo[Lr(this._r, this._g, this._b, !0)] || !1;
|
|
5166
5166
|
},
|
|
5167
5167
|
toFilter: function(a) {
|
|
5168
|
-
var e = "#" +
|
|
5168
|
+
var e = "#" + Tr(this._r, this._g, this._b, this._a), o = e, n = this._gradientType ? "GradientType = 1, " : "";
|
|
5169
5169
|
if (a) {
|
|
5170
5170
|
var A = nt(a);
|
|
5171
|
-
o = "#" +
|
|
5171
|
+
o = "#" + Tr(A._r, A._g, A._b, A._a);
|
|
5172
5172
|
}
|
|
5173
5173
|
return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + e + ",endColorstr=" + o + ")";
|
|
5174
5174
|
},
|
|
@@ -5226,10 +5226,10 @@ nt.prototype = {
|
|
|
5226
5226
|
// return this._applyCombination(polyad, [number]);
|
|
5227
5227
|
// },
|
|
5228
5228
|
triad: function() {
|
|
5229
|
-
return this._applyCombination(
|
|
5229
|
+
return this._applyCombination(Nr, [3]);
|
|
5230
5230
|
},
|
|
5231
5231
|
tetrad: function() {
|
|
5232
|
-
return this._applyCombination(
|
|
5232
|
+
return this._applyCombination(Nr, [4]);
|
|
5233
5233
|
}
|
|
5234
5234
|
};
|
|
5235
5235
|
nt.fromRatio = function(t, a) {
|
|
@@ -5263,7 +5263,7 @@ function To(t, a, e) {
|
|
|
5263
5263
|
b: _t(e, 255) * 255
|
|
5264
5264
|
};
|
|
5265
5265
|
}
|
|
5266
|
-
function
|
|
5266
|
+
function xr(t, a, e) {
|
|
5267
5267
|
t = _t(t, 255), a = _t(a, 255), e = _t(e, 255);
|
|
5268
5268
|
var o = Math.max(t, a, e), n = Math.min(t, a, e), A, c, s = (o + n) / 2;
|
|
5269
5269
|
if (o == n)
|
|
@@ -5307,7 +5307,7 @@ function No(t, a, e) {
|
|
|
5307
5307
|
b: A * 255
|
|
5308
5308
|
};
|
|
5309
5309
|
}
|
|
5310
|
-
function
|
|
5310
|
+
function Cr(t, a, e) {
|
|
5311
5311
|
t = _t(t, 255), a = _t(a, 255), e = _t(e, 255);
|
|
5312
5312
|
var o = Math.max(t, a, e), n = Math.min(t, a, e), A, c, s = o, l = o - n;
|
|
5313
5313
|
if (c = o === 0 ? 0 : l / o, o == n)
|
|
@@ -5341,7 +5341,7 @@ function Bo(t, a, e) {
|
|
|
5341
5341
|
b: d * 255
|
|
5342
5342
|
};
|
|
5343
5343
|
}
|
|
5344
|
-
function
|
|
5344
|
+
function Lr(t, a, e, o) {
|
|
5345
5345
|
var n = [ne(Math.round(t).toString(16)), ne(Math.round(a).toString(16)), ne(Math.round(e).toString(16))];
|
|
5346
5346
|
return o && n[0].charAt(0) == n[0].charAt(1) && n[1].charAt(0) == n[1].charAt(1) && n[2].charAt(0) == n[2].charAt(1) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
|
|
5347
5347
|
}
|
|
@@ -5349,7 +5349,7 @@ function Do(t, a, e, o, n) {
|
|
|
5349
5349
|
var A = [ne(Math.round(t).toString(16)), ne(Math.round(a).toString(16)), ne(Math.round(e).toString(16)), ne(on(o))];
|
|
5350
5350
|
return n && A[0].charAt(0) == A[0].charAt(1) && A[1].charAt(0) == A[1].charAt(1) && A[2].charAt(0) == A[2].charAt(1) && A[3].charAt(0) == A[3].charAt(1) ? A[0].charAt(0) + A[1].charAt(0) + A[2].charAt(0) + A[3].charAt(0) : A.join("");
|
|
5351
5351
|
}
|
|
5352
|
-
function
|
|
5352
|
+
function Tr(t, a, e, o) {
|
|
5353
5353
|
var n = [ne(on(o)), ne(Math.round(t).toString(16)), ne(Math.round(a).toString(16)), ne(Math.round(e).toString(16))];
|
|
5354
5354
|
return n.join("");
|
|
5355
5355
|
}
|
|
@@ -5399,7 +5399,7 @@ function Fo(t) {
|
|
|
5399
5399
|
var a = nt(t).toHsl();
|
|
5400
5400
|
return a.h = (a.h + 180) % 360, nt(a);
|
|
5401
5401
|
}
|
|
5402
|
-
function
|
|
5402
|
+
function Nr(t, a) {
|
|
5403
5403
|
if (isNaN(a) || a <= 0)
|
|
5404
5404
|
throw new Error("Argument to polyad must be a positive number");
|
|
5405
5405
|
for (var e = nt(t).toHsl(), o = [nt(t)], n = 360 / a, A = 1; A < a; A++)
|
|
@@ -5665,7 +5665,7 @@ function $e(t) {
|
|
|
5665
5665
|
function on(t) {
|
|
5666
5666
|
return Math.round(parseFloat(t) * 255).toString(16);
|
|
5667
5667
|
}
|
|
5668
|
-
function
|
|
5668
|
+
function Br(t) {
|
|
5669
5669
|
return Jt(t) / 255;
|
|
5670
5670
|
}
|
|
5671
5671
|
var ee = function() {
|
|
@@ -5732,7 +5732,7 @@ function Xo(t) {
|
|
|
5732
5732
|
r: Jt(e[1]),
|
|
5733
5733
|
g: Jt(e[2]),
|
|
5734
5734
|
b: Jt(e[3]),
|
|
5735
|
-
a:
|
|
5735
|
+
a: Br(e[4]),
|
|
5736
5736
|
format: a ? "name" : "hex8"
|
|
5737
5737
|
} : (e = ee.hex6.exec(t)) ? {
|
|
5738
5738
|
r: Jt(e[1]),
|
|
@@ -5743,7 +5743,7 @@ function Xo(t) {
|
|
|
5743
5743
|
r: Jt(e[1] + "" + e[1]),
|
|
5744
5744
|
g: Jt(e[2] + "" + e[2]),
|
|
5745
5745
|
b: Jt(e[3] + "" + e[3]),
|
|
5746
|
-
a:
|
|
5746
|
+
a: Br(e[4] + "" + e[4]),
|
|
5747
5747
|
format: a ? "name" : "hex8"
|
|
5748
5748
|
} : (e = ee.hex3.exec(t)) ? {
|
|
5749
5749
|
r: Jt(e[1] + "" + e[1]),
|
|
@@ -5811,7 +5811,7 @@ async function Zo(t, a) {
|
|
|
5811
5811
|
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
|
|
5812
5812
|
const {
|
|
5813
5813
|
entries: sn,
|
|
5814
|
-
setPrototypeOf:
|
|
5814
|
+
setPrototypeOf: Dr,
|
|
5815
5815
|
isFrozen: Ko,
|
|
5816
5816
|
getPrototypeOf: jo,
|
|
5817
5817
|
getOwnPropertyDescriptor: $o
|
|
@@ -5840,7 +5840,7 @@ Ka || (Ka = function(a) {
|
|
|
5840
5840
|
o[n - 1] = arguments[n];
|
|
5841
5841
|
return new a(...o);
|
|
5842
5842
|
});
|
|
5843
|
-
const sa = Qt(Array.prototype.forEach), ti = Qt(Array.prototype.lastIndexOf),
|
|
5843
|
+
const sa = Qt(Array.prototype.forEach), ti = Qt(Array.prototype.lastIndexOf), _r = Qt(Array.prototype.pop), He = Qt(Array.prototype.push), ei = Qt(Array.prototype.splice), da = Qt(String.prototype.toLowerCase), Ra = Qt(String.prototype.toString), Pa = Qt(String.prototype.match), Ve = Qt(String.prototype.replace), ai = Qt(String.prototype.indexOf), ri = Qt(String.prototype.trim), re = Qt(Object.prototype.hasOwnProperty), Gt = Qt(RegExp.prototype.test), qe = ni(TypeError);
|
|
5844
5844
|
function Qt(t) {
|
|
5845
5845
|
return function(a) {
|
|
5846
5846
|
a instanceof RegExp && (a.lastIndex = 0);
|
|
@@ -5858,7 +5858,7 @@ function ni(t) {
|
|
|
5858
5858
|
}
|
|
5859
5859
|
function gt(t, a) {
|
|
5860
5860
|
let e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : da;
|
|
5861
|
-
|
|
5861
|
+
Dr && Dr(t, null);
|
|
5862
5862
|
let o = a.length;
|
|
5863
5863
|
for (; o--; ) {
|
|
5864
5864
|
let n = a[o];
|
|
@@ -5897,14 +5897,14 @@ function Ye(t, a) {
|
|
|
5897
5897
|
}
|
|
5898
5898
|
return e;
|
|
5899
5899
|
}
|
|
5900
|
-
const
|
|
5900
|
+
const kr = Wt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ea = Wt(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Sa = Wt(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ii = Wt(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ma = Wt(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), si = Wt(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Rr = Wt(["#text"]), Pr = Wt(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Fa = Wt(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Er = Wt(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Aa = Wt(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ai = $t(/\{\{[\w\W]*|[\w\W]*\}\}/gm), li = $t(/<%[\w\W]*|[\w\W]*%>/gm), ci = $t(/\$\{[\w\W]*/gm), fi = $t(/^data-[\-\w.\u00B7-\uFFFF]+$/), ui = $t(/^aria-[\-\w]+$/), An = $t(
|
|
5901
5901
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
5902
5902
|
// eslint-disable-line no-useless-escape
|
|
5903
5903
|
), di = $t(/^(?:\w+script|data):/i), pi = $t(
|
|
5904
5904
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
5905
5905
|
// eslint-disable-line no-control-regex
|
|
5906
5906
|
), ln = $t(/^html$/i), hi = $t(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
5907
|
-
var
|
|
5907
|
+
var Sr = /* @__PURE__ */ Object.freeze({
|
|
5908
5908
|
__proto__: null,
|
|
5909
5909
|
ARIA_ATTR: ui,
|
|
5910
5910
|
ATTR_WHITESPACE: pi,
|
|
@@ -5954,7 +5954,7 @@ const Je = {
|
|
|
5954
5954
|
} catch {
|
|
5955
5955
|
return console.warn("TrustedTypes policy " + A + " could not be created."), null;
|
|
5956
5956
|
}
|
|
5957
|
-
},
|
|
5957
|
+
}, Mr = function() {
|
|
5958
5958
|
return {
|
|
5959
5959
|
afterSanitizeAttributes: [],
|
|
5960
5960
|
afterSanitizeElements: [],
|
|
@@ -5999,24 +5999,24 @@ function cn() {
|
|
|
5999
5999
|
} = e, {
|
|
6000
6000
|
importNode: W
|
|
6001
6001
|
} = o;
|
|
6002
|
-
let
|
|
6002
|
+
let j = Mr();
|
|
6003
6003
|
a.isSupported = typeof sn == "function" && typeof C == "function" && E && E.createHTMLDocument !== void 0;
|
|
6004
6004
|
const {
|
|
6005
6005
|
MUSTACHE_EXPR: B,
|
|
6006
6006
|
ERB_EXPR: I,
|
|
6007
6007
|
TMPLIT_EXPR: m,
|
|
6008
6008
|
DATA_ATTR: F,
|
|
6009
|
-
ARIA_ATTR:
|
|
6009
|
+
ARIA_ATTR: Z,
|
|
6010
6010
|
IS_SCRIPT_OR_DATA: O,
|
|
6011
6011
|
ATTR_WHITESPACE: V,
|
|
6012
6012
|
CUSTOM_ELEMENT: z
|
|
6013
|
-
} =
|
|
6013
|
+
} = Sr;
|
|
6014
6014
|
let {
|
|
6015
6015
|
IS_ALLOWED_URI: $
|
|
6016
|
-
} =
|
|
6017
|
-
const S = gt({}, [...
|
|
6016
|
+
} = Sr, P = null;
|
|
6017
|
+
const S = gt({}, [...kr, ...Ea, ...Sa, ...Ma, ...Rr]);
|
|
6018
6018
|
let Q = null;
|
|
6019
|
-
const J = gt({}, [...
|
|
6019
|
+
const J = gt({}, [...Pr, ...Fa, ...Er, ...Aa]);
|
|
6020
6020
|
let H = Object.seal(Ja(null, {
|
|
6021
6021
|
tagNameCheck: {
|
|
6022
6022
|
writable: !0,
|
|
@@ -6066,13 +6066,13 @@ function cn() {
|
|
|
6066
6066
|
let oe = null;
|
|
6067
6067
|
const gn = ["application/xhtml+xml", "text/html"], vn = "text/html";
|
|
6068
6068
|
let Mt = null, Re = null;
|
|
6069
|
-
const yn = e.createElement("form"),
|
|
6069
|
+
const yn = e.createElement("form"), or = function(k) {
|
|
6070
6070
|
return k instanceof RegExp || k instanceof Function;
|
|
6071
6071
|
}, ba = function() {
|
|
6072
6072
|
let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6073
6073
|
if (!(Re && Re === k)) {
|
|
6074
6074
|
if ((!k || typeof k != "object") && (k = {}), k = se(k), oe = // eslint-disable-next-line unicorn/prefer-includes
|
|
6075
|
-
gn.indexOf(k.PARSER_MEDIA_TYPE) === -1 ? vn : k.PARSER_MEDIA_TYPE, Mt = oe === "application/xhtml+xml" ? Ra : da, P = re(k, "ALLOWED_TAGS") ? gt({}, k.ALLOWED_TAGS, Mt) : S, Q = re(k, "ALLOWED_ATTR") ? gt({}, k.ALLOWED_ATTR, Mt) : J, We = re(k, "ALLOWED_NAMESPACES") ? gt({}, k.ALLOWED_NAMESPACES, Ra) : ya, Xt = re(k, "ADD_URI_SAFE_ATTR") ? gt(se(ve), k.ADD_URI_SAFE_ATTR, Mt) : ve, Ut = re(k, "ADD_DATA_URI_TAGS") ? gt(se(ge), k.ADD_DATA_URI_TAGS, Mt) : ge, vt = re(k, "FORBID_CONTENTS") ? gt({}, k.FORBID_CONTENTS, Mt) : mt, pt = re(k, "FORBID_TAGS") ? gt({}, k.FORBID_TAGS, Mt) : se({}), Tt = re(k, "FORBID_ATTR") ? gt({}, k.FORBID_ATTR, Mt) : se({}), it = re(k, "USE_PROFILES") ? k.USE_PROFILES : !1, dt = k.ALLOW_ARIA_ATTR !== !1, Ct = k.ALLOW_DATA_ATTR !== !1, bt = k.ALLOW_UNKNOWN_PROTOCOLS || !1, xt = k.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Bt = k.SAFE_FOR_TEMPLATES || !1, p = k.SAFE_FOR_XML !== !1, U = k.WHOLE_DOCUMENT || !1, x = k.RETURN_DOM || !1, R = k.RETURN_DOM_FRAGMENT || !1, q = k.RETURN_TRUSTED_TYPE || !1, L = k.FORCE_BODY || !1, X = k.SANITIZE_DOM !== !1, M = k.SANITIZE_NAMED_PROPS || !1, rt = k.KEEP_CONTENT !== !1, et = k.IN_PLACE || !1, $ = k.ALLOWED_URI_REGEXP || An, zt = k.NAMESPACE || qt, ke = k.MATHML_TEXT_INTEGRATION_POINTS || ke, xe = k.HTML_INTEGRATION_POINTS || xe, H = k.CUSTOM_ELEMENT_HANDLING || {}, k.CUSTOM_ELEMENT_HANDLING &&
|
|
6075
|
+
gn.indexOf(k.PARSER_MEDIA_TYPE) === -1 ? vn : k.PARSER_MEDIA_TYPE, Mt = oe === "application/xhtml+xml" ? Ra : da, P = re(k, "ALLOWED_TAGS") ? gt({}, k.ALLOWED_TAGS, Mt) : S, Q = re(k, "ALLOWED_ATTR") ? gt({}, k.ALLOWED_ATTR, Mt) : J, We = re(k, "ALLOWED_NAMESPACES") ? gt({}, k.ALLOWED_NAMESPACES, Ra) : ya, Xt = re(k, "ADD_URI_SAFE_ATTR") ? gt(se(ve), k.ADD_URI_SAFE_ATTR, Mt) : ve, Ut = re(k, "ADD_DATA_URI_TAGS") ? gt(se(ge), k.ADD_DATA_URI_TAGS, Mt) : ge, vt = re(k, "FORBID_CONTENTS") ? gt({}, k.FORBID_CONTENTS, Mt) : mt, pt = re(k, "FORBID_TAGS") ? gt({}, k.FORBID_TAGS, Mt) : se({}), Tt = re(k, "FORBID_ATTR") ? gt({}, k.FORBID_ATTR, Mt) : se({}), it = re(k, "USE_PROFILES") ? k.USE_PROFILES : !1, dt = k.ALLOW_ARIA_ATTR !== !1, Ct = k.ALLOW_DATA_ATTR !== !1, bt = k.ALLOW_UNKNOWN_PROTOCOLS || !1, xt = k.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Bt = k.SAFE_FOR_TEMPLATES || !1, p = k.SAFE_FOR_XML !== !1, U = k.WHOLE_DOCUMENT || !1, x = k.RETURN_DOM || !1, R = k.RETURN_DOM_FRAGMENT || !1, q = k.RETURN_TRUSTED_TYPE || !1, L = k.FORCE_BODY || !1, X = k.SANITIZE_DOM !== !1, M = k.SANITIZE_NAMED_PROPS || !1, rt = k.KEEP_CONTENT !== !1, et = k.IN_PLACE || !1, $ = k.ALLOWED_URI_REGEXP || An, zt = k.NAMESPACE || qt, ke = k.MATHML_TEXT_INTEGRATION_POINTS || ke, xe = k.HTML_INTEGRATION_POINTS || xe, H = k.CUSTOM_ELEMENT_HANDLING || {}, k.CUSTOM_ELEMENT_HANDLING && or(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = k.CUSTOM_ELEMENT_HANDLING.tagNameCheck), k.CUSTOM_ELEMENT_HANDLING && or(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), k.CUSTOM_ELEMENT_HANDLING && typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Bt && (Ct = !1), R && (x = !0), it && (P = gt({}, Rr), Q = [], it.html === !0 && (gt(P, kr), gt(Q, Pr)), it.svg === !0 && (gt(P, Ea), gt(Q, Fa), gt(Q, Aa)), it.svgFilters === !0 && (gt(P, Sa), gt(Q, Fa), gt(Q, Aa)), it.mathMl === !0 && (gt(P, Ma), gt(Q, Er), gt(Q, Aa))), k.ADD_TAGS && (typeof k.ADD_TAGS == "function" ? At.tagCheck = k.ADD_TAGS : (P === S && (P = se(P)), gt(P, k.ADD_TAGS, Mt))), k.ADD_ATTR && (typeof k.ADD_ATTR == "function" ? At.attributeCheck = k.ADD_ATTR : (Q === J && (Q = se(Q)), gt(Q, k.ADD_ATTR, Mt))), k.ADD_URI_SAFE_ATTR && gt(Xt, k.ADD_URI_SAFE_ATTR, Mt), k.FORBID_CONTENTS && (vt === mt && (vt = se(vt)), gt(vt, k.FORBID_CONTENTS, Mt)), k.ADD_FORBID_CONTENTS && (vt === mt && (vt = se(vt)), gt(vt, k.ADD_FORBID_CONTENTS, Mt)), rt && (P["#text"] = !0), U && gt(P, ["html", "head", "body"]), P.table && (gt(P, ["tbody"]), delete pt.tbody), k.TRUSTED_TYPES_POLICY) {
|
|
6076
6076
|
if (typeof k.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
6077
6077
|
throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
6078
6078
|
if (typeof k.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -6082,14 +6082,14 @@ function cn() {
|
|
|
6082
6082
|
T === void 0 && (T = gi(f, n)), T !== null && typeof N == "string" && (N = T.createHTML(""));
|
|
6083
6083
|
Wt && Wt(k), Re = k;
|
|
6084
6084
|
}
|
|
6085
|
-
},
|
|
6085
|
+
}, ir = gt({}, [...Ea, ...Sa, ...ii]), sr = gt({}, [...Ma, ...si]), bn = function(k) {
|
|
6086
6086
|
let at = C(k);
|
|
6087
6087
|
(!at || !at.tagName) && (at = {
|
|
6088
6088
|
namespaceURI: zt,
|
|
6089
6089
|
tagName: "template"
|
|
6090
6090
|
});
|
|
6091
6091
|
const ot = da(k.tagName), Dt = da(at.tagName);
|
|
6092
|
-
return We[k.namespaceURI] ? k.namespaceURI === ce ? at.namespaceURI === qt ? ot === "svg" : at.namespaceURI === Nt ? ot === "svg" && (Dt === "annotation-xml" || ke[Dt]) : !!
|
|
6092
|
+
return We[k.namespaceURI] ? k.namespaceURI === ce ? at.namespaceURI === qt ? ot === "svg" : at.namespaceURI === Nt ? ot === "svg" && (Dt === "annotation-xml" || ke[Dt]) : !!ir[ot] : k.namespaceURI === Nt ? at.namespaceURI === qt ? ot === "math" : at.namespaceURI === ce ? ot === "math" && xe[Dt] : !!sr[ot] : k.namespaceURI === qt ? at.namespaceURI === ce && !xe[Dt] || at.namespaceURI === Nt && !ke[Dt] ? !1 : !sr[ot] && (Ce[ot] || !ir[ot]) : !!(oe === "application/xhtml+xml" && We[k.namespaceURI]) : !1;
|
|
6093
6093
|
}, ie = function(k) {
|
|
6094
6094
|
He(a.removed, {
|
|
6095
6095
|
element: k
|
|
@@ -6122,7 +6122,7 @@ function cn() {
|
|
|
6122
6122
|
at.setAttribute(k, "");
|
|
6123
6123
|
} catch {
|
|
6124
6124
|
}
|
|
6125
|
-
},
|
|
6125
|
+
}, Ar = function(k) {
|
|
6126
6126
|
let at = null, ot = null;
|
|
6127
6127
|
if (L)
|
|
6128
6128
|
k = "<remove></remove>" + k;
|
|
@@ -6146,7 +6146,7 @@ function cn() {
|
|
|
6146
6146
|
}
|
|
6147
6147
|
const Ot = at.body || at.documentElement;
|
|
6148
6148
|
return k && ot && Ot.insertBefore(e.createTextNode(ot), Ot.childNodes[0] || null), zt === qt ? D.call(at, U ? "html" : "body")[0] : U ? at.documentElement : Ot;
|
|
6149
|
-
},
|
|
6149
|
+
}, lr = function(k) {
|
|
6150
6150
|
return _.call(
|
|
6151
6151
|
k.ownerDocument || k,
|
|
6152
6152
|
k,
|
|
@@ -6156,7 +6156,7 @@ function cn() {
|
|
|
6156
6156
|
);
|
|
6157
6157
|
}, wa = function(k) {
|
|
6158
6158
|
return k instanceof d && (typeof k.nodeName != "string" || typeof k.textContent != "string" || typeof k.removeChild != "function" || !(k.attributes instanceof i) || typeof k.removeAttribute != "function" || typeof k.setAttribute != "function" || typeof k.namespaceURI != "string" || typeof k.insertBefore != "function" || typeof k.hasChildNodes != "function");
|
|
6159
|
-
},
|
|
6159
|
+
}, cr = function(k) {
|
|
6160
6160
|
return typeof s == "function" && k instanceof s;
|
|
6161
6161
|
};
|
|
6162
6162
|
function fe(st, k, at) {
|
|
@@ -6164,18 +6164,18 @@ function cn() {
|
|
|
6164
6164
|
ot.call(a, k, at, Re);
|
|
6165
6165
|
});
|
|
6166
6166
|
}
|
|
6167
|
-
const
|
|
6167
|
+
const fr = function(k) {
|
|
6168
6168
|
let at = null;
|
|
6169
|
-
if (fe(
|
|
6169
|
+
if (fe(j.beforeSanitizeElements, k, null), wa(k))
|
|
6170
6170
|
return ie(k), !0;
|
|
6171
6171
|
const ot = Mt(k.nodeName);
|
|
6172
|
-
if (fe(
|
|
6172
|
+
if (fe(j.uponSanitizeElement, k, {
|
|
6173
6173
|
tagName: ot,
|
|
6174
6174
|
allowedTags: P
|
|
6175
|
-
}), p && k.hasChildNodes() && !
|
|
6175
|
+
}), p && k.hasChildNodes() && !cr(k.firstElementChild) && Gt(/<[/\w!]/g, k.innerHTML) && Gt(/<[/\w!]/g, k.textContent) || k.nodeType === Je.progressingInstruction || p && k.nodeType === Je.comment && Gt(/<[/\w]/g, k.data))
|
|
6176
6176
|
return ie(k), !0;
|
|
6177
6177
|
if (!(At.tagCheck instanceof Function && At.tagCheck(ot)) && (!P[ot] || pt[ot])) {
|
|
6178
|
-
if (!pt[ot] &&
|
|
6178
|
+
if (!pt[ot] && dr(ot) && (H.tagNameCheck instanceof RegExp && Gt(H.tagNameCheck, ot) || H.tagNameCheck instanceof Function && H.tagNameCheck(ot)))
|
|
6179
6179
|
return !1;
|
|
6180
6180
|
if (rt && !vt[ot]) {
|
|
6181
6181
|
const Dt = C(k) || k.parentNode, Ot = b(k) || k.childNodes;
|
|
@@ -6193,19 +6193,19 @@ function cn() {
|
|
|
6193
6193
|
at = Ve(at, Dt, " ");
|
|
6194
6194
|
}), k.textContent !== at && (He(a.removed, {
|
|
6195
6195
|
element: k.cloneNode()
|
|
6196
|
-
}), k.textContent = at)), fe(
|
|
6197
|
-
},
|
|
6196
|
+
}), k.textContent = at)), fe(j.afterSanitizeElements, k, null), !1);
|
|
6197
|
+
}, ur = function(k, at, ot) {
|
|
6198
6198
|
if (X && (at === "id" || at === "name") && (ot in e || ot in yn))
|
|
6199
6199
|
return !1;
|
|
6200
6200
|
if (!(Ct && !Tt[at] && Gt(F, at))) {
|
|
6201
|
-
if (!(dt && Gt(
|
|
6201
|
+
if (!(dt && Gt(Z, at))) {
|
|
6202
6202
|
if (!(At.attributeCheck instanceof Function && At.attributeCheck(at, k))) {
|
|
6203
6203
|
if (!Q[at] || Tt[at]) {
|
|
6204
6204
|
if (
|
|
6205
6205
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
6206
6206
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6207
6207
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
6208
|
-
!(
|
|
6208
|
+
!(dr(k) && (H.tagNameCheck instanceof RegExp && Gt(H.tagNameCheck, k) || H.tagNameCheck instanceof Function && H.tagNameCheck(k)) && (H.attributeNameCheck instanceof RegExp && Gt(H.attributeNameCheck, at) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(at, k)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
6209
6209
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6210
6210
|
at === "is" && H.allowCustomizedBuiltInElements && (H.tagNameCheck instanceof RegExp && Gt(H.tagNameCheck, ot) || H.tagNameCheck instanceof Function && H.tagNameCheck(ot)))
|
|
6211
6211
|
)
|
|
@@ -6224,10 +6224,10 @@ function cn() {
|
|
|
6224
6224
|
}
|
|
6225
6225
|
}
|
|
6226
6226
|
return !0;
|
|
6227
|
-
}, ur = function(k) {
|
|
6228
|
-
return k !== "annotation-xml" && Pa(k, z);
|
|
6229
6227
|
}, dr = function(k) {
|
|
6230
|
-
|
|
6228
|
+
return k !== "annotation-xml" && Pa(k, z);
|
|
6229
|
+
}, pr = function(k) {
|
|
6230
|
+
fe(j.beforeSanitizeAttributes, k, null);
|
|
6231
6231
|
const {
|
|
6232
6232
|
attributes: at
|
|
6233
6233
|
} = k;
|
|
@@ -6248,7 +6248,7 @@ function cn() {
|
|
|
6248
6248
|
value: ue
|
|
6249
6249
|
} = Ot, Pe = Mt(Et), xa = ue;
|
|
6250
6250
|
let It = Et === "value" ? xa : ri(xa);
|
|
6251
|
-
if (ot.attrName = Pe, ot.attrValue = It, ot.keepAttr = !0, ot.forceKeepAttr = void 0, fe(
|
|
6251
|
+
if (ot.attrName = Pe, ot.attrValue = It, ot.keepAttr = !0, ot.forceKeepAttr = void 0, fe(j.uponSanitizeAttribute, k, ot), It = ot.attrValue, M && (Pe === "id" || Pe === "name") && (Le(Et, k), It = tt + It), p && Gt(/((--!?|])>)|<\/(style|title|textarea)/i, It)) {
|
|
6252
6252
|
Le(Et, k);
|
|
6253
6253
|
continue;
|
|
6254
6254
|
}
|
|
@@ -6266,16 +6266,16 @@ function cn() {
|
|
|
6266
6266
|
Le(Et, k);
|
|
6267
6267
|
continue;
|
|
6268
6268
|
}
|
|
6269
|
-
Bt && sa([B, I, m], (
|
|
6270
|
-
It = Ve(It,
|
|
6269
|
+
Bt && sa([B, I, m], (mr) => {
|
|
6270
|
+
It = Ve(It, mr, " ");
|
|
6271
6271
|
});
|
|
6272
|
-
const
|
|
6273
|
-
if (!
|
|
6272
|
+
const hr = Mt(k.nodeName);
|
|
6273
|
+
if (!ur(hr, Pe, It)) {
|
|
6274
6274
|
Le(Et, k);
|
|
6275
6275
|
continue;
|
|
6276
6276
|
}
|
|
6277
6277
|
if (T && typeof f == "object" && typeof f.getAttributeType == "function" && !Ht)
|
|
6278
|
-
switch (f.getAttributeType(
|
|
6278
|
+
switch (f.getAttributeType(hr, Pe)) {
|
|
6279
6279
|
case "TrustedHTML": {
|
|
6280
6280
|
It = T.createHTML(It);
|
|
6281
6281
|
break;
|
|
@@ -6287,22 +6287,22 @@ function cn() {
|
|
|
6287
6287
|
}
|
|
6288
6288
|
if (It !== xa)
|
|
6289
6289
|
try {
|
|
6290
|
-
Ht ? k.setAttributeNS(Ht, Et, It) : k.setAttribute(Et, It), wa(k) ? ie(k) :
|
|
6290
|
+
Ht ? k.setAttributeNS(Ht, Et, It) : k.setAttribute(Et, It), wa(k) ? ie(k) : _r(a.removed);
|
|
6291
6291
|
} catch {
|
|
6292
6292
|
Le(Et, k);
|
|
6293
6293
|
}
|
|
6294
6294
|
}
|
|
6295
|
-
fe(
|
|
6295
|
+
fe(j.afterSanitizeAttributes, k, null);
|
|
6296
6296
|
}, wn = function st(k) {
|
|
6297
6297
|
let at = null;
|
|
6298
|
-
const ot =
|
|
6299
|
-
for (fe(
|
|
6300
|
-
fe(
|
|
6301
|
-
fe(
|
|
6298
|
+
const ot = lr(k);
|
|
6299
|
+
for (fe(j.beforeSanitizeShadowDOM, k, null); at = ot.nextNode(); )
|
|
6300
|
+
fe(j.uponSanitizeShadowNode, at, null), fr(at), pr(at), at.content instanceof A && st(at.content);
|
|
6301
|
+
fe(j.afterSanitizeShadowDOM, k, null);
|
|
6302
6302
|
};
|
|
6303
6303
|
return a.sanitize = function(st) {
|
|
6304
6304
|
let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, at = null, ot = null, Dt = null, Ot = null;
|
|
6305
|
-
if (_e = !st, _e && (st = "<!-->"), typeof st != "string" && !
|
|
6305
|
+
if (_e = !st, _e && (st = "<!-->"), typeof st != "string" && !cr(st))
|
|
6306
6306
|
if (typeof st.toString == "function") {
|
|
6307
6307
|
if (st = st.toString(), typeof st != "string")
|
|
6308
6308
|
throw qe("dirty is not a string, aborting");
|
|
@@ -6317,18 +6317,18 @@ function cn() {
|
|
|
6317
6317
|
throw qe("root node is forbidden and cannot be sanitized in-place");
|
|
6318
6318
|
}
|
|
6319
6319
|
} else if (st instanceof s)
|
|
6320
|
-
at =
|
|
6320
|
+
at = Ar("<!---->"), ot = at.ownerDocument.importNode(st, !0), ot.nodeType === Je.element && ot.nodeName === "BODY" || ot.nodeName === "HTML" ? at = ot : at.appendChild(ot);
|
|
6321
6321
|
else {
|
|
6322
6322
|
if (!x && !Bt && !U && // eslint-disable-next-line unicorn/prefer-includes
|
|
6323
6323
|
st.indexOf("<") === -1)
|
|
6324
6324
|
return T && q ? T.createHTML(st) : st;
|
|
6325
|
-
if (at =
|
|
6325
|
+
if (at = Ar(st), !at)
|
|
6326
6326
|
return x ? null : q ? N : "";
|
|
6327
6327
|
}
|
|
6328
6328
|
at && L && ie(at.firstChild);
|
|
6329
|
-
const Et =
|
|
6329
|
+
const Et = lr(et ? st : at);
|
|
6330
6330
|
for (; Dt = Et.nextNode(); )
|
|
6331
|
-
|
|
6331
|
+
fr(Dt), pr(Dt), Dt.content instanceof A && wn(Dt.content);
|
|
6332
6332
|
if (et)
|
|
6333
6333
|
return st;
|
|
6334
6334
|
if (x) {
|
|
@@ -6352,19 +6352,19 @@ function cn() {
|
|
|
6352
6352
|
}, a.isValidAttribute = function(st, k, at) {
|
|
6353
6353
|
Re || ba({});
|
|
6354
6354
|
const ot = Mt(st), Dt = Mt(k);
|
|
6355
|
-
return
|
|
6355
|
+
return ur(ot, Dt, at);
|
|
6356
6356
|
}, a.addHook = function(st, k) {
|
|
6357
|
-
typeof k == "function" && He(
|
|
6357
|
+
typeof k == "function" && He(j[st], k);
|
|
6358
6358
|
}, a.removeHook = function(st, k) {
|
|
6359
6359
|
if (k !== void 0) {
|
|
6360
|
-
const at = ti(
|
|
6361
|
-
return at === -1 ? void 0 : ei(
|
|
6360
|
+
const at = ti(j[st], k);
|
|
6361
|
+
return at === -1 ? void 0 : ei(j[st], at, 1)[0];
|
|
6362
6362
|
}
|
|
6363
|
-
return
|
|
6363
|
+
return _r(j[st]);
|
|
6364
6364
|
}, a.removeHooks = function(st) {
|
|
6365
|
-
|
|
6365
|
+
j[st] = [];
|
|
6366
6366
|
}, a.removeAllHooks = function() {
|
|
6367
|
-
|
|
6367
|
+
j = Mr();
|
|
6368
6368
|
}, a;
|
|
6369
6369
|
}
|
|
6370
6370
|
var fn = cn();
|
|
@@ -6425,7 +6425,7 @@ function vi(t) {
|
|
|
6425
6425
|
}
|
|
6426
6426
|
return a.remove(), s > 0 && A < c;
|
|
6427
6427
|
}
|
|
6428
|
-
function
|
|
6428
|
+
function Fr(t, a, e = {}) {
|
|
6429
6429
|
const o = new DOMParser().parseFromString(fn.sanitize(t), "text/html").body;
|
|
6430
6430
|
un(o);
|
|
6431
6431
|
const n = [], A = nt(e.defaultColor || "#000"), c = {
|
|
@@ -6576,7 +6576,7 @@ function za(t, a, e) {
|
|
|
6576
6576
|
var d = Math.pow(o, 2) * Math.pow(r, 2) + Math.pow(n, 2) * Math.pow(l, 2), g = (t.lArcFlag !== t.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(o, 2) * Math.pow(n, 2) - d) / d)), f = o * r / n * g, h = -n * l / o * g, u = ja([f, h], t.xRot / 180 * be);
|
|
6577
6577
|
t.cX = u[0] + (a + A) / 2, t.cY = u[1] + (e + c) / 2, t.phi1 = Math.atan2((r - h) / n, (l - f) / o), t.phi2 = Math.atan2((-r - h) / n, (-l - f) / o), t.sweepFlag === 0 && t.phi2 > t.phi1 && (t.phi2 -= 2 * be), t.sweepFlag === 1 && t.phi2 < t.phi1 && (t.phi2 += 2 * be), t.phi1 *= 180 / be, t.phi2 *= 180 / be;
|
|
6578
6578
|
}
|
|
6579
|
-
function
|
|
6579
|
+
function Ir(t, a, e) {
|
|
6580
6580
|
ae(t, a, e);
|
|
6581
6581
|
var o = t * t + a * a - e * e;
|
|
6582
6582
|
if (0 > o)
|
|
@@ -6587,13 +6587,13 @@ function Fr(t, a, e) {
|
|
|
6587
6587
|
return [[(t * e + a * n) / (t * t + a * a), (a * e - t * n) / (t * t + a * a)], [(t * e - a * n) / (t * t + a * a), (a * e + t * n) / (t * t + a * a)]];
|
|
6588
6588
|
}
|
|
6589
6589
|
var St, pe = Math.PI / 180;
|
|
6590
|
-
function
|
|
6590
|
+
function zr(t, a, e) {
|
|
6591
6591
|
return (1 - e) * t + e * a;
|
|
6592
6592
|
}
|
|
6593
|
-
function
|
|
6593
|
+
function Or(t, a, e, o) {
|
|
6594
6594
|
return t + Math.cos(o / 180 * be) * a + Math.sin(o / 180 * be) * e;
|
|
6595
6595
|
}
|
|
6596
|
-
function
|
|
6596
|
+
function Ur(t, a, e, o) {
|
|
6597
6597
|
var n = 1e-6, A = a - t, c = e - a, s = 3 * A + 3 * (o - e) - 6 * c, l = 6 * (c - A), r = 3 * A;
|
|
6598
6598
|
return Math.abs(s) < n ? [-r / l] : function(i, d, g) {
|
|
6599
6599
|
g === void 0 && (g = 1e-6);
|
|
@@ -6606,7 +6606,7 @@ function Or(t, a, e, o) {
|
|
|
6606
6606
|
return [-i / 2 - h, -i / 2 + h];
|
|
6607
6607
|
}(l / s, r / s, n);
|
|
6608
6608
|
}
|
|
6609
|
-
function
|
|
6609
|
+
function Gr(t, a, e, o, n) {
|
|
6610
6610
|
var A = 1 - n;
|
|
6611
6611
|
return t * (A * A * A) + a * (3 * A * A * n) + e * (3 * A * n * n) + o * (n * n * n);
|
|
6612
6612
|
}
|
|
@@ -6655,8 +6655,8 @@ function Ur(t, a, e, o, n) {
|
|
|
6655
6655
|
if (_ === 0)
|
|
6656
6656
|
delete f.rX, delete f.rY, delete f.xRot, delete f.lArcFlag, delete f.sweepFlag, f.type = Y.LINE_TO;
|
|
6657
6657
|
else {
|
|
6658
|
-
var w = f.xRot * Math.PI / 180, D = Math.sin(w), W = Math.cos(w),
|
|
6659
|
-
f.rX = Math.abs(_) / Math.sqrt(
|
|
6658
|
+
var w = f.xRot * Math.PI / 180, D = Math.sin(w), W = Math.cos(w), j = 1 / E(f.rX), B = 1 / E(f.rY), I = E(W) * j + E(D) * B, m = 2 * D * W * (j - B), F = E(D) * j + E(W) * B, Z = I * i * i - m * l * i + F * l * l, O = m * (s * i + l * r) - 2 * (I * r * i + F * s * l), V = I * r * r - m * s * r + F * s * s, z = (Math.atan2(O, Z - V) + Math.PI) % Math.PI / 2, $ = Math.sin(z), P = Math.cos(z);
|
|
6659
|
+
f.rX = Math.abs(_) / Math.sqrt(Z * E(P) + O * $ * P + V * E($)), f.rY = Math.abs(_) / Math.sqrt(Z * E($) - O * $ * P + V * E(P)), f.xRot = 180 * z / Math.PI;
|
|
6660
6660
|
}
|
|
6661
6661
|
return f.sweepFlag !== void 0 && 0 > _ && (f.sweepFlag = +!f.sweepFlag), f;
|
|
6662
6662
|
});
|
|
@@ -6721,13 +6721,13 @@ function Ur(t, a, e, o, n) {
|
|
|
6721
6721
|
var f, h, u, y;
|
|
6722
6722
|
i.cX || za(i, d, g);
|
|
6723
6723
|
for (var v = Math.min(i.phi1, i.phi2), b = Math.max(i.phi1, i.phi2) - v, C = Math.ceil(b / 90), T = new Array(C), N = d, E = g, _ = 0; _ < C; _++) {
|
|
6724
|
-
var w =
|
|
6724
|
+
var w = zr(i.phi1, i.phi2, _ / C), D = zr(i.phi1, i.phi2, (_ + 1) / C), W = D - w, j = 4 / 3 * Math.tan(W * pe / 4), B = [Math.cos(w * pe) - j * Math.sin(w * pe), Math.sin(w * pe) + j * Math.cos(w * pe)], I = B[0], m = B[1], F = [Math.cos(D * pe), Math.sin(D * pe)], Z = F[0], O = F[1], V = [Z + j * Math.sin(D * pe), O - j * Math.cos(D * pe)], z = V[0], $ = V[1];
|
|
6725
6725
|
T[_] = { relative: i.relative, type: Y.CURVE_TO };
|
|
6726
6726
|
var P = function(S, Q) {
|
|
6727
6727
|
var J = ja([S * i.rX, Q * i.rY], i.xRot), H = J[0], pt = J[1];
|
|
6728
6728
|
return [i.cX + H, i.cY + pt];
|
|
6729
6729
|
};
|
|
6730
|
-
f = P(I, m), T[_].x1 = f[0], T[_].y1 = f[1], h = P(z, $), T[_].x2 = h[0], T[_].y2 = h[1], u = P(
|
|
6730
|
+
f = P(I, m), T[_].x1 = f[0], T[_].y1 = f[1], h = P(z, $), T[_].x2 = h[0], T[_].y2 = h[1], u = P(Z, O), T[_].x = u[0], T[_].y = u[1], i.relative && (T[_].x1 -= N, T[_].y1 -= E, T[_].x2 -= N, T[_].y2 -= E, T[_].x -= N, T[_].y -= E), N = (y = [T[_].x, T[_].y])[0], E = y[1];
|
|
6731
6731
|
}
|
|
6732
6732
|
return T;
|
|
6733
6733
|
}(s, s.relative ? 0 : l, s.relative ? 0 : r) : s;
|
|
@@ -6752,21 +6752,21 @@ function Ur(t, a, e, o, n) {
|
|
|
6752
6752
|
}
|
|
6753
6753
|
if (u.type & Y.DRAWING_COMMANDS && (y(f), v(h)), u.type & Y.HORIZ_LINE_TO && y(u.x), u.type & Y.VERT_LINE_TO && v(u.y), u.type & Y.LINE_TO && (y(u.x), v(u.y)), u.type & Y.CURVE_TO) {
|
|
6754
6754
|
y(u.x), v(u.y);
|
|
6755
|
-
for (var b = 0, C =
|
|
6756
|
-
0 < (z = C[b]) && 1 > z && y(
|
|
6757
|
-
for (var T = 0, N =
|
|
6758
|
-
0 < (z = N[T]) && 1 > z && v(
|
|
6755
|
+
for (var b = 0, C = Ur(f, u.x1, u.x2, u.x); b < C.length; b++)
|
|
6756
|
+
0 < (z = C[b]) && 1 > z && y(Gr(f, u.x1, u.x2, u.x, z));
|
|
6757
|
+
for (var T = 0, N = Ur(h, u.y1, u.y2, u.y); T < N.length; T++)
|
|
6758
|
+
0 < (z = N[T]) && 1 > z && v(Gr(h, u.y1, u.y2, u.y, z));
|
|
6759
6759
|
}
|
|
6760
6760
|
if (u.type & Y.ARC) {
|
|
6761
6761
|
y(u.x), v(u.y), za(u, f, h);
|
|
6762
|
-
for (var E = u.xRot / 180 * Math.PI, _ = Math.cos(E) * u.rX, w = Math.sin(E) * u.rX, D = -Math.sin(E) * u.rY, W = Math.cos(E) * u.rY,
|
|
6762
|
+
for (var E = u.xRot / 180 * Math.PI, _ = Math.cos(E) * u.rX, w = Math.sin(E) * u.rX, D = -Math.sin(E) * u.rY, W = Math.cos(E) * u.rY, j = u.phi1 < u.phi2 ? [u.phi1, u.phi2] : -180 > u.phi2 ? [u.phi2 + 360, u.phi1 + 360] : [u.phi2, u.phi1], B = j[0], I = j[1], m = function($) {
|
|
6763
6763
|
var P = $[0], S = $[1], Q = 180 * Math.atan2(S, P) / Math.PI;
|
|
6764
6764
|
return Q < B ? Q + 360 : Q;
|
|
6765
|
-
}, F = 0,
|
|
6766
|
-
(z =
|
|
6767
|
-
for (var O = 0, V =
|
|
6765
|
+
}, F = 0, Z = Ir(D, -_, 0).map(m); F < Z.length; F++)
|
|
6766
|
+
(z = Z[F]) > B && z < I && y(Or(u.cX, _, D, z));
|
|
6767
|
+
for (var O = 0, V = Ir(W, -w, 0).map(m); O < V.length; O++) {
|
|
6768
6768
|
var z;
|
|
6769
|
-
(z = V[O]) > B && z < I && v(
|
|
6769
|
+
(z = V[O]) > B && z < I && v(Or(u.cY, w, W, z));
|
|
6770
6770
|
}
|
|
6771
6771
|
}
|
|
6772
6772
|
return g;
|
|
@@ -6815,7 +6815,7 @@ var te, hn = function() {
|
|
|
6815
6815
|
}(), bi = function(t) {
|
|
6816
6816
|
return t === " " || t === " " || t === "\r" || t === `
|
|
6817
6817
|
`;
|
|
6818
|
-
},
|
|
6818
|
+
}, Wr = function(t) {
|
|
6819
6819
|
return "0".charCodeAt(0) <= t.charCodeAt(0) && t.charCodeAt(0) <= "9".charCodeAt(0);
|
|
6820
6820
|
}, wi = function(t) {
|
|
6821
6821
|
function a() {
|
|
@@ -6832,8 +6832,8 @@ var te, hn = function() {
|
|
|
6832
6832
|
for (var A = function(d) {
|
|
6833
6833
|
o.push(d), n.curArgs.length = 0, n.canParseCommandOrComma = !0;
|
|
6834
6834
|
}, c = 0; c < e.length; c++) {
|
|
6835
|
-
var s = e[c], l = !(this.curCommandType !== Y.ARC || this.curArgs.length !== 3 && this.curArgs.length !== 4 || this.curNumber.length !== 1 || this.curNumber !== "0" && this.curNumber !== "1"), r =
|
|
6836
|
-
if (!
|
|
6835
|
+
var s = e[c], l = !(this.curCommandType !== Y.ARC || this.curArgs.length !== 3 && this.curArgs.length !== 4 || this.curNumber.length !== 1 || this.curNumber !== "0" && this.curNumber !== "1"), r = Wr(s) && (this.curNumber === "0" && s === "0" || l);
|
|
6836
|
+
if (!Wr(s) || r)
|
|
6837
6837
|
if (s !== "e" && s !== "E")
|
|
6838
6838
|
if (s !== "-" && s !== "+" || !this.curNumberHasExp || this.curNumberHasExpDigits)
|
|
6839
6839
|
if (s !== "." || this.curNumberHasExp || this.curNumberHasDecimal || l) {
|
|
@@ -6974,7 +6974,7 @@ function Li(t, a, e) {
|
|
|
6974
6974
|
);
|
|
6975
6975
|
}) ? s * a : void 0;
|
|
6976
6976
|
}
|
|
6977
|
-
function
|
|
6977
|
+
function Qr(t, a, e) {
|
|
6978
6978
|
return new Y(t).toAbs().normalizeHVZ().normalizeST().qtToC().aToC().commands.map((n) => {
|
|
6979
6979
|
if (n.type === Y.CLOSE_PATH)
|
|
6980
6980
|
return { close: !0 };
|
|
@@ -6982,7 +6982,7 @@ function Wr(t, a, e) {
|
|
|
6982
6982
|
return n.type === Y.MOVE_TO && (A.moveTo = !0), n.type === Y.CURVE_TO && (A.curve = { type: "cubic", x1: n.x1 * a, y1: n.y1 * e, x2: n.x2 * a, y2: n.y2 * e }), A;
|
|
6983
6983
|
});
|
|
6984
6984
|
}
|
|
6985
|
-
function
|
|
6985
|
+
function Xr(t) {
|
|
6986
6986
|
var g, f;
|
|
6987
6987
|
const a = document.implementation.createDocument("http://www.w3.org/2000/svg", "svg"), e = a.documentElement, o = (h, u, y) => {
|
|
6988
6988
|
const v = a.createElementNS(e.namespaceURI, u);
|
|
@@ -7014,12 +7014,12 @@ function Qr(t) {
|
|
|
7014
7014
|
d += String.fromCharCode(h);
|
|
7015
7015
|
return `data:image/svg+xml;base64,${btoa(d)}`;
|
|
7016
7016
|
}
|
|
7017
|
-
const mn = { solid: "solid", dashed: "dash", dotted: "sysDot" }, Ti = { bar: "bar", column: "bar", line: "line", area: "area", radar: "radar", scatter: "scatter", pie: "pie", ring: "doughnut" },
|
|
7017
|
+
const mn = { solid: "solid", dashed: "dash", dotted: "sysDot" }, Ti = { bar: "bar", column: "bar", line: "line", area: "area", radar: "radar", scatter: "scatter", pie: "pie", ring: "doughnut" }, Hr = { arrow: "arrow", dot: "oval", "": "none" }, Vr = [3, 1, 2, 0];
|
|
7018
7018
|
function Rt(t, a = 1) {
|
|
7019
7019
|
const e = nt(t || "transparent");
|
|
7020
7020
|
return { color: e.toHex(), transparency: 100 * (1 - e.getAlpha() * a) };
|
|
7021
7021
|
}
|
|
7022
|
-
function
|
|
7022
|
+
function qr(t, a) {
|
|
7023
7023
|
return t != null && t.width ? { ...Rt(t.color || "#000"), width: t.width * a, dashType: mn[t.style || "solid"] } : { type: "none" };
|
|
7024
7024
|
}
|
|
7025
7025
|
function Ni(t, a) {
|
|
@@ -7075,11 +7075,11 @@ async function Bi(t, a, e = () => {
|
|
|
7075
7075
|
height: _.height || 40
|
|
7076
7076
|
};
|
|
7077
7077
|
await Zo(w, a[C]);
|
|
7078
|
-
const D = { x: w.left * n, y: w.top * n, w: w.width * n, h: w.height * n }, W = ((l = w.link) == null ? void 0 : l.type) === "slide" ? c.findIndex((m) => m.id === w.link.target) : -1,
|
|
7078
|
+
const D = { x: w.left * n, y: w.top * n, w: w.width * n, h: w.height * n }, W = ((l = w.link) == null ? void 0 : l.type) === "slide" ? c.findIndex((m) => m.id === w.link.target) : -1, j = ((r = w.link) == null ? void 0 : r.type) === "web" ? { url: w.link.target } : W >= 0 ? { slide: W + 1 } : void 0, B = { rotate: w.rotate, flipH: w.flipH, flipV: w.flipV }, I = Ni(w.shadow, A);
|
|
7079
7079
|
switch (w.type) {
|
|
7080
7080
|
case "text": {
|
|
7081
|
-
const m =
|
|
7082
|
-
({ options: z }) => !z.breakLine && !z.bullet && !z.paraSpaceBefore && !z.paraSpaceAfter && Math.abs(z.lineSpacing - O) < 0.01
|
|
7081
|
+
const m = Fr(w.content, A, w), F = w.inset || [0, 0, 0, 0], Z = !w.vertical && m.length > 0 && m.every(({ options: z }) => !z.breakLine && !z.bullet) && vi(w), O = (w.height - F[0] - F[2]) * A, V = !w.vertical && m.length > 0 && m.every(
|
|
7082
|
+
({ options: z }) => !z.breakLine && !z.bullet && !z.paraSpaceBefore && !z.paraSpaceAfter && (w.vAlign === "middle" && Z || Math.abs(z.lineSpacing - O) < 0.01)
|
|
7083
7083
|
);
|
|
7084
7084
|
if (V)
|
|
7085
7085
|
for (const z of m)
|
|
@@ -7087,58 +7087,58 @@ async function Bi(t, a, e = () => {
|
|
|
7087
7087
|
N.addText(m, {
|
|
7088
7088
|
...D,
|
|
7089
7089
|
rotate: w.rotate,
|
|
7090
|
-
hyperlink:
|
|
7090
|
+
hyperlink: j,
|
|
7091
7091
|
shadow: I,
|
|
7092
7092
|
fontSize: 16 * A,
|
|
7093
7093
|
fontFace: pa(w.defaultFontName || "Microsoft YaHei"),
|
|
7094
7094
|
color: Rt(w.defaultColor || "#000").color,
|
|
7095
7095
|
fill: Rt(w.fill, w.opacity),
|
|
7096
|
-
line:
|
|
7097
|
-
margin:
|
|
7096
|
+
line: qr(w.outline, A),
|
|
7097
|
+
margin: Vr.map((z) => F[z] * A),
|
|
7098
7098
|
valign: V ? "middle" : w.vAlign || "top",
|
|
7099
|
-
wrap: !
|
|
7099
|
+
wrap: !Z,
|
|
7100
7100
|
transparency: 100 * (1 - (w.opacity ?? 1)),
|
|
7101
7101
|
vert: w.vertical ? "eaVert" : void 0
|
|
7102
7102
|
});
|
|
7103
7103
|
break;
|
|
7104
7104
|
}
|
|
7105
7105
|
case "image": {
|
|
7106
|
-
const m = { ...D, ...B, data: w.src, hyperlink:
|
|
7106
|
+
const m = { ...D, ...B, data: w.src, hyperlink: j };
|
|
7107
7107
|
if (((i = w.filters) == null ? void 0 : i.opacity) !== void 0 && (m.transparency = 100 - parseFloat(w.filters.opacity)), w.clip) {
|
|
7108
|
-
const [[F,
|
|
7109
|
-
if (!(O > F && V >
|
|
7108
|
+
const [[F, Z], [O, V]] = w.clip.range;
|
|
7109
|
+
if (!(O > F && V > Z))
|
|
7110
7110
|
throw new Error(`第 ${a[C]} 页元素 ${w.id}:图片裁剪范围必须有正面积`);
|
|
7111
|
-
m.w = D.w / (O - F), m.h = D.h / (V -
|
|
7111
|
+
m.w = D.w / (O - F), m.h = D.h / (V - Z), m.sizing = { type: "crop", x: F * m.w, y: Z * m.h, w: D.w, h: D.h }, m.rounding = w.clip.shape === "ellipse";
|
|
7112
7112
|
}
|
|
7113
7113
|
N.addImage(m);
|
|
7114
7114
|
break;
|
|
7115
7115
|
}
|
|
7116
7116
|
case "shape": {
|
|
7117
7117
|
if (w.special || w.gradient || w.pattern)
|
|
7118
|
-
N.addImage({ ...D, ...B, hyperlink:
|
|
7118
|
+
N.addImage({ ...D, ...B, hyperlink: j, shadow: I, data: Xr(w), transparency: 100 * (1 - (w.opacity ?? 1)) });
|
|
7119
7119
|
else {
|
|
7120
|
-
const m = D.w / w.viewBox[0], F = D.h / w.viewBox[1],
|
|
7120
|
+
const m = D.w / w.viewBox[0], F = D.h / w.viewBox[1], Z = Li(w, m, F), O = Z === void 0 ? Ci(w, m) : void 0, V = Z !== void 0 ? o.ShapeType.roundRect : O !== void 0 ? o.ShapeType.trapezoid : o.ShapeType.custGeom;
|
|
7121
7121
|
N.addShape(V, {
|
|
7122
7122
|
...D,
|
|
7123
7123
|
...B,
|
|
7124
|
-
hyperlink:
|
|
7124
|
+
hyperlink: j,
|
|
7125
7125
|
shadow: I,
|
|
7126
7126
|
// PptxGenJS 3.12 用 rectRadius 写 preset 的 adj;梯形同样按最短边换算上底内缩。
|
|
7127
|
-
rectRadius:
|
|
7128
|
-
points: V === o.ShapeType.custGeom ?
|
|
7127
|
+
rectRadius: Z ?? O,
|
|
7128
|
+
points: V === o.ShapeType.custGeom ? Qr(w.path, m, F) : void 0,
|
|
7129
7129
|
fill: Rt(w.fill, w.opacity),
|
|
7130
|
-
line:
|
|
7130
|
+
line: qr(w.outline, A)
|
|
7131
7131
|
});
|
|
7132
7132
|
}
|
|
7133
7133
|
if (w.text) {
|
|
7134
7134
|
const m = w.text, F = m.inset || [8, 8, 8, 8];
|
|
7135
|
-
N.addText(
|
|
7135
|
+
N.addText(Fr(m.content, A, m), {
|
|
7136
7136
|
...D,
|
|
7137
7137
|
rotate: w.rotate,
|
|
7138
7138
|
fontSize: 16 * A,
|
|
7139
7139
|
fontFace: pa(m.defaultFontName || "Microsoft YaHei"),
|
|
7140
7140
|
color: Rt(m.defaultColor || "#000").color,
|
|
7141
|
-
margin:
|
|
7141
|
+
margin: Vr.map((Z) => F[Z] * A),
|
|
7142
7142
|
align: "center",
|
|
7143
7143
|
valign: m.align || "middle"
|
|
7144
7144
|
});
|
|
@@ -7146,21 +7146,20 @@ async function Bi(t, a, e = () => {
|
|
|
7146
7146
|
break;
|
|
7147
7147
|
}
|
|
7148
7148
|
case "line": {
|
|
7149
|
-
const [m, F] = w.start, [
|
|
7149
|
+
const [m, F] = w.start, [Z, O] = w.end, V = {
|
|
7150
7150
|
...Rt(w.color),
|
|
7151
7151
|
width: w.width * A,
|
|
7152
7152
|
dashType: mn[w.style || "solid"],
|
|
7153
|
-
beginArrowType:
|
|
7154
|
-
endArrowType:
|
|
7153
|
+
beginArrowType: Hr[((d = w.points) == null ? void 0 : d[0]) || ""],
|
|
7154
|
+
endArrowType: Hr[((g = w.points) == null ? void 0 : g[1]) || ""]
|
|
7155
7155
|
};
|
|
7156
7156
|
if (!(w.broken || w.broken2 || w.curve || w.cubic)) {
|
|
7157
7157
|
N.addShape(o.ShapeType.line, {
|
|
7158
|
-
x: (w.left + Math.min(m,
|
|
7158
|
+
x: (w.left + Math.min(m, Z)) * n,
|
|
7159
7159
|
y: (w.top + Math.min(F, O)) * n,
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
flipH: j < m,
|
|
7160
|
+
w: Math.abs(Z - m) * n,
|
|
7161
|
+
h: Math.abs(O - F) * n,
|
|
7162
|
+
flipH: Z < m,
|
|
7164
7163
|
flipV: O < F,
|
|
7165
7164
|
line: V,
|
|
7166
7165
|
shadow: I
|
|
@@ -7169,18 +7168,18 @@ async function Bi(t, a, e = () => {
|
|
|
7169
7168
|
}
|
|
7170
7169
|
let $;
|
|
7171
7170
|
if (w.cubic)
|
|
7172
|
-
$ = `C ${w.cubic.flat().join(" ")} ${
|
|
7171
|
+
$ = `C ${w.cubic.flat().join(" ")} ${Z} ${O}`;
|
|
7173
7172
|
else if (w.curve)
|
|
7174
|
-
$ = `Q ${w.curve.join(" ")} ${
|
|
7173
|
+
$ = `Q ${w.curve.join(" ")} ${Z} ${O}`;
|
|
7175
7174
|
else {
|
|
7176
7175
|
const Q = w.broken ? [w.broken] : [];
|
|
7177
7176
|
if (w.broken2) {
|
|
7178
|
-
const J = w.broken2Direction ? w.broken2Direction === "horizontal" : Math.abs(
|
|
7179
|
-
Q.push(...J ? [[w.broken2[0], F], [w.broken2[0], O]] : [[m, w.broken2[1]], [
|
|
7177
|
+
const J = w.broken2Direction ? w.broken2Direction === "horizontal" : Math.abs(Z - m) >= Math.abs(O - F);
|
|
7178
|
+
Q.push(...J ? [[w.broken2[0], F], [w.broken2[0], O]] : [[m, w.broken2[1]], [Z, w.broken2[1]]]);
|
|
7180
7179
|
}
|
|
7181
7180
|
$ = [...Q, w.end].map((J) => `L ${J.join(" ")}`).join(" ");
|
|
7182
7181
|
}
|
|
7183
|
-
const P =
|
|
7182
|
+
const P = Qr(`M ${m} ${F} ${$}`, n, n), S = [w.start, w.end, ...w.broken ? [w.broken] : [], ...w.broken2 ? [w.broken2] : [], ...w.curve ? [w.curve] : [], ...w.cubic || []];
|
|
7184
7183
|
N.addShape(o.ShapeType.custGeom, {
|
|
7185
7184
|
x: D.x,
|
|
7186
7185
|
y: D.y,
|
|
@@ -7193,7 +7192,7 @@ async function Bi(t, a, e = () => {
|
|
|
7193
7192
|
break;
|
|
7194
7193
|
}
|
|
7195
7194
|
case "chart": {
|
|
7196
|
-
const m = w.data.series.map((O, V) => ({ name: w.data.legends[V] || `系列${V + 1}`, labels: w.data.labels, values: O })), F = ["pie", "ring"].includes(w.chartType),
|
|
7195
|
+
const m = w.data.series.map((O, V) => ({ name: w.data.legends[V] || `系列${V + 1}`, labels: w.data.labels, values: O })), F = ["pie", "ring"].includes(w.chartType), Z = {
|
|
7197
7196
|
...D,
|
|
7198
7197
|
showLegend: F || m.length > 1 && w.chartType !== "scatter",
|
|
7199
7198
|
legendPos: "b",
|
|
@@ -7204,7 +7203,7 @@ async function Bi(t, a, e = () => {
|
|
|
7204
7203
|
catAxisLabelColor: Rt(w.textColor || "#000").color,
|
|
7205
7204
|
valAxisLabelColor: Rt(w.textColor || "#000").color
|
|
7206
7205
|
};
|
|
7207
|
-
(f = w.themeColors) != null && f.length && (
|
|
7206
|
+
(f = w.themeColors) != null && f.length && (Z.chartColors = w.themeColors.map((O) => Rt(O).color)), ["bar", "column"].includes(w.chartType) && (Z.barDir = w.chartType === "bar" ? "bar" : "col", (h = w.options) != null && h.stack && (Z.barGrouping = "stacked")), w.chartType === "line" && (Z.lineSmooth = (u = w.options) == null ? void 0 : u.lineSmooth), w.chartType === "scatter" && (Z.lineSize = 0), w.chartType === "ring" && (Z.holeSize = 60), (w.fill || (y = w.outline) != null && y.width) && (Z.plotArea = {}, w.fill && (Z.plotArea.fill = Rt(w.fill)), (v = w.outline) != null && v.width && (Z.plotArea.border = { pt: w.outline.width * A, color: Rt(w.outline.color || "#000").color })), N.addChart(o.ChartType[Ti[w.chartType]], m, Z);
|
|
7208
7207
|
break;
|
|
7209
7208
|
}
|
|
7210
7209
|
case "table": {
|
|
@@ -7233,16 +7232,16 @@ async function Bi(t, a, e = () => {
|
|
|
7233
7232
|
J.fill = Rt(H.color, pt ? 1 : V % 2 ? 0.3 : 0.1);
|
|
7234
7233
|
}
|
|
7235
7234
|
return Q.backcolor && (J.fill = Rt(Q.backcolor)), Q.color && (J.color = Rt(Q.color).color), [{ text: z.text, options: J }];
|
|
7236
|
-
})).filter((O) => O.length),
|
|
7235
|
+
})).filter((O) => O.length), Z = {
|
|
7237
7236
|
...D,
|
|
7238
7237
|
autoPage: !1,
|
|
7239
7238
|
colW: (w.colWidths || w.data[0].map(() => 1 / w.data[0].length)).map((O) => D.w * O)
|
|
7240
7239
|
};
|
|
7241
|
-
w.fill && (
|
|
7240
|
+
w.fill && (Z.fill = Rt(w.fill)), (b = w.outline) != null && b.width && (Z.border = { type: w.outline.style === "solid" || !w.outline.style ? "solid" : "dash", pt: w.outline.width * A, color: Rt(w.outline.color || "#000").color }), N.addTable(F, Z);
|
|
7242
7241
|
break;
|
|
7243
7242
|
}
|
|
7244
7243
|
case "latex":
|
|
7245
|
-
w.path && w.viewBox ? N.addImage({ ...D, data:
|
|
7244
|
+
w.path && w.viewBox ? N.addImage({ ...D, data: Xr(w), hyperlink: j }) : N.addText(w.latex, { ...D, fontFace: "Georgia", fontSize: 20 * A });
|
|
7246
7245
|
break;
|
|
7247
7246
|
case "audio":
|
|
7248
7247
|
case "video":
|
|
@@ -7254,6 +7253,14 @@ async function Bi(t, a, e = () => {
|
|
|
7254
7253
|
}
|
|
7255
7254
|
return o;
|
|
7256
7255
|
}
|
|
7256
|
+
async function Di(t) {
|
|
7257
|
+
let a = !1;
|
|
7258
|
+
for (const e of t.file(/^ppt\/slides\/slide\d+\.xml$/)) {
|
|
7259
|
+
const o = await e.async("string"), n = o.replace(/<p:sp>.*?<\/p:sp>/g, (A) => A.includes('<a:prstGeom prst="line">') ? A.replace("<p:sp>", "<p:cxnSp>").replace("</p:sp>", "</p:cxnSp>").replaceAll("p:nvSpPr", "p:nvCxnSpPr").replaceAll("p:cNvSpPr", "p:cNvCxnSpPr") : A);
|
|
7260
|
+
n !== o && (t.file(e.name, n), a = !0);
|
|
7261
|
+
}
|
|
7262
|
+
return a;
|
|
7263
|
+
}
|
|
7257
7264
|
const $a = {
|
|
7258
7265
|
status: "idle",
|
|
7259
7266
|
completedPages: 0,
|
|
@@ -7264,7 +7271,7 @@ const $a = {
|
|
|
7264
7271
|
function Fe(t) {
|
|
7265
7272
|
Object.assign($a, t), window.dispatchEvent(new window.Event("pptx-export-progress"));
|
|
7266
7273
|
}
|
|
7267
|
-
async function
|
|
7274
|
+
async function _i(t, a = {}) {
|
|
7268
7275
|
if (typeof window > "u" || !window.document)
|
|
7269
7276
|
throw new Error("exportToPptx 需要浏览器环境;请在调用方的浏览器中加载 dist/pptx/exporter.js");
|
|
7270
7277
|
if (["exporting", "writing"].includes($a.status))
|
|
@@ -7274,15 +7281,16 @@ async function Di(t, a = {}) {
|
|
|
7274
7281
|
Ln(t);
|
|
7275
7282
|
const e = Tn(t.slides.length, a.pages), o = structuredClone(t), n = `${o.title}.pptx`;
|
|
7276
7283
|
Fe({ totalPages: e.length, fileName: n }), window.document.fonts && await window.document.fonts.ready;
|
|
7277
|
-
const A = await Bi(o, e, (
|
|
7278
|
-
Fe({ status: "writing" }), await new Promise((
|
|
7279
|
-
|
|
7280
|
-
|
|
7284
|
+
const A = await Bi(o, e, (l) => Fe({ completedPages: l }));
|
|
7285
|
+
Fe({ status: "writing" }), await new Promise((l) => setTimeout(l, 0));
|
|
7286
|
+
let c = await A.write({ outputType: "arraybuffer" });
|
|
7287
|
+
const s = await tr.loadAsync(c);
|
|
7288
|
+
return await Di(s) && (c = await s.generateAsync({ type: "arraybuffer", compression: "DEFLATE" })), Fe({ status: "generated" }), c;
|
|
7281
7289
|
} catch (e) {
|
|
7282
7290
|
throw Fe({ status: "error", errors: [e.message || String(e)] }), e;
|
|
7283
7291
|
}
|
|
7284
7292
|
}
|
|
7285
7293
|
export {
|
|
7286
|
-
|
|
7294
|
+
_i as exportToPptx,
|
|
7287
7295
|
$a as pptxExportState
|
|
7288
7296
|
};
|