@everymatrix/casino-lobby 1.62.0 → 1.62.2

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 (127) hide show
  1. package/components/CasinoCalendar-B4GcXKnc.cjs +22 -0
  2. package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-CinFtvuW.js} +1099 -1078
  3. package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-zRo_9Za0.js} +873 -852
  4. package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-Cn37GUIj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-DL8uHwSN.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-qkwXMyxI.js} +49 -49
  7. package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-Bo9evLEj.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-DcqDKyz5.js} +33 -33
  9. package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-DoK3veTp.js} +33 -33
  10. package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-BBVXEukg.js} +70 -70
  11. package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-YxbN9BpC.js} +71 -71
  12. package/components/CasinoCategoriesSlider-n2yKGzdi.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BvaxV9cb.js} +77 -77
  14. package/components/CasinoCollectionsProviders-CPX65G1M.cjs +1 -0
  15. package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-Q0qcn7b_.js} +58 -58
  16. package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-B1f0uSCY.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-CR--CUNF.js} +23 -23
  18. package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-DG1Vt4HX.js} +23 -23
  19. package/components/CasinoFilter-ChsEa9Bx.js +645 -0
  20. package/components/CasinoFilter-DbcntrTg.js +644 -0
  21. package/components/CasinoFilter-DhiwjMr2.cjs +1 -0
  22. package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-C7LOIY6s.js} +783 -783
  23. package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-CmF8v1Cv.cjs} +6 -6
  24. package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-DccB7M76.js} +746 -746
  25. package/components/CasinoGameThumbnail-BtO5lRYS.cjs +38 -0
  26. package/components/CasinoGameThumbnail-CZYWQzTY.js +1836 -0
  27. package/components/CasinoGameThumbnail-DZFIn3jP.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-CQaK0CN3.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-CujQbdKb.js} +249 -249
  30. package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-DFNU_Gsz.js} +332 -332
  31. package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-BhgV3UvA.js} +131 -131
  32. package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-CkVmxLVH.js} +163 -163
  33. package/components/CasinoJackpotBanner-D5DqHlAR.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-CE97lSQ6.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-CTorwEQu.js} +46 -46
  36. package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-U57Y5miR.cjs} +1 -1
  37. package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-80EyIh80.js} +74 -74
  38. package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-C1-TdZOS.cjs} +1 -1
  39. package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-hiqWHHHg.js} +73 -73
  40. package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-7GCtnm_K.cjs} +1 -1
  41. package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-DRoX6zuP.js} +43 -43
  42. package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-DTJpGGWW.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-CKuVf-En.js} +44 -44
  44. package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-Cptq1E56.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-oxfCPIeN.js} +44 -44
  46. package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-DhHqogUJ.cjs} +1 -1
  47. package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-gq_8VbcF.js} +47 -47
  48. package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-sC9ouRW_.js} +51 -51
  49. package/components/{CasinoPage-BfG57-mo.js → CasinoPage-BCAEtuBw.js} +77 -77
  50. package/components/{CasinoPage-DlenCL5e.js → CasinoPage-Bh2MrJ1P.js} +77 -77
  51. package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-BzbZtzqt.cjs} +1 -1
  52. package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-CbQvQHMi.js} +165 -166
  53. package/components/CasinoRandomGame-D4bGW7wH.cjs +2 -0
  54. package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-neIdOgUC.js} +201 -202
  55. package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B65DzQEn.js} +69 -69
  56. package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-BYuM1VFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-d7Y-IpLr.js} +69 -69
  58. package/components/CasinoSlider-CotyciEv.cjs +1 -0
  59. package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DGETBGTm.js} +177 -178
  60. package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-TfFHBss2.js} +228 -229
  61. package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-B-2h6Htw.js} +110 -111
  62. package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-Cmgp5JM5.js} +104 -103
  63. package/components/{CasinoSort-Big21575.cjs → CasinoSort-X6V8pABW.cjs} +1 -1
  64. package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-BSQs3S54.js} +151 -151
  65. package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CuaTZjz4.cjs} +1 -1
  66. package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-CyDC7j5x.js} +138 -138
  67. package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-B1-7gNLR.js} +18 -18
  68. package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-BV3DII71.js} +18 -18
  69. package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-DasE8cAb.cjs} +1 -1
  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-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
  75. package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
  76. package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  77. package/stencil/index-97d17652-B8yQdy7J.js +542 -0
  78. package/stencil/index-97d17652-C616IYj2.js +558 -0
  79. package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
  80. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  81. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  82. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  83. package/stencil/index-b2193545-60VR4wV3.js +519 -0
  84. package/stencil/index-b2193545-LYFajSbf.js +503 -0
  85. package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
  86. package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
  87. package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
  88. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
  89. package/stencil/ui-image-BSTP7sZO.js +7 -0
  90. package/stencil/ui-image-C3XzpHRB.cjs +1 -0
  91. package/stencil/ui-image-CYB9UUHg.js +25 -0
  92. package/stencil/ui-image_2-BXgptLvl.js +154 -0
  93. package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
  94. package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
  95. package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  96. package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  97. package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  98. package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
  99. package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  100. package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
  101. package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
  102. package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
  103. package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
  104. package/components/CasinoFilter-CAtpk4a4.js +0 -645
  105. package/components/CasinoFilter-CtjgbEie.js +0 -646
  106. package/components/CasinoFilter-dn8i37bN.cjs +0 -1
  107. package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
  108. package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
  109. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
  110. package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
  111. package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
  112. package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
  113. package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
  114. package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
  115. package/stencil/index-ab3202d6-D5caeC50.js +0 -559
  116. package/stencil/index-b2193545-CJX9lIo2.js +0 -519
  117. package/stencil/index-b2193545-CbB5TWd2.js +0 -503
  118. package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
  119. package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
  120. package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
  121. package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
  122. package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
  123. package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
  124. package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
  125. package/stencil/ui-image-CzWACXX6.js +0 -11
  126. package/stencil/ui-image-c5YAxRRi.cjs +0 -1
  127. package/stencil/ui-image-shmNN3yX.js +0 -29
