@ranty/ranty-sdk 2.18.0-beta.9 → 2.18.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.
|
@@ -916,7 +916,7 @@ function oe(t) {
|
|
|
916
916
|
*/
|
|
917
917
|
var G0;
|
|
918
918
|
((G0 = window.HTMLSlotElement) === null || G0 === void 0 ? void 0 : G0.prototype.assignedElements) != null;
|
|
919
|
-
const lE = "@ranty/ranty-sdk", dE = "2.18.0
|
|
919
|
+
const lE = "@ranty/ranty-sdk", dE = "2.18.0", cE = "Ranty sdk", AE = "dist/index.js", uE = {
|
|
920
920
|
".": "./dist/index.js"
|
|
921
921
|
}, pE = "types/index.d.ts", gE = [
|
|
922
922
|
"dist",
|
|
@@ -2023,9 +2023,9 @@ Se.reduceDescriptors(nm.prototype, ({ value: t }, e) => {
|
|
|
2023
2023
|
};
|
|
2024
2024
|
});
|
|
2025
2025
|
Se.freezeMethods(nm);
|
|
2026
|
-
const
|
|
2026
|
+
const gi = nm;
|
|
2027
2027
|
function J0(t, e) {
|
|
2028
|
-
const r = this || h2, s = e || r, n =
|
|
2028
|
+
const r = this || h2, s = e || r, n = gi.from(s.headers);
|
|
2029
2029
|
let i = s.data;
|
|
2030
2030
|
return Se.forEach(t, function(a) {
|
|
2031
2031
|
i = a.call(r, i, n.normalize(), e ? e.status : void 0);
|
|
@@ -2175,7 +2175,7 @@ function Gj(t, e) {
|
|
|
2175
2175
|
function qx(t, e) {
|
|
2176
2176
|
return t && !Kj(e) ? Gj(t, e) : e;
|
|
2177
2177
|
}
|
|
2178
|
-
const Xw = (t) => t instanceof
|
|
2178
|
+
const Xw = (t) => t instanceof gi ? dt({}, t) : t;
|
|
2179
2179
|
function hd(t, e) {
|
|
2180
2180
|
e = e || {};
|
|
2181
2181
|
const r = {};
|
|
@@ -2245,7 +2245,7 @@ function hd(t, e) {
|
|
|
2245
2245
|
const Hx = (t) => {
|
|
2246
2246
|
const e = hd({}, t);
|
|
2247
2247
|
let { data: r, withXSRFToken: s, xsrfHeaderName: n, xsrfCookieName: i, headers: o, auth: a } = e;
|
|
2248
|
-
e.headers = o =
|
|
2248
|
+
e.headers = o = gi.from(o), e.url = Qx(qx(e.baseURL, e.url), t.params, t.paramsSerializer), a && o.set(
|
|
2249
2249
|
"Authorization",
|
|
2250
2250
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
2251
2251
|
);
|
|
@@ -2267,7 +2267,7 @@ const Hx = (t) => {
|
|
|
2267
2267
|
return new Promise(function(r, s) {
|
|
2268
2268
|
const n = Hx(t);
|
|
2269
2269
|
let i = n.data;
|
|
2270
|
-
const o =
|
|
2270
|
+
const o = gi.from(n.headers).normalize();
|
|
2271
2271
|
let { responseType: a, onUploadProgress: d, onDownloadProgress: l } = n, c, u, h, p, f;
|
|
2272
2272
|
function v() {
|
|
2273
2273
|
p && p(), f && f(), n.cancelToken && n.cancelToken.unsubscribe(c), n.signal && n.signal.removeEventListener("abort", c);
|
|
@@ -2277,7 +2277,7 @@ const Hx = (t) => {
|
|
|
2277
2277
|
function b() {
|
|
2278
2278
|
if (!C)
|
|
2279
2279
|
return;
|
|
2280
|
-
const _ =
|
|
2280
|
+
const _ = gi.from(
|
|
2281
2281
|
"getAllResponseHeaders" in C && C.getAllResponseHeaders()
|
|
2282
2282
|
), K = {
|
|
2283
2283
|
data: !a || a === "text" || a === "json" ? C.responseText : C.response,
|
|
@@ -2533,7 +2533,7 @@ const sS = (t) => we(void 0, null, function* () {
|
|
|
2533
2533
|
return !_ && v && v(), yield new Promise((K, H) => {
|
|
2534
2534
|
Mx(K, H, {
|
|
2535
2535
|
data: O,
|
|
2536
|
-
headers:
|
|
2536
|
+
headers: gi.from(B.headers),
|
|
2537
2537
|
status: B.status,
|
|
2538
2538
|
statusText: B.statusText,
|
|
2539
2539
|
config: t,
|
|
@@ -2598,7 +2598,7 @@ function X0(t) {
|
|
|
2598
2598
|
throw new fA(null, t);
|
|
2599
2599
|
}
|
|
2600
2600
|
function t5(t) {
|
|
2601
|
-
return X0(t), t.headers =
|
|
2601
|
+
return X0(t), t.headers = gi.from(t.headers), t.data = J0.call(
|
|
2602
2602
|
t,
|
|
2603
2603
|
t.transformRequest
|
|
2604
2604
|
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Gx.getAdapter(t.adapter || h2.adapter)(t).then(function(s) {
|
|
@@ -2606,13 +2606,13 @@ function t5(t) {
|
|
|
2606
2606
|
t,
|
|
2607
2607
|
t.transformResponse,
|
|
2608
2608
|
s
|
|
2609
|
-
), s.headers =
|
|
2609
|
+
), s.headers = gi.from(s.headers), s;
|
|
2610
2610
|
}, function(s) {
|
|
2611
2611
|
return Lx(s) || (X0(t), s && s.response && (s.response.data = J0.call(
|
|
2612
2612
|
t,
|
|
2613
2613
|
t.transformResponse,
|
|
2614
2614
|
s.response
|
|
2615
|
-
), s.response.headers =
|
|
2615
|
+
), s.response.headers = gi.from(s.response.headers))), Promise.reject(s);
|
|
2616
2616
|
});
|
|
2617
2617
|
}
|
|
2618
2618
|
const Yx = "1.7.7", m2 = {};
|
|
@@ -2717,7 +2717,7 @@ class o1 {
|
|
|
2717
2717
|
(f) => {
|
|
2718
2718
|
delete i[f];
|
|
2719
2719
|
}
|
|
2720
|
-
), r.headers =
|
|
2720
|
+
), r.headers = gi.concat(o, i);
|
|
2721
2721
|
const a = [];
|
|
2722
2722
|
let d = !0;
|
|
2723
2723
|
this.interceptors.request.forEach(function(v) {
|
|
@@ -2958,13 +2958,13 @@ Vr.all = function(e) {
|
|
|
2958
2958
|
Vr.spread = dS;
|
|
2959
2959
|
Vr.isAxiosError = cS;
|
|
2960
2960
|
Vr.mergeConfig = hd;
|
|
2961
|
-
Vr.AxiosHeaders =
|
|
2961
|
+
Vr.AxiosHeaders = gi;
|
|
2962
2962
|
Vr.formToJSON = (t) => Ox(Se.isHTMLForm(t) ? new FormData(t) : t);
|
|
2963
2963
|
Vr.getAdapter = Gx.getAdapter;
|
|
2964
2964
|
Vr.HttpStatusCode = AS;
|
|
2965
2965
|
Vr.default = Vr;
|
|
2966
2966
|
const y2 = Vr;
|
|
2967
|
-
var
|
|
2967
|
+
var hi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
2968
2968
|
function uS(t) {
|
|
2969
2969
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2970
2970
|
}
|
|
@@ -2989,7 +2989,7 @@ function v2(t) {
|
|
|
2989
2989
|
});
|
|
2990
2990
|
}), r;
|
|
2991
2991
|
}
|
|
2992
|
-
var Jx = {}, eA = {}, Sp = {}, pS =
|
|
2992
|
+
var Jx = {}, eA = {}, Sp = {}, pS = hi && hi.__awaiter || function(t, e, r, s) {
|
|
2993
2993
|
function n(i) {
|
|
2994
2994
|
return i instanceof r ? i : new r(function(o) {
|
|
2995
2995
|
o(i);
|
|
@@ -3015,7 +3015,7 @@ var Jx = {}, eA = {}, Sp = {}, pS = gi && gi.__awaiter || function(t, e, r, s) {
|
|
|
3015
3015
|
}
|
|
3016
3016
|
l((s = s.apply(t, e || [])).next());
|
|
3017
3017
|
});
|
|
3018
|
-
}, gS =
|
|
3018
|
+
}, gS = hi && hi.__generator || function(t, e) {
|
|
3019
3019
|
var r = { label: 0, sent: function() {
|
|
3020
3020
|
if (i[0] & 1)
|
|
3021
3021
|
throw i[1];
|
|
@@ -3113,7 +3113,7 @@ var hS = function() {
|
|
|
3113
3113
|
}, t;
|
|
3114
3114
|
}();
|
|
3115
3115
|
Sp.ReCaptchaInstance = hS;
|
|
3116
|
-
var Iy =
|
|
3116
|
+
var Iy = hi && hi.__assign || function() {
|
|
3117
3117
|
return Iy = Object.assign || function(t) {
|
|
3118
3118
|
for (var e, r = 1, s = arguments.length; r < s; r++) {
|
|
3119
3119
|
e = arguments[r];
|
|
@@ -4824,23 +4824,23 @@ var HS = (
|
|
|
4824
4824
|
function VS() {
|
|
4825
4825
|
return new HS();
|
|
4826
4826
|
}
|
|
4827
|
-
var ok = 256, Dg, Da = null,
|
|
4827
|
+
var ok = 256, Dg, Da = null, pi;
|
|
4828
4828
|
if (Da == null) {
|
|
4829
|
-
Da = [],
|
|
4829
|
+
Da = [], pi = 0;
|
|
4830
4830
|
var Rg = void 0;
|
|
4831
4831
|
if (typeof window != "undefined" && window.crypto && window.crypto.getRandomValues) {
|
|
4832
4832
|
var ef = new Uint32Array(256);
|
|
4833
4833
|
for (window.crypto.getRandomValues(ef), Rg = 0; Rg < ef.length; ++Rg)
|
|
4834
|
-
Da[
|
|
4834
|
+
Da[pi++] = ef[Rg] & 255;
|
|
4835
4835
|
}
|
|
4836
4836
|
var Qg = 0, Ng = function(t) {
|
|
4837
|
-
if (Qg = Qg || 0, Qg >= 256 ||
|
|
4837
|
+
if (Qg = Qg || 0, Qg >= 256 || pi >= ok) {
|
|
4838
4838
|
window.removeEventListener ? window.removeEventListener("mousemove", Ng, !1) : window.detachEvent && window.detachEvent("onmousemove", Ng);
|
|
4839
4839
|
return;
|
|
4840
4840
|
}
|
|
4841
4841
|
try {
|
|
4842
4842
|
var e = t.x + t.y;
|
|
4843
|
-
Da[
|
|
4843
|
+
Da[pi++] = e & 255, Qg += 1;
|
|
4844
4844
|
} catch (r) {
|
|
4845
4845
|
}
|
|
4846
4846
|
};
|
|
@@ -4848,13 +4848,13 @@ if (Da == null) {
|
|
|
4848
4848
|
}
|
|
4849
4849
|
function KS() {
|
|
4850
4850
|
if (Dg == null) {
|
|
4851
|
-
for (Dg = VS();
|
|
4851
|
+
for (Dg = VS(); pi < ok; ) {
|
|
4852
4852
|
var t = Math.floor(65536 * Math.random());
|
|
4853
|
-
Da[
|
|
4853
|
+
Da[pi++] = t & 255;
|
|
4854
4854
|
}
|
|
4855
|
-
for (Dg.init(Da),
|
|
4856
|
-
Da[
|
|
4857
|
-
|
|
4855
|
+
for (Dg.init(Da), pi = 0; pi < Da.length; ++pi)
|
|
4856
|
+
Da[pi] = 0;
|
|
4857
|
+
pi = 0;
|
|
4858
4858
|
}
|
|
4859
4859
|
return Dg.next();
|
|
4860
4860
|
}
|
|
@@ -5797,7 +5797,7 @@ const y5 = {
|
|
|
5797
5797
|
[Ft.PLANS]: "Elegí la cantidad de cuotas",
|
|
5798
5798
|
[Ft.SUMMARY]: "Resumen del pago"
|
|
5799
5799
|
}, lk = "INSTALLMENT_PLANS_NOT_FOUND", dk = "Por ahora, no aceptamos pagos con tarjetas de esta marca.", mn = "Plan Z", i7 = "ZETA", B2 = "Plan Z", C2 = "Cuota Simple", E2 = "Sin Interés";
|
|
5800
|
-
var j2 = /* @__PURE__ */ ((t) => (t.payment_link = "Link de pago", t.dynamic_qr = "QR", t.web_checkout = "WEB CHECKOUT", t.static_qr = "QR", t.ecommerce = "E-Commerce", t.mit = "MIT", t))(j2 || {}), Ja = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(Ja || {}), S2 = /* @__PURE__ */ ((t) => (t.CREDIT = "CREDIT", t.DEBIT = "DEBIT", t))(S2 || {}),
|
|
5800
|
+
var j2 = /* @__PURE__ */ ((t) => (t.payment_link = "Link de pago", t.dynamic_qr = "QR", t.web_checkout = "WEB CHECKOUT", t.static_qr = "QR", t.ecommerce = "E-Commerce", t.mit = "MIT", t))(j2 || {}), Ja = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(Ja || {}), S2 = /* @__PURE__ */ ((t) => (t.CREDIT = "CREDIT", t.DEBIT = "DEBIT", t))(S2 || {}), Hn = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t.MIT = "mit", t))(Hn || {}), l1 = /* @__PURE__ */ ((t) => (t.SIFT = "sift", t.RISKIFIED = "riskified", t.CYBERSOURCE = "cybersource", t))(l1 || {}), Hr = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t))(Hr || {}), d1 = /* @__PURE__ */ ((t) => (t.OPERATIONAL = "operational", t.DEGRADED_PERFORMANCE = "degraded_performance", t.OUT_OF_SERVICE = "out_of_service", t))(d1 || {});
|
|
5801
5801
|
const o7 = "card_on_file", fu = "Volver a la tienda", Ra = "https://ranty-sdk-js.naranjax.com/images/", Ns = {
|
|
5802
5802
|
name: "rejected",
|
|
5803
5803
|
icon: `${Ra}error.svg`,
|
|
@@ -6017,17 +6017,17 @@ const o7 = "card_on_file", fu = "Volver a la tienda", Ra = "https://ranty-sdk-js
|
|
|
6017
6017
|
) || lm, fd = (t) => fr.messages.find(
|
|
6018
6018
|
(r) => {
|
|
6019
6019
|
var s;
|
|
6020
|
-
return r.status === Hr.SUCCESS_PROCESSED && t ===
|
|
6020
|
+
return r.status === Hr.SUCCESS_PROCESSED && t === Hn.ECOMMERCE ? (s = r.name) == null ? void 0 : s.includes("-external") : void 0;
|
|
6021
6021
|
}
|
|
6022
6022
|
) || c1, ck = (t) => fr.messages.find(
|
|
6023
6023
|
(r) => {
|
|
6024
6024
|
var s, n;
|
|
6025
|
-
return (r.status === Hr.SUCCESS_PROCESSED || Hr.PROCESSED) && t ===
|
|
6025
|
+
return (r.status === Hr.SUCCESS_PROCESSED || Hr.PROCESSED) && t === Hn.ECOMMERCE ? ((s = r.name) == null ? void 0 : s.includes("link-used-external")) && ((n = r.name) == null ? void 0 : n.includes("link-used")) : void 0;
|
|
6026
6026
|
}
|
|
6027
6027
|
) || c1, _p = (t) => fr.messages.find(
|
|
6028
6028
|
(r) => {
|
|
6029
6029
|
var s;
|
|
6030
|
-
return r.status === Hr.BLOCKED && t ===
|
|
6030
|
+
return r.status === Hr.BLOCKED && t === Hn.ECOMMERCE ? (s = r.name) == null ? void 0 : s.includes("-external") : void 0;
|
|
6031
6031
|
}
|
|
6032
6032
|
) || Ry, a7 = (t) => fr.messages.find((e) => e.name === t) || Qh, Ak = (t) => we(void 0, null, function* () {
|
|
6033
6033
|
return (yield Dt.instanceWithRetries.get(`/sdk/scof/payment_request/${t}`, {
|
|
@@ -6079,7 +6079,7 @@ const o7 = "card_on_file", fu = "Volver a la tienda", Ra = "https://ranty-sdk-js
|
|
|
6079
6079
|
}
|
|
6080
6080
|
}), d7 = (t) => {
|
|
6081
6081
|
const { payment_type: e } = t;
|
|
6082
|
-
return [
|
|
6082
|
+
return [Hn.ECOMMERCE, Hn.MIT].includes(e);
|
|
6083
6083
|
}, c7 = "en_US", A7 = (t) => we(void 0, null, function* () {
|
|
6084
6084
|
const { pos_id: e, mail: r, encPaymentInstrument: s, userId: n, docType: i, docNumber: o, cardBrand: a } = t;
|
|
6085
6085
|
return (yield Dt.instanceWithRetries.post(
|
|
@@ -8705,7 +8705,7 @@ function TF(t) {
|
|
|
8705
8705
|
var e = L2(t) === "object";
|
|
8706
8706
|
return e || Xr.error("Unsupported user:", t), e;
|
|
8707
8707
|
}
|
|
8708
|
-
var
|
|
8708
|
+
var oi;
|
|
8709
8709
|
function v1(t, e, r) {
|
|
8710
8710
|
var s = r.getHandler(), n = Array.isArray(s) ? s : [s];
|
|
8711
8711
|
return U5[t] >= U5[r.getLevel()] && bA(n, e);
|
|
@@ -8720,7 +8720,7 @@ var St = {
|
|
|
8720
8720
|
critical: "critical",
|
|
8721
8721
|
alert: "alert",
|
|
8722
8722
|
emerg: "emerg"
|
|
8723
|
-
}, U5 = (
|
|
8723
|
+
}, U5 = (oi = {}, oi[St.ok] = 0, oi[St.debug] = 1, oi[St.info] = 2, oi[St.notice] = 4, oi[St.warn] = 5, oi[St.error] = 6, oi[St.critical] = 7, oi[St.alert] = 8, oi[St.emerg] = 9, oi);
|
|
8724
8724
|
function Am(t, e) {
|
|
8725
8725
|
var r = e === void 0 ? {} : e, s = r.includeMessage, n = s === void 0 ? !1 : s;
|
|
8726
8726
|
return {
|
|
@@ -9207,7 +9207,7 @@ function aU(t, e) {
|
|
|
9207
9207
|
}
|
|
9208
9208
|
};
|
|
9209
9209
|
}
|
|
9210
|
-
var lU = oF,
|
|
9210
|
+
var lU = oF, ai;
|
|
9211
9211
|
function dU(t) {
|
|
9212
9212
|
function e(r, s, n, i, o) {
|
|
9213
9213
|
var a = nA(s.getContext(), r.context);
|
|
@@ -9229,7 +9229,7 @@ function dU(t) {
|
|
|
9229
9229
|
handleLog: e
|
|
9230
9230
|
};
|
|
9231
9231
|
}
|
|
9232
|
-
var cU = (
|
|
9232
|
+
var cU = (ai = {}, ai[St.ok] = Mr.debug, ai[St.debug] = Mr.debug, ai[St.info] = Mr.info, ai[St.notice] = Mr.info, ai[St.warn] = Mr.warn, ai[St.error] = Mr.error, ai[St.critical] = Mr.error, ai[St.alert] = Mr.error, ai[St.emerg] = Mr.error, ai);
|
|
9233
9233
|
function AU(t, e) {
|
|
9234
9234
|
var r = t.status, s = t.message;
|
|
9235
9235
|
Kl[cU[r]].call(Yi, s, e);
|
|
@@ -9360,10 +9360,10 @@ function fU(t, e, r, s) {
|
|
|
9360
9360
|
}
|
|
9361
9361
|
var Ou = qF(fU);
|
|
9362
9362
|
hI(hl(), "DD_LOGS", Ou);
|
|
9363
|
-
const yU = "@
|
|
9363
|
+
const yU = "@ranty/ranty-sdk", vU = "2.18.0", bU = 2, wU = !0, xU = {
|
|
9364
9364
|
"": {
|
|
9365
|
-
name: "@
|
|
9366
|
-
version: "2.18.0
|
|
9365
|
+
name: "@ranty/ranty-sdk",
|
|
9366
|
+
version: "2.18.0",
|
|
9367
9367
|
license: "ISC",
|
|
9368
9368
|
dependencies: {
|
|
9369
9369
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -46581,7 +46581,7 @@ const dB = (t) => {
|
|
|
46581
46581
|
});
|
|
46582
46582
|
}, um = (t) => {
|
|
46583
46583
|
var e;
|
|
46584
|
-
return (e = t.transactions[0].payment_method) != null && e.wallet_name ? "-qr" : t.payment_type ===
|
|
46584
|
+
return (e = t.transactions[0].payment_method) != null && e.wallet_name ? "-qr" : t.payment_type === Hn.ECOMMERCE ? "-external" : "";
|
|
46585
46585
|
}, Hy = class {
|
|
46586
46586
|
};
|
|
46587
46587
|
Hy.getInstallmentPlans = (t, e, r, s) => we(void 0, null, function* () {
|
|
@@ -46676,7 +46676,7 @@ yd.remainingTime = 0;
|
|
|
46676
46676
|
yd.pollingServiceInstance = new yd();
|
|
46677
46677
|
let cr = yd;
|
|
46678
46678
|
const Y2 = (t) => we(void 0, null, function* () {
|
|
46679
|
-
if (
|
|
46679
|
+
if (Object.values(t).some((s) => s === void 0))
|
|
46680
46680
|
throw new Error("Filters are required");
|
|
46681
46681
|
return (yield Dt.instanceWithRetries.get("/sdk/promotions", {
|
|
46682
46682
|
headers: {
|
|
@@ -46726,15 +46726,15 @@ var DU = "Logging", RU = globalThis && globalThis.__values || function(t) {
|
|
|
46726
46726
|
INFO: 3,
|
|
46727
46727
|
WARN: 4,
|
|
46728
46728
|
ERROR: 5
|
|
46729
|
-
},
|
|
46729
|
+
}, Ai;
|
|
46730
46730
|
(function(t) {
|
|
46731
46731
|
t.DEBUG = "DEBUG", t.ERROR = "ERROR", t.INFO = "INFO", t.WARN = "WARN", t.VERBOSE = "VERBOSE";
|
|
46732
|
-
})(
|
|
46732
|
+
})(Ai || (Ai = {}));
|
|
46733
46733
|
var ji = (
|
|
46734
46734
|
/** @class */
|
|
46735
46735
|
function() {
|
|
46736
46736
|
function t(e, r) {
|
|
46737
|
-
r === void 0 && (r =
|
|
46737
|
+
r === void 0 && (r = Ai.WARN), this.name = e, this.level = r, this._pluggables = [];
|
|
46738
46738
|
}
|
|
46739
46739
|
return t.prototype._padding = function(e) {
|
|
46740
46740
|
return e < 10 ? "0" + e : "" + e;
|
|
@@ -46751,7 +46751,7 @@ var ji = (
|
|
|
46751
46751
|
var a = R5[o], d = R5[e];
|
|
46752
46752
|
if (d >= a) {
|
|
46753
46753
|
var l = console.log.bind(console);
|
|
46754
|
-
e ===
|
|
46754
|
+
e === Ai.ERROR && console.error && (l = console.error.bind(console)), e === Ai.WARN && console.warn && (l = console.warn.bind(console));
|
|
46755
46755
|
var c = "[".concat(e, "] ").concat(this._ts(), " ").concat(this.name), u = "";
|
|
46756
46756
|
if (n.length === 1 && typeof n[0] == "string")
|
|
46757
46757
|
u = "".concat(c, " - ").concat(n[0]), l(u);
|
|
@@ -46781,27 +46781,27 @@ var ji = (
|
|
|
46781
46781
|
}, t.prototype.log = function() {
|
|
46782
46782
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46783
46783
|
e[r] = arguments[r];
|
|
46784
|
-
this._log.apply(this, vc([
|
|
46784
|
+
this._log.apply(this, vc([Ai.INFO], yc(e), !1));
|
|
46785
46785
|
}, t.prototype.info = function() {
|
|
46786
46786
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46787
46787
|
e[r] = arguments[r];
|
|
46788
|
-
this._log.apply(this, vc([
|
|
46788
|
+
this._log.apply(this, vc([Ai.INFO], yc(e), !1));
|
|
46789
46789
|
}, t.prototype.warn = function() {
|
|
46790
46790
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46791
46791
|
e[r] = arguments[r];
|
|
46792
|
-
this._log.apply(this, vc([
|
|
46792
|
+
this._log.apply(this, vc([Ai.WARN], yc(e), !1));
|
|
46793
46793
|
}, t.prototype.error = function() {
|
|
46794
46794
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46795
46795
|
e[r] = arguments[r];
|
|
46796
|
-
this._log.apply(this, vc([
|
|
46796
|
+
this._log.apply(this, vc([Ai.ERROR], yc(e), !1));
|
|
46797
46797
|
}, t.prototype.debug = function() {
|
|
46798
46798
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46799
46799
|
e[r] = arguments[r];
|
|
46800
|
-
this._log.apply(this, vc([
|
|
46800
|
+
this._log.apply(this, vc([Ai.DEBUG], yc(e), !1));
|
|
46801
46801
|
}, t.prototype.verbose = function() {
|
|
46802
46802
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46803
46803
|
e[r] = arguments[r];
|
|
46804
|
-
this._log.apply(this, vc([
|
|
46804
|
+
this._log.apply(this, vc([Ai.VERBOSE], yc(e), !1));
|
|
46805
46805
|
}, t.prototype.addPluggable = function(e) {
|
|
46806
46806
|
e && e.getCategoryName() === DU && (this._pluggables.push(e), e.configure(this._config));
|
|
46807
46807
|
}, t.prototype.listPluggables = function() {
|
|
@@ -51129,7 +51129,7 @@ var pD = {}.toString, gD = Array.isArray || function(t) {
|
|
|
51129
51129
|
*/
|
|
51130
51130
|
(function(t) {
|
|
51131
51131
|
var e = wm, r = sb, s = gD;
|
|
51132
|
-
t.Buffer = a, t.SlowBuffer = b, t.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT =
|
|
51132
|
+
t.Buffer = a, t.SlowBuffer = b, t.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT = hi.TYPED_ARRAY_SUPPORT !== void 0 ? hi.TYPED_ARRAY_SUPPORT : n(), t.kMaxLength = i();
|
|
51133
51133
|
function n() {
|
|
51134
51134
|
try {
|
|
51135
51135
|
var D = new Uint8Array(1);
|
|
@@ -53703,7 +53703,7 @@ var bu = GB.exports, jR = /* @__PURE__ */ function() {
|
|
|
53703
53703
|
I1.exports;
|
|
53704
53704
|
(function(t, e) {
|
|
53705
53705
|
(function(r) {
|
|
53706
|
-
var s = e && !e.nodeType && e, n = t && !t.nodeType && t, i = typeof
|
|
53706
|
+
var s = e && !e.nodeType && e, n = t && !t.nodeType && t, i = typeof hi == "object" && hi;
|
|
53707
53707
|
(i.global === i || i.window === i || i.self === i) && (r = i);
|
|
53708
53708
|
var o, a = 2147483647, d = 36, l = 1, c = 26, u = 38, h = 700, p = 72, f = 128, v = "-", C = /^xn--/, b = /[^\x20-\x7E]/, B = /[\x2E\u3002\uFF0E\uFF61]/g, _ = {
|
|
53709
53709
|
overflow: "Overflow: input needs wider integers to process",
|
|
@@ -53817,7 +53817,7 @@ I1.exports;
|
|
|
53817
53817
|
o.hasOwnProperty(q) && (s[q] = o[q]);
|
|
53818
53818
|
else
|
|
53819
53819
|
r.punycode = o;
|
|
53820
|
-
})(
|
|
53820
|
+
})(hi);
|
|
53821
53821
|
})(I1, I1.exports);
|
|
53822
53822
|
var SR = I1.exports, _R = {
|
|
53823
53823
|
isString: function(t) {
|
|
@@ -56739,7 +56739,7 @@ km([
|
|
|
56739
56739
|
oA = km([
|
|
56740
56740
|
Ve("input-passport")
|
|
56741
56741
|
], oA);
|
|
56742
|
-
const
|
|
56742
|
+
const Kn = (t) => {
|
|
56743
56743
|
const e = parseFloat(t);
|
|
56744
56744
|
return new Intl.NumberFormat("de-DE", { minimumFractionDigits: 2, maximumFractionDigits: 2 }).format(e);
|
|
56745
56745
|
}, BQ = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.card__image{align-items:center;display:flex;gap:16px;padding-top:24px}.card__description{max-width:300px;padding-top:10px}@media only screen and (max-width: 800px){.card__description{max-width:100%}}.item{align-items:center;display:flex;padding-top:5px;justify-content:space-between}.card__total{align-items:center;display:flex;justify-content:space-between}.card__payment{background:#ffffff;border-radius:16px;padding:0 24px 20px}.card__hr{padding:0 5px;border-bottom:.5px solid #6a6a6a;margin-top:6px}.card__purchase-detail{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;padding-top:6px;margin:0}.card__description-text{color:#6a6a6a;font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:2px!important;margin-bottom:2px!important}.card__description-price{color:#6a6a6a;font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:400;margin-top:2px!important;margin-bottom:2px!important}.card__amount{color:#6a6a6a;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;margin-top:20px!important;margin-bottom:0!important}@media only screen and (max-width: 800px){.card__description{max-width:none}.card__payment{background:#ffffff;border-radius:16px;margin-left:8px;margin-right:8px;padding:0 24px 24px}}
|
|
@@ -56768,7 +56768,7 @@ let to = class extends qe {
|
|
|
56768
56768
|
var r;
|
|
56769
56769
|
return P` <div class="item">
|
|
56770
56770
|
<p class="card__description-text">${e == null ? void 0 : e.quantity}x ${e == null ? void 0 : e.name}</p>
|
|
56771
|
-
<p class="card__description-price">$${
|
|
56771
|
+
<p class="card__description-price">$${Kn((r = e == null ? void 0 : e.unit_price) == null ? void 0 : r.value)}</p>
|
|
56772
56772
|
</div>`;
|
|
56773
56773
|
}
|
|
56774
56774
|
)}
|
|
@@ -56776,7 +56776,7 @@ let to = class extends qe {
|
|
|
56776
56776
|
<div class="card__hr"></div>
|
|
56777
56777
|
<div class="card__total">
|
|
56778
56778
|
<p class="card__amount">Total a pagar</p>
|
|
56779
|
-
<p class="card__amount">$ ${
|
|
56779
|
+
<p class="card__amount">$ ${Kn(this.total_amount)}</p>
|
|
56780
56780
|
</div>
|
|
56781
56781
|
</div>
|
|
56782
56782
|
`;
|
|
@@ -57982,7 +57982,7 @@ var $Q = Object.defineProperty, eN = Object.getOwnPropertyDescriptor, ao = (t, e
|
|
|
57982
57982
|
(o = t[i]) && (n = (s ? o(e, r, n) : o(n)) || n);
|
|
57983
57983
|
return s && n && $Q(e, r, n), n;
|
|
57984
57984
|
};
|
|
57985
|
-
let
|
|
57985
|
+
let Gn = class extends qe {
|
|
57986
57986
|
constructor() {
|
|
57987
57987
|
super(...arguments), this.customClass = "", this.title = "", this.color = "primary", this.font = "regular", this.type = "submit", this.size = "md", this.isBlock = !1, this.buttonDisabled = !1, this.buttonLoading = !1;
|
|
57988
57988
|
}
|
|
@@ -58032,39 +58032,39 @@ let Kn = class extends qe {
|
|
|
58032
58032
|
`;
|
|
58033
58033
|
}
|
|
58034
58034
|
};
|
|
58035
|
-
|
|
58035
|
+
Gn.styles = et`
|
|
58036
58036
|
${$e(ZQ)}
|
|
58037
58037
|
`;
|
|
58038
58038
|
ao([
|
|
58039
58039
|
F({ type: String })
|
|
58040
|
-
],
|
|
58040
|
+
], Gn.prototype, "customClass", 2);
|
|
58041
58041
|
ao([
|
|
58042
58042
|
F({ type: String, attribute: "button-title" })
|
|
58043
|
-
],
|
|
58043
|
+
], Gn.prototype, "title", 2);
|
|
58044
58044
|
ao([
|
|
58045
58045
|
F({ type: String, attribute: "button-color" })
|
|
58046
|
-
],
|
|
58046
|
+
], Gn.prototype, "color", 2);
|
|
58047
58047
|
ao([
|
|
58048
58048
|
F({ type: String, attribute: "button-text" })
|
|
58049
|
-
],
|
|
58049
|
+
], Gn.prototype, "font", 2);
|
|
58050
58050
|
ao([
|
|
58051
58051
|
F({ type: String, attribute: "button-type" })
|
|
58052
|
-
],
|
|
58052
|
+
], Gn.prototype, "type", 2);
|
|
58053
58053
|
ao([
|
|
58054
58054
|
F({ type: String, attribute: "button-size" })
|
|
58055
|
-
],
|
|
58055
|
+
], Gn.prototype, "size", 2);
|
|
58056
58056
|
ao([
|
|
58057
58057
|
F({ type: Boolean, attribute: "button-block" })
|
|
58058
|
-
],
|
|
58058
|
+
], Gn.prototype, "isBlock", 2);
|
|
58059
58059
|
ao([
|
|
58060
58060
|
F({ type: Boolean })
|
|
58061
|
-
],
|
|
58061
|
+
], Gn.prototype, "buttonDisabled", 2);
|
|
58062
58062
|
ao([
|
|
58063
58063
|
F({ type: Boolean })
|
|
58064
|
-
],
|
|
58065
|
-
|
|
58064
|
+
], Gn.prototype, "buttonLoading", 2);
|
|
58065
|
+
Gn = ao([
|
|
58066
58066
|
Ve("my-button")
|
|
58067
|
-
],
|
|
58067
|
+
], Gn);
|
|
58068
58068
|
var tN = Object.defineProperty, rN = Object.getOwnPropertyDescriptor, Dp = (t, e, r, s) => {
|
|
58069
58069
|
for (var n = s > 1 ? void 0 : s ? rN(e, r) : e, i = t.length - 1, o; i >= 0; i--)
|
|
58070
58070
|
(o = t[i]) && (n = (s ? o(e, r, n) : o(n)) || n);
|
|
@@ -61090,7 +61090,7 @@ let wi = class t extends qe {
|
|
|
61090
61090
|
this.stateStatus.title = o.message.title, this.stateStatus.subtitle = o.message.subtitle, this.stateStatus.icon = o.message.icon, this.stateStatus.returnButton = o.message.returnButton, this.stateStatus.status = o.status, this.createEvent("button-pushed", it.STATUS);
|
|
61091
61091
|
return;
|
|
61092
61092
|
}
|
|
61093
|
-
yield this.validateCircuitBreaker(), yield this.getPromotions(), this.stateScof.statePaymentRequest = r, this.stateScofProps.publicKeyScof = e.public_key.replace(/\r\n/g, ""), this.stateScof.cardsAccepted = n, this.stateScof.page = it.MAIN;
|
|
61093
|
+
r.payment_type !== Hn.MIT && (yield this.validateCircuitBreaker(), yield this.getPromotions()), this.stateScof.statePaymentRequest = r, this.stateScofProps.publicKeyScof = e.public_key.replace(/\r\n/g, ""), this.stateScof.cardsAccepted = n, this.stateScof.page = it.MAIN;
|
|
61094
61094
|
const a = e.user_card_data.map((d) => Bt(dt({}, d), {
|
|
61095
61095
|
is_allowed: this.stateScof.cardsAccepted.includes(d.card_brand)
|
|
61096
61096
|
})).sort((d, l) => Number(l.is_allowed) - Number(d.is_allowed));
|
|
@@ -61214,7 +61214,7 @@ let wi = class t extends qe {
|
|
|
61214
61214
|
), this.createEvent("button-pushed", it.STATUS);
|
|
61215
61215
|
} finally {
|
|
61216
61216
|
this.stateScof.isAddCardConsent = !1, this.stateStatus.isStart = !1, Dt.getConfig().VITE_ENV === "sandbox" && setTimeout(() => {
|
|
61217
|
-
const s = fd(
|
|
61217
|
+
const s = fd(Hn.PAYMENT_LINK);
|
|
61218
61218
|
this.stateStatus.title = s.title, this.stateStatus.subtitle = s.subtitle, this.stateStatus.icon = s.icon, this.stateStatus.status = s.status, this.stateStatus.name = s.name, this.stateStatus.returnButton = s.returnButton, this.stateStatus.nameReturnButton = s.nameReturnButton, ct(e != null && e.success ? Hr.SUCCESS_PROCESSED : Hr.FAILURE_PROCESSED, ""), this.createEvent("button-pushed", it.STATUS);
|
|
61219
61219
|
}, 2e3);
|
|
61220
61220
|
}
|
|
@@ -61240,7 +61240,7 @@ let wi = class t extends qe {
|
|
|
61240
61240
|
);
|
|
61241
61241
|
}
|
|
61242
61242
|
defaultMessageError() {
|
|
61243
|
-
const e = Dt.getConfig().VITE_ENV === "sandbox" ? _p(
|
|
61243
|
+
const e = Dt.getConfig().VITE_ENV === "sandbox" ? _p(Hn.PAYMENT_LINK) : lm;
|
|
61244
61244
|
this.stateStatus.title = e.title, this.stateStatus.subtitle = e.subtitle, this.stateStatus.icon = e.icon, this.stateStatus.status = e.status, this.stateStatus.name = e.name, this.stateStatus.returnButton = e.returnButton, this.stateStatus.nameReturnButton = e.nameReturnButton;
|
|
61245
61245
|
}
|
|
61246
61246
|
validateCircuitBreaker() {
|
|
@@ -61479,13 +61479,13 @@ const PO = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
|
|
|
61479
61479
|
o.appendChild(a);
|
|
61480
61480
|
}
|
|
61481
61481
|
}
|
|
61482
|
-
}, P3 = "validations-scof", Bb = (t) => ({ validate: (e) => /^[a-
|
|
61482
|
+
}, P3 = "validations-scof", Bb = (t) => ({ validate: (e) => /^[a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]*$/.test(e), errorMessage: t }), Cb = (t) => ({ validate: (e) => !/^\s+$/.test(e), errorMessage: t }), Ms = (t) => ({
|
|
61483
61483
|
validate: (e) => e.trim() !== "",
|
|
61484
61484
|
errorMessage: t
|
|
61485
61485
|
}), Eb = (t = "Revisá el email, está incompleto.") => ({
|
|
61486
61486
|
validate: (e) => /^[a-zA-Z0-9._%+-]{2,}@([a-zA-Z0-9-]{2,}\.)+[a-zA-Z0-9-]{2,}$/.test(e),
|
|
61487
61487
|
errorMessage: t
|
|
61488
|
-
}),
|
|
61488
|
+
}), Vn = (t, e, r = !1) => ({
|
|
61489
61489
|
validate: (s) => (r ? s.replace(/\D/g, "").length : s.length) >= t,
|
|
61490
61490
|
errorMessage: e
|
|
61491
61491
|
}), Xi = (t, e, r = !1) => ({
|
|
@@ -62240,7 +62240,7 @@ Ev = A9([
|
|
|
62240
62240
|
], Ev);
|
|
62241
62241
|
const u9 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.container{margin-top:4px}.panel-container{padding:38px 40px 20px;background:#ffffff;border-radius:20px}.card-form__select{align-self:start;border-top:none;border-left:none;border-right:none;color:#6a6a6a;font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:400;padding-top:8px;width:100%;height:28px}.credit-details__select-type{color:#6a6a6a;font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:400;min-width:135px}.credit-details__select-type :focus-visible{outline:none}.panel-id-selection{display:flex;gap:15px}.panel-id-selection>*{flex:1;max-width:50%}.panel-footer{display:flex;justify-content:space-between;text-align:right}@media only screen and (max-width: 800px){.panel-footer{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}@media only screen and (max-width: 800px){.panel-container{border-radius:20px;margin-left:8px;margin-right:8px;padding:20px;margin-bottom:40px}}
|
|
62242
62242
|
`;
|
|
62243
|
-
var p9 = Object.defineProperty, g9 = Object.getOwnPropertyDescriptor,
|
|
62243
|
+
var p9 = Object.defineProperty, g9 = Object.getOwnPropertyDescriptor, Yn = (t, e, r, s) => {
|
|
62244
62244
|
for (var n = s > 1 ? void 0 : s ? g9(e, r) : e, i = t.length - 1, o; i >= 0; i--)
|
|
62245
62245
|
(o = t[i]) && (n = (s ? o(e, r, n) : o(n)) || n);
|
|
62246
62246
|
return s && n && p9(e, r, n), n;
|
|
@@ -62369,41 +62369,41 @@ let nn = class extends qe {
|
|
|
62369
62369
|
nn.styles = et`
|
|
62370
62370
|
${$e(u9)}
|
|
62371
62371
|
`;
|
|
62372
|
-
|
|
62372
|
+
Yn([
|
|
62373
62373
|
F({ type: String })
|
|
62374
62374
|
], nn.prototype, "name", 2);
|
|
62375
|
-
|
|
62375
|
+
Yn([
|
|
62376
62376
|
F({ type: String })
|
|
62377
62377
|
], nn.prototype, "email", 2);
|
|
62378
|
-
|
|
62378
|
+
Yn([
|
|
62379
62379
|
F({ type: String })
|
|
62380
62380
|
], nn.prototype, "selectedDocumentType", 2);
|
|
62381
|
-
|
|
62381
|
+
Yn([
|
|
62382
62382
|
F({ type: String })
|
|
62383
62383
|
], nn.prototype, "dni", 2);
|
|
62384
|
-
|
|
62384
|
+
Yn([
|
|
62385
62385
|
F({ type: String })
|
|
62386
62386
|
], nn.prototype, "inputDni", 2);
|
|
62387
|
-
|
|
62387
|
+
Yn([
|
|
62388
62388
|
F({ type: Boolean })
|
|
62389
62389
|
], nn.prototype, "isValidDni", 2);
|
|
62390
|
-
|
|
62390
|
+
Yn([
|
|
62391
62391
|
F({ type: Boolean })
|
|
62392
62392
|
], nn.prototype, "hasPrevState", 2);
|
|
62393
|
-
|
|
62393
|
+
Yn([
|
|
62394
62394
|
oe()
|
|
62395
62395
|
], nn.prototype, "_isButtonDisabled", 2);
|
|
62396
|
-
|
|
62396
|
+
Yn([
|
|
62397
62397
|
oe()
|
|
62398
62398
|
], nn.prototype, "_isError", 2);
|
|
62399
|
-
|
|
62399
|
+
Yn([
|
|
62400
62400
|
oe()
|
|
62401
62401
|
], nn.prototype, "_isTouched", 2);
|
|
62402
|
-
|
|
62402
|
+
Yn([
|
|
62403
62403
|
Ne({ context: oo, subscribe: !0 }),
|
|
62404
62404
|
oe()
|
|
62405
62405
|
], nn.prototype, "_contextData", 2);
|
|
62406
|
-
nn =
|
|
62406
|
+
nn = Yn([
|
|
62407
62407
|
Ve("click2pay-personal-data")
|
|
62408
62408
|
], nn);
|
|
62409
62409
|
const h9 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}:host *{user-select:none}:host .drawerOpen{opacity:.5;pointer-events:none}:host .card-form{display:grid;grid-template-columns:repeat(10,1fr);max-width:900px;height:auto;margin:0 auto}:host .card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}:host .card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:24px;font-weight:600}:host .card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}@media only screen and (max-width: 800px){:host .card-form__subtitle{font-size:17px}}:host .card-form__content{grid-column:1/span 6;margin-bottom:126px}:host .payment__detail{grid-column:7/span 4;padding-left:34px}:host .contentContainer{opacity:.5;transition:opacity .3s ease-in-out}:host .card-form__subtitle-mobile{display:none}:host .title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}:host .card-payments-methods{display:flex;gap:40px}@media only screen and (min-width: 360px) and (max-width: 450px){:host .card-form__subtitle{margin-left:8px;margin-right:8px}:host .card-form__title{margin-left:8px;margin-right:8px}:host .card-form{display:grid;grid-template-columns:1fr}:host .card-form__title{margin-bottom:10px}:host .card-form__content{margin-bottom:0;grid-column:span 6}:host .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}:host .inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .card-form-text{margin-left:20px}:host .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}:host .card-form__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .card-form{display:grid;width:100%}:host .card-form-text{grid-column:2/span 6}:host .card-form__content{margin-bottom:0;grid-column:2/span 7}:host .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}:host .qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}:host .inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:16px;align-items:center;background:white}:host .mt{margin-top:10px!important;border:1px solid black!important}
|
|
@@ -63505,7 +63505,7 @@ let xi = class extends qe {
|
|
|
63505
63505
|
payment_request_id: (e = this.stateScof.statePaymentRequest) == null ? void 0 : e.id,
|
|
63506
63506
|
payment_request_status: this.statusMessage,
|
|
63507
63507
|
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
63508
|
-
card_type: t.transactions[0].payment_method
|
|
63508
|
+
card_type: t.transactions[0].payment_method ? t.transactions[0].payment_method.card_type : "no_card_type",
|
|
63509
63509
|
payment_type: t.payment_type
|
|
63510
63510
|
}
|
|
63511
63511
|
}), Qt.setEndPaymentTime());
|
|
@@ -63661,11 +63661,7 @@ let tr = class extends qe {
|
|
|
63661
63661
|
return this.name === "doc_number" || this.name === "creditNumber" || this.name === "dateExpired" || this.name === "cvv";
|
|
63662
63662
|
}
|
|
63663
63663
|
firstUpdated(t) {
|
|
63664
|
-
super.firstUpdated(t), this.checkValidity()
|
|
63665
|
-
var r;
|
|
63666
|
-
const e = (r = this.shadowRoot) == null ? void 0 : r.querySelector("input");
|
|
63667
|
-
e && e.dispatchEvent(new Event("input", { bubbles: !0 }));
|
|
63668
|
-
}, 100);
|
|
63664
|
+
super.firstUpdated(t), this.checkValidity();
|
|
63669
63665
|
}
|
|
63670
63666
|
handleInput(t) {
|
|
63671
63667
|
const e = t.target;
|
|
@@ -64104,10 +64100,9 @@ let bn = class extends qe {
|
|
|
64104
64100
|
name="creditNumber"
|
|
64105
64101
|
label="Número de tarjeta"
|
|
64106
64102
|
.maxlength="${19}"
|
|
64107
|
-
autocomplete="cc-number"
|
|
64108
64103
|
.validationRules="${[
|
|
64109
64104
|
Ms("Tenés que completar el número de la tarjeta."),
|
|
64110
|
-
|
|
64105
|
+
Vn(16, "Revisá el número de la tarjeta, está incompleto.", !0),
|
|
64111
64106
|
HO(
|
|
64112
64107
|
this.stateScof.statePaymentRequest,
|
|
64113
64108
|
(t) => this.isLoading = t,
|
|
@@ -64143,13 +64138,12 @@ let bn = class extends qe {
|
|
|
64143
64138
|
id="expired"
|
|
64144
64139
|
.maxlength="${5}"
|
|
64145
64140
|
label="Vencimiento"
|
|
64146
|
-
autocomplete="cc-csc"
|
|
64147
64141
|
.validationRules="${[
|
|
64148
64142
|
Ms("Tenés que completar el vencimiento."),
|
|
64149
64143
|
LO(),
|
|
64150
64144
|
MO(),
|
|
64151
64145
|
qO(),
|
|
64152
|
-
|
|
64146
|
+
Vn(5, "Revisá el vencimiento.")
|
|
64153
64147
|
]}"
|
|
64154
64148
|
></scof-input>
|
|
64155
64149
|
<div class="credit-info">
|
|
@@ -64159,10 +64153,9 @@ let bn = class extends qe {
|
|
|
64159
64153
|
id="cvv"
|
|
64160
64154
|
.maxlength="${3}"
|
|
64161
64155
|
label="Código de seguridad"
|
|
64162
|
-
autocomplete="cc-csc"
|
|
64163
64156
|
.validationRules="${[
|
|
64164
64157
|
Ms("Tenés que completar el código."),
|
|
64165
|
-
|
|
64158
|
+
Vn(3, "Revisá el código."),
|
|
64166
64159
|
Xi(4, "Debe contener 4 números máximo"),
|
|
64167
64160
|
OO()
|
|
64168
64161
|
]}"
|
|
@@ -64519,6 +64512,10 @@ let qo = class extends qe {
|
|
|
64519
64512
|
var t, e, r;
|
|
64520
64513
|
return (t = this.getBuyer) != null && t.doc_number && ((e = this.getBuyer) == null ? void 0 : e.doc_number.length) >= 6 ? (r = this.getBuyer) == null ? void 0 : r.doc_number : "";
|
|
64521
64514
|
}
|
|
64515
|
+
get name() {
|
|
64516
|
+
var t, e;
|
|
64517
|
+
return (t = this.getBuyer) != null && t.name ? (e = this.getBuyer) == null ? void 0 : e.name.replace(/[^a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]/g, "") : "";
|
|
64518
|
+
}
|
|
64522
64519
|
firstUpdated(t) {
|
|
64523
64520
|
var e;
|
|
64524
64521
|
super.firstUpdated(t), pe.info("firstUpdated", {
|
|
@@ -64603,7 +64600,7 @@ let qo = class extends qe {
|
|
|
64603
64600
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
64604
64601
|
}
|
|
64605
64602
|
renderHTML() {
|
|
64606
|
-
var t, e
|
|
64603
|
+
var t, e;
|
|
64607
64604
|
return P`
|
|
64608
64605
|
<form @input="${this.validateForm}">
|
|
64609
64606
|
<scof-input
|
|
@@ -64611,19 +64608,19 @@ let qo = class extends qe {
|
|
|
64611
64608
|
label="Nombre y apellido"
|
|
64612
64609
|
.validationRules="${[
|
|
64613
64610
|
Ms("Tenés que completar el nombre y apellido."),
|
|
64614
|
-
|
|
64611
|
+
Vn(2, "El nombre debe tener al menos 2 caracteres."),
|
|
64615
64612
|
Xi(30, "El nombre no puede tener más de 30 caracteres."),
|
|
64616
64613
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
64617
64614
|
Cb("El nombre no puede estar en blanco.")
|
|
64618
64615
|
]}"
|
|
64619
|
-
.value="${
|
|
64616
|
+
.value="${this.name}"
|
|
64620
64617
|
></scof-input>
|
|
64621
64618
|
<scof-input
|
|
64622
64619
|
name="user_email"
|
|
64623
64620
|
label="Email"
|
|
64624
64621
|
type="email"
|
|
64625
64622
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
64626
|
-
.value="${(
|
|
64623
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
64627
64624
|
></scof-input>
|
|
64628
64625
|
|
|
64629
64626
|
<div class="panel-id-selection">
|
|
@@ -64648,11 +64645,11 @@ let qo = class extends qe {
|
|
|
64648
64645
|
.validationRules="${this.isDni ? [
|
|
64649
64646
|
Ms("Tenés que completar el número."),
|
|
64650
64647
|
jb(),
|
|
64651
|
-
|
|
64648
|
+
Vn(6, "Revisá el número, está incompleto.", !0),
|
|
64652
64649
|
Xi(9, "Revisá el número, está incompleto.", !0)
|
|
64653
64650
|
] : [
|
|
64654
64651
|
Ms("El pasaporte es obligatorio"),
|
|
64655
|
-
|
|
64652
|
+
Vn(6, "Revisá el número, está incompleto."),
|
|
64656
64653
|
Xi(20, "Revisá el número, está incompleto.")
|
|
64657
64654
|
]}"
|
|
64658
64655
|
.value="${this.docNumber}"
|
|
@@ -64835,11 +64832,11 @@ let pA = class extends qe {
|
|
|
64835
64832
|
<div class="card-content-text">
|
|
64836
64833
|
<h3 class="card-plan__circle-dot font_semiBold">
|
|
64837
64834
|
${this.paymentFirstMessage(t.installments, t.name)} de $
|
|
64838
|
-
${
|
|
64835
|
+
${Kn(t.installment_amount.value)}
|
|
64839
64836
|
</h3>
|
|
64840
64837
|
<div class="font_regular subtitle">
|
|
64841
64838
|
<p class="text">
|
|
64842
|
-
Precio financiado: $ ${
|
|
64839
|
+
Precio financiado: $ ${Kn(t.total_amount.value)} | CFT: ${t.total_financial_cost}
|
|
64843
64840
|
%
|
|
64844
64841
|
</p>
|
|
64845
64842
|
</div>
|
|
@@ -65225,11 +65222,11 @@ let rl = class extends qe {
|
|
|
65225
65222
|
</div>
|
|
65226
65223
|
<p class="data-text installment-plan-name">
|
|
65227
65224
|
${(r = this.getInstallmentPlan) == null ? void 0 : r.name.toLowerCase()} de $
|
|
65228
|
-
${
|
|
65225
|
+
${Kn((s = this.getInstallmentPlan) == null ? void 0 : s.installment_amount.value)}
|
|
65229
65226
|
</p>
|
|
65230
65227
|
<p class="data-text installment-plan-cost">
|
|
65231
65228
|
CFT: ${(n = this.getInstallmentPlan) == null ? void 0 : n.total_financial_cost} % + IVA | Total financiado: $
|
|
65232
|
-
${
|
|
65229
|
+
${Kn((i = this.getInstallmentPlan) == null ? void 0 : i.total_amount.value)}
|
|
65233
65230
|
</p>
|
|
65234
65231
|
<div class="panel-footer">
|
|
65235
65232
|
<my-button
|
|
@@ -65669,7 +65666,7 @@ let Ho = class extends qe {
|
|
|
65669
65666
|
payment_request_id: (e = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : e.id,
|
|
65670
65667
|
payment_request_status: this.statusMessage,
|
|
65671
65668
|
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
65672
|
-
card_type: t.transactions[0].payment_method
|
|
65669
|
+
card_type: t.transactions[0].payment_method ? t.transactions[0].payment_method.card_type : "no_card_type",
|
|
65673
65670
|
payment_type: t.payment_type
|
|
65674
65671
|
}
|
|
65675
65672
|
}), Qt.setEndPaymentTime());
|
|
@@ -65973,7 +65970,6 @@ let wn = class extends qe {
|
|
|
65973
65970
|
label="Número de tarjeta"
|
|
65974
65971
|
inputmode="numeric"
|
|
65975
65972
|
.maxlength="${19}"
|
|
65976
|
-
autocomplete="cc-number"
|
|
65977
65973
|
.validationRules="${[
|
|
65978
65974
|
Vc("Tenés que completar el número de la tarjeta."),
|
|
65979
65975
|
Kc(16, "Revisá el número de la tarjeta, está incompleto.", !0),
|
|
@@ -65999,7 +65995,6 @@ let wn = class extends qe {
|
|
|
65999
65995
|
inputmode="numeric"
|
|
66000
65996
|
.maxlength="${5}"
|
|
66001
65997
|
label="Vencimiento"
|
|
66002
|
-
autocomplete="cc-exp"
|
|
66003
65998
|
.validationRules="${[
|
|
66004
65999
|
Vc("Tenés que completar el vencimiento."),
|
|
66005
66000
|
w4(),
|
|
@@ -66016,7 +66011,6 @@ let wn = class extends qe {
|
|
|
66016
66011
|
inputmode="numeric"
|
|
66017
66012
|
.maxlength="${3}"
|
|
66018
66013
|
label="Código de seguridad"
|
|
66019
|
-
autocomplete="cc-csc"
|
|
66020
66014
|
.validationRules="${[
|
|
66021
66015
|
Vc("Tenés que completar el código."),
|
|
66022
66016
|
Kc(3, "Revisá el código."),
|
|
@@ -66119,6 +66113,10 @@ let so = class extends qe {
|
|
|
66119
66113
|
var t, e, r;
|
|
66120
66114
|
return (t = this.getBuyer) != null && t.doc_number && ((e = this.getBuyer) == null ? void 0 : e.doc_number.length) >= 6 ? (r = this.getBuyer) == null ? void 0 : r.doc_number : "";
|
|
66121
66115
|
}
|
|
66116
|
+
get name() {
|
|
66117
|
+
var t, e;
|
|
66118
|
+
return (t = this.getBuyer) != null && t.name ? (e = this.getBuyer) == null ? void 0 : e.name.replace(/[^a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]/g, "") : "";
|
|
66119
|
+
}
|
|
66122
66120
|
firstUpdated(t) {
|
|
66123
66121
|
var e;
|
|
66124
66122
|
super.firstUpdated(t), this._statePaymentManualInput.isCardPresent || this._getinstallment(), (e = this._statePaymentManualInput.statePaymentRequest.buyer) != null && e.doc_type && (this.isDni = this._statePaymentManualInput.statePaymentRequest.buyer.doc_type === "DNI", this.requestUpdate()), this.forceValidation(["name", "user_email", "doc_number"]), this.validateForm();
|
|
@@ -66212,7 +66210,7 @@ let so = class extends qe {
|
|
|
66212
66210
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
66213
66211
|
}
|
|
66214
66212
|
renderHTML() {
|
|
66215
|
-
var t, e
|
|
66213
|
+
var t, e;
|
|
66216
66214
|
return P`
|
|
66217
66215
|
<form @input="${this.validateForm}">
|
|
66218
66216
|
<scof-input
|
|
@@ -66220,19 +66218,19 @@ let so = class extends qe {
|
|
|
66220
66218
|
label="Nombre y apellido"
|
|
66221
66219
|
.validationRules="${[
|
|
66222
66220
|
Ms("Tenés que completar el nombre y apellido."),
|
|
66223
|
-
|
|
66221
|
+
Vn(2, "El nombre debe tener al menos 2 caracteres."),
|
|
66224
66222
|
Xi(30, "El nombre no puede tener más de 30 caracteres."),
|
|
66225
66223
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
66226
66224
|
Cb("El nombre no puede estar en blanco.")
|
|
66227
66225
|
]}"
|
|
66228
|
-
.value="${
|
|
66226
|
+
.value="${this.name}"
|
|
66229
66227
|
></scof-input>
|
|
66230
66228
|
<scof-input
|
|
66231
66229
|
name="user_email"
|
|
66232
66230
|
label="Email"
|
|
66233
66231
|
type="email"
|
|
66234
66232
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
66235
|
-
.value="${(
|
|
66233
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
66236
66234
|
></scof-input>
|
|
66237
66235
|
|
|
66238
66236
|
<div class="panel-id-selection">
|
|
@@ -66258,11 +66256,11 @@ let so = class extends qe {
|
|
|
66258
66256
|
.validationRules="${this.isDni ? [
|
|
66259
66257
|
Ms("Tenés que completar el número."),
|
|
66260
66258
|
jb(),
|
|
66261
|
-
|
|
66259
|
+
Vn(6, "Revisá el número, está incompleto.", !0),
|
|
66262
66260
|
Xi(9, "Revisá el número, está incompleto.", !0)
|
|
66263
66261
|
] : [
|
|
66264
66262
|
Ms("El pasaporte es obligatorio"),
|
|
66265
|
-
|
|
66263
|
+
Vn(6, "Revisá el número, está incompleto."),
|
|
66266
66264
|
Xi(20, "Revisá el número, está incompleto.")
|
|
66267
66265
|
]}"
|
|
66268
66266
|
.value="${this.docNumber}"
|
|
@@ -66406,11 +66404,11 @@ let yp = class extends qe {
|
|
|
66406
66404
|
<div class="card-content-text">
|
|
66407
66405
|
<h3 class="card-plan__circle-dot font_semiBold">
|
|
66408
66406
|
${this.paymentFirstMessage(t.installments, t.name)} de $
|
|
66409
|
-
${
|
|
66407
|
+
${Kn(t.installment_amount.value)}
|
|
66410
66408
|
</h3>
|
|
66411
66409
|
<div class="font_regular subtitle">
|
|
66412
66410
|
<p class="text">
|
|
66413
|
-
Precio financiado: $ ${
|
|
66411
|
+
Precio financiado: $ ${Kn(t.total_amount.value)} | CFT: ${t.total_financial_cost}
|
|
66414
66412
|
%
|
|
66415
66413
|
</p>
|
|
66416
66414
|
</div>
|
|
@@ -66496,7 +66494,7 @@ let xs = class t extends qe {
|
|
|
66496
66494
|
firstUpdated(e) {
|
|
66497
66495
|
return we(this, null, function* () {
|
|
66498
66496
|
var r, s, n;
|
|
66499
|
-
if (ur(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : r.payment_type) ===
|
|
66497
|
+
if (ur(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : r.payment_type) === Hn.ECOMMERCE ? this._statePaymentManualInput.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
|
|
66500
66498
|
pe.info("firstUpdatedStatus", {
|
|
66501
66499
|
context: Le.DEFAULT,
|
|
66502
66500
|
origin_sdk: Rf,
|
|
@@ -66803,11 +66801,11 @@ let il = class extends qe {
|
|
|
66803
66801
|
</div>
|
|
66804
66802
|
<p class="data-text installment-plan-name">
|
|
66805
66803
|
${(n = this.getInstallmentPlan) == null ? void 0 : n.name.toLowerCase()} de $
|
|
66806
|
-
${
|
|
66804
|
+
${Kn((i = this.getInstallmentPlan) == null ? void 0 : i.installment_amount.value)}
|
|
66807
66805
|
</p>
|
|
66808
66806
|
<p class="data-text installment-plan-cost">
|
|
66809
66807
|
CFT: ${(o = this.getInstallmentPlan) == null ? void 0 : o.total_financial_cost} % + IVA | Total financiado: $
|
|
66810
|
-
${
|
|
66808
|
+
${Kn((a = this.getInstallmentPlan) == null ? void 0 : a.total_amount.value)}
|
|
66811
66809
|
</p>
|
|
66812
66810
|
<div class="panel-footer">
|
|
66813
66811
|
<my-button
|
|
@@ -68490,7 +68488,7 @@ var a6 = function(t, e) {
|
|
|
68490
68488
|
}, vq = function(t, e, r) {
|
|
68491
68489
|
var s = typeof t == "number" ? t : yq(t, e, r), n = Math.abs(e * Math.sin(s)) + Math.abs(r * Math.cos(s)), i = e / 2, o = r / 2, a = n / 2, d = Math.sin(s - Math.PI / 2) * a, l = Math.cos(s - Math.PI / 2) * a;
|
|
68492
68490
|
return [n, i - l, i + l, o - d, o + d];
|
|
68493
|
-
},
|
|
68491
|
+
}, ci = function(t, e) {
|
|
68494
68492
|
return Math.sqrt(t * t + e * e);
|
|
68495
68493
|
}, d6 = function(t, e, r, s, n) {
|
|
68496
68494
|
var i = [
|
|
@@ -68500,7 +68498,7 @@ var a6 = function(t, e) {
|
|
|
68500
68498
|
[t, e]
|
|
68501
68499
|
];
|
|
68502
68500
|
return i.reduce(function(o, a) {
|
|
68503
|
-
var d = a[0], l = a[1], c =
|
|
68501
|
+
var d = a[0], l = a[1], c = ci(r - d, s - l);
|
|
68504
68502
|
return (n ? c < o.optimumDistance : c > o.optimumDistance) ? {
|
|
68505
68503
|
optimumCorner: a,
|
|
68506
68504
|
optimumDistance: c
|
|
@@ -68517,10 +68515,10 @@ var a6 = function(t, e) {
|
|
|
68517
68515
|
break;
|
|
68518
68516
|
case 2:
|
|
68519
68517
|
if (t.shape === 0)
|
|
68520
|
-
i = o = Math.min(
|
|
68518
|
+
i = o = Math.min(ci(e, r), ci(e, r - n), ci(e - s, r), ci(e - s, r - n));
|
|
68521
68519
|
else if (t.shape === 1) {
|
|
68522
68520
|
var a = Math.min(Math.abs(r), Math.abs(r - n)) / Math.min(Math.abs(e), Math.abs(e - s)), d = d6(s, n, e, r, !0), l = d[0], c = d[1];
|
|
68523
|
-
i =
|
|
68521
|
+
i = ci(l - e, (c - r) / a), o = a * i;
|
|
68524
68522
|
}
|
|
68525
68523
|
break;
|
|
68526
68524
|
case 1:
|
|
@@ -68528,10 +68526,10 @@ var a6 = function(t, e) {
|
|
|
68528
68526
|
break;
|
|
68529
68527
|
case 3:
|
|
68530
68528
|
if (t.shape === 0)
|
|
68531
|
-
i = o = Math.max(
|
|
68529
|
+
i = o = Math.max(ci(e, r), ci(e, r - n), ci(e - s, r), ci(e - s, r - n));
|
|
68532
68530
|
else if (t.shape === 1) {
|
|
68533
68531
|
var a = Math.max(Math.abs(r), Math.abs(r - n)) / Math.max(Math.abs(e), Math.abs(e - s)), u = d6(s, n, e, r, !1), l = u[0], c = u[1];
|
|
68534
|
-
i =
|
|
68532
|
+
i = ci(l - e, (c - r) / a), o = a * i;
|
|
68535
68533
|
}
|
|
68536
68534
|
break;
|
|
68537
68535
|
}
|
|
@@ -72280,7 +72278,7 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72280
72278
|
for (var e = t[0], r = 1; r < t.length; ++r)
|
|
72281
72279
|
t[r] > e && (e = t[r]);
|
|
72282
72280
|
return e;
|
|
72283
|
-
},
|
|
72281
|
+
}, li = function(t, e, r) {
|
|
72284
72282
|
var s = e / 8 | 0;
|
|
72285
72283
|
return (t[s] | t[s + 1] << 8) >> (e & 7) & r;
|
|
72286
72284
|
}, ay = function(t, e) {
|
|
@@ -72306,9 +72304,9 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72306
72304
|
"stream finishing",
|
|
72307
72305
|
"invalid zip data"
|
|
72308
72306
|
// determined by unknown compression method
|
|
72309
|
-
],
|
|
72307
|
+
], ui = function(t, e, r) {
|
|
72310
72308
|
var s = new Error(e || rG[t]);
|
|
72311
|
-
if (s.code = t, Error.captureStackTrace && Error.captureStackTrace(s,
|
|
72309
|
+
if (s.code = t, Error.captureStackTrace && Error.captureStackTrace(s, ui), !r)
|
|
72312
72310
|
throw s;
|
|
72313
72311
|
return s;
|
|
72314
72312
|
}, sG = function(t, e, r, s) {
|
|
@@ -72326,44 +72324,44 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72326
72324
|
}, c = e.f || 0, u = e.p || 0, h = e.b || 0, p = e.l, f = e.d, v = e.m, C = e.n, b = n * 8;
|
|
72327
72325
|
do {
|
|
72328
72326
|
if (!p) {
|
|
72329
|
-
c =
|
|
72330
|
-
var B =
|
|
72327
|
+
c = li(t, u, 1);
|
|
72328
|
+
var B = li(t, u + 1, 3);
|
|
72331
72329
|
if (u += 3, B)
|
|
72332
72330
|
if (B == 1)
|
|
72333
72331
|
p = $K, f = tG, v = 9, C = 5;
|
|
72334
72332
|
else if (B == 2) {
|
|
72335
|
-
var H =
|
|
72333
|
+
var H = li(t, u, 31) + 257, q = li(t, u + 10, 15) + 4, L = H + li(t, u + 5, 31) + 1;
|
|
72336
72334
|
u += 14;
|
|
72337
72335
|
for (var Z = new Ts(L), de = new Ts(19), T = 0; T < q; ++T)
|
|
72338
|
-
de[Jv[T]] =
|
|
72336
|
+
de[Jv[T]] = li(t, u + T * 3, 7);
|
|
72339
72337
|
u += q * 3;
|
|
72340
72338
|
for (var N = oy(de), W = (1 << N) - 1, J = Zi(de, N, 1), T = 0; T < L; ) {
|
|
72341
|
-
var be = J[
|
|
72339
|
+
var be = J[li(t, u, W)];
|
|
72342
72340
|
u += be & 15;
|
|
72343
72341
|
var _ = be >> 4;
|
|
72344
72342
|
if (_ < 16)
|
|
72345
72343
|
Z[T++] = _;
|
|
72346
72344
|
else {
|
|
72347
72345
|
var ue = 0, xe = 0;
|
|
72348
|
-
for (_ == 16 ? (xe = 3 +
|
|
72346
|
+
for (_ == 16 ? (xe = 3 + li(t, u, 3), u += 2, ue = Z[T - 1]) : _ == 17 ? (xe = 3 + li(t, u, 7), u += 3) : _ == 18 && (xe = 11 + li(t, u, 127), u += 7); xe--; )
|
|
72349
72347
|
Z[T++] = ue;
|
|
72350
72348
|
}
|
|
72351
72349
|
}
|
|
72352
72350
|
var ge = Z.subarray(0, H), Be = Z.subarray(H);
|
|
72353
72351
|
v = oy(ge), C = oy(Be), p = Zi(ge, v, 1), f = Zi(Be, C, 1);
|
|
72354
72352
|
} else
|
|
72355
|
-
|
|
72353
|
+
ui(1);
|
|
72356
72354
|
else {
|
|
72357
72355
|
var _ = Kb(u) + 4, O = t[_ - 4] | t[_ - 3] << 8, K = _ + O;
|
|
72358
72356
|
if (K > n) {
|
|
72359
|
-
d &&
|
|
72357
|
+
d && ui(0);
|
|
72360
72358
|
break;
|
|
72361
72359
|
}
|
|
72362
72360
|
a && l(h + O), r.set(t.subarray(_, K), h), e.b = h += O, e.p = u = K * 8, e.f = c;
|
|
72363
72361
|
continue;
|
|
72364
72362
|
}
|
|
72365
72363
|
if (u > b) {
|
|
72366
|
-
d &&
|
|
72364
|
+
d && ui(0);
|
|
72367
72365
|
break;
|
|
72368
72366
|
}
|
|
72369
72367
|
}
|
|
@@ -72371,10 +72369,10 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72371
72369
|
for (var ae = (1 << v) - 1, Ce = (1 << C) - 1, E = u; ; E = u) {
|
|
72372
72370
|
var ue = p[ay(t, u) & ae], M = ue >> 4;
|
|
72373
72371
|
if (u += ue & 15, u > b) {
|
|
72374
|
-
d &&
|
|
72372
|
+
d && ui(0);
|
|
72375
72373
|
break;
|
|
72376
72374
|
}
|
|
72377
|
-
if (ue ||
|
|
72375
|
+
if (ue || ui(2), M < 256)
|
|
72378
72376
|
r[h++] = M;
|
|
72379
72377
|
else if (M == 256) {
|
|
72380
72378
|
E = u, p = null;
|
|
@@ -72383,24 +72381,24 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72383
72381
|
var G = M - 254;
|
|
72384
72382
|
if (M > 264) {
|
|
72385
72383
|
var T = M - 257, ee = Hm[T];
|
|
72386
|
-
G =
|
|
72384
|
+
G = li(t, u, (1 << ee) - 1) + FC[T], u += ee;
|
|
72387
72385
|
}
|
|
72388
72386
|
var re = f[ay(t, u) & Ce], ce = re >> 4;
|
|
72389
|
-
re ||
|
|
72387
|
+
re || ui(3), u += re & 15;
|
|
72390
72388
|
var Be = XK[ce];
|
|
72391
72389
|
if (ce > 3) {
|
|
72392
72390
|
var ee = Vm[ce];
|
|
72393
72391
|
Be += ay(t, u) & (1 << ee) - 1, u += ee;
|
|
72394
72392
|
}
|
|
72395
72393
|
if (u > b) {
|
|
72396
|
-
d &&
|
|
72394
|
+
d && ui(0);
|
|
72397
72395
|
break;
|
|
72398
72396
|
}
|
|
72399
72397
|
a && l(h + 131072);
|
|
72400
72398
|
var ye = h + G;
|
|
72401
72399
|
if (h < Be) {
|
|
72402
72400
|
var ve = i - Be, Qe = Math.min(Be, ye);
|
|
72403
|
-
for (ve + h < 0 &&
|
|
72401
|
+
for (ve + h < 0 && ui(3); h < Qe; ++h)
|
|
72404
72402
|
r[h] = s[ve + h];
|
|
72405
72403
|
}
|
|
72406
72404
|
for (; h < ye; ++h)
|
|
@@ -72615,7 +72613,7 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72615
72613
|
n.p(e.dictionary), RC(t, 2, n.d());
|
|
72616
72614
|
}
|
|
72617
72615
|
}, lG = function(t, e) {
|
|
72618
|
-
return ((t[0] & 15) != 8 || t[0] >> 4 > 7 || (t[0] << 8 | t[1]) % 31) &&
|
|
72616
|
+
return ((t[0] & 15) != 8 || t[0] >> 4 > 7 || (t[0] << 8 | t[1]) % 31) && ui(6, "invalid zlib data"), (t[1] >> 5 & 1) == +!e && ui(6, "invalid zlib data: " + (t[1] & 32 ? "need" : "unexpected") + " dictionary"), (t[1] >> 3 & 4) + 2;
|
|
72619
72617
|
};
|
|
72620
72618
|
function e2(t, e) {
|
|
72621
72619
|
e || (e = {});
|
|
@@ -73090,7 +73088,7 @@ function pt(t) {
|
|
|
73090
73088
|
}, ee = p.__private__.padd2Hex = function(m) {
|
|
73091
73089
|
return ("00" + (m = m.toString())).substr(m.length);
|
|
73092
73090
|
}, re = 0, ce = [], ye = [], ve = 0, Qe = [], ze = [], Oe = !1, Me = ye, ot = function() {
|
|
73093
|
-
re = 0, ve = 0, ye = [], ce = [], Qe = [], go = Qr(),
|
|
73091
|
+
re = 0, ve = 0, ye = [], ce = [], Qe = [], go = Qr(), Zn = Qr();
|
|
73094
73092
|
};
|
|
73095
73093
|
p.__private__.setCustomOutputDestination = function(m) {
|
|
73096
73094
|
Oe = !0, Me = m;
|
|
@@ -73173,7 +73171,7 @@ function pt(t) {
|
|
|
73173
73171
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
73174
73172
|
return Xe[m] = S;
|
|
73175
73173
|
};
|
|
73176
|
-
var Ct, Ye, Gr, Lt,
|
|
73174
|
+
var Ct, Ye, Gr, Lt, Wn, sr = {}, gr = {}, Di = [], Kt = {}, kl = {}, yr = {}, Jn = {}, po = null, vr = 0, vt = [], Gt = new G6(p), Bl = t.hotfixes || [], ds = {}, Ri = {}, Qi = [], ut = function m(S, Y, te, Ae, _e, Re) {
|
|
73177
73175
|
if (!(this instanceof m))
|
|
73178
73176
|
return new m(S, Y, te, Ae, _e, Re);
|
|
73179
73177
|
isNaN(S) && (S = 1), isNaN(Y) && (Y = 0), isNaN(te) && (te = 0), isNaN(Ae) && (Ae = 1), isNaN(_e) && (_e = 0), isNaN(Re) && (Re = 0), this._matrix = [S, Y, te, Ae, _e, Re];
|
|
@@ -73259,7 +73257,7 @@ function pt(t) {
|
|
|
73259
73257
|
var m = this.sx, S = this.shy, Y = this.shx, te = this.sy, Ae = this.tx, _e = this.ty;
|
|
73260
73258
|
return new ut(m, S, Y, te, Ae, _e);
|
|
73261
73259
|
}, p.Matrix = ut;
|
|
73262
|
-
var
|
|
73260
|
+
var Xn = p.matrixMult = function(m, S) {
|
|
73263
73261
|
return S.multiply(m);
|
|
73264
73262
|
}, Ni = new ut(1, 0, 0, 1, 0, 0);
|
|
73265
73263
|
p.unitMatrix = p.identityMatrix = Ni;
|
|
@@ -73289,7 +73287,7 @@ function pt(t) {
|
|
|
73289
73287
|
}, Ld = p.__private__.newAdditionalObject = function() {
|
|
73290
73288
|
var m = { objId: Qr(), content: "" };
|
|
73291
73289
|
return Qe.push(m), m;
|
|
73292
|
-
}, go = Qr(),
|
|
73290
|
+
}, go = Qr(), Zn = Qr(), $n = p.__private__.decodeColorString = function(m) {
|
|
73293
73291
|
var S = m.split(" ");
|
|
73294
73292
|
if (S.length !== 2 || S[1] !== "g" && S[1] !== "G")
|
|
73295
73293
|
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"]);
|
|
@@ -73300,7 +73298,7 @@ function pt(t) {
|
|
|
73300
73298
|
for (var te = "#", Ae = 0; Ae < 3; Ae++)
|
|
73301
73299
|
te += ("0" + Math.floor(255 * parseFloat(S[Ae])).toString(16)).slice(-2);
|
|
73302
73300
|
return te;
|
|
73303
|
-
},
|
|
73301
|
+
}, ei = p.__private__.encodeColorString = function(m) {
|
|
73304
73302
|
var S;
|
|
73305
73303
|
typeof m == "string" && (m = { ch1: m });
|
|
73306
73304
|
var Y = m.ch1, te = m.ch2, Ae = m.ch3, _e = m.ch4, Re = m.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
|
|
@@ -73393,7 +73391,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73393
73391
|
for (m = 1; m <= vr; m++)
|
|
73394
73392
|
vt[m].objId = Qr(), vt[m].contentsObjId = Qr();
|
|
73395
73393
|
for (m = 1; m <= vr; m++)
|
|
73396
|
-
Y.push(Li({ number: m, data: ze[m], objId: vt[m].objId, contentsObjId: vt[m].contentsObjId, mediaBox: vt[m].mediaBox, cropBox: vt[m].cropBox, bleedBox: vt[m].bleedBox, trimBox: vt[m].trimBox, artBox: vt[m].artBox, userUnit: vt[m].userUnit, rootDictionaryObjId: go, resourceDictionaryObjId:
|
|
73394
|
+
Y.push(Li({ number: m, data: ze[m], objId: vt[m].objId, contentsObjId: vt[m].contentsObjId, mediaBox: vt[m].mediaBox, cropBox: vt[m].cropBox, bleedBox: vt[m].bleedBox, trimBox: vt[m].trimBox, artBox: vt[m].artBox, userUnit: vt[m].userUnit, rootDictionaryObjId: go, resourceDictionaryObjId: Zn }));
|
|
73397
73395
|
dn(go, !0), X("<</Type /Pages");
|
|
73398
73396
|
var te = "/Kids [";
|
|
73399
73397
|
for (S = 0; S < vr; S++)
|
|
@@ -73495,7 +73493,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73495
73493
|
dn(m.resourcesOid, !0), X("<<"), X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), Kp(), $m(), Gd(m.objectOid), e0(), RA(), X(">>"), X("endobj");
|
|
73496
73494
|
}, Gp = function() {
|
|
73497
73495
|
var m = [];
|
|
73498
|
-
qd(), Xm(), Vd(), Kd(m), Gt.publish("putResources"), m.forEach(jr), jr({ resourcesOid:
|
|
73496
|
+
qd(), Xm(), Vd(), Kd(m), Gt.publish("putResources"), m.forEach(jr), jr({ resourcesOid: Zn, objectOid: Number.MAX_SAFE_INTEGER }), Gt.publish("postPutResources");
|
|
73499
73497
|
}, Yp = function() {
|
|
73500
73498
|
Gt.publish("putAdditionalObjects");
|
|
73501
73499
|
for (var m = 0; m < Qe.length; m++) {
|
|
@@ -73516,7 +73514,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73516
73514
|
Wp({ id: te, fontName: Ae[0], fontStyle: Ae[1] || "" });
|
|
73517
73515
|
}
|
|
73518
73516
|
Gt.publish("addFonts", { fonts: sr, dictionary: gr });
|
|
73519
|
-
},
|
|
73517
|
+
}, ti = function(m) {
|
|
73520
73518
|
return m.foo = function() {
|
|
73521
73519
|
try {
|
|
73522
73520
|
return m.apply(this, arguments);
|
|
@@ -73560,7 +73558,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73560
73558
|
case "p":
|
|
73561
73559
|
te > Ae && (n = [Ae, te]);
|
|
73562
73560
|
}
|
|
73563
|
-
NA(n), sg(qA), X(
|
|
73561
|
+
NA(n), sg(qA), X(ri), VA !== 0 && X(VA + " J"), KA !== 0 && X(KA + " j"), Gt.publish("addPage", { pageNumber: vr });
|
|
73564
73562
|
}, r0 = function(m) {
|
|
73565
73563
|
m > 0 && m <= vr && (ze.splice(m, 1), vt.splice(m, 1), vr--, M > vr && (M = vr), this.setPage(M));
|
|
73566
73564
|
}, Xp = function(m) {
|
|
@@ -73627,7 +73625,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73627
73625
|
`);
|
|
73628
73626
|
}, Wd = p.__private__.getBlob = function(m) {
|
|
73629
73627
|
return new Blob([D(m)], { type: "application/pdf" });
|
|
73630
|
-
}, Jd = p.output = p.__private__.output =
|
|
73628
|
+
}, Jd = p.output = p.__private__.output = ti(function(m, S) {
|
|
73631
73629
|
switch (typeof (S = S || {}) == "string" ? S = { filename: S } : S.filename = S.filename || "generated.pdf", m) {
|
|
73632
73630
|
case void 0:
|
|
73633
73631
|
return ho();
|
|
@@ -73770,7 +73768,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73770
73768
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
73771
73769
|
if (m.length === 0)
|
|
73772
73770
|
return Nr;
|
|
73773
|
-
var ts = "",
|
|
73771
|
+
var ts = "", si = !1, cn = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : jl, Hi = Nr.internal.scaleFactor;
|
|
73774
73772
|
function dg(ar) {
|
|
73775
73773
|
return ar = ar.split(" ").join(Array(te.TabLen || 9).join(" ")), Xs(ar, Nt);
|
|
73776
73774
|
}
|
|
@@ -73912,23 +73910,23 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73912
73910
|
var pg = typeof te.R2L == "boolean" ? te.R2L : he;
|
|
73913
73911
|
pg === !0 && (m = ZA(m, function(ar, lr, _r) {
|
|
73914
73912
|
return [ar.split("").reverse().join(""), lr, _r];
|
|
73915
|
-
})), _e = { text: m, x: S, y: Y, options: te, mutex: { pdfEscape: Xs, activeFontKey: Ct, fonts: sr, activeFontSize: x } }, Gt.publish("postProcessText", _e), m = _e.text,
|
|
73913
|
+
})), _e = { text: m, x: S, y: Y, options: te, mutex: { pdfEscape: Xs, activeFontKey: Ct, fonts: sr, activeFontSize: x } }, Gt.publish("postProcessText", _e), m = _e.text, si = _e.mutex.isHex || !1;
|
|
73916
73914
|
var nu = sr[Ct].encoding;
|
|
73917
73915
|
nu !== "WinAnsiEncoding" && nu !== "StandardEncoding" || (m = ZA(m, function(ar, lr, _r) {
|
|
73918
73916
|
return [dg(ar), lr, _r];
|
|
73919
73917
|
})), Re = XA(m), m = [];
|
|
73920
73918
|
for (var Fl, Ul, pa, zl = 0, cc = 1, Tl = Array.isArray(Re[0]) ? cc : zl, ga = "", iu = function(ar, lr, _r) {
|
|
73921
73919
|
var Wr = "";
|
|
73922
|
-
return _r instanceof ut ? (_r = typeof te.angle == "number" ?
|
|
73920
|
+
return _r instanceof ut ? (_r = typeof te.angle == "number" ? Xn(_r, new ut(1, 0, 0, 1, ar, lr)) : Xn(new ut(1, 0, 0, 1, ar, lr), _r), _ === B.ADVANCED && (_r = Xn(new ut(1, 0, 0, -1, 0, 0), _r)), Wr = _r.join(" ") + ` Tm
|
|
73923
73921
|
`) : Wr = q(ar) + " " + q(lr) + ` Td
|
|
73924
73922
|
`, Wr;
|
|
73925
73923
|
}, In = 0; In < Re.length; In++) {
|
|
73926
73924
|
switch (ga = "", Tl) {
|
|
73927
73925
|
case cc:
|
|
73928
|
-
pa = (
|
|
73926
|
+
pa = (si ? "<" : "(") + Re[In][0] + (si ? ">" : ")"), Fl = parseFloat(Re[In][1]), Ul = parseFloat(Re[In][2]);
|
|
73929
73927
|
break;
|
|
73930
73928
|
case zl:
|
|
73931
|
-
pa = (
|
|
73929
|
+
pa = (si ? "<" : "(") + Re[In] + (si ? ">" : ")"), Fl = qi(S), Ul = mo(Y);
|
|
73932
73930
|
}
|
|
73933
73931
|
Aa !== void 0 && Aa[In] !== void 0 && (ga = Aa[In] + ` Tw
|
|
73934
73932
|
`), In === 0 ? m.push(ga + iu(Fl, Ul, br) + pa) : Tl === zl ? m.push(ga + pa) : Tl === cc && m.push(ga + iu(Fl, Ul, br) + pa);
|
|
@@ -74041,8 +74039,8 @@ T* `) : m.join(` Tj
|
|
|
74041
74039
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
74042
74040
|
return _ === B.COMPAT ? this.lines([[Y - m, te - S]], m, S, [1, 1], Ae || "S") : this.lines([[Y - m, te - S]], m, S, [1, 1]).stroke();
|
|
74043
74041
|
}, p.__private__.lines = p.lines = function(m, S, Y, te, Ae, _e) {
|
|
74044
|
-
var Re, Je, lt, kt, bt, Nt, mr, br, Nr, Cs, ts,
|
|
74045
|
-
if (typeof m == "number" && (
|
|
74042
|
+
var Re, Je, lt, kt, bt, Nt, mr, br, Nr, Cs, ts, si;
|
|
74043
|
+
if (typeof m == "number" && (si = Y, Y = S, S = m, m = si), te = te || [1, 1], _e = _e || !1, isNaN(S) || isNaN(Y) || !Array.isArray(m) || !Array.isArray(te) || !Mi(Ae) || typeof _e != "boolean")
|
|
74046
74044
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
74047
74045
|
for (MA(S, Y), Re = te[0], Je = te[1], kt = m.length, Cs = S, ts = Y, lt = 0; lt < kt; lt++)
|
|
74048
74046
|
(bt = m[lt]).length === 2 ? (Cs = bt[0] * Re + Cs, ts = bt[1] * Je + ts, El(Cs, ts)) : (Nt = bt[0] * Re + Cs, mr = bt[1] * Je + ts, br = bt[2] * Re + Cs, Nr = bt[3] * Je + ts, Cs = bt[4] * Re + Cs, ts = bt[5] * Je + ts, la(Nt, mr, br, Nr, Cs, ts));
|
|
@@ -74136,23 +74134,23 @@ T* `) : m.join(` Tj
|
|
|
74136
74134
|
return q(qi(m));
|
|
74137
74135
|
}, da = p.__private__.getVerticalCoordinateString = p.getVerticalCoordinateString = function(m) {
|
|
74138
74136
|
return q(mo(m));
|
|
74139
|
-
},
|
|
74137
|
+
}, ri = t.strokeColor || "0 G";
|
|
74140
74138
|
p.__private__.getStrokeColor = p.getDrawColor = function() {
|
|
74141
|
-
return
|
|
74139
|
+
return $n(ri);
|
|
74142
74140
|
}, p.__private__.setStrokeColor = p.setDrawColor = function(m, S, Y, te) {
|
|
74143
|
-
return
|
|
74141
|
+
return ri = ei({ ch1: m, ch2: S, ch3: Y, ch4: te, pdfColorType: "draw", precision: 2 }), X(ri), this;
|
|
74144
74142
|
};
|
|
74145
74143
|
var HA = t.fillColor || "0 g";
|
|
74146
74144
|
p.__private__.getFillColor = p.getFillColor = function() {
|
|
74147
|
-
return
|
|
74145
|
+
return $n(HA);
|
|
74148
74146
|
}, p.__private__.setFillColor = p.setFillColor = function(m, S, Y, te) {
|
|
74149
|
-
return HA =
|
|
74147
|
+
return HA = ei({ ch1: m, ch2: S, ch3: Y, ch4: te, pdfColorType: "fill", precision: 2 }), X(HA), this;
|
|
74150
74148
|
};
|
|
74151
74149
|
var Sl = t.textColor || "0 g", m0 = p.__private__.getTextColor = p.getTextColor = function() {
|
|
74152
|
-
return
|
|
74150
|
+
return $n(Sl);
|
|
74153
74151
|
};
|
|
74154
74152
|
p.__private__.setTextColor = p.setTextColor = function(m, S, Y, te) {
|
|
74155
|
-
return Sl =
|
|
74153
|
+
return Sl = ei({ ch1: m, ch2: S, ch3: Y, ch4: te, pdfColorType: "text", precision: 3 }), this;
|
|
74156
74154
|
};
|
|
74157
74155
|
var $d = t.charSpace, f0 = p.__private__.getCharSpace = p.getCharSpace = function() {
|
|
74158
74156
|
return parseFloat($d || 0);
|
|
@@ -74180,10 +74178,10 @@ T* `) : m.join(` Tj
|
|
|
74180
74178
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
74181
74179
|
return X(q(N(m)) + " M"), this;
|
|
74182
74180
|
}, p.GState = Y1, p.setGState = function(m) {
|
|
74183
|
-
(m = typeof m == "string" ? yr[
|
|
74181
|
+
(m = typeof m == "string" ? yr[Jn[m]] : ag(null, m)).equals(po) || (X("/" + m.id + " gs"), po = m);
|
|
74184
74182
|
};
|
|
74185
74183
|
var ag = function(m, S) {
|
|
74186
|
-
if (!m || !
|
|
74184
|
+
if (!m || !Jn[m]) {
|
|
74187
74185
|
var Y = !1;
|
|
74188
74186
|
for (var te in yr)
|
|
74189
74187
|
if (yr.hasOwnProperty(te) && yr[te].equals(S)) {
|
|
@@ -74196,7 +74194,7 @@ T* `) : m.join(` Tj
|
|
|
74196
74194
|
var Ae = "GS" + (Object.keys(yr).length + 1).toString(10);
|
|
74197
74195
|
yr[Ae] = S, S.id = Ae;
|
|
74198
74196
|
}
|
|
74199
|
-
return m && (
|
|
74197
|
+
return m && (Jn[m] = S.id), Gt.publish("addGState", S), S;
|
|
74200
74198
|
}
|
|
74201
74199
|
};
|
|
74202
74200
|
p.addGState = function(m, S) {
|
|
@@ -74246,13 +74244,13 @@ T* `) : m.join(` Tj
|
|
|
74246
74244
|
isNaN(Re) || (_e = parseFloat(Re));
|
|
74247
74245
|
} }), this;
|
|
74248
74246
|
}, YA = function() {
|
|
74249
|
-
this.page = vr, this.currentPage = M, this.pages = ze.slice(0), this.pagesContext = vt.slice(0), this.x = Gr, this.y = Lt, this.matrix =
|
|
74247
|
+
this.page = vr, this.currentPage = M, this.pages = ze.slice(0), this.pagesContext = vt.slice(0), this.x = Gr, this.y = Lt, this.matrix = Wn, this.width = _l(M), this.height = ca(M), this.outputDestination = Me, this.id = "", this.objectNumber = -1;
|
|
74250
74248
|
};
|
|
74251
74249
|
YA.prototype.restore = function() {
|
|
74252
|
-
vr = this.page, M = this.currentPage, vt = this.pagesContext, ze = this.pages, Gr = this.x, Lt = this.y,
|
|
74250
|
+
vr = this.page, M = this.currentPage, vt = this.pagesContext, ze = this.pages, Gr = this.x, Lt = this.y, Wn = this.matrix, WA(M, this.width), JA(M, this.height), Me = this.outputDestination;
|
|
74253
74251
|
};
|
|
74254
74252
|
var lg = function(m, S, Y, te, Ae) {
|
|
74255
|
-
Qi.push(new YA()), vr = M = 0, ze = [], Gr = m, Lt = S,
|
|
74253
|
+
Qi.push(new YA()), vr = M = 0, ze = [], Gr = m, Lt = S, Wn = Ae, NA([Y, te]);
|
|
74256
74254
|
}, y0 = function(m) {
|
|
74257
74255
|
if (Ri[m])
|
|
74258
74256
|
Qi.pop().restore();
|
|
@@ -76284,8 +76282,8 @@ var _h, $6, ex, py = ["times"];
|
|
|
76284
76282
|
}
|
|
76285
76283
|
var Lt = JSON.parse(JSON.stringify(x));
|
|
76286
76284
|
Lt = B([Lt], this.posX + this.margin[3], -Ye + ft + this.ctx.prevPageLastElemOffset)[0];
|
|
76287
|
-
var
|
|
76288
|
-
|
|
76285
|
+
var Wn = (rt > ke || rt < Ge) && v.call(this);
|
|
76286
|
+
Wn && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], at, Ct, null).clip().discardPath()), this.pdf.addImage(E, "JPEG", Lt.x, Lt.y, Lt.w, Lt.h, null, null, D), Wn && this.pdf.restoreGraphicsState();
|
|
76289
76287
|
}
|
|
76290
76288
|
else
|
|
76291
76289
|
this.pdf.addImage(E, "JPEG", x.x, x.y, x.w, x.h, null, null, D);
|
|
@@ -77498,20 +77496,20 @@ function gy(t) {
|
|
|
77498
77496
|
var Q, $, he, ke, Ge, rt, at, ft, Xe, Ct, Ye = 0;
|
|
77499
77497
|
for (Xe = 0; Xe < 8; ++Xe) {
|
|
77500
77498
|
Q = w[Ye], $ = w[Ye + 1], he = w[Ye + 2], ke = w[Ye + 3], Ge = w[Ye + 4], rt = w[Ye + 5], at = w[Ye + 6];
|
|
77501
|
-
var Gr = Q + (ft = w[Ye + 7]), Lt = Q - ft,
|
|
77499
|
+
var Gr = Q + (ft = w[Ye + 7]), Lt = Q - ft, Wn = $ + at, sr = $ - at, gr = he + rt, Di = he - rt, Kt = ke + Ge, kl = ke - Ge, yr = Gr + Kt, Jn = Gr - Kt, po = Wn + gr, vr = Wn - gr;
|
|
77502
77500
|
w[Ye] = yr + po, w[Ye + 4] = yr - po;
|
|
77503
|
-
var vt = 0.707106781 * (vr +
|
|
77504
|
-
w[Ye + 2] =
|
|
77501
|
+
var vt = 0.707106781 * (vr + Jn);
|
|
77502
|
+
w[Ye + 2] = Jn + vt, w[Ye + 6] = Jn - vt;
|
|
77505
77503
|
var Gt = 0.382683433 * ((yr = kl + Di) - (vr = sr + Lt)), Bl = 0.5411961 * yr + Gt, ds = 1.306562965 * vr + Gt, Ri = 0.707106781 * (po = Di + sr), Qi = Lt + Ri, ut = Lt - Ri;
|
|
77506
77504
|
w[Ye + 5] = ut + Bl, w[Ye + 3] = ut - Bl, w[Ye + 1] = Qi + ds, w[Ye + 7] = Qi - ds, Ye += 8;
|
|
77507
77505
|
}
|
|
77508
77506
|
for (Ye = 0, Xe = 0; Xe < 8; ++Xe) {
|
|
77509
77507
|
Q = w[Ye], $ = w[Ye + 8], he = w[Ye + 16], ke = w[Ye + 24], Ge = w[Ye + 32], rt = w[Ye + 40], at = w[Ye + 48];
|
|
77510
|
-
var
|
|
77511
|
-
w[Ye] =
|
|
77512
|
-
var jn = 0.707106781 * (Oi +
|
|
77513
|
-
w[Ye + 16] =
|
|
77514
|
-
var Li = 0.382683433 * ((
|
|
77508
|
+
var Xn = Q + (ft = w[Ye + 56]), Ni = Q - ft, Js = $ + at, Yr = $ - at, Qr = he + rt, dn = he - rt, Ld = ke + Ge, go = ke - Ge, Zn = Xn + Ld, $n = Xn - Ld, ei = Js + Qr, Oi = Js - Qr;
|
|
77509
|
+
w[Ye] = Zn + ei, w[Ye + 32] = Zn - ei;
|
|
77510
|
+
var jn = 0.707106781 * (Oi + $n);
|
|
77511
|
+
w[Ye + 16] = $n + jn, w[Ye + 48] = $n - jn;
|
|
77512
|
+
var Li = 0.382683433 * ((Zn = go + dn) - (Oi = Yr + Ni)), Cl = 0.5411961 * Zn + Li, Md = 1.306562965 * Oi + Li, qd = 0.707106781 * (ei = dn + Yr), Hd = Ni + qd, Vd = Ni - qd;
|
|
77515
77513
|
w[Ye + 40] = Vd + Cl, w[Ye + 24] = Vd - Cl, w[Ye + 8] = Hd + Md, w[Ye + 56] = Hd - Md, Ye++;
|
|
77516
77514
|
}
|
|
77517
77515
|
for (Xe = 0; Xe < 64; ++Xe)
|
|
@@ -77624,7 +77622,7 @@ function gy(t) {
|
|
|
77624
77622
|
* Licensed under the MIT License.
|
|
77625
77623
|
* http://opensource.org/licenses/mit-license
|
|
77626
77624
|
*/
|
|
77627
|
-
function
|
|
77625
|
+
function di(t, e) {
|
|
77628
77626
|
if (this.pos = 0, this.buffer = t, this.datav = new DataView(t.buffer), this.is_with_alpha = !!e, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1)
|
|
77629
77627
|
throw new Error("Invalid BMP File");
|
|
77630
77628
|
this.parseHeader(), this.parseBGR();
|
|
@@ -77905,7 +77903,7 @@ function ix(t) {
|
|
|
77905
77903
|
k[j++] = I, k[j++] = U;
|
|
77906
77904
|
}
|
|
77907
77905
|
}
|
|
77908
|
-
function
|
|
77906
|
+
function Wn(A, g, y, k, j) {
|
|
77909
77907
|
for (y = g + y; g < y; ) {
|
|
77910
77908
|
var I = (U = A[g++]) >> 16 & 248 | U >> 13 & 7, U = U >> 5 & 224 | U >> 3 & 31;
|
|
77911
77909
|
k[j++] = I, k[j++] = U;
|
|
@@ -77936,7 +77934,7 @@ function ix(t) {
|
|
|
77936
77934
|
function yr() {
|
|
77937
77935
|
this.y = [], this.f = [], this.ea = [], this.F = [], this.Tc = this.Ed = this.Cd = this.Fd = this.lb = this.Db = this.Ab = this.fa = this.J = this.W = this.N = this.O = 0;
|
|
77938
77936
|
}
|
|
77939
|
-
function
|
|
77937
|
+
function Jn() {
|
|
77940
77938
|
this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new kl(), this.f.kb = new yr(), this.sd = null;
|
|
77941
77939
|
}
|
|
77942
77940
|
function po() {
|
|
@@ -78002,7 +78000,7 @@ function ix(t) {
|
|
|
78002
78000
|
function ut(A, g, y, k) {
|
|
78003
78001
|
return ae(A, 8) != 47 ? 0 : (g[0] = ae(A, 14) + 1, y[0] = ae(A, 14) + 1, k[0] = ae(A, 1), ae(A, 3) != 0 ? 0 : !A.h);
|
|
78004
78002
|
}
|
|
78005
|
-
function
|
|
78003
|
+
function Xn(A, g) {
|
|
78006
78004
|
if (4 > A)
|
|
78007
78005
|
return A + 1;
|
|
78008
78006
|
var y = A - 2 >> 1;
|
|
@@ -78138,7 +78136,7 @@ function ix(t) {
|
|
|
78138
78136
|
}
|
|
78139
78137
|
return 1;
|
|
78140
78138
|
}
|
|
78141
|
-
function
|
|
78139
|
+
function Zn(A, g, y, k, j, I) {
|
|
78142
78140
|
if (A.Z != 0) {
|
|
78143
78141
|
var U = A.qd, z = A.rd;
|
|
78144
78142
|
for (e(ma[A.Z] != null); g < y; ++g)
|
|
@@ -78146,15 +78144,15 @@ function ix(t) {
|
|
|
78146
78144
|
A.qd = U, A.rd = z;
|
|
78147
78145
|
}
|
|
78148
78146
|
}
|
|
78149
|
-
function
|
|
78147
|
+
function $n(A, g) {
|
|
78150
78148
|
var y = A.l.ma, k = y.Z == 0 || y.Z == 1 ? A.l.j : A.C;
|
|
78151
78149
|
if (k = A.C < k ? k : A.C, e(g <= A.l.o), g > k) {
|
|
78152
78150
|
var j = A.l.width, I = y.ca, U = y.tb + j * k, z = A.V, R = A.Ba + A.c * k, V = A.gc;
|
|
78153
|
-
e(A.ab == 1), e(V[0].hc == 3), Ag(V[0], k, g, z, R, I, U),
|
|
78151
|
+
e(A.ab == 1), e(V[0].hc == 3), Ag(V[0], k, g, z, R, I, U), Zn(y, k, g, I, U, j);
|
|
78154
78152
|
}
|
|
78155
78153
|
A.C = A.Ma = g;
|
|
78156
78154
|
}
|
|
78157
|
-
function
|
|
78155
|
+
function ei(A, g, y, k, j, I, U) {
|
|
78158
78156
|
var z = A.$ / k, R = A.$ % k, V = A.m, se = A.s, me = y + A.$, fe = me;
|
|
78159
78157
|
j = y + k * j;
|
|
78160
78158
|
var le = y + k * I, Ue = 280 + se.ua, je = A.Pb ? z : 16777216, ne = 0 < se.ua ? se.Wa : null, ie = se.wc, Ie = me < le ? Qr(se, R, z) : null;
|
|
@@ -78190,7 +78188,7 @@ function ix(t) {
|
|
|
78190
78188
|
for (; fe < me; )
|
|
78191
78189
|
Fe = g[fe++], ne.X[(506832829 * Fe & 4294967295) >>> ne.Mb] = Fe;
|
|
78192
78190
|
} else if (280 > Fe) {
|
|
78193
|
-
if (Fe =
|
|
78191
|
+
if (Fe = Xn(Fe - 256, V), Ze = Js(Ie.G[4], Ie.H[4], V), re(V), Ze = Ni(k, Ze = Xn(Ze, V)), V.h)
|
|
78194
78192
|
break;
|
|
78195
78193
|
if (me - y < Ze || j - me < Fe)
|
|
78196
78194
|
break e;
|
|
@@ -78228,7 +78226,7 @@ function ix(t) {
|
|
|
78228
78226
|
}
|
|
78229
78227
|
function jn() {
|
|
78230
78228
|
var A = new y0();
|
|
78231
|
-
return A == null ? null : (A.a = 0, A.xb = ew, Di("Predictor", "VP8LPredictors"), Di("Predictor", "VP8LPredictors_C"), Di("PredictorAdd", "VP8LPredictorsAdd"), Di("PredictorAdd", "VP8LPredictorsAdd_C"), cg = at, Il = Xe, $s = Ye, Ds = Gr, ua = Lt, fo =
|
|
78229
|
+
return A == null ? null : (A.a = 0, A.xb = ew, Di("Predictor", "VP8LPredictors"), Di("Predictor", "VP8LPredictors_C"), Di("PredictorAdd", "VP8LPredictorsAdd"), Di("PredictorAdd", "VP8LPredictorsAdd_C"), cg = at, Il = Xe, $s = Ye, Ds = Gr, ua = Lt, fo = Wn, yo = sr, L.VP8LMapColor32b = ac, L.VP8LMapColor8b = ug, A);
|
|
78232
78230
|
}
|
|
78233
78231
|
function Li(A, g, y, k, j) {
|
|
78234
78232
|
var I = 1, U = [A], z = [g], R = k.m, V = k.s, se = null, me = 0;
|
|
@@ -78307,7 +78305,7 @@ function ix(t) {
|
|
|
78307
78305
|
}
|
|
78308
78306
|
var Cg = S0;
|
|
78309
78307
|
for ($t = Or = 0; $t < Qs; ++$t) {
|
|
78310
|
-
var
|
|
78308
|
+
var ii = Bg[$t], pc = ii.G, gc = ii.H, Aw = 0, Eg = 1, uw = 0;
|
|
78311
78309
|
for (Et = 0; 5 > Et; ++Et) {
|
|
78312
78310
|
wr = Zb[Et], pc[Et] = Cg, gc[Et] = Or, !Et && 0 < Jt && (wr += 1 << Jt);
|
|
78313
78311
|
n: {
|
|
@@ -78365,8 +78363,8 @@ function ix(t) {
|
|
|
78365
78363
|
uw += z0;
|
|
78366
78364
|
}
|
|
78367
78365
|
}
|
|
78368
|
-
if (
|
|
78369
|
-
var Ug, ko =
|
|
78366
|
+
if (ii.nd = Eg, ii.Qb = 0, Eg && (ii.qb = (pc[3][gc[3] + 0].value << 24 | pc[1][gc[1] + 0].value << 16 | pc[2][gc[2] + 0].value) >>> 0, Aw == 0 && 256 > pc[0][gc[0] + 0].value && (ii.Qb = 1, ii.qb += pc[0][gc[0] + 0].value << 8)), ii.jc = !ii.Qb && 6 > uw, ii.jc) {
|
|
78367
|
+
var Ug, ko = ii;
|
|
78370
78368
|
for (Ug = 0; Ug < cs; ++Ug) {
|
|
78371
78369
|
var ba = Ug, wa = ko.pd[ba], zg = ko.G[0][ko.H[0] + ba];
|
|
78372
78370
|
256 <= zg.value ? (wa.g = zg.g + 256, wa.value = zg.value) : (wa.g = 0, wa.value = 0, ba >>= Yr(zg, 8, wa), ba >>= Yr(ko.G[1][ko.H[1] + ba], 16, wa), ba >>= Yr(ko.G[2][ko.H[2] + ba], 0, wa), Yr(ko.G[3][ko.H[3] + ba], 24, wa));
|
|
@@ -78398,7 +78396,7 @@ function ix(t) {
|
|
|
78398
78396
|
k.a = 1, I = 0;
|
|
78399
78397
|
break e;
|
|
78400
78398
|
}
|
|
78401
|
-
I = (I =
|
|
78399
|
+
I = (I = ei(k, se, 0, U, z, z, null)) && !R.h;
|
|
78402
78400
|
break e;
|
|
78403
78401
|
}
|
|
78404
78402
|
return I ? (j != null ? j[0] = se : (e(se == null), e(y)), k.$ = 0, y || Oi(V)) : Oi(V), I;
|
|
@@ -78411,7 +78409,7 @@ function ix(t) {
|
|
|
78411
78409
|
var y = A.C, k = g - y, j = A.V, I = A.Ba + A.c * y;
|
|
78412
78410
|
for (e(g <= A.l.o); 0 < k; ) {
|
|
78413
78411
|
var U = 16 < k ? 16 : k, z = A.l.ma, R = A.l.width, V = R * U, se = z.ca, me = z.tb + R * y, fe = A.Ta, le = A.Ua;
|
|
78414
|
-
dn(A, U, j, I), _r(fe, le, se, me, V),
|
|
78412
|
+
dn(A, U, j, I), _r(fe, le, se, me, V), Zn(z, y, y + U, se, me, R), k -= U, j += U * A.c, y += U;
|
|
78415
78413
|
}
|
|
78416
78414
|
e(y == g), A.C = A.Ma = g;
|
|
78417
78415
|
}
|
|
@@ -78656,7 +78654,7 @@ function ix(t) {
|
|
|
78656
78654
|
Ac[255 + y] = 0 > y ? 0 : 255 < y ? 255 : y;
|
|
78657
78655
|
gg = 1;
|
|
78658
78656
|
}
|
|
78659
|
-
lc = n0, vo = r0, su = Xp, Rs = s0, _n = Zp, Sr = Jp, dc = HA, pg = Sl, nu = f0, Fl = VA, Ul = m0, pa = $d, zl = KA, cc = ag, Tl = og, ga = qi, iu = mo, In = h0,
|
|
78657
|
+
lc = n0, vo = r0, su = Xp, Rs = s0, _n = Zp, Sr = Jp, dc = HA, pg = Sl, nu = f0, Fl = VA, Ul = m0, pa = $d, zl = KA, cc = ag, Tl = og, ga = qi, iu = mo, In = h0, ni[0] = Mi, ni[1] = i0, ni[2] = d0, ni[3] = c0, ni[4] = tg, ni[5] = Xd, ni[6] = rg, ni[7] = LA, ni[8] = u0, ni[9] = A0, ha[0] = $p, ha[1] = a0, ha[2] = ho, ha[3] = Wd, ha[4] = Bs, ha[5] = l0, ha[6] = eg, wo[0] = la, wo[1] = o0, wo[2] = p0, wo[3] = MA, wo[4] = jl, wo[5] = g0, wo[6] = qA, y = 1;
|
|
78660
78658
|
} else
|
|
78661
78659
|
y = 0;
|
|
78662
78660
|
}
|
|
@@ -78755,11 +78753,11 @@ function ix(t) {
|
|
|
78755
78753
|
}
|
|
78756
78754
|
return y ? (A.cb = 0, y) : 0;
|
|
78757
78755
|
}
|
|
78758
|
-
function
|
|
78756
|
+
function ti(A, g, y, k, j) {
|
|
78759
78757
|
j = A[g + y + 32 * k] + (j >> 3), A[g + y + 32 * k] = -256 & j ? 0 > j ? 0 : 255 : j;
|
|
78760
78758
|
}
|
|
78761
78759
|
function Yd(A, g, y, k, j, I) {
|
|
78762
|
-
|
|
78760
|
+
ti(A, g, 0, y, k + j), ti(A, g, 1, y, k + I), ti(A, g, 2, y, k - I), ti(A, g, 3, y, k - j);
|
|
78763
78761
|
}
|
|
78764
78762
|
function Xs(A) {
|
|
78765
78763
|
return (20091 * A >> 16) + A;
|
|
@@ -78771,7 +78769,7 @@ function ix(t) {
|
|
|
78771
78769
|
U[I + 0] = z + se, U[I + 1] = R + V, U[I + 2] = R - V, U[I + 3] = z - se, I += 4, g++;
|
|
78772
78770
|
}
|
|
78773
78771
|
for (j = I = 0; 4 > j; ++j)
|
|
78774
|
-
z = (A = U[I + 0] + 4) + U[I + 8], R = A - U[I + 8], V = (35468 * U[I + 4] >> 16) - Xs(U[I + 12]),
|
|
78772
|
+
z = (A = U[I + 0] + 4) + U[I + 8], R = A - U[I + 8], V = (35468 * U[I + 4] >> 16) - Xs(U[I + 12]), ti(y, k, 0, 0, z + (se = Xs(U[I + 4]) + (35468 * U[I + 12] >> 16))), ti(y, k, 1, 0, R + V), ti(y, k, 2, 0, R - V), ti(y, k, 3, 0, z - se), I++, k += 32;
|
|
78775
78773
|
}
|
|
78776
78774
|
function Jp(A, g, y, k) {
|
|
78777
78775
|
var j = A[g + 0] + 4, I = 35468 * A[g + 4] >> 16, U = Xs(A[g + 4]), z = 35468 * A[g + 1] >> 16;
|
|
@@ -78787,7 +78785,7 @@ function ix(t) {
|
|
|
78787
78785
|
var j;
|
|
78788
78786
|
for (A = A[g + 0] + 4, j = 0; 4 > j; ++j)
|
|
78789
78787
|
for (g = 0; 4 > g; ++g)
|
|
78790
|
-
|
|
78788
|
+
ti(y, k, g, j, A);
|
|
78791
78789
|
}
|
|
78792
78790
|
function Zp(A, g, y, k) {
|
|
78793
78791
|
A[g + 0] && Rs(A, g + 0, y, k), A[g + 16] && Rs(A, g + 16, y, k + 4), A[g + 32] && Rs(A, g + 32, y, k + 128), A[g + 48] && Rs(A, g + 48, y, k + 128 + 4);
|
|
@@ -78981,7 +78979,7 @@ function ix(t) {
|
|
|
78981
78979
|
g += k;
|
|
78982
78980
|
}
|
|
78983
78981
|
}
|
|
78984
|
-
function
|
|
78982
|
+
function ri(A, g, y, k, j, I, U, z) {
|
|
78985
78983
|
for (I = 2 * I + 1; 0 < j--; ) {
|
|
78986
78984
|
if (ig(A, g, y, I, U))
|
|
78987
78985
|
if (sg(A, g, y, z))
|
|
@@ -79002,12 +79000,12 @@ function ix(t) {
|
|
|
79002
79000
|
function m0(A, g, y, k, j, I) {
|
|
79003
79001
|
var U;
|
|
79004
79002
|
for (U = 3; 0 < U; --U)
|
|
79005
|
-
|
|
79003
|
+
ri(A, g += 4 * y, y, 1, 16, k, j, I);
|
|
79006
79004
|
}
|
|
79007
79005
|
function $d(A, g, y, k, j, I) {
|
|
79008
79006
|
var U;
|
|
79009
79007
|
for (U = 3; 0 < U; --U)
|
|
79010
|
-
|
|
79008
|
+
ri(A, g += 4, 1, y, 16, k, j, I);
|
|
79011
79009
|
}
|
|
79012
79010
|
function f0(A, g, y, k, j, I, U, z) {
|
|
79013
79011
|
da(A, g, j, 1, 8, I, U, z), da(y, k, j, 1, 8, I, U, z);
|
|
@@ -79016,13 +79014,13 @@ function ix(t) {
|
|
|
79016
79014
|
da(A, g, 1, j, 8, I, U, z), da(y, k, 1, j, 8, I, U, z);
|
|
79017
79015
|
}
|
|
79018
79016
|
function KA(A, g, y, k, j, I, U, z) {
|
|
79019
|
-
|
|
79017
|
+
ri(A, g + 4 * j, j, 1, 8, I, U, z), ri(y, k + 4 * j, j, 1, 8, I, U, z);
|
|
79020
79018
|
}
|
|
79021
79019
|
function ag(A, g, y, k, j, I, U, z) {
|
|
79022
|
-
|
|
79020
|
+
ri(A, g + 4, 1, j, 8, I, U, z), ri(y, k + 4, 1, j, 8, I, U, z);
|
|
79023
79021
|
}
|
|
79024
79022
|
function ec() {
|
|
79025
|
-
this.ba = new
|
|
79023
|
+
this.ba = new Jn(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new vr(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
79026
79024
|
}
|
|
79027
79025
|
function GA() {
|
|
79028
79026
|
this.data = [], this.offset = this.kd = this.ha = this.w = 0, this.na = [], this.xa = this.gb = this.Ja = this.Sa = this.P = 0;
|
|
@@ -79034,7 +79032,7 @@ function ix(t) {
|
|
|
79034
79032
|
this.ua = 0, this.Wa = new X(), this.vb = new X(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new J(), this.yc = new N();
|
|
79035
79033
|
}
|
|
79036
79034
|
function y0() {
|
|
79037
|
-
this.xb = this.a = 0, this.l = new Gd(), this.ca = new
|
|
79035
|
+
this.xb = this.a = 0, this.l = new Gd(), this.ca = new Jn(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new E(), this.Pb = 0, this.wd = new E(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new lg(), this.ab = 0, this.gc = o(4, YA), this.Oc = 0;
|
|
79038
79036
|
}
|
|
79039
79037
|
function tc() {
|
|
79040
79038
|
this.Lc = this.Z = this.$a = this.i = this.c = 0, this.l = new Gd(), this.ic = 0, this.ca = [], this.tb = 0, this.qd = null, this.rd = 0;
|
|
@@ -79119,32 +79117,32 @@ function ix(t) {
|
|
|
79119
79117
|
for (; ; ) {
|
|
79120
79118
|
for (; !se.h && ne < Ie; ) {
|
|
79121
79119
|
if (V & Pe || (Fe = Qr(me, V, R)), e(Fe != null), re(se), 256 > (je = Js(Fe.G[0], Fe.H[0], se)))
|
|
79122
|
-
z[fe + ne] = je, ++ne, ++V >= le && (V = 0, ++R <= g && !(R % 16) &&
|
|
79120
|
+
z[fe + ne] = je, ++ne, ++V >= le && (V = 0, ++R <= g && !(R % 16) && $n(U, R));
|
|
79123
79121
|
else {
|
|
79124
79122
|
if (!(280 > je)) {
|
|
79125
79123
|
Ue = 0;
|
|
79126
79124
|
break t;
|
|
79127
79125
|
}
|
|
79128
|
-
je =
|
|
79126
|
+
je = Xn(je - 256, se);
|
|
79129
79127
|
var Ze, He = Js(Fe.G[4], Fe.H[4], se);
|
|
79130
|
-
if (re(se), !(ne >= (He = Ni(le, He =
|
|
79128
|
+
if (re(se), !(ne >= (He = Ni(le, He = Xn(He, se))) && ie - ne >= je)) {
|
|
79131
79129
|
Ue = 0;
|
|
79132
79130
|
break t;
|
|
79133
79131
|
}
|
|
79134
79132
|
for (Ze = 0; Ze < je; ++Ze)
|
|
79135
79133
|
z[fe + ne + Ze] = z[fe + ne + Ze - He];
|
|
79136
79134
|
for (ne += je, V += je; V >= le; )
|
|
79137
|
-
V -= le, ++R <= g && !(R % 16) &&
|
|
79135
|
+
V -= le, ++R <= g && !(R % 16) && $n(U, R);
|
|
79138
79136
|
ne < Ie && V & Pe && (Fe = Qr(me, V, R));
|
|
79139
79137
|
}
|
|
79140
79138
|
e(se.h == G(se));
|
|
79141
79139
|
}
|
|
79142
|
-
|
|
79140
|
+
$n(U, R > g ? g : R);
|
|
79143
79141
|
break t;
|
|
79144
79142
|
}
|
|
79145
79143
|
!Ue || se.h && ne < ie ? (Ue = 0, U.a = se.h ? 5 : 3) : U.$ = ne, g = Ue;
|
|
79146
79144
|
} else
|
|
79147
|
-
g =
|
|
79145
|
+
g = ei(U, U.V, U.Ba, U.c, U.i, g, Md);
|
|
79148
79146
|
if (!g) {
|
|
79149
79147
|
k = 0;
|
|
79150
79148
|
break e;
|
|
@@ -79245,7 +79243,7 @@ function ix(t) {
|
|
|
79245
79243
|
function ts(A, g, y, k, j) {
|
|
79246
79244
|
mr(A, g, y, k, j), k[j + 3] = 255;
|
|
79247
79245
|
}
|
|
79248
|
-
function
|
|
79246
|
+
function si(A, g, y, k, j) {
|
|
79249
79247
|
Nt(A, g, y, k, j), k[j + 3] = 255;
|
|
79250
79248
|
}
|
|
79251
79249
|
function cn(A, g) {
|
|
@@ -79293,7 +79291,7 @@ function ix(t) {
|
|
|
79293
79291
|
for (0 < j && (k >= A.za - 1 ? n(ie, Ie, le[Ue].y[15], 4) : s(ie, Ie, le[Ue + 1].y, 0, 4)), y = 0; 4 > y; y++)
|
|
79294
79292
|
ie[Ie + 128 + y] = ie[Ie + 256 + y] = ie[Ie + 384 + y] = ie[Ie + 0 + y];
|
|
79295
79293
|
for (y = 0; 16 > y; ++y, ne <<= 2)
|
|
79296
|
-
ie = U, Ie = z + aw[y],
|
|
79294
|
+
ie = U, Ie = z + aw[y], ni[fe.Ob[y]](ie, Ie), XA(ne, je, 16 * +y, ie, Ie);
|
|
79297
79295
|
} else if (ie = dg(k, j, fe.Ob[0]), ha[ie](U, z), ne != 0)
|
|
79298
79296
|
for (y = 0; 16 > y; ++y, ne <<= 2)
|
|
79299
79297
|
XA(ne, je, 16 * +y, U, z + aw[y]);
|
|
@@ -79562,13 +79560,13 @@ function ix(t) {
|
|
|
79562
79560
|
});
|
|
79563
79561
|
var cg, Sn = L.ColorIndexInverseTransform, ac = L.MapARGB, Ag = L.VP8LColorIndexInverseTransformAlpha, ug = L.MapAlpha, Aa = L.VP8LPredictorsAdd = [];
|
|
79564
79562
|
Aa.length = 16, (L.VP8LPredictors = []).length = 16, (L.VP8LPredictorsAdd_C = []).length = 16, (L.VP8LPredictors_C = []).length = 16;
|
|
79565
|
-
var Il, $s, Ds, ua, fo, yo, lc, vo, Sr, su, Rs, _n, dc, pg, nu, Fl, Ul, pa, zl, cc, Tl, ga, iu, In, Fn, ar, lr, _r, Wr = i(511), bo = i(2041), ou = i(225), Ac = i(767), gg = 0, b0 = bo, hg = ou, An = Ac, Un = Wr, mg = 0, fg = 1, Jb = 2, yg = 3, vg = 4, w0 = 5, Xb = 6, x0 = 7, k0 = 8, bg = 9, B0 = 10, $C = [2, 3, 7], e8 = [3, 3, 11], Zb = [280, 256, 256, 256, 40], t8 = [0, 1, 1, 1, 0], r8 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], s8 = [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], n8 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], i8 = 8, C0 = [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], E0 = [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], au = null, o8 = [[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]], a8 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], $b = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], l8 = [[[[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]]]], d8 = [[[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]]], c8 = [[[[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]]]], A8 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ha = [], si = [], wo = [], u8 = 1, ew = 2, ma = [], zn = [];
|
|
79566
|
-
_e("UpsampleRgbLinePair", Nt, 3), _e("UpsampleBgrLinePair", mr, 3), _e("UpsampleRgbaLinePair",
|
|
79563
|
+
var Il, $s, Ds, ua, fo, yo, lc, vo, Sr, su, Rs, _n, dc, pg, nu, Fl, Ul, pa, zl, cc, Tl, ga, iu, In, Fn, ar, lr, _r, Wr = i(511), bo = i(2041), ou = i(225), Ac = i(767), gg = 0, b0 = bo, hg = ou, An = Ac, Un = Wr, mg = 0, fg = 1, Jb = 2, yg = 3, vg = 4, w0 = 5, Xb = 6, x0 = 7, k0 = 8, bg = 9, B0 = 10, $C = [2, 3, 7], e8 = [3, 3, 11], Zb = [280, 256, 256, 256, 40], t8 = [0, 1, 1, 1, 0], r8 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], s8 = [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], n8 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], i8 = 8, C0 = [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], E0 = [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], au = null, o8 = [[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]], a8 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], $b = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], l8 = [[[[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]]]], d8 = [[[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]]], c8 = [[[[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]]]], A8 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ha = [], ni = [], wo = [], u8 = 1, ew = 2, ma = [], zn = [];
|
|
79564
|
+
_e("UpsampleRgbLinePair", Nt, 3), _e("UpsampleBgrLinePair", mr, 3), _e("UpsampleRgbaLinePair", si, 4), _e("UpsampleBgraLinePair", ts, 4), _e("UpsampleArgbLinePair", Cs, 4), _e("UpsampleRgba4444LinePair", Nr, 2), _e("UpsampleRgb565LinePair", br, 2);
|
|
79567
79565
|
var p8 = L.UpsampleRgbLinePair, g8 = L.UpsampleBgrLinePair, tw = L.UpsampleRgbaLinePair, rw = L.UpsampleBgraLinePair, sw = L.UpsampleArgbLinePair, nw = L.UpsampleRgba4444LinePair, h8 = L.UpsampleRgb565LinePair, wg = 16, xg = 1 << wg - 1, lu = -227, j0 = 482, iw = 6, m8 = (256 << iw) - 1, ow = 0, f8 = i(256), y8 = i(256), v8 = i(256), b8 = i(256), w8 = i(j0 - lu), x8 = i(j0 - lu);
|
|
79568
|
-
Hi("YuvToRgbRow", Nt, 3), Hi("YuvToBgrRow", mr, 3), Hi("YuvToRgbaRow",
|
|
79566
|
+
Hi("YuvToRgbRow", Nt, 3), Hi("YuvToBgrRow", mr, 3), Hi("YuvToRgbaRow", si, 4), Hi("YuvToBgraRow", ts, 4), Hi("YuvToArgbRow", Cs, 4), Hi("YuvToRgba4444Row", Nr, 2), Hi("YuvToRgb565Row", br, 2);
|
|
79569
79567
|
var aw = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], kg = [0, 2, 8], k8 = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], B8 = 1;
|
|
79570
79568
|
this.WebPDecodeRGBA = function(A, g, y, k, j) {
|
|
79571
|
-
var I = fg, U = new ec(), z = new
|
|
79569
|
+
var I = fg, U = new ec(), z = new Jn();
|
|
79572
79570
|
U.ba = z, z.S = I, z.width = [z.width], z.height = [z.height];
|
|
79573
79571
|
var R = z.width, V = z.height, se = new po();
|
|
79574
79572
|
if (se == null || A == null)
|
|
@@ -79624,7 +79622,7 @@ function ix(t) {
|
|
|
79624
79622
|
}
|
|
79625
79623
|
k.xb = 0;
|
|
79626
79624
|
}
|
|
79627
|
-
if (
|
|
79625
|
+
if (!ei(k, k.V, k.Ba, k.c, k.i, y.o, Ld))
|
|
79628
79626
|
break r;
|
|
79629
79627
|
j.Dc = k.Ma, k = 1;
|
|
79630
79628
|
break t;
|
|
@@ -79871,7 +79869,7 @@ function ix(t) {
|
|
|
79871
79869
|
var l = { data: d, width: o, height: a }, c = new gy(100).encode(l, 100);
|
|
79872
79870
|
return t.processJPEG.call(this, c, r, s, n);
|
|
79873
79871
|
}, t.processGIF87A = t.processGIF89A;
|
|
79874
|
-
}(pt.API),
|
|
79872
|
+
}(pt.API), di.prototype.parseHeader = function() {
|
|
79875
79873
|
if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
|
|
79876
79874
|
var t = this.colors === 0 ? 1 << this.bitPP : this.colors;
|
|
79877
79875
|
this.palette = new Array(t);
|
|
@@ -79881,7 +79879,7 @@ function ix(t) {
|
|
|
79881
79879
|
}
|
|
79882
79880
|
}
|
|
79883
79881
|
this.height < 0 && (this.height *= -1, this.bottom_up = !1);
|
|
79884
|
-
},
|
|
79882
|
+
}, di.prototype.parseBGR = function() {
|
|
79885
79883
|
this.pos = this.offset;
|
|
79886
79884
|
try {
|
|
79887
79885
|
var t = "bit" + this.bitPP, e = this.width * this.height * 4;
|
|
@@ -79889,7 +79887,7 @@ function ix(t) {
|
|
|
79889
79887
|
} catch (r) {
|
|
79890
79888
|
or.log("bit decode error:" + r);
|
|
79891
79889
|
}
|
|
79892
|
-
},
|
|
79890
|
+
}, di.prototype.bit1 = function() {
|
|
79893
79891
|
var t, e = Math.ceil(this.width / 8), r = e % 4;
|
|
79894
79892
|
for (t = this.height - 1; t >= 0; t--) {
|
|
79895
79893
|
for (var s = this.bottom_up ? t : this.height - 1 - t, n = 0; n < e; n++)
|
|
@@ -79899,7 +79897,7 @@ function ix(t) {
|
|
|
79899
79897
|
}
|
|
79900
79898
|
r !== 0 && (this.pos += 4 - r);
|
|
79901
79899
|
}
|
|
79902
|
-
},
|
|
79900
|
+
}, di.prototype.bit4 = function() {
|
|
79903
79901
|
for (var t = Math.ceil(this.width / 2), e = t % 4, r = this.height - 1; r >= 0; r--) {
|
|
79904
79902
|
for (var s = this.bottom_up ? r : this.height - 1 - r, n = 0; n < t; n++) {
|
|
79905
79903
|
var i = this.datav.getUint8(this.pos++, !0), o = s * this.width * 4 + 2 * n * 4, a = i >> 4, d = 15 & i, l = this.palette[a];
|
|
@@ -79909,7 +79907,7 @@ function ix(t) {
|
|
|
79909
79907
|
}
|
|
79910
79908
|
e !== 0 && (this.pos += 4 - e);
|
|
79911
79909
|
}
|
|
79912
|
-
},
|
|
79910
|
+
}, di.prototype.bit8 = function() {
|
|
79913
79911
|
for (var t = this.width % 4, e = this.height - 1; e >= 0; e--) {
|
|
79914
79912
|
for (var r = this.bottom_up ? e : this.height - 1 - e, s = 0; s < this.width; s++) {
|
|
79915
79913
|
var n = this.datav.getUint8(this.pos++, !0), i = r * this.width * 4 + 4 * s;
|
|
@@ -79921,7 +79919,7 @@ function ix(t) {
|
|
|
79921
79919
|
}
|
|
79922
79920
|
t !== 0 && (this.pos += 4 - t);
|
|
79923
79921
|
}
|
|
79924
|
-
},
|
|
79922
|
+
}, di.prototype.bit15 = function() {
|
|
79925
79923
|
for (var t = this.width % 3, e = parseInt("11111", 2), r = this.height - 1; r >= 0; r--) {
|
|
79926
79924
|
for (var s = this.bottom_up ? r : this.height - 1 - r, n = 0; n < this.width; n++) {
|
|
79927
79925
|
var i = this.datav.getUint16(this.pos, !0);
|
|
@@ -79931,7 +79929,7 @@ function ix(t) {
|
|
|
79931
79929
|
}
|
|
79932
79930
|
this.pos += t;
|
|
79933
79931
|
}
|
|
79934
|
-
},
|
|
79932
|
+
}, di.prototype.bit16 = function() {
|
|
79935
79933
|
for (var t = this.width % 3, e = parseInt("11111", 2), r = parseInt("111111", 2), s = this.height - 1; s >= 0; s--) {
|
|
79936
79934
|
for (var n = this.bottom_up ? s : this.height - 1 - s, i = 0; i < this.width; i++) {
|
|
79937
79935
|
var o = this.datav.getUint16(this.pos, !0);
|
|
@@ -79941,7 +79939,7 @@ function ix(t) {
|
|
|
79941
79939
|
}
|
|
79942
79940
|
this.pos += t;
|
|
79943
79941
|
}
|
|
79944
|
-
},
|
|
79942
|
+
}, di.prototype.bit24 = function() {
|
|
79945
79943
|
for (var t = this.height - 1; t >= 0; t--) {
|
|
79946
79944
|
for (var e = this.bottom_up ? t : this.height - 1 - t, r = 0; r < this.width; r++) {
|
|
79947
79945
|
var s = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), o = e * this.width * 4 + 4 * r;
|
|
@@ -79949,13 +79947,13 @@ function ix(t) {
|
|
|
79949
79947
|
}
|
|
79950
79948
|
this.pos += this.width % 4;
|
|
79951
79949
|
}
|
|
79952
|
-
},
|
|
79950
|
+
}, di.prototype.bit32 = function() {
|
|
79953
79951
|
for (var t = this.height - 1; t >= 0; t--)
|
|
79954
79952
|
for (var e = this.bottom_up ? t : this.height - 1 - t, r = 0; r < this.width; r++) {
|
|
79955
79953
|
var s = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), o = this.datav.getUint8(this.pos++, !0), a = e * this.width * 4 + 4 * r;
|
|
79956
79954
|
this.data[a] = i, this.data[a + 1] = n, this.data[a + 2] = s, this.data[a + 3] = o;
|
|
79957
79955
|
}
|
|
79958
|
-
},
|
|
79956
|
+
}, di.prototype.getData = function() {
|
|
79959
79957
|
return this.data;
|
|
79960
79958
|
}, /**
|
|
79961
79959
|
* @license
|
|
@@ -79966,7 +79964,7 @@ function ix(t) {
|
|
|
79966
79964
|
*/
|
|
79967
79965
|
function(t) {
|
|
79968
79966
|
t.processBMP = function(e, r, s, n) {
|
|
79969
|
-
var i = new
|
|
79967
|
+
var i = new di(e, !1), o = i.width, a = i.height, d = { data: i.getData(), width: o, height: a }, l = new gy(100).encode(d, 100);
|
|
79970
79968
|
return t.processJPEG.call(this, l, r, s, n);
|
|
79971
79969
|
};
|
|
79972
79970
|
}(pt.API), ix.prototype.getData = function() {
|
|
@@ -80141,7 +80139,7 @@ function(t) {
|
|
|
80141
80139
|
*/
|
|
80142
80140
|
function(t) {
|
|
80143
80141
|
function e() {
|
|
80144
|
-
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-
|
|
80142
|
+
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-e01fc55e.js")).catch(function(r) {
|
|
80145
80143
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
80146
80144
|
}).then(function(r) {
|
|
80147
80145
|
return r.default ? r.default : r;
|
|
@@ -81835,7 +81833,7 @@ let xn = class extends qe {
|
|
|
81835
81833
|
<div class="cards">${this.getBrandCardAccepted()}</div>
|
|
81836
81834
|
</div>
|
|
81837
81835
|
</div>
|
|
81838
|
-
<form @input="${this.validateForm}"
|
|
81836
|
+
<form @input="${this.validateForm}">
|
|
81839
81837
|
<div class="credit-info">
|
|
81840
81838
|
<scof-input
|
|
81841
81839
|
class="credit-number"
|
|
@@ -81845,7 +81843,6 @@ let xn = class extends qe {
|
|
|
81845
81843
|
label="Número de tarjeta"
|
|
81846
81844
|
inputmode="numeric"
|
|
81847
81845
|
.maxlength="${19}"
|
|
81848
|
-
autocomplete="cc-number"
|
|
81849
81846
|
.validationRules="${[
|
|
81850
81847
|
Vc("Tenés que completar el número de la tarjeta."),
|
|
81851
81848
|
Kc(16, "Revisá el número de la tarjeta, está incompleto."),
|
|
@@ -81871,7 +81868,6 @@ let xn = class extends qe {
|
|
|
81871
81868
|
inputmode="numeric"
|
|
81872
81869
|
.maxlength="${5}"
|
|
81873
81870
|
label="Vencimiento"
|
|
81874
|
-
autocomplete="cc-csc"
|
|
81875
81871
|
.validationRules="${[
|
|
81876
81872
|
Vc("Tenés que completar el vencimiento."),
|
|
81877
81873
|
w4(),
|
|
@@ -81888,7 +81884,6 @@ let xn = class extends qe {
|
|
|
81888
81884
|
inputmode="numeric"
|
|
81889
81885
|
.maxlength="${3}"
|
|
81890
81886
|
label="Código de seguridad"
|
|
81891
|
-
autocomplete="cc-csc"
|
|
81892
81887
|
.validationRules="${[
|
|
81893
81888
|
Vc("Tenés que completar el código."),
|
|
81894
81889
|
Kc(3, "Revisá el código."),
|
|
@@ -81991,6 +81986,10 @@ let io = class extends qe {
|
|
|
81991
81986
|
var t, e, r;
|
|
81992
81987
|
return (t = this.getBuyer) != null && t.doc_number && ((e = this.getBuyer) == null ? void 0 : e.doc_number.length) >= 6 ? (r = this.getBuyer) == null ? void 0 : r.doc_number : "";
|
|
81993
81988
|
}
|
|
81989
|
+
get name() {
|
|
81990
|
+
var t, e;
|
|
81991
|
+
return (t = this.getBuyer) != null && t.name ? (e = this.getBuyer) == null ? void 0 : e.name.replace(/[^a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]/g, "") : "";
|
|
81992
|
+
}
|
|
81994
81993
|
firstUpdated(t) {
|
|
81995
81994
|
var e;
|
|
81996
81995
|
super.firstUpdated(t), this.state.isCardPresent || this.getinstallment(), (e = this.state.statePaymentRequest.buyer) != null && e.doc_type && (this.isDni = this.state.statePaymentRequest.buyer.doc_type === "DNI", this.requestUpdate()), this.forceValidation(["name", "user_email", "doc_number"]), this.validateForm();
|
|
@@ -82082,7 +82081,7 @@ let io = class extends qe {
|
|
|
82082
82081
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
82083
82082
|
}
|
|
82084
82083
|
renderHTML() {
|
|
82085
|
-
var t, e
|
|
82084
|
+
var t, e;
|
|
82086
82085
|
return P`
|
|
82087
82086
|
<form @input="${this.validateForm}">
|
|
82088
82087
|
<scof-input
|
|
@@ -82090,19 +82089,19 @@ let io = class extends qe {
|
|
|
82090
82089
|
label="Nombre y apellido"
|
|
82091
82090
|
.validationRules="${[
|
|
82092
82091
|
Ms("Tenés que completar el nombre y apellido."),
|
|
82093
|
-
|
|
82092
|
+
Vn(2, "El nombre debe tener al menos 2 caracteres."),
|
|
82094
82093
|
Xi(30, "El nombre no puede tener más de 30 caracteres."),
|
|
82095
82094
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
82096
82095
|
Cb("El nombre no puede estar en blanco.")
|
|
82097
82096
|
]}"
|
|
82098
|
-
.value="${
|
|
82097
|
+
.value="${this.name}"
|
|
82099
82098
|
></scof-input>
|
|
82100
82099
|
<scof-input
|
|
82101
82100
|
name="user_email"
|
|
82102
82101
|
label="Email"
|
|
82103
82102
|
type="email"
|
|
82104
82103
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
82105
|
-
.value="${(
|
|
82104
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
82106
82105
|
></scof-input>
|
|
82107
82106
|
|
|
82108
82107
|
<div class="panel-id-selection">
|
|
@@ -82128,11 +82127,11 @@ let io = class extends qe {
|
|
|
82128
82127
|
.validationRules="${this.isDni ? [
|
|
82129
82128
|
Ms("Tenés que completar el número."),
|
|
82130
82129
|
jb(),
|
|
82131
|
-
|
|
82130
|
+
Vn(6, "Revisá el número, está incompleto.", !0),
|
|
82132
82131
|
Xi(9, "Revisá el número, está incompleto.", !0)
|
|
82133
82132
|
] : [
|
|
82134
82133
|
Ms("El pasaporte es obligatorio"),
|
|
82135
|
-
|
|
82134
|
+
Vn(6, "Revisá el número, está incompleto."),
|
|
82136
82135
|
Xi(20, "Revisá el número, está incompleto.")
|
|
82137
82136
|
]}"
|
|
82138
82137
|
.value="${this.docNumber}"
|
|
@@ -82276,11 +82275,11 @@ let kp = class extends qe {
|
|
|
82276
82275
|
<div class="card-content-text">
|
|
82277
82276
|
<h3 class="card-plan__circle-dot font_semiBold">
|
|
82278
82277
|
${this.paymentFirstMessage(t.installments, t.name)} de $
|
|
82279
|
-
${
|
|
82278
|
+
${Kn(t.installment_amount.value)}
|
|
82280
82279
|
</h3>
|
|
82281
82280
|
<div class="font_regular subtitle">
|
|
82282
82281
|
<p class="text">
|
|
82283
|
-
Precio financiado: $ ${
|
|
82282
|
+
Precio financiado: $ ${Kn(t.total_amount.value)} | CFT: ${t.total_financial_cost}
|
|
82284
82283
|
%
|
|
82285
82284
|
</p>
|
|
82286
82285
|
</div>
|
|
@@ -82366,7 +82365,7 @@ let Ps = class t extends qe {
|
|
|
82366
82365
|
firstUpdated(e) {
|
|
82367
82366
|
return we(this, null, function* () {
|
|
82368
82367
|
var r, s, n;
|
|
82369
|
-
if (ur(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this.state.statePaymentRequest) == null ? void 0 : r.payment_type) ===
|
|
82368
|
+
if (ur(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this.state.statePaymentRequest) == null ? void 0 : r.payment_type) === Hn.ECOMMERCE ? this.state.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
|
|
82370
82369
|
pe.info("firstUpdatedStatus", {
|
|
82371
82370
|
context: Le.DEFAULT,
|
|
82372
82371
|
origin_sdk: dx,
|
|
@@ -83819,7 +83818,7 @@ export {
|
|
|
83819
83818
|
Al as af,
|
|
83820
83819
|
Z1 as ag,
|
|
83821
83820
|
Za as b,
|
|
83822
|
-
|
|
83821
|
+
hi as c,
|
|
83823
83822
|
$a as d,
|
|
83824
83823
|
to as e,
|
|
83825
83824
|
No as f,
|