@everymatrix/cashier-page-nd 1.69.112 → 1.69.113
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.
- package/components/{CashierCarousel-D77wRYrP.js → CashierCarousel-2AotVxhB.js} +164 -160
- package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
- package/components/{CashierCarousel-8HuPK_WY.js → CashierCarousel-Cm5G9dJd.js} +171 -167
- package/components/{CashierError-Dnk0H5ib.js → CashierError-BkWwLoWt.js} +1 -1
- package/components/{CashierError-DFOslnwl.js → CashierError-CO7-9OnG.js} +1 -1
- package/components/{CashierError-BJv9Ma-S.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
- package/components/{CashierHeader-Dr5EUw02.js → CashierHeader-BOEVulz3.js} +1 -1
- package/components/{CashierHeader-C4luE8Rt.js → CashierHeader-CTZl2NGQ.js} +1 -1
- package/components/{CashierHeader-D_pRK2ix.cjs → CashierHeader-D40gryOj.cjs} +1 -1
- package/components/{CashierIframeRedirect-CiTWXkv1.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
- package/components/{CashierIframeRedirect-DAAmzCia.js → CashierIframeRedirect-CFYNnH6I.js} +3 -3
- package/components/{CashierIframeRedirect-C2UPjyTE.js → CashierIframeRedirect-DCJH25FN.js} +3 -3
- package/components/{CashierMethodDetails-BcL5uTl0.cjs → CashierMethodDetails-B9yThWJd.cjs} +4 -4
- package/components/{CashierMethodDetails-CxzHJpNT.js → CashierMethodDetails-BvIuXYaF.js} +541 -537
- package/components/{CashierMethodDetails-C_ILvlcp.js → CashierMethodDetails-CrNz38mk.js} +380 -376
- package/components/{CashierMethodsList-D1-4p9Fo.js → CashierMethodsList-BE8SmqSJ.js} +2 -2
- package/components/{CashierMethodsList-CdZFk5wU.js → CashierMethodsList-BN2dT78W.js} +2 -2
- package/components/{CashierMethodsList-CEZVckvw.cjs → CashierMethodsList-DkmiAf3O.cjs} +1 -1
- package/components/CashierModal-BE_2P0FX.js +336 -0
- package/components/CashierModal-fcLWE2y3.cjs +1 -0
- package/components/CashierModal-whn0174R.js +336 -0
- package/components/{CashierNotifications-pGgsWSdS.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
- package/components/{CashierNotifications-C4esiIE1.js → CashierNotifications-DvukNd9l.js} +1 -1
- package/components/{CashierNotifications-HbBlW919.js → CashierNotifications-h-sC7KWl.js} +1 -1
- package/components/{CashierPage-DeUqFt2E.js → CashierPage-B0SFLnbl.js} +525 -533
- package/components/{CashierPage-C13YudFK.js → CashierPage-BqLJ1Za1.js} +521 -529
- package/components/CashierPage-DIrw7Ur0.cjs +1 -0
- package/components/{CashierReceiptPage-C1pvLNPQ.js → CashierReceiptPage-B1GE254E.js} +2 -2
- package/components/{CashierReceiptPage-4EMwW_oF.cjs → CashierReceiptPage-BqrdBMp3.cjs} +1 -1
- package/components/{CashierReceiptPage-CzCxraC4.js → CashierReceiptPage-OE7gpibk.js} +2 -2
- package/components/{CashierSessionExpirationModal-DC3xtfId.cjs → CashierSessionExpirationModal-BAZy0IPX.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-DOAn1f7Q.js → CashierSessionExpirationModal-CNBDiaWq.js} +3 -3
- package/components/{CashierSessionExpirationModal-wcX6WNwx.js → CashierSessionExpirationModal-D1lAoUuI.js} +3 -3
- package/components/{CashierSpinner-1V0fFMq0.js → CashierSpinner-Dc_apDAz.js} +1 -1
- package/components/{CashierSpinner-CPWKt5dY.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
- package/components/{CashierSpinner-Cx52pbwV.js → CashierSpinner-viEKbLWC.js} +1 -1
- package/components/CashierStepUp-BLCOLltJ.js +786 -0
- package/components/CashierStepUp-B_HWgCcn.cjs +1 -0
- package/components/CashierStepUp-CeqsqBhX.js +814 -0
- package/components/{CashierTransactionHistory-DnPl2II3.js → CashierTransactionHistory-Bod4CZm1.js} +5 -5
- package/components/{CashierTransactionHistory-CfPdd7w-.cjs → CashierTransactionHistory-CicwRm4P.cjs} +1 -1
- package/components/{CashierTransactionHistory-BU9zzhMH.js → CashierTransactionHistory-Ck-a7FJf.js} +5 -5
- package/components/{CashierVerifications-DBaC7Yq5.js → CashierVerifications-66ej7eXN.js} +2 -2
- package/components/{CashierVerifications-Cl0o1vbf.js → CashierVerifications-Cg5TE5jO.js} +2 -2
- package/components/{CashierVerifications-CR73ohxW.cjs → CashierVerifications-D5bq7j2I.cjs} +1 -1
- package/components/{TxnStatusIcon-CmFT6r06.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
- package/components/{TxnStatusIcon-C9c7Vat6.js → TxnStatusIcon-CvoyaPHp.js} +1 -1
- package/components/{TxnStatusIcon-CuygBt_X.js → TxnStatusIcon-DB7vrGws.js} +1 -1
- package/components/{TxnTypeIcons-BubLyQlU.js → TxnTypeIcons-BVU-p7ld.js} +1 -1
- package/components/{TxnTypeIcons-CwWZ2MoD.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
- package/components/{TxnTypeIcons-Cpt8i9KB.js → TxnTypeIcons-lKOKRAjP.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-BkoYZVP7.cjs +0 -23
- package/components/CashierModal-CJf0aCey.cjs +0 -1
- package/components/CashierModal-Cpef67LD.js +0 -239
- package/components/CashierModal-VPZkXwtJ.js +0 -239
- package/components/CashierPage-8PVbLGah.cjs +0 -1
- package/components/CashierStepUp-BNqTmvl4.js +0 -806
- package/components/CashierStepUp-BjwtpF-p.cjs +0 -1
- package/components/CashierStepUp-DviaUrBF.js +0 -834
|
@@ -0,0 +1,814 @@
|
|
|
1
|
+
var V = (n, e, t) => new Promise((o, i) => {
|
|
2
|
+
var a = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
l(t.next(r));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
i(c);
|
|
7
|
+
}
|
|
8
|
+
}, u = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
l(t.throw(r));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
i(c);
|
|
13
|
+
}
|
|
14
|
+
}, l = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(a, u);
|
|
15
|
+
l((t = t.apply(n, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { a as Le, $ as Te, S as Me, b as Ce, s as Se, f as N, c as xe, G, e as x, k as R, m as L, o as y, p as Re, q as Ae, y as te, v as P, l as w, x as U, P as ne, n as B, w as z, r as Pe, R as oe, Z as ze, W as De, B as Be, C as je, D as He, E as We, F as Fe } from "./CashierCarousel-Cm5G9dJd.js";
|
|
18
|
+
function se(n, e) {
|
|
19
|
+
Le(n, e);
|
|
20
|
+
}
|
|
21
|
+
function Ne(n) {
|
|
22
|
+
Te.set(n);
|
|
23
|
+
}
|
|
24
|
+
const ie = {
|
|
25
|
+
en: {
|
|
26
|
+
otpTitle: "Code verification is required",
|
|
27
|
+
popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
|
|
28
|
+
popupMessageLastWarning: "If the next validation attempt is failed, you will be logged out and blocked temporarily.",
|
|
29
|
+
minutes: "minutes",
|
|
30
|
+
errorHeader: "Error",
|
|
31
|
+
configError: "Unable to load OTP data. Please try again later.",
|
|
32
|
+
otpHeading: "Enter OTP",
|
|
33
|
+
resendOtp: "Resent OTP",
|
|
34
|
+
submit: "Submit",
|
|
35
|
+
close: "Close",
|
|
36
|
+
invalidOtp: "The code you've sent is not valid. Please try again.",
|
|
37
|
+
accountBlocked: "Too many attempts for OTP. Your account has been blocked for one hour.",
|
|
38
|
+
submissionError: "Something went wrong. Please try again.",
|
|
39
|
+
otpExpiredMessage: "Validation code has expired, please request a new one to continue.",
|
|
40
|
+
timeRemaining: "Code expires in:"
|
|
41
|
+
},
|
|
42
|
+
tr: {
|
|
43
|
+
otpTitle: "Kod doğrulaması gereklidir",
|
|
44
|
+
popupMessage: "Güncellemeyi gerçekleştirmek için SMS/e-posta adresinize gönderilen güvenlik kodunu girin.",
|
|
45
|
+
popupMessageLastWarning: "Bir sonraki doğrulama denemesi başarısız olursa, oturumunuz kapatılacak ve geçici olarak engelleneceksiniz.",
|
|
46
|
+
minutes: "dakika",
|
|
47
|
+
errorHeader: "Hata",
|
|
48
|
+
configError: "OTP verileri yüklenemedi. Lütfen daha sonra tekrar deneyin.",
|
|
49
|
+
otpHeading: "OTP Girin",
|
|
50
|
+
resendOtp: "OTP'yi Yeniden Gönder",
|
|
51
|
+
submit: "Gönder",
|
|
52
|
+
close: "Kapat",
|
|
53
|
+
invalidOtp: "Gönderdiğiniz kod geçerli değil. Lütfen tekrar deneyin.",
|
|
54
|
+
accountBlocked: "OTP için çok fazla deneme yapıldı. Hesabınız bir saat süreyle engellenmiştir.",
|
|
55
|
+
submissionError: "Bir şeyler ters gitti. Lütfen tekrar deneyin.",
|
|
56
|
+
otpExpiredMessage: "Doğrulama kodunun süresi doldu, devam etmek için lütfen yeni bir kod isteyin.",
|
|
57
|
+
timeRemaining: "Kodun süresi doluyor:"
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
function Ue(n) {
|
|
61
|
+
xe(n, "svelte-1i390cs", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.OtpButton{text-transform:uppercase;font-weight:var(--emw--font-weight-medium, 500);color:var(--emw--color-typography-button, #000000);text-align:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear}.OtpButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.OtpButton[disabled]{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.OtpButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}.OtpDescription{display:flex;color:var(--emw--color-typography, #fff);flex-direction:column;gap:12px;font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-size-big, 20px);font-weight:var(--emw--font-weight-medium, 600)}.OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px;align-items:center}.OtpError h2{margin:0;color:var(--emw--color-typography, #fff)}.OtpError p{color:var(--emw--color-typography, #fff);text-align:center}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpField{display:flex;justify-content:space-between;margin:10px}.OtpField input{width:45px;font-size:32px;padding:5px;text-align:center;border-radius:5px;margin:6px;font-weight:bold;outline:none;background:var(--emw--color-background);border:0;transition:all 0.1s;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);color:var(--emw--color-typography, #fff)}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{box-shadow:0 0 1px 1px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between;gap:40px}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpNoticeMessage{color:var(--emw--color-primary, #f9c408);font-weight:bold}.LastWarningMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 0}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.OtpTimer{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-small, 12px);opacity:0.8}@container (max-width: 500px){.OtpContent{padding:var(--emw--spacing-small, 10px)}.OtpField input{width:40px;font-size:28px;margin:4px}}");
|
|
62
|
+
}
|
|
63
|
+
function re(n, e, t) {
|
|
64
|
+
const o = n.slice();
|
|
65
|
+
return o[51] = e[t], o[52] = e, o[53] = t, o;
|
|
66
|
+
}
|
|
67
|
+
function Ve(n) {
|
|
68
|
+
let e, t, o = (
|
|
69
|
+
/*$_*/
|
|
70
|
+
n[12]("otpTitle") + ""
|
|
71
|
+
), i, a, u, l, r, c, _, m = (
|
|
72
|
+
/*$_*/
|
|
73
|
+
n[12]("close") + ""
|
|
74
|
+
), v, d, k;
|
|
75
|
+
function b(g, O) {
|
|
76
|
+
return (
|
|
77
|
+
/*showResendOtp*/
|
|
78
|
+
g[8] ? Ke : Ie
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
let T = b(n), p = T(n);
|
|
82
|
+
function M(g, O) {
|
|
83
|
+
if (
|
|
84
|
+
/*isLoading*/
|
|
85
|
+
g[2]
|
|
86
|
+
)
|
|
87
|
+
return Ze;
|
|
88
|
+
if (
|
|
89
|
+
/*config*/
|
|
90
|
+
g[3]
|
|
91
|
+
)
|
|
92
|
+
return Ye;
|
|
93
|
+
}
|
|
94
|
+
let E = M(n), C = E && E(n);
|
|
95
|
+
function W(g, O) {
|
|
96
|
+
if (
|
|
97
|
+
/*showResendOtp*/
|
|
98
|
+
g[8]
|
|
99
|
+
)
|
|
100
|
+
return Qe;
|
|
101
|
+
if (
|
|
102
|
+
/*config*/
|
|
103
|
+
g[3]
|
|
104
|
+
)
|
|
105
|
+
return Je;
|
|
106
|
+
}
|
|
107
|
+
let j = W(n), S = j && j(n);
|
|
108
|
+
return {
|
|
109
|
+
c() {
|
|
110
|
+
e = L("div"), t = L("div"), i = z(o), a = B(), p.c(), u = B(), C && C.c(), l = B(), r = L("div"), S && S.c(), c = B(), _ = L("button"), v = z(m), y(t, "class", "Title"), y(e, "class", "OtpDescription"), y(_, "class", "OtpButton"), y(r, "class", "OtpActionButtons");
|
|
111
|
+
},
|
|
112
|
+
m(g, O) {
|
|
113
|
+
R(g, e, O), w(e, t), w(t, i), w(e, a), p.m(e, null), R(g, u, O), C && C.m(g, O), R(g, l, O), R(g, r, O), S && S.m(r, null), w(r, c), w(r, _), w(_, v), d || (k = U(
|
|
114
|
+
_,
|
|
115
|
+
"click",
|
|
116
|
+
/*manualClosePopup*/
|
|
117
|
+
n[18]
|
|
118
|
+
), d = !0);
|
|
119
|
+
},
|
|
120
|
+
p(g, O) {
|
|
121
|
+
O[0] & /*$_*/
|
|
122
|
+
4096 && o !== (o = /*$_*/
|
|
123
|
+
g[12]("otpTitle") + "") && P(i, o), T === (T = b(g)) && p ? p.p(g, O) : (p.d(1), p = T(g), p && (p.c(), p.m(e, null))), E === (E = M(g)) && C ? C.p(g, O) : (C && C.d(1), C = E && E(g), C && (C.c(), C.m(l.parentNode, l))), j === (j = W(g)) && S ? S.p(g, O) : (S && S.d(1), S = j && j(g), S && (S.c(), S.m(r, c))), O[0] & /*$_*/
|
|
124
|
+
4096 && m !== (m = /*$_*/
|
|
125
|
+
g[12]("close") + "") && P(v, m);
|
|
126
|
+
},
|
|
127
|
+
d(g) {
|
|
128
|
+
g && (x(e), x(u), x(l), x(r)), p.d(), C && C.d(g), S && S.d(), d = !1, k();
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function qe(n) {
|
|
133
|
+
let e, t, o, i, a, u, l = (
|
|
134
|
+
/*$_*/
|
|
135
|
+
n[12]("errorHeader") + ""
|
|
136
|
+
), r, c, _, m, v, d, k = (
|
|
137
|
+
/*$_*/
|
|
138
|
+
n[12]("close") + ""
|
|
139
|
+
), b, T, p;
|
|
140
|
+
return {
|
|
141
|
+
c() {
|
|
142
|
+
e = L("div"), t = L("div"), o = ne("svg"), i = ne("path"), a = B(), u = L("h2"), r = z(l), c = B(), _ = L("p"), m = z(
|
|
143
|
+
/*errorMessage*/
|
|
144
|
+
n[7]
|
|
145
|
+
), v = B(), d = L("button"), b = z(k), y(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), y(o, "xmlns", "http://www.w3.org/2000/svg"), y(o, "viewBox", "0 0 512 512"), y(t, "class", "OtpErrorHeader"), y(d, "class", "OtpButton error"), y(e, "class", "OtpError");
|
|
146
|
+
},
|
|
147
|
+
m(M, E) {
|
|
148
|
+
R(M, e, E), w(e, t), w(t, o), w(o, i), w(t, a), w(t, u), w(u, r), w(e, c), w(e, _), w(_, m), w(e, v), w(e, d), w(d, b), T || (p = U(
|
|
149
|
+
d,
|
|
150
|
+
"click",
|
|
151
|
+
/*manualClosePopup*/
|
|
152
|
+
n[18]
|
|
153
|
+
), T = !0);
|
|
154
|
+
},
|
|
155
|
+
p(M, E) {
|
|
156
|
+
E[0] & /*$_*/
|
|
157
|
+
4096 && l !== (l = /*$_*/
|
|
158
|
+
M[12]("errorHeader") + "") && P(r, l), E[0] & /*errorMessage*/
|
|
159
|
+
128 && P(
|
|
160
|
+
m,
|
|
161
|
+
/*errorMessage*/
|
|
162
|
+
M[7]
|
|
163
|
+
), E[0] & /*$_*/
|
|
164
|
+
4096 && k !== (k = /*$_*/
|
|
165
|
+
M[12]("close") + "") && P(b, k);
|
|
166
|
+
},
|
|
167
|
+
d(M) {
|
|
168
|
+
M && x(e), T = !1, p();
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
function Ie(n) {
|
|
173
|
+
let e, t, o, i;
|
|
174
|
+
function a(c, _) {
|
|
175
|
+
return (
|
|
176
|
+
/*isLastWarning*/
|
|
177
|
+
c[9] ? Xe : Ge
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
let u = a(n), l = u(n), r = (
|
|
181
|
+
/*hasErrors*/
|
|
182
|
+
n[5] && le(n)
|
|
183
|
+
);
|
|
184
|
+
return {
|
|
185
|
+
c() {
|
|
186
|
+
e = L("p"), l.c(), o = B(), r && r.c(), i = Pe(), y(e, "class", t = /*isLastWarning*/
|
|
187
|
+
n[9] ? "LastWarningMessage" : "");
|
|
188
|
+
},
|
|
189
|
+
m(c, _) {
|
|
190
|
+
R(c, e, _), l.m(e, null), R(c, o, _), r && r.m(c, _), R(c, i, _);
|
|
191
|
+
},
|
|
192
|
+
p(c, _) {
|
|
193
|
+
u === (u = a(c)) && l ? l.p(c, _) : (l.d(1), l = u(c), l && (l.c(), l.m(e, null))), _[0] & /*isLastWarning*/
|
|
194
|
+
512 && t !== (t = /*isLastWarning*/
|
|
195
|
+
c[9] ? "LastWarningMessage" : "") && y(e, "class", t), /*hasErrors*/
|
|
196
|
+
c[5] ? r ? r.p(c, _) : (r = le(c), r.c(), r.m(i.parentNode, i)) : r && (r.d(1), r = null);
|
|
197
|
+
},
|
|
198
|
+
d(c) {
|
|
199
|
+
c && (x(e), x(o), x(i)), l.d(), r && r.d(c);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
function Ke(n) {
|
|
204
|
+
let e, t = (
|
|
205
|
+
/*$_*/
|
|
206
|
+
n[12]("otpExpiredMessage") + ""
|
|
207
|
+
), o;
|
|
208
|
+
return {
|
|
209
|
+
c() {
|
|
210
|
+
e = L("p"), o = z(t), y(e, "class", "OtpNoticeMessage"), y(e, "role", "alert");
|
|
211
|
+
},
|
|
212
|
+
m(i, a) {
|
|
213
|
+
R(i, e, a), w(e, o);
|
|
214
|
+
},
|
|
215
|
+
p(i, a) {
|
|
216
|
+
a[0] & /*$_*/
|
|
217
|
+
4096 && t !== (t = /*$_*/
|
|
218
|
+
i[12]("otpExpiredMessage") + "") && P(o, t);
|
|
219
|
+
},
|
|
220
|
+
d(i) {
|
|
221
|
+
i && x(e);
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
function Ge(n) {
|
|
226
|
+
let e = (
|
|
227
|
+
/*$_*/
|
|
228
|
+
n[12]("popupMessage") + ""
|
|
229
|
+
), t;
|
|
230
|
+
return {
|
|
231
|
+
c() {
|
|
232
|
+
t = z(e);
|
|
233
|
+
},
|
|
234
|
+
m(o, i) {
|
|
235
|
+
R(o, t, i);
|
|
236
|
+
},
|
|
237
|
+
p(o, i) {
|
|
238
|
+
i[0] & /*$_*/
|
|
239
|
+
4096 && e !== (e = /*$_*/
|
|
240
|
+
o[12]("popupMessage") + "") && P(t, e);
|
|
241
|
+
},
|
|
242
|
+
d(o) {
|
|
243
|
+
o && x(t);
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
function Xe(n) {
|
|
248
|
+
let e = (
|
|
249
|
+
/*$_*/
|
|
250
|
+
n[12]("popupMessageLastWarning") + ""
|
|
251
|
+
), t;
|
|
252
|
+
return {
|
|
253
|
+
c() {
|
|
254
|
+
t = z(e);
|
|
255
|
+
},
|
|
256
|
+
m(o, i) {
|
|
257
|
+
R(o, t, i);
|
|
258
|
+
},
|
|
259
|
+
p(o, i) {
|
|
260
|
+
i[0] & /*$_*/
|
|
261
|
+
4096 && e !== (e = /*$_*/
|
|
262
|
+
o[12]("popupMessageLastWarning") + "") && P(t, e);
|
|
263
|
+
},
|
|
264
|
+
d(o) {
|
|
265
|
+
o && x(t);
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function le(n) {
|
|
270
|
+
let e, t;
|
|
271
|
+
return {
|
|
272
|
+
c() {
|
|
273
|
+
e = L("p"), t = z(
|
|
274
|
+
/*errorMessage*/
|
|
275
|
+
n[7]
|
|
276
|
+
), y(e, "class", "OtpErrorMessage"), y(e, "role", "alert");
|
|
277
|
+
},
|
|
278
|
+
m(o, i) {
|
|
279
|
+
R(o, e, i), w(e, t);
|
|
280
|
+
},
|
|
281
|
+
p(o, i) {
|
|
282
|
+
i[0] & /*errorMessage*/
|
|
283
|
+
128 && P(
|
|
284
|
+
t,
|
|
285
|
+
/*errorMessage*/
|
|
286
|
+
o[7]
|
|
287
|
+
);
|
|
288
|
+
},
|
|
289
|
+
d(o) {
|
|
290
|
+
o && x(e);
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function Ye(n) {
|
|
295
|
+
let e, t, o = (
|
|
296
|
+
/*$_*/
|
|
297
|
+
n[12]("timeRemaining") + ""
|
|
298
|
+
), i, a, u = (
|
|
299
|
+
/*formatTime*/
|
|
300
|
+
n[13](
|
|
301
|
+
/*timeLeft*/
|
|
302
|
+
n[4]
|
|
303
|
+
) + ""
|
|
304
|
+
), l, r, c = (
|
|
305
|
+
/*$_*/
|
|
306
|
+
n[12]("minutes") + ""
|
|
307
|
+
), _, m, v, d = oe(
|
|
308
|
+
/*otp*/
|
|
309
|
+
n[1]
|
|
310
|
+
), k = [];
|
|
311
|
+
for (let b = 0; b < d.length; b += 1)
|
|
312
|
+
k[b] = ae(re(n, d, b));
|
|
313
|
+
return {
|
|
314
|
+
c() {
|
|
315
|
+
e = L("div"), t = L("div"), i = z(o), a = B(), l = z(u), r = B(), _ = z(c), m = B(), v = L("div");
|
|
316
|
+
for (let b = 0; b < k.length; b += 1)
|
|
317
|
+
k[b].c();
|
|
318
|
+
y(t, "class", "OtpTimer"), y(v, "class", "OtpField"), y(e, "class", "OtpFieldWrapper");
|
|
319
|
+
},
|
|
320
|
+
m(b, T) {
|
|
321
|
+
R(b, e, T), w(e, t), w(t, i), w(t, a), w(t, l), w(t, r), w(t, _), w(e, m), w(e, v);
|
|
322
|
+
for (let p = 0; p < k.length; p += 1)
|
|
323
|
+
k[p] && k[p].m(v, null);
|
|
324
|
+
},
|
|
325
|
+
p(b, T) {
|
|
326
|
+
if (T[0] & /*$_*/
|
|
327
|
+
4096 && o !== (o = /*$_*/
|
|
328
|
+
b[12]("timeRemaining") + "") && P(i, o), T[0] & /*timeLeft*/
|
|
329
|
+
16 && u !== (u = /*formatTime*/
|
|
330
|
+
b[13](
|
|
331
|
+
/*timeLeft*/
|
|
332
|
+
b[4]
|
|
333
|
+
) + "") && P(l, u), T[0] & /*$_*/
|
|
334
|
+
4096 && c !== (c = /*$_*/
|
|
335
|
+
b[12]("minutes") + "") && P(_, c), T[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
|
|
336
|
+
117770) {
|
|
337
|
+
d = oe(
|
|
338
|
+
/*otp*/
|
|
339
|
+
b[1]
|
|
340
|
+
);
|
|
341
|
+
let p;
|
|
342
|
+
for (p = 0; p < d.length; p += 1) {
|
|
343
|
+
const M = re(b, d, p);
|
|
344
|
+
k[p] ? k[p].p(M, T) : (k[p] = ae(M), k[p].c(), k[p].m(v, null));
|
|
345
|
+
}
|
|
346
|
+
for (; p < k.length; p += 1)
|
|
347
|
+
k[p].d(1);
|
|
348
|
+
k.length = d.length;
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
d(b) {
|
|
352
|
+
b && x(e), ze(k, b);
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
function Ze(n) {
|
|
357
|
+
let e;
|
|
358
|
+
return {
|
|
359
|
+
c() {
|
|
360
|
+
e = L("div"), e.innerHTML = '<span class="OtpLoader"></span>', y(e, "class", "OtpLoaderContainer");
|
|
361
|
+
},
|
|
362
|
+
m(t, o) {
|
|
363
|
+
R(t, e, o);
|
|
364
|
+
},
|
|
365
|
+
p: G,
|
|
366
|
+
d(t) {
|
|
367
|
+
t && x(e);
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
function ae(n) {
|
|
372
|
+
let e, t, o, i = (
|
|
373
|
+
/*index*/
|
|
374
|
+
n[53]
|
|
375
|
+
), a, u;
|
|
376
|
+
const l = () => (
|
|
377
|
+
/*input_binding*/
|
|
378
|
+
n[27](e, i)
|
|
379
|
+
), r = () => (
|
|
380
|
+
/*input_binding*/
|
|
381
|
+
n[27](null, i)
|
|
382
|
+
);
|
|
383
|
+
function c(...m) {
|
|
384
|
+
return (
|
|
385
|
+
/*input_handler*/
|
|
386
|
+
n[28](
|
|
387
|
+
/*index*/
|
|
388
|
+
n[53],
|
|
389
|
+
...m
|
|
390
|
+
)
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
function _(...m) {
|
|
394
|
+
return (
|
|
395
|
+
/*keydown_handler*/
|
|
396
|
+
n[29](
|
|
397
|
+
/*index*/
|
|
398
|
+
n[53],
|
|
399
|
+
...m
|
|
400
|
+
)
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
return {
|
|
404
|
+
c() {
|
|
405
|
+
e = L("input"), y(e, "id", `otp-input-${/*index*/
|
|
406
|
+
n[53]}`), y(e, "type", "text"), y(e, "class", t = `otp-box ${/*config*/
|
|
407
|
+
n[3].inputLength % 2 === 0 && /*index*/
|
|
408
|
+
n[53] === /*config*/
|
|
409
|
+
n[3].inputLength / 2 - 1 ? "space" : ""}`), y(e, "maxlength", 1), e.value = o = /*char*/
|
|
410
|
+
n[51], e.disabled = /*inputDisabled*/
|
|
411
|
+
n[10], y(e, "autocomplete", "off");
|
|
412
|
+
},
|
|
413
|
+
m(m, v) {
|
|
414
|
+
R(m, e, v), l(), a || (u = [
|
|
415
|
+
U(e, "input", c),
|
|
416
|
+
U(e, "keydown", _),
|
|
417
|
+
U(
|
|
418
|
+
e,
|
|
419
|
+
"paste",
|
|
420
|
+
/*handleOnPasteOtp*/
|
|
421
|
+
n[14]
|
|
422
|
+
)
|
|
423
|
+
], a = !0);
|
|
424
|
+
},
|
|
425
|
+
p(m, v) {
|
|
426
|
+
n = m, v[0] & /*config*/
|
|
427
|
+
8 && t !== (t = `otp-box ${/*config*/
|
|
428
|
+
n[3].inputLength % 2 === 0 && /*index*/
|
|
429
|
+
n[53] === /*config*/
|
|
430
|
+
n[3].inputLength / 2 - 1 ? "space" : ""}`) && y(e, "class", t), v[0] & /*otp*/
|
|
431
|
+
2 && o !== (o = /*char*/
|
|
432
|
+
n[51]) && e.value !== o && (e.value = o), v[0] & /*inputDisabled*/
|
|
433
|
+
1024 && (e.disabled = /*inputDisabled*/
|
|
434
|
+
n[10]), i !== /*index*/
|
|
435
|
+
n[53] && (r(), i = /*index*/
|
|
436
|
+
n[53], l());
|
|
437
|
+
},
|
|
438
|
+
d(m) {
|
|
439
|
+
m && x(e), r(), a = !1, De(u);
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
function Je(n) {
|
|
444
|
+
let e, t = (
|
|
445
|
+
/*$_*/
|
|
446
|
+
n[12]("submit") + ""
|
|
447
|
+
), o, i, a, u;
|
|
448
|
+
return {
|
|
449
|
+
c() {
|
|
450
|
+
e = L("button"), o = z(t), y(e, "class", "OtpButton"), e.disabled = i = /*otp*/
|
|
451
|
+
n[1].join("").length !== /*config*/
|
|
452
|
+
n[3].inputLength;
|
|
453
|
+
},
|
|
454
|
+
m(l, r) {
|
|
455
|
+
R(l, e, r), w(e, o), a || (u = U(
|
|
456
|
+
e,
|
|
457
|
+
"click",
|
|
458
|
+
/*submitOtp*/
|
|
459
|
+
n[19]
|
|
460
|
+
), a = !0);
|
|
461
|
+
},
|
|
462
|
+
p(l, r) {
|
|
463
|
+
r[0] & /*$_*/
|
|
464
|
+
4096 && t !== (t = /*$_*/
|
|
465
|
+
l[12]("submit") + "") && P(o, t), r[0] & /*otp, config*/
|
|
466
|
+
10 && i !== (i = /*otp*/
|
|
467
|
+
l[1].join("").length !== /*config*/
|
|
468
|
+
l[3].inputLength) && (e.disabled = i);
|
|
469
|
+
},
|
|
470
|
+
d(l) {
|
|
471
|
+
l && x(e), a = !1, u();
|
|
472
|
+
}
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
function Qe(n) {
|
|
476
|
+
let e, t = (
|
|
477
|
+
/*$_*/
|
|
478
|
+
n[12]("resendOtp") + ""
|
|
479
|
+
), o, i, a;
|
|
480
|
+
return {
|
|
481
|
+
c() {
|
|
482
|
+
e = L("button"), o = z(t), y(e, "class", "OtpButton");
|
|
483
|
+
},
|
|
484
|
+
m(u, l) {
|
|
485
|
+
R(u, e, l), w(e, o), i || (a = U(
|
|
486
|
+
e,
|
|
487
|
+
"click",
|
|
488
|
+
/*handleResendOtp*/
|
|
489
|
+
n[17]
|
|
490
|
+
), i = !0);
|
|
491
|
+
},
|
|
492
|
+
p(u, l) {
|
|
493
|
+
l[0] & /*$_*/
|
|
494
|
+
4096 && t !== (t = /*$_*/
|
|
495
|
+
u[12]("resendOtp") + "") && P(o, t);
|
|
496
|
+
},
|
|
497
|
+
d(u) {
|
|
498
|
+
u && x(e), i = !1, a();
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
function $e(n) {
|
|
503
|
+
let e;
|
|
504
|
+
function t(a, u) {
|
|
505
|
+
return (
|
|
506
|
+
/*hasConfigErrors*/
|
|
507
|
+
a[6] ? qe : Ve
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
let o = t(n), i = o(n);
|
|
511
|
+
return {
|
|
512
|
+
c() {
|
|
513
|
+
e = L("div"), i.c(), y(e, "class", "OtpContent");
|
|
514
|
+
},
|
|
515
|
+
m(a, u) {
|
|
516
|
+
R(a, e, u), i.m(e, null), n[30](e);
|
|
517
|
+
},
|
|
518
|
+
p(a, u) {
|
|
519
|
+
o === (o = t(a)) && i ? i.p(a, u) : (i.d(1), i = o(a), i && (i.c(), i.m(e, null)));
|
|
520
|
+
},
|
|
521
|
+
i: G,
|
|
522
|
+
o: G,
|
|
523
|
+
d(a) {
|
|
524
|
+
a && x(e), i.d(), n[30](null);
|
|
525
|
+
}
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
function et(n, e, t) {
|
|
529
|
+
let o;
|
|
530
|
+
Re(n, Fe, (s) => t(12, o = s));
|
|
531
|
+
let { clientstyling: i = "" } = e, { clientstylingurl: a = "" } = e, { mbsource: u } = e, { lang: l = "en" } = e, { endpoint: r } = e, { session: c } = e, { translationurl: _ } = e, m = [], v = !0, d = null, k = 0, b = "", T = "", p = !1, M = !1, E = "", C = "", W = "", j = !1, S = !1, g = !1, O, F = [], H = null, I = 0;
|
|
532
|
+
const X = {
|
|
533
|
+
MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
|
|
534
|
+
INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error"
|
|
535
|
+
};
|
|
536
|
+
Object.keys(ie).forEach((s) => {
|
|
537
|
+
se(s, ie[s]);
|
|
538
|
+
});
|
|
539
|
+
const ue = () => {
|
|
540
|
+
Ne(l);
|
|
541
|
+
}, pe = () => {
|
|
542
|
+
fetch(_).then((s) => s.json()).then((s) => {
|
|
543
|
+
Object.keys(s).forEach((f) => {
|
|
544
|
+
se(f, s[f]);
|
|
545
|
+
});
|
|
546
|
+
}).catch((s) => {
|
|
547
|
+
console.log(s);
|
|
548
|
+
});
|
|
549
|
+
}, Y = (s) => V(this, null, function* () {
|
|
550
|
+
var f;
|
|
551
|
+
if ((f = s.detail) != null && f["x-step-up-required"]) {
|
|
552
|
+
if (t(6, M = !1), t(5, p = !1), t(7, E = ""), C = s.detail["x-step-up-token"], W = s.detail.flow, !C || !W) {
|
|
553
|
+
t(2, v = !1), t(6, M = !0), t(7, E = o("configError"));
|
|
554
|
+
return;
|
|
555
|
+
}
|
|
556
|
+
yield ee();
|
|
557
|
+
}
|
|
558
|
+
}), ce = () => {
|
|
559
|
+
H && (clearInterval(H), H = null), t(5, p = !1), t(6, M = !1), t(7, E = ""), t(9, S = !1), t(1, m = []), t(3, d = null), t(2, v = !0);
|
|
560
|
+
}, Z = () => {
|
|
561
|
+
ce();
|
|
562
|
+
}, fe = () => {
|
|
563
|
+
const s = new Date(b), f = new Date(T), h = /* @__PURE__ */ new Date(), D = f.getTime() - h.getTime();
|
|
564
|
+
I = s.getTime() - D;
|
|
565
|
+
const A = Date.now(), q = Math.max(0, Math.floor((I - A) / 1e3));
|
|
566
|
+
t(4, k = q);
|
|
567
|
+
}, de = () => {
|
|
568
|
+
H && clearInterval(H), H = setInterval(
|
|
569
|
+
() => {
|
|
570
|
+
const s = Date.now(), f = Math.max(0, Math.floor((I - s) / 1e3));
|
|
571
|
+
t(4, k = f), t(10, g = f <= 0), f <= 0 && (clearInterval(H), H = null, t(8, j = !0), t(5, p = !1), t(9, S = !1));
|
|
572
|
+
},
|
|
573
|
+
1e3
|
|
574
|
+
);
|
|
575
|
+
}, me = (s) => {
|
|
576
|
+
const f = Math.floor(s / 60), h = s % 60;
|
|
577
|
+
return `${f.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}`;
|
|
578
|
+
}, K = (s, f) => {
|
|
579
|
+
const h = [...m];
|
|
580
|
+
h[s] = f.toUpperCase(), t(1, m = h);
|
|
581
|
+
}, ge = (s) => {
|
|
582
|
+
var D, A, q;
|
|
583
|
+
s.preventDefault();
|
|
584
|
+
const h = (((A = (D = s.clipboardData) == null ? void 0 : D.getData("text")) == null ? void 0 : A.trim()) || "").slice(0, d.inputLength).split("");
|
|
585
|
+
t(1, m = [...h, ...Array(d.inputLength - h.length).fill("")]), (q = F[h.length]) == null || q.focus(), h.length === d.inputLength && $();
|
|
586
|
+
}, J = (s, f) => {
|
|
587
|
+
const h = s.target, D = h.value;
|
|
588
|
+
if (/^[a-z0-9]$/i.test(D)) {
|
|
589
|
+
K(f, D);
|
|
590
|
+
const A = F[f + 1];
|
|
591
|
+
A == null || A.focus();
|
|
592
|
+
}
|
|
593
|
+
h.value = "";
|
|
594
|
+
}, Q = (s, f) => {
|
|
595
|
+
const h = s.key, D = s.ctrlKey || s.metaKey;
|
|
596
|
+
if (/^[a-z0-9]$/i.test(h)) {
|
|
597
|
+
if (D && h.toLowerCase() === "v")
|
|
598
|
+
return;
|
|
599
|
+
s.preventDefault(), K(f, h);
|
|
600
|
+
const A = F[f + 1];
|
|
601
|
+
A == null || A.focus();
|
|
602
|
+
} else if (h === "Backspace") {
|
|
603
|
+
s.preventDefault(), m[f] !== "" && K(f, "");
|
|
604
|
+
const A = F[f - 1];
|
|
605
|
+
A == null || A.focus();
|
|
606
|
+
}
|
|
607
|
+
}, he = () => {
|
|
608
|
+
const s = new CustomEvent("otpResendRequested");
|
|
609
|
+
window.dispatchEvent(s);
|
|
610
|
+
}, _e = (s) => {
|
|
611
|
+
window.dispatchEvent(new CustomEvent(
|
|
612
|
+
"otpSubmitted",
|
|
613
|
+
{
|
|
614
|
+
detail: {
|
|
615
|
+
code: s,
|
|
616
|
+
maxAttempts: d.maxValidationAttempts,
|
|
617
|
+
validatedAttempts: d.numberOfValidateAttempts
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
));
|
|
621
|
+
}, be = (s) => V(this, null, function* () {
|
|
622
|
+
const f = new URL(`/api/nwa/api/v1/mfa/challenge/${C}/validate`, r);
|
|
623
|
+
f.searchParams.append("input", s);
|
|
624
|
+
try {
|
|
625
|
+
const h = yield fetch(f.href, { method: "POST" });
|
|
626
|
+
if (h.status === 200) {
|
|
627
|
+
we();
|
|
628
|
+
return;
|
|
629
|
+
}
|
|
630
|
+
const D = yield h.json();
|
|
631
|
+
throw new Error(D.message);
|
|
632
|
+
} catch (h) {
|
|
633
|
+
if (h.message === X.INTERNAL_SERVER_ERROR) {
|
|
634
|
+
if (d.numberOfValidateAttempts === d.maxValidationAttempts - 1) {
|
|
635
|
+
window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
|
|
636
|
+
{
|
|
637
|
+
type: "WidgetNotification",
|
|
638
|
+
data: {
|
|
639
|
+
type: "error",
|
|
640
|
+
message: o("accountBlocked")
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
window.location.href
|
|
644
|
+
), window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
645
|
+
return;
|
|
646
|
+
}
|
|
647
|
+
t(5, p = !0), t(7, E = o("invalidOtp")), ee();
|
|
648
|
+
return;
|
|
649
|
+
}
|
|
650
|
+
console.error("OTP submission failed:", h), t(5, p = !0), t(7, E = o("submissionError"));
|
|
651
|
+
} finally {
|
|
652
|
+
t(2, v = !1);
|
|
653
|
+
}
|
|
654
|
+
}), we = () => {
|
|
655
|
+
window.dispatchEvent(new CustomEvent(
|
|
656
|
+
"otpSuccess",
|
|
657
|
+
{
|
|
658
|
+
detail: {
|
|
659
|
+
message: "User successfully authenticated"
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
));
|
|
663
|
+
}, ye = () => {
|
|
664
|
+
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
665
|
+
}, $ = () => V(this, null, function* () {
|
|
666
|
+
if (m.join("").length !== d.inputLength) {
|
|
667
|
+
t(5, p = !0), t(7, E = o("invalidOtp"));
|
|
668
|
+
return;
|
|
669
|
+
}
|
|
670
|
+
t(2, v = !0), t(5, p = !1), t(7, E = "");
|
|
671
|
+
const s = m.join("");
|
|
672
|
+
W === "stateless" && _e(s), W === "stateful" && (yield be(s));
|
|
673
|
+
}), ee = () => V(this, null, function* () {
|
|
674
|
+
if (r)
|
|
675
|
+
try {
|
|
676
|
+
t(2, v = !0);
|
|
677
|
+
const s = new URL(`/api/nwa/api/v1/mfa/challenge/${C}/config`, r), f = yield fetch(s.href), h = yield f.json();
|
|
678
|
+
if (f.ok)
|
|
679
|
+
t(3, d = h), t(1, m = Array(d.inputLength).fill("")), t(8, j = !1), b = d.expirationTime, T = d.serverTime, d.numberOfValidateAttempts !== 0 && (t(5, p = !0), t(7, E = o("invalidOtp"))), d.numberOfValidateAttempts === d.maxValidationAttempts - 1 && t(9, S = !0), t(2, v = !1), fe(), de();
|
|
680
|
+
else if (h && h.details === X.MAX_ATTEMPTS_EXCEEDED)
|
|
681
|
+
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
682
|
+
else {
|
|
683
|
+
const D = h && h.message || `Failed to load config. Status: ${f.status}`;
|
|
684
|
+
throw new Error(D);
|
|
685
|
+
}
|
|
686
|
+
} catch (s) {
|
|
687
|
+
t(2, v = !1), t(6, M = !0), t(7, E = o("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", s);
|
|
688
|
+
}
|
|
689
|
+
});
|
|
690
|
+
Ae(() => (window.addEventListener("stepUpAuthRequired", Y, !1), window.addEventListener("closePopup", Z, !1), () => {
|
|
691
|
+
window.removeEventListener("stepUpAuthRequired", Y), window.removeEventListener("closePopup", Z, !1), H && clearInterval(H);
|
|
692
|
+
}));
|
|
693
|
+
function ve(s, f) {
|
|
694
|
+
te[s ? "unshift" : "push"](() => {
|
|
695
|
+
F[f] = s, t(11, F);
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
const ke = (s, f) => J(f, s), Oe = (s, f) => Q(f, s);
|
|
699
|
+
function Ee(s) {
|
|
700
|
+
te[s ? "unshift" : "push"](() => {
|
|
701
|
+
O = s, t(0, O);
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
return n.$$set = (s) => {
|
|
705
|
+
"clientstyling" in s && t(20, i = s.clientstyling), "clientstylingurl" in s && t(21, a = s.clientstylingurl), "mbsource" in s && t(22, u = s.mbsource), "lang" in s && t(23, l = s.lang), "endpoint" in s && t(24, r = s.endpoint), "session" in s && t(25, c = s.session), "translationurl" in s && t(26, _ = s.translationurl);
|
|
706
|
+
}, n.$$.update = () => {
|
|
707
|
+
n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
708
|
+
1048577 && i && O && Be(O, i), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
709
|
+
2097153 && a && O && je(O, a), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
710
|
+
4194305 && u && O && He(O, `${u}.Style`), n.$$.dirty[0] & /*lang*/
|
|
711
|
+
8388608 && l && ue(), n.$$.dirty[0] & /*lang, translationurl*/
|
|
712
|
+
75497472 && l && _ && pe();
|
|
713
|
+
}, [
|
|
714
|
+
O,
|
|
715
|
+
m,
|
|
716
|
+
v,
|
|
717
|
+
d,
|
|
718
|
+
k,
|
|
719
|
+
p,
|
|
720
|
+
M,
|
|
721
|
+
E,
|
|
722
|
+
j,
|
|
723
|
+
S,
|
|
724
|
+
g,
|
|
725
|
+
F,
|
|
726
|
+
o,
|
|
727
|
+
me,
|
|
728
|
+
ge,
|
|
729
|
+
J,
|
|
730
|
+
Q,
|
|
731
|
+
he,
|
|
732
|
+
ye,
|
|
733
|
+
$,
|
|
734
|
+
i,
|
|
735
|
+
a,
|
|
736
|
+
u,
|
|
737
|
+
l,
|
|
738
|
+
r,
|
|
739
|
+
c,
|
|
740
|
+
_,
|
|
741
|
+
ve,
|
|
742
|
+
ke,
|
|
743
|
+
Oe,
|
|
744
|
+
Ee
|
|
745
|
+
];
|
|
746
|
+
}
|
|
747
|
+
class tt extends Me {
|
|
748
|
+
constructor(e) {
|
|
749
|
+
super(), Ce(
|
|
750
|
+
this,
|
|
751
|
+
e,
|
|
752
|
+
et,
|
|
753
|
+
$e,
|
|
754
|
+
Se,
|
|
755
|
+
{
|
|
756
|
+
clientstyling: 20,
|
|
757
|
+
clientstylingurl: 21,
|
|
758
|
+
mbsource: 22,
|
|
759
|
+
lang: 23,
|
|
760
|
+
endpoint: 24,
|
|
761
|
+
session: 25,
|
|
762
|
+
translationurl: 26
|
|
763
|
+
},
|
|
764
|
+
Ue,
|
|
765
|
+
[-1, -1]
|
|
766
|
+
);
|
|
767
|
+
}
|
|
768
|
+
get clientstyling() {
|
|
769
|
+
return this.$$.ctx[20];
|
|
770
|
+
}
|
|
771
|
+
set clientstyling(e) {
|
|
772
|
+
this.$$set({ clientstyling: e }), N();
|
|
773
|
+
}
|
|
774
|
+
get clientstylingurl() {
|
|
775
|
+
return this.$$.ctx[21];
|
|
776
|
+
}
|
|
777
|
+
set clientstylingurl(e) {
|
|
778
|
+
this.$$set({ clientstylingurl: e }), N();
|
|
779
|
+
}
|
|
780
|
+
get mbsource() {
|
|
781
|
+
return this.$$.ctx[22];
|
|
782
|
+
}
|
|
783
|
+
set mbsource(e) {
|
|
784
|
+
this.$$set({ mbsource: e }), N();
|
|
785
|
+
}
|
|
786
|
+
get lang() {
|
|
787
|
+
return this.$$.ctx[23];
|
|
788
|
+
}
|
|
789
|
+
set lang(e) {
|
|
790
|
+
this.$$set({ lang: e }), N();
|
|
791
|
+
}
|
|
792
|
+
get endpoint() {
|
|
793
|
+
return this.$$.ctx[24];
|
|
794
|
+
}
|
|
795
|
+
set endpoint(e) {
|
|
796
|
+
this.$$set({ endpoint: e }), N();
|
|
797
|
+
}
|
|
798
|
+
get session() {
|
|
799
|
+
return this.$$.ctx[25];
|
|
800
|
+
}
|
|
801
|
+
set session(e) {
|
|
802
|
+
this.$$set({ session: e }), N();
|
|
803
|
+
}
|
|
804
|
+
get translationurl() {
|
|
805
|
+
return this.$$.ctx[26];
|
|
806
|
+
}
|
|
807
|
+
set translationurl(e) {
|
|
808
|
+
this.$$set({ translationurl: e }), N();
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
We(tt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {} }, [], [], !0);
|
|
812
|
+
export {
|
|
813
|
+
tt as default
|
|
814
|
+
};
|