@ranty/ranty-sdk 2.0.2-beta.5 → 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
|
});
|
|
@@ -11634,7 +11634,7 @@ var S_ = function(t) {
|
|
|
11634
11634
|
}
|
|
11635
11635
|
return t;
|
|
11636
11636
|
}, Zp.apply(this, arguments);
|
|
11637
|
-
},
|
|
11637
|
+
}, _r = globalThis && globalThis.__awaiter || function(t, e, n, r) {
|
|
11638
11638
|
function i(s) {
|
|
11639
11639
|
return s instanceof n ? s : new n(function(o) {
|
|
11640
11640
|
o(s);
|
|
@@ -11660,7 +11660,7 @@ var S_ = function(t) {
|
|
|
11660
11660
|
}
|
|
11661
11661
|
c((r = r.apply(t, e || [])).next());
|
|
11662
11662
|
});
|
|
11663
|
-
},
|
|
11663
|
+
}, Sr = globalThis && globalThis.__generator || function(t, e) {
|
|
11664
11664
|
var n = { label: 0, sent: function() {
|
|
11665
11665
|
if (s[0] & 1)
|
|
11666
11666
|
throw s[1];
|
|
@@ -11749,9 +11749,9 @@ var S_ = function(t) {
|
|
|
11749
11749
|
}, t.prototype._pickupCredentials = function() {
|
|
11750
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;
|
|
11751
11751
|
}, t.prototype._keepAlive = function() {
|
|
11752
|
-
return
|
|
11752
|
+
return _r(this, void 0, void 0, function() {
|
|
11753
11753
|
var e, n, r, i, s, o, a, A;
|
|
11754
|
-
return
|
|
11754
|
+
return Sr(this, function(c) {
|
|
11755
11755
|
switch (c.label) {
|
|
11756
11756
|
case 0:
|
|
11757
11757
|
if (Ft.debug("checking if credentials exists and not expired"), e = this._credentials, e && !this._isExpired(e) && !this._isPastTTL())
|
|
@@ -11820,17 +11820,17 @@ var S_ = function(t) {
|
|
|
11820
11820
|
return this._nextCredentialsRefresh <= Date.now();
|
|
11821
11821
|
}, t.prototype._setCredentialsForGuest = function() {
|
|
11822
11822
|
var e;
|
|
11823
|
-
return
|
|
11823
|
+
return _r(this, void 0, void 0, function() {
|
|
11824
11824
|
var n, r, i, s, o, a, A, c, l, d, p = this;
|
|
11825
|
-
return
|
|
11825
|
+
return Sr(this, function(h) {
|
|
11826
11826
|
switch (h.label) {
|
|
11827
11827
|
case 0:
|
|
11828
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")]);
|
|
11829
11829
|
case 1:
|
|
11830
11830
|
return a = A._identityId = h.sent(), c = { region: o != null ? o : i }, l = function() {
|
|
11831
|
-
return
|
|
11831
|
+
return _r(p, void 0, void 0, function() {
|
|
11832
11832
|
var m, b;
|
|
11833
|
-
return
|
|
11833
|
+
return Sr(this, function(x) {
|
|
11834
11834
|
switch (x.label) {
|
|
11835
11835
|
case 0:
|
|
11836
11836
|
return a ? [3, 2] : [4, vf(c, {
|
|
@@ -11854,25 +11854,25 @@ var S_ = function(t) {
|
|
|
11854
11854
|
});
|
|
11855
11855
|
});
|
|
11856
11856
|
}, d = l().catch(function(m) {
|
|
11857
|
-
return
|
|
11858
|
-
return
|
|
11857
|
+
return _r(p, void 0, void 0, function() {
|
|
11858
|
+
return Sr(this, function(b) {
|
|
11859
11859
|
throw m;
|
|
11860
11860
|
});
|
|
11861
11861
|
});
|
|
11862
11862
|
}), [2, this._loadCredentials(d, "guest", !1, null).then(function(m) {
|
|
11863
11863
|
return m;
|
|
11864
11864
|
}).catch(function(m) {
|
|
11865
|
-
return
|
|
11865
|
+
return _r(p, void 0, void 0, function() {
|
|
11866
11866
|
var b, x = this;
|
|
11867
|
-
return
|
|
11867
|
+
return Sr(this, function(v) {
|
|
11868
11868
|
switch (v.label) {
|
|
11869
11869
|
case 0:
|
|
11870
11870
|
return m.name === "ResourceNotFoundException" && m.message === "Identity '".concat(a, "' not found.") ? (Ft.debug("Failed to load guest credentials"), [4, this._removeGuestIdentityId()]) : [3, 2];
|
|
11871
11871
|
case 1:
|
|
11872
11872
|
return v.sent(), b = function() {
|
|
11873
|
-
return
|
|
11873
|
+
return _r(x, void 0, void 0, function() {
|
|
11874
11874
|
var _, U;
|
|
11875
|
-
return
|
|
11875
|
+
return Sr(this, function(M) {
|
|
11876
11876
|
switch (M.label) {
|
|
11877
11877
|
case 0:
|
|
11878
11878
|
return [4, vf(c, {
|
|
@@ -11894,8 +11894,8 @@ var S_ = function(t) {
|
|
|
11894
11894
|
});
|
|
11895
11895
|
});
|
|
11896
11896
|
}, d = b().catch(function(_) {
|
|
11897
|
-
return
|
|
11898
|
-
return
|
|
11897
|
+
return _r(x, void 0, void 0, function() {
|
|
11898
|
+
return Sr(this, function(U) {
|
|
11899
11899
|
throw _;
|
|
11900
11900
|
});
|
|
11901
11901
|
});
|
|
@@ -11926,9 +11926,9 @@ var S_ = function(t) {
|
|
|
11926
11926
|
if (!p && !d)
|
|
11927
11927
|
return Ft.debug("region is not configured for getting the credentials"), Promise.reject("region is not configured for getting the credentials");
|
|
11928
11928
|
var h = { region: p != null ? p : d }, m = function() {
|
|
11929
|
-
return
|
|
11929
|
+
return _r(n, void 0, void 0, function() {
|
|
11930
11930
|
var x, v;
|
|
11931
|
-
return
|
|
11931
|
+
return Sr(this, function(_) {
|
|
11932
11932
|
switch (_.label) {
|
|
11933
11933
|
case 0:
|
|
11934
11934
|
return s ? [3, 2] : [4, vf(h, {
|
|
@@ -11954,8 +11954,8 @@ var S_ = function(t) {
|
|
|
11954
11954
|
});
|
|
11955
11955
|
});
|
|
11956
11956
|
}, b = m().catch(function(x) {
|
|
11957
|
-
return
|
|
11958
|
-
return
|
|
11957
|
+
return _r(n, void 0, void 0, function() {
|
|
11958
|
+
return Sr(this, function(v) {
|
|
11959
11959
|
throw x;
|
|
11960
11960
|
});
|
|
11961
11961
|
});
|
|
@@ -11972,9 +11972,9 @@ var S_ = function(t) {
|
|
|
11972
11972
|
var c = "cognito-idp." + s + ".amazonaws.com/" + o, l = {};
|
|
11973
11973
|
l[c] = r;
|
|
11974
11974
|
var d = { region: A != null ? A : s }, p = function() {
|
|
11975
|
-
return
|
|
11975
|
+
return _r(n, void 0, void 0, function() {
|
|
11976
11976
|
var m, b, x, v, _, U, M, V, j, H;
|
|
11977
|
-
return
|
|
11977
|
+
return Sr(this, function(P) {
|
|
11978
11978
|
switch (P.label) {
|
|
11979
11979
|
case 0:
|
|
11980
11980
|
return [4, this._getGuestIdentityId()];
|
|
@@ -12006,8 +12006,8 @@ var S_ = function(t) {
|
|
|
12006
12006
|
});
|
|
12007
12007
|
});
|
|
12008
12008
|
}, h = p().catch(function(m) {
|
|
12009
|
-
return
|
|
12010
|
-
return
|
|
12009
|
+
return _r(n, void 0, void 0, function() {
|
|
12010
|
+
return Sr(this, function(b) {
|
|
12011
12011
|
throw m;
|
|
12012
12012
|
});
|
|
12013
12013
|
});
|
|
@@ -12017,9 +12017,9 @@ var S_ = function(t) {
|
|
|
12017
12017
|
var s = this, o = this;
|
|
12018
12018
|
return new Promise(function(a, A) {
|
|
12019
12019
|
e.then(function(c) {
|
|
12020
|
-
return
|
|
12020
|
+
return _r(s, void 0, void 0, function() {
|
|
12021
12021
|
var l, d, p, h, m;
|
|
12022
|
-
return
|
|
12022
|
+
return Sr(this, function(b) {
|
|
12023
12023
|
switch (b.label) {
|
|
12024
12024
|
case 0:
|
|
12025
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") {
|
|
@@ -12057,8 +12057,8 @@ var S_ = function(t) {
|
|
|
12057
12057
|
}, t.prototype.set = function(e, n) {
|
|
12058
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"));
|
|
12059
12059
|
}, t.prototype.clear = function() {
|
|
12060
|
-
return
|
|
12061
|
-
return
|
|
12060
|
+
return _r(this, void 0, void 0, function() {
|
|
12061
|
+
return Sr(this, function(e) {
|
|
12062
12062
|
return this._credentials = null, this._credentials_source = null, Ft.debug("removing aws-amplify-federatedInfo from storage"), this._storage.removeItem("aws-amplify-federatedInfo"), [
|
|
12063
12063
|
2
|
|
12064
12064
|
/*return*/
|
|
@@ -12066,9 +12066,9 @@ var S_ = function(t) {
|
|
|
12066
12066
|
});
|
|
12067
12067
|
});
|
|
12068
12068
|
}, t.prototype._getGuestIdentityId = function() {
|
|
12069
|
-
return
|
|
12069
|
+
return _r(this, void 0, void 0, function() {
|
|
12070
12070
|
var e, n;
|
|
12071
|
-
return
|
|
12071
|
+
return Sr(this, function(r) {
|
|
12072
12072
|
switch (r.label) {
|
|
12073
12073
|
case 0:
|
|
12074
12074
|
e = this._config.identityPoolId, r.label = 1;
|
|
@@ -12087,9 +12087,9 @@ var S_ = function(t) {
|
|
|
12087
12087
|
});
|
|
12088
12088
|
});
|
|
12089
12089
|
}, t.prototype._setGuestIdentityId = function(e) {
|
|
12090
|
-
return
|
|
12090
|
+
return _r(this, void 0, void 0, function() {
|
|
12091
12091
|
var n, r;
|
|
12092
|
-
return
|
|
12092
|
+
return Sr(this, function(i) {
|
|
12093
12093
|
switch (i.label) {
|
|
12094
12094
|
case 0:
|
|
12095
12095
|
n = this._config.identityPoolId, i.label = 1;
|
|
@@ -12108,9 +12108,9 @@ var S_ = function(t) {
|
|
|
12108
12108
|
});
|
|
12109
12109
|
});
|
|
12110
12110
|
}, t.prototype._removeGuestIdentityId = function() {
|
|
12111
|
-
return
|
|
12111
|
+
return _r(this, void 0, void 0, function() {
|
|
12112
12112
|
var e;
|
|
12113
|
-
return
|
|
12113
|
+
return Sr(this, function(n) {
|
|
12114
12114
|
return e = this._config.identityPoolId, Ft.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(e), " from storage")), this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)), [
|
|
12115
12115
|
2
|
|
12116
12116
|
/*return*/
|
|
@@ -12921,9 +12921,9 @@ var lO = {}.toString, uO = Array.isArray || function(t) {
|
|
|
12921
12921
|
return 1;
|
|
12922
12922
|
if (B >>>= 0, Q >>>= 0, X >>>= 0, he >>>= 0, this === w)
|
|
12923
12923
|
return 0;
|
|
12924
|
-
for (var we = he - X, je = Q - B, Xe = Math.min(we, je), it = this.slice(X, he), mt = w.slice(B, Q),
|
|
12925
|
-
if (it[
|
|
12926
|
-
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];
|
|
12927
12927
|
break;
|
|
12928
12928
|
}
|
|
12929
12929
|
return we < je ? -1 : je < we ? 1 : 0;
|
|
@@ -12967,12 +12967,12 @@ var lO = {}.toString, uO = Array.isArray || function(t) {
|
|
|
12967
12967
|
mt !== -1 && (it -= it - mt), mt = -1;
|
|
12968
12968
|
} else
|
|
12969
12969
|
for (B + je > we && (B = we - je), it = B; it >= 0; it--) {
|
|
12970
|
-
for (var
|
|
12970
|
+
for (var Ge = !0, xt = 0; xt < je; xt++)
|
|
12971
12971
|
if (Xe(L, it + xt) !== Xe(w, xt)) {
|
|
12972
|
-
|
|
12972
|
+
Ge = !1;
|
|
12973
12973
|
break;
|
|
12974
12974
|
}
|
|
12975
|
-
if (
|
|
12975
|
+
if (Ge)
|
|
12976
12976
|
return it;
|
|
12977
12977
|
}
|
|
12978
12978
|
return -1;
|
|
@@ -13068,19 +13068,19 @@ var lO = {}.toString, uO = Array.isArray || function(t) {
|
|
|
13068
13068
|
for (var Q = [], X = w; X < B; ) {
|
|
13069
13069
|
var he = L[X], we = null, je = he > 239 ? 4 : he > 223 ? 3 : he > 191 ? 2 : 1;
|
|
13070
13070
|
if (X + je <= B) {
|
|
13071
|
-
var Xe, it, mt,
|
|
13071
|
+
var Xe, it, mt, Ge;
|
|
13072
13072
|
switch (je) {
|
|
13073
13073
|
case 1:
|
|
13074
13074
|
he < 128 && (we = he);
|
|
13075
13075
|
break;
|
|
13076
13076
|
case 2:
|
|
13077
|
-
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));
|
|
13078
13078
|
break;
|
|
13079
13079
|
case 3:
|
|
13080
|
-
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));
|
|
13081
13081
|
break;
|
|
13082
13082
|
case 4:
|
|
13083
|
-
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));
|
|
13084
13084
|
}
|
|
13085
13085
|
}
|
|
13086
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;
|
|
@@ -17422,7 +17422,7 @@ function R_(t, e, n) {
|
|
|
17422
17422
|
const Gg = (t) => Te(void 0, null, function* () {
|
|
17423
17423
|
const e = kn.getConfig();
|
|
17424
17424
|
return new Promise((n, r) => Te(void 0, null, function* () {
|
|
17425
|
-
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`;
|
|
17426
17426
|
Og.configure({ identityPoolId: i, identityPoolRegion: o, identityPoolService: s });
|
|
17427
17427
|
const A = _b.essentialCredentials(yield _b.currentCredentials());
|
|
17428
17428
|
if (!A.accessKeyId) {
|
|
@@ -17513,7 +17513,7 @@ let Cs = class extends nt {
|
|
|
17513
17513
|
s.length === 16 ? this.shouldValidateBin ? yield zU(s.slice(0, 6)).then((a) => {
|
|
17514
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);
|
|
17515
17515
|
}).catch((a) => {
|
|
17516
|
-
|
|
17516
|
+
qe.error("HANDLE-INPUT-ERROR", {}, a), this.serviceError();
|
|
17517
17517
|
}) : (this.isBrand = !0, this.isTouched = !0) : this.isError = !1;
|
|
17518
17518
|
const o = new CustomEvent("onChange", {
|
|
17519
17519
|
bubbles: !0,
|
|
@@ -18841,7 +18841,7 @@ let GA = class t extends nt {
|
|
|
18841
18841
|
task: () => Te(this, null, function* () {
|
|
18842
18842
|
kn.setConfig(this.env), this.payfacContext.config = kn.getConfig();
|
|
18843
18843
|
try {
|
|
18844
|
-
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 }));
|
|
18845
18845
|
} catch (e) {
|
|
18846
18846
|
throw this.payfacContext.isReady = !1, console.log(e), e;
|
|
18847
18847
|
}
|
|
@@ -18850,7 +18850,7 @@ let GA = class t extends nt {
|
|
|
18850
18850
|
}
|
|
18851
18851
|
_serviceCallRetry() {
|
|
18852
18852
|
return Te(this, null, function* () {
|
|
18853
|
-
this.
|
|
18853
|
+
this._setTokenTask.run();
|
|
18854
18854
|
});
|
|
18855
18855
|
}
|
|
18856
18856
|
getPaymentRequest() {
|
|
@@ -18998,16 +18998,18 @@ let Ln = class t extends nt {
|
|
|
18998
18998
|
}
|
|
18999
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* () {
|
|
19000
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");
|
|
19001
19003
|
this.contextData.arrayPlans = xk(e, this.contextData.cardBrand, this.contextData.cardType);
|
|
19002
19004
|
}), this._triggerCheckoutTask = new dv(this, {
|
|
19003
19005
|
task: () => Te(this, null, function* () {
|
|
19004
|
-
var
|
|
19005
|
-
|
|
19006
|
-
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 = {
|
|
19007
19009
|
cardBrand: this.contextData.cardBrand,
|
|
19008
|
-
merchantTransactionId: (
|
|
19010
|
+
merchantTransactionId: (l = (c = this._checkoutResponse) == null ? void 0 : c.headers["merchant-transaction-id"]) != null ? l : "",
|
|
19009
19011
|
srcDpaId: this.dpaId,
|
|
19010
|
-
srcCorrelationId: (
|
|
19012
|
+
srcCorrelationId: (p = (d = this._checkoutResponse) == null ? void 0 : d.checkoutResponseData.srcCorrelationId) != null ? p : "",
|
|
19011
19013
|
transactionAmount: this._payfacContext.paymentRequest.transactions[0].amount.value,
|
|
19012
19014
|
transactionCurrencyCode: this._transactionCurrency,
|
|
19013
19015
|
paymentInfo: {
|
|
@@ -19017,7 +19019,7 @@ let Ln = class t extends nt {
|
|
|
19017
19019
|
order_id: String(n.order_id),
|
|
19018
19020
|
store_id: String(n.integration_store_id),
|
|
19019
19021
|
payment_method: {
|
|
19020
|
-
installment_plan_id: (
|
|
19022
|
+
installment_plan_id: (h = this.contextData.selectedInstallment) == null ? void 0 : h.id,
|
|
19021
19023
|
type: "card_payment",
|
|
19022
19024
|
save_card: !1,
|
|
19023
19025
|
holder: {
|
|
@@ -19032,12 +19034,13 @@ let Ln = class t extends nt {
|
|
|
19032
19034
|
card_payment: "card_payment"
|
|
19033
19035
|
},
|
|
19034
19036
|
transactions: eb(s),
|
|
19035
|
-
buyer: i
|
|
19037
|
+
buyer: i,
|
|
19038
|
+
payment_input: o
|
|
19036
19039
|
}
|
|
19037
19040
|
};
|
|
19038
|
-
(yield XU(
|
|
19039
|
-
|
|
19040
|
-
})).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());
|
|
19041
19044
|
})
|
|
19042
19045
|
});
|
|
19043
19046
|
}
|
|
@@ -19072,25 +19075,25 @@ let Ln = class t extends nt {
|
|
|
19072
19075
|
this._isLoading = !0;
|
|
19073
19076
|
let e = "";
|
|
19074
19077
|
Gg(this.paymentRequestId).then((n) => {
|
|
19075
|
-
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;
|
|
19076
19079
|
}).catch((n) => {
|
|
19077
|
-
this._isLoading = !1,
|
|
19080
|
+
this._isLoading = !1, qe.error("ws payment error", { tag: "WS_PAYMENT_RESPONSE_C2P", status: e }, n);
|
|
19078
19081
|
});
|
|
19079
19082
|
}
|
|
19080
19083
|
connectedCallback() {
|
|
19081
19084
|
super.connectedCallback(), this.contextData.isC2pAvailable = this.useC2P, this.addEventListener("error-on-service", (e) => {
|
|
19082
19085
|
const n = e;
|
|
19083
|
-
|
|
19086
|
+
qe.error("ERROR-AUTHENTICATION-TOKEN", n, new Error("token not created"));
|
|
19084
19087
|
}), this.addEventListener("errorOnClick2pay", (e) => {
|
|
19085
19088
|
const n = e;
|
|
19086
|
-
|
|
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);
|
|
19087
19090
|
}), this.addEventListener("clearErrors", () => {
|
|
19088
19091
|
this.contextData.hasError = !1, this.contextData.hasPayError = !1, this.contextData.websocketResponse = !1, this.contextData.newUser = !1;
|
|
19089
19092
|
}), this.addEventListener("click2payNotAvailable", () => {
|
|
19090
|
-
|
|
19093
|
+
qe.info("click2pay not available", { tag: "C2P_NOT_AVAILABLE" }), this.contextData.isC2pAvailable = !1;
|
|
19091
19094
|
}), this.addEventListener("click2payInitialized", (e) => {
|
|
19092
19095
|
const n = e;
|
|
19093
|
-
|
|
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(
|
|
19094
19097
|
(r) => r.toUpperCase()
|
|
19095
19098
|
);
|
|
19096
19099
|
}), this.addEventListener("rememberMeSelected", (e) => {
|
|
@@ -19101,7 +19104,7 @@ let Ln = class t extends nt {
|
|
|
19101
19104
|
this.contextData.newUser = n.detail.newUser;
|
|
19102
19105
|
}), this.addEventListener("userRecognized", (e) => {
|
|
19103
19106
|
const n = e;
|
|
19104
|
-
|
|
19107
|
+
qe.info("c2p user recognized", { tag: "C2P_RECOGNIZED_USER", contextObject: n }), this.contextData.userRecognized = n.detail.userRecognized;
|
|
19105
19108
|
}), this.addEventListener("personalDataSubmitted", (e) => {
|
|
19106
19109
|
const n = e, { firstName: r, lastName: i } = M_(n.detail.name);
|
|
19107
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;
|
|
@@ -19114,10 +19117,10 @@ let Ln = class t extends nt {
|
|
|
19114
19117
|
this.contextData.componentsVisibility.showInstallmentPlan = !1;
|
|
19115
19118
|
}), this.addEventListener("setCardTypeAndBrand", (e) => Te(this, null, function* () {
|
|
19116
19119
|
const n = e;
|
|
19117
|
-
|
|
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;
|
|
19118
19121
|
})), this.addEventListener("checkoutCompleted", (e) => {
|
|
19119
19122
|
const n = e;
|
|
19120
|
-
|
|
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;
|
|
19121
19124
|
}), this.addEventListener("lastStepCvv", (e) => {
|
|
19122
19125
|
const n = e;
|
|
19123
19126
|
this._lastStepCvv = n.detail.cvv;
|
|
@@ -19125,7 +19128,7 @@ let Ln = class t extends nt {
|
|
|
19125
19128
|
this.contextData.checkoutReady = !1;
|
|
19126
19129
|
}), this.addEventListener("triggerCheckout", () => Te(this, null, function* () {
|
|
19127
19130
|
var e, n, r, i, s, o;
|
|
19128
|
-
|
|
19131
|
+
qe.info("trigger checkout", { tag: "TRIGGER_CHECKOUT" }), this._isLoading = !0;
|
|
19129
19132
|
try {
|
|
19130
19133
|
if ((e = this.contextData.availableNetworks) != null && e.includes(this.contextData.cardBrand) && this.contextData.click2PayPaymentInput !== void 0)
|
|
19131
19134
|
yield this._triggerCheckoutTask.run();
|
|
@@ -19142,7 +19145,7 @@ let Ln = class t extends nt {
|
|
|
19142
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;
|
|
19143
19146
|
}
|
|
19144
19147
|
} catch (a) {
|
|
19145
|
-
|
|
19148
|
+
qe.error("trigger checkout error", { tag: "TRIGGER_CHECKOUT_ERROR" }, a), this._isLoading = !1, this.contextData.hasError = !1, this.contextData.hasPayError = !0;
|
|
19146
19149
|
}
|
|
19147
19150
|
})), this.addEventListener("setCardData", (e) => Te(this, null, function* () {
|
|
19148
19151
|
const n = e;
|
|
@@ -19150,12 +19153,12 @@ let Ln = class t extends nt {
|
|
|
19150
19153
|
})), this.addEventListener("newCardSelected", (e) => Te(this, null, function* () {
|
|
19151
19154
|
var r;
|
|
19152
19155
|
const n = e;
|
|
19153
|
-
if (
|
|
19154
|
-
|
|
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;
|
|
19155
19158
|
else {
|
|
19156
|
-
|
|
19157
|
-
const [i, s] = n.detail.expired.split("/")
|
|
19158
|
-
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) {
|
|
19159
19162
|
this.contextData.directPaymentData.formData = {
|
|
19160
19163
|
creditNumber: n.detail.creditNumber,
|
|
19161
19164
|
name: Eb(
|
|
@@ -19170,7 +19173,7 @@ let Ln = class t extends nt {
|
|
|
19170
19173
|
}, this._isLoading = !1, this.contextData.componentsVisibility.showInstallmentPlan = !0;
|
|
19171
19174
|
return;
|
|
19172
19175
|
}
|
|
19173
|
-
const
|
|
19176
|
+
const o = {
|
|
19174
19177
|
primaryAccountNumber: n.detail.creditNumber,
|
|
19175
19178
|
panExpirationMonth: i,
|
|
19176
19179
|
panExpirationYear: s,
|
|
@@ -19180,9 +19183,9 @@ let Ln = class t extends nt {
|
|
|
19180
19183
|
};
|
|
19181
19184
|
if (this.contextData.click2PayPaymentInput)
|
|
19182
19185
|
try {
|
|
19183
|
-
this.contextData.encryptedCardData = yield GU(this.contextData.mcService,
|
|
19184
|
-
} catch (
|
|
19185
|
-
|
|
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;
|
|
19186
19189
|
}
|
|
19187
19190
|
this.contextData.componentsVisibility.showInstallmentPlan = !0, this._isLoading = !1;
|
|
19188
19191
|
}
|
|
@@ -19429,7 +19432,7 @@ let WA = class t extends nt {
|
|
|
19429
19432
|
composed: !0,
|
|
19430
19433
|
detail: { selectedInstallment: this._selectedInstallment }
|
|
19431
19434
|
});
|
|
19432
|
-
|
|
19435
|
+
qe.info("selected installment plan", {
|
|
19433
19436
|
tag: "SELECTED_INSTALLMENT_PLAN",
|
|
19434
19437
|
contextObject: this._selectedInstallment
|
|
19435
19438
|
}), this.dispatchEvent(e);
|
|
@@ -19645,18 +19648,19 @@ let qr = class t extends nt {
|
|
|
19645
19648
|
if (this._contextData.bines = e, e.length === 6) {
|
|
19646
19649
|
try {
|
|
19647
19650
|
if (this._plansData = yield ic((n = this._contextData) == null ? void 0 : n.paymentRequest, e), this._plansData) {
|
|
19648
|
-
const { plans:
|
|
19649
|
-
this._codeError =
|
|
19651
|
+
const { plans: s } = this._plansData, { code: o } = s;
|
|
19652
|
+
this._codeError = o;
|
|
19650
19653
|
}
|
|
19651
|
-
} catch (
|
|
19652
|
-
console.log(
|
|
19654
|
+
} catch (s) {
|
|
19655
|
+
console.log(s);
|
|
19653
19656
|
}
|
|
19654
|
-
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);
|
|
19655
19658
|
r ? this.binesBrand = r.brand : this.binesBrand = "null", this.dispatchEvent(
|
|
19656
19659
|
new CustomEvent("onChange", {
|
|
19657
19660
|
detail: {
|
|
19658
19661
|
brand: this.binesBrand,
|
|
19659
|
-
cardNumber: this.numericValue
|
|
19662
|
+
cardNumber: this.numericValue,
|
|
19663
|
+
type: i
|
|
19660
19664
|
},
|
|
19661
19665
|
bubbles: !0,
|
|
19662
19666
|
composed: !0
|
|
@@ -19672,19 +19676,27 @@ let qr = class t extends nt {
|
|
|
19672
19676
|
Jn(t.prototype, this, "firstUpdated").call(this, e), this.cardNumber !== "" && (this._formattedCardNumber = Sb(this.cardNumber), yield this._validateBin(this.cardNumber));
|
|
19673
19677
|
});
|
|
19674
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
|
+
}
|
|
19675
19687
|
_validateBin(e) {
|
|
19676
19688
|
return Te(this, null, function* () {
|
|
19677
19689
|
if (this.numericValue = e, e.length == 16)
|
|
19678
19690
|
try {
|
|
19679
19691
|
yield this._validateBinTask.run();
|
|
19680
19692
|
} catch (n) {
|
|
19681
|
-
|
|
19693
|
+
qe.info("validate bin catch", { tag: "VALIDATE_BIN_CATCH", contextObject: n });
|
|
19682
19694
|
}
|
|
19683
19695
|
if (e.length >= 6 && this._validateBinTask.status != 1)
|
|
19684
19696
|
try {
|
|
19685
19697
|
yield this._validateBinTask.run();
|
|
19686
19698
|
} catch (n) {
|
|
19687
|
-
|
|
19699
|
+
qe.info("validate bin catch", { tag: "VALIDATE_BIN_CATCH", contextObject: n });
|
|
19688
19700
|
}
|
|
19689
19701
|
});
|
|
19690
19702
|
}
|
|
@@ -19725,7 +19737,7 @@ let qr = class t extends nt {
|
|
|
19725
19737
|
.errorsMsg="${this.errorsMsg}"
|
|
19726
19738
|
customClass="${e || this._codeError === "INSTALLMENT_PLANS_NOT_FOUND" ? "error" : ""}"
|
|
19727
19739
|
></my-input>
|
|
19728
|
-
${e ? J
|
|
19740
|
+
${e ? J` <div class="errorSpan"><p>Tenés que completar el número de tarjeta</p></div>` : ""}
|
|
19729
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>` : ""}
|
|
19730
19742
|
</div>
|
|
19731
19743
|
`;
|
|
@@ -19910,7 +19922,8 @@ let Nn = class t extends nt {
|
|
|
19910
19922
|
expired: this._expired,
|
|
19911
19923
|
codSeg: this._codSeg,
|
|
19912
19924
|
isC2P: this.isC2P,
|
|
19913
|
-
cardBrand: this._cardBrand
|
|
19925
|
+
cardBrand: this._cardBrand,
|
|
19926
|
+
cardType: this._cardType
|
|
19914
19927
|
},
|
|
19915
19928
|
bubbles: !0,
|
|
19916
19929
|
composed: !0
|
|
@@ -20370,7 +20383,7 @@ rr([
|
|
|
20370
20383
|
Pn = rr([
|
|
20371
20384
|
rt("click2pay-order-review")
|
|
20372
20385
|
], Pn);
|
|
20373
|
-
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}
|
|
20374
20387
|
`;
|
|
20375
20388
|
var w8 = Object.defineProperty, B8 = Object.getOwnPropertyDescriptor, xi = (t, e, n, r) => {
|
|
20376
20389
|
for (var i = r > 1 ? void 0 : r ? B8(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -20669,7 +20682,7 @@ to([
|
|
|
20669
20682
|
Ss = to([
|
|
20670
20683
|
rt("scof-context")
|
|
20671
20684
|
], Ss);
|
|
20672
|
-
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}}
|
|
20673
20686
|
`;
|
|
20674
20687
|
var k8 = Object.defineProperty, L8 = Object.getOwnPropertyDescriptor, Qr = (t, e, n, r) => {
|
|
20675
20688
|
for (var i = r > 1 ? void 0 : r ? L8(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -20946,20 +20959,20 @@ const N8 = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normaliz
|
|
|
20946
20959
|
}, H8 = (t, e) => {
|
|
20947
20960
|
const n = M8(t), r = kn.getConfig();
|
|
20948
20961
|
if (n)
|
|
20949
|
-
if (
|
|
20962
|
+
if (qe.info(`Loading ${n} fraud prevention tooling`, e), n === Tp.SIFT) {
|
|
20950
20963
|
const i = {
|
|
20951
20964
|
accountId: r.SIFT_FRAUD_PREVENTION.ACCOUNT_ID,
|
|
20952
20965
|
sessionId: e.sessionId,
|
|
20953
20966
|
userId: e.userId
|
|
20954
20967
|
};
|
|
20955
|
-
|
|
20968
|
+
qe.info("Loading sift fraud prevention tooling", i), tC(i);
|
|
20956
20969
|
} else {
|
|
20957
20970
|
const i = {
|
|
20958
20971
|
merchantId: r.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
|
|
20959
20972
|
orgId: r.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
|
|
20960
20973
|
sessionId: e.sessionId
|
|
20961
20974
|
};
|
|
20962
|
-
|
|
20975
|
+
qe.info("Loading cybersource fraud prevention tooling", i);
|
|
20963
20976
|
const s = nC(i);
|
|
20964
20977
|
document.head.appendChild(s.script);
|
|
20965
20978
|
const o = document.querySelector("noscript");
|
|
@@ -21279,7 +21292,7 @@ var sM = Object.defineProperty, oM = Object.getOwnPropertyDescriptor, Rr = (t, e
|
|
|
21279
21292
|
};
|
|
21280
21293
|
let hr = class t extends nt {
|
|
21281
21294
|
constructor() {
|
|
21282
|
-
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 = [];
|
|
21283
21296
|
}
|
|
21284
21297
|
connectedCallback() {
|
|
21285
21298
|
super.connectedCallback(), this.addEventListener("selectSrcDigitalCardId", (e) => {
|
|
@@ -21329,7 +21342,9 @@ let hr = class t extends nt {
|
|
|
21329
21342
|
this._showCardForm ? e = {
|
|
21330
21343
|
creditNumber: this._cardNumber,
|
|
21331
21344
|
expired: this._expired,
|
|
21332
|
-
codSeg: this._codSeg
|
|
21345
|
+
codSeg: this._codSeg,
|
|
21346
|
+
cardBrand: this._cardBrand,
|
|
21347
|
+
cardType: this._cardType
|
|
21333
21348
|
} : e = {
|
|
21334
21349
|
srcDigitalCardId: this._srcDigitalCardId
|
|
21335
21350
|
}, this.dispatchEvent(
|
|
@@ -21519,7 +21534,7 @@ hr = Rr([
|
|
|
21519
21534
|
], hr);
|
|
21520
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}}
|
|
21521
21536
|
`;
|
|
21522
|
-
var AM = Object.defineProperty, cM = Object.getOwnPropertyDescriptor,
|
|
21537
|
+
var AM = Object.defineProperty, cM = Object.getOwnPropertyDescriptor, Br = (t, e, n, r) => {
|
|
21523
21538
|
for (var i = r > 1 ? void 0 : r ? cM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
21524
21539
|
(o = t[s]) && (i = (r ? o(e, n, i) : o(i)) || i);
|
|
21525
21540
|
return r && i && AM(e, n, i), i;
|
|
@@ -21528,9 +21543,9 @@ let er = class t extends nt {
|
|
|
21528
21543
|
constructor() {
|
|
21529
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) => {
|
|
21530
21545
|
const n = e, r = this.renderRoot.querySelector("src-otp-input");
|
|
21531
|
-
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;
|
|
21532
21547
|
}), this.addEventListener("continue", (e) => {
|
|
21533
|
-
|
|
21548
|
+
qe.info("continue event", { tag: "CONTINUE_EVENT", contextObject: e }), this.dispatchEvent(
|
|
21534
21549
|
new CustomEvent("submitOtpValue", {
|
|
21535
21550
|
detail: {
|
|
21536
21551
|
otpValue: this._otpValue
|
|
@@ -21541,7 +21556,7 @@ let er = class t extends nt {
|
|
|
21541
21556
|
);
|
|
21542
21557
|
}), this.addEventListener("rememberMe", (e) => {
|
|
21543
21558
|
const n = e;
|
|
21544
|
-
|
|
21559
|
+
qe.info("user selected remember me", { tag: "REMEMBER_ME_SELECTED", contxtObject: n.detail });
|
|
21545
21560
|
const r = this.renderRoot.querySelector("src-otp-input");
|
|
21546
21561
|
this._rememberMe = r.shadowRoot.querySelector("#remember_me").checked, this.dispatchEvent(
|
|
21547
21562
|
new CustomEvent("rememberMeSelected", {
|
|
@@ -21558,15 +21573,15 @@ let er = class t extends nt {
|
|
|
21558
21573
|
return Te(this, null, function* () {
|
|
21559
21574
|
Jn(t.prototype, this, "firstUpdated").call(this, e);
|
|
21560
21575
|
const n = this.renderRoot.querySelector("src-otp-input");
|
|
21561
|
-
|
|
21576
|
+
qe.info("firstUpdated otpOptions", { tag: "OTP_OPTIONS", contextObject: this.otpOptions }), qe.info("firstUpdated maskedIdentityValue", {
|
|
21562
21577
|
tag: "MASKED_IDENTITY_VALUE",
|
|
21563
21578
|
contextObject: this.maskedIdentityValue
|
|
21564
21579
|
}), yield n == null ? void 0 : n.loadSupportedValidationChannels(this.otpOptions), n == null || n.addEventListener("notYouRequested", () => Te(this, null, function* () {
|
|
21565
21580
|
var r;
|
|
21566
|
-
|
|
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();
|
|
21567
21582
|
})), n == null || n.addEventListener("resendOtp", (r) => {
|
|
21568
21583
|
const i = r;
|
|
21569
|
-
|
|
21584
|
+
qe.info("OTP resend requested by user", { tag: "OTP-RESEND-REQUESTS", contextObject: i.detail });
|
|
21570
21585
|
}), this.displayRememberMe = !0;
|
|
21571
21586
|
});
|
|
21572
21587
|
}
|
|
@@ -21617,56 +21632,56 @@ let er = class t extends nt {
|
|
|
21617
21632
|
er.styles = ot`
|
|
21618
21633
|
${At(aM)}
|
|
21619
21634
|
`;
|
|
21620
|
-
|
|
21635
|
+
Br([
|
|
21621
21636
|
k({ type: Number })
|
|
21622
21637
|
], er.prototype, "otpOptions", 2);
|
|
21623
|
-
|
|
21638
|
+
Br([
|
|
21624
21639
|
k({ type: String })
|
|
21625
21640
|
], er.prototype, "maskedIdentityValue", 2);
|
|
21626
|
-
|
|
21641
|
+
Br([
|
|
21627
21642
|
k({ type: String })
|
|
21628
21643
|
], er.prototype, "otpError", 2);
|
|
21629
|
-
|
|
21644
|
+
Br([
|
|
21630
21645
|
k({ type: String })
|
|
21631
21646
|
], er.prototype, "network", 2);
|
|
21632
|
-
|
|
21647
|
+
Br([
|
|
21633
21648
|
k({ type: Boolean })
|
|
21634
21649
|
], er.prototype, "displayRememberMe", 2);
|
|
21635
|
-
|
|
21650
|
+
Br([
|
|
21636
21651
|
be()
|
|
21637
21652
|
], er.prototype, "_otpValue", 2);
|
|
21638
|
-
|
|
21653
|
+
Br([
|
|
21639
21654
|
be()
|
|
21640
21655
|
], er.prototype, "_rememberMe", 2);
|
|
21641
|
-
|
|
21656
|
+
Br([
|
|
21642
21657
|
be()
|
|
21643
21658
|
], er.prototype, "_isButtonDisabled", 2);
|
|
21644
|
-
|
|
21659
|
+
Br([
|
|
21645
21660
|
be()
|
|
21646
21661
|
], er.prototype, "_showCardForm", 2);
|
|
21647
|
-
|
|
21662
|
+
Br([
|
|
21648
21663
|
be()
|
|
21649
21664
|
], er.prototype, "_showC2pOtpInput", 2);
|
|
21650
|
-
|
|
21665
|
+
Br([
|
|
21651
21666
|
be()
|
|
21652
21667
|
], er.prototype, "_isError", 2);
|
|
21653
|
-
|
|
21668
|
+
Br([
|
|
21654
21669
|
be()
|
|
21655
21670
|
], er.prototype, "_isTouched", 2);
|
|
21656
|
-
|
|
21671
|
+
Br([
|
|
21657
21672
|
be()
|
|
21658
21673
|
], er.prototype, "_creditNumber", 2);
|
|
21659
|
-
|
|
21674
|
+
Br([
|
|
21660
21675
|
be()
|
|
21661
21676
|
], er.prototype, "_expired", 2);
|
|
21662
|
-
|
|
21677
|
+
Br([
|
|
21663
21678
|
be()
|
|
21664
21679
|
], er.prototype, "_codSeg", 2);
|
|
21665
|
-
|
|
21680
|
+
Br([
|
|
21666
21681
|
ct({ context: eo, subscribe: !0 }),
|
|
21667
21682
|
be()
|
|
21668
21683
|
], er.prototype, "_contextData", 2);
|
|
21669
|
-
er =
|
|
21684
|
+
er = Br([
|
|
21670
21685
|
rt("click2pay-otp-input")
|
|
21671
21686
|
], er);
|
|
21672
21687
|
const lM = "";
|
|
@@ -21863,7 +21878,7 @@ Vi([
|
|
|
21863
21878
|
ii = Vi([
|
|
21864
21879
|
rt("click2pay-personal-data")
|
|
21865
21880
|
], ii);
|
|
21866
|
-
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}
|
|
21867
21882
|
`;
|
|
21868
21883
|
var yM = Object.defineProperty, bM = Object.getOwnPropertyDescriptor, bt = (t, e, n, r) => {
|
|
21869
21884
|
for (var i = r > 1 ? void 0 : r ? bM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -21947,7 +21962,7 @@ let ht = class t extends nt {
|
|
|
21947
21962
|
windowRef: r,
|
|
21948
21963
|
rememberMe: (c = this._contextData) == null ? void 0 : c.rememberMe
|
|
21949
21964
|
};
|
|
21950
|
-
|
|
21965
|
+
qe.info("makeCheckoutParams", { tag: "MAKE_CHECKOUT_PARAMS", contextObject: i });
|
|
21951
21966
|
const s = yield JU((l = this._contextData) == null ? void 0 : l.mcService, i);
|
|
21952
21967
|
this._processCheckoutResponse(s);
|
|
21953
21968
|
});
|
|
@@ -21967,9 +21982,9 @@ let ht = class t extends nt {
|
|
|
21967
21982
|
_getSrcDigitalCardId(e) {
|
|
21968
21983
|
return Te(this, null, function* () {
|
|
21969
21984
|
if (this._loadingMsg = "Estamos recuperando los planes de pago", e.detail.srcDigitalCardId) {
|
|
21970
|
-
|
|
21985
|
+
qe.info("_getSrcDigitalCardId", { tag: "DIGITAL_CARD_ID", contextObject: e });
|
|
21971
21986
|
const n = this._cards.reduce((r, i) => i.srcDigitalCardId === e.detail.srcDigitalCardId ? (this._digitalCardData = i.digitalCardData, i) : r, null);
|
|
21972
|
-
|
|
21987
|
+
qe.info("selectedCard", { tag: "SELECTED_CARD", contextObject: n }), this.dispatchEvent(
|
|
21973
21988
|
new CustomEvent("setCardTypeAndBrand", {
|
|
21974
21989
|
bubbles: !0,
|
|
21975
21990
|
composed: !0,
|
|
@@ -22001,7 +22016,7 @@ let ht = class t extends nt {
|
|
|
22001
22016
|
_resendOtp(e) {
|
|
22002
22017
|
return Te(this, null, function* () {
|
|
22003
22018
|
var n;
|
|
22004
|
-
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 });
|
|
22005
22020
|
});
|
|
22006
22021
|
}
|
|
22007
22022
|
openDrawerClass(e) {
|
|
@@ -22026,7 +22041,7 @@ let ht = class t extends nt {
|
|
|
22026
22041
|
const { consumerPresent: A } = yield qU((s = this._contextData) == null ? void 0 : s.mcService, this._email);
|
|
22027
22042
|
if (A) {
|
|
22028
22043
|
const c = yield $U((o = this._contextData) == null ? void 0 : o.mcService);
|
|
22029
|
-
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(
|
|
22030
22045
|
new CustomEvent("userRecognized", {
|
|
22031
22046
|
detail: {
|
|
22032
22047
|
userRecognized: this._userRecognized
|
|
@@ -22036,7 +22051,7 @@ let ht = class t extends nt {
|
|
|
22036
22051
|
})
|
|
22037
22052
|
);
|
|
22038
22053
|
} else
|
|
22039
|
-
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 });
|
|
22040
22055
|
this.dispatchEvent(
|
|
22041
22056
|
new CustomEvent("onNewUser", {
|
|
22042
22057
|
detail: {
|
|
@@ -22194,7 +22209,7 @@ let ht = class t extends nt {
|
|
|
22194
22209
|
_prepareCheckout(e) {
|
|
22195
22210
|
return Te(this, null, function* () {
|
|
22196
22211
|
var n, r, i, s;
|
|
22197
|
-
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))) {
|
|
22198
22213
|
this._showDrawerComponent = !0;
|
|
22199
22214
|
try {
|
|
22200
22215
|
(s = this._contextData) != null && s.srcDigitalCardId ? yield this.makeCheckout() : this.click2PayPaymentInput && (yield this.makeCheckoutNewCard());
|
|
@@ -22212,7 +22227,7 @@ let ht = class t extends nt {
|
|
|
22212
22227
|
}
|
|
22213
22228
|
this._showDrawerComponent = !1;
|
|
22214
22229
|
} else
|
|
22215
|
-
|
|
22230
|
+
qe.info("making checkout with direct payment"), rf(this), this._showOrderReview = !0;
|
|
22216
22231
|
});
|
|
22217
22232
|
}
|
|
22218
22233
|
_backToCardSelection() {
|
|
@@ -22763,7 +22778,7 @@ Ci([
|
|
|
22763
22778
|
si = Ci([
|
|
22764
22779
|
rt("payfac-sdk")
|
|
22765
22780
|
], si);
|
|
22766
|
-
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}
|
|
22767
22782
|
`;
|
|
22768
22783
|
var SM = Object.defineProperty, EM = Object.getOwnPropertyDescriptor, eu = (t, e, n, r) => {
|
|
22769
22784
|
for (var i = r > 1 ? void 0 : r ? EM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -23873,7 +23888,7 @@ mv([
|
|
|
23873
23888
|
Rd = mv([
|
|
23874
23889
|
rt("scof-plans")
|
|
23875
23890
|
], Rd);
|
|
23876
|
-
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}}
|
|
23877
23892
|
`;
|
|
23878
23893
|
var XM = Object.defineProperty, ZM = Object.getOwnPropertyDescriptor, ai = (t, e, n, r) => {
|
|
23879
23894
|
for (var i = r > 1 ? void 0 : r ? ZM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -24267,14 +24282,14 @@ let og = class t extends nt {
|
|
|
24267
24282
|
sessionId: this.contextFraudPreventionData.config.sessionId,
|
|
24268
24283
|
userId: this._payfacContext.paymentRequest.buyer.email
|
|
24269
24284
|
};
|
|
24270
|
-
|
|
24285
|
+
qe.info("Loading sift fraud prevention tooling", n), tC(n);
|
|
24271
24286
|
} else {
|
|
24272
24287
|
const n = {
|
|
24273
24288
|
merchantId: e.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
|
|
24274
24289
|
orgId: e.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
|
|
24275
24290
|
sessionId: this.contextFraudPreventionData.config.sessionId
|
|
24276
24291
|
};
|
|
24277
|
-
|
|
24292
|
+
qe.info("Loading cybersource fraud prevention tooling", n);
|
|
24278
24293
|
const r = nC(n);
|
|
24279
24294
|
document.head.appendChild(r.script);
|
|
24280
24295
|
const i = document.querySelector("noscript");
|
|
@@ -24292,7 +24307,7 @@ let og = class t extends nt {
|
|
|
24292
24307
|
ip: this.contextFraudPreventionData.config.ip
|
|
24293
24308
|
}
|
|
24294
24309
|
})
|
|
24295
|
-
),
|
|
24310
|
+
), qe.info("FRAUD OBJECT LOADED", this.contextFraudPreventionData.config);
|
|
24296
24311
|
});
|
|
24297
24312
|
}
|
|
24298
24313
|
firstUpdated(e) {
|
|
@@ -25159,7 +25174,7 @@ bv([
|
|
|
25159
25174
|
Md = bv([
|
|
25160
25175
|
rt("payment-manual-plans")
|
|
25161
25176
|
], Md);
|
|
25162
|
-
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}}
|
|
25163
25178
|
`;
|
|
25164
25179
|
var F7 = Object.defineProperty, U7 = Object.getOwnPropertyDescriptor, Ai = (t, e, n, r) => {
|
|
25165
25180
|
for (var i = r > 1 ? void 0 : r ? U7(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -25620,8 +25635,7 @@ let $n = class t extends nt {
|
|
|
25620
25635
|
}
|
|
25621
25636
|
render() {
|
|
25622
25637
|
return J`
|
|
25623
|
-
${this.renderWalletAvailable()}
|
|
25624
|
-
<br />
|
|
25638
|
+
${this.renderWalletAvailable()} ${this.isWalletAvailable && this.isCardAvailable ? J`<br />` : ""}
|
|
25625
25639
|
${this.renderCardAvailable()}
|
|
25626
25640
|
`;
|
|
25627
25641
|
}
|
|
@@ -27144,7 +27158,7 @@ ah.toDataURL = Cv.bind(null, mS.renderToDataURL);
|
|
|
27144
27158
|
ah.toString = Cv.bind(null, function(t, e, n) {
|
|
27145
27159
|
return CH.render(t, n);
|
|
27146
27160
|
});
|
|
27147
|
-
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%}
|
|
27148
27162
|
`;
|
|
27149
27163
|
var SH = Object.defineProperty, EH = Object.getOwnPropertyDescriptor, Go = (t, e, n, r) => {
|
|
27150
27164
|
for (var i = r > 1 ? void 0 : r ? EH(e, n) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -27211,7 +27225,7 @@ let Es = class extends nt {
|
|
|
27211
27225
|
<div class="container">
|
|
27212
27226
|
<div class="card__container">
|
|
27213
27227
|
<div class="btn__container">
|
|
27214
|
-
<button class="btn" @click="${this._back}"
|
|
27228
|
+
<button class="btn" @click="${this._back}">X</button>
|
|
27215
27229
|
</div>
|
|
27216
27230
|
<div class="content">
|
|
27217
27231
|
<span class="title">Escaneá el QR con la app que quieras</span>
|
|
@@ -27278,7 +27292,7 @@ Go([
|
|
|
27278
27292
|
Es = Go([
|
|
27279
27293
|
rt("qr-component")
|
|
27280
27294
|
], Es);
|
|
27281
|
-
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}}
|
|
27282
27296
|
`;
|
|
27283
27297
|
class uc extends Error {
|
|
27284
27298
|
}
|
|
@@ -27304,7 +27318,7 @@ class yS extends uc {
|
|
|
27304
27318
|
super(`Invalid unit ${e}`);
|
|
27305
27319
|
}
|
|
27306
27320
|
}
|
|
27307
|
-
class
|
|
27321
|
+
class Dr extends uc {
|
|
27308
27322
|
}
|
|
27309
27323
|
class da extends uc {
|
|
27310
27324
|
constructor() {
|
|
@@ -28521,9 +28535,9 @@ function Hb(t) {
|
|
|
28521
28535
|
if (t == null)
|
|
28522
28536
|
return null;
|
|
28523
28537
|
if (typeof t != "object")
|
|
28524
|
-
throw new
|
|
28538
|
+
throw new Dr("Week settings must be an object");
|
|
28525
28539
|
if (!Hi(t.firstDay, 1, 7) || !Hi(t.minimalDays, 1, 7) || !Array.isArray(t.weekend) || t.weekend.some((e) => !Hi(e, 1, 7)))
|
|
28526
|
-
throw new
|
|
28540
|
+
throw new Dr("Invalid week settings");
|
|
28527
28541
|
return {
|
|
28528
28542
|
firstDay: t.firstDay,
|
|
28529
28543
|
minimalDays: t.minimalDays,
|
|
@@ -28613,7 +28627,7 @@ function sm(t, e) {
|
|
|
28613
28627
|
function qS(t) {
|
|
28614
28628
|
const e = Number(t);
|
|
28615
28629
|
if (typeof t == "boolean" || t === "" || Number.isNaN(e))
|
|
28616
|
-
throw new
|
|
28630
|
+
throw new Dr(`Invalid unit value ${t}`);
|
|
28617
28631
|
return e;
|
|
28618
28632
|
}
|
|
28619
28633
|
function dg(t, e) {
|
|
@@ -28787,9 +28801,9 @@ const v9 = {
|
|
|
28787
28801
|
FFF: NS,
|
|
28788
28802
|
FFFF: OS
|
|
28789
28803
|
};
|
|
28790
|
-
class
|
|
28804
|
+
class Lr {
|
|
28791
28805
|
static create(e, n = {}) {
|
|
28792
|
-
return new
|
|
28806
|
+
return new Lr(e, n);
|
|
28793
28807
|
}
|
|
28794
28808
|
static parseFormat(e) {
|
|
28795
28809
|
let n = null, r = "", i = !1;
|
|
@@ -28835,7 +28849,7 @@ class Nr {
|
|
|
28835
28849
|
m ? { weekday: h } : { weekday: h, month: "long", day: "numeric" },
|
|
28836
28850
|
"weekday"
|
|
28837
28851
|
), l = (h) => {
|
|
28838
|
-
const m =
|
|
28852
|
+
const m = Lr.macroTokenToFormatOpts(h);
|
|
28839
28853
|
return m ? this.formatWithSystemDefault(e, m) : h;
|
|
28840
28854
|
}, d = (h) => r ? y9(e, h) : s({ era: h }, "era"), p = (h) => {
|
|
28841
28855
|
switch (h) {
|
|
@@ -28964,7 +28978,7 @@ class Nr {
|
|
|
28964
28978
|
return l(h);
|
|
28965
28979
|
}
|
|
28966
28980
|
};
|
|
28967
|
-
return UB(
|
|
28981
|
+
return UB(Lr.parseFormat(n), p);
|
|
28968
28982
|
}
|
|
28969
28983
|
formatDurationFromString(e, n) {
|
|
28970
28984
|
const r = (A) => {
|
|
@@ -28991,7 +29005,7 @@ class Nr {
|
|
|
28991
29005
|
}, i = (A) => (c) => {
|
|
28992
29006
|
const l = r(c);
|
|
28993
29007
|
return l ? this.num(A.get(l), c.length) : c;
|
|
28994
|
-
}, s =
|
|
29008
|
+
}, s = Lr.parseFormat(n), o = s.reduce(
|
|
28995
29009
|
(A, { literal: c, val: l }) => c ? A : A.concat(l),
|
|
28996
29010
|
[]
|
|
28997
29011
|
), a = e.shiftTo(...o.map(r).filter((A) => A));
|
|
@@ -29357,7 +29371,7 @@ class Pt {
|
|
|
29357
29371
|
*/
|
|
29358
29372
|
static fromObject(e, n = {}) {
|
|
29359
29373
|
if (e == null || typeof e != "object")
|
|
29360
|
-
throw new
|
|
29374
|
+
throw new Dr(
|
|
29361
29375
|
`Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
|
|
29362
29376
|
);
|
|
29363
29377
|
return new Pt({
|
|
@@ -29384,7 +29398,7 @@ class Pt {
|
|
|
29384
29398
|
return e;
|
|
29385
29399
|
if (typeof e == "object")
|
|
29386
29400
|
return Pt.fromObject(e);
|
|
29387
|
-
throw new
|
|
29401
|
+
throw new Dr(
|
|
29388
29402
|
`Unknown duration argument ${e} of type ${typeof e}`
|
|
29389
29403
|
);
|
|
29390
29404
|
}
|
|
@@ -29434,7 +29448,7 @@ class Pt {
|
|
|
29434
29448
|
*/
|
|
29435
29449
|
static invalid(e, n = null) {
|
|
29436
29450
|
if (!e)
|
|
29437
|
-
throw new
|
|
29451
|
+
throw new Dr("need to specify a reason the Duration is invalid");
|
|
29438
29452
|
const r = e instanceof bs ? e : new bs(e, n);
|
|
29439
29453
|
if (Cn.throwOnInvalid)
|
|
29440
29454
|
throw new TH(r);
|
|
@@ -29517,7 +29531,7 @@ class Pt {
|
|
|
29517
29531
|
const r = sn(Je({}, n), {
|
|
29518
29532
|
floor: n.round !== !1 && n.floor !== !1
|
|
29519
29533
|
});
|
|
29520
|
-
return this.isValid ?
|
|
29534
|
+
return this.isValid ? Lr.create(this.loc, r).formatDurationFromString(this, e) : DB;
|
|
29521
29535
|
}
|
|
29522
29536
|
/**
|
|
29523
29537
|
* Returns a string representation of a Duration with all units included.
|
|
@@ -29928,7 +29942,7 @@ class vn {
|
|
|
29928
29942
|
*/
|
|
29929
29943
|
static invalid(e, n = null) {
|
|
29930
29944
|
if (!e)
|
|
29931
|
-
throw new
|
|
29945
|
+
throw new Dr("need to specify a reason the Interval is invalid");
|
|
29932
29946
|
const r = e instanceof bs ? e : new bs(e, n);
|
|
29933
29947
|
if (Cn.throwOnInvalid)
|
|
29934
29948
|
throw new UH(r);
|
|
@@ -30296,7 +30310,7 @@ class vn {
|
|
|
30296
30310
|
* @return {string}
|
|
30297
30311
|
*/
|
|
30298
30312
|
toLocaleString(e = cg, n = {}) {
|
|
30299
|
-
return this.isValid ?
|
|
30313
|
+
return this.isValid ? Lr.create(this.s.loc.clone(n), e).formatInterval(this) : Wc;
|
|
30300
30314
|
}
|
|
30301
30315
|
/**
|
|
30302
30316
|
* Returns an ISO 8601-compliant string representation of this Interval.
|
|
@@ -30831,7 +30845,7 @@ function wj() {
|
|
|
30831
30845
|
function Bj(t, e) {
|
|
30832
30846
|
if (t.literal)
|
|
30833
30847
|
return t;
|
|
30834
|
-
const n =
|
|
30848
|
+
const n = Lr.macroTokenToFormatOpts(t.val), r = fE(n, e);
|
|
30835
30849
|
return r == null || r.includes(void 0) ? t : r;
|
|
30836
30850
|
}
|
|
30837
30851
|
function uE(t, e) {
|
|
@@ -30839,7 +30853,7 @@ function uE(t, e) {
|
|
|
30839
30853
|
}
|
|
30840
30854
|
class dE {
|
|
30841
30855
|
constructor(e, n) {
|
|
30842
|
-
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) {
|
|
30843
30857
|
const [r, i] = yj(this.units);
|
|
30844
30858
|
this.regex = RegExp(r, "i"), this.handlers = i;
|
|
30845
30859
|
}
|
|
@@ -30881,7 +30895,7 @@ function xj(t, e, n) {
|
|
|
30881
30895
|
function fE(t, e) {
|
|
30882
30896
|
if (!t)
|
|
30883
30897
|
return null;
|
|
30884
|
-
const r =
|
|
30898
|
+
const r = Lr.create(e, t).dtFormatter(wj()), i = r.formatToParts(), s = r.resolvedOptions();
|
|
30885
30899
|
return i.map((o) => mj(o, t, s));
|
|
30886
30900
|
}
|
|
30887
30901
|
const ny = "Invalid DateTime", OB = 864e13;
|
|
@@ -30967,7 +30981,7 @@ function Yc(t, e, n, r, i, s) {
|
|
|
30967
30981
|
);
|
|
30968
30982
|
}
|
|
30969
30983
|
function Df(t, e, n = !0) {
|
|
30970
|
-
return t.isValid ?
|
|
30984
|
+
return t.isValid ? Lr.create(Gt.create("en-US"), {
|
|
30971
30985
|
allowZ: n,
|
|
30972
30986
|
forceSimple: !0
|
|
30973
30987
|
}).formatDateTimeFromString(t, e) : null;
|
|
@@ -31213,7 +31227,7 @@ class ft {
|
|
|
31213
31227
|
zone: Sa(n.zone, Cn.defaultZone),
|
|
31214
31228
|
loc: Gt.fromObject(n)
|
|
31215
31229
|
});
|
|
31216
|
-
throw new
|
|
31230
|
+
throw new Dr(
|
|
31217
31231
|
`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
|
|
31218
31232
|
);
|
|
31219
31233
|
}
|
|
@@ -31235,7 +31249,7 @@ class ft {
|
|
|
31235
31249
|
zone: Sa(n.zone, Cn.defaultZone),
|
|
31236
31250
|
loc: Gt.fromObject(n)
|
|
31237
31251
|
});
|
|
31238
|
-
throw new
|
|
31252
|
+
throw new Dr("fromSeconds requires a numerical input");
|
|
31239
31253
|
}
|
|
31240
31254
|
/**
|
|
31241
31255
|
* Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
|
|
@@ -31380,7 +31394,7 @@ class ft {
|
|
|
31380
31394
|
*/
|
|
31381
31395
|
static fromFormat(e, n, r = {}) {
|
|
31382
31396
|
if (pt(e) || pt(n))
|
|
31383
|
-
throw new
|
|
31397
|
+
throw new Dr("fromFormat requires an input string and a format");
|
|
31384
31398
|
const { locale: i = null, numberingSystem: s = null } = r, o = Gt.fromOpts({
|
|
31385
31399
|
locale: i,
|
|
31386
31400
|
numberingSystem: s,
|
|
@@ -31427,7 +31441,7 @@ class ft {
|
|
|
31427
31441
|
*/
|
|
31428
31442
|
static invalid(e, n = null) {
|
|
31429
31443
|
if (!e)
|
|
31430
|
-
throw new
|
|
31444
|
+
throw new Dr("need to specify a reason the DateTime is invalid");
|
|
31431
31445
|
const r = e instanceof bs ? e : new bs(e, n);
|
|
31432
31446
|
if (Cn.throwOnInvalid)
|
|
31433
31447
|
throw new FH(r);
|
|
@@ -31459,7 +31473,7 @@ class ft {
|
|
|
31459
31473
|
* @returns {string}
|
|
31460
31474
|
*/
|
|
31461
31475
|
static expandFormat(e, n = {}) {
|
|
31462
|
-
return uE(
|
|
31476
|
+
return uE(Lr.parseFormat(e), Gt.fromObject(n)).map((i) => i.val).join("");
|
|
31463
31477
|
}
|
|
31464
31478
|
static resetCache() {
|
|
31465
31479
|
vp = void 0, wp = {};
|
|
@@ -31823,7 +31837,7 @@ class ft {
|
|
|
31823
31837
|
* @return {Object}
|
|
31824
31838
|
*/
|
|
31825
31839
|
resolvedLocaleOptions(e = {}) {
|
|
31826
|
-
const { locale: n, numberingSystem: r, calendar: i } =
|
|
31840
|
+
const { locale: n, numberingSystem: r, calendar: i } = Lr.create(
|
|
31827
31841
|
this.loc.clone(e),
|
|
31828
31842
|
e
|
|
31829
31843
|
).resolvedOptions(this);
|
|
@@ -32028,7 +32042,7 @@ class ft {
|
|
|
32028
32042
|
* @return {string}
|
|
32029
32043
|
*/
|
|
32030
32044
|
toFormat(e, n = {}) {
|
|
32031
|
-
return this.isValid ?
|
|
32045
|
+
return this.isValid ? Lr.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this, e) : ny;
|
|
32032
32046
|
}
|
|
32033
32047
|
/**
|
|
32034
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`.
|
|
@@ -32050,7 +32064,7 @@ class ft {
|
|
|
32050
32064
|
* @return {string}
|
|
32051
32065
|
*/
|
|
32052
32066
|
toLocaleString(e = cg, n = {}) {
|
|
32053
|
-
return this.isValid ?
|
|
32067
|
+
return this.isValid ? Lr.create(this.loc.clone(n), e).formatDateTime(this) : ny;
|
|
32054
32068
|
}
|
|
32055
32069
|
/**
|
|
32056
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.
|
|
@@ -32066,7 +32080,7 @@ class ft {
|
|
|
32066
32080
|
* //=> ]
|
|
32067
32081
|
*/
|
|
32068
32082
|
toLocaleParts(e = {}) {
|
|
32069
|
-
return this.isValid ?
|
|
32083
|
+
return this.isValid ? Lr.create(this.loc.clone(e), e).formatDateTimeParts(this) : [];
|
|
32070
32084
|
}
|
|
32071
32085
|
/**
|
|
32072
32086
|
* Returns an ISO 8601-compliant string representation of this DateTime
|
|
@@ -32405,7 +32419,7 @@ class ft {
|
|
|
32405
32419
|
*/
|
|
32406
32420
|
static min(...e) {
|
|
32407
32421
|
if (!e.every(ft.isDateTime))
|
|
32408
|
-
throw new
|
|
32422
|
+
throw new Dr("min requires all arguments be DateTimes");
|
|
32409
32423
|
return IB(e, (n) => n.valueOf(), Math.min);
|
|
32410
32424
|
}
|
|
32411
32425
|
/**
|
|
@@ -32415,7 +32429,7 @@ class ft {
|
|
|
32415
32429
|
*/
|
|
32416
32430
|
static max(...e) {
|
|
32417
32431
|
if (!e.every(ft.isDateTime))
|
|
32418
|
-
throw new
|
|
32432
|
+
throw new Dr("max requires all arguments be DateTimes");
|
|
32419
32433
|
return IB(e, (n) => n.valueOf(), Math.max);
|
|
32420
32434
|
}
|
|
32421
32435
|
// MISC
|
|
@@ -32472,7 +32486,7 @@ class ft {
|
|
|
32472
32486
|
*/
|
|
32473
32487
|
static fromFormatParser(e, n, r = {}) {
|
|
32474
32488
|
if (pt(e) || pt(n))
|
|
32475
|
-
throw new
|
|
32489
|
+
throw new Dr(
|
|
32476
32490
|
"fromFormatParser requires an input string and a format parser"
|
|
32477
32491
|
);
|
|
32478
32492
|
const { locale: i = null, numberingSystem: s = null } = r, o = Gt.fromOpts({
|
|
@@ -32481,7 +32495,7 @@ class ft {
|
|
|
32481
32495
|
defaultToEN: !0
|
|
32482
32496
|
});
|
|
32483
32497
|
if (!o.equals(n.locale))
|
|
32484
|
-
throw new
|
|
32498
|
+
throw new Dr(
|
|
32485
32499
|
`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`
|
|
32486
32500
|
);
|
|
32487
32501
|
const { result: a, zone: A, specificOffset: c, invalidReason: l } = n.explainFromTokens(e);
|
|
@@ -32657,7 +32671,7 @@ function $u(t) {
|
|
|
32657
32671
|
return ft.fromJSDate(t);
|
|
32658
32672
|
if (t && typeof t == "object")
|
|
32659
32673
|
return ft.fromObject(t);
|
|
32660
|
-
throw new
|
|
32674
|
+
throw new Dr(
|
|
32661
32675
|
`Unknown datetime argument: ${t}, of type ${typeof t}`
|
|
32662
32676
|
);
|
|
32663
32677
|
}
|
|
@@ -32952,7 +32966,7 @@ function jr(t, e, n, r) {
|
|
|
32952
32966
|
c((r = r.apply(t, e || [])).next());
|
|
32953
32967
|
});
|
|
32954
32968
|
}
|
|
32955
|
-
function
|
|
32969
|
+
function Tr(t, e) {
|
|
32956
32970
|
var n = { label: 0, sent: function() {
|
|
32957
32971
|
if (s[0] & 1)
|
|
32958
32972
|
throw s[1];
|
|
@@ -33273,12 +33287,12 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33273
33287
|
return { done: !0, value: null };
|
|
33274
33288
|
}
|
|
33275
33289
|
};
|
|
33276
|
-
}, 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) {
|
|
33277
33291
|
return t >= _E && t <= 57;
|
|
33278
33292
|
}, Yz = function(t) {
|
|
33279
33293
|
return t >= 55296 && t <= 57343;
|
|
33280
33294
|
}, Zc = function(t) {
|
|
33281
|
-
return
|
|
33295
|
+
return kr(t) || t >= IE && t <= UE || t >= SE && t <= Vz;
|
|
33282
33296
|
}, Jz = function(t) {
|
|
33283
33297
|
return t >= SE && t <= qz;
|
|
33284
33298
|
}, Xz = function(t) {
|
|
@@ -33292,7 +33306,7 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33292
33306
|
}, fg = function(t) {
|
|
33293
33307
|
return Zz(t) || eK(t) || t === Cz;
|
|
33294
33308
|
}, Ax = function(t) {
|
|
33295
|
-
return fg(t) ||
|
|
33309
|
+
return fg(t) || kr(t) || t === ti;
|
|
33296
33310
|
}, tK = function(t) {
|
|
33297
33311
|
return t >= Rz && t <= Mz || t === Hz || t >= jz && t <= zz || t === Kz;
|
|
33298
33312
|
}, Ca = function(t, e) {
|
|
@@ -33300,21 +33314,21 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33300
33314
|
}, $f = function(t, e, n) {
|
|
33301
33315
|
return t === ti ? fg(e) || Ca(e, n) : fg(t) ? !0 : !!(t === yd && Ca(t, e));
|
|
33302
33316
|
}, dy = function(t, e, n) {
|
|
33303
|
-
return t === RA || t === ti ?
|
|
33317
|
+
return t === RA || t === ti ? kr(e) ? !0 : e === Kd && kr(n) : kr(t === Kd ? e : t);
|
|
33304
33318
|
}, nK = function(t) {
|
|
33305
33319
|
var e = 0, n = 1;
|
|
33306
33320
|
(t[e] === RA || t[e] === ti) && (t[e] === ti && (n = -1), e++);
|
|
33307
|
-
for (var r = [];
|
|
33321
|
+
for (var r = []; kr(t[e]); )
|
|
33308
33322
|
r.push(t[e++]);
|
|
33309
33323
|
var i = r.length ? parseInt(Fn.apply(void 0, r), 10) : 0;
|
|
33310
33324
|
t[e] === Kd && e++;
|
|
33311
|
-
for (var s = [];
|
|
33325
|
+
for (var s = []; kr(t[e]); )
|
|
33312
33326
|
s.push(t[e++]);
|
|
33313
33327
|
var o = s.length, a = o ? parseInt(Fn.apply(void 0, s), 10) : 0;
|
|
33314
33328
|
(t[e] === FE || t[e] === EE) && e++;
|
|
33315
33329
|
var A = 1;
|
|
33316
33330
|
(t[e] === RA || t[e] === ti) && (t[e] === ti && (A = -1), e++);
|
|
33317
|
-
for (var c = [];
|
|
33331
|
+
for (var c = []; kr(t[e]); )
|
|
33318
33332
|
c.push(t[e++]);
|
|
33319
33333
|
var l = c.length ? parseInt(Fn.apply(void 0, c), 10) : 0;
|
|
33320
33334
|
return n * (i + a * Math.pow(10, -o)) * Math.pow(10, A * l);
|
|
@@ -33496,7 +33510,7 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33496
33510
|
case Vs:
|
|
33497
33511
|
return t1;
|
|
33498
33512
|
}
|
|
33499
|
-
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) };
|
|
33500
33514
|
}, t.prototype.consumeCodePoint = function() {
|
|
33501
33515
|
var e = this._value.shift();
|
|
33502
33516
|
return typeof e == "undefined" ? -1 : e;
|
|
@@ -33586,17 +33600,17 @@ var ez = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
33586
33600
|
} while (!0);
|
|
33587
33601
|
}, t.prototype.consumeNumber = function() {
|
|
33588
33602
|
var e = [], n = hh, r = this.peekCodePoint(0);
|
|
33589
|
-
for ((r === RA || r === ti) && e.push(this.consumeCodePoint());
|
|
33603
|
+
for ((r === RA || r === ti) && e.push(this.consumeCodePoint()); kr(this.peekCodePoint(0)); )
|
|
33590
33604
|
e.push(this.consumeCodePoint());
|
|
33591
33605
|
r = this.peekCodePoint(0);
|
|
33592
33606
|
var i = this.peekCodePoint(1);
|
|
33593
|
-
if (r === Kd &&
|
|
33594
|
-
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)); )
|
|
33595
33609
|
e.push(this.consumeCodePoint());
|
|
33596
33610
|
r = this.peekCodePoint(0), i = this.peekCodePoint(1);
|
|
33597
33611
|
var s = this.peekCodePoint(2);
|
|
33598
|
-
if ((r === FE || r === EE) && ((i === RA || i === ti) &&
|
|
33599
|
-
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)); )
|
|
33600
33614
|
e.push(this.consumeCodePoint());
|
|
33601
33615
|
return [nK(e), n];
|
|
33602
33616
|
}, t.prototype.consumeNumericToken = function() {
|
|
@@ -36367,7 +36381,7 @@ var x$ = 1, gy = 2, my = 3, wx = 4, Bx = 5, C$ = 7, xx = 8, yy = 9, by = 10, Cx
|
|
|
36367
36381
|
var s = e.defaultView.pageXOffset, o = e.defaultView.pageYOffset, a = i.contentWindow, A = a.document, c = hq(i).then(function() {
|
|
36368
36382
|
return jr(r, void 0, void 0, function() {
|
|
36369
36383
|
var l, d;
|
|
36370
|
-
return
|
|
36384
|
+
return Tr(this, function(p) {
|
|
36371
36385
|
switch (p.label) {
|
|
36372
36386
|
case 0:
|
|
36373
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];
|
|
@@ -36635,7 +36649,7 @@ var lq = function(t, e) {
|
|
|
36635
36649
|
}, t.prototype.loadImage = function(e) {
|
|
36636
36650
|
return jr(this, void 0, void 0, function() {
|
|
36637
36651
|
var n, r, i, s, o = this;
|
|
36638
|
-
return
|
|
36652
|
+
return Tr(this, function(a) {
|
|
36639
36653
|
switch (a.label) {
|
|
36640
36654
|
case 0:
|
|
36641
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 ? [
|
|
@@ -37138,7 +37152,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37138
37152
|
}, e.prototype.renderStack = function(n) {
|
|
37139
37153
|
return jr(this, void 0, void 0, function() {
|
|
37140
37154
|
var r;
|
|
37141
|
-
return
|
|
37155
|
+
return Tr(this, function(i) {
|
|
37142
37156
|
switch (i.label) {
|
|
37143
37157
|
case 0:
|
|
37144
37158
|
return r = n.element.container.styles, r.isVisible() ? [4, this.renderStackContent(n)] : [3, 2];
|
|
@@ -37154,7 +37168,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37154
37168
|
});
|
|
37155
37169
|
}, e.prototype.renderNode = function(n) {
|
|
37156
37170
|
return jr(this, void 0, void 0, function() {
|
|
37157
|
-
return
|
|
37171
|
+
return Tr(this, function(r) {
|
|
37158
37172
|
switch (r.label) {
|
|
37159
37173
|
case 0:
|
|
37160
37174
|
if (Xn(
|
|
@@ -37198,7 +37212,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37198
37212
|
}, e.prototype.renderTextNode = function(n, r) {
|
|
37199
37213
|
return jr(this, void 0, void 0, function() {
|
|
37200
37214
|
var i, s, o, a, A, c, l, d, p = this;
|
|
37201
|
-
return
|
|
37215
|
+
return Tr(this, function(h) {
|
|
37202
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) {
|
|
37203
37217
|
d.forEach(function(b) {
|
|
37204
37218
|
switch (b) {
|
|
@@ -37240,7 +37254,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37240
37254
|
}, e.prototype.renderNodeContent = function(n) {
|
|
37241
37255
|
return jr(this, void 0, void 0, function() {
|
|
37242
37256
|
var r, i, s, o, a, A, _, _, c, l, d, p, M, h, m, V, b, x, v, _, U, M, V;
|
|
37243
|
-
return
|
|
37257
|
+
return Tr(this, function(j) {
|
|
37244
37258
|
switch (j.label) {
|
|
37245
37259
|
case 0:
|
|
37246
37260
|
this.applyEffects(n.getEffects(
|
|
@@ -37341,7 +37355,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37341
37355
|
}, e.prototype.renderStackContent = function(n) {
|
|
37342
37356
|
return jr(this, void 0, void 0, function() {
|
|
37343
37357
|
var r, i, v, s, o, v, a, A, v, c, l, v, d, p, v, h, m, v, b, x, v;
|
|
37344
|
-
return
|
|
37358
|
+
return Tr(this, function(_) {
|
|
37345
37359
|
switch (_.label) {
|
|
37346
37360
|
case 0:
|
|
37347
37361
|
if (Xn(
|
|
@@ -37440,12 +37454,12 @@ var fn = function(t, e, n, r, i) {
|
|
|
37440
37454
|
}, e.prototype.renderBackgroundImage = function(n) {
|
|
37441
37455
|
return jr(this, void 0, void 0, function() {
|
|
37442
37456
|
var r, i, s, o, a, A;
|
|
37443
|
-
return
|
|
37457
|
+
return Tr(this, function(c) {
|
|
37444
37458
|
switch (c.label) {
|
|
37445
37459
|
case 0:
|
|
37446
37460
|
r = n.styles.backgroundImage.length - 1, i = function(l) {
|
|
37447
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;
|
|
37448
|
-
return
|
|
37462
|
+
return Tr(this, function(ne) {
|
|
37449
37463
|
switch (ne.label) {
|
|
37450
37464
|
case 0:
|
|
37451
37465
|
if (l.type !== 0)
|
|
@@ -37497,7 +37511,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37497
37511
|
});
|
|
37498
37512
|
}, e.prototype.renderSolidBorder = function(n, r, i) {
|
|
37499
37513
|
return jr(this, void 0, void 0, function() {
|
|
37500
|
-
return
|
|
37514
|
+
return Tr(this, function(s) {
|
|
37501
37515
|
return this.path(zx(i, r)), this.ctx.fillStyle = Ar(n), this.ctx.fill(), [
|
|
37502
37516
|
2
|
|
37503
37517
|
/*return*/
|
|
@@ -37507,7 +37521,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37507
37521
|
}, e.prototype.renderDoubleBorder = function(n, r, i, s) {
|
|
37508
37522
|
return jr(this, void 0, void 0, function() {
|
|
37509
37523
|
var o, a;
|
|
37510
|
-
return
|
|
37524
|
+
return Tr(this, function(A) {
|
|
37511
37525
|
switch (A.label) {
|
|
37512
37526
|
case 0:
|
|
37513
37527
|
return r < 3 ? [4, this.renderSolidBorder(n, i, s)] : [3, 2];
|
|
@@ -37527,7 +37541,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37527
37541
|
}, e.prototype.renderNodeBackgroundAndBorders = function(n) {
|
|
37528
37542
|
return jr(this, void 0, void 0, function() {
|
|
37529
37543
|
var r, i, s, o, a, A, c, l, d = this;
|
|
37530
|
-
return
|
|
37544
|
+
return Tr(this, function(p) {
|
|
37531
37545
|
switch (p.label) {
|
|
37532
37546
|
case 0:
|
|
37533
37547
|
return this.applyEffects(n.getEffects(
|
|
@@ -37592,7 +37606,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37592
37606
|
}, e.prototype.renderDashedDottedBorder = function(n, r, i, s, o) {
|
|
37593
37607
|
return jr(this, void 0, void 0, function() {
|
|
37594
37608
|
var a, A, c, l, d, p, h, m, b, x, v, _, U, M, V, j, V, j;
|
|
37595
|
-
return
|
|
37609
|
+
return Tr(this, function(H) {
|
|
37596
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(), [
|
|
37597
37611
|
2
|
|
37598
37612
|
/*return*/
|
|
@@ -37602,7 +37616,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37602
37616
|
}, e.prototype.render = function(n) {
|
|
37603
37617
|
return jr(this, void 0, void 0, function() {
|
|
37604
37618
|
var r;
|
|
37605
|
-
return
|
|
37619
|
+
return Tr(this, function(i) {
|
|
37606
37620
|
switch (i.label) {
|
|
37607
37621
|
case 0:
|
|
37608
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)];
|
|
@@ -37650,7 +37664,7 @@ var fn = function(t, e, n, r, i) {
|
|
|
37650
37664
|
return e.prototype.render = function(n) {
|
|
37651
37665
|
return jr(this, void 0, void 0, function() {
|
|
37652
37666
|
var r, i;
|
|
37653
|
-
return
|
|
37667
|
+
return Tr(this, function(s) {
|
|
37654
37668
|
switch (s.label) {
|
|
37655
37669
|
case 0:
|
|
37656
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)];
|
|
@@ -37711,7 +37725,7 @@ typeof window != "undefined" && f4.setContext(window);
|
|
|
37711
37725
|
var rG = function(t, e) {
|
|
37712
37726
|
return jr(void 0, void 0, void 0, function() {
|
|
37713
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, $;
|
|
37714
|
-
return
|
|
37728
|
+
return Tr(this, function(Z) {
|
|
37715
37729
|
switch (Z.label) {
|
|
37716
37730
|
case 0:
|
|
37717
37731
|
if (!t || typeof t != "object")
|
|
@@ -38364,21 +38378,21 @@ function E4(t) {
|
|
|
38364
38378
|
*/
|
|
38365
38379
|
function Dy(t, e) {
|
|
38366
38380
|
var n = t[0], r = t[1], i = t[2], s = t[3];
|
|
38367
|
-
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]);
|
|
38368
38382
|
}
|
|
38369
38383
|
function bm(t, e, n, r, i, s) {
|
|
38370
38384
|
return e = Da(Da(e, t), Da(r, s)), Da(e << i | e >>> 32 - i, n);
|
|
38371
38385
|
}
|
|
38372
|
-
function
|
|
38386
|
+
function Er(t, e, n, r, i, s, o) {
|
|
38373
38387
|
return bm(e & n | ~e & r, t, e, i, s, o);
|
|
38374
38388
|
}
|
|
38375
|
-
function
|
|
38389
|
+
function Ir(t, e, n, r, i, s, o) {
|
|
38376
38390
|
return bm(e & r | n & ~r, t, e, i, s, o);
|
|
38377
38391
|
}
|
|
38378
|
-
function
|
|
38392
|
+
function Fr(t, e, n, r, i, s, o) {
|
|
38379
38393
|
return bm(e ^ n ^ r, t, e, i, s, o);
|
|
38380
38394
|
}
|
|
38381
|
-
function
|
|
38395
|
+
function Ur(t, e, n, r, i, s, o) {
|
|
38382
38396
|
return bm(n ^ (e | ~r), t, e, i, s, o);
|
|
38383
38397
|
}
|
|
38384
38398
|
function I4(t) {
|
|
@@ -38624,7 +38638,7 @@ function ut(t) {
|
|
|
38624
38638
|
}, de = h.__private__.setFileId = function(g) {
|
|
38625
38639
|
return ue = g !== void 0 && /^[a-fA-F0-9]{32}$/.test(g) ? g.toUpperCase() : ue.split("").map(function() {
|
|
38626
38640
|
return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random()));
|
|
38627
|
-
}).join(""), l !== null && (
|
|
38641
|
+
}).join(""), l !== null && (xr = new ul(l.userPermissions, l.userPassword, l.ownerPassword, ue)), ue;
|
|
38628
38642
|
};
|
|
38629
38643
|
h.setFileId = function(g) {
|
|
38630
38644
|
return de(g), this;
|
|
@@ -38728,21 +38742,21 @@ function ut(t) {
|
|
|
38728
38742
|
}, h.__private__.setDisplayMode = h.setDisplayMode = function(g, I, G) {
|
|
38729
38743
|
return je(g), mt(I), it(G), this;
|
|
38730
38744
|
};
|
|
38731
|
-
var
|
|
38745
|
+
var Ge = { title: "", subject: "", author: "", keywords: "", creator: "" };
|
|
38732
38746
|
h.__private__.getDocumentProperty = function(g) {
|
|
38733
|
-
if (Object.keys(
|
|
38747
|
+
if (Object.keys(Ge).indexOf(g) === -1)
|
|
38734
38748
|
throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");
|
|
38735
|
-
return
|
|
38749
|
+
return Ge[g];
|
|
38736
38750
|
}, h.__private__.getDocumentProperties = function() {
|
|
38737
|
-
return
|
|
38751
|
+
return Ge;
|
|
38738
38752
|
}, h.__private__.setDocumentProperties = h.setProperties = h.setDocumentProperties = function(g) {
|
|
38739
|
-
for (var I in
|
|
38740
|
-
|
|
38753
|
+
for (var I in Ge)
|
|
38754
|
+
Ge.hasOwnProperty(I) && g[I] && (Ge[I] = g[I]);
|
|
38741
38755
|
return this;
|
|
38742
38756
|
}, h.__private__.setDocumentProperty = function(g, I) {
|
|
38743
|
-
if (Object.keys(
|
|
38757
|
+
if (Object.keys(Ge).indexOf(g) === -1)
|
|
38744
38758
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
38745
|
-
return
|
|
38759
|
+
return Ge[g] = I;
|
|
38746
38760
|
};
|
|
38747
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) {
|
|
38748
38762
|
if (!(this instanceof g))
|
|
@@ -38927,12 +38941,12 @@ function ut(t) {
|
|
|
38927
38941
|
}, Ms = h.__private__.getFilters = function() {
|
|
38928
38942
|
return o;
|
|
38929
38943
|
}, Si = h.__private__.putStream = function(g) {
|
|
38930
|
-
var I = (g = g || {}).data || "", G = g.filters || Ms(), te = g.alreadyAppliedFilters || [], le = g.addLength1 || !1, Ee = I.length, Oe = g.objectId, $e = function(
|
|
38931
|
-
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;
|
|
38932
38946
|
};
|
|
38933
38947
|
if (l !== null && Oe === void 0)
|
|
38934
38948
|
throw new Error("ObjectId must be passed to putStream for file encryption");
|
|
38935
|
-
l !== null && ($e =
|
|
38949
|
+
l !== null && ($e = xr.encryptor(Oe, 0));
|
|
38936
38950
|
var st = {};
|
|
38937
38951
|
G === !0 && (G = ["FlateEncode"]);
|
|
38938
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());
|
|
@@ -39038,7 +39052,7 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39038
39052
|
fr.hasOwnProperty(g) && fr[g].objectNumber >= 0 && Y("/" + g + " " + fr[g].objectNumber + " 0 R");
|
|
39039
39053
|
$t.publish("putXobjectDict"), Y(">>");
|
|
39040
39054
|
}, xm = function() {
|
|
39041
|
-
|
|
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");
|
|
39042
39056
|
}, mh = function() {
|
|
39043
39057
|
for (var g in Y("/Font <<"), nn)
|
|
39044
39058
|
nn.hasOwnProperty(g) && (d === !1 || d === !0 && p.hasOwnProperty(g)) && Y("/" + g + " " + nn[g].objectNumber + " 0 R");
|
|
@@ -39145,8 +39159,8 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39145
39159
|
var g = Wn(), I = function(te) {
|
|
39146
39160
|
return te;
|
|
39147
39161
|
};
|
|
39148
|
-
for (var G in l !== null && (I =
|
|
39149
|
-
|
|
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])) + ")");
|
|
39150
39164
|
Y("/CreationDate (" + Yr(I(me)) + ")"), Y(">>"), Y("endobj");
|
|
39151
39165
|
}, fu = h.__private__.putCatalog = function(g) {
|
|
39152
39166
|
var I = (g = g || {}).rootDictionaryObjId || lo;
|
|
@@ -39183,7 +39197,7 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39183
39197
|
}
|
|
39184
39198
|
we && Y("/PageMode /" + we), $t.publish("putCatalog"), Y(">>"), Y("endobj");
|
|
39185
39199
|
}, Um = h.__private__.putTrailer = function() {
|
|
39186
|
-
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(">>");
|
|
39187
39201
|
}, Tm = h.__private__.putHeader = function() {
|
|
39188
39202
|
Y("%PDF-" + m), Y("%ºß¬à");
|
|
39189
39203
|
}, Dm = h.__private__.putXRef = function() {
|
|
@@ -39289,10 +39303,10 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39289
39303
|
throw new Error("Invalid unit: " + r);
|
|
39290
39304
|
ze = r;
|
|
39291
39305
|
}
|
|
39292
|
-
var
|
|
39306
|
+
var xr = null;
|
|
39293
39307
|
Be(), de();
|
|
39294
39308
|
var km = function(g) {
|
|
39295
|
-
return l !== null ?
|
|
39309
|
+
return l !== null ? xr.encryptor(g, 0) : function(I) {
|
|
39296
39310
|
return I;
|
|
39297
39311
|
};
|
|
39298
39312
|
}, _h = h.__private__.getPageInfo = h.getPageInfo = function(g) {
|
|
@@ -39334,8 +39348,8 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
|
|
|
39334
39348
|
}, h.__private__.text = h.text = function(g, I, G, te, le) {
|
|
39335
39349
|
var Ee, Oe, $e, st, Bt, It, Lt, pn, yn, Rn = (te = te || {}).scope || this;
|
|
39336
39350
|
if (typeof g == "number" && typeof I == "number" && (typeof G == "string" || Array.isArray(G))) {
|
|
39337
|
-
var
|
|
39338
|
-
G = I, I = g, g =
|
|
39351
|
+
var Cr = G;
|
|
39352
|
+
G = I, I = g, g = Cr;
|
|
39339
39353
|
}
|
|
39340
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)
|
|
39341
39355
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
@@ -39600,11 +39614,11 @@ T* `) : g.join(` Tj
|
|
|
39600
39614
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
39601
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();
|
|
39602
39616
|
}, h.__private__.lines = h.lines = function(g, I, G, te, le, Ee) {
|
|
39603
|
-
var Oe, $e, st, Bt, It, Lt, pn, yn, Rn,
|
|
39617
|
+
var Oe, $e, st, Bt, It, Lt, pn, yn, Rn, Cr, sr, ts;
|
|
39604
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")
|
|
39605
39619
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
39606
|
-
for (gu(I, G), Oe = te[0], $e = te[1], Bt = g.length,
|
|
39607
|
-
(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));
|
|
39608
39622
|
return Ee && Eh(), pu(le), this;
|
|
39609
39623
|
}, h.path = function(g) {
|
|
39610
39624
|
for (var I = 0; I < g.length; I++) {
|
|
@@ -39862,7 +39876,7 @@ T* `) : g.join(` Tj
|
|
|
39862
39876
|
return Xo(z);
|
|
39863
39877
|
}, setHeight: function(g) {
|
|
39864
39878
|
Cu(z, g);
|
|
39865
|
-
} }, 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() {
|
|
39866
39880
|
return dA(z);
|
|
39867
39881
|
}, set: function(g) {
|
|
39868
39882
|
xu(z, g);
|
|
@@ -41590,8 +41604,8 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
41590
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) {
|
|
41591
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];
|
|
41592
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);
|
|
41593
|
-
var X = function(
|
|
41594
|
-
var xt, ze, Gn = [], Ot =
|
|
41607
|
+
var X = function(Ge) {
|
|
41608
|
+
var xt, ze, Gn = [], Ot = Ge.trim();
|
|
41595
41609
|
if (Ot === "")
|
|
41596
41610
|
return Ly;
|
|
41597
41611
|
if (Ot in e5)
|
|
@@ -41612,8 +41626,8 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
41612
41626
|
return Gn;
|
|
41613
41627
|
}(B);
|
|
41614
41628
|
if (this.fontFaces) {
|
|
41615
|
-
var he = OG(Re(this.pdf, this.fontFaces), X.map(function(
|
|
41616
|
-
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 };
|
|
41617
41631
|
}));
|
|
41618
41632
|
this.pdf.setFont(he.ref.name, he.ref.style);
|
|
41619
41633
|
} else {
|
|
@@ -41836,7 +41850,7 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
41836
41850
|
if (U(X), this.autoPaging)
|
|
41837
41851
|
for (var we = X[0], je = X[X.length - 1], Xe = we; Xe < je + 1; Xe++) {
|
|
41838
41852
|
this.pdf.setPage(Xe);
|
|
41839
|
-
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;
|
|
41840
41854
|
if (this.ctx.clip_path.length !== 0) {
|
|
41841
41855
|
var Gn = this.path;
|
|
41842
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;
|
|
@@ -42051,16 +42065,16 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
42051
42065
|
var mt = this.path;
|
|
42052
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;
|
|
42053
42067
|
}
|
|
42054
|
-
var
|
|
42068
|
+
var Ge = _([JSON.parse(JSON.stringify(tt))], this.posX + this.margin[3], -it + Q + this.ctx.prevPageLastElemOffset)[0];
|
|
42055
42069
|
S.scale >= 0.01 && (ke = this.pdf.internal.getFontSize(), this.pdf.setFontSize(ke * S.scale), Qe = this.lineWidth, this.lineWidth = Qe * S.scale);
|
|
42056
42070
|
var xt = this.autoPaging !== "text";
|
|
42057
|
-
if (xt ||
|
|
42058
|
-
if (xt ||
|
|
42059
|
-
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);
|
|
42060
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();
|
|
42061
42075
|
}
|
|
42062
42076
|
} else
|
|
42063
|
-
|
|
42077
|
+
Ge.y < he && (this.ctx.prevPageLastElemOffset += he - Ge.y);
|
|
42064
42078
|
S.scale >= 0.01 && (this.pdf.setFontSize(ke), this.lineWidth = Qe);
|
|
42065
42079
|
}
|
|
42066
42080
|
else
|
|
@@ -42090,9 +42104,9 @@ var ip, r5, i5, Ly = ["times"];
|
|
|
42090
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);
|
|
42091
42105
|
return new a(Qe, tt, Re - Qe, xe - tt);
|
|
42092
42106
|
}, oe = function(S, z, $, Z, ne, ce, ge, ye) {
|
|
42093
|
-
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;
|
|
42094
42108
|
for (ke = 0; ke < 41; ke++)
|
|
42095
|
-
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));
|
|
42096
42110
|
return new a(Math.round(B), Math.round(Q), Math.round(X - B), Math.round(he - Q));
|
|
42097
42111
|
}, Be = function() {
|
|
42098
42112
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
@@ -43054,8 +43068,8 @@ function Ny(t) {
|
|
|
43054
43068
|
}
|
|
43055
43069
|
function oe(S, z, $, Z, ne) {
|
|
43056
43070
|
for (var ce, ge = ne[0], ye = ne[240], Pe = function(w, B) {
|
|
43057
|
-
var Q, X, he, we, je, Xe, it, mt,
|
|
43058
|
-
for (
|
|
43071
|
+
var Q, X, he, we, je, Xe, it, mt, Ge, xt, ze = 0;
|
|
43072
|
+
for (Ge = 0; Ge < 8; ++Ge) {
|
|
43059
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];
|
|
43060
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;
|
|
43061
43075
|
w[ze] = gn + co, w[ze + 4] = gn - co;
|
|
@@ -43064,7 +43078,7 @@ function Ny(t) {
|
|
|
43064
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;
|
|
43065
43079
|
w[ze + 5] = lt + aA, w[ze + 3] = lt - aA, w[ze + 1] = Qs + fr, w[ze + 7] = Qs - fr, ze += 8;
|
|
43066
43080
|
}
|
|
43067
|
-
for (ze = 0,
|
|
43081
|
+
for (ze = 0, Ge = 0; Ge < 8; ++Ge) {
|
|
43068
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];
|
|
43069
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;
|
|
43070
43084
|
w[ze] = Yi + Xi, w[ze + 32] = Yi - Xi;
|
|
@@ -43073,8 +43087,8 @@ function Ny(t) {
|
|
|
43073
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;
|
|
43074
43088
|
w[ze + 40] = mc + AA, w[ze + 24] = mc - AA, w[ze + 8] = gc + fc, w[ze + 56] = gc - fc, ze++;
|
|
43075
43089
|
}
|
|
43076
|
-
for (
|
|
43077
|
-
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;
|
|
43078
43092
|
return h;
|
|
43079
43093
|
}(S, z), ke = 0; ke < 64; ++ke)
|
|
43080
43094
|
m[H[ke]] = Pe[ke];
|
|
@@ -43142,8 +43156,8 @@ function Ny(t) {
|
|
|
43142
43156
|
de(17);
|
|
43143
43157
|
for (var mt = 0; mt < 16; mt++)
|
|
43144
43158
|
de(W[mt + 1]);
|
|
43145
|
-
for (var
|
|
43146
|
-
de(me[
|
|
43159
|
+
for (var Ge = 0; Ge <= 161; Ge++)
|
|
43160
|
+
de(me[Ge]);
|
|
43147
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);
|
|
43148
43162
|
var $ = 0, Z = 0, ne = 0;
|
|
43149
43163
|
x = 0, v = 7, this.encode.displayName = "_encode_";
|
|
@@ -43258,23 +43272,23 @@ function c5(t) {
|
|
|
43258
43272
|
pe = K[ae], 0 < K[ae] && (fe[se[pe]++] = ae);
|
|
43259
43273
|
if (se[15] == 1)
|
|
43260
43274
|
return (K = new R()).g = 0, K.value = fe[0], Ae(T, Ue, 1, _e, K), _e;
|
|
43261
|
-
var Ie, Le = -1, Fe = _e - 1,
|
|
43275
|
+
var Ie, Le = -1, Fe = _e - 1, We = 0, Me = 1, at = 1, He = 1 << O;
|
|
43262
43276
|
for (ae = 0, pe = 1, re = 2; pe <= O; ++pe, re <<= 1) {
|
|
43263
43277
|
if (Me += at <<= 1, 0 > (at -= ie[pe]))
|
|
43264
43278
|
return 0;
|
|
43265
43279
|
for (; 0 < ie[pe]; --ie[pe])
|
|
43266
|
-
(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);
|
|
43267
43281
|
}
|
|
43268
43282
|
for (pe = O + 1, re = 2; 15 >= pe; ++pe, re <<= 1) {
|
|
43269
43283
|
if (Me += at <<= 1, 0 > (at -= ie[pe]))
|
|
43270
43284
|
return 0;
|
|
43271
43285
|
for (; 0 < ie[pe]; --ie[pe]) {
|
|
43272
|
-
if (K = new R(), (
|
|
43286
|
+
if (K = new R(), (We & Fe) != Le) {
|
|
43273
43287
|
for (Ue += He, Ie = 1 << (Le = pe) - O; 15 > Le && !(0 >= (Ie -= ie[Le])); )
|
|
43274
43288
|
++Le, Ie <<= 1;
|
|
43275
|
-
_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;
|
|
43276
43290
|
}
|
|
43277
|
-
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);
|
|
43278
43292
|
}
|
|
43279
43293
|
}
|
|
43280
43294
|
return Me != 2 * se[15] - 1 ? 0 : _e;
|
|
@@ -43422,7 +43436,7 @@ function c5(t) {
|
|
|
43422
43436
|
function mt(u, f) {
|
|
43423
43437
|
f.jd = u >> 0 & 255, f.hd = u >> 8 & 255, f.ud = u >> 16 & 255;
|
|
43424
43438
|
}
|
|
43425
|
-
function
|
|
43439
|
+
function Ge(u, f, y, C, E, F) {
|
|
43426
43440
|
var T;
|
|
43427
43441
|
for (T = 0; T < C; ++T) {
|
|
43428
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));
|
|
@@ -43595,21 +43609,21 @@ function c5(t) {
|
|
|
43595
43609
|
case 0:
|
|
43596
43610
|
var _e = re, ie = fe, se = O, Ie = D, Le = (He = K).Ea;
|
|
43597
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);
|
|
43598
|
-
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; ) {
|
|
43599
43613
|
var jt = at, Wt = He, Nt = 1;
|
|
43600
43614
|
for (Uu(pe, ae, se, Ie - Le, 1, se, Ie); Nt < Le; ) {
|
|
43601
|
-
var Tt = (Nt & ~
|
|
43615
|
+
var Tt = (Nt & ~We) + Fe;
|
|
43602
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;
|
|
43603
43617
|
}
|
|
43604
|
-
ae += Le, Ie += Le, ++_e &
|
|
43618
|
+
ae += Le, Ie += Le, ++_e & We || (He += Me);
|
|
43605
43619
|
}
|
|
43606
43620
|
fe != K.nc && r(O, D - Ue, O, D + (fe - re - 1) * Ue, Ue);
|
|
43607
43621
|
break;
|
|
43608
43622
|
case 1:
|
|
43609
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; ) {
|
|
43610
|
-
for (
|
|
43611
|
-
mt(
|
|
43612
|
-
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);
|
|
43613
43627
|
}
|
|
43614
43628
|
break;
|
|
43615
43629
|
case 3:
|
|
@@ -43724,14 +43738,14 @@ function c5(t) {
|
|
|
43724
43738
|
for (; Le || fe < ae; ) {
|
|
43725
43739
|
var Fe = 0;
|
|
43726
43740
|
if (D >= _e) {
|
|
43727
|
-
var
|
|
43728
|
-
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;
|
|
43729
43743
|
}
|
|
43730
43744
|
if (O & se || (Ie = Qn(re, O, D)), e(Ie != null), Ie.Qb && (f[fe] = Ie.qb, Le = !0), !Le)
|
|
43731
43745
|
if (ne(K), Ie.jc) {
|
|
43732
|
-
Fe = K,
|
|
43746
|
+
Fe = K, We = f;
|
|
43733
43747
|
var Me = fe, at = Ie.pd[z(Fe) & Jr - 1];
|
|
43734
|
-
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);
|
|
43735
43749
|
} else
|
|
43736
43750
|
Fe = Wr(Ie.G[0], Ie.H[0], K);
|
|
43737
43751
|
if (K.h)
|
|
@@ -43741,20 +43755,20 @@ function c5(t) {
|
|
|
43741
43755
|
if (Ie.nd)
|
|
43742
43756
|
f[fe] = (Ie.qb | Fe << 8) >>> 0;
|
|
43743
43757
|
else {
|
|
43744
|
-
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)
|
|
43745
43759
|
break;
|
|
43746
|
-
f[fe] = (Me << 24 | Le << 16 | Fe << 8 |
|
|
43760
|
+
f[fe] = (Me << 24 | Le << 16 | Fe << 8 | We) >>> 0;
|
|
43747
43761
|
}
|
|
43748
43762
|
if (Le = !1, ++fe, ++O >= C && (O = 0, ++D, T != null && D <= F && !(D % 16) && T(u, D), ie != null))
|
|
43749
43763
|
for (; pe < fe; )
|
|
43750
43764
|
Fe = f[pe++], ie.X[(506832829 * Fe & 4294967295) >>> ie.Mb] = Fe;
|
|
43751
43765
|
} else if (280 > Fe) {
|
|
43752
|
-
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)
|
|
43753
43767
|
break;
|
|
43754
|
-
if (fe - y <
|
|
43768
|
+
if (fe - y < We || E - fe < Fe)
|
|
43755
43769
|
break e;
|
|
43756
43770
|
for (Me = 0; Me < Fe; ++Me)
|
|
43757
|
-
f[fe + Me] = f[fe + Me -
|
|
43771
|
+
f[fe + Me] = f[fe + Me - We];
|
|
43758
43772
|
for (fe += Fe, O += Fe; O >= C; )
|
|
43759
43773
|
O -= C, ++D, T != null && D <= F && !(D % 16) && T(u, D);
|
|
43760
43774
|
if (e(fe <= E), O & se && (Ie = Qn(re, O, D)), ie != null)
|
|
@@ -43765,7 +43779,7 @@ function c5(t) {
|
|
|
43765
43779
|
break e;
|
|
43766
43780
|
for (Le = Fe - 280, e(ie != null); pe < fe; )
|
|
43767
43781
|
Fe = f[pe++], ie.X[(506832829 * Fe & 4294967295) >>> ie.Mb] = Fe;
|
|
43768
|
-
Fe = fe, e(!(Le >>> (
|
|
43782
|
+
Fe = fe, e(!(Le >>> (We = ie).Xa)), f[Fe] = We.X[Le], Le = !0;
|
|
43769
43783
|
}
|
|
43770
43784
|
Le || e(K.h == $(K));
|
|
43771
43785
|
}
|
|
@@ -43787,7 +43801,7 @@ function c5(t) {
|
|
|
43787
43801
|
}
|
|
43788
43802
|
function Si() {
|
|
43789
43803
|
var u = new zm();
|
|
43790
|
-
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);
|
|
43791
43805
|
}
|
|
43792
43806
|
function Hs(u, f, y, C, E) {
|
|
43793
43807
|
var F = 1, T = [u], D = [f], O = C.m, K = C.s, re = null, fe = 0;
|
|
@@ -43805,8 +43819,8 @@ function c5(t) {
|
|
|
43805
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];
|
|
43806
43820
|
break;
|
|
43807
43821
|
case 3:
|
|
43808
|
-
var Le, Fe = oe(ie, 8) + 1,
|
|
43809
|
-
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)) {
|
|
43810
43824
|
var Me, at = Fe, He = se, jt = 1 << (8 >> He.b), Wt = s(jt);
|
|
43811
43825
|
if (Wt == null)
|
|
43812
43826
|
Le = 0;
|
|
@@ -44215,7 +44229,7 @@ function c5(t) {
|
|
|
44215
44229
|
$v[255 + y] = 0 > y ? 0 : 255 < y ? 255 : y;
|
|
44216
44230
|
qv = 1;
|
|
44217
44231
|
}
|
|
44218
|
-
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;
|
|
44219
44233
|
} else
|
|
44220
44234
|
y = 0;
|
|
44221
44235
|
}
|
|
@@ -44223,36 +44237,36 @@ function c5(t) {
|
|
|
44223
44237
|
for (ae.M = 0; ae.M < ae.Va; ++ae.M) {
|
|
44224
44238
|
var _e, ie = ae.Jc[ae.M & ae.Xb], se = ae.m, Ie = ae;
|
|
44225
44239
|
for (_e = 0; _e < Ie.za; ++_e) {
|
|
44226
|
-
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];
|
|
44227
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) {
|
|
44228
44242
|
var jt = He.Ob, Wt = 0;
|
|
44229
44243
|
for (Fe = 0; 4 > Fe; ++Fe) {
|
|
44230
44244
|
var Nt, Tt = at[0 + Fe];
|
|
44231
44245
|
for (Nt = 0; 4 > Nt; ++Nt) {
|
|
44232
|
-
Tt = Y4[
|
|
44246
|
+
Tt = Y4[We[Me + Nt]][Tt];
|
|
44233
44247
|
for (var rn = Jv[ye(Le, Tt[0])]; 0 < rn; )
|
|
44234
44248
|
rn = Jv[2 * rn + ye(Le, Tt[rn])];
|
|
44235
|
-
Tt = -rn,
|
|
44249
|
+
Tt = -rn, We[Me + Nt] = Tt;
|
|
44236
44250
|
}
|
|
44237
|
-
r(jt, Wt,
|
|
44251
|
+
r(jt, Wt, We, Me, 4), Wt += 4, at[0 + Fe] = Tt;
|
|
44238
44252
|
}
|
|
44239
44253
|
} else
|
|
44240
|
-
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);
|
|
44241
44255
|
He.Dd = ye(Le, 142) ? ye(Le, 114) ? ye(Le, 183) ? 1 : 3 : 2 : 0;
|
|
44242
44256
|
}
|
|
44243
44257
|
if (Ie.m.Ka)
|
|
44244
44258
|
return Sn(ae, 7, "Premature end-of-partition0 encountered.");
|
|
44245
44259
|
for (; ae.ja < ae.za; ++ae.ja) {
|
|
44246
|
-
if (Ie = ie, Le = (se = ae).rb[se.sb - 1],
|
|
44247
|
-
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;
|
|
44248
44262
|
else {
|
|
44249
44263
|
var Zt, Ct;
|
|
44250
|
-
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)
|
|
44251
44265
|
var Mn = 0, Zr = Me[3];
|
|
44252
44266
|
else {
|
|
44253
44267
|
rn = s(16);
|
|
44254
44268
|
var Hn = Le.Na + Wt.Na;
|
|
44255
|
-
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)
|
|
44256
44270
|
is(rn, 0, Fe, jt);
|
|
44257
44271
|
else {
|
|
44258
44272
|
var ei = rn[0] + 3 >> 3;
|
|
@@ -44265,13 +44279,13 @@ function c5(t) {
|
|
|
44265
44279
|
for (rn = 0; 4 > rn; ++rn) {
|
|
44266
44280
|
var fi = 1 & hi;
|
|
44267
44281
|
for (ei = Ct = 0; 4 > ei; ++ei)
|
|
44268
|
-
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;
|
|
44269
44283
|
Yt >>= 4, hi = hi >> 1 | fi << 7, Nt = (Nt << 8 | Ct) >>> 0;
|
|
44270
44284
|
}
|
|
44271
44285
|
for (Zr = Yt, Mn = hi >> 4, Zt = 0; 4 > Zt; Zt += 2) {
|
|
44272
44286
|
for (Ct = 0, Yt = Le.la >> 4 + Zt, hi = Wt.la >> 4 + Zt, rn = 0; 2 > rn; ++rn) {
|
|
44273
44287
|
for (fi = 1 & hi, ei = 0; 2 > ei; ++ei)
|
|
44274
|
-
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;
|
|
44275
44289
|
Yt >>= 2, hi = hi >> 1 | fi << 5;
|
|
44276
44290
|
}
|
|
44277
44291
|
Tt |= Ct << 4 * Zt, Zr |= Yt << 4 << Zt, Mn |= (240 & hi) << Zt;
|
|
@@ -44283,7 +44297,7 @@ function c5(t) {
|
|
|
44283
44297
|
}
|
|
44284
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)
|
|
44285
44299
|
e: {
|
|
44286
|
-
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)
|
|
44287
44301
|
for (fi = (Hn = ie).D.M, e(Hn.D.uc), Ct = Hn.yb; Ct < Hn.Hb; ++Ct) {
|
|
44288
44302
|
Mn = Ct, Zr = fi;
|
|
44289
44303
|
var or = (pr = (bn = Hn).D).Nb;
|
|
@@ -44304,7 +44318,7 @@ function c5(t) {
|
|
|
44304
44318
|
}
|
|
44305
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));
|
|
44306
44320
|
}
|
|
44307
|
-
_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));
|
|
44308
44322
|
}
|
|
44309
44323
|
if (!Ie)
|
|
44310
44324
|
return Sn(ae, 6, "Output aborted.");
|
|
@@ -44399,7 +44413,7 @@ function c5(t) {
|
|
|
44399
44413
|
C += u[f - 1 + 32 * y] + u[f + y - 32];
|
|
44400
44414
|
Bc(C >> 5, u, f);
|
|
44401
44415
|
}
|
|
44402
|
-
function
|
|
44416
|
+
function xr(u, f) {
|
|
44403
44417
|
var y, C = 8;
|
|
44404
44418
|
for (y = 0; 16 > y; ++y)
|
|
44405
44419
|
C += u[f - 1 + 32 * y];
|
|
@@ -44685,13 +44699,13 @@ function c5(t) {
|
|
|
44685
44699
|
break t;
|
|
44686
44700
|
}
|
|
44687
44701
|
_e = Wi(_e - 256, re);
|
|
44688
|
-
var
|
|
44702
|
+
var We, Me = Wr(Fe.G[4], Fe.H[4], re);
|
|
44689
44703
|
if (ne(re), !(ie >= (Me = Rs(ae, Me = Wi(Me, re))) && se - ie >= _e)) {
|
|
44690
44704
|
Ue = 0;
|
|
44691
44705
|
break t;
|
|
44692
44706
|
}
|
|
44693
|
-
for (
|
|
44694
|
-
D[pe + ie +
|
|
44707
|
+
for (We = 0; We < _e; ++We)
|
|
44708
|
+
D[pe + ie + We] = D[pe + ie + We - Me];
|
|
44695
44709
|
for (ie += _e, K += _e; K >= ae; )
|
|
44696
44710
|
K -= ae, ++O <= f && !(O % 16) && Ji(T, O);
|
|
44697
44711
|
ie < Ie && K & Le && (Fe = Qn(fe, K, O));
|
|
@@ -44759,10 +44773,10 @@ function c5(t) {
|
|
|
44759
44773
|
}
|
|
44760
44774
|
function Ee(u, f, y) {
|
|
44761
44775
|
P[u] = function(C, E, F, T, D, O, K, re, fe, pe, ae, Ue, _e, ie, se, Ie, Le) {
|
|
44762
|
-
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;
|
|
44763
44777
|
e(C != null);
|
|
44764
44778
|
var He = 3 * Me + at + 131074 >> 2;
|
|
44765
|
-
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) {
|
|
44766
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;
|
|
44767
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;
|
|
44768
44782
|
}
|
|
@@ -44798,7 +44812,7 @@ function c5(t) {
|
|
|
44798
44812
|
var F = 240 & It(u, f) | 15;
|
|
44799
44813
|
C[E + 0] = 240 & st(u, y) | Bt(u, f, y) >> 4, C[E + 1] = F;
|
|
44800
44814
|
}
|
|
44801
|
-
function
|
|
44815
|
+
function Cr(u, f, y, C, E) {
|
|
44802
44816
|
C[E + 0] = 255, Lt(u, f, y, C, E + 1);
|
|
44803
44817
|
}
|
|
44804
44818
|
function sr(u, f, y, C, E) {
|
|
@@ -44893,7 +44907,7 @@ function c5(t) {
|
|
|
44893
44907
|
e: {
|
|
44894
44908
|
var Ie = u;
|
|
44895
44909
|
_e = f, ie = y;
|
|
44896
|
-
var Le = K, Fe = re,
|
|
44910
|
+
var Le = K, Fe = re, We = Ue = [0];
|
|
44897
44911
|
if ((He = fe = [fe])[0] = 0, 8 > ie[0])
|
|
44898
44912
|
ie = 7;
|
|
44899
44913
|
else {
|
|
@@ -44911,7 +44925,7 @@ function c5(t) {
|
|
|
44911
44925
|
ie = 3;
|
|
44912
44926
|
break e;
|
|
44913
44927
|
}
|
|
44914
|
-
|
|
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;
|
|
44915
44929
|
}
|
|
44916
44930
|
ie = 0;
|
|
44917
44931
|
}
|
|
@@ -44933,9 +44947,9 @@ function c5(t) {
|
|
|
44933
44947
|
e: {
|
|
44934
44948
|
Me = u, ie = f, se = y;
|
|
44935
44949
|
var He = ae.gb;
|
|
44936
|
-
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];
|
|
44937
44951
|
var jt = se[0];
|
|
44938
|
-
for (e(Le != null), e(
|
|
44952
|
+
for (e(Le != null), e(We != null), Le[0] = null, Fe[0] = null, We[0] = 0; ; ) {
|
|
44939
44953
|
if (ie[0] = Ie, se[0] = jt, 8 > jt) {
|
|
44940
44954
|
ie = 7;
|
|
44941
44955
|
break e;
|
|
@@ -44958,7 +44972,7 @@ function c5(t) {
|
|
|
44958
44972
|
ie = 7;
|
|
44959
44973
|
break e;
|
|
44960
44974
|
}
|
|
44961
|
-
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;
|
|
44962
44976
|
}
|
|
44963
44977
|
}
|
|
44964
44978
|
if (y = y[0], ae.na = ae.na[0], ae.P = ae.P[0], ae.Sa = ae.Sa[0], ie != 0)
|
|
@@ -44966,7 +44980,7 @@ function c5(t) {
|
|
|
44966
44980
|
}
|
|
44967
44981
|
y = [y], ae.Ja = [ae.Ja], ae.xa = [ae.xa];
|
|
44968
44982
|
e:
|
|
44969
|
-
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])
|
|
44970
44984
|
ie = 7;
|
|
44971
44985
|
else {
|
|
44972
44986
|
if (Ie || at) {
|
|
@@ -44978,9 +44992,9 @@ function c5(t) {
|
|
|
44978
44992
|
ie = 7;
|
|
44979
44993
|
break e;
|
|
44980
44994
|
}
|
|
44981
|
-
Fe[0] = He, ie[0] += 8, se[0] -= 8,
|
|
44995
|
+
Fe[0] = He, ie[0] += 8, se[0] -= 8, We[0] = at;
|
|
44982
44996
|
} else
|
|
44983
|
-
|
|
44997
|
+
We[0] = 5 <= se[0] && He[Me + 0] == 47 && !(He[Me + 4] >> 5), Fe[0] = se[0];
|
|
44984
44998
|
ie = 0;
|
|
44985
44999
|
}
|
|
44986
45000
|
if (y = y[0], ae.Ja = ae.Ja[0], ae.xa = ae.xa[0], f = f[0], ie != 0)
|
|
@@ -45122,9 +45136,9 @@ function c5(t) {
|
|
|
45122
45136
|
var Nh, ns = P.ColorIndexInverseTransform, Tu = P.MapARGB, Vm = P.VP8LColorIndexInverseTransformAlpha, $m = P.MapAlpha, Zo = P.VP8LPredictorsAdd = [];
|
|
45123
45137
|
Zo.length = 16, (P.VP8LPredictors = []).length = 16, (P.VP8LPredictorsAdd_C = []).length = 16, (P.VP8LPredictors_C = []).length = 16;
|
|
45124
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 = [];
|
|
45125
|
-
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);
|
|
45126
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);
|
|
45127
|
-
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);
|
|
45128
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;
|
|
45129
45143
|
this.WebPDecodeRGBA = function(u, f, y, C, E) {
|
|
45130
45144
|
var F = Rh, T = new Sc(), D = new Gi();
|
|
@@ -45700,7 +45714,7 @@ function(t) {
|
|
|
45700
45714
|
*/
|
|
45701
45715
|
function(t) {
|
|
45702
45716
|
function e() {
|
|
45703
|
-
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) {
|
|
45704
45718
|
return Promise.reject(new Error("Could not load canvg: " + n));
|
|
45705
45719
|
}).then(function(n) {
|
|
45706
45720
|
return n.default ? n.default : n;
|