@qispace/vue3-player 0.4.68 → 0.4.69
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.
|
@@ -448,8 +448,8 @@ function qr(s, i, a, l, C, d) {
|
|
|
448
448
|
const y = ht(s), Q = y && zl(a);
|
|
449
449
|
if (y && a === "length") {
|
|
450
450
|
const m = Number(l);
|
|
451
|
-
B.forEach((
|
|
452
|
-
(S === "length" || S === jo || !sr(S) && S >= m) && f(
|
|
451
|
+
B.forEach((v, S) => {
|
|
452
|
+
(S === "length" || S === jo || !sr(S) && S >= m) && f(v);
|
|
453
453
|
});
|
|
454
454
|
} else
|
|
455
455
|
switch ((a !== void 0 || B.has(void 0)) && f(B.get(a)), Q && f(B.get(jo)), i) {
|
|
@@ -601,14 +601,14 @@ const my = Array.prototype;
|
|
|
601
601
|
function Yr(s, i, a, l, C, d) {
|
|
602
602
|
const B = Zl(s), f = B !== s && !/* @__PURE__ */ Nn(s), y = B[i];
|
|
603
603
|
if (y !== my[i]) {
|
|
604
|
-
const
|
|
605
|
-
return f ? ar(
|
|
604
|
+
const v = y.apply(s, d);
|
|
605
|
+
return f ? ar(v) : v;
|
|
606
606
|
}
|
|
607
607
|
let Q = a;
|
|
608
|
-
B !== s && (f ? Q = function(
|
|
609
|
-
return a.call(this, Bs(s,
|
|
610
|
-
} : a.length > 2 && (Q = function(
|
|
611
|
-
return a.call(this,
|
|
608
|
+
B !== s && (f ? Q = function(v, S) {
|
|
609
|
+
return a.call(this, Bs(s, v), S, s);
|
|
610
|
+
} : a.length > 2 && (Q = function(v, S) {
|
|
611
|
+
return a.call(this, v, S, s);
|
|
612
612
|
}));
|
|
613
613
|
const m = y.call(B, Q, l);
|
|
614
614
|
return f && C ? C(m) : m;
|
|
@@ -747,9 +747,9 @@ function xy(s, i, a) {
|
|
|
747
747
|
{
|
|
748
748
|
// iterator protocol
|
|
749
749
|
next() {
|
|
750
|
-
const { value:
|
|
751
|
-
return S ? { value:
|
|
752
|
-
value: f ? [m(
|
|
750
|
+
const { value: v, done: S } = Q.next();
|
|
751
|
+
return S ? { value: v, done: S } : {
|
|
752
|
+
value: f ? [m(v[0]), m(v[1])] : m(v),
|
|
753
753
|
done: S
|
|
754
754
|
};
|
|
755
755
|
}
|
|
@@ -784,7 +784,7 @@ function by(s, i) {
|
|
|
784
784
|
},
|
|
785
785
|
forEach(C, d) {
|
|
786
786
|
const B = this, f = B.__v_raw, y = /* @__PURE__ */ Jt(f), Q = i ? AI : s ? Va : ar;
|
|
787
|
-
return !s && Vi(y, "iterate", Zs), f.forEach((m,
|
|
787
|
+
return !s && Vi(y, "iterate", Zs), f.forEach((m, v) => C.call(d, Q(m), Q(v), B));
|
|
788
788
|
}
|
|
789
789
|
};
|
|
790
790
|
return pi(
|
|
@@ -1046,15 +1046,15 @@ function zy(s, i = !1, a = zs) {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
function qy(s, i, a = ri) {
|
|
1048
1048
|
const { immediate: l, deep: C, once: d, scheduler: B, augmentJob: f, call: y } = a, Q = (G) => C ? G : /* @__PURE__ */ Nn(G) || C === !1 || C === 0 ? Vr(G, 1) : Vr(G);
|
|
1049
|
-
let m,
|
|
1050
|
-
if (/* @__PURE__ */ Li(s) ? (
|
|
1049
|
+
let m, v, S, b, D = !1, x = !1;
|
|
1050
|
+
if (/* @__PURE__ */ Li(s) ? (v = () => s.value, D = /* @__PURE__ */ Nn(s)) : /* @__PURE__ */ js(s) ? (v = () => Q(s), D = !0) : ht(s) ? (x = !0, D = s.some((G) => /* @__PURE__ */ js(G) || /* @__PURE__ */ Nn(G)), v = () => s.map((G) => {
|
|
1051
1051
|
if (/* @__PURE__ */ Li(G))
|
|
1052
1052
|
return G.value;
|
|
1053
1053
|
if (/* @__PURE__ */ js(G))
|
|
1054
1054
|
return Q(G);
|
|
1055
1055
|
if (yt(G))
|
|
1056
1056
|
return y ? y(G, 2) : G();
|
|
1057
|
-
})) : yt(s) ? i ?
|
|
1057
|
+
})) : yt(s) ? i ? v = y ? () => y(s, 2) : s : v = () => {
|
|
1058
1058
|
if (S) {
|
|
1059
1059
|
Zr();
|
|
1060
1060
|
try {
|
|
@@ -1070,9 +1070,9 @@ function qy(s, i, a = ri) {
|
|
|
1070
1070
|
} finally {
|
|
1071
1071
|
zs = G;
|
|
1072
1072
|
}
|
|
1073
|
-
} :
|
|
1074
|
-
const G =
|
|
1075
|
-
|
|
1073
|
+
} : v = wr, i && C) {
|
|
1074
|
+
const G = v, W = C === !0 ? 1 / 0 : C;
|
|
1075
|
+
v = () => Vr(G(), W);
|
|
1076
1076
|
}
|
|
1077
1077
|
const F = By(), Y = () => {
|
|
1078
1078
|
m.stop(), F && F.active && BI(F.effects, m);
|
|
@@ -1088,7 +1088,7 @@ function qy(s, i, a = ri) {
|
|
|
1088
1088
|
if (!(!(m.flags & 1) || !m.dirty && !G))
|
|
1089
1089
|
if (i) {
|
|
1090
1090
|
const W = m.run();
|
|
1091
|
-
if (C ||
|
|
1091
|
+
if (C || D || (x ? W.some((H, z) => fs(H, P[z])) : fs(W, P))) {
|
|
1092
1092
|
S && S();
|
|
1093
1093
|
const H = zs;
|
|
1094
1094
|
zs = m;
|
|
@@ -1110,7 +1110,7 @@ function qy(s, i, a = ri) {
|
|
|
1110
1110
|
} else
|
|
1111
1111
|
m.run();
|
|
1112
1112
|
};
|
|
1113
|
-
return f && f(K), m = new tE(
|
|
1113
|
+
return f && f(K), m = new tE(v), m.scheduler = B ? () => B(K, !1) : K, b = (G) => zy(G, !1, m), S = m.onStop = () => {
|
|
1114
1114
|
const G = Nl.get(m);
|
|
1115
1115
|
if (G) {
|
|
1116
1116
|
if (y)
|
|
@@ -1170,8 +1170,8 @@ function $l(s, i, a, l = !0) {
|
|
|
1170
1170
|
for (; f; ) {
|
|
1171
1171
|
const m = f.ec;
|
|
1172
1172
|
if (m) {
|
|
1173
|
-
for (let
|
|
1174
|
-
if (m[
|
|
1173
|
+
for (let v = 0; v < m.length; v++)
|
|
1174
|
+
if (m[v](s, y, Q) === !1)
|
|
1175
1175
|
return;
|
|
1176
1176
|
}
|
|
1177
1177
|
f = f.parent;
|
|
@@ -1361,14 +1361,14 @@ function MI(s, i, a = ri) {
|
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
1363
|
const m = Zi;
|
|
1364
|
-
f.call = (b,
|
|
1365
|
-
let
|
|
1364
|
+
f.call = (b, D, x) => or(b, m, D, x);
|
|
1365
|
+
let v = !1;
|
|
1366
1366
|
d === "post" ? f.scheduler = (b) => {
|
|
1367
1367
|
In(b, m && m.suspense);
|
|
1368
|
-
} : d !== "sync" && (
|
|
1369
|
-
|
|
1368
|
+
} : d !== "sync" && (v = !0, f.scheduler = (b, D) => {
|
|
1369
|
+
D ? b() : DI(b);
|
|
1370
1370
|
}), f.augmentJob = (b) => {
|
|
1371
|
-
i && (b.flags |= 4),
|
|
1371
|
+
i && (b.flags |= 4), v && (b.flags |= 2, m && (b.id = m.uid, b.i = m));
|
|
1372
1372
|
};
|
|
1373
1373
|
const S = qy(s, i, f);
|
|
1374
1374
|
return tg && (Q ? Q.push(S) : y && S()), S;
|
|
@@ -1446,22 +1446,22 @@ const Yn = [Function, Array], yE = {
|
|
|
1446
1446
|
l,
|
|
1447
1447
|
a,
|
|
1448
1448
|
// #11061, ensure enterHooks is fresh after clone
|
|
1449
|
-
(
|
|
1449
|
+
(v) => Q = v
|
|
1450
1450
|
);
|
|
1451
1451
|
y.type !== Wi && $o(y, Q);
|
|
1452
1452
|
let m = a.subTree && vd(a.subTree);
|
|
1453
1453
|
if (m && m.type !== Wi && !qs(m, y) && vE(a).type !== Wi) {
|
|
1454
|
-
let
|
|
1454
|
+
let v = iI(
|
|
1455
1455
|
m,
|
|
1456
1456
|
B,
|
|
1457
1457
|
l,
|
|
1458
1458
|
a
|
|
1459
1459
|
);
|
|
1460
|
-
if ($o(m,
|
|
1461
|
-
return l.isLeaving = !0,
|
|
1462
|
-
l.isLeaving = !1, a.job.flags & 8 || a.update(), delete
|
|
1460
|
+
if ($o(m, v), f === "out-in" && y.type !== Wi)
|
|
1461
|
+
return l.isLeaving = !0, v.afterLeave = () => {
|
|
1462
|
+
l.isLeaving = !1, a.job.flags & 8 || a.update(), delete v.afterLeave, m = void 0;
|
|
1463
1463
|
}, Fh(d);
|
|
1464
|
-
f === "in-out" && y.type !== Wi ?
|
|
1464
|
+
f === "in-out" && y.type !== Wi ? v.delayLeave = (S, b, D) => {
|
|
1465
1465
|
const x = ME(
|
|
1466
1466
|
l,
|
|
1467
1467
|
m
|
|
@@ -1469,7 +1469,7 @@ const Yn = [Function, Array], yE = {
|
|
|
1469
1469
|
x[String(m.key)] = m, S[fr] = () => {
|
|
1470
1470
|
b(), S[fr] = void 0, delete Q.delayedLeave, m = void 0;
|
|
1471
1471
|
}, Q.delayedLeave = () => {
|
|
1472
|
-
|
|
1472
|
+
D(), delete Q.delayedLeave, m = void 0;
|
|
1473
1473
|
};
|
|
1474
1474
|
} : m = void 0;
|
|
1475
1475
|
} else m && (m = void 0);
|
|
@@ -1502,10 +1502,10 @@ function iI(s, i, a, l, C) {
|
|
|
1502
1502
|
onBeforeEnter: y,
|
|
1503
1503
|
onEnter: Q,
|
|
1504
1504
|
onAfterEnter: m,
|
|
1505
|
-
onEnterCancelled:
|
|
1505
|
+
onEnterCancelled: v,
|
|
1506
1506
|
onBeforeLeave: S,
|
|
1507
1507
|
onLeave: b,
|
|
1508
|
-
onAfterLeave:
|
|
1508
|
+
onAfterLeave: D,
|
|
1509
1509
|
onLeaveCancelled: x,
|
|
1510
1510
|
onBeforeAppear: F,
|
|
1511
1511
|
onAppear: Y,
|
|
@@ -1539,10 +1539,10 @@ function iI(s, i, a, l, C) {
|
|
|
1539
1539
|
Ce && qs(s, Ce) && Ce.el[fr] && Ce.el[fr](), H(le, [X]);
|
|
1540
1540
|
},
|
|
1541
1541
|
enter(X) {
|
|
1542
|
-
let le = Q, Ce = m, ee =
|
|
1542
|
+
let le = Q, Ce = m, ee = v;
|
|
1543
1543
|
if (!a.isMounted)
|
|
1544
1544
|
if (d)
|
|
1545
|
-
le = Y || Q, Ce = P || m, ee = K ||
|
|
1545
|
+
le = Y || Q, Ce = P || m, ee = K || v;
|
|
1546
1546
|
else
|
|
1547
1547
|
return;
|
|
1548
1548
|
let Fe = !1;
|
|
@@ -1562,7 +1562,7 @@ function iI(s, i, a, l, C) {
|
|
|
1562
1562
|
H(S, [X]);
|
|
1563
1563
|
let ee = !1;
|
|
1564
1564
|
X[fr] = (Ee) => {
|
|
1565
|
-
ee || (ee = !0, le(), Ee ? H(x, [X]) : H(
|
|
1565
|
+
ee || (ee = !0, le(), Ee ? H(x, [X]) : H(D, [X]), X[fr] = void 0, W[Ce] === s && delete W[Ce]);
|
|
1566
1566
|
};
|
|
1567
1567
|
const Fe = X[fr].bind(null, !1);
|
|
1568
1568
|
W[Ce] = s, b ? z(b, [X, Fe]) : Fe();
|
|
@@ -1647,13 +1647,13 @@ function zo(s, i, a, l, C = !1) {
|
|
|
1647
1647
|
l.shapeFlag & 512 && l.type.__asyncResolved && l.component.subTree.component && zo(s, i, a, l.component.subTree);
|
|
1648
1648
|
return;
|
|
1649
1649
|
}
|
|
1650
|
-
const d = l.shapeFlag & 4 ? nc(l.component) : l.el, B = C ? null : d, { i: f, r: y } = s, Q = i && i.r, m = f.refs === ri ? f.refs = {} : f.refs,
|
|
1650
|
+
const d = l.shapeFlag & 4 ? nc(l.component) : l.el, B = C ? null : d, { i: f, r: y } = s, Q = i && i.r, m = f.refs === ri ? f.refs = {} : f.refs, v = f.setupState, S = /* @__PURE__ */ Jt(v), b = v === ri ? VB : (x) => Dd(m, x) ? !1 : Kt(S, x), D = (x, F) => !(F && Dd(m, F));
|
|
1651
1651
|
if (Q != null && Q !== y) {
|
|
1652
1652
|
if (Md(i), yi(Q))
|
|
1653
|
-
m[Q] = null, b(Q) && (
|
|
1653
|
+
m[Q] = null, b(Q) && (v[Q] = null);
|
|
1654
1654
|
else if (/* @__PURE__ */ Li(Q)) {
|
|
1655
1655
|
const x = i;
|
|
1656
|
-
|
|
1656
|
+
D(Q, x.k) && (Q.value = null), x.k && (m[x.k] = null);
|
|
1657
1657
|
}
|
|
1658
1658
|
}
|
|
1659
1659
|
if (yt(y))
|
|
@@ -1663,18 +1663,18 @@ function zo(s, i, a, l, C = !1) {
|
|
|
1663
1663
|
if (x || F) {
|
|
1664
1664
|
const Y = () => {
|
|
1665
1665
|
if (s.f) {
|
|
1666
|
-
const P = x ? b(y) ?
|
|
1666
|
+
const P = x ? b(y) ? v[y] : m[y] : D() || !s.k ? y.value : m[s.k];
|
|
1667
1667
|
if (C)
|
|
1668
1668
|
ht(P) && BI(P, d);
|
|
1669
1669
|
else if (ht(P))
|
|
1670
1670
|
P.includes(d) || P.push(d);
|
|
1671
1671
|
else if (x)
|
|
1672
|
-
m[y] = [d], b(y) && (
|
|
1672
|
+
m[y] = [d], b(y) && (v[y] = m[y]);
|
|
1673
1673
|
else {
|
|
1674
1674
|
const K = [d];
|
|
1675
|
-
|
|
1675
|
+
D(y, s.k) && (y.value = K), s.k && (m[s.k] = K);
|
|
1676
1676
|
}
|
|
1677
|
-
} else x ? (m[y] = B, b(y) && (
|
|
1677
|
+
} else x ? (m[y] = B, b(y) && (v[y] = B)) : F && (D(y, s.k) && (y.value = B), s.k && (m[s.k] = B));
|
|
1678
1678
|
};
|
|
1679
1679
|
if (B) {
|
|
1680
1680
|
const P = () => {
|
|
@@ -1785,7 +1785,7 @@ function ys(s, i, a, l) {
|
|
|
1785
1785
|
const f = B && /* @__PURE__ */ js(s);
|
|
1786
1786
|
let y = !1, Q = !1;
|
|
1787
1787
|
f && (y = !/* @__PURE__ */ Nn(s), Q = /* @__PURE__ */ Xr(s), s = Zl(s)), C = new Array(s.length);
|
|
1788
|
-
for (let m = 0,
|
|
1788
|
+
for (let m = 0, v = s.length; m < v; m++)
|
|
1789
1789
|
C[m] = i(
|
|
1790
1790
|
y ? Q ? Va(ar(s[m])) : ar(s[m]) : s[m],
|
|
1791
1791
|
m,
|
|
@@ -1895,7 +1895,7 @@ const nI = (s) => s ? AQ(s) ? nc(s) : nI(s.parent) : null, qo = (
|
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
1897
1897
|
const Q = qo[i];
|
|
1898
|
-
let m,
|
|
1898
|
+
let m, v;
|
|
1899
1899
|
if (Q)
|
|
1900
1900
|
return i === "$attrs" && Vi(s.attrs, "get", ""), Q(s);
|
|
1901
1901
|
if (
|
|
@@ -1907,9 +1907,9 @@ const nI = (s) => s ? AQ(s) ? nc(s) : nI(s.parent) : null, qo = (
|
|
|
1907
1907
|
return B[i] = 4, a[i];
|
|
1908
1908
|
if (
|
|
1909
1909
|
// global properties
|
|
1910
|
-
|
|
1910
|
+
v = y.config.globalProperties, Kt(v, i)
|
|
1911
1911
|
)
|
|
1912
|
-
return
|
|
1912
|
+
return v[i];
|
|
1913
1913
|
},
|
|
1914
1914
|
set({ _: s }, i, a) {
|
|
1915
1915
|
const { data: l, setupState: C, ctx: d } = s;
|
|
@@ -1945,10 +1945,10 @@ function Bv(s) {
|
|
|
1945
1945
|
inject: Q,
|
|
1946
1946
|
// lifecycle
|
|
1947
1947
|
created: m,
|
|
1948
|
-
beforeMount:
|
|
1948
|
+
beforeMount: v,
|
|
1949
1949
|
mounted: S,
|
|
1950
1950
|
beforeUpdate: b,
|
|
1951
|
-
updated:
|
|
1951
|
+
updated: D,
|
|
1952
1952
|
activated: x,
|
|
1953
1953
|
deactivated: F,
|
|
1954
1954
|
beforeDestroy: Y,
|
|
@@ -2003,7 +2003,7 @@ function Bv(s) {
|
|
|
2003
2003
|
function me(Qe, tA) {
|
|
2004
2004
|
ht(tA) ? tA.forEach((se) => Qe(se.bind(a))) : tA && Qe(tA.bind(a));
|
|
2005
2005
|
}
|
|
2006
|
-
if (me(av,
|
|
2006
|
+
if (me(av, v), me(es, S), me(RE, b), me(ov, D), me(nv, x), me(rv, F), me(hv, j), me(cv, H), me(lv, z), me(As, P), me(_E, G), me(gv, X), ht(le))
|
|
2007
2007
|
if (le.length) {
|
|
2008
2008
|
const Qe = s.exposed || (s.exposed = {});
|
|
2009
2009
|
le.forEach((tA) => {
|
|
@@ -2190,19 +2190,19 @@ function wv(s, i) {
|
|
|
2190
2190
|
},
|
|
2191
2191
|
set config(m) {
|
|
2192
2192
|
},
|
|
2193
|
-
use(m, ...
|
|
2194
|
-
return B.has(m) || (m && yt(m.install) ? (B.add(m), m.install(Q, ...
|
|
2193
|
+
use(m, ...v) {
|
|
2194
|
+
return B.has(m) || (m && yt(m.install) ? (B.add(m), m.install(Q, ...v)) : yt(m) && (B.add(m), m(Q, ...v))), Q;
|
|
2195
2195
|
},
|
|
2196
2196
|
mixin(m) {
|
|
2197
2197
|
return d.mixins.includes(m) || d.mixins.push(m), Q;
|
|
2198
2198
|
},
|
|
2199
|
-
component(m,
|
|
2200
|
-
return
|
|
2199
|
+
component(m, v) {
|
|
2200
|
+
return v ? (d.components[m] = v, Q) : d.components[m];
|
|
2201
2201
|
},
|
|
2202
|
-
directive(m,
|
|
2203
|
-
return
|
|
2202
|
+
directive(m, v) {
|
|
2203
|
+
return v ? (d.directives[m] = v, Q) : d.directives[m];
|
|
2204
2204
|
},
|
|
2205
|
-
mount(m,
|
|
2205
|
+
mount(m, v, S) {
|
|
2206
2206
|
if (!y) {
|
|
2207
2207
|
const b = Q._ceVNode || aA(l, C);
|
|
2208
2208
|
return b.appContext = d, S === !0 ? S = "svg" : S === !1 && (S = void 0), s(b, m, S), y = !0, Q._container = m, m.__vue_app__ = Q, nc(b.component);
|
|
@@ -2218,16 +2218,16 @@ function wv(s, i) {
|
|
|
2218
2218
|
16
|
|
2219
2219
|
), s(null, Q._container), delete Q._container.__vue_app__);
|
|
2220
2220
|
},
|
|
2221
|
-
provide(m,
|
|
2222
|
-
return d.provides[m] =
|
|
2221
|
+
provide(m, v) {
|
|
2222
|
+
return d.provides[m] = v, Q;
|
|
2223
2223
|
},
|
|
2224
2224
|
runWithContext(m) {
|
|
2225
|
-
const
|
|
2225
|
+
const v = qa;
|
|
2226
2226
|
qa = Q;
|
|
2227
2227
|
try {
|
|
2228
2228
|
return m();
|
|
2229
2229
|
} finally {
|
|
2230
|
-
qa =
|
|
2230
|
+
qa = v;
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
2233
|
};
|
|
@@ -2295,10 +2295,10 @@ function Nd(s) {
|
|
|
2295
2295
|
emit: y,
|
|
2296
2296
|
render: Q,
|
|
2297
2297
|
renderCache: m,
|
|
2298
|
-
props:
|
|
2298
|
+
props: v,
|
|
2299
2299
|
data: S,
|
|
2300
2300
|
setupState: b,
|
|
2301
|
-
ctx:
|
|
2301
|
+
ctx: D,
|
|
2302
2302
|
inheritAttrs: x
|
|
2303
2303
|
} = s, F = Fl(s);
|
|
2304
2304
|
let Y, P;
|
|
@@ -2310,20 +2310,20 @@ function Nd(s) {
|
|
|
2310
2310
|
W,
|
|
2311
2311
|
G,
|
|
2312
2312
|
m,
|
|
2313
|
-
|
|
2313
|
+
v,
|
|
2314
2314
|
b,
|
|
2315
2315
|
S,
|
|
2316
|
-
|
|
2316
|
+
D
|
|
2317
2317
|
)
|
|
2318
2318
|
), P = f;
|
|
2319
2319
|
} else {
|
|
2320
2320
|
const G = i;
|
|
2321
2321
|
Y = pr(
|
|
2322
2322
|
G.length > 1 ? G(
|
|
2323
|
-
|
|
2323
|
+
v,
|
|
2324
2324
|
{ attrs: f, slots: B, emit: y }
|
|
2325
2325
|
) : G(
|
|
2326
|
-
|
|
2326
|
+
v,
|
|
2327
2327
|
null
|
|
2328
2328
|
)
|
|
2329
2329
|
), P = i.props ? f : Mv(f);
|
|
@@ -2363,8 +2363,8 @@ function xv(s, i, a) {
|
|
|
2363
2363
|
return l ? kd(l, B, Q) : !!B;
|
|
2364
2364
|
if (y & 8) {
|
|
2365
2365
|
const m = i.dynamicProps;
|
|
2366
|
-
for (let
|
|
2367
|
-
const S = m[
|
|
2366
|
+
for (let v = 0; v < m.length; v++) {
|
|
2367
|
+
const S = m[v];
|
|
2368
2368
|
if (UE(B, l, S) && !tc(Q, S))
|
|
2369
2369
|
return !0;
|
|
2370
2370
|
}
|
|
@@ -2420,8 +2420,8 @@ function _v(s, i, a, l) {
|
|
|
2420
2420
|
) {
|
|
2421
2421
|
if (B & 8) {
|
|
2422
2422
|
const m = s.vnode.dynamicProps;
|
|
2423
|
-
for (let
|
|
2424
|
-
let S = m[
|
|
2423
|
+
for (let v = 0; v < m.length; v++) {
|
|
2424
|
+
let S = m[v];
|
|
2425
2425
|
if (tc(s.emitsOptions, S))
|
|
2426
2426
|
continue;
|
|
2427
2427
|
const b = i[S];
|
|
@@ -2429,11 +2429,11 @@ function _v(s, i, a, l) {
|
|
|
2429
2429
|
if (Kt(d, S))
|
|
2430
2430
|
b !== d[S] && (d[S] = b, Q = !0);
|
|
2431
2431
|
else {
|
|
2432
|
-
const
|
|
2433
|
-
C[
|
|
2432
|
+
const D = on(S);
|
|
2433
|
+
C[D] = aI(
|
|
2434
2434
|
y,
|
|
2435
2435
|
f,
|
|
2436
|
-
|
|
2436
|
+
D,
|
|
2437
2437
|
b,
|
|
2438
2438
|
s,
|
|
2439
2439
|
!1
|
|
@@ -2446,23 +2446,23 @@ function _v(s, i, a, l) {
|
|
|
2446
2446
|
} else {
|
|
2447
2447
|
YE(s, i, C, d) && (Q = !0);
|
|
2448
2448
|
let m;
|
|
2449
|
-
for (const
|
|
2449
|
+
for (const v in f)
|
|
2450
2450
|
(!i || // for camelCase
|
|
2451
|
-
!Kt(i,
|
|
2451
|
+
!Kt(i, v) && // it's possible the original props was passed in as kebab-case
|
|
2452
2452
|
// and converted to camelCase (#955)
|
|
2453
|
-
((m = On(
|
|
2454
|
-
(a[
|
|
2455
|
-
a[m] !== void 0) && (C[
|
|
2453
|
+
((m = On(v)) === v || !Kt(i, m))) && (y ? a && // for camelCase
|
|
2454
|
+
(a[v] !== void 0 || // for kebab-case
|
|
2455
|
+
a[m] !== void 0) && (C[v] = aI(
|
|
2456
2456
|
y,
|
|
2457
2457
|
f,
|
|
2458
|
-
|
|
2458
|
+
v,
|
|
2459
2459
|
void 0,
|
|
2460
2460
|
s,
|
|
2461
2461
|
!0
|
|
2462
|
-
)) : delete C[
|
|
2462
|
+
)) : delete C[v]);
|
|
2463
2463
|
if (d !== f)
|
|
2464
|
-
for (const
|
|
2465
|
-
(!i || !Kt(i,
|
|
2464
|
+
for (const v in d)
|
|
2465
|
+
(!i || !Kt(i, v)) && (delete d[v], Q = !0);
|
|
2466
2466
|
}
|
|
2467
2467
|
Q && qr(s.attrs, "set", "");
|
|
2468
2468
|
}
|
|
@@ -2480,14 +2480,14 @@ function YE(s, i, a, l) {
|
|
|
2480
2480
|
if (d) {
|
|
2481
2481
|
const y = /* @__PURE__ */ Jt(a), Q = f || ri;
|
|
2482
2482
|
for (let m = 0; m < d.length; m++) {
|
|
2483
|
-
const
|
|
2484
|
-
a[
|
|
2483
|
+
const v = d[m];
|
|
2484
|
+
a[v] = aI(
|
|
2485
2485
|
C,
|
|
2486
2486
|
y,
|
|
2487
|
-
|
|
2488
|
-
Q[
|
|
2487
|
+
v,
|
|
2488
|
+
Q[v],
|
|
2489
2489
|
s,
|
|
2490
|
-
!Kt(Q,
|
|
2490
|
+
!Kt(Q, v)
|
|
2491
2491
|
);
|
|
2492
2492
|
}
|
|
2493
2493
|
}
|
|
@@ -2532,9 +2532,9 @@ function PE(s, i, a = !1) {
|
|
|
2532
2532
|
const d = s.props, B = {}, f = [];
|
|
2533
2533
|
let y = !1;
|
|
2534
2534
|
if (!yt(s)) {
|
|
2535
|
-
const m = (
|
|
2535
|
+
const m = (v) => {
|
|
2536
2536
|
y = !0;
|
|
2537
|
-
const [S, b] = PE(
|
|
2537
|
+
const [S, b] = PE(v, i, !0);
|
|
2538
2538
|
pi(B, S), b && f.push(...b);
|
|
2539
2539
|
};
|
|
2540
2540
|
!a && i.mixins.length && i.mixins.forEach(m), s.extends && m(s.extends), s.mixins && s.mixins.forEach(m);
|
|
@@ -2543,32 +2543,32 @@ function PE(s, i, a = !1) {
|
|
|
2543
2543
|
return jt(s) && l.set(s, Ya), Ya;
|
|
2544
2544
|
if (ht(d))
|
|
2545
2545
|
for (let m = 0; m < d.length; m++) {
|
|
2546
|
-
const
|
|
2547
|
-
Fd(
|
|
2546
|
+
const v = on(d[m]);
|
|
2547
|
+
Fd(v) && (B[v] = ri);
|
|
2548
2548
|
}
|
|
2549
2549
|
else if (d)
|
|
2550
2550
|
for (const m in d) {
|
|
2551
|
-
const
|
|
2552
|
-
if (Fd(
|
|
2553
|
-
const S = d[m], b = B[
|
|
2551
|
+
const v = on(m);
|
|
2552
|
+
if (Fd(v)) {
|
|
2553
|
+
const S = d[m], b = B[v] = ht(S) || yt(S) ? { type: S } : pi({}, S), D = b.type;
|
|
2554
2554
|
let x = !1, F = !0;
|
|
2555
|
-
if (ht(
|
|
2556
|
-
for (let Y = 0; Y <
|
|
2557
|
-
const P =
|
|
2555
|
+
if (ht(D))
|
|
2556
|
+
for (let Y = 0; Y < D.length; ++Y) {
|
|
2557
|
+
const P = D[Y], K = yt(P) && P.name;
|
|
2558
2558
|
if (K === "Boolean") {
|
|
2559
2559
|
x = !0;
|
|
2560
2560
|
break;
|
|
2561
2561
|
} else K === "String" && (F = !1);
|
|
2562
2562
|
}
|
|
2563
2563
|
else
|
|
2564
|
-
x = yt(
|
|
2564
|
+
x = yt(D) && D.name === "Boolean";
|
|
2565
2565
|
b[
|
|
2566
2566
|
0
|
|
2567
2567
|
/* shouldCast */
|
|
2568
2568
|
] = x, b[
|
|
2569
2569
|
1
|
|
2570
2570
|
/* shouldCastTrue */
|
|
2571
|
-
] = F, (x || Kt(b, "default")) && f.push(
|
|
2571
|
+
] = F, (x || Kt(b, "default")) && f.push(v);
|
|
2572
2572
|
}
|
|
2573
2573
|
}
|
|
2574
2574
|
const Q = [B, f];
|
|
@@ -2632,10 +2632,10 @@ function Uv(s, i) {
|
|
|
2632
2632
|
createComment: y,
|
|
2633
2633
|
setText: Q,
|
|
2634
2634
|
setElementText: m,
|
|
2635
|
-
parentNode:
|
|
2635
|
+
parentNode: v,
|
|
2636
2636
|
nextSibling: S,
|
|
2637
2637
|
setScopeId: b = wr,
|
|
2638
|
-
insertStaticContent:
|
|
2638
|
+
insertStaticContent: D
|
|
2639
2639
|
} = s, x = (Z, de, Ge, He = null, Ve = null, eA = null, IA = void 0, QA = null, vA = !!de.dynamicChildren) => {
|
|
2640
2640
|
if (Z === de)
|
|
2641
2641
|
return;
|
|
@@ -2717,7 +2717,7 @@ function Uv(s, i) {
|
|
|
2717
2717
|
He
|
|
2718
2718
|
) : de.el = Z.el;
|
|
2719
2719
|
}, P = (Z, de, Ge, He) => {
|
|
2720
|
-
[Z.el, Z.anchor] =
|
|
2720
|
+
[Z.el, Z.anchor] = D(
|
|
2721
2721
|
Z.children,
|
|
2722
2722
|
de,
|
|
2723
2723
|
Ge,
|
|
@@ -2871,7 +2871,7 @@ function Uv(s, i) {
|
|
|
2871
2871
|
(vA.type === ui || // - In the case of different nodes, there is going to be a replacement
|
|
2872
2872
|
// which also requires the correct parent container
|
|
2873
2873
|
!qs(vA, M) || // - In the case of a component, it could contain anything.
|
|
2874
|
-
vA.shapeFlag & 198) ?
|
|
2874
|
+
vA.shapeFlag & 198) ? v(vA.el) : (
|
|
2875
2875
|
// In other cases, the parent container is not actually used so we
|
|
2876
2876
|
// just pass the block element here to avoid a DOM parentNode call.
|
|
2877
2877
|
Ge
|
|
@@ -3023,7 +3023,7 @@ function Uv(s, i) {
|
|
|
3023
3023
|
xA,
|
|
3024
3024
|
uA,
|
|
3025
3025
|
// parent may have changed if it's in a teleport
|
|
3026
|
-
|
|
3026
|
+
v(xA.el),
|
|
3027
3027
|
// anchor may have changed if it's in a fragment
|
|
3028
3028
|
UA(xA),
|
|
3029
3029
|
Z,
|
|
@@ -4039,10 +4039,10 @@ function sD(s) {
|
|
|
4039
4039
|
appearFromClass: y = d,
|
|
4040
4040
|
appearActiveClass: Q = B,
|
|
4041
4041
|
appearToClass: m = f,
|
|
4042
|
-
leaveFromClass:
|
|
4042
|
+
leaveFromClass: v = `${a}-leave-from`,
|
|
4043
4043
|
leaveActiveClass: S = `${a}-leave-active`,
|
|
4044
4044
|
leaveToClass: b = `${a}-leave-to`
|
|
4045
|
-
} = s,
|
|
4045
|
+
} = s, D = aD(C), x = D && D[0], F = D && D[1], {
|
|
4046
4046
|
onBeforeEnter: Y,
|
|
4047
4047
|
onEnter: P,
|
|
4048
4048
|
onEnterCancelled: K,
|
|
@@ -4054,7 +4054,7 @@ function sD(s) {
|
|
|
4054
4054
|
} = i, X = (ee, Fe, Ee, qe) => {
|
|
4055
4055
|
ee._enterCancelled = qe, Ks(ee, Fe ? m : f), Ks(ee, Fe ? Q : B), Ee && Ee();
|
|
4056
4056
|
}, le = (ee, Fe) => {
|
|
4057
|
-
ee._isLeaving = !1, Ks(ee,
|
|
4057
|
+
ee._isLeaving = !1, Ks(ee, v), Ks(ee, b), Ks(ee, S), Fe && Fe();
|
|
4058
4058
|
}, Ce = (ee) => (Fe, Ee) => {
|
|
4059
4059
|
const qe = ee ? z : P, me = () => X(Fe, ee, Ee);
|
|
4060
4060
|
Os(qe, [Fe, me]), Pd(() => {
|
|
@@ -4073,8 +4073,8 @@ function sD(s) {
|
|
|
4073
4073
|
onLeave(ee, Fe) {
|
|
4074
4074
|
ee._isLeaving = !0;
|
|
4075
4075
|
const Ee = () => le(ee, Fe);
|
|
4076
|
-
Pr(ee,
|
|
4077
|
-
ee._isLeaving && (Ks(ee,
|
|
4076
|
+
Pr(ee, v), ee._enterCancelled ? (Pr(ee, S), qd(ee)) : (qd(ee), Pr(ee, S)), Pd(() => {
|
|
4077
|
+
ee._isLeaving && (Ks(ee, v), Pr(ee, b), Yd(G) || Od(ee, l, F, Ee));
|
|
4078
4078
|
}), Os(G, [ee, Ee]);
|
|
4079
4079
|
},
|
|
4080
4080
|
onEnterCancelled(ee) {
|
|
@@ -4126,25 +4126,25 @@ function Od(s, i, a, l) {
|
|
|
4126
4126
|
return l();
|
|
4127
4127
|
const Q = B + "end";
|
|
4128
4128
|
let m = 0;
|
|
4129
|
-
const
|
|
4129
|
+
const v = () => {
|
|
4130
4130
|
s.removeEventListener(Q, S), d();
|
|
4131
4131
|
}, S = (b) => {
|
|
4132
|
-
b.target === s && ++m >= y &&
|
|
4132
|
+
b.target === s && ++m >= y && v();
|
|
4133
4133
|
};
|
|
4134
4134
|
setTimeout(() => {
|
|
4135
|
-
m < y &&
|
|
4135
|
+
m < y && v();
|
|
4136
4136
|
}, f + 1), s.addEventListener(Q, S);
|
|
4137
4137
|
}
|
|
4138
4138
|
function gD(s, i) {
|
|
4139
|
-
const a = window.getComputedStyle(s), l = (
|
|
4140
|
-
let m = null,
|
|
4141
|
-
i === us ? B > 0 && (m = us,
|
|
4139
|
+
const a = window.getComputedStyle(s), l = (D) => (a[D] || "").split(", "), C = l(`${us}Delay`), d = l(`${us}Duration`), B = Kd(C, d), f = l(`${Lo}Delay`), y = l(`${Lo}Duration`), Q = Kd(f, y);
|
|
4140
|
+
let m = null, v = 0, S = 0;
|
|
4141
|
+
i === us ? B > 0 && (m = us, v = B, S = d.length) : i === Lo ? Q > 0 && (m = Lo, v = Q, S = y.length) : (v = Math.max(B, Q), m = v > 0 ? B > Q ? us : Lo : null, S = m ? m === us ? d.length : y.length : 0);
|
|
4142
4142
|
const b = m === us && /\b(?:transform|all)(?:,|$)/.test(
|
|
4143
4143
|
l(`${us}Property`).toString()
|
|
4144
4144
|
);
|
|
4145
4145
|
return {
|
|
4146
4146
|
type: m,
|
|
4147
|
-
timeout:
|
|
4147
|
+
timeout: v,
|
|
4148
4148
|
propCount: S,
|
|
4149
4149
|
hasTransform: b
|
|
4150
4150
|
};
|
|
@@ -4534,9 +4534,9 @@ class RI extends yD {
|
|
|
4534
4534
|
if (a && y.nodeType === 1) {
|
|
4535
4535
|
const Q = a + "-s", m = document.createTreeWalker(y, 1);
|
|
4536
4536
|
y.setAttribute(Q, "");
|
|
4537
|
-
let
|
|
4538
|
-
for (;
|
|
4539
|
-
|
|
4537
|
+
let v;
|
|
4538
|
+
for (; v = m.nextNode(); )
|
|
4539
|
+
v.setAttribute(Q, "");
|
|
4540
4540
|
}
|
|
4541
4541
|
f.insertBefore(y, C);
|
|
4542
4542
|
}
|
|
@@ -4694,7 +4694,7 @@ const kD = ["src"], FD = /* @__PURE__ */ Lt({
|
|
|
4694
4694
|
});
|
|
4695
4695
|
});
|
|
4696
4696
|
const Q = rt(() => Kn(l.value, a.value.filename));
|
|
4697
|
-
return (m,
|
|
4697
|
+
return (m, v) => (nA(), jA("img", {
|
|
4698
4698
|
ref_key: "image",
|
|
4699
4699
|
ref: d,
|
|
4700
4700
|
style: qt({
|
|
@@ -4745,7 +4745,7 @@ const kD = ["src"], FD = /* @__PURE__ */ Lt({
|
|
|
4745
4745
|
});
|
|
4746
4746
|
});
|
|
4747
4747
|
const Q = rt(() => Kn(l.value, a.value.defaultFilename));
|
|
4748
|
-
return (m,
|
|
4748
|
+
return (m, v) => rA(a).sunsimDayOfYear && s.currentDay ? (nA(), at(UD, {
|
|
4749
4749
|
key: s.currentDay.dayOfYear,
|
|
4750
4750
|
"day-data": s.currentDay,
|
|
4751
4751
|
"cdn-file-resolver": rA(l),
|
|
@@ -4816,7 +4816,7 @@ const qD = {
|
|
|
4816
4816
|
)
|
|
4817
4817
|
);
|
|
4818
4818
|
}), (Q, m) => {
|
|
4819
|
-
const
|
|
4819
|
+
const v = VA("v-btn"), S = VA("v-field"), b = VA("v-list-item-title"), D = VA("v-list-item"), x = VA("v-list"), F = VA("v-menu");
|
|
4820
4820
|
return rA(C).sunsimDayOfYear && rA(C).sunsimDayOfYear.length > 0 ? (nA(), jA("div", qD, [
|
|
4821
4821
|
aA(F, null, {
|
|
4822
4822
|
activator: hA(({ props: Y }) => [
|
|
@@ -4826,7 +4826,7 @@ const qD = {
|
|
|
4826
4826
|
flat: ""
|
|
4827
4827
|
}, {
|
|
4828
4828
|
default: hA(() => [
|
|
4829
|
-
aA(
|
|
4829
|
+
aA(v, ir({
|
|
4830
4830
|
variant: "text",
|
|
4831
4831
|
rounded: "",
|
|
4832
4832
|
flat: "",
|
|
@@ -4848,7 +4848,7 @@ const qD = {
|
|
|
4848
4848
|
default: hA(() => [
|
|
4849
4849
|
aA(x, null, {
|
|
4850
4850
|
default: hA(() => [
|
|
4851
|
-
(nA(!0), jA(ui, null, ys(rA(C).sunsimDayOfYear, (Y, P) => (nA(), at(
|
|
4851
|
+
(nA(!0), jA(ui, null, ys(rA(C).sunsimDayOfYear, (Y, P) => (nA(), at(D, {
|
|
4852
4852
|
key: P,
|
|
4853
4853
|
value: P,
|
|
4854
4854
|
onClick: (K) => y.value = Y.dayOfYear
|
|
@@ -4895,15 +4895,15 @@ const qD = {
|
|
|
4895
4895
|
currentCamera: d,
|
|
4896
4896
|
cdnFileResolver: B,
|
|
4897
4897
|
disabled: f
|
|
4898
|
-
} = /* @__PURE__ */ kn(a), y = /* @__PURE__ */ yA(d.value), Q = /* @__PURE__ */ yA(), m = /* @__PURE__ */ yA(),
|
|
4898
|
+
} = /* @__PURE__ */ kn(a), y = /* @__PURE__ */ yA(d.value), Q = /* @__PURE__ */ yA(), m = /* @__PURE__ */ yA(), v = /* @__PURE__ */ yA(!1), S = i;
|
|
4899
4899
|
pt(
|
|
4900
4900
|
[Q, m],
|
|
4901
4901
|
() => {
|
|
4902
4902
|
if (Q.value && m.value) {
|
|
4903
|
-
const
|
|
4904
|
-
|
|
4903
|
+
const D = new ResizeObserver(([x, F]) => {
|
|
4904
|
+
v.value = F?.contentRect?.width > x?.contentRect?.width;
|
|
4905
4905
|
});
|
|
4906
|
-
|
|
4906
|
+
D.observe(Q.value), D.observe(m.value);
|
|
4907
4907
|
}
|
|
4908
4908
|
},
|
|
4909
4909
|
{ immediate: !0 }
|
|
@@ -4916,13 +4916,13 @@ const qD = {
|
|
|
4916
4916
|
), pt(y, () => {
|
|
4917
4917
|
S(
|
|
4918
4918
|
"onCameraChange",
|
|
4919
|
-
C.value.find((
|
|
4919
|
+
C.value.find((D) => D === y.value)
|
|
4920
4920
|
);
|
|
4921
4921
|
});
|
|
4922
|
-
function b(
|
|
4923
|
-
f.value || (y.value =
|
|
4922
|
+
function b(D) {
|
|
4923
|
+
f.value || (y.value = D);
|
|
4924
4924
|
}
|
|
4925
|
-
return (
|
|
4925
|
+
return (D, x) => {
|
|
4926
4926
|
const F = VA("v-btn"), Y = VA("v-icon");
|
|
4927
4927
|
return nA(), jA("div", {
|
|
4928
4928
|
ref_key: "parent",
|
|
@@ -4934,7 +4934,7 @@ const qD = {
|
|
|
4934
4934
|
enabled: !rA(f)
|
|
4935
4935
|
})
|
|
4936
4936
|
}, [
|
|
4937
|
-
|
|
4937
|
+
v.value ? (nA(), at(F, {
|
|
4938
4938
|
key: 0,
|
|
4939
4939
|
style: { left: "0" },
|
|
4940
4940
|
class: "thumbnail-nav-button",
|
|
@@ -4950,8 +4950,8 @@ const qD = {
|
|
|
4950
4950
|
ref: m,
|
|
4951
4951
|
class: "still-camera-thumbnails-wrapper d-flex justify-center",
|
|
4952
4952
|
style: qt({
|
|
4953
|
-
paddingLeft:
|
|
4954
|
-
paddingRight:
|
|
4953
|
+
paddingLeft: v.value ? "28px" : 0,
|
|
4954
|
+
paddingRight: v.value ? "28px" : 0
|
|
4955
4955
|
})
|
|
4956
4956
|
}, [
|
|
4957
4957
|
(nA(!0), jA(ui, null, ys(rA(C), (P, K) => (nA(), jA("div", {
|
|
@@ -4986,7 +4986,7 @@ const qD = {
|
|
|
4986
4986
|
])) : it("", !0)
|
|
4987
4987
|
], 10, jD))), 128))
|
|
4988
4988
|
], 4),
|
|
4989
|
-
|
|
4989
|
+
v.value ? (nA(), at(F, {
|
|
4990
4990
|
key: 1,
|
|
4991
4991
|
style: { right: "0" },
|
|
4992
4992
|
class: "thumbnail-nav-button",
|
|
@@ -5026,7 +5026,7 @@ const iM = { class: "small" }, nM = { class: "small" }, rM = /* @__PURE__ */ Lt(
|
|
|
5026
5026
|
)
|
|
5027
5027
|
);
|
|
5028
5028
|
}), (Q, m) => {
|
|
5029
|
-
const
|
|
5029
|
+
const v = VA("v-icon"), S = VA("v-slider"), b = VA("v-field");
|
|
5030
5030
|
return nA(), jA("div", {
|
|
5031
5031
|
class: fi({ "d-inline-block": !0, mobile: rA(l) }),
|
|
5032
5032
|
style: qt({
|
|
@@ -5056,7 +5056,7 @@ const iM = { class: "small" }, nM = { class: "small" }, rM = /* @__PURE__ */ Lt(
|
|
|
5056
5056
|
key: 0,
|
|
5057
5057
|
class: "pa-2 pr-2",
|
|
5058
5058
|
modelValue: y.value,
|
|
5059
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
5059
|
+
"onUpdate:modelValue": m[0] || (m[0] = (D) => y.value = D),
|
|
5060
5060
|
min: rA(C).startTime,
|
|
5061
5061
|
max: rA(C).endTime,
|
|
5062
5062
|
step: rA(C).interval,
|
|
@@ -5067,7 +5067,7 @@ const iM = { class: "small" }, nM = { class: "small" }, rM = /* @__PURE__ */ Lt(
|
|
|
5067
5067
|
"hide-details": ""
|
|
5068
5068
|
}, {
|
|
5069
5069
|
prepend: hA(() => [
|
|
5070
|
-
aA(
|
|
5070
|
+
aA(v, {
|
|
5071
5071
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
5072
5072
|
class: "mr-2 icon",
|
|
5073
5073
|
color: "warning"
|
|
@@ -5081,7 +5081,7 @@ const iM = { class: "small" }, nM = { class: "small" }, rM = /* @__PURE__ */ Lt(
|
|
|
5081
5081
|
]),
|
|
5082
5082
|
_: 1
|
|
5083
5083
|
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (nA(), jA(ui, { key: 1 }, [
|
|
5084
|
-
aA(
|
|
5084
|
+
aA(v, {
|
|
5085
5085
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
5086
5086
|
class: "mr-2 icon",
|
|
5087
5087
|
color: "warning"
|
|
@@ -5121,7 +5121,7 @@ const iM = { class: "small" }, nM = { class: "small" }, rM = /* @__PURE__ */ Lt(
|
|
|
5121
5121
|
size: rA(l) ? "x-small" : "small",
|
|
5122
5122
|
flat: "",
|
|
5123
5123
|
icon: "mdi-plus",
|
|
5124
|
-
onClick: Q[0] || (Q[0] = (
|
|
5124
|
+
onClick: Q[0] || (Q[0] = (v) => f("onZoomIn")),
|
|
5125
5125
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
5126
5126
|
}, null, 8, ["disabled", "size"]),
|
|
5127
5127
|
Q[2] || (Q[2] = we("hr", { style: { "border-top": "1px solid #999" } }, null, -1)),
|
|
@@ -5130,7 +5130,7 @@ const iM = { class: "small" }, nM = { class: "small" }, rM = /* @__PURE__ */ Lt(
|
|
|
5130
5130
|
size: rA(l) ? "x-small" : "small",
|
|
5131
5131
|
flat: "",
|
|
5132
5132
|
icon: "mdi-minus",
|
|
5133
|
-
onClick: Q[1] || (Q[1] = (
|
|
5133
|
+
onClick: Q[1] || (Q[1] = (v) => f("onZoomOut")),
|
|
5134
5134
|
style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
|
|
5135
5135
|
}, null, 8, ["disabled", "size"])
|
|
5136
5136
|
]);
|
|
@@ -5484,22 +5484,22 @@ function oc(s, i, a) {
|
|
|
5484
5484
|
const l = a.metaTokens, C = a.visitor || m, d = a.dots, B = a.indexes, y = (a.Blob || typeof Blob < "u" && Blob) && Ze.isSpecCompliantForm(i);
|
|
5485
5485
|
if (!Ze.isFunction(C))
|
|
5486
5486
|
throw new TypeError("visitor must be a function");
|
|
5487
|
-
function Q(
|
|
5488
|
-
if (
|
|
5489
|
-
if (Ze.isDate(
|
|
5490
|
-
return
|
|
5491
|
-
if (Ze.isBoolean(
|
|
5492
|
-
return
|
|
5493
|
-
if (!y && Ze.isBlob(
|
|
5487
|
+
function Q(D) {
|
|
5488
|
+
if (D === null) return "";
|
|
5489
|
+
if (Ze.isDate(D))
|
|
5490
|
+
return D.toISOString();
|
|
5491
|
+
if (Ze.isBoolean(D))
|
|
5492
|
+
return D.toString();
|
|
5493
|
+
if (!y && Ze.isBlob(D))
|
|
5494
5494
|
throw new Et("Blob is not supported. Use a Buffer instead.");
|
|
5495
|
-
return Ze.isArrayBuffer(
|
|
5495
|
+
return Ze.isArrayBuffer(D) || Ze.isTypedArray(D) ? y && typeof Blob == "function" ? new Blob([D]) : Buffer.from(D) : D;
|
|
5496
5496
|
}
|
|
5497
|
-
function m(
|
|
5498
|
-
let Y =
|
|
5499
|
-
if (
|
|
5497
|
+
function m(D, x, F) {
|
|
5498
|
+
let Y = D;
|
|
5499
|
+
if (D && !F && typeof D == "object") {
|
|
5500
5500
|
if (Ze.endsWith(x, "{}"))
|
|
5501
|
-
x = l ? x : x.slice(0, -2),
|
|
5502
|
-
else if (Ze.isArray(
|
|
5501
|
+
x = l ? x : x.slice(0, -2), D = JSON.stringify(D);
|
|
5502
|
+
else if (Ze.isArray(D) && ZM(D) || (Ze.isFileList(D) || Ze.endsWith(x, "[]")) && (Y = Ze.toArray(D)))
|
|
5503
5503
|
return x = BQ(x), Y.forEach(function(K, G) {
|
|
5504
5504
|
!(Ze.isUndefined(K) || K === null) && i.append(
|
|
5505
5505
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -5508,18 +5508,18 @@ function oc(s, i, a) {
|
|
|
5508
5508
|
);
|
|
5509
5509
|
}), !1;
|
|
5510
5510
|
}
|
|
5511
|
-
return cI(
|
|
5511
|
+
return cI(D) ? !0 : (i.append(lB(F, x, d), Q(D)), !1);
|
|
5512
5512
|
}
|
|
5513
|
-
const
|
|
5513
|
+
const v = [], S = Object.assign(jM, {
|
|
5514
5514
|
defaultVisitor: m,
|
|
5515
5515
|
convertValue: Q,
|
|
5516
5516
|
isVisitable: cI
|
|
5517
5517
|
});
|
|
5518
|
-
function b(
|
|
5519
|
-
if (!Ze.isUndefined(
|
|
5520
|
-
if (
|
|
5518
|
+
function b(D, x) {
|
|
5519
|
+
if (!Ze.isUndefined(D)) {
|
|
5520
|
+
if (v.indexOf(D) !== -1)
|
|
5521
5521
|
throw Error("Circular reference detected in " + x.join("."));
|
|
5522
|
-
|
|
5522
|
+
v.push(D), Ze.forEach(D, function(Y, P) {
|
|
5523
5523
|
(!(Ze.isUndefined(Y) || Y === null) && C.call(
|
|
5524
5524
|
i,
|
|
5525
5525
|
Y,
|
|
@@ -5527,7 +5527,7 @@ function oc(s, i, a) {
|
|
|
5527
5527
|
x,
|
|
5528
5528
|
S
|
|
5529
5529
|
)) === !0 && b(Y, x ? x.concat(P) : [P]);
|
|
5530
|
-
}),
|
|
5530
|
+
}), v.pop();
|
|
5531
5531
|
}
|
|
5532
5532
|
}
|
|
5533
5533
|
if (!Ze.isObject(s))
|
|
@@ -5847,8 +5847,8 @@ let dn = class {
|
|
|
5847
5847
|
const m = Uo(y);
|
|
5848
5848
|
if (!m)
|
|
5849
5849
|
throw new Error("header name must be a non-empty string");
|
|
5850
|
-
const
|
|
5851
|
-
(!
|
|
5850
|
+
const v = Ze.findKey(C, m);
|
|
5851
|
+
(!v || C[v] === void 0 || Q === !0 || Q === void 0 && C[v] !== !1) && (C[v || y] = bl(f));
|
|
5852
5852
|
}
|
|
5853
5853
|
const B = (f, y) => Ze.forEach(f, (Q, m) => d(Q, m, y));
|
|
5854
5854
|
if (Ze.isPlainObject(i) || i instanceof this.constructor)
|
|
@@ -6019,9 +6019,9 @@ function ES(s, i) {
|
|
|
6019
6019
|
return i = i !== void 0 ? i : 1e3, function(y) {
|
|
6020
6020
|
const Q = Date.now(), m = l[d];
|
|
6021
6021
|
B || (B = Q), a[C] = y, l[C] = Q;
|
|
6022
|
-
let
|
|
6023
|
-
for (;
|
|
6024
|
-
S += a[
|
|
6022
|
+
let v = d, S = 0;
|
|
6023
|
+
for (; v !== C; )
|
|
6024
|
+
S += a[v++], v = v % s;
|
|
6025
6025
|
if (C = (C + 1) % s, C === d && (d = (d + 1) % s), Q - B < i)
|
|
6026
6026
|
return;
|
|
6027
6027
|
const b = m && Q - m;
|
|
@@ -6034,10 +6034,10 @@ function QS(s, i) {
|
|
|
6034
6034
|
a = m, C = null, d && (clearTimeout(d), d = null), s(...Q);
|
|
6035
6035
|
};
|
|
6036
6036
|
return [(...Q) => {
|
|
6037
|
-
const m = Date.now(),
|
|
6038
|
-
|
|
6037
|
+
const m = Date.now(), v = m - a;
|
|
6038
|
+
v >= l ? B(Q, m) : (C = Q, d || (d = setTimeout(() => {
|
|
6039
6039
|
d = null, B(C);
|
|
6040
|
-
}, l -
|
|
6040
|
+
}, l - v)));
|
|
6041
6041
|
}, () => C && B(C)];
|
|
6042
6042
|
}
|
|
6043
6043
|
const Yl = (s, i, a = 3) => {
|
|
@@ -6046,7 +6046,7 @@ const Yl = (s, i, a = 3) => {
|
|
|
6046
6046
|
return QS((d) => {
|
|
6047
6047
|
const B = d.loaded, f = d.lengthComputable ? d.total : void 0, y = B - l, Q = C(y), m = B <= f;
|
|
6048
6048
|
l = B;
|
|
6049
|
-
const
|
|
6049
|
+
const v = {
|
|
6050
6050
|
loaded: B,
|
|
6051
6051
|
total: f,
|
|
6052
6052
|
progress: f ? B / f : void 0,
|
|
@@ -6057,7 +6057,7 @@ const Yl = (s, i, a = 3) => {
|
|
|
6057
6057
|
lengthComputable: f != null,
|
|
6058
6058
|
[i ? "download" : "upload"]: !0
|
|
6059
6059
|
};
|
|
6060
|
-
s(
|
|
6060
|
+
s(v);
|
|
6061
6061
|
}, a);
|
|
6062
6062
|
}, uB = (s, i) => {
|
|
6063
6063
|
const a = s != null;
|
|
@@ -6112,14 +6112,14 @@ const dB = (s) => s instanceof dn ? { ...s } : s;
|
|
|
6112
6112
|
function $s(s, i) {
|
|
6113
6113
|
i = i || {};
|
|
6114
6114
|
const a = {};
|
|
6115
|
-
function l(Q, m,
|
|
6115
|
+
function l(Q, m, v, S) {
|
|
6116
6116
|
return Ze.isPlainObject(Q) && Ze.isPlainObject(m) ? Ze.merge.call({ caseless: S }, Q, m) : Ze.isPlainObject(m) ? Ze.merge({}, m) : Ze.isArray(m) ? m.slice() : m;
|
|
6117
6117
|
}
|
|
6118
|
-
function C(Q, m,
|
|
6118
|
+
function C(Q, m, v, S) {
|
|
6119
6119
|
if (Ze.isUndefined(m)) {
|
|
6120
6120
|
if (!Ze.isUndefined(Q))
|
|
6121
|
-
return l(void 0, Q,
|
|
6122
|
-
} else return l(Q, m,
|
|
6121
|
+
return l(void 0, Q, v, S);
|
|
6122
|
+
} else return l(Q, m, v, S);
|
|
6123
6123
|
}
|
|
6124
6124
|
function d(Q, m) {
|
|
6125
6125
|
if (!Ze.isUndefined(m))
|
|
@@ -6131,10 +6131,10 @@ function $s(s, i) {
|
|
|
6131
6131
|
return l(void 0, Q);
|
|
6132
6132
|
} else return l(void 0, m);
|
|
6133
6133
|
}
|
|
6134
|
-
function f(Q, m,
|
|
6135
|
-
if (
|
|
6134
|
+
function f(Q, m, v) {
|
|
6135
|
+
if (v in i)
|
|
6136
6136
|
return l(Q, m);
|
|
6137
|
-
if (
|
|
6137
|
+
if (v in s)
|
|
6138
6138
|
return l(void 0, Q);
|
|
6139
6139
|
}
|
|
6140
6140
|
const y = {
|
|
@@ -6166,15 +6166,15 @@ function $s(s, i) {
|
|
|
6166
6166
|
socketPath: B,
|
|
6167
6167
|
responseEncoding: B,
|
|
6168
6168
|
validateStatus: f,
|
|
6169
|
-
headers: (Q, m,
|
|
6169
|
+
headers: (Q, m, v) => C(dB(Q), dB(m), v, !0)
|
|
6170
6170
|
};
|
|
6171
6171
|
return Ze.forEach(
|
|
6172
6172
|
Object.keys({ ...s, ...i }),
|
|
6173
6173
|
function(m) {
|
|
6174
6174
|
if (m === "__proto__" || m === "constructor" || m === "prototype")
|
|
6175
6175
|
return;
|
|
6176
|
-
const
|
|
6177
|
-
Ze.isUndefined(S) &&
|
|
6176
|
+
const v = Ze.hasOwnProp(y, m) ? y[m] : C, S = v(s[m], i[m], m);
|
|
6177
|
+
Ze.isUndefined(S) && v !== f || (a[m] = S);
|
|
6178
6178
|
}
|
|
6179
6179
|
), a;
|
|
6180
6180
|
}
|
|
@@ -6189,8 +6189,8 @@ const yQ = (s) => {
|
|
|
6189
6189
|
B.setContentType(void 0);
|
|
6190
6190
|
else if (Ze.isFunction(a.getHeaders)) {
|
|
6191
6191
|
const y = a.getHeaders(), Q = ["content-type", "content-length"];
|
|
6192
|
-
Object.entries(y).forEach(([m,
|
|
6193
|
-
Q.includes(m.toLowerCase()) && B.set(m,
|
|
6192
|
+
Object.entries(y).forEach(([m, v]) => {
|
|
6193
|
+
Q.includes(m.toLowerCase()) && B.set(m, v);
|
|
6194
6194
|
});
|
|
6195
6195
|
}
|
|
6196
6196
|
}
|
|
@@ -6204,9 +6204,9 @@ const yQ = (s) => {
|
|
|
6204
6204
|
const C = yQ(s);
|
|
6205
6205
|
let d = C.data;
|
|
6206
6206
|
const B = dn.from(C.headers).normalize();
|
|
6207
|
-
let { responseType: f, onUploadProgress: y, onDownloadProgress: Q } = C, m,
|
|
6207
|
+
let { responseType: f, onUploadProgress: y, onDownloadProgress: Q } = C, m, v, S, b, D;
|
|
6208
6208
|
function x() {
|
|
6209
|
-
b && b(),
|
|
6209
|
+
b && b(), D && D(), C.cancelToken && C.cancelToken.unsubscribe(m), C.signal && C.signal.removeEventListener("abort", m);
|
|
6210
6210
|
}
|
|
6211
6211
|
let F = new XMLHttpRequest();
|
|
6212
6212
|
F.open(C.method.toUpperCase(), C.url, !0), F.timeout = C.timeout;
|
|
@@ -6247,7 +6247,7 @@ const yQ = (s) => {
|
|
|
6247
6247
|
)), F = null;
|
|
6248
6248
|
}, d === void 0 && B.setContentType(null), "setRequestHeader" in F && Ze.forEach(B.toJSON(), function(G, W) {
|
|
6249
6249
|
F.setRequestHeader(W, G);
|
|
6250
|
-
}), Ze.isUndefined(C.withCredentials) || (F.withCredentials = !!C.withCredentials), f && f !== "json" && (F.responseType = C.responseType), Q && ([S,
|
|
6250
|
+
}), Ze.isUndefined(C.withCredentials) || (F.withCredentials = !!C.withCredentials), f && f !== "json" && (F.responseType = C.responseType), Q && ([S, D] = Yl(Q, !0), F.addEventListener("progress", S)), y && F.upload && ([v, b] = Yl(y), F.upload.addEventListener("progress", v), F.upload.addEventListener("loadend", b)), (C.cancelToken || C.signal) && (m = (K) => {
|
|
6251
6251
|
F && (l(!K || K.type ? new cg(null, s, F) : K), F.abort(), F = null);
|
|
6252
6252
|
}, C.cancelToken && C.cancelToken.subscribe(m), C.signal && (C.signal.aborted ? m() : C.signal.addEventListener("abort", m)));
|
|
6253
6253
|
const P = BS(C.url);
|
|
@@ -6321,9 +6321,9 @@ const yQ = (s) => {
|
|
|
6321
6321
|
f(), y.close();
|
|
6322
6322
|
return;
|
|
6323
6323
|
}
|
|
6324
|
-
let
|
|
6324
|
+
let v = m.byteLength;
|
|
6325
6325
|
if (a) {
|
|
6326
|
-
let S = d +=
|
|
6326
|
+
let S = d += v;
|
|
6327
6327
|
a(S);
|
|
6328
6328
|
}
|
|
6329
6329
|
y.enqueue(new Uint8Array(m));
|
|
@@ -6356,46 +6356,46 @@ const yQ = (s) => {
|
|
|
6356
6356
|
const { fetch: i, Request: a, Response: l } = s, C = i ? Ql(i) : typeof fetch == "function", d = Ql(a), B = Ql(l);
|
|
6357
6357
|
if (!C)
|
|
6358
6358
|
return !1;
|
|
6359
|
-
const f = C && Ql(QB), y = C && (typeof fB == "function" ? /* @__PURE__ */ ((
|
|
6360
|
-
let
|
|
6359
|
+
const f = C && Ql(QB), y = C && (typeof fB == "function" ? /* @__PURE__ */ ((D) => (x) => D.encode(x))(new fB()) : async (D) => new Uint8Array(await new a(D).arrayBuffer())), Q = d && f && pB(() => {
|
|
6360
|
+
let D = !1;
|
|
6361
6361
|
const x = new a(ji.origin, {
|
|
6362
6362
|
body: new QB(),
|
|
6363
6363
|
method: "POST",
|
|
6364
6364
|
get duplex() {
|
|
6365
|
-
return
|
|
6365
|
+
return D = !0, "half";
|
|
6366
6366
|
}
|
|
6367
6367
|
}).headers.has("Content-Type");
|
|
6368
|
-
return
|
|
6369
|
-
}), m = B && f && pB(() => Ze.isReadableStream(new l("").body)),
|
|
6370
|
-
stream: m && ((
|
|
6368
|
+
return D && !x;
|
|
6369
|
+
}), m = B && f && pB(() => Ze.isReadableStream(new l("").body)), v = {
|
|
6370
|
+
stream: m && ((D) => D.body)
|
|
6371
6371
|
};
|
|
6372
|
-
C && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((
|
|
6373
|
-
!D
|
|
6374
|
-
let Y = x && x[
|
|
6372
|
+
C && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((D) => {
|
|
6373
|
+
!v[D] && (v[D] = (x, F) => {
|
|
6374
|
+
let Y = x && x[D];
|
|
6375
6375
|
if (Y)
|
|
6376
6376
|
return Y.call(x);
|
|
6377
|
-
throw new Et(`Response type '${
|
|
6377
|
+
throw new Et(`Response type '${D}' is not supported`, Et.ERR_NOT_SUPPORT, F);
|
|
6378
6378
|
});
|
|
6379
6379
|
});
|
|
6380
|
-
const S = async (
|
|
6381
|
-
if (
|
|
6380
|
+
const S = async (D) => {
|
|
6381
|
+
if (D == null)
|
|
6382
6382
|
return 0;
|
|
6383
|
-
if (Ze.isBlob(
|
|
6384
|
-
return
|
|
6385
|
-
if (Ze.isSpecCompliantForm(
|
|
6383
|
+
if (Ze.isBlob(D))
|
|
6384
|
+
return D.size;
|
|
6385
|
+
if (Ze.isSpecCompliantForm(D))
|
|
6386
6386
|
return (await new a(ji.origin, {
|
|
6387
6387
|
method: "POST",
|
|
6388
|
-
body:
|
|
6388
|
+
body: D
|
|
6389
6389
|
}).arrayBuffer()).byteLength;
|
|
6390
|
-
if (Ze.isArrayBufferView(
|
|
6391
|
-
return
|
|
6392
|
-
if (Ze.isURLSearchParams(
|
|
6393
|
-
return (await y(
|
|
6394
|
-
}, b = async (
|
|
6395
|
-
const F = Ze.toFiniteNumber(
|
|
6390
|
+
if (Ze.isArrayBufferView(D) || Ze.isArrayBuffer(D))
|
|
6391
|
+
return D.byteLength;
|
|
6392
|
+
if (Ze.isURLSearchParams(D) && (D = D + ""), Ze.isString(D))
|
|
6393
|
+
return (await y(D)).byteLength;
|
|
6394
|
+
}, b = async (D, x) => {
|
|
6395
|
+
const F = Ze.toFiniteNumber(D.getContentLength());
|
|
6396
6396
|
return F ?? S(x);
|
|
6397
6397
|
};
|
|
6398
|
-
return async (
|
|
6398
|
+
return async (D) => {
|
|
6399
6399
|
let {
|
|
6400
6400
|
url: x,
|
|
6401
6401
|
method: F,
|
|
@@ -6409,7 +6409,7 @@ const yQ = (s) => {
|
|
|
6409
6409
|
headers: j,
|
|
6410
6410
|
withCredentials: X = "same-origin",
|
|
6411
6411
|
fetchOptions: le
|
|
6412
|
-
} = yQ(
|
|
6412
|
+
} = yQ(D), Ce = i || fetch;
|
|
6413
6413
|
z = z ? (z + "").toLowerCase() : "text";
|
|
6414
6414
|
let ee = DS([P, K && K.toAbortSignal()], G), Fe = null;
|
|
6415
6415
|
const Ee = ee && ee.unsubscribe && (() => {
|
|
@@ -6461,24 +6461,24 @@ const yQ = (s) => {
|
|
|
6461
6461
|
);
|
|
6462
6462
|
}
|
|
6463
6463
|
z = z || "text";
|
|
6464
|
-
let be = await
|
|
6464
|
+
let be = await v[Ze.findKey(v, z) || "text"](tA, D);
|
|
6465
6465
|
return !se && Ee && Ee(), await new Promise((T, De) => {
|
|
6466
6466
|
mQ(T, De, {
|
|
6467
6467
|
data: be,
|
|
6468
6468
|
headers: dn.from(tA.headers),
|
|
6469
6469
|
status: tA.status,
|
|
6470
6470
|
statusText: tA.statusText,
|
|
6471
|
-
config:
|
|
6471
|
+
config: D,
|
|
6472
6472
|
request: Fe
|
|
6473
6473
|
});
|
|
6474
6474
|
});
|
|
6475
6475
|
} catch (me) {
|
|
6476
6476
|
throw Ee && Ee(), me && me.name === "TypeError" && /Load failed|fetch/i.test(me.message) ? Object.assign(
|
|
6477
|
-
new Et("Network Error", Et.ERR_NETWORK,
|
|
6477
|
+
new Et("Network Error", Et.ERR_NETWORK, D, Fe, me && me.response),
|
|
6478
6478
|
{
|
|
6479
6479
|
cause: me.cause || me
|
|
6480
6480
|
}
|
|
6481
|
-
) : Et.from(me, me && me.code,
|
|
6481
|
+
) : Et.from(me, me && me.code, D, Fe, me && me.response);
|
|
6482
6482
|
}
|
|
6483
6483
|
};
|
|
6484
6484
|
}, _S = /* @__PURE__ */ new Map(), vQ = (s) => {
|
|
@@ -6677,8 +6677,8 @@ let Xs = class {
|
|
|
6677
6677
|
);
|
|
6678
6678
|
d && Ze.forEach(
|
|
6679
6679
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
6680
|
-
(
|
|
6681
|
-
delete d[
|
|
6680
|
+
(D) => {
|
|
6681
|
+
delete d[D];
|
|
6682
6682
|
}
|
|
6683
6683
|
), a.headers = dn.concat(B, d);
|
|
6684
6684
|
const f = [];
|
|
@@ -6694,19 +6694,19 @@ let Xs = class {
|
|
|
6694
6694
|
this.interceptors.response.forEach(function(x) {
|
|
6695
6695
|
Q.push(x.fulfilled, x.rejected);
|
|
6696
6696
|
});
|
|
6697
|
-
let m,
|
|
6697
|
+
let m, v = 0, S;
|
|
6698
6698
|
if (!y) {
|
|
6699
|
-
const
|
|
6700
|
-
for (
|
|
6701
|
-
m = m.then(v
|
|
6699
|
+
const D = [wB.bind(this), void 0];
|
|
6700
|
+
for (D.unshift(...f), D.push(...Q), S = D.length, m = Promise.resolve(a); v < S; )
|
|
6701
|
+
m = m.then(D[v++], D[v++]);
|
|
6702
6702
|
return m;
|
|
6703
6703
|
}
|
|
6704
6704
|
S = f.length;
|
|
6705
6705
|
let b = a;
|
|
6706
|
-
for (;
|
|
6707
|
-
const
|
|
6706
|
+
for (; v < S; ) {
|
|
6707
|
+
const D = f[v++], x = f[v++];
|
|
6708
6708
|
try {
|
|
6709
|
-
b =
|
|
6709
|
+
b = D(b);
|
|
6710
6710
|
} catch (F) {
|
|
6711
6711
|
x.call(this, F);
|
|
6712
6712
|
break;
|
|
@@ -6714,11 +6714,11 @@ let Xs = class {
|
|
|
6714
6714
|
}
|
|
6715
6715
|
try {
|
|
6716
6716
|
m = wB.call(this, b);
|
|
6717
|
-
} catch (
|
|
6718
|
-
return Promise.reject(
|
|
6717
|
+
} catch (D) {
|
|
6718
|
+
return Promise.reject(D);
|
|
6719
6719
|
}
|
|
6720
|
-
for (
|
|
6721
|
-
m = m.then(Q[
|
|
6720
|
+
for (v = 0, S = Q.length; v < S; )
|
|
6721
|
+
m = m.then(Q[v++], Q[v++]);
|
|
6722
6722
|
return m;
|
|
6723
6723
|
}
|
|
6724
6724
|
getUri(i) {
|
|
@@ -7004,13 +7004,13 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7004
7004
|
},
|
|
7005
7005
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError", "onBoundingBoxesUpdate"],
|
|
7006
7006
|
setup(s, { emit: i }) {
|
|
7007
|
-
const a = s, { cdnFileResolver: l, colorCallback: C, currentCamera: d, selectedId: B } = /* @__PURE__ */ kn(a), f = i, y = /* @__PURE__ */ yA(!0), Q = /* @__PURE__ */ yA({}), m = /* @__PURE__ */ yA(),
|
|
7007
|
+
const a = s, { cdnFileResolver: l, colorCallback: C, currentCamera: d, selectedId: B } = /* @__PURE__ */ kn(a), f = i, y = /* @__PURE__ */ yA(!0), Q = /* @__PURE__ */ yA({}), m = /* @__PURE__ */ yA(), v = /* @__PURE__ */ jl({}), S = rt(() => Kn(
|
|
7008
7008
|
l.value,
|
|
7009
7009
|
d.value.overlayFilename
|
|
7010
7010
|
));
|
|
7011
7011
|
yd(() => {
|
|
7012
|
-
for (const x in
|
|
7013
|
-
const { element: F, state: Y } =
|
|
7012
|
+
for (const x in v) {
|
|
7013
|
+
const { element: F, state: Y } = v[x], { r: P, g: K, b: G, a: W, s: H } = C.value(x, Y) || {
|
|
7014
7014
|
r: 0,
|
|
7015
7015
|
g: 0,
|
|
7016
7016
|
b: 0,
|
|
@@ -7020,11 +7020,11 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7020
7020
|
F.style.fill = `rgba(${P}, ${K}, ${G}, ${W / 255})`, F.style.stroke = `rgb(${P}, ${K}, ${G})`, F.style.strokeWidth = H.toString(), F.style.cursor = "pointer";
|
|
7021
7021
|
}
|
|
7022
7022
|
}), pt(B, () => {
|
|
7023
|
-
for (const x in
|
|
7024
|
-
|
|
7023
|
+
for (const x in v)
|
|
7024
|
+
v[x].state === "selected" && x !== B.value ? v[x].state = "idle" : v[x].state !== "selected" && x === B.value && (v[x].state = "selected");
|
|
7025
7025
|
}), yd(async () => {
|
|
7026
7026
|
try {
|
|
7027
|
-
y.value = !1, Q.value[S.value] || (Q.value[S.value] = await Ja.loadText(S.value)),
|
|
7027
|
+
y.value = !1, Q.value[S.value] || (Q.value[S.value] = await Ja.loadText(S.value)), D();
|
|
7028
7028
|
} catch (x) {
|
|
7029
7029
|
f("onError", x);
|
|
7030
7030
|
} finally {
|
|
@@ -7059,11 +7059,11 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7059
7059
|
pt(
|
|
7060
7060
|
() => a.activeStructureIds,
|
|
7061
7061
|
() => {
|
|
7062
|
-
|
|
7062
|
+
D();
|
|
7063
7063
|
},
|
|
7064
7064
|
{ immediate: !0, deep: !0 }
|
|
7065
7065
|
);
|
|
7066
|
-
function
|
|
7066
|
+
function D() {
|
|
7067
7067
|
rr(() => {
|
|
7068
7068
|
const x = m.value?.firstChild;
|
|
7069
7069
|
if (x) {
|
|
@@ -7077,20 +7077,20 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7077
7077
|
W.style.stroke = "inherit", W.style.fill = "inherit";
|
|
7078
7078
|
});
|
|
7079
7079
|
const G = K.getAttribute(Y);
|
|
7080
|
-
|
|
7080
|
+
v[G] = {
|
|
7081
7081
|
element: K,
|
|
7082
7082
|
state: B.value === G ? "selected" : "idle",
|
|
7083
7083
|
boundingBox: K.getBoundingClientRect().toJSON()
|
|
7084
7084
|
}, a.activeStructureIds && !a.activeStructureIds.includes(G) && (K.style.display = "none"), K.addEventListener("mouseover", () => {
|
|
7085
|
-
|
|
7085
|
+
v[G].state === "idle" && (v[G].state = "hover"), f("onHoverOver", G);
|
|
7086
7086
|
}), K.addEventListener("mouseout", () => {
|
|
7087
|
-
|
|
7087
|
+
v[G].state === "hover" && (v[G].state = "idle"), f("onHoverOut", G);
|
|
7088
7088
|
}), K.addEventListener("click", () => {
|
|
7089
7089
|
f("onClick", G);
|
|
7090
7090
|
});
|
|
7091
7091
|
}), f(
|
|
7092
7092
|
"onBoundingBoxesUpdate",
|
|
7093
|
-
Object.entries(
|
|
7093
|
+
Object.entries(v).map(([P, K]) => ({
|
|
7094
7094
|
id: P,
|
|
7095
7095
|
boundingBox: K.boundingBox
|
|
7096
7096
|
}))
|
|
@@ -7204,9 +7204,9 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7204
7204
|
i({
|
|
7205
7205
|
adjustZoom: qe
|
|
7206
7206
|
});
|
|
7207
|
-
const d = /* @__PURE__ */ yA(100), B = /* @__PURE__ */ yA(0), f = /* @__PURE__ */ yA(0), y = /* @__PURE__ */ yA(!1), Q = /* @__PURE__ */ yA(!1), m = /* @__PURE__ */ yA(void 0),
|
|
7207
|
+
const d = /* @__PURE__ */ yA(100), B = /* @__PURE__ */ yA(0), f = /* @__PURE__ */ yA(0), y = /* @__PURE__ */ yA(!1), Q = /* @__PURE__ */ yA(!1), m = /* @__PURE__ */ yA(void 0), v = /* @__PURE__ */ yA(!1), S = /* @__PURE__ */ yA(), b = rt(() => `translateX(${B.value}px) translateY(${f.value}px) scale(${D.value})`), D = rt(() => d.value / 100), x = rt(() => l.maxScale * 100);
|
|
7208
7208
|
pt(
|
|
7209
|
-
[
|
|
7209
|
+
[D, B, f],
|
|
7210
7210
|
() => {
|
|
7211
7211
|
me();
|
|
7212
7212
|
},
|
|
@@ -7279,7 +7279,7 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7279
7279
|
qe(-Qe.deltaY / 10, tA, se), Qe.preventDefault();
|
|
7280
7280
|
}
|
|
7281
7281
|
function W(Qe) {
|
|
7282
|
-
y.value = !0,
|
|
7282
|
+
y.value = !0, v.value = !1, m.value = Qe;
|
|
7283
7283
|
}
|
|
7284
7284
|
function H(Qe) {
|
|
7285
7285
|
if (y.value) {
|
|
@@ -7287,14 +7287,14 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7287
7287
|
x: tA - be,
|
|
7288
7288
|
y: se - T
|
|
7289
7289
|
};
|
|
7290
|
-
Fe(De.x), Ee(De.y),
|
|
7290
|
+
Fe(De.x), Ee(De.y), v.value = !0, m.value = Qe;
|
|
7291
7291
|
}
|
|
7292
7292
|
}
|
|
7293
7293
|
function z(Qe) {
|
|
7294
|
-
y.value &&
|
|
7294
|
+
y.value && v.value && l.consumeMouseUpWhenMoved && (Qe.preventDefault(), Qe.stopImmediatePropagation());
|
|
7295
7295
|
}
|
|
7296
7296
|
function j(Qe) {
|
|
7297
|
-
y.value && (
|
|
7297
|
+
y.value && (v.value && l.consumeMouseClickWhenMoved && (Qe.preventDefault(), Qe.stopImmediatePropagation()), y.value = !1);
|
|
7298
7298
|
}
|
|
7299
7299
|
function X(Qe) {
|
|
7300
7300
|
y.value = Qe.touches.length === 1, Q.value = Qe.touches.length === 2, m.value = Qe;
|
|
@@ -7329,35 +7329,35 @@ const TS = ["innerHTML"], HS = /* @__PURE__ */ Lt({
|
|
|
7329
7329
|
};
|
|
7330
7330
|
}
|
|
7331
7331
|
function Fe(Qe) {
|
|
7332
|
-
const tA = S.value.clientWidth, se = tA *
|
|
7332
|
+
const tA = S.value.clientWidth, se = tA * D.value;
|
|
7333
7333
|
B.value = Math.max(
|
|
7334
7334
|
Math.min(0, B.value + Qe),
|
|
7335
7335
|
-(se - tA)
|
|
7336
7336
|
);
|
|
7337
7337
|
}
|
|
7338
7338
|
function Ee(Qe) {
|
|
7339
|
-
const tA = S.value.clientHeight, se = tA *
|
|
7339
|
+
const tA = S.value.clientHeight, se = tA * D.value;
|
|
7340
7340
|
f.value = Math.max(
|
|
7341
7341
|
Math.min(0, f.value + Qe),
|
|
7342
7342
|
-(se - tA)
|
|
7343
7343
|
);
|
|
7344
7344
|
}
|
|
7345
7345
|
function qe(Qe, tA, se) {
|
|
7346
|
-
const be = tA !== void 0 ? tA : S.value.clientWidth / 2, T = se !== void 0 ? se : S.value.clientHeight / 2, De = S.value.clientWidth, wA = S.value.clientHeight, Je = De *
|
|
7346
|
+
const be = tA !== void 0 ? tA : S.value.clientWidth / 2, T = se !== void 0 ? se : S.value.clientHeight / 2, De = S.value.clientWidth, wA = S.value.clientHeight, Je = De * D.value, kA = wA * D.value;
|
|
7347
7347
|
d.value = Math.min(Math.max(100, d.value + Qe), x.value);
|
|
7348
|
-
const sA = De *
|
|
7348
|
+
const sA = De * D.value, UA = wA * D.value, Te = sA - Je, Le = UA - kA;
|
|
7349
7349
|
B.value -= be / De * Te, f.value -= T / wA * Le, Fe(0), Ee(0);
|
|
7350
7350
|
}
|
|
7351
7351
|
function me() {
|
|
7352
7352
|
C("update", {
|
|
7353
|
-
scale:
|
|
7353
|
+
scale: D.value,
|
|
7354
7354
|
x: B.value,
|
|
7355
7355
|
y: f.value,
|
|
7356
7356
|
current: Math.min(Math.max(100, d.value), x.value),
|
|
7357
7357
|
min: 100,
|
|
7358
7358
|
max: x.value,
|
|
7359
7359
|
resolve: (Qe, tA) => {
|
|
7360
|
-
const se = S.value.clientWidth, be = S.value.clientHeight, T = B.value / -
|
|
7360
|
+
const se = S.value.clientWidth, be = S.value.clientHeight, T = B.value / -D.value, De = f.value / -D.value, wA = T + se / D.value, Je = De + be / D.value, kA = Qe / se * (wA - T) + T, sA = tA / be * (Je - De) + De;
|
|
7361
7361
|
return { x: kA, y: sA };
|
|
7362
7362
|
}
|
|
7363
7363
|
});
|
|
@@ -7958,8 +7958,8 @@ function gx(s) {
|
|
|
7958
7958
|
if (!a.value.find((m) => m.image === Q)) {
|
|
7959
7959
|
Q.decode(), a.value = [...a.value, { image: Q, loaded: !1 }];
|
|
7960
7960
|
const m = Q.src;
|
|
7961
|
-
i.get(m).then((
|
|
7962
|
-
|
|
7961
|
+
i.get(m).then((v) => {
|
|
7962
|
+
v ? (d.add(v), Q.src = v) : i.getOrFetch(m).then((S) => {
|
|
7963
7963
|
S.startsWith("blob:") && URL.revokeObjectURL(S);
|
|
7964
7964
|
});
|
|
7965
7965
|
});
|
|
@@ -7967,15 +7967,15 @@ function gx(s) {
|
|
|
7967
7967
|
});
|
|
7968
7968
|
}), Ka("completeImage", (Q) => {
|
|
7969
7969
|
rr(() => {
|
|
7970
|
-
const m = a.value.findIndex((
|
|
7970
|
+
const m = a.value.findIndex((v) => v.image === Q);
|
|
7971
7971
|
m >= 0 && (a.value[m].loaded = !0, a.value = [...a.value]);
|
|
7972
7972
|
});
|
|
7973
7973
|
}), Ka("unregisterImage", (Q) => {
|
|
7974
7974
|
const m = Q.src;
|
|
7975
|
-
m.startsWith("blob:") && (URL.revokeObjectURL(m), d.delete(m)), a.value = a.value.filter((
|
|
7975
|
+
m.startsWith("blob:") && (URL.revokeObjectURL(m), d.delete(m)), a.value = a.value.filter((v) => v.image !== Q);
|
|
7976
7976
|
}), pt(s, () => {
|
|
7977
7977
|
s.value && new ResizeObserver(([]) => {
|
|
7978
|
-
const m = a.value.find((
|
|
7978
|
+
const m = a.value.find((v) => v.loaded);
|
|
7979
7979
|
m && (C.value = m.image.width / l.value);
|
|
7980
7980
|
}).observe(s.value);
|
|
7981
7981
|
}), pt(a, () => {
|
|
@@ -8091,10 +8091,10 @@ const cx = {
|
|
|
8091
8091
|
customOverlayContent: y,
|
|
8092
8092
|
selectedId: Q,
|
|
8093
8093
|
defaultCamera: m,
|
|
8094
|
-
defaultDay:
|
|
8094
|
+
defaultDay: v,
|
|
8095
8095
|
defaultTime: S,
|
|
8096
8096
|
mobileBreakpoint: b
|
|
8097
|
-
} = /* @__PURE__ */ kn(l),
|
|
8097
|
+
} = /* @__PURE__ */ kn(l), D = a, x = /* @__PURE__ */ yA(), F = /* @__PURE__ */ yA(), Y = /* @__PURE__ */ yA(), P = /* @__PURE__ */ yA(null), K = /* @__PURE__ */ yA(4), G = /* @__PURE__ */ yA(), W = /* @__PURE__ */ yA(!1), H = /* @__PURE__ */ yA(!1), z = /* @__PURE__ */ yA(), j = rt(() => z.value.isHoverEnabled), X = /* @__PURE__ */ yA({ x: 0, y: 0, width: 0, height: 0 }), le = /* @__PURE__ */ yA(), Ce = /* @__PURE__ */ yA(), ee = /* @__PURE__ */ yA(), Fe = /* @__PURE__ */ yA(!1), Ee = /* @__PURE__ */ yA(), qe = /* @__PURE__ */ yA({
|
|
8098
8098
|
current: 100,
|
|
8099
8099
|
min: 100,
|
|
8100
8100
|
max: 1e3
|
|
@@ -8134,14 +8134,14 @@ const cx = {
|
|
|
8134
8134
|
try {
|
|
8135
8135
|
me.value = !1, ee.value = sx(M);
|
|
8136
8136
|
} catch (fe) {
|
|
8137
|
-
me.value = !0,
|
|
8137
|
+
me.value = !0, D("onError", fe);
|
|
8138
8138
|
}
|
|
8139
8139
|
},
|
|
8140
8140
|
{
|
|
8141
8141
|
immediate: !0
|
|
8142
8142
|
}
|
|
8143
8143
|
), pt(W, (M) => {
|
|
8144
|
-
M &&
|
|
8144
|
+
M && D("onInitialize");
|
|
8145
8145
|
});
|
|
8146
8146
|
const De = /* @__PURE__ */ yA();
|
|
8147
8147
|
pt(
|
|
@@ -8183,10 +8183,10 @@ const cx = {
|
|
|
8183
8183
|
},
|
|
8184
8184
|
{ immediate: !0 }
|
|
8185
8185
|
), pt(
|
|
8186
|
-
[ee, d,
|
|
8186
|
+
[ee, d, v],
|
|
8187
8187
|
() => {
|
|
8188
|
-
ee.value && d.value && x.value && x.value.sunsimDayOfYear && x.value.sunsimDayOfYear.length > 0 && (
|
|
8189
|
-
(M) => M.dayOfYear ===
|
|
8188
|
+
ee.value && d.value && x.value && x.value.sunsimDayOfYear && x.value.sunsimDayOfYear.length > 0 && (v.value ? F.value = x.value.sunsimDayOfYear.find(
|
|
8189
|
+
(M) => M.dayOfYear === v.value
|
|
8190
8190
|
) || x.value.sunsimDayOfYear[0] : F.value = x.value.sunsimDayOfYear[0]);
|
|
8191
8191
|
},
|
|
8192
8192
|
{ immediate: !0 }
|
|
@@ -8241,7 +8241,7 @@ const cx = {
|
|
|
8241
8241
|
Y.value = M;
|
|
8242
8242
|
}
|
|
8243
8243
|
function OA(M) {
|
|
8244
|
-
|
|
8244
|
+
D("onClick", M, () => {
|
|
8245
8245
|
const fe = ee.value.stillCameraData.find(
|
|
8246
8246
|
(te) => te.id === M
|
|
8247
8247
|
);
|
|
@@ -8259,10 +8259,10 @@ const cx = {
|
|
|
8259
8259
|
}
|
|
8260
8260
|
});
|
|
8261
8261
|
function TA(M) {
|
|
8262
|
-
|
|
8262
|
+
D("onHoverOver", M), G.value = M;
|
|
8263
8263
|
}
|
|
8264
8264
|
function Z(M) {
|
|
8265
|
-
|
|
8265
|
+
D("onHoverOut", M), G.value = void 0;
|
|
8266
8266
|
}
|
|
8267
8267
|
function de(M) {
|
|
8268
8268
|
const { layerX: fe, layerY: te } = M;
|
|
@@ -8283,7 +8283,7 @@ const cx = {
|
|
|
8283
8283
|
};
|
|
8284
8284
|
} else
|
|
8285
8285
|
X.value = void 0;
|
|
8286
|
-
|
|
8286
|
+
D("onMouseMove", M, X.value);
|
|
8287
8287
|
}
|
|
8288
8288
|
function Ge({
|
|
8289
8289
|
min: M,
|
|
@@ -8328,7 +8328,7 @@ const cx = {
|
|
|
8328
8328
|
});
|
|
8329
8329
|
}
|
|
8330
8330
|
function QA(M) {
|
|
8331
|
-
me.value = !0,
|
|
8331
|
+
me.value = !0, D("onError", M);
|
|
8332
8332
|
}
|
|
8333
8333
|
const vA = (M) => M * (180 / Math.PI);
|
|
8334
8334
|
return (M, fe) => {
|
|
@@ -8443,7 +8443,7 @@ const cx = {
|
|
|
8443
8443
|
onOnHoverOut: Z,
|
|
8444
8444
|
onUpdateSvgContainer: fe[2] || (fe[2] = (q) => le.value = q),
|
|
8445
8445
|
onOnError: QA,
|
|
8446
|
-
onOnBoundingBoxesUpdate: fe[3] || (fe[3] = (q) =>
|
|
8446
|
+
onOnBoundingBoxesUpdate: fe[3] || (fe[3] = (q) => D("onBoundingBoxesUpdate", q))
|
|
8447
8447
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
8448
8448
|
[Ml, P.value === null]
|
|
8449
8449
|
]) : it("", !0),
|
|
@@ -8512,7 +8512,7 @@ function Ex() {
|
|
|
8512
8512
|
})(self, (() => (() => {
|
|
8513
8513
|
var a = { 890: (B, f, y) => {
|
|
8514
8514
|
y.d(f, { Z: () => b });
|
|
8515
|
-
var Q = y(537), m = y.n(Q),
|
|
8515
|
+
var Q = y(537), m = y.n(Q), v = y(645), S = y.n(v)()(m());
|
|
8516
8516
|
S.push([B.id, `.infowindow{
|
|
8517
8517
|
position: absolute;
|
|
8518
8518
|
background-color: white;
|
|
@@ -8580,19 +8580,19 @@ function Ex() {
|
|
|
8580
8580
|
var y = [];
|
|
8581
8581
|
return y.toString = function() {
|
|
8582
8582
|
return this.map((function(Q) {
|
|
8583
|
-
var m = "",
|
|
8584
|
-
return Q[4] && (m += "@supports (".concat(Q[4], ") {")), Q[2] && (m += "@media ".concat(Q[2], " {")),
|
|
8583
|
+
var m = "", v = Q[5] !== void 0;
|
|
8584
|
+
return Q[4] && (m += "@supports (".concat(Q[4], ") {")), Q[2] && (m += "@media ".concat(Q[2], " {")), v && (m += "@layer".concat(Q[5].length > 0 ? " ".concat(Q[5]) : "", " {")), m += f(Q), v && (m += "}"), Q[2] && (m += "}"), Q[4] && (m += "}"), m;
|
|
8585
8585
|
})).join("");
|
|
8586
|
-
}, y.i = function(Q, m,
|
|
8586
|
+
}, y.i = function(Q, m, v, S, b) {
|
|
8587
8587
|
typeof Q == "string" && (Q = [[null, Q, void 0]]);
|
|
8588
|
-
var
|
|
8589
|
-
if (
|
|
8588
|
+
var D = {};
|
|
8589
|
+
if (v) for (var x = 0; x < this.length; x++) {
|
|
8590
8590
|
var F = this[x][0];
|
|
8591
|
-
F != null && (
|
|
8591
|
+
F != null && (D[F] = !0);
|
|
8592
8592
|
}
|
|
8593
8593
|
for (var Y = 0; Y < Q.length; Y++) {
|
|
8594
8594
|
var P = [].concat(Q[Y]);
|
|
8595
|
-
|
|
8595
|
+
v && D[P[0]] || (b !== void 0 && (P[5] === void 0 || (P[1] = "@layer".concat(P[5].length > 0 ? " ".concat(P[5]) : "", " {").concat(P[1], "}")), P[5] = b), m && (P[2] && (P[1] = "@media ".concat(P[2], " {").concat(P[1], "}")), P[2] = m), S && (P[4] ? (P[1] = "@supports (".concat(P[4], ") {").concat(P[1], "}"), P[4] = S) : P[4] = "".concat(S)), y.push(P));
|
|
8596
8596
|
}
|
|
8597
8597
|
}, y;
|
|
8598
8598
|
};
|
|
@@ -8601,7 +8601,7 @@ function Ex() {
|
|
|
8601
8601
|
var y = f[1], Q = f[3];
|
|
8602
8602
|
if (!Q) return y;
|
|
8603
8603
|
if (typeof btoa == "function") {
|
|
8604
|
-
var m = btoa(unescape(encodeURIComponent(JSON.stringify(Q)))),
|
|
8604
|
+
var m = btoa(unescape(encodeURIComponent(JSON.stringify(Q)))), v = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(m), S = "/*# ".concat(v, " */");
|
|
8605
8605
|
return [y].concat([S]).join(`
|
|
8606
8606
|
`);
|
|
8607
8607
|
}
|
|
@@ -8609,38 +8609,38 @@ function Ex() {
|
|
|
8609
8609
|
`);
|
|
8610
8610
|
};
|
|
8611
8611
|
}, 733: (B, f, y) => {
|
|
8612
|
-
B.exports = (function Q(m,
|
|
8612
|
+
B.exports = (function Q(m, v, S) {
|
|
8613
8613
|
function b(F, Y) {
|
|
8614
|
-
if (!
|
|
8614
|
+
if (!v[F]) {
|
|
8615
8615
|
if (!m[F]) {
|
|
8616
|
-
if (
|
|
8616
|
+
if (D) return D(F, !0);
|
|
8617
8617
|
var P = new Error("Cannot find module '" + F + "'");
|
|
8618
8618
|
throw P.code = "MODULE_NOT_FOUND", P;
|
|
8619
8619
|
}
|
|
8620
|
-
var K =
|
|
8620
|
+
var K = v[F] = { exports: {} };
|
|
8621
8621
|
m[F][0].call(K.exports, (function(G) {
|
|
8622
8622
|
return b(m[F][1][G] || G);
|
|
8623
|
-
}), K, K.exports, Q, m,
|
|
8623
|
+
}), K, K.exports, Q, m, v, S);
|
|
8624
8624
|
}
|
|
8625
|
-
return
|
|
8625
|
+
return v[F].exports;
|
|
8626
8626
|
}
|
|
8627
|
-
for (var
|
|
8627
|
+
for (var D = void 0, x = 0; x < S.length; x++) b(S[x]);
|
|
8628
8628
|
return b;
|
|
8629
|
-
})({ 1: [function(Q, m,
|
|
8630
|
-
var S = Q("./utils"), b = Q("./support"),
|
|
8631
|
-
|
|
8632
|
-
for (var F, Y, P, K, G, W, H, z = [], j = 0, X = x.length, le = X, Ce = S.getTypeOf(x) !== "string"; j < x.length; ) le = X - j, P = Ce ? (F = x[j++], Y = j < X ? x[j++] : 0, j < X ? x[j++] : 0) : (F = x.charCodeAt(j++), Y = j < X ? x.charCodeAt(j++) : 0, j < X ? x.charCodeAt(j++) : 0), K = F >> 2, G = (3 & F) << 4 | Y >> 4, W = 1 < le ? (15 & Y) << 2 | P >> 6 : 64, H = 2 < le ? 63 & P : 64, z.push(
|
|
8629
|
+
})({ 1: [function(Q, m, v) {
|
|
8630
|
+
var S = Q("./utils"), b = Q("./support"), D = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
8631
|
+
v.encode = function(x) {
|
|
8632
|
+
for (var F, Y, P, K, G, W, H, z = [], j = 0, X = x.length, le = X, Ce = S.getTypeOf(x) !== "string"; j < x.length; ) le = X - j, P = Ce ? (F = x[j++], Y = j < X ? x[j++] : 0, j < X ? x[j++] : 0) : (F = x.charCodeAt(j++), Y = j < X ? x.charCodeAt(j++) : 0, j < X ? x.charCodeAt(j++) : 0), K = F >> 2, G = (3 & F) << 4 | Y >> 4, W = 1 < le ? (15 & Y) << 2 | P >> 6 : 64, H = 2 < le ? 63 & P : 64, z.push(D.charAt(K) + D.charAt(G) + D.charAt(W) + D.charAt(H));
|
|
8633
8633
|
return z.join("");
|
|
8634
|
-
},
|
|
8634
|
+
}, v.decode = function(x) {
|
|
8635
8635
|
var F, Y, P, K, G, W, H = 0, z = 0, j = "data:";
|
|
8636
8636
|
if (x.substr(0, j.length) === j) throw new Error("Invalid base64 input, it looks like a data url.");
|
|
8637
8637
|
var X, le = 3 * (x = x.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
|
|
8638
|
-
if (x.charAt(x.length - 1) ===
|
|
8639
|
-
for (X = b.uint8array ? new Uint8Array(0 | le) : new Array(0 | le); H < x.length; ) F =
|
|
8638
|
+
if (x.charAt(x.length - 1) === D.charAt(64) && le--, x.charAt(x.length - 2) === D.charAt(64) && le--, le % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
|
|
8639
|
+
for (X = b.uint8array ? new Uint8Array(0 | le) : new Array(0 | le); H < x.length; ) F = D.indexOf(x.charAt(H++)) << 2 | (K = D.indexOf(x.charAt(H++))) >> 4, Y = (15 & K) << 4 | (G = D.indexOf(x.charAt(H++))) >> 2, P = (3 & G) << 6 | (W = D.indexOf(x.charAt(H++))), X[z++] = F, G !== 64 && (X[z++] = Y), W !== 64 && (X[z++] = P);
|
|
8640
8640
|
return X;
|
|
8641
8641
|
};
|
|
8642
|
-
}, { "./support": 30, "./utils": 32 }], 2: [function(Q, m,
|
|
8643
|
-
var S = Q("./external"), b = Q("./stream/DataWorker"),
|
|
8642
|
+
}, { "./support": 30, "./utils": 32 }], 2: [function(Q, m, v) {
|
|
8643
|
+
var S = Q("./external"), b = Q("./stream/DataWorker"), D = Q("./stream/Crc32Probe"), x = Q("./stream/DataLengthProbe");
|
|
8644
8644
|
function F(Y, P, K, G, W) {
|
|
8645
8645
|
this.compressedSize = Y, this.uncompressedSize = P, this.crc32 = K, this.compression = G, this.compressedContent = W;
|
|
8646
8646
|
}
|
|
@@ -8652,49 +8652,49 @@ function Ex() {
|
|
|
8652
8652
|
}, getCompressedWorker: function() {
|
|
8653
8653
|
return new b(S.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
|
|
8654
8654
|
} }, F.createWorkerFrom = function(Y, P, K) {
|
|
8655
|
-
return Y.pipe(new
|
|
8655
|
+
return Y.pipe(new D()).pipe(new x("uncompressedSize")).pipe(P.compressWorker(K)).pipe(new x("compressedSize")).withStreamInfo("compression", P);
|
|
8656
8656
|
}, m.exports = F;
|
|
8657
|
-
}, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(Q, m,
|
|
8657
|
+
}, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(Q, m, v) {
|
|
8658
8658
|
var S = Q("./stream/GenericWorker");
|
|
8659
|
-
|
|
8659
|
+
v.STORE = { magic: "\0\0", compressWorker: function() {
|
|
8660
8660
|
return new S("STORE compression");
|
|
8661
8661
|
}, uncompressWorker: function() {
|
|
8662
8662
|
return new S("STORE decompression");
|
|
8663
|
-
} },
|
|
8664
|
-
}, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(Q, m,
|
|
8663
|
+
} }, v.DEFLATE = Q("./flate");
|
|
8664
|
+
}, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(Q, m, v) {
|
|
8665
8665
|
var S = Q("./utils"), b = (function() {
|
|
8666
|
-
for (var
|
|
8667
|
-
|
|
8668
|
-
for (var Y = 0; Y < 8; Y++)
|
|
8669
|
-
x[F] =
|
|
8666
|
+
for (var D, x = [], F = 0; F < 256; F++) {
|
|
8667
|
+
D = F;
|
|
8668
|
+
for (var Y = 0; Y < 8; Y++) D = 1 & D ? 3988292384 ^ D >>> 1 : D >>> 1;
|
|
8669
|
+
x[F] = D;
|
|
8670
8670
|
}
|
|
8671
8671
|
return x;
|
|
8672
8672
|
})();
|
|
8673
|
-
m.exports = function(
|
|
8674
|
-
return
|
|
8673
|
+
m.exports = function(D, x) {
|
|
8674
|
+
return D !== void 0 && D.length ? S.getTypeOf(D) !== "string" ? (function(F, Y, P, K) {
|
|
8675
8675
|
var G = b, W = K + P;
|
|
8676
8676
|
F ^= -1;
|
|
8677
8677
|
for (var H = K; H < W; H++) F = F >>> 8 ^ G[255 & (F ^ Y[H])];
|
|
8678
8678
|
return -1 ^ F;
|
|
8679
|
-
})(0 | x,
|
|
8679
|
+
})(0 | x, D, D.length, 0) : (function(F, Y, P, K) {
|
|
8680
8680
|
var G = b, W = K + P;
|
|
8681
8681
|
F ^= -1;
|
|
8682
8682
|
for (var H = K; H < W; H++) F = F >>> 8 ^ G[255 & (F ^ Y.charCodeAt(H))];
|
|
8683
8683
|
return -1 ^ F;
|
|
8684
|
-
})(0 | x,
|
|
8684
|
+
})(0 | x, D, D.length, 0) : 0;
|
|
8685
8685
|
};
|
|
8686
|
-
}, { "./utils": 32 }], 5: [function(Q, m,
|
|
8687
|
-
|
|
8688
|
-
}, {}], 6: [function(Q, m,
|
|
8686
|
+
}, { "./utils": 32 }], 5: [function(Q, m, v) {
|
|
8687
|
+
v.base64 = !1, v.binary = !1, v.dir = !1, v.createFolders = !0, v.date = null, v.compression = null, v.compressionOptions = null, v.comment = null, v.unixPermissions = null, v.dosPermissions = null;
|
|
8688
|
+
}, {}], 6: [function(Q, m, v) {
|
|
8689
8689
|
var S = null;
|
|
8690
8690
|
S = typeof Promise < "u" ? Promise : Q("lie"), m.exports = { Promise: S };
|
|
8691
|
-
}, { lie: 37 }], 7: [function(Q, m,
|
|
8692
|
-
var S = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", b = Q("pako"),
|
|
8691
|
+
}, { lie: 37 }], 7: [function(Q, m, v) {
|
|
8692
|
+
var S = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", b = Q("pako"), D = Q("./utils"), x = Q("./stream/GenericWorker"), F = S ? "uint8array" : "array";
|
|
8693
8693
|
function Y(P, K) {
|
|
8694
8694
|
x.call(this, "FlateWorker/" + P), this._pako = null, this._pakoAction = P, this._pakoOptions = K, this.meta = {};
|
|
8695
8695
|
}
|
|
8696
|
-
|
|
8697
|
-
this.meta = P.meta, this._pako === null && this._createPako(), this._pako.push(
|
|
8696
|
+
v.magic = "\b\0", D.inherits(Y, x), Y.prototype.processChunk = function(P) {
|
|
8697
|
+
this.meta = P.meta, this._pako === null && this._createPako(), this._pako.push(D.transformTo(F, P.data), !1);
|
|
8698
8698
|
}, Y.prototype.flush = function() {
|
|
8699
8699
|
x.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
|
|
8700
8700
|
}, Y.prototype.cleanUp = function() {
|
|
@@ -8705,19 +8705,19 @@ function Ex() {
|
|
|
8705
8705
|
this._pako.onData = function(K) {
|
|
8706
8706
|
P.push({ data: K, meta: P.meta });
|
|
8707
8707
|
};
|
|
8708
|
-
},
|
|
8708
|
+
}, v.compressWorker = function(P) {
|
|
8709
8709
|
return new Y("Deflate", P);
|
|
8710
|
-
},
|
|
8710
|
+
}, v.uncompressWorker = function() {
|
|
8711
8711
|
return new Y("Inflate", {});
|
|
8712
8712
|
};
|
|
8713
|
-
}, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(Q, m,
|
|
8713
|
+
}, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(Q, m, v) {
|
|
8714
8714
|
function S(G, W) {
|
|
8715
8715
|
var H, z = "";
|
|
8716
8716
|
for (H = 0; H < W; H++) z += String.fromCharCode(255 & G), G >>>= 8;
|
|
8717
8717
|
return z;
|
|
8718
8718
|
}
|
|
8719
8719
|
function b(G, W, H, z, j, X) {
|
|
8720
|
-
var le, Ce, ee = G.file, Fe = G.compression, Ee = X !== F.utf8encode, qe =
|
|
8720
|
+
var le, Ce, ee = G.file, Fe = G.compression, Ee = X !== F.utf8encode, qe = D.transformTo("string", X(ee.name)), me = D.transformTo("string", F.utf8encode(ee.name)), Qe = ee.comment, tA = D.transformTo("string", X(Qe)), se = D.transformTo("string", F.utf8encode(Qe)), be = me.length !== ee.name.length, T = se.length !== Qe.length, De = "", wA = "", Je = "", kA = ee.dir, sA = ee.date, UA = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
8721
8721
|
W && !H || (UA.crc32 = G.crc32, UA.compressedSize = G.compressedSize, UA.uncompressedSize = G.uncompressedSize);
|
|
8722
8722
|
var Te = 0;
|
|
8723
8723
|
W && (Te |= 8), Ee || !be && !T || (Te |= 2048);
|
|
@@ -8732,11 +8732,11 @@ function Ex() {
|
|
|
8732
8732
|
return TA += `
|
|
8733
8733
|
\0`, TA += S(Te, 2), TA += Fe.magic, TA += S(le, 2), TA += S(Ce, 2), TA += S(UA.crc32, 4), TA += S(UA.compressedSize, 4), TA += S(UA.uncompressedSize, 4), TA += S(qe.length, 2), TA += S(De.length, 2), { fileRecord: P.LOCAL_FILE_HEADER + TA + qe + De, dirRecord: P.CENTRAL_FILE_HEADER + S(OA, 2) + TA + S(tA.length, 2) + "\0\0\0\0" + S(Le, 4) + S(z, 4) + qe + De + tA };
|
|
8734
8734
|
}
|
|
8735
|
-
var
|
|
8735
|
+
var D = Q("../utils"), x = Q("../stream/GenericWorker"), F = Q("../utf8"), Y = Q("../crc32"), P = Q("../signature");
|
|
8736
8736
|
function K(G, W, H, z) {
|
|
8737
8737
|
x.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = W, this.zipPlatform = H, this.encodeFileName = z, this.streamFiles = G, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
|
|
8738
8738
|
}
|
|
8739
|
-
|
|
8739
|
+
D.inherits(K, x), K.prototype.push = function(G) {
|
|
8740
8740
|
var W = G.meta.percent || 0, H = this.entriesCount, z = this._sources.length;
|
|
8741
8741
|
this.accumulate ? this.contentBuffer.push(G) : (this.bytesWritten += G.data.length, x.prototype.push.call(this, { data: G.data, meta: { currentFile: this.currentFile, percent: H ? (W + 100 * (H - z - 1)) / H : 100 } }));
|
|
8742
8742
|
}, K.prototype.openedSource = function(G) {
|
|
@@ -8757,7 +8757,7 @@ function Ex() {
|
|
|
8757
8757
|
}, K.prototype.flush = function() {
|
|
8758
8758
|
for (var G = this.bytesWritten, W = 0; W < this.dirRecords.length; W++) this.push({ data: this.dirRecords[W], meta: { percent: 100 } });
|
|
8759
8759
|
var H = this.bytesWritten - G, z = (function(j, X, le, Ce, ee) {
|
|
8760
|
-
var Fe =
|
|
8760
|
+
var Fe = D.transformTo("string", ee(Ce));
|
|
8761
8761
|
return P.CENTRAL_DIRECTORY_END + "\0\0\0\0" + S(j, 2) + S(j, 2) + S(X, 4) + S(le, 4) + S(Fe.length, 2) + Fe;
|
|
8762
8762
|
})(this.dirRecords.length, H, G, this.zipComment, this.encodeFileName);
|
|
8763
8763
|
this.push({ data: z, meta: { percent: 100 } });
|
|
@@ -8787,12 +8787,12 @@ function Ex() {
|
|
|
8787
8787
|
x.prototype.lock.call(this);
|
|
8788
8788
|
for (var G = this._sources, W = 0; W < G.length; W++) G[W].lock();
|
|
8789
8789
|
}, m.exports = K;
|
|
8790
|
-
}, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(Q, m,
|
|
8790
|
+
}, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(Q, m, v) {
|
|
8791
8791
|
var S = Q("../compressions"), b = Q("./ZipFileWorker");
|
|
8792
|
-
|
|
8792
|
+
v.generateWorker = function(D, x, F) {
|
|
8793
8793
|
var Y = new b(x.streamFiles, F, x.platform, x.encodeFileName), P = 0;
|
|
8794
8794
|
try {
|
|
8795
|
-
|
|
8795
|
+
D.forEach((function(K, G) {
|
|
8796
8796
|
P++;
|
|
8797
8797
|
var W = (function(X, le) {
|
|
8798
8798
|
var Ce = X || le, ee = S[Ce];
|
|
@@ -8806,21 +8806,21 @@ function Ex() {
|
|
|
8806
8806
|
}
|
|
8807
8807
|
return Y;
|
|
8808
8808
|
};
|
|
8809
|
-
}, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(Q, m,
|
|
8809
|
+
}, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(Q, m, v) {
|
|
8810
8810
|
function S() {
|
|
8811
8811
|
if (!(this instanceof S)) return new S();
|
|
8812
8812
|
if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
|
|
8813
8813
|
this.files = /* @__PURE__ */ Object.create(null), this.comment = null, this.root = "", this.clone = function() {
|
|
8814
8814
|
var b = new S();
|
|
8815
|
-
for (var
|
|
8815
|
+
for (var D in this) typeof this[D] != "function" && (b[D] = this[D]);
|
|
8816
8816
|
return b;
|
|
8817
8817
|
};
|
|
8818
8818
|
}
|
|
8819
|
-
(S.prototype = Q("./object")).loadAsync = Q("./load"), S.support = Q("./support"), S.defaults = Q("./defaults"), S.version = "3.10.1", S.loadAsync = function(b,
|
|
8820
|
-
return new S().loadAsync(b,
|
|
8819
|
+
(S.prototype = Q("./object")).loadAsync = Q("./load"), S.support = Q("./support"), S.defaults = Q("./defaults"), S.version = "3.10.1", S.loadAsync = function(b, D) {
|
|
8820
|
+
return new S().loadAsync(b, D);
|
|
8821
8821
|
}, S.external = Q("./external"), m.exports = S;
|
|
8822
|
-
}, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(Q, m,
|
|
8823
|
-
var S = Q("./utils"), b = Q("./external"),
|
|
8822
|
+
}, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(Q, m, v) {
|
|
8823
|
+
var S = Q("./utils"), b = Q("./external"), D = Q("./utf8"), x = Q("./zipEntries"), F = Q("./stream/Crc32Probe"), Y = Q("./nodejsUtils");
|
|
8824
8824
|
function P(K) {
|
|
8825
8825
|
return new b.Promise((function(G, W) {
|
|
8826
8826
|
var H = K.decompressed.getContentWorker().pipe(new F());
|
|
@@ -8833,7 +8833,7 @@ function Ex() {
|
|
|
8833
8833
|
}
|
|
8834
8834
|
m.exports = function(K, G) {
|
|
8835
8835
|
var W = this;
|
|
8836
|
-
return G = S.extend(G || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName:
|
|
8836
|
+
return G = S.extend(G || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: D.utf8decode }), Y.isNode && Y.isStream(K) ? b.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : S.prepareContent("the loaded zip file", K, !0, G.optimizedBinaryString, G.base64).then((function(H) {
|
|
8837
8837
|
var z = new x(G);
|
|
8838
8838
|
return z.load(H), z;
|
|
8839
8839
|
})).then((function(H) {
|
|
@@ -8848,12 +8848,12 @@ function Ex() {
|
|
|
8848
8848
|
return z.zipComment.length && (W.comment = z.zipComment), W;
|
|
8849
8849
|
}));
|
|
8850
8850
|
};
|
|
8851
|
-
}, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(Q, m,
|
|
8851
|
+
}, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(Q, m, v) {
|
|
8852
8852
|
var S = Q("../utils"), b = Q("../stream/GenericWorker");
|
|
8853
|
-
function
|
|
8853
|
+
function D(x, F) {
|
|
8854
8854
|
b.call(this, "Nodejs stream input adapter for " + x), this._upstreamEnded = !1, this._bindStream(F);
|
|
8855
8855
|
}
|
|
8856
|
-
S.inherits(
|
|
8856
|
+
S.inherits(D, b), D.prototype._bindStream = function(x) {
|
|
8857
8857
|
var F = this;
|
|
8858
8858
|
(this._stream = x).pause(), x.on("data", (function(Y) {
|
|
8859
8859
|
F.push({ data: Y, meta: { percent: 0 } });
|
|
@@ -8862,17 +8862,17 @@ function Ex() {
|
|
|
8862
8862
|
})).on("end", (function() {
|
|
8863
8863
|
F.isPaused ? F._upstreamEnded = !0 : F.end();
|
|
8864
8864
|
}));
|
|
8865
|
-
},
|
|
8865
|
+
}, D.prototype.pause = function() {
|
|
8866
8866
|
return !!b.prototype.pause.call(this) && (this._stream.pause(), !0);
|
|
8867
|
-
},
|
|
8867
|
+
}, D.prototype.resume = function() {
|
|
8868
8868
|
return !!b.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
|
|
8869
|
-
}, m.exports =
|
|
8870
|
-
}, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(Q, m,
|
|
8869
|
+
}, m.exports = D;
|
|
8870
|
+
}, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(Q, m, v) {
|
|
8871
8871
|
var S = Q("readable-stream").Readable;
|
|
8872
|
-
function b(
|
|
8873
|
-
S.call(this, x), this._helper =
|
|
8872
|
+
function b(D, x, F) {
|
|
8873
|
+
S.call(this, x), this._helper = D;
|
|
8874
8874
|
var Y = this;
|
|
8875
|
-
|
|
8875
|
+
D.on("data", (function(P, K) {
|
|
8876
8876
|
Y.push(P) || Y._helper.pause(), F && F(K);
|
|
8877
8877
|
})).on("error", (function(P) {
|
|
8878
8878
|
Y.emit("error", P);
|
|
@@ -8883,7 +8883,7 @@ function Ex() {
|
|
|
8883
8883
|
Q("../utils").inherits(b, S), b.prototype._read = function() {
|
|
8884
8884
|
this._helper.resume();
|
|
8885
8885
|
}, m.exports = b;
|
|
8886
|
-
}, { "../utils": 32, "readable-stream": 16 }], 14: [function(Q, m,
|
|
8886
|
+
}, { "../utils": 32, "readable-stream": 16 }], 14: [function(Q, m, v) {
|
|
8887
8887
|
m.exports = { isNode: typeof Buffer < "u", newBufferFrom: function(S, b) {
|
|
8888
8888
|
if (Buffer.from && Buffer.from !== Uint8Array.from) return Buffer.from(S, b);
|
|
8889
8889
|
if (typeof S == "number") throw new Error('The "data" argument must not be a number');
|
|
@@ -8897,18 +8897,18 @@ function Ex() {
|
|
|
8897
8897
|
}, isStream: function(S) {
|
|
8898
8898
|
return S && typeof S.on == "function" && typeof S.pause == "function" && typeof S.resume == "function";
|
|
8899
8899
|
} };
|
|
8900
|
-
}, {}], 15: [function(Q, m,
|
|
8900
|
+
}, {}], 15: [function(Q, m, v) {
|
|
8901
8901
|
function S(ee, Fe, Ee) {
|
|
8902
|
-
var qe, me =
|
|
8902
|
+
var qe, me = D.getTypeOf(Fe), Qe = D.extend(Ee || {}, Y);
|
|
8903
8903
|
Qe.date = Qe.date || /* @__PURE__ */ new Date(), Qe.compression !== null && (Qe.compression = Qe.compression.toUpperCase()), typeof Qe.unixPermissions == "string" && (Qe.unixPermissions = parseInt(Qe.unixPermissions, 8)), Qe.unixPermissions && 16384 & Qe.unixPermissions && (Qe.dir = !0), Qe.dosPermissions && 16 & Qe.dosPermissions && (Qe.dir = !0), Qe.dir && (ee = j(ee)), Qe.createFolders && (qe = z(ee)) && X.call(this, qe, !0);
|
|
8904
8904
|
var tA = me === "string" && Qe.binary === !1 && Qe.base64 === !1;
|
|
8905
8905
|
Ee && Ee.binary !== void 0 || (Qe.binary = !tA), (Fe instanceof P && Fe.uncompressedSize === 0 || Qe.dir || !Fe || Fe.length === 0) && (Qe.base64 = !1, Qe.binary = !0, Fe = "", Qe.compression = "STORE", me = "string");
|
|
8906
8906
|
var se = null;
|
|
8907
|
-
se = Fe instanceof P || Fe instanceof x ? Fe : W.isNode && W.isStream(Fe) ? new H(ee, Fe) :
|
|
8907
|
+
se = Fe instanceof P || Fe instanceof x ? Fe : W.isNode && W.isStream(Fe) ? new H(ee, Fe) : D.prepareContent(ee, Fe, Qe.binary, Qe.optimizedBinaryString, Qe.base64);
|
|
8908
8908
|
var be = new K(ee, se, Qe);
|
|
8909
8909
|
this.files[ee] = be;
|
|
8910
8910
|
}
|
|
8911
|
-
var b = Q("./utf8"),
|
|
8911
|
+
var b = Q("./utf8"), D = Q("./utils"), x = Q("./stream/GenericWorker"), F = Q("./stream/StreamHelper"), Y = Q("./defaults"), P = Q("./compressedObject"), K = Q("./zipObject"), G = Q("./generate"), W = Q("./nodejsUtils"), H = Q("./nodejs/NodejsStreamInputAdapter"), z = function(ee) {
|
|
8912
8912
|
ee.slice(-1) === "/" && (ee = ee.substring(0, ee.length - 1));
|
|
8913
8913
|
var Fe = ee.lastIndexOf("/");
|
|
8914
8914
|
return 0 < Fe ? ee.substring(0, Fe) : "";
|
|
@@ -8960,8 +8960,8 @@ function Ex() {
|
|
|
8960
8960
|
}, generateInternalStream: function(ee) {
|
|
8961
8961
|
var Fe, Ee = {};
|
|
8962
8962
|
try {
|
|
8963
|
-
if ((Ee =
|
|
8964
|
-
|
|
8963
|
+
if ((Ee = D.extend(ee || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: b.utf8encode })).type = Ee.type.toLowerCase(), Ee.compression = Ee.compression.toUpperCase(), Ee.type === "binarystring" && (Ee.type = "string"), !Ee.type) throw new Error("No output type specified.");
|
|
8964
|
+
D.checkSupport(Ee.type), Ee.platform !== "darwin" && Ee.platform !== "freebsd" && Ee.platform !== "linux" && Ee.platform !== "sunos" || (Ee.platform = "UNIX"), Ee.platform === "win32" && (Ee.platform = "DOS");
|
|
8965
8965
|
var qe = Ee.comment || this.comment || "";
|
|
8966
8966
|
Fe = G.generateWorker(this, Ee, qe);
|
|
8967
8967
|
} catch (me) {
|
|
@@ -8974,129 +8974,129 @@ function Ex() {
|
|
|
8974
8974
|
return (ee = ee || {}).type || (ee.type = "nodebuffer"), this.generateInternalStream(ee).toNodejsStream(Fe);
|
|
8975
8975
|
} };
|
|
8976
8976
|
m.exports = Ce;
|
|
8977
|
-
}, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(Q, m,
|
|
8977
|
+
}, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(Q, m, v) {
|
|
8978
8978
|
m.exports = Q("stream");
|
|
8979
|
-
}, { stream: void 0 }], 17: [function(Q, m,
|
|
8979
|
+
}, { stream: void 0 }], 17: [function(Q, m, v) {
|
|
8980
8980
|
var S = Q("./DataReader");
|
|
8981
|
-
function b(
|
|
8982
|
-
S.call(this,
|
|
8983
|
-
for (var x = 0; x < this.data.length; x++)
|
|
8984
|
-
}
|
|
8985
|
-
Q("../utils").inherits(b, S), b.prototype.byteAt = function(
|
|
8986
|
-
return this.data[this.zero +
|
|
8987
|
-
}, b.prototype.lastIndexOfSignature = function(
|
|
8988
|
-
for (var x =
|
|
8981
|
+
function b(D) {
|
|
8982
|
+
S.call(this, D);
|
|
8983
|
+
for (var x = 0; x < this.data.length; x++) D[x] = 255 & D[x];
|
|
8984
|
+
}
|
|
8985
|
+
Q("../utils").inherits(b, S), b.prototype.byteAt = function(D) {
|
|
8986
|
+
return this.data[this.zero + D];
|
|
8987
|
+
}, b.prototype.lastIndexOfSignature = function(D) {
|
|
8988
|
+
for (var x = D.charCodeAt(0), F = D.charCodeAt(1), Y = D.charCodeAt(2), P = D.charCodeAt(3), K = this.length - 4; 0 <= K; --K) if (this.data[K] === x && this.data[K + 1] === F && this.data[K + 2] === Y && this.data[K + 3] === P) return K - this.zero;
|
|
8989
8989
|
return -1;
|
|
8990
|
-
}, b.prototype.readAndCheckSignature = function(
|
|
8991
|
-
var x =
|
|
8990
|
+
}, b.prototype.readAndCheckSignature = function(D) {
|
|
8991
|
+
var x = D.charCodeAt(0), F = D.charCodeAt(1), Y = D.charCodeAt(2), P = D.charCodeAt(3), K = this.readData(4);
|
|
8992
8992
|
return x === K[0] && F === K[1] && Y === K[2] && P === K[3];
|
|
8993
|
-
}, b.prototype.readData = function(
|
|
8994
|
-
if (this.checkOffset(
|
|
8995
|
-
var x = this.data.slice(this.zero + this.index, this.zero + this.index +
|
|
8996
|
-
return this.index +=
|
|
8993
|
+
}, b.prototype.readData = function(D) {
|
|
8994
|
+
if (this.checkOffset(D), D === 0) return [];
|
|
8995
|
+
var x = this.data.slice(this.zero + this.index, this.zero + this.index + D);
|
|
8996
|
+
return this.index += D, x;
|
|
8997
8997
|
}, m.exports = b;
|
|
8998
|
-
}, { "../utils": 32, "./DataReader": 18 }], 18: [function(Q, m,
|
|
8998
|
+
}, { "../utils": 32, "./DataReader": 18 }], 18: [function(Q, m, v) {
|
|
8999
8999
|
var S = Q("../utils");
|
|
9000
|
-
function b(
|
|
9001
|
-
this.data =
|
|
9002
|
-
}
|
|
9003
|
-
b.prototype = { checkOffset: function(
|
|
9004
|
-
this.checkIndex(this.index +
|
|
9005
|
-
}, checkIndex: function(
|
|
9006
|
-
if (this.length < this.zero +
|
|
9007
|
-
}, setIndex: function(
|
|
9008
|
-
this.checkIndex(
|
|
9009
|
-
}, skip: function(
|
|
9010
|
-
this.setIndex(this.index +
|
|
9000
|
+
function b(D) {
|
|
9001
|
+
this.data = D, this.length = D.length, this.index = 0, this.zero = 0;
|
|
9002
|
+
}
|
|
9003
|
+
b.prototype = { checkOffset: function(D) {
|
|
9004
|
+
this.checkIndex(this.index + D);
|
|
9005
|
+
}, checkIndex: function(D) {
|
|
9006
|
+
if (this.length < this.zero + D || D < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + D + "). Corrupted zip ?");
|
|
9007
|
+
}, setIndex: function(D) {
|
|
9008
|
+
this.checkIndex(D), this.index = D;
|
|
9009
|
+
}, skip: function(D) {
|
|
9010
|
+
this.setIndex(this.index + D);
|
|
9011
9011
|
}, byteAt: function() {
|
|
9012
|
-
}, readInt: function(
|
|
9012
|
+
}, readInt: function(D) {
|
|
9013
9013
|
var x, F = 0;
|
|
9014
|
-
for (this.checkOffset(
|
|
9015
|
-
return this.index +=
|
|
9016
|
-
}, readString: function(
|
|
9017
|
-
return S.transformTo("string", this.readData(
|
|
9014
|
+
for (this.checkOffset(D), x = this.index + D - 1; x >= this.index; x--) F = (F << 8) + this.byteAt(x);
|
|
9015
|
+
return this.index += D, F;
|
|
9016
|
+
}, readString: function(D) {
|
|
9017
|
+
return S.transformTo("string", this.readData(D));
|
|
9018
9018
|
}, readData: function() {
|
|
9019
9019
|
}, lastIndexOfSignature: function() {
|
|
9020
9020
|
}, readAndCheckSignature: function() {
|
|
9021
9021
|
}, readDate: function() {
|
|
9022
|
-
var
|
|
9023
|
-
return new Date(Date.UTC(1980 + (
|
|
9022
|
+
var D = this.readInt(4);
|
|
9023
|
+
return new Date(Date.UTC(1980 + (D >> 25 & 127), (D >> 21 & 15) - 1, D >> 16 & 31, D >> 11 & 31, D >> 5 & 63, (31 & D) << 1));
|
|
9024
9024
|
} }, m.exports = b;
|
|
9025
|
-
}, { "../utils": 32 }], 19: [function(Q, m,
|
|
9025
|
+
}, { "../utils": 32 }], 19: [function(Q, m, v) {
|
|
9026
9026
|
var S = Q("./Uint8ArrayReader");
|
|
9027
|
-
function b(
|
|
9028
|
-
S.call(this,
|
|
9027
|
+
function b(D) {
|
|
9028
|
+
S.call(this, D);
|
|
9029
9029
|
}
|
|
9030
|
-
Q("../utils").inherits(b, S), b.prototype.readData = function(
|
|
9031
|
-
this.checkOffset(
|
|
9032
|
-
var x = this.data.slice(this.zero + this.index, this.zero + this.index +
|
|
9033
|
-
return this.index +=
|
|
9030
|
+
Q("../utils").inherits(b, S), b.prototype.readData = function(D) {
|
|
9031
|
+
this.checkOffset(D);
|
|
9032
|
+
var x = this.data.slice(this.zero + this.index, this.zero + this.index + D);
|
|
9033
|
+
return this.index += D, x;
|
|
9034
9034
|
}, m.exports = b;
|
|
9035
|
-
}, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(Q, m,
|
|
9035
|
+
}, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(Q, m, v) {
|
|
9036
9036
|
var S = Q("./DataReader");
|
|
9037
|
-
function b(
|
|
9038
|
-
S.call(this,
|
|
9039
|
-
}
|
|
9040
|
-
Q("../utils").inherits(b, S), b.prototype.byteAt = function(
|
|
9041
|
-
return this.data.charCodeAt(this.zero +
|
|
9042
|
-
}, b.prototype.lastIndexOfSignature = function(
|
|
9043
|
-
return this.data.lastIndexOf(
|
|
9044
|
-
}, b.prototype.readAndCheckSignature = function(
|
|
9045
|
-
return
|
|
9046
|
-
}, b.prototype.readData = function(
|
|
9047
|
-
this.checkOffset(
|
|
9048
|
-
var x = this.data.slice(this.zero + this.index, this.zero + this.index +
|
|
9049
|
-
return this.index +=
|
|
9037
|
+
function b(D) {
|
|
9038
|
+
S.call(this, D);
|
|
9039
|
+
}
|
|
9040
|
+
Q("../utils").inherits(b, S), b.prototype.byteAt = function(D) {
|
|
9041
|
+
return this.data.charCodeAt(this.zero + D);
|
|
9042
|
+
}, b.prototype.lastIndexOfSignature = function(D) {
|
|
9043
|
+
return this.data.lastIndexOf(D) - this.zero;
|
|
9044
|
+
}, b.prototype.readAndCheckSignature = function(D) {
|
|
9045
|
+
return D === this.readData(4);
|
|
9046
|
+
}, b.prototype.readData = function(D) {
|
|
9047
|
+
this.checkOffset(D);
|
|
9048
|
+
var x = this.data.slice(this.zero + this.index, this.zero + this.index + D);
|
|
9049
|
+
return this.index += D, x;
|
|
9050
9050
|
}, m.exports = b;
|
|
9051
|
-
}, { "../utils": 32, "./DataReader": 18 }], 21: [function(Q, m,
|
|
9051
|
+
}, { "../utils": 32, "./DataReader": 18 }], 21: [function(Q, m, v) {
|
|
9052
9052
|
var S = Q("./ArrayReader");
|
|
9053
|
-
function b(
|
|
9054
|
-
S.call(this,
|
|
9053
|
+
function b(D) {
|
|
9054
|
+
S.call(this, D);
|
|
9055
9055
|
}
|
|
9056
|
-
Q("../utils").inherits(b, S), b.prototype.readData = function(
|
|
9057
|
-
if (this.checkOffset(
|
|
9058
|
-
var x = this.data.subarray(this.zero + this.index, this.zero + this.index +
|
|
9059
|
-
return this.index +=
|
|
9056
|
+
Q("../utils").inherits(b, S), b.prototype.readData = function(D) {
|
|
9057
|
+
if (this.checkOffset(D), D === 0) return new Uint8Array(0);
|
|
9058
|
+
var x = this.data.subarray(this.zero + this.index, this.zero + this.index + D);
|
|
9059
|
+
return this.index += D, x;
|
|
9060
9060
|
}, m.exports = b;
|
|
9061
|
-
}, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(Q, m,
|
|
9062
|
-
var S = Q("../utils"), b = Q("../support"),
|
|
9061
|
+
}, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(Q, m, v) {
|
|
9062
|
+
var S = Q("../utils"), b = Q("../support"), D = Q("./ArrayReader"), x = Q("./StringReader"), F = Q("./NodeBufferReader"), Y = Q("./Uint8ArrayReader");
|
|
9063
9063
|
m.exports = function(P) {
|
|
9064
9064
|
var K = S.getTypeOf(P);
|
|
9065
|
-
return S.checkSupport(K), K !== "string" || b.uint8array ? K === "nodebuffer" ? new F(P) : b.uint8array ? new Y(S.transformTo("uint8array", P)) : new
|
|
9065
|
+
return S.checkSupport(K), K !== "string" || b.uint8array ? K === "nodebuffer" ? new F(P) : b.uint8array ? new Y(S.transformTo("uint8array", P)) : new D(S.transformTo("array", P)) : new x(P);
|
|
9066
9066
|
};
|
|
9067
|
-
}, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(Q, m,
|
|
9068
|
-
|
|
9069
|
-
}, {}], 24: [function(Q, m,
|
|
9067
|
+
}, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(Q, m, v) {
|
|
9068
|
+
v.LOCAL_FILE_HEADER = "PK", v.CENTRAL_FILE_HEADER = "PK", v.CENTRAL_DIRECTORY_END = "PK", v.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", v.ZIP64_CENTRAL_DIRECTORY_END = "PK", v.DATA_DESCRIPTOR = "PK\x07\b";
|
|
9069
|
+
}, {}], 24: [function(Q, m, v) {
|
|
9070
9070
|
var S = Q("./GenericWorker"), b = Q("../utils");
|
|
9071
|
-
function
|
|
9071
|
+
function D(x) {
|
|
9072
9072
|
S.call(this, "ConvertWorker to " + x), this.destType = x;
|
|
9073
9073
|
}
|
|
9074
|
-
b.inherits(
|
|
9074
|
+
b.inherits(D, S), D.prototype.processChunk = function(x) {
|
|
9075
9075
|
this.push({ data: b.transformTo(this.destType, x.data), meta: x.meta });
|
|
9076
|
-
}, m.exports =
|
|
9077
|
-
}, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(Q, m,
|
|
9076
|
+
}, m.exports = D;
|
|
9077
|
+
}, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(Q, m, v) {
|
|
9078
9078
|
var S = Q("./GenericWorker"), b = Q("../crc32");
|
|
9079
|
-
function
|
|
9079
|
+
function D() {
|
|
9080
9080
|
S.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
|
|
9081
9081
|
}
|
|
9082
|
-
Q("../utils").inherits(
|
|
9082
|
+
Q("../utils").inherits(D, S), D.prototype.processChunk = function(x) {
|
|
9083
9083
|
this.streamInfo.crc32 = b(x.data, this.streamInfo.crc32 || 0), this.push(x);
|
|
9084
|
-
}, m.exports =
|
|
9085
|
-
}, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(Q, m,
|
|
9084
|
+
}, m.exports = D;
|
|
9085
|
+
}, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(Q, m, v) {
|
|
9086
9086
|
var S = Q("../utils"), b = Q("./GenericWorker");
|
|
9087
|
-
function
|
|
9087
|
+
function D(x) {
|
|
9088
9088
|
b.call(this, "DataLengthProbe for " + x), this.propName = x, this.withStreamInfo(x, 0);
|
|
9089
9089
|
}
|
|
9090
|
-
S.inherits(
|
|
9090
|
+
S.inherits(D, b), D.prototype.processChunk = function(x) {
|
|
9091
9091
|
if (x) {
|
|
9092
9092
|
var F = this.streamInfo[this.propName] || 0;
|
|
9093
9093
|
this.streamInfo[this.propName] = F + x.data.length;
|
|
9094
9094
|
}
|
|
9095
9095
|
b.prototype.processChunk.call(this, x);
|
|
9096
|
-
}, m.exports =
|
|
9097
|
-
}, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(Q, m,
|
|
9096
|
+
}, m.exports = D;
|
|
9097
|
+
}, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(Q, m, v) {
|
|
9098
9098
|
var S = Q("../utils"), b = Q("./GenericWorker");
|
|
9099
|
-
function
|
|
9099
|
+
function D(x) {
|
|
9100
9100
|
b.call(this, "DataWorker");
|
|
9101
9101
|
var F = this;
|
|
9102
9102
|
this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, x.then((function(Y) {
|
|
@@ -9105,13 +9105,13 @@ function Ex() {
|
|
|
9105
9105
|
F.error(Y);
|
|
9106
9106
|
}));
|
|
9107
9107
|
}
|
|
9108
|
-
S.inherits(
|
|
9108
|
+
S.inherits(D, b), D.prototype.cleanUp = function() {
|
|
9109
9109
|
b.prototype.cleanUp.call(this), this.data = null;
|
|
9110
|
-
},
|
|
9110
|
+
}, D.prototype.resume = function() {
|
|
9111
9111
|
return !!b.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, S.delay(this._tickAndRepeat, [], this)), !0);
|
|
9112
|
-
},
|
|
9112
|
+
}, D.prototype._tickAndRepeat = function() {
|
|
9113
9113
|
this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (S.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
|
|
9114
|
-
},
|
|
9114
|
+
}, D.prototype._tick = function() {
|
|
9115
9115
|
if (this.isPaused || this.isFinished) return !1;
|
|
9116
9116
|
var x = null, F = Math.min(this.max, this.index + 16384);
|
|
9117
9117
|
if (this.index >= this.max) return this.end();
|
|
@@ -9127,8 +9127,8 @@ function Ex() {
|
|
|
9127
9127
|
x = this.data.slice(this.index, F);
|
|
9128
9128
|
}
|
|
9129
9129
|
return this.index = F, this.push({ data: x, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
|
|
9130
|
-
}, m.exports =
|
|
9131
|
-
}, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(Q, m,
|
|
9130
|
+
}, m.exports = D;
|
|
9131
|
+
}, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(Q, m, v) {
|
|
9132
9132
|
function S(b) {
|
|
9133
9133
|
this.name = b || "default", this.streamInfo = {}, this.generatedError = null, this.extraStreamInfo = {}, this.isPaused = !0, this.isFinished = !1, this.isLocked = !1, this._listeners = { data: [], end: [], error: [] }, this.previous = null;
|
|
9134
9134
|
}
|
|
@@ -9145,24 +9145,24 @@ function Ex() {
|
|
|
9145
9145
|
return !0;
|
|
9146
9146
|
}, error: function(b) {
|
|
9147
9147
|
return !this.isFinished && (this.isPaused ? this.generatedError = b : (this.isFinished = !0, this.emit("error", b), this.previous && this.previous.error(b), this.cleanUp()), !0);
|
|
9148
|
-
}, on: function(b,
|
|
9149
|
-
return this._listeners[b].push(
|
|
9148
|
+
}, on: function(b, D) {
|
|
9149
|
+
return this._listeners[b].push(D), this;
|
|
9150
9150
|
}, cleanUp: function() {
|
|
9151
9151
|
this.streamInfo = this.generatedError = this.extraStreamInfo = null, this._listeners = [];
|
|
9152
|
-
}, emit: function(b,
|
|
9153
|
-
if (this._listeners[b]) for (var x = 0; x < this._listeners[b].length; x++) this._listeners[b][x].call(this,
|
|
9152
|
+
}, emit: function(b, D) {
|
|
9153
|
+
if (this._listeners[b]) for (var x = 0; x < this._listeners[b].length; x++) this._listeners[b][x].call(this, D);
|
|
9154
9154
|
}, pipe: function(b) {
|
|
9155
9155
|
return b.registerPrevious(this);
|
|
9156
9156
|
}, registerPrevious: function(b) {
|
|
9157
9157
|
if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
|
|
9158
9158
|
this.streamInfo = b.streamInfo, this.mergeStreamInfo(), this.previous = b;
|
|
9159
|
-
var
|
|
9159
|
+
var D = this;
|
|
9160
9160
|
return b.on("data", (function(x) {
|
|
9161
|
-
|
|
9161
|
+
D.processChunk(x);
|
|
9162
9162
|
})), b.on("end", (function() {
|
|
9163
|
-
|
|
9163
|
+
D.end();
|
|
9164
9164
|
})), b.on("error", (function(x) {
|
|
9165
|
-
|
|
9165
|
+
D.error(x);
|
|
9166
9166
|
})), this;
|
|
9167
9167
|
}, pause: function() {
|
|
9168
9168
|
return !this.isPaused && !this.isFinished && (this.isPaused = !0, this.previous && this.previous.pause(), !0);
|
|
@@ -9173,8 +9173,8 @@ function Ex() {
|
|
|
9173
9173
|
}, flush: function() {
|
|
9174
9174
|
}, processChunk: function(b) {
|
|
9175
9175
|
this.push(b);
|
|
9176
|
-
}, withStreamInfo: function(b,
|
|
9177
|
-
return this.extraStreamInfo[b] =
|
|
9176
|
+
}, withStreamInfo: function(b, D) {
|
|
9177
|
+
return this.extraStreamInfo[b] = D, this.mergeStreamInfo(), this;
|
|
9178
9178
|
}, mergeStreamInfo: function() {
|
|
9179
9179
|
for (var b in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, b) && (this.streamInfo[b] = this.extraStreamInfo[b]);
|
|
9180
9180
|
}, lock: function() {
|
|
@@ -9184,8 +9184,8 @@ function Ex() {
|
|
|
9184
9184
|
var b = "Worker " + this.name;
|
|
9185
9185
|
return this.previous ? this.previous + " -> " + b : b;
|
|
9186
9186
|
} }, m.exports = S;
|
|
9187
|
-
}, {}], 29: [function(Q, m,
|
|
9188
|
-
var S = Q("../utils"), b = Q("./ConvertWorker"),
|
|
9187
|
+
}, {}], 29: [function(Q, m, v) {
|
|
9188
|
+
var S = Q("../utils"), b = Q("./ConvertWorker"), D = Q("./GenericWorker"), x = Q("../base64"), F = Q("../support"), Y = Q("../external"), P = null;
|
|
9189
9189
|
if (F.nodestream) try {
|
|
9190
9190
|
P = Q("../nodejs/NodejsStreamOutputAdapter");
|
|
9191
9191
|
} catch {
|
|
@@ -9246,7 +9246,7 @@ function Ex() {
|
|
|
9246
9246
|
try {
|
|
9247
9247
|
this._internalType = j, this._outputType = H, this._mimeType = z, S.checkSupport(j), this._worker = W.pipe(new b(j)), W.lock();
|
|
9248
9248
|
} catch (X) {
|
|
9249
|
-
this._worker = new
|
|
9249
|
+
this._worker = new D("error"), this._worker.error(X);
|
|
9250
9250
|
}
|
|
9251
9251
|
}
|
|
9252
9252
|
G.prototype = { accumulate: function(W) {
|
|
@@ -9266,42 +9266,42 @@ function Ex() {
|
|
|
9266
9266
|
if (S.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
|
|
9267
9267
|
return new P(this, { objectMode: this._outputType !== "nodebuffer" }, W);
|
|
9268
9268
|
} }, m.exports = G;
|
|
9269
|
-
}, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(Q, m,
|
|
9270
|
-
if (
|
|
9269
|
+
}, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(Q, m, v) {
|
|
9270
|
+
if (v.base64 = !0, v.array = !0, v.string = !0, v.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", v.nodebuffer = typeof Buffer < "u", v.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") v.blob = !1;
|
|
9271
9271
|
else {
|
|
9272
9272
|
var S = new ArrayBuffer(0);
|
|
9273
9273
|
try {
|
|
9274
|
-
|
|
9274
|
+
v.blob = new Blob([S], { type: "application/zip" }).size === 0;
|
|
9275
9275
|
} catch {
|
|
9276
9276
|
try {
|
|
9277
9277
|
var b = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
|
|
9278
|
-
b.append(S),
|
|
9278
|
+
b.append(S), v.blob = b.getBlob("application/zip").size === 0;
|
|
9279
9279
|
} catch {
|
|
9280
|
-
|
|
9280
|
+
v.blob = !1;
|
|
9281
9281
|
}
|
|
9282
9282
|
}
|
|
9283
9283
|
}
|
|
9284
9284
|
try {
|
|
9285
|
-
|
|
9285
|
+
v.nodestream = !!Q("readable-stream").Readable;
|
|
9286
9286
|
} catch {
|
|
9287
|
-
|
|
9287
|
+
v.nodestream = !1;
|
|
9288
9288
|
}
|
|
9289
|
-
}, { "readable-stream": 16 }], 31: [function(Q, m,
|
|
9290
|
-
for (var S = Q("./utils"), b = Q("./support"),
|
|
9289
|
+
}, { "readable-stream": 16 }], 31: [function(Q, m, v) {
|
|
9290
|
+
for (var S = Q("./utils"), b = Q("./support"), D = Q("./nodejsUtils"), x = Q("./stream/GenericWorker"), F = new Array(256), Y = 0; Y < 256; Y++) F[Y] = 252 <= Y ? 6 : 248 <= Y ? 5 : 240 <= Y ? 4 : 224 <= Y ? 3 : 192 <= Y ? 2 : 1;
|
|
9291
9291
|
function P() {
|
|
9292
9292
|
x.call(this, "utf-8 decode"), this.leftOver = null;
|
|
9293
9293
|
}
|
|
9294
9294
|
function K() {
|
|
9295
9295
|
x.call(this, "utf-8 encode");
|
|
9296
9296
|
}
|
|
9297
|
-
F[254] = F[254] = 1,
|
|
9298
|
-
return b.nodebuffer ?
|
|
9297
|
+
F[254] = F[254] = 1, v.utf8encode = function(G) {
|
|
9298
|
+
return b.nodebuffer ? D.newBufferFrom(G, "utf-8") : (function(W) {
|
|
9299
9299
|
var H, z, j, X, le, Ce = W.length, ee = 0;
|
|
9300
9300
|
for (X = 0; X < Ce; X++) (64512 & (z = W.charCodeAt(X))) == 55296 && X + 1 < Ce && (64512 & (j = W.charCodeAt(X + 1))) == 56320 && (z = 65536 + (z - 55296 << 10) + (j - 56320), X++), ee += z < 128 ? 1 : z < 2048 ? 2 : z < 65536 ? 3 : 4;
|
|
9301
9301
|
for (H = b.uint8array ? new Uint8Array(ee) : new Array(ee), X = le = 0; le < ee; X++) (64512 & (z = W.charCodeAt(X))) == 55296 && X + 1 < Ce && (64512 & (j = W.charCodeAt(X + 1))) == 56320 && (z = 65536 + (z - 55296 << 10) + (j - 56320), X++), z < 128 ? H[le++] = z : (z < 2048 ? H[le++] = 192 | z >>> 6 : (z < 65536 ? H[le++] = 224 | z >>> 12 : (H[le++] = 240 | z >>> 18, H[le++] = 128 | z >>> 12 & 63), H[le++] = 128 | z >>> 6 & 63), H[le++] = 128 | 63 & z);
|
|
9302
9302
|
return H;
|
|
9303
9303
|
})(G);
|
|
9304
|
-
},
|
|
9304
|
+
}, v.utf8decode = function(G) {
|
|
9305
9305
|
return b.nodebuffer ? S.transformTo("nodebuffer", G).toString("utf-8") : (function(W) {
|
|
9306
9306
|
var H, z, j, X, le = W.length, Ce = new Array(2 * le);
|
|
9307
9307
|
for (H = z = 0; H < le; ) if ((j = W[H++]) < 128) Ce[z++] = j;
|
|
@@ -9326,14 +9326,14 @@ function Ex() {
|
|
|
9326
9326
|
for ((le = le || X.length) > X.length && (le = X.length), Ce = le - 1; 0 <= Ce && (192 & X[Ce]) == 128; ) Ce--;
|
|
9327
9327
|
return Ce < 0 || Ce === 0 ? le : Ce + F[X[Ce]] > le ? Ce : le;
|
|
9328
9328
|
})(W), j = W;
|
|
9329
|
-
z !== W.length && (b.uint8array ? (j = W.subarray(0, z), this.leftOver = W.subarray(z, W.length)) : (j = W.slice(0, z), this.leftOver = W.slice(z, W.length))), this.push({ data:
|
|
9329
|
+
z !== W.length && (b.uint8array ? (j = W.subarray(0, z), this.leftOver = W.subarray(z, W.length)) : (j = W.slice(0, z), this.leftOver = W.slice(z, W.length))), this.push({ data: v.utf8decode(j), meta: G.meta });
|
|
9330
9330
|
}, P.prototype.flush = function() {
|
|
9331
|
-
this.leftOver && this.leftOver.length && (this.push({ data:
|
|
9332
|
-
},
|
|
9333
|
-
this.push({ data:
|
|
9334
|
-
},
|
|
9335
|
-
}, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(Q, m,
|
|
9336
|
-
var S = Q("./support"), b = Q("./base64"),
|
|
9331
|
+
this.leftOver && this.leftOver.length && (this.push({ data: v.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
|
|
9332
|
+
}, v.Utf8DecodeWorker = P, S.inherits(K, x), K.prototype.processChunk = function(G) {
|
|
9333
|
+
this.push({ data: v.utf8encode(G.data), meta: G.meta });
|
|
9334
|
+
}, v.Utf8EncodeWorker = K;
|
|
9335
|
+
}, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(Q, m, v) {
|
|
9336
|
+
var S = Q("./support"), b = Q("./base64"), D = Q("./nodejsUtils"), x = Q("./external");
|
|
9337
9337
|
function F(H) {
|
|
9338
9338
|
return H;
|
|
9339
9339
|
}
|
|
@@ -9341,8 +9341,8 @@ function Ex() {
|
|
|
9341
9341
|
for (var j = 0; j < H.length; ++j) z[j] = 255 & H.charCodeAt(j);
|
|
9342
9342
|
return z;
|
|
9343
9343
|
}
|
|
9344
|
-
Q("setimmediate"),
|
|
9345
|
-
|
|
9344
|
+
Q("setimmediate"), v.newBlob = function(H, z) {
|
|
9345
|
+
v.checkSupport("blob");
|
|
9346
9346
|
try {
|
|
9347
9347
|
return new Blob([H], { type: z });
|
|
9348
9348
|
} catch {
|
|
@@ -9370,13 +9370,13 @@ function Ex() {
|
|
|
9370
9370
|
}
|
|
9371
9371
|
})(), nodebuffer: (function() {
|
|
9372
9372
|
try {
|
|
9373
|
-
return S.nodebuffer && String.fromCharCode.apply(null,
|
|
9373
|
+
return S.nodebuffer && String.fromCharCode.apply(null, D.allocBuffer(1)).length === 1;
|
|
9374
9374
|
} catch {
|
|
9375
9375
|
return !1;
|
|
9376
9376
|
}
|
|
9377
9377
|
})() } };
|
|
9378
9378
|
function K(H) {
|
|
9379
|
-
var z = 65536, j =
|
|
9379
|
+
var z = 65536, j = v.getTypeOf(H), X = !0;
|
|
9380
9380
|
if (j === "uint8array" ? X = P.applyCanBeUsed.uint8array : j === "nodebuffer" && (X = P.applyCanBeUsed.nodebuffer), X) for (; 1 < z; ) try {
|
|
9381
9381
|
return P.stringifyByChunk(H, j, z);
|
|
9382
9382
|
} catch {
|
|
@@ -9388,7 +9388,7 @@ function Ex() {
|
|
|
9388
9388
|
for (var j = 0; j < H.length; j++) z[j] = H[j];
|
|
9389
9389
|
return z;
|
|
9390
9390
|
}
|
|
9391
|
-
|
|
9391
|
+
v.applyFromCharCode = K;
|
|
9392
9392
|
var W = {};
|
|
9393
9393
|
W.string = { string: F, array: function(H) {
|
|
9394
9394
|
return Y(H, new Array(H.length));
|
|
@@ -9397,13 +9397,13 @@ function Ex() {
|
|
|
9397
9397
|
}, uint8array: function(H) {
|
|
9398
9398
|
return Y(H, new Uint8Array(H.length));
|
|
9399
9399
|
}, nodebuffer: function(H) {
|
|
9400
|
-
return Y(H,
|
|
9400
|
+
return Y(H, D.allocBuffer(H.length));
|
|
9401
9401
|
} }, W.array = { string: K, array: F, arraybuffer: function(H) {
|
|
9402
9402
|
return new Uint8Array(H).buffer;
|
|
9403
9403
|
}, uint8array: function(H) {
|
|
9404
9404
|
return new Uint8Array(H);
|
|
9405
9405
|
}, nodebuffer: function(H) {
|
|
9406
|
-
return
|
|
9406
|
+
return D.newBufferFrom(H);
|
|
9407
9407
|
} }, W.arraybuffer = { string: function(H) {
|
|
9408
9408
|
return K(new Uint8Array(H));
|
|
9409
9409
|
}, array: function(H) {
|
|
@@ -9411,51 +9411,51 @@ function Ex() {
|
|
|
9411
9411
|
}, arraybuffer: F, uint8array: function(H) {
|
|
9412
9412
|
return new Uint8Array(H);
|
|
9413
9413
|
}, nodebuffer: function(H) {
|
|
9414
|
-
return
|
|
9414
|
+
return D.newBufferFrom(new Uint8Array(H));
|
|
9415
9415
|
} }, W.uint8array = { string: K, array: function(H) {
|
|
9416
9416
|
return G(H, new Array(H.length));
|
|
9417
9417
|
}, arraybuffer: function(H) {
|
|
9418
9418
|
return H.buffer;
|
|
9419
9419
|
}, uint8array: F, nodebuffer: function(H) {
|
|
9420
|
-
return
|
|
9420
|
+
return D.newBufferFrom(H);
|
|
9421
9421
|
} }, W.nodebuffer = { string: K, array: function(H) {
|
|
9422
9422
|
return G(H, new Array(H.length));
|
|
9423
9423
|
}, arraybuffer: function(H) {
|
|
9424
9424
|
return W.nodebuffer.uint8array(H).buffer;
|
|
9425
9425
|
}, uint8array: function(H) {
|
|
9426
9426
|
return G(H, new Uint8Array(H.length));
|
|
9427
|
-
}, nodebuffer: F },
|
|
9427
|
+
}, nodebuffer: F }, v.transformTo = function(H, z) {
|
|
9428
9428
|
if (z = z || "", !H) return z;
|
|
9429
|
-
|
|
9430
|
-
var j =
|
|
9429
|
+
v.checkSupport(H);
|
|
9430
|
+
var j = v.getTypeOf(z);
|
|
9431
9431
|
return W[j][H](z);
|
|
9432
|
-
},
|
|
9432
|
+
}, v.resolve = function(H) {
|
|
9433
9433
|
for (var z = H.split("/"), j = [], X = 0; X < z.length; X++) {
|
|
9434
9434
|
var le = z[X];
|
|
9435
9435
|
le === "." || le === "" && X !== 0 && X !== z.length - 1 || (le === ".." ? j.pop() : j.push(le));
|
|
9436
9436
|
}
|
|
9437
9437
|
return j.join("/");
|
|
9438
|
-
},
|
|
9439
|
-
return typeof H == "string" ? "string" : Object.prototype.toString.call(H) === "[object Array]" ? "array" : S.nodebuffer &&
|
|
9440
|
-
},
|
|
9438
|
+
}, v.getTypeOf = function(H) {
|
|
9439
|
+
return typeof H == "string" ? "string" : Object.prototype.toString.call(H) === "[object Array]" ? "array" : S.nodebuffer && D.isBuffer(H) ? "nodebuffer" : S.uint8array && H instanceof Uint8Array ? "uint8array" : S.arraybuffer && H instanceof ArrayBuffer ? "arraybuffer" : void 0;
|
|
9440
|
+
}, v.checkSupport = function(H) {
|
|
9441
9441
|
if (!S[H.toLowerCase()]) throw new Error(H + " is not supported by this platform");
|
|
9442
|
-
},
|
|
9442
|
+
}, v.MAX_VALUE_16BITS = 65535, v.MAX_VALUE_32BITS = -1, v.pretty = function(H) {
|
|
9443
9443
|
var z, j, X = "";
|
|
9444
9444
|
for (j = 0; j < (H || "").length; j++) X += "\\x" + ((z = H.charCodeAt(j)) < 16 ? "0" : "") + z.toString(16).toUpperCase();
|
|
9445
9445
|
return X;
|
|
9446
|
-
},
|
|
9446
|
+
}, v.delay = function(H, z, j) {
|
|
9447
9447
|
setImmediate((function() {
|
|
9448
9448
|
H.apply(j || null, z || []);
|
|
9449
9449
|
}));
|
|
9450
|
-
},
|
|
9450
|
+
}, v.inherits = function(H, z) {
|
|
9451
9451
|
function j() {
|
|
9452
9452
|
}
|
|
9453
9453
|
j.prototype = z.prototype, H.prototype = new j();
|
|
9454
|
-
},
|
|
9454
|
+
}, v.extend = function() {
|
|
9455
9455
|
var H, z, j = {};
|
|
9456
9456
|
for (H = 0; H < arguments.length; H++) for (z in arguments[H]) Object.prototype.hasOwnProperty.call(arguments[H], z) && j[z] === void 0 && (j[z] = arguments[H][z]);
|
|
9457
9457
|
return j;
|
|
9458
|
-
},
|
|
9458
|
+
}, v.prepareContent = function(H, z, j, X, le) {
|
|
9459
9459
|
return x.Promise.resolve(z).then((function(Ce) {
|
|
9460
9460
|
return S.blob && (Ce instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(Ce)) !== -1) && typeof FileReader < "u" ? new x.Promise((function(ee, Fe) {
|
|
9461
9461
|
var Ee = new FileReader();
|
|
@@ -9466,14 +9466,14 @@ function Ex() {
|
|
|
9466
9466
|
}, Ee.readAsArrayBuffer(Ce);
|
|
9467
9467
|
})) : Ce;
|
|
9468
9468
|
})).then((function(Ce) {
|
|
9469
|
-
var ee =
|
|
9470
|
-
return ee ? (ee === "arraybuffer" ? Ce =
|
|
9469
|
+
var ee = v.getTypeOf(Ce);
|
|
9470
|
+
return ee ? (ee === "arraybuffer" ? Ce = v.transformTo("uint8array", Ce) : ee === "string" && (le ? Ce = b.decode(Ce) : j && X !== !0 && (Ce = (function(Fe) {
|
|
9471
9471
|
return Y(Fe, S.uint8array ? new Uint8Array(Fe.length) : new Array(Fe.length));
|
|
9472
9472
|
})(Ce))), Ce) : x.Promise.reject(new Error("Can't read the data of '" + H + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
|
|
9473
9473
|
}));
|
|
9474
9474
|
};
|
|
9475
|
-
}, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(Q, m,
|
|
9476
|
-
var S = Q("./reader/readerFor"), b = Q("./utils"),
|
|
9475
|
+
}, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(Q, m, v) {
|
|
9476
|
+
var S = Q("./reader/readerFor"), b = Q("./utils"), D = Q("./signature"), x = Q("./zipEntry"), F = Q("./support");
|
|
9477
9477
|
function Y(P) {
|
|
9478
9478
|
this.files = [], this.loadOptions = P;
|
|
9479
9479
|
}
|
|
@@ -9499,33 +9499,33 @@ function Ex() {
|
|
|
9499
9499
|
if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported");
|
|
9500
9500
|
}, readLocalFiles: function() {
|
|
9501
9501
|
var P, K;
|
|
9502
|
-
for (P = 0; P < this.files.length; P++) K = this.files[P], this.reader.setIndex(K.localHeaderOffset), this.checkSignature(
|
|
9502
|
+
for (P = 0; P < this.files.length; P++) K = this.files[P], this.reader.setIndex(K.localHeaderOffset), this.checkSignature(D.LOCAL_FILE_HEADER), K.readLocalPart(this.reader), K.handleUTF8(), K.processAttributes();
|
|
9503
9503
|
}, readCentralDir: function() {
|
|
9504
9504
|
var P;
|
|
9505
|
-
for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(
|
|
9505
|
+
for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(D.CENTRAL_FILE_HEADER); ) (P = new x({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(P);
|
|
9506
9506
|
if (this.centralDirRecords !== this.files.length && this.centralDirRecords !== 0 && this.files.length === 0) throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
|
|
9507
9507
|
}, readEndOfCentral: function() {
|
|
9508
|
-
var P = this.reader.lastIndexOfSignature(
|
|
9509
|
-
if (P < 0) throw this.isSignature(0,
|
|
9508
|
+
var P = this.reader.lastIndexOfSignature(D.CENTRAL_DIRECTORY_END);
|
|
9509
|
+
if (P < 0) throw this.isSignature(0, D.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
|
|
9510
9510
|
this.reader.setIndex(P);
|
|
9511
9511
|
var K = P;
|
|
9512
|
-
if (this.checkSignature(
|
|
9513
|
-
if (this.zip64 = !0, (P = this.reader.lastIndexOfSignature(
|
|
9514
|
-
if (this.reader.setIndex(P), this.checkSignature(
|
|
9515
|
-
this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(
|
|
9512
|
+
if (this.checkSignature(D.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === b.MAX_VALUE_16BITS || this.diskWithCentralDirStart === b.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === b.MAX_VALUE_16BITS || this.centralDirRecords === b.MAX_VALUE_16BITS || this.centralDirSize === b.MAX_VALUE_32BITS || this.centralDirOffset === b.MAX_VALUE_32BITS) {
|
|
9513
|
+
if (this.zip64 = !0, (P = this.reader.lastIndexOfSignature(D.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
|
|
9514
|
+
if (this.reader.setIndex(P), this.checkSignature(D.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, D.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(D.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
|
|
9515
|
+
this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(D.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
|
|
9516
9516
|
}
|
|
9517
9517
|
var G = this.centralDirOffset + this.centralDirSize;
|
|
9518
9518
|
this.zip64 && (G += 20, G += 12 + this.zip64EndOfCentralSize);
|
|
9519
9519
|
var W = K - G;
|
|
9520
|
-
if (0 < W) this.isSignature(K,
|
|
9520
|
+
if (0 < W) this.isSignature(K, D.CENTRAL_FILE_HEADER) || (this.reader.zero = W);
|
|
9521
9521
|
else if (W < 0) throw new Error("Corrupted zip: missing " + Math.abs(W) + " bytes.");
|
|
9522
9522
|
}, prepareReader: function(P) {
|
|
9523
9523
|
this.reader = S(P);
|
|
9524
9524
|
}, load: function(P) {
|
|
9525
9525
|
this.prepareReader(P), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
|
|
9526
9526
|
} }, m.exports = Y;
|
|
9527
|
-
}, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(Q, m,
|
|
9528
|
-
var S = Q("./reader/readerFor"), b = Q("./utils"),
|
|
9527
|
+
}, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(Q, m, v) {
|
|
9528
|
+
var S = Q("./reader/readerFor"), b = Q("./utils"), D = Q("./compressedObject"), x = Q("./crc32"), F = Q("./utf8"), Y = Q("./compressions"), P = Q("./support");
|
|
9529
9529
|
function K(G, W) {
|
|
9530
9530
|
this.options = G, this.loadOptions = W;
|
|
9531
9531
|
}
|
|
@@ -9540,7 +9540,7 @@ function Ex() {
|
|
|
9540
9540
|
for (var j in Y) if (Object.prototype.hasOwnProperty.call(Y, j) && Y[j].magic === z) return Y[j];
|
|
9541
9541
|
return null;
|
|
9542
9542
|
})(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + b.pretty(this.compressionMethod) + " unknown (inner file : " + b.transformTo("string", this.fileName) + ")");
|
|
9543
|
-
this.decompressed = new
|
|
9543
|
+
this.decompressed = new D(this.compressedSize, this.uncompressedSize, this.crc32, W, G.readData(this.compressedSize));
|
|
9544
9544
|
}, readCentralPart: function(G) {
|
|
9545
9545
|
this.versionMadeBy = G.readInt(2), G.skip(2), this.bitFlag = G.readInt(2), this.compressionMethod = G.readString(2), this.date = G.readDate(), this.crc32 = G.readInt(4), this.compressedSize = G.readInt(4), this.uncompressedSize = G.readInt(4);
|
|
9546
9546
|
var W = G.readInt(2);
|
|
@@ -9591,11 +9591,11 @@ function Ex() {
|
|
|
9591
9591
|
}
|
|
9592
9592
|
return null;
|
|
9593
9593
|
} }, m.exports = K;
|
|
9594
|
-
}, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(Q, m,
|
|
9594
|
+
}, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(Q, m, v) {
|
|
9595
9595
|
function S(W, H, z) {
|
|
9596
9596
|
this.name = W, this.dir = z.dir, this.date = z.date, this.comment = z.comment, this.unixPermissions = z.unixPermissions, this.dosPermissions = z.dosPermissions, this._data = H, this._dataBinary = z.binary, this.options = { compression: z.compression, compressionOptions: z.compressionOptions };
|
|
9597
9597
|
}
|
|
9598
|
-
var b = Q("./stream/StreamHelper"),
|
|
9598
|
+
var b = Q("./stream/StreamHelper"), D = Q("./stream/DataWorker"), x = Q("./utf8"), F = Q("./compressedObject"), Y = Q("./stream/GenericWorker");
|
|
9599
9599
|
S.prototype = { internalStream: function(W) {
|
|
9600
9600
|
var H = null, z = "string";
|
|
9601
9601
|
try {
|
|
@@ -9617,15 +9617,15 @@ function Ex() {
|
|
|
9617
9617
|
var z = this._decompressWorker();
|
|
9618
9618
|
return this._dataBinary || (z = z.pipe(new x.Utf8EncodeWorker())), F.createWorkerFrom(z, W, H);
|
|
9619
9619
|
}, _decompressWorker: function() {
|
|
9620
|
-
return this._data instanceof F ? this._data.getContentWorker() : this._data instanceof Y ? this._data : new
|
|
9620
|
+
return this._data instanceof F ? this._data.getContentWorker() : this._data instanceof Y ? this._data : new D(this._data);
|
|
9621
9621
|
} };
|
|
9622
9622
|
for (var P = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], K = function() {
|
|
9623
9623
|
throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
|
|
9624
9624
|
}, G = 0; G < P.length; G++) S.prototype[P[G]] = K;
|
|
9625
9625
|
m.exports = S;
|
|
9626
|
-
}, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(Q, m,
|
|
9626
|
+
}, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(Q, m, v) {
|
|
9627
9627
|
(function(S) {
|
|
9628
|
-
var b,
|
|
9628
|
+
var b, D, x = S.MutationObserver || S.WebKitMutationObserver;
|
|
9629
9629
|
if (x) {
|
|
9630
9630
|
var F = 0, Y = new x(W), P = S.document.createTextNode("");
|
|
9631
9631
|
Y.observe(P, { characterData: !0 }), b = function() {
|
|
@@ -9648,22 +9648,22 @@ function Ex() {
|
|
|
9648
9648
|
var G = [];
|
|
9649
9649
|
function W() {
|
|
9650
9650
|
var H, z;
|
|
9651
|
-
|
|
9651
|
+
D = !0;
|
|
9652
9652
|
for (var j = G.length; j; ) {
|
|
9653
9653
|
for (z = G, G = [], H = -1; ++H < j; ) z[H]();
|
|
9654
9654
|
j = G.length;
|
|
9655
9655
|
}
|
|
9656
|
-
|
|
9656
|
+
D = !1;
|
|
9657
9657
|
}
|
|
9658
9658
|
m.exports = function(H) {
|
|
9659
|
-
G.push(H) !== 1 ||
|
|
9659
|
+
G.push(H) !== 1 || D || b();
|
|
9660
9660
|
};
|
|
9661
9661
|
}).call(this, y.g !== void 0 ? y.g : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
9662
|
-
}, {}], 37: [function(Q, m,
|
|
9662
|
+
}, {}], 37: [function(Q, m, v) {
|
|
9663
9663
|
var S = Q("immediate");
|
|
9664
9664
|
function b() {
|
|
9665
9665
|
}
|
|
9666
|
-
var
|
|
9666
|
+
var D = {}, x = ["REJECTED"], F = ["FULFILLED"], Y = ["PENDING"];
|
|
9667
9667
|
function P(j) {
|
|
9668
9668
|
if (typeof j != "function") throw new TypeError("resolver must be a function");
|
|
9669
9669
|
this.state = Y, this.queue = [], this.outcome = void 0, j !== b && H(this, j);
|
|
@@ -9677,9 +9677,9 @@ function Ex() {
|
|
|
9677
9677
|
try {
|
|
9678
9678
|
Ce = X(le);
|
|
9679
9679
|
} catch (ee) {
|
|
9680
|
-
return
|
|
9680
|
+
return D.reject(j, ee);
|
|
9681
9681
|
}
|
|
9682
|
-
Ce === j ?
|
|
9682
|
+
Ce === j ? D.reject(j, new TypeError("Cannot resolve promise with itself")) : D.resolve(j, Ce);
|
|
9683
9683
|
}));
|
|
9684
9684
|
}
|
|
9685
9685
|
function W(j) {
|
|
@@ -9691,10 +9691,10 @@ function Ex() {
|
|
|
9691
9691
|
function H(j, X) {
|
|
9692
9692
|
var le = !1;
|
|
9693
9693
|
function Ce(Ee) {
|
|
9694
|
-
le || (le = !0,
|
|
9694
|
+
le || (le = !0, D.reject(j, Ee));
|
|
9695
9695
|
}
|
|
9696
9696
|
function ee(Ee) {
|
|
9697
|
-
le || (le = !0,
|
|
9697
|
+
le || (le = !0, D.resolve(j, Ee));
|
|
9698
9698
|
}
|
|
9699
9699
|
var Fe = z((function() {
|
|
9700
9700
|
X(ee, Ce);
|
|
@@ -9729,16 +9729,16 @@ function Ex() {
|
|
|
9729
9729
|
var le = new this.constructor(b);
|
|
9730
9730
|
return this.state !== Y ? G(le, this.state === F ? j : X, this.outcome) : this.queue.push(new K(le, j, X)), le;
|
|
9731
9731
|
}, K.prototype.callFulfilled = function(j) {
|
|
9732
|
-
|
|
9732
|
+
D.resolve(this.promise, j);
|
|
9733
9733
|
}, K.prototype.otherCallFulfilled = function(j) {
|
|
9734
9734
|
G(this.promise, this.onFulfilled, j);
|
|
9735
9735
|
}, K.prototype.callRejected = function(j) {
|
|
9736
|
-
|
|
9736
|
+
D.reject(this.promise, j);
|
|
9737
9737
|
}, K.prototype.otherCallRejected = function(j) {
|
|
9738
9738
|
G(this.promise, this.onRejected, j);
|
|
9739
|
-
},
|
|
9739
|
+
}, D.resolve = function(j, X) {
|
|
9740
9740
|
var le = z(W, X);
|
|
9741
|
-
if (le.status === "error") return
|
|
9741
|
+
if (le.status === "error") return D.reject(j, le.value);
|
|
9742
9742
|
var Ce = le.value;
|
|
9743
9743
|
if (Ce) H(j, Ce);
|
|
9744
9744
|
else {
|
|
@@ -9746,15 +9746,15 @@ function Ex() {
|
|
|
9746
9746
|
for (var ee = -1, Fe = j.queue.length; ++ee < Fe; ) j.queue[ee].callFulfilled(X);
|
|
9747
9747
|
}
|
|
9748
9748
|
return j;
|
|
9749
|
-
},
|
|
9749
|
+
}, D.reject = function(j, X) {
|
|
9750
9750
|
j.state = x, j.outcome = X;
|
|
9751
9751
|
for (var le = -1, Ce = j.queue.length; ++le < Ce; ) j.queue[le].callRejected(X);
|
|
9752
9752
|
return j;
|
|
9753
9753
|
}, P.resolve = function(j) {
|
|
9754
|
-
return j instanceof this ? j :
|
|
9754
|
+
return j instanceof this ? j : D.resolve(new this(b), j);
|
|
9755
9755
|
}, P.reject = function(j) {
|
|
9756
9756
|
var X = new this(b);
|
|
9757
|
-
return
|
|
9757
|
+
return D.reject(X, j);
|
|
9758
9758
|
}, P.all = function(j) {
|
|
9759
9759
|
var X = this;
|
|
9760
9760
|
if (Object.prototype.toString.call(j) !== "[object Array]") return this.reject(new TypeError("must be an array"));
|
|
@@ -9764,9 +9764,9 @@ function Ex() {
|
|
|
9764
9764
|
return qe;
|
|
9765
9765
|
function me(Qe, tA) {
|
|
9766
9766
|
X.resolve(Qe).then((function(se) {
|
|
9767
|
-
ee[tA] = se, ++Fe !== le || Ce || (Ce = !0,
|
|
9767
|
+
ee[tA] = se, ++Fe !== le || Ce || (Ce = !0, D.resolve(qe, ee));
|
|
9768
9768
|
}), (function(se) {
|
|
9769
|
-
Ce || (Ce = !0,
|
|
9769
|
+
Ce || (Ce = !0, D.reject(qe, se));
|
|
9770
9770
|
}));
|
|
9771
9771
|
}
|
|
9772
9772
|
}, P.race = function(j) {
|
|
@@ -9775,17 +9775,17 @@ function Ex() {
|
|
|
9775
9775
|
var le = j.length, Ce = !1;
|
|
9776
9776
|
if (!le) return this.resolve([]);
|
|
9777
9777
|
for (var ee, Fe = -1, Ee = new this(b); ++Fe < le; ) ee = j[Fe], X.resolve(ee).then((function(qe) {
|
|
9778
|
-
Ce || (Ce = !0,
|
|
9778
|
+
Ce || (Ce = !0, D.resolve(Ee, qe));
|
|
9779
9779
|
}), (function(qe) {
|
|
9780
|
-
Ce || (Ce = !0,
|
|
9780
|
+
Ce || (Ce = !0, D.reject(Ee, qe));
|
|
9781
9781
|
}));
|
|
9782
9782
|
return Ee;
|
|
9783
9783
|
};
|
|
9784
|
-
}, { immediate: 36 }], 38: [function(Q, m,
|
|
9784
|
+
}, { immediate: 36 }], 38: [function(Q, m, v) {
|
|
9785
9785
|
var S = {};
|
|
9786
9786
|
(0, Q("./lib/utils/common").assign)(S, Q("./lib/deflate"), Q("./lib/inflate"), Q("./lib/zlib/constants")), m.exports = S;
|
|
9787
|
-
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(Q, m,
|
|
9788
|
-
var S = Q("./zlib/deflate"), b = Q("./utils/common"),
|
|
9787
|
+
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(Q, m, v) {
|
|
9788
|
+
var S = Q("./zlib/deflate"), b = Q("./utils/common"), D = Q("./utils/strings"), x = Q("./zlib/messages"), F = Q("./zlib/zstream"), Y = Object.prototype.toString, P = 0, K = -1, G = 0, W = 8;
|
|
9789
9789
|
function H(j) {
|
|
9790
9790
|
if (!(this instanceof H)) return new H(j);
|
|
9791
9791
|
this.options = b.assign({ level: K, method: W, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: G, to: "" }, j || {});
|
|
@@ -9795,7 +9795,7 @@ function Ex() {
|
|
|
9795
9795
|
if (le !== P) throw new Error(x[le]);
|
|
9796
9796
|
if (X.header && S.deflateSetHeader(this.strm, X.header), X.dictionary) {
|
|
9797
9797
|
var Ce;
|
|
9798
|
-
if (Ce = typeof X.dictionary == "string" ?
|
|
9798
|
+
if (Ce = typeof X.dictionary == "string" ? D.string2buf(X.dictionary) : Y.call(X.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(X.dictionary) : X.dictionary, (le = S.deflateSetDictionary(this.strm, Ce)) !== P) throw new Error(x[le]);
|
|
9799
9799
|
this._dict_set = !0;
|
|
9800
9800
|
}
|
|
9801
9801
|
}
|
|
@@ -9807,23 +9807,23 @@ function Ex() {
|
|
|
9807
9807
|
H.prototype.push = function(j, X) {
|
|
9808
9808
|
var le, Ce, ee = this.strm, Fe = this.options.chunkSize;
|
|
9809
9809
|
if (this.ended) return !1;
|
|
9810
|
-
Ce = X === ~~X ? X : X === !0 ? 4 : 0, typeof j == "string" ? ee.input =
|
|
9810
|
+
Ce = X === ~~X ? X : X === !0 ? 4 : 0, typeof j == "string" ? ee.input = D.string2buf(j) : Y.call(j) === "[object ArrayBuffer]" ? ee.input = new Uint8Array(j) : ee.input = j, ee.next_in = 0, ee.avail_in = ee.input.length;
|
|
9811
9811
|
do {
|
|
9812
9812
|
if (ee.avail_out === 0 && (ee.output = new b.Buf8(Fe), ee.next_out = 0, ee.avail_out = Fe), (le = S.deflate(ee, Ce)) !== 1 && le !== P) return this.onEnd(le), !(this.ended = !0);
|
|
9813
|
-
ee.avail_out !== 0 && (ee.avail_in !== 0 || Ce !== 4 && Ce !== 2) || (this.options.to === "string" ? this.onData(
|
|
9813
|
+
ee.avail_out !== 0 && (ee.avail_in !== 0 || Ce !== 4 && Ce !== 2) || (this.options.to === "string" ? this.onData(D.buf2binstring(b.shrinkBuf(ee.output, ee.next_out))) : this.onData(b.shrinkBuf(ee.output, ee.next_out)));
|
|
9814
9814
|
} while ((0 < ee.avail_in || ee.avail_out === 0) && le !== 1);
|
|
9815
9815
|
return Ce === 4 ? (le = S.deflateEnd(this.strm), this.onEnd(le), this.ended = !0, le === P) : Ce !== 2 || (this.onEnd(P), !(ee.avail_out = 0));
|
|
9816
9816
|
}, H.prototype.onData = function(j) {
|
|
9817
9817
|
this.chunks.push(j);
|
|
9818
9818
|
}, H.prototype.onEnd = function(j) {
|
|
9819
9819
|
j === P && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = b.flattenChunks(this.chunks)), this.chunks = [], this.err = j, this.msg = this.strm.msg;
|
|
9820
|
-
},
|
|
9820
|
+
}, v.Deflate = H, v.deflate = z, v.deflateRaw = function(j, X) {
|
|
9821
9821
|
return (X = X || {}).raw = !0, z(j, X);
|
|
9822
|
-
},
|
|
9822
|
+
}, v.gzip = function(j, X) {
|
|
9823
9823
|
return (X = X || {}).gzip = !0, z(j, X);
|
|
9824
9824
|
};
|
|
9825
|
-
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(Q, m,
|
|
9826
|
-
var S = Q("./zlib/inflate"), b = Q("./utils/common"),
|
|
9825
|
+
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(Q, m, v) {
|
|
9826
|
+
var S = Q("./zlib/inflate"), b = Q("./utils/common"), D = Q("./utils/strings"), x = Q("./zlib/constants"), F = Q("./zlib/messages"), Y = Q("./zlib/zstream"), P = Q("./zlib/gzheader"), K = Object.prototype.toString;
|
|
9827
9827
|
function G(H) {
|
|
9828
9828
|
if (!(this instanceof G)) return new G(H);
|
|
9829
9829
|
this.options = b.assign({ chunkSize: 16384, windowBits: 0, to: "" }, H || {});
|
|
@@ -9841,22 +9841,22 @@ function Ex() {
|
|
|
9841
9841
|
G.prototype.push = function(H, z) {
|
|
9842
9842
|
var j, X, le, Ce, ee, Fe, Ee = this.strm, qe = this.options.chunkSize, me = this.options.dictionary, Qe = !1;
|
|
9843
9843
|
if (this.ended) return !1;
|
|
9844
|
-
X = z === ~~z ? z : z === !0 ? x.Z_FINISH : x.Z_NO_FLUSH, typeof H == "string" ? Ee.input =
|
|
9844
|
+
X = z === ~~z ? z : z === !0 ? x.Z_FINISH : x.Z_NO_FLUSH, typeof H == "string" ? Ee.input = D.binstring2buf(H) : K.call(H) === "[object ArrayBuffer]" ? Ee.input = new Uint8Array(H) : Ee.input = H, Ee.next_in = 0, Ee.avail_in = Ee.input.length;
|
|
9845
9845
|
do {
|
|
9846
|
-
if (Ee.avail_out === 0 && (Ee.output = new b.Buf8(qe), Ee.next_out = 0, Ee.avail_out = qe), (j = S.inflate(Ee, x.Z_NO_FLUSH)) === x.Z_NEED_DICT && me && (Fe = typeof me == "string" ?
|
|
9847
|
-
Ee.next_out && (Ee.avail_out !== 0 && j !== x.Z_STREAM_END && (Ee.avail_in !== 0 || X !== x.Z_FINISH && X !== x.Z_SYNC_FLUSH) || (this.options.to === "string" ? (le =
|
|
9846
|
+
if (Ee.avail_out === 0 && (Ee.output = new b.Buf8(qe), Ee.next_out = 0, Ee.avail_out = qe), (j = S.inflate(Ee, x.Z_NO_FLUSH)) === x.Z_NEED_DICT && me && (Fe = typeof me == "string" ? D.string2buf(me) : K.call(me) === "[object ArrayBuffer]" ? new Uint8Array(me) : me, j = S.inflateSetDictionary(this.strm, Fe)), j === x.Z_BUF_ERROR && Qe === !0 && (j = x.Z_OK, Qe = !1), j !== x.Z_STREAM_END && j !== x.Z_OK) return this.onEnd(j), !(this.ended = !0);
|
|
9847
|
+
Ee.next_out && (Ee.avail_out !== 0 && j !== x.Z_STREAM_END && (Ee.avail_in !== 0 || X !== x.Z_FINISH && X !== x.Z_SYNC_FLUSH) || (this.options.to === "string" ? (le = D.utf8border(Ee.output, Ee.next_out), Ce = Ee.next_out - le, ee = D.buf2string(Ee.output, le), Ee.next_out = Ce, Ee.avail_out = qe - Ce, Ce && b.arraySet(Ee.output, Ee.output, le, Ce, 0), this.onData(ee)) : this.onData(b.shrinkBuf(Ee.output, Ee.next_out)))), Ee.avail_in === 0 && Ee.avail_out === 0 && (Qe = !0);
|
|
9848
9848
|
} while ((0 < Ee.avail_in || Ee.avail_out === 0) && j !== x.Z_STREAM_END);
|
|
9849
9849
|
return j === x.Z_STREAM_END && (X = x.Z_FINISH), X === x.Z_FINISH ? (j = S.inflateEnd(this.strm), this.onEnd(j), this.ended = !0, j === x.Z_OK) : X !== x.Z_SYNC_FLUSH || (this.onEnd(x.Z_OK), !(Ee.avail_out = 0));
|
|
9850
9850
|
}, G.prototype.onData = function(H) {
|
|
9851
9851
|
this.chunks.push(H);
|
|
9852
9852
|
}, G.prototype.onEnd = function(H) {
|
|
9853
9853
|
H === x.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = b.flattenChunks(this.chunks)), this.chunks = [], this.err = H, this.msg = this.strm.msg;
|
|
9854
|
-
},
|
|
9854
|
+
}, v.Inflate = G, v.inflate = W, v.inflateRaw = function(H, z) {
|
|
9855
9855
|
return (z = z || {}).raw = !0, W(H, z);
|
|
9856
|
-
},
|
|
9857
|
-
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(Q, m,
|
|
9856
|
+
}, v.ungzip = W;
|
|
9857
|
+
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(Q, m, v) {
|
|
9858
9858
|
var S = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
|
|
9859
|
-
|
|
9859
|
+
v.assign = function(x) {
|
|
9860
9860
|
for (var F = Array.prototype.slice.call(arguments, 1); F.length; ) {
|
|
9861
9861
|
var Y = F.shift();
|
|
9862
9862
|
if (Y) {
|
|
@@ -9865,7 +9865,7 @@ function Ex() {
|
|
|
9865
9865
|
}
|
|
9866
9866
|
}
|
|
9867
9867
|
return x;
|
|
9868
|
-
},
|
|
9868
|
+
}, v.shrinkBuf = function(x, F) {
|
|
9869
9869
|
return x.length === F ? x : x.subarray ? x.subarray(0, F) : (x.length = F, x);
|
|
9870
9870
|
};
|
|
9871
9871
|
var b = { arraySet: function(x, F, Y, P, K) {
|
|
@@ -9876,16 +9876,16 @@ function Ex() {
|
|
|
9876
9876
|
for (F = P = 0, Y = x.length; F < Y; F++) P += x[F].length;
|
|
9877
9877
|
for (W = new Uint8Array(P), F = K = 0, Y = x.length; F < Y; F++) G = x[F], W.set(G, K), K += G.length;
|
|
9878
9878
|
return W;
|
|
9879
|
-
} },
|
|
9879
|
+
} }, D = { arraySet: function(x, F, Y, P, K) {
|
|
9880
9880
|
for (var G = 0; G < P; G++) x[K + G] = F[Y + G];
|
|
9881
9881
|
}, flattenChunks: function(x) {
|
|
9882
9882
|
return [].concat.apply([], x);
|
|
9883
9883
|
} };
|
|
9884
|
-
|
|
9885
|
-
x ? (
|
|
9886
|
-
},
|
|
9887
|
-
}, {}], 42: [function(Q, m,
|
|
9888
|
-
var S = Q("./common"), b = !0,
|
|
9884
|
+
v.setTyped = function(x) {
|
|
9885
|
+
x ? (v.Buf8 = Uint8Array, v.Buf16 = Uint16Array, v.Buf32 = Int32Array, v.assign(v, b)) : (v.Buf8 = Array, v.Buf16 = Array, v.Buf32 = Array, v.assign(v, D));
|
|
9886
|
+
}, v.setTyped(S);
|
|
9887
|
+
}, {}], 42: [function(Q, m, v) {
|
|
9888
|
+
var S = Q("./common"), b = !0, D = !0;
|
|
9889
9889
|
try {
|
|
9890
9890
|
String.fromCharCode.apply(null, [0]);
|
|
9891
9891
|
} catch {
|
|
@@ -9894,25 +9894,25 @@ function Ex() {
|
|
|
9894
9894
|
try {
|
|
9895
9895
|
String.fromCharCode.apply(null, new Uint8Array(1));
|
|
9896
9896
|
} catch {
|
|
9897
|
-
|
|
9897
|
+
D = !1;
|
|
9898
9898
|
}
|
|
9899
9899
|
for (var x = new S.Buf8(256), F = 0; F < 256; F++) x[F] = 252 <= F ? 6 : 248 <= F ? 5 : 240 <= F ? 4 : 224 <= F ? 3 : 192 <= F ? 2 : 1;
|
|
9900
9900
|
function Y(P, K) {
|
|
9901
|
-
if (K < 65537 && (P.subarray &&
|
|
9901
|
+
if (K < 65537 && (P.subarray && D || !P.subarray && b)) return String.fromCharCode.apply(null, S.shrinkBuf(P, K));
|
|
9902
9902
|
for (var G = "", W = 0; W < K; W++) G += String.fromCharCode(P[W]);
|
|
9903
9903
|
return G;
|
|
9904
9904
|
}
|
|
9905
|
-
x[254] = x[254] = 1,
|
|
9905
|
+
x[254] = x[254] = 1, v.string2buf = function(P) {
|
|
9906
9906
|
var K, G, W, H, z, j = P.length, X = 0;
|
|
9907
9907
|
for (H = 0; H < j; H++) (64512 & (G = P.charCodeAt(H))) == 55296 && H + 1 < j && (64512 & (W = P.charCodeAt(H + 1))) == 56320 && (G = 65536 + (G - 55296 << 10) + (W - 56320), H++), X += G < 128 ? 1 : G < 2048 ? 2 : G < 65536 ? 3 : 4;
|
|
9908
9908
|
for (K = new S.Buf8(X), H = z = 0; z < X; H++) (64512 & (G = P.charCodeAt(H))) == 55296 && H + 1 < j && (64512 & (W = P.charCodeAt(H + 1))) == 56320 && (G = 65536 + (G - 55296 << 10) + (W - 56320), H++), G < 128 ? K[z++] = G : (G < 2048 ? K[z++] = 192 | G >>> 6 : (G < 65536 ? K[z++] = 224 | G >>> 12 : (K[z++] = 240 | G >>> 18, K[z++] = 128 | G >>> 12 & 63), K[z++] = 128 | G >>> 6 & 63), K[z++] = 128 | 63 & G);
|
|
9909
9909
|
return K;
|
|
9910
|
-
},
|
|
9910
|
+
}, v.buf2binstring = function(P) {
|
|
9911
9911
|
return Y(P, P.length);
|
|
9912
|
-
},
|
|
9912
|
+
}, v.binstring2buf = function(P) {
|
|
9913
9913
|
for (var K = new S.Buf8(P.length), G = 0, W = K.length; G < W; G++) K[G] = P.charCodeAt(G);
|
|
9914
9914
|
return K;
|
|
9915
|
-
},
|
|
9915
|
+
}, v.buf2string = function(P, K) {
|
|
9916
9916
|
var G, W, H, z, j = K || P.length, X = new Array(2 * j);
|
|
9917
9917
|
for (G = W = 0; G < j; ) if ((H = P[G++]) < 128) X[W++] = H;
|
|
9918
9918
|
else if (4 < (z = x[H])) X[W++] = 65533, G += z - 1;
|
|
@@ -9921,38 +9921,38 @@ function Ex() {
|
|
|
9921
9921
|
1 < z ? X[W++] = 65533 : H < 65536 ? X[W++] = H : (H -= 65536, X[W++] = 55296 | H >> 10 & 1023, X[W++] = 56320 | 1023 & H);
|
|
9922
9922
|
}
|
|
9923
9923
|
return Y(X, W);
|
|
9924
|
-
},
|
|
9924
|
+
}, v.utf8border = function(P, K) {
|
|
9925
9925
|
var G;
|
|
9926
9926
|
for ((K = K || P.length) > P.length && (K = P.length), G = K - 1; 0 <= G && (192 & P[G]) == 128; ) G--;
|
|
9927
9927
|
return G < 0 || G === 0 ? K : G + x[P[G]] > K ? G : K;
|
|
9928
9928
|
};
|
|
9929
|
-
}, { "./common": 41 }], 43: [function(Q, m,
|
|
9930
|
-
m.exports = function(S, b,
|
|
9931
|
-
for (var F = 65535 & S | 0, Y = S >>> 16 & 65535 | 0, P = 0;
|
|
9932
|
-
for (
|
|
9929
|
+
}, { "./common": 41 }], 43: [function(Q, m, v) {
|
|
9930
|
+
m.exports = function(S, b, D, x) {
|
|
9931
|
+
for (var F = 65535 & S | 0, Y = S >>> 16 & 65535 | 0, P = 0; D !== 0; ) {
|
|
9932
|
+
for (D -= P = 2e3 < D ? 2e3 : D; Y = Y + (F = F + b[x++] | 0) | 0, --P; ) ;
|
|
9933
9933
|
F %= 65521, Y %= 65521;
|
|
9934
9934
|
}
|
|
9935
9935
|
return F | Y << 16 | 0;
|
|
9936
9936
|
};
|
|
9937
|
-
}, {}], 44: [function(Q, m,
|
|
9937
|
+
}, {}], 44: [function(Q, m, v) {
|
|
9938
9938
|
m.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 };
|
|
9939
|
-
}, {}], 45: [function(Q, m,
|
|
9939
|
+
}, {}], 45: [function(Q, m, v) {
|
|
9940
9940
|
var S = (function() {
|
|
9941
|
-
for (var b,
|
|
9941
|
+
for (var b, D = [], x = 0; x < 256; x++) {
|
|
9942
9942
|
b = x;
|
|
9943
9943
|
for (var F = 0; F < 8; F++) b = 1 & b ? 3988292384 ^ b >>> 1 : b >>> 1;
|
|
9944
|
-
|
|
9944
|
+
D[x] = b;
|
|
9945
9945
|
}
|
|
9946
|
-
return
|
|
9946
|
+
return D;
|
|
9947
9947
|
})();
|
|
9948
|
-
m.exports = function(b,
|
|
9948
|
+
m.exports = function(b, D, x, F) {
|
|
9949
9949
|
var Y = S, P = F + x;
|
|
9950
9950
|
b ^= -1;
|
|
9951
|
-
for (var K = F; K < P; K++) b = b >>> 8 ^ Y[255 & (b ^
|
|
9951
|
+
for (var K = F; K < P; K++) b = b >>> 8 ^ Y[255 & (b ^ D[K])];
|
|
9952
9952
|
return -1 ^ b;
|
|
9953
9953
|
};
|
|
9954
|
-
}, {}], 46: [function(Q, m,
|
|
9955
|
-
var S, b = Q("../utils/common"),
|
|
9954
|
+
}, {}], 46: [function(Q, m, v) {
|
|
9955
|
+
var S, b = Q("../utils/common"), D = Q("./trees"), x = Q("./adler32"), F = Q("./crc32"), Y = Q("./messages"), P = 0, K = 4, G = 0, W = -2, H = -1, z = 4, j = 2, X = 8, le = 9, Ce = 286, ee = 30, Fe = 19, Ee = 2 * Ce + 1, qe = 15, me = 3, Qe = 258, tA = Qe + me + 1, se = 42, be = 113, T = 1, De = 2, wA = 3, Je = 4;
|
|
9956
9956
|
function kA(M, fe) {
|
|
9957
9957
|
return M.msg = Y[fe], fe;
|
|
9958
9958
|
}
|
|
@@ -9967,7 +9967,7 @@ function Ex() {
|
|
|
9967
9967
|
te > M.avail_out && (te = M.avail_out), te !== 0 && (b.arraySet(M.output, fe.pending_buf, fe.pending_out, te, M.next_out), M.next_out += te, fe.pending_out += te, M.total_out += te, M.avail_out -= te, fe.pending -= te, fe.pending === 0 && (fe.pending_out = 0));
|
|
9968
9968
|
}
|
|
9969
9969
|
function Le(M, fe) {
|
|
9970
|
-
|
|
9970
|
+
D._tr_flush_block(M, 0 <= M.block_start ? M.block_start : -1, M.strstart - M.block_start, fe), M.block_start = M.strstart, Te(M.strm);
|
|
9971
9971
|
}
|
|
9972
9972
|
function OA(M, fe) {
|
|
9973
9973
|
M.pending_buf[M.pending++] = fe;
|
|
@@ -10010,11 +10010,11 @@ function Ex() {
|
|
|
10010
10010
|
if (de(M), M.lookahead < tA && fe === P) return T;
|
|
10011
10011
|
if (M.lookahead === 0) break;
|
|
10012
10012
|
}
|
|
10013
|
-
if (te = 0, M.lookahead >= me && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + me - 1]) & M.hash_mask, te = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), te !== 0 && M.strstart - te <= M.w_size - tA && (M.match_length = Z(M, te)), M.match_length >= me) if (V =
|
|
10013
|
+
if (te = 0, M.lookahead >= me && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + me - 1]) & M.hash_mask, te = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), te !== 0 && M.strstart - te <= M.w_size - tA && (M.match_length = Z(M, te)), M.match_length >= me) if (V = D._tr_tally(M, M.strstart - M.match_start, M.match_length - me), M.lookahead -= M.match_length, M.match_length <= M.max_lazy_match && M.lookahead >= me) {
|
|
10014
10014
|
for (M.match_length--; M.strstart++, M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + me - 1]) & M.hash_mask, te = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart, --M.match_length != 0; ) ;
|
|
10015
10015
|
M.strstart++;
|
|
10016
10016
|
} else M.strstart += M.match_length, M.match_length = 0, M.ins_h = M.window[M.strstart], M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + 1]) & M.hash_mask;
|
|
10017
|
-
else V =
|
|
10017
|
+
else V = D._tr_tally(M, 0, M.window[M.strstart]), M.lookahead--, M.strstart++;
|
|
10018
10018
|
if (V && (Le(M, !1), M.strm.avail_out === 0)) return T;
|
|
10019
10019
|
}
|
|
10020
10020
|
return M.insert = M.strstart < me - 1 ? M.strstart : me - 1, fe === K ? (Le(M, !0), M.strm.avail_out === 0 ? wA : Je) : M.last_lit && (Le(M, !1), M.strm.avail_out === 0) ? T : De;
|
|
@@ -10026,13 +10026,13 @@ function Ex() {
|
|
|
10026
10026
|
if (M.lookahead === 0) break;
|
|
10027
10027
|
}
|
|
10028
10028
|
if (te = 0, M.lookahead >= me && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + me - 1]) & M.hash_mask, te = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), M.prev_length = M.match_length, M.prev_match = M.match_start, M.match_length = me - 1, te !== 0 && M.prev_length < M.max_lazy_match && M.strstart - te <= M.w_size - tA && (M.match_length = Z(M, te), M.match_length <= 5 && (M.strategy === 1 || M.match_length === me && 4096 < M.strstart - M.match_start) && (M.match_length = me - 1)), M.prev_length >= me && M.match_length <= M.prev_length) {
|
|
10029
|
-
for (q = M.strstart + M.lookahead - me, V =
|
|
10029
|
+
for (q = M.strstart + M.lookahead - me, V = D._tr_tally(M, M.strstart - 1 - M.prev_match, M.prev_length - me), M.lookahead -= M.prev_length - 1, M.prev_length -= 2; ++M.strstart <= q && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + me - 1]) & M.hash_mask, te = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), --M.prev_length != 0; ) ;
|
|
10030
10030
|
if (M.match_available = 0, M.match_length = me - 1, M.strstart++, V && (Le(M, !1), M.strm.avail_out === 0)) return T;
|
|
10031
10031
|
} else if (M.match_available) {
|
|
10032
|
-
if ((V =
|
|
10032
|
+
if ((V = D._tr_tally(M, 0, M.window[M.strstart - 1])) && Le(M, !1), M.strstart++, M.lookahead--, M.strm.avail_out === 0) return T;
|
|
10033
10033
|
} else M.match_available = 1, M.strstart++, M.lookahead--;
|
|
10034
10034
|
}
|
|
10035
|
-
return M.match_available && (V =
|
|
10035
|
+
return M.match_available && (V = D._tr_tally(M, 0, M.window[M.strstart - 1]), M.match_available = 0), M.insert = M.strstart < me - 1 ? M.strstart : me - 1, fe === K ? (Le(M, !0), M.strm.avail_out === 0 ? wA : Je) : M.last_lit && (Le(M, !1), M.strm.avail_out === 0) ? T : De;
|
|
10036
10036
|
}
|
|
10037
10037
|
function Ve(M, fe, te, V, q) {
|
|
10038
10038
|
this.good_length = M, this.max_lazy = fe, this.nice_length = te, this.max_chain = V, this.func = q;
|
|
@@ -10042,7 +10042,7 @@ function Ex() {
|
|
|
10042
10042
|
}
|
|
10043
10043
|
function IA(M) {
|
|
10044
10044
|
var fe;
|
|
10045
|
-
return M && M.state ? (M.total_in = M.total_out = 0, M.data_type = j, (fe = M.state).pending = 0, fe.pending_out = 0, fe.wrap < 0 && (fe.wrap = -fe.wrap), fe.status = fe.wrap ? se : be, M.adler = fe.wrap === 2 ? 0 : 1, fe.last_flush = P,
|
|
10045
|
+
return M && M.state ? (M.total_in = M.total_out = 0, M.data_type = j, (fe = M.state).pending = 0, fe.pending_out = 0, fe.wrap < 0 && (fe.wrap = -fe.wrap), fe.status = fe.wrap ? se : be, M.adler = fe.wrap === 2 ? 0 : 1, fe.last_flush = P, D._tr_init(fe), G) : kA(M, W);
|
|
10046
10046
|
}
|
|
10047
10047
|
function QA(M) {
|
|
10048
10048
|
var fe = IA(M);
|
|
@@ -10070,11 +10070,11 @@ function Ex() {
|
|
|
10070
10070
|
if ((M.strstart === 0 || M.strstart >= V) && (M.lookahead = M.strstart - V, M.strstart = V, Le(M, !1), M.strm.avail_out === 0) || M.strstart - M.block_start >= M.w_size - tA && (Le(M, !1), M.strm.avail_out === 0)) return T;
|
|
10071
10071
|
}
|
|
10072
10072
|
return M.insert = 0, fe === K ? (Le(M, !0), M.strm.avail_out === 0 ? wA : Je) : (M.strstart > M.block_start && (Le(M, !1), M.strm.avail_out), T);
|
|
10073
|
-
})), new Ve(4, 4, 8, 4, Ge), new Ve(4, 5, 16, 8, Ge), new Ve(4, 6, 32, 32, Ge), new Ve(4, 4, 16, 16, He), new Ve(8, 16, 32, 32, He), new Ve(8, 16, 128, 128, He), new Ve(8, 32, 128, 256, He), new Ve(32, 128, 258, 1024, He), new Ve(32, 258, 258, 4096, He)],
|
|
10073
|
+
})), new Ve(4, 4, 8, 4, Ge), new Ve(4, 5, 16, 8, Ge), new Ve(4, 6, 32, 32, Ge), new Ve(4, 4, 16, 16, He), new Ve(8, 16, 32, 32, He), new Ve(8, 16, 128, 128, He), new Ve(8, 32, 128, 256, He), new Ve(32, 128, 258, 1024, He), new Ve(32, 258, 258, 4096, He)], v.deflateInit = function(M, fe) {
|
|
10074
10074
|
return vA(M, fe, X, 15, 8, 0);
|
|
10075
|
-
},
|
|
10075
|
+
}, v.deflateInit2 = vA, v.deflateReset = QA, v.deflateResetKeep = IA, v.deflateSetHeader = function(M, fe) {
|
|
10076
10076
|
return M && M.state ? M.state.wrap !== 2 ? W : (M.state.gzhead = fe, G) : W;
|
|
10077
|
-
},
|
|
10077
|
+
}, v.deflate = function(M, fe) {
|
|
10078
10078
|
var te, V, q, Be;
|
|
10079
10079
|
if (!M || !M.state || 5 < fe || fe < 0) return M ? kA(M, W) : W;
|
|
10080
10080
|
if (V = M.state, !M.output || !M.input && M.avail_in !== 0 || V.status === 666 && fe !== K) return kA(M, M.avail_out === 0 ? -5 : W);
|
|
@@ -10120,7 +10120,7 @@ function Ex() {
|
|
|
10120
10120
|
if (uA === P) return T;
|
|
10121
10121
|
break;
|
|
10122
10122
|
}
|
|
10123
|
-
if (Ne.match_length = 0, xA =
|
|
10123
|
+
if (Ne.match_length = 0, xA = D._tr_tally(Ne, 0, Ne.window[Ne.strstart]), Ne.lookahead--, Ne.strstart++, xA && (Le(Ne, !1), Ne.strm.avail_out === 0)) return T;
|
|
10124
10124
|
}
|
|
10125
10125
|
return Ne.insert = 0, uA === K ? (Le(Ne, !0), Ne.strm.avail_out === 0 ? wA : Je) : Ne.last_lit && (Le(Ne, !1), Ne.strm.avail_out === 0) ? T : De;
|
|
10126
10126
|
})(V, fe) : V.strategy === 3 ? (function(Ne, uA) {
|
|
@@ -10136,18 +10136,18 @@ function Ex() {
|
|
|
10136
10136
|
while (DA === et[++$A] && DA === et[++$A] && DA === et[++$A] && DA === et[++$A] && DA === et[++$A] && DA === et[++$A] && DA === et[++$A] && DA === et[++$A] && $A < Ft);
|
|
10137
10137
|
Ne.match_length = Qe - (Ft - $A), Ne.match_length > Ne.lookahead && (Ne.match_length = Ne.lookahead);
|
|
10138
10138
|
}
|
|
10139
|
-
if (Ne.match_length >= me ? (xA =
|
|
10139
|
+
if (Ne.match_length >= me ? (xA = D._tr_tally(Ne, 1, Ne.match_length - me), Ne.lookahead -= Ne.match_length, Ne.strstart += Ne.match_length, Ne.match_length = 0) : (xA = D._tr_tally(Ne, 0, Ne.window[Ne.strstart]), Ne.lookahead--, Ne.strstart++), xA && (Le(Ne, !1), Ne.strm.avail_out === 0)) return T;
|
|
10140
10140
|
}
|
|
10141
10141
|
return Ne.insert = 0, uA === K ? (Le(Ne, !0), Ne.strm.avail_out === 0 ? wA : Je) : Ne.last_lit && (Le(Ne, !1), Ne.strm.avail_out === 0) ? T : De;
|
|
10142
10142
|
})(V, fe) : S[V.level].func(V, fe);
|
|
10143
10143
|
if (Ye !== wA && Ye !== Je || (V.status = 666), Ye === T || Ye === wA) return M.avail_out === 0 && (V.last_flush = -1), G;
|
|
10144
|
-
if (Ye === De && (fe === 1 ?
|
|
10144
|
+
if (Ye === De && (fe === 1 ? D._tr_align(V) : fe !== 5 && (D._tr_stored_block(V, 0, 0, !1), fe === 3 && (UA(V.head), V.lookahead === 0 && (V.strstart = 0, V.block_start = 0, V.insert = 0))), Te(M), M.avail_out === 0)) return V.last_flush = -1, G;
|
|
10145
10145
|
}
|
|
10146
10146
|
return fe !== K ? G : V.wrap <= 0 ? 1 : (V.wrap === 2 ? (OA(V, 255 & M.adler), OA(V, M.adler >> 8 & 255), OA(V, M.adler >> 16 & 255), OA(V, M.adler >> 24 & 255), OA(V, 255 & M.total_in), OA(V, M.total_in >> 8 & 255), OA(V, M.total_in >> 16 & 255), OA(V, M.total_in >> 24 & 255)) : (TA(V, M.adler >>> 16), TA(V, 65535 & M.adler)), Te(M), 0 < V.wrap && (V.wrap = -V.wrap), V.pending !== 0 ? G : 1);
|
|
10147
|
-
},
|
|
10147
|
+
}, v.deflateEnd = function(M) {
|
|
10148
10148
|
var fe;
|
|
10149
10149
|
return M && M.state ? (fe = M.state.status) !== se && fe !== 69 && fe !== 73 && fe !== 91 && fe !== 103 && fe !== be && fe !== 666 ? kA(M, W) : (M.state = null, fe === be ? kA(M, -3) : G) : W;
|
|
10150
|
-
},
|
|
10150
|
+
}, v.deflateSetDictionary = function(M, fe) {
|
|
10151
10151
|
var te, V, q, Be, ze, Ye, Ne, uA, xA = fe.length;
|
|
10152
10152
|
if (!M || !M.state || (Be = (te = M.state).wrap) === 2 || Be === 1 && te.status !== se || te.lookahead) return W;
|
|
10153
10153
|
for (Be === 1 && (M.adler = x(M.adler, fe, xA, 0)), te.wrap = 0, xA >= te.w_size && (Be === 0 && (UA(te.head), te.strstart = 0, te.block_start = 0, te.insert = 0), uA = new b.Buf8(te.w_size), b.arraySet(uA, fe, xA - te.w_size, te.w_size, 0), fe = uA, xA = te.w_size), ze = M.avail_in, Ye = M.next_in, Ne = M.input, M.avail_in = xA, M.next_in = 0, M.input = fe, de(te); te.lookahead >= me; ) {
|
|
@@ -10155,15 +10155,15 @@ function Ex() {
|
|
|
10155
10155
|
te.strstart = V, te.lookahead = me - 1, de(te);
|
|
10156
10156
|
}
|
|
10157
10157
|
return te.strstart += te.lookahead, te.block_start = te.strstart, te.insert = te.lookahead, te.lookahead = 0, te.match_length = te.prev_length = me - 1, te.match_available = 0, M.next_in = Ye, M.input = Ne, M.avail_in = ze, te.wrap = Be, G;
|
|
10158
|
-
},
|
|
10159
|
-
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(Q, m,
|
|
10158
|
+
}, v.deflateInfo = "pako deflate (from Nodeca project)";
|
|
10159
|
+
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(Q, m, v) {
|
|
10160
10160
|
m.exports = function() {
|
|
10161
10161
|
this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
|
|
10162
10162
|
};
|
|
10163
|
-
}, {}], 48: [function(Q, m,
|
|
10163
|
+
}, {}], 48: [function(Q, m, v) {
|
|
10164
10164
|
m.exports = function(S, b) {
|
|
10165
|
-
var
|
|
10166
|
-
|
|
10165
|
+
var D, x, F, Y, P, K, G, W, H, z, j, X, le, Ce, ee, Fe, Ee, qe, me, Qe, tA, se, be, T, De;
|
|
10166
|
+
D = S.state, x = S.next_in, T = S.input, F = x + (S.avail_in - 5), Y = S.next_out, De = S.output, P = Y - (b - S.avail_out), K = Y + (S.avail_out - 257), G = D.dmax, W = D.wsize, H = D.whave, z = D.wnext, j = D.window, X = D.hold, le = D.bits, Ce = D.lencode, ee = D.distcode, Fe = (1 << D.lenbits) - 1, Ee = (1 << D.distbits) - 1;
|
|
10167
10167
|
e: do {
|
|
10168
10168
|
le < 15 && (X += T[x++] << le, le += 8, X += T[x++] << le, le += 8), qe = Ce[X & Fe];
|
|
10169
10169
|
A: for (; ; ) {
|
|
@@ -10175,10 +10175,10 @@ function Ex() {
|
|
|
10175
10175
|
continue A;
|
|
10176
10176
|
}
|
|
10177
10177
|
if (32 & me) {
|
|
10178
|
-
|
|
10178
|
+
D.mode = 12;
|
|
10179
10179
|
break e;
|
|
10180
10180
|
}
|
|
10181
|
-
S.msg = "invalid literal/length code",
|
|
10181
|
+
S.msg = "invalid literal/length code", D.mode = 30;
|
|
10182
10182
|
break e;
|
|
10183
10183
|
}
|
|
10184
10184
|
Qe = 65535 & qe, (me &= 15) && (le < me && (X += T[x++] << le, le += 8), Qe += X & (1 << me) - 1, X >>>= me, le -= me), le < 15 && (X += T[x++] << le, le += 8, X += T[x++] << le, le += 8), qe = ee[X & Ee];
|
|
@@ -10188,16 +10188,16 @@ function Ex() {
|
|
|
10188
10188
|
qe = ee[(65535 & qe) + (X & (1 << me) - 1)];
|
|
10189
10189
|
continue t;
|
|
10190
10190
|
}
|
|
10191
|
-
S.msg = "invalid distance code",
|
|
10191
|
+
S.msg = "invalid distance code", D.mode = 30;
|
|
10192
10192
|
break e;
|
|
10193
10193
|
}
|
|
10194
10194
|
if (tA = 65535 & qe, le < (me &= 15) && (X += T[x++] << le, (le += 8) < me && (X += T[x++] << le, le += 8)), G < (tA += X & (1 << me) - 1)) {
|
|
10195
|
-
S.msg = "invalid distance too far back",
|
|
10195
|
+
S.msg = "invalid distance too far back", D.mode = 30;
|
|
10196
10196
|
break e;
|
|
10197
10197
|
}
|
|
10198
10198
|
if (X >>>= me, le -= me, (me = Y - P) < tA) {
|
|
10199
|
-
if (H < (me = tA - me) &&
|
|
10200
|
-
S.msg = "invalid distance too far back",
|
|
10199
|
+
if (H < (me = tA - me) && D.sane) {
|
|
10200
|
+
S.msg = "invalid distance too far back", D.mode = 30;
|
|
10201
10201
|
break e;
|
|
10202
10202
|
}
|
|
10203
10203
|
if (be = j, (se = 0) === z) {
|
|
@@ -10229,10 +10229,10 @@ function Ex() {
|
|
|
10229
10229
|
break;
|
|
10230
10230
|
}
|
|
10231
10231
|
} while (x < F && Y < K);
|
|
10232
|
-
x -= Qe = le >> 3, X &= (1 << (le -= Qe << 3)) - 1, S.next_in = x, S.next_out = Y, S.avail_in = x < F ? F - x + 5 : 5 - (x - F), S.avail_out = Y < K ? K - Y + 257 : 257 - (Y - K),
|
|
10232
|
+
x -= Qe = le >> 3, X &= (1 << (le -= Qe << 3)) - 1, S.next_in = x, S.next_out = Y, S.avail_in = x < F ? F - x + 5 : 5 - (x - F), S.avail_out = Y < K ? K - Y + 257 : 257 - (Y - K), D.hold = X, D.bits = le;
|
|
10233
10233
|
};
|
|
10234
|
-
}, {}], 49: [function(Q, m,
|
|
10235
|
-
var S = Q("../utils/common"), b = Q("./adler32"),
|
|
10234
|
+
}, {}], 49: [function(Q, m, v) {
|
|
10235
|
+
var S = Q("../utils/common"), b = Q("./adler32"), D = Q("./crc32"), x = Q("./inffast"), F = Q("./inftrees"), Y = 1, P = 2, K = 0, G = -2, W = 1, H = 852, z = 592;
|
|
10236
10236
|
function j(se) {
|
|
10237
10237
|
return (se >>> 24 & 255) + (se >>> 8 & 65280) + ((65280 & se) << 8) + ((255 & se) << 24);
|
|
10238
10238
|
}
|
|
@@ -10272,9 +10272,9 @@ function Ex() {
|
|
|
10272
10272
|
var wA, Je = se.state;
|
|
10273
10273
|
return Je.window === null && (Je.wsize = 1 << Je.wbits, Je.wnext = 0, Je.whave = 0, Je.window = new S.Buf8(Je.wsize)), De >= Je.wsize ? (S.arraySet(Je.window, be, T - Je.wsize, Je.wsize, 0), Je.wnext = 0, Je.whave = Je.wsize) : (De < (wA = Je.wsize - Je.wnext) && (wA = De), S.arraySet(Je.window, be, T - De, wA, Je.wnext), (De -= wA) ? (S.arraySet(Je.window, be, T - De, De, 0), Je.wnext = De, Je.whave = Je.wsize) : (Je.wnext += wA, Je.wnext === Je.wsize && (Je.wnext = 0), Je.whave < Je.wsize && (Je.whave += wA))), 0;
|
|
10274
10274
|
}
|
|
10275
|
-
|
|
10275
|
+
v.inflateReset = Ce, v.inflateReset2 = ee, v.inflateResetKeep = le, v.inflateInit = function(se) {
|
|
10276
10276
|
return Fe(se, 15);
|
|
10277
|
-
},
|
|
10277
|
+
}, v.inflateInit2 = Fe, v.inflate = function(se, be) {
|
|
10278
10278
|
var T, De, wA, Je, kA, sA, UA, Te, Le, OA, TA, Z, de, Ge, He, Ve, eA, IA, QA, vA, M, fe, te, V, q = 0, Be = new S.Buf8(4), ze = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
10279
10279
|
if (!se || !se.state || !se.output || !se.input && se.avail_in !== 0) return G;
|
|
10280
10280
|
(T = se.state).mode === 12 && (T.mode = 13), kA = se.next_out, wA = se.output, UA = se.avail_out, Je = se.next_in, De = se.input, sA = se.avail_in, Te = T.hold, Le = T.bits, OA = sA, TA = UA, fe = K;
|
|
@@ -10289,7 +10289,7 @@ function Ex() {
|
|
|
10289
10289
|
sA--, Te += De[Je++] << Le, Le += 8;
|
|
10290
10290
|
}
|
|
10291
10291
|
if (2 & T.wrap && Te === 35615) {
|
|
10292
|
-
Be[T.check = 0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check =
|
|
10292
|
+
Be[T.check = 0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check = D(T.check, Be, 2, 0), Le = Te = 0, T.mode = 2;
|
|
10293
10293
|
break;
|
|
10294
10294
|
}
|
|
10295
10295
|
if (T.flags = 0, T.head && (T.head.done = !1), !(1 & T.wrap) || (((255 & Te) << 8) + (Te >> 8)) % 31) {
|
|
@@ -10320,43 +10320,43 @@ function Ex() {
|
|
|
10320
10320
|
se.msg = "unknown header flags set", T.mode = 30;
|
|
10321
10321
|
break;
|
|
10322
10322
|
}
|
|
10323
|
-
T.head && (T.head.text = Te >> 8 & 1), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check =
|
|
10323
|
+
T.head && (T.head.text = Te >> 8 & 1), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check = D(T.check, Be, 2, 0)), Le = Te = 0, T.mode = 3;
|
|
10324
10324
|
case 3:
|
|
10325
10325
|
for (; Le < 32; ) {
|
|
10326
10326
|
if (sA === 0) break e;
|
|
10327
10327
|
sA--, Te += De[Je++] << Le, Le += 8;
|
|
10328
10328
|
}
|
|
10329
|
-
T.head && (T.head.time = Te), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, Be[2] = Te >>> 16 & 255, Be[3] = Te >>> 24 & 255, T.check =
|
|
10329
|
+
T.head && (T.head.time = Te), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, Be[2] = Te >>> 16 & 255, Be[3] = Te >>> 24 & 255, T.check = D(T.check, Be, 4, 0)), Le = Te = 0, T.mode = 4;
|
|
10330
10330
|
case 4:
|
|
10331
10331
|
for (; Le < 16; ) {
|
|
10332
10332
|
if (sA === 0) break e;
|
|
10333
10333
|
sA--, Te += De[Je++] << Le, Le += 8;
|
|
10334
10334
|
}
|
|
10335
|
-
T.head && (T.head.xflags = 255 & Te, T.head.os = Te >> 8), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check =
|
|
10335
|
+
T.head && (T.head.xflags = 255 & Te, T.head.os = Te >> 8), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check = D(T.check, Be, 2, 0)), Le = Te = 0, T.mode = 5;
|
|
10336
10336
|
case 5:
|
|
10337
10337
|
if (1024 & T.flags) {
|
|
10338
10338
|
for (; Le < 16; ) {
|
|
10339
10339
|
if (sA === 0) break e;
|
|
10340
10340
|
sA--, Te += De[Je++] << Le, Le += 8;
|
|
10341
10341
|
}
|
|
10342
|
-
T.length = Te, T.head && (T.head.extra_len = Te), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check =
|
|
10342
|
+
T.length = Te, T.head && (T.head.extra_len = Te), 512 & T.flags && (Be[0] = 255 & Te, Be[1] = Te >>> 8 & 255, T.check = D(T.check, Be, 2, 0)), Le = Te = 0;
|
|
10343
10343
|
} else T.head && (T.head.extra = null);
|
|
10344
10344
|
T.mode = 6;
|
|
10345
10345
|
case 6:
|
|
10346
|
-
if (1024 & T.flags && (sA < (Z = T.length) && (Z = sA), Z && (T.head && (M = T.head.extra_len - T.length, T.head.extra || (T.head.extra = new Array(T.head.extra_len)), S.arraySet(T.head.extra, De, Je, Z, M)), 512 & T.flags && (T.check =
|
|
10346
|
+
if (1024 & T.flags && (sA < (Z = T.length) && (Z = sA), Z && (T.head && (M = T.head.extra_len - T.length, T.head.extra || (T.head.extra = new Array(T.head.extra_len)), S.arraySet(T.head.extra, De, Je, Z, M)), 512 & T.flags && (T.check = D(T.check, De, Z, Je)), sA -= Z, Je += Z, T.length -= Z), T.length)) break e;
|
|
10347
10347
|
T.length = 0, T.mode = 7;
|
|
10348
10348
|
case 7:
|
|
10349
10349
|
if (2048 & T.flags) {
|
|
10350
10350
|
if (sA === 0) break e;
|
|
10351
10351
|
for (Z = 0; M = De[Je + Z++], T.head && M && T.length < 65536 && (T.head.name += String.fromCharCode(M)), M && Z < sA; ) ;
|
|
10352
|
-
if (512 & T.flags && (T.check =
|
|
10352
|
+
if (512 & T.flags && (T.check = D(T.check, De, Z, Je)), sA -= Z, Je += Z, M) break e;
|
|
10353
10353
|
} else T.head && (T.head.name = null);
|
|
10354
10354
|
T.length = 0, T.mode = 8;
|
|
10355
10355
|
case 8:
|
|
10356
10356
|
if (4096 & T.flags) {
|
|
10357
10357
|
if (sA === 0) break e;
|
|
10358
10358
|
for (Z = 0; M = De[Je + Z++], T.head && M && T.length < 65536 && (T.head.comment += String.fromCharCode(M)), M && Z < sA; ) ;
|
|
10359
|
-
if (512 & T.flags && (T.check =
|
|
10359
|
+
if (512 & T.flags && (T.check = D(T.check, De, Z, Je)), sA -= Z, Je += Z, M) break e;
|
|
10360
10360
|
} else T.head && (T.head.comment = null);
|
|
10361
10361
|
T.mode = 9;
|
|
10362
10362
|
case 9:
|
|
@@ -10597,7 +10597,7 @@ function Ex() {
|
|
|
10597
10597
|
if (sA === 0) break e;
|
|
10598
10598
|
sA--, Te |= De[Je++] << Le, Le += 8;
|
|
10599
10599
|
}
|
|
10600
|
-
if (TA -= UA, se.total_out += TA, T.total += TA, TA && (se.adler = T.check = T.flags ?
|
|
10600
|
+
if (TA -= UA, se.total_out += TA, T.total += TA, TA && (se.adler = T.check = T.flags ? D(T.check, wA, TA, kA - TA) : b(T.check, wA, TA, kA - TA)), TA = UA, (T.flags ? Te : j(Te)) !== T.check) {
|
|
10601
10601
|
se.msg = "incorrect data check", T.mode = 30;
|
|
10602
10602
|
break;
|
|
10603
10603
|
}
|
|
@@ -10628,20 +10628,20 @@ function Ex() {
|
|
|
10628
10628
|
default:
|
|
10629
10629
|
return G;
|
|
10630
10630
|
}
|
|
10631
|
-
return se.next_out = kA, se.avail_out = UA, se.next_in = Je, se.avail_in = sA, T.hold = Te, T.bits = Le, (T.wsize || TA !== se.avail_out && T.mode < 30 && (T.mode < 27 || be !== 4)) && tA(se, se.output, se.next_out, TA - se.avail_out) ? (T.mode = 31, -4) : (OA -= se.avail_in, TA -= se.avail_out, se.total_in += OA, se.total_out += TA, T.total += TA, T.wrap && TA && (se.adler = T.check = T.flags ?
|
|
10632
|
-
},
|
|
10631
|
+
return se.next_out = kA, se.avail_out = UA, se.next_in = Je, se.avail_in = sA, T.hold = Te, T.bits = Le, (T.wsize || TA !== se.avail_out && T.mode < 30 && (T.mode < 27 || be !== 4)) && tA(se, se.output, se.next_out, TA - se.avail_out) ? (T.mode = 31, -4) : (OA -= se.avail_in, TA -= se.avail_out, se.total_in += OA, se.total_out += TA, T.total += TA, T.wrap && TA && (se.adler = T.check = T.flags ? D(T.check, wA, TA, se.next_out - TA) : b(T.check, wA, TA, se.next_out - TA)), se.data_type = T.bits + (T.last ? 64 : 0) + (T.mode === 12 ? 128 : 0) + (T.mode === 20 || T.mode === 15 ? 256 : 0), (OA == 0 && TA === 0 || be === 4) && fe === K && (fe = -5), fe);
|
|
10632
|
+
}, v.inflateEnd = function(se) {
|
|
10633
10633
|
if (!se || !se.state) return G;
|
|
10634
10634
|
var be = se.state;
|
|
10635
10635
|
return be.window && (be.window = null), se.state = null, K;
|
|
10636
|
-
},
|
|
10636
|
+
}, v.inflateGetHeader = function(se, be) {
|
|
10637
10637
|
var T;
|
|
10638
10638
|
return se && se.state ? (2 & (T = se.state).wrap) == 0 ? G : ((T.head = be).done = !1, K) : G;
|
|
10639
|
-
},
|
|
10639
|
+
}, v.inflateSetDictionary = function(se, be) {
|
|
10640
10640
|
var T, De = be.length;
|
|
10641
10641
|
return se && se.state ? (T = se.state).wrap !== 0 && T.mode !== 11 ? G : T.mode === 11 && b(1, be, De, 0) !== T.check ? -3 : tA(se, be, De, De) ? (T.mode = 31, -4) : (T.havedict = 1, K) : G;
|
|
10642
|
-
},
|
|
10643
|
-
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(Q, m,
|
|
10644
|
-
var S = Q("../utils/common"), b = [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],
|
|
10642
|
+
}, v.inflateInfo = "pako inflate (from Nodeca project)";
|
|
10643
|
+
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(Q, m, v) {
|
|
10644
|
+
var S = Q("../utils/common"), b = [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], D = [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], x = [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], F = [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];
|
|
10645
10645
|
m.exports = function(Y, P, K, G, W, H, z, j) {
|
|
10646
10646
|
var X, le, Ce, ee, Fe, Ee, qe, me, Qe, tA = j.bits, se = 0, be = 0, T = 0, De = 0, wA = 0, Je = 0, kA = 0, sA = 0, UA = 0, Te = 0, Le = null, OA = 0, TA = new S.Buf16(16), Z = new S.Buf16(16), de = null, Ge = 0;
|
|
10647
10647
|
for (se = 0; se <= 15; se++) TA[se] = 0;
|
|
@@ -10653,7 +10653,7 @@ function Ex() {
|
|
|
10653
10653
|
if (0 < sA && (Y === 0 || De !== 1)) return -1;
|
|
10654
10654
|
for (Z[1] = 0, se = 1; se < 15; se++) Z[se + 1] = Z[se] + TA[se];
|
|
10655
10655
|
for (be = 0; be < G; be++) P[K + be] !== 0 && (z[Z[P[K + be]]++] = be);
|
|
10656
|
-
if (Ee = Y === 0 ? (Le = de = z, 19) : Y === 1 ? (Le = b, OA -= 257, de =
|
|
10656
|
+
if (Ee = Y === 0 ? (Le = de = z, 19) : Y === 1 ? (Le = b, OA -= 257, de = D, Ge -= 257, 256) : (Le = x, de = F, -1), se = T, Fe = H, kA = be = Te = 0, Ce = -1, ee = (UA = 1 << (Je = wA)) - 1, Y === 1 && 852 < UA || Y === 2 && 592 < UA) return 1;
|
|
10657
10657
|
for (; ; ) {
|
|
10658
10658
|
for (qe = se - kA, Qe = z[be] < Ee ? (me = 0, z[be]) : z[be] > Ee ? (me = de[Ge + z[be]], Le[OA + z[be]]) : (me = 96, 0), X = 1 << se - kA, T = le = 1 << Je; W[Fe + (Te >> kA) + (le -= X)] = qe << 24 | me << 16 | Qe | 0, le !== 0; ) ;
|
|
10659
10659
|
for (X = 1 << se - 1; Te & X; ) X >>= 1;
|
|
@@ -10669,10 +10669,10 @@ function Ex() {
|
|
|
10669
10669
|
}
|
|
10670
10670
|
return Te !== 0 && (W[Fe + Te] = se - kA << 24 | 4194304 | 0), j.bits = wA, 0;
|
|
10671
10671
|
};
|
|
10672
|
-
}, { "../utils/common": 41 }], 51: [function(Q, m,
|
|
10672
|
+
}, { "../utils/common": 41 }], 51: [function(Q, m, v) {
|
|
10673
10673
|
m.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" };
|
|
10674
|
-
}, {}], 52: [function(Q, m,
|
|
10675
|
-
var S = Q("../utils/common"), b = 0,
|
|
10674
|
+
}, {}], 52: [function(Q, m, v) {
|
|
10675
|
+
var S = Q("../utils/common"), b = 0, D = 1;
|
|
10676
10676
|
function x(q) {
|
|
10677
10677
|
for (var Be = q.length; 0 <= --Be; ) q[Be] = 0;
|
|
10678
10678
|
}
|
|
@@ -10778,7 +10778,7 @@ function Ex() {
|
|
|
10778
10778
|
Ve(Ne), OA(Ne, xA), OA(Ne, ~xA), S.arraySet(Ne.pending_buf, Ne.window, uA, xA, Ne.pending), Ne.pending += xA;
|
|
10779
10779
|
})(q, Be, ze);
|
|
10780
10780
|
}
|
|
10781
|
-
|
|
10781
|
+
v._tr_init = function(q) {
|
|
10782
10782
|
te || ((function() {
|
|
10783
10783
|
var Be, ze, Ye, Ne, uA, xA = new Array(z + 1);
|
|
10784
10784
|
for (Ne = Ye = 0; Ne < Y - 1; Ne++) for (De[Ne] = Ye, Be = 0; Be < 1 << Ee[Ne]; Be++) T[Ye++] = Ne;
|
|
@@ -10792,13 +10792,13 @@ function Ex() {
|
|
|
10792
10792
|
for (Ge(tA, K + 1, xA), Be = 0; Be < G; Be++) se[2 * Be + 1] = 5, se[2 * Be] = de(Be, 5);
|
|
10793
10793
|
wA = new UA(tA, Ee, P + 1, K, z), Je = new UA(se, qe, 0, G, z), kA = new UA(new Array(0), me, 0, W, X);
|
|
10794
10794
|
})(), te = !0), q.l_desc = new Te(q.dyn_ltree, wA), q.d_desc = new Te(q.dyn_dtree, Je), q.bl_desc = new Te(q.bl_tree, kA), q.bi_buf = 0, q.bi_valid = 0, He(q);
|
|
10795
|
-
},
|
|
10795
|
+
}, v._tr_stored_block = V, v._tr_flush_block = function(q, Be, ze, Ye) {
|
|
10796
10796
|
var Ne, uA, xA = 0;
|
|
10797
10797
|
0 < q.level ? (q.strm.data_type === 2 && (q.strm.data_type = (function(DA) {
|
|
10798
10798
|
var $A, Ft = 4093624447;
|
|
10799
10799
|
for ($A = 0; $A <= 31; $A++, Ft >>>= 1) if (1 & Ft && DA.dyn_ltree[2 * $A] !== 0) return b;
|
|
10800
|
-
if (DA.dyn_ltree[18] !== 0 || DA.dyn_ltree[20] !== 0 || DA.dyn_ltree[26] !== 0) return
|
|
10801
|
-
for ($A = 32; $A < P; $A++) if (DA.dyn_ltree[2 * $A] !== 0) return
|
|
10800
|
+
if (DA.dyn_ltree[18] !== 0 || DA.dyn_ltree[20] !== 0 || DA.dyn_ltree[26] !== 0) return D;
|
|
10801
|
+
for ($A = 32; $A < P; $A++) if (DA.dyn_ltree[2 * $A] !== 0) return D;
|
|
10802
10802
|
return b;
|
|
10803
10803
|
})(q)), vA(q, q.l_desc), vA(q, q.d_desc), xA = (function(DA) {
|
|
10804
10804
|
var $A;
|
|
@@ -10809,20 +10809,20 @@ function Ex() {
|
|
|
10809
10809
|
for (TA(DA, $A - 257, 5), TA(DA, Ft - 1, 5), TA(DA, et - 4, 4), vt = 0; vt < et; vt++) TA(DA, DA.bl_tree[2 * Qe[vt] + 1], 3);
|
|
10810
10810
|
fe(DA, DA.dyn_ltree, $A - 1), fe(DA, DA.dyn_dtree, Ft - 1);
|
|
10811
10811
|
})(q, q.l_desc.max_code + 1, q.d_desc.max_code + 1, xA + 1), QA(q, q.dyn_ltree, q.dyn_dtree)), He(q), Ye && Ve(q);
|
|
10812
|
-
},
|
|
10812
|
+
}, v._tr_tally = function(q, Be, ze) {
|
|
10813
10813
|
return q.pending_buf[q.d_buf + 2 * q.last_lit] = Be >>> 8 & 255, q.pending_buf[q.d_buf + 2 * q.last_lit + 1] = 255 & Be, q.pending_buf[q.l_buf + q.last_lit] = 255 & ze, q.last_lit++, Be === 0 ? q.dyn_ltree[2 * ze]++ : (q.matches++, Be--, q.dyn_ltree[2 * (T[ze] + P + 1)]++, q.dyn_dtree[2 * Le(Be)]++), q.last_lit === q.lit_bufsize - 1;
|
|
10814
|
-
},
|
|
10814
|
+
}, v._tr_align = function(q) {
|
|
10815
10815
|
TA(q, 2, 3), Z(q, le, tA), (function(Be) {
|
|
10816
10816
|
Be.bi_valid === 16 ? (OA(Be, Be.bi_buf), Be.bi_buf = 0, Be.bi_valid = 0) : 8 <= Be.bi_valid && (Be.pending_buf[Be.pending++] = 255 & Be.bi_buf, Be.bi_buf >>= 8, Be.bi_valid -= 8);
|
|
10817
10817
|
})(q);
|
|
10818
10818
|
};
|
|
10819
|
-
}, { "../utils/common": 41 }], 53: [function(Q, m,
|
|
10819
|
+
}, { "../utils/common": 41 }], 53: [function(Q, m, v) {
|
|
10820
10820
|
m.exports = function() {
|
|
10821
10821
|
this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
|
|
10822
10822
|
};
|
|
10823
|
-
}, {}], 54: [function(Q, m,
|
|
10823
|
+
}, {}], 54: [function(Q, m, v) {
|
|
10824
10824
|
(function(S) {
|
|
10825
|
-
(function(b,
|
|
10825
|
+
(function(b, D) {
|
|
10826
10826
|
if (!b.setImmediate) {
|
|
10827
10827
|
var x, F, Y, P, K = 1, G = {}, W = !1, H = b.document, z = Object.getPrototypeOf && Object.getPrototypeOf(b);
|
|
10828
10828
|
z = z && z.setTimeout ? z : b, x = {}.toString.call(b.process) === "[object process]" ? function(Ce) {
|
|
@@ -10882,7 +10882,7 @@ function Ex() {
|
|
|
10882
10882
|
Ee(qe[0], qe[1], qe[2]);
|
|
10883
10883
|
break;
|
|
10884
10884
|
default:
|
|
10885
|
-
Ee.apply(
|
|
10885
|
+
Ee.apply(D, qe);
|
|
10886
10886
|
}
|
|
10887
10887
|
})(ee);
|
|
10888
10888
|
} finally {
|
|
@@ -10899,16 +10899,16 @@ function Ex() {
|
|
|
10899
10899
|
}, {}] }, {}, [10])(10);
|
|
10900
10900
|
}, 379: (B) => {
|
|
10901
10901
|
var f = [];
|
|
10902
|
-
function y(
|
|
10903
|
-
for (var S = -1, b = 0; b < f.length; b++) if (f[b].identifier ===
|
|
10902
|
+
function y(v) {
|
|
10903
|
+
for (var S = -1, b = 0; b < f.length; b++) if (f[b].identifier === v) {
|
|
10904
10904
|
S = b;
|
|
10905
10905
|
break;
|
|
10906
10906
|
}
|
|
10907
10907
|
return S;
|
|
10908
10908
|
}
|
|
10909
|
-
function Q(
|
|
10910
|
-
for (var b = {},
|
|
10911
|
-
var F =
|
|
10909
|
+
function Q(v, S) {
|
|
10910
|
+
for (var b = {}, D = [], x = 0; x < v.length; x++) {
|
|
10911
|
+
var F = v[x], Y = S.base ? F[0] + S.base : F[0], P = b[Y] || 0, K = "".concat(Y, " ").concat(P);
|
|
10912
10912
|
b[Y] = P + 1;
|
|
10913
10913
|
var G = y(K), W = { css: F[1], media: F[2], sourceMap: F[3], supports: F[4], layer: F[5] };
|
|
10914
10914
|
if (G !== -1) f[G].references++, f[G].updater(W);
|
|
@@ -10916,28 +10916,28 @@ function Ex() {
|
|
|
10916
10916
|
var H = m(W, S);
|
|
10917
10917
|
S.byIndex = x, f.splice(x, 0, { identifier: K, updater: H, references: 1 });
|
|
10918
10918
|
}
|
|
10919
|
-
|
|
10919
|
+
D.push(K);
|
|
10920
10920
|
}
|
|
10921
|
-
return
|
|
10921
|
+
return D;
|
|
10922
10922
|
}
|
|
10923
|
-
function m(
|
|
10923
|
+
function m(v, S) {
|
|
10924
10924
|
var b = S.domAPI(S);
|
|
10925
|
-
return b.update(
|
|
10926
|
-
if (
|
|
10927
|
-
if (
|
|
10928
|
-
b.update(
|
|
10925
|
+
return b.update(v), function(D) {
|
|
10926
|
+
if (D) {
|
|
10927
|
+
if (D.css === v.css && D.media === v.media && D.sourceMap === v.sourceMap && D.supports === v.supports && D.layer === v.layer) return;
|
|
10928
|
+
b.update(v = D);
|
|
10929
10929
|
} else b.remove();
|
|
10930
10930
|
};
|
|
10931
10931
|
}
|
|
10932
|
-
B.exports = function(
|
|
10933
|
-
var b = Q(
|
|
10934
|
-
return function(
|
|
10935
|
-
|
|
10932
|
+
B.exports = function(v, S) {
|
|
10933
|
+
var b = Q(v = v || [], S = S || {});
|
|
10934
|
+
return function(D) {
|
|
10935
|
+
D = D || [];
|
|
10936
10936
|
for (var x = 0; x < b.length; x++) {
|
|
10937
10937
|
var F = y(b[x]);
|
|
10938
10938
|
f[F].references--;
|
|
10939
10939
|
}
|
|
10940
|
-
for (var Y = Q(
|
|
10940
|
+
for (var Y = Q(D, S), P = 0; P < b.length; P++) {
|
|
10941
10941
|
var K = y(b[P]);
|
|
10942
10942
|
f[K].references === 0 && (f[K].updater(), f.splice(K, 1));
|
|
10943
10943
|
}
|
|
@@ -10947,17 +10947,17 @@ function Ex() {
|
|
|
10947
10947
|
}, 569: (B) => {
|
|
10948
10948
|
var f = {};
|
|
10949
10949
|
B.exports = function(y, Q) {
|
|
10950
|
-
var m = (function(
|
|
10951
|
-
if (f[
|
|
10952
|
-
var S = document.querySelector(
|
|
10950
|
+
var m = (function(v) {
|
|
10951
|
+
if (f[v] === void 0) {
|
|
10952
|
+
var S = document.querySelector(v);
|
|
10953
10953
|
if (window.HTMLIFrameElement && S instanceof window.HTMLIFrameElement) try {
|
|
10954
10954
|
S = S.contentDocument.head;
|
|
10955
10955
|
} catch {
|
|
10956
10956
|
S = null;
|
|
10957
10957
|
}
|
|
10958
|
-
f[
|
|
10958
|
+
f[v] = S;
|
|
10959
10959
|
}
|
|
10960
|
-
return f[
|
|
10960
|
+
return f[v];
|
|
10961
10961
|
})(y);
|
|
10962
10962
|
if (!m) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
10963
10963
|
m.appendChild(Q);
|
|
@@ -10979,14 +10979,14 @@ function Ex() {
|
|
|
10979
10979
|
} };
|
|
10980
10980
|
var y = f.insertStyleElement(f);
|
|
10981
10981
|
return { update: function(Q) {
|
|
10982
|
-
(function(m,
|
|
10982
|
+
(function(m, v, S) {
|
|
10983
10983
|
var b = "";
|
|
10984
10984
|
S.supports && (b += "@supports (".concat(S.supports, ") {")), S.media && (b += "@media ".concat(S.media, " {"));
|
|
10985
|
-
var
|
|
10986
|
-
|
|
10985
|
+
var D = S.layer !== void 0;
|
|
10986
|
+
D && (b += "@layer".concat(S.layer.length > 0 ? " ".concat(S.layer) : "", " {")), b += S.css, D && (b += "}"), S.media && (b += "}"), S.supports && (b += "}");
|
|
10987
10987
|
var x = S.sourceMap;
|
|
10988
10988
|
x && typeof btoa < "u" && (b += `
|
|
10989
|
-
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(x)))), " */")),
|
|
10989
|
+
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(x)))), " */")), v.styleTagTransform(b, m, v.options);
|
|
10990
10990
|
})(y, f, Q);
|
|
10991
10991
|
}, remove: function() {
|
|
10992
10992
|
(function(Q) {
|
|
@@ -11030,7 +11030,7 @@ function Ex() {
|
|
|
11030
11030
|
var d = {};
|
|
11031
11031
|
return (() => {
|
|
11032
11032
|
C.r(d), C.d(d, { PlayerV2: () => zw });
|
|
11033
|
-
const B = "152", f = 1, y = 2, Q = 3, m = 0,
|
|
11033
|
+
const B = "152", f = 1, y = 2, Q = 3, m = 0, v = 1, S = 100, b = 0, D = 1, x = 2, F = 0, Y = 1, P = 2, K = 3, G = 4, W = 5, H = 301, z = 302, j = 303, X = 304, le = 306, Ce = 1e3, ee = 1001, Fe = 1002, Ee = 1003, qe = 1004, me = 1005, Qe = 1006, tA = 1007, se = 1008, be = 1009, T = 1014, De = 1015, wA = 1016, Je = 1020, kA = 1023, sA = 1026, UA = 1027, Te = 1028, Le = 33776, OA = 33777, TA = 33778, Z = 33779, de = 36492, Ge = 2300, He = 2301, Ve = 2302, eA = 2400, IA = 2401, QA = 2402, vA = 2500, M = 3001, fe = "", te = "srgb", V = "srgb-linear", q = "display-p3", Be = 7680, ze = 35044, Ye = "300 es", Ne = 1035;
|
|
11034
11034
|
class uA {
|
|
11035
11035
|
addEventListener(e, A) {
|
|
11036
11036
|
this._listeners === void 0 && (this._listeners = {});
|
|
@@ -13960,7 +13960,7 @@ function Ex() {
|
|
|
13960
13960
|
o.getVertexPosition(h, sa), o.getVertexPosition(u, aa), o.getVertexPosition(c, oa);
|
|
13961
13961
|
const I = (function(E, p, w, N, _, R, k, L) {
|
|
13962
13962
|
let U;
|
|
13963
|
-
if (U = p.side ===
|
|
13963
|
+
if (U = p.side === v ? N.intersectTriangle(k, R, _, !0, L) : N.intersectTriangle(_, R, k, p.side === m, L), U === null) return null;
|
|
13964
13964
|
Rg.copy(L), Rg.applyMatrix4(E.matrixWorld);
|
|
13965
13965
|
const ce = w.ray.origin.distanceTo(Rg);
|
|
13966
13966
|
return ce < w.near || ce > w.far ? null : { distance: ce, point: Rg.clone(), object: E };
|
|
@@ -14203,7 +14203,7 @@ function Ex() {
|
|
|
14203
14203
|
gl_FragColor = texture2D( tEquirect, sampleUV );
|
|
14204
14204
|
|
|
14205
14205
|
}
|
|
14206
|
-
` }, n = new ga(5, 5, 5), r = new ei({ name: "CubemapFromEquirect", uniforms: la(t.uniforms), vertexShader: t.vertexShader, fragmentShader: t.fragmentShader, side:
|
|
14206
|
+
` }, n = new ga(5, 5, 5), r = new ei({ name: "CubemapFromEquirect", uniforms: la(t.uniforms), vertexShader: t.vertexShader, fragmentShader: t.fragmentShader, side: v, blending: 0 });
|
|
14207
14207
|
r.uniforms.tEquirect.value = A;
|
|
14208
14208
|
const g = new Ut(n, r), h = A.minFilter;
|
|
14209
14209
|
return A.minFilter === se && (A.minFilter = Qe), new ZQ(1, 10, this).update(e, g), A.minFilter = h, g.geometry.dispose(), g.material.dispose(), this;
|
|
@@ -17594,7 +17594,7 @@ void main() {
|
|
|
17594
17594
|
case "alpha-blend":
|
|
17595
17595
|
t.buffers.color.setClear(0, 0, 0, 0, g), k = !0;
|
|
17596
17596
|
}
|
|
17597
|
-
(o.autoClear || k) && o.clear(o.autoClearColor, o.autoClearDepth, o.autoClearStencil), L && (L.isCubeTexture || L.mapping === le) ? (c === void 0 && (c = new Ut(new ga(1, 1, 1), new ei({ name: "BackgroundCubeMaterial", uniforms: la(Ir.backgroundCube.uniforms), vertexShader: Ir.backgroundCube.vertexShader, fragmentShader: Ir.backgroundCube.fragmentShader, side:
|
|
17597
|
+
(o.autoClear || k) && o.clear(o.autoClearColor, o.autoClearDepth, o.autoClearStencil), L && (L.isCubeTexture || L.mapping === le) ? (c === void 0 && (c = new Ut(new ga(1, 1, 1), new ei({ name: "BackgroundCubeMaterial", uniforms: la(Ir.backgroundCube.uniforms), vertexShader: Ir.backgroundCube.vertexShader, fragmentShader: Ir.backgroundCube.fragmentShader, side: v, depthTest: !1, depthWrite: !1, fog: !1 })), c.geometry.deleteAttribute("normal"), c.geometry.deleteAttribute("uv"), c.onBeforeRender = function(U, ce, ne) {
|
|
17598
17598
|
this.matrixWorld.copyPosition(ne.matrixWorld);
|
|
17599
17599
|
}, Object.defineProperty(c.material, "envMap", { get: function() {
|
|
17600
17600
|
return this.uniforms.envMap.value;
|
|
@@ -18038,7 +18038,7 @@ void main() {
|
|
|
18038
18038
|
_sceneToCubeUV(e, A, t, n) {
|
|
18039
18039
|
const r = new Oi(90, 1, A, t), g = [1, -1, 1, 1, 1, 1], h = [1, 1, 1, -1, -1, -1], u = this._renderer, c = u.autoClear, I = u.toneMapping;
|
|
18040
18040
|
u.getClearColor(ru), u.toneMapping = F, u.autoClear = !1;
|
|
18041
|
-
const E = new Ui({ name: "PMREM.Background", side:
|
|
18041
|
+
const E = new Ui({ name: "PMREM.Background", side: v, depthWrite: !1, depthTest: !1 }), p = new Ut(new ga(), E);
|
|
18042
18042
|
let w = !1;
|
|
18043
18043
|
const N = e.background;
|
|
18044
18044
|
N ? N.isColor && (E.color.copy(N), e.background = null, w = !0) : (E.color.copy(ru), w = !0);
|
|
@@ -18975,7 +18975,7 @@ precision ` + o.precision + " int;";
|
|
|
18975
18975
|
case b:
|
|
18976
18976
|
Me = "ENVMAP_BLENDING_MULTIPLY";
|
|
18977
18977
|
break;
|
|
18978
|
-
case
|
|
18978
|
+
case D:
|
|
18979
18979
|
Me = "ENVMAP_BLENDING_MIX";
|
|
18980
18980
|
break;
|
|
18981
18981
|
case x:
|
|
@@ -19094,7 +19094,7 @@ precision ` + o.precision + " int;";
|
|
|
19094
19094
|
CA = LA.vertexShader, fA = LA.fragmentShader;
|
|
19095
19095
|
} else CA = R.vertexShader, fA = R.fragmentShader, u.update(R), WA = u.getVertexShaderID(R), pA = u.getFragmentShaderID(R);
|
|
19096
19096
|
const NA = o.getRenderTarget(), FA = ce.isInstancedMesh === !0, Pe = !!R.map, dA = !!R.matcap, bA = !!ye, oA = !!R.aoMap, XA = !!R.lightMap, he = !!R.bumpMap, ue = !!R.normalMap, Se = !!R.displacementMap, Xe = !!R.emissiveMap, Re = !!R.metalnessMap, BA = !!R.roughnessMap, ke = R.clearcoat > 0, oe = R.iridescence > 0, Ue = R.sheen > 0, lA = R.transmission > 0, SA = ke && !!R.clearcoatMap, cA = ke && !!R.clearcoatNormalMap, KA = ke && !!R.clearcoatRoughnessMap, HA = oe && !!R.iridescenceMap, RA = oe && !!R.iridescenceThicknessMap, Ct = Ue && !!R.sheenColorMap, It = Ue && !!R.sheenRoughnessMap, J = !!R.specularMap, $ = !!R.specularColorMap, xe = !!R.specularIntensityMap, iA = lA && !!R.transmissionMap, $e = lA && !!R.thicknessMap, _e = !!R.gradientMap, Oe = !!R.alphaMap, YA = R.alphaTest > 0, ZA = !!R.extensions, ve = !!ie.attributes.uv1, zA = !!ie.attributes.uv2, qA = !!ie.attributes.uv3;
|
|
19097
|
-
return { isWebGL2: I, shaderID: Me, shaderName: R.type, vertexShader: CA, fragmentShader: fA, defines: R.defines, customVertexShaderID: WA, customFragmentShaderID: pA, isRawShaderMaterial: R.isRawShaderMaterial === !0, glslVersion: R.glslVersion, precision: w, instancing: FA, instancingColor: FA && ce.instanceColor !== null, supportsVertexTextures: p, outputColorSpace: NA === null ? o.outputColorSpace : NA.isXRRenderTarget === !0 ? NA.texture.colorSpace : V, map: Pe, matcap: dA, envMap: bA, envMapMode: bA && ye.mapping, envMapCubeUVHeight: ge, aoMap: oA, lightMap: XA, bumpMap: he, normalMap: ue, displacementMap: p && Se, emissiveMap: Xe, normalMapObjectSpace: ue && R.normalMapType === 1, normalMapTangentSpace: ue && R.normalMapType === 0, metalnessMap: Re, roughnessMap: BA, clearcoat: ke, clearcoatMap: SA, clearcoatNormalMap: cA, clearcoatRoughnessMap: KA, iridescence: oe, iridescenceMap: HA, iridescenceThicknessMap: RA, sheen: Ue, sheenColorMap: Ct, sheenRoughnessMap: It, specularMap: J, specularColorMap: $, specularIntensityMap: xe, transmission: lA, transmissionMap: iA, thicknessMap: $e, gradientMap: _e, opaque: R.transparent === !1 && R.blending === 1, alphaMap: Oe, alphaTest: YA, combine: R.combine, mapUv: Pe && _(R.map.channel), aoMapUv: oA && _(R.aoMap.channel), lightMapUv: XA && _(R.lightMap.channel), bumpMapUv: he && _(R.bumpMap.channel), normalMapUv: ue && _(R.normalMap.channel), displacementMapUv: Se && _(R.displacementMap.channel), emissiveMapUv: Xe && _(R.emissiveMap.channel), metalnessMapUv: Re && _(R.metalnessMap.channel), roughnessMapUv: BA && _(R.roughnessMap.channel), clearcoatMapUv: SA && _(R.clearcoatMap.channel), clearcoatNormalMapUv: cA && _(R.clearcoatNormalMap.channel), clearcoatRoughnessMapUv: KA && _(R.clearcoatRoughnessMap.channel), iridescenceMapUv: HA && _(R.iridescenceMap.channel), iridescenceThicknessMapUv: RA && _(R.iridescenceThicknessMap.channel), sheenColorMapUv: Ct && _(R.sheenColorMap.channel), sheenRoughnessMapUv: It && _(R.sheenRoughnessMap.channel), specularMapUv: J && _(R.specularMap.channel), specularColorMapUv: $ && _(R.specularColorMap.channel), specularIntensityMapUv: xe && _(R.specularIntensityMap.channel), transmissionMapUv: iA && _(R.transmissionMap.channel), thicknessMapUv: $e && _(R.thicknessMap.channel), alphaMapUv: Oe && _(R.alphaMap.channel), vertexTangents: ue && !!ie.attributes.tangent, vertexColors: R.vertexColors, vertexAlphas: R.vertexColors === !0 && !!ie.attributes.color && ie.attributes.color.itemSize === 4, vertexUv1s: ve, vertexUv2s: zA, vertexUv3s: qA, pointsUvs: ce.isPoints === !0 && !!ie.attributes.uv && (Pe || Oe), fog: !!ne, useFog: R.fog === !0, fogExp2: ne && ne.isFogExp2, flatShading: R.flatShading === !0, sizeAttenuation: R.sizeAttenuation === !0, logarithmicDepthBuffer: E, skinning: ce.isSkinnedMesh === !0, morphTargets: ie.morphAttributes.position !== void 0, morphNormals: ie.morphAttributes.normal !== void 0, morphColors: ie.morphAttributes.color !== void 0, morphTargetsCount: je, morphTextureStride: MA, numDirLights: k.directional.length, numPointLights: k.point.length, numSpotLights: k.spot.length, numSpotLightMaps: k.spotLightMap.length, numRectAreaLights: k.rectArea.length, numHemiLights: k.hemi.length, numDirLightShadows: k.directionalShadowMap.length, numPointLightShadows: k.pointShadowMap.length, numSpotLightShadows: k.spotShadowMap.length, numSpotLightShadowsWithMaps: k.numSpotLightShadowsWithMaps, numClippingPlanes: g.numPlanes, numClipIntersection: g.numIntersection, dithering: R.dithering, shadowMapEnabled: o.shadowMap.enabled && L.length > 0, shadowMapType: o.shadowMap.type, toneMapping: R.toneMapped ? o.toneMapping : F, useLegacyLights: o.useLegacyLights, premultipliedAlpha: R.premultipliedAlpha, doubleSided: R.side === 2, flipSided: R.side ===
|
|
19097
|
+
return { isWebGL2: I, shaderID: Me, shaderName: R.type, vertexShader: CA, fragmentShader: fA, defines: R.defines, customVertexShaderID: WA, customFragmentShaderID: pA, isRawShaderMaterial: R.isRawShaderMaterial === !0, glslVersion: R.glslVersion, precision: w, instancing: FA, instancingColor: FA && ce.instanceColor !== null, supportsVertexTextures: p, outputColorSpace: NA === null ? o.outputColorSpace : NA.isXRRenderTarget === !0 ? NA.texture.colorSpace : V, map: Pe, matcap: dA, envMap: bA, envMapMode: bA && ye.mapping, envMapCubeUVHeight: ge, aoMap: oA, lightMap: XA, bumpMap: he, normalMap: ue, displacementMap: p && Se, emissiveMap: Xe, normalMapObjectSpace: ue && R.normalMapType === 1, normalMapTangentSpace: ue && R.normalMapType === 0, metalnessMap: Re, roughnessMap: BA, clearcoat: ke, clearcoatMap: SA, clearcoatNormalMap: cA, clearcoatRoughnessMap: KA, iridescence: oe, iridescenceMap: HA, iridescenceThicknessMap: RA, sheen: Ue, sheenColorMap: Ct, sheenRoughnessMap: It, specularMap: J, specularColorMap: $, specularIntensityMap: xe, transmission: lA, transmissionMap: iA, thicknessMap: $e, gradientMap: _e, opaque: R.transparent === !1 && R.blending === 1, alphaMap: Oe, alphaTest: YA, combine: R.combine, mapUv: Pe && _(R.map.channel), aoMapUv: oA && _(R.aoMap.channel), lightMapUv: XA && _(R.lightMap.channel), bumpMapUv: he && _(R.bumpMap.channel), normalMapUv: ue && _(R.normalMap.channel), displacementMapUv: Se && _(R.displacementMap.channel), emissiveMapUv: Xe && _(R.emissiveMap.channel), metalnessMapUv: Re && _(R.metalnessMap.channel), roughnessMapUv: BA && _(R.roughnessMap.channel), clearcoatMapUv: SA && _(R.clearcoatMap.channel), clearcoatNormalMapUv: cA && _(R.clearcoatNormalMap.channel), clearcoatRoughnessMapUv: KA && _(R.clearcoatRoughnessMap.channel), iridescenceMapUv: HA && _(R.iridescenceMap.channel), iridescenceThicknessMapUv: RA && _(R.iridescenceThicknessMap.channel), sheenColorMapUv: Ct && _(R.sheenColorMap.channel), sheenRoughnessMapUv: It && _(R.sheenRoughnessMap.channel), specularMapUv: J && _(R.specularMap.channel), specularColorMapUv: $ && _(R.specularColorMap.channel), specularIntensityMapUv: xe && _(R.specularIntensityMap.channel), transmissionMapUv: iA && _(R.transmissionMap.channel), thicknessMapUv: $e && _(R.thicknessMap.channel), alphaMapUv: Oe && _(R.alphaMap.channel), vertexTangents: ue && !!ie.attributes.tangent, vertexColors: R.vertexColors, vertexAlphas: R.vertexColors === !0 && !!ie.attributes.color && ie.attributes.color.itemSize === 4, vertexUv1s: ve, vertexUv2s: zA, vertexUv3s: qA, pointsUvs: ce.isPoints === !0 && !!ie.attributes.uv && (Pe || Oe), fog: !!ne, useFog: R.fog === !0, fogExp2: ne && ne.isFogExp2, flatShading: R.flatShading === !0, sizeAttenuation: R.sizeAttenuation === !0, logarithmicDepthBuffer: E, skinning: ce.isSkinnedMesh === !0, morphTargets: ie.morphAttributes.position !== void 0, morphNormals: ie.morphAttributes.normal !== void 0, morphColors: ie.morphAttributes.color !== void 0, morphTargetsCount: je, morphTextureStride: MA, numDirLights: k.directional.length, numPointLights: k.point.length, numSpotLights: k.spot.length, numSpotLightMaps: k.spotLightMap.length, numRectAreaLights: k.rectArea.length, numHemiLights: k.hemi.length, numDirLightShadows: k.directionalShadowMap.length, numPointLightShadows: k.pointShadowMap.length, numSpotLightShadows: k.spotShadowMap.length, numSpotLightShadowsWithMaps: k.numSpotLightShadowsWithMaps, numClippingPlanes: g.numPlanes, numClipIntersection: g.numIntersection, dithering: R.dithering, shadowMapEnabled: o.shadowMap.enabled && L.length > 0, shadowMapType: o.shadowMap.type, toneMapping: R.toneMapped ? o.toneMapping : F, useLegacyLights: o.useLegacyLights, premultipliedAlpha: R.premultipliedAlpha, doubleSided: R.side === 2, flipSided: R.side === v, useDepthPacking: R.depthPacking >= 0, depthPacking: R.depthPacking || 0, index0AttributeName: R.index0AttributeName, extensionDerivatives: ZA && R.extensions.derivatives === !0, extensionFragDepth: ZA && R.extensions.fragDepth === !0, extensionDrawBuffers: ZA && R.extensions.drawBuffers === !0, extensionShaderTextureLOD: ZA && R.extensions.shaderTextureLOD === !0, rendererExtensionFragDepth: I || t.has("EXT_frag_depth"), rendererExtensionDrawBuffers: I || t.has("WEBGL_draw_buffers"), rendererExtensionShaderTextureLod: I || t.has("EXT_shader_texture_lod"), customProgramCacheKey: R.customProgramCacheKey() };
|
|
19098
19098
|
}, getProgramCacheKey: function(R) {
|
|
19099
19099
|
const k = [];
|
|
19100
19100
|
if (R.shaderID ? k.push(R.shaderID) : (k.push(R.customVertexShaderID), k.push(R.customFragmentShaderID)), R.defines !== void 0) for (const L in R.defines) k.push(L), k.push(R.defines[L]);
|
|
@@ -19344,7 +19344,7 @@ precision ` + o.precision + " int;";
|
|
|
19344
19344
|
}
|
|
19345
19345
|
function Mp(o, e, A) {
|
|
19346
19346
|
let t = new bc();
|
|
19347
|
-
const n = new GA(), r = new GA(), g = new Yt(), h = new vp({ depthPacking: 3201 }), u = new Dp(), c = {}, I = A.maxTextureSize, E = { [m]:
|
|
19347
|
+
const n = new GA(), r = new GA(), g = new Yt(), h = new vp({ depthPacking: 3201 }), u = new Dp(), c = {}, I = A.maxTextureSize, E = { [m]: v, [v]: m, 2: 2 }, p = new ei({ defines: { VSM_SAMPLES: 8 }, uniforms: { shadow_pass: { value: null }, resolution: { value: new GA() }, radius: { value: 4 } }, vertexShader: `void main() {
|
|
19348
19348
|
gl_Position = vec4( position, 1.0 );
|
|
19349
19349
|
}`, fragmentShader: `uniform sampler2D shadow_pass;
|
|
19350
19350
|
uniform vec2 resolution;
|
|
@@ -19607,7 +19607,7 @@ void main() {
|
|
|
19607
19607
|
return w !== oe && (o.useProgram(oe), w = oe, !0);
|
|
19608
19608
|
}, setBlending: Xe, setMaterial: function(oe, Ue) {
|
|
19609
19609
|
oe.side === 2 ? he(o.CULL_FACE) : XA(o.CULL_FACE);
|
|
19610
|
-
let lA = oe.side ===
|
|
19610
|
+
let lA = oe.side === v;
|
|
19611
19611
|
Ue && (lA = !lA), Re(lA), oe.blending === 1 && oe.transparent === !1 ? Xe(0) : Xe(oe.blending, oe.blendEquation, oe.blendSrc, oe.blendDst, oe.blendEquationAlpha, oe.blendSrcAlpha, oe.blendDstAlpha, oe.premultipliedAlpha), r.setFunc(oe.depthFunc), r.setTest(oe.depthTest), r.setMask(oe.depthWrite), n.setMask(oe.colorWrite);
|
|
19612
19612
|
const SA = oe.stencilWrite;
|
|
19613
19613
|
g.setTest(SA), SA && (g.setMask(oe.stencilWriteMask), g.setFunc(oe.stencilFunc, oe.stencilRef, oe.stencilFuncMask), g.setOp(oe.stencilFail, oe.stencilZFail, oe.stencilZPass)), ke(oe.polygonOffset, oe.polygonOffsetFactor, oe.polygonOffsetUnits), oe.alphaToCoverage === !0 ? XA(o.SAMPLE_ALPHA_TO_COVERAGE) : he(o.SAMPLE_ALPHA_TO_COVERAGE);
|
|
@@ -20370,7 +20370,7 @@ void main() {
|
|
|
20370
20370
|
n.matrixAutoUpdate === !0 && n.updateMatrix(), r.value.copy(n.matrix);
|
|
20371
20371
|
}
|
|
20372
20372
|
function t(n, r) {
|
|
20373
|
-
n.opacity.value = r.opacity, r.color && n.diffuse.value.copy(r.color), r.emissive && n.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity), r.map && (n.map.value = r.map, A(r.map, n.mapTransform)), r.alphaMap && (n.alphaMap.value = r.alphaMap, A(r.alphaMap, n.alphaMapTransform)), r.bumpMap && (n.bumpMap.value = r.bumpMap, A(r.bumpMap, n.bumpMapTransform), n.bumpScale.value = r.bumpScale, r.side ===
|
|
20373
|
+
n.opacity.value = r.opacity, r.color && n.diffuse.value.copy(r.color), r.emissive && n.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity), r.map && (n.map.value = r.map, A(r.map, n.mapTransform)), r.alphaMap && (n.alphaMap.value = r.alphaMap, A(r.alphaMap, n.alphaMapTransform)), r.bumpMap && (n.bumpMap.value = r.bumpMap, A(r.bumpMap, n.bumpMapTransform), n.bumpScale.value = r.bumpScale, r.side === v && (n.bumpScale.value *= -1)), r.normalMap && (n.normalMap.value = r.normalMap, A(r.normalMap, n.normalMapTransform), n.normalScale.value.copy(r.normalScale), r.side === v && n.normalScale.value.negate()), r.displacementMap && (n.displacementMap.value = r.displacementMap, A(r.displacementMap, n.displacementMapTransform), n.displacementScale.value = r.displacementScale, n.displacementBias.value = r.displacementBias), r.emissiveMap && (n.emissiveMap.value = r.emissiveMap, A(r.emissiveMap, n.emissiveMapTransform)), r.specularMap && (n.specularMap.value = r.specularMap, A(r.specularMap, n.specularMapTransform)), r.alphaTest > 0 && (n.alphaTest.value = r.alphaTest);
|
|
20374
20374
|
const g = e.get(r).envMap;
|
|
20375
20375
|
if (g && (n.envMap.value = g, n.flipEnvMap.value = g.isCubeTexture && g.isRenderTargetTexture === !1 ? -1 : 1, n.reflectivity.value = r.reflectivity, n.ior.value = r.ior, n.refractionRatio.value = r.refractionRatio), r.lightMap) {
|
|
20376
20376
|
n.lightMap.value = r.lightMap;
|
|
@@ -20389,7 +20389,7 @@ void main() {
|
|
|
20389
20389
|
})(n, r)) : r.isMeshStandardMaterial ? (t(n, r), (function(c, I) {
|
|
20390
20390
|
c.metalness.value = I.metalness, I.metalnessMap && (c.metalnessMap.value = I.metalnessMap, A(I.metalnessMap, c.metalnessMapTransform)), c.roughness.value = I.roughness, I.roughnessMap && (c.roughnessMap.value = I.roughnessMap, A(I.roughnessMap, c.roughnessMapTransform)), e.get(I).envMap && (c.envMapIntensity.value = I.envMapIntensity);
|
|
20391
20391
|
})(n, r), r.isMeshPhysicalMaterial && (function(c, I, E) {
|
|
20392
|
-
c.ior.value = I.ior, I.sheen > 0 && (c.sheenColor.value.copy(I.sheenColor).multiplyScalar(I.sheen), c.sheenRoughness.value = I.sheenRoughness, I.sheenColorMap && (c.sheenColorMap.value = I.sheenColorMap, A(I.sheenColorMap, c.sheenColorMapTransform)), I.sheenRoughnessMap && (c.sheenRoughnessMap.value = I.sheenRoughnessMap, A(I.sheenRoughnessMap, c.sheenRoughnessMapTransform))), I.clearcoat > 0 && (c.clearcoat.value = I.clearcoat, c.clearcoatRoughness.value = I.clearcoatRoughness, I.clearcoatMap && (c.clearcoatMap.value = I.clearcoatMap, A(I.clearcoatMap, c.clearcoatMapTransform)), I.clearcoatRoughnessMap && (c.clearcoatRoughnessMap.value = I.clearcoatRoughnessMap, A(I.clearcoatRoughnessMap, c.clearcoatRoughnessMapTransform)), I.clearcoatNormalMap && (c.clearcoatNormalMap.value = I.clearcoatNormalMap, A(I.clearcoatNormalMap, c.clearcoatNormalMapTransform), c.clearcoatNormalScale.value.copy(I.clearcoatNormalScale), I.side ===
|
|
20392
|
+
c.ior.value = I.ior, I.sheen > 0 && (c.sheenColor.value.copy(I.sheenColor).multiplyScalar(I.sheen), c.sheenRoughness.value = I.sheenRoughness, I.sheenColorMap && (c.sheenColorMap.value = I.sheenColorMap, A(I.sheenColorMap, c.sheenColorMapTransform)), I.sheenRoughnessMap && (c.sheenRoughnessMap.value = I.sheenRoughnessMap, A(I.sheenRoughnessMap, c.sheenRoughnessMapTransform))), I.clearcoat > 0 && (c.clearcoat.value = I.clearcoat, c.clearcoatRoughness.value = I.clearcoatRoughness, I.clearcoatMap && (c.clearcoatMap.value = I.clearcoatMap, A(I.clearcoatMap, c.clearcoatMapTransform)), I.clearcoatRoughnessMap && (c.clearcoatRoughnessMap.value = I.clearcoatRoughnessMap, A(I.clearcoatRoughnessMap, c.clearcoatRoughnessMapTransform)), I.clearcoatNormalMap && (c.clearcoatNormalMap.value = I.clearcoatNormalMap, A(I.clearcoatNormalMap, c.clearcoatNormalMapTransform), c.clearcoatNormalScale.value.copy(I.clearcoatNormalScale), I.side === v && c.clearcoatNormalScale.value.negate())), I.iridescence > 0 && (c.iridescence.value = I.iridescence, c.iridescenceIOR.value = I.iridescenceIOR, c.iridescenceThicknessMinimum.value = I.iridescenceThicknessRange[0], c.iridescenceThicknessMaximum.value = I.iridescenceThicknessRange[1], I.iridescenceMap && (c.iridescenceMap.value = I.iridescenceMap, A(I.iridescenceMap, c.iridescenceMapTransform)), I.iridescenceThicknessMap && (c.iridescenceThicknessMap.value = I.iridescenceThicknessMap, A(I.iridescenceThicknessMap, c.iridescenceThicknessMapTransform))), I.transmission > 0 && (c.transmission.value = I.transmission, c.transmissionSamplerMap.value = E.texture, c.transmissionSamplerSize.value.set(E.width, E.height), I.transmissionMap && (c.transmissionMap.value = I.transmissionMap, A(I.transmissionMap, c.transmissionMapTransform)), c.thickness.value = I.thickness, I.thicknessMap && (c.thicknessMap.value = I.thicknessMap, A(I.thicknessMap, c.thicknessMapTransform)), c.attenuationDistance.value = I.attenuationDistance, c.attenuationColor.value.copy(I.attenuationColor)), c.specularIntensity.value = I.specularIntensity, c.specularColor.value.copy(I.specularColor), I.specularColorMap && (c.specularColorMap.value = I.specularColorMap, A(I.specularColorMap, c.specularColorMapTransform)), I.specularIntensityMap && (c.specularIntensityMap.value = I.specularIntensityMap, A(I.specularIntensityMap, c.specularIntensityMapTransform));
|
|
20393
20393
|
})(n, r, u)) : r.isMeshMatcapMaterial ? (t(n, r), (function(c, I) {
|
|
20394
20394
|
I.matcap && (c.matcap.value = I.matcap);
|
|
20395
20395
|
})(n, r)) : r.isMeshDepthMaterial ? t(n, r) : r.isMeshDistanceMaterial ? (t(n, r), (function(c, I) {
|
|
@@ -20686,7 +20686,7 @@ void main() {
|
|
|
20686
20686
|
} else $t.render(Zt, Bt);
|
|
20687
20687
|
}, this.compile = function(Ie, AA) {
|
|
20688
20688
|
function EA(gA, mA, At) {
|
|
20689
|
-
gA.transparent === !0 && gA.side === 2 && gA.forceSinglePass === !1 ? (gA.side =
|
|
20689
|
+
gA.transparent === !0 && gA.side === 2 && gA.forceSinglePass === !1 ? (gA.side = v, gA.needsUpdate = !0, Ni(gA, mA, At), gA.side = m, gA.needsUpdate = !0, Ni(gA, mA, At), gA.side = 2) : Ni(gA, mA, At);
|
|
20690
20690
|
}
|
|
20691
20691
|
N = It.get(Ie), N.init(), R.push(N), Ie.traverseVisible((function(gA) {
|
|
20692
20692
|
gA.isLight && gA.layers.test(AA.layers) && (N.pushLight(gA), gA.castShadow && N.pushShadow(gA));
|
|
@@ -20748,7 +20748,7 @@ void main() {
|
|
|
20748
20748
|
const $t = Gt[Bt], Ot = $t.object, hn = $t.geometry, ki = $t.material, Qt = $t.group;
|
|
20749
20749
|
if (ki.side === 2 && Ot.layers.test(xt.layers)) {
|
|
20750
20750
|
const xi = ki.side;
|
|
20751
|
-
ki.side =
|
|
20751
|
+
ki.side = v, ki.needsUpdate = !0, Ki(Ot, lt, xt, hn, ki, Qt), ki.side = xi, ki.needsUpdate = !0, wt = !0;
|
|
20752
20752
|
}
|
|
20753
20753
|
}
|
|
20754
20754
|
wt === !0 && (oe.updateMultisampleRenderTarget(bA), oe.updateRenderTargetMipmap(bA)), k.setRenderTarget(bt), k.toneMapping = Zt;
|
|
@@ -20762,7 +20762,7 @@ void main() {
|
|
|
20762
20762
|
}
|
|
20763
20763
|
}
|
|
20764
20764
|
function Ki(Ie, AA, EA, gA, mA, At) {
|
|
20765
|
-
Ie.onBeforeRender(k, AA, EA, gA, mA, At), Ie.modelViewMatrix.multiplyMatrices(EA.matrixWorldInverse, Ie.matrixWorld), Ie.normalMatrix.getNormalMatrix(Ie.modelViewMatrix), mA.onBeforeRender(k, AA, EA, gA, Ie, At), mA.transparent === !0 && mA.side === 2 && mA.forceSinglePass === !1 ? (mA.side =
|
|
20765
|
+
Ie.onBeforeRender(k, AA, EA, gA, mA, At), Ie.modelViewMatrix.multiplyMatrices(EA.matrixWorldInverse, Ie.matrixWorld), Ie.normalMatrix.getNormalMatrix(Ie.modelViewMatrix), mA.onBeforeRender(k, AA, EA, gA, Ie, At), mA.transparent === !0 && mA.side === 2 && mA.forceSinglePass === !1 ? (mA.side = v, mA.needsUpdate = !0, k.renderBufferDirect(EA, AA, gA, mA, Ie, At), mA.side = m, mA.needsUpdate = !0, k.renderBufferDirect(EA, AA, gA, mA, Ie, At), mA.side = 2) : k.renderBufferDirect(EA, AA, gA, mA, Ie, At), Ie.onAfterRender(k, AA, EA, gA, mA, At);
|
|
20766
20766
|
}
|
|
20767
20767
|
function Ni(Ie, AA, EA) {
|
|
20768
20768
|
AA.isScene !== !0 && (AA = he);
|
|
@@ -31335,26 +31335,26 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31335
31335
|
currentCameraId: y,
|
|
31336
31336
|
showStaticImage: Q,
|
|
31337
31337
|
mouseSensitivity: m,
|
|
31338
|
-
rotateOnCameraNavigate:
|
|
31339
|
-
} = /* @__PURE__ */ kn(C), S = a, b = /* @__PURE__ */ yA(),
|
|
31338
|
+
rotateOnCameraNavigate: v
|
|
31339
|
+
} = /* @__PURE__ */ kn(C), S = a, b = /* @__PURE__ */ yA(), D = /* @__PURE__ */ yA(y.value), x = /* @__PURE__ */ yA(0), F = /* @__PURE__ */ yA(0), Y = /* @__PURE__ */ yA(!1);
|
|
31340
31340
|
pt(y, () => {
|
|
31341
|
-
|
|
31341
|
+
D.value = y.value;
|
|
31342
31342
|
}), pt([B, f], async () => {
|
|
31343
31343
|
b.value && await b.value.loadInterior(
|
|
31344
31344
|
(G) => Kn(
|
|
31345
31345
|
d.value,
|
|
31346
31346
|
`/${B.value}/${f.value}${G}`
|
|
31347
31347
|
),
|
|
31348
|
-
|
|
31348
|
+
D.value,
|
|
31349
31349
|
!1
|
|
31350
31350
|
);
|
|
31351
31351
|
}), pt(
|
|
31352
|
-
|
|
31352
|
+
D,
|
|
31353
31353
|
() => {
|
|
31354
31354
|
b.value && b.value.goToCamera(
|
|
31355
|
-
|
|
31356
|
-
|
|
31357
|
-
), S("newCameraCallback",
|
|
31355
|
+
D.value,
|
|
31356
|
+
v.value
|
|
31357
|
+
), S("newCameraCallback", D.value);
|
|
31358
31358
|
},
|
|
31359
31359
|
{ immediate: !0 }
|
|
31360
31360
|
), pt(
|
|
@@ -31369,7 +31369,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31369
31369
|
if (b.value) {
|
|
31370
31370
|
S("playerApiCallback", b.value);
|
|
31371
31371
|
const G = b.value.getCurrentCamera();
|
|
31372
|
-
G && (
|
|
31372
|
+
G && (D.value = G.id, S("sunsimCallback", G.sunsimDayOfYear));
|
|
31373
31373
|
}
|
|
31374
31374
|
});
|
|
31375
31375
|
async function P() {
|
|
@@ -31378,10 +31378,10 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31378
31378
|
initialized: () => {
|
|
31379
31379
|
b.value = l.Main.getPlayerAPI();
|
|
31380
31380
|
const le = b.value.getCurrentCamera();
|
|
31381
|
-
b.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), le && (
|
|
31381
|
+
b.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), le && (D.value = le.id), Y.value = !0;
|
|
31382
31382
|
},
|
|
31383
31383
|
newCamera: (le) => {
|
|
31384
|
-
S("newFloorCallback", le.floorLevel), S("sunsimCallback", le.sunsimDayOfYear), b.value && b.value.resetMarkerBehaviour(0),
|
|
31384
|
+
S("newFloorCallback", le.floorLevel), S("sunsimCallback", le.sunsimDayOfYear), b.value && b.value.resetMarkerBehaviour(0), D.value = le.id;
|
|
31385
31385
|
},
|
|
31386
31386
|
newFOV: (le) => {
|
|
31387
31387
|
S("newFovCallback", le), F.value = le;
|
|
@@ -31404,7 +31404,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31404
31404
|
"qpc",
|
|
31405
31405
|
j,
|
|
31406
31406
|
void 0,
|
|
31407
|
-
|
|
31407
|
+
D.value
|
|
31408
31408
|
);
|
|
31409
31409
|
X && (X.handleWindowResize(), window.addEventListener(
|
|
31410
31410
|
"resize",
|
|
@@ -31467,27 +31467,27 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31467
31467
|
},
|
|
31468
31468
|
emits: ["level"],
|
|
31469
31469
|
setup(s, { emit: i }) {
|
|
31470
|
-
const a = s, l = i, C = Gi(vs), d = rt(() =>
|
|
31471
|
-
const m = a.floorLevels;
|
|
31472
|
-
return m.sort(), m;
|
|
31473
|
-
}), B = rt(() => d.value.indexOf(a.level) + 1 <= d.value.length / 2 ? "lower" : "upper"), f = rt(() => B.value === "lower"), y = rt(() => B.value === "upper");
|
|
31470
|
+
const a = s, l = i, C = Gi(vs), d = rt(() => [...a.floorLevels].sort((m, v) => m - v)), B = rt(() => d.value.indexOf(a.level) + 1 <= d.value.length / 2 ? "lower" : "upper"), f = rt(() => B.value === "lower"), y = rt(() => B.value === "upper");
|
|
31474
31471
|
function Q() {
|
|
31475
|
-
const m =
|
|
31476
|
-
m
|
|
31472
|
+
const m = d.value;
|
|
31473
|
+
if (m.length === 0)
|
|
31474
|
+
return;
|
|
31475
|
+
const v = m.indexOf(a.level), S = v === -1 ? 0 : (v + 1) % m.length;
|
|
31476
|
+
l("level", m[S]);
|
|
31477
31477
|
}
|
|
31478
|
-
return (m,
|
|
31478
|
+
return (m, v) => {
|
|
31479
31479
|
const S = VA("v-btn"), b = VA("v-tooltip");
|
|
31480
31480
|
return nA(), at(b, {
|
|
31481
31481
|
right: "",
|
|
31482
31482
|
attach: ""
|
|
31483
31483
|
}, {
|
|
31484
|
-
activator: hA(({ props:
|
|
31484
|
+
activator: hA(({ props: D }) => [
|
|
31485
31485
|
aA(S, ir({
|
|
31486
31486
|
style: { cursor: "pointer" },
|
|
31487
31487
|
density: "comfortable",
|
|
31488
31488
|
elevation: "1",
|
|
31489
31489
|
icon: ""
|
|
31490
|
-
},
|
|
31490
|
+
}, D, { onClick: Q }), {
|
|
31491
31491
|
default: hA(() => [
|
|
31492
31492
|
(nA(), jA("svg", Gx, [
|
|
31493
31493
|
we("path", {
|
|
@@ -31516,7 +31516,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31516
31516
|
});
|
|
31517
31517
|
};
|
|
31518
31518
|
}
|
|
31519
|
-
}), Yx = ".btn-placeholder[data-v-
|
|
31519
|
+
}), Yx = ".btn-placeholder[data-v-e87b6c49]{width:36px;height:36px}.v-btn[data-v-e87b6c49]{background-color:#fff;pointer-events:all;cursor:auto}.floor-level-label[data-v-e87b6c49]{text-transform:capitalize}", Px = /* @__PURE__ */ Vt(Jx, [["styles", [Yx]], ["__scopeId", "data-v-e87b6c49"]]), Ox = { class: "d-none d-md-inline" }, Kx = { class: "interior-selector-list" }, zx = ["onClick"], qx = { class: "d-flex align-center justify-left pa-0 ma-0" }, Vx = { class: "pa-0 ma-0" }, Wx = { class: "text-caption ma-2 no-wrap" }, Zx = /* @__PURE__ */ Lt({
|
|
31520
31520
|
__name: "VInteriorSelector",
|
|
31521
31521
|
props: {
|
|
31522
31522
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -31536,8 +31536,8 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31536
31536
|
elevation: "0",
|
|
31537
31537
|
attach: ""
|
|
31538
31538
|
}, {
|
|
31539
|
-
activator: hA(({ props:
|
|
31540
|
-
aA(y, ir({ rounded: "" },
|
|
31539
|
+
activator: hA(({ props: v }) => [
|
|
31540
|
+
aA(y, ir({ rounded: "" }, v, { class: "text-capitalize" }), {
|
|
31541
31541
|
default: hA(() => [
|
|
31542
31542
|
aA(f, null, {
|
|
31543
31543
|
default: hA(() => [...B[0] || (B[0] = [
|
|
@@ -31552,9 +31552,9 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31552
31552
|
]),
|
|
31553
31553
|
default: hA(() => [
|
|
31554
31554
|
we("div", Kx, [
|
|
31555
|
-
(nA(!0), jA(ui, null, ys(a.availableArchetypes, (
|
|
31555
|
+
(nA(!0), jA(ui, null, ys(a.availableArchetypes, (v, S) => (nA(), jA("div", {
|
|
31556
31556
|
key: `at-menuitem-${S}`,
|
|
31557
|
-
onClick: (b) => l("selectInterior",
|
|
31557
|
+
onClick: (b) => l("selectInterior", v.archetypeID),
|
|
31558
31558
|
class: fi(["interior-selector-list-item", {
|
|
31559
31559
|
active: S === s.selectedIndex
|
|
31560
31560
|
}])
|
|
@@ -31565,11 +31565,11 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31565
31565
|
width: "100",
|
|
31566
31566
|
"max-width": "100",
|
|
31567
31567
|
height: "66",
|
|
31568
|
-
src:
|
|
31568
|
+
src: v.url,
|
|
31569
31569
|
class: "pa-0 ma-0"
|
|
31570
31570
|
}, null, 8, ["src"])
|
|
31571
31571
|
]),
|
|
31572
|
-
we("div", Wx, ft(rA(C).get(
|
|
31572
|
+
we("div", Wx, ft(rA(C).get(v.title)), 1)
|
|
31573
31573
|
])
|
|
31574
31574
|
], 10, zx))), 128))
|
|
31575
31575
|
])
|
|
@@ -31649,13 +31649,13 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31649
31649
|
return (B, f) => {
|
|
31650
31650
|
const y = VA("v-icon"), Q = VA("v-btn"), m = VA("v-tooltip");
|
|
31651
31651
|
return nA(), at(m, { location: "top" }, {
|
|
31652
|
-
activator: hA(({ props:
|
|
31652
|
+
activator: hA(({ props: v }) => [
|
|
31653
31653
|
aA(Q, ir({
|
|
31654
31654
|
density: "comfortable",
|
|
31655
31655
|
elevation: "1",
|
|
31656
31656
|
icon: "",
|
|
31657
31657
|
onClick: f[0] || (f[0] = (S) => l("toggle"))
|
|
31658
|
-
},
|
|
31658
|
+
}, v), {
|
|
31659
31659
|
default: hA(() => [
|
|
31660
31660
|
d.value === "virtualTour" ? (nA(), jA("svg", cb, [...f[1] || (f[1] = [
|
|
31661
31661
|
we("path", {
|
|
@@ -31704,7 +31704,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31704
31704
|
a("closeTutorial", C.value);
|
|
31705
31705
|
}
|
|
31706
31706
|
return (y, Q) => {
|
|
31707
|
-
const m = VA("v-icon"),
|
|
31707
|
+
const m = VA("v-icon"), v = VA("v-card-title"), S = VA("v-btn"), b = VA("v-divider"), D = VA("v-card-text"), x = VA("v-card-actions"), F = VA("v-card"), Y = VA("v-expand-transition"), P = VA("v-checkbox");
|
|
31708
31708
|
return nA(), at(Vs, { name: "fade-transition" }, {
|
|
31709
31709
|
default: hA(() => [
|
|
31710
31710
|
aA(F, {
|
|
@@ -31712,7 +31712,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31712
31712
|
elevation: "16"
|
|
31713
31713
|
}, {
|
|
31714
31714
|
default: hA(() => [
|
|
31715
|
-
aA(
|
|
31715
|
+
aA(v, { class: "text-capitalize" }, {
|
|
31716
31716
|
default: hA(() => [
|
|
31717
31717
|
aA(m, { size: "x-small" }, {
|
|
31718
31718
|
default: hA(() => [...Q[4] || (Q[4] = [
|
|
@@ -31724,7 +31724,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
31724
31724
|
]),
|
|
31725
31725
|
_: 1
|
|
31726
31726
|
}),
|
|
31727
|
-
aA(
|
|
31727
|
+
aA(D, { class: "pb-0" }, {
|
|
31728
31728
|
default: hA(() => [
|
|
31729
31729
|
we("p", null, ft(rA(l).getLabel("disclaimerTextShort")), 1),
|
|
31730
31730
|
aA(S, {
|
|
@@ -32310,7 +32310,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
32310
32310
|
style: { bottom: "0" }
|
|
32311
32311
|
}, {
|
|
32312
32312
|
default: hA(() => [
|
|
32313
|
-
aA(
|
|
32313
|
+
aA(D, { class: "pb-0" }, {
|
|
32314
32314
|
default: hA(() => [
|
|
32315
32315
|
we("p", _b, [
|
|
32316
32316
|
aA(m, null, {
|
|
@@ -32417,21 +32417,21 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
32417
32417
|
{ deep: !0 }
|
|
32418
32418
|
);
|
|
32419
32419
|
const d = rt(() => {
|
|
32420
|
-
let
|
|
32420
|
+
let D = {};
|
|
32421
32421
|
for (const [x, F] of Object.entries(C.value))
|
|
32422
|
-
x === "whitePoint" ?
|
|
32423
|
-
return
|
|
32422
|
+
x === "whitePoint" ? D[x] = m(F.value) : D[x] = F.value;
|
|
32423
|
+
return D;
|
|
32424
32424
|
});
|
|
32425
32425
|
function B() {
|
|
32426
32426
|
l("updateSettings", d.value);
|
|
32427
32427
|
}
|
|
32428
32428
|
function f() {
|
|
32429
|
-
const
|
|
32430
|
-
|
|
32429
|
+
const D = document.createElement("a");
|
|
32430
|
+
D.href = URL.createObjectURL(
|
|
32431
32431
|
new Blob([JSON.stringify(d.value, null, 2)])
|
|
32432
32432
|
);
|
|
32433
32433
|
const x = `player-settings-${Date.now()}.json`;
|
|
32434
|
-
|
|
32434
|
+
D.download = x, D.style.display = "none", document.body.appendChild(D), D.click(), document.body.removeChild(D);
|
|
32435
32435
|
}
|
|
32436
32436
|
function y() {
|
|
32437
32437
|
l("saveSettings", d.value);
|
|
@@ -32439,18 +32439,18 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
32439
32439
|
function Q() {
|
|
32440
32440
|
C.value = b(), l("updateSettings", d.value);
|
|
32441
32441
|
}
|
|
32442
|
-
function m(
|
|
32443
|
-
const x = parseInt(
|
|
32442
|
+
function m(D) {
|
|
32443
|
+
const x = parseInt(D.substr(1, 2), 16) / 255, F = parseInt(D.substr(3, 2), 16) / 255, Y = parseInt(D.substr(5, 2), 16) / 255;
|
|
32444
32444
|
return [x, F, Y];
|
|
32445
32445
|
}
|
|
32446
|
-
function D
|
|
32447
|
-
var x =
|
|
32446
|
+
function v(D) {
|
|
32447
|
+
var x = D.toString(16);
|
|
32448
32448
|
return x.length == 1 ? "0" + x : x;
|
|
32449
32449
|
}
|
|
32450
|
-
function S([
|
|
32451
|
-
return "#" +
|
|
32450
|
+
function S([D, x, F]) {
|
|
32451
|
+
return "#" + v(parseInt((D * 255).toString())) + v(parseInt((x * 255).toString())) + v(parseInt((F * 255).toString()));
|
|
32452
32452
|
}
|
|
32453
|
-
function b(
|
|
32453
|
+
function b(D = {}) {
|
|
32454
32454
|
const x = [
|
|
32455
32455
|
"Cool 5",
|
|
32456
32456
|
"Cool 10",
|
|
@@ -32474,7 +32474,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
32474
32474
|
TRANSITION_MOVEMENT_SCALE: 1.3,
|
|
32475
32475
|
whitePoint: [1, 1, 1],
|
|
32476
32476
|
lut: "",
|
|
32477
|
-
...
|
|
32477
|
+
...D
|
|
32478
32478
|
};
|
|
32479
32479
|
return {
|
|
32480
32480
|
exposureFovScale: {
|
|
@@ -32546,7 +32546,7 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
32546
32546
|
}
|
|
32547
32547
|
};
|
|
32548
32548
|
}
|
|
32549
|
-
return (
|
|
32549
|
+
return (D, x) => {
|
|
32550
32550
|
const F = VA("v-text-field"), Y = VA("v-slider"), P = VA("v-checkbox"), K = VA("v-btn"), G = VA("v-select"), W = VA("v-icon");
|
|
32551
32551
|
return nA(), jA("div", Tb, [
|
|
32552
32552
|
we("form", Hb, [
|
|
@@ -32750,21 +32750,21 @@ const mx = { id: "player-wrapper" }, wx = { id: "player-sizer" }, yx = {
|
|
|
32750
32750
|
const f = document.getElementsByClassName("anchor");
|
|
32751
32751
|
for (let x = 0; x < f.length; x++) {
|
|
32752
32752
|
const F = f[x];
|
|
32753
|
-
F.addEventListener("touchstart", S, { passive: !1 }), F.addEventListener("touchend",
|
|
32753
|
+
F.addEventListener("touchstart", S, { passive: !1 }), F.addEventListener("touchend", D, { passive: !1 }), F.addEventListener("mousedown", S, { passive: !1 }), F.addEventListener("mouseup", D, { passive: !1 });
|
|
32754
32754
|
}
|
|
32755
|
-
let y = 0, Q = 0, m = 0,
|
|
32755
|
+
let y = 0, Q = 0, m = 0, v = 0;
|
|
32756
32756
|
function S(x) {
|
|
32757
32757
|
x = x || window.event, x.preventDefault();
|
|
32758
32758
|
let F = x;
|
|
32759
|
-
x.type === "touchstart" && (F = x.touches[0]), m = F.clientX,
|
|
32759
|
+
x.type === "touchstart" && (F = x.touches[0]), m = F.clientX, v = F.clientY, document.addEventListener("mouseup", D, { passive: !1 }), document.addEventListener("touchend", D, { passive: !1 }), document.addEventListener("mousemove", b, { passive: !1 }), document.addEventListener("touchmove", b, { passive: !1 });
|
|
32760
32760
|
}
|
|
32761
32761
|
function b(x) {
|
|
32762
32762
|
x = x || window.event, x.preventDefault();
|
|
32763
32763
|
let F = x;
|
|
32764
|
-
x.type === "touchmove" && (F = x.touches[0]), y = m - F.clientX, Q =
|
|
32764
|
+
x.type === "touchmove" && (F = x.touches[0]), y = m - F.clientX, Q = v - F.clientY, m = F.clientX, v = F.clientY, B.style.top = B.offsetTop - Q + "px", B.style.left = B.offsetLeft - y + "px";
|
|
32765
32765
|
}
|
|
32766
|
-
function
|
|
32767
|
-
document.removeEventListener("mouseup",
|
|
32766
|
+
function D() {
|
|
32767
|
+
document.removeEventListener("mouseup", D, !1), document.removeEventListener("mousemove", b, !1), document.removeEventListener("touchend", D, !1), document.removeEventListener("touchmove", b, !1);
|
|
32768
32768
|
}
|
|
32769
32769
|
};
|
|
32770
32770
|
return (B, f) => (nA(), jA("div", {
|
|
@@ -32885,25 +32885,25 @@ function NR(s) {
|
|
|
32885
32885
|
return Math.pow(2, Math.floor(Math.log(s) / Math.LN2));
|
|
32886
32886
|
}
|
|
32887
32887
|
function kR(s, i, a, l, C) {
|
|
32888
|
-
const d = Math.cos, B = Math.sin, f = d(a / 2), y = B(a / 2), Q = d((i + l) / 2), m = B((i + l) / 2),
|
|
32888
|
+
const d = Math.cos, B = Math.sin, f = d(a / 2), y = B(a / 2), Q = d((i + l) / 2), m = B((i + l) / 2), v = d((i - l) / 2), S = B((i - l) / 2), b = d((l - i) / 2), D = B((l - i) / 2);
|
|
32889
32889
|
switch (C) {
|
|
32890
32890
|
case "XYX":
|
|
32891
|
-
s.set(f * m, y *
|
|
32891
|
+
s.set(f * m, y * v, y * S, f * Q);
|
|
32892
32892
|
break;
|
|
32893
32893
|
case "YZY":
|
|
32894
|
-
s.set(y * S, f * m, y *
|
|
32894
|
+
s.set(y * S, f * m, y * v, f * Q);
|
|
32895
32895
|
break;
|
|
32896
32896
|
case "ZXZ":
|
|
32897
|
-
s.set(y *
|
|
32897
|
+
s.set(y * v, y * S, f * m, f * Q);
|
|
32898
32898
|
break;
|
|
32899
32899
|
case "XZX":
|
|
32900
|
-
s.set(f * m, y *
|
|
32900
|
+
s.set(f * m, y * D, y * b, f * Q);
|
|
32901
32901
|
break;
|
|
32902
32902
|
case "YXY":
|
|
32903
|
-
s.set(y * b, f * m, y *
|
|
32903
|
+
s.set(y * b, f * m, y * D, f * Q);
|
|
32904
32904
|
break;
|
|
32905
32905
|
case "ZYZ":
|
|
32906
|
-
s.set(y *
|
|
32906
|
+
s.set(y * D, y * b, f * m, f * Q);
|
|
32907
32907
|
break;
|
|
32908
32908
|
default:
|
|
32909
32909
|
console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: " + C);
|
|
@@ -33228,8 +33228,8 @@ class hg {
|
|
|
33228
33228
|
return this.multiplyMatrices(i, this);
|
|
33229
33229
|
}
|
|
33230
33230
|
multiplyMatrices(i, a) {
|
|
33231
|
-
const l = i.elements, C = a.elements, d = this.elements, B = l[0], f = l[3], y = l[6], Q = l[1], m = l[4],
|
|
33232
|
-
return d[0] = B * x + f * P + y * W, d[3] = B * F + f * K + y * H, d[6] = B * Y + f * G + y * z, d[1] = Q * x + m * P +
|
|
33231
|
+
const l = i.elements, C = a.elements, d = this.elements, B = l[0], f = l[3], y = l[6], Q = l[1], m = l[4], v = l[7], S = l[2], b = l[5], D = l[8], x = C[0], F = C[3], Y = C[6], P = C[1], K = C[4], G = C[7], W = C[2], H = C[5], z = C[8];
|
|
33232
|
+
return d[0] = B * x + f * P + y * W, d[3] = B * F + f * K + y * H, d[6] = B * Y + f * G + y * z, d[1] = Q * x + m * P + v * W, d[4] = Q * F + m * K + v * H, d[7] = Q * Y + m * G + v * z, d[2] = S * x + b * P + D * W, d[5] = S * F + b * K + D * H, d[8] = S * Y + b * G + D * z, this;
|
|
33233
33233
|
}
|
|
33234
33234
|
multiplyScalar(i) {
|
|
33235
33235
|
const a = this.elements;
|
|
@@ -33240,10 +33240,10 @@ class hg {
|
|
|
33240
33240
|
return a * B * m - a * f * Q - l * d * m + l * f * y + C * d * Q - C * B * y;
|
|
33241
33241
|
}
|
|
33242
33242
|
invert() {
|
|
33243
|
-
const i = this.elements, a = i[0], l = i[1], C = i[2], d = i[3], B = i[4], f = i[5], y = i[6], Q = i[7], m = i[8],
|
|
33244
|
-
if (
|
|
33245
|
-
const x = 1 /
|
|
33246
|
-
return i[0] =
|
|
33243
|
+
const i = this.elements, a = i[0], l = i[1], C = i[2], d = i[3], B = i[4], f = i[5], y = i[6], Q = i[7], m = i[8], v = m * B - f * Q, S = f * y - m * d, b = Q * d - B * y, D = a * v + l * S + C * b;
|
|
33244
|
+
if (D === 0) return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
33245
|
+
const x = 1 / D;
|
|
33246
|
+
return i[0] = v * x, i[1] = (C * Q - m * l) * x, i[2] = (f * l - C * B) * x, i[3] = S * x, i[4] = (m * a - C * y) * x, i[5] = (C * d - f * a) * x, i[6] = b * x, i[7] = (l * y - Q * a) * x, i[8] = (B * a - l * d) * x, this;
|
|
33247
33247
|
}
|
|
33248
33248
|
transpose() {
|
|
33249
33249
|
let i;
|
|
@@ -33534,34 +33534,34 @@ class Ig {
|
|
|
33534
33534
|
this.isQuaternion = !0, this._x = i, this._y = a, this._z = l, this._w = C;
|
|
33535
33535
|
}
|
|
33536
33536
|
static slerpFlat(i, a, l, C, d, B, f) {
|
|
33537
|
-
let y = l[C + 0], Q = l[C + 1], m = l[C + 2],
|
|
33538
|
-
const S = d[B + 0], b = d[B + 1],
|
|
33537
|
+
let y = l[C + 0], Q = l[C + 1], m = l[C + 2], v = l[C + 3];
|
|
33538
|
+
const S = d[B + 0], b = d[B + 1], D = d[B + 2], x = d[B + 3];
|
|
33539
33539
|
if (f === 0) {
|
|
33540
|
-
i[a + 0] = y, i[a + 1] = Q, i[a + 2] = m, i[a + 3] =
|
|
33540
|
+
i[a + 0] = y, i[a + 1] = Q, i[a + 2] = m, i[a + 3] = v;
|
|
33541
33541
|
return;
|
|
33542
33542
|
}
|
|
33543
33543
|
if (f === 1) {
|
|
33544
|
-
i[a + 0] = S, i[a + 1] = b, i[a + 2] =
|
|
33544
|
+
i[a + 0] = S, i[a + 1] = b, i[a + 2] = D, i[a + 3] = x;
|
|
33545
33545
|
return;
|
|
33546
33546
|
}
|
|
33547
|
-
if (
|
|
33547
|
+
if (v !== x || y !== S || Q !== b || m !== D) {
|
|
33548
33548
|
let F = 1 - f;
|
|
33549
|
-
const Y = y * S + Q * b + m *
|
|
33549
|
+
const Y = y * S + Q * b + m * D + v * x, P = Y >= 0 ? 1 : -1, K = 1 - Y * Y;
|
|
33550
33550
|
if (K > Number.EPSILON) {
|
|
33551
33551
|
const W = Math.sqrt(K), H = Math.atan2(W, Y * P);
|
|
33552
33552
|
F = Math.sin(F * H) / W, f = Math.sin(f * H) / W;
|
|
33553
33553
|
}
|
|
33554
33554
|
const G = f * P;
|
|
33555
|
-
if (y = y * F + S * G, Q = Q * F + b * G, m = m * F +
|
|
33556
|
-
const W = 1 / Math.sqrt(y * y + Q * Q + m * m +
|
|
33557
|
-
y *= W, Q *= W, m *= W,
|
|
33555
|
+
if (y = y * F + S * G, Q = Q * F + b * G, m = m * F + D * G, v = v * F + x * G, F === 1 - f) {
|
|
33556
|
+
const W = 1 / Math.sqrt(y * y + Q * Q + m * m + v * v);
|
|
33557
|
+
y *= W, Q *= W, m *= W, v *= W;
|
|
33558
33558
|
}
|
|
33559
33559
|
}
|
|
33560
|
-
i[a] = y, i[a + 1] = Q, i[a + 2] = m, i[a + 3] =
|
|
33560
|
+
i[a] = y, i[a + 1] = Q, i[a + 2] = m, i[a + 3] = v;
|
|
33561
33561
|
}
|
|
33562
33562
|
static multiplyQuaternionsFlat(i, a, l, C, d, B) {
|
|
33563
|
-
const f = l[C], y = l[C + 1], Q = l[C + 2], m = l[C + 3],
|
|
33564
|
-
return i[a] = f *
|
|
33563
|
+
const f = l[C], y = l[C + 1], Q = l[C + 2], m = l[C + 3], v = d[B], S = d[B + 1], b = d[B + 2], D = d[B + 3];
|
|
33564
|
+
return i[a] = f * D + m * v + y * b - Q * S, i[a + 1] = y * D + m * S + Q * v - f * b, i[a + 2] = Q * D + m * b + f * S - y * v, i[a + 3] = m * D - f * v - y * S - Q * b, i;
|
|
33565
33565
|
}
|
|
33566
33566
|
get x() {
|
|
33567
33567
|
return this._x;
|
|
@@ -33597,25 +33597,25 @@ class Ig {
|
|
|
33597
33597
|
return this._x = i.x, this._y = i.y, this._z = i.z, this._w = i.w, this._onChangeCallback(), this;
|
|
33598
33598
|
}
|
|
33599
33599
|
setFromEuler(i, a = !0) {
|
|
33600
|
-
const l = i._x, C = i._y, d = i._z, B = i._order, f = Math.cos, y = Math.sin, Q = f(l / 2), m = f(C / 2),
|
|
33600
|
+
const l = i._x, C = i._y, d = i._z, B = i._order, f = Math.cos, y = Math.sin, Q = f(l / 2), m = f(C / 2), v = f(d / 2), S = y(l / 2), b = y(C / 2), D = y(d / 2);
|
|
33601
33601
|
switch (B) {
|
|
33602
33602
|
case "XYZ":
|
|
33603
|
-
this._x = S * m *
|
|
33603
|
+
this._x = S * m * v + Q * b * D, this._y = Q * b * v - S * m * D, this._z = Q * m * D + S * b * v, this._w = Q * m * v - S * b * D;
|
|
33604
33604
|
break;
|
|
33605
33605
|
case "YXZ":
|
|
33606
|
-
this._x = S * m *
|
|
33606
|
+
this._x = S * m * v + Q * b * D, this._y = Q * b * v - S * m * D, this._z = Q * m * D - S * b * v, this._w = Q * m * v + S * b * D;
|
|
33607
33607
|
break;
|
|
33608
33608
|
case "ZXY":
|
|
33609
|
-
this._x = S * m *
|
|
33609
|
+
this._x = S * m * v - Q * b * D, this._y = Q * b * v + S * m * D, this._z = Q * m * D + S * b * v, this._w = Q * m * v - S * b * D;
|
|
33610
33610
|
break;
|
|
33611
33611
|
case "ZYX":
|
|
33612
|
-
this._x = S * m *
|
|
33612
|
+
this._x = S * m * v - Q * b * D, this._y = Q * b * v + S * m * D, this._z = Q * m * D - S * b * v, this._w = Q * m * v + S * b * D;
|
|
33613
33613
|
break;
|
|
33614
33614
|
case "YZX":
|
|
33615
|
-
this._x = S * m *
|
|
33615
|
+
this._x = S * m * v + Q * b * D, this._y = Q * b * v + S * m * D, this._z = Q * m * D - S * b * v, this._w = Q * m * v - S * b * D;
|
|
33616
33616
|
break;
|
|
33617
33617
|
case "XZY":
|
|
33618
|
-
this._x = S * m *
|
|
33618
|
+
this._x = S * m * v - Q * b * D, this._y = Q * b * v - S * m * D, this._z = Q * m * D + S * b * v, this._w = Q * m * v + S * b * D;
|
|
33619
33619
|
break;
|
|
33620
33620
|
default:
|
|
33621
33621
|
console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: " + B);
|
|
@@ -33627,18 +33627,18 @@ class Ig {
|
|
|
33627
33627
|
return this._x = i.x * C, this._y = i.y * C, this._z = i.z * C, this._w = Math.cos(l), this._onChangeCallback(), this;
|
|
33628
33628
|
}
|
|
33629
33629
|
setFromRotationMatrix(i) {
|
|
33630
|
-
const a = i.elements, l = a[0], C = a[4], d = a[8], B = a[1], f = a[5], y = a[9], Q = a[2], m = a[6],
|
|
33630
|
+
const a = i.elements, l = a[0], C = a[4], d = a[8], B = a[1], f = a[5], y = a[9], Q = a[2], m = a[6], v = a[10], S = l + f + v;
|
|
33631
33631
|
if (S > 0) {
|
|
33632
33632
|
const b = 0.5 / Math.sqrt(S + 1);
|
|
33633
33633
|
this._w = 0.25 / b, this._x = (m - y) * b, this._y = (d - Q) * b, this._z = (B - C) * b;
|
|
33634
|
-
} else if (l > f && l >
|
|
33635
|
-
const b = 2 * Math.sqrt(1 + l - f -
|
|
33634
|
+
} else if (l > f && l > v) {
|
|
33635
|
+
const b = 2 * Math.sqrt(1 + l - f - v);
|
|
33636
33636
|
this._w = (m - y) / b, this._x = 0.25 * b, this._y = (C + B) / b, this._z = (d + Q) / b;
|
|
33637
|
-
} else if (f >
|
|
33638
|
-
const b = 2 * Math.sqrt(1 + f - l -
|
|
33637
|
+
} else if (f > v) {
|
|
33638
|
+
const b = 2 * Math.sqrt(1 + f - l - v);
|
|
33639
33639
|
this._w = (d - Q) / b, this._x = (C + B) / b, this._y = 0.25 * b, this._z = (y + m) / b;
|
|
33640
33640
|
} else {
|
|
33641
|
-
const b = 2 * Math.sqrt(1 +
|
|
33641
|
+
const b = 2 * Math.sqrt(1 + v - l - f);
|
|
33642
33642
|
this._w = (B - C) / b, this._x = (d + Q) / b, this._y = (y + m) / b, this._z = 0.25 * b;
|
|
33643
33643
|
}
|
|
33644
33644
|
return this._onChangeCallback(), this;
|
|
@@ -33700,8 +33700,8 @@ class Ig {
|
|
|
33700
33700
|
const b = 1 - a;
|
|
33701
33701
|
return this._w = b * B + a * this._w, this._x = b * l + a * this._x, this._y = b * C + a * this._y, this._z = b * d + a * this._z, this.normalize(), this;
|
|
33702
33702
|
}
|
|
33703
|
-
const Q = Math.sqrt(y), m = Math.atan2(Q, f),
|
|
33704
|
-
return this._w = B *
|
|
33703
|
+
const Q = Math.sqrt(y), m = Math.atan2(Q, f), v = Math.sin((1 - a) * m) / Q, S = Math.sin(a * m) / Q;
|
|
33704
|
+
return this._w = B * v + this._w * S, this._x = l * v + this._x * S, this._y = C * v + this._y * S, this._z = d * v + this._z * S, this._onChangeCallback(), this;
|
|
33705
33705
|
}
|
|
33706
33706
|
slerpQuaternions(i, a, l) {
|
|
33707
33707
|
return this.copy(i).slerp(a, l);
|
|
@@ -33840,8 +33840,8 @@ class Ci {
|
|
|
33840
33840
|
return this.x = (d[0] * a + d[4] * l + d[8] * C + d[12]) * B, this.y = (d[1] * a + d[5] * l + d[9] * C + d[13]) * B, this.z = (d[2] * a + d[6] * l + d[10] * C + d[14]) * B, this;
|
|
33841
33841
|
}
|
|
33842
33842
|
applyQuaternion(i) {
|
|
33843
|
-
const a = this.x, l = this.y, C = this.z, d = i.x, B = i.y, f = i.z, y = i.w, Q = 2 * (B * C - f * l), m = 2 * (f * a - d * C),
|
|
33844
|
-
return this.x = a + y * Q + B *
|
|
33843
|
+
const a = this.x, l = this.y, C = this.z, d = i.x, B = i.y, f = i.z, y = i.w, Q = 2 * (B * C - f * l), m = 2 * (f * a - d * C), v = 2 * (d * l - B * a);
|
|
33844
|
+
return this.x = a + y * Q + B * v - f * m, this.y = l + y * m + f * Q - d * v, this.z = C + y * v + d * m - B * Q, this;
|
|
33845
33845
|
}
|
|
33846
33846
|
project(i) {
|
|
33847
33847
|
return this.applyMatrix4(i.matrixWorldInverse).applyMatrix4(i.projectionMatrix);
|
|
@@ -34008,7 +34008,7 @@ class Ci {
|
|
|
34008
34008
|
}
|
|
34009
34009
|
const Zh = /* @__PURE__ */ new Ci(), FB = /* @__PURE__ */ new Ig();
|
|
34010
34010
|
class Wr {
|
|
34011
|
-
constructor(i, a, l, C, d, B, f, y, Q, m,
|
|
34011
|
+
constructor(i, a, l, C, d, B, f, y, Q, m, v, S, b, D, x, F) {
|
|
34012
34012
|
Wr.prototype.isMatrix4 = !0, this.elements = [
|
|
34013
34013
|
1,
|
|
34014
34014
|
0,
|
|
@@ -34026,11 +34026,11 @@ class Wr {
|
|
|
34026
34026
|
0,
|
|
34027
34027
|
0,
|
|
34028
34028
|
1
|
|
34029
|
-
], i !== void 0 && this.set(i, a, l, C, d, B, f, y, Q, m,
|
|
34029
|
+
], i !== void 0 && this.set(i, a, l, C, d, B, f, y, Q, m, v, S, b, D, x, F);
|
|
34030
34030
|
}
|
|
34031
|
-
set(i, a, l, C, d, B, f, y, Q, m,
|
|
34031
|
+
set(i, a, l, C, d, B, f, y, Q, m, v, S, b, D, x, F) {
|
|
34032
34032
|
const Y = this.elements;
|
|
34033
|
-
return Y[0] = i, Y[4] = a, Y[8] = l, Y[12] = C, Y[1] = d, Y[5] = B, Y[9] = f, Y[13] = y, Y[2] = Q, Y[6] = m, Y[10] =
|
|
34033
|
+
return Y[0] = i, Y[4] = a, Y[8] = l, Y[12] = C, Y[1] = d, Y[5] = B, Y[9] = f, Y[13] = y, Y[2] = Q, Y[6] = m, Y[10] = v, Y[14] = S, Y[3] = b, Y[7] = D, Y[11] = x, Y[15] = F, this;
|
|
34034
34034
|
}
|
|
34035
34035
|
identity() {
|
|
34036
34036
|
return this.set(
|
|
@@ -34112,25 +34112,25 @@ class Wr {
|
|
|
34112
34112
|
return a[0] = l[0] * C, a[1] = l[1] * C, a[2] = l[2] * C, a[3] = 0, a[4] = l[4] * d, a[5] = l[5] * d, a[6] = l[6] * d, a[7] = 0, a[8] = l[8] * B, a[9] = l[9] * B, a[10] = l[10] * B, a[11] = 0, a[12] = 0, a[13] = 0, a[14] = 0, a[15] = 1, this;
|
|
34113
34113
|
}
|
|
34114
34114
|
makeRotationFromEuler(i) {
|
|
34115
|
-
const a = this.elements, l = i.x, C = i.y, d = i.z, B = Math.cos(l), f = Math.sin(l), y = Math.cos(C), Q = Math.sin(C), m = Math.cos(d),
|
|
34115
|
+
const a = this.elements, l = i.x, C = i.y, d = i.z, B = Math.cos(l), f = Math.sin(l), y = Math.cos(C), Q = Math.sin(C), m = Math.cos(d), v = Math.sin(d);
|
|
34116
34116
|
if (i.order === "XYZ") {
|
|
34117
|
-
const S = B * m, b = B *
|
|
34118
|
-
a[0] = y * m, a[4] = -y *
|
|
34117
|
+
const S = B * m, b = B * v, D = f * m, x = f * v;
|
|
34118
|
+
a[0] = y * m, a[4] = -y * v, a[8] = Q, a[1] = b + D * Q, a[5] = S - x * Q, a[9] = -f * y, a[2] = x - S * Q, a[6] = D + b * Q, a[10] = B * y;
|
|
34119
34119
|
} else if (i.order === "YXZ") {
|
|
34120
|
-
const S = y * m, b = y *
|
|
34121
|
-
a[0] = S + x * f, a[4] =
|
|
34120
|
+
const S = y * m, b = y * v, D = Q * m, x = Q * v;
|
|
34121
|
+
a[0] = S + x * f, a[4] = D * f - b, a[8] = B * Q, a[1] = B * v, a[5] = B * m, a[9] = -f, a[2] = b * f - D, a[6] = x + S * f, a[10] = B * y;
|
|
34122
34122
|
} else if (i.order === "ZXY") {
|
|
34123
|
-
const S = y * m, b = y *
|
|
34124
|
-
a[0] = S - x * f, a[4] = -B *
|
|
34123
|
+
const S = y * m, b = y * v, D = Q * m, x = Q * v;
|
|
34124
|
+
a[0] = S - x * f, a[4] = -B * v, a[8] = D + b * f, a[1] = b + D * f, a[5] = B * m, a[9] = x - S * f, a[2] = -B * Q, a[6] = f, a[10] = B * y;
|
|
34125
34125
|
} else if (i.order === "ZYX") {
|
|
34126
|
-
const S = B * m, b = B *
|
|
34127
|
-
a[0] = y * m, a[4] =
|
|
34126
|
+
const S = B * m, b = B * v, D = f * m, x = f * v;
|
|
34127
|
+
a[0] = y * m, a[4] = D * Q - b, a[8] = S * Q + x, a[1] = y * v, a[5] = x * Q + S, a[9] = b * Q - D, a[2] = -Q, a[6] = f * y, a[10] = B * y;
|
|
34128
34128
|
} else if (i.order === "YZX") {
|
|
34129
|
-
const S = B * y, b = B * Q,
|
|
34130
|
-
a[0] = y * m, a[4] = x - S *
|
|
34129
|
+
const S = B * y, b = B * Q, D = f * y, x = f * Q;
|
|
34130
|
+
a[0] = y * m, a[4] = x - S * v, a[8] = D * v + b, a[1] = v, a[5] = B * m, a[9] = -f * m, a[2] = -Q * m, a[6] = b * v + D, a[10] = S - x * v;
|
|
34131
34131
|
} else if (i.order === "XZY") {
|
|
34132
|
-
const S = B * y, b = B * Q,
|
|
34133
|
-
a[0] = y * m, a[4] = -
|
|
34132
|
+
const S = B * y, b = B * Q, D = f * y, x = f * Q;
|
|
34133
|
+
a[0] = y * m, a[4] = -v, a[8] = Q * m, a[1] = S * v + x, a[5] = B * m, a[9] = b * v - D, a[2] = D * v - b, a[6] = f * m, a[10] = x * v + S;
|
|
34134
34134
|
}
|
|
34135
34135
|
return a[3] = 0, a[7] = 0, a[11] = 0, a[12] = 0, a[13] = 0, a[14] = 0, a[15] = 1, this;
|
|
34136
34136
|
}
|
|
@@ -34148,16 +34148,16 @@ class Wr {
|
|
|
34148
34148
|
return this.multiplyMatrices(i, this);
|
|
34149
34149
|
}
|
|
34150
34150
|
multiplyMatrices(i, a) {
|
|
34151
|
-
const l = i.elements, C = a.elements, d = this.elements, B = l[0], f = l[4], y = l[8], Q = l[12], m = l[1],
|
|
34152
|
-
return d[0] = B * H + f * le + y * Ee + Q * tA, d[4] = B * z + f * Ce + y * qe + Q * se, d[8] = B * j + f * ee + y * me + Q * be, d[12] = B * X + f * Fe + y * Qe + Q * T, d[1] = m * H +
|
|
34151
|
+
const l = i.elements, C = a.elements, d = this.elements, B = l[0], f = l[4], y = l[8], Q = l[12], m = l[1], v = l[5], S = l[9], b = l[13], D = l[2], x = l[6], F = l[10], Y = l[14], P = l[3], K = l[7], G = l[11], W = l[15], H = C[0], z = C[4], j = C[8], X = C[12], le = C[1], Ce = C[5], ee = C[9], Fe = C[13], Ee = C[2], qe = C[6], me = C[10], Qe = C[14], tA = C[3], se = C[7], be = C[11], T = C[15];
|
|
34152
|
+
return d[0] = B * H + f * le + y * Ee + Q * tA, d[4] = B * z + f * Ce + y * qe + Q * se, d[8] = B * j + f * ee + y * me + Q * be, d[12] = B * X + f * Fe + y * Qe + Q * T, d[1] = m * H + v * le + S * Ee + b * tA, d[5] = m * z + v * Ce + S * qe + b * se, d[9] = m * j + v * ee + S * me + b * be, d[13] = m * X + v * Fe + S * Qe + b * T, d[2] = D * H + x * le + F * Ee + Y * tA, d[6] = D * z + x * Ce + F * qe + Y * se, d[10] = D * j + x * ee + F * me + Y * be, d[14] = D * X + x * Fe + F * Qe + Y * T, d[3] = P * H + K * le + G * Ee + W * tA, d[7] = P * z + K * Ce + G * qe + W * se, d[11] = P * j + K * ee + G * me + W * be, d[15] = P * X + K * Fe + G * Qe + W * T, this;
|
|
34153
34153
|
}
|
|
34154
34154
|
multiplyScalar(i) {
|
|
34155
34155
|
const a = this.elements;
|
|
34156
34156
|
return a[0] *= i, a[4] *= i, a[8] *= i, a[12] *= i, a[1] *= i, a[5] *= i, a[9] *= i, a[13] *= i, a[2] *= i, a[6] *= i, a[10] *= i, a[14] *= i, a[3] *= i, a[7] *= i, a[11] *= i, a[15] *= i, this;
|
|
34157
34157
|
}
|
|
34158
34158
|
determinant() {
|
|
34159
|
-
const i = this.elements, a = i[0], l = i[4], C = i[8], d = i[12], B = i[1], f = i[5], y = i[9], Q = i[13], m = i[2],
|
|
34160
|
-
return
|
|
34159
|
+
const i = this.elements, a = i[0], l = i[4], C = i[8], d = i[12], B = i[1], f = i[5], y = i[9], Q = i[13], m = i[2], v = i[6], S = i[10], b = i[14], D = i[3], x = i[7], F = i[11], Y = i[15];
|
|
34160
|
+
return D * (+d * y * v - C * Q * v - d * f * S + l * Q * S + C * f * b - l * y * b) + x * (+a * y * b - a * Q * S + d * B * S - C * B * b + C * Q * m - d * y * m) + F * (+a * Q * v - a * f * b - d * B * v + l * B * b + d * f * m - l * Q * m) + Y * (-C * f * m - a * y * v + a * f * S + C * B * v - l * B * S + l * y * m);
|
|
34161
34161
|
}
|
|
34162
34162
|
transpose() {
|
|
34163
34163
|
const i = this.elements;
|
|
@@ -34169,10 +34169,10 @@ class Wr {
|
|
|
34169
34169
|
return i.isVector3 ? (C[12] = i.x, C[13] = i.y, C[14] = i.z) : (C[12] = i, C[13] = a, C[14] = l), this;
|
|
34170
34170
|
}
|
|
34171
34171
|
invert() {
|
|
34172
|
-
const i = this.elements, a = i[0], l = i[1], C = i[2], d = i[3], B = i[4], f = i[5], y = i[6], Q = i[7], m = i[8],
|
|
34172
|
+
const i = this.elements, a = i[0], l = i[1], C = i[2], d = i[3], B = i[4], f = i[5], y = i[6], Q = i[7], m = i[8], v = i[9], S = i[10], b = i[11], D = i[12], x = i[13], F = i[14], Y = i[15], P = v * F * Q - x * S * Q + x * y * b - f * F * b - v * y * Y + f * S * Y, K = D * S * Q - m * F * Q - D * y * b + B * F * b + m * y * Y - B * S * Y, G = m * x * Q - D * v * Q + D * f * b - B * x * b - m * f * Y + B * v * Y, W = D * v * y - m * x * y - D * f * S + B * x * S + m * f * F - B * v * F, H = a * P + l * K + C * G + d * W;
|
|
34173
34173
|
if (H === 0) return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
34174
34174
|
const z = 1 / H;
|
|
34175
|
-
return i[0] = P * z, i[1] = (x * S * d -
|
|
34175
|
+
return i[0] = P * z, i[1] = (x * S * d - v * F * d - x * C * b + l * F * b + v * C * Y - l * S * Y) * z, i[2] = (f * F * d - x * y * d + x * C * Q - l * F * Q - f * C * Y + l * y * Y) * z, i[3] = (v * y * d - f * S * d - v * C * Q + l * S * Q + f * C * b - l * y * b) * z, i[4] = K * z, i[5] = (m * F * d - D * S * d + D * C * b - a * F * b - m * C * Y + a * S * Y) * z, i[6] = (D * y * d - B * F * d - D * C * Q + a * F * Q + B * C * Y - a * y * Y) * z, i[7] = (B * S * d - m * y * d + m * C * Q - a * S * Q - B * C * b + a * y * b) * z, i[8] = G * z, i[9] = (D * v * d - m * x * d - D * l * b + a * x * b + m * l * Y - a * v * Y) * z, i[10] = (B * x * d - D * f * d + D * l * Q - a * x * Q - B * l * Y + a * f * Y) * z, i[11] = (m * f * d - B * v * d - m * l * Q + a * v * Q + B * l * b - a * f * b) * z, i[12] = W * z, i[13] = (m * x * C - D * v * C + D * l * S - a * x * S - m * l * F + a * v * F) * z, i[14] = (D * f * C - B * x * C - D * l * y + a * x * y + B * l * F - a * f * F) * z, i[15] = (B * v * C - m * f * C + m * l * y - a * v * y - B * l * S + a * f * S) * z, this;
|
|
34176
34176
|
}
|
|
34177
34177
|
scale(i) {
|
|
34178
34178
|
const a = this.elements, l = i.x, C = i.y, d = i.z;
|
|
@@ -34344,38 +34344,38 @@ class Wr {
|
|
|
34344
34344
|
), this;
|
|
34345
34345
|
}
|
|
34346
34346
|
compose(i, a, l) {
|
|
34347
|
-
const C = this.elements, d = a._x, B = a._y, f = a._z, y = a._w, Q = d + d, m = B + B,
|
|
34348
|
-
return C[0] = (1 - (x + Y)) * W, C[1] = (b + G) * W, C[2] = (
|
|
34347
|
+
const C = this.elements, d = a._x, B = a._y, f = a._z, y = a._w, Q = d + d, m = B + B, v = f + f, S = d * Q, b = d * m, D = d * v, x = B * m, F = B * v, Y = f * v, P = y * Q, K = y * m, G = y * v, W = l.x, H = l.y, z = l.z;
|
|
34348
|
+
return C[0] = (1 - (x + Y)) * W, C[1] = (b + G) * W, C[2] = (D - K) * W, C[3] = 0, C[4] = (b - G) * H, C[5] = (1 - (S + Y)) * H, C[6] = (F + P) * H, C[7] = 0, C[8] = (D + K) * z, C[9] = (F - P) * z, C[10] = (1 - (S + x)) * z, C[11] = 0, C[12] = i.x, C[13] = i.y, C[14] = i.z, C[15] = 1, this;
|
|
34349
34349
|
}
|
|
34350
34350
|
decompose(i, a, l) {
|
|
34351
34351
|
const C = this.elements;
|
|
34352
34352
|
let d = La.set(C[0], C[1], C[2]).length();
|
|
34353
34353
|
const B = La.set(C[4], C[5], C[6]).length(), f = La.set(C[8], C[9], C[10]).length();
|
|
34354
34354
|
this.determinant() < 0 && (d = -d), i.x = C[12], i.y = C[13], i.z = C[14], tr.copy(this);
|
|
34355
|
-
const Q = 1 / d, m = 1 / B,
|
|
34356
|
-
return tr.elements[0] *= Q, tr.elements[1] *= Q, tr.elements[2] *= Q, tr.elements[4] *= m, tr.elements[5] *= m, tr.elements[6] *= m, tr.elements[8] *=
|
|
34355
|
+
const Q = 1 / d, m = 1 / B, v = 1 / f;
|
|
34356
|
+
return tr.elements[0] *= Q, tr.elements[1] *= Q, tr.elements[2] *= Q, tr.elements[4] *= m, tr.elements[5] *= m, tr.elements[6] *= m, tr.elements[8] *= v, tr.elements[9] *= v, tr.elements[10] *= v, a.setFromRotationMatrix(tr), l.x = d, l.y = B, l.z = f, this;
|
|
34357
34357
|
}
|
|
34358
34358
|
makePerspective(i, a, l, C, d, B, f = pl) {
|
|
34359
|
-
const y = this.elements, Q = 2 * d / (a - i), m = 2 * d / (l - C),
|
|
34360
|
-
let b,
|
|
34359
|
+
const y = this.elements, Q = 2 * d / (a - i), m = 2 * d / (l - C), v = (a + i) / (a - i), S = (l + C) / (l - C);
|
|
34360
|
+
let b, D;
|
|
34361
34361
|
if (f === pl)
|
|
34362
|
-
b = -(B + d) / (B - d),
|
|
34362
|
+
b = -(B + d) / (B - d), D = -2 * B * d / (B - d);
|
|
34363
34363
|
else if (f === _B)
|
|
34364
|
-
b = -B / (B - d),
|
|
34364
|
+
b = -B / (B - d), D = -B * d / (B - d);
|
|
34365
34365
|
else
|
|
34366
34366
|
throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: " + f);
|
|
34367
|
-
return y[0] = Q, y[4] = 0, y[8] =
|
|
34367
|
+
return y[0] = Q, y[4] = 0, y[8] = v, y[12] = 0, y[1] = 0, y[5] = m, y[9] = S, y[13] = 0, y[2] = 0, y[6] = 0, y[10] = b, y[14] = D, y[3] = 0, y[7] = 0, y[11] = -1, y[15] = 0, this;
|
|
34368
34368
|
}
|
|
34369
34369
|
makeOrthographic(i, a, l, C, d, B, f = pl) {
|
|
34370
|
-
const y = this.elements, Q = 1 / (a - i), m = 1 / (l - C),
|
|
34371
|
-
let
|
|
34370
|
+
const y = this.elements, Q = 1 / (a - i), m = 1 / (l - C), v = 1 / (B - d), S = (a + i) * Q, b = (l + C) * m;
|
|
34371
|
+
let D, x;
|
|
34372
34372
|
if (f === pl)
|
|
34373
|
-
|
|
34373
|
+
D = (B + d) * v, x = -2 * v;
|
|
34374
34374
|
else if (f === _B)
|
|
34375
|
-
|
|
34375
|
+
D = d * v, x = -1 * v;
|
|
34376
34376
|
else
|
|
34377
34377
|
throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: " + f);
|
|
34378
|
-
return y[0] = 2 * Q, y[4] = 0, y[8] = 0, y[12] = -S, y[1] = 0, y[5] = 2 * m, y[9] = 0, y[13] = -b, y[2] = 0, y[6] = 0, y[10] = x, y[14] = -
|
|
34378
|
+
return y[0] = 2 * Q, y[4] = 0, y[8] = 0, y[12] = -S, y[1] = 0, y[5] = 2 * m, y[9] = 0, y[13] = -b, y[2] = 0, y[6] = 0, y[10] = x, y[14] = -D, y[3] = 0, y[7] = 0, y[11] = 0, y[15] = 1, this;
|
|
34379
34379
|
}
|
|
34380
34380
|
equals(i) {
|
|
34381
34381
|
const a = this.elements, l = i.elements;
|
|
@@ -34432,22 +34432,22 @@ class cc {
|
|
|
34432
34432
|
return this._x = i._x, this._y = i._y, this._z = i._z, this._order = i._order, this._onChangeCallback(), this;
|
|
34433
34433
|
}
|
|
34434
34434
|
setFromRotationMatrix(i, a = this._order, l = !0) {
|
|
34435
|
-
const C = i.elements, d = C[0], B = C[4], f = C[8], y = C[1], Q = C[5], m = C[9],
|
|
34435
|
+
const C = i.elements, d = C[0], B = C[4], f = C[8], y = C[1], Q = C[5], m = C[9], v = C[2], S = C[6], b = C[10];
|
|
34436
34436
|
switch (a) {
|
|
34437
34437
|
case "XYZ":
|
|
34438
34438
|
this._y = Math.asin(mr(f, -1, 1)), Math.abs(f) < 0.9999999 ? (this._x = Math.atan2(-m, b), this._z = Math.atan2(-B, d)) : (this._x = Math.atan2(S, Q), this._z = 0);
|
|
34439
34439
|
break;
|
|
34440
34440
|
case "YXZ":
|
|
34441
|
-
this._x = Math.asin(-mr(m, -1, 1)), Math.abs(m) < 0.9999999 ? (this._y = Math.atan2(f, b), this._z = Math.atan2(y, Q)) : (this._y = Math.atan2(-
|
|
34441
|
+
this._x = Math.asin(-mr(m, -1, 1)), Math.abs(m) < 0.9999999 ? (this._y = Math.atan2(f, b), this._z = Math.atan2(y, Q)) : (this._y = Math.atan2(-v, d), this._z = 0);
|
|
34442
34442
|
break;
|
|
34443
34443
|
case "ZXY":
|
|
34444
|
-
this._x = Math.asin(mr(S, -1, 1)), Math.abs(S) < 0.9999999 ? (this._y = Math.atan2(-
|
|
34444
|
+
this._x = Math.asin(mr(S, -1, 1)), Math.abs(S) < 0.9999999 ? (this._y = Math.atan2(-v, b), this._z = Math.atan2(-B, Q)) : (this._y = 0, this._z = Math.atan2(y, d));
|
|
34445
34445
|
break;
|
|
34446
34446
|
case "ZYX":
|
|
34447
|
-
this._y = Math.asin(-mr(
|
|
34447
|
+
this._y = Math.asin(-mr(v, -1, 1)), Math.abs(v) < 0.9999999 ? (this._x = Math.atan2(S, b), this._z = Math.atan2(y, d)) : (this._x = 0, this._z = Math.atan2(-B, Q));
|
|
34448
34448
|
break;
|
|
34449
34449
|
case "YZX":
|
|
34450
|
-
this._z = Math.asin(mr(y, -1, 1)), Math.abs(y) < 0.9999999 ? (this._x = Math.atan2(-m, Q), this._y = Math.atan2(-
|
|
34450
|
+
this._z = Math.asin(mr(y, -1, 1)), Math.abs(y) < 0.9999999 ? (this._x = Math.atan2(-m, Q), this._y = Math.atan2(-v, d)) : (this._x = 0, this._y = Math.atan2(f, b));
|
|
34451
34451
|
break;
|
|
34452
34452
|
case "XZY":
|
|
34453
34453
|
this._z = Math.asin(-mr(B, -1, 1)), Math.abs(B) < 0.9999999 ? (this._x = Math.atan2(S, Q), this._y = Math.atan2(f, d)) : (this._x = Math.atan2(-m, b), this._y = 0);
|
|
@@ -34764,8 +34764,8 @@ class ms extends NQ {
|
|
|
34764
34764
|
const y = f.shapes;
|
|
34765
34765
|
if (Array.isArray(y))
|
|
34766
34766
|
for (let Q = 0, m = y.length; Q < m; Q++) {
|
|
34767
|
-
const
|
|
34768
|
-
d(i.shapes,
|
|
34767
|
+
const v = y[Q];
|
|
34768
|
+
d(i.shapes, v);
|
|
34769
34769
|
}
|
|
34770
34770
|
else
|
|
34771
34771
|
d(i.shapes, y);
|
|
@@ -34792,8 +34792,8 @@ class ms extends NQ {
|
|
|
34792
34792
|
}
|
|
34793
34793
|
}
|
|
34794
34794
|
if (a) {
|
|
34795
|
-
const f = B(i.geometries), y = B(i.materials), Q = B(i.textures), m = B(i.images),
|
|
34796
|
-
f.length > 0 && (l.geometries = f), y.length > 0 && (l.materials = y), Q.length > 0 && (l.textures = Q), m.length > 0 && (l.images = m),
|
|
34795
|
+
const f = B(i.geometries), y = B(i.materials), Q = B(i.textures), m = B(i.images), v = B(i.shapes), S = B(i.skeletons), b = B(i.animations), D = B(i.nodes);
|
|
34796
|
+
f.length > 0 && (l.geometries = f), y.length > 0 && (l.materials = y), Q.length > 0 && (l.textures = Q), m.length > 0 && (l.images = m), v.length > 0 && (l.shapes = v), S.length > 0 && (l.skeletons = S), b.length > 0 && (l.animations = b), D.length > 0 && (l.nodes = D);
|
|
34797
34797
|
}
|
|
34798
34798
|
return l.object = C, l;
|
|
34799
34799
|
function B(f) {
|
|
@@ -34875,7 +34875,7 @@ const jR = {
|
|
|
34875
34875
|
},
|
|
34876
34876
|
emits: ["goToCamera"],
|
|
34877
34877
|
setup(s, { emit: i }) {
|
|
34878
|
-
const a = s, l = i, C = /* @__PURE__ */ yA(512), d = /* @__PURE__ */ yA(384), B = /* @__PURE__ */ yA(512), f = /* @__PURE__ */ yA(384), y = /* @__PURE__ */ yA(new Ci()), Q = /* @__PURE__ */ yA(new ms()), m = /* @__PURE__ */ yA({}),
|
|
34878
|
+
const a = s, l = i, C = /* @__PURE__ */ yA(512), d = /* @__PURE__ */ yA(384), B = /* @__PURE__ */ yA(512), f = /* @__PURE__ */ yA(384), y = /* @__PURE__ */ yA(new Ci()), Q = /* @__PURE__ */ yA(new ms()), m = /* @__PURE__ */ yA({}), v = /* @__PURE__ */ yA(1), S = /* @__PURE__ */ yA(), b = C.value / C.value, D = rt(() => {
|
|
34879
34879
|
const Ee = a.containerWidth / a.containerHeight;
|
|
34880
34880
|
let qe;
|
|
34881
34881
|
return Ee > b ? qe = a.containerHeight / d.value : qe = a.containerWidth / C.value, qe;
|
|
@@ -34897,7 +34897,7 @@ const jR = {
|
|
|
34897
34897
|
backgroundImage: `url(${a.backgroundImage})`,
|
|
34898
34898
|
backgroundSize: "contain"
|
|
34899
34899
|
})), H = rt(() => ({
|
|
34900
|
-
transform: `scale(${a.fit ? 1 :
|
|
34900
|
+
transform: `scale(${a.fit ? 1 : D.value * 0.75}) rotate(${a.transformAngle}deg)`
|
|
34901
34901
|
}));
|
|
34902
34902
|
es(() => {
|
|
34903
34903
|
Ce(), j(), ee();
|
|
@@ -34942,7 +34942,7 @@ const jR = {
|
|
|
34942
34942
|
if (!Ee)
|
|
34943
34943
|
return;
|
|
34944
34944
|
const qe = Ee.offsetHeight / 384 * 0.8, me = Ee.offsetWidth / 512 * 0.8;
|
|
34945
|
-
Ee.offsetHeight > Ee.offsetWidth ?
|
|
34945
|
+
Ee.offsetHeight > Ee.offsetWidth ? v.value = me * 0.5 : v.value = qe * 0.9;
|
|
34946
34946
|
}
|
|
34947
34947
|
function Fe(Ee) {
|
|
34948
34948
|
const me = Ee.currentTarget.getBoundingClientRect(), Qe = Ee.clientX - me.left, tA = Ee.clientY - me.top, se = document.querySelectorAll(".single-camera-marker");
|
|
@@ -35043,7 +35043,7 @@ const jR = {
|
|
|
35043
35043
|
},
|
|
35044
35044
|
emits: ["setBackgroundImage"],
|
|
35045
35045
|
setup(s, { emit: i }) {
|
|
35046
|
-
const a = s, l = i, C = /* @__PURE__ */ yA((/* @__PURE__ */ new Date()).getHours()), d = /* @__PURE__ */ yA(!0), B = /* @__PURE__ */ yA(!0), f = /* @__PURE__ */ yA(""), y = /* @__PURE__ */ yA(/* @__PURE__ */ new Map()), Q = rt(() => a.minimapJson.storeys[a.level]), m = rt(() => `${Math.floor(C.value).toString().padStart(2, "0")}:00`),
|
|
35046
|
+
const a = s, l = i, C = /* @__PURE__ */ yA((/* @__PURE__ */ new Date()).getHours()), d = /* @__PURE__ */ yA(!0), B = /* @__PURE__ */ yA(!0), f = /* @__PURE__ */ yA(""), y = /* @__PURE__ */ yA(/* @__PURE__ */ new Map()), Q = rt(() => a.minimapJson.storeys[a.level]), m = rt(() => `${Math.floor(C.value).toString().padStart(2, "0")}:00`), v = rt(() => {
|
|
35047
35047
|
if (Q.value.sunsimFilesTimeStamps[C.value]) {
|
|
35048
35048
|
const Y = Q.value.sunsimFilesTimeStamps[C.value].split(" ");
|
|
35049
35049
|
return `${Y[0]} ${Y[1]}`;
|
|
@@ -35051,7 +35051,7 @@ const jR = {
|
|
|
35051
35051
|
return "";
|
|
35052
35052
|
});
|
|
35053
35053
|
es(async () => {
|
|
35054
|
-
f.value = await
|
|
35054
|
+
f.value = await D(
|
|
35055
35055
|
Q.value.sunsimFiles[C.value]
|
|
35056
35056
|
), l("setBackgroundImage", f.value), B.value = !1;
|
|
35057
35057
|
const Y = await b(a.minimapJson.storeys);
|
|
@@ -35076,7 +35076,7 @@ const jR = {
|
|
|
35076
35076
|
for (let W = 0; W < G.length; W++) {
|
|
35077
35077
|
const H = G[W];
|
|
35078
35078
|
try {
|
|
35079
|
-
const z = H, j = H.split("."), X = await
|
|
35079
|
+
const z = H, j = H.split("."), X = await D(z);
|
|
35080
35080
|
P.set(j[0], X);
|
|
35081
35081
|
} catch {
|
|
35082
35082
|
continue;
|
|
@@ -35085,7 +35085,7 @@ const jR = {
|
|
|
35085
35085
|
}
|
|
35086
35086
|
return P;
|
|
35087
35087
|
}
|
|
35088
|
-
async function
|
|
35088
|
+
async function D(Y) {
|
|
35089
35089
|
const K = await (await fetch(
|
|
35090
35090
|
Kn(
|
|
35091
35091
|
a.cdnFileResolver,
|
|
@@ -35139,7 +35139,7 @@ const jR = {
|
|
|
35139
35139
|
])]),
|
|
35140
35140
|
_: 1
|
|
35141
35141
|
}),
|
|
35142
|
-
we("span", null, ft(
|
|
35142
|
+
we("span", null, ft(v.value), 1)
|
|
35143
35143
|
])
|
|
35144
35144
|
]),
|
|
35145
35145
|
"thumb-label": hA(() => [
|
|
@@ -35185,13 +35185,13 @@ const jR = {
|
|
|
35185
35185
|
function m(Y) {
|
|
35186
35186
|
d.value = Y;
|
|
35187
35187
|
}
|
|
35188
|
-
const
|
|
35188
|
+
const v = ["big", "bigger", "small"];
|
|
35189
35189
|
function S() {
|
|
35190
|
-
const P = (
|
|
35191
|
-
b.value =
|
|
35190
|
+
const P = (v.indexOf(b.value) + 1) % v.length;
|
|
35191
|
+
b.value = v[P];
|
|
35192
35192
|
}
|
|
35193
35193
|
const b = /* @__PURE__ */ yA("big");
|
|
35194
|
-
function
|
|
35194
|
+
function D() {
|
|
35195
35195
|
B.value = B.value + 90;
|
|
35196
35196
|
}
|
|
35197
35197
|
const x = () => {
|
|
@@ -35222,7 +35222,7 @@ const jR = {
|
|
|
35222
35222
|
class: "rotate-icon",
|
|
35223
35223
|
size: "x-small",
|
|
35224
35224
|
icon: "mdi mdi-rotate-right",
|
|
35225
|
-
onClick: xD(
|
|
35225
|
+
onClick: xD(D, ["stop"]),
|
|
35226
35226
|
title: "Rotate"
|
|
35227
35227
|
}),
|
|
35228
35228
|
aA(K, {
|
|
@@ -35297,7 +35297,7 @@ const jR = {
|
|
|
35297
35297
|
},
|
|
35298
35298
|
{ immediate: !0 }
|
|
35299
35299
|
), (y, Q) => {
|
|
35300
|
-
const m = VA("v-icon"),
|
|
35300
|
+
const m = VA("v-icon"), v = VA("v-slider"), S = VA("v-field"), b = VA("v-btn");
|
|
35301
35301
|
return nA(), jA("div", v_, [
|
|
35302
35302
|
we("div", D_, [
|
|
35303
35303
|
aA(S, {
|
|
@@ -35308,11 +35308,11 @@ const jR = {
|
|
|
35308
35308
|
flat: ""
|
|
35309
35309
|
}, {
|
|
35310
35310
|
default: hA(() => [
|
|
35311
|
-
rA(l).timeSamples.length > 1 ? (nA(), at(
|
|
35311
|
+
rA(l).timeSamples.length > 1 ? (nA(), at(v, {
|
|
35312
35312
|
key: 0,
|
|
35313
35313
|
class: "pa-2 pr-2",
|
|
35314
35314
|
modelValue: f.value,
|
|
35315
|
-
"onUpdate:modelValue": Q[0] || (Q[0] = (
|
|
35315
|
+
"onUpdate:modelValue": Q[0] || (Q[0] = (D) => f.value = D),
|
|
35316
35316
|
min: rA(l).startTime,
|
|
35317
35317
|
max: rA(l).endTime,
|
|
35318
35318
|
step: rA(l).interval,
|
|
@@ -35358,7 +35358,7 @@ const jR = {
|
|
|
35358
35358
|
size: "small",
|
|
35359
35359
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
35360
35360
|
icon: "mdi-close",
|
|
35361
|
-
onClick: Q[1] || (Q[1] = (
|
|
35361
|
+
onClick: Q[1] || (Q[1] = (D) => B("toggleSunStudy"))
|
|
35362
35362
|
})
|
|
35363
35363
|
])
|
|
35364
35364
|
]);
|
|
@@ -35461,7 +35461,7 @@ const jR = {
|
|
|
35461
35461
|
m(), l("goto", Q);
|
|
35462
35462
|
}
|
|
35463
35463
|
return (Q, m) => {
|
|
35464
|
-
const
|
|
35464
|
+
const v = VA("v-btn"), S = VA("v-img"), b = VA("v-icon"), D = VA("v-card"), x = VA("v-slide-group-item"), F = VA("v-slide-group");
|
|
35465
35465
|
return nA(), jA("div", {
|
|
35466
35466
|
class: fi(["d-flex align-center justify-center", {
|
|
35467
35467
|
mobileWaypointWrapper: B.value,
|
|
@@ -35481,7 +35481,7 @@ const jR = {
|
|
|
35481
35481
|
mandatory: ""
|
|
35482
35482
|
}, {
|
|
35483
35483
|
prev: hA(() => [
|
|
35484
|
-
B.value ? it("", !0) : (nA(), at(
|
|
35484
|
+
B.value ? it("", !0) : (nA(), at(v, {
|
|
35485
35485
|
key: 0,
|
|
35486
35486
|
class: fi(["carousel-button", { mobile: B.value }]),
|
|
35487
35487
|
icon: "mdi-chevron-left",
|
|
@@ -35491,7 +35491,7 @@ const jR = {
|
|
|
35491
35491
|
}, null, 8, ["class"]))
|
|
35492
35492
|
]),
|
|
35493
35493
|
next: hA(() => [
|
|
35494
|
-
B.value ? it("", !0) : (nA(), at(
|
|
35494
|
+
B.value ? it("", !0) : (nA(), at(v, {
|
|
35495
35495
|
key: 0,
|
|
35496
35496
|
class: fi(["carousel-button", { mobile: B.value }]),
|
|
35497
35497
|
icon: "mdi-chevron-right",
|
|
@@ -35505,7 +35505,7 @@ const jR = {
|
|
|
35505
35505
|
key: Y.id
|
|
35506
35506
|
}, {
|
|
35507
35507
|
default: hA(({ toggle: P, selectedClass: K }) => [
|
|
35508
|
-
aA(
|
|
35508
|
+
aA(D, {
|
|
35509
35509
|
class: fi(["position-relative", [
|
|
35510
35510
|
B.value ? "ma-0" : "ma-1",
|
|
35511
35511
|
K,
|
|
@@ -35573,9 +35573,9 @@ const jR = {
|
|
|
35573
35573
|
navigator.clipboard.writeText(location.href);
|
|
35574
35574
|
}
|
|
35575
35575
|
return (y, Q) => {
|
|
35576
|
-
const m = VA("v-btn"),
|
|
35576
|
+
const m = VA("v-btn"), v = VA("v-tooltip"), S = VA("v-toolbar-title"), b = VA("v-spacer"), D = VA("v-toolbar"), x = VA("v-card-text"), F = VA("v-card"), Y = VA("v-dialog");
|
|
35577
35577
|
return nA(), jA("div", null, [
|
|
35578
|
-
aA(
|
|
35578
|
+
aA(v, {
|
|
35579
35579
|
elevation: "2",
|
|
35580
35580
|
top: "",
|
|
35581
35581
|
attach: ""
|
|
@@ -35602,7 +35602,7 @@ const jR = {
|
|
|
35602
35602
|
default: hA(() => [
|
|
35603
35603
|
aA(F, null, {
|
|
35604
35604
|
default: hA(() => [
|
|
35605
|
-
aA(
|
|
35605
|
+
aA(D, { elevation: "0" }, {
|
|
35606
35606
|
default: hA(() => [
|
|
35607
35607
|
aA(m, {
|
|
35608
35608
|
size: "x-small",
|
|
@@ -35622,7 +35622,7 @@ const jR = {
|
|
|
35622
35622
|
aA(x, { class: "mt-5" }, {
|
|
35623
35623
|
default: hA(() => [
|
|
35624
35624
|
we("p", T_, [
|
|
35625
|
-
aA(
|
|
35625
|
+
aA(v, { location: "top" }, {
|
|
35626
35626
|
activator: hA(({ props: P }) => [
|
|
35627
35627
|
aA(m, ir({
|
|
35628
35628
|
depressed: "",
|
|
@@ -35636,7 +35636,7 @@ const jR = {
|
|
|
35636
35636
|
]),
|
|
35637
35637
|
_: 1
|
|
35638
35638
|
}),
|
|
35639
|
-
aA(
|
|
35639
|
+
aA(v, { location: "top" }, {
|
|
35640
35640
|
activator: hA(({ props: P }) => [
|
|
35641
35641
|
aA(m, ir({
|
|
35642
35642
|
depressed: "",
|
|
@@ -35650,7 +35650,7 @@ const jR = {
|
|
|
35650
35650
|
]),
|
|
35651
35651
|
_: 1
|
|
35652
35652
|
}),
|
|
35653
|
-
aA(
|
|
35653
|
+
aA(v, { location: "top" }, {
|
|
35654
35654
|
activator: hA(({ props: P }) => [
|
|
35655
35655
|
aA(m, ir({
|
|
35656
35656
|
depressed: "",
|
|
@@ -35664,7 +35664,7 @@ const jR = {
|
|
|
35664
35664
|
]),
|
|
35665
35665
|
_: 1
|
|
35666
35666
|
}),
|
|
35667
|
-
aA(
|
|
35667
|
+
aA(v, { location: "top" }, {
|
|
35668
35668
|
activator: hA(({ props: P }) => [
|
|
35669
35669
|
aA(m, ir({
|
|
35670
35670
|
depressed: "",
|
|
@@ -35680,7 +35680,7 @@ const jR = {
|
|
|
35680
35680
|
]),
|
|
35681
35681
|
_: 1
|
|
35682
35682
|
}),
|
|
35683
|
-
aA(
|
|
35683
|
+
aA(v, { location: "top" }, {
|
|
35684
35684
|
activator: hA(({ props: P }) => [
|
|
35685
35685
|
aA(m, ir({
|
|
35686
35686
|
depressed: "",
|
|
@@ -35875,10 +35875,10 @@ const j_ = {
|
|
|
35875
35875
|
// websiteUrl,
|
|
35876
35876
|
i18nConfig: Q,
|
|
35877
35877
|
showCarousel: m,
|
|
35878
|
-
showTimeOfDay:
|
|
35878
|
+
showTimeOfDay: v,
|
|
35879
35879
|
showCompass: S,
|
|
35880
35880
|
showFullScreen: b,
|
|
35881
|
-
showSnapshot:
|
|
35881
|
+
showSnapshot: D,
|
|
35882
35882
|
showShare: x,
|
|
35883
35883
|
showInteriorOptions: F,
|
|
35884
35884
|
showMiniMap: Y,
|
|
@@ -35964,7 +35964,7 @@ const j_ = {
|
|
|
35964
35964
|
if (se.value && se.value.storeys && eA.value in se.value.storeys)
|
|
35965
35965
|
return se.value.storeys[eA.value];
|
|
35966
35966
|
}), V = rt(() => Qe.value && Qe.value.timeInHours), q = rt(() => {
|
|
35967
|
-
if (Qe.value && Qe.value.timeInHours &&
|
|
35967
|
+
if (Qe.value && Qe.value.timeInHours && v.value)
|
|
35968
35968
|
return qn(Qe.value.timeInHours);
|
|
35969
35969
|
});
|
|
35970
35970
|
Ka(
|
|
@@ -36399,7 +36399,7 @@ const j_ = {
|
|
|
36399
36399
|
we("div", {
|
|
36400
36400
|
onClick: _A[4] || (_A[4] = (ii) => OA.value = !OA.value)
|
|
36401
36401
|
}, [
|
|
36402
|
-
de.value && Qe.value && V.value && rA(
|
|
36402
|
+
de.value && Qe.value && V.value && rA(v) ? (nA(), at(lb, {
|
|
36403
36403
|
key: 0,
|
|
36404
36404
|
hours: q.value.hours,
|
|
36405
36405
|
minutes: q.value.minutes,
|
|
@@ -36462,7 +36462,7 @@ const j_ = {
|
|
|
36462
36462
|
class: "btn-fullscreen",
|
|
36463
36463
|
onToggleFullscreen: Bg
|
|
36464
36464
|
}, null, 8, ["is-full-screen"])) : it("", !0),
|
|
36465
|
-
rA(
|
|
36465
|
+
rA(D) ? (nA(), jA("div", i1, [
|
|
36466
36466
|
aA(gt, {
|
|
36467
36467
|
density: "comfortable",
|
|
36468
36468
|
elevation: "3",
|