@ranty/ranty-sdk 2.15.0-beta.12 → 2.15.0-beta.13
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.
|
@@ -6,14 +6,14 @@ var cu = (t, e) => {
|
|
|
6
6
|
return e;
|
|
7
7
|
throw Error("Symbol." + t + " is not defined");
|
|
8
8
|
};
|
|
9
|
-
var xw = (t, e, r) => e in t ? F8(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r,
|
|
9
|
+
var xw = (t, e, r) => e in t ? F8(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, At = (t, e) => {
|
|
10
10
|
for (var r in e || (e = {}))
|
|
11
11
|
T8.call(e, r) && xw(t, r, e[r]);
|
|
12
12
|
if (ww)
|
|
13
13
|
for (var r of ww(e))
|
|
14
14
|
D8.call(e, r) && xw(t, r, e[r]);
|
|
15
15
|
return t;
|
|
16
|
-
},
|
|
16
|
+
}, Et = (t, e) => U8(t, z8(e));
|
|
17
17
|
var pr = (t, e, r) => R8(P8(t), r, e);
|
|
18
18
|
var we = (t, e, r) => new Promise((s, n) => {
|
|
19
19
|
var i = (d) => {
|
|
@@ -889,7 +889,7 @@ const Ve = (t) => (e) => typeof e == "function" ? ((r, s) => (customElements.def
|
|
|
889
889
|
* Copyright 2017 Google LLC
|
|
890
890
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
891
891
|
*/
|
|
892
|
-
const tE = (t, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ?
|
|
892
|
+
const tE = (t, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? Et(At({}, e), { finisher(r) {
|
|
893
893
|
r.createProperty(e.key, t);
|
|
894
894
|
} }) : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e.key, initializer() {
|
|
895
895
|
typeof e.initializer == "function" && (this[e.key] = e.initializer.call(this));
|
|
@@ -907,7 +907,7 @@ function F(t) {
|
|
|
907
907
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
908
908
|
*/
|
|
909
909
|
function oe(t) {
|
|
910
|
-
return F(
|
|
910
|
+
return F(Et(At({}, t), { state: !0 }));
|
|
911
911
|
}
|
|
912
912
|
/**
|
|
913
913
|
* @license
|
|
@@ -1364,10 +1364,10 @@ const KE = (t) => {
|
|
|
1364
1364
|
setImmediate: Sx,
|
|
1365
1365
|
asap: WE
|
|
1366
1366
|
};
|
|
1367
|
-
function
|
|
1367
|
+
function jt(t, e, r, s, n) {
|
|
1368
1368
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), r && (this.config = r), s && (this.request = s), n && (this.response = n, this.status = n.status ? n.status : null);
|
|
1369
1369
|
}
|
|
1370
|
-
Se.inherits(
|
|
1370
|
+
Se.inherits(jt, Error, {
|
|
1371
1371
|
toJSON: function() {
|
|
1372
1372
|
return {
|
|
1373
1373
|
// Standard
|
|
@@ -1388,7 +1388,7 @@ Se.inherits(Et, Error, {
|
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
1390
|
});
|
|
1391
|
-
const _x =
|
|
1391
|
+
const _x = jt.prototype, Ix = {};
|
|
1392
1392
|
[
|
|
1393
1393
|
"ERR_BAD_OPTION_VALUE",
|
|
1394
1394
|
"ERR_BAD_OPTION",
|
|
@@ -1406,13 +1406,13 @@ const _x = Et.prototype, Ix = {};
|
|
|
1406
1406
|
].forEach((t) => {
|
|
1407
1407
|
Ix[t] = { value: t };
|
|
1408
1408
|
});
|
|
1409
|
-
Object.defineProperties(
|
|
1409
|
+
Object.defineProperties(jt, Ix);
|
|
1410
1410
|
Object.defineProperty(_x, "isAxiosError", { value: !0 });
|
|
1411
|
-
|
|
1411
|
+
jt.from = (t, e, r, s, n, i) => {
|
|
1412
1412
|
const o = Object.create(_x);
|
|
1413
1413
|
return Se.toFlatObject(t, o, function(d) {
|
|
1414
1414
|
return d !== Error.prototype;
|
|
1415
|
-
}, (a) => a !== "isAxiosError"),
|
|
1415
|
+
}, (a) => a !== "isAxiosError"), jt.call(o, t.message, e, r, s, n), o.cause = t, o.name = t.name, i && Object.assign(o, i), o;
|
|
1416
1416
|
};
|
|
1417
1417
|
const JE = null;
|
|
1418
1418
|
function wy(t) {
|
|
@@ -1451,7 +1451,7 @@ function rm(t, e, r) {
|
|
|
1451
1451
|
if (Se.isDate(f))
|
|
1452
1452
|
return f.toISOString();
|
|
1453
1453
|
if (!d && Se.isBlob(f))
|
|
1454
|
-
throw new
|
|
1454
|
+
throw new jt("Blob is not supported. Use a Buffer instead.");
|
|
1455
1455
|
return Se.isArrayBuffer(f) || Se.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
1456
1456
|
}
|
|
1457
1457
|
function A(f, y, C) {
|
|
@@ -1611,7 +1611,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
1611
1611
|
hasStandardBrowserWebWorkerEnv: oj,
|
|
1612
1612
|
navigator: xy,
|
|
1613
1613
|
origin: aj
|
|
1614
|
-
}, Symbol.toStringTag, { value: "Module" })), sn =
|
|
1614
|
+
}, Symbol.toStringTag, { value: "Module" })), sn = At(At({}, lj), nj);
|
|
1615
1615
|
function dj(t, e) {
|
|
1616
1616
|
return rm(t, new sn.classes.URLSearchParams(), Object.assign({
|
|
1617
1617
|
visitor: function(r, s, n, i) {
|
|
@@ -1695,7 +1695,7 @@ const c2 = {
|
|
|
1695
1695
|
return JSON.parse(e);
|
|
1696
1696
|
} catch (a) {
|
|
1697
1697
|
if (o)
|
|
1698
|
-
throw a.name === "SyntaxError" ?
|
|
1698
|
+
throw a.name === "SyntaxError" ? jt.from(a, jt.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
1701
|
return e;
|
|
@@ -1931,16 +1931,16 @@ function Dx(t) {
|
|
|
1931
1931
|
return !!(t && t.__CANCEL__);
|
|
1932
1932
|
}
|
|
1933
1933
|
function mc(t, e, r) {
|
|
1934
|
-
|
|
1934
|
+
jt.call(this, t == null ? "canceled" : t, jt.ERR_CANCELED, e, r), this.name = "CanceledError";
|
|
1935
1935
|
}
|
|
1936
|
-
Se.inherits(mc,
|
|
1936
|
+
Se.inherits(mc, jt, {
|
|
1937
1937
|
__CANCEL__: !0
|
|
1938
1938
|
});
|
|
1939
1939
|
function Rx(t, e, r) {
|
|
1940
1940
|
const s = r.config.validateStatus;
|
|
1941
|
-
!r.status || !s || s(r.status) ? t(r) : e(new
|
|
1941
|
+
!r.status || !s || s(r.status) ? t(r) : e(new jt(
|
|
1942
1942
|
"Request failed with status code " + r.status,
|
|
1943
|
-
[
|
|
1943
|
+
[jt.ERR_BAD_REQUEST, jt.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
|
|
1944
1944
|
r.config,
|
|
1945
1945
|
r.request,
|
|
1946
1946
|
r
|
|
@@ -2071,7 +2071,7 @@ function Cj(t, e) {
|
|
|
2071
2071
|
function Qx(t, e) {
|
|
2072
2072
|
return t && !Bj(e) ? Cj(t, e) : e;
|
|
2073
2073
|
}
|
|
2074
|
-
const Yw = (t) => t instanceof pi ?
|
|
2074
|
+
const Yw = (t) => t instanceof pi ? At({}, t) : t;
|
|
2075
2075
|
function pd(t, e) {
|
|
2076
2076
|
e = e || {};
|
|
2077
2077
|
const r = {};
|
|
@@ -2192,15 +2192,15 @@ const Nx = (t) => {
|
|
|
2192
2192
|
"onloadend" in C ? C.onloadend = b : C.onreadystatechange = function() {
|
|
2193
2193
|
!C || C.readyState !== 4 || C.status === 0 && !(C.responseURL && C.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
2194
2194
|
}, C.onabort = function() {
|
|
2195
|
-
C && (s(new
|
|
2195
|
+
C && (s(new jt("Request aborted", jt.ECONNABORTED, t, C)), C = null);
|
|
2196
2196
|
}, C.onerror = function() {
|
|
2197
|
-
s(new
|
|
2197
|
+
s(new jt("Network Error", jt.ERR_NETWORK, t, C)), C = null;
|
|
2198
2198
|
}, C.ontimeout = function() {
|
|
2199
2199
|
let O = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
|
|
2200
2200
|
const K = n.transitional || Px;
|
|
2201
|
-
n.timeoutErrorMessage && (O = n.timeoutErrorMessage), s(new
|
|
2201
|
+
n.timeoutErrorMessage && (O = n.timeoutErrorMessage), s(new jt(
|
|
2202
2202
|
O,
|
|
2203
|
-
K.clarifyTimeoutError ?
|
|
2203
|
+
K.clarifyTimeoutError ? jt.ETIMEDOUT : jt.ECONNABORTED,
|
|
2204
2204
|
t,
|
|
2205
2205
|
C
|
|
2206
2206
|
)), C = null;
|
|
@@ -2211,7 +2211,7 @@ const Nx = (t) => {
|
|
|
2211
2211
|
}, n.cancelToken && n.cancelToken.subscribe(A), n.signal && (n.signal.aborted ? A() : n.signal.addEventListener("abort", A)));
|
|
2212
2212
|
const k = vj(n.url);
|
|
2213
2213
|
if (k && sn.protocols.indexOf(k) === -1) {
|
|
2214
|
-
s(new
|
|
2214
|
+
s(new jt("Unsupported protocol " + k + ":", jt.ERR_BAD_REQUEST, t));
|
|
2215
2215
|
return;
|
|
2216
2216
|
}
|
|
2217
2217
|
C.send(i || null);
|
|
@@ -2224,11 +2224,11 @@ const Nx = (t) => {
|
|
|
2224
2224
|
if (!n) {
|
|
2225
2225
|
n = !0, a();
|
|
2226
2226
|
const A = l instanceof Error ? l : this.reason;
|
|
2227
|
-
s.abort(A instanceof
|
|
2227
|
+
s.abort(A instanceof jt ? A : new mc(A instanceof Error ? A.message : A));
|
|
2228
2228
|
}
|
|
2229
2229
|
};
|
|
2230
2230
|
let o = e && setTimeout(() => {
|
|
2231
|
-
o = null, i(new
|
|
2231
|
+
o = null, i(new jt(`timeout ${e} of ms exceeded`, jt.ETIMEDOUT));
|
|
2232
2232
|
}, e);
|
|
2233
2233
|
const a = () => {
|
|
2234
2234
|
t && (o && clearTimeout(o), o = null, t.forEach((l) => {
|
|
@@ -2339,7 +2339,7 @@ const Nx = (t) => {
|
|
|
2339
2339
|
nm && ((t) => {
|
|
2340
2340
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
2341
2341
|
!s1[e] && (s1[e] = Se.isFunction(t[e]) ? (r) => r[e]() : (r, s) => {
|
|
2342
|
-
throw new
|
|
2342
|
+
throw new jt(`Response type '${e}' is not supported`, jt.ERR_NOT_SUPPORT, s);
|
|
2343
2343
|
});
|
|
2344
2344
|
});
|
|
2345
2345
|
})(new Response());
|
|
@@ -2398,7 +2398,7 @@ const Tj = (t) => we(void 0, null, function* () {
|
|
|
2398
2398
|
}
|
|
2399
2399
|
Se.isString(u) || (u = u ? "include" : "omit");
|
|
2400
2400
|
const b = "credentials" in Request.prototype;
|
|
2401
|
-
f = new Request(e,
|
|
2401
|
+
f = new Request(e, Et(At({}, h), {
|
|
2402
2402
|
signal: p,
|
|
2403
2403
|
method: r.toUpperCase(),
|
|
2404
2404
|
headers: A.normalize().toJSON(),
|
|
@@ -2438,11 +2438,11 @@ const Tj = (t) => we(void 0, null, function* () {
|
|
|
2438
2438
|
});
|
|
2439
2439
|
} catch (b) {
|
|
2440
2440
|
throw y && y(), b && b.name === "TypeError" && /fetch/i.test(b.message) ? Object.assign(
|
|
2441
|
-
new
|
|
2441
|
+
new jt("Network Error", jt.ERR_NETWORK, t, f),
|
|
2442
2442
|
{
|
|
2443
2443
|
cause: b.cause || b
|
|
2444
2444
|
}
|
|
2445
|
-
) :
|
|
2445
|
+
) : jt.from(b, b && b.code, t, f);
|
|
2446
2446
|
}
|
|
2447
2447
|
})), By = {
|
|
2448
2448
|
http: JE,
|
|
@@ -2468,7 +2468,7 @@ const Xw = (t) => `- ${t}`, Qj = (t) => Se.isFunction(t) || t === null || t ===
|
|
|
2468
2468
|
r = t[i];
|
|
2469
2469
|
let o;
|
|
2470
2470
|
if (s = r, !Qj(r) && (s = By[(o = String(r)).toLowerCase()], s === void 0))
|
|
2471
|
-
throw new
|
|
2471
|
+
throw new jt(`Unknown adapter '${o}'`);
|
|
2472
2472
|
if (s)
|
|
2473
2473
|
break;
|
|
2474
2474
|
n[o || "#" + i] = s;
|
|
@@ -2480,7 +2480,7 @@ const Xw = (t) => `- ${t}`, Qj = (t) => Se.isFunction(t) || t === null || t ===
|
|
|
2480
2480
|
let o = e ? i.length > 1 ? `since :
|
|
2481
2481
|
` + i.map(Xw).join(`
|
|
2482
2482
|
`) : " " + Xw(i[0]) : "as no adapter specified";
|
|
2483
|
-
throw new
|
|
2483
|
+
throw new jt(
|
|
2484
2484
|
"There is no suitable adapter to dispatch the request " + o,
|
|
2485
2485
|
"ERR_NOT_SUPPORT"
|
|
2486
2486
|
);
|
|
@@ -2524,9 +2524,9 @@ p2.transitional = function(e, r, s) {
|
|
|
2524
2524
|
}
|
|
2525
2525
|
return (i, o, a) => {
|
|
2526
2526
|
if (e === !1)
|
|
2527
|
-
throw new
|
|
2527
|
+
throw new jt(
|
|
2528
2528
|
n(o, " has been removed" + (r ? " in " + r : "")),
|
|
2529
|
-
|
|
2529
|
+
jt.ERR_DEPRECATED
|
|
2530
2530
|
);
|
|
2531
2531
|
return r && !$w[o] && ($w[o] = !0, console.warn(
|
|
2532
2532
|
n(
|
|
@@ -2538,7 +2538,7 @@ p2.transitional = function(e, r, s) {
|
|
|
2538
2538
|
};
|
|
2539
2539
|
function Nj(t, e, r) {
|
|
2540
2540
|
if (typeof t != "object")
|
|
2541
|
-
throw new
|
|
2541
|
+
throw new jt("options must be an object", jt.ERR_BAD_OPTION_VALUE);
|
|
2542
2542
|
const s = Object.keys(t);
|
|
2543
2543
|
let n = s.length;
|
|
2544
2544
|
for (; n-- > 0; ) {
|
|
@@ -2546,11 +2546,11 @@ function Nj(t, e, r) {
|
|
|
2546
2546
|
if (o) {
|
|
2547
2547
|
const a = t[i], d = a === void 0 || o(a, i, t);
|
|
2548
2548
|
if (d !== !0)
|
|
2549
|
-
throw new
|
|
2549
|
+
throw new jt("option " + i + " must be " + d, jt.ERR_BAD_OPTION_VALUE);
|
|
2550
2550
|
continue;
|
|
2551
2551
|
}
|
|
2552
2552
|
if (r !== !0)
|
|
2553
|
-
throw new
|
|
2553
|
+
throw new jt("Unknown option " + i, jt.ERR_BAD_OPTION);
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
const Cy = {
|
|
@@ -2846,7 +2846,7 @@ Vr.CancelToken = Oj;
|
|
|
2846
2846
|
Vr.isCancel = Dx;
|
|
2847
2847
|
Vr.VERSION = qx;
|
|
2848
2848
|
Vr.toFormData = rm;
|
|
2849
|
-
Vr.AxiosError =
|
|
2849
|
+
Vr.AxiosError = jt;
|
|
2850
2850
|
Vr.Cancel = Vr.CanceledError;
|
|
2851
2851
|
Vr.all = function(e) {
|
|
2852
2852
|
return Promise.all(e);
|
|
@@ -3324,7 +3324,7 @@ const s5 = (t = !1) => {
|
|
|
3324
3324
|
return (d = s.url) == null ? void 0 : d.includes(a);
|
|
3325
3325
|
}))
|
|
3326
3326
|
return s;
|
|
3327
|
-
s.params =
|
|
3327
|
+
s.params = Et(At({}, s.params), {
|
|
3328
3328
|
publicKey: i
|
|
3329
3329
|
});
|
|
3330
3330
|
}
|
|
@@ -5572,7 +5572,7 @@ const yc = new zS(), v2 = (t) => we(void 0, null, function* () {
|
|
|
5572
5572
|
}), Uy = (t) => {
|
|
5573
5573
|
const { products: e, amount: r, soft_descriptor: s } = t[0], n = [];
|
|
5574
5574
|
return e.map((i) => {
|
|
5575
|
-
n.push(
|
|
5575
|
+
n.push(Et(At({}, i), {
|
|
5576
5576
|
unit_price: {
|
|
5577
5577
|
currency: i.unit_price.currency,
|
|
5578
5578
|
value: zy(i.unit_price.value, !1).toString()
|
|
@@ -5581,7 +5581,7 @@ const yc = new zS(), v2 = (t) => we(void 0, null, function* () {
|
|
|
5581
5581
|
}), [
|
|
5582
5582
|
{
|
|
5583
5583
|
products: n,
|
|
5584
|
-
amount:
|
|
5584
|
+
amount: Et(At({}, r), {
|
|
5585
5585
|
value: zy(r.value, !1).toString()
|
|
5586
5586
|
}),
|
|
5587
5587
|
soft_descriptor: s
|
|
@@ -5726,7 +5726,7 @@ const QS = "card_on_file", hu = "Volver a la tienda", Ta = "https://ranty-sdk-js
|
|
|
5726
5726
|
status: "WS_DISCONNECTED",
|
|
5727
5727
|
returnButton: !0,
|
|
5728
5728
|
nameReturnButton: "Seguir pagando"
|
|
5729
|
-
}, am =
|
|
5729
|
+
}, am = Et(At({}, Ns), {
|
|
5730
5730
|
subtitle: "Hubo un problema al intentar procesarlo, volvé a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
|
|
5731
5731
|
}), Dh = {
|
|
5732
5732
|
name: "unknown-error",
|
|
@@ -5747,14 +5747,14 @@ const QS = "card_on_file", hu = "Volver a la tienda", Ta = "https://ranty-sdk-js
|
|
|
5747
5747
|
returnButton: !1,
|
|
5748
5748
|
hasDownloadPDF: !1
|
|
5749
5749
|
},
|
|
5750
|
-
|
|
5751
|
-
|
|
5750
|
+
At({}, Py),
|
|
5751
|
+
Et(At({}, Py), {
|
|
5752
5752
|
name: "blocked-external",
|
|
5753
5753
|
returnButton: !0,
|
|
5754
5754
|
nameReturnButton: hu
|
|
5755
5755
|
}),
|
|
5756
|
-
|
|
5757
|
-
|
|
5756
|
+
At({}, l1),
|
|
5757
|
+
Et(At({}, l1), {
|
|
5758
5758
|
name: "confirmed-external",
|
|
5759
5759
|
subtitle: "Encontrá el detalle de la compra en la tienda.",
|
|
5760
5760
|
returnButton: !0,
|
|
@@ -5814,30 +5814,30 @@ const QS = "card_on_file", hu = "Volver a la tienda", Ta = "https://ranty-sdk-js
|
|
|
5814
5814
|
status: "FAILURE_PROCESSED",
|
|
5815
5815
|
returnButton: !0
|
|
5816
5816
|
},
|
|
5817
|
-
|
|
5818
|
-
|
|
5817
|
+
At({}, Dh),
|
|
5818
|
+
Et(At({}, Dh), {
|
|
5819
5819
|
name: "unknown-error-try-another-payment-method",
|
|
5820
5820
|
title: "No se pudo realizar el pago",
|
|
5821
5821
|
subtitle: "Hubo un problema al intentar procesarlo.",
|
|
5822
5822
|
returnButton: !0
|
|
5823
5823
|
}),
|
|
5824
|
-
|
|
5825
|
-
|
|
5824
|
+
At({}, v5),
|
|
5825
|
+
Et(At({}, v5), {
|
|
5826
5826
|
status: "POLLING_DISCONNECTED"
|
|
5827
5827
|
}),
|
|
5828
|
-
|
|
5828
|
+
Et(At({}, Ns), {
|
|
5829
5829
|
status_reason: ["payment"],
|
|
5830
5830
|
title: "No se pudo realizar el pago",
|
|
5831
5831
|
subtitle: "No llegó a cobrarse nada. Podés reintentar el pago. Si vuelve a pasar, probá con otra forma de pago.",
|
|
5832
5832
|
returnButton: !0
|
|
5833
5833
|
}),
|
|
5834
|
-
|
|
5834
|
+
Et(At({}, Ns), {
|
|
5835
5835
|
status_reason: ["system"],
|
|
5836
5836
|
title: "No se pudo realizar el pago",
|
|
5837
5837
|
subtitle: "No llegó a cobrarse nada. Podés reintentar el pago.",
|
|
5838
5838
|
returnButton: !0
|
|
5839
5839
|
}),
|
|
5840
|
-
|
|
5840
|
+
Et(At({}, Ns), {
|
|
5841
5841
|
status_reason: [
|
|
5842
5842
|
"gateway_not_available",
|
|
5843
5843
|
"gateway_timeout",
|
|
@@ -5848,61 +5848,61 @@ const QS = "card_on_file", hu = "Volver a la tienda", Ta = "https://ranty-sdk-js
|
|
|
5848
5848
|
],
|
|
5849
5849
|
subtitle: "Hubo un problema al intentar procesarlo, volvé a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
|
|
5850
5850
|
}),
|
|
5851
|
-
|
|
5851
|
+
Et(At({}, Ns), {
|
|
5852
5852
|
status_reason: ["denied", "invalid_merchant"],
|
|
5853
5853
|
subtitle: "Hubo un problema con la tarjeta. Podés volver a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
|
|
5854
5854
|
}),
|
|
5855
|
-
|
|
5855
|
+
Et(At({}, Ns), {
|
|
5856
5856
|
status_reason: ["no_amount_available"],
|
|
5857
5857
|
subtitle: "La tarjeta con la que intentaste pagar no tiene el dinero necesario. Podés intentar pagar con otra."
|
|
5858
5858
|
}),
|
|
5859
|
-
|
|
5859
|
+
Et(At({}, Ns), {
|
|
5860
5860
|
status_reason: ["account_identity_validation_error"],
|
|
5861
5861
|
subtitle: "Los datos de la tarjeta con la que intentaste pagar tienen algún error. Revisalos y volvé a intentarlo."
|
|
5862
5862
|
}),
|
|
5863
|
-
|
|
5863
|
+
Et(At({}, Ns), {
|
|
5864
5864
|
status_reason: ["expired_card_invalid_expiry_date"],
|
|
5865
5865
|
subtitle: "El vencimiento de la tarjeta está incorrecto. Revisalo y volvé a intentarlo."
|
|
5866
5866
|
}),
|
|
5867
|
-
|
|
5867
|
+
Et(At({}, Ns), {
|
|
5868
5868
|
status_reason: ["denied_card_expired"],
|
|
5869
5869
|
subtitle: "La tarjeta con la que intentaste pagar no está habilitada. Intentá pagar con otra o comunicate con el banco que la emitió."
|
|
5870
5870
|
}),
|
|
5871
|
-
|
|
5871
|
+
Et(At({}, Ns), {
|
|
5872
5872
|
status_reason: ["denied_hold_card"],
|
|
5873
5873
|
subtitle: "El banco emisor de tu tarjeta rechazó la operación. Volvé a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
|
|
5874
5874
|
}),
|
|
5875
|
-
|
|
5875
|
+
Et(At({}, Ns), {
|
|
5876
5876
|
status_reason: ["denied_message_error"],
|
|
5877
5877
|
subtitle: "Hubo un problema al intentar procesarlo. Podés volver a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
|
|
5878
5878
|
}),
|
|
5879
|
-
|
|
5879
|
+
Et(At({}, Ns), {
|
|
5880
5880
|
status_reason: ["rejected-qr"],
|
|
5881
5881
|
title: "Vas a tener que pedir un nuevo link de pago",
|
|
5882
5882
|
subtitle: "Este link ya no está disponible para pagar.",
|
|
5883
5883
|
returnButton: !1
|
|
5884
5884
|
}),
|
|
5885
|
-
|
|
5885
|
+
Et(At({}, Ns), {
|
|
5886
5886
|
status_reason: ["rejected-qr-external"],
|
|
5887
5887
|
title: "No pudimos realizar el pago",
|
|
5888
5888
|
subtitle: "No llegó a cobrarse nada. Podés reintentar el pago.",
|
|
5889
5889
|
returnButton: !0,
|
|
5890
5890
|
nameReturnButton: hu
|
|
5891
5891
|
}),
|
|
5892
|
-
|
|
5892
|
+
Et(At({}, Ns), {
|
|
5893
5893
|
status_reason: ["rejected-qr"],
|
|
5894
5894
|
title: "Vas a tener que pedir un nuevo link de pago",
|
|
5895
5895
|
subtitle: "Este link ya no está disponible para pagar.",
|
|
5896
5896
|
returnButton: !1
|
|
5897
5897
|
}),
|
|
5898
|
-
|
|
5898
|
+
Et(At({}, Ns), {
|
|
5899
5899
|
status_reason: ["rejected-qr-external"],
|
|
5900
5900
|
title: "No pudimos realizar el pago",
|
|
5901
5901
|
subtitle: "No llegó a cobrarse nada. Podés reintentar el pago.",
|
|
5902
5902
|
returnButton: !0,
|
|
5903
5903
|
nameReturnButton: hu
|
|
5904
5904
|
}),
|
|
5905
|
-
|
|
5905
|
+
Et(At({}, Dh), {
|
|
5906
5906
|
name: "payment-request-not-found",
|
|
5907
5907
|
title: "Se cumplió el tiempo para realizar este pago",
|
|
5908
5908
|
subtitle: "Si tenías un link de pago, pedí uno nuevo. Si no, generá un nuevo pedido en la tienda.",
|
|
@@ -5969,7 +5969,7 @@ const QS = "card_on_file", hu = "Volver a la tienda", Ta = "https://ranty-sdk-js
|
|
|
5969
5969
|
message: hr.messages.find((n) => n.name === "link-used")
|
|
5970
5970
|
};
|
|
5971
5971
|
default:
|
|
5972
|
-
return
|
|
5972
|
+
return Et(At({}, s), {
|
|
5973
5973
|
error: !1,
|
|
5974
5974
|
message: null
|
|
5975
5975
|
});
|
|
@@ -5999,7 +5999,7 @@ const QS = "card_on_file", hu = "Volver a la tienda", Ta = "https://ranty-sdk-js
|
|
|
5999
5999
|
}), VS = (t) => we(void 0, null, function* () {
|
|
6000
6000
|
return (yield Dt.instanceWithRetries.post(
|
|
6001
6001
|
"/sdk/scof/checkout",
|
|
6002
|
-
|
|
6002
|
+
At({}, t),
|
|
6003
6003
|
{
|
|
6004
6004
|
headers: {
|
|
6005
6005
|
Authorization: Er.token
|
|
@@ -8607,7 +8607,7 @@ function f1(t, e, r) {
|
|
|
8607
8607
|
var s = r.getHandler(), n = Array.isArray(s) ? s : [s];
|
|
8608
8608
|
return _5[t] >= _5[r.getLevel()] && vc(n, e);
|
|
8609
8609
|
}
|
|
8610
|
-
var
|
|
8610
|
+
var St = {
|
|
8611
8611
|
ok: "ok",
|
|
8612
8612
|
debug: "debug",
|
|
8613
8613
|
info: "info",
|
|
@@ -8617,7 +8617,7 @@ var jt = {
|
|
|
8617
8617
|
critical: "critical",
|
|
8618
8618
|
alert: "alert",
|
|
8619
8619
|
emerg: "emerg"
|
|
8620
|
-
}, _5 = (ii = {}, ii[
|
|
8620
|
+
}, _5 = (ii = {}, ii[St.ok] = 0, ii[St.debug] = 1, ii[St.info] = 2, ii[St.notice] = 4, ii[St.warn] = 5, ii[St.error] = 6, ii[St.critical] = 7, ii[St.alert] = 8, ii[St.emerg] = 9, ii);
|
|
8621
8621
|
function Am(t, e) {
|
|
8622
8622
|
var r = e === void 0 ? {} : e, s = r.includeMessage, n = s === void 0 ? !1 : s;
|
|
8623
8623
|
return {
|
|
@@ -8641,14 +8641,14 @@ var gF = globalThis && globalThis.__decorate || function(t, e, r, s) {
|
|
|
8641
8641
|
console: "console",
|
|
8642
8642
|
http: "http",
|
|
8643
8643
|
silent: "silent"
|
|
8644
|
-
}, hF = Object.keys(
|
|
8644
|
+
}, hF = Object.keys(St), mi = (
|
|
8645
8645
|
/** @class */
|
|
8646
8646
|
function() {
|
|
8647
8647
|
function t(e, r, s, n, i, o) {
|
|
8648
|
-
n === void 0 && (n = np.http), i === void 0 && (i =
|
|
8648
|
+
n === void 0 && (n = np.http), i === void 0 && (i = St.debug), o === void 0 && (o = {}), this.handleLogStrategy = e, this.handlerType = n, this.level = i, this.contextManager = Ny(r), this.contextManager.setContext(o), s && this.contextManager.setContextProperty("logger", { name: s });
|
|
8649
8649
|
}
|
|
8650
8650
|
return t.prototype.logImplementation = function(e, r, s, n, i) {
|
|
8651
|
-
s === void 0 && (s =
|
|
8651
|
+
s === void 0 && (s = St.info);
|
|
8652
8652
|
var o = To(r), a;
|
|
8653
8653
|
if (n != null) {
|
|
8654
8654
|
var d = Uk({
|
|
@@ -8670,7 +8670,7 @@ var gF = globalThis && globalThis.__decorate || function(t, e, r, s) {
|
|
|
8670
8670
|
status: s
|
|
8671
8671
|
}, this, i);
|
|
8672
8672
|
}, t.prototype.log = function(e, r, s, n) {
|
|
8673
|
-
s === void 0 && (s =
|
|
8673
|
+
s === void 0 && (s = St.info);
|
|
8674
8674
|
var i;
|
|
8675
8675
|
f1(s, np.http, this) && (i = dm()), this.logImplementation(e, r, s, n, i);
|
|
8676
8676
|
}, t.prototype.setContext = function(e) {
|
|
@@ -8696,15 +8696,15 @@ var gF = globalThis && globalThis.__decorate || function(t, e, r, s) {
|
|
|
8696
8696
|
], t.prototype, "logImplementation", null), t;
|
|
8697
8697
|
}()
|
|
8698
8698
|
);
|
|
8699
|
-
mi.prototype.ok = Jo(
|
|
8700
|
-
mi.prototype.debug = Jo(
|
|
8701
|
-
mi.prototype.info = Jo(
|
|
8702
|
-
mi.prototype.notice = Jo(
|
|
8703
|
-
mi.prototype.warn = Jo(
|
|
8704
|
-
mi.prototype.error = Jo(
|
|
8705
|
-
mi.prototype.critical = Jo(
|
|
8706
|
-
mi.prototype.alert = Jo(
|
|
8707
|
-
mi.prototype.emerg = Jo(
|
|
8699
|
+
mi.prototype.ok = Jo(St.ok);
|
|
8700
|
+
mi.prototype.debug = Jo(St.debug);
|
|
8701
|
+
mi.prototype.info = Jo(St.info);
|
|
8702
|
+
mi.prototype.notice = Jo(St.notice);
|
|
8703
|
+
mi.prototype.warn = Jo(St.warn);
|
|
8704
|
+
mi.prototype.error = Jo(St.error);
|
|
8705
|
+
mi.prototype.critical = Jo(St.critical);
|
|
8706
|
+
mi.prototype.alert = Jo(St.alert);
|
|
8707
|
+
mi.prototype.emerg = Jo(St.emerg);
|
|
8708
8708
|
function Jo(t) {
|
|
8709
8709
|
return function(e, r, s) {
|
|
8710
8710
|
var n;
|
|
@@ -8961,7 +8961,7 @@ function _F(t, e, r, s, n) {
|
|
|
8961
8961
|
}
|
|
8962
8962
|
});
|
|
8963
8963
|
}
|
|
8964
|
-
var Ql, IF = (Ql = {}, Ql[Mr.log] =
|
|
8964
|
+
var Ql, IF = (Ql = {}, Ql[Mr.log] = St.info, Ql[Mr.debug] = St.debug, Ql[Mr.info] = St.info, Ql[Mr.warn] = St.warn, Ql[Mr.error] = St.error, Ql);
|
|
8965
8965
|
function FF(t, e) {
|
|
8966
8966
|
var r = WI(t.forwardConsoleLogs).subscribe(function(s) {
|
|
8967
8967
|
var n = {
|
|
@@ -8986,8 +8986,8 @@ function FF(t, e) {
|
|
|
8986
8986
|
}
|
|
8987
8987
|
function UF(t, e) {
|
|
8988
8988
|
var r = W_(t, t.forwardReports).subscribe(function(s) {
|
|
8989
|
-
var n = s.message, i, o = s.originalError.type === "deprecation" ?
|
|
8990
|
-
o ===
|
|
8989
|
+
var n = s.message, i, o = s.originalError.type === "deprecation" ? St.warn : St.error;
|
|
8990
|
+
o === St.error ? i = Am(s) : s.stack && (n += " Found in ".concat(q_(s.stack))), e.notify(0, {
|
|
8991
8991
|
rawLogsEvent: {
|
|
8992
8992
|
date: ul(),
|
|
8993
8993
|
message: n,
|
|
@@ -9033,7 +9033,7 @@ function zF(t, e) {
|
|
|
9033
9033
|
status_code: o.status,
|
|
9034
9034
|
url: o.url
|
|
9035
9035
|
},
|
|
9036
|
-
status:
|
|
9036
|
+
status: St.error,
|
|
9037
9037
|
origin: kn.NETWORK
|
|
9038
9038
|
},
|
|
9039
9039
|
domainContext: l
|
|
@@ -9094,7 +9094,7 @@ function OF(t, e) {
|
|
|
9094
9094
|
date: i.startClocks.timeStamp,
|
|
9095
9095
|
error: Am(i),
|
|
9096
9096
|
origin: kn.SOURCE,
|
|
9097
|
-
status:
|
|
9097
|
+
status: St.error
|
|
9098
9098
|
}
|
|
9099
9099
|
});
|
|
9100
9100
|
});
|
|
@@ -9126,7 +9126,7 @@ function MF(t) {
|
|
|
9126
9126
|
handleLog: e
|
|
9127
9127
|
};
|
|
9128
9128
|
}
|
|
9129
|
-
var qF = (oi = {}, oi[
|
|
9129
|
+
var qF = (oi = {}, oi[St.ok] = Mr.debug, oi[St.debug] = Mr.debug, oi[St.info] = Mr.info, oi[St.notice] = Mr.info, oi[St.warn] = Mr.warn, oi[St.error] = Mr.error, oi[St.critical] = Mr.error, oi[St.alert] = Mr.error, oi[St.emerg] = Mr.error, oi);
|
|
9130
9130
|
function HF(t, e) {
|
|
9131
9131
|
var r = t.status, s = t.message;
|
|
9132
9132
|
Kl[qF[r]].call(Yi, s, e);
|
|
@@ -9167,7 +9167,7 @@ function YF(t) {
|
|
|
9167
9167
|
message: e.message,
|
|
9168
9168
|
date: e.startClocks.timeStamp,
|
|
9169
9169
|
origin: kn.AGENT,
|
|
9170
|
-
status:
|
|
9170
|
+
status: St.error
|
|
9171
9171
|
}
|
|
9172
9172
|
}), qk("Error reported to customer", { "error.message": e.message });
|
|
9173
9173
|
};
|
|
@@ -9257,10 +9257,10 @@ function JF(t, e, r, s) {
|
|
|
9257
9257
|
}
|
|
9258
9258
|
var Qu = xF(JF);
|
|
9259
9259
|
Y_(gl(), "DD_LOGS", Qu);
|
|
9260
|
-
const XF = "@ranty/ranty-sdk", ZF = "2.15.0-beta.
|
|
9260
|
+
const XF = "@ranty/ranty-sdk", ZF = "2.15.0-beta.13", $F = 2, eU = !0, tU = {
|
|
9261
9261
|
"": {
|
|
9262
9262
|
name: "@ranty/ranty-sdk",
|
|
9263
|
-
version: "2.15.0-beta.
|
|
9263
|
+
version: "2.15.0-beta.13",
|
|
9264
9264
|
license: "ISC",
|
|
9265
9265
|
dependencies: {
|
|
9266
9266
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -46463,13 +46463,13 @@ const nB = (t) => {
|
|
|
46463
46463
|
if (r.includes(n) && o) {
|
|
46464
46464
|
i = `rejected${cm(t)}`;
|
|
46465
46465
|
const d = gd(i);
|
|
46466
|
-
return
|
|
46466
|
+
return Et(At({}, e), {
|
|
46467
46467
|
status: n,
|
|
46468
46468
|
error: !0,
|
|
46469
46469
|
message: d
|
|
46470
46470
|
});
|
|
46471
46471
|
}
|
|
46472
|
-
return
|
|
46472
|
+
return Et(At({}, e), {
|
|
46473
46473
|
status: n,
|
|
46474
46474
|
error: !1,
|
|
46475
46475
|
message: null
|
|
@@ -55795,7 +55795,9 @@ const Av = zA, fi = class extends EventTarget {
|
|
|
55795
55795
|
const o = this.handleWebSocketMessage(i);
|
|
55796
55796
|
this.emitEvent("WS-MESSAGE-STATUS", o), o && s(o);
|
|
55797
55797
|
}, this.socket.onerror = (i) => {
|
|
55798
|
-
this.stopHeartbeat(), this.isRunning = !1, n(i)
|
|
55798
|
+
this.stopHeartbeat(), this.isRunning = !1, n(Et(At({}, i), {
|
|
55799
|
+
status: "WEB_SOCKET_ERROR"
|
|
55800
|
+
}));
|
|
55799
55801
|
}, this.socket.onclose = (i) => {
|
|
55800
55802
|
this.cleanup(), s({
|
|
55801
55803
|
success: !1,
|
|
@@ -56901,7 +56903,7 @@ function on({ context: t }) {
|
|
|
56901
56903
|
}, configurable: !0, enumerable: !0 };
|
|
56902
56904
|
} else {
|
|
56903
56905
|
const o = n.set;
|
|
56904
|
-
i =
|
|
56906
|
+
i = Et(At({}, n), { set(a) {
|
|
56905
56907
|
s.get(this).setValue(a), o == null || o.call(this, a);
|
|
56906
56908
|
} });
|
|
56907
56909
|
}
|
|
@@ -57372,7 +57374,7 @@ let Za = class t extends qe {
|
|
|
57372
57374
|
message: "Hubo un problema al intentar cargar las opciones de pago. Podés volver a intentarlo.",
|
|
57373
57375
|
image: "https://ranty-sdk-js.naranjax.com/images/error.svg",
|
|
57374
57376
|
showButton: !0
|
|
57375
|
-
}, this.messageError =
|
|
57377
|
+
}, this.messageError = At({}, this.messageErrorDefault), this._setTokenTask = new ab(this, {
|
|
57376
57378
|
args: () => [this.publicKey],
|
|
57377
57379
|
task: () => we(this, null, function* () {
|
|
57378
57380
|
Dt.setConfig(this.env), this.payfacContext.config = Dt.getConfig(), this.payfacContext.isEmbedded = this.isEmbedded === "true";
|
|
@@ -57422,7 +57424,7 @@ let Za = class t extends qe {
|
|
|
57422
57424
|
connectedCallback() {
|
|
57423
57425
|
super.connectedCallback(), this.addEventListener("fraud-prevention-context-set", (e) => {
|
|
57424
57426
|
const r = e;
|
|
57425
|
-
this.payfacContext.paymentRequest.buyer.session =
|
|
57427
|
+
this.payfacContext.paymentRequest.buyer.session = At({}, r.detail);
|
|
57426
57428
|
});
|
|
57427
57429
|
}
|
|
57428
57430
|
render() {
|
|
@@ -57612,7 +57614,7 @@ let Tr = class t extends qe {
|
|
|
57612
57614
|
}
|
|
57613
57615
|
firstUpdated(e) {
|
|
57614
57616
|
return we(this, null, function* () {
|
|
57615
|
-
pr(t.prototype, this, "firstUpdated").call(this, e), this._getPaymentRequest(), this._wsPaymentResponse(), this.contextData.installmentsData = yield eo(this.contextData.paymentRequest), this._isLoading = !1, this.contextData =
|
|
57617
|
+
pr(t.prototype, this, "firstUpdated").call(this, e), this._getPaymentRequest(), this._wsPaymentResponse(), this.contextData.installmentsData = yield eo(this.contextData.paymentRequest), this._isLoading = !1, this.contextData = Et(At({}, this.contextData), {
|
|
57616
57618
|
locale: this.locale,
|
|
57617
57619
|
dpaId: this.dpaId,
|
|
57618
57620
|
rememberMe: !0,
|
|
@@ -57712,7 +57714,7 @@ let Tr = class t extends qe {
|
|
|
57712
57714
|
else {
|
|
57713
57715
|
this._isLoading = !0;
|
|
57714
57716
|
const a = !0;
|
|
57715
|
-
this.contextData.paymentRequest =
|
|
57717
|
+
this.contextData.paymentRequest = Et(At({}, this.contextData.paymentRequest), { flag: a });
|
|
57716
57718
|
const d = b2(
|
|
57717
57719
|
this.contextData.paymentRequest,
|
|
57718
57720
|
this.contextData.directPaymentData.formData,
|
|
@@ -60832,7 +60834,7 @@ const Ac = (t, e) => {
|
|
|
60832
60834
|
const e = Date.now();
|
|
60833
60835
|
return t.filter((r) => {
|
|
60834
60836
|
var o, a;
|
|
60835
|
-
const s =
|
|
60837
|
+
const s = Et(At({}, r), {
|
|
60836
60838
|
description: r.description.endsWith(".") ? r.description : r.description + "."
|
|
60837
60839
|
}), n = new Date(s.start_date).getTime(), i = new Date(s.end_date).getTime();
|
|
60838
60840
|
return (a = (o = s.conditions) == null ? void 0 : o.days) != null && a.length ? B3(e, n, i) && oO(e, s.conditions.days) : B3(e, n, i);
|
|
@@ -60978,7 +60980,7 @@ let wi = class t extends qe {
|
|
|
60978
60980
|
return;
|
|
60979
60981
|
}
|
|
60980
60982
|
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;
|
|
60981
|
-
const a = e.user_card_data.map((d) =>
|
|
60983
|
+
const a = e.user_card_data.map((d) => Et(At({}, d), {
|
|
60982
60984
|
is_allowed: this.stateScof.cardsAccepted.includes(d.card_brand)
|
|
60983
60985
|
})).sort((d, l) => Number(l.is_allowed) - Number(d.is_allowed));
|
|
60984
60986
|
this.stateScof.userCardData = {
|
|
@@ -61005,7 +61007,7 @@ let wi = class t extends qe {
|
|
|
61005
61007
|
directPaymentTransparent() {
|
|
61006
61008
|
return we(this, null, function* () {
|
|
61007
61009
|
var r, s, n;
|
|
61008
|
-
this.stateScof.formCardData =
|
|
61010
|
+
this.stateScof.formCardData = Et(At({}, this.stateScof.formCardData), {
|
|
61009
61011
|
dni: (r = this.stateScof.binData) == null ? void 0 : r.holder.doc_number,
|
|
61010
61012
|
passport: null,
|
|
61011
61013
|
dateOfBirth: "",
|
|
@@ -61013,7 +61015,7 @@ let wi = class t extends qe {
|
|
|
61013
61015
|
name: (n = this.stateScof.binData) == null ? void 0 : n.holder.name
|
|
61014
61016
|
});
|
|
61015
61017
|
const e = b2(
|
|
61016
|
-
|
|
61018
|
+
Et(At({}, this.stateScof.statePaymentRequest), { flag: !0 }),
|
|
61017
61019
|
this.stateScof.formCardData,
|
|
61018
61020
|
this.stateScof.installment,
|
|
61019
61021
|
!1
|
|
@@ -61297,7 +61299,7 @@ const pO = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
|
|
|
61297
61299
|
return 0;
|
|
61298
61300
|
}), vb = (t) => {
|
|
61299
61301
|
const e = t.map(
|
|
61300
|
-
(d) => d.name === mn ?
|
|
61302
|
+
(d) => d.name === mn ? Et(At({}, d), {
|
|
61301
61303
|
installments: 3
|
|
61302
61304
|
}) : d
|
|
61303
61305
|
), r = e.filter((d) => !d.has_interest || Number(d.interest_rate) === 0), s = e.filter(
|
|
@@ -63338,10 +63340,10 @@ let xi = class extends qe {
|
|
|
63338
63340
|
}
|
|
63339
63341
|
yield this.getPaymentRequestAndRedirectToStatus();
|
|
63340
63342
|
} catch (t) {
|
|
63341
|
-
dt("WEB_SOCKET_ERROR", "Web socket connection failed."), console.log(t), this.statusMessage = "WS_DISCONNECTED";
|
|
63343
|
+
dt("WEB_SOCKET_ERROR", "Web socket connection failed."), console.log(t), this.statusMessage = t.status || "WS_DISCONNECTED";
|
|
63342
63344
|
} finally {
|
|
63343
63345
|
let t = hr.messages.find((e) => e.status === this.statusMessage);
|
|
63344
|
-
if (this.isShowCardPayment =
|
|
63346
|
+
if (this.isShowCardPayment = this.statusMessage === "WEB_SOCKET_ERROR", this.statusMessage !== "WS_DISCONNECTED") {
|
|
63345
63347
|
const e = this.stateScof.statePaymentRequest;
|
|
63346
63348
|
mr.stopPolling("manual"), t = this.setMessagePaymentStatus(e);
|
|
63347
63349
|
}
|
|
@@ -63361,8 +63363,8 @@ let xi = class extends qe {
|
|
|
63361
63363
|
duration_context: Vt.endPayment(),
|
|
63362
63364
|
payment_request_id: (e = this.stateScof.statePaymentRequest) == null ? void 0 : e.id,
|
|
63363
63365
|
payment_request_status: this.statusMessage,
|
|
63364
|
-
card_name: t.transactions[0].payment_method.name,
|
|
63365
|
-
card_type: t.transactions[0].payment_method.card_type,
|
|
63366
|
+
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
63367
|
+
card_type: t.transactions[0].payment_method.card_type ? t.transactions[0].payment_method.card_type : "no_card_type",
|
|
63366
63368
|
payment_type: t.payment_type
|
|
63367
63369
|
}
|
|
63368
63370
|
});
|
|
@@ -63783,7 +63785,7 @@ let bn = class extends qe {
|
|
|
63783
63785
|
docType: this.stateScof.binData.holder.doc_type.toLowerCase(),
|
|
63784
63786
|
docNumber: this.stateScof.binData.holder.doc_number,
|
|
63785
63787
|
cardBrand: this.stateScof.binData.installment.name
|
|
63786
|
-
}, f =
|
|
63788
|
+
}, f = Et(At({}, p), {
|
|
63787
63789
|
encPaymentInstrument: "*** MASKED ***"
|
|
63788
63790
|
});
|
|
63789
63791
|
try {
|
|
@@ -65481,10 +65483,10 @@ let Ho = class extends qe {
|
|
|
65481
65483
|
}
|
|
65482
65484
|
yield this.getPaymentRequestAndRedirectToStatus();
|
|
65483
65485
|
} catch (t) {
|
|
65484
|
-
dt("WEB_SOCKET_ERROR", "Web socket connection failed."), this.statusMessage = "WS_DISCONNECTED", console.log(t);
|
|
65486
|
+
dt("WEB_SOCKET_ERROR", "Web socket connection failed."), this.statusMessage = t.status || "WS_DISCONNECTED", console.log(t);
|
|
65485
65487
|
} finally {
|
|
65486
65488
|
let t = hr.messages.find((e) => e.status === this.statusMessage);
|
|
65487
|
-
if (this.isShowCardPayment =
|
|
65489
|
+
if (this.isShowCardPayment = this.statusMessage === "WEB_SOCKET_ERROR", this.statusMessage !== "WS_DISCONNECTED") {
|
|
65488
65490
|
const e = this._statePaymentManualInput.statePaymentRequest;
|
|
65489
65491
|
mr.stopPolling("manual"), t = this.setMessagePaymentStatus(e);
|
|
65490
65492
|
}
|
|
@@ -65503,8 +65505,8 @@ let Ho = class extends qe {
|
|
|
65503
65505
|
duration_context: Vt.endPayment(),
|
|
65504
65506
|
payment_request_id: (e = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : e.id,
|
|
65505
65507
|
payment_request_status: this.statusMessage,
|
|
65506
|
-
card_name: t.transactions[0].payment_method.name,
|
|
65507
|
-
card_type: t.transactions[0].payment_method.card_type,
|
|
65508
|
+
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
65509
|
+
card_type: t.transactions[0].payment_method.card_type ? t.transactions[0].payment_method.card_type : "no_card_type",
|
|
65508
65510
|
payment_type: t.payment_type
|
|
65509
65511
|
}
|
|
65510
65512
|
});
|
|
@@ -66917,7 +66919,7 @@ let ki = class t extends qe {
|
|
|
66917
66919
|
this.stateStatus.title = r.message.title, this.stateStatus.subtitle = r.message.subtitle, this.stateStatus.icon = r.message.icon, this.stateStatus.status = r.status, this.stateStatus.nameReturnButton = r.message.nameReturnButton || "", this.stateStatus.returnButton = r.message.returnButton || !1, this.stateStatus.hasDownloadPDF = r.message.hasDownloadPDF || !1, this.createEvent("button-pushed", Ut.STATUS);
|
|
66918
66920
|
return;
|
|
66919
66921
|
}
|
|
66920
|
-
yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = Ut.MANUAL_INPUT, this.stateManualInputProps =
|
|
66922
|
+
yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = Ut.MANUAL_INPUT, this.stateManualInputProps = At({}, this.stateManualInputProps), this.createEvent("button-pushed", this._statePaymentManualInput.page), this.requestUpdate();
|
|
66921
66923
|
} catch (e) {
|
|
66922
66924
|
dt("LOAD_DATA_ERROR", "Load data failed."), console.log(e), this.redirectByUnknownError();
|
|
66923
66925
|
}
|
|
@@ -66953,7 +66955,7 @@ let ki = class t extends qe {
|
|
|
66953
66955
|
directPaymentTransparent() {
|
|
66954
66956
|
return we(this, null, function* () {
|
|
66955
66957
|
var r, s, n, i, o, a, d;
|
|
66956
|
-
this._statePaymentManualInput.formCardData =
|
|
66958
|
+
this._statePaymentManualInput.formCardData = Et(At({}, this._statePaymentManualInput.formCardData), {
|
|
66957
66959
|
dni: (r = this._statePaymentManualInput.binData) == null ? void 0 : r.holder.doc_number,
|
|
66958
66960
|
passport: null,
|
|
66959
66961
|
dateOfBirth: "",
|
|
@@ -66961,7 +66963,7 @@ let ki = class t extends qe {
|
|
|
66961
66963
|
name: (n = this._statePaymentManualInput.binData) == null ? void 0 : n.holder.name
|
|
66962
66964
|
});
|
|
66963
66965
|
const e = b2(
|
|
66964
|
-
|
|
66966
|
+
Et(At({}, this._statePaymentManualInput.statePaymentRequest), { flag: !0 }),
|
|
66965
66967
|
this._statePaymentManualInput.formCardData,
|
|
66966
66968
|
this._statePaymentManualInput.installment,
|
|
66967
66969
|
!1
|
|
@@ -77511,15 +77513,15 @@ function $6(t) {
|
|
|
77511
77513
|
fe = V[le], 0 < V[le] && (me[ie[fe]++] = le);
|
|
77512
77514
|
if (ie[15] == 1)
|
|
77513
77515
|
return (V = new N()).g = 0, V.value = me[0], de(U, Ue, 1, je, V), je;
|
|
77514
|
-
var Ie, Te = -1, Fe = je - 1, Ze = 0, He = 1,
|
|
77516
|
+
var Ie, Te = -1, Fe = je - 1, Ze = 0, He = 1, ct = 1, Ke = 1 << D;
|
|
77515
77517
|
for (le = 0, fe = 1, se = 2; fe <= D; ++fe, se <<= 1) {
|
|
77516
|
-
if (He +=
|
|
77518
|
+
if (He += ct <<= 1, 0 > (ct -= ne[fe]))
|
|
77517
77519
|
return 0;
|
|
77518
77520
|
for (; 0 < ne[fe]; --ne[fe])
|
|
77519
77521
|
(V = new N()).g = fe, V.value = me[le++], de(U, Ue + Ze, se, Ke, V), Ze = Z(Ze, fe);
|
|
77520
77522
|
}
|
|
77521
77523
|
for (fe = D + 1, se = 2; 15 >= fe; ++fe, se <<= 1) {
|
|
77522
|
-
if (He +=
|
|
77524
|
+
if (He += ct <<= 1, 0 > (ct -= ne[fe]))
|
|
77523
77525
|
return 0;
|
|
77524
77526
|
for (; 0 < ne[fe]; --ne[fe]) {
|
|
77525
77527
|
if (V = new N(), (Ze & Fe) != Te) {
|
|
@@ -77848,8 +77850,8 @@ function $6(t) {
|
|
|
77848
77850
|
case 0:
|
|
77849
77851
|
var je = se, ne = me, ie = D, Ie = z, Te = (Ke = V).Ea;
|
|
77850
77852
|
je == 0 && (y0(fe, le, null, null, 1, ie, Ie), rt(fe, le + 1, 0, 0, Te - 1, ie, Ie + 1), le += Te, Ie += Te, ++je);
|
|
77851
|
-
for (var Fe = 1 << Ke.b, Ze = Fe - 1, He = T(Te, Ke.b),
|
|
77852
|
-
var qt =
|
|
77853
|
+
for (var Fe = 1 << Ke.b, Ze = Fe - 1, He = T(Te, Ke.b), ct = Ke.K, Ke = Ke.w + (je >> Ke.b) * He; je < ne; ) {
|
|
77854
|
+
var qt = ct, Wt = Ke, Nt = 1;
|
|
77853
77855
|
for (eu(fe, le, ie, Ie - Te, 1, ie, Ie); Nt < Te; ) {
|
|
77854
77856
|
var Pt = (Nt & ~Ze) + Fe;
|
|
77855
77857
|
Pt > Te && (Pt = Te), (0, Aa[qt[Wt++] >> 8 & 15])(fe, le + +Nt, ie, Ie + Nt - Te, Pt - Nt, ie, Ie + Nt), Nt = Pt;
|
|
@@ -77860,9 +77862,9 @@ function $6(t) {
|
|
|
77860
77862
|
break;
|
|
77861
77863
|
case 1:
|
|
77862
77864
|
for (Ue = fe, ne = le, Te = (fe = V.Ea) - (Ie = fe & ~(ie = (le = 1 << V.b) - 1)), je = T(fe, V.b), Fe = V.K, V = V.w + (se >> V.b) * je; se < me; ) {
|
|
77863
|
-
for (Ze = Fe, He = V,
|
|
77864
|
-
ft(Ze[He++],
|
|
77865
|
-
ne < qt && (ft(Ze[He++],
|
|
77865
|
+
for (Ze = Fe, He = V, ct = new R(), Ke = ne + Ie, qt = ne + fe; ne < Ke; )
|
|
77866
|
+
ft(Ze[He++], ct), _l(ct, Ue, ne, le, D, z), ne += le, z += le;
|
|
77867
|
+
ne < qt && (ft(Ze[He++], ct), _l(ct, Ue, ne, Te, D, z), ne += Te, z += Te), ++se & ie || (V += je);
|
|
77866
77868
|
}
|
|
77867
77869
|
break;
|
|
77868
77870
|
case 3:
|
|
@@ -77983,8 +77985,8 @@ function $6(t) {
|
|
|
77983
77985
|
if (D & ie || (Ie = Qr(se, D, z)), e(Ie != null), Ie.Qb && (g[me] = Ie.qb, Te = !0), !Te)
|
|
77984
77986
|
if (re(V), Ie.jc) {
|
|
77985
77987
|
Fe = V, Ze = g;
|
|
77986
|
-
var He = me,
|
|
77987
|
-
e(Ie.jc), 256 >
|
|
77988
|
+
var He = me, ct = Ie.pd[M(Fe) & As - 1];
|
|
77989
|
+
e(Ie.jc), 256 > ct.g ? (ee(Fe, Fe.u + ct.g), Ze[He] = ct.value, Fe = 0) : (ee(Fe, Fe.u + ct.g - 256), e(256 <= ct.value), Fe = ct.value), Fe == 0 && (Te = !0);
|
|
77988
77990
|
} else
|
|
77989
77991
|
Fe = Js(Ie.G[0], Ie.H[0], V);
|
|
77990
77992
|
if (V.h)
|
|
@@ -78060,12 +78062,12 @@ function $6(t) {
|
|
|
78060
78062
|
case 3:
|
|
78061
78063
|
var Te, Fe = ae(ne, 8) + 1, Ze = 16 < Fe ? 0 : 4 < Fe ? 1 : 2 < Fe ? 2 : 3;
|
|
78062
78064
|
if (fe[0] = T(ie.Ea, Ze), ie.b = Ze, Te = je = Li(Fe, 1, 0, Ue, ie.K)) {
|
|
78063
|
-
var He,
|
|
78065
|
+
var He, ct = Fe, Ke = ie, qt = 1 << (8 >> Ke.b), Wt = i(qt);
|
|
78064
78066
|
if (Wt == null)
|
|
78065
78067
|
Te = 0;
|
|
78066
78068
|
else {
|
|
78067
78069
|
var Nt = Ke.K[0], Pt = Ke.w;
|
|
78068
|
-
for (Wt[0] = Ke.K[0][0], He = 1; He < 1 *
|
|
78070
|
+
for (Wt[0] = Ke.K[0][0], He = 1; He < 1 * ct; ++He)
|
|
78069
78071
|
Wt[He] = w(Nt[Pt + He], Wt[He - 1]);
|
|
78070
78072
|
for (; He < 4 * qt; ++He)
|
|
78071
78073
|
Wt[He] = 0;
|
|
@@ -78476,21 +78478,21 @@ function $6(t) {
|
|
|
78476
78478
|
for (le.M = 0; le.M < le.Va; ++le.M) {
|
|
78477
78479
|
var je, ne = le.Jc[le.M & le.Xb], ie = le.m, Ie = le;
|
|
78478
78480
|
for (je = 0; je < Ie.za; ++je) {
|
|
78479
|
-
var Te = ie, Fe = Ie, Ze = Fe.Ac, He = Fe.Bc + 4 * je,
|
|
78481
|
+
var Te = ie, Fe = Ie, Ze = Fe.Ac, He = Fe.Bc + 4 * je, ct = Fe.zc, Ke = Fe.ya[Fe.aa + je];
|
|
78480
78482
|
if (Fe.Qa.Bb ? Ke.$b = ve(Te, Fe.Pa.jb[0]) ? 2 + ve(Te, Fe.Pa.jb[2]) : ve(Te, Fe.Pa.jb[1]) : Ke.$b = 0, Fe.kc && (Ke.Ad = ve(Te, Fe.Bd)), Ke.Za = !ve(Te, 145) + 0, Ke.Za) {
|
|
78481
78483
|
var qt = Ke.Ob, Wt = 0;
|
|
78482
78484
|
for (Fe = 0; 4 > Fe; ++Fe) {
|
|
78483
|
-
var Nt, Pt =
|
|
78485
|
+
var Nt, Pt = ct[0 + Fe];
|
|
78484
78486
|
for (Nt = 0; 4 > Nt; ++Nt) {
|
|
78485
78487
|
Pt = n8[Ze[He + Nt]][Pt];
|
|
78486
78488
|
for (var nr = Jb[ve(Te, Pt[0])]; 0 < nr; )
|
|
78487
78489
|
nr = Jb[2 * nr + ve(Te, Pt[nr])];
|
|
78488
78490
|
Pt = -nr, Ze[He + Nt] = Pt;
|
|
78489
78491
|
}
|
|
78490
|
-
s(qt, Wt, Ze, He, 4), Wt += 4,
|
|
78492
|
+
s(qt, Wt, Ze, He, 4), Wt += 4, ct[0 + Fe] = Pt;
|
|
78491
78493
|
}
|
|
78492
78494
|
} else
|
|
78493
|
-
Pt = ve(Te, 156) ? ve(Te, 128) ? 1 : 3 : ve(Te, 163) ? 2 : 0, Ke.Ob[0] = Pt, n(Ze, He, Pt, 4), n(
|
|
78495
|
+
Pt = ve(Te, 156) ? ve(Te, 128) ? 1 : 3 : ve(Te, 163) ? 2 : 0, Ke.Ob[0] = Pt, n(Ze, He, Pt, 4), n(ct, 0, Pt, 4);
|
|
78494
78496
|
Ke.Dd = ve(Te, 142) ? ve(Te, 114) ? ve(Te, 183) ? 1 : 3 : 2 : 0;
|
|
78495
78497
|
}
|
|
78496
78498
|
if (Ie.m.Ka)
|
|
@@ -78500,7 +78502,7 @@ function $6(t) {
|
|
|
78500
78502
|
Te.la = Ze.la = 0, je.Za || (Te.Na = Ze.Na = 0), je.Hc = 0, je.Gc = 0, je.ia = 0;
|
|
78501
78503
|
else {
|
|
78502
78504
|
var $t, Ct;
|
|
78503
|
-
if (Te = Ze, Ze = Ie, He = ie.Pa.Xc,
|
|
78505
|
+
if (Te = Ze, Ze = Ie, He = ie.Pa.Xc, ct = ie.ya[ie.aa + ie.ja], Ke = ie.pb[ct.$b], Fe = ct.ad, qt = 0, Wt = ie.rb[ie.sb - 1], Pt = Nt = 0, n(Fe, qt, 0, 384), ct.Za)
|
|
78504
78506
|
var Or = 0, en = He[3];
|
|
78505
78507
|
else {
|
|
78506
78508
|
nr = i(16);
|
|
@@ -78529,14 +78531,14 @@ function $6(t) {
|
|
|
78529
78531
|
}
|
|
78530
78532
|
Pt |= Ct << 4 * $t, en |= Jt << 4 << $t, Or |= (240 & un) << $t;
|
|
78531
78533
|
}
|
|
78532
|
-
Te.la = en, Wt.la = Or,
|
|
78534
|
+
Te.la = en, Wt.la = Or, ct.Hc = Nt, ct.Gc = Pt, ct.ia = 43690 & Pt ? 0 : Ke.ia, He = !(Nt | Pt);
|
|
78533
78535
|
}
|
|
78534
78536
|
if (0 < ie.L && (ie.wa[ie.Y + ie.ja] = ie.gd[je.$b][je.Za], ie.wa[ie.Y + ie.ja].La |= !He), Ie.Ka)
|
|
78535
78537
|
return jr(le, 7, "Premature end-of-file encountered.");
|
|
78536
78538
|
}
|
|
78537
78539
|
if (Dc(le), ie = Ue, Ie = 1, je = (ne = le).D, Te = 0 < ne.L && ne.M >= ne.zb && ne.M <= ne.Va, ne.Aa == 0)
|
|
78538
78540
|
e: {
|
|
78539
|
-
if (je.M = ne.M, je.uc = Te, Jc(ne, je), Ie = 1, je = (Ct = ne.D).Nb, Te = (Pt = wg[ne.L]) * ne.R, Ze = Pt / 2 * ne.B, nr = 16 * je * ne.R, tn = 8 * je * ne.B, He = ne.sa,
|
|
78541
|
+
if (je.M = ne.M, je.uc = Te, Jc(ne, je), Ie = 1, je = (Ct = ne.D).Nb, Te = (Pt = wg[ne.L]) * ne.R, Ze = Pt / 2 * ne.B, nr = 16 * je * ne.R, tn = 8 * je * ne.B, He = ne.sa, ct = ne.ta - Te + nr, Ke = ne.qa, Fe = ne.ra - Ze + tn, qt = ne.Ha, Wt = ne.Ia - Ze + tn, un = (Jt = Ct.M) == 0, Nt = Jt >= ne.Va - 1, ne.Aa == 2 && Jc(ne, Ct), Ct.uc)
|
|
78540
78542
|
for (pn = (Lr = ne).D.M, e(Lr.D.uc), Ct = Lr.yb; Ct < Lr.Hb; ++Ct) {
|
|
78541
78543
|
Or = Ct, en = pn;
|
|
78542
78544
|
var rs = (cs = (wr = Lr).D).Nb;
|
|
@@ -78551,13 +78553,13 @@ function $6(t) {
|
|
|
78551
78553
|
}
|
|
78552
78554
|
}
|
|
78553
78555
|
if (ne.ia && alert("todo:DitherRow"), ie.put != null) {
|
|
78554
|
-
if (Ct = 16 * Jt, Jt = 16 * (Jt + 1), un ? (ie.y = ne.sa, ie.O = ne.ta + nr, ie.f = ne.qa, ie.N = ne.ra + tn, ie.ea = ne.Ha, ie.W = ne.Ia + tn) : (Ct -= Pt, ie.y = He, ie.O =
|
|
78556
|
+
if (Ct = 16 * Jt, Jt = 16 * (Jt + 1), un ? (ie.y = ne.sa, ie.O = ne.ta + nr, ie.f = ne.qa, ie.N = ne.ra + tn, ie.ea = ne.Ha, ie.W = ne.Ia + tn) : (Ct -= Pt, ie.y = He, ie.O = ct, ie.f = Ke, ie.N = Fe, ie.ea = qt, ie.W = Wt), Nt || (Jt -= Pt), Jt > ie.o && (Jt = ie.o), ie.F = null, ie.J = null, ne.Fa != null && 0 < ne.Fa.length && Ct < Jt && (ie.J = Yc(ne, ie, Ct, Jt - Ct), ie.F = ne.mb, ie.F == null && ie.F.length == 0)) {
|
|
78555
78557
|
Ie = jr(ne, 3, "Could not decode alpha data.");
|
|
78556
78558
|
break e;
|
|
78557
78559
|
}
|
|
78558
78560
|
Ct < ie.j && (Pt = ie.j - Ct, Ct = ie.j, e(!(1 & Pt)), ie.O += ne.R * Pt, ie.N += ne.B * (Pt >> 1), ie.W += ne.B * (Pt >> 1), ie.F != null && (ie.J += ie.width * Pt)), Ct < Jt && (ie.O += ie.v, ie.N += ie.v >> 1, ie.W += ie.v >> 1, ie.F != null && (ie.J += ie.v), ie.ka = Ct - ie.j, ie.U = ie.va - ie.v, ie.T = Jt - Ct, Ie = ie.put(ie));
|
|
78559
78561
|
}
|
|
78560
|
-
je + 1 != ne.Ic || Nt || (s(ne.sa, ne.ta - Te, He,
|
|
78562
|
+
je + 1 != ne.Ic || Nt || (s(ne.sa, ne.ta - Te, He, ct + 16 * ne.R, Te), s(ne.qa, ne.ra - Ze, Ke, Fe + 8 * ne.B, Ze), s(ne.Ha, ne.Ia - Ze, qt, Wt + 8 * ne.B, Ze));
|
|
78561
78563
|
}
|
|
78562
78564
|
if (!Ie)
|
|
78563
78565
|
return jr(le, 6, "Output aborted.");
|
|
@@ -79012,14 +79014,14 @@ function $6(t) {
|
|
|
79012
79014
|
}
|
|
79013
79015
|
function _e(c, g, v) {
|
|
79014
79016
|
L[c] = function(B, j, I, U, z, D, V, se, me, fe, le, Ue, je, ne, ie, Ie, Te) {
|
|
79015
|
-
var Fe, Ze = Te - 1 >> 1, He = z[D + 0] | V[se + 0] << 16,
|
|
79017
|
+
var Fe, Ze = Te - 1 >> 1, He = z[D + 0] | V[se + 0] << 16, ct = me[fe + 0] | le[Ue + 0] << 16;
|
|
79016
79018
|
e(B != null);
|
|
79017
|
-
var Ke = 3 * He +
|
|
79018
|
-
for (g(B[j + 0], 255 & Ke, Ke >> 16, je, ne), I != null && (Ke = 3 *
|
|
79019
|
-
var qt = z[D + Fe] | V[se + Fe] << 16, Wt = me[fe + Fe] | le[Ue + Fe] << 16, Nt = He + qt +
|
|
79020
|
-
Ke = Pt + He >> 1, He = (Nt = Nt + 2 * (He + Wt) >> 3) + qt >> 1, g(B[j + 2 * Fe - 1], 255 & Ke, Ke >> 16, je, ne + (2 * Fe - 1) * v), g(B[j + 2 * Fe - 0], 255 & He, He >> 16, je, ne + (2 * Fe - 0) * v), I != null && (Ke = Nt +
|
|
79019
|
+
var Ke = 3 * He + ct + 131074 >> 2;
|
|
79020
|
+
for (g(B[j + 0], 255 & Ke, Ke >> 16, je, ne), I != null && (Ke = 3 * ct + He + 131074 >> 2, g(I[U + 0], 255 & Ke, Ke >> 16, ie, Ie)), Fe = 1; Fe <= Ze; ++Fe) {
|
|
79021
|
+
var qt = z[D + Fe] | V[se + Fe] << 16, Wt = me[fe + Fe] | le[Ue + Fe] << 16, Nt = He + qt + ct + Wt + 524296, Pt = Nt + 2 * (qt + ct) >> 3;
|
|
79022
|
+
Ke = Pt + He >> 1, He = (Nt = Nt + 2 * (He + Wt) >> 3) + qt >> 1, g(B[j + 2 * Fe - 1], 255 & Ke, Ke >> 16, je, ne + (2 * Fe - 1) * v), g(B[j + 2 * Fe - 0], 255 & He, He >> 16, je, ne + (2 * Fe - 0) * v), I != null && (Ke = Nt + ct >> 1, He = Pt + Wt >> 1, g(I[U + 2 * Fe - 1], 255 & Ke, Ke >> 16, ie, Ie + (2 * Fe - 1) * v), g(I[U + 2 * Fe + 0], 255 & He, He >> 16, ie, Ie + (2 * Fe + 0) * v)), He = qt, ct = Wt;
|
|
79021
79023
|
}
|
|
79022
|
-
1 & Te || (Ke = 3 * He +
|
|
79024
|
+
1 & Te || (Ke = 3 * He + ct + 131074 >> 2, g(B[j + Te - 1], 255 & Ke, Ke >> 16, je, ne + (Te - 1) * v), I != null && (Ke = 3 * ct + He + 131074 >> 2, g(I[U + Te - 1], 255 & Ke, Ke >> 16, ie, Ie + (Te - 1) * v)));
|
|
79023
79025
|
};
|
|
79024
79026
|
}
|
|
79025
79027
|
function Re() {
|
|
@@ -79159,12 +79161,12 @@ function $6(t) {
|
|
|
79159
79161
|
ne = 7;
|
|
79160
79162
|
break e;
|
|
79161
79163
|
}
|
|
79162
|
-
var He = Le(Ie, je[0] + 8),
|
|
79163
|
-
if (2147483648 <=
|
|
79164
|
+
var He = Le(Ie, je[0] + 8), ct = 1 + Oe(Ie, je[0] + 12);
|
|
79165
|
+
if (2147483648 <= ct * (Ie = 1 + Oe(Ie, je[0] + 15))) {
|
|
79164
79166
|
ne = 3;
|
|
79165
79167
|
break e;
|
|
79166
79168
|
}
|
|
79167
|
-
Ze != null && (Ze[0] = He), Te != null && (Te[0] =
|
|
79169
|
+
Ze != null && (Ze[0] = He), Te != null && (Te[0] = ct), Fe != null && (Fe[0] = Ie), je[0] += 18, ne[0] -= 18, Ke[0] = 1;
|
|
79168
79170
|
}
|
|
79169
79171
|
ne = 0;
|
|
79170
79172
|
}
|
|
@@ -79186,7 +79188,7 @@ function $6(t) {
|
|
|
79186
79188
|
e: {
|
|
79187
79189
|
He = c, ne = g, ie = v;
|
|
79188
79190
|
var Ke = le.gb;
|
|
79189
|
-
Te = le.na, Fe = le.P, Ze = le.Sa,
|
|
79191
|
+
Te = le.na, Fe = le.P, Ze = le.Sa, ct = 22, e(He != null), e(ie != null), Ie = ne[0];
|
|
79190
79192
|
var qt = ie[0];
|
|
79191
79193
|
for (e(Te != null), e(Ze != null), Te[0] = null, Fe[0] = null, Ze[0] = 0; ; ) {
|
|
79192
79194
|
if (ne[0] = Ie, ie[0] = qt, 8 > qt) {
|
|
@@ -79199,7 +79201,7 @@ function $6(t) {
|
|
|
79199
79201
|
break e;
|
|
79200
79202
|
}
|
|
79201
79203
|
var Nt = 8 + Wt + 1 & -2;
|
|
79202
|
-
if (
|
|
79204
|
+
if (ct += Nt, 0 < Ke && ct > Ke) {
|
|
79203
79205
|
ne = 3;
|
|
79204
79206
|
break e;
|
|
79205
79207
|
}
|
|
@@ -79219,10 +79221,10 @@ function $6(t) {
|
|
|
79219
79221
|
}
|
|
79220
79222
|
v = [v], le.Ja = [le.Ja], le.xa = [le.xa];
|
|
79221
79223
|
e:
|
|
79222
|
-
if (Ke = c, ne = g, ie = v, Te = le.gb[0], Fe = le.Ja, Ze = le.xa, He = ne[0], Ie = !r(Ke, He, "VP8 "),
|
|
79224
|
+
if (Ke = c, ne = g, ie = v, Te = le.gb[0], Fe = le.Ja, Ze = le.xa, He = ne[0], Ie = !r(Ke, He, "VP8 "), ct = !r(Ke, He, "VP8L"), e(Ke != null), e(ie != null), e(Fe != null), e(Ze != null), 8 > ie[0])
|
|
79223
79225
|
ne = 7;
|
|
79224
79226
|
else {
|
|
79225
|
-
if (Ie ||
|
|
79227
|
+
if (Ie || ct) {
|
|
79226
79228
|
if (Ke = Le(Ke, He + 4), 12 <= Te && Ke > Te - 12) {
|
|
79227
79229
|
ne = 3;
|
|
79228
79230
|
break e;
|
|
@@ -79231,7 +79233,7 @@ function $6(t) {
|
|
|
79231
79233
|
ne = 7;
|
|
79232
79234
|
break e;
|
|
79233
79235
|
}
|
|
79234
|
-
Fe[0] = Ke, ne[0] += 8, ie[0] -= 8, Ze[0] =
|
|
79236
|
+
Fe[0] = Ke, ne[0] += 8, ie[0] -= 8, Ze[0] = ct;
|
|
79235
79237
|
} else
|
|
79236
79238
|
Ze[0] = 5 <= ie[0] && Ke[He + 0] == 47 && !(Ke[He + 4] >> 5), Fe[0] = ie[0];
|
|
79237
79239
|
ne = 0;
|
|
@@ -79953,7 +79955,7 @@ function(t) {
|
|
|
79953
79955
|
*/
|
|
79954
79956
|
function(t) {
|
|
79955
79957
|
function e() {
|
|
79956
|
-
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-
|
|
79958
|
+
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-e089e023.js")).catch(function(r) {
|
|
79957
79959
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
79958
79960
|
}).then(function(r) {
|
|
79959
79961
|
return r.default ? r.default : r;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-
|
|
1
|
+
import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-dc7e04bc.js";
|
|
2
2
|
export {
|
|
3
3
|
n as A2AAccountDetails,
|
|
4
4
|
e as A2AAccountList,
|