@ranty/ranty-sdk 3.13.0-beta.0 → 3.13.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -916,7 +916,7 @@ function ie(t) {
|
|
|
916
916
|
*/
|
|
917
917
|
var uy;
|
|
918
918
|
((uy = window.HTMLSlotElement) === null || uy === void 0 ? void 0 : uy.prototype.assignedElements) != null;
|
|
919
|
-
const e8 = "@ranty/ranty-sdk", t8 = "3.13.0-beta.
|
|
919
|
+
const e8 = "@ranty/ranty-sdk", t8 = "3.13.0-beta.1", n8 = "Ranty sdk", s8 = "dist/index.js", r8 = {
|
|
920
920
|
".": "./dist/index.js"
|
|
921
921
|
}, i8 = "types/index.d.ts", o8 = [
|
|
922
922
|
"dist",
|
|
@@ -1707,11 +1707,11 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
1707
1707
|
hasStandardBrowserWebWorkerEnv: yI,
|
|
1708
1708
|
navigator: qb,
|
|
1709
1709
|
origin: bI
|
|
1710
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1710
|
+
}, Symbol.toStringTag, { value: "Module" })), Ds = Me(Me({}, vI), fI);
|
|
1711
1711
|
function wI(t, e) {
|
|
1712
|
-
return l0(t, new
|
|
1712
|
+
return l0(t, new Ds.classes.URLSearchParams(), Object.assign({
|
|
1713
1713
|
visitor: function(n, s, r, i) {
|
|
1714
|
-
return
|
|
1714
|
+
return Ds.isNode && Te.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
1715
1715
|
}
|
|
1716
1716
|
}, e));
|
|
1717
1717
|
}
|
|
@@ -1806,8 +1806,8 @@ const O2 = {
|
|
|
1806
1806
|
maxContentLength: -1,
|
|
1807
1807
|
maxBodyLength: -1,
|
|
1808
1808
|
env: {
|
|
1809
|
-
FormData:
|
|
1810
|
-
Blob:
|
|
1809
|
+
FormData: Ds.classes.FormData,
|
|
1810
|
+
Blob: Ds.classes.Blob
|
|
1811
1811
|
},
|
|
1812
1812
|
validateStatus: function(e) {
|
|
1813
1813
|
return e >= 200 && e < 300;
|
|
@@ -2100,10 +2100,10 @@ const om = (t, e, n = 3) => {
|
|
|
2100
2100
|
total: t,
|
|
2101
2101
|
loaded: s
|
|
2102
2102
|
}), e[1]];
|
|
2103
|
-
}, gx = (t) => (...e) => Te.asap(() => t(...e)), FI =
|
|
2104
|
-
new URL(
|
|
2105
|
-
|
|
2106
|
-
) : () => !0, RI =
|
|
2103
|
+
}, gx = (t) => (...e) => Te.asap(() => t(...e)), FI = Ds.hasStandardBrowserEnv ? ((t, e) => (n) => (n = new URL(n, Ds.origin), t.protocol === n.protocol && t.host === n.host && (e || t.port === n.port)))(
|
|
2104
|
+
new URL(Ds.origin),
|
|
2105
|
+
Ds.navigator && /(msie|trident)/i.test(Ds.navigator.userAgent)
|
|
2106
|
+
) : () => !0, RI = Ds.hasStandardBrowserEnv ? (
|
|
2107
2107
|
// Standard browser envs support document.cookie
|
|
2108
2108
|
{
|
|
2109
2109
|
write(t, e, n, s, r, i) {
|
|
@@ -2216,14 +2216,14 @@ const bB = (t) => {
|
|
|
2216
2216
|
);
|
|
2217
2217
|
let d;
|
|
2218
2218
|
if (Te.isFormData(n)) {
|
|
2219
|
-
if (
|
|
2219
|
+
if (Ds.hasStandardBrowserEnv || Ds.hasStandardBrowserWebWorkerEnv)
|
|
2220
2220
|
o.setContentType(void 0);
|
|
2221
2221
|
else if ((d = o.getContentType()) !== !1) {
|
|
2222
2222
|
const [l, ...c] = d ? d.split(";").map((u) => u.trim()).filter(Boolean) : [];
|
|
2223
2223
|
o.setContentType([l || "multipart/form-data", ...c].join("; "));
|
|
2224
2224
|
}
|
|
2225
2225
|
}
|
|
2226
|
-
if (
|
|
2226
|
+
if (Ds.hasStandardBrowserEnv && (s && Te.isFunction(s) && (s = s(e)), s || s !== !1 && FI(e.url))) {
|
|
2227
2227
|
const l = r && i && RI.read(i);
|
|
2228
2228
|
l && o.set(r, l);
|
|
2229
2229
|
}
|
|
@@ -2279,7 +2279,7 @@ const bB = (t) => {
|
|
|
2279
2279
|
w && (s(!I || I.type ? new su(null, t, w) : I), w.abort(), w = null);
|
|
2280
2280
|
}, r.cancelToken && r.cancelToken.subscribe(c), r.signal && (r.signal.aborted ? c() : r.signal.addEventListener("abort", c)));
|
|
2281
2281
|
const _ = UI(r.url);
|
|
2282
|
-
if (_ &&
|
|
2282
|
+
if (_ && Ds.protocols.indexOf(_) === -1) {
|
|
2283
2283
|
s(new It("Unsupported protocol " + _ + ":", It.ERR_BAD_REQUEST, t));
|
|
2284
2284
|
return;
|
|
2285
2285
|
}
|
|
@@ -2394,7 +2394,7 @@ const bB = (t) => {
|
|
|
2394
2394
|
}
|
|
2395
2395
|
}, KI = vB && wB(() => {
|
|
2396
2396
|
let t = !1;
|
|
2397
|
-
const e = new Request(
|
|
2397
|
+
const e = new Request(Ds.origin, {
|
|
2398
2398
|
body: new ReadableStream(),
|
|
2399
2399
|
method: "POST",
|
|
2400
2400
|
get duplex() {
|
|
@@ -2418,7 +2418,7 @@ const GI = (t) => de(void 0, null, function* () {
|
|
|
2418
2418
|
if (Te.isBlob(t))
|
|
2419
2419
|
return t.size;
|
|
2420
2420
|
if (Te.isSpecCompliantForm(t))
|
|
2421
|
-
return (yield new Request(
|
|
2421
|
+
return (yield new Request(Ds.origin, {
|
|
2422
2422
|
method: "POST",
|
|
2423
2423
|
body: t
|
|
2424
2424
|
}).arrayBuffer()).byteLength;
|
|
@@ -5888,7 +5888,7 @@ const Ox = {
|
|
|
5888
5888
|
[ct.PLANS]: "Elegí la cantidad de cuotas",
|
|
5889
5889
|
[ct.SUMMARY]: "Resumen del pago"
|
|
5890
5890
|
}, $T = "INSTALLMENT_PLANS_NOT_FOUND", eU = "Por ahora, no aceptamos pagos con tarjetas de esta marca.", ns = "Plan Z", tU = "ZETA", W2 = "Plan Z", Y2 = "Plan Simple", J2 = "Sin Interés";
|
|
5891
|
-
var g0 = /* @__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))(g0 || {}), dr = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(dr || {}), Kp = /* @__PURE__ */ ((t) => (t.CREDIT = "CREDIT", t.DEBIT = "DEBIT", t))(Kp || {}),
|
|
5891
|
+
var g0 = /* @__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))(g0 || {}), dr = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(dr || {}), Kp = /* @__PURE__ */ ((t) => (t.CREDIT = "CREDIT", t.DEBIT = "DEBIT", t))(Kp || {}), ws = /* @__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))(ws || {}), Mt = /* @__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))(Mt || {}), cm = /* @__PURE__ */ ((t) => (t.OPERATIONAL = "operational", t.DEGRADED_PERFORMANCE = "degraded_performance", t.OUT_OF_SERVICE = "out_of_service", t))(cm || {});
|
|
5892
5892
|
const Am = "card_on_file";
|
|
5893
5893
|
var ev = /* @__PURE__ */ ((t) => (t.USER_NEW = "USER_NEW", t.USER_REGISTERED = "USER_REGISTERED", t))(ev || {}), ld = /* @__PURE__ */ ((t) => (t.PAY_NO_TOKENIZED = "PAY_NO_TOKENIZED", t.PAY_TOKENIZED = "PAY_TOKENIZED", t.PAY_CARD_ENROLLED = "PAY_CARD_ENROLLED", t.PAY_NEW_CARD_ENROLLED = "PAY_NEW_CARD_ENROLLED", t))(ld || {});
|
|
5894
5894
|
const Bl = "Volver a la tienda", Ei = "https://ranty-sdk-js.naranjax.com/images/", fs = {
|
|
@@ -6142,7 +6142,7 @@ const Bl = "Volver a la tienda", Ei = "https://ranty-sdk-js.naranjax.com/images/
|
|
|
6142
6142
|
const e = ln.messages.find(
|
|
6143
6143
|
(n) => {
|
|
6144
6144
|
var s;
|
|
6145
|
-
return n.status === Mt.SUCCESS_PROCESSED && t ===
|
|
6145
|
+
return n.status === Mt.SUCCESS_PROCESSED && t === ws.ECOMMERCE ? (s = n.name) == null ? void 0 : s.includes("-external") : void 0;
|
|
6146
6146
|
}
|
|
6147
6147
|
);
|
|
6148
6148
|
return localStorage.getItem("initialPaymentWallet") && localStorage.removeItem("initialPaymentWallet"), e || Gp;
|
|
@@ -6151,13 +6151,13 @@ const Bl = "Volver a la tienda", Ei = "https://ranty-sdk-js.naranjax.com/images/
|
|
|
6151
6151
|
return localStorage.getItem("initialPaymentWallet") === "true" || n ? ac(t) : ln.messages.find(
|
|
6152
6152
|
(r) => {
|
|
6153
6153
|
var i, o;
|
|
6154
|
-
return (r.status === Mt.SUCCESS_PROCESSED || Mt.PROCESSED) && t ===
|
|
6154
|
+
return (r.status === Mt.SUCCESS_PROCESSED || Mt.PROCESSED) && t === ws.ECOMMERCE ? (i = r.name) == null ? void 0 : i.includes("link-used-external") : (o = r.name) == null ? void 0 : o.includes("link-used");
|
|
6155
6155
|
}
|
|
6156
6156
|
) || Gp;
|
|
6157
6157
|
}, f0 = (t) => ln.messages.find(
|
|
6158
6158
|
(n) => {
|
|
6159
6159
|
var s;
|
|
6160
|
-
return n.status === Mt.BLOCKED && t ===
|
|
6160
|
+
return n.status === Mt.BLOCKED && t === ws.ECOMMERCE ? (s = n.name) == null ? void 0 : s.includes("-external") : void 0;
|
|
6161
6161
|
}
|
|
6162
6162
|
) || tv, sU = (t) => ln.messages.find((e) => e.name === t) || Qf, um = (t, e) => t.reason_code === "risky_payment" ? iU(t, e) : t.name === "APPROVED" ? oU(t, e) : t.name === "REJECTED" ? rU(t) : Gr, rU = (t) => ln.messages.find(
|
|
6163
6163
|
(n) => {
|
|
@@ -6167,12 +6167,12 @@ const Bl = "Volver a la tienda", Ei = "https://ranty-sdk-js.naranjax.com/images/
|
|
|
6167
6167
|
) || Gr, iU = (t, e) => ln.messages.find(
|
|
6168
6168
|
(s) => {
|
|
6169
6169
|
var r, i, o;
|
|
6170
|
-
return e ===
|
|
6170
|
+
return e === ws.ECOMMERCE ? s.status_punku === t.name && ((r = s.status_reason) == null ? void 0 : r.includes(t.reason_code)) && ((i = s.name) == null ? void 0 : i.includes("-external")) : s.status_punku === t.name && ((o = s.status_reason) == null ? void 0 : o.includes(t.reason_code));
|
|
6171
6171
|
}
|
|
6172
6172
|
) || Gr, oU = (t, e) => ln.messages.find(
|
|
6173
6173
|
(s) => {
|
|
6174
6174
|
var r;
|
|
6175
|
-
return s.status_punku === t.name && (e !==
|
|
6175
|
+
return s.status_punku === t.name && (e !== ws.ECOMMERCE || ((r = s.name) == null ? void 0 : r.includes("-external")));
|
|
6176
6176
|
}
|
|
6177
6177
|
) || Gp, zx = (t, e) => {
|
|
6178
6178
|
const n = t.installments, s = e.installments;
|
|
@@ -6790,7 +6790,7 @@ const ra = new fU(), mU = (t) => {
|
|
|
6790
6790
|
}
|
|
6791
6791
|
}), TU = (t) => {
|
|
6792
6792
|
const { payment_type: e } = t;
|
|
6793
|
-
return [
|
|
6793
|
+
return [ws.ECOMMERCE, ws.MIT].includes(e);
|
|
6794
6794
|
}, WB = (t) => de(void 0, null, function* () {
|
|
6795
6795
|
return (yield Pt.instanceWithRetries.get(`/sdk/scof/get_scof_data/${t}`)).data;
|
|
6796
6796
|
}), UU = "en_US", YB = (t) => de(void 0, null, function* () {
|
|
@@ -7091,7 +7091,7 @@ function fw(t, e) {
|
|
|
7091
7091
|
function nj(t, e) {
|
|
7092
7092
|
return t.slice(-e.length) === e;
|
|
7093
7093
|
}
|
|
7094
|
-
function
|
|
7094
|
+
function xs(t) {
|
|
7095
7095
|
for (var e = [], n = 1; n < arguments.length; n++)
|
|
7096
7096
|
e[n - 1] = arguments[n];
|
|
7097
7097
|
return e.forEach(function(s) {
|
|
@@ -7100,7 +7100,7 @@ function ws(t) {
|
|
|
7100
7100
|
}), t;
|
|
7101
7101
|
}
|
|
7102
7102
|
function sj(t) {
|
|
7103
|
-
return
|
|
7103
|
+
return xs({}, t);
|
|
7104
7104
|
}
|
|
7105
7105
|
function r6(t, e) {
|
|
7106
7106
|
return Object.keys(t).some(function(n) {
|
|
@@ -7355,7 +7355,7 @@ function ww(t) {
|
|
|
7355
7355
|
return t === null ? "null" : Array.isArray(t) ? "array" : typeof t;
|
|
7356
7356
|
}
|
|
7357
7357
|
function Jx(t) {
|
|
7358
|
-
var e =
|
|
7358
|
+
var e = xs({}, t), n = ["id", "name", "email"];
|
|
7359
7359
|
return n.forEach(function(s) {
|
|
7360
7360
|
s in e && (e[s] = String(e[s]));
|
|
7361
7361
|
}), e;
|
|
@@ -7490,7 +7490,7 @@ function Tl(t, e, n) {
|
|
|
7490
7490
|
var s;
|
|
7491
7491
|
n === void 0 && (n = 0);
|
|
7492
7492
|
var r = e.isLockEnabled, i = e.persistSession, o = e.expireSession, a = function(h) {
|
|
7493
|
-
return i(
|
|
7493
|
+
return i(xs({}, h, { lock: l }));
|
|
7494
7494
|
}, d = function() {
|
|
7495
7495
|
var h = e.retrieveSession(), p = h.lock;
|
|
7496
7496
|
return h.lock && delete h.lock, {
|
|
@@ -7622,7 +7622,7 @@ function Hj(t, e, n) {
|
|
|
7622
7622
|
function z(q) {
|
|
7623
7623
|
Tl({
|
|
7624
7624
|
process: function(M) {
|
|
7625
|
-
return
|
|
7625
|
+
return xs({}, M, q);
|
|
7626
7626
|
},
|
|
7627
7627
|
after: y
|
|
7628
7628
|
}, o);
|
|
@@ -7791,7 +7791,7 @@ function rP() {
|
|
|
7791
7791
|
}
|
|
7792
7792
|
function iP(t) {
|
|
7793
7793
|
var e = t.site || xA, n = nP(t), s = oP(t, n), r = aP(t, n);
|
|
7794
|
-
return
|
|
7794
|
+
return xs({
|
|
7795
7795
|
replica: r,
|
|
7796
7796
|
site: e
|
|
7797
7797
|
}, s);
|
|
@@ -7805,14 +7805,14 @@ function oP(t, e) {
|
|
|
7805
7805
|
}
|
|
7806
7806
|
function aP(t, e) {
|
|
7807
7807
|
if (t.replica) {
|
|
7808
|
-
var n =
|
|
7808
|
+
var n = xs({}, t, {
|
|
7809
7809
|
site: xA,
|
|
7810
7810
|
clientToken: t.replica.clientToken
|
|
7811
7811
|
}), s = {
|
|
7812
7812
|
logsEndpointBuilder: kp(n, "logs", e),
|
|
7813
7813
|
rumEndpointBuilder: kp(n, "rum", e)
|
|
7814
7814
|
};
|
|
7815
|
-
return
|
|
7815
|
+
return xs({ applicationId: t.replica.applicationId }, s);
|
|
7816
7816
|
}
|
|
7817
7817
|
}
|
|
7818
7818
|
function dP(t) {
|
|
@@ -7840,7 +7840,7 @@ function cP(t) {
|
|
|
7840
7840
|
Yn.error('Tracking Consent should be either "granted" or "not-granted"');
|
|
7841
7841
|
return;
|
|
7842
7842
|
}
|
|
7843
|
-
return
|
|
7843
|
+
return xs({
|
|
7844
7844
|
beforeSend: t.beforeSend && e6(t.beforeSend, "beforeSend threw an error:"),
|
|
7845
7845
|
sessionStoreStrategyType: zj(t),
|
|
7846
7846
|
sessionSampleRate: (e = t.sessionSampleRate) !== null && e !== void 0 ? e : 100,
|
|
@@ -8186,7 +8186,7 @@ function DP(t) {
|
|
|
8186
8186
|
});
|
|
8187
8187
|
}
|
|
8188
8188
|
function OP(t) {
|
|
8189
|
-
var e =
|
|
8189
|
+
var e = xs({
|
|
8190
8190
|
version: "5.35.1",
|
|
8191
8191
|
// This API method is intentionally not monitored, since the only thing executed is the
|
|
8192
8192
|
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
|
|
@@ -8291,7 +8291,7 @@ function HP(t) {
|
|
|
8291
8291
|
});
|
|
8292
8292
|
}
|
|
8293
8293
|
function E6(t) {
|
|
8294
|
-
return
|
|
8294
|
+
return xs({
|
|
8295
8295
|
startClocks: Od(),
|
|
8296
8296
|
source: Ur.REPORT,
|
|
8297
8297
|
handling: "unhandled"
|
|
@@ -8475,14 +8475,14 @@ function $P(t) {
|
|
|
8475
8475
|
return t.site === Gj;
|
|
8476
8476
|
}
|
|
8477
8477
|
function P6(t, e) {
|
|
8478
|
-
sv(Vn.debug, t, e), ou(
|
|
8478
|
+
sv(Vn.debug, t, e), ou(xs({
|
|
8479
8479
|
type: zl.log,
|
|
8480
8480
|
message: t,
|
|
8481
8481
|
status: "debug"
|
|
8482
8482
|
}, e));
|
|
8483
8483
|
}
|
|
8484
8484
|
function F6(t, e) {
|
|
8485
|
-
ou(
|
|
8485
|
+
ou(xs({
|
|
8486
8486
|
type: zl.log,
|
|
8487
8487
|
status: "error"
|
|
8488
8488
|
}, nF(t), e));
|
|
@@ -9197,7 +9197,7 @@ function OF(t, e) {
|
|
|
9197
9197
|
function NF(t, e, n) {
|
|
9198
9198
|
var s = n;
|
|
9199
9199
|
function r(i) {
|
|
9200
|
-
s.state = "resolve",
|
|
9200
|
+
s.state = "resolve", xs(s, i), t.notify(s);
|
|
9201
9201
|
}
|
|
9202
9202
|
e.then(Zt(function(i) {
|
|
9203
9203
|
r({
|
|
@@ -9547,7 +9547,7 @@ function aR(t) {
|
|
|
9547
9547
|
t.usePciIntake === !0 && t.site && t.site !== "datadoghq.com" && Yn.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");
|
|
9548
9548
|
var e = cP(t), n = a_(t.forwardConsoleLogs, gm(Vn), "Forward Console Logs"), s = a_(t.forwardReports, gm(bm), "Forward Reports");
|
|
9549
9549
|
if (!(!e || !n || !s))
|
|
9550
|
-
return t.forwardErrorsToLogs && !cc(n, Vn.error) && n.push(Vn.error),
|
|
9550
|
+
return t.forwardErrorsToLogs && !cc(n, Vn.error) && n.push(Vn.error), xs({
|
|
9551
9551
|
forwardErrorsToLogs: t.forwardErrorsToLogs !== !1,
|
|
9552
9552
|
forwardConsoleLogs: n,
|
|
9553
9553
|
forwardReports: s,
|
|
@@ -9568,7 +9568,7 @@ function a_(t, e, n) {
|
|
|
9568
9568
|
}
|
|
9569
9569
|
function dR(t) {
|
|
9570
9570
|
var e = AP(t);
|
|
9571
|
-
return
|
|
9571
|
+
return xs({
|
|
9572
9572
|
forward_errors_to_logs: t.forwardErrorsToLogs,
|
|
9573
9573
|
forward_console_logs: t.forwardConsoleLogs,
|
|
9574
9574
|
forward_reports: t.forwardReports,
|
|
@@ -9610,7 +9610,7 @@ function lR(t, e, n) {
|
|
|
9610
9610
|
};
|
|
9611
9611
|
}
|
|
9612
9612
|
function cR(t) {
|
|
9613
|
-
return
|
|
9613
|
+
return xs({}, t, { clientToken: "empty" });
|
|
9614
9614
|
}
|
|
9615
9615
|
var d_ = "logs";
|
|
9616
9616
|
function AR(t) {
|
|
@@ -9703,7 +9703,7 @@ function AR(t) {
|
|
|
9703
9703
|
});
|
|
9704
9704
|
}
|
|
9705
9705
|
function uR(t, e) {
|
|
9706
|
-
return
|
|
9706
|
+
return xs({
|
|
9707
9707
|
init: function(n) {
|
|
9708
9708
|
B6("DD_LOGS", n);
|
|
9709
9709
|
},
|
|
@@ -10079,10 +10079,10 @@ function LR(t, e, n, s) {
|
|
|
10079
10079
|
}
|
|
10080
10080
|
var Sp = AR(LR);
|
|
10081
10081
|
NP(Nd(), "DD_LOGS", Sp);
|
|
10082
|
-
const QR = "@nx-ranty/ranty-sdk", MR = "3.13.0-beta.
|
|
10082
|
+
const QR = "@nx-ranty/ranty-sdk", MR = "3.13.0-beta.1", zR = 3, HR = !0, qR = {
|
|
10083
10083
|
"": {
|
|
10084
10084
|
name: "@nx-ranty/ranty-sdk",
|
|
10085
|
-
version: "3.13.0-beta.
|
|
10085
|
+
version: "3.13.0-beta.1",
|
|
10086
10086
|
license: "ISC",
|
|
10087
10087
|
dependencies: {
|
|
10088
10088
|
"@datadog/browser-logs": "^5.35.1",
|
|
@@ -32371,7 +32371,7 @@ const W6 = (t) => {
|
|
|
32371
32371
|
Gn.validateCardCircuitBreaker(t);
|
|
32372
32372
|
const e = (o = (i = t == null ? void 0 : t.payment_settings) == null ? void 0 : i.payment_types.ecommerce) == null ? void 0 : o.payment_inputs.card_not_present, n = (d = (a = t == null ? void 0 : t.payment_settings) == null ? void 0 : a.payment_types.ecommerce) == null ? void 0 : d.payment_inputs.manual_input, s = (u = (c = (l = t == null ? void 0 : t.payment_settings) == null ? void 0 : l.payment_types) == null ? void 0 : c.payment_link) == null ? void 0 : u.payment_inputs.card_not_present, r = (m = (p = (h = t == null ? void 0 : t.payment_settings) == null ? void 0 : h.payment_types) == null ? void 0 : p.payment_link) == null ? void 0 : m.payment_inputs.manual_input;
|
|
32373
32373
|
return !!((e || n || s || r) && Gn.sonqoCardPaymentIsActive && Gn.manualInput);
|
|
32374
|
-
}, Tw = (t) => (Gn.validateQRCircuitBreaker(t), (Gn.coelsaQRIsActive || Gn.sonqoQRIsActive) && Gn.wallet && Gs.allowWallet), Uw = (t) => (Gn.paymentInputsEnabled(t), Gn.accountToAccount && t.payment_type ===
|
|
32374
|
+
}, Tw = (t) => (Gn.validateQRCircuitBreaker(t), (Gn.coelsaQRIsActive || Gn.sonqoQRIsActive) && Gn.wallet && Gs.allowWallet), Uw = (t) => (Gn.paymentInputsEnabled(t), Gn.accountToAccount && t.payment_type === ws.ECOMMERCE), av = (t) => (Gn.paymentInputsEnabled(t), Gn.cardOnFile && t.payment_type === ws.ECOMMERCE), Sr = (t, e = "payment_request", n = !1) => de(void 0, null, function* () {
|
|
32375
32375
|
const i = `/sdk/${e === "token" ? "payment-link" : "payment_request"}/${t}${n && e === "payment_request" ? "?legacy=false" : ""}`, o = yield Pt.instanceWithRetries.get(i, {}), a = e === "token" ? {
|
|
32376
32376
|
data: {
|
|
32377
32377
|
response: o.data
|
|
@@ -32437,7 +32437,7 @@ const W6 = (t) => {
|
|
|
32437
32437
|
});
|
|
32438
32438
|
}, Ch = (t) => {
|
|
32439
32439
|
var e;
|
|
32440
|
-
return t.transactions && ((e = t.transactions[0].payment_method) != null && e.wallet_name) ? "-qr" : t.payment_type ===
|
|
32440
|
+
return t.transactions && ((e = t.transactions[0].payment_method) != null && e.wallet_name) ? "-qr" : t.payment_type === ws.ECOMMERCE ? "-external" : "";
|
|
32441
32441
|
}, dv = class {
|
|
32442
32442
|
};
|
|
32443
32443
|
dv.getInstallmentPlans = (t, e, n) => de(void 0, null, function* () {
|
|
@@ -35891,7 +35891,7 @@ var yE = function(t) {
|
|
|
35891
35891
|
}
|
|
35892
35892
|
return t;
|
|
35893
35893
|
}, Um.apply(this, arguments);
|
|
35894
|
-
},
|
|
35894
|
+
}, Ss = globalThis && globalThis.__awaiter || function(t, e, n, s) {
|
|
35895
35895
|
function r(i) {
|
|
35896
35896
|
return i instanceof n ? i : new n(function(o) {
|
|
35897
35897
|
o(i);
|
|
@@ -35917,7 +35917,7 @@ var yE = function(t) {
|
|
|
35917
35917
|
}
|
|
35918
35918
|
l((s = s.apply(t, e || [])).next());
|
|
35919
35919
|
});
|
|
35920
|
-
},
|
|
35920
|
+
}, Is = globalThis && globalThis.__generator || function(t, e) {
|
|
35921
35921
|
var n = { label: 0, sent: function() {
|
|
35922
35922
|
if (i[0] & 1)
|
|
35923
35923
|
throw i[1];
|
|
@@ -36006,9 +36006,9 @@ var yE = function(t) {
|
|
|
36006
36006
|
}, t.prototype._pickupCredentials = function() {
|
|
36007
36007
|
return Ft.debug("picking up credentials"), !this._gettingCredPromise || !this._gettingCredPromise.isPending() ? (Ft.debug("getting new cred promise"), this._gettingCredPromise = UD(this._keepAlive())) : Ft.debug("getting old cred promise"), this._gettingCredPromise;
|
|
36008
36008
|
}, t.prototype._keepAlive = function() {
|
|
36009
|
-
return
|
|
36009
|
+
return Ss(this, void 0, void 0, function() {
|
|
36010
36010
|
var e, n, s, r, i, o, a, d;
|
|
36011
|
-
return
|
|
36011
|
+
return Is(this, function(l) {
|
|
36012
36012
|
switch (l.label) {
|
|
36013
36013
|
case 0:
|
|
36014
36014
|
if (Ft.debug("checking if credentials exists and not expired"), e = this._credentials, e && !this._isExpired(e) && !this._isPastTTL())
|
|
@@ -36077,17 +36077,17 @@ var yE = function(t) {
|
|
|
36077
36077
|
return this._nextCredentialsRefresh <= Date.now();
|
|
36078
36078
|
}, t.prototype._setCredentialsForGuest = function() {
|
|
36079
36079
|
var e;
|
|
36080
|
-
return
|
|
36080
|
+
return Ss(this, void 0, void 0, function() {
|
|
36081
36081
|
var n, s, r, i, o, a, d, l, c, u, h = this;
|
|
36082
|
-
return
|
|
36082
|
+
return Is(this, function(p) {
|
|
36083
36083
|
switch (p.label) {
|
|
36084
36084
|
case 0:
|
|
36085
36085
|
return Ft.debug("setting credentials for guest"), !((e = this._config) === null || e === void 0) && e.identityPoolId || (this._config = Object.assign({}, this._config, AE(this._config || {}).Auth)), n = this._config, s = n.identityPoolId, r = n.region, i = n.mandatorySignIn, o = n.identityPoolRegion, i ? [2, Promise.reject("cannot get guest credentials when mandatory signin enabled")] : s ? !o && !r ? (Ft.debug("region is not configured for getting the credentials"), [2, Promise.reject("region is not configured for getting the credentials")]) : (d = this, [4, this._getGuestIdentityId()]) : (Ft.debug("No Cognito Identity pool provided for unauthenticated access"), [2, Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);
|
|
36086
36086
|
case 1:
|
|
36087
36087
|
return a = d._identityId = p.sent(), l = { region: o != null ? o : r }, c = function() {
|
|
36088
|
-
return
|
|
36088
|
+
return Ss(h, void 0, void 0, function() {
|
|
36089
36089
|
var m, y;
|
|
36090
|
-
return
|
|
36090
|
+
return Is(this, function(w) {
|
|
36091
36091
|
switch (w.label) {
|
|
36092
36092
|
case 0:
|
|
36093
36093
|
return a ? [3, 2] : [4, Vg(l, {
|
|
@@ -36111,25 +36111,25 @@ var yE = function(t) {
|
|
|
36111
36111
|
});
|
|
36112
36112
|
});
|
|
36113
36113
|
}, u = c().catch(function(m) {
|
|
36114
|
-
return
|
|
36115
|
-
return
|
|
36114
|
+
return Ss(h, void 0, void 0, function() {
|
|
36115
|
+
return Is(this, function(y) {
|
|
36116
36116
|
throw m;
|
|
36117
36117
|
});
|
|
36118
36118
|
});
|
|
36119
36119
|
}), [2, this._loadCredentials(u, "guest", !1, null).then(function(m) {
|
|
36120
36120
|
return m;
|
|
36121
36121
|
}).catch(function(m) {
|
|
36122
|
-
return
|
|
36122
|
+
return Ss(h, void 0, void 0, function() {
|
|
36123
36123
|
var y, w = this;
|
|
36124
|
-
return
|
|
36124
|
+
return Is(this, function(v) {
|
|
36125
36125
|
switch (v.label) {
|
|
36126
36126
|
case 0:
|
|
36127
36127
|
return m.name === "ResourceNotFoundException" && m.message === "Identity '".concat(a, "' not found.") ? (Ft.debug("Failed to load guest credentials"), [4, this._removeGuestIdentityId()]) : [3, 2];
|
|
36128
36128
|
case 1:
|
|
36129
36129
|
return v.sent(), y = function() {
|
|
36130
|
-
return
|
|
36130
|
+
return Ss(w, void 0, void 0, function() {
|
|
36131
36131
|
var _, I;
|
|
36132
|
-
return
|
|
36132
|
+
return Is(this, function(O) {
|
|
36133
36133
|
switch (O.label) {
|
|
36134
36134
|
case 0:
|
|
36135
36135
|
return [4, Vg(l, {
|
|
@@ -36151,8 +36151,8 @@ var yE = function(t) {
|
|
|
36151
36151
|
});
|
|
36152
36152
|
});
|
|
36153
36153
|
}, u = y().catch(function(_) {
|
|
36154
|
-
return
|
|
36155
|
-
return
|
|
36154
|
+
return Ss(w, void 0, void 0, function() {
|
|
36155
|
+
return Is(this, function(I) {
|
|
36156
36156
|
throw _;
|
|
36157
36157
|
});
|
|
36158
36158
|
});
|
|
@@ -36183,9 +36183,9 @@ var yE = function(t) {
|
|
|
36183
36183
|
if (!h && !u)
|
|
36184
36184
|
return Ft.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials");
|
|
36185
36185
|
var p = { region: h != null ? h : u }, m = function() {
|
|
36186
|
-
return
|
|
36186
|
+
return Ss(n, void 0, void 0, function() {
|
|
36187
36187
|
var w, v;
|
|
36188
|
-
return
|
|
36188
|
+
return Is(this, function(_) {
|
|
36189
36189
|
switch (_.label) {
|
|
36190
36190
|
case 0:
|
|
36191
36191
|
return i ? [3, 2] : [4, Vg(p, {
|
|
@@ -36211,8 +36211,8 @@ var yE = function(t) {
|
|
|
36211
36211
|
});
|
|
36212
36212
|
});
|
|
36213
36213
|
}, y = m().catch(function(w) {
|
|
36214
|
-
return
|
|
36215
|
-
return
|
|
36214
|
+
return Ss(n, void 0, void 0, function() {
|
|
36215
|
+
return Is(this, function(v) {
|
|
36216
36216
|
throw w;
|
|
36217
36217
|
});
|
|
36218
36218
|
});
|
|
@@ -36229,9 +36229,9 @@ var yE = function(t) {
|
|
|
36229
36229
|
var l = "cognito-idp." + i + ".amazonaws.com/" + o, c = {};
|
|
36230
36230
|
c[l] = s;
|
|
36231
36231
|
var u = { region: d != null ? d : i }, h = function() {
|
|
36232
|
-
return
|
|
36232
|
+
return Ss(n, void 0, void 0, function() {
|
|
36233
36233
|
var m, y, w, v, _, I, O, V, z, q;
|
|
36234
|
-
return
|
|
36234
|
+
return Is(this, function(M) {
|
|
36235
36235
|
switch (M.label) {
|
|
36236
36236
|
case 0:
|
|
36237
36237
|
return [4, this._getGuestIdentityId()];
|
|
@@ -36263,8 +36263,8 @@ var yE = function(t) {
|
|
|
36263
36263
|
});
|
|
36264
36264
|
});
|
|
36265
36265
|
}, p = h().catch(function(m) {
|
|
36266
|
-
return
|
|
36267
|
-
return
|
|
36266
|
+
return Ss(n, void 0, void 0, function() {
|
|
36267
|
+
return Is(this, function(y) {
|
|
36268
36268
|
throw m;
|
|
36269
36269
|
});
|
|
36270
36270
|
});
|
|
@@ -36274,9 +36274,9 @@ var yE = function(t) {
|
|
|
36274
36274
|
var i = this, o = this;
|
|
36275
36275
|
return new Promise(function(a, d) {
|
|
36276
36276
|
e.then(function(l) {
|
|
36277
|
-
return
|
|
36277
|
+
return Ss(i, void 0, void 0, function() {
|
|
36278
36278
|
var c, u, h, p, m;
|
|
36279
|
-
return
|
|
36279
|
+
return Is(this, function(y) {
|
|
36280
36280
|
switch (y.label) {
|
|
36281
36281
|
case 0:
|
|
36282
36282
|
if (Ft.debug("Load credentials successfully", l), this._identityId && !l.identityId && (l.identityId = this._identityId), o._credentials = l, o._credentials.authenticated = s, o._credentials_source = n, o._nextCredentialsRefresh = (/* @__PURE__ */ new Date()).getTime() + lN, n === "federated") {
|
|
@@ -36314,8 +36314,8 @@ var yE = function(t) {
|
|
|
36314
36314
|
}, t.prototype.set = function(e, n) {
|
|
36315
36315
|
return n === "session" ? this._setCredentialsFromSession(e) : n === "federation" ? this._setCredentialsFromFederation(e) : n === "guest" ? this._setCredentialsForGuest() : (Ft.debug("no source specified for setting credentials"), Promise.reject("invalid source"));
|
|
36316
36316
|
}, t.prototype.clear = function() {
|
|
36317
|
-
return
|
|
36318
|
-
return
|
|
36317
|
+
return Ss(this, void 0, void 0, function() {
|
|
36318
|
+
return Is(this, function(e) {
|
|
36319
36319
|
return this._credentials = null, this._credentials_source = null, Ft.debug("removing aws-amplify-federatedInfo from storage"), this._storage.removeItem("aws-amplify-federatedInfo"), [
|
|
36320
36320
|
2
|
|
36321
36321
|
/*return*/
|
|
@@ -36323,9 +36323,9 @@ var yE = function(t) {
|
|
|
36323
36323
|
});
|
|
36324
36324
|
});
|
|
36325
36325
|
}, t.prototype._getGuestIdentityId = function() {
|
|
36326
|
-
return
|
|
36326
|
+
return Ss(this, void 0, void 0, function() {
|
|
36327
36327
|
var e, n;
|
|
36328
|
-
return
|
|
36328
|
+
return Is(this, function(s) {
|
|
36329
36329
|
switch (s.label) {
|
|
36330
36330
|
case 0:
|
|
36331
36331
|
e = this._config.identityPoolId, s.label = 1;
|
|
@@ -36344,9 +36344,9 @@ var yE = function(t) {
|
|
|
36344
36344
|
});
|
|
36345
36345
|
});
|
|
36346
36346
|
}, t.prototype._setGuestIdentityId = function(e) {
|
|
36347
|
-
return
|
|
36347
|
+
return Ss(this, void 0, void 0, function() {
|
|
36348
36348
|
var n, s;
|
|
36349
|
-
return
|
|
36349
|
+
return Is(this, function(r) {
|
|
36350
36350
|
switch (r.label) {
|
|
36351
36351
|
case 0:
|
|
36352
36352
|
n = this._config.identityPoolId, r.label = 1;
|
|
@@ -36365,9 +36365,9 @@ var yE = function(t) {
|
|
|
36365
36365
|
});
|
|
36366
36366
|
});
|
|
36367
36367
|
}, t.prototype._removeGuestIdentityId = function() {
|
|
36368
|
-
return
|
|
36368
|
+
return Ss(this, void 0, void 0, function() {
|
|
36369
36369
|
var e;
|
|
36370
|
-
return
|
|
36370
|
+
return Is(this, function(n) {
|
|
36371
36371
|
return e = this._config.identityPoolId, Ft.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(e), " from storage")), this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)), [
|
|
36372
36372
|
2
|
|
36373
36373
|
/*return*/
|
|
@@ -43818,7 +43818,7 @@ let Ri = class t extends qe {
|
|
|
43818
43818
|
this.stateStatus.title = d.message.title, this.stateStatus.subtitle = d.message.subtitle, this.stateStatus.icon = d.message.icon, this.stateStatus.returnButton = d.message.returnButton, this.stateStatus.nameReturnButton = d.message.nameReturnButton, this.stateStatus.status = d.status, this.stateStatus.name = d.message.name, this.createEvent("button-pushed", dt.STATUS);
|
|
43819
43819
|
return;
|
|
43820
43820
|
}
|
|
43821
|
-
r.payment_type !==
|
|
43821
|
+
r.payment_type !== ws.MIT && (yield this.validateCircuitBreaker(), yield this.getPromotions()), this.stateScofProps.paymentRequestId = r.id, this.stateScofProps.publicKeyScof = s.public_key.replace(/\r\n/g, ""), this.stateScof.cardsAccepted = o, this.stateScof.page = dt.MAIN;
|
|
43822
43822
|
const l = s.user_card_data.map((c) => et(Me({}, c), {
|
|
43823
43823
|
is_allowed: this.stateScof.cardsAccepted.includes(c.card_brand)
|
|
43824
43824
|
})).sort((c, u) => Number(u.is_allowed) - Number(c.is_allowed));
|
|
@@ -43868,7 +43868,7 @@ let Ri = class t extends qe {
|
|
|
43868
43868
|
});
|
|
43869
43869
|
const s = um(
|
|
43870
43870
|
n.data.status,
|
|
43871
|
-
(o = (i = this.stateScof.statePaymentRequest) == null ? void 0 : i.payment_type) != null ? o :
|
|
43871
|
+
(o = (i = this.stateScof.statePaymentRequest) == null ? void 0 : i.payment_type) != null ? o : ws.ECOMMERCE
|
|
43872
43872
|
);
|
|
43873
43873
|
Object.assign(this.stateStatus, s);
|
|
43874
43874
|
const r = this.stateScof.paymentResponse.data;
|
|
@@ -43980,7 +43980,7 @@ let Ri = class t extends qe {
|
|
|
43980
43980
|
});
|
|
43981
43981
|
const o = um(
|
|
43982
43982
|
e.data.status,
|
|
43983
|
-
(r = (s = this.stateScof.statePaymentRequest) == null ? void 0 : s.payment_type) != null ? r :
|
|
43983
|
+
(r = (s = this.stateScof.statePaymentRequest) == null ? void 0 : s.payment_type) != null ? r : ws.ECOMMERCE
|
|
43984
43984
|
);
|
|
43985
43985
|
Object.assign(this.stateStatus, o);
|
|
43986
43986
|
const a = this.stateScof.paymentResponse.data;
|
|
@@ -46595,7 +46595,7 @@ var w9 = Object.defineProperty, x9 = Object.getOwnPropertyDescriptor, Zs = (t, e
|
|
|
46595
46595
|
return s && r && w9(e, n, r), r;
|
|
46596
46596
|
};
|
|
46597
46597
|
const Ky = "scof-status";
|
|
46598
|
-
let
|
|
46598
|
+
let _s = class t extends qe {
|
|
46599
46599
|
constructor() {
|
|
46600
46600
|
super(...arguments), this.title = "¡Ya se confirmó el pago!", this.message = "Encontrá el detalle de la compra en la tienda.", this.image = "https://ranty-sdk-js.naranjax.com/images/error.svg", this.duplicateImage = "https://ranty-sdk-js.naranjax.com/images/circle-info.svg", this.customClassSub = "", this.customClass = "", this.returnButton = !0, this.isVisible = !1, this.showLoading = !1, this.duplicateError = !1, this.sonicBranding = !1;
|
|
46601
46601
|
}
|
|
@@ -46728,57 +46728,57 @@ let xs = class t extends qe {
|
|
|
46728
46728
|
`;
|
|
46729
46729
|
}
|
|
46730
46730
|
};
|
|
46731
|
-
|
|
46731
|
+
_s.styles = Ye`
|
|
46732
46732
|
${We(q0)}
|
|
46733
46733
|
`;
|
|
46734
46734
|
Zs([
|
|
46735
46735
|
Ie({ context: Wi, subscribe: !0 }),
|
|
46736
46736
|
ie()
|
|
46737
|
-
],
|
|
46737
|
+
], _s.prototype, "stateScof", 2);
|
|
46738
46738
|
Zs([
|
|
46739
46739
|
Ie({ context: Bh, subscribe: !0 }),
|
|
46740
46740
|
ie()
|
|
46741
|
-
],
|
|
46741
|
+
], _s.prototype, "stateScofStatus", 2);
|
|
46742
46742
|
Zs([
|
|
46743
46743
|
Ie({ context: jt, subscribe: !0 }),
|
|
46744
46744
|
ie()
|
|
46745
|
-
],
|
|
46745
|
+
], _s.prototype, "payfacContext", 2);
|
|
46746
46746
|
Zs([
|
|
46747
46747
|
T({ type: String })
|
|
46748
|
-
],
|
|
46748
|
+
], _s.prototype, "title", 2);
|
|
46749
46749
|
Zs([
|
|
46750
46750
|
T({ type: String })
|
|
46751
|
-
],
|
|
46751
|
+
], _s.prototype, "message", 2);
|
|
46752
46752
|
Zs([
|
|
46753
46753
|
T({ type: String })
|
|
46754
|
-
],
|
|
46754
|
+
], _s.prototype, "image", 2);
|
|
46755
46755
|
Zs([
|
|
46756
46756
|
T({ type: String })
|
|
46757
|
-
],
|
|
46757
|
+
], _s.prototype, "duplicateImage", 2);
|
|
46758
46758
|
Zs([
|
|
46759
46759
|
T({ type: String })
|
|
46760
|
-
],
|
|
46760
|
+
], _s.prototype, "customClassSub", 2);
|
|
46761
46761
|
Zs([
|
|
46762
46762
|
T({ type: String })
|
|
46763
|
-
],
|
|
46763
|
+
], _s.prototype, "customClass", 2);
|
|
46764
46764
|
Zs([
|
|
46765
46765
|
T({ type: Boolean })
|
|
46766
|
-
],
|
|
46766
|
+
], _s.prototype, "returnButton", 2);
|
|
46767
46767
|
Zs([
|
|
46768
46768
|
T({ type: Boolean })
|
|
46769
|
-
],
|
|
46769
|
+
], _s.prototype, "isVisible", 2);
|
|
46770
46770
|
Zs([
|
|
46771
46771
|
T({ type: Boolean })
|
|
46772
|
-
],
|
|
46772
|
+
], _s.prototype, "showLoading", 2);
|
|
46773
46773
|
Zs([
|
|
46774
46774
|
T({ type: Boolean })
|
|
46775
|
-
],
|
|
46775
|
+
], _s.prototype, "duplicateError", 2);
|
|
46776
46776
|
Zs([
|
|
46777
46777
|
T({ type: Boolean })
|
|
46778
|
-
],
|
|
46779
|
-
|
|
46778
|
+
], _s.prototype, "sonicBranding", 2);
|
|
46779
|
+
_s = Zs([
|
|
46780
46780
|
He("scof-status")
|
|
46781
|
-
],
|
|
46781
|
+
], _s);
|
|
46782
46782
|
const V0 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .container{display:flex;font-family:Inter,Arial,"sans-serif";animation:fadeIn .15s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}:host .container .panel-container{padding:16px 24px;background:#ffffff;width:100%;border-radius:16px}:host .container .panel-container .top-half{padding-bottom:16px;border-bottom:1px solid rgba(33,33,33,.0784313725)}:host .container .panel-container .top-half .font{color:#6a6a6a;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px}:host .container .panel-container .top-half .font.font-name{margin-bottom:3px}:host .container .panel-container .top-half .font.font-dni{margin:0}:host .container .panel-container .top-half .title{color:#2b2b2b;font-style:normal;font-weight:600;line-height:22px;letter-spacing:.16px;margin:0}:host .container .bottom-half{padding-top:16px}:host .container .bottom-half .items{display:flex;align-items:center;gap:16px}:host .container .bottom-half .items .card-brand{width:69px;border-radius:2px}:host .container .bottom-half .items .card-brand .card-brand-image{height:100%;width:100%;margin-top:11px;border-radius:4px}:host .container .bottom-half .items .data{display:flex;flex-direction:column;padding-top:8px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px}:host .container .bottom-half .items .data .text{font-weight:400;color:#141413;padding-bottom:6px}:host .container .bottom-half .items .data .data-card{display:flex;align-items:center}:host .container .bottom-half .data-text{margin-top:8px;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px;color:#6a6a6a}:host .container .bottom-half .data-text.installment-plan-name{margin-top:20px}:host .container .bottom-half .data-text.installment-plan-cost{margin-top:0}:host .container .bottom-half .mobile-break{display:none}@media screen and (max-width: 800px){:host .container .bottom-half .mobile-break{display:inline}}@media only screen and (max-width: 800px){:host .container .bottom-half .mobile-pipe{display:none}}:host .container .bottom-half .panel-footer{display:flex;justify-content:space-between;padding-top:24px;text-align:right}@media only screen and (max-width: 800px){:host .container .bottom-half .panel-footer{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}:host src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}:host .text_error{color:red}
|
|
46783
46783
|
`;
|
|
46784
46784
|
var _9 = Object.defineProperty, C9 = Object.getOwnPropertyDescriptor, mc = (t, e, n, s) => {
|
|
@@ -48331,7 +48331,7 @@ var V9 = Object.defineProperty, K9 = Object.getOwnPropertyDescriptor, $s = (t, e
|
|
|
48331
48331
|
return s && r && V9(e, n, r), r;
|
|
48332
48332
|
};
|
|
48333
48333
|
const lp = "component-status";
|
|
48334
|
-
let
|
|
48334
|
+
let Cs = class t extends qe {
|
|
48335
48335
|
constructor() {
|
|
48336
48336
|
super(...arguments), this.title = "¡Ya se confirmó el pago!", this.message = "Encontrá el detalle de la compra en la tienda.", this.image = "https://ranty-sdk-js.naranjax.com/images/error.svg", this.duplicateImage = "https://ranty-sdk-js.naranjax.com/images/circle-info.svg", this.returnButton = !0, this.showLoading = !1, this.duplicateError = !1, this.sonicBranding = !1, this.isLoadingDownloadPDF = !1, this.settings = va.settings, this.callbackUrl = "";
|
|
48337
48337
|
}
|
|
@@ -48365,7 +48365,7 @@ let _s = class t extends qe {
|
|
|
48365
48365
|
firstUpdated(e) {
|
|
48366
48366
|
return de(this, null, function* () {
|
|
48367
48367
|
var n, s, r;
|
|
48368
|
-
if (nn(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((n = this.payfacContext.paymentRequest) == null ? void 0 : n.payment_type) ===
|
|
48368
|
+
if (nn(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((n = this.payfacContext.paymentRequest) == null ? void 0 : n.payment_type) === ws.ECOMMERCE && this.payfacContext.paymentRequest.additional_info.callback_url || "", this.isStatusSuccess) {
|
|
48369
48369
|
W.info("firstUpdatedStatus", {
|
|
48370
48370
|
context: ne.DEFAULT,
|
|
48371
48371
|
origin_sdk: lp,
|
|
@@ -48570,57 +48570,57 @@ let _s = class t extends qe {
|
|
|
48570
48570
|
`;
|
|
48571
48571
|
}
|
|
48572
48572
|
};
|
|
48573
|
-
|
|
48573
|
+
Cs.styles = Ye`
|
|
48574
48574
|
${We(q0)}
|
|
48575
48575
|
`;
|
|
48576
48576
|
$s([
|
|
48577
48577
|
Ie({ context: pr, subscribe: !0 }),
|
|
48578
48578
|
ie()
|
|
48579
|
-
],
|
|
48579
|
+
], Cs.prototype, "state", 2);
|
|
48580
48580
|
$s([
|
|
48581
48581
|
Ie({ context: Ih, subscribe: !0 }),
|
|
48582
48582
|
ie()
|
|
48583
|
-
],
|
|
48583
|
+
], Cs.prototype, "status", 2);
|
|
48584
48584
|
$s([
|
|
48585
48585
|
Ie({ context: jt, subscribe: !0 }),
|
|
48586
48586
|
ie()
|
|
48587
|
-
],
|
|
48587
|
+
], Cs.prototype, "payfacContext", 2);
|
|
48588
48588
|
$s([
|
|
48589
48589
|
T({ type: String })
|
|
48590
|
-
],
|
|
48590
|
+
], Cs.prototype, "title", 2);
|
|
48591
48591
|
$s([
|
|
48592
48592
|
T({ type: String })
|
|
48593
|
-
],
|
|
48593
|
+
], Cs.prototype, "message", 2);
|
|
48594
48594
|
$s([
|
|
48595
48595
|
T({ type: String })
|
|
48596
|
-
],
|
|
48596
|
+
], Cs.prototype, "image", 2);
|
|
48597
48597
|
$s([
|
|
48598
48598
|
T({ type: String })
|
|
48599
|
-
],
|
|
48599
|
+
], Cs.prototype, "duplicateImage", 2);
|
|
48600
48600
|
$s([
|
|
48601
48601
|
T({ type: Boolean })
|
|
48602
|
-
],
|
|
48602
|
+
], Cs.prototype, "returnButton", 2);
|
|
48603
48603
|
$s([
|
|
48604
48604
|
T({ type: Boolean })
|
|
48605
|
-
],
|
|
48605
|
+
], Cs.prototype, "showLoading", 2);
|
|
48606
48606
|
$s([
|
|
48607
48607
|
T({ type: Boolean })
|
|
48608
|
-
],
|
|
48608
|
+
], Cs.prototype, "duplicateError", 2);
|
|
48609
48609
|
$s([
|
|
48610
48610
|
T({ type: Boolean })
|
|
48611
|
-
],
|
|
48611
|
+
], Cs.prototype, "sonicBranding", 2);
|
|
48612
48612
|
$s([
|
|
48613
48613
|
T({ type: Boolean })
|
|
48614
|
-
],
|
|
48614
|
+
], Cs.prototype, "isLoadingDownloadPDF", 2);
|
|
48615
48615
|
$s([
|
|
48616
48616
|
T({ type: Object })
|
|
48617
|
-
],
|
|
48617
|
+
], Cs.prototype, "settings", 2);
|
|
48618
48618
|
$s([
|
|
48619
48619
|
T({ type: String })
|
|
48620
|
-
],
|
|
48621
|
-
|
|
48620
|
+
], Cs.prototype, "callbackUrl", 2);
|
|
48621
|
+
Cs = $s([
|
|
48622
48622
|
He("component-status")
|
|
48623
|
-
],
|
|
48623
|
+
], Cs);
|
|
48624
48624
|
var G9 = Object.defineProperty, W9 = Object.getOwnPropertyDescriptor, hu = (t, e, n, s) => {
|
|
48625
48625
|
for (var r = s > 1 ? void 0 : s ? W9(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
48626
48626
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -52076,7 +52076,7 @@ function Vs(t, e, n, s) {
|
|
|
52076
52076
|
l((s = s.apply(t, e || [])).next());
|
|
52077
52077
|
});
|
|
52078
52078
|
}
|
|
52079
|
-
function
|
|
52079
|
+
function Fs(t, e) {
|
|
52080
52080
|
var n = { label: 0, sent: function() {
|
|
52081
52081
|
if (i[0] & 1)
|
|
52082
52082
|
throw i[1];
|
|
@@ -52397,12 +52397,12 @@ var _H = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
52397
52397
|
return { done: !0, value: null };
|
|
52398
52398
|
}
|
|
52399
52399
|
};
|
|
52400
|
-
}, QH = 1, MH = 2, Ph = 4, xC = 8, Qm = 10, _C = 47, Dp = 92, zH = 9, HH = 32, Af = 34, up = 61, qH = 35, VH = 36, KH = 37, uf = 39, pf = 40, pp = 41, GH = 95, ar = 45, WH = 33, YH = 60, JH = 62, XH = 64, ZH = 91, $H = 93, eq = 61, tq = 123, hf = 63, nq = 125, CC = 124, sq = 126, rq = 128, BC = 65533, db = 42, Ll = 43, iq = 44, oq = 58, aq = 59, dh = 46, dq = 0, lq = 8, cq = 11, Aq = 14, uq = 31, pq = 127, ho = -1, p4 = 48, h4 = 97, g4 = 101, hq = 102, gq = 117, fq = 122, f4 = 65, m4 = 69, y4 = 70, mq = 85, yq = 90,
|
|
52400
|
+
}, QH = 1, MH = 2, Ph = 4, xC = 8, Qm = 10, _C = 47, Dp = 92, zH = 9, HH = 32, Af = 34, up = 61, qH = 35, VH = 36, KH = 37, uf = 39, pf = 40, pp = 41, GH = 95, ar = 45, WH = 33, YH = 60, JH = 62, XH = 64, ZH = 91, $H = 93, eq = 61, tq = 123, hf = 63, nq = 125, CC = 124, sq = 126, rq = 128, BC = 65533, db = 42, Ll = 43, iq = 44, oq = 58, aq = 59, dh = 46, dq = 0, lq = 8, cq = 11, Aq = 14, uq = 31, pq = 127, ho = -1, p4 = 48, h4 = 97, g4 = 101, hq = 102, gq = 117, fq = 122, f4 = 65, m4 = 69, y4 = 70, mq = 85, yq = 90, Rs = function(t) {
|
|
52401
52401
|
return t >= p4 && t <= 57;
|
|
52402
52402
|
}, bq = function(t) {
|
|
52403
52403
|
return t >= 55296 && t <= 57343;
|
|
52404
52404
|
}, aA = function(t) {
|
|
52405
|
-
return
|
|
52405
|
+
return Rs(t) || t >= f4 && t <= y4 || t >= h4 && t <= hq;
|
|
52406
52406
|
}, vq = function(t) {
|
|
52407
52407
|
return t >= h4 && t <= fq;
|
|
52408
52408
|
}, wq = function(t) {
|
|
@@ -52416,7 +52416,7 @@ var _H = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
52416
52416
|
}, Mm = function(t) {
|
|
52417
52417
|
return xq(t) || _q(t) || t === GH;
|
|
52418
52418
|
}, EC = function(t) {
|
|
52419
|
-
return Mm(t) ||
|
|
52419
|
+
return Mm(t) || Rs(t) || t === ar;
|
|
52420
52420
|
}, Cq = function(t) {
|
|
52421
52421
|
return t >= dq && t <= lq || t === cq || t >= Aq && t <= uq || t === pq;
|
|
52422
52422
|
}, id = function(t, e) {
|
|
@@ -52424,21 +52424,21 @@ var _H = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
52424
52424
|
}, ff = function(t, e, n) {
|
|
52425
52425
|
return t === ar ? Mm(e) || id(e, n) : Mm(t) ? !0 : !!(t === Dp && id(t, e));
|
|
52426
52426
|
}, lb = function(t, e, n) {
|
|
52427
|
-
return t === Ll || t === ar ?
|
|
52427
|
+
return t === Ll || t === ar ? Rs(e) ? !0 : e === dh && Rs(n) : Rs(t === dh ? e : t);
|
|
52428
52428
|
}, Bq = function(t) {
|
|
52429
52429
|
var e = 0, n = 1;
|
|
52430
52430
|
(t[e] === Ll || t[e] === ar) && (t[e] === ar && (n = -1), e++);
|
|
52431
|
-
for (var s = [];
|
|
52431
|
+
for (var s = []; Rs(t[e]); )
|
|
52432
52432
|
s.push(t[e++]);
|
|
52433
52433
|
var r = s.length ? parseInt(Fn.apply(void 0, s), 10) : 0;
|
|
52434
52434
|
t[e] === dh && e++;
|
|
52435
|
-
for (var i = [];
|
|
52435
|
+
for (var i = []; Rs(t[e]); )
|
|
52436
52436
|
i.push(t[e++]);
|
|
52437
52437
|
var o = i.length, a = o ? parseInt(Fn.apply(void 0, i), 10) : 0;
|
|
52438
52438
|
(t[e] === m4 || t[e] === g4) && e++;
|
|
52439
52439
|
var d = 1;
|
|
52440
52440
|
(t[e] === Ll || t[e] === ar) && (t[e] === ar && (d = -1), e++);
|
|
52441
|
-
for (var l = [];
|
|
52441
|
+
for (var l = []; Rs(t[e]); )
|
|
52442
52442
|
l.push(t[e++]);
|
|
52443
52443
|
var c = l.length ? parseInt(Fn.apply(void 0, l), 10) : 0;
|
|
52444
52444
|
return n * (r + a * Math.pow(10, -o)) * Math.pow(10, d * c);
|
|
@@ -52620,7 +52620,7 @@ var _H = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
52620
52620
|
case ho:
|
|
52621
52621
|
return n2;
|
|
52622
52622
|
}
|
|
52623
|
-
return gf(e) ? (this.consumeWhiteSpace(), qq) :
|
|
52623
|
+
return gf(e) ? (this.consumeWhiteSpace(), qq) : Rs(e) ? (this.reconsumeCodePoint(e), this.consumeNumericToken()) : Mm(e) ? (this.reconsumeCodePoint(e), this.consumeIdentLikeToken()) : { type: 6, value: Fn(e) };
|
|
52624
52624
|
}, t.prototype.consumeCodePoint = function() {
|
|
52625
52625
|
var e = this._value.shift();
|
|
52626
52626
|
return typeof e == "undefined" ? -1 : e;
|
|
@@ -52710,17 +52710,17 @@ var _H = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
52710
52710
|
} while (!0);
|
|
52711
52711
|
}, t.prototype.consumeNumber = function() {
|
|
52712
52712
|
var e = [], n = Ph, s = this.peekCodePoint(0);
|
|
52713
|
-
for ((s === Ll || s === ar) && e.push(this.consumeCodePoint());
|
|
52713
|
+
for ((s === Ll || s === ar) && e.push(this.consumeCodePoint()); Rs(this.peekCodePoint(0)); )
|
|
52714
52714
|
e.push(this.consumeCodePoint());
|
|
52715
52715
|
s = this.peekCodePoint(0);
|
|
52716
52716
|
var r = this.peekCodePoint(1);
|
|
52717
|
-
if (s === dh &&
|
|
52718
|
-
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = xC;
|
|
52717
|
+
if (s === dh && Rs(r))
|
|
52718
|
+
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = xC; Rs(this.peekCodePoint(0)); )
|
|
52719
52719
|
e.push(this.consumeCodePoint());
|
|
52720
52720
|
s = this.peekCodePoint(0), r = this.peekCodePoint(1);
|
|
52721
52721
|
var i = this.peekCodePoint(2);
|
|
52722
|
-
if ((s === m4 || s === g4) && ((r === Ll || r === ar) &&
|
|
52723
|
-
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = xC;
|
|
52722
|
+
if ((s === m4 || s === g4) && ((r === Ll || r === ar) && Rs(i) || Rs(r)))
|
|
52723
|
+
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = xC; Rs(this.peekCodePoint(0)); )
|
|
52724
52724
|
e.push(this.consumeCodePoint());
|
|
52725
52725
|
return [Bq(e), n];
|
|
52726
52726
|
}, t.prototype.consumeNumericToken = function() {
|
|
@@ -55491,7 +55491,7 @@ var KK = 1, pb = 2, hb = 3, LC = 4, QC = 5, GK = 7, MC = 8, gb = 9, fb = 10, zC
|
|
|
55491
55491
|
var i = e.defaultView.pageXOffset, o = e.defaultView.pageYOffset, a = r.contentWindow, d = a.document, l = DG(r).then(function() {
|
|
55492
55492
|
return Vs(s, void 0, void 0, function() {
|
|
55493
55493
|
var c, u;
|
|
55494
|
-
return
|
|
55494
|
+
return Fs(this, function(h) {
|
|
55495
55495
|
switch (h.label) {
|
|
55496
55496
|
case 0:
|
|
55497
55497
|
return this.scrolledElements.forEach(QG), a && (a.scrollTo(n.left, n.top), /(iPad|iPhone|iPod)/g.test(navigator.userAgent) && (a.scrollY !== n.top || a.scrollX !== n.left) && (this.context.logger.warn("Unable to restore scroll position for cloned document"), this.context.windowBounds = this.context.windowBounds.add(a.scrollX - n.left, a.scrollY - n.top, 0, 0))), c = this.options.onclone, u = this.clonedReferenceElement, typeof u == "undefined" ? [2, Promise.reject("Error finding the " + this.referenceElement.nodeName + " in the cloned document")] : d.fonts && d.fonts.ready ? [4, d.fonts.ready] : [3, 2];
|
|
@@ -55759,7 +55759,7 @@ var PG = function(t, e) {
|
|
|
55759
55759
|
}, t.prototype.loadImage = function(e) {
|
|
55760
55760
|
return Vs(this, void 0, void 0, function() {
|
|
55761
55761
|
var n, s, r, i, o = this;
|
|
55762
|
-
return
|
|
55762
|
+
return Fs(this, function(a) {
|
|
55763
55763
|
switch (a.label) {
|
|
55764
55764
|
case 0:
|
|
55765
55765
|
return n = nk.isSameOrigin(e), s = !wb(e) && this._options.useCORS === !0 && bs.SUPPORT_CORS_IMAGES && !n, r = !wb(e) && !n && !xb(e) && typeof this._options.proxy == "string" && bs.SUPPORT_CORS_XHR && !s, !n && this._options.allowTaint === !1 && !wb(e) && !xb(e) && !r && !s ? [
|
|
@@ -56262,7 +56262,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56262
56262
|
}, e.prototype.renderStack = function(n) {
|
|
56263
56263
|
return Vs(this, void 0, void 0, function() {
|
|
56264
56264
|
var s;
|
|
56265
|
-
return
|
|
56265
|
+
return Fs(this, function(r) {
|
|
56266
56266
|
switch (r.label) {
|
|
56267
56267
|
case 0:
|
|
56268
56268
|
return s = n.element.container.styles, s.isVisible() ? [4, this.renderStackContent(n)] : [3, 2];
|
|
@@ -56278,7 +56278,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56278
56278
|
});
|
|
56279
56279
|
}, e.prototype.renderNode = function(n) {
|
|
56280
56280
|
return Vs(this, void 0, void 0, function() {
|
|
56281
|
-
return
|
|
56281
|
+
return Fs(this, function(s) {
|
|
56282
56282
|
switch (s.label) {
|
|
56283
56283
|
case 0:
|
|
56284
56284
|
if (ts(
|
|
@@ -56322,7 +56322,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56322
56322
|
}, e.prototype.renderTextNode = function(n, s) {
|
|
56323
56323
|
return Vs(this, void 0, void 0, function() {
|
|
56324
56324
|
var r, i, o, a, d, l, c, u, h = this;
|
|
56325
|
-
return
|
|
56325
|
+
return Fs(this, function(p) {
|
|
56326
56326
|
return r = this.createFontStyle(s), i = r[0], o = r[1], a = r[2], this.ctx.font = i, this.ctx.direction = s.direction === 1 ? "rtl" : "ltr", this.ctx.textAlign = "left", this.ctx.textBaseline = "alphabetic", d = this.fontMetrics.getMetrics(o, a), l = d.baseline, c = d.middle, u = s.paintOrder, n.textBounds.forEach(function(m) {
|
|
56327
56327
|
u.forEach(function(y) {
|
|
56328
56328
|
switch (y) {
|
|
@@ -56364,7 +56364,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56364
56364
|
}, e.prototype.renderNodeContent = function(n) {
|
|
56365
56365
|
return Vs(this, void 0, void 0, function() {
|
|
56366
56366
|
var s, r, i, o, a, d, _, _, l, c, u, h, O, p, m, V, y, w, v, _, I, O, V;
|
|
56367
|
-
return
|
|
56367
|
+
return Fs(this, function(z) {
|
|
56368
56368
|
switch (z.label) {
|
|
56369
56369
|
case 0:
|
|
56370
56370
|
this.applyEffects(n.getEffects(
|
|
@@ -56465,7 +56465,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56465
56465
|
}, e.prototype.renderStackContent = function(n) {
|
|
56466
56466
|
return Vs(this, void 0, void 0, function() {
|
|
56467
56467
|
var s, r, v, i, o, v, a, d, v, l, c, v, u, h, v, p, m, v, y, w, v;
|
|
56468
|
-
return
|
|
56468
|
+
return Fs(this, function(_) {
|
|
56469
56469
|
switch (_.label) {
|
|
56470
56470
|
case 0:
|
|
56471
56471
|
if (ts(
|
|
@@ -56564,12 +56564,12 @@ var bn = function(t, e, n, s, r) {
|
|
|
56564
56564
|
}, e.prototype.renderBackgroundImage = function(n) {
|
|
56565
56565
|
return Vs(this, void 0, void 0, function() {
|
|
56566
56566
|
var s, r, i, o, a, d;
|
|
56567
|
-
return
|
|
56567
|
+
return Fs(this, function(l) {
|
|
56568
56568
|
switch (l.label) {
|
|
56569
56569
|
case 0:
|
|
56570
56570
|
s = n.styles.backgroundImage.length - 1, r = function(c) {
|
|
56571
56571
|
var u, h, p, ue, ge, _e, J, X, M, m, ue, ge, _e, J, X, y, w, v, _, I, O, V, z, q, M, $, ue, R, Q, J, X, xe, ge, _e, fe, Be, ce, Ee, E, H, G, te;
|
|
56572
|
-
return
|
|
56572
|
+
return Fs(this, function(re) {
|
|
56573
56573
|
switch (re.label) {
|
|
56574
56574
|
case 0:
|
|
56575
56575
|
if (c.type !== 0)
|
|
@@ -56621,7 +56621,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56621
56621
|
});
|
|
56622
56622
|
}, e.prototype.renderSolidBorder = function(n, s, r) {
|
|
56623
56623
|
return Vs(this, void 0, void 0, function() {
|
|
56624
|
-
return
|
|
56624
|
+
return Fs(this, function(i) {
|
|
56625
56625
|
return this.path(a3(r, s)), this.ctx.fillStyle = as(n), this.ctx.fill(), [
|
|
56626
56626
|
2
|
|
56627
56627
|
/*return*/
|
|
@@ -56631,7 +56631,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56631
56631
|
}, e.prototype.renderDoubleBorder = function(n, s, r, i) {
|
|
56632
56632
|
return Vs(this, void 0, void 0, function() {
|
|
56633
56633
|
var o, a;
|
|
56634
|
-
return
|
|
56634
|
+
return Fs(this, function(d) {
|
|
56635
56635
|
switch (d.label) {
|
|
56636
56636
|
case 0:
|
|
56637
56637
|
return s < 3 ? [4, this.renderSolidBorder(n, r, i)] : [3, 2];
|
|
@@ -56651,7 +56651,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56651
56651
|
}, e.prototype.renderNodeBackgroundAndBorders = function(n) {
|
|
56652
56652
|
return Vs(this, void 0, void 0, function() {
|
|
56653
56653
|
var s, r, i, o, a, d, l, c, u = this;
|
|
56654
|
-
return
|
|
56654
|
+
return Fs(this, function(h) {
|
|
56655
56655
|
switch (h.label) {
|
|
56656
56656
|
case 0:
|
|
56657
56657
|
return this.applyEffects(n.getEffects(
|
|
@@ -56716,7 +56716,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56716
56716
|
}, e.prototype.renderDashedDottedBorder = function(n, s, r, i, o) {
|
|
56717
56717
|
return Vs(this, void 0, void 0, function() {
|
|
56718
56718
|
var a, d, l, c, u, h, p, m, y, w, v, _, I, O, V, z, V, z;
|
|
56719
|
-
return
|
|
56719
|
+
return Fs(this, function(q) {
|
|
56720
56720
|
return this.ctx.save(), a = dW(i, r), d = a3(i, r), o === 2 && (this.path(d), this.ctx.clip()), Wr(d[0]) ? (l = d[0].start.x, c = d[0].start.y) : (l = d[0].x, c = d[0].y), Wr(d[1]) ? (u = d[1].end.x, h = d[1].end.y) : (u = d[1].x, h = d[1].y), r === 0 || r === 2 ? p = Math.abs(l - u) : p = Math.abs(c - h), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), m = s < 3 ? s * 3 : s * 2, y = s < 3 ? s * 2 : s, o === 3 && (m = s, y = s), w = !0, p <= m * 2 ? w = !1 : p <= m * 2 + y ? (v = p / (2 * m + y), m *= v, y *= v) : (_ = Math.floor((p + y) / (m + y)), I = (p - _ * m) / (_ - 1), O = (p - (_ + 1) * m) / _, y = O <= 0 || Math.abs(y - I) < Math.abs(y - O) ? I : O), w && (o === 3 ? this.ctx.setLineDash([0, m + y]) : this.ctx.setLineDash([m, y])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = s) : this.ctx.lineWidth = s * 2 + 1.1, this.ctx.strokeStyle = as(n), this.ctx.stroke(), this.ctx.setLineDash([]), o === 2 && (Wr(d[0]) && (V = d[3], z = d[0], this.ctx.beginPath(), this.formatPath([new tt(V.end.x, V.end.y), new tt(z.start.x, z.start.y)]), this.ctx.stroke()), Wr(d[1]) && (V = d[1], z = d[2], this.ctx.beginPath(), this.formatPath([new tt(V.end.x, V.end.y), new tt(z.start.x, z.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
56721
56721
|
2
|
|
56722
56722
|
/*return*/
|
|
@@ -56726,7 +56726,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56726
56726
|
}, e.prototype.render = function(n) {
|
|
56727
56727
|
return Vs(this, void 0, void 0, function() {
|
|
56728
56728
|
var s;
|
|
56729
|
-
return
|
|
56729
|
+
return Fs(this, function(r) {
|
|
56730
56730
|
switch (r.label) {
|
|
56731
56731
|
case 0:
|
|
56732
56732
|
return this.options.backgroundColor && (this.ctx.fillStyle = as(this.options.backgroundColor), this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height)), s = iW(n), [4, this.renderStack(s)];
|
|
@@ -56774,7 +56774,7 @@ var bn = function(t, e, n, s, r) {
|
|
|
56774
56774
|
return e.prototype.render = function(n) {
|
|
56775
56775
|
return Vs(this, void 0, void 0, function() {
|
|
56776
56776
|
var s, r;
|
|
56777
|
-
return
|
|
56777
|
+
return Fs(this, function(i) {
|
|
56778
56778
|
switch (i.label) {
|
|
56779
56779
|
case 0:
|
|
56780
56780
|
return s = o2(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, n), [4, _W(s)];
|
|
@@ -56835,7 +56835,7 @@ typeof window != "undefined" && nk.setContext(window);
|
|
|
56835
56835
|
var EW = function(t, e) {
|
|
56836
56836
|
return Vs(void 0, void 0, void 0, function() {
|
|
56837
56837
|
var n, s, r, i, o, a, d, l, c, u, h, p, m, y, w, v, _, I, O, V, q, z, q, M, $, ue, R, Q, J, X, xe, ge, _e, fe, Be, ce, Ee, E, H, G;
|
|
56838
|
-
return
|
|
56838
|
+
return Fs(this, function(te) {
|
|
56839
56839
|
switch (te.label) {
|
|
56840
56840
|
case 0:
|
|
56841
56841
|
if (!t || typeof t != "object")
|
|
@@ -56898,7 +56898,7 @@ function $t(t) {
|
|
|
56898
56898
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
56899
56899
|
}, $t(t);
|
|
56900
56900
|
}
|
|
56901
|
-
var
|
|
56901
|
+
var Os = Uint8Array, Cr = Uint16Array, c5 = Int32Array, l1 = new Os([
|
|
56902
56902
|
0,
|
|
56903
56903
|
0,
|
|
56904
56904
|
0,
|
|
@@ -56933,7 +56933,7 @@ var Ds = Uint8Array, Cr = Uint16Array, c5 = Int32Array, l1 = new Ds([
|
|
|
56933
56933
|
0,
|
|
56934
56934
|
/* impossible */
|
|
56935
56935
|
0
|
|
56936
|
-
]), c1 = new
|
|
56936
|
+
]), c1 = new Os([
|
|
56937
56937
|
0,
|
|
56938
56938
|
0,
|
|
56939
56939
|
0,
|
|
@@ -56967,7 +56967,7 @@ var Ds = Uint8Array, Cr = Uint16Array, c5 = Int32Array, l1 = new Ds([
|
|
|
56967
56967
|
/* unused */
|
|
56968
56968
|
0,
|
|
56969
56969
|
0
|
|
56970
|
-
]), p2 = new
|
|
56970
|
+
]), p2 = new Os([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), lk = function(t, e) {
|
|
56971
56971
|
for (var n = new Cr(31), s = 0; s < 31; ++s)
|
|
56972
56972
|
n[s] = e += 1 << t[s - 1];
|
|
56973
56973
|
for (var r = new c5(n[30]), s = 1; s < 30; ++s)
|
|
@@ -56999,7 +56999,7 @@ var bo = function(t, e, n) {
|
|
|
56999
56999
|
for (a = new Cr(s), r = 0; r < s; ++r)
|
|
57000
57000
|
t[r] && (a[r] = g2[o[t[r] - 1]++] >> 15 - t[r]);
|
|
57001
57001
|
return a;
|
|
57002
|
-
}, Td = new
|
|
57002
|
+
}, Td = new Os(288);
|
|
57003
57003
|
for (var fn = 0; fn < 144; ++fn)
|
|
57004
57004
|
Td[fn] = 8;
|
|
57005
57005
|
for (var fn = 144; fn < 256; ++fn)
|
|
@@ -57008,7 +57008,7 @@ for (var fn = 256; fn < 280; ++fn)
|
|
|
57008
57008
|
Td[fn] = 7;
|
|
57009
57009
|
for (var fn = 280; fn < 288; ++fn)
|
|
57010
57010
|
Td[fn] = 8;
|
|
57011
|
-
var ch = new
|
|
57011
|
+
var ch = new Os(32);
|
|
57012
57012
|
for (var fn = 0; fn < 32; ++fn)
|
|
57013
57013
|
ch[fn] = 5;
|
|
57014
57014
|
var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /* @__PURE__ */ bo(ch, 5, 0), PW = /* @__PURE__ */ bo(ch, 5, 1), Cb = function(t) {
|
|
@@ -57024,7 +57024,7 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57024
57024
|
}, A5 = function(t) {
|
|
57025
57025
|
return (t + 7) / 8 | 0;
|
|
57026
57026
|
}, pk = function(t, e, n) {
|
|
57027
|
-
return (e == null || e < 0) && (e = 0), (n == null || n > t.length) && (n = t.length), new
|
|
57027
|
+
return (e == null || e < 0) && (e = 0), (n == null || n > t.length) && (n = t.length), new Os(t.subarray(e, n));
|
|
57028
57028
|
}, FW = [
|
|
57029
57029
|
"unexpected EOF",
|
|
57030
57030
|
"invalid block type",
|
|
@@ -57049,13 +57049,13 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57049
57049
|
}, RW = function(t, e, n, s) {
|
|
57050
57050
|
var r = t.length, i = s ? s.length : 0;
|
|
57051
57051
|
if (!r || e.f && !e.l)
|
|
57052
|
-
return n || new
|
|
57052
|
+
return n || new Os(0);
|
|
57053
57053
|
var o = !n, a = o || e.i != 2, d = e.i;
|
|
57054
|
-
o && (n = new
|
|
57054
|
+
o && (n = new Os(r * 3));
|
|
57055
57055
|
var l = function(Re) {
|
|
57056
57056
|
var ze = n.length;
|
|
57057
57057
|
if (Re > ze) {
|
|
57058
|
-
var Ve = new
|
|
57058
|
+
var Ve = new Os(Math.max(ze * 2, Re));
|
|
57059
57059
|
Ve.set(n), n = Ve;
|
|
57060
57060
|
}
|
|
57061
57061
|
}, c = e.f || 0, u = e.p || 0, h = e.b || 0, p = e.l, m = e.d, y = e.m, w = e.n, v = r * 8;
|
|
@@ -57069,7 +57069,7 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57069
57069
|
else if (_ == 2) {
|
|
57070
57070
|
var z = vi(t, u, 31) + 257, q = vi(t, u + 10, 15) + 4, M = z + vi(t, u + 5, 31) + 1;
|
|
57071
57071
|
u += 14;
|
|
57072
|
-
for (var $ = new
|
|
57072
|
+
for (var $ = new Os(M), ue = new Os(19), R = 0; R < q; ++R)
|
|
57073
57073
|
ue[p2[R]] = vi(t, u + R * 3, 7);
|
|
57074
57074
|
u += q * 3;
|
|
57075
57075
|
for (var Q = Cb(ue), J = (1 << Q) - 1, X = bo(ue, Q, 1), R = 0; R < M; ) {
|
|
@@ -57160,7 +57160,7 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57160
57160
|
if (!r)
|
|
57161
57161
|
return { t: gk, l: 0 };
|
|
57162
57162
|
if (r == 1) {
|
|
57163
|
-
var o = new
|
|
57163
|
+
var o = new Os(n[0].s + 1);
|
|
57164
57164
|
return o[n[0].s] = 1, { t: o, l: 1 };
|
|
57165
57165
|
}
|
|
57166
57166
|
n.sort(function(V, z) {
|
|
@@ -57193,7 +57193,7 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57193
57193
|
}
|
|
57194
57194
|
m = e;
|
|
57195
57195
|
}
|
|
57196
|
-
return { t: new
|
|
57196
|
+
return { t: new Os(p), l: m };
|
|
57197
57197
|
}, f2 = function(t, e, n) {
|
|
57198
57198
|
return t.s == -1 ? Math.max(f2(t.l, e, n + 1), f2(t.r, e, n + 1)) : e[t.s] = n;
|
|
57199
57199
|
}, c3 = function(t) {
|
|
@@ -57266,8 +57266,8 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57266
57266
|
hp(e, c, ge[te]), c += _e[te];
|
|
57267
57267
|
}
|
|
57268
57268
|
return hp(e, c, ge[256]), c + _e[256];
|
|
57269
|
-
}, DW = /* @__PURE__ */ new c5([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), gk = /* @__PURE__ */ new
|
|
57270
|
-
var o = i.z || t.length, a = new
|
|
57269
|
+
}, DW = /* @__PURE__ */ new c5([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), gk = /* @__PURE__ */ new Os(0), OW = function(t, e, n, s, r, i) {
|
|
57270
|
+
var o = i.z || t.length, a = new Os(s + o + 5 * (1 + Math.ceil(o / 7e3)) + r), d = a.subarray(s, a.length - r), l = i.l, c = (i.r || 0) & 7;
|
|
57271
57271
|
if (e) {
|
|
57272
57272
|
c && (d[0] = i.r >> 3);
|
|
57273
57273
|
for (var u = DW[e - 1], h = u >> 13, p = u & 8191, m = (1 << n) - 1, y = i.p || new Cr(32768), w = i.h || new Cr(m + 1), v = Math.ceil(n / 3), _ = 2 * v, I = function(At) {
|
|
@@ -57336,7 +57336,7 @@ var TW = /* @__PURE__ */ bo(Td, 9, 0), UW = /* @__PURE__ */ bo(Td, 9, 1), jW = /
|
|
|
57336
57336
|
};
|
|
57337
57337
|
}, NW = function(t, e, n, s, r) {
|
|
57338
57338
|
if (!r && (r = { l: 1 }, e.dictionary)) {
|
|
57339
|
-
var i = e.dictionary.subarray(-32768), o = new
|
|
57339
|
+
var i = e.dictionary.subarray(-32768), o = new Os(i.length + t.length);
|
|
57340
57340
|
o.set(i), o.set(t, i.length), t = o, r.w = i.length;
|
|
57341
57341
|
}
|
|
57342
57342
|
return OW(t, e.level == null ? 6 : e.level, e.mem == null ? r.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(t.length))) * 1.5) : 20 : 12 + e.mem, n, s, r);
|
|
@@ -57528,21 +57528,21 @@ function yk(t) {
|
|
|
57528
57528
|
*/
|
|
57529
57529
|
function Ib(t, e) {
|
|
57530
57530
|
var n = t[0], s = t[1], r = t[2], i = t[3];
|
|
57531
|
-
n =
|
|
57531
|
+
n = Ts(n, s, r, i, e[0], 7, -680876936), i = Ts(i, n, s, r, e[1], 12, -389564586), r = Ts(r, i, n, s, e[2], 17, 606105819), s = Ts(s, r, i, n, e[3], 22, -1044525330), n = Ts(n, s, r, i, e[4], 7, -176418897), i = Ts(i, n, s, r, e[5], 12, 1200080426), r = Ts(r, i, n, s, e[6], 17, -1473231341), s = Ts(s, r, i, n, e[7], 22, -45705983), n = Ts(n, s, r, i, e[8], 7, 1770035416), i = Ts(i, n, s, r, e[9], 12, -1958414417), r = Ts(r, i, n, s, e[10], 17, -42063), s = Ts(s, r, i, n, e[11], 22, -1990404162), n = Ts(n, s, r, i, e[12], 7, 1804603682), i = Ts(i, n, s, r, e[13], 12, -40341101), r = Ts(r, i, n, s, e[14], 17, -1502002290), n = Us(n, s = Ts(s, r, i, n, e[15], 22, 1236535329), r, i, e[1], 5, -165796510), i = Us(i, n, s, r, e[6], 9, -1069501632), r = Us(r, i, n, s, e[11], 14, 643717713), s = Us(s, r, i, n, e[0], 20, -373897302), n = Us(n, s, r, i, e[5], 5, -701558691), i = Us(i, n, s, r, e[10], 9, 38016083), r = Us(r, i, n, s, e[15], 14, -660478335), s = Us(s, r, i, n, e[4], 20, -405537848), n = Us(n, s, r, i, e[9], 5, 568446438), i = Us(i, n, s, r, e[14], 9, -1019803690), r = Us(r, i, n, s, e[3], 14, -187363961), s = Us(s, r, i, n, e[8], 20, 1163531501), n = Us(n, s, r, i, e[13], 5, -1444681467), i = Us(i, n, s, r, e[2], 9, -51403784), r = Us(r, i, n, s, e[7], 14, 1735328473), n = js(n, s = Us(s, r, i, n, e[12], 20, -1926607734), r, i, e[5], 4, -378558), i = js(i, n, s, r, e[8], 11, -2022574463), r = js(r, i, n, s, e[11], 16, 1839030562), s = js(s, r, i, n, e[14], 23, -35309556), n = js(n, s, r, i, e[1], 4, -1530992060), i = js(i, n, s, r, e[4], 11, 1272893353), r = js(r, i, n, s, e[7], 16, -155497632), s = js(s, r, i, n, e[10], 23, -1094730640), n = js(n, s, r, i, e[13], 4, 681279174), i = js(i, n, s, r, e[0], 11, -358537222), r = js(r, i, n, s, e[3], 16, -722521979), s = js(s, r, i, n, e[6], 23, 76029189), n = js(n, s, r, i, e[9], 4, -640364487), i = js(i, n, s, r, e[12], 11, -421815835), r = js(r, i, n, s, e[15], 16, 530742520), n = Ps(n, s = js(s, r, i, n, e[2], 23, -995338651), r, i, e[0], 6, -198630844), i = Ps(i, n, s, r, e[7], 10, 1126891415), r = Ps(r, i, n, s, e[14], 15, -1416354905), s = Ps(s, r, i, n, e[5], 21, -57434055), n = Ps(n, s, r, i, e[12], 6, 1700485571), i = Ps(i, n, s, r, e[3], 10, -1894986606), r = Ps(r, i, n, s, e[10], 15, -1051523), s = Ps(s, r, i, n, e[1], 21, -2054922799), n = Ps(n, s, r, i, e[8], 6, 1873313359), i = Ps(i, n, s, r, e[15], 10, -30611744), r = Ps(r, i, n, s, e[6], 15, -1560198380), s = Ps(s, r, i, n, e[13], 21, 1309151649), n = Ps(n, s, r, i, e[4], 6, -145523070), i = Ps(i, n, s, r, e[11], 10, -1120210379), r = Ps(r, i, n, s, e[2], 15, 718787259), s = Ps(s, r, i, n, e[9], 21, -343485551), t[0] = hd(n, t[0]), t[1] = hd(s, t[1]), t[2] = hd(r, t[2]), t[3] = hd(i, t[3]);
|
|
57532
57532
|
}
|
|
57533
57533
|
function A1(t, e, n, s, r, i) {
|
|
57534
57534
|
return e = hd(hd(e, t), hd(s, i)), hd(e << r | e >>> 32 - r, n);
|
|
57535
57535
|
}
|
|
57536
|
-
function
|
|
57536
|
+
function Ts(t, e, n, s, r, i, o) {
|
|
57537
57537
|
return A1(e & n | ~e & s, t, e, r, i, o);
|
|
57538
57538
|
}
|
|
57539
|
-
function
|
|
57539
|
+
function Us(t, e, n, s, r, i, o) {
|
|
57540
57540
|
return A1(e & s | n & ~s, t, e, r, i, o);
|
|
57541
57541
|
}
|
|
57542
|
-
function
|
|
57542
|
+
function js(t, e, n, s, r, i, o) {
|
|
57543
57543
|
return A1(e ^ n ^ s, t, e, r, i, o);
|
|
57544
57544
|
}
|
|
57545
|
-
function
|
|
57545
|
+
function Ps(t, e, n, s, r, i, o) {
|
|
57546
57546
|
return A1(n ^ (e | ~s), t, e, r, i, o);
|
|
57547
57547
|
}
|
|
57548
57548
|
function bk(t) {
|
|
@@ -57788,7 +57788,7 @@ function ft(t) {
|
|
|
57788
57788
|
}, fe = p.__private__.setFileId = function(f) {
|
|
57789
57789
|
return ge = f !== void 0 && /^[a-fA-F0-9]{32}$/.test(f) ? f.toUpperCase() : ge.split("").map(function() {
|
|
57790
57790
|
return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random()));
|
|
57791
|
-
}).join(""), c !== null && (
|
|
57791
|
+
}).join(""), c !== null && (Es = new bA(c.userPermissions, c.userPassword, c.ownerPassword, ge)), ge;
|
|
57792
57792
|
};
|
|
57793
57793
|
p.setFileId = function(f) {
|
|
57794
57794
|
return fe(f), this;
|
|
@@ -58091,12 +58091,12 @@ function ft(t) {
|
|
|
58091
58091
|
}, ro = p.__private__.getFilters = function() {
|
|
58092
58092
|
return o;
|
|
58093
58093
|
}, Dr = p.__private__.putStream = function(f) {
|
|
58094
|
-
var S = (f = f || {}).data || "", Y = f.filters || ro(), se = f.alreadyAppliedFilters || [], he = f.addLength1 || !1, Ue = S.length, Le = f.objectId, nt = function(
|
|
58095
|
-
return
|
|
58094
|
+
var S = (f = f || {}).data || "", Y = f.filters || ro(), se = f.alreadyAppliedFilters || [], he = f.addLength1 || !1, Ue = S.length, Le = f.objectId, nt = function(ks) {
|
|
58095
|
+
return ks;
|
|
58096
58096
|
};
|
|
58097
58097
|
if (c !== null && Le === void 0)
|
|
58098
58098
|
throw new Error("ObjectId must be passed to putStream for file encryption");
|
|
58099
|
-
c !== null && (nt =
|
|
58099
|
+
c !== null && (nt = Es.encryptor(Le, 0));
|
|
58100
58100
|
var pt = {};
|
|
58101
58101
|
Y === !0 && (Y = ["FlateEncode"]);
|
|
58102
58102
|
var Bt = f.additionalKeyValues || [], _t = (pt = ft.API.processDataByFilters !== void 0 ? ft.API.processDataByFilters(S, Y) : { data: S, reverseChain: [] }).reverseChain + (Array.isArray(se) ? se.join(" ") : se.toString());
|
|
@@ -58202,7 +58202,7 @@ Q`), mr(he, !0), Dr({ data: Ue, filters: ro(), objectId: he }), Z("endobj"), se;
|
|
|
58202
58202
|
ps.hasOwnProperty(f) && ps[f].objectNumber >= 0 && Z("/" + f + " " + ps[f].objectNumber + " 0 R");
|
|
58203
58203
|
Wt.publish("putXobjectDict"), Z(">>");
|
|
58204
58204
|
}, m1 = function() {
|
|
58205
|
-
|
|
58205
|
+
Es.oid = $n(), Z("<<"), Z("/Filter /Standard"), Z("/V " + Es.v), Z("/R " + Es.r), Z("/U <" + Es.toHexString(Es.U) + ">"), Z("/O <" + Es.toHexString(Es.O) + ">"), Z("/P " + Es.P), Z(">>"), Z("endobj");
|
|
58206
58206
|
}, zh = function() {
|
|
58207
58207
|
for (var f in Z("/Font <<"), rn)
|
|
58208
58208
|
rn.hasOwnProperty(f) && (u === !1 || u === !0 && h.hasOwnProperty(f)) && Z("/" + f + " " + rn[f].objectNumber + " 0 R");
|
|
@@ -58309,7 +58309,7 @@ Q`), mr(he, !0), Dr({ data: Ue, filters: ro(), objectId: he }), Z("endobj"), se;
|
|
|
58309
58309
|
var f = $n(), S = function(se) {
|
|
58310
58310
|
return se;
|
|
58311
58311
|
};
|
|
58312
|
-
for (var Y in c !== null && (S =
|
|
58312
|
+
for (var Y in c !== null && (S = Es.encryptor(f, 0)), Z("<<"), Z("/Producer (" + nr(S("jsPDF " + ft.version)) + ")"), st)
|
|
58313
58313
|
st.hasOwnProperty(Y) && st[Y] && Z("/" + Y.substr(0, 1).toUpperCase() + Y.substr(1) + " (" + nr(S(st[Y])) + ")");
|
|
58314
58314
|
Z("/CreationDate (" + nr(S(xe)) + ")"), Z(">>"), Z("endobj");
|
|
58315
58315
|
}, ku = p.__private__.putCatalog = function(f) {
|
|
@@ -58347,7 +58347,7 @@ Q`), mr(he, !0), Dr({ data: Ue, filters: ro(), objectId: he }), Z("endobj"), se;
|
|
|
58347
58347
|
}
|
|
58348
58348
|
Ce && Z("/PageMode /" + Ce), Wt.publish("putCatalog"), Z(">>"), Z("endobj");
|
|
58349
58349
|
}, C1 = p.__private__.putTrailer = function() {
|
|
58350
|
-
Z("trailer"), Z("<<"), Z("/Size " + (re + 1)), Z("/Root " + re + " 0 R"), Z("/Info " + (re - 1) + " 0 R"), c !== null && Z("/Encrypt " +
|
|
58350
|
+
Z("trailer"), Z("<<"), Z("/Size " + (re + 1)), Z("/Root " + re + " 0 R"), Z("/Info " + (re - 1) + " 0 R"), c !== null && Z("/Encrypt " + Es.oid + " 0 R"), Z("/ID [ <" + ge + "> <" + ge + "> ]"), Z(">>");
|
|
58351
58351
|
}, B1 = p.__private__.putHeader = function() {
|
|
58352
58352
|
Z("%PDF-" + m), Z("%ºß¬à");
|
|
58353
58353
|
}, E1 = p.__private__.putXRef = function() {
|
|
@@ -58453,10 +58453,10 @@ Q`), mr(he, !0), Dr({ data: Ue, filters: ro(), objectId: he }), Z("endobj"), se;
|
|
|
58453
58453
|
throw new Error("Invalid unit: " + s);
|
|
58454
58454
|
$e = s;
|
|
58455
58455
|
}
|
|
58456
|
-
var
|
|
58456
|
+
var Es = null;
|
|
58457
58457
|
Ee(), fe();
|
|
58458
58458
|
var k1 = function(f) {
|
|
58459
|
-
return c !== null ?
|
|
58459
|
+
return c !== null ? Es.encryptor(f, 0) : function(S) {
|
|
58460
58460
|
return S;
|
|
58461
58461
|
};
|
|
58462
58462
|
}, Jh = p.__private__.getPageInfo = p.getPageInfo = function(f) {
|
|
@@ -58498,8 +58498,8 @@ Q`), mr(he, !0), Dr({ data: Ue, filters: ro(), objectId: he }), Z("endobj"), se;
|
|
|
58498
58498
|
}, p.__private__.text = p.text = function(f, S, Y, se, he) {
|
|
58499
58499
|
var Ue, Le, nt, pt, Bt, _t, Lt, vn, _n, zn = (se = se || {}).scope || this;
|
|
58500
58500
|
if (typeof f == "number" && typeof S == "number" && (typeof Y == "string" || Array.isArray(Y))) {
|
|
58501
|
-
var
|
|
58502
|
-
Y = S, S = f, f =
|
|
58501
|
+
var ks = Y;
|
|
58502
|
+
Y = S, S = f, f = ks;
|
|
58503
58503
|
}
|
|
58504
58504
|
if (arguments[3] instanceof mt ? (M("The transform parameter of text() with a Matrix value"), _n = he) : (nt = arguments[4], pt = arguments[5], $t(Lt = arguments[3]) === "object" && Lt !== null || (typeof nt == "string" && (pt = nt, nt = null), typeof Lt == "string" && (pt = Lt, Lt = null), typeof Lt == "number" && (nt = Lt, Lt = null), se = { flags: Lt, angle: nt, align: pt })), isNaN(S) || isNaN(Y) || f == null)
|
|
58505
58505
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
@@ -58776,11 +58776,11 @@ T* `) : f.join(` Tj
|
|
|
58776
58776
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
58777
58777
|
return I === _.COMPAT ? this.lines([[Y - f, se - S]], f, S, [1, 1], he || "S") : this.lines([[Y - f, se - S]], f, S, [1, 1]).stroke();
|
|
58778
58778
|
}, p.__private__.lines = p.lines = function(f, S, Y, se, he, Ue) {
|
|
58779
|
-
var Le, nt, pt, Bt, _t, Lt, vn, _n, zn,
|
|
58779
|
+
var Le, nt, pt, Bt, _t, Lt, vn, _n, zn, ks, rs, gi;
|
|
58780
58780
|
if (typeof f == "number" && (gi = Y, Y = S, S = f, f = gi), se = se || [1, 1], Ue = Ue || !1, isNaN(S) || isNaN(Y) || !Array.isArray(f) || !Array.isArray(se) || !oo(he) || typeof Ue != "boolean")
|
|
58781
58781
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
58782
|
-
for (Iu(S, Y), Le = se[0], nt = se[1], Bt = f.length,
|
|
58783
|
-
(_t = f[pt]).length === 2 ? (
|
|
58782
|
+
for (Iu(S, Y), Le = se[0], nt = se[1], Bt = f.length, ks = S, rs = Y, pt = 0; pt < Bt; pt++)
|
|
58783
|
+
(_t = f[pt]).length === 2 ? (ks = _t[0] * Le + ks, rs = _t[1] * nt + rs, el(ks, rs)) : (Lt = _t[0] * Le + ks, vn = _t[1] * nt + rs, _n = _t[2] * Le + ks, zn = _t[3] * nt + rs, ks = _t[4] * Le + ks, rs = _t[5] * nt + rs, Da(Lt, vn, _n, zn, ks, rs));
|
|
58784
58784
|
return Ue && Zh(), Su(he), this;
|
|
58785
58785
|
}, p.path = function(f) {
|
|
58786
58786
|
for (var S = 0; S < f.length; S++) {
|
|
@@ -59038,7 +59038,7 @@ T* `) : f.join(` Tj
|
|
|
59038
59038
|
return Na(H);
|
|
59039
59039
|
}, setHeight: function(f) {
|
|
59040
59040
|
Ou(H, f);
|
|
59041
|
-
} }, encryptionOptions: c, encryption:
|
|
59041
|
+
} }, encryptionOptions: c, encryption: Es, getEncryptor: k1, output: Uc, getNumberOfPages: x1, pages: Re, out: Z, f2: ue, f3: R, getPageInfo: Jh, getPageInfoByObjId: wt, getCurrentPageInfo: S1, getPDFVersion: y, Point: Rc, Rectangle: Fu, Matrix: mt, hasHotfix: Yh }, Object.defineProperty(p.internal.pageSize, "width", { get: function() {
|
|
59042
59042
|
return sl(H);
|
|
59043
59043
|
}, set: function(f) {
|
|
59044
59044
|
Du(H, f);
|
|
@@ -63391,7 +63391,7 @@ function k3(t) {
|
|
|
63391
63391
|
Kc[255 + b] = 0 > b ? 0 : 255 < b ? 255 : b;
|
|
63392
63392
|
cg = 1;
|
|
63393
63393
|
}
|
|
63394
|
-
Hc = _1, Vo = w1, qu = Gh, Qs = x1, Nr = Wh, Tn = Kh, qc = Uu, lg = nl, Vu = D1, il = ju, ol = R1, Ma = Fc, al = Pu, Vc = sg, dl = ng, za = ao, Ku = zo, Lr = F1, fi[0] = oo, fi[1] = C1, fi[2] = S1, fi[3] = I1, fi[4] = Xh, fi[5] = jc, fi[6] = Zh, fi[7] = Su, fi[8] = U1, fi[9] = T1, Ha[0] = Yh, Ha[1] = E1, Ha[2] = Mo, Ha[3] = Tc, Ha[4] =
|
|
63394
|
+
Hc = _1, Vo = w1, qu = Gh, Qs = x1, Nr = Wh, Tn = Kh, qc = Uu, lg = nl, Vu = D1, il = ju, ol = R1, Ma = Fc, al = Pu, Vc = sg, dl = ng, za = ao, Ku = zo, Lr = F1, fi[0] = oo, fi[1] = C1, fi[2] = S1, fi[3] = I1, fi[4] = Xh, fi[5] = jc, fi[6] = Zh, fi[7] = Su, fi[8] = U1, fi[9] = T1, Ha[0] = Yh, Ha[1] = E1, Ha[2] = Mo, Ha[3] = Tc, Ha[4] = Es, Ha[5] = k1, Ha[6] = Jh, Go[0] = Da, Go[1] = B1, Go[2] = j1, Go[3] = Iu, Go[4] = tl, Go[5] = P1, Go[6] = Tu, b = 1;
|
|
63395
63395
|
} else
|
|
63396
63396
|
b = 0;
|
|
63397
63397
|
}
|
|
@@ -63575,7 +63575,7 @@ function k3(t) {
|
|
|
63575
63575
|
B += A[g - 1 + 32 * b] + A[g + b - 32];
|
|
63576
63576
|
Uc(B >> 5, A, g);
|
|
63577
63577
|
}
|
|
63578
|
-
function
|
|
63578
|
+
function Es(A, g) {
|
|
63579
63579
|
var b, B = 8;
|
|
63580
63580
|
for (b = 0; 16 > b; ++b)
|
|
63581
63581
|
B += A[g - 1 + 32 * b];
|
|
@@ -63974,7 +63974,7 @@ function k3(t) {
|
|
|
63974
63974
|
var j = 240 & _t(A, g) | 15;
|
|
63975
63975
|
B[k + 0] = 240 & pt(A, b) | Bt(A, g, b) >> 4, B[k + 1] = j;
|
|
63976
63976
|
}
|
|
63977
|
-
function
|
|
63977
|
+
function ks(A, g, b, B, k) {
|
|
63978
63978
|
B[k + 0] = 255, Lt(A, g, b, B, k + 1);
|
|
63979
63979
|
}
|
|
63980
63980
|
function rs(A, g, b, B, k) {
|
|
@@ -64298,9 +64298,9 @@ function k3(t) {
|
|
|
64298
64298
|
var og, Or = M.ColorIndexInverseTransform, zc = M.MapARGB, ag = M.VP8LColorIndexInverseTransformAlpha, dg = M.MapAlpha, La = M.VP8LPredictorsAdd = [];
|
|
64299
64299
|
La.length = 16, (M.VP8LPredictors = []).length = 16, (M.VP8LPredictorsAdd_C = []).length = 16, (M.VP8LPredictors_C = []).length = 16;
|
|
64300
64300
|
var rl, rr, Ls, Qa, Ho, qo, Hc, Vo, Tn, qu, Qs, Nr, qc, lg, Vu, il, ol, Ma, al, Vc, dl, za, Ku, Lr, Qr, un, pn, Un, es = i(511), Ko = i(2041), Gu = i(225), Kc = i(767), cg = 0, L1 = Ko, Ag = Gu, br = Kc, Mr = es, ug = 0, pg = 1, f5 = 2, hg = 3, gg = 4, Q1 = 5, m5 = 6, M1 = 7, z1 = 8, fg = 9, H1 = 10, Vk = [2, 3, 7], Kk = [3, 3, 11], y5 = [280, 256, 256, 256, 40], Gk = [0, 1, 1, 1, 0], Wk = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Yk = [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], Jk = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Xk = 8, q1 = [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], V1 = [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], Wu = null, Zk = [[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]], $k = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], b5 = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], eS = [[[[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]]]], tS = [[[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]]], nS = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], sS = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ha = [], fi = [], Go = [], rS = 1, v5 = 2, qa = [], zr = [];
|
|
64301
|
-
Ue("UpsampleRgbLinePair", Lt, 3), Ue("UpsampleBgrLinePair", vn, 3), Ue("UpsampleRgbaLinePair", gi, 4), Ue("UpsampleBgraLinePair", rs, 4), Ue("UpsampleArgbLinePair",
|
|
64301
|
+
Ue("UpsampleRgbLinePair", Lt, 3), Ue("UpsampleBgrLinePair", vn, 3), Ue("UpsampleRgbaLinePair", gi, 4), Ue("UpsampleBgraLinePair", rs, 4), Ue("UpsampleArgbLinePair", ks, 4), Ue("UpsampleRgba4444LinePair", zn, 2), Ue("UpsampleRgb565LinePair", _n, 2);
|
|
64302
64302
|
var iS = M.UpsampleRgbLinePair, oS = M.UpsampleBgrLinePair, w5 = M.UpsampleRgbaLinePair, x5 = M.UpsampleBgraLinePair, _5 = M.UpsampleArgbLinePair, C5 = M.UpsampleRgba4444LinePair, aS = M.UpsampleRgb565LinePair, mg = 16, yg = 1 << mg - 1, Yu = -227, K1 = 482, B5 = 6, dS = (256 << B5) - 1, E5 = 0, lS = i(256), cS = i(256), AS = i(256), uS = i(256), pS = i(K1 - Yu), hS = i(K1 - Yu);
|
|
64303
|
-
lo("YuvToRgbRow", Lt, 3), lo("YuvToBgrRow", vn, 3), lo("YuvToRgbaRow", gi, 4), lo("YuvToBgraRow", rs, 4), lo("YuvToArgbRow",
|
|
64303
|
+
lo("YuvToRgbRow", Lt, 3), lo("YuvToBgrRow", vn, 3), lo("YuvToRgbaRow", gi, 4), lo("YuvToBgraRow", rs, 4), lo("YuvToArgbRow", ks, 4), lo("YuvToRgba4444Row", zn, 2), lo("YuvToRgb565Row", _n, 2);
|
|
64304
64304
|
var k5 = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], bg = [0, 2, 8], gS = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], fS = 1;
|
|
64305
64305
|
this.WebPDecodeRGBA = function(A, g, b, B, k) {
|
|
64306
64306
|
var j = pg, P = new Rc(), F = new di();
|
|
@@ -64876,7 +64876,7 @@ function(t) {
|
|
|
64876
64876
|
*/
|
|
64877
64877
|
function(t) {
|
|
64878
64878
|
function e() {
|
|
64879
|
-
return (yt.canvg ? Promise.resolve(yt.canvg) : import("./index.es-
|
|
64879
|
+
return (yt.canvg ? Promise.resolve(yt.canvg) : import("./index.es-9150ac96.js")).catch(function(n) {
|
|
64880
64880
|
return Promise.reject(new Error("Could not load canvg: " + n));
|
|
64881
64881
|
}).then(function(n) {
|
|
64882
64882
|
return n.default ? n.default : n;
|
|
@@ -65939,6 +65939,7 @@ let Zm = class extends qe {
|
|
|
65939
65939
|
});
|
|
65940
65940
|
}
|
|
65941
65941
|
render() {
|
|
65942
|
+
var t;
|
|
65942
65943
|
return U`<div class="container" id="invoice">
|
|
65943
65944
|
<div class="header">
|
|
65944
65945
|
<div class="header-image">
|
|
@@ -66039,8 +66040,10 @@ let Zm = class extends qe {
|
|
|
66039
66040
|
<div class="transaction-data">
|
|
66040
66041
|
<div>Número de operación</div>
|
|
66041
66042
|
<div class="color-transaction">${this.operationNumber}</div>
|
|
66042
|
-
|
|
66043
|
-
<div class="
|
|
66043
|
+
|
|
66044
|
+
${((t = this.payfacContext.paymentRequest) == null ? void 0 : t.payment_type) === ws.PAYMENT_LINK ? U` <div class="transaction-head">Número de referencia</div>
|
|
66045
|
+
<div class="color-transaction">${this.referenceNumber}</div>` : ""}
|
|
66046
|
+
|
|
66044
66047
|
<div class="transaction-head">Descripción</div>
|
|
66045
66048
|
<div class="color-transaction">${this.description}</div>
|
|
66046
66049
|
<div class="transaction-head">Medio de cobro</div>
|
|
@@ -69697,7 +69700,7 @@ var NJ = Object.defineProperty, LJ = Object.getOwnPropertyDescriptor, er = (t, e
|
|
|
69697
69700
|
return s && r && NJ(e, n, r), r;
|
|
69698
69701
|
};
|
|
69699
69702
|
const QJ = "click2pay-card-input";
|
|
69700
|
-
let
|
|
69703
|
+
let Bs = class t extends qe {
|
|
69701
69704
|
constructor() {
|
|
69702
69705
|
super(...arguments), this.cardNumber = "", this.errorsMsg = [], this.isC2P = !1, this.isFocused = !1, this.isTouched = !1, this.binesBrand = "", this.binesType = "", this.numericValue = "", this._formattedCardNumber = "", this._codeError = "", this._cardBins = [
|
|
69703
69706
|
{ brand: "VISA", bins: ["4"] },
|
|
@@ -69788,56 +69791,56 @@ let Cs = class t extends qe {
|
|
|
69788
69791
|
</div>`;
|
|
69789
69792
|
}
|
|
69790
69793
|
};
|
|
69791
|
-
|
|
69794
|
+
Bs.styles = Ye`
|
|
69792
69795
|
${We(OJ)}
|
|
69793
69796
|
`;
|
|
69794
69797
|
er([
|
|
69795
69798
|
T({ type: String })
|
|
69796
|
-
],
|
|
69799
|
+
], Bs.prototype, "cardNumber", 2);
|
|
69797
69800
|
er([
|
|
69798
69801
|
T({ type: String })
|
|
69799
|
-
],
|
|
69802
|
+
], Bs.prototype, "errorsMsg", 2);
|
|
69800
69803
|
er([
|
|
69801
69804
|
T({ type: Boolean })
|
|
69802
|
-
],
|
|
69805
|
+
], Bs.prototype, "isC2P", 2);
|
|
69803
69806
|
er([
|
|
69804
69807
|
T({ type: Boolean })
|
|
69805
|
-
],
|
|
69808
|
+
], Bs.prototype, "isFocused", 2);
|
|
69806
69809
|
er([
|
|
69807
69810
|
T({ type: Boolean })
|
|
69808
|
-
],
|
|
69811
|
+
], Bs.prototype, "isTouched", 2);
|
|
69809
69812
|
er([
|
|
69810
69813
|
T({ type: String })
|
|
69811
|
-
],
|
|
69814
|
+
], Bs.prototype, "binesBrand", 2);
|
|
69812
69815
|
er([
|
|
69813
69816
|
T({ type: String })
|
|
69814
|
-
],
|
|
69817
|
+
], Bs.prototype, "binesType", 2);
|
|
69815
69818
|
er([
|
|
69816
69819
|
T({ type: String })
|
|
69817
|
-
],
|
|
69820
|
+
], Bs.prototype, "numericValue", 2);
|
|
69818
69821
|
er([
|
|
69819
69822
|
T({ type: Object })
|
|
69820
|
-
],
|
|
69823
|
+
], Bs.prototype, "installmentPlan", 2);
|
|
69821
69824
|
er([
|
|
69822
69825
|
ie()
|
|
69823
|
-
],
|
|
69826
|
+
], Bs.prototype, "_selectedInstallment", 2);
|
|
69824
69827
|
er([
|
|
69825
69828
|
ie()
|
|
69826
|
-
],
|
|
69829
|
+
], Bs.prototype, "_installmentsData", 2);
|
|
69827
69830
|
er([
|
|
69828
69831
|
Ie({ context: gr, subscribe: !0 }),
|
|
69829
69832
|
ie()
|
|
69830
|
-
],
|
|
69833
|
+
], Bs.prototype, "_stateC2p", 2);
|
|
69831
69834
|
er([
|
|
69832
69835
|
ie()
|
|
69833
|
-
],
|
|
69836
|
+
], Bs.prototype, "_formattedCardNumber", 2);
|
|
69834
69837
|
er([
|
|
69835
69838
|
Ie({ context: Do }),
|
|
69836
69839
|
ie()
|
|
69837
|
-
],
|
|
69838
|
-
|
|
69840
|
+
], Bs.prototype, "_stateC2PProps", 2);
|
|
69841
|
+
Bs = er([
|
|
69839
69842
|
He("click2pay-card-input")
|
|
69840
|
-
],
|
|
69843
|
+
], Bs);
|
|
69841
69844
|
const MJ = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .container{padding:48px;background-color:#fff;width:595px;font-family:Inter,Arial,"sans-serif";display:none;font-size:16px}:host .container .header{display:flex;flex-direction:row;width:100%}:host .container .header .header-image{flex-direction:column;align-items:center;margin-bottom:48px}:host .container .header .header-image .logo{width:84px}:host .container .header .header-title{flex-direction:column;flex:auto;margin-top:12px;text-align:right;font-weight:700;font-size:22px;color:#2b2b2b}:host .container .seller{display:flex;flex-direction:row;width:100%;font-weight:700;margin-bottom:12px;color:#2b2b2b}:host .container .receipt-container{padding-bottom:16px;font-size:16px}:host .container .receipt-container .receipt-data{display:grid;column-gap:24px;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;color:#6a6a6a}:host .container .receipt-container .receipt-data .info{font-weight:500;color:#2b2b2b}:host .container .separator{height:1px;background-color:#cbd5e0;border:none}:host .container .transaction-data{display:flex;flex-direction:column;width:100%;color:#6a6a6a;padding:16px 0}:host .container .color-transaction{font-weight:700;color:#2b2b2b;font-size:16px}:host .container .transaction-head{margin-top:12px}:host .container .receipt-footer{display:flex;flex-direction:column;width:100%;font-size:14px;padding:0 0 24px;color:#6a6a6a}:host .container .receipt-footer-title>p{margin:0}
|
|
69842
69845
|
`;
|
|
69843
69846
|
var zJ = Object.defineProperty, HJ = Object.getOwnPropertyDescriptor, Qk = (t, e, n, s) => {
|
|
@@ -71112,7 +71115,7 @@ let Ns = class t extends qe {
|
|
|
71112
71115
|
firstUpdated(e) {
|
|
71113
71116
|
return de(this, null, function* () {
|
|
71114
71117
|
var n, s, r;
|
|
71115
|
-
if (nn(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((n = this.state.statePaymentRequest) == null ? void 0 : n.payment_type) ===
|
|
71118
|
+
if (nn(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((n = this.state.statePaymentRequest) == null ? void 0 : n.payment_type) === ws.ECOMMERCE ? this.state.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
|
|
71116
71119
|
W.info("firstUpdatedStatus", {
|
|
71117
71120
|
context: ne.DEFAULT,
|
|
71118
71121
|
origin_sdk: N3,
|
|
@@ -73029,7 +73032,7 @@ export {
|
|
|
73029
73032
|
GA as G,
|
|
73030
73033
|
Li as H,
|
|
73031
73034
|
Ys as I,
|
|
73032
|
-
|
|
73035
|
+
Cs as J,
|
|
73033
73036
|
kd as K,
|
|
73034
73037
|
Lv as L,
|
|
73035
73038
|
Qi as M,
|
|
@@ -73061,7 +73064,7 @@ export {
|
|
|
73061
73064
|
ya as aa,
|
|
73062
73065
|
lZ as ab,
|
|
73063
73066
|
ur as ac,
|
|
73064
|
-
|
|
73067
|
+
Bs as ad,
|
|
73065
73068
|
e0 as ae,
|
|
73066
73069
|
Hi as af,
|
|
73067
73070
|
eu as ag,
|
|
@@ -73098,7 +73101,7 @@ export {
|
|
|
73098
73101
|
Ni as q,
|
|
73099
73102
|
Bo as r,
|
|
73100
73103
|
KA as s,
|
|
73101
|
-
|
|
73104
|
+
_s as t,
|
|
73102
73105
|
ha as u,
|
|
73103
73106
|
Nv as v,
|
|
73104
73107
|
F9 as w,
|