@everymatrix/casino-lobby 1.60.2 → 1.61.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 (118) hide show
  1. package/components/{CasinoCalendar-DqS7aKva.cjs → CasinoCalendar-CR3NqEmo.cjs} +1 -1
  2. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-DoAbSivX.js} +12 -12
  3. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-m598e8c0.js} +12 -12
  4. package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
  9. package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
  10. package/components/{CasinoCategoriesSlider-i9BCUm8R.cjs → CasinoCategoriesSlider-BqUXbvm-.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-C2jbyhRF.js → CasinoCategoriesSlider-DE0uzQfF.js} +7 -7
  12. package/components/{CasinoCategoriesSlider-DZX7fAxD.js → CasinoCategoriesSlider-DW81y1el.js} +7 -7
  13. package/components/{CasinoCollectionsProviders-BRhnxud8.js → CasinoCollectionsProviders-CkxoIQMQ.js} +187 -186
  14. package/components/{CasinoCollectionsProviders-Fw278mB3.js → CasinoCollectionsProviders-FTsSIZe7.js} +174 -173
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-CKWkFYb4.js} +14 -14
  17. package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-MnxoGd6P.js} +14 -14
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-Cs9ZMDdP.js} +96 -94
  21. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-D80YfaXW.js} +50 -50
  22. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-B8-ifO-z.js} +1320 -1319
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-CLMVY2d0.js} +1364 -1363
  25. package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
  26. package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
  27. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
  28. package/components/{CasinoGamesCategorySection-B_kw0cnt.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-DdJnZPgm.js → CasinoGamesCategorySection-CIfBLzjC.js} +5 -5
  30. package/components/{CasinoGamesCategorySection-Bw_6-a2H.js → CasinoGamesCategorySection-o-CZJ4iD.js} +5 -5
  31. package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
  32. package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
  33. package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
  34. package/components/{CasinoLastPlayedSection-CnwiqEWd.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-DF1qIy7A.js → CasinoLastPlayedSection-BPD5poPp.js} +9 -9
  36. package/components/{CasinoLastPlayedSection-D8w8f1qu.js → CasinoLastPlayedSection-Dxbzb-4o.js} +9 -9
  37. package/components/{CasinoLobby-Br00KMpi.js → CasinoLobby-6kkVRa0v.js} +32 -32
  38. package/components/{CasinoLobby-Da8EvOPn.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-Anq70pxB.js → CasinoLobby-Bntp7e5i.js} +32 -32
  40. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-QtSV_GhN.js} +8 -8
  42. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-bTxbu9d4.js} +8 -8
  43. package/components/{CasinoMostPlayedSection-4nc9NISY.js → CasinoMostPlayedSection-B9_yeLMk.js} +14 -14
  44. package/components/{CasinoMostPlayedSection-DEpCntHU.js → CasinoMostPlayedSection-D-VpqDyh.js} +14 -14
  45. package/components/{CasinoMostPlayedSection-CleRvEGW.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-Cqgayk3N.js → CasinoMyGames-BEUz5puH.js} +17 -17
  47. package/components/{CasinoMyGames-Ls6PjVLx.js → CasinoMyGames-BQtk1EEq.js} +16 -16
  48. package/components/{CasinoMyGames-BeNdYI48.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-86frPbmB.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-vykaQto-.js → CasinoPage-CiONVvV8.js} +11 -11
  51. package/components/{CasinoPage-B_ulErY-.js → CasinoPage-DOSD686t.js} +11 -11
  52. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-DQXmOLue.js} +155 -154
  55. package/components/{CasinoSearch-DcjbpUq_.js → CasinoSearch-CTxffz7Z.js} +27 -27
  56. package/components/{CasinoSearch-jq6HJhjW.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-CyctCdxx.js → CasinoSearch-DTglx2jN.js} +27 -27
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider-BmXppZ63.js → CasinoSlider-CGpDul3G.js} +224 -223
  60. package/components/{CasinoSlider-DbK0-rGh.js → CasinoSlider-pPfml1-U.js} +155 -154
  61. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-BSaxbC32.js} +1 -1
  62. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-DGdM4QXv.js} +1 -1
  64. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-BwwKfUuN.js} +99 -98
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-i5RqXY4N.js} +102 -101
  67. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-BszAoL3H.js} +6 -6
  68. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-Xq-D41Fg.js} +6 -6
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  77. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  78. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  80. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  81. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  82. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  83. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  84. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendarDailyDetails-DQB9Y3_Q.js +0 -693
  101. package/components/CasinoCalendarDailyDetails-DUQWFLJJ.cjs +0 -1
  102. package/components/CasinoCalendarDailyDetails-Xi-Uo8v-.js +0 -693
  103. package/components/CasinoCalendarDailyItem-CVt2FFo1.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-CjRZKnnD.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DC91__VM.js +0 -306
  106. package/components/CasinoCollectionsProviders-Beuct27Z.cjs +0 -1
  107. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  108. package/components/CasinoGamePage-BmgERtPr.cjs +0 -18
  109. package/components/CasinoGameThumbnail-B9OLAJDP.js +0 -1882
  110. package/components/CasinoGameThumbnail-C-_VEhfz.cjs +0 -38
  111. package/components/CasinoGameThumbnail-w6gElzrs.js +0 -1866
  112. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +0 -1
  113. package/components/CasinoJackpotBanner-Dxq2Y_-S.js +0 -697
  114. package/components/CasinoJackpotBanner-UQaC63Zv.js +0 -693
  115. package/components/CasinoRandomGame-BO7BqLXA.cjs +0 -2
  116. package/components/CasinoSlider-Bo4dCvJT.cjs +0 -1
  117. package/components/CasinoWinners-KEY7dD3z.cjs +0 -1
  118. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
