@everymatrix/casino-page 1.60.2 → 1.61.1

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 (103) hide show
  1. package/components/{CasinoCalendar-DEC4kbu7.cjs → CasinoCalendar-BEwHkg9Z.cjs} +5 -5
  2. package/components/{CasinoCalendar-DNaLXH6n.js → CasinoCalendar-BsK87bVb.js} +271 -265
  3. package/components/{CasinoCalendar-Ckt1PYIP.js → CasinoCalendar-C2Yc3sSK.js} +271 -265
  4. package/components/CasinoCalendarDailyDetails-BR-MLlt8.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-CnooCl7b.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-IPdibvfl.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-5wfflspQ.js +307 -0
  8. package/components/CasinoCalendarDailyItem-C8h665gX.cjs +1 -0
  9. package/components/CasinoCalendarDailyItem-CB-0OpYL.js +307 -0
  10. package/components/{CasinoCollectionsProviders-GaeLz6Pl.js → CasinoCollectionsProviders-4DyU9VgU.js} +178 -177
  11. package/components/{CasinoCollectionsProviders-CMFOwKOw.js → CasinoCollectionsProviders-DTK16vnY.js} +189 -188
  12. package/components/CasinoCollectionsProviders-u4eeC1UZ.cjs +1 -0
  13. package/components/{CasinoFavoritesSection-CkE51xeT.cjs → CasinoFavoritesSection-CQszWveq.cjs} +1 -1
  14. package/components/{CasinoFavoritesSection-CfVT3epR.js → CasinoFavoritesSection-Cjhmgd9O.js} +18 -18
  15. package/components/{CasinoFavoritesSection-DPSiSNGk.js → CasinoFavoritesSection-DND5I8Rj.js} +18 -18
  16. package/components/CasinoFilter-BNn_67vk.cjs +1 -0
  17. package/components/{CasinoFilter-Cf6wLS_J.js → CasinoFilter-Dx28hLZ5.js} +96 -94
  18. package/components/{CasinoFilter-DT_mfIxJ.js → CasinoFilter-QAgAg3dZ.js} +50 -50
  19. package/components/CasinoGameThumbnail-BzlOvI7T.js +3592 -0
  20. package/components/CasinoGameThumbnail-DogGf_qZ.cjs +39 -0
  21. package/components/CasinoGameThumbnail-i_FhatOV.js +3608 -0
  22. package/components/CasinoGamesCategorySection-DLeJwzA5.cjs +1 -0
  23. package/components/{CasinoGamesCategorySection-DkGmDHac.js → CasinoGamesCategorySection-DaWFDzDy.js} +742 -673
  24. package/components/{CasinoGamesCategorySection-DGSWlFTH.js → CasinoGamesCategorySection-Dx7tElod.js} +1180 -1110
  25. package/components/CasinoJackpotBanner-B7IHrsS2.js +698 -0
  26. package/components/CasinoJackpotBanner-BMuTyqgP.js +694 -0
  27. package/components/CasinoJackpotBanner-Bpr0u9EJ.cjs +1 -0
  28. package/components/{CasinoLastPlayedSection-BbNJh01t.js → CasinoLastPlayedSection-Dv3wNKjP.js} +15 -15
  29. package/components/{CasinoLastPlayedSection-AVoAf4mv.cjs → CasinoLastPlayedSection-_YyOdoWw.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-C_j3LPmT.js → CasinoLastPlayedSection-x3iXX4_l.js} +15 -15
  31. package/components/{CasinoMostPlayedSection-DDmHLMWJ.cjs → CasinoMostPlayedSection-BJiX6NZy.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSection-BlPs8slF.js → CasinoMostPlayedSection-DHLgbotW.js} +18 -18
  33. package/components/{CasinoMostPlayedSection-rBy5-Jnu.js → CasinoMostPlayedSection-DHaullZI.js} +18 -18
  34. package/components/{CasinoMyGames-D9v6VO98.cjs → CasinoMyGames-7Y0uAToz.cjs} +1 -1
  35. package/components/{CasinoMyGames-Da7YFLZB.js → CasinoMyGames-B-9cQCI8.js} +7 -7
  36. package/components/{CasinoMyGames-BTb99mJz.js → CasinoMyGames-BscmWEDV.js} +8 -8
  37. package/components/{CasinoPage-S9SAAOBP.js → CasinoPage-BJkYAaO8.js} +1023 -881
  38. package/components/CasinoPage-BglTvlXo.cjs +1 -0
  39. package/components/{CasinoPage-8NYVpmeY.js → CasinoPage-DZQp-0uU.js} +1002 -844
  40. package/components/{CasinoRandomGame-FAQztl67.js → CasinoRandomGame-C9kB5_og.js} +180 -179
  41. package/components/CasinoRandomGame-CSI8B4dX.cjs +2 -0
  42. package/components/{CasinoRandomGame-CTVNBAys.js → CasinoRandomGame-DbfP3QYh.js} +138 -137
  43. package/components/{CasinoSearch-C5VwVBaf.js → CasinoSearch-BlaxNjU6.js} +47 -47
  44. package/components/{CasinoSearch-CZ4AR6hH.cjs → CasinoSearch-DVvyApWI.cjs} +1 -1
  45. package/components/{CasinoSearch-uRmrNr_r.js → CasinoSearch-EhGtv45F.js} +47 -47
  46. package/components/{CasinoSort-jHGGKT4T.js → CasinoSort-CPY65M1N.js} +4 -4
  47. package/components/{CasinoSort-D-E5cV7V.js → CasinoSort-CkgdV8p-.js} +4 -4
  48. package/components/{CasinoSort-CD6jHMIw.cjs → CasinoSort-DS3nszcz.cjs} +1 -1
  49. package/components/CasinoWinners--IAJcisz.cjs +1 -0
  50. package/components/{CasinoWinners-BnSu5nnB.js → CasinoWinners-CeyqmMFC.js} +109 -108
  51. package/components/{CasinoWinners-BpeW82lE.js → CasinoWinners-Dpy7SH3v.js} +110 -109
  52. package/components/{GeneralAnimationLoading-Bl-AgLq7.js → GeneralAnimationLoading-B8X_wXWW.js} +6 -6
  53. package/components/{GeneralAnimationLoading-oiUh9Rwe.js → GeneralAnimationLoading-DjEHaMfp.js} +6 -6
  54. package/components/{GeneralAnimationLoading-vwMxZgQG.cjs → GeneralAnimationLoading-nHUDiPDj.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  60. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  61. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  62. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  63. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  64. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  65. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  66. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  67. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  68. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  69. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  70. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  71. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  72. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  73. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  74. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  75. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  76. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  77. package/stencil/ui-image-DG3xEaHN.js +11 -0
  78. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  79. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  80. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  81. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  82. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  83. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  84. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  85. package/components/CasinoCalendarDailyDetails-BdhBt4HO.js +0 -693
  86. package/components/CasinoCalendarDailyDetails-DOhd-4ZT.js +0 -693
  87. package/components/CasinoCalendarDailyDetails-EinwK-x0.cjs +0 -1
  88. package/components/CasinoCalendarDailyItem-254MG7d4.js +0 -306
  89. package/components/CasinoCalendarDailyItem-CEbe-dts.cjs +0 -1
  90. package/components/CasinoCalendarDailyItem-I0d1EuRW.js +0 -306
  91. package/components/CasinoCollectionsProviders-CYXVu8jO.cjs +0 -1
  92. package/components/CasinoFilter-DkRFodLT.cjs +0 -1
  93. package/components/CasinoGameThumbnail-CauadTSp.js +0 -4390
  94. package/components/CasinoGameThumbnail-DrSyOUlK.cjs +0 -47
  95. package/components/CasinoGameThumbnail-DsxrYUeR.js +0 -4406
  96. package/components/CasinoGamesCategorySection-hJflAIRq.cjs +0 -1
  97. package/components/CasinoJackpotBanner-Dt56Ssbv.js +0 -697
  98. package/components/CasinoJackpotBanner-QjY0RFqn.js +0 -693
  99. package/components/CasinoJackpotBanner-W78-HVH9.cjs +0 -1
  100. package/components/CasinoPage-DQL-iD56.cjs +0 -1
  101. package/components/CasinoRandomGame-CH4DPGtX.cjs +0 -2
  102. package/components/CasinoWinners-DM9Vf73b.cjs +0 -1
  103. package/stencil/app-globals-0f993ce5-BD-Q0C8R.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, P as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, t as E, c as J, e as ve, h as k, p as h, A as P, j as w, B as F, r as u, k as Me, o as Ce, u as Fe, x as Le, y as Se, z as We, R as Te, C as Y, n as je, E as K, m as L, q as S, W as Ne, v as X, w as ze, D as Z, N as Be, g as Ie, I as Je, J as Pe, K as De, L as Ae, M as He } from "./CasinoCalendar-Ckt1PYIP.js";
