@everymatrix/casino-lobby 1.60.1 → 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 (128) hide show
  1. package/components/CasinoCalendar-CR3NqEmo.cjs +22 -0
  2. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-DoAbSivX.js} +690 -712
  3. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-m598e8c0.js} +696 -718
  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-BqUXbvm-.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-DE0uzQfF.js} +68 -68
  12. package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DW81y1el.js} +69 -69
  13. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-CkxoIQMQ.js} +205 -203
  14. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-FTsSIZe7.js} +161 -160
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-CKWkFYb4.js} +26 -26
  17. package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-MnxoGd6P.js} +26 -26
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/CasinoFilter-Cs9ZMDdP.js +633 -0
  21. package/components/CasinoFilter-D80YfaXW.js +632 -0
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-B8-ifO-z.js} +898 -897
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-CLMVY2d0.js} +972 -971
  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-CYKXSIYS.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-CIfBLzjC.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-o-CZJ4iD.js} +247 -247
  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-B64b2eJF.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-BPD5poPp.js} +44 -44
  36. package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-Dxbzb-4o.js} +44 -44
  37. package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-6kkVRa0v.js} +54 -54
  38. package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Bntp7e5i.js} +56 -56
  40. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-QtSV_GhN.js} +37 -37
  42. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-bTxbu9d4.js} +37 -37
  43. package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-B9_yeLMk.js} +49 -49
  44. package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-D-VpqDyh.js} +49 -49
  45. package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-BEUz5puH.js} +46 -46
  47. package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-BQtk1EEq.js} +49 -49
  48. package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-CiONVvV8.js} +85 -85
  51. package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-DOSD686t.js} +93 -93
  52. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DQXmOLue.js} +157 -156
  55. package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-CTxffz7Z.js} +65 -65
  56. package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-DTglx2jN.js} +65 -65
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-CGpDul3G.js} +221 -220
  60. package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-pPfml1-U.js} +166 -165
  61. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-BSaxbC32.js} +110 -111
  62. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DGdM4QXv.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-BwwKfUuN.js} +176 -175
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-i5RqXY4N.js} +185 -184
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-BszAoL3H.js} +18 -18
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Xq-D41Fg.js} +18 -18
  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-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
  77. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
  78. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  80. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  81. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  82. package/stencil/index-b2193545-CGYrx6SV.js +503 -0
  83. package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
  84. package/stencil/index-b2193545-k_uiu1dU.js +519 -0
  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-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  101. package/components/CasinoCalendarDailyDetails-CAbwFBvZ.js +0 -693
  102. package/components/CasinoCalendarDailyDetails-CGaAU2gc.js +0 -693
  103. package/components/CasinoCalendarDailyDetails-CsEZhtVE.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-5aqnKIMr.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DSlC0F3s.cjs +0 -1
  106. package/components/CasinoCalendarDailyItem-D_MTrKed.js +0 -306
  107. package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
  108. package/components/CasinoCollectionsProviders-B6occ8TF.cjs +0 -1
  109. package/components/CasinoFilter-BTof425X.js +0 -632
  110. package/components/CasinoFilter-BWjq7W1e.js +0 -631
  111. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  112. package/components/CasinoGamePage-D2huRBJX.cjs +0 -18
  113. package/components/CasinoGameThumbnail-CrrXNmw1.js +0 -1882
  114. package/components/CasinoGameThumbnail-Dq26TPSU.cjs +0 -38
  115. package/components/CasinoGameThumbnail-GBvTkmL8.js +0 -1866
  116. package/components/CasinoJackpotBanner-CuP8WP5Q.js +0 -697
  117. package/components/CasinoJackpotBanner-Dl2rX6vI.js +0 -693
  118. package/components/CasinoJackpotBanner-DredUN6K.cjs +0 -1
  119. package/components/CasinoRandomGame-CBcSHzZL.cjs +0 -2
  120. package/components/CasinoSlider-BsszznrS.cjs +0 -1
  121. package/components/CasinoWinners-Cp1yMlzb.cjs +0 -1
  122. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  123. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  124. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  125. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  126. package/stencil/index-b2193545-BDVBrmNo.js +0 -503
  127. package/stencil/index-b2193545-CY979_sp.js +0 -519
  128. package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
