@ranty/ranty-sdk 2.18.0-beta.8 → 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());
|
|
@@ -64100,10 +64100,9 @@ let bn = class extends qe {
|
|
|
64100
64100
|
name="creditNumber"
|
|
64101
64101
|
label="Número de tarjeta"
|
|
64102
64102
|
.maxlength="${19}"
|
|
64103
|
-
autocomplete="cc-number"
|
|
64104
64103
|
.validationRules="${[
|
|
64105
64104
|
Ms("Tenés que completar el número de la tarjeta."),
|
|
64106
|
-
|
|
64105
|
+
Vn(16, "Revisá el número de la tarjeta, está incompleto.", !0),
|
|
64107
64106
|
HO(
|
|
64108
64107
|
this.stateScof.statePaymentRequest,
|
|
64109
64108
|
(t) => this.isLoading = t,
|
|
@@ -64139,13 +64138,12 @@ let bn = class extends qe {
|
|
|
64139
64138
|
id="expired"
|
|
64140
64139
|
.maxlength="${5}"
|
|
64141
64140
|
label="Vencimiento"
|
|
64142
|
-
autocomplete="cc-csc"
|
|
64143
64141
|
.validationRules="${[
|
|
64144
64142
|
Ms("Tenés que completar el vencimiento."),
|
|
64145
64143
|
LO(),
|
|
64146
64144
|
MO(),
|
|
64147
64145
|
qO(),
|
|
64148
|
-
|
|
64146
|
+
Vn(5, "Revisá el vencimiento.")
|
|
64149
64147
|
]}"
|
|
64150
64148
|
></scof-input>
|
|
64151
64149
|
<div class="credit-info">
|
|
@@ -64155,10 +64153,9 @@ let bn = class extends qe {
|
|
|
64155
64153
|
id="cvv"
|
|
64156
64154
|
.maxlength="${3}"
|
|
64157
64155
|
label="Código de seguridad"
|
|
64158
|
-
autocomplete="cc-csc"
|
|
64159
64156
|
.validationRules="${[
|
|
64160
64157
|
Ms("Tenés que completar el código."),
|
|
64161
|
-
|
|
64158
|
+
Vn(3, "Revisá el código."),
|
|
64162
64159
|
Xi(4, "Debe contener 4 números máximo"),
|
|
64163
64160
|
OO()
|
|
64164
64161
|
]}"
|
|
@@ -64515,6 +64512,10 @@ let qo = class extends qe {
|
|
|
64515
64512
|
var t, e, r;
|
|
64516
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 : "";
|
|
64517
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
|
+
}
|
|
64518
64519
|
firstUpdated(t) {
|
|
64519
64520
|
var e;
|
|
64520
64521
|
super.firstUpdated(t), pe.info("firstUpdated", {
|
|
@@ -64599,7 +64600,7 @@ let qo = class extends qe {
|
|
|
64599
64600
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
64600
64601
|
}
|
|
64601
64602
|
renderHTML() {
|
|
64602
|
-
var t, e
|
|
64603
|
+
var t, e;
|
|
64603
64604
|
return P`
|
|
64604
64605
|
<form @input="${this.validateForm}">
|
|
64605
64606
|
<scof-input
|
|
@@ -64607,19 +64608,19 @@ let qo = class extends qe {
|
|
|
64607
64608
|
label="Nombre y apellido"
|
|
64608
64609
|
.validationRules="${[
|
|
64609
64610
|
Ms("Tenés que completar el nombre y apellido."),
|
|
64610
|
-
|
|
64611
|
+
Vn(2, "El nombre debe tener al menos 2 caracteres."),
|
|
64611
64612
|
Xi(30, "El nombre no puede tener más de 30 caracteres."),
|
|
64612
64613
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
64613
64614
|
Cb("El nombre no puede estar en blanco.")
|
|
64614
64615
|
]}"
|
|
64615
|
-
.value="${
|
|
64616
|
+
.value="${this.name}"
|
|
64616
64617
|
></scof-input>
|
|
64617
64618
|
<scof-input
|
|
64618
64619
|
name="user_email"
|
|
64619
64620
|
label="Email"
|
|
64620
64621
|
type="email"
|
|
64621
64622
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
64622
|
-
.value="${(
|
|
64623
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
64623
64624
|
></scof-input>
|
|
64624
64625
|
|
|
64625
64626
|
<div class="panel-id-selection">
|
|
@@ -64644,11 +64645,11 @@ let qo = class extends qe {
|
|
|
64644
64645
|
.validationRules="${this.isDni ? [
|
|
64645
64646
|
Ms("Tenés que completar el número."),
|
|
64646
64647
|
jb(),
|
|
64647
|
-
|
|
64648
|
+
Vn(6, "Revisá el número, está incompleto.", !0),
|
|
64648
64649
|
Xi(9, "Revisá el número, está incompleto.", !0)
|
|
64649
64650
|
] : [
|
|
64650
64651
|
Ms("El pasaporte es obligatorio"),
|
|
64651
|
-
|
|
64652
|
+
Vn(6, "Revisá el número, está incompleto."),
|
|
64652
64653
|
Xi(20, "Revisá el número, está incompleto.")
|
|
64653
64654
|
]}"
|
|
64654
64655
|
.value="${this.docNumber}"
|
|
@@ -64831,11 +64832,11 @@ let pA = class extends qe {
|
|
|
64831
64832
|
<div class="card-content-text">
|
|
64832
64833
|
<h3 class="card-plan__circle-dot font_semiBold">
|
|
64833
64834
|
${this.paymentFirstMessage(t.installments, t.name)} de $
|
|
64834
|
-
${
|
|
64835
|
+
${Kn(t.installment_amount.value)}
|
|
64835
64836
|
</h3>
|
|
64836
64837
|
<div class="font_regular subtitle">
|
|
64837
64838
|
<p class="text">
|
|
64838
|
-
Precio financiado: $ ${
|
|
64839
|
+
Precio financiado: $ ${Kn(t.total_amount.value)} | CFT: ${t.total_financial_cost}
|
|
64839
64840
|
%
|
|
64840
64841
|
</p>
|
|
64841
64842
|
</div>
|
|
@@ -65221,11 +65222,11 @@ let rl = class extends qe {
|
|
|
65221
65222
|
</div>
|
|
65222
65223
|
<p class="data-text installment-plan-name">
|
|
65223
65224
|
${(r = this.getInstallmentPlan) == null ? void 0 : r.name.toLowerCase()} de $
|
|
65224
|
-
${
|
|
65225
|
+
${Kn((s = this.getInstallmentPlan) == null ? void 0 : s.installment_amount.value)}
|
|
65225
65226
|
</p>
|
|
65226
65227
|
<p class="data-text installment-plan-cost">
|
|
65227
65228
|
CFT: ${(n = this.getInstallmentPlan) == null ? void 0 : n.total_financial_cost} % + IVA | Total financiado: $
|
|
65228
|
-
${
|
|
65229
|
+
${Kn((i = this.getInstallmentPlan) == null ? void 0 : i.total_amount.value)}
|
|
65229
65230
|
</p>
|
|
65230
65231
|
<div class="panel-footer">
|
|
65231
65232
|
<my-button
|
|
@@ -65665,7 +65666,7 @@ let Ho = class extends qe {
|
|
|
65665
65666
|
payment_request_id: (e = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : e.id,
|
|
65666
65667
|
payment_request_status: this.statusMessage,
|
|
65667
65668
|
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
65668
|
-
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",
|
|
65669
65670
|
payment_type: t.payment_type
|
|
65670
65671
|
}
|
|
65671
65672
|
}), Qt.setEndPaymentTime());
|
|
@@ -65969,7 +65970,6 @@ let wn = class extends qe {
|
|
|
65969
65970
|
label="Número de tarjeta"
|
|
65970
65971
|
inputmode="numeric"
|
|
65971
65972
|
.maxlength="${19}"
|
|
65972
|
-
autocomplete="cc-number"
|
|
65973
65973
|
.validationRules="${[
|
|
65974
65974
|
Vc("Tenés que completar el número de la tarjeta."),
|
|
65975
65975
|
Kc(16, "Revisá el número de la tarjeta, está incompleto.", !0),
|
|
@@ -65995,7 +65995,6 @@ let wn = class extends qe {
|
|
|
65995
65995
|
inputmode="numeric"
|
|
65996
65996
|
.maxlength="${5}"
|
|
65997
65997
|
label="Vencimiento"
|
|
65998
|
-
autocomplete="cc-exp"
|
|
65999
65998
|
.validationRules="${[
|
|
66000
65999
|
Vc("Tenés que completar el vencimiento."),
|
|
66001
66000
|
w4(),
|
|
@@ -66012,7 +66011,6 @@ let wn = class extends qe {
|
|
|
66012
66011
|
inputmode="numeric"
|
|
66013
66012
|
.maxlength="${3}"
|
|
66014
66013
|
label="Código de seguridad"
|
|
66015
|
-
autocomplete="cc-csc"
|
|
66016
66014
|
.validationRules="${[
|
|
66017
66015
|
Vc("Tenés que completar el código."),
|
|
66018
66016
|
Kc(3, "Revisá el código."),
|
|
@@ -66115,6 +66113,10 @@ let so = class extends qe {
|
|
|
66115
66113
|
var t, e, r;
|
|
66116
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 : "";
|
|
66117
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
|
+
}
|
|
66118
66120
|
firstUpdated(t) {
|
|
66119
66121
|
var e;
|
|
66120
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();
|
|
@@ -66208,7 +66210,7 @@ let so = class extends qe {
|
|
|
66208
66210
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
66209
66211
|
}
|
|
66210
66212
|
renderHTML() {
|
|
66211
|
-
var t, e
|
|
66213
|
+
var t, e;
|
|
66212
66214
|
return P`
|
|
66213
66215
|
<form @input="${this.validateForm}">
|
|
66214
66216
|
<scof-input
|
|
@@ -66216,19 +66218,19 @@ let so = class extends qe {
|
|
|
66216
66218
|
label="Nombre y apellido"
|
|
66217
66219
|
.validationRules="${[
|
|
66218
66220
|
Ms("Tenés que completar el nombre y apellido."),
|
|
66219
|
-
|
|
66221
|
+
Vn(2, "El nombre debe tener al menos 2 caracteres."),
|
|
66220
66222
|
Xi(30, "El nombre no puede tener más de 30 caracteres."),
|
|
66221
66223
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
66222
66224
|
Cb("El nombre no puede estar en blanco.")
|
|
66223
66225
|
]}"
|
|
66224
|
-
.value="${
|
|
66226
|
+
.value="${this.name}"
|
|
66225
66227
|
></scof-input>
|
|
66226
66228
|
<scof-input
|
|
66227
66229
|
name="user_email"
|
|
66228
66230
|
label="Email"
|
|
66229
66231
|
type="email"
|
|
66230
66232
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
66231
|
-
.value="${(
|
|
66233
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
66232
66234
|
></scof-input>
|
|
66233
66235
|
|
|
66234
66236
|
<div class="panel-id-selection">
|
|
@@ -66254,11 +66256,11 @@ let so = class extends qe {
|
|
|
66254
66256
|
.validationRules="${this.isDni ? [
|
|
66255
66257
|
Ms("Tenés que completar el número."),
|
|
66256
66258
|
jb(),
|
|
66257
|
-
|
|
66259
|
+
Vn(6, "Revisá el número, está incompleto.", !0),
|
|
66258
66260
|
Xi(9, "Revisá el número, está incompleto.", !0)
|
|
66259
66261
|
] : [
|
|
66260
66262
|
Ms("El pasaporte es obligatorio"),
|
|
66261
|
-
|
|
66263
|
+
Vn(6, "Revisá el número, está incompleto."),
|
|
66262
66264
|
Xi(20, "Revisá el número, está incompleto.")
|
|
66263
66265
|
]}"
|
|
66264
66266
|
.value="${this.docNumber}"
|
|
@@ -66402,11 +66404,11 @@ let yp = class extends qe {
|
|
|
66402
66404
|
<div class="card-content-text">
|
|
66403
66405
|
<h3 class="card-plan__circle-dot font_semiBold">
|
|
66404
66406
|
${this.paymentFirstMessage(t.installments, t.name)} de $
|
|
66405
|
-
${
|
|
66407
|
+
${Kn(t.installment_amount.value)}
|
|
66406
66408
|
</h3>
|
|
66407
66409
|
<div class="font_regular subtitle">
|
|
66408
66410
|
<p class="text">
|
|
66409
|
-
Precio financiado: $ ${
|
|
66411
|
+
Precio financiado: $ ${Kn(t.total_amount.value)} | CFT: ${t.total_financial_cost}
|
|
66410
66412
|
%
|
|
66411
66413
|
</p>
|
|
66412
66414
|
</div>
|
|
@@ -66492,7 +66494,7 @@ let xs = class t extends qe {
|
|
|
66492
66494
|
firstUpdated(e) {
|
|
66493
66495
|
return we(this, null, function* () {
|
|
66494
66496
|
var r, s, n;
|
|
66495
|
-
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) {
|
|
66496
66498
|
pe.info("firstUpdatedStatus", {
|
|
66497
66499
|
context: Le.DEFAULT,
|
|
66498
66500
|
origin_sdk: Rf,
|
|
@@ -66799,11 +66801,11 @@ let il = class extends qe {
|
|
|
66799
66801
|
</div>
|
|
66800
66802
|
<p class="data-text installment-plan-name">
|
|
66801
66803
|
${(n = this.getInstallmentPlan) == null ? void 0 : n.name.toLowerCase()} de $
|
|
66802
|
-
${
|
|
66804
|
+
${Kn((i = this.getInstallmentPlan) == null ? void 0 : i.installment_amount.value)}
|
|
66803
66805
|
</p>
|
|
66804
66806
|
<p class="data-text installment-plan-cost">
|
|
66805
66807
|
CFT: ${(o = this.getInstallmentPlan) == null ? void 0 : o.total_financial_cost} % + IVA | Total financiado: $
|
|
66806
|
-
${
|
|
66808
|
+
${Kn((a = this.getInstallmentPlan) == null ? void 0 : a.total_amount.value)}
|
|
66807
66809
|
</p>
|
|
66808
66810
|
<div class="panel-footer">
|
|
66809
66811
|
<my-button
|
|
@@ -68486,7 +68488,7 @@ var a6 = function(t, e) {
|
|
|
68486
68488
|
}, vq = function(t, e, r) {
|
|
68487
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;
|
|
68488
68490
|
return [n, i - l, i + l, o - d, o + d];
|
|
68489
|
-
},
|
|
68491
|
+
}, ci = function(t, e) {
|
|
68490
68492
|
return Math.sqrt(t * t + e * e);
|
|
68491
68493
|
}, d6 = function(t, e, r, s, n) {
|
|
68492
68494
|
var i = [
|
|
@@ -68496,7 +68498,7 @@ var a6 = function(t, e) {
|
|
|
68496
68498
|
[t, e]
|
|
68497
68499
|
];
|
|
68498
68500
|
return i.reduce(function(o, a) {
|
|
68499
|
-
var d = a[0], l = a[1], c =
|
|
68501
|
+
var d = a[0], l = a[1], c = ci(r - d, s - l);
|
|
68500
68502
|
return (n ? c < o.optimumDistance : c > o.optimumDistance) ? {
|
|
68501
68503
|
optimumCorner: a,
|
|
68502
68504
|
optimumDistance: c
|
|
@@ -68513,10 +68515,10 @@ var a6 = function(t, e) {
|
|
|
68513
68515
|
break;
|
|
68514
68516
|
case 2:
|
|
68515
68517
|
if (t.shape === 0)
|
|
68516
|
-
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));
|
|
68517
68519
|
else if (t.shape === 1) {
|
|
68518
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];
|
|
68519
|
-
i =
|
|
68521
|
+
i = ci(l - e, (c - r) / a), o = a * i;
|
|
68520
68522
|
}
|
|
68521
68523
|
break;
|
|
68522
68524
|
case 1:
|
|
@@ -68524,10 +68526,10 @@ var a6 = function(t, e) {
|
|
|
68524
68526
|
break;
|
|
68525
68527
|
case 3:
|
|
68526
68528
|
if (t.shape === 0)
|
|
68527
|
-
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));
|
|
68528
68530
|
else if (t.shape === 1) {
|
|
68529
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];
|
|
68530
|
-
i =
|
|
68532
|
+
i = ci(l - e, (c - r) / a), o = a * i;
|
|
68531
68533
|
}
|
|
68532
68534
|
break;
|
|
68533
68535
|
}
|
|
@@ -72276,7 +72278,7 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72276
72278
|
for (var e = t[0], r = 1; r < t.length; ++r)
|
|
72277
72279
|
t[r] > e && (e = t[r]);
|
|
72278
72280
|
return e;
|
|
72279
|
-
},
|
|
72281
|
+
}, li = function(t, e, r) {
|
|
72280
72282
|
var s = e / 8 | 0;
|
|
72281
72283
|
return (t[s] | t[s + 1] << 8) >> (e & 7) & r;
|
|
72282
72284
|
}, ay = function(t, e) {
|
|
@@ -72302,9 +72304,9 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72302
72304
|
"stream finishing",
|
|
72303
72305
|
"invalid zip data"
|
|
72304
72306
|
// determined by unknown compression method
|
|
72305
|
-
],
|
|
72307
|
+
], ui = function(t, e, r) {
|
|
72306
72308
|
var s = new Error(e || rG[t]);
|
|
72307
|
-
if (s.code = t, Error.captureStackTrace && Error.captureStackTrace(s,
|
|
72309
|
+
if (s.code = t, Error.captureStackTrace && Error.captureStackTrace(s, ui), !r)
|
|
72308
72310
|
throw s;
|
|
72309
72311
|
return s;
|
|
72310
72312
|
}, sG = function(t, e, r, s) {
|
|
@@ -72322,44 +72324,44 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72322
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;
|
|
72323
72325
|
do {
|
|
72324
72326
|
if (!p) {
|
|
72325
|
-
c =
|
|
72326
|
-
var B =
|
|
72327
|
+
c = li(t, u, 1);
|
|
72328
|
+
var B = li(t, u + 1, 3);
|
|
72327
72329
|
if (u += 3, B)
|
|
72328
72330
|
if (B == 1)
|
|
72329
72331
|
p = $K, f = tG, v = 9, C = 5;
|
|
72330
72332
|
else if (B == 2) {
|
|
72331
|
-
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;
|
|
72332
72334
|
u += 14;
|
|
72333
72335
|
for (var Z = new Ts(L), de = new Ts(19), T = 0; T < q; ++T)
|
|
72334
|
-
de[Jv[T]] =
|
|
72336
|
+
de[Jv[T]] = li(t, u + T * 3, 7);
|
|
72335
72337
|
u += q * 3;
|
|
72336
72338
|
for (var N = oy(de), W = (1 << N) - 1, J = Zi(de, N, 1), T = 0; T < L; ) {
|
|
72337
|
-
var be = J[
|
|
72339
|
+
var be = J[li(t, u, W)];
|
|
72338
72340
|
u += be & 15;
|
|
72339
72341
|
var _ = be >> 4;
|
|
72340
72342
|
if (_ < 16)
|
|
72341
72343
|
Z[T++] = _;
|
|
72342
72344
|
else {
|
|
72343
72345
|
var ue = 0, xe = 0;
|
|
72344
|
-
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--; )
|
|
72345
72347
|
Z[T++] = ue;
|
|
72346
72348
|
}
|
|
72347
72349
|
}
|
|
72348
72350
|
var ge = Z.subarray(0, H), Be = Z.subarray(H);
|
|
72349
72351
|
v = oy(ge), C = oy(Be), p = Zi(ge, v, 1), f = Zi(Be, C, 1);
|
|
72350
72352
|
} else
|
|
72351
|
-
|
|
72353
|
+
ui(1);
|
|
72352
72354
|
else {
|
|
72353
72355
|
var _ = Kb(u) + 4, O = t[_ - 4] | t[_ - 3] << 8, K = _ + O;
|
|
72354
72356
|
if (K > n) {
|
|
72355
|
-
d &&
|
|
72357
|
+
d && ui(0);
|
|
72356
72358
|
break;
|
|
72357
72359
|
}
|
|
72358
72360
|
a && l(h + O), r.set(t.subarray(_, K), h), e.b = h += O, e.p = u = K * 8, e.f = c;
|
|
72359
72361
|
continue;
|
|
72360
72362
|
}
|
|
72361
72363
|
if (u > b) {
|
|
72362
|
-
d &&
|
|
72364
|
+
d && ui(0);
|
|
72363
72365
|
break;
|
|
72364
72366
|
}
|
|
72365
72367
|
}
|
|
@@ -72367,10 +72369,10 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72367
72369
|
for (var ae = (1 << v) - 1, Ce = (1 << C) - 1, E = u; ; E = u) {
|
|
72368
72370
|
var ue = p[ay(t, u) & ae], M = ue >> 4;
|
|
72369
72371
|
if (u += ue & 15, u > b) {
|
|
72370
|
-
d &&
|
|
72372
|
+
d && ui(0);
|
|
72371
72373
|
break;
|
|
72372
72374
|
}
|
|
72373
|
-
if (ue ||
|
|
72375
|
+
if (ue || ui(2), M < 256)
|
|
72374
72376
|
r[h++] = M;
|
|
72375
72377
|
else if (M == 256) {
|
|
72376
72378
|
E = u, p = null;
|
|
@@ -72379,24 +72381,24 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72379
72381
|
var G = M - 254;
|
|
72380
72382
|
if (M > 264) {
|
|
72381
72383
|
var T = M - 257, ee = Hm[T];
|
|
72382
|
-
G =
|
|
72384
|
+
G = li(t, u, (1 << ee) - 1) + FC[T], u += ee;
|
|
72383
72385
|
}
|
|
72384
72386
|
var re = f[ay(t, u) & Ce], ce = re >> 4;
|
|
72385
|
-
re ||
|
|
72387
|
+
re || ui(3), u += re & 15;
|
|
72386
72388
|
var Be = XK[ce];
|
|
72387
72389
|
if (ce > 3) {
|
|
72388
72390
|
var ee = Vm[ce];
|
|
72389
72391
|
Be += ay(t, u) & (1 << ee) - 1, u += ee;
|
|
72390
72392
|
}
|
|
72391
72393
|
if (u > b) {
|
|
72392
|
-
d &&
|
|
72394
|
+
d && ui(0);
|
|
72393
72395
|
break;
|
|
72394
72396
|
}
|
|
72395
72397
|
a && l(h + 131072);
|
|
72396
72398
|
var ye = h + G;
|
|
72397
72399
|
if (h < Be) {
|
|
72398
72400
|
var ve = i - Be, Qe = Math.min(Be, ye);
|
|
72399
|
-
for (ve + h < 0 &&
|
|
72401
|
+
for (ve + h < 0 && ui(3); h < Qe; ++h)
|
|
72400
72402
|
r[h] = s[ve + h];
|
|
72401
72403
|
}
|
|
72402
72404
|
for (; h < ye; ++h)
|
|
@@ -72611,7 +72613,7 @@ var ZK = /* @__PURE__ */ Zi(al, 9, 0), $K = /* @__PURE__ */ Zi(al, 9, 1), eG = /
|
|
|
72611
72613
|
n.p(e.dictionary), RC(t, 2, n.d());
|
|
72612
72614
|
}
|
|
72613
72615
|
}, lG = function(t, e) {
|
|
72614
|
-
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;
|
|
72615
72617
|
};
|
|
72616
72618
|
function e2(t, e) {
|
|
72617
72619
|
e || (e = {});
|
|
@@ -73086,7 +73088,7 @@ function pt(t) {
|
|
|
73086
73088
|
}, ee = p.__private__.padd2Hex = function(m) {
|
|
73087
73089
|
return ("00" + (m = m.toString())).substr(m.length);
|
|
73088
73090
|
}, re = 0, ce = [], ye = [], ve = 0, Qe = [], ze = [], Oe = !1, Me = ye, ot = function() {
|
|
73089
|
-
re = 0, ve = 0, ye = [], ce = [], Qe = [], go = Qr(),
|
|
73091
|
+
re = 0, ve = 0, ye = [], ce = [], Qe = [], go = Qr(), Zn = Qr();
|
|
73090
73092
|
};
|
|
73091
73093
|
p.__private__.setCustomOutputDestination = function(m) {
|
|
73092
73094
|
Oe = !0, Me = m;
|
|
@@ -73169,7 +73171,7 @@ function pt(t) {
|
|
|
73169
73171
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
73170
73172
|
return Xe[m] = S;
|
|
73171
73173
|
};
|
|
73172
|
-
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) {
|
|
73173
73175
|
if (!(this instanceof m))
|
|
73174
73176
|
return new m(S, Y, te, Ae, _e, Re);
|
|
73175
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];
|
|
@@ -73255,7 +73257,7 @@ function pt(t) {
|
|
|
73255
73257
|
var m = this.sx, S = this.shy, Y = this.shx, te = this.sy, Ae = this.tx, _e = this.ty;
|
|
73256
73258
|
return new ut(m, S, Y, te, Ae, _e);
|
|
73257
73259
|
}, p.Matrix = ut;
|
|
73258
|
-
var
|
|
73260
|
+
var Xn = p.matrixMult = function(m, S) {
|
|
73259
73261
|
return S.multiply(m);
|
|
73260
73262
|
}, Ni = new ut(1, 0, 0, 1, 0, 0);
|
|
73261
73263
|
p.unitMatrix = p.identityMatrix = Ni;
|
|
@@ -73285,7 +73287,7 @@ function pt(t) {
|
|
|
73285
73287
|
}, Ld = p.__private__.newAdditionalObject = function() {
|
|
73286
73288
|
var m = { objId: Qr(), content: "" };
|
|
73287
73289
|
return Qe.push(m), m;
|
|
73288
|
-
}, go = Qr(),
|
|
73290
|
+
}, go = Qr(), Zn = Qr(), $n = p.__private__.decodeColorString = function(m) {
|
|
73289
73291
|
var S = m.split(" ");
|
|
73290
73292
|
if (S.length !== 2 || S[1] !== "g" && S[1] !== "G")
|
|
73291
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"]);
|
|
@@ -73296,7 +73298,7 @@ function pt(t) {
|
|
|
73296
73298
|
for (var te = "#", Ae = 0; Ae < 3; Ae++)
|
|
73297
73299
|
te += ("0" + Math.floor(255 * parseFloat(S[Ae])).toString(16)).slice(-2);
|
|
73298
73300
|
return te;
|
|
73299
|
-
},
|
|
73301
|
+
}, ei = p.__private__.encodeColorString = function(m) {
|
|
73300
73302
|
var S;
|
|
73301
73303
|
typeof m == "string" && (m = { ch1: m });
|
|
73302
73304
|
var Y = m.ch1, te = m.ch2, Ae = m.ch3, _e = m.ch4, Re = m.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
|
|
@@ -73389,7 +73391,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73389
73391
|
for (m = 1; m <= vr; m++)
|
|
73390
73392
|
vt[m].objId = Qr(), vt[m].contentsObjId = Qr();
|
|
73391
73393
|
for (m = 1; m <= vr; m++)
|
|
73392
|
-
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 }));
|
|
73393
73395
|
dn(go, !0), X("<</Type /Pages");
|
|
73394
73396
|
var te = "/Kids [";
|
|
73395
73397
|
for (S = 0; S < vr; S++)
|
|
@@ -73491,7 +73493,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73491
73493
|
dn(m.resourcesOid, !0), X("<<"), X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), Kp(), $m(), Gd(m.objectOid), e0(), RA(), X(">>"), X("endobj");
|
|
73492
73494
|
}, Gp = function() {
|
|
73493
73495
|
var m = [];
|
|
73494
|
-
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");
|
|
73495
73497
|
}, Yp = function() {
|
|
73496
73498
|
Gt.publish("putAdditionalObjects");
|
|
73497
73499
|
for (var m = 0; m < Qe.length; m++) {
|
|
@@ -73512,7 +73514,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73512
73514
|
Wp({ id: te, fontName: Ae[0], fontStyle: Ae[1] || "" });
|
|
73513
73515
|
}
|
|
73514
73516
|
Gt.publish("addFonts", { fonts: sr, dictionary: gr });
|
|
73515
|
-
},
|
|
73517
|
+
}, ti = function(m) {
|
|
73516
73518
|
return m.foo = function() {
|
|
73517
73519
|
try {
|
|
73518
73520
|
return m.apply(this, arguments);
|
|
@@ -73556,7 +73558,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73556
73558
|
case "p":
|
|
73557
73559
|
te > Ae && (n = [Ae, te]);
|
|
73558
73560
|
}
|
|
73559
|
-
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 });
|
|
73560
73562
|
}, r0 = function(m) {
|
|
73561
73563
|
m > 0 && m <= vr && (ze.splice(m, 1), vt.splice(m, 1), vr--, M > vr && (M = vr), this.setPage(M));
|
|
73562
73564
|
}, Xp = function(m) {
|
|
@@ -73623,7 +73625,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73623
73625
|
`);
|
|
73624
73626
|
}, Wd = p.__private__.getBlob = function(m) {
|
|
73625
73627
|
return new Blob([D(m)], { type: "application/pdf" });
|
|
73626
|
-
}, Jd = p.output = p.__private__.output =
|
|
73628
|
+
}, Jd = p.output = p.__private__.output = ti(function(m, S) {
|
|
73627
73629
|
switch (typeof (S = S || {}) == "string" ? S = { filename: S } : S.filename = S.filename || "generated.pdf", m) {
|
|
73628
73630
|
case void 0:
|
|
73629
73631
|
return ho();
|
|
@@ -73766,7 +73768,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73766
73768
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
73767
73769
|
if (m.length === 0)
|
|
73768
73770
|
return Nr;
|
|
73769
|
-
var ts = "",
|
|
73771
|
+
var ts = "", si = !1, cn = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : jl, Hi = Nr.internal.scaleFactor;
|
|
73770
73772
|
function dg(ar) {
|
|
73771
73773
|
return ar = ar.split(" ").join(Array(te.TabLen || 9).join(" ")), Xs(ar, Nt);
|
|
73772
73774
|
}
|
|
@@ -73908,23 +73910,23 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
|
|
|
73908
73910
|
var pg = typeof te.R2L == "boolean" ? te.R2L : he;
|
|
73909
73911
|
pg === !0 && (m = ZA(m, function(ar, lr, _r) {
|
|
73910
73912
|
return [ar.split("").reverse().join(""), lr, _r];
|
|
73911
|
-
})), _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;
|
|
73912
73914
|
var nu = sr[Ct].encoding;
|
|
73913
73915
|
nu !== "WinAnsiEncoding" && nu !== "StandardEncoding" || (m = ZA(m, function(ar, lr, _r) {
|
|
73914
73916
|
return [dg(ar), lr, _r];
|
|
73915
73917
|
})), Re = XA(m), m = [];
|
|
73916
73918
|
for (var Fl, Ul, pa, zl = 0, cc = 1, Tl = Array.isArray(Re[0]) ? cc : zl, ga = "", iu = function(ar, lr, _r) {
|
|
73917
73919
|
var Wr = "";
|
|
73918
|
-
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
|
|
73919
73921
|
`) : Wr = q(ar) + " " + q(lr) + ` Td
|
|
73920
73922
|
`, Wr;
|
|
73921
73923
|
}, In = 0; In < Re.length; In++) {
|
|
73922
73924
|
switch (ga = "", Tl) {
|
|
73923
73925
|
case cc:
|
|
73924
|
-
pa = (
|
|
73926
|
+
pa = (si ? "<" : "(") + Re[In][0] + (si ? ">" : ")"), Fl = parseFloat(Re[In][1]), Ul = parseFloat(Re[In][2]);
|
|
73925
73927
|
break;
|
|
73926
73928
|
case zl:
|
|
73927
|
-
pa = (
|
|
73929
|
+
pa = (si ? "<" : "(") + Re[In] + (si ? ">" : ")"), Fl = qi(S), Ul = mo(Y);
|
|
73928
73930
|
}
|
|
73929
73931
|
Aa !== void 0 && Aa[In] !== void 0 && (ga = Aa[In] + ` Tw
|
|
73930
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);
|
|
@@ -74037,8 +74039,8 @@ T* `) : m.join(` Tj
|
|
|
74037
74039
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
74038
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();
|
|
74039
74041
|
}, p.__private__.lines = p.lines = function(m, S, Y, te, Ae, _e) {
|
|
74040
|
-
var Re, Je, lt, kt, bt, Nt, mr, br, Nr, Cs, ts,
|
|
74041
|
-
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")
|
|
74042
74044
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
74043
74045
|
for (MA(S, Y), Re = te[0], Je = te[1], kt = m.length, Cs = S, ts = Y, lt = 0; lt < kt; lt++)
|
|
74044
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));
|
|
@@ -74132,23 +74134,23 @@ T* `) : m.join(` Tj
|
|
|
74132
74134
|
return q(qi(m));
|
|
74133
74135
|
}, da = p.__private__.getVerticalCoordinateString = p.getVerticalCoordinateString = function(m) {
|
|
74134
74136
|
return q(mo(m));
|
|
74135
|
-
},
|
|
74137
|
+
}, ri = t.strokeColor || "0 G";
|
|
74136
74138
|
p.__private__.getStrokeColor = p.getDrawColor = function() {
|
|
74137
|
-
return
|
|
74139
|
+
return $n(ri);
|
|
74138
74140
|
}, p.__private__.setStrokeColor = p.setDrawColor = function(m, S, Y, te) {
|
|
74139
|
-
return
|
|
74141
|
+
return ri = ei({ ch1: m, ch2: S, ch3: Y, ch4: te, pdfColorType: "draw", precision: 2 }), X(ri), this;
|
|
74140
74142
|
};
|
|
74141
74143
|
var HA = t.fillColor || "0 g";
|
|
74142
74144
|
p.__private__.getFillColor = p.getFillColor = function() {
|
|
74143
|
-
return
|
|
74145
|
+
return $n(HA);
|
|
74144
74146
|
}, p.__private__.setFillColor = p.setFillColor = function(m, S, Y, te) {
|
|
74145
|
-
return HA =
|
|
74147
|
+
return HA = ei({ ch1: m, ch2: S, ch3: Y, ch4: te, pdfColorType: "fill", precision: 2 }), X(HA), this;
|
|
74146
74148
|
};
|
|
74147
74149
|
var Sl = t.textColor || "0 g", m0 = p.__private__.getTextColor = p.getTextColor = function() {
|
|
74148
|
-
return
|
|
74150
|
+
return $n(Sl);
|
|
74149
74151
|
};
|
|
74150
74152
|
p.__private__.setTextColor = p.setTextColor = function(m, S, Y, te) {
|
|
74151
|
-
return Sl =
|
|
74153
|
+
return Sl = ei({ ch1: m, ch2: S, ch3: Y, ch4: te, pdfColorType: "text", precision: 3 }), this;
|
|
74152
74154
|
};
|
|
74153
74155
|
var $d = t.charSpace, f0 = p.__private__.getCharSpace = p.getCharSpace = function() {
|
|
74154
74156
|
return parseFloat($d || 0);
|
|
@@ -74176,10 +74178,10 @@ T* `) : m.join(` Tj
|
|
|
74176
74178
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
74177
74179
|
return X(q(N(m)) + " M"), this;
|
|
74178
74180
|
}, p.GState = Y1, p.setGState = function(m) {
|
|
74179
|
-
(m = typeof m == "string" ? yr[
|
|
74181
|
+
(m = typeof m == "string" ? yr[Jn[m]] : ag(null, m)).equals(po) || (X("/" + m.id + " gs"), po = m);
|
|
74180
74182
|
};
|
|
74181
74183
|
var ag = function(m, S) {
|
|
74182
|
-
if (!m || !
|
|
74184
|
+
if (!m || !Jn[m]) {
|
|
74183
74185
|
var Y = !1;
|
|
74184
74186
|
for (var te in yr)
|
|
74185
74187
|
if (yr.hasOwnProperty(te) && yr[te].equals(S)) {
|
|
@@ -74192,7 +74194,7 @@ T* `) : m.join(` Tj
|
|
|
74192
74194
|
var Ae = "GS" + (Object.keys(yr).length + 1).toString(10);
|
|
74193
74195
|
yr[Ae] = S, S.id = Ae;
|
|
74194
74196
|
}
|
|
74195
|
-
return m && (
|
|
74197
|
+
return m && (Jn[m] = S.id), Gt.publish("addGState", S), S;
|
|
74196
74198
|
}
|
|
74197
74199
|
};
|
|
74198
74200
|
p.addGState = function(m, S) {
|
|
@@ -74242,13 +74244,13 @@ T* `) : m.join(` Tj
|
|
|
74242
74244
|
isNaN(Re) || (_e = parseFloat(Re));
|
|
74243
74245
|
} }), this;
|
|
74244
74246
|
}, YA = function() {
|
|
74245
|
-
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;
|
|
74246
74248
|
};
|
|
74247
74249
|
YA.prototype.restore = function() {
|
|
74248
|
-
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;
|
|
74249
74251
|
};
|
|
74250
74252
|
var lg = function(m, S, Y, te, Ae) {
|
|
74251
|
-
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]);
|
|
74252
74254
|
}, y0 = function(m) {
|
|
74253
74255
|
if (Ri[m])
|
|
74254
74256
|
Qi.pop().restore();
|
|
@@ -76280,8 +76282,8 @@ var _h, $6, ex, py = ["times"];
|
|
|
76280
76282
|
}
|
|
76281
76283
|
var Lt = JSON.parse(JSON.stringify(x));
|
|
76282
76284
|
Lt = B([Lt], this.posX + this.margin[3], -Ye + ft + this.ctx.prevPageLastElemOffset)[0];
|
|
76283
|
-
var
|
|
76284
|
-
|
|
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();
|
|
76285
76287
|
}
|
|
76286
76288
|
else
|
|
76287
76289
|
this.pdf.addImage(E, "JPEG", x.x, x.y, x.w, x.h, null, null, D);
|
|
@@ -77494,20 +77496,20 @@ function gy(t) {
|
|
|
77494
77496
|
var Q, $, he, ke, Ge, rt, at, ft, Xe, Ct, Ye = 0;
|
|
77495
77497
|
for (Xe = 0; Xe < 8; ++Xe) {
|
|
77496
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];
|
|
77497
|
-
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;
|
|
77498
77500
|
w[Ye] = yr + po, w[Ye + 4] = yr - po;
|
|
77499
|
-
var vt = 0.707106781 * (vr +
|
|
77500
|
-
w[Ye + 2] =
|
|
77501
|
+
var vt = 0.707106781 * (vr + Jn);
|
|
77502
|
+
w[Ye + 2] = Jn + vt, w[Ye + 6] = Jn - vt;
|
|
77501
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;
|
|
77502
77504
|
w[Ye + 5] = ut + Bl, w[Ye + 3] = ut - Bl, w[Ye + 1] = Qi + ds, w[Ye + 7] = Qi - ds, Ye += 8;
|
|
77503
77505
|
}
|
|
77504
77506
|
for (Ye = 0, Xe = 0; Xe < 8; ++Xe) {
|
|
77505
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];
|
|
77506
|
-
var
|
|
77507
|
-
w[Ye] =
|
|
77508
|
-
var jn = 0.707106781 * (Oi +
|
|
77509
|
-
w[Ye + 16] =
|
|
77510
|
-
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;
|
|
77511
77513
|
w[Ye + 40] = Vd + Cl, w[Ye + 24] = Vd - Cl, w[Ye + 8] = Hd + Md, w[Ye + 56] = Hd - Md, Ye++;
|
|
77512
77514
|
}
|
|
77513
77515
|
for (Xe = 0; Xe < 64; ++Xe)
|
|
@@ -77620,7 +77622,7 @@ function gy(t) {
|
|
|
77620
77622
|
* Licensed under the MIT License.
|
|
77621
77623
|
* http://opensource.org/licenses/mit-license
|
|
77622
77624
|
*/
|
|
77623
|
-
function
|
|
77625
|
+
function di(t, e) {
|
|
77624
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)
|
|
77625
77627
|
throw new Error("Invalid BMP File");
|
|
77626
77628
|
this.parseHeader(), this.parseBGR();
|
|
@@ -77901,7 +77903,7 @@ function ix(t) {
|
|
|
77901
77903
|
k[j++] = I, k[j++] = U;
|
|
77902
77904
|
}
|
|
77903
77905
|
}
|
|
77904
|
-
function
|
|
77906
|
+
function Wn(A, g, y, k, j) {
|
|
77905
77907
|
for (y = g + y; g < y; ) {
|
|
77906
77908
|
var I = (U = A[g++]) >> 16 & 248 | U >> 13 & 7, U = U >> 5 & 224 | U >> 3 & 31;
|
|
77907
77909
|
k[j++] = I, k[j++] = U;
|
|
@@ -77932,7 +77934,7 @@ function ix(t) {
|
|
|
77932
77934
|
function yr() {
|
|
77933
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;
|
|
77934
77936
|
}
|
|
77935
|
-
function
|
|
77937
|
+
function Jn() {
|
|
77936
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;
|
|
77937
77939
|
}
|
|
77938
77940
|
function po() {
|
|
@@ -77998,7 +78000,7 @@ function ix(t) {
|
|
|
77998
78000
|
function ut(A, g, y, k) {
|
|
77999
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);
|
|
78000
78002
|
}
|
|
78001
|
-
function
|
|
78003
|
+
function Xn(A, g) {
|
|
78002
78004
|
if (4 > A)
|
|
78003
78005
|
return A + 1;
|
|
78004
78006
|
var y = A - 2 >> 1;
|
|
@@ -78134,7 +78136,7 @@ function ix(t) {
|
|
|
78134
78136
|
}
|
|
78135
78137
|
return 1;
|
|
78136
78138
|
}
|
|
78137
|
-
function
|
|
78139
|
+
function Zn(A, g, y, k, j, I) {
|
|
78138
78140
|
if (A.Z != 0) {
|
|
78139
78141
|
var U = A.qd, z = A.rd;
|
|
78140
78142
|
for (e(ma[A.Z] != null); g < y; ++g)
|
|
@@ -78142,15 +78144,15 @@ function ix(t) {
|
|
|
78142
78144
|
A.qd = U, A.rd = z;
|
|
78143
78145
|
}
|
|
78144
78146
|
}
|
|
78145
|
-
function
|
|
78147
|
+
function $n(A, g) {
|
|
78146
78148
|
var y = A.l.ma, k = y.Z == 0 || y.Z == 1 ? A.l.j : A.C;
|
|
78147
78149
|
if (k = A.C < k ? k : A.C, e(g <= A.l.o), g > k) {
|
|
78148
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;
|
|
78149
|
-
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);
|
|
78150
78152
|
}
|
|
78151
78153
|
A.C = A.Ma = g;
|
|
78152
78154
|
}
|
|
78153
|
-
function
|
|
78155
|
+
function ei(A, g, y, k, j, I, U) {
|
|
78154
78156
|
var z = A.$ / k, R = A.$ % k, V = A.m, se = A.s, me = y + A.$, fe = me;
|
|
78155
78157
|
j = y + k * j;
|
|
78156
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;
|
|
@@ -78186,7 +78188,7 @@ function ix(t) {
|
|
|
78186
78188
|
for (; fe < me; )
|
|
78187
78189
|
Fe = g[fe++], ne.X[(506832829 * Fe & 4294967295) >>> ne.Mb] = Fe;
|
|
78188
78190
|
} else if (280 > Fe) {
|
|
78189
|
-
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)
|
|
78190
78192
|
break;
|
|
78191
78193
|
if (me - y < Ze || j - me < Fe)
|
|
78192
78194
|
break e;
|
|
@@ -78224,7 +78226,7 @@ function ix(t) {
|
|
|
78224
78226
|
}
|
|
78225
78227
|
function jn() {
|
|
78226
78228
|
var A = new y0();
|
|
78227
|
-
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);
|
|
78228
78230
|
}
|
|
78229
78231
|
function Li(A, g, y, k, j) {
|
|
78230
78232
|
var I = 1, U = [A], z = [g], R = k.m, V = k.s, se = null, me = 0;
|
|
@@ -78303,7 +78305,7 @@ function ix(t) {
|
|
|
78303
78305
|
}
|
|
78304
78306
|
var Cg = S0;
|
|
78305
78307
|
for ($t = Or = 0; $t < Qs; ++$t) {
|
|
78306
|
-
var
|
|
78308
|
+
var ii = Bg[$t], pc = ii.G, gc = ii.H, Aw = 0, Eg = 1, uw = 0;
|
|
78307
78309
|
for (Et = 0; 5 > Et; ++Et) {
|
|
78308
78310
|
wr = Zb[Et], pc[Et] = Cg, gc[Et] = Or, !Et && 0 < Jt && (wr += 1 << Jt);
|
|
78309
78311
|
n: {
|
|
@@ -78361,8 +78363,8 @@ function ix(t) {
|
|
|
78361
78363
|
uw += z0;
|
|
78362
78364
|
}
|
|
78363
78365
|
}
|
|
78364
|
-
if (
|
|
78365
|
-
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;
|
|
78366
78368
|
for (Ug = 0; Ug < cs; ++Ug) {
|
|
78367
78369
|
var ba = Ug, wa = ko.pd[ba], zg = ko.G[0][ko.H[0] + ba];
|
|
78368
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));
|
|
@@ -78394,7 +78396,7 @@ function ix(t) {
|
|
|
78394
78396
|
k.a = 1, I = 0;
|
|
78395
78397
|
break e;
|
|
78396
78398
|
}
|
|
78397
|
-
I = (I =
|
|
78399
|
+
I = (I = ei(k, se, 0, U, z, z, null)) && !R.h;
|
|
78398
78400
|
break e;
|
|
78399
78401
|
}
|
|
78400
78402
|
return I ? (j != null ? j[0] = se : (e(se == null), e(y)), k.$ = 0, y || Oi(V)) : Oi(V), I;
|
|
@@ -78407,7 +78409,7 @@ function ix(t) {
|
|
|
78407
78409
|
var y = A.C, k = g - y, j = A.V, I = A.Ba + A.c * y;
|
|
78408
78410
|
for (e(g <= A.l.o); 0 < k; ) {
|
|
78409
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;
|
|
78410
|
-
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;
|
|
78411
78413
|
}
|
|
78412
78414
|
e(y == g), A.C = A.Ma = g;
|
|
78413
78415
|
}
|
|
@@ -78652,7 +78654,7 @@ function ix(t) {
|
|
|
78652
78654
|
Ac[255 + y] = 0 > y ? 0 : 255 < y ? 255 : y;
|
|
78653
78655
|
gg = 1;
|
|
78654
78656
|
}
|
|
78655
|
-
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;
|
|
78656
78658
|
} else
|
|
78657
78659
|
y = 0;
|
|
78658
78660
|
}
|
|
@@ -78751,11 +78753,11 @@ function ix(t) {
|
|
|
78751
78753
|
}
|
|
78752
78754
|
return y ? (A.cb = 0, y) : 0;
|
|
78753
78755
|
}
|
|
78754
|
-
function
|
|
78756
|
+
function ti(A, g, y, k, j) {
|
|
78755
78757
|
j = A[g + y + 32 * k] + (j >> 3), A[g + y + 32 * k] = -256 & j ? 0 > j ? 0 : 255 : j;
|
|
78756
78758
|
}
|
|
78757
78759
|
function Yd(A, g, y, k, j, I) {
|
|
78758
|
-
|
|
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);
|
|
78759
78761
|
}
|
|
78760
78762
|
function Xs(A) {
|
|
78761
78763
|
return (20091 * A >> 16) + A;
|
|
@@ -78767,7 +78769,7 @@ function ix(t) {
|
|
|
78767
78769
|
U[I + 0] = z + se, U[I + 1] = R + V, U[I + 2] = R - V, U[I + 3] = z - se, I += 4, g++;
|
|
78768
78770
|
}
|
|
78769
78771
|
for (j = I = 0; 4 > j; ++j)
|
|
78770
|
-
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;
|
|
78771
78773
|
}
|
|
78772
78774
|
function Jp(A, g, y, k) {
|
|
78773
78775
|
var j = A[g + 0] + 4, I = 35468 * A[g + 4] >> 16, U = Xs(A[g + 4]), z = 35468 * A[g + 1] >> 16;
|
|
@@ -78783,7 +78785,7 @@ function ix(t) {
|
|
|
78783
78785
|
var j;
|
|
78784
78786
|
for (A = A[g + 0] + 4, j = 0; 4 > j; ++j)
|
|
78785
78787
|
for (g = 0; 4 > g; ++g)
|
|
78786
|
-
|
|
78788
|
+
ti(y, k, g, j, A);
|
|
78787
78789
|
}
|
|
78788
78790
|
function Zp(A, g, y, k) {
|
|
78789
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);
|
|
@@ -78977,7 +78979,7 @@ function ix(t) {
|
|
|
78977
78979
|
g += k;
|
|
78978
78980
|
}
|
|
78979
78981
|
}
|
|
78980
|
-
function
|
|
78982
|
+
function ri(A, g, y, k, j, I, U, z) {
|
|
78981
78983
|
for (I = 2 * I + 1; 0 < j--; ) {
|
|
78982
78984
|
if (ig(A, g, y, I, U))
|
|
78983
78985
|
if (sg(A, g, y, z))
|
|
@@ -78998,12 +79000,12 @@ function ix(t) {
|
|
|
78998
79000
|
function m0(A, g, y, k, j, I) {
|
|
78999
79001
|
var U;
|
|
79000
79002
|
for (U = 3; 0 < U; --U)
|
|
79001
|
-
|
|
79003
|
+
ri(A, g += 4 * y, y, 1, 16, k, j, I);
|
|
79002
79004
|
}
|
|
79003
79005
|
function $d(A, g, y, k, j, I) {
|
|
79004
79006
|
var U;
|
|
79005
79007
|
for (U = 3; 0 < U; --U)
|
|
79006
|
-
|
|
79008
|
+
ri(A, g += 4, 1, y, 16, k, j, I);
|
|
79007
79009
|
}
|
|
79008
79010
|
function f0(A, g, y, k, j, I, U, z) {
|
|
79009
79011
|
da(A, g, j, 1, 8, I, U, z), da(y, k, j, 1, 8, I, U, z);
|
|
@@ -79012,13 +79014,13 @@ function ix(t) {
|
|
|
79012
79014
|
da(A, g, 1, j, 8, I, U, z), da(y, k, 1, j, 8, I, U, z);
|
|
79013
79015
|
}
|
|
79014
79016
|
function KA(A, g, y, k, j, I, U, z) {
|
|
79015
|
-
|
|
79017
|
+
ri(A, g + 4 * j, j, 1, 8, I, U, z), ri(y, k + 4 * j, j, 1, 8, I, U, z);
|
|
79016
79018
|
}
|
|
79017
79019
|
function ag(A, g, y, k, j, I, U, z) {
|
|
79018
|
-
|
|
79020
|
+
ri(A, g + 4, 1, j, 8, I, U, z), ri(y, k + 4, 1, j, 8, I, U, z);
|
|
79019
79021
|
}
|
|
79020
79022
|
function ec() {
|
|
79021
|
-
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";
|
|
79022
79024
|
}
|
|
79023
79025
|
function GA() {
|
|
79024
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;
|
|
@@ -79030,7 +79032,7 @@ function ix(t) {
|
|
|
79030
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();
|
|
79031
79033
|
}
|
|
79032
79034
|
function y0() {
|
|
79033
|
-
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;
|
|
79034
79036
|
}
|
|
79035
79037
|
function tc() {
|
|
79036
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;
|
|
@@ -79115,32 +79117,32 @@ function ix(t) {
|
|
|
79115
79117
|
for (; ; ) {
|
|
79116
79118
|
for (; !se.h && ne < Ie; ) {
|
|
79117
79119
|
if (V & Pe || (Fe = Qr(me, V, R)), e(Fe != null), re(se), 256 > (je = Js(Fe.G[0], Fe.H[0], se)))
|
|
79118
|
-
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));
|
|
79119
79121
|
else {
|
|
79120
79122
|
if (!(280 > je)) {
|
|
79121
79123
|
Ue = 0;
|
|
79122
79124
|
break t;
|
|
79123
79125
|
}
|
|
79124
|
-
je =
|
|
79126
|
+
je = Xn(je - 256, se);
|
|
79125
79127
|
var Ze, He = Js(Fe.G[4], Fe.H[4], se);
|
|
79126
|
-
if (re(se), !(ne >= (He = Ni(le, He =
|
|
79128
|
+
if (re(se), !(ne >= (He = Ni(le, He = Xn(He, se))) && ie - ne >= je)) {
|
|
79127
79129
|
Ue = 0;
|
|
79128
79130
|
break t;
|
|
79129
79131
|
}
|
|
79130
79132
|
for (Ze = 0; Ze < je; ++Ze)
|
|
79131
79133
|
z[fe + ne + Ze] = z[fe + ne + Ze - He];
|
|
79132
79134
|
for (ne += je, V += je; V >= le; )
|
|
79133
|
-
V -= le, ++R <= g && !(R % 16) &&
|
|
79135
|
+
V -= le, ++R <= g && !(R % 16) && $n(U, R);
|
|
79134
79136
|
ne < Ie && V & Pe && (Fe = Qr(me, V, R));
|
|
79135
79137
|
}
|
|
79136
79138
|
e(se.h == G(se));
|
|
79137
79139
|
}
|
|
79138
|
-
|
|
79140
|
+
$n(U, R > g ? g : R);
|
|
79139
79141
|
break t;
|
|
79140
79142
|
}
|
|
79141
79143
|
!Ue || se.h && ne < ie ? (Ue = 0, U.a = se.h ? 5 : 3) : U.$ = ne, g = Ue;
|
|
79142
79144
|
} else
|
|
79143
|
-
g =
|
|
79145
|
+
g = ei(U, U.V, U.Ba, U.c, U.i, g, Md);
|
|
79144
79146
|
if (!g) {
|
|
79145
79147
|
k = 0;
|
|
79146
79148
|
break e;
|
|
@@ -79241,7 +79243,7 @@ function ix(t) {
|
|
|
79241
79243
|
function ts(A, g, y, k, j) {
|
|
79242
79244
|
mr(A, g, y, k, j), k[j + 3] = 255;
|
|
79243
79245
|
}
|
|
79244
|
-
function
|
|
79246
|
+
function si(A, g, y, k, j) {
|
|
79245
79247
|
Nt(A, g, y, k, j), k[j + 3] = 255;
|
|
79246
79248
|
}
|
|
79247
79249
|
function cn(A, g) {
|
|
@@ -79289,7 +79291,7 @@ function ix(t) {
|
|
|
79289
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++)
|
|
79290
79292
|
ie[Ie + 128 + y] = ie[Ie + 256 + y] = ie[Ie + 384 + y] = ie[Ie + 0 + y];
|
|
79291
79293
|
for (y = 0; 16 > y; ++y, ne <<= 2)
|
|
79292
|
-
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);
|
|
79293
79295
|
} else if (ie = dg(k, j, fe.Ob[0]), ha[ie](U, z), ne != 0)
|
|
79294
79296
|
for (y = 0; 16 > y; ++y, ne <<= 2)
|
|
79295
79297
|
XA(ne, je, 16 * +y, U, z + aw[y]);
|
|
@@ -79558,13 +79560,13 @@ function ix(t) {
|
|
|
79558
79560
|
});
|
|
79559
79561
|
var cg, Sn = L.ColorIndexInverseTransform, ac = L.MapARGB, Ag = L.VP8LColorIndexInverseTransformAlpha, ug = L.MapAlpha, Aa = L.VP8LPredictorsAdd = [];
|
|
79560
79562
|
Aa.length = 16, (L.VP8LPredictors = []).length = 16, (L.VP8LPredictorsAdd_C = []).length = 16, (L.VP8LPredictors_C = []).length = 16;
|
|
79561
|
-
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 = [];
|
|
79562
|
-
_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);
|
|
79563
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);
|
|
79564
|
-
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);
|
|
79565
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;
|
|
79566
79568
|
this.WebPDecodeRGBA = function(A, g, y, k, j) {
|
|
79567
|
-
var I = fg, U = new ec(), z = new
|
|
79569
|
+
var I = fg, U = new ec(), z = new Jn();
|
|
79568
79570
|
U.ba = z, z.S = I, z.width = [z.width], z.height = [z.height];
|
|
79569
79571
|
var R = z.width, V = z.height, se = new po();
|
|
79570
79572
|
if (se == null || A == null)
|
|
@@ -79620,7 +79622,7 @@ function ix(t) {
|
|
|
79620
79622
|
}
|
|
79621
79623
|
k.xb = 0;
|
|
79622
79624
|
}
|
|
79623
|
-
if (
|
|
79625
|
+
if (!ei(k, k.V, k.Ba, k.c, k.i, y.o, Ld))
|
|
79624
79626
|
break r;
|
|
79625
79627
|
j.Dc = k.Ma, k = 1;
|
|
79626
79628
|
break t;
|
|
@@ -79867,7 +79869,7 @@ function ix(t) {
|
|
|
79867
79869
|
var l = { data: d, width: o, height: a }, c = new gy(100).encode(l, 100);
|
|
79868
79870
|
return t.processJPEG.call(this, c, r, s, n);
|
|
79869
79871
|
}, t.processGIF87A = t.processGIF89A;
|
|
79870
|
-
}(pt.API),
|
|
79872
|
+
}(pt.API), di.prototype.parseHeader = function() {
|
|
79871
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) {
|
|
79872
79874
|
var t = this.colors === 0 ? 1 << this.bitPP : this.colors;
|
|
79873
79875
|
this.palette = new Array(t);
|
|
@@ -79877,7 +79879,7 @@ function ix(t) {
|
|
|
79877
79879
|
}
|
|
79878
79880
|
}
|
|
79879
79881
|
this.height < 0 && (this.height *= -1, this.bottom_up = !1);
|
|
79880
|
-
},
|
|
79882
|
+
}, di.prototype.parseBGR = function() {
|
|
79881
79883
|
this.pos = this.offset;
|
|
79882
79884
|
try {
|
|
79883
79885
|
var t = "bit" + this.bitPP, e = this.width * this.height * 4;
|
|
@@ -79885,7 +79887,7 @@ function ix(t) {
|
|
|
79885
79887
|
} catch (r) {
|
|
79886
79888
|
or.log("bit decode error:" + r);
|
|
79887
79889
|
}
|
|
79888
|
-
},
|
|
79890
|
+
}, di.prototype.bit1 = function() {
|
|
79889
79891
|
var t, e = Math.ceil(this.width / 8), r = e % 4;
|
|
79890
79892
|
for (t = this.height - 1; t >= 0; t--) {
|
|
79891
79893
|
for (var s = this.bottom_up ? t : this.height - 1 - t, n = 0; n < e; n++)
|
|
@@ -79895,7 +79897,7 @@ function ix(t) {
|
|
|
79895
79897
|
}
|
|
79896
79898
|
r !== 0 && (this.pos += 4 - r);
|
|
79897
79899
|
}
|
|
79898
|
-
},
|
|
79900
|
+
}, di.prototype.bit4 = function() {
|
|
79899
79901
|
for (var t = Math.ceil(this.width / 2), e = t % 4, r = this.height - 1; r >= 0; r--) {
|
|
79900
79902
|
for (var s = this.bottom_up ? r : this.height - 1 - r, n = 0; n < t; n++) {
|
|
79901
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];
|
|
@@ -79905,7 +79907,7 @@ function ix(t) {
|
|
|
79905
79907
|
}
|
|
79906
79908
|
e !== 0 && (this.pos += 4 - e);
|
|
79907
79909
|
}
|
|
79908
|
-
},
|
|
79910
|
+
}, di.prototype.bit8 = function() {
|
|
79909
79911
|
for (var t = this.width % 4, e = this.height - 1; e >= 0; e--) {
|
|
79910
79912
|
for (var r = this.bottom_up ? e : this.height - 1 - e, s = 0; s < this.width; s++) {
|
|
79911
79913
|
var n = this.datav.getUint8(this.pos++, !0), i = r * this.width * 4 + 4 * s;
|
|
@@ -79917,7 +79919,7 @@ function ix(t) {
|
|
|
79917
79919
|
}
|
|
79918
79920
|
t !== 0 && (this.pos += 4 - t);
|
|
79919
79921
|
}
|
|
79920
|
-
},
|
|
79922
|
+
}, di.prototype.bit15 = function() {
|
|
79921
79923
|
for (var t = this.width % 3, e = parseInt("11111", 2), r = this.height - 1; r >= 0; r--) {
|
|
79922
79924
|
for (var s = this.bottom_up ? r : this.height - 1 - r, n = 0; n < this.width; n++) {
|
|
79923
79925
|
var i = this.datav.getUint16(this.pos, !0);
|
|
@@ -79927,7 +79929,7 @@ function ix(t) {
|
|
|
79927
79929
|
}
|
|
79928
79930
|
this.pos += t;
|
|
79929
79931
|
}
|
|
79930
|
-
},
|
|
79932
|
+
}, di.prototype.bit16 = function() {
|
|
79931
79933
|
for (var t = this.width % 3, e = parseInt("11111", 2), r = parseInt("111111", 2), s = this.height - 1; s >= 0; s--) {
|
|
79932
79934
|
for (var n = this.bottom_up ? s : this.height - 1 - s, i = 0; i < this.width; i++) {
|
|
79933
79935
|
var o = this.datav.getUint16(this.pos, !0);
|
|
@@ -79937,7 +79939,7 @@ function ix(t) {
|
|
|
79937
79939
|
}
|
|
79938
79940
|
this.pos += t;
|
|
79939
79941
|
}
|
|
79940
|
-
},
|
|
79942
|
+
}, di.prototype.bit24 = function() {
|
|
79941
79943
|
for (var t = this.height - 1; t >= 0; t--) {
|
|
79942
79944
|
for (var e = this.bottom_up ? t : this.height - 1 - t, r = 0; r < this.width; r++) {
|
|
79943
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;
|
|
@@ -79945,13 +79947,13 @@ function ix(t) {
|
|
|
79945
79947
|
}
|
|
79946
79948
|
this.pos += this.width % 4;
|
|
79947
79949
|
}
|
|
79948
|
-
},
|
|
79950
|
+
}, di.prototype.bit32 = function() {
|
|
79949
79951
|
for (var t = this.height - 1; t >= 0; t--)
|
|
79950
79952
|
for (var e = this.bottom_up ? t : this.height - 1 - t, r = 0; r < this.width; r++) {
|
|
79951
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;
|
|
79952
79954
|
this.data[a] = i, this.data[a + 1] = n, this.data[a + 2] = s, this.data[a + 3] = o;
|
|
79953
79955
|
}
|
|
79954
|
-
},
|
|
79956
|
+
}, di.prototype.getData = function() {
|
|
79955
79957
|
return this.data;
|
|
79956
79958
|
}, /**
|
|
79957
79959
|
* @license
|
|
@@ -79962,7 +79964,7 @@ function ix(t) {
|
|
|
79962
79964
|
*/
|
|
79963
79965
|
function(t) {
|
|
79964
79966
|
t.processBMP = function(e, r, s, n) {
|
|
79965
|
-
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);
|
|
79966
79968
|
return t.processJPEG.call(this, l, r, s, n);
|
|
79967
79969
|
};
|
|
79968
79970
|
}(pt.API), ix.prototype.getData = function() {
|
|
@@ -80137,7 +80139,7 @@ function(t) {
|
|
|
80137
80139
|
*/
|
|
80138
80140
|
function(t) {
|
|
80139
80141
|
function e() {
|
|
80140
|
-
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) {
|
|
80141
80143
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
80142
80144
|
}).then(function(r) {
|
|
80143
80145
|
return r.default ? r.default : r;
|
|
@@ -81831,7 +81833,7 @@ let xn = class extends qe {
|
|
|
81831
81833
|
<div class="cards">${this.getBrandCardAccepted()}</div>
|
|
81832
81834
|
</div>
|
|
81833
81835
|
</div>
|
|
81834
|
-
<form @input="${this.validateForm}"
|
|
81836
|
+
<form @input="${this.validateForm}">
|
|
81835
81837
|
<div class="credit-info">
|
|
81836
81838
|
<scof-input
|
|
81837
81839
|
class="credit-number"
|
|
@@ -81841,7 +81843,6 @@ let xn = class extends qe {
|
|
|
81841
81843
|
label="Número de tarjeta"
|
|
81842
81844
|
inputmode="numeric"
|
|
81843
81845
|
.maxlength="${19}"
|
|
81844
|
-
autocomplete="cc-number"
|
|
81845
81846
|
.validationRules="${[
|
|
81846
81847
|
Vc("Tenés que completar el número de la tarjeta."),
|
|
81847
81848
|
Kc(16, "Revisá el número de la tarjeta, está incompleto."),
|
|
@@ -81867,7 +81868,6 @@ let xn = class extends qe {
|
|
|
81867
81868
|
inputmode="numeric"
|
|
81868
81869
|
.maxlength="${5}"
|
|
81869
81870
|
label="Vencimiento"
|
|
81870
|
-
autocomplete="cc-csc"
|
|
81871
81871
|
.validationRules="${[
|
|
81872
81872
|
Vc("Tenés que completar el vencimiento."),
|
|
81873
81873
|
w4(),
|
|
@@ -81884,7 +81884,6 @@ let xn = class extends qe {
|
|
|
81884
81884
|
inputmode="numeric"
|
|
81885
81885
|
.maxlength="${3}"
|
|
81886
81886
|
label="Código de seguridad"
|
|
81887
|
-
autocomplete="cc-csc"
|
|
81888
81887
|
.validationRules="${[
|
|
81889
81888
|
Vc("Tenés que completar el código."),
|
|
81890
81889
|
Kc(3, "Revisá el código."),
|
|
@@ -81987,6 +81986,10 @@ let io = class extends qe {
|
|
|
81987
81986
|
var t, e, r;
|
|
81988
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 : "";
|
|
81989
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
|
+
}
|
|
81990
81993
|
firstUpdated(t) {
|
|
81991
81994
|
var e;
|
|
81992
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();
|
|
@@ -82078,7 +82081,7 @@ let io = class extends qe {
|
|
|
82078
82081
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
82079
82082
|
}
|
|
82080
82083
|
renderHTML() {
|
|
82081
|
-
var t, e
|
|
82084
|
+
var t, e;
|
|
82082
82085
|
return P`
|
|
82083
82086
|
<form @input="${this.validateForm}">
|
|
82084
82087
|
<scof-input
|
|
@@ -82086,19 +82089,19 @@ let io = class extends qe {
|
|
|
82086
82089
|
label="Nombre y apellido"
|
|
82087
82090
|
.validationRules="${[
|
|
82088
82091
|
Ms("Tenés que completar el nombre y apellido."),
|
|
82089
|
-
|
|
82092
|
+
Vn(2, "El nombre debe tener al menos 2 caracteres."),
|
|
82090
82093
|
Xi(30, "El nombre no puede tener más de 30 caracteres."),
|
|
82091
82094
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
82092
82095
|
Cb("El nombre no puede estar en blanco.")
|
|
82093
82096
|
]}"
|
|
82094
|
-
.value="${
|
|
82097
|
+
.value="${this.name}"
|
|
82095
82098
|
></scof-input>
|
|
82096
82099
|
<scof-input
|
|
82097
82100
|
name="user_email"
|
|
82098
82101
|
label="Email"
|
|
82099
82102
|
type="email"
|
|
82100
82103
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
82101
|
-
.value="${(
|
|
82104
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
82102
82105
|
></scof-input>
|
|
82103
82106
|
|
|
82104
82107
|
<div class="panel-id-selection">
|
|
@@ -82124,11 +82127,11 @@ let io = class extends qe {
|
|
|
82124
82127
|
.validationRules="${this.isDni ? [
|
|
82125
82128
|
Ms("Tenés que completar el número."),
|
|
82126
82129
|
jb(),
|
|
82127
|
-
|
|
82130
|
+
Vn(6, "Revisá el número, está incompleto.", !0),
|
|
82128
82131
|
Xi(9, "Revisá el número, está incompleto.", !0)
|
|
82129
82132
|
] : [
|
|
82130
82133
|
Ms("El pasaporte es obligatorio"),
|
|
82131
|
-
|
|
82134
|
+
Vn(6, "Revisá el número, está incompleto."),
|
|
82132
82135
|
Xi(20, "Revisá el número, está incompleto.")
|
|
82133
82136
|
]}"
|
|
82134
82137
|
.value="${this.docNumber}"
|
|
@@ -82272,11 +82275,11 @@ let kp = class extends qe {
|
|
|
82272
82275
|
<div class="card-content-text">
|
|
82273
82276
|
<h3 class="card-plan__circle-dot font_semiBold">
|
|
82274
82277
|
${this.paymentFirstMessage(t.installments, t.name)} de $
|
|
82275
|
-
${
|
|
82278
|
+
${Kn(t.installment_amount.value)}
|
|
82276
82279
|
</h3>
|
|
82277
82280
|
<div class="font_regular subtitle">
|
|
82278
82281
|
<p class="text">
|
|
82279
|
-
Precio financiado: $ ${
|
|
82282
|
+
Precio financiado: $ ${Kn(t.total_amount.value)} | CFT: ${t.total_financial_cost}
|
|
82280
82283
|
%
|
|
82281
82284
|
</p>
|
|
82282
82285
|
</div>
|
|
@@ -82362,7 +82365,7 @@ let Ps = class t extends qe {
|
|
|
82362
82365
|
firstUpdated(e) {
|
|
82363
82366
|
return we(this, null, function* () {
|
|
82364
82367
|
var r, s, n;
|
|
82365
|
-
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) {
|
|
82366
82369
|
pe.info("firstUpdatedStatus", {
|
|
82367
82370
|
context: Le.DEFAULT,
|
|
82368
82371
|
origin_sdk: dx,
|
|
@@ -83815,7 +83818,7 @@ export {
|
|
|
83815
83818
|
Al as af,
|
|
83816
83819
|
Z1 as ag,
|
|
83817
83820
|
Za as b,
|
|
83818
|
-
|
|
83821
|
+
hi as c,
|
|
83819
83822
|
$a as d,
|
|
83820
83823
|
to as e,
|
|
83821
83824
|
No as f,
|