@everymatrix/casino-lobby 1.56.0 → 1.56.3

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.
Files changed (89) hide show
  1. package/components/{CasinoCalendar-_T8fa3tA.js → CasinoCalendar-BU2gZgoA.js} +1019 -957
  2. package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-BYhP1252.js} +989 -927
  3. package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-BvbgM2tY.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-zomrPGwC.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-BCuBW8Ar.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DO4dUNpH.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
  10. package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-BOJ1THEs.js} +65 -65
  12. package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BXOmh9s8.js} +66 -66
  13. package/components/CasinoCollectionsProviders-BFNXK0mZ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-BX_dEzdy.js} +254 -264
  15. package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-CRAmbMuu.js} +259 -269
  16. package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-B74AEiJU.js} +27 -27
  17. package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-BSNrnBte.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-CUsEA5HO.js} +27 -27
  19. package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-BtQon8od.js} +252 -247
  20. package/components/CasinoFilter-D06f7IqM.cjs +1 -0
  21. package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-Du7IqNdv.js} +241 -238
  22. package/components/CasinoGamePage-C8xrFvIL.cjs +18 -0
  23. package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-CHQ3jlqS.js} +1715 -1761
  24. package/components/CasinoGamePage-Dn6JZ69a.js +4250 -0
  25. package/components/CasinoGameThumbnail-BrbFrK0r.cjs +38 -0
  26. package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-CYrNJU7D.js} +275 -286
  27. package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-ConJfCt9.js} +374 -353
  28. package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-BZB6Hzxo.js} +255 -248
  29. package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-Bt_a-XLq.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-C4dkhfxd.js} +255 -248
  31. package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-B6za0Zjf.js} +72 -72
  32. package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
  33. package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-DVU6U9lr.js} +79 -79
  34. package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-3_wA_Avg.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-F-ue8Czk.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-OIDJ7awN.js} +43 -43
  37. package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-BKNxdOkN.js} +61 -61
  38. package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-BMoJpsqG.cjs} +1 -1
  39. package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-fcvl9kle.js} +59 -59
  40. package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
  41. package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-BEa4Ij-6.js} +55 -55
  42. package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-CFbQNGPR.js} +55 -55
  43. package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection--tFE0qmd.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-B-pH8QJC.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-CdXD9mvv.cjs} +1 -1
  46. package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-5m477zEd.cjs} +1 -1
  47. package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-C6SFrIqO.js} +58 -54
  48. package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-ol3GWqow.js} +59 -55
  49. package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-BRTqbLqB.cjs} +1 -1
  50. package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-B_xsttc_.js} +99 -95
  51. package/components/{CasinoPage-BnrghJel.js → CasinoPage-C-PL0HAg.js} +99 -95
  52. package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-DcHbcmu8.js} +71 -69
  53. package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
  54. package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-Njs6ODWp.js} +71 -69
  55. package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-CYInCP4K.cjs} +1 -1
  56. package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-DQDz7QLo.js} +83 -80
  57. package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-H1BPrBzU.js} +83 -80
  58. package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BbRVIW35.js} +74 -74
  59. package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
  60. package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BpVYjfEZ.js} +85 -85
  61. package/components/{CasinoSort-BnarJSWg.js → CasinoSort-BCZs_7vq.js} +107 -107
  62. package/components/{CasinoSort-DltZUpda.js → CasinoSort-BIiSCydQ.js} +115 -113
  63. package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
  64. package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
  65. package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-D9QEbcwQ.js} +161 -159
  66. package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-fcmQdKZx.js} +152 -150
  67. package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-BEyM9jr_.js} +16 -16
  68. package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-uTgCxIjZ.js} +16 -16
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
  75. package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
  76. package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  77. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  78. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  79. package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
  80. package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +0 -1
  83. package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
  84. package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
  85. package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
  86. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
  87. package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
  88. package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
  89. package/stencil/index-29915e18-MPiqo7vY.js +0 -646
