@everymatrix/player-account-controller 1.54.6 → 1.54.8
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/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
- package/components/GeneralLogout-CoXr5Hra.js +4819 -0
- package/components/GeneralLogout-JiIri-az.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
- package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
- package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
- package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
- package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
- package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
- package/components/{PlayerAccountController-BEYNBwE6.js → PlayerAccountController-BclvS237.js} +126 -126
- package/components/PlayerAccountController-DEXL47fX.js +6671 -0
- package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
- package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
- package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
- package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
- package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
- package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
- package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
- package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
- package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
- package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
- package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
- package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
- package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
- package/components/PlayerAccountModal-D29fr970.js +213 -0
- package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
- package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
- package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
- package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
- package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
- package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
- package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
- package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
- package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
- package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
- package/components/{PlayerBonusHistory-bS_5m4-D.js → PlayerBonusHistory-Boz8c3tb.js} +30 -30
- package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
- package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
- package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
- package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
- package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
- package/components/PlayerDeposit-kjy658sM.js +395 -0
- package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
- package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
- package/components/{PlayerGamingHistory-ByyLQwtw.js → PlayerGamingHistory-DIgLxCfL.js} +31 -31
- package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
- package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
- package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
- package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
- package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
- package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
- package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
- package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
- package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
- package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
- package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
- package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
- package/stencil/{general-input-CQlnWzpy.js → general-input-BEcUF0Mm.js} +1 -1
- package/stencil/general-input-DI0pw0ot.cjs +1 -0
- package/stencil/general-input-DKyA-W8i.js +48 -0
- package/stencil/index-581287aa-CC7128Vz.js +654 -0
- package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
- package/stencil/index-581287aa-D8NTWa_9.js +638 -0
- package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
- package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
- package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
- package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
- package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
- package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
- package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
- package/stencil/index-c0196f50-BjscP7kj.js +697 -0
- package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-D97O8QAr.cjs +105 -0
- package/stencil/password-input_2-eDchPH-o.js +569 -0
- package/stencil/password-input_2-vTvSUJey.js +569 -0
- package/stencil/{player-change-password-gm2-BaQUJaH1.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
- package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
- package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-pj_6Z40p.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
- package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
- package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
- package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
- package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
- package/stencil/{toggle-checkbox-input-Sy9vd4Jp.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
- package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
- package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
- package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
- package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
- package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
- package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
- package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
- package/stencil/checkbox-group-input_9-i8KmOWKn.js +0 -15610
- package/stencil/index-062e829b-CboMDKTu.js +0 -686
- package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
- package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
- package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
- package/stencil/password-input_2-sxSehMYk.js +0 -2359
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { a as J, $ as K, S as Q, i as V, s as X, f as _, b as Y, D as Z, d as S, r as $, E as ee, F as te, G as ne, H as oe, I as le, c as L, g as T, h as m, l as O, j as y, k as E, m as j, o as a, p as ie, q as ae, n as re, v as W, w as se, x as ce, y as me } from "./GeneralLogout-ChXyfO7j.js";
|
|
2
|
+
function q(n, e) {
|
|
3
|
+
J(n, e);
|
|
4
|
+
}
|
|
5
|
+
function de(n) {
|
|
6
|
+
K.set(n);
|
|
7
|
+
}
|
|
8
|
+
const H = {
|
|
9
|
+
en: {
|
|
10
|
+
cancel: "Cancel",
|
|
11
|
+
confirm: "Confirm"
|
|
12
|
+
},
|
|
13
|
+
fr: {
|
|
14
|
+
cancel: "Annuler",
|
|
15
|
+
confirm: "Confirmer"
|
|
16
|
+
},
|
|
17
|
+
ro: {
|
|
18
|
+
cancel: "Anulează",
|
|
19
|
+
confirm: "Confirmă"
|
|
20
|
+
},
|
|
21
|
+
es: {
|
|
22
|
+
cancel: "Cancelar",
|
|
23
|
+
confirm: "Confirmar"
|
|
24
|
+
},
|
|
25
|
+
pt: {
|
|
26
|
+
cancel: "Cancelar",
|
|
27
|
+
confirm: "Confirmar"
|
|
28
|
+
},
|
|
29
|
+
"zh-hk": {
|
|
30
|
+
cancel: "取消",
|
|
31
|
+
confirm: "確認"
|
|
32
|
+
},
|
|
33
|
+
hr: {
|
|
34
|
+
cancel: "Otkaži",
|
|
35
|
+
confirm: "Potvrdi"
|
|
36
|
+
},
|
|
37
|
+
"pt-br": {
|
|
38
|
+
cancel: "Cancelar",
|
|
39
|
+
confirm: "confirme"
|
|
40
|
+
},
|
|
41
|
+
"es-mx": {
|
|
42
|
+
cancel: "Cancelar",
|
|
43
|
+
confirm: "Confirmar"
|
|
44
|
+
},
|
|
45
|
+
tr: {
|
|
46
|
+
cancel: "İptal etmek",
|
|
47
|
+
confirm: "Onaylamak"
|
|
48
|
+
},
|
|
49
|
+
"en-us": {
|
|
50
|
+
cancel: "Cancel",
|
|
51
|
+
confirm: "Confirm"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
function fe(n) {
|
|
55
|
+
Y(n, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
|
+
}
|
|
57
|
+
const ue = (n) => ({}), N = (n) => ({});
|
|
58
|
+
function ge(n) {
|
|
59
|
+
let e, t;
|
|
60
|
+
return {
|
|
61
|
+
c() {
|
|
62
|
+
e = W("svg"), t = W("path"), a(t, "stroke-linecap", "round"), a(t, "stroke-linejoin", "round"), a(t, "stroke-width", "2"), a(t, "d", "M6 18L18 6M6 6l12 12"), a(e, "class", "w-6 h-6"), a(e, "fill", "none"), a(e, "stroke", "currentColor"), a(e, "viewBox", "0 0 24 24"), a(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
|
+
},
|
|
64
|
+
m(i, r) {
|
|
65
|
+
T(i, e, r), m(e, t);
|
|
66
|
+
},
|
|
67
|
+
p: re,
|
|
68
|
+
d(i) {
|
|
69
|
+
i && S(e);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function P(n) {
|
|
74
|
+
let e, t, i;
|
|
75
|
+
return {
|
|
76
|
+
c() {
|
|
77
|
+
e = y("div"), t = y("h2"), i = j(
|
|
78
|
+
/*modaltitle*/
|
|
79
|
+
n[1]
|
|
80
|
+
), a(e, "class", "GeneralConfirmationTitle");
|
|
81
|
+
},
|
|
82
|
+
m(r, f) {
|
|
83
|
+
T(r, e, f), m(e, t), m(t, i);
|
|
84
|
+
},
|
|
85
|
+
p(r, f) {
|
|
86
|
+
f & /*modaltitle*/
|
|
87
|
+
2 && L(
|
|
88
|
+
i,
|
|
89
|
+
/*modaltitle*/
|
|
90
|
+
r[1]
|
|
91
|
+
);
|
|
92
|
+
},
|
|
93
|
+
d(r) {
|
|
94
|
+
r && S(e);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function R(n) {
|
|
99
|
+
let e, t = (
|
|
100
|
+
/*$_*/
|
|
101
|
+
n[4]("cancel") + ""
|
|
102
|
+
), i, r, f;
|
|
103
|
+
return {
|
|
104
|
+
c() {
|
|
105
|
+
e = y("button"), i = j(t), a(e, "class", "GeneralCancelButton");
|
|
106
|
+
},
|
|
107
|
+
m(d, C) {
|
|
108
|
+
T(d, e, C), m(e, i), r || (f = O(
|
|
109
|
+
e,
|
|
110
|
+
"click",
|
|
111
|
+
/*click_handler*/
|
|
112
|
+
n[16]
|
|
113
|
+
), r = !0);
|
|
114
|
+
},
|
|
115
|
+
p(d, C) {
|
|
116
|
+
C & /*$_*/
|
|
117
|
+
16 && t !== (t = /*$_*/
|
|
118
|
+
d[4]("cancel") + "") && L(i, t);
|
|
119
|
+
},
|
|
120
|
+
d(d) {
|
|
121
|
+
d && S(e), r = !1, f();
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
function be(n) {
|
|
126
|
+
let e, t, i, r, f, d, C, A, g, k, p, v = (
|
|
127
|
+
/*$_*/
|
|
128
|
+
n[4]("confirm") + ""
|
|
129
|
+
), G, u, h, z;
|
|
130
|
+
const F = (
|
|
131
|
+
/*#slots*/
|
|
132
|
+
n[15].close
|
|
133
|
+
), M = Z(
|
|
134
|
+
F,
|
|
135
|
+
n,
|
|
136
|
+
/*$$scope*/
|
|
137
|
+
n[14],
|
|
138
|
+
N
|
|
139
|
+
), b = M || ge();
|
|
140
|
+
let s = (
|
|
141
|
+
/*modaltitle*/
|
|
142
|
+
n[1] && P(n)
|
|
143
|
+
), c = (
|
|
144
|
+
/*hascancelbutton*/
|
|
145
|
+
n[2] && R(n)
|
|
146
|
+
);
|
|
147
|
+
return {
|
|
148
|
+
c() {
|
|
149
|
+
e = y("div"), t = y("div"), i = y("span"), b && b.c(), r = E(), s && s.c(), f = E(), d = y("div"), C = j(
|
|
150
|
+
/*modaltext*/
|
|
151
|
+
n[0]
|
|
152
|
+
), A = E(), g = y("div"), c && c.c(), k = E(), p = y("button"), G = j(v), a(i, "class", "ModalCloseBtn"), a(i, "role", "button"), a(d, "class", "GeneralConfirmationContent"), a(p, "class", "GeneralConfirmButton"), a(g, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
153
|
+
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), a(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
154
|
+
(n[5] ? "GeneralConfirmationContainerMobile" : "")), a(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
155
|
+
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
156
|
+
},
|
|
157
|
+
m(l, x) {
|
|
158
|
+
T(l, e, x), m(e, t), m(t, i), b && b.m(i, null), m(t, r), s && s.m(t, null), m(t, f), m(t, d), m(d, C), m(t, A), m(t, g), c && c.m(g, null), m(g, k), m(g, p), m(p, G), n[18](e), u = !0, h || (z = [
|
|
159
|
+
O(
|
|
160
|
+
i,
|
|
161
|
+
"click",
|
|
162
|
+
/*close*/
|
|
163
|
+
n[6]
|
|
164
|
+
),
|
|
165
|
+
O(
|
|
166
|
+
p,
|
|
167
|
+
"click",
|
|
168
|
+
/*click_handler_1*/
|
|
169
|
+
n[17]
|
|
170
|
+
)
|
|
171
|
+
], h = !0);
|
|
172
|
+
},
|
|
173
|
+
p(l, [x]) {
|
|
174
|
+
M && M.p && (!u || x & /*$$scope*/
|
|
175
|
+
16384) && ne(
|
|
176
|
+
M,
|
|
177
|
+
F,
|
|
178
|
+
l,
|
|
179
|
+
/*$$scope*/
|
|
180
|
+
l[14],
|
|
181
|
+
u ? le(
|
|
182
|
+
F,
|
|
183
|
+
/*$$scope*/
|
|
184
|
+
l[14],
|
|
185
|
+
x,
|
|
186
|
+
ue
|
|
187
|
+
) : oe(
|
|
188
|
+
/*$$scope*/
|
|
189
|
+
l[14]
|
|
190
|
+
),
|
|
191
|
+
N
|
|
192
|
+
), /*modaltitle*/
|
|
193
|
+
l[1] ? s ? s.p(l, x) : (s = P(l), s.c(), s.m(t, f)) : s && (s.d(1), s = null), (!u || x & /*modaltext*/
|
|
194
|
+
1) && L(
|
|
195
|
+
C,
|
|
196
|
+
/*modaltext*/
|
|
197
|
+
l[0]
|
|
198
|
+
), /*hascancelbutton*/
|
|
199
|
+
l[2] ? c ? c.p(l, x) : (c = R(l), c.c(), c.m(g, k)) : c && (c.d(1), c = null), (!u || x & /*$_*/
|
|
200
|
+
16) && v !== (v = /*$_*/
|
|
201
|
+
l[4]("confirm") + "") && L(G, v);
|
|
202
|
+
},
|
|
203
|
+
i(l) {
|
|
204
|
+
u || (te(b, l), u = !0);
|
|
205
|
+
},
|
|
206
|
+
o(l) {
|
|
207
|
+
ee(b, l), u = !1;
|
|
208
|
+
},
|
|
209
|
+
d(l) {
|
|
210
|
+
l && S(e), b && b.d(l), s && s.d(), c && c.d(), n[18](null), h = !1, $(z);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function he(n, e, t) {
|
|
215
|
+
let i;
|
|
216
|
+
ie(n, me, (o) => t(4, i = o));
|
|
217
|
+
let { $$slots: r = {}, $$scope: f } = e, { modaltext: d = "Are you sure that you want to perform this action?" } = e, { modaltitle: C = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: k = {} } = e, { lang: p = "en" } = e, { clientstyling: v = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: u = "" } = e, h, z = window.navigator.userAgent, F = ae(z) !== "PC";
|
|
218
|
+
const M = () => {
|
|
219
|
+
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
|
+
}, b = (o) => {
|
|
221
|
+
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" && k && window.postMessage(k, window.location.href), M();
|
|
222
|
+
}, s = () => {
|
|
223
|
+
let o = document.createElement("style");
|
|
224
|
+
o.innerHTML = v, h.appendChild(o);
|
|
225
|
+
}, c = () => {
|
|
226
|
+
let o = new URL(G), w = document.createElement("style");
|
|
227
|
+
fetch(o.href).then((B) => B.text()).then((B) => {
|
|
228
|
+
w.innerHTML = B, setTimeout(
|
|
229
|
+
() => {
|
|
230
|
+
h.appendChild(w);
|
|
231
|
+
},
|
|
232
|
+
1
|
|
233
|
+
);
|
|
234
|
+
});
|
|
235
|
+
}, l = () => {
|
|
236
|
+
fetch(u).then((w) => w.json()).then((w) => {
|
|
237
|
+
Object.keys(w).forEach((B) => {
|
|
238
|
+
q(B, w[B]);
|
|
239
|
+
});
|
|
240
|
+
}).catch((w) => {
|
|
241
|
+
console.log(w);
|
|
242
|
+
});
|
|
243
|
+
};
|
|
244
|
+
Object.keys(H).forEach((o) => {
|
|
245
|
+
q(o, H[o]);
|
|
246
|
+
});
|
|
247
|
+
const x = () => {
|
|
248
|
+
de(p);
|
|
249
|
+
}, U = () => b("cancel"), D = () => b("confirm");
|
|
250
|
+
function I(o) {
|
|
251
|
+
se[o ? "unshift" : "push"](() => {
|
|
252
|
+
h = o, t(3, h);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
return n.$$set = (o) => {
|
|
256
|
+
"modaltext" in o && t(0, d = o.modaltext), "modaltitle" in o && t(1, C = o.modaltitle), "hascancelbutton" in o && t(2, A = o.hascancelbutton), "modalconfirmevent" in o && t(8, g = o.modalconfirmevent), "modalcancelevent" in o && t(9, k = o.modalcancelevent), "lang" in o && t(10, p = o.lang), "clientstyling" in o && t(11, v = o.clientstyling), "clientstylingurl" in o && t(12, G = o.clientstylingurl), "translationurl" in o && t(13, u = o.translationurl), "$$scope" in o && t(14, f = o.$$scope);
|
|
257
|
+
}, n.$$.update = () => {
|
|
258
|
+
n.$$.dirty & /*modaltext, lang*/
|
|
259
|
+
1025 && d && p && x(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
260
|
+
2056 && v && h && s(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
261
|
+
4104 && G && h && c(), n.$$.dirty & /*translationurl*/
|
|
262
|
+
8192 && u && l();
|
|
263
|
+
}, [
|
|
264
|
+
d,
|
|
265
|
+
C,
|
|
266
|
+
A,
|
|
267
|
+
h,
|
|
268
|
+
i,
|
|
269
|
+
F,
|
|
270
|
+
M,
|
|
271
|
+
b,
|
|
272
|
+
g,
|
|
273
|
+
k,
|
|
274
|
+
p,
|
|
275
|
+
v,
|
|
276
|
+
G,
|
|
277
|
+
u,
|
|
278
|
+
f,
|
|
279
|
+
r,
|
|
280
|
+
U,
|
|
281
|
+
D,
|
|
282
|
+
I
|
|
283
|
+
];
|
|
284
|
+
}
|
|
285
|
+
class Ce extends Q {
|
|
286
|
+
constructor(e) {
|
|
287
|
+
super(), V(
|
|
288
|
+
this,
|
|
289
|
+
e,
|
|
290
|
+
he,
|
|
291
|
+
be,
|
|
292
|
+
X,
|
|
293
|
+
{
|
|
294
|
+
modaltext: 0,
|
|
295
|
+
modaltitle: 1,
|
|
296
|
+
hascancelbutton: 2,
|
|
297
|
+
modalconfirmevent: 8,
|
|
298
|
+
modalcancelevent: 9,
|
|
299
|
+
lang: 10,
|
|
300
|
+
clientstyling: 11,
|
|
301
|
+
clientstylingurl: 12,
|
|
302
|
+
translationurl: 13
|
|
303
|
+
},
|
|
304
|
+
fe
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
get modaltext() {
|
|
308
|
+
return this.$$.ctx[0];
|
|
309
|
+
}
|
|
310
|
+
set modaltext(e) {
|
|
311
|
+
this.$$set({ modaltext: e }), _();
|
|
312
|
+
}
|
|
313
|
+
get modaltitle() {
|
|
314
|
+
return this.$$.ctx[1];
|
|
315
|
+
}
|
|
316
|
+
set modaltitle(e) {
|
|
317
|
+
this.$$set({ modaltitle: e }), _();
|
|
318
|
+
}
|
|
319
|
+
get hascancelbutton() {
|
|
320
|
+
return this.$$.ctx[2];
|
|
321
|
+
}
|
|
322
|
+
set hascancelbutton(e) {
|
|
323
|
+
this.$$set({ hascancelbutton: e }), _();
|
|
324
|
+
}
|
|
325
|
+
get modalconfirmevent() {
|
|
326
|
+
return this.$$.ctx[8];
|
|
327
|
+
}
|
|
328
|
+
set modalconfirmevent(e) {
|
|
329
|
+
this.$$set({ modalconfirmevent: e }), _();
|
|
330
|
+
}
|
|
331
|
+
get modalcancelevent() {
|
|
332
|
+
return this.$$.ctx[9];
|
|
333
|
+
}
|
|
334
|
+
set modalcancelevent(e) {
|
|
335
|
+
this.$$set({ modalcancelevent: e }), _();
|
|
336
|
+
}
|
|
337
|
+
get lang() {
|
|
338
|
+
return this.$$.ctx[10];
|
|
339
|
+
}
|
|
340
|
+
set lang(e) {
|
|
341
|
+
this.$$set({ lang: e }), _();
|
|
342
|
+
}
|
|
343
|
+
get clientstyling() {
|
|
344
|
+
return this.$$.ctx[11];
|
|
345
|
+
}
|
|
346
|
+
set clientstyling(e) {
|
|
347
|
+
this.$$set({ clientstyling: e }), _();
|
|
348
|
+
}
|
|
349
|
+
get clientstylingurl() {
|
|
350
|
+
return this.$$.ctx[12];
|
|
351
|
+
}
|
|
352
|
+
set clientstylingurl(e) {
|
|
353
|
+
this.$$set({ clientstylingurl: e }), _();
|
|
354
|
+
}
|
|
355
|
+
get translationurl() {
|
|
356
|
+
return this.$$.ctx[13];
|
|
357
|
+
}
|
|
358
|
+
set translationurl(e) {
|
|
359
|
+
this.$$set({ translationurl: e }), _();
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
ce(Ce, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
|
|
363
|
+
export {
|
|
364
|
+
Ce as default
|
|
365
|
+
};
|