@everymatrix/casino-lobby 1.54.12 → 1.56.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 (120) hide show
  1. package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CSMUhfCr.js} +1066 -1022
  3. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-_T8fa3tA.js} +1215 -1171
  4. package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
  7. package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-B7jmX0uM.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-DkmZ6uE9.js} +203 -196
  12. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-CFJKyip5.js +654 -0
  14. package/components/CasinoCollectionsProviders-XHUKRCjH.js +659 -0
  15. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-BJKuORXc.js} +138 -131
  17. package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-ui8ebJSk.js} +138 -131
  19. package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
  20. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-Cj6Ya1tA.js} +237 -244
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-t6_A4K9e.js} +232 -237
  22. package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
  23. package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DH-mxVYx.js} +1012 -1018
  24. package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-DQ1Yd_-1.js} +1004 -1010
  25. package/components/CasinoGameThumbnail-B15M2LaO.js +1829 -0
  26. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
  27. package/components/CasinoGameThumbnail-CmtUwom1.js +1845 -0
  28. package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-D9nxbG-c.js} +945 -919
  29. package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-lpoHUMLN.js} +855 -829
  31. package/components/CasinoJackpotBanner-COZRcenh.js +692 -0
  32. package/components/CasinoJackpotBanner-DcwCa-Hp.js +688 -0
  33. package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-IZ9mars2.js} +143 -134
  36. package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-yetII3tl.js} +143 -134
  37. package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
  38. package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-CoCRB4M8.js} +706 -657
  39. package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DOvk4Q1L.js} +706 -657
  40. package/components/CasinoModal-6keCUEEx.cjs +1 -0
  41. package/components/CasinoModal-DDDhdR0c.js +368 -0
  42. package/components/CasinoModal-Dzu3FQyi.js +368 -0
  43. package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CGqU9ZQv.js} +171 -162
  45. package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-D0w6a_z2.js} +171 -162
  46. package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-BKqlNnO1.js} +382 -352
  47. package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
  48. package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-Dy3IMfzN.js} +389 -359
  49. package/components/CasinoPage--1tMufa9.cjs +1 -0
  50. package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-BnrghJel.js} +1207 -1046
  51. package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-DYcUhqdZ.js} +833 -678
  52. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
  53. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-Cup5oHY3.js} +247 -249
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-Dq7oLh0O.js} +229 -231
  55. package/components/CasinoSearch-B1D8nnr0.cjs +1 -0
  56. package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-DlUwO5L4.js} +385 -378
  57. package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-jV0H_1Yg.js} +442 -435
  58. package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
  59. package/components/CasinoSlider-ChnKJ8kH.js +797 -0
  60. package/components/CasinoSlider-Ot2uFDD8.js +803 -0
  61. package/components/CasinoSort-BnarJSWg.js +428 -0
  62. package/components/CasinoSort-DltZUpda.js +427 -0
  63. package/components/CasinoSort-jqMnIqLs.cjs +1 -0
  64. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-BkJBCXPe.js} +354 -351
  65. package/components/CasinoWinners-Bs7Oh-m-.cjs +1 -0
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CBgbYBfP.js} +343 -340
  67. package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
  68. package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
  69. package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
  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/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
  75. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
  76. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  77. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  78. package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
  79. package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCalendarDailyDetails-B7hChP4v.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +0 -1
  83. package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +0 -701
  84. package/components/CasinoCalendarDailyItem-1iPwEmjb.js +0 -315
  85. package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +0 -315
  86. package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +0 -1
  87. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  88. package/components/CasinoCollectionsProviders-BQPjVzK8.js +0 -659
  89. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  90. package/components/CasinoCollectionsProviders-CVDFBiI0.js +0 -664
  91. package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
  92. package/components/CasinoFilter-C10Tgn3c.cjs +0 -1
  93. package/components/CasinoGamePage-DOzefHFS.cjs +0 -18
  94. package/components/CasinoGameThumbnail-CWQWsl_s.cjs +0 -38
  95. package/components/CasinoGameThumbnail-D08-4naW.js +0 -1834
  96. package/components/CasinoGameThumbnail-nmpLDgoF.js +0 -1850
  97. package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
  98. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  99. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  100. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  101. package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
  102. package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
  103. package/components/CasinoModal-C1oW3YF4.js +0 -372
  104. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  105. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  106. package/components/CasinoMostPlayedSection-DQ_xJPuX.cjs +0 -1
  107. package/components/CasinoMyGames-B0pWVqCz.cjs +0 -1
  108. package/components/CasinoPage-CoSWrE10.cjs +0 -1
  109. package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
  110. package/components/CasinoSlider-BDjskQjI.cjs +0 -1
  111. package/components/CasinoSlider-BWEc4YT5.js +0 -800
  112. package/components/CasinoSlider-BjpV4pLV.js +0 -806
  113. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  114. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  115. package/components/CasinoSort-DFljh5Sg.js +0 -431
  116. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  117. package/components/GeneralAnimationLoading-BG_QynCK.cjs +0 -1
  118. package/components/GeneralAnimationLoading-CX9baArf.js +0 -75
  119. package/components/GeneralAnimationLoading-DVLCsjn0.js +0 -75
  120. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,16 +1,16 @@
