@payfurl/client 4.8.6 → 4.8.7

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.
Files changed (73) hide show
  1. package/dist/sdk/ApplePayButton.interface-BvRk9kiK.js +0 -0
  2. package/dist/sdk/ApplePayButtonOptions.type-BvRk9kiK.js +0 -0
  3. package/dist/sdk/CloseIcon-_3X2kvPG.js +3371 -0
  4. package/dist/sdk/CxPayThreeDsProvider-DAAmw4ya.js +12 -0
  5. package/dist/sdk/DefaultThreeDsProvider-JPe2W_JG.js +221 -0
  6. package/dist/sdk/EcentricThreeDsProvider-Ddy0Fn5h.js +68 -0
  7. package/dist/sdk/EpnaThreeDsProvider-Ng4Pmq0D.js +12 -0
  8. package/dist/sdk/FlashBancThreeDsProvider-DFZG4u44.js +12 -0
  9. package/dist/sdk/GPaymentsThreeDsProvider-BIku3bZP.js +91 -0
  10. package/dist/sdk/MetricsGlobalThreeDsProvider-BMeP5IWW.js +118 -0
  11. package/dist/sdk/NmiThreeDsProvider-CzRH7vrp.js +12 -0
  12. package/dist/sdk/NuveiThreeDsProvider-DMO_bgOI.js +151 -0
  13. package/dist/sdk/PayGLocalThreeDsProvider-DDqJz4iC.js +112 -0
  14. package/dist/sdk/PayWayAppleButton-DVoTz5Nn.js +160 -0
  15. package/dist/sdk/PayabliThreeDsProvider-BWStZH6E.js +12 -0
  16. package/dist/sdk/SkyBankThreeDsProvider-U6pzbMJY.js +12 -0
  17. package/dist/sdk/ThreeDsAuthResponse.type-BvRk9kiK.js +0 -0
  18. package/dist/sdk/ThreeDsInitResponse.type-BvRk9kiK.js +0 -0
  19. package/dist/sdk/ThreeDsPostAuthResponse.type-BFN9wqum.js +26 -0
  20. package/dist/sdk/ThreeDsProvider.interface-BvRk9kiK.js +0 -0
  21. package/dist/sdk/alerts-D474JL4D.js +42 -0
  22. package/dist/sdk/cxpay-BnpH4Q1F.js +7 -0
  23. package/dist/sdk/default-B8ZcE4ja.js +7 -0
  24. package/dist/sdk/ecentric-DwR-gEaW.js +7 -0
  25. package/dist/sdk/epna-BtQr8Mlq.js +7 -0
  26. package/dist/sdk/flashbanc-BNEJGUff.js +7 -0
  27. package/dist/sdk/forter-D0-GGAlC.js +41 -0
  28. package/dist/sdk/fraudCheck.type-BvRk9kiK.js +0 -0
  29. package/dist/sdk/fraudProvider.type-Bzd9orn2.js +7 -0
  30. package/dist/sdk/fraudStatus.type-BvRk9kiK.js +0 -0
  31. package/dist/sdk/gpayments-QZCq0_0y.js +7 -0
  32. package/dist/sdk/metrics_global--mOHedmQ.js +7 -0
  33. package/dist/sdk/nmi-BtKpUtad.js +7 -0
  34. package/dist/sdk/nuvei-BOfZN_Em.js +7 -0
  35. package/dist/sdk/payabli-BfZ7IhDq.js +7 -0
  36. package/dist/sdk/payfurl.es.js +6977 -3
  37. package/dist/sdk/payfurl.umd.js +17 -29
  38. package/dist/sdk/payglocal-CpEbJSpn.js +7 -0
  39. package/dist/sdk/payway_rest-CIjvQwcK.js +7 -0
  40. package/dist/sdk/skybank-DWPrfoAb.js +7 -0
  41. package/dist/sdk/strings-JNmtxeev.js +119 -0
  42. package/dist/sdk/style.css +2 -1
  43. package/package.json +3 -3
  44. package/dist/sdk/CxPayThreeDsProvider-Bz7O7f0F.js +0 -12
  45. package/dist/sdk/DefaultThreeDsProvider-VHq5xoNU.js +0 -243
  46. package/dist/sdk/EcentricThreeDsProvider-CWRQYa9Y.js +0 -89
  47. package/dist/sdk/EpnaThreeDsProvider-C_tojNLc.js +0 -12
  48. package/dist/sdk/FlashBancThreeDsProvider-DvD_hlHn.js +0 -12
  49. package/dist/sdk/GPaymentsThreeDsProvider-DSa9kCKg.js +0 -105
  50. package/dist/sdk/MetricsGlobalThreeDsProvider-C1KPszqD.js +0 -152
  51. package/dist/sdk/NmiThreeDsProvider-CK1dan0G.js +0 -12
  52. package/dist/sdk/NuveiThreeDsProvider-Cu2fB7rt.js +0 -181
  53. package/dist/sdk/PayGLocalThreeDsProvider-Dsi0JOu8.js +0 -127
  54. package/dist/sdk/PayWayAppleButton-DNeVogl8.js +0 -179
  55. package/dist/sdk/PayabliThreeDsProvider-COchAXx2.js +0 -12
  56. package/dist/sdk/SkyBankThreeDsProvider-BETsDyuS.js +0 -12
  57. package/dist/sdk/ThreeDsPostAuthResponse.type-CaV_50Qh.js +0 -26
  58. package/dist/sdk/cxpay-CWoG5bR0.js +0 -7
  59. package/dist/sdk/default-CKovzYoW.js +0 -7
  60. package/dist/sdk/ecentric-RPlS3J2Q.js +0 -7
  61. package/dist/sdk/epna-DIkbQdLV.js +0 -7
  62. package/dist/sdk/flashbanc-DrIG4m7r.js +0 -7
  63. package/dist/sdk/forter-CfW26Mkn.js +0 -46
  64. package/dist/sdk/fraudProvider.type-ewIWghbD.js +0 -7
  65. package/dist/sdk/fraudStatus.type-u9AIbDtQ.js +0 -13704
  66. package/dist/sdk/gpayments-DbPzgcxs.js +0 -7
  67. package/dist/sdk/metrics_global-CEnYLnX-.js +0 -7
  68. package/dist/sdk/nmi-DcUbphxD.js +0 -7
  69. package/dist/sdk/nuvei-HtM7MLjQ.js +0 -7
  70. package/dist/sdk/payabli-BgNx9N_g.js +0 -7
  71. package/dist/sdk/payglocal-DvdtjOZ3.js +0 -7
  72. package/dist/sdk/payway_rest-eM0Wk9-Y.js +0 -7
  73. package/dist/sdk/skybank-BFv-efpg.js +0 -7
