@everymatrix/casino-page-nd 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/components/{CasinoCalendar-DqqWE3PZ.js → CasinoCalendar-C1drIkmy.js} +1049 -1005
  2. package/components/{CasinoCalendar-BzhZkzgP.js → CasinoCalendar-Dp2YIBXE.js} +863 -819
  3. package/components/CasinoCalendar-hlupOGnG.cjs +6 -0
  4. package/components/{CasinoCalendarDailyDetails-DazppRF9.js → CasinoCalendarDailyDetails-BVWbjQFD.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-CNKPmgJW.cjs → CasinoCalendarDailyDetails-CUTyAice.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-qLuUx2VZ.js → CasinoCalendarDailyDetails-D7SMZkT6.js} +45 -45
  7. package/components/{CasinoCalendarDailyItem-DKZuA435.js → CasinoCalendarDailyItem-BTxF_iOC.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Dm-IKJx0.cjs → CasinoCalendarDailyItem-CSD4crn_.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DcdOBbU8.js → CasinoCalendarDailyItem-Cpx3YOPg.js} +46 -46
  10. package/components/{CasinoCollectionsProviders-DDg-M4Ky.js → CasinoCollectionsProviders-BzqyvgJV.js} +258 -263
  11. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-DPXPW7Wb.js → CasinoCollectionsProviders-CSskAm-D.js} +260 -265
  13. package/components/{CasinoFavoritesSectionNd-BseQ6ntB.cjs → CasinoFavoritesSectionNd-247dKDFC.cjs} +1 -1
  14. package/components/{CasinoFavoritesSectionNd-DPO11eIl.js → CasinoFavoritesSectionNd-CuDySzEb.js} +31 -31
  15. package/components/{CasinoFavoritesSectionNd-BaYSblX2.js → CasinoFavoritesSectionNd-pNJTskAC.js} +31 -31
  16. package/components/{CasinoFilter-CQA5tRXc.js → CasinoFilter-Bm5nGmim.js} +183 -189
  17. package/components/{CasinoFilter-bjRSwwQj.cjs → CasinoFilter-Dca8BAHj.cjs} +1 -1
  18. package/components/{CasinoFilter-DarCjn7O.js → CasinoFilter-xEI9NRP7.js} +181 -187
  19. package/components/{CasinoGameThumbnailNd-M5MyMQqb.cjs → CasinoGameThumbnailNd-BfWisWyd.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-C8JF_kRW.js → CasinoGameThumbnailNd-D2UjvU5o.js} +62 -62
  21. package/components/{CasinoGameThumbnailNd-CMWvCrxU.js → CasinoGameThumbnailNd-DZ5EJquh.js} +62 -62
  22. package/components/{CasinoGamesCategorySectionNd-DzkueBMw.cjs → CasinoGamesCategorySectionNd-B-A_G5UN.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-D97PLCZQ.js → CasinoGamesCategorySectionNd-BgeZaX3s.js} +70 -70
  24. package/components/{CasinoGamesCategorySectionNd-B7bxi7wJ.js → CasinoGamesCategorySectionNd-ma7TF55B.js} +132 -132
  25. package/components/CasinoJackpotBanner-BIHc0ZJN.js +690 -0
  26. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +1 -0
  27. package/components/CasinoJackpotBanner-rIlKc9yB.js +686 -0
  28. package/components/{CasinoLastPlayedSectionNd-C-VkTH2C.js → CasinoLastPlayedSectionNd-5kInnaFM.js} +28 -28
  29. package/components/{CasinoLastPlayedSectionNd-K-wgzihy.cjs → CasinoLastPlayedSectionNd-BvnsjzpW.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSectionNd-D7cVedev.js → CasinoLastPlayedSectionNd-D5LPHn4E.js} +28 -28
  31. package/components/{CasinoMostPlayedSectionNd-DBY9uW22.js → CasinoMostPlayedSectionNd-6T1QffJK.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-DLd7wPNf.cjs → CasinoMostPlayedSectionNd-BTglRQ5Z.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSectionNd-DT0BhU2p.js → CasinoMostPlayedSectionNd-BZLYBtpa.js} +36 -36
  34. package/components/{CasinoMyGamesNd-BYler1NB.js → CasinoMyGamesNd-C1mKXnRw.js} +50 -50
  35. package/components/{CasinoMyGamesNd-DQQ8Lo5B.cjs → CasinoMyGamesNd-Cy4rvXQw.cjs} +1 -1
  36. package/components/{CasinoMyGamesNd-tEImAPBs.js → CasinoMyGamesNd-ddeJWUGs.js} +52 -52
  37. package/components/{CasinoPageNd-CbP1X2KC.js → CasinoPageNd-C2L_-oKQ.js} +145 -145
  38. package/components/{CasinoPageNd-D9CuZV8a.cjs → CasinoPageNd-CRr4o1nm.cjs} +1 -1
  39. package/components/{CasinoPageNd-BbdpaE5v.js → CasinoPageNd-tLjlJcsj.js} +142 -142
  40. package/components/{CasinoRandomGame-CGpFFaoE.js → CasinoRandomGame-BB1xnS-3.js} +225 -227
  41. package/components/{CasinoRandomGame-CWMW9E0i.js → CasinoRandomGame-Os6RvrQW.js} +244 -246
  42. package/components/{CasinoRandomGame-D1NgXW5u.cjs → CasinoRandomGame-XLB_bCSb.cjs} +2 -2
  43. package/components/{CasinoSearchNd-BNECYNN3.cjs → CasinoSearchNd-BFH_Q8-4.cjs} +1 -1
  44. package/components/{CasinoSearchNd-BnS9e06D.js → CasinoSearchNd-CG9DW_9F.js} +74 -74
  45. package/components/{CasinoSearchNd-Dr-tu25u.js → CasinoSearchNd-DQqoQRhE.js} +76 -76
  46. package/components/CasinoSort-85kTtPeQ.cjs +1 -0
  47. package/components/CasinoSort-B6tKDPof.js +428 -0
  48. package/components/CasinoSort-D05yyakn.js +427 -0
  49. package/components/{CasinoWinners-Brfa3DHB.js → CasinoWinners-BhzxeUZ8.js} +347 -344
  50. package/components/CasinoWinners-CGsgZ7OE.cjs +1 -0
  51. package/components/{CasinoWinners-CFPyLxtr.js → CasinoWinners-DNTYhXqC.js} +338 -335
  52. package/components/{GeneralAnimationLoading-DqRALFbY.cjs → GeneralAnimationLoading--i35RrmV.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-CM50RqcF.js → GeneralAnimationLoading-BTpSb-no.js} +8 -8
  54. package/components/{GeneralAnimationLoading-DVXxEF3S.js → GeneralAnimationLoading-DUpN0ANa.js} +8 -8
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  60. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  61. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  62. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  63. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  64. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  65. package/components/CasinoCalendar-D2xyIjnZ.cjs +0 -6
  66. package/components/CasinoCollectionsProviders-BpPCl2Cs.cjs +0 -1
  67. package/components/CasinoJackpotBanner-BzQTQP0g.js +0 -618
  68. package/components/CasinoJackpotBanner-CyMIq-Hw.js +0 -614
  69. package/components/CasinoJackpotBanner-DrH5T9F0.cjs +0 -1
  70. package/components/CasinoSort-B5j-QwSa.cjs +0 -1
  71. package/components/CasinoSort-BKXVp_Q-.js +0 -432
  72. package/components/CasinoSort-mWbCQ4MJ.js +0 -431
  73. package/components/CasinoWinners-WPMrk6iO.cjs +0 -1
  74. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  75. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  76. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,618 +0,0 @@