@@ -1,32 +1,33 @@
1
- var H = (a, e, t) => new Promise((n, l) => {
2
- var r = (g) => {
1
+ var O = (a, e, t) => new Promise((n, l) => {
2
+ var r = (u) => {
3
3
  try {
4
- p(t.next(g));
5
- } catch (f) {
6
- l(f);
4
+ f(t.next(u));
5
+ } catch (g) {
6
+ l(g);
7
7
  }
8
- }, d = (g) => {
8
+ }, d = (u) => {
9
9
  try {
10
- p(t.throw(g));
11
- } catch (f) {
12
- l(f);
10
+ f(t.throw(u));
11
+ } catch (g) {
12
+ l(g);
13
13
  }
14
- }, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, d);
15
- p((t = t.apply(a, e)).next());
14
+ }, f = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(r, d);
15
+ f((t = t.apply(a, e)).next());
16
16
  });
17
- import { $ as O, U as we, a as _e, S as Ge, i as Re, f as v, c as xe, s as ke, b as ve, e as w, w as F, y as u, d as x, z as h, A as D, h as J, t as U, g as Me, j as k, k as Ce, o as Fe, l as Le, u as Se, B as Te, C as We, D as je, n as Ne, O as ze, q as Y, r as Be, m as Ie, J as X, G as Je, x as L, E as S, v as Z, F as De, H as K, I as Pe, N as Ae, R as He } from "./CasinoCalendar-6ncpIgng.js";
18
- function Oe({ withLocale: a, translations: e }) {
19
- O.subscribe((t) => {
20
- t == null && (we.set(e), O.set(a));
17
+ import { $ as U, U as we, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, t as E, c as D, g as Me, e as Ce, h as k, p as h, A as P, j as _, B as F, r as p, k as Fe, o as Le, u as Se, x as Te, y as We, z as je, O as Ne, C as K, n as ze, F as Q, m as S, q as T, Q as Be, v as X, w as Ie, D as Z, E as L, R as Je, J as De, K as Pe, L as Ae, M as He, N as Oe } from "./CasinoCalendar-m598e8c0.js";
18
+ import "../stencil/ui-image-CV8AJ9cY.js";
19
+ function Ue({ withLocale: a, translations: e }) {
20
+ U.subscribe((t) => {
21
+ t == null && (we.set(e), U.set(a));
21
22
  });
22
23
  }
23
- function Q(a, e) {
24
- _e(a, e);
24
+ function $(a, e) {
25
+ Ge(a, e);
25
26
  }
26
- function Ue(a) {
27
- O.set(a);
27
+ function Ee(a) {
28
+ U.set(a);
28
29
  }
29
- const $ = {
30
+ const ee = {
30
31
  en: {
31
32
  playRandomGame: "Play a random game",
32
33
  randomGameLoading: "Selecting ...",
@@ -100,39 +101,39 @@ const $ = {
100
101
  noGames: "There are no random games to play"
101
102
  }
102
103
  };
103
- function Ee(a) {
104
+ function qe(a) {
104
105
  ve(a, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
105
106
  }
106
- function ee(a, e, t) {
107
+ function te(a, e, t) {
107
108
  const n = a.slice();
108
109
  return n[41] = e[t], n;
109
110
  }
110
- const qe = (a) => ({}), te = (a) => ({});
111
- function ae(a) {
112
- let e, t, n, l, r, d, p;
113
- const g = (
111
+ const Ve = (a) => ({}), ae = (a) => ({});
112
+ function ne(a) {
113
+ let e, t, n, l, r, d, f;
114
+ const u = (
114
115
  /*#slots*/
115
116
  a[23].close
116
- ), f = Se(
117
- g,
117
+ ), g = Se(
118
+ u,
118
119
  a,
119
120
  /*$$scope*/
120
121
  a[22],
121
- te
122
- ), o = f || Ve();
123
- function _(s, b) {
122
+ ae
123
+ ), o = g || Ye();
124
+ function w(s, b) {
124
125
  return (
125
126
  /*hasRandomGames*/
126
- s[7] ? Xe : Ye
127
+ s[7] ? Qe : Ke
127
128
  );
128
129
  }
129
- let m = _(a), c = m(a);
130
+ let m = w(a), c = m(a);
130
131
  return {
131
132
  c() {
132
- e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = F(), c.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
133
+ e = _("div"), t = _("div"), n = _("span"), o && o.c(), l = F(), c.c(), p(n, "class", "ModalCloseBtn"), p(n, "role", "button"), p(t, "class", "ModalContainer"), p(e, "class", "ModalWindow");
133
134
  },
134
135
  m(s, b) {
135
- x(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), r = !0, d || (p = D(
136
+ k(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), r = !0, d || (f = P(
136
137
  n,
137
138
  "click",
138
139
  /*closeModal*/
@@ -140,63 +141,63 @@ function ae(a) {
140
141
  ), d = !0);
141
142
  },
142
143
  p(s, b) {
143
- f && f.p && (!r || b[0] & /*$$scope*/
144
+ g && g.p && (!r || b[0] & /*$$scope*/
144
145
  4194304) && Te(
145
- f,
146
146
  g,
147
+ u,
147
148
  s,
148
149
  /*$$scope*/
149
150
  s[22],
150
151
  r ? je(
151
- g,
152
+ u,
152
153
  /*$$scope*/
153
154
  s[22],
154
155
  b,
155
- qe
156
+ Ve
156
157
  ) : We(
157
158
  /*$$scope*/
158
159
  s[22]
159
160
  ),
160
- te
161
- ), m === (m = _(s)) && c ? c.p(s, b) : (c.d(1), c = m(s), c && (c.c(), c.m(t, null)));
161
+ ae
162
+ ), m === (m = w(s)) && c ? c.p(s, b) : (c.d(1), c = m(s), c && (c.c(), c.m(t, null)));
162
163
  },
163
164
  i(s) {
164
- r || (J(o, s), r = !0);
165
+ r || (D(o, s), r = !0);
165
166
  },
166
167
  o(s) {
167
- U(o, s), r = !1;
168
+ E(o, s), r = !1;
168
169
  },
169
170
  d(s) {
170
- s && k(e), o && o.d(s), c.d(), d = !1, p();
171
+ s && x(e), o && o.d(s), c.d(), d = !1, f();
171
172
  }
172
173
  };
173
174
  }
174
- function Ve(a) {
175
+ function Ye(a) {
175
176
  let e, t;
176
177
  return {
177
178
  c() {
178
- e = X("svg"), t = X("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
179
+ e = Q("svg"), t = Q("path"), p(t, "stroke-linecap", "round"), p(t, "stroke-linejoin", "round"), p(t, "stroke-width", "2"), p(t, "d", "M6 18L18 6M6 6l12 12"), p(e, "class", "w-6 h-6"), p(e, "fill", "none"), p(e, "stroke", "currentColor"), p(e, "viewBox", "0 0 24 24"), p(e, "xmlns", "http://www.w3.org/2000/svg");
179
180
  },
180
181
  m(n, l) {
181
- x(n, e, l), h(e, t);
182
+ k(n, e, l), h(e, t);
182
183
  },
183
- p: Je,
184
+ p: ze,
184
185
  d(n) {
185
- n && k(e);
186
+ n && x(e);
186
187
  }
187
188
  };
188
189
  }
189
- function Ye(a) {
190
+ function Ke(a) {
190
191
  let e, t = (
191
192
  /*$_*/
192
193
  a[9]("noGames") + ""
193
194
  ), n;
194
195
  return {
195
196
  c() {
196
- e = w("p"), n = L(t), u(e, "class", "RandomGameLoading");
197
+ e = _("p"), n = T(t), p(e, "class", "RandomGameLoading");
197
198
  },
198
199
  m(l, r) {
199
- x(l, e, r), h(e, n);
200
+ k(l, e, r), h(e, n);
200
201
  },
201
202
  p(l, r) {
202
203
  r[0] & /*$_*/
@@ -204,97 +205,97 @@ function Ye(a) {
204
205
  l[9]("noGames") + "") && S(n, t);
205
206
  },
206
207
  d(l) {
207
- l && k(e);
208
+ l && x(e);
208
209
  }
209
210
  };
210
211
  }
211
- function Xe(a) {
212
- let e, t, n, l, r = Z(
212
+ function Qe(a) {
213
+ let e, t, n, l, r = X(
213
214
  /*gamesToShow*/
214
215
  a[4]
215
216
  ), d = [];
216
217
  for (let o = 0; o < r.length; o += 1)
217
- d[o] = ne(ee(a, r, o));
218
- function p(o, _) {
218
+ d[o] = oe(te(a, r, o));
219
+ function f(o, w) {
219
220
  return (
220
221
  /*animationDone*/
221
- o[6] ? Ke : Ze
222
+ o[6] ? Ze : Xe
222
223
  );
223
224
  }
224
- let g = p(a), f = g(a);
225
+ let u = f(a), g = u(a);
225
226
  return {
226
227
  c() {
227
- e = w("div"), t = w("main"), n = w("div");
228
+ e = _("div"), t = _("main"), n = _("div");
228
229
  for (let o = 0; o < d.length; o += 1)
229
230
  d[o].c();
230
- l = F(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
231
+ l = F(), g.c(), p(n, "class", "GamesContainer"), p(t, "class", "RandomGamesSliderWrapper"), p(e, "class", "RandomGameWrapper");
231
232
  },
232
- m(o, _) {
233
- x(o, e, _), h(e, t), h(t, n);
233
+ m(o, w) {
234
+ k(o, e, w), h(e, t), h(t, n);
234
235
  for (let m = 0; m < d.length; m += 1)
235
236
  d[m] && d[m].m(n, null);
236
- a[24](n), h(e, l), f.m(e, null);
237
+ a[24](n), h(e, l), g.m(e, null);
237
238
  },
238
- p(o, _) {
239
- if (_[0] & /*gamesToShow*/
239
+ p(o, w) {
240
+ if (w[0] & /*gamesToShow*/
240
241
  16) {
241
- r = Z(
242
+ r = X(
242
243
  /*gamesToShow*/
243
244
  o[4]
244
245
  );
245
246
  let m;
246
247
  for (m = 0; m < r.length; m += 1) {
247
- const c = ee(o, r, m);
248
- d[m] ? d[m].p(c, _) : (d[m] = ne(c), d[m].c(), d[m].m(n, null));
248
+ const c = te(o, r, m);
249
+ d[m] ? d[m].p(c, w) : (d[m] = oe(c), d[m].c(), d[m].m(n, null));
249
250
  }
250
251
  for (; m < d.length; m += 1)
251
252
  d[m].d(1);
252
253
  d.length = r.length;
253
254
  }
254
- g === (g = p(o)) && f ? f.p(o, _) : (f.d(1), f = g(o), f && (f.c(), f.m(e, null)));
255
+ u === (u = f(o)) && g ? g.p(o, w) : (g.d(1), g = u(o), g && (g.c(), g.m(e, null)));
255
256
  },
256
257
  d(o) {
257
- o && k(e), De(d, o), a[24](null), f.d();
258
+ o && x(e), Ie(d, o), a[24](null), g.d();
258
259
  }
259
260
  };
260
261
  }
261
- function ne(a) {
262
+ function oe(a) {
262
263
  let e, t, n, l, r, d;
263
264
  return {
264
265
  c() {
265
- e = w("div"), t = w("img"), d = F(), u(t, "class", "RandomGameImage"), K(t.src, n = /*game*/
266
- a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
267
- a[41].name), u(t, "title", r = /*game*/
268
- a[41].name), u(e, "class", "item");
269
- },
270
- m(p, g) {
271
- x(p, e, g), h(e, t), h(e, d);
272
- },
273
- p(p, g) {
274
- g[0] & /*gamesToShow*/
275
- 16 && !K(t.src, n = /*game*/
276
- p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
266
+ e = _("div"), t = _("ui-image"), d = F(), L(t, "imgClass", "RandomGameImage"), Z(t.src, n = /*game*/
267
+ a[41].thumbnail) || L(t, "src", n), L(t, "alt", l = /*game*/
268
+ a[41].name), L(t, "title", r = /*game*/
269
+ a[41].name), p(e, "class", "item");
270
+ },
271
+ m(f, u) {
272
+ k(f, e, u), h(e, t), h(e, d);
273
+ },
274
+ p(f, u) {
275
+ u[0] & /*gamesToShow*/
276
+ 16 && !Z(t.src, n = /*game*/
277
+ f[41].thumbnail) && L(t, "src", n), u[0] & /*gamesToShow*/
277
278
  16 && l !== (l = /*game*/
278
- p[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
279
+ f[41].name) && L(t, "alt", l), u[0] & /*gamesToShow*/
279
280
  16 && r !== (r = /*game*/
280
- p[41].name) && u(t, "title", r);
281
+ f[41].name) && L(t, "title", r);
281
282
  },
282
- d(p) {
283
- p && k(e);
283
+ d(f) {
284
+ f && x(e);
284
285
  }
285
286
  };
286
287
  }
287
- function Ze(a) {
288
+ function Xe(a) {
288
289
  let e, t = (
289
290
  /*$_*/
290
291
  a[9]("randomGameLoading") + ""
291
292
  ), n;
292
293
  return {
293
294
  c() {
294
- e = w("p"), n = L(t), u(e, "class", "RandomGameLoading");
295
+ e = _("p"), n = T(t), p(e, "class", "RandomGameLoading");
295
296
  },
296
297
  m(l, r) {
297
- x(l, e, r), h(e, n);
298
+ k(l, e, r), h(e, n);
298
299
  },
299
300
  p(l, r) {
300
301
  r[0] & /*$_*/
@@ -302,35 +303,35 @@ function Ze(a) {
302
303
  l[9]("randomGameLoading") + "") && S(n, t);
303
304
  },
304
305
  d(l) {
305
- l && k(e);
306
+ l && x(e);
306
307
  }
307
308
  };
308
309
  }
309
- function Ke(a) {
310
+ function Ze(a) {
310
311
  let e, t, n, l, r = (
311
312
  /*randomGame*/
312
313
  a[3].name + ""
313
- ), d, p, g, f = (
314
+ ), d, f, u, g = (
314
315
  /*randomGame*/
315
316
  a[3].vendor.name + ""
316
- ), o, _, m, c = (
317
+ ), o, w, m, c = (
317
318
  /*$_*/
318
319
  a[9]("playNowRandomGame") + ""
319
- ), s, b, T;
320
+ ), s, b, W;
320
321
  return {
321
322
  c() {
322
- e = w("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
323
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = F(), n = w("div"), l = w("p"), d = L(r), p = F(), g = w("p"), o = L(f), _ = F(), m = w("button"), s = L(c), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
323
+ e = _("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
324
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = F(), n = _("div"), l = _("p"), d = T(r), f = F(), u = _("p"), o = T(g), w = F(), m = _("button"), s = T(c), p(e, "class", "RandomTryAgain"), p(l, "class", "RandomGameTitle"), p(u, "class", "RandomGameVendor"), p(m, "class", "RandomGamePlay"), p(n, "class", "RandomGameDetails");
324
325
  },
325
326
  m(R, G) {
326
- x(R, e, G), x(R, t, G), x(R, n, G), h(n, l), h(l, d), h(n, p), h(n, g), h(g, o), h(n, _), h(n, m), h(m, s), b || (T = [
327
- D(
327
+ k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, d), h(n, f), h(n, u), h(u, o), h(n, w), h(n, m), h(m, s), b || (W = [
328
+ P(
328
329
  e,
329
330
  "click",
330
331
  /*click_handler*/
331
332
  a[25]
332
333
  ),
333
- D(
334
+ P(
334
335
  m,
335
336
  "click",
336
337
  /*click_handler_1*/
@@ -342,27 +343,27 @@ function Ke(a) {
342
343
  G[0] & /*randomGame*/
343
344
  8 && r !== (r = /*randomGame*/
344
345
  R[3].name + "") && S(d, r), G[0] & /*randomGame*/
345
- 8 && f !== (f = /*randomGame*/
346
- R[3].vendor.name + "") && S(o, f), G[0] & /*$_*/
346
+ 8 && g !== (g = /*randomGame*/
347
+ R[3].vendor.name + "") && S(o, g), G[0] & /*$_*/
347
348
  512 && c !== (c = /*$_*/
348
349
  R[9]("playNowRandomGame") + "") && S(s, c);
349
350
  },
350
351
  d(R) {
351
- R && (k(e), k(t), k(n)), b = !1, He(T);
352
+ R && (x(e), x(t), x(n)), b = !1, Je(W);
352
353
  }
353
354
  };
354
355
  }
355
- function Qe(a) {
356
+ function $e(a) {
356
357
  let e, t = (
357
358
  /*$_*/
358
359
  a[9]("playRandomGame") + ""
359
360
  ), n;
360
361
  return {
361
362
  c() {
362
- e = w("span"), n = L(t), u(e, "class", "RandomButtonText");
363
+ e = _("span"), n = T(t), p(e, "class", "RandomButtonText");
363
364
  },
364
365
  m(l, r) {
365
- x(l, e, r), h(e, n);
366
+ k(l, e, r), h(e, n);
366
367
  },
367
368
  p(l, r) {
368
369
  r[0] & /*$_*/
@@ -370,21 +371,21 @@ function Qe(a) {
370
371
  l[9]("playRandomGame") + "") && S(n, t);
371
372
  },
372
373
  d(l) {
373
- l && k(e);
374
+ l && x(e);
374
375
  }
375
376
  };
376
377
  }
377
- function $e(a) {
378
+ function et(a) {
378
379
  let e, t;
379
380
  return {
380
381
  c() {
381
- e = w("span"), t = L(
382
+ e = _("span"), t = T(
382
383
  /*buttontext*/
383
384
  a[1]
384
- ), u(e, "class", "RandomButtonText");
385
+ ), p(e, "class", "RandomButtonText");
385
386
  },
386
387
  m(n, l) {
387
- x(n, e, l), h(e, t);
388
+ k(n, e, l), h(e, t);
388
389
  },
389
390
  p(n, l) {
390
391
  l[0] & /*buttontext*/
@@ -395,188 +396,188 @@ function $e(a) {
395
396
  );
396
397
  },
397
398
  d(n) {
398
- n && k(e);
399
+ n && x(e);
399
400
  }
400
401
  };
401
402
  }
402
- function et(a) {
403
- let e, t, n, l, r, d, p, g, f, o = (
403
+ function tt(a) {
404
+ let e, t, n, l, r, d, f, u, g, o = (
404
405
  /*show*/
405
- a[5] && ae(a)
406
+ a[5] && ne(a)
406
407
  );
407
- function _(s, b) {
408
+ function w(s, b) {
408
409
  if (
409
410
  /*buttontext*/
410
411
  s[1]
411
412
  )
412
- return $e;
413
+ return et;
413
414
  if (!/*buttontext*/
414
415
  s[1])
415
- return Qe;
416
+ return $e;
416
417
  }
417
- let m = _(a), c = m && m(a);
418
+ let m = w(a), c = m && m(a);
418
419
  return {
419
420
  c() {
420
- e = w("div"), o && o.c(), t = F(), n = w("div"), l = w("button"), c && c.c(), r = F(), d = w("span"), u(d, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
421
+ e = _("div"), o && o.c(), t = F(), n = _("div"), l = _("button"), c && c.c(), r = F(), d = _("span"), p(d, "class", "RandomButtonIcon"), p(l, "class", "RandomButton"), p(n, "class", "RandomButtonWrapper");
421
422
  },
422
423
  m(s, b) {
423
- x(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), c && c.m(l, null), h(l, r), h(l, d), d.innerHTML = /*randombuttonicon*/
424
- a[0], a[28](e), p = !0, g || (f = D(
424
+ k(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), c && c.m(l, null), h(l, r), h(l, d), d.innerHTML = /*randombuttonicon*/
425
+ a[0], a[28](e), f = !0, u || (g = P(
425
426
  l,
426
427
  "click",
427
428
  /*click_handler_2*/
428
429
  a[27]
429
- ), g = !0);
430
+ ), u = !0);
430
431
  },
431
432
  p(s, b) {
432
433
  /*show*/
433
434
  s[5] ? o ? (o.p(s, b), b[0] & /*show*/
434
- 32 && J(o, 1)) : (o = ae(s), o.c(), J(o, 1), o.m(e, t)) : o && (Ne(), U(o, 1, 1, () => {
435
+ 32 && D(o, 1)) : (o = ne(s), o.c(), D(o, 1), o.m(e, t)) : o && (Me(), E(o, 1, 1, () => {
435
436
  o = null;
436
- }), Me()), m === (m = _(s)) && c ? c.p(s, b) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(l, r))), (!p || b[0] & /*randombuttonicon*/
437
+ }), Ce()), m === (m = w(s)) && c ? c.p(s, b) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(l, r))), (!f || b[0] & /*randombuttonicon*/
437
438
  1) && (d.innerHTML = /*randombuttonicon*/
438
439
  s[0]);
439
440
  },
440
441
  i(s) {
441
- p || (J(o), p = !0);
442
+ f || (D(o), f = !0);
442
443
  },
443
444
  o(s) {
444
- U(o), p = !1;
445
+ E(o), f = !1;
445
446
  },
446
447
  d(s) {
447
- s && k(e), o && o.d(), c && c.d(), a[28](null), g = !1, f();
448
+ s && x(e), o && o.d(), c && c.d(), a[28](null), u = !1, g();
448
449
  }
449
450
  };
450
451
  }
451
- function tt(a, e, t) {
452
+ function at(a, e, t) {
452
453
  let n;
453
- Ce(a, Pe, (i) => t(9, n = i));
454
- let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: p = "" } = e, { gameevent: g = "" } = e, { lang: f = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: T } = e, R = [], G = "", W, N = !1, P = !1, B = !1, oe = window.navigator.userAgent, M, j, E, I, q = null;
455
- Oe({ withLocale: "en", translations: {} });
456
- const le = () => {
454
+ Fe(a, Oe, (i) => t(9, n = i));
455
+ let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: f = "" } = e, { gameevent: u = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: w = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", j, z = !1, A = !1, I = !1, le = window.navigator.userAgent, M, N, q, J, V = null;
456
+ Ue({ withLocale: "en", translations: {} });
457
+ const ie = () => {
457
458
  fetch(m).then((y) => y.json()).then((y) => {
458
459
  Object.keys(y).forEach((C) => {
459
- Q(C, y[C]);
460
+ $(C, y[C]);
460
461
  });
461
462
  }).catch((y) => {
462
463
  console.log(y);
463
464
  });
464
465
  };
465
- Object.keys($).forEach((i) => {
466
- Q(i, $[i]);
466
+ Object.keys(ee).forEach((i) => {
467
+ $(i, ee[i]);
467
468
  });
468
- const ie = () => {
469
+ const re = () => {
469
470
  let i = new URL(`${d}/v1/casino/games`);
470
- i.searchParams.append("platform", ze(oe)), i.searchParams.append("datasource", p), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
471
- R = y.items, R.length ? (t(4, W = re(R.slice(0, 19))), t(7, B = !0)) : (t(4, W = []), t(7, B = !1));
471
+ i.searchParams.append("platform", Ne(le)), i.searchParams.append("datasource", f), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
472
+ R = y.items, R.length ? (t(4, j = se(R.slice(0, 19))), t(7, I = !0)) : (t(4, j = []), t(7, I = !1));
472
473
  }).catch((y) => {
473
- console.log(y), t(7, B = !1);
474
+ console.log(y), t(7, I = !1);
474
475
  });
475
- }, re = (i) => {
476
- const y = me(i);
476
+ }, se = (i) => {
477
+ const y = de(i);
477
478
  return y.concat(y);
478
- }, se = () => H(this, null, function* () {
479
- yield Ae(), I = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[I]), E = j.children[I];
480
- }), A = () => H(this, null, function* () {
481
- t(6, P = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield se();
482
- const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, z = (E.offsetHeight + y) * I, ye = [
479
+ }, me = () => O(this, null, function* () {
480
+ yield Be(), J = Math.floor(Math.random() * (j.length / 2)) + j.length / 2, t(3, G = j[J]), q = N.children[J];
481
+ }), H = () => O(this, null, function* () {
482
+ t(6, A = !1), t(5, z = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield me();
483
+ const i = window.getComputedStyle(N).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (q.offsetHeight + y) * J, be = [
483
484
  { transform: "translateX(0px)" },
484
485
  { filter: "blur(5px)" },
485
486
  {
486
- transform: `translateY(-${z}px)`
487
+ transform: `translateY(-${B}px)`
487
488
  }
488
- ], be = {
489
+ ], _e = {
489
490
  duration: 2e3,
490
491
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
491
492
  fill: "forwards"
492
493
  };
493
- q = j.animate(ye, be), q.onfinish = () => {
494
- t(6, P = !0);
494
+ V = N.animate(be, _e), V.onfinish = () => {
495
+ t(6, A = !0);
495
496
  };
496
- }), me = (i) => {
497
+ }), de = (i) => {
497
498
  const y = structuredClone(i);
498
- let C = y.length, z;
499
+ let C = y.length, B;
499
500
  for (; C != 0; )
500
- z = Math.floor(Math.random() * C), C--, [y[C], y[z]] = [y[z], y[C]];
501
+ B = Math.floor(Math.random() * C), C--, [y[C], y[B]] = [y[B], y[C]];
501
502
  return y;
502
- }, V = () => {
503
+ }, Y = () => {
503
504
  window.postMessage(
504
505
  {
505
- type: g,
506
+ type: u,
506
507
  gameId: G.gId || G.id
507
508
  },
508
509
  window.location.href
509
- ), t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
510
+ ), t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
510
511
  context: "RandomGameWidget",
511
512
  gameId: `${G.gId || G.id}`
512
513
  });
513
- }, de = () => {
514
- t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
515
514
  }, ce = () => {
516
- Ue(f);
515
+ t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: z }, window.location.href);
516
+ }, ue = () => {
517
+ Ee(g);
517
518
  };
518
- Fe(() => () => {
519
+ Le(() => () => {
519
520
  });
520
- function ue(i) {
521
- Y[i ? "unshift" : "push"](() => {
522
- j = i, t(8, j);
521
+ function ge(i) {
522
+ K[i ? "unshift" : "push"](() => {
523
+ N = i, t(8, N);
523
524
  });
524
525
  }
525
- const ge = () => A(), fe = () => V(), pe = () => A();
526
- function he(i) {
527
- Y[i ? "unshift" : "push"](() => {
526
+ const fe = () => H(), pe = () => Y(), he = () => H();
527
+ function ye(i) {
528
+ K[i ? "unshift" : "push"](() => {
528
529
  M = i, t(2, M);
529
530
  });
530
531
  }
531
532
  return a.$$set = (i) => {
532
- "endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, p = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, f = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, T = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
533
+ "endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, u = i.gameevent), "lang" in i && t(16, g = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, w = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
533
534
  }, a.$$.update = () => {
534
535
  a.$$.dirty[0] & /*lang*/
535
- 65536 && f && ce(), a.$$.dirty[0] & /*translationurl*/
536
- 131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
537
- 24576 && d && p && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
538
- 262148 && c && M && Be(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
539
- 524292 && s && M && Le(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
540
- 2097156 && M && Ie(M, `${T}.Style`);
536
+ 65536 && g && ue(), a.$$.dirty[0] & /*translationurl*/
537
+ 131072 && m && ie(), a.$$.dirty[0] & /*endpoint, datasource*/
538
+ 24576 && d && f && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
539
+ 262148 && c && M && De(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
540
+ 524292 && s && M && Pe(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
541
+ 2097156 && M && Ae(M, `${W}.Style`);
541
542
  }, [
542
543
  o,
543
- _,
544
+ w,
544
545
  M,
545
546
  G,
546
- W,
547
- N,
548
- P,
549
- B,
550
547
  j,
551
- n,
548
+ z,
552
549
  A,
553
- V,
554
- de,
550
+ I,
551
+ N,
552
+ n,
553
+ H,
554
+ Y,
555
+ ce,
555
556
  d,
556
- p,
557
- g,
558
557
  f,
558
+ u,
559
+ g,
559
560
  m,
560
561
  c,
561
562
  s,
562
563
  b,
563
- T,
564
+ W,
564
565
  r,
565
566
  l,
566
- ue,
567
567
  ge,
568
568
  fe,
569
569
  pe,
570
- he
570
+ he,
571
+ ye
571
572
  ];
572
573
  }
573
- class at extends Ge {
574
+ class nt extends Re {
574
575
  constructor(e) {
575
- super(), Re(
576
+ super(), xe(
576
577
  this,
577
578
  e,
579
+ at,
578
580
  tt,
579
- et,
580
581
  ke,
581
582
  {
582
583
  endpoint: 13,
@@ -591,7 +592,7 @@ class at extends Ge {
591
592
  filteredrandomgamecategories: 20,
592
593
  mbsource: 21
593
594
  },
594
- Ee,
595
+ qe,
595
596
  [-1, -1]
596
597
  );
597
598
  }
@@ -662,7 +663,7 @@ class at extends Ge {
662
663
  this.$$set({ mbsource: e }), v();
663
664
  }
664
665
  }
665
- xe(at, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
666
+ He(nt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
666
667
  export {
667
- at as default
668
+ nt as default
668
669
  };