@everymatrix/casino-lobby-nd 1.98.0 → 1.98.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 (131) hide show
  1. package/components/{CasinoCalendar-ChchbF-0.js → CasinoCalendar-BqjO9Tzb.js} +3 -3
  2. package/components/{CasinoCalendar-7GzQAnq_.cjs → CasinoCalendar-D666vj2D.cjs} +1 -1
  3. package/components/{CasinoCalendar-B4WOMuhN.js → CasinoCalendar-DiMbOE60.js} +3 -3
  4. package/components/{CasinoCalendarDailyDetails-B-Tk5Zr9.js → CasinoCalendarDailyDetails-CT8azpUV.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-zUWLbmlH.cjs → CasinoCalendarDailyDetails-biuEPMx7.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-DjXZeVfA.js → CasinoCalendarDailyDetails-iasCMehI.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DIxP26Ie.js → CasinoCalendarDailyItem-C7MmoQl5.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-1iY69wgo.js → CasinoCalendarDailyItem-OTijivdf.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CySx-RKi.cjs → CasinoCalendarDailyItem-pwtvOh-2.cjs} +1 -1
  10. package/components/{CasinoCategoriesSliderNd-BtufG6Vg.js → CasinoCategoriesSliderNd-Bd4xdhma.js} +2 -2
  11. package/components/{CasinoCategoriesSliderNd-Cd0A1AB9.js → CasinoCategoriesSliderNd-DDCabxPR.js} +2 -2
  12. package/components/{CasinoCategoriesSliderNd-CDJKC5wc.cjs → CasinoCategoriesSliderNd-DWhlVPw5.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-W8_93J4u.js → CasinoCollectionsProviders-C2T26brB.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-mLzbC8c6.cjs → CasinoCollectionsProviders-CkMGV4RL.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-DNUYKOz-.js → CasinoCollectionsProviders-DVytZeq5.js} +1 -1
  16. package/components/{CasinoFavoritesSectionNd-DwegHGI8.js → CasinoFavoritesSectionNd-Byn7KC4e.js} +2 -2
  17. package/components/{CasinoFavoritesSectionNd-DcBkaB8m.cjs → CasinoFavoritesSectionNd-DWLwfr2w.cjs} +1 -1
  18. package/components/{CasinoFavoritesSectionNd-myURIhsF.js → CasinoFavoritesSectionNd-LaODQ2ZH.js} +2 -2
  19. package/components/{CasinoFilter-DPY1yxcm.js → CasinoFilter-BdYwGc90.js} +1 -1
  20. package/components/{CasinoFilter-ZHwgjVpu.cjs → CasinoFilter-DhbRcRq0.cjs} +1 -1
  21. package/components/{CasinoFilter-BQi2UYj4.js → CasinoFilter-aMnYRwX5.js} +1 -1
  22. package/components/CasinoGameThumbnailNd-CDagDjzM.js +2162 -0
  23. package/components/CasinoGameThumbnailNd-_P4-tSGl.js +2183 -0
  24. package/components/CasinoGameThumbnailNd-bF7DEFiS.cjs +30 -0
  25. package/components/{CasinoGamesCategorySectionNd-CUQWWTf9.js → CasinoGamesCategorySectionNd-BKu0il0L.js} +5 -5
  26. package/components/{CasinoGamesCategorySectionNd-iRIubIR4.cjs → CasinoGamesCategorySectionNd-BRWL0GBe.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySectionNd-Ccgb1Fxu.js → CasinoGamesCategorySectionNd-Cu7nChRw.js} +5 -5
  28. package/components/{CasinoJackpotBanner-B3mJNT4x.js → CasinoJackpotBanner-FoL2FSr3.js} +1 -1
  29. package/components/{CasinoJackpotBanner-BddC60Tw.js → CasinoJackpotBanner-t2VMt_71.js} +1 -1
  30. package/components/{CasinoJackpotBanner-CFbNhqFy.cjs → CasinoJackpotBanner-xuiEuK1y.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSectionNd-D9yHzxxV.js → CasinoLastPlayedSectionNd-C1WpK3TQ.js} +3 -3
  32. package/components/{CasinoLastPlayedSectionNd-t3ciQQMb.cjs → CasinoLastPlayedSectionNd-DickNtRh.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSectionNd-D73OpS3H.js → CasinoLastPlayedSectionNd-xvr1q8hX.js} +3 -3
  34. package/components/{CasinoLobbyNd-B2jdr_5a.cjs → CasinoLobbyNd-8zLSrjAU.cjs} +1 -1
  35. package/components/{CasinoLobbyNd-D1TAYfq8.js → CasinoLobbyNd-CukfUx02.js} +2 -2
  36. package/components/{CasinoLobbyNd-CnO9tc8w.js → CasinoLobbyNd-PJ7_7raV.js} +2 -2
  37. package/components/{CasinoMostPlayedSectionNd-Dv5lksk4.js → CasinoMostPlayedSectionNd-Bv-1sxa9.js} +3 -3
  38. package/components/{CasinoMostPlayedSectionNd-miKLk0l3.cjs → CasinoMostPlayedSectionNd-ByKp2df_.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSectionNd-BB__-39d.js → CasinoMostPlayedSectionNd-d5DIc6OV.js} +3 -3
  40. package/components/{CasinoMyGamesNd-MwwkWayK.js → CasinoMyGamesNd--HMK92fp.js} +5 -5
  41. package/components/{CasinoMyGamesNd-Bf-u1v9w.js → CasinoMyGamesNd-CWTbjron.js} +5 -5
  42. package/components/{CasinoMyGamesNd-BseAZ4Dh.cjs → CasinoMyGamesNd-CjIcx1Be.cjs} +1 -1
  43. package/components/{CasinoPageNd-Dv5L5GHU.cjs → CasinoPageNd-DKnHCvSD.cjs} +1 -1
  44. package/components/{CasinoPageNd-BuSD7Iqq.js → CasinoPageNd-VwZ-AK4G.js} +11 -11
  45. package/components/{CasinoPageNd-9eHHXFny.js → CasinoPageNd-muwnQ0gZ.js} +11 -11
  46. package/components/{CasinoRandomGame-BQxVBw6o.cjs → CasinoRandomGame-BL693Dx-.cjs} +1 -1
  47. package/components/{CasinoRandomGame-DWa4r48E.js → CasinoRandomGame-C958jRn7.js} +1 -1
  48. package/components/{CasinoRandomGame-C5Gblj81.js → CasinoRandomGame-iYoo2nnp.js} +1 -1
  49. package/components/{CasinoSearchNd-B_JsPJ1K.js → CasinoSearchNd-1zQ51QOU.js} +77 -75
  50. package/components/{CasinoSearchNd-DnofnOkj.js → CasinoSearchNd-C-XxDf6m.js} +121 -118
  51. package/components/CasinoSearchNd-pf7W87RB.cjs +1 -0
  52. package/components/{CasinoSliderNd-DedCceuy.js → CasinoSliderNd-6KEsqkgQ.js} +1 -1
  53. package/components/{CasinoSliderNd-C6BodHm-.cjs → CasinoSliderNd-BporICky.cjs} +1 -1
  54. package/components/{CasinoSliderNd-CXpTX91e.js → CasinoSliderNd-C5hVeYyM.js} +1 -1
  55. package/components/{CasinoSort-CW3VWTeg.cjs → CasinoSort-BQSSofiM.cjs} +1 -1
  56. package/components/{CasinoSort-5803GiVm.js → CasinoSort-CyUQJ2uI.js} +1 -1
  57. package/components/{CasinoSort-BFnfE9Z4.js → CasinoSort-pEpm3uhk.js} +1 -1
  58. package/components/{CasinoWinners-Cjc6JIRt.js → CasinoWinners-CG-M3tOg.js} +4 -4
  59. package/components/{CasinoWinners-D8w68mM9.cjs → CasinoWinners-CUuYLa-z.cjs} +1 -1
  60. package/components/{CasinoWinners-BbF0KTLF.js → CasinoWinners-Cmawdjen.js} +4 -4
  61. package/components/{GeneralAnimationLoading-Dn1AmXoE.cjs → GeneralAnimationLoading-De4z4RGq.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-cidbFzhQ.js → GeneralAnimationLoading-Y_IIPgXh.js} +1 -1
  63. package/components/{GeneralAnimationLoading-gigz1_mT.js → GeneralAnimationLoading-ZhtPpCiB.js} +1 -1
  64. package/es2015/casino-lobby-nd.cjs +1 -1
  65. package/es2015/casino-lobby-nd.js +1 -1
  66. package/esnext/casino-lobby-nd.js +1 -1
  67. package/lazy/{casino-calendar-CWP3U5By.cjs → casino-calendar-Cow2ugo8.cjs} +1 -1
  68. package/lazy/{casino-calendar-B1W197WD.js → casino-calendar-D7vq9rWD.js} +1 -1
  69. package/lazy/{casino-calendar-CX-bi3So.js → casino-calendar-DeX-mJzf.js} +1 -1
  70. package/lazy/{casino-calendar-daily-details-DWIPOwvF.js → casino-calendar-daily-details-BHYV1c5B.js} +1 -1
  71. package/lazy/{casino-calendar-daily-details-BYbOOpxI.js → casino-calendar-daily-details-DXWv3_0i.js} +1 -1
  72. package/lazy/{casino-calendar-daily-details-75A_tolt.cjs → casino-calendar-daily-details-kvyU6nHH.cjs} +1 -1
  73. package/lazy/{casino-calendar-daily-item-CdC0D8kN.js → casino-calendar-daily-item-Cq_bM_CQ.js} +1 -1
  74. package/lazy/{casino-calendar-daily-item-C6G1sO1u.js → casino-calendar-daily-item-nnesyDtG.js} +1 -1
  75. package/lazy/{casino-calendar-daily-item-iVX8PS6r.cjs → casino-calendar-daily-item-noqUjRyL.cjs} +1 -1
  76. package/lazy/{casino-categories-slider-nd-CyOGGKCp.cjs → casino-categories-slider-nd-8c3KHppN.cjs} +1 -1
  77. package/lazy/{casino-categories-slider-nd-CiFv_LOc.js → casino-categories-slider-nd-Cds4jPZp.js} +1 -1
  78. package/lazy/{casino-categories-slider-nd-CwQqfgGQ.js → casino-categories-slider-nd-Cii0DU1Z.js} +1 -1
  79. package/lazy/{casino-collections-providers-CqkJyF0b.cjs → casino-collections-providers-COKfxPuf.cjs} +1 -1
  80. package/lazy/{casino-collections-providers-Cs7KNIcq.js → casino-collections-providers-CWP7Mx8J.js} +1 -1
  81. package/lazy/{casino-collections-providers-fRFIrkLy.js → casino-collections-providers-Dh31rHoN.js} +1 -1
  82. package/lazy/{casino-favorites-section-nd-Ci4Y1z9q.cjs → casino-favorites-section-nd-DckBeyDq.cjs} +1 -1
  83. package/lazy/{casino-favorites-section-nd-DOjjuQuj.js → casino-favorites-section-nd-DvIfHlCL.js} +1 -1
  84. package/lazy/{casino-favorites-section-nd-b4OSYyzf.js → casino-favorites-section-nd-ecIPt94v.js} +1 -1
  85. package/lazy/{casino-filter-zNZwO-ZG.cjs → casino-filter-ByrXX6te.cjs} +1 -1
  86. package/lazy/{casino-filter-DFHVzQI2.js → casino-filter-DDAXU5RT.js} +1 -1
  87. package/lazy/{casino-filter-B0R_zX7U.js → casino-filter-Dn4h-GJL.js} +1 -1
  88. package/lazy/{casino-game-thumbnail-nd-DqZoPdaI.cjs → casino-game-thumbnail-nd-B9fhgfs7.cjs} +1 -1
  89. package/lazy/{casino-game-thumbnail-nd-QDv8aA9P.js → casino-game-thumbnail-nd-BPN9ixYg.js} +1 -1
  90. package/lazy/{casino-game-thumbnail-nd-D4u7P__1.js → casino-game-thumbnail-nd-DzVHeUGS.js} +1 -1
  91. package/lazy/{casino-games-category-section-nd-DTeokK8u.js → casino-games-category-section-nd-1z2iiv8H.js} +1 -1
  92. package/lazy/{casino-games-category-section-nd-B8wu_0Yg.js → casino-games-category-section-nd-BdTQqdm4.js} +1 -1
  93. package/lazy/{casino-games-category-section-nd-CwQGQqLX.cjs → casino-games-category-section-nd-DxTEoO4D.cjs} +1 -1
  94. package/lazy/{casino-jackpot-banner-BVc1mXrA.js → casino-jackpot-banner-B-mdMtvM.js} +1 -1
  95. package/lazy/{casino-jackpot-banner-BMVi52Th.cjs → casino-jackpot-banner-DpGyRYod.cjs} +1 -1
  96. package/lazy/{casino-jackpot-banner-DwEnuWIA.js → casino-jackpot-banner-GjkRmw2V.js} +1 -1
  97. package/lazy/{casino-last-played-section-nd-DwFyFcHc.js → casino-last-played-section-nd-CItF38R9.js} +1 -1
  98. package/lazy/{casino-last-played-section-nd-CTqct2bG.cjs → casino-last-played-section-nd-CJA3WWtc.cjs} +1 -1
  99. package/lazy/{casino-last-played-section-nd-Bc36pMev.js → casino-last-played-section-nd-DeXoFja8.js} +1 -1
  100. package/lazy/{casino-most-played-section-nd-kCm-7mo2.js → casino-most-played-section-nd-Duby29eq.js} +1 -1
  101. package/lazy/{casino-most-played-section-nd-Z4NVJDye.cjs → casino-most-played-section-nd-HIS2PNuM.cjs} +1 -1
  102. package/lazy/{casino-most-played-section-nd-C1FN9XMv.js → casino-most-played-section-nd-sKkQa4vv.js} +1 -1
  103. package/lazy/{casino-my-games-nd-BxkBFWD7.js → casino-my-games-nd-C9feWqm6.js} +1 -1
  104. package/lazy/{casino-my-games-nd-DFno_PCT.js → casino-my-games-nd-aspzpvUC.js} +1 -1
  105. package/lazy/{casino-my-games-nd-BZPEGAMm.cjs → casino-my-games-nd-qOqpEeXz.cjs} +1 -1
  106. package/lazy/{casino-page-nd-Bpmufnlh.js → casino-page-nd-BxO9S7EI.js} +1 -1
  107. package/lazy/{casino-page-nd-CMB8VEmj.js → casino-page-nd-DkSNE6Qy.js} +1 -1
  108. package/lazy/{casino-page-nd-Blc4uMxa.cjs → casino-page-nd-DvUGrfiN.cjs} +1 -1
  109. package/lazy/{casino-random-game-BtjpmO9S.js → casino-random-game-BHaDNQD3.js} +1 -1
  110. package/lazy/{casino-random-game-DAHnqdoH.cjs → casino-random-game-Cnv8fJ6O.cjs} +1 -1
  111. package/lazy/{casino-random-game-BRjBtnna.js → casino-random-game-ryqJN2WK.js} +1 -1
  112. package/lazy/{casino-search-nd-C2LhRkFz.js → casino-search-nd-CI2cqgz-.js} +1 -1
  113. package/lazy/{casino-search-nd-D7rRDVx1.js → casino-search-nd-DVKbsMvn.js} +1 -1
  114. package/lazy/{casino-search-nd-BlacJQoJ.cjs → casino-search-nd-uMdo-Q2I.cjs} +1 -1
  115. package/lazy/{casino-slider-nd-B4HuWboH.cjs → casino-slider-nd-BHIu7CEz.cjs} +1 -1
  116. package/lazy/{casino-slider-nd-CBz0H5rU.js → casino-slider-nd-BQ31afX5.js} +1 -1
  117. package/lazy/{casino-slider-nd-wC4GpOUY.js → casino-slider-nd-DMzLpM46.js} +1 -1
  118. package/lazy/{casino-sort-B-xga9vr.js → casino-sort-DCuUh6xi.js} +1 -1
  119. package/lazy/{casino-sort-BM7KcacI.js → casino-sort-_w3jeeVi.js} +1 -1
  120. package/lazy/{casino-sort-BtYmpG9b.cjs → casino-sort-udK-Yx-n.cjs} +1 -1
  121. package/lazy/{casino-winners-BkxCBwQ4.cjs → casino-winners-BQ91O5Fq.cjs} +1 -1
  122. package/lazy/{casino-winners-Dmltztrt.js → casino-winners-D0dcEO1j.js} +1 -1
  123. package/lazy/{casino-winners-Bpz1RO6K.js → casino-winners-KxZpTh3V.js} +1 -1
  124. package/lazy/{general-animation-loading-CeazyNSG.js → general-animation-loading-B4miX_Ae.js} +1 -1
  125. package/lazy/{general-animation-loading-BszcMFGS.js → general-animation-loading-D8l4Y2ZL.js} +1 -1
  126. package/lazy/{general-animation-loading-DYGP6RoC.cjs → general-animation-loading-DQJ4M7EX.cjs} +1 -1
  127. package/package.json +1 -1
  128. package/components/CasinoGameThumbnailNd-BJS76Jln.cjs +0 -30
  129. package/components/CasinoGameThumbnailNd-BzXX9Lwd.js +0 -2035
  130. package/components/CasinoGameThumbnailNd-CDHCX0xc.js +0 -2014
  131. package/components/CasinoSearchNd-Bu6yfWKZ.cjs +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-B2jdr_5a.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function re(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function ie(n){e.append_styles(n,"svelte-kfgfhx","*,*::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}.CasinoPlayRandomGameWrapper{min-height:0}.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, #22B04E));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{margin:5px 0;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, #22B04E));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, #22B04E));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}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||de();function _(d,y){return d[7]?ce:me}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,se):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function me(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ce(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(P(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function pe(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.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));}
1
+ "use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-8zLSrjAU.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function re(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function ie(n){e.append_styles(n,"svelte-kfgfhx","*,*::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}.CasinoPlayRandomGameWrapper{min-height:0}.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, #22B04E));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{margin:5px 0;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, #22B04E));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, #22B04E));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}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||de();function _(d,y){return d[7]?ce:me}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,se):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function me(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ce(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(P(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function pe(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.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));}
2
2
  </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>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],y=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function ge(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function fe(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function he(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&A(n);function _(d,y){if(d[1])return fe;if(!d[1])return ge}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=A(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[28](null),p=!1,g()}}}function ye(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,C=!1,O=window.navigator.userAgent,G,v,j,L,E,N=null;le({withLocale:"en",translations:{}});const q=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{z(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{z(i,I[i])});const U=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=V(w.slice(0,19))),a(7,C=!0)):(a(4,k=[]),a(7,C=!1))}).catch(h=>{console.log(h),a(7,C=!1)})},V=i=>{const h=X(i);return h.concat(h)},Y=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield Y();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,F=(j.offsetHeight+h)*L,ne=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${F}px)`}],oe={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ne,oe),N.onfinish=()=>{a(6,S=!0)}}),X=i=>{const h=structuredClone(i);let x=h.length,F;for(;x!=0;)F=Math.floor(Math.random()*x),x--,[h[x],h[F]]=[h[F],h[x]];return h},B=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},Z=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},K=()=>{re(g)};e.onMount(()=>()=>{});function Q(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const $=()=>T(),ee=()=>B(),te=()=>T();function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&K(),n.$$.dirty[0]&131072&&m&&q(),n.$$.dirty[0]&24576&&c&&f&&U(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`,E)},[l,_,G,b,k,M,S,C,v,o,T,B,Z,c,f,p,g,m,u,d,y,R,s,r,Q,$,ee,te,ae]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ye,he,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},ie,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