@@ -0,0 +1,307 @@
1
+ import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I as F, h as X, p as r, A as Y, j as c, B as D, q as W, k as Z, o as $, l as ee, C as N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-m598e8c0.js";
2
+ import "../stencil/ui-image-CV8AJ9cY.js";
3
+ function P(a, t) {
4
+ H(a, t);
5
+ }
6
+ function oe(a) {
7
+ U.set(a);
8
+ }
9
+ const q = {
10
+ en: {
11
+ error: "500 Error - Internal Server Error",
12
+ loading: "Loading ...",
13
+ monday: "Monday",
14
+ tuesday: "Tuesday",
15
+ wednesday: "Wednesday",
16
+ thursday: "Thursday",
17
+ friday: "Friday",
18
+ saturday: "Saturday",
19
+ sunday: "Sunday"
20
+ },
21
+ hr: {
22
+ error: "500 Error - Internal Server Error",
23
+ loading: "Loading ...",
24
+ monday: "ponedjeljak",
25
+ tuesday: "utorak",
26
+ wednesday: "srijeda",
27
+ thursday: "četvrtak",
28
+ friday: "petak",
29
+ saturday: "subota",
30
+ sunday: "nedjelja"
31
+ },
32
+ "pt-br": {
33
+ error: "500 Error - Internal Server Error",
34
+ loading: "Loading ...",
35
+ monday: "Monday",
36
+ tuesday: "Tuesday",
37
+ wednesday: "Wednesday",
38
+ thursday: "Thursday",
39
+ friday: "Friday",
40
+ saturday: "Saturday",
41
+ sunday: "Sunday"
42
+ },
43
+ "es-mx": {
44
+ error: "500 Error - Internal Server Error",
45
+ loading: "Loading ...",
46
+ monday: "Monday",
47
+ tuesday: "Tuesday",
48
+ wednesday: "Wednesday",
49
+ thursday: "Thursday",
50
+ friday: "Friday",
51
+ saturday: "Saturday",
52
+ sunday: "Sunday"
53
+ },
54
+ tr: {
55
+ error: "500 Error - Internal Server Error",
56
+ loading: "Loading ...",
57
+ monday: "Monday",
58
+ tuesday: "Tuesday",
59
+ wednesday: "Wednesday",
60
+ thursday: "Thursday",
61
+ friday: "Friday",
62
+ saturday: "Saturday",
63
+ sunday: "Sunday"
64
+ },
65
+ "en-us": {
66
+ error: "500 Error - Internal Server Error",
67
+ loading: "Loading ...",
68
+ monday: "Monday",
69
+ tuesday: "Tuesday",
70
+ wednesday: "Wednesday",
71
+ thursday: "Thursday",
72
+ friday: "Friday",
73
+ saturday: "Saturday",
74
+ sunday: "Sunday"
75
+ }
76
+ };
77
+ function de(a) {
78
+ G(a, "svelte-g8pzdd", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{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::before{content:"";position:absolute;z-index:-1}.RingLeft::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::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::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::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{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes 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{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--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{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{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}');
79
+ }
80
+ function se(a) {
81
+ let t, n, w, s, f, _, i, g, l, x, C, b, h = (
82
+ /*$_*/
83
+ a[8](`${/*dailyday*/
84
+ a[2]}`) + ""
85
+ ), p, m, o, M, S, v, T, I, k, E, L;
86
+ return {
87
+ c() {
88
+ t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"), p = W(h), m = D(), o = c("div"), M = D(), S = c("div"), v = c("button"), T = W(
89
+ /*dailybuttontitle*/
90
+ a[3]
91
+ ), u(f, "class", "CalendarBar"), A(l.src, x = /*dailyicon*/
92
+ a[1]) || B(l, "src", x), B(
93
+ l,
94
+ "alt",
95
+ /*dailyicon*/
96
+ a[1]
97
+ ), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(v, "class", "MoreInfoButton"), u(S, "class", "CasinoCalendarDailyItemButton"), u(i, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
98
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), F(i, "background-image", "url('" + /*dailybackground*/
99
+ a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"), u(s, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(n, "class", k = "Container " + /*mobileView*/
100
+ (a[7] ? "Mobile" : ""));
101
+ },
102
+ m(d, e) {
103
+ X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, p), r(i, m), r(i, o), a[16](o), r(i, M), r(i, S), r(S, v), r(v, T), a[18](t), E || (L = Y(
104
+ v,
105
+ "click",
106
+ /*click_handler*/
107
+ a[17]
108
+ ), E = !0);
109
+ },
110
+ p(d, [e]) {
111
+ e & /*dailyicon*/
112
+ 2 && !A(l.src, x = /*dailyicon*/
113
+ d[1]) && B(l, "src", x), e & /*dailyicon*/
114
+ 2 && B(
115
+ l,
116
+ "alt",
117
+ /*dailyicon*/
118
+ d[1]
119
+ ), e & /*$_, dailyday*/
120
+ 260 && h !== (h = /*$_*/
121
+ d[8](`${/*dailyday*/
122
+ d[2]}`) + "") && O(p, h), e & /*dailybuttontitle*/
123
+ 8 && O(
124
+ T,
125
+ /*dailybuttontitle*/
126
+ d[3]
127
+ ), e & /*index*/
128
+ 16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
129
+ d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(i, "class", I), e & /*dailybackground*/
130
+ 1 && F(i, "background-image", "url('" + /*dailybackground*/
131
+ d[0] + "')"), e & /*mobileView*/
132
+ 128 && k !== (k = "Container " + /*mobileView*/
133
+ (d[7] ? "Mobile" : "")) && u(n, "class", k);
134
+ },
135
+ i: R,
136
+ o: R,
137
+ d(d) {
138
+ d && Q(t), a[16](null), a[18](null), E = !1, L();
139
+ }
140
+ };
141
+ }
142
+ function le(a, t, n) {
143
+ let w;
144
+ Z(a, re, (e) => n(8, w = e));
145
+ let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: x = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: p = "" } = t, m, o, M = !1, S = window.navigator.userAgent;
146
+ const v = () => {
147
+ oe(s);
148
+ };
149
+ Object.keys(q).forEach((e) => {
150
+ P(e, q[e]);
151
+ });
152
+ const T = () => {
153
+ let e = p;
154
+ if (e)
155
+ return fetch(e).then((z) => z.json()).then((z) => {
156
+ Object.keys(z).forEach((j) => {
157
+ P(j, z[j]);
158
+ });
159
+ }).catch((z) => {
160
+ console.log(z);
161
+ });
162
+ }, I = () => {
163
+ let e = document.createElement("div");
164
+ e.innerHTML = g, m && m.append(e);
165
+ }, k = () => {
166
+ window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
+ };
168
+ $(() => (ee(S) && n(7, M = !0), () => {
169
+ }));
170
+ function E(e) {
171
+ N[e ? "unshift" : "push"](() => {
172
+ m = e, n(6, m);
173
+ });
174
+ }
175
+ const L = () => k();
176
+ function d(e) {
177
+ N[e ? "unshift" : "push"](() => {
178
+ o = e, n(5, o);
179
+ });
180
+ }
181
+ return a.$$set = (e) => {
182
+ "lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, x = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, p = e.translationurl);
183
+ }, a.$$.update = () => {
184
+ a.$$.dirty & /*lang*/
185
+ 1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
186
+ 33792 && s && p && T(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
+ 2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
+ 8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && C && o && ie(o, `${C}.Style`);
191
+ }, [
192
+ f,
193
+ _,
194
+ i,
195
+ l,
196
+ x,
197
+ o,
198
+ m,
199
+ M,
200
+ w,
201
+ k,
202
+ s,
203
+ g,
204
+ C,
205
+ b,
206
+ h,
207
+ p,
208
+ E,
209
+ L,
210
+ d
211
+ ];
212
+ }
213
+ class ue extends J {
214
+ constructor(t) {
215
+ super(), K(
216
+ this,
217
+ t,
218
+ le,
219
+ se,
220
+ V,
221
+ {
222
+ lang: 10,
223
+ dailybackground: 0,
224
+ dailyicon: 1,
225
+ dailyday: 2,
226
+ dailydescription: 11,
227
+ dailybuttontitle: 3,
228
+ index: 4,
229
+ mbsource: 12,
230
+ clientstyling: 13,
231
+ clientstylingurl: 14,
232
+ translationurl: 15
233
+ },
234
+ de
235
+ );
236
+ }
237
+ get lang() {
238
+ return this.$$.ctx[10];
239
+ }
240
+ set lang(t) {
241
+ this.$$set({ lang: t }), y();
242
+ }
243
+ get dailybackground() {
244
+ return this.$$.ctx[0];
245
+ }
246
+ set dailybackground(t) {
247
+ this.$$set({ dailybackground: t }), y();
248
+ }
249
+ get dailyicon() {
250
+ return this.$$.ctx[1];
251
+ }
252
+ set dailyicon(t) {
253
+ this.$$set({ dailyicon: t }), y();
254
+ }
255
+ get dailyday() {
256
+ return this.$$.ctx[2];
257
+ }
258
+ set dailyday(t) {
259
+ this.$$set({ dailyday: t }), y();
260
+ }
261
+ get dailydescription() {
262
+ return this.$$.ctx[11];
263
+ }
264
+ set dailydescription(t) {
265
+ this.$$set({ dailydescription: t }), y();
266
+ }
267
+ get dailybuttontitle() {
268
+ return this.$$.ctx[3];
269
+ }
270
+ set dailybuttontitle(t) {
271
+ this.$$set({ dailybuttontitle: t }), y();
272
+ }
273
+ get index() {
274
+ return this.$$.ctx[4];
275
+ }
276
+ set index(t) {
277
+ this.$$set({ index: t }), y();
278
+ }
279
+ get mbsource() {
280
+ return this.$$.ctx[12];
281
+ }
282
+ set mbsource(t) {
283
+ this.$$set({ mbsource: t }), y();
284
+ }
285
+ get clientstyling() {
286
+ return this.$$.ctx[13];
287
+ }
288
+ set clientstyling(t) {
289
+ this.$$set({ clientstyling: t }), y();
290
+ }
291
+ get clientstylingurl() {
292
+ return this.$$.ctx[14];
293
+ }
294
+ set clientstylingurl(t) {
295
+ this.$$set({ clientstylingurl: t }), y();
296
+ }
297
+ get translationurl() {
298
+ return this.$$.ctx[15];
299
+ }
300
+ set translationurl(t) {
301
+ this.$$set({ translationurl: t }), y();
302
+ }
303
+ }
304
+ ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
305
+ export {
306
+ ue as default
307
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");function J(i,e){t.addMessages(i,e)}const K={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-Bo4dCvJT.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ae(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ie(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ne(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;function s(n,o){return n[13]||le||re?ne:n[15]?ie:ae}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",le=!1,re=!1;function ce(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:N=""}=e,{clientstyling:w=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,I,g=!0,f,y=[],d=!1,V=window.navigator.userAgent,m,B,Y=!1,S=!1;const W=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{J(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(a=>{J(a,K[a])});const X=()=>{Y==!1&&(N=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:q,href:"",games:[]}),t.tick(),Y=!0,s(26,S=!0),k()},Z=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),x=()=>{if(q=l("myGamesName"),I=l("lobbyName"),!Z()){let a=new URL(`${r}/v1/casino/groups/${n}`);a.searchParams.append("datasource",n),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(V)),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),ee=c.items.filter(H=>{let E=!1;if(H.games.total>0&&(E=!0,M))for(let te of C)H.flags==te&&(E=!1);return E});y=[],y=y.concat(ee),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},p=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},z=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,N=a.favorites),"clientstyling"in a&&s(4,w=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&x(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||N)&&!g&&X(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&p(),i.$$.dirty[0]&33554432&&v&&W(),i.$$.dirty[0]&16400&&w&&m&&t.setClientStyling(m,w),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,B=0),[u,r,n,o,w,L,F,D,O,T,R,U,G,g,m,d,B,k,P,h,b,_,N,A,M,v,S,$]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CR3NqEmo.cjs");function J(i,e){t.addMessages(i,e)}const K={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BU163_5n.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ae(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ie(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ne(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;function s(n,o){return n[13]||le||re?ne:n[15]?ie:ae}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",le=!1,re=!1;function ce(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:N=""}=e,{clientstyling:w=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,I,g=!0,f,y=[],d=!1,V=window.navigator.userAgent,m,B,Y=!1,S=!1;const W=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{J(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(a=>{J(a,K[a])});const X=()=>{Y==!1&&(N=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:q,href:"",games:[]}),t.tick(),Y=!0,s(26,S=!0),k()},Z=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),x=()=>{if(q=l("myGamesName"),I=l("lobbyName"),!Z()){let a=new URL(`${r}/v1/casino/groups/${n}`);a.searchParams.append("datasource",n),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(V)),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),ee=c.items.filter(H=>{let E=!1;if(H.games.total>0&&(E=!0,M))for(let te of C)H.flags==te&&(E=!1);return E});y=[],y=y.concat(ee),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},p=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},z=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,N=a.favorites),"clientstyling"in a&&s(4,w=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&x(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||N)&&!g&&X(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&p(),i.$$.dirty[0]&33554432&&v&&W(),i.$$.dirty[0]&16400&&w&&m&&t.setClientStyling(m,w),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,B=0),[u,r,n,o,w,L,F,D,O,T,R,U,G,g,m,d,B,k,P,h,b,_,N,A,M,v,S,$]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=Q;
@@ -1,4 +1,4 @@
1
- import { a as re, S as le, i as ce, f as l, s as me, L as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, N as be, C as de, r as T, O as n, p as he, P as Ne, M as we, I as Le, J as Me, K as _e, Q as ve } from "./CasinoCalendar-BYTytQgJ.js";
1
+ import { a as re, S as le, i as ce, f as l, s as me, M as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, O as be, C as de, r as T, E as n, p as he, P as Ne, N as we, J as Le, K as Me, L as _e, Q as ve } from "./CasinoCalendar-DoAbSivX.js";
2
2
  function Z(i, e) {
3
3
  re(i, e);
4
4
  }
@@ -88,7 +88,7 @@ if (typeof window < "u") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-DbK0-rGh.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-pPfml1-U.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
@@ -332,7 +332,7 @@ let O = "CasinoSliderData", je = !1, Pe = !1;
332
332
  function Fe(i, e, t) {
333
333
  let r;
334
334
  ye(i, we, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
336
336
  const $ = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
@@ -404,7 +404,7 @@ function Fe(i, e, t) {
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, I = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
410
  14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
@@ -421,7 +421,7 @@ function Fe(i, e, t) {
421
421
  o,
422
422
  _,
423
423
  v,
424
- R,
424
+ U,
425
425
  B,
426
426
  Y,
427
427
  q,
@@ -433,12 +433,12 @@ function Fe(i, e, t) {
433
433
  f,
434
434
  Q,
435
435
  A,
436
- I,
436
+ R,
437
437
  N,
438
438
  w,
439
439
  L,
440
440
  M,
441
- U,
441
+ I,
442
442
  C,
443
443
  G,
444
444
  F,
@@ -1,4 +1,4 @@
1
- import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, N as fe, C as be, r as T, O as n, p as de, P as he, I as Ne, J as we, K as Le, L as Me, Q as _e, M as ve } from "./CasinoCalendar-CI-C6zUY.js";
1
+ import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, O as fe, C as be, r as T, E as n, p as de, P as he, J as Ne, K as we, L as Le, M as Me, Q as _e, N as ve } from "./CasinoCalendar-m598e8c0.js";
2
2
  function Z(i, e) {
3
3
  re(i, e);
4
4
  }
@@ -88,7 +88,7 @@ if (typeof window != "undefined") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-BmXppZ63.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-CGpDul3G.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
@@ -332,7 +332,7 @@ let O = "CasinoSliderData", je = !1, Pe = !1;
332
332
  function Fe(i, e, t) {
333
333
  let r;
334
334
  ue(i, ve, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
336
336
  const $ = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
@@ -404,7 +404,7 @@ function Fe(i, e, t) {
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, I = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
410
  14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
@@ -421,7 +421,7 @@ function Fe(i, e, t) {
421
421
  o,
422
422
  _,
423
423
  v,
424
- R,
424
+ U,
425
425
  B,
426
426
  Y,
427
427
  q,
@@ -433,12 +433,12 @@ function Fe(i, e, t) {
433
433
  f,
434
434
  Q,
435
435
  A,
436
- I,
436
+ R,
437
437
  N,
438
438
  w,
439
439
  L,
440
440
  M,
441
- U,
441
+ I,
442
442
  C,
443
443
  G,
444
444
  F,