@everymatrix/casino-page 1.45.0 → 1.45.2

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 (68) hide show
  1. package/components/{CasinoCalendar-CB1ofynf.js → CasinoCalendar-C_cW3If4.js} +46 -50
  2. package/components/{CasinoCalendar-vHn9JrQC.cjs → CasinoCalendar-nl2iiorT.cjs} +4 -4
  3. package/components/CasinoCalendarDailyDetails-DnM1i-yw.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-DuM1JdXu.js +605 -0
  5. package/components/CasinoCalendarDailyItem-Cu1cJO-o.js +220 -0
  6. package/components/CasinoCalendarDailyItem-wSh0TQmw.cjs +1 -0
  7. package/components/CasinoCollectionsProviders-C5cW1Ynt.cjs +1 -0
  8. package/components/CasinoCollectionsProviders-xxbKg_Ci.js +659 -0
  9. package/components/CasinoFavoritesSection-BxsD_mwb.cjs +1 -0
  10. package/components/{CasinoFavoritesSection-hMG9hz9q.js → CasinoFavoritesSection-inNLndzn.js} +8 -8
  11. package/components/CasinoFilter-Bf-aKCs4.js +628 -0
  12. package/components/CasinoFilter-DsfEPxOV.cjs +1 -0
  13. package/components/CasinoGameThumbnail-B2zKPVWX.js +4404 -0
  14. package/components/CasinoGameThumbnail-D4dpi4pE.cjs +47 -0
  15. package/components/CasinoGamesCategorySection-DYWJz3Kr.js +3018 -0
  16. package/components/CasinoGamesCategorySection-eXV9pLYW.cjs +1 -0
  17. package/components/CasinoJackpotBanner-BbZfAtK7.cjs +1 -0
  18. package/components/CasinoJackpotBanner-DG-gRn5m.js +615 -0
  19. package/components/{CasinoLastPlayedSection-B8Zr5k1T.js → CasinoLastPlayedSection-DIHIwpkO.js} +28 -28
  20. package/components/CasinoLastPlayedSection-r5pOc9-L.cjs +1 -0
  21. package/components/{CasinoMostPlayedSection-BQdqLtzZ.js → CasinoMostPlayedSection-Bwta9L31.js} +61 -61
  22. package/components/CasinoMostPlayedSection-jL-AhnSB.cjs +1 -0
  23. package/components/{CasinoMyGames-Bhvr6lKq.js → CasinoMyGames-CHwKmM7d.js} +389 -389
  24. package/components/CasinoMyGames-D9DeNmGU.cjs +1 -0
  25. package/components/CasinoPage-05ZglU1l.cjs +1 -0
  26. package/components/{CasinoPage-CgFhMjEq.js → CasinoPage-BpIKXaav.js} +1178 -1178
  27. package/components/CasinoRandomGame-CfvXKJmb.cjs +2 -0
  28. package/components/CasinoRandomGame-D8i7LRIG.js +641 -0
  29. package/components/CasinoSearch-CNLDoBng.cjs +1 -0
  30. package/components/CasinoSearch-D3L2Udhc.js +1062 -0
  31. package/components/CasinoSort-DkyKZJ6D.js +425 -0
  32. package/components/CasinoSort-DlxCxisZ.cjs +1 -0
  33. package/components/CasinoWinners-BJz7Z50Z.js +884 -0
  34. package/components/CasinoWinners-DAGGAApV.cjs +1 -0
  35. package/components/GeneralAnimationLoading-CSq5Z70E.js +75 -0
  36. package/components/GeneralAnimationLoading-DkcoDbK8.cjs +1 -0
  37. package/es2015/casino-page.cjs +1 -1
  38. package/es2015/casino-page.js +1 -1
  39. package/package.json +2 -2
  40. package/components/CasinoCalendarDailyDetails-B1hAQY8H.cjs +0 -1
  41. package/components/CasinoCalendarDailyDetails-bj1Bej4W.js +0 -605
  42. package/components/CasinoCalendarDailyItem-B66zpREe.cjs +0 -1
  43. package/components/CasinoCalendarDailyItem-CHLhiVnz.js +0 -220
  44. package/components/CasinoCollectionsProviders-CJjZBVM5.cjs +0 -1
  45. package/components/CasinoCollectionsProviders-yK9CI4Xr.js +0 -659
  46. package/components/CasinoFavoritesSection-CkUOZVVp.cjs +0 -1
  47. package/components/CasinoFilter-C3yO3cL7.cjs +0 -1
  48. package/components/CasinoFilter-D3NwcpvH.js +0 -628
  49. package/components/CasinoGameThumbnail-Cw3-sXvH.cjs +0 -47
  50. package/components/CasinoGameThumbnail-Dg-sThkk.js +0 -4404
  51. package/components/CasinoGamesCategorySection-C-1o8si6.cjs +0 -1
  52. package/components/CasinoGamesCategorySection-DNVY80Ko.js +0 -3022
  53. package/components/CasinoJackpotBanner-D1M-XhZn.cjs +0 -1
  54. package/components/CasinoJackpotBanner-DJ3Owq6H.js +0 -619
  55. package/components/CasinoLastPlayedSection-BLK2LH8q.cjs +0 -1
  56. package/components/CasinoMostPlayedSection-BkYdv4cH.cjs +0 -1
  57. package/components/CasinoMyGames-FFhdK5FP.cjs +0 -1
  58. package/components/CasinoPage-Iz_NYCf0.cjs +0 -1
  59. package/components/CasinoRandomGame-BFI4lApK.js +0 -641
  60. package/components/CasinoRandomGame-C65-z1c0.cjs +0 -2
  61. package/components/CasinoSearch-B_mZUsPg.cjs +0 -1
  62. package/components/CasinoSearch-DBC_u_8Q.js +0 -1066
  63. package/components/CasinoSort-DxFN7PGX.cjs +0 -1
  64. package/components/CasinoSort-aNrhiItx.js +0 -425
  65. package/components/CasinoWinners-DrzapDfQ.cjs +0 -1
  66. package/components/CasinoWinners-DuFK11WC.js +0 -884
  67. package/components/GeneralAnimationLoading-BCO7AGpP.js +0 -75
  68. package/components/GeneralAnimationLoading-ikaVRvKa.cjs +0 -1