@@ -1,4296 +0,0 @@
1
- var kr = (e, t, s) => new Promise((r, n) => {
2
- var i = (c) => {
3
- try {
4
- l(s.next(c));
5
- } catch (h) {
6
- n(h);
7
- }
8
- }, a = (c) => {
9
- try {
10
- l(s.throw(c));
11
- } catch (h) {
12
- n(h);
13
- }
14
- }, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(i, a);
15
- l((s = s.apply(e, t)).next());
16
- });
17
- import { $ as Ts, W as _i, a as yi, S as pi, i as wi, s as ki, f as te, b as vi, n as $e, d as q, h as J, j as _, k as bi, Y as Si, o as Mi, l as rt, Z as Fi, C as ue, m as V, p as d, q as Z, r as u, G as re, F as Dt, D as me, _ as je, A as ie, B as z, U as Yt, N as vr, E as Qt, I as Di, J as Yi, K as Oi, L as Ti, M as Ii } from "./CasinoCalendar-CSMUhfCr.js";
18
- function Pi({ withLocale: e, translations: t }) {
19
- Ts.subscribe((s) => {
20
- s == null && (_i.set(t), Ts.set(e));
21
- });
22
- }
23
- function br(e, t) {
24
- yi(e, t);
25
- }
26
- function Ri(e) {
27
- Ts.set(e);
28
- }
29
- const Sr = {
30
- en: {
31
- signIn: "LOGIN",
32
- register: "REGISTER",
33
- deposit: "DEPOSIT",
34
- playForFun: "Play for fun",
35
- playNow: "Start now!",
36
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
37
- loading: "Loading, please wait ..."
38
- },
39
- "zh-hk": {
40
- signIn: "登錄",
41
- register: "登記",
42
- deposit: "訂金",
43
- playForFun: "玩得開心",
44
- playNow: "現在開始",
45
- breakButton: "休息 1 天",
46
- loading: "加載請稍候 ..."
47
- },
48
- de: {
49
- signIn: "Einloggen",
50
- register: "REGISTRIEREN",
51
- deposit: "Einzahlung",
52
- playForFun: "Play for fun",
53
- playNow: "Jetzt beginnen!",
54
- breakButton: "Für 24 Std. Games Sofortpause, 3 Sekunden drücken",
55
- loading: "Es lädt, bitte warten..."
56
- },
57
- it: {
58
- signIn: "LOGIN",
59
- register: "REGISTRATI",
60
- deposit: "DEPOSITO",
61
- playForFun: "Play for fun",
62
- playNow: "Inizia ora!",
63
- breakButton: "Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",
64
- loading: "Loading, please wait..."
65
- },
66
- fr: {
67
- signIn: "Connectez-vous",
68
- register: "Enregistrer",
69
- deposit: "Dépôt",
70
- playForFun: "Jouer pour le plaisir",
71
- playNow: "Commencez maintenant",
72
- break: "Fair une pause d'un jour pour jouer",
73
- breakButton: "Refroidissement de 24 heures",
74
- loading: "Chargement, veuillez patienter..."
75
- },
76
- es: {
77
- signIn: "Iniciar sesión",
78
- register: "REGÍSTRATE",
79
- deposit: "Deposita",
80
- playForFun: "Modo práctica",
81
- playNow: "Juega ahora!",
82
- breakButton: "Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",
83
- loading: "Cargando por favor espere ..."
84
- },
85
- tr: {
86
- signIn: "OTURUM AÇ",
87
- register: "KAYIT OL",
88
- deposit: "DEPOZİTO",
89
- playForFun: "EĞLENCE İÇİN OYNA",
90
- playNow: "ŞİMDİ OYNA",
91
- breakButton: "24 saatlik kilit için düğmeyi 3 saniye basılı tutun",
92
- loading: "Yükleniyor, lütfen bekleyin..."
93
- },
94
- ru: {
95
- signIn: "АВТОРИЗОВАТЬСЯ",
96
- register: "ПОДПИСАТЬСЯ",
97
- deposit: "ДЕПОЗИТ",
98
- playForFun: "ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",
99
- playNow: "ИГРАТЬ СЕЙЧАС",
100
- breakButton: "Сделайте 1 день перерыва в игре - 24-hour Cool Off",
101
- loading: "Loading, please wait..."
102
- },
103
- ro: {
104
- signIn: "AUTENTIFICARE",
105
- register: "INREGISTRARE",
106
- deposit: "DEPOZITEAZA",
107
- playForFun: "JOACĂ PENTRU DISTRACTIE",
108
- playNow: "JOACĂ ACUM",
109
- breakButton: "Luați o pauză de la joc - 24-hour Cool Off",
110
- loading: "Se incarca, te rugam asteapta…"
111
- },
112
- hr: {
113
- signIn: "PRIJAVA",
114
- register: "REGISTRACIJA",
115
- deposit: "UPLATA",
116
- playForFun: "Igraj za zabavu",
117
- playNow: "Igraj",
118
- breakButton: "Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",
119
- loading: "Učitavanje"
120
- },
121
- hu: {
122
- signIn: "Bejelentkezés",
123
- register: "REGISZTRÁCIÓ",
124
- deposit: "Befizetés",
125
- playForFun: "Play for fun",
126
- playNow: "Játsszon most!",
127
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
128
- loading: "Betöltés, kérjük várjon..."
129
- },
130
- pl: {
131
- signIn: "Zaloguj się",
132
- register: "REJESTRACJA",
133
- deposit: "Wpłata",
134
- playForFun: "Graj dla zabawy",
135
- playNow: "Rozpocznij teraz!",
136
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
137
- loading: "Loading, please wait..."
138
- },
139
- pt: {
140
- signIn: "Entrar",
141
- register: "REGISTRO",
142
- deposit: "Depósito",
143
- playForFun: "Jogue por diversão",
144
- playNow: "Comece agora!",
145
- breakButton: "Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",
146
- loading: "Carregando, por favor espere ..."
147
- },
148
- sl: {
149
- signIn: "Prijavite se",
150
- register: "REGISTRACIJA",
151
- deposit: "Vplačilo",
152
- playForFun: "Igrajte za zabavo",
153
- playNow: "Začnite zdaj!",
154
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
155
- loading: "Loading, please wait..."
156
- },
157
- sr: {
158
- signIn: "Prijavi se",
159
- register: "REGISTRACIJA",
160
- deposit: "Uplata",
161
- playForFun: "Igraj za zabavu",
162
- playNow: "Započnite sada!",
163
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
164
- loading: "Loading, please wait..."
165
- },
166
- "pt-br": {
167
- signIn: "ENTRAR",
168
- register: "REGISTRO",
169
- deposit: "DEPÓSITO",
170
- playForFun: "Jogue por diversão",
171
- playNow: "Comece agora!",
172
- breakButton: "Pressione o botão por 3 segundos para uma pausa de 24 horas",
173
- Loading: "Carregando, por favor espere..."
174
- },
175
- "es-mx": {
176
- signIn: "INGRESAR",
177
- register: "REGISTRO",
178
- deposit: "DEPÓSITO",
179
- playForFun: "Jugar Por Diversión",
180
- playNow: "Comenzar ahora!",
181
- breakButton: "Presionar botón 3 segundos para un bloqueo de 24 horas",
182
- Loading: "Cargando, por favor espere..."
183
- },
184
- "en-us": {
185
- signIn: "LOGIN",
186
- register: "REGISTER",
187
- deposit: "DEPOSIT",
188
- playForFun: "Play for fun",
189
- playNow: "Start now!",
190
- breakButton: "Hold button for 3 seconds to take 24-hours instant lock",
191
- loading: "Loading, please wait ..."
192
- }
193
- };
194
- function Li(e) {
195
- throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
196
- }
197
- //! moment.js
198
- //! version : 2.30.1
199
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
200
- //! license : MIT
201
- //! momentjs.com
202
- var Nr;
203
- function m() {
204
- return Nr.apply(null, arguments);
205
- }
206
- function Ni(e) {
207
- Nr = e;
208
- }
209
- function pe(e) {
210
- return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
211
- }
212
- function Ke(e) {
213
- return e != null && Object.prototype.toString.call(e) === "[object Object]";
214
- }
215
- function C(e, t) {
216
- return Object.prototype.hasOwnProperty.call(e, t);
217
- }
218
- function Es(e) {
219
- if (Object.getOwnPropertyNames)
220
- return Object.getOwnPropertyNames(e).length === 0;
221
- var t;
222
- for (t in e)
223
- if (C(e, t))
224
- return !1;
225
- return !0;
226
- }
227
- function de(e) {
228
- return e === void 0;
229
- }
230
- function Ne(e) {
231
- return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
232
- }
233
- function Ot(e) {
234
- return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
235
- }
236
- function Cr(e, t) {
237
- var s = [], r, n = e.length;
238
- for (r = 0; r < n; ++r)
239
- s.push(t(e[r], r));
240
- return s;
241
- }
242
- function Ae(e, t) {
243
- for (var s in t)
244
- C(t, s) && (e[s] = t[s]);
245
- return C(t, "toString") && (e.toString = t.toString), C(t, "valueOf") && (e.valueOf = t.valueOf), e;
246
- }
247
- function Me(e, t, s, r) {
248
- return nn(e, t, s, r, !0).utc();
249
- }
250
- function Ci() {
251
- return {
252
- empty: !1,
253
- unusedTokens: [],
254
- unusedInput: [],
255
- overflow: -2,
256
- charsLeftOver: 0,
257
- nullInput: !1,
258
- invalidEra: null,
259
- invalidMonth: null,
260
- invalidFormat: !1,
261
- userInvalidated: !1,
262
- iso: !1,
263
- parsedDateParts: [],
264
- era: null,
265
- meridiem: null,
266
- rfc2822: !1,
267
- weekdayMismatch: !1
268
- };
269
- }
270
- function F(e) {
271
- return e._pf == null && (e._pf = Ci()), e._pf;
272
- }
273
- var Is;
274
- Array.prototype.some ? Is = Array.prototype.some : Is = function(e) {
275
- var t = Object(this), s = t.length >>> 0, r;
276
- for (r = 0; r < s; r++)
277
- if (r in t && e.call(this, t[r], r, t))
278
- return !0;
279
- return !1;
280
- };
281
- function Ws(e) {
282
- var t = null, s = !1, r = e._d && !isNaN(e._d.getTime());
283
- if (r && (t = F(e), s = Is.call(t.parsedDateParts, function(n) {
284
- return n != null;
285
- }), r = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && s), e._strict && (r = r && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
286
- e._isValid = r;
287
- else
288
- return r;
289
- return e._isValid;
290
- }
291
- function ss(e) {
292
- var t = Me(NaN);
293
- return e != null ? Ae(F(t), e) : F(t).userInvalidated = !0, t;
294
- }
295
- var Mr = m.momentProperties = [], Fs = !1;
296
- function Gs(e, t) {
297
- var s, r, n, i = Mr.length;
298
- if (de(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), de(t._i) || (e._i = t._i), de(t._f) || (e._f = t._f), de(t._l) || (e._l = t._l), de(t._strict) || (e._strict = t._strict), de(t._tzm) || (e._tzm = t._tzm), de(t._isUTC) || (e._isUTC = t._isUTC), de(t._offset) || (e._offset = t._offset), de(t._pf) || (e._pf = F(t)), de(t._locale) || (e._locale = t._locale), i > 0)
299
- for (s = 0; s < i; s++)
300
- r = Mr[s], n = t[r], de(n) || (e[r] = n);
301
- return e;
302
- }
303
- function Tt(e) {
304
- Gs(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Fs === !1 && (Fs = !0, m.updateOffset(this), Fs = !1);
305
- }
306
- function we(e) {
307
- return e instanceof Tt || e != null && e._isAMomentObject != null;
308
- }
309
- function xr(e) {
310
- m.suppressDeprecationWarnings === !1 && typeof console != "undefined" && console.warn && console.warn("Deprecation warning: " + e);
311
- }
312
- function ge(e, t) {
313
- var s = !0;
314
- return Ae(function() {
315
- if (m.deprecationHandler != null && m.deprecationHandler(null, e), s) {
316
- var r = [], n, i, a, l = arguments.length;
317
- for (i = 0; i < l; i++) {
318
- if (n = "", typeof arguments[i] == "object") {
319
- n += `
320
- [` + i + "] ";
321
- for (a in arguments[0])
322
- C(arguments[0], a) && (n += a + ": " + arguments[0][a] + ", ");
323
- n = n.slice(0, -2);
324
- } else
325
- n = arguments[i];
326
- r.push(n);
327
- }
328
- xr(
329
- e + `
330
- Arguments: ` + Array.prototype.slice.call(r).join("") + `
331
- ` + new Error().stack
332
- ), s = !1;
333
- }
334
- return t.apply(this, arguments);
335
- }, t);
336
- }
337
- var Fr = {};
338
- function Er(e, t) {
339
- m.deprecationHandler != null && m.deprecationHandler(e, t), Fr[e] || (xr(t), Fr[e] = !0);
340
- }
341
- m.suppressDeprecationWarnings = !1;
342
- m.deprecationHandler = null;
343
- function Fe(e) {
344
- return typeof Function != "undefined" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
345
- }
346
- function xi(e) {
347
- var t, s;
348
- for (s in e)
349
- C(e, s) && (t = e[s], Fe(t) ? this[s] = t : this["_" + s] = t);
350
- this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
351
- (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
352
- );
353
- }
354
- function Ps(e, t) {
355
- var s = Ae({}, e), r;
356
- for (r in t)
357
- C(t, r) && (Ke(e[r]) && Ke(t[r]) ? (s[r] = {}, Ae(s[r], e[r]), Ae(s[r], t[r])) : t[r] != null ? s[r] = t[r] : delete s[r]);
358
- for (r in e)
359
- C(e, r) && !C(t, r) && Ke(e[r]) && (s[r] = Ae({}, s[r]));
360
- return s;
361
- }
362
- function Us(e) {
363
- e != null && this.set(e);
364
- }
365
- var Rs;
366
- Object.keys ? Rs = Object.keys : Rs = function(e) {
367
- var t, s = [];
368
- for (t in e)
369
- C(e, t) && s.push(t);
370
- return s;
371
- };
372
- var Ei = {
373
- sameDay: "[Today at] LT",
374
- nextDay: "[Tomorrow at] LT",
375
- nextWeek: "dddd [at] LT",
376
- lastDay: "[Yesterday at] LT",
377
- lastWeek: "[Last] dddd [at] LT",
378
- sameElse: "L"
379
- };
380
- function Wi(e, t, s) {
381
- var r = this._calendar[e] || this._calendar.sameElse;
382
- return Fe(r) ? r.call(t, s) : r;
383
- }
384
- function Se(e, t, s) {
385
- var r = "" + Math.abs(e), n = t - r.length, i = e >= 0;
386
- return (i ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + r;
387
- }
388
- var As = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Bt = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Ds = {}, ot = {};
389
- function y(e, t, s, r) {
390
- var n = r;
391
- typeof r == "string" && (n = function() {
392
- return this[r]();
393
- }), e && (ot[e] = n), t && (ot[t[0]] = function() {
394
- return Se(n.apply(this, arguments), t[1], t[2]);
395
- }), s && (ot[s] = function() {
396
- return this.localeData().ordinal(
397
- n.apply(this, arguments),
398
- e
399
- );
400
- });
401
- }
402
- function Gi(e) {
403
- return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
404
- }
405
- function Ui(e) {
406
- var t = e.match(As), s, r;
407
- for (s = 0, r = t.length; s < r; s++)
408
- ot[t[s]] ? t[s] = ot[t[s]] : t[s] = Gi(t[s]);
409
- return function(n) {
410
- var i = "", a;
411
- for (a = 0; a < r; a++)
412
- i += Fe(t[a]) ? t[a].call(n, e) : t[a];
413
- return i;
414
- };
415
- }
416
- function Zt(e, t) {
417
- return e.isValid() ? (t = Wr(t, e.localeData()), Ds[t] = Ds[t] || Ui(t), Ds[t](e)) : e.localeData().invalidDate();
418
- }
419
- function Wr(e, t) {
420
- var s = 5;
421
- function r(n) {
422
- return t.longDateFormat(n) || n;
423
- }
424
- for (Bt.lastIndex = 0; s >= 0 && Bt.test(e); )
425
- e = e.replace(
426
- Bt,
427
- r
428
- ), Bt.lastIndex = 0, s -= 1;
429
- return e;
430
- }
431
- var Ai = {
432
- LTS: "h:mm:ss A",
433
- LT: "h:mm A",
434
- L: "MM/DD/YYYY",
435
- LL: "MMMM D, YYYY",
436
- LLL: "MMMM D, YYYY h:mm A",
437
- LLLL: "dddd, MMMM D, YYYY h:mm A"
438
- };
439
- function Hi(e) {
440
- var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
441
- return t || !s ? t : (this._longDateFormat[e] = s.match(As).map(function(r) {
442
- return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
443
- }).join(""), this._longDateFormat[e]);
444
- }
445
- var zi = "Invalid date";
446
- function ji() {
447
- return this._invalidDate;
448
- }
449
- var Bi = "%d", Vi = /\d{1,2}/;
450
- function Zi(e) {
451
- return this._ordinal.replace("%d", e);
452
- }
453
- var qi = {
454
- future: "in %s",
455
- past: "%s ago",
456
- s: "a few seconds",
457
- ss: "%d seconds",
458
- m: "a minute",
459
- mm: "%d minutes",
460
- h: "an hour",
461
- hh: "%d hours",
462
- d: "a day",
463
- dd: "%d days",
464
- w: "a week",
465
- ww: "%d weeks",
466
- M: "a month",
467
- MM: "%d months",
468
- y: "a year",
469
- yy: "%d years"
470
- };
471
- function Ji(e, t, s, r) {
472
- var n = this._relativeTime[s];
473
- return Fe(n) ? n(e, t, s, r) : n.replace(/%d/i, e);
474
- }
475
- function Qi(e, t) {
476
- var s = this._relativeTime[e > 0 ? "future" : "past"];
477
- return Fe(s) ? s(t) : s.replace(/%s/i, t);
478
- }
479
- var Dr = {
480
- D: "date",
481
- dates: "date",
482
- date: "date",
483
- d: "day",
484
- days: "day",
485
- day: "day",
486
- e: "weekday",
487
- weekdays: "weekday",
488
- weekday: "weekday",
489
- E: "isoWeekday",
490
- isoweekdays: "isoWeekday",
491
- isoweekday: "isoWeekday",
492
- DDD: "dayOfYear",
493
- dayofyears: "dayOfYear",
494
- dayofyear: "dayOfYear",
495
- h: "hour",
496
- hours: "hour",
497
- hour: "hour",
498
- ms: "millisecond",
499
- milliseconds: "millisecond",
500
- millisecond: "millisecond",
501
- m: "minute",
502
- minutes: "minute",
503
- minute: "minute",
504
- M: "month",
505
- months: "month",
506
- month: "month",
507
- Q: "quarter",
508
- quarters: "quarter",
509
- quarter: "quarter",
510
- s: "second",
511
- seconds: "second",
512
- second: "second",
513
- gg: "weekYear",
514
- weekyears: "weekYear",
515
- weekyear: "weekYear",
516
- GG: "isoWeekYear",
517
- isoweekyears: "isoWeekYear",
518
- isoweekyear: "isoWeekYear",
519
- w: "week",
520
- weeks: "week",
521
- week: "week",
522
- W: "isoWeek",
523
- isoweeks: "isoWeek",
524
- isoweek: "isoWeek",
525
- y: "year",
526
- years: "year",
527
- year: "year"
528
- };
529
- function _e(e) {
530
- return typeof e == "string" ? Dr[e] || Dr[e.toLowerCase()] : void 0;
531
- }
532
- function Hs(e) {
533
- var t = {}, s, r;
534
- for (r in e)
535
- C(e, r) && (s = _e(r), s && (t[s] = e[r]));
536
- return t;
537
- }
538
- var Xi = {
539
- date: 9,
540
- day: 11,
541
- weekday: 11,
542
- isoWeekday: 11,
543
- dayOfYear: 4,
544
- hour: 13,
545
- millisecond: 16,
546
- minute: 14,
547
- month: 8,
548
- quarter: 7,
549
- second: 15,
550
- weekYear: 1,
551
- isoWeekYear: 1,
552
- week: 5,
553
- isoWeek: 5,
554
- year: 1
555
- };
556
- function Ki(e) {
557
- var t = [], s;
558
- for (s in e)
559
- C(e, s) && t.push({ unit: s, priority: Xi[s] });
560
- return t.sort(function(r, n) {
561
- return r.priority - n.priority;
562
- }), t;
563
- }
564
- var Gr = /\d/, ce = /\d\d/, Ur = /\d{3}/, zs = /\d{4}/, rs = /[+-]?\d{6}/, X = /\d\d?/, Ar = /\d\d\d\d?/, Hr = /\d\d\d\d\d\d?/, ns = /\d{1,3}/, js = /\d{1,4}/, is = /[+-]?\d{1,6}/, dt = /\d+/, as = /[+-]?\d+/, $i = /Z|[+-]\d\d:?\d\d/gi, os = /Z|[+-]\d\d(?::?\d\d)?/gi, ea = /[+-]?\d+(\.\d{1,3})?/, It = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ct = /^[1-9]\d?/, Bs = /^([1-9]\d|\d)/, Xt;
565
- Xt = {};
566
- function g(e, t, s) {
567
- Xt[e] = Fe(t) ? t : function(r, n) {
568
- return r && s ? s : t;
569
- };
570
- }
571
- function ta(e, t) {
572
- return C(Xt, e) ? Xt[e](t._strict, t._locale) : new RegExp(sa(e));
573
- }
574
- function sa(e) {
575
- return Re(
576
- e.replace("\\", "").replace(
577
- /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
578
- function(t, s, r, n, i) {
579
- return s || r || n || i;
580
- }
581
- )
582
- );
583
- }
584
- function Re(e) {
585
- return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
586
- }
587
- function he(e) {
588
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
589
- }
590
- function I(e) {
591
- var t = +e, s = 0;
592
- return t !== 0 && isFinite(t) && (s = he(t)), s;
593
- }
594
- var Ls = {};
595
- function U(e, t) {
596
- var s, r = t, n;
597
- for (typeof e == "string" && (e = [e]), Ne(t) && (r = function(i, a) {
598
- a[t] = I(i);
599
- }), n = e.length, s = 0; s < n; s++)
600
- Ls[e[s]] = r;
601
- }
602
- function Pt(e, t) {
603
- U(e, function(s, r, n, i) {
604
- n._w = n._w || {}, t(s, n._w, n, i);
605
- });
606
- }
607
- function ra(e, t, s) {
608
- t != null && C(Ls, e) && Ls[e](t, s._a, s, e);
609
- }
610
- function ls(e) {
611
- return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
612
- }
613
- var oe = 0, Ie = 1, be = 2, ne = 3, ye = 4, Pe = 5, Xe = 6, na = 7, ia = 8;
614
- y("Y", 0, 0, function() {
615
- var e = this.year();
616
- return e <= 9999 ? Se(e, 4) : "+" + e;
617
- });
618
- y(0, ["YY", 2], 0, function() {
619
- return this.year() % 100;
620
- });
621
- y(0, ["YYYY", 4], 0, "year");
622
- y(0, ["YYYYY", 5], 0, "year");
623
- y(0, ["YYYYYY", 6, !0], 0, "year");
624
- g("Y", as);
625
- g("YY", X, ce);
626
- g("YYYY", js, zs);
627
- g("YYYYY", is, rs);
628
- g("YYYYYY", is, rs);
629
- U(["YYYYY", "YYYYYY"], oe);
630
- U("YYYY", function(e, t) {
631
- t[oe] = e.length === 2 ? m.parseTwoDigitYear(e) : I(e);
632
- });
633
- U("YY", function(e, t) {
634
- t[oe] = m.parseTwoDigitYear(e);
635
- });
636
- U("Y", function(e, t) {
637
- t[oe] = parseInt(e, 10);
638
- });
639
- function vt(e) {
640
- return ls(e) ? 366 : 365;
641
- }
642
- m.parseTwoDigitYear = function(e) {
643
- return I(e) + (I(e) > 68 ? 1900 : 2e3);
644
- };
645
- var zr = ft("FullYear", !0);
646
- function aa() {
647
- return ls(this.year());
648
- }
649
- function ft(e, t) {
650
- return function(s) {
651
- return s != null ? (jr(this, e, s), m.updateOffset(this, t), this) : bt(this, e);
652
- };
653
- }
654
- function bt(e, t) {
655
- if (!e.isValid())
656
- return NaN;
657
- var s = e._d, r = e._isUTC;
658
- switch (t) {
659
- case "Milliseconds":
660
- return r ? s.getUTCMilliseconds() : s.getMilliseconds();
661
- case "Seconds":
662
- return r ? s.getUTCSeconds() : s.getSeconds();
663
- case "Minutes":
664
- return r ? s.getUTCMinutes() : s.getMinutes();
665
- case "Hours":
666
- return r ? s.getUTCHours() : s.getHours();
667
- case "Date":
668
- return r ? s.getUTCDate() : s.getDate();
669
- case "Day":
670
- return r ? s.getUTCDay() : s.getDay();
671
- case "Month":
672
- return r ? s.getUTCMonth() : s.getMonth();
673
- case "FullYear":
674
- return r ? s.getUTCFullYear() : s.getFullYear();
675
- default:
676
- return NaN;
677
- }
678
- }
679
- function jr(e, t, s) {
680
- var r, n, i, a, l;
681
- if (!(!e.isValid() || isNaN(s))) {
682
- switch (r = e._d, n = e._isUTC, t) {
683
- case "Milliseconds":
684
- return void (n ? r.setUTCMilliseconds(s) : r.setMilliseconds(s));
685
- case "Seconds":
686
- return void (n ? r.setUTCSeconds(s) : r.setSeconds(s));
687
- case "Minutes":
688
- return void (n ? r.setUTCMinutes(s) : r.setMinutes(s));
689
- case "Hours":
690
- return void (n ? r.setUTCHours(s) : r.setHours(s));
691
- case "Date":
692
- return void (n ? r.setUTCDate(s) : r.setDate(s));
693
- case "FullYear":
694
- break;
695
- default:
696
- return;
697
- }
698
- i = s, a = e.month(), l = e.date(), l = l === 29 && a === 1 && !ls(i) ? 28 : l, n ? r.setUTCFullYear(i, a, l) : r.setFullYear(i, a, l);
699
- }
700
- }
701
- function oa(e) {
702
- return e = _e(e), Fe(this[e]) ? this[e]() : this;
703
- }
704
- function la(e, t) {
705
- if (typeof e == "object") {
706
- e = Hs(e);
707
- var s = Ki(e), r, n = s.length;
708
- for (r = 0; r < n; r++)
709
- this[s[r].unit](e[s[r].unit]);
710
- } else if (e = _e(e), Fe(this[e]))
711
- return this[e](t);
712
- return this;
713
- }
714
- function ua(e, t) {
715
- return (e % t + t) % t;
716
- }
717
- var se;
718
- Array.prototype.indexOf ? se = Array.prototype.indexOf : se = function(e) {
719
- var t;
720
- for (t = 0; t < this.length; ++t)
721
- if (this[t] === e)
722
- return t;
723
- return -1;
724
- };
725
- function Vs(e, t) {
726
- if (isNaN(e) || isNaN(t))
727
- return NaN;
728
- var s = ua(t, 12);
729
- return e += (t - s) / 12, s === 1 ? ls(e) ? 29 : 28 : 31 - s % 7 % 2;
730
- }
731
- y("M", ["MM", 2], "Mo", function() {
732
- return this.month() + 1;
733
- });
734
- y("MMM", 0, 0, function(e) {
735
- return this.localeData().monthsShort(this, e);
736
- });
737
- y("MMMM", 0, 0, function(e) {
738
- return this.localeData().months(this, e);
739
- });
740
- g("M", X, ct);
741
- g("MM", X, ce);
742
- g("MMM", function(e, t) {
743
- return t.monthsShortRegex(e);
744
- });
745
- g("MMMM", function(e, t) {
746
- return t.monthsRegex(e);
747
- });
748
- U(["M", "MM"], function(e, t) {
749
- t[Ie] = I(e) - 1;
750
- });
751
- U(["MMM", "MMMM"], function(e, t, s, r) {
752
- var n = s._locale.monthsParse(e, r, s._strict);
753
- n != null ? t[Ie] = n : F(s).invalidMonth = e;
754
- });
755
- var da = "January_February_March_April_May_June_July_August_September_October_November_December".split(
756
- "_"
757
- ), Br = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Vr = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, ca = It, fa = It;
758
- function ha(e, t) {
759
- return e ? pe(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Vr).test(t) ? "format" : "standalone"][e.month()] : pe(this._months) ? this._months : this._months.standalone;
760
- }
761
- function ma(e, t) {
762
- return e ? pe(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Vr.test(t) ? "format" : "standalone"][e.month()] : pe(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
763
- }
764
- function ga(e, t, s) {
765
- var r, n, i, a = e.toLocaleLowerCase();
766
- if (!this._monthsParse)
767
- for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
768
- i = Me([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
769
- i,
770
- ""
771
- ).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(i, "").toLocaleLowerCase();
772
- return s ? t === "MMM" ? (n = se.call(this._shortMonthsParse, a), n !== -1 ? n : null) : (n = se.call(this._longMonthsParse, a), n !== -1 ? n : null) : t === "MMM" ? (n = se.call(this._shortMonthsParse, a), n !== -1 ? n : (n = se.call(this._longMonthsParse, a), n !== -1 ? n : null)) : (n = se.call(this._longMonthsParse, a), n !== -1 ? n : (n = se.call(this._shortMonthsParse, a), n !== -1 ? n : null));
773
- }
774
- function _a(e, t, s) {
775
- var r, n, i;
776
- if (this._monthsParseExact)
777
- return ga.call(this, e, t, s);
778
- for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
779
- if (n = Me([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
780
- "^" + this.months(n, "").replace(".", "") + "$",
781
- "i"
782
- ), this._shortMonthsParse[r] = new RegExp(
783
- "^" + this.monthsShort(n, "").replace(".", "") + "$",
784
- "i"
785
- )), !s && !this._monthsParse[r] && (i = "^" + this.months(n, "") + "|^" + this.monthsShort(n, ""), this._monthsParse[r] = new RegExp(i.replace(".", ""), "i")), s && t === "MMMM" && this._longMonthsParse[r].test(e))
786
- return r;
787
- if (s && t === "MMM" && this._shortMonthsParse[r].test(e))
788
- return r;
789
- if (!s && this._monthsParse[r].test(e))
790
- return r;
791
- }
792
- }
793
- function Zr(e, t) {
794
- if (!e.isValid())
795
- return e;
796
- if (typeof t == "string") {
797
- if (/^\d+$/.test(t))
798
- t = I(t);
799
- else if (t = e.localeData().monthsParse(t), !Ne(t))
800
- return e;
801
- }
802
- var s = t, r = e.date();
803
- return r = r < 29 ? r : Math.min(r, Vs(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
804
- }
805
- function qr(e) {
806
- return e != null ? (Zr(this, e), m.updateOffset(this, !0), this) : bt(this, "Month");
807
- }
808
- function ya() {
809
- return Vs(this.year(), this.month());
810
- }
811
- function pa(e) {
812
- return this._monthsParseExact ? (C(this, "_monthsRegex") || Jr.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (C(this, "_monthsShortRegex") || (this._monthsShortRegex = ca), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
813
- }
814
- function wa(e) {
815
- return this._monthsParseExact ? (C(this, "_monthsRegex") || Jr.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (C(this, "_monthsRegex") || (this._monthsRegex = fa), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
816
- }
817
- function Jr() {
818
- function e(c, h) {
819
- return h.length - c.length;
820
- }
821
- var t = [], s = [], r = [], n, i, a, l;
822
- for (n = 0; n < 12; n++)
823
- i = Me([2e3, n]), a = Re(this.monthsShort(i, "")), l = Re(this.months(i, "")), t.push(a), s.push(l), r.push(l), r.push(a);
824
- t.sort(e), s.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
825
- "^(" + s.join("|") + ")",
826
- "i"
827
- ), this._monthsShortStrictRegex = new RegExp(
828
- "^(" + t.join("|") + ")",
829
- "i"
830
- );
831
- }
832
- function ka(e, t, s, r, n, i, a) {
833
- var l;
834
- return e < 100 && e >= 0 ? (l = new Date(e + 400, t, s, r, n, i, a), isFinite(l.getFullYear()) && l.setFullYear(e)) : l = new Date(e, t, s, r, n, i, a), l;
835
- }
836
- function St(e) {
837
- var t, s;
838
- return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
839
- }
840
- function Kt(e, t, s) {
841
- var r = 7 + t - s, n = (7 + St(e, 0, r).getUTCDay() - t) % 7;
842
- return -n + r - 1;
843
- }
844
- function Qr(e, t, s, r, n) {
845
- var i = (7 + s - r) % 7, a = Kt(e, r, n), l = 1 + 7 * (t - 1) + i + a, c, h;
846
- return l <= 0 ? (c = e - 1, h = vt(c) + l) : l > vt(e) ? (c = e + 1, h = l - vt(e)) : (c = e, h = l), {
847
- year: c,
848
- dayOfYear: h
849
- };
850
- }
851
- function Mt(e, t, s) {
852
- var r = Kt(e.year(), t, s), n = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, i, a;
853
- return n < 1 ? (a = e.year() - 1, i = n + Le(a, t, s)) : n > Le(e.year(), t, s) ? (i = n - Le(e.year(), t, s), a = e.year() + 1) : (a = e.year(), i = n), {
854
- week: i,
855
- year: a
856
- };
857
- }
858
- function Le(e, t, s) {
859
- var r = Kt(e, t, s), n = Kt(e + 1, t, s);
860
- return (vt(e) - r + n) / 7;
861
- }
862
- y("w", ["ww", 2], "wo", "week");
863
- y("W", ["WW", 2], "Wo", "isoWeek");
864
- g("w", X, ct);
865
- g("ww", X, ce);
866
- g("W", X, ct);
867
- g("WW", X, ce);
868
- Pt(
869
- ["w", "ww", "W", "WW"],
870
- function(e, t, s, r) {
871
- t[r.substr(0, 1)] = I(e);
872
- }
873
- );
874
- function va(e) {
875
- return Mt(e, this._week.dow, this._week.doy).week;
876
- }
877
- var ba = {
878
- dow: 0,
879
- // Sunday is the first day of the week.
880
- doy: 6
881
- // The week that contains Jan 6th is the first week of the year.
882
- };
883
- function Sa() {
884
- return this._week.dow;
885
- }
886
- function Ma() {
887
- return this._week.doy;
888
- }
889
- function Fa(e) {
890
- var t = this.localeData().week(this);
891
- return e == null ? t : this.add((e - t) * 7, "d");
892
- }
893
- function Da(e) {
894
- var t = Mt(this, 1, 4).week;
895
- return e == null ? t : this.add((e - t) * 7, "d");
896
- }
897
- y("d", 0, "do", "day");
898
- y("dd", 0, 0, function(e) {
899
- return this.localeData().weekdaysMin(this, e);
900
- });
901
- y("ddd", 0, 0, function(e) {
902
- return this.localeData().weekdaysShort(this, e);
903
- });
904
- y("dddd", 0, 0, function(e) {
905
- return this.localeData().weekdays(this, e);
906
- });
907
- y("e", 0, 0, "weekday");
908
- y("E", 0, 0, "isoWeekday");
909
- g("d", X);
910
- g("e", X);
911
- g("E", X);
912
- g("dd", function(e, t) {
913
- return t.weekdaysMinRegex(e);
914
- });
915
- g("ddd", function(e, t) {
916
- return t.weekdaysShortRegex(e);
917
- });
918
- g("dddd", function(e, t) {
919
- return t.weekdaysRegex(e);
920
- });
921
- Pt(["dd", "ddd", "dddd"], function(e, t, s, r) {
922
- var n = s._locale.weekdaysParse(e, r, s._strict);
923
- n != null ? t.d = n : F(s).invalidWeekday = e;
924
- });
925
- Pt(["d", "e", "E"], function(e, t, s, r) {
926
- t[r] = I(e);
927
- });
928
- function Ya(e, t) {
929
- return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
930
- }
931
- function Oa(e, t) {
932
- return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
933
- }
934
- function Zs(e, t) {
935
- return e.slice(t, 7).concat(e.slice(0, t));
936
- }
937
- var Ta = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ia = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Pa = It, Ra = It, La = It;
938
- function Na(e, t) {
939
- var s = pe(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
940
- return e === !0 ? Zs(s, this._week.dow) : e ? s[e.day()] : s;
941
- }
942
- function Ca(e) {
943
- return e === !0 ? Zs(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
944
- }
945
- function xa(e) {
946
- return e === !0 ? Zs(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
947
- }
948
- function Ea(e, t, s) {
949
- var r, n, i, a = e.toLocaleLowerCase();
950
- if (!this._weekdaysParse)
951
- for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
952
- i = Me([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
953
- i,
954
- ""
955
- ).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
956
- i,
957
- ""
958
- ).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(i, "").toLocaleLowerCase();
959
- return s ? t === "dddd" ? (n = se.call(this._weekdaysParse, a), n !== -1 ? n : null) : t === "ddd" ? (n = se.call(this._shortWeekdaysParse, a), n !== -1 ? n : null) : (n = se.call(this._minWeekdaysParse, a), n !== -1 ? n : null) : t === "dddd" ? (n = se.call(this._weekdaysParse, a), n !== -1 || (n = se.call(this._shortWeekdaysParse, a), n !== -1) ? n : (n = se.call(this._minWeekdaysParse, a), n !== -1 ? n : null)) : t === "ddd" ? (n = se.call(this._shortWeekdaysParse, a), n !== -1 || (n = se.call(this._weekdaysParse, a), n !== -1) ? n : (n = se.call(this._minWeekdaysParse, a), n !== -1 ? n : null)) : (n = se.call(this._minWeekdaysParse, a), n !== -1 || (n = se.call(this._weekdaysParse, a), n !== -1) ? n : (n = se.call(this._shortWeekdaysParse, a), n !== -1 ? n : null));
960
- }
961
- function Wa(e, t, s) {
962
- var r, n, i;
963
- if (this._weekdaysParseExact)
964
- return Ea.call(this, e, t, s);
965
- for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
966
- if (n = Me([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
967
- "^" + this.weekdays(n, "").replace(".", "\\.?") + "$",
968
- "i"
969
- ), this._shortWeekdaysParse[r] = new RegExp(
970
- "^" + this.weekdaysShort(n, "").replace(".", "\\.?") + "$",
971
- "i"
972
- ), this._minWeekdaysParse[r] = new RegExp(
973
- "^" + this.weekdaysMin(n, "").replace(".", "\\.?") + "$",
974
- "i"
975
- )), this._weekdaysParse[r] || (i = "^" + this.weekdays(n, "") + "|^" + this.weekdaysShort(n, "") + "|^" + this.weekdaysMin(n, ""), this._weekdaysParse[r] = new RegExp(i.replace(".", ""), "i")), s && t === "dddd" && this._fullWeekdaysParse[r].test(e))
976
- return r;
977
- if (s && t === "ddd" && this._shortWeekdaysParse[r].test(e))
978
- return r;
979
- if (s && t === "dd" && this._minWeekdaysParse[r].test(e))
980
- return r;
981
- if (!s && this._weekdaysParse[r].test(e))
982
- return r;
983
- }
984
- }
985
- function Ga(e) {
986
- if (!this.isValid())
987
- return e != null ? this : NaN;
988
- var t = bt(this, "Day");
989
- return e != null ? (e = Ya(e, this.localeData()), this.add(e - t, "d")) : t;
990
- }
991
- function Ua(e) {
992
- if (!this.isValid())
993
- return e != null ? this : NaN;
994
- var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
995
- return e == null ? t : this.add(e - t, "d");
996
- }
997
- function Aa(e) {
998
- if (!this.isValid())
999
- return e != null ? this : NaN;
1000
- if (e != null) {
1001
- var t = Oa(e, this.localeData());
1002
- return this.day(this.day() % 7 ? t : t - 7);
1003
- } else
1004
- return this.day() || 7;
1005
- }
1006
- function Ha(e) {
1007
- return this._weekdaysParseExact ? (C(this, "_weekdaysRegex") || qs.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (C(this, "_weekdaysRegex") || (this._weekdaysRegex = Pa), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
1008
- }
1009
- function za(e) {
1010
- return this._weekdaysParseExact ? (C(this, "_weekdaysRegex") || qs.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (C(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ra), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
1011
- }
1012
- function ja(e) {
1013
- return this._weekdaysParseExact ? (C(this, "_weekdaysRegex") || qs.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (C(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = La), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
1014
- }
1015
- function qs() {
1016
- function e(w, S) {
1017
- return S.length - w.length;
1018
- }
1019
- var t = [], s = [], r = [], n = [], i, a, l, c, h;
1020
- for (i = 0; i < 7; i++)
1021
- a = Me([2e3, 1]).day(i), l = Re(this.weekdaysMin(a, "")), c = Re(this.weekdaysShort(a, "")), h = Re(this.weekdays(a, "")), t.push(l), s.push(c), r.push(h), n.push(l), n.push(c), n.push(h);
1022
- t.sort(e), s.sort(e), r.sort(e), n.sort(e), this._weekdaysRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
1023
- "^(" + r.join("|") + ")",
1024
- "i"
1025
- ), this._weekdaysShortStrictRegex = new RegExp(
1026
- "^(" + s.join("|") + ")",
1027
- "i"
1028
- ), this._weekdaysMinStrictRegex = new RegExp(
1029
- "^(" + t.join("|") + ")",
1030
- "i"
1031
- );
1032
- }
1033
- function Js() {
1034
- return this.hours() % 12 || 12;
1035
- }
1036
- function Ba() {
1037
- return this.hours() || 24;
1038
- }
1039
- y("H", ["HH", 2], 0, "hour");
1040
- y("h", ["hh", 2], 0, Js);
1041
- y("k", ["kk", 2], 0, Ba);
1042
- y("hmm", 0, 0, function() {
1043
- return "" + Js.apply(this) + Se(this.minutes(), 2);
1044
- });
1045
- y("hmmss", 0, 0, function() {
1046
- return "" + Js.apply(this) + Se(this.minutes(), 2) + Se(this.seconds(), 2);
1047
- });
1048
- y("Hmm", 0, 0, function() {
1049
- return "" + this.hours() + Se(this.minutes(), 2);
1050
- });
1051
- y("Hmmss", 0, 0, function() {
1052
- return "" + this.hours() + Se(this.minutes(), 2) + Se(this.seconds(), 2);
1053
- });
1054
- function Kr(e, t) {
1055
- y(e, 0, 0, function() {
1056
- return this.localeData().meridiem(
1057
- this.hours(),
1058
- this.minutes(),
1059
- t
1060
- );
1061
- });
1062
- }
1063
- Kr("a", !0);
1064
- Kr("A", !1);
1065
- function $r(e, t) {
1066
- return t._meridiemParse;
1067
- }
1068
- g("a", $r);
1069
- g("A", $r);
1070
- g("H", X, Bs);
1071
- g("h", X, ct);
1072
- g("k", X, ct);
1073
- g("HH", X, ce);
1074
- g("hh", X, ce);
1075
- g("kk", X, ce);
1076
- g("hmm", Ar);
1077
- g("hmmss", Hr);
1078
- g("Hmm", Ar);
1079
- g("Hmmss", Hr);
1080
- U(["H", "HH"], ne);
1081
- U(["k", "kk"], function(e, t, s) {
1082
- var r = I(e);
1083
- t[ne] = r === 24 ? 0 : r;
1084
- });
1085
- U(["a", "A"], function(e, t, s) {
1086
- s._isPm = s._locale.isPM(e), s._meridiem = e;
1087
- });
1088
- U(["h", "hh"], function(e, t, s) {
1089
- t[ne] = I(e), F(s).bigHour = !0;
1090
- });
1091
- U("hmm", function(e, t, s) {
1092
- var r = e.length - 2;
1093
- t[ne] = I(e.substr(0, r)), t[ye] = I(e.substr(r)), F(s).bigHour = !0;
1094
- });
1095
- U("hmmss", function(e, t, s) {
1096
- var r = e.length - 4, n = e.length - 2;
1097
- t[ne] = I(e.substr(0, r)), t[ye] = I(e.substr(r, 2)), t[Pe] = I(e.substr(n)), F(s).bigHour = !0;
1098
- });
1099
- U("Hmm", function(e, t, s) {
1100
- var r = e.length - 2;
1101
- t[ne] = I(e.substr(0, r)), t[ye] = I(e.substr(r));
1102
- });
1103
- U("Hmmss", function(e, t, s) {
1104
- var r = e.length - 4, n = e.length - 2;
1105
- t[ne] = I(e.substr(0, r)), t[ye] = I(e.substr(r, 2)), t[Pe] = I(e.substr(n));
1106
- });
1107
- function Va(e) {
1108
- return (e + "").toLowerCase().charAt(0) === "p";
1109
- }
1110
- var Za = /[ap]\.?m?\.?/i, qa = ft("Hours", !0);
1111
- function Ja(e, t, s) {
1112
- return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
1113
- }
1114
- var en = {
1115
- calendar: Ei,
1116
- longDateFormat: Ai,
1117
- invalidDate: zi,
1118
- ordinal: Bi,
1119
- dayOfMonthOrdinalParse: Vi,
1120
- relativeTime: qi,
1121
- months: da,
1122
- monthsShort: Br,
1123
- week: ba,
1124
- weekdays: Ta,
1125
- weekdaysMin: Ia,
1126
- weekdaysShort: Xr,
1127
- meridiemParse: Za
1128
- }, $ = {}, wt = {}, Ft;
1129
- function Qa(e, t) {
1130
- var s, r = Math.min(e.length, t.length);
1131
- for (s = 0; s < r; s += 1)
1132
- if (e[s] !== t[s])
1133
- return s;
1134
- return r;
1135
- }
1136
- function Yr(e) {
1137
- return e && e.toLowerCase().replace("_", "-");
1138
- }
1139
- function Xa(e) {
1140
- for (var t = 0, s, r, n, i; t < e.length; ) {
1141
- for (i = Yr(e[t]).split("-"), s = i.length, r = Yr(e[t + 1]), r = r ? r.split("-") : null; s > 0; ) {
1142
- if (n = us(i.slice(0, s).join("-")), n)
1143
- return n;
1144
- if (r && r.length >= s && Qa(i, r) >= s - 1)
1145
- break;
1146
- s--;
1147
- }
1148
- t++;
1149
- }
1150
- return Ft;
1151
- }
1152
- function Ka(e) {
1153
- return !!(e && e.match("^[^/\\\\]*$"));
1154
- }
1155
- function us(e) {
1156
- var t = null, s;
1157
- if ($[e] === void 0 && typeof module != "undefined" && module && module.exports && Ka(e))
1158
- try {
1159
- t = Ft._abbr, s = Li, s("./locale/" + e), ze(t);
1160
- } catch (r) {
1161
- $[e] = null;
1162
- }
1163
- return $[e];
1164
- }
1165
- function ze(e, t) {
1166
- var s;
1167
- return e && (de(t) ? s = Ce(e) : s = Qs(e, t), s ? Ft = s : typeof console != "undefined" && console.warn && console.warn(
1168
- "Locale " + e + " not found. Did you forget to load it?"
1169
- )), Ft._abbr;
1170
- }
1171
- function Qs(e, t) {
1172
- if (t !== null) {
1173
- var s, r = en;
1174
- if (t.abbr = e, $[e] != null)
1175
- Er(
1176
- "defineLocaleOverride",
1177
- "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
1178
- ), r = $[e]._config;
1179
- else if (t.parentLocale != null)
1180
- if ($[t.parentLocale] != null)
1181
- r = $[t.parentLocale]._config;
1182
- else if (s = us(t.parentLocale), s != null)
1183
- r = s._config;
1184
- else
1185
- return wt[t.parentLocale] || (wt[t.parentLocale] = []), wt[t.parentLocale].push({
1186
- name: e,
1187
- config: t
1188
- }), null;
1189
- return $[e] = new Us(Ps(r, t)), wt[e] && wt[e].forEach(function(n) {
1190
- Qs(n.name, n.config);
1191
- }), ze(e), $[e];
1192
- } else
1193
- return delete $[e], null;
1194
- }
1195
- function $a(e, t) {
1196
- if (t != null) {
1197
- var s, r, n = en;
1198
- $[e] != null && $[e].parentLocale != null ? $[e].set(Ps($[e]._config, t)) : (r = us(e), r != null && (n = r._config), t = Ps(n, t), r == null && (t.abbr = e), s = new Us(t), s.parentLocale = $[e], $[e] = s), ze(e);
1199
- } else
1200
- $[e] != null && ($[e].parentLocale != null ? ($[e] = $[e].parentLocale, e === ze() && ze(e)) : $[e] != null && delete $[e]);
1201
- return $[e];
1202
- }
1203
- function Ce(e) {
1204
- var t;
1205
- if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
1206
- return Ft;
1207
- if (!pe(e)) {
1208
- if (t = us(e), t)
1209
- return t;
1210
- e = [e];
1211
- }
1212
- return Xa(e);
1213
- }
1214
- function eo() {
1215
- return Rs($);
1216
- }
1217
- function Xs(e) {
1218
- var t, s = e._a;
1219
- return s && F(e).overflow === -2 && (t = s[Ie] < 0 || s[Ie] > 11 ? Ie : s[be] < 1 || s[be] > Vs(s[oe], s[Ie]) ? be : s[ne] < 0 || s[ne] > 24 || s[ne] === 24 && (s[ye] !== 0 || s[Pe] !== 0 || s[Xe] !== 0) ? ne : s[ye] < 0 || s[ye] > 59 ? ye : s[Pe] < 0 || s[Pe] > 59 ? Pe : s[Xe] < 0 || s[Xe] > 999 ? Xe : -1, F(e)._overflowDayOfYear && (t < oe || t > be) && (t = be), F(e)._overflowWeeks && t === -1 && (t = na), F(e)._overflowWeekday && t === -1 && (t = ia), F(e).overflow = t), e;
1220
- }
1221
- var to = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, so = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ro = /Z|[+-]\d\d(?::?\d\d)?/, Vt = [
1222
- ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1223
- ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1224
- ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
1225
- ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
1226
- ["YYYY-DDD", /\d{4}-\d{3}/],
1227
- ["YYYY-MM", /\d{4}-\d\d/, !1],
1228
- ["YYYYYYMMDD", /[+-]\d{10}/],
1229
- ["YYYYMMDD", /\d{8}/],
1230
- ["GGGG[W]WWE", /\d{4}W\d{3}/],
1231
- ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
1232
- ["YYYYDDD", /\d{7}/],
1233
- ["YYYYMM", /\d{6}/, !1],
1234
- ["YYYY", /\d{4}/, !1]
1235
- ], Ys = [
1236
- ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1237
- ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1238
- ["HH:mm:ss", /\d\d:\d\d:\d\d/],
1239
- ["HH:mm", /\d\d:\d\d/],
1240
- ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
1241
- ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
1242
- ["HHmmss", /\d\d\d\d\d\d/],
1243
- ["HHmm", /\d\d\d\d/],
1244
- ["HH", /\d\d/]
1245
- ], no = /^\/?Date\((-?\d+)/i, io = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, ao = {
1246
- UT: 0,
1247
- GMT: 0,
1248
- EDT: -4 * 60,
1249
- EST: -5 * 60,
1250
- CDT: -5 * 60,
1251
- CST: -6 * 60,
1252
- MDT: -6 * 60,
1253
- MST: -7 * 60,
1254
- PDT: -7 * 60,
1255
- PST: -8 * 60
1256
- };
1257
- function tn(e) {
1258
- var t, s, r = e._i, n = to.exec(r) || so.exec(r), i, a, l, c, h = Vt.length, w = Ys.length;
1259
- if (n) {
1260
- for (F(e).iso = !0, t = 0, s = h; t < s; t++)
1261
- if (Vt[t][1].exec(n[1])) {
1262
- a = Vt[t][0], i = Vt[t][2] !== !1;
1263
- break;
1264
- }
1265
- if (a == null) {
1266
- e._isValid = !1;
1267
- return;
1268
- }
1269
- if (n[3]) {
1270
- for (t = 0, s = w; t < s; t++)
1271
- if (Ys[t][1].exec(n[3])) {
1272
- l = (n[2] || " ") + Ys[t][0];
1273
- break;
1274
- }
1275
- if (l == null) {
1276
- e._isValid = !1;
1277
- return;
1278
- }
1279
- }
1280
- if (!i && l != null) {
1281
- e._isValid = !1;
1282
- return;
1283
- }
1284
- if (n[4])
1285
- if (ro.exec(n[4]))
1286
- c = "Z";
1287
- else {
1288
- e._isValid = !1;
1289
- return;
1290
- }
1291
- e._f = a + (l || "") + (c || ""), $s(e);
1292
- } else
1293
- e._isValid = !1;
1294
- }
1295
- function oo(e, t, s, r, n, i) {
1296
- var a = [
1297
- lo(e),
1298
- Br.indexOf(t),
1299
- parseInt(s, 10),
1300
- parseInt(r, 10),
1301
- parseInt(n, 10)
1302
- ];
1303
- return i && a.push(parseInt(i, 10)), a;
1304
- }
1305
- function lo(e) {
1306
- var t = parseInt(e, 10);
1307
- return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
1308
- }
1309
- function uo(e) {
1310
- return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
1311
- }
1312
- function co(e, t, s) {
1313
- if (e) {
1314
- var r = Xr.indexOf(e), n = new Date(
1315
- t[0],
1316
- t[1],
1317
- t[2]
1318
- ).getDay();
1319
- if (r !== n)
1320
- return F(s).weekdayMismatch = !0, s._isValid = !1, !1;
1321
- }
1322
- return !0;
1323
- }
1324
- function fo(e, t, s) {
1325
- if (e)
1326
- return ao[e];
1327
- if (t)
1328
- return 0;
1329
- var r = parseInt(s, 10), n = r % 100, i = (r - n) / 100;
1330
- return i * 60 + n;
1331
- }
1332
- function sn(e) {
1333
- var t = io.exec(uo(e._i)), s;
1334
- if (t) {
1335
- if (s = oo(
1336
- t[4],
1337
- t[3],
1338
- t[2],
1339
- t[5],
1340
- t[6],
1341
- t[7]
1342
- ), !co(t[1], s, e))
1343
- return;
1344
- e._a = s, e._tzm = fo(t[8], t[9], t[10]), e._d = St.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), F(e).rfc2822 = !0;
1345
- } else
1346
- e._isValid = !1;
1347
- }
1348
- function ho(e) {
1349
- var t = no.exec(e._i);
1350
- if (t !== null) {
1351
- e._d = /* @__PURE__ */ new Date(+t[1]);
1352
- return;
1353
- }
1354
- if (tn(e), e._isValid === !1)
1355
- delete e._isValid;
1356
- else
1357
- return;
1358
- if (sn(e), e._isValid === !1)
1359
- delete e._isValid;
1360
- else
1361
- return;
1362
- e._strict ? e._isValid = !1 : m.createFromInputFallback(e);
1363
- }
1364
- m.createFromInputFallback = ge(
1365
- "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
1366
- function(e) {
1367
- e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
1368
- }
1369
- );
1370
- function it(e, t, s) {
1371
- return e != null ? e : t != null ? t : s;
1372
- }
1373
- function mo(e) {
1374
- var t = new Date(m.now());
1375
- return e._useUTC ? [
1376
- t.getUTCFullYear(),
1377
- t.getUTCMonth(),
1378
- t.getUTCDate()
1379
- ] : [t.getFullYear(), t.getMonth(), t.getDate()];
1380
- }
1381
- function Ks(e) {
1382
- var t, s, r = [], n, i, a;
1383
- if (!e._d) {
1384
- for (n = mo(e), e._w && e._a[be] == null && e._a[Ie] == null && go(e), e._dayOfYear != null && (a = it(e._a[oe], n[oe]), (e._dayOfYear > vt(a) || e._dayOfYear === 0) && (F(e)._overflowDayOfYear = !0), s = St(a, 0, e._dayOfYear), e._a[Ie] = s.getUTCMonth(), e._a[be] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1385
- e._a[t] = r[t] = n[t];
1386
- for (; t < 7; t++)
1387
- e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
1388
- e._a[ne] === 24 && e._a[ye] === 0 && e._a[Pe] === 0 && e._a[Xe] === 0 && (e._nextDay = !0, e._a[ne] = 0), e._d = (e._useUTC ? St : ka).apply(
1389
- null,
1390
- r
1391
- ), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[ne] = 24), e._w && typeof e._w.d != "undefined" && e._w.d !== i && (F(e).weekdayMismatch = !0);
1392
- }
1393
- }
1394
- function go(e) {
1395
- var t, s, r, n, i, a, l, c, h;
1396
- t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, a = 4, s = it(
1397
- t.GG,
1398
- e._a[oe],
1399
- Mt(Q(), 1, 4).year
1400
- ), r = it(t.W, 1), n = it(t.E, 1), (n < 1 || n > 7) && (c = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, h = Mt(Q(), i, a), s = it(t.gg, e._a[oe], h.year), r = it(t.w, h.week), t.d != null ? (n = t.d, (n < 0 || n > 6) && (c = !0)) : t.e != null ? (n = t.e + i, (t.e < 0 || t.e > 6) && (c = !0)) : n = i), r < 1 || r > Le(s, i, a) ? F(e)._overflowWeeks = !0 : c != null ? F(e)._overflowWeekday = !0 : (l = Qr(s, r, n, i, a), e._a[oe] = l.year, e._dayOfYear = l.dayOfYear);
1401
- }
1402
- m.ISO_8601 = function() {
1403
- };
1404
- m.RFC_2822 = function() {
1405
- };
1406
- function $s(e) {
1407
- if (e._f === m.ISO_8601) {
1408
- tn(e);
1409
- return;
1410
- }
1411
- if (e._f === m.RFC_2822) {
1412
- sn(e);
1413
- return;
1414
- }
1415
- e._a = [], F(e).empty = !0;
1416
- var t = "" + e._i, s, r, n, i, a, l = t.length, c = 0, h, w;
1417
- for (n = Wr(e._f, e._locale).match(As) || [], w = n.length, s = 0; s < w; s++)
1418
- i = n[s], r = (t.match(ta(i, e)) || [])[0], r && (a = t.substr(0, t.indexOf(r)), a.length > 0 && F(e).unusedInput.push(a), t = t.slice(
1419
- t.indexOf(r) + r.length
1420
- ), c += r.length), ot[i] ? (r ? F(e).empty = !1 : F(e).unusedTokens.push(i), ra(i, r, e)) : e._strict && !r && F(e).unusedTokens.push(i);
1421
- F(e).charsLeftOver = l - c, t.length > 0 && F(e).unusedInput.push(t), e._a[ne] <= 12 && F(e).bigHour === !0 && e._a[ne] > 0 && (F(e).bigHour = void 0), F(e).parsedDateParts = e._a.slice(0), F(e).meridiem = e._meridiem, e._a[ne] = _o(
1422
- e._locale,
1423
- e._a[ne],
1424
- e._meridiem
1425
- ), h = F(e).era, h !== null && (e._a[oe] = e._locale.erasConvertYear(h, e._a[oe])), Ks(e), Xs(e);
1426
- }
1427
- function _o(e, t, s) {
1428
- var r;
1429
- return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (r = e.isPM(s), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
1430
- }
1431
- function yo(e) {
1432
- var t, s, r, n, i, a, l = !1, c = e._f.length;
1433
- if (c === 0) {
1434
- F(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1435
- return;
1436
- }
1437
- for (n = 0; n < c; n++)
1438
- i = 0, a = !1, t = Gs({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[n], $s(t), Ws(t) && (a = !0), i += F(t).charsLeftOver, i += F(t).unusedTokens.length * 10, F(t).score = i, l ? i < r && (r = i, s = t) : (r == null || i < r || a) && (r = i, s = t, a && (l = !0));
1439
- Ae(e, s || t);
1440
- }
1441
- function po(e) {
1442
- if (!e._d) {
1443
- var t = Hs(e._i), s = t.day === void 0 ? t.date : t.day;
1444
- e._a = Cr(
1445
- [t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
1446
- function(r) {
1447
- return r && parseInt(r, 10);
1448
- }
1449
- ), Ks(e);
1450
- }
1451
- }
1452
- function wo(e) {
1453
- var t = new Tt(Xs(rn(e)));
1454
- return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
1455
- }
1456
- function rn(e) {
1457
- var t = e._i, s = e._f;
1458
- return e._locale = e._locale || Ce(e._l), t === null || s === void 0 && t === "" ? ss({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), we(t) ? new Tt(Xs(t)) : (Ot(t) ? e._d = t : pe(s) ? yo(e) : s ? $s(e) : ko(e), Ws(e) || (e._d = null), e));
1459
- }
1460
- function ko(e) {
1461
- var t = e._i;
1462
- de(t) ? e._d = new Date(m.now()) : Ot(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ho(e) : pe(t) ? (e._a = Cr(t.slice(0), function(s) {
1463
- return parseInt(s, 10);
1464
- }), Ks(e)) : Ke(t) ? po(e) : Ne(t) ? e._d = new Date(t) : m.createFromInputFallback(e);
1465
- }
1466
- function nn(e, t, s, r, n) {
1467
- var i = {};
1468
- return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (Ke(e) && Es(e) || pe(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = n, i._l = s, i._i = e, i._f = t, i._strict = r, wo(i);
1469
- }
1470
- function Q(e, t, s, r) {
1471
- return nn(e, t, s, r, !1);
1472
- }
1473
- var vo = ge(
1474
- "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1475
- function() {
1476
- var e = Q.apply(null, arguments);
1477
- return this.isValid() && e.isValid() ? e < this ? this : e : ss();
1478
- }
1479
- ), bo = ge(
1480
- "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1481
- function() {
1482
- var e = Q.apply(null, arguments);
1483
- return this.isValid() && e.isValid() ? e > this ? this : e : ss();
1484
- }
1485
- );
1486
- function an(e, t) {
1487
- var s, r;
1488
- if (t.length === 1 && pe(t[0]) && (t = t[0]), !t.length)
1489
- return Q();
1490
- for (s = t[0], r = 1; r < t.length; ++r)
1491
- (!t[r].isValid() || t[r][e](s)) && (s = t[r]);
1492
- return s;
1493
- }
1494
- function So() {
1495
- var e = [].slice.call(arguments, 0);
1496
- return an("isBefore", e);
1497
- }
1498
- function Mo() {
1499
- var e = [].slice.call(arguments, 0);
1500
- return an("isAfter", e);
1501
- }
1502
- var Fo = function() {
1503
- return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
1504
- }, kt = [
1505
- "year",
1506
- "quarter",
1507
- "month",
1508
- "week",
1509
- "day",
1510
- "hour",
1511
- "minute",
1512
- "second",
1513
- "millisecond"
1514
- ];
1515
- function Do(e) {
1516
- var t, s = !1, r, n = kt.length;
1517
- for (t in e)
1518
- if (C(e, t) && !(se.call(kt, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
1519
- return !1;
1520
- for (r = 0; r < n; ++r)
1521
- if (e[kt[r]]) {
1522
- if (s)
1523
- return !1;
1524
- parseFloat(e[kt[r]]) !== I(e[kt[r]]) && (s = !0);
1525
- }
1526
- return !0;
1527
- }
1528
- function Yo() {
1529
- return this._isValid;
1530
- }
1531
- function Oo() {
1532
- return ke(NaN);
1533
- }
1534
- function ds(e) {
1535
- var t = Hs(e), s = t.year || 0, r = t.quarter || 0, n = t.month || 0, i = t.week || t.isoWeek || 0, a = t.day || 0, l = t.hour || 0, c = t.minute || 0, h = t.second || 0, w = t.millisecond || 0;
1536
- this._isValid = Do(t), this._milliseconds = +w + h * 1e3 + // 1000
1537
- c * 6e4 + // 1000 * 60
1538
- l * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +n + r * 3 + s * 12, this._data = {}, this._locale = Ce(), this._bubble();
1539
- }
1540
- function qt(e) {
1541
- return e instanceof ds;
1542
- }
1543
- function Ns(e) {
1544
- return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
1545
- }
1546
- function To(e, t, s) {
1547
- var r = Math.min(e.length, t.length), n = Math.abs(e.length - t.length), i = 0, a;
1548
- for (a = 0; a < r; a++)
1549
- I(e[a]) !== I(t[a]) && i++;
1550
- return i + n;
1551
- }
1552
- function on(e, t) {
1553
- y(e, 0, 0, function() {
1554
- var s = this.utcOffset(), r = "+";
1555
- return s < 0 && (s = -s, r = "-"), r + Se(~~(s / 60), 2) + t + Se(~~s % 60, 2);
1556
- });
1557
- }
1558
- on("Z", ":");
1559
- on("ZZ", "");
1560
- g("Z", os);
1561
- g("ZZ", os);
1562
- U(["Z", "ZZ"], function(e, t, s) {
1563
- s._useUTC = !0, s._tzm = er(os, e);
1564
- });
1565
- var Io = /([\+\-]|\d\d)/gi;
1566
- function er(e, t) {
1567
- var s = (t || "").match(e), r, n, i;
1568
- return s === null ? null : (r = s[s.length - 1] || [], n = (r + "").match(Io) || ["-", 0, 0], i = +(n[1] * 60) + I(n[2]), i === 0 ? 0 : n[0] === "+" ? i : -i);
1569
- }
1570
- function tr(e, t) {
1571
- var s, r;
1572
- return t._isUTC ? (s = t.clone(), r = (we(e) || Ot(e) ? e.valueOf() : Q(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + r), m.updateOffset(s, !1), s) : Q(e).local();
1573
- }
1574
- function Cs(e) {
1575
- return -Math.round(e._d.getTimezoneOffset());
1576
- }
1577
- m.updateOffset = function() {
1578
- };
1579
- function Po(e, t, s) {
1580
- var r = this._offset || 0, n;
1581
- if (!this.isValid())
1582
- return e != null ? this : NaN;
1583
- if (e != null) {
1584
- if (typeof e == "string") {
1585
- if (e = er(os, e), e === null)
1586
- return this;
1587
- } else Math.abs(e) < 16 && !s && (e = e * 60);
1588
- return !this._isUTC && t && (n = Cs(this)), this._offset = e, this._isUTC = !0, n != null && this.add(n, "m"), r !== e && (!t || this._changeInProgress ? dn(
1589
- this,
1590
- ke(e - r, "m"),
1591
- 1,
1592
- !1
1593
- ) : this._changeInProgress || (this._changeInProgress = !0, m.updateOffset(this, !0), this._changeInProgress = null)), this;
1594
- } else
1595
- return this._isUTC ? r : Cs(this);
1596
- }
1597
- function Ro(e, t) {
1598
- return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
1599
- }
1600
- function Lo(e) {
1601
- return this.utcOffset(0, e);
1602
- }
1603
- function No(e) {
1604
- return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Cs(this), "m")), this;
1605
- }
1606
- function Co() {
1607
- if (this._tzm != null)
1608
- this.utcOffset(this._tzm, !1, !0);
1609
- else if (typeof this._i == "string") {
1610
- var e = er($i, this._i);
1611
- e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
1612
- }
1613
- return this;
1614
- }
1615
- function xo(e) {
1616
- return this.isValid() ? (e = e ? Q(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
1617
- }
1618
- function Eo() {
1619
- return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
1620
- }
1621
- function Wo() {
1622
- if (!de(this._isDSTShifted))
1623
- return this._isDSTShifted;
1624
- var e = {}, t;
1625
- return Gs(e, this), e = rn(e), e._a ? (t = e._isUTC ? Me(e._a) : Q(e._a), this._isDSTShifted = this.isValid() && To(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
1626
- }
1627
- function Go() {
1628
- return this.isValid() ? !this._isUTC : !1;
1629
- }
1630
- function Uo() {
1631
- return this.isValid() ? this._isUTC : !1;
1632
- }
1633
- function ln() {
1634
- return this.isValid() ? this._isUTC && this._offset === 0 : !1;
1635
- }
1636
- var Ao = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Ho = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1637
- function ke(e, t) {
1638
- var s = e, r = null, n, i, a;
1639
- return qt(e) ? s = {
1640
- ms: e._milliseconds,
1641
- d: e._days,
1642
- M: e._months
1643
- } : Ne(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = Ao.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
1644
- y: 0,
1645
- d: I(r[be]) * n,
1646
- h: I(r[ne]) * n,
1647
- m: I(r[ye]) * n,
1648
- s: I(r[Pe]) * n,
1649
- ms: I(Ns(r[Xe] * 1e3)) * n
1650
- // the millisecond decimal point is included in the match
1651
- }) : (r = Ho.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
1652
- y: Qe(r[2], n),
1653
- M: Qe(r[3], n),
1654
- w: Qe(r[4], n),
1655
- d: Qe(r[5], n),
1656
- h: Qe(r[6], n),
1657
- m: Qe(r[7], n),
1658
- s: Qe(r[8], n)
1659
- }) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (a = zo(
1660
- Q(s.from),
1661
- Q(s.to)
1662
- ), s = {}, s.ms = a.milliseconds, s.M = a.months), i = new ds(s), qt(e) && C(e, "_locale") && (i._locale = e._locale), qt(e) && C(e, "_isValid") && (i._isValid = e._isValid), i;
1663
- }
1664
- ke.fn = ds.prototype;
1665
- ke.invalid = Oo;
1666
- function Qe(e, t) {
1667
- var s = e && parseFloat(e.replace(",", "."));
1668
- return (isNaN(s) ? 0 : s) * t;
1669
- }
1670
- function Or(e, t) {
1671
- var s = {};
1672
- return s.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(s.months, "M").isAfter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "M"), s;
1673
- }
1674
- function zo(e, t) {
1675
- var s;
1676
- return e.isValid() && t.isValid() ? (t = tr(t, e), e.isBefore(t) ? s = Or(e, t) : (s = Or(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
1677
- }
1678
- function un(e, t) {
1679
- return function(s, r) {
1680
- var n, i;
1681
- return r !== null && !isNaN(+r) && (Er(
1682
- t,
1683
- "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
1684
- ), i = s, s = r, r = i), n = ke(s, r), dn(this, n, e), this;
1685
- };
1686
- }
1687
- function dn(e, t, s, r) {
1688
- var n = t._milliseconds, i = Ns(t._days), a = Ns(t._months);
1689
- e.isValid() && (r = r == null ? !0 : r, a && Zr(e, bt(e, "Month") + a * s), i && jr(e, "Date", bt(e, "Date") + i * s), n && e._d.setTime(e._d.valueOf() + n * s), r && m.updateOffset(e, i || a));
1690
- }
1691
- var jo = un(1, "add"), Bo = un(-1, "subtract");
1692
- function cn(e) {
1693
- return typeof e == "string" || e instanceof String;
1694
- }
1695
- function Vo(e) {
1696
- return we(e) || Ot(e) || cn(e) || Ne(e) || qo(e) || Zo(e) || e === null || e === void 0;
1697
- }
1698
- function Zo(e) {
1699
- var t = Ke(e) && !Es(e), s = !1, r = [
1700
- "years",
1701
- "year",
1702
- "y",
1703
- "months",
1704
- "month",
1705
- "M",
1706
- "days",
1707
- "day",
1708
- "d",
1709
- "dates",
1710
- "date",
1711
- "D",
1712
- "hours",
1713
- "hour",
1714
- "h",
1715
- "minutes",
1716
- "minute",
1717
- "m",
1718
- "seconds",
1719
- "second",
1720
- "s",
1721
- "milliseconds",
1722
- "millisecond",
1723
- "ms"
1724
- ], n, i, a = r.length;
1725
- for (n = 0; n < a; n += 1)
1726
- i = r[n], s = s || C(e, i);
1727
- return t && s;
1728
- }
1729
- function qo(e) {
1730
- var t = pe(e), s = !1;
1731
- return t && (s = e.filter(function(r) {
1732
- return !Ne(r) && cn(e);
1733
- }).length === 0), t && s;
1734
- }
1735
- function Jo(e) {
1736
- var t = Ke(e) && !Es(e), s = !1, r = [
1737
- "sameDay",
1738
- "nextDay",
1739
- "lastDay",
1740
- "nextWeek",
1741
- "lastWeek",
1742
- "sameElse"
1743
- ], n, i;
1744
- for (n = 0; n < r.length; n += 1)
1745
- i = r[n], s = s || C(e, i);
1746
- return t && s;
1747
- }
1748
- function Qo(e, t) {
1749
- var s = e.diff(t, "days", !0);
1750
- return s < -6 ? "sameElse" : s < -1 ? "lastWeek" : s < 0 ? "lastDay" : s < 1 ? "sameDay" : s < 2 ? "nextDay" : s < 7 ? "nextWeek" : "sameElse";
1751
- }
1752
- function Xo(e, t) {
1753
- arguments.length === 1 && (arguments[0] ? Vo(arguments[0]) ? (e = arguments[0], t = void 0) : Jo(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1754
- var s = e || Q(), r = tr(s, this).startOf("day"), n = m.calendarFormat(this, r) || "sameElse", i = t && (Fe(t[n]) ? t[n].call(this, s) : t[n]);
1755
- return this.format(
1756
- i || this.localeData().calendar(n, this, Q(s))
1757
- );
1758
- }
1759
- function Ko() {
1760
- return new Tt(this);
1761
- }
1762
- function $o(e, t) {
1763
- var s = we(e) ? e : Q(e);
1764
- return this.isValid() && s.isValid() ? (t = _e(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1765
- }
1766
- function el(e, t) {
1767
- var s = we(e) ? e : Q(e);
1768
- return this.isValid() && s.isValid() ? (t = _e(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
1769
- }
1770
- function tl(e, t, s, r) {
1771
- var n = we(e) ? e : Q(e), i = we(t) ? t : Q(t);
1772
- return this.isValid() && n.isValid() && i.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(n, s) : !this.isBefore(n, s)) && (r[1] === ")" ? this.isBefore(i, s) : !this.isAfter(i, s))) : !1;
1773
- }
1774
- function sl(e, t) {
1775
- var s = we(e) ? e : Q(e), r;
1776
- return this.isValid() && s.isValid() ? (t = _e(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
1777
- }
1778
- function rl(e, t) {
1779
- return this.isSame(e, t) || this.isAfter(e, t);
1780
- }
1781
- function nl(e, t) {
1782
- return this.isSame(e, t) || this.isBefore(e, t);
1783
- }
1784
- function il(e, t, s) {
1785
- var r, n, i;
1786
- if (!this.isValid())
1787
- return NaN;
1788
- if (r = tr(e, this), !r.isValid())
1789
- return NaN;
1790
- switch (n = (r.utcOffset() - this.utcOffset()) * 6e4, t = _e(t), t) {
1791
- case "year":
1792
- i = Jt(this, r) / 12;
1793
- break;
1794
- case "month":
1795
- i = Jt(this, r);
1796
- break;
1797
- case "quarter":
1798
- i = Jt(this, r) / 3;
1799
- break;
1800
- case "second":
1801
- i = (this - r) / 1e3;
1802
- break;
1803
- case "minute":
1804
- i = (this - r) / 6e4;
1805
- break;
1806
- case "hour":
1807
- i = (this - r) / 36e5;
1808
- break;
1809
- case "day":
1810
- i = (this - r - n) / 864e5;
1811
- break;
1812
- case "week":
1813
- i = (this - r - n) / 6048e5;
1814
- break;
1815
- default:
1816
- i = this - r;
1817
- }
1818
- return s ? i : he(i);
1819
- }
1820
- function Jt(e, t) {
1821
- if (e.date() < t.date())
1822
- return -Jt(t, e);
1823
- var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"), n, i;
1824
- return t - r < 0 ? (n = e.clone().add(s - 1, "months"), i = (t - r) / (r - n)) : (n = e.clone().add(s + 1, "months"), i = (t - r) / (n - r)), -(s + i) || 0;
1825
- }
1826
- m.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1827
- m.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1828
- function al() {
1829
- return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1830
- }
1831
- function ol(e) {
1832
- if (!this.isValid())
1833
- return null;
1834
- var t = e !== !0, s = t ? this.clone().utc() : this;
1835
- return s.year() < 0 || s.year() > 9999 ? Zt(
1836
- s,
1837
- t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
1838
- ) : Fe(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Zt(s, "Z")) : Zt(
1839
- s,
1840
- t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
1841
- );
1842
- }
1843
- function ll() {
1844
- if (!this.isValid())
1845
- return "moment.invalid(/* " + this._i + " */)";
1846
- var e = "moment", t = "", s, r, n, i;
1847
- return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", i = t + '[")]', this.format(s + r + n + i);
1848
- }
1849
- function ul(e) {
1850
- e || (e = this.isUtc() ? m.defaultFormatUtc : m.defaultFormat);
1851
- var t = Zt(this, e);
1852
- return this.localeData().postformat(t);
1853
- }
1854
- function dl(e, t) {
1855
- return this.isValid() && (we(e) && e.isValid() || Q(e).isValid()) ? ke({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1856
- }
1857
- function cl(e) {
1858
- return this.from(Q(), e);
1859
- }
1860
- function fl(e, t) {
1861
- return this.isValid() && (we(e) && e.isValid() || Q(e).isValid()) ? ke({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
1862
- }
1863
- function hl(e) {
1864
- return this.to(Q(), e);
1865
- }
1866
- function fn(e) {
1867
- var t;
1868
- return e === void 0 ? this._locale._abbr : (t = Ce(e), t != null && (this._locale = t), this);
1869
- }
1870
- var hn = ge(
1871
- "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1872
- function(e) {
1873
- return e === void 0 ? this.localeData() : this.locale(e);
1874
- }
1875
- );
1876
- function mn() {
1877
- return this._locale;
1878
- }
1879
- var $t = 1e3, lt = 60 * $t, es = 60 * lt, gn = (365 * 400 + 97) * 24 * es;
1880
- function ut(e, t) {
1881
- return (e % t + t) % t;
1882
- }
1883
- function _n(e, t, s) {
1884
- return e < 100 && e >= 0 ? new Date(e + 400, t, s) - gn : new Date(e, t, s).valueOf();
1885
- }
1886
- function yn(e, t, s) {
1887
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - gn : Date.UTC(e, t, s);
1888
- }
1889
- function ml(e) {
1890
- var t, s;
1891
- if (e = _e(e), e === void 0 || e === "millisecond" || !this.isValid())
1892
- return this;
1893
- switch (s = this._isUTC ? yn : _n, e) {
1894
- case "year":
1895
- t = s(this.year(), 0, 1);
1896
- break;
1897
- case "quarter":
1898
- t = s(
1899
- this.year(),
1900
- this.month() - this.month() % 3,
1901
- 1
1902
- );
1903
- break;
1904
- case "month":
1905
- t = s(this.year(), this.month(), 1);
1906
- break;
1907
- case "week":
1908
- t = s(
1909
- this.year(),
1910
- this.month(),
1911
- this.date() - this.weekday()
1912
- );
1913
- break;
1914
- case "isoWeek":
1915
- t = s(
1916
- this.year(),
1917
- this.month(),
1918
- this.date() - (this.isoWeekday() - 1)
1919
- );
1920
- break;
1921
- case "day":
1922
- case "date":
1923
- t = s(this.year(), this.month(), this.date());
1924
- break;
1925
- case "hour":
1926
- t = this._d.valueOf(), t -= ut(
1927
- t + (this._isUTC ? 0 : this.utcOffset() * lt),
1928
- es
1929
- );
1930
- break;
1931
- case "minute":
1932
- t = this._d.valueOf(), t -= ut(t, lt);
1933
- break;
1934
- case "second":
1935
- t = this._d.valueOf(), t -= ut(t, $t);
1936
- break;
1937
- }
1938
- return this._d.setTime(t), m.updateOffset(this, !0), this;
1939
- }
1940
- function gl(e) {
1941
- var t, s;
1942
- if (e = _e(e), e === void 0 || e === "millisecond" || !this.isValid())
1943
- return this;
1944
- switch (s = this._isUTC ? yn : _n, e) {
1945
- case "year":
1946
- t = s(this.year() + 1, 0, 1) - 1;
1947
- break;
1948
- case "quarter":
1949
- t = s(
1950
- this.year(),
1951
- this.month() - this.month() % 3 + 3,
1952
- 1
1953
- ) - 1;
1954
- break;
1955
- case "month":
1956
- t = s(this.year(), this.month() + 1, 1) - 1;
1957
- break;
1958
- case "week":
1959
- t = s(
1960
- this.year(),
1961
- this.month(),
1962
- this.date() - this.weekday() + 7
1963
- ) - 1;
1964
- break;
1965
- case "isoWeek":
1966
- t = s(
1967
- this.year(),
1968
- this.month(),
1969
- this.date() - (this.isoWeekday() - 1) + 7
1970
- ) - 1;
1971
- break;
1972
- case "day":
1973
- case "date":
1974
- t = s(this.year(), this.month(), this.date() + 1) - 1;
1975
- break;
1976
- case "hour":
1977
- t = this._d.valueOf(), t += es - ut(
1978
- t + (this._isUTC ? 0 : this.utcOffset() * lt),
1979
- es
1980
- ) - 1;
1981
- break;
1982
- case "minute":
1983
- t = this._d.valueOf(), t += lt - ut(t, lt) - 1;
1984
- break;
1985
- case "second":
1986
- t = this._d.valueOf(), t += $t - ut(t, $t) - 1;
1987
- break;
1988
- }
1989
- return this._d.setTime(t), m.updateOffset(this, !0), this;
1990
- }
1991
- function _l() {
1992
- return this._d.valueOf() - (this._offset || 0) * 6e4;
1993
- }
1994
- function yl() {
1995
- return Math.floor(this.valueOf() / 1e3);
1996
- }
1997
- function pl() {
1998
- return new Date(this.valueOf());
1999
- }
2000
- function wl() {
2001
- var e = this;
2002
- return [
2003
- e.year(),
2004
- e.month(),
2005
- e.date(),
2006
- e.hour(),
2007
- e.minute(),
2008
- e.second(),
2009
- e.millisecond()
2010
- ];
2011
- }
2012
- function kl() {
2013
- var e = this;
2014
- return {
2015
- years: e.year(),
2016
- months: e.month(),
2017
- date: e.date(),
2018
- hours: e.hours(),
2019
- minutes: e.minutes(),
2020
- seconds: e.seconds(),
2021
- milliseconds: e.milliseconds()
2022
- };
2023
- }
2024
- function vl() {
2025
- return this.isValid() ? this.toISOString() : null;
2026
- }
2027
- function bl() {
2028
- return Ws(this);
2029
- }
2030
- function Sl() {
2031
- return Ae({}, F(this));
2032
- }
2033
- function Ml() {
2034
- return F(this).overflow;
2035
- }
2036
- function Fl() {
2037
- return {
2038
- input: this._i,
2039
- format: this._f,
2040
- locale: this._locale,
2041
- isUTC: this._isUTC,
2042
- strict: this._strict
2043
- };
2044
- }
2045
- y("N", 0, 0, "eraAbbr");
2046
- y("NN", 0, 0, "eraAbbr");
2047
- y("NNN", 0, 0, "eraAbbr");
2048
- y("NNNN", 0, 0, "eraName");
2049
- y("NNNNN", 0, 0, "eraNarrow");
2050
- y("y", ["y", 1], "yo", "eraYear");
2051
- y("y", ["yy", 2], 0, "eraYear");
2052
- y("y", ["yyy", 3], 0, "eraYear");
2053
- y("y", ["yyyy", 4], 0, "eraYear");
2054
- g("N", sr);
2055
- g("NN", sr);
2056
- g("NNN", sr);
2057
- g("NNNN", xl);
2058
- g("NNNNN", El);
2059
- U(
2060
- ["N", "NN", "NNN", "NNNN", "NNNNN"],
2061
- function(e, t, s, r) {
2062
- var n = s._locale.erasParse(e, r, s._strict);
2063
- n ? F(s).era = n : F(s).invalidEra = e;
2064
- }
2065
- );
2066
- g("y", dt);
2067
- g("yy", dt);
2068
- g("yyy", dt);
2069
- g("yyyy", dt);
2070
- g("yo", Wl);
2071
- U(["y", "yy", "yyy", "yyyy"], oe);
2072
- U(["yo"], function(e, t, s, r) {
2073
- var n;
2074
- s._locale._eraYearOrdinalRegex && (n = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[oe] = s._locale.eraYearOrdinalParse(e, n) : t[oe] = parseInt(e, 10);
2075
- });
2076
- function Dl(e, t) {
2077
- var s, r, n, i = this._eras || Ce("en")._eras;
2078
- for (s = 0, r = i.length; s < r; ++s) {
2079
- switch (typeof i[s].since) {
2080
- case "string":
2081
- n = m(i[s].since).startOf("day"), i[s].since = n.valueOf();
2082
- break;
2083
- }
2084
- switch (typeof i[s].until) {
2085
- case "undefined":
2086
- i[s].until = 1 / 0;
2087
- break;
2088
- case "string":
2089
- n = m(i[s].until).startOf("day").valueOf(), i[s].until = n.valueOf();
2090
- break;
2091
- }
2092
- }
2093
- return i;
2094
- }
2095
- function Yl(e, t, s) {
2096
- var r, n, i = this.eras(), a, l, c;
2097
- for (e = e.toUpperCase(), r = 0, n = i.length; r < n; ++r)
2098
- if (a = i[r].name.toUpperCase(), l = i[r].abbr.toUpperCase(), c = i[r].narrow.toUpperCase(), s)
2099
- switch (t) {
2100
- case "N":
2101
- case "NN":
2102
- case "NNN":
2103
- if (l === e)
2104
- return i[r];
2105
- break;
2106
- case "NNNN":
2107
- if (a === e)
2108
- return i[r];
2109
- break;
2110
- case "NNNNN":
2111
- if (c === e)
2112
- return i[r];
2113
- break;
2114
- }
2115
- else if ([a, l, c].indexOf(e) >= 0)
2116
- return i[r];
2117
- }
2118
- function Ol(e, t) {
2119
- var s = e.since <= e.until ? 1 : -1;
2120
- return t === void 0 ? m(e.since).year() : m(e.since).year() + (t - e.offset) * s;
2121
- }
2122
- function Tl() {
2123
- var e, t, s, r = this.localeData().eras();
2124
- for (e = 0, t = r.length; e < t; ++e)
2125
- if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2126
- return r[e].name;
2127
- return "";
2128
- }
2129
- function Il() {
2130
- var e, t, s, r = this.localeData().eras();
2131
- for (e = 0, t = r.length; e < t; ++e)
2132
- if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2133
- return r[e].narrow;
2134
- return "";
2135
- }
2136
- function Pl() {
2137
- var e, t, s, r = this.localeData().eras();
2138
- for (e = 0, t = r.length; e < t; ++e)
2139
- if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
2140
- return r[e].abbr;
2141
- return "";
2142
- }
2143
- function Rl() {
2144
- var e, t, s, r, n = this.localeData().eras();
2145
- for (e = 0, t = n.length; e < t; ++e)
2146
- if (s = n[e].since <= n[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
2147
- return (this.year() - m(n[e].since).year()) * s + n[e].offset;
2148
- return this.year();
2149
- }
2150
- function Ll(e) {
2151
- return C(this, "_erasNameRegex") || rr.call(this), e ? this._erasNameRegex : this._erasRegex;
2152
- }
2153
- function Nl(e) {
2154
- return C(this, "_erasAbbrRegex") || rr.call(this), e ? this._erasAbbrRegex : this._erasRegex;
2155
- }
2156
- function Cl(e) {
2157
- return C(this, "_erasNarrowRegex") || rr.call(this), e ? this._erasNarrowRegex : this._erasRegex;
2158
- }
2159
- function sr(e, t) {
2160
- return t.erasAbbrRegex(e);
2161
- }
2162
- function xl(e, t) {
2163
- return t.erasNameRegex(e);
2164
- }
2165
- function El(e, t) {
2166
- return t.erasNarrowRegex(e);
2167
- }
2168
- function Wl(e, t) {
2169
- return t._eraYearOrdinalRegex || dt;
2170
- }
2171
- function rr() {
2172
- var e = [], t = [], s = [], r = [], n, i, a, l, c, h = this.eras();
2173
- for (n = 0, i = h.length; n < i; ++n)
2174
- a = Re(h[n].name), l = Re(h[n].abbr), c = Re(h[n].narrow), t.push(a), e.push(l), s.push(c), r.push(a), r.push(l), r.push(c);
2175
- this._erasRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
2176
- "^(" + s.join("|") + ")",
2177
- "i"
2178
- );
2179
- }
2180
- y(0, ["gg", 2], 0, function() {
2181
- return this.weekYear() % 100;
2182
- });
2183
- y(0, ["GG", 2], 0, function() {
2184
- return this.isoWeekYear() % 100;
2185
- });
2186
- function cs(e, t) {
2187
- y(0, [e, e.length], 0, t);
2188
- }
2189
- cs("gggg", "weekYear");
2190
- cs("ggggg", "weekYear");
2191
- cs("GGGG", "isoWeekYear");
2192
- cs("GGGGG", "isoWeekYear");
2193
- g("G", as);
2194
- g("g", as);
2195
- g("GG", X, ce);
2196
- g("gg", X, ce);
2197
- g("GGGG", js, zs);
2198
- g("gggg", js, zs);
2199
- g("GGGGG", is, rs);
2200
- g("ggggg", is, rs);
2201
- Pt(
2202
- ["gggg", "ggggg", "GGGG", "GGGGG"],
2203
- function(e, t, s, r) {
2204
- t[r.substr(0, 2)] = I(e);
2205
- }
2206
- );
2207
- Pt(["gg", "GG"], function(e, t, s, r) {
2208
- t[r] = m.parseTwoDigitYear(e);
2209
- });
2210
- function Gl(e) {
2211
- return pn.call(
2212
- this,
2213
- e,
2214
- this.week(),
2215
- this.weekday() + this.localeData()._week.dow,
2216
- this.localeData()._week.dow,
2217
- this.localeData()._week.doy
2218
- );
2219
- }
2220
- function Ul(e) {
2221
- return pn.call(
2222
- this,
2223
- e,
2224
- this.isoWeek(),
2225
- this.isoWeekday(),
2226
- 1,
2227
- 4
2228
- );
2229
- }
2230
- function Al() {
2231
- return Le(this.year(), 1, 4);
2232
- }
2233
- function Hl() {
2234
- return Le(this.isoWeekYear(), 1, 4);
2235
- }
2236
- function zl() {
2237
- var e = this.localeData()._week;
2238
- return Le(this.year(), e.dow, e.doy);
2239
- }
2240
- function jl() {
2241
- var e = this.localeData()._week;
2242
- return Le(this.weekYear(), e.dow, e.doy);
2243
- }
2244
- function pn(e, t, s, r, n) {
2245
- var i;
2246
- return e == null ? Mt(this, r, n).year : (i = Le(e, r, n), t > i && (t = i), Bl.call(this, e, t, s, r, n));
2247
- }
2248
- function Bl(e, t, s, r, n) {
2249
- var i = Qr(e, t, s, r, n), a = St(i.year, 0, i.dayOfYear);
2250
- return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this;
2251
- }
2252
- y("Q", 0, "Qo", "quarter");
2253
- g("Q", Gr);
2254
- U("Q", function(e, t) {
2255
- t[Ie] = (I(e) - 1) * 3;
2256
- });
2257
- function Vl(e) {
2258
- return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
2259
- }
2260
- y("D", ["DD", 2], "Do", "date");
2261
- g("D", X, ct);
2262
- g("DD", X, ce);
2263
- g("Do", function(e, t) {
2264
- return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
2265
- });
2266
- U(["D", "DD"], be);
2267
- U("Do", function(e, t) {
2268
- t[be] = I(e.match(X)[0]);
2269
- });
2270
- var wn = ft("Date", !0);
2271
- y("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2272
- g("DDD", ns);
2273
- g("DDDD", Ur);
2274
- U(["DDD", "DDDD"], function(e, t, s) {
2275
- s._dayOfYear = I(e);
2276
- });
2277
- function Zl(e) {
2278
- var t = Math.round(
2279
- (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
2280
- ) + 1;
2281
- return e == null ? t : this.add(e - t, "d");
2282
- }
2283
- y("m", ["mm", 2], 0, "minute");
2284
- g("m", X, Bs);
2285
- g("mm", X, ce);
2286
- U(["m", "mm"], ye);
2287
- var ql = ft("Minutes", !1);
2288
- y("s", ["ss", 2], 0, "second");
2289
- g("s", X, Bs);
2290
- g("ss", X, ce);
2291
- U(["s", "ss"], Pe);
2292
- var Jl = ft("Seconds", !1);
2293
- y("S", 0, 0, function() {
2294
- return ~~(this.millisecond() / 100);
2295
- });
2296
- y(0, ["SS", 2], 0, function() {
2297
- return ~~(this.millisecond() / 10);
2298
- });
2299
- y(0, ["SSS", 3], 0, "millisecond");
2300
- y(0, ["SSSS", 4], 0, function() {
2301
- return this.millisecond() * 10;
2302
- });
2303
- y(0, ["SSSSS", 5], 0, function() {
2304
- return this.millisecond() * 100;
2305
- });
2306
- y(0, ["SSSSSS", 6], 0, function() {
2307
- return this.millisecond() * 1e3;
2308
- });
2309
- y(0, ["SSSSSSS", 7], 0, function() {
2310
- return this.millisecond() * 1e4;
2311
- });
2312
- y(0, ["SSSSSSSS", 8], 0, function() {
2313
- return this.millisecond() * 1e5;
2314
- });
2315
- y(0, ["SSSSSSSSS", 9], 0, function() {
2316
- return this.millisecond() * 1e6;
2317
- });
2318
- g("S", ns, Gr);
2319
- g("SS", ns, ce);
2320
- g("SSS", ns, Ur);
2321
- var He, kn;
2322
- for (He = "SSSS"; He.length <= 9; He += "S")
2323
- g(He, dt);
2324
- function Ql(e, t) {
2325
- t[Xe] = I(("0." + e) * 1e3);
2326
- }
2327
- for (He = "S"; He.length <= 9; He += "S")
2328
- U(He, Ql);
2329
- kn = ft("Milliseconds", !1);
2330
- y("z", 0, 0, "zoneAbbr");
2331
- y("zz", 0, 0, "zoneName");
2332
- function Xl() {
2333
- return this._isUTC ? "UTC" : "";
2334
- }
2335
- function Kl() {
2336
- return this._isUTC ? "Coordinated Universal Time" : "";
2337
- }
2338
- var f = Tt.prototype;
2339
- f.add = jo;
2340
- f.calendar = Xo;
2341
- f.clone = Ko;
2342
- f.diff = il;
2343
- f.endOf = gl;
2344
- f.format = ul;
2345
- f.from = dl;
2346
- f.fromNow = cl;
2347
- f.to = fl;
2348
- f.toNow = hl;
2349
- f.get = oa;
2350
- f.invalidAt = Ml;
2351
- f.isAfter = $o;
2352
- f.isBefore = el;
2353
- f.isBetween = tl;
2354
- f.isSame = sl;
2355
- f.isSameOrAfter = rl;
2356
- f.isSameOrBefore = nl;
2357
- f.isValid = bl;
2358
- f.lang = hn;
2359
- f.locale = fn;
2360
- f.localeData = mn;
2361
- f.max = bo;
2362
- f.min = vo;
2363
- f.parsingFlags = Sl;
2364
- f.set = la;
2365
- f.startOf = ml;
2366
- f.subtract = Bo;
2367
- f.toArray = wl;
2368
- f.toObject = kl;
2369
- f.toDate = pl;
2370
- f.toISOString = ol;
2371
- f.inspect = ll;
2372
- typeof Symbol != "undefined" && Symbol.for != null && (f[Symbol.for("nodejs.util.inspect.custom")] = function() {
2373
- return "Moment<" + this.format() + ">";
2374
- });
2375
- f.toJSON = vl;
2376
- f.toString = al;
2377
- f.unix = yl;
2378
- f.valueOf = _l;
2379
- f.creationData = Fl;
2380
- f.eraName = Tl;
2381
- f.eraNarrow = Il;
2382
- f.eraAbbr = Pl;
2383
- f.eraYear = Rl;
2384
- f.year = zr;
2385
- f.isLeapYear = aa;
2386
- f.weekYear = Gl;
2387
- f.isoWeekYear = Ul;
2388
- f.quarter = f.quarters = Vl;
2389
- f.month = qr;
2390
- f.daysInMonth = ya;
2391
- f.week = f.weeks = Fa;
2392
- f.isoWeek = f.isoWeeks = Da;
2393
- f.weeksInYear = zl;
2394
- f.weeksInWeekYear = jl;
2395
- f.isoWeeksInYear = Al;
2396
- f.isoWeeksInISOWeekYear = Hl;
2397
- f.date = wn;
2398
- f.day = f.days = Ga;
2399
- f.weekday = Ua;
2400
- f.isoWeekday = Aa;
2401
- f.dayOfYear = Zl;
2402
- f.hour = f.hours = qa;
2403
- f.minute = f.minutes = ql;
2404
- f.second = f.seconds = Jl;
2405
- f.millisecond = f.milliseconds = kn;
2406
- f.utcOffset = Po;
2407
- f.utc = Lo;
2408
- f.local = No;
2409
- f.parseZone = Co;
2410
- f.hasAlignedHourOffset = xo;
2411
- f.isDST = Eo;
2412
- f.isLocal = Go;
2413
- f.isUtcOffset = Uo;
2414
- f.isUtc = ln;
2415
- f.isUTC = ln;
2416
- f.zoneAbbr = Xl;
2417
- f.zoneName = Kl;
2418
- f.dates = ge(
2419
- "dates accessor is deprecated. Use date instead.",
2420
- wn
2421
- );
2422
- f.months = ge(
2423
- "months accessor is deprecated. Use month instead",
2424
- qr
2425
- );
2426
- f.years = ge(
2427
- "years accessor is deprecated. Use year instead",
2428
- zr
2429
- );
2430
- f.zone = ge(
2431
- "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2432
- Ro
2433
- );
2434
- f.isDSTShifted = ge(
2435
- "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2436
- Wo
2437
- );
2438
- function $l(e) {
2439
- return Q(e * 1e3);
2440
- }
2441
- function eu() {
2442
- return Q.apply(null, arguments).parseZone();
2443
- }
2444
- function vn(e) {
2445
- return e;
2446
- }
2447
- var x = Us.prototype;
2448
- x.calendar = Wi;
2449
- x.longDateFormat = Hi;
2450
- x.invalidDate = ji;
2451
- x.ordinal = Zi;
2452
- x.preparse = vn;
2453
- x.postformat = vn;
2454
- x.relativeTime = Ji;
2455
- x.pastFuture = Qi;
2456
- x.set = xi;
2457
- x.eras = Dl;
2458
- x.erasParse = Yl;
2459
- x.erasConvertYear = Ol;
2460
- x.erasAbbrRegex = Nl;
2461
- x.erasNameRegex = Ll;
2462
- x.erasNarrowRegex = Cl;
2463
- x.months = ha;
2464
- x.monthsShort = ma;
2465
- x.monthsParse = _a;
2466
- x.monthsRegex = wa;
2467
- x.monthsShortRegex = pa;
2468
- x.week = va;
2469
- x.firstDayOfYear = Ma;
2470
- x.firstDayOfWeek = Sa;
2471
- x.weekdays = Na;
2472
- x.weekdaysMin = xa;
2473
- x.weekdaysShort = Ca;
2474
- x.weekdaysParse = Wa;
2475
- x.weekdaysRegex = Ha;
2476
- x.weekdaysShortRegex = za;
2477
- x.weekdaysMinRegex = ja;
2478
- x.isPM = Va;
2479
- x.meridiem = Ja;
2480
- function ts(e, t, s, r) {
2481
- var n = Ce(), i = Me().set(r, t);
2482
- return n[s](i, e);
2483
- }
2484
- function bn(e, t, s) {
2485
- if (Ne(e) && (t = e, e = void 0), e = e || "", t != null)
2486
- return ts(e, t, s, "month");
2487
- var r, n = [];
2488
- for (r = 0; r < 12; r++)
2489
- n[r] = ts(e, r, s, "month");
2490
- return n;
2491
- }
2492
- function nr(e, t, s, r) {
2493
- typeof e == "boolean" ? (Ne(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, Ne(t) && (s = t, t = void 0), t = t || "");
2494
- var n = Ce(), i = e ? n._week.dow : 0, a, l = [];
2495
- if (s != null)
2496
- return ts(t, (s + i) % 7, r, "day");
2497
- for (a = 0; a < 7; a++)
2498
- l[a] = ts(t, (a + i) % 7, r, "day");
2499
- return l;
2500
- }
2501
- function tu(e, t) {
2502
- return bn(e, t, "months");
2503
- }
2504
- function su(e, t) {
2505
- return bn(e, t, "monthsShort");
2506
- }
2507
- function ru(e, t, s) {
2508
- return nr(e, t, s, "weekdays");
2509
- }
2510
- function nu(e, t, s) {
2511
- return nr(e, t, s, "weekdaysShort");
2512
- }
2513
- function iu(e, t, s) {
2514
- return nr(e, t, s, "weekdaysMin");
2515
- }
2516
- ze("en", {
2517
- eras: [
2518
- {
2519
- since: "0001-01-01",
2520
- until: 1 / 0,
2521
- offset: 1,
2522
- name: "Anno Domini",
2523
- narrow: "AD",
2524
- abbr: "AD"
2525
- },
2526
- {
2527
- since: "0000-12-31",
2528
- until: -1 / 0,
2529
- offset: 1,
2530
- name: "Before Christ",
2531
- narrow: "BC",
2532
- abbr: "BC"
2533
- }
2534
- ],
2535
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
2536
- ordinal: function(e) {
2537
- var t = e % 10, s = I(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
2538
- return e + s;
2539
- }
2540
- });
2541
- m.lang = ge(
2542
- "moment.lang is deprecated. Use moment.locale instead.",
2543
- ze
2544
- );
2545
- m.langData = ge(
2546
- "moment.langData is deprecated. Use moment.localeData instead.",
2547
- Ce
2548
- );
2549
- var Oe = Math.abs;
2550
- function au() {
2551
- var e = this._data;
2552
- return this._milliseconds = Oe(this._milliseconds), this._days = Oe(this._days), this._months = Oe(this._months), e.milliseconds = Oe(e.milliseconds), e.seconds = Oe(e.seconds), e.minutes = Oe(e.minutes), e.hours = Oe(e.hours), e.months = Oe(e.months), e.years = Oe(e.years), this;
2553
- }
2554
- function Sn(e, t, s, r) {
2555
- var n = ke(t, s);
2556
- return e._milliseconds += r * n._milliseconds, e._days += r * n._days, e._months += r * n._months, e._bubble();
2557
- }
2558
- function ou(e, t) {
2559
- return Sn(this, e, t, 1);
2560
- }
2561
- function lu(e, t) {
2562
- return Sn(this, e, t, -1);
2563
- }
2564
- function Tr(e) {
2565
- return e < 0 ? Math.floor(e) : Math.ceil(e);
2566
- }
2567
- function uu() {
2568
- var e = this._milliseconds, t = this._days, s = this._months, r = this._data, n, i, a, l, c;
2569
- return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Tr(xs(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, n = he(e / 1e3), r.seconds = n % 60, i = he(n / 60), r.minutes = i % 60, a = he(i / 60), r.hours = a % 24, t += he(a / 24), c = he(Mn(t)), s += c, t -= Tr(xs(c)), l = he(s / 12), s %= 12, r.days = t, r.months = s, r.years = l, this;
2570
- }
2571
- function Mn(e) {
2572
- return e * 4800 / 146097;
2573
- }
2574
- function xs(e) {
2575
- return e * 146097 / 4800;
2576
- }
2577
- function du(e) {
2578
- if (!this.isValid())
2579
- return NaN;
2580
- var t, s, r = this._milliseconds;
2581
- if (e = _e(e), e === "month" || e === "quarter" || e === "year")
2582
- switch (t = this._days + r / 864e5, s = this._months + Mn(t), e) {
2583
- case "month":
2584
- return s;
2585
- case "quarter":
2586
- return s / 3;
2587
- case "year":
2588
- return s / 12;
2589
- }
2590
- else
2591
- switch (t = this._days + Math.round(xs(this._months)), e) {
2592
- case "week":
2593
- return t / 7 + r / 6048e5;
2594
- case "day":
2595
- return t + r / 864e5;
2596
- case "hour":
2597
- return t * 24 + r / 36e5;
2598
- case "minute":
2599
- return t * 1440 + r / 6e4;
2600
- case "second":
2601
- return t * 86400 + r / 1e3;
2602
- case "millisecond":
2603
- return Math.floor(t * 864e5) + r;
2604
- default:
2605
- throw new Error("Unknown unit " + e);
2606
- }
2607
- }
2608
- function xe(e) {
2609
- return function() {
2610
- return this.as(e);
2611
- };
2612
- }
2613
- var Fn = xe("ms"), cu = xe("s"), fu = xe("m"), hu = xe("h"), mu = xe("d"), gu = xe("w"), _u = xe("M"), yu = xe("Q"), pu = xe("y"), wu = Fn;
2614
- function ku() {
2615
- return ke(this);
2616
- }
2617
- function vu(e) {
2618
- return e = _e(e), this.isValid() ? this[e + "s"]() : NaN;
2619
- }
2620
- function et(e) {
2621
- return function() {
2622
- return this.isValid() ? this._data[e] : NaN;
2623
- };
2624
- }
2625
- var bu = et("milliseconds"), Su = et("seconds"), Mu = et("minutes"), Fu = et("hours"), Du = et("days"), Yu = et("months"), Ou = et("years");
2626
- function Tu() {
2627
- return he(this.days() / 7);
2628
- }
2629
- var Te = Math.round, at = {
2630
- ss: 44,
2631
- // a few seconds to seconds
2632
- s: 45,
2633
- // seconds to minute
2634
- m: 45,
2635
- // minutes to hour
2636
- h: 22,
2637
- // hours to day
2638
- d: 26,
2639
- // days to month/week
2640
- w: null,
2641
- // weeks to month
2642
- M: 11
2643
- // months to year
2644
- };
2645
- function Iu(e, t, s, r, n) {
2646
- return n.relativeTime(t || 1, !!s, e, r);
2647
- }
2648
- function Pu(e, t, s, r) {
2649
- var n = ke(e).abs(), i = Te(n.as("s")), a = Te(n.as("m")), l = Te(n.as("h")), c = Te(n.as("d")), h = Te(n.as("M")), w = Te(n.as("w")), S = Te(n.as("y")), D = i <= s.ss && ["s", i] || i < s.s && ["ss", i] || a <= 1 && ["m"] || a < s.m && ["mm", a] || l <= 1 && ["h"] || l < s.h && ["hh", l] || c <= 1 && ["d"] || c < s.d && ["dd", c];
2650
- return s.w != null && (D = D || w <= 1 && ["w"] || w < s.w && ["ww", w]), D = D || h <= 1 && ["M"] || h < s.M && ["MM", h] || S <= 1 && ["y"] || ["yy", S], D[2] = t, D[3] = +e > 0, D[4] = r, Iu.apply(null, D);
2651
- }
2652
- function Ru(e) {
2653
- return e === void 0 ? Te : typeof e == "function" ? (Te = e, !0) : !1;
2654
- }
2655
- function Lu(e, t) {
2656
- return at[e] === void 0 ? !1 : t === void 0 ? at[e] : (at[e] = t, e === "s" && (at.ss = t - 1), !0);
2657
- }
2658
- function Nu(e, t) {
2659
- if (!this.isValid())
2660
- return this.localeData().invalidDate();
2661
- var s = !1, r = at, n, i;
2662
- return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, at, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), n = this.localeData(), i = Pu(this, !s, r, n), s && (i = n.pastFuture(+this, i)), n.postformat(i);
2663
- }
2664
- var Os = Math.abs;
2665
- function nt(e) {
2666
- return (e > 0) - (e < 0) || +e;
2667
- }
2668
- function fs() {
2669
- if (!this.isValid())
2670
- return this.localeData().invalidDate();
2671
- var e = Os(this._milliseconds) / 1e3, t = Os(this._days), s = Os(this._months), r, n, i, a, l = this.asSeconds(), c, h, w, S;
2672
- return l ? (r = he(e / 60), n = he(r / 60), e %= 60, r %= 60, i = he(s / 12), s %= 12, a = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", c = l < 0 ? "-" : "", h = nt(this._months) !== nt(l) ? "-" : "", w = nt(this._days) !== nt(l) ? "-" : "", S = nt(this._milliseconds) !== nt(l) ? "-" : "", c + "P" + (i ? h + i + "Y" : "") + (s ? h + s + "M" : "") + (t ? w + t + "D" : "") + (n || r || e ? "T" : "") + (n ? S + n + "H" : "") + (r ? S + r + "M" : "") + (e ? S + a + "S" : "")) : "P0D";
2673
- }
2674
- var P = ds.prototype;
2675
- P.isValid = Yo;
2676
- P.abs = au;
2677
- P.add = ou;
2678
- P.subtract = lu;
2679
- P.as = du;
2680
- P.asMilliseconds = Fn;
2681
- P.asSeconds = cu;
2682
- P.asMinutes = fu;
2683
- P.asHours = hu;
2684
- P.asDays = mu;
2685
- P.asWeeks = gu;
2686
- P.asMonths = _u;
2687
- P.asQuarters = yu;
2688
- P.asYears = pu;
2689
- P.valueOf = wu;
2690
- P._bubble = uu;
2691
- P.clone = ku;
2692
- P.get = vu;
2693
- P.milliseconds = bu;
2694
- P.seconds = Su;
2695
- P.minutes = Mu;
2696
- P.hours = Fu;
2697
- P.days = Du;
2698
- P.weeks = Tu;
2699
- P.months = Yu;
2700
- P.years = Ou;
2701
- P.humanize = Nu;
2702
- P.toISOString = fs;
2703
- P.toString = fs;
2704
- P.toJSON = fs;
2705
- P.locale = fn;
2706
- P.localeData = mn;
2707
- P.toIsoString = ge(
2708
- "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2709
- fs
2710
- );
2711
- P.lang = hn;
2712
- y("X", 0, 0, "unix");
2713
- y("x", 0, 0, "valueOf");
2714
- g("x", as);
2715
- g("X", ea);
2716
- U("X", function(e, t, s) {
2717
- s._d = new Date(parseFloat(e) * 1e3);
2718
- });
2719
- U("x", function(e, t, s) {
2720
- s._d = new Date(I(e));
2721
- });
2722
- //! moment.js
2723
- m.version = "2.30.1";
2724
- Ni(Q);
2725
- m.fn = f;
2726
- m.min = So;
2727
- m.max = Mo;
2728
- m.now = Fo;
2729
- m.utc = Me;
2730
- m.unix = $l;
2731
- m.months = tu;
2732
- m.isDate = Ot;
2733
- m.locale = ze;
2734
- m.invalid = ss;
2735
- m.duration = ke;
2736
- m.isMoment = we;
2737
- m.weekdays = ru;
2738
- m.parseZone = eu;
2739
- m.localeData = Ce;
2740
- m.isDuration = qt;
2741
- m.monthsShort = su;
2742
- m.weekdaysMin = iu;
2743
- m.defineLocale = Qs;
2744
- m.updateLocale = $a;
2745
- m.locales = eo;
2746
- m.weekdaysShort = nu;
2747
- m.normalizeUnits = _e;
2748
- m.relativeTimeRounding = Ru;
2749
- m.relativeTimeThreshold = Lu;
2750
- m.calendarFormat = Qo;
2751
- m.prototype = f;
2752
- m.HTML5_FMT = {
2753
- DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
2754
- // <input type="datetime-local" />
2755
- DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
2756
- // <input type="datetime-local" step="1" />
2757
- DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
2758
- // <input type="datetime-local" step="0.001" />
2759
- DATE: "YYYY-MM-DD",
2760
- // <input type="date" />
2761
- TIME: "HH:mm",
2762
- // <input type="time" />
2763
- TIME_SECONDS: "HH:mm:ss",
2764
- // <input type="time" step="1" />
2765
- TIME_MS: "HH:mm:ss.SSS",
2766
- // <input type="time" step="0.001" />
2767
- WEEK: "GGGG-[W]WW",
2768
- // <input type="week" />
2769
- MONTH: "YYYY-MM"
2770
- // <input type="month" />
2771
- };
2772
- function Cu(e) {
2773
- vi(e, "svelte-10vbr2r", ":host{font-family:inherit}.CasinoGamePageContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emw--color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A));border-radius:5px;border:1px solid var(--emw--button-typography, var(--emw--color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A));border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}p{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;height:60px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}");
2774
- }
2775
- function xu(e) {
2776
- let t, s, r = (
2777
- /*detailsObtained*/
2778
- e[14] && Ir(e)
2779
- );
2780
- return {
2781
- c() {
2782
- var n;
2783
- t = _("div"), s = _("div"), r && r.c(), u(s, "class", "CasinoGamePageContainer"), re(s, "background", "rgba(0, 0, 0, 0.5)"), u(t, "class", "GamePageBackground"), re(t, "background", /*mobileView*/
2784
- e[23] ? "" : `url(${/*game*/
2785
- (n = e[12]) == null ? void 0 : n.backgroundImageUrl})`), re(t, "background-size", "cover");
2786
- },
2787
- m(n, i) {
2788
- J(n, t, i), d(t, s), r && r.m(s, null), e[88](t);
2789
- },
2790
- p(n, i) {
2791
- var a;
2792
- /*detailsObtained*/
2793
- n[14] ? r ? r.p(n, i) : (r = Ir(n), r.c(), r.m(s, null)) : r && (r.d(1), r = null), i[0] & /*mobileView, game*/
2794
- 8392704 && re(t, "background", /*mobileView*/
2795
- n[23] ? "" : `url(${/*game*/
2796
- (a = n[12]) == null ? void 0 : a.backgroundImageUrl})`);
2797
- },
2798
- d(n) {
2799
- n && q(t), r && r.d(), e[88](null);
2800
- }
2801
- };
2802
- }
2803
- function Eu(e) {
2804
- let t;
2805
- return {
2806
- c() {
2807
- t = _("p"), t.textContent = "500 Error - Internal Server Error.", u(t, "class", "SearchLoading");
2808
- },
2809
- m(s, r) {
2810
- J(s, t, r);
2811
- },
2812
- p: $e,
2813
- d(s) {
2814
- s && q(t);
2815
- }
2816
- };
2817
- }
2818
- function Wu(e) {
2819
- let t, s = (
2820
- /*$_*/
2821
- e[28]("loading") + ""
2822
- ), r;
2823
- return {
2824
- c() {
2825
- t = _("p"), r = Z(s), u(t, "class", "SearchLoading");
2826
- },
2827
- m(n, i) {
2828
- J(n, t, i), d(t, r);
2829
- },
2830
- p(n, i) {
2831
- i[0] & /*$_*/
2832
- 268435456 && s !== (s = /*$_*/
2833
- n[28]("loading") + "") && V(r, s);
2834
- },
2835
- d(n) {
2836
- n && q(t);
2837
- }
2838
- };
2839
- }
2840
- function Ir(e) {
2841
- let t;
2842
- function s(i, a) {
2843
- if (
2844
- /*mobileView*/
2845
- i[23]
2846
- ) return Au;
2847
- if (
2848
- /*isLoggedIn*/
2849
- i[6]
2850
- ) return Uu;
2851
- if (!/*determiningIsLoggedIn*/
2852
- i[7]) return Gu;
2853
- }
2854
- let r = s(e), n = r && r(e);
2855
- return {
2856
- c() {
2857
- n && n.c(), t = Dt();
2858
- },
2859
- m(i, a) {
2860
- n && n.m(i, a), J(i, t, a);
2861
- },
2862
- p(i, a) {
2863
- r === (r = s(i)) && n ? n.p(i, a) : (n && n.d(1), n = r && r(i), n && (n.c(), n.m(t.parentNode, t)));
2864
- },
2865
- d(i) {
2866
- i && q(t), n && n.d(i);
2867
- }
2868
- };
2869
- }
2870
- function Gu(e) {
2871
- let t;
2872
- function s(i, a) {
2873
- return (
2874
- /*funMode*/
2875
- i[15] ? zu : Hu
2876
- );
2877
- }
2878
- let r = s(e), n = r(e);
2879
- return {
2880
- c() {
2881
- n.c(), t = Dt();
2882
- },
2883
- m(i, a) {
2884
- n.m(i, a), J(i, t, a);
2885
- },
2886
- p(i, a) {
2887
- r === (r = s(i)) && n ? n.p(i, a) : (n.d(1), n = r(i), n && (n.c(), n.m(t.parentNode, t)));
2888
- },
2889
- d(i) {
2890
- i && q(t), n.d(i);
2891
- }
2892
- };
2893
- }
2894
- function Uu(e) {
2895
- let t, s, r, n, i, a, l, c = (
2896
- /*$_*/
2897
- e[28]("deposit") + ""
2898
- ), h, w, S, D, j, R, L, N, B, G, O = (
2899
- /*haspanicbutton*/
2900
- e[1] === "true" && Pr(e)
2901
- );
2902
- function A(p, k) {
2903
- return (
2904
- /*isFullscreen*/
2905
- p[20] ? Zu : Vu
2906
- );
2907
- }
2908
- let ee = A(e), b = ee(e);
2909
- return {
2910
- c() {
2911
- t = _("div"), s = _("div"), r = _("iframe"), i = z(), a = _("div"), l = _("button"), h = Z(c), w = z(), S = _("p"), D = _("span"), j = Z(
2912
- /*time*/
2913
- e[4]
2914
- ), R = z(), O && O.c(), L = z(), b.c(), u(r, "title", "Games"), u(r, "id", "IframeGame"), u(r, "class", "GamesContainer"), u(r, "aria-hidden", "false"), me(r.src, n = /*game*/
2915
- e[12].launchUrl) || u(r, "src", n), re(r, "max-height", "calc(100% - " + /*adjustableHeightDifference*/
2916
- e[26] + "px)"), u(l, "class", "DepositButton"), u(S, "class", "Time"), u(a, "class", N = "BottomGame " + /*haspanicbutton*/
2917
- (e[1] == "true" ? "BottomGamePanicSection" : "")), u(s, "id", "IframeGame"), u(
2918
- s,
2919
- "style",
2920
- /*gameStyle*/
2921
- e[27]
2922
- ), je(
2923
- s,
2924
- "FullsScreenLayout",
2925
- /*isFullscreen*/
2926
- e[20]
2927
- ), u(t, "id", "IframeContainer"), re(
2928
- t,
2929
- "width",
2930
- /*modalFrameWidth*/
2931
- e[21]
2932
- ), re(
2933
- t,
2934
- "height",
2935
- /*modalFrameHeight*/
2936
- e[22]
2937
- );
2938
- },
2939
- m(p, k) {
2940
- J(p, t, k), d(t, s), d(s, r), e[68](r), d(s, i), d(s, a), d(a, l), d(l, h), d(a, w), d(a, S), d(S, D), d(D, j), e[70](S), d(a, R), O && O.m(a, null), d(a, L), b.m(a, null), e[74](a), e[75](s), e[76](t), B || (G = ie(
2941
- l,
2942
- "click",
2943
- /*click_handler_9*/
2944
- e[69]
2945
- ), B = !0);
2946
- },
2947
- p(p, k) {
2948
- k[0] & /*game*/
2949
- 4096 && !me(r.src, n = /*game*/
2950
- p[12].launchUrl) && u(r, "src", n), k[0] & /*adjustableHeightDifference*/
2951
- 67108864 && re(r, "max-height", "calc(100% - " + /*adjustableHeightDifference*/
2952
- p[26] + "px)"), k[0] & /*$_*/
2953
- 268435456 && c !== (c = /*$_*/
2954
- p[28]("deposit") + "") && V(h, c), k[0] & /*time*/
2955
- 16 && V(
2956
- j,
2957
- /*time*/
2958
- p[4]
2959
- ), /*haspanicbutton*/
2960
- p[1] === "true" ? O ? O.p(p, k) : (O = Pr(p), O.c(), O.m(a, L)) : O && (O.d(1), O = null), ee === (ee = A(p)) && b ? b.p(p, k) : (b.d(1), b = ee(p), b && (b.c(), b.m(a, null))), k[0] & /*haspanicbutton*/
2961
- 2 && N !== (N = "BottomGame " + /*haspanicbutton*/
2962
- (p[1] == "true" ? "BottomGamePanicSection" : "")) && u(a, "class", N), k[0] & /*gameStyle*/
2963
- 134217728 && u(
2964
- s,
2965
- "style",
2966
- /*gameStyle*/
2967
- p[27]
2968
- ), k[0] & /*isFullscreen*/
2969
- 1048576 && je(
2970
- s,
2971
- "FullsScreenLayout",
2972
- /*isFullscreen*/
2973
- p[20]
2974
- ), k[0] & /*modalFrameWidth*/
2975
- 2097152 && re(
2976
- t,
2977
- "width",
2978
- /*modalFrameWidth*/
2979
- p[21]
2980
- ), k[0] & /*modalFrameHeight*/
2981
- 4194304 && re(
2982
- t,
2983
- "height",
2984
- /*modalFrameHeight*/
2985
- p[22]
2986
- );
2987
- },
2988
- d(p) {
2989
- p && q(t), e[68](null), e[70](null), O && O.d(), b.d(), e[74](null), e[75](null), e[76](null), B = !1, G();
2990
- }
2991
- };
2992
- }
2993
- function Au(e) {
2994
- let t;
2995
- function s(i, a) {
2996
- if (
2997
- /*isLoggedIn*/
2998
- i[6]
2999
- ) return Qu;
3000
- if (
3001
- /*anonymousFunMode*/
3002
- i[16] && !/*determiningIsLoggedIn*/
3003
- i[7]
3004
- ) return Ju;
3005
- if (!/*determiningIsLoggedIn*/
3006
- i[7]) return qu;
3007
- }
3008
- let r = s(e), n = r && r(e);
3009
- return {
3010
- c() {
3011
- n && n.c(), t = Dt();
3012
- },
3013
- m(i, a) {
3014
- n && n.m(i, a), J(i, t, a);
3015
- },
3016
- p(i, a) {
3017
- r === (r = s(i)) && n ? n.p(i, a) : (n && n.d(1), n = r && r(i), n && (n.c(), n.m(t.parentNode, t)));
3018
- },
3019
- d(i) {
3020
- i && q(t), n && n.d(i);
3021
- }
3022
- };
3023
- }
3024
- function Hu(e) {
3025
- let t, s, r = (
3026
- /*game*/
3027
- e[12].name + ""
3028
- ), n, i, a, l, c, h, w, S = (
3029
- /*$_*/
3030
- e[28]("signIn") + ""
3031
- ), D, j, R, L = (
3032
- /*$_*/
3033
- e[28]("register") + ""
3034
- ), N, B, G, O, A, ee;
3035
- return {
3036
- c() {
3037
- t = _("div"), s = _("h3"), n = Z(r), i = z(), a = _("img"), c = z(), h = _("div"), w = _("button"), D = Z(S), j = z(), R = _("button"), N = Z(L), B = z(), G = _("p"), O = Z(
3038
- /*time*/
3039
- e[4]
3040
- ), me(a.src, l = /*game*/
3041
- e[12].thumbnail) || u(a, "src", l), u(a, "class", "GameThumbnail"), u(a, "alt", "game thumbnail"), u(a, "loading", "lazy"), u(w, "class", "LoginButton"), u(R, "class", "RegisterButton"), u(h, "class", "ButtonsContainer"), u(t, "class", "GameDetails"), u(t, "part", "GameDetails");
3042
- },
3043
- m(b, p) {
3044
- J(b, t, p), d(t, s), d(s, n), d(t, i), d(t, a), d(t, c), d(t, h), d(h, w), d(w, D), d(h, j), d(h, R), d(R, N), d(t, B), d(t, G), d(G, O), A || (ee = [
3045
- ie(
3046
- w,
3047
- "click",
3048
- /*click_handler_16*/
3049
- e[86]
3050
- ),
3051
- ie(
3052
- R,
3053
- "click",
3054
- /*click_handler_17*/
3055
- e[87]
3056
- )
3057
- ], A = !0);
3058
- },
3059
- p(b, p) {
3060
- p[0] & /*game*/
3061
- 4096 && r !== (r = /*game*/
3062
- b[12].name + "") && V(n, r), p[0] & /*game*/
3063
- 4096 && !me(a.src, l = /*game*/
3064
- b[12].thumbnail) && u(a, "src", l), p[0] & /*$_*/
3065
- 268435456 && S !== (S = /*$_*/
3066
- b[28]("signIn") + "") && V(D, S), p[0] & /*$_*/
3067
- 268435456 && L !== (L = /*$_*/
3068
- b[28]("register") + "") && V(N, L), p[0] & /*time*/
3069
- 16 && V(
3070
- O,
3071
- /*time*/
3072
- b[4]
3073
- );
3074
- },
3075
- d(b) {
3076
- b && q(t), A = !1, Yt(ee);
3077
- }
3078
- };
3079
- }
3080
- function zu(e) {
3081
- let t, s, r, n, i, a, l, c, h = (
3082
- /*$_*/
3083
- e[28]("signIn") + ""
3084
- ), w, S, D, j = (
3085
- /*$_*/
3086
- e[28]("register") + ""
3087
- ), R, L, N, B, G, O, A, ee;
3088
- function b(M, v) {
3089
- return (
3090
- /*isFullscreen*/
3091
- M[20] ? Bu : ju
3092
- );
3093
- }
3094
- let p = b(e), k = p(e);
3095
- return {
3096
- c() {
3097
- t = _("div"), s = _("div"), r = _("iframe"), i = z(), a = _("div"), l = _("div"), c = _("button"), w = Z(h), S = z(), D = _("button"), R = Z(j), L = z(), N = _("p"), B = _("span"), G = Z(
3098
- /*time*/
3099
- e[4]
3100
- ), O = z(), k.c(), u(r, "title", "Games"), u(r, "id", "IframeGame"), u(r, "class", "GamesContainer"), u(r, "aria-hidden", "false"), me(r.src, n = /*game*/
3101
- e[12].launchUrl) || u(r, "src", n), re(r, "max-height", "calc(100% - " + /*adjustableHeightDifference*/
3102
- e[26] + "px)"), u(c, "class", "LoginButton"), u(D, "class", "RegisterButton"), u(l, "class", "ButtonsContainer"), u(N, "class", "Time"), u(a, "class", "BottomGame"), u(s, "id", "IframeGame"), u(
3103
- s,
3104
- "style",
3105
- /*gameStyle*/
3106
- e[27]
3107
- ), je(
3108
- s,
3109
- "FullsScreenLayout",
3110
- /*isFullscreen*/
3111
- e[20]
3112
- ), u(t, "id", "IframeContainer"), re(
3113
- t,
3114
- "width",
3115
- /*modalFrameWidth*/
3116
- e[21]
3117
- ), re(
3118
- t,
3119
- "height",
3120
- /*modalFrameHeight*/
3121
- e[22]
3122
- );
3123
- },
3124
- m(M, v) {
3125
- J(M, t, v), d(t, s), d(s, r), e[77](r), d(s, i), d(s, a), d(a, l), d(l, c), d(c, w), d(l, S), d(l, D), d(D, R), d(a, L), d(a, N), d(N, B), d(B, G), e[80](N), d(a, O), k.m(a, null), e[83](a), e[84](s), e[85](t), A || (ee = [
3126
- ie(
3127
- c,
3128
- "click",
3129
- /*click_handler_12*/
3130
- e[78]
3131
- ),
3132
- ie(
3133
- D,
3134
- "click",
3135
- /*click_handler_13*/
3136
- e[79]
3137
- )
3138
- ], A = !0);
3139
- },
3140
- p(M, v) {
3141
- v[0] & /*game*/
3142
- 4096 && !me(r.src, n = /*game*/
3143
- M[12].launchUrl) && u(r, "src", n), v[0] & /*adjustableHeightDifference*/
3144
- 67108864 && re(r, "max-height", "calc(100% - " + /*adjustableHeightDifference*/
3145
- M[26] + "px)"), v[0] & /*$_*/
3146
- 268435456 && h !== (h = /*$_*/
3147
- M[28]("signIn") + "") && V(w, h), v[0] & /*$_*/
3148
- 268435456 && j !== (j = /*$_*/
3149
- M[28]("register") + "") && V(R, j), v[0] & /*time*/
3150
- 16 && V(
3151
- G,
3152
- /*time*/
3153
- M[4]
3154
- ), p === (p = b(M)) && k ? k.p(M, v) : (k.d(1), k = p(M), k && (k.c(), k.m(a, null))), v[0] & /*gameStyle*/
3155
- 134217728 && u(
3156
- s,
3157
- "style",
3158
- /*gameStyle*/
3159
- M[27]
3160
- ), v[0] & /*isFullscreen*/
3161
- 1048576 && je(
3162
- s,
3163
- "FullsScreenLayout",
3164
- /*isFullscreen*/
3165
- M[20]
3166
- ), v[0] & /*modalFrameWidth*/
3167
- 2097152 && re(
3168
- t,
3169
- "width",
3170
- /*modalFrameWidth*/
3171
- M[21]
3172
- ), v[0] & /*modalFrameHeight*/
3173
- 4194304 && re(
3174
- t,
3175
- "height",
3176
- /*modalFrameHeight*/
3177
- M[22]
3178
- );
3179
- },
3180
- d(M) {
3181
- M && q(t), e[77](null), e[80](null), k.d(), e[83](null), e[84](null), e[85](null), A = !1, Yt(ee);
3182
- }
3183
- };
3184
- }
3185
- function ju(e) {
3186
- let t, s, r;
3187
- return {
3188
- c() {
3189
- t = _("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>', u(t, "class", "FullscreenButton");
3190
- },
3191
- m(n, i) {
3192
- J(n, t, i), s || (r = ie(
3193
- t,
3194
- "click",
3195
- /*click_handler_15*/
3196
- e[82]
3197
- ), s = !0);
3198
- },
3199
- p: $e,
3200
- d(n) {
3201
- n && q(t), s = !1, r();
3202
- }
3203
- };
3204
- }
3205
- function Bu(e) {
3206
- let t, s, r;
3207
- return {
3208
- c() {
3209
- t = _("button"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 "></polygon><polygon style="fill: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "></polygon><polygon style="fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "></polygon><polygon style="fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "></polygon></svg>', u(t, "class", "FullscreenButton");
3210
- },
3211
- m(n, i) {
3212
- J(n, t, i), s || (r = ie(
3213
- t,
3214
- "click",
3215
- /*click_handler_14*/
3216
- e[81]
3217
- ), s = !0);
3218
- },
3219
- p: $e,
3220
- d(n) {
3221
- n && q(t), s = !1, r();
3222
- }
3223
- };
3224
- }
3225
- function Pr(e) {
3226
- let t, s, r = (
3227
- /*$_*/
3228
- e[28]("breakButton") + ""
3229
- ), n;
3230
- return {
3231
- c() {
3232
- t = _("div"), s = _("button"), n = Z(r), u(s, "class", "Button"), je(
3233
- s,
3234
- "PanicButtonAnimation",
3235
- /*panicLoading*/
3236
- e[11]
3237
- ), u(t, "class", "PanicSection");
3238
- },
3239
- m(i, a) {
3240
- J(i, t, a), d(t, s), d(s, n), e[71](s);
3241
- },
3242
- p(i, a) {
3243
- a[0] & /*$_*/
3244
- 268435456 && r !== (r = /*$_*/
3245
- i[28]("breakButton") + "") && V(n, r), a[0] & /*panicLoading*/
3246
- 2048 && je(
3247
- s,
3248
- "PanicButtonAnimation",
3249
- /*panicLoading*/
3250
- i[11]
3251
- );
3252
- },
3253
- d(i) {
3254
- i && q(t), e[71](null);
3255
- }
3256
- };
3257
- }
3258
- function Vu(e) {
3259
- let t, s, r;
3260
- return {
3261
- c() {
3262
- t = _("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>', u(t, "class", "FullscreenButton");
3263
- },
3264
- m(n, i) {
3265
- J(n, t, i), s || (r = ie(
3266
- t,
3267
- "click",
3268
- /*click_handler_11*/
3269
- e[73]
3270
- ), s = !0);
3271
- },
3272
- p: $e,
3273
- d(n) {
3274
- n && q(t), s = !1, r();
3275
- }
3276
- };
3277
- }
3278
- function Zu(e) {
3279
- let t, s, r;
3280
- return {
3281
- c() {
3282
- t = _("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 "></polygon><polygon style="fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "></polygon><polygon style="fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "></polygon><polygon style="fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "></polygon></svg>', u(t, "class", "FullscreenButton");
3283
- },
3284
- m(n, i) {
3285
- J(n, t, i), s || (r = ie(
3286
- t,
3287
- "click",
3288
- /*click_handler_10*/
3289
- e[72]
3290
- ), s = !0);
3291
- },
3292
- p: $e,
3293
- d(n) {
3294
- n && q(t), s = !1, r();
3295
- }
3296
- };
3297
- }
3298
- function qu(e) {
3299
- let t, s, r = (
3300
- /*game*/
3301
- e[12].name + ""
3302
- ), n, i, a, l, c, h, w, S = (
3303
- /*$_*/
3304
- e[28]("signIn") + ""
3305
- ), D, j, R, L = (
3306
- /*$_*/
3307
- e[28]("register") + ""
3308
- ), N, B, G, O, A, ee;
3309
- return {
3310
- c() {
3311
- t = _("div"), s = _("h3"), n = Z(r), i = z(), a = _("img"), c = z(), h = _("div"), w = _("button"), D = Z(S), j = z(), R = _("button"), N = Z(L), B = z(), G = _("p"), O = Z(
3312
- /*time*/
3313
- e[4]
3314
- ), me(a.src, l = /*game*/
3315
- e[12].thumbnail) || u(a, "src", l), u(a, "class", "GameThumbnail"), u(a, "alt", "game thumbnail"), u(a, "loading", "lazy"), u(w, "class", "LoginButton"), u(R, "class", "RegisterButton"), u(h, "class", "ButtonsContainer"), u(t, "class", "GameDetails"), u(t, "part", "GameDetails");
3316
- },
3317
- m(b, p) {
3318
- J(b, t, p), d(t, s), d(s, n), d(t, i), d(t, a), d(t, c), d(t, h), d(h, w), d(w, D), d(h, j), d(h, R), d(R, N), d(t, B), d(t, G), d(G, O), A || (ee = [
3319
- ie(
3320
- w,
3321
- "click",
3322
- /*click_handler_7*/
3323
- e[66]
3324
- ),
3325
- ie(
3326
- R,
3327
- "click",
3328
- /*click_handler_8*/
3329
- e[67]
3330
- )
3331
- ], A = !0);
3332
- },
3333
- p(b, p) {
3334
- p[0] & /*game*/
3335
- 4096 && r !== (r = /*game*/
3336
- b[12].name + "") && V(n, r), p[0] & /*game*/
3337
- 4096 && !me(a.src, l = /*game*/
3338
- b[12].thumbnail) && u(a, "src", l), p[0] & /*$_*/
3339
- 268435456 && S !== (S = /*$_*/
3340
- b[28]("signIn") + "") && V(D, S), p[0] & /*$_*/
3341
- 268435456 && L !== (L = /*$_*/
3342
- b[28]("register") + "") && V(N, L), p[0] & /*time*/
3343
- 16 && V(
3344
- O,
3345
- /*time*/
3346
- b[4]
3347
- );
3348
- },
3349
- d(b) {
3350
- b && q(t), A = !1, Yt(ee);
3351
- }
3352
- };
3353
- }
3354
- function Ju(e) {
3355
- let t, s, r = (
3356
- /*game*/
3357
- e[12].name + ""
3358
- ), n, i, a, l, c, h, w, S = (
3359
- /*$_*/
3360
- e[28]("signIn") + ""
3361
- ), D, j, R, L = (
3362
- /*$_*/
3363
- e[28]("register") + ""
3364
- ), N, B, G, O = (
3365
- /*$_*/
3366
- e[28]("playForFun") + ""
3367
- ), A, ee, b, p, k, M;
3368
- return {
3369
- c() {
3370
- t = _("div"), s = _("h3"), n = Z(r), i = z(), a = _("img"), c = z(), h = _("div"), w = _("button"), D = Z(S), j = z(), R = _("button"), N = Z(L), B = z(), G = _("button"), A = Z(O), ee = z(), b = _("p"), p = Z(
3371
- /*time*/
3372
- e[4]
3373
- ), me(a.src, l = /*game*/
3374
- e[12].thumbnail) || u(a, "src", l), u(a, "class", "GameThumbnail"), u(a, "alt", "game thumbnail"), u(a, "loading", "lazy"), u(w, "class", "LoginButton"), u(R, "class", "RegisterButton"), u(G, "class", "FullWidthButton"), u(h, "class", "ButtonsContainer"), u(t, "class", "GameDetails");
3375
- },
3376
- m(v, K) {
3377
- J(v, t, K), d(t, s), d(s, n), d(t, i), d(t, a), d(t, c), d(t, h), d(h, w), d(w, D), d(h, j), d(h, R), d(R, N), d(h, B), d(h, G), d(G, A), d(t, ee), d(t, b), d(b, p), k || (M = [
3378
- ie(
3379
- w,
3380
- "click",
3381
- /*click_handler_4*/
3382
- e[63]
3383
- ),
3384
- ie(
3385
- R,
3386
- "click",
3387
- /*click_handler_5*/
3388
- e[64]
3389
- ),
3390
- ie(
3391
- G,
3392
- "click",
3393
- /*click_handler_6*/
3394
- e[65]
3395
- )
3396
- ], k = !0);
3397
- },
3398
- p(v, K) {
3399
- K[0] & /*game*/
3400
- 4096 && r !== (r = /*game*/
3401
- v[12].name + "") && V(n, r), K[0] & /*game*/
3402
- 4096 && !me(a.src, l = /*game*/
3403
- v[12].thumbnail) && u(a, "src", l), K[0] & /*$_*/
3404
- 268435456 && S !== (S = /*$_*/
3405
- v[28]("signIn") + "") && V(D, S), K[0] & /*$_*/
3406
- 268435456 && L !== (L = /*$_*/
3407
- v[28]("register") + "") && V(N, L), K[0] & /*$_*/
3408
- 268435456 && O !== (O = /*$_*/
3409
- v[28]("playForFun") + "") && V(A, O), K[0] & /*time*/
3410
- 16 && V(
3411
- p,
3412
- /*time*/
3413
- v[4]
3414
- );
3415
- },
3416
- d(v) {
3417
- v && q(t), k = !1, Yt(M);
3418
- }
3419
- };
3420
- }
3421
- function Qu(e) {
3422
- let t, s, r, n = (
3423
- /*game*/
3424
- e[12].name + ""
3425
- ), i, a, l, c, h, w, S, D = (
3426
- /*$_*/
3427
- e[28]("deposit") + ""
3428
- ), j, R, L, N = (
3429
- /*$_*/
3430
- e[28]("playNow") + ""
3431
- ), B, G, O, A, ee, b, p, k = (
3432
- /*favorites*/
3433
- e[0] == "true" && Rr(e)
3434
- ), M = (
3435
- /*haspanicbutton*/
3436
- e[1] === "true" && Lr(e)
3437
- );
3438
- return {
3439
- c() {
3440
- k && k.c(), t = z(), s = _("div"), r = _("h3"), i = Z(n), a = z(), l = _("img"), h = z(), w = _("div"), S = _("button"), j = Z(D), R = z(), L = _("button"), B = Z(N), G = z(), M && M.c(), O = z(), A = _("p"), ee = Z(
3441
- /*time*/
3442
- e[4]
3443
- ), me(l.src, c = /*game*/
3444
- e[12].thumbnail) || u(l, "src", c), u(l, "class", "GameThumbnail"), u(l, "alt", "game thumbnail"), u(l, "loading", "lazy"), u(S, "class", "DepositButton"), u(L, "class", "PlayNowButton"), u(w, "class", "ButtonsContainer"), u(s, "class", "GameDetails");
3445
- },
3446
- m(v, K) {
3447
- k && k.m(v, K), J(v, t, K), J(v, s, K), d(s, r), d(r, i), d(s, a), d(s, l), d(s, h), d(s, w), d(w, S), d(S, j), d(w, R), d(w, L), d(L, B), d(s, G), M && M.m(s, null), d(s, O), d(s, A), d(A, ee), b || (p = [
3448
- ie(
3449
- S,
3450
- "click",
3451
- /*click_handler_2*/
3452
- e[60]
3453
- ),
3454
- ie(
3455
- L,
3456
- "click",
3457
- /*click_handler_3*/
3458
- e[61]
3459
- )
3460
- ], b = !0);
3461
- },
3462
- p(v, K) {
3463
- /*favorites*/
3464
- v[0] == "true" ? k ? k.p(v, K) : (k = Rr(v), k.c(), k.m(t.parentNode, t)) : k && (k.d(1), k = null), K[0] & /*game*/
3465
- 4096 && n !== (n = /*game*/
3466
- v[12].name + "") && V(i, n), K[0] & /*game*/
3467
- 4096 && !me(l.src, c = /*game*/
3468
- v[12].thumbnail) && u(l, "src", c), K[0] & /*$_*/
3469
- 268435456 && D !== (D = /*$_*/
3470
- v[28]("deposit") + "") && V(j, D), K[0] & /*$_*/
3471
- 268435456 && N !== (N = /*$_*/
3472
- v[28]("playNow") + "") && V(B, N), /*haspanicbutton*/
3473
- v[1] === "true" ? M ? M.p(v, K) : (M = Lr(v), M.c(), M.m(s, O)) : M && (M.d(1), M = null), K[0] & /*time*/
3474
- 16 && V(
3475
- ee,
3476
- /*time*/
3477
- v[4]
3478
- );
3479
- },
3480
- d(v) {
3481
- v && (q(t), q(s)), k && k.d(v), M && M.d(), b = !1, Yt(p);
3482
- }
3483
- };
3484
- }
3485
- function Rr(e) {
3486
- let t;
3487
- function s(i, a) {
3488
- return (
3489
- /*isFavLoading*/
3490
- i[8] ? Xu : Ku
3491
- );
3492
- }
3493
- let r = s(e), n = r(e);
3494
- return {
3495
- c() {
3496
- n.c(), t = Dt();
3497
- },
3498
- m(i, a) {
3499
- n.m(i, a), J(i, t, a);
3500
- },
3501
- p(i, a) {
3502
- r === (r = s(i)) && n ? n.p(i, a) : (n.d(1), n = r(i), n && (n.c(), n.m(t.parentNode, t)));
3503
- },
3504
- d(i) {
3505
- i && q(t), n.d(i);
3506
- }
3507
- };
3508
- }
3509
- function Xu(e) {
3510
- let t, s, r, n;
3511
- return {
3512
- c() {
3513
- t = _("div"), s = _("div"), r = _("div"), u(t, "class", n = "LoaderRipple " + /*haspanicbutton*/
3514
- (e[1] == "true" ? "LoaderWithPanicButton" : ""));
3515
- },
3516
- m(i, a) {
3517
- J(i, t, a), d(t, s), d(t, r);
3518
- },
3519
- p(i, a) {
3520
- a[0] & /*haspanicbutton*/
3521
- 2 && n !== (n = "LoaderRipple " + /*haspanicbutton*/
3522
- (i[1] == "true" ? "LoaderWithPanicButton" : "")) && u(t, "class", n);
3523
- },
3524
- d(i) {
3525
- i && q(t);
3526
- }
3527
- };
3528
- }
3529
- function Ku(e) {
3530
- let t;
3531
- function s(i, a) {
3532
- return (
3533
- /*isGameFavorite*/
3534
- i[13] ? ed : $u
3535
- );
3536
- }
3537
- let r = s(e), n = r(e);
3538
- return {
3539
- c() {
3540
- n.c(), t = Dt();
3541
- },
3542
- m(i, a) {
3543
- n.m(i, a), J(i, t, a);
3544
- },
3545
- p(i, a) {
3546
- r === (r = s(i)) && n ? n.p(i, a) : (n.d(1), n = r(i), n && (n.c(), n.m(t.parentNode, t)));
3547
- },
3548
- d(i) {
3549
- i && q(t), n.d(i);
3550
- }
3551
- };
3552
- }
3553
- function $u(e) {
3554
- let t, s, r, n, i, a;
3555
- return {
3556
- c() {
3557
- t = _("div"), s = Qt("svg"), r = Qt("path"), re(r, "fill", "var(--emw--color-white, #FFFFFF)"), u(r, "d", `M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
3558
- c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047
3559
- c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67
3560
- c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637
3561
- c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587
3562
- l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278
3563
- l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9
3564
- c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
3565
- l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z`), u(s, "version", "1.1"), u(s, "class", "UnfavoredIcon"), u(s, "xmlns", "http://www.w3.org/2000/svg"), u(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), u(s, "x", "20px"), u(s, "y", "20px"), u(s, "viewBox", "0 0 512.001 512.001"), re(s, "enable-background", "new 0 0 512.001 512.001"), u(s, "xml:space", "preserve"), u(t, "class", n = "FavIconContainer " + /*haspanicbutton*/
3566
- (e[1] == "true" ? "FavIconPanicButton" : ""));
3567
- },
3568
- m(l, c) {
3569
- J(l, t, c), d(t, s), d(s, r), i || (a = ie(
3570
- t,
3571
- "click",
3572
- /*click_handler_1*/
3573
- e[59]
3574
- ), i = !0);
3575
- },
3576
- p(l, c) {
3577
- c[0] & /*haspanicbutton*/
3578
- 2 && n !== (n = "FavIconContainer " + /*haspanicbutton*/
3579
- (l[1] == "true" ? "FavIconPanicButton" : "")) && u(t, "class", n);
3580
- },
3581
- d(l) {
3582
- l && q(t), i = !1, a();
3583
- }
3584
- };
3585
- }
3586
- function ed(e) {
3587
- let t, s, r, n, i, a;
3588
- return {
3589
- c() {
3590
- t = _("div"), s = Qt("svg"), r = Qt("path"), re(r, "fill", "var(--emw--color-white, #FFFFFF)"), u(r, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"), u(s, "version", "1.1"), u(s, "class", "FavoredIcon"), u(s, "part", "FavoredIcon"), u(s, "xmlns", "http://www.w3.org/2000/svg"), u(s, "viewBox", "0 0 19.481 19.481"), u(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), u(s, "enable-background", "new 0 0 19.481 19.481"), u(t, "class", n = "FavIconContainer " + /*haspanicbutton*/
3591
- (e[1] == "true" ? "FavIconPanicButton" : ""));
3592
- },
3593
- m(l, c) {
3594
- J(l, t, c), d(t, s), d(s, r), i || (a = ie(
3595
- t,
3596
- "click",
3597
- /*click_handler*/
3598
- e[58]
3599
- ), i = !0);
3600
- },
3601
- p(l, c) {
3602
- c[0] & /*haspanicbutton*/
3603
- 2 && n !== (n = "FavIconContainer " + /*haspanicbutton*/
3604
- (l[1] == "true" ? "FavIconPanicButton" : "")) && u(t, "class", n);
3605
- },
3606
- d(l) {
3607
- l && q(t), i = !1, a();
3608
- }
3609
- };
3610
- }
3611
- function Lr(e) {
3612
- let t, s, r = (
3613
- /*$_*/
3614
- e[28]("breakButton") + ""
3615
- ), n;
3616
- return {
3617
- c() {
3618
- t = _("div"), s = _("button"), n = Z(r), u(s, "class", "PanicButton " + (vr(
3619
- /*userAgent*/
3620
- e[29]
3621
- ) !== "PC" ? "PanicButtonMobile" : "")), je(
3622
- s,
3623
- "PanicButtonAnimation",
3624
- /*panicLoading*/
3625
- e[11]
3626
- ), u(t, "class", "PanicSection " + (vr(
3627
- /*userAgent*/
3628
- e[29]
3629
- ) !== "PC" ? "PanicSectionMobile" : ""));
3630
- },
3631
- m(i, a) {
3632
- J(i, t, a), d(t, s), d(s, n), e[62](s);
3633
- },
3634
- p(i, a) {
3635
- a[0] & /*$_*/
3636
- 268435456 && r !== (r = /*$_*/
3637
- i[28]("breakButton") + "") && V(n, r), a[0] & /*panicLoading*/
3638
- 2048 && je(
3639
- s,
3640
- "PanicButtonAnimation",
3641
- /*panicLoading*/
3642
- i[11]
3643
- );
3644
- },
3645
- d(i) {
3646
- i && q(t), e[62](null);
3647
- }
3648
- };
3649
- }
3650
- function td(e) {
3651
- let t;
3652
- function s(i, a) {
3653
- return (
3654
- /*isLoading*/
3655
- i[10] ? Wu : (
3656
- /*hasErrors*/
3657
- i[9] ? Eu : xu
3658
- )
3659
- );
3660
- }
3661
- let r = s(e), n = r(e);
3662
- return {
3663
- c() {
3664
- t = _("div"), n.c();
3665
- },
3666
- m(i, a) {
3667
- J(i, t, a), n.m(t, null), e[89](t);
3668
- },
3669
- p(i, a) {
3670
- r === (r = s(i)) && n ? n.p(i, a) : (n.d(1), n = r(i), n && (n.c(), n.m(t, null)));
3671
- },
3672
- i: $e,
3673
- o: $e,
3674
- d(i) {
3675
- i && q(t), n.d(), e[89](null);
3676
- }
3677
- };
3678
- }
3679
- function sd(e, t, s) {
3680
- let r, n;
3681
- bi(e, Ii, (o) => s(28, n = o));
3682
- let { endpoint: i = "" } = t, { lang: a = "" } = t, { session: l = "" } = t, { userid: c = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: w = "" } = t, { translationurl: S = "" } = t, { favorites: D = "" } = t, { loginurl: j = "" } = t, { registerurl: R = "" } = t, { depositurl: L = "" } = t, { loginevent: N = "" } = t, { registerevent: B = "" } = t, { depositevent: G = "" } = t, { shortcashierenabled: O = "" } = t, { clockformat: A = "" } = t, { haspanicbutton: ee = "false" } = t, { playforfun: b = "true" } = t, { checksession: p = "true" } = t, { integratedgameframedesktop: k = "false" } = t, { integratedgameframemobile: M = "false" } = t, { gameid: v = "" } = t, { mbsource: K } = t, hs, ht, Be = !1, ir = !1, mt = !1, ar = !1, Ve = !0, Ze, E, Rt = !1, Lt = 0, ms, T, qe = !1, tt = !1, or = !1, lr = !1, Nt = !0, le, ae, gt, ve = !1, gs, _s, Ct, xt, ys, ps, Je = window.navigator.userAgent, Et = !1, Ee = [], We = [], De, Ge, _t, ws = "false", Wt = 0, ur = "", Gt;
3683
- Pi({ withLocale: "en", translations: {} });
3684
- const Yn = () => {
3685
- fetch(S).then((Y) => Y.json()).then((Y) => {
3686
- Object.keys(Y).forEach((W) => {
3687
- br(W, Y[W]);
3688
- });
3689
- }).catch((Y) => {
3690
- console.log(Y);
3691
- });
3692
- };
3693
- Object.keys(Sr).forEach((o) => {
3694
- br(o, Sr[o]);
3695
- });
3696
- const dr = (o) => {
3697
- let Y = new URL(o.launchUrl);
3698
- return Y.searchParams.append("language", a), Ze && Ze.length > 0 && (s(6, Be = !0), Y.searchParams.append("_sid", Ze), Y.searchParams.append("funMode", "false")), o.launchUrl = Y, o;
3699
- }, cr = (o, Y) => {
3700
- let W = new URL(`${i}/v1/casino/games/${o}`);
3701
- W.searchParams.append("language", a), W.searchParams.append("expand", "vendor"), Nt = Y, fetch(W.href).then((H) => H.json()).then(
3702
- (H) => {
3703
- s(12, T = dr(H[0])), s(10, Ve = !1), T.launchUrl && (s(13, qe = mr(T, T.hasFunMode)), s(8, mt = !1));
3704
- },
3705
- (H) => {
3706
- console.error("There was an error", H), s(9, ar = !0);
3707
- }
3708
- ).then(() => {
3709
- le && (Nt ? bs() : gr());
3710
- }).finally(() => {
3711
- s(10, Ve = !1), On(l, c);
3712
- }), window.postMessage({ type: "RequestModalSize" }, window.location.href);
3713
- }, fr = () => {
3714
- E == null || E.addEventListener("mousedown", Ht, !1), E == null || E.addEventListener("touchstart", Ht, !1), E == null || E.addEventListener("mouseup", zt, !1), E == null || E.addEventListener("touchend", zt, !1);
3715
- }, hr = () => {
3716
- s(11, Rt = !1), E == null || E.removeEventListener("mousedown", Ht), E == null || E.removeEventListener("touchstart", Ht), E == null || E.removeEventListener("mouseup", zt), E == null || E.removeEventListener("touchend", zt);
3717
- }, ks = (o) => {
3718
- var Y;
3719
- switch (o.data.type) {
3720
- case "GameLaunchID":
3721
- cr(o.data.gameId, !0);
3722
- break;
3723
- case "LaunchGameFrame":
3724
- Pn(o.data.gameId, o.data.gameFunMode);
3725
- break;
3726
- case "ModalClosed":
3727
- k === "true" || rt(Je) ? (s(57, ws = "false"), hr(), rt(Je) ? setTimeout(
3728
- () => {
3729
- s(14, tt = M === "true");
3730
- },
3731
- 500
3732
- ) : setTimeout(
3733
- () => {
3734
- s(14, tt = k === "true");
3735
- },
3736
- 500
3737
- )) : k === "false" && ((Y = o.data) == null ? void 0 : Y.closeIntegratedGameFrameDesktop) !== !0 && window.postMessage({ type: "DisableScroll" }, window.location.href);
3738
- break;
3739
- case "UserSessionID":
3740
- if (o.data.session.length > 0) {
3741
- Ze = o.data.session, o.data.userID, s(6, Be = !0);
3742
- let W = setInterval(
3743
- () => {
3744
- if (T) {
3745
- let H = new URL(T.launchUrl);
3746
- H.searchParams.get("_sid") || H.searchParams.append("_sid", Ze), H.searchParams.get("funMode") || H.searchParams.append("funMode", !1), H.searchParams.get("_sid") || H.searchParams.append("language", a), s(12, T.launchUrl = H, T), clearInterval(W);
3747
- }
3748
- },
3749
- 250
3750
- );
3751
- }
3752
- break;
3753
- case "ModalSize":
3754
- s(21, gs = o.data.modalContainerSize.modalWidth), s(22, _s = o.data.modalContainerSize.modalHeight);
3755
- break;
3756
- }
3757
- }, On = (o, Y) => {
3758
- let W = `${i}/v1/player/${Y}/favorites/`;
3759
- s(10, Ve = !0);
3760
- let H = {
3761
- method: "GET",
3762
- headers: { "X-SessionID": o }
3763
- };
3764
- return new Promise((fe, Ye) => {
3765
- fetch(W, H).then((Ue) => Ue.json()).then((Ue) => {
3766
- s(10, Ve = !1), Ee = Ue.items, Ee ? (T && T.id && s(13, qe = Ut(T.id)), s(8, mt = !1), Ee.forEach((jt) => {
3767
- We.includes(jt.id) || We.push(jt.id);
3768
- })) : Ee = [], fe(Ee);
3769
- }).catch((Ue) => {
3770
- console.error(Ue), Ye(Ue);
3771
- });
3772
- });
3773
- }, vs = (o) => {
3774
- qe ? In(`${i}/v1/player/${c}/favorites`, l, T.id) : Tn(`${i}/v1/player/${c}/favorites`, l, T);
3775
- };
3776
- let Tn = (o, Y, W) => kr(this, null, function* () {
3777
- We.includes(W.id) || We.push(W.id);
3778
- let fe = {
3779
- method: "POST",
3780
- headers: {
3781
- "X-SessionID": Y,
3782
- "Content-Type": "application/json",
3783
- Accept: "application/json"
3784
- },
3785
- body: JSON.stringify({ items: We })
3786
- };
3787
- fetch(o, fe).then((Ye) => Ye.json()).then((Ye) => {
3788
- window.postMessage({ type: `AddFavoriteThumbnail_${W.id}` }, window.location.href), window.postMessage({
3789
- type: "UpdateFavoredList",
3790
- url: o,
3791
- sessionID: Y
3792
- }), Ye.items && (Ee = Ye.items), s(13, qe = Ut(W.id));
3793
- }).catch((Ye) => {
3794
- console.error("Err", Ye);
3795
- });
3796
- });
3797
- const In = (o, Y, W) => {
3798
- let H = {
3799
- method: "DELETE",
3800
- headers: { "X-SessionID": Y }
3801
- };
3802
- fetch(`${o}/${W}`, H).then((fe) => fe.json()).then((fe) => {
3803
- window.postMessage(
3804
- {
3805
- type: `RemoveFavoriteThumbnail_${W}`
3806
- },
3807
- window.location.href
3808
- ), window.postMessage({
3809
- type: "UpdateFavoredList",
3810
- url: o,
3811
- sessionID: Y
3812
- }), fe.items && (Ee = fe.items), s(13, qe = Ut(T.id));
3813
- }), We.includes(W) && (We = We.filter((fe) => fe != W));
3814
- }, Ut = (o) => Ee.findIndex((Y) => Y.id == o) !== -1, mr = (o, Y) => (s(16, lr = b == "true" ? o.hasAnonymousFunMode : !1), s(15, or = b == "true" ? Y : !1), s(14, tt = !0), Ut(o.id)), Pn = (o, Y) => {
3815
- let W = new URL(`${i}/v1/casino/games/${o}`);
3816
- W.searchParams.append("language", a), fetch(W.href).then((H) => H.json()).then((H) => {
3817
- s(12, T = dr(H[0])), s(10, Ve = !1), T.launchUrl && (s(13, qe = mr(T, Y)), s(8, mt = !1));
3818
- }).finally(() => {
3819
- s(10, Ve = !1);
3820
- });
3821
- }, Rn = () => {
3822
- if (ve) return;
3823
- const o = (H, fe) => {
3824
- const Ue = H[0].intersectionRatio, jt = H[0].isIntersecting, gi = parseInt(getComputedStyle(le).height);
3825
- Gt || (Gt = gi * Math.max(Ue, 0.5)), s(17, le.style.height = `${Gt}px`, le), s(18, ae.style.height = `${Gt}px`, ae), jt && s(19, gt.style.height = `${le.style.height}px`, gt), fe.unobserve(le);
3826
- }, Y = { threshold: 0 };
3827
- new IntersectionObserver(o, Y).observe(le);
3828
- }, gr = () => {
3829
- s(21, gs = T.width), s(22, _s = T.height), ys = `${T.width}px`, ps = `${T.height}px`, Ct = T.width, xt = T.height, bs();
3830
- }, bs = () => {
3831
- var W;
3832
- let o = getComputedStyle(le);
3833
- getComputedStyle(ae), parseInt(o.width.slice(0, -2)), parseInt(o.height.slice(0, -2)), s(26, Wt = ((W = Ge == null ? void 0 : Ge.getBoundingClientRect()) == null ? void 0 : W.height) || 100);
3834
- const Y = T.width / (T.height + Wt);
3835
- Ct = parseInt(T.width) * Y, xt = parseInt(T.height) + Wt, ys = Ct ? `${Math.floor(Ct)}px` : "1280px", ps = xt ? `${Math.floor(xt)}px` : "720px", Cn();
3836
- }, Ss = (o) => {
3837
- rt(Je) ? _r(M) : _r(k);
3838
- }, _r = (o) => {
3839
- var Y;
3840
- o == "false" ? window.open(T.launchUrl, "_blank") : o == "true" && window.postMessage(
3841
- {
3842
- type: "OpenIntegratedGameFrame",
3843
- subVendor: T.subVendor,
3844
- gameId: T.id,
3845
- launchUrl: (Y = T.launchUrl) == null ? void 0 : Y.href
3846
- },
3847
- window.location.href
3848
- );
3849
- }, yr = () => {
3850
- window.postMessage(
3851
- {
3852
- type: "GameStateOnResize",
3853
- detailsObtained: tt
3854
- },
3855
- window.location.href
3856
- ), tt && (le && bs(), window.addEventListener("ModalSize", ks, !1));
3857
- }, yt = () => {
3858
- N && (rt(Je) && window.postMessage({ type: "ModalClosed" }, window.location.href), window.postMessage({ type: N, transition: "Login" }, window.location.href)), j && (window.location = j), typeof gtag == "function" && gtag("event", "OpenLoginModal", { context: "GeneralPlayerRegisterForm" });
3859
- }, pt = () => {
3860
- B && (rt(Je) && window.postMessage({ type: "ModalClosed" }, window.location.href), window.postMessage(
3861
- {
3862
- type: B,
3863
- transition: "Register"
3864
- },
3865
- window.location.href
3866
- )), R && (window.location = R), typeof gtag == "function" && gtag("event", "OpenRegisterModal", { context: "GeneralPlayerRegisterForm" });
3867
- }, Ms = (o) => {
3868
- r && !o ? window.postMessage({ type: "OpenShortCashier" }, window.location.href) : G && !r && (window.postMessage({ type: G }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href)), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "IntegratedGamePage" }), L && !r && (window.location = L);
3869
- };
3870
- document.addEventListener && (document.addEventListener("webkitfullscreenchange", At, !1), document.addEventListener("mozfullscreenchange", At, !1), document.addEventListener("fullscreenchange", At, !1), document.addEventListener("MSFullscreenChange", At, !1));
3871
- function At() {
3872
- !document.webkitIsFullScreen && !document.mozFullScreen && !document.msFullscreenElement && ve && st();
3873
- }
3874
- const st = () => {
3875
- (document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled) && (ve ? (document.fullscreenElement !== null && (document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen && document.msExitFullscreen()), s(20, ve = !1)) : (ae.requestFullscreen ? ae.requestFullscreen() : ae.webkitRequestFullscreen ? ae.webkitRequestFullscreen() : ae.mozRequestFullScreen ? ae.mozRequestFullScreen() : ae.msRequestFullscreen && ae.msRequestFullscreen(), s(20, ve = !0)));
3876
- }, Ln = () => {
3877
- A ? s(4, hs = m().format(A)) : s(4, hs = m().format("LTS"));
3878
- };
3879
- setInterval(
3880
- () => {
3881
- Ln();
3882
- },
3883
- 100
3884
- );
3885
- const Nn = () => {
3886
- Ri(a), s(23, Et = rt(Je));
3887
- }, pr = () => {
3888
- p == "true" ? Fi(i, l).then(
3889
- (o) => {
3890
- Ze = o.Guid, o.UserID, s(6, Be = !0);
3891
- },
3892
- (o) => {
3893
- s(6, Be = !1), console.error("err on session", o);
3894
- }
3895
- ) : (Ze = l, s(6, Be = !0));
3896
- }, Ht = (o) => {
3897
- Lt = 0, ms = setInterval(
3898
- () => {
3899
- Lt += 1, s(11, Rt = !0), Lt >= 3 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(ms));
3900
- },
3901
- 1e3
3902
- );
3903
- }, zt = (o) => {
3904
- Lt < 3 && s(11, Rt = !1), clearInterval(ms);
3905
- }, Cn = () => {
3906
- let o = ve ? "100%" : ys, Y = ve ? "100%" : ps, W = ve || !Nt ? "none" : T.width ? `${Math.floor(T.width)}px` : "1280px", H = ve || !Nt ? "none" : T.height ? `${Math.floor(T.height) + 100}px` : "720px";
3907
- s(27, ur = `width: ${o}; height: ${Y}; max-width: ${W}; max-height: ${H}; padding-bottom: 10px`), Rn();
3908
- }, wr = () => {
3909
- document.fullscreenElement || gr();
3910
- };
3911
- Si(() => {
3912
- s(7, ir = (l || c) && !Be);
3913
- }), Mi(() => (window.addEventListener("resize", yr, !1), window.addEventListener("message", ks, !1), document.addEventListener("fullscreenchange", wr), () => {
3914
- hr(), window.removeEventListener("resize", yr), window.removeEventListener("message", ks), document.removeEventListener("fullscreenchange", wr);
3915
- }));
3916
- const xn = () => {
3917
- s(8, mt = !0);
3918
- }, En = () => vs(T.id), Wn = () => vs(T.id), Gn = () => Ms(Et), Un = () => {
3919
- Ss();
3920
- };
3921
- function An(o) {
3922
- ue[o ? "unshift" : "push"](() => {
3923
- E = o, s(2, E);
3924
- });
3925
- }
3926
- const Hn = () => yt(), zn = () => pt(), jn = () => {
3927
- Ss();
3928
- }, Bn = () => yt(), Vn = () => pt();
3929
- function Zn(o) {
3930
- ue[o ? "unshift" : "push"](() => {
3931
- ht = o, s(5, ht);
3932
- });
3933
- }
3934
- const qn = () => Ms(Et);
3935
- function Jn(o) {
3936
- ue[o ? "unshift" : "push"](() => {
3937
- _t = o, s(25, _t);
3938
- });
3939
- }
3940
- function Qn(o) {
3941
- ue[o ? "unshift" : "push"](() => {
3942
- E = o, s(2, E);
3943
- });
3944
- }
3945
- const Xn = () => st(), Kn = () => st();
3946
- function $n(o) {
3947
- ue[o ? "unshift" : "push"](() => {
3948
- Ge = o, s(24, Ge);
3949
- });
3950
- }
3951
- function ei(o) {
3952
- ue[o ? "unshift" : "push"](() => {
3953
- ae = o, s(18, ae);
3954
- });
3955
- }
3956
- function ti(o) {
3957
- ue[o ? "unshift" : "push"](() => {
3958
- le = o, s(17, le);
3959
- });
3960
- }
3961
- function si(o) {
3962
- ue[o ? "unshift" : "push"](() => {
3963
- ht = o, s(5, ht);
3964
- });
3965
- }
3966
- const ri = () => yt(), ni = () => pt();
3967
- function ii(o) {
3968
- ue[o ? "unshift" : "push"](() => {
3969
- _t = o, s(25, _t);
3970
- });
3971
- }
3972
- const ai = () => st(), oi = () => st();
3973
- function li(o) {
3974
- ue[o ? "unshift" : "push"](() => {
3975
- Ge = o, s(24, Ge);
3976
- });
3977
- }
3978
- function ui(o) {
3979
- ue[o ? "unshift" : "push"](() => {
3980
- ae = o, s(18, ae);
3981
- });
3982
- }
3983
- function di(o) {
3984
- ue[o ? "unshift" : "push"](() => {
3985
- le = o, s(17, le);
3986
- });
3987
- }
3988
- const ci = () => yt(), fi = () => pt();
3989
- function hi(o) {
3990
- ue[o ? "unshift" : "push"](() => {
3991
- gt = o, s(19, gt);
3992
- });
3993
- }
3994
- function mi(o) {
3995
- ue[o ? "unshift" : "push"](() => {
3996
- De = o, s(3, De);
3997
- });
3998
- }
3999
- return e.$$set = (o) => {
4000
- "endpoint" in o && s(36, i = o.endpoint), "lang" in o && s(37, a = o.lang), "session" in o && s(38, l = o.session), "userid" in o && s(39, c = o.userid), "clientstyling" in o && s(40, h = o.clientstyling), "clientstylingurl" in o && s(41, w = o.clientstylingurl), "translationurl" in o && s(42, S = o.translationurl), "favorites" in o && s(0, D = o.favorites), "loginurl" in o && s(43, j = o.loginurl), "registerurl" in o && s(44, R = o.registerurl), "depositurl" in o && s(45, L = o.depositurl), "loginevent" in o && s(46, N = o.loginevent), "registerevent" in o && s(47, B = o.registerevent), "depositevent" in o && s(48, G = o.depositevent), "shortcashierenabled" in o && s(49, O = o.shortcashierenabled), "clockformat" in o && s(50, A = o.clockformat), "haspanicbutton" in o && s(1, ee = o.haspanicbutton), "playforfun" in o && s(51, b = o.playforfun), "checksession" in o && s(52, p = o.checksession), "integratedgameframedesktop" in o && s(53, k = o.integratedgameframedesktop), "integratedgameframemobile" in o && s(54, M = o.integratedgameframemobile), "gameid" in o && s(55, v = o.gameid), "mbsource" in o && s(56, K = o.mbsource);
4001
- }, e.$$.update = () => {
4002
- e.$$.dirty[1] & /*lang*/
4003
- 64 && a && Nn(), e.$$.dirty[1] & /*shortcashierenabled*/
4004
- 262144 && (r = O.toLocaleLowerCase() === "true"), e.$$.dirty[1] & /*endpoint, gameid, lang*/
4005
- 16777312 && i && v && a && cr(v, !0), e.$$.dirty[1] & /*session, userid, endpoint*/
4006
- 416 && l && c && i && pr(), e.$$.dirty[1] & /*checksession, session, endpoint*/
4007
- 2097312 && p == "false" && l && i && pr(), e.$$.dirty[1] & /*translationurl*/
4008
- 2048 && S && Yn(), e.$$.dirty[0] & /*favorites*/
4009
- 1 && D && xn(), e.$$.dirty[0] & /*customStylingContainer*/
4010
- 8 | e.$$.dirty[1] & /*clientstyling*/
4011
- 512 && h && De && Di(De, h), e.$$.dirty[0] & /*customStylingContainer*/
4012
- 8 | e.$$.dirty[1] & /*clientstylingurl*/
4013
- 1024 && w && De && Yi(De, w), e.$$.dirty[0] & /*customStylingContainer*/
4014
- 8 | e.$$.dirty[1] & /*mbsource*/
4015
- 33554432 && De && Oi(De, `${K}.Style`), e.$$.dirty[0] & /*panicButton*/
4016
- 4 | e.$$.dirty[1] & /*showModal*/
4017
- 67108864 && ws == "true" && E && fr(), e.$$.dirty[0] & /*panicButton*/
4018
- 4 && E && fr();
4019
- }, [
4020
- D,
4021
- ee,
4022
- E,
4023
- De,
4024
- hs,
4025
- ht,
4026
- Be,
4027
- ir,
4028
- mt,
4029
- ar,
4030
- Ve,
4031
- Rt,
4032
- T,
4033
- qe,
4034
- tt,
4035
- or,
4036
- lr,
4037
- le,
4038
- ae,
4039
- gt,
4040
- ve,
4041
- gs,
4042
- _s,
4043
- Et,
4044
- Ge,
4045
- _t,
4046
- Wt,
4047
- ur,
4048
- n,
4049
- Je,
4050
- vs,
4051
- Ss,
4052
- yt,
4053
- pt,
4054
- Ms,
4055
- st,
4056
- i,
4057
- a,
4058
- l,
4059
- c,
4060
- h,
4061
- w,
4062
- S,
4063
- j,
4064
- R,
4065
- L,
4066
- N,
4067
- B,
4068
- G,
4069
- O,
4070
- A,
4071
- b,
4072
- p,
4073
- k,
4074
- M,
4075
- v,
4076
- K,
4077
- ws,
4078
- En,
4079
- Wn,
4080
- Gn,
4081
- Un,
4082
- An,
4083
- Hn,
4084
- zn,
4085
- jn,
4086
- Bn,
4087
- Vn,
4088
- Zn,
4089
- qn,
4090
- Jn,
4091
- Qn,
4092
- Xn,
4093
- Kn,
4094
- $n,
4095
- ei,
4096
- ti,
4097
- si,
4098
- ri,
4099
- ni,
4100
- ii,
4101
- ai,
4102
- oi,
4103
- li,
4104
- ui,
4105
- di,
4106
- ci,
4107
- fi,
4108
- hi,
4109
- mi
4110
- ];
4111
- }
4112
- class Dn extends pi {
4113
- constructor(t) {
4114
- super(), wi(
4115
- this,
4116
- t,
4117
- sd,
4118
- td,
4119
- ki,
4120
- {
4121
- endpoint: 36,
4122
- lang: 37,
4123
- session: 38,
4124
- userid: 39,
4125
- clientstyling: 40,
4126
- clientstylingurl: 41,
4127
- translationurl: 42,
4128
- favorites: 0,
4129
- loginurl: 43,
4130
- registerurl: 44,
4131
- depositurl: 45,
4132
- loginevent: 46,
4133
- registerevent: 47,
4134
- depositevent: 48,
4135
- shortcashierenabled: 49,
4136
- clockformat: 50,
4137
- haspanicbutton: 1,
4138
- playforfun: 51,
4139
- checksession: 52,
4140
- integratedgameframedesktop: 53,
4141
- integratedgameframemobile: 54,
4142
- gameid: 55,
4143
- mbsource: 56
4144
- },
4145
- Cu,
4146
- [-1, -1, -1, -1, -1]
4147
- );
4148
- }
4149
- get endpoint() {
4150
- return this.$$.ctx[36];
4151
- }
4152
- set endpoint(t) {
4153
- this.$$set({ endpoint: t }), te();
4154
- }
4155
- get lang() {
4156
- return this.$$.ctx[37];
4157
- }
4158
- set lang(t) {
4159
- this.$$set({ lang: t }), te();
4160
- }
4161
- get session() {
4162
- return this.$$.ctx[38];
4163
- }
4164
- set session(t) {
4165
- this.$$set({ session: t }), te();
4166
- }
4167
- get userid() {
4168
- return this.$$.ctx[39];
4169
- }
4170
- set userid(t) {
4171
- this.$$set({ userid: t }), te();
4172
- }
4173
- get clientstyling() {
4174
- return this.$$.ctx[40];
4175
- }
4176
- set clientstyling(t) {
4177
- this.$$set({ clientstyling: t }), te();
4178
- }
4179
- get clientstylingurl() {
4180
- return this.$$.ctx[41];
4181
- }
4182
- set clientstylingurl(t) {
4183
- this.$$set({ clientstylingurl: t }), te();
4184
- }
4185
- get translationurl() {
4186
- return this.$$.ctx[42];
4187
- }
4188
- set translationurl(t) {
4189
- this.$$set({ translationurl: t }), te();
4190
- }
4191
- get favorites() {
4192
- return this.$$.ctx[0];
4193
- }
4194
- set favorites(t) {
4195
- this.$$set({ favorites: t }), te();
4196
- }
4197
- get loginurl() {
4198
- return this.$$.ctx[43];
4199
- }
4200
- set loginurl(t) {
4201
- this.$$set({ loginurl: t }), te();
4202
- }
4203
- get registerurl() {
4204
- return this.$$.ctx[44];
4205
- }
4206
- set registerurl(t) {
4207
- this.$$set({ registerurl: t }), te();
4208
- }
4209
- get depositurl() {
4210
- return this.$$.ctx[45];
4211
- }
4212
- set depositurl(t) {
4213
- this.$$set({ depositurl: t }), te();
4214
- }
4215
- get loginevent() {
4216
- return this.$$.ctx[46];
4217
- }
4218
- set loginevent(t) {
4219
- this.$$set({ loginevent: t }), te();
4220
- }
4221
- get registerevent() {
4222
- return this.$$.ctx[47];
4223
- }
4224
- set registerevent(t) {
4225
- this.$$set({ registerevent: t }), te();
4226
- }
4227
- get depositevent() {
4228
- return this.$$.ctx[48];
4229
- }
4230
- set depositevent(t) {
4231
- this.$$set({ depositevent: t }), te();
4232
- }
4233
- get shortcashierenabled() {
4234
- return this.$$.ctx[49];
4235
- }
4236
- set shortcashierenabled(t) {
4237
- this.$$set({ shortcashierenabled: t }), te();
4238
- }
4239
- get clockformat() {
4240
- return this.$$.ctx[50];
4241
- }
4242
- set clockformat(t) {
4243
- this.$$set({ clockformat: t }), te();
4244
- }
4245
- get haspanicbutton() {
4246
- return this.$$.ctx[1];
4247
- }
4248
- set haspanicbutton(t) {
4249
- this.$$set({ haspanicbutton: t }), te();
4250
- }
4251
- get playforfun() {
4252
- return this.$$.ctx[51];
4253
- }
4254
- set playforfun(t) {
4255
- this.$$set({ playforfun: t }), te();
4256
- }
4257
- get checksession() {
4258
- return this.$$.ctx[52];
4259
- }
4260
- set checksession(t) {
4261
- this.$$set({ checksession: t }), te();
4262
- }
4263
- get integratedgameframedesktop() {
4264
- return this.$$.ctx[53];
4265
- }
4266
- set integratedgameframedesktop(t) {
4267
- this.$$set({ integratedgameframedesktop: t }), te();
4268
- }
4269
- get integratedgameframemobile() {
4270
- return this.$$.ctx[54];
4271
- }
4272
- set integratedgameframemobile(t) {
4273
- this.$$set({ integratedgameframemobile: t }), te();
4274
- }
4275
- get gameid() {
4276
- return this.$$.ctx[55];
4277
- }
4278
- set gameid(t) {
4279
- this.$$set({ gameid: t }), te();
4280
- }
4281
- get mbsource() {
4282
- return this.$$.ctx[56];
4283
- }
4284
- set mbsource(t) {
4285
- this.$$set({ mbsource: t }), te();
4286
- }
4287
- }
4288
- Ti(Dn, { endpoint: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, favorites: {}, loginurl: {}, registerurl: {}, depositurl: {}, loginevent: {}, registerevent: {}, depositevent: {}, shortcashierenabled: {}, clockformat: {}, haspanicbutton: {}, playforfun: {}, checksession: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, gameid: {}, mbsource: {} }, [], [], !0);
4289
- const id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4290
- __proto__: null,
4291
- default: Dn
4292
- }, Symbol.toStringTag, { value: "Module" }));
4293
- export {
4294
- id as C,
4295
- m as h
4296
- };