@@ -14,7 +14,7 @@ var H = (a, e, t) => new Promise((n, l) => {
14
14
  }, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, c);
15
15
  p((t = t.apply(a, e)).next());
16
16
  });
17
- import { v as E, w as _e, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, x as O, y as P, F as Me, z as Fe, c as k, m as h, I as J, e as w, E as C, g as u, h as Ce, o as Le, O as Se, P as We, Q as Te, R as je, j as Ne, k as V, C as L, D as S, u as Be, J as X, W as ze, n as Ie, X as Q, Y as Z, L as Pe, p as Je, q as Ae, r as De, t as He, $ as Ee } from "./CasinoLobbyNd-D1TAYfq8.js";
17
+ import { v as E, w as _e, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, x as O, y as P, F as Me, z as Fe, c as k, m as h, I as J, e as w, E as C, g as u, h as Ce, o as Le, O as Se, P as We, Q as Te, R as je, j as Ne, k as V, C as L, D as S, u as Be, J as X, W as ze, n as Ie, X as Q, Y as Z, L as Pe, p as Je, q as Ae, r as De, t as He, $ as Ee } from "./CasinoLobbyNd-CukfUx02.js";
18
18
  function Oe({ withLocale: a, translations: e }) {
19
19
  E.subscribe((t) => {
20
20
  t == null && (_e.set(e), E.set(a));
@@ -1,4 +1,4 @@
1
- import { v as H, w as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, x as E, y as P, G as ve, z as Me, e as k, p as h, J, g as w, F as C, h as u, j as Fe, o as Ce, P as Le, Q as Se, R as Te, T as We, k as je, l as q, D as L, E as S, u as Ne, K as V, X as Be, n as ze, Y as X, Z, M as Ie, q as Pe, r as Je, t as Ae, c as De, $ as He } from "./CasinoLobbyNd-CnO9tc8w.js";
1
+ import { v as H, w as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, x as E, y as P, G as ve, z as Me, e as k, p as h, J, g as w, F as C, h as u, j as Fe, o as Ce, P as Le, Q as Se, R as Te, T as We, k as je, l as q, D as L, E as S, u as Ne, K as V, X as Be, n as ze, Y as X, Z, M as Ie, q as Pe, r as Je, t as Ae, c as De, $ as He } from "./CasinoLobbyNd-PJ7_7raV.js";
2
2
  function Ee({ withLocale: a, translations: e }) {
3
3
  H.subscribe((t) => {
4
4
  t == null && (we.set(e), H.set(a));
@@ -1,7 +1,7 @@
1
- import { a as ta, v as na, S as ra, i as oa, s as sa, f as k, b as ia, n as _e, d as T, M as la, h as f, a1 as be, k as se, e as x, p as S, J as K, g as R, F as N, Y as ve, j as ca, o as ua, D as U, E as V, l as ke, K as ye, L as ha, W as da, H as Ee, m as u, q as ga, r as ma, t as fa, c as pa, $ as Sa } from "./CasinoLobbyNd-CnO9tc8w.js";
2
- import { a as Re, i as wa, b as _a, d as ba } from "./CasinoGamesCategorySectionNd-Ccgb1Fxu.js";
3
- import "../lazy/casino-game-thumbnail-nd-D4u7P__1.js";
4
- import { g as va } from "./CasinoCategoriesSliderNd-Cd0A1AB9.js";
1
+ import { a as ta, v as na, S as ra, i as oa, s as sa, f as k, b as ia, n as _e, d as I, M as la, h as f, a1 as be, k as se, e as x, p as S, J as K, g as R, F as N, Y as ve, j as ca, o as ua, D as U, E as V, l as ke, K as ye, L as ha, W as da, H as Ee, m as u, q as ga, r as ma, t as fa, c as pa, $ as Sa } from "./CasinoLobbyNd-PJ7_7raV.js";
2
+ import { a as Re, i as wa, b as _a, d as ba } from "./CasinoGamesCategorySectionNd-Cu7nChRw.js";
3
+ import "../lazy/casino-game-thumbnail-nd-DzVHeUGS.js";
4
+ import { g as va } from "./CasinoCategoriesSliderNd-DDCabxPR.js";
5
5
  function ka(n, e) {
6
6
  ta(n, e);
7
7
  }
@@ -224,7 +224,7 @@ function Fe(n) {
224
224
  (i[18] ? "NotVisible" : "")) && f(e, "class", o);
225
225
  },
226
226
  d(i) {
227
- i && T(e), l = !1, s();
227
+ i && I(e), l = !1, s();
228
228
  }
229
229
  };
230
230
  }
@@ -245,7 +245,7 @@ function Fa(n) {
245
245
  }
246
246
  let s = l(n), i = s && s(n), c = (
247
247
  /*searchCancelled*/
248
- n[18] === !1 && xe(n)
248
+ n[18] === !1 && Ie(n)
249
249
  ), d = (
250
250
  /*searchValue*/
251
251
  n[16].length >= 2 && /*searchArray*/
@@ -261,14 +261,14 @@ function Fa(n) {
261
261
  },
262
262
  p(h, m) {
263
263
  s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
264
- h[18] === !1 ? c ? c.p(h, m) : (c = xe(h), c.c(), c.m(a, r)) : c && (c.d(1), c = null), /*searchValue*/
264
+ h[18] === !1 ? c ? c.p(h, m) : (c = Ie(h), c.c(), c.m(a, r)) : c && (c.d(1), c = null), /*searchValue*/
265
265
  h[16].length >= 2 && /*searchArray*/
266
266
  h[15].length == 0 ? d ? d.p(h, m) : (d = je(h), d.c(), d.m(a, null)) : d && (d.d(1), d = null), m[0] & /*searchActive*/
267
267
  524288 && o !== (o = "SearchResultsContainer " + /*searchActive*/
268
268
  (h[19] == !0 ? "" : "NotVisible")) && f(a, "class", o);
269
269
  },
270
270
  d(h) {
271
- h && (T(e), T(a)), i && i.d(h), c && c.d(), d && d.d();
271
+ h && (I(e), I(a)), i && i.d(h), c && c.d(), d && d.d();
272
272
  }
273
273
  };
274
274
  }
@@ -290,7 +290,7 @@ function La(n) {
290
290
  o[23]("loading") + "") && U(r, a);
291
291
  },
292
292
  d(o) {
293
- o && T(e);
293
+ o && I(e);
294
294
  }
295
295
  };