@@ -1,220 +0,0 @@
1
- import { $ as R, a as j, S as A, i as O, f as x, c as q, s as U, b as G, e as c, r as L, u as T, d as l, D as E, G as C, g as V, v as s, w as W, A as S, C as H, k as J, o as K, m as N, n as P } from "./CasinoCalendar-CB1ofynf.js";
2
- function Q({ withLocale: n, translations: e }) {
3
- R.subscribe((a) => {
4
- a == null && (j.set(e), R.set(n));
5
- });
6
- }
7
- function X(n) {
8
- G(n, "svelte-128e4zn", '.svelte-128e4zn.svelte-128e4zn,.svelte-128e4zn.svelte-128e4zn::before,.svelte-128e4zn.svelte-128e4zn::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container.svelte-128e4zn.svelte-128e4zn{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container.svelte-128e4zn.svelte-128e4zn::-webkit-scrollbar{display:none}.CalendarBar.svelte-128e4zn.svelte-128e4zn{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar.svelte-128e4zn.svelte-128e4zn::before{content:"";position:absolute;z-index:-1}.RingLeft.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage.svelte-128e4zn.svelte-128e4zn{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear.svelte-128e4zn.svelte-128e4zn{animation:svelte-128e4zn-tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes svelte-128e4zn-tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard.svelte-128e4zn.svelte-128e4zn{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems.svelte-128e4zn.svelte-128e4zn{width:100%}.CasinoCalendarItemBackground.svelte-128e4zn.svelte-128e4zn{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon.svelte-128e4zn.svelte-128e4zn{height:20px;margin:15px}.CasinoCalendarDailyIcon.svelte-128e4zn img.svelte-128e4zn{max-height:28px}.CasinoCalendarDailyTitle.svelte-128e4zn.svelte-128e4zn{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription.svelte-128e4zn.svelte-128e4zn{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton.svelte-128e4zn.svelte-128e4zn{width:100%;text-align:center}.MoreInfoButton.svelte-128e4zn.svelte-128e4zn{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
9
- }
10
- function Y(n) {
11
- let e, a, h, u, f, w, i, b, r, v, y, p, g, I, k, D, m, z, B, F, _, M, t;
12
- return {
13
- c() {
14
- e = c("div"), a = c("div"), h = c("div"), u = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft svelte-128e4zn"></div> <div class="RingRight svelte-128e4zn"></div>', w = L(), i = c("div"), b = c("div"), r = c("img"), y = L(), p = c("div"), g = T(
15
- /*dailyday*/
16
- n[2]
17
- ), I = L(), k = c("div"), D = L(), m = c("div"), z = c("button"), B = T(
18
- /*dailybuttontitle*/
19
- n[3]
20
- ), l(f, "class", "CalendarBar svelte-128e4zn"), E(r.src, v = /*dailyicon*/
21
- n[1]) || l(r, "src", v), l(
22
- r,
23
- "alt",
24
- /*dailyicon*/
25
- n[1]
26
- ), l(r, "class", "svelte-128e4zn"), l(b, "class", "CasinoCalendarDailyIcon svelte-128e4zn"), l(p, "class", "CasinoCalendarDailyTitle svelte-128e4zn"), l(k, "class", "CasinoCalendarDailyItemDescription svelte-128e4zn"), l(z, "class", "MoreInfoButton svelte-128e4zn"), l(m, "class", "CasinoCalendarDailyItemButton svelte-128e4zn"), l(i, "class", F = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
27
- n[4] == "OpenCalendarModal" ? "Tear" : "") + " svelte-128e4zn"), C(i, "background-image", "url('" + /*dailybackground*/
28
- n[0] + "')"), C(i, "background-size", "cover"), C(i, "background-position", "center"), C(i, "-webkit-background-size", "cover"), C(i, "-moz-background-size", "cover"), C(i, "-o-background-size", "cover"), l(u, "class", "CalendarCard svelte-128e4zn"), l(h, "class", "CasinoCalendarItems svelte-128e4zn"), l(a, "class", _ = "Container " + /*mobileView*/
29
- (n[7] ? "Mobile" : "") + " svelte-128e4zn"), l(e, "class", "svelte-128e4zn");
30
- },
31
- m(o, d) {
32
- V(o, e, d), s(e, a), s(a, h), s(h, u), s(u, f), s(u, w), s(u, i), s(i, b), s(b, r), s(i, y), s(i, p), s(p, g), s(i, I), s(i, k), n[13](k), s(i, D), s(i, m), s(m, z), s(z, B), n[15](e), M || (t = W(
33
- z,
34
- "click",
35
- /*click_handler*/
36
- n[14]
37
- ), M = !0);
38
- },
39
- p(o, [d]) {
40
- d & /*dailyicon*/
41
- 2 && !E(r.src, v = /*dailyicon*/
42
- o[1]) && l(r, "src", v), d & /*dailyicon*/
43
- 2 && l(
44
- r,
45
- "alt",
46
- /*dailyicon*/
47
- o[1]
48
- ), d & /*dailyday*/
49
- 4 && S(
50
- g,
51
- /*dailyday*/
52
- o[2]
53
- ), d & /*dailybuttontitle*/
54
- 8 && S(
55
- B,
56
- /*dailybuttontitle*/
57
- o[3]
58
- ), d & /*index*/
59
- 16 && F !== (F = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
60
- o[4] == "OpenCalendarModal" ? "Tear" : "") + " svelte-128e4zn") && l(i, "class", F), d & /*dailybackground*/
61
- 1 && C(i, "background-image", "url('" + /*dailybackground*/
62
- o[0] + "')"), d & /*mobileView*/
63
- 128 && _ !== (_ = "Container " + /*mobileView*/
64
- (o[7] ? "Mobile" : "") + " svelte-128e4zn") && l(a, "class", _);
65
- },
66
- i: H,
67
- o: H,
68
- d(o) {
69
- o && J(e), n[13](null), n[15](null), M = !1, t();
70
- }
71
- };
72
- }
73
- function Z(n, e, a) {
74
- let { lang: h = "" } = e, { dailybackground: u = "" } = e, { dailyicon: f = "" } = e, { dailyday: w = "" } = e, { dailydescription: i = "<p></p>" } = e, { dailybuttontitle: b = "" } = e, { index: r = "0" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e;
75
- Q({ withLocale: "en", translations: {} });
76
- let p, g, I = !1, k = window.navigator.userAgent;
77
- const D = () => {
78
- let t = document.createElement("div");
79
- t.innerHTML = i, p && p.append(t);
80
- }, m = () => {
81
- window.postMessage({ type: "OpenCalendar", index: r }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
82
- }, z = () => {
83
- let t = document.createElement("style");
84
- t.innerHTML = v, g.appendChild(t);
85
- }, B = () => {
86
- let t = new URL(y), o = document.createElement("style");
87
- fetch(t.href).then((d) => d.text()).then((d) => {
88
- o.innerHTML = d, setTimeout(
89
- () => {
90
- g.appendChild(o);
91
- },
92
- 1
93
- ), setTimeout(
94
- () => {
95
- },
96
- 500
97
- );
98
- });
99
- };
100
- K(() => {
101
- N(k) && a(7, I = !0);
102
- });
103
- function F(t) {
104
- P[t ? "unshift" : "push"](() => {
105
- p = t, a(6, p);
106
- });
107
- }
108
- const _ = () => m();
109
- function M(t) {
110
- P[t ? "unshift" : "push"](() => {
111
- g = t, a(5, g);
112
- });
113
- }
114
- return n.$$set = (t) => {
115
- "lang" in t && a(9, h = t.lang), "dailybackground" in t && a(0, u = t.dailybackground), "dailyicon" in t && a(1, f = t.dailyicon), "dailyday" in t && a(2, w = t.dailyday), "dailydescription" in t && a(10, i = t.dailydescription), "dailybuttontitle" in t && a(3, b = t.dailybuttontitle), "index" in t && a(4, r = t.index), "clientstyling" in t && a(11, v = t.clientstyling), "clientstylingurl" in t && a(12, y = t.clientstylingurl);
116
- }, n.$$.update = () => {
117
- n.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
118
- 1039 && f && w && i && b && u && D(), n.$$.dirty & /*clientstyling, customStylingContainer*/
119
- 2080 && v && g && z(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
120
- 4128 && y && g && B();
121
- }, [
122
- u,
123
- f,
124
- w,
125
- b,
126
- r,
127
- g,
128
- p,
129
- I,
130
- m,
131
- h,
132
- i,
133
- v,
134
- y,
135
- F,
136
- _,
137
- M
138
- ];
139
- }
140
- class $ extends A {
141
- constructor(e) {
142
- super(), O(
143
- this,
144
- e,
145
- Z,
146
- Y,
147
- U,
148
- {
149
- lang: 9,
150
- dailybackground: 0,
151
- dailyicon: 1,
152
- dailyday: 2,
153
- dailydescription: 10,
154
- dailybuttontitle: 3,
155
- index: 4,
156
- clientstyling: 11,
157
- clientstylingurl: 12
158
- },
159
- X
160
- );
161
- }
162
- get lang() {
163
- return this.$$.ctx[9];
164
- }
165
- set lang(e) {
166
- this.$$set({ lang: e }), x();
167
- }
168
- get dailybackground() {
169
- return this.$$.ctx[0];
170
- }
171
- set dailybackground(e) {
172
- this.$$set({ dailybackground: e }), x();
173
- }
174
- get dailyicon() {
175
- return this.$$.ctx[1];
176
- }
177
- set dailyicon(e) {
178
- this.$$set({ dailyicon: e }), x();
179
- }
180
- get dailyday() {
181
- return this.$$.ctx[2];
182
- }
183
- set dailyday(e) {
184
- this.$$set({ dailyday: e }), x();
185
- }
186
- get dailydescription() {
187
- return this.$$.ctx[10];
188
- }
189
- set dailydescription(e) {
190
- this.$$set({ dailydescription: e }), x();
191
- }
192
- get dailybuttontitle() {
193
- return this.$$.ctx[3];
194
- }
195
- set dailybuttontitle(e) {
196
- this.$$set({ dailybuttontitle: e }), x();
197
- }
198
- get index() {
199
- return this.$$.ctx[4];
200
- }
201
- set index(e) {
202
- this.$$set({ index: e }), x();
203
- }
204
- get clientstyling() {
205
- return this.$$.ctx[11];
206
- }
207
- set clientstyling(e) {
208
- this.$$set({ clientstyling: e }), x();
209
- }
210
- get clientstylingurl() {
211
- return this.$$.ctx[12];
212
- }
213
- set clientstylingurl(e) {
214
- this.$$set({ clientstylingurl: e }), x();
215
- }
216
- }
217
- q($, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
218
- export {
219
- $ as default
220
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-vHn9JrQC.cjs");function A(l,t){e.addMessages(l,t)}function re(l){e.$locale.set(l)}const N={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function ce(l){e.append_styles(l,"svelte-5qs4ma",'.svelte-5qs4ma.svelte-5qs4ma,.svelte-5qs4ma.svelte-5qs4ma::before,.svelte-5qs4ma.svelte-5qs4ma::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders.svelte-5qs4ma.svelte-5qs4ma{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader.svelte-5qs4ma.svelte-5qs4ma{display:flex;justify-content:space-between;height:70px}.CategoriesHeader.svelte-5qs4ma .Title.svelte-5qs4ma{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader.svelte-5qs4ma .ButtonsContainer button.svelte-5qs4ma{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader.svelte-5qs4ma .ButtonsContainer button.svelte-5qs4ma:active{opacity:0.7}.CategoriesSlider.svelte-5qs4ma.svelte-5qs4ma{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper.svelte-5qs4ma.svelte-5qs4ma{position:absolute;top:0;left:0}.CategoriesSlider.svelte-5qs4ma .Animation.svelte-5qs4ma{transition:transform 0.8s}.CategoriesSlider.svelte-5qs4ma .CategorySlide.svelte-5qs4ma{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider.svelte-5qs4ma .CategorySlide.svelte-5qs4ma:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider.svelte-5qs4ma .CategorySlideTopContainer.svelte-5qs4ma{height:100px;display:flex;align-items:center}.CategoriesSlider.svelte-5qs4ma .CategorySlideLogo.svelte-5qs4ma{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider.svelte-5qs4ma .CategorySlideTitle.svelte-5qs4ma{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider.svelte-5qs4ma .CategorySlideGameContainer.svelte-5qs4ma{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider.svelte-5qs4ma .CategorySlideGameImage.svelte-5qs4ma{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider.svelte-5qs4ma .CategorySlideGames.svelte-5qs4ma{color:white;text-align:center}.CategoriesSlider.svelte-5qs4ma .CategorySlideGames p.svelte-5qs4ma{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.Collections.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.CasinoCollectionsProviders.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.svelte-5qs4ma .CategoriesSlider.svelte-5qs4ma{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile.svelte-5qs4ma .CategoriesSlider.svelte-5qs4ma::-webkit-scrollbar{display:none}.Mobile.svelte-5qs4ma .CategorySlide.svelte-5qs4ma{width:80vw;scroll-snap-align:start}.Mobile.svelte-5qs4ma .ButtonsContainer.svelte-5qs4ma{display:none}.Mobile.svelte-5qs4ma .CategorySlideGameImage.svelte-5qs4ma{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner.svelte-5qs4ma.svelte-5qs4ma{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner.svelte-5qs4ma.svelte-5qs4ma:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:svelte-5qs4ma-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5qs4ma-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function R(l,t,i){const n=l.slice();return n[41]=t[i],n}function U(l,t,i){const n=l.slice();return n[44]=t[i],n}function de(l){let t,i,n,a=(l[0]=="vendor"?l[11]("providers"):l[11]("collections"))+"",o,m,_,v,w,p,d=l[8]>l[9]&&E(l),g=e.ensure_array_like(l[3]),u=[];for(let c=0;c<g.length;c+=1)u[c]=V(R(l,g,c));return{c(){t=e.element("div"),i=e.element("div"),n=e.element("p"),o=e.text(a),m=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();e.attr(n,"class","Title svelte-5qs4ma"),e.attr(i,"class","CategoriesHeader svelte-5qs4ma"),e.attr(v,"class","CategoriesSlider svelte-5qs4ma"),e.add_render_callback(()=>l[27].call(v)),e.attr(t,"class",p="CasinoCollectionsProviders "+(l[10]?"Mobile":"")+" "+(l[0]==="vendor"?"Providers":"Collections")+" svelte-5qs4ma")},m(c,y){e.insert(c,t,y),e.append(t,i),e.append(i,n),e.append(n,o),e.append(i,m),d&&d.m(i,null),e.append(t,_),e.append(t,v);for(let r=0;r<u.length;r+=1)u[r]&&u[r].m(v,null);l[26](v),w=e.add_iframe_resize_listener(v,l[27].bind(v))},p(c,y){if(y[0]&2049&&a!==(a=(c[0]=="vendor"?c[11]("providers"):c[11]("collections"))+"")&&e.set_data(o,a),c[8]>c[9]?d?d.p(c,y):(d=E(c),d.c(),d.m(i,null)):d&&(d.d(1),d=null),y[0]&49166){g=e.ensure_array_like(c[3]);let r;for(r=0;r<g.length;r+=1){const f=R(c,g,r);u[r]?u[r].p(f,y):(u[r]=V(f),u[r].c(),u[r].m(v,null))}for(;r<u.length;r+=1)u[r].d(1);u.length=g.length}y[0]&1025&&p!==(p="CasinoCollectionsProviders "+(c[10]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections")+" svelte-5qs4ma")&&e.attr(t,"class",p)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(u,c),l[26](null),w()}}}function me(l){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner svelte-5qs4ma")},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function E(l){let t,i,n,a,o,m;return{c(){t=e.element("div"),i=e.element("button"),i.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656" class="svelte-5qs4ma"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff" class="svelte-5qs4ma"></path></svg>',n=e.space(),a=e.element("button"),a.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656" class="svelte-5qs4ma"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff" class="svelte-5qs4ma"></path></svg>',e.attr(i,"class","svelte-5qs4ma"),e.attr(a,"class","svelte-5qs4ma"),e.attr(t,"class","ButtonsContainer svelte-5qs4ma")},m(_,v){e.insert(_,t,v),e.append(t,i),e.append(t,n),e.append(t,a),o||(m=[e.listen(i,"click",l[22]),e.listen(a,"click",l[23])],o=!0)},p:e.noop,d(_){_&&e.detach(t),o=!1,e.run_all(m)}}}function ge(l){let t,i=l[41].name+"",n;return{c(){t=e.element("p"),n=e.text(i),e.attr(t,"class","CategorySlideTitle svelte-5qs4ma")},m(a,o){e.insert(a,t,o),e.append(t,n)},p(a,o){o[0]&8&&i!==(i=a[41].name+"")&&e.set_data(n,i)},d(a){a&&e.detach(t)}}}function pe(l){let t,i,n;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo svelte-5qs4ma"),e.src_url_equal(t.src,i=l[41].icon)||e.attr(t,"src",i),e.attr(t,"alt",n=l[41].name+" icon")},m(a,o){e.insert(a,t,o)},p(a,o){o[0]&8&&!e.src_url_equal(t.src,i=a[41].icon)&&e.attr(t,"src",i),o[0]&8&&n!==(n=a[41].name+" icon")&&e.attr(t,"alt",n)},d(a){a&&e.detach(t)}}}function I(l){let t,i=l[44].name+"",n,a;return{c(){t=e.element("p"),n=e.text(i),e.attr(t,"title",a=l[44].name),e.attr(t,"class","svelte-5qs4ma")},m(o,m){e.insert(o,t,m),e.append(t,n)},p(o,m){m[0]&8&&i!==(i=o[44].name+"")&&e.set_data(n,i),m[0]&8&&a!==(a=o[44].name)&&e.attr(t,"title",a)},d(o){o&&e.detach(t)}}}function W(l){let t,i,n,a,o,m,_,v;function w(){return l[24](l[44])}let p=l[2]=="true"&&I(l);return{c(){t=e.element("div"),i=e.element("img"),o=e.space(),p&&p.c(),m=e.space(),e.attr(i,"class","CategorySlideGameImage svelte-5qs4ma"),e.src_url_equal(i.src,n=l[44].defaultThumbnail)||e.attr(i,"src",n),e.attr(i,"alt",a=l[44].name),e.attr(t,"class","CategorySlideGames svelte-5qs4ma")},m(d,g){e.insert(d,t,g),e.append(t,i),e.append(t,o),p&&p.m(t,null),e.append(t,m),_||(v=e.listen(i,"click",e.stop_propagation(w)),_=!0)},p(d,g){l=d,g[0]&8&&!e.src_url_equal(i.src,n=l[44].defaultThumbnail)&&e.attr(i,"src",n),g[0]&8&&a!==(a=l[44].name)&&e.attr(i,"alt",a),l[2]=="true"?p?p.p(l,g):(p=I(l),p.c(),p.m(t,m)):p&&(p.d(1),p=null)},d(d){d&&e.detach(t),p&&p.d(),_=!1,v()}}}function V(l){let t,i,n,a,o,m,_,v,w;function p(r,f){if(r[1]=="logo")return pe;if(r[1]=="title")return ge}let d=p(l),g=d&&d(l),u=e.ensure_array_like(l[41].games),c=[];for(let r=0;r<u.length;r+=1)c[r]=W(U(l,u,r));function y(){return l[25](l[41])}return{c(){var r,f;t=e.element("div"),i=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),o=e.element("div");for(let h=0;h<c.length;h+=1)c[h].c();_=e.space(),e.attr(n,"class","CategorySlideTopContainer svelte-5qs4ma"),e.attr(o,"class","CategorySlideGameContainer svelte-5qs4ma"),e.attr(i,"class",m="CategorySlide "+(((r=l[41])==null?void 0:r.flag[0])=="vendor"?"CategorySlideNoHighlight":"")+" svelte-5qs4ma"),e.set_style(i,"background-image","url("+((f=l[41])==null?void 0:f.background)+")"),e.set_style(i,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation svelte-5qs4ma")},m(r,f){e.insert(r,t,f),e.append(t,i),e.append(i,n),g&&g.m(n,null),e.append(i,a),e.append(i,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);e.append(t,_),v||(w=e.listen(i,"click",y),v=!0)},p(r,f){var h,G;if(l=r,d===(d=p(l))&&g?g.p(l,f):(g&&g.d(1),g=d&&d(l),g&&(g.c(),g.m(n,null))),f[0]&16396){u=e.ensure_array_like(l[41].games);let b;for(b=0;b<u.length;b+=1){const S=U(l,u,b);c[b]?c[b].p(S,f):(c[b]=W(S),c[b].c(),c[b].m(o,null))}for(;b<c.length;b+=1)c[b].d(1);c.length=u.length}f[0]&8&&m!==(m="CategorySlide "+(((h=l[41])==null?void 0:h.flag[0])=="vendor"?"CategorySlideNoHighlight":"")+" svelte-5qs4ma")&&e.attr(i,"class",m),f[0]&8&&e.set_style(i,"background-image","url("+((G=l[41])==null?void 0:G.background)+")")},d(r){r&&e.detach(t),g&&g.d(),e.destroy_each(c,r),v=!1,w()}}}function ue(l){let t;function i(o,m){return o[7]?me:de}let n=i(l),a=n(l);return{c(){t=e.element("div"),a.c(),e.attr(t,"class","svelte-5qs4ma")},m(o,m){e.insert(o,t,m),a.m(t,null),l[28](t)},p(o,m){n===(n=i(o))&&a?a.p(o,m):(a.d(1),a=n(o),a&&(a.c(),a.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a.d(),l[28](null)}}}function ve(l,t,i){let n;e.component_subscribe(l,e.$format,s=>i(11,n=s));let{endpoint:a=""}=t,{datasource:o=""}=t,{lang:m=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:p=""}=t,{translationurl:d=""}=t,{collectionprovidersgamenames:g=""}=t,u=[],c=!0,y,r=0,f=0,h=0,G,b,S,K=window.navigator.userAgent,L,P=0;const Z=()=>{fetch(d).then(C=>C.json()).then(C=>{Object.keys(C).forEach(q=>{A(q,C[q])})}).catch(C=>{console.log(C)})};Object.keys(N).forEach(s=>{A(s,N[s])});const J=()=>{const s=new URL(`${a}/v2/casino/groups/${o}`);s.searchParams.append("language",m),s.searchParams.append("expand","games"),fetch(s.href).then(C=>C.json()).then(C=>{i(7,c=!1);let q=C.items.filter(k=>k.flags==_);i(3,u=q.map(k=>{var H,O,B;return{id:k.id,name:k.name,icon:k.icon?k.icon:(B=(O=(H=k.vendors)==null?void 0:H.items[0])==null?void 0:O.subVendors[0])==null?void 0:B.logo,games:k.games.items.slice(0,4).map(oe=>oe),background:k.background,flag:k.flags}})),i(8,f=u.length)})},M=s=>{b=[...y.children],b.forEach((C,q)=>{C.style.transform=`translateX(${100*(s?q-s:q)}%)`}),G=b[0].getBoundingClientRect().width,X()},X=()=>{i(9,h=Math.floor(P/G))},j=()=>{M(r)},T=()=>{r===0?r=f-h:r-h<-1?r=0:r--,j()},x=()=>{r===f-h?r=0:f-h<r+1?r=f-h:r++,j()},F=(s,C,q,k)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:s,launchUrl:C,gameName:q,subVendor:k},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${q}`})},z=s=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:s},window.location.href)},Y=()=>{re(m)},Q=()=>{let s=document.createElement("style");s.innerHTML=w,S.appendChild(s)},$=()=>{let s=new URL(p),C=document.createElement("style");fetch(s.href).then(q=>q.text()).then(q=>{C.innerHTML=q,setTimeout(()=>{S.appendChild(C)},1)})};e.onMount(()=>{i(10,L=e.isMobile(K))});const ee=()=>T(),te=()=>x(),le=s=>F(s.gameId,s.launchUrl,s.name,s.subVendor),ie=s=>z(s.id);function se(s){e.binding_callbacks[s?"unshift":"push"](()=>{y=s,i(4,y)})}function ae(){P=this.clientWidth,i(6,P)}function ne(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(5,S)})}return l.$$set=s=>{"endpoint"in s&&i(16,a=s.endpoint),"datasource"in s&&i(17,o=s.datasource),"lang"in s&&i(18,m=s.lang),"type"in s&&i(0,_=s.type),"titletype"in s&&i(1,v=s.titletype),"clientstyling"in s&&i(19,w=s.clientstyling),"clientstylingurl"in s&&i(20,p=s.clientstylingurl),"translationurl"in s&&i(21,d=s.translationurl),"collectionprovidersgamenames"in s&&i(2,g=s.collectionprovidersgamenames)},l.$$.update=()=>{l.$$.dirty[0]&458752&&a&&o&&m&&J(),l.$$.dirty[0]&88&&P&&u&&y&&M(),l.$$.dirty[0]&262144&&m&&Y(),l.$$.dirty[0]&524320&&w&&S&&Q(),l.$$.dirty[0]&1048608&&p&&S&&$(),l.$$.dirty[0]&2097152&&d&&Z()},[_,v,g,u,y,S,P,c,f,h,L,n,T,x,F,z,a,o,m,w,p,d,ee,te,le,ie,se,ae,ne]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ve,ue,e.safe_not_equal,{endpoint:16,datasource:17,lang:18,type:0,titletype:1,clientstyling:19,clientstylingurl:20,translationurl:21,collectionprovidersgamenames:2},ce,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[17]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{}},[],[],!0);exports.default=D;