1
- import { $ as A, T as be, a as _e, S as Ge, i as Re, s as xe, f as M, b as ke, d as k, t as H, c as I, g as ve, e as Me, h as v, p as y, A as J, j as b, B as C, r as u, k as Ce, u as Fe, x as Le, y as Te, z as Se, K as We, C as q, n as je, E as V, m as L, q as T, N as Ne, v as Y, w as ze, D as K, Q as Be, I as Ie, J as Je } from "./CasinoCalendar-CKCvu8d9.js";
2
- function De({ withLocale: a, translations: e }) {
3
- A.subscribe((t) => {
4
- t == null && (be.set(e), A.set(a));
1
+ import { $ as H, W as be, a as we, S as _e, i as Ge, s as Re, f as v, b as xe, d as x, t as O, c as J, g as ke, e as ve, h as k, p as h, A as D, 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, N as Te, C as V, n as je, E as Y, m as L, q as S, Q as Ne, v as K, w as ze, D as Q, U as Be, I as Ie, J as Je, K as De, L as Pe, M as Ae } from "./CasinoCalendar-_T8fa3tA.js";
2
+ function He({ withLocale: a, translations: e }) {
3
+ H.subscribe((t) => {
4
+ t == null && (be.set(e), H.set(a));
5
5
  });
6
6
  }
7
- function Q(a, e) {
8
- _e(a, e);
7
+ function X(a, e) {
8
+ we(a, e);
9
9
  }
10
- function Pe(a) {
11
- A.set(a);
10
+ function Oe(a) {
11
+ H.set(a);
12
12
  }
13
- const X = {
13
+ const Z = {
14
14
  en: {
15
15
  playRandomGame: "Play a random game",
16
16
  randomGameLoading: "Selecting ...",
@@ -84,294 +84,294 @@ const X = {
84
84
  noGames: "There are no random games to play"
85
85
  }
86
86
  };
87
- function Ae(a) {
88
- 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}");
87
+ function Ue(a) {
88
+ xe(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}");
89
89
  }
90
- function Z(a, e, t) {
90
+ function $(a, e, t) {
91
91
  const n = a.slice();
92
92
  return n[41] = e[t], n;
93
93
  }
94
- const He = (a) => ({}), $ = (a) => ({});
95
- function ee(a) {
96
- let e, t, n, i, s, c, p;
97
- const f = (
94
+ const Ee = (a) => ({}), ee = (a) => ({});
95
+ function te(a) {
96
+ let e, t, n, l, s, c, f;
97
+ const p = (
98
98
  /*#slots*/
99
- a[22].close
99
+ a[23].close
100
100
  ), g = Fe(
101
- f,
101
+ p,
102
102
  a,
103
103
  /*$$scope*/
104
- a[21],
105
- $
106
- ), o = g || Ee();
107
- function _(r, w) {
104
+ a[22],
105
+ ee
106
+ ), o = g || qe();
107
+ function _(r, b) {
108
108
  return (
109
109
  /*hasRandomGames*/
110
- r[7] ? Ue : Oe
110
+ r[7] ? Ye : Ve
111
111
  );
112
112
  }
113
113
  let m = _(a), d = m(a);
114
114
  return {
115
115
  c() {
116
- e = b("div"), t = b("div"), n = b("span"), o && o.c(), i = C(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
116
+ e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = F(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
117
117
  },
118
- m(r, w) {
119
- v(r, e, w), y(e, t), y(t, n), o && o.m(n, null), y(t, i), d.m(t, null), s = !0, c || (p = J(
118
+ m(r, b) {
119
+ k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), s = !0, c || (f = D(
120
120
  n,
121
121
  "click",
122
122
  /*closeModal*/
123
123
  a[12]
124
124
  ), c = !0);
125
125
  },
126
- p(r, w) {
127
- g && g.p && (!s || w[0] & /*$$scope*/
128
- 2097152) && Le(
126
+ p(r, b) {
127
+ g && g.p && (!s || b[0] & /*$$scope*/
128
+ 4194304) && Le(
129
129
  g,
130
- f,
130
+ p,
131
131
  r,
132
132
  /*$$scope*/
133
- r[21],
134
- s ? Se(
135
- f,
133
+ r[22],
134
+ s ? We(
135
+ p,
136
136
  /*$$scope*/
137
- r[21],
138
- w,
139
- He
140
- ) : Te(
137
+ r[22],
138
+ b,
139
+ Ee
140
+ ) : Se(
141
141
  /*$$scope*/
142
- r[21]
142
+ r[22]
143
143
  ),
144
- $
145
- ), m === (m = _(r)) && d ? d.p(r, w) : (d.d(1), d = m(r), d && (d.c(), d.m(t, null)));
144
+ ee
145
+ ), m === (m = _(r)) && d ? d.p(r, b) : (d.d(1), d = m(r), d && (d.c(), d.m(t, null)));
146
146
  },
147
147
  i(r) {
148
- s || (I(o, r), s = !0);
148
+ s || (J(o, r), s = !0);
149
149
  },
150
150
  o(r) {
151
- H(o, r), s = !1;
151
+ O(o, r), s = !1;
152
152
  },
153
153
  d(r) {
154
- r && k(e), o && o.d(r), d.d(), c = !1, p();
154
+ r && x(e), o && o.d(r), d.d(), c = !1, f();
155
155
  }
156
156
  };
157
157
  }
158
- function Ee(a) {
158
+ function qe(a) {
159
159
  let e, t;
160
160
  return {
161
161
  c() {
162
- e = V("svg"), t = V("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");
162
+ e = Y("svg"), t = Y("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");
163
163
  },
164
- m(n, i) {
165
- v(n, e, i), y(e, t);
164
+ m(n, l) {
165
+ k(n, e, l), h(e, t);
166
166
  },
167
167
  p: je,
168
168
  d(n) {
169
- n && k(e);
169
+ n && x(e);
170
170
  }
171
171
  };
172
172
  }
173
- function Oe(a) {
173
+ function Ve(a) {
174
174
  let e, t = (
175
175
  /*$_*/
176
176
  a[9]("noGames") + ""
177
177
  ), n;
178
178
  return {
179
179
  c() {
180
- e = b("p"), n = T(t), u(e, "class", "RandomGameLoading");
180
+ e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
181
181
  },
182
- m(i, s) {
183
- v(i, e, s), y(e, n);
182
+ m(l, s) {
183
+ k(l, e, s), h(e, n);
184
184
  },
185
- p(i, s) {
185
+ p(l, s) {
186
186
  s[0] & /*$_*/
187
187
  512 && t !== (t = /*$_*/
188
- i[9]("noGames") + "") && L(n, t);
188
+ l[9]("noGames") + "") && L(n, t);
189
189
  },
190
- d(i) {
191
- i && k(e);
190
+ d(l) {
191
+ l && x(e);
192
192
  }
193
193
  };
194
194
  }
195
- function Ue(a) {
196
- let e, t, n, i, s = Y(
195
+ function Ye(a) {
196
+ let e, t, n, l, s = K(
197
197
  /*gamesToShow*/
198
198
  a[4]
199
199
  ), c = [];
200
200
  for (let o = 0; o < s.length; o += 1)
201
- c[o] = te(Z(a, s, o));
202
- function p(o, _) {
201
+ c[o] = ae($(a, s, o));
202
+ function f(o, _) {
203
203
  return (
204
204
  /*animationDone*/
205
- o[6] ? Ve : qe
205
+ o[6] ? Qe : Ke
206
206
  );
207
207
  }
208
- let f = p(a), g = f(a);
208
+ let p = f(a), g = p(a);
209
209
  return {
210
210
  c() {
211
- e = b("div"), t = b("main"), n = b("div");
211
+ e = w("div"), t = w("main"), n = w("div");
212
212
  for (let o = 0; o < c.length; o += 1)
213
213
  c[o].c();
214
- i = C(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
214
+ l = F(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
215
215
  },
216
216
  m(o, _) {
217
- v(o, e, _), y(e, t), y(t, n);
217
+ k(o, e, _), h(e, t), h(t, n);
218
218
  for (let m = 0; m < c.length; m += 1)
219
219
  c[m] && c[m].m(n, null);
220
- a[23](n), y(e, i), g.m(e, null);
220
+ a[24](n), h(e, l), g.m(e, null);
221
221
  },
222
222
  p(o, _) {
223
223
  if (_[0] & /*gamesToShow*/
224
224
  16) {
225
- s = Y(
225
+ s = K(
226
226
  /*gamesToShow*/
227
227
  o[4]
228
228
  );
229
229
  let m;
230
230
  for (m = 0; m < s.length; m += 1) {
231
- const d = Z(o, s, m);
232
- c[m] ? c[m].p(d, _) : (c[m] = te(d), c[m].c(), c[m].m(n, null));
231
+ const d = $(o, s, m);
232
+ c[m] ? c[m].p(d, _) : (c[m] = ae(d), c[m].c(), c[m].m(n, null));
233
233
  }
234
234
  for (; m < c.length; m += 1)
235
235
  c[m].d(1);
236
236
  c.length = s.length;
237
237
  }
238
- f === (f = p(o)) && g ? g.p(o, _) : (g.d(1), g = f(o), g && (g.c(), g.m(e, null)));
238
+ p === (p = f(o)) && g ? g.p(o, _) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
239
239
  },
240
240
  d(o) {
241
- o && k(e), ze(c, o), a[23](null), g.d();
241
+ o && x(e), ze(c, o), a[24](null), g.d();
242
242
  }
243
243
  };
244
244
  }
245
- function te(a) {
246
- let e, t, n, i, s, c;
245
+ function ae(a) {
246
+ let e, t, n, l, s, c;
247
247
  return {
248
248
  c() {
249
- e = b("div"), t = b("img"), c = C(), u(t, "class", "RandomGameImage"), K(t.src, n = /*game*/
250
- a[41].thumbnail) || u(t, "src", n), u(t, "alt", i = /*game*/
249
+ e = w("div"), t = w("img"), c = F(), u(t, "class", "RandomGameImage"), Q(t.src, n = /*game*/
250
+ a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
251
251
  a[41].name), u(t, "title", s = /*game*/
252
252
  a[41].name), u(e, "class", "item");
253
253
  },
254
- m(p, f) {
255
- v(p, e, f), y(e, t), y(e, c);
254
+ m(f, p) {
255
+ k(f, e, p), h(e, t), h(e, c);
256
256
  },
257
- p(p, f) {
258
- f[0] & /*gamesToShow*/
259
- 16 && !K(t.src, n = /*game*/
260
- p[41].thumbnail) && u(t, "src", n), f[0] & /*gamesToShow*/
261
- 16 && i !== (i = /*game*/
262
- p[41].name) && u(t, "alt", i), f[0] & /*gamesToShow*/
257
+ p(f, p) {
258
+ p[0] & /*gamesToShow*/
259
+ 16 && !Q(t.src, n = /*game*/
260
+ f[41].thumbnail) && u(t, "src", n), p[0] & /*gamesToShow*/
261
+ 16 && l !== (l = /*game*/
262
+ f[41].name) && u(t, "alt", l), p[0] & /*gamesToShow*/
263
263
  16 && s !== (s = /*game*/
264
- p[41].name) && u(t, "title", s);
264
+ f[41].name) && u(t, "title", s);
265
265
  },
266
- d(p) {
267
- p && k(e);
266
+ d(f) {
267
+ f && x(e);
268
268
  }
269
269
  };
270
270
  }
271
- function qe(a) {
271
+ function Ke(a) {
272
272
  let e, t = (
273
273
  /*$_*/
274
274
  a[9]("randomGameLoading") + ""
275
275
  ), n;
276
276
  return {
277
277
  c() {
278
- e = b("p"), n = T(t), u(e, "class", "RandomGameLoading");
278
+ e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
279
279
  },
280
- m(i, s) {
281
- v(i, e, s), y(e, n);
280
+ m(l, s) {
281
+ k(l, e, s), h(e, n);
282
282
  },
283
- p(i, s) {
283
+ p(l, s) {
284
284
  s[0] & /*$_*/
285
285
  512 && t !== (t = /*$_*/
286
- i[9]("randomGameLoading") + "") && L(n, t);
286
+ l[9]("randomGameLoading") + "") && L(n, t);
287
287
  },
288
- d(i) {
289
- i && k(e);
288
+ d(l) {
289
+ l && x(e);
290
290
  }
291
291
  };
292
292
  }
293
- function Ve(a) {
294
- let e, t, n, i, s = (
293
+ function Qe(a) {
294
+ let e, t, n, l, s = (
295
295
  /*randomGame*/
296
296
  a[3].name + ""
297
- ), c, p, f, g = (
297
+ ), c, f, p, g = (
298
298
  /*randomGame*/
299
299
  a[3].vendor.name + ""
300
300
  ), o, _, m, d = (
301
301
  /*$_*/
302
302
  a[9]("playNowRandomGame") + ""
303
- ), r, w, S;
303
+ ), r, b, W;
304
304
  return {
305
305
  c() {
306
- e = b("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));}
307
- </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 = C(), n = b("div"), i = b("p"), c = T(s), p = C(), f = b("p"), o = T(g), _ = C(), m = b("button"), r = T(d), u(e, "class", "RandomTryAgain"), u(i, "class", "RandomGameTitle"), u(f, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
306
+ 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));}
307
+ </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"), c = S(s), f = F(), p = w("p"), o = S(g), _ = F(), m = w("button"), r = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
308
308
  },
309
- m(G, R) {
310
- v(G, e, R), v(G, t, R), v(G, n, R), y(n, i), y(i, c), y(n, p), y(n, f), y(f, o), y(n, _), y(n, m), y(m, r), w || (S = [
311
- J(
309
+ m(R, G) {
310
+ k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, c), h(n, f), h(n, p), h(p, o), h(n, _), h(n, m), h(m, r), b || (W = [
311
+ D(
312
312
  e,
313
313
  "click",
314
314
  /*click_handler*/
315
- a[24]
315
+ a[25]
316
316
  ),
317
- J(
317
+ D(
318
318
  m,
319
319
  "click",
320
320
  /*click_handler_1*/
321
- a[25]
321
+ a[26]
322
322
  )
323
- ], w = !0);
323
+ ], b = !0);
324
324
  },
325
- p(G, R) {
326
- R[0] & /*randomGame*/
325
+ p(R, G) {
326
+ G[0] & /*randomGame*/
327
327
  8 && s !== (s = /*randomGame*/
328
- G[3].name + "") && L(c, s), R[0] & /*randomGame*/
328
+ R[3].name + "") && L(c, s), G[0] & /*randomGame*/
329
329
  8 && g !== (g = /*randomGame*/
330
- G[3].vendor.name + "") && L(o, g), R[0] & /*$_*/
330
+ R[3].vendor.name + "") && L(o, g), G[0] & /*$_*/
331
331
  512 && d !== (d = /*$_*/
332
- G[9]("playNowRandomGame") + "") && L(r, d);
332
+ R[9]("playNowRandomGame") + "") && L(r, d);
333
333
  },
334
- d(G) {
335
- G && (k(e), k(t), k(n)), w = !1, Be(S);
334
+ d(R) {
335
+ R && (x(e), x(t), x(n)), b = !1, Be(W);
336
336
  }
337
337
  };
338
338
  }
339
- function Ye(a) {
339
+ function Xe(a) {
340
340
  let e, t = (
341
341
  /*$_*/
342
342
  a[9]("playRandomGame") + ""
343
343
  ), n;
344
344
  return {
345
345
  c() {
346
- e = b("span"), n = T(t), u(e, "class", "RandomButtonText");
346
+ e = w("span"), n = S(t), u(e, "class", "RandomButtonText");
347
347
  },
348
- m(i, s) {
349
- v(i, e, s), y(e, n);
348
+ m(l, s) {
349
+ k(l, e, s), h(e, n);
350
350
  },
351
- p(i, s) {
351
+ p(l, s) {
352
352
  s[0] & /*$_*/
353
353
  512 && t !== (t = /*$_*/
354
- i[9]("playRandomGame") + "") && L(n, t);
354
+ l[9]("playRandomGame") + "") && L(n, t);
355
355
  },
356
- d(i) {
357
- i && k(e);
356
+ d(l) {
357
+ l && x(e);
358
358
  }
359
359
  };
360
360
  }
361
- function Ke(a) {
361
+ function Ze(a) {
362
362
  let e, t;
363
363
  return {
364
364
  c() {
365
- e = b("span"), t = T(
365
+ e = w("span"), t = S(
366
366
  /*buttontext*/
367
367
  a[1]
368
368
  ), u(e, "class", "RandomButtonText");
369
369
  },
370
- m(n, i) {
371
- v(n, e, i), y(e, t);
370
+ m(n, l) {
371
+ k(n, e, l), h(e, t);
372
372
  },
373
- p(n, i) {
374
- i[0] & /*buttontext*/
373
+ p(n, l) {
374
+ l[0] & /*buttontext*/
375
375
  2 && L(
376
376
  t,
377
377
  /*buttontext*/
@@ -379,196 +379,187 @@ function Ke(a) {
379
379
  );
380
380
  },
381
381
  d(n) {
382
- n && k(e);
382
+ n && x(e);
383
383
  }
384
384
  };
385
385
  }
386
- function Qe(a) {
387
- let e, t, n, i, s, c, p, f, g, o = (
386
+ function $e(a) {
387
+ let e, t, n, l, s, c, f, p, g, o = (
388
388
  /*show*/
389
- a[5] && ee(a)
389
+ a[5] && te(a)
390
390
  );
391
- function _(r, w) {
391
+ function _(r, b) {
392
392
  if (
393
393
  /*buttontext*/
394
394
  r[1]
395
- ) return Ke;
395
+ ) return Ze;
396
396
  if (!/*buttontext*/
397
- r[1]) return Ye;
397
+ r[1]) return Xe;
398
398
  }
399
399
  let m = _(a), d = m && m(a);
400
400
  return {
401
401
  c() {
402
- e = b("div"), o && o.c(), t = C(), n = b("div"), i = b("button"), d && d.c(), s = C(), c = b("span"), u(c, "class", "RandomButtonIcon"), u(i, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper"), u(e, "part", "CustomStylingContainer");
402
+ e = w("div"), o && o.c(), t = F(), n = w("div"), l = w("button"), d && d.c(), s = F(), c = w("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
403
403
  },
404
- m(r, w) {
405
- v(r, e, w), o && o.m(e, null), y(e, t), y(e, n), y(n, i), d && d.m(i, null), y(i, s), y(i, c), c.innerHTML = /*randombuttonicon*/
406
- a[0], a[27](e), p = !0, f || (g = J(
407
- i,
404
+ m(r, b) {
405
+ k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, s), h(l, c), c.innerHTML = /*randombuttonicon*/
406
+ a[0], a[28](e), f = !0, p || (g = D(
407
+ l,
408
408
  "click",
409
409
  /*click_handler_2*/
410
- a[26]
411
- ), f = !0);
410
+ a[27]
411
+ ), p = !0);
412
412
  },
413
- p(r, w) {
413
+ p(r, b) {
414
414
  /*show*/
415
- r[5] ? o ? (o.p(r, w), w[0] & /*show*/
416
- 32 && I(o, 1)) : (o = ee(r), o.c(), I(o, 1), o.m(e, t)) : o && (ve(), H(o, 1, 1, () => {
415
+ r[5] ? o ? (o.p(r, b), b[0] & /*show*/
416
+ 32 && J(o, 1)) : (o = te(r), o.c(), J(o, 1), o.m(e, t)) : o && (ke(), O(o, 1, 1, () => {
417
417
  o = null;
418
- }), Me()), m === (m = _(r)) && d ? d.p(r, w) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(i, s))), (!p || w[0] & /*randombuttonicon*/
418
+ }), ve()), m === (m = _(r)) && d ? d.p(r, b) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(l, s))), (!f || b[0] & /*randombuttonicon*/
419
419
  1) && (c.innerHTML = /*randombuttonicon*/
420
420
  r[0]);
421
421
  },
422
422
  i(r) {
423
- p || (I(o), p = !0);
423
+ f || (J(o), f = !0);
424
424
  },
425
425
  o(r) {
426
- H(o), p = !1;
426
+ O(o), f = !1;
427
427
  },
428
428
  d(r) {
429
- r && k(e), o && o.d(), d && d.d(), a[27](null), f = !1, g();
429
+ r && x(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
430
430
  }
431
431
  };
432
432
  }
433
- function Xe(a, e, t) {
433
+ function et(a, e, t) {
434
434
  let n;
435
- Ce(a, Je, (l) => t(9, n = l));
436
- let { $$slots: i = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: p = "" } = e, { gameevent: f = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: w = "" } = e, S = [], G = "", R, j = !1, D = !1, z = !1, ae = window.navigator.userAgent, F, W, E, B, O = null;
437
- De({ withLocale: "en", translations: {} });
438
- const ne = () => {
439
- fetch(m).then((h) => h.json()).then((h) => {
440
- Object.keys(h).forEach((x) => {
441
- Q(x, h[x]);
435
+ Me(a, Ae, (i) => t(9, n = i));
436
+ let { $$slots: l = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", T, N = !1, P = !1, B = !1, ne = window.navigator.userAgent, M, j, U, I, E = null;
437
+ He({ withLocale: "en", translations: {} });
438
+ const oe = () => {
439
+ fetch(m).then((y) => y.json()).then((y) => {
440
+ Object.keys(y).forEach((C) => {
441
+ X(C, y[C]);
442
442
  });
443
- }).catch((h) => {
444
- console.log(h);
443
+ }).catch((y) => {
444
+ console.log(y);
445
445
  });
446
446
  };
447
- Object.keys(X).forEach((l) => {
448
- Q(l, X[l]);
447
+ Object.keys(Z).forEach((i) => {
448
+ X(i, Z[i]);
449
449
  });
450
- const oe = () => {
451
- let l = new URL(`${c}/v1/casino/games`);
452
- l.searchParams.append("platform", We(ae)), l.searchParams.append("datasource", p), l.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), w && l.searchParams.append("filter", `groups=${w}`), l.searchParams.append("expand", "categories,vendor"), l.searchParams.append("pagination", "offset=0,limit=1000"), fetch(l.href).then((h) => h.json()).then((h) => {
453
- S = h.items, S.length ? (t(4, R = le(S.slice(0, 19))), t(7, z = !0)) : (t(4, R = []), t(7, z = !1));
454
- }).catch((h) => {
455
- console.log(h), t(7, z = !1);
450
+ const le = () => {
451
+ let i = new URL(`${c}/v1/casino/games`);
452
+ i.searchParams.append("platform", Te(ne)), 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) => {
453
+ R = y.items, R.length ? (t(4, T = ie(R.slice(0, 19))), t(7, B = !0)) : (t(4, T = []), t(7, B = !1));
454
+ }).catch((y) => {
455
+ console.log(y), t(7, B = !1);
456
456
  });
457
- }, le = (l) => {
458
- const h = re(l);
459
- return h.concat(h);
460
- }, ie = async () => {
461
- await Ne(), B = Math.floor(Math.random() * (R.length / 2)) + R.length / 2, t(3, G = R[B]), E = W.children[B];
462
- }, P = async () => {
463
- t(6, D = !1), t(5, j = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await ie();
464
- const l = window.getComputedStyle(W).getPropertyValue("gap"), h = parseInt(l, 10) || 0, N = (E.offsetHeight + h) * B, ye = [
457
+ }, ie = (i) => {
458
+ const y = se(i);
459
+ return y.concat(y);
460
+ }, re = async () => {
461
+ await Ne(), I = Math.floor(Math.random() * (T.length / 2)) + T.length / 2, t(3, G = T[I]), U = j.children[I];
462
+ }, A = async () => {
463
+ t(6, P = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await re();
464
+ const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, z = (U.offsetHeight + y) * I, he = [
465
465
  { transform: "translateX(0px)" },
466
466
  { filter: "blur(5px)" },
467
467
  {
468
- transform: `translateY(-${N}px)`
468
+ transform: `translateY(-${z}px)`
469
469
  }
470
- ], we = {
470
+ ], ye = {
471
471
  duration: 2e3,
472
472
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
473
473
  fill: "forwards"
474
474
  };
475
- O = W.animate(ye, we), O.onfinish = () => {
476
- t(6, D = !0);
475
+ E = j.animate(he, ye), E.onfinish = () => {
476
+ t(6, P = !0);
477
477
  };
478
- }, re = (l) => {
479
- const h = structuredClone(l);
480
- let x = h.length, N;
481
- for (; x != 0; )
482
- N = Math.floor(Math.random() * x), x--, [h[x], h[N]] = [h[N], h[x]];
483
- return h;
484
- }, U = () => {
478
+ }, se = (i) => {
479
+ const y = structuredClone(i);
480
+ let C = y.length, z;
481
+ for (; C != 0; )
482
+ z = Math.floor(Math.random() * C), C--, [y[C], y[z]] = [y[z], y[C]];
483
+ return y;
484
+ }, q = () => {
485
485
  window.postMessage(
486
486
  {
487
- type: f,
487
+ type: p,
488
488
  gameId: G.gId || G.id
489
489
  },
490
490
  window.location.href
491
- ), t(5, j = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
491
+ ), t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
492
492
  context: "RandomGameWidget",
493
493
  gameId: `${G.gId || G.id}`
494
494
  });
495
- }, se = () => {
496
- t(5, j = !1), window.postMessage({ type: "RandomWidgetState", state: j }, window.location.href);
497
495
  }, me = () => {
498
- Pe(g);
496
+ t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
499
497
  }, de = () => {
500
- let l = document.createElement("style");
501
- l.innerHTML = d, F.appendChild(l);
502
- }, ce = () => {
503
- let l = new URL(r), h = document.createElement("style");
504
- fetch(l.href).then((x) => x.text()).then((x) => {
505
- h.innerHTML = x, setTimeout(
506
- () => {
507
- F.appendChild(h);
508
- },
509
- 1
510
- );
511
- });
498
+ Oe(g);
512
499
  };
513
- function ue(l) {
514
- q[l ? "unshift" : "push"](() => {
515
- W = l, t(8, W);
500
+ Ce(() => () => {
501
+ });
502
+ function ce(i) {
503
+ V[i ? "unshift" : "push"](() => {
504
+ j = i, t(8, j);
516
505
  });
517
506
  }
518
- const ge = () => P(), pe = () => U(), fe = () => P();
519
- function he(l) {
520
- q[l ? "unshift" : "push"](() => {
521
- F = l, t(2, F);
507
+ const ue = () => A(), ge = () => q(), fe = () => A();
508
+ function pe(i) {
509
+ V[i ? "unshift" : "push"](() => {
510
+ M = i, t(2, M);
522
511
  });
523
512
  }
524
- return a.$$set = (l) => {
525
- "endpoint" in l && t(13, c = l.endpoint), "datasource" in l && t(14, p = l.datasource), "gameevent" in l && t(15, f = l.gameevent), "lang" in l && t(16, g = l.lang), "randombuttonicon" in l && t(0, o = l.randombuttonicon), "buttontext" in l && t(1, _ = l.buttontext), "translationurl" in l && t(17, m = l.translationurl), "clientstyling" in l && t(18, d = l.clientstyling), "clientstylingurl" in l && t(19, r = l.clientstylingurl), "filteredrandomgamecategories" in l && t(20, w = l.filteredrandomgamecategories), "$$scope" in l && t(21, s = l.$$scope);
513
+ return a.$$set = (i) => {
514
+ "endpoint" in i && t(13, c = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, p = i.gameevent), "lang" in i && t(16, g = 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, d = i.clientstyling), "clientstylingurl" in i && t(19, r = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, s = i.$$scope);
526
515
  }, a.$$.update = () => {
527
516
  a.$$.dirty[0] & /*lang*/
528
- 65536 && g && me(), a.$$.dirty[0] & /*translationurl*/
529
- 131072 && m && ne(), a.$$.dirty[0] & /*endpoint, datasource*/
530
- 24576 && c && p && oe(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
531
- 262148 && d && F && de(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
- 524292 && r && F && ce();
517
+ 65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
518
+ 131072 && m && oe(), a.$$.dirty[0] & /*endpoint, datasource*/
519
+ 24576 && c && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
520
+ 262148 && d && M && Ie(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
521
+ 524292 && r && M && Je(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
522
+ 2097156 && M && De(M, `${W}.Style`);
533
523
  }, [
534
524
  o,
535
525
  _,
536
- F,
526
+ M,
537
527
  G,
538
- R,
528
+ T,
529
+ N,
530
+ P,
531
+ B,
539
532
  j,
540
- D,
541
- z,
542
- W,
543
533
  n,
544
- P,
545
- U,
546
- se,
534
+ A,
535
+ q,
536
+ me,
547
537
  c,
548
- p,
549
538
  f,
539
+ p,
550
540
  g,
551
541
  m,
552
542
  d,
553
543
  r,
554
- w,
544
+ b,
545
+ W,
555
546
  s,
556
- i,
547
+ l,
548
+ ce,
557
549
  ue,
558
550
  ge,
559
- pe,
560
551
  fe,
561
- he
552
+ pe
562
553
  ];
563
554
  }
564
- class Ze extends Ge {
555
+ class tt extends _e {
565
556
  constructor(e) {
566
- super(), Re(
557
+ super(), Ge(
567
558
  this,
568
559
  e,
569
- Xe,
570
- Qe,
571
- xe,
560
+ et,
561
+ $e,
562
+ Re,
572
563
  {
573
564
  endpoint: 13,
574
565
  datasource: 14,
@@ -579,9 +570,10 @@ class Ze extends Ge {
579
570
  translationurl: 17,
580
571
  clientstyling: 18,
581
572
  clientstylingurl: 19,
582
- filteredrandomgamecategories: 20
573
+ filteredrandomgamecategories: 20,
574
+ mbsource: 21
583
575
  },
584
- Ae,
576
+ Ue,
585
577
  [-1, -1]
586
578
  );
587
579
  }
@@ -589,64 +581,70 @@ class Ze extends Ge {
589
581
  return this.$$.ctx[13];
590
582
  }
591
583
  set endpoint(e) {
592
- this.$$set({ endpoint: e }), M();
584
+ this.$$set({ endpoint: e }), v();
593
585
  }
594
586
  get datasource() {
595
587
  return this.$$.ctx[14];
596
588
  }
597
589
  set datasource(e) {
598
- this.$$set({ datasource: e }), M();
590
+ this.$$set({ datasource: e }), v();
599
591
  }
600
592
  get gameevent() {
601
593
  return this.$$.ctx[15];
602
594
  }
603
595
  set gameevent(e) {
604
- this.$$set({ gameevent: e }), M();
596
+ this.$$set({ gameevent: e }), v();
605
597
  }
606
598
  get lang() {
607
599
  return this.$$.ctx[16];
608
600
  }
609
601
  set lang(e) {
610
- this.$$set({ lang: e }), M();
602
+ this.$$set({ lang: e }), v();
611
603
  }
612
604
  get randombuttonicon() {
613
605
  return this.$$.ctx[0];
614
606
  }
615
607
  set randombuttonicon(e) {
616
- this.$$set({ randombuttonicon: e }), M();
608
+ this.$$set({ randombuttonicon: e }), v();
617
609
  }
618
610
  get buttontext() {
619
611
  return this.$$.ctx[1];
620
612
  }
621
613
  set buttontext(e) {
622
- this.$$set({ buttontext: e }), M();
614
+ this.$$set({ buttontext: e }), v();
623
615
  }
624
616
  get translationurl() {
625
617
  return this.$$.ctx[17];
626
618
  }
627
619
  set translationurl(e) {
628
- this.$$set({ translationurl: e }), M();
620
+ this.$$set({ translationurl: e }), v();
629
621
  }
630
622
  get clientstyling() {
631
623
  return this.$$.ctx[18];
632
624
  }
633
625
  set clientstyling(e) {
634
- this.$$set({ clientstyling: e }), M();
626
+ this.$$set({ clientstyling: e }), v();
635
627
  }
636
628
  get clientstylingurl() {
637
629
  return this.$$.ctx[19];
638
630
  }
639
631
  set clientstylingurl(e) {
640
- this.$$set({ clientstylingurl: e }), M();
632
+ this.$$set({ clientstylingurl: e }), v();
641
633
  }
642
634
  get filteredrandomgamecategories() {
643
635
  return this.$$.ctx[20];
644
636
  }
645
637
  set filteredrandomgamecategories(e) {
646
- this.$$set({ filteredrandomgamecategories: e }), M();
638
+ this.$$set({ filteredrandomgamecategories: e }), v();
639
+ }
640
+ get mbsource() {
641
+ return this.$$.ctx[21];
642
+ }
643
+ set mbsource(e) {
644
+ this.$$set({ mbsource: e }), v();
647
645
  }
648
646
  }
649
- Ie(Ze, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
647
+ Pe(tt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
650
648
  export {
651
- Ze as default
649
+ tt as default
652
650
  };