fui-material 1.18.3 → 1.18.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/f-ui-kit.es.js +605 -598
- package/package.json +1 -1
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -19,9 +19,9 @@ function _r() {
|
|
|
19
19
|
if (gn) return dt;
|
|
20
20
|
gn = 1;
|
|
21
21
|
var i = Nn, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, n = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
-
function a(o, l,
|
|
22
|
+
function a(o, l, f) {
|
|
23
23
|
var m, v = {}, b = null, d = null;
|
|
24
|
-
|
|
24
|
+
f !== void 0 && (b = "" + f), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (d = l.ref);
|
|
25
25
|
for (m in l) r.call(l, m) && !s.hasOwnProperty(m) && (v[m] = l[m]);
|
|
26
26
|
if (o && o.defaultProps) for (m in l = o.defaultProps, l) v[m] === void 0 && (v[m] = l[m]);
|
|
27
27
|
return { $$typeof: e, type: o, key: b, ref: d, props: v, _owner: n.current };
|
|
@@ -41,11 +41,11 @@ var ut = {};
|
|
|
41
41
|
var yn;
|
|
42
42
|
function Pr() {
|
|
43
43
|
return yn || (yn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var i = Nn, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"),
|
|
44
|
+
var i = Nn, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), p = Symbol.iterator, u = "@@iterator";
|
|
45
45
|
function h(C) {
|
|
46
46
|
if (C === null || typeof C != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var V = p && C[p] || C[
|
|
48
|
+
var V = p && C[p] || C[u];
|
|
49
49
|
return typeof V == "function" ? V : null;
|
|
50
50
|
}
|
|
51
51
|
var g = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -69,7 +69,7 @@ function Pr() {
|
|
|
69
69
|
var S = !1, R = !1, F = !1, _ = !1, G = !1, z;
|
|
70
70
|
z = Symbol.for("react.module.reference");
|
|
71
71
|
function W(C) {
|
|
72
|
-
return !!(typeof C == "string" || typeof C == "function" || C === r || C === s || G || C === n || C ===
|
|
72
|
+
return !!(typeof C == "string" || typeof C == "function" || C === r || C === s || G || C === n || C === f || C === m || _ || C === d || S || R || F || typeof C == "object" && C !== null && (C.$$typeof === b || C.$$typeof === v || C.$$typeof === a || C.$$typeof === o || C.$$typeof === l || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
@@ -101,7 +101,7 @@ function Pr() {
|
|
|
101
101
|
return "Profiler";
|
|
102
102
|
case n:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case f:
|
|
105
105
|
return "Suspense";
|
|
106
106
|
case m:
|
|
107
107
|
return "SuspenseList";
|
|
@@ -297,7 +297,7 @@ function Pr() {
|
|
|
297
297
|
if (typeof C == "string")
|
|
298
298
|
return le(C);
|
|
299
299
|
switch (C) {
|
|
300
|
-
case
|
|
300
|
+
case f:
|
|
301
301
|
return le("Suspense");
|
|
302
302
|
case m:
|
|
303
303
|
return le("SuspenseList");
|
|
@@ -670,7 +670,7 @@ const Un = ({
|
|
|
670
670
|
st: o,
|
|
671
671
|
id: l
|
|
672
672
|
}) => {
|
|
673
|
-
let
|
|
673
|
+
let f = {
|
|
674
674
|
gap: `${+s * 8}px`,
|
|
675
675
|
display: "flex",
|
|
676
676
|
flexDirection: r,
|
|
@@ -678,11 +678,11 @@ const Un = ({
|
|
|
678
678
|
alignItems: e,
|
|
679
679
|
flexWrap: n
|
|
680
680
|
};
|
|
681
|
-
return o !== void 0 && (
|
|
681
|
+
return o !== void 0 && (f = Object.assign(f, o)), /* @__PURE__ */ x.jsx(
|
|
682
682
|
"div",
|
|
683
683
|
{
|
|
684
684
|
className: a,
|
|
685
|
-
style:
|
|
685
|
+
style: f,
|
|
686
686
|
id: l,
|
|
687
687
|
children: i
|
|
688
688
|
}
|
|
@@ -697,14 +697,14 @@ const Un = ({
|
|
|
697
697
|
className: a,
|
|
698
698
|
fullWidth: o,
|
|
699
699
|
id: l,
|
|
700
|
-
onChange:
|
|
700
|
+
onChange: f,
|
|
701
701
|
multiple: m = !1,
|
|
702
702
|
accept: v,
|
|
703
703
|
spacing: b,
|
|
704
704
|
direction: d,
|
|
705
705
|
required: p
|
|
706
706
|
}) => {
|
|
707
|
-
const
|
|
707
|
+
const u = We(null), [h, g] = ze([]);
|
|
708
708
|
return o && (s === void 0 ? s = {
|
|
709
709
|
width: "100%"
|
|
710
710
|
} : s.width = "100%"), /* @__PURE__ */ x.jsxs(gt, { children: [
|
|
@@ -717,7 +717,7 @@ const Un = ({
|
|
|
717
717
|
id: l,
|
|
718
718
|
onClick: () => {
|
|
719
719
|
var y;
|
|
720
|
-
return (y =
|
|
720
|
+
return (y = u.current) == null ? void 0 : y.click();
|
|
721
721
|
},
|
|
722
722
|
children: i
|
|
723
723
|
}
|
|
@@ -727,12 +727,12 @@ const Un = ({
|
|
|
727
727
|
{
|
|
728
728
|
required: p,
|
|
729
729
|
style: { display: "none" },
|
|
730
|
-
ref:
|
|
730
|
+
ref: u,
|
|
731
731
|
onChange: (y) => {
|
|
732
732
|
const A = [...h];
|
|
733
733
|
y.target.files && Array.from(y.target.files).forEach((S) => {
|
|
734
734
|
A.push(S);
|
|
735
|
-
}), g(A),
|
|
735
|
+
}), g(A), f(A.length > 0 ? A : null);
|
|
736
736
|
},
|
|
737
737
|
multiple: m,
|
|
738
738
|
type: "file",
|
|
@@ -768,7 +768,7 @@ const Un = ({
|
|
|
768
768
|
},
|
|
769
769
|
onClick: () => {
|
|
770
770
|
const S = [...h];
|
|
771
|
-
S.splice(A, 1), g(S), S.length === 0 ? (
|
|
771
|
+
S.splice(A, 1), g(S), S.length === 0 ? (u.current && (u.current.value = ""), f(null)) : f(S);
|
|
772
772
|
},
|
|
773
773
|
children: [
|
|
774
774
|
/* @__PURE__ */ x.jsx("span", { className: "top" }),
|
|
@@ -831,7 +831,7 @@ const Un = ({
|
|
|
831
831
|
st: a,
|
|
832
832
|
id: o,
|
|
833
833
|
className: l,
|
|
834
|
-
load:
|
|
834
|
+
load: f = !1,
|
|
835
835
|
height: m = "auto",
|
|
836
836
|
width: v,
|
|
837
837
|
...b
|
|
@@ -859,7 +859,7 @@ const Un = ({
|
|
|
859
859
|
overflow: "hidden",
|
|
860
860
|
textOverflow: "ellipsis"
|
|
861
861
|
}, children: i }),
|
|
862
|
-
/* @__PURE__ */ x.jsxs("div", { className: `${
|
|
862
|
+
/* @__PURE__ */ x.jsxs("div", { className: `${f ? "ui left icon input loading" : ""}`, children: [
|
|
863
863
|
/* @__PURE__ */ x.jsx(
|
|
864
864
|
"input",
|
|
865
865
|
{
|
|
@@ -869,7 +869,7 @@ const Un = ({
|
|
|
869
869
|
borderColor: n !== void 0 && n.length > 0 ? "red" : "#C4C4C4",
|
|
870
870
|
height: m
|
|
871
871
|
},
|
|
872
|
-
readOnly: r ||
|
|
872
|
+
readOnly: r || f,
|
|
873
873
|
type: e,
|
|
874
874
|
className: "form-control",
|
|
875
875
|
...b
|
|
@@ -886,18 +886,18 @@ const Un = ({
|
|
|
886
886
|
children: s
|
|
887
887
|
}
|
|
888
888
|
),
|
|
889
|
-
n !== void 0 && n.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: n == null ? void 0 : n.map((
|
|
889
|
+
n !== void 0 && n.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: n == null ? void 0 : n.map((u, h) => /* @__PURE__ */ x.jsx(
|
|
890
890
|
"span",
|
|
891
891
|
{
|
|
892
892
|
style: {
|
|
893
893
|
whiteSpace: "initial",
|
|
894
894
|
color: "red"
|
|
895
895
|
},
|
|
896
|
-
children:
|
|
896
|
+
children: u
|
|
897
897
|
},
|
|
898
898
|
h
|
|
899
899
|
)) }),
|
|
900
|
-
|
|
900
|
+
f && /* @__PURE__ */ x.jsx("div", { className: "input-load", children: /* @__PURE__ */ x.jsx(st, { size: 10 }) })
|
|
901
901
|
] })
|
|
902
902
|
]
|
|
903
903
|
}
|
|
@@ -912,7 +912,7 @@ const Un = ({
|
|
|
912
912
|
sm: a,
|
|
913
913
|
md: o,
|
|
914
914
|
lg: l,
|
|
915
|
-
xl:
|
|
915
|
+
xl: f,
|
|
916
916
|
xxl: m,
|
|
917
917
|
colAuto: v
|
|
918
918
|
}) => {
|
|
@@ -938,7 +938,7 @@ const Un = ({
|
|
|
938
938
|
n === "item" && /* @__PURE__ */ x.jsx(
|
|
939
939
|
"div",
|
|
940
940
|
{
|
|
941
|
-
className: `${e !== void 0 ? e : ""} ${s !== void 0 ? `col-${s}` : ""} ${a !== void 0 ? `col-sm-${a}` : ""} ${o !== void 0 ? `col-md-${o}` : ""} ${l !== void 0 ? `col-lg-${l}` : ""} ${
|
|
941
|
+
className: `${e !== void 0 ? e : ""} ${s !== void 0 ? `col-${s}` : ""} ${a !== void 0 ? `col-sm-${a}` : ""} ${o !== void 0 ? `col-md-${o}` : ""} ${l !== void 0 ? `col-lg-${l}` : ""} ${f !== void 0 ? `col-lg-${l}` : ""} ${m !== void 0 ? `col-xxl-${m}` : ""} ${v !== void 0 ? v : ""}`,
|
|
942
942
|
style: b,
|
|
943
943
|
id: r,
|
|
944
944
|
children: i
|
|
@@ -972,8 +972,8 @@ const Un = ({
|
|
|
972
972
|
animated: l
|
|
973
973
|
}) => (Me(() => {
|
|
974
974
|
if (l !== void 0) {
|
|
975
|
-
const
|
|
976
|
-
|
|
975
|
+
const f = document.getElementsByClassName(`animated-${l.name}`)[0];
|
|
976
|
+
f == null || f.setAttribute(l.name, l.value);
|
|
977
977
|
}
|
|
978
978
|
}, [l]), /* @__PURE__ */ x.jsxs(
|
|
979
979
|
"div",
|
|
@@ -1004,7 +1004,7 @@ const Un = ({
|
|
|
1004
1004
|
}) => /* @__PURE__ */ x.jsx(Re, { direction: "row", spacing: 2, st: { overflowX: s }, children: /* @__PURE__ */ x.jsx(
|
|
1005
1005
|
"table",
|
|
1006
1006
|
{
|
|
1007
|
-
className: `table table-bordered table-bordered-half ${r}`,
|
|
1007
|
+
className: `table table-bordered table-bordered-half ${r !== void 0 ? r : ""}`,
|
|
1008
1008
|
style: i,
|
|
1009
1009
|
id: t,
|
|
1010
1010
|
onClick: n,
|
|
@@ -1047,11 +1047,11 @@ const Un = ({
|
|
|
1047
1047
|
textAlignment: o,
|
|
1048
1048
|
width: l = "auto"
|
|
1049
1049
|
}) => {
|
|
1050
|
-
const
|
|
1050
|
+
const f = Object.assign({}, { textAlign: o, width: l }, i);
|
|
1051
1051
|
return /* @__PURE__ */ x.jsx(
|
|
1052
1052
|
"th",
|
|
1053
1053
|
{
|
|
1054
|
-
style:
|
|
1054
|
+
style: f,
|
|
1055
1055
|
rowSpan: e,
|
|
1056
1056
|
colSpan: t,
|
|
1057
1057
|
onClick: n,
|
|
@@ -1070,10 +1070,10 @@ const Un = ({
|
|
|
1070
1070
|
onBlur: a,
|
|
1071
1071
|
onFocus: o,
|
|
1072
1072
|
className: l,
|
|
1073
|
-
textAlignment:
|
|
1073
|
+
textAlignment: f,
|
|
1074
1074
|
height: m = "auto"
|
|
1075
1075
|
}) => {
|
|
1076
|
-
const v = Object.assign({}, { textAlign:
|
|
1076
|
+
const v = Object.assign({}, { textAlign: f, height: m }, i);
|
|
1077
1077
|
return /* @__PURE__ */ x.jsx(
|
|
1078
1078
|
"td",
|
|
1079
1079
|
{
|
|
@@ -1225,19 +1225,19 @@ const Un = ({
|
|
|
1225
1225
|
const o = Math.max(r - t, 1), l = Math.min(
|
|
1226
1226
|
r + t,
|
|
1227
1227
|
s
|
|
1228
|
-
),
|
|
1229
|
-
if (!
|
|
1228
|
+
), f = o > 2, m = l < s - 2, v = 1, b = s;
|
|
1229
|
+
if (!f && m) {
|
|
1230
1230
|
const d = 3 + 2 * t;
|
|
1231
1231
|
return [...At(1, d), ht, s];
|
|
1232
1232
|
}
|
|
1233
|
-
if (
|
|
1233
|
+
if (f && !m) {
|
|
1234
1234
|
const d = 3 + 2 * t, p = At(
|
|
1235
1235
|
s - d + 1,
|
|
1236
1236
|
s
|
|
1237
1237
|
);
|
|
1238
1238
|
return [v, ht, ...p];
|
|
1239
1239
|
}
|
|
1240
|
-
if (
|
|
1240
|
+
if (f && m) {
|
|
1241
1241
|
const d = At(o, l);
|
|
1242
1242
|
return [v, ht, ...d, ht, b];
|
|
1243
1243
|
}
|
|
@@ -1259,7 +1259,7 @@ const Un = ({
|
|
|
1259
1259
|
});
|
|
1260
1260
|
if (i === 0 || l == null || l.length < 2)
|
|
1261
1261
|
return null;
|
|
1262
|
-
const
|
|
1262
|
+
const f = () => {
|
|
1263
1263
|
r(i + 1);
|
|
1264
1264
|
}, m = () => {
|
|
1265
1265
|
r(i - 1);
|
|
@@ -1292,7 +1292,7 @@ const Un = ({
|
|
|
1292
1292
|
"li",
|
|
1293
1293
|
{
|
|
1294
1294
|
className: `pagination-item ${i === v ? "disabled" : ""}`,
|
|
1295
|
-
onClick:
|
|
1295
|
+
onClick: f,
|
|
1296
1296
|
children: /* @__PURE__ */ x.jsx("div", { className: "arrow right" })
|
|
1297
1297
|
}
|
|
1298
1298
|
)
|
|
@@ -1437,10 +1437,10 @@ const Un = ({
|
|
|
1437
1437
|
open: o,
|
|
1438
1438
|
defaultOpen: l
|
|
1439
1439
|
}) => {
|
|
1440
|
-
const [
|
|
1440
|
+
const [f, m] = ze(l);
|
|
1441
1441
|
return Me(() => {
|
|
1442
1442
|
o !== void 0 && m(o);
|
|
1443
|
-
}, [o]), /* @__PURE__ */ x.jsx("div", { onClick: a, className: `card ${n || ""}`, id: r, children: /* @__PURE__ */ x.jsxs("details", { className: `${i}`, open:
|
|
1443
|
+
}, [o]), /* @__PURE__ */ x.jsx("div", { onClick: a, className: `card ${n || ""}`, id: r, children: /* @__PURE__ */ x.jsxs("details", { className: `${i}`, open: f, style: s, children: [
|
|
1444
1444
|
/* @__PURE__ */ x.jsx("summary", { className: "fv-accord-title", children: e }),
|
|
1445
1445
|
t
|
|
1446
1446
|
] }) });
|
|
@@ -1454,7 +1454,7 @@ const Un = ({
|
|
|
1454
1454
|
multiple: a = !1,
|
|
1455
1455
|
onChange: o,
|
|
1456
1456
|
disabled: l = !1,
|
|
1457
|
-
deleteFile:
|
|
1457
|
+
deleteFile: f,
|
|
1458
1458
|
title: m,
|
|
1459
1459
|
required: v
|
|
1460
1460
|
}) => {
|
|
@@ -1482,8 +1482,8 @@ const Un = ({
|
|
|
1482
1482
|
});
|
|
1483
1483
|
const d = We(null);
|
|
1484
1484
|
return Me(() => {
|
|
1485
|
-
|
|
1486
|
-
}, [
|
|
1485
|
+
f && d.current && (d.current.value = "");
|
|
1486
|
+
}, [f]), /* @__PURE__ */ x.jsxs(
|
|
1487
1487
|
"div",
|
|
1488
1488
|
{
|
|
1489
1489
|
className: "custom-file custom-file-dropzone",
|
|
@@ -1503,11 +1503,11 @@ const Un = ({
|
|
|
1503
1503
|
multiple: a,
|
|
1504
1504
|
onChange: (p) => {
|
|
1505
1505
|
if (p.target.files && p.target.files[0]) {
|
|
1506
|
-
let
|
|
1507
|
-
if ((r == null ? void 0 : r.dimension) === "МБ" ?
|
|
1506
|
+
let u;
|
|
1507
|
+
if ((r == null ? void 0 : r.dimension) === "МБ" ? u = r.size * 1024 * 1024 : (r == null ? void 0 : r.dimension) === "КБ" && (u = r.size * 1024), u !== void 0) {
|
|
1508
1508
|
const h = new DataTransfer();
|
|
1509
1509
|
Object.values(p.target.files).forEach((g) => {
|
|
1510
|
-
g.size <=
|
|
1510
|
+
g.size <= u && h.items.add(g);
|
|
1511
1511
|
}), o(h.files);
|
|
1512
1512
|
} else
|
|
1513
1513
|
o(p.target.files);
|
|
@@ -1607,7 +1607,7 @@ const Un = ({
|
|
|
1607
1607
|
id: a,
|
|
1608
1608
|
className: o,
|
|
1609
1609
|
load: l = !1,
|
|
1610
|
-
errText:
|
|
1610
|
+
errText: f,
|
|
1611
1611
|
helpText: m,
|
|
1612
1612
|
height: v = "auto",
|
|
1613
1613
|
width: b = "fit-content",
|
|
@@ -1644,7 +1644,7 @@ const Un = ({
|
|
|
1644
1644
|
ref: p,
|
|
1645
1645
|
disabled: s || l,
|
|
1646
1646
|
style: Object.assign({}, e, {
|
|
1647
|
-
borderColor:
|
|
1647
|
+
borderColor: f !== void 0 && f.length > 0 ? "red" : "#C4C4C4",
|
|
1648
1648
|
height: v
|
|
1649
1649
|
}),
|
|
1650
1650
|
className: "form-control",
|
|
@@ -1664,14 +1664,14 @@ const Un = ({
|
|
|
1664
1664
|
children: m
|
|
1665
1665
|
}
|
|
1666
1666
|
),
|
|
1667
|
-
|
|
1667
|
+
f !== void 0 && f.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: f == null ? void 0 : f.map((u, h) => /* @__PURE__ */ x.jsx(
|
|
1668
1668
|
"span",
|
|
1669
1669
|
{
|
|
1670
1670
|
style: {
|
|
1671
1671
|
whiteSpace: "initial",
|
|
1672
1672
|
color: "red"
|
|
1673
1673
|
},
|
|
1674
|
-
children:
|
|
1674
|
+
children: u
|
|
1675
1675
|
},
|
|
1676
1676
|
h
|
|
1677
1677
|
)) }),
|
|
@@ -1710,7 +1710,7 @@ const Un = ({
|
|
|
1710
1710
|
errText: a,
|
|
1711
1711
|
helpText: o,
|
|
1712
1712
|
height: l = "auto",
|
|
1713
|
-
width:
|
|
1713
|
+
width: f,
|
|
1714
1714
|
...m
|
|
1715
1715
|
}, v) => {
|
|
1716
1716
|
const b = {
|
|
@@ -1720,7 +1720,7 @@ const Un = ({
|
|
|
1720
1720
|
width: r ? "100%" : "fit-content",
|
|
1721
1721
|
height: "auto"
|
|
1722
1722
|
};
|
|
1723
|
-
return
|
|
1723
|
+
return f !== void 0 && (b.width = f), l !== void 0 && (b.height = l), e = Object.assign({}, e, b), /* @__PURE__ */ x.jsxs("div", { className: `form - group ${s ? "ui left icon input loading" : ""}`, style: e, children: [
|
|
1724
1724
|
i && /* @__PURE__ */ x.jsx(
|
|
1725
1725
|
"label",
|
|
1726
1726
|
{
|
|
@@ -1781,13 +1781,13 @@ const Un = ({
|
|
|
1781
1781
|
disabled: a,
|
|
1782
1782
|
readOnly: o,
|
|
1783
1783
|
fullWidth: l,
|
|
1784
|
-
label:
|
|
1784
|
+
label: f,
|
|
1785
1785
|
onBlur: m,
|
|
1786
1786
|
onFocus: v,
|
|
1787
1787
|
errText: b,
|
|
1788
1788
|
helpText: d,
|
|
1789
1789
|
minLengthText: p,
|
|
1790
|
-
required:
|
|
1790
|
+
required: u,
|
|
1791
1791
|
defaultValue: h
|
|
1792
1792
|
}) => {
|
|
1793
1793
|
const [g, y] = ze(""), [A, S] = ze([]), R = We(), [F, _] = ze(!1);
|
|
@@ -1827,7 +1827,7 @@ const Un = ({
|
|
|
1827
1827
|
style: r,
|
|
1828
1828
|
id: n,
|
|
1829
1829
|
children: [
|
|
1830
|
-
|
|
1830
|
+
f && /* @__PURE__ */ x.jsx(
|
|
1831
1831
|
"label",
|
|
1832
1832
|
{
|
|
1833
1833
|
className: "control-label with-offset",
|
|
@@ -1835,7 +1835,7 @@ const Un = ({
|
|
|
1835
1835
|
whiteSpace: "nowrap",
|
|
1836
1836
|
textOverflow: "ellipsis"
|
|
1837
1837
|
},
|
|
1838
|
-
children:
|
|
1838
|
+
children: f
|
|
1839
1839
|
}
|
|
1840
1840
|
),
|
|
1841
1841
|
/* @__PURE__ */ x.jsxs("div", { className: "select-search-db-input-block", children: [
|
|
@@ -1844,7 +1844,7 @@ const Un = ({
|
|
|
1844
1844
|
{
|
|
1845
1845
|
readOnly: o,
|
|
1846
1846
|
disabled: a || F,
|
|
1847
|
-
required:
|
|
1847
|
+
required: u,
|
|
1848
1848
|
style: {
|
|
1849
1849
|
borderColor: b !== void 0 && b.length > 0 ? "red" : "#C4C4C4"
|
|
1850
1850
|
},
|
|
@@ -1905,7 +1905,7 @@ const Un = ({
|
|
|
1905
1905
|
fullWidth: a,
|
|
1906
1906
|
errText: o,
|
|
1907
1907
|
helpText: l,
|
|
1908
|
-
load:
|
|
1908
|
+
load: f,
|
|
1909
1909
|
width: m = "fit-content",
|
|
1910
1910
|
height: v = "auto",
|
|
1911
1911
|
...b
|
|
@@ -1918,7 +1918,7 @@ const Un = ({
|
|
|
1918
1918
|
},
|
|
1919
1919
|
className: `control-group ${n !== void 0 ? n : ""}`,
|
|
1920
1920
|
id: s,
|
|
1921
|
-
children: /* @__PURE__ */ x.jsxs("div", { className: `${
|
|
1921
|
+
children: /* @__PURE__ */ x.jsxs("div", { className: `${f ? "ui left icon input loading" : ""} form-group`, style: e, children: [
|
|
1922
1922
|
i && /* @__PURE__ */ x.jsx("label", { className: "control-label with-offset required", children: i }),
|
|
1923
1923
|
/* @__PURE__ */ x.jsx(
|
|
1924
1924
|
"textarea",
|
|
@@ -1928,8 +1928,8 @@ const Un = ({
|
|
|
1928
1928
|
borderColor: o !== void 0 && o.length > 0 ? "red" : "#C4C4C4",
|
|
1929
1929
|
height: v
|
|
1930
1930
|
},
|
|
1931
|
-
disabled: r ||
|
|
1932
|
-
value:
|
|
1931
|
+
disabled: r || f,
|
|
1932
|
+
value: f ? void 0 : t,
|
|
1933
1933
|
className: "form-control",
|
|
1934
1934
|
...b
|
|
1935
1935
|
}
|
|
@@ -1945,7 +1945,7 @@ const Un = ({
|
|
|
1945
1945
|
children: l
|
|
1946
1946
|
}
|
|
1947
1947
|
),
|
|
1948
|
-
o !== void 0 && o.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: o == null ? void 0 : o.map((p,
|
|
1948
|
+
o !== void 0 && o.length > 0 && /* @__PURE__ */ x.jsx(Re, { direction: "column", st: { paddingLeft: "11px" }, children: o == null ? void 0 : o.map((p, u) => /* @__PURE__ */ x.jsx(
|
|
1949
1949
|
"span",
|
|
1950
1950
|
{
|
|
1951
1951
|
style: {
|
|
@@ -1954,9 +1954,9 @@ const Un = ({
|
|
|
1954
1954
|
},
|
|
1955
1955
|
children: p
|
|
1956
1956
|
},
|
|
1957
|
-
|
|
1957
|
+
u
|
|
1958
1958
|
)) }),
|
|
1959
|
-
|
|
1959
|
+
f && /* @__PURE__ */ x.jsx("div", { className: "input-load", children: /* @__PURE__ */ x.jsx(st, { size: 10 }) })
|
|
1960
1960
|
] })
|
|
1961
1961
|
}
|
|
1962
1962
|
));
|
|
@@ -1974,7 +1974,7 @@ const ma = ({
|
|
|
1974
1974
|
vertical: a = "center",
|
|
1975
1975
|
horizontal: o = "center",
|
|
1976
1976
|
buttonClose: l = !1,
|
|
1977
|
-
size:
|
|
1977
|
+
size: f
|
|
1978
1978
|
}) => {
|
|
1979
1979
|
const m = We(), v = We(), b = We(), [d] = ze(rn());
|
|
1980
1980
|
let p = r;
|
|
@@ -2002,7 +2002,7 @@ const ma = ({
|
|
|
2002
2002
|
}
|
|
2003
2003
|
});
|
|
2004
2004
|
}, [n]);
|
|
2005
|
-
const
|
|
2005
|
+
const u = () => {
|
|
2006
2006
|
let g = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
2007
2007
|
/* @__PURE__ */ x.jsx(
|
|
2008
2008
|
"path",
|
|
@@ -2111,12 +2111,12 @@ const ma = ({
|
|
|
2111
2111
|
return Object.assign({}, y, g);
|
|
2112
2112
|
};
|
|
2113
2113
|
return /* @__PURE__ */ x.jsx(gt, { children: n && /* @__PURE__ */ x.jsx("div", { className: "f-block-alert", id: `f-block-alert-${d}`, children: /* @__PURE__ */ x.jsx("div", { className: "f-alert-component", style: h(), children: /* @__PURE__ */ x.jsxs("div", { className: "f-alert", children: [
|
|
2114
|
-
/* @__PURE__ */ x.jsx("div", { className: `f-alert-ico ${t}`, children: /* @__PURE__ */ x.jsx("svg", { width: "28", height: "28", viewBox: "0 0 16 16", children:
|
|
2114
|
+
/* @__PURE__ */ x.jsx("div", { className: `f-alert-ico ${t}`, children: /* @__PURE__ */ x.jsx("svg", { width: "28", height: "28", viewBox: "0 0 16 16", children: u() }) }),
|
|
2115
2115
|
/* @__PURE__ */ x.jsxs(
|
|
2116
2116
|
"div",
|
|
2117
2117
|
{
|
|
2118
2118
|
className: "f-alert-inside",
|
|
2119
|
-
style: { width:
|
|
2119
|
+
style: { width: f !== void 0 ? `${f}` : "fit-content" },
|
|
2120
2120
|
children: [
|
|
2121
2121
|
/* @__PURE__ */ x.jsxs("div", { className: "f-alert-header", children: [
|
|
2122
2122
|
/* @__PURE__ */ x.jsx("h4", { children: i !== void 0 ? i : "" }),
|
|
@@ -2157,18 +2157,18 @@ const ma = ({
|
|
|
2157
2157
|
singleChoice: a,
|
|
2158
2158
|
multipleChoice: o,
|
|
2159
2159
|
disabled: l,
|
|
2160
|
-
size:
|
|
2160
|
+
size: f = 4,
|
|
2161
2161
|
overflowX: m,
|
|
2162
2162
|
width: v = "-webkit-fill-available",
|
|
2163
2163
|
fullWidth: b
|
|
2164
2164
|
}) => {
|
|
2165
|
-
const d = (
|
|
2165
|
+
const d = (u) => {
|
|
2166
2166
|
if (a) {
|
|
2167
2167
|
const h = [];
|
|
2168
|
-
h.push(
|
|
2168
|
+
h.push(u.target.value), a(h);
|
|
2169
2169
|
}
|
|
2170
|
-
}, p = (
|
|
2171
|
-
const { options: h } =
|
|
2170
|
+
}, p = (u) => {
|
|
2171
|
+
const { options: h } = u.target, g = [];
|
|
2172
2172
|
for (let y = 0, A = h.length; y < A; y += 1)
|
|
2173
2173
|
h[y].selected && g.push(h[y].value);
|
|
2174
2174
|
o && o(g);
|
|
@@ -2184,13 +2184,13 @@ const ma = ({
|
|
|
2184
2184
|
overflowX: m ? "auto" : "hidden",
|
|
2185
2185
|
width: v
|
|
2186
2186
|
},
|
|
2187
|
-
size:
|
|
2187
|
+
size: f,
|
|
2188
2188
|
disabled: l,
|
|
2189
2189
|
value: s,
|
|
2190
2190
|
multiple: !0,
|
|
2191
2191
|
className: "f-native",
|
|
2192
|
-
onChange: (
|
|
2193
|
-
a ? d(
|
|
2192
|
+
onChange: (u) => {
|
|
2193
|
+
a ? d(u) : o && p(u);
|
|
2194
2194
|
},
|
|
2195
2195
|
children: n
|
|
2196
2196
|
}
|
|
@@ -2278,7 +2278,7 @@ const ma = ({
|
|
|
2278
2278
|
st: a,
|
|
2279
2279
|
className: o,
|
|
2280
2280
|
load: l = !1,
|
|
2281
|
-
children:
|
|
2281
|
+
children: f,
|
|
2282
2282
|
onClickButton: m,
|
|
2283
2283
|
color: v,
|
|
2284
2284
|
variant: b,
|
|
@@ -2358,7 +2358,7 @@ const ma = ({
|
|
|
2358
2358
|
onClick: m,
|
|
2359
2359
|
color: v,
|
|
2360
2360
|
variant: b,
|
|
2361
|
-
children:
|
|
2361
|
+
children: f
|
|
2362
2362
|
}
|
|
2363
2363
|
)
|
|
2364
2364
|
] })
|
|
@@ -2374,7 +2374,7 @@ const ma = ({
|
|
|
2374
2374
|
children: a,
|
|
2375
2375
|
visibleElAmount: o = 3
|
|
2376
2376
|
}) => {
|
|
2377
|
-
const [l,
|
|
2377
|
+
const [l, f] = ze(1), [m, v] = ze(null), b = `xc${rn()}`;
|
|
2378
2378
|
Me(() => {
|
|
2379
2379
|
const h = document.querySelector("." + b);
|
|
2380
2380
|
h && v(h.querySelectorAll("figure"));
|
|
@@ -2387,9 +2387,9 @@ const ma = ({
|
|
|
2387
2387
|
});
|
|
2388
2388
|
}
|
|
2389
2389
|
const p = () => {
|
|
2390
|
-
l > 1 && (d(l - 1),
|
|
2391
|
-
},
|
|
2392
|
-
m !== null && l < m.length - o - 1 && (d(l + 1),
|
|
2390
|
+
l > 1 && (d(l - 1), f((h) => h - 1));
|
|
2391
|
+
}, u = () => {
|
|
2392
|
+
m !== null && l < m.length - o - 1 && (d(l + 1), f((h) => h + 1));
|
|
2393
2393
|
};
|
|
2394
2394
|
return Me(() => {
|
|
2395
2395
|
if (i != null && i.flag) {
|
|
@@ -2423,7 +2423,7 @@ const ma = ({
|
|
|
2423
2423
|
}
|
|
2424
2424
|
) }),
|
|
2425
2425
|
/* @__PURE__ */ x.jsx("ul", { className: "f-horizontal-scroll-bar", style: { width: n, height: s }, children: a }),
|
|
2426
|
-
m !== null && l < m.length - o - 1 && !(i != null && i.flag) && /* @__PURE__ */ x.jsx("button", { className: "f-carousel-button next", onClick:
|
|
2426
|
+
m !== null && l < m.length - o - 1 && !(i != null && i.flag) && /* @__PURE__ */ x.jsx("button", { className: "f-carousel-button next", onClick: u, children: /* @__PURE__ */ x.jsx(
|
|
2427
2427
|
"img",
|
|
2428
2428
|
{
|
|
2429
2429
|
src: Hr,
|
|
@@ -2464,10 +2464,10 @@ const ma = ({
|
|
|
2464
2464
|
const n = We(null), s = We([]);
|
|
2465
2465
|
return Me(() => {
|
|
2466
2466
|
n.current && n.current.children.length > 0 && (e ? Array.from(n.current.children).forEach((o, l) => {
|
|
2467
|
-
const
|
|
2468
|
-
|
|
2467
|
+
const f = document.createElement("div");
|
|
2468
|
+
f.className = "skeleton";
|
|
2469
2469
|
const m = window.getComputedStyle(o);
|
|
2470
|
-
|
|
2470
|
+
f.style.width = t === void 0 ? m.width : t, f.style.height = r === void 0 ? m.height : r, f.style.borderRadius = m.borderRadius === "0px" ? "10px" : m.borderRadius, f.style.marginLeft = m.marginLeft, f.style.marginRight = m.marginRight, f.style.marginTop = m.marginTop, f.style.marginBottom = m.marginBottom, s.current[l] = o, o.parentNode && o.parentNode.replaceChild(f, o);
|
|
2471
2471
|
}) : s.current.forEach((a, o) => {
|
|
2472
2472
|
if (n.current) {
|
|
2473
2473
|
const l = n.current.children[o];
|
|
@@ -2979,11 +2979,11 @@ class Ce {
|
|
|
2979
2979
|
prepareLocalHeaderData(e, t, r) {
|
|
2980
2980
|
let n = t !== e.name, s = e.asBinary(), a = e.options, o, l;
|
|
2981
2981
|
o = a.date.getHours(), o = o << 6, o = o | a.date.getMinutes(), o = o << 5, o = o | a.date.getSeconds() / 2, l = a.date.getFullYear() - 1980, l = l << 4, l = l | a.date.getMonth() + 1, l = l << 5, l = l | a.date.getDate();
|
|
2982
|
-
let
|
|
2982
|
+
let f = this.compressions.compress(s), m = "";
|
|
2983
2983
|
return m += `
|
|
2984
|
-
\0`, m += n ? "\0\b" : "\0\0", m += this.compressions.magic, m += Ce.decToHex(o, 2), m += Ce.decToHex(l, 2), m += Ce.decToHex(Ce.crc32(s), 4), m += Ce.decToHex(
|
|
2984
|
+
\0`, m += n ? "\0\b" : "\0\0", m += this.compressions.magic, m += Ce.decToHex(o, 2), m += Ce.decToHex(l, 2), m += Ce.decToHex(Ce.crc32(s), 4), m += Ce.decToHex(f.length, 4), m += Ce.decToHex(s.length, 4), m += Ce.decToHex(t.length, 2), m += "\0\0", {
|
|
2985
2985
|
header: m,
|
|
2986
|
-
compressedData:
|
|
2986
|
+
compressedData: f
|
|
2987
2987
|
};
|
|
2988
2988
|
}
|
|
2989
2989
|
load(e, t) {
|
|
@@ -3049,10 +3049,10 @@ class Ce {
|
|
|
3049
3049
|
for (let m in this.files) {
|
|
3050
3050
|
if (!this.files.hasOwnProperty(m))
|
|
3051
3051
|
continue;
|
|
3052
|
-
let v = this.files[m], b = Ce.utf8encode(v.name), d = "", p = "",
|
|
3053
|
-
d = this.signature.LOCAL_FILE_HEADER +
|
|
3052
|
+
let v = this.files[m], b = Ce.utf8encode(v.name), d = "", p = "", u = this.prepareLocalHeaderData(v, b, t);
|
|
3053
|
+
d = this.signature.LOCAL_FILE_HEADER + u.header + b + u.compressedData, p = this.signature.CENTRAL_FILE_HEADER + // version made by (00: DOS)
|
|
3054
3054
|
"\0" + // file header (common to file and central directory)
|
|
3055
|
-
|
|
3055
|
+
u.header + // file comment length
|
|
3056
3056
|
"\0\0\0\0\0\0" + // external file attributes
|
|
3057
3057
|
(v.options.dir === !0 ? "\0\0\0" : "\0\0\0\0") + // relative offset of local header
|
|
3058
3058
|
Ce.decToHex(s, 4) + // file name
|
|
@@ -3066,18 +3066,18 @@ class Ce {
|
|
|
3066
3066
|
Ce.decToHex(o.length, 4) + // offset of start of central directory with respect to the starting disk number
|
|
3067
3067
|
Ce.decToHex(a.length, 4) + // .ZIP file comment length
|
|
3068
3068
|
"\0\0";
|
|
3069
|
-
let
|
|
3069
|
+
let f = a + o + l;
|
|
3070
3070
|
switch (e.type.toLowerCase()) {
|
|
3071
3071
|
case "uint8array":
|
|
3072
|
-
return Je.string2Uint8Array(
|
|
3072
|
+
return Je.string2Uint8Array(f);
|
|
3073
3073
|
case "arraybuffer":
|
|
3074
|
-
return Je.getArrayBuffer(
|
|
3074
|
+
return Je.getArrayBuffer(f);
|
|
3075
3075
|
case "blob":
|
|
3076
|
-
return Je.string2Blob(
|
|
3076
|
+
return Je.string2Blob(f);
|
|
3077
3077
|
case "base64":
|
|
3078
|
-
return e.base64 ? pt.encode(
|
|
3078
|
+
return e.base64 ? pt.encode(f) : f;
|
|
3079
3079
|
default:
|
|
3080
|
-
return
|
|
3080
|
+
return f;
|
|
3081
3081
|
}
|
|
3082
3082
|
}
|
|
3083
3083
|
static crc32(e, t = 0) {
|
|
@@ -3493,14 +3493,14 @@ class Je {
|
|
|
3493
3493
|
}
|
|
3494
3494
|
const dn = class dn {
|
|
3495
3495
|
static encode(e) {
|
|
3496
|
-
for (var t = "", r, n, s, a, o, l,
|
|
3497
|
-
r = e.charCodeAt(m++), n = e.charCodeAt(m++), s = e.charCodeAt(m++), a = r >> 2, o = (r & 3) << 4 | n >> 4, l = (n & 15) << 2 | s >> 6,
|
|
3496
|
+
for (var t = "", r, n, s, a, o, l, f, m = 0; m < e.length; )
|
|
3497
|
+
r = e.charCodeAt(m++), n = e.charCodeAt(m++), s = e.charCodeAt(m++), a = r >> 2, o = (r & 3) << 4 | n >> 4, l = (n & 15) << 2 | s >> 6, f = s & 63, isNaN(n) ? l = f = 64 : isNaN(s) && (f = 64), t = t + this._keyStr.charAt(a) + this._keyStr.charAt(o) + this._keyStr.charAt(l) + this._keyStr.charAt(f);
|
|
3498
3498
|
return t;
|
|
3499
3499
|
}
|
|
3500
3500
|
static decode(e) {
|
|
3501
|
-
var t = "", r, n, s, a, o, l,
|
|
3501
|
+
var t = "", r, n, s, a, o, l, f, m = 0;
|
|
3502
3502
|
for (e = e.replace(/[^A-Za-z0-9\+\/\=]/g, ""); m < e.length; )
|
|
3503
|
-
a = this._keyStr.indexOf(e.charAt(m++)), o = this._keyStr.indexOf(e.charAt(m++)), l = this._keyStr.indexOf(e.charAt(m++)),
|
|
3503
|
+
a = this._keyStr.indexOf(e.charAt(m++)), o = this._keyStr.indexOf(e.charAt(m++)), l = this._keyStr.indexOf(e.charAt(m++)), f = this._keyStr.indexOf(e.charAt(m++)), r = a << 2 | o >> 4, n = (o & 15) << 4 | l >> 2, s = (l & 3) << 6 | f, t = t + String.fromCharCode(r), l != 64 && (t = t + String.fromCharCode(n)), f != 64 && (t = t + String.fromCharCode(s));
|
|
3504
3504
|
return t;
|
|
3505
3505
|
}
|
|
3506
3506
|
};
|
|
@@ -3532,8 +3532,8 @@ class Ke {
|
|
|
3532
3532
|
return new Nr(this.workBook, e);
|
|
3533
3533
|
}
|
|
3534
3534
|
static exportDOMToXLSX(e, t = "export.xlsx") {
|
|
3535
|
-
let r = function(d, p,
|
|
3536
|
-
return d.rowSpan == 1 ? p == 0 ? 9 : p != d.colSpan - 1 ? 10 : 11 : d.colSpan == 1 ?
|
|
3535
|
+
let r = function(d, p, u) {
|
|
3536
|
+
return d.rowSpan == 1 ? p == 0 ? 9 : p != d.colSpan - 1 ? 10 : 11 : d.colSpan == 1 ? u == 0 ? 12 : u != d.rowSpan - 1 ? 13 : 14 : u == 0 ? p == 0 ? 1 : p != d.colSpan - 1 ? 2 : 3 : u != d.rowSpan - 1 ? p == 0 ? 4 : p != d.colSpan - 1 ? null : 5 : p == 0 ? 6 : p != d.colSpan - 1 ? 7 : 8;
|
|
3537
3537
|
}, n = function(d) {
|
|
3538
3538
|
if (typeof d > "u" || d.length == 0) return 0;
|
|
3539
3539
|
let p;
|
|
@@ -3541,14 +3541,14 @@ class Ke {
|
|
|
3541
3541
|
if (typeof d[p] > "u") return p;
|
|
3542
3542
|
return p;
|
|
3543
3543
|
}, s = function(d) {
|
|
3544
|
-
let p = d.trim(),
|
|
3545
|
-
return !Number.isNaN(Number.parseFloat(
|
|
3544
|
+
let p = d.trim(), u = p.replace(",", ".");
|
|
3545
|
+
return !Number.isNaN(Number.parseFloat(u)) && u == Number.parseFloat(u) ? Number.parseFloat(u) < 1e11 ? Number.parseFloat(u) : p + " " : p;
|
|
3546
3546
|
}, a = function(d) {
|
|
3547
3547
|
let p = [];
|
|
3548
|
-
return d.forEach((
|
|
3549
|
-
if (
|
|
3548
|
+
return d.forEach((u) => {
|
|
3549
|
+
if (u.tagName == "TABLE") {
|
|
3550
3550
|
let h = { type: "table", head: 0, merge: [], style: [], data: null, customWidth: {} }, g = [], y = 0;
|
|
3551
|
-
|
|
3551
|
+
u.querySelector("thead") !== null && u.querySelector("thead").querySelectorAll("tr").forEach((A) => {
|
|
3552
3552
|
h.head++, typeof g[y] > "u" && (g[y] = []), typeof h.style[y] > "u" && (h.style[y] = []), A.querySelectorAll("th").forEach((S) => {
|
|
3553
3553
|
let R = n(g[y]);
|
|
3554
3554
|
if (g[y][R] = s(S.innerText), S.colSpan == 1 && (h.customWidth[R + 1] = S.clientWidth / 9, h.customWidth[R + 1] < 3 && (h.customWidth[R + 1] = 19)), S.rowSpan > 1 || S.colSpan > 1) {
|
|
@@ -3564,7 +3564,7 @@ class Ke {
|
|
|
3564
3564
|
} else
|
|
3565
3565
|
h.style[y][R] = 0;
|
|
3566
3566
|
}), y++;
|
|
3567
|
-
}),
|
|
3567
|
+
}), u.querySelector("tbody") !== null && u.querySelector("tbody").querySelectorAll("tr").forEach((A) => {
|
|
3568
3568
|
typeof g[y] > "u" && (g[y] = []), typeof h.style[y] > "u" && (h.style[y] = []), A.querySelectorAll("td, th").forEach((S) => {
|
|
3569
3569
|
let R = n(g[y]);
|
|
3570
3570
|
if (g[y][R] = s(S.innerText), S.colSpan == 1 && (h.customWidth[R + 1] = S.clientWidth / 9, h.customWidth[R + 1] < 3 && (h.customWidth[R + 1] = 20)), S.rowSpan > 1 || S.colSpan > 1) {
|
|
@@ -3581,17 +3581,17 @@ class Ke {
|
|
|
3581
3581
|
h.style[y][R] = 0;
|
|
3582
3582
|
}), y++;
|
|
3583
3583
|
}), h.data = g, p.push(h);
|
|
3584
|
-
} else if (
|
|
3584
|
+
} else if (u.tagName == "BR")
|
|
3585
3585
|
p.push({ type: "text", data: "", tags: [] });
|
|
3586
|
-
else if (
|
|
3587
|
-
a(
|
|
3586
|
+
else if (u.childNodes.length > 1)
|
|
3587
|
+
a(u.childNodes).forEach((h) => {
|
|
3588
3588
|
p.push(h);
|
|
3589
3589
|
});
|
|
3590
|
-
else if (
|
|
3591
|
-
let h = { type: "text", data:
|
|
3590
|
+
else if (u.tagName != "#text" && u.innerText !== void 0) {
|
|
3591
|
+
let h = { type: "text", data: u.innerText, tags: [] };
|
|
3592
3592
|
p.push(h);
|
|
3593
|
-
} else if (
|
|
3594
|
-
let h = { type: "text", data:
|
|
3593
|
+
} else if (u.tagName == "#text") {
|
|
3594
|
+
let h = { type: "text", data: u.textContent, tags: [] };
|
|
3595
3595
|
p.push(h);
|
|
3596
3596
|
}
|
|
3597
3597
|
}), p;
|
|
@@ -3601,31 +3601,31 @@ class Ke {
|
|
|
3601
3601
|
};
|
|
3602
3602
|
let l = [];
|
|
3603
3603
|
o(e) == "NodeList" ? l = a(e) : l = a(e.childNodes);
|
|
3604
|
-
let
|
|
3605
|
-
|
|
3604
|
+
let f = new Ke();
|
|
3605
|
+
f.workBook.createSheet("List 1");
|
|
3606
3606
|
let m = 1, v = !1, b = [];
|
|
3607
3607
|
return l.forEach((d) => {
|
|
3608
3608
|
if (d.type == "text" && d.data.split(`
|
|
3609
3609
|
`).forEach((p) => {
|
|
3610
|
-
|
|
3610
|
+
f.workBook.addCell(0, m, p), m++;
|
|
3611
3611
|
}), d.type == "table") {
|
|
3612
|
-
let p =
|
|
3613
|
-
v || (Ke.createStyleTable().forEach((
|
|
3614
|
-
b.push(
|
|
3615
|
-
}), Ke.createStyleNumberTable().forEach((
|
|
3616
|
-
b.push(
|
|
3617
|
-
}), v = !0), d.data.forEach((
|
|
3618
|
-
|
|
3612
|
+
let p = f.workBook.sheet[0].getMaxRow();
|
|
3613
|
+
v || (Ke.createStyleTable().forEach((u) => {
|
|
3614
|
+
b.push(f.workBook.addStyle(u));
|
|
3615
|
+
}), Ke.createStyleNumberTable().forEach((u) => {
|
|
3616
|
+
b.push(f.workBook.addStyle(u));
|
|
3617
|
+
}), v = !0), d.data.forEach((u, h) => {
|
|
3618
|
+
u.forEach((g, y) => {
|
|
3619
3619
|
let A = 0;
|
|
3620
|
-
typeof d.style[h][y] != null ? typeof g == "number" ? A = b[d.style[h][y] + 15] : A = b[d.style[h][y]] : typeof g == "number" && (A = 2),
|
|
3620
|
+
typeof d.style[h][y] != null ? typeof g == "number" ? A = b[d.style[h][y] + 15] : A = b[d.style[h][y]] : typeof g == "number" && (A = 2), f.workBook.addCell(0, m, g, A);
|
|
3621
3621
|
}), m++;
|
|
3622
|
-
}), d.merge.forEach((
|
|
3623
|
-
|
|
3624
|
-
}), Object.keys(d.customWidth).forEach((
|
|
3625
|
-
|
|
3622
|
+
}), d.merge.forEach((u) => {
|
|
3623
|
+
f.workBook.sheet[0].addMerges(u[0], u[1] + p, u[2], u[3] + p);
|
|
3624
|
+
}), Object.keys(d.customWidth).forEach((u) => {
|
|
3625
|
+
f.workBook.sheet[0].setCustomWidth(d.customWidth[u], u);
|
|
3626
3626
|
});
|
|
3627
3627
|
}
|
|
3628
|
-
}),
|
|
3628
|
+
}), f;
|
|
3629
3629
|
}
|
|
3630
3630
|
static createStyleTable() {
|
|
3631
3631
|
let e = new he();
|
|
@@ -3692,14 +3692,14 @@ class Ke {
|
|
|
3692
3692
|
bottom: ["thin", 'rgb="FF000000"'],
|
|
3693
3693
|
diagonal: []
|
|
3694
3694
|
}, l.alignment.wrapText = !0;
|
|
3695
|
-
let
|
|
3696
|
-
|
|
3695
|
+
let f = new he();
|
|
3696
|
+
f.border = {
|
|
3697
3697
|
left: [],
|
|
3698
3698
|
right: ["thin", 'rgb="FF000000"'],
|
|
3699
3699
|
top: [],
|
|
3700
3700
|
bottom: ["thin", 'rgb="FF000000"'],
|
|
3701
3701
|
diagonal: []
|
|
3702
|
-
},
|
|
3702
|
+
}, f.alignment.wrapText = !0;
|
|
3703
3703
|
let m = new he();
|
|
3704
3704
|
m.border = {
|
|
3705
3705
|
left: ["thin", 'rgb="FF000000"'],
|
|
@@ -3740,14 +3740,14 @@ class Ke {
|
|
|
3740
3740
|
bottom: [],
|
|
3741
3741
|
diagonal: []
|
|
3742
3742
|
};
|
|
3743
|
-
let
|
|
3744
|
-
return
|
|
3743
|
+
let u = new he();
|
|
3744
|
+
return u.border = {
|
|
3745
3745
|
left: ["thin", 'rgb="FF000000"'],
|
|
3746
3746
|
right: ["thin", 'rgb="FF000000"'],
|
|
3747
3747
|
top: [],
|
|
3748
3748
|
bottom: ["thin", 'rgb="FF000000"'],
|
|
3749
3749
|
diagonal: []
|
|
3750
|
-
}, b.alignment.wrapText = !0, [e, t, r, n, s, a, o, l,
|
|
3750
|
+
}, b.alignment.wrapText = !0, [e, t, r, n, s, a, o, l, f, m, v, b, d, p, u];
|
|
3751
3751
|
}
|
|
3752
3752
|
static createStyleNumberTable() {
|
|
3753
3753
|
let e = new he();
|
|
@@ -3814,14 +3814,14 @@ class Ke {
|
|
|
3814
3814
|
bottom: ["thin", 'rgb="FF000000"'],
|
|
3815
3815
|
diagonal: []
|
|
3816
3816
|
}, l.alignment.wrapText = !0, l.numFmtId = 164;
|
|
3817
|
-
let
|
|
3818
|
-
|
|
3817
|
+
let f = new he();
|
|
3818
|
+
f.border = {
|
|
3819
3819
|
left: [],
|
|
3820
3820
|
right: ["thin", 'rgb="FF000000"'],
|
|
3821
3821
|
top: [],
|
|
3822
3822
|
bottom: ["thin", 'rgb="FF000000"'],
|
|
3823
3823
|
diagonal: []
|
|
3824
|
-
},
|
|
3824
|
+
}, f.alignment.wrapText = !0, f.numFmtId = 164;
|
|
3825
3825
|
let m = new he();
|
|
3826
3826
|
m.border = {
|
|
3827
3827
|
left: ["thin", 'rgb="FF000000"'],
|
|
@@ -3862,14 +3862,14 @@ class Ke {
|
|
|
3862
3862
|
bottom: [],
|
|
3863
3863
|
diagonal: []
|
|
3864
3864
|
}, p.numFmtId = 164;
|
|
3865
|
-
let
|
|
3866
|
-
return
|
|
3865
|
+
let u = new he();
|
|
3866
|
+
return u.border = {
|
|
3867
3867
|
left: ["thin", 'rgb="FF000000"'],
|
|
3868
3868
|
right: ["thin", 'rgb="FF000000"'],
|
|
3869
3869
|
top: [],
|
|
3870
3870
|
bottom: ["thin", 'rgb="FF000000"'],
|
|
3871
3871
|
diagonal: []
|
|
3872
|
-
},
|
|
3872
|
+
}, u.numFmtId = 164, b.alignment.wrapText = !0, [e, t, r, n, s, a, o, l, f, m, v, b, d, p, u];
|
|
3873
3873
|
}
|
|
3874
3874
|
}
|
|
3875
3875
|
class he {
|
|
@@ -4091,8 +4091,8 @@ class Nr {
|
|
|
4091
4091
|
}), n += "</cols>"), n += "<sheetData>";
|
|
4092
4092
|
let s = 0;
|
|
4093
4093
|
Object.keys(r).forEach((o) => {
|
|
4094
|
-
let l = r[o],
|
|
4095
|
-
n += '<row r="' + o + '" spans="' + o + ":" +
|
|
4094
|
+
let l = r[o], f = o + Number.parseInt(l.getSizeRow());
|
|
4095
|
+
n += '<row r="' + o + '" spans="' + o + ":" + f + '">';
|
|
4096
4096
|
let m = l.getCells();
|
|
4097
4097
|
Object.keys(m).forEach((v) => {
|
|
4098
4098
|
let b = Number.parseInt(v), d = m[b];
|
|
@@ -4148,10 +4148,10 @@ class Nr {
|
|
|
4148
4148
|
e.forEach((b) => {
|
|
4149
4149
|
l.indexOf(b.getHashBorder()) === -1 && (a += b.getXMLBorder(), o++, l.push(b.getHashBorder()));
|
|
4150
4150
|
}), t += '<borders count="' + o + '">' + a + "</borders>", t += '<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs>';
|
|
4151
|
-
let
|
|
4151
|
+
let f = "", m = 0, v = [];
|
|
4152
4152
|
return e.forEach((b, d) => {
|
|
4153
|
-
v.indexOf(b.getHash()) === -1 && (
|
|
4154
|
-
}), t += '<cellXfs count="' + m + '">' +
|
|
4153
|
+
v.indexOf(b.getHash()) === -1 && (f += '<xf numFmtId="' + 0 + '" fontId="' + s.indexOf(b.getHashFont()) + '" fillId="0" borderId="' + l.indexOf(b.getHashBorder()) + '" xfId="0" applyFont="1" applyFill="1" applyBorder="1" ', b.isTrueAlignment() ? (f += 'applyAlignment="1"><alignment ', b.alignment.horizontal !== null && (f += 'horizontal="' + b.alignment.horizontal + '" '), b.alignment.vertical !== null && (f += 'vertical="' + b.alignment.vertical + '" '), b.alignment.wrapText !== null && (f += 'wrapText="1" '), f += "/>") : f += ">", f += "</xf>", m++, v.push(b.getHash()));
|
|
4154
|
+
}), t += '<cellXfs count="' + m + '">' + f + "</cellXfs>", this.styleHash = v, t += '<cellStyles count="1"><cellStyle name="Обычный" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" />', t += "</styleSheet>", t;
|
|
4155
4155
|
}
|
|
4156
4156
|
returnThemeOne() {
|
|
4157
4157
|
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
@@ -4160,8 +4160,8 @@ class Nr {
|
|
|
4160
4160
|
download(e, t) {
|
|
4161
4161
|
let r = document.createElement("a");
|
|
4162
4162
|
for (var n = atob(e), s = [], a = 0; a < n.length; a += 512) {
|
|
4163
|
-
for (var o = n.slice(a, a + 512), l = new Array(o.length),
|
|
4164
|
-
l[
|
|
4163
|
+
for (var o = n.slice(a, a + 512), l = new Array(o.length), f = 0; f < o.length; f++)
|
|
4164
|
+
l[f] = o.charCodeAt(f);
|
|
4165
4165
|
var m = new Uint8Array(l);
|
|
4166
4166
|
s.push(m);
|
|
4167
4167
|
}
|
|
@@ -4252,38 +4252,38 @@ const bn = (i) => `<w:p><w:pPr><w:pStyle w:val="a4"/></w:pPr><w:r><w:t>${i}</w:t
|
|
|
4252
4252
|
let r = 0;
|
|
4253
4253
|
const n = {};
|
|
4254
4254
|
Array.from(e[0].querySelectorAll("th, td")).forEach((l) => {
|
|
4255
|
-
const { colspan:
|
|
4256
|
-
r +=
|
|
4255
|
+
const { colspan: f } = Rt(l);
|
|
4256
|
+
r += f;
|
|
4257
4257
|
});
|
|
4258
4258
|
for (let l = 0; l < r; l++)
|
|
4259
4259
|
n[l] = null;
|
|
4260
4260
|
for (let l = 0; l < e.length; l++)
|
|
4261
4261
|
t[l] = Object.assign({}, n);
|
|
4262
4262
|
const a = {};
|
|
4263
|
-
e.forEach((l,
|
|
4263
|
+
e.forEach((l, f) => {
|
|
4264
4264
|
const m = [];
|
|
4265
|
-
Object.values(t[
|
|
4265
|
+
Object.values(t[f]).forEach((d, p) => {
|
|
4266
4266
|
d === null && m.push(p);
|
|
4267
4267
|
});
|
|
4268
4268
|
const v = Array.from(l.querySelectorAll("th, td"));
|
|
4269
4269
|
let b = 0;
|
|
4270
4270
|
v.forEach((d) => {
|
|
4271
|
-
const { content: p, rowspan:
|
|
4271
|
+
const { content: p, rowspan: u, colspan: h } = Rt(d), g = m.slice(b, b + h).reverse();
|
|
4272
4272
|
let y = 0;
|
|
4273
4273
|
if (g.map((A, S) => {
|
|
4274
|
-
S === g.length - 1 ? y = A : delete t[
|
|
4275
|
-
}),
|
|
4276
|
-
for (let A = 1; A <
|
|
4277
|
-
d.tagName === "TH" ? t[
|
|
4278
|
-
else if (
|
|
4279
|
-
for (let A = 1; A <
|
|
4280
|
-
a[
|
|
4281
|
-
R === g.length - 1 ? d.tagName === "TH" ? t[
|
|
4274
|
+
S === g.length - 1 ? y = A : delete t[f][A];
|
|
4275
|
+
}), u > 1 && h < 2)
|
|
4276
|
+
for (let A = 1; A < u; A++)
|
|
4277
|
+
d.tagName === "TH" ? t[f + A][y] = Mt(void 0, "continue") : d.tagName === "TD" && (t[f + A][y] = Nt(void 0, "continue"));
|
|
4278
|
+
else if (u > 1 && h > 1)
|
|
4279
|
+
for (let A = 1; A < u; A++)
|
|
4280
|
+
a[f + A] = [], g.map((S, R) => {
|
|
4281
|
+
R === g.length - 1 ? d.tagName === "TH" ? t[f + A][S] = Mt(void 0, "continue", h) : d.tagName === "TD" && (t[f + A][S] = Nt(void 0, "continue", h)) : (a[A].push(S), t[f + A][S] = void 0);
|
|
4282
4282
|
});
|
|
4283
|
-
d.tagName === "TH" ? t[
|
|
4283
|
+
d.tagName === "TH" ? t[f][y] = Mt(p, u > 1 ? "restart" : void 0, h > 1 ? h : void 0) : d.tagName === "TD" && (t[f][y] = Nt(p, u > 1 ? "restart" : void 0, h > 1 ? h : void 0)), b += h;
|
|
4284
4284
|
});
|
|
4285
|
-
}), Object.entries(a).map(([l,
|
|
4286
|
-
|
|
4285
|
+
}), Object.entries(a).map(([l, f]) => {
|
|
4286
|
+
f.map((m) => {
|
|
4287
4287
|
delete t[+l][m];
|
|
4288
4288
|
});
|
|
4289
4289
|
});
|
|
@@ -4298,16 +4298,22 @@ const bn = (i) => `<w:p><w:pPr><w:pStyle w:val="a4"/></w:pPr><w:r><w:t>${i}</w:t
|
|
|
4298
4298
|
let a = 0;
|
|
4299
4299
|
if (t !== null) {
|
|
4300
4300
|
const o = t.querySelectorAll("tr");
|
|
4301
|
-
|
|
4302
|
-
const
|
|
4303
|
-
|
|
4304
|
-
|
|
4301
|
+
if (o && o.length > 0) {
|
|
4302
|
+
const l = o[0].querySelectorAll("th, td");
|
|
4303
|
+
l && l.length > 0 && Array.from(l).forEach((m) => {
|
|
4304
|
+
const { colspan: v } = Rt(m);
|
|
4305
|
+
a += v;
|
|
4306
|
+
});
|
|
4307
|
+
}
|
|
4305
4308
|
} else if (r !== null) {
|
|
4306
4309
|
const o = r.querySelectorAll("tr");
|
|
4307
|
-
|
|
4308
|
-
const
|
|
4309
|
-
|
|
4310
|
-
|
|
4310
|
+
if (o && o.length > 0) {
|
|
4311
|
+
const l = o[0].querySelectorAll("th, td");
|
|
4312
|
+
l && l.length > 0 && Array.from(l).forEach((m) => {
|
|
4313
|
+
const { colspan: v } = Rt(m);
|
|
4314
|
+
a += v;
|
|
4315
|
+
});
|
|
4316
|
+
}
|
|
4311
4317
|
}
|
|
4312
4318
|
return Vr(n + s, a, e);
|
|
4313
4319
|
}, Xr = () => '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/><Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>', Yr = () => `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
@@ -4357,7 +4363,7 @@ const bn = (i) => `<w:p><w:pPr><w:pStyle w:val="a4"/></w:pPr><w:r><w:t>${i}</w:t
|
|
|
4357
4363
|
</w:font>
|
|
4358
4364
|
</w:fonts>`, ei = () => '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:settings xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:sl="http://schemas.openxmlformats.org/schemaLibrary/2006/main" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh"><w:zoom w:percent="160"/><w:proofState w:spelling="clean"/><w:defaultTabStop w:val="708"/><w:drawingGridHorizontalSpacing w:val="120"/><w:displayHorizontalDrawingGridEvery w:val="2"/><w:displayVerticalDrawingGridEvery w:val="2"/><w:characterSpacingControl w:val="doNotCompress"/><w:compat><w:compatSetting w:name="compatibilityMode" w:uri="http://schemas.microsoft.com/office/word" w:val="15"/><w:compatSetting w:name="overrideTableStyleFontSizeAndJustification" w:uri="http://schemas.microsoft.com/office/word" w:val="1"/><w:compatSetting w:name="enableOpenTypeFeatures" w:uri="http://schemas.microsoft.com/office/word" w:val="1"/><w:compatSetting w:name="doNotFlipMirrorIndents" w:uri="http://schemas.microsoft.com/office/word" w:val="1"/><w:compatSetting w:name="differentiateMultirowTableHeaders" w:uri="http://schemas.microsoft.com/office/word" w:val="1"/><w:compatSetting w:name="useWord2013TrackBottomHyphenation" w:uri="http://schemas.microsoft.com/office/word" w:val="0"/></w:compat><w:rsids><w:rsidRoot w:val="0092750D"/><w:rsid w:val="00180B28"/><w:rsid w:val="00274130"/><w:rsid w:val="002E4B92"/><w:rsid w:val="005D448F"/><w:rsid w:val="0064630D"/><w:rsid w:val="0079781D"/><w:rsid w:val="00843D5B"/><w:rsid w:val="0092750D"/><w:rsid w:val="00A35602"/><w:rsid w:val="00A41BB6"/><w:rsid w:val="00AB63E8"/><w:rsid w:val="00B257F1"/></w:rsids><m:mathPr><m:mathFont m:val="Cambria Math"/><m:brkBin m:val="before"/><m:brkBinSub m:val="--"/><m:smallFrac m:val="0"/><m:dispDef/><m:lMargin m:val="0"/><m:rMargin m:val="0"/><m:defJc m:val="centerGroup"/><m:wrapIndent m:val="1440"/><m:intLim m:val="subSup"/><m:naryLim m:val="undOvr"/></m:mathPr><w:themeFontLang w:val="ru-RU"/><w:clrSchemeMapping w:bg1="light1" w:t1="dark1" w:bg2="light2" w:t2="dark2" w:accent1="accent1" w:accent2="accent2" w:accent3="accent3" w:accent4="accent4" w:accent5="accent5" w:accent6="accent6" w:hyperlink="hyperlink" w:followedHyperlink="followedHyperlink"/><w:decimalSymbol w:val=","/><w:listSeparator w:val=";"/><w15:chartTrackingRefBased/><w15:docId w15:val="{8B742EB3-9A17-3442-B00E-554BC020C67C}"/></w:settings>', ti = (i, e = "A4", t = "vertical") => {
|
|
4359
4365
|
let r = 11906, n = 16838, s = 1134, a = 567, o = 1134, l = 1701;
|
|
4360
|
-
const
|
|
4366
|
+
const f = 709, m = 709;
|
|
4361
4367
|
switch (e) {
|
|
4362
4368
|
case "A4":
|
|
4363
4369
|
r = t === "landscape" ? 16838 : 11906, n = t === "landscape" ? 11906 : 16838, s = 1134, a = t === "landscape" ? 851 : 567, o = t === "landscape" ? 1418 : 1134, l = 1701;
|
|
@@ -4372,7 +4378,7 @@ const bn = (i) => `<w:p><w:pPr><w:pStyle w:val="a4"/></w:pPr><w:r><w:t>${i}</w:t
|
|
|
4372
4378
|
r = 31678, n = 31678, s = 1701, a = 1701, o = 1985, l = 2268;
|
|
4373
4379
|
break;
|
|
4374
4380
|
}
|
|
4375
|
-
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14"><w:body>${i}<w:sectPr><w:pgSz w:w="${r}" w:h="${n}" w:orient="${t}"/><w:pgMar w:top="${s}" w:right="${a}" w:bottom="${o}" w:left="${l}" w:header="${
|
|
4381
|
+
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14"><w:body>${i}<w:sectPr><w:pgSz w:w="${r}" w:h="${n}" w:orient="${t}"/><w:pgMar w:top="${s}" w:right="${a}" w:bottom="${o}" w:left="${l}" w:header="${f}" w:footer="${m}" w:gutter="0"/><w:cols w:space="708"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>`;
|
|
4376
4382
|
}, ni = () => `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4377
4383
|
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
4378
4384
|
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
@@ -4972,53 +4978,53 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4972
4978
|
i.exports = t();
|
|
4973
4979
|
})(function() {
|
|
4974
4980
|
return function t(r, n, s) {
|
|
4975
|
-
function a(
|
|
4976
|
-
if (!n[
|
|
4977
|
-
if (!r[
|
|
4981
|
+
function a(f, m) {
|
|
4982
|
+
if (!n[f]) {
|
|
4983
|
+
if (!r[f]) {
|
|
4978
4984
|
var v = typeof Ct == "function" && Ct;
|
|
4979
|
-
if (!m && v) return v(
|
|
4980
|
-
if (o) return o(
|
|
4981
|
-
var b = new Error("Cannot find module '" +
|
|
4985
|
+
if (!m && v) return v(f, !0);
|
|
4986
|
+
if (o) return o(f, !0);
|
|
4987
|
+
var b = new Error("Cannot find module '" + f + "'");
|
|
4982
4988
|
throw b.code = "MODULE_NOT_FOUND", b;
|
|
4983
4989
|
}
|
|
4984
|
-
var d = n[
|
|
4985
|
-
r[
|
|
4986
|
-
var
|
|
4987
|
-
return a(
|
|
4990
|
+
var d = n[f] = { exports: {} };
|
|
4991
|
+
r[f][0].call(d.exports, function(p) {
|
|
4992
|
+
var u = r[f][1][p];
|
|
4993
|
+
return a(u || p);
|
|
4988
4994
|
}, d, d.exports, t, r, n, s);
|
|
4989
4995
|
}
|
|
4990
|
-
return n[
|
|
4996
|
+
return n[f].exports;
|
|
4991
4997
|
}
|
|
4992
4998
|
for (var o = typeof Ct == "function" && Ct, l = 0; l < s.length; l++) a(s[l]);
|
|
4993
4999
|
return a;
|
|
4994
5000
|
}({ 1: [function(t, r, n) {
|
|
4995
5001
|
var s = t("./utils"), a = t("./support"), o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
4996
5002
|
n.encode = function(l) {
|
|
4997
|
-
for (var
|
|
5003
|
+
for (var f, m, v, b, d, p, u, h = [], g = 0, y = l.length, A = y, S = s.getTypeOf(l) !== "string"; g < l.length; ) A = y - g, v = S ? (f = l[g++], m = g < y ? l[g++] : 0, g < y ? l[g++] : 0) : (f = l.charCodeAt(g++), m = g < y ? l.charCodeAt(g++) : 0, g < y ? l.charCodeAt(g++) : 0), b = f >> 2, d = (3 & f) << 4 | m >> 4, p = 1 < A ? (15 & m) << 2 | v >> 6 : 64, u = 2 < A ? 63 & v : 64, h.push(o.charAt(b) + o.charAt(d) + o.charAt(p) + o.charAt(u));
|
|
4998
5004
|
return h.join("");
|
|
4999
5005
|
}, n.decode = function(l) {
|
|
5000
|
-
var
|
|
5006
|
+
var f, m, v, b, d, p, u = 0, h = 0, g = "data:";
|
|
5001
5007
|
if (l.substr(0, g.length) === g) throw new Error("Invalid base64 input, it looks like a data url.");
|
|
5002
5008
|
var y, A = 3 * (l = l.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
|
|
5003
5009
|
if (l.charAt(l.length - 1) === o.charAt(64) && A--, l.charAt(l.length - 2) === o.charAt(64) && A--, A % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
|
|
5004
|
-
for (y = a.uint8array ? new Uint8Array(0 | A) : new Array(0 | A);
|
|
5010
|
+
for (y = a.uint8array ? new Uint8Array(0 | A) : new Array(0 | A); u < l.length; ) f = o.indexOf(l.charAt(u++)) << 2 | (b = o.indexOf(l.charAt(u++))) >> 4, m = (15 & b) << 4 | (d = o.indexOf(l.charAt(u++))) >> 2, v = (3 & d) << 6 | (p = o.indexOf(l.charAt(u++))), y[h++] = f, d !== 64 && (y[h++] = m), p !== 64 && (y[h++] = v);
|
|
5005
5011
|
return y;
|
|
5006
5012
|
};
|
|
5007
5013
|
}, { "./support": 30, "./utils": 32 }], 2: [function(t, r, n) {
|
|
5008
5014
|
var s = t("./external"), a = t("./stream/DataWorker"), o = t("./stream/Crc32Probe"), l = t("./stream/DataLengthProbe");
|
|
5009
|
-
function
|
|
5015
|
+
function f(m, v, b, d, p) {
|
|
5010
5016
|
this.compressedSize = m, this.uncompressedSize = v, this.crc32 = b, this.compression = d, this.compressedContent = p;
|
|
5011
5017
|
}
|
|
5012
|
-
|
|
5018
|
+
f.prototype = { getContentWorker: function() {
|
|
5013
5019
|
var m = new a(s.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")), v = this;
|
|
5014
5020
|
return m.on("end", function() {
|
|
5015
5021
|
if (this.streamInfo.data_length !== v.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
|
|
5016
5022
|
}), m;
|
|
5017
5023
|
}, getCompressedWorker: function() {
|
|
5018
5024
|
return new a(s.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
|
|
5019
|
-
} },
|
|
5025
|
+
} }, f.createWorkerFrom = function(m, v, b) {
|
|
5020
5026
|
return m.pipe(new o()).pipe(new l("uncompressedSize")).pipe(v.compressWorker(b)).pipe(new l("compressedSize")).withStreamInfo("compression", v);
|
|
5021
|
-
}, r.exports =
|
|
5027
|
+
}, r.exports = f;
|
|
5022
5028
|
}, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(t, r, n) {
|
|
5023
5029
|
var s = t("./stream/GenericWorker");
|
|
5024
5030
|
n.STORE = { magic: "\0\0", compressWorker: function() {
|
|
@@ -5028,24 +5034,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5028
5034
|
} }, n.DEFLATE = t("./flate");
|
|
5029
5035
|
}, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(t, r, n) {
|
|
5030
5036
|
var s = t("./utils"), a = function() {
|
|
5031
|
-
for (var o, l = [],
|
|
5032
|
-
o =
|
|
5037
|
+
for (var o, l = [], f = 0; f < 256; f++) {
|
|
5038
|
+
o = f;
|
|
5033
5039
|
for (var m = 0; m < 8; m++) o = 1 & o ? 3988292384 ^ o >>> 1 : o >>> 1;
|
|
5034
|
-
l[
|
|
5040
|
+
l[f] = o;
|
|
5035
5041
|
}
|
|
5036
5042
|
return l;
|
|
5037
5043
|
}();
|
|
5038
5044
|
r.exports = function(o, l) {
|
|
5039
|
-
return o !== void 0 && o.length ? s.getTypeOf(o) !== "string" ? function(
|
|
5045
|
+
return o !== void 0 && o.length ? s.getTypeOf(o) !== "string" ? function(f, m, v, b) {
|
|
5040
5046
|
var d = a, p = b + v;
|
|
5041
|
-
|
|
5042
|
-
for (var
|
|
5043
|
-
return -1 ^
|
|
5044
|
-
}(0 | l, o, o.length, 0) : function(
|
|
5047
|
+
f ^= -1;
|
|
5048
|
+
for (var u = b; u < p; u++) f = f >>> 8 ^ d[255 & (f ^ m[u])];
|
|
5049
|
+
return -1 ^ f;
|
|
5050
|
+
}(0 | l, o, o.length, 0) : function(f, m, v, b) {
|
|
5045
5051
|
var d = a, p = b + v;
|
|
5046
|
-
|
|
5047
|
-
for (var
|
|
5048
|
-
return -1 ^
|
|
5052
|
+
f ^= -1;
|
|
5053
|
+
for (var u = b; u < p; u++) f = f >>> 8 ^ d[255 & (f ^ m.charCodeAt(u))];
|
|
5054
|
+
return -1 ^ f;
|
|
5049
5055
|
}(0 | l, o, o.length, 0) : 0;
|
|
5050
5056
|
};
|
|
5051
5057
|
}, { "./utils": 32 }], 5: [function(t, r, n) {
|
|
@@ -5054,12 +5060,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5054
5060
|
var s = null;
|
|
5055
5061
|
s = typeof Promise < "u" ? Promise : t("lie"), r.exports = { Promise: s };
|
|
5056
5062
|
}, { lie: 37 }], 7: [function(t, r, n) {
|
|
5057
|
-
var s = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", a = t("pako"), o = t("./utils"), l = t("./stream/GenericWorker"),
|
|
5063
|
+
var s = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", a = t("pako"), o = t("./utils"), l = t("./stream/GenericWorker"), f = s ? "uint8array" : "array";
|
|
5058
5064
|
function m(v, b) {
|
|
5059
5065
|
l.call(this, "FlateWorker/" + v), this._pako = null, this._pakoAction = v, this._pakoOptions = b, this.meta = {};
|
|
5060
5066
|
}
|
|
5061
5067
|
n.magic = "\b\0", o.inherits(m, l), m.prototype.processChunk = function(v) {
|
|
5062
|
-
this.meta = v.meta, this._pako === null && this._createPako(), this._pako.push(o.transformTo(
|
|
5068
|
+
this.meta = v.meta, this._pako === null && this._createPako(), this._pako.push(o.transformTo(f, v.data), !1);
|
|
5063
5069
|
}, m.prototype.flush = function() {
|
|
5064
5070
|
l.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
|
|
5065
5071
|
}, m.prototype.cleanUp = function() {
|
|
@@ -5077,13 +5083,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5077
5083
|
};
|
|
5078
5084
|
}, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(t, r, n) {
|
|
5079
5085
|
function s(d, p) {
|
|
5080
|
-
var
|
|
5081
|
-
for (
|
|
5086
|
+
var u, h = "";
|
|
5087
|
+
for (u = 0; u < p; u++) h += String.fromCharCode(255 & d), d >>>= 8;
|
|
5082
5088
|
return h;
|
|
5083
5089
|
}
|
|
5084
|
-
function a(d, p,
|
|
5085
|
-
var A, S, R = d.file, F = d.compression, _ = y !==
|
|
5086
|
-
p && !
|
|
5090
|
+
function a(d, p, u, h, g, y) {
|
|
5091
|
+
var A, S, R = d.file, F = d.compression, _ = y !== f.utf8encode, G = o.transformTo("string", y(R.name)), z = o.transformTo("string", f.utf8encode(R.name)), W = R.comment, ee = o.transformTo("string", y(W)), T = o.transformTo("string", f.utf8encode(W)), B = z.length !== R.name.length, w = T.length !== W.length, M = "", ie = "", Z = "", oe = R.dir, J = R.date, re = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
5092
|
+
p && !u || (re.crc32 = d.crc32, re.compressedSize = d.compressedSize, re.uncompressedSize = d.uncompressedSize);
|
|
5087
5093
|
var j = 0;
|
|
5088
5094
|
p && (j |= 8), _ || !B && !w || (j |= 2048);
|
|
5089
5095
|
var L = 0, ne = 0;
|
|
@@ -5097,54 +5103,54 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5097
5103
|
return Q += `
|
|
5098
5104
|
\0`, Q += s(j, 2), Q += F.magic, Q += s(A, 2), Q += s(S, 2), Q += s(re.crc32, 4), Q += s(re.compressedSize, 4), Q += s(re.uncompressedSize, 4), Q += s(G.length, 2), Q += s(M.length, 2), { fileRecord: v.LOCAL_FILE_HEADER + Q + G + M, dirRecord: v.CENTRAL_FILE_HEADER + s(ne, 2) + Q + s(ee.length, 2) + "\0\0\0\0" + s(L, 4) + s(h, 4) + G + M + ee };
|
|
5099
5105
|
}
|
|
5100
|
-
var o = t("../utils"), l = t("../stream/GenericWorker"),
|
|
5101
|
-
function b(d, p,
|
|
5102
|
-
l.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = p, this.zipPlatform =
|
|
5106
|
+
var o = t("../utils"), l = t("../stream/GenericWorker"), f = t("../utf8"), m = t("../crc32"), v = t("../signature");
|
|
5107
|
+
function b(d, p, u, h) {
|
|
5108
|
+
l.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = p, this.zipPlatform = u, this.encodeFileName = h, this.streamFiles = d, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
|
|
5103
5109
|
}
|
|
5104
5110
|
o.inherits(b, l), b.prototype.push = function(d) {
|
|
5105
|
-
var p = d.meta.percent || 0,
|
|
5106
|
-
this.accumulate ? this.contentBuffer.push(d) : (this.bytesWritten += d.data.length, l.prototype.push.call(this, { data: d.data, meta: { currentFile: this.currentFile, percent:
|
|
5111
|
+
var p = d.meta.percent || 0, u = this.entriesCount, h = this._sources.length;
|
|
5112
|
+
this.accumulate ? this.contentBuffer.push(d) : (this.bytesWritten += d.data.length, l.prototype.push.call(this, { data: d.data, meta: { currentFile: this.currentFile, percent: u ? (p + 100 * (u - h - 1)) / u : 100 } }));
|
|
5107
5113
|
}, b.prototype.openedSource = function(d) {
|
|
5108
5114
|
this.currentSourceOffset = this.bytesWritten, this.currentFile = d.file.name;
|
|
5109
5115
|
var p = this.streamFiles && !d.file.dir;
|
|
5110
5116
|
if (p) {
|
|
5111
|
-
var
|
|
5112
|
-
this.push({ data:
|
|
5117
|
+
var u = a(d, p, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
|
|
5118
|
+
this.push({ data: u.fileRecord, meta: { percent: 0 } });
|
|
5113
5119
|
} else this.accumulate = !0;
|
|
5114
5120
|
}, b.prototype.closedSource = function(d) {
|
|
5115
5121
|
this.accumulate = !1;
|
|
5116
|
-
var p = this.streamFiles && !d.file.dir,
|
|
5117
|
-
if (this.dirRecords.push(
|
|
5122
|
+
var p = this.streamFiles && !d.file.dir, u = a(d, p, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
|
|
5123
|
+
if (this.dirRecords.push(u.dirRecord), p) this.push({ data: function(h) {
|
|
5118
5124
|
return v.DATA_DESCRIPTOR + s(h.crc32, 4) + s(h.compressedSize, 4) + s(h.uncompressedSize, 4);
|
|
5119
5125
|
}(d), meta: { percent: 100 } });
|
|
5120
|
-
else for (this.push({ data:
|
|
5126
|
+
else for (this.push({ data: u.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
|
|
5121
5127
|
this.currentFile = null;
|
|
5122
5128
|
}, b.prototype.flush = function() {
|
|
5123
5129
|
for (var d = this.bytesWritten, p = 0; p < this.dirRecords.length; p++) this.push({ data: this.dirRecords[p], meta: { percent: 100 } });
|
|
5124
|
-
var
|
|
5130
|
+
var u = this.bytesWritten - d, h = function(g, y, A, S, R) {
|
|
5125
5131
|
var F = o.transformTo("string", R(S));
|
|
5126
5132
|
return v.CENTRAL_DIRECTORY_END + "\0\0\0\0" + s(g, 2) + s(g, 2) + s(y, 4) + s(A, 4) + s(F.length, 2) + F;
|
|
5127
|
-
}(this.dirRecords.length,
|
|
5133
|
+
}(this.dirRecords.length, u, d, this.zipComment, this.encodeFileName);
|
|
5128
5134
|
this.push({ data: h, meta: { percent: 100 } });
|
|
5129
5135
|
}, b.prototype.prepareNextSource = function() {
|
|
5130
5136
|
this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
|
|
5131
5137
|
}, b.prototype.registerPrevious = function(d) {
|
|
5132
5138
|
this._sources.push(d);
|
|
5133
5139
|
var p = this;
|
|
5134
|
-
return d.on("data", function(
|
|
5135
|
-
p.processChunk(
|
|
5140
|
+
return d.on("data", function(u) {
|
|
5141
|
+
p.processChunk(u);
|
|
5136
5142
|
}), d.on("end", function() {
|
|
5137
5143
|
p.closedSource(p.previous.streamInfo), p._sources.length ? p.prepareNextSource() : p.end();
|
|
5138
|
-
}), d.on("error", function(
|
|
5139
|
-
p.error(
|
|
5144
|
+
}), d.on("error", function(u) {
|
|
5145
|
+
p.error(u);
|
|
5140
5146
|
}), this;
|
|
5141
5147
|
}, b.prototype.resume = function() {
|
|
5142
5148
|
return !!l.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
|
|
5143
5149
|
}, b.prototype.error = function(d) {
|
|
5144
5150
|
var p = this._sources;
|
|
5145
5151
|
if (!l.prototype.error.call(this, d)) return !1;
|
|
5146
|
-
for (var
|
|
5147
|
-
p[
|
|
5152
|
+
for (var u = 0; u < p.length; u++) try {
|
|
5153
|
+
p[u].error(d);
|
|
5148
5154
|
} catch {
|
|
5149
5155
|
}
|
|
5150
5156
|
return !0;
|
|
@@ -5154,8 +5160,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5154
5160
|
}, r.exports = b;
|
|
5155
5161
|
}, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(t, r, n) {
|
|
5156
5162
|
var s = t("../compressions"), a = t("./ZipFileWorker");
|
|
5157
|
-
n.generateWorker = function(o, l,
|
|
5158
|
-
var m = new a(l.streamFiles,
|
|
5163
|
+
n.generateWorker = function(o, l, f) {
|
|
5164
|
+
var m = new a(l.streamFiles, f, l.platform, l.encodeFileName), v = 0;
|
|
5159
5165
|
try {
|
|
5160
5166
|
o.forEach(function(b, d) {
|
|
5161
5167
|
v++;
|
|
@@ -5163,8 +5169,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5163
5169
|
var S = y || A, R = s[S];
|
|
5164
5170
|
if (!R) throw new Error(S + " is not a valid compression method !");
|
|
5165
5171
|
return R;
|
|
5166
|
-
}(d.options.compression, l.compression),
|
|
5167
|
-
d._compressWorker(p,
|
|
5172
|
+
}(d.options.compression, l.compression), u = d.options.compressionOptions || l.compressionOptions || {}, h = d.dir, g = d.date;
|
|
5173
|
+
d._compressWorker(p, u).withStreamInfo("file", { name: b, dir: h, date: g, comment: d.comment || "", unixPermissions: d.unixPermissions, dosPermissions: d.dosPermissions }).pipe(m);
|
|
5168
5174
|
}), m.entriesCount = v;
|
|
5169
5175
|
} catch (b) {
|
|
5170
5176
|
m.error(b);
|
|
@@ -5185,28 +5191,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5185
5191
|
return new s().loadAsync(a, o);
|
|
5186
5192
|
}, s.external = t("./external"), r.exports = s;
|
|
5187
5193
|
}, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(t, r, n) {
|
|
5188
|
-
var s = t("./utils"), a = t("./external"), o = t("./utf8"), l = t("./zipEntries"),
|
|
5194
|
+
var s = t("./utils"), a = t("./external"), o = t("./utf8"), l = t("./zipEntries"), f = t("./stream/Crc32Probe"), m = t("./nodejsUtils");
|
|
5189
5195
|
function v(b) {
|
|
5190
5196
|
return new a.Promise(function(d, p) {
|
|
5191
|
-
var
|
|
5192
|
-
|
|
5197
|
+
var u = b.decompressed.getContentWorker().pipe(new f());
|
|
5198
|
+
u.on("error", function(h) {
|
|
5193
5199
|
p(h);
|
|
5194
5200
|
}).on("end", function() {
|
|
5195
|
-
|
|
5201
|
+
u.streamInfo.crc32 !== b.decompressed.crc32 ? p(new Error("Corrupted zip : CRC32 mismatch")) : d();
|
|
5196
5202
|
}).resume();
|
|
5197
5203
|
});
|
|
5198
5204
|
}
|
|
5199
5205
|
r.exports = function(b, d) {
|
|
5200
5206
|
var p = this;
|
|
5201
|
-
return d = s.extend(d || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: o.utf8decode }), m.isNode && m.isStream(b) ? a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : s.prepareContent("the loaded zip file", b, !0, d.optimizedBinaryString, d.base64).then(function(
|
|
5207
|
+
return d = s.extend(d || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: o.utf8decode }), m.isNode && m.isStream(b) ? a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : s.prepareContent("the loaded zip file", b, !0, d.optimizedBinaryString, d.base64).then(function(u) {
|
|
5202
5208
|
var h = new l(d);
|
|
5203
|
-
return h.load(
|
|
5204
|
-
}).then(function(
|
|
5205
|
-
var h = [a.Promise.resolve(
|
|
5209
|
+
return h.load(u), h;
|
|
5210
|
+
}).then(function(u) {
|
|
5211
|
+
var h = [a.Promise.resolve(u)], g = u.files;
|
|
5206
5212
|
if (d.checkCRC32) for (var y = 0; y < g.length; y++) h.push(v(g[y]));
|
|
5207
5213
|
return a.Promise.all(h);
|
|
5208
|
-
}).then(function(
|
|
5209
|
-
for (var h =
|
|
5214
|
+
}).then(function(u) {
|
|
5215
|
+
for (var h = u.shift(), g = h.files, y = 0; y < g.length; y++) {
|
|
5210
5216
|
var A = g[y], S = A.fileNameStr, R = s.resolve(A.fileNameStr);
|
|
5211
5217
|
p.file(R, A.decompressed, { binary: !0, optimizedBinaryString: !0, date: A.date, dir: A.dir, comment: A.fileCommentStr.length ? A.fileCommentStr : null, unixPermissions: A.unixPermissions, dosPermissions: A.dosPermissions, createFolders: d.createFolders }), A.dir || (p.file(R).unsafeOriginalName = S);
|
|
5212
5218
|
}
|
|
@@ -5215,17 +5221,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5215
5221
|
};
|
|
5216
5222
|
}, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(t, r, n) {
|
|
5217
5223
|
var s = t("../utils"), a = t("../stream/GenericWorker");
|
|
5218
|
-
function o(l,
|
|
5219
|
-
a.call(this, "Nodejs stream input adapter for " + l), this._upstreamEnded = !1, this._bindStream(
|
|
5224
|
+
function o(l, f) {
|
|
5225
|
+
a.call(this, "Nodejs stream input adapter for " + l), this._upstreamEnded = !1, this._bindStream(f);
|
|
5220
5226
|
}
|
|
5221
5227
|
s.inherits(o, a), o.prototype._bindStream = function(l) {
|
|
5222
|
-
var
|
|
5228
|
+
var f = this;
|
|
5223
5229
|
(this._stream = l).pause(), l.on("data", function(m) {
|
|
5224
|
-
|
|
5230
|
+
f.push({ data: m, meta: { percent: 0 } });
|
|
5225
5231
|
}).on("error", function(m) {
|
|
5226
|
-
|
|
5232
|
+
f.isPaused ? this.generatedError = m : f.error(m);
|
|
5227
5233
|
}).on("end", function() {
|
|
5228
|
-
|
|
5234
|
+
f.isPaused ? f._upstreamEnded = !0 : f.end();
|
|
5229
5235
|
});
|
|
5230
5236
|
}, o.prototype.pause = function() {
|
|
5231
5237
|
return !!a.prototype.pause.call(this) && (this._stream.pause(), !0);
|
|
@@ -5234,11 +5240,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5234
5240
|
}, r.exports = o;
|
|
5235
5241
|
}, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(t, r, n) {
|
|
5236
5242
|
var s = t("readable-stream").Readable;
|
|
5237
|
-
function a(o, l,
|
|
5243
|
+
function a(o, l, f) {
|
|
5238
5244
|
s.call(this, l), this._helper = o;
|
|
5239
5245
|
var m = this;
|
|
5240
5246
|
o.on("data", function(v, b) {
|
|
5241
|
-
m.push(v) || m._helper.pause(),
|
|
5247
|
+
m.push(v) || m._helper.pause(), f && f(b);
|
|
5242
5248
|
}).on("error", function(v) {
|
|
5243
5249
|
m.emit("error", v);
|
|
5244
5250
|
}).on("end", function() {
|
|
@@ -5269,11 +5275,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5269
5275
|
var ee = z === "string" && W.binary === !1 && W.base64 === !1;
|
|
5270
5276
|
_ && _.binary !== void 0 || (W.binary = !ee), (F instanceof v && F.uncompressedSize === 0 || W.dir || !F || F.length === 0) && (W.base64 = !1, W.binary = !0, F = "", W.compression = "STORE", z = "string");
|
|
5271
5277
|
var T = null;
|
|
5272
|
-
T = F instanceof v || F instanceof l ? F : p.isNode && p.isStream(F) ? new
|
|
5278
|
+
T = F instanceof v || F instanceof l ? F : p.isNode && p.isStream(F) ? new u(R, F) : o.prepareContent(R, F, W.binary, W.optimizedBinaryString, W.base64);
|
|
5273
5279
|
var B = new b(R, T, W);
|
|
5274
5280
|
this.files[R] = B;
|
|
5275
5281
|
}
|
|
5276
|
-
var a = t("./utf8"), o = t("./utils"), l = t("./stream/GenericWorker"),
|
|
5282
|
+
var a = t("./utf8"), o = t("./utils"), l = t("./stream/GenericWorker"), f = t("./stream/StreamHelper"), m = t("./defaults"), v = t("./compressedObject"), b = t("./zipObject"), d = t("./generate"), p = t("./nodejsUtils"), u = t("./nodejs/NodejsStreamInputAdapter"), h = function(R) {
|
|
5277
5283
|
R.slice(-1) === "/" && (R = R.substring(0, R.length - 1));
|
|
5278
5284
|
var F = R.lastIndexOf("/");
|
|
5279
5285
|
return 0 < F ? R.substring(0, F) : "";
|
|
@@ -5332,7 +5338,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5332
5338
|
} catch (z) {
|
|
5333
5339
|
(F = new l("error")).error(z);
|
|
5334
5340
|
}
|
|
5335
|
-
return new
|
|
5341
|
+
return new f(F, _.type || "string", _.mimeType);
|
|
5336
5342
|
}, generateAsync: function(R, F) {
|
|
5337
5343
|
return this.generateInternalStream(R).accumulate(F);
|
|
5338
5344
|
}, generateNodeStream: function(R, F) {
|
|
@@ -5350,11 +5356,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5350
5356
|
t("../utils").inherits(a, s), a.prototype.byteAt = function(o) {
|
|
5351
5357
|
return this.data[this.zero + o];
|
|
5352
5358
|
}, a.prototype.lastIndexOfSignature = function(o) {
|
|
5353
|
-
for (var l = o.charCodeAt(0),
|
|
5359
|
+
for (var l = o.charCodeAt(0), f = o.charCodeAt(1), m = o.charCodeAt(2), v = o.charCodeAt(3), b = this.length - 4; 0 <= b; --b) if (this.data[b] === l && this.data[b + 1] === f && this.data[b + 2] === m && this.data[b + 3] === v) return b - this.zero;
|
|
5354
5360
|
return -1;
|
|
5355
5361
|
}, a.prototype.readAndCheckSignature = function(o) {
|
|
5356
|
-
var l = o.charCodeAt(0),
|
|
5357
|
-
return l === b[0] &&
|
|
5362
|
+
var l = o.charCodeAt(0), f = o.charCodeAt(1), m = o.charCodeAt(2), v = o.charCodeAt(3), b = this.readData(4);
|
|
5363
|
+
return l === b[0] && f === b[1] && m === b[2] && v === b[3];
|
|
5358
5364
|
}, a.prototype.readData = function(o) {
|
|
5359
5365
|
if (this.checkOffset(o), o === 0) return [];
|
|
5360
5366
|
var l = this.data.slice(this.zero + this.index, this.zero + this.index + o);
|
|
@@ -5375,9 +5381,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5375
5381
|
this.setIndex(this.index + o);
|
|
5376
5382
|
}, byteAt: function() {
|
|
5377
5383
|
}, readInt: function(o) {
|
|
5378
|
-
var l,
|
|
5379
|
-
for (this.checkOffset(o), l = this.index + o - 1; l >= this.index; l--)
|
|
5380
|
-
return this.index += o,
|
|
5384
|
+
var l, f = 0;
|
|
5385
|
+
for (this.checkOffset(o), l = this.index + o - 1; l >= this.index; l--) f = (f << 8) + this.byteAt(l);
|
|
5386
|
+
return this.index += o, f;
|
|
5381
5387
|
}, readString: function(o) {
|
|
5382
5388
|
return s.transformTo("string", this.readData(o));
|
|
5383
5389
|
}, readData: function() {
|
|
@@ -5424,10 +5430,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5424
5430
|
return this.index += o, l;
|
|
5425
5431
|
}, r.exports = a;
|
|
5426
5432
|
}, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(t, r, n) {
|
|
5427
|
-
var s = t("../utils"), a = t("../support"), o = t("./ArrayReader"), l = t("./StringReader"),
|
|
5433
|
+
var s = t("../utils"), a = t("../support"), o = t("./ArrayReader"), l = t("./StringReader"), f = t("./NodeBufferReader"), m = t("./Uint8ArrayReader");
|
|
5428
5434
|
r.exports = function(v) {
|
|
5429
5435
|
var b = s.getTypeOf(v);
|
|
5430
|
-
return s.checkSupport(b), b !== "string" || a.uint8array ? b === "nodebuffer" ? new
|
|
5436
|
+
return s.checkSupport(b), b !== "string" || a.uint8array ? b === "nodebuffer" ? new f(v) : a.uint8array ? new m(s.transformTo("uint8array", v)) : new o(s.transformTo("array", v)) : new l(v);
|
|
5431
5437
|
};
|
|
5432
5438
|
}, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(t, r, n) {
|
|
5433
5439
|
n.LOCAL_FILE_HEADER = "PK", n.CENTRAL_FILE_HEADER = "PK", n.CENTRAL_DIRECTORY_END = "PK", n.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", n.ZIP64_CENTRAL_DIRECTORY_END = "PK", n.DATA_DESCRIPTOR = "PK\x07\b";
|
|
@@ -5454,8 +5460,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5454
5460
|
}
|
|
5455
5461
|
s.inherits(o, a), o.prototype.processChunk = function(l) {
|
|
5456
5462
|
if (l) {
|
|
5457
|
-
var
|
|
5458
|
-
this.streamInfo[this.propName] =
|
|
5463
|
+
var f = this.streamInfo[this.propName] || 0;
|
|
5464
|
+
this.streamInfo[this.propName] = f + l.data.length;
|
|
5459
5465
|
}
|
|
5460
5466
|
a.prototype.processChunk.call(this, l);
|
|
5461
5467
|
}, r.exports = o;
|
|
@@ -5463,11 +5469,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5463
5469
|
var s = t("../utils"), a = t("./GenericWorker");
|
|
5464
5470
|
function o(l) {
|
|
5465
5471
|
a.call(this, "DataWorker");
|
|
5466
|
-
var
|
|
5472
|
+
var f = this;
|
|
5467
5473
|
this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, l.then(function(m) {
|
|
5468
|
-
|
|
5474
|
+
f.dataIsReady = !0, f.data = m, f.max = m && m.length || 0, f.type = s.getTypeOf(m), f.isPaused || f._tickAndRepeat();
|
|
5469
5475
|
}, function(m) {
|
|
5470
|
-
|
|
5476
|
+
f.error(m);
|
|
5471
5477
|
});
|
|
5472
5478
|
}
|
|
5473
5479
|
s.inherits(o, a), o.prototype.cleanUp = function() {
|
|
@@ -5478,20 +5484,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5478
5484
|
this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (s.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
|
|
5479
5485
|
}, o.prototype._tick = function() {
|
|
5480
5486
|
if (this.isPaused || this.isFinished) return !1;
|
|
5481
|
-
var l = null,
|
|
5487
|
+
var l = null, f = Math.min(this.max, this.index + 16384);
|
|
5482
5488
|
if (this.index >= this.max) return this.end();
|
|
5483
5489
|
switch (this.type) {
|
|
5484
5490
|
case "string":
|
|
5485
|
-
l = this.data.substring(this.index,
|
|
5491
|
+
l = this.data.substring(this.index, f);
|
|
5486
5492
|
break;
|
|
5487
5493
|
case "uint8array":
|
|
5488
|
-
l = this.data.subarray(this.index,
|
|
5494
|
+
l = this.data.subarray(this.index, f);
|
|
5489
5495
|
break;
|
|
5490
5496
|
case "array":
|
|
5491
5497
|
case "nodebuffer":
|
|
5492
|
-
l = this.data.slice(this.index,
|
|
5498
|
+
l = this.data.slice(this.index, f);
|
|
5493
5499
|
}
|
|
5494
|
-
return this.index =
|
|
5500
|
+
return this.index = f, this.push({ data: l, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
|
|
5495
5501
|
}, r.exports = o;
|
|
5496
5502
|
}, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(t, r, n) {
|
|
5497
5503
|
function s(a) {
|
|
@@ -5550,16 +5556,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5550
5556
|
return this.previous ? this.previous + " -> " + a : a;
|
|
5551
5557
|
} }, r.exports = s;
|
|
5552
5558
|
}, {}], 29: [function(t, r, n) {
|
|
5553
|
-
var s = t("../utils"), a = t("./ConvertWorker"), o = t("./GenericWorker"), l = t("../base64"),
|
|
5554
|
-
if (
|
|
5559
|
+
var s = t("../utils"), a = t("./ConvertWorker"), o = t("./GenericWorker"), l = t("../base64"), f = t("../support"), m = t("../external"), v = null;
|
|
5560
|
+
if (f.nodestream) try {
|
|
5555
5561
|
v = t("../nodejs/NodejsStreamOutputAdapter");
|
|
5556
5562
|
} catch {
|
|
5557
5563
|
}
|
|
5558
|
-
function b(p,
|
|
5564
|
+
function b(p, u) {
|
|
5559
5565
|
return new m.Promise(function(h, g) {
|
|
5560
5566
|
var y = [], A = p._internalType, S = p._outputType, R = p._mimeType;
|
|
5561
5567
|
p.on("data", function(F, _) {
|
|
5562
|
-
y.push(F),
|
|
5568
|
+
y.push(F), u && u(_);
|
|
5563
5569
|
}).on("error", function(F) {
|
|
5564
5570
|
y = [], g(F);
|
|
5565
5571
|
}).on("end", function() {
|
|
@@ -5598,9 +5604,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5598
5604
|
}).resume();
|
|
5599
5605
|
});
|
|
5600
5606
|
}
|
|
5601
|
-
function d(p,
|
|
5602
|
-
var g =
|
|
5603
|
-
switch (
|
|
5607
|
+
function d(p, u, h) {
|
|
5608
|
+
var g = u;
|
|
5609
|
+
switch (u) {
|
|
5604
5610
|
case "blob":
|
|
5605
5611
|
case "arraybuffer":
|
|
5606
5612
|
g = "uint8array";
|
|
@@ -5609,19 +5615,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5609
5615
|
g = "string";
|
|
5610
5616
|
}
|
|
5611
5617
|
try {
|
|
5612
|
-
this._internalType = g, this._outputType =
|
|
5618
|
+
this._internalType = g, this._outputType = u, this._mimeType = h, s.checkSupport(g), this._worker = p.pipe(new a(g)), p.lock();
|
|
5613
5619
|
} catch (y) {
|
|
5614
5620
|
this._worker = new o("error"), this._worker.error(y);
|
|
5615
5621
|
}
|
|
5616
5622
|
}
|
|
5617
5623
|
d.prototype = { accumulate: function(p) {
|
|
5618
5624
|
return b(this, p);
|
|
5619
|
-
}, on: function(p,
|
|
5625
|
+
}, on: function(p, u) {
|
|
5620
5626
|
var h = this;
|
|
5621
5627
|
return p === "data" ? this._worker.on(p, function(g) {
|
|
5622
|
-
|
|
5628
|
+
u.call(h, g.data, g.meta);
|
|
5623
5629
|
}) : this._worker.on(p, function() {
|
|
5624
|
-
s.delay(
|
|
5630
|
+
s.delay(u, arguments, h);
|
|
5625
5631
|
}), this;
|
|
5626
5632
|
}, resume: function() {
|
|
5627
5633
|
return s.delay(this._worker.resume, [], this._worker), this;
|
|
@@ -5652,8 +5658,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5652
5658
|
n.nodestream = !1;
|
|
5653
5659
|
}
|
|
5654
5660
|
}, { "readable-stream": 16 }], 31: [function(t, r, n) {
|
|
5655
|
-
for (var s = t("./utils"), a = t("./support"), o = t("./nodejsUtils"), l = t("./stream/GenericWorker"),
|
|
5656
|
-
|
|
5661
|
+
for (var s = t("./utils"), a = t("./support"), o = t("./nodejsUtils"), l = t("./stream/GenericWorker"), f = new Array(256), m = 0; m < 256; m++) f[m] = 252 <= m ? 6 : 248 <= m ? 5 : 240 <= m ? 4 : 224 <= m ? 3 : 192 <= m ? 2 : 1;
|
|
5662
|
+
f[254] = f[254] = 1;
|
|
5657
5663
|
function v() {
|
|
5658
5664
|
l.call(this, "utf-8 decode"), this.leftOver = null;
|
|
5659
5665
|
}
|
|
@@ -5662,18 +5668,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5662
5668
|
}
|
|
5663
5669
|
n.utf8encode = function(d) {
|
|
5664
5670
|
return a.nodebuffer ? o.newBufferFrom(d, "utf-8") : function(p) {
|
|
5665
|
-
var
|
|
5671
|
+
var u, h, g, y, A, S = p.length, R = 0;
|
|
5666
5672
|
for (y = 0; y < S; y++) (64512 & (h = p.charCodeAt(y))) == 55296 && y + 1 < S && (64512 & (g = p.charCodeAt(y + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (g - 56320), y++), R += h < 128 ? 1 : h < 2048 ? 2 : h < 65536 ? 3 : 4;
|
|
5667
|
-
for (
|
|
5668
|
-
return
|
|
5673
|
+
for (u = a.uint8array ? new Uint8Array(R) : new Array(R), y = A = 0; A < R; y++) (64512 & (h = p.charCodeAt(y))) == 55296 && y + 1 < S && (64512 & (g = p.charCodeAt(y + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (g - 56320), y++), h < 128 ? u[A++] = h : (h < 2048 ? u[A++] = 192 | h >>> 6 : (h < 65536 ? u[A++] = 224 | h >>> 12 : (u[A++] = 240 | h >>> 18, u[A++] = 128 | h >>> 12 & 63), u[A++] = 128 | h >>> 6 & 63), u[A++] = 128 | 63 & h);
|
|
5674
|
+
return u;
|
|
5669
5675
|
}(d);
|
|
5670
5676
|
}, n.utf8decode = function(d) {
|
|
5671
5677
|
return a.nodebuffer ? s.transformTo("nodebuffer", d).toString("utf-8") : function(p) {
|
|
5672
|
-
var
|
|
5673
|
-
for (
|
|
5674
|
-
else if (4 < (y =
|
|
5678
|
+
var u, h, g, y, A = p.length, S = new Array(2 * A);
|
|
5679
|
+
for (u = h = 0; u < A; ) if ((g = p[u++]) < 128) S[h++] = g;
|
|
5680
|
+
else if (4 < (y = f[g])) S[h++] = 65533, u += y - 1;
|
|
5675
5681
|
else {
|
|
5676
|
-
for (g &= y === 2 ? 31 : y === 3 ? 15 : 7; 1 < y &&
|
|
5682
|
+
for (g &= y === 2 ? 31 : y === 3 ? 15 : 7; 1 < y && u < A; ) g = g << 6 | 63 & p[u++], y--;
|
|
5677
5683
|
1 < y ? S[h++] = 65533 : g < 65536 ? S[h++] = g : (g -= 65536, S[h++] = 55296 | g >> 10 & 1023, S[h++] = 56320 | 1023 & g);
|
|
5678
5684
|
}
|
|
5679
5685
|
return S.length !== h && (S.subarray ? S = S.subarray(0, h) : S.length = h), s.applyFromCharCode(S);
|
|
@@ -5682,15 +5688,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5682
5688
|
var p = s.transformTo(a.uint8array ? "uint8array" : "array", d.data);
|
|
5683
5689
|
if (this.leftOver && this.leftOver.length) {
|
|
5684
5690
|
if (a.uint8array) {
|
|
5685
|
-
var
|
|
5686
|
-
(p = new Uint8Array(
|
|
5691
|
+
var u = p;
|
|
5692
|
+
(p = new Uint8Array(u.length + this.leftOver.length)).set(this.leftOver, 0), p.set(u, this.leftOver.length);
|
|
5687
5693
|
} else p = this.leftOver.concat(p);
|
|
5688
5694
|
this.leftOver = null;
|
|
5689
5695
|
}
|
|
5690
5696
|
var h = function(y, A) {
|
|
5691
5697
|
var S;
|
|
5692
5698
|
for ((A = A || y.length) > y.length && (A = y.length), S = A - 1; 0 <= S && (192 & y[S]) == 128; ) S--;
|
|
5693
|
-
return S < 0 || S === 0 ? A : S +
|
|
5699
|
+
return S < 0 || S === 0 ? A : S + f[y[S]] > A ? S : A;
|
|
5694
5700
|
}(p), g = p;
|
|
5695
5701
|
h !== p.length && (a.uint8array ? (g = p.subarray(0, h), this.leftOver = p.subarray(h, p.length)) : (g = p.slice(0, h), this.leftOver = p.slice(h, p.length))), this.push({ data: n.utf8decode(g), meta: d.meta });
|
|
5696
5702
|
}, v.prototype.flush = function() {
|
|
@@ -5700,33 +5706,33 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5700
5706
|
}, n.Utf8EncodeWorker = b;
|
|
5701
5707
|
}, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(t, r, n) {
|
|
5702
5708
|
var s = t("./support"), a = t("./base64"), o = t("./nodejsUtils"), l = t("./external");
|
|
5703
|
-
function u
|
|
5704
|
-
return
|
|
5709
|
+
function f(u) {
|
|
5710
|
+
return u;
|
|
5705
5711
|
}
|
|
5706
|
-
function m(
|
|
5707
|
-
for (var g = 0; g <
|
|
5712
|
+
function m(u, h) {
|
|
5713
|
+
for (var g = 0; g < u.length; ++g) h[g] = 255 & u.charCodeAt(g);
|
|
5708
5714
|
return h;
|
|
5709
5715
|
}
|
|
5710
|
-
t("setimmediate"), n.newBlob = function(
|
|
5716
|
+
t("setimmediate"), n.newBlob = function(u, h) {
|
|
5711
5717
|
n.checkSupport("blob");
|
|
5712
5718
|
try {
|
|
5713
|
-
return new Blob([
|
|
5719
|
+
return new Blob([u], { type: h });
|
|
5714
5720
|
} catch {
|
|
5715
5721
|
try {
|
|
5716
5722
|
var g = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
|
|
5717
|
-
return g.append(
|
|
5723
|
+
return g.append(u), g.getBlob(h);
|
|
5718
5724
|
} catch {
|
|
5719
5725
|
throw new Error("Bug : can't construct the Blob.");
|
|
5720
5726
|
}
|
|
5721
5727
|
}
|
|
5722
5728
|
};
|
|
5723
|
-
var v = { stringifyByChunk: function(
|
|
5724
|
-
var y = [], A = 0, S =
|
|
5725
|
-
if (S <= g) return String.fromCharCode.apply(null,
|
|
5726
|
-
for (; A < S; ) h === "array" || h === "nodebuffer" ? y.push(String.fromCharCode.apply(null,
|
|
5729
|
+
var v = { stringifyByChunk: function(u, h, g) {
|
|
5730
|
+
var y = [], A = 0, S = u.length;
|
|
5731
|
+
if (S <= g) return String.fromCharCode.apply(null, u);
|
|
5732
|
+
for (; A < S; ) h === "array" || h === "nodebuffer" ? y.push(String.fromCharCode.apply(null, u.slice(A, Math.min(A + g, S)))) : y.push(String.fromCharCode.apply(null, u.subarray(A, Math.min(A + g, S)))), A += g;
|
|
5727
5733
|
return y.join("");
|
|
5728
|
-
}, stringifyByChar: function(
|
|
5729
|
-
for (var h = "", g = 0; g <
|
|
5734
|
+
}, stringifyByChar: function(u) {
|
|
5735
|
+
for (var h = "", g = 0; g < u.length; g++) h += String.fromCharCode(u[g]);
|
|
5730
5736
|
return h;
|
|
5731
5737
|
}, applyCanBeUsed: { uint8array: function() {
|
|
5732
5738
|
try {
|
|
@@ -5741,87 +5747,87 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5741
5747
|
return !1;
|
|
5742
5748
|
}
|
|
5743
5749
|
}() } };
|
|
5744
|
-
function b(
|
|
5745
|
-
var h = 65536, g = n.getTypeOf(
|
|
5750
|
+
function b(u) {
|
|
5751
|
+
var h = 65536, g = n.getTypeOf(u), y = !0;
|
|
5746
5752
|
if (g === "uint8array" ? y = v.applyCanBeUsed.uint8array : g === "nodebuffer" && (y = v.applyCanBeUsed.nodebuffer), y) for (; 1 < h; ) try {
|
|
5747
|
-
return v.stringifyByChunk(
|
|
5753
|
+
return v.stringifyByChunk(u, g, h);
|
|
5748
5754
|
} catch {
|
|
5749
5755
|
h = Math.floor(h / 2);
|
|
5750
5756
|
}
|
|
5751
|
-
return v.stringifyByChar(
|
|
5757
|
+
return v.stringifyByChar(u);
|
|
5752
5758
|
}
|
|
5753
|
-
function d(
|
|
5754
|
-
for (var g = 0; g <
|
|
5759
|
+
function d(u, h) {
|
|
5760
|
+
for (var g = 0; g < u.length; g++) h[g] = u[g];
|
|
5755
5761
|
return h;
|
|
5756
5762
|
}
|
|
5757
5763
|
n.applyFromCharCode = b;
|
|
5758
5764
|
var p = {};
|
|
5759
|
-
p.string = { string:
|
|
5760
|
-
return m(
|
|
5761
|
-
}, arraybuffer: function(
|
|
5762
|
-
return p.string.uint8array(
|
|
5763
|
-
}, uint8array: function(
|
|
5764
|
-
return m(
|
|
5765
|
-
}, nodebuffer: function(
|
|
5766
|
-
return m(
|
|
5767
|
-
} }, p.array = { string: b, array:
|
|
5768
|
-
return new Uint8Array(
|
|
5769
|
-
}, uint8array: function(
|
|
5770
|
-
return new Uint8Array(
|
|
5771
|
-
}, nodebuffer: function(
|
|
5772
|
-
return o.newBufferFrom(
|
|
5773
|
-
} }, p.arraybuffer = { string: function(
|
|
5774
|
-
return b(new Uint8Array(
|
|
5775
|
-
}, array: function(
|
|
5776
|
-
return d(new Uint8Array(
|
|
5777
|
-
}, arraybuffer:
|
|
5778
|
-
return new Uint8Array(
|
|
5779
|
-
}, nodebuffer: function(
|
|
5780
|
-
return o.newBufferFrom(new Uint8Array(
|
|
5781
|
-
} }, p.uint8array = { string: b, array: function(
|
|
5782
|
-
return d(
|
|
5783
|
-
}, arraybuffer: function(
|
|
5784
|
-
return
|
|
5785
|
-
}, uint8array:
|
|
5786
|
-
return o.newBufferFrom(
|
|
5787
|
-
} }, p.nodebuffer = { string: b, array: function(
|
|
5788
|
-
return d(
|
|
5789
|
-
}, arraybuffer: function(
|
|
5790
|
-
return p.nodebuffer.uint8array(
|
|
5791
|
-
}, uint8array: function(
|
|
5792
|
-
return d(
|
|
5793
|
-
}, nodebuffer:
|
|
5794
|
-
if (h = h || "", !
|
|
5795
|
-
n.checkSupport(
|
|
5765
|
+
p.string = { string: f, array: function(u) {
|
|
5766
|
+
return m(u, new Array(u.length));
|
|
5767
|
+
}, arraybuffer: function(u) {
|
|
5768
|
+
return p.string.uint8array(u).buffer;
|
|
5769
|
+
}, uint8array: function(u) {
|
|
5770
|
+
return m(u, new Uint8Array(u.length));
|
|
5771
|
+
}, nodebuffer: function(u) {
|
|
5772
|
+
return m(u, o.allocBuffer(u.length));
|
|
5773
|
+
} }, p.array = { string: b, array: f, arraybuffer: function(u) {
|
|
5774
|
+
return new Uint8Array(u).buffer;
|
|
5775
|
+
}, uint8array: function(u) {
|
|
5776
|
+
return new Uint8Array(u);
|
|
5777
|
+
}, nodebuffer: function(u) {
|
|
5778
|
+
return o.newBufferFrom(u);
|
|
5779
|
+
} }, p.arraybuffer = { string: function(u) {
|
|
5780
|
+
return b(new Uint8Array(u));
|
|
5781
|
+
}, array: function(u) {
|
|
5782
|
+
return d(new Uint8Array(u), new Array(u.byteLength));
|
|
5783
|
+
}, arraybuffer: f, uint8array: function(u) {
|
|
5784
|
+
return new Uint8Array(u);
|
|
5785
|
+
}, nodebuffer: function(u) {
|
|
5786
|
+
return o.newBufferFrom(new Uint8Array(u));
|
|
5787
|
+
} }, p.uint8array = { string: b, array: function(u) {
|
|
5788
|
+
return d(u, new Array(u.length));
|
|
5789
|
+
}, arraybuffer: function(u) {
|
|
5790
|
+
return u.buffer;
|
|
5791
|
+
}, uint8array: f, nodebuffer: function(u) {
|
|
5792
|
+
return o.newBufferFrom(u);
|
|
5793
|
+
} }, p.nodebuffer = { string: b, array: function(u) {
|
|
5794
|
+
return d(u, new Array(u.length));
|
|
5795
|
+
}, arraybuffer: function(u) {
|
|
5796
|
+
return p.nodebuffer.uint8array(u).buffer;
|
|
5797
|
+
}, uint8array: function(u) {
|
|
5798
|
+
return d(u, new Uint8Array(u.length));
|
|
5799
|
+
}, nodebuffer: f }, n.transformTo = function(u, h) {
|
|
5800
|
+
if (h = h || "", !u) return h;
|
|
5801
|
+
n.checkSupport(u);
|
|
5796
5802
|
var g = n.getTypeOf(h);
|
|
5797
|
-
return p[g][
|
|
5798
|
-
}, n.resolve = function(
|
|
5799
|
-
for (var h =
|
|
5803
|
+
return p[g][u](h);
|
|
5804
|
+
}, n.resolve = function(u) {
|
|
5805
|
+
for (var h = u.split("/"), g = [], y = 0; y < h.length; y++) {
|
|
5800
5806
|
var A = h[y];
|
|
5801
5807
|
A === "." || A === "" && y !== 0 && y !== h.length - 1 || (A === ".." ? g.pop() : g.push(A));
|
|
5802
5808
|
}
|
|
5803
5809
|
return g.join("/");
|
|
5804
|
-
}, n.getTypeOf = function(
|
|
5805
|
-
return typeof
|
|
5806
|
-
}, n.checkSupport = function(
|
|
5807
|
-
if (!s[
|
|
5808
|
-
}, n.MAX_VALUE_16BITS = 65535, n.MAX_VALUE_32BITS = -1, n.pretty = function(
|
|
5810
|
+
}, n.getTypeOf = function(u) {
|
|
5811
|
+
return typeof u == "string" ? "string" : Object.prototype.toString.call(u) === "[object Array]" ? "array" : s.nodebuffer && o.isBuffer(u) ? "nodebuffer" : s.uint8array && u instanceof Uint8Array ? "uint8array" : s.arraybuffer && u instanceof ArrayBuffer ? "arraybuffer" : void 0;
|
|
5812
|
+
}, n.checkSupport = function(u) {
|
|
5813
|
+
if (!s[u.toLowerCase()]) throw new Error(u + " is not supported by this platform");
|
|
5814
|
+
}, n.MAX_VALUE_16BITS = 65535, n.MAX_VALUE_32BITS = -1, n.pretty = function(u) {
|
|
5809
5815
|
var h, g, y = "";
|
|
5810
|
-
for (g = 0; g < (
|
|
5816
|
+
for (g = 0; g < (u || "").length; g++) y += "\\x" + ((h = u.charCodeAt(g)) < 16 ? "0" : "") + h.toString(16).toUpperCase();
|
|
5811
5817
|
return y;
|
|
5812
|
-
}, n.delay = function(
|
|
5818
|
+
}, n.delay = function(u, h, g) {
|
|
5813
5819
|
setImmediate(function() {
|
|
5814
|
-
|
|
5820
|
+
u.apply(g || null, h || []);
|
|
5815
5821
|
});
|
|
5816
|
-
}, n.inherits = function(
|
|
5822
|
+
}, n.inherits = function(u, h) {
|
|
5817
5823
|
function g() {
|
|
5818
5824
|
}
|
|
5819
|
-
g.prototype = h.prototype,
|
|
5825
|
+
g.prototype = h.prototype, u.prototype = new g();
|
|
5820
5826
|
}, n.extend = function() {
|
|
5821
|
-
var
|
|
5822
|
-
for (
|
|
5827
|
+
var u, h, g = {};
|
|
5828
|
+
for (u = 0; u < arguments.length; u++) for (h in arguments[u]) Object.prototype.hasOwnProperty.call(arguments[u], h) && g[h] === void 0 && (g[h] = arguments[u][h]);
|
|
5823
5829
|
return g;
|
|
5824
|
-
}, n.prepareContent = function(
|
|
5830
|
+
}, n.prepareContent = function(u, h, g, y, A) {
|
|
5825
5831
|
return l.Promise.resolve(h).then(function(S) {
|
|
5826
5832
|
return s.blob && (S instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(S)) !== -1) && typeof FileReader < "u" ? new l.Promise(function(R, F) {
|
|
5827
5833
|
var _ = new FileReader();
|
|
@@ -5835,11 +5841,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5835
5841
|
var R = n.getTypeOf(S);
|
|
5836
5842
|
return R ? (R === "arraybuffer" ? S = n.transformTo("uint8array", S) : R === "string" && (A ? S = a.decode(S) : g && y !== !0 && (S = function(F) {
|
|
5837
5843
|
return m(F, s.uint8array ? new Uint8Array(F.length) : new Array(F.length));
|
|
5838
|
-
}(S))), S) : l.Promise.reject(new Error("Can't read the data of '" +
|
|
5844
|
+
}(S))), S) : l.Promise.reject(new Error("Can't read the data of '" + u + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
|
|
5839
5845
|
});
|
|
5840
5846
|
};
|
|
5841
5847
|
}, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(t, r, n) {
|
|
5842
|
-
var s = t("./reader/readerFor"), a = t("./utils"), o = t("./signature"), l = t("./zipEntry"),
|
|
5848
|
+
var s = t("./reader/readerFor"), a = t("./utils"), o = t("./signature"), l = t("./zipEntry"), f = t("./support");
|
|
5843
5849
|
function m(v) {
|
|
5844
5850
|
this.files = [], this.loadOptions = v;
|
|
5845
5851
|
}
|
|
@@ -5856,7 +5862,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5856
5862
|
return this.reader.setIndex(d), p;
|
|
5857
5863
|
}, readBlockEndOfCentral: function() {
|
|
5858
5864
|
this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2);
|
|
5859
|
-
var v = this.reader.readData(this.zipCommentLength), b =
|
|
5865
|
+
var v = this.reader.readData(this.zipCommentLength), b = f.uint8array ? "uint8array" : "array", d = a.transformTo(b, v);
|
|
5860
5866
|
this.zipComment = this.loadOptions.decodeFileName(d);
|
|
5861
5867
|
}, readBlockZip64EndOfCentral: function() {
|
|
5862
5868
|
this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {};
|
|
@@ -5891,7 +5897,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5891
5897
|
this.prepareReader(v), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
|
|
5892
5898
|
} }, r.exports = m;
|
|
5893
5899
|
}, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(t, r, n) {
|
|
5894
|
-
var s = t("./reader/readerFor"), a = t("./utils"), o = t("./compressedObject"), l = t("./crc32"),
|
|
5900
|
+
var s = t("./reader/readerFor"), a = t("./utils"), o = t("./compressedObject"), l = t("./crc32"), f = t("./utf8"), m = t("./compressions"), v = t("./support");
|
|
5895
5901
|
function b(d, p) {
|
|
5896
5902
|
this.options = d, this.loadOptions = p;
|
|
5897
5903
|
}
|
|
@@ -5900,8 +5906,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5900
5906
|
}, useUTF8: function() {
|
|
5901
5907
|
return (2048 & this.bitFlag) == 2048;
|
|
5902
5908
|
}, readLocalPart: function(d) {
|
|
5903
|
-
var p,
|
|
5904
|
-
if (d.skip(22), this.fileNameLength = d.readInt(2),
|
|
5909
|
+
var p, u;
|
|
5910
|
+
if (d.skip(22), this.fileNameLength = d.readInt(2), u = d.readInt(2), this.fileName = d.readData(this.fileNameLength), d.skip(u), this.compressedSize === -1 || this.uncompressedSize === -1) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
|
|
5905
5911
|
if ((p = function(h) {
|
|
5906
5912
|
for (var g in m) if (Object.prototype.hasOwnProperty.call(m, g) && m[g].magic === h) return m[g];
|
|
5907
5913
|
return null;
|
|
@@ -5922,18 +5928,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5922
5928
|
this.uncompressedSize === a.MAX_VALUE_32BITS && (this.uncompressedSize = d.readInt(8)), this.compressedSize === a.MAX_VALUE_32BITS && (this.compressedSize = d.readInt(8)), this.localHeaderOffset === a.MAX_VALUE_32BITS && (this.localHeaderOffset = d.readInt(8)), this.diskNumberStart === a.MAX_VALUE_32BITS && (this.diskNumberStart = d.readInt(4));
|
|
5923
5929
|
}
|
|
5924
5930
|
}, readExtraFields: function(d) {
|
|
5925
|
-
var p,
|
|
5926
|
-
for (this.extraFields || (this.extraFields = {}); d.index + 4 < g; ) p = d.readInt(2),
|
|
5931
|
+
var p, u, h, g = d.index + this.extraFieldsLength;
|
|
5932
|
+
for (this.extraFields || (this.extraFields = {}); d.index + 4 < g; ) p = d.readInt(2), u = d.readInt(2), h = d.readData(u), this.extraFields[p] = { id: p, length: u, value: h };
|
|
5927
5933
|
d.setIndex(g);
|
|
5928
5934
|
}, handleUTF8: function() {
|
|
5929
5935
|
var d = v.uint8array ? "uint8array" : "array";
|
|
5930
|
-
if (this.useUTF8()) this.fileNameStr =
|
|
5936
|
+
if (this.useUTF8()) this.fileNameStr = f.utf8decode(this.fileName), this.fileCommentStr = f.utf8decode(this.fileComment);
|
|
5931
5937
|
else {
|
|
5932
5938
|
var p = this.findExtraFieldUnicodePath();
|
|
5933
5939
|
if (p !== null) this.fileNameStr = p;
|
|
5934
5940
|
else {
|
|
5935
|
-
var
|
|
5936
|
-
this.fileNameStr = this.loadOptions.decodeFileName(
|
|
5941
|
+
var u = a.transformTo(d, this.fileName);
|
|
5942
|
+
this.fileNameStr = this.loadOptions.decodeFileName(u);
|
|
5937
5943
|
}
|
|
5938
5944
|
var h = this.findExtraFieldUnicodeComment();
|
|
5939
5945
|
if (h !== null) this.fileCommentStr = h;
|
|
@@ -5946,44 +5952,44 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5946
5952
|
var d = this.extraFields[28789];
|
|
5947
5953
|
if (d) {
|
|
5948
5954
|
var p = s(d.value);
|
|
5949
|
-
return p.readInt(1) !== 1 || l(this.fileName) !== p.readInt(4) ? null :
|
|
5955
|
+
return p.readInt(1) !== 1 || l(this.fileName) !== p.readInt(4) ? null : f.utf8decode(p.readData(d.length - 5));
|
|
5950
5956
|
}
|
|
5951
5957
|
return null;
|
|
5952
5958
|
}, findExtraFieldUnicodeComment: function() {
|
|
5953
5959
|
var d = this.extraFields[25461];
|
|
5954
5960
|
if (d) {
|
|
5955
5961
|
var p = s(d.value);
|
|
5956
|
-
return p.readInt(1) !== 1 || l(this.fileComment) !== p.readInt(4) ? null :
|
|
5962
|
+
return p.readInt(1) !== 1 || l(this.fileComment) !== p.readInt(4) ? null : f.utf8decode(p.readData(d.length - 5));
|
|
5957
5963
|
}
|
|
5958
5964
|
return null;
|
|
5959
5965
|
} }, r.exports = b;
|
|
5960
5966
|
}, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(t, r, n) {
|
|
5961
|
-
function s(p,
|
|
5962
|
-
this.name = p, this.dir = h.dir, this.date = h.date, this.comment = h.comment, this.unixPermissions = h.unixPermissions, this.dosPermissions = h.dosPermissions, this._data =
|
|
5967
|
+
function s(p, u, h) {
|
|
5968
|
+
this.name = p, this.dir = h.dir, this.date = h.date, this.comment = h.comment, this.unixPermissions = h.unixPermissions, this.dosPermissions = h.dosPermissions, this._data = u, this._dataBinary = h.binary, this.options = { compression: h.compression, compressionOptions: h.compressionOptions };
|
|
5963
5969
|
}
|
|
5964
|
-
var a = t("./stream/StreamHelper"), o = t("./stream/DataWorker"), l = t("./utf8"),
|
|
5970
|
+
var a = t("./stream/StreamHelper"), o = t("./stream/DataWorker"), l = t("./utf8"), f = t("./compressedObject"), m = t("./stream/GenericWorker");
|
|
5965
5971
|
s.prototype = { internalStream: function(p) {
|
|
5966
|
-
var
|
|
5972
|
+
var u = null, h = "string";
|
|
5967
5973
|
try {
|
|
5968
5974
|
if (!p) throw new Error("No output type specified.");
|
|
5969
5975
|
var g = (h = p.toLowerCase()) === "string" || h === "text";
|
|
5970
|
-
h !== "binarystring" && h !== "text" || (h = "string"),
|
|
5976
|
+
h !== "binarystring" && h !== "text" || (h = "string"), u = this._decompressWorker();
|
|
5971
5977
|
var y = !this._dataBinary;
|
|
5972
|
-
y && !g && (
|
|
5978
|
+
y && !g && (u = u.pipe(new l.Utf8EncodeWorker())), !y && g && (u = u.pipe(new l.Utf8DecodeWorker()));
|
|
5973
5979
|
} catch (A) {
|
|
5974
|
-
(
|
|
5980
|
+
(u = new m("error")).error(A);
|
|
5975
5981
|
}
|
|
5976
|
-
return new a(
|
|
5977
|
-
}, async: function(p,
|
|
5978
|
-
return this.internalStream(p).accumulate(
|
|
5979
|
-
}, nodeStream: function(p,
|
|
5980
|
-
return this.internalStream(p || "nodebuffer").toNodejsStream(
|
|
5981
|
-
}, _compressWorker: function(p,
|
|
5982
|
-
if (this._data instanceof
|
|
5982
|
+
return new a(u, h, "");
|
|
5983
|
+
}, async: function(p, u) {
|
|
5984
|
+
return this.internalStream(p).accumulate(u);
|
|
5985
|
+
}, nodeStream: function(p, u) {
|
|
5986
|
+
return this.internalStream(p || "nodebuffer").toNodejsStream(u);
|
|
5987
|
+
}, _compressWorker: function(p, u) {
|
|
5988
|
+
if (this._data instanceof f && this._data.compression.magic === p.magic) return this._data.getCompressedWorker();
|
|
5983
5989
|
var h = this._decompressWorker();
|
|
5984
|
-
return this._dataBinary || (h = h.pipe(new l.Utf8EncodeWorker())),
|
|
5990
|
+
return this._dataBinary || (h = h.pipe(new l.Utf8EncodeWorker())), f.createWorkerFrom(h, p, u);
|
|
5985
5991
|
}, _decompressWorker: function() {
|
|
5986
|
-
return this._data instanceof
|
|
5992
|
+
return this._data instanceof f ? this._data.getContentWorker() : this._data instanceof m ? this._data : new o(this._data);
|
|
5987
5993
|
} };
|
|
5988
5994
|
for (var v = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], b = function() {
|
|
5989
5995
|
throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
|
|
@@ -5993,15 +5999,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
5993
5999
|
(function(s) {
|
|
5994
6000
|
var a, o, l = s.MutationObserver || s.WebKitMutationObserver;
|
|
5995
6001
|
if (l) {
|
|
5996
|
-
var
|
|
6002
|
+
var f = 0, m = new l(p), v = s.document.createTextNode("");
|
|
5997
6003
|
m.observe(v, { characterData: !0 }), a = function() {
|
|
5998
|
-
v.data =
|
|
6004
|
+
v.data = f = ++f % 2;
|
|
5999
6005
|
};
|
|
6000
6006
|
} else if (s.setImmediate || s.MessageChannel === void 0) a = "document" in s && "onreadystatechange" in s.document.createElement("script") ? function() {
|
|
6001
|
-
var
|
|
6002
|
-
|
|
6003
|
-
p(),
|
|
6004
|
-
}, s.document.documentElement.appendChild(
|
|
6007
|
+
var u = s.document.createElement("script");
|
|
6008
|
+
u.onreadystatechange = function() {
|
|
6009
|
+
p(), u.onreadystatechange = null, u.parentNode.removeChild(u), u = null;
|
|
6010
|
+
}, s.document.documentElement.appendChild(u);
|
|
6005
6011
|
} : function() {
|
|
6006
6012
|
setTimeout(p, 0);
|
|
6007
6013
|
};
|
|
@@ -6013,26 +6019,26 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6013
6019
|
}
|
|
6014
6020
|
var d = [];
|
|
6015
6021
|
function p() {
|
|
6016
|
-
var
|
|
6022
|
+
var u, h;
|
|
6017
6023
|
o = !0;
|
|
6018
6024
|
for (var g = d.length; g; ) {
|
|
6019
|
-
for (h = d, d = [],
|
|
6025
|
+
for (h = d, d = [], u = -1; ++u < g; ) h[u]();
|
|
6020
6026
|
g = d.length;
|
|
6021
6027
|
}
|
|
6022
6028
|
o = !1;
|
|
6023
6029
|
}
|
|
6024
|
-
r.exports = function(
|
|
6025
|
-
d.push(
|
|
6030
|
+
r.exports = function(u) {
|
|
6031
|
+
d.push(u) !== 1 || o || a();
|
|
6026
6032
|
};
|
|
6027
6033
|
}).call(this, typeof Et < "u" ? Et : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
6028
6034
|
}, {}], 37: [function(t, r, n) {
|
|
6029
6035
|
var s = t("immediate");
|
|
6030
6036
|
function a() {
|
|
6031
6037
|
}
|
|
6032
|
-
var o = {}, l = ["REJECTED"],
|
|
6038
|
+
var o = {}, l = ["REJECTED"], f = ["FULFILLED"], m = ["PENDING"];
|
|
6033
6039
|
function v(g) {
|
|
6034
6040
|
if (typeof g != "function") throw new TypeError("resolver must be a function");
|
|
6035
|
-
this.state = m, this.queue = [], this.outcome = void 0, g !== a &&
|
|
6041
|
+
this.state = m, this.queue = [], this.outcome = void 0, g !== a && u(this, g);
|
|
6036
6042
|
}
|
|
6037
6043
|
function b(g, y, A) {
|
|
6038
6044
|
this.promise = g, typeof y == "function" && (this.onFulfilled = y, this.callFulfilled = this.otherCallFulfilled), typeof A == "function" && (this.onRejected = A, this.callRejected = this.otherCallRejected);
|
|
@@ -6054,7 +6060,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6054
6060
|
y.apply(g, arguments);
|
|
6055
6061
|
};
|
|
6056
6062
|
}
|
|
6057
|
-
function
|
|
6063
|
+
function u(g, y) {
|
|
6058
6064
|
var A = !1;
|
|
6059
6065
|
function S(_) {
|
|
6060
6066
|
A || (A = !0, o.reject(g, _));
|
|
@@ -6091,9 +6097,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6091
6097
|
}, v.prototype.catch = function(g) {
|
|
6092
6098
|
return this.then(null, g);
|
|
6093
6099
|
}, v.prototype.then = function(g, y) {
|
|
6094
|
-
if (typeof g != "function" && this.state ===
|
|
6100
|
+
if (typeof g != "function" && this.state === f || typeof y != "function" && this.state === l) return this;
|
|
6095
6101
|
var A = new this.constructor(a);
|
|
6096
|
-
return this.state !== m ? d(A, this.state ===
|
|
6102
|
+
return this.state !== m ? d(A, this.state === f ? g : y, this.outcome) : this.queue.push(new b(A, g, y)), A;
|
|
6097
6103
|
}, b.prototype.callFulfilled = function(g) {
|
|
6098
6104
|
o.resolve(this.promise, g);
|
|
6099
6105
|
}, b.prototype.otherCallFulfilled = function(g) {
|
|
@@ -6106,9 +6112,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6106
6112
|
var A = h(p, y);
|
|
6107
6113
|
if (A.status === "error") return o.reject(g, A.value);
|
|
6108
6114
|
var S = A.value;
|
|
6109
|
-
if (S)
|
|
6115
|
+
if (S) u(g, S);
|
|
6110
6116
|
else {
|
|
6111
|
-
g.state =
|
|
6117
|
+
g.state = f, g.outcome = y;
|
|
6112
6118
|
for (var R = -1, F = g.queue.length; ++R < F; ) g.queue[R].callFulfilled(y);
|
|
6113
6119
|
}
|
|
6114
6120
|
return g;
|
|
@@ -6152,12 +6158,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6152
6158
|
var s = {};
|
|
6153
6159
|
(0, t("./lib/utils/common").assign)(s, t("./lib/deflate"), t("./lib/inflate"), t("./lib/zlib/constants")), r.exports = s;
|
|
6154
6160
|
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(t, r, n) {
|
|
6155
|
-
var s = t("./zlib/deflate"), a = t("./utils/common"), o = t("./utils/strings"), l = t("./zlib/messages"),
|
|
6156
|
-
function
|
|
6157
|
-
if (!(this instanceof
|
|
6161
|
+
var s = t("./zlib/deflate"), a = t("./utils/common"), o = t("./utils/strings"), l = t("./zlib/messages"), f = t("./zlib/zstream"), m = Object.prototype.toString, v = 0, b = -1, d = 0, p = 8;
|
|
6162
|
+
function u(g) {
|
|
6163
|
+
if (!(this instanceof u)) return new u(g);
|
|
6158
6164
|
this.options = a.assign({ level: b, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: d, to: "" }, g || {});
|
|
6159
6165
|
var y = this.options;
|
|
6160
|
-
y.raw && 0 < y.windowBits ? y.windowBits = -y.windowBits : y.gzip && 0 < y.windowBits && y.windowBits < 16 && (y.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new
|
|
6166
|
+
y.raw && 0 < y.windowBits ? y.windowBits = -y.windowBits : y.gzip && 0 < y.windowBits && y.windowBits < 16 && (y.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new f(), this.strm.avail_out = 0;
|
|
6161
6167
|
var A = s.deflateInit2(this.strm, y.level, y.method, y.windowBits, y.memLevel, y.strategy);
|
|
6162
6168
|
if (A !== v) throw new Error(l[A]);
|
|
6163
6169
|
if (y.header && s.deflateSetHeader(this.strm, y.header), y.dictionary) {
|
|
@@ -6167,11 +6173,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6167
6173
|
}
|
|
6168
6174
|
}
|
|
6169
6175
|
function h(g, y) {
|
|
6170
|
-
var A = new
|
|
6176
|
+
var A = new u(y);
|
|
6171
6177
|
if (A.push(g, !0), A.err) throw A.msg || l[A.err];
|
|
6172
6178
|
return A.result;
|
|
6173
6179
|
}
|
|
6174
|
-
|
|
6180
|
+
u.prototype.push = function(g, y) {
|
|
6175
6181
|
var A, S, R = this.strm, F = this.options.chunkSize;
|
|
6176
6182
|
if (this.ended) return !1;
|
|
6177
6183
|
S = y === ~~y ? y : y === !0 ? 4 : 0, typeof g == "string" ? R.input = o.string2buf(g) : m.call(g) === "[object ArrayBuffer]" ? R.input = new Uint8Array(g) : R.input = g, R.next_in = 0, R.avail_in = R.input.length;
|
|
@@ -6180,71 +6186,71 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6180
6186
|
R.avail_out !== 0 && (R.avail_in !== 0 || S !== 4 && S !== 2) || (this.options.to === "string" ? this.onData(o.buf2binstring(a.shrinkBuf(R.output, R.next_out))) : this.onData(a.shrinkBuf(R.output, R.next_out)));
|
|
6181
6187
|
} while ((0 < R.avail_in || R.avail_out === 0) && A !== 1);
|
|
6182
6188
|
return S === 4 ? (A = s.deflateEnd(this.strm), this.onEnd(A), this.ended = !0, A === v) : S !== 2 || (this.onEnd(v), !(R.avail_out = 0));
|
|
6183
|
-
},
|
|
6189
|
+
}, u.prototype.onData = function(g) {
|
|
6184
6190
|
this.chunks.push(g);
|
|
6185
|
-
},
|
|
6191
|
+
}, u.prototype.onEnd = function(g) {
|
|
6186
6192
|
g === v && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = a.flattenChunks(this.chunks)), this.chunks = [], this.err = g, this.msg = this.strm.msg;
|
|
6187
|
-
}, n.Deflate =
|
|
6193
|
+
}, n.Deflate = u, n.deflate = h, n.deflateRaw = function(g, y) {
|
|
6188
6194
|
return (y = y || {}).raw = !0, h(g, y);
|
|
6189
6195
|
}, n.gzip = function(g, y) {
|
|
6190
6196
|
return (y = y || {}).gzip = !0, h(g, y);
|
|
6191
6197
|
};
|
|
6192
6198
|
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(t, r, n) {
|
|
6193
|
-
var s = t("./zlib/inflate"), a = t("./utils/common"), o = t("./utils/strings"), l = t("./zlib/constants"),
|
|
6194
|
-
function d(
|
|
6195
|
-
if (!(this instanceof d)) return new d(
|
|
6196
|
-
this.options = a.assign({ chunkSize: 16384, windowBits: 0, to: "" },
|
|
6199
|
+
var s = t("./zlib/inflate"), a = t("./utils/common"), o = t("./utils/strings"), l = t("./zlib/constants"), f = t("./zlib/messages"), m = t("./zlib/zstream"), v = t("./zlib/gzheader"), b = Object.prototype.toString;
|
|
6200
|
+
function d(u) {
|
|
6201
|
+
if (!(this instanceof d)) return new d(u);
|
|
6202
|
+
this.options = a.assign({ chunkSize: 16384, windowBits: 0, to: "" }, u || {});
|
|
6197
6203
|
var h = this.options;
|
|
6198
|
-
h.raw && 0 <= h.windowBits && h.windowBits < 16 && (h.windowBits = -h.windowBits, h.windowBits === 0 && (h.windowBits = -15)), !(0 <= h.windowBits && h.windowBits < 16) ||
|
|
6204
|
+
h.raw && 0 <= h.windowBits && h.windowBits < 16 && (h.windowBits = -h.windowBits, h.windowBits === 0 && (h.windowBits = -15)), !(0 <= h.windowBits && h.windowBits < 16) || u && u.windowBits || (h.windowBits += 32), 15 < h.windowBits && h.windowBits < 48 && !(15 & h.windowBits) && (h.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new m(), this.strm.avail_out = 0;
|
|
6199
6205
|
var g = s.inflateInit2(this.strm, h.windowBits);
|
|
6200
|
-
if (g !== l.Z_OK) throw new Error(
|
|
6206
|
+
if (g !== l.Z_OK) throw new Error(f[g]);
|
|
6201
6207
|
this.header = new v(), s.inflateGetHeader(this.strm, this.header);
|
|
6202
6208
|
}
|
|
6203
|
-
function p(
|
|
6209
|
+
function p(u, h) {
|
|
6204
6210
|
var g = new d(h);
|
|
6205
|
-
if (g.push(
|
|
6211
|
+
if (g.push(u, !0), g.err) throw g.msg || f[g.err];
|
|
6206
6212
|
return g.result;
|
|
6207
6213
|
}
|
|
6208
|
-
d.prototype.push = function(
|
|
6214
|
+
d.prototype.push = function(u, h) {
|
|
6209
6215
|
var g, y, A, S, R, F, _ = this.strm, G = this.options.chunkSize, z = this.options.dictionary, W = !1;
|
|
6210
6216
|
if (this.ended) return !1;
|
|
6211
|
-
y = h === ~~h ? h : h === !0 ? l.Z_FINISH : l.Z_NO_FLUSH, typeof
|
|
6217
|
+
y = h === ~~h ? h : h === !0 ? l.Z_FINISH : l.Z_NO_FLUSH, typeof u == "string" ? _.input = o.binstring2buf(u) : b.call(u) === "[object ArrayBuffer]" ? _.input = new Uint8Array(u) : _.input = u, _.next_in = 0, _.avail_in = _.input.length;
|
|
6212
6218
|
do {
|
|
6213
6219
|
if (_.avail_out === 0 && (_.output = new a.Buf8(G), _.next_out = 0, _.avail_out = G), (g = s.inflate(_, l.Z_NO_FLUSH)) === l.Z_NEED_DICT && z && (F = typeof z == "string" ? o.string2buf(z) : b.call(z) === "[object ArrayBuffer]" ? new Uint8Array(z) : z, g = s.inflateSetDictionary(this.strm, F)), g === l.Z_BUF_ERROR && W === !0 && (g = l.Z_OK, W = !1), g !== l.Z_STREAM_END && g !== l.Z_OK) return this.onEnd(g), !(this.ended = !0);
|
|
6214
6220
|
_.next_out && (_.avail_out !== 0 && g !== l.Z_STREAM_END && (_.avail_in !== 0 || y !== l.Z_FINISH && y !== l.Z_SYNC_FLUSH) || (this.options.to === "string" ? (A = o.utf8border(_.output, _.next_out), S = _.next_out - A, R = o.buf2string(_.output, A), _.next_out = S, _.avail_out = G - S, S && a.arraySet(_.output, _.output, A, S, 0), this.onData(R)) : this.onData(a.shrinkBuf(_.output, _.next_out)))), _.avail_in === 0 && _.avail_out === 0 && (W = !0);
|
|
6215
6221
|
} while ((0 < _.avail_in || _.avail_out === 0) && g !== l.Z_STREAM_END);
|
|
6216
6222
|
return g === l.Z_STREAM_END && (y = l.Z_FINISH), y === l.Z_FINISH ? (g = s.inflateEnd(this.strm), this.onEnd(g), this.ended = !0, g === l.Z_OK) : y !== l.Z_SYNC_FLUSH || (this.onEnd(l.Z_OK), !(_.avail_out = 0));
|
|
6217
|
-
}, d.prototype.onData = function(
|
|
6218
|
-
this.chunks.push(
|
|
6219
|
-
}, d.prototype.onEnd = function(
|
|
6220
|
-
|
|
6221
|
-
}, n.Inflate = d, n.inflate = p, n.inflateRaw = function(
|
|
6222
|
-
return (h = h || {}).raw = !0, p(
|
|
6223
|
+
}, d.prototype.onData = function(u) {
|
|
6224
|
+
this.chunks.push(u);
|
|
6225
|
+
}, d.prototype.onEnd = function(u) {
|
|
6226
|
+
u === l.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = a.flattenChunks(this.chunks)), this.chunks = [], this.err = u, this.msg = this.strm.msg;
|
|
6227
|
+
}, n.Inflate = d, n.inflate = p, n.inflateRaw = function(u, h) {
|
|
6228
|
+
return (h = h || {}).raw = !0, p(u, h);
|
|
6223
6229
|
}, n.ungzip = p;
|
|
6224
6230
|
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(t, r, n) {
|
|
6225
6231
|
var s = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
|
|
6226
6232
|
n.assign = function(l) {
|
|
6227
|
-
for (var
|
|
6228
|
-
var m =
|
|
6233
|
+
for (var f = Array.prototype.slice.call(arguments, 1); f.length; ) {
|
|
6234
|
+
var m = f.shift();
|
|
6229
6235
|
if (m) {
|
|
6230
6236
|
if (typeof m != "object") throw new TypeError(m + "must be non-object");
|
|
6231
6237
|
for (var v in m) m.hasOwnProperty(v) && (l[v] = m[v]);
|
|
6232
6238
|
}
|
|
6233
6239
|
}
|
|
6234
6240
|
return l;
|
|
6235
|
-
}, n.shrinkBuf = function(l,
|
|
6236
|
-
return l.length ===
|
|
6241
|
+
}, n.shrinkBuf = function(l, f) {
|
|
6242
|
+
return l.length === f ? l : l.subarray ? l.subarray(0, f) : (l.length = f, l);
|
|
6237
6243
|
};
|
|
6238
|
-
var a = { arraySet: function(l,
|
|
6239
|
-
if (
|
|
6240
|
-
else for (var d = 0; d < v; d++) l[b + d] =
|
|
6244
|
+
var a = { arraySet: function(l, f, m, v, b) {
|
|
6245
|
+
if (f.subarray && l.subarray) l.set(f.subarray(m, m + v), b);
|
|
6246
|
+
else for (var d = 0; d < v; d++) l[b + d] = f[m + d];
|
|
6241
6247
|
}, flattenChunks: function(l) {
|
|
6242
|
-
var
|
|
6243
|
-
for (
|
|
6244
|
-
for (p = new Uint8Array(v),
|
|
6248
|
+
var f, m, v, b, d, p;
|
|
6249
|
+
for (f = v = 0, m = l.length; f < m; f++) v += l[f].length;
|
|
6250
|
+
for (p = new Uint8Array(v), f = b = 0, m = l.length; f < m; f++) d = l[f], p.set(d, b), b += d.length;
|
|
6245
6251
|
return p;
|
|
6246
|
-
} }, o = { arraySet: function(l,
|
|
6247
|
-
for (var d = 0; d < v; d++) l[b + d] =
|
|
6252
|
+
} }, o = { arraySet: function(l, f, m, v, b) {
|
|
6253
|
+
for (var d = 0; d < v; d++) l[b + d] = f[m + d];
|
|
6248
6254
|
}, flattenChunks: function(l) {
|
|
6249
6255
|
return [].concat.apply([], l);
|
|
6250
6256
|
} };
|
|
@@ -6263,16 +6269,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6263
6269
|
} catch {
|
|
6264
6270
|
o = !1;
|
|
6265
6271
|
}
|
|
6266
|
-
for (var l = new s.Buf8(256),
|
|
6272
|
+
for (var l = new s.Buf8(256), f = 0; f < 256; f++) l[f] = 252 <= f ? 6 : 248 <= f ? 5 : 240 <= f ? 4 : 224 <= f ? 3 : 192 <= f ? 2 : 1;
|
|
6267
6273
|
function m(v, b) {
|
|
6268
6274
|
if (b < 65537 && (v.subarray && o || !v.subarray && a)) return String.fromCharCode.apply(null, s.shrinkBuf(v, b));
|
|
6269
6275
|
for (var d = "", p = 0; p < b; p++) d += String.fromCharCode(v[p]);
|
|
6270
6276
|
return d;
|
|
6271
6277
|
}
|
|
6272
6278
|
l[254] = l[254] = 1, n.string2buf = function(v) {
|
|
6273
|
-
var b, d, p,
|
|
6274
|
-
for (
|
|
6275
|
-
for (b = new s.Buf8(y),
|
|
6279
|
+
var b, d, p, u, h, g = v.length, y = 0;
|
|
6280
|
+
for (u = 0; u < g; u++) (64512 & (d = v.charCodeAt(u))) == 55296 && u + 1 < g && (64512 & (p = v.charCodeAt(u + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (p - 56320), u++), y += d < 128 ? 1 : d < 2048 ? 2 : d < 65536 ? 3 : 4;
|
|
6281
|
+
for (b = new s.Buf8(y), u = h = 0; h < y; u++) (64512 & (d = v.charCodeAt(u))) == 55296 && u + 1 < g && (64512 & (p = v.charCodeAt(u + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (p - 56320), u++), d < 128 ? b[h++] = d : (d < 2048 ? b[h++] = 192 | d >>> 6 : (d < 65536 ? b[h++] = 224 | d >>> 12 : (b[h++] = 240 | d >>> 18, b[h++] = 128 | d >>> 12 & 63), b[h++] = 128 | d >>> 6 & 63), b[h++] = 128 | 63 & d);
|
|
6276
6282
|
return b;
|
|
6277
6283
|
}, n.buf2binstring = function(v) {
|
|
6278
6284
|
return m(v, v.length);
|
|
@@ -6280,12 +6286,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6280
6286
|
for (var b = new s.Buf8(v.length), d = 0, p = b.length; d < p; d++) b[d] = v.charCodeAt(d);
|
|
6281
6287
|
return b;
|
|
6282
6288
|
}, n.buf2string = function(v, b) {
|
|
6283
|
-
var d, p,
|
|
6284
|
-
for (d = p = 0; d < g; ) if ((
|
|
6285
|
-
else if (4 < (h = l[
|
|
6289
|
+
var d, p, u, h, g = b || v.length, y = new Array(2 * g);
|
|
6290
|
+
for (d = p = 0; d < g; ) if ((u = v[d++]) < 128) y[p++] = u;
|
|
6291
|
+
else if (4 < (h = l[u])) y[p++] = 65533, d += h - 1;
|
|
6286
6292
|
else {
|
|
6287
|
-
for (
|
|
6288
|
-
1 < h ? y[p++] = 65533 :
|
|
6293
|
+
for (u &= h === 2 ? 31 : h === 3 ? 15 : 7; 1 < h && d < g; ) u = u << 6 | 63 & v[d++], h--;
|
|
6294
|
+
1 < h ? y[p++] = 65533 : u < 65536 ? y[p++] = u : (u -= 65536, y[p++] = 55296 | u >> 10 & 1023, y[p++] = 56320 | 1023 & u);
|
|
6289
6295
|
}
|
|
6290
6296
|
return m(y, p);
|
|
6291
6297
|
}, n.utf8border = function(v, b) {
|
|
@@ -6295,11 +6301,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6295
6301
|
};
|
|
6296
6302
|
}, { "./common": 41 }], 43: [function(t, r, n) {
|
|
6297
6303
|
r.exports = function(s, a, o, l) {
|
|
6298
|
-
for (var
|
|
6299
|
-
for (o -= v = 2e3 < o ? 2e3 : o; m = m + (
|
|
6300
|
-
|
|
6304
|
+
for (var f = 65535 & s | 0, m = s >>> 16 & 65535 | 0, v = 0; o !== 0; ) {
|
|
6305
|
+
for (o -= v = 2e3 < o ? 2e3 : o; m = m + (f = f + a[l++] | 0) | 0, --v; ) ;
|
|
6306
|
+
f %= 65521, m %= 65521;
|
|
6301
6307
|
}
|
|
6302
|
-
return
|
|
6308
|
+
return f | m << 16 | 0;
|
|
6303
6309
|
};
|
|
6304
6310
|
}, {}], 44: [function(t, r, n) {
|
|
6305
6311
|
r.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 };
|
|
@@ -6307,19 +6313,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6307
6313
|
var s = function() {
|
|
6308
6314
|
for (var a, o = [], l = 0; l < 256; l++) {
|
|
6309
6315
|
a = l;
|
|
6310
|
-
for (var
|
|
6316
|
+
for (var f = 0; f < 8; f++) a = 1 & a ? 3988292384 ^ a >>> 1 : a >>> 1;
|
|
6311
6317
|
o[l] = a;
|
|
6312
6318
|
}
|
|
6313
6319
|
return o;
|
|
6314
6320
|
}();
|
|
6315
|
-
r.exports = function(a, o, l,
|
|
6316
|
-
var m = s, v =
|
|
6321
|
+
r.exports = function(a, o, l, f) {
|
|
6322
|
+
var m = s, v = f + l;
|
|
6317
6323
|
a ^= -1;
|
|
6318
|
-
for (var b =
|
|
6324
|
+
for (var b = f; b < v; b++) a = a >>> 8 ^ m[255 & (a ^ o[b])];
|
|
6319
6325
|
return -1 ^ a;
|
|
6320
6326
|
};
|
|
6321
6327
|
}, {}], 46: [function(t, r, n) {
|
|
6322
|
-
var s, a = t("../utils/common"), o = t("./trees"), l = t("./adler32"),
|
|
6328
|
+
var s, a = t("../utils/common"), o = t("./trees"), l = t("./adler32"), f = t("./crc32"), m = t("./messages"), v = 0, b = 4, d = 0, p = -2, u = -1, h = 4, g = 2, y = 8, A = 9, S = 286, R = 30, F = 19, _ = 2 * S + 1, G = 15, z = 3, W = 258, ee = W + z + 1, T = 42, B = 113, w = 1, M = 2, ie = 3, Z = 4;
|
|
6323
6329
|
function oe(c, D) {
|
|
6324
6330
|
return c.msg = m[D], D;
|
|
6325
6331
|
}
|
|
@@ -6368,7 +6374,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6368
6374
|
E += X;
|
|
6369
6375
|
}
|
|
6370
6376
|
if (c.strm.avail_in === 0) break;
|
|
6371
|
-
if (N = c.strm, U = c.window, P = c.strstart + c.lookahead, q = E, $ = void 0, $ = N.avail_in, q < $ && ($ = q), O = $ === 0 ? 0 : (N.avail_in -= $, a.arraySet(U, N.input, N.next_in, $, P), N.state.wrap === 1 ? N.adler = l(N.adler, U, $, P) : N.state.wrap === 2 && (N.adler =
|
|
6377
|
+
if (N = c.strm, U = c.window, P = c.strstart + c.lookahead, q = E, $ = void 0, $ = N.avail_in, q < $ && ($ = q), O = $ === 0 ? 0 : (N.avail_in -= $, a.arraySet(U, N.input, N.next_in, $, P), N.state.wrap === 1 ? N.adler = l(N.adler, U, $, P) : N.state.wrap === 2 && (N.adler = f(N.adler, U, $, P)), N.next_in += $, N.total_in += $, $), c.lookahead += O, c.lookahead + c.insert >= z) for (I = c.strstart - c.insert, c.ins_h = c.window[I], c.ins_h = (c.ins_h << c.hash_shift ^ c.window[I + 1]) & c.hash_mask; c.insert && (c.ins_h = (c.ins_h << c.hash_shift ^ c.window[I + z - 1]) & c.hash_mask, c.prev[I & c.w_mask] = c.head[c.ins_h], c.head[c.ins_h] = I, I++, c.insert--, !(c.lookahead + c.insert < z)); ) ;
|
|
6372
6378
|
} while (c.lookahead < ee && c.strm.avail_in !== 0);
|
|
6373
6379
|
}
|
|
6374
6380
|
function Ee(c, D) {
|
|
@@ -6420,7 +6426,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6420
6426
|
function Le(c, D, O, k, E, I) {
|
|
6421
6427
|
if (!c) return p;
|
|
6422
6428
|
var N = 1;
|
|
6423
|
-
if (D ===
|
|
6429
|
+
if (D === u && (D = 6), k < 0 ? (N = 0, k = -k) : 15 < k && (N = 2, k -= 16), E < 1 || A < E || O !== y || k < 8 || 15 < k || D < 0 || 9 < D || I < 0 || h < I) return oe(c, p);
|
|
6424
6430
|
k === 8 && (k = 9);
|
|
6425
6431
|
var U = new ye();
|
|
6426
6432
|
return (c.state = U).strm = c, U.wrap = N, U.gzhead = null, U.w_bits = k, U.w_size = 1 << U.w_bits, U.w_mask = U.w_size - 1, U.hash_bits = E + 7, U.hash_size = 1 << U.hash_bits, U.hash_mask = U.hash_size - 1, U.hash_shift = ~~((U.hash_bits + z - 1) / z), U.window = new a.Buf8(2 * U.w_size), U.head = new a.Buf16(U.hash_size), U.prev = new a.Buf16(U.w_size), U.lit_bufsize = 1 << E + 6, U.pending_buf_size = 4 * U.lit_bufsize, U.pending_buf = new a.Buf8(U.pending_buf_size), U.d_buf = 1 * U.lit_bufsize, U.l_buf = 3 * U.lit_bufsize, U.level = D, U.strategy = I, U.method = O, Fe(c);
|
|
@@ -6445,36 +6451,36 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6445
6451
|
var O, k, E, I;
|
|
6446
6452
|
if (!c || !c.state || 5 < D || D < 0) return c ? oe(c, p) : p;
|
|
6447
6453
|
if (k = c.state, !c.output || !c.input && c.avail_in !== 0 || k.status === 666 && D !== b) return oe(c, c.avail_out === 0 ? -5 : p);
|
|
6448
|
-
if (k.strm = c, O = k.last_flush, k.last_flush = D, k.status === T) if (k.wrap === 2) c.adler = 0, ne(k, 31), ne(k, 139), ne(k, 8), k.gzhead ? (ne(k, (k.gzhead.text ? 1 : 0) + (k.gzhead.hcrc ? 2 : 0) + (k.gzhead.extra ? 4 : 0) + (k.gzhead.name ? 8 : 0) + (k.gzhead.comment ? 16 : 0)), ne(k, 255 & k.gzhead.time), ne(k, k.gzhead.time >> 8 & 255), ne(k, k.gzhead.time >> 16 & 255), ne(k, k.gzhead.time >> 24 & 255), ne(k, k.level === 9 ? 2 : 2 <= k.strategy || k.level < 2 ? 4 : 0), ne(k, 255 & k.gzhead.os), k.gzhead.extra && k.gzhead.extra.length && (ne(k, 255 & k.gzhead.extra.length), ne(k, k.gzhead.extra.length >> 8 & 255)), k.gzhead.hcrc && (c.adler =
|
|
6454
|
+
if (k.strm = c, O = k.last_flush, k.last_flush = D, k.status === T) if (k.wrap === 2) c.adler = 0, ne(k, 31), ne(k, 139), ne(k, 8), k.gzhead ? (ne(k, (k.gzhead.text ? 1 : 0) + (k.gzhead.hcrc ? 2 : 0) + (k.gzhead.extra ? 4 : 0) + (k.gzhead.name ? 8 : 0) + (k.gzhead.comment ? 16 : 0)), ne(k, 255 & k.gzhead.time), ne(k, k.gzhead.time >> 8 & 255), ne(k, k.gzhead.time >> 16 & 255), ne(k, k.gzhead.time >> 24 & 255), ne(k, k.level === 9 ? 2 : 2 <= k.strategy || k.level < 2 ? 4 : 0), ne(k, 255 & k.gzhead.os), k.gzhead.extra && k.gzhead.extra.length && (ne(k, 255 & k.gzhead.extra.length), ne(k, k.gzhead.extra.length >> 8 & 255)), k.gzhead.hcrc && (c.adler = f(c.adler, k.pending_buf, k.pending, 0)), k.gzindex = 0, k.status = 69) : (ne(k, 0), ne(k, 0), ne(k, 0), ne(k, 0), ne(k, 0), ne(k, k.level === 9 ? 2 : 2 <= k.strategy || k.level < 2 ? 4 : 0), ne(k, 3), k.status = B);
|
|
6449
6455
|
else {
|
|
6450
6456
|
var N = y + (k.w_bits - 8 << 4) << 8;
|
|
6451
6457
|
N |= (2 <= k.strategy || k.level < 2 ? 0 : k.level < 6 ? 1 : k.level === 6 ? 2 : 3) << 6, k.strstart !== 0 && (N |= 32), N += 31 - N % 31, k.status = B, Q(k, N), k.strstart !== 0 && (Q(k, c.adler >>> 16), Q(k, 65535 & c.adler)), c.adler = 1;
|
|
6452
6458
|
}
|
|
6453
6459
|
if (k.status === 69) if (k.gzhead.extra) {
|
|
6454
|
-
for (E = k.pending; k.gzindex < (65535 & k.gzhead.extra.length) && (k.pending !== k.pending_buf_size || (k.gzhead.hcrc && k.pending > E && (c.adler =
|
|
6455
|
-
k.gzhead.hcrc && k.pending > E && (c.adler =
|
|
6460
|
+
for (E = k.pending; k.gzindex < (65535 & k.gzhead.extra.length) && (k.pending !== k.pending_buf_size || (k.gzhead.hcrc && k.pending > E && (c.adler = f(c.adler, k.pending_buf, k.pending - E, E)), j(c), E = k.pending, k.pending !== k.pending_buf_size)); ) ne(k, 255 & k.gzhead.extra[k.gzindex]), k.gzindex++;
|
|
6461
|
+
k.gzhead.hcrc && k.pending > E && (c.adler = f(c.adler, k.pending_buf, k.pending - E, E)), k.gzindex === k.gzhead.extra.length && (k.gzindex = 0, k.status = 73);
|
|
6456
6462
|
} else k.status = 73;
|
|
6457
6463
|
if (k.status === 73) if (k.gzhead.name) {
|
|
6458
6464
|
E = k.pending;
|
|
6459
6465
|
do {
|
|
6460
|
-
if (k.pending === k.pending_buf_size && (k.gzhead.hcrc && k.pending > E && (c.adler =
|
|
6466
|
+
if (k.pending === k.pending_buf_size && (k.gzhead.hcrc && k.pending > E && (c.adler = f(c.adler, k.pending_buf, k.pending - E, E)), j(c), E = k.pending, k.pending === k.pending_buf_size)) {
|
|
6461
6467
|
I = 1;
|
|
6462
6468
|
break;
|
|
6463
6469
|
}
|
|
6464
6470
|
I = k.gzindex < k.gzhead.name.length ? 255 & k.gzhead.name.charCodeAt(k.gzindex++) : 0, ne(k, I);
|
|
6465
6471
|
} while (I !== 0);
|
|
6466
|
-
k.gzhead.hcrc && k.pending > E && (c.adler =
|
|
6472
|
+
k.gzhead.hcrc && k.pending > E && (c.adler = f(c.adler, k.pending_buf, k.pending - E, E)), I === 0 && (k.gzindex = 0, k.status = 91);
|
|
6467
6473
|
} else k.status = 91;
|
|
6468
6474
|
if (k.status === 91) if (k.gzhead.comment) {
|
|
6469
6475
|
E = k.pending;
|
|
6470
6476
|
do {
|
|
6471
|
-
if (k.pending === k.pending_buf_size && (k.gzhead.hcrc && k.pending > E && (c.adler =
|
|
6477
|
+
if (k.pending === k.pending_buf_size && (k.gzhead.hcrc && k.pending > E && (c.adler = f(c.adler, k.pending_buf, k.pending - E, E)), j(c), E = k.pending, k.pending === k.pending_buf_size)) {
|
|
6472
6478
|
I = 1;
|
|
6473
6479
|
break;
|
|
6474
6480
|
}
|
|
6475
6481
|
I = k.gzindex < k.gzhead.comment.length ? 255 & k.gzhead.comment.charCodeAt(k.gzindex++) : 0, ne(k, I);
|
|
6476
6482
|
} while (I !== 0);
|
|
6477
|
-
k.gzhead.hcrc && k.pending > E && (c.adler =
|
|
6483
|
+
k.gzhead.hcrc && k.pending > E && (c.adler = f(c.adler, k.pending_buf, k.pending - E, E)), I === 0 && (k.status = 103);
|
|
6478
6484
|
} else k.status = 103;
|
|
6479
6485
|
if (k.status === 103 && (k.gzhead.hcrc ? (k.pending + 2 > k.pending_buf_size && j(c), k.pending + 2 <= k.pending_buf_size && (ne(k, 255 & c.adler), ne(k, c.adler >> 8 & 255), c.adler = 0, k.status = B)) : k.status = B), k.pending !== 0) {
|
|
6480
6486
|
if (j(c), c.avail_out === 0) return k.last_flush = -1, d;
|
|
@@ -6529,8 +6535,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6529
6535
|
};
|
|
6530
6536
|
}, {}], 48: [function(t, r, n) {
|
|
6531
6537
|
r.exports = function(s, a) {
|
|
6532
|
-
var o, l,
|
|
6533
|
-
o = s.state, l = s.next_in, w = s.input,
|
|
6538
|
+
var o, l, f, m, v, b, d, p, u, h, g, y, A, S, R, F, _, G, z, W, ee, T, B, w, M;
|
|
6539
|
+
o = s.state, l = s.next_in, w = s.input, f = l + (s.avail_in - 5), m = s.next_out, M = s.output, v = m - (a - s.avail_out), b = m + (s.avail_out - 257), d = o.dmax, p = o.wsize, u = o.whave, h = o.wnext, g = o.window, y = o.hold, A = o.bits, S = o.lencode, R = o.distcode, F = (1 << o.lenbits) - 1, _ = (1 << o.distbits) - 1;
|
|
6534
6540
|
e: do {
|
|
6535
6541
|
A < 15 && (y += w[l++] << A, A += 8, y += w[l++] << A, A += 8), G = S[y & F];
|
|
6536
6542
|
t: for (; ; ) {
|
|
@@ -6563,7 +6569,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6563
6569
|
break e;
|
|
6564
6570
|
}
|
|
6565
6571
|
if (y >>>= z, A -= z, (z = m - v) < ee) {
|
|
6566
|
-
if (
|
|
6572
|
+
if (u < (z = ee - z) && o.sane) {
|
|
6567
6573
|
s.msg = "invalid distance too far back", o.mode = 30;
|
|
6568
6574
|
break e;
|
|
6569
6575
|
}
|
|
@@ -6595,11 +6601,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6595
6601
|
}
|
|
6596
6602
|
break;
|
|
6597
6603
|
}
|
|
6598
|
-
} while (l <
|
|
6599
|
-
l -= W = A >> 3, y &= (1 << (A -= W << 3)) - 1, s.next_in = l, s.next_out = m, s.avail_in = l <
|
|
6604
|
+
} while (l < f && m < b);
|
|
6605
|
+
l -= W = A >> 3, y &= (1 << (A -= W << 3)) - 1, s.next_in = l, s.next_out = m, s.avail_in = l < f ? f - l + 5 : 5 - (l - f), s.avail_out = m < b ? b - m + 257 : 257 - (m - b), o.hold = y, o.bits = A;
|
|
6600
6606
|
};
|
|
6601
6607
|
}, {}], 49: [function(t, r, n) {
|
|
6602
|
-
var s = t("../utils/common"), a = t("./adler32"), o = t("./crc32"), l = t("./inffast"),
|
|
6608
|
+
var s = t("../utils/common"), a = t("./adler32"), o = t("./crc32"), l = t("./inffast"), f = t("./inftrees"), m = 1, v = 2, b = 0, d = -2, p = 1, u = 852, h = 592;
|
|
6603
6609
|
function g(T) {
|
|
6604
6610
|
return (T >>> 24 & 255) + (T >>> 8 & 65280) + ((65280 & T) << 8) + ((255 & T) << 24);
|
|
6605
6611
|
}
|
|
@@ -6608,7 +6614,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6608
6614
|
}
|
|
6609
6615
|
function A(T) {
|
|
6610
6616
|
var B;
|
|
6611
|
-
return T && T.state ? (B = T.state, T.total_in = T.total_out = B.total = 0, T.msg = "", B.wrap && (T.adler = 1 & B.wrap), B.mode = p, B.last = 0, B.havedict = 0, B.dmax = 32768, B.head = null, B.hold = 0, B.bits = 0, B.lencode = B.lendyn = new s.Buf32(
|
|
6617
|
+
return T && T.state ? (B = T.state, T.total_in = T.total_out = B.total = 0, T.msg = "", B.wrap && (T.adler = 1 & B.wrap), B.mode = p, B.last = 0, B.havedict = 0, B.dmax = 32768, B.head = null, B.hold = 0, B.bits = 0, B.lencode = B.lendyn = new s.Buf32(u), B.distcode = B.distdyn = new s.Buf32(h), B.sane = 1, B.back = -1, b) : d;
|
|
6612
6618
|
}
|
|
6613
6619
|
function S(T) {
|
|
6614
6620
|
var B;
|
|
@@ -6630,8 +6636,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6630
6636
|
for (; B < 256; ) T.lens[B++] = 9;
|
|
6631
6637
|
for (; B < 280; ) T.lens[B++] = 7;
|
|
6632
6638
|
for (; B < 288; ) T.lens[B++] = 8;
|
|
6633
|
-
for (
|
|
6634
|
-
|
|
6639
|
+
for (f(m, T.lens, 0, 288, _, 0, T.work, { bits: 9 }), B = 0; B < 32; ) T.lens[B++] = 5;
|
|
6640
|
+
f(v, T.lens, 0, 32, G, 0, T.work, { bits: 5 }), z = !1;
|
|
6635
6641
|
}
|
|
6636
6642
|
T.lencode = _, T.lenbits = 9, T.distcode = G, T.distbits = 5;
|
|
6637
6643
|
}
|
|
@@ -6815,7 +6821,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6815
6821
|
w.lens[N[w.have++]] = 7 & j, j >>>= 3, L -= 3;
|
|
6816
6822
|
}
|
|
6817
6823
|
for (; w.have < 19; ) w.lens[N[w.have++]] = 0;
|
|
6818
|
-
if (w.lencode = w.lendyn, w.lenbits = 7, O = { bits: w.lenbits }, D =
|
|
6824
|
+
if (w.lencode = w.lendyn, w.lenbits = 7, O = { bits: w.lenbits }, D = f(0, w.lens, 0, 19, w.lencode, 0, w.work, O), w.lenbits = O.bits, D) {
|
|
6819
6825
|
T.msg = "invalid code lengths set", w.mode = 30;
|
|
6820
6826
|
break;
|
|
6821
6827
|
}
|
|
@@ -6863,11 +6869,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
6863
6869
|
T.msg = "invalid code -- missing end-of-block", w.mode = 30;
|
|
6864
6870
|
break;
|
|
6865
6871
|
}
|
|
6866
|
-
if (w.lenbits = 9, O = { bits: w.lenbits }, D =
|
|
6872
|
+
if (w.lenbits = 9, O = { bits: w.lenbits }, D = f(m, w.lens, 0, w.nlen, w.lencode, 0, w.work, O), w.lenbits = O.bits, D) {
|
|
6867
6873
|
T.msg = "invalid literal/lengths set", w.mode = 30;
|
|
6868
6874
|
break;
|
|
6869
6875
|
}
|
|
6870
|
-
if (w.distbits = 6, w.distcode = w.distdyn, O = { bits: w.distbits }, D =
|
|
6876
|
+
if (w.distbits = 6, w.distcode = w.distdyn, O = { bits: w.distbits }, D = f(v, w.lens, w.nlen, w.ndist, w.distcode, 0, w.work, O), w.distbits = O.bits, D) {
|
|
6871
6877
|
T.msg = "invalid distances set", w.mode = 30;
|
|
6872
6878
|
break;
|
|
6873
6879
|
}
|
|
@@ -7009,19 +7015,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7009
7015
|
return T && T.state ? (w = T.state).wrap !== 0 && w.mode !== 11 ? d : w.mode === 11 && a(1, B, M, 0) !== w.check ? -3 : ee(T, B, M, M) ? (w.mode = 31, -4) : (w.havedict = 1, b) : d;
|
|
7010
7016
|
}, n.inflateInfo = "pako inflate (from Nodeca project)";
|
|
7011
7017
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(t, r, n) {
|
|
7012
|
-
var s = t("../utils/common"), a = [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], o = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0],
|
|
7013
|
-
r.exports = function(m, v, b, d, p,
|
|
7018
|
+
var s = t("../utils/common"), a = [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], o = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], 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];
|
|
7019
|
+
r.exports = function(m, v, b, d, p, u, h, g) {
|
|
7014
7020
|
var y, A, S, R, F, _, G, z, W, ee = g.bits, T = 0, B = 0, w = 0, M = 0, ie = 0, Z = 0, oe = 0, J = 0, re = 0, j = 0, L = null, ne = 0, Q = new s.Buf16(16), Y = new s.Buf16(16), ge = null, Ee = 0;
|
|
7015
7021
|
for (T = 0; T <= 15; T++) Q[T] = 0;
|
|
7016
7022
|
for (B = 0; B < d; B++) Q[v[b + B]]++;
|
|
7017
7023
|
for (ie = ee, M = 15; 1 <= M && Q[M] === 0; M--) ;
|
|
7018
|
-
if (M < ie && (ie = M), M === 0) return p[
|
|
7024
|
+
if (M < ie && (ie = M), M === 0) return p[u++] = 20971520, p[u++] = 20971520, g.bits = 1, 0;
|
|
7019
7025
|
for (w = 1; w < M && Q[w] === 0; w++) ;
|
|
7020
7026
|
for (ie < w && (ie = w), T = J = 1; T <= 15; T++) if (J <<= 1, (J -= Q[T]) < 0) return -1;
|
|
7021
7027
|
if (0 < J && (m === 0 || M !== 1)) return -1;
|
|
7022
7028
|
for (Y[1] = 0, T = 1; T < 15; T++) Y[T + 1] = Y[T] + Q[T];
|
|
7023
7029
|
for (B = 0; B < d; B++) v[b + B] !== 0 && (h[Y[v[b + B]]++] = B);
|
|
7024
|
-
if (_ = m === 0 ? (L = ge = h, 19) : m === 1 ? (L = a, ne -= 257, ge = o, Ee -= 257, 256) : (L = l, ge =
|
|
7030
|
+
if (_ = m === 0 ? (L = ge = h, 19) : m === 1 ? (L = a, ne -= 257, ge = o, Ee -= 257, 256) : (L = l, ge = f, -1), T = w, F = u, oe = B = j = 0, S = -1, R = (re = 1 << (Z = ie)) - 1, m === 1 && 852 < re || m === 2 && 592 < re) return 1;
|
|
7025
7031
|
for (; ; ) {
|
|
7026
7032
|
for (G = T - oe, W = h[B] < _ ? (z = 0, h[B]) : h[B] > _ ? (z = ge[Ee + h[B]], L[ne + h[B]]) : (z = 96, 0), y = 1 << T - oe, w = A = 1 << Z; p[F + (j >> oe) + (A -= y)] = G << 24 | z << 16 | W | 0, A !== 0; ) ;
|
|
7027
7033
|
for (y = 1 << T - 1; j & y; ) y >>= 1;
|
|
@@ -7032,7 +7038,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7032
7038
|
if (ie < T && (j & R) !== S) {
|
|
7033
7039
|
for (oe === 0 && (oe = ie), F += w, J = 1 << (Z = T - oe); Z + oe < M && !((J -= Q[Z + oe]) <= 0); ) Z++, J <<= 1;
|
|
7034
7040
|
if (re += 1 << Z, m === 1 && 852 < re || m === 2 && 592 < re) return 1;
|
|
7035
|
-
p[S = j & R] = ie << 24 | Z << 16 | F -
|
|
7041
|
+
p[S = j & R] = ie << 24 | Z << 16 | F - u | 0;
|
|
7036
7042
|
}
|
|
7037
7043
|
}
|
|
7038
7044
|
return j !== 0 && (p[F + j] = T - oe << 24 | 64 << 16 | 0), g.bits = ie, 0;
|
|
@@ -7044,7 +7050,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7044
7050
|
function l(E) {
|
|
7045
7051
|
for (var I = E.length; 0 <= --I; ) E[I] = 0;
|
|
7046
7052
|
}
|
|
7047
|
-
var
|
|
7053
|
+
var f = 0, m = 29, v = 256, b = v + 1 + m, d = 30, p = 19, u = 2 * b + 1, h = 15, g = 16, y = 7, A = 256, S = 16, R = 17, F = 18, _ = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], G = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], z = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], W = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], ee = new Array(2 * (b + 2));
|
|
7048
7054
|
l(ee);
|
|
7049
7055
|
var T = new Array(2 * d);
|
|
7050
7056
|
l(T);
|
|
@@ -7110,14 +7116,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7110
7116
|
}
|
|
7111
7117
|
function Le(E, I) {
|
|
7112
7118
|
var N, U, P, q = I.dyn_tree, $ = I.stat_desc.static_tree, X = I.stat_desc.has_stree, te = I.stat_desc.elems, me = -1;
|
|
7113
|
-
for (E.heap_len = 0, E.heap_max =
|
|
7119
|
+
for (E.heap_len = 0, E.heap_max = u, N = 0; N < te; N++) q[2 * N] !== 0 ? (E.heap[++E.heap_len] = me = N, E.depth[N] = 0) : q[2 * N + 1] = 0;
|
|
7114
7120
|
for (; E.heap_len < 2; ) q[2 * (P = E.heap[++E.heap_len] = me < 2 ? ++me : 0)] = 1, E.depth[P] = 0, E.opt_len--, X && (E.static_len -= $[2 * P + 1]);
|
|
7115
7121
|
for (I.max_code = me, N = E.heap_len >> 1; 1 <= N; N--) ve(E, q, N);
|
|
7116
7122
|
for (P = te; N = E.heap[1], E.heap[1] = E.heap[E.heap_len--], ve(E, q, 1), U = E.heap[1], E.heap[--E.heap_max] = N, E.heap[--E.heap_max] = U, q[2 * P] = q[2 * N] + q[2 * U], E.depth[P] = (E.depth[N] >= E.depth[U] ? E.depth[N] : E.depth[U]) + 1, q[2 * N + 1] = q[2 * U + 1] = P, E.heap[1] = P++, ve(E, q, 1), 2 <= E.heap_len; ) ;
|
|
7117
7123
|
E.heap[--E.heap_max] = E.heap[1], function(ce, Se) {
|
|
7118
7124
|
var Ge, Ie, qe, be, et, lt, He = Se.dyn_tree, bt = Se.max_code, zt = Se.stat_desc.static_tree, ct = Se.stat_desc.has_stree, xt = Se.stat_desc.extra_bits, Ne = Se.stat_desc.extra_base, Ue = Se.stat_desc.max_length, Ve = 0;
|
|
7119
7125
|
for (be = 0; be <= h; be++) ce.bl_count[be] = 0;
|
|
7120
|
-
for (He[2 * ce.heap[ce.heap_max] + 1] = 0, Ge = ce.heap_max + 1; Ge <
|
|
7126
|
+
for (He[2 * ce.heap[ce.heap_max] + 1] = 0, Ge = ce.heap_max + 1; Ge < u; Ge++) Ue < (be = He[2 * He[2 * (Ie = ce.heap[Ge]) + 1] + 1] + 1) && (be = Ue, Ve++), He[2 * Ie + 1] = be, bt < Ie || (ce.bl_count[be]++, et = 0, Ne <= Ie && (et = xt[Ie - Ne]), lt = He[2 * Ie], ce.opt_len += lt * (be + et), ct && (ce.static_len += lt * (zt[2 * Ie + 1] + et)));
|
|
7121
7127
|
if (Ve !== 0) {
|
|
7122
7128
|
do {
|
|
7123
7129
|
for (be = Ue - 1; ce.bl_count[be] === 0; ) be--;
|
|
@@ -7142,7 +7148,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7142
7148
|
l(J);
|
|
7143
7149
|
var O = !1;
|
|
7144
7150
|
function k(E, I, N, U) {
|
|
7145
|
-
Q(E, (
|
|
7151
|
+
Q(E, (f << 1) + (U ? 1 : 0), 3), function(P, q, $, X) {
|
|
7146
7152
|
ue(P), ne(P, $), ne(P, ~$), s.arraySet(P.pending_buf, P.window, q, $, P.pending), P.pending += $;
|
|
7147
7153
|
}(E, I, N);
|
|
7148
7154
|
}
|
|
@@ -7192,7 +7198,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7192
7198
|
(function(s) {
|
|
7193
7199
|
(function(a, o) {
|
|
7194
7200
|
if (!a.setImmediate) {
|
|
7195
|
-
var l,
|
|
7201
|
+
var l, f, m, v, b = 1, d = {}, p = !1, u = a.document, h = Object.getPrototypeOf && Object.getPrototypeOf(a);
|
|
7196
7202
|
h = h && h.setTimeout ? h : a, l = {}.toString.call(a.process) === "[object process]" ? function(S) {
|
|
7197
7203
|
process.nextTick(function() {
|
|
7198
7204
|
y(S);
|
|
@@ -7210,11 +7216,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
7210
7216
|
y(S.data);
|
|
7211
7217
|
}, function(S) {
|
|
7212
7218
|
m.port2.postMessage(S);
|
|
7213
|
-
}) :
|
|
7214
|
-
var R =
|
|
7219
|
+
}) : u && "onreadystatechange" in u.createElement("script") ? (f = u.documentElement, function(S) {
|
|
7220
|
+
var R = u.createElement("script");
|
|
7215
7221
|
R.onreadystatechange = function() {
|
|
7216
|
-
y(S), R.onreadystatechange = null,
|
|
7217
|
-
},
|
|
7222
|
+
y(S), R.onreadystatechange = null, f.removeChild(R), R = null;
|
|
7223
|
+
}, f.appendChild(R);
|
|
7218
7224
|
}) : function(S) {
|
|
7219
7225
|
setTimeout(y, 0, S);
|
|
7220
7226
|
}, h.setImmediate = function(S) {
|
|
@@ -7277,13 +7283,14 @@ async function Ut({ data: i, format: e, orientation: t, fileName: r }) {
|
|
|
7277
7283
|
}
|
|
7278
7284
|
const Sn = (i, e) => {
|
|
7279
7285
|
let t = [];
|
|
7280
|
-
console.log(i);
|
|
7281
7286
|
const r = i.querySelectorAll("h1, h2, h3, h4, h5, h6, p, span, br, table");
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
+
if (r && r.length > 0) {
|
|
7288
|
+
let n = "";
|
|
7289
|
+
r.forEach((s, a) => {
|
|
7290
|
+
s.textContent !== null && (s.tagName === "H1" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(bn(s.textContent))) : s.tagName === "H2" || s.tagName === "H3" || s.tagName === "H4" || s.tagName === "H5" || s.tagName === "H6" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(xn(s.textContent))) : s.tagName === "P" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(En(s.textContent))) : s.tagName === "SPAN" ? (n === "" && (n = Gr()), n += An(s.textContent), r.length === a + 1 && t.push(n += nt())) : s.tagName === "BR" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(kn())) : s.tagName === "TABLE" && (n !== "" && (t.push(n += nt()), n = ""), t.push(Xt(s, e))));
|
|
7291
|
+
});
|
|
7292
|
+
}
|
|
7293
|
+
return t.join("");
|
|
7287
7294
|
};
|
|
7288
7295
|
function oi(i) {
|
|
7289
7296
|
return new Promise((e) => {
|
|
@@ -7379,7 +7386,7 @@ const Ma = async ({
|
|
|
7379
7386
|
`<span>${d}</span>`
|
|
7380
7387
|
);
|
|
7381
7388
|
});
|
|
7382
|
-
const
|
|
7389
|
+
const f = rn(), m = "f-function-block-notification-" + f, v = `
|
|
7383
7390
|
<div class='f-function-block-notification' id="${s === void 0 ? m : s}">
|
|
7384
7391
|
<div class='f-function-notification'>
|
|
7385
7392
|
<div class='f-function-notification-ico ${t}-notification'>
|
|
@@ -7404,7 +7411,7 @@ const Ma = async ({
|
|
|
7404
7411
|
</div>
|
|
7405
7412
|
${r ? `<div class="f-notification-progress">
|
|
7406
7413
|
<div class="f-notification-progress-bar">
|
|
7407
|
-
<div class="f-notification-progress-value ${t}" id="f-notification-progress-value-${
|
|
7414
|
+
<div class="f-notification-progress-value ${t}" id="f-notification-progress-value-${f}" style="animation: notification-progress-animated ${r}s linear;"/>
|
|
7408
7415
|
</div>
|
|
7409
7416
|
</div>` : ""}
|
|
7410
7417
|
</div>
|
|
@@ -7751,13 +7758,13 @@ function Ot(i, e, t) {
|
|
|
7751
7758
|
metaTokens: !0,
|
|
7752
7759
|
dots: !1,
|
|
7753
7760
|
indexes: !1
|
|
7754
|
-
}, !1, function(
|
|
7755
|
-
return !H.isUndefined(h[
|
|
7761
|
+
}, !1, function(u, h) {
|
|
7762
|
+
return !H.isUndefined(h[u]);
|
|
7756
7763
|
});
|
|
7757
7764
|
const r = t.metaTokens, n = t.visitor || m, s = t.dots, a = t.indexes, l = (t.Blob || typeof Blob < "u" && Blob) && H.isSpecCompliantForm(e);
|
|
7758
7765
|
if (!H.isFunction(n))
|
|
7759
7766
|
throw new TypeError("visitor must be a function");
|
|
7760
|
-
function
|
|
7767
|
+
function f(p) {
|
|
7761
7768
|
if (p === null) return "";
|
|
7762
7769
|
if (H.isDate(p))
|
|
7763
7770
|
return p.toISOString();
|
|
@@ -7765,39 +7772,39 @@ function Ot(i, e, t) {
|
|
|
7765
7772
|
throw new ae("Blob is not supported. Use a Buffer instead.");
|
|
7766
7773
|
return H.isArrayBuffer(p) || H.isTypedArray(p) ? l && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
7767
7774
|
}
|
|
7768
|
-
function m(p,
|
|
7775
|
+
function m(p, u, h) {
|
|
7769
7776
|
let g = p;
|
|
7770
7777
|
if (p && !h && typeof p == "object") {
|
|
7771
|
-
if (H.endsWith(
|
|
7772
|
-
|
|
7773
|
-
else if (H.isArray(p) && Xi(p) || (H.isFileList(p) || H.endsWith(
|
|
7774
|
-
return
|
|
7778
|
+
if (H.endsWith(u, "{}"))
|
|
7779
|
+
u = r ? u : u.slice(0, -2), p = JSON.stringify(p);
|
|
7780
|
+
else if (H.isArray(p) && Xi(p) || (H.isFileList(p) || H.endsWith(u, "[]")) && (g = H.toArray(p)))
|
|
7781
|
+
return u = rr(u), g.forEach(function(A, S) {
|
|
7775
7782
|
!(H.isUndefined(A) || A === null) && e.append(
|
|
7776
7783
|
// eslint-disable-next-line no-nested-ternary
|
|
7777
|
-
a === !0 ? In([
|
|
7778
|
-
|
|
7784
|
+
a === !0 ? In([u], S, s) : a === null ? u : u + "[]",
|
|
7785
|
+
f(A)
|
|
7779
7786
|
);
|
|
7780
7787
|
}), !1;
|
|
7781
7788
|
}
|
|
7782
|
-
return Kt(p) ? !0 : (e.append(In(h,
|
|
7789
|
+
return Kt(p) ? !0 : (e.append(In(h, u, s), f(p)), !1);
|
|
7783
7790
|
}
|
|
7784
7791
|
const v = [], b = Object.assign(Yi, {
|
|
7785
7792
|
defaultVisitor: m,
|
|
7786
|
-
convertValue:
|
|
7793
|
+
convertValue: f,
|
|
7787
7794
|
isVisitable: Kt
|
|
7788
7795
|
});
|
|
7789
|
-
function d(p,
|
|
7796
|
+
function d(p, u) {
|
|
7790
7797
|
if (!H.isUndefined(p)) {
|
|
7791
7798
|
if (v.indexOf(p) !== -1)
|
|
7792
|
-
throw Error("Circular reference detected in " +
|
|
7799
|
+
throw Error("Circular reference detected in " + u.join("."));
|
|
7793
7800
|
v.push(p), H.forEach(p, function(g, y) {
|
|
7794
7801
|
(!(H.isUndefined(g) || g === null) && n.call(
|
|
7795
7802
|
e,
|
|
7796
7803
|
g,
|
|
7797
7804
|
H.isString(y) ? y.trim() : y,
|
|
7798
|
-
|
|
7805
|
+
u,
|
|
7799
7806
|
b
|
|
7800
|
-
)) === !0 && d(g,
|
|
7807
|
+
)) === !0 && d(g, u ? u.concat(y) : [y]);
|
|
7801
7808
|
}), v.pop();
|
|
7802
7809
|
}
|
|
7803
7810
|
}
|
|
@@ -8108,14 +8115,14 @@ class Pe {
|
|
|
8108
8115
|
}
|
|
8109
8116
|
set(e, t, r) {
|
|
8110
8117
|
const n = this;
|
|
8111
|
-
function s(o, l,
|
|
8118
|
+
function s(o, l, f) {
|
|
8112
8119
|
const m = ft(l);
|
|
8113
8120
|
if (!m)
|
|
8114
8121
|
throw new Error("header name must be a non-empty string");
|
|
8115
8122
|
const v = H.findKey(n, m);
|
|
8116
|
-
(!v || n[v] === void 0 ||
|
|
8123
|
+
(!v || n[v] === void 0 || f === !0 || f === void 0 && n[v] !== !1) && (n[v || l] = Tt(o));
|
|
8117
8124
|
}
|
|
8118
|
-
const a = (o, l) => H.forEach(o, (
|
|
8125
|
+
const a = (o, l) => H.forEach(o, (f, m) => s(f, m, l));
|
|
8119
8126
|
if (H.isPlainObject(e) || e instanceof this.constructor)
|
|
8120
8127
|
a(e, t);
|
|
8121
8128
|
else if (H.isString(e) && (e = e.trim()) && !hs(e))
|
|
@@ -8266,25 +8273,25 @@ function gs(i, e) {
|
|
|
8266
8273
|
const t = new Array(i), r = new Array(i);
|
|
8267
8274
|
let n = 0, s = 0, a;
|
|
8268
8275
|
return e = e !== void 0 ? e : 1e3, function(l) {
|
|
8269
|
-
const
|
|
8270
|
-
a || (a =
|
|
8276
|
+
const f = Date.now(), m = r[s];
|
|
8277
|
+
a || (a = f), t[n] = l, r[n] = f;
|
|
8271
8278
|
let v = s, b = 0;
|
|
8272
8279
|
for (; v !== n; )
|
|
8273
8280
|
b += t[v++], v = v % i;
|
|
8274
|
-
if (n = (n + 1) % i, n === s && (s = (s + 1) % i),
|
|
8281
|
+
if (n = (n + 1) % i, n === s && (s = (s + 1) % i), f - a < e)
|
|
8275
8282
|
return;
|
|
8276
|
-
const d = m &&
|
|
8283
|
+
const d = m && f - m;
|
|
8277
8284
|
return d ? Math.round(b * 1e3 / d) : void 0;
|
|
8278
8285
|
};
|
|
8279
8286
|
}
|
|
8280
8287
|
function ys(i, e) {
|
|
8281
8288
|
let t = 0, r = 1e3 / e, n, s;
|
|
8282
|
-
const a = (
|
|
8283
|
-
t = m, n = null, s && (clearTimeout(s), s = null), i.apply(null,
|
|
8289
|
+
const a = (f, m = Date.now()) => {
|
|
8290
|
+
t = m, n = null, s && (clearTimeout(s), s = null), i.apply(null, f);
|
|
8284
8291
|
};
|
|
8285
|
-
return [(...
|
|
8292
|
+
return [(...f) => {
|
|
8286
8293
|
const m = Date.now(), v = m - t;
|
|
8287
|
-
v >= r ? a(
|
|
8294
|
+
v >= r ? a(f, m) : (n = f, s || (s = setTimeout(() => {
|
|
8288
8295
|
s = null, a(n);
|
|
8289
8296
|
}, r - v)));
|
|
8290
8297
|
}, () => n && a(n)];
|
|
@@ -8293,15 +8300,15 @@ const It = (i, e, t = 3) => {
|
|
|
8293
8300
|
let r = 0;
|
|
8294
8301
|
const n = gs(50, 250);
|
|
8295
8302
|
return ys((s) => {
|
|
8296
|
-
const a = s.loaded, o = s.lengthComputable ? s.total : void 0, l = a - r,
|
|
8303
|
+
const a = s.loaded, o = s.lengthComputable ? s.total : void 0, l = a - r, f = n(l), m = a <= o;
|
|
8297
8304
|
r = a;
|
|
8298
8305
|
const v = {
|
|
8299
8306
|
loaded: a,
|
|
8300
8307
|
total: o,
|
|
8301
8308
|
progress: o ? a / o : void 0,
|
|
8302
8309
|
bytes: l,
|
|
8303
|
-
rate:
|
|
8304
|
-
estimated:
|
|
8310
|
+
rate: f || void 0,
|
|
8311
|
+
estimated: f && o && m ? (o - a) / f : void 0,
|
|
8305
8312
|
event: s,
|
|
8306
8313
|
lengthComputable: o != null,
|
|
8307
8314
|
[e ? "download" : "upload"]: !0
|
|
@@ -8386,30 +8393,30 @@ const On = (i) => i instanceof Pe ? { ...i } : i;
|
|
|
8386
8393
|
function $e(i, e) {
|
|
8387
8394
|
e = e || {};
|
|
8388
8395
|
const t = {};
|
|
8389
|
-
function r(
|
|
8390
|
-
return H.isPlainObject(
|
|
8396
|
+
function r(f, m, v) {
|
|
8397
|
+
return H.isPlainObject(f) && H.isPlainObject(m) ? H.merge.call({ caseless: v }, f, m) : H.isPlainObject(m) ? H.merge({}, m) : H.isArray(m) ? m.slice() : m;
|
|
8391
8398
|
}
|
|
8392
|
-
function n(
|
|
8399
|
+
function n(f, m, v) {
|
|
8393
8400
|
if (H.isUndefined(m)) {
|
|
8394
|
-
if (!H.isUndefined(
|
|
8395
|
-
return r(void 0,
|
|
8396
|
-
} else return r(
|
|
8401
|
+
if (!H.isUndefined(f))
|
|
8402
|
+
return r(void 0, f, v);
|
|
8403
|
+
} else return r(f, m, v);
|
|
8397
8404
|
}
|
|
8398
|
-
function s(
|
|
8405
|
+
function s(f, m) {
|
|
8399
8406
|
if (!H.isUndefined(m))
|
|
8400
8407
|
return r(void 0, m);
|
|
8401
8408
|
}
|
|
8402
|
-
function a(
|
|
8409
|
+
function a(f, m) {
|
|
8403
8410
|
if (H.isUndefined(m)) {
|
|
8404
|
-
if (!H.isUndefined(
|
|
8405
|
-
return r(void 0,
|
|
8411
|
+
if (!H.isUndefined(f))
|
|
8412
|
+
return r(void 0, f);
|
|
8406
8413
|
} else return r(void 0, m);
|
|
8407
8414
|
}
|
|
8408
|
-
function o(
|
|
8415
|
+
function o(f, m, v) {
|
|
8409
8416
|
if (v in e)
|
|
8410
|
-
return r(
|
|
8417
|
+
return r(f, m);
|
|
8411
8418
|
if (v in i)
|
|
8412
|
-
return r(void 0,
|
|
8419
|
+
return r(void 0, f);
|
|
8413
8420
|
}
|
|
8414
8421
|
const l = {
|
|
8415
8422
|
url: s,
|
|
@@ -8440,7 +8447,7 @@ function $e(i, e) {
|
|
|
8440
8447
|
socketPath: a,
|
|
8441
8448
|
responseEncoding: a,
|
|
8442
8449
|
validateStatus: o,
|
|
8443
|
-
headers: (
|
|
8450
|
+
headers: (f, m) => n(On(f), On(m), !0)
|
|
8444
8451
|
};
|
|
8445
8452
|
return H.forEach(Object.keys(Object.assign({}, i, e)), function(m) {
|
|
8446
8453
|
const v = l[m] || n, b = v(i[m], e[m], m);
|
|
@@ -8459,13 +8466,13 @@ const ur = (i) => {
|
|
|
8459
8466
|
if (Be.hasStandardBrowserEnv || Be.hasStandardBrowserWebWorkerEnv)
|
|
8460
8467
|
a.setContentType(void 0);
|
|
8461
8468
|
else if ((l = a.getContentType()) !== !1) {
|
|
8462
|
-
const [
|
|
8463
|
-
a.setContentType([
|
|
8469
|
+
const [f, ...m] = l ? l.split(";").map((v) => v.trim()).filter(Boolean) : [];
|
|
8470
|
+
a.setContentType([f || "multipart/form-data", ...m].join("; "));
|
|
8464
8471
|
}
|
|
8465
8472
|
}
|
|
8466
8473
|
if (Be.hasStandardBrowserEnv && (r && H.isFunction(r) && (r = r(e)), r || r !== !1 && vs(e.url))) {
|
|
8467
|
-
const
|
|
8468
|
-
|
|
8474
|
+
const f = n && s && bs.read(s);
|
|
8475
|
+
f && a.set(n, f);
|
|
8469
8476
|
}
|
|
8470
8477
|
return e;
|
|
8471
8478
|
}, As = typeof XMLHttpRequest < "u", ks = As && function(i) {
|
|
@@ -8473,8 +8480,8 @@ const ur = (i) => {
|
|
|
8473
8480
|
const n = ur(i);
|
|
8474
8481
|
let s = n.data;
|
|
8475
8482
|
const a = Pe.from(n.headers).normalize();
|
|
8476
|
-
let { responseType: o, onUploadProgress: l, onDownloadProgress:
|
|
8477
|
-
function
|
|
8483
|
+
let { responseType: o, onUploadProgress: l, onDownloadProgress: f } = n, m, v, b, d, p;
|
|
8484
|
+
function u() {
|
|
8478
8485
|
d && d(), p && p(), n.cancelToken && n.cancelToken.unsubscribe(m), n.signal && n.signal.removeEventListener("abort", m);
|
|
8479
8486
|
}
|
|
8480
8487
|
let h = new XMLHttpRequest();
|
|
@@ -8493,9 +8500,9 @@ const ur = (i) => {
|
|
|
8493
8500
|
request: h
|
|
8494
8501
|
};
|
|
8495
8502
|
cr(function(_) {
|
|
8496
|
-
t(_),
|
|
8503
|
+
t(_), u();
|
|
8497
8504
|
}, function(_) {
|
|
8498
|
-
r(_),
|
|
8505
|
+
r(_), u();
|
|
8499
8506
|
}, R), h = null;
|
|
8500
8507
|
}
|
|
8501
8508
|
"onloadend" in h ? h.onloadend = g : h.onreadystatechange = function() {
|
|
@@ -8515,7 +8522,7 @@ const ur = (i) => {
|
|
|
8515
8522
|
)), h = null;
|
|
8516
8523
|
}, s === void 0 && a.setContentType(null), "setRequestHeader" in h && H.forEach(a.toJSON(), function(S, R) {
|
|
8517
8524
|
h.setRequestHeader(R, S);
|
|
8518
|
-
}), H.isUndefined(n.withCredentials) || (h.withCredentials = !!n.withCredentials), o && o !== "json" && (h.responseType = n.responseType),
|
|
8525
|
+
}), H.isUndefined(n.withCredentials) || (h.withCredentials = !!n.withCredentials), o && o !== "json" && (h.responseType = n.responseType), f && ([b, p] = It(f, !0), h.addEventListener("progress", b)), l && h.upload && ([v, d] = It(l), h.upload.addEventListener("progress", v), h.upload.addEventListener("loadend", d)), (n.cancelToken || n.signal) && (m = (A) => {
|
|
8519
8526
|
h && (r(!A || A.type ? new ot(null, i, h) : A), h.abort(), h = null);
|
|
8520
8527
|
}, n.cancelToken && n.cancelToken.subscribe(m), n.signal && (n.signal.aborted ? m() : n.signal.addEventListener("abort", m)));
|
|
8521
8528
|
const y = ws(n.url);
|
|
@@ -8530,8 +8537,8 @@ const ur = (i) => {
|
|
|
8530
8537
|
const n = function(l) {
|
|
8531
8538
|
if (!r) {
|
|
8532
8539
|
r = !0, a();
|
|
8533
|
-
const
|
|
8534
|
-
t.abort(
|
|
8540
|
+
const f = l instanceof Error ? l : this.reason;
|
|
8541
|
+
t.abort(f instanceof ae ? f : new ot(f instanceof Error ? f.message : f));
|
|
8535
8542
|
}
|
|
8536
8543
|
};
|
|
8537
8544
|
let s = e && setTimeout(() => {
|
|
@@ -8561,15 +8568,15 @@ const ur = (i) => {
|
|
|
8561
8568
|
yield* Ss(ArrayBuffer.isView(r) ? r : await t(String(r)), e);
|
|
8562
8569
|
}, Hn = (i, e, t, r, n) => {
|
|
8563
8570
|
const s = Ts(i, e, n);
|
|
8564
|
-
let a = 0, o, l = (
|
|
8565
|
-
o || (o = !0, r && r(
|
|
8571
|
+
let a = 0, o, l = (f) => {
|
|
8572
|
+
o || (o = !0, r && r(f));
|
|
8566
8573
|
};
|
|
8567
8574
|
return new ReadableStream({
|
|
8568
|
-
async pull(
|
|
8575
|
+
async pull(f) {
|
|
8569
8576
|
try {
|
|
8570
8577
|
const { done: m, value: v } = await s.next();
|
|
8571
8578
|
if (m) {
|
|
8572
|
-
l(),
|
|
8579
|
+
l(), f.close();
|
|
8573
8580
|
return;
|
|
8574
8581
|
}
|
|
8575
8582
|
let b = v.byteLength;
|
|
@@ -8577,13 +8584,13 @@ const ur = (i) => {
|
|
|
8577
8584
|
let d = a += b;
|
|
8578
8585
|
t(d);
|
|
8579
8586
|
}
|
|
8580
|
-
|
|
8587
|
+
f.enqueue(new Uint8Array(v));
|
|
8581
8588
|
} catch (m) {
|
|
8582
8589
|
throw l(m), m;
|
|
8583
8590
|
}
|
|
8584
8591
|
},
|
|
8585
|
-
cancel(
|
|
8586
|
-
return l(
|
|
8592
|
+
cancel(f) {
|
|
8593
|
+
return l(f), s.return();
|
|
8587
8594
|
}
|
|
8588
8595
|
}, {
|
|
8589
8596
|
highWaterMark: 2
|
|
@@ -8638,17 +8645,17 @@ const Is = async (i) => {
|
|
|
8638
8645
|
timeout: a,
|
|
8639
8646
|
onDownloadProgress: o,
|
|
8640
8647
|
onUploadProgress: l,
|
|
8641
|
-
responseType:
|
|
8648
|
+
responseType: f,
|
|
8642
8649
|
headers: m,
|
|
8643
8650
|
withCredentials: v = "same-origin",
|
|
8644
8651
|
fetchOptions: b
|
|
8645
8652
|
} = ur(i);
|
|
8646
|
-
|
|
8647
|
-
let [d, p] = n || s || a ? Cs([n, s], a) : [],
|
|
8653
|
+
f = f ? (f + "").toLowerCase() : "text";
|
|
8654
|
+
let [d, p] = n || s || a ? Cs([n, s], a) : [], u, h;
|
|
8648
8655
|
const g = () => {
|
|
8649
|
-
!
|
|
8656
|
+
!u && setTimeout(() => {
|
|
8650
8657
|
d && d.unsubscribe();
|
|
8651
|
-
}),
|
|
8658
|
+
}), u = !0;
|
|
8652
8659
|
};
|
|
8653
8660
|
let y;
|
|
8654
8661
|
try {
|
|
@@ -8676,7 +8683,7 @@ const Is = async (i) => {
|
|
|
8676
8683
|
credentials: v
|
|
8677
8684
|
});
|
|
8678
8685
|
let A = await fetch(h);
|
|
8679
|
-
const S = $t && (
|
|
8686
|
+
const S = $t && (f === "stream" || f === "response");
|
|
8680
8687
|
if ($t && (o || S)) {
|
|
8681
8688
|
const F = {};
|
|
8682
8689
|
["status", "statusText", "headers"].forEach((W) => {
|
|
@@ -8693,8 +8700,8 @@ const Is = async (i) => {
|
|
|
8693
8700
|
F
|
|
8694
8701
|
);
|
|
8695
8702
|
}
|
|
8696
|
-
|
|
8697
|
-
let R = await _t[H.findKey(_t,
|
|
8703
|
+
f = f || "text";
|
|
8704
|
+
let R = await _t[H.findKey(_t, f) || "text"](A, i);
|
|
8698
8705
|
return !S && g(), p && p(), await new Promise((F, _) => {
|
|
8699
8706
|
cr(F, _, {
|
|
8700
8707
|
data: R,
|
|
@@ -8883,28 +8890,28 @@ class Qe {
|
|
|
8883
8890
|
), t.headers = Pe.concat(a, s);
|
|
8884
8891
|
const o = [];
|
|
8885
8892
|
let l = !0;
|
|
8886
|
-
this.interceptors.request.forEach(function(
|
|
8887
|
-
typeof
|
|
8893
|
+
this.interceptors.request.forEach(function(u) {
|
|
8894
|
+
typeof u.runWhen == "function" && u.runWhen(t) === !1 || (l = l && u.synchronous, o.unshift(u.fulfilled, u.rejected));
|
|
8888
8895
|
});
|
|
8889
|
-
const
|
|
8890
|
-
this.interceptors.response.forEach(function(
|
|
8891
|
-
|
|
8896
|
+
const f = [];
|
|
8897
|
+
this.interceptors.response.forEach(function(u) {
|
|
8898
|
+
f.push(u.fulfilled, u.rejected);
|
|
8892
8899
|
});
|
|
8893
8900
|
let m, v = 0, b;
|
|
8894
8901
|
if (!l) {
|
|
8895
8902
|
const p = [Dn.bind(this), void 0];
|
|
8896
|
-
for (p.unshift.apply(p, o), p.push.apply(p,
|
|
8903
|
+
for (p.unshift.apply(p, o), p.push.apply(p, f), b = p.length, m = Promise.resolve(t); v < b; )
|
|
8897
8904
|
m = m.then(p[v++], p[v++]);
|
|
8898
8905
|
return m;
|
|
8899
8906
|
}
|
|
8900
8907
|
b = o.length;
|
|
8901
8908
|
let d = t;
|
|
8902
8909
|
for (v = 0; v < b; ) {
|
|
8903
|
-
const p = o[v++],
|
|
8910
|
+
const p = o[v++], u = o[v++];
|
|
8904
8911
|
try {
|
|
8905
8912
|
d = p(d);
|
|
8906
8913
|
} catch (h) {
|
|
8907
|
-
|
|
8914
|
+
u.call(this, h);
|
|
8908
8915
|
break;
|
|
8909
8916
|
}
|
|
8910
8917
|
}
|
|
@@ -8913,8 +8920,8 @@ class Qe {
|
|
|
8913
8920
|
} catch (p) {
|
|
8914
8921
|
return Promise.reject(p);
|
|
8915
8922
|
}
|
|
8916
|
-
for (v = 0, b =
|
|
8917
|
-
m = m.then(
|
|
8923
|
+
for (v = 0, b = f.length; v < b; )
|
|
8924
|
+
m = m.then(f[v++], f[v++]);
|
|
8918
8925
|
return m;
|
|
8919
8926
|
}
|
|
8920
8927
|
getUri(e) {
|
|
@@ -9122,17 +9129,17 @@ const Ua = ({ doNotUseState: i = !1, defaultState: e = null, getValueByPath: t =
|
|
|
9122
9129
|
var b, d, p;
|
|
9123
9130
|
a(!0), l(null);
|
|
9124
9131
|
try {
|
|
9125
|
-
const
|
|
9132
|
+
const u = await ke(v);
|
|
9126
9133
|
if (t) {
|
|
9127
|
-
let h =
|
|
9134
|
+
let h = u.data;
|
|
9128
9135
|
const g = t.split(".");
|
|
9129
9136
|
for (const y of g)
|
|
9130
9137
|
if (h = h == null ? void 0 : h[y], h === void 0) break;
|
|
9131
9138
|
return i || n(h ?? null), h ?? null;
|
|
9132
9139
|
} else
|
|
9133
|
-
return i || n(
|
|
9134
|
-
} catch (
|
|
9135
|
-
const h =
|
|
9140
|
+
return i || n(u.data), u.data;
|
|
9141
|
+
} catch (u) {
|
|
9142
|
+
const h = u, g = ((d = (b = h.response) == null ? void 0 : b.data) == null ? void 0 : d.message) || h.message || "Unknown error";
|
|
9136
9143
|
return li({
|
|
9137
9144
|
variant: "error",
|
|
9138
9145
|
title: "Ошибка",
|