@ranty/ranty-sdk 3.0.1 → 3.0.2
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.
|
@@ -916,7 +916,7 @@ function ie(t) {
|
|
|
916
916
|
*/
|
|
917
917
|
var T0;
|
|
918
918
|
((T0 = window.HTMLSlotElement) === null || T0 === void 0 ? void 0 : T0.prototype.assignedElements) != null;
|
|
919
|
-
const rj = "@ranty/ranty-sdk", sj = "3.0.
|
|
919
|
+
const rj = "@ranty/ranty-sdk", sj = "3.0.2", nj = "Ranty sdk", ij = "dist/index.js", oj = {
|
|
920
920
|
".": "./dist/index.js"
|
|
921
921
|
}, aj = "types/index.d.ts", lj = [
|
|
922
922
|
"dist",
|
|
@@ -1531,8 +1531,8 @@ function Pm(t, e, r) {
|
|
|
1531
1531
|
metaTokens: !0,
|
|
1532
1532
|
dots: !1,
|
|
1533
1533
|
indexes: !1
|
|
1534
|
-
}, !1, function(y,
|
|
1535
|
-
return !Se.isUndefined(
|
|
1534
|
+
}, !1, function(y, x) {
|
|
1535
|
+
return !Se.isUndefined(x[y]);
|
|
1536
1536
|
});
|
|
1537
1537
|
const s = r.metaTokens, n = r.visitor || c, i = r.dots, o = r.indexes, d = (r.Blob || typeof Blob != "undefined" && Blob) && Se.isSpecCompliantForm(e);
|
|
1538
1538
|
if (!Se.isFunction(n))
|
|
@@ -1546,9 +1546,9 @@ function Pm(t, e, r) {
|
|
|
1546
1546
|
throw new Et("Blob is not supported. Use a Buffer instead.");
|
|
1547
1547
|
return Se.isArrayBuffer(f) || Se.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
1548
1548
|
}
|
|
1549
|
-
function c(f, y,
|
|
1549
|
+
function c(f, y, x) {
|
|
1550
1550
|
let b = f;
|
|
1551
|
-
if (f && !
|
|
1551
|
+
if (f && !x && typeof f == "object") {
|
|
1552
1552
|
if (Se.endsWith(y, "{}"))
|
|
1553
1553
|
y = s ? y : y.slice(0, -2), f = JSON.stringify(f);
|
|
1554
1554
|
else if (Se.isArray(f) && AS(f) || (Se.isFileList(f) || Se.endsWith(y, "[]")) && (b = Se.toArray(f)))
|
|
@@ -1560,7 +1560,7 @@ function Pm(t, e, r) {
|
|
|
1560
1560
|
);
|
|
1561
1561
|
}), !1;
|
|
1562
1562
|
}
|
|
1563
|
-
return lv(f) ? !0 : (e.append(m5(
|
|
1563
|
+
return lv(f) ? !0 : (e.append(m5(x, y, i), l(f)), !1);
|
|
1564
1564
|
}
|
|
1565
1565
|
const A = [], h = Object.assign(pS, {
|
|
1566
1566
|
defaultVisitor: c,
|
|
@@ -2237,53 +2237,53 @@ const Sk = (t) => {
|
|
|
2237
2237
|
function y() {
|
|
2238
2238
|
p && p(), f && f(), n.cancelToken && n.cancelToken.unsubscribe(c), n.signal && n.signal.removeEventListener("abort", c);
|
|
2239
2239
|
}
|
|
2240
|
-
let
|
|
2241
|
-
|
|
2240
|
+
let x = new XMLHttpRequest();
|
|
2241
|
+
x.open(n.method.toUpperCase(), n.url, !0), x.timeout = n.timeout;
|
|
2242
2242
|
function b() {
|
|
2243
|
-
if (!
|
|
2243
|
+
if (!x)
|
|
2244
2244
|
return;
|
|
2245
2245
|
const I = Ci.from(
|
|
2246
|
-
"getAllResponseHeaders" in
|
|
2246
|
+
"getAllResponseHeaders" in x && x.getAllResponseHeaders()
|
|
2247
2247
|
), K = {
|
|
2248
|
-
data: !a || a === "text" || a === "json" ?
|
|
2249
|
-
status:
|
|
2250
|
-
statusText:
|
|
2248
|
+
data: !a || a === "text" || a === "json" ? x.responseText : x.response,
|
|
2249
|
+
status: x.status,
|
|
2250
|
+
statusText: x.statusText,
|
|
2251
2251
|
headers: I,
|
|
2252
2252
|
config: t,
|
|
2253
|
-
request:
|
|
2253
|
+
request: x
|
|
2254
2254
|
};
|
|
2255
2255
|
Ek(function(q) {
|
|
2256
2256
|
r(q), y();
|
|
2257
2257
|
}, function(q) {
|
|
2258
2258
|
s(q), y();
|
|
2259
|
-
}, K),
|
|
2260
|
-
}
|
|
2261
|
-
"onloadend" in
|
|
2262
|
-
!
|
|
2263
|
-
},
|
|
2264
|
-
|
|
2265
|
-
},
|
|
2266
|
-
s(new Et("Network Error", Et.ERR_NETWORK, t,
|
|
2267
|
-
},
|
|
2259
|
+
}, K), x = null;
|
|
2260
|
+
}
|
|
2261
|
+
"onloadend" in x ? x.onloadend = b : x.onreadystatechange = function() {
|
|
2262
|
+
!x || x.readyState !== 4 || x.status === 0 && !(x.responseURL && x.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
2263
|
+
}, x.onabort = function() {
|
|
2264
|
+
x && (s(new Et("Request aborted", Et.ECONNABORTED, t, x)), x = null);
|
|
2265
|
+
}, x.onerror = function() {
|
|
2266
|
+
s(new Et("Network Error", Et.ERR_NETWORK, t, x)), x = null;
|
|
2267
|
+
}, x.ontimeout = function() {
|
|
2268
2268
|
let O = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
|
|
2269
2269
|
const K = n.transitional || kk;
|
|
2270
2270
|
n.timeoutErrorMessage && (O = n.timeoutErrorMessage), s(new Et(
|
|
2271
2271
|
O,
|
|
2272
2272
|
K.clarifyTimeoutError ? Et.ETIMEDOUT : Et.ECONNABORTED,
|
|
2273
2273
|
t,
|
|
2274
|
-
|
|
2275
|
-
)),
|
|
2276
|
-
}, i === void 0 && o.setContentType(null), "setRequestHeader" in
|
|
2277
|
-
|
|
2278
|
-
}), Se.isUndefined(n.withCredentials) || (
|
|
2279
|
-
|
|
2274
|
+
x
|
|
2275
|
+
)), x = null;
|
|
2276
|
+
}, i === void 0 && o.setContentType(null), "setRequestHeader" in x && Se.forEach(o.toJSON(), function(O, K) {
|
|
2277
|
+
x.setRequestHeader(K, O);
|
|
2278
|
+
}), Se.isUndefined(n.withCredentials) || (x.withCredentials = !!n.withCredentials), a && a !== "json" && (x.responseType = n.responseType), l && ([h, f] = U1(l, !0), x.addEventListener("progress", h)), d && x.upload && ([A, p] = U1(d), x.upload.addEventListener("progress", A), x.upload.addEventListener("loadend", p)), (n.cancelToken || n.signal) && (c = (I) => {
|
|
2279
|
+
x && (s(!I || I.type ? new Ru(null, t, x) : I), x.abort(), x = null);
|
|
2280
2280
|
}, n.cancelToken && n.cancelToken.subscribe(c), n.signal && (n.signal.aborted ? c() : n.signal.addEventListener("abort", c)));
|
|
2281
2281
|
const C = TS(n.url);
|
|
2282
2282
|
if (C && Ms.protocols.indexOf(C) === -1) {
|
|
2283
2283
|
s(new Et("Unsupported protocol " + C + ":", Et.ERR_BAD_REQUEST, t));
|
|
2284
2284
|
return;
|
|
2285
2285
|
}
|
|
2286
|
-
|
|
2286
|
+
x.send(i || null);
|
|
2287
2287
|
});
|
|
2288
2288
|
}, qS = (t, e) => {
|
|
2289
2289
|
const { length: r } = t = t ? t.filter(Boolean) : [];
|
|
@@ -2449,9 +2449,9 @@ const JS = (t) => ue(void 0, null, function* () {
|
|
|
2449
2449
|
const y = p && p.unsubscribe && (() => {
|
|
2450
2450
|
p.unsubscribe();
|
|
2451
2451
|
});
|
|
2452
|
-
let
|
|
2452
|
+
let x;
|
|
2453
2453
|
try {
|
|
2454
|
-
if (d && WS && r !== "get" && r !== "head" && (
|
|
2454
|
+
if (d && WS && r !== "get" && r !== "head" && (x = yield XS(c, s)) !== 0) {
|
|
2455
2455
|
let K = new Request(e, {
|
|
2456
2456
|
method: "POST",
|
|
2457
2457
|
body: s,
|
|
@@ -2459,7 +2459,7 @@ const JS = (t) => ue(void 0, null, function* () {
|
|
|
2459
2459
|
}), H;
|
|
2460
2460
|
if (Se.isFormData(s) && (H = K.headers.get("content-type")) && c.setContentType(H), K.body) {
|
|
2461
2461
|
const [q, L] = b5(
|
|
2462
|
-
|
|
2462
|
+
x,
|
|
2463
2463
|
U1(w5(d))
|
|
2464
2464
|
);
|
|
2465
2465
|
s = k5(K.body, B5, q, L);
|
|
@@ -2711,8 +2711,8 @@ class T1 {
|
|
|
2711
2711
|
const f = a[A++], y = a[A++];
|
|
2712
2712
|
try {
|
|
2713
2713
|
p = f(p);
|
|
2714
|
-
} catch (
|
|
2715
|
-
y.call(this,
|
|
2714
|
+
} catch (x) {
|
|
2715
|
+
y.call(this, x);
|
|
2716
2716
|
break;
|
|
2717
2717
|
}
|
|
2718
2718
|
}
|
|
@@ -4273,7 +4273,7 @@ var N0 = (
|
|
|
4273
4273
|
for (o.sqrTo(a[1], A); d <= c; )
|
|
4274
4274
|
a[d] = Tt(), o.mulTo(A, a[d - 2], a[d]), d += 2;
|
|
4275
4275
|
}
|
|
4276
|
-
var h = e.t - 1, p, f = !0, y = Tt(),
|
|
4276
|
+
var h = e.t - 1, p, f = !0, y = Tt(), x;
|
|
4277
4277
|
for (s = ih(e[h]) - 1; h >= 0; ) {
|
|
4278
4278
|
for (s >= l ? p = e[h] >> s - l & c : (p = (e[h] & (1 << s + 1) - 1) << l - s, h > 0 && (p |= e[h - 1] >> this.DB + s - l)), d = n; !(p & 1); )
|
|
4279
4279
|
p >>= 1, --d;
|
|
@@ -4282,10 +4282,10 @@ var N0 = (
|
|
|
4282
4282
|
else {
|
|
4283
4283
|
for (; d > 1; )
|
|
4284
4284
|
o.sqrTo(i, y), o.sqrTo(y, i), d -= 2;
|
|
4285
|
-
d > 0 ? o.sqrTo(i, y) : (
|
|
4285
|
+
d > 0 ? o.sqrTo(i, y) : (x = i, i = y, y = x), o.mulTo(y, a[p], i);
|
|
4286
4286
|
}
|
|
4287
4287
|
for (; h >= 0 && !(e[h] & 1 << s); )
|
|
4288
|
-
o.sqrTo(i, y),
|
|
4288
|
+
o.sqrTo(i, y), x = i, i = y, y = x, --s < 0 && (s = this.DB - 1, --h);
|
|
4289
4289
|
}
|
|
4290
4290
|
return o.revert(i);
|
|
4291
4291
|
}, t.prototype.modInverse = function(e) {
|
|
@@ -4447,13 +4447,13 @@ var N0 = (
|
|
|
4447
4447
|
l > 0 ? (n.lShiftTo(l, o), i.lShiftTo(l, s)) : (n.copyTo(o), i.copyTo(s));
|
|
4448
4448
|
var c = o.t, A = o[c - 1];
|
|
4449
4449
|
if (A != 0) {
|
|
4450
|
-
var h = A * (1 << this.F1) + (c > 1 ? o[c - 2] >> this.F2 : 0), p = this.FV / h, f = (1 << this.F1) / h, y = 1 << this.F2,
|
|
4450
|
+
var h = A * (1 << this.F1) + (c > 1 ? o[c - 2] >> this.F2 : 0), p = this.FV / h, f = (1 << this.F1) / h, y = 1 << this.F2, x = s.t, b = x - c, C = r == null ? Tt() : r;
|
|
4451
4451
|
for (o.dlShiftTo(b, C), s.compareTo(C) >= 0 && (s[s.t++] = 1, s.subTo(C, s)), t.ONE.dlShiftTo(c, C), C.subTo(o, o); o.t < c; )
|
|
4452
4452
|
o[o.t++] = 0;
|
|
4453
4453
|
for (; --b >= 0; ) {
|
|
4454
|
-
var I = s[--
|
|
4455
|
-
if ((s[
|
|
4456
|
-
for (o.dlShiftTo(b, C), s.subTo(C, s); s[
|
|
4454
|
+
var I = s[--x] == A ? this.DM : Math.floor(s[x] * p + (s[x - 1] + y) * f);
|
|
4455
|
+
if ((s[x] += o.am(0, I, s, b, 0, c)) < I)
|
|
4456
|
+
for (o.dlShiftTo(b, C), s.subTo(C, s); s[x] < --I; )
|
|
4457
4457
|
s.subTo(C, s);
|
|
4458
4458
|
}
|
|
4459
4459
|
r != null && (s.drShiftTo(c, r), a != d && t.ZERO.subTo(r, r)), s.t = c, s.clamp(), l > 0 && s.rShiftTo(l, s), a < 0 && t.ZERO.subTo(s, s);
|
|
@@ -5081,7 +5081,7 @@ De.asn1.ASN1Util = new function() {
|
|
|
5081
5081
|
}, this.getPEMStringFromHex = function(t, e) {
|
|
5082
5082
|
return hextopem(t, e);
|
|
5083
5083
|
}, this.newObject = function(t) {
|
|
5084
|
-
var e = De, r = e.asn1, s = r.DERBoolean, n = r.DERInteger, i = r.DERBitString, o = r.DEROctetString, a = r.DERNull, d = r.DERObjectIdentifier, l = r.DEREnumerated, c = r.DERUTF8String, A = r.DERNumericString, h = r.DERPrintableString, p = r.DERTeletexString, f = r.DERIA5String, y = r.DERUTCTime,
|
|
5084
|
+
var e = De, r = e.asn1, s = r.DERBoolean, n = r.DERInteger, i = r.DERBitString, o = r.DEROctetString, a = r.DERNull, d = r.DERObjectIdentifier, l = r.DEREnumerated, c = r.DERUTF8String, A = r.DERNumericString, h = r.DERPrintableString, p = r.DERTeletexString, f = r.DERIA5String, y = r.DERUTCTime, x = r.DERGeneralizedTime, b = r.DERSequence, C = r.DERSet, I = r.DERTaggedObject, O = r.ASN1Util.newObject, K = Object.keys(t);
|
|
5085
5085
|
if (K.length != 1)
|
|
5086
5086
|
throw "key of param shall be only one.";
|
|
5087
5087
|
var H = K[0];
|
|
@@ -5114,7 +5114,7 @@ De.asn1.ASN1Util = new function() {
|
|
|
5114
5114
|
if (H == "utctime")
|
|
5115
5115
|
return new y(t[H]);
|
|
5116
5116
|
if (H == "gentime")
|
|
5117
|
-
return new
|
|
5117
|
+
return new x(t[H]);
|
|
5118
5118
|
if (H == "seq") {
|
|
5119
5119
|
for (var q = t[H], L = [], X = 0; X < q.length; X++) {
|
|
5120
5120
|
var de = O(q[X]);
|
|
@@ -5489,7 +5489,7 @@ var G_ = globalThis && globalThis.__extends || function() {
|
|
|
5489
5489
|
else
|
|
5490
5490
|
return !1;
|
|
5491
5491
|
return !0;
|
|
5492
|
-
} catch (
|
|
5492
|
+
} catch (x) {
|
|
5493
5493
|
return !1;
|
|
5494
5494
|
}
|
|
5495
5495
|
}, e.prototype.getPrivateBaseKey = function() {
|
|
@@ -5693,7 +5693,7 @@ const ab = (t) => ue(void 0, null, function* () {
|
|
|
5693
5693
|
];
|
|
5694
5694
|
}, lb = (t, e, r, s = !1, n = "manual_input") => ue(void 0, null, function* () {
|
|
5695
5695
|
var H, q, L, X;
|
|
5696
|
-
const i = Ut.getConfig(), { id: o, additional_info: a, external_payment_id: d, flag: l } = t, { creditNumber: c, codSeg: A, expired: h, dni: p, passport: f, dateOfBirth: y, email:
|
|
5696
|
+
const i = Ut.getConfig(), { id: o, additional_info: a, external_payment_id: d, flag: l } = t, { creditNumber: c, codSeg: A, expired: h, dni: p, passport: f, dateOfBirth: y, email: x, name: b } = e, C = yield Z_(
|
|
5697
5697
|
i.VITE_ENCRYPT_DIRECT_PUBLIC_KEY,
|
|
5698
5698
|
`${c.replaceAll(" ", "")}:${A}:${h}`
|
|
5699
5699
|
), I = p ? "DNI" : "PASAPORTE", O = p || f, K = (q = (H = Sl.settings.customerProperties) == null ? void 0 : H.validate_card) != null ? q : !1;
|
|
@@ -5716,7 +5716,7 @@ const ab = (t) => ue(void 0, null, function* () {
|
|
|
5716
5716
|
save_card: !1,
|
|
5717
5717
|
holder: {
|
|
5718
5718
|
name: b,
|
|
5719
|
-
email:
|
|
5719
|
+
email: x,
|
|
5720
5720
|
doc_type: I,
|
|
5721
5721
|
doc_number: O
|
|
5722
5722
|
},
|
|
@@ -6838,7 +6838,7 @@ function bI(t) {
|
|
|
6838
6838
|
}
|
|
6839
6839
|
function wI(t, e, r) {
|
|
6840
6840
|
var s = new hs(), n = new hs(), i = new hs(), o = t.type === _p.COOKIE ? dI(t.cookieOptions) : hI(), a = o.expireSession, d = fb(f, e3), l;
|
|
6841
|
-
|
|
6841
|
+
x();
|
|
6842
6842
|
var c = d4(function() {
|
|
6843
6843
|
gd({
|
|
6844
6844
|
process: function(q) {
|
|
@@ -6870,7 +6870,7 @@ function wI(t, e, r) {
|
|
|
6870
6870
|
function y(q) {
|
|
6871
6871
|
return q1(q) && (q = pd(q)), C() && (I(q) ? O() : (i.notify({ previousState: l, newState: q }), l = q)), q;
|
|
6872
6872
|
}
|
|
6873
|
-
function
|
|
6873
|
+
function x() {
|
|
6874
6874
|
gd({
|
|
6875
6875
|
process: function(q) {
|
|
6876
6876
|
if (g1(q))
|
|
@@ -6916,7 +6916,7 @@ function wI(t, e, r) {
|
|
|
6916
6916
|
renewObservable: s,
|
|
6917
6917
|
expireObservable: n,
|
|
6918
6918
|
sessionStateUpdateObservable: i,
|
|
6919
|
-
restartSession:
|
|
6919
|
+
restartSession: x,
|
|
6920
6920
|
expire: function() {
|
|
6921
6921
|
h(), a(l), y(pd(l));
|
|
6922
6922
|
},
|
|
@@ -7830,10 +7830,10 @@ function RF(t) {
|
|
|
7830
7830
|
function a(h, p) {
|
|
7831
7831
|
h === void 0 && (h = hh), p === void 0 && (p = { returnInactive: !1 });
|
|
7832
7832
|
for (var f = 0, y = s; f < y.length; f++) {
|
|
7833
|
-
var
|
|
7834
|
-
if (
|
|
7835
|
-
if (p.returnInactive || h <=
|
|
7836
|
-
return
|
|
7833
|
+
var x = y[f];
|
|
7834
|
+
if (x.startTime <= h) {
|
|
7835
|
+
if (p.returnInactive || h <= x.endTime)
|
|
7836
|
+
return x.value;
|
|
7837
7837
|
break;
|
|
7838
7838
|
}
|
|
7839
7839
|
}
|
|
@@ -8183,9 +8183,9 @@ function iU(t) {
|
|
|
8183
8183
|
// and the other for non-encoded data). But if it's not async, we don't have to worry about
|
|
8184
8184
|
// it and always send a single request.
|
|
8185
8185
|
e.isAsync) {
|
|
8186
|
-
var
|
|
8187
|
-
|
|
8188
|
-
var b = [
|
|
8186
|
+
var x = e.finishSync();
|
|
8187
|
+
x.outputBytesCount && y(s3(x));
|
|
8188
|
+
var b = [x.pendingData, p].filter(Boolean).join(`
|
|
8189
8189
|
`);
|
|
8190
8190
|
b && y({
|
|
8191
8191
|
data: b,
|
|
@@ -8232,10 +8232,10 @@ function oU(t) {
|
|
|
8232
8232
|
}), l = 0, c = 0;
|
|
8233
8233
|
function A(y) {
|
|
8234
8234
|
if (c !== 0) {
|
|
8235
|
-
var
|
|
8235
|
+
var x = c, b = l;
|
|
8236
8236
|
c = 0, l = 0, f(), d.notify({
|
|
8237
8237
|
reason: y,
|
|
8238
|
-
messagesCount:
|
|
8238
|
+
messagesCount: x,
|
|
8239
8239
|
bytesCount: b
|
|
8240
8240
|
});
|
|
8241
8241
|
}
|
|
@@ -9049,8 +9049,8 @@ function JU(t, e, r, s, n) {
|
|
|
9049
9049
|
i.forEach(function(a) {
|
|
9050
9050
|
o[a] = lU(a, e.eventRateLimiterThreshold, n);
|
|
9051
9051
|
}), r.subscribe(0, function(a) {
|
|
9052
|
-
var d, l, c = a.rawLogsEvent, A = a.messageContext, h = A === void 0 ? void 0 : A, p = a.savedCommonContext, f = p === void 0 ? void 0 : p, y = a.domainContext,
|
|
9053
|
-
if (!(!b && (!e.sendLogsAfterSessionExpiration || !t.findTrackedSession(
|
|
9052
|
+
var d, l, c = a.rawLogsEvent, A = a.messageContext, h = A === void 0 ? void 0 : A, p = a.savedCommonContext, f = p === void 0 ? void 0 : p, y = a.domainContext, x = I7(c.date), b = t.findTrackedSession(x);
|
|
9053
|
+
if (!(!b && (!e.sendLogsAfterSessionExpiration || !t.findTrackedSession(x, { returnInactive: !0 })))) {
|
|
9054
9054
|
var C = f || s(), I = Bu({
|
|
9055
9055
|
service: e.service,
|
|
9056
9056
|
session_id: b ? b.id : void 0,
|
|
@@ -9058,7 +9058,7 @@ function JU(t, e, r, s, n) {
|
|
|
9058
9058
|
// Insert user first to allow overrides from global context
|
|
9059
9059
|
usr: mb(C.user) ? void 0 : C.user,
|
|
9060
9060
|
view: C.view
|
|
9061
|
-
}, C.context, f1(
|
|
9061
|
+
}, C.context, f1(x), c, h);
|
|
9062
9062
|
((d = e.beforeSend) === null || d === void 0 ? void 0 : d.call(e, I, y)) === !1 || I.origin !== zn.AGENT && ((l = o[I.status]) !== null && l !== void 0 ? l : o.custom).isLimitReached() || r.notify(1, I);
|
|
9063
9063
|
}
|
|
9064
9064
|
});
|
|
@@ -9277,7 +9277,7 @@ function hP(t) {
|
|
|
9277
9277
|
function mP(t, e, r, s, n) {
|
|
9278
9278
|
var i = SF("browser-logs-sdk", e);
|
|
9279
9279
|
i.setContextProvider(function() {
|
|
9280
|
-
var A, h, p, f, y,
|
|
9280
|
+
var A, h, p, f, y, x;
|
|
9281
9281
|
return {
|
|
9282
9282
|
application: {
|
|
9283
9283
|
id: (A = f1()) === null || A === void 0 ? void 0 : A.application_id
|
|
@@ -9289,7 +9289,7 @@ function mP(t, e, r, s, n) {
|
|
|
9289
9289
|
id: (f = (p = f1()) === null || p === void 0 ? void 0 : p.view) === null || f === void 0 ? void 0 : f.id
|
|
9290
9290
|
},
|
|
9291
9291
|
action: {
|
|
9292
|
-
id: (
|
|
9292
|
+
id: (x = (y = f1()) === null || y === void 0 ? void 0 : y.user_action) === null || x === void 0 ? void 0 : x.id
|
|
9293
9293
|
}
|
|
9294
9294
|
};
|
|
9295
9295
|
});
|
|
@@ -9359,10 +9359,10 @@ function fP(t, e, r, s) {
|
|
|
9359
9359
|
}
|
|
9360
9360
|
var dp = qU(fP);
|
|
9361
9361
|
mF(Fl(), "DD_LOGS", dp);
|
|
9362
|
-
const yP = "@ranty/ranty-sdk", vP = "3.0.
|
|
9362
|
+
const yP = "@ranty/ranty-sdk", vP = "3.0.2", bP = 2, wP = !0, xP = {
|
|
9363
9363
|
"": {
|
|
9364
9364
|
name: "@ranty/ranty-sdk",
|
|
9365
|
-
version: "3.0.
|
|
9365
|
+
version: "3.0.2",
|
|
9366
9366
|
license: "ISC",
|
|
9367
9367
|
dependencies: {
|
|
9368
9368
|
"@datadog/browser-logs": "^5.35.1",
|
|
@@ -46407,15 +46407,15 @@ const Hm = (t) => ue(void 0, null, function* () {
|
|
|
46407
46407
|
});
|
|
46408
46408
|
class Bs {
|
|
46409
46409
|
static validateCardCircuitBreaker(e) {
|
|
46410
|
-
var o, a, d, l, c, A, h, p, f, y,
|
|
46410
|
+
var o, a, d, l, c, A, h, p, f, y, x, b;
|
|
46411
46411
|
this.paymentInputsEnabled(e);
|
|
46412
|
-
const r = (d = (a = (o = e.payment_settings) == null ? void 0 : o.payment_types.ecommerce) == null ? void 0 : a.payment_inputs.card_not_present) == null ? void 0 : d.payment_methods.card_payment.payment_gateways, s = (A = (c = (l = e.payment_settings) == null ? void 0 : l.payment_types.ecommerce) == null ? void 0 : c.payment_inputs.manual_input) == null ? void 0 : A.payment_methods.card_payment.payment_gateways, n = (f = (p = (h = e.payment_settings) == null ? void 0 : h.payment_types.payment_link) == null ? void 0 : p.payment_inputs.card_not_present) == null ? void 0 : f.payment_methods.card_payment.payment_gateways, i = (b = (
|
|
46412
|
+
const r = (d = (a = (o = e.payment_settings) == null ? void 0 : o.payment_types.ecommerce) == null ? void 0 : a.payment_inputs.card_not_present) == null ? void 0 : d.payment_methods.card_payment.payment_gateways, s = (A = (c = (l = e.payment_settings) == null ? void 0 : l.payment_types.ecommerce) == null ? void 0 : c.payment_inputs.manual_input) == null ? void 0 : A.payment_methods.card_payment.payment_gateways, n = (f = (p = (h = e.payment_settings) == null ? void 0 : h.payment_types.payment_link) == null ? void 0 : p.payment_inputs.card_not_present) == null ? void 0 : f.payment_methods.card_payment.payment_gateways, i = (b = (x = (y = e.payment_settings) == null ? void 0 : y.payment_types.payment_link) == null ? void 0 : x.payment_inputs.manual_input) == null ? void 0 : b.payment_methods.card_payment.payment_gateways;
|
|
46413
46413
|
this.sonqoCardPaymentIsActive = this.allowStatusSonqo.includes(r == null ? void 0 : r.sonqo.status) || this.allowStatusSonqo.includes(s == null ? void 0 : s.sonqo.status) || this.allowStatusSonqo.includes(n == null ? void 0 : n.sonqo.status) || this.allowStatusSonqo.includes(i == null ? void 0 : i.sonqo.status);
|
|
46414
46414
|
}
|
|
46415
46415
|
static validateQRCircuitBreaker(e) {
|
|
46416
|
-
var o, a, d, l, c, A, h, p, f, y,
|
|
46416
|
+
var o, a, d, l, c, A, h, p, f, y, x, b, C, I;
|
|
46417
46417
|
this.paymentInputsEnabled(e);
|
|
46418
|
-
const r = (d = (a = (o = e.payment_settings) == null ? void 0 : o.payment_types.ecommerce) == null ? void 0 : a.payment_inputs.wallet) == null ? void 0 : d.payment_methods, s = (A = (c = (l = e.payment_settings) == null ? void 0 : l.payment_types.payment_link) == null ? void 0 : c.payment_inputs.wallet) == null ? void 0 : A.payment_methods, n = (f = (p = (h = e.payment_settings) == null ? void 0 : h.payment_types.payment_link) == null ? void 0 : p.payment_inputs.dynamic_qr) == null ? void 0 : f.payment_methods, i = (b = (
|
|
46418
|
+
const r = (d = (a = (o = e.payment_settings) == null ? void 0 : o.payment_types.ecommerce) == null ? void 0 : a.payment_inputs.wallet) == null ? void 0 : d.payment_methods, s = (A = (c = (l = e.payment_settings) == null ? void 0 : l.payment_types.payment_link) == null ? void 0 : c.payment_inputs.wallet) == null ? void 0 : A.payment_methods, n = (f = (p = (h = e.payment_settings) == null ? void 0 : h.payment_types.payment_link) == null ? void 0 : p.payment_inputs.dynamic_qr) == null ? void 0 : f.payment_methods, i = (b = (x = (y = e.payment_settings) == null ? void 0 : y.payment_types.ecommerce) == null ? void 0 : x.payment_inputs.dynamic_qr) == null ? void 0 : b.payment_methods;
|
|
46419
46419
|
this.sonqoQRIsActive = this.allowStatusSonqo.includes(
|
|
46420
46420
|
i == null ? void 0 : i.card_payment.payment_gateways.sonqo.status
|
|
46421
46421
|
) || this.allowStatusSonqo.includes(
|
|
@@ -46714,8 +46714,8 @@ var Ni = (
|
|
|
46714
46714
|
A = "".concat(c, " ").concat(n), l(c, n);
|
|
46715
46715
|
try {
|
|
46716
46716
|
for (var p = RP(this._pluggables), f = p.next(); !f.done; f = p.next()) {
|
|
46717
|
-
var y = f.value,
|
|
46718
|
-
y.pushLogs([
|
|
46717
|
+
var y = f.value, x = { message: A, timestamp: Date.now() };
|
|
46718
|
+
y.pushLogs([x]);
|
|
46719
46719
|
}
|
|
46720
46720
|
} catch (b) {
|
|
46721
46721
|
r = { error: b };
|
|
@@ -47362,15 +47362,15 @@ function yT(t, e, r, s) {
|
|
|
47362
47362
|
}, s && s.then(function() {
|
|
47363
47363
|
l = !0, clearTimeout(c), A();
|
|
47364
47364
|
}), p = function() {
|
|
47365
|
-
var
|
|
47365
|
+
var x, b, C, I;
|
|
47366
47366
|
return ty(this, function(O) {
|
|
47367
47367
|
switch (O.label) {
|
|
47368
47368
|
case 0:
|
|
47369
47369
|
d++, mh.debug("".concat(t.name, " attempt #").concat(d, " with this vars: ").concat(JSON.stringify(e))), O.label = 1;
|
|
47370
47370
|
case 1:
|
|
47371
|
-
return O.trys.push([1, 3, , 7]),
|
|
47371
|
+
return O.trys.push([1, 3, , 7]), x = {}, b = o, [4, t.apply(void 0, mT([], hT(e), !1))];
|
|
47372
47372
|
case 2:
|
|
47373
|
-
return [2, (
|
|
47373
|
+
return [2, (x.value = b.apply(void 0, [O.sent()]), x)];
|
|
47374
47374
|
case 3:
|
|
47375
47375
|
return C = O.sent(), h = C, mh.debug("error on ".concat(t.name), C), fT(C) ? (mh.debug("".concat(t.name, " non retryable error"), C), [2, { value: a(C) }]) : (I = r(d, e, C), mh.debug("".concat(t.name, " retrying in ").concat(I, " ms")), I === !1 || l ? [2, { value: a(C) }] : [3, 4]);
|
|
47376
47376
|
case 4:
|
|
@@ -47965,8 +47965,8 @@ var Kn = Cn, sz = (
|
|
|
47965
47965
|
var y = (p >>> 7 | p << 25) ^ (p >>> 18 | p << 14) ^ p >>> 3;
|
|
47966
47966
|
this.temp[h] = (f + this.temp[h - 7] | 0) + (y + this.temp[h - 16] | 0);
|
|
47967
47967
|
}
|
|
47968
|
-
var
|
|
47969
|
-
A = c, c = l, l = d, d = a +
|
|
47968
|
+
var x = (((d >>> 6 | d << 26) ^ (d >>> 11 | d << 21) ^ (d >>> 25 | d << 7)) + (d & l ^ ~d & c) | 0) + (A + (Kn.KEY[h] + this.temp[h] | 0) | 0) | 0, b = ((n >>> 2 | n << 30) ^ (n >>> 13 | n << 19) ^ (n >>> 22 | n << 10)) + (n & i ^ n & o ^ i & o) | 0;
|
|
47969
|
+
A = c, c = l, l = d, d = a + x | 0, a = o, o = i, i = n, n = x + b | 0;
|
|
47970
47970
|
}
|
|
47971
47971
|
s[0] += n, s[1] += i, s[2] += o, s[3] += a, s[4] += d, s[5] += l, s[6] += c, s[7] += A;
|
|
47972
47972
|
}, t;
|
|
@@ -48298,8 +48298,8 @@ var $A = function(t, e) {
|
|
|
48298
48298
|
}
|
|
48299
48299
|
return i;
|
|
48300
48300
|
}, zz = function(t, e) {
|
|
48301
|
-
var r, s, n, i, o = t.body, a = t.method, d = a === void 0 ? "GET" : a, l = t.url, c = e.expiration, A = Pz(e, ["expiration"]), h = sB(A), p = h.accessKeyId, f = h.credentialScope, y = h.longDate,
|
|
48302
|
-
Object.entries(X1(X1((r = {}, r[BT] = zb, r[CT] = "".concat(p, "/").concat(f), r[tB] = y, r[ST] = Sv, r), c && (s = {}, s[ET] = c.toString(), s)),
|
|
48301
|
+
var r, s, n, i, o = t.body, a = t.method, d = a === void 0 ? "GET" : a, l = t.url, c = e.expiration, A = Pz(e, ["expiration"]), h = sB(A), p = h.accessKeyId, f = h.credentialScope, y = h.longDate, x = h.sessionToken, b = new URL(l);
|
|
48302
|
+
Object.entries(X1(X1((r = {}, r[BT] = zb, r[CT] = "".concat(p, "/").concat(f), r[tB] = y, r[ST] = Sv, r), c && (s = {}, s[ET] = c.toString(), s)), x && (n = {}, n[Tb] = x, n))).forEach(function(O) {
|
|
48303
48303
|
var K = Tz(O, 2), H = K[0], q = K[1];
|
|
48304
48304
|
b.searchParams.append(H, q);
|
|
48305
48305
|
});
|
|
@@ -48339,8 +48339,8 @@ var $A = function(t, e) {
|
|
|
48339
48339
|
}, t;
|
|
48340
48340
|
}()
|
|
48341
48341
|
), j3 = function(t, e, r, s) {
|
|
48342
|
-
var n = e != null ? e : {}, i = n.access_key, o = n.secret_key, a = n.session_token, d = Nz(t.url), l = d.region, c = d.service, A = r != null ? r : {}, h = A.region, p = h === void 0 ? l : h, f = A.service, y = f === void 0 ? c : f,
|
|
48343
|
-
return Cu({ credentials:
|
|
48342
|
+
var n = e != null ? e : {}, i = n.access_key, o = n.secret_key, a = n.session_token, d = Nz(t.url), l = d.region, c = d.service, A = r != null ? r : {}, h = A.region, p = h === void 0 ? l : h, f = A.service, y = f === void 0 ? c : f, x = Cu({ accessKeyId: i, secretAccessKey: o }, dB(y) ? { sessionToken: a } : {});
|
|
48343
|
+
return Cu({ credentials: x, signingDate: cd.getDateWithClockOffset(), signingRegion: p, signingService: y }, s && { expiration: s });
|
|
48344
48344
|
}, Nz = function(t) {
|
|
48345
48345
|
var e, r = t.host, s = (e = r.match(Rz)) !== null && e !== void 0 ? e : [], n = s.slice(1, 3);
|
|
48346
48346
|
return n[1] === "es" && (n = n.reverse()), {
|
|
@@ -48904,8 +48904,8 @@ var sy = function(t) {
|
|
|
48904
48904
|
case 2:
|
|
48905
48905
|
throw d = f.sent(), d instanceof TypeError ? new Error("Network error") : d;
|
|
48906
48906
|
case 3:
|
|
48907
|
-
return l = {}, (h = a.headers) === null || h === void 0 || h.forEach(function(y,
|
|
48908
|
-
l[
|
|
48907
|
+
return l = {}, (h = a.headers) === null || h === void 0 || h.forEach(function(y, x) {
|
|
48908
|
+
l[x.toLowerCase()] = y;
|
|
48909
48909
|
}), c = {
|
|
48910
48910
|
statusCode: a.status,
|
|
48911
48911
|
headers: l,
|
|
@@ -49031,7 +49031,7 @@ var sy = function(t) {
|
|
|
49031
49031
|
return function(l) {
|
|
49032
49032
|
var c;
|
|
49033
49033
|
return aD(this, void 0, void 0, function() {
|
|
49034
|
-
var A, h, p, f, y,
|
|
49034
|
+
var A, h, p, f, y, x;
|
|
49035
49035
|
return lD(this, function(b) {
|
|
49036
49036
|
switch (b.label) {
|
|
49037
49037
|
case 0:
|
|
@@ -49053,7 +49053,7 @@ var sy = function(t) {
|
|
|
49053
49053
|
case 5:
|
|
49054
49054
|
return h = a.attemptsCount > h ? a.attemptsCount : h + 1, a.attemptsCount = h, [4, s(p, A)];
|
|
49055
49055
|
case 6:
|
|
49056
|
-
return b.sent() ? !(i != null && i.aborted) && h < r ? (
|
|
49056
|
+
return b.sent() ? !(i != null && i.aborted) && h < r ? (x = n(h), [4, uD(x, i)]) : [3, 8] : [3, 9];
|
|
49057
49057
|
case 7:
|
|
49058
49058
|
b.sent(), b.label = 8;
|
|
49059
49059
|
case 8:
|
|
@@ -50194,20 +50194,20 @@ var fB = function(t) {
|
|
|
50194
50194
|
return a = d._identityId = p.sent(), l = { region: o != null ? o : n }, c = function() {
|
|
50195
50195
|
return Ts(h, void 0, void 0, function() {
|
|
50196
50196
|
var f, y;
|
|
50197
|
-
return zs(this, function(
|
|
50198
|
-
switch (
|
|
50197
|
+
return zs(this, function(x) {
|
|
50198
|
+
switch (x.label) {
|
|
50199
50199
|
case 0:
|
|
50200
50200
|
return a ? [3, 2] : [4, vh(l, {
|
|
50201
50201
|
IdentityPoolId: s
|
|
50202
50202
|
})];
|
|
50203
50203
|
case 1:
|
|
50204
|
-
f =
|
|
50204
|
+
f = x.sent().IdentityId, this._identityId = f, x.label = 2;
|
|
50205
50205
|
case 2:
|
|
50206
50206
|
return [4, bh(l, {
|
|
50207
50207
|
IdentityId: this._identityId
|
|
50208
50208
|
})];
|
|
50209
50209
|
case 3:
|
|
50210
|
-
return y =
|
|
50210
|
+
return y = x.sent().Credentials, [2, {
|
|
50211
50211
|
identityId: this._identityId,
|
|
50212
50212
|
accessKeyId: y.AccessKeyId,
|
|
50213
50213
|
secretAccessKey: y.SecretKey,
|
|
@@ -50227,14 +50227,14 @@ var fB = function(t) {
|
|
|
50227
50227
|
return f;
|
|
50228
50228
|
}).catch(function(f) {
|
|
50229
50229
|
return Ts(h, void 0, void 0, function() {
|
|
50230
|
-
var y,
|
|
50230
|
+
var y, x = this;
|
|
50231
50231
|
return zs(this, function(b) {
|
|
50232
50232
|
switch (b.label) {
|
|
50233
50233
|
case 0:
|
|
50234
50234
|
return f.name === "ResourceNotFoundException" && f.message === "Identity '".concat(a, "' not found.") ? (Pt.debug("Failed to load guest credentials"), [4, this._removeGuestIdentityId()]) : [3, 2];
|
|
50235
50235
|
case 1:
|
|
50236
50236
|
return b.sent(), y = function() {
|
|
50237
|
-
return Ts(
|
|
50237
|
+
return Ts(x, void 0, void 0, function() {
|
|
50238
50238
|
var C, I;
|
|
50239
50239
|
return zs(this, function(O) {
|
|
50240
50240
|
switch (O.label) {
|
|
@@ -50258,7 +50258,7 @@ var fB = function(t) {
|
|
|
50258
50258
|
});
|
|
50259
50259
|
});
|
|
50260
50260
|
}, A = y().catch(function(C) {
|
|
50261
|
-
return Ts(
|
|
50261
|
+
return Ts(x, void 0, void 0, function() {
|
|
50262
50262
|
return zs(this, function(I) {
|
|
50263
50263
|
throw C;
|
|
50264
50264
|
});
|
|
@@ -50291,7 +50291,7 @@ var fB = function(t) {
|
|
|
50291
50291
|
return Pt.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials");
|
|
50292
50292
|
var p = { region: h != null ? h : A }, f = function() {
|
|
50293
50293
|
return Ts(r, void 0, void 0, function() {
|
|
50294
|
-
var
|
|
50294
|
+
var x, b;
|
|
50295
50295
|
return zs(this, function(C) {
|
|
50296
50296
|
switch (C.label) {
|
|
50297
50297
|
case 0:
|
|
@@ -50300,7 +50300,7 @@ var fB = function(t) {
|
|
|
50300
50300
|
Logins: d
|
|
50301
50301
|
})];
|
|
50302
50302
|
case 1:
|
|
50303
|
-
|
|
50303
|
+
x = C.sent().IdentityId, i = x, C.label = 2;
|
|
50304
50304
|
case 2:
|
|
50305
50305
|
return [4, bh(p, {
|
|
50306
50306
|
IdentityId: i,
|
|
@@ -50317,10 +50317,10 @@ var fB = function(t) {
|
|
|
50317
50317
|
}
|
|
50318
50318
|
});
|
|
50319
50319
|
});
|
|
50320
|
-
}, y = f().catch(function(
|
|
50320
|
+
}, y = f().catch(function(x) {
|
|
50321
50321
|
return Ts(r, void 0, void 0, function() {
|
|
50322
50322
|
return zs(this, function(b) {
|
|
50323
|
-
throw
|
|
50323
|
+
throw x;
|
|
50324
50324
|
});
|
|
50325
50325
|
});
|
|
50326
50326
|
});
|
|
@@ -50337,7 +50337,7 @@ var fB = function(t) {
|
|
|
50337
50337
|
c[l] = s;
|
|
50338
50338
|
var A = { region: d != null ? d : i }, h = function() {
|
|
50339
50339
|
return Ts(r, void 0, void 0, function() {
|
|
50340
|
-
var f, y,
|
|
50340
|
+
var f, y, x, b, C, I, O, K, H, q;
|
|
50341
50341
|
return zs(this, function(L) {
|
|
50342
50342
|
switch (L.label) {
|
|
50343
50343
|
case 0:
|
|
@@ -50348,7 +50348,7 @@ var fB = function(t) {
|
|
|
50348
50348
|
Logins: c
|
|
50349
50349
|
})];
|
|
50350
50350
|
case 2:
|
|
50351
|
-
|
|
50351
|
+
x = L.sent().IdentityId, y = x, L.label = 3;
|
|
50352
50352
|
case 3:
|
|
50353
50353
|
return [4, bh(A, {
|
|
50354
50354
|
IdentityId: f || y,
|
|
@@ -50396,8 +50396,8 @@ var fB = function(t) {
|
|
|
50396
50396
|
expires_at: p,
|
|
50397
50397
|
identity_id: f
|
|
50398
50398
|
}));
|
|
50399
|
-
} catch (
|
|
50400
|
-
Pt.debug("Failed to put federated info into auth storage",
|
|
50399
|
+
} catch (x) {
|
|
50400
|
+
Pt.debug("Failed to put federated info into auth storage", x);
|
|
50401
50401
|
}
|
|
50402
50402
|
}
|
|
50403
50403
|
return r !== "guest" ? [3, 2] : [4, this._setGuestIdentityId(l.identityId)];
|
|
@@ -50509,15 +50509,15 @@ function JD() {
|
|
|
50509
50509
|
function o(p, f) {
|
|
50510
50510
|
if (typeof p != "string")
|
|
50511
50511
|
throw new TypeError("argument str must be a string");
|
|
50512
|
-
var y = {},
|
|
50513
|
-
if (
|
|
50512
|
+
var y = {}, x = p.length;
|
|
50513
|
+
if (x < 2)
|
|
50514
50514
|
return y;
|
|
50515
50515
|
var b = f && f.decode || c, C = 0, I = 0, O = 0;
|
|
50516
50516
|
do {
|
|
50517
50517
|
if (I = p.indexOf("=", C), I === -1)
|
|
50518
50518
|
break;
|
|
50519
50519
|
if (O = p.indexOf(";", C), O === -1)
|
|
50520
|
-
O =
|
|
50520
|
+
O = x;
|
|
50521
50521
|
else if (I > O) {
|
|
50522
50522
|
C = p.lastIndexOf(";", I - 1) + 1;
|
|
50523
50523
|
continue;
|
|
@@ -50530,32 +50530,32 @@ function JD() {
|
|
|
50530
50530
|
y[q] = h(de, b);
|
|
50531
50531
|
}
|
|
50532
50532
|
C = O + 1;
|
|
50533
|
-
} while (C <
|
|
50533
|
+
} while (C < x);
|
|
50534
50534
|
return y;
|
|
50535
50535
|
}
|
|
50536
50536
|
function a(p, f, y) {
|
|
50537
50537
|
do {
|
|
50538
|
-
var
|
|
50539
|
-
if (
|
|
50538
|
+
var x = p.charCodeAt(f);
|
|
50539
|
+
if (x !== 32 && x !== 9)
|
|
50540
50540
|
return f;
|
|
50541
50541
|
} while (++f < y);
|
|
50542
50542
|
return y;
|
|
50543
50543
|
}
|
|
50544
50544
|
function d(p, f, y) {
|
|
50545
50545
|
for (; f > y; ) {
|
|
50546
|
-
var
|
|
50547
|
-
if (
|
|
50546
|
+
var x = p.charCodeAt(--f);
|
|
50547
|
+
if (x !== 32 && x !== 9)
|
|
50548
50548
|
return f + 1;
|
|
50549
50549
|
}
|
|
50550
50550
|
return y;
|
|
50551
50551
|
}
|
|
50552
50552
|
function l(p, f, y) {
|
|
50553
|
-
var
|
|
50554
|
-
if (typeof
|
|
50553
|
+
var x = y && y.encode || encodeURIComponent;
|
|
50554
|
+
if (typeof x != "function")
|
|
50555
50555
|
throw new TypeError("option encode is invalid");
|
|
50556
50556
|
if (!r.test(p))
|
|
50557
50557
|
throw new TypeError("argument name is invalid");
|
|
50558
|
-
var b =
|
|
50558
|
+
var b = x(f);
|
|
50559
50559
|
if (!s.test(b))
|
|
50560
50560
|
throw new TypeError("argument val is invalid");
|
|
50561
50561
|
var C = p + "=" + b;
|
|
@@ -51100,9 +51100,9 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51100
51100
|
throw new RangeError("Invalid typed array length");
|
|
51101
51101
|
return a.TYPED_ARRAY_SUPPORT ? (D = new Uint8Array(w), D.__proto__ = a.prototype) : (D === null && (D = new a(w)), D.length = w), D;
|
|
51102
51102
|
}
|
|
51103
|
-
function a(D, w,
|
|
51103
|
+
function a(D, w, k) {
|
|
51104
51104
|
if (!a.TYPED_ARRAY_SUPPORT && !(this instanceof a))
|
|
51105
|
-
return new a(D, w,
|
|
51105
|
+
return new a(D, w, k);
|
|
51106
51106
|
if (typeof D == "number") {
|
|
51107
51107
|
if (typeof w == "string")
|
|
51108
51108
|
throw new Error(
|
|
@@ -51110,18 +51110,18 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51110
51110
|
);
|
|
51111
51111
|
return A(this, D);
|
|
51112
51112
|
}
|
|
51113
|
-
return d(this, D, w,
|
|
51113
|
+
return d(this, D, w, k);
|
|
51114
51114
|
}
|
|
51115
51115
|
a.poolSize = 8192, a._augment = function(D) {
|
|
51116
51116
|
return D.__proto__ = a.prototype, D;
|
|
51117
51117
|
};
|
|
51118
|
-
function d(D, w,
|
|
51118
|
+
function d(D, w, k, Q) {
|
|
51119
51119
|
if (typeof w == "number")
|
|
51120
51120
|
throw new TypeError('"value" argument must not be a number');
|
|
51121
|
-
return typeof ArrayBuffer != "undefined" && w instanceof ArrayBuffer ? f(D, w,
|
|
51121
|
+
return typeof ArrayBuffer != "undefined" && w instanceof ArrayBuffer ? f(D, w, k, Q) : typeof w == "string" ? h(D, w, k) : y(D, w);
|
|
51122
51122
|
}
|
|
51123
|
-
a.from = function(D, w,
|
|
51124
|
-
return d(null, D, w,
|
|
51123
|
+
a.from = function(D, w, k) {
|
|
51124
|
+
return d(null, D, w, k);
|
|
51125
51125
|
}, a.TYPED_ARRAY_SUPPORT && (a.prototype.__proto__ = Uint8Array.prototype, a.__proto__ = Uint8Array, typeof Symbol != "undefined" && Symbol.species && a[Symbol.species] === a && Object.defineProperty(a, Symbol.species, {
|
|
51126
51126
|
value: null,
|
|
51127
51127
|
configurable: !0
|
|
@@ -51132,16 +51132,16 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51132
51132
|
if (D < 0)
|
|
51133
51133
|
throw new RangeError('"size" argument must not be negative');
|
|
51134
51134
|
}
|
|
51135
|
-
function c(D, w,
|
|
51136
|
-
return l(w), w <= 0 ? o(D, w) :
|
|
51135
|
+
function c(D, w, k, Q) {
|
|
51136
|
+
return l(w), w <= 0 ? o(D, w) : k !== void 0 ? typeof Q == "string" ? o(D, w).fill(k, Q) : o(D, w).fill(k) : o(D, w);
|
|
51137
51137
|
}
|
|
51138
|
-
a.alloc = function(D, w,
|
|
51139
|
-
return c(null, D, w,
|
|
51138
|
+
a.alloc = function(D, w, k) {
|
|
51139
|
+
return c(null, D, w, k);
|
|
51140
51140
|
};
|
|
51141
51141
|
function A(D, w) {
|
|
51142
|
-
if (l(w), D = o(D, w < 0 ? 0 :
|
|
51143
|
-
for (var
|
|
51144
|
-
D[
|
|
51142
|
+
if (l(w), D = o(D, w < 0 ? 0 : x(w) | 0), !a.TYPED_ARRAY_SUPPORT)
|
|
51143
|
+
for (var k = 0; k < w; ++k)
|
|
51144
|
+
D[k] = 0;
|
|
51145
51145
|
return D;
|
|
51146
51146
|
}
|
|
51147
51147
|
a.allocUnsafe = function(D) {
|
|
@@ -51149,32 +51149,32 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51149
51149
|
}, a.allocUnsafeSlow = function(D) {
|
|
51150
51150
|
return A(null, D);
|
|
51151
51151
|
};
|
|
51152
|
-
function h(D, w,
|
|
51153
|
-
if ((typeof
|
|
51152
|
+
function h(D, w, k) {
|
|
51153
|
+
if ((typeof k != "string" || k === "") && (k = "utf8"), !a.isEncoding(k))
|
|
51154
51154
|
throw new TypeError('"encoding" must be a valid string encoding');
|
|
51155
|
-
var Q = C(w,
|
|
51155
|
+
var Q = C(w, k) | 0;
|
|
51156
51156
|
D = o(D, Q);
|
|
51157
|
-
var $ = D.write(w,
|
|
51157
|
+
var $ = D.write(w, k);
|
|
51158
51158
|
return $ !== Q && (D = D.slice(0, $)), D;
|
|
51159
51159
|
}
|
|
51160
51160
|
function p(D, w) {
|
|
51161
|
-
var
|
|
51162
|
-
D = o(D,
|
|
51163
|
-
for (var Q = 0; Q <
|
|
51161
|
+
var k = w.length < 0 ? 0 : x(w.length) | 0;
|
|
51162
|
+
D = o(D, k);
|
|
51163
|
+
for (var Q = 0; Q < k; Q += 1)
|
|
51164
51164
|
D[Q] = w[Q] & 255;
|
|
51165
51165
|
return D;
|
|
51166
51166
|
}
|
|
51167
|
-
function f(D, w,
|
|
51168
|
-
if (w.byteLength,
|
|
51167
|
+
function f(D, w, k, Q) {
|
|
51168
|
+
if (w.byteLength, k < 0 || w.byteLength < k)
|
|
51169
51169
|
throw new RangeError("'offset' is out of bounds");
|
|
51170
|
-
if (w.byteLength <
|
|
51170
|
+
if (w.byteLength < k + (Q || 0))
|
|
51171
51171
|
throw new RangeError("'length' is out of bounds");
|
|
51172
|
-
return
|
|
51172
|
+
return k === void 0 && Q === void 0 ? w = new Uint8Array(w) : Q === void 0 ? w = new Uint8Array(w, k) : w = new Uint8Array(w, k, Q), a.TYPED_ARRAY_SUPPORT ? (D = w, D.__proto__ = a.prototype) : D = p(D, w), D;
|
|
51173
51173
|
}
|
|
51174
51174
|
function y(D, w) {
|
|
51175
51175
|
if (a.isBuffer(w)) {
|
|
51176
|
-
var
|
|
51177
|
-
return D = o(D,
|
|
51176
|
+
var k = x(w.length) | 0;
|
|
51177
|
+
return D = o(D, k), D.length === 0 || w.copy(D, 0, 0, k), D;
|
|
51178
51178
|
}
|
|
51179
51179
|
if (w) {
|
|
51180
51180
|
if (typeof ArrayBuffer != "undefined" && w.buffer instanceof ArrayBuffer || "length" in w)
|
|
@@ -51184,7 +51184,7 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51184
51184
|
}
|
|
51185
51185
|
throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");
|
|
51186
51186
|
}
|
|
51187
|
-
function
|
|
51187
|
+
function x(D) {
|
|
51188
51188
|
if (D >= i())
|
|
51189
51189
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + i().toString(16) + " bytes");
|
|
51190
51190
|
return D | 0;
|
|
@@ -51194,14 +51194,14 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51194
51194
|
}
|
|
51195
51195
|
a.isBuffer = function(w) {
|
|
51196
51196
|
return !!(w != null && w._isBuffer);
|
|
51197
|
-
}, a.compare = function(w,
|
|
51198
|
-
if (!a.isBuffer(w) || !a.isBuffer(
|
|
51197
|
+
}, a.compare = function(w, k) {
|
|
51198
|
+
if (!a.isBuffer(w) || !a.isBuffer(k))
|
|
51199
51199
|
throw new TypeError("Arguments must be Buffers");
|
|
51200
|
-
if (w ===
|
|
51200
|
+
if (w === k)
|
|
51201
51201
|
return 0;
|
|
51202
|
-
for (var Q = w.length, $ =
|
|
51203
|
-
if (w[he] !==
|
|
51204
|
-
Q = w[he], $ =
|
|
51202
|
+
for (var Q = w.length, $ = k.length, he = 0, ke = Math.min(Q, $); he < ke; ++he)
|
|
51203
|
+
if (w[he] !== k[he]) {
|
|
51204
|
+
Q = w[he], $ = k[he];
|
|
51205
51205
|
break;
|
|
51206
51206
|
}
|
|
51207
51207
|
return Q < $ ? -1 : $ < Q ? 1 : 0;
|
|
@@ -51222,16 +51222,16 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51222
51222
|
default:
|
|
51223
51223
|
return !1;
|
|
51224
51224
|
}
|
|
51225
|
-
}, a.concat = function(w,
|
|
51225
|
+
}, a.concat = function(w, k) {
|
|
51226
51226
|
if (!s(w))
|
|
51227
51227
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
51228
51228
|
if (w.length === 0)
|
|
51229
51229
|
return a.alloc(0);
|
|
51230
51230
|
var Q;
|
|
51231
|
-
if (
|
|
51232
|
-
for (
|
|
51233
|
-
|
|
51234
|
-
var $ = a.allocUnsafe(
|
|
51231
|
+
if (k === void 0)
|
|
51232
|
+
for (k = 0, Q = 0; Q < w.length; ++Q)
|
|
51233
|
+
k += w[Q].length;
|
|
51234
|
+
var $ = a.allocUnsafe(k), he = 0;
|
|
51235
51235
|
for (Q = 0; Q < w.length; ++Q) {
|
|
51236
51236
|
var ke = w[Q];
|
|
51237
51237
|
if (!a.isBuffer(ke))
|
|
@@ -51246,15 +51246,15 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51246
51246
|
if (typeof ArrayBuffer != "undefined" && typeof ArrayBuffer.isView == "function" && (ArrayBuffer.isView(D) || D instanceof ArrayBuffer))
|
|
51247
51247
|
return D.byteLength;
|
|
51248
51248
|
typeof D != "string" && (D = "" + D);
|
|
51249
|
-
var
|
|
51250
|
-
if (
|
|
51249
|
+
var k = D.length;
|
|
51250
|
+
if (k === 0)
|
|
51251
51251
|
return 0;
|
|
51252
51252
|
for (var Q = !1; ; )
|
|
51253
51253
|
switch (w) {
|
|
51254
51254
|
case "ascii":
|
|
51255
51255
|
case "latin1":
|
|
51256
51256
|
case "binary":
|
|
51257
|
-
return
|
|
51257
|
+
return k;
|
|
51258
51258
|
case "utf8":
|
|
51259
51259
|
case "utf-8":
|
|
51260
51260
|
case void 0:
|
|
@@ -51263,9 +51263,9 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51263
51263
|
case "ucs-2":
|
|
51264
51264
|
case "utf16le":
|
|
51265
51265
|
case "utf-16le":
|
|
51266
|
-
return
|
|
51266
|
+
return k * 2;
|
|
51267
51267
|
case "hex":
|
|
51268
|
-
return
|
|
51268
|
+
return k >>> 1;
|
|
51269
51269
|
case "base64":
|
|
51270
51270
|
return Ee(D).length;
|
|
51271
51271
|
default:
|
|
@@ -51275,29 +51275,29 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51275
51275
|
}
|
|
51276
51276
|
}
|
|
51277
51277
|
a.byteLength = C;
|
|
51278
|
-
function I(D, w,
|
|
51278
|
+
function I(D, w, k) {
|
|
51279
51279
|
var Q = !1;
|
|
51280
|
-
if ((w === void 0 || w < 0) && (w = 0), w > this.length || ((
|
|
51280
|
+
if ((w === void 0 || w < 0) && (w = 0), w > this.length || ((k === void 0 || k > this.length) && (k = this.length), k <= 0) || (k >>>= 0, w >>>= 0, k <= w))
|
|
51281
51281
|
return "";
|
|
51282
51282
|
for (D || (D = "utf8"); ; )
|
|
51283
51283
|
switch (D) {
|
|
51284
51284
|
case "hex":
|
|
51285
|
-
return Be(this, w,
|
|
51285
|
+
return Be(this, w, k);
|
|
51286
51286
|
case "utf8":
|
|
51287
51287
|
case "utf-8":
|
|
51288
|
-
return J(this, w,
|
|
51288
|
+
return J(this, w, k);
|
|
51289
51289
|
case "ascii":
|
|
51290
|
-
return xe(this, w,
|
|
51290
|
+
return xe(this, w, k);
|
|
51291
51291
|
case "latin1":
|
|
51292
51292
|
case "binary":
|
|
51293
|
-
return ge(this, w,
|
|
51293
|
+
return ge(this, w, k);
|
|
51294
51294
|
case "base64":
|
|
51295
|
-
return W(this, w,
|
|
51295
|
+
return W(this, w, k);
|
|
51296
51296
|
case "ucs2":
|
|
51297
51297
|
case "ucs-2":
|
|
51298
51298
|
case "utf16le":
|
|
51299
51299
|
case "utf-16le":
|
|
51300
|
-
return ae(this, w,
|
|
51300
|
+
return ae(this, w, k);
|
|
51301
51301
|
default:
|
|
51302
51302
|
if (Q)
|
|
51303
51303
|
throw new TypeError("Unknown encoding: " + D);
|
|
@@ -51305,30 +51305,30 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51305
51305
|
}
|
|
51306
51306
|
}
|
|
51307
51307
|
a.prototype._isBuffer = !0;
|
|
51308
|
-
function O(D, w,
|
|
51308
|
+
function O(D, w, k) {
|
|
51309
51309
|
var Q = D[w];
|
|
51310
|
-
D[w] = D[
|
|
51310
|
+
D[w] = D[k], D[k] = Q;
|
|
51311
51311
|
}
|
|
51312
51312
|
a.prototype.swap16 = function() {
|
|
51313
51313
|
var w = this.length;
|
|
51314
51314
|
if (w % 2 !== 0)
|
|
51315
51315
|
throw new RangeError("Buffer size must be a multiple of 16-bits");
|
|
51316
|
-
for (var
|
|
51317
|
-
O(this,
|
|
51316
|
+
for (var k = 0; k < w; k += 2)
|
|
51317
|
+
O(this, k, k + 1);
|
|
51318
51318
|
return this;
|
|
51319
51319
|
}, a.prototype.swap32 = function() {
|
|
51320
51320
|
var w = this.length;
|
|
51321
51321
|
if (w % 4 !== 0)
|
|
51322
51322
|
throw new RangeError("Buffer size must be a multiple of 32-bits");
|
|
51323
|
-
for (var
|
|
51324
|
-
O(this,
|
|
51323
|
+
for (var k = 0; k < w; k += 4)
|
|
51324
|
+
O(this, k, k + 3), O(this, k + 1, k + 2);
|
|
51325
51325
|
return this;
|
|
51326
51326
|
}, a.prototype.swap64 = function() {
|
|
51327
51327
|
var w = this.length;
|
|
51328
51328
|
if (w % 8 !== 0)
|
|
51329
51329
|
throw new RangeError("Buffer size must be a multiple of 64-bits");
|
|
51330
|
-
for (var
|
|
51331
|
-
O(this,
|
|
51330
|
+
for (var k = 0; k < w; k += 8)
|
|
51331
|
+
O(this, k, k + 7), O(this, k + 1, k + 6), O(this, k + 2, k + 5), O(this, k + 3, k + 4);
|
|
51332
51332
|
return this;
|
|
51333
51333
|
}, a.prototype.toString = function() {
|
|
51334
51334
|
var w = this.length | 0;
|
|
@@ -51338,52 +51338,52 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51338
51338
|
throw new TypeError("Argument must be a Buffer");
|
|
51339
51339
|
return this === w ? !0 : a.compare(this, w) === 0;
|
|
51340
51340
|
}, a.prototype.inspect = function() {
|
|
51341
|
-
var w = "",
|
|
51342
|
-
return this.length > 0 && (w = this.toString("hex", 0,
|
|
51343
|
-
}, a.prototype.compare = function(w,
|
|
51341
|
+
var w = "", k = t.INSPECT_MAX_BYTES;
|
|
51342
|
+
return this.length > 0 && (w = this.toString("hex", 0, k).match(/.{2}/g).join(" "), this.length > k && (w += " ... ")), "<Buffer " + w + ">";
|
|
51343
|
+
}, a.prototype.compare = function(w, k, Q, $, he) {
|
|
51344
51344
|
if (!a.isBuffer(w))
|
|
51345
51345
|
throw new TypeError("Argument must be a Buffer");
|
|
51346
|
-
if (
|
|
51346
|
+
if (k === void 0 && (k = 0), Q === void 0 && (Q = w ? w.length : 0), $ === void 0 && ($ = 0), he === void 0 && (he = this.length), k < 0 || Q > w.length || $ < 0 || he > this.length)
|
|
51347
51347
|
throw new RangeError("out of range index");
|
|
51348
|
-
if ($ >= he &&
|
|
51348
|
+
if ($ >= he && k >= Q)
|
|
51349
51349
|
return 0;
|
|
51350
51350
|
if ($ >= he)
|
|
51351
51351
|
return -1;
|
|
51352
|
-
if (
|
|
51352
|
+
if (k >= Q)
|
|
51353
51353
|
return 1;
|
|
51354
|
-
if (
|
|
51354
|
+
if (k >>>= 0, Q >>>= 0, $ >>>= 0, he >>>= 0, this === w)
|
|
51355
51355
|
return 0;
|
|
51356
|
-
for (var ke = he - $, Ye = Q -
|
|
51356
|
+
for (var ke = he - $, Ye = Q - k, nt = Math.min(ke, Ye), ct = this.slice($, he), yt = w.slice(k, Q), et = 0; et < nt; ++et)
|
|
51357
51357
|
if (ct[et] !== yt[et]) {
|
|
51358
51358
|
ke = ct[et], Ye = yt[et];
|
|
51359
51359
|
break;
|
|
51360
51360
|
}
|
|
51361
51361
|
return ke < Ye ? -1 : Ye < ke ? 1 : 0;
|
|
51362
51362
|
};
|
|
51363
|
-
function K(D, w,
|
|
51363
|
+
function K(D, w, k, Q, $) {
|
|
51364
51364
|
if (D.length === 0)
|
|
51365
51365
|
return -1;
|
|
51366
|
-
if (typeof
|
|
51366
|
+
if (typeof k == "string" ? (Q = k, k = 0) : k > 2147483647 ? k = 2147483647 : k < -2147483648 && (k = -2147483648), k = +k, isNaN(k) && (k = $ ? 0 : D.length - 1), k < 0 && (k = D.length + k), k >= D.length) {
|
|
51367
51367
|
if ($)
|
|
51368
51368
|
return -1;
|
|
51369
|
-
|
|
51370
|
-
} else if (
|
|
51369
|
+
k = D.length - 1;
|
|
51370
|
+
} else if (k < 0)
|
|
51371
51371
|
if ($)
|
|
51372
|
-
|
|
51372
|
+
k = 0;
|
|
51373
51373
|
else
|
|
51374
51374
|
return -1;
|
|
51375
51375
|
if (typeof w == "string" && (w = a.from(w, Q)), a.isBuffer(w))
|
|
51376
|
-
return w.length === 0 ? -1 : H(D, w,
|
|
51376
|
+
return w.length === 0 ? -1 : H(D, w, k, Q, $);
|
|
51377
51377
|
if (typeof w == "number")
|
|
51378
|
-
return w = w & 255, a.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? $ ? Uint8Array.prototype.indexOf.call(D, w,
|
|
51378
|
+
return w = w & 255, a.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? $ ? Uint8Array.prototype.indexOf.call(D, w, k) : Uint8Array.prototype.lastIndexOf.call(D, w, k) : H(D, [w], k, Q, $);
|
|
51379
51379
|
throw new TypeError("val must be string, number or Buffer");
|
|
51380
51380
|
}
|
|
51381
|
-
function H(D, w,
|
|
51381
|
+
function H(D, w, k, Q, $) {
|
|
51382
51382
|
var he = 1, ke = D.length, Ye = w.length;
|
|
51383
51383
|
if (Q !== void 0 && (Q = String(Q).toLowerCase(), Q === "ucs2" || Q === "ucs-2" || Q === "utf16le" || Q === "utf-16le")) {
|
|
51384
51384
|
if (D.length < 2 || w.length < 2)
|
|
51385
51385
|
return -1;
|
|
51386
|
-
he = 2, ke /= 2, Ye /= 2,
|
|
51386
|
+
he = 2, ke /= 2, Ye /= 2, k /= 2;
|
|
51387
51387
|
}
|
|
51388
51388
|
function nt(We, rs) {
|
|
51389
51389
|
return he === 1 ? We[rs] : We.readUInt16BE(rs * he);
|
|
@@ -51391,14 +51391,14 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51391
51391
|
var ct;
|
|
51392
51392
|
if ($) {
|
|
51393
51393
|
var yt = -1;
|
|
51394
|
-
for (ct =
|
|
51394
|
+
for (ct = k; ct < ke; ct++)
|
|
51395
51395
|
if (nt(D, ct) === nt(w, yt === -1 ? 0 : ct - yt)) {
|
|
51396
51396
|
if (yt === -1 && (yt = ct), ct - yt + 1 === Ye)
|
|
51397
51397
|
return yt * he;
|
|
51398
51398
|
} else
|
|
51399
51399
|
yt !== -1 && (ct -= ct - yt), yt = -1;
|
|
51400
51400
|
} else
|
|
51401
|
-
for (
|
|
51401
|
+
for (k + Ye > ke && (k = ke - Ye), ct = k; ct >= 0; ct--) {
|
|
51402
51402
|
for (var et = !0, Bt = 0; Bt < Ye; Bt++)
|
|
51403
51403
|
if (nt(D, ct + Bt) !== nt(w, Bt)) {
|
|
51404
51404
|
et = !1;
|
|
@@ -51409,16 +51409,16 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51409
51409
|
}
|
|
51410
51410
|
return -1;
|
|
51411
51411
|
}
|
|
51412
|
-
a.prototype.includes = function(w,
|
|
51413
|
-
return this.indexOf(w,
|
|
51414
|
-
}, a.prototype.indexOf = function(w,
|
|
51415
|
-
return K(this, w,
|
|
51416
|
-
}, a.prototype.lastIndexOf = function(w,
|
|
51417
|
-
return K(this, w,
|
|
51412
|
+
a.prototype.includes = function(w, k, Q) {
|
|
51413
|
+
return this.indexOf(w, k, Q) !== -1;
|
|
51414
|
+
}, a.prototype.indexOf = function(w, k, Q) {
|
|
51415
|
+
return K(this, w, k, Q, !0);
|
|
51416
|
+
}, a.prototype.lastIndexOf = function(w, k, Q) {
|
|
51417
|
+
return K(this, w, k, Q, !1);
|
|
51418
51418
|
};
|
|
51419
|
-
function q(D, w,
|
|
51420
|
-
|
|
51421
|
-
var $ = D.length -
|
|
51419
|
+
function q(D, w, k, Q) {
|
|
51420
|
+
k = Number(k) || 0;
|
|
51421
|
+
var $ = D.length - k;
|
|
51422
51422
|
Q ? (Q = Number(Q), Q > $ && (Q = $)) : Q = $;
|
|
51423
51423
|
var he = w.length;
|
|
51424
51424
|
if (he % 2 !== 0)
|
|
@@ -51428,59 +51428,59 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51428
51428
|
var Ye = parseInt(w.substr(ke * 2, 2), 16);
|
|
51429
51429
|
if (isNaN(Ye))
|
|
51430
51430
|
return ke;
|
|
51431
|
-
D[
|
|
51431
|
+
D[k + ke] = Ye;
|
|
51432
51432
|
}
|
|
51433
51433
|
return ke;
|
|
51434
51434
|
}
|
|
51435
|
-
function L(D, w,
|
|
51436
|
-
return Z(Le(w, D.length -
|
|
51435
|
+
function L(D, w, k, Q) {
|
|
51436
|
+
return Z(Le(w, D.length - k), D, k, Q);
|
|
51437
51437
|
}
|
|
51438
|
-
function X(D, w,
|
|
51439
|
-
return Z(Me(w), D,
|
|
51438
|
+
function X(D, w, k, Q) {
|
|
51439
|
+
return Z(Me(w), D, k, Q);
|
|
51440
51440
|
}
|
|
51441
|
-
function de(D, w,
|
|
51442
|
-
return X(D, w,
|
|
51441
|
+
function de(D, w, k, Q) {
|
|
51442
|
+
return X(D, w, k, Q);
|
|
51443
51443
|
}
|
|
51444
|
-
function z(D, w,
|
|
51445
|
-
return Z(Ee(w), D,
|
|
51444
|
+
function z(D, w, k, Q) {
|
|
51445
|
+
return Z(Ee(w), D, k, Q);
|
|
51446
51446
|
}
|
|
51447
|
-
function N(D, w,
|
|
51448
|
-
return Z(dt(w, D.length -
|
|
51447
|
+
function N(D, w, k, Q) {
|
|
51448
|
+
return Z(dt(w, D.length - k), D, k, Q);
|
|
51449
51449
|
}
|
|
51450
|
-
a.prototype.write = function(w,
|
|
51451
|
-
if (
|
|
51452
|
-
$ = "utf8", Q = this.length,
|
|
51453
|
-
else if (Q === void 0 && typeof
|
|
51454
|
-
$ =
|
|
51455
|
-
else if (isFinite(
|
|
51456
|
-
|
|
51450
|
+
a.prototype.write = function(w, k, Q, $) {
|
|
51451
|
+
if (k === void 0)
|
|
51452
|
+
$ = "utf8", Q = this.length, k = 0;
|
|
51453
|
+
else if (Q === void 0 && typeof k == "string")
|
|
51454
|
+
$ = k, Q = this.length, k = 0;
|
|
51455
|
+
else if (isFinite(k))
|
|
51456
|
+
k = k | 0, isFinite(Q) ? (Q = Q | 0, $ === void 0 && ($ = "utf8")) : ($ = Q, Q = void 0);
|
|
51457
51457
|
else
|
|
51458
51458
|
throw new Error(
|
|
51459
51459
|
"Buffer.write(string, encoding, offset[, length]) is no longer supported"
|
|
51460
51460
|
);
|
|
51461
|
-
var he = this.length -
|
|
51462
|
-
if ((Q === void 0 || Q > he) && (Q = he), w.length > 0 && (Q < 0 ||
|
|
51461
|
+
var he = this.length - k;
|
|
51462
|
+
if ((Q === void 0 || Q > he) && (Q = he), w.length > 0 && (Q < 0 || k < 0) || k > this.length)
|
|
51463
51463
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
51464
51464
|
$ || ($ = "utf8");
|
|
51465
51465
|
for (var ke = !1; ; )
|
|
51466
51466
|
switch ($) {
|
|
51467
51467
|
case "hex":
|
|
51468
|
-
return q(this, w,
|
|
51468
|
+
return q(this, w, k, Q);
|
|
51469
51469
|
case "utf8":
|
|
51470
51470
|
case "utf-8":
|
|
51471
|
-
return L(this, w,
|
|
51471
|
+
return L(this, w, k, Q);
|
|
51472
51472
|
case "ascii":
|
|
51473
|
-
return X(this, w,
|
|
51473
|
+
return X(this, w, k, Q);
|
|
51474
51474
|
case "latin1":
|
|
51475
51475
|
case "binary":
|
|
51476
|
-
return de(this, w,
|
|
51476
|
+
return de(this, w, k, Q);
|
|
51477
51477
|
case "base64":
|
|
51478
|
-
return z(this, w,
|
|
51478
|
+
return z(this, w, k, Q);
|
|
51479
51479
|
case "ucs2":
|
|
51480
51480
|
case "ucs-2":
|
|
51481
51481
|
case "utf16le":
|
|
51482
51482
|
case "utf-16le":
|
|
51483
|
-
return N(this, w,
|
|
51483
|
+
return N(this, w, k, Q);
|
|
51484
51484
|
default:
|
|
51485
51485
|
if (ke)
|
|
51486
51486
|
throw new TypeError("Unknown encoding: " + $);
|
|
@@ -51492,14 +51492,14 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51492
51492
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
51493
51493
|
};
|
|
51494
51494
|
};
|
|
51495
|
-
function W(D, w,
|
|
51496
|
-
return w === 0 &&
|
|
51495
|
+
function W(D, w, k) {
|
|
51496
|
+
return w === 0 && k === D.length ? e.fromByteArray(D) : e.fromByteArray(D.slice(w, k));
|
|
51497
51497
|
}
|
|
51498
|
-
function J(D, w,
|
|
51499
|
-
|
|
51500
|
-
for (var Q = [], $ = w; $ <
|
|
51498
|
+
function J(D, w, k) {
|
|
51499
|
+
k = Math.min(D.length, k);
|
|
51500
|
+
for (var Q = [], $ = w; $ < k; ) {
|
|
51501
51501
|
var he = D[$], ke = null, Ye = he > 239 ? 4 : he > 223 ? 3 : he > 191 ? 2 : 1;
|
|
51502
|
-
if ($ + Ye <=
|
|
51502
|
+
if ($ + Ye <= k) {
|
|
51503
51503
|
var nt, ct, yt, et;
|
|
51504
51504
|
switch (Ye) {
|
|
51505
51505
|
case 1:
|
|
@@ -51524,237 +51524,237 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51524
51524
|
var w = D.length;
|
|
51525
51525
|
if (w <= we)
|
|
51526
51526
|
return String.fromCharCode.apply(String, D);
|
|
51527
|
-
for (var
|
|
51528
|
-
|
|
51527
|
+
for (var k = "", Q = 0; Q < w; )
|
|
51528
|
+
k += String.fromCharCode.apply(
|
|
51529
51529
|
String,
|
|
51530
51530
|
D.slice(Q, Q += we)
|
|
51531
51531
|
);
|
|
51532
|
-
return
|
|
51532
|
+
return k;
|
|
51533
51533
|
}
|
|
51534
|
-
function xe(D, w,
|
|
51534
|
+
function xe(D, w, k) {
|
|
51535
51535
|
var Q = "";
|
|
51536
|
-
|
|
51537
|
-
for (var $ = w; $ <
|
|
51536
|
+
k = Math.min(D.length, k);
|
|
51537
|
+
for (var $ = w; $ < k; ++$)
|
|
51538
51538
|
Q += String.fromCharCode(D[$] & 127);
|
|
51539
51539
|
return Q;
|
|
51540
51540
|
}
|
|
51541
|
-
function ge(D, w,
|
|
51541
|
+
function ge(D, w, k) {
|
|
51542
51542
|
var Q = "";
|
|
51543
|
-
|
|
51544
|
-
for (var $ = w; $ <
|
|
51543
|
+
k = Math.min(D.length, k);
|
|
51544
|
+
for (var $ = w; $ < k; ++$)
|
|
51545
51545
|
Q += String.fromCharCode(D[$]);
|
|
51546
51546
|
return Q;
|
|
51547
51547
|
}
|
|
51548
|
-
function Be(D, w,
|
|
51548
|
+
function Be(D, w, k) {
|
|
51549
51549
|
var Q = D.length;
|
|
51550
|
-
(!w || w < 0) && (w = 0), (!
|
|
51551
|
-
for (var $ = "", he = w; he <
|
|
51550
|
+
(!w || w < 0) && (w = 0), (!k || k < 0 || k > Q) && (k = Q);
|
|
51551
|
+
for (var $ = "", he = w; he < k; ++he)
|
|
51552
51552
|
$ += ze(D[he]);
|
|
51553
51553
|
return $;
|
|
51554
51554
|
}
|
|
51555
|
-
function ae(D, w,
|
|
51556
|
-
for (var Q = D.slice(w,
|
|
51555
|
+
function ae(D, w, k) {
|
|
51556
|
+
for (var Q = D.slice(w, k), $ = "", he = 0; he < Q.length; he += 2)
|
|
51557
51557
|
$ += String.fromCharCode(Q[he] + Q[he + 1] * 256);
|
|
51558
51558
|
return $;
|
|
51559
51559
|
}
|
|
51560
|
-
a.prototype.slice = function(w,
|
|
51560
|
+
a.prototype.slice = function(w, k) {
|
|
51561
51561
|
var Q = this.length;
|
|
51562
|
-
w = ~~w,
|
|
51562
|
+
w = ~~w, k = k === void 0 ? Q : ~~k, w < 0 ? (w += Q, w < 0 && (w = 0)) : w > Q && (w = Q), k < 0 ? (k += Q, k < 0 && (k = 0)) : k > Q && (k = Q), k < w && (k = w);
|
|
51563
51563
|
var $;
|
|
51564
51564
|
if (a.TYPED_ARRAY_SUPPORT)
|
|
51565
|
-
$ = this.subarray(w,
|
|
51565
|
+
$ = this.subarray(w, k), $.__proto__ = a.prototype;
|
|
51566
51566
|
else {
|
|
51567
|
-
var he =
|
|
51567
|
+
var he = k - w;
|
|
51568
51568
|
$ = new a(he, void 0);
|
|
51569
51569
|
for (var ke = 0; ke < he; ++ke)
|
|
51570
51570
|
$[ke] = this[ke + w];
|
|
51571
51571
|
}
|
|
51572
51572
|
return $;
|
|
51573
51573
|
};
|
|
51574
|
-
function Ce(D, w,
|
|
51574
|
+
function Ce(D, w, k) {
|
|
51575
51575
|
if (D % 1 !== 0 || D < 0)
|
|
51576
51576
|
throw new RangeError("offset is not uint");
|
|
51577
|
-
if (D + w >
|
|
51577
|
+
if (D + w > k)
|
|
51578
51578
|
throw new RangeError("Trying to access beyond buffer length");
|
|
51579
51579
|
}
|
|
51580
|
-
a.prototype.readUIntLE = function(w,
|
|
51581
|
-
w = w | 0,
|
|
51582
|
-
for (var $ = this[w], he = 1, ke = 0; ++ke <
|
|
51580
|
+
a.prototype.readUIntLE = function(w, k, Q) {
|
|
51581
|
+
w = w | 0, k = k | 0, Q || Ce(w, k, this.length);
|
|
51582
|
+
for (var $ = this[w], he = 1, ke = 0; ++ke < k && (he *= 256); )
|
|
51583
51583
|
$ += this[w + ke] * he;
|
|
51584
51584
|
return $;
|
|
51585
|
-
}, a.prototype.readUIntBE = function(w,
|
|
51586
|
-
w = w | 0,
|
|
51587
|
-
for (var $ = this[w + --
|
|
51588
|
-
$ += this[w + --
|
|
51585
|
+
}, a.prototype.readUIntBE = function(w, k, Q) {
|
|
51586
|
+
w = w | 0, k = k | 0, Q || Ce(w, k, this.length);
|
|
51587
|
+
for (var $ = this[w + --k], he = 1; k > 0 && (he *= 256); )
|
|
51588
|
+
$ += this[w + --k] * he;
|
|
51589
51589
|
return $;
|
|
51590
|
-
}, a.prototype.readUInt8 = function(w,
|
|
51591
|
-
return
|
|
51592
|
-
}, a.prototype.readUInt16LE = function(w,
|
|
51593
|
-
return
|
|
51594
|
-
}, a.prototype.readUInt16BE = function(w,
|
|
51595
|
-
return
|
|
51596
|
-
}, a.prototype.readUInt32LE = function(w,
|
|
51597
|
-
return
|
|
51598
|
-
}, a.prototype.readUInt32BE = function(w,
|
|
51599
|
-
return
|
|
51600
|
-
}, a.prototype.readIntLE = function(w,
|
|
51601
|
-
w = w | 0,
|
|
51602
|
-
for (var $ = this[w], he = 1, ke = 0; ++ke <
|
|
51590
|
+
}, a.prototype.readUInt8 = function(w, k) {
|
|
51591
|
+
return k || Ce(w, 1, this.length), this[w];
|
|
51592
|
+
}, a.prototype.readUInt16LE = function(w, k) {
|
|
51593
|
+
return k || Ce(w, 2, this.length), this[w] | this[w + 1] << 8;
|
|
51594
|
+
}, a.prototype.readUInt16BE = function(w, k) {
|
|
51595
|
+
return k || Ce(w, 2, this.length), this[w] << 8 | this[w + 1];
|
|
51596
|
+
}, a.prototype.readUInt32LE = function(w, k) {
|
|
51597
|
+
return k || Ce(w, 4, this.length), (this[w] | this[w + 1] << 8 | this[w + 2] << 16) + this[w + 3] * 16777216;
|
|
51598
|
+
}, a.prototype.readUInt32BE = function(w, k) {
|
|
51599
|
+
return k || Ce(w, 4, this.length), this[w] * 16777216 + (this[w + 1] << 16 | this[w + 2] << 8 | this[w + 3]);
|
|
51600
|
+
}, a.prototype.readIntLE = function(w, k, Q) {
|
|
51601
|
+
w = w | 0, k = k | 0, Q || Ce(w, k, this.length);
|
|
51602
|
+
for (var $ = this[w], he = 1, ke = 0; ++ke < k && (he *= 256); )
|
|
51603
51603
|
$ += this[w + ke] * he;
|
|
51604
|
-
return he *= 128, $ >= he && ($ -= Math.pow(2, 8 *
|
|
51605
|
-
}, a.prototype.readIntBE = function(w,
|
|
51606
|
-
w = w | 0,
|
|
51607
|
-
for (var $ =
|
|
51604
|
+
return he *= 128, $ >= he && ($ -= Math.pow(2, 8 * k)), $;
|
|
51605
|
+
}, a.prototype.readIntBE = function(w, k, Q) {
|
|
51606
|
+
w = w | 0, k = k | 0, Q || Ce(w, k, this.length);
|
|
51607
|
+
for (var $ = k, he = 1, ke = this[w + --$]; $ > 0 && (he *= 256); )
|
|
51608
51608
|
ke += this[w + --$] * he;
|
|
51609
|
-
return he *= 128, ke >= he && (ke -= Math.pow(2, 8 *
|
|
51610
|
-
}, a.prototype.readInt8 = function(w,
|
|
51611
|
-
return
|
|
51612
|
-
}, a.prototype.readInt16LE = function(w,
|
|
51613
|
-
|
|
51609
|
+
return he *= 128, ke >= he && (ke -= Math.pow(2, 8 * k)), ke;
|
|
51610
|
+
}, a.prototype.readInt8 = function(w, k) {
|
|
51611
|
+
return k || Ce(w, 1, this.length), this[w] & 128 ? (255 - this[w] + 1) * -1 : this[w];
|
|
51612
|
+
}, a.prototype.readInt16LE = function(w, k) {
|
|
51613
|
+
k || Ce(w, 2, this.length);
|
|
51614
51614
|
var Q = this[w] | this[w + 1] << 8;
|
|
51615
51615
|
return Q & 32768 ? Q | 4294901760 : Q;
|
|
51616
|
-
}, a.prototype.readInt16BE = function(w,
|
|
51617
|
-
|
|
51616
|
+
}, a.prototype.readInt16BE = function(w, k) {
|
|
51617
|
+
k || Ce(w, 2, this.length);
|
|
51618
51618
|
var Q = this[w + 1] | this[w] << 8;
|
|
51619
51619
|
return Q & 32768 ? Q | 4294901760 : Q;
|
|
51620
|
-
}, a.prototype.readInt32LE = function(w,
|
|
51621
|
-
return
|
|
51622
|
-
}, a.prototype.readInt32BE = function(w,
|
|
51623
|
-
return
|
|
51624
|
-
}, a.prototype.readFloatLE = function(w,
|
|
51625
|
-
return
|
|
51626
|
-
}, a.prototype.readFloatBE = function(w,
|
|
51627
|
-
return
|
|
51628
|
-
}, a.prototype.readDoubleLE = function(w,
|
|
51629
|
-
return
|
|
51630
|
-
}, a.prototype.readDoubleBE = function(w,
|
|
51631
|
-
return
|
|
51620
|
+
}, a.prototype.readInt32LE = function(w, k) {
|
|
51621
|
+
return k || Ce(w, 4, this.length), this[w] | this[w + 1] << 8 | this[w + 2] << 16 | this[w + 3] << 24;
|
|
51622
|
+
}, a.prototype.readInt32BE = function(w, k) {
|
|
51623
|
+
return k || Ce(w, 4, this.length), this[w] << 24 | this[w + 1] << 16 | this[w + 2] << 8 | this[w + 3];
|
|
51624
|
+
}, a.prototype.readFloatLE = function(w, k) {
|
|
51625
|
+
return k || Ce(w, 4, this.length), r.read(this, w, !0, 23, 4);
|
|
51626
|
+
}, a.prototype.readFloatBE = function(w, k) {
|
|
51627
|
+
return k || Ce(w, 4, this.length), r.read(this, w, !1, 23, 4);
|
|
51628
|
+
}, a.prototype.readDoubleLE = function(w, k) {
|
|
51629
|
+
return k || Ce(w, 8, this.length), r.read(this, w, !0, 52, 8);
|
|
51630
|
+
}, a.prototype.readDoubleBE = function(w, k) {
|
|
51631
|
+
return k || Ce(w, 8, this.length), r.read(this, w, !1, 52, 8);
|
|
51632
51632
|
};
|
|
51633
|
-
function j(D, w,
|
|
51633
|
+
function j(D, w, k, Q, $, he) {
|
|
51634
51634
|
if (!a.isBuffer(D))
|
|
51635
51635
|
throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
51636
51636
|
if (w > $ || w < he)
|
|
51637
51637
|
throw new RangeError('"value" argument is out of bounds');
|
|
51638
|
-
if (
|
|
51638
|
+
if (k + Q > D.length)
|
|
51639
51639
|
throw new RangeError("Index out of range");
|
|
51640
51640
|
}
|
|
51641
|
-
a.prototype.writeUIntLE = function(w,
|
|
51642
|
-
if (w = +w,
|
|
51641
|
+
a.prototype.writeUIntLE = function(w, k, Q, $) {
|
|
51642
|
+
if (w = +w, k = k | 0, Q = Q | 0, !$) {
|
|
51643
51643
|
var he = Math.pow(2, 8 * Q) - 1;
|
|
51644
|
-
j(this, w,
|
|
51644
|
+
j(this, w, k, Q, he, 0);
|
|
51645
51645
|
}
|
|
51646
51646
|
var ke = 1, Ye = 0;
|
|
51647
|
-
for (this[
|
|
51648
|
-
this[
|
|
51649
|
-
return
|
|
51650
|
-
}, a.prototype.writeUIntBE = function(w,
|
|
51651
|
-
if (w = +w,
|
|
51647
|
+
for (this[k] = w & 255; ++Ye < Q && (ke *= 256); )
|
|
51648
|
+
this[k + Ye] = w / ke & 255;
|
|
51649
|
+
return k + Q;
|
|
51650
|
+
}, a.prototype.writeUIntBE = function(w, k, Q, $) {
|
|
51651
|
+
if (w = +w, k = k | 0, Q = Q | 0, !$) {
|
|
51652
51652
|
var he = Math.pow(2, 8 * Q) - 1;
|
|
51653
|
-
j(this, w,
|
|
51653
|
+
j(this, w, k, Q, he, 0);
|
|
51654
51654
|
}
|
|
51655
51655
|
var ke = Q - 1, Ye = 1;
|
|
51656
|
-
for (this[
|
|
51657
|
-
this[
|
|
51658
|
-
return
|
|
51659
|
-
}, a.prototype.writeUInt8 = function(w,
|
|
51660
|
-
return w = +w,
|
|
51656
|
+
for (this[k + ke] = w & 255; --ke >= 0 && (Ye *= 256); )
|
|
51657
|
+
this[k + ke] = w / Ye & 255;
|
|
51658
|
+
return k + Q;
|
|
51659
|
+
}, a.prototype.writeUInt8 = function(w, k, Q) {
|
|
51660
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 1, 255, 0), a.TYPED_ARRAY_SUPPORT || (w = Math.floor(w)), this[k] = w & 255, k + 1;
|
|
51661
51661
|
};
|
|
51662
|
-
function M(D, w,
|
|
51662
|
+
function M(D, w, k, Q) {
|
|
51663
51663
|
w < 0 && (w = 65535 + w + 1);
|
|
51664
|
-
for (var $ = 0, he = Math.min(D.length -
|
|
51665
|
-
D[
|
|
51664
|
+
for (var $ = 0, he = Math.min(D.length - k, 2); $ < he; ++$)
|
|
51665
|
+
D[k + $] = (w & 255 << 8 * (Q ? $ : 1 - $)) >>> (Q ? $ : 1 - $) * 8;
|
|
51666
51666
|
}
|
|
51667
|
-
a.prototype.writeUInt16LE = function(w,
|
|
51668
|
-
return w = +w,
|
|
51669
|
-
}, a.prototype.writeUInt16BE = function(w,
|
|
51670
|
-
return w = +w,
|
|
51667
|
+
a.prototype.writeUInt16LE = function(w, k, Q) {
|
|
51668
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 2, 65535, 0), a.TYPED_ARRAY_SUPPORT ? (this[k] = w & 255, this[k + 1] = w >>> 8) : M(this, w, k, !0), k + 2;
|
|
51669
|
+
}, a.prototype.writeUInt16BE = function(w, k, Q) {
|
|
51670
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 2, 65535, 0), a.TYPED_ARRAY_SUPPORT ? (this[k] = w >>> 8, this[k + 1] = w & 255) : M(this, w, k, !1), k + 2;
|
|
51671
51671
|
};
|
|
51672
|
-
function G(D, w,
|
|
51672
|
+
function G(D, w, k, Q) {
|
|
51673
51673
|
w < 0 && (w = 4294967295 + w + 1);
|
|
51674
|
-
for (var $ = 0, he = Math.min(D.length -
|
|
51675
|
-
D[
|
|
51676
|
-
}
|
|
51677
|
-
a.prototype.writeUInt32LE = function(w,
|
|
51678
|
-
return w = +w,
|
|
51679
|
-
}, a.prototype.writeUInt32BE = function(w,
|
|
51680
|
-
return w = +w,
|
|
51681
|
-
}, a.prototype.writeIntLE = function(w,
|
|
51682
|
-
if (w = +w,
|
|
51674
|
+
for (var $ = 0, he = Math.min(D.length - k, 4); $ < he; ++$)
|
|
51675
|
+
D[k + $] = w >>> (Q ? $ : 3 - $) * 8 & 255;
|
|
51676
|
+
}
|
|
51677
|
+
a.prototype.writeUInt32LE = function(w, k, Q) {
|
|
51678
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 4, 4294967295, 0), a.TYPED_ARRAY_SUPPORT ? (this[k + 3] = w >>> 24, this[k + 2] = w >>> 16, this[k + 1] = w >>> 8, this[k] = w & 255) : G(this, w, k, !0), k + 4;
|
|
51679
|
+
}, a.prototype.writeUInt32BE = function(w, k, Q) {
|
|
51680
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 4, 4294967295, 0), a.TYPED_ARRAY_SUPPORT ? (this[k] = w >>> 24, this[k + 1] = w >>> 16, this[k + 2] = w >>> 8, this[k + 3] = w & 255) : G(this, w, k, !1), k + 4;
|
|
51681
|
+
}, a.prototype.writeIntLE = function(w, k, Q, $) {
|
|
51682
|
+
if (w = +w, k = k | 0, !$) {
|
|
51683
51683
|
var he = Math.pow(2, 8 * Q - 1);
|
|
51684
|
-
j(this, w,
|
|
51684
|
+
j(this, w, k, Q, he - 1, -he);
|
|
51685
51685
|
}
|
|
51686
51686
|
var ke = 0, Ye = 1, nt = 0;
|
|
51687
|
-
for (this[
|
|
51688
|
-
w < 0 && nt === 0 && this[
|
|
51689
|
-
return
|
|
51690
|
-
}, a.prototype.writeIntBE = function(w,
|
|
51691
|
-
if (w = +w,
|
|
51687
|
+
for (this[k] = w & 255; ++ke < Q && (Ye *= 256); )
|
|
51688
|
+
w < 0 && nt === 0 && this[k + ke - 1] !== 0 && (nt = 1), this[k + ke] = (w / Ye >> 0) - nt & 255;
|
|
51689
|
+
return k + Q;
|
|
51690
|
+
}, a.prototype.writeIntBE = function(w, k, Q, $) {
|
|
51691
|
+
if (w = +w, k = k | 0, !$) {
|
|
51692
51692
|
var he = Math.pow(2, 8 * Q - 1);
|
|
51693
|
-
j(this, w,
|
|
51693
|
+
j(this, w, k, Q, he - 1, -he);
|
|
51694
51694
|
}
|
|
51695
51695
|
var ke = Q - 1, Ye = 1, nt = 0;
|
|
51696
|
-
for (this[
|
|
51697
|
-
w < 0 && nt === 0 && this[
|
|
51698
|
-
return
|
|
51699
|
-
}, a.prototype.writeInt8 = function(w,
|
|
51700
|
-
return w = +w,
|
|
51701
|
-
}, a.prototype.writeInt16LE = function(w,
|
|
51702
|
-
return w = +w,
|
|
51703
|
-
}, a.prototype.writeInt16BE = function(w,
|
|
51704
|
-
return w = +w,
|
|
51705
|
-
}, a.prototype.writeInt32LE = function(w,
|
|
51706
|
-
return w = +w,
|
|
51707
|
-
}, a.prototype.writeInt32BE = function(w,
|
|
51708
|
-
return w = +w,
|
|
51696
|
+
for (this[k + ke] = w & 255; --ke >= 0 && (Ye *= 256); )
|
|
51697
|
+
w < 0 && nt === 0 && this[k + ke + 1] !== 0 && (nt = 1), this[k + ke] = (w / Ye >> 0) - nt & 255;
|
|
51698
|
+
return k + Q;
|
|
51699
|
+
}, a.prototype.writeInt8 = function(w, k, Q) {
|
|
51700
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 1, 127, -128), a.TYPED_ARRAY_SUPPORT || (w = Math.floor(w)), w < 0 && (w = 255 + w + 1), this[k] = w & 255, k + 1;
|
|
51701
|
+
}, a.prototype.writeInt16LE = function(w, k, Q) {
|
|
51702
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 2, 32767, -32768), a.TYPED_ARRAY_SUPPORT ? (this[k] = w & 255, this[k + 1] = w >>> 8) : M(this, w, k, !0), k + 2;
|
|
51703
|
+
}, a.prototype.writeInt16BE = function(w, k, Q) {
|
|
51704
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 2, 32767, -32768), a.TYPED_ARRAY_SUPPORT ? (this[k] = w >>> 8, this[k + 1] = w & 255) : M(this, w, k, !1), k + 2;
|
|
51705
|
+
}, a.prototype.writeInt32LE = function(w, k, Q) {
|
|
51706
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 4, 2147483647, -2147483648), a.TYPED_ARRAY_SUPPORT ? (this[k] = w & 255, this[k + 1] = w >>> 8, this[k + 2] = w >>> 16, this[k + 3] = w >>> 24) : G(this, w, k, !0), k + 4;
|
|
51707
|
+
}, a.prototype.writeInt32BE = function(w, k, Q) {
|
|
51708
|
+
return w = +w, k = k | 0, Q || j(this, w, k, 4, 2147483647, -2147483648), w < 0 && (w = 4294967295 + w + 1), a.TYPED_ARRAY_SUPPORT ? (this[k] = w >>> 24, this[k + 1] = w >>> 16, this[k + 2] = w >>> 8, this[k + 3] = w & 255) : G(this, w, k, !1), k + 4;
|
|
51709
51709
|
};
|
|
51710
|
-
function ee(D, w,
|
|
51711
|
-
if (
|
|
51710
|
+
function ee(D, w, k, Q, $, he) {
|
|
51711
|
+
if (k + Q > D.length)
|
|
51712
51712
|
throw new RangeError("Index out of range");
|
|
51713
|
-
if (
|
|
51713
|
+
if (k < 0)
|
|
51714
51714
|
throw new RangeError("Index out of range");
|
|
51715
51715
|
}
|
|
51716
|
-
function re(D, w,
|
|
51717
|
-
return $ || ee(D, w,
|
|
51716
|
+
function re(D, w, k, Q, $) {
|
|
51717
|
+
return $ || ee(D, w, k, 4), r.write(D, w, k, Q, 23, 4), k + 4;
|
|
51718
51718
|
}
|
|
51719
|
-
a.prototype.writeFloatLE = function(w,
|
|
51720
|
-
return re(this, w,
|
|
51721
|
-
}, a.prototype.writeFloatBE = function(w,
|
|
51722
|
-
return re(this, w,
|
|
51719
|
+
a.prototype.writeFloatLE = function(w, k, Q) {
|
|
51720
|
+
return re(this, w, k, !0, Q);
|
|
51721
|
+
}, a.prototype.writeFloatBE = function(w, k, Q) {
|
|
51722
|
+
return re(this, w, k, !1, Q);
|
|
51723
51723
|
};
|
|
51724
|
-
function ce(D, w,
|
|
51725
|
-
return $ || ee(D, w,
|
|
51726
|
-
}
|
|
51727
|
-
a.prototype.writeDoubleLE = function(w,
|
|
51728
|
-
return ce(this, w,
|
|
51729
|
-
}, a.prototype.writeDoubleBE = function(w,
|
|
51730
|
-
return ce(this, w,
|
|
51731
|
-
}, a.prototype.copy = function(w,
|
|
51732
|
-
if (Q || (Q = 0), !$ && $ !== 0 && ($ = this.length),
|
|
51724
|
+
function ce(D, w, k, Q, $) {
|
|
51725
|
+
return $ || ee(D, w, k, 8), r.write(D, w, k, Q, 52, 8), k + 8;
|
|
51726
|
+
}
|
|
51727
|
+
a.prototype.writeDoubleLE = function(w, k, Q) {
|
|
51728
|
+
return ce(this, w, k, !0, Q);
|
|
51729
|
+
}, a.prototype.writeDoubleBE = function(w, k, Q) {
|
|
51730
|
+
return ce(this, w, k, !1, Q);
|
|
51731
|
+
}, a.prototype.copy = function(w, k, Q, $) {
|
|
51732
|
+
if (Q || (Q = 0), !$ && $ !== 0 && ($ = this.length), k >= w.length && (k = w.length), k || (k = 0), $ > 0 && $ < Q && ($ = Q), $ === Q || w.length === 0 || this.length === 0)
|
|
51733
51733
|
return 0;
|
|
51734
|
-
if (
|
|
51734
|
+
if (k < 0)
|
|
51735
51735
|
throw new RangeError("targetStart out of bounds");
|
|
51736
51736
|
if (Q < 0 || Q >= this.length)
|
|
51737
51737
|
throw new RangeError("sourceStart out of bounds");
|
|
51738
51738
|
if ($ < 0)
|
|
51739
51739
|
throw new RangeError("sourceEnd out of bounds");
|
|
51740
|
-
$ > this.length && ($ = this.length), w.length -
|
|
51740
|
+
$ > this.length && ($ = this.length), w.length - k < $ - Q && ($ = w.length - k + Q);
|
|
51741
51741
|
var he = $ - Q, ke;
|
|
51742
|
-
if (this === w && Q <
|
|
51742
|
+
if (this === w && Q < k && k < $)
|
|
51743
51743
|
for (ke = he - 1; ke >= 0; --ke)
|
|
51744
|
-
w[ke +
|
|
51744
|
+
w[ke + k] = this[ke + Q];
|
|
51745
51745
|
else if (he < 1e3 || !a.TYPED_ARRAY_SUPPORT)
|
|
51746
51746
|
for (ke = 0; ke < he; ++ke)
|
|
51747
|
-
w[ke +
|
|
51747
|
+
w[ke + k] = this[ke + Q];
|
|
51748
51748
|
else
|
|
51749
51749
|
Uint8Array.prototype.set.call(
|
|
51750
51750
|
w,
|
|
51751
51751
|
this.subarray(Q, Q + he),
|
|
51752
|
-
|
|
51752
|
+
k
|
|
51753
51753
|
);
|
|
51754
51754
|
return he;
|
|
51755
|
-
}, a.prototype.fill = function(w,
|
|
51755
|
+
}, a.prototype.fill = function(w, k, Q, $) {
|
|
51756
51756
|
if (typeof w == "string") {
|
|
51757
|
-
if (typeof
|
|
51757
|
+
if (typeof k == "string" ? ($ = k, k = 0, Q = this.length) : typeof Q == "string" && ($ = Q, Q = this.length), w.length === 1) {
|
|
51758
51758
|
var he = w.charCodeAt(0);
|
|
51759
51759
|
he < 256 && (w = he);
|
|
51760
51760
|
}
|
|
@@ -51764,19 +51764,19 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51764
51764
|
throw new TypeError("Unknown encoding: " + $);
|
|
51765
51765
|
} else
|
|
51766
51766
|
typeof w == "number" && (w = w & 255);
|
|
51767
|
-
if (
|
|
51767
|
+
if (k < 0 || this.length < k || this.length < Q)
|
|
51768
51768
|
throw new RangeError("Out of range index");
|
|
51769
|
-
if (Q <=
|
|
51769
|
+
if (Q <= k)
|
|
51770
51770
|
return this;
|
|
51771
|
-
|
|
51771
|
+
k = k >>> 0, Q = Q === void 0 ? this.length : Q >>> 0, w || (w = 0);
|
|
51772
51772
|
var ke;
|
|
51773
51773
|
if (typeof w == "number")
|
|
51774
|
-
for (ke =
|
|
51774
|
+
for (ke = k; ke < Q; ++ke)
|
|
51775
51775
|
this[ke] = w;
|
|
51776
51776
|
else {
|
|
51777
51777
|
var Ye = a.isBuffer(w) ? w : Le(new a(w, $).toString()), nt = Ye.length;
|
|
51778
|
-
for (ke = 0; ke < Q -
|
|
51779
|
-
this[ke +
|
|
51778
|
+
for (ke = 0; ke < Q - k; ++ke)
|
|
51779
|
+
this[ke + k] = Ye[ke % nt];
|
|
51780
51780
|
}
|
|
51781
51781
|
return this;
|
|
51782
51782
|
};
|
|
@@ -51796,53 +51796,53 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51796
51796
|
}
|
|
51797
51797
|
function Le(D, w) {
|
|
51798
51798
|
w = w || 1 / 0;
|
|
51799
|
-
for (var
|
|
51800
|
-
if (
|
|
51799
|
+
for (var k, Q = D.length, $ = null, he = [], ke = 0; ke < Q; ++ke) {
|
|
51800
|
+
if (k = D.charCodeAt(ke), k > 55295 && k < 57344) {
|
|
51801
51801
|
if (!$) {
|
|
51802
|
-
if (
|
|
51802
|
+
if (k > 56319) {
|
|
51803
51803
|
(w -= 3) > -1 && he.push(239, 191, 189);
|
|
51804
51804
|
continue;
|
|
51805
51805
|
} else if (ke + 1 === Q) {
|
|
51806
51806
|
(w -= 3) > -1 && he.push(239, 191, 189);
|
|
51807
51807
|
continue;
|
|
51808
51808
|
}
|
|
51809
|
-
$ =
|
|
51809
|
+
$ = k;
|
|
51810
51810
|
continue;
|
|
51811
51811
|
}
|
|
51812
|
-
if (
|
|
51813
|
-
(w -= 3) > -1 && he.push(239, 191, 189), $ =
|
|
51812
|
+
if (k < 56320) {
|
|
51813
|
+
(w -= 3) > -1 && he.push(239, 191, 189), $ = k;
|
|
51814
51814
|
continue;
|
|
51815
51815
|
}
|
|
51816
|
-
|
|
51816
|
+
k = ($ - 55296 << 10 | k - 56320) + 65536;
|
|
51817
51817
|
} else
|
|
51818
51818
|
$ && (w -= 3) > -1 && he.push(239, 191, 189);
|
|
51819
|
-
if ($ = null,
|
|
51819
|
+
if ($ = null, k < 128) {
|
|
51820
51820
|
if ((w -= 1) < 0)
|
|
51821
51821
|
break;
|
|
51822
|
-
he.push(
|
|
51823
|
-
} else if (
|
|
51822
|
+
he.push(k);
|
|
51823
|
+
} else if (k < 2048) {
|
|
51824
51824
|
if ((w -= 2) < 0)
|
|
51825
51825
|
break;
|
|
51826
51826
|
he.push(
|
|
51827
|
-
|
|
51828
|
-
|
|
51827
|
+
k >> 6 | 192,
|
|
51828
|
+
k & 63 | 128
|
|
51829
51829
|
);
|
|
51830
|
-
} else if (
|
|
51830
|
+
} else if (k < 65536) {
|
|
51831
51831
|
if ((w -= 3) < 0)
|
|
51832
51832
|
break;
|
|
51833
51833
|
he.push(
|
|
51834
|
-
|
|
51835
|
-
|
|
51836
|
-
|
|
51834
|
+
k >> 12 | 224,
|
|
51835
|
+
k >> 6 & 63 | 128,
|
|
51836
|
+
k & 63 | 128
|
|
51837
51837
|
);
|
|
51838
|
-
} else if (
|
|
51838
|
+
} else if (k < 1114112) {
|
|
51839
51839
|
if ((w -= 4) < 0)
|
|
51840
51840
|
break;
|
|
51841
51841
|
he.push(
|
|
51842
|
-
|
|
51843
|
-
|
|
51844
|
-
|
|
51845
|
-
|
|
51842
|
+
k >> 18 | 240,
|
|
51843
|
+
k >> 12 & 63 | 128,
|
|
51844
|
+
k >> 6 & 63 | 128,
|
|
51845
|
+
k & 63 | 128
|
|
51846
51846
|
);
|
|
51847
51847
|
} else
|
|
51848
51848
|
throw new Error("Invalid code point");
|
|
@@ -51850,21 +51850,21 @@ var gR = {}.toString, hR = Array.isArray || function(t) {
|
|
|
51850
51850
|
return he;
|
|
51851
51851
|
}
|
|
51852
51852
|
function Me(D) {
|
|
51853
|
-
for (var w = [],
|
|
51854
|
-
w.push(D.charCodeAt(
|
|
51853
|
+
for (var w = [], k = 0; k < D.length; ++k)
|
|
51854
|
+
w.push(D.charCodeAt(k) & 255);
|
|
51855
51855
|
return w;
|
|
51856
51856
|
}
|
|
51857
51857
|
function dt(D, w) {
|
|
51858
|
-
for (var
|
|
51859
|
-
|
|
51858
|
+
for (var k, Q, $, he = [], ke = 0; ke < D.length && !((w -= 2) < 0); ++ke)
|
|
51859
|
+
k = D.charCodeAt(ke), Q = k >> 8, $ = k % 256, he.push($), he.push(Q);
|
|
51860
51860
|
return he;
|
|
51861
51861
|
}
|
|
51862
51862
|
function Ee(D) {
|
|
51863
51863
|
return e.toByteArray(be(D));
|
|
51864
51864
|
}
|
|
51865
|
-
function Z(D, w,
|
|
51866
|
-
for (var $ = 0; $ < Q && !($ +
|
|
51867
|
-
w[$ +
|
|
51865
|
+
function Z(D, w, k, Q) {
|
|
51866
|
+
for (var $ = 0; $ < Q && !($ + k >= w.length || $ >= D.length); ++$)
|
|
51867
|
+
w[$ + k] = D[$];
|
|
51868
51868
|
return $;
|
|
51869
51869
|
}
|
|
51870
51870
|
function ft(D) {
|
|
@@ -52136,13 +52136,13 @@ function LR(t, e, r) {
|
|
|
52136
52136
|
d > 0 ? (s.lShiftTo(d, i), n.lShiftTo(d, r)) : (s.copyTo(i), n.copyTo(r));
|
|
52137
52137
|
var l = i.t, c = i[l - 1];
|
|
52138
52138
|
if (c != 0) {
|
|
52139
|
-
var A = c * (1 << this.F1) + (l > 1 ? i[l - 2] >> this.F2 : 0), h = this.FV / A, p = (1 << this.F1) / A, f = 1 << this.F2, y = r.t,
|
|
52140
|
-
for (i.dlShiftTo(
|
|
52139
|
+
var A = c * (1 << this.F1) + (l > 1 ? i[l - 2] >> this.F2 : 0), h = this.FV / A, p = (1 << this.F1) / A, f = 1 << this.F2, y = r.t, x = y - l, b = e == null ? en() : e;
|
|
52140
|
+
for (i.dlShiftTo(x, b), r.compareTo(b) >= 0 && (r[r.t++] = 1, r.subTo(b, r)), ot.ONE.dlShiftTo(l, b), b.subTo(i, i); i.t < l; )
|
|
52141
52141
|
i[i.t++] = 0;
|
|
52142
|
-
for (; --
|
|
52142
|
+
for (; --x >= 0; ) {
|
|
52143
52143
|
var C = r[--y] == c ? this.DM : Math.floor(r[y] * h + (r[y - 1] + f) * p);
|
|
52144
|
-
if ((r[y] += i.am(0, C, r,
|
|
52145
|
-
for (i.dlShiftTo(
|
|
52144
|
+
if ((r[y] += i.am(0, C, r, x, 0, l)) < C)
|
|
52145
|
+
for (i.dlShiftTo(x, b), r.subTo(b, r); r[y] < --C; )
|
|
52146
52146
|
r.subTo(b, r);
|
|
52147
52147
|
}
|
|
52148
52148
|
e != null && (r.drShiftTo(l, e), o != a && ot.ZERO.subTo(e, e)), r.t = l, r.clamp(), d > 0 && r.rShiftTo(d, r), o < 0 && ot.ZERO.subTo(r, r);
|
|
@@ -52238,7 +52238,7 @@ function t9(t, e, r) {
|
|
|
52238
52238
|
for (o.sqrTo(a[1], A); d <= c; )
|
|
52239
52239
|
a[d] = en(), o.mulTo(A, a[d - 2], a[d]), d += 2;
|
|
52240
52240
|
}
|
|
52241
|
-
var h = t.t - 1, p, f = !0, y = en(),
|
|
52241
|
+
var h = t.t - 1, p, f = !0, y = en(), x;
|
|
52242
52242
|
for (s = Mb(t[h]) - 1; h >= 0; ) {
|
|
52243
52243
|
for (s >= l ? p = t[h] >> s - l & c : (p = (t[h] & (1 << s + 1) - 1) << l - s, h > 0 && (p |= t[h - 1] >> this.DB + s - l)), d = n; !(p & 1); )
|
|
52244
52244
|
p >>= 1, --d;
|
|
@@ -52247,10 +52247,10 @@ function t9(t, e, r) {
|
|
|
52247
52247
|
else {
|
|
52248
52248
|
for (; d > 1; )
|
|
52249
52249
|
o.sqrTo(i, y), o.sqrTo(y, i), d -= 2;
|
|
52250
|
-
d > 0 ? o.sqrTo(i, y) : (
|
|
52250
|
+
d > 0 ? o.sqrTo(i, y) : (x = i, i = y, y = x), o.mulTo(y, a[p], i);
|
|
52251
52251
|
}
|
|
52252
52252
|
for (; h >= 0 && !(t[h] & 1 << s); )
|
|
52253
|
-
o.sqrTo(i, y),
|
|
52253
|
+
o.sqrTo(i, y), x = i, i = y, y = x, --s < 0 && (s = this.DB - 1, --h);
|
|
52254
52254
|
}
|
|
52255
52255
|
var b = o.revert(i);
|
|
52256
52256
|
return r(null, b), b;
|
|
@@ -52610,10 +52610,10 @@ var p9 = typeof navigator != "undefined", N3 = p9 ? BB.isReactNative ? "react-na
|
|
|
52610
52610
|
AuthParameters: c,
|
|
52611
52611
|
ClientMetadata: p
|
|
52612
52612
|
};
|
|
52613
|
-
i.getUserContextData(i.username) && (f.UserContextData = i.getUserContextData(i.username)), i.client.request("InitiateAuth", f, function(y,
|
|
52613
|
+
i.getUserContextData(i.username) && (f.UserContextData = i.getUserContextData(i.username)), i.client.request("InitiateAuth", f, function(y, x) {
|
|
52614
52614
|
if (y)
|
|
52615
52615
|
return n.onFailure(y);
|
|
52616
|
-
var b =
|
|
52616
|
+
var b = x.ChallengeParameters;
|
|
52617
52617
|
i.username = b.USER_ID_FOR_SRP, i.userDataKey = i.keyPrefix + "." + i.username + ".userData", d = new ot(b.SRP_B, 16), l = new ot(b.SALT, 16), i.getCachedDeviceKeyAndPassword(), o.getPasswordAuthenticationKey(i.username, s.getPassword(), d, l, function(C, I) {
|
|
52618
52618
|
C && n.onFailure(C);
|
|
52619
52619
|
var O = a.getNowString(), K = ar.Buffer.concat([ar.Buffer.from(i.pool.getUserPoolName(), "utf8"), ar.Buffer.from(i.username, "utf8"), ar.Buffer.from(b.SECRET_BLOCK, "base64"), ar.Buffer.from(O, "utf8")]), H = new al.Sha256(I);
|
|
@@ -52628,7 +52628,7 @@ var p9 = typeof navigator != "undefined", N3 = p9 ? BB.isReactNative ? "react-na
|
|
|
52628
52628
|
ChallengeName: "PASSWORD_VERIFIER",
|
|
52629
52629
|
ClientId: i.pool.getClientId(),
|
|
52630
52630
|
ChallengeResponses: X,
|
|
52631
|
-
Session:
|
|
52631
|
+
Session: x.Session,
|
|
52632
52632
|
ClientMetadata: p
|
|
52633
52633
|
};
|
|
52634
52634
|
i.getUserContextData() && (z.UserContextData = i.getUserContextData()), de(z, function(N, W) {
|
|
@@ -52685,14 +52685,14 @@ var p9 = typeof navigator != "undefined", N3 = p9 ? BB.isReactNative ? "react-na
|
|
|
52685
52685
|
n.generateHashDevice(s.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, s.AuthenticationResult.NewDeviceMetadata.DeviceKey, function(y) {
|
|
52686
52686
|
if (y)
|
|
52687
52687
|
return i.onFailure(y);
|
|
52688
|
-
var
|
|
52688
|
+
var x = {
|
|
52689
52689
|
Salt: ar.Buffer.from(n.getSaltDevices(), "hex").toString("base64"),
|
|
52690
52690
|
PasswordVerifier: ar.Buffer.from(n.getVerifierDevices(), "hex").toString("base64")
|
|
52691
52691
|
};
|
|
52692
|
-
o.verifierDevices =
|
|
52692
|
+
o.verifierDevices = x.PasswordVerifier, o.deviceGroupKey = f.DeviceGroupKey, o.randomPassword = n.getRandomPassword(), o.client.request("ConfirmDevice", {
|
|
52693
52693
|
DeviceKey: f.DeviceKey,
|
|
52694
52694
|
AccessToken: o.signInUserSession.getAccessToken().getJwtToken(),
|
|
52695
|
-
DeviceSecretVerifierConfig:
|
|
52695
|
+
DeviceSecretVerifierConfig: x,
|
|
52696
52696
|
DeviceName: N3
|
|
52697
52697
|
}, function(b, C) {
|
|
52698
52698
|
return b ? i.onFailure(b) : (o.deviceKey = s.AuthenticationResult.NewDeviceMetadata.DeviceKey, o.cacheDeviceKeyAndPassword(), C.UserConfirmationNecessary === !0 ? i.onSuccess(o.signInUserSession, C.UserConfirmationNecessary) : i.onSuccess(o.signInUserSession));
|
|
@@ -52730,8 +52730,8 @@ var p9 = typeof navigator != "undefined", N3 = p9 ? BB.isReactNative ? "react-na
|
|
|
52730
52730
|
i.getUserContextData() && (A.UserContextData = i.getUserContextData()), i.client.request("RespondToAuthChallenge", A, function(h, p) {
|
|
52731
52731
|
if (h)
|
|
52732
52732
|
return s.onFailure(h);
|
|
52733
|
-
var f = p.ChallengeParameters, y = new ot(f.SRP_B, 16),
|
|
52734
|
-
o.getPasswordAuthenticationKey(i.deviceKey, i.randomPassword, y,
|
|
52733
|
+
var f = p.ChallengeParameters, y = new ot(f.SRP_B, 16), x = new ot(f.SALT, 16);
|
|
52734
|
+
o.getPasswordAuthenticationKey(i.deviceKey, i.randomPassword, y, x, function(b, C) {
|
|
52735
52735
|
if (b)
|
|
52736
52736
|
return s.onFailure(b);
|
|
52737
52737
|
var I = a.getNowString(), O = ar.Buffer.concat([ar.Buffer.from(i.deviceGroupKey, "utf8"), ar.Buffer.from(i.deviceKey, "utf8"), ar.Buffer.from(f.SECRET_BLOCK, "base64"), ar.Buffer.from(I, "utf8")]), K = new al.Sha256(C);
|
|
@@ -52802,14 +52802,14 @@ var p9 = typeof navigator != "undefined", N3 = p9 ? BB.isReactNative ? "react-na
|
|
|
52802
52802
|
f.generateHashDevice(h.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, h.AuthenticationResult.NewDeviceMetadata.DeviceKey, function(y) {
|
|
52803
52803
|
if (y)
|
|
52804
52804
|
return n.onFailure(y);
|
|
52805
|
-
var
|
|
52805
|
+
var x = {
|
|
52806
52806
|
Salt: ar.Buffer.from(f.getSaltDevices(), "hex").toString("base64"),
|
|
52807
52807
|
PasswordVerifier: ar.Buffer.from(f.getVerifierDevices(), "hex").toString("base64")
|
|
52808
52808
|
};
|
|
52809
|
-
a.verifierDevices =
|
|
52809
|
+
a.verifierDevices = x.PasswordVerifier, a.deviceGroupKey = h.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, a.randomPassword = f.getRandomPassword(), a.client.request("ConfirmDevice", {
|
|
52810
52810
|
DeviceKey: h.AuthenticationResult.NewDeviceMetadata.DeviceKey,
|
|
52811
52811
|
AccessToken: a.signInUserSession.getAccessToken().getJwtToken(),
|
|
52812
|
-
DeviceSecretVerifierConfig:
|
|
52812
|
+
DeviceSecretVerifierConfig: x,
|
|
52813
52813
|
DeviceName: N3
|
|
52814
52814
|
}, function(b, C) {
|
|
52815
52815
|
return b ? n.onFailure(b) : (a.deviceKey = h.AuthenticationResult.NewDeviceMetadata.DeviceKey, a.cacheDeviceKeyAndPassword(), C.UserConfirmationNecessary === !0 ? n.onSuccess(a.signInUserSession, C.UserConfirmationNecessary) : n.onSuccess(a.signInUserSession));
|
|
@@ -53577,13 +53577,13 @@ var E9 = 55, j9 = /* @__PURE__ */ function() {
|
|
|
53577
53577
|
var f = h[p].split("="), y = f.slice(1).join("=");
|
|
53578
53578
|
!c && y.charAt(0) === '"' && (y = y.slice(1, -1));
|
|
53579
53579
|
try {
|
|
53580
|
-
var
|
|
53581
|
-
if (y = (i.read || i)(y,
|
|
53580
|
+
var x = s(f[0]);
|
|
53581
|
+
if (y = (i.read || i)(y, x) || s(y), c)
|
|
53582
53582
|
try {
|
|
53583
53583
|
y = JSON.parse(y);
|
|
53584
53584
|
} catch (b) {
|
|
53585
53585
|
}
|
|
53586
|
-
if (A[
|
|
53586
|
+
if (A[x] = y, l === x)
|
|
53587
53587
|
break;
|
|
53588
53588
|
} catch (b) {
|
|
53589
53589
|
}
|
|
@@ -53655,7 +53655,7 @@ im.exports;
|
|
|
53655
53655
|
(function(r) {
|
|
53656
53656
|
var s = e && !e.nodeType && e, n = t && !t.nodeType && t, i = typeof Ei == "object" && Ei;
|
|
53657
53657
|
(i.global === i || i.window === i || i.self === i) && (r = i);
|
|
53658
|
-
var o, a = 2147483647, d = 36, l = 1, c = 26, A = 38, h = 700, p = 72, f = 128, y = "-",
|
|
53658
|
+
var o, a = 2147483647, d = 36, l = 1, c = 26, A = 38, h = 700, p = 72, f = 128, y = "-", x = /^xn--/, b = /[^\x20-\x7E]/, C = /[\x2E\u3002\uFF0E\uFF61]/g, I = {
|
|
53659
53659
|
overflow: "Overflow: input needs wider integers to process",
|
|
53660
53660
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
53661
53661
|
"invalid-input": "Invalid input"
|
|
@@ -53729,7 +53729,7 @@ im.exports;
|
|
|
53729
53729
|
}
|
|
53730
53730
|
function ge(ae) {
|
|
53731
53731
|
return de(ae, function(Ce) {
|
|
53732
|
-
return
|
|
53732
|
+
return x.test(Ce) ? pe(Ce.slice(4).toLowerCase()) : Ce;
|
|
53733
53733
|
});
|
|
53734
53734
|
}
|
|
53735
53735
|
function Be(ae) {
|
|
@@ -53878,8 +53878,8 @@ Xo.prototype.parse = function(t, e, r) {
|
|
|
53878
53878
|
var f = a.indexOf(M3[p]);
|
|
53879
53879
|
f !== -1 && (h === -1 || f < h) && (h = f);
|
|
53880
53880
|
}
|
|
53881
|
-
var y,
|
|
53882
|
-
h === -1 ?
|
|
53881
|
+
var y, x;
|
|
53882
|
+
h === -1 ? x = a.lastIndexOf("@") : x = a.lastIndexOf("@", h), x !== -1 && (y = a.slice(0, x), a = a.slice(x + 1), this.auth = decodeURIComponent(y)), h = -1;
|
|
53883
53883
|
for (var p = 0; p < L3.length; p++) {
|
|
53884
53884
|
var f = a.indexOf(L3[p]);
|
|
53885
53885
|
f !== -1 && (h === -1 || f < h) && (h = f);
|
|
@@ -53971,8 +53971,8 @@ Xo.prototype.resolveObject = function(t) {
|
|
|
53971
53971
|
}
|
|
53972
53972
|
return r.slashes = r.slashes || t.slashes, r.href = r.format(), r;
|
|
53973
53973
|
}
|
|
53974
|
-
var f = r.pathname && r.pathname.charAt(0) === "/", y = t.host || t.pathname && t.pathname.charAt(0) === "/",
|
|
53975
|
-
if (O && (r.hostname = "", r.port = null, r.host && (C[0] === "" ? C[0] = r.host : C.unshift(r.host)), r.host = "", t.protocol && (t.hostname = null, t.port = null, t.host && (I[0] === "" ? I[0] = t.host : I.unshift(t.host)), t.host = null),
|
|
53974
|
+
var f = r.pathname && r.pathname.charAt(0) === "/", y = t.host || t.pathname && t.pathname.charAt(0) === "/", x = y || f || r.host && t.pathname, b = x, C = r.pathname && r.pathname.split("/") || [], I = t.pathname && t.pathname.split("/") || [], O = r.protocol && !uu[r.protocol];
|
|
53975
|
+
if (O && (r.hostname = "", r.port = null, r.host && (C[0] === "" ? C[0] = r.host : C.unshift(r.host)), r.host = "", t.protocol && (t.hostname = null, t.port = null, t.host && (I[0] === "" ? I[0] = t.host : I.unshift(t.host)), t.host = null), x = x && (I[0] === "" || C[0] === "")), y)
|
|
53976
53976
|
r.host = t.host || t.host === "" ? t.host : r.host, r.hostname = t.hostname || t.hostname === "" ? t.hostname : r.hostname, r.search = t.search, r.query = t.query, C = I;
|
|
53977
53977
|
else if (I.length)
|
|
53978
53978
|
C || (C = []), C.pop(), C = C.concat(I), r.search = t.search, r.query = t.query;
|
|
@@ -53988,17 +53988,17 @@ Xo.prototype.resolveObject = function(t) {
|
|
|
53988
53988
|
return r.pathname = null, r.search ? r.path = "/" + r.search : r.path = null, r.href = r.format(), r;
|
|
53989
53989
|
for (var H = C.slice(-1)[0], q = (r.host || t.host || C.length > 1) && (H === "." || H === "..") || H === "", L = 0, X = C.length; X >= 0; X--)
|
|
53990
53990
|
H = C[X], H === "." ? C.splice(X, 1) : H === ".." ? (C.splice(X, 1), L++) : L && (C.splice(X, 1), L--);
|
|
53991
|
-
if (!
|
|
53991
|
+
if (!x && !b)
|
|
53992
53992
|
for (; L--; L)
|
|
53993
53993
|
C.unshift("..");
|
|
53994
|
-
|
|
53994
|
+
x && C[0] !== "" && (!C[0] || C[0].charAt(0) !== "/") && C.unshift(""), q && C.join("/").substr(-1) !== "/" && C.push("");
|
|
53995
53995
|
var de = C[0] === "" || C[0] && C[0].charAt(0) === "/";
|
|
53996
53996
|
if (O) {
|
|
53997
53997
|
r.hostname = r.host = de ? "" : C.length ? C.shift() : "";
|
|
53998
53998
|
var K = r.host && r.host.indexOf("@") > 0 ? r.host.split("@") : !1;
|
|
53999
53999
|
K && (r.auth = K.shift(), r.host = r.hostname = K.shift());
|
|
54000
54000
|
}
|
|
54001
|
-
return
|
|
54001
|
+
return x = x || r.host && C.length, x && !de && C.unshift(""), C.length ? r.pathname = C.join("/") : (r.pathname = null, r.path = null), (!Wo.isNull(r.pathname) || !Wo.isNull(r.search)) && (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.auth = t.auth || r.auth, r.slashes = r.slashes || t.slashes, r.href = r.format(), r;
|
|
54002
54002
|
};
|
|
54003
54003
|
Xo.prototype.parseHost = function() {
|
|
54004
54004
|
var t = this.host, e = D9.exec(t);
|
|
@@ -54039,13 +54039,13 @@ var q9 = "_self", H9 = function(t) {
|
|
|
54039
54039
|
var l = this._generateRandom(128);
|
|
54040
54040
|
G9(l);
|
|
54041
54041
|
var c = this._generateChallenge(l), A = "S256", h = this._scopes.join(" "), p = Object.entries(xs(xs({ redirect_uri: s, response_type: e, client_id: n, identity_provider: i, scope: h, state: d }, e === "code" ? { code_challenge: c } : {}), e === "code" ? { code_challenge_method: A } : {})).map(function(y) {
|
|
54042
|
-
var
|
|
54042
|
+
var x = Go(y, 2), b = x[0], C = x[1];
|
|
54043
54043
|
return encodeURIComponent(b) + "=" + encodeURIComponent(C);
|
|
54044
54044
|
}).join("&"), f = "https://" + r + "/oauth2/authorize?" + p;
|
|
54045
54045
|
Nc.debug("Redirecting to " + f), this._urlOpener(f, s);
|
|
54046
54046
|
}, t.prototype._handleCodeFlow = function(e) {
|
|
54047
54047
|
return Lt(this, void 0, void 0, function() {
|
|
54048
|
-
var r, s, n, i, o, a, d, l, c, A, h, p, f, y,
|
|
54048
|
+
var r, s, n, i, o, a, d, l, c, A, h, p, f, y, x, b;
|
|
54049
54049
|
return Mt(this, function(C) {
|
|
54050
54050
|
switch (C.label) {
|
|
54051
54051
|
case 0:
|
|
@@ -54078,8 +54078,8 @@ var q9 = "_self", H9 = function(t) {
|
|
|
54078
54078
|
case 1:
|
|
54079
54079
|
return [4, C.sent().json()];
|
|
54080
54080
|
case 2:
|
|
54081
|
-
if (h = C.sent(), p = h.access_token, f = h.refresh_token, y = h.id_token,
|
|
54082
|
-
throw new Error(
|
|
54081
|
+
if (h = C.sent(), p = h.access_token, f = h.refresh_token, y = h.id_token, x = h.error, x)
|
|
54082
|
+
throw new Error(x);
|
|
54083
54083
|
return [2, {
|
|
54084
54084
|
accessToken: p,
|
|
54085
54085
|
refreshToken: f,
|
|
@@ -54330,13 +54330,13 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
54330
54330
|
Qe.debug("configure Auth");
|
|
54331
54331
|
var s = Object.assign({}, this._config, cB(e).Auth, e);
|
|
54332
54332
|
this._config = s;
|
|
54333
|
-
var n = this._config, i = n.userPoolId, o = n.userPoolWebClientId, a = n.cookieStorage, d = n.oauth, l = n.region, c = n.identityPoolId, A = n.mandatorySignIn, h = n.refreshHandlers, p = n.identityPoolRegion, f = n.clientMetadata, y = n.endpoint,
|
|
54334
|
-
if (!
|
|
54333
|
+
var n = this._config, i = n.userPoolId, o = n.userPoolWebClientId, a = n.cookieStorage, d = n.oauth, l = n.region, c = n.identityPoolId, A = n.mandatorySignIn, h = n.refreshHandlers, p = n.identityPoolRegion, f = n.clientMetadata, y = n.endpoint, x = n.storage;
|
|
54334
|
+
if (!x)
|
|
54335
54335
|
a ? this._storage = new S9(a) : this._storage = e.ssr ? new tR() : new uB().getStorage();
|
|
54336
54336
|
else {
|
|
54337
|
-
if (!this._isValidAuthStorage(
|
|
54337
|
+
if (!this._isValidAuthStorage(x))
|
|
54338
54338
|
throw Qe.error("The storage in the Auth config is not valid!"), new Error("Empty storage object");
|
|
54339
|
-
this._storage =
|
|
54339
|
+
this._storage = x;
|
|
54340
54340
|
}
|
|
54341
54341
|
if (this._storageSync = Promise.resolve(), typeof this._storage.sync == "function" && (this._storageSync = this._storage.sync()), i) {
|
|
54342
54342
|
var b = {
|
|
@@ -54394,8 +54394,8 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
54394
54394
|
var d = null, l = null, c = [], A = null, h, p = { enabled: !1 }, f = {}, y = {};
|
|
54395
54395
|
if (e && typeof e == "string") {
|
|
54396
54396
|
d = e, l = s ? s[0] : null;
|
|
54397
|
-
var
|
|
54398
|
-
|
|
54397
|
+
var x = s ? s[1] : null, b = s ? s[2] : null;
|
|
54398
|
+
x && c.push(new Xc({ Name: "email", Value: x })), b && c.push(new Xc({
|
|
54399
54399
|
Name: "phone_number",
|
|
54400
54400
|
Value: b
|
|
54401
54401
|
}));
|
|
@@ -54771,15 +54771,15 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
54771
54771
|
e.setUserMfaPreference(i, o, function(f, y) {
|
|
54772
54772
|
if (f)
|
|
54773
54773
|
return Qe.debug("Set user mfa preference error", f), p(f);
|
|
54774
|
-
Qe.debug("Set user mfa success", y), Qe.debug("Caching the latest user data into local"), e.getUserData(function(
|
|
54774
|
+
Qe.debug("Set user mfa success", y), Qe.debug("Caching the latest user data into local"), e.getUserData(function(x, b) {
|
|
54775
54775
|
return Lt(c, void 0, void 0, function() {
|
|
54776
54776
|
var C;
|
|
54777
54777
|
return Mt(this, function(I) {
|
|
54778
54778
|
switch (I.label) {
|
|
54779
54779
|
case 0:
|
|
54780
|
-
if (!
|
|
54780
|
+
if (!x)
|
|
54781
54781
|
return [3, 5];
|
|
54782
|
-
if (Qe.debug("getting user data failed",
|
|
54782
|
+
if (Qe.debug("getting user data failed", x), !this.isSessionInvalid(x))
|
|
54783
54783
|
return [3, 4];
|
|
54784
54784
|
I.label = 1;
|
|
54785
54785
|
case 1:
|
|
@@ -54787,12 +54787,12 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
54787
54787
|
case 2:
|
|
54788
54788
|
return I.sent(), [3, 4];
|
|
54789
54789
|
case 3:
|
|
54790
|
-
return C = I.sent(), p(new Error("Session is invalid due to: " +
|
|
54790
|
+
return C = I.sent(), p(new Error("Session is invalid due to: " + x.message + " and failed to clean up invalid session: " + C.message)), [
|
|
54791
54791
|
2
|
|
54792
54792
|
/*return*/
|
|
54793
54793
|
];
|
|
54794
54794
|
case 4:
|
|
54795
|
-
return [2, p(
|
|
54795
|
+
return [2, p(x)];
|
|
54796
54796
|
case 5:
|
|
54797
54797
|
return [2, h(y)];
|
|
54798
54798
|
}
|
|
@@ -55007,17 +55007,17 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55007
55007
|
case 4:
|
|
55008
55008
|
return [2, o(c)];
|
|
55009
55009
|
case 5:
|
|
55010
|
-
a.deleteUser(function(y,
|
|
55010
|
+
a.deleteUser(function(y, x) {
|
|
55011
55011
|
if (y)
|
|
55012
55012
|
o(y);
|
|
55013
55013
|
else {
|
|
55014
|
-
Rt("userDeleted",
|
|
55014
|
+
Rt("userDeleted", x, "The authenticated user has been deleted."), a.signOut(), p.user = null;
|
|
55015
55015
|
try {
|
|
55016
55016
|
p.cleanCachedItems();
|
|
55017
55017
|
} catch (b) {
|
|
55018
55018
|
Qe.debug("failed to clear cached items");
|
|
55019
55019
|
}
|
|
55020
|
-
r ? p.oAuthSignOutRedirect(i, o) : (Rt("signOut", p.user, "A user has been signed out"), i(
|
|
55020
|
+
r ? p.oAuthSignOutRedirect(i, o) : (Rt("signOut", p.user, "A user has been signed out"), i(x));
|
|
55021
55021
|
}
|
|
55022
55022
|
}), f.label = 6;
|
|
55023
55023
|
case 6:
|
|
@@ -55146,12 +55146,12 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55146
55146
|
case 0:
|
|
55147
55147
|
return this.isOAuthInProgress() ? (Qe.debug("OAuth signIn in progress, waiting for resolution..."), [4, new Promise(function(f) {
|
|
55148
55148
|
var y = setTimeout(function() {
|
|
55149
|
-
Qe.debug("OAuth signIn in progress timeout"), Yo.remove("auth",
|
|
55149
|
+
Qe.debug("OAuth signIn in progress timeout"), Yo.remove("auth", x), f();
|
|
55150
55150
|
}, rQ);
|
|
55151
|
-
Yo.listen("auth",
|
|
55152
|
-
function
|
|
55151
|
+
Yo.listen("auth", x);
|
|
55152
|
+
function x(b) {
|
|
55153
55153
|
var C = b.payload, I = C.event;
|
|
55154
|
-
(I === "cognitoHostedUI" || I === "cognitoHostedUI_failure") && (Qe.debug("OAuth signIn resolved: " + I), clearTimeout(y), Yo.remove("auth",
|
|
55154
|
+
(I === "cognitoHostedUI" || I === "cognitoHostedUI_failure") && (Qe.debug("OAuth signIn resolved: " + I), clearTimeout(y), Yo.remove("auth", x), f());
|
|
55155
55155
|
}
|
|
55156
55156
|
})]) : [3, 2];
|
|
55157
55157
|
case 1:
|
|
@@ -55173,7 +55173,7 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55173
55173
|
if (d = this._config.clientMetadata, l = o.getAccessToken().decodePayload().scope, c = l === void 0 ? "" : l, c.split(" ").includes(H3))
|
|
55174
55174
|
i.getUserData(function(f, y) {
|
|
55175
55175
|
return Lt(h, void 0, void 0, function() {
|
|
55176
|
-
var
|
|
55176
|
+
var x, b, C, I, O, K, H;
|
|
55177
55177
|
return Mt(this, function(q) {
|
|
55178
55178
|
switch (q.label) {
|
|
55179
55179
|
case 0:
|
|
@@ -55187,7 +55187,7 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55187
55187
|
case 2:
|
|
55188
55188
|
return q.sent(), [3, 4];
|
|
55189
55189
|
case 3:
|
|
55190
|
-
return
|
|
55190
|
+
return x = q.sent(), n(new Error("Session is invalid due to: " + f.message + " and failed to clean up invalid session: " + x.message)), [
|
|
55191
55191
|
2
|
|
55192
55192
|
/*return*/
|
|
55193
55193
|
];
|
|
@@ -55636,7 +55636,7 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55636
55636
|
try {
|
|
55637
55637
|
l = JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user), l && Qe.warn("There is already a signed in user: " + l + ` in your app.
|
|
55638
55638
|
You should not call Auth.federatedSignIn method again as it may cause unexpected behavior.`);
|
|
55639
|
-
} catch (
|
|
55639
|
+
} catch (x) {
|
|
55640
55640
|
}
|
|
55641
55641
|
return c = r.token, A = r.identity_id, h = r.expires_at, [4, this.Credentials.set({ provider: d, token: c, identity_id: A, user: s, expires_at: h }, "federation")];
|
|
55642
55642
|
case 2:
|
|
@@ -55654,17 +55654,17 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55654
55654
|
}, t.prototype._handleAuthResponse = function(e) {
|
|
55655
55655
|
return Lt(this, void 0, void 0, function() {
|
|
55656
55656
|
var r, s, n, i, o, a, d, l, c, A, h, p, f, y;
|
|
55657
|
-
return Mt(this, function(
|
|
55658
|
-
switch (
|
|
55657
|
+
return Mt(this, function(x) {
|
|
55658
|
+
switch (x.label) {
|
|
55659
55659
|
case 0:
|
|
55660
55660
|
if (this.oAuthFlowInProgress)
|
|
55661
55661
|
return Qe.debug("Skipping URL " + e + " current flow in progress"), [
|
|
55662
55662
|
2
|
|
55663
55663
|
/*return*/
|
|
55664
55664
|
];
|
|
55665
|
-
|
|
55665
|
+
x.label = 1;
|
|
55666
55666
|
case 1:
|
|
55667
|
-
if (
|
|
55667
|
+
if (x.trys.push([1, , 8, 9]), this.oAuthFlowInProgress = !0, !this._config.userPoolId)
|
|
55668
55668
|
throw new Error("OAuth responses require a User Pool defined in config");
|
|
55669
55669
|
if (Rt("parsingCallbackUrl", { url: e }, "The callback url is being parsed"), r = e || (ta().isBrowser ? window.location.href : ""), s = !!(Wa(r).query || "").split("&").map(function(b) {
|
|
55670
55670
|
return b.split("=");
|
|
@@ -55678,11 +55678,11 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55678
55678
|
return I === "access_token" || I === "error";
|
|
55679
55679
|
}), !(s || n))
|
|
55680
55680
|
return [3, 7];
|
|
55681
|
-
this._storage.setItem("amplify-redirected-from-hosted-ui", "true"),
|
|
55681
|
+
this._storage.setItem("amplify-redirected-from-hosted-ui", "true"), x.label = 2;
|
|
55682
55682
|
case 2:
|
|
55683
|
-
return
|
|
55683
|
+
return x.trys.push([2, 6, , 7]), [4, this._oAuthHandler.handleAuthResponse(r)];
|
|
55684
55684
|
case 3:
|
|
55685
|
-
return i =
|
|
55685
|
+
return i = x.sent(), o = i.accessToken, a = i.idToken, d = i.refreshToken, l = i.state, c = new Lv({
|
|
55686
55686
|
IdToken: new Nv({ IdToken: a }),
|
|
55687
55687
|
RefreshToken: new Ov({
|
|
55688
55688
|
RefreshToken: d
|
|
@@ -55692,11 +55692,11 @@ var $9 = new Ni("AuthError"), qa = (
|
|
|
55692
55692
|
})
|
|
55693
55693
|
}), A = void 0, this._config.identityPoolId ? [4, this.Credentials.set(c, "session")] : [3, 5];
|
|
55694
55694
|
case 4:
|
|
55695
|
-
A =
|
|
55695
|
+
A = x.sent(), Qe.debug("AWS credentials", A), x.label = 5;
|
|
55696
55696
|
case 5:
|
|
55697
55697
|
return h = /-/.test(l), p = this.createCognitoUser(c.getIdToken().decodePayload()["cognito:username"]), p.setSignInUserSession(c), window && typeof window.history != "undefined" && window.history.replaceState(window.history.state, "", this._config.oauth.redirectSignIn), Rt("signIn", p, "A user " + p.getUsername() + " has been signed in"), Rt("cognitoHostedUI", p, "A user " + p.getUsername() + " has been signed in via Cognito Hosted UI"), h && (f = l.split("-").splice(1).join("-"), Rt("customOAuthState", kT(f), "State for user " + p.getUsername())), [2, A];
|
|
55698
55698
|
case 6:
|
|
55699
|
-
return y =
|
|
55699
|
+
return y = x.sent(), Qe.debug("Error in cognito hosted auth response", y), window && typeof window.history != "undefined" && window.history.replaceState(window.history.state, "", this._config.oauth.redirectSignIn), Rt("signIn_failure", y, "The OAuth response flow failed"), Rt("cognitoHostedUI_failure", y, "A failure occurred when returning to the Cognito Hosted UI"), Rt("customState_failure", y, "A failure occurred when returning state"), [3, 7];
|
|
55700
55700
|
case 7:
|
|
55701
55701
|
return [3, 9];
|
|
55702
55702
|
case 8:
|
|
@@ -58164,9 +58164,9 @@ const hN = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
|
|
|
58164
58164
|
(d, l, c) => l !== c.findIndex((A) => A.installments === d.installments)
|
|
58165
58165
|
);
|
|
58166
58166
|
return a.length > 0 ? o.map((c) => {
|
|
58167
|
-
const A = a.some((
|
|
58168
|
-
(
|
|
58169
|
-
), p = r.find((
|
|
58167
|
+
const A = a.some((x) => x.installments === c.installments), h = n.find(
|
|
58168
|
+
(x) => x.installments === c.installments
|
|
58169
|
+
), p = r.find((x) => x.installments === c.installments), f = s.find((x) => x.installments === c.installments), y = i.find((x) => x.installments === c.installments);
|
|
58170
58170
|
return A ? p ? fN(r).find((b) => (b == null ? void 0 : b.installments) === (c == null ? void 0 : c.installments)) : mN([f, h, y]) : c;
|
|
58171
58171
|
}).filter(
|
|
58172
58172
|
(c, A, h) => c && A === h.findIndex((p) => (p == null ? void 0 : p.installments) === (c == null ? void 0 : c.installments))
|
|
@@ -63190,8 +63190,8 @@ jo.testAlphanumeric = function(e) {
|
|
|
63190
63190
|
function c(h, p) {
|
|
63191
63191
|
let f = 0;
|
|
63192
63192
|
return h.forEach(function(y) {
|
|
63193
|
-
const
|
|
63194
|
-
f +=
|
|
63193
|
+
const x = l(y.mode, p);
|
|
63194
|
+
f += x + y.getBitsLength();
|
|
63195
63195
|
}), f;
|
|
63196
63196
|
}
|
|
63197
63197
|
function A(h, p) {
|
|
@@ -63205,7 +63205,7 @@ jo.testAlphanumeric = function(e) {
|
|
|
63205
63205
|
if (!i.isValid(p))
|
|
63206
63206
|
throw new Error("Invalid QR Code version");
|
|
63207
63207
|
typeof y == "undefined" && (y = n.BYTE);
|
|
63208
|
-
const
|
|
63208
|
+
const x = e.getSymbolTotalCodewords(p), b = r.getTotalCodewordsCount(p, f), C = (x - b) * 8;
|
|
63209
63209
|
if (y === n.MIXED)
|
|
63210
63210
|
return C;
|
|
63211
63211
|
const I = C - l(y, p);
|
|
@@ -63222,16 +63222,16 @@ jo.testAlphanumeric = function(e) {
|
|
|
63222
63222
|
}
|
|
63223
63223
|
}, t.getBestVersionForData = function(p, f) {
|
|
63224
63224
|
let y;
|
|
63225
|
-
const
|
|
63225
|
+
const x = s.from(f, s.M);
|
|
63226
63226
|
if (Array.isArray(p)) {
|
|
63227
63227
|
if (p.length > 1)
|
|
63228
|
-
return A(p,
|
|
63228
|
+
return A(p, x);
|
|
63229
63229
|
if (p.length === 0)
|
|
63230
63230
|
return 1;
|
|
63231
63231
|
y = p[0];
|
|
63232
63232
|
} else
|
|
63233
63233
|
y = p;
|
|
63234
|
-
return d(y.mode, y.getLength(),
|
|
63234
|
+
return d(y.mode, y.getLength(), x);
|
|
63235
63235
|
}, t.getEncodedBits = function(p) {
|
|
63236
63236
|
if (!i.isValid(p) || p < 7)
|
|
63237
63237
|
throw new Error("Invalid QR Code version");
|
|
@@ -63395,10 +63395,10 @@ var dL = Uu, sC = { exports: {} };
|
|
|
63395
63395
|
o[s] = 0;
|
|
63396
63396
|
var a = e.PriorityQueue.make();
|
|
63397
63397
|
a.push(s, 0);
|
|
63398
|
-
for (var d, l, c, A, h, p, f, y,
|
|
63398
|
+
for (var d, l, c, A, h, p, f, y, x; !a.empty(); ) {
|
|
63399
63399
|
d = a.pop(), l = d.value, A = d.cost, h = r[l] || {};
|
|
63400
63400
|
for (c in h)
|
|
63401
|
-
h.hasOwnProperty(c) && (p = h[c], f = A + p, y = o[c],
|
|
63401
|
+
h.hasOwnProperty(c) && (p = h[c], f = A + p, y = o[c], x = typeof o[c] == "undefined", (x || y > f) && (o[c] = f, a.push(c, f), i[c] = l));
|
|
63402
63402
|
}
|
|
63403
63403
|
if (typeof n != "undefined" && typeof o[n] == "undefined") {
|
|
63404
63404
|
var b = ["Could not find a path from ", s, " to ", n, "."].join("");
|
|
@@ -63553,7 +63553,7 @@ var cL = sC.exports;
|
|
|
63553
63553
|
O[K[H]].end = 0;
|
|
63554
63554
|
return { map: O, table: I };
|
|
63555
63555
|
}
|
|
63556
|
-
function
|
|
63556
|
+
function x(b, C) {
|
|
63557
63557
|
let I;
|
|
63558
63558
|
const O = e.getBestModeForData(b);
|
|
63559
63559
|
if (I = e.from(C, O), I !== e.BYTE && I.bit < O.bit)
|
|
@@ -63572,7 +63572,7 @@ var cL = sC.exports;
|
|
|
63572
63572
|
}
|
|
63573
63573
|
t.fromArray = function(C) {
|
|
63574
63574
|
return C.reduce(function(I, O) {
|
|
63575
|
-
return typeof O == "string" ? I.push(
|
|
63575
|
+
return typeof O == "string" ? I.push(x(O, null)) : O.data && I.push(x(O.data, O.mode)), I;
|
|
63576
63576
|
}, []);
|
|
63577
63577
|
}, t.fromString = function(C, I) {
|
|
63578
63578
|
const O = A(C, a.isKanjiModeEnabled()), K = f(O), H = y(K, I), q = d.find_path(H.map, "start", "end"), L = [];
|
|
@@ -63657,12 +63657,12 @@ function kL(t, e, r) {
|
|
|
63657
63657
|
function BL(t, e, r) {
|
|
63658
63658
|
const s = yf.getSymbolTotalCodewords(e), n = n2.getTotalCodewordsCount(e, r), i = s - n, o = n2.getBlocksCount(e, r), a = s % o, d = o - a, l = Math.floor(s / o), c = Math.floor(i / o), A = c + 1, h = l - c, p = new hL(h);
|
|
63659
63659
|
let f = 0;
|
|
63660
|
-
const y = new Array(o),
|
|
63660
|
+
const y = new Array(o), x = new Array(o);
|
|
63661
63661
|
let b = 0;
|
|
63662
63662
|
const C = new Uint8Array(t.buffer);
|
|
63663
63663
|
for (let q = 0; q < o; q++) {
|
|
63664
63664
|
const L = q < d ? c : A;
|
|
63665
|
-
y[q] = C.slice(f, f + L),
|
|
63665
|
+
y[q] = C.slice(f, f + L), x[q] = p.encode(y[q]), f += L, b = Math.max(b, L);
|
|
63666
63666
|
}
|
|
63667
63667
|
const I = new Uint8Array(s);
|
|
63668
63668
|
let O = 0, K, H;
|
|
@@ -63671,7 +63671,7 @@ function BL(t, e, r) {
|
|
|
63671
63671
|
K < y[H].length && (I[O++] = y[H][K]);
|
|
63672
63672
|
for (K = 0; K < h; K++)
|
|
63673
63673
|
for (H = 0; H < o; H++)
|
|
63674
|
-
I[O++] =
|
|
63674
|
+
I[O++] = x[H][K];
|
|
63675
63675
|
return I;
|
|
63676
63676
|
}
|
|
63677
63677
|
function CL(t, e, r, s) {
|
|
@@ -63762,8 +63762,8 @@ var nC = {}, ow = {};
|
|
|
63762
63762
|
for (let p = 0; p < l; p++) {
|
|
63763
63763
|
let f = (h * l + p) * 4, y = i.color.light;
|
|
63764
63764
|
if (h >= c && p >= c && h < l - c && p < l - c) {
|
|
63765
|
-
const
|
|
63766
|
-
y = A[a[
|
|
63765
|
+
const x = Math.floor((h - c) / d), b = Math.floor((p - c) / d);
|
|
63766
|
+
y = A[a[x * o + b] ? 1 : 0];
|
|
63767
63767
|
}
|
|
63768
63768
|
s[f++] = y.r, s[f++] = y.g, s[f++] = y.b, s[f] = y.a;
|
|
63769
63769
|
}
|
|
@@ -65351,9 +65351,9 @@ var D6 = function(t, e) {
|
|
|
65351
65351
|
l = null;
|
|
65352
65352
|
}
|
|
65353
65353
|
}
|
|
65354
|
-
return t.map(function(y,
|
|
65354
|
+
return t.map(function(y, x) {
|
|
65355
65355
|
var b = y.color;
|
|
65356
|
-
return { color: b, stop: Math.max(Math.min(1, n[
|
|
65356
|
+
return { color: b, stop: Math.max(Math.min(1, n[x] / e), 0) };
|
|
65357
65357
|
});
|
|
65358
65358
|
}, Eq = function(t, e, r) {
|
|
65359
65359
|
var s = e / 2, n = r / 2, i = pr(t[0], e) - s, o = n - pr(t[1], r);
|
|
@@ -67767,15 +67767,15 @@ var xV = 1, Py = 2, Ty = 3, K6 = 4, G6 = 5, kV = 7, Y6 = 8, zy = 9, Dy = 10, W6
|
|
|
67767
67767
|
var p = A.values.filter(tr);
|
|
67768
67768
|
p.length && l.appendChild(a.createTextNode(e.getAttribute(p[0].value) || ""));
|
|
67769
67769
|
} else if (A.name === "counter") {
|
|
67770
|
-
var f = A.values.filter(Pu), y = f[0],
|
|
67770
|
+
var f = A.values.filter(Pu), y = f[0], x = f[1];
|
|
67771
67771
|
if (y && tr(y)) {
|
|
67772
|
-
var b = i.counters.getCounterValue(y.value), C =
|
|
67772
|
+
var b = i.counters.getCounterValue(y.value), C = x && tr(x) ? b2.parse(i.context, x.value) : 3;
|
|
67773
67773
|
l.appendChild(a.createTextNode(Lp(b, C, !1)));
|
|
67774
67774
|
}
|
|
67775
67775
|
} else if (A.name === "counters") {
|
|
67776
|
-
var I = A.values.filter(Pu), y = I[0], O = I[1],
|
|
67776
|
+
var I = A.values.filter(Pu), y = I[0], O = I[1], x = I[2];
|
|
67777
67777
|
if (y && tr(y)) {
|
|
67778
|
-
var K = i.counters.getCounterValues(y.value), H =
|
|
67778
|
+
var K = i.counters.getCounterValues(y.value), H = x && tr(x) ? b2.parse(i.context, x.value) : 3, q = O && O.type === 0 ? O.value : "", L = K.map(function(z) {
|
|
67779
67779
|
return Lp(z, H, !1);
|
|
67780
67780
|
}).join(q);
|
|
67781
67781
|
l.appendChild(a.createTextNode(L));
|
|
@@ -68000,9 +68000,9 @@ var dK = function(t, e) {
|
|
|
68000
68000
|
/** @class */
|
|
68001
68001
|
function() {
|
|
68002
68002
|
function t(e) {
|
|
68003
|
-
var r = e.styles, s = e.bounds, n = np(r.borderTopLeftRadius, s.width, s.height), i = n[0], o = n[1], a = np(r.borderTopRightRadius, s.width, s.height), d = a[0], l = a[1], c = np(r.borderBottomRightRadius, s.width, s.height), A = c[0], h = c[1], p = np(r.borderBottomLeftRadius, s.width, s.height), f = p[0], y = p[1],
|
|
68004
|
-
|
|
68005
|
-
var b = Math.max.apply(Math,
|
|
68003
|
+
var r = e.styles, s = e.bounds, n = np(r.borderTopLeftRadius, s.width, s.height), i = n[0], o = n[1], a = np(r.borderTopRightRadius, s.width, s.height), d = a[0], l = a[1], c = np(r.borderBottomRightRadius, s.width, s.height), A = c[0], h = c[1], p = np(r.borderBottomLeftRadius, s.width, s.height), f = p[0], y = p[1], x = [];
|
|
68004
|
+
x.push((i + d) / s.width), x.push((f + A) / s.width), x.push((o + y) / s.height), x.push((l + h) / s.height);
|
|
68005
|
+
var b = Math.max.apply(Math, x);
|
|
68006
68006
|
b > 1 && (i /= b, o /= b, d /= b, l /= b, A /= b, h /= b, f /= b, y /= b);
|
|
68007
68007
|
var C = s.width - d, I = s.height - h, O = s.width - A, K = s.height - y, H = r.borderTopWidth, q = r.borderRightWidth, L = r.borderBottomWidth, X = r.borderLeftWidth, de = pr(r.paddingTop, e.bounds.width), z = pr(r.paddingRight, e.bounds.width), N = pr(r.paddingBottom, e.bounds.width), W = pr(r.paddingLeft, e.bounds.width);
|
|
68008
68008
|
this.topLeftBorderDoubleOuterBox = i > 0 || o > 0 ? br(s.left + X / 3, s.top + H / 3, i - X / 3, o - H / 3, Gt.TOP_LEFT) : new Je(s.left + X / 3, s.top + H / 3), this.topRightBorderDoubleOuterBox = i > 0 || o > 0 ? br(s.left + C, s.top + H / 3, d - q / 3, l - H / 3, Gt.TOP_RIGHT) : new Je(s.left + s.width - q / 3, s.top + H / 3), this.bottomRightBorderDoubleOuterBox = A > 0 || h > 0 ? br(s.left + O, s.top + I, A - q / 3, h - L / 3, Gt.BOTTOM_RIGHT) : new Je(s.left + s.width - q / 3, s.top + s.height - L / 3), this.bottomLeftBorderDoubleOuterBox = f > 0 || y > 0 ? br(s.left + X / 3, s.top + K, f - X / 3, y - L / 3, Gt.BOTTOM_LEFT) : new Je(s.left + X / 3, s.top + s.height - L / 3), this.topLeftBorderDoubleInnerBox = i > 0 || o > 0 ? br(s.left + X * 2 / 3, s.top + H * 2 / 3, i - X * 2 / 3, o - H * 2 / 3, Gt.TOP_LEFT) : new Je(s.left + X * 2 / 3, s.top + H * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || o > 0 ? br(s.left + C, s.top + H * 2 / 3, d - q * 2 / 3, l - H * 2 / 3, Gt.TOP_RIGHT) : new Je(s.left + s.width - q * 2 / 3, s.top + H * 2 / 3), this.bottomRightBorderDoubleInnerBox = A > 0 || h > 0 ? br(s.left + O, s.top + I, A - q * 2 / 3, h - L * 2 / 3, Gt.BOTTOM_RIGHT) : new Je(s.left + s.width - q * 2 / 3, s.top + s.height - L * 2 / 3), this.bottomLeftBorderDoubleInnerBox = f > 0 || y > 0 ? br(s.left + X * 2 / 3, s.top + K, f - X * 2 / 3, y - L * 2 / 3, Gt.BOTTOM_LEFT) : new Je(s.left + X * 2 / 3, s.top + s.height - L * 2 / 3), this.topLeftBorderStroke = i > 0 || o > 0 ? br(s.left + X / 2, s.top + H / 2, i - X / 2, o - H / 2, Gt.TOP_LEFT) : new Je(s.left + X / 2, s.top + H / 2), this.topRightBorderStroke = i > 0 || o > 0 ? br(s.left + C, s.top + H / 2, d - q / 2, l - H / 2, Gt.TOP_RIGHT) : new Je(s.left + s.width - q / 2, s.top + H / 2), this.bottomRightBorderStroke = A > 0 || h > 0 ? br(s.left + O, s.top + I, A - q / 2, h - L / 2, Gt.BOTTOM_RIGHT) : new Je(s.left + s.width - q / 2, s.top + s.height - L / 2), this.bottomLeftBorderStroke = f > 0 || y > 0 ? br(s.left + X / 2, s.top + K, f - X / 2, y - L / 2, Gt.BOTTOM_LEFT) : new Je(s.left + X / 2, s.top + s.height - L / 2), this.topLeftBorderBox = i > 0 || o > 0 ? br(s.left, s.top, i, o, Gt.TOP_LEFT) : new Je(s.left, s.top), this.topRightBorderBox = d > 0 || l > 0 ? br(s.left + C, s.top, d, l, Gt.TOP_RIGHT) : new Je(s.left + s.width, s.top), this.bottomRightBorderBox = A > 0 || h > 0 ? br(s.left + O, s.top + I, A, h, Gt.BOTTOM_RIGHT) : new Je(s.left + s.width, s.top + s.height), this.bottomLeftBorderBox = f > 0 || y > 0 ? br(s.left, s.top + K, f, y, Gt.BOTTOM_LEFT) : new Je(s.left, s.top + s.height), this.topLeftPaddingBox = i > 0 || o > 0 ? br(s.left + X, s.top + H, Math.max(0, i - X), Math.max(0, o - H), Gt.TOP_LEFT) : new Je(s.left + X, s.top + H), this.topRightPaddingBox = d > 0 || l > 0 ? br(s.left + Math.min(C, s.width - q), s.top + H, C > s.width + q ? 0 : Math.max(0, d - q), Math.max(0, l - H), Gt.TOP_RIGHT) : new Je(s.left + s.width - q, s.top + H), this.bottomRightPaddingBox = A > 0 || h > 0 ? br(s.left + Math.min(O, s.width - X), s.top + Math.min(I, s.height - L), Math.max(0, A - q), Math.max(0, h - L), Gt.BOTTOM_RIGHT) : new Je(s.left + s.width - q, s.top + s.height - L), this.bottomLeftPaddingBox = f > 0 || y > 0 ? br(s.left + X, s.top + Math.min(K, s.height - L), Math.max(0, f - X), Math.max(0, y - L), Gt.BOTTOM_LEFT) : new Je(s.left + X, s.top + s.height - L), this.topLeftContentBox = i > 0 || o > 0 ? br(s.left + X + W, s.top + H + de, Math.max(0, i - (X + W)), Math.max(0, o - (H + de)), Gt.TOP_LEFT) : new Je(s.left + X + W, s.top + H + de), this.topRightContentBox = d > 0 || l > 0 ? br(s.left + Math.min(C, s.width + X + W), s.top + H + de, C > s.width + X + W ? 0 : d - X + W, l - (H + de), Gt.TOP_RIGHT) : new Je(s.left + s.width - (q + z), s.top + H + de), this.bottomRightContentBox = A > 0 || h > 0 ? br(s.left + Math.min(O, s.width - (X + W)), s.top + Math.min(I, s.height + H + de), Math.max(0, A - (q + z)), h - (L + N), Gt.BOTTOM_RIGHT) : new Je(s.left + s.width - (q + z), s.top + s.height - (L + N)), this.bottomLeftContentBox = f > 0 || y > 0 ? br(s.left + X + W, s.top + K, Math.max(0, f - (X + W)), y - (L + N), Gt.BOTTOM_LEFT) : new Je(s.left + X + W, s.top + s.height - (L + N));
|
|
@@ -68305,8 +68305,8 @@ var br = function(t, e, r, s, n) {
|
|
|
68305
68305
|
var p = c ? s : n * i, f = A ? n : s / i;
|
|
68306
68306
|
return [p, f];
|
|
68307
68307
|
}
|
|
68308
|
-
var y = c ? s : r.width,
|
|
68309
|
-
return [y,
|
|
68308
|
+
var y = c ? s : r.width, x = A ? n : r.height;
|
|
68309
|
+
return [y, x];
|
|
68310
68310
|
}
|
|
68311
68311
|
if (d) {
|
|
68312
68312
|
var b = 0, C = 0;
|
|
@@ -68464,8 +68464,8 @@ var br = function(t, e, r, s, n) {
|
|
|
68464
68464
|
switch (y) {
|
|
68465
68465
|
case 0:
|
|
68466
68466
|
h.ctx.fillStyle = ps(s.color), h.renderTextWithLetterSpacing(f, s.letterSpacing, l);
|
|
68467
|
-
var
|
|
68468
|
-
|
|
68467
|
+
var x = s.textShadow;
|
|
68468
|
+
x.length && f.text.trim().length && (x.slice(0).reverse().forEach(function(b) {
|
|
68469
68469
|
h.ctx.shadowColor = ps(b.color), h.ctx.shadowOffsetX = b.offsetX.number * h.options.scale, h.ctx.shadowOffsetY = b.offsetY.number * h.options.scale, h.ctx.shadowBlur = b.blur.number, h.renderTextWithLetterSpacing(f, s.letterSpacing, l);
|
|
68470
68470
|
}), h.ctx.shadowColor = "", h.ctx.shadowOffsetX = 0, h.ctx.shadowOffsetY = 0, h.ctx.shadowBlur = 0), s.textDecorationLine.length && (h.ctx.fillStyle = ps(s.textDecorationColor || s.color), s.textDecorationLine.forEach(function(b) {
|
|
68471
68471
|
switch (b) {
|
|
@@ -68499,7 +68499,7 @@ var br = function(t, e, r, s, n) {
|
|
|
68499
68499
|
}
|
|
68500
68500
|
}, e.prototype.renderNodeContent = function(r) {
|
|
68501
68501
|
return Zs(this, void 0, void 0, function() {
|
|
68502
|
-
var s, n, i, o, a, d, C, C, l, c, A, h, O, p, f, K, y,
|
|
68502
|
+
var s, n, i, o, a, d, C, C, l, c, A, h, O, p, f, K, y, x, b, C, I, O, K;
|
|
68503
68503
|
return Os(this, function(H) {
|
|
68504
68504
|
switch (H.label) {
|
|
68505
68505
|
case 0:
|
|
@@ -68562,12 +68562,12 @@ var br = function(t, e, r, s, n) {
|
|
|
68562
68562
|
y += K.width;
|
|
68563
68563
|
break;
|
|
68564
68564
|
}
|
|
68565
|
-
|
|
68565
|
+
x = K.add(y, 0, 0, -K.height / 2 + 1), this.ctx.save(), this.path([
|
|
68566
68566
|
new Je(K.left, K.top),
|
|
68567
68567
|
new Je(K.left + K.width, K.top),
|
|
68568
68568
|
new Je(K.left + K.width, K.top + K.height),
|
|
68569
68569
|
new Je(K.left, K.top + K.height)
|
|
68570
|
-
]), this.ctx.clip(), this.renderTextWithLetterSpacing(new vp(s.value,
|
|
68570
|
+
]), this.ctx.clip(), this.renderTextWithLetterSpacing(new vp(s.value, x), i.letterSpacing, f), this.ctx.restore(), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = "left";
|
|
68571
68571
|
}
|
|
68572
68572
|
if (!is(
|
|
68573
68573
|
s.styles.display,
|
|
@@ -68600,7 +68600,7 @@ var br = function(t, e, r, s, n) {
|
|
|
68600
68600
|
});
|
|
68601
68601
|
}, e.prototype.renderStackContent = function(r) {
|
|
68602
68602
|
return Zs(this, void 0, void 0, function() {
|
|
68603
|
-
var s, n, b, i, o, b, a, d, b, l, c, b, A, h, b, p, f, b, y,
|
|
68603
|
+
var s, n, b, i, o, b, a, d, b, l, c, b, A, h, b, p, f, b, y, x, b;
|
|
68604
68604
|
return Os(this, function(C) {
|
|
68605
68605
|
switch (C.label) {
|
|
68606
68606
|
case 0:
|
|
@@ -68662,9 +68662,9 @@ var br = function(t, e, r, s, n) {
|
|
|
68662
68662
|
case 25:
|
|
68663
68663
|
return p++, [3, 23];
|
|
68664
68664
|
case 26:
|
|
68665
|
-
y = 0,
|
|
68665
|
+
y = 0, x = r.positiveZIndex, C.label = 27;
|
|
68666
68666
|
case 27:
|
|
68667
|
-
return y <
|
|
68667
|
+
return y < x.length ? (b = x[y], [4, this.renderStack(b)]) : [3, 30];
|
|
68668
68668
|
case 28:
|
|
68669
68669
|
C.sent(), C.label = 29;
|
|
68670
68670
|
case 29:
|
|
@@ -68704,7 +68704,7 @@ var br = function(t, e, r, s, n) {
|
|
|
68704
68704
|
switch (l.label) {
|
|
68705
68705
|
case 0:
|
|
68706
68706
|
s = r.styles.backgroundImage.length - 1, n = function(c) {
|
|
68707
|
-
var A, h, p, de, pe, xe, W, J, L, f, de, pe, xe, W, J, y,
|
|
68707
|
+
var A, h, p, de, pe, xe, W, J, L, f, de, pe, xe, W, J, y, x, b, C, I, O, K, H, q, L, X, de, z, N, W, J, we, pe, xe, ge, Be, ae, Ce, j, M, G, ee;
|
|
68708
68708
|
return Os(this, function(re) {
|
|
68709
68709
|
switch (re.label) {
|
|
68710
68710
|
case 0:
|
|
@@ -68724,7 +68724,7 @@ var br = function(t, e, r, s, n) {
|
|
|
68724
68724
|
A.width / A.height
|
|
68725
68725
|
]), de = p[0], pe = p[1], xe = p[2], W = p[3], J = p[4], L = i.ctx.createPattern(i.resizeImage(A, W, J), "repeat"), i.renderRepeat(de, L, pe, xe)), [3, 6];
|
|
68726
68726
|
case 5:
|
|
68727
|
-
Uq(c) ? (f = qy(r, s, [null, null, null]), de = f[0], pe = f[1], xe = f[2], W = f[3], J = f[4], y = jq(c.angle, W, J),
|
|
68727
|
+
Uq(c) ? (f = qy(r, s, [null, null, null]), de = f[0], pe = f[1], xe = f[2], W = f[3], J = f[4], y = jq(c.angle, W, J), x = y[0], b = y[1], C = y[2], I = y[3], O = y[4], K = document.createElement("canvas"), K.width = W, K.height = J, H = K.getContext("2d"), q = H.createLinearGradient(b, I, C, O), R6(c.stops, x).forEach(function(ce) {
|
|
68728
68728
|
return q.addColorStop(ce.stop, ps(ce.color));
|
|
68729
68729
|
}), H.fillStyle = q, H.fillRect(0, 0, W, J), W > 0 && J > 0 && (L = i.ctx.createPattern(K, "repeat"), i.renderRepeat(de, L, pe, xe))) : Pq(c) && (X = qy(r, s, [
|
|
68730
68730
|
null,
|
|
@@ -68802,8 +68802,8 @@ var br = function(t, e, r, s, n) {
|
|
|
68802
68802
|
case 1:
|
|
68803
68803
|
h.sent(), this.ctx.restore(), s.boxShadow.slice(0).reverse().forEach(function(p) {
|
|
68804
68804
|
A.ctx.save();
|
|
68805
|
-
var f = vm(r.curves), y = p.inset ? 0 : VK,
|
|
68806
|
-
p.inset ? (A.path(f), A.ctx.clip(), A.mask(
|
|
68805
|
+
var f = vm(r.curves), y = p.inset ? 0 : VK, x = TK(f, -y + (p.inset ? 1 : -1) * p.spread.number, (p.inset ? 1 : -1) * p.spread.number, p.spread.number * (p.inset ? -2 : 2), p.spread.number * (p.inset ? -2 : 2));
|
|
68806
|
+
p.inset ? (A.path(f), A.ctx.clip(), A.mask(x)) : (A.mask(f), A.ctx.clip(), A.path(x)), A.ctx.shadowOffsetX = p.offsetX.number + y, A.ctx.shadowOffsetY = p.offsetY.number, A.ctx.shadowColor = ps(p.color), A.ctx.shadowBlur = p.blur.number, A.ctx.fillStyle = p.inset ? ps(p.color) : "rgba(0,0,0,1)", A.ctx.fill(), A.ctx.restore();
|
|
68807
68807
|
}), h.label = 2;
|
|
68808
68808
|
case 2:
|
|
68809
68809
|
a = 0, d = 0, l = i, h.label = 3;
|
|
@@ -68851,9 +68851,9 @@ var br = function(t, e, r, s, n) {
|
|
|
68851
68851
|
});
|
|
68852
68852
|
}, e.prototype.renderDashedDottedBorder = function(r, s, n, i, o) {
|
|
68853
68853
|
return Zs(this, void 0, void 0, function() {
|
|
68854
|
-
var a, d, l, c, A, h, p, f, y,
|
|
68854
|
+
var a, d, l, c, A, h, p, f, y, x, b, C, I, O, K, H, K, H;
|
|
68855
68855
|
return Os(this, function(q) {
|
|
68856
|
-
return this.ctx.save(), a = QK(i, n), d = gx(i, n), o === 2 && (this.path(d), this.ctx.clip()), Wn(d[0]) ? (l = d[0].start.x, c = d[0].start.y) : (l = d[0].x, c = d[0].y), Wn(d[1]) ? (A = d[1].end.x, h = d[1].end.y) : (A = d[1].x, h = d[1].y), n === 0 || n === 2 ? p = Math.abs(l - A) : p = Math.abs(c - h), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), f = s < 3 ? s * 3 : s * 2, y = s < 3 ? s * 2 : s, o === 3 && (f = s, y = s),
|
|
68856
|
+
return this.ctx.save(), a = QK(i, n), d = gx(i, n), o === 2 && (this.path(d), this.ctx.clip()), Wn(d[0]) ? (l = d[0].start.x, c = d[0].start.y) : (l = d[0].x, c = d[0].y), Wn(d[1]) ? (A = d[1].end.x, h = d[1].end.y) : (A = d[1].x, h = d[1].y), n === 0 || n === 2 ? p = Math.abs(l - A) : p = Math.abs(c - h), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), f = s < 3 ? s * 3 : s * 2, y = s < 3 ? s * 2 : s, o === 3 && (f = s, y = s), x = !0, p <= f * 2 ? x = !1 : p <= f * 2 + y ? (b = p / (2 * f + y), f *= b, y *= b) : (C = Math.floor((p + y) / (f + y)), I = (p - C * f) / (C - 1), O = (p - (C + 1) * f) / C, y = O <= 0 || Math.abs(y - I) < Math.abs(y - O) ? I : O), x && (o === 3 ? this.ctx.setLineDash([0, f + y]) : this.ctx.setLineDash([f, y])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = s) : this.ctx.lineWidth = s * 2 + 1.1, this.ctx.strokeStyle = ps(r), this.ctx.stroke(), this.ctx.setLineDash([]), o === 2 && (Wn(d[0]) && (K = d[3], H = d[0], this.ctx.beginPath(), this.formatPath([new Je(K.end.x, K.end.y), new Je(H.start.x, H.start.y)]), this.ctx.stroke()), Wn(d[1]) && (K = d[1], H = d[2], this.ctx.beginPath(), this.formatPath([new Je(K.end.x, K.end.y), new Je(H.start.x, H.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
68857
68857
|
2
|
|
68858
68858
|
/*return*/
|
|
68859
68859
|
];
|
|
@@ -68970,7 +68970,7 @@ var br = function(t, e, r, s, n) {
|
|
|
68970
68970
|
typeof window != "undefined" && i8.setContext(window);
|
|
68971
68971
|
var rG = function(t, e) {
|
|
68972
68972
|
return Zs(void 0, void 0, void 0, function() {
|
|
68973
|
-
var r, s, n, i, o, a, d, l, c, A, h, p, f, y,
|
|
68973
|
+
var r, s, n, i, o, a, d, l, c, A, h, p, f, y, x, b, C, I, O, K, q, H, q, L, X, de, z, N, W, J, we, pe, xe, ge, Be, ae, Ce, j, M, G;
|
|
68974
68974
|
return Os(this, function(ee) {
|
|
68975
68975
|
switch (ee.label) {
|
|
68976
68976
|
case 0:
|
|
@@ -68998,19 +68998,19 @@ var rG = function(t, e) {
|
|
|
68998
68998
|
copyStyles: l
|
|
68999
68999
|
}, d.logger.debug("Starting document clone with size " + a.width + "x" + a.height + " scrolled to " + -a.left + "," + -a.top), A = new ux(d, t, c), h = A.clonedReferenceElement, h ? [4, A.toIFrame(r, a)] : [2, Promise.reject("Unable to find element in cloned iframe")];
|
|
69000
69000
|
case 1:
|
|
69001
|
-
return p = ee.sent(), f = gw(h) || nK(h) ? TL(h.ownerDocument) : vf(d, h), y = f.width,
|
|
69001
|
+
return p = ee.sent(), f = gw(h) || nK(h) ? TL(h.ownerDocument) : vf(d, h), y = f.width, x = f.height, b = f.left, C = f.top, I = sG(d, h, e.backgroundColor), O = {
|
|
69002
69002
|
canvas: e.canvas,
|
|
69003
69003
|
backgroundColor: I,
|
|
69004
69004
|
scale: (Be = (ge = e.scale) !== null && ge !== void 0 ? ge : s.devicePixelRatio) !== null && Be !== void 0 ? Be : 1,
|
|
69005
69005
|
x: ((ae = e.x) !== null && ae !== void 0 ? ae : 0) + b,
|
|
69006
69006
|
y: ((Ce = e.y) !== null && Ce !== void 0 ? Ce : 0) + C,
|
|
69007
69007
|
width: (j = e.width) !== null && j !== void 0 ? j : Math.ceil(y),
|
|
69008
|
-
height: (M = e.height) !== null && M !== void 0 ? M : Math.ceil(
|
|
69008
|
+
height: (M = e.height) !== null && M !== void 0 ? M : Math.ceil(x)
|
|
69009
69009
|
}, l ? (d.logger.debug("Document cloned, using foreign object rendering"), q = new ZK(d, O), [4, q.render(h)]) : [3, 3];
|
|
69010
69010
|
case 2:
|
|
69011
69011
|
return K = ee.sent(), [3, 5];
|
|
69012
69012
|
case 3:
|
|
69013
|
-
return d.logger.debug("Document cloned, element located at " + b + "," + C + " with size " + y + "x" +
|
|
69013
|
+
return d.logger.debug("Document cloned, element located at " + b + "," + C + " with size " + y + "x" + x + " using computed rendering"), d.logger.debug("Starting DOM parsing"), H = XC(d, h), I === H.styles.backgroundColor && (H.styles.backgroundColor = Zo.TRANSPARENT), d.logger.debug("Starting renderer for element at " + O.x + "," + O.y + " with size " + O.width + "x" + O.height), q = new KK(d, O), [4, q.render(H)];
|
|
69014
69014
|
case 4:
|
|
69015
69015
|
K = ee.sent(), ee.label = 5;
|
|
69016
69016
|
case 5:
|
|
@@ -69194,14 +69194,14 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69194
69194
|
var Me = new qs(Math.max(Le * 2, ze));
|
|
69195
69195
|
Me.set(r), r = Me;
|
|
69196
69196
|
}
|
|
69197
|
-
}, c = e.f || 0, A = e.p || 0, h = e.b || 0, p = e.l, f = e.d, y = e.m,
|
|
69197
|
+
}, c = e.f || 0, A = e.p || 0, h = e.b || 0, p = e.l, f = e.d, y = e.m, x = e.n, b = n * 8;
|
|
69198
69198
|
do {
|
|
69199
69199
|
if (!p) {
|
|
69200
69200
|
c = fi(t, A, 1);
|
|
69201
69201
|
var C = fi(t, A + 1, 3);
|
|
69202
69202
|
if (A += 3, C)
|
|
69203
69203
|
if (C == 1)
|
|
69204
|
-
p = aG, f = dG, y = 9,
|
|
69204
|
+
p = aG, f = dG, y = 9, x = 5;
|
|
69205
69205
|
else if (C == 2) {
|
|
69206
69206
|
var H = fi(t, A, 31) + 257, q = fi(t, A + 10, 15) + 4, L = H + fi(t, A + 5, 31) + 1;
|
|
69207
69207
|
A += 14;
|
|
@@ -69221,7 +69221,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69221
69221
|
}
|
|
69222
69222
|
}
|
|
69223
69223
|
var ge = X.subarray(0, H), Be = X.subarray(H);
|
|
69224
|
-
y = Hy(ge),
|
|
69224
|
+
y = Hy(ge), x = Hy(Be), p = ho(ge, y, 1), f = ho(Be, x, 1);
|
|
69225
69225
|
} else
|
|
69226
69226
|
wi(1);
|
|
69227
69227
|
else {
|
|
@@ -69239,7 +69239,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69239
69239
|
}
|
|
69240
69240
|
}
|
|
69241
69241
|
a && l(h + 131072);
|
|
69242
|
-
for (var ae = (1 << y) - 1, Ce = (1 <<
|
|
69242
|
+
for (var ae = (1 << y) - 1, Ce = (1 << x) - 1, j = A; ; j = A) {
|
|
69243
69243
|
var pe = p[Vy(t, A) & ae], M = pe >> 4;
|
|
69244
69244
|
if (A += pe & 15, A > b) {
|
|
69245
69245
|
d && wi(0);
|
|
@@ -69278,7 +69278,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69278
69278
|
r[h] = r[h - Be];
|
|
69279
69279
|
}
|
|
69280
69280
|
}
|
|
69281
|
-
e.l = p, e.p = j, e.b = h, e.f = c, p && (c = 1, e.m = y, e.d = f, e.n =
|
|
69281
|
+
e.l = p, e.p = j, e.b = h, e.f = c, p && (c = 1, e.m = y, e.d = f, e.n = x);
|
|
69282
69282
|
} while (!c);
|
|
69283
69283
|
return h != r.length && o ? m8(r, 0, h) : r.subarray(0, h);
|
|
69284
69284
|
}, Vo = function(t, e, r) {
|
|
@@ -69309,7 +69309,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69309
69309
|
i[s].s > h && (h = i[s].s);
|
|
69310
69310
|
var p = new En(h + 1), f = U2(r[c - 1], p, 0);
|
|
69311
69311
|
if (f > e) {
|
|
69312
|
-
var s = 0, y = 0,
|
|
69312
|
+
var s = 0, y = 0, x = f - e, b = 1 << x;
|
|
69313
69313
|
for (i.sort(function(H, q) {
|
|
69314
69314
|
return p[q.s] - p[H.s] || H.f - q.f;
|
|
69315
69315
|
}); s < n; ++s) {
|
|
@@ -69319,7 +69319,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69319
69319
|
else
|
|
69320
69320
|
break;
|
|
69321
69321
|
}
|
|
69322
|
-
for (y >>=
|
|
69322
|
+
for (y >>= x; y > 0; ) {
|
|
69323
69323
|
var I = i[s].s;
|
|
69324
69324
|
p[I] < e ? y -= 1 << e - p[I]++ - 1 : ++s;
|
|
69325
69325
|
}
|
|
@@ -69367,7 +69367,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69367
69367
|
return (n + 4 + s) * 8;
|
|
69368
69368
|
}, yx = function(t, e, r, s, n, i, o, a, d, l, c) {
|
|
69369
69369
|
Vo(e, c++, r), ++n[256];
|
|
69370
|
-
for (var A = Ky(n, 15), h = A.t, p = A.l, f = Ky(i, 15), y = f.t,
|
|
69370
|
+
for (var A = Ky(n, 15), h = A.t, p = A.l, f = Ky(i, 15), y = f.t, x = f.l, b = fx(h), C = b.c, I = b.n, O = fx(y), K = O.c, H = O.n, q = new En(19), L = 0; L < C.length; ++L)
|
|
69371
69371
|
++q[C[L] & 31];
|
|
69372
69372
|
for (var L = 0; L < K.length; ++L)
|
|
69373
69373
|
++q[K[L] & 31];
|
|
@@ -69378,7 +69378,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69378
69378
|
return f8(e, c, t.subarray(d, d + l));
|
|
69379
69379
|
var pe, xe, ge, Be;
|
|
69380
69380
|
if (Vo(e, c, 1 + (we < J)), c += 2, we < J) {
|
|
69381
|
-
pe = ho(h, p, 0), xe = h, ge = ho(y,
|
|
69381
|
+
pe = ho(h, p, 0), xe = h, ge = ho(y, x, 0), Be = y;
|
|
69382
69382
|
var ae = ho(de, z, 0);
|
|
69383
69383
|
Vo(e, c, I - 257), Vo(e, c + 5, H - 1), Vo(e, c + 10, N - 4), c += 14;
|
|
69384
69384
|
for (var L = 0; L < N; ++L)
|
|
@@ -69406,11 +69406,11 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69406
69406
|
var o = i.z || t.length, a = new qs(s + o + 5 * (1 + Math.ceil(o / 7e3)) + n), d = a.subarray(s, a.length - n), l = i.l, c = (i.r || 0) & 7;
|
|
69407
69407
|
if (e) {
|
|
69408
69408
|
c && (d[0] = i.r >> 3);
|
|
69409
|
-
for (var A = AG[e - 1], h = A >> 13, p = A & 8191, f = (1 << r) - 1, y = i.p || new En(32768),
|
|
69409
|
+
for (var A = AG[e - 1], h = A >> 13, p = A & 8191, f = (1 << r) - 1, y = i.p || new En(32768), x = i.h || new En(f + 1), b = Math.ceil(r / 3), C = 2 * b, I = function(dt) {
|
|
69410
69410
|
return (t[dt] ^ t[dt + 1] << b ^ t[dt + 2] << C) & f;
|
|
69411
69411
|
}, O = new hw(25e3), K = new En(288), H = new En(32), q = 0, L = 0, X = i.i || 0, de = 0, z = i.w || 0, N = 0; X + 2 < o; ++X) {
|
|
69412
|
-
var W = I(X), J = X & 32767, we =
|
|
69413
|
-
if (y[J] = we,
|
|
69412
|
+
var W = I(X), J = X & 32767, we = x[W];
|
|
69413
|
+
if (y[J] = we, x[W] = J, z <= X) {
|
|
69414
69414
|
var pe = o - X;
|
|
69415
69415
|
if ((q > 7e3 || de > 24576) && (pe > 423 || !l)) {
|
|
69416
69416
|
c = yx(t, d, 0, O, K, H, L, de, N, X - N, c), de = q = L = 0, N = X;
|
|
@@ -69446,7 +69446,7 @@ var oG = /* @__PURE__ */ ho(wl, 9, 0), aG = /* @__PURE__ */ ho(wl, 9, 1), lG = /
|
|
|
69446
69446
|
}
|
|
69447
69447
|
for (X = Math.max(X, z); X < o; ++X)
|
|
69448
69448
|
O[de++] = t[X], ++K[t[X]];
|
|
69449
|
-
c = yx(t, d, l, O, K, H, L, de, N, X - N, c), l || (i.r = c & 7 | d[c / 8 | 0] << 3, c -= 7, i.h =
|
|
69449
|
+
c = yx(t, d, l, O, K, H, L, de, N, X - N, c), l || (i.r = c & 7 | d[c / 8 | 0] << 3, c -= 7, i.h = x, i.p = y, i.i = X, i.w = z);
|
|
69450
69450
|
} else {
|
|
69451
69451
|
for (var X = i.w || 0; X < o + l; X += 65535) {
|
|
69452
69452
|
var Me = X + 65535;
|
|
@@ -69848,12 +69848,12 @@ function pt(t) {
|
|
|
69848
69848
|
p.__private__.setPdfVersion = function(m) {
|
|
69849
69849
|
f = m;
|
|
69850
69850
|
};
|
|
69851
|
-
var
|
|
69851
|
+
var x = { a0: [2383.94, 3370.39], a1: [1683.78, 2383.94], a2: [1190.55, 1683.78], a3: [841.89, 1190.55], a4: [595.28, 841.89], a5: [419.53, 595.28], a6: [297.64, 419.53], a7: [209.76, 297.64], a8: [147.4, 209.76], a9: [104.88, 147.4], a10: [73.7, 104.88], b0: [2834.65, 4008.19], b1: [2004.09, 2834.65], b2: [1417.32, 2004.09], b3: [1000.63, 1417.32], b4: [708.66, 1000.63], b5: [498.9, 708.66], b6: [354.33, 498.9], b7: [249.45, 354.33], b8: [175.75, 249.45], b9: [124.72, 175.75], b10: [87.87, 124.72], c0: [2599.37, 3676.54], c1: [1836.85, 2599.37], c2: [1298.27, 1836.85], c3: [918.43, 1298.27], c4: [649.13, 918.43], c5: [459.21, 649.13], c6: [323.15, 459.21], c7: [229.61, 323.15], c8: [161.57, 229.61], c9: [113.39, 161.57], c10: [79.37, 113.39], dl: [311.81, 623.62], letter: [612, 792], "government-letter": [576, 756], legal: [612, 1008], "junior-legal": [576, 360], ledger: [1224, 792], tabloid: [792, 1224], "credit-card": [153, 243] };
|
|
69852
69852
|
p.__private__.getPageFormats = function() {
|
|
69853
|
-
return
|
|
69853
|
+
return x;
|
|
69854
69854
|
};
|
|
69855
69855
|
var b = p.__private__.getPageFormat = function(m) {
|
|
69856
|
-
return
|
|
69856
|
+
return x[m];
|
|
69857
69857
|
};
|
|
69858
69858
|
n = n || "a4";
|
|
69859
69859
|
var C = { COMPAT: "compat", ADVANCED: "advanced" }, I = C.COMPAT;
|
|
@@ -69984,12 +69984,12 @@ function pt(t) {
|
|
|
69984
69984
|
p.__private__.getStandardFonts = function() {
|
|
69985
69985
|
return w;
|
|
69986
69986
|
};
|
|
69987
|
-
var
|
|
69987
|
+
var k = t.fontSize || 16;
|
|
69988
69988
|
p.__private__.setFontSize = p.setFontSize = function(m) {
|
|
69989
|
-
return
|
|
69989
|
+
return k = I === C.ADVANCED ? m / We : m, this;
|
|
69990
69990
|
};
|
|
69991
69991
|
var Q, $ = p.__private__.getFontSize = p.getFontSize = function() {
|
|
69992
|
-
return I === C.COMPAT ?
|
|
69992
|
+
return I === C.COMPAT ? k : k * We;
|
|
69993
69993
|
}, he = t.R2L || !1;
|
|
69994
69994
|
p.__private__.setR2L = p.setR2L = function(m) {
|
|
69995
69995
|
return he = m, this;
|
|
@@ -70674,7 +70674,7 @@ Q`), vn(Ae, !0), Qn({ data: Ie, filters: to(), objectId: Ae }), Z("endobj"), te;
|
|
|
70674
70674
|
if (vc === !1)
|
|
70675
70675
|
throw new Error('Type of text must be string or Array. "' + m + '" is not recognized.');
|
|
70676
70676
|
typeof m == "string" && (m = m.match(/[\r?\n]/) ? m.split(/\r\n|\r|\n/g) : [m]);
|
|
70677
|
-
var wc =
|
|
70677
|
+
var wc = k / Kr.internal.scaleFactor, xc = wc * (bn - 1);
|
|
70678
70678
|
switch (te.baseline) {
|
|
70679
70679
|
case "bottom":
|
|
70680
70680
|
Y -= xc;
|
|
@@ -70690,7 +70690,7 @@ Q`), vn(Ae, !0), Qn({ data: Ie, filters: to(), objectId: Ae }), Z("endobj"), te;
|
|
|
70690
70690
|
}
|
|
70691
70691
|
if ((wt = te.maxWidth || 0) > 0 && (typeof m == "string" ? m = Kr.splitTextToSize(m, wt) : Object.prototype.toString.call(m) === "[object Array]" && (m = m.reduce(function(cr, ur) {
|
|
70692
70692
|
return cr.concat(Kr.splitTextToSize(ur, wt));
|
|
70693
|
-
}, []))), Ie = { text: m, x: _, y: Y, options: te, mutex: { pdfEscape: cn, activeFontKey: Bt, fonts: ir, activeFontSize:
|
|
70693
|
+
}, []))), Ie = { text: m, x: _, y: Y, options: te, mutex: { pdfEscape: cn, activeFontKey: Bt, fonts: ir, activeFontSize: k } }, Kt.publish("preProcessText", Ie), m = Ie.text, Xe = (te = Ie.options).angle, !(jr instanceof ht) && Xe && typeof Xe == "number") {
|
|
70694
70694
|
Xe *= Math.PI / 180, te.rotationDirection === 0 && (Xe = -Xe), I === C.ADVANCED && (Xe = -Xe);
|
|
70695
70695
|
var kc = Math.cos(Xe), kA = Math.sin(Xe);
|
|
70696
70696
|
jr = new ht(kc, kA, -kA, kc, 0, 0);
|
|
@@ -70739,10 +70739,10 @@ Q`), vn(Ae, !0), Qn({ data: Ie, filters: to(), objectId: Ae }), Z("endobj"), te;
|
|
|
70739
70739
|
un !== -1 ? cs += un + ` Tr
|
|
70740
70740
|
` : Tg !== -1 && (cs += `0 Tr
|
|
70741
70741
|
`), un !== -1 && (BA.usedRenderingMode = un), ut = te.align || "left";
|
|
70742
|
-
var Nn, Bc =
|
|
70742
|
+
var Nn, Bc = k * bn, zg = Kr.internal.pageSize.getWidth(), Dg = ir[Bt];
|
|
70743
70743
|
kt = te.charSpace || mc, wt = te.maxWidth || 0, Qt = Object.assign({ autoencode: !0, noBOM: !0 }, te.flags);
|
|
70744
70744
|
var ja = [], Wl = function(cr) {
|
|
70745
|
-
return Kr.getStringUnitWidth(cr, { font: Dg, charSpace: kt, fontSize:
|
|
70745
|
+
return Kr.getStringUnitWidth(cr, { font: Dg, charSpace: kt, fontSize: k, doKerning: !1 }) * k / io;
|
|
70746
70746
|
};
|
|
70747
70747
|
if (Object.prototype.toString.call(m) === "[object Array]") {
|
|
70748
70748
|
var An;
|
|
@@ -70783,7 +70783,7 @@ Q`), vn(Ae, !0), Qn({ data: Ie, filters: to(), objectId: Ae }), Z("endobj"), te;
|
|
|
70783
70783
|
var Rg = typeof te.R2L == "boolean" ? te.R2L : he;
|
|
70784
70784
|
Rg === !0 && (m = bA(m, function(cr, ur, Dr) {
|
|
70785
70785
|
return [cr.split("").reverse().join(""), ur, Dr];
|
|
70786
|
-
})), Ie = { text: m, x: _, y: Y, options: te, mutex: { pdfEscape: cn, activeFontKey: Bt, fonts: ir, activeFontSize:
|
|
70786
|
+
})), Ie = { text: m, x: _, y: Y, options: te, mutex: { pdfEscape: cn, activeFontKey: Bt, fonts: ir, activeFontSize: k } }, Kt.publish("postProcessText", Ie), m = Ie.text, Ai = Ie.mutex.isHex || !1;
|
|
70787
70787
|
var EA = ir[Bt].encoding;
|
|
70788
70788
|
EA !== "WinAnsiEncoding" && EA !== "StandardEncoding" || (m = bA(m, function(cr, ur, Dr) {
|
|
70789
70789
|
return [Pg(cr), ur, Dr];
|
|
@@ -70810,8 +70810,8 @@ T* `) : m.join(` Tj
|
|
|
70810
70810
|
`;
|
|
70811
70811
|
var Mn = `BT
|
|
70812
70812
|
/`;
|
|
70813
|
-
return Mn += Bt + " " +
|
|
70814
|
-
`, Mn += q(
|
|
70813
|
+
return Mn += Bt + " " + k + ` Tf
|
|
70814
|
+
`, Mn += q(k * bn) + ` TL
|
|
70815
70815
|
`, Mn += Gl + `
|
|
70816
70816
|
`, Mn += cs, Mn += m, Z(Mn += "ET"), h[Bt] = !0, Kr;
|
|
70817
70817
|
};
|
|
@@ -70988,10 +70988,10 @@ T* `) : m.join(` Tj
|
|
|
70988
70988
|
}).join(" "), _ = q(N(_)), Z("[" + m + "] " + _ + " d"), this;
|
|
70989
70989
|
};
|
|
70990
70990
|
var Sg = p.__private__.getLineHeight = p.getLineHeight = function() {
|
|
70991
|
-
return
|
|
70991
|
+
return k * Kl;
|
|
70992
70992
|
};
|
|
70993
70993
|
p.__private__.getLineHeight = p.getLineHeight = function() {
|
|
70994
|
-
return
|
|
70994
|
+
return k * Kl;
|
|
70995
70995
|
};
|
|
70996
70996
|
var _g = p.__private__.setLineHeightFactor = p.setLineHeightFactor = function(m) {
|
|
70997
70997
|
return typeof (m = m || 1.15) == "number" && (Kl = m), this;
|
|
@@ -71073,11 +71073,11 @@ T* `) : m.join(` Tj
|
|
|
71073
71073
|
p.addGState = function(m, _) {
|
|
71074
71074
|
return Fg(m, _), this;
|
|
71075
71075
|
}, p.saveGraphicsState = function() {
|
|
71076
|
-
return Z("q"), Xi.push({ key: Bt, size:
|
|
71076
|
+
return Z("q"), Xi.push({ key: Bt, size: k, color: Gl }), this;
|
|
71077
71077
|
}, p.restoreGraphicsState = function() {
|
|
71078
71078
|
Z("Q");
|
|
71079
71079
|
var m = Xi.pop();
|
|
71080
|
-
return Bt = m.key,
|
|
71080
|
+
return Bt = m.key, k = m.size, Gl = m.color, Fo = null, this;
|
|
71081
71081
|
}, p.setCurrentTransformationMatrix = function(m) {
|
|
71082
71082
|
return Z(m.toString() + " cm"), this;
|
|
71083
71083
|
}, p.comment = function(m) {
|
|
@@ -71293,7 +71293,7 @@ var mn = function(t, e) {
|
|
|
71293
71293
|
e:
|
|
71294
71294
|
for (; i > 0; ) {
|
|
71295
71295
|
e = "", i--;
|
|
71296
|
-
var l, c, A = Zh("3", t, i).height, h = t.multiline ? o - i : (o - A) / 2, p = h += 2, f = 0, y = 0,
|
|
71296
|
+
var l, c, A = Zh("3", t, i).height, h = t.multiline ? o - i : (o - A) / 2, p = h += 2, f = 0, y = 0, x = 0;
|
|
71297
71297
|
if (i <= 0) {
|
|
71298
71298
|
e = `(...) Tj
|
|
71299
71299
|
`, e += "% Width of Text: " + Zh(e, t, i = 12).width + ", FieldWidth:" + a + `
|
|
@@ -71303,15 +71303,15 @@ var mn = function(t, e) {
|
|
|
71303
71303
|
for (var b = "", C = 0, I = 0; I < n.length; I++)
|
|
71304
71304
|
if (n.hasOwnProperty(I)) {
|
|
71305
71305
|
var O = !1;
|
|
71306
|
-
if (n[I].length !== 1 &&
|
|
71306
|
+
if (n[I].length !== 1 && x !== n[I].length - 1) {
|
|
71307
71307
|
if ((A + 2) * (C + 2) + 2 > o)
|
|
71308
71308
|
continue e;
|
|
71309
|
-
b += n[I][
|
|
71309
|
+
b += n[I][x], O = !0, y = I, I--;
|
|
71310
71310
|
} else {
|
|
71311
|
-
b = (b += n[I][
|
|
71311
|
+
b = (b += n[I][x] + " ").substr(b.length - 1) == " " ? b.substr(0, b.length - 1) : b;
|
|
71312
71312
|
var K = parseInt(I), H = d(K, b, i), q = I >= n.length - 1;
|
|
71313
71313
|
if (H && !q) {
|
|
71314
|
-
b += " ",
|
|
71314
|
+
b += " ", x = 0;
|
|
71315
71315
|
continue;
|
|
71316
71316
|
}
|
|
71317
71317
|
if (H || q) {
|
|
@@ -71329,7 +71329,7 @@ var mn = function(t, e) {
|
|
|
71329
71329
|
var de = n[X];
|
|
71330
71330
|
if (t.multiline) {
|
|
71331
71331
|
if (X === y) {
|
|
71332
|
-
L += de[
|
|
71332
|
+
L += de[x] + " ", x = (x + 1) % de.length;
|
|
71333
71333
|
continue;
|
|
71334
71334
|
}
|
|
71335
71335
|
if (X === f) {
|
|
@@ -71685,17 +71685,17 @@ var Hi = function t() {
|
|
|
71685
71685
|
}, set: function(b) {
|
|
71686
71686
|
b ? this.Ff = Or(this.Ff, 3) : this.Ff = Lr(this.Ff, 3);
|
|
71687
71687
|
} });
|
|
71688
|
-
var
|
|
71688
|
+
var x = null;
|
|
71689
71689
|
Object.defineProperty(this, "Q", { enumerable: !0, configurable: !1, get: function() {
|
|
71690
|
-
if (
|
|
71691
|
-
return
|
|
71690
|
+
if (x !== null)
|
|
71691
|
+
return x;
|
|
71692
71692
|
}, set: function(b) {
|
|
71693
71693
|
if ([0, 1, 2].indexOf(b) === -1)
|
|
71694
71694
|
throw new Error('Invalid value "' + b + '" for attribute Q supplied.');
|
|
71695
|
-
|
|
71695
|
+
x = b;
|
|
71696
71696
|
} }), Object.defineProperty(this, "textAlign", { get: function() {
|
|
71697
71697
|
var b;
|
|
71698
|
-
switch (
|
|
71698
|
+
switch (x) {
|
|
71699
71699
|
case 0:
|
|
71700
71700
|
default:
|
|
71701
71701
|
b = "left";
|
|
@@ -71711,16 +71711,16 @@ var Hi = function t() {
|
|
|
71711
71711
|
switch (b) {
|
|
71712
71712
|
case "right":
|
|
71713
71713
|
case 2:
|
|
71714
|
-
|
|
71714
|
+
x = 2;
|
|
71715
71715
|
break;
|
|
71716
71716
|
case "center":
|
|
71717
71717
|
case 1:
|
|
71718
|
-
|
|
71718
|
+
x = 1;
|
|
71719
71719
|
break;
|
|
71720
71720
|
case "left":
|
|
71721
71721
|
case 0:
|
|
71722
71722
|
default:
|
|
71723
|
-
|
|
71723
|
+
x = 0;
|
|
71724
71724
|
}
|
|
71725
71725
|
} });
|
|
71726
71726
|
};
|
|
@@ -72095,7 +72095,7 @@ function j8(t) {
|
|
|
72095
72095
|
we.splice(we.indexOf("FlateEncode"), 1);
|
|
72096
72096
|
N.objectId = this.internal.newObject();
|
|
72097
72097
|
var pe = [];
|
|
72098
|
-
if (pe.push({ key: "Type", value: "/XObject" }), pe.push({ key: "Subtype", value: "/Image" }), pe.push({ key: "Width", value: N.width }), pe.push({ key: "Height", value: N.height }), N.colorSpace ===
|
|
72098
|
+
if (pe.push({ key: "Type", value: "/XObject" }), pe.push({ key: "Subtype", value: "/Image" }), pe.push({ key: "Width", value: N.width }), pe.push({ key: "Height", value: N.height }), N.colorSpace === x.INDEXED ? pe.push({ key: "ColorSpace", value: "[/Indexed /DeviceRGB " + (N.palette.length / 3 - 1) + " " + ("sMask" in N && N.sMask !== void 0 ? N.objectId + 2 : N.objectId + 1) + " 0 R]" }) : (pe.push({ key: "ColorSpace", value: "/" + N.colorSpace }), N.colorSpace === x.DEVICE_CMYK && pe.push({ key: "Decode", value: "[1 0 1 0 1 0 1 0]" })), pe.push({ key: "BitsPerComponent", value: N.bitsPerComponent }), "decodeParameters" in N && N.decodeParameters !== void 0 && pe.push({ key: "DecodeParms", value: "<<" + N.decodeParameters + ">>" }), "transparency" in N && Array.isArray(N.transparency)) {
|
|
72099
72099
|
for (var xe = "", ge = 0, Be = N.transparency.length; ge < Be; ge++)
|
|
72100
72100
|
xe += N.transparency[ge] + " " + N.transparency[ge] + " ";
|
|
72101
72101
|
pe.push({ key: "Mask", value: "[" + xe + "]" });
|
|
@@ -72106,7 +72106,7 @@ function j8(t) {
|
|
|
72106
72106
|
var Ce = "/Predictor " + N.predictor + " /Colors 1 /BitsPerComponent " + N.bitsPerComponent + " /Columns " + N.width, j = { width: N.width, height: N.height, colorSpace: "DeviceGray", bitsPerComponent: N.bitsPerComponent, decodeParameters: Ce, data: N.sMask };
|
|
72107
72107
|
"filter" in N && (j.filter = N.filter), z.call(this, j);
|
|
72108
72108
|
}
|
|
72109
|
-
if (N.colorSpace ===
|
|
72109
|
+
if (N.colorSpace === x.INDEXED) {
|
|
72110
72110
|
var M = this.internal.newObject();
|
|
72111
72111
|
J({ data: L(new Uint8Array(N.palette)), objectId: M }), W("endobj");
|
|
72112
72112
|
}
|
|
@@ -72174,7 +72174,7 @@ function j8(t) {
|
|
|
72174
72174
|
}, G = [M(Ce), M(j), M(-1 * j), M(Ce), 0, 0, "cm"];
|
|
72175
72175
|
}
|
|
72176
72176
|
this.internal.write("q"), pe ? (this.internal.write([1, "0", "0", 1, ge(z), Be(N + J), "cm"].join(" ")), this.internal.write(G.join(" ")), this.internal.write([ge(W), "0", "0", ge(J), "0", "0", "cm"].join(" "))) : this.internal.write([ge(W), "0", "0", ge(J), ge(z), Be(N + J), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + we.index + " Do"), this.internal.write("Q");
|
|
72177
|
-
},
|
|
72177
|
+
}, x = t.color_spaces = { DEVICE_RGB: "DeviceRGB", DEVICE_GRAY: "DeviceGray", DEVICE_CMYK: "DeviceCMYK", CAL_GREY: "CalGray", CAL_RGB: "CalRGB", LAB: "Lab", ICC_BASED: "ICCBased", INDEXED: "Indexed", PATTERN: "Pattern", SEPARATION: "Separation", DEVICE_N: "DeviceN" };
|
|
72178
72178
|
t.decode = { DCT_DECODE: "DCTDecode", FLATE_DECODE: "FlateDecode", LZW_DECODE: "LZWDecode", JPX_DECODE: "JPXDecode", JBIG2_DECODE: "JBIG2Decode", ASCII85_DECODE: "ASCII85Decode", ASCII_HEX_DECODE: "ASCIIHexDecode", RUN_LENGTH_DECODE: "RunLengthDecode", CCITT_FAX_DECODE: "CCITTFaxDecode" };
|
|
72179
72179
|
var b = t.image_compression = { NONE: "NONE", FAST: "FAST", MEDIUM: "MEDIUM", SLOW: "SLOW" }, C = t.__addimage__.sHashCode = function(z) {
|
|
72180
72180
|
var N, W, J = 0;
|
|
@@ -72300,10 +72300,10 @@ function(t) {
|
|
|
72300
72300
|
this.internal.write(" " + s.object.objId + " 0 R ");
|
|
72301
72301
|
break;
|
|
72302
72302
|
case "text":
|
|
72303
|
-
var y = this.internal.newAdditionalObject(),
|
|
72304
|
-
i = "<</Type /Annot /Subtype /Text " + (n = "/Rect [" + o(s.bounds.x) + " " + a(s.bounds.y + s.bounds.h) + " " + o(s.bounds.x + s.bounds.w) + " " + a(s.bounds.y) + "] ") + "/Contents (" + p(b(s.contents)) + ")", i += " /Popup " +
|
|
72303
|
+
var y = this.internal.newAdditionalObject(), x = this.internal.newAdditionalObject(), b = this.internal.getEncryptor(y.objId), C = s.title || "Note";
|
|
72304
|
+
i = "<</Type /Annot /Subtype /Text " + (n = "/Rect [" + o(s.bounds.x) + " " + a(s.bounds.y + s.bounds.h) + " " + o(s.bounds.x + s.bounds.w) + " " + a(s.bounds.y) + "] ") + "/Contents (" + p(b(s.contents)) + ")", i += " /Popup " + x.objId + " 0 R", i += " /P " + d.objId + " 0 R", i += " /T (" + p(b(C)) + ") >>", y.content = i;
|
|
72305
72305
|
var I = y.objId + " 0 R";
|
|
72306
|
-
i = "<</Type /Annot /Subtype /Popup " + (n = "/Rect [" + o(s.bounds.x + 30) + " " + a(s.bounds.y + s.bounds.h) + " " + o(s.bounds.x + s.bounds.w + 30) + " " + a(s.bounds.y) + "] ") + " /Parent " + I, s.open && (i += " /Open true"), i += " >>",
|
|
72306
|
+
i = "<</Type /Annot /Subtype /Popup " + (n = "/Rect [" + o(s.bounds.x + 30) + " " + a(s.bounds.y + s.bounds.h) + " " + o(s.bounds.x + s.bounds.w + 30) + " " + a(s.bounds.y) + "] ") + " /Parent " + I, s.open && (i += " /Open true"), i += " >>", x.content = i, this.internal.write(y.objId, "0 R", x.objId, "0 R");
|
|
72307
72307
|
break;
|
|
72308
72308
|
case "freetext":
|
|
72309
72309
|
n = "/Rect [" + o(s.bounds.x) + " " + a(s.bounds.y) + " " + o(s.bounds.x + s.bounds.w) + " " + a(s.bounds.y + s.bounds.h) + "] ";
|
|
@@ -72396,33 +72396,33 @@ function(t) {
|
|
|
72396
72396
|
var c = t.__arabicParser__.arabicLetterHasMedialForm = function(y) {
|
|
72397
72397
|
return o(y) && i(y) && e[y.charCodeAt(0)].length == 4;
|
|
72398
72398
|
}, A = t.__arabicParser__.resolveLigatures = function(y) {
|
|
72399
|
-
var
|
|
72400
|
-
for (
|
|
72401
|
-
b[y.charCodeAt(
|
|
72399
|
+
var x = 0, b = r, C = "", I = 0;
|
|
72400
|
+
for (x = 0; x < y.length; x += 1)
|
|
72401
|
+
b[y.charCodeAt(x)] !== void 0 ? (I++, typeof (b = b[y.charCodeAt(x)]) == "number" && (C += String.fromCharCode(b), b = r, I = 0), x === y.length - 1 && (b = r, C += y.charAt(x - (I - 1)), x -= I - 1, I = 0)) : (b = r, C += y.charAt(x - I), x -= I, I = 0);
|
|
72402
72402
|
return C;
|
|
72403
72403
|
};
|
|
72404
72404
|
t.__arabicParser__.isArabicDiacritic = function(y) {
|
|
72405
72405
|
return y !== void 0 && s[y.charCodeAt(0)] !== void 0;
|
|
72406
72406
|
};
|
|
72407
|
-
var h = t.__arabicParser__.getCorrectForm = function(y,
|
|
72408
|
-
return o(y) ? i(y) === !1 ? -1 : !l(y) || !o(
|
|
72407
|
+
var h = t.__arabicParser__.getCorrectForm = function(y, x, b) {
|
|
72408
|
+
return o(y) ? i(y) === !1 ? -1 : !l(y) || !o(x) && !o(b) || !o(b) && a(x) || a(y) && !o(x) || a(y) && d(x) || a(y) && a(x) ? 0 : c(y) && o(x) && !a(x) && o(b) && l(b) ? 3 : a(y) || !o(b) ? 1 : 2 : -1;
|
|
72409
72409
|
}, p = function(y) {
|
|
72410
|
-
var
|
|
72411
|
-
for (
|
|
72412
|
-
for (q.push(""), b = 0; b < H[
|
|
72413
|
-
I = H[
|
|
72414
|
-
q[
|
|
72410
|
+
var x = 0, b = 0, C = 0, I = "", O = "", K = "", H = (y = y || "").split("\\s+"), q = [];
|
|
72411
|
+
for (x = 0; x < H.length; x += 1) {
|
|
72412
|
+
for (q.push(""), b = 0; b < H[x].length; b += 1)
|
|
72413
|
+
I = H[x][b], O = H[x][b - 1], K = H[x][b + 1], o(I) ? (C = h(I, O, K), q[x] += C !== -1 ? String.fromCharCode(e[I.charCodeAt(0)][C]) : I) : q[x] += I;
|
|
72414
|
+
q[x] = A(q[x]);
|
|
72415
72415
|
}
|
|
72416
72416
|
return q.join(" ");
|
|
72417
72417
|
}, f = t.__arabicParser__.processArabic = t.processArabic = function() {
|
|
72418
|
-
var y,
|
|
72419
|
-
if (Array.isArray(
|
|
72418
|
+
var y, x = typeof arguments[0] == "string" ? arguments[0] : arguments[0].text, b = [];
|
|
72419
|
+
if (Array.isArray(x)) {
|
|
72420
72420
|
var C = 0;
|
|
72421
|
-
for (b = [], C = 0; C <
|
|
72422
|
-
Array.isArray(
|
|
72421
|
+
for (b = [], C = 0; C < x.length; C += 1)
|
|
72422
|
+
Array.isArray(x[C]) ? b.push([p(x[C][0]), x[C][1], x[C][2]]) : b.push([p(x[C])]);
|
|
72423
72423
|
y = b;
|
|
72424
72424
|
} else
|
|
72425
|
-
y = p(
|
|
72425
|
+
y = p(x);
|
|
72426
72426
|
return typeof arguments[0] == "string" ? y : (arguments[0].text = y, arguments[0]);
|
|
72427
72427
|
};
|
|
72428
72428
|
t.events.push(["preProcessText", f]);
|
|
@@ -72550,7 +72550,7 @@ function(t) {
|
|
|
72550
72550
|
return s.call(this), this.internal.__cell__.headerFunction = typeof d == "function" ? d : void 0, this;
|
|
72551
72551
|
}, t.getTextDimensions = function(d, l) {
|
|
72552
72552
|
s.call(this);
|
|
72553
|
-
var c = (l = l || {}).fontSize || this.getFontSize(), A = l.font || this.getFont(), h = l.scaleFactor || this.internal.scaleFactor, p = 0, f = 0, y = 0,
|
|
72553
|
+
var c = (l = l || {}).fontSize || this.getFontSize(), A = l.font || this.getFont(), h = l.scaleFactor || this.internal.scaleFactor, p = 0, f = 0, y = 0, x = this;
|
|
72554
72554
|
if (!Array.isArray(d) && typeof d != "string") {
|
|
72555
72555
|
if (typeof d != "number")
|
|
72556
72556
|
throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");
|
|
@@ -72558,7 +72558,7 @@ function(t) {
|
|
|
72558
72558
|
}
|
|
72559
72559
|
var b = l.maxWidth;
|
|
72560
72560
|
b > 0 ? typeof d == "string" ? d = this.splitTextToSize(d, b) : Object.prototype.toString.call(d) === "[object Array]" && (d = d.reduce(function(I, O) {
|
|
72561
|
-
return I.concat(
|
|
72561
|
+
return I.concat(x.splitTextToSize(O, b));
|
|
72562
72562
|
}, [])) : d = Array.isArray(d) ? d : [d];
|
|
72563
72563
|
for (var C = 0; C < d.length; C++)
|
|
72564
72564
|
p < (y = this.getStringUnitWidth(d[C], { font: A }) * c) && (p = y);
|
|
@@ -72577,7 +72577,7 @@ function(t) {
|
|
|
72577
72577
|
t.table = function(d, l, c, A, h) {
|
|
72578
72578
|
if (s.call(this), !c)
|
|
72579
72579
|
throw new Error("No data for PDF table.");
|
|
72580
|
-
var p, f, y,
|
|
72580
|
+
var p, f, y, x, b = [], C = [], I = [], O = {}, K = {}, H = [], q = [], L = (h = h || {}).autoSize || !1, X = h.printHeaders !== !1, de = h.css && h.css["font-size"] !== void 0 ? 16 * h.css["font-size"] : h.fontSize || 12, z = h.margins || Object.assign({ width: this.getPageWidth() }, e), N = typeof h.padding == "number" ? h.padding : 3, W = h.headerBackgroundColor || "#c8c8c8", J = h.headerTextColor || "#000";
|
|
72581
72581
|
if (n.call(this), this.internal.__cell__.printHeaders = X, this.internal.__cell__.margins = z, this.internal.__cell__.table_font_size = de, this.internal.__cell__.padding = N, this.internal.__cell__.headerBackgroundColor = W, this.internal.__cell__.headerTextColor = J, this.setFontSize(de), A == null)
|
|
72582
72582
|
C = b = Object.keys(c[0]), I = b.map(function() {
|
|
72583
72583
|
return "left";
|
|
@@ -72597,11 +72597,11 @@ function(t) {
|
|
|
72597
72597
|
}));
|
|
72598
72598
|
if (L || Array.isArray(A) && typeof A[0] == "string")
|
|
72599
72599
|
for (p = 0; p < b.length; p += 1) {
|
|
72600
|
-
for (O[
|
|
72601
|
-
return ae[
|
|
72602
|
-
}), this.setFont(void 0, "bold"), H.push(this.getTextDimensions(C[p], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w), f = O[
|
|
72600
|
+
for (O[x = b[p]] = c.map(function(ae) {
|
|
72601
|
+
return ae[x];
|
|
72602
|
+
}), this.setFont(void 0, "bold"), H.push(this.getTextDimensions(C[p], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w), f = O[x], this.setFont(void 0, "normal"), y = 0; y < f.length; y += 1)
|
|
72603
72603
|
H.push(this.getTextDimensions(f[y], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w);
|
|
72604
|
-
K[
|
|
72604
|
+
K[x] = Math.max.apply(null, H) + N + N, H = [];
|
|
72605
72605
|
}
|
|
72606
72606
|
if (X) {
|
|
72607
72607
|
var we = {};
|
|
@@ -72859,30 +72859,30 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
72859
72859
|
if (Le === null) {
|
|
72860
72860
|
var ft = function(D) {
|
|
72861
72861
|
var w = [];
|
|
72862
|
-
return Object.keys(D).forEach(function(
|
|
72863
|
-
D[
|
|
72862
|
+
return Object.keys(D).forEach(function(k) {
|
|
72863
|
+
D[k].forEach(function(Q) {
|
|
72864
72864
|
var $ = null;
|
|
72865
72865
|
switch (Q) {
|
|
72866
72866
|
case "bold":
|
|
72867
|
-
$ = { family:
|
|
72867
|
+
$ = { family: k, weight: "bold" };
|
|
72868
72868
|
break;
|
|
72869
72869
|
case "italic":
|
|
72870
|
-
$ = { family:
|
|
72870
|
+
$ = { family: k, style: "italic" };
|
|
72871
72871
|
break;
|
|
72872
72872
|
case "bolditalic":
|
|
72873
|
-
$ = { family:
|
|
72873
|
+
$ = { family: k, weight: "bold", style: "italic" };
|
|
72874
72874
|
break;
|
|
72875
72875
|
case "":
|
|
72876
72876
|
case "normal":
|
|
72877
|
-
$ = { family:
|
|
72877
|
+
$ = { family: k };
|
|
72878
72878
|
}
|
|
72879
|
-
$ !== null && ($.ref = { name:
|
|
72879
|
+
$ !== null && ($.ref = { name: k, style: Q }, w.push($));
|
|
72880
72880
|
});
|
|
72881
72881
|
}), w;
|
|
72882
72882
|
}(Ee.getFontList());
|
|
72883
72883
|
Le = function(D) {
|
|
72884
|
-
for (var w = {},
|
|
72885
|
-
var Q = N2(D[
|
|
72884
|
+
for (var w = {}, k = 0; k < D.length; ++k) {
|
|
72885
|
+
var Q = N2(D[k]), $ = Q.family, he = Q.stretch, ke = Q.style, Ye = Q.weight;
|
|
72886
72886
|
w[$] = w[$] || {}, w[$][he] = w[$][he] || {}, w[$][he][ke] = w[$][he][ke] || {}, w[$][he][ke][Ye] = Q;
|
|
72887
72887
|
}
|
|
72888
72888
|
return w;
|
|
@@ -72900,7 +72900,7 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
72900
72900
|
}, set: function(Ee) {
|
|
72901
72901
|
var Z;
|
|
72902
72902
|
if (this.ctx.font = Ee, (Z = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Ee)) !== null) {
|
|
72903
|
-
var ft = Z[1], D = (Z[2], Z[3]), w = Z[4],
|
|
72903
|
+
var ft = Z[1], D = (Z[2], Z[3]), w = Z[4], k = (Z[5], Z[6]), Q = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(w)[2];
|
|
72904
72904
|
w = Math.floor(Q === "px" ? parseFloat(w) * this.pdf.internal.scaleFactor : Q === "em" ? parseFloat(w) * this.pdf.getFontSize() : parseFloat(w) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(w);
|
|
72905
72905
|
var $ = function(et) {
|
|
72906
72906
|
var Bt, We, rs = [], Ot = et.trim();
|
|
@@ -72922,7 +72922,7 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
72922
72922
|
Ot = Ot.replace(/^,/, "");
|
|
72923
72923
|
}
|
|
72924
72924
|
return rs;
|
|
72925
|
-
}(
|
|
72925
|
+
}(k);
|
|
72926
72926
|
if (this.fontFaces) {
|
|
72927
72927
|
var he = DG(Me(this.pdf, this.fontFaces), $.map(function(et) {
|
|
72928
72928
|
return { family: et, stretch: "normal", weight: D, style: ft };
|
|
@@ -73143,7 +73143,7 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73143
73143
|
A.prototype.drawImage = function(j, M, G, ee, re, ce, ve, be, Oe) {
|
|
73144
73144
|
var ze = this.pdf.getImageProperties(j), Le = 1, Me = 1, dt = 1, Ee = 1;
|
|
73145
73145
|
ee !== void 0 && be !== void 0 && (dt = be / ee, Ee = Oe / re, Le = ze.width / ee * be / ee, Me = ze.height / re * Oe / re), ce === void 0 && (ce = M, ve = G, M = 0, G = 0), ee !== void 0 && be === void 0 && (be = ee, Oe = re), ee === void 0 && be === void 0 && (be = ze.width, Oe = ze.height);
|
|
73146
|
-
for (var Z, ft = this.ctx.transform.decompose(), D = ge(ft.rotate.shx), w = new d(),
|
|
73146
|
+
for (var Z, ft = this.ctx.transform.decompose(), D = ge(ft.rotate.shx), w = new d(), k = (w = (w = (w = w.multiply(ft.translate)).multiply(ft.skew)).multiply(ft.scale)).applyToRectangle(new a(ce - M * dt, ve - G * Ee, ee * Le, re * Me)), Q = x.call(this, k), $ = [], he = 0; he < Q.length; he += 1)
|
|
73147
73147
|
$.indexOf(Q[he]) === -1 && $.push(Q[he]);
|
|
73148
73148
|
if (I($), this.autoPaging)
|
|
73149
73149
|
for (var ke = $[0], Ye = $[$.length - 1], nt = ke; nt < Ye + 1; nt++) {
|
|
@@ -73153,15 +73153,15 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73153
73153
|
var rs = this.path;
|
|
73154
73154
|
Z = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = C(Z, this.posX + this.margin[3], -We + yt + this.ctx.prevPageLastElemOffset), K.call(this, "fill", !0), this.path = rs;
|
|
73155
73155
|
}
|
|
73156
|
-
var Ot = JSON.parse(JSON.stringify(
|
|
73156
|
+
var Ot = JSON.parse(JSON.stringify(k));
|
|
73157
73157
|
Ot = C([Ot], this.posX + this.margin[3], -We + yt + this.ctx.prevPageLastElemOffset)[0];
|
|
73158
73158
|
var ni = (nt > ke || nt < Ye) && y.call(this);
|
|
73159
73159
|
ni && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], ct, Bt, null).clip().discardPath()), this.pdf.addImage(j, "JPEG", Ot.x, Ot.y, Ot.w, Ot.h, null, null, D), ni && this.pdf.restoreGraphicsState();
|
|
73160
73160
|
}
|
|
73161
73161
|
else
|
|
73162
|
-
this.pdf.addImage(j, "JPEG",
|
|
73162
|
+
this.pdf.addImage(j, "JPEG", k.x, k.y, k.w, k.h, null, null, D);
|
|
73163
73163
|
};
|
|
73164
|
-
var
|
|
73164
|
+
var x = function(j, M, G) {
|
|
73165
73165
|
var ee = [];
|
|
73166
73166
|
M = M || this.pdf.internal.pageSize.width, G = G || this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2];
|
|
73167
73167
|
var re = this.posY + this.ctx.prevPageLastElemOffset;
|
|
@@ -73213,13 +73213,13 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73213
73213
|
}, O = function(j, M) {
|
|
73214
73214
|
for (var G, ee, re = this.fillStyle, ce = this.strokeStyle, ve = this.lineCap, be = this.lineWidth, Oe = Math.abs(be * this.ctx.transform.scaleX), ze = this.lineJoin, Le = JSON.parse(JSON.stringify(this.path)), Me = JSON.parse(JSON.stringify(this.path)), dt = [], Ee = 0; Ee < Me.length; Ee++)
|
|
73215
73215
|
if (Me[Ee].x !== void 0)
|
|
73216
|
-
for (var Z =
|
|
73216
|
+
for (var Z = x.call(this, Me[Ee]), ft = 0; ft < Z.length; ft += 1)
|
|
73217
73217
|
dt.indexOf(Z[ft]) === -1 && dt.push(Z[ft]);
|
|
73218
73218
|
for (var D = 0; D < dt.length; D++)
|
|
73219
73219
|
for (; this.pdf.internal.getNumberOfPages() < dt[D]; )
|
|
73220
73220
|
b.call(this);
|
|
73221
73221
|
if (I(dt), this.autoPaging)
|
|
73222
|
-
for (var w = dt[0],
|
|
73222
|
+
for (var w = dt[0], k = dt[dt.length - 1], Q = w; Q < k + 1; Q++) {
|
|
73223
73223
|
this.pdf.setPage(Q), this.fillStyle = re, this.strokeStyle = ce, this.lineCap = ve, this.lineWidth = Oe, this.lineJoin = ze;
|
|
73224
73224
|
var $ = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], he = Q === 1 ? this.posY + this.margin[0] : this.margin[0], ke = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Ye = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], nt = Q === 1 ? 0 : ke + (Q - 2) * Ye;
|
|
73225
73225
|
if (this.ctx.clip_path.length !== 0) {
|
|
@@ -73227,7 +73227,7 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73227
73227
|
G = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = C(G, this.posX + this.margin[3], -nt + he + this.ctx.prevPageLastElemOffset), K.call(this, j, !0), this.path = ct;
|
|
73228
73228
|
}
|
|
73229
73229
|
if (ee = JSON.parse(JSON.stringify(Le)), this.path = C(ee, this.posX + this.margin[3], -nt + he + this.ctx.prevPageLastElemOffset), M === !1 || Q === 0) {
|
|
73230
|
-
var yt = (Q > w || Q <
|
|
73230
|
+
var yt = (Q > w || Q < k) && y.call(this);
|
|
73231
73231
|
yt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], $, Ye, null).clip().discardPath()), K.call(this, j, M), yt && this.pdf.restoreGraphicsState();
|
|
73232
73232
|
}
|
|
73233
73233
|
this.lineWidth = be;
|
|
@@ -73273,8 +73273,8 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73273
73273
|
ee = M ? null : j === "stroke" ? "stroke" : "fill";
|
|
73274
73274
|
for (var ft = !1, D = 0; D < re.length; D++)
|
|
73275
73275
|
if (re[D].arc)
|
|
73276
|
-
for (var w = re[D].abs,
|
|
73277
|
-
var Q = w[
|
|
73276
|
+
for (var w = re[D].abs, k = 0; k < w.length; k++) {
|
|
73277
|
+
var Q = w[k];
|
|
73278
73278
|
Q.type === "arc" ? L.call(this, Q.x, Q.y, Q.radius, Q.startAngle, Q.endAngle, Q.counterclockwise, void 0, M, !ft) : W.call(this, Q.x, Q.y), ft = !0;
|
|
73279
73279
|
}
|
|
73280
73280
|
else if (re[D].close === !0)
|
|
@@ -73353,12 +73353,12 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73353
73353
|
}
|
|
73354
73354
|
var G = this.pdf.getTextDimensions(j.text), ee = H.call(this, j.y), re = q.call(this, ee) - G.h, ce = this.ctx.transform.applyToPoint(new o(j.x, ee)), ve = this.ctx.transform.decompose(), be = new d();
|
|
73355
73355
|
be = (be = (be = be.multiply(ve.translate)).multiply(ve.skew)).multiply(ve.scale);
|
|
73356
|
-
for (var Oe, ze, Le, Me = this.ctx.transform.applyToRectangle(new a(j.x, ee, G.w, G.h)), dt = be.applyToRectangle(new a(j.x, re, G.w, G.h)), Ee =
|
|
73356
|
+
for (var Oe, ze, Le, Me = this.ctx.transform.applyToRectangle(new a(j.x, ee, G.w, G.h)), dt = be.applyToRectangle(new a(j.x, re, G.w, G.h)), Ee = x.call(this, dt), Z = [], ft = 0; ft < Ee.length; ft += 1)
|
|
73357
73357
|
Z.indexOf(Ee[ft]) === -1 && Z.push(Ee[ft]);
|
|
73358
73358
|
if (I(Z), this.autoPaging)
|
|
73359
|
-
for (var D = Z[0], w = Z[Z.length - 1],
|
|
73360
|
-
this.pdf.setPage(
|
|
73361
|
-
var Q =
|
|
73359
|
+
for (var D = Z[0], w = Z[Z.length - 1], k = D; k < w + 1; k++) {
|
|
73360
|
+
this.pdf.setPage(k);
|
|
73361
|
+
var Q = k === 1 ? this.posY + this.margin[0] : this.margin[0], $ = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], he = this.pdf.internal.pageSize.height - this.margin[2], ke = he - this.margin[0], Ye = this.pdf.internal.pageSize.width - this.margin[1], nt = Ye - this.margin[3], ct = k === 1 ? 0 : $ + (k - 2) * ke;
|
|
73362
73362
|
if (this.ctx.clip_path.length !== 0) {
|
|
73363
73363
|
var yt = this.path;
|
|
73364
73364
|
Oe = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = C(Oe, this.posX + this.margin[3], -1 * ct + Q), K.call(this, "fill", !0), this.path = yt;
|
|
@@ -73368,7 +73368,7 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73368
73368
|
var Bt = this.autoPaging !== "text";
|
|
73369
73369
|
if (Bt || et.y + et.h <= he) {
|
|
73370
73370
|
if (Bt || et.y >= Q && et.x <= Ye) {
|
|
73371
|
-
var We = Bt ? j.text : this.pdf.splitTextToSize(j.text, j.maxWidth || Ye - et.x)[0], rs = C([JSON.parse(JSON.stringify(Me))], this.posX + this.margin[3], -ct + Q + this.ctx.prevPageLastElemOffset)[0], Ot = Bt && (
|
|
73371
|
+
var We = Bt ? j.text : this.pdf.splitTextToSize(j.text, j.maxWidth || Ye - et.x)[0], rs = C([JSON.parse(JSON.stringify(Me))], this.posX + this.margin[3], -ct + Q + this.ctx.prevPageLastElemOffset)[0], Ot = Bt && (k > D || k < w) && y.call(this);
|
|
73372
73372
|
Ot && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], nt, ke, null).clip().discardPath()), this.pdf.text(We, rs.x, rs.y, { angle: j.angle, align: M, renderingMode: j.renderingMode }), Ot && this.pdf.restoreGraphicsState();
|
|
73373
73373
|
}
|
|
73374
73374
|
} else
|
|
@@ -73402,10 +73402,10 @@ var $h, Sx, _x, Xy = ["times"];
|
|
|
73402
73402
|
var ve = j + 0.5 * (G - j), be = M + 0.5 * (ee - M), Oe = re + 0.5 * (G - re), ze = ce + 0.5 * (ee - ce), Le = Math.min(j, re, ve, Oe), Me = Math.max(j, re, ve, Oe), dt = Math.min(M, ce, be, ze), Ee = Math.max(M, ce, be, ze);
|
|
73403
73403
|
return new a(Le, dt, Me - Le, Ee - dt);
|
|
73404
73404
|
}, ae = function(j, M, G, ee, re, ce, ve, be) {
|
|
73405
|
-
var Oe, ze, Le, Me, dt, Ee, Z, ft, D, w,
|
|
73405
|
+
var Oe, ze, Le, Me, dt, Ee, Z, ft, D, w, k, Q, $, he, ke = G - j, Ye = ee - M, nt = re - G, ct = ce - ee, yt = ve - re, et = be - ce;
|
|
73406
73406
|
for (ze = 0; ze < 41; ze++)
|
|
73407
|
-
D = (Z = (Le = j + (Oe = ze / 40) * ke) + Oe * ((dt = G + Oe * nt) - Le)) + Oe * (dt + Oe * (re + Oe * yt - dt) - Z), w = (ft = (Me = M + Oe * Ye) + Oe * ((Ee = ee + Oe * ct) - Me)) + Oe * (Ee + Oe * (ce + Oe * et - Ee) - ft), ze == 0 ? (
|
|
73408
|
-
return new a(Math.round(
|
|
73407
|
+
D = (Z = (Le = j + (Oe = ze / 40) * ke) + Oe * ((dt = G + Oe * nt) - Le)) + Oe * (dt + Oe * (re + Oe * yt - dt) - Z), w = (ft = (Me = M + Oe * Ye) + Oe * ((Ee = ee + Oe * ct) - Me)) + Oe * (Ee + Oe * (ce + Oe * et - Ee) - ft), ze == 0 ? (k = D, Q = w, $ = D, he = w) : (k = Math.min(k, D), Q = Math.min(Q, w), $ = Math.max($, D), he = Math.max(he, w));
|
|
73408
|
+
return new a(Math.round(k), Math.round(Q), Math.round($ - k), Math.round(he - Q));
|
|
73409
73409
|
}, Ce = function() {
|
|
73410
73410
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
73411
73411
|
var j, M, G = (j = this.ctx.lineDash, M = this.ctx.lineDashOffset, JSON.stringify({ lineDash: j, lineDashOffset: M }));
|
|
@@ -73425,13 +73425,13 @@ function(t) {
|
|
|
73425
73425
|
var o, a, d, l, c, A, h, p, f, y;
|
|
73426
73426
|
for (a = [], d = 0, l = (i += o = "\0\0\0\0".slice(i.length % 4 || 4)).length; l > d; d += 4)
|
|
73427
73427
|
(c = (i.charCodeAt(d) << 24) + (i.charCodeAt(d + 1) << 16) + (i.charCodeAt(d + 2) << 8) + i.charCodeAt(d + 3)) !== 0 ? (A = (c = ((c = ((c = ((c = (c - (y = c % 85)) / 85) - (f = c % 85)) / 85) - (p = c % 85)) / 85) - (h = c % 85)) / 85) % 85, a.push(A + 33, h + 33, p + 33, f + 33, y + 33)) : a.push(122);
|
|
73428
|
-
return function(
|
|
73428
|
+
return function(x, b) {
|
|
73429
73429
|
for (var C = b; C > 0; C--)
|
|
73430
|
-
|
|
73430
|
+
x.pop();
|
|
73431
73431
|
}(a, o.length), String.fromCharCode.apply(String, a) + "~>";
|
|
73432
73432
|
}, r = function(i) {
|
|
73433
|
-
var o, a, d, l, c, A = String, h = "length", p = 255, f = "charCodeAt", y = "slice",
|
|
73434
|
-
for (i[y](-2), i = i[y](0, -2)[
|
|
73433
|
+
var o, a, d, l, c, A = String, h = "length", p = 255, f = "charCodeAt", y = "slice", x = "replace";
|
|
73434
|
+
for (i[y](-2), i = i[y](0, -2)[x](/\s/g, "")[x]("z", "!!!!!"), d = [], l = 0, c = (i += o = "uuuuu"[y](i[h] % 5 || 5))[h]; c > l; l += 5)
|
|
73435
73435
|
a = 52200625 * (i[f](l) - 33) + 614125 * (i[f](l + 1) - 33) + 7225 * (i[f](l + 2) - 33) + 85 * (i[f](l + 3) - 33) + (i[f](l + 4) - 33), d.push(p & a >> 24, p & a >> 16, p & a >> 8, p & a);
|
|
73436
73436
|
return function(b, C) {
|
|
73437
73437
|
for (var I = C; I > 0; I--)
|
|
@@ -73499,10 +73499,10 @@ function(t) {
|
|
|
73499
73499
|
try {
|
|
73500
73500
|
a = function(d, l, c) {
|
|
73501
73501
|
var A = new XMLHttpRequest(), h = 0, p = function(f) {
|
|
73502
|
-
var y = f.length,
|
|
73502
|
+
var y = f.length, x = [], b = String.fromCharCode;
|
|
73503
73503
|
for (h = 0; h < y; h += 1)
|
|
73504
|
-
|
|
73505
|
-
return
|
|
73504
|
+
x.push(b(255 & f.charCodeAt(h)));
|
|
73505
|
+
return x.join("");
|
|
73506
73506
|
};
|
|
73507
73507
|
if (A.open("GET", d, !l), A.overrideMimeType("text/plain; charset=x-user-defined"), l === !1 && (A.onload = function() {
|
|
73508
73508
|
A.status === 200 ? c(p(this.responseText)) : c(void 0);
|
|
@@ -73802,7 +73802,7 @@ function(t) {
|
|
|
73802
73802
|
else
|
|
73803
73803
|
try {
|
|
73804
73804
|
f = d[1], y = d[0];
|
|
73805
|
-
} catch (
|
|
73805
|
+
} catch (x) {
|
|
73806
73806
|
throw new Error("Invalid format: " + d);
|
|
73807
73807
|
}
|
|
73808
73808
|
if (o === "p" || o === "portrait")
|
|
@@ -73920,12 +73920,12 @@ function(t) {
|
|
|
73920
73920
|
var d, l = this.decode.DCT_DECODE, c = null;
|
|
73921
73921
|
if (typeof r == "string" || this.__addimage__.isArrayBuffer(r) || this.__addimage__.isArrayBufferView(r)) {
|
|
73922
73922
|
switch (r = o || r, r = this.__addimage__.isArrayBuffer(r) ? new Uint8Array(r) : r, (d = function(A) {
|
|
73923
|
-
for (var h, p = 256 * A.charCodeAt(4) + A.charCodeAt(5), f = A.length, y = { width: 0, height: 0, numcomponents: 1 },
|
|
73924
|
-
if (
|
|
73925
|
-
h = 256 * A.charCodeAt(
|
|
73923
|
+
for (var h, p = 256 * A.charCodeAt(4) + A.charCodeAt(5), f = A.length, y = { width: 0, height: 0, numcomponents: 1 }, x = 4; x < f; x += 2) {
|
|
73924
|
+
if (x += p, e.indexOf(A.charCodeAt(x + 1)) !== -1) {
|
|
73925
|
+
h = 256 * A.charCodeAt(x + 5) + A.charCodeAt(x + 6), y = { width: 256 * A.charCodeAt(x + 7) + A.charCodeAt(x + 8), height: h, numcomponents: A.charCodeAt(x + 9) };
|
|
73926
73926
|
break;
|
|
73927
73927
|
}
|
|
73928
|
-
p = 256 * A.charCodeAt(
|
|
73928
|
+
p = 256 * A.charCodeAt(x + 2) + A.charCodeAt(x + 3);
|
|
73929
73929
|
}
|
|
73930
73930
|
return y;
|
|
73931
73931
|
}(r = this.__addimage__.isArrayBufferView(r) ? this.__addimage__.arrayBufferToBinaryString(r) : r)).numcomponents) {
|
|
@@ -73946,7 +73946,7 @@ function(t) {
|
|
|
73946
73946
|
var Yc, e1, Ix, Fx, Ux, NG = function() {
|
|
73947
73947
|
var t, e, r;
|
|
73948
73948
|
function s(i) {
|
|
73949
|
-
var o, a, d, l, c, A, h, p, f, y,
|
|
73949
|
+
var o, a, d, l, c, A, h, p, f, y, x, b, C, I;
|
|
73950
73950
|
for (this.data = i, this.pos = 8, this.palette = [], this.imgData = [], this.transparency = {}, this.animation = null, this.text = {}, A = null; ; ) {
|
|
73951
73951
|
switch (o = this.readUInt32(), f = function() {
|
|
73952
73952
|
var O, K;
|
|
@@ -73988,7 +73988,7 @@ var Yc, e1, Ix, Fx, Ux, NG = function() {
|
|
|
73988
73988
|
}
|
|
73989
73989
|
break;
|
|
73990
73990
|
case "tEXt":
|
|
73991
|
-
h = (
|
|
73991
|
+
h = (x = this.read(o)).indexOf(0), p = String.fromCharCode.apply(String, x.slice(0, h)), this.text[p] = String.fromCharCode.apply(String, x.slice(h + 1));
|
|
73992
73992
|
break;
|
|
73993
73993
|
case "IEND":
|
|
73994
73994
|
return A && this.animation.frames.push(A), this.colors = function() {
|
|
@@ -74030,28 +74030,28 @@ var Yc, e1, Ix, Fx, Ux, NG = function() {
|
|
|
74030
74030
|
if (i == null && (i = this.imgData), i.length === 0)
|
|
74031
74031
|
return new Uint8Array(0);
|
|
74032
74032
|
function c(A, h, p, f) {
|
|
74033
|
-
var y,
|
|
74034
|
-
for (N = o * ae, de = j ? a : new Uint8Array(N * Ce), O = i.length, z = 0,
|
|
74033
|
+
var y, x, b, C, I, O, K, H, q, L, X, de, z, N, W, J, we, pe, xe, ge, Be, ae = Math.ceil((l.width - A) / p), Ce = Math.ceil((l.height - h) / f), j = l.width == ae && l.height == Ce;
|
|
74034
|
+
for (N = o * ae, de = j ? a : new Uint8Array(N * Ce), O = i.length, z = 0, x = 0; z < Ce && d < O; ) {
|
|
74035
74035
|
switch (i[d++]) {
|
|
74036
74036
|
case 0:
|
|
74037
74037
|
for (C = we = 0; we < N; C = we += 1)
|
|
74038
|
-
de[
|
|
74038
|
+
de[x++] = i[d++];
|
|
74039
74039
|
break;
|
|
74040
74040
|
case 1:
|
|
74041
74041
|
for (C = pe = 0; pe < N; C = pe += 1)
|
|
74042
|
-
y = i[d++], I = C < o ? 0 : de[
|
|
74042
|
+
y = i[d++], I = C < o ? 0 : de[x - o], de[x++] = (y + I) % 256;
|
|
74043
74043
|
break;
|
|
74044
74044
|
case 2:
|
|
74045
74045
|
for (C = xe = 0; xe < N; C = xe += 1)
|
|
74046
|
-
y = i[d++], b = (C - C % o) / o, W = z && de[(z - 1) * N + b * o + C % o], de[
|
|
74046
|
+
y = i[d++], b = (C - C % o) / o, W = z && de[(z - 1) * N + b * o + C % o], de[x++] = (W + y) % 256;
|
|
74047
74047
|
break;
|
|
74048
74048
|
case 3:
|
|
74049
74049
|
for (C = ge = 0; ge < N; C = ge += 1)
|
|
74050
|
-
y = i[d++], b = (C - C % o) / o, I = C < o ? 0 : de[
|
|
74050
|
+
y = i[d++], b = (C - C % o) / o, I = C < o ? 0 : de[x - o], W = z && de[(z - 1) * N + b * o + C % o], de[x++] = (y + Math.floor((I + W) / 2)) % 256;
|
|
74051
74051
|
break;
|
|
74052
74052
|
case 4:
|
|
74053
74053
|
for (C = Be = 0; Be < N; C = Be += 1)
|
|
74054
|
-
y = i[d++], b = (C - C % o) / o, I = C < o ? 0 : de[
|
|
74054
|
+
y = i[d++], b = (C - C % o) / o, I = C < o ? 0 : de[x - o], z === 0 ? W = J = 0 : (W = de[(z - 1) * N + b * o + C % o], J = b && de[(z - 1) * N + (b - 1) * o + C % o]), K = I + W - J, H = Math.abs(K - I), L = Math.abs(K - W), X = Math.abs(K - J), q = H <= L && H <= X ? I : L <= X ? W : J, de[x++] = (y + q) % 256;
|
|
74055
74055
|
break;
|
|
74056
74056
|
default:
|
|
74057
74057
|
throw new Error("Invalid filter algorithm: " + i[d - 1]);
|
|
@@ -74074,10 +74074,10 @@ var Yc, e1, Ix, Fx, Ux, NG = function() {
|
|
|
74074
74074
|
l[d++] = a[o], l[d++] = a[o + 1], l[d++] = a[o + 2], l[d++] = (p = c[i++]) != null ? p : 255;
|
|
74075
74075
|
return l;
|
|
74076
74076
|
}, s.prototype.copyToImageData = function(i, o) {
|
|
74077
|
-
var a, d, l, c, A, h, p, f, y,
|
|
74077
|
+
var a, d, l, c, A, h, p, f, y, x, b;
|
|
74078
74078
|
if (d = this.colors, y = null, a = this.hasAlphaChannel, this.palette.length && (y = (b = this._decodedPalette) != null ? b : this._decodedPalette = this.decodePalette(), d = 4, a = !0), f = (l = i.data || i).length, A = y || o, c = h = 0, d === 1)
|
|
74079
74079
|
for (; c < f; )
|
|
74080
|
-
p = y ? 4 * o[c / 4] : h,
|
|
74080
|
+
p = y ? 4 * o[c / 4] : h, x = A[p++], l[c++] = x, l[c++] = x, l[c++] = x, l[c++] = a ? A[p++] : 255, h = p;
|
|
74081
74081
|
else
|
|
74082
74082
|
for (; c < f; )
|
|
74083
74083
|
p = y ? 4 * o[c / 4] : h, l[c++] = A[p++], l[c++] = A[p++], l[c++] = A[p++], l[c++] = a ? A[p++] : 255, h = p;
|
|
@@ -74224,7 +74224,7 @@ function OG(t) {
|
|
|
74224
74224
|
}
|
|
74225
74225
|
break;
|
|
74226
74226
|
case 44:
|
|
74227
|
-
var
|
|
74227
|
+
var x = t[e++] | t[e++] << 8, b = t[e++] | t[e++] << 8, C = t[e++] | t[e++] << 8, I = t[e++] | t[e++] << 8, O = t[e++], K = O >> 6 & 1, H = 1 << (7 & O) + 1, q = a, L = d, X = !1;
|
|
74228
74228
|
O >> 7 && (X = !0, q = e, L = H, e += 3 * H);
|
|
74229
74229
|
var de = e;
|
|
74230
74230
|
for (e++; ; ) {
|
|
@@ -74235,7 +74235,7 @@ function OG(t) {
|
|
|
74235
74235
|
break;
|
|
74236
74236
|
e += z;
|
|
74237
74237
|
}
|
|
74238
|
-
c.push({ x
|
|
74238
|
+
c.push({ x, y: b, width: C, height: I, has_local_palette: X, palette_offset: q, palette_size: L, data_offset: de, data_length: e - de, transparent_index: h, interlaced: !!K, delay: A, disposal: p });
|
|
74239
74239
|
break;
|
|
74240
74240
|
case 59:
|
|
74241
74241
|
l = !1;
|
|
@@ -74293,20 +74293,20 @@ function Px(t, e, r, s) {
|
|
|
74293
74293
|
A |= t[e++] << c, c += 8, p === 1 ? p = t[e++] : --p;
|
|
74294
74294
|
if (c < d)
|
|
74295
74295
|
break;
|
|
74296
|
-
var
|
|
74297
|
-
if (A >>= d, c -= d,
|
|
74298
|
-
if (
|
|
74296
|
+
var x = A & l;
|
|
74297
|
+
if (A >>= d, c -= d, x !== i) {
|
|
74298
|
+
if (x === o)
|
|
74299
74299
|
break;
|
|
74300
|
-
for (var b =
|
|
74300
|
+
for (var b = x < a ? x : y, C = 0, I = b; I > i; )
|
|
74301
74301
|
I = f[I] >> 8, ++C;
|
|
74302
74302
|
var O = I;
|
|
74303
|
-
if (h + C + (b !==
|
|
74303
|
+
if (h + C + (b !== x ? 1 : 0) > s)
|
|
74304
74304
|
return void lr.log("Warning, gif stream longer than expected.");
|
|
74305
74305
|
r[h++] = O;
|
|
74306
74306
|
var K = h += C;
|
|
74307
|
-
for (b !==
|
|
74307
|
+
for (b !== x && (r[h++] = O), I = b; C--; )
|
|
74308
74308
|
I = f[I], r[--K] = 255 & I, I >>= 8;
|
|
74309
|
-
y !== null && a < 4096 && (f[a++] = y << 8 | O, a >= l + 1 && d < 12 && (++d, l = l << 1 | 1)), y =
|
|
74309
|
+
y !== null && a < 4096 && (f[a++] = y << 8 | O, a >= l + 1 && d < 12 && (++d, l = l << 1 | 1)), y = x;
|
|
74310
74310
|
} else
|
|
74311
74311
|
a = o + 1, l = (1 << (d = n + 1)) - 1, y = null;
|
|
74312
74312
|
}
|
|
@@ -74345,7 +74345,7 @@ function Px(t, e, r, s) {
|
|
|
74345
74345
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
74346
74346
|
*/
|
|
74347
74347
|
function Zy(t) {
|
|
74348
|
-
var e, r, s, n, i, o = Math.floor, a = new Array(64), d = new Array(64), l = new Array(64), c = new Array(64), A = new Array(65535), h = new Array(65535), p = new Array(64), f = new Array(64), y = [],
|
|
74348
|
+
var e, r, s, n, i, o = Math.floor, a = new Array(64), d = new Array(64), l = new Array(64), c = new Array(64), A = new Array(65535), h = new Array(65535), p = new Array(64), f = new Array(64), y = [], x = 0, b = 7, C = new Array(64), I = new Array(64), O = new Array(64), K = new Array(256), H = new Array(2048), q = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], L = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], X = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], de = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], z = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], N = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], W = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], J = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], we = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
74349
74349
|
function pe(j, M) {
|
|
74350
74350
|
for (var G = 0, ee = 0, re = new Array(), ce = 1; ce <= 16; ce++) {
|
|
74351
74351
|
for (var ve = 1; ve <= j[ce]; ve++)
|
|
@@ -74356,7 +74356,7 @@ function Zy(t) {
|
|
|
74356
74356
|
}
|
|
74357
74357
|
function xe(j) {
|
|
74358
74358
|
for (var M = j[0], G = j[1] - 1; G >= 0; )
|
|
74359
|
-
M & 1 << G && (
|
|
74359
|
+
M & 1 << G && (x |= 1 << b), G--, --b < 0 && (x == 255 ? (ge(255), ge(0)) : ge(x), b = 7, x = 0);
|
|
74360
74360
|
}
|
|
74361
74361
|
function ge(j) {
|
|
74362
74362
|
y.push(j);
|
|
@@ -74365,7 +74365,7 @@ function Zy(t) {
|
|
|
74365
74365
|
ge(j >> 8 & 255), ge(255 & j);
|
|
74366
74366
|
}
|
|
74367
74367
|
function ae(j, M, G, ee, re) {
|
|
74368
|
-
for (var ce, ve = re[0], be = re[240], Oe = function(w,
|
|
74368
|
+
for (var ce, ve = re[0], be = re[240], Oe = function(w, k) {
|
|
74369
74369
|
var Q, $, he, ke, Ye, nt, ct, yt, et, Bt, We = 0;
|
|
74370
74370
|
for (et = 0; et < 8; ++et) {
|
|
74371
74371
|
Q = w[We], $ = w[We + 1], he = w[We + 2], ke = w[We + 3], Ye = w[We + 4], nt = w[We + 5], ct = w[We + 6];
|
|
@@ -74386,7 +74386,7 @@ function Zy(t) {
|
|
|
74386
74386
|
w[We + 40] = lc + Hl, w[We + 24] = lc - Hl, w[We + 8] = ac + ic, w[We + 56] = ac - ic, We++;
|
|
74387
74387
|
}
|
|
74388
74388
|
for (et = 0; et < 64; ++et)
|
|
74389
|
-
Bt = w[et] *
|
|
74389
|
+
Bt = w[et] * k[et], p[et] = Bt > 0 ? Bt + 0.5 | 0 : Bt - 0.5 | 0;
|
|
74390
74390
|
return p;
|
|
74391
74391
|
}(j, M), ze = 0; ze < 64; ++ze)
|
|
74392
74392
|
f[q[ze]] = Oe[ze];
|
|
@@ -74426,7 +74426,7 @@ function Zy(t) {
|
|
|
74426
74426
|
}(j < 50 ? Math.floor(5e3 / j) : Math.floor(200 - 2 * j)), i = j);
|
|
74427
74427
|
}
|
|
74428
74428
|
this.encode = function(j, M) {
|
|
74429
|
-
M && Ce(M), y = new Array(),
|
|
74429
|
+
M && Ce(M), y = new Array(), x = 0, b = 7, Be(65496), Be(65504), Be(16), ge(74), ge(70), ge(73), ge(70), ge(0), ge(1), ge(1), ge(0), Be(1), Be(1), ge(0), ge(0), function() {
|
|
74430
74430
|
Be(65499), Be(132), ge(0);
|
|
74431
74431
|
for (var $ = 0; $ < 64; $++)
|
|
74432
74432
|
ge(a[$]);
|
|
@@ -74458,14 +74458,14 @@ function Zy(t) {
|
|
|
74458
74458
|
ge(we[et]);
|
|
74459
74459
|
}(), Be(65498), Be(12), ge(3), ge(1), ge(0), ge(2), ge(17), ge(3), ge(17), ge(0), ge(63), ge(0);
|
|
74460
74460
|
var G = 0, ee = 0, re = 0;
|
|
74461
|
-
|
|
74462
|
-
for (var ce, ve, be, Oe, ze, Le, Me, dt, Ee, Z = j.data, ft = j.width, D = j.height, w = 4 * ft,
|
|
74461
|
+
x = 0, b = 7, this.encode.displayName = "_encode_";
|
|
74462
|
+
for (var ce, ve, be, Oe, ze, Le, Me, dt, Ee, Z = j.data, ft = j.width, D = j.height, w = 4 * ft, k = 0; k < D; ) {
|
|
74463
74463
|
for (ce = 0; ce < w; ) {
|
|
74464
|
-
for (ze = w *
|
|
74465
|
-
Le = ze + (dt = Ee >> 3) * w + (Me = 4 * (7 & Ee)),
|
|
74464
|
+
for (ze = w * k + ce, Me = -1, dt = 0, Ee = 0; Ee < 64; Ee++)
|
|
74465
|
+
Le = ze + (dt = Ee >> 3) * w + (Me = 4 * (7 & Ee)), k + dt >= D && (Le -= w * (k + 1 + dt - D)), ce + Me >= w && (Le -= ce + Me - w + 4), ve = Z[Le++], be = Z[Le++], Oe = Z[Le++], C[Ee] = (H[ve] + H[be + 256 >> 0] + H[Oe + 512 >> 0] >> 16) - 128, I[Ee] = (H[ve + 768 >> 0] + H[be + 1024 >> 0] + H[Oe + 1280 >> 0] >> 16) - 128, O[Ee] = (H[ve + 1280 >> 0] + H[be + 1536 >> 0] + H[Oe + 1792 >> 0] >> 16) - 128;
|
|
74466
74466
|
G = ae(C, l, G, e, s), ee = ae(I, c, ee, r, n), re = ae(O, c, re, r, n), ce += 32;
|
|
74467
74467
|
}
|
|
74468
|
-
|
|
74468
|
+
k += 8;
|
|
74469
74469
|
}
|
|
74470
74470
|
if (b >= 0) {
|
|
74471
74471
|
var Q = [];
|
|
@@ -74696,7 +74696,7 @@ function Tx(t) {
|
|
|
74696
74696
|
function w(u, g) {
|
|
74697
74697
|
return ((4278255360 & u) + (4278255360 & g) >>> 0 & 4278255360) + ((16711935 & u) + (16711935 & g) >>> 0 & 16711935) >>> 0;
|
|
74698
74698
|
}
|
|
74699
|
-
function
|
|
74699
|
+
function k(u, g) {
|
|
74700
74700
|
L[g] = function(v, B, S, F, U, T, R) {
|
|
74701
74701
|
var V;
|
|
74702
74702
|
for (V = 0; V < U; ++V) {
|
|
@@ -76387,7 +76387,7 @@ function Tx(t) {
|
|
|
76387
76387
|
return u != 0 || v != null && v.fd && (u = xA(B)), u;
|
|
76388
76388
|
}
|
|
76389
76389
|
var ys = 64, wc = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], xc = 24, kc = 32, kA = 8, un = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
|
|
76390
|
-
|
|
76390
|
+
k("Predictor0", "PredictorAdd0"), L.Predictor0 = function() {
|
|
76391
76391
|
return 4278190080;
|
|
76392
76392
|
}, L.Predictor1 = function(u) {
|
|
76393
76393
|
return u;
|
|
@@ -76420,7 +76420,7 @@ function Tx(t) {
|
|
|
76420
76420
|
return (ke((u = $(u, g[v + 0])) >> 24 & 255, B >> 24 & 255) << 24 | ke(u >> 16 & 255, B >> 16 & 255) << 16 | ke(u >> 8 & 255, B >> 8 & 255) << 8 | ke(u >> 0 & 255, B >> 0 & 255)) >>> 0;
|
|
76421
76421
|
};
|
|
76422
76422
|
var o0 = L.PredictorAdd0;
|
|
76423
|
-
L.PredictorAdd1 = nt,
|
|
76423
|
+
L.PredictorAdd1 = nt, k("Predictor2", "PredictorAdd2"), k("Predictor3", "PredictorAdd3"), k("Predictor4", "PredictorAdd4"), k("Predictor5", "PredictorAdd5"), k("Predictor6", "PredictorAdd6"), k("Predictor7", "PredictorAdd7"), k("Predictor8", "PredictorAdd8"), k("Predictor9", "PredictorAdd9"), k("Predictor10", "PredictorAdd10"), k("Predictor11", "PredictorAdd11"), k("Predictor12", "PredictorAdd12"), k("Predictor13", "PredictorAdd13");
|
|
76424
76424
|
var BA = L.PredictorAdd2;
|
|
76425
76425
|
Bt("ColorIndexInverseTransform", "MapARGB", "32b", function(u) {
|
|
76426
76426
|
return u >> 8 & 255;
|
|
@@ -76550,7 +76550,7 @@ function Tx(t) {
|
|
|
76550
76550
|
return (L[X + 0] << 0 | L[X + 1] << 8 | L[X + 2] << 16 | L[X + 3] << 24) >>> 0;
|
|
76551
76551
|
}
|
|
76552
76552
|
new d();
|
|
76553
|
-
var h = [0], p = [0], f = [], y = new d(),
|
|
76553
|
+
var h = [0], p = [0], f = [], y = new d(), x = t, b = function(L, X) {
|
|
76554
76554
|
var de = {}, z = 0, N = !1, W = 0, J = 0;
|
|
76555
76555
|
if (de.frames = [], !/** @license
|
|
76556
76556
|
* Copyright (c) 2017 Dominik Homberger
|
|
@@ -76595,15 +76595,15 @@ function Tx(t) {
|
|
|
76595
76595
|
}
|
|
76596
76596
|
return de;
|
|
76597
76597
|
}
|
|
76598
|
-
}(
|
|
76599
|
-
b.response =
|
|
76598
|
+
}(x, 0);
|
|
76599
|
+
b.response = x, b.rgbaoutput = !0, b.dataurl = !1;
|
|
76600
76600
|
var C = b.header ? b.header : null, I = b.frames ? b.frames : null;
|
|
76601
76601
|
if (C) {
|
|
76602
76602
|
C.loop_counter = C.loop_count, h = [C.canvas_height], p = [C.canvas_width];
|
|
76603
76603
|
for (var O = 0; O < I.length && I[O].blend != 0; O++)
|
|
76604
76604
|
;
|
|
76605
76605
|
}
|
|
76606
|
-
var K = I[0], H = y.WebPDecodeRGBA(
|
|
76606
|
+
var K = I[0], H = y.WebPDecodeRGBA(x, K.src_off, K.src_size, p, h);
|
|
76607
76607
|
K.rgba = H, K.imgwidth = p[0], K.imgheight = h[0];
|
|
76608
76608
|
for (var q = 0; q < p[0] * h[0] * 4; q++)
|
|
76609
76609
|
f[q] = H[q];
|
|
@@ -76613,79 +76613,79 @@ function Tx(t) {
|
|
|
76613
76613
|
var e = function() {
|
|
76614
76614
|
return typeof P2 == "function";
|
|
76615
76615
|
}, r = function(h, p, f, y) {
|
|
76616
|
-
var
|
|
76616
|
+
var x = 4, b = o;
|
|
76617
76617
|
switch (y) {
|
|
76618
76618
|
case t.image_compression.FAST:
|
|
76619
|
-
|
|
76619
|
+
x = 1, b = i;
|
|
76620
76620
|
break;
|
|
76621
76621
|
case t.image_compression.MEDIUM:
|
|
76622
|
-
|
|
76622
|
+
x = 6, b = a;
|
|
76623
76623
|
break;
|
|
76624
76624
|
case t.image_compression.SLOW:
|
|
76625
|
-
|
|
76625
|
+
x = 9, b = d;
|
|
76626
76626
|
}
|
|
76627
76627
|
h = s(h, p, f, b);
|
|
76628
|
-
var C = P2(h, { level:
|
|
76628
|
+
var C = P2(h, { level: x });
|
|
76629
76629
|
return t.__addimage__.arrayBufferToBinaryString(C);
|
|
76630
76630
|
}, s = function(h, p, f, y) {
|
|
76631
|
-
for (var
|
|
76632
|
-
if (C = H * p,
|
|
76633
|
-
O.set(y(
|
|
76631
|
+
for (var x, b, C, I = h.length / p, O = new Uint8Array(h.length + I), K = c(), H = 0; H < I; H += 1) {
|
|
76632
|
+
if (C = H * p, x = h.subarray(C, C + p), y)
|
|
76633
|
+
O.set(y(x, f, b), C + H);
|
|
76634
76634
|
else {
|
|
76635
76635
|
for (var q, L = K.length, X = []; q < L; q += 1)
|
|
76636
|
-
X[q] = K[q](
|
|
76636
|
+
X[q] = K[q](x, f, b);
|
|
76637
76637
|
var de = A(X.concat());
|
|
76638
76638
|
O.set(X[de], C + H);
|
|
76639
76639
|
}
|
|
76640
|
-
b =
|
|
76640
|
+
b = x;
|
|
76641
76641
|
}
|
|
76642
76642
|
return O;
|
|
76643
76643
|
}, n = function(h) {
|
|
76644
76644
|
var p = Array.apply([], h);
|
|
76645
76645
|
return p.unshift(0), p;
|
|
76646
76646
|
}, i = function(h, p) {
|
|
76647
|
-
var f, y = [],
|
|
76647
|
+
var f, y = [], x = h.length;
|
|
76648
76648
|
y[0] = 1;
|
|
76649
|
-
for (var b = 0; b <
|
|
76649
|
+
for (var b = 0; b < x; b += 1)
|
|
76650
76650
|
f = h[b - p] || 0, y[b + 1] = h[b] - f + 256 & 255;
|
|
76651
76651
|
return y;
|
|
76652
76652
|
}, o = function(h, p, f) {
|
|
76653
|
-
var y,
|
|
76654
|
-
|
|
76653
|
+
var y, x = [], b = h.length;
|
|
76654
|
+
x[0] = 2;
|
|
76655
76655
|
for (var C = 0; C < b; C += 1)
|
|
76656
|
-
y = f && f[C] || 0,
|
|
76657
|
-
return
|
|
76656
|
+
y = f && f[C] || 0, x[C + 1] = h[C] - y + 256 & 255;
|
|
76657
|
+
return x;
|
|
76658
76658
|
}, a = function(h, p, f) {
|
|
76659
|
-
var y,
|
|
76659
|
+
var y, x, b = [], C = h.length;
|
|
76660
76660
|
b[0] = 3;
|
|
76661
76661
|
for (var I = 0; I < C; I += 1)
|
|
76662
|
-
y = h[I - p] || 0,
|
|
76662
|
+
y = h[I - p] || 0, x = f && f[I] || 0, b[I + 1] = h[I] + 256 - (y + x >>> 1) & 255;
|
|
76663
76663
|
return b;
|
|
76664
76664
|
}, d = function(h, p, f) {
|
|
76665
|
-
var y,
|
|
76665
|
+
var y, x, b, C, I = [], O = h.length;
|
|
76666
76666
|
I[0] = 4;
|
|
76667
76667
|
for (var K = 0; K < O; K += 1)
|
|
76668
|
-
y = h[K - p] || 0,
|
|
76668
|
+
y = h[K - p] || 0, x = f && f[K] || 0, b = f && f[K - p] || 0, C = l(y, x, b), I[K + 1] = h[K] - C + 256 & 255;
|
|
76669
76669
|
return I;
|
|
76670
76670
|
}, l = function(h, p, f) {
|
|
76671
76671
|
if (h === p && p === f)
|
|
76672
76672
|
return h;
|
|
76673
|
-
var y = Math.abs(p - f),
|
|
76674
|
-
return y <=
|
|
76673
|
+
var y = Math.abs(p - f), x = Math.abs(h - f), b = Math.abs(h + p - f - f);
|
|
76674
|
+
return y <= x && y <= b ? h : x <= b ? p : f;
|
|
76675
76675
|
}, c = function() {
|
|
76676
76676
|
return [n, i, o, a, d];
|
|
76677
76677
|
}, A = function(h) {
|
|
76678
76678
|
var p = h.map(function(f) {
|
|
76679
|
-
return f.reduce(function(y,
|
|
76680
|
-
return y + Math.abs(
|
|
76679
|
+
return f.reduce(function(y, x) {
|
|
76680
|
+
return y + Math.abs(x);
|
|
76681
76681
|
}, 0);
|
|
76682
76682
|
});
|
|
76683
76683
|
return p.indexOf(Math.min.apply(null, p));
|
|
76684
76684
|
};
|
|
76685
76685
|
t.processPNG = function(h, p, f, y) {
|
|
76686
|
-
var
|
|
76686
|
+
var x, b, C, I, O, K, H, q, L, X, de, z, N, W, J, we = this.decode.FLATE_DECODE, pe = "";
|
|
76687
76687
|
if (this.__addimage__.isArrayBuffer(h) && (h = new Uint8Array(h)), this.__addimage__.isArrayBufferView(h)) {
|
|
76688
|
-
if (h = (C = new NG(h)).imgData, b = C.bits,
|
|
76688
|
+
if (h = (C = new NG(h)).imgData, b = C.bits, x = C.colorSpace, O = C.colors, [4, 6].indexOf(C.colorType) !== -1) {
|
|
76689
76689
|
if (C.bits === 8) {
|
|
76690
76690
|
L = (q = C.pixelBitlength == 32 ? new Uint32Array(C.decodePixels().buffer) : C.pixelBitlength == 16 ? new Uint16Array(C.decodePixels().buffer) : new Uint8Array(C.decodePixels().buffer)).length, de = new Uint8Array(L * C.colors), X = new Uint8Array(L);
|
|
76691
76691
|
var xe, ge = C.pixelBitlength - C.bits;
|
|
@@ -76703,7 +76703,7 @@ function Tx(t) {
|
|
|
76703
76703
|
}
|
|
76704
76704
|
y !== t.image_compression.NONE && e() ? (h = r(de, C.width * C.colors, C.colors, y), H = r(X, C.width, 1, y)) : (h = de, H = X, we = void 0);
|
|
76705
76705
|
}
|
|
76706
|
-
if (C.colorType === 3 && (
|
|
76706
|
+
if (C.colorType === 3 && (x = this.color_spaces.INDEXED, K = C.palette, C.transparency.indexed)) {
|
|
76707
76707
|
var ae = C.transparency.indexed, Ce = 0;
|
|
76708
76708
|
for (W = 0, L = ae.length; W < L; ++W)
|
|
76709
76709
|
Ce += ae[W];
|
|
@@ -76732,7 +76732,7 @@ function Tx(t) {
|
|
|
76732
76732
|
}
|
|
76733
76733
|
return G;
|
|
76734
76734
|
}(y);
|
|
76735
|
-
return we === this.decode.FLATE_DECODE && (pe = "/Predictor " + j + " "), pe += "/Colors " + O + " /BitsPerComponent " + b + " /Columns " + C.width, (this.__addimage__.isArrayBuffer(h) || this.__addimage__.isArrayBufferView(h)) && (h = this.__addimage__.arrayBufferToBinaryString(h)), (H && this.__addimage__.isArrayBuffer(H) || this.__addimage__.isArrayBufferView(H)) && (H = this.__addimage__.arrayBufferToBinaryString(H)), { alias: f, data: h, index: p, filter: we, decodeParameters: pe, transparency: I, palette: K, sMask: H, predictor: j, width: C.width, height: C.height, bitsPerComponent: b, colorSpace:
|
|
76735
|
+
return we === this.decode.FLATE_DECODE && (pe = "/Predictor " + j + " "), pe += "/Colors " + O + " /BitsPerComponent " + b + " /Columns " + C.width, (this.__addimage__.isArrayBuffer(h) || this.__addimage__.isArrayBufferView(h)) && (h = this.__addimage__.arrayBufferToBinaryString(h)), (H && this.__addimage__.isArrayBuffer(H) || this.__addimage__.isArrayBufferView(H)) && (H = this.__addimage__.arrayBufferToBinaryString(H)), { alias: f, data: h, index: p, filter: we, decodeParameters: pe, transparency: I, palette: K, sMask: H, predictor: j, width: C.width, height: C.height, bitsPerComponent: b, colorSpace: x };
|
|
76736
76736
|
}
|
|
76737
76737
|
};
|
|
76738
76738
|
})(pt.API), function(t) {
|
|
@@ -76866,10 +76866,10 @@ function(t) {
|
|
|
76866
76866
|
this.internal.write("/Lang (" + this.internal.languageSettings.languageCode + ")");
|
|
76867
76867
|
}), this.internal.languageSettings.isSubscribed = !0)), this;
|
|
76868
76868
|
}, Yc = pt.API, e1 = Yc.getCharWidthsArray = function(t, e) {
|
|
76869
|
-
var r, s, n = (e = e || {}).font || this.internal.getFont(), i = e.fontSize || this.internal.getFontSize(), o = e.charSpace || this.internal.getCharSpace(), a = e.widths ? e.widths : n.metadata.Unicode.widths, d = a.fof ? a.fof : 1, l = e.kerning ? e.kerning : n.metadata.Unicode.kerning, c = l.fof ? l.fof : 1, A = e.doKerning !== !1, h = 0, p = t.length, f = 0, y = a[0] || d,
|
|
76869
|
+
var r, s, n = (e = e || {}).font || this.internal.getFont(), i = e.fontSize || this.internal.getFontSize(), o = e.charSpace || this.internal.getCharSpace(), a = e.widths ? e.widths : n.metadata.Unicode.widths, d = a.fof ? a.fof : 1, l = e.kerning ? e.kerning : n.metadata.Unicode.kerning, c = l.fof ? l.fof : 1, A = e.doKerning !== !1, h = 0, p = t.length, f = 0, y = a[0] || d, x = [];
|
|
76870
76870
|
for (r = 0; r < p; r++)
|
|
76871
|
-
s = t.charCodeAt(r), typeof n.metadata.widthOfString == "function" ?
|
|
76872
|
-
return
|
|
76871
|
+
s = t.charCodeAt(r), typeof n.metadata.widthOfString == "function" ? x.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(s)) + o * (1e3 / i) || 0) / 1e3) : (h = A && Zt(l[s]) === "object" && !isNaN(parseInt(l[s][f], 10)) ? l[s][f] / c : 0, x.push((a[s] || y) / d + h)), f = s;
|
|
76872
|
+
return x;
|
|
76873
76873
|
}, Ix = Yc.getStringUnitWidth = function(t, e) {
|
|
76874
76874
|
var r = (e = e || {}).fontSize || this.internal.getFontSize(), s = e.font || this.internal.getFont(), n = e.charSpace || this.internal.getCharSpace();
|
|
76875
76875
|
return Yc.processArabic && (t = Yc.processArabic(t)), typeof s.metadata.widthOfString == "function" ? s.metadata.widthOfString(t, r, n) / r : e1.apply(this, arguments).reduce(function(i, o) {
|
|
@@ -76885,7 +76885,7 @@ function(t) {
|
|
|
76885
76885
|
return d !== i && n.push(t.slice(d, i)), n;
|
|
76886
76886
|
}, Ux = function(t, e, r) {
|
|
76887
76887
|
r || (r = {});
|
|
76888
|
-
var s, n, i, o, a, d, l, c = [], A = [c], h = r.textIndent || 0, p = 0, f = 0, y = t.split(" "),
|
|
76888
|
+
var s, n, i, o, a, d, l, c = [], A = [c], h = r.textIndent || 0, p = 0, f = 0, y = t.split(" "), x = e1.apply(this, [" ", r])[0];
|
|
76889
76889
|
if (d = r.lineIndent === -1 ? y[0].length + 2 : r.lineIndent || 0) {
|
|
76890
76890
|
var b = Array(d).join(" "), C = [];
|
|
76891
76891
|
y.map(function(O) {
|
|
@@ -76909,9 +76909,9 @@ function(t) {
|
|
|
76909
76909
|
}, 0);
|
|
76910
76910
|
} else
|
|
76911
76911
|
c = [s];
|
|
76912
|
-
A.push(c), h = f + d, p =
|
|
76912
|
+
A.push(c), h = f + d, p = x;
|
|
76913
76913
|
} else
|
|
76914
|
-
c.push(s), h += p + f, p =
|
|
76914
|
+
c.push(s), h += p + f, p = x;
|
|
76915
76915
|
}
|
|
76916
76916
|
return l = d ? function(O, K) {
|
|
76917
76917
|
return (K ? b : "") + O.join(" ");
|
|
@@ -76939,7 +76939,7 @@ function(t) {
|
|
|
76939
76939
|
var i = function(A) {
|
|
76940
76940
|
return "0x" + parseInt(A, 10).toString(16);
|
|
76941
76941
|
}, o = t.__fontmetrics__.compress = function(A) {
|
|
76942
|
-
var h, p, f, y,
|
|
76942
|
+
var h, p, f, y, x = ["{"];
|
|
76943
76943
|
for (var b in A) {
|
|
76944
76944
|
if (h = A[b], isNaN(parseInt(b, 10)) ? p = "'" + b + "'" : (b = parseInt(b, 10), p = (p = i(b).slice(2)).slice(0, -1) + s[p.slice(-1)]), typeof h == "number")
|
|
76945
76945
|
h < 0 ? (f = i(h).slice(3), y = "-") : (f = i(h).slice(2), y = ""), f = y + f.slice(0, -1) + s[f.slice(-1)];
|
|
@@ -76948,15 +76948,15 @@ function(t) {
|
|
|
76948
76948
|
throw new Error("Don't know what to do with value type " + Zt(h) + ".");
|
|
76949
76949
|
f = o(h);
|
|
76950
76950
|
}
|
|
76951
|
-
|
|
76951
|
+
x.push(p + f);
|
|
76952
76952
|
}
|
|
76953
|
-
return
|
|
76953
|
+
return x.push("}"), x.join("");
|
|
76954
76954
|
}, a = t.__fontmetrics__.uncompress = function(A) {
|
|
76955
76955
|
if (typeof A != "string")
|
|
76956
76956
|
throw new Error("Invalid argument passed to uncompress.");
|
|
76957
|
-
for (var h, p, f, y,
|
|
76957
|
+
for (var h, p, f, y, x = {}, b = 1, C = x, I = [], O = "", K = "", H = A.length - 1, q = 1; q < H; q += 1)
|
|
76958
76958
|
(y = A[q]) == "'" ? h ? (f = h.join(""), h = void 0) : h = [] : h ? h.push(y) : y == "{" ? (I.push([C, f]), C = {}, f = void 0) : y == "}" ? ((p = I.pop())[0][p[1]] = C, f = void 0, C = p[0]) : y == "-" ? b = -1 : f === void 0 ? r.hasOwnProperty(y) ? (O += r[y], f = parseInt(O, 16) * b, b = 1, O = "") : O += y : r.hasOwnProperty(y) ? (K += r[y], C[f] = parseInt(K, 16) * b, b = 1, f = void 0, K = "") : K += y;
|
|
76959
|
-
return
|
|
76959
|
+
return x;
|
|
76960
76960
|
}, d = { codePages: ["WinAnsiEncoding"], WinAnsiEncoding: a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}") }, l = { Unicode: { Courier: d, "Courier-Bold": d, "Courier-BoldOblique": d, "Courier-Oblique": d, Helvetica: d, "Helvetica-Bold": d, "Helvetica-BoldOblique": d, "Helvetica-Oblique": d, "Times-Roman": d, "Times-Bold": d, "Times-BoldItalic": d, "Times-Italic": d } }, c = { Unicode: { "Courier-Oblique": a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-BoldItalic": a("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"), "Helvetica-Bold": a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), Courier: a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-BoldOblique": a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Bold": a("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"), Symbol: a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"), Helvetica: a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"), "Helvetica-BoldOblique": a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), ZapfDingbats: a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-Bold": a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Italic": a("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"), "Times-Roman": a("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"), "Helvetica-Oblique": a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}") } };
|
|
76961
76961
|
t.events.push(["addFont", function(A) {
|
|
76962
76962
|
var h = A.font, p = c.Unicode[h.postScriptName];
|
|
@@ -77012,7 +77012,7 @@ function(t) {
|
|
|
77012
77012
|
*/
|
|
77013
77013
|
function(t) {
|
|
77014
77014
|
function e() {
|
|
77015
|
-
return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-
|
|
77015
|
+
return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-52761d6e.js")).catch(function(r) {
|
|
77016
77016
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
77017
77017
|
}).then(function(r) {
|
|
77018
77018
|
return r.default ? r.default : r;
|
|
@@ -77050,9 +77050,9 @@ function(t) {
|
|
|
77050
77050
|
t = t || {}, e = e || !1;
|
|
77051
77051
|
var s, n, i, o = { HideToolbar: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, HideMenubar: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, HideWindowUI: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, FitWindow: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, CenterWindow: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, DisplayDocTitle: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.4 }, NonFullScreenPageMode: { defaultValue: "UseNone", value: "UseNone", type: "name", explicitSet: !1, valueSet: ["UseNone", "UseOutlines", "UseThumbs", "UseOC"], pdfVersion: 1.3 }, Direction: { defaultValue: "L2R", value: "L2R", type: "name", explicitSet: !1, valueSet: ["L2R", "R2L"], pdfVersion: 1.3 }, ViewArea: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, ViewClip: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, PrintArea: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, PrintClip: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, PrintScaling: { defaultValue: "AppDefault", value: "AppDefault", type: "name", explicitSet: !1, valueSet: ["AppDefault", "None"], pdfVersion: 1.6 }, Duplex: { defaultValue: "", value: "none", type: "name", explicitSet: !1, valueSet: ["Simplex", "DuplexFlipShortEdge", "DuplexFlipLongEdge", "none"], pdfVersion: 1.7 }, PickTrayByPDFSize: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.7 }, PrintPageRange: { defaultValue: "", value: "", type: "array", explicitSet: !1, valueSet: null, pdfVersion: 1.7 }, NumCopies: { defaultValue: 1, value: 1, type: "integer", explicitSet: !1, valueSet: null, pdfVersion: 1.7 } }, a = Object.keys(o), d = [], l = 0, c = 0, A = 0;
|
|
77052
77052
|
function h(f, y) {
|
|
77053
|
-
var
|
|
77054
|
-
for (
|
|
77055
|
-
f[
|
|
77053
|
+
var x, b = !1;
|
|
77054
|
+
for (x = 0; x < f.length; x += 1)
|
|
77055
|
+
f[x] === y && (b = !0);
|
|
77056
77056
|
return b;
|
|
77057
77057
|
}
|
|
77058
77058
|
if (this.internal.viewerpreferences === void 0 && (this.internal.viewerpreferences = {}, this.internal.viewerpreferences.configuration = JSON.parse(JSON.stringify(o)), this.internal.viewerpreferences.isSubscribed = !1), r = this.internal.viewerpreferences.configuration, t === "reset" || e === !0) {
|
|
@@ -77177,12 +77177,12 @@ end`;
|
|
|
77177
77177
|
p += String.fromCharCode(h[f]);
|
|
77178
77178
|
var y = l();
|
|
77179
77179
|
c({ data: p, addLength1: !0, objectId: y }), d("endobj");
|
|
77180
|
-
var
|
|
77181
|
-
c({ data: s(a.metadata.toUnicode), addLength1: !0, objectId:
|
|
77180
|
+
var x = l();
|
|
77181
|
+
c({ data: s(a.metadata.toUnicode), addLength1: !0, objectId: x }), d("endobj");
|
|
77182
77182
|
var b = l();
|
|
77183
77183
|
d("<<"), d("/Type /FontDescriptor"), d("/FontName /" + ru(a.fontName)), d("/FontFile2 " + y + " 0 R"), d("/FontBBox " + t.API.PDFObject.convert(a.metadata.bbox)), d("/Flags " + a.metadata.flags), d("/StemV " + a.metadata.stemV), d("/ItalicAngle " + a.metadata.italicAngle), d("/Ascent " + a.metadata.ascender), d("/Descent " + a.metadata.decender), d("/CapHeight " + a.metadata.capHeight), d(">>"), d("endobj");
|
|
77184
77184
|
var C = l();
|
|
77185
|
-
d("<<"), d("/Type /Font"), d("/BaseFont /" + ru(a.fontName)), d("/FontDescriptor " + b + " 0 R"), d("/W " + t.API.PDFObject.convert(A)), d("/CIDToGIDMap /Identity"), d("/DW 1000"), d("/Subtype /CIDFontType2"), d("/CIDSystemInfo"), d("<<"), d("/Supplement 0"), d("/Registry (Adobe)"), d("/Ordering (" + a.encoding + ")"), d(">>"), d(">>"), d("endobj"), a.objectNumber = l(), d("<<"), d("/Type /Font"), d("/Subtype /Type0"), d("/ToUnicode " +
|
|
77185
|
+
d("<<"), d("/Type /Font"), d("/BaseFont /" + ru(a.fontName)), d("/FontDescriptor " + b + " 0 R"), d("/W " + t.API.PDFObject.convert(A)), d("/CIDToGIDMap /Identity"), d("/DW 1000"), d("/Subtype /CIDFontType2"), d("/CIDSystemInfo"), d("<<"), d("/Supplement 0"), d("/Registry (Adobe)"), d("/Ordering (" + a.encoding + ")"), d(">>"), d(">>"), d("endobj"), a.objectNumber = l(), d("<<"), d("/Type /Font"), d("/Subtype /Type0"), d("/ToUnicode " + x + " 0 R"), d("/BaseFont /" + ru(a.fontName)), d("/Encoding /" + a.encoding), d("/DescendantFonts [" + C + " 0 R]"), d(">>"), d("endobj"), a.isAlreadyPutted = !0;
|
|
77186
77186
|
}
|
|
77187
77187
|
})(i);
|
|
77188
77188
|
}]), e.events.push(["putFont", function(i) {
|
|
@@ -77195,24 +77195,24 @@ end`;
|
|
|
77195
77195
|
c({ data: h, addLength1: !0, objectId: f }), d("endobj");
|
|
77196
77196
|
var y = l();
|
|
77197
77197
|
c({ data: s(a.metadata.toUnicode), addLength1: !0, objectId: y }), d("endobj");
|
|
77198
|
-
var
|
|
77198
|
+
var x = l();
|
|
77199
77199
|
d("<<"), d("/Descent " + a.metadata.decender), d("/CapHeight " + a.metadata.capHeight), d("/StemV " + a.metadata.stemV), d("/Type /FontDescriptor"), d("/FontFile2 " + f + " 0 R"), d("/Flags 96"), d("/FontBBox " + t.API.PDFObject.convert(a.metadata.bbox)), d("/FontName /" + ru(a.fontName)), d("/ItalicAngle " + a.metadata.italicAngle), d("/Ascent " + a.metadata.ascender), d(">>"), d("endobj"), a.objectNumber = l();
|
|
77200
77200
|
for (var b = 0; b < a.metadata.hmtx.widths.length; b++)
|
|
77201
77201
|
a.metadata.hmtx.widths[b] = parseInt(a.metadata.hmtx.widths[b] * (1e3 / a.metadata.head.unitsPerEm));
|
|
77202
|
-
d("<</Subtype/TrueType/Type/Font/ToUnicode " + y + " 0 R/BaseFont/" + ru(a.fontName) + "/FontDescriptor " +
|
|
77202
|
+
d("<</Subtype/TrueType/Type/Font/ToUnicode " + y + " 0 R/BaseFont/" + ru(a.fontName) + "/FontDescriptor " + x + " 0 R/Encoding/" + a.encoding + " /FirstChar 29 /LastChar 255 /Widths " + t.API.PDFObject.convert(a.metadata.hmtx.widths) + ">>"), d("endobj"), a.isAlreadyPutted = !0;
|
|
77203
77203
|
}
|
|
77204
77204
|
})(i);
|
|
77205
77205
|
}]);
|
|
77206
77206
|
var n = function(i) {
|
|
77207
|
-
var o, a = i.text || "", d = i.x, l = i.y, c = i.options || {}, A = i.mutex || {}, h = A.pdfEscape, p = A.activeFontKey, f = A.fonts, y = p,
|
|
77207
|
+
var o, a = i.text || "", d = i.x, l = i.y, c = i.options || {}, A = i.mutex || {}, h = A.pdfEscape, p = A.activeFontKey, f = A.fonts, y = p, x = "", b = 0, C = "", I = f[y].encoding;
|
|
77208
77208
|
if (f[y].encoding !== "Identity-H")
|
|
77209
77209
|
return { text: a, x: d, y: l, options: c, mutex: A };
|
|
77210
77210
|
for (C = a, y = p, Array.isArray(a) && (C = a[0]), b = 0; b < C.length; b += 1)
|
|
77211
|
-
f[y].metadata.hasOwnProperty("cmap") && (o = f[y].metadata.cmap.unicode.codeMap[C[b].charCodeAt(0)]), o || C[b].charCodeAt(0) < 256 && f[y].metadata.hasOwnProperty("Unicode") ?
|
|
77211
|
+
f[y].metadata.hasOwnProperty("cmap") && (o = f[y].metadata.cmap.unicode.codeMap[C[b].charCodeAt(0)]), o || C[b].charCodeAt(0) < 256 && f[y].metadata.hasOwnProperty("Unicode") ? x += C[b] : x += "";
|
|
77212
77212
|
var O = "";
|
|
77213
|
-
return parseInt(y.slice(1)) < 14 || I === "WinAnsiEncoding" ? O = h(
|
|
77213
|
+
return parseInt(y.slice(1)) < 14 || I === "WinAnsiEncoding" ? O = h(x, y).split("").map(function(K) {
|
|
77214
77214
|
return K.charCodeAt(0).toString(16);
|
|
77215
|
-
}).join("") : I === "Identity-H" && (O = r(
|
|
77215
|
+
}).join("") : I === "Identity-H" && (O = r(x, f[y])), A.isHex = !0, { text: O, x: d, y: l, options: c, mutex: A };
|
|
77216
77216
|
};
|
|
77217
77217
|
e.events.push(["postProcessText", function(i) {
|
|
77218
77218
|
var o = i.text || "", a = [], d = { text: o, x: i.x, y: i.y, options: i.options, mutex: i.mutex };
|
|
@@ -77249,7 +77249,7 @@ function(t) {
|
|
|
77249
77249
|
*/
|
|
77250
77250
|
function(t) {
|
|
77251
77251
|
t.__bidiEngine__ = t.prototype.__bidiEngine__ = function(s) {
|
|
77252
|
-
var n, i, o, a, d, l, c, A = e, h = [[0, 3, 0, 1, 0, 0, 0], [0, 3, 0, 1, 2, 2, 0], [0, 3, 0, 17, 2, 0, 1], [0, 3, 5, 5, 4, 1, 0], [0, 3, 21, 21, 4, 0, 1], [0, 3, 5, 5, 4, 2, 0]], p = [[2, 0, 1, 1, 0, 1, 0], [2, 0, 1, 1, 0, 2, 0], [2, 0, 2, 1, 3, 2, 0], [2, 0, 2, 33, 3, 1, 1]], f = { L: 0, R: 1, EN: 2, AN: 3, N: 4, B: 5, S: 6 }, y = { 0: 0, 5: 1, 6: 2, 7: 3, 32: 4, 251: 5, 254: 6, 255: 7 },
|
|
77252
|
+
var n, i, o, a, d, l, c, A = e, h = [[0, 3, 0, 1, 0, 0, 0], [0, 3, 0, 1, 2, 2, 0], [0, 3, 0, 17, 2, 0, 1], [0, 3, 5, 5, 4, 1, 0], [0, 3, 21, 21, 4, 0, 1], [0, 3, 5, 5, 4, 2, 0]], p = [[2, 0, 1, 1, 0, 1, 0], [2, 0, 1, 1, 0, 2, 0], [2, 0, 2, 1, 3, 2, 0], [2, 0, 2, 33, 3, 1, 1]], f = { L: 0, R: 1, EN: 2, AN: 3, N: 4, B: 5, S: 6 }, y = { 0: 0, 5: 1, 6: 2, 7: 3, 32: 4, 251: 5, 254: 6, 255: 7 }, x = ["(", ")", "(", "<", ">", "<", "[", "]", "[", "{", "}", "{", "«", "»", "«", "‹", "›", "‹", "⁅", "⁆", "⁅", "⁽", "⁾", "⁽", "₍", "₎", "₍", "≤", "≥", "≤", "〈", "〉", "〈", "﹙", "﹚", "﹙", "﹛", "﹜", "﹛", "﹝", "﹞", "﹝", "﹤", "﹥", "﹤"], b = new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/), C = !1, I = 0;
|
|
77253
77253
|
this.__bidiEngine__ = {};
|
|
77254
77254
|
var O = function(z) {
|
|
77255
77255
|
var N = z.charCodeAt(), W = N >> 8, J = y[W];
|
|
@@ -77383,7 +77383,7 @@ function(t) {
|
|
|
77383
77383
|
return W || (W = []), L(J, W, we), function(pe, xe, ge) {
|
|
77384
77384
|
if (ge.hiLevel !== 0 && c)
|
|
77385
77385
|
for (var Be, ae = 0; ae < pe.length; ae++)
|
|
77386
|
-
xe[ae] === 1 && (Be =
|
|
77386
|
+
xe[ae] === 1 && (Be = x.indexOf(pe[ae])) >= 0 && (pe[ae] = x[Be + 1]);
|
|
77387
77387
|
}(J, W, we), X(2, J, N, W, we), X(1, J, N, W, we), J.join("");
|
|
77388
77388
|
};
|
|
77389
77389
|
return this.__bidiEngine__.doBidiReorder = function(z, N, W) {
|
|
@@ -77576,7 +77576,7 @@ var qG = function(t) {
|
|
|
77576
77576
|
}, e;
|
|
77577
77577
|
}(), zx = function() {
|
|
77578
77578
|
function t(e, r) {
|
|
77579
|
-
var s, n, i, o, a, d, l, c, A, h, p, f, y,
|
|
77579
|
+
var s, n, i, o, a, d, l, c, A, h, p, f, y, x, b, C, I;
|
|
77580
77580
|
switch (this.platformID = e.readUInt16(), this.encodingID = e.readShort(), this.offset = r + e.readInt(), A = e.pos, e.pos = this.offset, this.format = e.readUInt16(), this.length = e.readUInt16(), this.language = e.readUInt16(), this.isUnicode = this.platformID === 3 && this.encodingID === 1 && this.format === 4 || this.platformID === 0 && this.format === 4, this.codeMap = {}, this.format) {
|
|
77581
77581
|
case 0:
|
|
77582
77582
|
for (d = 0; d < 256; ++d)
|
|
@@ -77609,25 +77609,25 @@ var qG = function(t) {
|
|
|
77609
77609
|
K.push(e.readUInt16());
|
|
77610
77610
|
return K;
|
|
77611
77611
|
}(), d = b = 0, I = i.length; b < I; d = ++b)
|
|
77612
|
-
for (
|
|
77612
|
+
for (x = i[d], s = C = f = y[d]; f <= x ? C <= x : C >= x; s = f <= x ? ++C : --C)
|
|
77613
77613
|
c[d] === 0 ? o = s + l[d] : (o = a[c[d] / 2 + (s - f) - (h - d)] || 0) !== 0 && (o += l[d]), this.codeMap[s] = 65535 & o;
|
|
77614
77614
|
}
|
|
77615
77615
|
e.pos = A;
|
|
77616
77616
|
}
|
|
77617
77617
|
return t.encode = function(e, r) {
|
|
77618
|
-
var s, n, i, o, a, d, l, c, A, h, p, f, y,
|
|
77618
|
+
var s, n, i, o, a, d, l, c, A, h, p, f, y, x, b, C, I, O, K, H, q, L, X, de, z, N, W, J, we, pe, xe, ge, Be, ae, Ce, j, M, G, ee, re, ce, ve, be, Oe, ze, Le;
|
|
77619
77619
|
switch (J = new xl(), o = Object.keys(e).sort(function(Me, dt) {
|
|
77620
77620
|
return Me - dt;
|
|
77621
77621
|
}), r) {
|
|
77622
77622
|
case "macroman":
|
|
77623
|
-
for (y = 0,
|
|
77623
|
+
for (y = 0, x = function() {
|
|
77624
77624
|
var Me = [];
|
|
77625
77625
|
for (f = 0; f < 256; ++f)
|
|
77626
77626
|
Me.push(0);
|
|
77627
77627
|
return Me;
|
|
77628
77628
|
}(), C = { 0: 0 }, i = {}, we = 0, Be = o.length; we < Be; we++)
|
|
77629
|
-
C[be = e[n = o[we]]] == null && (C[be] = ++y), i[n] = { old: e[n], new: C[e[n]] },
|
|
77630
|
-
return J.writeUInt16(1), J.writeUInt16(0), J.writeUInt32(12), J.writeUInt16(0), J.writeUInt16(262), J.writeUInt16(0), J.write(
|
|
77629
|
+
C[be = e[n = o[we]]] == null && (C[be] = ++y), i[n] = { old: e[n], new: C[e[n]] }, x[n] = C[e[n]];
|
|
77630
|
+
return J.writeUInt16(1), J.writeUInt16(0), J.writeUInt32(12), J.writeUInt16(0), J.writeUInt16(262), J.writeUInt16(0), J.write(x), { charMap: i, subtable: J.data, maxGlyphID: y + 1 };
|
|
77631
77631
|
case "unicode":
|
|
77632
77632
|
for (N = [], A = [], I = 0, C = {}, s = {}, b = l = null, pe = 0, ae = o.length; pe < ae; pe++)
|
|
77633
77633
|
C[K = e[n = o[pe]]] == null && (C[K] = ++I), s[n] = { old: K, new: C[K] }, a = C[K] - n, b != null && a === l || (b && A.push(b), N.push(n), l = a), b = n;
|
|
@@ -77864,7 +77864,7 @@ var qG = function(t) {
|
|
|
77864
77864
|
s = d[i], n[i] = s;
|
|
77865
77865
|
return n;
|
|
77866
77866
|
}, t.prototype.encode = function(e, r) {
|
|
77867
|
-
var s, n, i, o, a, d, l, c, A, h, p, f, y,
|
|
77867
|
+
var s, n, i, o, a, d, l, c, A, h, p, f, y, x, b;
|
|
77868
77868
|
for (n in s = F8.encode(this.generateCmap(), "unicode"), o = this.glyphsFor(e), p = { 0: 0 }, b = s.charMap)
|
|
77869
77869
|
p[(d = b[n]).old] = d.new;
|
|
77870
77870
|
for (f in h = s.maxGlyphID, o)
|
|
@@ -77881,7 +77881,7 @@ var qG = function(t) {
|
|
|
77881
77881
|
for (O = [], C = 0, I = A.length; C < I; C++)
|
|
77882
77882
|
a = A[C], O.push(c[a]);
|
|
77883
77883
|
return O;
|
|
77884
|
-
}(), i = this.font.glyf.encode(o, y, p), l = this.font.loca.encode(i.offsets, y),
|
|
77884
|
+
}(), i = this.font.glyf.encode(o, y, p), l = this.font.loca.encode(i.offsets, y), x = { cmap: this.font.cmap.raw(), glyf: i.table, loca: l, hmtx: this.font.hmtx.raw(), hhea: this.font.hhea.raw(), maxp: this.font.maxp.raw(), post: this.font.post.raw(), name: this.font.name.raw(), head: this.font.head.encode(r) }, this.font.os2.exists && (x["OS/2"] = this.font.os2.raw()), this.font.directory.encode(x);
|
|
77885
77885
|
}, t;
|
|
77886
77886
|
}();
|
|
77887
77887
|
pt.API.PDFObject = function() {
|
|
@@ -78809,9 +78809,9 @@ const uY = (t) => {
|
|
|
78809
78809
|
(d, l, c) => l !== c.findIndex((A) => A.installments === d.installments)
|
|
78810
78810
|
);
|
|
78811
78811
|
return a.length > 0 ? o.map((c) => {
|
|
78812
|
-
const A = a.some((
|
|
78813
|
-
(
|
|
78814
|
-
), p = r.find((
|
|
78812
|
+
const A = a.some((x) => x.installments === c.installments), h = n.find(
|
|
78813
|
+
(x) => x.installments === c.installments
|
|
78814
|
+
), p = r.find((x) => x.installments === c.installments), f = s.find((x) => x.installments === c.installments), y = i.find((x) => x.installments === c.installments);
|
|
78815
78815
|
return A ? p ? hY(r).find((b) => (b == null ? void 0 : b.installments) === (c == null ? void 0 : c.installments)) : gY([f, h, y]) : c;
|
|
78816
78816
|
}).filter(
|
|
78817
78817
|
(c, A, h) => c && A === h.findIndex((p) => (p == null ? void 0 : p.installments) === (c == null ? void 0 : c.installments))
|
|
@@ -81679,13 +81679,14 @@ let qr = class extends Ve {
|
|
|
81679
81679
|
this.dispatchEvent(r);
|
|
81680
81680
|
}
|
|
81681
81681
|
render() {
|
|
81682
|
-
var
|
|
81682
|
+
var r, s, n, i, o, a, d, l, c, A, h, p, f, y;
|
|
81683
|
+
const t = ((s = (r = this._stateC2P.statePaymentRequest) == null ? void 0 : r.buyer) == null ? void 0 : s.name) || ((n = this._stateC2P.formCardData) == null ? void 0 : n.fullName) || "", e = ((o = (i = this._stateC2P.statePaymentRequest) == null ? void 0 : i.buyer) == null ? void 0 : o.doc_number) || ((a = this._stateC2P.formCardData) == null ? void 0 : a.dni) || "";
|
|
81683
81684
|
return P` <div class="container">
|
|
81684
81685
|
<div class="panel-container">
|
|
81685
81686
|
<div class="top-half">
|
|
81686
81687
|
<h4 class="title">Titular de la tarjeta</h4>
|
|
81687
|
-
<p class="font font-name">${
|
|
81688
|
-
<p class="font font-dni">${(
|
|
81688
|
+
<p class="font font-name">${t}</p>
|
|
81689
|
+
<p class="font font-dni">${(l = (d = this.getBuyer) == null ? void 0 : d.doc_type) == null ? void 0 : l.toUpperCase()} ${e}</p>
|
|
81689
81690
|
</div>
|
|
81690
81691
|
<div class="bottom-half">
|
|
81691
81692
|
${this.digitalCardData ? P`
|
|
@@ -81713,25 +81714,25 @@ let qr = class extends Ve {
|
|
|
81713
81714
|
<div class="data-card">
|
|
81714
81715
|
<span class="last-four-digits"
|
|
81715
81716
|
>****
|
|
81716
|
-
${this._stateC2P.creditNumber ? (
|
|
81717
|
+
${this._stateC2P.creditNumber ? (c = this._stateC2P.creditNumber) == null ? void 0 : c.slice(-4) : (A = this._stateC2P.binData) == null ? void 0 : A.lastFourDigits}</span
|
|
81717
81718
|
>
|
|
81718
81719
|
</div>
|
|
81719
81720
|
</div>
|
|
81720
81721
|
</div>
|
|
81721
81722
|
`}
|
|
81722
81723
|
<p class="data-text installment-plan-name">
|
|
81723
|
-
${(
|
|
81724
|
-
${Hs((
|
|
81724
|
+
${(h = this.getInstallmentPlan) == null ? void 0 : h.name.toUpperCase()} de $
|
|
81725
|
+
${Hs((p = this.getInstallmentPlan) == null ? void 0 : p.total_amount.value)}
|
|
81725
81726
|
</p>
|
|
81726
81727
|
<p class="data-text installment-plan-cost">
|
|
81727
|
-
CFT: ${(
|
|
81728
|
-
${Hs((
|
|
81728
|
+
CFT: ${(f = this.getInstallmentPlan) == null ? void 0 : f.total_financial_cost} % + IVA | Total financiado: $
|
|
81729
|
+
${Hs((y = this.getInstallmentPlan) == null ? void 0 : y.total_amount.value)}
|
|
81729
81730
|
</p>
|
|
81730
81731
|
${this._stateC2P.cvcRequired ? P` <div class="cvv-input">
|
|
81731
81732
|
<input-cod-seg
|
|
81732
81733
|
.codSeg="${this._codSeg}"
|
|
81733
|
-
@onChange="${(
|
|
81734
|
-
this._codSeg =
|
|
81734
|
+
@onChange="${(x) => {
|
|
81735
|
+
this._codSeg = x.detail.codSeg, this._validateForm();
|
|
81735
81736
|
}}"
|
|
81736
81737
|
></input-cod-seg>
|
|
81737
81738
|
</div>` : ""}
|