18
- function Oe({ withLocale: a, translations: e }) {
19
- O.subscribe((t) => {
20
- t == null && (we.set(e), O.set(a));
17
+ import { $ as E, Q 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 U, c as D, e as Me, h as k, p as h, A as P, j as _, B as F, r as p, k as Ce, o as Fe, u as Le, x as Se, y as Te, z as We, R as je, C as K, n as Ne, F as Q, m as S, q as T, V as ze, v as X, w as Be, D as Z, E as L, O as Ie, g as Je, J as De, K as Pe, L as Ae, M as He, N as Oe } from "./CasinoCalendar-C2Yc3sSK.js";
18
+ import "../stencil/ui-image-CV8AJ9cY.js";
19
+ function Ee({ withLocale: a, translations: e }) {
20
+ E.subscribe((t) => {
21
+ t == null && (we.set(e), E.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 Ee(a) {
27
- O.set(a);
27
+ function Ue(a) {
28
+ E.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 Ue(a) {
104
- ke(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}");
104
+ function Ve(a) {
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 qe = (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 = Fe(
117
- g,
117
+ ), g = Le(
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] ? Ke : 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
- 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 || (p = P(
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,60 +141,60 @@ function ae(a) {
140
141
  ), d = !0);
141
142
  },
142
143
  p(s, b) {
143
- f && f.p && (!r || b[0] & /*$$scope*/
144
- 4194304) && Le(
145
- f,
144
+ g && g.p && (!r || b[0] & /*$$scope*/
145
+ 4194304) && Se(
146
146
  g,
147
+ u,
147
148
  s,
148
149
  /*$$scope*/
149
150
  s[22],
150
151
  r ? We(
151
- g,
152
+ u,
152
153
  /*$$scope*/
153
154
  s[22],
154
155
  b,
155
156
  qe
156
- ) : Se(
157
+ ) : Te(
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
- E(o, s), r = !1;
168
+ U(o, s), r = !1;
168
169
  },
169
170
  d(s) {
170
- s && x(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 = K("svg"), t = K("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
182
  k(n, e, l), h(e, t);
182
183
  },
183
- p: je,
184
+ p: Ne,
184
185
  d(n) {
185
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 = S(t), u(e, "class", "RandomGameLoading");
197
+ e = _("p"), n = T(t), p(e, "class", "RandomGameLoading");
197
198
  },
198
199
  m(l, r) {
199
200
  k(l, e, r), h(e, n);
@@ -201,42 +202,42 @@ function Ye(a) {
201
202
  p(l, r) {
202
203
  r[0] & /*$_*/
203
204
  512 && t !== (t = /*$_*/
204
- l[9]("noGames") + "") && L(n, t);
205
+ l[9]("noGames") + "") && S(n, t);
205
206
  },
206
207
  d(l) {
207
208
  l && x(e);
208
209
  }
209
210
  };
210
211
  }
211
- function Ke(a) {
212
+ function Qe(a) {
212
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
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
- k(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
242
  r = X(
242
243
  /*gamesToShow*/
@@ -244,43 +245,43 @@ function Ke(a) {
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 && x(e), ze(d, o), a[24](null), f.d();
258
+ o && x(e), Be(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"), Z(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");
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");
269
270
  },
270
- m(p, g) {
271
- k(p, e, g), h(e, t), h(e, d);
271
+ m(f, u) {
272
+ k(f, e, u), h(e, t), h(e, d);
272
273
  },
273
- p(p, g) {
274
- g[0] & /*gamesToShow*/
274
+ p(f, u) {
275
+ u[0] & /*gamesToShow*/
275
276
  16 && !Z(t.src, n = /*game*/
276
- p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
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 && x(e);
283
+ d(f) {
284
+ f && x(e);
284
285
  }
285
286
  };
286
287
  }
@@ -291,7 +292,7 @@ function Xe(a) {
291
292
  ), n;
292
293
  return {
293
294
  c() {
294
- e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
295
+ e = _("p"), n = T(t), p(e, "class", "RandomGameLoading");
295
296
  },
296
297
  m(l, r) {
297
298
  k(l, e, r), h(e, n);
@@ -299,7 +300,7 @@ function Xe(a) {
299
300
  p(l, r) {
300
301
  r[0] & /*$_*/
301
302
  512 && t !== (t = /*$_*/
302
- l[9]("randomGameLoading") + "") && L(n, t);
303
+ l[9]("randomGameLoading") + "") && S(n, t);
303
304
  },
304
305
  d(l) {
305
306
  l && x(e);
@@ -310,20 +311,20 @@ 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
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 = S(r), p = F(), g = w("p"), o = S(f), _ = F(), m = w("button"), s = S(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
- k(R, e, G), k(R, t, G), k(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 || (W = [
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 = [
327
328
  P(
328
329
  e,
329
330
  "click",
@@ -341,25 +342,25 @@ function Ze(a) {
341
342
  p(R, G) {
342
343
  G[0] & /*randomGame*/
343
344
  8 && r !== (r = /*randomGame*/
344
- R[3].name + "") && L(d, r), G[0] & /*randomGame*/
345
- 8 && f !== (f = /*randomGame*/
346
- R[3].vendor.name + "") && L(o, f), G[0] & /*$_*/
345
+ R[3].name + "") && S(d, r), G[0] & /*randomGame*/
346
+ 8 && g !== (g = /*randomGame*/
347
+ R[3].vendor.name + "") && S(o, g), G[0] & /*$_*/
347
348
  512 && c !== (c = /*$_*/
348
- R[9]("playNowRandomGame") + "") && L(s, c);
349
+ R[9]("playNowRandomGame") + "") && S(s, c);
349
350
  },
350
351
  d(R) {
351
- R && (x(e), x(t), x(n)), b = !1, Be(W);
352
+ R && (x(e), x(t), x(n)), b = !1, Ie(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 = S(t), u(e, "class", "RandomButtonText");
363
+ e = _("span"), n = T(t), p(e, "class", "RandomButtonText");
363
364
  },
364
365
  m(l, r) {
365
366
  k(l, e, r), h(e, n);
@@ -367,28 +368,28 @@ function Qe(a) {
367
368
  p(l, r) {
368
369
  r[0] & /*$_*/
369
370
  512 && t !== (t = /*$_*/
370
- l[9]("playRandomGame") + "") && L(n, t);
371
+ l[9]("playRandomGame") + "") && S(n, t);
371
372
  },
372
373
  d(l) {
373
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 = S(
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
388
  k(n, e, l), h(e, t);
388
389
  },
389
390
  p(n, l) {
390
391
  l[0] & /*buttontext*/
391
- 2 && L(
392
+ 2 && S(
392
393
  t,
393
394
  /*buttontext*/
394
395
  n[1]
@@ -399,163 +400,163 @@ function $e(a) {
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
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*/
424
- a[0], a[28](e), p = !0, g || (f = P(
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 && (Ie(), E(o, 1, 1, () => {
435
+ 32 && D(o, 1)) : (o = ne(s), o.c(), D(o, 1), o.m(e, t)) : o && (Je(), U(o, 1, 1, () => {
435
436
  o = null;
436
- }), ve()), 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
+ }), Me()), 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
- E(o), p = !1;
445
+ U(o), f = !1;
445
446
  },
446
447
  d(s) {
447
- s && x(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
- Me(a, He, (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: W } = e, R = [], G = "", T, N = !1, D = !1, B = !1, oe = window.navigator.userAgent, M, j, U, I, q = null;
455
- Oe({ withLocale: "en", translations: {} });
456
- const le = () => {
454
+ Ce(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, V, J, q = null;
456
+ Ee({ 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", Te(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, T = re(R.slice(0, 19))), t(7, B = !0)) : (t(4, T = []), t(7, B = !1));
471
+ i.searchParams.append("platform", je(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 Ne(), I = Math.floor(Math.random() * (T.length / 2)) + T.length / 2, t(3, G = T[I]), U = j.children[I];
480
- }), A = () => H(this, null, function* () {
481
- t(6, D = !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 = (U.offsetHeight + y) * I, ye = [
479
+ }, me = () => O(this, null, function* () {
480
+ yield ze(), J = Math.floor(Math.random() * (j.length / 2)) + j.length / 2, t(3, G = j[J]), V = 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 = (V.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, D = !0);
494
+ q = N.animate(be, _e), q.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
- Ee(f);
515
+ t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: z }, window.location.href);
516
+ }, ue = () => {
517
+ Ue(g);
517
518
  };
518
- Ce(() => () => {
519
+ Fe(() => () => {
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, W = 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 && Je(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
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*/
539
540
  524292 && s && M && Pe(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
540
- 2097156 && M && De(M, `${W}.Style`);
541
+ 2097156 && M && Ae(M, `${W}.Style`);
541
542
  }, [
542
543
  o,
543
- _,
544
+ w,
544
545
  M,
545
546
  G,
546
- T,
547
- N,
548
- D,
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,
@@ -563,21 +564,21 @@ function tt(a, e, t) {
563
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
- xe,
581
+ ke,
581
582
  {
582
583
  endpoint: 13,
583
584
  datasource: 14,
@@ -591,7 +592,7 @@ class at extends Ge {
591
592
  filteredrandomgamecategories: 20,
592
593
  mbsource: 21
593
594
  },
594
- Ue,
595
+ Ve,
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
- Ae(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
  };