@everymatrix/player-account-controller 1.44.0 → 1.45.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-PMsAgsr8.js +4832 -0
- package/components/GeneralLogout-WbaN9lE3.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C5O_N5I6.js +328 -0
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +1 -0
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +1 -0
- package/components/PlayerAccountBiometrics-BIZ77T9P.js +300 -0
- package/components/PlayerAccountClosure-DIRkc6kA.cjs +1 -0
- package/components/PlayerAccountClosure-O9rY7FHF.js +339 -0
- package/components/PlayerAccountController-1M1FKlrd.cjs +1 -0
- package/components/PlayerAccountController-DRQpN2gW.js +6176 -0
- package/components/PlayerAccountGamingLimits-BnH1h5ZI.js +758 -0
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-CHBpCAi7.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js +4148 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CJxOlPZu.js +734 -0
- package/components/PlayerAccountGamingLimitsHistory2-_p2IXses.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js +1488 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-DcGsK_Nq.js +2794 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-DO2f_4IF.js +337 -0
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-BZ-Ax67a.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CQClFTjE.js +844 -0
- package/components/PlayerAccountMenu-1kpYtr6Q.cjs +1 -0
- package/components/PlayerAccountMenu-C9YFW_X4.js +576 -0
- package/components/PlayerAccountModal-BPuDqVwe.js +198 -0
- package/components/PlayerAccountModal-DpMfe1gv.cjs +1 -0
- package/components/PlayerAccountNotifications-DfLcLCTk.js +261 -0
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BR4bl6bz.js +16404 -0
- package/components/PlayerAccountSelfExclusion-CA2oAuhb.cjs +3693 -0
- package/components/PlayerAccountTimeout-Df9mSPXx.js +448 -0
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +1 -0
- package/components/PlayerActiveBonuses-BJtk2_80.js +986 -0
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +1 -0
- package/components/PlayerBonusCard-BoENnXsd.cjs +1 -0
- package/components/PlayerBonusCard-D4MZsrSK.js +565 -0
- package/components/PlayerBonusHistory-3B1tPB8g.cjs +1 -0
- package/components/PlayerBonusHistory-CDA_Ahs-.js +840 -0
- package/components/PlayerChangePassword-C69CRrvS.js +1161 -0
- package/components/PlayerChangePassword-RpQIhFff.cjs +3 -0
- package/components/PlayerDeposit-BK_UhkqG.js +395 -0
- package/components/PlayerDeposit-COhpfcRx.cjs +1 -0
- package/components/PlayerGamingHistory-C8Kvaq7b.cjs +1 -0
- package/components/PlayerGamingHistory-CCSGdevP.js +920 -0
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DIp1o6Bq.js +307 -0
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +1 -0
- package/components/PlayerProfileInfo-CkcYNGGP.js +1707 -0
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +1 -0
- package/components/PlayerRealityCheck-UaRdeADU.js +587 -0
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +1 -0
- package/components/PlayerTransactionHistory-Da2H2goa.js +311 -0
- package/components/PlayerWithdrawal-DK_JxD9z.js +365 -0
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +38 -32
- package/CHANGELOG.md +0 -19
- package/README.md +0 -0
- package/assets/arrow-down.svg +0 -3
- package/dist/player-account-controller.js +0 -2221
- package/dist/player-account-controller.js.map +0 -1
- package/documentation.md +0 -166
- package/index.html +0 -46
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/PlayerAccountController.svelte +0 -732
- package/src/PlayerAccountController.types.ts +0 -5
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -102
- package/stories/PlayerAccountPage.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,1488 @@
|
|
|
1
|
+
import { a as ke, $ as Ie, S as De, i as Me, f as G, c as Ae, s as Te, b as Re, e as p, k as M, o as x, p as A, q as Ne, u as Ye, v as Ee, x as je, t as S, d as N, g, j as u, l as s, m as Q, L as $, n as F, r as ze, y as Se, M as K, D as ee, N as ue, U as ce } from "./GeneralLogout-PMsAgsr8.js";
|
|
2
|
+
import { h as O } from "./PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js";
|
|
3
|
+
function te(i, t) {
|
|
4
|
+
ke(i, t);
|
|
5
|
+
}
|
|
6
|
+
function Fe(i) {
|
|
7
|
+
Ie.set(i);
|
|
8
|
+
}
|
|
9
|
+
const oe = {
|
|
10
|
+
en: {
|
|
11
|
+
name: "Info",
|
|
12
|
+
amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
|
|
13
|
+
daily: "Daily",
|
|
14
|
+
weekly: "Weekly",
|
|
15
|
+
monthly: "Monthly",
|
|
16
|
+
removeLimitText: "Are you sure you want to remove the {limit}?",
|
|
17
|
+
removeLimitsText: "Are you sure you want to remove all the {limit}s?",
|
|
18
|
+
minutes: "minutes",
|
|
19
|
+
noLimit: "No limit",
|
|
20
|
+
expirationDate: "Expiration date",
|
|
21
|
+
notAvailable: "N/A",
|
|
22
|
+
edit: "Edit",
|
|
23
|
+
removeLimits: "Remove Limits",
|
|
24
|
+
depositLimit: "Deposit Limit",
|
|
25
|
+
timeLimit: "Time Limit",
|
|
26
|
+
wageringLimit: "Wagering Limit",
|
|
27
|
+
lossLimit: "Loss Limit",
|
|
28
|
+
timeLimitLower: "time limit",
|
|
29
|
+
depositLimitLower: "deposit limit",
|
|
30
|
+
wageringLimitLower: "wagering limit",
|
|
31
|
+
lossLimitLower: "loss limit",
|
|
32
|
+
time: "time",
|
|
33
|
+
currency: "currency"
|
|
34
|
+
},
|
|
35
|
+
"zh-hk": {
|
|
36
|
+
name: "信息",
|
|
37
|
+
amountChanged: "您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",
|
|
38
|
+
daily: "日常的",
|
|
39
|
+
weekly: "每週",
|
|
40
|
+
monthly: "月刊",
|
|
41
|
+
removeLimitText: "您確定要刪除 {limit} 嗎?",
|
|
42
|
+
removeLimitsText: "您確定要刪除所有 {limit} 嗎?",
|
|
43
|
+
minutes: "分鐘",
|
|
44
|
+
noLimit: "沒有限制",
|
|
45
|
+
expirationDate: "截止日期",
|
|
46
|
+
notAvailable: "不適用",
|
|
47
|
+
edit: "編輯",
|
|
48
|
+
removeLimits: "移除限制",
|
|
49
|
+
depositLimit: "存款限額",
|
|
50
|
+
timeLimit: "時限",
|
|
51
|
+
wageringLimit: "投注限額",
|
|
52
|
+
lossLimit: "損失限額",
|
|
53
|
+
timeLimitLower: "時限",
|
|
54
|
+
depositLimitLower: "存款限額",
|
|
55
|
+
wageringLimitLower: "投注限額",
|
|
56
|
+
lossLimitLower: "損失限額",
|
|
57
|
+
time: "時間",
|
|
58
|
+
currency: "貨幣"
|
|
59
|
+
},
|
|
60
|
+
fr: {
|
|
61
|
+
name: "Info",
|
|
62
|
+
amountChanged: "Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",
|
|
63
|
+
daily: "Quotidiennement",
|
|
64
|
+
weekly: "Hebdomadaire",
|
|
65
|
+
monthly: "Mensuel",
|
|
66
|
+
removeLimitText: "êtes-vous sûr de vouloir supprimer la{limit}?",
|
|
67
|
+
removeLimitsText: "êtes-vous sûr de vouloir supprimer tous les {limit}s?",
|
|
68
|
+
minutes: "minutes",
|
|
69
|
+
noLimit: "Aucune limite",
|
|
70
|
+
expirationDate: "Date d'expiration",
|
|
71
|
+
notAvailable: "N/A",
|
|
72
|
+
edit: "Modifier",
|
|
73
|
+
removeLimits: "Supprimer les limites",
|
|
74
|
+
depositLimit: "Limite de dépôt",
|
|
75
|
+
timeLimit: "Limite de temps",
|
|
76
|
+
wageringLimit: "Limite de mise",
|
|
77
|
+
lossLimit: "Limite de perte",
|
|
78
|
+
timeLimitLower: "Limite de temps",
|
|
79
|
+
depositLimitLower: "Limite de dépôt",
|
|
80
|
+
wageringLimitLower: "Limite de mise",
|
|
81
|
+
lossLimitLower: "Limite de perte",
|
|
82
|
+
time: "Temps",
|
|
83
|
+
currency: "Monnaie"
|
|
84
|
+
},
|
|
85
|
+
ro: {
|
|
86
|
+
name: "Informații",
|
|
87
|
+
amountChanged: "Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",
|
|
88
|
+
daily: "Zilnic",
|
|
89
|
+
weekly: "Săptămânal",
|
|
90
|
+
monthly: "Lunar",
|
|
91
|
+
removeLimitText: "Ești sigur că vrei să elimini această limită?",
|
|
92
|
+
removeLimitsText: "Ești sigur că vrei să elimini toate limitele?",
|
|
93
|
+
minutes: "minute",
|
|
94
|
+
noLimit: "Fără Limită",
|
|
95
|
+
expirationDate: "Dată Expirare",
|
|
96
|
+
notAvailable: "N/A",
|
|
97
|
+
edit: "Editează",
|
|
98
|
+
removeLimits: "Elimină limitele",
|
|
99
|
+
depositLimit: "Limită de depunere",
|
|
100
|
+
timeLimit: "Limită de timp",
|
|
101
|
+
wageringLimit: "Limită de pariere",
|
|
102
|
+
lossLimit: "Limite de pierdere",
|
|
103
|
+
timeLimitLower: "limită de timp",
|
|
104
|
+
depositLimitLower: "limită de depunere",
|
|
105
|
+
wageringLimitLower: "limită de pariere",
|
|
106
|
+
lossLimitLower: "limită de pierdere",
|
|
107
|
+
time: "timp",
|
|
108
|
+
currency: "monedă"
|
|
109
|
+
},
|
|
110
|
+
es: {
|
|
111
|
+
name: "Información",
|
|
112
|
+
amountChanged: "Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",
|
|
113
|
+
daily: "Diario",
|
|
114
|
+
weekly: "Semanal",
|
|
115
|
+
monthly: "Mensual",
|
|
116
|
+
removeLimitText: "Estas seguro de quitar el {limit}?",
|
|
117
|
+
removeLimitsText: "Estas seguro de retirar todos los {limit}es?",
|
|
118
|
+
minutes: "minutos",
|
|
119
|
+
noLimit: "Sin límite",
|
|
120
|
+
expirationDate: "Fecha de expiración",
|
|
121
|
+
notAvailable: "No Disponible",
|
|
122
|
+
edit: "Editar",
|
|
123
|
+
removeLimits: "Retirar límites",
|
|
124
|
+
depositLimit: "Límite de depósito",
|
|
125
|
+
timeLimit: "Límite de tiempo",
|
|
126
|
+
wageringLimit: "Límite de apuestas",
|
|
127
|
+
lossLimit: "Límite de pérdida",
|
|
128
|
+
timeLimitLower: "Límite de tiempo",
|
|
129
|
+
depositLimitLower: "Límite de depósito",
|
|
130
|
+
wageringLimitLower: "Límite de apuestas",
|
|
131
|
+
lossLimitLower: "Límite de pérdida",
|
|
132
|
+
time: "tiempo",
|
|
133
|
+
currency: "moneda"
|
|
134
|
+
},
|
|
135
|
+
pt: {
|
|
136
|
+
name: "Informação",
|
|
137
|
+
amountChanged: "Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",
|
|
138
|
+
daily: "Diariamente",
|
|
139
|
+
weekly: "Semanalmente",
|
|
140
|
+
monthly: "Mensalmente",
|
|
141
|
+
removeLimitText: "Tem certeza de que deseja remover o {limite}??",
|
|
142
|
+
removeLimitsText: "Tem certeza de que deseja remover todos os {limite}s??",
|
|
143
|
+
minutes: "Minutos",
|
|
144
|
+
noLimit: "Sem limite",
|
|
145
|
+
expirationDate: "Data de Validade",
|
|
146
|
+
notAvailable: "Não Disponível",
|
|
147
|
+
edit: "Editar",
|
|
148
|
+
removeLimits: "Remover limites",
|
|
149
|
+
depositLimit: "Limite de Depósito",
|
|
150
|
+
timeLimit: "Limite de Tempo",
|
|
151
|
+
wageringLimit: "Limite de Apostas",
|
|
152
|
+
lossLimit: "Limite de Perda",
|
|
153
|
+
timeLimitLower: "Limite de tempo",
|
|
154
|
+
depositLimitLower: "limite de depósito",
|
|
155
|
+
wageringLimitLower: "limite de apostas",
|
|
156
|
+
lossLimitLower: "limite de perda",
|
|
157
|
+
time: "Tempo",
|
|
158
|
+
currency: "Moeda"
|
|
159
|
+
},
|
|
160
|
+
hr: {
|
|
161
|
+
name: "Informacije",
|
|
162
|
+
amountChanged: "Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",
|
|
163
|
+
daily: "Dnevno",
|
|
164
|
+
weekly: "Tjedno",
|
|
165
|
+
monthly: "Mjesečno",
|
|
166
|
+
removeLimitText: "Jeste li sigurni da želite ukloniti {limit}?",
|
|
167
|
+
removeLimitsText: "Jeste li sigurni da želite ukloniti sve {limit}e?",
|
|
168
|
+
minutes: "minute",
|
|
169
|
+
noLimit: "Nema ograničenja",
|
|
170
|
+
expirationDate: "Datum isteka",
|
|
171
|
+
notAvailable: "N/A",
|
|
172
|
+
edit: "Uredi",
|
|
173
|
+
removeLimits: "Ukloni ograničenja",
|
|
174
|
+
depositLimit: "Ograničenje uplate",
|
|
175
|
+
timeLimit: "Vremensko ograničenje",
|
|
176
|
+
wageringLimit: "Ograničenje igranja",
|
|
177
|
+
lossLimit: "Ograničenje gubitka",
|
|
178
|
+
timeLimitLower: "vremensko ograničenje",
|
|
179
|
+
depositLimitLower: "ograničenje uplate",
|
|
180
|
+
wageringLimitLower: "ograničenje igranja",
|
|
181
|
+
lossLimitLower: "ograničenje gubitka",
|
|
182
|
+
time: "vrijeme",
|
|
183
|
+
currency: "valuta"
|
|
184
|
+
},
|
|
185
|
+
"pt-br": {
|
|
186
|
+
name: "Informação",
|
|
187
|
+
amountChanged: "Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",
|
|
188
|
+
daily: "Diário",
|
|
189
|
+
weekly: "Semanalmente",
|
|
190
|
+
monthly: "Por mês",
|
|
191
|
+
removeLimitText: "Tem certeza de que deseja remover o limite {limit}?",
|
|
192
|
+
removeLimitsText: "Tem certeza de que deseja remover todos os limites {limit}s?",
|
|
193
|
+
minutes: "minutos",
|
|
194
|
+
noLimit: "Sem limite",
|
|
195
|
+
expirationDate: "Data de expiração",
|
|
196
|
+
notAvailable: "Não disponível",
|
|
197
|
+
edit: "Editar",
|
|
198
|
+
removeLimits: "Remover limites",
|
|
199
|
+
depositLimit: "Limite de depósito",
|
|
200
|
+
timeLimit: "Limite de tempo",
|
|
201
|
+
wageringLimit: "Limite de Quantidade de Apostas",
|
|
202
|
+
lossLimit: "Limite de perda",
|
|
203
|
+
timeLimitLower: "Limite de tempo",
|
|
204
|
+
depositLimitLower: "Limite de depósito",
|
|
205
|
+
wageringLimitLower: "Limite de Quantidade de Apostas",
|
|
206
|
+
lossLimitLower: "Limite de perda",
|
|
207
|
+
time: "tempo",
|
|
208
|
+
currency: "moeda"
|
|
209
|
+
},
|
|
210
|
+
"es-mx": {
|
|
211
|
+
name: "Información",
|
|
212
|
+
amountChanged: "Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",
|
|
213
|
+
daily: "Diario",
|
|
214
|
+
weekly: "Semanal",
|
|
215
|
+
monthly: "Mensual",
|
|
216
|
+
removeLimitText: "¿Está seguro que quiere remover el límite {limit}?",
|
|
217
|
+
removeLimitsText: "¿Está seguro que quiere remover todos los límites {limit}s?",
|
|
218
|
+
minutes: "minutos",
|
|
219
|
+
noLimit: "Sin límite",
|
|
220
|
+
expirationDate: "Fecha de expiración",
|
|
221
|
+
notAvailable: "No disponible",
|
|
222
|
+
edit: "Editar",
|
|
223
|
+
removeLimits: "Remover Límites",
|
|
224
|
+
depositLimit: "Límite de depósito",
|
|
225
|
+
timeLimit: "Límite de tiempo",
|
|
226
|
+
wageringLimit: "Límite de monto de apuestas",
|
|
227
|
+
lossLimit: "Límite de pérdidas",
|
|
228
|
+
timeLimitLower: "Límite de tiempo",
|
|
229
|
+
depositLimitLower: "Límite de depósito",
|
|
230
|
+
wageringLimitLower: "Límite de monto de apuestas",
|
|
231
|
+
lossLimitLower: "Límite de pérdidas",
|
|
232
|
+
time: "tiempo",
|
|
233
|
+
currency: "moneda"
|
|
234
|
+
},
|
|
235
|
+
tr: {
|
|
236
|
+
name: "Bilgi",
|
|
237
|
+
amountChanged: "Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",
|
|
238
|
+
daily: "Günlük",
|
|
239
|
+
weekly: "Haftalık",
|
|
240
|
+
monthly: "Aylık",
|
|
241
|
+
removeLimitText: "{limit} sınırını kaldırmak istediğinizden emin misiniz?",
|
|
242
|
+
removeLimitsText: "Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",
|
|
243
|
+
minutes: "dakika",
|
|
244
|
+
noLimit: "Limit yok",
|
|
245
|
+
expirationDate: "Son kullanma tarihi",
|
|
246
|
+
notAvailable: "Yok",
|
|
247
|
+
edit: "Düzenlemek",
|
|
248
|
+
removeLimits: "Sınırları Kaldır",
|
|
249
|
+
depositLimit: "Para Yatırma Limiti",
|
|
250
|
+
timeLimit: "Zaman sınırı",
|
|
251
|
+
wageringLimit: "Bahis Limiti",
|
|
252
|
+
lossLimit: "Kayıp Limiti",
|
|
253
|
+
timeLimitLower: "zaman sınırı",
|
|
254
|
+
depositLimitLower: "para yatırma limiti",
|
|
255
|
+
wageringLimitLower: "bahis limiti",
|
|
256
|
+
lossLimitLower: "kayıp limiti",
|
|
257
|
+
time: "zaman",
|
|
258
|
+
currency: "para birimi"
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
if (typeof window != "undefined") {
|
|
262
|
+
let i = function(t) {
|
|
263
|
+
return function(...o) {
|
|
264
|
+
try {
|
|
265
|
+
return t.apply(this, o);
|
|
266
|
+
} catch (n) {
|
|
267
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
268
|
+
return !1;
|
|
269
|
+
throw n;
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js").then((t) => t.P).then(({ default: t }) => {
|
|
274
|
+
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
275
|
+
"player-account-gaming-limits-group-edit",
|
|
276
|
+
t.element
|
|
277
|
+
);
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
function qe(i) {
|
|
281
|
+
Re(i, "svelte-ptoscn", '@charset "UTF-8";.InfoCard.svelte-ptoscn.svelte-ptoscn{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader.svelte-ptoscn.svelte-ptoscn{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader.svelte-ptoscn h5.svelte-ptoscn{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader.svelte-ptoscn span.svelte-ptoscn{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader.svelte-ptoscn h5.svelte-ptoscn{font-size:14px}.InfoCardHeader.InfoCardMobileHeader.svelte-ptoscn span.svelte-ptoscn{width:16px;height:16px;font-size:12px}.InfoCardIcon.svelte-ptoscn.svelte-ptoscn{cursor:pointer}.InfoCardRow.svelte-ptoscn.svelte-ptoscn{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow.svelte-ptoscn.svelte-ptoscn:first-child{padding-bottom:5px}.InfoCardTableRow.svelte-ptoscn>.InfoCardRow:first-child .InfoCardRowTitle.svelte-ptoscn{font-weight:500}.InfoCardRowTitle.svelte-ptoscn.svelte-ptoscn{font-size:12px;font-weight:300}.InfoCardRowValue.svelte-ptoscn.svelte-ptoscn{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon.svelte-ptoscn.svelte-ptoscn{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon.svelte-ptoscn span.svelte-ptoscn{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border:1px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InfoCardRemoveIcon.svelte-ptoscn span.svelte-ptoscn:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox.svelte-ptoscn.svelte-ptoscn{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems.svelte-ptoscn.svelte-ptoscn{display:flex;flex-direction:row}.InfoCardBox.svelte-ptoscn.svelte-ptoscn:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox.svelte-ptoscn .InfoCardRowContainer.svelte-ptoscn{flex:1 auto}.InfoMainRow.svelte-ptoscn .InfoCardRowTitle.svelte-ptoscn{font-size:14px;font-weight:400}.InfoMainRow.svelte-ptoscn .InfoCardRowValue.svelte-ptoscn{font-size:14px}.InfoCardControlArea.svelte-ptoscn.svelte-ptoscn{display:inline-flex;margin-top:35px}.InfoCardControlArea.svelte-ptoscn .InfoCardEditButton.svelte-ptoscn,.InfoCardControlArea.svelte-ptoscn .InfoCardRemoveButton.svelte-ptoscn{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea.svelte-ptoscn .InfoCardEditButton.svelte-ptoscn{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea.svelte-ptoscn .InfoCardRemoveButton.svelte-ptoscn{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper.svelte-ptoscn.svelte-ptoscn{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper.svelte-ptoscn span.svelte-ptoscn{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper.svelte-ptoscn.svelte-ptoscn{position:initial}.InfoCardBox.svelte-ptoscn .InfoCardIcon.svelte-ptoscn{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}');
|
|
282
|
+
}
|
|
283
|
+
function ne(i, t, o) {
|
|
284
|
+
const n = i.slice();
|
|
285
|
+
return n[41] = t[o], n[43] = o, n;
|
|
286
|
+
}
|
|
287
|
+
function le(i, t, o) {
|
|
288
|
+
const n = i.slice();
|
|
289
|
+
return n[41] = t[o], n[43] = o, n;
|
|
290
|
+
}
|
|
291
|
+
function We(i) {
|
|
292
|
+
let t, o, n, e, l = (
|
|
293
|
+
/*limitsdata*/
|
|
294
|
+
(i[0] ? (
|
|
295
|
+
/*$_*/
|
|
296
|
+
i[15](
|
|
297
|
+
/*limitname*/
|
|
298
|
+
i[1].charAt(0).toLowerCase() + /*limitname*/
|
|
299
|
+
i[1].substring(1).replace(/\s/g, "")
|
|
300
|
+
)
|
|
301
|
+
) : "") + ""
|
|
302
|
+
), a, m, v, k, h, L, b, z, T, B, E, q, j, W, R = (
|
|
303
|
+
/*$_*/
|
|
304
|
+
i[15]("edit") + ""
|
|
305
|
+
), V, C, Y, P, I;
|
|
306
|
+
function D(_, H) {
|
|
307
|
+
return (
|
|
308
|
+
/*limitname*/
|
|
309
|
+
_[1] === "Time Limit" ? Ve : He
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
let c = D(i), f = c(i), d = !/*amountIsUnset*/
|
|
313
|
+
i[9] && !/*limitsdata*/
|
|
314
|
+
i[0].isModified && /*changeableDataset*/
|
|
315
|
+
i[14] && de(i), y = (
|
|
316
|
+
/*openLimitsModal*/
|
|
317
|
+
i[11] && pe(i)
|
|
318
|
+
);
|
|
319
|
+
return {
|
|
320
|
+
c() {
|
|
321
|
+
t = p("div"), o = p("div"), n = p("div"), e = p("h5"), a = S(l), m = N(), v = p("div"), k = p("span"), k.textContent = "i", h = N(), L = p("player-account-gaming-limits-popup"), z = N(), T = p("div"), B = p("div"), E = p("div"), f.c(), q = N(), j = p("div"), W = p("button"), V = S(R), C = N(), d && d.c(), Y = N(), y && y.c(), g(e, "class", "svelte-ptoscn"), g(k, "class", "InfoCardIcon svelte-ptoscn"), u(L, "showpopup", b = /*showPopup*/
|
|
322
|
+
i[8][0]), u(
|
|
323
|
+
L,
|
|
324
|
+
"lang",
|
|
325
|
+
/*lang*/
|
|
326
|
+
i[3]
|
|
327
|
+
), u(
|
|
328
|
+
L,
|
|
329
|
+
"clientstyling",
|
|
330
|
+
/*clientstyling*/
|
|
331
|
+
i[4]
|
|
332
|
+
), u(
|
|
333
|
+
L,
|
|
334
|
+
"clientstylingurl",
|
|
335
|
+
/*clientstylingurl*/
|
|
336
|
+
i[5]
|
|
337
|
+
), g(v, "class", "InfoCardIconWrapper " + /*isMobile*/
|
|
338
|
+
(i[16] ? "InfoCardIconMobileWrapper" : "") + " svelte-ptoscn"), g(n, "class", "InfoCardHeader " + /*isMobile*/
|
|
339
|
+
(i[16] ? "InfoCardMobileHeader" : "") + " svelte-ptoscn"), g(E, "class", "InfoCardTableRow svelte-ptoscn"), g(B, "class", "InfoCardTableWrapper"), g(W, "class", "InfoCardEditButton svelte-ptoscn"), g(j, "class", "InfoCardControlArea svelte-ptoscn"), g(T, "class", "InfoCard svelte-ptoscn"), g(o, "class", "InfoCardWrapper"), g(t, "class", "InfoCardSection");
|
|
340
|
+
},
|
|
341
|
+
m(_, H) {
|
|
342
|
+
M(_, t, H), s(t, o), s(o, n), s(n, e), s(e, a), s(n, m), s(n, v), s(v, k), s(v, h), s(v, L), s(o, z), s(o, T), s(T, B), s(B, E), f.m(E, null), s(T, q), s(T, j), s(j, W), s(W, V), s(j, C), d && d.m(j, null), s(t, Y), y && y.m(t, null), P || (I = [
|
|
343
|
+
Q(k, "click", $(
|
|
344
|
+
/*click_handler*/
|
|
345
|
+
i[23]
|
|
346
|
+
)),
|
|
347
|
+
Q(
|
|
348
|
+
W,
|
|
349
|
+
"click",
|
|
350
|
+
/*click_handler_3*/
|
|
351
|
+
i[26]
|
|
352
|
+
)
|
|
353
|
+
], P = !0);
|
|
354
|
+
},
|
|
355
|
+
p(_, H) {
|
|
356
|
+
H[0] & /*limitsdata, $_, limitname*/
|
|
357
|
+
32771 && l !== (l = /*limitsdata*/
|
|
358
|
+
(_[0] ? (
|
|
359
|
+
/*$_*/
|
|
360
|
+
_[15](
|
|
361
|
+
/*limitname*/
|
|
362
|
+
_[1].charAt(0).toLowerCase() + /*limitname*/
|
|
363
|
+
_[1].substring(1).replace(/\s/g, "")
|
|
364
|
+
)
|
|
365
|
+
) : "") + "") && F(a, l), H[0] & /*showPopup*/
|
|
366
|
+
256 && b !== (b = /*showPopup*/
|
|
367
|
+
_[8][0]) && u(L, "showpopup", b), H[0] & /*lang*/
|
|
368
|
+
8 && u(
|
|
369
|
+
L,
|
|
370
|
+
"lang",
|
|
371
|
+
/*lang*/
|
|
372
|
+
_[3]
|
|
373
|
+
), H[0] & /*clientstyling*/
|
|
374
|
+
16 && u(
|
|
375
|
+
L,
|
|
376
|
+
"clientstyling",
|
|
377
|
+
/*clientstyling*/
|
|
378
|
+
_[4]
|
|
379
|
+
), H[0] & /*clientstylingurl*/
|
|
380
|
+
32 && u(
|
|
381
|
+
L,
|
|
382
|
+
"clientstylingurl",
|
|
383
|
+
/*clientstylingurl*/
|
|
384
|
+
_[5]
|
|
385
|
+
), c === (c = D(_)) && f ? f.p(_, H) : (f.d(1), f = c(_), f && (f.c(), f.m(E, null))), H[0] & /*$_*/
|
|
386
|
+
32768 && R !== (R = /*$_*/
|
|
387
|
+
_[15]("edit") + "") && F(V, R), !/*amountIsUnset*/
|
|
388
|
+
_[9] && !/*limitsdata*/
|
|
389
|
+
_[0].isModified && /*changeableDataset*/
|
|
390
|
+
_[14] ? d ? d.p(_, H) : (d = de(_), d.c(), d.m(j, null)) : d && (d.d(1), d = null), /*openLimitsModal*/
|
|
391
|
+
_[11] ? y ? y.p(_, H) : (y = pe(_), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
|
|
392
|
+
},
|
|
393
|
+
d(_) {
|
|
394
|
+
_ && A(t), f.d(), d && d.d(), y && y.d(), P = !1, ze(I);
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
function Be(i) {
|
|
399
|
+
let t;
|
|
400
|
+
return {
|
|
401
|
+
c() {
|
|
402
|
+
t = p("div"), g(t, "class", "ModalLoader");
|
|
403
|
+
},
|
|
404
|
+
m(o, n) {
|
|
405
|
+
M(o, t, n);
|
|
406
|
+
},
|
|
407
|
+
p: x,
|
|
408
|
+
d(o) {
|
|
409
|
+
o && A(t);
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
function He(i) {
|
|
414
|
+
let t, o = K(
|
|
415
|
+
/*limitsdata*/
|
|
416
|
+
i[0]
|
|
417
|
+
), n = [];
|
|
418
|
+
for (let e = 0; e < o.length; e += 1)
|
|
419
|
+
n[e] = re(ne(i, o, e));
|
|
420
|
+
return {
|
|
421
|
+
c() {
|
|
422
|
+
for (let e = 0; e < n.length; e += 1)
|
|
423
|
+
n[e].c();
|
|
424
|
+
t = ee();
|
|
425
|
+
},
|
|
426
|
+
m(e, l) {
|
|
427
|
+
for (let a = 0; a < n.length; a += 1)
|
|
428
|
+
n[a] && n[a].m(e, l);
|
|
429
|
+
M(e, t, l);
|
|
430
|
+
},
|
|
431
|
+
p(e, l) {
|
|
432
|
+
if (l[0] & /*removeItemLimit, limitsdata, limitname, $_, isMobile, showPopup, playercurrency, lang, clientstyling, clientstylingurl, openInfoPopup, currentDate*/
|
|
433
|
+
3375423) {
|
|
434
|
+
o = K(
|
|
435
|
+
/*limitsdata*/
|
|
436
|
+
e[0]
|
|
437
|
+
);
|
|
438
|
+
let a;
|
|
439
|
+
for (a = 0; a < o.length; a += 1) {
|
|
440
|
+
const m = ne(e, o, a);
|
|
441
|
+
n[a] ? n[a].p(m, l) : (n[a] = re(m), n[a].c(), n[a].m(t.parentNode, t));
|
|
442
|
+
}
|
|
443
|
+
for (; a < n.length; a += 1)
|
|
444
|
+
n[a].d(1);
|
|
445
|
+
n.length = o.length;
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
d(e) {
|
|
449
|
+
e && A(t), ue(n, e);
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
function Ve(i) {
|
|
454
|
+
let t, o = K(
|
|
455
|
+
/*limitsdata*/
|
|
456
|
+
i[0]
|
|
457
|
+
), n = [];
|
|
458
|
+
for (let e = 0; e < o.length; e += 1)
|
|
459
|
+
n[e] = me(le(i, o, e));
|
|
460
|
+
return {
|
|
461
|
+
c() {
|
|
462
|
+
for (let e = 0; e < n.length; e += 1)
|
|
463
|
+
n[e].c();
|
|
464
|
+
t = ee();
|
|
465
|
+
},
|
|
466
|
+
m(e, l) {
|
|
467
|
+
for (let a = 0; a < n.length; a += 1)
|
|
468
|
+
n[a] && n[a].m(e, l);
|
|
469
|
+
M(e, t, l);
|
|
470
|
+
},
|
|
471
|
+
p(e, l) {
|
|
472
|
+
if (l[0] & /*removeItemLimit, limitsdata, limitname, $_, isMobile, showPopup, lang, clientstyling, clientstylingurl, openInfoPopup, currentDate*/
|
|
473
|
+
3375419) {
|
|
474
|
+
o = K(
|
|
475
|
+
/*limitsdata*/
|
|
476
|
+
e[0]
|
|
477
|
+
);
|
|
478
|
+
let a;
|
|
479
|
+
for (a = 0; a < o.length; a += 1) {
|
|
480
|
+
const m = le(e, o, a);
|
|
481
|
+
n[a] ? n[a].p(m, l) : (n[a] = me(m), n[a].c(), n[a].m(t.parentNode, t));
|
|
482
|
+
}
|
|
483
|
+
for (; a < n.length; a += 1)
|
|
484
|
+
n[a].d(1);
|
|
485
|
+
n.length = o.length;
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
d(e) {
|
|
489
|
+
e && A(t), ue(n, e);
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
function ae(i) {
|
|
494
|
+
let t, o = (
|
|
495
|
+
/*itemInfo*/
|
|
496
|
+
(i[41] ? (
|
|
497
|
+
/*itemInfo*/
|
|
498
|
+
i[41].currency
|
|
499
|
+
) : "") + ""
|
|
500
|
+
), n;
|
|
501
|
+
return {
|
|
502
|
+
c() {
|
|
503
|
+
t = p("span"), n = S(o), g(t, "class", "InfoCardCurrency");
|
|
504
|
+
},
|
|
505
|
+
m(e, l) {
|
|
506
|
+
M(e, t, l), s(t, n);
|
|
507
|
+
},
|
|
508
|
+
p(e, l) {
|
|
509
|
+
l[0] & /*limitsdata*/
|
|
510
|
+
1 && o !== (o = /*itemInfo*/
|
|
511
|
+
(e[41] ? (
|
|
512
|
+
/*itemInfo*/
|
|
513
|
+
e[41].currency
|
|
514
|
+
) : "") + "") && F(n, o);
|
|
515
|
+
},
|
|
516
|
+
d(e) {
|
|
517
|
+
e && A(t);
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
function Pe(i) {
|
|
522
|
+
let t, o = (
|
|
523
|
+
/*$_*/
|
|
524
|
+
i[15]("notAvailable") + ""
|
|
525
|
+
), n;
|
|
526
|
+
return {
|
|
527
|
+
c() {
|
|
528
|
+
t = p("div"), n = S(o), g(t, "class", "InfoCardRowValue svelte-ptoscn");
|
|
529
|
+
},
|
|
530
|
+
m(e, l) {
|
|
531
|
+
M(e, t, l), s(t, n);
|
|
532
|
+
},
|
|
533
|
+
p(e, l) {
|
|
534
|
+
l[0] & /*$_*/
|
|
535
|
+
32768 && o !== (o = /*$_*/
|
|
536
|
+
e[15]("notAvailable") + "") && F(n, o);
|
|
537
|
+
},
|
|
538
|
+
d(e) {
|
|
539
|
+
e && A(t);
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
function Ue(i) {
|
|
544
|
+
let t, o = (
|
|
545
|
+
/*itemInfo*/
|
|
546
|
+
(i[41] ? O(
|
|
547
|
+
/*itemInfo*/
|
|
548
|
+
i[41].expiryDate
|
|
549
|
+
).year() > /*currentDate*/
|
|
550
|
+
i[17].year() + 30 ? (
|
|
551
|
+
/*currentDate*/
|
|
552
|
+
i[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
|
|
553
|
+
) : O(
|
|
554
|
+
/*itemInfo*/
|
|
555
|
+
i[41].expiryDate
|
|
556
|
+
).format("D/M/YYYY - h:mm A") : "N/A") + ""
|
|
557
|
+
), n;
|
|
558
|
+
return {
|
|
559
|
+
c() {
|
|
560
|
+
t = p("div"), n = S(o), g(t, "class", "InfoCardRowValue svelte-ptoscn");
|
|
561
|
+
},
|
|
562
|
+
m(e, l) {
|
|
563
|
+
M(e, t, l), s(t, n);
|
|
564
|
+
},
|
|
565
|
+
p(e, l) {
|
|
566
|
+
l[0] & /*limitsdata*/
|
|
567
|
+
1 && o !== (o = /*itemInfo*/
|
|
568
|
+
(e[41] ? O(
|
|
569
|
+
/*itemInfo*/
|
|
570
|
+
e[41].expiryDate
|
|
571
|
+
).year() > /*currentDate*/
|
|
572
|
+
e[17].year() + 30 ? (
|
|
573
|
+
/*currentDate*/
|
|
574
|
+
e[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
|
|
575
|
+
) : O(
|
|
576
|
+
/*itemInfo*/
|
|
577
|
+
e[41].expiryDate
|
|
578
|
+
).format("D/M/YYYY - h:mm A") : "N/A") + "") && F(n, o);
|
|
579
|
+
},
|
|
580
|
+
d(e) {
|
|
581
|
+
e && A(t);
|
|
582
|
+
}
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
function Oe(i) {
|
|
586
|
+
let t, o, n, e, l, a, m, v;
|
|
587
|
+
function k() {
|
|
588
|
+
return (
|
|
589
|
+
/*click_handler_2*/
|
|
590
|
+
i[25](
|
|
591
|
+
/*index*/
|
|
592
|
+
i[43]
|
|
593
|
+
)
|
|
594
|
+
);
|
|
595
|
+
}
|
|
596
|
+
return {
|
|
597
|
+
c() {
|
|
598
|
+
t = p("div"), o = p("span"), o.textContent = "i", n = N(), e = p("player-account-gaming-limits-popup"), g(o, "class", "InfoCardIcon svelte-ptoscn"), u(e, "showpopup", l = /*showPopup*/
|
|
599
|
+
i[8][
|
|
600
|
+
/*index*/
|
|
601
|
+
i[43] + 1
|
|
602
|
+
]), u(e, "iteminfoamount", a = /*itemInfo*/
|
|
603
|
+
i[41].updateAmount), u(
|
|
604
|
+
e,
|
|
605
|
+
"playercurrency",
|
|
606
|
+
/*playercurrency*/
|
|
607
|
+
i[2]
|
|
608
|
+
), u(
|
|
609
|
+
e,
|
|
610
|
+
"lang",
|
|
611
|
+
/*lang*/
|
|
612
|
+
i[3]
|
|
613
|
+
), u(
|
|
614
|
+
e,
|
|
615
|
+
"clientstyling",
|
|
616
|
+
/*clientstyling*/
|
|
617
|
+
i[4]
|
|
618
|
+
), u(
|
|
619
|
+
e,
|
|
620
|
+
"clientstylingurl",
|
|
621
|
+
/*clientstylingurl*/
|
|
622
|
+
i[5]
|
|
623
|
+
), g(t, "class", "InfoCardIconWrapper " + /*isMobile*/
|
|
624
|
+
(i[16] ? "InfoCardIconMobileWrapper" : "") + " svelte-ptoscn");
|
|
625
|
+
},
|
|
626
|
+
m(h, L) {
|
|
627
|
+
M(h, t, L), s(t, o), s(t, n), s(t, e), m || (v = Q(o, "click", $(k)), m = !0);
|
|
628
|
+
},
|
|
629
|
+
p(h, L) {
|
|
630
|
+
i = h, L[0] & /*showPopup*/
|
|
631
|
+
256 && l !== (l = /*showPopup*/
|
|
632
|
+
i[8][
|
|
633
|
+
/*index*/
|
|
634
|
+
i[43] + 1
|
|
635
|
+
]) && u(e, "showpopup", l), L[0] & /*limitsdata*/
|
|
636
|
+
1 && a !== (a = /*itemInfo*/
|
|
637
|
+
i[41].updateAmount) && u(e, "iteminfoamount", a), L[0] & /*playercurrency*/
|
|
638
|
+
4 && u(
|
|
639
|
+
e,
|
|
640
|
+
"playercurrency",
|
|
641
|
+
/*playercurrency*/
|
|
642
|
+
i[2]
|
|
643
|
+
), L[0] & /*lang*/
|
|
644
|
+
8 && u(
|
|
645
|
+
e,
|
|
646
|
+
"lang",
|
|
647
|
+
/*lang*/
|
|
648
|
+
i[3]
|
|
649
|
+
), L[0] & /*clientstyling*/
|
|
650
|
+
16 && u(
|
|
651
|
+
e,
|
|
652
|
+
"clientstyling",
|
|
653
|
+
/*clientstyling*/
|
|
654
|
+
i[4]
|
|
655
|
+
), L[0] & /*clientstylingurl*/
|
|
656
|
+
32 && u(
|
|
657
|
+
e,
|
|
658
|
+
"clientstylingurl",
|
|
659
|
+
/*clientstylingurl*/
|
|
660
|
+
i[5]
|
|
661
|
+
);
|
|
662
|
+
},
|
|
663
|
+
d(h) {
|
|
664
|
+
h && A(t), m = !1, v();
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
function Ge(i) {
|
|
669
|
+
let t, o, n;
|
|
670
|
+
return {
|
|
671
|
+
c() {
|
|
672
|
+
t = p("div"), t.innerHTML = '<span class="svelte-ptoscn"></span>', g(t, "class", "InfoCardRemoveIcon svelte-ptoscn");
|
|
673
|
+
},
|
|
674
|
+
m(e, l) {
|
|
675
|
+
M(e, t, l), o || (n = Q(t, "click", function() {
|
|
676
|
+
ce(
|
|
677
|
+
/*removeItemLimit*/
|
|
678
|
+
i[20](
|
|
679
|
+
/*itemInfo*/
|
|
680
|
+
i[41],
|
|
681
|
+
/*limitname*/
|
|
682
|
+
i[1]
|
|
683
|
+
)
|
|
684
|
+
) && i[20](
|
|
685
|
+
/*itemInfo*/
|
|
686
|
+
i[41],
|
|
687
|
+
/*limitname*/
|
|
688
|
+
i[1]
|
|
689
|
+
).apply(this, arguments);
|
|
690
|
+
}), o = !0);
|
|
691
|
+
},
|
|
692
|
+
p(e, l) {
|
|
693
|
+
i = e;
|
|
694
|
+
},
|
|
695
|
+
d(e) {
|
|
696
|
+
e && A(t), o = !1, n();
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
function re(i) {
|
|
701
|
+
let t, o, n, e, l = (
|
|
702
|
+
/*itemInfo*/
|
|
703
|
+
(i[41] ? (
|
|
704
|
+
/*$_*/
|
|
705
|
+
i[15](
|
|
706
|
+
/*itemInfo*/
|
|
707
|
+
i[41].period.charAt(0).toLowerCase() + /*itemInfo*/
|
|
708
|
+
i[41].period.substring(1)
|
|
709
|
+
)
|
|
710
|
+
) : "") + ""
|
|
711
|
+
), a, m, v, k = (
|
|
712
|
+
/*itemInfo*/
|
|
713
|
+
(i[41] ? (
|
|
714
|
+
/*itemInfo*/
|
|
715
|
+
i[41].amount === "No limit" ? (
|
|
716
|
+
/*$_*/
|
|
717
|
+
i[15]("noLimit")
|
|
718
|
+
) : (
|
|
719
|
+
/*itemInfo*/
|
|
720
|
+
i[41].amount
|
|
721
|
+
)
|
|
722
|
+
) : 0) + ""
|
|
723
|
+
), h, L, b = (
|
|
724
|
+
/*itemInfo*/
|
|
725
|
+
i[41].amount != "No limit" && /*itemInfo*/
|
|
726
|
+
i[41].amount != /*$_*/
|
|
727
|
+
i[15]("noLimit")
|
|
728
|
+
), z, T, B, E = (
|
|
729
|
+
/*$_*/
|
|
730
|
+
i[15]("expirationDate") + ""
|
|
731
|
+
), q, j, W, R, V, C = b && ae(i);
|
|
732
|
+
function Y(d, y) {
|
|
733
|
+
return (
|
|
734
|
+
/*itemInfo*/
|
|
735
|
+
d[41].expiryDate ? Ue : Pe
|
|
736
|
+
);
|
|
737
|
+
}
|
|
738
|
+
let P = Y(i), I = P(i);
|
|
739
|
+
function D(d, y) {
|
|
740
|
+
if (y[0] & /*limitsdata, $_*/
|
|
741
|
+
32769 && (R = null), R == null && (R = /*itemInfo*/
|
|
742
|
+
d[41].amount !== /*$_*/
|
|
743
|
+
d[15]("noLimit") && /*itemInfo*/
|
|
744
|
+
d[41].amount !== "No limit" && !/*itemInfo*/
|
|
745
|
+
d[41].isModified), R) return Ge;
|
|
746
|
+
if (
|
|
747
|
+
/*itemInfo*/
|
|
748
|
+
d[41].amount != "No limit" && /*itemInfo*/
|
|
749
|
+
d[41].isModified
|
|
750
|
+
) return Oe;
|
|
751
|
+
}
|
|
752
|
+
let c = D(i, [-1, -1]), f = c && c(i);
|
|
753
|
+
return {
|
|
754
|
+
c() {
|
|
755
|
+
t = p("div"), o = p("div"), n = p("div"), e = p("div"), a = S(l), m = N(), v = p("div"), h = S(k), L = N(), C && C.c(), z = N(), T = p("div"), B = p("div"), q = S(E), j = N(), I.c(), W = N(), f && f.c(), V = N(), g(e, "class", "InfoCardRowTitle svelte-ptoscn"), g(v, "class", "InfoCardRowValue svelte-ptoscn"), g(n, "class", "InfoCardRow InfoMainRow svelte-ptoscn"), g(B, "class", "InfoCardRowTitle svelte-ptoscn"), g(T, "class", "InfoCardRow svelte-ptoscn"), g(o, "class", "InfoCardRowContainer svelte-ptoscn"), g(t, "class", "InfoCardBox InfoCardMultipleItems svelte-ptoscn");
|
|
756
|
+
},
|
|
757
|
+
m(d, y) {
|
|
758
|
+
M(d, t, y), s(t, o), s(o, n), s(n, e), s(e, a), s(n, m), s(n, v), s(v, h), s(v, L), C && C.m(v, null), s(o, z), s(o, T), s(T, B), s(B, q), s(T, j), I.m(T, null), s(t, W), f && f.m(t, null), s(t, V);
|
|
759
|
+
},
|
|
760
|
+
p(d, y) {
|
|
761
|
+
y[0] & /*limitsdata, $_*/
|
|
762
|
+
32769 && l !== (l = /*itemInfo*/
|
|
763
|
+
(d[41] ? (
|
|
764
|
+
/*$_*/
|
|
765
|
+
d[15](
|
|
766
|
+
/*itemInfo*/
|
|
767
|
+
d[41].period.charAt(0).toLowerCase() + /*itemInfo*/
|
|
768
|
+
d[41].period.substring(1)
|
|
769
|
+
)
|
|
770
|
+
) : "") + "") && F(a, l), y[0] & /*limitsdata, $_*/
|
|
771
|
+
32769 && k !== (k = /*itemInfo*/
|
|
772
|
+
(d[41] ? (
|
|
773
|
+
/*itemInfo*/
|
|
774
|
+
d[41].amount === "No limit" ? (
|
|
775
|
+
/*$_*/
|
|
776
|
+
d[15]("noLimit")
|
|
777
|
+
) : (
|
|
778
|
+
/*itemInfo*/
|
|
779
|
+
d[41].amount
|
|
780
|
+
)
|
|
781
|
+
) : 0) + "") && F(h, k), y[0] & /*limitsdata, $_*/
|
|
782
|
+
32769 && (b = /*itemInfo*/
|
|
783
|
+
d[41].amount != "No limit" && /*itemInfo*/
|
|
784
|
+
d[41].amount != /*$_*/
|
|
785
|
+
d[15]("noLimit")), b ? C ? C.p(d, y) : (C = ae(d), C.c(), C.m(v, null)) : C && (C.d(1), C = null), y[0] & /*$_*/
|
|
786
|
+
32768 && E !== (E = /*$_*/
|
|
787
|
+
d[15]("expirationDate") + "") && F(q, E), P === (P = Y(d)) && I ? I.p(d, y) : (I.d(1), I = P(d), I && (I.c(), I.m(T, null))), c === (c = D(d, y)) && f ? f.p(d, y) : (f && f.d(1), f = c && c(d), f && (f.c(), f.m(t, V)));
|
|
788
|
+
},
|
|
789
|
+
d(d) {
|
|
790
|
+
d && A(t), C && C.d(), I.d(), f && f.d();
|
|
791
|
+
}
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
|
+
function Qe(i) {
|
|
795
|
+
let t, o = (
|
|
796
|
+
/*$_*/
|
|
797
|
+
i[15]("noLimit") + ""
|
|
798
|
+
), n;
|
|
799
|
+
return {
|
|
800
|
+
c() {
|
|
801
|
+
t = p("span"), n = S(o), g(t, "class", "InfoCardCurrency");
|
|
802
|
+
},
|
|
803
|
+
m(e, l) {
|
|
804
|
+
M(e, t, l), s(t, n);
|
|
805
|
+
},
|
|
806
|
+
p(e, l) {
|
|
807
|
+
l[0] & /*$_*/
|
|
808
|
+
32768 && o !== (o = /*$_*/
|
|
809
|
+
e[15]("noLimit") + "") && F(n, o);
|
|
810
|
+
},
|
|
811
|
+
d(e) {
|
|
812
|
+
e && A(t);
|
|
813
|
+
}
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
function Je(i) {
|
|
817
|
+
let t = (
|
|
818
|
+
/*itemInfo*/
|
|
819
|
+
(i[41] ? (
|
|
820
|
+
/*itemInfo*/
|
|
821
|
+
i[41].amount === "No limit" ? (
|
|
822
|
+
/*$_*/
|
|
823
|
+
i[15]("noLimit")
|
|
824
|
+
) : (
|
|
825
|
+
/*itemInfo*/
|
|
826
|
+
i[41].amount
|
|
827
|
+
)
|
|
828
|
+
) : 0) + ""
|
|
829
|
+
), o, n, e = (
|
|
830
|
+
/*itemInfo*/
|
|
831
|
+
i[41].amount !== "No limit" && /*itemInfo*/
|
|
832
|
+
i[41].amount !== /*$_*/
|
|
833
|
+
i[15]("noLimit")
|
|
834
|
+
), l, a = e && se(i);
|
|
835
|
+
return {
|
|
836
|
+
c() {
|
|
837
|
+
o = S(t), n = N(), a && a.c(), l = ee();
|
|
838
|
+
},
|
|
839
|
+
m(m, v) {
|
|
840
|
+
M(m, o, v), M(m, n, v), a && a.m(m, v), M(m, l, v);
|
|
841
|
+
},
|
|
842
|
+
p(m, v) {
|
|
843
|
+
v[0] & /*limitsdata, $_*/
|
|
844
|
+
32769 && t !== (t = /*itemInfo*/
|
|
845
|
+
(m[41] ? (
|
|
846
|
+
/*itemInfo*/
|
|
847
|
+
m[41].amount === "No limit" ? (
|
|
848
|
+
/*$_*/
|
|
849
|
+
m[15]("noLimit")
|
|
850
|
+
) : (
|
|
851
|
+
/*itemInfo*/
|
|
852
|
+
m[41].amount
|
|
853
|
+
)
|
|
854
|
+
) : 0) + "") && F(o, t), v[0] & /*limitsdata, $_*/
|
|
855
|
+
32769 && (e = /*itemInfo*/
|
|
856
|
+
m[41].amount !== "No limit" && /*itemInfo*/
|
|
857
|
+
m[41].amount !== /*$_*/
|
|
858
|
+
m[15]("noLimit")), e ? a ? a.p(m, v) : (a = se(m), a.c(), a.m(l.parentNode, l)) : a && (a.d(1), a = null);
|
|
859
|
+
},
|
|
860
|
+
d(m) {
|
|
861
|
+
m && (A(o), A(n), A(l)), a && a.d(m);
|
|
862
|
+
}
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
function se(i) {
|
|
866
|
+
let t, o = (
|
|
867
|
+
/*$_*/
|
|
868
|
+
i[15]("minutes") + ""
|
|
869
|
+
), n;
|
|
870
|
+
return {
|
|
871
|
+
c() {
|
|
872
|
+
t = p("span"), n = S(o), g(t, "class", "InfoCardCurrency");
|
|
873
|
+
},
|
|
874
|
+
m(e, l) {
|
|
875
|
+
M(e, t, l), s(t, n);
|
|
876
|
+
},
|
|
877
|
+
p(e, l) {
|
|
878
|
+
l[0] & /*$_*/
|
|
879
|
+
32768 && o !== (o = /*$_*/
|
|
880
|
+
e[15]("minutes") + "") && F(n, o);
|
|
881
|
+
},
|
|
882
|
+
d(e) {
|
|
883
|
+
e && A(t);
|
|
884
|
+
}
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
function Ke(i) {
|
|
888
|
+
let t, o = (
|
|
889
|
+
/*$_*/
|
|
890
|
+
i[15]("notAvailable") + ""
|
|
891
|
+
), n;
|
|
892
|
+
return {
|
|
893
|
+
c() {
|
|
894
|
+
t = p("div"), n = S(o), g(t, "class", "InfoCardRowValue svelte-ptoscn");
|
|
895
|
+
},
|
|
896
|
+
m(e, l) {
|
|
897
|
+
M(e, t, l), s(t, n);
|
|
898
|
+
},
|
|
899
|
+
p(e, l) {
|
|
900
|
+
l[0] & /*$_*/
|
|
901
|
+
32768 && o !== (o = /*$_*/
|
|
902
|
+
e[15]("notAvailable") + "") && F(n, o);
|
|
903
|
+
},
|
|
904
|
+
d(e) {
|
|
905
|
+
e && A(t);
|
|
906
|
+
}
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
function Ze(i) {
|
|
910
|
+
let t, o = (
|
|
911
|
+
/*itemInfo*/
|
|
912
|
+
(i[41] ? O(
|
|
913
|
+
/*itemInfo*/
|
|
914
|
+
i[41].expiryDate
|
|
915
|
+
).year() > /*currentDate*/
|
|
916
|
+
i[17].year() + 30 ? (
|
|
917
|
+
/*currentDate*/
|
|
918
|
+
i[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
|
|
919
|
+
) : O(
|
|
920
|
+
/*itemInfo*/
|
|
921
|
+
i[41].expiryDate
|
|
922
|
+
).format("D/M/YYYY - h:mm A") : "N/A") + ""
|
|
923
|
+
), n;
|
|
924
|
+
return {
|
|
925
|
+
c() {
|
|
926
|
+
t = p("div"), n = S(o), g(t, "class", "InfoCardRowValue svelte-ptoscn");
|
|
927
|
+
},
|
|
928
|
+
m(e, l) {
|
|
929
|
+
M(e, t, l), s(t, n);
|
|
930
|
+
},
|
|
931
|
+
p(e, l) {
|
|
932
|
+
l[0] & /*limitsdata*/
|
|
933
|
+
1 && o !== (o = /*itemInfo*/
|
|
934
|
+
(e[41] ? O(
|
|
935
|
+
/*itemInfo*/
|
|
936
|
+
e[41].expiryDate
|
|
937
|
+
).year() > /*currentDate*/
|
|
938
|
+
e[17].year() + 30 ? (
|
|
939
|
+
/*currentDate*/
|
|
940
|
+
e[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
|
|
941
|
+
) : O(
|
|
942
|
+
/*itemInfo*/
|
|
943
|
+
e[41].expiryDate
|
|
944
|
+
).format("D/M/YYYY - h:mm A") : "N/A") + "") && F(n, o);
|
|
945
|
+
},
|
|
946
|
+
d(e) {
|
|
947
|
+
e && A(t);
|
|
948
|
+
}
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
function Xe(i) {
|
|
952
|
+
let t, o, n, e, l, a, m, v, k;
|
|
953
|
+
function h() {
|
|
954
|
+
return (
|
|
955
|
+
/*click_handler_1*/
|
|
956
|
+
i[24](
|
|
957
|
+
/*index*/
|
|
958
|
+
i[43]
|
|
959
|
+
)
|
|
960
|
+
);
|
|
961
|
+
}
|
|
962
|
+
return {
|
|
963
|
+
c() {
|
|
964
|
+
t = p("div"), o = p("span"), o.textContent = "i", n = N(), e = p("player-account-gaming-limits-popup"), g(o, "class", "InfoCardIcon svelte-ptoscn"), u(e, "showpopup", l = /*showPopup*/
|
|
965
|
+
i[8][
|
|
966
|
+
/*index*/
|
|
967
|
+
i[43] + 1
|
|
968
|
+
]), u(e, "iteminfoamount", a = /*itemInfo*/
|
|
969
|
+
i[41].updateMinutes), u(e, "playercurrency", m = /*$_*/
|
|
970
|
+
i[15]("minutes")), u(
|
|
971
|
+
e,
|
|
972
|
+
"lang",
|
|
973
|
+
/*lang*/
|
|
974
|
+
i[3]
|
|
975
|
+
), u(
|
|
976
|
+
e,
|
|
977
|
+
"clientstyling",
|
|
978
|
+
/*clientstyling*/
|
|
979
|
+
i[4]
|
|
980
|
+
), u(
|
|
981
|
+
e,
|
|
982
|
+
"clientstylingurl",
|
|
983
|
+
/*clientstylingurl*/
|
|
984
|
+
i[5]
|
|
985
|
+
), g(t, "class", "InfoCardIconWrapper " + /*isMobile*/
|
|
986
|
+
(i[16] ? "InfoCardIconMobileWrapper" : "") + " svelte-ptoscn");
|
|
987
|
+
},
|
|
988
|
+
m(L, b) {
|
|
989
|
+
M(L, t, b), s(t, o), s(t, n), s(t, e), v || (k = Q(o, "click", $(h)), v = !0);
|
|
990
|
+
},
|
|
991
|
+
p(L, b) {
|
|
992
|
+
i = L, b[0] & /*showPopup*/
|
|
993
|
+
256 && l !== (l = /*showPopup*/
|
|
994
|
+
i[8][
|
|
995
|
+
/*index*/
|
|
996
|
+
i[43] + 1
|
|
997
|
+
]) && u(e, "showpopup", l), b[0] & /*limitsdata*/
|
|
998
|
+
1 && a !== (a = /*itemInfo*/
|
|
999
|
+
i[41].updateMinutes) && u(e, "iteminfoamount", a), b[0] & /*$_*/
|
|
1000
|
+
32768 && m !== (m = /*$_*/
|
|
1001
|
+
i[15]("minutes")) && u(e, "playercurrency", m), b[0] & /*lang*/
|
|
1002
|
+
8 && u(
|
|
1003
|
+
e,
|
|
1004
|
+
"lang",
|
|
1005
|
+
/*lang*/
|
|
1006
|
+
i[3]
|
|
1007
|
+
), b[0] & /*clientstyling*/
|
|
1008
|
+
16 && u(
|
|
1009
|
+
e,
|
|
1010
|
+
"clientstyling",
|
|
1011
|
+
/*clientstyling*/
|
|
1012
|
+
i[4]
|
|
1013
|
+
), b[0] & /*clientstylingurl*/
|
|
1014
|
+
32 && u(
|
|
1015
|
+
e,
|
|
1016
|
+
"clientstylingurl",
|
|
1017
|
+
/*clientstylingurl*/
|
|
1018
|
+
i[5]
|
|
1019
|
+
);
|
|
1020
|
+
},
|
|
1021
|
+
d(L) {
|
|
1022
|
+
L && A(t), v = !1, k();
|
|
1023
|
+
}
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
function xe(i) {
|
|
1027
|
+
let t, o, n;
|
|
1028
|
+
return {
|
|
1029
|
+
c() {
|
|
1030
|
+
t = p("div"), t.innerHTML = '<span class="svelte-ptoscn"></span>', g(t, "class", "InfoCardRemoveIcon svelte-ptoscn");
|
|
1031
|
+
},
|
|
1032
|
+
m(e, l) {
|
|
1033
|
+
M(e, t, l), o || (n = Q(t, "click", function() {
|
|
1034
|
+
ce(
|
|
1035
|
+
/*removeItemLimit*/
|
|
1036
|
+
i[20](
|
|
1037
|
+
/*itemInfo*/
|
|
1038
|
+
i[41],
|
|
1039
|
+
/*limitname*/
|
|
1040
|
+
i[1]
|
|
1041
|
+
)
|
|
1042
|
+
) && i[20](
|
|
1043
|
+
/*itemInfo*/
|
|
1044
|
+
i[41],
|
|
1045
|
+
/*limitname*/
|
|
1046
|
+
i[1]
|
|
1047
|
+
).apply(this, arguments);
|
|
1048
|
+
}), o = !0);
|
|
1049
|
+
},
|
|
1050
|
+
p(e, l) {
|
|
1051
|
+
i = e;
|
|
1052
|
+
},
|
|
1053
|
+
d(e) {
|
|
1054
|
+
e && A(t), o = !1, n();
|
|
1055
|
+
}
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
function me(i) {
|
|
1059
|
+
let t, o, n, e, l = (
|
|
1060
|
+
/*itemInfo*/
|
|
1061
|
+
(i[41] ? (
|
|
1062
|
+
/*$_*/
|
|
1063
|
+
i[15](
|
|
1064
|
+
/*itemInfo*/
|
|
1065
|
+
i[41].period.charAt(0).toLowerCase() + /*itemInfo*/
|
|
1066
|
+
i[41].period.substring(1)
|
|
1067
|
+
)
|
|
1068
|
+
) : "") + ""
|
|
1069
|
+
), a, m, v, k, h, L, b = (
|
|
1070
|
+
/*$_*/
|
|
1071
|
+
i[15]("expirationDate") + ""
|
|
1072
|
+
), z, T, B, E, q;
|
|
1073
|
+
function j(c, f) {
|
|
1074
|
+
return (
|
|
1075
|
+
/*itemInfo*/
|
|
1076
|
+
c[41].amount !== 0 ? Je : Qe
|
|
1077
|
+
);
|
|
1078
|
+
}
|
|
1079
|
+
let W = j(i), R = W(i);
|
|
1080
|
+
function V(c, f) {
|
|
1081
|
+
return (
|
|
1082
|
+
/*itemInfo*/
|
|
1083
|
+
c[41].expiryDate ? Ze : Ke
|
|
1084
|
+
);
|
|
1085
|
+
}
|
|
1086
|
+
let C = V(i), Y = C(i);
|
|
1087
|
+
function P(c, f) {
|
|
1088
|
+
if (f[0] & /*limitsdata, $_*/
|
|
1089
|
+
32769 && (E = null), E == null && (E = /*itemInfo*/
|
|
1090
|
+
c[41].amount !== /*$_*/
|
|
1091
|
+
c[15]("noLimit") && /*itemInfo*/
|
|
1092
|
+
c[41].amount !== "No limit" && !/*itemInfo*/
|
|
1093
|
+
c[41].isModified), E) return xe;
|
|
1094
|
+
if (
|
|
1095
|
+
/*itemInfo*/
|
|
1096
|
+
c[41].amount != "No limit" && /*itemInfo*/
|
|
1097
|
+
c[41].isModified
|
|
1098
|
+
) return Xe;
|
|
1099
|
+
}
|
|
1100
|
+
let I = P(i, [-1, -1]), D = I && I(i);
|
|
1101
|
+
return {
|
|
1102
|
+
c() {
|
|
1103
|
+
t = p("div"), o = p("div"), n = p("div"), e = p("div"), a = S(l), m = N(), v = p("div"), R.c(), k = N(), h = p("div"), L = p("div"), z = S(b), T = N(), Y.c(), B = N(), D && D.c(), q = N(), g(e, "class", "InfoCardRowTitle svelte-ptoscn"), g(v, "class", "InfoCardRowValue svelte-ptoscn"), g(n, "class", "InfoCardRow InfoMainRow svelte-ptoscn"), g(L, "class", "InfoCardRowTitle svelte-ptoscn"), g(h, "class", "InfoCardRow svelte-ptoscn"), g(o, "class", "InfoCardRowContainer svelte-ptoscn"), g(t, "class", "InfoCardBox InfoCardMultipleItems svelte-ptoscn");
|
|
1104
|
+
},
|
|
1105
|
+
m(c, f) {
|
|
1106
|
+
M(c, t, f), s(t, o), s(o, n), s(n, e), s(e, a), s(n, m), s(n, v), R.m(v, null), s(o, k), s(o, h), s(h, L), s(L, z), s(h, T), Y.m(h, null), s(t, B), D && D.m(t, null), s(t, q);
|
|
1107
|
+
},
|
|
1108
|
+
p(c, f) {
|
|
1109
|
+
f[0] & /*limitsdata, $_*/
|
|
1110
|
+
32769 && l !== (l = /*itemInfo*/
|
|
1111
|
+
(c[41] ? (
|
|
1112
|
+
/*$_*/
|
|
1113
|
+
c[15](
|
|
1114
|
+
/*itemInfo*/
|
|
1115
|
+
c[41].period.charAt(0).toLowerCase() + /*itemInfo*/
|
|
1116
|
+
c[41].period.substring(1)
|
|
1117
|
+
)
|
|
1118
|
+
) : "") + "") && F(a, l), W === (W = j(c)) && R ? R.p(c, f) : (R.d(1), R = W(c), R && (R.c(), R.m(v, null))), f[0] & /*$_*/
|
|
1119
|
+
32768 && b !== (b = /*$_*/
|
|
1120
|
+
c[15]("expirationDate") + "") && F(z, b), C === (C = V(c)) && Y ? Y.p(c, f) : (Y.d(1), Y = C(c), Y && (Y.c(), Y.m(h, null))), I === (I = P(c, f)) && D ? D.p(c, f) : (D && D.d(1), D = I && I(c), D && (D.c(), D.m(t, q)));
|
|
1121
|
+
},
|
|
1122
|
+
d(c) {
|
|
1123
|
+
c && A(t), R.d(), Y.d(), D && D.d();
|
|
1124
|
+
}
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
function de(i) {
|
|
1128
|
+
let t, o = (
|
|
1129
|
+
/*$_*/
|
|
1130
|
+
i[15]("removeLimits") + ""
|
|
1131
|
+
), n, e, l;
|
|
1132
|
+
return {
|
|
1133
|
+
c() {
|
|
1134
|
+
t = p("button"), n = S(o), g(t, "class", "InfoCardRemoveButton svelte-ptoscn");
|
|
1135
|
+
},
|
|
1136
|
+
m(a, m) {
|
|
1137
|
+
M(a, t, m), s(t, n), e || (l = Q(
|
|
1138
|
+
t,
|
|
1139
|
+
"click",
|
|
1140
|
+
/*click_handler_4*/
|
|
1141
|
+
i[27]
|
|
1142
|
+
), e = !0);
|
|
1143
|
+
},
|
|
1144
|
+
p(a, m) {
|
|
1145
|
+
m[0] & /*$_*/
|
|
1146
|
+
32768 && o !== (o = /*$_*/
|
|
1147
|
+
a[15]("removeLimits") + "") && F(n, o);
|
|
1148
|
+
},
|
|
1149
|
+
d(a) {
|
|
1150
|
+
a && A(t), e = !1, l();
|
|
1151
|
+
}
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
function pe(i) {
|
|
1155
|
+
let t, o, n;
|
|
1156
|
+
return {
|
|
1157
|
+
c() {
|
|
1158
|
+
t = p("player-account-modal"), o = p("player-account-gaming-limits-confirmation-modal"), u(o, "modaltext", n = /*removeAllLimits*/
|
|
1159
|
+
i[10] ? (
|
|
1160
|
+
/*removeAllLimitsText*/
|
|
1161
|
+
i[12]
|
|
1162
|
+
) : (
|
|
1163
|
+
/*removeLimitText*/
|
|
1164
|
+
i[13]
|
|
1165
|
+
)), u(o, "modalsource", "infoCard"), u(
|
|
1166
|
+
o,
|
|
1167
|
+
"lang",
|
|
1168
|
+
/*lang*/
|
|
1169
|
+
i[3]
|
|
1170
|
+
), u(
|
|
1171
|
+
o,
|
|
1172
|
+
"clientstyling",
|
|
1173
|
+
/*clientstyling*/
|
|
1174
|
+
i[4]
|
|
1175
|
+
), u(
|
|
1176
|
+
o,
|
|
1177
|
+
"clientstylingurl",
|
|
1178
|
+
/*clientstylingurl*/
|
|
1179
|
+
i[5]
|
|
1180
|
+
), u(
|
|
1181
|
+
t,
|
|
1182
|
+
"clientstyling",
|
|
1183
|
+
/*clientstyling*/
|
|
1184
|
+
i[4]
|
|
1185
|
+
), u(
|
|
1186
|
+
t,
|
|
1187
|
+
"clientstylingurl",
|
|
1188
|
+
/*clientstylingurl*/
|
|
1189
|
+
i[5]
|
|
1190
|
+
);
|
|
1191
|
+
},
|
|
1192
|
+
m(e, l) {
|
|
1193
|
+
M(e, t, l), s(t, o);
|
|
1194
|
+
},
|
|
1195
|
+
p(e, l) {
|
|
1196
|
+
l[0] & /*removeAllLimits, removeAllLimitsText, removeLimitText*/
|
|
1197
|
+
13312 && n !== (n = /*removeAllLimits*/
|
|
1198
|
+
e[10] ? (
|
|
1199
|
+
/*removeAllLimitsText*/
|
|
1200
|
+
e[12]
|
|
1201
|
+
) : (
|
|
1202
|
+
/*removeLimitText*/
|
|
1203
|
+
e[13]
|
|
1204
|
+
)) && u(o, "modaltext", n), l[0] & /*lang*/
|
|
1205
|
+
8 && u(
|
|
1206
|
+
o,
|
|
1207
|
+
"lang",
|
|
1208
|
+
/*lang*/
|
|
1209
|
+
e[3]
|
|
1210
|
+
), l[0] & /*clientstyling*/
|
|
1211
|
+
16 && u(
|
|
1212
|
+
o,
|
|
1213
|
+
"clientstyling",
|
|
1214
|
+
/*clientstyling*/
|
|
1215
|
+
e[4]
|
|
1216
|
+
), l[0] & /*clientstylingurl*/
|
|
1217
|
+
32 && u(
|
|
1218
|
+
o,
|
|
1219
|
+
"clientstylingurl",
|
|
1220
|
+
/*clientstylingurl*/
|
|
1221
|
+
e[5]
|
|
1222
|
+
), l[0] & /*clientstyling*/
|
|
1223
|
+
16 && u(
|
|
1224
|
+
t,
|
|
1225
|
+
"clientstyling",
|
|
1226
|
+
/*clientstyling*/
|
|
1227
|
+
e[4]
|
|
1228
|
+
), l[0] & /*clientstylingurl*/
|
|
1229
|
+
32 && u(
|
|
1230
|
+
t,
|
|
1231
|
+
"clientstylingurl",
|
|
1232
|
+
/*clientstylingurl*/
|
|
1233
|
+
e[5]
|
|
1234
|
+
);
|
|
1235
|
+
},
|
|
1236
|
+
d(e) {
|
|
1237
|
+
e && A(t);
|
|
1238
|
+
}
|
|
1239
|
+
};
|
|
1240
|
+
}
|
|
1241
|
+
function $e(i) {
|
|
1242
|
+
let t;
|
|
1243
|
+
function o(l, a) {
|
|
1244
|
+
return (
|
|
1245
|
+
/*isLoading*/
|
|
1246
|
+
l[7] ? Be : We
|
|
1247
|
+
);
|
|
1248
|
+
}
|
|
1249
|
+
let n = o(i), e = n(i);
|
|
1250
|
+
return {
|
|
1251
|
+
c() {
|
|
1252
|
+
t = p("div"), e.c();
|
|
1253
|
+
},
|
|
1254
|
+
m(l, a) {
|
|
1255
|
+
M(l, t, a), e.m(t, null), i[28](t);
|
|
1256
|
+
},
|
|
1257
|
+
p(l, a) {
|
|
1258
|
+
n === (n = o(l)) && e ? e.p(l, a) : (e.d(1), e = n(l), e && (e.c(), e.m(t, null)));
|
|
1259
|
+
},
|
|
1260
|
+
i: x,
|
|
1261
|
+
o: x,
|
|
1262
|
+
d(l) {
|
|
1263
|
+
l && A(t), e.d(), i[28](null);
|
|
1264
|
+
}
|
|
1265
|
+
};
|
|
1266
|
+
}
|
|
1267
|
+
function ei(i, t, o) {
|
|
1268
|
+
let n;
|
|
1269
|
+
Ne(i, Se, (r) => o(15, n = r));
|
|
1270
|
+
let { limitsdata: e = [] } = t, { limitname: l = "" } = t, { playercurrency: a = "" } = t, { lang: m = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: k = "" } = t, { translationurl: h = "" } = t;
|
|
1271
|
+
const L = () => {
|
|
1272
|
+
fetch(h).then((w) => w.json()).then((w) => {
|
|
1273
|
+
Object.keys(w).forEach((U) => {
|
|
1274
|
+
te(U, w[U]);
|
|
1275
|
+
});
|
|
1276
|
+
}).catch((w) => {
|
|
1277
|
+
console.log(w);
|
|
1278
|
+
});
|
|
1279
|
+
};
|
|
1280
|
+
Object.keys(oe).forEach((r) => {
|
|
1281
|
+
te(r, oe[r]);
|
|
1282
|
+
});
|
|
1283
|
+
let b = !0, z, T = new Array(5).fill(0), B = ["Daily", "Weekly", "Monthly"], E = !0, q = !0, j = !1, W = window.navigator.userAgent, R = Ye(W) !== "PC", V = "", C = "", Y = !0, P = O();
|
|
1284
|
+
const I = (r) => {
|
|
1285
|
+
window.postMessage(
|
|
1286
|
+
{
|
|
1287
|
+
type: "EditPlayerAccountGamingLimits",
|
|
1288
|
+
edit: r,
|
|
1289
|
+
name: l
|
|
1290
|
+
},
|
|
1291
|
+
window.location.href
|
|
1292
|
+
);
|
|
1293
|
+
}, D = (r) => {
|
|
1294
|
+
o(11, j = !0), o(10, q = !0), window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href), window.postMessage(
|
|
1295
|
+
{
|
|
1296
|
+
type: "DeleteLimitsItem",
|
|
1297
|
+
removeData: r,
|
|
1298
|
+
removeName: l
|
|
1299
|
+
},
|
|
1300
|
+
window.location.href
|
|
1301
|
+
);
|
|
1302
|
+
}, c = (r, w) => {
|
|
1303
|
+
o(11, j = !0), o(10, q = !1), window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href), window.postMessage(
|
|
1304
|
+
{
|
|
1305
|
+
type: "DeleteLimitsItem",
|
|
1306
|
+
removeData: r,
|
|
1307
|
+
removeName: w
|
|
1308
|
+
},
|
|
1309
|
+
window.location.href
|
|
1310
|
+
);
|
|
1311
|
+
}, f = (r) => {
|
|
1312
|
+
window.postMessage(
|
|
1313
|
+
{
|
|
1314
|
+
type: "ClosePlayerAccountGamingLimitsPopup"
|
|
1315
|
+
},
|
|
1316
|
+
window.location.href
|
|
1317
|
+
), setTimeout(
|
|
1318
|
+
() => {
|
|
1319
|
+
o(8, T[r] = !0, T);
|
|
1320
|
+
},
|
|
1321
|
+
50
|
|
1322
|
+
);
|
|
1323
|
+
}, d = (r) => {
|
|
1324
|
+
let w = [...r];
|
|
1325
|
+
B.forEach((U, Z) => {
|
|
1326
|
+
w.find((X) => X.period === U) || (w = y(w, Z, U));
|
|
1327
|
+
const J = w.find((X) => X.period === U);
|
|
1328
|
+
J && J.amount !== "No limit" && o(9, E = !1);
|
|
1329
|
+
}), r.splice(0, r.length, ...w), o(7, b = !1);
|
|
1330
|
+
}, y = (r, w, U) => {
|
|
1331
|
+
const Z = {
|
|
1332
|
+
period: U,
|
|
1333
|
+
amount: "No limit",
|
|
1334
|
+
currency: "",
|
|
1335
|
+
isModified: !1,
|
|
1336
|
+
expiryDate: ""
|
|
1337
|
+
}, J = [...r];
|
|
1338
|
+
return J.splice(w, 0, Z), J;
|
|
1339
|
+
}, _ = (r, w) => r.period === "Weekly" && w.period === "Daily" || r.period === "Monthly" && w.period === "Daily" || r.period === "Monthly" && w.period === "Weekly" ? 1 : r.period === "Daily" && w.period === "Weekly" || r.period === "Daily" && w.period === "Monthly" || r.period === "Weekly" && w.period === "Monthly" ? -1 : 0, H = () => {
|
|
1340
|
+
let r = "";
|
|
1341
|
+
r = l === "Time Limit" ? "time limit" : l === "Deposit Limit" ? "deposit limit" : l === "Wagering Limit" ? "wagering limit" : "loss limit", o(12, V = n("removeLimitsText", { values: { limit: r } })), o(13, C = n("removeLimitText", { values: { limit: r } }));
|
|
1342
|
+
}, fe = (r) => {
|
|
1343
|
+
r.forEach((w) => {
|
|
1344
|
+
w.isModified && o(14, Y = !1);
|
|
1345
|
+
});
|
|
1346
|
+
}, ve = () => {
|
|
1347
|
+
Fe(m), H(), fe(e), d(e), e.sort(_);
|
|
1348
|
+
}, ie = (r) => {
|
|
1349
|
+
if (r.data)
|
|
1350
|
+
switch (r.data.type) {
|
|
1351
|
+
case "ClosePlayerAccountGamingLimitsPopup":
|
|
1352
|
+
o(8, T = new Array(5).fill(0));
|
|
1353
|
+
break;
|
|
1354
|
+
case "ModalClosed":
|
|
1355
|
+
window.postMessage({ type: "EnableScroll" }, window.location.href), o(11, j = !1), o(10, q = !1);
|
|
1356
|
+
break;
|
|
1357
|
+
}
|
|
1358
|
+
}, ge = () => {
|
|
1359
|
+
let r = document.createElement("style");
|
|
1360
|
+
r.innerHTML = v, z.appendChild(r);
|
|
1361
|
+
}, Le = () => {
|
|
1362
|
+
let r = new URL(k), w = document.createElement("style");
|
|
1363
|
+
fetch(r.href).then((U) => U.text()).then((U) => {
|
|
1364
|
+
w.innerHTML = U, setTimeout(
|
|
1365
|
+
() => {
|
|
1366
|
+
z.appendChild(w);
|
|
1367
|
+
},
|
|
1368
|
+
1
|
|
1369
|
+
);
|
|
1370
|
+
});
|
|
1371
|
+
};
|
|
1372
|
+
Ee(() => (window.addEventListener("message", ie, !1), () => {
|
|
1373
|
+
window.removeEventListener("message", ie);
|
|
1374
|
+
}));
|
|
1375
|
+
const ye = () => f(0), _e = (r) => f(r + 1), we = (r) => f(r + 1), he = () => I(e), be = () => D(e);
|
|
1376
|
+
function Ce(r) {
|
|
1377
|
+
je[r ? "unshift" : "push"](() => {
|
|
1378
|
+
z = r, o(6, z);
|
|
1379
|
+
});
|
|
1380
|
+
}
|
|
1381
|
+
return i.$$set = (r) => {
|
|
1382
|
+
"limitsdata" in r && o(0, e = r.limitsdata), "limitname" in r && o(1, l = r.limitname), "playercurrency" in r && o(2, a = r.playercurrency), "lang" in r && o(3, m = r.lang), "clientstyling" in r && o(4, v = r.clientstyling), "clientstylingurl" in r && o(5, k = r.clientstylingurl), "translationurl" in r && o(22, h = r.translationurl);
|
|
1383
|
+
}, i.$$.update = () => {
|
|
1384
|
+
i.$$.dirty[0] & /*limitsdata, limitname, lang*/
|
|
1385
|
+
11 && e && l && m && ve(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1386
|
+
80 && v && z && ge(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1387
|
+
96 && k && z && Le(), i.$$.dirty[0] & /*translationurl*/
|
|
1388
|
+
4194304 && h && L();
|
|
1389
|
+
}, [
|
|
1390
|
+
e,
|
|
1391
|
+
l,
|
|
1392
|
+
a,
|
|
1393
|
+
m,
|
|
1394
|
+
v,
|
|
1395
|
+
k,
|
|
1396
|
+
z,
|
|
1397
|
+
b,
|
|
1398
|
+
T,
|
|
1399
|
+
E,
|
|
1400
|
+
q,
|
|
1401
|
+
j,
|
|
1402
|
+
V,
|
|
1403
|
+
C,
|
|
1404
|
+
Y,
|
|
1405
|
+
n,
|
|
1406
|
+
R,
|
|
1407
|
+
P,
|
|
1408
|
+
I,
|
|
1409
|
+
D,
|
|
1410
|
+
c,
|
|
1411
|
+
f,
|
|
1412
|
+
h,
|
|
1413
|
+
ye,
|
|
1414
|
+
_e,
|
|
1415
|
+
we,
|
|
1416
|
+
he,
|
|
1417
|
+
be,
|
|
1418
|
+
Ce
|
|
1419
|
+
];
|
|
1420
|
+
}
|
|
1421
|
+
class ii extends De {
|
|
1422
|
+
constructor(t) {
|
|
1423
|
+
super(), Me(
|
|
1424
|
+
this,
|
|
1425
|
+
t,
|
|
1426
|
+
ei,
|
|
1427
|
+
$e,
|
|
1428
|
+
Te,
|
|
1429
|
+
{
|
|
1430
|
+
limitsdata: 0,
|
|
1431
|
+
limitname: 1,
|
|
1432
|
+
playercurrency: 2,
|
|
1433
|
+
lang: 3,
|
|
1434
|
+
clientstyling: 4,
|
|
1435
|
+
clientstylingurl: 5,
|
|
1436
|
+
translationurl: 22
|
|
1437
|
+
},
|
|
1438
|
+
qe,
|
|
1439
|
+
[-1, -1]
|
|
1440
|
+
);
|
|
1441
|
+
}
|
|
1442
|
+
get limitsdata() {
|
|
1443
|
+
return this.$$.ctx[0];
|
|
1444
|
+
}
|
|
1445
|
+
set limitsdata(t) {
|
|
1446
|
+
this.$$set({ limitsdata: t }), G();
|
|
1447
|
+
}
|
|
1448
|
+
get limitname() {
|
|
1449
|
+
return this.$$.ctx[1];
|
|
1450
|
+
}
|
|
1451
|
+
set limitname(t) {
|
|
1452
|
+
this.$$set({ limitname: t }), G();
|
|
1453
|
+
}
|
|
1454
|
+
get playercurrency() {
|
|
1455
|
+
return this.$$.ctx[2];
|
|
1456
|
+
}
|
|
1457
|
+
set playercurrency(t) {
|
|
1458
|
+
this.$$set({ playercurrency: t }), G();
|
|
1459
|
+
}
|
|
1460
|
+
get lang() {
|
|
1461
|
+
return this.$$.ctx[3];
|
|
1462
|
+
}
|
|
1463
|
+
set lang(t) {
|
|
1464
|
+
this.$$set({ lang: t }), G();
|
|
1465
|
+
}
|
|
1466
|
+
get clientstyling() {
|
|
1467
|
+
return this.$$.ctx[4];
|
|
1468
|
+
}
|
|
1469
|
+
set clientstyling(t) {
|
|
1470
|
+
this.$$set({ clientstyling: t }), G();
|
|
1471
|
+
}
|
|
1472
|
+
get clientstylingurl() {
|
|
1473
|
+
return this.$$.ctx[5];
|
|
1474
|
+
}
|
|
1475
|
+
set clientstylingurl(t) {
|
|
1476
|
+
this.$$set({ clientstylingurl: t }), G();
|
|
1477
|
+
}
|
|
1478
|
+
get translationurl() {
|
|
1479
|
+
return this.$$.ctx[22];
|
|
1480
|
+
}
|
|
1481
|
+
set translationurl(t) {
|
|
1482
|
+
this.$$set({ translationurl: t }), G();
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
Ae(ii, { limitsdata: {}, limitname: {}, playercurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
1486
|
+
export {
|
|
1487
|
+
ii as default
|
|
1488
|
+
};
|