@everymatrix/player-account-controller 1.52.6 → 1.53.10
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-DMvKimEo.js → GeneralLogout-Ddt-oH9k.js} +1597 -1648
- package/components/{PlayerAccountBettingHistory-YNLbWHxl.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
- package/components/{PlayerAccountBiometrics-CXLK5_xT.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
- package/components/{PlayerAccountClosure-BkKcpa4J.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
- package/components/{PlayerAccountController-CiUzS_BP.js → PlayerAccountController-BZYAo3oo.js} +1159 -839
- package/components/{PlayerAccountGamingLimits-CncKhl1f.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-xwjN2SUl.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2-DF8kvIf6.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
- package/components/{PlayerAccountGamingLimitsInfoCard-mx0b5AlT.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DOrDUxtW.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +1519 -1116
- package/components/{PlayerAccountGamingLimitsPopup-Bt4YlCWi.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DWYQKT4Z.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
- package/components/PlayerAccountGeneralConfirmationModal-DG0N686t.js +365 -0
- package/components/{PlayerAccountMenu-5esyJ_VN.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
- package/components/PlayerAccountModal-BmKjtXKT.js +213 -0
- package/components/{PlayerAccountNotifications-B02Ownhe.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-DqsaRZd-.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +7663 -6480
- package/components/{PlayerAccountTimeout-Bv1n-ekz.js → PlayerAccountTimeout-DOSjICsY.js} +448 -288
- package/components/PlayerActiveBonuses-DMAG7NUP.js +1088 -0
- package/components/PlayerBonusCard-Dss1REmn.js +701 -0
- package/components/{PlayerBonusHistory-CgmyowiO.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
- package/components/{PlayerChangePassword-N_UEFJNT.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
- package/components/{PlayerDeposit-B75tYEgl.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
- package/components/{PlayerGamingHistory-r_Ze8tP6.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
- package/components/{PlayerPendingWithdrawals-BSTgce9H.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
- package/components/{PlayerProfileInfo-yn20xol3.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
- package/components/{PlayerRealityCheck-A_mZq3YZ.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
- package/components/{PlayerTransactionHistory-DllIB_qE.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
- package/components/{PlayerWithdrawal-t5mlX5CD.js → PlayerWithdrawal-DDWroufG.js} +1 -1
- package/esnext/player-account-controller.js +14 -0
- package/package.json +8 -33
- package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
- package/stencil/{app-globals-0f993ce5-aPSxk6sG.js → app-globals-0f993ce5-C0vi_PY4.js} +5 -3
- package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
- package/stencil/general-input-DnFPstQP.js +48 -0
- package/stencil/index-062e829b-DAFsZs6D.js +686 -0
- package/stencil/index-33f005e1-fFxPaeNy.js +632 -0
- package/stencil/index-9b3245b3-rzHgwqlB.js +625 -0
- package/stencil/index-fc58390d-BSwfXuUs.js +691 -0
- package/stencil/locale-BG_TzyDt.js +141 -0
- package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
- package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
- package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
- package/stencil/{player-kyc-verification-BwGXWzTR.js → player-kyc-verification-BQZdJFEJ.js} +62 -84
- package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
- package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
- package/stencil/user-deposit-withdrawal-CmF0LoNb.js +646 -0
- package/stencil/{user-transaction-history-DcAGbFDl.js → user-transaction-history-BgV-k2Cl.js} +109 -135
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
- package/components/PlayerAccountClosure-DfJc6Ip_.cjs +0 -1
- package/components/PlayerAccountController-BCgHKjX_.cjs +0 -1
- package/components/PlayerAccountGamingLimits-96NZsRcC.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DKM3If51.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-Bk3IO9F3.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BZk_esEY.cjs +0 -1
- package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
- package/components/PlayerAccountModal-C52SG5dV.cjs +0 -1
- package/components/PlayerAccountModal-xliz3ECZ.js +0 -198
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusion-ZG_OgxFL.cjs +0 -4171
- package/components/PlayerAccountTimeout-Xd8jT-L0.cjs +0 -1
- package/components/PlayerActiveBonuses-B53gZwaj.cjs +0 -1
- package/components/PlayerActiveBonuses-ChTcxPXy.js +0 -998
- package/components/PlayerBonusCard-CT1IXXnh.js +0 -579
- package/components/PlayerBonusCard-Crm5CyLi.cjs +0 -1
- package/components/PlayerBonusHistory-BefrVGm1.cjs +0 -1
- package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
- package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
- package/components/PlayerGamingHistory-BQUPgJN5.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/es2015/player-account-controller.cjs +0 -1
- package/es2015/player-account-controller.js +0 -16
- package/stencil/app-globals-0f993ce5-CKh2cbmz.cjs +0 -1
- package/stencil/index-0437c9c0-06LlHN6E.cjs +0 -1
- package/stencil/index-0437c9c0-1mLvhyVA.js +0 -592
- package/stencil/index-657e7a14-Dopxomhu.cjs +0 -1
- package/stencil/index-657e7a14-P-JSyx_m.js +0 -588
- package/stencil/index-e8249896-BNsgFr_R.cjs +0 -1
- package/stencil/index-e8249896-CIP0iOYr.js +0 -658
- package/stencil/player-kyc-verification-B9QbNY0o.cjs +0 -180
- package/stencil/user-deposit-withdrawal-C5Lmtrkj.cjs +0 -59
- package/stencil/user-deposit-withdrawal-D5CgtcqD.js +0 -651
- package/stencil/user-transaction-history-AoseShHM.cjs +0 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { a as J, $ as K, S as Q, i as V, f as _, c as X, s as Y, b as Z, D as $, e as y, d as E, t as L, g as a, k as T, l as m, m as O, E as ee, F as te, G as ne, n as S, H as oe, I as le, p as j, r as ie, q as ae, u as re, x as se, w as W, o as ce, y as me } from "./GeneralLogout-Ddt-oH9k.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
|
+
Z(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: ce,
|
|
68
|
+
d(i) {
|
|
69
|
+
i && j(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 = L(
|
|
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 && S(
|
|
88
|
+
i,
|
|
89
|
+
/*modaltitle*/
|
|
90
|
+
r[1]
|
|
91
|
+
);
|
|
92
|
+
},
|
|
93
|
+
d(r) {
|
|
94
|
+
r && j(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 = L(t), a(e, "class", "GeneralCancelButton");
|
|
106
|
+
},
|
|
107
|
+
m(d, h) {
|
|
108
|
+
T(d, e, h), m(e, i), r || (f = O(
|
|
109
|
+
e,
|
|
110
|
+
"click",
|
|
111
|
+
/*click_handler*/
|
|
112
|
+
n[16]
|
|
113
|
+
), r = !0);
|
|
114
|
+
},
|
|
115
|
+
p(d, h) {
|
|
116
|
+
h & /*$_*/
|
|
117
|
+
16 && t !== (t = /*$_*/
|
|
118
|
+
d[4]("cancel") + "") && S(i, t);
|
|
119
|
+
},
|
|
120
|
+
d(d) {
|
|
121
|
+
d && j(e), r = !1, f();
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
function be(n) {
|
|
126
|
+
let e, t, i, r, f, d, h, A, g, k, C, x = (
|
|
127
|
+
/*$_*/
|
|
128
|
+
n[4]("confirm") + ""
|
|
129
|
+
), G, u, b, z;
|
|
130
|
+
const F = (
|
|
131
|
+
/*#slots*/
|
|
132
|
+
n[15].close
|
|
133
|
+
), M = $(
|
|
134
|
+
F,
|
|
135
|
+
n,
|
|
136
|
+
/*$$scope*/
|
|
137
|
+
n[14],
|
|
138
|
+
N
|
|
139
|
+
), w = 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"), w.c(), r = E(), s && s.c(), f = E(), d = y("div"), h = L(
|
|
150
|
+
/*modaltext*/
|
|
151
|
+
n[0]
|
|
152
|
+
), A = E(), g = y("div"), c && c.c(), k = E(), C = y("button"), G = L(x), a(i, "class", "ModalCloseBtn"), a(i, "role", "button"), a(d, "class", "GeneralConfirmationContent"), a(C, "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, p) {
|
|
158
|
+
T(l, e, p), m(e, t), m(t, i), w.m(i, null), m(t, r), s && s.m(t, null), m(t, f), m(t, d), m(d, h), m(t, A), m(t, g), c && c.m(g, null), m(g, k), m(g, C), m(C, G), n[18](e), u = !0, b || (z = [
|
|
159
|
+
O(
|
|
160
|
+
i,
|
|
161
|
+
"click",
|
|
162
|
+
/*close*/
|
|
163
|
+
n[6]
|
|
164
|
+
),
|
|
165
|
+
O(
|
|
166
|
+
C,
|
|
167
|
+
"click",
|
|
168
|
+
/*click_handler_1*/
|
|
169
|
+
n[17]
|
|
170
|
+
)
|
|
171
|
+
], b = !0);
|
|
172
|
+
},
|
|
173
|
+
p(l, [p]) {
|
|
174
|
+
M && M.p && (!u || p & /*$$scope*/
|
|
175
|
+
16384) && ee(
|
|
176
|
+
M,
|
|
177
|
+
F,
|
|
178
|
+
l,
|
|
179
|
+
/*$$scope*/
|
|
180
|
+
l[14],
|
|
181
|
+
u ? ne(
|
|
182
|
+
F,
|
|
183
|
+
/*$$scope*/
|
|
184
|
+
l[14],
|
|
185
|
+
p,
|
|
186
|
+
ue
|
|
187
|
+
) : te(
|
|
188
|
+
/*$$scope*/
|
|
189
|
+
l[14]
|
|
190
|
+
),
|
|
191
|
+
N
|
|
192
|
+
), /*modaltitle*/
|
|
193
|
+
l[1] ? s ? s.p(l, p) : (s = P(l), s.c(), s.m(t, f)) : s && (s.d(1), s = null), (!u || p & /*modaltext*/
|
|
194
|
+
1) && S(
|
|
195
|
+
h,
|
|
196
|
+
/*modaltext*/
|
|
197
|
+
l[0]
|
|
198
|
+
), /*hascancelbutton*/
|
|
199
|
+
l[2] ? c ? c.p(l, p) : (c = R(l), c.c(), c.m(g, k)) : c && (c.d(1), c = null), (!u || p & /*$_*/
|
|
200
|
+
16) && x !== (x = /*$_*/
|
|
201
|
+
l[4]("confirm") + "") && S(G, x);
|
|
202
|
+
},
|
|
203
|
+
i(l) {
|
|
204
|
+
u || (oe(w, l), u = !0);
|
|
205
|
+
},
|
|
206
|
+
o(l) {
|
|
207
|
+
le(w, l), u = !1;
|
|
208
|
+
},
|
|
209
|
+
d(l) {
|
|
210
|
+
l && j(e), w.d(l), s && s.d(), c && c.d(), n[18](null), b = !1, ie(z);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function he(n, e, t) {
|
|
215
|
+
let i;
|
|
216
|
+
ae(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: h = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: k = {} } = e, { lang: C = "en" } = e, { clientstyling: x = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: u = "" } = e, b, z = window.navigator.userAgent, F = re(z) !== "PC";
|
|
218
|
+
const M = () => {
|
|
219
|
+
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
|
+
}, w = (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 = x, b.appendChild(o);
|
|
225
|
+
}, c = () => {
|
|
226
|
+
let o = new URL(G), v = document.createElement("style");
|
|
227
|
+
fetch(o.href).then((B) => B.text()).then((B) => {
|
|
228
|
+
v.innerHTML = B, setTimeout(
|
|
229
|
+
() => {
|
|
230
|
+
b.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]);
|
|
239
|
+
});
|
|
240
|
+
}).catch((v) => {
|
|
241
|
+
console.log(v);
|
|
242
|
+
});
|
|
243
|
+
};
|
|
244
|
+
Object.keys(H).forEach((o) => {
|
|
245
|
+
q(o, H[o]);
|
|
246
|
+
});
|
|
247
|
+
const p = () => {
|
|
248
|
+
de(C);
|
|
249
|
+
}, U = () => w("cancel"), D = () => w("confirm");
|
|
250
|
+
function I(o) {
|
|
251
|
+
se[o ? "unshift" : "push"](() => {
|
|
252
|
+
b = o, t(3, b);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
return n.$$set = (o) => {
|
|
256
|
+
"modaltext" in o && t(0, d = o.modaltext), "modaltitle" in o && t(1, h = 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, C = o.lang), "clientstyling" in o && t(11, x = 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 && C && p(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
260
|
+
2056 && x && b && s(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
261
|
+
4104 && G && b && c(), n.$$.dirty & /*translationurl*/
|
|
262
|
+
8192 && u && l();
|
|
263
|
+
}, [
|
|
264
|
+
d,
|
|
265
|
+
h,
|
|
266
|
+
A,
|
|
267
|
+
b,
|
|
268
|
+
i,
|
|
269
|
+
F,
|
|
270
|
+
M,
|
|
271
|
+
w,
|
|
272
|
+
g,
|
|
273
|
+
k,
|
|
274
|
+
C,
|
|
275
|
+
x,
|
|
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
|
+
Y,
|
|
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
|
+
X(Ce, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
|
|
363
|
+
export {
|
|
364
|
+
Ce as default
|
|
365
|
+
};
|