@@ -0,0 +1,7 @@
1
+ import { PayGLocalThreeDsProvider as e } from "./PayGLocalThreeDsProvider-DDqJz4iC.js";
2
+ //#region src/sdk/3ds/payglocal.ts
3
+ function t(t, n, r) {
4
+ return new e(t, n, r);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ import { PayWayAppleButton as e } from "./PayWayAppleButton-DVoTz5Nn.js";
2
+ //#region src/sdk/processors/applepay/payway_rest.ts
3
+ function t(t, n, r, i, a, o) {
4
+ return new e(t, n, r, i, a, o);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ import { SkyBankThreeDsProvider as e } from "./SkyBankThreeDsProvider-U6pzbMJY.js";
2
+ //#region src/sdk/3ds/skybank.ts
3
+ function t(t, n, r) {
4
+ return new e(t, n, r);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,119 @@
1
+ //#region src/sdk/config.local.ts
2
+ var e = {
3
+ baseUrl: "",
4
+ cssUrl: "",
5
+ redirectUrl: "",
6
+ url: "",
7
+ secureUrl: "/dist/secure/index.html",
8
+ apiUrl: "",
9
+ errorUrl: "https://y2it4xhgpx5junghaf3psg7a7q0splje.lambda-url.ap-southeast-2.on.aws"
10
+ }, t = {
11
+ baseUrl: "https://assets.payfurl.com",
12
+ cssUrl: "https://assets.payfurl.com/v4.8.7/js/",
13
+ url: "https://assets.payfurl.com/v4.8.7/iframe/index.html",
14
+ secureUrl: "https://assets.payfurl.com/v4.8.7/secure/index.html",
15
+ redirectUrl: "https://assets.payfurl.com/v4.8.7/checkout/redirect.html",
16
+ apiUrl: "https://develop-api.payfurl.com",
17
+ errorUrl: "https://y2it4xhgpx5junghaf3psg7a7q0splje.lambda-url.ap-southeast-2.on.aws"
18
+ }, n = {
19
+ baseUrl: "https://assets.payfurl.com",
20
+ cssUrl: "https://assets.payfurl.com/v4.8.7/js/",
21
+ url: "https://assets.payfurl.com/v4.8.7/iframe/index.html",
22
+ secureUrl: "https://assets.payfurl.com/v4.8.7/secure/index.html",
23
+ redirectUrl: "https://assets.payfurl.com/v4.8.7/checkout/redirect.html",
24
+ apiUrl: "https://sandbox-api.payfurl.com",
25
+ errorUrl: "https://gujl7xo5fhpkjaain4swyiymt40loyia.lambda-url.ap-southeast-2.on.aws"
26
+ }, r = {
27
+ baseUrl: "https://assets.payfurl.com",
28
+ cssUrl: "https://assets.payfurl.com/v4.8.7/js/",
29
+ url: "https://assets.payfurl.com/v4.8.7/iframe/index.html",
30
+ secureUrl: "https://assets.payfurl.com/v4.8.7/secure/index.html",
31
+ redirectUrl: "https://assets.payfurl.com/v4.8.7/checkout/redirect.html",
32
+ apiUrl: "https://api.payfurl.com",
33
+ errorUrl: "https://4rvkh6tupgcmqk3b2igkpdi2zi0mveyg.lambda-url.ap-southeast-2.on.aws"
34
+ }, i;
35
+ (function(e) {
36
+ e.LOCAL = "local", e.DEVELOPMENT = "development", e.SANDBOX = "sandbox", e.PRODUCTION = "production";
37
+ })(i ||= {});
38
+ var a = {
39
+ [i.LOCAL]: e,
40
+ [i.DEVELOPMENT]: t,
41
+ [i.SANDBOX]: n,
42
+ [i.PRODUCTION]: r
43
+ };
44
+ function o(e) {
45
+ return a[e];
46
+ }
47
+ function s(e) {
48
+ let t = a[e];
49
+ return t ||= a[i.PRODUCTION], t.errorUrl;
50
+ }
51
+ //#endregion
52
+ //#region src/utils/httpInvoker.ts
53
+ var c = class {
54
+ publicKey = "";
55
+ version = "";
56
+ regionResolver = null;
57
+ constructor(e, t, n) {
58
+ this.publicKey = e || "", this.version = t || "", this.regionResolver = n || null;
59
+ }
60
+ invoke(e, t, n, r, i, a) {
61
+ let o = new XMLHttpRequest();
62
+ o || i?.(0, ""), o.onreadystatechange = function() {
63
+ if (o.readyState === 4) {
64
+ if (o.status === 200 || o.status === 201) {
65
+ r?.(o.status, o.responseText);
66
+ return;
67
+ }
68
+ i?.(o.status, o.responseText);
69
+ }
70
+ };
71
+ let s = new URL(e);
72
+ if (this.regionResolver && (s.hostname = new URL(this.regionResolver.getRegionUrl()).hostname), o.open(t, s.toString()), o.setRequestHeader("Content-Type", "application/json"), this.publicKey && o.setRequestHeader("x-publickey", this.publicKey), this.version && o.setRequestHeader("sdk-version", this.version), a) for (let [e, t] of Object.entries(a)) o.setRequestHeader(e, t);
73
+ o.send(String(n));
74
+ }
75
+ }, l = { domain: "payfurl.com" }, u = {
76
+ [i.DEVELOPMENT]: {
77
+ AU: `https://develop-api-au.${l.domain}`,
78
+ DEFAULT: `https://develop-api.${l.domain}`
79
+ },
80
+ [i.SANDBOX]: {
81
+ AU: `https://sandbox-api-au.${l.domain}`,
82
+ DEFAULT: `https://sandbox-api.${l.domain}`
83
+ },
84
+ [i.PRODUCTION]: {
85
+ AU: `https://api-au.${l.domain}`,
86
+ DEFAULT: `https://api.${l.domain}`
87
+ },
88
+ [i.LOCAL]: { DEFAULT: "https://localhost:5001" }
89
+ }, d = class {
90
+ environment;
91
+ location;
92
+ constructor(e, t) {
93
+ this.environment = e.toLowerCase(), this.location = t.toUpperCase();
94
+ }
95
+ getRegionUrl() {
96
+ if (!u[this.environment]) throw Error(`Invalid environment: ${this.environment}`);
97
+ return u[this.environment][this.location] || u[this.environment].DEFAULT;
98
+ }
99
+ };
100
+ //#endregion
101
+ //#region src/utils/strings.ts
102
+ function f(e) {
103
+ return e.charAt(0).toUpperCase() + e.slice(1);
104
+ }
105
+ function p(e) {
106
+ return e.match(/-([a-z]{2})$/)?.[1] || "";
107
+ }
108
+ function m(e) {
109
+ let t = e.match(/\+(9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)(\d{1,14})$/);
110
+ return t ? [t[1], t[2]] : [e];
111
+ }
112
+ function h(e) {
113
+ return e ? e.replace(/(\d{4})\d{8}(\d{4})/, "$1 **** **** $2") : "";
114
+ }
115
+ function g(e) {
116
+ return e.replace(/\s/g, "");
117
+ }
118
+ //#endregion
119
+ export { m as a, i as c, h as i, o as l, f as n, d as o, p as r, c as s, g as t, s as u };
@@ -1 +1,2 @@
1
- svg#paypal[data-v-2b840669]{--size: 30px;width:var(--size);height:var(--size)}svg[data-v-6a1e8b23]{--size: 30px;width:var(--size);height:var(--size)}svg[data-v-f87e02ce]{--size: 30px;width:var(--size);height:var(--size)}svg#payto-icon[data-v-0b2d8aa0]{--size: 30px;width:var(--size);height:var(--size)}.payfurl-sdk-combined-container input[type=radio][data-v-240dc514]{height:auto;min-width:auto}.payfurl-sdk-combined-container[data-v-240dc514]{max-width:100%;width:fit-content;display:flex;flex-direction:column;padding:15px;border:var(--border);border-radius:5px}.payfurl-sdk-combined-tab[data-v-240dc514]{width:auto;height:52px;padding:0 10px;display:flex;align-items:center;justify-items:center;cursor:pointer;background-color:#fff;color:var(--color-text);border-top:1px solid var(--border-color)}.payfurl-sdk-combined-tab[data-v-240dc514]:first-child{border-top:0}.payfurl-sdk-combined-tab .combined-tab-title[data-v-240dc514]{width:fit-content;height:fit-content;display:flex;flex-direction:column;margin-right:50px}.payfurl-sdk-combined-tab .combined-tab-title .combined-tab-name[data-v-240dc514]{font-weight:700}.payfurl-sdk-combined-tab .combined-tab-title .combined-tab-description[data-v-240dc514]{color:var(--color-text-light);font-size:.8em}.payfurl-sdk-combined-tab>svg[data-v-240dc514],.payfurl-sdk-combined-tab>img[data-v-240dc514]{margin-left:auto}.payfurl-sdk-combined-tab>input[type=radio][data-v-240dc514]{margin-right:20px}.payfurl-sdk-container-component[data-v-240dc514]{min-height:50px;padding:0 45px}.payfurl-sdk-combined-container[data-v-240dc514]{margin-bottom:20px}@media screen and (max-width: 400px){.payfurl-sdk-container-component[data-v-240dc514]{min-height:50px;padding:0}}.message[data-v-ae4be0f9]{color:var(--color-error);background:transparent;font-size:20px;font-weight:700;margin-bottom:20px}.message[data-v-6a4e1608]{color:var(--color-success);background:transparent;font-size:20px;font-weight:700;margin-bottom:20px}.masked[data-v-16bb7d59]{height:100vh;width:100vw;background-color:#0009;z-index:999999;position:fixed;top:0;left:0}.lds-spinner[data-v-16bb7d59]{--spinner-size: 50px;--spinner-size2: 25px;--spinner-size3: 14px;--spinner-width: 3px;--spinner-left: 23px;display:inline-block;position:absolute;width:var(--spinner-size);height:var(--spinner-size);left:calc(50vw - var(--spinner-size2)/2);top:calc(50vh - var(--spinner-size2)/2)}.lds-spinner.single[data-v-16bb7d59]{--spinner-size: 50px;--spinner-size2: 25px;--spinner-size3: 14px;--spinner-width: 3px;--spinner-left: 23px;display:inline-block;position:relative;width:var(--spinner-size);height:var(--spinner-size);left:calc(50% - var(--spinner-size2)/2);top:0}.message[data-v-16bb7d59]{text-align:center;position:absolute;width:100vw;top:calc(50vh - 75px);color:#fff;font-size:2em}.lds-spinner div[data-v-16bb7d59]{transform-origin:var(--spinner-size2) var(--spinner-size2);animation:lds-spinner-16bb7d59 1.2s linear infinite}.lds-spinner div[data-v-16bb7d59]:after{content:" ";display:block;position:absolute;top:3px;left:var(--spinner-left);width:var(--spinner-width);height:var(--spinner-size3);border-radius:20%;background:#bcdff1}.lds-spinner div[data-v-16bb7d59]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-16bb7d59]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-16bb7d59]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-16bb7d59]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-16bb7d59]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-16bb7d59]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-16bb7d59]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-16bb7d59]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-16bb7d59]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-16bb7d59]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-16bb7d59]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-16bb7d59]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-16bb7d59{0%{opacity:1}to{opacity:0}}iframe#payfurl-card-iframe{border:none;overflow:hidden;width:100%}div#payfurl-payto-form[data-v-abff4886]{padding-bottom:20px}.small[data-v-abff4886]{font-size:.8em}div#payfurl-payto-agreement[data-v-f06289bf]{padding-bottom:20px}.message[data-v-f06289bf]{color:var(--color-text);background:transparent;font-size:20px;font-weight:700;margin-bottom:20px}svg[data-v-d7e8386b]{fill:#000;stroke:transparent;width:20px;height:20px}.modal-mask[data-v-2b2c8fc7]{--color-hr: #ddd;align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.modal-mask .modal-wrapper[data-v-2b2c8fc7]{max-height:calc(100vh - 20px);margin:30px auto auto}.modal-mask .modal-wrapper .modal-content[data-v-2b2c8fc7]{position:relative;background-color:#fff;display:flex;flex-direction:column;min-width:min(450px,90vw);max-height:calc(100vh - 60px)}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7],.modal-mask .modal-wrapper .modal-content .modal-footer[data-v-2b2c8fc7]{border:none;padding:25px 35px}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7]{border-bottom:1px solid var(--color-hr)}.modal-mask .modal-wrapper .modal-content .modal-footer[data-v-2b2c8fc7]{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--color-hr)}.modal-mask .modal-wrapper .modal-content .modal-body[data-v-2b2c8fc7]{flex:1;overflow-y:auto;padding:0;position:relative}.modal-mask .modal-wrapper .modal-content .main-title[data-v-2b2c8fc7]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:20px;color:#000;padding-right:35px}.modal-mask .modal-wrapper .modal-content .close-icon[data-v-2b2c8fc7]{position:absolute;top:29px;right:27px;cursor:pointer}.modal-mask .modal-wrapper.small[data-v-2b2c8fc7]{margin:20% auto auto}.modal-mask .modal-wrapper.small .modal-content .modal-header[data-v-2b2c8fc7],.modal-mask .modal-wrapper.small .modal-content .modal-footer[data-v-2b2c8fc7]{border:none;padding:15px}.modal-mask .modal-wrapper.small .modal-content .modal-body[data-v-2b2c8fc7]{padding:15px 25px 25px}.modal-mask .modal-wrapper.small .modal-content .close-icon[data-v-2b2c8fc7]{top:19px}@media (max-height: 460px){.modal-mask .modal-wrapper[data-v-2b2c8fc7]{max-height:none;margin:auto}.modal-mask .modal-wrapper .modal-content[data-v-2b2c8fc7]{position:relative;background-color:#fff;overflow-y:auto;display:block}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7],.modal-mask .modal-wrapper .modal-content .modal-footer[data-v-2b2c8fc7]{height:90px}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7]{position:fixed;width:465px;background-color:#fff;z-index:9998}.modal-mask .modal-wrapper .modal-content .modal-body[data-v-2b2c8fc7]{max-height:none;margin-top:90px;overflow-y:visible}}iframe[data-v-5d26ad8f]{width:100%;height:calc(100% - 10px);border:0;overflow:hidden}div.payfurl-checkout-form[data-v-2c4ce814]{padding-bottom:20px;position:relative}button[data-v-2c4ce814]{width:100%;height:40px;border:0;border-radius:4px;background-color:#459ad8;color:#fff;text-align:center;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1.1em;font-weight:400;cursor:pointer}svg[data-v-7d3fe743]{--size: 30px;width:var(--size);height:var(--size)}.click2pay-logo[data-v-cb006d2b]{width:max-content}.click2pay-logo img[data-v-cb006d2b]{height:20px;margin-right:5px;vertical-align:middle}.click2pay-logo img[data-v-cb006d2b]:first-child{margin-right:10px}.payfurl-form[data-v-693ba623]{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--color-text);font-size:1em;font-weight:400;line-height:1.5;background-color:var(--background-color);box-sizing:border-box}.payfurl-form[data-v-693ba623] *,.payfurl-form[data-v-693ba623] *:before,.payfurl-form[data-v-693ba623] *:after{box-sizing:inherit}.payfurl-form[data-v-693ba623] *:focus{outline:none}.payfurl-form label[data-v-693ba623]{font-size:.8em;font-weight:700}.payfurl-form input[data-v-693ba623]:not([type=checkbox]):not([type=radio]){-webkit-appearance:none}.payfurl-form input[data-v-693ba623]:not([type=checkbox]):not([type=radio]),.payfurl-form select[data-v-693ba623]{max-width:100%;width:100%;border:var(--border);border-radius:4px;box-shadow:inset 0 .0625em .125em #0a0a0a0d;background-color:#fff;color:var(--color-input-text);align-items:center;font-size:1rem;height:2.5em;line-height:1.5;padding:calc(.5em - 1px) calc(.75em - 1px);position:relative;margin:0}.payfurl-form input[data-v-693ba623]:hover,.payfurl-form select[data-v-693ba623]:hover{border-color:var(--border-hover)}.payfurl-form[data-v-693ba623] ::placeholder{color:#30313d}.payfurl-form[data-v-693ba623] ::-webkit-input-placeholder{color:#3b3b3b4d}.payfurl-form[data-v-693ba623] ::-moz-placeholder{color:#3b3b3b4d}.payfurl-form[data-v-693ba623] :-ms-input-placeholder{color:#3b3b3b4d}.payfurl-form[data-v-693ba623] :-moz-placeholder{color:#3b3b3b4d}.payfurl-form .error[data-v-693ba623]{font-size:1.2em;color:var(--color-error)}.payfurl-form .success[data-v-693ba623]{font-size:1.2em;color:var(--color-success)}.payfurl-form .info-message[data-v-693ba623]{font-size:.8em;color:var(--color-text)}.payfurl-form .group[data-v-693ba623]{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;gap:10px}.payfurl-form .container-form[data-v-693ba623]{position:relative;width:300px;max-width:100%}.payfurl-form .container-form .text-big[data-v-693ba623]{font-size:1.25em}.payfurl-form .container-form .text-normal[data-v-693ba623]{font-size:1em}.payfurl-form button[data-v-693ba623]{--color-text: #000;--color-text-light: #594f51;--color-text-background: rgba(15, 135, 201, .1);--input-border: #dbdbdb;--input-border-hover: #b5b5b5;display:flex;align-items:center;color:var(--color-text-light);border:1px solid var(--input-border);transition:all .5s ease;transition-property:color,border;white-space:nowrap;border-radius:5px}.payfurl-form button[data-v-693ba623]:hover{border:1px solid var(--input-border-hover)}.payfurl-form button:hover svg[data-v-693ba623]{fill:#000}.payfurl-form button svg[data-v-693ba623]{margin-right:5px}.payfurl-form .popup-error[data-v-693ba623]{padding:5px 10px;text-align:center;font-size:.8em;color:#fff;background-color:var(--color-error-background);position:absolute;top:-20px;left:0;right:0;margin-inline:auto;width:fit-content;--b: 1em;--h: 1em;--p: 50%;--r: .5em;--c: var(--color-error-background);border-radius:var(--r);clip-path:polygon(0 100%,0 0,100% 0,100% 100%,min(100%,var(--p) + var(--b) / 2) 100%,var(--p) calc(100% + var(--h)),max(0%,var(--p) - var(--b) / 2) 100%);background:var(--c);border-image:conic-gradient(var(--c) 0 0) fill 0/ var(--r) calc(100% - var(--p) - var(--b) / 2) 0 calc(var(--p) - var(--b) / 2)/ 0 0 var(--h) 0}.payfurl-form .row>div[data-v-693ba623],.payfurl-form .group>div[data-v-693ba623]{position:relative}.payfurl-form[data-v-693ba623]{padding:20px}button[data-v-693ba623]{padding:7px 20px}.payfurl-form .container-form[data-v-693ba623]{width:100%}.payfurl-form .container-form label[data-v-693ba623],.payfurl-form .container-form input[data-v-693ba623]{width:100%;padding-left:10px}.payfurl-form.payfurl-form-footer[data-v-693ba623]{padding:0;display:flex;gap:10px}.payment-method-info[data-v-7894e1cd]{display:flex;align-items:center;gap:10px;cursor:pointer;height:40px}.payment-method-info img[data-v-7894e1cd]{margin-left:0;flex:min-content;height:40px;max-width:50px}.payment-method-info .payment-method-details[data-v-7894e1cd]{flex:100%}.saved-payment-methods .payment-method-info .payment-method-details .payment-method-details-name[data-v-7894e1cd]{white-space:nowrap}.saved-payment-methods .payment-method-info .payment-method-details div[data-v-7894e1cd]:first-child{font-weight:700}a.black[data-v-7f8bbef8]{color:#000;text-decoration:underline;font-size:.8em}a.blue[data-v-7f8bbef8]{color:#00f;text-decoration:none;font-size:1em;margin-top:10px}.saved-payment-methods .title[data-v-7f8bbef8]{margin-top:10px;font-weight:700}.saved-payment-methods[data-v-7f8bbef8]{display:flex;flex-direction:column;max-width:100vw;width:max-content;gap:10px;margin:20px 0}.saved-payment-methods .payment-method-container[data-v-7f8bbef8]{padding:5px;margin:2px;display:flex;gap:20px;flex-wrap:nowrap}.saved-payment-methods .payment-method-container.error[data-v-7f8bbef8]{flex-wrap:wrap;color:initial}.saved-payment-methods .payment-method-container[data-v-7f8bbef8]:hover{background-color:#f0f0f0}.error[data-v-7f8bbef8]{flex-basis:100%;margin:0;padding:0;color:var(--color-error)}iframe[data-v-07081e85]{width:250px;height:400px;border:none;overflow:hidden}.mask[data-v-07081e85]{align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.wrapper[data-v-07081e85]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-07081e85]{position:relative;width:300px;max-width:100%;background:#fff;display:flex;justify-content:center;align-items:center}svg[data-v-07081e85]{cursor:pointer;position:absolute;right:5px;top:5px}.mask[data-v-8a0b6dcb]{align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.wrapper[data-v-8a0b6dcb]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-8a0b6dcb]{position:relative;width:450px;height:450px;max-width:100%;max-height:100%;background:#fff;display:flex;justify-content:center;align-items:center}svg[data-v-8a0b6dcb]{cursor:pointer;position:absolute;right:5px;top:5px}iframe[data-v-d0f7984c]{width:650px;height:400px;border:none;overflow:hidden}.mask[data-v-d0f7984c]{align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.wrapper[data-v-d0f7984c]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-d0f7984c]{position:relative;width:700px;background:#fff;display:flex;justify-content:center;align-items:center}svg[data-v-d0f7984c]{cursor:pointer;position:absolute;right:5px;top:5px}iframe[data-v-cf5aa816]{border:none;overflow:hidden}.mask[data-v-cf5aa816]{align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.wrapper[data-v-cf5aa816]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-cf5aa816]{position:relative;width:100vw;background:#fff;display:flex;justify-content:center;align-items:center}svg[data-v-cf5aa816]{cursor:pointer;position:absolute;right:5px;top:5px}iframe[data-v-6293d147]{width:650px;height:400px;border:none;overflow:hidden}.mask[data-v-6293d147]{align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.wrapper[data-v-6293d147]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-6293d147]{position:relative;width:700px;background:#fff;display:flex;justify-content:center;align-items:center}svg[data-v-6293d147]{cursor:pointer;position:absolute;right:5px;top:5px}.payfurl-form{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--color-text);font-size:1em;font-weight:400;line-height:1.5;background-color:var(--background-color);box-sizing:border-box}.payfurl-form *,.payfurl-form *:before,.payfurl-form *:after{box-sizing:inherit}.payfurl-form *:focus{outline:none}.payfurl-form label{font-size:.8em;font-weight:700}.payfurl-form input:not([type=checkbox]):not([type=radio]){-webkit-appearance:none}.payfurl-form input:not([type=checkbox]):not([type=radio]),.payfurl-form select{max-width:100%;width:100%;border:var(--border);border-radius:4px;box-shadow:inset 0 .0625em .125em #0a0a0a0d;background-color:#fff;color:var(--color-input-text);align-items:center;font-size:1rem;height:2.5em;line-height:1.5;padding:calc(.5em - 1px) calc(.75em - 1px);position:relative;margin:0}.payfurl-form input:hover,.payfurl-form select:hover{border-color:var(--border-hover)}.payfurl-form ::placeholder{color:#30313d}.payfurl-form ::-webkit-input-placeholder{color:#3b3b3b4d}.payfurl-form ::-moz-placeholder{color:#3b3b3b4d}.payfurl-form :-ms-input-placeholder{color:#3b3b3b4d}.payfurl-form :-moz-placeholder{color:#3b3b3b4d}.payfurl-form .error{font-size:1.2em;color:var(--color-error)}.payfurl-form .success{font-size:1.2em;color:var(--color-success)}.payfurl-form .info-message{font-size:.8em;color:var(--color-text)}.payfurl-form .group{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;gap:10px}.payfurl-form .container-form{position:relative;width:300px;max-width:100%}.payfurl-form .container-form .text-big{font-size:1.25em}.payfurl-form .container-form .text-normal{font-size:1em}.payfurl-form button{--color-text: #000;--color-text-light: #594f51;--color-text-background: rgba(15, 135, 201, .1);--input-border: #dbdbdb;--input-border-hover: #b5b5b5;display:flex;align-items:center;color:var(--color-text-light);border:1px solid var(--input-border);transition:all .5s ease;transition-property:color,border;white-space:nowrap;border-radius:5px}.payfurl-form button:hover{border:1px solid var(--input-border-hover)}.payfurl-form button:hover svg{fill:#000}.payfurl-form button svg{margin-right:5px}.payfurl-form .popup-error{padding:5px 10px;text-align:center;font-size:.8em;color:#fff;background-color:var(--color-error-background);position:absolute;top:-20px;left:0;right:0;margin-inline:auto;width:fit-content;--b: 1em;--h: 1em;--p: 50%;--r: .5em;--c: var(--color-error-background);border-radius:var(--r);clip-path:polygon(0 100%,0 0,100% 0,100% 100%,min(100%,var(--p) + var(--b) / 2) 100%,var(--p) calc(100% + var(--h)),max(0%,var(--p) - var(--b) / 2) 100%);background:var(--c);border-image:conic-gradient(var(--c) 0 0) fill 0/ var(--r) calc(100% - var(--p) - var(--b) / 2) 0 calc(var(--p) - var(--b) / 2)/ 0 0 var(--h) 0}.payfurl-form .row>div,.payfurl-form .group>div{position:relative}body,body.common{--background-color: white;--color-text: #4a4a4a;--color-text-light: #777777;--color-input-text: #4a4a4a;--border: 1px solid #dbdbdb;--border-color: #dbdbdb;--border-hover: 1px solid #363636;--color-error: red;--color-success: #48b608;--color-error-background: #b20e2e}body.dark{--background-color: black;--color-text: white;--color-input-text: #4a4a4a;--border: 1px solid #b4e1ee;--border-hover: 1px solid #363636;--color-error: red;--color-success: #48b608;--color-error-background: #b20e2e}.modal-mask[data-v-0699f67d]{--color-hr: #ddd;align-items:normal;display:flex;justify-content:center;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background-color:#000c;transition:opacity .3s ease}.modal-mask .modal-wrapper[data-v-0699f67d]{width:400px;height:calc(100vh - 20px);margin:auto}iframe[data-v-0699f67d]{width:100%;height:calc(100% - 10px);border:0;overflow:hidden}
1
+ svg#paypal[data-v-2b840669],svg[data-v-6a1e8b23],svg[data-v-f87e02ce],svg#payto-icon[data-v-0b2d8aa0]{--size:30px;width:var(--size);height:var(--size)}.payfurl-sdk-combined-container input[type=radio][data-v-240dc514]{min-width:auto;height:auto}.payfurl-sdk-combined-container[data-v-240dc514]{border:var(--border);border-radius:5px;flex-direction:column;width:fit-content;max-width:100%;padding:15px;display:flex}.payfurl-sdk-combined-tab[data-v-240dc514]{cursor:pointer;width:auto;height:52px;color:var(--color-text);border-top:1px solid var(--border-color);background-color:#fff;place-items:center;padding:0 10px;display:flex}.payfurl-sdk-combined-tab[data-v-240dc514]:first-child{border-top:0}.payfurl-sdk-combined-tab .combined-tab-title[data-v-240dc514]{flex-direction:column;width:fit-content;height:fit-content;margin-right:50px;display:flex}.payfurl-sdk-combined-tab .combined-tab-title .combined-tab-name[data-v-240dc514]{font-weight:700}.payfurl-sdk-combined-tab .combined-tab-title .combined-tab-description[data-v-240dc514]{color:var(--color-text-light);font-size:.8em}.payfurl-sdk-combined-tab>svg[data-v-240dc514],.payfurl-sdk-combined-tab>img[data-v-240dc514]{margin-left:auto}.payfurl-sdk-combined-tab>input[type=radio][data-v-240dc514]{margin-right:20px}.payfurl-sdk-container-component[data-v-240dc514]{min-height:50px;padding:0 45px}.payfurl-sdk-combined-container[data-v-240dc514]{margin-bottom:20px}@media screen and (width<=400px){.payfurl-sdk-container-component[data-v-240dc514]{min-height:50px;padding:0}}.message[data-v-ae4be0f9]{color:var(--color-error);background:0 0;margin-bottom:20px;font-size:20px;font-weight:700}.message[data-v-6a4e1608]{color:var(--color-success);background:0 0;margin-bottom:20px;font-size:20px;font-weight:700}.masked[data-v-16bb7d59]{z-index:999999;background-color:#0009;width:100vw;height:100vh;position:fixed;top:0;left:0}.lds-spinner[data-v-16bb7d59]{--spinner-size:50px;--spinner-size2:25px;--spinner-size3:14px;--spinner-width:3px;--spinner-left:23px;width:var(--spinner-size);height:var(--spinner-size);left:calc(50vw - var(--spinner-size2)/2);top:calc(50vh - var(--spinner-size2)/2);display:inline-block;position:absolute}.lds-spinner.single[data-v-16bb7d59]{--spinner-size:50px;--spinner-size2:25px;--spinner-size3:14px;--spinner-width:3px;--spinner-left:23px;width:var(--spinner-size);height:var(--spinner-size);left:calc(50% - var(--spinner-size2)/2);display:inline-block;position:relative;top:0}.message[data-v-16bb7d59]{text-align:center;color:#fff;width:100vw;font-size:2em;position:absolute;top:calc(50vh - 75px)}.lds-spinner div[data-v-16bb7d59]{transform-origin:var(--spinner-size2) var(--spinner-size2);animation:1.2s linear infinite lds-spinner-16bb7d59}.lds-spinner div[data-v-16bb7d59]:after{content:" ";top:3px;left:var(--spinner-left);width:var(--spinner-width);height:var(--spinner-size3);background:#bcdff1;border-radius:20%;display:block;position:absolute}.lds-spinner div[data-v-16bb7d59]:first-child{animation-delay:-1.1s;transform:rotate(0)}.lds-spinner div[data-v-16bb7d59]:nth-child(2){animation-delay:-1s;transform:rotate(30deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(3){animation-delay:-.9s;transform:rotate(60deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(4){animation-delay:-.8s;transform:rotate(90deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(5){animation-delay:-.7s;transform:rotate(120deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(6){animation-delay:-.6s;transform:rotate(150deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(7){animation-delay:-.5s;transform:rotate(180deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(8){animation-delay:-.4s;transform:rotate(210deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(9){animation-delay:-.3s;transform:rotate(240deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(10){animation-delay:-.2s;transform:rotate(270deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(11){animation-delay:-.1s;transform:rotate(300deg)}.lds-spinner div[data-v-16bb7d59]:nth-child(12){animation-delay:0s;transform:rotate(330deg)}@keyframes lds-spinner-16bb7d59{0%{opacity:1}to{opacity:0}}iframe#payfurl-card-iframe{border:none;width:100%;overflow:hidden}div#payfurl-payto-form[data-v-abff4886]{padding-bottom:20px}.small[data-v-abff4886]{font-size:.8em}div#payfurl-payto-agreement[data-v-f06289bf]{padding-bottom:20px}.message[data-v-f06289bf]{color:var(--color-text);background:0 0;margin-bottom:20px;font-size:20px;font-weight:700}svg[data-v-d7e8386b]{fill:#000;stroke:#0000;width:20px;height:20px}.modal-mask[data-v-2b2c8fc7]{--color-hr:#ddd;z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.modal-mask .modal-wrapper[data-v-2b2c8fc7]{max-height:calc(100vh - 20px);margin:30px auto auto}.modal-mask .modal-wrapper .modal-content[data-v-2b2c8fc7]{background-color:#fff;flex-direction:column;min-width:min(450px,90vw);max-height:calc(100vh - 60px);display:flex;position:relative}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7],.modal-mask .modal-wrapper .modal-content .modal-footer[data-v-2b2c8fc7]{border:none;padding:25px 35px}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7]{border-bottom:1px solid var(--color-hr)}.modal-mask .modal-wrapper .modal-content .modal-footer[data-v-2b2c8fc7]{border-top:1px solid var(--color-hr);justify-content:flex-end;gap:10px;display:flex}.modal-mask .modal-wrapper .modal-content .modal-body[data-v-2b2c8fc7]{flex:1;padding:0;position:relative;overflow-y:auto}.modal-mask .modal-wrapper .modal-content .main-title[data-v-2b2c8fc7]{text-overflow:ellipsis;white-space:nowrap;color:#000;padding-right:35px;font-size:20px;overflow:hidden}.modal-mask .modal-wrapper .modal-content .close-icon[data-v-2b2c8fc7]{cursor:pointer;position:absolute;top:29px;right:27px}.modal-mask .modal-wrapper.small[data-v-2b2c8fc7]{margin:20% auto auto}.modal-mask .modal-wrapper.small .modal-content .modal-header[data-v-2b2c8fc7],.modal-mask .modal-wrapper.small .modal-content .modal-footer[data-v-2b2c8fc7]{border:none;padding:15px}.modal-mask .modal-wrapper.small .modal-content .modal-body[data-v-2b2c8fc7]{padding:15px 25px 25px}.modal-mask .modal-wrapper.small .modal-content .close-icon[data-v-2b2c8fc7]{top:19px}@media (height<=460px){.modal-mask .modal-wrapper[data-v-2b2c8fc7]{max-height:none;margin:auto}.modal-mask .modal-wrapper .modal-content[data-v-2b2c8fc7]{background-color:#fff;display:block;position:relative;overflow-y:auto}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7],.modal-mask .modal-wrapper .modal-content .modal-footer[data-v-2b2c8fc7]{height:90px}.modal-mask .modal-wrapper .modal-content .modal-header[data-v-2b2c8fc7]{z-index:9998;background-color:#fff;width:465px;position:fixed}.modal-mask .modal-wrapper .modal-content .modal-body[data-v-2b2c8fc7]{max-height:none;margin-top:90px;overflow-y:visible}}iframe[data-v-5d26ad8f]{border:0;width:100%;height:calc(100% - 10px);overflow:hidden}div.payfurl-checkout-form[data-v-2c4ce814]{padding-bottom:20px;position:relative}button[data-v-2c4ce814]{color:#fff;text-align:center;cursor:pointer;background-color:#459ad8;border:0;border-radius:4px;width:100%;height:40px;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1.1em;font-weight:400}svg[data-v-7d3fe743]{--size:30px;width:var(--size);height:var(--size)}.click2pay-logo[data-v-cb006d2b]{width:max-content}.click2pay-logo img[data-v-cb006d2b]{vertical-align:middle;height:20px;margin-right:5px}.click2pay-logo img[data-v-cb006d2b]:first-child{margin-right:10px}.payfurl-form[data-v-693ba623]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--color-text);background-color:var(--background-color);box-sizing:border-box;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1em;font-weight:400;line-height:1.5}.payfurl-form[data-v-693ba623] *,.payfurl-form[data-v-693ba623] :before,.payfurl-form[data-v-693ba623] :after{box-sizing:inherit}.payfurl-form[data-v-693ba623] :focus{outline:none}.payfurl-form label[data-v-693ba623]{font-size:.8em;font-weight:700}.payfurl-form input[data-v-693ba623]:not([type=checkbox]):not([type=radio]){-webkit-appearance:none}.payfurl-form input[data-v-693ba623]:not([type=checkbox]):not([type=radio]),.payfurl-form select[data-v-693ba623]{border:var(--border);width:100%;max-width:100%;color:var(--color-input-text);background-color:#fff;border-radius:4px;align-items:center;height:2.5em;margin:0;padding:calc(.5em - 1px) calc(.75em - 1px);font-size:1rem;line-height:1.5;position:relative;box-shadow:inset 0 .0625em .125em #0a0a0a0d}.payfurl-form input[data-v-693ba623]:hover,.payfurl-form select[data-v-693ba623]:hover{border-color:var(--border-hover)}.payfurl-form[data-v-693ba623] ::placeholder{color:#30313d}.payfurl-form[data-v-693ba623] ::-webkit-input-placeholder{color:#3b3b3b4d}.payfurl-form[data-v-693ba623] ::placeholder{color:#3b3b3b4d}.payfurl-form[data-v-693ba623] :placeholder-shown{color:#3b3b3b4d}.payfurl-form[data-v-693ba623] :-ms-placeholder-shown{color:#3b3b3b4d}.payfurl-form .error[data-v-693ba623]{color:var(--color-error);font-size:1.2em}.payfurl-form .success[data-v-693ba623]{color:var(--color-success);font-size:1.2em}.payfurl-form .info-message[data-v-693ba623]{color:var(--color-text);font-size:.8em}.payfurl-form .group[data-v-693ba623]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.payfurl-form .container-form[data-v-693ba623]{width:300px;max-width:100%;position:relative}.payfurl-form .container-form .text-big[data-v-693ba623]{font-size:1.25em}.payfurl-form .container-form .text-normal[data-v-693ba623]{font-size:1em}.payfurl-form button[data-v-693ba623]{--color-text:#000;--color-text-light:#594f51;--color-text-background:#0f87c91a;--input-border:#dbdbdb;--input-border-hover:#b5b5b5;color:var(--color-text-light);border:1px solid var(--input-border);white-space:nowrap;border-radius:5px;align-items:center;transition:color .5s,border .5s;display:flex}.payfurl-form button[data-v-693ba623]:hover{border:1px solid var(--input-border-hover)}.payfurl-form button:hover svg[data-v-693ba623]{fill:#000}.payfurl-form button svg[data-v-693ba623]{margin-right:5px}.payfurl-form .popup-error[data-v-693ba623]{text-align:center;color:#fff;background-color:var(--color-error-background);--b:1em;--h:1em;--p:50%;--r:.5em;--c:var(--color-error-background);border-radius:var(--r);width:fit-content;clip-path:polygon(0 100%, 0 0, 100% 0, 100% 100%, min(100%, var(--p) + var(--b) / 2) 100%, var(--p) calc(100% + var(--h)), max(0%, var(--p) - var(--b) / 2) 100%);background:var(--c);border-image:conic-gradient(var(--c) 0 0) fill 0/ var(--r) calc(100% - var(--p) - var(--b) / 2) 0 calc(var(--p) - var(--b) / 2)/ 0 0 var(--h) 0;margin-inline:auto;padding:5px 10px;font-size:.8em;position:absolute;top:-20px;left:0;right:0}.payfurl-form .row>div[data-v-693ba623],.payfurl-form .group>div[data-v-693ba623]{position:relative}.payfurl-form[data-v-693ba623]{padding:20px}button[data-v-693ba623]{padding:7px 20px}.payfurl-form .container-form[data-v-693ba623]{width:100%}.payfurl-form .container-form label[data-v-693ba623],.payfurl-form .container-form input[data-v-693ba623]{width:100%;padding-left:10px}.payfurl-form.payfurl-form-footer[data-v-693ba623]{gap:10px;padding:0;display:flex}.payment-method-info[data-v-7894e1cd]{cursor:pointer;align-items:center;gap:10px;height:40px;display:flex}.payment-method-info img[data-v-7894e1cd]{flex:min-content;max-width:50px;height:40px;margin-left:0}.payment-method-info .payment-method-details[data-v-7894e1cd]{flex:100%}.saved-payment-methods .payment-method-info .payment-method-details .payment-method-details-name[data-v-7894e1cd]{white-space:nowrap}.saved-payment-methods .payment-method-info .payment-method-details div[data-v-7894e1cd]:first-child{font-weight:700}a.black[data-v-7f8bbef8]{color:#000;font-size:.8em;text-decoration:underline}a.blue[data-v-7f8bbef8]{color:#00f;margin-top:10px;font-size:1em;text-decoration:none}.saved-payment-methods .title[data-v-7f8bbef8]{margin-top:10px;font-weight:700}.saved-payment-methods[data-v-7f8bbef8]{flex-direction:column;gap:10px;width:max-content;max-width:100vw;margin:20px 0;display:flex}.saved-payment-methods .payment-method-container[data-v-7f8bbef8]{flex-wrap:nowrap;gap:20px;margin:2px;padding:5px;display:flex}.saved-payment-methods .payment-method-container.error[data-v-7f8bbef8]{color:initial;flex-wrap:wrap}.saved-payment-methods .payment-method-container[data-v-7f8bbef8]:hover{background-color:#f0f0f0}.error[data-v-7f8bbef8]{color:var(--color-error);flex-basis:100%;margin:0;padding:0}iframe[data-v-07081e85]{border:none;width:250px;height:400px;overflow:hidden}.mask[data-v-07081e85]{z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.wrapper[data-v-07081e85]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-07081e85]{background:#fff;justify-content:center;align-items:center;width:300px;max-width:100%;display:flex;position:relative}svg[data-v-07081e85]{cursor:pointer;position:absolute;top:5px;right:5px}.mask[data-v-8a0b6dcb]{z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.wrapper[data-v-8a0b6dcb]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-8a0b6dcb]{background:#fff;justify-content:center;align-items:center;width:450px;max-width:100%;height:450px;max-height:100%;display:flex;position:relative}svg[data-v-8a0b6dcb]{cursor:pointer;position:absolute;top:5px;right:5px}iframe[data-v-8ededb9d]{border:none;width:650px;height:400px;overflow:hidden}.mask[data-v-8ededb9d]{z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.wrapper[data-v-8ededb9d]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-8ededb9d]{background:#fff;justify-content:center;align-items:center;width:700px;display:flex;position:relative}svg[data-v-8ededb9d]{cursor:pointer;position:absolute;top:5px;right:5px}iframe[data-v-cf5aa816]{border:none;overflow:hidden}.mask[data-v-cf5aa816]{z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.wrapper[data-v-cf5aa816]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-cf5aa816]{background:#fff;justify-content:center;align-items:center;width:100vw;display:flex;position:relative}svg[data-v-cf5aa816]{cursor:pointer;position:absolute;top:5px;right:5px}iframe[data-v-3b52be97]{border:none;width:650px;height:400px;overflow:hidden}.mask[data-v-3b52be97]{z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.wrapper[data-v-3b52be97]{max-height:calc(100vh - 20px);margin:50px auto auto}.container[data-v-3b52be97]{background:#fff;justify-content:center;align-items:center;width:700px;display:flex;position:relative}svg[data-v-3b52be97]{cursor:pointer;position:absolute;top:5px;right:5px}.payfurl-form{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--color-text);background-color:var(--background-color);box-sizing:border-box;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1em;font-weight:400;line-height:1.5}.payfurl-form *,.payfurl-form :before,.payfurl-form :after{box-sizing:inherit}.payfurl-form :focus{outline:none}.payfurl-form label{font-size:.8em;font-weight:700}.payfurl-form input:not([type=checkbox]):not([type=radio]){-webkit-appearance:none}.payfurl-form input:not([type=checkbox]):not([type=radio]),.payfurl-form select{border:var(--border);width:100%;max-width:100%;color:var(--color-input-text);background-color:#fff;border-radius:4px;align-items:center;height:2.5em;margin:0;padding:calc(.5em - 1px) calc(.75em - 1px);font-size:1rem;line-height:1.5;position:relative;box-shadow:inset 0 .0625em .125em #0a0a0a0d}.payfurl-form input:hover,.payfurl-form select:hover{border-color:var(--border-hover)}.payfurl-form ::placeholder{color:#30313d}.payfurl-form ::-webkit-input-placeholder{color:#3b3b3b4d}.payfurl-form ::placeholder{color:#3b3b3b4d}.payfurl-form :placeholder-shown{color:#3b3b3b4d}.payfurl-form :-ms-placeholder-shown{color:#3b3b3b4d}.payfurl-form .error{color:var(--color-error);font-size:1.2em}.payfurl-form .success{color:var(--color-success);font-size:1.2em}.payfurl-form .info-message{color:var(--color-text);font-size:.8em}.payfurl-form .group{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.payfurl-form .container-form{width:300px;max-width:100%;position:relative}.payfurl-form .container-form .text-big{font-size:1.25em}.payfurl-form .container-form .text-normal{font-size:1em}.payfurl-form button{--color-text:#000;--color-text-light:#594f51;--color-text-background:#0f87c91a;--input-border:#dbdbdb;--input-border-hover:#b5b5b5;color:var(--color-text-light);border:1px solid var(--input-border);white-space:nowrap;border-radius:5px;align-items:center;transition:color .5s,border .5s;display:flex}.payfurl-form button:hover{border:1px solid var(--input-border-hover)}.payfurl-form button:hover svg{fill:#000}.payfurl-form button svg{margin-right:5px}.payfurl-form .popup-error{text-align:center;color:#fff;background-color:var(--color-error-background);--b:1em;--h:1em;--p:50%;--r:.5em;--c:var(--color-error-background);border-radius:var(--r);width:fit-content;clip-path:polygon(0 100%, 0 0, 100% 0, 100% 100%, min(100%, var(--p) + var(--b) / 2) 100%, var(--p) calc(100% + var(--h)), max(0%, var(--p) - var(--b) / 2) 100%);background:var(--c);border-image:conic-gradient(var(--c) 0 0) fill 0/ var(--r) calc(100% - var(--p) - var(--b) / 2) 0 calc(var(--p) - var(--b) / 2)/ 0 0 var(--h) 0;margin-inline:auto;padding:5px 10px;font-size:.8em;position:absolute;top:-20px;left:0;right:0}.payfurl-form .row>div,.payfurl-form .group>div{position:relative}body,body.common{--background-color:white;--color-text:#4a4a4a;--color-text-light:#777;--color-input-text:#4a4a4a;--border:1px solid #dbdbdb;--border-color:#dbdbdb;--border-hover:1px solid #363636;--color-error:red;--color-success:#48b608;--color-error-background:#b20e2e}body.dark{--background-color:black;--color-text:white;--color-input-text:#4a4a4a;--border:1px solid #b4e1ee;--border-hover:1px solid #363636;--color-error:red;--color-success:#48b608;--color-error-background:#b20e2e}.modal-mask[data-v-0699f67d]{--color-hr:#ddd;z-index:9999;background-color:#000c;justify-content:center;align-items:normal;width:100vw;height:100vh;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.modal-mask .modal-wrapper[data-v-0699f67d]{width:400px;height:calc(100vh - 20px);margin:auto}iframe[data-v-0699f67d]{border:0;width:100%;height:calc(100% - 10px);overflow:hidden}
2
+ /*$vite$:1*/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@payfurl/client",
3
3
  "private": false,
4
- "version": "4.8.6",
4
+ "version": "4.8.7",
5
5
  "files": [
6
6
  "dist/sdk"
7
7
  ],
@@ -40,7 +40,7 @@
40
40
  "@types/jest": "^29.5.13",
41
41
  "@types/jest-when": "^3.5.5",
42
42
  "@types/node": "^22.7.4",
43
- "@vitejs/plugin-vue": "^5.1.4",
43
+ "@vitejs/plugin-vue": "^6.0.7",
44
44
  "@vue/eslint-config-prettier": "^9.0.0",
45
45
  "@vue/eslint-config-typescript": "^13.0.0",
46
46
  "@vue/vue3-jest": "^29.2.6",
@@ -57,7 +57,7 @@
57
57
  "ts-node": "^10.9.2",
58
58
  "tslib": "^2.8.1",
59
59
  "typescript": "^5.6.2",
60
- "vite": "^5.4.8",
60
+ "vite": "^8.0.16",
61
61
  "vite-plugin-checker": "^0.8.0",
62
62
  "vue-tsc": "^2.1.6"
63
63
  }
@@ -1,12 +0,0 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-C1KPszqD.js";
2
- class a extends e {
3
- getType() {
4
- return "CxPay";
5
- }
6
- getDomain() {
7
- return "cxpay.transactiongateway.com";
8
- }
9
- }
10
- export {
11
- a as CxPayThreeDsProvider
12
- };
@@ -1,243 +0,0 @@
1
- var d = Object.defineProperty;
2
- var S = (n, e, s) => e in n ? d(n, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[e] = s;
3
- var r = (n, e, s) => S(n, typeof e != "symbol" ? e + "" : e, s);
4
- import { d as p, c as m, i as g, o as T, a as f, b as I, e as l, f as y, C as A, u as C, r as E, _ as v, T as _, h as R, j as P } from "./fraudStatus.type-u9AIbDtQ.js";
5
- const U = { class: "mask" }, $ = { class: "wrapper" }, b = { class: "container" }, L = ["action"], M = ["value"], k = /* @__PURE__ */ p({
6
- __name: "ThreeDsChallenge",
7
- props: {
8
- threeDSServerTransID: {},
9
- acsTransID: {},
10
- formAction: {}
11
- },
12
- emits: ["close", "submit"],
13
- setup(n, { emit: e }) {
14
- const s = n, t = e, o = m(() => g(s.formAction) ? s.formAction : ""), a = E(null), h = JSON.stringify({
15
- threeDSServerTransID: s.threeDSServerTransID,
16
- acsTransID: s.acsTransID,
17
- messageVersion: "2.2.0",
18
- messageType: "CReq",
19
- challengeWindowSize: "01"
20
- }), u = encodeURI(window.btoa(h).replace(/=*$/, ""));
21
- return T(() => {
22
- var c;
23
- o.value && ((c = a.value) == null || c.submit());
24
- }), (c, i) => (f(), I("div", U, [
25
- l("div", $, [
26
- l("div", b, [
27
- y(A, {
28
- onClick: i[0] || (i[0] = (V) => t("close")),
29
- id: "3ds-challenge-close"
30
- }),
31
- i[1] || (i[1] = l("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)),
32
- l("form", {
33
- action: o.value,
34
- target: "ThreeDsChallengeIFrame",
35
- method: "post",
36
- ref_key: "form",
37
- ref: a
38
- }, [
39
- l("input", {
40
- type: "hidden",
41
- name: "creq",
42
- value: C(u)
43
- }, null, 8, M)
44
- ], 8, L)
45
- ])
46
- ])
47
- ]));
48
- }
49
- }), N = /* @__PURE__ */ v(k, [["__scopeId", "data-v-07081e85"]]);
50
- class w {
51
- constructor() {
52
- r(this, "iframeId", "threeDsIframeMethod");
53
- r(this, "containerId", "payfurlContainerFormInvoker");
54
- r(this, "iframe", null);
55
- r(this, "container", null);
56
- }
57
- createIFrame() {
58
- this.iframe || (this.container = document.createElement("div"), this.container.id = this.containerId, document.body.appendChild(this.container), this.iframe = document.createElement("iframe"), this.iframe.name = this.iframeId, this.iframe.style.display = "none", this.container.appendChild(this.iframe));
59
- }
60
- invoke(e, s, t, o, a) {
61
- var u;
62
- this.createIFrame();
63
- const h = document.createElement("form");
64
- h.action = e, h.target = this.iframeId, h.method = "post", (u = this.container) == null || u.appendChild(h);
65
- for (let c in t) {
66
- const i = document.createElement("input");
67
- i.type = "hidden", i.name = c, i.value = t[c], h.appendChild(i);
68
- }
69
- h.submit();
70
- }
71
- }
72
- const { hideSpinner: D, showSpinner: O } = P(), H = "3ds_method_invocation_complete", q = "3ds_challenge_complete";
73
- class x {
74
- constructor(e, s, t) {
75
- r(this, "log");
76
- r(this, "container");
77
- r(this, "options");
78
- r(this, "threeDsProcessor", null);
79
- r(this, "threeDSDestroy", () => {
80
- });
81
- r(this, "threeDSServerTransID", "");
82
- r(this, "threeDSAuthURL", "");
83
- r(this, "threeDSRequestorTransID", "");
84
- r(this, "threeDSMonitorURL", "");
85
- r(this, "internalMessageHandler", this.messageHandler.bind(this));
86
- r(this, "onError", (e, s) => {
87
- var t, o;
88
- if (this.closeChallenge(), D(), e === 404) {
89
- (t = this.threeDsProcessor) == null || t.onError({ error: "This feature is only supported by ActiveServer v1.1.2+" });
90
- return;
91
- }
92
- (o = this.threeDsProcessor) == null || o.onError({ error: "3D Secure failed", body: s });
93
- });
94
- r(this, "onSuccess", (e, s) => {
95
- var o, a;
96
- this.closeChallenge(), D();
97
- const t = JSON.parse(s);
98
- ["Y", "A"].includes(t.transStatus) ? (o = this.threeDsProcessor) == null || o.onSuccess(t) : (this.log(`[${this.getType()}]: 3D Secure failed`, t), (a = this.threeDsProcessor) == null || a.onError({ error: "3D Secure failed" }));
99
- });
100
- r(this, "onInitAuthSuccess", (e, s) => {
101
- const t = JSON.parse(s);
102
- if (this.log(`[${this.getType()}][onInitAuthSuccess]`, t), this.threeDSRequestorTransID = t.threeDSRequestorTransID, this.threeDSServerTransID = t.threeDSServerTransID, this.threeDSMonitorURL = t.threeDSMonitorURL, this.threeDSAuthURL = t.threeDSAuthURL, t.threeDSMethodURL) {
103
- this.threeDsMethodInvoke(t.threeDSServerTransID, t.threeDSMethodURL);
104
- return;
105
- }
106
- this.onAuth(!1, "");
107
- });
108
- r(this, "onDoAuthSuccess", (e, s) => {
109
- var o;
110
- const t = JSON.parse(s);
111
- if (this.log(`[${this.getType()}][onDoAuthSuccess]`, t), !t.transStatus) {
112
- this.onError(e, "No transStatus specified");
113
- return;
114
- }
115
- switch (t.transStatus) {
116
- case "C":
117
- if (!t.acsURL) {
118
- this.onError(e, "Invalid Challenge Url");
119
- return;
120
- }
121
- this.doChallenge(t.acsURL, t.acsTransID, t.authenticationValue);
122
- break;
123
- case "N":
124
- this.log(`[${this.getType()}][threeDsAuth], 3DS Verification failed, transaction denied`), this.onError(400, "3DS Verification failed, transaction denied");
125
- break;
126
- case "U":
127
- this.log(`[${this.getType()}][threeDsAuth], Unable to perform 3DS verification`), this.onError(400, "Unable to perform 3DS verification");
128
- break;
129
- case "R":
130
- this.log(`[${this.getType()}][threeDsAuth], Unable to perform 3DS verification, rejected at issuer`), this.onError(400, "Unable to perform 3DS verification, rejected at issuer");
131
- break;
132
- default:
133
- this.log(`[${this.getType()}][threeDsAuth], 3DS challenge not required, tranStatus: ${t.transStatus}`), (o = this.threeDsProcessor) == null || o.onSuccess({
134
- threeDSServerTransID: t.threeDSServerTransID,
135
- threeDSRequestorTransID: "",
136
- acsRenderingType: t.acsRenderingType,
137
- acsTransID: t.acsTransID,
138
- authenticationType: t.authenticationType,
139
- authenticationValue: t.authenticationValue,
140
- challengeCancel: "",
141
- dsTransID: t.dsTransID,
142
- eci: t.eci,
143
- interactionCounter: "",
144
- messageCategory: "",
145
- messageExtension: t.messageExtension,
146
- messageType: t.messageType,
147
- messageVersion: t.messageVersion,
148
- transStatus: t.transStatus,
149
- transStatusReason: t.transStatusReason
150
- });
151
- break;
152
- }
153
- });
154
- this.log = e, this.container = s, this.options = t;
155
- }
156
- getType() {
157
- return "Default";
158
- }
159
- getDomain() {
160
- return "";
161
- }
162
- onPreAuth() {
163
- this.log(`[${this.getType()}][onPreAuth]`), this.threeDsProcessor && (O(), this.threeDsProcessor.onPreAuth(this.onInitAuthSuccess, this.onError), window.addEventListener("message", this.internalMessageHandler));
164
- }
165
- onAuth(e, s) {
166
- var t;
167
- this.log(`[${this.getType()}][onAuth]`, {
168
- threeDSAuthURL: this.threeDSAuthURL,
169
- threeDSRequestorTransID: this.threeDSRequestorTransID,
170
- threeDSServerTransID: this.threeDSServerTransID,
171
- isMethodPerformed: e
172
- }), (t = this.threeDsProcessor) == null || t.onAuth(this.threeDSAuthURL, this.threeDSRequestorTransID, this.threeDSServerTransID, e, s, this.onDoAuthSuccess, this.onError);
173
- }
174
- onPostAuth() {
175
- var e;
176
- this.log(`[${this.getType()}][onPostAuth]`, {
177
- threeDSServerTransID: this.threeDSServerTransID
178
- }), (e = this.threeDsProcessor) == null || e.onPostAuth({
179
- threeDSServerTransID: this.threeDSServerTransID
180
- }, this.onSuccess, this.onError);
181
- }
182
- setThreeDsProcessor(e) {
183
- this.log(`[${this.getType()}][setThreeDsProcessor]`), this.threeDsProcessor = e;
184
- }
185
- messageHandler(e) {
186
- var s, t;
187
- if (!(!((s = e == null ? void 0 : e.data) != null && s.status) || ((t = e == null ? void 0 : e.data) == null ? void 0 : t.status) === _)) {
188
- if (e.data.status === H) {
189
- e.stopPropagation(), this.invocationComplete(e);
190
- return;
191
- }
192
- e.data.status === q && (e.stopPropagation(), this.challengeComplete(e));
193
- }
194
- }
195
- invocationComplete(e) {
196
- this.log(`[${this.getType()}]: 3Ds Method invocation complete`), this.onAuth(!0, "");
197
- }
198
- challengeComplete(e) {
199
- this.log(`[${this.getType()}]: 3Ds Challenge complete`, e.data), this.closeChallenge();
200
- const s = JSON.parse(window.atob(e.data.cres));
201
- this.log(`[${this.getType()}]: cresData`, s), ["Y", "A"].includes(s.transStatus) ? this.onPostAuth() : ["N", "U", "R"].includes(s.transStatus) && (this.log(`[${this.getType()}]: Failed 3DS Challenge`, e.data), this.onError(400, "Failed 3DS Challenge"));
202
- }
203
- doChallenge(e, s, t) {
204
- this.log(`[${this.getType()}][doChallenge]`), D();
205
- const { destroy: o } = R({
206
- el: document.body,
207
- component: N,
208
- props: {
209
- threeDSServerTransID: this.threeDSServerTransID,
210
- acsTransID: s,
211
- formAction: e,
212
- authenticationValue: t
213
- },
214
- on: {
215
- close: () => {
216
- var a;
217
- o(), this.threeDSDestroy = () => {
218
- }, (a = this.threeDsProcessor) == null || a.onError({ error: "Challenge cancelled" });
219
- }
220
- }
221
- });
222
- this.threeDSDestroy = o;
223
- }
224
- closeChallenge() {
225
- var e;
226
- (e = this.threeDSDestroy) == null || e.call(this), window.removeEventListener("message", this.internalMessageHandler);
227
- }
228
- threeDsMethodInvoke(e, s) {
229
- this.log(`[${this.getType()}][threeDsMethodInvoke]`, { threeDSServerTransID: e, threeDSMethodURL: s });
230
- const t = {
231
- threeDSServerTransID: e,
232
- threeDSMethodNotificationURL: this.options.apiUrl + "/3ds/method_invocation"
233
- }, o = encodeURI(window.btoa(JSON.stringify(t)).replace(/=*$/, ""));
234
- new w().invoke(s, "POST", {
235
- threeDSMethodData: o
236
- });
237
- }
238
- }
239
- export {
240
- x as DefaultThreeDsProvider,
241
- q as THREE_DS_CHALLENGE_COMPLETE,
242
- H as THREE_DS_METHOD_INVOCATION_COMPLETE
243
- };
@@ -1,89 +0,0 @@
1
- var h = Object.defineProperty;
2
- var c = (s, t, e) => t in s ? h(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
- var l = (s, t, e) => c(s, typeof t != "symbol" ? t + "" : t, e);
4
- import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-VHq5xoNU.js";
5
- import { d as p, c as u, i as m, o as D, a as f, b as g, e as a, f as S, C as T, u as _, r as y, _ as C, h as v } from "./fraudStatus.type-u9AIbDtQ.js";
6
- const P = { class: "mask" }, I = { class: "wrapper" }, A = { class: "container" }, V = ["action"], E = ["value"], $ = /* @__PURE__ */ p({
7
- __name: "ecentric",
8
- props: {
9
- threeDSServerTransID: {},
10
- acsTransID: {},
11
- formAction: {},
12
- authenticationValue: {}
13
- },
14
- setup(s) {
15
- const t = s, e = u(() => m(t.formAction) ? t.formAction : ""), n = y(null), i = t.authenticationValue;
16
- return D(() => {
17
- var o;
18
- e.value && ((o = n.value) == null || o.submit());
19
- }), (o, r) => (f(), g("div", P, [
20
- a("div", I, [
21
- a("div", A, [
22
- S(T, {
23
- onClick: r[0] || (r[0] = (F) => o.emit("close"))
24
- }),
25
- r[1] || (r[1] = a("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)),
26
- a("form", {
27
- action: e.value,
28
- target: "ThreeDsChallengeIFrame",
29
- method: "post",
30
- ref_key: "form",
31
- ref: n
32
- }, [
33
- a("input", {
34
- type: "hidden",
35
- name: "PaReq",
36
- value: _(i)
37
- }, null, 8, E)
38
- ], 8, V)
39
- ])
40
- ])
41
- ]));
42
- }
43
- }), k = /* @__PURE__ */ C($, [["__scopeId", "data-v-d0f7984c"]]);
44
- class B extends d {
45
- constructor() {
46
- super(...arguments);
47
- l(this, "paResPayload", "");
48
- }
49
- getType() {
50
- return "Ecentric";
51
- }
52
- onPostAuth() {
53
- var e;
54
- this.log(`[${this.getType()}][onPostAuth]`, {
55
- threeDSServerTransID: this.threeDSServerTransID,
56
- authenticationValue: this.paResPayload
57
- }), (e = this.threeDsProcessor) == null || e.onPostAuth({
58
- threeDSServerTransID: this.threeDSServerTransID,
59
- authenticationValue: this.paResPayload
60
- }, this.onSuccess, this.onError);
61
- }
62
- doChallenge(e, n, i) {
63
- this.log(`[${this.getType()}][doChallenge]`);
64
- const { destroy: o } = v({
65
- el: document.body,
66
- component: k,
67
- props: {
68
- threeDSServerTransID: this.threeDSServerTransID,
69
- acsTransID: n,
70
- formAction: e,
71
- authenticationValue: i
72
- },
73
- on: {
74
- close: () => {
75
- var r;
76
- o(), this.threeDSDestroy = () => {
77
- }, (r = this.threeDsProcessor) == null || r.onError({ error: "Challenge cancelled" });
78
- }
79
- }
80
- });
81
- this.threeDSDestroy = o;
82
- }
83
- challengeComplete(e) {
84
- this.log(`[${this.getType()}]: 3Ds Challenge complete`, e.data), this.closeChallenge(), this.log(`[${this.getType()}]: cresData`, e.data.cres), e.data.cres ? (this.paResPayload = e.data.cres, this.onPostAuth()) : (this.log(`[${this.getType()}]: Failed 3DS Challenge`, e.data), this.onError(400, "Failed 3DS Challenge"));
85
- }
86
- }
87
- export {
88
- B as EcentricThreeDsProvider
89
- };
@@ -1,12 +0,0 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-C1KPszqD.js";
2
- class a extends e {
3
- getType() {
4
- return "EPNA";
5
- }
6
- getDomain() {
7
- return "epna.transactiongateway.com";
8
- }
9
- }
10
- export {
11
- a as EpnaThreeDsProvider
12
- };
@@ -1,12 +0,0 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-C1KPszqD.js";
2
- class t extends e {
3
- getType() {
4
- return "FlashBanc";
5
- }
6
- getDomain() {
7
- return "flashbanc.transactiongateway.com";
8
- }
9
- }
10
- export {
11
- t as FlashBancThreeDsProvider
12
- };