@ranty/ranty-sdk 2.0.2-beta.4 → 2.0.2-beta.6
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.
|
@@ -2572,7 +2572,7 @@ const Gw = (t = !1) => {
|
|
|
2572
2572
|
const n = kn.getConfig();
|
|
2573
2573
|
return e.interceptors.request.use(
|
|
2574
2574
|
(r) => {
|
|
2575
|
-
const i =
|
|
2575
|
+
const i = Nr.region === n.VITE_COGNITO_REGION_2 ? n.VITE_API_RANTY_DOMAIN_API_REGION_2 : n.VITE_API_RANTY_DOMAIN_API_REGION_1;
|
|
2576
2576
|
r.baseURL = r.url === "/sdk/signer" ? n.VITE_API_RANTY_DOMAIN_API : i, r.headers["content-type"] = "application/json";
|
|
2577
2577
|
const s = sessionStorage.getItem("key");
|
|
2578
2578
|
if (s) {
|
|
@@ -2686,7 +2686,7 @@ const Gw = (t = !1) => {
|
|
|
2686
2686
|
setConfig(t) {
|
|
2687
2687
|
Ww(t), this.currentEnvironment = t, this.instance = Gw(!1), this.instanceWithRetries = Gw(!0);
|
|
2688
2688
|
}
|
|
2689
|
-
},
|
|
2689
|
+
}, Nr = {
|
|
2690
2690
|
region: "",
|
|
2691
2691
|
token: "",
|
|
2692
2692
|
createTokenCaptcha(t) {
|
|
@@ -2730,7 +2730,7 @@ const Gw = (t = !1) => {
|
|
|
2730
2730
|
`/sdk/scof/payment_request/${t}/${e}/${n}`,
|
|
2731
2731
|
{
|
|
2732
2732
|
headers: {
|
|
2733
|
-
Authorization:
|
|
2733
|
+
Authorization: Nr.token
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
)).data;
|
|
@@ -2784,7 +2784,7 @@ const Gw = (t = !1) => {
|
|
|
2784
2784
|
},
|
|
2785
2785
|
{
|
|
2786
2786
|
headers: {
|
|
2787
|
-
Authorization:
|
|
2787
|
+
Authorization: Nr.token
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
2790
|
)).data;
|
|
@@ -2794,14 +2794,14 @@ const Gw = (t = !1) => {
|
|
|
2794
2794
|
Je({}, t),
|
|
2795
2795
|
{
|
|
2796
2796
|
headers: {
|
|
2797
|
-
Authorization:
|
|
2797
|
+
Authorization: Nr.token
|
|
2798
2798
|
}
|
|
2799
2799
|
}
|
|
2800
2800
|
)).data;
|
|
2801
2801
|
}), HU = (t, e) => Te(void 0, null, function* () {
|
|
2802
2802
|
return (yield kn.instanceWithRetries.delete(`/sdk/scof/scofDeleteTokenById/${t}/${e}`, {
|
|
2803
2803
|
headers: {
|
|
2804
|
-
Authorization:
|
|
2804
|
+
Authorization: Nr.token
|
|
2805
2805
|
}
|
|
2806
2806
|
})).data;
|
|
2807
2807
|
}), jU = {
|
|
@@ -2832,7 +2832,7 @@ const zU = (t) => Te(void 0, null, function* () {
|
|
|
2832
2832
|
try {
|
|
2833
2833
|
const { data: e } = yield kn.instance.get("/sdk/bin/" + t, {
|
|
2834
2834
|
headers: {
|
|
2835
|
-
Authorization:
|
|
2835
|
+
Authorization: Nr.token
|
|
2836
2836
|
}
|
|
2837
2837
|
});
|
|
2838
2838
|
return e;
|
|
@@ -2843,7 +2843,7 @@ const zU = (t) => Te(void 0, null, function* () {
|
|
|
2843
2843
|
}
|
|
2844
2844
|
throw new _d("Get Bines", "666");
|
|
2845
2845
|
}
|
|
2846
|
-
}), KU = () => kn.getConfig().VITE_DATADOG_ENV !== "production",
|
|
2846
|
+
}), KU = () => kn.getConfig().VITE_DATADOG_ENV !== "production", qe = {
|
|
2847
2847
|
info: (t, e = {}) => {
|
|
2848
2848
|
KU() && console.log(t, e), c2.logger.info(t, e);
|
|
2849
2849
|
},
|
|
@@ -2858,11 +2858,11 @@ const zU = (t) => Te(void 0, null, function* () {
|
|
|
2858
2858
|
function VU(t, e) {
|
|
2859
2859
|
return Te(this, null, function* () {
|
|
2860
2860
|
try {
|
|
2861
|
-
|
|
2861
|
+
qe.info("init payload", { tag: "INIT_PAYLOAD", contextObject: e });
|
|
2862
2862
|
const n = yield t.init(e);
|
|
2863
|
-
return
|
|
2863
|
+
return qe.info("init result", { tag: "INIT_RESULT", contextObject: n }), n;
|
|
2864
2864
|
} catch (n) {
|
|
2865
|
-
throw console.error(n.details),
|
|
2865
|
+
throw console.error(n.details), qe.error("initialize MC checkout service error", { tag: "INITIALIZE_MC_CHECKOUT_ERROR" }, n), n;
|
|
2866
2866
|
}
|
|
2867
2867
|
});
|
|
2868
2868
|
}
|
|
@@ -2870,9 +2870,9 @@ function $U(t) {
|
|
|
2870
2870
|
return Te(this, null, function* () {
|
|
2871
2871
|
try {
|
|
2872
2872
|
const e = yield t.getCards();
|
|
2873
|
-
return
|
|
2873
|
+
return qe.info("getCards", { tag: "GET_CARDS", contextObject: e }), e;
|
|
2874
2874
|
} catch (e) {
|
|
2875
|
-
throw
|
|
2875
|
+
throw qe.error("get card error", { tag: "GET_CARDS_ERROR" }, e), e;
|
|
2876
2876
|
}
|
|
2877
2877
|
});
|
|
2878
2878
|
}
|
|
@@ -2882,9 +2882,9 @@ function qU(t, e) {
|
|
|
2882
2882
|
const n = yield t.idLookup({
|
|
2883
2883
|
email: e
|
|
2884
2884
|
});
|
|
2885
|
-
return
|
|
2885
|
+
return qe.info("idLookup", { tag: "ID_LOOKUP", contextObject: n }), n;
|
|
2886
2886
|
} catch (n) {
|
|
2887
|
-
throw
|
|
2887
|
+
throw qe.error("id lookup error", { tag: "ID_LOOKUP_ERROR" }, n), n;
|
|
2888
2888
|
}
|
|
2889
2889
|
});
|
|
2890
2890
|
}
|
|
@@ -2893,12 +2893,12 @@ function Yw(t, e) {
|
|
|
2893
2893
|
let n;
|
|
2894
2894
|
e && (n = {
|
|
2895
2895
|
requestedValidationChannelId: e
|
|
2896
|
-
}),
|
|
2896
|
+
}), qe.info("requesetedChannel", { tag: "REQUESTED_CHANNEL", contextObject: n });
|
|
2897
2897
|
try {
|
|
2898
2898
|
const r = yield t.initiateValidation(n);
|
|
2899
|
-
return
|
|
2899
|
+
return qe.info("initiateValidation", { tag: "INITIATE_VALIDATION", contextObject: r }), r;
|
|
2900
2900
|
} catch (r) {
|
|
2901
|
-
throw
|
|
2901
|
+
throw qe.error("validation error", { tag: "INITIATE_VALIDATION_ERROR" }, r), r;
|
|
2902
2902
|
}
|
|
2903
2903
|
});
|
|
2904
2904
|
}
|
|
@@ -2906,9 +2906,9 @@ function GU(t, e) {
|
|
|
2906
2906
|
return Te(this, null, function* () {
|
|
2907
2907
|
try {
|
|
2908
2908
|
const n = yield t.encryptCard(e);
|
|
2909
|
-
return
|
|
2909
|
+
return qe.info("encryptCardHandler", { tag: "ENCRYPT_CARD_RESULT", contextObject: n }), n;
|
|
2910
2910
|
} catch (n) {
|
|
2911
|
-
throw
|
|
2911
|
+
throw qe.error("encrypt card error", { tag: "ENCRYPT_CARD_ERROR" }, n), n;
|
|
2912
2912
|
}
|
|
2913
2913
|
});
|
|
2914
2914
|
}
|
|
@@ -2916,9 +2916,9 @@ function WU(t, e) {
|
|
|
2916
2916
|
return Te(this, null, function* () {
|
|
2917
2917
|
try {
|
|
2918
2918
|
const n = yield t.validate({ value: e });
|
|
2919
|
-
return
|
|
2919
|
+
return qe.info("validateHandler", { tag: "VALIDATE_RESULT", contextObject: n }), n;
|
|
2920
2920
|
} catch (n) {
|
|
2921
|
-
throw
|
|
2921
|
+
throw qe.error("validateHandler error", { tag: "VALIDATE_HANDLER_ERROR" }, n), n;
|
|
2922
2922
|
}
|
|
2923
2923
|
});
|
|
2924
2924
|
}
|
|
@@ -2926,7 +2926,7 @@ function YU(t, e) {
|
|
|
2926
2926
|
return Te(this, null, function* () {
|
|
2927
2927
|
try {
|
|
2928
2928
|
const n = yield t.checkoutWithNewCard(e);
|
|
2929
|
-
return
|
|
2929
|
+
return qe.info("chekoutWithNewCardHandler response", {
|
|
2930
2930
|
tag: "CHECKOUT_NEW_CARD_HANDLER",
|
|
2931
2931
|
contextObject: {
|
|
2932
2932
|
checkoutActionCode: n.checkoutActionCode,
|
|
@@ -2935,7 +2935,7 @@ function YU(t, e) {
|
|
|
2935
2935
|
}
|
|
2936
2936
|
}), n;
|
|
2937
2937
|
} catch (n) {
|
|
2938
|
-
throw
|
|
2938
|
+
throw qe.error("checkout with new card error", { tag: "CHECKOUT_NEW_CARD_ERROR" }, n), n;
|
|
2939
2939
|
}
|
|
2940
2940
|
});
|
|
2941
2941
|
}
|
|
@@ -2943,7 +2943,7 @@ function JU(t, e) {
|
|
|
2943
2943
|
return Te(this, null, function* () {
|
|
2944
2944
|
try {
|
|
2945
2945
|
const n = yield t.checkoutWithCard(e);
|
|
2946
|
-
return
|
|
2946
|
+
return qe.info("checkoutWithCardHandler response", {
|
|
2947
2947
|
tag: "CHECKOUT_CARD_HANDLER",
|
|
2948
2948
|
contextObject: {
|
|
2949
2949
|
checkoutActionCode: n.checkoutActionCode,
|
|
@@ -2952,18 +2952,18 @@ function JU(t, e) {
|
|
|
2952
2952
|
}
|
|
2953
2953
|
}), n;
|
|
2954
2954
|
} catch (n) {
|
|
2955
|
-
throw
|
|
2955
|
+
throw qe.error("checkout card error", { tag: "CHECKOUT_CARD_ERROR" }, n), n;
|
|
2956
2956
|
}
|
|
2957
2957
|
});
|
|
2958
2958
|
}
|
|
2959
2959
|
const XU = (t) => Te(void 0, null, function* () {
|
|
2960
2960
|
try {
|
|
2961
2961
|
const e = yield kn.instance.post("sdk/click2pay/checkout", t, {
|
|
2962
|
-
headers: { Authorization:
|
|
2962
|
+
headers: { Authorization: Nr.token }
|
|
2963
2963
|
});
|
|
2964
|
-
return
|
|
2964
|
+
return qe.info("makeC2PCheckout", { tag: "MAKE_C2P_CHECKOUT", contextObject: e }), e.data;
|
|
2965
2965
|
} catch (e) {
|
|
2966
|
-
throw
|
|
2966
|
+
throw qe.error("makeC2PCheckout error", { tag: "MAKE_C2P_CHECKOUT_ERROR" }, e), e;
|
|
2967
2967
|
}
|
|
2968
2968
|
}), ZU = (t) => t !== "CREDIT" ? "DEBIT" : "CREDIT", e3 = (t) => {
|
|
2969
2969
|
t.dispatchEvent(
|
|
@@ -3107,7 +3107,7 @@ function P1(t, e) {
|
|
|
3107
3107
|
function u3(t, e) {
|
|
3108
3108
|
return t.slice(-e.length) === e;
|
|
3109
3109
|
}
|
|
3110
|
-
function
|
|
3110
|
+
function wr(t) {
|
|
3111
3111
|
for (var e = [], n = 1; n < arguments.length; n++)
|
|
3112
3112
|
e[n - 1] = arguments[n];
|
|
3113
3113
|
return e.forEach(function(r) {
|
|
@@ -3116,7 +3116,7 @@ function Br(t) {
|
|
|
3116
3116
|
}), t;
|
|
3117
3117
|
}
|
|
3118
3118
|
function d3(t) {
|
|
3119
|
-
return
|
|
3119
|
+
return wr({}, t);
|
|
3120
3120
|
}
|
|
3121
3121
|
function aC(t, e) {
|
|
3122
3122
|
return Object.keys(t).some(function(n) {
|
|
@@ -3461,7 +3461,7 @@ function IA(t, e, n) {
|
|
|
3461
3461
|
var r;
|
|
3462
3462
|
n === void 0 && (n = 0);
|
|
3463
3463
|
var i = e.isLockEnabled, s = e.persistSession, o = e.expireSession, a = function(p) {
|
|
3464
|
-
return s(
|
|
3464
|
+
return s(wr({}, p, { lock: c }));
|
|
3465
3465
|
}, A = function() {
|
|
3466
3466
|
var p = e.retrieveSession(), h = p.lock;
|
|
3467
3467
|
return p.lock && delete p.lock, {
|
|
@@ -3583,7 +3583,7 @@ function G3(t, e, n) {
|
|
|
3583
3583
|
function j(H) {
|
|
3584
3584
|
IA({
|
|
3585
3585
|
process: function(P) {
|
|
3586
|
-
return
|
|
3586
|
+
return wr({}, P, H);
|
|
3587
3587
|
},
|
|
3588
3588
|
after: b
|
|
3589
3589
|
}, o);
|
|
@@ -3752,7 +3752,7 @@ function aT() {
|
|
|
3752
3752
|
}
|
|
3753
3753
|
function AT(t) {
|
|
3754
3754
|
var e = t.site || NA, n = sT(t), r = cT(t, n), i = uT(r, e), s = lT(t, i, n);
|
|
3755
|
-
return
|
|
3755
|
+
return wr({
|
|
3756
3756
|
isIntakeUrl: function(o) {
|
|
3757
3757
|
return i.some(function(a) {
|
|
3758
3758
|
return o.indexOf(a) === 0;
|
|
@@ -3771,7 +3771,7 @@ function cT(t, e) {
|
|
|
3771
3771
|
}
|
|
3772
3772
|
function lT(t, e, n) {
|
|
3773
3773
|
if (t.replica) {
|
|
3774
|
-
var r =
|
|
3774
|
+
var r = wr({}, t, {
|
|
3775
3775
|
site: NA,
|
|
3776
3776
|
clientToken: t.replica.clientToken
|
|
3777
3777
|
}), i = {
|
|
@@ -3780,7 +3780,7 @@ function lT(t, e, n) {
|
|
|
3780
3780
|
};
|
|
3781
3781
|
return e.push.apply(e, Il(i).map(function(s) {
|
|
3782
3782
|
return s.urlPrefix;
|
|
3783
|
-
})),
|
|
3783
|
+
})), wr({ applicationId: t.replica.applicationId }, i);
|
|
3784
3784
|
}
|
|
3785
3785
|
}
|
|
3786
3786
|
function uT(t, e) {
|
|
@@ -3809,7 +3809,7 @@ function hT(t) {
|
|
|
3809
3809
|
Zn.error('Tracking Consent should be either "granted" or "not-granted"');
|
|
3810
3810
|
return;
|
|
3811
3811
|
}
|
|
3812
|
-
return
|
|
3812
|
+
return wr({
|
|
3813
3813
|
beforeSend: t.beforeSend && iC(t.beforeSend, "beforeSend threw an error:"),
|
|
3814
3814
|
sessionStoreStrategyType: q3(t),
|
|
3815
3815
|
sessionSampleRate: (e = t.sessionSampleRate) !== null && e !== void 0 ? e : 100,
|
|
@@ -4169,7 +4169,7 @@ function jT(t) {
|
|
|
4169
4169
|
});
|
|
4170
4170
|
}
|
|
4171
4171
|
function zT(t) {
|
|
4172
|
-
var e =
|
|
4172
|
+
var e = wr({
|
|
4173
4173
|
version: "5.26.0",
|
|
4174
4174
|
// This API method is intentionally not monitored, since the only thing executed is the
|
|
4175
4175
|
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
|
|
@@ -4274,7 +4274,7 @@ function WT(t) {
|
|
|
4274
4274
|
});
|
|
4275
4275
|
}
|
|
4276
4276
|
function UC(t) {
|
|
4277
|
-
return
|
|
4277
|
+
return wr({
|
|
4278
4278
|
startClocks: tA(),
|
|
4279
4279
|
source: wi.REPORT,
|
|
4280
4280
|
handling: "unhandled"
|
|
@@ -4460,14 +4460,14 @@ function sD(t) {
|
|
|
4460
4460
|
return t.site === X3;
|
|
4461
4461
|
}
|
|
4462
4462
|
function OC(t, e) {
|
|
4463
|
-
qy(jn.debug, t, e), Vl(
|
|
4463
|
+
qy(jn.debug, t, e), Vl(wr({
|
|
4464
4464
|
type: HA.log,
|
|
4465
4465
|
message: t,
|
|
4466
4466
|
status: "debug"
|
|
4467
4467
|
}, e));
|
|
4468
4468
|
}
|
|
4469
4469
|
function QC(t, e) {
|
|
4470
|
-
Vl(
|
|
4470
|
+
Vl(wr({
|
|
4471
4471
|
type: HA.log,
|
|
4472
4472
|
status: "error"
|
|
4473
4473
|
}, AD(t), e));
|
|
@@ -5174,7 +5174,7 @@ function zD(t, e) {
|
|
|
5174
5174
|
function KD(t, e, n) {
|
|
5175
5175
|
var r = n;
|
|
5176
5176
|
function i(s) {
|
|
5177
|
-
r.state = "resolve",
|
|
5177
|
+
r.state = "resolve", wr(r, s), t.notify(r);
|
|
5178
5178
|
}
|
|
5179
5179
|
e.then(Jt(function(s) {
|
|
5180
5180
|
i({
|
|
@@ -5403,7 +5403,7 @@ function A6() {
|
|
|
5403
5403
|
return typeof t == "string" ? t : void 0;
|
|
5404
5404
|
}
|
|
5405
5405
|
function i2(t) {
|
|
5406
|
-
var e =
|
|
5406
|
+
var e = wr({}, t), n = ["id", "name", "email"];
|
|
5407
5407
|
return n.forEach(function(r) {
|
|
5408
5408
|
r in e && (e[r] = String(e[r]));
|
|
5409
5409
|
}), e;
|
|
@@ -5536,7 +5536,7 @@ function f6(t) {
|
|
|
5536
5536
|
t.usePciIntake === !0 && t.site && t.site !== "datadoghq.com" && Zn.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");
|
|
5537
5537
|
var e = hT(t), n = o2(t.forwardConsoleLogs, Il(jn), "Forward Console Logs"), r = o2(t.forwardReports, Il(Mp), "Forward Reports");
|
|
5538
5538
|
if (!(!e || !n || !r))
|
|
5539
|
-
return t.forwardErrorsToLogs && !zl(n, jn.error) && n.push(jn.error),
|
|
5539
|
+
return t.forwardErrorsToLogs && !zl(n, jn.error) && n.push(jn.error), wr({
|
|
5540
5540
|
forwardErrorsToLogs: t.forwardErrorsToLogs !== !1,
|
|
5541
5541
|
forwardConsoleLogs: n,
|
|
5542
5542
|
forwardReports: r,
|
|
@@ -5557,7 +5557,7 @@ function o2(t, e, n) {
|
|
|
5557
5557
|
}
|
|
5558
5558
|
function p6(t) {
|
|
5559
5559
|
var e = fT(t);
|
|
5560
|
-
return
|
|
5560
|
+
return wr({
|
|
5561
5561
|
forward_errors_to_logs: t.forwardErrorsToLogs,
|
|
5562
5562
|
forward_console_logs: t.forwardConsoleLogs,
|
|
5563
5563
|
forward_reports: t.forwardReports,
|
|
@@ -5599,7 +5599,7 @@ function g6(t, e, n) {
|
|
|
5599
5599
|
};
|
|
5600
5600
|
}
|
|
5601
5601
|
function m6(t) {
|
|
5602
|
-
return
|
|
5602
|
+
return wr({}, t, { clientToken: "empty" });
|
|
5603
5603
|
}
|
|
5604
5604
|
var a2 = "logs";
|
|
5605
5605
|
function y6(t) {
|
|
@@ -5692,7 +5692,7 @@ function y6(t) {
|
|
|
5692
5692
|
});
|
|
5693
5693
|
}
|
|
5694
5694
|
function b6(t, e) {
|
|
5695
|
-
return
|
|
5695
|
+
return wr({
|
|
5696
5696
|
init: function(n) {
|
|
5697
5697
|
FC("DD_LOGS", n);
|
|
5698
5698
|
},
|
|
@@ -6087,7 +6087,7 @@ class q6 {
|
|
|
6087
6087
|
const G6 = new q6(), XC = (t) => Te(void 0, null, function* () {
|
|
6088
6088
|
return (yield kn.instanceWithRetries.get(`/sdk/payment_request/${t}`, {
|
|
6089
6089
|
headers: {
|
|
6090
|
-
Authorization:
|
|
6090
|
+
Authorization: Nr.token
|
|
6091
6091
|
}
|
|
6092
6092
|
})).data;
|
|
6093
6093
|
}), W6 = (t) => {
|
|
@@ -8126,7 +8126,7 @@ const vk = new bk(), Y1 = (t) => Te(void 0, null, function* () {
|
|
|
8126
8126
|
try {
|
|
8127
8127
|
const { data: e } = yield kn.instance.post("/sdk/payments/direct", t, {
|
|
8128
8128
|
headers: {
|
|
8129
|
-
Authorization:
|
|
8129
|
+
Authorization: Nr.token
|
|
8130
8130
|
}
|
|
8131
8131
|
});
|
|
8132
8132
|
return e;
|
|
@@ -8154,21 +8154,21 @@ const vk = new bk(), Y1 = (t) => Te(void 0, null, function* () {
|
|
|
8154
8154
|
soft_descriptor: "sdk"
|
|
8155
8155
|
}
|
|
8156
8156
|
];
|
|
8157
|
-
}, J1 = (t, e, n, r = !1) => {
|
|
8158
|
-
var
|
|
8159
|
-
const { id:
|
|
8160
|
-
return
|
|
8161
|
-
platform:
|
|
8162
|
-
payment_type:
|
|
8157
|
+
}, J1 = (t, e, n, r = !1, i = "manual_input") => {
|
|
8158
|
+
var V, j, H, P;
|
|
8159
|
+
const { id: s, additional_info: o, external_payment_id: a, flag: A } = t, { creditNumber: c, codSeg: l, expired: d, dni: p, passport: h, dateOfBirth: m, email: b, name: x } = e, v = tb(`${c.replaceAll(" ", "")}:${l}:${d}`, !0), _ = p ? "DNI" : "PASAPORTE", U = p || h, M = (j = (V = vk.settings.form_options) == null ? void 0 : V.validate_card) != null ? j : !1;
|
|
8160
|
+
return A && ((H = t.buyer) == null || delete H.callback_url), A && ((P = t.buyer) == null || delete P.callback_status), {
|
|
8161
|
+
platform: A ? t.additional_info.platform : t.platform,
|
|
8162
|
+
payment_type: A ? t.payment_type : t.payment_request.payment_type,
|
|
8163
8163
|
authorization_mode: "SALE",
|
|
8164
|
-
external_payment_id:
|
|
8165
|
-
payment_request_id:
|
|
8166
|
-
order_id: String(
|
|
8167
|
-
store_id:
|
|
8164
|
+
external_payment_id: A ? a : t.transaction_id,
|
|
8165
|
+
payment_request_id: A ? s : t.payment_request_id,
|
|
8166
|
+
order_id: String(A ? o.order_id : t.order_id),
|
|
8167
|
+
store_id: A ? String(o.integration_store_id) : t.store_id,
|
|
8168
8168
|
payment_method: {
|
|
8169
8169
|
input: {
|
|
8170
8170
|
manual: {
|
|
8171
|
-
method: String(
|
|
8171
|
+
method: String(v),
|
|
8172
8172
|
origin: "non_present"
|
|
8173
8173
|
}
|
|
8174
8174
|
},
|
|
@@ -8176,20 +8176,20 @@ const vk = new bk(), Y1 = (t) => Te(void 0, null, function* () {
|
|
|
8176
8176
|
type: "card_payment",
|
|
8177
8177
|
save_card: !1,
|
|
8178
8178
|
holder: {
|
|
8179
|
-
name:
|
|
8180
|
-
email:
|
|
8181
|
-
doc_type:
|
|
8182
|
-
doc_number:
|
|
8179
|
+
name: x,
|
|
8180
|
+
email: b,
|
|
8181
|
+
doc_type: _,
|
|
8182
|
+
doc_number: U
|
|
8183
8183
|
},
|
|
8184
8184
|
card_payment: "card_payment"
|
|
8185
8185
|
},
|
|
8186
|
-
transactions: eb(
|
|
8187
|
-
buyer:
|
|
8186
|
+
transactions: eb(A ? t.transactions : t.payment_request.transactions),
|
|
8187
|
+
buyer: A ? t.buyer : t.payment_request.buyer,
|
|
8188
8188
|
additional_info: {
|
|
8189
|
-
debit_token: r ?
|
|
8190
|
-
validate_card:
|
|
8191
|
-
}
|
|
8192
|
-
|
|
8189
|
+
debit_token: r ? m + wk(U, 8) : "",
|
|
8190
|
+
validate_card: M
|
|
8191
|
+
},
|
|
8192
|
+
payment_input: i
|
|
8193
8193
|
};
|
|
8194
8194
|
}, tb = (t, e) => {
|
|
8195
8195
|
const n = kn.getConfig();
|
|
@@ -8208,7 +8208,7 @@ nb.getInstallmentPlans = (t, e, n, r) => Te(void 0, null, function* () {
|
|
|
8208
8208
|
try {
|
|
8209
8209
|
const { data: i } = yield kn.instance.get("/sdk/installment/stores/" + t, {
|
|
8210
8210
|
headers: {
|
|
8211
|
-
Authorization:
|
|
8211
|
+
Authorization: Nr.token
|
|
8212
8212
|
},
|
|
8213
8213
|
params: {
|
|
8214
8214
|
paymentRequestId: e,
|
|
@@ -8216,10 +8216,10 @@ nb.getInstallmentPlans = (t, e, n, r) => Te(void 0, null, function* () {
|
|
|
8216
8216
|
bins: r
|
|
8217
8217
|
}
|
|
8218
8218
|
});
|
|
8219
|
-
return nb.plans = i.response.data.plans.cards,
|
|
8219
|
+
return nb.plans = i.response.data.plans.cards, qe.info("get installment plans", { tag: "GET_INSTALLMENT_PLANS", plans: i }), i;
|
|
8220
8220
|
} catch (i) {
|
|
8221
8221
|
if (i) {
|
|
8222
|
-
|
|
8222
|
+
qe.error("get installment plans error", { tag: "GET_INSTALLMENT_PLANS_ERROR" }, i);
|
|
8223
8223
|
const { message: s, code: o } = i;
|
|
8224
8224
|
throw new _d(s, o);
|
|
8225
8225
|
}
|
|
@@ -8230,12 +8230,12 @@ let Bk = nb;
|
|
|
8230
8230
|
const ic = (t, e) => Te(void 0, null, function* () {
|
|
8231
8231
|
const { order_id: n, platform: r } = t.additional_info;
|
|
8232
8232
|
return (yield Bk.getInstallmentPlans(n, t.id, r, e)).response.data;
|
|
8233
|
-
}), xk = (t, e, n) => t == null ? void 0 : t.cards.reduce((r, i) => i.type === n && i.name === e ? i.installment_plans : r, null), Ck = (t) => Te(void 0, null, function* () {
|
|
8233
|
+
}), xk = (t, e, n) => (qe.info("getInstallmentFromCard", { tag: "GET_INSTALLMENT_PLANS_FROM_CARD" }), t == null ? void 0 : t.cards.reduce((r, i) => i.type === n && i.name === e ? i.installment_plans : r, null)), Ck = (t) => Te(void 0, null, function* () {
|
|
8234
8234
|
if (!t)
|
|
8235
8235
|
throw new Error("Filters are required");
|
|
8236
8236
|
return (yield kn.instanceWithRetries.get("/sdk/promotions", {
|
|
8237
8237
|
headers: {
|
|
8238
|
-
Authorization:
|
|
8238
|
+
Authorization: Nr.token
|
|
8239
8239
|
},
|
|
8240
8240
|
params: t
|
|
8241
8241
|
})).data;
|
|
@@ -8247,7 +8247,7 @@ class Bs {
|
|
|
8247
8247
|
throw new Error("Platform is required");
|
|
8248
8248
|
return (yield kn.instanceWithRetries.get(`/sdk/settings/hosted/${e}`, {
|
|
8249
8249
|
headers: {
|
|
8250
|
-
Authorization:
|
|
8250
|
+
Authorization: Nr.token
|
|
8251
8251
|
}
|
|
8252
8252
|
})).data;
|
|
8253
8253
|
});
|
|
@@ -8266,7 +8266,9 @@ Bs.isEnabled = !0;
|
|
|
8266
8266
|
const _k = (t) => Te(void 0, null, function* () {
|
|
8267
8267
|
if (!t.additional_info.platform)
|
|
8268
8268
|
throw new Error("Platform is required");
|
|
8269
|
-
const e = yield Bs.getSettingsCircuitBreaker(
|
|
8269
|
+
const e = yield Bs.getSettingsCircuitBreaker(
|
|
8270
|
+
t.additional_info.platform.toLowerCase()
|
|
8271
|
+
);
|
|
8270
8272
|
Bs.currentSetting = e.map((n) => n)[0], Bs.validateInputs(t);
|
|
8271
8273
|
});
|
|
8272
8274
|
var Sk = "Logging", Ek = globalThis && globalThis.__values || function(t) {
|
|
@@ -11632,7 +11634,7 @@ var S_ = function(t) {
|
|
|
11632
11634
|
}
|
|
11633
11635
|
return t;
|
|
11634
11636
|
}, Zp.apply(this, arguments);
|
|
11635
|
-
},
|
|
11637
|
+
}, _r = globalThis && globalThis.__awaiter || function(t, e, n, r) {
|
|
11636
11638
|
function i(s) {
|
|
11637
11639
|
return s instanceof n ? s : new n(function(o) {
|
|
11638
11640
|
o(s);
|
|
@@ -11658,7 +11660,7 @@ var S_ = function(t) {
|
|
|
11658
11660
|
}
|
|
11659
11661
|
c((r = r.apply(t, e || [])).next());
|
|
11660
11662
|
});
|
|
11661
|
-
},
|
|
11663
|
+
}, Sr = globalThis && globalThis.__generator || function(t, e) {
|
|
11662
11664
|
var n = { label: 0, sent: function() {
|
|
11663
11665
|
if (s[0] & 1)
|
|
11664
11666
|
throw s[1];
|
|
@@ -11747,9 +11749,9 @@ var S_ = function(t) {
|
|
|
11747
11749
|
}, t.prototype._pickupCredentials = function() {
|
|
11748
11750
|
return Ft.debug("picking up credentials"), !this._gettingCredPromise || !this._gettingCredPromise.isPending() ? (Ft.debug("getting new cred promise"), this._gettingCredPromise = rL(this._keepAlive())) : Ft.debug("getting old cred promise"), this._gettingCredPromise;
|
|
11749
11751
|
}, t.prototype._keepAlive = function() {
|
|
11750
|
-
return
|
|
11752
|
+
return _r(this, void 0, void 0, function() {
|
|
11751
11753
|
var e, n, r, i, s, o, a, A;
|
|
11752
|
-
return
|
|
11754
|
+
return Sr(this, function(c) {
|
|
11753
11755
|
switch (c.label) {
|
|
11754
11756
|
case 0:
|
|
11755
11757
|
if (Ft.debug("checking if credentials exists and not expired"), e = this._credentials, e && !this._isExpired(e) && !this._isPastTTL())
|
|
@@ -11818,17 +11820,17 @@ var S_ = function(t) {
|
|
|
11818
11820
|
return this._nextCredentialsRefresh <= Date.now();
|
|
11819
11821
|
}, t.prototype._setCredentialsForGuest = function() {
|
|
11820
11822
|
var e;
|
|
11821
|
-
return
|
|
11823
|
+
return _r(this, void 0, void 0, function() {
|
|
11822
11824
|
var n, r, i, s, o, a, A, c, l, d, p = this;
|
|
11823
|
-
return
|
|
11825
|
+
return Sr(this, function(h) {
|
|
11824
11826
|
switch (h.label) {
|
|
11825
11827
|
case 0:
|
|
11826
11828
|
return Ft.debug("setting credentials for guest"), !((e = this._config) === null || e === void 0) && e.identityPoolId || (this._config = Object.assign({}, this._config, b_(this._config || {}).Auth)), n = this._config, r = n.identityPoolId, i = n.region, s = n.mandatorySignIn, o = n.identityPoolRegion, s ? [2, Promise.reject("cannot get guest credentials when mandatory signin enabled")] : r ? !o && !i ? (Ft.debug("region is not configured for getting the credentials"), [2, Promise.reject("region is not configured for getting the credentials")]) : (A = 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")]);
|
|
11827
11829
|
case 1:
|
|
11828
11830
|
return a = A._identityId = h.sent(), c = { region: o != null ? o : i }, l = function() {
|
|
11829
|
-
return
|
|
11831
|
+
return _r(p, void 0, void 0, function() {
|
|
11830
11832
|
var m, b;
|
|
11831
|
-
return
|
|
11833
|
+
return Sr(this, function(x) {
|
|
11832
11834
|
switch (x.label) {
|
|
11833
11835
|
case 0:
|
|
11834
11836
|
return a ? [3, 2] : [4, vf(c, {
|
|
@@ -11852,25 +11854,25 @@ var S_ = function(t) {
|
|
|
11852
11854
|
});
|
|
11853
11855
|
});
|
|
11854
11856
|
}, d = l().catch(function(m) {
|
|
11855
|
-
return
|
|
11856
|
-
return
|
|
11857
|
+
return _r(p, void 0, void 0, function() {
|
|
11858
|
+
return Sr(this, function(b) {
|
|
11857
11859
|
throw m;
|
|
11858
11860
|
});
|
|
11859
11861
|
});
|
|
11860
11862
|
}), [2, this._loadCredentials(d, "guest", !1, null).then(function(m) {
|
|
11861
11863
|
return m;
|
|
11862
11864
|
}).catch(function(m) {
|
|
11863
|
-
return
|
|
11865
|
+
return _r(p, void 0, void 0, function() {
|
|
11864
11866
|
var b, x = this;
|
|
11865
|
-
return
|
|
11867
|
+
return Sr(this, function(v) {
|
|
11866
11868
|
switch (v.label) {
|
|
11867
11869
|
case 0:
|
|
11868
11870
|
return m.name === "ResourceNotFoundException" && m.message === "Identity '".concat(a, "' not found.") ? (Ft.debug("Failed to load guest credentials"), [4, this._removeGuestIdentityId()]) : [3, 2];
|
|
11869
11871
|
case 1:
|
|
11870
11872
|
return v.sent(), b = function() {
|
|
11871
|
-
return
|
|
11873
|
+
return _r(x, void 0, void 0, function() {
|
|
11872
11874
|
var _, U;
|
|
11873
|
-
return
|
|
11875
|
+
return Sr(this, function(M) {
|
|
11874
11876
|
switch (M.label) {
|
|
11875
11877
|
case 0:
|
|
11876
11878
|
return [4, vf(c, {
|
|
@@ -11892,8 +11894,8 @@ var S_ = function(t) {
|
|
|
11892
11894
|
});
|
|
11893
11895
|
});
|
|
11894
11896
|
}, d = b().catch(function(_) {
|
|
11895
|
-
return
|
|
11896
|
-
return
|
|
11897
|
+
return _r(x, void 0, void 0, function() {
|
|
11898
|
+
return Sr(this, function(U) {
|
|
11897
11899
|
throw _;
|
|
11898
11900
|
});
|
|
11899
11901
|
});
|
|
@@ -11924,9 +11926,9 @@ var S_ = function(t) {
|
|
|
11924
11926
|
if (!p && !d)
|
|
11925
11927
|
return Ft.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials");
|
|
11926
11928
|
var h = { region: p != null ? p : d }, m = function() {
|
|
11927
|
-
return
|
|
11929
|
+
return _r(n, void 0, void 0, function() {
|
|
11928
11930
|
var x, v;
|
|
11929
|
-
return
|
|
11931
|
+
return Sr(this, function(_) {
|
|
11930
11932
|
switch (_.label) {
|
|
11931
11933
|
case 0:
|
|
11932
11934
|
return s ? [3, 2] : [4, vf(h, {
|
|
@@ -11952,8 +11954,8 @@ var S_ = function(t) {
|
|
|
11952
11954
|
});
|
|
11953
11955
|
});
|
|
11954
11956
|
}, b = m().catch(function(x) {
|
|
11955
|
-
return
|
|
11956
|
-
return
|
|
11957
|
+
return _r(n, void 0, void 0, function() {
|
|
11958
|
+
return Sr(this, function(v) {
|
|
11957
11959
|
throw x;
|
|
11958
11960
|
});
|
|
11959
11961
|
});
|
|
@@ -11970,9 +11972,9 @@ var S_ = function(t) {
|
|
|
11970
11972
|
var c = "cognito-idp." + s + ".amazonaws.com/" + o, l = {};
|
|
11971
11973
|
l[c] = r;
|
|
11972
11974
|
var d = { region: A != null ? A : s }, p = function() {
|
|
11973
|
-
return
|
|
11975
|
+
return _r(n, void 0, void 0, function() {
|
|
11974
11976
|
var m, b, x, v, _, U, M, V, j, H;
|
|
11975
|
-
return
|
|
11977
|
+
return Sr(this, function(P) {
|
|
11976
11978
|
switch (P.label) {
|
|
11977
11979
|
case 0:
|
|
11978
11980
|
return [4, this._getGuestIdentityId()];
|
|
@@ -12004,8 +12006,8 @@ var S_ = function(t) {
|
|
|
12004
12006
|
});
|
|
12005
12007
|
});
|
|
12006
12008
|
}, h = p().catch(function(m) {
|
|
12007
|
-
return
|
|
12008
|
-
return
|
|
12009
|
+
return _r(n, void 0, void 0, function() {
|
|
12010
|
+
return Sr(this, function(b) {
|
|
12009
12011
|
throw m;
|
|
12010
12012
|
});
|
|
12011
12013
|
});
|
|
@@ -12015,9 +12017,9 @@ var S_ = function(t) {
|
|
|
12015
12017
|
var s = this, o = this;
|
|
12016
12018
|
return new Promise(function(a, A) {
|
|
12017
12019
|
e.then(function(c) {
|
|
12018
|
-
return
|
|
12020
|
+
return _r(s, void 0, void 0, function() {
|
|
12019
12021
|
var l, d, p, h, m;
|
|
12020
|
-
return
|
|
12022
|
+
return Sr(this, function(b) {
|
|
12021
12023
|
switch (b.label) {
|
|
12022
12024
|
case 0:
|
|
12023
12025
|
if (Ft.debug("Load credentials successfully", c), this._identityId && !c.identityId && (c.identityId = this._identityId), o._credentials = c, o._credentials.authenticated = r, o._credentials_source = n, o._nextCredentialsRefresh = (/* @__PURE__ */ new Date()).getTime() + NP, n === "federated") {
|
|
@@ -12055,8 +12057,8 @@ var S_ = function(t) {
|
|
|
12055
12057
|
}, t.prototype.set = function(e, n) {
|
|
12056
12058
|
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"));
|
|
12057
12059
|
}, t.prototype.clear = function() {
|
|
12058
|
-
return
|
|
12059
|
-
return
|
|
12060
|
+
return _r(this, void 0, void 0, function() {
|
|
12061
|
+
return Sr(this, function(e) {
|
|
12060
12062
|
return this._credentials = null, this._credentials_source = null, Ft.debug("removing aws-amplify-federatedInfo from storage"), this._storage.removeItem("aws-amplify-federatedInfo"), [
|
|
12061
12063
|
2
|
|
12062
12064
|
/*return*/
|
|
@@ -12064,9 +12066,9 @@ var S_ = function(t) {
|
|
|
12064
12066
|
});
|
|
12065
12067
|
});
|
|
12066
12068
|
}, t.prototype._getGuestIdentityId = function() {
|
|
12067
|
-
return
|
|
12069
|
+
return _r(this, void 0, void 0, function() {
|
|
12068
12070
|
var e, n;
|
|
12069
|
-
return
|
|
12071
|
+
return Sr(this, function(r) {
|
|
12070
12072
|
switch (r.label) {
|
|
12071
12073
|
case 0:
|
|
12072
12074
|
e = this._config.identityPoolId, r.label = 1;
|
|
@@ -12085,9 +12087,9 @@ var S_ = function(t) {
|
|
|
12085
12087
|
});
|
|
12086
12088
|
});
|
|
12087
12089
|
}, t.prototype._setGuestIdentityId = function(e) {
|
|
12088
|
-
return
|
|
12090
|
+
return _r(this, void 0, void 0, function() {
|
|
12089
12091
|
var n, r;
|
|
12090
|
-
return
|
|
12092
|
+
return Sr(this, function(i) {
|
|
12091
12093
|
switch (i.label) {
|
|
12092
12094
|
case 0:
|
|
12093
12095
|
n = this._config.identityPoolId, i.label = 1;
|
|
@@ -12106,9 +12108,9 @@ var S_ = function(t) {
|
|
|
12106
12108
|
});
|
|
12107
12109
|
});
|
|
12108
12110
|
}, t.prototype._removeGuestIdentityId = function() {
|
|
12109
|
-
return
|
|
12111
|
+
return _r(this, void 0, void 0, function() {
|
|
12110
12112
|
var e;
|
|
12111
|
-
return
|
|
12113
|
+
return Sr(this, function(n) {
|
|
12112
12114
|
return e = this._config.identityPoolId, Ft.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(e), " from storage")), this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)), [
|
|
12113
12115
|
2
|
|
12114
12116
|
/*return*/
|
|
@@ -12919,9 +12921,9 @@ var lO = {}.toString, uO = Array.isArray || function(t) {
|
|
|
12919
12921
|
return 1;
|
|
12920
12922
|
if (B >>>= 0, Q >>>= 0, X >>>= 0, he >>>= 0, this === w)
|
|
12921
12923
|
return 0;
|
|
12922
|
-
for (var we = he - X, je = Q - B, Xe = Math.min(we, je), it = this.slice(X, he), mt = w.slice(B, Q),
|
|
12923
|
-
if (it[
|
|
12924
|
-
we = it[
|
|
12924
|
+
for (var we = he - X, je = Q - B, Xe = Math.min(we, je), it = this.slice(X, he), mt = w.slice(B, Q), Ge = 0; Ge < Xe; ++Ge)
|
|
12925
|
+
if (it[Ge] !== mt[Ge]) {
|
|
12926
|
+
we = it[Ge], je = mt[Ge];
|
|
12925
12927
|
break;
|
|
12926
12928
|
}
|
|
12927
12929
|
return we < je ? -1 : je < we ? 1 : 0;
|
|
@@ -12965,12 +12967,12 @@ var lO = {}.toString, uO = Array.isArray || function(t) {
|
|
|
12965
12967
|
mt !== -1 && (it -= it - mt), mt = -1;
|
|
12966
12968
|
} else
|
|
12967
12969
|
for (B + je > we && (B = we - je), it = B; it >= 0; it--) {
|
|
12968
|
-
for (var
|
|
12970
|
+
for (var Ge = !0, xt = 0; xt < je; xt++)
|
|
12969
12971
|
if (Xe(L, it + xt) !== Xe(w, xt)) {
|
|
12970
|
-
|
|
12972
|
+
Ge = !1;
|
|
12971
12973
|
break;
|
|
12972
12974
|
}
|
|
12973
|
-
if (
|
|
12975
|
+
if (Ge)
|
|
12974
12976
|
return it;
|
|
12975
12977
|
}
|
|
12976
12978
|
return -1;
|
|
@@ -13066,19 +13068,19 @@ var lO = {}.toString, uO = Array.isArray || function(t) {
|
|
|
13066
13068
|
for (var Q = [], X = w; X < B; ) {
|
|
13067
13069
|
var he = L[X], we = null, je = he > 239 ? 4 : he > 223 ? 3 : he > 191 ? 2 : 1;
|
|
13068
13070
|
if (X + je <= B) {
|
|
13069
|
-
var Xe, it, mt,
|
|
13071
|
+
var Xe, it, mt, Ge;
|
|
13070
13072
|
switch (je) {
|
|
13071
13073
|
case 1:
|
|
13072
13074
|
he < 128 && (we = he);
|
|
13073
13075
|
break;
|
|
13074
13076
|
case 2:
|
|
13075
|
-
Xe = L[X + 1], (Xe & 192) === 128 && (
|
|
13077
|
+
Xe = L[X + 1], (Xe & 192) === 128 && (Ge = (he & 31) << 6 | Xe & 63, Ge > 127 && (we = Ge));
|
|
13076
13078
|
break;
|
|
13077
13079
|
case 3:
|
|
13078
|
-
Xe = L[X + 1], it = L[X + 2], (Xe & 192) === 128 && (it & 192) === 128 && (
|
|
13080
|
+
Xe = L[X + 1], it = L[X + 2], (Xe & 192) === 128 && (it & 192) === 128 && (Ge = (he & 15) << 12 | (Xe & 63) << 6 | it & 63, Ge > 2047 && (Ge < 55296 || Ge > 57343) && (we = Ge));
|
|
13079
13081
|
break;
|
|
13080
13082
|
case 4:
|
|
13081
|
-
Xe = L[X + 1], it = L[X + 2], mt = L[X + 3], (Xe & 192) === 128 && (it & 192) === 128 && (mt & 192) === 128 && (
|
|
13083
|
+
Xe = L[X + 1], it = L[X + 2], mt = L[X + 3], (Xe & 192) === 128 && (it & 192) === 128 && (mt & 192) === 128 && (Ge = (he & 15) << 18 | (Xe & 63) << 12 | (it & 63) << 6 | mt & 63, Ge > 65535 && Ge < 1114112 && (we = Ge));
|
|
13082
13084
|
}
|
|
13083
13085
|
}
|
|
13084
13086
|
we === null ? (we = 65533, je = 1) : we > 65535 && (we -= 65536, Q.push(we >>> 10 & 1023 | 55296), we = 56320 | we & 1023), Q.push(we), X += je;
|
|
@@ -17420,7 +17422,7 @@ function R_(t, e, n) {
|
|
|
17420
17422
|
const Gg = (t) => Te(void 0, null, function* () {
|
|
17421
17423
|
const e = kn.getConfig();
|
|
17422
17424
|
return new Promise((n, r) => Te(void 0, null, function* () {
|
|
17423
|
-
const i =
|
|
17425
|
+
const i = Nr.region === e.VITE_COGNITO_REGION_1 ? e.VITE_IDENTITY_POOL_ID_1 : e.VITE_IDENTITY_POOL_ID_2, s = "execute-api", o = Nr.region === e.VITE_COGNITO_REGION_1 ? e.VITE_COGNITO_REGION_1 : e.VITE_COGNITO_REGION_2, a = Nr.region === e.VITE_COGNITO_REGION_1 ? `${e.VITE_WS_DOMAIN_REGION_1}/notify` : `${e.VITE_WS_DOMAIN_REGION_2}/notify`;
|
|
17424
17426
|
Og.configure({ identityPoolId: i, identityPoolRegion: o, identityPoolService: s });
|
|
17425
17427
|
const A = _b.essentialCredentials(yield _b.currentCredentials());
|
|
17426
17428
|
if (!A.accessKeyId) {
|
|
@@ -17511,7 +17513,7 @@ let Cs = class extends nt {
|
|
|
17511
17513
|
s.length === 16 ? this.shouldValidateBin ? yield zU(s.slice(0, 6)).then((a) => {
|
|
17512
17514
|
this.validCredit = a.response.data.bines, this.validCredit && this.validCredit.brand === "NARANJA" ? (this.isError = !1, this.isBrand = !0, this.isTouched = !0) : (this.isTouched = !0, this.isBrand = !1, this.isError = !0);
|
|
17513
17515
|
}).catch((a) => {
|
|
17514
|
-
|
|
17516
|
+
qe.error("HANDLE-INPUT-ERROR", {}, a), this.serviceError();
|
|
17515
17517
|
}) : (this.isBrand = !0, this.isTouched = !0) : this.isError = !1;
|
|
17516
17518
|
const o = new CustomEvent("onChange", {
|
|
17517
17519
|
bubbles: !0,
|
|
@@ -18839,7 +18841,7 @@ let GA = class t extends nt {
|
|
|
18839
18841
|
task: () => Te(this, null, function* () {
|
|
18840
18842
|
kn.setConfig(this.env), this.payfacContext.config = kn.getConfig();
|
|
18841
18843
|
try {
|
|
18842
|
-
yield
|
|
18844
|
+
yield Nr.createToken(this.publicKey), yield this.getPaymentRequest(), this.payfacContext.isReady = !0, this.dispatchEvent(new CustomEvent("payfac-context-set", { bubbles: !0, composed: !0 }));
|
|
18843
18845
|
} catch (e) {
|
|
18844
18846
|
throw this.payfacContext.isReady = !1, console.log(e), e;
|
|
18845
18847
|
}
|
|
@@ -18848,7 +18850,7 @@ let GA = class t extends nt {
|
|
|
18848
18850
|
}
|
|
18849
18851
|
_serviceCallRetry() {
|
|
18850
18852
|
return Te(this, null, function* () {
|
|
18851
|
-
this.
|
|
18853
|
+
this._setTokenTask.run();
|
|
18852
18854
|
});
|
|
18853
18855
|
}
|
|
18854
18856
|
getPaymentRequest() {
|
|
@@ -18996,16 +18998,18 @@ let Ln = class t extends nt {
|
|
|
18996
18998
|
}
|
|
18997
18999
|
}, this.paymentRequestId = "", this.dpaName = "", this.dpaId = "", this.locale = "es_AR", this.publicKey = "", this.env = "staging", this.useC2P = !0, this.errorPaymentRequest = !1, this._transactionCurrency = "ARS", this._totalAmount = "", this._isLoading = !0, this._qrData = "", this._manualPaymentInput = {}, this._walletPaymentInput = {}, this._lastStepCvv = "", this._installmentPlans = () => Te(this, null, function* () {
|
|
18998
19000
|
const { plans: e } = this.contextData.installmentsData;
|
|
19001
|
+
if (!(e && this.contextData.cardBrand && this.contextData.cardType))
|
|
19002
|
+
throw new Error("ERROR GETTING INSTALLMENT FOR SELECTED CARD");
|
|
18999
19003
|
this.contextData.arrayPlans = xk(e, this.contextData.cardBrand, this.contextData.cardType);
|
|
19000
19004
|
}), this._triggerCheckoutTask = new dv(this, {
|
|
19001
19005
|
task: () => Te(this, null, function* () {
|
|
19002
|
-
var
|
|
19003
|
-
|
|
19004
|
-
const { id: e, additional_info: n, external_payment_id: r, buyer: i, transactions: s } = this.contextData.paymentRequest, o = {
|
|
19006
|
+
var c, l, d, p, h;
|
|
19007
|
+
qe.info("_triggerCheckoutTask", { tag: "TRIGGER_CHECKOUT_TAG" });
|
|
19008
|
+
const { id: e, additional_info: n, external_payment_id: r, buyer: i, transactions: s } = this.contextData.paymentRequest, o = "click_to_pay", a = {
|
|
19005
19009
|
cardBrand: this.contextData.cardBrand,
|
|
19006
|
-
merchantTransactionId: (
|
|
19010
|
+
merchantTransactionId: (l = (c = this._checkoutResponse) == null ? void 0 : c.headers["merchant-transaction-id"]) != null ? l : "",
|
|
19007
19011
|
srcDpaId: this.dpaId,
|
|
19008
|
-
srcCorrelationId: (
|
|
19012
|
+
srcCorrelationId: (p = (d = this._checkoutResponse) == null ? void 0 : d.checkoutResponseData.srcCorrelationId) != null ? p : "",
|
|
19009
19013
|
transactionAmount: this._payfacContext.paymentRequest.transactions[0].amount.value,
|
|
19010
19014
|
transactionCurrencyCode: this._transactionCurrency,
|
|
19011
19015
|
paymentInfo: {
|
|
@@ -19015,7 +19019,7 @@ let Ln = class t extends nt {
|
|
|
19015
19019
|
order_id: String(n.order_id),
|
|
19016
19020
|
store_id: String(n.integration_store_id),
|
|
19017
19021
|
payment_method: {
|
|
19018
|
-
installment_plan_id: (
|
|
19022
|
+
installment_plan_id: (h = this.contextData.selectedInstallment) == null ? void 0 : h.id,
|
|
19019
19023
|
type: "card_payment",
|
|
19020
19024
|
save_card: !1,
|
|
19021
19025
|
holder: {
|
|
@@ -19030,12 +19034,13 @@ let Ln = class t extends nt {
|
|
|
19030
19034
|
card_payment: "card_payment"
|
|
19031
19035
|
},
|
|
19032
19036
|
transactions: eb(s),
|
|
19033
|
-
buyer: i
|
|
19037
|
+
buyer: i,
|
|
19038
|
+
payment_input: o
|
|
19034
19039
|
}
|
|
19035
19040
|
};
|
|
19036
|
-
(yield XU(
|
|
19037
|
-
|
|
19038
|
-
})).ccvRequired && this._lastStepCvv.length < 3 ? (
|
|
19041
|
+
(yield XU(a).catch((m) => {
|
|
19042
|
+
qe.error("trigger checkout error", { tag: "TRIGGER_CHECKOUT_TASK_ERROR" }, m), this._isLoading = !1, this.contextData.hasPayError = !0;
|
|
19043
|
+
})).ccvRequired && this._lastStepCvv.length < 3 ? (qe.info("card requires cvv", { tag: "CARD_CVV_REQUIRED" }), this.contextData.cvvRequired = !0, this._isLoading = !1) : (this.contextData.componentsVisibility.showOrderCompleted = !0, this.contextData.checkoutReady = !0, this._isLoading = !0, this._wsPaymentResponse());
|
|
19039
19044
|
})
|
|
19040
19045
|
});
|
|
19041
19046
|
}
|
|
@@ -19070,25 +19075,25 @@ let Ln = class t extends nt {
|
|
|
19070
19075
|
this._isLoading = !0;
|
|
19071
19076
|
let e = "";
|
|
19072
19077
|
Gg(this.paymentRequestId).then((n) => {
|
|
19073
|
-
n.status === "FAILURE_PROCESSED" ? (this.contextData.messageError = "No llegó a cobrarse nada. Podés reintentar el pago.", this._isLoading = !1,
|
|
19078
|
+
n.status === "FAILURE_PROCESSED" ? (this.contextData.messageError = "No llegó a cobrarse nada. Podés reintentar el pago.", this._isLoading = !1, qe.info("ws payment rejected", { tag: "WS_PAYMENT_RESPONSE_C2P", status: "PAYMENT_REJECTED" }), e = "PAYMENT-REJECTED") : n.status === "SUCCESS_PROCESSED" ? (this.contextData.messageSuccess = "Se procesó correctamente el pago", qe.info("ws payment approved", { tag: "WS_PAYMENT_RESPONSE_C2P", status: "PAYMENT_APPROVED" }), e = "PAYMENT-APPROVED") : n.status === "BLOCKED" && (this.contextData.messageError = "El tiempo para pagar con este link se terminó.", qe.info("ws payment blocked", { tag: "WS_PAYMENT_RESPONSE_C2P", status: "PAYMENT_BLOCKED" }), e = "PAYMENT-BLOCKED"), this._isLoading = !1, this.contextData.websocketResponse = !0;
|
|
19074
19079
|
}).catch((n) => {
|
|
19075
|
-
this._isLoading = !1,
|
|
19080
|
+
this._isLoading = !1, qe.error("ws payment error", { tag: "WS_PAYMENT_RESPONSE_C2P", status: e }, n);
|
|
19076
19081
|
});
|
|
19077
19082
|
}
|
|
19078
19083
|
connectedCallback() {
|
|
19079
19084
|
super.connectedCallback(), this.contextData.isC2pAvailable = this.useC2P, this.addEventListener("error-on-service", (e) => {
|
|
19080
19085
|
const n = e;
|
|
19081
|
-
|
|
19086
|
+
qe.error("ERROR-AUTHENTICATION-TOKEN", n, new Error("token not created"));
|
|
19082
19087
|
}), this.addEventListener("errorOnClick2pay", (e) => {
|
|
19083
19088
|
const n = e;
|
|
19084
|
-
|
|
19089
|
+
qe.error("CLICK2PAY-ERROR", n, new Error("There was an error with click2pay platform")), this.contextData.hasError = !0, n.detail.hasPayError && (this.contextData.hasPayError = !0), n.detail.websocketResponse && (this.contextData.websocketResponse = !0), n.detail.hasC2PAuthError && (this.contextData.hasC2PAuthError = !0);
|
|
19085
19090
|
}), this.addEventListener("clearErrors", () => {
|
|
19086
19091
|
this.contextData.hasError = !1, this.contextData.hasPayError = !1, this.contextData.websocketResponse = !1, this.contextData.newUser = !1;
|
|
19087
19092
|
}), this.addEventListener("click2payNotAvailable", () => {
|
|
19088
|
-
|
|
19093
|
+
qe.info("click2pay not available", { tag: "C2P_NOT_AVAILABLE" }), this.contextData.isC2pAvailable = !1;
|
|
19089
19094
|
}), this.addEventListener("click2payInitialized", (e) => {
|
|
19090
19095
|
const n = e;
|
|
19091
|
-
|
|
19096
|
+
qe.info("c2p initialized", { tag: "C2P_INITIALIZED", contextObject: n }), this.contextData.isC2pAvailable = !0, this.contextData.mcService = n.detail.mcService, this.contextData.availableNetworks = n.detail.initResponse.availableCardBrands.map(
|
|
19092
19097
|
(r) => r.toUpperCase()
|
|
19093
19098
|
);
|
|
19094
19099
|
}), this.addEventListener("rememberMeSelected", (e) => {
|
|
@@ -19099,7 +19104,7 @@ let Ln = class t extends nt {
|
|
|
19099
19104
|
this.contextData.newUser = n.detail.newUser;
|
|
19100
19105
|
}), this.addEventListener("userRecognized", (e) => {
|
|
19101
19106
|
const n = e;
|
|
19102
|
-
|
|
19107
|
+
qe.info("c2p user recognized", { tag: "C2P_RECOGNIZED_USER", contextObject: n }), this.contextData.userRecognized = n.detail.userRecognized;
|
|
19103
19108
|
}), this.addEventListener("personalDataSubmitted", (e) => {
|
|
19104
19109
|
const n = e, { firstName: r, lastName: i } = M_(n.detail.name);
|
|
19105
19110
|
this.contextData.cardHolderData.firstName = r, this.contextData.cardHolderData.lastName = i, this.contextData.cardHolderData.email = n.detail.email, this.contextData.cardHolderData.dni = n.detail.dni;
|
|
@@ -19112,10 +19117,10 @@ let Ln = class t extends nt {
|
|
|
19112
19117
|
this.contextData.componentsVisibility.showInstallmentPlan = !1;
|
|
19113
19118
|
}), this.addEventListener("setCardTypeAndBrand", (e) => Te(this, null, function* () {
|
|
19114
19119
|
const n = e;
|
|
19115
|
-
|
|
19120
|
+
qe.info("set card type and brand", { tag: "SET_CARD_TYPE_BRAND", contextObject: n }), this.contextData.cardBrand = n.detail.brand.toUpperCase(), this.contextData.cardType = ZU(n.detail.type).toUpperCase(), this.contextData.bines = n.detail.bin, this._isLoading = !1;
|
|
19116
19121
|
})), this.addEventListener("checkoutCompleted", (e) => {
|
|
19117
19122
|
const n = e;
|
|
19118
|
-
|
|
19123
|
+
qe.info("checkout completed", { tag: "CHECKOUT_COMPLETED", contextObject: n }), this._checkoutResponse = n.detail.checkoutResponse, this.contextData.cardArtUri = n.detail.checkoutResponse.checkoutResponseData.maskedCard.digitalCardData.artUri;
|
|
19119
19124
|
}), this.addEventListener("lastStepCvv", (e) => {
|
|
19120
19125
|
const n = e;
|
|
19121
19126
|
this._lastStepCvv = n.detail.cvv;
|
|
@@ -19123,7 +19128,7 @@ let Ln = class t extends nt {
|
|
|
19123
19128
|
this.contextData.checkoutReady = !1;
|
|
19124
19129
|
}), this.addEventListener("triggerCheckout", () => Te(this, null, function* () {
|
|
19125
19130
|
var e, n, r, i, s, o;
|
|
19126
|
-
|
|
19131
|
+
qe.info("trigger checkout", { tag: "TRIGGER_CHECKOUT" }), this._isLoading = !0;
|
|
19127
19132
|
try {
|
|
19128
19133
|
if ((e = this.contextData.availableNetworks) != null && e.includes(this.contextData.cardBrand) && this.contextData.click2PayPaymentInput !== void 0)
|
|
19129
19134
|
yield this._triggerCheckoutTask.run();
|
|
@@ -19140,7 +19145,7 @@ let Ln = class t extends nt {
|
|
|
19140
19145
|
(n = c.response) != null && n.success && (this.contextData.componentsVisibility.showOrderCompleted = !0, this._isLoading = !0, this._wsPaymentResponse()), (r = c.response) != null && r.success && ((i = c.response) != null && i.approved) && (this._isLoading = !1, this.contextData.hasError = !0, this.contextData.hasDuplicateApprovedError = !0), ((s = c.response) == null ? void 0 : s.success) === !1 && ((o = c.response) == null ? void 0 : o.pending) === !0 && (this._isLoading = !1, this.contextData.hasError = !0, this.contextData.hasDuplicatePendingError = !0), this.contextData.componentsVisibility.showOrderCompleted = !0;
|
|
19141
19146
|
}
|
|
19142
19147
|
} catch (a) {
|
|
19143
|
-
|
|
19148
|
+
qe.error("trigger checkout error", { tag: "TRIGGER_CHECKOUT_ERROR" }, a), this._isLoading = !1, this.contextData.hasError = !1, this.contextData.hasPayError = !0;
|
|
19144
19149
|
}
|
|
19145
19150
|
})), this.addEventListener("setCardData", (e) => Te(this, null, function* () {
|
|
19146
19151
|
const n = e;
|
|
@@ -19148,12 +19153,12 @@ let Ln = class t extends nt {
|
|
|
19148
19153
|
})), this.addEventListener("newCardSelected", (e) => Te(this, null, function* () {
|
|
19149
19154
|
var r;
|
|
19150
19155
|
const n = e;
|
|
19151
|
-
if (
|
|
19152
|
-
|
|
19156
|
+
if (qe.info("new card selected", { tag: "NEW_CARD_SELECTED", contextObject: n }), this._isLoading = !0, n.detail.srcDigitalCardId)
|
|
19157
|
+
qe.info("ARRAY_CARD_SELECTED_CONTEXT", n), this.contextData.srcDigitalCardId = n.detail.srcDigitalCardId, delete this.contextData.encryptedCardData, yield this._installmentPlans(), this._isLoading = !1, this.contextData.componentsVisibility.showInstallmentPlan = !0;
|
|
19153
19158
|
else {
|
|
19154
|
-
|
|
19155
|
-
const [i, s] = n.detail.expired.split("/")
|
|
19156
|
-
if (
|
|
19159
|
+
qe.info("NEW_CARD_SELECTED_ELSE", n), this.contextData.srcDigitalCardId = void 0, delete this.contextData.encryptedCardData, this.contextData.acceptedOthersBrands = n.detail.cardBrand, this.contextData.creditNumber = n.detail.creditNumber, this.contextData.cardType = n.detail.cardType, this.contextData.cardBrand = n.detail.cardBrand;
|
|
19160
|
+
const [i, s] = n.detail.expired.split("/");
|
|
19161
|
+
if (yield this._installmentPlans(), !((r = this.contextData.availableNetworks) != null && r.includes(this.contextData.cardBrand)) || this.contextData.click2PayPaymentInput === void 0) {
|
|
19157
19162
|
this.contextData.directPaymentData.formData = {
|
|
19158
19163
|
creditNumber: n.detail.creditNumber,
|
|
19159
19164
|
name: Eb(
|
|
@@ -19168,7 +19173,7 @@ let Ln = class t extends nt {
|
|
|
19168
19173
|
}, this._isLoading = !1, this.contextData.componentsVisibility.showInstallmentPlan = !0;
|
|
19169
19174
|
return;
|
|
19170
19175
|
}
|
|
19171
|
-
const
|
|
19176
|
+
const o = {
|
|
19172
19177
|
primaryAccountNumber: n.detail.creditNumber,
|
|
19173
19178
|
panExpirationMonth: i,
|
|
19174
19179
|
panExpirationYear: s,
|
|
@@ -19178,9 +19183,9 @@ let Ln = class t extends nt {
|
|
|
19178
19183
|
};
|
|
19179
19184
|
if (this.contextData.click2PayPaymentInput)
|
|
19180
19185
|
try {
|
|
19181
|
-
this.contextData.encryptedCardData = yield GU(this.contextData.mcService,
|
|
19182
|
-
} catch (
|
|
19183
|
-
|
|
19186
|
+
this.contextData.encryptedCardData = yield GU(this.contextData.mcService, o), this.contextData.componentsVisibility.showInstallmentPlan = !0;
|
|
19187
|
+
} catch (a) {
|
|
19188
|
+
qe.error("error handling new card", { tag: "ERROR_NEW_CARD" }, a), this.contextData.hasError = !0;
|
|
19184
19189
|
}
|
|
19185
19190
|
this.contextData.componentsVisibility.showInstallmentPlan = !0, this._isLoading = !1;
|
|
19186
19191
|
}
|
|
@@ -19427,7 +19432,7 @@ let WA = class t extends nt {
|
|
|
19427
19432
|
composed: !0,
|
|
19428
19433
|
detail: { selectedInstallment: this._selectedInstallment }
|
|
19429
19434
|
});
|
|
19430
|
-
|
|
19435
|
+
qe.info("selected installment plan", {
|
|
19431
19436
|
tag: "SELECTED_INSTALLMENT_PLAN",
|
|
19432
19437
|
contextObject: this._selectedInstallment
|
|
19433
19438
|
}), this.dispatchEvent(e);
|
|
@@ -19643,18 +19648,19 @@ let qr = class t extends nt {
|
|
|
19643
19648
|
if (this._contextData.bines = e, e.length === 6) {
|
|
19644
19649
|
try {
|
|
19645
19650
|
if (this._plansData = yield ic((n = this._contextData) == null ? void 0 : n.paymentRequest, e), this._plansData) {
|
|
19646
|
-
const { plans:
|
|
19647
|
-
this._codeError =
|
|
19651
|
+
const { plans: s } = this._plansData, { code: o } = s;
|
|
19652
|
+
this._codeError = o;
|
|
19648
19653
|
}
|
|
19649
|
-
} catch (
|
|
19650
|
-
console.log(
|
|
19654
|
+
} catch (s) {
|
|
19655
|
+
console.log(s);
|
|
19651
19656
|
}
|
|
19652
|
-
const r = this._cardBins.find((
|
|
19657
|
+
const r = this._cardBins.find((s) => s.bins.some((o) => e.startsWith(o))), i = this._getCardType(this._plansData.plans.cards, e);
|
|
19653
19658
|
r ? this.binesBrand = r.brand : this.binesBrand = "null", this.dispatchEvent(
|
|
19654
19659
|
new CustomEvent("onChange", {
|
|
19655
19660
|
detail: {
|
|
19656
19661
|
brand: this.binesBrand,
|
|
19657
|
-
cardNumber: this.numericValue
|
|
19662
|
+
cardNumber: this.numericValue,
|
|
19663
|
+
type: i
|
|
19658
19664
|
},
|
|
19659
19665
|
bubbles: !0,
|
|
19660
19666
|
composed: !0
|
|
@@ -19670,19 +19676,27 @@ let qr = class t extends nt {
|
|
|
19670
19676
|
Jn(t.prototype, this, "firstUpdated").call(this, e), this.cardNumber !== "" && (this._formattedCardNumber = Sb(this.cardNumber), yield this._validateBin(this.cardNumber));
|
|
19671
19677
|
});
|
|
19672
19678
|
}
|
|
19679
|
+
_getCardType(e, n) {
|
|
19680
|
+
try {
|
|
19681
|
+
const r = e.find((i) => i.bins.includes(n));
|
|
19682
|
+
return r ? r.type : "DEBIT";
|
|
19683
|
+
} catch (r) {
|
|
19684
|
+
return qe.error("ERROR MAPPING CARD TYPE", { cards: e }, r), "DEBIT";
|
|
19685
|
+
}
|
|
19686
|
+
}
|
|
19673
19687
|
_validateBin(e) {
|
|
19674
19688
|
return Te(this, null, function* () {
|
|
19675
19689
|
if (this.numericValue = e, e.length == 16)
|
|
19676
19690
|
try {
|
|
19677
19691
|
yield this._validateBinTask.run();
|
|
19678
19692
|
} catch (n) {
|
|
19679
|
-
|
|
19693
|
+
qe.info("validate bin catch", { tag: "VALIDATE_BIN_CATCH", contextObject: n });
|
|
19680
19694
|
}
|
|
19681
19695
|
if (e.length >= 6 && this._validateBinTask.status != 1)
|
|
19682
19696
|
try {
|
|
19683
19697
|
yield this._validateBinTask.run();
|
|
19684
19698
|
} catch (n) {
|
|
19685
|
-
|
|
19699
|
+
qe.info("validate bin catch", { tag: "VALIDATE_BIN_CATCH", contextObject: n });
|
|
19686
19700
|
}
|
|
19687
19701
|
});
|
|
19688
19702
|
}
|
|
@@ -19723,7 +19737,7 @@ let qr = class t extends nt {
|
|
|
19723
19737
|
.errorsMsg="${this.errorsMsg}"
|
|
19724
19738
|
customClass="${e || this._codeError === "INSTALLMENT_PLANS_NOT_FOUND" ? "error" : ""}"
|
|
19725
19739
|
></my-input>
|
|
19726
|
-
${e ? J
|
|
19740
|
+
${e ? J` <div class="errorSpan"><p>Tenés que completar el número de tarjeta</p></div>` : ""}
|
|
19727
19741
|
${this._codeError === "INSTALLMENT_PLANS_NOT_FOUND" && !this.isFocused && !e ? J`<span class="errorSpan"><p>Por ahora, no aceptamos pagos con tarjetas de esta marca.</p></span>` : ""}
|
|
19728
19742
|
</div>
|
|
19729
19743
|
`;
|
|
@@ -19908,7 +19922,8 @@ let Nn = class t extends nt {
|
|
|
19908
19922
|
expired: this._expired,
|
|
19909
19923
|
codSeg: this._codSeg,
|
|
19910
19924
|
isC2P: this.isC2P,
|
|
19911
|
-
cardBrand: this._cardBrand
|
|
19925
|
+
cardBrand: this._cardBrand,
|
|
19926
|
+
cardType: this._cardType
|
|
19912
19927
|
},
|
|
19913
19928
|
bubbles: !0,
|
|
19914
19929
|
composed: !0
|
|
@@ -20368,7 +20383,7 @@ rr([
|
|
|
20368
20383
|
Pn = rr([
|
|
20369
20384
|
rt("click2pay-order-review")
|
|
20370
20385
|
], Pn);
|
|
20371
|
-
const v8 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:auto;background:#f4f4f4;padding-top:
|
|
20386
|
+
const v8 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:auto;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;width:600px;height:600px;border-radius:20px;align-items:center;background:white}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}img{width:90px;height:90px;margin-top:21px}.sonic-container{width:450px}.button{margin-top:30px}.spinner{animation:rotate 2s linear infinite;z-index:1;position:relative;width:90px;height:90px;margin-top:21px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;margin-top:21px}.spinner-container{width:450px;height:135px;display:flex;justify-content:center}.sa{width:140px;height:140px;padding:26px;background-color:#fff}.sa-success{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;margin-bottom:30px;height:80px;padding:0;position:relative;background-color:#fff;width:80px}.sa-success:after,.sa-success:before{background:#fff;content:"";height:120px;position:absolute;transform:rotate(45deg);width:60px}.sa-success:before{border-radius:40px 0 0 40px;width:26px;height:80px;top:-17px;left:5px;transform-origin:60px 60px;transform:rotate(-45deg)}.sa-success:after{border-radius:0 120px 120px 0;left:30px;top:-11px;transform-origin:0 60px;transform:rotate(-45deg);animation:rotatePlaceholder 4.25s ease-in}.sa-success-placeholder{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;height:80px;left:-4px;position:absolute;top:-4px;width:80px;z-index:2}.sa-success-fix{background-color:#fff;height:90px;left:28px;position:absolute;top:8px;transform:rotate(-45deg);width:5px;z-index:1}.sa-success-tip,.sa-success-long{background-color:#652bdf!important;border-radius:2px;height:5px;position:absolute;z-index:2}.sa-success-tip{left:14px;top:46px;transform:rotate(45deg);width:25px;animation:animateSuccessTip .75s}.sa-success-long{right:8px;top:38px;transform:rotate(-45deg);width:47px;animation:animateSuccessLong .75s}@keyframes animateSuccessTip{0%,54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessLong{0%,65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes rotatePlaceholder{0%,5%{transform:rotate(-45deg)}to,12%{transform:rotate(-405deg)}}.fade-in-title{animation:fadeOutUp;animation-duration:.5s;animation-fill-mode:both}.fade-in-subtitle{animation:fadeOutUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:both}.fade-in-button{animation:fadeOutUp;animation-duration:.5s;animation-delay:.4s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20px)}}@media only screen and (min-width: 360px) and (max-width: 800px){.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{margin-left:30px;margin-right:30px;height:380px}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:16px!important;color:#2b2b2b;margin-top:40px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:18px;width:270px;padding-left:20px;padding-right:20px}.sonic-container{width:350px}.spinner-container{width:350px;height:135px;display:flex;justify-content:center}}.spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:80px;height:80px;margin-bottom:230px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.mt{margin-top:5px!important}
|
|
20372
20387
|
`;
|
|
20373
20388
|
var w8 = Object.defineProperty, B8 = Object.getOwnPropertyDescriptor, xi = (t, e, n, r) => {
|
|
20374
20389
|
for (var i = r > 1 ? void 0 : r ? B8(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -20667,7 +20682,7 @@ to([
|
|
|
20667
20682
|
Ss = to([
|
|
20668
20683
|
rt("scof-context")
|
|
20669
20684
|
], Ss);
|
|
20670
|
-
const D8 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:auto;background:#f4f4f4;padding-top:
|
|
20685
|
+
const D8 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:auto;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;width:600px;height:600px;border-radius:20px;align-items:center;background:white}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}img{width:90px;height:90px;margin-top:21px}.sonic-container{width:450px}.button{margin-top:30px}.spinner{animation:rotate 2s linear infinite;z-index:1;position:relative;width:90px;height:90px;margin-top:21px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;margin-top:21px}.spinner-container{width:450px;height:135px;display:flex;justify-content:center}.sa{width:140px;height:140px;padding:26px;background-color:#fff}.sa-success{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;margin-bottom:30px;height:80px;padding:0;position:relative;background-color:#fff;width:80px}.sa-success:after,.sa-success:before{background:#fff;content:"";height:120px;position:absolute;transform:rotate(45deg);width:60px}.sa-success:before{border-radius:40px 0 0 40px;width:26px;height:80px;top:-17px;left:5px;transform-origin:60px 60px;transform:rotate(-45deg)}.sa-success:after{border-radius:0 120px 120px 0;left:30px;top:-11px;transform-origin:0 60px;transform:rotate(-45deg);animation:rotatePlaceholder 4.25s ease-in}.sa-success-placeholder{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;height:80px;left:-4px;position:absolute;top:-4px;width:80px;z-index:2}.sa-success-fix{background-color:#fff;height:90px;left:28px;position:absolute;top:8px;transform:rotate(-45deg);width:5px;z-index:1}.sa-success-tip,.sa-success-long{background-color:#652bdf!important;border-radius:2px;height:5px;position:absolute;z-index:2}.sa-success-tip{left:14px;top:46px;transform:rotate(45deg);width:25px;animation:animateSuccessTip .75s}.sa-success-long{right:8px;top:38px;transform:rotate(-45deg);width:47px;animation:animateSuccessLong .75s}@keyframes animateSuccessTip{0%,54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessLong{0%,65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes rotatePlaceholder{0%,5%{transform:rotate(-45deg)}to,12%{transform:rotate(-405deg)}}.fade-in-title{animation:fadeOutUp;animation-duration:.5s;animation-fill-mode:both}.fade-in-subtitle{animation:fadeOutUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:both}.fade-in-button{animation:fadeOutUp;animation-duration:.5s;animation-delay:.4s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20px)}}@media only screen and (min-width: 360px) and (max-width: 800px){.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{margin-left:30px;margin-right:30px;height:380px}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:16px!important;color:#2b2b2b;margin-top:40px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:18px;width:270px;padding-left:20px;padding-right:20px}.sonic-container{width:350px}.spinner-container{width:350px;height:135px;display:flex;justify-content:center}}.spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:80px;height:80px;margin-bottom:230px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
|
|
20671
20686
|
`;
|
|
20672
20687
|
var k8 = Object.defineProperty, L8 = Object.getOwnPropertyDescriptor, Qr = (t, e, n, r) => {
|
|
20673
20688
|
for (var i = r > 1 ? void 0 : r ? L8(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -20944,20 +20959,20 @@ const N8 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normaliz
|
|
|
20944
20959
|
}, H8 = (t, e) => {
|
|
20945
20960
|
const n = M8(t), r = kn.getConfig();
|
|
20946
20961
|
if (n)
|
|
20947
|
-
if (
|
|
20962
|
+
if (qe.info(`Loading ${n} fraud prevention tooling`, e), n === Tp.SIFT) {
|
|
20948
20963
|
const i = {
|
|
20949
20964
|
accountId: r.SIFT_FRAUD_PREVENTION.ACCOUNT_ID,
|
|
20950
20965
|
sessionId: e.sessionId,
|
|
20951
20966
|
userId: e.userId
|
|
20952
20967
|
};
|
|
20953
|
-
|
|
20968
|
+
qe.info("Loading sift fraud prevention tooling", i), tC(i);
|
|
20954
20969
|
} else {
|
|
20955
20970
|
const i = {
|
|
20956
20971
|
merchantId: r.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
|
|
20957
20972
|
orgId: r.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
|
|
20958
20973
|
sessionId: e.sessionId
|
|
20959
20974
|
};
|
|
20960
|
-
|
|
20975
|
+
qe.info("Loading cybersource fraud prevention tooling", i);
|
|
20961
20976
|
const s = nC(i);
|
|
20962
20977
|
document.head.appendChild(s.script);
|
|
20963
20978
|
const o = document.querySelector("noscript");
|
|
@@ -21277,7 +21292,7 @@ var sM = Object.defineProperty, oM = Object.getOwnPropertyDescriptor, Rr = (t, e
|
|
|
21277
21292
|
};
|
|
21278
21293
|
let hr = class t extends nt {
|
|
21279
21294
|
constructor() {
|
|
21280
|
-
super(...arguments), this.cards = [], this.showTerms = !1, this._icon = "https://ranty-sdk-js.naranjax.com/images/card.svg", this._srcDigitalCardId = "", this._showCardForm = !1, this._shouldAddCard = !0, this._isButtonDisabled = !0, this._isButtonLoading = !1, this._cardNumber = "", this._expired = "", this._codSeg = "", this._cardType = "", this.
|
|
21295
|
+
super(...arguments), this.cards = [], this.showTerms = !1, this._icon = "https://ranty-sdk-js.naranjax.com/images/card.svg", this._srcDigitalCardId = "", this._showCardForm = !1, this._shouldAddCard = !0, this._isButtonDisabled = !0, this._isButtonLoading = !1, this._cardNumber = "", this._expired = "", this._codSeg = "", this._cardType = "", this._cardNumberErrors = [];
|
|
21281
21296
|
}
|
|
21282
21297
|
connectedCallback() {
|
|
21283
21298
|
super.connectedCallback(), this.addEventListener("selectSrcDigitalCardId", (e) => {
|
|
@@ -21327,7 +21342,9 @@ let hr = class t extends nt {
|
|
|
21327
21342
|
this._showCardForm ? e = {
|
|
21328
21343
|
creditNumber: this._cardNumber,
|
|
21329
21344
|
expired: this._expired,
|
|
21330
|
-
codSeg: this._codSeg
|
|
21345
|
+
codSeg: this._codSeg,
|
|
21346
|
+
cardBrand: this._cardBrand,
|
|
21347
|
+
cardType: this._cardType
|
|
21331
21348
|
} : e = {
|
|
21332
21349
|
srcDigitalCardId: this._srcDigitalCardId
|
|
21333
21350
|
}, this.dispatchEvent(
|
|
@@ -21517,7 +21534,7 @@ hr = Rr([
|
|
|
21517
21534
|
], hr);
|
|
21518
21535
|
const aM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.otp_input{display:flex;flex-direction:column;background-color:#fff;position:relative}src-otp-input{--src-btn-border-radius: 10px;--src-otp-input-content-container-margin-bottom: 20px;--src-btn-width: 375px}.otp_input_extension{padding-left:28px;border-color:#9797974c;padding-bottom:20px;position:absolute;background-color:#fff;bottom:-30px;width:-webkit-fill-available;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-bottom-width:1px;border-bottom-style:solid;border-left-style:solid;border-left-width:1px;border-right-style:solid;border-right-width:1px}.otp_input_extension my-button{min-height:48px;max-height:64px;min-width:180px}@media only screen and (max-width: 800px){src-otp-input{--src-btn-width: 290px}.otp_input_extension{padding-left:24px}.otp_input{margin-bottom:60px;margin-left:8px;margin-right:8px}}
|
|
21519
21536
|
`;
|
|
21520
|
-
var AM = Object.defineProperty, cM = Object.getOwnPropertyDescriptor,
|
|
21537
|
+
var AM = Object.defineProperty, cM = Object.getOwnPropertyDescriptor, Br = (t, e, n, r) => {
|
|
21521
21538
|
for (var i = r > 1 ? void 0 : r ? cM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
21522
21539
|
(o = t[s]) && (i = (r ? o(e, n, i) : o(i)) || i);
|
|
21523
21540
|
return r && i && AM(e, n, i), i;
|
|
@@ -21526,9 +21543,9 @@ let er = class t extends nt {
|
|
|
21526
21543
|
constructor() {
|
|
21527
21544
|
super(), this.displayRememberMe = !1, this._rememberMe = !1, this._isButtonDisabled = !1, this._showCardForm = !1, this._showC2pOtpInput = !0, this._isError = !1, this._isTouched = !1, this._expired = "", this._codSeg = "", this.addEventListener("otpChanged", (e) => {
|
|
21528
21545
|
const n = e, r = this.renderRoot.querySelector("src-otp-input");
|
|
21529
|
-
this._rememberMe = r.shadowRoot.querySelector("#remember_me").checked,
|
|
21546
|
+
this._rememberMe = r.shadowRoot.querySelector("#remember_me").checked, qe.info("otpChanged", { tag: "EVENT_LISTENER_OTPCHANGED", contextObject: e }), this._otpValue = n.detail;
|
|
21530
21547
|
}), this.addEventListener("continue", (e) => {
|
|
21531
|
-
|
|
21548
|
+
qe.info("continue event", { tag: "CONTINUE_EVENT", contextObject: e }), this.dispatchEvent(
|
|
21532
21549
|
new CustomEvent("submitOtpValue", {
|
|
21533
21550
|
detail: {
|
|
21534
21551
|
otpValue: this._otpValue
|
|
@@ -21539,7 +21556,7 @@ let er = class t extends nt {
|
|
|
21539
21556
|
);
|
|
21540
21557
|
}), this.addEventListener("rememberMe", (e) => {
|
|
21541
21558
|
const n = e;
|
|
21542
|
-
|
|
21559
|
+
qe.info("user selected remember me", { tag: "REMEMBER_ME_SELECTED", contxtObject: n.detail });
|
|
21543
21560
|
const r = this.renderRoot.querySelector("src-otp-input");
|
|
21544
21561
|
this._rememberMe = r.shadowRoot.querySelector("#remember_me").checked, this.dispatchEvent(
|
|
21545
21562
|
new CustomEvent("rememberMeSelected", {
|
|
@@ -21556,15 +21573,15 @@ let er = class t extends nt {
|
|
|
21556
21573
|
return Te(this, null, function* () {
|
|
21557
21574
|
Jn(t.prototype, this, "firstUpdated").call(this, e);
|
|
21558
21575
|
const n = this.renderRoot.querySelector("src-otp-input");
|
|
21559
|
-
|
|
21576
|
+
qe.info("firstUpdated otpOptions", { tag: "OTP_OPTIONS", contextObject: this.otpOptions }), qe.info("firstUpdated maskedIdentityValue", {
|
|
21560
21577
|
tag: "MASKED_IDENTITY_VALUE",
|
|
21561
21578
|
contextObject: this.maskedIdentityValue
|
|
21562
21579
|
}), yield n == null ? void 0 : n.loadSupportedValidationChannels(this.otpOptions), n == null || n.addEventListener("notYouRequested", () => Te(this, null, function* () {
|
|
21563
21580
|
var r;
|
|
21564
|
-
|
|
21581
|
+
qe.info("user requested Not you? method", { tag: "USER_SELECTED_NOT_YOU" }), yield (r = this._contextData) == null ? void 0 : r.mcService.signOut(), location.reload();
|
|
21565
21582
|
})), n == null || n.addEventListener("resendOtp", (r) => {
|
|
21566
21583
|
const i = r;
|
|
21567
|
-
|
|
21584
|
+
qe.info("OTP resend requested by user", { tag: "OTP-RESEND-REQUESTS", contextObject: i.detail });
|
|
21568
21585
|
}), this.displayRememberMe = !0;
|
|
21569
21586
|
});
|
|
21570
21587
|
}
|
|
@@ -21615,56 +21632,56 @@ let er = class t extends nt {
|
|
|
21615
21632
|
er.styles = ot`
|
|
21616
21633
|
${At(aM)}
|
|
21617
21634
|
`;
|
|
21618
|
-
|
|
21635
|
+
Br([
|
|
21619
21636
|
k({ type: Number })
|
|
21620
21637
|
], er.prototype, "otpOptions", 2);
|
|
21621
|
-
|
|
21638
|
+
Br([
|
|
21622
21639
|
k({ type: String })
|
|
21623
21640
|
], er.prototype, "maskedIdentityValue", 2);
|
|
21624
|
-
|
|
21641
|
+
Br([
|
|
21625
21642
|
k({ type: String })
|
|
21626
21643
|
], er.prototype, "otpError", 2);
|
|
21627
|
-
|
|
21644
|
+
Br([
|
|
21628
21645
|
k({ type: String })
|
|
21629
21646
|
], er.prototype, "network", 2);
|
|
21630
|
-
|
|
21647
|
+
Br([
|
|
21631
21648
|
k({ type: Boolean })
|
|
21632
21649
|
], er.prototype, "displayRememberMe", 2);
|
|
21633
|
-
|
|
21650
|
+
Br([
|
|
21634
21651
|
be()
|
|
21635
21652
|
], er.prototype, "_otpValue", 2);
|
|
21636
|
-
|
|
21653
|
+
Br([
|
|
21637
21654
|
be()
|
|
21638
21655
|
], er.prototype, "_rememberMe", 2);
|
|
21639
|
-
|
|
21656
|
+
Br([
|
|
21640
21657
|
be()
|
|
21641
21658
|
], er.prototype, "_isButtonDisabled", 2);
|
|
21642
|
-
|
|
21659
|
+
Br([
|
|
21643
21660
|
be()
|
|
21644
21661
|
], er.prototype, "_showCardForm", 2);
|
|
21645
|
-
|
|
21662
|
+
Br([
|
|
21646
21663
|
be()
|
|
21647
21664
|
], er.prototype, "_showC2pOtpInput", 2);
|
|
21648
|
-
|
|
21665
|
+
Br([
|
|
21649
21666
|
be()
|
|
21650
21667
|
], er.prototype, "_isError", 2);
|
|
21651
|
-
|
|
21668
|
+
Br([
|
|
21652
21669
|
be()
|
|
21653
21670
|
], er.prototype, "_isTouched", 2);
|
|
21654
|
-
|
|
21671
|
+
Br([
|
|
21655
21672
|
be()
|
|
21656
21673
|
], er.prototype, "_creditNumber", 2);
|
|
21657
|
-
|
|
21674
|
+
Br([
|
|
21658
21675
|
be()
|
|
21659
21676
|
], er.prototype, "_expired", 2);
|
|
21660
|
-
|
|
21677
|
+
Br([
|
|
21661
21678
|
be()
|
|
21662
21679
|
], er.prototype, "_codSeg", 2);
|
|
21663
|
-
|
|
21680
|
+
Br([
|
|
21664
21681
|
ct({ context: eo, subscribe: !0 }),
|
|
21665
21682
|
be()
|
|
21666
21683
|
], er.prototype, "_contextData", 2);
|
|
21667
|
-
er =
|
|
21684
|
+
er = Br([
|
|
21668
21685
|
rt("click2pay-otp-input")
|
|
21669
21686
|
], er);
|
|
21670
21687
|
const lM = "";
|
|
@@ -21861,7 +21878,7 @@ Vi([
|
|
|
21861
21878
|
ii = Vi([
|
|
21862
21879
|
rt("click2pay-personal-data")
|
|
21863
21880
|
], ii);
|
|
21864
|
-
const mM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host *{user-select:none}:host .drawerOpen{opacity:.5;pointer-events:none}:host .card-form{display:grid;grid-template-columns:repeat(10,1fr);max-width:820px;height:auto;margin:0 auto}:host .card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}:host .card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}:host .card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}:host .card-form__content{grid-column:1/span 6;margin-bottom:126px}:host .payment__detail{grid-column:7/span 4;padding-left:34px}:host .contentContainer{opacity:.5;transition:opacity .3s ease-in-out}:host .card-form__subtitle-mobile{display:none}:host .title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}:host .card-payments-methods{display:flex;gap:40px}@media only screen and (min-width: 360px) and (max-width: 450px){:host .card-form__subtitle{margin-left:8px;margin-right:8px}:host .card-form__title{margin-left:8px;margin-right:8px}:host .card-form{display:grid;grid-template-columns:1fr}:host .card-form__title{margin-bottom:10px}:host .card-form__content{margin-bottom:0;grid-column:span 6}:host .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}:host .inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .card-form-text{margin-left:20px}:host .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}:host .card-form__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .card-form{display:grid;width:100%}:host .card-form-text{grid-column:2/span 6}:host .card-form__content{margin-bottom:0;grid-column:2/span 7}:host .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}:host .qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:
|
|
21881
|
+
const mM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host *{user-select:none}:host .drawerOpen{opacity:.5;pointer-events:none}:host .card-form{display:grid;grid-template-columns:repeat(10,1fr);max-width:820px;height:auto;margin:0 auto}:host .card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}:host .card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}:host .card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}:host .card-form__content{grid-column:1/span 6;margin-bottom:126px}:host .payment__detail{grid-column:7/span 4;padding-left:34px}:host .contentContainer{opacity:.5;transition:opacity .3s ease-in-out}:host .card-form__subtitle-mobile{display:none}:host .title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}:host .card-payments-methods{display:flex;gap:40px}@media only screen and (min-width: 360px) and (max-width: 450px){:host .card-form__subtitle{margin-left:8px;margin-right:8px}:host .card-form__title{margin-left:8px;margin-right:8px}:host .card-form{display:grid;grid-template-columns:1fr}:host .card-form__title{margin-bottom:10px}:host .card-form__content{margin-bottom:0;grid-column:span 6}:host .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}:host .inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .card-form-text{margin-left:20px}:host .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}:host .card-form__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .card-form{display:grid;width:100%}:host .card-form-text{grid-column:2/span 6}:host .card-form__content{margin-bottom:0;grid-column:2/span 7}:host .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}:host .qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}:host .inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:20px;align-items:center;background:white}:host .mt{margin-top:10px!important;border:1px solid black!important}
|
|
21865
21882
|
`;
|
|
21866
21883
|
var yM = Object.defineProperty, bM = Object.getOwnPropertyDescriptor, bt = (t, e, n, r) => {
|
|
21867
21884
|
for (var i = r > 1 ? void 0 : r ? bM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -21945,7 +21962,7 @@ let ht = class t extends nt {
|
|
|
21945
21962
|
windowRef: r,
|
|
21946
21963
|
rememberMe: (c = this._contextData) == null ? void 0 : c.rememberMe
|
|
21947
21964
|
};
|
|
21948
|
-
|
|
21965
|
+
qe.info("makeCheckoutParams", { tag: "MAKE_CHECKOUT_PARAMS", contextObject: i });
|
|
21949
21966
|
const s = yield JU((l = this._contextData) == null ? void 0 : l.mcService, i);
|
|
21950
21967
|
this._processCheckoutResponse(s);
|
|
21951
21968
|
});
|
|
@@ -21965,9 +21982,9 @@ let ht = class t extends nt {
|
|
|
21965
21982
|
_getSrcDigitalCardId(e) {
|
|
21966
21983
|
return Te(this, null, function* () {
|
|
21967
21984
|
if (this._loadingMsg = "Estamos recuperando los planes de pago", e.detail.srcDigitalCardId) {
|
|
21968
|
-
|
|
21985
|
+
qe.info("_getSrcDigitalCardId", { tag: "DIGITAL_CARD_ID", contextObject: e });
|
|
21969
21986
|
const n = this._cards.reduce((r, i) => i.srcDigitalCardId === e.detail.srcDigitalCardId ? (this._digitalCardData = i.digitalCardData, i) : r, null);
|
|
21970
|
-
|
|
21987
|
+
qe.info("selectedCard", { tag: "SELECTED_CARD", contextObject: n }), this.dispatchEvent(
|
|
21971
21988
|
new CustomEvent("setCardTypeAndBrand", {
|
|
21972
21989
|
bubbles: !0,
|
|
21973
21990
|
composed: !0,
|
|
@@ -21999,7 +22016,7 @@ let ht = class t extends nt {
|
|
|
21999
22016
|
_resendOtp(e) {
|
|
22000
22017
|
return Te(this, null, function* () {
|
|
22001
22018
|
var n;
|
|
22002
|
-
this._otpValidationChannel = yield Yw((n = this._contextData) == null ? void 0 : n.mcService, e.detail),
|
|
22019
|
+
this._otpValidationChannel = yield Yw((n = this._contextData) == null ? void 0 : n.mcService, e.detail), qe.info("otpResent", { tag: "OTP_RESENT", contextObject: this._otpValidationChannel });
|
|
22003
22020
|
});
|
|
22004
22021
|
}
|
|
22005
22022
|
openDrawerClass(e) {
|
|
@@ -22024,7 +22041,7 @@ let ht = class t extends nt {
|
|
|
22024
22041
|
const { consumerPresent: A } = yield qU((s = this._contextData) == null ? void 0 : s.mcService, this._email);
|
|
22025
22042
|
if (A) {
|
|
22026
22043
|
const c = yield $U((o = this._contextData) == null ? void 0 : o.mcService);
|
|
22027
|
-
this._userRecognized = !0, this._newUser = !1, this._cards = c, c.length > 0 ? (this._showC2pCardList = !0,
|
|
22044
|
+
this._userRecognized = !0, this._newUser = !1, this._cards = c, c.length > 0 ? (this._showC2pCardList = !0, qe.info("recognized user on trusted device", { tag: "RECOGNIZED_USER_TRUSTED_DEVICE" })) : (this._otpValidationChannel = yield Yw((a = this._contextData) == null ? void 0 : a.mcService), qe.info("recognized user on new device", { tag: "RECOGNIZED_USER_NEW_DEVICE" }), qe.info("otp channel options", { tag: "OTP_CHANNEL_OPTIONS", contextObject: this._otpValidationChannel }), this._showC2pOtpInput = !0), this.isLoading = !1, this.dispatchEvent(
|
|
22028
22045
|
new CustomEvent("userRecognized", {
|
|
22029
22046
|
detail: {
|
|
22030
22047
|
userRecognized: this._userRecognized
|
|
@@ -22034,7 +22051,7 @@ let ht = class t extends nt {
|
|
|
22034
22051
|
})
|
|
22035
22052
|
);
|
|
22036
22053
|
} else
|
|
22037
|
-
this._showCardForm = !0, this._newUser = !0, this._userRecognized = !1,
|
|
22054
|
+
this._showCardForm = !0, this._newUser = !0, this._userRecognized = !1, qe.info("first time user", { tag: "NEW_USER", contextObject: this._newUser });
|
|
22038
22055
|
this.dispatchEvent(
|
|
22039
22056
|
new CustomEvent("onNewUser", {
|
|
22040
22057
|
detail: {
|
|
@@ -22192,7 +22209,7 @@ let ht = class t extends nt {
|
|
|
22192
22209
|
_prepareCheckout(e) {
|
|
22193
22210
|
return Te(this, null, function* () {
|
|
22194
22211
|
var n, r, i, s;
|
|
22195
|
-
if (
|
|
22212
|
+
if (qe.info("prepare checkout", { tag: "PREPARE_CHECKOUT", contextObject: e }), this._selectedInstallment = e.detail.selectedInstallment, this.click2PayPaymentInput && ((i = (n = this._contextData) == null ? void 0 : n.availableNetworks) != null && i.includes((r = this._contextData) == null ? void 0 : r.cardBrand))) {
|
|
22196
22213
|
this._showDrawerComponent = !0;
|
|
22197
22214
|
try {
|
|
22198
22215
|
(s = this._contextData) != null && s.srcDigitalCardId ? yield this.makeCheckout() : this.click2PayPaymentInput && (yield this.makeCheckoutNewCard());
|
|
@@ -22210,7 +22227,7 @@ let ht = class t extends nt {
|
|
|
22210
22227
|
}
|
|
22211
22228
|
this._showDrawerComponent = !1;
|
|
22212
22229
|
} else
|
|
22213
|
-
|
|
22230
|
+
qe.info("making checkout with direct payment"), rf(this), this._showOrderReview = !0;
|
|
22214
22231
|
});
|
|
22215
22232
|
}
|
|
22216
22233
|
_backToCardSelection() {
|
|
@@ -22761,7 +22778,7 @@ Ci([
|
|
|
22761
22778
|
si = Ci([
|
|
22762
22779
|
rt("payfac-sdk")
|
|
22763
22780
|
], si);
|
|
22764
|
-
const _M = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.background{background:#f4f4f4}.drawerOpen{opacity:.5;pointer-events:none}.container{display:grid;grid-template-columns:repeat(10,1fr);max-width:900px;height:auto;margin:0 auto}.container-text{grid-column:1/span 6;grid-row:1/1}.container__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}.container__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}.container__content{grid-column:1/span 6;margin-bottom:126px}.payment__detail{grid-column:7/span 4;padding-left:34px}.contentContainer{opacity:.5;transition:opacity .3s ease-in-out}.container__subtitle-mobile{display:none}.title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}.card-payments-methods{display:flex;gap:40px}@media only screen and (min-width: 360px) and (max-width: 450px){.container__subtitle,.container__title{margin-left:8px;margin-right:8px}.container{display:grid;grid-template-columns:1fr}.container__title{margin-bottom:10px}.container__content{margin-bottom:0;grid-column:span 6}.payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}.inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){.container-text{margin-left:20px}.payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}.container__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){.container{display:grid;width:100%}.container-text{grid-column:2/span 6}.container__content{margin-bottom:0;grid-column:2/span 7}.payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}.qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:
|
|
22781
|
+
const _M = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.background{background:#f4f4f4}.drawerOpen{opacity:.5;pointer-events:none}.container{display:grid;grid-template-columns:repeat(10,1fr);max-width:900px;height:auto;margin:0 auto}.container-text{grid-column:1/span 6;grid-row:1/1}.container__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}.container__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}.container__content{grid-column:1/span 6;margin-bottom:126px}.payment__detail{grid-column:7/span 4;padding-left:34px}.contentContainer{opacity:.5;transition:opacity .3s ease-in-out}.container__subtitle-mobile{display:none}.title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}.card-payments-methods{display:flex;gap:40px}@media only screen and (min-width: 360px) and (max-width: 450px){.container__subtitle,.container__title{margin-left:8px;margin-right:8px}.container{display:grid;grid-template-columns:1fr}.container__title{margin-bottom:10px}.container__content{margin-bottom:0;grid-column:span 6}.payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}.inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){.container-text{margin-left:20px}.payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}.container__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){.container{display:grid;width:100%}.container-text{grid-column:2/span 6}.container__content{margin-bottom:0;grid-column:2/span 7}.payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}.qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}.inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:20px;align-items:center;background:white}.alert-container{position:absolute;bottom:0;padding:30px 24px;z-index:1;max-width:400px;width:-webkit-fill-available}
|
|
22765
22782
|
`;
|
|
22766
22783
|
var SM = Object.defineProperty, EM = Object.getOwnPropertyDescriptor, eu = (t, e, n, r) => {
|
|
22767
22784
|
for (var i = r > 1 ? void 0 : r ? EM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -23871,7 +23888,7 @@ mv([
|
|
|
23871
23888
|
Rd = mv([
|
|
23872
23889
|
rt("scof-plans")
|
|
23873
23890
|
], Rd);
|
|
23874
|
-
const JM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:
|
|
23891
|
+
const JM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;width:600px;height:600px;border-radius:20px;align-items:center;background:white}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}img{width:90px;height:90px;margin-top:21px}.sonic-container{width:450px}.button{margin-top:30px}.spinner{animation:rotate 2s linear infinite;z-index:1;position:relative;width:90px;height:90px;margin-top:21px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;margin-top:21px}.spinner-container{width:450px;height:135px;display:flex;justify-content:center}.sa{width:140px;height:140px;padding:26px;background-color:#fff}.sa-success{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;margin-bottom:30px;height:80px;padding:0;position:relative;background-color:#fff;width:80px}.sa-success:after,.sa-success:before{background:#fff;content:"";height:120px;position:absolute;transform:rotate(45deg);width:60px}.sa-success:before{border-radius:40px 0 0 40px;width:26px;height:80px;top:-17px;left:5px;transform-origin:60px 60px;transform:rotate(-45deg)}.sa-success:after{border-radius:0 120px 120px 0;left:30px;top:-11px;transform-origin:0 60px;transform:rotate(-45deg);animation:rotatePlaceholder 4.25s ease-in}.sa-success-placeholder{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;height:80px;left:-4px;position:absolute;top:-4px;width:80px;z-index:2}.sa-success-fix{background-color:#fff;height:90px;left:28px;position:absolute;top:8px;transform:rotate(-45deg);width:5px;z-index:1}.sa-success-tip,.sa-success-long{background-color:#652bdf!important;border-radius:2px;height:5px;position:absolute;z-index:2}.sa-success-tip{left:14px;top:46px;transform:rotate(45deg);width:25px;animation:animateSuccessTip .75s}.sa-success-long{right:8px;top:38px;transform:rotate(-45deg);width:47px;animation:animateSuccessLong .75s}@keyframes animateSuccessTip{0%,54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessLong{0%,65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes rotatePlaceholder{0%,5%{transform:rotate(-45deg)}to,12%{transform:rotate(-405deg)}}.fade-in-title{animation:fadeOutUp;animation-duration:.5s;animation-fill-mode:both}.fade-in-subtitle{animation:fadeOutUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:both}.fade-in-button{animation:fadeOutUp;animation-duration:.5s;animation-delay:.4s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20px)}}@media only screen and (min-width: 360px) and (max-width: 800px){.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{margin-left:30px;margin-right:30px;height:380px}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:16px!important;color:#2b2b2b;margin-top:40px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:18px;width:270px;padding-left:20px;padding-right:20px}.sonic-container{width:350px}.spinner-container{width:350px;height:135px;display:flex;justify-content:center}}.spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:80px;height:80px;margin-bottom:230px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
|
|
23875
23892
|
`;
|
|
23876
23893
|
var XM = Object.defineProperty, ZM = Object.getOwnPropertyDescriptor, ai = (t, e, n, r) => {
|
|
23877
23894
|
for (var i = r > 1 ? void 0 : r ? ZM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -24265,14 +24282,14 @@ let og = class t extends nt {
|
|
|
24265
24282
|
sessionId: this.contextFraudPreventionData.config.sessionId,
|
|
24266
24283
|
userId: this._payfacContext.paymentRequest.buyer.email
|
|
24267
24284
|
};
|
|
24268
|
-
|
|
24285
|
+
qe.info("Loading sift fraud prevention tooling", n), tC(n);
|
|
24269
24286
|
} else {
|
|
24270
24287
|
const n = {
|
|
24271
24288
|
merchantId: e.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
|
|
24272
24289
|
orgId: e.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
|
|
24273
24290
|
sessionId: this.contextFraudPreventionData.config.sessionId
|
|
24274
24291
|
};
|
|
24275
|
-
|
|
24292
|
+
qe.info("Loading cybersource fraud prevention tooling", n);
|
|
24276
24293
|
const r = nC(n);
|
|
24277
24294
|
document.head.appendChild(r.script);
|
|
24278
24295
|
const i = document.querySelector("noscript");
|
|
@@ -24290,7 +24307,7 @@ let og = class t extends nt {
|
|
|
24290
24307
|
ip: this.contextFraudPreventionData.config.ip
|
|
24291
24308
|
}
|
|
24292
24309
|
})
|
|
24293
|
-
),
|
|
24310
|
+
), qe.info("FRAUD OBJECT LOADED", this.contextFraudPreventionData.config);
|
|
24294
24311
|
});
|
|
24295
24312
|
}
|
|
24296
24313
|
firstUpdated(e) {
|
|
@@ -25157,7 +25174,7 @@ bv([
|
|
|
25157
25174
|
Md = bv([
|
|
25158
25175
|
rt("payment-manual-plans")
|
|
25159
25176
|
], Md);
|
|
25160
|
-
const I7 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:
|
|
25177
|
+
const I7 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}:host .card__container{display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;width:600px;height:600px;border-radius:20px;align-items:center;background:white}:host .title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}:host .subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}:host img{width:90px;height:90px;margin-top:21px}:host .sonic-container{width:450px}:host .button{margin-top:30px}:host .spinner{animation:rotate 2s linear infinite;z-index:1;position:relative;width:90px;height:90px;margin-top:21px}:host .spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;margin-top:21px}:host .spinner-container{width:450px;height:135px;display:flex;justify-content:center}:host .sa{width:140px;height:140px;padding:26px;background-color:#fff}:host .sa-success{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;margin-bottom:30px;height:80px;padding:0;position:relative;background-color:#fff;width:80px}:host .sa-success:after,:host .sa-success:before{background:#fff;content:"";height:120px;position:absolute;transform:rotate(45deg);width:60px}:host .sa-success:before{border-radius:40px 0 0 40px;width:26px;height:80px;top:-17px;left:5px;transform-origin:60px 60px;transform:rotate(-45deg)}:host .sa-success:after{border-radius:0 120px 120px 0;left:30px;top:-11px;transform-origin:0 60px;transform:rotate(-45deg);animation:rotatePlaceholder 4.25s ease-in}:host .sa-success-placeholder{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;height:80px;left:-4px;position:absolute;top:-4px;width:80px;z-index:2}:host .sa-success-fix{background-color:#fff;height:90px;left:28px;position:absolute;top:8px;transform:rotate(-45deg);width:5px;z-index:1}:host .sa-success-tip,:host .sa-success-long{background-color:#652bdf!important;border-radius:2px;height:5px;position:absolute;z-index:2}:host .sa-success-tip{left:14px;top:46px;transform:rotate(45deg);width:25px;animation:animateSuccessTip .75s}:host .sa-success-long{right:8px;top:38px;transform:rotate(-45deg);width:47px;animation:animateSuccessLong .75s}@keyframes animateSuccessTip{0%,54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessLong{0%,65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes rotatePlaceholder{0%,5%{transform:rotate(-45deg)}to,12%{transform:rotate(-405deg)}}:host .fade-in-title{animation:fadeOutUp;animation-duration:.5s;animation-fill-mode:both}:host .fade-in-subtitle{animation:fadeOutUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:both}:host .fade-in-button{animation:fadeOutUp;animation-duration:.5s;animation-delay:.4s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20px)}}@media only screen and (max-width: 800px){:host .container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;background:#f4f4f4;padding-top:29px;z-index:9}:host .card__container{margin-left:30px;margin-right:30px;height:380px}:host .title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:16px!important;color:#2b2b2b;margin-top:40px}:host .subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:18px;width:270px;padding-left:20px;padding-right:20px}:host .sonic-container{width:350px}:host .spinner-container{width:350px;height:135px;display:flex;justify-content:center}}:host .spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:80px;height:80px;margin-bottom:230px}:host .spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
|
|
25161
25178
|
`;
|
|
25162
25179
|
var F7 = Object.defineProperty, U7 = Object.getOwnPropertyDescriptor, Ai = (t, e, n, r) => {
|
|
25163
25180
|
for (var i = r > 1 ? void 0 : r ? U7(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -25593,33 +25610,32 @@ let $n = class t extends nt {
|
|
|
25593
25610
|
e && (window.location.href = e);
|
|
25594
25611
|
}
|
|
25595
25612
|
renderCardAvailable() {
|
|
25596
|
-
return J`<card-home
|
|
25597
|
-
|
|
25598
|
-
|
|
25599
|
-
|
|
25600
|
-
|
|
25601
|
-
|
|
25602
|
-
|
|
25603
|
-
|
|
25613
|
+
return this.isCardAvailable ? J`<card-home
|
|
25614
|
+
class="clickeable"
|
|
25615
|
+
image="https://ranty-sdk-js.naranjax.com/images/card.svg"
|
|
25616
|
+
title="Tarjeta de crédito o débito"
|
|
25617
|
+
subtitle="${this.manualInputDescription}"
|
|
25618
|
+
?hasPromotion="${this.hasManualInputPromotions}"
|
|
25619
|
+
@click="${this._toggleShowPersonalDataForm}"
|
|
25620
|
+
></card-home>` : J``;
|
|
25604
25621
|
}
|
|
25605
25622
|
renderWalletAvailable() {
|
|
25606
|
-
return this._isMobileDevice() ? J`<card-home
|
|
25623
|
+
return this.isWalletAvailable ? this._isMobileDevice() ? J`<card-home
|
|
25624
|
+
class="clickeable"
|
|
25625
|
+
image="https://ranty-sdk-js.naranjax.com/images/building-bank.svg"
|
|
25626
|
+
titleImage="https://ranty-sdk-js.naranjax.com/tienda/nave-modo-tn.svg"
|
|
25627
|
+
subtitle="Para aprovechar todos los beneficios de tu banco."
|
|
25628
|
+
@click="${this._deepLinkModo}"
|
|
25629
|
+
></card-home>` : J`<card-home
|
|
25607
25630
|
class="clickeable"
|
|
25608
|
-
|
|
25609
|
-
|
|
25610
|
-
|
|
25611
|
-
|
|
25612
|
-
></card-home>` : J`<card-home
|
|
25613
|
-
class="clickeable"
|
|
25614
|
-
subtitle="${this.walletDescription}"
|
|
25615
|
-
?hasPromotion="${this.hasWalletPromotions}"
|
|
25616
|
-
@click="${this._handleCardClick}"
|
|
25617
|
-
></card-home>`;
|
|
25631
|
+
subtitle="${this.walletDescription}"
|
|
25632
|
+
?hasPromotion="${this.hasWalletPromotions}"
|
|
25633
|
+
@click="${this._handleCardClick}"
|
|
25634
|
+
></card-home>` : J``;
|
|
25618
25635
|
}
|
|
25619
25636
|
render() {
|
|
25620
25637
|
return J`
|
|
25621
|
-
${this.renderWalletAvailable()}
|
|
25622
|
-
<br />
|
|
25638
|
+
${this.renderWalletAvailable()} ${this.isWalletAvailable && this.isCardAvailable ? J`<br />` : ""}
|
|
25623
25639
|
${this.renderCardAvailable()}
|
|
25624
25640
|
`;
|
|
25625
25641
|
}
|
|
@@ -27142,7 +27158,7 @@ ah.toDataURL = Cv.bind(null, mS.renderToDataURL);
|
|
|
27142
27158
|
ah.toString = Cv.bind(null, function(t, e, n) {
|
|
27143
27159
|
return CH.render(t, n);
|
|
27144
27160
|
});
|
|
27145
|
-
const _H = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host{display:block;text-align:center;padding:16px}canvas{margin-top:16px;border:none}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:
|
|
27161
|
+
const _H = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host{display:block;text-align:center;padding:16px}canvas{margin-top:16px;border:none}.container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}.card__container{display:flex;flex-direction:column;position:relative;text-align:center;width:550px;height:530px;border-radius:20px;align-items:center;background:white;padding:20px}.content{margin-top:30px;display:flex;flex-direction:column;position:relative;text-align:center;justify-content:center;align-items:center}.btn__container{place-self:flex-end}.btn{cursor:pointer;background-color:#fff;border:none;font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;font-weight:600;line-height:1.25rem}.title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}.subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}
|
|
27146
27162
|
`;
|
|
27147
27163
|
var SH = Object.defineProperty, EH = Object.getOwnPropertyDescriptor, Go = (t, e, n, r) => {
|
|
27148
27164
|
for (var i = r > 1 ? void 0 : r ? EH(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -27209,7 +27225,7 @@ let Es = class extends nt {
|
|
|
27209
27225
|
<div class="container">
|
|
27210
27226
|
<div class="card__container">
|
|
27211
27227
|
<div class="btn__container">
|
|
27212
|
-
<button class="btn" @click="${this._back}"
|
|
27228
|
+
<button class="btn" @click="${this._back}">X</button>
|
|
27213
27229
|
</div>
|
|
27214
27230
|
<div class="content">
|
|
27215
27231
|
<span class="title">Escaneá el QR con la app que quieras</span>
|
|
@@ -27276,7 +27292,7 @@ Go([
|
|
|
27276
27292
|
Es = Go([
|
|
27277
27293
|
rt("qr-component")
|
|
27278
27294
|
], Es);
|
|
27279
|
-
const IH = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;min-height:auto;background:#f4f4f4;padding-top:
|
|
27295
|
+
const IH = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;min-height:auto;background:#f4f4f4;padding-top:29px;z-index:9}:host .card__container{display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;width:600px;height:600px;border-radius:20px;align-items:center;background:white}:host .title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:18px!important;color:#2b2b2b;margin-top:37px}:host .subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:28px;width:64%}:host img{width:90px;height:90px;margin-top:21px}:host .sonic-container{width:450px}:host .button{margin-top:30px}:host .spinner{animation:rotate 2s linear infinite;z-index:1;position:relative;width:90px;height:90px;margin-top:21px}:host .spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;margin-top:21px}:host .spinner-container{width:450px;height:135px;display:flex;justify-content:center}:host .sa{width:140px;height:140px;padding:26px;background-color:#fff}:host .sa-success{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;margin-bottom:30px;height:80px;padding:0;position:relative;background-color:#fff;width:80px}:host .sa-success:after,:host .sa-success:before{background:#fff;content:"";height:120px;position:absolute;transform:rotate(45deg);width:60px}:host .sa-success:before{border-radius:40px 0 0 40px;width:26px;height:80px;top:-17px;left:5px;transform-origin:60px 60px;transform:rotate(-45deg)}:host .sa-success:after{border-radius:0 120px 120px 0;left:30px;top:-11px;transform-origin:0 60px;transform:rotate(-45deg);animation:rotatePlaceholder 4.25s ease-in}:host .sa-success-placeholder{border-radius:50%;border:4px solid #652bdf;box-sizing:content-box;height:80px;left:-4px;position:absolute;top:-4px;width:80px;z-index:2}:host .sa-success-fix{background-color:#fff;height:90px;left:28px;position:absolute;top:8px;transform:rotate(-45deg);width:5px;z-index:1}:host .sa-success-tip,:host .sa-success-long{background-color:#652bdf!important;border-radius:2px;height:5px;position:absolute;z-index:2}:host .sa-success-tip{left:14px;top:46px;transform:rotate(45deg);width:25px;animation:animateSuccessTip .75s}:host .sa-success-long{right:8px;top:38px;transform:rotate(-45deg);width:47px;animation:animateSuccessLong .75s}@keyframes animateSuccessTip{0%,54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessLong{0%,65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes rotatePlaceholder{0%,5%{transform:rotate(-45deg)}to,12%{transform:rotate(-405deg)}}:host .fade-in-title{animation:fadeOutUp;animation-duration:.5s;animation-fill-mode:both}:host .fade-in-subtitle{animation:fadeOutUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:both}:host .fade-in-button{animation:fadeOutUp;animation-duration:.5s;animation-delay:.4s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20px)}}@media only screen and (max-width: 800px){:host .container{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;background:#f4f4f4;padding-top:29px;z-index:9}:host .card__container{margin-left:30px;margin-right:30px;height:380px}:host .title{font-family:Inter,Arial,"sans-serif";font-weight:600;font-size:16px!important;color:#2b2b2b;margin-top:40px}:host .subtitle{font-family:Inter,Arial,"sans-serif";color:#6a6a6a;font-size:.875rem;line-height:1.25rem;margin-top:18px;width:270px;padding-left:20px;padding-right:20px}:host .sonic-container{width:350px}:host .spinner-container{width:350px;height:135px;display:flex;justify-content:center}}:host .spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:80px;height:80px;margin-bottom:230px}:host .spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
|
|
27280
27296
|
`;
|
|
27281
27297
|
class uc extends Error {
|
|
27282
27298
|
}
|
|
@@ -27302,7 +27318,7 @@ class yS extends uc {
|
|
|
27302
27318
|
super(`Invalid unit ${e}`);
|
|
27303
27319
|
}
|
|
27304
27320
|
}
|
|
27305
|
-
class
|
|
27321
|
+
class Dr extends uc {
|
|
27306
27322
|
}
|
|
27307
27323
|
class da extends uc {
|
|
27308
27324
|
constructor() {
|
|
@@ -28519,9 +28535,9 @@ function Hb(t) {
|
|
|
28519
28535
|
if (t == null)
|
|
28520
28536
|
return null;
|
|
28521
28537
|
if (typeof t != "object")
|
|
28522
|
-
throw new
|
|
28538
|
+
throw new Dr("Week settings must be an object");
|
|
28523
28539
|
if (!Hi(t.firstDay, 1, 7) || !Hi(t.minimalDays, 1, 7) || !Array.isArray(t.weekend) || t.weekend.some((e) => !Hi(e, 1, 7)))
|
|
28524
|
-
throw new
|
|
28540
|
+
throw new Dr("Invalid week settings");
|
|
28525
28541
|
return {
|
|
28526
28542
|
firstDay: t.firstDay,
|
|
28527
28543
|
minimalDays: t.minimalDays,
|
|
@@ -28611,7 +28627,7 @@ function sm(t, e) {
|
|
|
28611
28627
|
function qS(t) {
|
|
28612
28628
|
const e = Number(t);
|
|
28613
28629
|
if (typeof t == "boolean" || t === "" || Number.isNaN(e))
|
|
28614
|
-
throw new
|
|
28630
|
+
throw new Dr(`Invalid unit value ${t}`);
|
|
28615
28631
|
return e;
|
|
28616
28632
|
}
|
|
28617
28633
|
function dg(t, e) {
|
|
@@ -28785,9 +28801,9 @@ const v9 = {
|
|
|
28785
28801
|
FFF: NS,
|
|
28786
28802
|
FFFF: OS
|
|
28787
28803
|
};
|
|
28788
|
-
class
|
|
28804
|
+
class Lr {
|
|
28789
28805
|
static create(e, n = {}) {
|
|
28790
|
-
return new
|
|
28806
|
+
return new Lr(e, n);
|
|
28791
28807
|
}
|
|
28792
28808
|
static parseFormat(e) {
|
|
28793
28809
|
let n = null, r = "", i = !1;
|
|
@@ -28833,7 +28849,7 @@ class Nr {
|
|
|
28833
28849
|
m ? { weekday: h } : { weekday: h, month: "long", day: "numeric" },
|
|
28834
28850
|
"weekday"
|
|
28835
28851
|
), l = (h) => {
|
|
28836
|
-
const m =
|
|
28852
|
+
const m = Lr.macroTokenToFormatOpts(h);
|
|
28837
28853
|
return m ? this.formatWithSystemDefault(e, m) : h;
|
|
28838
28854
|
}, d = (h) => r ? y9(e, h) : s({ era: h }, "era"), p = (h) => {
|
|
28839
28855
|
switch (h) {
|
|
@@ -28962,7 +28978,7 @@ class Nr {
|
|
|
28962
28978
|
return l(h);
|
|
28963
28979
|
}
|
|
28964
28980
|
};
|
|
28965
|
-
return UB(
|
|
28981
|
+
return UB(Lr.parseFormat(n), p);
|
|
28966
28982
|
}
|
|
28967
28983
|
formatDurationFromString(e, n) {
|
|
28968
28984
|
const r = (A) => {
|
|
@@ -28989,7 +29005,7 @@ class Nr {
|
|
|
28989
29005
|
}, i = (A) => (c) => {
|
|
28990
29006
|
const l = r(c);
|
|
28991
29007
|
return l ? this.num(A.get(l), c.length) : c;
|
|
28992
|
-
}, s =
|
|
29008
|
+
}, s = Lr.parseFormat(n), o = s.reduce(
|
|
28993
29009
|
(A, { literal: c, val: l }) => c ? A : A.concat(l),
|
|
28994
29010
|
[]
|
|
28995
29011
|
), a = e.shiftTo(...o.map(r).filter((A) => A));
|
|
@@ -29355,7 +29371,7 @@ class Pt {
|
|
|
29355
29371
|
*/
|
|
29356
29372
|
static fromObject(e, n = {}) {
|
|
29357
29373
|
if (e == null || typeof e != "object")
|
|
29358
|
-
throw new
|
|
29374
|
+
throw new Dr(
|
|
29359
29375
|
`Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
|
|
29360
29376
|
);
|
|
29361
29377
|
return new Pt({
|
|
@@ -29382,7 +29398,7 @@ class Pt {
|
|
|
29382
29398
|
return e;
|
|
29383
29399
|
if (typeof e == "object")
|
|
29384
29400
|
return Pt.fromObject(e);
|
|
29385
|
-
throw new
|
|
29401
|
+
throw new Dr(
|
|
29386
29402
|
`Unknown duration argument ${e} of type ${typeof e}`
|
|
29387
29403
|
);
|
|
29388
29404
|
}
|
|
@@ -29432,7 +29448,7 @@ class Pt {
|
|
|
29432
29448
|
*/
|
|
29433
29449
|
static invalid(e, n = null) {
|
|
29434
29450
|
if (!e)
|
|
29435
|
-
throw new
|
|
29451
|
+
throw new Dr("need to specify a reason the Duration is invalid");
|
|
29436
29452
|
const r = e instanceof bs ? e : new bs(e, n);
|
|
29437
29453
|
if (Cn.throwOnInvalid)
|
|
29438
29454
|
throw new TH(r);
|
|
@@ -29515,7 +29531,7 @@ class Pt {
|
|
|
29515
29531
|
const r = sn(Je({}, n), {
|
|
29516
29532
|
floor: n.round !== !1 && n.floor !== !1
|
|
29517
29533
|
});
|
|
29518
|
-
return this.isValid ?
|
|
29534
|
+
return this.isValid ? Lr.create(this.loc, r).formatDurationFromString(this, e) : DB;
|
|
29519
29535
|
}
|
|
29520
29536
|
/**
|
|
29521
29537
|
* Returns a string representation of a Duration with all units included.
|
|
@@ -29926,7 +29942,7 @@ class vn {
|
|
|
29926
29942
|
*/
|
|
29927
29943
|
static invalid(e, n = null) {
|
|
29928
29944
|
if (!e)
|
|
29929
|
-
throw new
|
|
29945
|
+
throw new Dr("need to specify a reason the Interval is invalid");
|
|
29930
29946
|
const r = e instanceof bs ? e : new bs(e, n);
|
|
29931
29947
|
if (Cn.throwOnInvalid)
|
|
29932
29948
|
throw new UH(r);
|
|
@@ -30294,7 +30310,7 @@ class vn {
|
|
|
30294
30310
|
* @return {string}
|
|
30295
30311
|
*/
|
|
30296
30312
|
toLocaleString(e = cg, n = {}) {
|
|
30297
|
-
return this.isValid ?
|
|
30313
|
+
return this.isValid ? Lr.create(this.s.loc.clone(n), e).formatInterval(this) : Wc;
|
|
30298
30314
|
}
|
|
30299
30315
|
/**
|
|
30300
30316
|
* Returns an ISO 8601-compliant string representation of this Interval.
|
|
@@ -30829,7 +30845,7 @@ function wj() {
|
|
|
30829
30845
|
function Bj(t, e) {
|
|
30830
30846
|
if (t.literal)
|
|
30831
30847
|
return t;
|
|
30832
|
-
const n =
|
|
30848
|
+
const n = Lr.macroTokenToFormatOpts(t.val), r = fE(n, e);
|
|
30833
30849
|
return r == null || r.includes(void 0) ? t : r;
|
|
30834
30850
|
}
|
|
30835
30851
|
function uE(t, e) {
|
|
@@ -30837,7 +30853,7 @@ function uE(t, e) {
|
|
|
30837
30853
|
}
|
|
30838
30854
|
class dE {
|
|
30839
30855
|
constructor(e, n) {
|
|
30840
|
-
if (this.locale = e, this.format = n, this.tokens = uE(
|
|
30856
|
+
if (this.locale = e, this.format = n, this.tokens = uE(Lr.parseFormat(n), e), this.units = this.tokens.map((r) => pj(r, e)), this.disqualifyingUnit = this.units.find((r) => r.invalidReason), !this.disqualifyingUnit) {
|
|
30841
30857
|
const [r, i] = yj(this.units);
|
|
30842
30858
|
this.regex = RegExp(r, "i"), this.handlers = i;
|
|
30843
30859
|
}
|
|
@@ -30879,7 +30895,7 @@ function xj(t, e, n) {
|
|
|
30879
30895
|
function fE(t, e) {
|
|
30880
30896
|
if (!t)
|
|
30881
30897
|
return null;
|
|
30882
|
-
const r =
|
|
30898
|
+
const r = Lr.create(e, t).dtFormatter(wj()), i = r.formatToParts(), s = r.resolvedOptions();
|
|
30883
30899
|
return i.map((o) => mj(o, t, s));
|
|
30884
30900
|
}
|
|
30885
30901
|
const ny = "Invalid DateTime", OB = 864e13;
|
|
@@ -30965,7 +30981,7 @@ function Yc(t, e, n, r, i, s) {
|
|
|
30965
30981
|
);
|
|
30966
30982
|
}
|
|
30967
30983
|
function Df(t, e, n = !0) {
|
|
30968
|
-
return t.isValid ?
|
|
30984
|
+
return t.isValid ? Lr.create(Gt.create("en-US"), {
|
|
30969
30985
|
allowZ: n,
|
|
30970
30986
|
forceSimple: !0
|
|
30971
30987
|
}).formatDateTimeFromString(t, e) : null;
|
|
@@ -31211,7 +31227,7 @@ class ft {
|
|
|
31211
31227
|
zone: Sa(n.zone, Cn.defaultZone),
|
|
31212
31228
|
loc: Gt.fromObject(n)
|
|
31213
31229
|
});
|
|
31214
|
-
throw new
|
|
31230
|
+
throw new Dr(
|
|
31215
31231
|
`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
|
|
31216
31232
|
);
|
|
31217
31233
|
}
|
|
@@ -31233,7 +31249,7 @@ class ft {
|
|
|
31233
31249
|
zone: Sa(n.zone, Cn.defaultZone),
|
|
31234
31250
|
loc: Gt.fromObject(n)
|
|
31235
31251
|
});
|
|
31236
|
-
throw new
|
|
31252
|
+
throw new Dr("fromSeconds requires a numerical input");
|
|
31237
31253
|
}
|
|
31238
31254
|
/**
|
|
31239
31255
|
* Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
|
|
@@ -31378,7 +31394,7 @@ class ft {
|
|
|
31378
31394
|
*/
|
|
31379
31395
|
static fromFormat(e, n, r = {}) {
|
|
31380
31396
|
if (pt(e) || pt(n))
|
|
31381
|
-
throw new
|
|
31397
|
+
throw new Dr("fromFormat requires an input string and a format");
|
|
31382
31398
|
const { locale: i = null, numberingSystem: s = null } = r, o = Gt.fromOpts({
|
|
31383
31399
|
locale: i,
|
|
31384
31400
|
numberingSystem: s,
|
|
@@ -31425,7 +31441,7 @@ class ft {
|
|
|
31425
31441
|
*/
|
|
31426
31442
|
static invalid(e, n = null) {
|
|
31427
31443
|
if (!e)
|
|
31428
|
-
throw new
|
|
31444
|
+
throw new Dr("need to specify a reason the DateTime is invalid");
|
|
31429
31445
|
const r = e instanceof bs ? e : new bs(e, n);
|
|
31430
31446
|
if (Cn.throwOnInvalid)
|
|
31431
31447
|
throw new FH(r);
|
|
@@ -31457,7 +31473,7 @@ class ft {
|
|
|
31457
31473
|
* @returns {string}
|
|
31458
31474
|
*/
|
|
31459
31475
|
static expandFormat(e, n = {}) {
|
|
31460
|
-
return uE(
|
|
31476
|
+
return uE(Lr.parseFormat(e), Gt.fromObject(n)).map((i) => i.val).join("");
|
|
31461
31477
|
}
|
|
31462
31478
|
static resetCache() {
|
|
31463
31479
|
vp = void 0, wp = {};
|
|
@@ -31821,7 +31837,7 @@ class ft {
|
|
|
31821
31837
|
* @return {Object}
|
|
31822
31838
|
*/
|
|
31823
31839
|
resolvedLocaleOptions(e = {}) {
|
|
31824
|
-
const { locale: n, numberingSystem: r, calendar: i } =
|
|
31840
|
+
const { locale: n, numberingSystem: r, calendar: i } = Lr.create(
|
|
31825
31841
|
this.loc.clone(e),
|
|
31826
31842
|
e
|
|
31827
31843
|
).resolvedOptions(this);
|
|
@@ -32026,7 +32042,7 @@ class ft {
|
|
|
32026
32042
|
* @return {string}
|
|
32027
32043
|
*/
|
|
32028
32044
|
toFormat(e, n = {}) {
|
|
32029
|
-
return this.isValid ?
|
|
32045
|
+
return this.isValid ? Lr.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this, e) : ny;
|
|
32030
32046
|
}
|
|
32031
32047
|
/**
|
|
32032
32048
|
* Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
|
|
@@ -32048,7 +32064,7 @@ class ft {
|
|
|
32048
32064
|
* @return {string}
|
|
32049
32065
|
*/
|
|
32050
32066
|
toLocaleString(e = cg, n = {}) {
|
|
32051
|
-
return this.isValid ?
|
|
32067
|
+
return this.isValid ? Lr.create(this.loc.clone(n), e).formatDateTime(this) : ny;
|
|
32052
32068
|
}
|
|
32053
32069
|
/**
|
|
32054
32070
|
* Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
|
|
@@ -32064,7 +32080,7 @@ class ft {
|
|
|
32064
32080
|
* //=> ]
|
|
32065
32081
|
*/
|
|
32066
32082
|
toLocaleParts(e = {}) {
|
|
32067
|
-
return this.isValid ?
|
|
32083
|
+
return this.isValid ? Lr.create(this.loc.clone(e), e).formatDateTimeParts(this) : [];
|
|
32068
32084
|
}
|
|
32069
32085
|
/**
|
|
32070
32086
|
* Returns an ISO 8601-compliant string representation of this DateTime
|
|
@@ -32403,7 +32419,7 @@ class ft {
|
|
|
32403
32419
|
*/
|
|
32404
32420
|
static min(...e) {
|
|
32405
32421
|
if (!e.every(ft.isDateTime))
|
|
32406
|
-
throw new
|
|
32422
|
+
throw new Dr("min requires all arguments be DateTimes");
|
|
32407
32423
|
return IB(e, (n) => n.valueOf(), Math.min);
|
|
32408
32424
|
}
|
|
32409
32425
|
/**
|
|
@@ -32413,7 +32429,7 @@ class ft {
|
|
|
32413
32429
|
*/
|
|
32414
32430
|
static max(...e) {
|
|
32415
32431
|
if (!e.every(ft.isDateTime))
|
|
32416
|
-
throw new
|
|
32432
|
+
throw new Dr("max requires all arguments be DateTimes");
|
|
32417
32433
|
return IB(e, (n) => n.valueOf(), Math.max);
|
|
32418
32434
|
}
|
|
32419
32435
|
// MISC
|
|
@@ -32470,7 +32486,7 @@ class ft {
|
|
|
32470
32486
|
*/
|
|
32471
32487
|
static fromFormatParser(e, n, r = {}) {
|
|
32472
32488
|
if (pt(e) || pt(n))
|
|
32473
|
-
throw new
|
|
32489
|
+
throw new Dr(
|
|
32474
32490
|
"fromFormatParser requires an input string and a format parser"
|
|
32475
32491
|
);
|
|
32476
32492
|
const { locale: i = null, numberingSystem: s = null } = r, o = Gt.fromOpts({
|
|
@@ -32479,7 +32495,7 @@ class ft {
|
|
|
32479
32495
|
defaultToEN: !0
|
|
32480
32496
|
});
|
|
32481
32497
|
if (!o.equals(n.locale))
|
|
32482
|
-
throw new
|
|
32498
|
+
throw new Dr(
|
|
32483
32499
|
`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`
|
|
32484
32500
|
);
|
|
32485
32501
|
const { result: a, zone: A, specificOffset: c, invalidReason: l } = n.explainFromTokens(e);
|
|
@@ -32655,7 +32671,7 @@ function $u(t) {
|
|
|
32655
32671
|
return ft.fromJSDate(t);
|
|
32656
32672
|
if (t && typeof t == "object")
|
|
32657
32673
|
return ft.fromObject(t);
|
|
32658
|
-
throw new
|
|
32674
|
+
throw new Dr(
|
|
32659
32675
|
`Unknown datetime argument: ${t}, of type ${typeof t}`
|
|
32660
32676
|
);
|
|
32661
32677
|
}
|
|
@@ -32697,16 +32713,19 @@ let _n = class t extends nt {
|
|
|
32697
32713
|
_getPaymentRequest() {
|
|
32698
32714
|
return Te(this, null, function* () {
|
|
32699
32715
|
try {
|
|
32700
|
-
const n = (yield ic(this._payfacContextData.paymentRequest)).plans.cards
|
|
32701
|
-
|
|
32702
|
-
|
|
32703
|
-
|
|
32704
|
-
|
|
32705
|
-
|
|
32706
|
-
|
|
32716
|
+
const n = (yield ic(this._payfacContextData.paymentRequest)).plans.cards;
|
|
32717
|
+
if (n) {
|
|
32718
|
+
const s = [...new Set(n.map((o) => o.name))];
|
|
32719
|
+
this._statePaymentManualInput.cardsAccepted = s;
|
|
32720
|
+
}
|
|
32721
|
+
const r = this._payfacContextData.paymentRequest;
|
|
32722
|
+
this._statePaymentManualInput.statePaymentRequest = r;
|
|
32723
|
+
const i = W6(r);
|
|
32724
|
+
if (i.error) {
|
|
32725
|
+
this.stateStatus.title = i.message.title, this.stateStatus.subtitle = i.message.subtitle, this.stateStatus.icon = i.message.icon, this.stateStatus.showButton = i.message.showButton, this.stateStatus.status = i.status, this.createEvent("button-pushed", Ht.STATUS);
|
|
32707
32726
|
return;
|
|
32708
32727
|
}
|
|
32709
|
-
yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page =
|
|
32728
|
+
yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = r !== null ? Ht.MANUAL_INPUT : Ht.CARD_LIST, this._statePaymentManualInput.statePaymentRequest = r, this.stateManualInputProps = Je({}, this.stateManualInputProps), this.createEvent("button-pushed", this._statePaymentManualInput.page), this.requestUpdate();
|
|
32710
32729
|
} catch (e) {
|
|
32711
32730
|
console.log(e);
|
|
32712
32731
|
}
|
|
@@ -32947,7 +32966,7 @@ function jr(t, e, n, r) {
|
|
|
32947
32966
|
c((r = r.apply(t, e || [])).next());
|
|
32948
32967
|
});
|
|
32949
32968
|
}
|
|
32950
|
-
function
|
|
32969
|
+
function Tr(t, e) {
|
|
32951
32970
|
var n = { label: 0, sent: function() {
|
|
32952
32971
|
if (s[0] & 1)
|
|
32953
32972
|
throw s[1];
|
|
@@ -33268,12 +33287,12 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33268
33287
|
return { done: !0, value: null };
|
|
33269
33288
|
}
|
|
33270
33289
|
};
|
|
33271
|
-
}, mz = 1, yz = 2, hh = 4, ix = 8, hg = 10, sx = 47, yd = 92, bz = 9, vz = 32, Hf = 34, Wu = 61, wz = 35, Bz = 36, xz = 37, jf = 39, zf = 40, Yu = 41, Cz = 95, ti = 45, _z = 33, Sz = 60, Ez = 62, Iz = 64, Fz = 91, Uz = 93, Tz = 61, Dz = 123, Kf = 63, kz = 125, ox = 124, Lz = 126, Nz = 128, ax = 65533, uy = 42, RA = 43, Pz = 44, Oz = 58, Qz = 59, Kd = 46, Rz = 0, Mz = 8, Hz = 11, jz = 14, zz = 31, Kz = 127, Vs = -1, _E = 48, SE = 97, EE = 101, Vz = 102, $z = 117, qz = 122, IE = 65, FE = 69, UE = 70, Gz = 85, Wz = 90,
|
|
33290
|
+
}, mz = 1, yz = 2, hh = 4, ix = 8, hg = 10, sx = 47, yd = 92, bz = 9, vz = 32, Hf = 34, Wu = 61, wz = 35, Bz = 36, xz = 37, jf = 39, zf = 40, Yu = 41, Cz = 95, ti = 45, _z = 33, Sz = 60, Ez = 62, Iz = 64, Fz = 91, Uz = 93, Tz = 61, Dz = 123, Kf = 63, kz = 125, ox = 124, Lz = 126, Nz = 128, ax = 65533, uy = 42, RA = 43, Pz = 44, Oz = 58, Qz = 59, Kd = 46, Rz = 0, Mz = 8, Hz = 11, jz = 14, zz = 31, Kz = 127, Vs = -1, _E = 48, SE = 97, EE = 101, Vz = 102, $z = 117, qz = 122, IE = 65, FE = 69, UE = 70, Gz = 85, Wz = 90, kr = function(t) {
|
|
33272
33291
|
return t >= _E && t <= 57;
|
|
33273
33292
|
}, Yz = function(t) {
|
|
33274
33293
|
return t >= 55296 && t <= 57343;
|
|
33275
33294
|
}, Zc = function(t) {
|
|
33276
|
-
return
|
|
33295
|
+
return kr(t) || t >= IE && t <= UE || t >= SE && t <= Vz;
|
|
33277
33296
|
}, Jz = function(t) {
|
|
33278
33297
|
return t >= SE && t <= qz;
|
|
33279
33298
|
}, Xz = function(t) {
|
|
@@ -33287,7 +33306,7 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33287
33306
|
}, fg = function(t) {
|
|
33288
33307
|
return Zz(t) || eK(t) || t === Cz;
|
|
33289
33308
|
}, Ax = function(t) {
|
|
33290
|
-
return fg(t) ||
|
|
33309
|
+
return fg(t) || kr(t) || t === ti;
|
|
33291
33310
|
}, tK = function(t) {
|
|
33292
33311
|
return t >= Rz && t <= Mz || t === Hz || t >= jz && t <= zz || t === Kz;
|
|
33293
33312
|
}, Ca = function(t, e) {
|
|
@@ -33295,21 +33314,21 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33295
33314
|
}, $f = function(t, e, n) {
|
|
33296
33315
|
return t === ti ? fg(e) || Ca(e, n) : fg(t) ? !0 : !!(t === yd && Ca(t, e));
|
|
33297
33316
|
}, dy = function(t, e, n) {
|
|
33298
|
-
return t === RA || t === ti ?
|
|
33317
|
+
return t === RA || t === ti ? kr(e) ? !0 : e === Kd && kr(n) : kr(t === Kd ? e : t);
|
|
33299
33318
|
}, nK = function(t) {
|
|
33300
33319
|
var e = 0, n = 1;
|
|
33301
33320
|
(t[e] === RA || t[e] === ti) && (t[e] === ti && (n = -1), e++);
|
|
33302
|
-
for (var r = [];
|
|
33321
|
+
for (var r = []; kr(t[e]); )
|
|
33303
33322
|
r.push(t[e++]);
|
|
33304
33323
|
var i = r.length ? parseInt(Fn.apply(void 0, r), 10) : 0;
|
|
33305
33324
|
t[e] === Kd && e++;
|
|
33306
|
-
for (var s = [];
|
|
33325
|
+
for (var s = []; kr(t[e]); )
|
|
33307
33326
|
s.push(t[e++]);
|
|
33308
33327
|
var o = s.length, a = o ? parseInt(Fn.apply(void 0, s), 10) : 0;
|
|
33309
33328
|
(t[e] === FE || t[e] === EE) && e++;
|
|
33310
33329
|
var A = 1;
|
|
33311
33330
|
(t[e] === RA || t[e] === ti) && (t[e] === ti && (A = -1), e++);
|
|
33312
|
-
for (var c = [];
|
|
33331
|
+
for (var c = []; kr(t[e]); )
|
|
33313
33332
|
c.push(t[e++]);
|
|
33314
33333
|
var l = c.length ? parseInt(Fn.apply(void 0, c), 10) : 0;
|
|
33315
33334
|
return n * (i + a * Math.pow(10, -o)) * Math.pow(10, A * l);
|
|
@@ -33491,7 +33510,7 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33491
33510
|
case Vs:
|
|
33492
33511
|
return t1;
|
|
33493
33512
|
}
|
|
33494
|
-
return Vf(e) ? (this.consumeWhiteSpace(), wK) :
|
|
33513
|
+
return Vf(e) ? (this.consumeWhiteSpace(), wK) : kr(e) ? (this.reconsumeCodePoint(e), this.consumeNumericToken()) : fg(e) ? (this.reconsumeCodePoint(e), this.consumeIdentLikeToken()) : { type: 6, value: Fn(e) };
|
|
33495
33514
|
}, t.prototype.consumeCodePoint = function() {
|
|
33496
33515
|
var e = this._value.shift();
|
|
33497
33516
|
return typeof e == "undefined" ? -1 : e;
|
|
@@ -33581,17 +33600,17 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33581
33600
|
} while (!0);
|
|
33582
33601
|
}, t.prototype.consumeNumber = function() {
|
|
33583
33602
|
var e = [], n = hh, r = this.peekCodePoint(0);
|
|
33584
|
-
for ((r === RA || r === ti) && e.push(this.consumeCodePoint());
|
|
33603
|
+
for ((r === RA || r === ti) && e.push(this.consumeCodePoint()); kr(this.peekCodePoint(0)); )
|
|
33585
33604
|
e.push(this.consumeCodePoint());
|
|
33586
33605
|
r = this.peekCodePoint(0);
|
|
33587
33606
|
var i = this.peekCodePoint(1);
|
|
33588
|
-
if (r === Kd &&
|
|
33589
|
-
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = ix;
|
|
33607
|
+
if (r === Kd && kr(i))
|
|
33608
|
+
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = ix; kr(this.peekCodePoint(0)); )
|
|
33590
33609
|
e.push(this.consumeCodePoint());
|
|
33591
33610
|
r = this.peekCodePoint(0), i = this.peekCodePoint(1);
|
|
33592
33611
|
var s = this.peekCodePoint(2);
|
|
33593
|
-
if ((r === FE || r === EE) && ((i === RA || i === ti) &&
|
|
33594
|
-
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = ix;
|
|
33612
|
+
if ((r === FE || r === EE) && ((i === RA || i === ti) && kr(s) || kr(i)))
|
|
33613
|
+
for (e.push(this.consumeCodePoint(), this.consumeCodePoint()), n = ix; kr(this.peekCodePoint(0)); )
|
|
33595
33614
|
e.push(this.consumeCodePoint());
|
|
33596
33615
|
return [nK(e), n];
|
|
33597
33616
|
}, t.prototype.consumeNumericToken = function() {
|
|
@@ -36362,7 +36381,7 @@ var x$ = 1, gy = 2, my = 3, wx = 4, Bx = 5, C$ = 7, xx = 8, yy = 9, by = 10, Cx
|
|
|
36362
36381
|
var s = e.defaultView.pageXOffset, o = e.defaultView.pageYOffset, a = i.contentWindow, A = a.document, c = hq(i).then(function() {
|
|
36363
36382
|
return jr(r, void 0, void 0, function() {
|
|
36364
36383
|
var l, d;
|
|
36365
|
-
return
|
|
36384
|
+
return Tr(this, function(p) {
|
|
36366
36385
|
switch (p.label) {
|
|
36367
36386
|
case 0:
|
|
36368
36387
|
return this.scrolledElements.forEach(mq), 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))), l = this.options.onclone, d = this.clonedReferenceElement, typeof d == "undefined" ? [2, Promise.reject("Error finding the " + this.referenceElement.nodeName + " in the cloned document")] : A.fonts && A.fonts.ready ? [4, A.fonts.ready] : [3, 2];
|
|
@@ -36630,7 +36649,7 @@ var lq = function(t, e) {
|
|
|
36630
36649
|
}, t.prototype.loadImage = function(e) {
|
|
36631
36650
|
return jr(this, void 0, void 0, function() {
|
|
36632
36651
|
var n, r, i, s, o = this;
|
|
36633
|
-
return
|
|
36652
|
+
return Tr(this, function(a) {
|
|
36634
36653
|
switch (a.label) {
|
|
36635
36654
|
case 0:
|
|
36636
36655
|
return n = f4.isSameOrigin(e), r = !Cy(e) && this._options.useCORS === !0 && br.SUPPORT_CORS_IMAGES && !n, i = !Cy(e) && !n && !_y(e) && typeof this._options.proxy == "string" && br.SUPPORT_CORS_XHR && !r, !n && this._options.allowTaint === !1 && !Cy(e) && !_y(e) && !i && !r ? [
|
|
@@ -37133,7 +37152,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37133
37152
|
}, e.prototype.renderStack = function(n) {
|
|
37134
37153
|
return jr(this, void 0, void 0, function() {
|
|
37135
37154
|
var r;
|
|
37136
|
-
return
|
|
37155
|
+
return Tr(this, function(i) {
|
|
37137
37156
|
switch (i.label) {
|
|
37138
37157
|
case 0:
|
|
37139
37158
|
return r = n.element.container.styles, r.isVisible() ? [4, this.renderStackContent(n)] : [3, 2];
|
|
@@ -37149,7 +37168,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37149
37168
|
});
|
|
37150
37169
|
}, e.prototype.renderNode = function(n) {
|
|
37151
37170
|
return jr(this, void 0, void 0, function() {
|
|
37152
|
-
return
|
|
37171
|
+
return Tr(this, function(r) {
|
|
37153
37172
|
switch (r.label) {
|
|
37154
37173
|
case 0:
|
|
37155
37174
|
if (Xn(
|
|
@@ -37193,7 +37212,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37193
37212
|
}, e.prototype.renderTextNode = function(n, r) {
|
|
37194
37213
|
return jr(this, void 0, void 0, function() {
|
|
37195
37214
|
var i, s, o, a, A, c, l, d, p = this;
|
|
37196
|
-
return
|
|
37215
|
+
return Tr(this, function(h) {
|
|
37197
37216
|
return i = this.createFontStyle(r), s = i[0], o = i[1], a = i[2], this.ctx.font = s, this.ctx.direction = r.direction === 1 ? "rtl" : "ltr", this.ctx.textAlign = "left", this.ctx.textBaseline = "alphabetic", A = this.fontMetrics.getMetrics(o, a), c = A.baseline, l = A.middle, d = r.paintOrder, n.textBounds.forEach(function(m) {
|
|
37198
37217
|
d.forEach(function(b) {
|
|
37199
37218
|
switch (b) {
|
|
@@ -37235,7 +37254,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37235
37254
|
}, e.prototype.renderNodeContent = function(n) {
|
|
37236
37255
|
return jr(this, void 0, void 0, function() {
|
|
37237
37256
|
var r, i, s, o, a, A, _, _, c, l, d, p, M, h, m, V, b, x, v, _, U, M, V;
|
|
37238
|
-
return
|
|
37257
|
+
return Tr(this, function(j) {
|
|
37239
37258
|
switch (j.label) {
|
|
37240
37259
|
case 0:
|
|
37241
37260
|
this.applyEffects(n.getEffects(
|
|
@@ -37336,7 +37355,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37336
37355
|
}, e.prototype.renderStackContent = function(n) {
|
|
37337
37356
|
return jr(this, void 0, void 0, function() {
|
|
37338
37357
|
var r, i, v, s, o, v, a, A, v, c, l, v, d, p, v, h, m, v, b, x, v;
|
|
37339
|
-
return
|
|
37358
|
+
return Tr(this, function(_) {
|
|
37340
37359
|
switch (_.label) {
|
|
37341
37360
|
case 0:
|
|
37342
37361
|
if (Xn(
|
|
@@ -37435,12 +37454,12 @@ var fn = function(t, e, n, r, i) {
|
|
|
37435
37454
|
}, e.prototype.renderBackgroundImage = function(n) {
|
|
37436
37455
|
return jr(this, void 0, void 0, function() {
|
|
37437
37456
|
var r, i, s, o, a, A;
|
|
37438
|
-
return
|
|
37457
|
+
return Tr(this, function(c) {
|
|
37439
37458
|
switch (c.label) {
|
|
37440
37459
|
case 0:
|
|
37441
37460
|
r = n.styles.backgroundImage.length - 1, i = function(l) {
|
|
37442
37461
|
var d, p, h, Ae, ue, ve, q, W, P, m, Ae, ue, ve, q, W, b, x, v, _, U, M, V, j, H, P, ee, Ae, N, R, q, W, me, ue, ve, de, Ce, oe, Be, S, z, $, Z;
|
|
37443
|
-
return
|
|
37462
|
+
return Tr(this, function(ne) {
|
|
37444
37463
|
switch (ne.label) {
|
|
37445
37464
|
case 0:
|
|
37446
37465
|
if (l.type !== 0)
|
|
@@ -37492,7 +37511,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37492
37511
|
});
|
|
37493
37512
|
}, e.prototype.renderSolidBorder = function(n, r, i) {
|
|
37494
37513
|
return jr(this, void 0, void 0, function() {
|
|
37495
|
-
return
|
|
37514
|
+
return Tr(this, function(s) {
|
|
37496
37515
|
return this.path(zx(i, r)), this.ctx.fillStyle = Ar(n), this.ctx.fill(), [
|
|
37497
37516
|
2
|
|
37498
37517
|
/*return*/
|
|
@@ -37502,7 +37521,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37502
37521
|
}, e.prototype.renderDoubleBorder = function(n, r, i, s) {
|
|
37503
37522
|
return jr(this, void 0, void 0, function() {
|
|
37504
37523
|
var o, a;
|
|
37505
|
-
return
|
|
37524
|
+
return Tr(this, function(A) {
|
|
37506
37525
|
switch (A.label) {
|
|
37507
37526
|
case 0:
|
|
37508
37527
|
return r < 3 ? [4, this.renderSolidBorder(n, i, s)] : [3, 2];
|
|
@@ -37522,7 +37541,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37522
37541
|
}, e.prototype.renderNodeBackgroundAndBorders = function(n) {
|
|
37523
37542
|
return jr(this, void 0, void 0, function() {
|
|
37524
37543
|
var r, i, s, o, a, A, c, l, d = this;
|
|
37525
|
-
return
|
|
37544
|
+
return Tr(this, function(p) {
|
|
37526
37545
|
switch (p.label) {
|
|
37527
37546
|
case 0:
|
|
37528
37547
|
return this.applyEffects(n.getEffects(
|
|
@@ -37587,7 +37606,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37587
37606
|
}, e.prototype.renderDashedDottedBorder = function(n, r, i, s, o) {
|
|
37588
37607
|
return jr(this, void 0, void 0, function() {
|
|
37589
37608
|
var a, A, c, l, d, p, h, m, b, x, v, _, U, M, V, j, V, j;
|
|
37590
|
-
return
|
|
37609
|
+
return Tr(this, function(H) {
|
|
37591
37610
|
return this.ctx.save(), a = Rq(s, i), A = zx(s, i), o === 2 && (this.path(A), this.ctx.clip()), Pi(A[0]) ? (c = A[0].start.x, l = A[0].start.y) : (c = A[0].x, l = A[0].y), Pi(A[1]) ? (d = A[1].end.x, p = A[1].end.y) : (d = A[1].x, p = A[1].y), i === 0 || i === 2 ? h = Math.abs(c - d) : h = Math.abs(l - p), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(A.slice(0, 2)), m = r < 3 ? r * 3 : r * 2, b = r < 3 ? r * 2 : r, o === 3 && (m = r, b = r), x = !0, h <= m * 2 ? x = !1 : h <= m * 2 + b ? (v = h / (2 * m + b), m *= v, b *= v) : (_ = Math.floor((h + b) / (m + b)), U = (h - _ * m) / (_ - 1), M = (h - (_ + 1) * m) / _, b = M <= 0 || Math.abs(b - U) < Math.abs(b - M) ? U : M), x && (o === 3 ? this.ctx.setLineDash([0, m + b]) : this.ctx.setLineDash([m, b])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle = Ar(n), this.ctx.stroke(), this.ctx.setLineDash([]), o === 2 && (Pi(A[0]) && (V = A[3], j = A[0], this.ctx.beginPath(), this.formatPath([new Ve(V.end.x, V.end.y), new Ve(j.start.x, j.start.y)]), this.ctx.stroke()), Pi(A[1]) && (V = A[1], j = A[2], this.ctx.beginPath(), this.formatPath([new Ve(V.end.x, V.end.y), new Ve(j.start.x, j.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
37592
37611
|
2
|
|
37593
37612
|
/*return*/
|
|
@@ -37597,7 +37616,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37597
37616
|
}, e.prototype.render = function(n) {
|
|
37598
37617
|
return jr(this, void 0, void 0, function() {
|
|
37599
37618
|
var r;
|
|
37600
|
-
return
|
|
37619
|
+
return Tr(this, function(i) {
|
|
37601
37620
|
switch (i.label) {
|
|
37602
37621
|
case 0:
|
|
37603
37622
|
return this.options.backgroundColor && (this.ctx.fillStyle = Ar(this.options.backgroundColor), this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height)), r = Pq(n), [4, this.renderStack(r)];
|
|
@@ -37645,7 +37664,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37645
37664
|
return e.prototype.render = function(n) {
|
|
37646
37665
|
return jr(this, void 0, void 0, function() {
|
|
37647
37666
|
var r, i;
|
|
37648
|
-
return
|
|
37667
|
+
return Tr(this, function(s) {
|
|
37649
37668
|
switch (s.label) {
|
|
37650
37669
|
case 0:
|
|
37651
37670
|
return r = s1(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, n), [4, eG(r)];
|
|
@@ -37706,7 +37725,7 @@ typeof window != "undefined" && f4.setContext(window);
|
|
|
37706
37725
|
var rG = function(t, e) {
|
|
37707
37726
|
return jr(void 0, void 0, void 0, function() {
|
|
37708
37727
|
var n, r, i, s, o, a, A, c, l, d, p, h, m, b, x, v, _, U, M, V, H, j, H, P, ee, Ae, N, R, q, W, me, ue, ve, de, Ce, oe, Be, S, z, $;
|
|
37709
|
-
return
|
|
37728
|
+
return Tr(this, function(Z) {
|
|
37710
37729
|
switch (Z.label) {
|
|
37711
37730
|
case 0:
|
|
37712
37731
|
if (!t || typeof t != "object")
|
|
@@ -38359,21 +38378,21 @@ function E4(t) {
|
|
|
38359
38378
|
*/
|
|
38360
38379
|
function Dy(t, e) {
|
|
38361
38380
|
var n = t[0], r = t[1], i = t[2], s = t[3];
|
|
38362
|
-
n =
|
|
38381
|
+
n = Er(n, r, i, s, e[0], 7, -680876936), s = Er(s, n, r, i, e[1], 12, -389564586), i = Er(i, s, n, r, e[2], 17, 606105819), r = Er(r, i, s, n, e[3], 22, -1044525330), n = Er(n, r, i, s, e[4], 7, -176418897), s = Er(s, n, r, i, e[5], 12, 1200080426), i = Er(i, s, n, r, e[6], 17, -1473231341), r = Er(r, i, s, n, e[7], 22, -45705983), n = Er(n, r, i, s, e[8], 7, 1770035416), s = Er(s, n, r, i, e[9], 12, -1958414417), i = Er(i, s, n, r, e[10], 17, -42063), r = Er(r, i, s, n, e[11], 22, -1990404162), n = Er(n, r, i, s, e[12], 7, 1804603682), s = Er(s, n, r, i, e[13], 12, -40341101), i = Er(i, s, n, r, e[14], 17, -1502002290), n = Ir(n, r = Er(r, i, s, n, e[15], 22, 1236535329), i, s, e[1], 5, -165796510), s = Ir(s, n, r, i, e[6], 9, -1069501632), i = Ir(i, s, n, r, e[11], 14, 643717713), r = Ir(r, i, s, n, e[0], 20, -373897302), n = Ir(n, r, i, s, e[5], 5, -701558691), s = Ir(s, n, r, i, e[10], 9, 38016083), i = Ir(i, s, n, r, e[15], 14, -660478335), r = Ir(r, i, s, n, e[4], 20, -405537848), n = Ir(n, r, i, s, e[9], 5, 568446438), s = Ir(s, n, r, i, e[14], 9, -1019803690), i = Ir(i, s, n, r, e[3], 14, -187363961), r = Ir(r, i, s, n, e[8], 20, 1163531501), n = Ir(n, r, i, s, e[13], 5, -1444681467), s = Ir(s, n, r, i, e[2], 9, -51403784), i = Ir(i, s, n, r, e[7], 14, 1735328473), n = Fr(n, r = Ir(r, i, s, n, e[12], 20, -1926607734), i, s, e[5], 4, -378558), s = Fr(s, n, r, i, e[8], 11, -2022574463), i = Fr(i, s, n, r, e[11], 16, 1839030562), r = Fr(r, i, s, n, e[14], 23, -35309556), n = Fr(n, r, i, s, e[1], 4, -1530992060), s = Fr(s, n, r, i, e[4], 11, 1272893353), i = Fr(i, s, n, r, e[7], 16, -155497632), r = Fr(r, i, s, n, e[10], 23, -1094730640), n = Fr(n, r, i, s, e[13], 4, 681279174), s = Fr(s, n, r, i, e[0], 11, -358537222), i = Fr(i, s, n, r, e[3], 16, -722521979), r = Fr(r, i, s, n, e[6], 23, 76029189), n = Fr(n, r, i, s, e[9], 4, -640364487), s = Fr(s, n, r, i, e[12], 11, -421815835), i = Fr(i, s, n, r, e[15], 16, 530742520), n = Ur(n, r = Fr(r, i, s, n, e[2], 23, -995338651), i, s, e[0], 6, -198630844), s = Ur(s, n, r, i, e[7], 10, 1126891415), i = Ur(i, s, n, r, e[14], 15, -1416354905), r = Ur(r, i, s, n, e[5], 21, -57434055), n = Ur(n, r, i, s, e[12], 6, 1700485571), s = Ur(s, n, r, i, e[3], 10, -1894986606), i = Ur(i, s, n, r, e[10], 15, -1051523), r = Ur(r, i, s, n, e[1], 21, -2054922799), n = Ur(n, r, i, s, e[8], 6, 1873313359), s = Ur(s, n, r, i, e[15], 10, -30611744), i = Ur(i, s, n, r, e[6], 15, -1560198380), r = Ur(r, i, s, n, e[13], 21, 1309151649), n = Ur(n, r, i, s, e[4], 6, -145523070), s = Ur(s, n, r, i, e[11], 10, -1120210379), i = Ur(i, s, n, r, e[2], 15, 718787259), r = Ur(r, i, s, n, e[9], 21, -343485551), t[0] = Da(n, t[0]), t[1] = Da(r, t[1]), t[2] = Da(i, t[2]), t[3] = Da(s, t[3]);
|
|
38363
38382
|
}
|
|
38364
38383
|
function bm(t, e, n, r, i, s) {
|
|
38365
38384
|
return e = Da(Da(e, t), Da(r, s)), Da(e << i | e >>> 32 - i, n);
|
|
38366
38385
|
}
|
|
38367
|
-
function
|
|
38386
|
+
function Er(t, e, n, r, i, s, o) {
|
|
38368
38387
|
return bm(e & n | ~e & r, t, e, i, s, o);
|
|
38369
38388
|
}
|
|
38370
|
-
function
|
|
38389
|
+
function Ir(t, e, n, r, i, s, o) {
|
|
38371
38390
|
return bm(e & r | n & ~r, t, e, i, s, o);
|
|
38372
38391
|
}
|
|
38373
|
-
function
|
|
38392
|
+
function Fr(t, e, n, r, i, s, o) {
|
|
38374
38393
|
return bm(e ^ n ^ r, t, e, i, s, o);
|
|
38375
38394
|
}
|
|
38376
|
-
function
|
|
38395
|
+
function Ur(t, e, n, r, i, s, o) {
|
|
38377
38396
|
return bm(n ^ (e | ~r), t, e, i, s, o);
|
|
38378
38397
|
}
|
|
38379
38398
|
function I4(t) {
|
|
@@ -38619,7 +38638,7 @@ function ut(t) {
|
|
|
38619
38638
|
}, de = h.__private__.setFileId = function(g) {
|
|
38620
38639
|
return ue = g !== void 0 && /^[a-fA-F0-9]{32}$/.test(g) ? g.toUpperCase() : ue.split("").map(function() {
|
|
38621
38640
|
return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random()));
|
|
38622
|
-
}).join(""), l !== null && (
|
|
38641
|
+
}).join(""), l !== null && (xr = new ul(l.userPermissions, l.userPassword, l.ownerPassword, ue)), ue;
|
|
38623
38642
|
};
|
|
38624
38643
|
h.setFileId = function(g) {
|
|
38625
38644
|
return de(g), this;
|
|
@@ -38723,21 +38742,21 @@ function ut(t) {
|
|
|
38723
38742
|
}, h.__private__.setDisplayMode = h.setDisplayMode = function(g, I, G) {
|
|
38724
38743
|
return je(g), mt(I), it(G), this;
|
|
38725
38744
|
};
|
|
38726
|
-
var
|
|
38745
|
+
var Ge = { title: "", subject: "", author: "", keywords: "", creator: "" };
|
|
38727
38746
|
h.__private__.getDocumentProperty = function(g) {
|
|
38728
|
-
if (Object.keys(
|
|
38747
|
+
if (Object.keys(Ge).indexOf(g) === -1)
|
|
38729
38748
|
throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");
|
|
38730
|
-
return
|
|
38749
|
+
return Ge[g];
|
|
38731
38750
|
}, h.__private__.getDocumentProperties = function() {
|
|
38732
|
-
return
|
|
38751
|
+
return Ge;
|
|
38733
38752
|
}, h.__private__.setDocumentProperties = h.setProperties = h.setDocumentProperties = function(g) {
|
|
38734
|
-
for (var I in
|
|
38735
|
-
|
|
38753
|
+
for (var I in Ge)
|
|
38754
|
+
Ge.hasOwnProperty(I) && g[I] && (Ge[I] = g[I]);
|
|
38736
38755
|
return this;
|
|
38737
38756
|
}, h.__private__.setDocumentProperty = function(g, I) {
|
|
38738
|
-
if (Object.keys(
|
|
38757
|
+
if (Object.keys(Ge).indexOf(g) === -1)
|
|
38739
38758
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
38740
|
-
return
|
|
38759
|
+
return Ge[g] = I;
|
|
38741
38760
|
};
|
|
38742
38761
|
var xt, ze, Gn, Ot, qi, nn = {}, hn = {}, Ps = [], Vt = {}, oA = {}, gn = {}, Gi = {}, co = null, mn = 0, vt = [], $t = new Jx(h), aA = t.hotfixes || [], fr = {}, Os = {}, Qs = [], lt = function g(I, G, te, le, Ee, Oe) {
|
|
38743
38762
|
if (!(this instanceof g))
|
|
@@ -38922,12 +38941,12 @@ function ut(t) {
|
|
|
38922
38941
|
}, Ms = h.__private__.getFilters = function() {
|
|
38923
38942
|
return o;
|
|
38924
38943
|
}, Si = h.__private__.putStream = function(g) {
|
|
38925
|
-
var I = (g = g || {}).data || "", G = g.filters || Ms(), te = g.alreadyAppliedFilters || [], le = g.addLength1 || !1, Ee = I.length, Oe = g.objectId, $e = function(
|
|
38926
|
-
return
|
|
38944
|
+
var I = (g = g || {}).data || "", G = g.filters || Ms(), te = g.alreadyAppliedFilters || [], le = g.addLength1 || !1, Ee = I.length, Oe = g.objectId, $e = function(Cr) {
|
|
38945
|
+
return Cr;
|
|
38927
38946
|
};
|
|
38928
38947
|
if (l !== null && Oe === void 0)
|
|
38929
38948
|
throw new Error("ObjectId must be passed to putStream for file encryption");
|
|
38930
|
-
l !== null && ($e =
|
|
38949
|
+
l !== null && ($e = xr.encryptor(Oe, 0));
|
|
38931
38950
|
var st = {};
|
|
38932
38951
|
G === !0 && (G = ["FlateEncode"]);
|
|
38933
38952
|
var Bt = g.additionalKeyValues || [], It = (st = ut.API.processDataByFilters !== void 0 ? ut.API.processDataByFilters(I, G) : { data: I, reverseChain: [] }).reverseChain + (Array.isArray(te) ? te.join(" ") : te.toString());
|
|
@@ -39033,7 +39052,7 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39033
39052
|
fr.hasOwnProperty(g) && fr[g].objectNumber >= 0 && Y("/" + g + " " + fr[g].objectNumber + " 0 R");
|
|
39034
39053
|
$t.publish("putXobjectDict"), Y(">>");
|
|
39035
39054
|
}, xm = function() {
|
|
39036
|
-
|
|
39055
|
+
xr.oid = Wn(), Y("<<"), Y("/Filter /Standard"), Y("/V " + xr.v), Y("/R " + xr.r), Y("/U <" + xr.toHexString(xr.U) + ">"), Y("/O <" + xr.toHexString(xr.O) + ">"), Y("/P " + xr.P), Y(">>"), Y("endobj");
|
|
39037
39056
|
}, mh = function() {
|
|
39038
39057
|
for (var g in Y("/Font <<"), nn)
|
|
39039
39058
|
nn.hasOwnProperty(g) && (d === !1 || d === !0 && p.hasOwnProperty(g)) && Y("/" + g + " " + nn[g].objectNumber + " 0 R");
|
|
@@ -39140,8 +39159,8 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39140
39159
|
var g = Wn(), I = function(te) {
|
|
39141
39160
|
return te;
|
|
39142
39161
|
};
|
|
39143
|
-
for (var G in l !== null && (I =
|
|
39144
|
-
|
|
39162
|
+
for (var G in l !== null && (I = xr.encryptor(g, 0)), Y("<<"), Y("/Producer (" + Yr(I("jsPDF " + ut.version)) + ")"), Ge)
|
|
39163
|
+
Ge.hasOwnProperty(G) && Ge[G] && Y("/" + G.substr(0, 1).toUpperCase() + G.substr(1) + " (" + Yr(I(Ge[G])) + ")");
|
|
39145
39164
|
Y("/CreationDate (" + Yr(I(me)) + ")"), Y(">>"), Y("endobj");
|
|
39146
39165
|
}, fu = h.__private__.putCatalog = function(g) {
|
|
39147
39166
|
var I = (g = g || {}).rootDictionaryObjId || lo;
|
|
@@ -39178,7 +39197,7 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39178
39197
|
}
|
|
39179
39198
|
we && Y("/PageMode /" + we), $t.publish("putCatalog"), Y(">>"), Y("endobj");
|
|
39180
39199
|
}, Um = h.__private__.putTrailer = function() {
|
|
39181
|
-
Y("trailer"), Y("<<"), Y("/Size " + (ne + 1)), Y("/Root " + ne + " 0 R"), Y("/Info " + (ne - 1) + " 0 R"), l !== null && Y("/Encrypt " +
|
|
39200
|
+
Y("trailer"), Y("<<"), Y("/Size " + (ne + 1)), Y("/Root " + ne + " 0 R"), Y("/Info " + (ne - 1) + " 0 R"), l !== null && Y("/Encrypt " + xr.oid + " 0 R"), Y("/ID [ <" + ue + "> <" + ue + "> ]"), Y(">>");
|
|
39182
39201
|
}, Tm = h.__private__.putHeader = function() {
|
|
39183
39202
|
Y("%PDF-" + m), Y("%ºß¬à");
|
|
39184
39203
|
}, Dm = h.__private__.putXRef = function() {
|
|
@@ -39284,10 +39303,10 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39284
39303
|
throw new Error("Invalid unit: " + r);
|
|
39285
39304
|
ze = r;
|
|
39286
39305
|
}
|
|
39287
|
-
var
|
|
39306
|
+
var xr = null;
|
|
39288
39307
|
Be(), de();
|
|
39289
39308
|
var km = function(g) {
|
|
39290
|
-
return l !== null ?
|
|
39309
|
+
return l !== null ? xr.encryptor(g, 0) : function(I) {
|
|
39291
39310
|
return I;
|
|
39292
39311
|
};
|
|
39293
39312
|
}, _h = h.__private__.getPageInfo = h.getPageInfo = function(g) {
|
|
@@ -39329,8 +39348,8 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39329
39348
|
}, h.__private__.text = h.text = function(g, I, G, te, le) {
|
|
39330
39349
|
var Ee, Oe, $e, st, Bt, It, Lt, pn, yn, Rn = (te = te || {}).scope || this;
|
|
39331
39350
|
if (typeof g == "number" && typeof I == "number" && (typeof G == "string" || Array.isArray(G))) {
|
|
39332
|
-
var
|
|
39333
|
-
G = I, I = g, g =
|
|
39351
|
+
var Cr = G;
|
|
39352
|
+
G = I, I = g, g = Cr;
|
|
39334
39353
|
}
|
|
39335
39354
|
if (arguments[3] instanceof lt ? (P("The transform parameter of text() with a Matrix value"), yn = le) : ($e = arguments[4], st = arguments[5], Xt(Lt = arguments[3]) === "object" && Lt !== null || (typeof $e == "string" && (st = $e, $e = null), typeof Lt == "string" && (st = Lt, Lt = null), typeof Lt == "number" && ($e = Lt, Lt = null), te = { flags: Lt, angle: $e, align: st })), isNaN(I) || isNaN(G) || g == null)
|
|
39336
39355
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
@@ -39595,11 +39614,11 @@ T* `) : g.join(` Tj
|
|
|
39595
39614
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
39596
39615
|
return U === _.COMPAT ? this.lines([[G - g, te - I]], g, I, [1, 1], le || "S") : this.lines([[G - g, te - I]], g, I, [1, 1]).stroke();
|
|
39597
39616
|
}, h.__private__.lines = h.lines = function(g, I, G, te, le, Ee) {
|
|
39598
|
-
var Oe, $e, st, Bt, It, Lt, pn, yn, Rn,
|
|
39617
|
+
var Oe, $e, st, Bt, It, Lt, pn, yn, Rn, Cr, sr, ts;
|
|
39599
39618
|
if (typeof g == "number" && (ts = G, G = I, I = g, g = ts), te = te || [1, 1], Ee = Ee || !1, isNaN(I) || isNaN(G) || !Array.isArray(g) || !Array.isArray(te) || !js(le) || typeof Ee != "boolean")
|
|
39600
39619
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
39601
|
-
for (gu(I, G), Oe = te[0], $e = te[1], Bt = g.length,
|
|
39602
|
-
(It = g[st]).length === 2 ? (
|
|
39620
|
+
for (gu(I, G), Oe = te[0], $e = te[1], Bt = g.length, Cr = I, sr = G, st = 0; st < Bt; st++)
|
|
39621
|
+
(It = g[st]).length === 2 ? (Cr = It[0] * Oe + Cr, sr = It[1] * $e + sr, cA(Cr, sr)) : (Lt = It[0] * Oe + Cr, pn = It[1] * $e + sr, yn = It[2] * Oe + Cr, Rn = It[3] * $e + sr, Cr = It[4] * Oe + Cr, sr = It[5] * $e + sr, Wo(Lt, pn, yn, Rn, Cr, sr));
|
|
39603
39622
|
return Ee && Eh(), pu(le), this;
|
|
39604
39623
|
}, h.path = function(g) {
|
|
39605
39624
|
for (var I = 0; I < g.length; I++) {
|
|
@@ -39857,7 +39876,7 @@ T* `) : g.join(` Tj
|
|
|
39857
39876
|
return Xo(z);
|
|
39858
39877
|
}, setHeight: function(g) {
|
|
39859
39878
|
Cu(z, g);
|
|
39860
|
-
} }, encryptionOptions: l, encryption:
|
|
39879
|
+
} }, encryptionOptions: l, encryption: xr, getEncryptor: km, output: Bc, getNumberOfPages: Im, pages: ke, out: Y, f2: Ae, f3: N, getPageInfo: _h, getPageInfoByObjId: yt, getCurrentPageInfo: Lm, getPDFVersion: b, Point: Sc, Rectangle: wu, Matrix: lt, hasHotfix: Ch }, Object.defineProperty(h.internal.pageSize, "width", { get: function() {
|
|
39861
39880
|
return dA(z);
|
|
39862
39881
|
}, set: function(g) {
|
|
39863
39882
|
xu(z, g);
|
|
@@ -41585,8 +41604,8 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
41585
41604
|
if (this.ctx.font = xe, (Y = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(xe)) !== null) {
|
|
41586
41605
|
var gt = Y[1], L = (Y[2], Y[3]), w = Y[4], B = (Y[5], Y[6]), Q = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(w)[2];
|
|
41587
41606
|
w = Math.floor(Q === "px" ? parseFloat(w) * this.pdf.internal.scaleFactor : Q === "em" ? parseFloat(w) * this.pdf.getFontSize() : parseFloat(w) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(w);
|
|
41588
|
-
var X = function(
|
|
41589
|
-
var xt, ze, Gn = [], Ot =
|
|
41607
|
+
var X = function(Ge) {
|
|
41608
|
+
var xt, ze, Gn = [], Ot = Ge.trim();
|
|
41590
41609
|
if (Ot === "")
|
|
41591
41610
|
return Ly;
|
|
41592
41611
|
if (Ot in e5)
|
|
@@ -41607,8 +41626,8 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
41607
41626
|
return Gn;
|
|
41608
41627
|
}(B);
|
|
41609
41628
|
if (this.fontFaces) {
|
|
41610
|
-
var he = OG(Re(this.pdf, this.fontFaces), X.map(function(
|
|
41611
|
-
return { family:
|
|
41629
|
+
var he = OG(Re(this.pdf, this.fontFaces), X.map(function(Ge) {
|
|
41630
|
+
return { family: Ge, stretch: "normal", weight: L, style: gt };
|
|
41612
41631
|
}));
|
|
41613
41632
|
this.pdf.setFont(he.ref.name, he.ref.style);
|
|
41614
41633
|
} else {
|
|
@@ -41831,7 +41850,7 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
41831
41850
|
if (U(X), this.autoPaging)
|
|
41832
41851
|
for (var we = X[0], je = X[X.length - 1], Xe = we; Xe < je + 1; Xe++) {
|
|
41833
41852
|
this.pdf.setPage(Xe);
|
|
41834
|
-
var it = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], mt = Xe === 1 ? this.posY + this.margin[0] : this.margin[0],
|
|
41853
|
+
var it = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], mt = Xe === 1 ? this.posY + this.margin[0] : this.margin[0], Ge = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], xt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], ze = Xe === 1 ? 0 : Ge + (Xe - 2) * xt;
|
|
41835
41854
|
if (this.ctx.clip_path.length !== 0) {
|
|
41836
41855
|
var Gn = this.path;
|
|
41837
41856
|
Y = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(Y, this.posX + this.margin[3], -ze + mt + this.ctx.prevPageLastElemOffset), V.call(this, "fill", !0), this.path = Gn;
|
|
@@ -42046,16 +42065,16 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
42046
42065
|
var mt = this.path;
|
|
42047
42066
|
Pe = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(Pe, this.posX + this.margin[3], -1 * it + Q), V.call(this, "fill", !0), this.path = mt;
|
|
42048
42067
|
}
|
|
42049
|
-
var
|
|
42068
|
+
var Ge = _([JSON.parse(JSON.stringify(tt))], this.posX + this.margin[3], -it + Q + this.ctx.prevPageLastElemOffset)[0];
|
|
42050
42069
|
S.scale >= 0.01 && (ke = this.pdf.internal.getFontSize(), this.pdf.setFontSize(ke * S.scale), Qe = this.lineWidth, this.lineWidth = Qe * S.scale);
|
|
42051
42070
|
var xt = this.autoPaging !== "text";
|
|
42052
|
-
if (xt ||
|
|
42053
|
-
if (xt ||
|
|
42054
|
-
var ze = xt ? S.text : this.pdf.splitTextToSize(S.text, S.maxWidth || je -
|
|
42071
|
+
if (xt || Ge.y + Ge.h <= he) {
|
|
42072
|
+
if (xt || Ge.y >= Q && Ge.x <= je) {
|
|
42073
|
+
var ze = xt ? S.text : this.pdf.splitTextToSize(S.text, S.maxWidth || je - Ge.x)[0], Gn = _([JSON.parse(JSON.stringify(Re))], this.posX + this.margin[3], -it + Q + this.ctx.prevPageLastElemOffset)[0], Ot = xt && (B > L || B < w) && b.call(this);
|
|
42055
42074
|
Ot && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], Xe, we, null).clip().discardPath()), this.pdf.text(ze, Gn.x, Gn.y, { angle: S.angle, align: z, renderingMode: S.renderingMode }), Ot && this.pdf.restoreGraphicsState();
|
|
42056
42075
|
}
|
|
42057
42076
|
} else
|
|
42058
|
-
|
|
42077
|
+
Ge.y < he && (this.ctx.prevPageLastElemOffset += he - Ge.y);
|
|
42059
42078
|
S.scale >= 0.01 && (this.pdf.setFontSize(ke), this.lineWidth = Qe);
|
|
42060
42079
|
}
|
|
42061
42080
|
else
|
|
@@ -42085,9 +42104,9 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
42085
42104
|
var ge = S + 0.5 * ($ - S), ye = z + 0.5 * (Z - z), Pe = ne + 0.5 * ($ - ne), ke = ce + 0.5 * (Z - ce), Qe = Math.min(S, ne, ge, Pe), Re = Math.max(S, ne, ge, Pe), tt = Math.min(z, ce, ye, ke), xe = Math.max(z, ce, ye, ke);
|
|
42086
42105
|
return new a(Qe, tt, Re - Qe, xe - tt);
|
|
42087
42106
|
}, oe = function(S, z, $, Z, ne, ce, ge, ye) {
|
|
42088
|
-
var Pe, ke, Qe, Re, tt, xe, Y, gt, L, w, B, Q, X, he, we = $ - S, je = Z - z, Xe = ne - $, it = ce - Z, mt = ge - ne,
|
|
42107
|
+
var Pe, ke, Qe, Re, tt, xe, Y, gt, L, w, B, Q, X, he, we = $ - S, je = Z - z, Xe = ne - $, it = ce - Z, mt = ge - ne, Ge = ye - ce;
|
|
42089
42108
|
for (ke = 0; ke < 41; ke++)
|
|
42090
|
-
L = (Y = (Qe = S + (Pe = ke / 40) * we) + Pe * ((tt = $ + Pe * Xe) - Qe)) + Pe * (tt + Pe * (ne + Pe * mt - tt) - Y), w = (gt = (Re = z + Pe * je) + Pe * ((xe = Z + Pe * it) - Re)) + Pe * (xe + Pe * (ce + Pe *
|
|
42109
|
+
L = (Y = (Qe = S + (Pe = ke / 40) * we) + Pe * ((tt = $ + Pe * Xe) - Qe)) + Pe * (tt + Pe * (ne + Pe * mt - tt) - Y), w = (gt = (Re = z + Pe * je) + Pe * ((xe = Z + Pe * it) - Re)) + Pe * (xe + Pe * (ce + Pe * Ge - xe) - gt), ke == 0 ? (B = L, Q = w, X = L, he = w) : (B = Math.min(B, L), Q = Math.min(Q, w), X = Math.max(X, L), he = Math.max(he, w));
|
|
42091
42110
|
return new a(Math.round(B), Math.round(Q), Math.round(X - B), Math.round(he - Q));
|
|
42092
42111
|
}, Be = function() {
|
|
42093
42112
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
@@ -43049,8 +43068,8 @@ function Ny(t) {
|
|
|
43049
43068
|
}
|
|
43050
43069
|
function oe(S, z, $, Z, ne) {
|
|
43051
43070
|
for (var ce, ge = ne[0], ye = ne[240], Pe = function(w, B) {
|
|
43052
|
-
var Q, X, he, we, je, Xe, it, mt,
|
|
43053
|
-
for (
|
|
43071
|
+
var Q, X, he, we, je, Xe, it, mt, Ge, xt, ze = 0;
|
|
43072
|
+
for (Ge = 0; Ge < 8; ++Ge) {
|
|
43054
43073
|
Q = w[ze], X = w[ze + 1], he = w[ze + 2], we = w[ze + 3], je = w[ze + 4], Xe = w[ze + 5], it = w[ze + 6];
|
|
43055
43074
|
var Gn = Q + (mt = w[ze + 7]), Ot = Q - mt, qi = X + it, nn = X - it, hn = he + Xe, Ps = he - Xe, Vt = we + je, oA = we - je, gn = Gn + Vt, Gi = Gn - Vt, co = qi + hn, mn = qi - hn;
|
|
43056
43075
|
w[ze] = gn + co, w[ze + 4] = gn - co;
|
|
@@ -43059,7 +43078,7 @@ function Ny(t) {
|
|
|
43059
43078
|
var $t = 0.382683433 * ((gn = oA + Ps) - (mn = nn + Ot)), aA = 0.5411961 * gn + $t, fr = 1.306562965 * mn + $t, Os = 0.707106781 * (co = Ps + nn), Qs = Ot + Os, lt = Ot - Os;
|
|
43060
43079
|
w[ze + 5] = lt + aA, w[ze + 3] = lt - aA, w[ze + 1] = Qs + fr, w[ze + 7] = Qs - fr, ze += 8;
|
|
43061
43080
|
}
|
|
43062
|
-
for (ze = 0,
|
|
43081
|
+
for (ze = 0, Ge = 0; Ge < 8; ++Ge) {
|
|
43063
43082
|
Q = w[ze], X = w[ze + 8], he = w[ze + 16], we = w[ze + 24], je = w[ze + 32], Xe = w[ze + 40], it = w[ze + 48];
|
|
43064
43083
|
var Wi = Q + (mt = w[ze + 56]), Rs = Q - mt, Wr = X + it, Wn = X - it, Qn = he + Xe, li = he - Xe, hc = we + je, lo = we - je, Yi = Wi + hc, Ji = Wi - hc, Xi = Wr + Qn, Ms = Wr - Qn;
|
|
43065
43084
|
w[ze] = Yi + Xi, w[ze + 32] = Yi - Xi;
|
|
@@ -43068,8 +43087,8 @@ function Ny(t) {
|
|
|
43068
43087
|
var Hs = 0.382683433 * ((Yi = lo + li) - (Ms = Wn + Rs)), AA = 0.5411961 * Yi + Hs, fc = 1.306562965 * Ms + Hs, pc = 0.707106781 * (Xi = li + Wn), gc = Rs + pc, mc = Rs - pc;
|
|
43069
43088
|
w[ze + 40] = mc + AA, w[ze + 24] = mc - AA, w[ze + 8] = gc + fc, w[ze + 56] = gc - fc, ze++;
|
|
43070
43089
|
}
|
|
43071
|
-
for (
|
|
43072
|
-
xt = w[
|
|
43090
|
+
for (Ge = 0; Ge < 64; ++Ge)
|
|
43091
|
+
xt = w[Ge] * B[Ge], h[Ge] = xt > 0 ? xt + 0.5 | 0 : xt - 0.5 | 0;
|
|
43073
43092
|
return h;
|
|
43074
43093
|
}(S, z), ke = 0; ke < 64; ++ke)
|
|
43075
43094
|
m[H[ke]] = Pe[ke];
|
|
@@ -43137,8 +43156,8 @@ function Ny(t) {
|
|
|
43137
43156
|
de(17);
|
|
43138
43157
|
for (var mt = 0; mt < 16; mt++)
|
|
43139
43158
|
de(W[mt + 1]);
|
|
43140
|
-
for (var
|
|
43141
|
-
de(me[
|
|
43159
|
+
for (var Ge = 0; Ge <= 161; Ge++)
|
|
43160
|
+
de(me[Ge]);
|
|
43142
43161
|
}(), Ce(65498), Ce(12), de(3), de(1), de(0), de(2), de(17), de(3), de(17), de(0), de(63), de(0);
|
|
43143
43162
|
var $ = 0, Z = 0, ne = 0;
|
|
43144
43163
|
x = 0, v = 7, this.encode.displayName = "_encode_";
|
|
@@ -43253,23 +43272,23 @@ function c5(t) {
|
|
|
43253
43272
|
pe = K[ae], 0 < K[ae] && (fe[se[pe]++] = ae);
|
|
43254
43273
|
if (se[15] == 1)
|
|
43255
43274
|
return (K = new R()).g = 0, K.value = fe[0], Ae(T, Ue, 1, _e, K), _e;
|
|
43256
|
-
var Ie, Le = -1, Fe = _e - 1,
|
|
43275
|
+
var Ie, Le = -1, Fe = _e - 1, We = 0, Me = 1, at = 1, He = 1 << O;
|
|
43257
43276
|
for (ae = 0, pe = 1, re = 2; pe <= O; ++pe, re <<= 1) {
|
|
43258
43277
|
if (Me += at <<= 1, 0 > (at -= ie[pe]))
|
|
43259
43278
|
return 0;
|
|
43260
43279
|
for (; 0 < ie[pe]; --ie[pe])
|
|
43261
|
-
(K = new R()).g = pe, K.value = fe[ae++], Ae(T, Ue +
|
|
43280
|
+
(K = new R()).g = pe, K.value = fe[ae++], Ae(T, Ue + We, re, He, K), We = ee(We, pe);
|
|
43262
43281
|
}
|
|
43263
43282
|
for (pe = O + 1, re = 2; 15 >= pe; ++pe, re <<= 1) {
|
|
43264
43283
|
if (Me += at <<= 1, 0 > (at -= ie[pe]))
|
|
43265
43284
|
return 0;
|
|
43266
43285
|
for (; 0 < ie[pe]; --ie[pe]) {
|
|
43267
|
-
if (K = new R(), (
|
|
43286
|
+
if (K = new R(), (We & Fe) != Le) {
|
|
43268
43287
|
for (Ue += He, Ie = 1 << (Le = pe) - O; 15 > Le && !(0 >= (Ie -= ie[Le])); )
|
|
43269
43288
|
++Le, Ie <<= 1;
|
|
43270
|
-
_e += He = 1 << (Ie = Le - O), T[D + (Le =
|
|
43289
|
+
_e += He = 1 << (Ie = Le - O), T[D + (Le = We & Fe)].g = Ie + O, T[D + Le].value = Ue - D - Le;
|
|
43271
43290
|
}
|
|
43272
|
-
K.g = pe - O, K.value = fe[ae++], Ae(T, Ue + (
|
|
43291
|
+
K.g = pe - O, K.value = fe[ae++], Ae(T, Ue + (We >> O), re, He, K), We = ee(We, pe);
|
|
43273
43292
|
}
|
|
43274
43293
|
}
|
|
43275
43294
|
return Me != 2 * se[15] - 1 ? 0 : _e;
|
|
@@ -43417,7 +43436,7 @@ function c5(t) {
|
|
|
43417
43436
|
function mt(u, f) {
|
|
43418
43437
|
f.jd = u >> 0 & 255, f.hd = u >> 8 & 255, f.ud = u >> 16 & 255;
|
|
43419
43438
|
}
|
|
43420
|
-
function
|
|
43439
|
+
function Ge(u, f, y, C, E, F) {
|
|
43421
43440
|
var T;
|
|
43422
43441
|
for (T = 0; T < C; ++T) {
|
|
43423
43442
|
var D = f[y + T], O = D >>> 8, K = D, re = 255 & (re = (re = D >>> 16) + ((u.jd << 24 >> 24) * (O << 24 >> 24) >>> 5));
|
|
@@ -43590,21 +43609,21 @@ function c5(t) {
|
|
|
43590
43609
|
case 0:
|
|
43591
43610
|
var _e = re, ie = fe, se = O, Ie = D, Le = (He = K).Ea;
|
|
43592
43611
|
_e == 0 && (Km(pe, ae, null, null, 1, se, Ie), Xe(pe, ae + 1, 0, 0, Le - 1, se, Ie + 1), ae += Le, Ie += Le, ++_e);
|
|
43593
|
-
for (var Fe = 1 << He.b,
|
|
43612
|
+
for (var Fe = 1 << He.b, We = Fe - 1, Me = L(Le, He.b), at = He.K, He = He.w + (_e >> He.b) * Me; _e < ie; ) {
|
|
43594
43613
|
var jt = at, Wt = He, Nt = 1;
|
|
43595
43614
|
for (Uu(pe, ae, se, Ie - Le, 1, se, Ie); Nt < Le; ) {
|
|
43596
|
-
var Tt = (Nt & ~
|
|
43615
|
+
var Tt = (Nt & ~We) + Fe;
|
|
43597
43616
|
Tt > Le && (Tt = Le), (0, Zo[jt[Wt++] >> 8 & 15])(pe, ae + +Nt, se, Ie + Nt - Le, Tt - Nt, se, Ie + Nt), Nt = Tt;
|
|
43598
43617
|
}
|
|
43599
|
-
ae += Le, Ie += Le, ++_e &
|
|
43618
|
+
ae += Le, Ie += Le, ++_e & We || (He += Me);
|
|
43600
43619
|
}
|
|
43601
43620
|
fe != K.nc && r(O, D - Ue, O, D + (fe - re - 1) * Ue, Ue);
|
|
43602
43621
|
break;
|
|
43603
43622
|
case 1:
|
|
43604
43623
|
for (Ue = pe, ie = ae, Le = (pe = K.Ea) - (Ie = pe & ~(se = (ae = 1 << K.b) - 1)), _e = L(pe, K.b), Fe = K.K, K = K.w + (re >> K.b) * _e; re < fe; ) {
|
|
43605
|
-
for (
|
|
43606
|
-
mt(
|
|
43607
|
-
ie < jt && (mt(
|
|
43624
|
+
for (We = Fe, Me = K, at = new Q(), He = ie + Ie, jt = ie + pe; ie < He; )
|
|
43625
|
+
mt(We[Me++], at), Ei(at, Ue, ie, ae, O, D), ie += ae, D += ae;
|
|
43626
|
+
ie < jt && (mt(We[Me++], at), Ei(at, Ue, ie, Le, O, D), ie += Le, D += Le), ++re & se || (K += _e);
|
|
43608
43627
|
}
|
|
43609
43628
|
break;
|
|
43610
43629
|
case 3:
|
|
@@ -43719,14 +43738,14 @@ function c5(t) {
|
|
|
43719
43738
|
for (; Le || fe < ae; ) {
|
|
43720
43739
|
var Fe = 0;
|
|
43721
43740
|
if (D >= _e) {
|
|
43722
|
-
var
|
|
43723
|
-
e((_e = u).Pb), _e.wd = _e.m, _e.xd =
|
|
43741
|
+
var We = fe - y;
|
|
43742
|
+
e((_e = u).Pb), _e.wd = _e.m, _e.xd = We, 0 < _e.s.ua && xe(_e.s.Wa, _e.s.vb), _e = D + $4;
|
|
43724
43743
|
}
|
|
43725
43744
|
if (O & se || (Ie = Qn(re, O, D)), e(Ie != null), Ie.Qb && (f[fe] = Ie.qb, Le = !0), !Le)
|
|
43726
43745
|
if (ne(K), Ie.jc) {
|
|
43727
|
-
Fe = K,
|
|
43746
|
+
Fe = K, We = f;
|
|
43728
43747
|
var Me = fe, at = Ie.pd[z(Fe) & Jr - 1];
|
|
43729
|
-
e(Ie.jc), 256 > at.g ? (Z(Fe, Fe.u + at.g),
|
|
43748
|
+
e(Ie.jc), 256 > at.g ? (Z(Fe, Fe.u + at.g), We[Me] = at.value, Fe = 0) : (Z(Fe, Fe.u + at.g - 256), e(256 <= at.value), Fe = at.value), Fe == 0 && (Le = !0);
|
|
43730
43749
|
} else
|
|
43731
43750
|
Fe = Wr(Ie.G[0], Ie.H[0], K);
|
|
43732
43751
|
if (K.h)
|
|
@@ -43736,20 +43755,20 @@ function c5(t) {
|
|
|
43736
43755
|
if (Ie.nd)
|
|
43737
43756
|
f[fe] = (Ie.qb | Fe << 8) >>> 0;
|
|
43738
43757
|
else {
|
|
43739
|
-
if (ne(K), Le = Wr(Ie.G[1], Ie.H[1], K), ne(K),
|
|
43758
|
+
if (ne(K), Le = Wr(Ie.G[1], Ie.H[1], K), ne(K), We = Wr(Ie.G[2], Ie.H[2], K), Me = Wr(Ie.G[3], Ie.H[3], K), K.h)
|
|
43740
43759
|
break;
|
|
43741
|
-
f[fe] = (Me << 24 | Le << 16 | Fe << 8 |
|
|
43760
|
+
f[fe] = (Me << 24 | Le << 16 | Fe << 8 | We) >>> 0;
|
|
43742
43761
|
}
|
|
43743
43762
|
if (Le = !1, ++fe, ++O >= C && (O = 0, ++D, T != null && D <= F && !(D % 16) && T(u, D), ie != null))
|
|
43744
43763
|
for (; pe < fe; )
|
|
43745
43764
|
Fe = f[pe++], ie.X[(506832829 * Fe & 4294967295) >>> ie.Mb] = Fe;
|
|
43746
43765
|
} else if (280 > Fe) {
|
|
43747
|
-
if (Fe = Wi(Fe - 256, K),
|
|
43766
|
+
if (Fe = Wi(Fe - 256, K), We = Wr(Ie.G[4], Ie.H[4], K), ne(K), We = Rs(C, We = Wi(We, K)), K.h)
|
|
43748
43767
|
break;
|
|
43749
|
-
if (fe - y <
|
|
43768
|
+
if (fe - y < We || E - fe < Fe)
|
|
43750
43769
|
break e;
|
|
43751
43770
|
for (Me = 0; Me < Fe; ++Me)
|
|
43752
|
-
f[fe + Me] = f[fe + Me -
|
|
43771
|
+
f[fe + Me] = f[fe + Me - We];
|
|
43753
43772
|
for (fe += Fe, O += Fe; O >= C; )
|
|
43754
43773
|
O -= C, ++D, T != null && D <= F && !(D % 16) && T(u, D);
|
|
43755
43774
|
if (e(fe <= E), O & se && (Ie = Qn(re, O, D)), ie != null)
|
|
@@ -43760,7 +43779,7 @@ function c5(t) {
|
|
|
43760
43779
|
break e;
|
|
43761
43780
|
for (Le = Fe - 280, e(ie != null); pe < fe; )
|
|
43762
43781
|
Fe = f[pe++], ie.X[(506832829 * Fe & 4294967295) >>> ie.Mb] = Fe;
|
|
43763
|
-
Fe = fe, e(!(Le >>> (
|
|
43782
|
+
Fe = fe, e(!(Le >>> (We = ie).Xa)), f[Fe] = We.X[Le], Le = !0;
|
|
43764
43783
|
}
|
|
43765
43784
|
Le || e(K.h == $(K));
|
|
43766
43785
|
}
|
|
@@ -43782,7 +43801,7 @@ function c5(t) {
|
|
|
43782
43801
|
}
|
|
43783
43802
|
function Si() {
|
|
43784
43803
|
var u = new zm();
|
|
43785
|
-
return u == null ? null : (u.a = 0, u.xb = Xv, Ps("Predictor", "VP8LPredictors"), Ps("Predictor", "VP8LPredictors_C"), Ps("PredictorAdd", "VP8LPredictorsAdd"), Ps("PredictorAdd", "VP8LPredictorsAdd_C"), Nh = it, Ei =
|
|
43804
|
+
return u == null ? null : (u.a = 0, u.xb = Xv, Ps("Predictor", "VP8LPredictors"), Ps("Predictor", "VP8LPredictors_C"), Ps("PredictorAdd", "VP8LPredictorsAdd"), Ps("PredictorAdd", "VP8LPredictorsAdd_C"), Nh = it, Ei = Ge, rs = ze, ea = Gn, zs = Ot, po = qi, kc = nn, P.VP8LMapColor32b = Tu, P.VP8LMapColor8b = $m, u);
|
|
43786
43805
|
}
|
|
43787
43806
|
function Hs(u, f, y, C, E) {
|
|
43788
43807
|
var F = 1, T = [u], D = [f], O = C.m, K = C.s, re = null, fe = 0;
|
|
@@ -43800,8 +43819,8 @@ function c5(t) {
|
|
|
43800
43819
|
se.b = oe(ie, 3) + 2, _e = Hs(L(se.Ea, se.b), L(se.nc, se.b), 0, Ue, se.K), se.K = se.K[0];
|
|
43801
43820
|
break;
|
|
43802
43821
|
case 3:
|
|
43803
|
-
var Le, Fe = oe(ie, 8) + 1,
|
|
43804
|
-
if (pe[0] = L(se.Ea,
|
|
43822
|
+
var Le, Fe = oe(ie, 8) + 1, We = 16 < Fe ? 0 : 4 < Fe ? 1 : 2 < Fe ? 2 : 3;
|
|
43823
|
+
if (pe[0] = L(se.Ea, We), se.b = We, Le = _e = Hs(Fe, 1, 0, Ue, se.K)) {
|
|
43805
43824
|
var Me, at = Fe, He = se, jt = 1 << (8 >> He.b), Wt = s(jt);
|
|
43806
43825
|
if (Wt == null)
|
|
43807
43826
|
Le = 0;
|
|
@@ -44210,7 +44229,7 @@ function c5(t) {
|
|
|
44210
44229
|
$v[255 + y] = 0 > y ? 0 : 255 < y ? 255 : y;
|
|
44211
44230
|
qv = 1;
|
|
44212
44231
|
}
|
|
44213
|
-
is = Fm, Lc = Em, ta = Bh, ss = Im, go = xh, Du = wh, hA = yu, Nc = uA, fA = jm, na = bu, ku = Hm, Ii = _c, mo = vu, An = Dh, cn = Th, En = ho, Yn = Yo, yo = Mm, os[0] = js, os[1] = Um, os[2] = Lm, os[3] = Nm, os[4] = Sh, os[5] = xc, os[6] = Eh, os[7] = pu, os[8] = Om, os[9] = Pm, ia[0] = Ch, ia[1] = Dm, ia[2] = uo, ia[3] = wc, ia[4] =
|
|
44232
|
+
is = Fm, Lc = Em, ta = Bh, ss = Im, go = xh, Du = wh, hA = yu, Nc = uA, fA = jm, na = bu, ku = Hm, Ii = _c, mo = vu, An = Dh, cn = Th, En = ho, Yn = Yo, yo = Mm, os[0] = js, os[1] = Um, os[2] = Lm, os[3] = Nm, os[4] = Sh, os[5] = xc, os[6] = Eh, os[7] = pu, os[8] = Om, os[9] = Pm, ia[0] = Ch, ia[1] = Dm, ia[2] = uo, ia[3] = wc, ia[4] = xr, ia[5] = km, ia[6] = _h, bo[0] = Wo, bo[1] = Tm, bo[2] = Qm, bo[3] = gu, bo[4] = lA, bo[5] = Rm, bo[6] = mu, y = 1;
|
|
44214
44233
|
} else
|
|
44215
44234
|
y = 0;
|
|
44216
44235
|
}
|
|
@@ -44218,36 +44237,36 @@ function c5(t) {
|
|
|
44218
44237
|
for (ae.M = 0; ae.M < ae.Va; ++ae.M) {
|
|
44219
44238
|
var _e, ie = ae.Jc[ae.M & ae.Xb], se = ae.m, Ie = ae;
|
|
44220
44239
|
for (_e = 0; _e < Ie.za; ++_e) {
|
|
44221
|
-
var Le = se, Fe = Ie,
|
|
44240
|
+
var Le = se, Fe = Ie, We = Fe.Ac, Me = Fe.Bc + 4 * _e, at = Fe.zc, He = Fe.ya[Fe.aa + _e];
|
|
44222
44241
|
if (Fe.Qa.Bb ? He.$b = ye(Le, Fe.Pa.jb[0]) ? 2 + ye(Le, Fe.Pa.jb[2]) : ye(Le, Fe.Pa.jb[1]) : He.$b = 0, Fe.kc && (He.Ad = ye(Le, Fe.Bd)), He.Za = !ye(Le, 145) + 0, He.Za) {
|
|
44223
44242
|
var jt = He.Ob, Wt = 0;
|
|
44224
44243
|
for (Fe = 0; 4 > Fe; ++Fe) {
|
|
44225
44244
|
var Nt, Tt = at[0 + Fe];
|
|
44226
44245
|
for (Nt = 0; 4 > Nt; ++Nt) {
|
|
44227
|
-
Tt = Y4[
|
|
44246
|
+
Tt = Y4[We[Me + Nt]][Tt];
|
|
44228
44247
|
for (var rn = Jv[ye(Le, Tt[0])]; 0 < rn; )
|
|
44229
44248
|
rn = Jv[2 * rn + ye(Le, Tt[rn])];
|
|
44230
|
-
Tt = -rn,
|
|
44249
|
+
Tt = -rn, We[Me + Nt] = Tt;
|
|
44231
44250
|
}
|
|
44232
|
-
r(jt, Wt,
|
|
44251
|
+
r(jt, Wt, We, Me, 4), Wt += 4, at[0 + Fe] = Tt;
|
|
44233
44252
|
}
|
|
44234
44253
|
} else
|
|
44235
|
-
Tt = ye(Le, 156) ? ye(Le, 128) ? 1 : 3 : ye(Le, 163) ? 2 : 0, He.Ob[0] = Tt, i(
|
|
44254
|
+
Tt = ye(Le, 156) ? ye(Le, 128) ? 1 : 3 : ye(Le, 163) ? 2 : 0, He.Ob[0] = Tt, i(We, Me, Tt, 4), i(at, 0, Tt, 4);
|
|
44236
44255
|
He.Dd = ye(Le, 142) ? ye(Le, 114) ? ye(Le, 183) ? 1 : 3 : 2 : 0;
|
|
44237
44256
|
}
|
|
44238
44257
|
if (Ie.m.Ka)
|
|
44239
44258
|
return Sn(ae, 7, "Premature end-of-partition0 encountered.");
|
|
44240
44259
|
for (; ae.ja < ae.za; ++ae.ja) {
|
|
44241
|
-
if (Ie = ie, Le = (se = ae).rb[se.sb - 1],
|
|
44242
|
-
Le.la =
|
|
44260
|
+
if (Ie = ie, Le = (se = ae).rb[se.sb - 1], We = se.rb[se.sb + se.ja], _e = se.ya[se.aa + se.ja], Me = se.kc ? _e.Ad : 0)
|
|
44261
|
+
Le.la = We.la = 0, _e.Za || (Le.Na = We.Na = 0), _e.Hc = 0, _e.Gc = 0, _e.ia = 0;
|
|
44243
44262
|
else {
|
|
44244
44263
|
var Zt, Ct;
|
|
44245
|
-
if (Le =
|
|
44264
|
+
if (Le = We, We = Ie, Me = se.Pa.Xc, at = se.ya[se.aa + se.ja], He = se.pb[at.$b], Fe = at.ad, jt = 0, Wt = se.rb[se.sb - 1], Tt = Nt = 0, i(Fe, jt, 0, 384), at.Za)
|
|
44246
44265
|
var Mn = 0, Zr = Me[3];
|
|
44247
44266
|
else {
|
|
44248
44267
|
rn = s(16);
|
|
44249
44268
|
var Hn = Le.Na + Wt.Na;
|
|
44250
|
-
if (Hn = Lu(
|
|
44269
|
+
if (Hn = Lu(We, Me[1], Hn, He.Eb, 0, rn, 0), Le.Na = Wt.Na = (0 < Hn) + 0, 1 < Hn)
|
|
44251
44270
|
is(rn, 0, Fe, jt);
|
|
44252
44271
|
else {
|
|
44253
44272
|
var ei = rn[0] + 3 >> 3;
|
|
@@ -44260,13 +44279,13 @@ function c5(t) {
|
|
|
44260
44279
|
for (rn = 0; 4 > rn; ++rn) {
|
|
44261
44280
|
var fi = 1 & hi;
|
|
44262
44281
|
for (ei = Ct = 0; 4 > ei; ++ei)
|
|
44263
|
-
Yt = Yt >> 1 | (fi = (Hn = Lu(
|
|
44282
|
+
Yt = Yt >> 1 | (fi = (Hn = Lu(We, Zr, Hn = fi + (1 & Yt), He.Sc, Mn, Fe, jt)) > Mn) << 7, Ct = Ct << 2 | (3 < Hn ? 3 : 1 < Hn ? 2 : Fe[jt + 0] != 0), jt += 16;
|
|
44264
44283
|
Yt >>= 4, hi = hi >> 1 | fi << 7, Nt = (Nt << 8 | Ct) >>> 0;
|
|
44265
44284
|
}
|
|
44266
44285
|
for (Zr = Yt, Mn = hi >> 4, Zt = 0; 4 > Zt; Zt += 2) {
|
|
44267
44286
|
for (Ct = 0, Yt = Le.la >> 4 + Zt, hi = Wt.la >> 4 + Zt, rn = 0; 2 > rn; ++rn) {
|
|
44268
44287
|
for (fi = 1 & hi, ei = 0; 2 > ei; ++ei)
|
|
44269
|
-
Hn = fi + (1 & Yt), Yt = Yt >> 1 | (fi = 0 < (Hn = Lu(
|
|
44288
|
+
Hn = fi + (1 & Yt), Yt = Yt >> 1 | (fi = 0 < (Hn = Lu(We, Me[2], Hn, He.Qc, 0, Fe, jt))) << 3, Ct = Ct << 2 | (3 < Hn ? 3 : 1 < Hn ? 2 : Fe[jt + 0] != 0), jt += 16;
|
|
44270
44289
|
Yt >>= 2, hi = hi >> 1 | fi << 5;
|
|
44271
44290
|
}
|
|
44272
44291
|
Tt |= Ct << 4 * Zt, Zr |= Yt << 4 << Zt, Mn |= (240 & hi) << Zt;
|
|
@@ -44278,7 +44297,7 @@ function c5(t) {
|
|
|
44278
44297
|
}
|
|
44279
44298
|
if (du(ae), se = Ue, Ie = 1, _e = (ie = ae).D, Le = 0 < ie.L && ie.M >= ie.zb && ie.M <= ie.Va, ie.Aa == 0)
|
|
44280
44299
|
e: {
|
|
44281
|
-
if (_e.M = ie.M, _e.uc = Le, Su(ie, _e), Ie = 1, _e = (Ct = ie.D).Nb, Le = (Tt = Vh[ie.L]) * ie.R,
|
|
44300
|
+
if (_e.M = ie.M, _e.uc = Le, Su(ie, _e), Ie = 1, _e = (Ct = ie.D).Nb, Le = (Tt = Vh[ie.L]) * ie.R, We = Tt / 2 * ie.B, rn = 16 * _e * ie.R, ei = 8 * _e * ie.B, Me = ie.sa, at = ie.ta - Le + rn, He = ie.qa, Fe = ie.ra - We + ei, jt = ie.Ha, Wt = ie.Ia - We + ei, hi = (Yt = Ct.M) == 0, Nt = Yt >= ie.Va - 1, ie.Aa == 2 && Su(ie, Ct), Ct.uc)
|
|
44282
44301
|
for (fi = (Hn = ie).D.M, e(Hn.D.uc), Ct = Hn.yb; Ct < Hn.Hb; ++Ct) {
|
|
44283
44302
|
Mn = Ct, Zr = fi;
|
|
44284
44303
|
var or = (pr = (bn = Hn).D).Nb;
|
|
@@ -44299,7 +44318,7 @@ function c5(t) {
|
|
|
44299
44318
|
}
|
|
44300
44319
|
Ct < se.j && (Tt = se.j - Ct, Ct = se.j, e(!(1 & Tt)), se.O += ie.R * Tt, se.N += ie.B * (Tt >> 1), se.W += ie.B * (Tt >> 1), se.F != null && (se.J += se.width * Tt)), Ct < Yt && (se.O += se.v, se.N += se.v >> 1, se.W += se.v >> 1, se.F != null && (se.J += se.v), se.ka = Ct - se.j, se.U = se.va - se.v, se.T = Yt - Ct, Ie = se.put(se));
|
|
44301
44320
|
}
|
|
44302
|
-
_e + 1 != ie.Ic || Nt || (r(ie.sa, ie.ta - Le, Me, at + 16 * ie.R, Le), r(ie.qa, ie.ra -
|
|
44321
|
+
_e + 1 != ie.Ic || Nt || (r(ie.sa, ie.ta - Le, Me, at + 16 * ie.R, Le), r(ie.qa, ie.ra - We, He, Fe + 8 * ie.B, We), r(ie.Ha, ie.Ia - We, jt, Wt + 8 * ie.B, We));
|
|
44303
44322
|
}
|
|
44304
44323
|
if (!Ie)
|
|
44305
44324
|
return Sn(ae, 6, "Output aborted.");
|
|
@@ -44394,7 +44413,7 @@ function c5(t) {
|
|
|
44394
44413
|
C += u[f - 1 + 32 * y] + u[f + y - 32];
|
|
44395
44414
|
Bc(C >> 5, u, f);
|
|
44396
44415
|
}
|
|
44397
|
-
function
|
|
44416
|
+
function xr(u, f) {
|
|
44398
44417
|
var y, C = 8;
|
|
44399
44418
|
for (y = 0; 16 > y; ++y)
|
|
44400
44419
|
C += u[f - 1 + 32 * y];
|
|
@@ -44680,13 +44699,13 @@ function c5(t) {
|
|
|
44680
44699
|
break t;
|
|
44681
44700
|
}
|
|
44682
44701
|
_e = Wi(_e - 256, re);
|
|
44683
|
-
var
|
|
44702
|
+
var We, Me = Wr(Fe.G[4], Fe.H[4], re);
|
|
44684
44703
|
if (ne(re), !(ie >= (Me = Rs(ae, Me = Wi(Me, re))) && se - ie >= _e)) {
|
|
44685
44704
|
Ue = 0;
|
|
44686
44705
|
break t;
|
|
44687
44706
|
}
|
|
44688
|
-
for (
|
|
44689
|
-
D[pe + ie +
|
|
44707
|
+
for (We = 0; We < _e; ++We)
|
|
44708
|
+
D[pe + ie + We] = D[pe + ie + We - Me];
|
|
44690
44709
|
for (ie += _e, K += _e; K >= ae; )
|
|
44691
44710
|
K -= ae, ++O <= f && !(O % 16) && Ji(T, O);
|
|
44692
44711
|
ie < Ie && K & Le && (Fe = Qn(fe, K, O));
|
|
@@ -44754,10 +44773,10 @@ function c5(t) {
|
|
|
44754
44773
|
}
|
|
44755
44774
|
function Ee(u, f, y) {
|
|
44756
44775
|
P[u] = function(C, E, F, T, D, O, K, re, fe, pe, ae, Ue, _e, ie, se, Ie, Le) {
|
|
44757
|
-
var Fe,
|
|
44776
|
+
var Fe, We = Le - 1 >> 1, Me = D[O + 0] | K[re + 0] << 16, at = fe[pe + 0] | ae[Ue + 0] << 16;
|
|
44758
44777
|
e(C != null);
|
|
44759
44778
|
var He = 3 * Me + at + 131074 >> 2;
|
|
44760
|
-
for (f(C[E + 0], 255 & He, He >> 16, _e, ie), F != null && (He = 3 * at + Me + 131074 >> 2, f(F[T + 0], 255 & He, He >> 16, se, Ie)), Fe = 1; Fe <=
|
|
44779
|
+
for (f(C[E + 0], 255 & He, He >> 16, _e, ie), F != null && (He = 3 * at + Me + 131074 >> 2, f(F[T + 0], 255 & He, He >> 16, se, Ie)), Fe = 1; Fe <= We; ++Fe) {
|
|
44761
44780
|
var jt = D[O + Fe] | K[re + Fe] << 16, Wt = fe[pe + Fe] | ae[Ue + Fe] << 16, Nt = Me + jt + at + Wt + 524296, Tt = Nt + 2 * (jt + at) >> 3;
|
|
44762
44781
|
He = Tt + Me >> 1, Me = (Nt = Nt + 2 * (Me + Wt) >> 3) + jt >> 1, f(C[E + 2 * Fe - 1], 255 & He, He >> 16, _e, ie + (2 * Fe - 1) * y), f(C[E + 2 * Fe - 0], 255 & Me, Me >> 16, _e, ie + (2 * Fe - 0) * y), F != null && (He = Nt + at >> 1, Me = Tt + Wt >> 1, f(F[T + 2 * Fe - 1], 255 & He, He >> 16, se, Ie + (2 * Fe - 1) * y), f(F[T + 2 * Fe + 0], 255 & Me, Me >> 16, se, Ie + (2 * Fe + 0) * y)), Me = jt, at = Wt;
|
|
44763
44782
|
}
|
|
@@ -44793,7 +44812,7 @@ function c5(t) {
|
|
|
44793
44812
|
var F = 240 & It(u, f) | 15;
|
|
44794
44813
|
C[E + 0] = 240 & st(u, y) | Bt(u, f, y) >> 4, C[E + 1] = F;
|
|
44795
44814
|
}
|
|
44796
|
-
function
|
|
44815
|
+
function Cr(u, f, y, C, E) {
|
|
44797
44816
|
C[E + 0] = 255, Lt(u, f, y, C, E + 1);
|
|
44798
44817
|
}
|
|
44799
44818
|
function sr(u, f, y, C, E) {
|
|
@@ -44888,7 +44907,7 @@ function c5(t) {
|
|
|
44888
44907
|
e: {
|
|
44889
44908
|
var Ie = u;
|
|
44890
44909
|
_e = f, ie = y;
|
|
44891
|
-
var Le = K, Fe = re,
|
|
44910
|
+
var Le = K, Fe = re, We = Ue = [0];
|
|
44892
44911
|
if ((He = fe = [fe])[0] = 0, 8 > ie[0])
|
|
44893
44912
|
ie = 7;
|
|
44894
44913
|
else {
|
|
@@ -44906,7 +44925,7 @@ function c5(t) {
|
|
|
44906
44925
|
ie = 3;
|
|
44907
44926
|
break e;
|
|
44908
44927
|
}
|
|
44909
|
-
|
|
44928
|
+
We != null && (We[0] = Me), Le != null && (Le[0] = at), Fe != null && (Fe[0] = Ie), _e[0] += 18, ie[0] -= 18, He[0] = 1;
|
|
44910
44929
|
}
|
|
44911
44930
|
ie = 0;
|
|
44912
44931
|
}
|
|
@@ -44928,9 +44947,9 @@ function c5(t) {
|
|
|
44928
44947
|
e: {
|
|
44929
44948
|
Me = u, ie = f, se = y;
|
|
44930
44949
|
var He = ae.gb;
|
|
44931
|
-
Le = ae.na, Fe = ae.P,
|
|
44950
|
+
Le = ae.na, Fe = ae.P, We = ae.Sa, at = 22, e(Me != null), e(se != null), Ie = ie[0];
|
|
44932
44951
|
var jt = se[0];
|
|
44933
|
-
for (e(Le != null), e(
|
|
44952
|
+
for (e(Le != null), e(We != null), Le[0] = null, Fe[0] = null, We[0] = 0; ; ) {
|
|
44934
44953
|
if (ie[0] = Ie, se[0] = jt, 8 > jt) {
|
|
44935
44954
|
ie = 7;
|
|
44936
44955
|
break e;
|
|
@@ -44953,7 +44972,7 @@ function c5(t) {
|
|
|
44953
44972
|
ie = 7;
|
|
44954
44973
|
break e;
|
|
44955
44974
|
}
|
|
44956
|
-
n(Me, Ie, "ALPH") || (Le[0] = Me, Fe[0] = Ie + 8,
|
|
44975
|
+
n(Me, Ie, "ALPH") || (Le[0] = Me, Fe[0] = Ie + 8, We[0] = Wt), Ie += Nt, jt -= Nt;
|
|
44957
44976
|
}
|
|
44958
44977
|
}
|
|
44959
44978
|
if (y = y[0], ae.na = ae.na[0], ae.P = ae.P[0], ae.Sa = ae.Sa[0], ie != 0)
|
|
@@ -44961,7 +44980,7 @@ function c5(t) {
|
|
|
44961
44980
|
}
|
|
44962
44981
|
y = [y], ae.Ja = [ae.Ja], ae.xa = [ae.xa];
|
|
44963
44982
|
e:
|
|
44964
|
-
if (He = u, ie = f, se = y, Le = ae.gb[0], Fe = ae.Ja,
|
|
44983
|
+
if (He = u, ie = f, se = y, Le = ae.gb[0], Fe = ae.Ja, We = ae.xa, Me = ie[0], Ie = !n(He, Me, "VP8 "), at = !n(He, Me, "VP8L"), e(He != null), e(se != null), e(Fe != null), e(We != null), 8 > se[0])
|
|
44965
44984
|
ie = 7;
|
|
44966
44985
|
else {
|
|
44967
44986
|
if (Ie || at) {
|
|
@@ -44973,9 +44992,9 @@ function c5(t) {
|
|
|
44973
44992
|
ie = 7;
|
|
44974
44993
|
break e;
|
|
44975
44994
|
}
|
|
44976
|
-
Fe[0] = He, ie[0] += 8, se[0] -= 8,
|
|
44995
|
+
Fe[0] = He, ie[0] += 8, se[0] -= 8, We[0] = at;
|
|
44977
44996
|
} else
|
|
44978
|
-
|
|
44997
|
+
We[0] = 5 <= se[0] && He[Me + 0] == 47 && !(He[Me + 4] >> 5), Fe[0] = se[0];
|
|
44979
44998
|
ie = 0;
|
|
44980
44999
|
}
|
|
44981
45000
|
if (y = y[0], ae.Ja = ae.Ja[0], ae.xa = ae.xa[0], f = f[0], ie != 0)
|
|
@@ -45117,9 +45136,9 @@ function c5(t) {
|
|
|
45117
45136
|
var Nh, ns = P.ColorIndexInverseTransform, Tu = P.MapARGB, Vm = P.VP8LColorIndexInverseTransformAlpha, $m = P.MapAlpha, Zo = P.VP8LPredictorsAdd = [];
|
|
45118
45137
|
Zo.length = 16, (P.VP8LPredictors = []).length = 16, (P.VP8LPredictorsAdd_C = []).length = 16, (P.VP8LPredictors_C = []).length = 16;
|
|
45119
45138
|
var Ei, rs, ea, zs, po, kc, is, Lc, Du, ta, ss, go, hA, Nc, fA, na, ku, Ii, mo, An, cn, En, Yn, yo, ra, Pc, Ph, jv, zv = s(511), Kv = s(2041), Vv = s(225), $v = s(767), qv = 0, qm = Kv, Oh = Vv, di = $v, Fi = zv, Qh = 0, Rh = 1, Gv = 2, Mh = 3, Hh = 4, Gm = 5, Wv = 6, Wm = 7, Ym = 8, jh = 9, Jm = 10, M4 = [2, 3, 7], H4 = [3, 3, 11], Yv = [280, 256, 256, 256, 40], j4 = [0, 1, 1, 1, 0], z4 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], K4 = [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], V4 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], $4 = 8, Xm = [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], Zm = [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], Lu = null, q4 = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], G4 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Jv = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], W4 = [[[[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]]]], Y4 = [[[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]]], J4 = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], X4 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ia = [], os = [], bo = [], Z4 = 1, Xv = 2, sa = [], Ui = [];
|
|
45120
|
-
Ee("UpsampleRgbLinePair", Lt, 3), Ee("UpsampleBgrLinePair", pn, 3), Ee("UpsampleRgbaLinePair", ts, 4), Ee("UpsampleBgraLinePair", sr, 4), Ee("UpsampleArgbLinePair",
|
|
45139
|
+
Ee("UpsampleRgbLinePair", Lt, 3), Ee("UpsampleBgrLinePair", pn, 3), Ee("UpsampleRgbaLinePair", ts, 4), Ee("UpsampleBgraLinePair", sr, 4), Ee("UpsampleArgbLinePair", Cr, 4), Ee("UpsampleRgba4444LinePair", Rn, 2), Ee("UpsampleRgb565LinePair", yn, 2);
|
|
45121
45140
|
var eI = P.UpsampleRgbLinePair, tI = P.UpsampleBgrLinePair, Zv = P.UpsampleRgbaLinePair, ew = P.UpsampleBgraLinePair, tw = P.UpsampleArgbLinePair, nw = P.UpsampleRgba4444LinePair, nI = P.UpsampleRgb565LinePair, zh = 16, Kh = 1 << zh - 1, Nu = -227, e0 = 482, rw = 6, rI = (256 << rw) - 1, iw = 0, iI = s(256), sI = s(256), oI = s(256), aI = s(256), AI = s(e0 - Nu), cI = s(e0 - Nu);
|
|
45122
|
-
fo("YuvToRgbRow", Lt, 3), fo("YuvToBgrRow", pn, 3), fo("YuvToRgbaRow", ts, 4), fo("YuvToBgraRow", sr, 4), fo("YuvToArgbRow",
|
|
45141
|
+
fo("YuvToRgbRow", Lt, 3), fo("YuvToBgrRow", pn, 3), fo("YuvToRgbaRow", ts, 4), fo("YuvToBgraRow", sr, 4), fo("YuvToArgbRow", Cr, 4), fo("YuvToRgba4444Row", Rn, 2), fo("YuvToRgb565Row", yn, 2);
|
|
45123
45142
|
var sw = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Vh = [0, 2, 8], lI = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], uI = 1;
|
|
45124
45143
|
this.WebPDecodeRGBA = function(u, f, y, C, E) {
|
|
45125
45144
|
var F = Rh, T = new Sc(), D = new Gi();
|
|
@@ -45695,7 +45714,7 @@ function(t) {
|
|
|
45695
45714
|
*/
|
|
45696
45715
|
function(t) {
|
|
45697
45716
|
function e() {
|
|
45698
|
-
return (dt.canvg ? Promise.resolve(dt.canvg) : import("./index.es-
|
|
45717
|
+
return (dt.canvg ? Promise.resolve(dt.canvg) : import("./index.es-ad6aeba8.js")).catch(function(n) {
|
|
45699
45718
|
return Promise.reject(new Error("Could not load canvg: " + n));
|
|
45700
45719
|
}).then(function(n) {
|
|
45701
45720
|
return n.default ? n.default : n;
|