296
296
  }
@@ -312,7 +312,7 @@ function Ga(n) {
312
312
  o[23]("searchResult") + "") && U(r, a);
313
313
  },
314
314
  d(o) {
315
- o && T(e);
315
+ o && I(e);
316
316
  }
317
317
  };
318
318
  }
@@ -337,7 +337,7 @@ function Ta(n) {
337
337
  l[15].length == 0 ? o ? o.p(l, s) : (o = Ge(l), o.c(), o.m(a.parentNode, a)) : o && (o.d(1), o = null);
338
338
  },
339
339
  d(l) {
340
- l && (T(e), T(a)), r && r.d(l), o && o.d(l);
340
+ l && (I(e), I(a)), r && r.d(l), o && o.d(l);
341
341
  }
342
342
  };
343
343
  }
@@ -359,7 +359,7 @@ function Le(n) {
359
359
  o[23]("recentSearch") + "") && U(r, a);
360
360
  },
361
361
  d(o) {
362
- o && T(e);
362
+ o && I(e);
363
363
  }
364
364
  };
365
365
  }
@@ -388,7 +388,7 @@ function Ge(n) {
388
388
  (c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
389
389
  },
390
390
  d(c) {
391
- c && T(e), i && i.d();
391
+ c && I(e), i && i.d();
392
392
  }
393
393
  };