@@ -1,33 +1,32 @@
1
- var O = (a, e, t) => new Promise((n, l) => {
2
- var r = (u) => {
1
+ var H = (a, e, t) => new Promise((n, l) => {
2
+ var r = (g) => {
3
3
  try {
4
- f(t.next(u));
5
- } catch (g) {
6
- l(g);
4
+ p(t.next(g));
5
+ } catch (f) {
6
+ l(f);
7
7
  }
8
- }, d = (u) => {
8
+ }, d = (g) => {
9
9
  try {
10
- f(t.throw(u));
11
- } catch (g) {
12
- l(g);
10
+ p(t.throw(g));
11
+ } catch (f) {
12
+ l(f);
13
13
  }
14
- }, f = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(r, d);
15
- f((t = t.apply(a, e)).next());
14
+ }, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, d);
15
+ p((t = t.apply(a, e)).next());
16
16
  });
17
- import { $ as U, U as we, a as Ge, S as Re, i as xe, f as v, c as ke, s as ve, b as Me, e as _, w as F, y as p, d as x, z as h, A as D, h as P, t as E, g as Ce, j as k, k as Fe, o as Le, l as Se, u as Te, B as We, C as je, D as Ne, n as ze, P as Be, q as K, r as Ie, m as Je, K as X, G as Pe, x as S, E as T, v as Z, F as De, H as L, I as Q, J as Ae, O as He, R as Oe } from "./CasinoCalendar-DwNK-Krf.js";
18
- import "../stencil/ui-image-shmNN3yX.js";
19
- function Ue({ withLocale: a, translations: e }) {
20
- U.subscribe((t) => {
21
- t == null && (we.set(e), U.set(a));
17
+ import { $ as O, U 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 U, c as J, g as ve, e as Me, h as k, p as h, A as D, j as w, B as F, r as u, k as Ce, o as Fe, u as Le, x as Se, y as Te, z as We, O as je, C as Y, n as Ne, F as K, m as L, q as S, Q as ze, v as Q, w as Be, D as X, R as Ie, J as Je, K as De, L as Pe, M as Ae, N as He } from "./CasinoCalendar-zRo_9Za0.js";
18
+ function Oe({ withLocale: a, translations: e }) {
19
+ O.subscribe((t) => {
20
+ t == null && (we.set(e), O.set(a));
22
21
  });
23
22
  }
24
- function $(a, e) {
25
- Ge(a, e);
23
+ function Z(a, e) {
24
+ _e(a, e);
26
25
  }
27
- function Ee(a) {
28
- U.set(a);
26
+ function Ue(a) {
27
+ O.set(a);
29
28
  }
30
- const ee = {
29
+ const $ = {
31
30
  en: {
32
31
  playRandomGame: "Play a random game",
33
32
  randomGameLoading: "Selecting ...",
@@ -102,38 +101,38 @@ const ee = {
102
101
  }
103
102
  };
104
103
  function qe(a) {
105
- Me(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
+ 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}");
106
105
  }
107
- function te(a, e, t) {
106
+ function ee(a, e, t) {
108
107
  const n = a.slice();
109
108
  return n[41] = e[t], n;
110
109
  }
111
- const Ve = (a) => ({}), ae = (a) => ({});
112
- function ne(a) {
113
- let e, t, n, l, r, d, f;
114
- const u = (
110
+ const Ee = (a) => ({}), te = (a) => ({});
111
+ function ae(a) {
112
+ let e, t, n, l, r, d, p;
113
+ const g = (
115
114
  /*#slots*/
116
115
  a[23].close
117
- ), g = Te(
118
- u,
116
+ ), f = Le(
117
+ g,
119
118
  a,
120
119
  /*$$scope*/
121
120
  a[22],
122
- ae
123
- ), o = g || Ye();
124
- function w(s, b) {
121
+ te
122
+ ), o = f || Ve();
123
+ function _(s, b) {
125
124
  return (
126
125
  /*hasRandomGames*/
127
- s[7] ? Xe : Ke
126
+ s[7] ? Ke : Ye
128
127
  );
129
128
  }
130
- let m = w(a), c = m(a);
129
+ let m = _(a), c = m(a);
131
130
  return {
132
131
  c() {
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");
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");
134
133
  },
135
134
  m(s, b) {
136
- 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 || (f = D(
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 = D(
137
136
  n,
138
137
  "click",
139
138
  /*closeModal*/
@@ -141,190 +140,190 @@ function ne(a) {
141
140
  ), d = !0);
142
141
  },
143
142
  p(s, b) {
144
- g && g.p && (!r || b[0] & /*$$scope*/
145
- 4194304) && We(
143
+ f && f.p && (!r || b[0] & /*$$scope*/
144
+ 4194304) && Se(
145
+ f,
146
146
  g,
147
- u,
148
147
  s,
149
148
  /*$$scope*/
150
149
  s[22],
151
- r ? Ne(
152
- u,
150
+ r ? We(
151
+ g,
153
152
  /*$$scope*/
154
153
  s[22],
155
154
  b,
156
- Ve
157
- ) : je(
155
+ Ee
156
+ ) : Te(
158
157
  /*$$scope*/
159
158
  s[22]
160
159
  ),
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)));
160
+ te
161
+ ), m === (m = _(s)) && c ? c.p(s, b) : (c.d(1), c = m(s), c && (c.c(), c.m(t, null)));
163
162
  },
164
163
  i(s) {
165
- r || (P(o, s), r = !0);
164
+ r || (J(o, s), r = !0);
166
165
  },
167
166
  o(s) {
168
- E(o, s), r = !1;
167
+ U(o, s), r = !1;
169
168
  },
170
169
  d(s) {
171
- s && k(e), o && o.d(s), c.d(), d = !1, f();
170
+ s && x(e), o && o.d(s), c.d(), d = !1, p();
172
171
  }
173
172
  };
174
173
  }
175
- function Ye(a) {
174
+ function Ve(a) {
176
175
  let e, t;
177
176
  return {
178
177
  c() {
179
- e = X("svg"), t = X("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");
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");
180
179
  },
181
180
  m(n, l) {
182
- x(n, e, l), h(e, t);
181
+ k(n, e, l), h(e, t);
183
182
  },
184
- p: Pe,
183
+ p: Ne,
185
184
  d(n) {
186
- n && k(e);
185
+ n && x(e);
187
186
  }
188
187
  };
189
188
  }
190
- function Ke(a) {
189
+ function Ye(a) {
191
190
  let e, t = (
192
191
  /*$_*/
193
192
  a[9]("noGames") + ""
194
193
  ), n;
195
194
  return {
196
195
  c() {
197
- e = _("p"), n = S(t), p(e, "class", "RandomGameLoading");
196
+ e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
198
197
  },
199
198
  m(l, r) {
200
- x(l, e, r), h(e, n);
199
+ k(l, e, r), h(e, n);
201
200
  },
202
201
  p(l, r) {
203
202
  r[0] & /*$_*/
204
203
  512 && t !== (t = /*$_*/
205
- l[9]("noGames") + "") && T(n, t);
204
+ l[9]("noGames") + "") && L(n, t);
206
205
  },
207
206
  d(l) {
208
- l && k(e);
207
+ l && x(e);
209
208
  }
210
209
  };
211
210
  }
212
- function Xe(a) {
213
- let e, t, n, l, r = Z(
211
+ function Ke(a) {
212
+ let e, t, n, l, r = Q(
214
213
  /*gamesToShow*/
215
214
  a[4]
216
215
  ), d = [];
217
216
  for (let o = 0; o < r.length; o += 1)
218
- d[o] = oe(te(a, r, o));
219
- function f(o, w) {
217
+ d[o] = ne(ee(a, r, o));
218
+ function p(o, _) {
220
219
  return (
221
220
  /*animationDone*/
222
- o[6] ? Qe : Ze
221
+ o[6] ? Xe : Qe
223
222
  );
224
223
  }
225
- let u = f(a), g = u(a);
224
+ let g = p(a), f = g(a);
226
225
  return {
227
226
  c() {
228
- e = _("div"), t = _("main"), n = _("div");
227
+ e = w("div"), t = w("main"), n = w("div");
229
228
  for (let o = 0; o < d.length; o += 1)
230
229
  d[o].c();
231
- l = F(), g.c(), p(n, "class", "GamesContainer"), p(t, "class", "RandomGamesSliderWrapper"), p(e, "class", "RandomGameWrapper");
230
+ l = F(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
232
231
  },
233
- m(o, w) {
234
- x(o, e, w), h(e, t), h(t, n);
232
+ m(o, _) {
233
+ k(o, e, _), h(e, t), h(t, n);
235
234
  for (let m = 0; m < d.length; m += 1)
236
235
  d[m] && d[m].m(n, null);
237
- a[24](n), h(e, l), g.m(e, null);
236
+ a[24](n), h(e, l), f.m(e, null);
238
237
  },
239
- p(o, w) {
240
- if (w[0] & /*gamesToShow*/
238
+ p(o, _) {
239
+ if (_[0] & /*gamesToShow*/
241
240
  16) {
242
- r = Z(
241
+ r = Q(
243
242
  /*gamesToShow*/
244
243
  o[4]
245
244
  );
246
245
  let m;
247
246
  for (m = 0; m < r.length; m += 1) {
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));
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));
250
249
  }
251
250
  for (; m < d.length; m += 1)
252
251
  d[m].d(1);
253
252
  d.length = r.length;
254
253
  }
255
- u === (u = f(o)) && g ? g.p(o, w) : (g.d(1), g = u(o), g && (g.c(), g.m(e, null)));
254
+ g === (g = p(o)) && f ? f.p(o, _) : (f.d(1), f = g(o), f && (f.c(), f.m(e, null)));
256
255
  },
257
256
  d(o) {
258
- o && k(e), De(d, o), a[24](null), g.d();
257
+ o && x(e), Be(d, o), a[24](null), f.d();
259
258
  }
260
259
  };
261
260
  }
262
- function oe(a) {
261
+ function ne(a) {
263
262
  let e, t, n, l, r, d;
264
263
  return {
265
264
  c() {
266
- e = _("div"), t = _("ui-image"), d = F(), L(t, "imgClass", "RandomGameImage"), Q(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
- x(f, e, u), h(e, t), h(e, d);
273
- },
274
- p(f, u) {
275
- u[0] & /*gamesToShow*/
276
- 16 && !Q(t.src, n = /*game*/
277
- f[41].thumbnail) && L(t, "src", n), u[0] & /*gamesToShow*/
265
+ e = w("div"), t = w("img"), d = F(), u(t, "class", "RandomGameImage"), X(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
+ k(p, e, g), h(e, t), h(e, d);
272
+ },
273
+ p(p, g) {
274
+ g[0] & /*gamesToShow*/
275
+ 16 && !X(t.src, n = /*game*/
276
+ p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
278
277
  16 && l !== (l = /*game*/
279
- f[41].name) && L(t, "alt", l), u[0] & /*gamesToShow*/
278
+ p[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
280
279
  16 && r !== (r = /*game*/
281
- f[41].name) && L(t, "title", r);
280
+ p[41].name) && u(t, "title", r);
282
281
  },
283
- d(f) {
284
- f && k(e);
282
+ d(p) {
283
+ p && x(e);
285
284
  }
286
285
  };
287
286
  }
288
- function Ze(a) {
287
+ function Qe(a) {
289
288
  let e, t = (
290
289
  /*$_*/
291
290
  a[9]("randomGameLoading") + ""
292
291
  ), n;
293
292
  return {
294
293
  c() {
295
- e = _("p"), n = S(t), p(e, "class", "RandomGameLoading");
294
+ e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
296
295
  },
297
296
  m(l, r) {
298
- x(l, e, r), h(e, n);
297
+ k(l, e, r), h(e, n);
299
298
  },
300
299
  p(l, r) {
301
300
  r[0] & /*$_*/
302
301
  512 && t !== (t = /*$_*/
303
- l[9]("randomGameLoading") + "") && T(n, t);
302
+ l[9]("randomGameLoading") + "") && L(n, t);
304
303
  },
305
304
  d(l) {
306
- l && k(e);
305
+ l && x(e);
307
306
  }
308
307
  };
309
308
  }
310
- function Qe(a) {
309
+ function Xe(a) {
311
310
  let e, t, n, l, r = (
312
311
  /*randomGame*/
313
312
  a[3].name + ""
314
- ), d, f, u, g = (
313
+ ), d, p, g, f = (
315
314
  /*randomGame*/
316
315
  a[3].vendor.name + ""
317
- ), o, w, m, c = (
316
+ ), o, _, m, c = (
318
317
  /*$_*/
319
318
  a[9]("playNowRandomGame") + ""
320
- ), s, b, W;
319
+ ), s, b, T;
321
320
  return {
322
321
  c() {
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 = S(r), f = F(), u = _("p"), o = S(g), w = F(), m = _("button"), s = S(c), p(e, "class", "RandomTryAgain"), p(l, "class", "RandomGameTitle"), p(u, "class", "RandomGameVendor"), p(m, "class", "RandomGamePlay"), p(n, "class", "RandomGameDetails");
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");
325
324
  },
326
325
  m(R, G) {
327
- x(R, e, G), x(R, t, G), x(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 = [
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 || (T = [
328
327
  D(
329
328
  e,
330
329
  "click",
@@ -342,243 +341,243 @@ function Qe(a) {
342
341
  p(R, G) {
343
342
  G[0] & /*randomGame*/
344
343
  8 && r !== (r = /*randomGame*/
345
- R[3].name + "") && T(d, r), G[0] & /*randomGame*/
346
- 8 && g !== (g = /*randomGame*/
347
- R[3].vendor.name + "") && T(o, g), G[0] & /*$_*/
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] & /*$_*/
348
347
  512 && c !== (c = /*$_*/
349
- R[9]("playNowRandomGame") + "") && T(s, c);
348
+ R[9]("playNowRandomGame") + "") && L(s, c);
350
349
  },
351
350
  d(R) {
352
- R && (k(e), k(t), k(n)), b = !1, Oe(W);
351
+ R && (x(e), x(t), x(n)), b = !1, Ie(T);
353
352
  }
354
353
  };
355
354
  }
356
- function $e(a) {
355
+ function Ze(a) {
357
356
  let e, t = (
358
357
  /*$_*/
359
358
  a[9]("playRandomGame") + ""
360
359
  ), n;
361
360
  return {
362
361
  c() {
363
- e = _("span"), n = S(t), p(e, "class", "RandomButtonText");
362
+ e = w("span"), n = S(t), u(e, "class", "RandomButtonText");
364
363
  },
365
364
  m(l, r) {
366
- x(l, e, r), h(e, n);
365
+ k(l, e, r), h(e, n);
367
366
  },
368
367
  p(l, r) {
369
368
  r[0] & /*$_*/
370
369
  512 && t !== (t = /*$_*/
371
- l[9]("playRandomGame") + "") && T(n, t);
370
+ l[9]("playRandomGame") + "") && L(n, t);
372
371
  },
373
372
  d(l) {
374
- l && k(e);
373
+ l && x(e);
375
374
  }
376
375
  };
377
376
  }
378
- function et(a) {
377
+ function $e(a) {
379
378
  let e, t;
380
379
  return {
381
380
  c() {
382
- e = _("span"), t = S(
381
+ e = w("span"), t = S(
383
382
  /*buttontext*/
384
383
  a[1]
385
- ), p(e, "class", "RandomButtonText");
384
+ ), u(e, "class", "RandomButtonText");
386
385
  },
387
386
  m(n, l) {
388
- x(n, e, l), h(e, t);
387
+ k(n, e, l), h(e, t);
389
388
  },
390
389
  p(n, l) {
391
390
  l[0] & /*buttontext*/
392
- 2 && T(
391
+ 2 && L(
393
392
  t,
394
393
  /*buttontext*/
395
394
  n[1]
396
395
  );
397
396
  },
398
397
  d(n) {
399
- n && k(e);
398
+ n && x(e);
400
399
  }
401
400
  };
402
401
  }
403
- function tt(a) {
404
- let e, t, n, l, r, d, f, u, g, o = (
402
+ function et(a) {
403
+ let e, t, n, l, r, d, p, g, f, o = (
405
404
  /*show*/
406
- a[5] && ne(a)
405
+ a[5] && ae(a)
407
406
  );
408
- function w(s, b) {
407
+ function _(s, b) {
409
408
  if (
410
409
  /*buttontext*/
411
410
  s[1]
412
411
  )
413
- return et;
412
+ return $e;
414
413
  if (!/*buttontext*/
415
414
  s[1])
416
- return $e;
415
+ return Ze;
417
416
  }
418
- let m = w(a), c = m && m(a);
417
+ let m = _(a), c = m && m(a);
419
418
  return {
420
419
  c() {
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");
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");
422
421
  },
423
422
  m(s, b) {
424
- 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*/
425
- a[0], a[28](e), f = !0, u || (g = D(
423
+ 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 = D(
426
425
  l,
427
426
  "click",
428
427
  /*click_handler_2*/
429
428
  a[27]
430
- ), u = !0);
429
+ ), g = !0);
431
430
  },
432
431
  p(s, b) {
433
432
  /*show*/
434
433
  s[5] ? o ? (o.p(s, b), b[0] & /*show*/
435
- 32 && P(o, 1)) : (o = ne(s), o.c(), P(o, 1), o.m(e, t)) : o && (ze(), E(o, 1, 1, () => {
434
+ 32 && J(o, 1)) : (o = ae(s), o.c(), J(o, 1), o.m(e, t)) : o && (ve(), U(o, 1, 1, () => {
436
435
  o = null;
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*/
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*/
438
437
  1) && (d.innerHTML = /*randombuttonicon*/
439
438
  s[0]);
440
439
  },
441
440
  i(s) {
442
- f || (P(o), f = !0);
441
+ p || (J(o), p = !0);
443
442
  },
444
443
  o(s) {
445
- E(o), f = !1;
444
+ U(o), p = !1;
446
445
  },
447
446
  d(s) {
448
- s && k(e), o && o.d(), c && c.d(), a[28](null), u = !1, g();
447
+ s && x(e), o && o.d(), c && c.d(), a[28](null), g = !1, f();
449
448
  }
450
449
  };
451
450
  }
452
- function at(a, e, t) {
451
+ function tt(a, e, t) {
453
452
  let n;
454
- Fe(a, Ae, (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 = () => {
453
+ Ce(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: T } = e, R = [], G = "", W, N = !1, P = !1, B = !1, oe = window.navigator.userAgent, M, j, q, I, E = null;
455
+ Oe({ withLocale: "en", translations: {} });
456
+ const le = () => {
458
457
  fetch(m).then((y) => y.json()).then((y) => {
459
458
  Object.keys(y).forEach((C) => {
460
- $(C, y[C]);
459
+ Z(C, y[C]);
461
460
  });
462
461
  }).catch((y) => {
463
462
  console.log(y);
464
463
  });
465
464
  };
466
- Object.keys(ee).forEach((i) => {
467
- $(i, ee[i]);
465
+ Object.keys($).forEach((i) => {
466
+ Z(i, $[i]);
468
467
  });
469
- const re = () => {
468
+ const ie = () => {
470
469
  let i = new URL(`${d}/v1/casino/games`);
471
- i.searchParams.append("platform", Be(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));
470
+ i.searchParams.append("platform", je(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));
473
472
  }).catch((y) => {
474
- console.log(y), t(7, I = !1);
473
+ console.log(y), t(7, B = !1);
475
474
  });
476
- }, se = (i) => {
477
- const y = de(i);
475
+ }, re = (i) => {
476
+ const y = me(i);
478
477
  return y.concat(y);
479
- }, me = () => O(this, null, function* () {
480
- yield He(), 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 = [
478
+ }, se = () => H(this, null, function* () {
479
+ yield ze(), I = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[I]), q = 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 = (q.offsetHeight + y) * I, ye = [
484
483
  { transform: "translateX(0px)" },
485
484
  { filter: "blur(5px)" },
486
485
  {
487
- transform: `translateY(-${B}px)`
486
+ transform: `translateY(-${z}px)`
488
487
  }
489
- ], _e = {
488
+ ], be = {
490
489
  duration: 2e3,
491
490
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
492
491
  fill: "forwards"
493
492
  };
494
- V = N.animate(be, _e), V.onfinish = () => {
495
- t(6, A = !0);
493
+ E = j.animate(ye, be), E.onfinish = () => {
494
+ t(6, P = !0);
496
495
  };
497
- }), de = (i) => {
496
+ }), me = (i) => {
498
497
  const y = structuredClone(i);
499
- let C = y.length, B;
498
+ let C = y.length, z;
500
499
  for (; C != 0; )
501
- B = Math.floor(Math.random() * C), C--, [y[C], y[B]] = [y[B], y[C]];
500
+ z = Math.floor(Math.random() * C), C--, [y[C], y[z]] = [y[z], y[C]];
502
501
  return y;
503
- }, Y = () => {
502
+ }, V = () => {
504
503
  window.postMessage(
505
504
  {
506
- type: u,
505
+ type: g,
507
506
  gameId: G.gId || G.id
508
507
  },
509
508
  window.location.href
510
- ), t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
509
+ ), t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
511
510
  context: "RandomGameWidget",
512
511
  gameId: `${G.gId || G.id}`
513
512
  });
513
+ }, de = () => {
514
+ t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
514
515
  }, ce = () => {
515
- t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: z }, window.location.href);
516
- }, ue = () => {
517
- Ee(g);
516
+ Ue(f);
518
517
  };
519
- Le(() => () => {
518
+ Fe(() => () => {
520
519
  });
521
- function ge(i) {
522
- K[i ? "unshift" : "push"](() => {
523
- N = i, t(8, N);
520
+ function ue(i) {
521
+ Y[i ? "unshift" : "push"](() => {
522
+ j = i, t(8, j);
524
523
  });
525
524
  }
526
- const fe = () => H(), pe = () => Y(), he = () => H();
527
- function ye(i) {
528
- K[i ? "unshift" : "push"](() => {
525
+ const ge = () => A(), fe = () => V(), pe = () => A();
526
+ function he(i) {
527
+ Y[i ? "unshift" : "push"](() => {
529
528
  M = i, t(2, M);
530
529
  });
531
530
  }
532
531
  return a.$$set = (i) => {
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);
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);
534
533
  }, a.$$.update = () => {
535
534
  a.$$.dirty[0] & /*lang*/
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 && Ie(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
540
- 524292 && s && M && Se(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
541
- 2097156 && M && Je(M, `${W}.Style`);
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*/
539
+ 524292 && s && M && De(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
540
+ 2097156 && M && Pe(M, `${T}.Style`);
542
541
  }, [
543
542
  o,
544
- w,
543
+ _,
545
544
  M,
546
545
  G,
547
- j,
548
- z,
549
- A,
550
- I,
546
+ W,
551
547
  N,
548
+ P,
549
+ B,
550
+ j,
552
551
  n,
553
- H,
554
- Y,
555
- ce,
552
+ A,
553
+ V,
554
+ de,
556
555
  d,
557
- f,
558
- u,
556
+ p,
559
557
  g,
558
+ f,
560
559
  m,
561
560
  c,
562
561
  s,
563
562
  b,
564
- W,
563
+ T,
565
564
  r,
566
565
  l,
566
+ ue,
567
567
  ge,
568
568
  fe,
569
569
  pe,
570
- he,
571
- ye
570
+ he
572
571
  ];
573
572
  }
574
- class nt extends Re {
573
+ class at extends Ge {
575
574
  constructor(e) {
576
- super(), xe(
575
+ super(), Re(
577
576
  this,
578
577
  e,
579
- at,
580
578
  tt,
581
- ve,
579
+ et,
580
+ xe,
582
581
  {
583
582
  endpoint: 13,
584
583
  datasource: 14,
@@ -663,7 +662,7 @@ class nt extends Re {
663
662
  this.$$set({ mbsource: e }), v();
664
663
  }
665
664
  }
666
- ke(nt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
665
+ Ae(at, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
667
666
  export {
668
- nt as default
667
+ at as default
669
668
  };