@everymatrix/casino-page-nd 1.94.4 → 1.94.6

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 (109) hide show
  1. package/components/{CasinoCalendar-BsorgQtD.js → CasinoCalendar-BXqn5sSJ.js} +34 -34
  2. package/components/{CasinoCalendar-Bar1KVPb.js → CasinoCalendar-DdqyHrIi.js} +33 -33
  3. package/components/{CasinoCalendar-B-ElK3ln.cjs → CasinoCalendar-f9ob2sFv.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-BoTdowtn.js → CasinoCalendarDailyDetails-BBe0-NK5.js} +35 -35
  5. package/components/{CasinoCalendarDailyDetails-DLxk4yik.cjs → CasinoCalendarDailyDetails-CHdX5zc8.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-ChU8Nf17.js → CasinoCalendarDailyDetails-ewHsXmDz.js} +44 -44
  7. package/components/{CasinoCalendarDailyItem-DVlQpd2h.js → CasinoCalendarDailyItem-BisTMrw_.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-B1BOZqbk.cjs → CasinoCalendarDailyItem-Bo0BHXKg.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Yoj0Yzg3.js → CasinoCalendarDailyItem-Q3MzwDts.js} +35 -35
  10. package/components/{CasinoCollectionsProviders-D-lUQePw.js → CasinoCollectionsProviders-C7YIthiK.js} +54 -54
  11. package/components/{CasinoCollectionsProviders-DDuUDFgp.cjs → CasinoCollectionsProviders-CCZelLp2.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-BSIyPEOO.js → CasinoCollectionsProviders-CU88qQMT.js} +77 -77
  13. package/components/{CasinoFavoritesSectionNd-B1W3Wz8p.js → CasinoFavoritesSectionNd-CYfialzn.js} +19 -19
  14. package/components/{CasinoFavoritesSectionNd-CY10i3wA.cjs → CasinoFavoritesSectionNd-CZ1st2up.cjs} +1 -1
  15. package/components/{CasinoFavoritesSectionNd-aKXCReO2.js → CasinoFavoritesSectionNd-HKJugDpB.js} +30 -30
  16. package/components/{CasinoFilter-BwCwXqWa.cjs → CasinoFilter-BviseRbU.cjs} +1 -1
  17. package/components/{CasinoFilter-gCiPR__8.js → CasinoFilter-Cd3YMCjI.js} +61 -61
  18. package/components/{CasinoFilter-BQsFbRt1.js → CasinoFilter-DZtIPf04.js} +72 -72
  19. package/components/{CasinoGameThumbnailNd-C9zOKRFB.cjs → CasinoGameThumbnailNd-CIIH4ov5.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-B7GdVkxq.js → CasinoGameThumbnailNd-DfrIBuE8.js} +47 -47
  21. package/components/{CasinoGameThumbnailNd-Dp86Mafo.js → CasinoGameThumbnailNd-qZDUi7bK.js} +44 -44
  22. package/components/{CasinoGamesCategorySectionNd-D-Wuvl8U.js → CasinoGamesCategorySectionNd-BeGuRKUV.js} +51 -51
  23. package/components/{CasinoGamesCategorySectionNd-C2UoZFWC.cjs → CasinoGamesCategorySectionNd-DmcGqSFC.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySectionNd-BBT_fRD_.js → CasinoGamesCategorySectionNd-QyzFexdL.js} +88 -88
  25. package/components/{CasinoJackpotBanner-BsZsSC5q.js → CasinoJackpotBanner-B_16bQIJ.js} +57 -57
  26. package/components/{CasinoJackpotBanner-d2UGqr4v.cjs → CasinoJackpotBanner-BgVQzBT9.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner--hB_JhfK.js → CasinoJackpotBanner-Chzhtion.js} +97 -97
  28. package/components/{CasinoLastPlayedSectionNd-BS_l-cZ0.js → CasinoLastPlayedSectionNd-BOYA9BZi.js} +15 -15
  29. package/components/{CasinoLastPlayedSectionNd-ClV5hJ3T.js → CasinoLastPlayedSectionNd-CuKAruU8.js} +27 -27
  30. package/components/{CasinoLastPlayedSectionNd-CSUr2ClP.cjs → CasinoLastPlayedSectionNd-KZNXKC5c.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-D3CZA_XD.js → CasinoMostPlayedSectionNd-BNw2NHF0.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-CQXe7gZp.js → CasinoMostPlayedSectionNd-BYlAY4RO.js} +37 -37
  33. package/components/{CasinoMostPlayedSectionNd-DF2VZSVY.cjs → CasinoMostPlayedSectionNd-DKnN3rEW.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-oYIN8A8y.js → CasinoMyGamesNd-BGusGuB_.js} +25 -25
  35. package/components/{CasinoMyGamesNd-DUkQM67I.js → CasinoMyGamesNd-C05ASC1X.js} +139 -139
  36. package/components/{CasinoMyGamesNd-p3By5ie3.cjs → CasinoMyGamesNd-D6RmmeUO.cjs} +1 -1
  37. package/components/{CasinoPageNd-u8Nxbkgk.js → CasinoPageNd-BYwB2SrU.js} +62 -62
  38. package/components/{CasinoPageNd-BoxT7vNT.js → CasinoPageNd-CvwQrmeC.js} +63 -63
  39. package/components/{CasinoPageNd-ByOWge44.cjs → CasinoPageNd-DkcMiqM_.cjs} +1 -1
  40. package/components/{CasinoRandomGame-DYHpkkIU.cjs → CasinoRandomGame-CSKHxblX.cjs} +1 -1
  41. package/components/{CasinoRandomGame-DmdUfx7P.js → CasinoRandomGame-CoXgBuKo.js} +25 -25
  42. package/components/{CasinoRandomGame-Dub3IIU6.js → CasinoRandomGame-DZSB2qWm.js} +57 -57
  43. package/components/{CasinoSearchNd-DJKl9giS.js → CasinoSearchNd-DnPGsjFN.js} +170 -166
  44. package/components/{CasinoSearchNd-DAtlVgS9.cjs → CasinoSearchNd-Drf3R8N1.cjs} +1 -1
  45. package/components/{CasinoSearchNd-CMWbs-xQ.js → CasinoSearchNd-sS9yxFZB.js} +196 -192
  46. package/components/{CasinoSort-BdYCRTbw.cjs → CasinoSort-Be7I-Bkl.cjs} +1 -1
  47. package/components/{CasinoSort-BKNBrE2Z.js → CasinoSort-CCDDquSi.js} +23 -23
  48. package/components/{CasinoSort-Bj5VCzfQ.js → CasinoSort-CFbNQrwp.js} +40 -40
  49. package/components/{CasinoWinners-CVQnA2jb.cjs → CasinoWinners-B4wRzzvv.cjs} +1 -1
  50. package/components/{CasinoWinners-CJWsbB8X.js → CasinoWinners-BOD7ymCO.js} +55 -55
  51. package/components/{CasinoWinners-BB69_VBL.js → CasinoWinners-DYeVwT_K.js} +48 -48
  52. package/components/{GeneralAnimationLoading-BosK264F.cjs → GeneralAnimationLoading-DD1kmHGW.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-D9Xr0Ohx.js → GeneralAnimationLoading-DLWyPAPZ.js} +4 -4
  54. package/components/{GeneralAnimationLoading-Ddb3rUV4.js → GeneralAnimationLoading-DSzlRxD5.js} +6 -6
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/{casino-calendar-BsTNKtIb.cjs → casino-calendar-BMr6vuSW.cjs} +1 -1
  59. package/lazy/{casino-calendar-CRtCPSqI.js → casino-calendar-BhmwgnLf.js} +1 -1
  60. package/lazy/{casino-calendar-C3pFBr-V.js → casino-calendar-CDGAH9KV.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-CMNO8yVt.js → casino-calendar-daily-details-BZ6lWliO.js} +1 -1
  62. package/lazy/{casino-calendar-daily-details-CFdZ0y8g.cjs → casino-calendar-daily-details-CkvPWhRn.cjs} +1 -1
  63. package/lazy/{casino-calendar-daily-details--hiprlav.js → casino-calendar-daily-details-CreJXTIY.js} +1 -1
  64. package/lazy/{casino-calendar-daily-item-Dt5sMvLn.js → casino-calendar-daily-item-B294skVH.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-CcpGZGk2.js → casino-calendar-daily-item-BPg2o_ak.js} +1 -1
  66. package/lazy/{casino-calendar-daily-item-DBgzZi6h.cjs → casino-calendar-daily-item-OzC20xXV.cjs} +1 -1
  67. package/lazy/{casino-collections-providers-C-IXWoMt.js → casino-collections-providers-BmEfkamW.js} +1 -1
  68. package/lazy/{casino-collections-providers-ChwusPlU.cjs → casino-collections-providers-CS7TN5Jq.cjs} +1 -1
  69. package/lazy/{casino-collections-providers-CZlcLi3I.js → casino-collections-providers-D-Lac16c.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-IDnSx6LY.js → casino-favorites-section-nd-BazZLv4x.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-Ddu_8ZpD.cjs → casino-favorites-section-nd-BbJYgzDZ.cjs} +1 -1
  72. package/lazy/{casino-favorites-section-nd-MgjY7aDg.js → casino-favorites-section-nd-nPKsz6I2.js} +1 -1
  73. package/lazy/{casino-filter-DxJEhjqm.cjs → casino-filter-0hD3kNKp.cjs} +1 -1
  74. package/lazy/{casino-filter-CvdGS5WS.js → casino-filter-BpUtqzOq.js} +1 -1
  75. package/lazy/{casino-filter-x6iQmG8o.js → casino-filter-LrYoEa2q.js} +1 -1
  76. package/lazy/{casino-game-thumbnail-nd-fLseOtb1.js → casino-game-thumbnail-nd-BpZR5RyP.js} +1 -1
  77. package/lazy/{casino-game-thumbnail-nd-CmbS4UC5.js → casino-game-thumbnail-nd-Dw6vijuw.js} +1 -1
  78. package/lazy/{casino-game-thumbnail-nd-BNX3nQzO.cjs → casino-game-thumbnail-nd-scS9CFBJ.cjs} +1 -1
  79. package/lazy/{casino-games-category-section-nd-4wlUiWn8.cjs → casino-games-category-section-nd-BRF_H9fJ.cjs} +1 -1
  80. package/lazy/{casino-games-category-section-nd-B5b_8VTG.js → casino-games-category-section-nd-BlkiwQIq.js} +1 -1
  81. package/lazy/{casino-games-category-section-nd-mWetVUsk.js → casino-games-category-section-nd-_dwBrjcT.js} +1 -1
  82. package/lazy/{casino-jackpot-banner-CBykDPkn.js → casino-jackpot-banner-7aQVJA-u.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-Dclo86eY.js → casino-jackpot-banner-BZR61rlM.js} +1 -1
  84. package/lazy/{casino-jackpot-banner-BRGk1i5x.cjs → casino-jackpot-banner-DqljUZ3D.cjs} +1 -1
  85. package/lazy/{casino-last-played-section-nd-DNynAP0O.js → casino-last-played-section-nd-BCMeN_xL.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-Y8YRdawj.js → casino-last-played-section-nd-Dk09Q6Oo.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-BENyEKvl.cjs → casino-last-played-section-nd-DyHep2bs.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-uOEOVr80.js → casino-most-played-section-nd-DGErR8Qy.js} +1 -1
  89. package/lazy/{casino-most-played-section-nd-CDxisfSd.cjs → casino-most-played-section-nd-DeeoJS9L.cjs} +1 -1
  90. package/lazy/{casino-most-played-section-nd--IDhBmzV.js → casino-most-played-section-nd-MahPsOcg.js} +1 -1
  91. package/lazy/{casino-my-games-nd-shBn8eVI.js → casino-my-games-nd-B9th_ITS.js} +1 -1
  92. package/lazy/{casino-my-games-nd-BzZqvl8m.cjs → casino-my-games-nd-Bavk_uVF.cjs} +1 -1
  93. package/lazy/{casino-my-games-nd-hhOAoTf-.js → casino-my-games-nd-Cr4euW7O.js} +1 -1
  94. package/lazy/{casino-random-game-Cat_tAZT.js → casino-random-game-BCbXjFco.js} +1 -1
  95. package/lazy/{casino-random-game-Doo9yzQt.js → casino-random-game-D89lDDvz.js} +1 -1
  96. package/lazy/{casino-random-game-eE6hTWNw.cjs → casino-random-game-DiBN599Y.cjs} +1 -1
  97. package/lazy/{casino-search-nd-LFipqxYz.js → casino-search-nd-B-trMEPg.js} +1 -1
  98. package/lazy/{casino-search-nd-B5qv7Mra.cjs → casino-search-nd-B313a-hZ.cjs} +1 -1
  99. package/lazy/{casino-search-nd--jk190OZ.js → casino-search-nd-DX9y7hrV.js} +1 -1
  100. package/lazy/{casino-sort-BcuCWb8z.js → casino-sort-BX6cf-yt.js} +1 -1
  101. package/lazy/{casino-sort-CVYLHFfC.cjs → casino-sort-DYdgpEhn.cjs} +1 -1
  102. package/lazy/{casino-sort-CTKb0shJ.js → casino-sort-LsdC94Za.js} +1 -1
  103. package/lazy/{casino-winners-C9Jj7SyY.cjs → casino-winners-B5_Q3bvn.cjs} +1 -1
  104. package/lazy/{casino-winners-jTx87PeA.js → casino-winners-BORY4UJw.js} +1 -1
  105. package/lazy/{casino-winners-DGiPC9oE.js → casino-winners-I74kUrkL.js} +1 -1
  106. package/lazy/{general-animation-loading-BSWx-kfp.js → general-animation-loading--byYFuL2.js} +1 -1
  107. package/lazy/{general-animation-loading-CxOn6BQv.js → general-animation-loading-D1Tz4Ui8.js} +1 -1
  108. package/lazy/{general-animation-loading-HWLiLPqG.cjs → general-animation-loading-oYXMnrSW.cjs} +1 -1
  109. package/package.json +1 -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("./CasinoPageNd-ByOWge44.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("./CasinoPageNd-DkcMiqM_.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;
@@ -1,16 +1,16 @@
1
- import { $ as H, L as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, M as E, N as P, O as ve, P as Me, c as k, e as h, F as J, g as w, h as L, j as u, k as Fe, l as Le, o as Ce, Q as Se, R as We, T as Te, U as je, v as Ne, r as Y, w as C, x as S, V as Be, y as q, D as Ie, n as ze, G as K, E as Q, W as Pe, H as Je, I as Ae, J as De, K as He } from "./CasinoPageNd-u8Nxbkgk.js";
1
+ import { b as H, $ as we, c as _e, S as Ge, x as Re, I as xe, r as v, e as ke, n as x, Z as E, Y as J, w as ve, h as Me, y as k, d as h, A as P, o as w, Q as L, f as u, i as Fe, a as Le, E as Ce, k as Se, a0 as We, u as Te, v as je, s as Ne, g as Y, N as C, V as S, W as Be, q, m as Ie, B as ze, U as Z, R as K, G as Je, J as Pe, K as Ae, L as De, j as He } from "./CasinoPageNd-BYwB2SrU.js";
2
2
  function Ee({ withLocale: a, translations: e }) {
3
3
  H.subscribe((t) => {
4
4
  t == null && (we.set(e), H.set(a));
5
5
  });
6
6
  }
7
- function X(a, e) {
7
+ function Q(a, e) {
8
8
  _e(a, e);
9
9
  }
10
10
  function Oe(a) {
11
11
  H.set(a);
12
12
  }
13
- const Z = {
13
+ const X = {
14
14
  en: {
15
15
  playRandomGame: "Play a random game",
16
16
  randomGameLoading: "Selecting ...",
@@ -107,7 +107,7 @@ function te(a) {
107
107
  function _(r, b) {
108
108
  return (
109
109
  /*hasRandomGames*/
110
- r[7] ? Ke : qe
110
+ r[7] ? Ze : qe
111
111
  );
112
112
  }
113
113
  let m = _(a), c = m(a);
@@ -116,7 +116,7 @@ function te(a) {
116
116
  e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = L(), c.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
117
117
  },
118
118
  m(r, b) {
119
- k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), s = !0, d || (f = J(
119
+ k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), s = !0, d || (f = P(
120
120
  n,
121
121
  "click",
122
122
  /*closeModal*/
@@ -145,7 +145,7 @@ function te(a) {
145
145
  ), m === (m = _(r)) && c ? c.p(r, b) : (c.d(1), c = m(r), c && (c.c(), c.m(t, null)));
146
146
  },
147
147
  i(r) {
148
- s || (P(o, r), s = !0);
148
+ s || (J(o, r), s = !0);
149
149
  },
150
150
  o(r) {
151
151
  E(o, r), s = !1;
@@ -159,7 +159,7 @@ function Ye(a) {
159
159
  let e, t;
160
160
  return {
161
161
  c() {
162
- 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");
162
+ e = Z("svg"), t = Z("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
163
163
  },
164
164
  m(n, l) {
165
165
  k(n, e, l), h(e, t);
@@ -192,7 +192,7 @@ function qe(a) {
192
192
  }
193
193
  };
194
194
  }
195
- function Ke(a) {
195
+ function Ze(a) {
196
196
  let e, t, n, l, s = q(
197
197
  /*gamesToShow*/
198
198
  a[4]
@@ -202,7 +202,7 @@ function Ke(a) {
202
202
  function f(o, _) {
203
203
  return (
204
204
  /*animationDone*/
205
- o[6] ? Xe : Qe
205
+ o[6] ? Qe : Ke
206
206
  );
207
207
  }
208
208
  let p = f(a), g = p(a);
@@ -246,7 +246,7 @@ function ae(a) {
246
246
  let e, t, n, l, s, d;
247
247
  return {
248
248
  c() {
249
- e = w("div"), t = w("img"), d = L(), u(t, "class", "RandomGameImage"), Q(t.src, n = /*game*/
249
+ e = w("div"), t = w("img"), d = L(), u(t, "class", "RandomGameImage"), K(t.src, n = /*game*/
250
250
  a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
251
251
  a[41].name), u(t, "title", s = /*game*/
252
252
  a[41].name), u(e, "class", "item");
@@ -256,7 +256,7 @@ function ae(a) {
256
256
  },
257
257
  p(f, p) {
258
258
  p[0] & /*gamesToShow*/
259
- 16 && !Q(t.src, n = /*game*/
259
+ 16 && !K(t.src, n = /*game*/
260
260
  f[41].thumbnail) && u(t, "src", n), p[0] & /*gamesToShow*/
261
261
  16 && l !== (l = /*game*/
262
262
  f[41].name) && u(t, "alt", l), p[0] & /*gamesToShow*/
@@ -268,7 +268,7 @@ function ae(a) {
268
268
  }
269
269
  };
270
270
  }
271
- function Qe(a) {
271
+ function Ke(a) {
272
272
  let e, t = (
273
273
  /*$_*/
274
274
  a[9]("randomGameLoading") + ""
@@ -290,7 +290,7 @@ function Qe(a) {
290
290
  }
291
291
  };
292
292
  }
293
- function Xe(a) {
293
+ function Qe(a) {
294
294
  let e, t, n, l, s = (
295
295
  /*randomGame*/
296
296
  a[3].name + ""
@@ -308,13 +308,13 @@ function Xe(a) {
308
308
  },
309
309
  m(R, G) {
310
310
  k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, d), h(n, f), h(n, p), h(p, o), h(n, _), h(n, m), h(m, r), b || (W = [
311
- J(
311
+ P(
312
312
  e,
313
313
  "click",
314
314
  /*click_handler*/
315
315
  a[25]
316
316
  ),
317
- J(
317
+ P(
318
318
  m,
319
319
  "click",
320
320
  /*click_handler_1*/
@@ -332,11 +332,11 @@ function Xe(a) {
332
332
  R[9]("playNowRandomGame") + "") && C(r, c);
333
333
  },
334
334
  d(R) {
335
- R && (x(e), x(t), x(n)), b = !1, Pe(W);
335
+ R && (x(e), x(t), x(n)), b = !1, Je(W);
336
336
  }
337
337
  };
338
338
  }
339
- function Ze(a) {
339
+ function Xe(a) {
340
340
  let e, t = (
341
341
  /*$_*/
342
342
  a[9]("playRandomGame") + ""
@@ -396,7 +396,7 @@ function et(a) {
396
396
  return $e;
397
397
  if (!/*buttontext*/
398
398
  r[1])
399
- return Ze;
399
+ return Xe;
400
400
  }
401
401
  let m = _(a), c = m && m(a);
402
402
  return {
@@ -405,7 +405,7 @@ function et(a) {
405
405
  },
406
406
  m(r, b) {
407
407
  k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), c && c.m(l, null), h(l, s), h(l, d), d.innerHTML = /*randombuttonicon*/
408
- a[0], a[28](e), f = !0, p || (g = J(
408
+ a[0], a[28](e), f = !0, p || (g = P(
409
409
  l,
410
410
  "click",
411
411
  /*click_handler_2*/
@@ -415,14 +415,14 @@ function et(a) {
415
415
  p(r, b) {
416
416
  /*show*/
417
417
  r[5] ? o ? (o.p(r, b), b[0] & /*show*/
418
- 32 && P(o, 1)) : (o = te(r), o.c(), P(o, 1), o.m(e, t)) : o && (ve(), E(o, 1, 1, () => {
418
+ 32 && J(o, 1)) : (o = te(r), o.c(), J(o, 1), o.m(e, t)) : o && (ve(), E(o, 1, 1, () => {
419
419
  o = null;
420
420
  }), Me()), m === (m = _(r)) && c ? c.p(r, b) : (c && c.d(1), c = m && m(r), c && (c.c(), c.m(l, s))), (!f || b[0] & /*randombuttonicon*/
421
421
  1) && (d.innerHTML = /*randombuttonicon*/
422
422
  r[0]);
423
423
  },
424
424
  i(r) {
425
- f || (P(o), f = !0);
425
+ f || (J(o), f = !0);
426
426
  },
427
427
  o(r) {
428
428
  E(o), f = !1;
@@ -440,14 +440,14 @@ function tt(a, e, t) {
440
440
  const le = () => {
441
441
  fetch(m).then((y) => y.json()).then((y) => {
442
442
  Object.keys(y).forEach((F) => {
443
- X(F, y[F]);
443
+ Q(F, y[F]);
444
444
  });
445
445
  }).catch((y) => {
446
446
  console.log(y);
447
447
  });
448
448
  };
449
- Object.keys(Z).forEach((i) => {
450
- X(i, Z[i]);
449
+ Object.keys(X).forEach((i) => {
450
+ Q(i, X[i]);
451
451
  });
452
452
  const ie = () => {
453
453
  let i = new URL(`${d}/v1/casino/games`);
@@ -519,7 +519,7 @@ function tt(a, e, t) {
519
519
  65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
520
520
  131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
521
521
  24576 && d && f && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
522
- 262148 && c && M && Je(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
522
+ 262148 && c && M && Pe(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
523
523
  524292 && r && M && Ae(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
524
524
  2097156 && M && De(M, `${W}.Style`, oe);
525
525
  }, [