1
- import { a as Te, $ as Se, S as We, i as Ae, s as Ie, f as j, b as Ve, n as be, d as R, h as H, j as c, C as Je, r as i, G as ye, D as J, p as l, A as Ne, B, v as we, w as ze, F as Ue, m as W, q as A, I as Ee, l as De } from "./CasinoCalendar-DqqWE3PZ.js";
2
- function Ce(n, e) {
3
- Te(n, e);
4
- }
5
- function Be(n) {
6
- Se.set(n);
7
- }
8
- const Le = {
9
- en: {
10
- loadingText: "Loading, please wait..."
11
- },
12
- "zh-hk": {
13
- loadingText: "加载请稍候 ..."
14
- },
15
- fr: {
16
- loadingText: "Chargement, veuillez patienter..."
17
- },
18
- ro: {
19
- loadingText: "Se incarca, va rugam asteptati..."
20
- },
21
- es: {
22
- loadingText: "Cargando"
23
- },
24
- pt: {
25
- loadingText: "Carregando, por favor espere..."
26
- },
27
- de: {
28
- loadingText: "Laden, bitte warten..."
29
- },
30
- hr: {
31
- loadingText: "Učitavanje"
32
- },
33
- "pt-br": {
34
- CarregandoText: "Carregando"
35
- },
36
- "es-mx": {
37
- CargandoText: "Cargando, por favor espere…"
38
- },
39
- tr: {
40
- loadingText: "Yükleniyor, lütfen bekleyin..."
41
- },
42
- "en-us": {
43
- loadingText: "Loading, please wait..."
44
- }
45
- };
46
- function Me(n) {
47
- Ve(n, "svelte-4fxl7w", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
48
- }
49
- function xe(n, e, t) {
50
- const s = n.slice();
51
- return s[48] = e[t], s[50] = t, s;
52
- }
53
- function Re(n) {
54
- let e, t, s, r, p, o, C, w, f, L, v, T, S, b, I;
55
- function m(d, x) {
56
- return (
57
- /*tabletView*/
58
- d[5] ? Fe : Pe
59
- );
60
- }
61
- let h = m(n), g = h(n);
62
- return {
63
- c() {
64
- e = c("div"), t = c("div"), s = c("div"), r = c("div"), p = B(), o = c("div"), g.c(), C = B(), w = c("div"), f = c("img"), i(r, "class", "vendorLogo"), ye(r, "background-image", "url(" + /*vendorIcon*/
65
- n[6] + ")"), i(o, "class", "displayContainer"), J(f.src, L = /*titleLogoImg*/
66
- n[11]) || i(f, "src", L), i(f, "alt", ""), i(w, "class", "title"), i(s, "class", v = "mainWrapper " + /*visualstructure*/
67
- n[0] + " " + /*mobileView*/
68
- (n[4] && !/*tabletView*/
69
- n[5] ? "mobile" : (
70
- /*tabletView*/
71
- n[5] ? "tablet" : ""
72
- ))), ye(s, "background", "url(" + /*backgroundImg*/
73
- n[10] + ")"), i(t, "class", "jackpotBanner"), i(e, "class", T = /*displayNone*/
74
- n[12] ? "DisplayNone" : ""), i(e, "part", S = /*displayNone*/
75
- n[12] ? "DisplayNone" : "");
76
- },
77
- m(d, x) {
78
- H(d, e, x), l(e, t), l(t, s), l(s, r), l(s, p), l(s, o), g.m(o, null), l(s, C), l(s, w), l(w, f), b || (I = Ne(
79
- t,
80
- "click",
81
- /*click_handler*/
82
- n[31]
83
- ), b = !0);
84
- },
85
- p(d, x) {
86
- x[0] & /*vendorIcon*/
87
- 64 && ye(r, "background-image", "url(" + /*vendorIcon*/
88
- d[6] + ")"), h === (h = m(d)) && g ? g.p(d, x) : (g.d(1), g = h(d), g && (g.c(), g.m(o, null))), x[0] & /*titleLogoImg*/
89
- 2048 && !J(f.src, L = /*titleLogoImg*/
90
- d[11]) && i(f, "src", L), x[0] & /*visualstructure, mobileView, tabletView*/
91
- 49 && v !== (v = "mainWrapper " + /*visualstructure*/
92
- d[0] + " " + /*mobileView*/
93
- (d[4] && !/*tabletView*/
94
- d[5] ? "mobile" : (
95
- /*tabletView*/
96
- d[5] ? "tablet" : ""
97
- ))) && i(s, "class", v), x[0] & /*backgroundImg*/
98
- 1024 && ye(s, "background", "url(" + /*backgroundImg*/
99
- d[10] + ")"), x[0] & /*displayNone*/
100
- 4096 && T !== (T = /*displayNone*/
101
- d[12] ? "DisplayNone" : "") && i(e, "class", T), x[0] & /*displayNone*/
102
- 4096 && S !== (S = /*displayNone*/
103
- d[12] ? "DisplayNone" : "") && i(e, "part", S);
104
- },
105
- d(d) {
106
- d && R(e), g.d(), b = !1, I();
107
- }
108
- };
109
- }
110
- function He(n) {
111
- let e;
112
- return {
113
- c() {
114
- e = c("div"), i(e, "class", "LoadingSpinner"), i(e, "part", "LoadingSpinner");
115
- },
116
- m(t, s) {
117
- H(t, e, s);
118
- },
119
- p: be,
120
- d(t) {
121
- t && R(e);
122
- }
123
- };
124
- }
125
- function Oe(n) {
126
- let e;
127
- return {
128
- c() {
129
- e = c("p"), e.textContent = "500 Server error";
130
- },
131
- m(t, s) {
132
- H(t, e, s);
133
- },
134
- p: be,
135
- d(t) {
136
- t && R(e);
137
- }
138
- };
139
- }
140
- function Fe(n) {
141
- let e, t, s, r, p, o, C = (
142
- /*formattedLabels*/
143
- n[8][0] + ""
144
- ), w, f, L, v = (
145
- /*formattedJackpotValues*/
146
- n[7][0] + ""
147
- ), T, S, b, I, m, h, g, d, x, O, F = (
148
- /*formattedLabels*/
149
- n[8][1] + ""
150
- ), $, U, M, Y = (
151
- /*formattedJackpotValues*/
152
- n[7][1] + ""
153
- ), ee, re, K, te, N, z, E, P, V, ae, q, ie = (
154
- /*formattedLabels*/
155
- n[8][2] + ""
156
- ), ce, G, ne, le = (
157
- /*formattedJackpotValues*/
158
- n[7][2] + ""
159
- ), oe, ue, Q, de, ge, X, Z, D, a, u, _ = (
160
- /*formattedLabels*/
161
- n[8][3] + ""
162
- ), pe, se, fe, me = (
163
- /*formattedJackpotValues*/
164
- n[7][3] + ""
165
- ), ve, ke, he, _e;
166
- return {
167
- c() {
168
- e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"), w = A(C), f = c("span"), L = c("span"), T = A(v), S = B(), b = c("span"), I = A(
169
- /*currency*/
170
- n[1]
171
- ), m = B(), h = c("div"), g = c("div"), d = c("img"), O = c("span"), $ = A(F), U = c("span"), M = c("span"), ee = A(Y), re = B(), K = c("span"), te = A(
172
- /*currency*/
173
- n[1]
174
- ), N = B(), z = c("div"), E = c("div"), P = c("div"), V = c("img"), q = c("span"), ce = A(ie), G = c("span"), ne = c("span"), oe = A(le), ue = B(), Q = c("span"), de = A(
175
- /*currency*/
176
- n[1]
177
- ), ge = B(), X = c("div"), Z = c("div"), D = c("img"), u = c("span"), pe = A(_), se = c("span"), fe = c("span"), ve = A(me), ke = B(), he = c("span"), _e = A(
178
- /*currency*/
179
- n[1]
180
- ), i(r, "class", "displayCardIcon"), J(r.src, p = /*caticons*/
181
- n[9][0]) || i(r, "src", p), i(r, "alt", ""), i(o, "class", "cardLabel"), i(s, "class", "iconWrapper"), i(L, "class", "jackpotValue"), i(b, "class", "jackpot-currency"), i(f, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(d, "class", "displayCardIcon"), J(d.src, x = /*caticons*/
182
- n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(g, "class", "iconWrapper"), i(M, "class", "jackpotValue"), i(K, "class", "jackpot-currency"), i(U, "class", "cardTextWrapper"), i(h, "class", "displayCard"), i(e, "class", "pairWrapper"), i(V, "class", "displayCardIcon"), J(V.src, ae = /*caticons*/
183
- n[9][2]) || i(V, "src", ae), i(V, "alt", ""), i(q, "class", "cardLabel"), i(P, "class", "iconWrapper"), i(ne, "class", "jackpotValue"), i(Q, "class", "jackpot-currency"), i(G, "class", "cardTextWrapper"), i(E, "class", "displayCard"), i(D, "class", "displayCardIcon"), J(D.src, a = /*caticons*/
184
- n[9][3]) || i(D, "src", a), i(D, "alt", ""), i(u, "class", "cardLabel"), i(Z, "class", "iconWrapper"), i(fe, "class", "jackpotValue"), i(he, "class", "jackpot-currency"), i(se, "class", "cardTextWrapper"), i(X, "class", "displayCard"), i(z, "class", "pairWrapper");
185
- },
186
- m(y, k) {
187
- H(y, e, k), l(e, t), l(t, s), l(s, r), l(s, o), l(o, w), l(t, f), l(f, L), l(L, T), l(f, S), l(f, b), l(b, I), l(e, m), l(e, h), l(h, g), l(g, d), l(g, O), l(O, $), l(h, U), l(U, M), l(M, ee), l(U, re), l(U, K), l(K, te), H(y, N, k), H(y, z, k), l(z, E), l(E, P), l(P, V), l(P, q), l(q, ce), l(E, G), l(G, ne), l(ne, oe), l(G, ue), l(G, Q), l(Q, de), l(z, ge), l(z, X), l(X, Z), l(Z, D), l(Z, u), l(u, pe), l(X, se), l(se, fe), l(fe, ve), l(se, ke), l(se, he), l(he, _e);
188
- },
189
- p(y, k) {
190
- k[0] & /*caticons*/
191
- 512 && !J(r.src, p = /*caticons*/
192
- y[9][0]) && i(r, "src", p), k[0] & /*formattedLabels*/
193
- 256 && C !== (C = /*formattedLabels*/
194
- y[8][0] + "") && W(w, C), k[0] & /*formattedJackpotValues*/
195
- 128 && v !== (v = /*formattedJackpotValues*/
196
- y[7][0] + "") && W(T, v), k[0] & /*currency*/
197
- 2 && W(
198
- I,
199
- /*currency*/
200
- y[1]
201
- ), k[0] & /*caticons*/
202
- 512 && !J(d.src, x = /*caticons*/
203
- y[9][1]) && i(d, "src", x), k[0] & /*formattedLabels*/
204
- 256 && F !== (F = /*formattedLabels*/
205
- y[8][1] + "") && W($, F), k[0] & /*formattedJackpotValues*/
206
- 128 && Y !== (Y = /*formattedJackpotValues*/
207
- y[7][1] + "") && W(ee, Y), k[0] & /*currency*/
208
- 2 && W(
209
- te,
210
- /*currency*/
211
- y[1]
212
- ), k[0] & /*caticons*/
213
- 512 && !J(V.src, ae = /*caticons*/
214
- y[9][2]) && i(V, "src", ae), k[0] & /*formattedLabels*/
215
- 256 && ie !== (ie = /*formattedLabels*/
216
- y[8][2] + "") && W(ce, ie), k[0] & /*formattedJackpotValues*/
217
- 128 && le !== (le = /*formattedJackpotValues*/
218
- y[7][2] + "") && W(oe, le), k[0] & /*currency*/
219
- 2 && W(
220
- de,
221
- /*currency*/
222
- y[1]
223
- ), k[0] & /*caticons*/
224
- 512 && !J(D.src, a = /*caticons*/
225
- y[9][3]) && i(D, "src", a), k[0] & /*formattedLabels*/
226
- 256 && _ !== (_ = /*formattedLabels*/
227
- y[8][3] + "") && W(pe, _), k[0] & /*formattedJackpotValues*/
228
- 128 && me !== (me = /*formattedJackpotValues*/
229
- y[7][3] + "") && W(ve, me), k[0] & /*currency*/
230
- 2 && W(
231
- _e,
232
- /*currency*/
233
- y[1]
234
- );
235
- },
236
- d(y) {
237
- y && (R(e), R(N), R(z));
238
- }
239
- };
240
- }
241
- function Pe(n) {
242
- let e, t = we(Array(4)), s = [];
243
- for (let r = 0; r < t.length; r += 1)
244
- s[r] = je(xe(n, t, r));
245
- return {
246
- c() {
247
- for (let r = 0; r < s.length; r += 1)
248
- s[r].c();
249
- e = Ue();
250
- },
251
- m(r, p) {
252
- for (let o = 0; o < s.length; o += 1)
253
- s[o] && s[o].m(r, p);
254
- H(r, e, p);
255
- },
256
- p(r, p) {
257
- if (p[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
258
- 898) {
259
- t = we(Array(4));
260
- let o;
261
- for (o = 0; o < t.length; o += 1) {
262
- const C = xe(r, t, o);
263
- s[o] ? s[o].p(C, p) : (s[o] = je(C), s[o].c(), s[o].m(e.parentNode, e));
264
- }
265
- for (; o < s.length; o += 1)
266
- s[o].d(1);
267
- s.length = t.length;
268
- }
269
- },
270
- d(r) {
271
- r && R(e), ze(s, r);
272
- }
273
- };
274
- }
275
- function je(n) {
276
- var I;
277
- let e, t, s, r, p, o = (
278
- /*formattedLabels*/
279
- n[8][
280
- /*i*/
281
- n[50]
282
- ] + ""
283
- ), C, w, f, L = (
284
- /*formattedJackpotValues*/
285
- ((I = n[7][
286
- /*i*/
287
- n[50]
288
- ]) != null ? I : "") + ""
289
- ), v, T, S, b;
290
- return {
291
- c() {
292
- e = c("div"), t = c("div"), s = c("img"), p = c("span"), C = A(o), w = c("span"), f = c("span"), v = A(L), T = B(), S = c("span"), b = A(
293
- /*currency*/
294
- n[1]
295
- ), i(s, "class", "displayCardIcon"), J(s.src, r = /*caticons*/
296
- n[9][
297
- /*i*/
298
- n[50]
299
- ]) || i(s, "src", r), i(s, "alt", ""), i(p, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(f, "class", "jackpotValue"), i(S, "class", "jackpot-currency"), i(w, "class", "cardTextWrapper"), i(e, "class", "displayCard");
300
- },
301
- m(m, h) {
302
- H(m, e, h), l(e, t), l(t, s), l(t, p), l(p, C), l(e, w), l(w, f), l(f, v), l(w, T), l(w, S), l(S, b);
303
- },
304
- p(m, h) {
305
- var g;
306
- h[0] & /*caticons*/
307
- 512 && !J(s.src, r = /*caticons*/
308
- m[9][
309
- /*i*/
310
- m[50]
311
- ]) && i(s, "src", r), h[0] & /*formattedLabels*/
312
- 256 && o !== (o = /*formattedLabels*/
313
- m[8][
314
- /*i*/
315
- m[50]
316
- ] + "") && W(C, o), h[0] & /*formattedJackpotValues*/
317
- 128 && L !== (L = /*formattedJackpotValues*/
318
- ((g = m[7][
319
- /*i*/
320
- m[50]
321
- ]) != null ? g : "") + "") && W(v, L), h[0] & /*currency*/
322
- 2 && W(
323
- b,
324
- /*currency*/
325
- m[1]
326
- );
327
- },
328
- d(m) {
329
- m && R(e);
330
- }
331
- };
332
- }
333
- function qe(n) {
334
- let e;
335
- function t(p, o) {
336
- return (
337
- /*hasErrors*/
338
- p[13] ? Oe : (
339
- /*isLoading*/
340
- p[3] ? He : Re
341
- )
342
- );
343
- }
344
- let s = t(n), r = s(n);
345
- return {
346
- c() {
347
- e = c("div"), r.c();
348
- },
349
- m(p, o) {
350
- H(p, e, o), r.m(e, null), n[32](e);
351
- },
352
- p(p, o) {
353
- s === (s = t(p)) && r ? r.p(p, o) : (r.d(1), r = s(p), r && (r.c(), r.m(e, null)));
354
- },
355
- i: be,
356
- o: be,
357
- d(p) {
358
- p && R(e), r.d(), n[32](null);
359
- }
360
- };
361
- }
362
- function Ge(n, e, t) {
363
- let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: w = "" } = e, { iconlabels: f = "" } = e, { backgroundsrc: L = "" } = e, { currency: v = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: S = "" } = e, { lang: b = "en" } = e, { clientstyling: I = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: h = "" } = e, { endpoint: g = "" } = e, { gameid: d = "" } = e, x = window.navigator.userAgent, O = !1, F = !1, $ = "", U = [], M = [], Y = [], ee = [], re = [], K = "", te = "", N, z = !1, E = !0, P = !1, V;
364
- const ae = () => {
365
- fetch(h).then((u) => u.json()).then((u) => {
366
- Object.keys(u).forEach((_) => {
367
- Ce(_, u[_]);
368
- });
369
- }).catch((u) => {
370
- console.log(u);
371
- });
372
- };
373
- Object.keys(Le).forEach((a) => {
374
- Ce(a, Le[a]);
375
- });
376
- const q = ["typeSpread", "typeLeft"], ie = (a) => {
377
- var _;
378
- const u = (_ = a == null ? void 0 : a.items[0]) == null ? void 0 : _.additionalData;
379
- u && Object.values(u).forEach((pe) => U.push(+pe));
380
- }, ce = (a) => {
381
- var u;
382
- t(6, $ = ((u = a == null ? void 0 : a.items[0]) == null ? void 0 : u.vendorLogo) || "");
383
- }, G = () => {
384
- if (g && b && v) {
385
- let a = new URL(`${g}/v1/casino/jackpots`);
386
- a.searchParams.append("filter", `id=${d}`), a.searchParams.append("language", b), a.searchParams.append("additionalDataCurrency", v), fetch(a.href).then((u) => u.json().then((_) => {
387
- t(3, E = !1), V = _, M.includes(d) && (ie(V), ce(V));
388
- }).catch((_) => {
389
- t(13, P = !0), t(3, E = !1), console.error(_);
390
- }));
391
- }
392
- }, ne = () => {
393
- let a = new URL(`${g}/v1/casino/jackpots/config`);
394
- fetch(a.href).then((u) => u.json()).then((u) => {
395
- t(30, M = u.egtJackpotIds.map((_) => _));
396
- });
397
- }, le = () => {
398
- t(4, O = De(x) && window.innerHeight / window.innerWidth > 1), t(5, F = ue()), U.length !== 0 && t(7, Y = oe(U)), t(8, ee = f ? f.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), q.includes(s.trim()) ? t(0, s = s.trim()) : (console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${q[0]}"`), t(0, s = q[0])), t(10, K = T && O && !F ? T : L), t(11, te = S), t(9, re = [p, o, C, w]);
399
- }, oe = (a) => a.map((u) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(u)), ue = () => {
400
- const a = window.innerHeight / window.innerWidth;
401
- return 0.75 < a && a < 1.6;
402
- }, Q = () => {
403
- window.postMessage({ type: "JackpotBannerClicked", gameid: d }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
404
- context: "JackpotBanner",
405
- gameId: `${d}`
406
- });
407
- }, de = () => {
408
- let a = document.createElement("style");
409
- a.innerHTML = I, N.appendChild(a);
410
- }, ge = () => {
411
- t(12, z = !0);
412
- let a = new URL(m), u = document.createElement("style");
413
- fetch(a.href).then((_) => _.text()).then((_) => {
414
- u.innerHTML = _, setTimeout(
415
- () => {
416
- N.appendChild(u);
417
- },
418
- 1
419
- ), setTimeout(
420
- () => {
421
- t(12, z = !1);
422
- },
423
- 500
424
- );
425
- });
426
- }, X = () => {
427
- Be(b);
428
- }, Z = () => Q();
429
- function D(a) {
430
- Je[a ? "unshift" : "push"](() => {
431
- N = a, t(2, N);
432
- });
433
- }
434
- return n.$$set = (a) => {
435
- "visualstructure" in a && t(0, s = a.visualstructure), "title" in a && t(15, r = a.title), "caticon0" in a && t(16, p = a.caticon0), "caticon1" in a && t(17, o = a.caticon1), "caticon2" in a && t(18, C = a.caticon2), "caticon3" in a && t(19, w = a.caticon3), "iconlabels" in a && t(20, f = a.iconlabels), "backgroundsrc" in a && t(21, L = a.backgroundsrc), "currency" in a && t(1, v = a.currency), "backgroundsrcmobile" in a && t(22, T = a.backgroundsrcmobile), "titlelogopath" in a && t(23, S = a.titlelogopath), "lang" in a && t(24, b = a.lang), "clientstyling" in a && t(25, I = a.clientstyling), "clientstylingurl" in a && t(26, m = a.clientstylingurl), "translationurl" in a && t(27, h = a.translationurl), "endpoint" in a && t(28, g = a.endpoint), "gameid" in a && t(29, d = a.gameid);
436
- }, n.$$.update = () => {
437
- n.$$.dirty[0] & /*endpoint*/
438
- 268435456 && g && ne(), n.$$.dirty[0] & /*customStylingContainer, clientstyling*/
439
- 33554436 && N && I && de(), n.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
440
- 67108868 && N && m && ge(), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
441
- 1358954498 && g && b && v && M.length > 0 && G(), n.$$.dirty[0] & /*currency, lang, isLoading*/
442
- 16777226 && v && b && !E && le(), n.$$.dirty[0] & /*lang*/
443
- 16777216 && b && X(), n.$$.dirty[0] & /*translationurl*/
444
- 134217728 && h && ae();
445
- }, [
446
- s,
447
- v,
448
- N,
449
- E,
450
- O,
451
- F,
452
- $,
453
- Y,
454
- ee,
455
- re,
456
- K,
457
- te,
458
- z,
459
- P,
460
- Q,
461
- r,
462
- p,
463
- o,
464
- C,
465
- w,
466
- f,
467
- L,
468
- T,
469
- S,
470
- b,
471
- I,
472
- m,
473
- h,
474
- g,
475
- d,
476
- M,
477
- Z,
478
- D
479
- ];
480
- }
481
- class Ye extends We {
482
- constructor(e) {
483
- super(), Ae(
484
- this,
485
- e,
486
- Ge,
487
- qe,
488
- Ie,
489
- {
490
- visualstructure: 0,
491
- title: 15,
492
- caticon0: 16,
493
- caticon1: 17,
494
- caticon2: 18,
495
- caticon3: 19,
496
- iconlabels: 20,
497
- backgroundsrc: 21,
498
- currency: 1,
499
- backgroundsrcmobile: 22,
500
- titlelogopath: 23,
501
- lang: 24,
502
- clientstyling: 25,
503
- clientstylingurl: 26,
504
- translationurl: 27,
505
- endpoint: 28,
506
- gameid: 29
507
- },
508
- Me,
509
- [-1, -1]
510
- );
511
- }
512
- get visualstructure() {
513
- return this.$$.ctx[0];
514
- }
515
- set visualstructure(e) {
516
- this.$$set({ visualstructure: e }), j();
517
- }
518
- get title() {
519
- return this.$$.ctx[15];
520
- }
521
- set title(e) {
522
- this.$$set({ title: e }), j();
523
- }
524
- get caticon0() {
525
- return this.$$.ctx[16];
526
- }
527
- set caticon0(e) {
528
- this.$$set({ caticon0: e }), j();
529
- }
530
- get caticon1() {
531
- return this.$$.ctx[17];
532
- }
533
- set caticon1(e) {
534
- this.$$set({ caticon1: e }), j();
535
- }
536
- get caticon2() {
537
- return this.$$.ctx[18];
538
- }
539
- set caticon2(e) {
540
- this.$$set({ caticon2: e }), j();
541
- }
542
- get caticon3() {
543
- return this.$$.ctx[19];
544
- }
545
- set caticon3(e) {
546
- this.$$set({ caticon3: e }), j();
547
- }
548
- get iconlabels() {
549
- return this.$$.ctx[20];
550
- }
551
- set iconlabels(e) {
552
- this.$$set({ iconlabels: e }), j();
553
- }
554
- get backgroundsrc() {
555
- return this.$$.ctx[21];
556
- }
557
- set backgroundsrc(e) {
558
- this.$$set({ backgroundsrc: e }), j();
559
- }
560
- get currency() {
561
- return this.$$.ctx[1];
562
- }
563
- set currency(e) {
564
- this.$$set({ currency: e }), j();
565
- }
566
- get backgroundsrcmobile() {
567
- return this.$$.ctx[22];
568
- }
569
- set backgroundsrcmobile(e) {
570
- this.$$set({ backgroundsrcmobile: e }), j();
571
- }
572
- get titlelogopath() {
573
- return this.$$.ctx[23];
574
- }
575
- set titlelogopath(e) {
576
- this.$$set({ titlelogopath: e }), j();
577
- }
578
- get lang() {
579
- return this.$$.ctx[24];
580
- }
581
- set lang(e) {
582
- this.$$set({ lang: e }), j();
583
- }
584
- get clientstyling() {
585
- return this.$$.ctx[25];
586
- }
587
- set clientstyling(e) {
588
- this.$$set({ clientstyling: e }), j();
589
- }
590
- get clientstylingurl() {
591
- return this.$$.ctx[26];
592
- }
593
- set clientstylingurl(e) {
594
- this.$$set({ clientstylingurl: e }), j();
595
- }
596
- get translationurl() {
597
- return this.$$.ctx[27];
598
- }
599
- set translationurl(e) {
600
- this.$$set({ translationurl: e }), j();
601
- }
602
- get endpoint() {
603
- return this.$$.ctx[28];
604
- }
605
- set endpoint(e) {
606
- this.$$set({ endpoint: e }), j();
607
- }
608
- get gameid() {
609
- return this.$$.ctx[29];
610
- }
611
- set gameid(e) {
612
- this.$$set({ gameid: e }), j();
613
- }
614
- }
615
- Ee(Ye, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
616
- export {
617
- Ye as default
618
- };