@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0
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-9pZTJKCj.cjs +8 -0
- package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
- package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
- package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
- package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
- package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
- package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
- package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
- package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
- package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
- package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
- package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
- package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
- package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
- package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
- package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
- package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
- package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
- package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
- package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
- package/components/PlayerAccountModal-C7aE-f75.js +209 -0
- package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
- package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
- package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
- package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
- package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
- package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
- package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
- package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
- package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
- package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
- package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
- package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
- package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
- package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
- package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
- package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
- package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
- package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
- package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
- package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
- package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
- package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
- package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
- package/components/PlayerDeposit-IS6_f845.js +391 -0
- package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
- package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
- package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
- package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
- package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
- package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
- package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
- package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
- package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
- package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
- package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
- package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
- package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
- package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
- package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
- package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
- package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
- package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
- package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
- package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
- package/stencil/general-input-wM2i7b57.cjs +1 -0
- package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
- package/stencil/index-92b64862-C_69cKxK.js +708 -0
- package/stencil/index-92b64862-w9a1l35N.js +692 -0
- package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
- package/stencil/index-db5752f9-DrdunCay.js +610 -0
- package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
- package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
- package/stencil/password-input_2-CdHS5fmR.js +569 -0
- package/stencil/password-input_2-DdQvCp3o.js +569 -0
- package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
- package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
- package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
- package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
- package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
- package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
- package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
- package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
- package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
- package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
- package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
- package/stencil/ui-skeleton-CGldUjn2.js +29 -0
- package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
- package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
- package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
- package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
- package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
- package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
- package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
- package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
- package/components/PlayerAccountModal-BK81ZotM.js +0 -213
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
- package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
- package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
- package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
- package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
- package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
- package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
- package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
- package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
- package/components/PlayerDeposit-BIBRCGiC.js +0 -414
- package/components/PlayerDeposit-B_7saxic.js +0 -414
- package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
- package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
- package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
- package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
- package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
- package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
- package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
- package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
- package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
- package/stencil/general-input-igTYIJ6W.cjs +0 -1
- package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
- package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
- package/stencil/password-input_2-CHOu4hgw.js +0 -1420
- package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
- package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
- package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
- package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
- package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
- package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, G as Y, d as j, r as Z, H as $, I as ee, J as te, K as ne, L as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-CqNn1bEG.js";
|
|
2
2
|
function q(n, e) {
|
|
3
|
-
|
|
3
|
+
H(n, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function ge(n) {
|
|
6
|
+
J.set(n);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const N = {
|
|
9
9
|
en: {
|
|
10
10
|
cancel: "Cancel",
|
|
11
11
|
confirm: "Confirm"
|
|
@@ -51,47 +51,47 @@ const H = {
|
|
|
51
51
|
confirm: "Confirm"
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
function
|
|
55
|
-
|
|
54
|
+
function be(n) {
|
|
55
|
+
X(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
56
|
}
|
|
57
|
-
const
|
|
58
|
-
function
|
|
57
|
+
const he = (n) => ({}), P = (n) => ({});
|
|
58
|
+
function Ce(n) {
|
|
59
59
|
let e, t;
|
|
60
60
|
return {
|
|
61
61
|
c() {
|
|
62
|
-
e = W("svg"), t = W("path"),
|
|
62
|
+
e = W("svg"), t = W("path"), l(t, "stroke-linecap", "round"), l(t, "stroke-linejoin", "round"), l(t, "stroke-width", "2"), l(t, "d", "M6 18L18 6M6 6l12 12"), l(e, "class", "w-6 h-6"), l(e, "fill", "none"), l(e, "stroke", "currentColor"), l(e, "viewBox", "0 0 24 24"), l(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
|
-
m(
|
|
65
|
-
|
|
64
|
+
m(r, s) {
|
|
65
|
+
L(r, e, s), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
68
|
-
d(
|
|
69
|
-
|
|
67
|
+
p: le,
|
|
68
|
+
d(r) {
|
|
69
|
+
r && j(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
let e, t,
|
|
73
|
+
function I(n) {
|
|
74
|
+
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e =
|
|
77
|
+
e = _("div"), t = _("h2"), r = E(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
|
-
),
|
|
80
|
+
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
|
-
m(
|
|
83
|
-
|
|
82
|
+
m(s, d) {
|
|
83
|
+
L(s, e, d), m(e, t), m(t, r);
|
|
84
84
|
},
|
|
85
|
-
p(
|
|
86
|
-
|
|
85
|
+
p(s, d) {
|
|
86
|
+
d & /*modaltitle*/
|
|
87
87
|
2 && S(
|
|
88
|
-
|
|
88
|
+
r,
|
|
89
89
|
/*modaltitle*/
|
|
90
|
-
|
|
90
|
+
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
|
-
d(
|
|
94
|
-
|
|
93
|
+
d(s) {
|
|
94
|
+
s && j(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -99,65 +99,65 @@ function R(n) {
|
|
|
99
99
|
let e, t = (
|
|
100
100
|
/*$_*/
|
|
101
101
|
n[4]("cancel") + ""
|
|
102
|
-
),
|
|
102
|
+
), r, s, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e =
|
|
105
|
+
e = _("button"), r = E(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(
|
|
108
|
-
|
|
107
|
+
m(f, C) {
|
|
108
|
+
L(f, e, C), m(e, r), s || (d = O(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
112
|
-
n[
|
|
113
|
-
),
|
|
112
|
+
n[17]
|
|
113
|
+
), s = !0);
|
|
114
114
|
},
|
|
115
|
-
p(
|
|
115
|
+
p(f, C) {
|
|
116
116
|
C & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
|
|
118
|
+
f[4]("cancel") + "") && S(r, t);
|
|
119
119
|
},
|
|
120
|
-
d(
|
|
121
|
-
|
|
120
|
+
d(f) {
|
|
121
|
+
f && j(e), s = !1, d();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
let e, t,
|
|
125
|
+
function pe(n) {
|
|
126
|
+
let e, t, r, s, d, f, C, A, g, y, p, w = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
),
|
|
129
|
+
), k, u, G, b;
|
|
130
130
|
const F = (
|
|
131
131
|
/*#slots*/
|
|
132
|
-
n[
|
|
133
|
-
), M =
|
|
132
|
+
n[16].close
|
|
133
|
+
), M = Y(
|
|
134
134
|
F,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
|
-
n[
|
|
138
|
-
|
|
139
|
-
),
|
|
140
|
-
let
|
|
137
|
+
n[15],
|
|
138
|
+
P
|
|
139
|
+
), h = M || Ce();
|
|
140
|
+
let a = (
|
|
141
141
|
/*modaltitle*/
|
|
142
|
-
n[1] &&
|
|
142
|
+
n[1] && I(n)
|
|
143
143
|
), c = (
|
|
144
144
|
/*hascancelbutton*/
|
|
145
145
|
n[2] && R(n)
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e =
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C = E(
|
|
150
150
|
/*modaltext*/
|
|
151
151
|
n[0]
|
|
152
|
-
), A =
|
|
153
|
-
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
154
|
-
(n[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
152
|
+
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k = E(w), l(r, "class", "ModalCloseBtn"), l(r, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(p, "class", "GeneralConfirmButton"), l(g, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
153
|
+
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
154
|
+
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
155
155
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
156
156
|
},
|
|
157
|
-
m(
|
|
158
|
-
|
|
157
|
+
m(i, x) {
|
|
158
|
+
L(i, e, x), m(e, t), m(t, r), h && h.m(r, null), m(t, s), a && a.m(t, null), m(t, d), m(t, f), m(f, C), m(t, A), m(t, g), c && c.m(g, null), m(g, y), m(g, p), m(p, k), n[19](e), u = !0, G || (b = [
|
|
159
159
|
O(
|
|
160
|
-
|
|
160
|
+
r,
|
|
161
161
|
"click",
|
|
162
162
|
/*close*/
|
|
163
163
|
n[6]
|
|
@@ -166,130 +166,122 @@ function be(n) {
|
|
|
166
166
|
p,
|
|
167
167
|
"click",
|
|
168
168
|
/*click_handler_1*/
|
|
169
|
-
n[
|
|
169
|
+
n[18]
|
|
170
170
|
)
|
|
171
|
-
],
|
|
171
|
+
], G = !0);
|
|
172
172
|
},
|
|
173
|
-
p(
|
|
173
|
+
p(i, [x]) {
|
|
174
174
|
M && M.p && (!u || x & /*$$scope*/
|
|
175
|
-
|
|
175
|
+
32768) && te(
|
|
176
176
|
M,
|
|
177
177
|
F,
|
|
178
|
-
|
|
178
|
+
i,
|
|
179
179
|
/*$$scope*/
|
|
180
|
-
|
|
181
|
-
u ?
|
|
180
|
+
i[15],
|
|
181
|
+
u ? oe(
|
|
182
182
|
F,
|
|
183
183
|
/*$$scope*/
|
|
184
|
-
|
|
184
|
+
i[15],
|
|
185
185
|
x,
|
|
186
|
-
|
|
187
|
-
) :
|
|
186
|
+
he
|
|
187
|
+
) : ne(
|
|
188
188
|
/*$$scope*/
|
|
189
|
-
|
|
189
|
+
i[15]
|
|
190
190
|
),
|
|
191
|
-
|
|
191
|
+
P
|
|
192
192
|
), /*modaltitle*/
|
|
193
|
-
|
|
193
|
+
i[1] ? a ? a.p(i, x) : (a = I(i), a.c(), a.m(t, d)) : a && (a.d(1), a = null), (!u || x & /*modaltext*/
|
|
194
194
|
1) && S(
|
|
195
195
|
C,
|
|
196
196
|
/*modaltext*/
|
|
197
|
-
|
|
197
|
+
i[0]
|
|
198
198
|
), /*hascancelbutton*/
|
|
199
|
-
|
|
199
|
+
i[2] ? c ? c.p(i, x) : (c = R(i), c.c(), c.m(g, y)) : c && (c.d(1), c = null), (!u || x & /*$_*/
|
|
200
200
|
16) && w !== (w = /*$_*/
|
|
201
|
-
|
|
201
|
+
i[4]("confirm") + "") && S(k, w);
|
|
202
202
|
},
|
|
203
|
-
i(
|
|
204
|
-
u || (
|
|
203
|
+
i(i) {
|
|
204
|
+
u || (ee(h, i), u = !0);
|
|
205
205
|
},
|
|
206
|
-
o(
|
|
207
|
-
|
|
206
|
+
o(i) {
|
|
207
|
+
$(h, i), u = !1;
|
|
208
208
|
},
|
|
209
|
-
d(
|
|
210
|
-
|
|
209
|
+
d(i) {
|
|
210
|
+
i && j(e), h && h.d(i), a && a.d(), c && c.d(), n[19](null), G = !1, Z(b);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
let
|
|
216
|
-
|
|
217
|
-
let { $$slots:
|
|
218
|
-
const
|
|
214
|
+
function xe(n, e, t) {
|
|
215
|
+
let r;
|
|
216
|
+
ie(n, ue, (o) => t(4, r = o));
|
|
217
|
+
let { $$slots: s = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: C = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: y = {} } = e, { lang: p = "en" } = e, { clientstyling: w = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: u = "" } = e, { mbsource: G } = e, b, F = window.navigator.userAgent, M = re(F) !== "PC";
|
|
218
|
+
const h = () => {
|
|
219
219
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
|
-
},
|
|
221
|
-
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" &&
|
|
222
|
-
}, s = () => {
|
|
223
|
-
let o = document.createElement("style");
|
|
224
|
-
o.innerHTML = w, h.appendChild(o);
|
|
220
|
+
}, a = (o) => {
|
|
221
|
+
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" && y && window.postMessage(y, window.location.href), h();
|
|
225
222
|
}, c = () => {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
() => {
|
|
230
|
-
h.appendChild(v);
|
|
231
|
-
},
|
|
232
|
-
1
|
|
233
|
-
);
|
|
234
|
-
});
|
|
235
|
-
}, l = () => {
|
|
236
|
-
fetch(u).then((v) => v.json()).then((v) => {
|
|
237
|
-
Object.keys(v).forEach((B) => {
|
|
238
|
-
q(B, v[B]);
|
|
223
|
+
fetch(u).then((B) => B.json()).then((B) => {
|
|
224
|
+
Object.keys(B).forEach((T) => {
|
|
225
|
+
q(T, B[T]);
|
|
239
226
|
});
|
|
240
|
-
}).catch((
|
|
241
|
-
console.log(
|
|
227
|
+
}).catch((B) => {
|
|
228
|
+
console.log(B);
|
|
242
229
|
});
|
|
243
230
|
};
|
|
244
|
-
Object.keys(
|
|
245
|
-
q(o,
|
|
231
|
+
Object.keys(N).forEach((o) => {
|
|
232
|
+
q(o, N[o]);
|
|
233
|
+
});
|
|
234
|
+
const i = () => {
|
|
235
|
+
ge(p);
|
|
236
|
+
};
|
|
237
|
+
ae(() => () => {
|
|
246
238
|
});
|
|
247
|
-
const x = () =>
|
|
248
|
-
|
|
249
|
-
}, U = () => b("cancel"), D = () => b("confirm");
|
|
250
|
-
function I(o) {
|
|
239
|
+
const x = () => a("cancel"), U = () => a("confirm");
|
|
240
|
+
function D(o) {
|
|
251
241
|
se[o ? "unshift" : "push"](() => {
|
|
252
|
-
|
|
242
|
+
b = o, t(3, b);
|
|
253
243
|
});
|
|
254
244
|
}
|
|
255
245
|
return n.$$set = (o) => {
|
|
256
|
-
"modaltext" in o && t(0,
|
|
246
|
+
"modaltext" in o && t(0, f = 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, y = o.modalcancelevent), "lang" in o && t(10, p = o.lang), "clientstyling" in o && t(11, w = o.clientstyling), "clientstylingurl" in o && t(12, k = o.clientstylingurl), "translationurl" in o && t(13, u = o.translationurl), "mbsource" in o && t(14, G = o.mbsource), "$$scope" in o && t(15, d = o.$$scope);
|
|
257
247
|
}, n.$$.update = () => {
|
|
258
248
|
n.$$.dirty & /*modaltext, lang*/
|
|
259
|
-
1025 &&
|
|
260
|
-
2056 && w &&
|
|
261
|
-
4104 &&
|
|
262
|
-
|
|
249
|
+
1025 && f && p && i(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
250
|
+
2056 && w && b && ce(b, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
251
|
+
4104 && k && b && me(b, k), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
252
|
+
16392 && G && b && fe(b, `${G}.Style`), n.$$.dirty & /*translationurl*/
|
|
253
|
+
8192 && u && c();
|
|
263
254
|
}, [
|
|
264
|
-
|
|
255
|
+
f,
|
|
265
256
|
C,
|
|
266
257
|
A,
|
|
267
|
-
h,
|
|
268
|
-
i,
|
|
269
|
-
F,
|
|
270
|
-
M,
|
|
271
258
|
b,
|
|
259
|
+
r,
|
|
260
|
+
M,
|
|
261
|
+
h,
|
|
262
|
+
a,
|
|
272
263
|
g,
|
|
273
|
-
|
|
264
|
+
y,
|
|
274
265
|
p,
|
|
275
266
|
w,
|
|
276
|
-
|
|
267
|
+
k,
|
|
277
268
|
u,
|
|
278
|
-
|
|
279
|
-
|
|
269
|
+
G,
|
|
270
|
+
d,
|
|
271
|
+
s,
|
|
272
|
+
x,
|
|
280
273
|
U,
|
|
281
|
-
D
|
|
282
|
-
I
|
|
274
|
+
D
|
|
283
275
|
];
|
|
284
276
|
}
|
|
285
|
-
class
|
|
277
|
+
class ve extends K {
|
|
286
278
|
constructor(e) {
|
|
287
|
-
super(),
|
|
279
|
+
super(), Q(
|
|
288
280
|
this,
|
|
289
281
|
e,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
282
|
+
xe,
|
|
283
|
+
pe,
|
|
284
|
+
V,
|
|
293
285
|
{
|
|
294
286
|
modaltext: 0,
|
|
295
287
|
modaltitle: 1,
|
|
@@ -299,67 +291,74 @@ class Ce extends Q {
|
|
|
299
291
|
lang: 10,
|
|
300
292
|
clientstyling: 11,
|
|
301
293
|
clientstylingurl: 12,
|
|
302
|
-
translationurl: 13
|
|
294
|
+
translationurl: 13,
|
|
295
|
+
mbsource: 14
|
|
303
296
|
},
|
|
304
|
-
|
|
297
|
+
be
|
|
305
298
|
);
|
|
306
299
|
}
|
|
307
300
|
get modaltext() {
|
|
308
301
|
return this.$$.ctx[0];
|
|
309
302
|
}
|
|
310
303
|
set modaltext(e) {
|
|
311
|
-
this.$$set({ modaltext: e }),
|
|
304
|
+
this.$$set({ modaltext: e }), v();
|
|
312
305
|
}
|
|
313
306
|
get modaltitle() {
|
|
314
307
|
return this.$$.ctx[1];
|
|
315
308
|
}
|
|
316
309
|
set modaltitle(e) {
|
|
317
|
-
this.$$set({ modaltitle: e }),
|
|
310
|
+
this.$$set({ modaltitle: e }), v();
|
|
318
311
|
}
|
|
319
312
|
get hascancelbutton() {
|
|
320
313
|
return this.$$.ctx[2];
|
|
321
314
|
}
|
|
322
315
|
set hascancelbutton(e) {
|
|
323
|
-
this.$$set({ hascancelbutton: e }),
|
|
316
|
+
this.$$set({ hascancelbutton: e }), v();
|
|
324
317
|
}
|
|
325
318
|
get modalconfirmevent() {
|
|
326
319
|
return this.$$.ctx[8];
|
|
327
320
|
}
|
|
328
321
|
set modalconfirmevent(e) {
|
|
329
|
-
this.$$set({ modalconfirmevent: e }),
|
|
322
|
+
this.$$set({ modalconfirmevent: e }), v();
|
|
330
323
|
}
|
|
331
324
|
get modalcancelevent() {
|
|
332
325
|
return this.$$.ctx[9];
|
|
333
326
|
}
|
|
334
327
|
set modalcancelevent(e) {
|
|
335
|
-
this.$$set({ modalcancelevent: e }),
|
|
328
|
+
this.$$set({ modalcancelevent: e }), v();
|
|
336
329
|
}
|
|
337
330
|
get lang() {
|
|
338
331
|
return this.$$.ctx[10];
|
|
339
332
|
}
|
|
340
333
|
set lang(e) {
|
|
341
|
-
this.$$set({ lang: e }),
|
|
334
|
+
this.$$set({ lang: e }), v();
|
|
342
335
|
}
|
|
343
336
|
get clientstyling() {
|
|
344
337
|
return this.$$.ctx[11];
|
|
345
338
|
}
|
|
346
339
|
set clientstyling(e) {
|
|
347
|
-
this.$$set({ clientstyling: e }),
|
|
340
|
+
this.$$set({ clientstyling: e }), v();
|
|
348
341
|
}
|
|
349
342
|
get clientstylingurl() {
|
|
350
343
|
return this.$$.ctx[12];
|
|
351
344
|
}
|
|
352
345
|
set clientstylingurl(e) {
|
|
353
|
-
this.$$set({ clientstylingurl: e }),
|
|
346
|
+
this.$$set({ clientstylingurl: e }), v();
|
|
354
347
|
}
|
|
355
348
|
get translationurl() {
|
|
356
349
|
return this.$$.ctx[13];
|
|
357
350
|
}
|
|
358
351
|
set translationurl(e) {
|
|
359
|
-
this.$$set({ translationurl: e }),
|
|
352
|
+
this.$$set({ translationurl: e }), v();
|
|
353
|
+
}
|
|
354
|
+
get mbsource() {
|
|
355
|
+
return this.$$.ctx[14];
|
|
356
|
+
}
|
|
357
|
+
set mbsource(e) {
|
|
358
|
+
this.$$set({ mbsource: e }), v();
|
|
360
359
|
}
|
|
361
360
|
}
|
|
362
|
-
|
|
361
|
+
de(ve, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
363
362
|
export {
|
|
364
|
-
|
|
363
|
+
ve as default
|
|
365
364
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-9pZTJKCj.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"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}')}const W=o=>({}),z=o=>({});function q(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,c){e.insert(i,t,c),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
|