@everymatrix/casino-lobby 1.45.0 → 1.45.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 (84) hide show
  1. package/components/{CasinoCalendar-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
  2. package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
  3. package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
  5. package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
  6. package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
  7. package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
  8. package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
  9. package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
  11. package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
  12. package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
  13. package/components/CasinoFilter-BWEtfBml.js +628 -0
  14. package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
  15. package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
  16. package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
  17. package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
  18. package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
  19. package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
  21. package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
  22. package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
  23. package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
  24. package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
  25. package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
  26. package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
  27. package/components/CasinoModal-CZbdtmLm.js +372 -0
  28. package/components/CasinoModal-DqBbtAjA.cjs +1 -0
  29. package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
  30. package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
  31. package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
  32. package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
  33. package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
  34. package/components/CasinoPage-srXwB6ik.cjs +1 -0
  35. package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
  36. package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
  37. package/components/CasinoSearch-BsgUvsbs.js +1062 -0
  38. package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
  39. package/components/CasinoSlider-D5B-CjPM.js +803 -0
  40. package/components/CasinoSlider-kzZxK81G.cjs +1 -0
  41. package/components/CasinoSort-9pQqbHyF.cjs +1 -0
  42. package/components/CasinoSort-T6UQhFka.js +425 -0
  43. package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
  44. package/components/CasinoWinners-auSd-4D9.js +884 -0
  45. package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
  46. package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
  47. package/es2015/casino-lobby.cjs +1 -1
  48. package/es2015/casino-lobby.js +1 -1
  49. package/package.json +2 -2
  50. package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
  51. package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
  52. package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
  53. package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
  54. package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
  55. package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
  56. package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
  57. package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
  58. package/components/CasinoFilter-D3p7c7qu.js +0 -628
  59. package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
  60. package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
  61. package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
  62. package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
  63. package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
  64. package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
  65. package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
  66. package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
  67. package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
  68. package/components/CasinoModal-BebrYWjS.cjs +0 -1
  69. package/components/CasinoModal-CSwMAX-g.js +0 -372
  70. package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
  71. package/components/CasinoMyGames-shcqTml8.cjs +0 -1
  72. package/components/CasinoPage-DZmE3VFL.cjs +0 -1
  73. package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
  74. package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
  75. package/components/CasinoSearch-CW-eesDy.cjs +0 -1
  76. package/components/CasinoSearch-DkEAmw-j.js +0 -1066
  77. package/components/CasinoSlider-CNWDP_I-.js +0 -803
  78. package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
  79. package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
  80. package/components/CasinoSort-CPcJqhWU.js +0 -425
  81. package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
  82. package/components/CasinoWinners-DSsJp1KQ.js +0 -884
  83. package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
  84. package/components/GeneralAnimationLoading-CEAKVCu9.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-DEhfBjpm.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-egUFg4eK.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;