@ranty/ranty-sdk 2.6.0 → 2.7.0
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.
|
@@ -14,7 +14,7 @@ var Z2 = (r, e, t) => e in r ? p8(r, e, { enumerable: !0, configurable: !0, writ
|
|
|
14
14
|
y8.call(e, t) && Z2(r, t, e[t]);
|
|
15
15
|
return r;
|
|
16
16
|
}, St = (r, e) => g8(r, h8(e));
|
|
17
|
-
var
|
|
17
|
+
var ts = (r, e, t) => v8(f8(r), t, e);
|
|
18
18
|
var _e = (r, e, t) => new Promise((s, n) => {
|
|
19
19
|
var i = (d) => {
|
|
20
20
|
try {
|
|
@@ -324,7 +324,7 @@ xu[mm] = !0, xu.elementProperties = /* @__PURE__ */ new Map(), xu.elementStyles
|
|
|
324
324
|
var q0;
|
|
325
325
|
const Ah = window, pA = Ah.trustedTypes, nb = pA ? pA.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ym = "$lit$", ca = `lit$${(Math.random() + "").slice(9)}$`, Q3 = "?" + ca, x8 = `<${Q3}>`, Tl = document, uc = () => Tl.createComment(""), cc = (r) => r === null || typeof r != "object" && typeof r != "function", R3 = Array.isArray, C8 = (r) => R3(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", H0 = `[
|
|
326
326
|
\f\r]`, Cu = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ib = /-->/g, ob = />/g, il = RegExp(`>|${H0}(?:([^\\s"'>=/]+)(${H0}*=${H0}*(?:[^
|
|
327
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), ab = /'/g, lb = /"/g, N3 = /^(?:script|style|textarea|title)$/i, E8 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), Y = E8(1), gA = Symbol.for("lit-noChange"),
|
|
327
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ab = /'/g, lb = /"/g, N3 = /^(?:script|style|textarea|title)$/i, E8 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), Y = E8(1), gA = Symbol.for("lit-noChange"), Pr = Symbol.for("lit-nothing"), db = /* @__PURE__ */ new WeakMap(), bl = Tl.createTreeWalker(Tl, 129, null, !1);
|
|
328
328
|
function L3(r, e) {
|
|
329
329
|
if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
|
|
330
330
|
throw Error("invalid template strings array");
|
|
@@ -434,7 +434,7 @@ let S8 = class {
|
|
|
434
434
|
}, iv = class M3 {
|
|
435
435
|
constructor(e, t, s, n) {
|
|
436
436
|
var i;
|
|
437
|
-
this.type = 2, this._$AH =
|
|
437
|
+
this.type = 2, this._$AH = Pr, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = s, this.options = n, this._$Cp = (i = n == null ? void 0 : n.isConnected) === null || i === void 0 || i;
|
|
438
438
|
}
|
|
439
439
|
get _$AU() {
|
|
440
440
|
var e, t;
|
|
@@ -452,7 +452,7 @@ let S8 = class {
|
|
|
452
452
|
return this._$AB;
|
|
453
453
|
}
|
|
454
454
|
_$AI(e, t = this) {
|
|
455
|
-
e = hA(this, e, t), cc(e) ? e ===
|
|
455
|
+
e = hA(this, e, t), cc(e) ? e === Pr || e == null || e === "" ? (this._$AH !== Pr && this._$AR(), this._$AH = Pr) : e !== this._$AH && e !== gA && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : C8(e) ? this.T(e) : this._(e);
|
|
456
456
|
}
|
|
457
457
|
k(e) {
|
|
458
458
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -461,7 +461,7 @@ let S8 = class {
|
|
|
461
461
|
this._$AH !== e && (this._$AR(), this._$AH = this.k(e));
|
|
462
462
|
}
|
|
463
463
|
_(e) {
|
|
464
|
-
this._$AH !==
|
|
464
|
+
this._$AH !== Pr && cc(this._$AH) ? this._$AA.nextSibling.data = e : this.$(Tl.createTextNode(e)), this._$AH = e;
|
|
465
465
|
}
|
|
466
466
|
g(e) {
|
|
467
467
|
var t;
|
|
@@ -498,7 +498,7 @@ let S8 = class {
|
|
|
498
498
|
}
|
|
499
499
|
}, o1 = class {
|
|
500
500
|
constructor(e, t, s, n, i) {
|
|
501
|
-
this.type = 1, this._$AH =
|
|
501
|
+
this.type = 1, this._$AH = Pr, this._$AN = void 0, this.element = e, this.name = t, this._$AM = n, this.options = i, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = Pr;
|
|
502
502
|
}
|
|
503
503
|
get tagName() {
|
|
504
504
|
return this.element.tagName;
|
|
@@ -515,19 +515,19 @@ let S8 = class {
|
|
|
515
515
|
const a = e;
|
|
516
516
|
let d, l;
|
|
517
517
|
for (e = i[0], d = 0; d < i.length - 1; d++)
|
|
518
|
-
l = hA(this, a[s + d], t, d), l === gA && (l = this._$AH[d]), o || (o = !cc(l) || l !== this._$AH[d]), l ===
|
|
518
|
+
l = hA(this, a[s + d], t, d), l === gA && (l = this._$AH[d]), o || (o = !cc(l) || l !== this._$AH[d]), l === Pr ? e = Pr : e !== Pr && (e += (l != null ? l : "") + i[d + 1]), this._$AH[d] = l;
|
|
519
519
|
}
|
|
520
520
|
o && !n && this.j(e);
|
|
521
521
|
}
|
|
522
522
|
j(e) {
|
|
523
|
-
e ===
|
|
523
|
+
e === Pr ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
|
|
524
524
|
}
|
|
525
525
|
}, _8 = class extends o1 {
|
|
526
526
|
constructor() {
|
|
527
527
|
super(...arguments), this.type = 3;
|
|
528
528
|
}
|
|
529
529
|
j(e) {
|
|
530
|
-
this.element[this.name] = e ===
|
|
530
|
+
this.element[this.name] = e === Pr ? void 0 : e;
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
533
|
const I8 = pA ? pA.emptyScript : "";
|
|
@@ -536,7 +536,7 @@ let F8 = class extends o1 {
|
|
|
536
536
|
super(...arguments), this.type = 4;
|
|
537
537
|
}
|
|
538
538
|
j(e) {
|
|
539
|
-
e && e !==
|
|
539
|
+
e && e !== Pr ? this.element.setAttribute(this.name, I8) : this.element.removeAttribute(this.name);
|
|
540
540
|
}
|
|
541
541
|
}, z8 = class extends o1 {
|
|
542
542
|
constructor(e, t, s, n, i) {
|
|
@@ -544,9 +544,9 @@ let F8 = class extends o1 {
|
|
|
544
544
|
}
|
|
545
545
|
_$AI(e, t = this) {
|
|
546
546
|
var s;
|
|
547
|
-
if ((e = (s = hA(this, e, t, 0)) !== null && s !== void 0 ? s :
|
|
547
|
+
if ((e = (s = hA(this, e, t, 0)) !== null && s !== void 0 ? s : Pr) === gA)
|
|
548
548
|
return;
|
|
549
|
-
const n = this._$AH, i = e ===
|
|
549
|
+
const n = this._$AH, i = e === Pr && n !== Pr || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== Pr && (n === Pr || i);
|
|
550
550
|
i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
551
551
|
}
|
|
552
552
|
handleEvent(e) {
|
|
@@ -3083,27 +3083,27 @@ function w6(r) {
|
|
|
3083
3083
|
return w6(Pl(r, n));
|
|
3084
3084
|
}, t;
|
|
3085
3085
|
}
|
|
3086
|
-
const
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3086
|
+
const Rr = w6(pv);
|
|
3087
|
+
Rr.Axios = Vg;
|
|
3088
|
+
Rr.CanceledError = zA;
|
|
3089
|
+
Rr.CancelToken = EE;
|
|
3090
|
+
Rr.isCancel = p6;
|
|
3091
|
+
Rr.VERSION = b6;
|
|
3092
|
+
Rr.toFormData = u1;
|
|
3093
|
+
Rr.AxiosError = Ct;
|
|
3094
|
+
Rr.Cancel = Rr.CanceledError;
|
|
3095
|
+
Rr.all = function(e) {
|
|
3096
3096
|
return Promise.all(e);
|
|
3097
3097
|
};
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
const fv =
|
|
3098
|
+
Rr.spread = jE;
|
|
3099
|
+
Rr.isAxiosError = SE;
|
|
3100
|
+
Rr.mergeConfig = Pl;
|
|
3101
|
+
Rr.AxiosHeaders = Ai;
|
|
3102
|
+
Rr.formToJSON = (r) => c6(je.isHTMLForm(r) ? new FormData(r) : r);
|
|
3103
|
+
Rr.getAdapter = v6.getAdapter;
|
|
3104
|
+
Rr.HttpStatusCode = _E;
|
|
3105
|
+
Rr.default = Rr;
|
|
3106
|
+
const fv = Rr;
|
|
3107
3107
|
var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
3108
3108
|
function IE(r) {
|
|
3109
3109
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -4033,14 +4033,14 @@ const Aj = (r) => _e(void 0, null, function* () {
|
|
|
4033
4033
|
iframe: t
|
|
4034
4034
|
};
|
|
4035
4035
|
};
|
|
4036
|
-
var
|
|
4036
|
+
var Dr = {
|
|
4037
4037
|
log: "log",
|
|
4038
4038
|
debug: "debug",
|
|
4039
4039
|
info: "info",
|
|
4040
4040
|
warn: "warn",
|
|
4041
4041
|
error: "error"
|
|
4042
4042
|
}, Pi = console, pl = {};
|
|
4043
|
-
Object.keys(
|
|
4043
|
+
Object.keys(Dr).forEach(function(r) {
|
|
4044
4044
|
pl[r] = Pi[r];
|
|
4045
4045
|
});
|
|
4046
4046
|
var _u = "Datadog Browser SDK:", Vr = {
|
|
@@ -4232,7 +4232,7 @@ function xv(r, e) {
|
|
|
4232
4232
|
function L6(r) {
|
|
4233
4233
|
vA(Na(), "clearInterval")(r);
|
|
4234
4234
|
}
|
|
4235
|
-
var
|
|
4235
|
+
var ns = (
|
|
4236
4236
|
/** @class */
|
|
4237
4237
|
function() {
|
|
4238
4238
|
function r(e) {
|
|
@@ -4257,7 +4257,7 @@ var ss = (
|
|
|
4257
4257
|
function O6() {
|
|
4258
4258
|
for (var r = [], e = 0; e < arguments.length; e++)
|
|
4259
4259
|
r[e] = arguments[e];
|
|
4260
|
-
return new
|
|
4260
|
+
return new ns(function(t) {
|
|
4261
4261
|
var s = r.map(function(n) {
|
|
4262
4262
|
return n.subscribe(function(i) {
|
|
4263
4263
|
return t.notify(i);
|
|
@@ -4553,7 +4553,7 @@ function iS(r) {
|
|
|
4553
4553
|
return !e && r.allowFallbackToLocalStorage && (e = $j()), e;
|
|
4554
4554
|
}
|
|
4555
4555
|
function oS(r, e, t) {
|
|
4556
|
-
var s = new
|
|
4556
|
+
var s = new ns(), n = new ns(), i = new ns(), o = r.type === "Cookie" ? Gj(r.cookieOptions) : eS(), a = o.expireSession, d = xv(m, Lb), l;
|
|
4557
4557
|
x();
|
|
4558
4558
|
var A = M6(function() {
|
|
4559
4559
|
hl({
|
|
@@ -4647,7 +4647,7 @@ var Tm = {
|
|
|
4647
4647
|
NOT_GRANTED: "not-granted"
|
|
4648
4648
|
};
|
|
4649
4649
|
function aS(r) {
|
|
4650
|
-
var e = new
|
|
4650
|
+
var e = new ns();
|
|
4651
4651
|
return {
|
|
4652
4652
|
tryToInit: function(t) {
|
|
4653
4653
|
r || (r = t);
|
|
@@ -5263,7 +5263,7 @@ function s7(r, e) {
|
|
|
5263
5263
|
return s.length && t.push(n7(s)), O6.apply(void 0, t);
|
|
5264
5264
|
}
|
|
5265
5265
|
function n7(r) {
|
|
5266
|
-
return new
|
|
5266
|
+
return new ns(function(e) {
|
|
5267
5267
|
if (window.ReportingObserver) {
|
|
5268
5268
|
var t = Jt(function(n, i) {
|
|
5269
5269
|
return n.forEach(function(o) {
|
|
@@ -5280,7 +5280,7 @@ function n7(r) {
|
|
|
5280
5280
|
});
|
|
5281
5281
|
}
|
|
5282
5282
|
function i7(r) {
|
|
5283
|
-
return new
|
|
5283
|
+
return new ns(function(e) {
|
|
5284
5284
|
var t = Jl(r, document, "securitypolicyviolation", function(s) {
|
|
5285
5285
|
e.notify(a7(s));
|
|
5286
5286
|
}).stop;
|
|
@@ -5449,7 +5449,7 @@ var _l = {
|
|
|
5449
5449
|
});
|
|
5450
5450
|
};
|
|
5451
5451
|
function g7(r, e) {
|
|
5452
|
-
var t, s, n = new
|
|
5452
|
+
var t, s, n = new ns(), i = /* @__PURE__ */ new Set(), o = !UA(p7, e.site) && Kg(e.telemetrySampleRate), a = (t = {}, t[_l.log] = o, t[_l.configuration] = o && Kg(e.telemetryConfigurationSampleRate), t[_l.usage] = o && Kg(e.telemetryUsageSampleRate), t), d = h7();
|
|
5453
5453
|
DA = function(A) {
|
|
5454
5454
|
var c = Gl(A);
|
|
5455
5455
|
if (a[A.type] && i.size < e.maxTelemetryEventsPerPage && !i.has(c)) {
|
|
@@ -5495,7 +5495,7 @@ function m7(r) {
|
|
|
5495
5495
|
return r.site === AS;
|
|
5496
5496
|
}
|
|
5497
5497
|
function pB(r, e) {
|
|
5498
|
-
Um(
|
|
5498
|
+
Um(Dr.debug, r, e), DA(ps({
|
|
5499
5499
|
type: _l.log,
|
|
5500
5500
|
message: r,
|
|
5501
5501
|
status: "debug"
|
|
@@ -5601,7 +5601,7 @@ function k7(r) {
|
|
|
5601
5601
|
}
|
|
5602
5602
|
var x7 = Vl, C7 = Ev;
|
|
5603
5603
|
function E7(r, e, t, s) {
|
|
5604
|
-
var n = new
|
|
5604
|
+
var n = new ns(), i = new ns(), o = oS(r.sessionStoreStrategyType, e, t), a = k7({
|
|
5605
5605
|
expireDelay: C7
|
|
5606
5606
|
});
|
|
5607
5607
|
o.renewObservable.subscribe(function() {
|
|
@@ -5860,7 +5860,7 @@ var Jg = {
|
|
|
5860
5860
|
FROZEN: "page_frozen"
|
|
5861
5861
|
};
|
|
5862
5862
|
function q7(r) {
|
|
5863
|
-
return new
|
|
5863
|
+
return new ns(function(e) {
|
|
5864
5864
|
var t = Iv(r, window, [
|
|
5865
5865
|
"visibilitychange",
|
|
5866
5866
|
"freeze"
|
|
@@ -5957,7 +5957,7 @@ function K7(r) {
|
|
|
5957
5957
|
return c(v.reason);
|
|
5958
5958
|
}), a = i.subscribe(function() {
|
|
5959
5959
|
return c("session_expire");
|
|
5960
|
-
}), d = new
|
|
5960
|
+
}), d = new ns(function() {
|
|
5961
5961
|
return function() {
|
|
5962
5962
|
o.unsubscribe(), a.unsubscribe();
|
|
5963
5963
|
};
|
|
@@ -6136,7 +6136,7 @@ function J7(r) {
|
|
|
6136
6136
|
return df || (df = W7(r)), df;
|
|
6137
6137
|
}
|
|
6138
6138
|
function W7(r) {
|
|
6139
|
-
return new
|
|
6139
|
+
return new ns(function(e) {
|
|
6140
6140
|
var t = Sl(XMLHttpRequest.prototype, "open", X7).stop, s = Sl(XMLHttpRequest.prototype, "send", function(i) {
|
|
6141
6141
|
Z7(i, r, e);
|
|
6142
6142
|
}, { computeHandlingStack: !0 }).stop, n = Sl(XMLHttpRequest.prototype, "abort", $7).stop;
|
|
@@ -6179,7 +6179,7 @@ function xB() {
|
|
|
6179
6179
|
return Af || (Af = e_()), Af;
|
|
6180
6180
|
}
|
|
6181
6181
|
function e_() {
|
|
6182
|
-
return new
|
|
6182
|
+
return new ns(function(r) {
|
|
6183
6183
|
if (window.fetch) {
|
|
6184
6184
|
var e = Sl(window, "fetch", function(t) {
|
|
6185
6185
|
return t_(t, r);
|
|
@@ -6235,7 +6235,7 @@ function s_(r) {
|
|
|
6235
6235
|
return O6.apply(void 0, e);
|
|
6236
6236
|
}
|
|
6237
6237
|
function n_(r) {
|
|
6238
|
-
return new
|
|
6238
|
+
return new ns(function(e) {
|
|
6239
6239
|
var t = Pi[r];
|
|
6240
6240
|
return Pi[r] = function() {
|
|
6241
6241
|
for (var s = [], n = 0; n < arguments.length; n++)
|
|
@@ -6254,7 +6254,7 @@ function i_(r, e, t) {
|
|
|
6254
6254
|
var s = r.map(function(o) {
|
|
6255
6255
|
return o_(o);
|
|
6256
6256
|
}).join(" "), n;
|
|
6257
|
-
if (e ===
|
|
6257
|
+
if (e === Dr.error) {
|
|
6258
6258
|
var i = wj(r, function(o) {
|
|
6259
6259
|
return o instanceof Error;
|
|
6260
6260
|
});
|
|
@@ -6280,7 +6280,7 @@ function o_(r) {
|
|
|
6280
6280
|
return typeof r == "string" ? xo(r) : r instanceof Error ? eB(Do(r)) : Gl(xo(r), void 0, 2);
|
|
6281
6281
|
}
|
|
6282
6282
|
function Qm(r) {
|
|
6283
|
-
var e = {}, t = new
|
|
6283
|
+
var e = {}, t = new ns(), s = {
|
|
6284
6284
|
getContext: function() {
|
|
6285
6285
|
return dB(e);
|
|
6286
6286
|
},
|
|
@@ -6569,9 +6569,9 @@ function x_(r, e) {
|
|
|
6569
6569
|
var C_ = 32 * ko;
|
|
6570
6570
|
function E_(r) {
|
|
6571
6571
|
r.usePciIntake === !0 && r.site && r.site !== "datadoghq.com" && Vr.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");
|
|
6572
|
-
var e = CS(r), t = Yb(r.forwardConsoleLogs, yA(
|
|
6572
|
+
var e = CS(r), t = Yb(r.forwardConsoleLogs, yA(Dr), "Forward Console Logs"), s = Yb(r.forwardReports, yA(Ch), "Forward Reports");
|
|
6573
6573
|
if (!(!e || !t || !s))
|
|
6574
|
-
return r.forwardErrorsToLogs && !UA(t,
|
|
6574
|
+
return r.forwardErrorsToLogs && !UA(t, Dr.error) && t.push(Dr.error), ps({
|
|
6575
6575
|
forwardErrorsToLogs: r.forwardErrorsToLogs !== !1,
|
|
6576
6576
|
forwardConsoleLogs: t,
|
|
6577
6577
|
forwardReports: s,
|
|
@@ -6756,7 +6756,7 @@ function T_(r) {
|
|
|
6756
6756
|
findTrackedSession: function() {
|
|
6757
6757
|
return t;
|
|
6758
6758
|
},
|
|
6759
|
-
expireObservable: new
|
|
6759
|
+
expireObservable: new ns()
|
|
6760
6760
|
};
|
|
6761
6761
|
}
|
|
6762
6762
|
function EB(r) {
|
|
@@ -6806,7 +6806,7 @@ function Q_(r, e, t, s, n) {
|
|
|
6806
6806
|
}
|
|
6807
6807
|
});
|
|
6808
6808
|
}
|
|
6809
|
-
var ol, R_ = (ol = {}, ol[
|
|
6809
|
+
var ol, R_ = (ol = {}, ol[Dr.log] = Et.info, ol[Dr.debug] = Et.debug, ol[Dr.info] = Et.info, ol[Dr.warn] = Et.warn, ol[Dr.error] = Et.error, ol);
|
|
6810
6810
|
function N_(r, e) {
|
|
6811
6811
|
var t = s_(r.forwardConsoleLogs).subscribe(function(s) {
|
|
6812
6812
|
var n = {
|
|
@@ -6932,7 +6932,7 @@ function G_(r, e, t) {
|
|
|
6932
6932
|
function Y_(r, e) {
|
|
6933
6933
|
if (!r.forwardErrorsToLogs)
|
|
6934
6934
|
return { stop: ja };
|
|
6935
|
-
var t = new
|
|
6935
|
+
var t = new ns(), s = ZS(t).stop, n = t.subscribe(function(i) {
|
|
6936
6936
|
e.notify(0, {
|
|
6937
6937
|
rawLogsEvent: {
|
|
6938
6938
|
message: i.message,
|
|
@@ -6971,7 +6971,7 @@ function W_(r) {
|
|
|
6971
6971
|
handleLog: e
|
|
6972
6972
|
};
|
|
6973
6973
|
}
|
|
6974
|
-
var X_ = (ti = {}, ti[Et.ok] =
|
|
6974
|
+
var X_ = (ti = {}, ti[Et.ok] = Dr.debug, ti[Et.debug] = Dr.debug, ti[Et.info] = Dr.info, ti[Et.notice] = Dr.info, ti[Et.warn] = Dr.warn, ti[Et.error] = Dr.error, ti[Et.critical] = Dr.error, ti[Et.alert] = Dr.error, ti[Et.emerg] = Dr.error, ti);
|
|
6975
6975
|
function Z_(r, e) {
|
|
6976
6976
|
var t = r.status, s = r.message;
|
|
6977
6977
|
pl[X_[t]].call(Pi, s, e);
|
|
@@ -7102,10 +7102,10 @@ function nI(r, e, t, s) {
|
|
|
7102
7102
|
}
|
|
7103
7103
|
var Zu = I_(nI);
|
|
7104
7104
|
r7(Na(), "DD_LOGS", Zu);
|
|
7105
|
-
const iI = "@nx-ranty/ranty-sdk", oI = "2.
|
|
7105
|
+
const iI = "@nx-ranty/ranty-sdk", oI = "2.7.0", aI = 2, lI = !0, dI = {
|
|
7106
7106
|
"": {
|
|
7107
7107
|
name: "@nx-ranty/ranty-sdk",
|
|
7108
|
-
version: "2.
|
|
7108
|
+
version: "2.7.0",
|
|
7109
7109
|
license: "ISC",
|
|
7110
7110
|
dependencies: {
|
|
7111
7111
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -45565,8 +45565,8 @@ Code licensed under the BSD License:
|
|
|
45565
45565
|
http://developer.yahoo.com/yui/license.html
|
|
45566
45566
|
version: 2.9.0
|
|
45567
45567
|
*/
|
|
45568
|
-
var
|
|
45569
|
-
|
|
45568
|
+
var Ir = {};
|
|
45569
|
+
Ir.lang = {
|
|
45570
45570
|
/**
|
|
45571
45571
|
* Utility to set up the prototype, constructor and superclass properties to
|
|
45572
45572
|
* support an inheritance strategy that can chain constructors and methods.
|
|
@@ -45772,7 +45772,7 @@ Te.asn1.DERAbstractString = function(r) {
|
|
|
45772
45772
|
return this.hV;
|
|
45773
45773
|
}, typeof r != "undefined" && (typeof r == "string" ? this.setString(r) : typeof r.str != "undefined" ? this.setString(r.str) : typeof r.hex != "undefined" && this.setStringHex(r.hex));
|
|
45774
45774
|
};
|
|
45775
|
-
|
|
45775
|
+
Ir.lang.extend(Te.asn1.DERAbstractString, Te.asn1.ASN1Object);
|
|
45776
45776
|
Te.asn1.DERAbstractTime = function(r) {
|
|
45777
45777
|
Te.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(e) {
|
|
45778
45778
|
utc = e.getTime() + e.getTimezoneOffset() * 6e4;
|
|
@@ -45803,7 +45803,7 @@ Te.asn1.DERAbstractTime = function(r) {
|
|
|
45803
45803
|
return this.hV;
|
|
45804
45804
|
};
|
|
45805
45805
|
};
|
|
45806
|
-
|
|
45806
|
+
Ir.lang.extend(Te.asn1.DERAbstractTime, Te.asn1.ASN1Object);
|
|
45807
45807
|
Te.asn1.DERAbstractStructured = function(r) {
|
|
45808
45808
|
Te.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(e) {
|
|
45809
45809
|
this.hTLV = null, this.isModified = !0, this.asn1Array = e;
|
|
@@ -45811,11 +45811,11 @@ Te.asn1.DERAbstractStructured = function(r) {
|
|
|
45811
45811
|
this.hTLV = null, this.isModified = !0, this.asn1Array.push(e);
|
|
45812
45812
|
}, this.asn1Array = new Array(), typeof r != "undefined" && typeof r.array != "undefined" && (this.asn1Array = r.array);
|
|
45813
45813
|
};
|
|
45814
|
-
|
|
45814
|
+
Ir.lang.extend(Te.asn1.DERAbstractStructured, Te.asn1.ASN1Object);
|
|
45815
45815
|
Te.asn1.DERBoolean = function() {
|
|
45816
45816
|
Te.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
|
|
45817
45817
|
};
|
|
45818
|
-
|
|
45818
|
+
Ir.lang.extend(Te.asn1.DERBoolean, Te.asn1.ASN1Object);
|
|
45819
45819
|
Te.asn1.DERInteger = function(r) {
|
|
45820
45820
|
Te.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(e) {
|
|
45821
45821
|
this.hTLV = null, this.isModified = !0, this.hV = Te.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
|
|
@@ -45828,7 +45828,7 @@ Te.asn1.DERInteger = function(r) {
|
|
|
45828
45828
|
return this.hV;
|
|
45829
45829
|
}, typeof r != "undefined" && (typeof r.bigint != "undefined" ? this.setByBigInteger(r.bigint) : typeof r.int != "undefined" ? this.setByInteger(r.int) : typeof r == "number" ? this.setByInteger(r) : typeof r.hex != "undefined" && this.setValueHex(r.hex));
|
|
45830
45830
|
};
|
|
45831
|
-
|
|
45831
|
+
Ir.lang.extend(Te.asn1.DERInteger, Te.asn1.ASN1Object);
|
|
45832
45832
|
Te.asn1.DERBitString = function(r) {
|
|
45833
45833
|
if (r !== void 0 && typeof r.obj != "undefined") {
|
|
45834
45834
|
var e = Te.asn1.ASN1Util.newObject(r.obj);
|
|
@@ -45864,7 +45864,7 @@ Te.asn1.DERBitString = function(r) {
|
|
|
45864
45864
|
return this.hV;
|
|
45865
45865
|
}, typeof r != "undefined" && (typeof r == "string" && r.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(r) : typeof r.hex != "undefined" ? this.setHexValueIncludingUnusedBits(r.hex) : typeof r.bin != "undefined" ? this.setByBinaryString(r.bin) : typeof r.array != "undefined" && this.setByBooleanArray(r.array));
|
|
45866
45866
|
};
|
|
45867
|
-
|
|
45867
|
+
Ir.lang.extend(Te.asn1.DERBitString, Te.asn1.ASN1Object);
|
|
45868
45868
|
Te.asn1.DEROctetString = function(r) {
|
|
45869
45869
|
if (r !== void 0 && typeof r.obj != "undefined") {
|
|
45870
45870
|
var e = Te.asn1.ASN1Util.newObject(r.obj);
|
|
@@ -45872,11 +45872,11 @@ Te.asn1.DEROctetString = function(r) {
|
|
|
45872
45872
|
}
|
|
45873
45873
|
Te.asn1.DEROctetString.superclass.constructor.call(this, r), this.hT = "04";
|
|
45874
45874
|
};
|
|
45875
|
-
|
|
45875
|
+
Ir.lang.extend(Te.asn1.DEROctetString, Te.asn1.DERAbstractString);
|
|
45876
45876
|
Te.asn1.DERNull = function() {
|
|
45877
45877
|
Te.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
|
|
45878
45878
|
};
|
|
45879
|
-
|
|
45879
|
+
Ir.lang.extend(Te.asn1.DERNull, Te.asn1.ASN1Object);
|
|
45880
45880
|
Te.asn1.DERObjectIdentifier = function(r) {
|
|
45881
45881
|
var e = function(s) {
|
|
45882
45882
|
var n = s.toString(16);
|
|
@@ -45913,7 +45913,7 @@ Te.asn1.DERObjectIdentifier = function(r) {
|
|
|
45913
45913
|
return this.hV;
|
|
45914
45914
|
}, r !== void 0 && (typeof r == "string" ? r.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(r) : this.setValueName(r) : r.oid !== void 0 ? this.setValueOidString(r.oid) : r.hex !== void 0 ? this.setValueHex(r.hex) : r.name !== void 0 && this.setValueName(r.name));
|
|
45915
45915
|
};
|
|
45916
|
-
|
|
45916
|
+
Ir.lang.extend(Te.asn1.DERObjectIdentifier, Te.asn1.ASN1Object);
|
|
45917
45917
|
Te.asn1.DEREnumerated = function(r) {
|
|
45918
45918
|
Te.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(e) {
|
|
45919
45919
|
this.hTLV = null, this.isModified = !0, this.hV = Te.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
|
|
@@ -45926,27 +45926,27 @@ Te.asn1.DEREnumerated = function(r) {
|
|
|
45926
45926
|
return this.hV;
|
|
45927
45927
|
}, typeof r != "undefined" && (typeof r.int != "undefined" ? this.setByInteger(r.int) : typeof r == "number" ? this.setByInteger(r) : typeof r.hex != "undefined" && this.setValueHex(r.hex));
|
|
45928
45928
|
};
|
|
45929
|
-
|
|
45929
|
+
Ir.lang.extend(Te.asn1.DEREnumerated, Te.asn1.ASN1Object);
|
|
45930
45930
|
Te.asn1.DERUTF8String = function(r) {
|
|
45931
45931
|
Te.asn1.DERUTF8String.superclass.constructor.call(this, r), this.hT = "0c";
|
|
45932
45932
|
};
|
|
45933
|
-
|
|
45933
|
+
Ir.lang.extend(Te.asn1.DERUTF8String, Te.asn1.DERAbstractString);
|
|
45934
45934
|
Te.asn1.DERNumericString = function(r) {
|
|
45935
45935
|
Te.asn1.DERNumericString.superclass.constructor.call(this, r), this.hT = "12";
|
|
45936
45936
|
};
|
|
45937
|
-
|
|
45937
|
+
Ir.lang.extend(Te.asn1.DERNumericString, Te.asn1.DERAbstractString);
|
|
45938
45938
|
Te.asn1.DERPrintableString = function(r) {
|
|
45939
45939
|
Te.asn1.DERPrintableString.superclass.constructor.call(this, r), this.hT = "13";
|
|
45940
45940
|
};
|
|
45941
|
-
|
|
45941
|
+
Ir.lang.extend(Te.asn1.DERPrintableString, Te.asn1.DERAbstractString);
|
|
45942
45942
|
Te.asn1.DERTeletexString = function(r) {
|
|
45943
45943
|
Te.asn1.DERTeletexString.superclass.constructor.call(this, r), this.hT = "14";
|
|
45944
45944
|
};
|
|
45945
|
-
|
|
45945
|
+
Ir.lang.extend(Te.asn1.DERTeletexString, Te.asn1.DERAbstractString);
|
|
45946
45946
|
Te.asn1.DERIA5String = function(r) {
|
|
45947
45947
|
Te.asn1.DERIA5String.superclass.constructor.call(this, r), this.hT = "16";
|
|
45948
45948
|
};
|
|
45949
|
-
|
|
45949
|
+
Ir.lang.extend(Te.asn1.DERIA5String, Te.asn1.DERAbstractString);
|
|
45950
45950
|
Te.asn1.DERUTCTime = function(r) {
|
|
45951
45951
|
Te.asn1.DERUTCTime.superclass.constructor.call(this, r), this.hT = "17", this.setByDate = function(e) {
|
|
45952
45952
|
this.hTLV = null, this.isModified = !0, this.date = e, this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s);
|
|
@@ -45954,7 +45954,7 @@ Te.asn1.DERUTCTime = function(r) {
|
|
|
45954
45954
|
return typeof this.date == "undefined" && typeof this.s == "undefined" && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s)), this.hV;
|
|
45955
45955
|
}, r !== void 0 && (r.str !== void 0 ? this.setString(r.str) : typeof r == "string" && r.match(/^[0-9]{12}Z$/) ? this.setString(r) : r.hex !== void 0 ? this.setStringHex(r.hex) : r.date !== void 0 && this.setByDate(r.date));
|
|
45956
45956
|
};
|
|
45957
|
-
|
|
45957
|
+
Ir.lang.extend(Te.asn1.DERUTCTime, Te.asn1.DERAbstractTime);
|
|
45958
45958
|
Te.asn1.DERGeneralizedTime = function(r) {
|
|
45959
45959
|
Te.asn1.DERGeneralizedTime.superclass.constructor.call(this, r), this.hT = "18", this.withMillis = !1, this.setByDate = function(e) {
|
|
45960
45960
|
this.hTLV = null, this.isModified = !0, this.date = e, this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s);
|
|
@@ -45962,7 +45962,7 @@ Te.asn1.DERGeneralizedTime = function(r) {
|
|
|
45962
45962
|
return this.date === void 0 && this.s === void 0 && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s)), this.hV;
|
|
45963
45963
|
}, r !== void 0 && (r.str !== void 0 ? this.setString(r.str) : typeof r == "string" && r.match(/^[0-9]{14}Z$/) ? this.setString(r) : r.hex !== void 0 ? this.setStringHex(r.hex) : r.date !== void 0 && this.setByDate(r.date), r.millis === !0 && (this.withMillis = !0));
|
|
45964
45964
|
};
|
|
45965
|
-
|
|
45965
|
+
Ir.lang.extend(Te.asn1.DERGeneralizedTime, Te.asn1.DERAbstractTime);
|
|
45966
45966
|
Te.asn1.DERSequence = function(r) {
|
|
45967
45967
|
Te.asn1.DERSequence.superclass.constructor.call(this, r), this.hT = "30", this.getFreshValueHex = function() {
|
|
45968
45968
|
for (var e = "", t = 0; t < this.asn1Array.length; t++) {
|
|
@@ -45972,7 +45972,7 @@ Te.asn1.DERSequence = function(r) {
|
|
|
45972
45972
|
return this.hV = e, this.hV;
|
|
45973
45973
|
};
|
|
45974
45974
|
};
|
|
45975
|
-
|
|
45975
|
+
Ir.lang.extend(Te.asn1.DERSequence, Te.asn1.DERAbstractStructured);
|
|
45976
45976
|
Te.asn1.DERSet = function(r) {
|
|
45977
45977
|
Te.asn1.DERSet.superclass.constructor.call(this, r), this.hT = "31", this.sortFlag = !0, this.getFreshValueHex = function() {
|
|
45978
45978
|
for (var e = new Array(), t = 0; t < this.asn1Array.length; t++) {
|
|
@@ -45982,7 +45982,7 @@ Te.asn1.DERSet = function(r) {
|
|
|
45982
45982
|
return this.sortFlag == !0 && e.sort(), this.hV = e.join(""), this.hV;
|
|
45983
45983
|
}, typeof r != "undefined" && typeof r.sortflag != "undefined" && r.sortflag == !1 && (this.sortFlag = !1);
|
|
45984
45984
|
};
|
|
45985
|
-
|
|
45985
|
+
Ir.lang.extend(Te.asn1.DERSet, Te.asn1.DERAbstractStructured);
|
|
45986
45986
|
Te.asn1.DERTaggedObject = function(r) {
|
|
45987
45987
|
Te.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = !0, this.asn1Object = null, this.setASN1Object = function(e, t, s) {
|
|
45988
45988
|
this.hT = t, this.isExplicit = e, this.asn1Object = s, this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(), this.hTLV = null, this.isModified = !0) : (this.hV = null, this.hTLV = s.getEncodedHex(), this.hTLV = this.hTLV.replace(/^../, t), this.isModified = !1);
|
|
@@ -45990,7 +45990,7 @@ Te.asn1.DERTaggedObject = function(r) {
|
|
|
45990
45990
|
return this.hV;
|
|
45991
45991
|
}, typeof r != "undefined" && (typeof r.tag != "undefined" && (this.hT = r.tag), typeof r.explicit != "undefined" && (this.isExplicit = r.explicit), typeof r.obj != "undefined" && (this.asn1Object = r.obj, this.setASN1Object(this.isExplicit, this.hT, this.asn1Object)));
|
|
45992
45992
|
};
|
|
45993
|
-
|
|
45993
|
+
Ir.lang.extend(Te.asn1.DERTaggedObject, Te.asn1.ASN1Object);
|
|
45994
45994
|
var NI = globalThis && globalThis.__extends || function() {
|
|
45995
45995
|
var r = function(e, t) {
|
|
45996
45996
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(s, n) {
|
|
@@ -57016,7 +57016,7 @@ let Ql = class r extends $e {
|
|
|
57016
57016
|
}
|
|
57017
57017
|
firstUpdated(e) {
|
|
57018
57018
|
return _e(this, null, function* () {
|
|
57019
|
-
console.log("version:", jB.version), cI(Qt.getConfig()),
|
|
57019
|
+
console.log("version:", jB.version), cI(Qt.getConfig()), ts(r.prototype, this, "firstUpdated").call(this, e);
|
|
57020
57020
|
});
|
|
57021
57021
|
}
|
|
57022
57022
|
connectedCallback() {
|
|
@@ -57205,7 +57205,7 @@ let jr = class r extends $e {
|
|
|
57205
57205
|
}
|
|
57206
57206
|
firstUpdated(e) {
|
|
57207
57207
|
return _e(this, null, function* () {
|
|
57208
|
-
|
|
57208
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), yield this._getPaymentRequest(), this._wsPaymentResponse(), this.contextData.installmentsData = yield Co(this.contextData.paymentRequest), this._isLoading = !1, this.contextData = St(pt({}, this.contextData), {
|
|
57209
57209
|
locale: this.locale,
|
|
57210
57210
|
dpaId: this.dpaId,
|
|
57211
57211
|
rememberMe: !0,
|
|
@@ -57555,12 +57555,12 @@ let Rl = class r extends $e {
|
|
|
57555
57555
|
}
|
|
57556
57556
|
connectedCallback() {
|
|
57557
57557
|
return _e(this, null, function* () {
|
|
57558
|
-
|
|
57558
|
+
ts(r.prototype, this, "connectedCallback").call(this), this.setAttribute("tabindex", "0"), this.addEventListener("keypress", this._handleKeyDown), this.focus();
|
|
57559
57559
|
});
|
|
57560
57560
|
}
|
|
57561
57561
|
firstUpdated(e) {
|
|
57562
57562
|
return _e(this, null, function* () {
|
|
57563
|
-
|
|
57563
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this._getInstallmentPlans();
|
|
57564
57564
|
});
|
|
57565
57565
|
}
|
|
57566
57566
|
_handleKeyDown(e) {
|
|
@@ -57857,7 +57857,7 @@ let Ns = class r extends $e {
|
|
|
57857
57857
|
}
|
|
57858
57858
|
firstUpdated(e) {
|
|
57859
57859
|
return _e(this, null, function* () {
|
|
57860
|
-
|
|
57860
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.cardNumber !== "" && (this._formattedCardNumber = cy(this.cardNumber), yield this._validateBin(this.cardNumber));
|
|
57861
57861
|
});
|
|
57862
57862
|
}
|
|
57863
57863
|
_getCardType(e, t) {
|
|
@@ -58010,7 +58010,7 @@ let Cc = class extends $e {
|
|
|
58010
58010
|
style="height: 18px;"
|
|
58011
58011
|
/>
|
|
58012
58012
|
</div>
|
|
58013
|
-
` :
|
|
58013
|
+
` : Pr}
|
|
58014
58014
|
${this.brands.map((e) => this._renderBrand(e))}
|
|
58015
58015
|
</div>
|
|
58016
58016
|
`;
|
|
@@ -58028,18 +58028,18 @@ $v([
|
|
|
58028
58028
|
Cc = $v([
|
|
58029
58029
|
tt("click2pay-header")
|
|
58030
58030
|
], Cc);
|
|
58031
|
-
var NQ = Object.defineProperty, LQ = Object.getOwnPropertyDescriptor,
|
|
58031
|
+
var NQ = Object.defineProperty, LQ = Object.getOwnPropertyDescriptor, Jr = (r, e, t, s) => {
|
|
58032
58032
|
for (var n = s > 1 ? void 0 : s ? LQ(e, t) : e, i = r.length - 1, o; i >= 0; i--)
|
|
58033
58033
|
(o = r[i]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
58034
58034
|
return s && n && NQ(e, t, n), n;
|
|
58035
58035
|
};
|
|
58036
|
-
let
|
|
58036
|
+
let Sr = class r extends $e {
|
|
58037
58037
|
constructor() {
|
|
58038
|
-
super(...arguments), this.hasPrevState = !1, this.availableNetworks = [], this.availableOthersNetworks = [], this.showCardIcon = !1, this.showTerms = !1, this.isLoading = !0, this._icon = "https://ranty-sdk-js.naranjax.com/images/card.svg", this._cardNumber = "", this._expired = "", this._codSeg = "", this._cardType = "", this._isButtonDisabled = !0, this._isButtonLoading = !1, this._shouldAddCardToC2P = !0, this._cardNumberErrors = [], this._cardNames = [];
|
|
58038
|
+
super(...arguments), this.hasPrevState = !1, this.availableNetworks = [], this.availableOthersNetworks = [], this.showCardIcon = !1, this.showTerms = !1, this.isC2P = !1, this.isLoading = !0, this._icon = "https://ranty-sdk-js.naranjax.com/images/card.svg", this._cardNumber = "", this._expired = "", this._codSeg = "", this._cardType = "", this._isButtonDisabled = !0, this._isButtonLoading = !1, this._shouldAddCardToC2P = !0, this._cardNumberErrors = [], this._cardNames = [];
|
|
58039
58039
|
}
|
|
58040
58040
|
firstUpdated(e) {
|
|
58041
58041
|
return _e(this, null, function* () {
|
|
58042
|
-
|
|
58042
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), yield this._getCards(), this.isLoading = !1;
|
|
58043
58043
|
});
|
|
58044
58044
|
}
|
|
58045
58045
|
_renderLoading() {
|
|
@@ -58093,13 +58093,12 @@ let Rr = class r extends $e {
|
|
|
58093
58093
|
e.key === "Enter" && this._isFormValid() && (e.preventDefault(), this._submitCardInfo());
|
|
58094
58094
|
}
|
|
58095
58095
|
_submitCardInfo() {
|
|
58096
|
-
var t;
|
|
58097
58096
|
const e = new CustomEvent("newCardSelected", {
|
|
58098
58097
|
detail: {
|
|
58099
58098
|
creditNumber: this._cardNumber.replace(/\s+/g, ""),
|
|
58100
58099
|
expired: this._expired,
|
|
58101
58100
|
codSeg: this._codSeg,
|
|
58102
|
-
isC2P:
|
|
58101
|
+
isC2P: this._contextData.isC2pAvailable ? this._shouldAddCardToC2P : !1,
|
|
58103
58102
|
cardBrand: this._cardBrand,
|
|
58104
58103
|
cardType: this._cardType
|
|
58105
58104
|
},
|
|
@@ -58126,14 +58125,13 @@ let Rr = class r extends $e {
|
|
|
58126
58125
|
this.dispatchEvent(t);
|
|
58127
58126
|
}
|
|
58128
58127
|
_validateForm() {
|
|
58129
|
-
var t, s, n;
|
|
58130
58128
|
let e = [];
|
|
58131
|
-
|
|
58129
|
+
this._contextData.acceptedBrands.includes(this._cardBrand) ? e = Mh(
|
|
58132
58130
|
this._contextData.acceptedBrands,
|
|
58133
58131
|
this._cardBrand,
|
|
58134
58132
|
this._cardNumber
|
|
58135
|
-
).errors :
|
|
58136
|
-
|
|
58133
|
+
).errors : this._contextData.acceptedOthersBrands.includes(this._cardBrand) && (e = Mh(
|
|
58134
|
+
this._contextData.acceptedOthersBrands,
|
|
58137
58135
|
this._cardBrand,
|
|
58138
58136
|
this._cardNumber
|
|
58139
58137
|
).errors), this._cardNumberErrors = e, this._isButtonDisabled = !this._isFormValid();
|
|
@@ -58142,31 +58140,29 @@ let Rr = class r extends $e {
|
|
|
58142
58140
|
this._isButtonDisabled = !0, this._isButtonLoading = !0;
|
|
58143
58141
|
}
|
|
58144
58142
|
_handleCardNumberChange(e) {
|
|
58145
|
-
var i
|
|
58143
|
+
var i;
|
|
58146
58144
|
this._cardBrand = void 0, this.showTerms = !1;
|
|
58147
58145
|
const { cardNumber: t, brand: s, type: n } = e.detail;
|
|
58148
|
-
this._cardNumber = t, (
|
|
58146
|
+
this._cardNumber = t, (this._contextData.acceptedBrands.includes(s) || this._contextData.acceptedOthersBrands.includes(s)) && (this._cardBrand = s, this._cardType = n, this.showTerms = !!((i = this._contextData.availableNetworks) != null && i.includes(s) && this._contextData.isC2pAvailable), this._validateForm()), this._isButtonLoading = !1, this._isButtonDisabled = !this._isFormValid();
|
|
58149
58147
|
}
|
|
58150
58148
|
_isFormValid() {
|
|
58151
58149
|
const e = new RegExp("^3[47]");
|
|
58152
58150
|
return this._cardNumber.match(e) != null && this._cardNumber.length == 15 ? this._cardNumberErrors.length === 0 && this._codSeg.length >= 3 && xc(this._expired) : this._cardNumberErrors.length === 0 && this._codSeg.length >= 3 && xc(this._expired) && this._cardNumber.length == 16;
|
|
58153
58151
|
}
|
|
58154
58152
|
_checkForContextCardData() {
|
|
58155
|
-
var e, t, s
|
|
58156
|
-
this._cardNumber = ((
|
|
58153
|
+
var e, t, s;
|
|
58154
|
+
this._cardNumber = ((e = this._contextData.cardData) == null ? void 0 : e.cardNumber) !== "" ? this._contextData.cardData.cardNumber : this._cardNumber, this._expired = ((t = this._contextData.cardData) == null ? void 0 : t.expDate) !== "" ? this._contextData.cardData.expDate : this._expired, this._codSeg = ((s = this._contextData.cardData) == null ? void 0 : s.ccv) !== "" ? this._contextData.cardData.ccv : this._codSeg;
|
|
58157
58155
|
}
|
|
58158
58156
|
_toggleChecked() {
|
|
58159
58157
|
this._shouldAddCardToC2P = !this._shouldAddCardToC2P;
|
|
58160
58158
|
}
|
|
58161
58159
|
_getLabel() {
|
|
58162
|
-
var e;
|
|
58163
58160
|
return Y`
|
|
58164
|
-
Al continuar, ${
|
|
58161
|
+
Al continuar, ${this._contextData.dpaName} compartirá los datos de correo, tarjeta y teléfono con
|
|
58165
58162
|
${this._cardBrand} para inscribirte de forma segura en Click to Pay y realizar tus pagos más rápido.
|
|
58166
58163
|
`;
|
|
58167
58164
|
}
|
|
58168
58165
|
_renderForm() {
|
|
58169
|
-
var e;
|
|
58170
58166
|
return this._checkForContextCardData(), Y`
|
|
58171
58167
|
<form @keydown="${this._handleKeyDown}">
|
|
58172
58168
|
<div class="credit-info">
|
|
@@ -58175,7 +58171,7 @@ let Rr = class r extends $e {
|
|
|
58175
58171
|
@onChange="${this._handleCardNumberChange}"
|
|
58176
58172
|
@cardNumberChanged="${this._handleCardNumberChanging}"
|
|
58177
58173
|
.errorsMsg="${this._cardNumberErrors}"
|
|
58178
|
-
.isC2P="${
|
|
58174
|
+
.isC2P="${this._contextData.isC2pAvailable}"
|
|
58179
58175
|
></click2pay-card-input>
|
|
58180
58176
|
${this._cardNumber ? this._cardBrand ? this._getBrandImage(this._cardBrand) : this._cardBrand === "NARANJA" ? Y`<img
|
|
58181
58177
|
alt="naranja"
|
|
@@ -58186,15 +58182,15 @@ let Rr = class r extends $e {
|
|
|
58186
58182
|
<div class="panel-id-selection">
|
|
58187
58183
|
<input-expired
|
|
58188
58184
|
.expired="${this._expired}"
|
|
58189
|
-
@onChange="${(
|
|
58190
|
-
this._expired =
|
|
58185
|
+
@onChange="${(e) => {
|
|
58186
|
+
this._expired = e.detail.expired, this._validateForm();
|
|
58191
58187
|
}}"
|
|
58192
58188
|
>
|
|
58193
58189
|
</input-expired>
|
|
58194
58190
|
<input-cod-seg
|
|
58195
58191
|
.codSeg="${this._codSeg}"
|
|
58196
|
-
@onChange="${(
|
|
58197
|
-
this._codSeg =
|
|
58192
|
+
@onChange="${(e) => {
|
|
58193
|
+
this._codSeg = e.detail.codSeg, this._validateForm();
|
|
58198
58194
|
}}"
|
|
58199
58195
|
></input-cod-seg>
|
|
58200
58196
|
</div>
|
|
@@ -58239,13 +58235,12 @@ let Rr = class r extends $e {
|
|
|
58239
58235
|
`;
|
|
58240
58236
|
}
|
|
58241
58237
|
render() {
|
|
58242
|
-
var e;
|
|
58243
58238
|
return Y`
|
|
58244
58239
|
<div class="container">
|
|
58245
58240
|
<div class="panel-container">
|
|
58246
58241
|
<div class="panel-title">
|
|
58247
58242
|
${this.isLoading ? this._renderLoading() : ""}
|
|
58248
|
-
${
|
|
58243
|
+
${this._contextData.isC2pAvailable ? Y`
|
|
58249
58244
|
<span class="spanBrand">Aceptamos tarjetas</span>
|
|
58250
58245
|
<click2pay-header
|
|
58251
58246
|
.showC2PIcon="${this._contextData.isC2pAvailable}"
|
|
@@ -58265,64 +58260,67 @@ let Rr = class r extends $e {
|
|
|
58265
58260
|
`;
|
|
58266
58261
|
}
|
|
58267
58262
|
};
|
|
58268
|
-
|
|
58263
|
+
Sr.styles = ot`
|
|
58269
58264
|
${it(zQ)}
|
|
58270
58265
|
`;
|
|
58271
|
-
|
|
58266
|
+
Jr([
|
|
58272
58267
|
T({ type: Boolean })
|
|
58273
|
-
],
|
|
58274
|
-
|
|
58268
|
+
], Sr.prototype, "hasPrevState", 2);
|
|
58269
|
+
Jr([
|
|
58275
58270
|
T({ type: Array })
|
|
58276
|
-
],
|
|
58277
|
-
|
|
58271
|
+
], Sr.prototype, "availableNetworks", 2);
|
|
58272
|
+
Jr([
|
|
58278
58273
|
T({ type: Array })
|
|
58279
|
-
],
|
|
58280
|
-
|
|
58274
|
+
], Sr.prototype, "availableOthersNetworks", 2);
|
|
58275
|
+
Jr([
|
|
58281
58276
|
T({ type: Boolean })
|
|
58282
|
-
],
|
|
58283
|
-
|
|
58277
|
+
], Sr.prototype, "showCardIcon", 2);
|
|
58278
|
+
Jr([
|
|
58284
58279
|
T({ type: Boolean })
|
|
58285
|
-
],
|
|
58286
|
-
|
|
58280
|
+
], Sr.prototype, "showTerms", 2);
|
|
58281
|
+
Jr([
|
|
58287
58282
|
T({ type: Boolean })
|
|
58288
|
-
],
|
|
58289
|
-
|
|
58283
|
+
], Sr.prototype, "isC2P", 2);
|
|
58284
|
+
Jr([
|
|
58285
|
+
T({ type: Boolean })
|
|
58286
|
+
], Sr.prototype, "isLoading", 2);
|
|
58287
|
+
Jr([
|
|
58290
58288
|
be()
|
|
58291
|
-
],
|
|
58292
|
-
|
|
58289
|
+
], Sr.prototype, "_icon", 2);
|
|
58290
|
+
Jr([
|
|
58293
58291
|
be()
|
|
58294
|
-
],
|
|
58295
|
-
|
|
58292
|
+
], Sr.prototype, "_cardNumber", 2);
|
|
58293
|
+
Jr([
|
|
58296
58294
|
be()
|
|
58297
|
-
],
|
|
58298
|
-
|
|
58295
|
+
], Sr.prototype, "_expired", 2);
|
|
58296
|
+
Jr([
|
|
58299
58297
|
be()
|
|
58300
|
-
],
|
|
58301
|
-
|
|
58298
|
+
], Sr.prototype, "_codSeg", 2);
|
|
58299
|
+
Jr([
|
|
58302
58300
|
be()
|
|
58303
|
-
],
|
|
58304
|
-
|
|
58301
|
+
], Sr.prototype, "_cardBrand", 2);
|
|
58302
|
+
Jr([
|
|
58305
58303
|
be()
|
|
58306
|
-
],
|
|
58307
|
-
|
|
58304
|
+
], Sr.prototype, "_cardType", 2);
|
|
58305
|
+
Jr([
|
|
58308
58306
|
be()
|
|
58309
|
-
],
|
|
58310
|
-
|
|
58307
|
+
], Sr.prototype, "_isButtonDisabled", 2);
|
|
58308
|
+
Jr([
|
|
58311
58309
|
be()
|
|
58312
|
-
],
|
|
58313
|
-
|
|
58310
|
+
], Sr.prototype, "_isButtonLoading", 2);
|
|
58311
|
+
Jr([
|
|
58314
58312
|
be()
|
|
58315
|
-
],
|
|
58316
|
-
|
|
58313
|
+
], Sr.prototype, "_shouldAddCardToC2P", 2);
|
|
58314
|
+
Jr([
|
|
58317
58315
|
be()
|
|
58318
|
-
],
|
|
58319
|
-
|
|
58316
|
+
], Sr.prototype, "_cardNumberErrors", 2);
|
|
58317
|
+
Jr([
|
|
58320
58318
|
lt({ context: Hi, subscribe: !0 }),
|
|
58321
58319
|
be()
|
|
58322
|
-
],
|
|
58323
|
-
|
|
58320
|
+
], Sr.prototype, "_contextData", 2);
|
|
58321
|
+
Sr = Jr([
|
|
58324
58322
|
tt("form-credit-card")
|
|
58325
|
-
],
|
|
58323
|
+
], Sr);
|
|
58326
58324
|
const OQ = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}*{-webkit-transition:.25s ease-in-out;-moz-transition:.25s ease-in-out;-o-transition:.25s ease-in-out;transition:.25s ease-in-out;-webkit-text-size-adjust:none}.drawer{position:fixed;top:0;right:-370px;height:100%;width:370px;background:#f7f7f7;z-index:1000;-webkit-overflow-scrolling:touch}.drawer .iframeContainer{height:100%}.drawer .iframeContainer iframe{border-style:hidden}.visible{right:0}@media only screen and (max-width: 360px){.drawer{position:fixed;height:100%;width:100%;background:#f7f7f7}}@media only screen and (max-width: 650px){.drawer{right:-650px;width:100%}.visible{right:0}}
|
|
58327
58325
|
`;
|
|
58328
58326
|
var MQ = Object.defineProperty, qQ = Object.getOwnPropertyDescriptor, bk = (r, e, t, s) => {
|
|
@@ -58361,12 +58359,12 @@ qh = bk([
|
|
|
58361
58359
|
], qh);
|
|
58362
58360
|
const HQ = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex}:host .panel-container{padding:20px;background:#ffffff;width:100%;border-radius:20px;font-family:Inter,Arial,"sans-serif"}:host .data-text{margin-top:.5em;margin-bottom:.7em;font-size:15px;font-weight:400;color:#6a6a6a}:host .font{font-size:15px;color:#6a6a6a;font-weight:400}:host .font.text-top{margin-bottom:3px}:host .font-dni{margin-top:2px!important;margin-bottom:14px}:host .text-top{margin-bottom:4px!important}:host .text-bottom{margin-bottom:16px!important}:host .title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;margin:0}:host .cvv-input{margin-top:25px}:host .top-half{padding:0 5px;border-bottom:.5px solid #6a6a6a}:host .bottom-half{padding:10px 5px 5px}:host .button-container{display:flex;justify-content:space-between;padding-top:24px;text-align:right}@media only screen and (max-width: 800px){:host .button-container{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}@media only screen and (max-width: 560px){:host .mb{margin-bottom:10px}}@media only screen and (max-width: 800px){:host .panel-container{margin-left:8px;margin-right:8px}}:host src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}:host .images{display:flex;align-items:center}:host .items_card{display:flex;flex-direction:column}:host .items_card p{margin-bottom:0!important}:host .items_card span{margin-top:0!important}:host .items span img{border-radius:4px}:host .image img{width:40px!important;height:40px!important;margin-top:10px!important;margin-right:10px!important}:host .data{display:flex;flex-direction:column;padding-top:8px}:host .items{display:flex;align-items:center}:host .text{font-size:14px;font-weight:400;color:#141413}:host .data-card{font-size:12px;display:flex;align-items:center;margin-left:4px}:host .dot{width:5px;height:5px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background:#6a6a6a;margin-right:5px}
|
|
58363
58361
|
`;
|
|
58364
|
-
var VQ = Object.defineProperty, KQ = Object.getOwnPropertyDescriptor,
|
|
58362
|
+
var VQ = Object.defineProperty, KQ = Object.getOwnPropertyDescriptor, Wr = (r, e, t, s) => {
|
|
58365
58363
|
for (var n = s > 1 ? void 0 : s ? KQ(e, t) : e, i = r.length - 1, o; i >= 0; i--)
|
|
58366
58364
|
(o = r[i]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
58367
58365
|
return s && n && VQ(e, t, n), n;
|
|
58368
58366
|
};
|
|
58369
|
-
let
|
|
58367
|
+
let _r = class extends $e {
|
|
58370
58368
|
constructor() {
|
|
58371
58369
|
super(...arguments), this.paymentCardDescriptor = "World Elite Mastercard", this.panLastFour = "", this.maskedEmailAddress = "", this.paymentCardOwner = "", this.cardOwnerDni = "", this.cardArt = "", this._codSeg = "", this._cardNumber = "", this._isButtonDisabled = !0, this._cardNumberErrors = [], this._expired = "", this.hasPrevState = !1, this.cvvNeeded = !1, this.checkoutReady = !1, this.brandText = "";
|
|
58372
58370
|
}
|
|
@@ -58502,67 +58500,67 @@ let Sr = class extends $e {
|
|
|
58502
58500
|
</div>`;
|
|
58503
58501
|
}
|
|
58504
58502
|
};
|
|
58505
|
-
|
|
58503
|
+
_r.styles = ot`
|
|
58506
58504
|
${it(HQ)}
|
|
58507
58505
|
`;
|
|
58508
|
-
|
|
58506
|
+
Wr([
|
|
58509
58507
|
T({ type: String })
|
|
58510
|
-
],
|
|
58511
|
-
|
|
58508
|
+
], _r.prototype, "paymentCardDescriptor", 2);
|
|
58509
|
+
Wr([
|
|
58512
58510
|
T({ type: String })
|
|
58513
|
-
],
|
|
58514
|
-
|
|
58511
|
+
], _r.prototype, "panLastFour", 2);
|
|
58512
|
+
Wr([
|
|
58515
58513
|
T({ type: String })
|
|
58516
|
-
],
|
|
58517
|
-
|
|
58514
|
+
], _r.prototype, "maskedEmailAddress", 2);
|
|
58515
|
+
Wr([
|
|
58518
58516
|
T({ type: String })
|
|
58519
|
-
],
|
|
58520
|
-
|
|
58517
|
+
], _r.prototype, "paymentCardOwner", 2);
|
|
58518
|
+
Wr([
|
|
58521
58519
|
T({ type: String })
|
|
58522
|
-
],
|
|
58523
|
-
|
|
58520
|
+
], _r.prototype, "cardOwnerDni", 2);
|
|
58521
|
+
Wr([
|
|
58524
58522
|
T({ type: String })
|
|
58525
|
-
],
|
|
58526
|
-
|
|
58523
|
+
], _r.prototype, "cardArt", 2);
|
|
58524
|
+
Wr([
|
|
58527
58525
|
T({ type: Object })
|
|
58528
|
-
],
|
|
58529
|
-
|
|
58526
|
+
], _r.prototype, "selectedInstallment", 2);
|
|
58527
|
+
Wr([
|
|
58530
58528
|
T({ type: Object })
|
|
58531
|
-
],
|
|
58532
|
-
|
|
58529
|
+
], _r.prototype, "digitalCardData", 2);
|
|
58530
|
+
Wr([
|
|
58533
58531
|
be()
|
|
58534
|
-
],
|
|
58535
|
-
|
|
58532
|
+
], _r.prototype, "_codSeg", 2);
|
|
58533
|
+
Wr([
|
|
58536
58534
|
be()
|
|
58537
|
-
],
|
|
58538
|
-
|
|
58535
|
+
], _r.prototype, "_cardNumber", 2);
|
|
58536
|
+
Wr([
|
|
58539
58537
|
be()
|
|
58540
|
-
],
|
|
58541
|
-
|
|
58538
|
+
], _r.prototype, "_cardBrand", 2);
|
|
58539
|
+
Wr([
|
|
58542
58540
|
be()
|
|
58543
|
-
],
|
|
58544
|
-
|
|
58541
|
+
], _r.prototype, "_isButtonDisabled", 2);
|
|
58542
|
+
Wr([
|
|
58545
58543
|
be()
|
|
58546
|
-
],
|
|
58547
|
-
|
|
58544
|
+
], _r.prototype, "_cardNumberErrors", 2);
|
|
58545
|
+
Wr([
|
|
58548
58546
|
be()
|
|
58549
|
-
],
|
|
58550
|
-
|
|
58547
|
+
], _r.prototype, "_expired", 2);
|
|
58548
|
+
Wr([
|
|
58551
58549
|
T({ type: Boolean })
|
|
58552
|
-
],
|
|
58553
|
-
|
|
58550
|
+
], _r.prototype, "hasPrevState", 2);
|
|
58551
|
+
Wr([
|
|
58554
58552
|
T({ type: Boolean })
|
|
58555
|
-
],
|
|
58556
|
-
|
|
58553
|
+
], _r.prototype, "cvvNeeded", 2);
|
|
58554
|
+
Wr([
|
|
58557
58555
|
T({ type: Boolean })
|
|
58558
|
-
],
|
|
58559
|
-
|
|
58556
|
+
], _r.prototype, "checkoutReady", 2);
|
|
58557
|
+
Wr([
|
|
58560
58558
|
lt({ context: Hi, subscribe: !0 }),
|
|
58561
58559
|
be()
|
|
58562
|
-
],
|
|
58563
|
-
|
|
58560
|
+
], _r.prototype, "_contextData", 2);
|
|
58561
|
+
_r = Wr([
|
|
58564
58562
|
tt("click2pay-order-review")
|
|
58565
|
-
],
|
|
58563
|
+
], _r);
|
|
58566
58564
|
const GQ = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:auto;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;width:600px;height:600px;border-radius:20px;align-items:center;background:white}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}img{width:90px;height:90px;margin-top:21px}.sonic-container{width:450px}.button{margin-top:30px;width:50%}@media only screen and (max-width: 800px){.button{width:80%}}.spinner{animation:rotate 2s linear infinite;z-index:1;position:relative;width:90px;height:90px;margin-top:21px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;margin-top:21px}.spinner-container{width:450px;height:135px;display:flex;justify-content:center}.sa{width:140px;height:140px;padding:26px;background-color:#fff}.sa-success{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;margin-bottom:30px;height:80px;padding:0;position:relative;background-color:#fff;width:80px}.sa-success:after,.sa-success:before{background:#fff;content:"";height:120px;position:absolute;transform:rotate(45deg);width:60px}.sa-success:before{border-radius:40px 0 0 40px;width:26px;height:80px;top:-17px;left:5px;transform-origin:60px 60px;transform:rotate(-45deg)}.sa-success:after{border-radius:0 120px 120px 0;left:30px;top:-11px;transform-origin:0 60px;transform:rotate(-45deg);animation:rotatePlaceholder 4.25s ease-in}.sa-success-placeholder{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;height:80px;left:-4px;position:absolute;top:-4px;width:80px;z-index:2}.sa-success-fix{background-color:#fff;height:90px;left:28px;position:absolute;top:8px;transform:rotate(-45deg);width:5px;z-index:1}.sa-success-tip,.sa-success-long{background-color:#652bdf!important;border-radius:2px;height:5px;position:absolute;z-index:2}.sa-success-tip{left:14px;top:46px;transform:rotate(45deg);width:25px;animation:animateSuccessTip .75s}.sa-success-long{right:8px;top:38px;transform:rotate(-45deg);width:47px;animation:animateSuccessLong .75s}@keyframes animateSuccessTip{0%,54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessLong{0%,65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes rotatePlaceholder{0%,5%{transform:rotate(-45deg)}to,12%{transform:rotate(-405deg)}}.fade-in-title{animation:fadeOutUp;animation-duration:.5s;animation-fill-mode:both}.fade-in-subtitle{animation:fadeOutUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:both}.fade-in-button{animation:fadeOutUp;animation-duration:.5s;animation-delay:.4s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20px)}}@media only screen and (min-width: 360px) and (max-width: 800px){.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;height:100%;width:100%;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{margin-left:30px;margin-right:30px;height:380px}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:16px!important;color:#2b2b2b;margin-top:40px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:18px;width:270px;padding-left:20px;padding-right:20px}.sonic-container{width:350px}.spinner-container{width:350px;height:135px;display:flex;justify-content:center}}.spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:80px;height:80px;margin-bottom:230px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.mt{margin-top:5px!important}
|
|
58567
58565
|
`;
|
|
58568
58566
|
var YQ = Object.defineProperty, JQ = Object.getOwnPropertyDescriptor, bn = (r, e, t, s) => {
|
|
@@ -58592,7 +58590,7 @@ let Ls = class r extends $e {
|
|
|
58592
58590
|
}
|
|
58593
58591
|
firstUpdated(e) {
|
|
58594
58592
|
return _e(this, null, function* () {
|
|
58595
|
-
|
|
58593
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic());
|
|
58596
58594
|
});
|
|
58597
58595
|
}
|
|
58598
58596
|
render() {
|
|
@@ -60532,7 +60530,7 @@ let Fo = class r extends $e {
|
|
|
60532
60530
|
}
|
|
60533
60531
|
firstUpdated(e) {
|
|
60534
60532
|
return _e(this, null, function* () {
|
|
60535
|
-
|
|
60533
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.stateStatus.isRetry = !0, this.stateScofProps = {
|
|
60536
60534
|
paymentRequestId: this.paymentRequestId,
|
|
60537
60535
|
publicKey: this.publicKey,
|
|
60538
60536
|
publicKeyScof: null
|
|
@@ -60591,7 +60589,7 @@ let gs = class r extends $e {
|
|
|
60591
60589
|
}
|
|
60592
60590
|
firstUpdated(e) {
|
|
60593
60591
|
return _e(this, null, function* () {
|
|
60594
|
-
|
|
60592
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.stateStatus.isRetry && (yield this.getPaymentRequest(), this.stateStatus.isRetry = !1), this.stateStatus.isStart && (this.title = "Estamos procesando el pago", this.subtitle = "Puede tardar unos segundos.", yield this.initializatePayment(), yield this.webSocket()), xe.info("firstUpdated", {
|
|
60595
60593
|
context: Ze.CARD_ON_FILE,
|
|
60596
60594
|
tag: "LOADING",
|
|
60597
60595
|
origin_sdk: Ws,
|
|
@@ -61445,7 +61443,7 @@ let hs = class r extends $e {
|
|
|
61445
61443
|
}
|
|
61446
61444
|
firstUpdated(e) {
|
|
61447
61445
|
return _e(this, null, function* () {
|
|
61448
|
-
|
|
61446
|
+
ts(r.prototype, this, "firstUpdated").call(this, e);
|
|
61449
61447
|
const t = this.renderRoot.querySelector("src-card-list");
|
|
61450
61448
|
yield t == null ? void 0 : t.loadCards(this.cards);
|
|
61451
61449
|
});
|
|
@@ -61700,7 +61698,7 @@ let Kr = class r extends $e {
|
|
|
61700
61698
|
}
|
|
61701
61699
|
firstUpdated(e) {
|
|
61702
61700
|
return _e(this, null, function* () {
|
|
61703
|
-
|
|
61701
|
+
ts(r.prototype, this, "firstUpdated").call(this, e);
|
|
61704
61702
|
const t = this.renderRoot.querySelector("src-otp-input");
|
|
61705
61703
|
xe.info("firstUpdated otpOptions", { tag: "OTP_OPTIONS", contextObject: this.otpOptions }), xe.info("firstUpdated maskedIdentityValue", {
|
|
61706
61704
|
tag: "MASKED_IDENTITY_VALUE",
|
|
@@ -61715,8 +61713,7 @@ let Kr = class r extends $e {
|
|
|
61715
61713
|
});
|
|
61716
61714
|
}
|
|
61717
61715
|
_renderCardForm() {
|
|
61718
|
-
|
|
61719
|
-
this.dispatchEvent(e);
|
|
61716
|
+
this.dispatchEvent(new Event("goToCardForm", { bubbles: !0, composed: !0 })), this.dispatchEvent(new Event("click2payNotAvailable", { bubbles: !0, composed: !0 }));
|
|
61720
61717
|
}
|
|
61721
61718
|
_getAvailableNetworkNames() {
|
|
61722
61719
|
var e, t;
|
|
@@ -62020,7 +62017,7 @@ let gt = class r extends $e {
|
|
|
62020
62017
|
}
|
|
62021
62018
|
firstUpdated(e) {
|
|
62022
62019
|
return _e(this, null, function* () {
|
|
62023
|
-
|
|
62020
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.useC2P && (yield this.loadClick2paySDK());
|
|
62024
62021
|
});
|
|
62025
62022
|
}
|
|
62026
62023
|
loadClick2paySDK() {
|
|
@@ -62554,7 +62551,6 @@ let gt = class r extends $e {
|
|
|
62554
62551
|
<form-credit-card
|
|
62555
62552
|
?hasPrevState="${!0}"
|
|
62556
62553
|
.availableNetworks="${this._contextData.availableNetworks}"
|
|
62557
|
-
.isC2P="${this.useC2P}"
|
|
62558
62554
|
@toggleModal="${this._toggleLearnMore}"
|
|
62559
62555
|
@goToPrevState="${this._backToPersonalData}"
|
|
62560
62556
|
@newCardSelected="${() => {
|
|
@@ -63097,7 +63093,7 @@ const ky = {
|
|
|
63097
63093
|
* Copyright 2018 Google LLC
|
|
63098
63094
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63099
63095
|
*/
|
|
63100
|
-
const Tf = (r) => r != null ? r :
|
|
63096
|
+
const Tf = (r) => r != null ? r : Pr, YN = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.input{padding-bottom:24px;position:relative}.input label{font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:400;color:#6a6a6a;display:block;min-width:140px}.input.checkbox{display:flex;flex-direction:row;justify-content:flex-start;padding-bottom:20px}.input.checkbox label{text-align:left;font-size:12px}.input.checkbox label p{margin:0}.input.checkbox input[type=checkbox]{order:-1;width:30px;margin-right:10px;accent-color:black}.input.checkbox-form-credit{display:flex;flex-direction:row;justify-content:flex-start;padding-bottom:20px}.input.checkbox-form-credit label{text-align:left;font-size:12px}.input.checkbox-form-credit label p{margin:0}.input.checkbox-form-credit input[type=checkbox]{order:-1;width:50px;margin-right:10px;accent-color:black}.input input{border:none;border-bottom:1px solid #6a6a6a;color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-weight:400;font-size:16px;outline:none;width:100%;height:26px}.errorBin{color:red;margin-top:5px;font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:400;bottom:42px}.errorBin>p{margin-top:3px;margin-block-end:0px}.placeholder{display:flex;justify-content:start}.placeholder>p{color:#888;bottom:45px;margin:3px 0 0}span p{font-family:Inter,Arial,"sans-serif";font-size:12px}.checkbox-save-card-scof{display:flex;flex-direction:row;justify-content:flex-start;padding-bottom:20px}.checkbox-save-card-scof label{text-align:left;font-size:12px;margin-top:2px}.checkbox-save-card-scof label p{margin:0}.checkbox-save-card-scof input[type=checkbox]{order:-1;width:17px;height:17px;margin-right:10px;accent-color:#652bdf}
|
|
63101
63097
|
`;
|
|
63102
63098
|
var JN = Object.defineProperty, WN = Object.getOwnPropertyDescriptor, ar = (r, e, t, s) => {
|
|
63103
63099
|
for (var n = s > 1 ? void 0 : s ? WN(e, t) : e, i = r.length - 1, o; i >= 0; i--)
|
|
@@ -64315,7 +64311,7 @@ let _s = class r extends $e {
|
|
|
64315
64311
|
firstUpdated(e) {
|
|
64316
64312
|
return _e(this, null, function* () {
|
|
64317
64313
|
var t;
|
|
64318
|
-
|
|
64314
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.title = this.stateScofStatus.title, this.message = this.stateScofStatus.subtitle, this.image = this.stateScofStatus.icon, this.returnButton = this.stateScofStatus.returnButton || !1, (t = this.stateScof.statePaymentRequest) != null && t.id && xe.info("firstUpdated", {
|
|
64319
64315
|
context: Ze.CARD_ON_FILE,
|
|
64320
64316
|
tag: "STATUS",
|
|
64321
64317
|
origin_sdk: Pf,
|
|
@@ -64715,7 +64711,7 @@ let Kh = class r extends $e {
|
|
|
64715
64711
|
}
|
|
64716
64712
|
firstUpdated(e) {
|
|
64717
64713
|
return _e(this, null, function* () {
|
|
64718
|
-
|
|
64714
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), yield this._setInitialFraudConfiguration(), yield this._loadFraudScripts();
|
|
64719
64715
|
});
|
|
64720
64716
|
}
|
|
64721
64717
|
render() {
|
|
@@ -64786,7 +64782,7 @@ let Fa = class r extends $e {
|
|
|
64786
64782
|
}
|
|
64787
64783
|
firstUpdated(e) {
|
|
64788
64784
|
return _e(this, null, function* () {
|
|
64789
|
-
|
|
64785
|
+
ts(r.prototype, this, "firstUpdated").call(this, e), this.stateStatus.isRetry = !0, this.stateManualInputProps = {
|
|
64790
64786
|
paymentRequestId: this.paymentRequestId,
|
|
64791
64787
|
publicKey: this.publicKey
|
|
64792
64788
|
}, this.requestUpdate();
|
|
@@ -65726,7 +65722,7 @@ let Is = class r extends $e {
|
|
|
65726
65722
|
firstUpdated(e) {
|
|
65727
65723
|
return _e(this, null, function* () {
|
|
65728
65724
|
var t, s, n;
|
|
65729
|
-
if (
|
|
65725
|
+
if (ts(r.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((t = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : t.payment_type) === Bo.ECOMMERCE ? this._statePaymentManualInput.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
|
|
65730
65726
|
xe.info("firstUpdatedStatus", {
|
|
65731
65727
|
context: Ze.DEFAULT,
|
|
65732
65728
|
origin_sdk: Nf,
|
|
@@ -66118,7 +66114,7 @@ const N9 = (r) => {
|
|
|
66118
66114
|
const e = (o = (i = r == null ? void 0 : r.payment_settings) == null ? void 0 : i.payment_types.ecommerce) == null ? void 0 : o.payment_inputs.card_not_present, t = (d = (a = r == null ? void 0 : r.payment_settings) == null ? void 0 : a.payment_types.ecommerce) == null ? void 0 : d.payment_inputs.manual_input, s = (c = (A = (l = r == null ? void 0 : r.payment_settings) == null ? void 0 : l.payment_types) == null ? void 0 : A.payment_link) == null ? void 0 : c.payment_inputs.card_not_present, n = (m = (p = (g = r == null ? void 0 : r.payment_settings) == null ? void 0 : g.payment_types) == null ? void 0 : p.payment_link) == null ? void 0 : m.payment_inputs.manual_input;
|
|
66119
66115
|
return !!((e || t || s || n) && Zs.sonqoCardPaymentIsActive && Zs.manualInput);
|
|
66120
66116
|
}, L9 = (r) => (Zs.validateQRCircuitBreaker(r), (Zs.coelsaQRIsActive || Zs.sonqoQRIsActive) && Zs.wallet && ci.allowWallet);
|
|
66121
|
-
var O9 = Object.defineProperty, M9 = Object.getOwnPropertyDescriptor,
|
|
66117
|
+
var O9 = Object.defineProperty, M9 = Object.getOwnPropertyDescriptor, Xr = (r, e, t, s) => {
|
|
66122
66118
|
for (var n = s > 1 ? void 0 : s ? M9(e, t) : e, i = r.length - 1, o; i >= 0; i--)
|
|
66123
66119
|
(o = r[i]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
66124
66120
|
return s && n && O9(e, t, n), n;
|
|
@@ -66207,64 +66203,64 @@ let Nr = class extends $e {
|
|
|
66207
66203
|
`;
|
|
66208
66204
|
}
|
|
66209
66205
|
};
|
|
66210
|
-
|
|
66206
|
+
Xr([
|
|
66211
66207
|
be()
|
|
66212
66208
|
], Nr.prototype, "_showInitialPanels", 2);
|
|
66213
|
-
|
|
66209
|
+
Xr([
|
|
66214
66210
|
T({ type: Boolean })
|
|
66215
66211
|
], Nr.prototype, "isLoading", 2);
|
|
66216
|
-
|
|
66212
|
+
Xr([
|
|
66217
66213
|
T({ type: Boolean })
|
|
66218
66214
|
], Nr.prototype, "isShowToast", 2);
|
|
66219
|
-
|
|
66215
|
+
Xr([
|
|
66220
66216
|
T({ type: String })
|
|
66221
66217
|
], Nr.prototype, "paymentRequestId", 2);
|
|
66222
|
-
|
|
66218
|
+
Xr([
|
|
66223
66219
|
T({ type: String })
|
|
66224
66220
|
], Nr.prototype, "qrData", 2);
|
|
66225
|
-
|
|
66221
|
+
Xr([
|
|
66226
66222
|
T({ type: Boolean })
|
|
66227
66223
|
], Nr.prototype, "showQr", 2);
|
|
66228
|
-
|
|
66224
|
+
Xr([
|
|
66229
66225
|
T({ type: Boolean })
|
|
66230
66226
|
], Nr.prototype, "walletPaymentInput", 2);
|
|
66231
|
-
|
|
66227
|
+
Xr([
|
|
66232
66228
|
T({ type: Boolean })
|
|
66233
66229
|
], Nr.prototype, "manualPaymentInput", 2);
|
|
66234
|
-
|
|
66230
|
+
Xr([
|
|
66235
66231
|
T({ type: Boolean })
|
|
66236
66232
|
], Nr.prototype, "showInitialPanel", 2);
|
|
66237
|
-
|
|
66233
|
+
Xr([
|
|
66238
66234
|
T({ type: Boolean })
|
|
66239
66235
|
], Nr.prototype, "hasWalletPromotions", 2);
|
|
66240
|
-
|
|
66236
|
+
Xr([
|
|
66241
66237
|
T({ type: Boolean })
|
|
66242
66238
|
], Nr.prototype, "hasManualInputPromotions", 2);
|
|
66243
|
-
|
|
66239
|
+
Xr([
|
|
66244
66240
|
T({ type: Boolean })
|
|
66245
66241
|
], Nr.prototype, "showBtnForm", 2);
|
|
66246
|
-
|
|
66242
|
+
Xr([
|
|
66247
66243
|
T({ type: Boolean })
|
|
66248
66244
|
], Nr.prototype, "showBtnQROrModo", 2);
|
|
66249
|
-
|
|
66245
|
+
Xr([
|
|
66250
66246
|
lt({ context: Ji, subscribe: !0 }),
|
|
66251
66247
|
be()
|
|
66252
66248
|
], Nr.prototype, "_statePaymentManualInput", 2);
|
|
66253
|
-
|
|
66249
|
+
Xr([
|
|
66254
66250
|
be()
|
|
66255
66251
|
], Nr.prototype, "_showPaymentForm", 2);
|
|
66256
|
-
|
|
66252
|
+
Xr([
|
|
66257
66253
|
T({})
|
|
66258
66254
|
], Nr.prototype, "statePaymentManualInput", 2);
|
|
66259
|
-
|
|
66255
|
+
Xr([
|
|
66260
66256
|
lt({ context: Zc, subscribe: !0 }),
|
|
66261
66257
|
be()
|
|
66262
66258
|
], Nr.prototype, "_manualInputDataProps", 2);
|
|
66263
|
-
|
|
66259
|
+
Xr([
|
|
66264
66260
|
lt({ context: rd, subscribe: !0 }),
|
|
66265
66261
|
be()
|
|
66266
66262
|
], Nr.prototype, "stateStatus", 2);
|
|
66267
|
-
Nr =
|
|
66263
|
+
Nr = Xr([
|
|
66268
66264
|
tt("manual-input")
|
|
66269
66265
|
], Nr);
|
|
66270
66266
|
var H9 = Object.defineProperty, V9 = Object.getOwnPropertyDescriptor, VA = (r, e, t, s) => {
|
|
@@ -66403,7 +66399,7 @@ let Gr = class r extends $e {
|
|
|
66403
66399
|
}
|
|
66404
66400
|
firstUpdated(e) {
|
|
66405
66401
|
return _e(this, null, function* () {
|
|
66406
|
-
if (
|
|
66402
|
+
if (ts(r.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.stateStatus.isRetry && (yield this.loadData(), this.stateStatus.isRetry = !1), this.stateStatus.isStart || this.stateStatus.isQRPaid) {
|
|
66407
66403
|
if (this.title = "Estamos procesando el pago", this.subtitle = "Puede tardar unos segundos.", this.stateStatus.isQRPaid)
|
|
66408
66404
|
return;
|
|
66409
66405
|
yield this.directPaymentTransparent();
|
|
@@ -67473,7 +67469,7 @@ var fL = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
67473
67469
|
return e === 11 && r.type === 12 || e === 28 && r.type === 29 ? !0 : e === 2 && r.type === 3;
|
|
67474
67470
|
}, Ua = function(r) {
|
|
67475
67471
|
return r.type === 17 || r.type === 15;
|
|
67476
|
-
},
|
|
67472
|
+
}, Qr = function(r) {
|
|
67477
67473
|
return r.type === 16 || Ua(r);
|
|
67478
67474
|
}, bx = function(r) {
|
|
67479
67475
|
return r.length > 1 ? [r[0], r[1]] : [r[0]];
|
|
@@ -67600,7 +67596,7 @@ var fL = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
67600
67596
|
}
|
|
67601
67597
|
}, Ca = function(r) {
|
|
67602
67598
|
return (255 & r) === 0;
|
|
67603
|
-
},
|
|
67599
|
+
}, rs = function(r) {
|
|
67604
67600
|
var e = 255 & r, t = 255 & r >> 8, s = 255 & r >> 16, n = 255 & r >> 24;
|
|
67605
67601
|
return e < 255 ? "rgba(" + n + "," + s + "," + t + "," + e / 255 + ")" : "rgb(" + n + "," + s + "," + t + ")";
|
|
67606
67602
|
}, ya = function(r, e, t, s) {
|
|
@@ -67629,7 +67625,7 @@ function Gf(r, e, t) {
|
|
|
67629
67625
|
return t < 0 && (t += 1), t >= 1 && (t -= 1), t < 1 / 6 ? (e - r) * t * 6 + r : t < 1 / 2 ? e : t < 2 / 3 ? (e - r) * 6 * (2 / 3 - t) + r : r;
|
|
67630
67626
|
}
|
|
67631
67627
|
var z5 = function(r, e) {
|
|
67632
|
-
var t = e.filter(IA), s = t[0], n = t[1], i = t[2], o = t[3], a = (s.type === 17 ? Qn(s.number) : L1.parse(r, s)) / (Math.PI * 2), d =
|
|
67628
|
+
var t = e.filter(IA), s = t[0], n = t[1], i = t[2], o = t[3], a = (s.type === 17 ? Qn(s.number) : L1.parse(r, s)) / (Math.PI * 2), d = Qr(n) ? n.number / 100 : 0, l = Qr(i) ? i.number / 100 : 0, A = typeof o != "undefined" && Qr(o) ? or(o, 1) : 1;
|
|
67633
67629
|
if (d === 0)
|
|
67634
67630
|
return ya(l * 255, l * 255, l * 255, 1);
|
|
67635
67631
|
var c = l <= 0.5 ? l * (d + 1) : l + d - l * d, g = l * 2 - c, p = Gf(g, c, a + 1 / 3), m = Gf(g, c, a), v = Gf(g, c, a - 1 / 3);
|
|
@@ -67816,7 +67812,7 @@ var z5 = function(r, e) {
|
|
|
67816
67812
|
format: "color"
|
|
67817
67813
|
}, O1 = function(r, e) {
|
|
67818
67814
|
var t = xa.parse(r, e[0]), s = e[1];
|
|
67819
|
-
return s &&
|
|
67815
|
+
return s && Qr(s) ? { color: t, stop: s } : { color: t, stop: null };
|
|
67820
67816
|
}, U5 = function(r, e) {
|
|
67821
67817
|
var t = r[0], s = r[r.length - 1];
|
|
67822
67818
|
t.stop === null && (t.stop = cs), s.stop === null && (s.stop = ma);
|
|
@@ -67992,7 +67988,7 @@ var z5 = function(r, e) {
|
|
|
67992
67988
|
return i.push(ma), c;
|
|
67993
67989
|
}
|
|
67994
67990
|
else
|
|
67995
|
-
(
|
|
67991
|
+
(Qr(g) || Ua(g)) && i.push(g);
|
|
67996
67992
|
else if (Zt(g))
|
|
67997
67993
|
switch (g.value) {
|
|
67998
67994
|
case Fx:
|
|
@@ -68012,7 +68008,7 @@ var z5 = function(r, e) {
|
|
|
68012
68008
|
case Ix:
|
|
68013
68009
|
return s = 3, !1;
|
|
68014
68010
|
}
|
|
68015
|
-
else if (Ua(g) ||
|
|
68011
|
+
else if (Ua(g) || Qr(g))
|
|
68016
68012
|
return Array.isArray(s) || (s = []), s.push(g), !1;
|
|
68017
68013
|
return c;
|
|
68018
68014
|
}, d);
|
|
@@ -68045,7 +68041,7 @@ var z5 = function(r, e) {
|
|
|
68045
68041
|
case "bottom":
|
|
68046
68042
|
return i.push(ma), !1;
|
|
68047
68043
|
}
|
|
68048
|
-
else if (
|
|
68044
|
+
else if (Qr(c) || Ua(c))
|
|
68049
68045
|
return i.push(c), !1;
|
|
68050
68046
|
return A;
|
|
68051
68047
|
}, d) : a === 1 && (d = o.reduce(function(A, c) {
|
|
@@ -68066,7 +68062,7 @@ var z5 = function(r, e) {
|
|
|
68066
68062
|
case Ix:
|
|
68067
68063
|
return s = 3, !1;
|
|
68068
68064
|
}
|
|
68069
|
-
else if (Ua(c) ||
|
|
68065
|
+
else if (Ua(c) || Qr(c))
|
|
68070
68066
|
return Array.isArray(s) || (s = []), s.push(c), !1;
|
|
68071
68067
|
return A;
|
|
68072
68068
|
}, d)), d) {
|
|
@@ -68159,7 +68155,7 @@ var Dx = {
|
|
|
68159
68155
|
prefix: !1,
|
|
68160
68156
|
parse: function(r, e) {
|
|
68161
68157
|
return Wi(e).map(function(t) {
|
|
68162
|
-
return t.filter(
|
|
68158
|
+
return t.filter(Qr);
|
|
68163
68159
|
}).map(bx);
|
|
68164
68160
|
}
|
|
68165
68161
|
}, tM = {
|
|
@@ -68203,7 +68199,7 @@ var sM = {
|
|
|
68203
68199
|
});
|
|
68204
68200
|
}
|
|
68205
68201
|
}, nM = function(r) {
|
|
68206
|
-
return Zt(r) ||
|
|
68202
|
+
return Zt(r) || Qr(r);
|
|
68207
68203
|
}, M1 = function(r) {
|
|
68208
68204
|
return {
|
|
68209
68205
|
name: "border-" + r + "-color",
|
|
@@ -68219,7 +68215,7 @@ var sM = {
|
|
|
68219
68215
|
prefix: !1,
|
|
68220
68216
|
type: 1,
|
|
68221
68217
|
parse: function(e, t) {
|
|
68222
|
-
return bx(t.filter(
|
|
68218
|
+
return bx(t.filter(Qr));
|
|
68223
68219
|
}
|
|
68224
68220
|
};
|
|
68225
68221
|
}, dM = q1("top-left"), AM = q1("top-right"), uM = q1("bottom-right"), cM = q1("bottom-left"), H1 = function(r) {
|
|
@@ -68402,7 +68398,7 @@ var jM = {
|
|
|
68402
68398
|
type: 4
|
|
68403
68399
|
/* TOKEN_VALUE */
|
|
68404
68400
|
}, D5 = function(r, e) {
|
|
68405
|
-
return Zt(r) && r.value === "normal" ? 1.2 * e : r.type === 17 ? e * r.number :
|
|
68401
|
+
return Zt(r) && r.value === "normal" ? 1.2 * e : r.type === 17 ? e * r.number : Qr(r) ? or(r, e) : e;
|
|
68406
68402
|
}, _M = {
|
|
68407
68403
|
name: "list-style-image",
|
|
68408
68404
|
initialValue: "none",
|
|
@@ -68712,7 +68708,7 @@ var jM = {
|
|
|
68712
68708
|
prefix: !0,
|
|
68713
68709
|
type: 1,
|
|
68714
68710
|
parse: function(r, e) {
|
|
68715
|
-
var t = e.filter(
|
|
68711
|
+
var t = e.filter(Qr);
|
|
68716
68712
|
return t.length !== 2 ? JM : [t[0], t[1]];
|
|
68717
68713
|
}
|
|
68718
68714
|
}, XM = {
|
|
@@ -69134,7 +69130,7 @@ var ZM = {
|
|
|
69134
69130
|
return Ua(a) ? a : cs;
|
|
69135
69131
|
case "length-percentage":
|
|
69136
69132
|
var d = i.parseComponentValue();
|
|
69137
|
-
return
|
|
69133
|
+
return Qr(d) ? d : cs;
|
|
69138
69134
|
case "time":
|
|
69139
69135
|
return Px.parse(r, i.parseComponentValue());
|
|
69140
69136
|
}
|
|
@@ -70772,7 +70768,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
70772
70768
|
var s = e[0], n = e[1], i = e[2], o = r[0], a = r[1];
|
|
70773
70769
|
if (!o)
|
|
70774
70770
|
return [0, 0];
|
|
70775
|
-
if (
|
|
70771
|
+
if (Qr(o) && a && Qr(a))
|
|
70776
70772
|
return [or(o, t.width), or(a, t.height)];
|
|
70777
70773
|
var d = Pg(i);
|
|
70778
70774
|
if (Zt(o) && (o.value === lA.CONTAIN || o.value === lA.COVER)) {
|
|
@@ -70797,10 +70793,10 @@ var Ar = function(r, e, t, s, n) {
|
|
|
70797
70793
|
}
|
|
70798
70794
|
if (d) {
|
|
70799
70795
|
var b = 0, C = 0;
|
|
70800
|
-
return
|
|
70796
|
+
return Qr(o) ? b = or(o, t.width) : Qr(a) && (C = or(a, t.height)), Kd(o) ? b = C * i : (!a || Kd(a)) && (C = b / i), [b, C];
|
|
70801
70797
|
}
|
|
70802
70798
|
var I = null, L = null;
|
|
70803
|
-
if (
|
|
70799
|
+
if (Qr(o) ? I = or(o, t.width) : a && Qr(a) && (L = or(a, t.height)), I !== null && (!a || Kd(a)) && (L = A && c ? I / s * n : t.height), L !== null && Kd(o) && (I = A && c ? L / n * s : t.width), I !== null && L !== null)
|
|
70804
70800
|
return [I, L];
|
|
70805
70801
|
throw new Error("Unable to calculate background-size for element");
|
|
70806
70802
|
}, eA = function(r, e) {
|
|
@@ -70950,11 +70946,11 @@ var Ar = function(r, e, t, s, n) {
|
|
|
70950
70946
|
c.forEach(function(v) {
|
|
70951
70947
|
switch (v) {
|
|
70952
70948
|
case 0:
|
|
70953
|
-
g.ctx.fillStyle =
|
|
70949
|
+
g.ctx.fillStyle = rs(s.color), g.renderTextWithLetterSpacing(m, s.letterSpacing, l);
|
|
70954
70950
|
var x = s.textShadow;
|
|
70955
70951
|
x.length && m.text.trim().length && (x.slice(0).reverse().forEach(function(b) {
|
|
70956
|
-
g.ctx.shadowColor =
|
|
70957
|
-
}), g.ctx.shadowColor = "", g.ctx.shadowOffsetX = 0, g.ctx.shadowOffsetY = 0, g.ctx.shadowBlur = 0), s.textDecorationLine.length && (g.ctx.fillStyle =
|
|
70952
|
+
g.ctx.shadowColor = rs(b.color), g.ctx.shadowOffsetX = b.offsetX.number * g.options.scale, g.ctx.shadowOffsetY = b.offsetY.number * g.options.scale, g.ctx.shadowBlur = b.blur.number, g.renderTextWithLetterSpacing(m, s.letterSpacing, l);
|
|
70953
|
+
}), g.ctx.shadowColor = "", g.ctx.shadowOffsetX = 0, g.ctx.shadowOffsetY = 0, g.ctx.shadowBlur = 0), s.textDecorationLine.length && (g.ctx.fillStyle = rs(s.textDecorationColor || s.color), s.textDecorationLine.forEach(function(b) {
|
|
70958
70954
|
switch (b) {
|
|
70959
70955
|
case 1:
|
|
70960
70956
|
g.ctx.fillRect(m.bounds.left, Math.round(m.bounds.top + l), m.bounds.width, 1);
|
|
@@ -70969,7 +70965,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
70969
70965
|
}));
|
|
70970
70966
|
break;
|
|
70971
70967
|
case 1:
|
|
70972
|
-
s.webkitTextStrokeWidth && m.text.trim().length && (g.ctx.strokeStyle =
|
|
70968
|
+
s.webkitTextStrokeWidth && m.text.trim().length && (g.ctx.strokeStyle = rs(s.webkitTextStrokeColor), g.ctx.lineWidth = s.webkitTextStrokeWidth, g.ctx.lineJoin = window.chrome ? "miter" : "round", g.ctx.strokeText(m.text, m.bounds.left, m.bounds.top + l)), g.ctx.strokeStyle = "", g.ctx.lineWidth = 0, g.ctx.lineJoin = "miter";
|
|
70973
70969
|
break;
|
|
70974
70970
|
}
|
|
70975
70971
|
});
|
|
@@ -71040,8 +71036,8 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71040
71036
|
new Ve(s.bounds.left + c * 0.72983, s.bounds.top + c * 0.23),
|
|
71041
71037
|
new Ve(s.bounds.left + c * 0.84, s.bounds.top + c * 0.34085),
|
|
71042
71038
|
new Ve(s.bounds.left + c * 0.39363, s.bounds.top + c * 0.79)
|
|
71043
|
-
]), this.ctx.fillStyle =
|
|
71044
|
-
switch (g = this.createFontStyle(i), L = g[0], p = g[1], m = this.fontMetrics.getMetrics(L, p).baseline, this.ctx.font = L, this.ctx.fillStyle =
|
|
71039
|
+
]), this.ctx.fillStyle = rs(Z5), this.ctx.fill(), this.ctx.restore()) : s.type === Xh && s.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(s.bounds.left + c / 2, s.bounds.top + c / 2, c / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = rs(Z5), this.ctx.fill(), this.ctx.restore())), AV(s) && s.value.length) {
|
|
71040
|
+
switch (g = this.createFontStyle(i), L = g[0], p = g[1], m = this.fontMetrics.getMetrics(L, p).baseline, this.ctx.font = L, this.ctx.fillStyle = rs(i.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = cV(s.styles.textAlign), V = r1(s), v = 0, s.styles.textAlign) {
|
|
71045
71041
|
case 1:
|
|
71046
71042
|
v += V.width / 2;
|
|
71047
71043
|
break;
|
|
@@ -71076,7 +71072,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71076
71072
|
case 18:
|
|
71077
71073
|
return [3, 20];
|
|
71078
71074
|
case 19:
|
|
71079
|
-
t.listValue && s.styles.listStyleType !== -1 && (L = this.createFontStyle(i)[0], this.ctx.font = L, this.ctx.fillStyle =
|
|
71075
|
+
t.listValue && s.styles.listStyleType !== -1 && (L = this.createFontStyle(i)[0], this.ctx.font = L, this.ctx.fillStyle = rs(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", V = new To(s.bounds.left, s.bounds.top + or(s.styles.paddingTop, s.bounds.width), s.bounds.width, D5(i.lineHeight, i.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new lc(t.listValue, V), i.letterSpacing, D5(i.lineHeight, i.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), q.label = 20;
|
|
71080
71076
|
case 20:
|
|
71081
71077
|
return [
|
|
71082
71078
|
2
|
|
@@ -71212,13 +71208,13 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71212
71208
|
]), de = p[0], ue = p[1], ve = p[2], J = p[3], W = p[4], N = i.ctx.createPattern(i.resizeImage(c, J, W), "repeat"), i.renderRepeat(de, N, ue, ve)), [3, 6];
|
|
71213
71209
|
case 5:
|
|
71214
71210
|
JO(A) ? (m = om(t, s, [null, null, null]), de = m[0], ue = m[1], ve = m[2], J = m[3], W = m[4], v = HO(A.angle, J, W), x = v[0], b = v[1], C = v[2], I = v[3], L = v[4], V = document.createElement("canvas"), V.width = J, V.height = W, q = V.getContext("2d"), M = q.createLinearGradient(b, I, C, L), U5(A.stops, x).forEach(function(le) {
|
|
71215
|
-
return M.addColorStop(le.stop,
|
|
71211
|
+
return M.addColorStop(le.stop, rs(le.color));
|
|
71216
71212
|
}), q.fillStyle = M, q.fillRect(0, 0, J, W), J > 0 && W > 0 && (N = i.ctx.createPattern(V, "repeat"), i.renderRepeat(de, N, ue, ve))) : WO(A) && (Z = om(t, s, [
|
|
71217
71213
|
null,
|
|
71218
71214
|
null,
|
|
71219
71215
|
null
|
|
71220
71216
|
]), de = Z[0], U = Z[1], R = Z[2], J = Z[3], W = Z[4], ye = A.position.length === 0 ? [g2] : A.position, ue = or(ye[0], J), ve = or(ye[ye.length - 1], W), ce = VO(A, ue, ve, J, W), Be = ce[0], oe = ce[1], Be > 0 && oe > 0 && (ke = i.ctx.createRadialGradient(U + ue, R + ve, 0, U + ue, R + ve, Be), U5(A.stops, Be * 2).forEach(function(le) {
|
|
71221
|
-
return ke.addColorStop(le.stop,
|
|
71217
|
+
return ke.addColorStop(le.stop, rs(le.color));
|
|
71222
71218
|
}), i.path(de), i.ctx.fillStyle = ke, Be !== oe ? (E = t.bounds.left + 0.5 * t.bounds.width, O = t.bounds.top + 0.5 * t.bounds.height, K = oe / Be, ee = 1 / K, i.ctx.save(), i.ctx.translate(E, O), i.ctx.transform(1, 0, 0, K, 0, 0), i.ctx.translate(-E, -O), i.ctx.fillRect(U, ee * (R - O) + O, J, W * ee), i.ctx.restore()) : i.ctx.fill())), re.label = 6;
|
|
71223
71219
|
case 6:
|
|
71224
71220
|
return s--, [
|
|
@@ -71245,7 +71241,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71245
71241
|
}, e.prototype.renderSolidBorder = function(t, s, n) {
|
|
71246
71242
|
return Ps(this, void 0, void 0, function() {
|
|
71247
71243
|
return Es(this, function(i) {
|
|
71248
|
-
return this.path(A3(n, s)), this.ctx.fillStyle =
|
|
71244
|
+
return this.path(A3(n, s)), this.ctx.fillStyle = rs(t), this.ctx.fill(), [
|
|
71249
71245
|
2
|
|
71250
71246
|
/*return*/
|
|
71251
71247
|
];
|
|
@@ -71264,7 +71260,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71264
71260
|
/*return*/
|
|
71265
71261
|
];
|
|
71266
71262
|
case 2:
|
|
71267
|
-
return o = $H(i, n), this.path(o), this.ctx.fillStyle =
|
|
71263
|
+
return o = $H(i, n), this.path(o), this.ctx.fillStyle = rs(t), this.ctx.fill(), a = eV(i, n), this.path(a), this.ctx.fill(), [
|
|
71268
71264
|
2
|
|
71269
71265
|
/*return*/
|
|
71270
71266
|
];
|
|
@@ -71285,12 +71281,12 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71285
71281
|
{ style: s.borderRightStyle, color: s.borderRightColor, width: s.borderRightWidth },
|
|
71286
71282
|
{ style: s.borderBottomStyle, color: s.borderBottomColor, width: s.borderBottomWidth },
|
|
71287
71283
|
{ style: s.borderLeftStyle, color: s.borderLeftColor, width: s.borderLeftWidth }
|
|
71288
|
-
], o = uV(eA(s.backgroundClip, 0), t.curves), n || s.boxShadow.length ? (this.ctx.save(), this.path(o), this.ctx.clip(), Ca(s.backgroundColor) || (this.ctx.fillStyle =
|
|
71284
|
+
], o = uV(eA(s.backgroundClip, 0), t.curves), n || s.boxShadow.length ? (this.ctx.save(), this.path(o), this.ctx.clip(), Ca(s.backgroundColor) || (this.ctx.fillStyle = rs(s.backgroundColor), this.ctx.fill()), [4, this.renderBackgroundImage(t.container)]) : [3, 2];
|
|
71289
71285
|
case 1:
|
|
71290
71286
|
g.sent(), this.ctx.restore(), s.boxShadow.slice(0).reverse().forEach(function(p) {
|
|
71291
71287
|
c.ctx.save();
|
|
71292
71288
|
var m = e1(t.curves), v = p.inset ? 0 : lV, x = XH(m, -v + (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));
|
|
71293
|
-
p.inset ? (c.path(m), c.ctx.clip(), c.mask(x)) : (c.mask(m), c.ctx.clip(), c.path(x)), c.ctx.shadowOffsetX = p.offsetX.number + v, c.ctx.shadowOffsetY = p.offsetY.number, c.ctx.shadowColor =
|
|
71289
|
+
p.inset ? (c.path(m), c.ctx.clip(), c.mask(x)) : (c.mask(m), c.ctx.clip(), c.path(x)), c.ctx.shadowOffsetX = p.offsetX.number + v, c.ctx.shadowOffsetY = p.offsetY.number, c.ctx.shadowColor = rs(p.color), c.ctx.shadowBlur = p.blur.number, c.ctx.fillStyle = p.inset ? rs(p.color) : "rgba(0,0,0,1)", c.ctx.fill(), c.ctx.restore();
|
|
71294
71290
|
}), g.label = 2;
|
|
71295
71291
|
case 2:
|
|
71296
71292
|
a = 0, d = 0, l = i, g.label = 3;
|
|
@@ -71340,7 +71336,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71340
71336
|
return Ps(this, void 0, void 0, function() {
|
|
71341
71337
|
var a, d, l, A, c, g, p, m, v, x, b, C, I, L, V, q, V, q;
|
|
71342
71338
|
return Es(this, function(M) {
|
|
71343
|
-
return this.ctx.save(), a = tV(i, n), d = A3(i, n), o === 2 && (this.path(d), this.ctx.clip()), Un(d[0]) ? (l = d[0].start.x, A = d[0].start.y) : (l = d[0].x, A = d[0].y), Un(d[1]) ? (c = d[1].end.x, g = d[1].end.y) : (c = d[1].x, g = d[1].y), n === 0 || n === 2 ? p = Math.abs(l - c) : p = Math.abs(A - g), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), m = s < 3 ? s * 3 : s * 2, v = s < 3 ? s * 2 : s, o === 3 && (m = s, v = s), x = !0, p <= m * 2 ? x = !1 : p <= m * 2 + v ? (b = p / (2 * m + v), m *= b, v *= b) : (C = Math.floor((p + v) / (m + v)), I = (p - C * m) / (C - 1), L = (p - (C + 1) * m) / C, v = L <= 0 || Math.abs(v - I) < Math.abs(v - L) ? I : L), x && (o === 3 ? this.ctx.setLineDash([0, m + v]) : this.ctx.setLineDash([m, v])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = s) : this.ctx.lineWidth = s * 2 + 1.1, this.ctx.strokeStyle =
|
|
71339
|
+
return this.ctx.save(), a = tV(i, n), d = A3(i, n), o === 2 && (this.path(d), this.ctx.clip()), Un(d[0]) ? (l = d[0].start.x, A = d[0].start.y) : (l = d[0].x, A = d[0].y), Un(d[1]) ? (c = d[1].end.x, g = d[1].end.y) : (c = d[1].x, g = d[1].y), n === 0 || n === 2 ? p = Math.abs(l - c) : p = Math.abs(A - g), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), m = s < 3 ? s * 3 : s * 2, v = s < 3 ? s * 2 : s, o === 3 && (m = s, v = s), x = !0, p <= m * 2 ? x = !1 : p <= m * 2 + v ? (b = p / (2 * m + v), m *= b, v *= b) : (C = Math.floor((p + v) / (m + v)), I = (p - C * m) / (C - 1), L = (p - (C + 1) * m) / C, v = L <= 0 || Math.abs(v - I) < Math.abs(v - L) ? I : L), x && (o === 3 ? this.ctx.setLineDash([0, m + v]) : this.ctx.setLineDash([m, v])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = s) : this.ctx.lineWidth = s * 2 + 1.1, this.ctx.strokeStyle = rs(t), this.ctx.stroke(), this.ctx.setLineDash([]), o === 2 && (Un(d[0]) && (V = d[3], q = d[0], this.ctx.beginPath(), this.formatPath([new Ve(V.end.x, V.end.y), new Ve(q.start.x, q.start.y)]), this.ctx.stroke()), Un(d[1]) && (V = d[1], q = d[2], this.ctx.beginPath(), this.formatPath([new Ve(V.end.x, V.end.y), new Ve(q.start.x, q.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
71344
71340
|
2
|
|
71345
71341
|
/*return*/
|
|
71346
71342
|
];
|
|
@@ -71352,7 +71348,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71352
71348
|
return Es(this, function(n) {
|
|
71353
71349
|
switch (n.label) {
|
|
71354
71350
|
case 0:
|
|
71355
|
-
return this.options.backgroundColor && (this.ctx.fillStyle =
|
|
71351
|
+
return this.options.backgroundColor && (this.ctx.fillStyle = rs(this.options.backgroundColor), this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height)), s = ZH(t), [4, this.renderStack(s)];
|
|
71356
71352
|
case 1:
|
|
71357
71353
|
return n.sent(), this.applyEffects([]), [2, this.canvas];
|
|
71358
71354
|
}
|
|
@@ -71402,7 +71398,7 @@ var Ar = function(r, e, t, s, n) {
|
|
|
71402
71398
|
case 0:
|
|
71403
71399
|
return s = Ly(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, t), [4, fV(s)];
|
|
71404
71400
|
case 1:
|
|
71405
|
-
return n = i.sent(), this.options.backgroundColor && (this.ctx.fillStyle =
|
|
71401
|
+
return n = i.sent(), this.options.backgroundColor && (this.ctx.fillStyle = rs(this.options.backgroundColor), this.ctx.fillRect(0, 0, this.options.width * this.options.scale, this.options.height * this.options.scale)), this.ctx.drawImage(n, -this.options.x * this.options.scale, -this.options.y * this.options.scale), [2, this.canvas];
|
|
71406
71402
|
}
|
|
71407
71403
|
});
|
|
71408
71404
|
});
|
|
@@ -72448,7 +72444,7 @@ function At(r) {
|
|
|
72448
72444
|
}, ee = p.__private__.padd2Hex = function(f) {
|
|
72449
72445
|
return ("00" + (f = f.toString())).substr(f.length);
|
|
72450
72446
|
}, re = 0, le = [], fe = [], me = 0, Re = [], Ue = [], Ne = !1, Le = fe, rt = function() {
|
|
72451
|
-
re = 0, me = 0, fe = [], le = [], Re = [], eo =
|
|
72447
|
+
re = 0, me = 0, fe = [], le = [], Re = [], eo = Fr(), Kn = Fr();
|
|
72452
72448
|
};
|
|
72453
72449
|
p.__private__.setCustomOutputDestination = function(f) {
|
|
72454
72450
|
Ne = !0, Le = f;
|
|
@@ -72636,18 +72632,18 @@ function At(r) {
|
|
|
72636
72632
|
`), Hs(f, S), Vt.publish("endTilingPattern", S), Ei.pop().restore();
|
|
72637
72633
|
};
|
|
72638
72634
|
var Or = p.__private__.newObject = function() {
|
|
72639
|
-
var f =
|
|
72635
|
+
var f = Fr();
|
|
72640
72636
|
return on(f, !0), f;
|
|
72641
|
-
},
|
|
72637
|
+
}, Fr = p.__private__.newObjectDeferred = function() {
|
|
72642
72638
|
return re++, le[re] = function() {
|
|
72643
72639
|
return me;
|
|
72644
72640
|
}, re;
|
|
72645
72641
|
}, on = function(f, S) {
|
|
72646
72642
|
return S = typeof S == "boolean" && S, le[f] = me, S && X(f + " 0 obj"), f;
|
|
72647
72643
|
}, id = p.__private__.newAdditionalObject = function() {
|
|
72648
|
-
var f = { objId:
|
|
72644
|
+
var f = { objId: Fr(), content: "" };
|
|
72649
72645
|
return Re.push(f), f;
|
|
72650
|
-
}, eo =
|
|
72646
|
+
}, eo = Fr(), Kn = Fr(), Gn = p.__private__.decodeColorString = function(f) {
|
|
72651
72647
|
var S = f.split(" ");
|
|
72652
72648
|
if (S.length !== 2 || S[1] !== "g" && S[1] !== "G")
|
|
72653
72649
|
S.length === 5 && (S[4] === "k" || S[4] === "K") && (S = [(1 - S[0]) * (1 - S[3]), (1 - S[1]) * (1 - S[3]), (1 - S[2]) * (1 - S[3]), "r"]);
|
|
@@ -72736,8 +72732,8 @@ function At(r) {
|
|
|
72736
72732
|
}
|
|
72737
72733
|
}
|
|
72738
72734
|
X("<<");
|
|
72739
|
-
for (var
|
|
72740
|
-
X("/" + Bt[
|
|
72735
|
+
for (var zr = 0; zr < Bt.length; zr++)
|
|
72736
|
+
X("/" + Bt[zr].key + " " + Bt[zr].value);
|
|
72741
72737
|
X(">>"), nt.data.length !== 0 && (X("stream"), X(Ke(nt.data)), X("endstream"));
|
|
72742
72738
|
}, _i = p.__private__.putPage = function(f) {
|
|
72743
72739
|
var S = f.number, G = f.data, te = f.objId, Ae = f.contentsObjId;
|
|
@@ -72749,7 +72745,7 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
72749
72745
|
}, Ga = p.__private__.putPages = function() {
|
|
72750
72746
|
var f, S, G = [];
|
|
72751
72747
|
for (f = 1; f <= pr; f++)
|
|
72752
|
-
yt[f].objId =
|
|
72748
|
+
yt[f].objId = Fr(), yt[f].contentsObjId = Fr();
|
|
72753
72749
|
for (f = 1; f <= pr; f++)
|
|
72754
72750
|
G.push(_i({ number: f, data: Ue[f], objId: yt[f].objId, contentsObjId: yt[f].contentsObjId, mediaBox: yt[f].mediaBox, cropBox: yt[f].cropBox, bleedBox: yt[f].bleedBox, trimBox: yt[f].trimBox, artBox: yt[f].artBox, userUnit: yt[f].userUnit, rootDictionaryObjId: eo, resourceDictionaryObjId: Kn }));
|
|
72755
72751
|
on(eo, !0), X("<</Type /Pages");
|
|
@@ -72798,7 +72794,7 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
72798
72794
|
var Se = "/Coords [" + M(parseFloat(f.coords[0])) + " " + M(parseFloat(f.coords[1])) + " ";
|
|
72799
72795
|
f.type === 2 ? Se += M(parseFloat(f.coords[2])) + " " + M(parseFloat(f.coords[3])) : Se += M(parseFloat(f.coords[2])) + " " + M(parseFloat(f.coords[3])) + " " + M(parseFloat(f.coords[4])) + " " + M(parseFloat(f.coords[5])), X(Se += "]"), f.matrix && X("/Matrix [" + f.matrix.toString() + "]"), X("/Function " + G + " 0 R"), X("/Extend [true true]"), X(">>"), X("endobj");
|
|
72800
72796
|
}, Z1 = function(f, S) {
|
|
72801
|
-
var G =
|
|
72797
|
+
var G = Fr(), te = Or();
|
|
72802
72798
|
S.push({ resourcesOid: G, objectOid: te }), f.objectNumber = te;
|
|
72803
72799
|
var Ae = [];
|
|
72804
72800
|
Ae.push({ key: "Type", value: "/Pattern" }), Ae.push({ key: "PatternType", value: "1" }), Ae.push({ key: "PaintType", value: "1" }), Ae.push({ key: "TilingType", value: "1" }), Ae.push({ key: "BBox", value: "[" + f.boundingBox.map(M).join(" ") + "]" }), Ae.push({ key: "XStep", value: M(f.xStep) }), Ae.push({ key: "YStep", value: M(f.yStep) }), Ae.push({ key: "Resources", value: G + " 0 R" }), f.matrix && Ae.push({ key: "Matrix", value: "[" + f.matrix.toString() + "]" }), Bn({ data: f.stream, additionalKeyValues: Ae, objectId: f.objectNumber }), X("endobj");
|
|
@@ -73119,7 +73115,7 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
73119
73115
|
}, p.deletePage = function() {
|
|
73120
73116
|
return n0.apply(this, arguments), this;
|
|
73121
73117
|
}, p.__private__.text = p.text = function(f, S, G, te, Ae) {
|
|
73122
|
-
var Se, Qe, Ke, nt, Bt, vt, Tt, ur, gr,
|
|
73118
|
+
var Se, Qe, Ke, nt, Bt, vt, Tt, ur, gr, zr = (te = te || {}).scope || this;
|
|
73123
73119
|
if (typeof f == "number" && typeof S == "number" && (typeof G == "string" || Array.isArray(G))) {
|
|
73124
73120
|
var vs = G;
|
|
73125
73121
|
G = S, S = f, f = vs;
|
|
@@ -73127,8 +73123,8 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
73127
73123
|
if (arguments[3] instanceof dt ? (N("The transform parameter of text() with a Matrix value"), gr = Ae) : (Ke = arguments[4], nt = arguments[5], Wt(Tt = arguments[3]) === "object" && Tt !== null || (typeof Ke == "string" && (nt = Ke, Ke = null), typeof Tt == "string" && (nt = Tt, Tt = null), typeof Tt == "number" && (Ke = Tt, Tt = null), te = { flags: Tt, angle: Ke, align: nt })), isNaN(S) || isNaN(G) || f == null)
|
|
73128
73124
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
73129
73125
|
if (f.length === 0)
|
|
73130
|
-
return
|
|
73131
|
-
var
|
|
73126
|
+
return zr;
|
|
73127
|
+
var Zr = "", Xn = !1, an = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : Ja, zi = zr.internal.scaleFactor;
|
|
73132
73128
|
function wp(nr) {
|
|
73133
73129
|
return nr = nr.split(" ").join(Array(te.TabLen || 9).join(" ")), Vs(nr, Tt);
|
|
73134
73130
|
}
|
|
@@ -73161,7 +73157,7 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
73161
73157
|
if (bd === !1)
|
|
73162
73158
|
throw new Error('Type of text must be string or Array. "' + f + '" is not recognized.');
|
|
73163
73159
|
typeof f == "string" && (f = f.match(/[\r?\n]/) ? f.split(/\r\n|\r|\n/g) : [f]);
|
|
73164
|
-
var Bd = B /
|
|
73160
|
+
var Bd = B / zr.internal.scaleFactor, kd = Bd * (an - 1);
|
|
73165
73161
|
switch (te.baseline) {
|
|
73166
73162
|
case "bottom":
|
|
73167
73163
|
G -= kd;
|
|
@@ -73175,18 +73171,18 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
73175
73171
|
case "middle":
|
|
73176
73172
|
G += Bd / 2 - kd;
|
|
73177
73173
|
}
|
|
73178
|
-
if ((vt = te.maxWidth || 0) > 0 && (typeof f == "string" ? f =
|
|
73179
|
-
return nr.concat(
|
|
73174
|
+
if ((vt = te.maxWidth || 0) > 0 && (typeof f == "string" ? f = zr.splitTextToSize(f, vt) : Object.prototype.toString.call(f) === "[object Array]" && (f = f.reduce(function(nr, ir) {
|
|
73175
|
+
return nr.concat(zr.splitTextToSize(ir, vt));
|
|
73180
73176
|
}, []))), Se = { text: f, x: S, y: G, options: te, mutex: { pdfEscape: Vs, activeFontKey: kt, fonts: er, activeFontSize: B } }, Vt.publish("preProcessText", Se), f = Se.text, Ke = (te = Se.options).angle, !(gr instanceof dt) && Ke && typeof Ke == "number") {
|
|
73181
73177
|
Ke *= Math.PI / 180, te.rotationDirection === 0 && (Ke = -Ke), I === C.ADVANCED && (Ke = -Ke);
|
|
73182
73178
|
var xd = Math.cos(Ke), uu = Math.sin(Ke);
|
|
73183
73179
|
gr = new dt(xd, uu, -uu, xd, 0, 0);
|
|
73184
73180
|
} else
|
|
73185
73181
|
Ke && Ke instanceof dt && (gr = Ke);
|
|
73186
|
-
I !== C.ADVANCED || gr || (gr = ji), (Bt = te.charSpace || md) !== void 0 && (
|
|
73187
|
-
`, this.setCharSpace(this.getCharSpace() || 0)), (ur = te.horizontalScale) !== void 0 && (
|
|
73182
|
+
I !== C.ADVANCED || gr || (gr = ji), (Bt = te.charSpace || md) !== void 0 && (Zr += M(R(Bt)) + ` Tc
|
|
73183
|
+
`, this.setCharSpace(this.getCharSpace() || 0)), (ur = te.horizontalScale) !== void 0 && (Zr += M(100 * ur) + ` Tz
|
|
73188
73184
|
`), te.lang;
|
|
73189
|
-
var Ks = -1, w0 = te.renderingMode !== void 0 ? te.renderingMode : te.stroke, cu =
|
|
73185
|
+
var Ks = -1, w0 = te.renderingMode !== void 0 ? te.renderingMode : te.stroke, cu = zr.internal.getCurrentPageInfo().pageContext;
|
|
73190
73186
|
switch (w0) {
|
|
73191
73187
|
case 0:
|
|
73192
73188
|
case !1:
|
|
@@ -73223,13 +73219,13 @@ Q`), on(Ae, !0), Bn({ data: Se, filters: Si(), objectId: Ae }), X("endobj"), te;
|
|
|
73223
73219
|
Ks = 7;
|
|
73224
73220
|
}
|
|
73225
73221
|
var Bp = cu.usedRenderingMode !== void 0 ? cu.usedRenderingMode : -1;
|
|
73226
|
-
Ks !== -1 ?
|
|
73227
|
-
` : Bp !== -1 && (
|
|
73222
|
+
Ks !== -1 ? Zr += Ks + ` Tr
|
|
73223
|
+
` : Bp !== -1 && (Zr += `0 Tr
|
|
73228
73224
|
`), Ks !== -1 && (cu.usedRenderingMode = Ks), nt = te.align || "left";
|
|
73229
|
-
var kn, Cd = B * an, kp =
|
|
73225
|
+
var kn, Cd = B * an, kp = zr.internal.pageSize.getWidth(), xp = er[kt];
|
|
73230
73226
|
Bt = te.charSpace || md, vt = te.maxWidth || 0, Tt = Object.assign({ autoencode: !0, noBOM: !0 }, te.flags);
|
|
73231
73227
|
var qo = [], Za = function(nr) {
|
|
73232
|
-
return
|
|
73228
|
+
return zr.getStringUnitWidth(nr, { font: xp, charSpace: Bt, fontSize: B, doKerning: !1 }) * B / zi;
|
|
73233
73229
|
};
|
|
73234
73230
|
if (Object.prototype.toString.call(f) === "[object Array]") {
|
|
73235
73231
|
var Gs;
|
|
@@ -73300,7 +73296,7 @@ T* `) : f.join(` Tj
|
|
|
73300
73296
|
return En += kt + " " + B + ` Tf
|
|
73301
73297
|
`, En += M(B * an) + ` TL
|
|
73302
73298
|
`, En += Wa + `
|
|
73303
|
-
`, En +=
|
|
73299
|
+
`, En += Zr, En += f, X(En += "ET"), g[kt] = !0, zr;
|
|
73304
73300
|
};
|
|
73305
73301
|
var c0 = p.__private__.clip = p.clip = function(f) {
|
|
73306
73302
|
return X(f === "evenodd" ? "W*" : "W"), this;
|
|
@@ -73399,11 +73395,11 @@ T* `) : f.join(` Tj
|
|
|
73399
73395
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
73400
73396
|
return I === C.COMPAT ? this.lines([[G - f, te - S]], f, S, [1, 1], Ae || "S") : this.lines([[G - f, te - S]], f, S, [1, 1]).stroke();
|
|
73401
73397
|
}, p.__private__.lines = p.lines = function(f, S, G, te, Ae, Se) {
|
|
73402
|
-
var Qe, Ke, nt, Bt, vt, Tt, ur, gr,
|
|
73398
|
+
var Qe, Ke, nt, Bt, vt, Tt, ur, gr, zr, vs, Zr, Xn;
|
|
73403
73399
|
if (typeof f == "number" && (Xn = G, G = S, S = f, f = Xn), te = te || [1, 1], Se = Se || !1, isNaN(S) || isNaN(G) || !Array.isArray(f) || !Array.isArray(te) || !Ii(Ae) || typeof Se != "boolean")
|
|
73404
73400
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
73405
|
-
for (ZA(S, G), Qe = te[0], Ke = te[1], Bt = f.length, vs = S,
|
|
73406
|
-
(vt = f[nt]).length === 2 ? (vs = vt[0] * Qe + vs,
|
|
73401
|
+
for (ZA(S, G), Qe = te[0], Ke = te[1], Bt = f.length, vs = S, Zr = G, nt = 0; nt < Bt; nt++)
|
|
73402
|
+
(vt = f[nt]).length === 2 ? (vs = vt[0] * Qe + vs, Zr = vt[1] * Ke + Zr, Ya(vs, Zr)) : (Tt = vt[0] * Qe + vs, ur = vt[1] * Ke + Zr, gr = vt[2] * Qe + vs, zr = vt[3] * Ke + Zr, vs = vt[4] * Qe + vs, Zr = vt[5] * Ke + Zr, Lo(Tt, ur, gr, zr, vs, Zr));
|
|
73407
73403
|
return Se && gp(), XA(Ae), this;
|
|
73408
73404
|
}, p.path = function(f) {
|
|
73409
73405
|
for (var S = 0; S < f.length; S++) {
|
|
@@ -73653,7 +73649,7 @@ T* `) : f.join(` Tj
|
|
|
73653
73649
|
}, ou = p.setPageHeight = function(f, S) {
|
|
73654
73650
|
yt[f].mediaBox.topRightY = S * He + yt[f].mediaBox.bottomLeftY;
|
|
73655
73651
|
};
|
|
73656
|
-
return p.internal = { pdfEscape: Vs, getStyle: pp, getFont: f0, getFontSize: $, getCharSpace: v0, getTextColor: y0, getLineHeight: fp, getLineHeightFactor: yp, getLineWidth: fd, write: ht, getHorizontalCoordinate: Fi, getVerticalCoordinate: ro, getCoordinateString: m0, getVerticalCoordinateString: Oo, collections: {}, newObject: Or, newAdditionalObject: id, newObjectDeferred:
|
|
73652
|
+
return p.internal = { pdfEscape: Vs, getStyle: pp, getFont: f0, getFontSize: $, getCharSpace: v0, getTextColor: y0, getLineHeight: fp, getLineHeightFactor: yp, getLineWidth: fd, write: ht, getHorizontalCoordinate: Fi, getVerticalCoordinate: ro, getCoordinateString: m0, getVerticalCoordinateString: Oo, collections: {}, newObject: Or, newAdditionalObject: id, newObjectDeferred: Fr, newObjectDeferredBegin: on, getFilters: Si, putStream: Bn, events: Vt, scaleFactor: He, pageSize: { getWidth: function() {
|
|
73657
73653
|
return Xa(O);
|
|
73658
73654
|
}, setWidth: function(f) {
|
|
73659
73655
|
iu(O, f);
|
|
@@ -74119,13 +74115,13 @@ var Bi = function r() {
|
|
|
74119
74115
|
var g = null;
|
|
74120
74116
|
Object.defineProperty(this, "DV", { enumerable: !1, configurable: !1, get: function() {
|
|
74121
74117
|
if (g)
|
|
74122
|
-
return this instanceof
|
|
74118
|
+
return this instanceof ss ? g : pm(g, this.objId, this.scope);
|
|
74123
74119
|
}, set: function(b) {
|
|
74124
|
-
b = b.toString(), g = this instanceof
|
|
74120
|
+
b = b.toString(), g = this instanceof ss ? b : b.substr(0, 1) === "(" ? Gd(b.substr(1, b.length - 2)) : Gd(b);
|
|
74125
74121
|
} }), Object.defineProperty(this, "defaultValue", { enumerable: !0, configurable: !0, get: function() {
|
|
74126
|
-
return this instanceof
|
|
74122
|
+
return this instanceof ss ? Gd(g.substr(1, g.length - 1)) : g;
|
|
74127
74123
|
}, set: function(b) {
|
|
74128
|
-
b = b.toString(), g = this instanceof
|
|
74124
|
+
b = b.toString(), g = this instanceof ss ? "/" + b : b;
|
|
74129
74125
|
} });
|
|
74130
74126
|
var p = null;
|
|
74131
74127
|
Object.defineProperty(this, "_V", { enumerable: !1, configurable: !1, get: function() {
|
|
@@ -74135,13 +74131,13 @@ var Bi = function r() {
|
|
|
74135
74131
|
this.V = b;
|
|
74136
74132
|
} }), Object.defineProperty(this, "V", { enumerable: !1, configurable: !1, get: function() {
|
|
74137
74133
|
if (p)
|
|
74138
|
-
return this instanceof
|
|
74134
|
+
return this instanceof ss ? p : pm(p, this.objId, this.scope);
|
|
74139
74135
|
}, set: function(b) {
|
|
74140
|
-
b = b.toString(), p = this instanceof
|
|
74136
|
+
b = b.toString(), p = this instanceof ss ? b : b.substr(0, 1) === "(" ? Gd(b.substr(1, b.length - 2)) : Gd(b);
|
|
74141
74137
|
} }), Object.defineProperty(this, "value", { enumerable: !0, configurable: !0, get: function() {
|
|
74142
|
-
return this instanceof
|
|
74138
|
+
return this instanceof ss ? Gd(p.substr(1, p.length - 1)) : p;
|
|
74143
74139
|
}, set: function(b) {
|
|
74144
|
-
b = b.toString(), p = this instanceof
|
|
74140
|
+
b = b.toString(), p = this instanceof ss ? "/" + b : b;
|
|
74145
74141
|
} }), Object.defineProperty(this, "hasAnnotation", { enumerable: !0, configurable: !0, get: function() {
|
|
74146
74142
|
return this.Rect;
|
|
74147
74143
|
} }), Object.defineProperty(this, "Type", { enumerable: !0, configurable: !1, get: function() {
|
|
@@ -74283,7 +74279,7 @@ var ih = function() {
|
|
|
74283
74279
|
uA.call(this), this.edit = !0;
|
|
74284
74280
|
};
|
|
74285
74281
|
nn(ih, uA);
|
|
74286
|
-
var
|
|
74282
|
+
var ss = function() {
|
|
74287
74283
|
Bi.call(this), this.FT = "/Btn", Object.defineProperty(this, "noToggleToOff", { enumerable: !0, configurable: !0, get: function() {
|
|
74288
74284
|
return !!xr(this.Ff, 15);
|
|
74289
74285
|
}, set: function(t) {
|
|
@@ -74329,13 +74325,13 @@ var rs = function() {
|
|
|
74329
74325
|
r = "/" + t;
|
|
74330
74326
|
} });
|
|
74331
74327
|
};
|
|
74332
|
-
nn(
|
|
74328
|
+
nn(ss, Bi);
|
|
74333
74329
|
var oh = function() {
|
|
74334
|
-
|
|
74330
|
+
ss.call(this), this.pushButton = !0;
|
|
74335
74331
|
};
|
|
74336
|
-
nn(oh,
|
|
74332
|
+
nn(oh, ss);
|
|
74337
74333
|
var cA = function() {
|
|
74338
|
-
|
|
74334
|
+
ss.call(this), this.radio = !0, this.pushButton = !1;
|
|
74339
74335
|
var r = [];
|
|
74340
74336
|
Object.defineProperty(this, "Kids", { enumerable: !0, configurable: !1, get: function() {
|
|
74341
74337
|
return r;
|
|
@@ -74343,7 +74339,7 @@ var cA = function() {
|
|
|
74343
74339
|
r = e !== void 0 ? e : [];
|
|
74344
74340
|
} });
|
|
74345
74341
|
};
|
|
74346
|
-
nn(cA,
|
|
74342
|
+
nn(cA, ss);
|
|
74347
74343
|
var n1 = function() {
|
|
74348
74344
|
var r, e;
|
|
74349
74345
|
Bi.call(this), Object.defineProperty(this, "Parent", { enumerable: !1, configurable: !1, get: function() {
|
|
@@ -74395,9 +74391,9 @@ nn(n1, Bi), cA.prototype.setAppearance = function(r) {
|
|
|
74395
74391
|
return e.Parent = this, e.optionName = r, this.Kids.push(e), WV.call(this.scope, e), e;
|
|
74396
74392
|
};
|
|
74397
74393
|
var ah = function() {
|
|
74398
|
-
|
|
74394
|
+
ss.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = et.CheckBox.createAppearanceStream();
|
|
74399
74395
|
};
|
|
74400
|
-
nn(ah,
|
|
74396
|
+
nn(ah, ss);
|
|
74401
74397
|
var Ul = function() {
|
|
74402
74398
|
Bi.call(this), this.FT = "/Tx", Object.defineProperty(this, "multiline", { enumerable: !0, configurable: !0, get: function() {
|
|
74403
74399
|
return !!xr(this.Ff, 13);
|
|
@@ -74538,7 +74534,7 @@ var WV = yr.addField = function(r) {
|
|
|
74538
74534
|
var e;
|
|
74539
74535
|
return (e = r).scope.internal.acroformPlugin.printedOut && (e.scope.internal.acroformPlugin.printedOut = !1, e.scope.internal.acroformPlugin.acroFormDictionaryRoot = null), e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e), r.page = r.scope.internal.getCurrentPageInfo().pageNumber, this;
|
|
74540
74536
|
};
|
|
74541
|
-
yr.AcroFormChoiceField = dA, yr.AcroFormListBox = AA, yr.AcroFormComboBox = uA, yr.AcroFormEditBox = ih, yr.AcroFormButton =
|
|
74537
|
+
yr.AcroFormChoiceField = dA, yr.AcroFormListBox = AA, yr.AcroFormComboBox = uA, yr.AcroFormEditBox = ih, yr.AcroFormButton = ss, yr.AcroFormPushButton = oh, yr.AcroFormRadioButton = cA, yr.AcroFormCheckBox = ah, yr.AcroFormTextField = Ul, yr.AcroFormPasswordField = lh, yr.AcroFormAppearance = et, yr.AcroForm = { ChoiceField: dA, ListBox: AA, ComboBox: uA, EditBox: ih, Button: ss, PushButton: oh, RadioButton: cA, CheckBox: ah, TextField: Ul, PasswordField: lh, Appearance: et }, At.AcroForm = { ChoiceField: dA, ListBox: AA, ComboBox: uA, EditBox: ih, Button: ss, PushButton: oh, RadioButton: cA, CheckBox: ah, TextField: Ul, PasswordField: lh, Appearance: et };
|
|
74542
74538
|
function k4(r) {
|
|
74543
74539
|
return r.reduce(function(e, t, s) {
|
|
74544
74540
|
return e[t] = s, e;
|
|
@@ -76865,7 +76861,7 @@ function hm(r) {
|
|
|
76865
76861
|
}
|
|
76866
76862
|
for (He = 0, Ge = 0; Ge < 8; ++Ge) {
|
|
76867
76863
|
Q = w[He], $ = w[He + 8], pe = w[He + 16], we = w[He + 24], qe = w[He + 32], We = w[He + 40], st = w[He + 48];
|
|
76868
|
-
var Vn = Q + (ft = w[He + 56]), ji = Q - ft, Hs = $ + st, Or = $ - st,
|
|
76864
|
+
var Vn = Q + (ft = w[He + 56]), ji = Q - ft, Hs = $ + st, Or = $ - st, Fr = pe + We, on = pe - We, id = we + qe, eo = we - qe, Kn = Vn + id, Gn = Vn - id, Yn = Hs + Fr, Si = Hs - Fr;
|
|
76869
76865
|
w[He] = Kn + Yn, w[He + 32] = Kn - Yn;
|
|
76870
76866
|
var Bn = 0.707106781 * (Si + Gn);
|
|
76871
76867
|
w[He + 16] = Gn + Bn, w[He + 48] = Gn - Bn;
|
|
@@ -77377,7 +77373,7 @@ function I3(r) {
|
|
|
77377
77373
|
function Or(u, h, y) {
|
|
77378
77374
|
return y.g += u.g, y.value += u.value << h >>> 0, e(8 >= y.g), u.g;
|
|
77379
77375
|
}
|
|
77380
|
-
function
|
|
77376
|
+
function Fr(u, h, y) {
|
|
77381
77377
|
var k = u.xc;
|
|
77382
77378
|
return e((h = k == 0 ? 0 : u.vc[u.md * (y >> k) + (h >> k)]) < u.Wb), u.Ya[h];
|
|
77383
77379
|
}
|
|
@@ -77515,7 +77511,7 @@ function I3(r) {
|
|
|
77515
77511
|
function Yn(u, h, y, k, j, _, F) {
|
|
77516
77512
|
var z = u.$ / k, P = u.$ % k, H = u.m, se = u.s, ge = y + u.$, he = ge;
|
|
77517
77513
|
j = y + k * j;
|
|
77518
|
-
var ae = y + k * _, ze = 280 + se.ua, Ee = u.Pb ? z : 16777216, ne = 0 < se.ua ? se.Wa : null, ie = se.wc, Ie = ge < ae ?
|
|
77514
|
+
var ae = y + k * _, ze = 280 + se.ua, Ee = u.Pb ? z : 16777216, ne = 0 < se.ua ? se.Wa : null, ie = se.wc, Ie = ge < ae ? Fr(se, P, z) : null;
|
|
77519
77515
|
e(u.C < _), e(ae <= j);
|
|
77520
77516
|
var De = !1;
|
|
77521
77517
|
e:
|
|
@@ -77526,7 +77522,7 @@ function I3(r) {
|
|
|
77526
77522
|
var Ye = ge - y;
|
|
77527
77523
|
e((Ee = u).Pb), Ee.wd = Ee.m, Ee.xd = Ye, 0 < Ee.s.ua && Ce(Ee.s.Wa, Ee.s.vb), Ee = z + P4;
|
|
77528
77524
|
}
|
|
77529
|
-
if (P & ie || (Ie =
|
|
77525
|
+
if (P & ie || (Ie = Fr(se, P, z)), e(Ie != null), Ie.Qb && (h[ge] = Ie.qb, De = !0), !De)
|
|
77530
77526
|
if (re(H), Ie.jc) {
|
|
77531
77527
|
Fe = H, Ye = h;
|
|
77532
77528
|
var Oe = ge, at = Ie.pd[O(Fe) & os - 1];
|
|
@@ -77556,7 +77552,7 @@ function I3(r) {
|
|
|
77556
77552
|
h[ge + Oe] = h[ge + Oe - Ye];
|
|
77557
77553
|
for (ge += Fe, P += Fe; P >= k; )
|
|
77558
77554
|
P -= k, ++z, F != null && z <= _ && !(z % 16) && F(u, z);
|
|
77559
|
-
if (e(ge <= j), P & ie && (Ie =
|
|
77555
|
+
if (e(ge <= j), P & ie && (Ie = Fr(se, P, z)), ne != null)
|
|
77560
77556
|
for (; he < ge; )
|
|
77561
77557
|
Fe = h[he++], ne.X[(506832829 * Fe & 4294967295) >>> ne.Mb] = Fe;
|
|
77562
77558
|
} else {
|
|
@@ -77635,14 +77631,14 @@ function I3(r) {
|
|
|
77635
77631
|
var tr;
|
|
77636
77632
|
if (tr = _)
|
|
77637
77633
|
t: {
|
|
77638
|
-
var Xt, xt,
|
|
77634
|
+
var Xt, xt, Ur, Ys = k, Tr = F, Js = z, Yt = ge, dn = y, An = Ys.m, $r = Ys.s, as = [null], Us = 1, _n = 0, Ui = D4[Yt];
|
|
77639
77635
|
r:
|
|
77640
77636
|
for (; ; ) {
|
|
77641
77637
|
if (dn && oe(An, 1)) {
|
|
77642
|
-
var
|
|
77638
|
+
var es = oe(An, 3) + 2, lo = D(Tr, es), sl = D(Js, es), Id = lo * sl;
|
|
77643
77639
|
if (!_i(lo, sl, 0, Ys, as))
|
|
77644
77640
|
break r;
|
|
77645
|
-
for (as = as[0],
|
|
77641
|
+
for (as = as[0], $r.xc = es, Xt = 0; Xt < Id; ++Xt) {
|
|
77646
77642
|
var Jo = as[Xt] >> 8 & 65535;
|
|
77647
77643
|
as[Xt] = Jo, Jo >= Us && (Us = Jo + 1);
|
|
77648
77644
|
}
|
|
@@ -77664,12 +77660,12 @@ function I3(r) {
|
|
|
77664
77660
|
break r;
|
|
77665
77661
|
}
|
|
77666
77662
|
var Qp = I0;
|
|
77667
|
-
for (Xt =
|
|
77663
|
+
for (Xt = Ur = 0; Xt < Us; ++Xt) {
|
|
77668
77664
|
var $n = Pp[Xt], Fd = $n.G, zd = $n.H, R2 = 0, Rp = 1, N2 = 0;
|
|
77669
77665
|
for (xt = 0; 5 > xt; ++xt) {
|
|
77670
|
-
hr = C2[xt], Fd[xt] = Qp, zd[xt] =
|
|
77666
|
+
hr = C2[xt], Fd[xt] = Qp, zd[xt] = Ur, !xt && 0 < Yt && (hr += 1 << Yt);
|
|
77671
77667
|
n: {
|
|
77672
|
-
var Np, F0 = hr, Lp = Ys, bu = vu, r8 = Qp, s8 =
|
|
77668
|
+
var Np, F0 = hr, Lp = Ys, bu = vu, r8 = Qp, s8 = Ur, z0 = 0, Wo = Lp.m, n8 = oe(Wo, 1);
|
|
77673
77669
|
if (n(bu, 0, 0, F0), n8) {
|
|
77674
77670
|
var i8 = oe(Wo, 1) + 1, o8 = oe(Wo, 1), L2 = oe(Wo, o8 == 0 ? 1 : 8);
|
|
77675
77671
|
bu[L2] = 1, i8 == 2 && (bu[L2 = oe(Wo, 8)] = 1);
|
|
@@ -77716,7 +77712,7 @@ function I3(r) {
|
|
|
77716
77712
|
}
|
|
77717
77713
|
if (Mp == 0)
|
|
77718
77714
|
break r;
|
|
77719
|
-
if (Rp && z4[xt] == 1 && (Rp = Qp[
|
|
77715
|
+
if (Rp && z4[xt] == 1 && (Rp = Qp[Ur].g == 0), R2 += Qp[Ur].g, Ur += Mp, 3 >= xt) {
|
|
77720
77716
|
var Bu, D0 = vu[0];
|
|
77721
77717
|
for (Bu = 1; Bu < hr; ++Bu)
|
|
77722
77718
|
vu[Bu] > D0 && (D0 = vu[Bu]);
|
|
@@ -77731,7 +77727,7 @@ function I3(r) {
|
|
|
77731
77727
|
}
|
|
77732
77728
|
}
|
|
77733
77729
|
}
|
|
77734
|
-
|
|
77730
|
+
$r.vc = as, $r.Wb = Us, $r.Ya = Pp, $r.yc = I0, tr = 1;
|
|
77735
77731
|
break t;
|
|
77736
77732
|
}
|
|
77737
77733
|
tr = 0;
|
|
@@ -78047,35 +78043,35 @@ function I3(r) {
|
|
|
78047
78043
|
else {
|
|
78048
78044
|
var Xt, xt;
|
|
78049
78045
|
if (De = Ye, Ye = Ie, Oe = ie.Pa.Xc, at = ie.ya[ie.aa + ie.ja], Me = ie.pb[at.$b], Fe = at.ad, Mt = 0, Gt = ie.rb[ie.sb - 1], Ft = Dt = 0, n(Fe, Mt, 0, 384), at.Za)
|
|
78050
|
-
var
|
|
78046
|
+
var Ur = 0, Ys = Oe[3];
|
|
78051
78047
|
else {
|
|
78052
78048
|
tr = i(16);
|
|
78053
|
-
var
|
|
78054
|
-
if (
|
|
78049
|
+
var Tr = De.Na + Gt.Na;
|
|
78050
|
+
if (Tr = mu(Ye, Oe[1], Tr, Me.Eb, 0, tr, 0), De.Na = Gt.Na = (0 < Tr) + 0, 1 < Tr)
|
|
78055
78051
|
Ed(tr, 0, Fe, Mt);
|
|
78056
78052
|
else {
|
|
78057
78053
|
var Js = tr[0] + 3 >> 3;
|
|
78058
78054
|
for (tr = 0; 256 > tr; tr += 16)
|
|
78059
78055
|
Fe[Mt + tr] = Js;
|
|
78060
78056
|
}
|
|
78061
|
-
|
|
78057
|
+
Ur = 1, Ys = Oe[0];
|
|
78062
78058
|
}
|
|
78063
78059
|
var Yt = 15 & De.la, dn = 15 & Gt.la;
|
|
78064
78060
|
for (tr = 0; 4 > tr; ++tr) {
|
|
78065
78061
|
var An = 1 & dn;
|
|
78066
78062
|
for (Js = xt = 0; 4 > Js; ++Js)
|
|
78067
|
-
Yt = Yt >> 1 | (An = (
|
|
78063
|
+
Yt = Yt >> 1 | (An = (Tr = mu(Ye, Ys, Tr = An + (1 & Yt), Me.Sc, Ur, Fe, Mt)) > Ur) << 7, xt = xt << 2 | (3 < Tr ? 3 : 1 < Tr ? 2 : Fe[Mt + 0] != 0), Mt += 16;
|
|
78068
78064
|
Yt >>= 4, dn = dn >> 1 | An << 7, Dt = (Dt << 8 | xt) >>> 0;
|
|
78069
78065
|
}
|
|
78070
|
-
for (Ys = Yt,
|
|
78066
|
+
for (Ys = Yt, Ur = dn >> 4, Xt = 0; 4 > Xt; Xt += 2) {
|
|
78071
78067
|
for (xt = 0, Yt = De.la >> 4 + Xt, dn = Gt.la >> 4 + Xt, tr = 0; 2 > tr; ++tr) {
|
|
78072
78068
|
for (An = 1 & dn, Js = 0; 2 > Js; ++Js)
|
|
78073
|
-
|
|
78069
|
+
Tr = An + (1 & Yt), Yt = Yt >> 1 | (An = 0 < (Tr = mu(Ye, Oe[2], Tr, Me.Qc, 0, Fe, Mt))) << 3, xt = xt << 2 | (3 < Tr ? 3 : 1 < Tr ? 2 : Fe[Mt + 0] != 0), Mt += 16;
|
|
78074
78070
|
Yt >>= 2, dn = dn >> 1 | An << 5;
|
|
78075
78071
|
}
|
|
78076
|
-
Ft |= xt << 4 * Xt, Ys |= Yt << 4 << Xt,
|
|
78072
|
+
Ft |= xt << 4 * Xt, Ys |= Yt << 4 << Xt, Ur |= (240 & dn) << Xt;
|
|
78077
78073
|
}
|
|
78078
|
-
De.la = Ys, Gt.la =
|
|
78074
|
+
De.la = Ys, Gt.la = Ur, at.Hc = Dt, at.Gc = Ft, at.ia = 43690 & Ft ? 0 : Me.ia, Oe = !(Dt | Ft);
|
|
78079
78075
|
}
|
|
78080
78076
|
if (0 < ie.L && (ie.wa[ie.Y + ie.ja] = ie.gd[Ee.$b][Ee.Za], ie.wa[ie.Y + ie.ja].La |= !Oe), Ie.Ka)
|
|
78081
78077
|
return vr(ae, 7, "Premature end-of-file encountered.");
|
|
@@ -78083,17 +78079,17 @@ function I3(r) {
|
|
|
78083
78079
|
if (YA(ae), ie = ze, Ie = 1, Ee = (ne = ae).D, De = 0 < ne.L && ne.M >= ne.zb && ne.M <= ne.Va, ne.Aa == 0)
|
|
78084
78080
|
e: {
|
|
78085
78081
|
if (Ee.M = ne.M, Ee.uc = De, lu(ne, Ee), Ie = 1, Ee = (xt = ne.D).Nb, De = (Ft = Dp[ne.L]) * ne.R, Ye = Ft / 2 * ne.B, tr = 16 * Ee * ne.R, Js = 8 * Ee * ne.B, Oe = ne.sa, at = ne.ta - De + tr, Me = ne.qa, Fe = ne.ra - Ye + Js, Mt = ne.Ha, Gt = ne.Ia - Ye + Js, dn = (Yt = xt.M) == 0, Dt = Yt >= ne.Va - 1, ne.Aa == 2 && lu(ne, xt), xt.uc)
|
|
78086
|
-
for (An = (
|
|
78087
|
-
|
|
78088
|
-
var
|
|
78082
|
+
for (An = (Tr = ne).D.M, e(Tr.D.uc), xt = Tr.yb; xt < Tr.Hb; ++xt) {
|
|
78083
|
+
Ur = xt, Ys = An;
|
|
78084
|
+
var $r = (as = (hr = Tr).D).Nb;
|
|
78089
78085
|
Xt = hr.R;
|
|
78090
|
-
var as = as.wa[as.Y +
|
|
78091
|
-
if (
|
|
78092
|
-
if (e(3 <=
|
|
78093
|
-
0 <
|
|
78086
|
+
var as = as.wa[as.Y + Ur], Us = hr.sa, _n = hr.ta + 16 * $r * Xt + 16 * Ur, Ui = as.dd, es = as.tc;
|
|
78087
|
+
if (es != 0)
|
|
78088
|
+
if (e(3 <= es), hr.L == 1)
|
|
78089
|
+
0 < Ur && Ko(Us, _n, Xt, es + 4), as.La && Cn(Us, _n, Xt, es), 0 < Ys && rl(Us, _n, Xt, es + 4), as.La && hu(Us, _n, Xt, es);
|
|
78094
78090
|
else {
|
|
78095
|
-
var lo = hr.B, sl = hr.qa, Id = hr.ra + 8 *
|
|
78096
|
-
|
|
78091
|
+
var lo = hr.B, sl = hr.qa, Id = hr.ra + 8 * $r * lo + 8 * Ur, Jo = hr.Ha, hr = hr.Ia + 8 * $r * lo + 8 * Ur;
|
|
78092
|
+
$r = as.ld, 0 < Ur && (Cp(Us, _n, Xt, es + 4, Ui, $r), $a(sl, Id, Jo, hr, lo, es + 4, Ui, $r)), as.La && (Vo(Us, _n, Xt, es, Ui, $r), Sd(sl, Id, Jo, hr, lo, es, Ui, $r)), 0 < Ys && (jd(Us, _n, Xt, es + 4, Ui, $r), gu(sl, Id, Jo, hr, lo, es + 4, Ui, $r)), as.La && (el(Us, _n, Xt, es, Ui, $r), tl(sl, Id, Jo, hr, lo, es, Ui, $r));
|
|
78097
78093
|
}
|
|
78098
78094
|
}
|
|
78099
78095
|
if (ne.ia && alert("todo:DitherRow"), ie.put != null) {
|
|
@@ -78471,12 +78467,12 @@ function I3(r) {
|
|
|
78471
78467
|
h = 1;
|
|
78472
78468
|
else if (z.ic || Ae(), z.ic) {
|
|
78473
78469
|
z = F.V, he = F.Ba, ae = F.c;
|
|
78474
|
-
var Ee = F.i, ne = (ze = 1, P = F.$ / ae, H = F.$ % ae, se = F.m, ge = F.s, F.$), ie = ae * Ee, Ie = ae * h, De = ge.wc, Fe = ne < Ie ?
|
|
78470
|
+
var Ee = F.i, ne = (ze = 1, P = F.$ / ae, H = F.$ % ae, se = F.m, ge = F.s, F.$), ie = ae * Ee, Ie = ae * h, De = ge.wc, Fe = ne < Ie ? Fr(ge, H, P) : null;
|
|
78475
78471
|
e(ne <= ie), e(h <= Ee), e(eo(ge));
|
|
78476
78472
|
t:
|
|
78477
78473
|
for (; ; ) {
|
|
78478
78474
|
for (; !se.h && ne < Ie; ) {
|
|
78479
|
-
if (H & De || (Fe =
|
|
78475
|
+
if (H & De || (Fe = Fr(ge, H, P)), e(Fe != null), re(se), 256 > (Ee = Hs(Fe.G[0], Fe.H[0], se)))
|
|
78480
78476
|
z[he + ne] = Ee, ++ne, ++H >= ae && (H = 0, ++P <= h && !(P % 16) && Gn(F, P));
|
|
78481
78477
|
else {
|
|
78482
78478
|
if (!(280 > Ee)) {
|
|
@@ -78493,7 +78489,7 @@ function I3(r) {
|
|
|
78493
78489
|
z[he + ne + Ye] = z[he + ne + Ye - Oe];
|
|
78494
78490
|
for (ne += Ee, H += Ee; H >= ae; )
|
|
78495
78491
|
H -= ae, ++P <= h && !(P % 16) && Gn(F, P);
|
|
78496
|
-
ne < Ie && H & De && (Fe =
|
|
78492
|
+
ne < Ie && H & De && (Fe = Fr(ge, H, P));
|
|
78497
78493
|
}
|
|
78498
78494
|
e(se.h == K(se));
|
|
78499
78495
|
}
|
|
@@ -78593,14 +78589,14 @@ function I3(r) {
|
|
|
78593
78589
|
var _ = Bt(u, h, y);
|
|
78594
78590
|
h = _ << 3 & 224 | vt(u, h) >> 3, k[j + 0] = 248 & nt(u, y) | _ >> 5, k[j + 1] = h;
|
|
78595
78591
|
}
|
|
78596
|
-
function
|
|
78592
|
+
function zr(u, h, y, k, j) {
|
|
78597
78593
|
var _ = 240 & vt(u, h) | 15;
|
|
78598
78594
|
k[j + 0] = 240 & nt(u, y) | Bt(u, h, y) >> 4, k[j + 1] = _;
|
|
78599
78595
|
}
|
|
78600
78596
|
function vs(u, h, y, k, j) {
|
|
78601
78597
|
k[j + 0] = 255, Tt(u, h, y, k, j + 1);
|
|
78602
78598
|
}
|
|
78603
|
-
function
|
|
78599
|
+
function Zr(u, h, y, k, j) {
|
|
78604
78600
|
ur(u, h, y, k, j), k[j + 3] = 255;
|
|
78605
78601
|
}
|
|
78606
78602
|
function Xn(u, h, y, k, j) {
|
|
@@ -78921,9 +78917,9 @@ function I3(r) {
|
|
|
78921
78917
|
var Bp, kn = N.ColorIndexInverseTransform, Cd = N.MapARGB, kp = N.VP8LColorIndexInverseTransformAlpha, xp = N.MapAlpha, qo = N.VP8LPredictorsAdd = [];
|
|
78922
78918
|
qo.length = 16, (N.VP8LPredictors = []).length = 16, (N.VP8LPredictorsAdd_C = []).length = 16, (N.VP8LPredictors_C = []).length = 16;
|
|
78923
78919
|
var Za, Gs, Fs, Ho, so, no, Ed, io, br, pu, zs, xn, jd, Cp, gu, $a, el, Vo, tl, Sd, rl, Ko, hu, Cn, En, nr, ir, wr, Mr = i(511), oo = i(2041), fu = i(225), _d = i(767), Ep = 0, B0 = oo, jp = fu, ln = _d, jn = Mr, Sp = 0, _p = 1, k2 = 2, Ip = 3, Fp = 4, k0 = 5, x2 = 6, x0 = 7, C0 = 8, zp = 9, E0 = 10, I4 = [2, 3, 7], F4 = [3, 3, 11], C2 = [280, 256, 256, 256, 40], z4 = [0, 1, 1, 1, 0], U4 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], T4 = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], D4 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], P4 = 8, j0 = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], S0 = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], mu = null, Q4 = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], R4 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], E2 = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], N4 = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], L4 = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], O4 = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], M4 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Go = [], Zn = [], ao = [], q4 = 1, j2 = 2, Yo = [], Sn = [];
|
|
78924
|
-
Se("UpsampleRgbLinePair", Tt, 3), Se("UpsampleBgrLinePair", ur, 3), Se("UpsampleRgbaLinePair", Xn, 4), Se("UpsampleBgraLinePair",
|
|
78920
|
+
Se("UpsampleRgbLinePair", Tt, 3), Se("UpsampleBgrLinePair", ur, 3), Se("UpsampleRgbaLinePair", Xn, 4), Se("UpsampleBgraLinePair", Zr, 4), Se("UpsampleArgbLinePair", vs, 4), Se("UpsampleRgba4444LinePair", zr, 2), Se("UpsampleRgb565LinePair", gr, 2);
|
|
78925
78921
|
var H4 = N.UpsampleRgbLinePair, V4 = N.UpsampleBgrLinePair, S2 = N.UpsampleRgbaLinePair, _2 = N.UpsampleBgraLinePair, I2 = N.UpsampleArgbLinePair, F2 = N.UpsampleRgba4444LinePair, K4 = N.UpsampleRgb565LinePair, Up = 16, Tp = 1 << Up - 1, yu = -227, _0 = 482, z2 = 6, G4 = (256 << z2) - 1, U2 = 0, Y4 = i(256), J4 = i(256), W4 = i(256), X4 = i(256), Z4 = i(_0 - yu), $4 = i(_0 - yu);
|
|
78926
|
-
zi("YuvToRgbRow", Tt, 3), zi("YuvToBgrRow", ur, 3), zi("YuvToRgbaRow", Xn, 4), zi("YuvToBgraRow",
|
|
78922
|
+
zi("YuvToRgbRow", Tt, 3), zi("YuvToBgrRow", ur, 3), zi("YuvToRgbaRow", Xn, 4), zi("YuvToBgraRow", Zr, 4), zi("YuvToArgbRow", vs, 4), zi("YuvToRgba4444Row", zr, 2), zi("YuvToRgb565Row", gr, 2);
|
|
78927
78923
|
var T2 = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Dp = [0, 2, 8], e8 = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], t8 = 1;
|
|
78928
78924
|
this.WebPDecodeRGBA = function(u, h, y, k, j) {
|
|
78929
78925
|
var _ = _p, F = new yd(), z = new Hn();
|
|
@@ -79499,7 +79495,7 @@ function(r) {
|
|
|
79499
79495
|
*/
|
|
79500
79496
|
function(r) {
|
|
79501
79497
|
function e() {
|
|
79502
|
-
return (ut.canvg ? Promise.resolve(ut.canvg) : import("./index.es-
|
|
79498
|
+
return (ut.canvg ? Promise.resolve(ut.canvg) : import("./index.es-7158724a.js")).catch(function(t) {
|
|
79503
79499
|
return Promise.reject(new Error("Could not load canvg: " + t));
|
|
79504
79500
|
}).then(function(t) {
|
|
79505
79501
|
return t.default ? t.default : t;
|
|
@@ -80727,9 +80723,9 @@ export {
|
|
|
80727
80723
|
Rl as h,
|
|
80728
80724
|
Nl as i,
|
|
80729
80725
|
Io as j,
|
|
80730
|
-
|
|
80726
|
+
Sr as k,
|
|
80731
80727
|
qh as l,
|
|
80732
|
-
|
|
80728
|
+
_r as m,
|
|
80733
80729
|
Ls as n,
|
|
80734
80730
|
Cc as o,
|
|
80735
80731
|
Ns as p,
|