394
394
  }
@@ -402,11 +402,11 @@ function Te(n) {
402
402
  x(a, e, r);
403
403
  },
404
404
  d(a) {
405
- a && T(e);
405
+ a && I(e);
406
406
  }
407
407
  };
408
408
  }
409
- function xe(n) {
409
+ function Ie(n) {
410
410
  let e = [], a = /* @__PURE__ */ new Map(), r, o = ye(
411
411
  /*searchArray*/
412
412
  n[15]
@@ -417,7 +417,7 @@ function xe(n) {
417
417
  );
418
418
  for (let s = 0; s < o.length; s += 1) {
419
419
  let i = Ce(n, o, s), c = l(i);
420
- a.set(c, e[s] = Ie(c, i));
420
+ a.set(c, e[s] = xe(c, i));
421
421
  }
422
422
  return {
423
423
  c() {
@@ -435,17 +435,17 @@ function xe(n) {
435
435
  308319231 && (o = ye(
436
436
  /*searchArray*/
437
437
  s[15]
438
- ), e = ha(e, i, l, 1, s, o, a, r.parentNode, da, Ie, r, Ce));
438
+ ), e = ha(e, i, l, 1, s, o, a, r.parentNode, da, xe, r, Ce));
439
439
  },
440
440
  d(s) {
441
- s && T(r);
441
+ s && I(r);
442
442
  for (let i = 0; i < e.length; i += 1)
443
443
  e[i].d(s);
444
444
  }
445
445
  };
446
446
  }
447
- function Ie(n, e) {
448
- let a, r, o, l, s, i, c, d, h, m, b, G, I, P;
447
+ function xe(n, e) {
448
+ let a, r, o, l, s, i, c, d, h, m, b, G, j, P;
449
449
  return {
450
450
  key: n,
451
451
  first: null,
@@ -486,7 +486,7 @@ function Ie(n, e) {
486
486
  e[69]?.icons
487
487
  )), u(a, "gamename", s = /*game*/
488
488
  e[69].name), u(a, "gamevendor", i = /*game*/
489
- e[69].vendor.name), u(a, "gameLaunchUrl", c = /*game*/
489
+ e[69].vendor?.name), u(a, "gameLaunchUrl", c = /*game*/
490
490
  e[69].launchUrl), u(a, "gameisnew", d = /*game*/
491
491
  e[69].isNew), u(a, "gametag", h = /*game*/
492
492
  e[69].advancedTags?.length > 0 && /*addGameTag*/
@@ -501,7 +501,7 @@ function Ie(n, e) {
501
501
  /*showgamename*/
502
502
  e[7]
503
503
  ), u(a, "gamefunmode", G = /*game*/
504
- e[69].hasFunMode), u(a, "gamefavorite", I = /*game*/
504
+ e[69].hasFunMode), u(a, "gamefavorite", j = /*game*/
505
505
  e[69].isFavorite), u(a, "livelobbyendpoint", P = /*game*/
506
506
  e[69].details ? (
507
507
  /*game*/
@@ -543,11 +543,11 @@ function Ie(n, e) {
543
543
  e[12]
544
544
  ), this.first = a;
545
545
  },
546
- m(L, p) {
547
- x(L, a, p);
546
+ m(F, p) {
547
+ x(F, a, p);
548
548
  },
549
- p(L, p) {
550
- e = L, p[0] & /*searchArray*/
549
+ p(F, p) {
550
+ e = F, p[0] & /*searchArray*/
551
551
  32768 && r !== (r = "game-tile-" + /*game*/
552
552
  (e[69].cellSize ? (
553
553
  /*game*/
@@ -593,7 +593,7 @@ function Ie(n, e) {
593
593
  32768 && s !== (s = /*game*/
594
594
  e[69].name) && u(a, "gamename", s), p[0] & /*searchArray*/
595
595
  32768 && i !== (i = /*game*/
596
- e[69].vendor.name) && u(a, "gamevendor", i), p[0] & /*searchArray*/
596
+ e[69].vendor?.name) && u(a, "gamevendor", i), p[0] & /*searchArray*/
597
597
  32768 && c !== (c = /*game*/
598
598
  e[69].launchUrl) && u(a, "gameLaunchUrl", c), p[0] & /*searchArray*/
599
599
  32768 && d !== (d = /*game*/
@@ -616,8 +616,8 @@ function Ie(n, e) {
616
616
  ), p[0] & /*searchArray*/
617
617
  32768 && G !== (G = /*game*/
618
618
  e[69].hasFunMode) && u(a, "gamefunmode", G), p[0] & /*searchArray*/
619
- 32768 && I !== (I = /*game*/
620
- e[69].isFavorite) && u(a, "gamefavorite", I), p[0] & /*searchArray*/
619
+ 32768 && j !== (j = /*game*/
620
+ e[69].isFavorite) && u(a, "gamefavorite", j), p[0] & /*searchArray*/
621
621
  32768 && P !== (P = /*game*/
622
622
  e[69].details ? (
623
623
  /*game*/
@@ -666,8 +666,8 @@ function Ie(n, e) {
666
666
  e[12]
667
667
  );
668
668
  },
669
- d(L) {
670
- L && T(a);
669
+ d(F) {
670
+ F && I(a);
671
671
  }
672
672
  };
673
673
  }
@@ -701,7 +701,7 @@ function je(n) {
701
701
  (b[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
702
702
  },
703
703
  d(b) {
704
- b && T(e), m && m.d();
704
+ b && I(e), m && m.d();
705
705
  }
706
706
  };
707
707
  }
@@ -715,12 +715,12 @@ function ze(n) {
715
715
  x(a, e, r);
716
716
  },
717
717
  d(a) {
718
- a && T(e);
718
+ a && I(e);
719
719
  }
720
720
  };
721
721
  }
722
- function xa(n) {
723
- let e, a, r, o, l, s, i, c, d, h, m, b, G, I, P, L, p, J, H, A, Y, C = (
722
+ function Ia(n) {
723
+ let e, a, r, o, l, s, i, c, d, h, m, b, G, j, P, F, p, J, H, A, Y, C = (
724
724
  /*cancelbutton*/
725
725
  n[10] === "true" && Fe(n)
726
726
  );
@@ -730,14 +730,14 @@ function xa(n) {
730
730
  w[20] ? La : Fa
731
731
  );
732
732
  }
733
- let O = Q(n), j = O(n);
733
+ let O = Q(n), z = O(n);
734
734
  return {
735
735
  c() {
736
- e = R("div"), a = R("div"), r = R("div"), o = R("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = R("input"), c = N(), d = R("span"), h = ve("svg"), m = ve("path"), G = N(), C && C.c(), P = N(), L = R("div"), J = N(), j.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
736
+ e = R("div"), a = R("div"), r = R("div"), o = R("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = R("input"), c = N(), d = R("span"), h = ve("svg"), m = ve("path"), G = N(), C && C.c(), P = N(), F = R("div"), J = N(), z.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
737
737
  n[23]("placeHolderSearchGames")), f(s, "maxlength", Ne), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(d, "class", b = "SearchClearButton " + /*cancelbutton*/
738
738
  (n[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
739
- (n[16].length != 0 ? "" : "NotVisible")), f(r, "class", I = "Search " + /*searchCancelled*/
740
- (n[18] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(L, "class", p = /*cancelbutton*/
739
+ (n[16].length != 0 ? "" : "NotVisible")), f(r, "class", j = "Search " + /*searchCancelled*/
740
+ (n[18] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(F, "class", p = /*cancelbutton*/
741
741
  n[10] != "true" ? "OverlayCancel" : ""), f(e, "class", H = (se(
742
742
  /*userAgent*/
743
743
  n[24]
@@ -749,7 +749,7 @@ function xa(n) {
749
749
  s,
750
750
  /*searchValue*/
751
751
  n[16]
752
- ), n[42](s), S(r, c), S(r, d), S(d, h), S(h, m), S(r, G), C && C.m(r, null), S(e, P), S(e, L), S(e, J), j.m(e, null), n[45](e), A || (Y = [
752
+ ), n[42](s), S(r, c), S(r, d), S(d, h), S(h, m), S(r, G), C && C.m(r, null), S(e, P), S(e, F), S(e, J), z.m(e, null), n[45](e), A || (Y = [
753
753
  K(
754
754
  s,
755
755
  "input",
@@ -775,7 +775,7 @@ function xa(n) {
775
775
  n[43]
776
776
  ),
777
777
  K(
778
- L,
778
+ F,
779
779
  "click",
780
780
  /*handleOverlay*/
781
781
  n[27]
@@ -796,10 +796,10 @@ function xa(n) {
796
796
  (w[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
797
797
  (w[16].length != 0 ? "" : "NotVisible")) && f(d, "class", b), /*cancelbutton*/
798
798
  w[10] === "true" ? C ? C.p(w, y) : (C = Fe(w), C.c(), C.m(r, null)) : C && (C.d(1), C = null), y[0] & /*searchCancelled*/
799
- 262144 && I !== (I = "Search " + /*searchCancelled*/
800
- (w[18] ? "" : "SearchAnimation")) && f(r, "class", I), y[0] & /*cancelbutton*/
799
+ 262144 && j !== (j = "Search " + /*searchCancelled*/
800
+ (w[18] ? "" : "SearchAnimation")) && f(r, "class", j), y[0] & /*cancelbutton*/
801
801
  1024 && p !== (p = /*cancelbutton*/
802
- w[10] != "true" ? "OverlayCancel" : "") && f(L, "class", p), O === (O = Q(w)) && j ? j.p(w, y) : (j.d(1), j = O(w), j && (j.c(), j.m(e, null))), y[0] & /*enablesearchcontainergrid*/
802
+ w[10] != "true" ? "OverlayCancel" : "") && f(F, "class", p), O === (O = Q(w)) && z ? z.p(w, y) : (z.d(1), z = O(w), z && (z.c(), z.m(e, null))), y[0] & /*enablesearchcontainergrid*/
803
803
  8192 && H !== (H = (se(
804
804
  /*userAgent*/
805
805
  w[24]
@@ -809,23 +809,23 @@ function xa(n) {
809
809
  i: _e,
810
810
  o: _e,
811
811
  d(w) {
812
- w && T(e), n[42](null), C && C.d(), j.d(), n[45](null), A = !1, la(Y);
812
+ w && I(e), n[42](null), C && C.d(), z.d(), n[45](null), A = !1, la(Y);
813
813
  }
814
814
  };
815
815
  }
816
816
  let Ne = 50;
817
- function Ia(n, e, a) {
817
+ function xa(n, e, a) {
818
818
  let r;
819
819
  ca(n, Sa, (t) => a(23, r = t));
820
- let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: d } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: G = "false" } = e, { showgamename: I = "" } = e, { gamepagemodalurl: P = "true" } = e, { translationurl: L = "" } = e, { showfavorites: p = "" } = e, { cancelbutton: J = "true" } = e, { notfoundicon: H = "false" } = e, { controlchannel: A = "casino-search" } = e, { allowedorigins: Y = window.location.origin } = e, { requiredicon: C = "false" } = e, { allowsingleclickgameentry: Q = "false" } = e, { enablesearchcontainergrid: O = "false" } = e;
821
- const j = () => (Y || "").split(",").map((t) => t.trim()).filter(Boolean);
820
+ let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: d } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: G = "false" } = e, { showgamename: j = "" } = e, { gamepagemodalurl: P = "true" } = e, { translationurl: F = "" } = e, { showfavorites: p = "" } = e, { cancelbutton: J = "true" } = e, { notfoundicon: H = "false" } = e, { controlchannel: A = "casino-search" } = e, { allowedorigins: Y = window.location.origin } = e, { requiredicon: C = "false" } = e, { allowsingleclickgameentry: Q = "false" } = e, { enablesearchcontainergrid: O = "false" } = e;
821
+ const z = () => (Y || "").split(",").map((t) => t.trim()).filter(Boolean);
822
822
  let w = window.navigator.userAgent, y = [], B = [], ie = {}, D = "", X, te = !0, q = !1, E = !1, M, $, Pe, ne = !1, re, oe, de = [];
823
823
  const le = (t) => {
824
824
  Object.keys(t).forEach((g) => {
825
825
  ka(g, t[g]);
826
826
  });
827
827
  }, De = () => {
828
- fetch(L).then((g) => g.json()).then((g) => {
828
+ fetch(F).then((g) => g.json()).then((g) => {
829
829
  le(g);
830
830
  }).catch((g) => {
831
831
  console.log(g);
@@ -835,7 +835,7 @@ function Ia(n, e, a) {
835
835
  const ge = (t) => {
836
836
  t.data && t.data.type == "SearchedItemClicked" && Je(t.data.gameId), t.data.type == "UserSessionID" && (a(21, re = t.data.session), a(22, oe = t.data.userid), a(40, ne = !0)), t.data.type == "CategoryChange" && ae();
837
837
  try {
838
- const g = t.origin === window.location.origin, _ = j();
838
+ const g = t.origin === window.location.origin, _ = z();
839
839
  if (!(g || _.length > 0 && _.includes(t.origin)) || !t.data || t.data.channel !== A)
840
840
  return;
841
841
  switch (t.data.type) {
@@ -859,17 +859,17 @@ function Ia(n, e, a) {
859
859
  a(15, y = []);
860
860
  let t = localStorage.getItem("searchedGamesWds_casino"), g = [];
861
861
  t && (g = t.split(","));
862
- let _ = [], v = 0, F = g.length;
863
- if (F > 0) {
864
- for (v = 0; v < F; v++) {
865
- let z = new URL(`${o}/v1/casino/games/${g[v]}`);
866
- z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", se(w)), _.push(Oe(z, g[v]));
862
+ let _ = [], v = 0, T = g.length;
863
+ if (T > 0) {
864
+ for (v = 0; v < T; v++) {
865
+ let L = new URL(`${o}/v1/casino/games/${g[v]}`);
866
+ L.searchParams.append("language", c), L.searchParams.append("datasource", l), L.searchParams.append("platform", se(w)), _.push(Oe(L, g[v]));
867
867
  }
868
- Promise.all(_).then((z) => {
869
- z = z.filter(function(W) {
868
+ Promise.all(_).then((L) => {
869
+ L = L.filter(function(W) {
870
870
  return !!W;
871
- }), a(15, y = z.map((W) => (W.isFavorite = fe(W.id), W))), y.length ? ee("searchSuccess", "SearchWidget") : ee("searchFail", "SearchWidget");
872
- }).catch((z) => {
871
+ }), a(15, y = L.map((W) => (W.isFavorite = fe(W.id), W))), y.length ? ee("searchSuccess", "SearchWidget") : ee("searchFail", "SearchWidget");
872
+ }).catch((L) => {
873
873
  ee("searchError", "SearchWidget");
874
874
  });
875
875
  }
@@ -907,18 +907,20 @@ function Ia(n, e, a) {
907
907
  _(v);
908
908
  });
909
909
  }), Oe = (t, g) => new Promise((_, v) => {
910
- a(20, E = !0), g && Object.keys(ie).indexOf(g) >= 0 ? (a(20, E = !1), _(ie[g])) : fetch(t).then((F) => F.json()).then((F) => {
911
- a(20, E = !1), F.error || (ie[F[0].gameId] = F[0]), _(F[0]);
912
- }).catch((F) => {
913
- a(20, E = !1), console.error(F);
910
+ a(20, E = !0), g && Object.keys(ie).indexOf(g) >= 0 ? (a(20, E = !1), _(ie[g])) : fetch(t).then((T) => T.json()).then((T) => {
911
+ a(20, E = !1);
912
+ const L = T?.[0]?.gameId ? T[0] : null;
913
+ L && (ie[L.gameId] = L), _(L);
914
+ }).catch((T) => {
915
+ a(20, E = !1), console.error(T);
914
916
  try {
915
917
  Z({
916
918
  type: "SearchError",
917
- message: String(F)
919
+ message: String(T)
918
920
  });
919
921
  } catch {
920
922
  }
921
- v(F);
923
+ v(T);
922
924
  });
923
925
  }), We = () => {
924
926
  const t = new URL(`${o}/v1/player/${oe}/favorites/`);
@@ -936,10 +938,10 @@ function Ia(n, e, a) {
936
938
  if (t?.length === 0)
937
939
  return "";
938
940
  let g, _ = 99999999999, v;
939
- const F = new Date(Date.now());
940
- return t.forEach((z, W) => {
941
- const aa = new Date(z.schedules[0].startTime), he = new Date(z.schedules[0].endTime);
942
- Re(new Date(he), new Date(F)) < _ && (_ = Re(new Date(he), new Date(F)), v = W), wa(new Date(F), new Date(aa)) && _a(new Date(F), new Date(he)) && (g = t[v].name);
941
+ const T = new Date(Date.now());
942
+ return t.forEach((L, W) => {
943
+ const aa = new Date(L.schedules[0].startTime), he = new Date(L.schedules[0].endTime);
944
+ Re(new Date(he), new Date(T)) < _ && (_ = Re(new Date(he), new Date(T)), v = W), wa(new Date(T), new Date(aa)) && _a(new Date(T), new Date(he)) && (g = t[v].name);
943
945
  }), g;
944
946
  }, Je = (t) => {
945
947
  if (B = localStorage.getItem("searchedGamesWds_casino"), B ? B = B.split(",") : B = [], B.indexOf(t) === -1) {
@@ -1008,11 +1010,11 @@ function Ia(n, e, a) {
1008
1010
  });
1009
1011
  }
1010
1012
  return n.$$set = (t) => {
1011
- "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(32, l = t.datasource), "session" in t && a(33, s = t.session), "userid" in t && a(34, i = t.userid), "lang" in t && a(1, c = t.lang), "mbsource" in t && a(2, d = t.mbsource), "clientstyling" in t && a(3, h = t.clientstyling), "clientstylingurl" in t && a(4, m = t.clientstylingurl), "integratedgameframedesktop" in t && a(5, b = t.integratedgameframedesktop), "integratedgameframemobile" in t && a(6, G = t.integratedgameframemobile), "showgamename" in t && a(7, I = t.showgamename), "gamepagemodalurl" in t && a(8, P = t.gamepagemodalurl), "translationurl" in t && a(35, L = t.translationurl), "showfavorites" in t && a(9, p = t.showfavorites), "cancelbutton" in t && a(10, J = t.cancelbutton), "notfoundicon" in t && a(11, H = t.notfoundicon), "controlchannel" in t && a(36, A = t.controlchannel), "allowedorigins" in t && a(37, Y = t.allowedorigins), "requiredicon" in t && a(38, C = t.requiredicon), "allowsingleclickgameentry" in t && a(12, Q = t.allowsingleclickgameentry), "enablesearchcontainergrid" in t && a(13, O = t.enablesearchcontainergrid);
1013
+ "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(32, l = t.datasource), "session" in t && a(33, s = t.session), "userid" in t && a(34, i = t.userid), "lang" in t && a(1, c = t.lang), "mbsource" in t && a(2, d = t.mbsource), "clientstyling" in t && a(3, h = t.clientstyling), "clientstylingurl" in t && a(4, m = t.clientstylingurl), "integratedgameframedesktop" in t && a(5, b = t.integratedgameframedesktop), "integratedgameframemobile" in t && a(6, G = t.integratedgameframemobile), "showgamename" in t && a(7, j = t.showgamename), "gamepagemodalurl" in t && a(8, P = t.gamepagemodalurl), "translationurl" in t && a(35, F = t.translationurl), "showfavorites" in t && a(9, p = t.showfavorites), "cancelbutton" in t && a(10, J = t.cancelbutton), "notfoundicon" in t && a(11, H = t.notfoundicon), "controlchannel" in t && a(36, A = t.controlchannel), "allowedorigins" in t && a(37, Y = t.allowedorigins), "requiredicon" in t && a(38, C = t.requiredicon), "allowsingleclickgameentry" in t && a(12, Q = t.allowsingleclickgameentry), "enablesearchcontainergrid" in t && a(13, O = t.enablesearchcontainergrid);
1012
1014
  }, n.$$.update = () => {
1013
1015
  n.$$.dirty[0] & /*lang*/
1014
1016
  2 && c && Ye(), n.$$.dirty[1] & /*translationurl*/
1015
- 16 && L && De(), n.$$.dirty[1] & /*session, userid*/
1017
+ 16 && F && De(), n.$$.dirty[1] & /*session, userid*/
1016
1018
  12 && s && i && Ue(), n.$$.dirty[0] & /*showfavorites*/
1017
1019
  512 | n.$$.dirty[1] & /*isLoggedIn*/
1018
1020
  512 && p && ne && We(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -1021,7 +1023,7 @@ function Ia(n, e, a) {
1021
1023
  16388 | n.$$.dirty[1] & /*styleSubscription*/
1022
1024
  256 && d && M && a(39, $ = fa(M, `${d}.Style`, $, !0)), n.$$.dirty[0] & /*mbsource*/
1023
1025
  4 | n.$$.dirty[1] & /*translationurl*/
1024
- 16 && d && !L && va(`${d}.Translation`, Pe, le);
1026
+ 16 && d && !F && va(`${d}.Translation`, Pe, le);
1025
1027
  }, [
1026
1028
  o,
1027
1029
  c,
@@ -1030,7 +1032,7 @@ function Ia(n, e, a) {
1030
1032
  m,
1031
1033
  b,
1032
1034
  G,
1033
- I,
1035
+ j,
1034
1036
  P,
1035
1037
  p,
1036
1038
  J,
@@ -1058,7 +1060,7 @@ function Ia(n, e, a) {
1058
1060
  l,
1059
1061
  s,
1060
1062
  i,
1061
- L,
1063
+ F,
1062
1064
  A,
1063
1065
  Y,
1064
1066
  C,
@@ -1076,8 +1078,8 @@ class ja extends ra {
1076
1078
  super(), oa(
1077
1079
  this,
1078
1080
  e,
1079
- Ia,
1080
1081
  xa,
1082
+ Ia,
1081
1083
  sa,
1082
1084
  {
1083
1085
  endpoint: 0,