jwt-ui 1.11.20 → 1.11.21
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/lib/jwt-ui.es.js +537 -537
- package/lib/jwt-ui.umd.js +17 -17
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/jwt-ui.es.js
CHANGED
|
@@ -2466,7 +2466,7 @@ function HJ(e, t, n, i) {
|
|
|
2466
2466
|
aspectRatio: h,
|
|
2467
2467
|
width: E,
|
|
2468
2468
|
height: B
|
|
2469
|
-
}, "cover"), Z = Math.min(R.width, Math.max(z.width, g)), re = Math.min(R.height, Math.max(z.height, v)),
|
|
2469
|
+
}, "cover"), Z = Math.min(R.width, Math.max(z.width, g)), re = Math.min(R.height, Math.max(z.height, v)), le = Ws({
|
|
2470
2470
|
aspectRatio: r,
|
|
2471
2471
|
width: k,
|
|
2472
2472
|
height: D
|
|
@@ -2474,7 +2474,7 @@ function HJ(e, t, n, i) {
|
|
|
2474
2474
|
aspectRatio: r,
|
|
2475
2475
|
width: E,
|
|
2476
2476
|
height: B
|
|
2477
|
-
}, "cover"), P = Math.min(
|
|
2477
|
+
}, "cover"), P = Math.min(le.width, Math.max(M.width, a)), U = Math.min(le.height, Math.max(M.height, s)), L = [-P / 2, -U / 2, P, U];
|
|
2478
2478
|
return _.width = Ed(Z), _.height = Ed(re), j.fillStyle = y, j.fillRect(0, 0, Z, re), j.save(), j.translate(Z / 2, re / 2), j.rotate(l * Math.PI / 180), j.scale(f, c), j.imageSmoothingEnabled = b, j.imageSmoothingQuality = T, j.drawImage.apply(j, [e].concat(CL(L.map(function(V) {
|
|
2479
2479
|
return Math.floor(Ed(V));
|
|
2480
2480
|
})))), j.restore(), _;
|
|
@@ -4372,7 +4372,7 @@ const KY = bt({
|
|
|
4372
4372
|
t("event-name", ...ye);
|
|
4373
4373
|
}, B = () => {
|
|
4374
4374
|
var ye, Ce;
|
|
4375
|
-
r.isDrawerEdit = !0,
|
|
4375
|
+
r.isDrawerEdit = !0, le(
|
|
4376
4376
|
(ye = e.currentPageDrawerConfig) == null ? void 0 : ye.row,
|
|
4377
4377
|
((Ce = e.currentPageDrawerConfig) == null ? void 0 : Ce.item) || {},
|
|
4378
4378
|
!1
|
|
@@ -4416,7 +4416,7 @@ const KY = bt({
|
|
|
4416
4416
|
// 添加弹窗之前获取请求数据
|
|
4417
4417
|
t: Ue
|
|
4418
4418
|
// 国际化
|
|
4419
|
-
},
|
|
4419
|
+
}, le = (ye, Ce, Ye = !0) => {
|
|
4420
4420
|
Vd(
|
|
4421
4421
|
ye,
|
|
4422
4422
|
Ce,
|
|
@@ -4516,7 +4516,7 @@ const KY = bt({
|
|
|
4516
4516
|
t("upload-btn", ye);
|
|
4517
4517
|
}, F = (ye, Ce) => {
|
|
4518
4518
|
t("change", ye, Ce);
|
|
4519
|
-
},
|
|
4519
|
+
}, se = (ye, Ce) => {
|
|
4520
4520
|
t("click-cell", ye, Ce);
|
|
4521
4521
|
}, ve = () => {
|
|
4522
4522
|
E();
|
|
@@ -4527,7 +4527,7 @@ const KY = bt({
|
|
|
4527
4527
|
(Ce = l.value) == null || Ce.handleChangeTab(ye);
|
|
4528
4528
|
}, fe = {
|
|
4529
4529
|
deleteText: "",
|
|
4530
|
-
handleEdit:
|
|
4530
|
+
handleEdit: le,
|
|
4531
4531
|
handleLinkRouter: Ax,
|
|
4532
4532
|
t: Ue,
|
|
4533
4533
|
emit: t,
|
|
@@ -4596,7 +4596,7 @@ const KY = bt({
|
|
|
4596
4596
|
handleDialogClose: W,
|
|
4597
4597
|
handleDesEditSuccess: ve,
|
|
4598
4598
|
handleEditRowProp: F,
|
|
4599
|
-
handleClickRow:
|
|
4599
|
+
handleClickRow: se,
|
|
4600
4600
|
handleChangeTab: J,
|
|
4601
4601
|
handleTabClick: de
|
|
4602
4602
|
};
|
|
@@ -4963,13 +4963,13 @@ const iX = /* @__PURE__ */ yn(KY, [["render", nX]]), rX = /* @__PURE__ */ Object
|
|
|
4963
4963
|
const Z = () => {
|
|
4964
4964
|
if (!g.value) return;
|
|
4965
4965
|
l = [], u = u || document.getElementById(s.dialogWrapperContnetId), ((u == null ? void 0 : u.querySelectorAll(".jwt-form-divider-text")) || []).forEach((Te, F) => {
|
|
4966
|
-
const
|
|
4967
|
-
F === 0 && !f && (f =
|
|
4966
|
+
const se = z(Te, u);
|
|
4967
|
+
F === 0 && !f && (f = se), l.push(se);
|
|
4968
4968
|
});
|
|
4969
4969
|
const _e = l[0];
|
|
4970
4970
|
_e != f && l.forEach((Te, F) => {
|
|
4971
4971
|
Te === 0 ? l[F] = f : l[F] = f + Math.abs(_e - Te);
|
|
4972
|
-
}), p || (p =
|
|
4972
|
+
}), p || (p = le(u, M, 250));
|
|
4973
4973
|
}, re = (ee) => {
|
|
4974
4974
|
const _e = h.value.findIndex(
|
|
4975
4975
|
(Te) => Te.name === ee
|
|
@@ -4980,16 +4980,16 @@ const iX = /* @__PURE__ */ yn(KY, [["render", nX]]), rX = /* @__PURE__ */ Object
|
|
|
4980
4980
|
// 平滑滚动
|
|
4981
4981
|
});
|
|
4982
4982
|
};
|
|
4983
|
-
function
|
|
4983
|
+
function le(ee, _e, Te = 250) {
|
|
4984
4984
|
let F;
|
|
4985
|
-
function
|
|
4985
|
+
function se() {
|
|
4986
4986
|
clearTimeout(F), F = setTimeout(() => {
|
|
4987
4987
|
_e();
|
|
4988
4988
|
}, Te);
|
|
4989
4989
|
}
|
|
4990
4990
|
if (ee)
|
|
4991
|
-
return ee.addEventListener("scroll",
|
|
4992
|
-
ee.removeEventListener("scroll",
|
|
4991
|
+
return ee.addEventListener("scroll", se), () => {
|
|
4992
|
+
ee.removeEventListener("scroll", se), p = null;
|
|
4993
4993
|
};
|
|
4994
4994
|
}
|
|
4995
4995
|
const M = () => {
|
|
@@ -5001,8 +5001,8 @@ const iX = /* @__PURE__ */ yn(KY, [["render", nX]]), rX = /* @__PURE__ */ Object
|
|
|
5001
5001
|
}
|
|
5002
5002
|
Z();
|
|
5003
5003
|
for (let F = _e - 1; F >= 0; F--) {
|
|
5004
|
-
const
|
|
5005
|
-
if (ee >=
|
|
5004
|
+
const se = l[F];
|
|
5005
|
+
if (ee >= se - 10) {
|
|
5006
5006
|
s.navFromName = h.value[F].name;
|
|
5007
5007
|
return;
|
|
5008
5008
|
}
|
|
@@ -7778,7 +7778,7 @@ var Dne = { transform(e, t) {
|
|
|
7778
7778
|
var _ = st.get(i, x), j = st.parent(i, x), R = x[x.length - 1];
|
|
7779
7779
|
j.children.splice(R, 1);
|
|
7780
7780
|
var z = Be.transform(x, a), Z = st.get(i, Be.parent(z)), re = z[z.length - 1];
|
|
7781
|
-
if (Z.children.splice(re, 0, _), r) for (var [
|
|
7781
|
+
if (Z.children.splice(re, 0, _), r) for (var [le, M] of He.points(r)) r[M] = Yt.transform(le, a);
|
|
7782
7782
|
break;
|
|
7783
7783
|
case "remove_node":
|
|
7784
7784
|
var { path: P } = a, U = P[P.length - 1];
|
|
@@ -7802,8 +7802,8 @@ var Dne = { transform(e, t) {
|
|
|
7802
7802
|
case "remove_text":
|
|
7803
7803
|
var { path: _e, offset: Te, text: F } = a;
|
|
7804
7804
|
if (F.length === 0) break;
|
|
7805
|
-
var
|
|
7806
|
-
if (
|
|
7805
|
+
var se = st.leaf(i, _e), ve = se.text.slice(0, Te), G = se.text.slice(Te + F.length);
|
|
7806
|
+
if (se.text = ve + G, r) for (var [J, fe] of He.points(r)) r[fe] = Yt.transform(J, a);
|
|
7807
7807
|
break;
|
|
7808
7808
|
case "set_node":
|
|
7809
7809
|
var { path: ae, properties: ge, newProperties: de } = a;
|
|
@@ -8247,8 +8247,8 @@ var Fne = { collapse(e) {
|
|
|
8247
8247
|
var j = B.current, [R] = $.leaf(e, j), { path: z } = j, { offset: Z } = h, re = R.text.slice(Z);
|
|
8248
8248
|
re.length > 0 && e.apply({ type: "remove_text", path: z, offset: Z, text: re });
|
|
8249
8249
|
}
|
|
8250
|
-
for (var
|
|
8251
|
-
var M =
|
|
8250
|
+
for (var le of x) {
|
|
8251
|
+
var M = le.unref();
|
|
8252
8252
|
Pe.removeNodes(e, { at: M, voids: a });
|
|
8253
8253
|
}
|
|
8254
8254
|
if (!w) {
|
|
@@ -8291,9 +8291,9 @@ var Fne = { collapse(e) {
|
|
|
8291
8291
|
Pe.splitNodes(e, { at: a, match: (P) => S ? $.isBlock(e, P) : vt.isText(P) || $.isInline(e, P), mode: S ? "lowest" : "highest", voids: r });
|
|
8292
8292
|
var re = $.pathRef(e, !_ || _ && j ? Be.next(B) : B);
|
|
8293
8293
|
if (Pe.insertNodes(e, C, { at: re.current, match: (P) => vt.isText(P) || $.isInline(e, P), mode: "highest", voids: r }), g && k.length && Pe.delete(e, { at: Z.unref(), voids: r }), Pe.insertNodes(e, k, { at: R.current, match: (P) => $.isBlock(e, P), mode: "lowest", voids: r }), Pe.insertNodes(e, A, { at: z.current, match: (P) => vt.isText(P) || $.isInline(e, P), mode: "highest", voids: r }), !n.at) {
|
|
8294
|
-
var
|
|
8295
|
-
|
|
8296
|
-
var M = $.end(e,
|
|
8294
|
+
var le;
|
|
8295
|
+
le = A.length > 0 ? Be.previous(z.current) : k.length > 0 ? Be.previous(R.current) : Be.previous(re.current);
|
|
8296
|
+
var M = $.end(e, le);
|
|
8297
8297
|
Pe.select(e, M);
|
|
8298
8298
|
}
|
|
8299
8299
|
re.unref(), R.unref(), z.unref();
|
|
@@ -9185,9 +9185,9 @@ function Hie(e, t) {
|
|
|
9185
9185
|
(y = (m = c.data.hook) === null || m === void 0 ? void 0 : m.update) === null || y === void 0 || y.call(m, d, c);
|
|
9186
9186
|
}
|
|
9187
9187
|
kk(c.text) ? qr(T) && qr(C) ? T !== C && function(k, A, D, S) {
|
|
9188
|
-
let E, x, B, _, j = 0, R = 0, z = A.length - 1, Z = A[0], re = A[z],
|
|
9189
|
-
for (; j <= z && R <=
|
|
9190
|
-
(j <= z || R <=
|
|
9188
|
+
let E, x, B, _, j = 0, R = 0, z = A.length - 1, Z = A[0], re = A[z], le = D.length - 1, M = D[0], P = D[le];
|
|
9189
|
+
for (; j <= z && R <= le; ) Z == null ? Z = A[++j] : re == null ? re = A[--z] : M == null ? M = D[++R] : P == null ? P = D[--le] : Yc(Z, M) ? (f(Z, M, S), Z = A[++j], M = D[++R]) : Yc(re, P) ? (f(re, P, S), re = A[--z], P = D[--le]) : Yc(Z, P) ? (f(Z, P, S), i.insertBefore(k, Z.elm, i.nextSibling(re.elm)), Z = A[++j], P = D[--le]) : Yc(re, M) ? (f(re, M, S), i.insertBefore(k, re.elm, Z.elm), re = A[--z], M = D[++R]) : (E === void 0 && (E = Uie(A, j, z)), x = E[M.key], kk(x) ? i.insertBefore(k, s(M, S), Z.elm) : (B = A[x], B.sel !== M.sel ? i.insertBefore(k, s(M, S), Z.elm) : (f(B, M, S), A[x] = void 0, i.insertBefore(k, B.elm, Z.elm))), M = D[++R]);
|
|
9190
|
+
(j <= z || R <= le) && (j > z ? (_ = D[le + 1] == null ? null : D[le + 1].elm, o(k, _, D, R, le, S)) : u(k, A, j, z));
|
|
9191
9191
|
}(w, T, C, h) : qr(C) ? (qr(d.text) && i.setTextContent(w, ""), o(w, null, C, 0, C.length - 1, h)) : qr(T) ? u(w, T, 0, T.length - 1) : qr(d.text) && i.setTextContent(w, "") : d.text !== c.text && (qr(T) && u(w, T, 0, T.length - 1), i.setTextContent(w, c.text)), (p = b == null ? void 0 : b.postpatch) === null || p === void 0 || p.call(b, d, c);
|
|
9192
9192
|
}
|
|
9193
9193
|
}
|
|
@@ -9499,126 +9499,126 @@ var Ff, gz = function(e, t, n) {
|
|
|
9499
9499
|
}, mz = pf(function(e, t) {
|
|
9500
9500
|
var n = "__lodash_hash_undefined__", i = 9007199254740991, r = "[object Arguments]", a = "[object Boolean]", s = "[object Date]", o = "[object Function]", l = "[object GeneratorFunction]", u = "[object Map]", f = "[object Number]", d = "[object Object]", c = "[object Promise]", h = "[object RegExp]", g = "[object Set]", v = "[object String]", m = "[object Symbol]", y = "[object WeakMap]", p = "[object ArrayBuffer]", b = "[object DataView]", w = "[object Float32Array]", T = "[object Float64Array]", C = "[object Int8Array]", k = "[object Int16Array]", A = "[object Int32Array]", D = "[object Uint8Array]", S = "[object Uint8ClampedArray]", E = "[object Uint16Array]", x = "[object Uint32Array]", B = /\w*$/, _ = /^\[object .+?Constructor\]$/, j = /^(?:0|[1-9]\d*)$/, R = {};
|
|
9501
9501
|
R[r] = R["[object Array]"] = R[p] = R[b] = R[a] = R[s] = R[w] = R[T] = R[C] = R[k] = R[A] = R[u] = R[f] = R[d] = R[h] = R[g] = R[v] = R[m] = R[D] = R[S] = R[E] = R[x] = !0, R["[object Error]"] = R[o] = R[y] = !1;
|
|
9502
|
-
var z = typeof jn == "object" && jn && jn.Object === Object && jn, Z = typeof self == "object" && self && self.Object === Object && self, re = z || Z || Function("return this")(),
|
|
9503
|
-
function U(
|
|
9504
|
-
return
|
|
9502
|
+
var z = typeof jn == "object" && jn && jn.Object === Object && jn, Z = typeof self == "object" && self && self.Object === Object && self, re = z || Z || Function("return this")(), le = t && !t.nodeType && t, M = le && e && !e.nodeType && e, P = M && M.exports === le;
|
|
9503
|
+
function U(oe, Ae) {
|
|
9504
|
+
return oe.set(Ae[0], Ae[1]), oe;
|
|
9505
9505
|
}
|
|
9506
|
-
function L(
|
|
9507
|
-
return
|
|
9506
|
+
function L(oe, Ae) {
|
|
9507
|
+
return oe.add(Ae), oe;
|
|
9508
9508
|
}
|
|
9509
|
-
function V(
|
|
9510
|
-
var ne = -1, De =
|
|
9511
|
-
for (Re; ++ne < De; ) We = Ae(We,
|
|
9509
|
+
function V(oe, Ae, We, Re) {
|
|
9510
|
+
var ne = -1, De = oe ? oe.length : 0;
|
|
9511
|
+
for (Re; ++ne < De; ) We = Ae(We, oe[ne], ne, oe);
|
|
9512
9512
|
return We;
|
|
9513
9513
|
}
|
|
9514
|
-
function W(
|
|
9514
|
+
function W(oe) {
|
|
9515
9515
|
var Ae = !1;
|
|
9516
|
-
if (
|
|
9517
|
-
Ae = !!(
|
|
9516
|
+
if (oe != null && typeof oe.toString != "function") try {
|
|
9517
|
+
Ae = !!(oe + "");
|
|
9518
9518
|
} catch {
|
|
9519
9519
|
}
|
|
9520
9520
|
return Ae;
|
|
9521
9521
|
}
|
|
9522
|
-
function Q(
|
|
9523
|
-
var Ae = -1, We = Array(
|
|
9524
|
-
return
|
|
9522
|
+
function Q(oe) {
|
|
9523
|
+
var Ae = -1, We = Array(oe.size);
|
|
9524
|
+
return oe.forEach(function(Re, ne) {
|
|
9525
9525
|
We[++Ae] = [ne, Re];
|
|
9526
9526
|
}), We;
|
|
9527
9527
|
}
|
|
9528
|
-
function ie(
|
|
9528
|
+
function ie(oe, Ae) {
|
|
9529
9529
|
return function(We) {
|
|
9530
|
-
return
|
|
9530
|
+
return oe(Ae(We));
|
|
9531
9531
|
};
|
|
9532
9532
|
}
|
|
9533
|
-
function we(
|
|
9534
|
-
var Ae = -1, We = Array(
|
|
9535
|
-
return
|
|
9533
|
+
function we(oe) {
|
|
9534
|
+
var Ae = -1, We = Array(oe.size);
|
|
9535
|
+
return oe.forEach(function(Re) {
|
|
9536
9536
|
We[++Ae] = Re;
|
|
9537
9537
|
}), We;
|
|
9538
9538
|
}
|
|
9539
9539
|
var Ee = Array.prototype, ee = Function.prototype, _e = Object.prototype, Te = re["__core-js_shared__"], F = function() {
|
|
9540
|
-
var
|
|
9541
|
-
return
|
|
9542
|
-
}(),
|
|
9543
|
-
function en(
|
|
9544
|
-
var Ae = -1, We =
|
|
9540
|
+
var oe = /[^.]+$/.exec(Te && Te.keys && Te.keys.IE_PROTO || "");
|
|
9541
|
+
return oe ? "Symbol(src)_1." + oe : "";
|
|
9542
|
+
}(), se = ee.toString, ve = _e.hasOwnProperty, G = _e.toString, J = RegExp("^" + se.call(ve).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), fe = P ? re.Buffer : void 0, ae = re.Symbol, ge = re.Uint8Array, de = ie(Object.getPrototypeOf, Object), Me = Object.create, ye = _e.propertyIsEnumerable, Ce = Ee.splice, Ye = Object.getOwnPropertySymbols, yt = fe ? fe.isBuffer : void 0, dt = ie(Object.keys, Object), Nt = at(re, "DataView"), jt = at(re, "Map"), $e = at(re, "Promise"), ce = at(re, "Set"), ke = at(re, "WeakMap"), Oe = at(Object, "create"), Je = Y(Nt), Ze = Y(jt), ct = Y($e), Ct = Y(ce), Ot = Y(ke), Mt = ae ? ae.prototype : void 0, Qt = Mt ? Mt.valueOf : void 0;
|
|
9543
|
+
function en(oe) {
|
|
9544
|
+
var Ae = -1, We = oe ? oe.length : 0;
|
|
9545
9545
|
for (this.clear(); ++Ae < We; ) {
|
|
9546
|
-
var Re =
|
|
9546
|
+
var Re = oe[Ae];
|
|
9547
9547
|
this.set(Re[0], Re[1]);
|
|
9548
9548
|
}
|
|
9549
9549
|
}
|
|
9550
|
-
function qt(
|
|
9551
|
-
var Ae = -1, We =
|
|
9550
|
+
function qt(oe) {
|
|
9551
|
+
var Ae = -1, We = oe ? oe.length : 0;
|
|
9552
9552
|
for (this.clear(); ++Ae < We; ) {
|
|
9553
|
-
var Re =
|
|
9553
|
+
var Re = oe[Ae];
|
|
9554
9554
|
this.set(Re[0], Re[1]);
|
|
9555
9555
|
}
|
|
9556
9556
|
}
|
|
9557
|
-
function Rn(
|
|
9558
|
-
var Ae = -1, We =
|
|
9557
|
+
function Rn(oe) {
|
|
9558
|
+
var Ae = -1, We = oe ? oe.length : 0;
|
|
9559
9559
|
for (this.clear(); ++Ae < We; ) {
|
|
9560
|
-
var Re =
|
|
9560
|
+
var Re = oe[Ae];
|
|
9561
9561
|
this.set(Re[0], Re[1]);
|
|
9562
9562
|
}
|
|
9563
9563
|
}
|
|
9564
|
-
function Kn(
|
|
9565
|
-
this.__data__ = new qt(
|
|
9564
|
+
function Kn(oe) {
|
|
9565
|
+
this.__data__ = new qt(oe);
|
|
9566
9566
|
}
|
|
9567
|
-
function Wn(
|
|
9568
|
-
var We = I(
|
|
9567
|
+
function Wn(oe, Ae) {
|
|
9568
|
+
var We = I(oe) || function(Ve) {
|
|
9569
9569
|
return function(Ge) {
|
|
9570
9570
|
return /* @__PURE__ */ function(ot) {
|
|
9571
9571
|
return !!ot && typeof ot == "object";
|
|
9572
9572
|
}(Ge) && H(Ge);
|
|
9573
9573
|
}(Ve) && ve.call(Ve, "callee") && (!ye.call(Ve, "callee") || G.call(Ve) == r);
|
|
9574
|
-
}(
|
|
9574
|
+
}(oe) ? function(Ve, Ge) {
|
|
9575
9575
|
for (var ot = -1, wt = Array(Ve); ++ot < Ve; ) wt[ot] = Ge(ot);
|
|
9576
9576
|
return wt;
|
|
9577
|
-
}(
|
|
9578
|
-
for (var De in
|
|
9577
|
+
}(oe.length, String) : [], Re = We.length, ne = !!Re;
|
|
9578
|
+
for (var De in oe) !ve.call(oe, De) || ne && (De == "length" || no(De, Re)) || We.push(De);
|
|
9579
9579
|
return We;
|
|
9580
9580
|
}
|
|
9581
|
-
function Zt(
|
|
9582
|
-
var Re =
|
|
9583
|
-
ve.call(
|
|
9581
|
+
function Zt(oe, Ae, We) {
|
|
9582
|
+
var Re = oe[Ae];
|
|
9583
|
+
ve.call(oe, Ae) && N(Re, We) && (We !== void 0 || Ae in oe) || (oe[Ae] = We);
|
|
9584
9584
|
}
|
|
9585
|
-
function Fn(
|
|
9586
|
-
for (var We =
|
|
9585
|
+
function Fn(oe, Ae) {
|
|
9586
|
+
for (var We = oe.length; We--; ) if (N(oe[We][0], Ae)) return We;
|
|
9587
9587
|
return -1;
|
|
9588
9588
|
}
|
|
9589
|
-
function si(
|
|
9589
|
+
function si(oe, Ae, We, Re, ne, De, Ve) {
|
|
9590
9590
|
var Ge;
|
|
9591
|
-
if (Re && (Ge = De ? Re(
|
|
9592
|
-
if (!be(
|
|
9593
|
-
var ot = I(
|
|
9591
|
+
if (Re && (Ge = De ? Re(oe, ne, De, Ve) : Re(oe)), Ge !== void 0) return Ge;
|
|
9592
|
+
if (!be(oe)) return oe;
|
|
9593
|
+
var ot = I(oe);
|
|
9594
9594
|
if (ot) {
|
|
9595
9595
|
if (Ge = function(X) {
|
|
9596
9596
|
var me = X.length, Ke = X.constructor(me);
|
|
9597
9597
|
return me && typeof X[0] == "string" && ve.call(X, "index") && (Ke.index = X.index, Ke.input = X.input), Ke;
|
|
9598
|
-
}(
|
|
9598
|
+
}(oe), !Ae) return function(X, me) {
|
|
9599
9599
|
var Ke = -1, qe = X.length;
|
|
9600
9600
|
for (me || (me = Array(qe)); ++Ke < qe; ) me[Ke] = X[Ke];
|
|
9601
9601
|
return me;
|
|
9602
|
-
}(
|
|
9602
|
+
}(oe, Ge);
|
|
9603
9603
|
} else {
|
|
9604
|
-
var wt = qi(
|
|
9605
|
-
if (K(
|
|
9604
|
+
var wt = qi(oe), Qe = wt == o || wt == l;
|
|
9605
|
+
if (K(oe)) return function(X, me) {
|
|
9606
9606
|
if (me) return X.slice();
|
|
9607
9607
|
var Ke = new X.constructor(X.length);
|
|
9608
9608
|
return X.copy(Ke), Ke;
|
|
9609
|
-
}(
|
|
9609
|
+
}(oe, Ae);
|
|
9610
9610
|
if (wt == d || wt == r || Qe && !De) {
|
|
9611
|
-
if (W(
|
|
9611
|
+
if (W(oe)) return De ? oe : {};
|
|
9612
9612
|
if (Ge = function(X) {
|
|
9613
9613
|
return typeof X.constructor != "function" || O(X) ? {} : (me = de(X), be(me) ? Me(me) : {});
|
|
9614
9614
|
var me;
|
|
9615
|
-
}(Qe ? {} :
|
|
9615
|
+
}(Qe ? {} : oe), !Ae) return function(X, me) {
|
|
9616
9616
|
return $r(X, Hr(X), me);
|
|
9617
|
-
}(
|
|
9617
|
+
}(oe, function(X, me) {
|
|
9618
9618
|
return X && $r(me, Le(me), X);
|
|
9619
|
-
}(Ge,
|
|
9619
|
+
}(Ge, oe));
|
|
9620
9620
|
} else {
|
|
9621
|
-
if (!R[wt]) return De ?
|
|
9621
|
+
if (!R[wt]) return De ? oe : {};
|
|
9622
9622
|
Ge = function(X, me, Ke, qe) {
|
|
9623
9623
|
var tt = X.constructor;
|
|
9624
9624
|
switch (me) {
|
|
@@ -9666,13 +9666,13 @@ var Ff, gz = function(e, t, n) {
|
|
|
9666
9666
|
return Qt ? Object(Qt.call(nt)) : {};
|
|
9667
9667
|
}(X);
|
|
9668
9668
|
}
|
|
9669
|
-
}(
|
|
9669
|
+
}(oe, wt, si, Ae);
|
|
9670
9670
|
}
|
|
9671
9671
|
}
|
|
9672
9672
|
Ve || (Ve = new Kn());
|
|
9673
|
-
var kt = Ve.get(
|
|
9673
|
+
var kt = Ve.get(oe);
|
|
9674
9674
|
if (kt) return kt;
|
|
9675
|
-
if (Ve.set(
|
|
9675
|
+
if (Ve.set(oe, Ge), !ot) var _t = We ? function(X) {
|
|
9676
9676
|
return function(me, Ke, qe) {
|
|
9677
9677
|
var tt = Ke(me);
|
|
9678
9678
|
return I(me) ? tt : function(nt, Et) {
|
|
@@ -9680,126 +9680,126 @@ var Ff, gz = function(e, t, n) {
|
|
|
9680
9680
|
return nt;
|
|
9681
9681
|
}(tt, qe(me));
|
|
9682
9682
|
}(X, Le, Hr);
|
|
9683
|
-
}(
|
|
9683
|
+
}(oe) : Le(oe);
|
|
9684
9684
|
return function(X, me) {
|
|
9685
9685
|
for (var Ke = -1, qe = X ? X.length : 0; ++Ke < qe && me(X[Ke], Ke, X) !== !1; ) ;
|
|
9686
|
-
}(_t ||
|
|
9687
|
-
_t && (X =
|
|
9686
|
+
}(_t || oe, function(X, me) {
|
|
9687
|
+
_t && (X = oe[me = X]), Zt(Ge, me, si(X, Ae, We, Re, me, oe, Ve));
|
|
9688
9688
|
}), Ge;
|
|
9689
9689
|
}
|
|
9690
|
-
function _i(
|
|
9691
|
-
return !(!be(
|
|
9690
|
+
function _i(oe) {
|
|
9691
|
+
return !(!be(oe) || function(Ae) {
|
|
9692
9692
|
return !!F && F in Ae;
|
|
9693
|
-
}(
|
|
9693
|
+
}(oe)) && (te(oe) || W(oe) ? J : _).test(Y(oe));
|
|
9694
9694
|
}
|
|
9695
|
-
function tr(
|
|
9696
|
-
var Ae = new
|
|
9697
|
-
return new ge(Ae).set(new ge(
|
|
9695
|
+
function tr(oe) {
|
|
9696
|
+
var Ae = new oe.constructor(oe.byteLength);
|
|
9697
|
+
return new ge(Ae).set(new ge(oe)), Ae;
|
|
9698
9698
|
}
|
|
9699
|
-
function $r(
|
|
9699
|
+
function $r(oe, Ae, We, Re) {
|
|
9700
9700
|
We || (We = {});
|
|
9701
9701
|
for (var ne = -1, De = Ae.length; ++ne < De; ) {
|
|
9702
9702
|
var Ve = Ae[ne], Ge = void 0;
|
|
9703
|
-
Zt(We, Ve, Ge === void 0 ?
|
|
9703
|
+
Zt(We, Ve, Ge === void 0 ? oe[Ve] : Ge);
|
|
9704
9704
|
}
|
|
9705
9705
|
return We;
|
|
9706
9706
|
}
|
|
9707
|
-
function pi(
|
|
9708
|
-
var We, Re, ne =
|
|
9707
|
+
function pi(oe, Ae) {
|
|
9708
|
+
var We, Re, ne = oe.__data__;
|
|
9709
9709
|
return ((Re = typeof (We = Ae)) == "string" || Re == "number" || Re == "symbol" || Re == "boolean" ? We !== "__proto__" : We === null) ? ne[typeof Ae == "string" ? "string" : "hash"] : ne.map;
|
|
9710
9710
|
}
|
|
9711
|
-
function at(
|
|
9711
|
+
function at(oe, Ae) {
|
|
9712
9712
|
var We = function(Re, ne) {
|
|
9713
9713
|
return Re == null ? void 0 : Re[ne];
|
|
9714
|
-
}(
|
|
9714
|
+
}(oe, Ae);
|
|
9715
9715
|
return _i(We) ? We : void 0;
|
|
9716
9716
|
}
|
|
9717
9717
|
en.prototype.clear = function() {
|
|
9718
9718
|
this.__data__ = Oe ? Oe(null) : {};
|
|
9719
|
-
}, en.prototype.delete = function(
|
|
9720
|
-
return this.has(
|
|
9721
|
-
}, en.prototype.get = function(
|
|
9719
|
+
}, en.prototype.delete = function(oe) {
|
|
9720
|
+
return this.has(oe) && delete this.__data__[oe];
|
|
9721
|
+
}, en.prototype.get = function(oe) {
|
|
9722
9722
|
var Ae = this.__data__;
|
|
9723
9723
|
if (Oe) {
|
|
9724
|
-
var We = Ae[
|
|
9724
|
+
var We = Ae[oe];
|
|
9725
9725
|
return We === n ? void 0 : We;
|
|
9726
9726
|
}
|
|
9727
|
-
return ve.call(Ae,
|
|
9728
|
-
}, en.prototype.has = function(
|
|
9727
|
+
return ve.call(Ae, oe) ? Ae[oe] : void 0;
|
|
9728
|
+
}, en.prototype.has = function(oe) {
|
|
9729
9729
|
var Ae = this.__data__;
|
|
9730
|
-
return Oe ? Ae[
|
|
9731
|
-
}, en.prototype.set = function(
|
|
9732
|
-
return this.__data__[
|
|
9730
|
+
return Oe ? Ae[oe] !== void 0 : ve.call(Ae, oe);
|
|
9731
|
+
}, en.prototype.set = function(oe, Ae) {
|
|
9732
|
+
return this.__data__[oe] = Oe && Ae === void 0 ? n : Ae, this;
|
|
9733
9733
|
}, qt.prototype.clear = function() {
|
|
9734
9734
|
this.__data__ = [];
|
|
9735
|
-
}, qt.prototype.delete = function(
|
|
9736
|
-
var Ae = this.__data__, We = Fn(Ae,
|
|
9735
|
+
}, qt.prototype.delete = function(oe) {
|
|
9736
|
+
var Ae = this.__data__, We = Fn(Ae, oe);
|
|
9737
9737
|
return !(We < 0) && (We == Ae.length - 1 ? Ae.pop() : Ce.call(Ae, We, 1), !0);
|
|
9738
|
-
}, qt.prototype.get = function(
|
|
9739
|
-
var Ae = this.__data__, We = Fn(Ae,
|
|
9738
|
+
}, qt.prototype.get = function(oe) {
|
|
9739
|
+
var Ae = this.__data__, We = Fn(Ae, oe);
|
|
9740
9740
|
return We < 0 ? void 0 : Ae[We][1];
|
|
9741
|
-
}, qt.prototype.has = function(
|
|
9742
|
-
return Fn(this.__data__,
|
|
9743
|
-
}, qt.prototype.set = function(
|
|
9744
|
-
var We = this.__data__, Re = Fn(We,
|
|
9745
|
-
return Re < 0 ? We.push([
|
|
9741
|
+
}, qt.prototype.has = function(oe) {
|
|
9742
|
+
return Fn(this.__data__, oe) > -1;
|
|
9743
|
+
}, qt.prototype.set = function(oe, Ae) {
|
|
9744
|
+
var We = this.__data__, Re = Fn(We, oe);
|
|
9745
|
+
return Re < 0 ? We.push([oe, Ae]) : We[Re][1] = Ae, this;
|
|
9746
9746
|
}, Rn.prototype.clear = function() {
|
|
9747
9747
|
this.__data__ = { hash: new en(), map: new (jt || qt)(), string: new en() };
|
|
9748
|
-
}, Rn.prototype.delete = function(
|
|
9749
|
-
return pi(this,
|
|
9750
|
-
}, Rn.prototype.get = function(
|
|
9751
|
-
return pi(this,
|
|
9752
|
-
}, Rn.prototype.has = function(
|
|
9753
|
-
return pi(this,
|
|
9754
|
-
}, Rn.prototype.set = function(
|
|
9755
|
-
return pi(this,
|
|
9748
|
+
}, Rn.prototype.delete = function(oe) {
|
|
9749
|
+
return pi(this, oe).delete(oe);
|
|
9750
|
+
}, Rn.prototype.get = function(oe) {
|
|
9751
|
+
return pi(this, oe).get(oe);
|
|
9752
|
+
}, Rn.prototype.has = function(oe) {
|
|
9753
|
+
return pi(this, oe).has(oe);
|
|
9754
|
+
}, Rn.prototype.set = function(oe, Ae) {
|
|
9755
|
+
return pi(this, oe).set(oe, Ae), this;
|
|
9756
9756
|
}, Kn.prototype.clear = function() {
|
|
9757
9757
|
this.__data__ = new qt();
|
|
9758
|
-
}, Kn.prototype.delete = function(
|
|
9759
|
-
return this.__data__.delete(
|
|
9760
|
-
}, Kn.prototype.get = function(
|
|
9761
|
-
return this.__data__.get(
|
|
9762
|
-
}, Kn.prototype.has = function(
|
|
9763
|
-
return this.__data__.has(
|
|
9764
|
-
}, Kn.prototype.set = function(
|
|
9758
|
+
}, Kn.prototype.delete = function(oe) {
|
|
9759
|
+
return this.__data__.delete(oe);
|
|
9760
|
+
}, Kn.prototype.get = function(oe) {
|
|
9761
|
+
return this.__data__.get(oe);
|
|
9762
|
+
}, Kn.prototype.has = function(oe) {
|
|
9763
|
+
return this.__data__.has(oe);
|
|
9764
|
+
}, Kn.prototype.set = function(oe, Ae) {
|
|
9765
9765
|
var We = this.__data__;
|
|
9766
9766
|
if (We instanceof qt) {
|
|
9767
9767
|
var Re = We.__data__;
|
|
9768
|
-
if (!jt || Re.length < 199) return Re.push([
|
|
9768
|
+
if (!jt || Re.length < 199) return Re.push([oe, Ae]), this;
|
|
9769
9769
|
We = this.__data__ = new Rn(Re);
|
|
9770
9770
|
}
|
|
9771
|
-
return We.set(
|
|
9771
|
+
return We.set(oe, Ae), this;
|
|
9772
9772
|
};
|
|
9773
9773
|
var Hr = Ye ? ie(Ye, Object) : function() {
|
|
9774
9774
|
return [];
|
|
9775
|
-
}, qi = function(
|
|
9776
|
-
return G.call(
|
|
9775
|
+
}, qi = function(oe) {
|
|
9776
|
+
return G.call(oe);
|
|
9777
9777
|
};
|
|
9778
|
-
function no(
|
|
9779
|
-
return !!(Ae = Ae ?? i) && (typeof
|
|
9778
|
+
function no(oe, Ae) {
|
|
9779
|
+
return !!(Ae = Ae ?? i) && (typeof oe == "number" || j.test(oe)) && oe > -1 && oe % 1 == 0 && oe < Ae;
|
|
9780
9780
|
}
|
|
9781
|
-
function O(
|
|
9782
|
-
var Ae =
|
|
9783
|
-
return
|
|
9781
|
+
function O(oe) {
|
|
9782
|
+
var Ae = oe && oe.constructor;
|
|
9783
|
+
return oe === (typeof Ae == "function" && Ae.prototype || _e);
|
|
9784
9784
|
}
|
|
9785
|
-
function Y(
|
|
9786
|
-
if (
|
|
9785
|
+
function Y(oe) {
|
|
9786
|
+
if (oe != null) {
|
|
9787
9787
|
try {
|
|
9788
|
-
return
|
|
9788
|
+
return se.call(oe);
|
|
9789
9789
|
} catch {
|
|
9790
9790
|
}
|
|
9791
9791
|
try {
|
|
9792
|
-
return
|
|
9792
|
+
return oe + "";
|
|
9793
9793
|
} catch {
|
|
9794
9794
|
}
|
|
9795
9795
|
}
|
|
9796
9796
|
return "";
|
|
9797
9797
|
}
|
|
9798
|
-
function N(
|
|
9799
|
-
return
|
|
9798
|
+
function N(oe, Ae) {
|
|
9799
|
+
return oe === Ae || oe != oe && Ae != Ae;
|
|
9800
9800
|
}
|
|
9801
|
-
(Nt && qi(new Nt(new ArrayBuffer(1))) != b || jt && qi(new jt()) != u || $e && qi($e.resolve()) != c || ce && qi(new ce()) != g || ke && qi(new ke()) != y) && (qi = function(
|
|
9802
|
-
var Ae = G.call(
|
|
9801
|
+
(Nt && qi(new Nt(new ArrayBuffer(1))) != b || jt && qi(new jt()) != u || $e && qi($e.resolve()) != c || ce && qi(new ce()) != g || ke && qi(new ke()) != y) && (qi = function(oe) {
|
|
9802
|
+
var Ae = G.call(oe), We = Ae == d ? oe.constructor : void 0, Re = We ? Y(We) : void 0;
|
|
9803
9803
|
if (Re) switch (Re) {
|
|
9804
9804
|
case Je:
|
|
9805
9805
|
return b;
|
|
@@ -9815,32 +9815,32 @@ var Ff, gz = function(e, t, n) {
|
|
|
9815
9815
|
return Ae;
|
|
9816
9816
|
});
|
|
9817
9817
|
var I = Array.isArray;
|
|
9818
|
-
function H(
|
|
9819
|
-
return
|
|
9818
|
+
function H(oe) {
|
|
9819
|
+
return oe != null && function(Ae) {
|
|
9820
9820
|
return typeof Ae == "number" && Ae > -1 && Ae % 1 == 0 && Ae <= i;
|
|
9821
|
-
}(
|
|
9821
|
+
}(oe.length) && !te(oe);
|
|
9822
9822
|
}
|
|
9823
9823
|
var K = yt || function() {
|
|
9824
9824
|
return !1;
|
|
9825
9825
|
};
|
|
9826
|
-
function te(
|
|
9827
|
-
var Ae = be(
|
|
9826
|
+
function te(oe) {
|
|
9827
|
+
var Ae = be(oe) ? G.call(oe) : "";
|
|
9828
9828
|
return Ae == o || Ae == l;
|
|
9829
9829
|
}
|
|
9830
|
-
function be(
|
|
9831
|
-
var Ae = typeof
|
|
9832
|
-
return !!
|
|
9830
|
+
function be(oe) {
|
|
9831
|
+
var Ae = typeof oe;
|
|
9832
|
+
return !!oe && (Ae == "object" || Ae == "function");
|
|
9833
9833
|
}
|
|
9834
|
-
function Le(
|
|
9835
|
-
return H(
|
|
9834
|
+
function Le(oe) {
|
|
9835
|
+
return H(oe) ? Wn(oe) : function(Ae) {
|
|
9836
9836
|
if (!O(Ae)) return dt(Ae);
|
|
9837
9837
|
var We = [];
|
|
9838
9838
|
for (var Re in Object(Ae)) ve.call(Ae, Re) && Re != "constructor" && We.push(Re);
|
|
9839
9839
|
return We;
|
|
9840
|
-
}(
|
|
9840
|
+
}(oe);
|
|
9841
9841
|
}
|
|
9842
|
-
e.exports = function(
|
|
9843
|
-
return si(
|
|
9842
|
+
e.exports = function(oe) {
|
|
9843
|
+
return si(oe, !0, !0);
|
|
9844
9844
|
};
|
|
9845
9845
|
});
|
|
9846
9846
|
function wO(e, t) {
|
|
@@ -10613,7 +10613,7 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10613
10613
|
});
|
|
10614
10614
|
}
|
|
10615
10615
|
function k(M, P, U, L, V, W, Q, ie, we, Ee) {
|
|
10616
|
-
var ee, _e, Te, F,
|
|
10616
|
+
var ee, _e, Te, F, se, ve, G, J = L && L.__k || d, fe = J.length;
|
|
10617
10617
|
for (U.__k = [], ee = 0; ee < P.length; ee++) if ((F = U.__k[ee] = (F = P[ee]) == null || typeof F == "boolean" ? null : typeof F == "string" || typeof F == "number" || typeof F == "bigint" ? m(null, F, null, null, F) : Array.isArray(F) ? m(y, { children: F }, null, null, null) : F.__b > 0 ? m(F.type, F.props, F.key, null, F.__v) : F) != null) {
|
|
10618
10618
|
if (F.__ = U, F.__b = U.__b + 1, (Te = J[ee]) === null || Te && F.key == Te.key && F.type === Te.type) J[ee] = void 0;
|
|
10619
10619
|
else for (_e = 0; _e < fe; _e++) {
|
|
@@ -10623,7 +10623,7 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10623
10623
|
}
|
|
10624
10624
|
Te = null;
|
|
10625
10625
|
}
|
|
10626
|
-
_(M, F, Te = Te || f, V, W, Q, ie, we, Ee),
|
|
10626
|
+
_(M, F, Te = Te || f, V, W, Q, ie, we, Ee), se = F.__e, (_e = F.ref) && Te.ref != _e && (G || (G = []), Te.ref && G.push(Te.ref, null, F), G.push(_e, F.__c || se, F)), se != null ? (ve == null && (ve = se), typeof F.type == "function" && F.__k === Te.__k ? F.__d = we = A(F, we, M) : we = D(M, F, Te, J, se, we), typeof U.type == "function" && (U.__d = we)) : we && Te.__e == we && we.parentNode != M && (we = b(Te));
|
|
10627
10627
|
}
|
|
10628
10628
|
for (U.__e = ve, ee = fe; ee--; ) J[ee] != null && (typeof U.type == "function" && J[ee].__e != null && J[ee].__e == U.__d && (U.__d = b(L, ee + 1)), Z(J[ee], J[ee]));
|
|
10629
10629
|
if (G) for (ee = 0; ee < G.length; ee++) z(G[ee], G[++ee], G[++ee]);
|
|
@@ -10670,7 +10670,7 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10670
10670
|
this.l[M.type + !0](i.event ? i.event(M) : M);
|
|
10671
10671
|
}
|
|
10672
10672
|
function _(M, P, U, L, V, W, Q, ie, we) {
|
|
10673
|
-
var Ee, ee, _e, Te, F,
|
|
10673
|
+
var Ee, ee, _e, Te, F, se, ve, G, J, fe, ae, ge = P.type;
|
|
10674
10674
|
if (P.constructor !== void 0) return null;
|
|
10675
10675
|
U.__h != null && (we = U.__h, ie = P.__e = U.__e, P.__h = null, W = [ie]), (Ee = i.__b) && Ee(P);
|
|
10676
10676
|
try {
|
|
@@ -10684,10 +10684,10 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10684
10684
|
break e;
|
|
10685
10685
|
}
|
|
10686
10686
|
ee.componentWillUpdate != null && ee.componentWillUpdate(G, ee.__s, fe), ee.componentDidUpdate != null && ee.__h.push(function() {
|
|
10687
|
-
ee.componentDidUpdate(Te, F,
|
|
10687
|
+
ee.componentDidUpdate(Te, F, se);
|
|
10688
10688
|
});
|
|
10689
10689
|
}
|
|
10690
|
-
ee.context = fe, ee.props = G, ee.state = ee.__s, (Ee = i.__r) && Ee(P), ee.__d = !1, ee.__v = P, ee.__P = M, Ee = ee.render(ee.props, ee.state, ee.context), ee.state = ee.__s, ee.getChildContext != null && (L = h(h({}, L), ee.getChildContext())), _e || ee.getSnapshotBeforeUpdate == null || (
|
|
10690
|
+
ee.context = fe, ee.props = G, ee.state = ee.__s, (Ee = i.__r) && Ee(P), ee.__d = !1, ee.__v = P, ee.__P = M, Ee = ee.render(ee.props, ee.state, ee.context), ee.state = ee.__s, ee.getChildContext != null && (L = h(h({}, L), ee.getChildContext())), _e || ee.getSnapshotBeforeUpdate == null || (se = ee.getSnapshotBeforeUpdate(Te, F)), ae = Ee != null && Ee.type === y && Ee.key == null ? Ee.props.children : Ee, k(M, Array.isArray(ae) ? ae : [ae], P, U, L, V, W, Q, ie, we), ee.base = P.__e, P.__h = null, ee.__h.length && Q.push(ee), ve && (ee.__E = ee.__ = null), ee.__e = !1;
|
|
10691
10691
|
} else W == null && P.__v === U.__v ? (P.__k = U.__k, P.__e = U.__e) : P.__e = R(U.__e, P, U, L, V, W, Q, we);
|
|
10692
10692
|
(Ee = i.diffed) && Ee(P);
|
|
10693
10693
|
} catch (de) {
|
|
@@ -10706,10 +10706,10 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10706
10706
|
});
|
|
10707
10707
|
}
|
|
10708
10708
|
function R(M, P, U, L, V, W, Q, ie) {
|
|
10709
|
-
var we, Ee, ee, _e = U.props, Te = P.props, F = P.type,
|
|
10709
|
+
var we, Ee, ee, _e = U.props, Te = P.props, F = P.type, se = 0;
|
|
10710
10710
|
if (F === "svg" && (V = !0), W != null) {
|
|
10711
|
-
for (;
|
|
10712
|
-
M = we, W[
|
|
10711
|
+
for (; se < W.length; se++) if ((we = W[se]) && "setAttribute" in we == !!F && (F ? we.localName === F : we.nodeType === 3)) {
|
|
10712
|
+
M = we, W[se] = null;
|
|
10713
10713
|
break;
|
|
10714
10714
|
}
|
|
10715
10715
|
}
|
|
@@ -10720,7 +10720,7 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10720
10720
|
if (F === null) _e === Te || ie && M.data === Te || (M.data = Te);
|
|
10721
10721
|
else {
|
|
10722
10722
|
if (W = W && n.call(M.childNodes), Ee = (_e = U.props || f).dangerouslySetInnerHTML, ee = Te.dangerouslySetInnerHTML, !ie) {
|
|
10723
|
-
if (W != null) for (_e = {},
|
|
10723
|
+
if (W != null) for (_e = {}, se = 0; se < M.attributes.length; se++) _e[M.attributes[se].name] = M.attributes[se].value;
|
|
10724
10724
|
(ee || Ee) && (ee && (Ee && ee.__html == Ee.__html || ee.__html === M.innerHTML) || (M.innerHTML = ee && ee.__html || ""));
|
|
10725
10725
|
}
|
|
10726
10726
|
if (function(ve, G, J, fe, ae) {
|
|
@@ -10728,8 +10728,8 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10728
10728
|
for (ge in J) ge === "children" || ge === "key" || ge in G || E(ve, ge, null, J[ge], fe);
|
|
10729
10729
|
for (ge in G) ae && typeof G[ge] != "function" || ge === "children" || ge === "key" || ge === "value" || ge === "checked" || J[ge] === G[ge] || E(ve, ge, G[ge], J[ge], fe);
|
|
10730
10730
|
}(M, Te, _e, V, ie), ee) P.__k = [];
|
|
10731
|
-
else if (
|
|
10732
|
-
ie || ("value" in Te && (
|
|
10731
|
+
else if (se = P.props.children, k(M, Array.isArray(se) ? se : [se], P, U, L, V && F !== "foreignObject", W, Q, W ? W[0] : U.__k && b(U, 0), ie), W != null) for (se = W.length; se--; ) W[se] != null && g(W[se]);
|
|
10732
|
+
ie || ("value" in Te && (se = Te.value) !== void 0 && (se !== _e.value || se !== M.value || F === "progress" && !se) && E(M, "value", se, _e.value, !1), "checked" in Te && (se = Te.checked) !== void 0 && se !== M.checked && E(M, "checked", se, _e.checked, !1));
|
|
10733
10733
|
}
|
|
10734
10734
|
return M;
|
|
10735
10735
|
}
|
|
@@ -10756,7 +10756,7 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10756
10756
|
function re(M, P, U) {
|
|
10757
10757
|
return this.constructor(M, U);
|
|
10758
10758
|
}
|
|
10759
|
-
function
|
|
10759
|
+
function le(M, P, U) {
|
|
10760
10760
|
var L, V, W;
|
|
10761
10761
|
i.__ && i.__(M, P), V = (L = typeof U == "function") ? null : U && U.__k || P.__k, W = [], _(P, M = (!L && U || P).__k = v(y, null, [M]), V || f, f, P.ownerSVGElement !== void 0, !L && U ? [U] : V ? null : P.firstChild ? n.call(P.childNodes) : null, W, !L && U ? U : V ? V.__e : P.firstChild, L), j(W, M);
|
|
10762
10762
|
}
|
|
@@ -10799,8 +10799,8 @@ var Ez = xz, pae = pf(function(e, t) {
|
|
|
10799
10799
|
}, t.createElement = v, t.createRef = function() {
|
|
10800
10800
|
return { current: null };
|
|
10801
10801
|
}, t.h = v, t.hydrate = function M(P, U) {
|
|
10802
|
-
|
|
10803
|
-
}, t.isValidElement = a, t.options = i, t.render =
|
|
10802
|
+
le(P, U, M);
|
|
10803
|
+
}, t.isValidElement = a, t.options = i, t.render = le, t.toChildArray = function M(P, U) {
|
|
10804
10804
|
return U = U || [], P == null || typeof P == "boolean" || (Array.isArray(P) ? P.some(function(L) {
|
|
10805
10805
|
M(L, U);
|
|
10806
10806
|
}) : U.push(P)), U;
|
|
@@ -13823,10 +13823,10 @@ function _B(e, t) {
|
|
|
13823
13823
|
for (var c = n.visualViewport ? n.visualViewport.width : innerWidth, h = n.visualViewport ? n.visualViewport.height : innerHeight, g = window.scrollX || pageXOffset, v = window.scrollY || pageYOffset, m = e.getBoundingClientRect(), y = m.height, p = m.width, b = m.top, w = m.right, T = m.bottom, C = m.left, k = r === "start" || r === "nearest" ? b : r === "end" ? T : b + y / 2, A = a === "center" ? C + p / 2 : a === "end" ? w : C, D = [], S = 0; S < f.length; S++) {
|
|
13824
13824
|
var E = f[S], x = E.getBoundingClientRect(), B = x.height, _ = x.width, j = x.top, R = x.right, z = x.bottom, Z = x.left;
|
|
13825
13825
|
if (i === "if-needed" && b >= 0 && C >= 0 && T <= h && w <= c && b >= j && T <= z && C >= Z && w <= R) return D;
|
|
13826
|
-
var re = getComputedStyle(E),
|
|
13827
|
-
if (u === E) L = r === "start" ? k : r === "end" ? k - h : r === "nearest" ? Ev(v, v + h, h, M, U, v + k, v + k + y, y) : k - h / 2, V = a === "start" ? A : a === "center" ? A - c / 2 : a === "end" ? A - c : Ev(g, g + c, c,
|
|
13826
|
+
var re = getComputedStyle(E), le = parseInt(re.borderLeftWidth, 10), M = parseInt(re.borderTopWidth, 10), P = parseInt(re.borderRightWidth, 10), U = parseInt(re.borderBottomWidth, 10), L = 0, V = 0, W = "offsetWidth" in E ? E.offsetWidth - E.clientWidth - le - P : 0, Q = "offsetHeight" in E ? E.offsetHeight - E.clientHeight - M - U : 0;
|
|
13827
|
+
if (u === E) L = r === "start" ? k : r === "end" ? k - h : r === "nearest" ? Ev(v, v + h, h, M, U, v + k, v + k + y, y) : k - h / 2, V = a === "start" ? A : a === "center" ? A - c / 2 : a === "end" ? A - c : Ev(g, g + c, c, le, P, g + A, g + A + p, p), L = Math.max(0, L + v), V = Math.max(0, V + g);
|
|
13828
13828
|
else {
|
|
13829
|
-
L = r === "start" ? k - j - M : r === "end" ? k - z + U + Q : r === "nearest" ? Ev(j, z, B, M, U + Q, k, k + y, y) : k - (j + B / 2) + Q / 2, V = a === "start" ? A - Z -
|
|
13829
|
+
L = r === "start" ? k - j - M : r === "end" ? k - z + U + Q : r === "nearest" ? Ev(j, z, B, M, U + Q, k, k + y, y) : k - (j + B / 2) + Q / 2, V = a === "start" ? A - Z - le : a === "center" ? A - (Z + _ / 2) + W / 2 : a === "end" ? A - R + P + W : Ev(Z, R, _, le, P + W, A, A + p, p);
|
|
13830
13830
|
var ie = E.scrollLeft, we = E.scrollTop;
|
|
13831
13831
|
k += we - (L = Math.max(0, Math.min(we + L, E.scrollHeight - B + Q))), A += ie - (V = Math.max(0, Math.min(ie + V, E.scrollWidth - _ + W)));
|
|
13832
13832
|
}
|
|
@@ -14838,7 +14838,7 @@ function mfe(e) {
|
|
|
14838
14838
|
case "set_node":
|
|
14839
14839
|
try {
|
|
14840
14840
|
for (var z = ba($.levels(p, { at: k.path })), Z = z.next(); !Z.done; Z = z.next()) {
|
|
14841
|
-
var re = hn(Z.value, 2),
|
|
14841
|
+
var re = hn(Z.value, 2), le = re[0], M = re[1], P = ue.findKey(p, le);
|
|
14842
14842
|
R.push([M, P]);
|
|
14843
14843
|
}
|
|
14844
14844
|
} catch (_e) {
|
|
@@ -14858,7 +14858,7 @@ function mfe(e) {
|
|
|
14858
14858
|
try {
|
|
14859
14859
|
for (var U = ba($.levels(p, { at: Be.parent(k.path) })), L = U.next(); !L.done; L = U.next()) {
|
|
14860
14860
|
var V = hn(L.value, 2);
|
|
14861
|
-
|
|
14861
|
+
le = V[0], M = V[1], P = ue.findKey(p, le), R.push([M, P]);
|
|
14862
14862
|
}
|
|
14863
14863
|
} catch (_e) {
|
|
14864
14864
|
S = { error: _e };
|
|
@@ -14874,7 +14874,7 @@ function mfe(e) {
|
|
|
14874
14874
|
try {
|
|
14875
14875
|
for (var W = ba($.levels(p, { at: Be.common(Be.parent(k.path), Be.parent(k.newPath)) })), Q = W.next(); !Q.done; Q = W.next()) {
|
|
14876
14876
|
var ie = hn(Q.value, 2);
|
|
14877
|
-
|
|
14877
|
+
le = ie[0], M = ie[1], P = ue.findKey(p, le), R.push([M, P]);
|
|
14878
14878
|
}
|
|
14879
14879
|
} catch (_e) {
|
|
14880
14880
|
x = { error: _e };
|
|
@@ -14890,7 +14890,7 @@ function mfe(e) {
|
|
|
14890
14890
|
try {
|
|
14891
14891
|
for (var we = ba(R), Ee = we.next(); !Ee.done; Ee = we.next()) {
|
|
14892
14892
|
var ee = hn(Ee.value, 2);
|
|
14893
|
-
M = ee[0], P = ee[1],
|
|
14893
|
+
M = ee[0], P = ee[1], le = hn($.node(p, M), 1)[0], A1.set(le, P);
|
|
14894
14894
|
}
|
|
14895
14895
|
} catch (_e) {
|
|
14896
14896
|
_ = { error: _e };
|
|
@@ -14994,13 +14994,13 @@ function mfe(e) {
|
|
|
14994
14994
|
S.forEach(function(_) {
|
|
14995
14995
|
var j = _.nodeType, R = _.nodeName, z = _.textContent, Z = z === void 0 ? "" : z;
|
|
14996
14996
|
if (j !== po.TEXT_NODE) if (R !== "BR") {
|
|
14997
|
-
var re = _,
|
|
14998
|
-
if (AU.includes(R.toLowerCase()))
|
|
14997
|
+
var re = _, le = !1;
|
|
14998
|
+
if (AU.includes(R.toLowerCase())) le = !0;
|
|
14999
14999
|
else for (var M in W0) if (re.matches(M)) {
|
|
15000
|
-
|
|
15000
|
+
le = !0;
|
|
15001
15001
|
break;
|
|
15002
15002
|
}
|
|
15003
|
-
if (
|
|
15003
|
+
if (le) {
|
|
15004
15004
|
var P = b9(pe(re), p);
|
|
15005
15005
|
return Array.isArray(P) ? (P.forEach(function(L) {
|
|
15006
15006
|
return dB(p, L);
|
|
@@ -15263,8 +15263,8 @@ function A9(e) {
|
|
|
15263
15263
|
var E = n;
|
|
15264
15264
|
c && (E = function(B, _) {
|
|
15265
15265
|
var j = hn(B.split("#"), 2), R = j[0], z = j[1], Z = [];
|
|
15266
|
-
P5(_, function(
|
|
15267
|
-
Z.push(M + "=" +
|
|
15266
|
+
P5(_, function(le, M) {
|
|
15267
|
+
Z.push(M + "=" + le);
|
|
15268
15268
|
});
|
|
15269
15269
|
var re = Z.join("&");
|
|
15270
15270
|
return R = R.indexOf("?") > 0 ? R + "&" + re : R + "?" + re, z ? R + "#" + z : R;
|
|
@@ -15590,9 +15590,9 @@ var Ofe = function(e) {
|
|
|
15590
15590
|
else {
|
|
15591
15591
|
var x = !1, B = !1, _ = i.count !== void 0 && typeof i.count != "string", j = t.hasDefaultValue(i), R = _ ? this.pluralResolver.getSuffix(d, i.count) : "", z = i["defaultValue".concat(R)] || i.defaultValue;
|
|
15592
15592
|
!this.isValidLookup(v) && j && (x = !0, v = z), this.isValidLookup(v) || (B = !0, v = l);
|
|
15593
|
-
var Z = i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, re = Z && B ? void 0 : v,
|
|
15594
|
-
if (B || x ||
|
|
15595
|
-
if (this.logger.log(
|
|
15593
|
+
var Z = i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, re = Z && B ? void 0 : v, le = j && z !== v && this.options.updateMissing;
|
|
15594
|
+
if (B || x || le) {
|
|
15595
|
+
if (this.logger.log(le ? "updateKey" : "missingKey", d, f, l, le ? z : v), s) {
|
|
15596
15596
|
var M = this.resolve(l, Ti({}, i, { keySeparator: !1 }));
|
|
15597
15597
|
M && M.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
15598
15598
|
}
|
|
@@ -15600,7 +15600,7 @@ var Ofe = function(e) {
|
|
|
15600
15600
|
if (this.options.saveMissingTo === "fallback" && U && U[0]) for (var L = 0; L < U.length; L++) P.push(U[L]);
|
|
15601
15601
|
else this.options.saveMissingTo === "all" ? P = this.languageUtils.toResolveHierarchy(i.lng || this.language) : P.push(i.lng || this.language);
|
|
15602
15602
|
var V = function(W, Q, ie) {
|
|
15603
|
-
a.options.missingKeyHandler ? a.options.missingKeyHandler(W, f, Q,
|
|
15603
|
+
a.options.missingKeyHandler ? a.options.missingKeyHandler(W, f, Q, le ? ie : re, le, i) : a.backendConnector && a.backendConnector.saveMissing && a.backendConnector.saveMissing(W, f, Q, le ? ie : re, le, i), a.emit("missingKey", W, f, Q, v);
|
|
15604
15604
|
};
|
|
15605
15605
|
this.options.saveMissing && (this.options.saveMissingPlurals && _ ? P.forEach(function(W) {
|
|
15606
15606
|
a.pluralResolver.getSuffixes(W).forEach(function(Q) {
|
|
@@ -17696,33 +17696,33 @@ var gpe = { type: "image", renderElem: function(e, t, n) {
|
|
|
17696
17696
|
var y = $t("img", { style: m, src: r, alt: s, "data-href": l }), p = n.isDisabled();
|
|
17697
17697
|
return v && !p ? function(b, w, T, C) {
|
|
17698
17698
|
var k = pe("body"), A = xF(b, w), D = C.width, S = C.height, E = 0, x = 0, B = 0, _ = !1, j = null;
|
|
17699
|
-
function R(
|
|
17699
|
+
function R(le) {
|
|
17700
17700
|
j = function() {
|
|
17701
17701
|
var U = pe("#" + A);
|
|
17702
17702
|
if (U.length === 0) throw new Error("Cannot find image container elem");
|
|
17703
17703
|
return U;
|
|
17704
|
-
}(), E =
|
|
17704
|
+
}(), E = le;
|
|
17705
17705
|
var M = j.find("img");
|
|
17706
17706
|
if (M.length === 0) throw new Error("Cannot find image elem");
|
|
17707
17707
|
x = M.width(), B = M.height(), k.on("mousemove", z), k.on("mouseup", Z);
|
|
17708
17708
|
var P = ue.getHoverbar(b);
|
|
17709
17709
|
P && P.hideAndClean();
|
|
17710
17710
|
}
|
|
17711
|
-
var z = tf(function(
|
|
17712
|
-
|
|
17713
|
-
var M =
|
|
17711
|
+
var z = tf(function(le) {
|
|
17712
|
+
le.preventDefault();
|
|
17713
|
+
var M = le.clientX, P = x + (_ ? E - M : M - E), U = B * (P / x);
|
|
17714
17714
|
j != null && (P <= 15 || U <= 15 || (j.css("width", P + "px"), j.css("height", U + "px")));
|
|
17715
17715
|
}, 100);
|
|
17716
|
-
function Z(
|
|
17716
|
+
function Z(le) {
|
|
17717
17717
|
if (k.off("mousemove", z), j != null) {
|
|
17718
17718
|
var M = j.width().toFixed(2), P = j.height().toFixed(2), U = { style: Sl(Sl({}, w.style), { width: M + "px", height: P + "px" }) };
|
|
17719
17719
|
Pe.setNodes(b, U, { at: ue.findPath(b, w) }), k.off("mouseup", Z);
|
|
17720
17720
|
}
|
|
17721
17721
|
}
|
|
17722
17722
|
var re = {};
|
|
17723
|
-
return D && (re.width = D), S && (re.height = S), $t("div", { id: A, style: re, className: "w-e-image-container w-e-selected-image-container", on: { mousedown: function(
|
|
17724
|
-
var M = pe(
|
|
17725
|
-
M.hasClass("w-e-image-dragger") && (
|
|
17723
|
+
return D && (re.width = D), S && (re.height = S), $t("div", { id: A, style: re, className: "w-e-image-container w-e-selected-image-container", on: { mousedown: function(le) {
|
|
17724
|
+
var M = pe(le.target);
|
|
17725
|
+
M.hasClass("w-e-image-dragger") && (le.preventDefault(), (M.hasClass("left-top") || M.hasClass("left-bottom")) && (_ = !0), R(le.clientX));
|
|
17726
17726
|
} } }, T, $t("div", { className: "w-e-image-dragger left-top" }), $t("div", { className: "w-e-image-dragger right-top" }), $t("div", { className: "w-e-image-dragger left-bottom" }), $t("div", { className: "w-e-image-dragger right-bottom" }));
|
|
17727
17727
|
}(n, e, y, { width: c, height: g }) : function(b, w, T, C) {
|
|
17728
17728
|
var k = C.width, A = C.height, D = {};
|
|
@@ -20340,10 +20340,10 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20340
20340
|
K[++H] = te;
|
|
20341
20341
|
}), K;
|
|
20342
20342
|
}
|
|
20343
|
-
var
|
|
20343
|
+
var le = Array.prototype, M = Function.prototype, P = Object.prototype, U = S["__core-js_shared__"], L = M.toString, V = P.hasOwnProperty, W = function() {
|
|
20344
20344
|
var I = /[^.]+$/.exec(U && U.keys && U.keys.IE_PROTO || "");
|
|
20345
20345
|
return I ? "Symbol(src)_1." + I : "";
|
|
20346
|
-
}(), Q = P.toString, ie = RegExp("^" + L.call(V).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), we = B ? S.Buffer : void 0, Ee = S.Symbol, ee = S.Uint8Array, _e = P.propertyIsEnumerable, Te =
|
|
20346
|
+
}(), Q = P.toString, ie = RegExp("^" + L.call(V).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), we = B ? S.Buffer : void 0, Ee = S.Symbol, ee = S.Uint8Array, _e = P.propertyIsEnumerable, Te = le.splice, F = Ee ? Ee.toStringTag : void 0, se = Object.getOwnPropertySymbols, ve = we ? we.isBuffer : void 0, G = /* @__PURE__ */ function(I, H) {
|
|
20347
20347
|
return function(K) {
|
|
20348
20348
|
return I(H(K));
|
|
20349
20349
|
};
|
|
@@ -20378,11 +20378,11 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20378
20378
|
this.size = H.size;
|
|
20379
20379
|
}
|
|
20380
20380
|
function Ze(I, H) {
|
|
20381
|
-
var K = pi(I), te = !K && $r(I), be = !K && !te && at(I), Le = !K && !te && !be && Y(I),
|
|
20381
|
+
var K = pi(I), te = !K && $r(I), be = !K && !te && at(I), Le = !K && !te && !be && Y(I), oe = K || te || be || Le, Ae = oe ? function(ne, De) {
|
|
20382
20382
|
for (var Ve = -1, Ge = Array(ne); ++Ve < ne; ) Ge[Ve] = De(Ve);
|
|
20383
20383
|
return Ge;
|
|
20384
20384
|
}(I.length, String) : [], We = Ae.length;
|
|
20385
|
-
for (var Re in I) !V.call(I, Re) ||
|
|
20385
|
+
for (var Re in I) !V.call(I, Re) || oe && (Re == "length" || be && (Re == "offset" || Re == "parent") || Le && (Re == "buffer" || Re == "byteLength" || Re == "byteOffset") || si(Re, We)) || Ae.push(Re);
|
|
20386
20386
|
return Ae;
|
|
20387
20387
|
}
|
|
20388
20388
|
function ct(I, H) {
|
|
@@ -20407,13 +20407,13 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20407
20407
|
return O(I) && Ct(I) == r;
|
|
20408
20408
|
}
|
|
20409
20409
|
function Mt(I, H, K, te, be) {
|
|
20410
|
-
return I === H || (I == null || H == null || !O(I) && !O(H) ? I != I && H != H : function(Le,
|
|
20411
|
-
var De = pi(Le), Ve = pi(
|
|
20410
|
+
return I === H || (I == null || H == null || !O(I) && !O(H) ? I != I && H != H : function(Le, oe, Ae, We, Re, ne) {
|
|
20411
|
+
var De = pi(Le), Ve = pi(oe), Ge = De ? a : Fn(Le), ot = Ve ? a : Fn(oe), wt = (Ge = Ge == r ? c : Ge) == c, Qe = (ot = ot == r ? c : ot) == c, kt = Ge == ot;
|
|
20412
20412
|
if (kt && at(Le)) {
|
|
20413
|
-
if (!at(
|
|
20413
|
+
if (!at(oe)) return !1;
|
|
20414
20414
|
De = !0, wt = !1;
|
|
20415
20415
|
}
|
|
20416
|
-
if (kt && !wt) return ne || (ne = new Je()), De || Y(Le) ? qt(Le,
|
|
20416
|
+
if (kt && !wt) return ne || (ne = new Je()), De || Y(Le) ? qt(Le, oe, Ae, We, Re, ne) : function(qe, tt, nt, Et, ut, un, wn) {
|
|
20417
20417
|
switch (nt) {
|
|
20418
20418
|
case w:
|
|
20419
20419
|
if (qe.byteLength != tt.byteLength || qe.byteOffset != tt.byteOffset) return !1;
|
|
@@ -20443,11 +20443,11 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20443
20443
|
if (jt) return jt.call(qe) == jt.call(tt);
|
|
20444
20444
|
}
|
|
20445
20445
|
return !1;
|
|
20446
|
-
}(Le,
|
|
20446
|
+
}(Le, oe, Ge, Ae, We, Re, ne);
|
|
20447
20447
|
if (!(1 & Ae)) {
|
|
20448
|
-
var _t = wt && V.call(Le, "__wrapped__"), X = Qe && V.call(
|
|
20448
|
+
var _t = wt && V.call(Le, "__wrapped__"), X = Qe && V.call(oe, "__wrapped__");
|
|
20449
20449
|
if (_t || X) {
|
|
20450
|
-
var me = _t ? Le.value() : Le, Ke = X ?
|
|
20450
|
+
var me = _t ? Le.value() : Le, Ke = X ? oe.value() : oe;
|
|
20451
20451
|
return ne || (ne = new Je()), Re(me, Ke, Ae, We, ne);
|
|
20452
20452
|
}
|
|
20453
20453
|
}
|
|
@@ -20476,7 +20476,7 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20476
20476
|
ev == tv || !("constructor" in qe) || !("constructor" in tt) || typeof ev == "function" && ev instanceof ev && typeof tv == "function" && tv instanceof tv || (fa = !1);
|
|
20477
20477
|
}
|
|
20478
20478
|
return un.delete(qe), un.delete(tt), fa;
|
|
20479
|
-
}(Le,
|
|
20479
|
+
}(Le, oe, Ae, We, Re, ne)) : !1;
|
|
20480
20480
|
}(I, H, K, te, Mt, be));
|
|
20481
20481
|
}
|
|
20482
20482
|
function Qt(I) {
|
|
@@ -20491,14 +20491,14 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20491
20491
|
return be;
|
|
20492
20492
|
}
|
|
20493
20493
|
function qt(I, H, K, te, be, Le) {
|
|
20494
|
-
var
|
|
20495
|
-
if (Ae != We && !(
|
|
20494
|
+
var oe = 1 & K, Ae = I.length, We = H.length;
|
|
20495
|
+
if (Ae != We && !(oe && We > Ae)) return !1;
|
|
20496
20496
|
var Re = Le.get(I);
|
|
20497
20497
|
if (Re && Le.get(H)) return Re == H;
|
|
20498
20498
|
var ne = -1, De = !0, Ve = 2 & K ? new Oe() : void 0;
|
|
20499
20499
|
for (Le.set(I, H), Le.set(H, I); ++ne < Ae; ) {
|
|
20500
20500
|
var Ge = I[ne], ot = H[ne];
|
|
20501
|
-
if (te) var wt =
|
|
20501
|
+
if (te) var wt = oe ? te(ot, Ge, ne, H, I, Le) : te(Ge, ot, ne, I, H, Le);
|
|
20502
20502
|
if (wt !== void 0) {
|
|
20503
20503
|
if (wt) continue;
|
|
20504
20504
|
De = !1;
|
|
@@ -20522,8 +20522,8 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20522
20522
|
function Rn(I) {
|
|
20523
20523
|
return function(H, K, te) {
|
|
20524
20524
|
var be = K(H);
|
|
20525
|
-
return pi(H) ? be : function(Le,
|
|
20526
|
-
for (var Ae = -1, We =
|
|
20525
|
+
return pi(H) ? be : function(Le, oe) {
|
|
20526
|
+
for (var Ae = -1, We = oe.length, Re = Le.length; ++Ae < We; ) Le[Re + Ae] = oe[Ae];
|
|
20527
20527
|
return Le;
|
|
20528
20528
|
}(be, te(H));
|
|
20529
20529
|
}(I, N, Zt);
|
|
@@ -20603,14 +20603,14 @@ var $0e = { renderElems: [t0e], editorPlugin: function(e) {
|
|
|
20603
20603
|
}
|
|
20604
20604
|
return K.set(I, H), this.size = K.size, this;
|
|
20605
20605
|
};
|
|
20606
|
-
var Zt =
|
|
20606
|
+
var Zt = se ? function(I) {
|
|
20607
20607
|
return I == null ? [] : (I = Object(I), function(H, K) {
|
|
20608
|
-
for (var te = -1, be = H == null ? 0 : H.length, Le = 0,
|
|
20608
|
+
for (var te = -1, be = H == null ? 0 : H.length, Le = 0, oe = []; ++te < be; ) {
|
|
20609
20609
|
var Ae = H[te];
|
|
20610
|
-
K(Ae, te, H) && (
|
|
20610
|
+
K(Ae, te, H) && (oe[Le++] = Ae);
|
|
20611
20611
|
}
|
|
20612
|
-
return
|
|
20613
|
-
}(
|
|
20612
|
+
return oe;
|
|
20613
|
+
}(se(I), function(H) {
|
|
20614
20614
|
return _e.call(I, H);
|
|
20615
20615
|
}));
|
|
20616
20616
|
} : function() {
|
|
@@ -25142,20 +25142,20 @@ var kM = VE(function(e) {
|
|
|
25142
25142
|
var Z = R.value;
|
|
25143
25143
|
if (y.length > m.length) return;
|
|
25144
25144
|
if (!(Z instanceof o)) {
|
|
25145
|
-
var re,
|
|
25145
|
+
var re, le = 1;
|
|
25146
25146
|
if (x) {
|
|
25147
25147
|
if (!(re = l(j, z, m, E))) break;
|
|
25148
25148
|
var M = re.index, P = re.index + re[0].length, U = z;
|
|
25149
25149
|
for (U += R.value.length; M >= U; ) U += (R = R.next).value.length;
|
|
25150
25150
|
if (z = U -= R.value.length, R.value instanceof o) continue;
|
|
25151
|
-
for (var L = R; L !== y.tail && (U < P || typeof L.value == "string"); L = L.next)
|
|
25152
|
-
|
|
25151
|
+
for (var L = R; L !== y.tail && (U < P || typeof L.value == "string"); L = L.next) le++, U += L.value.length;
|
|
25152
|
+
le--, Z = m.slice(z, U), re.index -= z;
|
|
25153
25153
|
} else if (!(re = l(j, 0, Z, E))) continue;
|
|
25154
25154
|
M = re.index;
|
|
25155
25155
|
var V = re[0], W = Z.slice(0, M), Q = Z.slice(M + V.length), ie = z + Z.length;
|
|
25156
25156
|
T && ie > T.reach && (T.reach = ie);
|
|
25157
25157
|
var we = R.prev;
|
|
25158
|
-
if (W && (we = d(y, we, W), z += W.length), c(y, we,
|
|
25158
|
+
if (W && (we = d(y, we, W), z += W.length), c(y, we, le), R = d(y, we, new o(C, S ? s.tokenize(V, S) : V, B, V)), Q && d(y, R, Q), le > 1) {
|
|
25159
25159
|
var Ee = { cause: C + "," + A, reach: ie };
|
|
25160
25160
|
u(m, y, p, R.prev, z, Ee), T && Ee.reach > T.reach && (T.reach = Ee.reach);
|
|
25161
25161
|
}
|
|
@@ -25358,11 +25358,11 @@ var kM = VE(function(e) {
|
|
|
25358
25358
|
e.languages.csharp = e.languages.extend("clike", { string: [{ pattern: n(/(^|[^$\\])<<0>>/.source, [S]), lookbehind: !0, greedy: !0 }, { pattern: n(/(^|[^@$\\])<<0>>/.source, [D]), lookbehind: !0, greedy: !0 }, { pattern: RegExp(A), greedy: !0, alias: "character" }], "class-name": [{ pattern: n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source, [y]), lookbehind: !0, inside: k }, { pattern: n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [v, C]), lookbehind: !0, inside: k }, { pattern: n(/(\busing\s+)<<0>>(?=\s*=)/.source, [v]), lookbehind: !0 }, { pattern: n(/(\b<<0>>\s+)<<1>>/.source, [u, m]), lookbehind: !0, inside: k }, { pattern: n(/(\bcatch\s*\(\s*)<<0>>/.source, [y]), lookbehind: !0, inside: k }, { pattern: n(/(\bwhere\s+)<<0>>/.source, [v]), lookbehind: !0 }, { pattern: n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [b]), lookbehind: !0, inside: k }, { pattern: n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source, [C, c, v]), inside: k }], keyword: f, number: /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i, operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/, punctuation: /\?\.?|::|[{}[\];(),.:]/ }), e.languages.insertBefore("csharp", "number", { range: { pattern: /\.\./, alias: "operator" } }), e.languages.insertBefore("csharp", "punctuation", { "named-parameter": { pattern: n(/([(,]\s*)<<0>>(?=\s*:)/.source, [v]), lookbehind: !0, alias: "punctuation" } }), e.languages.insertBefore("csharp", "class-name", { namespace: { pattern: n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source, [v]), lookbehind: !0, inside: { punctuation: /\./ } }, "type-expression": { pattern: n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source, [g]), lookbehind: !0, alias: "class-name", inside: k }, "return-type": { pattern: n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source, [C, y]), inside: k, alias: "class-name" }, "constructor-invocation": { pattern: n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [C]), lookbehind: !0, inside: k, alias: "class-name" }, "generic-method": { pattern: n(/<<0>>\s*<<1>>(?=\s*\()/.source, [v, h]), inside: { function: n(/^<<0>>/.source, [v]), generic: { pattern: RegExp(h), alias: "class-name", inside: k } } }, "type-list": { pattern: n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source, [u, m, v, C, f.source, g, /\bnew\s*\(\s*\)/.source]), lookbehind: !0, inside: { "record-arguments": { pattern: n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [m, g]), lookbehind: !0, greedy: !0, inside: e.languages.csharp }, keyword: f, "class-name": { pattern: RegExp(C), greedy: !0, inside: k }, punctuation: /[,()]/ } }, preprocessor: { pattern: /(^[\t ]*)#.*/m, lookbehind: !0, alias: "property", inside: { directive: { pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/, lookbehind: !0, alias: "keyword" } } } });
|
|
25359
25359
|
var E = D + "|" + A, x = t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source, [E]), B = i(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [x]), 2), _ = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, j = t(/<<0>>(?:\s*\(<<1>>*\))?/.source, [y, B]);
|
|
25360
25360
|
e.languages.insertBefore("csharp", "class-name", { attribute: { pattern: n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source, [_, j]), lookbehind: !0, greedy: !0, inside: { target: { pattern: n(/^<<0>>(?=\s*:)/.source, [_]), alias: "keyword" }, "attribute-arguments": { pattern: n(/\(<<0>>*\)/.source, [B]), inside: e.languages.csharp }, "class-name": { pattern: RegExp(y), inside: { punctuation: /\./ } }, punctuation: /[:,]/ } } });
|
|
25361
|
-
var R = /:[^}\r\n]+/.source, z = i(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [x]), 2), Z = t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [z, R]), re = i(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [E]), 2),
|
|
25361
|
+
var R = /:[^}\r\n]+/.source, z = i(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [x]), 2), Z = t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [z, R]), re = i(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [E]), 2), le = t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [re, R]);
|
|
25362
25362
|
function M(P, U) {
|
|
25363
25363
|
return { interpolation: { pattern: n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [P]), lookbehind: !0, inside: { "format-string": { pattern: n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [U, R]), lookbehind: !0, inside: { punctuation: /^:/ } }, punctuation: /^\{|\}$/, expression: { pattern: /[\s\S]+/, alias: "language-csharp", inside: e.languages.csharp } } }, string: /[\s\S]+/ };
|
|
25364
25364
|
}
|
|
25365
|
-
e.languages.insertBefore("csharp", "string", { "interpolation-string": [{ pattern: n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source, [Z]), lookbehind: !0, greedy: !0, inside: M(Z, z) }, { pattern: n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [
|
|
25365
|
+
e.languages.insertBefore("csharp", "string", { "interpolation-string": [{ pattern: n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source, [Z]), lookbehind: !0, greedy: !0, inside: M(Z, z) }, { pattern: n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [le]), lookbehind: !0, greedy: !0, inside: M(le, re) }] });
|
|
25366
25366
|
}(Prism), Prism.languages.dotnet = Prism.languages.cs = Prism.languages.csharp, Prism.languages["visual-basic"] = { comment: { pattern: /(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i, inside: { keyword: /^REM/i } }, directive: { pattern: /#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i, alias: "comment", greedy: !0 }, string: { pattern: /\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i, greedy: !0 }, date: { pattern: /#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i, alias: "builtin" }, number: /(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i, boolean: /\b(?:True|False|Nothing)\b/i, keyword: /\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i, operator: [/[+\-*/\\^<=>&#@$%!]/, { pattern: /([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/, lookbehind: !0 }], punctuation: /[{}().,:?]/ }, Prism.languages.vb = Prism.languages["visual-basic"], Prism.languages.vba = Prism.languages["visual-basic"], Prism.languages.sql = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, lookbehind: !0 }, variable: [{ pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 }, /@[\w.$]+/], string: { pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/, greedy: !0, lookbehind: !0 }, function: /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, keyword: /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i, boolean: /\b(?:TRUE|FALSE|NULL)\b/i, number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, operator: /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i, punctuation: /[;[\]()`,.]/ }, function(e) {
|
|
25367
25367
|
e.languages.ruby = e.languages.extend("clike", { comment: [/#.*/, { pattern: /^=begin\s[\s\S]*?^=end/m, greedy: !0 }], "class-name": { pattern: /(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/ });
|
|
25368
25368
|
var t = { pattern: /#\{[^}]+\}/, inside: { delimiter: { pattern: /^#\{|\}$/, alias: "tag" }, rest: e.languages.ruby } };
|
|
@@ -67984,8 +67984,8 @@ var YK = { exports: {} };
|
|
|
67984
67984
|
if (z.length)
|
|
67985
67985
|
if (this.options.transformAttributeName && (re = this.options.transformAttributeName(re)), re === "__proto__" && (re = "#__proto__"), Z !== void 0) {
|
|
67986
67986
|
this.options.trimValues && (Z = Z.trim()), Z = this.replaceEntitiesValue(Z);
|
|
67987
|
-
const
|
|
67988
|
-
|
|
67987
|
+
const le = this.options.attributeValueProcessor(z, Z, E);
|
|
67988
|
+
le == null ? j[re] = Z : typeof le != typeof Z || le !== Z ? j[re] = le : j[re] = D(
|
|
67989
67989
|
Z,
|
|
67990
67990
|
this.options.parseAttributeValue,
|
|
67991
67991
|
this.options.numberParseOptions
|
|
@@ -68019,8 +68019,8 @@ var YK = { exports: {} };
|
|
|
68019
68019
|
const re = _.substring(_.lastIndexOf(".") + 1);
|
|
68020
68020
|
if (Z && this.options.unpairedTags.indexOf(Z) !== -1)
|
|
68021
68021
|
throw new Error(`Unpaired tag can not be used as closing tag: </${Z}>`);
|
|
68022
|
-
let
|
|
68023
|
-
re && this.options.unpairedTags.indexOf(re) !== -1 ? (
|
|
68022
|
+
let le = 0;
|
|
68023
|
+
re && this.options.unpairedTags.indexOf(re) !== -1 ? (le = _.lastIndexOf(".", _.lastIndexOf(".") - 1), this.tagsNodeStack.pop()) : le = _.lastIndexOf("."), _ = _.substring(0, le), x = this.tagsNodeStack.pop(), B = "", j = z;
|
|
68024
68024
|
} else if (S[j + 1] === "?") {
|
|
68025
68025
|
let z = k(S, j, !1, "?>");
|
|
68026
68026
|
if (!z) throw new Error("Pi Tag is not closed.");
|
|
@@ -68047,13 +68047,13 @@ var YK = { exports: {} };
|
|
|
68047
68047
|
} else {
|
|
68048
68048
|
let z = k(S, j, this.options.removeNSPrefix), Z = z.tagName;
|
|
68049
68049
|
const re = z.rawTagName;
|
|
68050
|
-
let
|
|
68050
|
+
let le = z.tagExp, M = z.attrExpPresent, P = z.closeIndex;
|
|
68051
68051
|
this.options.transformTagName && (Z = this.options.transformTagName(Z)), x && B && x.tagname !== "!xml" && (B = this.saveTextToParentTag(B, x, _, !1));
|
|
68052
68052
|
const U = x;
|
|
68053
68053
|
if (U && this.options.unpairedTags.indexOf(U.tagname) !== -1 && (x = this.tagsNodeStack.pop(), _ = _.substring(0, _.lastIndexOf("."))), Z !== E.tagname && (_ += _ ? "." + Z : Z), this.isItStopNode(this.options.stopNodes, _, Z)) {
|
|
68054
68054
|
let L = "";
|
|
68055
|
-
if (
|
|
68056
|
-
Z[Z.length - 1] === "/" ? (Z = Z.substr(0, Z.length - 1), _ = _.substr(0, _.length - 1),
|
|
68055
|
+
if (le.length > 0 && le.lastIndexOf("/") === le.length - 1)
|
|
68056
|
+
Z[Z.length - 1] === "/" ? (Z = Z.substr(0, Z.length - 1), _ = _.substr(0, _.length - 1), le = Z) : le = le.substr(0, le.length - 1), j = z.closeIndex;
|
|
68057
68057
|
else if (this.options.unpairedTags.indexOf(Z) !== -1)
|
|
68058
68058
|
j = z.closeIndex;
|
|
68059
68059
|
else {
|
|
@@ -68062,15 +68062,15 @@ var YK = { exports: {} };
|
|
|
68062
68062
|
j = W.i, L = W.tagContent;
|
|
68063
68063
|
}
|
|
68064
68064
|
const V = new s(Z);
|
|
68065
|
-
Z !==
|
|
68065
|
+
Z !== le && M && (V[":@"] = this.buildAttributesMap(le, _, Z)), L && (L = this.parseTextData(L, Z, _, !0, M, !0, !0)), _ = _.substr(0, _.lastIndexOf(".")), V.add(this.options.textNodeName, L), this.addChild(x, V, _);
|
|
68066
68066
|
} else {
|
|
68067
|
-
if (
|
|
68068
|
-
Z[Z.length - 1] === "/" ? (Z = Z.substr(0, Z.length - 1), _ = _.substr(0, _.length - 1),
|
|
68067
|
+
if (le.length > 0 && le.lastIndexOf("/") === le.length - 1) {
|
|
68068
|
+
Z[Z.length - 1] === "/" ? (Z = Z.substr(0, Z.length - 1), _ = _.substr(0, _.length - 1), le = Z) : le = le.substr(0, le.length - 1), this.options.transformTagName && (Z = this.options.transformTagName(Z));
|
|
68069
68069
|
const L = new s(Z);
|
|
68070
|
-
Z !==
|
|
68070
|
+
Z !== le && M && (L[":@"] = this.buildAttributesMap(le, _, Z)), this.addChild(x, L, _), _ = _.substr(0, _.lastIndexOf("."));
|
|
68071
68071
|
} else {
|
|
68072
68072
|
const L = new s(Z);
|
|
68073
|
-
this.tagsNodeStack.push(x), Z !==
|
|
68073
|
+
this.tagsNodeStack.push(x), Z !== le && M && (L[":@"] = this.buildAttributesMap(le, _, Z)), this.addChild(x, L, _), x = L;
|
|
68074
68074
|
}
|
|
68075
68075
|
B = "", j = P;
|
|
68076
68076
|
}
|
|
@@ -68157,7 +68157,7 @@ var YK = { exports: {} };
|
|
|
68157
68157
|
const R = _.index, z = j.search(/\s/);
|
|
68158
68158
|
let Z = j, re = !0;
|
|
68159
68159
|
z !== -1 && (Z = j.substring(0, z), j = j.substring(z + 1).trimStart());
|
|
68160
|
-
const
|
|
68160
|
+
const le = Z;
|
|
68161
68161
|
if (x) {
|
|
68162
68162
|
const M = Z.indexOf(":");
|
|
68163
68163
|
M !== -1 && (Z = Z.substr(M + 1), re = Z !== _.data.substr(M + 1));
|
|
@@ -68167,7 +68167,7 @@ var YK = { exports: {} };
|
|
|
68167
68167
|
tagExp: j,
|
|
68168
68168
|
closeIndex: R,
|
|
68169
68169
|
attrExpPresent: re,
|
|
68170
|
-
rawTagName:
|
|
68170
|
+
rawTagName: le
|
|
68171
68171
|
};
|
|
68172
68172
|
}
|
|
68173
68173
|
function A(S, E, x) {
|
|
@@ -68566,7 +68566,7 @@ var YK = { exports: {} };
|
|
|
68566
68566
|
"./src/tracker.js"
|
|
68567
68567
|
);
|
|
68568
68568
|
function d(D, S) {
|
|
68569
|
-
var E = this, x = new l(), B = D.TaskId, _ = D.Bucket, j = D.Region, R = D.Key, z = D.Body, Z = D.ChunkSize || D.SliceSize || E.options.ChunkSize, re = D.AsyncLimit,
|
|
68569
|
+
var E = this, x = new l(), B = D.TaskId, _ = D.Bucket, j = D.Region, R = D.Key, z = D.Body, Z = D.ChunkSize || D.SliceSize || E.options.ChunkSize, re = D.AsyncLimit, le = D.StorageClass, M = D.ServerSideEncryption, P, U, L = D.onHashProgress, V = D.tracker;
|
|
68570
68570
|
V && V.setParams({
|
|
68571
68571
|
chunkSize: Z
|
|
68572
68572
|
}), x.on("error", function(W) {
|
|
@@ -68633,7 +68633,7 @@ var YK = { exports: {} };
|
|
|
68633
68633
|
Region: j,
|
|
68634
68634
|
Key: R,
|
|
68635
68635
|
Headers: D.Headers,
|
|
68636
|
-
StorageClass:
|
|
68636
|
+
StorageClass: le,
|
|
68637
68637
|
Body: z,
|
|
68638
68638
|
FileSize: P,
|
|
68639
68639
|
SliceSize: Z,
|
|
@@ -68656,7 +68656,7 @@ var YK = { exports: {} };
|
|
|
68656
68656
|
}(), P === 0 ? (D.Body = "", D.ContentLength = 0, D.SkipTask = !0, E.putObject(D, S)) : x.emit("get_file_size_finish");
|
|
68657
68657
|
}
|
|
68658
68658
|
function c(D, S) {
|
|
68659
|
-
var E = D.TaskId, x = D.Bucket, B = D.Region, _ = D.Key, j = D.StorageClass, R = this, z = {}, Z = D.FileSize, re = D.SliceSize,
|
|
68659
|
+
var E = D.TaskId, x = D.Bucket, B = D.Region, _ = D.Key, j = D.StorageClass, R = this, z = {}, Z = D.FileSize, re = D.SliceSize, le = Math.ceil(Z / re), M = 0, P = u.throttleOnProgress.call(R, Z, D.onHashProgress), U = function(Q, ie) {
|
|
68660
68660
|
var we = re * (Q - 1), Ee = Math.min(we + re, Z), ee = Ee - we;
|
|
68661
68661
|
z[Q] ? ie(null, {
|
|
68662
68662
|
PartNumber: Q,
|
|
@@ -68665,13 +68665,13 @@ var YK = { exports: {} };
|
|
|
68665
68665
|
}) : u.fileSlice(D.Body, we, Ee, !1, function(_e) {
|
|
68666
68666
|
u.getFileMd5(_e, function(Te, F) {
|
|
68667
68667
|
if (Te) return ie(u.error(Te));
|
|
68668
|
-
var
|
|
68669
|
-
z[Q] =
|
|
68668
|
+
var se = '"' + F + '"';
|
|
68669
|
+
z[Q] = se, M += ee, P({
|
|
68670
68670
|
loaded: M,
|
|
68671
68671
|
total: Z
|
|
68672
68672
|
}), ie(null, {
|
|
68673
68673
|
PartNumber: Q,
|
|
68674
|
-
ETag:
|
|
68674
|
+
ETag: se,
|
|
68675
68675
|
Size: ee
|
|
68676
68676
|
});
|
|
68677
68677
|
});
|
|
@@ -68680,7 +68680,7 @@ var YK = { exports: {} };
|
|
|
68680
68680
|
var we = Q.length;
|
|
68681
68681
|
if (we === 0)
|
|
68682
68682
|
return ie(null, !0);
|
|
68683
|
-
if (we >
|
|
68683
|
+
if (we > le)
|
|
68684
68684
|
return ie(null, !1);
|
|
68685
68685
|
if (we > 1) {
|
|
68686
68686
|
var Ee = Math.max(Q[0].Size, Q[1].Size);
|
|
@@ -68690,7 +68690,7 @@ var YK = { exports: {} };
|
|
|
68690
68690
|
var ee = function _e(Te) {
|
|
68691
68691
|
if (Te < we) {
|
|
68692
68692
|
var F = Q[Te];
|
|
68693
|
-
U(F.PartNumber, function(
|
|
68693
|
+
U(F.PartNumber, function(se, ve) {
|
|
68694
68694
|
ve && ve.ETag === F.ETag && ve.Size === F.Size ? _e(Te + 1) : ie(null, !1);
|
|
68695
68695
|
});
|
|
68696
68696
|
} else
|
|
@@ -68706,7 +68706,7 @@ var YK = { exports: {} };
|
|
|
68706
68706
|
u.each(W.PartList, function(ee) {
|
|
68707
68707
|
Q[ee.PartNumber] = ee;
|
|
68708
68708
|
});
|
|
68709
|
-
for (var we = 1; we <=
|
|
68709
|
+
for (var we = 1; we <= le; we++) {
|
|
68710
68710
|
var Ee = Q[we];
|
|
68711
68711
|
Ee ? (Ee.PartNumber = we, Ee.Uploaded = !0) : Ee = {
|
|
68712
68712
|
PartNumber: we,
|
|
@@ -68871,7 +68871,7 @@ var YK = { exports: {} };
|
|
|
68871
68871
|
_();
|
|
68872
68872
|
}
|
|
68873
68873
|
function v(D, S) {
|
|
68874
|
-
var E = this, x = D.TaskId, B = D.Bucket, _ = D.Region, j = D.Key, R = D.UploadData, z = D.FileSize, Z = D.SliceSize, re = Math.min(D.AsyncLimit || E.options.ChunkParallelLimit || 1, 256),
|
|
68874
|
+
var E = this, x = D.TaskId, B = D.Bucket, _ = D.Region, j = D.Key, R = D.UploadData, z = D.FileSize, Z = D.SliceSize, re = Math.min(D.AsyncLimit || E.options.ChunkParallelLimit || 1, 256), le = D.Body, M = Math.ceil(z / Z), P = 0, U = D.ServerSideEncryption, L = D.Headers, V = u.filter(R.PartList, function(Q) {
|
|
68875
68875
|
return Q.Uploaded && (P += Q.PartNumber >= M && z % Z || Z), !Q.Uploaded;
|
|
68876
68876
|
}), W = D.onProgress;
|
|
68877
68877
|
o.eachLimit(V, re, function(Q, ie) {
|
|
@@ -68886,7 +68886,7 @@ var YK = { exports: {} };
|
|
|
68886
68886
|
FileSize: z,
|
|
68887
68887
|
PartNumber: we,
|
|
68888
68888
|
ServerSideEncryption: U,
|
|
68889
|
-
Body:
|
|
68889
|
+
Body: le,
|
|
68890
68890
|
UploadData: R,
|
|
68891
68891
|
Headers: L,
|
|
68892
68892
|
onProgress: function(Te) {
|
|
@@ -68914,7 +68914,7 @@ var YK = { exports: {} };
|
|
|
68914
68914
|
});
|
|
68915
68915
|
}
|
|
68916
68916
|
function m(D, S) {
|
|
68917
|
-
var E = this, x = D.TaskId, B = D.Bucket, _ = D.Region, j = D.Key, R = D.FileSize, z = D.Body, Z = D.PartNumber * 1, re = D.SliceSize,
|
|
68917
|
+
var E = this, x = D.TaskId, B = D.Bucket, _ = D.Region, j = D.Key, R = D.FileSize, z = D.Body, Z = D.PartNumber * 1, re = D.SliceSize, le = D.ServerSideEncryption, M = D.UploadData, P = D.Headers || {}, U = E.options.ChunkRetryTimes + 1, L = re * (Z - 1), V = re, W = L + re;
|
|
68918
68918
|
W > R && (W = R, V = W - L);
|
|
68919
68919
|
var Q = ["x-cos-traffic-limit", "x-cos-mime-limit"], ie = {};
|
|
68920
68920
|
u.each(P, function(Ee, ee) {
|
|
@@ -68931,7 +68931,7 @@ var YK = { exports: {} };
|
|
|
68931
68931
|
ContentLength: V,
|
|
68932
68932
|
PartNumber: Z,
|
|
68933
68933
|
UploadId: M.UploadId,
|
|
68934
|
-
ServerSideEncryption:
|
|
68934
|
+
ServerSideEncryption: le,
|
|
68935
68935
|
Body: ee,
|
|
68936
68936
|
Headers: ie,
|
|
68937
68937
|
onProgress: D.onProgress,
|
|
@@ -68948,13 +68948,13 @@ var YK = { exports: {} };
|
|
|
68948
68948
|
});
|
|
68949
68949
|
}
|
|
68950
68950
|
function y(D, S) {
|
|
68951
|
-
var E = D.Bucket, x = D.Region, B = D.Key, _ = D.UploadId, j = D.SliceList, R = this, z = this.options.ChunkRetryTimes + 1, Z = D.Headers, re = j.map(function(
|
|
68951
|
+
var E = D.Bucket, x = D.Region, B = D.Key, _ = D.UploadId, j = D.SliceList, R = this, z = this.options.ChunkRetryTimes + 1, Z = D.Headers, re = j.map(function(le) {
|
|
68952
68952
|
return {
|
|
68953
|
-
PartNumber:
|
|
68954
|
-
ETag:
|
|
68953
|
+
PartNumber: le.PartNumber,
|
|
68954
|
+
ETag: le.ETag
|
|
68955
68955
|
};
|
|
68956
68956
|
});
|
|
68957
|
-
o.retry(z, function(
|
|
68957
|
+
o.retry(z, function(le) {
|
|
68958
68958
|
R.multipartComplete({
|
|
68959
68959
|
Bucket: E,
|
|
68960
68960
|
Region: x,
|
|
@@ -68964,9 +68964,9 @@ var YK = { exports: {} };
|
|
|
68964
68964
|
Headers: Z,
|
|
68965
68965
|
calledBySdk: "sliceUploadFile",
|
|
68966
68966
|
tracker: D.tracker
|
|
68967
|
-
},
|
|
68968
|
-
}, function(
|
|
68969
|
-
S(
|
|
68967
|
+
}, le);
|
|
68968
|
+
}, function(le, M) {
|
|
68969
|
+
S(le, M);
|
|
68970
68970
|
});
|
|
68971
68971
|
}
|
|
68972
68972
|
function p(D, S) {
|
|
@@ -68987,9 +68987,9 @@ var YK = { exports: {} };
|
|
|
68987
68987
|
Bucket: E,
|
|
68988
68988
|
Region: x,
|
|
68989
68989
|
calledBySdk: "abortUploadTask"
|
|
68990
|
-
}, function(re,
|
|
68990
|
+
}, function(re, le) {
|
|
68991
68991
|
if (re) return S(re);
|
|
68992
|
-
Z.emit("get_abort_array",
|
|
68992
|
+
Z.emit("get_abort_array", le.UploadList || []);
|
|
68993
68993
|
});
|
|
68994
68994
|
else if (j === "file") {
|
|
68995
68995
|
if (!B) return S(u.error(new Error("abort_upload_task_no_key")));
|
|
@@ -68998,9 +68998,9 @@ var YK = { exports: {} };
|
|
|
68998
68998
|
Region: x,
|
|
68999
68999
|
Key: B,
|
|
69000
69000
|
calledBySdk: "abortUploadTask"
|
|
69001
|
-
}, function(re,
|
|
69001
|
+
}, function(re, le) {
|
|
69002
69002
|
if (re) return S(re);
|
|
69003
|
-
Z.emit("get_abort_array",
|
|
69003
|
+
Z.emit("get_abort_array", le.UploadList || []);
|
|
69004
69004
|
});
|
|
69005
69005
|
} else if (j === "task") {
|
|
69006
69006
|
if (!_) return S(u.error(new Error("abort_upload_task_no_id")));
|
|
@@ -69014,14 +69014,14 @@ var YK = { exports: {} };
|
|
|
69014
69014
|
}
|
|
69015
69015
|
function b(D, S) {
|
|
69016
69016
|
var E = D.Bucket, x = D.Region, B = D.Key, _ = D.AbortArray, j = D.AsyncLimit || 1, R = this, z = 0, Z = new Array(_.length);
|
|
69017
|
-
o.eachLimit(_, j, function(re,
|
|
69017
|
+
o.eachLimit(_, j, function(re, le) {
|
|
69018
69018
|
var M = z;
|
|
69019
69019
|
if (B && B !== re.Key) {
|
|
69020
69020
|
Z[M] = {
|
|
69021
69021
|
error: {
|
|
69022
69022
|
KeyNotMatch: !0
|
|
69023
69023
|
}
|
|
69024
|
-
},
|
|
69024
|
+
}, le(null);
|
|
69025
69025
|
return;
|
|
69026
69026
|
}
|
|
69027
69027
|
var P = re.UploadId || re.UploadID;
|
|
@@ -69041,16 +69041,16 @@ var YK = { exports: {} };
|
|
|
69041
69041
|
Z[M] = {
|
|
69042
69042
|
error: U,
|
|
69043
69043
|
task: L
|
|
69044
|
-
},
|
|
69044
|
+
}, le(null);
|
|
69045
69045
|
}), z++;
|
|
69046
69046
|
}, function(re) {
|
|
69047
69047
|
if (re) return S(re);
|
|
69048
|
-
for (var
|
|
69048
|
+
for (var le = [], M = [], P = 0, U = Z.length; P < U; P++) {
|
|
69049
69049
|
var L = Z[P];
|
|
69050
|
-
L.task && (L.error ? M.push(L.task) :
|
|
69050
|
+
L.task && (L.error ? M.push(L.task) : le.push(L.task));
|
|
69051
69051
|
}
|
|
69052
69052
|
return S(null, {
|
|
69053
|
-
successList:
|
|
69053
|
+
successList: le,
|
|
69054
69054
|
errorList: M
|
|
69055
69055
|
});
|
|
69056
69056
|
});
|
|
@@ -69079,10 +69079,10 @@ var YK = { exports: {} };
|
|
|
69079
69079
|
u.each(D, function(L, V) {
|
|
69080
69080
|
a(L) !== "object" && typeof L != "function" && (R[V] = L);
|
|
69081
69081
|
});
|
|
69082
|
-
var re = D.onTaskReady,
|
|
69082
|
+
var re = D.onTaskReady, le = function(V) {
|
|
69083
69083
|
R.TaskId = V, re && re(V);
|
|
69084
69084
|
};
|
|
69085
|
-
D.onTaskReady =
|
|
69085
|
+
D.onTaskReady = le;
|
|
69086
69086
|
var M = j > x ? "sliceUploadFile" : "putObject", P = D.onFileFinish, U = function(V, W) {
|
|
69087
69087
|
D.tracker && D.tracker.report(V, W), P && P(V, W, R), S && S(V, W);
|
|
69088
69088
|
};
|
|
@@ -69101,7 +69101,7 @@ var YK = { exports: {} };
|
|
|
69101
69101
|
}, --R <= 0 && S && S(null, {
|
|
69102
69102
|
files: Z
|
|
69103
69103
|
});
|
|
69104
|
-
},
|
|
69104
|
+
}, le = [];
|
|
69105
69105
|
u.each(D.files, function(M, P) {
|
|
69106
69106
|
(function() {
|
|
69107
69107
|
var U = M.Body, L = U.size || U.length || 0, V = {
|
|
@@ -69139,16 +69139,16 @@ var YK = { exports: {} };
|
|
|
69139
69139
|
});
|
|
69140
69140
|
};
|
|
69141
69141
|
M.onProgress = _e;
|
|
69142
|
-
var Te = L > x ? "sliceUploadFile" : "putObject", F = M.onFileFinish,
|
|
69142
|
+
var Te = L > x ? "sliceUploadFile" : "putObject", F = M.onFileFinish, se = function(G, J) {
|
|
69143
69143
|
M.tracker && M.tracker.report(G, J), F && F(G, J), re(G, J, V);
|
|
69144
69144
|
};
|
|
69145
|
-
|
|
69145
|
+
le.push({
|
|
69146
69146
|
api: Te,
|
|
69147
69147
|
params: M,
|
|
69148
|
-
callback:
|
|
69148
|
+
callback: se
|
|
69149
69149
|
});
|
|
69150
69150
|
})();
|
|
69151
|
-
}), E._addTasks(
|
|
69151
|
+
}), E._addTasks(le);
|
|
69152
69152
|
}
|
|
69153
69153
|
function C(D, S) {
|
|
69154
69154
|
var E = new l(), x = this, B = D.Bucket, _ = D.Region, j = D.Key, R = D.CopySource, z = u.getSourceParams.call(this, R);
|
|
@@ -69156,12 +69156,12 @@ var YK = { exports: {} };
|
|
|
69156
69156
|
S(u.error(new Error("CopySource format error")));
|
|
69157
69157
|
return;
|
|
69158
69158
|
}
|
|
69159
|
-
var Z = z.Bucket, re = z.Region,
|
|
69159
|
+
var Z = z.Bucket, re = z.Region, le = decodeURIComponent(z.Key), M = D.CopySliceSize === void 0 ? x.options.CopySliceSize : D.CopySliceSize;
|
|
69160
69160
|
M = Math.max(0, M);
|
|
69161
69161
|
var P = D.CopyChunkSize || this.options.CopyChunkSize, U = this.options.CopyChunkParallelLimit, L = this.options.ChunkRetryTimes + 1, V = 0, W = 0, Q, ie, we = {}, Ee = {}, ee = {};
|
|
69162
69162
|
E.on("copy_slice_complete", function(_e) {
|
|
69163
|
-
u.each(D.Headers, function(F,
|
|
69164
|
-
|
|
69163
|
+
u.each(D.Headers, function(F, se) {
|
|
69164
|
+
se.toLowerCase().indexOf("x-cos-meta-");
|
|
69165
69165
|
});
|
|
69166
69166
|
var Te = u.map(_e.PartList, function(F) {
|
|
69167
69167
|
return {
|
|
@@ -69179,22 +69179,22 @@ var YK = { exports: {} };
|
|
|
69179
69179
|
tracker: D.tracker,
|
|
69180
69180
|
calledBySdk: "sliceCopyFile"
|
|
69181
69181
|
}, F);
|
|
69182
|
-
}, function(F,
|
|
69182
|
+
}, function(F, se) {
|
|
69183
69183
|
if (s.removeUsing(_e.UploadId), F)
|
|
69184
69184
|
return ie(null, !0), S(F);
|
|
69185
69185
|
s.removeUploadId(_e.UploadId), ie({
|
|
69186
69186
|
loaded: Q,
|
|
69187
69187
|
total: Q
|
|
69188
|
-
}, !0), S(null,
|
|
69188
|
+
}, !0), S(null, se);
|
|
69189
69189
|
});
|
|
69190
69190
|
}), E.on("get_copy_data_finish", function(_e) {
|
|
69191
69191
|
var Te = s.getCopyFileId(R, we, P, B, j);
|
|
69192
69192
|
Te && s.saveUploadId(Te, _e.UploadId, x.options.UploadIdCacheLimit), s.setUsing(_e.UploadId);
|
|
69193
|
-
var F = u.filter(_e.PartList, function(
|
|
69194
|
-
return
|
|
69193
|
+
var F = u.filter(_e.PartList, function(se) {
|
|
69194
|
+
return se.Uploaded && (W += se.PartNumber >= V && Q % P || P), !se.Uploaded;
|
|
69195
69195
|
});
|
|
69196
|
-
o.eachLimit(F, U, function(
|
|
69197
|
-
var G =
|
|
69196
|
+
o.eachLimit(F, U, function(se, ve) {
|
|
69197
|
+
var G = se.PartNumber, J = se.CopySourceRange, fe = se.end - se.start;
|
|
69198
69198
|
o.retry(L, function(ae) {
|
|
69199
69199
|
k.call(x, {
|
|
69200
69200
|
Bucket: B,
|
|
@@ -69212,11 +69212,11 @@ var YK = { exports: {} };
|
|
|
69212
69212
|
W += fe, ie({
|
|
69213
69213
|
loaded: W,
|
|
69214
69214
|
total: Q
|
|
69215
|
-
}),
|
|
69215
|
+
}), se.ETag = ge.ETag, ve(ae || null, ge);
|
|
69216
69216
|
});
|
|
69217
|
-
}, function(
|
|
69218
|
-
if (
|
|
69219
|
-
return s.removeUsing(_e.UploadId), ie(null, !0), S(
|
|
69217
|
+
}, function(se) {
|
|
69218
|
+
if (se)
|
|
69219
|
+
return s.removeUsing(_e.UploadId), ie(null, !0), S(se);
|
|
69220
69220
|
E.emit("copy_slice_complete", _e);
|
|
69221
69221
|
});
|
|
69222
69222
|
}), E.on("get_chunk_size_finish", function() {
|
|
@@ -69237,7 +69237,7 @@ var YK = { exports: {} };
|
|
|
69237
69237
|
});
|
|
69238
69238
|
}, Te = s.getCopyFileId(R, we, P, B, j), F = s.getUploadIdList(Te);
|
|
69239
69239
|
if (!Te || !F) return _e();
|
|
69240
|
-
var
|
|
69240
|
+
var se = function ve(G) {
|
|
69241
69241
|
if (G >= F.length) return _e();
|
|
69242
69242
|
var J = F[G];
|
|
69243
69243
|
if (s.using[J]) return ve(G + 1);
|
|
@@ -69267,10 +69267,10 @@ var YK = { exports: {} };
|
|
|
69267
69267
|
}
|
|
69268
69268
|
});
|
|
69269
69269
|
};
|
|
69270
|
-
|
|
69270
|
+
se(0);
|
|
69271
69271
|
}), E.on("get_file_size_finish", function() {
|
|
69272
69272
|
if (function() {
|
|
69273
|
-
for (var Te = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 5120], F = 1024 * 1024,
|
|
69273
|
+
for (var Te = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 5120], F = 1024 * 1024, se = 0; se < Te.length && (F = Te[se] * 1024 * 1024, !(Q / F <= x.options.MaxPartNumber)); se++)
|
|
69274
69274
|
;
|
|
69275
69275
|
D.ChunkSize = P = Math.max(P, F), V = Math.ceil(Q / P);
|
|
69276
69276
|
for (var ve = [], G = 1; G <= V; G++) {
|
|
@@ -69294,13 +69294,13 @@ var YK = { exports: {} };
|
|
|
69294
69294
|
}), x.headObject({
|
|
69295
69295
|
Bucket: Z,
|
|
69296
69296
|
Region: re,
|
|
69297
|
-
Key:
|
|
69297
|
+
Key: le,
|
|
69298
69298
|
tracker: D.tracker,
|
|
69299
69299
|
calledBySdk: "sliceCopyFile"
|
|
69300
69300
|
}, function(_e, Te) {
|
|
69301
69301
|
if (_e) {
|
|
69302
69302
|
_e.statusCode && _e.statusCode === 404 ? S(u.error(_e, {
|
|
69303
|
-
ErrorStatus:
|
|
69303
|
+
ErrorStatus: le + " Not Exist"
|
|
69304
69304
|
})) : S(_e);
|
|
69305
69305
|
return;
|
|
69306
69306
|
}
|
|
@@ -69313,13 +69313,13 @@ var YK = { exports: {} };
|
|
|
69313
69313
|
}), ie = u.throttleOnProgress.call(x, Q, D.onProgress), Q <= M)
|
|
69314
69314
|
D.Headers["x-cos-metadata-directive"] || (D.Headers["x-cos-metadata-directive"] = "Copy"), x.putObjectCopy(Object.assign(D, {
|
|
69315
69315
|
calledBySdk: "sliceCopyFile"
|
|
69316
|
-
}), function(
|
|
69317
|
-
if (
|
|
69318
|
-
return ie(null, !0), S(
|
|
69316
|
+
}), function(se, ve) {
|
|
69317
|
+
if (se)
|
|
69318
|
+
return ie(null, !0), S(se);
|
|
69319
69319
|
ie({
|
|
69320
69320
|
loaded: Q,
|
|
69321
69321
|
total: Q
|
|
69322
|
-
}, !0), S(
|
|
69322
|
+
}, !0), S(se, ve);
|
|
69323
69323
|
});
|
|
69324
69324
|
else {
|
|
69325
69325
|
var F = Te.headers;
|
|
@@ -69330,17 +69330,17 @@ var YK = { exports: {} };
|
|
|
69330
69330
|
"Content-Type": F["content-type"],
|
|
69331
69331
|
Expires: F.expires,
|
|
69332
69332
|
"x-cos-storage-class": F["x-cos-storage-class"]
|
|
69333
|
-
}, u.each(F, function(
|
|
69333
|
+
}, u.each(F, function(se, ve) {
|
|
69334
69334
|
var G = "x-cos-meta-";
|
|
69335
|
-
ve.indexOf(G) === 0 && ve.length > G.length && (Ee[ve] =
|
|
69335
|
+
ve.indexOf(G) === 0 && ve.length > G.length && (Ee[ve] = se);
|
|
69336
69336
|
}), E.emit("get_file_size_finish");
|
|
69337
69337
|
}
|
|
69338
69338
|
});
|
|
69339
69339
|
}
|
|
69340
69340
|
function k(D, S) {
|
|
69341
|
-
var E = D.TaskId, x = D.Bucket, B = D.Region, _ = D.Key, j = D.CopySource, R = D.UploadId, z = D.PartNumber * 1, Z = D.CopySourceRange, re = this.options.ChunkRetryTimes + 1,
|
|
69341
|
+
var E = D.TaskId, x = D.Bucket, B = D.Region, _ = D.Key, j = D.CopySource, R = D.UploadId, z = D.PartNumber * 1, Z = D.CopySourceRange, re = this.options.ChunkRetryTimes + 1, le = this;
|
|
69342
69342
|
o.retry(re, function(M) {
|
|
69343
|
-
|
|
69343
|
+
le.uploadPartCopy({
|
|
69344
69344
|
TaskId: E,
|
|
69345
69345
|
Bucket: x,
|
|
69346
69346
|
Region: B,
|
|
@@ -69437,8 +69437,8 @@ var YK = { exports: {} };
|
|
|
69437
69437
|
headers: O.Headers,
|
|
69438
69438
|
SignHost: te,
|
|
69439
69439
|
tracker: O.tracker
|
|
69440
|
-
}, function(
|
|
69441
|
-
if (
|
|
69440
|
+
}, function(oe, Ae) {
|
|
69441
|
+
if (oe) return Y(oe);
|
|
69442
69442
|
var We = Ae && Ae.ListAllMyBucketsResult && Ae.ListAllMyBucketsResult.Buckets && Ae.ListAllMyBucketsResult.Buckets.Bucket || [];
|
|
69443
69443
|
We = o.isArray(We) ? We : [We];
|
|
69444
69444
|
var Re = Ae && Ae.ListAllMyBucketsResult && Ae.ListAllMyBucketsResult.Owner || {};
|
|
@@ -69594,8 +69594,8 @@ var YK = { exports: {} };
|
|
|
69594
69594
|
var N = O.CORSConfiguration || {}, I = N.CORSRules || O.CORSRules || [];
|
|
69595
69595
|
I = o.clone(o.isArray(I) ? I : [I]), o.each(I, function(be) {
|
|
69596
69596
|
o.each(["AllowedOrigin", "AllowedHeader", "AllowedMethod", "ExposeHeader"], function(Le) {
|
|
69597
|
-
var
|
|
69598
|
-
delete be[
|
|
69597
|
+
var oe = Le + "s", Ae = be[oe] || be[Le] || [];
|
|
69598
|
+
delete be[oe], be[Le] = o.isArray(Ae) ? Ae : [Ae];
|
|
69599
69599
|
});
|
|
69600
69600
|
});
|
|
69601
69601
|
var H = {
|
|
@@ -69647,9 +69647,9 @@ var YK = { exports: {} };
|
|
|
69647
69647
|
te = o.clone(o.isArray(te) ? te : [te]);
|
|
69648
69648
|
var be = K.ResponseVary;
|
|
69649
69649
|
o.each(te, function(Le) {
|
|
69650
|
-
o.each(["AllowedOrigin", "AllowedHeader", "AllowedMethod", "ExposeHeader"], function(
|
|
69651
|
-
var Ae =
|
|
69652
|
-
delete Le[
|
|
69650
|
+
o.each(["AllowedOrigin", "AllowedHeader", "AllowedMethod", "ExposeHeader"], function(oe) {
|
|
69651
|
+
var Ae = oe + "s", We = Le[Ae] || Le[oe] || [];
|
|
69652
|
+
delete Le[oe], Le[Ae] = o.isArray(We) ? We : [We];
|
|
69653
69653
|
});
|
|
69654
69654
|
}), Y(null, {
|
|
69655
69655
|
CORSRules: te,
|
|
@@ -70158,7 +70158,7 @@ var YK = { exports: {} };
|
|
|
70158
70158
|
});
|
|
70159
70159
|
});
|
|
70160
70160
|
}
|
|
70161
|
-
function
|
|
70161
|
+
function le(O, Y) {
|
|
70162
70162
|
if (!O.RefererConfiguration) {
|
|
70163
70163
|
Y(o.error(new Error("missing param RefererConfiguration")));
|
|
70164
70164
|
return;
|
|
@@ -70451,13 +70451,13 @@ var YK = { exports: {} };
|
|
|
70451
70451
|
},
|
|
70452
70452
|
headers: be,
|
|
70453
70453
|
tracker: Y.tracker
|
|
70454
|
-
}, function(
|
|
70455
|
-
if (
|
|
70454
|
+
}, function(oe, Ae) {
|
|
70455
|
+
if (oe && oe.statusCode === 204)
|
|
70456
70456
|
return N(null, {
|
|
70457
|
-
statusCode:
|
|
70457
|
+
statusCode: oe.statusCode
|
|
70458
70458
|
});
|
|
70459
|
-
if (
|
|
70460
|
-
return N(
|
|
70459
|
+
if (oe)
|
|
70460
|
+
return N(oe);
|
|
70461
70461
|
N(null, {
|
|
70462
70462
|
statusCode: Ae.statusCode,
|
|
70463
70463
|
headers: Ae.headers
|
|
@@ -70530,7 +70530,7 @@ var YK = { exports: {} };
|
|
|
70530
70530
|
}), Y(null, H);
|
|
70531
70531
|
});
|
|
70532
70532
|
}
|
|
70533
|
-
function
|
|
70533
|
+
function se(O, Y) {
|
|
70534
70534
|
at.call(this, {
|
|
70535
70535
|
Action: "name/cos:DeleteBucketInventory",
|
|
70536
70536
|
method: "DELETE",
|
|
@@ -70746,8 +70746,8 @@ var YK = { exports: {} };
|
|
|
70746
70746
|
tracker: te
|
|
70747
70747
|
}, function(be, Le) {
|
|
70748
70748
|
if (K(null, !0), be) {
|
|
70749
|
-
var
|
|
70750
|
-
return O.Headers["If-Modified-Since"] &&
|
|
70749
|
+
var oe = be.statusCode;
|
|
70750
|
+
return O.Headers["If-Modified-Since"] && oe && oe === 304 ? Y(null, {
|
|
70751
70751
|
NotModified: !0
|
|
70752
70752
|
}) : Y(be);
|
|
70753
70753
|
}
|
|
@@ -70780,9 +70780,9 @@ var YK = { exports: {} };
|
|
|
70780
70780
|
body: O.Body,
|
|
70781
70781
|
onProgress: H,
|
|
70782
70782
|
tracker: be
|
|
70783
|
-
}, function(
|
|
70784
|
-
if (
|
|
70785
|
-
return H(null, !0), Y(
|
|
70783
|
+
}, function(oe, Ae) {
|
|
70784
|
+
if (oe)
|
|
70785
|
+
return H(null, !0), Y(oe);
|
|
70786
70786
|
H({
|
|
70787
70787
|
loaded: I,
|
|
70788
70788
|
total: I
|
|
@@ -70935,8 +70935,8 @@ var YK = { exports: {} };
|
|
|
70935
70935
|
VersionId: O.VersionId,
|
|
70936
70936
|
headers: O.Headers,
|
|
70937
70937
|
tracker: O.tracker
|
|
70938
|
-
}, function(
|
|
70939
|
-
if (
|
|
70938
|
+
}, function(oe, Ae) {
|
|
70939
|
+
if (oe) return Y(oe);
|
|
70940
70940
|
var We = o.clone(Ae.CopyObjectResult || {}), Re = si({
|
|
70941
70941
|
ForcePathStyle: N.options.ForcePathStyle,
|
|
70942
70942
|
protocol: N.options.Protocol,
|
|
@@ -70985,11 +70985,11 @@ var YK = { exports: {} };
|
|
|
70985
70985
|
tracker: O.tracker
|
|
70986
70986
|
}, function(be, Le) {
|
|
70987
70987
|
if (be) return Y(be);
|
|
70988
|
-
var
|
|
70989
|
-
o.extend(
|
|
70988
|
+
var oe = o.clone(Le.CopyPartResult || {});
|
|
70989
|
+
o.extend(oe, {
|
|
70990
70990
|
statusCode: Le.statusCode,
|
|
70991
70991
|
headers: Le.headers
|
|
70992
|
-
}), Y(null,
|
|
70992
|
+
}), Y(null, oe);
|
|
70993
70993
|
});
|
|
70994
70994
|
}
|
|
70995
70995
|
function $e(O, Y) {
|
|
@@ -71021,9 +71021,9 @@ var YK = { exports: {} };
|
|
|
71021
71021
|
tracker: O.tracker
|
|
71022
71022
|
}, function(be, Le) {
|
|
71023
71023
|
if (be) return Y(be);
|
|
71024
|
-
var
|
|
71024
|
+
var oe = Le.DeleteResult || {}, Ae = oe.Deleted || [], We = oe.Error || [];
|
|
71025
71025
|
Ae = o.isArray(Ae) ? Ae : [Ae], We = o.isArray(We) ? We : [We];
|
|
71026
|
-
var Re = o.clone(
|
|
71026
|
+
var Re = o.clone(oe);
|
|
71027
71027
|
o.extend(Re, {
|
|
71028
71028
|
Error: We,
|
|
71029
71029
|
Deleted: Ae,
|
|
@@ -71267,8 +71267,8 @@ var YK = { exports: {} };
|
|
|
71267
71267
|
}
|
|
71268
71268
|
});
|
|
71269
71269
|
Le = Le.replace(/\n\s*/g, "");
|
|
71270
|
-
var
|
|
71271
|
-
|
|
71270
|
+
var oe = O.Headers;
|
|
71271
|
+
oe["Content-Type"] = "application/xml", oe["Content-MD5"] = o.b64(o.md5(Le)), at.call(this, {
|
|
71272
71272
|
Action: "name/cos:CompleteMultipartUpload",
|
|
71273
71273
|
method: "POST",
|
|
71274
71274
|
Bucket: O.Bucket,
|
|
@@ -71278,7 +71278,7 @@ var YK = { exports: {} };
|
|
|
71278
71278
|
uploadId: I
|
|
71279
71279
|
},
|
|
71280
71280
|
body: Le,
|
|
71281
|
-
headers:
|
|
71281
|
+
headers: oe,
|
|
71282
71282
|
tracker: K
|
|
71283
71283
|
}, function(Ae, We) {
|
|
71284
71284
|
if (Ae)
|
|
@@ -71501,10 +71501,10 @@ var YK = { exports: {} };
|
|
|
71501
71501
|
SignHost: be,
|
|
71502
71502
|
ForceSignHost: O.ForceSignHost === !1 ? !1 : N.options.ForceSignHost
|
|
71503
71503
|
// getObjectUrl支持传参ForceSignHost
|
|
71504
|
-
}, function(
|
|
71504
|
+
}, function(oe, Ae) {
|
|
71505
71505
|
if (Y) {
|
|
71506
|
-
if (
|
|
71507
|
-
Y(
|
|
71506
|
+
if (oe) {
|
|
71507
|
+
Y(oe);
|
|
71508
71508
|
return;
|
|
71509
71509
|
}
|
|
71510
71510
|
var We = function(De) {
|
|
@@ -71585,7 +71585,7 @@ var YK = { exports: {} };
|
|
|
71585
71585
|
!I && O.SignHost && H && (N.Host = O.SignHost);
|
|
71586
71586
|
var K = !1, te = function(kt, _t) {
|
|
71587
71587
|
K || (K = !0, _t && _t.XCosSecurityToken && !_t.SecurityToken && (_t = o.clone(_t), _t.SecurityToken = _t.XCosSecurityToken, delete _t.XCosSecurityToken), Y && Y(kt, _t));
|
|
71588
|
-
}, be = this, Le = O.Bucket || "",
|
|
71588
|
+
}, be = this, Le = O.Bucket || "", oe = O.Region || "", Ae = O.Key || "";
|
|
71589
71589
|
be.options.ForcePathStyle && Le && (Ae = Le + "/" + Ae);
|
|
71590
71590
|
var We = "/" + Ae, Re = {}, ne = O.Scope;
|
|
71591
71591
|
if (!ne) {
|
|
@@ -71593,7 +71593,7 @@ var YK = { exports: {} };
|
|
|
71593
71593
|
ne = O.Scope || [{
|
|
71594
71594
|
action: De,
|
|
71595
71595
|
bucket: Le,
|
|
71596
|
-
region:
|
|
71596
|
+
region: oe,
|
|
71597
71597
|
prefix: Ve
|
|
71598
71598
|
}];
|
|
71599
71599
|
}
|
|
@@ -71666,7 +71666,7 @@ var YK = { exports: {} };
|
|
|
71666
71666
|
else if (be.options.getAuthorization)
|
|
71667
71667
|
be.options.getAuthorization.call(be, {
|
|
71668
71668
|
Bucket: Le,
|
|
71669
|
-
Region:
|
|
71669
|
+
Region: oe,
|
|
71670
71670
|
Method: O.Method,
|
|
71671
71671
|
Key: Ae,
|
|
71672
71672
|
Pathname: We,
|
|
@@ -71686,7 +71686,7 @@ var YK = { exports: {} };
|
|
|
71686
71686
|
else if (be.options.getSTS)
|
|
71687
71687
|
be.options.getSTS.call(be, {
|
|
71688
71688
|
Bucket: Le,
|
|
71689
|
-
Region:
|
|
71689
|
+
Region: oe
|
|
71690
71690
|
}, function(Qe) {
|
|
71691
71691
|
Re = Qe || {}, Re.Scope = ne, Re.ScopeKey = Ge, Re.TmpSecretId || (Re.TmpSecretId = Re.SecretId), Re.TmpSecretKey || (Re.TmpSecretKey = Re.SecretKey);
|
|
71692
71692
|
var kt = wt(Re);
|
|
@@ -71760,11 +71760,11 @@ var YK = { exports: {} };
|
|
|
71760
71760
|
Bucket: O.Bucket,
|
|
71761
71761
|
Region: O.Region,
|
|
71762
71762
|
Url: H
|
|
71763
|
-
}), te = O.tracker, be = function Le(
|
|
71763
|
+
}), te = O.tracker, be = function Le(oe) {
|
|
71764
71764
|
var Ae = N.options.SystemClockOffset;
|
|
71765
71765
|
te && te.setParams({
|
|
71766
71766
|
signStartTime: (/* @__PURE__ */ new Date()).getTime(),
|
|
71767
|
-
httpRetryTimes:
|
|
71767
|
+
httpRetryTimes: oe - 1
|
|
71768
71768
|
}), O.SwitchHost && (K = K.replace(/myqcloud.com/, "tencentcos.cn")), tr.call(N, {
|
|
71769
71769
|
Bucket: O.Bucket || "",
|
|
71770
71770
|
Region: O.Region || "",
|
|
@@ -71795,14 +71795,14 @@ var YK = { exports: {} };
|
|
|
71795
71795
|
var ot = $r.call(N, ne);
|
|
71796
71796
|
Ve = ot.canRetry || Ae !== N.options.SystemClockOffset, Ge = ot.networkError;
|
|
71797
71797
|
}
|
|
71798
|
-
if (ne &&
|
|
71798
|
+
if (ne && oe < 2 && Ve) {
|
|
71799
71799
|
O.headers && (delete O.headers.Authorization, delete O.headers.token, delete O.headers.clientIP, delete O.headers.clientUA, O.headers["x-cos-security-token"] && delete O.headers["x-cos-security-token"], O.headers["x-ci-security-token"] && delete O.headers["x-ci-security-token"]);
|
|
71800
71800
|
var wt = pi.call(N, {
|
|
71801
71801
|
requestUrl: (ne == null ? void 0 : ne.url) || "",
|
|
71802
71802
|
clientCalcSign: Re.SignFrom === "client",
|
|
71803
71803
|
networkError: Ge
|
|
71804
71804
|
});
|
|
71805
|
-
O.SwitchHost = wt, O.retry = !0, Le(
|
|
71805
|
+
O.SwitchHost = wt, O.retry = !0, Le(oe + 1);
|
|
71806
71806
|
} else
|
|
71807
71807
|
Y(ne, De);
|
|
71808
71808
|
});
|
|
@@ -71813,7 +71813,7 @@ var YK = { exports: {} };
|
|
|
71813
71813
|
function Hr(O, Y) {
|
|
71814
71814
|
var N = this, I = O.TaskId;
|
|
71815
71815
|
if (!(I && !N._isRunningTask(I))) {
|
|
71816
|
-
var H = O.Bucket, K = O.Region, te = O.Key, be = O.method || "GET", Le = O.Url || O.url,
|
|
71816
|
+
var H = O.Bucket, K = O.Region, te = O.Key, be = O.method || "GET", Le = O.Url || O.url, oe = O.body, Ae = O.rawBody;
|
|
71817
71817
|
N.options.UseAccelerate && (K = "accelerate"), Le = Le || si({
|
|
71818
71818
|
ForcePathStyle: N.options.ForcePathStyle,
|
|
71819
71819
|
protocol: N.options.Protocol,
|
|
@@ -71829,10 +71829,10 @@ var YK = { exports: {} };
|
|
|
71829
71829
|
url: Le,
|
|
71830
71830
|
headers: O.headers,
|
|
71831
71831
|
qs: O.qs,
|
|
71832
|
-
body:
|
|
71832
|
+
body: oe
|
|
71833
71833
|
}, ne = "x-cos-security-token";
|
|
71834
71834
|
if (o.isCIHost(Le) && (ne = "x-ci-security-token"), Re.headers.Authorization = O.AuthData.Authorization, O.AuthData.Token && (Re.headers.token = O.AuthData.Token), O.AuthData.ClientIP && (Re.headers.clientIP = O.AuthData.ClientIP), O.AuthData.ClientUA && (Re.headers.clientUA = O.AuthData.ClientUA), O.AuthData.SecurityToken && (Re.headers[ne] = O.AuthData.SecurityToken), O.Action && (Re.action = O.Action), Re.key = O.Key || O.ResourceKey, Re.headers && (Re.headers = o.clearKey(Re.headers)), O.retry && (Re.headers["x-cos-sdk-retry"] = !0), Re = o.clearKey(Re), O.onProgress && typeof O.onProgress == "function") {
|
|
71835
|
-
var De =
|
|
71835
|
+
var De = oe && (oe.size || oe.length) || 0;
|
|
71836
71836
|
Re.onProgress = function(_t) {
|
|
71837
71837
|
if (!(I && !N._isRunningTask(I))) {
|
|
71838
71838
|
var X = _t ? _t.loaded : 0;
|
|
@@ -71967,7 +71967,7 @@ var YK = { exports: {} };
|
|
|
71967
71967
|
// BucketWebsite
|
|
71968
71968
|
getBucketWebsite: Z,
|
|
71969
71969
|
deleteBucketWebsite: re,
|
|
71970
|
-
putBucketReferer:
|
|
71970
|
+
putBucketReferer: le,
|
|
71971
71971
|
// BucketReferer
|
|
71972
71972
|
getBucketReferer: M,
|
|
71973
71973
|
putBucketDomain: P,
|
|
@@ -71986,7 +71986,7 @@ var YK = { exports: {} };
|
|
|
71986
71986
|
postBucketInventory: _e,
|
|
71987
71987
|
getBucketInventory: Te,
|
|
71988
71988
|
listBucketInventory: F,
|
|
71989
|
-
deleteBucketInventory:
|
|
71989
|
+
deleteBucketInventory: se,
|
|
71990
71990
|
putBucketAccelerate: ve,
|
|
71991
71991
|
getBucketAccelerate: G,
|
|
71992
71992
|
putBucketEncryption: J,
|
|
@@ -72501,8 +72501,8 @@ var YK = { exports: {} };
|
|
|
72501
72501
|
var C = /* @__PURE__ */ function() {
|
|
72502
72502
|
function k(A) {
|
|
72503
72503
|
a(this, k);
|
|
72504
|
-
var D = A.parent, S = A.traceId, E = A.bucket, x = A.region, B = A.apiName, _ = A.realApi, j = A.httpMethod, R = A.fileKey, z = A.fileSize, Z = A.accelerate, re = A.customId,
|
|
72505
|
-
this.parent = D, this.deepTracker = M, this.delay =
|
|
72504
|
+
var D = A.parent, S = A.traceId, E = A.bucket, x = A.region, B = A.apiName, _ = A.realApi, j = A.httpMethod, R = A.fileKey, z = A.fileSize, Z = A.accelerate, re = A.customId, le = A.delay, M = A.deepTracker, P = A.Beacon, U = A.clsReporter, L = E && E.substr(E.lastIndexOf("-") + 1) || "";
|
|
72505
|
+
this.parent = D, this.deepTracker = M, this.delay = le, U && !this.clsReporter && (this.clsReporter = U), this.params = {
|
|
72506
72506
|
// 通用字段
|
|
72507
72507
|
sdkVersionName: "cos-js-sdk-v5",
|
|
72508
72508
|
sdkVersionCode: l.version,
|
|
@@ -72570,12 +72570,12 @@ var YK = { exports: {} };
|
|
|
72570
72570
|
customId: re || "",
|
|
72571
72571
|
// 业务id
|
|
72572
72572
|
partTime: 0
|
|
72573
|
-
}, P && (this.beacon = f(P,
|
|
72573
|
+
}, P && (this.beacon = f(P, le));
|
|
72574
72574
|
}
|
|
72575
72575
|
return s(k, [{
|
|
72576
72576
|
key: "formatResult",
|
|
72577
72577
|
value: function(D, S) {
|
|
72578
|
-
var E, x, B, _, j, R, z = (/* @__PURE__ */ new Date()).getTime(), Z = c.getNetType(), re = D ? (D == null ? void 0 : D.code) || (D == null || (E = D.error) === null || E === void 0 ? void 0 : E.code) || (D == null || (x = D.error) === null || x === void 0 ? void 0 : x.Code) : "",
|
|
72578
|
+
var E, x, B, _, j, R, z = (/* @__PURE__ */ new Date()).getTime(), Z = c.getNetType(), re = D ? (D == null ? void 0 : D.code) || (D == null || (E = D.error) === null || E === void 0 ? void 0 : E.code) || (D == null || (x = D.error) === null || x === void 0 ? void 0 : x.Code) : "", le = D ? (D == null ? void 0 : D.message) || (D == null || (B = D.error) === null || B === void 0 ? void 0 : B.message) || (D == null || (_ = D.error) === null || _ === void 0 ? void 0 : _.Message) : "", M = le, P = D ? (D == null ? void 0 : D.resource) || (D == null || (j = D.error) === null || j === void 0 ? void 0 : j.resource) || (D == null || (R = D.error) === null || R === void 0 ? void 0 : R.Resource) : "", U = D ? D == null ? void 0 : D.statusCode : S.statusCode, L = D ? (D == null ? void 0 : D.headers) && (D == null ? void 0 : D.headers["x-cos-request-id"]) : (S == null ? void 0 : S.headers) && (S == null ? void 0 : S.headers["x-cos-request-id"]), V = D ? L ? "Server" : "Client" : "";
|
|
72579
72579
|
this.params.requestName === "getObject" && (this.params.httpSize = S ? S.headers && S.headers["content-length"] : 0);
|
|
72580
72580
|
var W = this.params.realApi === "sliceUploadFile", Q = this.params.realApi === "sliceCopyFile";
|
|
72581
72581
|
if (W || Q) {
|
|
@@ -72600,10 +72600,10 @@ var YK = { exports: {} };
|
|
|
72600
72600
|
errorCode: re,
|
|
72601
72601
|
errorHttpCode: U,
|
|
72602
72602
|
errorName: M,
|
|
72603
|
-
errorMessage:
|
|
72603
|
+
errorMessage: le,
|
|
72604
72604
|
errorServiceName: P,
|
|
72605
72605
|
errorRequestId: L
|
|
72606
|
-
}), D && (!re || !
|
|
72606
|
+
}), D && (!re || !le) && (this.params.fullError = D ? JSON.stringify(D) : ""), this.params.url) {
|
|
72607
72607
|
try {
|
|
72608
72608
|
var F = /^http(s)?:\/\/(.*?)\//.exec(this.params.url);
|
|
72609
72609
|
this.params.host = F[2];
|
|
@@ -72879,7 +72879,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
72879
72879
|
}, Ct.readAsArrayBuffer(ct);
|
|
72880
72880
|
} else
|
|
72881
72881
|
Ze(ct);
|
|
72882
|
-
},
|
|
72882
|
+
}, le = function(ce, ke, Oe, Je) {
|
|
72883
72883
|
Oe = Oe || j, ce ? typeof ke == "string" ? Oe(jt.md5(ke, !0)) : Blob && ke instanceof Blob ? jt.getFileMd5(ke, function(Ze, ct) {
|
|
72884
72884
|
Oe(ct);
|
|
72885
72885
|
}, Je) : Oe() : Oe();
|
|
@@ -72967,7 +72967,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
72967
72967
|
if (!Ze) return "Key";
|
|
72968
72968
|
}
|
|
72969
72969
|
return !1;
|
|
72970
|
-
},
|
|
72970
|
+
}, se = function(ce, ke) {
|
|
72971
72971
|
if (ke = V({}, ke), ce !== "getAuth" && ce !== "getV4Auth" && ce !== "getObjectUrl") {
|
|
72972
72972
|
var Oe = ke.Headers || {};
|
|
72973
72973
|
if (ke && s(ke) === "object") {
|
|
@@ -73030,7 +73030,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
73030
73030
|
}, ve = function(ce, ke) {
|
|
73031
73031
|
return function(Oe, Je) {
|
|
73032
73032
|
var Ze = this;
|
|
73033
|
-
typeof Oe == "function" && (Je = Oe, Oe = {}), Oe =
|
|
73033
|
+
typeof Oe == "function" && (Je = Oe, Oe = {}), Oe = se(ce, Oe);
|
|
73034
73034
|
var ct;
|
|
73035
73035
|
if (Ze.options.EnableReporter)
|
|
73036
73036
|
if (Oe.calledBySdk === "sliceUploadFile" || Oe.calledBySdk === "sliceCopyFile")
|
|
@@ -73202,14 +73202,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
73202
73202
|
return ke;
|
|
73203
73203
|
}, jt = {
|
|
73204
73204
|
noop: j,
|
|
73205
|
-
formatParams:
|
|
73205
|
+
formatParams: se,
|
|
73206
73206
|
apiWrapper: ve,
|
|
73207
73207
|
xml2json: b,
|
|
73208
73208
|
json2xml: w,
|
|
73209
73209
|
md5: f,
|
|
73210
73210
|
clearKey: R,
|
|
73211
73211
|
fileSlice: re,
|
|
73212
|
-
getBodyMd5:
|
|
73212
|
+
getBodyMd5: le,
|
|
73213
73213
|
getFileMd5: P,
|
|
73214
73214
|
b64: _e,
|
|
73215
73215
|
extend: V,
|
|
@@ -73385,8 +73385,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
73385
73385
|
return m;
|
|
73386
73386
|
}
|
|
73387
73387
|
function s(h, g, v, m, y, p) {
|
|
73388
|
-
var b, w, T = h.file, C = h.compression, k = p !== u.utf8encode, A = o.transformTo("string", p(T.name)), D = o.transformTo("string", u.utf8encode(T.name)), S = T.comment, E = o.transformTo("string", p(S)), x = o.transformTo("string", u.utf8encode(S)), B = D.length !== T.name.length, _ = x.length !== S.length, j = "", R = "", z = "", Z = T.dir, re = T.date,
|
|
73389
|
-
g && !v || (
|
|
73388
|
+
var b, w, T = h.file, C = h.compression, k = p !== u.utf8encode, A = o.transformTo("string", p(T.name)), D = o.transformTo("string", u.utf8encode(T.name)), S = T.comment, E = o.transformTo("string", p(S)), x = o.transformTo("string", u.utf8encode(S)), B = D.length !== T.name.length, _ = x.length !== S.length, j = "", R = "", z = "", Z = T.dir, re = T.date, le = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
73389
|
+
g && !v || (le.crc32 = h.crc32, le.compressedSize = h.compressedSize, le.uncompressedSize = h.uncompressedSize);
|
|
73390
73390
|
var M = 0;
|
|
73391
73391
|
g && (M |= 8), k || !B && !_ || (M |= 2048);
|
|
73392
73392
|
var P = 0, U = 0;
|
|
@@ -73398,7 +73398,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
73398
73398
|
}(T.dosPermissions)), b = re.getUTCHours(), b <<= 6, b |= re.getUTCMinutes(), b <<= 5, b |= re.getUTCSeconds() / 2, w = re.getUTCFullYear() - 1980, w <<= 4, w |= re.getUTCMonth() + 1, w <<= 5, w |= re.getUTCDate(), B && (R = a(1, 1) + a(f(A), 4) + D, j += "up" + a(R.length, 2) + R), _ && (z = a(1, 1) + a(f(E), 4) + x, j += "uc" + a(z.length, 2) + z);
|
|
73399
73399
|
var L = "";
|
|
73400
73400
|
return L += `
|
|
73401
|
-
\0`, L += a(M, 2), L += C.magic, L += a(b, 2), L += a(w, 2), L += a(
|
|
73401
|
+
\0`, L += a(M, 2), L += C.magic, L += a(b, 2), L += a(w, 2), L += a(le.crc32, 4), L += a(le.compressedSize, 4), L += a(le.uncompressedSize, 4), L += a(A.length, 2), L += a(j.length, 2), { fileRecord: d.LOCAL_FILE_HEADER + L + A + j, dirRecord: d.CENTRAL_FILE_HEADER + a(U, 2) + L + a(E.length, 2) + "\0\0\0\0" + a(P, 4) + a(m, 4) + A + j + E };
|
|
73402
73402
|
}
|
|
73403
73403
|
var o = n("../utils"), l = n("../stream/GenericWorker"), u = n("../utf8"), f = n("../crc32"), d = n("../signature");
|
|
73404
73404
|
function c(h, g, v, m) {
|
|
@@ -74623,61 +74623,61 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74623
74623
|
};
|
|
74624
74624
|
}, {}], 46: [function(n, i, r) {
|
|
74625
74625
|
var a, s = n("../utils/common"), o = n("./trees"), l = n("./adler32"), u = n("./crc32"), f = n("./messages"), d = 0, c = 4, h = 0, g = -2, v = -1, m = 4, y = 2, p = 8, b = 9, w = 286, T = 30, C = 19, k = 2 * w + 1, A = 15, D = 3, S = 258, E = S + D + 1, x = 42, B = 113, _ = 1, j = 2, R = 3, z = 4;
|
|
74626
|
-
function Z(F,
|
|
74627
|
-
return F.msg = f[
|
|
74626
|
+
function Z(F, se) {
|
|
74627
|
+
return F.msg = f[se], se;
|
|
74628
74628
|
}
|
|
74629
74629
|
function re(F) {
|
|
74630
74630
|
return (F << 1) - (4 < F ? 9 : 0);
|
|
74631
74631
|
}
|
|
74632
|
-
function
|
|
74633
|
-
for (var
|
|
74632
|
+
function le(F) {
|
|
74633
|
+
for (var se = F.length; 0 <= --se; ) F[se] = 0;
|
|
74634
74634
|
}
|
|
74635
74635
|
function M(F) {
|
|
74636
|
-
var
|
|
74637
|
-
ve > F.avail_out && (ve = F.avail_out), ve !== 0 && (s.arraySet(F.output,
|
|
74636
|
+
var se = F.state, ve = se.pending;
|
|
74637
|
+
ve > F.avail_out && (ve = F.avail_out), ve !== 0 && (s.arraySet(F.output, se.pending_buf, se.pending_out, ve, F.next_out), F.next_out += ve, se.pending_out += ve, F.total_out += ve, F.avail_out -= ve, se.pending -= ve, se.pending === 0 && (se.pending_out = 0));
|
|
74638
74638
|
}
|
|
74639
|
-
function P(F,
|
|
74640
|
-
o._tr_flush_block(F, 0 <= F.block_start ? F.block_start : -1, F.strstart - F.block_start,
|
|
74639
|
+
function P(F, se) {
|
|
74640
|
+
o._tr_flush_block(F, 0 <= F.block_start ? F.block_start : -1, F.strstart - F.block_start, se), F.block_start = F.strstart, M(F.strm);
|
|
74641
74641
|
}
|
|
74642
|
-
function U(F,
|
|
74643
|
-
F.pending_buf[F.pending++] =
|
|
74642
|
+
function U(F, se) {
|
|
74643
|
+
F.pending_buf[F.pending++] = se;
|
|
74644
74644
|
}
|
|
74645
|
-
function L(F,
|
|
74646
|
-
F.pending_buf[F.pending++] =
|
|
74645
|
+
function L(F, se) {
|
|
74646
|
+
F.pending_buf[F.pending++] = se >>> 8 & 255, F.pending_buf[F.pending++] = 255 & se;
|
|
74647
74647
|
}
|
|
74648
|
-
function V(F,
|
|
74648
|
+
function V(F, se) {
|
|
74649
74649
|
var ve, G, J = F.max_chain_length, fe = F.strstart, ae = F.prev_length, ge = F.nice_match, de = F.strstart > F.w_size - E ? F.strstart - (F.w_size - E) : 0, Me = F.window, ye = F.w_mask, Ce = F.prev, Ye = F.strstart + S, yt = Me[fe + ae - 1], dt = Me[fe + ae];
|
|
74650
74650
|
F.prev_length >= F.good_match && (J >>= 2), ge > F.lookahead && (ge = F.lookahead);
|
|
74651
74651
|
do
|
|
74652
|
-
if (Me[(ve =
|
|
74652
|
+
if (Me[(ve = se) + ae] === dt && Me[ve + ae - 1] === yt && Me[ve] === Me[fe] && Me[++ve] === Me[fe + 1]) {
|
|
74653
74653
|
fe += 2, ve++;
|
|
74654
74654
|
do
|
|
74655
74655
|
;
|
|
74656
74656
|
while (Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && Me[++fe] === Me[++ve] && fe < Ye);
|
|
74657
74657
|
if (G = S - (Ye - fe), fe = Ye - S, ae < G) {
|
|
74658
|
-
if (F.match_start =
|
|
74658
|
+
if (F.match_start = se, ge <= (ae = G)) break;
|
|
74659
74659
|
yt = Me[fe + ae - 1], dt = Me[fe + ae];
|
|
74660
74660
|
}
|
|
74661
74661
|
}
|
|
74662
|
-
while ((
|
|
74662
|
+
while ((se = Ce[se & ye]) > de && --J != 0);
|
|
74663
74663
|
return ae <= F.lookahead ? ae : F.lookahead;
|
|
74664
74664
|
}
|
|
74665
74665
|
function W(F) {
|
|
74666
|
-
var
|
|
74666
|
+
var se, ve, G, J, fe, ae, ge, de, Me, ye, Ce = F.w_size;
|
|
74667
74667
|
do {
|
|
74668
74668
|
if (J = F.window_size - F.lookahead - F.strstart, F.strstart >= Ce + (Ce - E)) {
|
|
74669
|
-
for (s.arraySet(F.window, F.window, Ce, Ce, 0), F.match_start -= Ce, F.strstart -= Ce, F.block_start -= Ce,
|
|
74670
|
-
for (
|
|
74669
|
+
for (s.arraySet(F.window, F.window, Ce, Ce, 0), F.match_start -= Ce, F.strstart -= Ce, F.block_start -= Ce, se = ve = F.hash_size; G = F.head[--se], F.head[se] = Ce <= G ? G - Ce : 0, --ve; ) ;
|
|
74670
|
+
for (se = ve = Ce; G = F.prev[--se], F.prev[se] = Ce <= G ? G - Ce : 0, --ve; ) ;
|
|
74671
74671
|
J += Ce;
|
|
74672
74672
|
}
|
|
74673
74673
|
if (F.strm.avail_in === 0) break;
|
|
74674
74674
|
if (ae = F.strm, ge = F.window, de = F.strstart + F.lookahead, Me = J, ye = void 0, ye = ae.avail_in, Me < ye && (ye = Me), ve = ye === 0 ? 0 : (ae.avail_in -= ye, s.arraySet(ge, ae.input, ae.next_in, ye, de), ae.state.wrap === 1 ? ae.adler = l(ae.adler, ge, ye, de) : ae.state.wrap === 2 && (ae.adler = u(ae.adler, ge, ye, de)), ae.next_in += ye, ae.total_in += ye, ye), F.lookahead += ve, F.lookahead + F.insert >= D) for (fe = F.strstart - F.insert, F.ins_h = F.window[fe], F.ins_h = (F.ins_h << F.hash_shift ^ F.window[fe + 1]) & F.hash_mask; F.insert && (F.ins_h = (F.ins_h << F.hash_shift ^ F.window[fe + D - 1]) & F.hash_mask, F.prev[fe & F.w_mask] = F.head[F.ins_h], F.head[F.ins_h] = fe, fe++, F.insert--, !(F.lookahead + F.insert < D)); ) ;
|
|
74675
74675
|
} while (F.lookahead < E && F.strm.avail_in !== 0);
|
|
74676
74676
|
}
|
|
74677
|
-
function Q(F,
|
|
74677
|
+
function Q(F, se) {
|
|
74678
74678
|
for (var ve, G; ; ) {
|
|
74679
74679
|
if (F.lookahead < E) {
|
|
74680
|
-
if (W(F), F.lookahead < E &&
|
|
74680
|
+
if (W(F), F.lookahead < E && se === d) return _;
|
|
74681
74681
|
if (F.lookahead === 0) break;
|
|
74682
74682
|
}
|
|
74683
74683
|
if (ve = 0, F.lookahead >= D && (F.ins_h = (F.ins_h << F.hash_shift ^ F.window[F.strstart + D - 1]) & F.hash_mask, ve = F.prev[F.strstart & F.w_mask] = F.head[F.ins_h], F.head[F.ins_h] = F.strstart), ve !== 0 && F.strstart - ve <= F.w_size - E && (F.match_length = V(F, ve)), F.match_length >= D) if (G = o._tr_tally(F, F.strstart - F.match_start, F.match_length - D), F.lookahead -= F.match_length, F.match_length <= F.max_lazy_match && F.lookahead >= D) {
|
|
@@ -74687,12 +74687,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74687
74687
|
else G = o._tr_tally(F, 0, F.window[F.strstart]), F.lookahead--, F.strstart++;
|
|
74688
74688
|
if (G && (P(F, !1), F.strm.avail_out === 0)) return _;
|
|
74689
74689
|
}
|
|
74690
|
-
return F.insert = F.strstart < D - 1 ? F.strstart : D - 1,
|
|
74690
|
+
return F.insert = F.strstart < D - 1 ? F.strstart : D - 1, se === c ? (P(F, !0), F.strm.avail_out === 0 ? R : z) : F.last_lit && (P(F, !1), F.strm.avail_out === 0) ? _ : j;
|
|
74691
74691
|
}
|
|
74692
|
-
function ie(F,
|
|
74692
|
+
function ie(F, se) {
|
|
74693
74693
|
for (var ve, G, J; ; ) {
|
|
74694
74694
|
if (F.lookahead < E) {
|
|
74695
|
-
if (W(F), F.lookahead < E &&
|
|
74695
|
+
if (W(F), F.lookahead < E && se === d) return _;
|
|
74696
74696
|
if (F.lookahead === 0) break;
|
|
74697
74697
|
}
|
|
74698
74698
|
if (ve = 0, F.lookahead >= D && (F.ins_h = (F.ins_h << F.hash_shift ^ F.window[F.strstart + D - 1]) & F.hash_mask, ve = F.prev[F.strstart & F.w_mask] = F.head[F.ins_h], F.head[F.ins_h] = F.strstart), F.prev_length = F.match_length, F.prev_match = F.match_start, F.match_length = D - 1, ve !== 0 && F.prev_length < F.max_lazy_match && F.strstart - ve <= F.w_size - E && (F.match_length = V(F, ve), F.match_length <= 5 && (F.strategy === 1 || F.match_length === D && 4096 < F.strstart - F.match_start) && (F.match_length = D - 1)), F.prev_length >= D && F.match_length <= F.prev_length) {
|
|
@@ -74702,53 +74702,53 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74702
74702
|
if ((G = o._tr_tally(F, 0, F.window[F.strstart - 1])) && P(F, !1), F.strstart++, F.lookahead--, F.strm.avail_out === 0) return _;
|
|
74703
74703
|
} else F.match_available = 1, F.strstart++, F.lookahead--;
|
|
74704
74704
|
}
|
|
74705
|
-
return F.match_available && (G = o._tr_tally(F, 0, F.window[F.strstart - 1]), F.match_available = 0), F.insert = F.strstart < D - 1 ? F.strstart : D - 1,
|
|
74705
|
+
return F.match_available && (G = o._tr_tally(F, 0, F.window[F.strstart - 1]), F.match_available = 0), F.insert = F.strstart < D - 1 ? F.strstart : D - 1, se === c ? (P(F, !0), F.strm.avail_out === 0 ? R : z) : F.last_lit && (P(F, !1), F.strm.avail_out === 0) ? _ : j;
|
|
74706
74706
|
}
|
|
74707
|
-
function we(F,
|
|
74708
|
-
this.good_length = F, this.max_lazy =
|
|
74707
|
+
function we(F, se, ve, G, J) {
|
|
74708
|
+
this.good_length = F, this.max_lazy = se, this.nice_length = ve, this.max_chain = G, this.func = J;
|
|
74709
74709
|
}
|
|
74710
74710
|
function Ee() {
|
|
74711
|
-
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = p, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new s.Buf16(2 * k), this.dyn_dtree = new s.Buf16(2 * (2 * T + 1)), this.bl_tree = new s.Buf16(2 * (2 * C + 1)),
|
|
74711
|
+
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = p, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new s.Buf16(2 * k), this.dyn_dtree = new s.Buf16(2 * (2 * T + 1)), this.bl_tree = new s.Buf16(2 * (2 * C + 1)), le(this.dyn_ltree), le(this.dyn_dtree), le(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new s.Buf16(A + 1), this.heap = new s.Buf16(2 * w + 1), le(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new s.Buf16(2 * w + 1), le(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
74712
74712
|
}
|
|
74713
74713
|
function ee(F) {
|
|
74714
|
-
var
|
|
74715
|
-
return F && F.state ? (F.total_in = F.total_out = 0, F.data_type = y, (
|
|
74714
|
+
var se;
|
|
74715
|
+
return F && F.state ? (F.total_in = F.total_out = 0, F.data_type = y, (se = F.state).pending = 0, se.pending_out = 0, se.wrap < 0 && (se.wrap = -se.wrap), se.status = se.wrap ? x : B, F.adler = se.wrap === 2 ? 0 : 1, se.last_flush = d, o._tr_init(se), h) : Z(F, g);
|
|
74716
74716
|
}
|
|
74717
74717
|
function _e(F) {
|
|
74718
|
-
var
|
|
74719
|
-
return
|
|
74720
|
-
ve.window_size = 2 * ve.w_size,
|
|
74721
|
-
}(F.state),
|
|
74718
|
+
var se = ee(F);
|
|
74719
|
+
return se === h && function(ve) {
|
|
74720
|
+
ve.window_size = 2 * ve.w_size, le(ve.head), ve.max_lazy_match = a[ve.level].max_lazy, ve.good_match = a[ve.level].good_length, ve.nice_match = a[ve.level].nice_length, ve.max_chain_length = a[ve.level].max_chain, ve.strstart = 0, ve.block_start = 0, ve.lookahead = 0, ve.insert = 0, ve.match_length = ve.prev_length = D - 1, ve.match_available = 0, ve.ins_h = 0;
|
|
74721
|
+
}(F.state), se;
|
|
74722
74722
|
}
|
|
74723
|
-
function Te(F,
|
|
74723
|
+
function Te(F, se, ve, G, J, fe) {
|
|
74724
74724
|
if (!F) return g;
|
|
74725
74725
|
var ae = 1;
|
|
74726
|
-
if (
|
|
74726
|
+
if (se === v && (se = 6), G < 0 ? (ae = 0, G = -G) : 15 < G && (ae = 2, G -= 16), J < 1 || b < J || ve !== p || G < 8 || 15 < G || se < 0 || 9 < se || fe < 0 || m < fe) return Z(F, g);
|
|
74727
74727
|
G === 8 && (G = 9);
|
|
74728
74728
|
var ge = new Ee();
|
|
74729
|
-
return (F.state = ge).strm = F, ge.wrap = ae, ge.gzhead = null, ge.w_bits = G, ge.w_size = 1 << ge.w_bits, ge.w_mask = ge.w_size - 1, ge.hash_bits = J + 7, ge.hash_size = 1 << ge.hash_bits, ge.hash_mask = ge.hash_size - 1, ge.hash_shift = ~~((ge.hash_bits + D - 1) / D), ge.window = new s.Buf8(2 * ge.w_size), ge.head = new s.Buf16(ge.hash_size), ge.prev = new s.Buf16(ge.w_size), ge.lit_bufsize = 1 << J + 6, ge.pending_buf_size = 4 * ge.lit_bufsize, ge.pending_buf = new s.Buf8(ge.pending_buf_size), ge.d_buf = 1 * ge.lit_bufsize, ge.l_buf = 3 * ge.lit_bufsize, ge.level =
|
|
74729
|
+
return (F.state = ge).strm = F, ge.wrap = ae, ge.gzhead = null, ge.w_bits = G, ge.w_size = 1 << ge.w_bits, ge.w_mask = ge.w_size - 1, ge.hash_bits = J + 7, ge.hash_size = 1 << ge.hash_bits, ge.hash_mask = ge.hash_size - 1, ge.hash_shift = ~~((ge.hash_bits + D - 1) / D), ge.window = new s.Buf8(2 * ge.w_size), ge.head = new s.Buf16(ge.hash_size), ge.prev = new s.Buf16(ge.w_size), ge.lit_bufsize = 1 << J + 6, ge.pending_buf_size = 4 * ge.lit_bufsize, ge.pending_buf = new s.Buf8(ge.pending_buf_size), ge.d_buf = 1 * ge.lit_bufsize, ge.l_buf = 3 * ge.lit_bufsize, ge.level = se, ge.strategy = fe, ge.method = ve, _e(F);
|
|
74730
74730
|
}
|
|
74731
|
-
a = [new we(0, 0, 0, 0, function(F,
|
|
74731
|
+
a = [new we(0, 0, 0, 0, function(F, se) {
|
|
74732
74732
|
var ve = 65535;
|
|
74733
74733
|
for (ve > F.pending_buf_size - 5 && (ve = F.pending_buf_size - 5); ; ) {
|
|
74734
74734
|
if (F.lookahead <= 1) {
|
|
74735
|
-
if (W(F), F.lookahead === 0 &&
|
|
74735
|
+
if (W(F), F.lookahead === 0 && se === d) return _;
|
|
74736
74736
|
if (F.lookahead === 0) break;
|
|
74737
74737
|
}
|
|
74738
74738
|
F.strstart += F.lookahead, F.lookahead = 0;
|
|
74739
74739
|
var G = F.block_start + ve;
|
|
74740
74740
|
if ((F.strstart === 0 || F.strstart >= G) && (F.lookahead = F.strstart - G, F.strstart = G, P(F, !1), F.strm.avail_out === 0) || F.strstart - F.block_start >= F.w_size - E && (P(F, !1), F.strm.avail_out === 0)) return _;
|
|
74741
74741
|
}
|
|
74742
|
-
return F.insert = 0,
|
|
74743
|
-
}), new we(4, 4, 8, 4, Q), new we(4, 5, 16, 8, Q), new we(4, 6, 32, 32, Q), new we(4, 4, 16, 16, ie), new we(8, 16, 32, 32, ie), new we(8, 16, 128, 128, ie), new we(8, 32, 128, 256, ie), new we(32, 128, 258, 1024, ie), new we(32, 258, 258, 4096, ie)], r.deflateInit = function(F,
|
|
74744
|
-
return Te(F,
|
|
74745
|
-
}, r.deflateInit2 = Te, r.deflateReset = _e, r.deflateResetKeep = ee, r.deflateSetHeader = function(F,
|
|
74746
|
-
return F && F.state ? F.state.wrap !== 2 ? g : (F.state.gzhead =
|
|
74747
|
-
}, r.deflate = function(F,
|
|
74742
|
+
return F.insert = 0, se === c ? (P(F, !0), F.strm.avail_out === 0 ? R : z) : (F.strstart > F.block_start && (P(F, !1), F.strm.avail_out), _);
|
|
74743
|
+
}), new we(4, 4, 8, 4, Q), new we(4, 5, 16, 8, Q), new we(4, 6, 32, 32, Q), new we(4, 4, 16, 16, ie), new we(8, 16, 32, 32, ie), new we(8, 16, 128, 128, ie), new we(8, 32, 128, 256, ie), new we(32, 128, 258, 1024, ie), new we(32, 258, 258, 4096, ie)], r.deflateInit = function(F, se) {
|
|
74744
|
+
return Te(F, se, p, 15, 8, 0);
|
|
74745
|
+
}, r.deflateInit2 = Te, r.deflateReset = _e, r.deflateResetKeep = ee, r.deflateSetHeader = function(F, se) {
|
|
74746
|
+
return F && F.state ? F.state.wrap !== 2 ? g : (F.state.gzhead = se, h) : g;
|
|
74747
|
+
}, r.deflate = function(F, se) {
|
|
74748
74748
|
var ve, G, J, fe;
|
|
74749
|
-
if (!F || !F.state || 5 <
|
|
74750
|
-
if (G = F.state, !F.output || !F.input && F.avail_in !== 0 || G.status === 666 &&
|
|
74751
|
-
if (G.strm = F, ve = G.last_flush, G.last_flush =
|
|
74749
|
+
if (!F || !F.state || 5 < se || se < 0) return F ? Z(F, g) : g;
|
|
74750
|
+
if (G = F.state, !F.output || !F.input && F.avail_in !== 0 || G.status === 666 && se !== c) return Z(F, F.avail_out === 0 ? -5 : g);
|
|
74751
|
+
if (G.strm = F, ve = G.last_flush, G.last_flush = se, G.status === x) if (G.wrap === 2) F.adler = 0, U(G, 31), U(G, 139), U(G, 8), G.gzhead ? (U(G, (G.gzhead.text ? 1 : 0) + (G.gzhead.hcrc ? 2 : 0) + (G.gzhead.extra ? 4 : 0) + (G.gzhead.name ? 8 : 0) + (G.gzhead.comment ? 16 : 0)), U(G, 255 & G.gzhead.time), U(G, G.gzhead.time >> 8 & 255), U(G, G.gzhead.time >> 16 & 255), U(G, G.gzhead.time >> 24 & 255), U(G, G.level === 9 ? 2 : 2 <= G.strategy || G.level < 2 ? 4 : 0), U(G, 255 & G.gzhead.os), G.gzhead.extra && G.gzhead.extra.length && (U(G, 255 & G.gzhead.extra.length), U(G, G.gzhead.extra.length >> 8 & 255)), G.gzhead.hcrc && (F.adler = u(F.adler, G.pending_buf, G.pending, 0)), G.gzindex = 0, G.status = 69) : (U(G, 0), U(G, 0), U(G, 0), U(G, 0), U(G, 0), U(G, G.level === 9 ? 2 : 2 <= G.strategy || G.level < 2 ? 4 : 0), U(G, 3), G.status = B);
|
|
74752
74752
|
else {
|
|
74753
74753
|
var ae = p + (G.w_bits - 8 << 4) << 8;
|
|
74754
74754
|
ae |= (2 <= G.strategy || G.level < 2 ? 0 : G.level < 6 ? 1 : G.level === 6 ? 2 : 3) << 6, G.strstart !== 0 && (ae |= 32), ae += 31 - ae % 31, G.status = B, L(G, ae), G.strstart !== 0 && (L(G, F.adler >>> 16), L(G, 65535 & F.adler)), F.adler = 1;
|
|
@@ -74781,9 +74781,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74781
74781
|
} else G.status = 103;
|
|
74782
74782
|
if (G.status === 103 && (G.gzhead.hcrc ? (G.pending + 2 > G.pending_buf_size && M(F), G.pending + 2 <= G.pending_buf_size && (U(G, 255 & F.adler), U(G, F.adler >> 8 & 255), F.adler = 0, G.status = B)) : G.status = B), G.pending !== 0) {
|
|
74783
74783
|
if (M(F), F.avail_out === 0) return G.last_flush = -1, h;
|
|
74784
|
-
} else if (F.avail_in === 0 && re(
|
|
74784
|
+
} else if (F.avail_in === 0 && re(se) <= re(ve) && se !== c) return Z(F, -5);
|
|
74785
74785
|
if (G.status === 666 && F.avail_in !== 0) return Z(F, -5);
|
|
74786
|
-
if (F.avail_in !== 0 || G.lookahead !== 0 ||
|
|
74786
|
+
if (F.avail_in !== 0 || G.lookahead !== 0 || se !== d && G.status !== 666) {
|
|
74787
74787
|
var ge = G.strategy === 2 ? function(de, Me) {
|
|
74788
74788
|
for (var ye; ; ) {
|
|
74789
74789
|
if (de.lookahead === 0 && (W(de), de.lookahead === 0)) {
|
|
@@ -74793,7 +74793,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74793
74793
|
if (de.match_length = 0, ye = o._tr_tally(de, 0, de.window[de.strstart]), de.lookahead--, de.strstart++, ye && (P(de, !1), de.strm.avail_out === 0)) return _;
|
|
74794
74794
|
}
|
|
74795
74795
|
return de.insert = 0, Me === c ? (P(de, !0), de.strm.avail_out === 0 ? R : z) : de.last_lit && (P(de, !1), de.strm.avail_out === 0) ? _ : j;
|
|
74796
|
-
}(G,
|
|
74796
|
+
}(G, se) : G.strategy === 3 ? function(de, Me) {
|
|
74797
74797
|
for (var ye, Ce, Ye, yt, dt = de.window; ; ) {
|
|
74798
74798
|
if (de.lookahead <= S) {
|
|
74799
74799
|
if (W(de), de.lookahead <= S && Me === d) return _;
|
|
@@ -74809,18 +74809,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74809
74809
|
if (de.match_length >= D ? (ye = o._tr_tally(de, 1, de.match_length - D), de.lookahead -= de.match_length, de.strstart += de.match_length, de.match_length = 0) : (ye = o._tr_tally(de, 0, de.window[de.strstart]), de.lookahead--, de.strstart++), ye && (P(de, !1), de.strm.avail_out === 0)) return _;
|
|
74810
74810
|
}
|
|
74811
74811
|
return de.insert = 0, Me === c ? (P(de, !0), de.strm.avail_out === 0 ? R : z) : de.last_lit && (P(de, !1), de.strm.avail_out === 0) ? _ : j;
|
|
74812
|
-
}(G,
|
|
74812
|
+
}(G, se) : a[G.level].func(G, se);
|
|
74813
74813
|
if (ge !== R && ge !== z || (G.status = 666), ge === _ || ge === R) return F.avail_out === 0 && (G.last_flush = -1), h;
|
|
74814
|
-
if (ge === j && (
|
|
74814
|
+
if (ge === j && (se === 1 ? o._tr_align(G) : se !== 5 && (o._tr_stored_block(G, 0, 0, !1), se === 3 && (le(G.head), G.lookahead === 0 && (G.strstart = 0, G.block_start = 0, G.insert = 0))), M(F), F.avail_out === 0)) return G.last_flush = -1, h;
|
|
74815
74815
|
}
|
|
74816
|
-
return
|
|
74816
|
+
return se !== c ? h : G.wrap <= 0 ? 1 : (G.wrap === 2 ? (U(G, 255 & F.adler), U(G, F.adler >> 8 & 255), U(G, F.adler >> 16 & 255), U(G, F.adler >> 24 & 255), U(G, 255 & F.total_in), U(G, F.total_in >> 8 & 255), U(G, F.total_in >> 16 & 255), U(G, F.total_in >> 24 & 255)) : (L(G, F.adler >>> 16), L(G, 65535 & F.adler)), M(F), 0 < G.wrap && (G.wrap = -G.wrap), G.pending !== 0 ? h : 1);
|
|
74817
74817
|
}, r.deflateEnd = function(F) {
|
|
74818
|
-
var
|
|
74819
|
-
return F && F.state ? (
|
|
74820
|
-
}, r.deflateSetDictionary = function(F,
|
|
74821
|
-
var ve, G, J, fe, ae, ge, de, Me, ye =
|
|
74818
|
+
var se;
|
|
74819
|
+
return F && F.state ? (se = F.state.status) !== x && se !== 69 && se !== 73 && se !== 91 && se !== 103 && se !== B && se !== 666 ? Z(F, g) : (F.state = null, se === B ? Z(F, -3) : h) : g;
|
|
74820
|
+
}, r.deflateSetDictionary = function(F, se) {
|
|
74821
|
+
var ve, G, J, fe, ae, ge, de, Me, ye = se.length;
|
|
74822
74822
|
if (!F || !F.state || (fe = (ve = F.state).wrap) === 2 || fe === 1 && ve.status !== x || ve.lookahead) return g;
|
|
74823
|
-
for (fe === 1 && (F.adler = l(F.adler,
|
|
74823
|
+
for (fe === 1 && (F.adler = l(F.adler, se, ye, 0)), ve.wrap = 0, ye >= ve.w_size && (fe === 0 && (le(ve.head), ve.strstart = 0, ve.block_start = 0, ve.insert = 0), Me = new s.Buf8(ve.w_size), s.arraySet(Me, se, ye - ve.w_size, ve.w_size, 0), se = Me, ye = ve.w_size), ae = F.avail_in, ge = F.next_in, de = F.input, F.avail_in = ye, F.next_in = 0, F.input = se, W(ve); ve.lookahead >= D; ) {
|
|
74824
74824
|
for (G = ve.strstart, J = ve.lookahead - (D - 1); ve.ins_h = (ve.ins_h << ve.hash_shift ^ ve.window[G + D - 1]) & ve.hash_mask, ve.prev[G & ve.w_mask] = ve.head[ve.ins_h], ve.head[ve.ins_h] = G, G++, --J; ) ;
|
|
74825
74825
|
ve.strstart = G, ve.lookahead = D - 1, W(ve);
|
|
74826
74826
|
}
|
|
@@ -74945,9 +74945,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
74945
74945
|
r.inflateReset = w, r.inflateReset2 = T, r.inflateResetKeep = b, r.inflateInit = function(x) {
|
|
74946
74946
|
return C(x, 15);
|
|
74947
74947
|
}, r.inflateInit2 = C, r.inflate = function(x, B) {
|
|
74948
|
-
var _, j, R, z, Z, re,
|
|
74948
|
+
var _, j, R, z, Z, re, le, M, P, U, L, V, W, Q, ie, we, Ee, ee, _e, Te, F, se, ve, G, J = 0, fe = new a.Buf8(4), ae = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
74949
74949
|
if (!x || !x.state || !x.output || !x.input && x.avail_in !== 0) return h;
|
|
74950
|
-
(_ = x.state).mode === 12 && (_.mode = 13), Z = x.next_out, R = x.output,
|
|
74950
|
+
(_ = x.state).mode === 12 && (_.mode = 13), Z = x.next_out, R = x.output, le = x.avail_out, z = x.next_in, j = x.input, re = x.avail_in, M = _.hold, P = _.bits, U = re, L = le, se = c;
|
|
74951
74951
|
e: for (; ; ) switch (_.mode) {
|
|
74952
74952
|
case g:
|
|
74953
74953
|
if (_.wrap === 0) {
|
|
@@ -75050,7 +75050,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75050
75050
|
}
|
|
75051
75051
|
x.adler = _.check = y(M), P = M = 0, _.mode = 11;
|
|
75052
75052
|
case 11:
|
|
75053
|
-
if (_.havedict === 0) return x.next_out = Z, x.avail_out =
|
|
75053
|
+
if (_.havedict === 0) return x.next_out = Z, x.avail_out = le, x.next_in = z, x.avail_in = re, _.hold = M, _.bits = P, 2;
|
|
75054
75054
|
x.adler = _.check = 1, _.mode = 12;
|
|
75055
75055
|
case 12:
|
|
75056
75056
|
if (B === 5 || B === 6) break e;
|
|
@@ -75093,8 +75093,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75093
75093
|
_.mode = 16;
|
|
75094
75094
|
case 16:
|
|
75095
75095
|
if (V = _.length) {
|
|
75096
|
-
if (re < V && (V = re),
|
|
75097
|
-
a.arraySet(R, j, z, V, Z), re -= V, z += V,
|
|
75096
|
+
if (re < V && (V = re), le < V && (V = le), V === 0) break e;
|
|
75097
|
+
a.arraySet(R, j, z, V, Z), re -= V, z += V, le -= V, Z += V, _.length -= V;
|
|
75098
75098
|
break;
|
|
75099
75099
|
}
|
|
75100
75100
|
_.mode = 12;
|
|
@@ -75118,7 +75118,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75118
75118
|
_.lens[ae[_.have++]] = 7 & M, M >>>= 3, P -= 3;
|
|
75119
75119
|
}
|
|
75120
75120
|
for (; _.have < 19; ) _.lens[ae[_.have++]] = 0;
|
|
75121
|
-
if (_.lencode = _.lendyn, _.lenbits = 7, ve = { bits: _.lenbits },
|
|
75121
|
+
if (_.lencode = _.lendyn, _.lenbits = 7, ve = { bits: _.lenbits }, se = u(0, _.lens, 0, 19, _.lencode, 0, _.work, ve), _.lenbits = ve.bits, se) {
|
|
75122
75122
|
x.msg = "invalid code lengths set", _.mode = 30;
|
|
75123
75123
|
break;
|
|
75124
75124
|
}
|
|
@@ -75166,11 +75166,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75166
75166
|
x.msg = "invalid code -- missing end-of-block", _.mode = 30;
|
|
75167
75167
|
break;
|
|
75168
75168
|
}
|
|
75169
|
-
if (_.lenbits = 9, ve = { bits: _.lenbits },
|
|
75169
|
+
if (_.lenbits = 9, ve = { bits: _.lenbits }, se = u(f, _.lens, 0, _.nlen, _.lencode, 0, _.work, ve), _.lenbits = ve.bits, se) {
|
|
75170
75170
|
x.msg = "invalid literal/lengths set", _.mode = 30;
|
|
75171
75171
|
break;
|
|
75172
75172
|
}
|
|
75173
|
-
if (_.distbits = 6, _.distcode = _.distdyn, ve = { bits: _.distbits },
|
|
75173
|
+
if (_.distbits = 6, _.distcode = _.distdyn, ve = { bits: _.distbits }, se = u(d, _.lens, _.nlen, _.ndist, _.distcode, 0, _.work, ve), _.distbits = ve.bits, se) {
|
|
75174
75174
|
x.msg = "invalid distances set", _.mode = 30;
|
|
75175
75175
|
break;
|
|
75176
75176
|
}
|
|
@@ -75178,8 +75178,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75178
75178
|
case 20:
|
|
75179
75179
|
_.mode = 21;
|
|
75180
75180
|
case 21:
|
|
75181
|
-
if (6 <= re && 258 <=
|
|
75182
|
-
x.next_out = Z, x.avail_out =
|
|
75181
|
+
if (6 <= re && 258 <= le) {
|
|
75182
|
+
x.next_out = Z, x.avail_out = le, x.next_in = z, x.avail_in = re, _.hold = M, _.bits = P, l(x, L), Z = x.next_out, R = x.output, le = x.avail_out, z = x.next_in, j = x.input, re = x.avail_in, M = _.hold, P = _.bits, _.mode === 12 && (_.back = -1);
|
|
75183
75183
|
break;
|
|
75184
75184
|
}
|
|
75185
75185
|
for (_.back = 0; we = (J = _.lencode[M & (1 << _.lenbits) - 1]) >>> 16 & 255, Ee = 65535 & J, !((ie = J >>> 24) <= P); ) {
|
|
@@ -75246,20 +75246,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75246
75246
|
}
|
|
75247
75247
|
_.mode = 25;
|
|
75248
75248
|
case 25:
|
|
75249
|
-
if (
|
|
75250
|
-
if (V = L -
|
|
75249
|
+
if (le === 0) break e;
|
|
75250
|
+
if (V = L - le, _.offset > V) {
|
|
75251
75251
|
if ((V = _.offset - V) > _.whave && _.sane) {
|
|
75252
75252
|
x.msg = "invalid distance too far back", _.mode = 30;
|
|
75253
75253
|
break;
|
|
75254
75254
|
}
|
|
75255
75255
|
W = V > _.wnext ? (V -= _.wnext, _.wsize - V) : _.wnext - V, V > _.length && (V = _.length), Q = _.window;
|
|
75256
75256
|
} else Q = R, W = Z - _.offset, V = _.length;
|
|
75257
|
-
for (
|
|
75257
|
+
for (le < V && (V = le), le -= V, _.length -= V; R[Z++] = Q[W++], --V; ) ;
|
|
75258
75258
|
_.length === 0 && (_.mode = 21);
|
|
75259
75259
|
break;
|
|
75260
75260
|
case 26:
|
|
75261
|
-
if (
|
|
75262
|
-
R[Z++] = _.length,
|
|
75261
|
+
if (le === 0) break e;
|
|
75262
|
+
R[Z++] = _.length, le--, _.mode = 21;
|
|
75263
75263
|
break;
|
|
75264
75264
|
case 27:
|
|
75265
75265
|
if (_.wrap) {
|
|
@@ -75267,7 +75267,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75267
75267
|
if (re === 0) break e;
|
|
75268
75268
|
re--, M |= j[z++] << P, P += 8;
|
|
75269
75269
|
}
|
|
75270
|
-
if (L -=
|
|
75270
|
+
if (L -= le, x.total_out += L, _.total += L, L && (x.adler = _.check = _.flags ? o(_.check, R, L, Z - L) : s(_.check, R, L, Z - L)), L = le, (_.flags ? M : y(M)) !== _.check) {
|
|
75271
75271
|
x.msg = "incorrect data check", _.mode = 30;
|
|
75272
75272
|
break;
|
|
75273
75273
|
}
|
|
@@ -75288,10 +75288,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75288
75288
|
}
|
|
75289
75289
|
_.mode = 29;
|
|
75290
75290
|
case 29:
|
|
75291
|
-
|
|
75291
|
+
se = 1;
|
|
75292
75292
|
break e;
|
|
75293
75293
|
case 30:
|
|
75294
|
-
|
|
75294
|
+
se = -3;
|
|
75295
75295
|
break e;
|
|
75296
75296
|
case 31:
|
|
75297
75297
|
return -4;
|
|
@@ -75299,7 +75299,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75299
75299
|
default:
|
|
75300
75300
|
return h;
|
|
75301
75301
|
}
|
|
75302
|
-
return x.next_out = Z, x.avail_out =
|
|
75302
|
+
return x.next_out = Z, x.avail_out = le, x.next_in = z, x.avail_in = re, _.hold = M, _.bits = P, (_.wsize || L !== x.avail_out && _.mode < 30 && (_.mode < 27 || B !== 4)) && E(x, x.output, x.next_out, L - x.avail_out) ? (_.mode = 31, -4) : (U -= x.avail_in, L -= x.avail_out, x.total_in += U, x.total_out += L, _.total += L, _.wrap && L && (x.adler = _.check = _.flags ? o(_.check, R, L, x.next_out - L) : s(_.check, R, L, x.next_out - L)), x.data_type = _.bits + (_.last ? 64 : 0) + (_.mode === 12 ? 128 : 0) + (_.mode === 20 || _.mode === 15 ? 256 : 0), (U == 0 && L === 0 || B === 4) && se === c && (se = -5), se);
|
|
75303
75303
|
}, r.inflateEnd = function(x) {
|
|
75304
75304
|
if (!x || !x.state) return h;
|
|
75305
75305
|
var B = x.state;
|
|
@@ -75314,7 +75314,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75314
75314
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, i, r) {
|
|
75315
75315
|
var a = n("../utils/common"), s = [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], u = [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];
|
|
75316
75316
|
i.exports = function(f, d, c, h, g, v, m, y) {
|
|
75317
|
-
var p, b, w, T, C, k, A, D, S, E = y.bits, x = 0, B = 0, _ = 0, j = 0, R = 0, z = 0, Z = 0, re = 0,
|
|
75317
|
+
var p, b, w, T, C, k, A, D, S, E = y.bits, x = 0, B = 0, _ = 0, j = 0, R = 0, z = 0, Z = 0, re = 0, le = 0, M = 0, P = null, U = 0, L = new a.Buf16(16), V = new a.Buf16(16), W = null, Q = 0;
|
|
75318
75318
|
for (x = 0; x <= 15; x++) L[x] = 0;
|
|
75319
75319
|
for (B = 0; B < h; B++) L[d[c + B]]++;
|
|
75320
75320
|
for (R = E, j = 15; 1 <= j && L[j] === 0; j--) ;
|
|
@@ -75324,7 +75324,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75324
75324
|
if (0 < re && (f === 0 || j !== 1)) return -1;
|
|
75325
75325
|
for (V[1] = 0, x = 1; x < 15; x++) V[x + 1] = V[x] + L[x];
|
|
75326
75326
|
for (B = 0; B < h; B++) d[c + B] !== 0 && (m[V[d[c + B]]++] = B);
|
|
75327
|
-
if (k = f === 0 ? (P = W = m, 19) : f === 1 ? (P = s, U -= 257, W = o, Q -= 257, 256) : (P = l, W = u, -1), x = _, C = v, Z = B = M = 0, w = -1, T = (
|
|
75327
|
+
if (k = f === 0 ? (P = W = m, 19) : f === 1 ? (P = s, U -= 257, W = o, Q -= 257, 256) : (P = l, W = u, -1), x = _, C = v, Z = B = M = 0, w = -1, T = (le = 1 << (z = R)) - 1, f === 1 && 852 < le || f === 2 && 592 < le) return 1;
|
|
75328
75328
|
for (; ; ) {
|
|
75329
75329
|
for (A = x - Z, S = m[B] < k ? (D = 0, m[B]) : m[B] > k ? (D = W[Q + m[B]], P[U + m[B]]) : (D = 96, 0), p = 1 << x - Z, _ = b = 1 << z; g[C + (M >> Z) + (b -= p)] = A << 24 | D << 16 | S | 0, b !== 0; ) ;
|
|
75330
75330
|
for (p = 1 << x - 1; M & p; ) p >>= 1;
|
|
@@ -75334,7 +75334,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75334
75334
|
}
|
|
75335
75335
|
if (R < x && (M & T) !== w) {
|
|
75336
75336
|
for (Z === 0 && (Z = R), C += _, re = 1 << (z = x - Z); z + Z < j && !((re -= L[z + Z]) <= 0); ) z++, re <<= 1;
|
|
75337
|
-
if (
|
|
75337
|
+
if (le += 1 << z, f === 1 && 852 < le || f === 2 && 592 < le) return 1;
|
|
75338
75338
|
g[w = M & T] = R << 24 | z << 16 | C - v | 0;
|
|
75339
75339
|
}
|
|
75340
75340
|
}
|
|
@@ -75358,7 +75358,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75358
75358
|
var j = new Array(f);
|
|
75359
75359
|
l(j);
|
|
75360
75360
|
var R, z, Z, re = new Array(h);
|
|
75361
|
-
function
|
|
75361
|
+
function le(J, fe, ae, ge, de) {
|
|
75362
75362
|
this.static_tree = J, this.extra_bits = fe, this.extra_base = ae, this.elems = ge, this.max_length = de, this.has_stree = J && J.length;
|
|
75363
75363
|
}
|
|
75364
75364
|
function M(J, fe) {
|
|
@@ -75434,7 +75434,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75434
75434
|
var ge, de, Me = -1, ye = fe[1], Ce = 0, Ye = 7, yt = 4;
|
|
75435
75435
|
for (ye === 0 && (Ye = 138, yt = 3), fe[2 * (ae + 1) + 1] = 65535, ge = 0; ge <= ae; ge++) de = ye, ye = fe[2 * (ge + 1) + 1], ++Ce < Ye && de === ye || (Ce < yt ? J.bl_tree[2 * de] += Ce : de !== 0 ? (de !== Me && J.bl_tree[2 * de]++, J.bl_tree[2 * w]++) : Ce <= 10 ? J.bl_tree[2 * T]++ : J.bl_tree[2 * C]++, Me = de, yt = (Ce = 0) === ye ? (Ye = 138, 3) : de === ye ? (Ye = 6, 3) : (Ye = 7, 4));
|
|
75436
75436
|
}
|
|
75437
|
-
function
|
|
75437
|
+
function se(J, fe, ae) {
|
|
75438
75438
|
var ge, de, Me = -1, ye = fe[1], Ce = 0, Ye = 7, yt = 4;
|
|
75439
75439
|
for (ye === 0 && (Ye = 138, yt = 3), ge = 0; ge <= ae; ge++) if (de = ye, ye = fe[2 * (ge + 1) + 1], !(++Ce < Ye && de === ye)) {
|
|
75440
75440
|
if (Ce < yt) for (; V(J, de, J.bl_tree), --Ce != 0; ) ;
|
|
@@ -75461,7 +75461,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75461
75461
|
for (; fe <= 279; ) E[2 * fe + 1] = 7, fe++, ye[7]++;
|
|
75462
75462
|
for (; fe <= 287; ) E[2 * fe + 1] = 8, fe++, ye[8]++;
|
|
75463
75463
|
for (Q(E, c + 1, ye), fe = 0; fe < h; fe++) x[2 * fe + 1] = 5, x[2 * fe] = W(fe, 5);
|
|
75464
|
-
R = new
|
|
75464
|
+
R = new le(E, k, d + 1, c, m), z = new le(x, A, 0, h, m), Z = new le(new Array(0), D, 0, g, p);
|
|
75465
75465
|
}(), ve = !0), J.l_desc = new M(J.dyn_ltree, R), J.d_desc = new M(J.dyn_dtree, z), J.bl_desc = new M(J.bl_tree, Z), J.bi_buf = 0, J.bi_valid = 0, ie(J);
|
|
75466
75466
|
}, r._tr_stored_block = G, r._tr_flush_block = function(J, fe, ae, ge) {
|
|
75467
75467
|
var de, Me, ye = 0;
|
|
@@ -75478,7 +75478,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
75478
75478
|
}(J), de = J.opt_len + 3 + 7 >>> 3, (Me = J.static_len + 3 + 7 >>> 3) <= de && (de = Me)) : de = Me = ae + 5, ae + 4 <= de && fe !== -1 ? G(J, fe, ae, ge) : J.strategy === 4 || Me === de ? (L(J, 2 + (ge ? 1 : 0), 3), _e(J, E, x)) : (L(J, 4 + (ge ? 1 : 0), 3), function(Ce, Ye, yt, dt) {
|
|
75479
75479
|
var Nt;
|
|
75480
75480
|
for (L(Ce, Ye - 257, 5), L(Ce, yt - 1, 5), L(Ce, dt - 4, 4), Nt = 0; Nt < dt; Nt++) L(Ce, Ce.bl_tree[2 * S[Nt] + 1], 3);
|
|
75481
|
-
|
|
75481
|
+
se(Ce, Ce.dyn_ltree, Ye - 1), se(Ce, Ce.dyn_dtree, yt - 1);
|
|
75482
75482
|
}(J, J.l_desc.max_code + 1, J.d_desc.max_code + 1, ye + 1), _e(J, J.dyn_ltree, J.dyn_dtree)), ie(J), ge && we(J);
|
|
75483
75483
|
}, r._tr_tally = function(J, fe, ae) {
|
|
75484
75484
|
return J.pending_buf[J.d_buf + 2 * J.last_lit] = fe >>> 8 & 255, J.pending_buf[J.d_buf + 2 * J.last_lit + 1] = 255 & fe, J.pending_buf[J.l_buf + J.last_lit] = 255 & ae, J.last_lit++, fe === 0 ? J.dyn_ltree[2 * ae]++ : (J.matches++, fe--, J.dyn_ltree[2 * (_[ae] + d + 1)]++, J.dyn_dtree[2 * P(fe)]++), J.last_lit === J.lit_bufsize - 1;
|
|
@@ -76920,11 +76920,11 @@ const uxe = /* @__PURE__ */ yn(ixe, [["render", lxe]]), fxe = /* @__PURE__ */ Ob
|
|
|
76920
76920
|
};
|
|
76921
76921
|
const V = i.fold, W = ((we = o.value) == null ? void 0 : we.showNum) || 0, Q = ((Ee = o.value) == null ? void 0 : Ee.formAttrs) || {};
|
|
76922
76922
|
for (let _e = 0; _e < U; _e++) {
|
|
76923
|
-
const Te = P[_e], F = Te.condition ? Te.condition(a.value) : !0,
|
|
76923
|
+
const Te = P[_e], F = Te.condition ? Te.condition(a.value) : !0, se = V || !W || W > _e, ve = [
|
|
76924
76924
|
((ee = Te == null ? void 0 : Te.labelAttrs) == null ? void 0 : ee.labelWidth) === "0px" || (Q == null ? void 0 : Q.labelWidth) === "0px" ? "empty-label" : "",
|
|
76925
76925
|
Te.type === "tips" ? "tips-form-item" : ""
|
|
76926
76926
|
];
|
|
76927
|
-
L.condition[_e] = F, L.show[_e] =
|
|
76927
|
+
L.condition[_e] = F, L.show[_e] = se, L.formItemClass[_e] = ve;
|
|
76928
76928
|
}
|
|
76929
76929
|
return L;
|
|
76930
76930
|
}), f = (P = {}, U = !1) => {
|
|
@@ -77028,9 +77028,9 @@ const uxe = /* @__PURE__ */ yn(ixe, [["render", lxe]]), fxe = /* @__PURE__ */ Ob
|
|
|
77028
77028
|
method: "get",
|
|
77029
77029
|
params: Te
|
|
77030
77030
|
}).then((F) => {
|
|
77031
|
-
let
|
|
77032
|
-
xn.isObject(
|
|
77033
|
-
a.value =
|
|
77031
|
+
let se = f(F);
|
|
77032
|
+
xn.isObject(se) && tn(() => {
|
|
77033
|
+
a.value = se;
|
|
77034
77034
|
}), t("get-detail-success", F);
|
|
77035
77035
|
});
|
|
77036
77036
|
} else {
|
|
@@ -77122,10 +77122,10 @@ const uxe = /* @__PURE__ */ yn(ixe, [["render", lxe]]), fxe = /* @__PURE__ */ Ob
|
|
|
77122
77122
|
});
|
|
77123
77123
|
}, re = (P, U) => {
|
|
77124
77124
|
U.selectVal = P;
|
|
77125
|
-
},
|
|
77125
|
+
}, le = (P) => {
|
|
77126
77126
|
a.value = f(P);
|
|
77127
77127
|
}, M = Pa(() => {
|
|
77128
|
-
Hd(e.modelValue) && !XM(e.modelValue) && !e.isSearch &&
|
|
77128
|
+
Hd(e.modelValue) && !XM(e.modelValue) && !e.isSearch && le(e.modelValue);
|
|
77129
77129
|
});
|
|
77130
77130
|
return HW(() => {
|
|
77131
77131
|
s = {};
|
|
@@ -77160,7 +77160,7 @@ const uxe = /* @__PURE__ */ yn(ixe, [["render", lxe]]), fxe = /* @__PURE__ */ Ob
|
|
|
77160
77160
|
handlePictureAction: C,
|
|
77161
77161
|
createSubmitData: c,
|
|
77162
77162
|
timePickerChange: m,
|
|
77163
|
-
handleSetModelValue:
|
|
77163
|
+
handleSetModelValue: le,
|
|
77164
77164
|
handleComponentChange: Z,
|
|
77165
77165
|
handleInputSelectChange: re
|
|
77166
77166
|
};
|
|
@@ -80849,7 +80849,7 @@ const C5e = /* @__PURE__ */ yn(k5e, [["render", _5e], ["__scopeId", "data-v-0471
|
|
|
80849
80849
|
}, re = (ae, ge, de) => {
|
|
80850
80850
|
const { layerY: Me } = ae;
|
|
80851
80851
|
o.categoryPop.top = `${Me + 45}px`, o.categoryPop.display = "block", o.categoryPop.id = (de == null ? void 0 : de.id) || "", o.categoryPop.pid = (de == null ? void 0 : de.pid) || 0, o.categoryPop.level = (ge == null ? void 0 : ge.level) || "", o.categoryPop.name = (de == null ? void 0 : de.name) || "", de.id ? ge.level === a.nodeLevel ? o.categoryOpt = s.slice(1) : o.categoryOpt = s.slice() : o.categoryOpt = s.slice(0, 1);
|
|
80852
|
-
},
|
|
80852
|
+
}, le = () => {
|
|
80853
80853
|
o.categoryPop.display = "none";
|
|
80854
80854
|
}, M = (ae) => {
|
|
80855
80855
|
var ge, de;
|
|
@@ -80973,7 +80973,7 @@ const C5e = /* @__PURE__ */ yn(k5e, [["render", _5e], ["__scopeId", "data-v-0471
|
|
|
80973
80973
|
S();
|
|
80974
80974
|
}, F = (ae) => {
|
|
80975
80975
|
Tt.info(ae.msg);
|
|
80976
|
-
},
|
|
80976
|
+
}, se = () => {
|
|
80977
80977
|
const { exportApi: ae } = a;
|
|
80978
80978
|
if (!ae) return Tt.info(Ue("请配置素材分类导出接口"));
|
|
80979
80979
|
r.request({
|
|
@@ -81051,14 +81051,14 @@ const C5e = /* @__PURE__ */ yn(k5e, [["render", _5e], ["__scopeId", "data-v-0471
|
|
|
81051
81051
|
handleCurrentChange: B,
|
|
81052
81052
|
handleSizeChange: _,
|
|
81053
81053
|
handleDownloadMaterial: C,
|
|
81054
|
-
handleMouseleave:
|
|
81054
|
+
handleMouseleave: le,
|
|
81055
81055
|
handleCategoryOpt: M,
|
|
81056
81056
|
submitForm: U,
|
|
81057
81057
|
handleCancelSelect: ee,
|
|
81058
81058
|
handleCascaderChange: P,
|
|
81059
81059
|
handleImgUrl: _e,
|
|
81060
81060
|
handleFileUploadSuccess: Te,
|
|
81061
|
-
handleExportMaterialCategory:
|
|
81061
|
+
handleExportMaterialCategory: se,
|
|
81062
81062
|
handleFileUploadError: F,
|
|
81063
81063
|
handleMattingMaterial: ve,
|
|
81064
81064
|
handleUploadPaste: G
|
|
@@ -81892,7 +81892,7 @@ const _9e = /* @__PURE__ */ yn(b9e, [["render", k9e]]), C9e = /* @__PURE__ */ Ob
|
|
|
81892
81892
|
multiple: z,
|
|
81893
81893
|
valueType: Z,
|
|
81894
81894
|
modelValueKey: re,
|
|
81895
|
-
modelValue:
|
|
81895
|
+
modelValue: le
|
|
81896
81896
|
} = e;
|
|
81897
81897
|
let M = [];
|
|
81898
81898
|
if (_) {
|
|
@@ -81911,7 +81911,7 @@ const _9e = /* @__PURE__ */ yn(b9e, [["render", k9e]]), C9e = /* @__PURE__ */ Ob
|
|
|
81911
81911
|
return e.sourceData && P && (_a(P) ? M = m(P) : Hd(P) ? M = m([P]) : M = [
|
|
81912
81912
|
{
|
|
81913
81913
|
[j]: P,
|
|
81914
|
-
[R]:
|
|
81914
|
+
[R]: le
|
|
81915
81915
|
}
|
|
81916
81916
|
], M = M == null ? void 0 : M.map((U) => ({
|
|
81917
81917
|
...U,
|
|
@@ -81924,7 +81924,7 @@ const _9e = /* @__PURE__ */ yn(b9e, [["render", k9e]]), C9e = /* @__PURE__ */ Ob
|
|
|
81924
81924
|
}
|
|
81925
81925
|
}, v = (_ = !1, j = "", R = "", z = !0) => {
|
|
81926
81926
|
var V;
|
|
81927
|
-
const { listApi: Z, searchKey: re, valueKey:
|
|
81927
|
+
const { listApi: Z, searchKey: re, valueKey: le, searchValueKey: M, multiple: P } = e;
|
|
81928
81928
|
if (!Z)
|
|
81929
81929
|
return d.listData = (e == null ? void 0 : e.options) || [], d.fetched = !0, (e == null ? void 0 : e.options) || [];
|
|
81930
81930
|
let U = Z;
|
|
@@ -81940,7 +81940,7 @@ const _9e = /* @__PURE__ */ yn(b9e, [["render", k9e]]), C9e = /* @__PURE__ */ Ob
|
|
|
81940
81940
|
const W = r.exParamsFun(e.sourceData);
|
|
81941
81941
|
L = { ...L, ...W };
|
|
81942
81942
|
}
|
|
81943
|
-
L[re] = d.searchVal, R && (L[R] = j), _ && M && (L[
|
|
81943
|
+
L[re] = d.searchVal, R && (L[R] = j), _ && M && (L[le] = h.value || ""), _ && (L[i.unionIdKey] = P ? (V = h == null ? void 0 : h.value) == null ? void 0 : V.join(",") : e == null ? void 0 : e.modelValue), i.request({
|
|
81944
81944
|
url: U,
|
|
81945
81945
|
method: (r == null ? void 0 : r.method) || "get",
|
|
81946
81946
|
params: L,
|
|
@@ -81952,26 +81952,26 @@ const _9e = /* @__PURE__ */ yn(b9e, [["render", k9e]]), C9e = /* @__PURE__ */ Ob
|
|
|
81952
81952
|
});
|
|
81953
81953
|
}, m = (_ = [], j = !1) => {
|
|
81954
81954
|
const { labelKey: R, exLabelKey: z, valueKey: Z, multiple: re } = e;
|
|
81955
|
-
let
|
|
81955
|
+
let le = _;
|
|
81956
81956
|
const M = j ? eg(a) : [];
|
|
81957
|
-
return z || r != null && r.exLabelKeyFun ?
|
|
81957
|
+
return z || r != null && r.exLabelKeyFun ? le = _.map((P) => {
|
|
81958
81958
|
const U = z ? P[z] : r.exLabelKeyFun(P);
|
|
81959
81959
|
return P[R] = U, P;
|
|
81960
|
-
}) : r != null && r.handleDataFun && (
|
|
81960
|
+
}) : r != null && r.handleDataFun && (le = r.handleDataFun(_)), j && re && (le.forEach((P) => {
|
|
81961
81961
|
var L;
|
|
81962
81962
|
((L = h == null ? void 0 : h.value) == null ? void 0 : L.includes(P[Z])) && M.forEach((V, W, Q) => {
|
|
81963
81963
|
V[Z] === P[Z] && Q.splice(W, 1);
|
|
81964
81964
|
});
|
|
81965
|
-
}), M.length &&
|
|
81965
|
+
}), M.length && le.push(...M)), le;
|
|
81966
81966
|
}, y = (_, j = "", R = !1) => {
|
|
81967
|
-
const { valueKey: z
|
|
81968
|
-
if (
|
|
81967
|
+
const { valueKey: z } = e, Z = m(_, !0);
|
|
81968
|
+
if (d.listData.splice(0, d.listData.length, ...Z), d.fetched = !0, d.persistent = !0, j && (s && clearTimeout(s), s = setTimeout(() => {
|
|
81969
81969
|
h.value = null;
|
|
81970
81970
|
}, 150)), R && r.defaultSelect && _.length) {
|
|
81971
81971
|
if (h.value) return;
|
|
81972
|
-
const
|
|
81973
|
-
h.value =
|
|
81974
|
-
p(
|
|
81972
|
+
const re = _[0][z];
|
|
81973
|
+
h.value = re, tn(() => {
|
|
81974
|
+
p(re);
|
|
81975
81975
|
});
|
|
81976
81976
|
}
|
|
81977
81977
|
}, p = (_) => {
|
|
@@ -82011,11 +82011,11 @@ const _9e = /* @__PURE__ */ yn(b9e, [["render", k9e]]), C9e = /* @__PURE__ */ Ob
|
|
|
82011
82011
|
data: { [_]: d.searchVal, ...Z }
|
|
82012
82012
|
}).then((re) => {
|
|
82013
82013
|
t("add-success", re);
|
|
82014
|
-
const
|
|
82014
|
+
const le = Ft(r == null ? void 0 : r.handleAddSuccess) ? r == null ? void 0 : r.handleAddSuccess(re) : re[j];
|
|
82015
82015
|
d.listData.unshift({
|
|
82016
82016
|
[_]: d.searchVal,
|
|
82017
|
-
[j]:
|
|
82018
|
-
}), R ? h.value.push(
|
|
82017
|
+
[j]: le
|
|
82018
|
+
}), R ? h.value.push(le) : h.value = le, tn(() => {
|
|
82019
82019
|
n.value.blur();
|
|
82020
82020
|
}), l && clearTimeout(l), r.addRefresh && (d.searchVal = "", v()), l = setTimeout(() => {
|
|
82021
82021
|
n.value.blur();
|
|
@@ -82250,7 +82250,7 @@ function j9e(e, t, n, i, r, a) {
|
|
|
82250
82250
|
} : void 0
|
|
82251
82251
|
]), 1032, ["modelValue", "disabled", "multiple", "persistent", "placeholder", "remote", "remote-method", "onBlur", "onChange", "onClear", "onFocus"]);
|
|
82252
82252
|
}
|
|
82253
|
-
const I9e = /* @__PURE__ */ yn(S9e, [["render", j9e], ["__scopeId", "data-v-
|
|
82253
|
+
const I9e = /* @__PURE__ */ yn(S9e, [["render", j9e], ["__scopeId", "data-v-468e5cda"]]), R9e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82254
82254
|
__proto__: null,
|
|
82255
82255
|
default: I9e
|
|
82256
82256
|
}, Symbol.toStringTag, { value: "Module" })), Ow = {
|
|
@@ -83203,8 +83203,8 @@ Ut.prototype = /** @lends Sortable.prototype */
|
|
|
83203
83203
|
fromSortable: d,
|
|
83204
83204
|
target: n,
|
|
83205
83205
|
completed: y,
|
|
83206
|
-
onMove: function(re,
|
|
83207
|
-
return c1(Jn, t, pt, i, re, Ai(re), e,
|
|
83206
|
+
onMove: function(re, le) {
|
|
83207
|
+
return c1(Jn, t, pt, i, re, Ai(re), e, le);
|
|
83208
83208
|
},
|
|
83209
83209
|
changed: p
|
|
83210
83210
|
}, Z));
|
|
@@ -84665,7 +84665,7 @@ const _x = [
|
|
|
84665
84665
|
"row-change"
|
|
84666
84666
|
],
|
|
84667
84667
|
setup(e, { emit: t }) {
|
|
84668
|
-
var
|
|
84668
|
+
var oe, Ae, We, Re;
|
|
84669
84669
|
const n = ti(), i = {
|
|
84670
84670
|
"page-sizes": iL(),
|
|
84671
84671
|
"page-size": 20,
|
|
@@ -84777,7 +84777,7 @@ const _x = [
|
|
|
84777
84777
|
}, D = dn({
|
|
84778
84778
|
currentPage: 1,
|
|
84779
84779
|
pageCount: 1,
|
|
84780
|
-
pageSize: Fr.get(A()) || ((
|
|
84780
|
+
pageSize: Fr.get(A()) || ((oe = k.tableListParams) == null ? void 0 : oe.per_page) || k.pagination["page-sizes"][2],
|
|
84781
84781
|
totalCount: 1,
|
|
84782
84782
|
sort: ((Ae = k.tableListParams) == null ? void 0 : Ae.sort) || "id",
|
|
84783
84783
|
order: ((We = k.tableListParams) == null ? void 0 : We.order) || "desc"
|
|
@@ -84830,7 +84830,7 @@ const _x = [
|
|
|
84830
84830
|
_a(ot) ? Ve[Ge] = ot.map((wt) => +wt) : Ve[Ge] = ot;
|
|
84831
84831
|
Ve.openType && delete Ve.openType, delete Ve.fromJump;
|
|
84832
84832
|
}
|
|
84833
|
-
d.value = Ve,
|
|
84833
|
+
d.value = Ve, le(ne);
|
|
84834
84834
|
}, re = () => {
|
|
84835
84835
|
var ne, De;
|
|
84836
84836
|
return {
|
|
@@ -84841,7 +84841,7 @@ const _x = [
|
|
|
84841
84841
|
order: D.order || ((De = k.tableListParams) == null ? void 0 : De.order) || "",
|
|
84842
84842
|
...d.value || {}
|
|
84843
84843
|
};
|
|
84844
|
-
},
|
|
84844
|
+
}, le = (ne = {}) => {
|
|
84845
84845
|
const De = re(), Ve = zi({}, De, ne);
|
|
84846
84846
|
M(Ve);
|
|
84847
84847
|
}, M = (ne) => {
|
|
@@ -84884,15 +84884,15 @@ const _x = [
|
|
|
84884
84884
|
[n.pageSizeKey]: D.pageSize
|
|
84885
84885
|
};
|
|
84886
84886
|
d.value = {}, tn(() => {
|
|
84887
|
-
|
|
84887
|
+
le(ne);
|
|
84888
84888
|
});
|
|
84889
84889
|
}, L = (ne, De) => {
|
|
84890
84890
|
d.value[ne] = De;
|
|
84891
84891
|
}, V = (ne) => {
|
|
84892
84892
|
var De, Ve;
|
|
84893
|
-
D.currentPage = 1, (Ve = (De = e.config) == null ? void 0 : De.tableSearch) != null && Ve.onlyData ? d.value = { ...ne } : d.value = { ...d.value, ...ne }, t("search-result", ne),
|
|
84893
|
+
D.currentPage = 1, (Ve = (De = e.config) == null ? void 0 : De.tableSearch) != null && Ve.onlyData ? d.value = { ...ne } : d.value = { ...d.value, ...ne }, t("search-result", ne), le(ne);
|
|
84894
84894
|
}, W = (ne) => {
|
|
84895
|
-
D.currentPage = ne,
|
|
84895
|
+
D.currentPage = ne, le({
|
|
84896
84896
|
page: ne
|
|
84897
84897
|
});
|
|
84898
84898
|
}, Q = (ne) => {
|
|
@@ -84902,11 +84902,11 @@ const _x = [
|
|
|
84902
84902
|
const Ve = {
|
|
84903
84903
|
[n.pageSizeKey]: ne
|
|
84904
84904
|
};
|
|
84905
|
-
|
|
84905
|
+
le(Ve);
|
|
84906
84906
|
}, ie = (ne) => {
|
|
84907
84907
|
f.value = ne, t("selection-change", ne);
|
|
84908
84908
|
}, we = ({ prop: ne, order: De }) => {
|
|
84909
|
-
D.sort = ne, D.order = De === "ascending" ? "asc" : "desc",
|
|
84909
|
+
D.sort = ne, D.order = De === "ascending" ? "asc" : "desc", le({
|
|
84910
84910
|
sort: ne,
|
|
84911
84911
|
order: De === "ascending" ? "asc" : "desc"
|
|
84912
84912
|
});
|
|
@@ -84918,7 +84918,7 @@ const _x = [
|
|
|
84918
84918
|
E.visible = !1, E.config = null, E.model = null, o.submitLoading = !1;
|
|
84919
84919
|
return;
|
|
84920
84920
|
}
|
|
84921
|
-
B.visible && Me(), (De = (ne = S == null ? void 0 : S.config) == null ? void 0 : ne.api) != null && De.refreshDraw && t("refresh-draw"), ((Ge = (Ve = S == null ? void 0 : S.config) == null ? void 0 : Ve.api) != null && Ge.refreshTable || S != null && S.refreshTable) && t("refresh-table"), S.visible = !1, S.config = null, S.model = null, o.submitLoading = !1, t("list-change"), !S.stopGetList &&
|
|
84921
|
+
B.visible && Me(), (De = (ne = S == null ? void 0 : S.config) == null ? void 0 : ne.api) != null && De.refreshDraw && t("refresh-draw"), ((Ge = (Ve = S == null ? void 0 : S.config) == null ? void 0 : Ve.api) != null && Ge.refreshTable || S != null && S.refreshTable) && t("refresh-table"), S.visible = !1, S.config = null, S.model = null, o.submitLoading = !1, t("list-change"), !S.stopGetList && le();
|
|
84922
84922
|
}, _e = (ne, De) => {
|
|
84923
84923
|
var Ve, Ge, ot;
|
|
84924
84924
|
S.visible && (Ve = S == null ? void 0 : S.config) != null && Ve.addSuccess && Ft((Ge = S == null ? void 0 : S.config) == null ? void 0 : Ge.addSuccess) && ((ot = S == null ? void 0 : S.config) == null || ot.addSuccess(
|
|
@@ -84929,13 +84929,13 @@ const _x = [
|
|
|
84929
84929
|
ee(), t("edit-success", ne, De);
|
|
84930
84930
|
}, F = () => {
|
|
84931
84931
|
B.visible = !0;
|
|
84932
|
-
},
|
|
84932
|
+
}, se = (ne, De) => {
|
|
84933
84933
|
n.request({
|
|
84934
84934
|
url: k.tableCopyApi,
|
|
84935
84935
|
method: "post",
|
|
84936
84936
|
data: ne
|
|
84937
84937
|
}).then(() => {
|
|
84938
|
-
t("copy-success", De),
|
|
84938
|
+
t("copy-success", De), le();
|
|
84939
84939
|
});
|
|
84940
84940
|
}, ve = (ne, De, Ve, Ge = [], ot = !1) => {
|
|
84941
84941
|
Mx(ne, De, Ve, {
|
|
@@ -85067,7 +85067,7 @@ const _x = [
|
|
|
85067
85067
|
t("click-cell", ne, De), De.drawerConfig ? Ce(ne, De) : ((Ve = De == null ? void 0 : De.actions) == null ? void 0 : Ve.type) === "editBox" && pi(ne, De.actions);
|
|
85068
85068
|
}, yt = () => {
|
|
85069
85069
|
}, dt = () => {
|
|
85070
|
-
o.refreshTable && (
|
|
85070
|
+
o.refreshTable && (le(), o.refreshTable = !1), B.visible = !1;
|
|
85071
85071
|
}, Nt = (ne) => {
|
|
85072
85072
|
t("upload-btn", ne);
|
|
85073
85073
|
}, jt = () => {
|
|
@@ -85215,7 +85215,7 @@ const _x = [
|
|
|
85215
85215
|
method: "post",
|
|
85216
85216
|
data: De
|
|
85217
85217
|
}).then(() => {
|
|
85218
|
-
t("delete-success", Ge),
|
|
85218
|
+
t("delete-success", Ge), le(), Ve != null && Ve.refreshDraw && ye();
|
|
85219
85219
|
});
|
|
85220
85220
|
}, qi = {
|
|
85221
85221
|
deleteText: ((Re = k == null ? void 0 : k.headerActions) == null ? void 0 : Re.deleteText) || "",
|
|
@@ -85236,7 +85236,7 @@ const _x = [
|
|
|
85236
85236
|
// 导入请求
|
|
85237
85237
|
handleSimpleRequest: ve,
|
|
85238
85238
|
// 简单请求
|
|
85239
|
-
handleCopyRequest:
|
|
85239
|
+
handleCopyRequest: se
|
|
85240
85240
|
// 复制请求
|
|
85241
85241
|
}, no = (ne, De = {}, Ve = null) => {
|
|
85242
85242
|
var wt, Qe, kt;
|
|
@@ -85265,7 +85265,7 @@ const _x = [
|
|
|
85265
85265
|
}), N = sr(e, (ne) => {
|
|
85266
85266
|
k = zi({}, C, ne.config), ne.config.tableData && (a.value = ne.config.tableData || []);
|
|
85267
85267
|
}), I = () => {
|
|
85268
|
-
|
|
85268
|
+
le(), t("refresh-table");
|
|
85269
85269
|
}, H = (ne, De, Ve) => {
|
|
85270
85270
|
t("form-item-change", ne, De, Ve);
|
|
85271
85271
|
}, K = async () => {
|
|
@@ -85338,7 +85338,7 @@ const _x = [
|
|
|
85338
85338
|
handleHeaderAction: no,
|
|
85339
85339
|
handleTableAction: O,
|
|
85340
85340
|
handleGetDetail: tr,
|
|
85341
|
-
getList:
|
|
85341
|
+
getList: le,
|
|
85342
85342
|
initSearch: Z,
|
|
85343
85343
|
handleError: yt,
|
|
85344
85344
|
handleAddSuccess: _e,
|
|
@@ -85885,7 +85885,7 @@ const J8e = /* @__PURE__ */ yn($8e, [["render", G8e], ["__scopeId", "data-v-8ee3
|
|
|
85885
85885
|
var me;
|
|
85886
85886
|
let X = ((me = e == null ? void 0 : e.route) == null ? void 0 : me.path) || "";
|
|
85887
85887
|
return e != null && e.refMenuId && (X = z()[e.refMenuId]), e != null && e.pageUrl && (X = e == null ? void 0 : e.pageUrl), X || "";
|
|
85888
|
-
}), re = ze(() => Ue("加载数据中") || "加载数据中..."),
|
|
85888
|
+
}), re = ze(() => Ue("加载数据中") || "加载数据中..."), le = (X = {}) => {
|
|
85889
85889
|
const { query: me } = e.route || {};
|
|
85890
85890
|
let Ke = { ...d.value, ...X };
|
|
85891
85891
|
if ((me != null && me.fromJump || me != null && me.openType) && !(e != null && e.refMenuId)) {
|
|
@@ -85996,7 +85996,7 @@ const J8e = /* @__PURE__ */ yn($8e, [["render", G8e], ["__scopeId", "data-v-8ee3
|
|
|
85996
85996
|
}), P(Ke);
|
|
85997
85997
|
}, F = (X) => {
|
|
85998
85998
|
t("table-current-change", X);
|
|
85999
|
-
},
|
|
85999
|
+
}, se = () => {
|
|
86000
86000
|
var X, me, Ke, qe;
|
|
86001
86001
|
if (x.visible) {
|
|
86002
86002
|
x.visible = !1, x.config = null, x.model = null, o.submitLoading = !1;
|
|
@@ -86008,9 +86008,9 @@ const J8e = /* @__PURE__ */ yn($8e, [["render", G8e], ["__scopeId", "data-v-8ee3
|
|
|
86008
86008
|
E.visible && (Ke = E == null ? void 0 : E.config) != null && Ke.addSuccess && Ft((qe = E == null ? void 0 : E.config) == null ? void 0 : qe.addSuccess) && ((tt = E == null ? void 0 : E.config) == null || tt.addSuccess(
|
|
86009
86009
|
d,
|
|
86010
86010
|
W
|
|
86011
|
-
)),
|
|
86011
|
+
)), se(), t("add-success", X, me);
|
|
86012
86012
|
}, G = (X, me) => {
|
|
86013
|
-
|
|
86013
|
+
se(), t("edit-success", X, me);
|
|
86014
86014
|
}, J = () => {
|
|
86015
86015
|
_.visible = !0;
|
|
86016
86016
|
}, fe = (X, me) => {
|
|
@@ -86362,7 +86362,7 @@ const J8e = /* @__PURE__ */ yn($8e, [["render", G8e], ["__scopeId", "data-v-8ee3
|
|
|
86362
86362
|
...te,
|
|
86363
86363
|
deleteText: A.tableDeleteText
|
|
86364
86364
|
}), t("table-action", qe, me, tt, X);
|
|
86365
|
-
},
|
|
86365
|
+
}, oe = Pa(() => {
|
|
86366
86366
|
}), Ae = sr(e, (X) => {
|
|
86367
86367
|
A = zi({}, k, X.config), X.config.tableData && (a.value = X.config.tableData || []);
|
|
86368
86368
|
}), We = () => {
|
|
@@ -86397,13 +86397,13 @@ const J8e = /* @__PURE__ */ yn($8e, [["render", G8e], ["__scopeId", "data-v-8ee3
|
|
|
86397
86397
|
ci(async () => {
|
|
86398
86398
|
var me;
|
|
86399
86399
|
const X = await ne();
|
|
86400
|
-
d.value = X, at(), pi(), (me = A.tableAttr) != null && me.immediate &&
|
|
86400
|
+
d.value = X, at(), pi(), (me = A.tableAttr) != null && me.immediate && le();
|
|
86401
86401
|
});
|
|
86402
86402
|
function Ge() {
|
|
86403
86403
|
A = null, a.value = null, s.value = null, d.value = null, o.tableFields = null, f.value = null, o.renderTable = !1;
|
|
86404
86404
|
}
|
|
86405
86405
|
return Po(() => {
|
|
86406
|
-
De(!0),
|
|
86406
|
+
De(!0), oe(), Ae(), Ge(), Ve();
|
|
86407
86407
|
}), {
|
|
86408
86408
|
tableRef: m,
|
|
86409
86409
|
tableListContentRef: v,
|
|
@@ -86442,7 +86442,7 @@ const J8e = /* @__PURE__ */ yn($8e, [["render", G8e], ["__scopeId", "data-v-8ee3
|
|
|
86442
86442
|
handleTableAction: Le,
|
|
86443
86443
|
handleGetDetail: Y,
|
|
86444
86444
|
getList: P,
|
|
86445
|
-
initSearch:
|
|
86445
|
+
initSearch: le,
|
|
86446
86446
|
handleError: ke,
|
|
86447
86447
|
handleAddSuccess: ve,
|
|
86448
86448
|
handleEditSuccess: G,
|
|
@@ -88040,9 +88040,9 @@ const MEe = /* @__PURE__ */ yn(jEe, [["render", REe]]), LEe = /* @__PURE__ */ Ob
|
|
|
88040
88040
|
"image/webp",
|
|
88041
88041
|
"image/x-icon"
|
|
88042
88042
|
];
|
|
88043
|
-
let
|
|
88044
|
-
j.includes(".icon") && (
|
|
88045
|
-
const M =
|
|
88043
|
+
let le = e.verifyFileType ? re.includes(j) : !0;
|
|
88044
|
+
j.includes(".icon") && (le = !0), le || Tt.error(Ue("上传图片只能是JPG,PNG,GIF,WEBP格式")), Z || (z > 1 ? Tt.error(`${Ue("上传图片大小不能超过")} ${z}MB!`) : Tt.error(`${Ue("上传图片大小不能超过")} ${R}KB!`));
|
|
88045
|
+
const M = le && Z;
|
|
88046
88046
|
return M && (a.onUploadProgress = !0), M;
|
|
88047
88047
|
}, v = () => {
|
|
88048
88048
|
a.onUploadProgress = !1;
|
|
@@ -88056,8 +88056,8 @@ const MEe = /* @__PURE__ */ yn(jEe, [["render", REe]]), LEe = /* @__PURE__ */ Ob
|
|
|
88056
88056
|
a.initOnce = !0;
|
|
88057
88057
|
let R = [];
|
|
88058
88058
|
_.map((z) => {
|
|
88059
|
-
var re,
|
|
88060
|
-
const Z = (j ? (
|
|
88059
|
+
var re, le, M;
|
|
88060
|
+
const Z = (j ? (le = (re = z == null ? void 0 : z.response) == null ? void 0 : re.data) == null ? void 0 : le[j] : (M = z == null ? void 0 : z.response) == null ? void 0 : M.data) || z.org_url;
|
|
88061
88061
|
Z && R.push(Z);
|
|
88062
88062
|
}), e.multiple ? (t("update:modelValue", R), t("onChange", R)) : (t("update:modelValue", R[0] || ""), t("onChange", R[0] || ""));
|
|
88063
88063
|
}, b = (_) => {
|
|
@@ -88781,11 +88781,11 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88781
88781
|
function we(Te) {
|
|
88782
88782
|
const F = Te.target;
|
|
88783
88783
|
if (!F) return;
|
|
88784
|
-
const
|
|
88785
|
-
if (
|
|
88784
|
+
const se = Te.target.dom7EventData || [];
|
|
88785
|
+
if (se.indexOf(Te) < 0 && se.unshift(Te), T(F).is(W)) Q.apply(F, se);
|
|
88786
88786
|
else {
|
|
88787
88787
|
const ve = T(F).parents();
|
|
88788
|
-
for (let G = 0; G < ve.length; G += 1) T(ve[G]).is(W) && Q.apply(ve[G],
|
|
88788
|
+
for (let G = 0; G < ve.length; G += 1) T(ve[G]).is(W) && Q.apply(ve[G], se);
|
|
88789
88789
|
}
|
|
88790
88790
|
}
|
|
88791
88791
|
function Ee(Te) {
|
|
@@ -88798,12 +88798,12 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88798
88798
|
for (let Te = 0; Te < this.length; Te += 1) {
|
|
88799
88799
|
const F = this[Te];
|
|
88800
88800
|
if (W) for (_e = 0; _e < ee.length; _e += 1) {
|
|
88801
|
-
const
|
|
88802
|
-
F.dom7LiveListeners || (F.dom7LiveListeners = {}), F.dom7LiveListeners[
|
|
88801
|
+
const se = ee[_e];
|
|
88802
|
+
F.dom7LiveListeners || (F.dom7LiveListeners = {}), F.dom7LiveListeners[se] || (F.dom7LiveListeners[se] = []), F.dom7LiveListeners[se].push({ listener: Q, proxyListener: we }), F.addEventListener(se, we, ie);
|
|
88803
88803
|
}
|
|
88804
88804
|
else for (_e = 0; _e < ee.length; _e += 1) {
|
|
88805
|
-
const
|
|
88806
|
-
F.dom7Listeners || (F.dom7Listeners = {}), F.dom7Listeners[
|
|
88805
|
+
const se = ee[_e];
|
|
88806
|
+
F.dom7Listeners || (F.dom7Listeners = {}), F.dom7Listeners[se] || (F.dom7Listeners[se] = []), F.dom7Listeners[se].push({ listener: Q, proxyListener: Ee }), F.addEventListener(se, Ee, ie);
|
|
88807
88807
|
}
|
|
88808
88808
|
}
|
|
88809
88809
|
return this;
|
|
@@ -88862,8 +88862,8 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88862
88862
|
}
|
|
88863
88863
|
function _e(Te) {
|
|
88864
88864
|
var F;
|
|
88865
|
-
Te.done ? ie(Te.value) : (F = Te.value, F instanceof W ? F : new W(function(
|
|
88866
|
-
|
|
88865
|
+
Te.done ? ie(Te.value) : (F = Te.value, F instanceof W ? F : new W(function(se) {
|
|
88866
|
+
se(F);
|
|
88867
88867
|
})).then(Ee, ee);
|
|
88868
88868
|
}
|
|
88869
88869
|
_e((Q = Q.apply(L, [])).next());
|
|
@@ -88916,8 +88916,8 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88916
88916
|
continue;
|
|
88917
88917
|
}
|
|
88918
88918
|
F = V.call(L, Ee);
|
|
88919
|
-
} catch (
|
|
88920
|
-
F = [6,
|
|
88919
|
+
} catch (se) {
|
|
88920
|
+
F = [6, se], Q = 0;
|
|
88921
88921
|
} finally {
|
|
88922
88922
|
W = ie = 0;
|
|
88923
88923
|
}
|
|
@@ -88946,11 +88946,11 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88946
88946
|
switch (Ee.label) {
|
|
88947
88947
|
case 0:
|
|
88948
88948
|
return W = function(ee) {
|
|
88949
|
-
var _e =
|
|
88949
|
+
var _e = le.get(ee);
|
|
88950
88950
|
if (_e != null) return _e;
|
|
88951
|
-
var Te = z(ee), F = Te.onSuccess,
|
|
88951
|
+
var Te = z(ee), F = Te.onSuccess, se = Te.onProgress, ve = Te.onFailed, G = Te.customInsert, J = Te.onError;
|
|
88952
88952
|
return _e = (0, o.createUploader)(_(_({}, Te), { onProgress: function(fe) {
|
|
88953
|
-
ee.showProgressBar(fe),
|
|
88953
|
+
ee.showProgressBar(fe), se && se(fe);
|
|
88954
88954
|
}, onSuccess: function(fe, ae) {
|
|
88955
88955
|
if (G) G(ae, fe, function(yt, dt) {
|
|
88956
88956
|
return Z(ee, yt, dt);
|
|
@@ -88964,7 +88964,7 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88964
88964
|
}, onError: function(fe, ae, ge) {
|
|
88965
88965
|
var de = fe.name;
|
|
88966
88966
|
J && J(fe, ae, ge);
|
|
88967
|
-
} })),
|
|
88967
|
+
} })), le.set(ee, _e), _e;
|
|
88968
88968
|
}(L), Q = V.name, ie = V.type, we = V.size, W.addFile({ name: Q, type: ie, size: we, data: V }), [4, W.upload()];
|
|
88969
88969
|
case 1:
|
|
88970
88970
|
return Ee.sent(), [2];
|
|
@@ -88972,7 +88972,7 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88972
88972
|
});
|
|
88973
88973
|
});
|
|
88974
88974
|
}
|
|
88975
|
-
var
|
|
88975
|
+
var le = /* @__PURE__ */ new WeakMap();
|
|
88976
88976
|
const M = function() {
|
|
88977
88977
|
function L() {
|
|
88978
88978
|
this.title = (0, o.t)("attachment.upload"), this.iconSvg = '<svg viewBox="0 0 1024 1024"><path d="M665.821116 327.053068l-64.958782-64.926783-324.79391 324.729911c-53.822991 53.790991-53.822991 141.053355 0 194.844347s141.053355 53.790991 194.876346 0l389.752692-389.688693a229.531696 229.531696 0 0 0 0-324.729912 229.627694 229.627694 0 0 0-324.761911 0L126.727224 476.458266l-0.863984 0.831985c-125.085655 125.085655-125.085655 327.833853 0 452.887508 125.053655 125.053655 327.865853 125.053655 452.983507 0l0.831984-0.863984 0.031999 0.032 279.322763-279.290764-64.990781-64.926782-279.322763 279.258764-0.831984 0.831984a228.731711 228.731711 0 0 1-323.065943 0 228.603714 228.603714 0 0 1 0-322.969944l0.895983-0.831985-0.031999-0.063998L600.958332 132.208721c53.694993-53.726993 141.149353-53.726993 194.876346 0s53.694993 141.149353 0 194.844347L406.081986 716.741761c-17.919664 17.919664-47.039118 17.919664-64.958782 0a45.983138 45.983138 0 0 1 0-64.926783L665.917114 327.053068z"></path></svg>', this.tag = "button";
|
|
@@ -88983,8 +88983,8 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88983
88983
|
return !1;
|
|
88984
88984
|
}, L.prototype.exec = function(V, W) {
|
|
88985
88985
|
var Q = this.getMenuConfig(V), ie = Q.allowedFileTypes, we = ie === void 0 ? [] : ie, Ee = Q.customBrowseAndUpload;
|
|
88986
|
-
if (Ee) Ee(function(F,
|
|
88987
|
-
return Z(V, F,
|
|
88986
|
+
if (Ee) Ee(function(F, se) {
|
|
88987
|
+
return Z(V, F, se);
|
|
88988
88988
|
});
|
|
88989
88989
|
else {
|
|
88990
88990
|
var ee = "";
|
|
@@ -88992,7 +88992,7 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
88992
88992
|
var _e = B("body"), Te = B('<input type="file" '.concat(ee, " multiple/>"));
|
|
88993
88993
|
Te.hide(), _e.append(Te), Te.click(), Te.on("change", function() {
|
|
88994
88994
|
var F = Te[0].files;
|
|
88995
|
-
(function(
|
|
88995
|
+
(function(se, ve) {
|
|
88996
88996
|
var G, J;
|
|
88997
88997
|
j(this, void 0, void 0, function() {
|
|
88998
88998
|
var fe, ae, ge, de, Me, ye;
|
|
@@ -89000,7 +89000,7 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
89000
89000
|
switch (Ce.label) {
|
|
89001
89001
|
case 0:
|
|
89002
89002
|
if (ve == null) return [2];
|
|
89003
|
-
fe = Array.prototype.slice.call(ve), ae = z(
|
|
89003
|
+
fe = Array.prototype.slice.call(ve), ae = z(se).customUpload, Ce.label = 1;
|
|
89004
89004
|
case 1:
|
|
89005
89005
|
Ce.trys.push([1, 9, 10, 15]), ge = function(Ye) {
|
|
89006
89006
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
@@ -89024,12 +89024,12 @@ const pDe = /* @__PURE__ */ USe(dSe);
|
|
|
89024
89024
|
return [4, ge.next()];
|
|
89025
89025
|
case 3:
|
|
89026
89026
|
return (de = Ce.sent()).done ? [3, 8] : (Me = de.value, ae ? [4, ae(Me, function(Ye, yt) {
|
|
89027
|
-
return Z(
|
|
89027
|
+
return Z(se, Ye, yt);
|
|
89028
89028
|
})] : [3, 5]);
|
|
89029
89029
|
case 4:
|
|
89030
89030
|
return Ce.sent(), [3, 7];
|
|
89031
89031
|
case 5:
|
|
89032
|
-
return [4, re(
|
|
89032
|
+
return [4, re(se, Me)];
|
|
89033
89033
|
case 6:
|
|
89034
89034
|
Ce.sent(), Ce.label = 7;
|
|
89035
89035
|
case 7:
|