@everymatrix/casino-lobby 1.60.2 → 1.61.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/components/{CasinoCalendar-DqS7aKva.cjs → CasinoCalendar-BaQd3tuL.cjs} +6 -6
  2. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-C4nbeq1g.js} +276 -270
  3. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-WuTw9Z8d.js} +276 -270
  4. package/components/CasinoCalendarDailyDetails-BAGuydyF.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-CHONyOB5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-DrcJ9qsj.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-B3npUDyl.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-CPM6-0C8.js +307 -0
  9. package/components/CasinoCalendarDailyItem-eOgZSp2O.js +307 -0
  10. package/components/{CasinoCategoriesSlider-i9BCUm8R.cjs → CasinoCategoriesSlider-CWcGEpfR.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-DZX7fAxD.js → CasinoCategoriesSlider-DgQayYzE.js} +15 -15
  12. package/components/{CasinoCategoriesSlider-C2jbyhRF.js → CasinoCategoriesSlider-DyNiM5Xn.js} +14 -14
  13. package/components/{CasinoCollectionsProviders-Fw278mB3.js → CasinoCollectionsProviders-5PJh4coY.js} +174 -173
  14. package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +1 -0
  15. package/components/{CasinoCollectionsProviders-BRhnxud8.js → CasinoCollectionsProviders-DvICMch1.js} +187 -186
  16. package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-BLswksE3.js} +14 -14
  17. package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-D57jT5yq.js} +14 -14
  18. package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-DXEM7KtA.cjs} +1 -1
  19. package/components/CasinoFilter-B9G8cs2A.cjs +1 -0
  20. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-BH7-Laxf.js} +50 -50
  21. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-COinUQ6E.js} +96 -94
  22. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-D4oYftHp.js} +1364 -1363
  23. package/components/CasinoGamePage-DhNoxzWb.cjs +18 -0
  24. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-NTjXPK0_.js} +1320 -1319
  25. package/components/CasinoGameThumbnail-C_F6ViBB.js +1068 -0
  26. package/components/CasinoGameThumbnail-DWRrHNvN.cjs +30 -0
  27. package/components/CasinoGameThumbnail-pajQYCwc.js +1084 -0
  28. package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-Bw_6-a2H.js → CasinoGamesCategorySection-Br-ZBeEp.js} +1181 -1111
  30. package/components/{CasinoGamesCategorySection-DdJnZPgm.js → CasinoGamesCategorySection-DrL01BnG.js} +742 -673
  31. package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +1 -0
  32. package/components/CasinoJackpotBanner-CG4fFV2M.js +694 -0
  33. package/components/CasinoJackpotBanner-Yo5HGzmD.js +698 -0
  34. package/components/{CasinoLastPlayedSection-DF1qIy7A.js → CasinoLastPlayedSection-BUIc0ZEt.js} +9 -9
  35. package/components/{CasinoLastPlayedSection-CnwiqEWd.cjs → CasinoLastPlayedSection-CFEzl7GR.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-D8w8f1qu.js → CasinoLastPlayedSection-DjRKGJ8F.js} +9 -9
  37. package/components/{CasinoLobby-Anq70pxB.js → CasinoLobby-CQVjJ22J.js} +284 -245
  38. package/components/CasinoLobby-DnBSVJ5P.cjs +1 -0
  39. package/components/{CasinoLobby-Br00KMpi.js → CasinoLobby-L5w-S2-2.js} +284 -245
  40. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-CeEDc631.cjs} +1 -1
  41. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-Cx4skobD.js} +8 -8
  42. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-DrALs71O.js} +8 -8
  43. package/components/{CasinoMostPlayedSection-4nc9NISY.js → CasinoMostPlayedSection-BrjuU2ad.js} +14 -14
  44. package/components/{CasinoMostPlayedSection-CleRvEGW.cjs → CasinoMostPlayedSection-D72Posxa.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-DEpCntHU.js → CasinoMostPlayedSection-Dru8l_gX.js} +14 -14
  46. package/components/{CasinoMyGames-Cqgayk3N.js → CasinoMyGames-Cc8aQUy5.js} +17 -17
  47. package/components/{CasinoMyGames-BeNdYI48.cjs → CasinoMyGames-DP5VtRtX.cjs} +1 -1
  48. package/components/{CasinoMyGames-Ls6PjVLx.js → CasinoMyGames-Eco1Z13t.js} +16 -16
  49. package/components/{CasinoPage-B_ulErY-.js → CasinoPage-BvKvwzQq.js} +1023 -881
  50. package/components/CasinoPage-DAptP7ZQ.cjs +1 -0
  51. package/components/{CasinoPage-vykaQto-.js → CasinoPage-mARxTyiZ.js} +1002 -844
  52. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-5kYiDYSm.js} +155 -154
  53. package/components/CasinoRandomGame-BJiVFaRb.cjs +2 -0
  54. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-RYfnY5_c.js} +195 -194
  55. package/components/{CasinoSearch-CyctCdxx.js → CasinoSearch-CnWoNOtX.js} +27 -27
  56. package/components/{CasinoSearch-jq6HJhjW.cjs → CasinoSearch-D-hwTHcV.cjs} +1 -1
  57. package/components/{CasinoSearch-DcjbpUq_.js → CasinoSearch-Nqv4h_zq.js} +27 -27
  58. package/components/CasinoSlider-B3dV89iI.cjs +1 -0
  59. package/components/{CasinoSlider-BmXppZ63.js → CasinoSlider-Cr-fAktO.js} +224 -223
  60. package/components/{CasinoSlider-DbK0-rGh.js → CasinoSlider-D1JzP31y.js} +155 -154
  61. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-ByAjtAxn.cjs} +1 -1
  62. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-D51DNHxk.js} +1 -1
  63. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-DXiP4dA5.js} +1 -1
  64. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-B1BXrca1.js} +99 -98
  65. package/components/CasinoWinners-CEq9st2v.cjs +1 -0
  66. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-pzI08CdT.js} +102 -101
  67. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-CI4qqgO_.js} +6 -6
  68. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-CIaY2Gvf.js} +6 -6
  69. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-DiZmxxRF.cjs} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  77. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  78. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  80. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  81. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  82. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  83. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  84. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendarDailyDetails-DQB9Y3_Q.js +0 -693
  101. package/components/CasinoCalendarDailyDetails-DUQWFLJJ.cjs +0 -1
  102. package/components/CasinoCalendarDailyDetails-Xi-Uo8v-.js +0 -693
  103. package/components/CasinoCalendarDailyItem-CVt2FFo1.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-CjRZKnnD.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DC91__VM.js +0 -306
  106. package/components/CasinoCollectionsProviders-Beuct27Z.cjs +0 -1
  107. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  108. package/components/CasinoGamePage-BmgERtPr.cjs +0 -18
  109. package/components/CasinoGameThumbnail-B9OLAJDP.js +0 -1882
  110. package/components/CasinoGameThumbnail-C-_VEhfz.cjs +0 -38
  111. package/components/CasinoGameThumbnail-w6gElzrs.js +0 -1866
  112. package/components/CasinoGamesCategorySection-B_kw0cnt.cjs +0 -1
  113. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +0 -1
  114. package/components/CasinoJackpotBanner-Dxq2Y_-S.js +0 -697
  115. package/components/CasinoJackpotBanner-UQaC63Zv.js +0 -693
  116. package/components/CasinoLobby-Da8EvOPn.cjs +0 -1
  117. package/components/CasinoPage-86frPbmB.cjs +0 -1
  118. package/components/CasinoRandomGame-BO7BqLXA.cjs +0 -2
  119. package/components/CasinoSlider-Bo4dCvJT.cjs +0 -1
  120. package/components/CasinoWinners-KEY7dD3z.cjs +0 -1
  121. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.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 .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"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,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BaQd3tuL.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.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 .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"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,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-CI-C6zUY.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, G as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, F as J, J as me, K as he, L as we, M as _e } from "./CasinoCalendar-C4nbeq1g.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -172,7 +172,7 @@ function ke(s, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, I = (i) => {
175
+ }, G = (i) => {
176
176
  if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
@@ -187,20 +187,20 @@ function ke(s, e, t) {
187
187
  },
188
188
  window.location.href
189
189
  ), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
190
- let G = {
190
+ let I = {
191
191
  modalWidth: _ ? getComputedStyle(_).width : null,
192
192
  modalHeight: _ ? getComputedStyle(_).height : null
193
193
  };
194
- window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
194
+ window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
196
  i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
197
  }, Q = (i) => {
198
198
  if (v) {
199
- let G = {
199
+ let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
- window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
203
+ window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
206
  M == "true" && fe(p, w).then(
@@ -212,8 +212,8 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
216
- window.removeEventListener("message", I), window.removeEventListener("resize", I);
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", G, !1), window.addEventListener("resize", Q, !1), () => {
216
+ window.removeEventListener("message", G), window.removeEventListener("resize", G);
217
217
  }));
218
218
  function Y(i) {
219
219
  U[i ? "unshift" : "push"](() => {
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-BYTytQgJ.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, G as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, F as J, J as me, K as he, L as we, M as _e } from "./CasinoCalendar-WuTw9Z8d.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -172,7 +172,7 @@ function ke(s, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, I = (i) => {
175
+ }, G = (i) => {
176
176
  if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
@@ -187,20 +187,20 @@ function ke(s, e, t) {
187
187
  },
188
188
  window.location.href
189
189
  ), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
190
- let G = {
190
+ let I = {
191
191
  modalWidth: _ ? getComputedStyle(_).width : null,
192
192
  modalHeight: _ ? getComputedStyle(_).height : null
193
193
  };
194
- window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
194
+ window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
196
  i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
197
  }, Q = (i) => {
198
198
  if (v) {
199
- let G = {
199
+ let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
- window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
203
+ window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
206
  M == "true" && fe(p, w).then(
@@ -212,8 +212,8 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
216
- window.removeEventListener("message", I), window.removeEventListener("resize", I);
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", G, !1), window.addEventListener("resize", Q, !1), () => {
216
+ window.removeEventListener("message", G), window.removeEventListener("resize", G);
217
217
  }));
218
218
  function Y(i) {
219
219
  U[i ? "unshift" : "push"](() => {
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-CI-C6zUY.js";
2
- import "./CasinoFavoritesSection-QS8imHGS.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as E, p as H, j as P, r as M, k as ie, o as oe, O as le, C as re, m as me, q as ge, E as n, J as ce, K as ue, L as de, M as fe, N as he } from "./CasinoCalendar-WuTw9Z8d.js";
2
+ import "./CasinoFavoritesSection-BLswksE3.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -162,7 +162,7 @@ function ve(a) {
162
162
  );
163
163
  },
164
164
  m(s, i) {
165
- O(s, e, i);
165
+ E(s, e, i);
166
166
  },
167
167
  p(s, i) {
168
168
  i[0] & /*session*/
@@ -290,7 +290,7 @@ function _e(a) {
290
290
  e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- O(m, e, r), H(e, i);
293
+ E(m, e, r), H(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
@@ -316,7 +316,7 @@ function ke(a) {
316
316
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
317
317
  },
318
318
  m(g, c) {
319
- O(g, e, c), H(e, s), r.m(s, null), a[24](e);
319
+ E(g, e, c), H(e, s), r.m(s, null), a[24](e);
320
320
  },
321
321
  p(g, c) {
322
322
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
@@ -331,7 +331,7 @@ function ke(a) {
331
331
  function we(a, e, s) {
332
332
  let i;
333
333
  ie(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
335
335
  const V = () => {
336
336
  fetch(G).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
@@ -344,13 +344,13 @@ function we(a, e, s) {
344
344
  Object.keys(B).forEach((t) => {
345
345
  Y(t, B[t]);
346
346
  });
347
- let N = [], q, z = !1, u;
347
+ let N = [], z, I = !1, u;
348
348
  const W = (t) => {
349
349
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
350
350
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
351
351
  let d = t.device;
352
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
353
- fetch(q).then((h) => h.json()).then((h) => {
352
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((f, y) => {
353
+ fetch(z).then((h) => h.json()).then((h) => {
354
354
  h.items = h.items.filter((x) => {
355
355
  let J = !0;
356
356
  return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
@@ -374,7 +374,7 @@ function we(a, e, s) {
374
374
  N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
375
375
  });
376
376
  } else
377
- s(19, z = !0);
377
+ s(19, I = !0);
378
378
  });
379
379
  }, Z = () => {
380
380
  ye(c);
@@ -387,7 +387,7 @@ function we(a, e, s) {
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = t.fetchviaevent);
390
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, O = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, q = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -401,7 +401,7 @@ function we(a, e, s) {
401
401
  r,
402
402
  g,
403
403
  c,
404
- E,
404
+ O,
405
405
  b,
406
406
  v,
407
407
  _,
@@ -414,9 +414,9 @@ function we(a, e, s) {
414
414
  j,
415
415
  U,
416
416
  C,
417
- I,
417
+ q,
418
418
  u,
419
- z,
419
+ I,
420
420
  i,
421
421
  G,
422
422
  S,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");require("./CasinoFavoritesSection-D1GhXv3a.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");require("./CasinoFavoritesSection-DXEM7KtA.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-BYTytQgJ.js";
2
- import "./CasinoFavoritesSection-D32Mbv-O.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as E, p as H, j as P, r as M, k as ie, o as oe, O as le, C as re, m as me, q as ge, E as n, J as ce, K as ue, L as de, M as fe, N as he } from "./CasinoCalendar-C4nbeq1g.js";
2
+ import "./CasinoFavoritesSection-D57jT5yq.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -162,7 +162,7 @@ function ve(a) {
162
162
  );
163
163
  },
164
164
  m(s, i) {
165
- O(s, e, i);
165
+ E(s, e, i);
166
166
  },
167
167
  p(s, i) {
168
168
  i[0] & /*session*/
@@ -290,7 +290,7 @@ function _e(a) {
290
290
  e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- O(m, e, r), H(e, i);
293
+ E(m, e, r), H(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
@@ -316,7 +316,7 @@ function ke(a) {
316
316
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
317
317
  },
318
318
  m(g, c) {
319
- O(g, e, c), H(e, s), r.m(s, null), a[24](e);
319
+ E(g, e, c), H(e, s), r.m(s, null), a[24](e);
320
320
  },
321
321
  p(g, c) {
322
322
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
@@ -331,7 +331,7 @@ function ke(a) {
331
331
  function we(a, e, s) {
332
332
  let i;
333
333
  ie(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
335
335
  const V = () => {
336
336
  fetch(G).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
@@ -344,13 +344,13 @@ function we(a, e, s) {
344
344
  Object.keys(B).forEach((t) => {
345
345
  Y(t, B[t]);
346
346
  });
347
- let N = [], q, z = !1, u;
347
+ let N = [], z, I = !1, u;
348
348
  const W = (t) => {
349
349
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
350
350
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
351
351
  let d = t.device;
352
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
353
- fetch(q).then((h) => h.json()).then((h) => {
352
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((f, y) => {
353
+ fetch(z).then((h) => h.json()).then((h) => {
354
354
  h.items = h.items.filter((x) => {
355
355
  let J = !0;
356
356
  return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
@@ -374,7 +374,7 @@ function we(a, e, s) {
374
374
  N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
375
375
  });
376
376
  } else
377
- s(19, z = !0);
377
+ s(19, I = !0);
378
378
  });
379
379
  }, Z = () => {
380
380
  ye(c);
@@ -387,7 +387,7 @@ function we(a, e, s) {
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = t.fetchviaevent);
390
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, O = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, q = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -401,7 +401,7 @@ function we(a, e, s) {
401
401
  r,
402
402
  g,
403
403
  c,
404
- E,
404
+ O,
405
405
  b,
406
406
  v,
407
407
  _,
@@ -414,9 +414,9 @@ function we(a, e, s) {
414
414
  j,
415
415
  U,
416
416
  C,
417
- I,
417
+ q,
418
418
  u,
419
- z,
419
+ I,
420
420
  i,
421
421
  G,
422
422
  S,
@@ -1,5 +1,5 @@
1
- import { $ as T, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as O, F as Fe, m as S, A as U, q as L, O as s, I as Le, J as Ce, K as Ge, L as Ee, M as Be } from "./CasinoCalendar-BYTytQgJ.js";
2
- function Oe({ withLocale: a, translations: e }) {
1
+ import { $ as T, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as A, G as Fe, m as S, A as U, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-C4nbeq1g.js";
2
+ function Ae({ withLocale: a, translations: e }) {
3
3
  T.subscribe((t) => {
4
4
  t == null && (ce.set(e), T.set(a));
5
5
  });
@@ -7,7 +7,7 @@ function Oe({ withLocale: a, translations: e }) {
7
7
  function te(a, e) {
8
8
  ge(a, e);
9
9
  }
10
- function Ae(a) {
10
+ function Oe(a) {
11
11
  T.set(a);
12
12
  }
13
13
  const ae = {
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-D32Mbv-O.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-D57jT5yq.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-D8w8f1qu.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-DjRKGJ8F.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-DEpCntHU.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-Dru8l_gX.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
@@ -187,7 +187,7 @@ function De(a) {
187
187
  e = p("div"), t = p("div"), i = p("div");
188
188
  for (let f = 0; f < r.length; f += 1)
189
189
  r[f].c();
190
- m = O(), n = p("div"), y && y.c(), w(i, "class", "MyGamesButtonsContainer"), w(t, "class", "MyGamesHeader"), w(e, "class", d = "CasinoMyGames " + /*mobile*/
190
+ m = A(), n = p("div"), y && y.c(), w(i, "class", "MyGamesButtonsContainer"), w(t, "class", "MyGamesHeader"), w(e, "class", d = "CasinoMyGames " + /*mobile*/
191
191
  (a[27] ? "Mobile" : ""));
192
192
  },
193
193
  m(f, g) {
@@ -229,7 +229,7 @@ function ie(a) {
229
229
  ), i, m, n, d, o, r, h, b, y;
230
230
  return {
231
231
  c() {
232
- e = p("button"), i = L(t), m = O(), n = p("span"), d = L("("), o = L(
232
+ e = p("button"), i = L(t), m = A(), n = p("span"), d = L("("), o = L(
233
233
  /*favoritesCount*/
234
234
  a[29]
235
235
  ), r = L(")"), w(e, "class", h = "MyGamesButton " + /*gamesType*/
@@ -301,7 +301,7 @@ function ne(a) {
301
301
  ), i, m, n, d, o;
302
302
  return {
303
303
  c() {
304
- e = p("button"), i = L(t), m = O(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
304
+ e = p("button"), i = L(t), m = A(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
305
305
  (a[26] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
306
306
  (a[16] == "false" ? "Off" : ""));
307
307
  },
@@ -339,7 +339,7 @@ function oe(a) {
339
339
  );
340
340
  return {
341
341
  c() {
342
- m && m.c(), e = O(), n && n.c(), t = O(), d && d.c(), i = Fe();
342
+ m && m.c(), e = A(), n && n.c(), t = A(), d && d.c(), i = Fe();
343
343
  },
344
344
  m(o, r) {
345
345
  m && m.m(o, r), P(o, e, r), n && n.m(o, r), P(o, t, r), d && d.m(o, r), P(o, i, r);
@@ -1063,10 +1063,10 @@ function Te(a) {
1063
1063
  function Ue(a, e, t) {
1064
1064
  let i;
1065
1065
  _e(a, Be, (l) => t(30, i = l));
1066
- let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: z = "" } = e, { integratedgameframemobile: H = "" } = e, { translationurl: A = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: I = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: Q = "" } = e, { mbsource: q } = e, re = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], N = "0";
1067
- Oe({ withLocale: "en", translations: {} });
1066
+ let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: z = "" } = e, { integratedgameframemobile: H = "" } = e, { translationurl: O = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: I = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: Q = "" } = e, { mbsource: q } = e, re = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], N = "0";
1067
+ Ae({ withLocale: "en", translations: {} });
1068
1068
  const me = () => {
1069
- fetch(A).then((F) => F.json()).then((F) => {
1069
+ fetch(O).then((F) => F.json()).then((F) => {
1070
1070
  Object.keys(F).forEach((x) => {
1071
1071
  te(x, F[x]);
1072
1072
  });
@@ -1080,7 +1080,7 @@ function Ue(a, e, t) {
1080
1080
  const D = (l) => {
1081
1081
  j !== l && t(26, j = l);
1082
1082
  }, X = () => {
1083
- t(26, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, k[0] = G === "true" ? "Favorites" : "", k), t(28, k[1] = E === "true" ? "MostPlayed" : "", k), t(28, k[2] = B === "true" ? "LastPlayed" : "", k), Ae(r);
1083
+ t(26, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, k[0] = G === "true" ? "Favorites" : "", k), t(28, k[1] = E === "true" ? "MostPlayed" : "", k), t(28, k[2] = B === "true" ? "LastPlayed" : "", k), Oe(r);
1084
1084
  }, Y = (l) => {
1085
1085
  if (l.data)
1086
1086
  switch (l.data.type) {
@@ -1099,12 +1099,12 @@ function Ue(a, e, t) {
1099
1099
  });
1100
1100
  }
1101
1101
  return a.$$set = (l) => {
1102
- "userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, b = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, C = l.showgamename), "integratedgameframedesktop" in l && t(12, z = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, H = l.integratedgameframemobile), "translationurl" in l && t(32, A = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, I = l.casinomygames), "lastplayedperiod" in l && t(18, R = l.lastplayedperiod), "mostplayedperiod" in l && t(19, J = l.mostplayedperiod), "lastplayedorder" in l && t(20, K = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, Q = l.mostplayedrounds), "mbsource" in l && t(24, q = l.mbsource);
1102
+ "userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, b = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, C = l.showgamename), "integratedgameframedesktop" in l && t(12, z = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, H = l.integratedgameframemobile), "translationurl" in l && t(32, O = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, I = l.casinomygames), "lastplayedperiod" in l && t(18, R = l.lastplayedperiod), "mostplayedperiod" in l && t(19, J = l.mostplayedperiod), "lastplayedorder" in l && t(20, K = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, Q = l.mostplayedrounds), "mbsource" in l && t(24, q = l.mbsource);
1103
1103
  }, a.$$.update = () => {
1104
1104
  a.$$.dirty[0] & /*endpoint, datasource, lang*/
1105
1105
  28 && d && o && r && X(), a.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
1106
1106
  114688 && G && E && B && X(), a.$$.dirty[1] & /*translationurl*/
1107
- 2 && A && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1107
+ 2 && O && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1108
1108
  33554496 && b && M && Le(M, b), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1109
1109
  33554560 && y && M && Ce(M, y), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
1110
1110
  50331648 && M && Ge(M, `${q}.Style`);
@@ -1141,7 +1141,7 @@ function Ue(a, e, t) {
1141
1141
  N,
1142
1142
  i,
1143
1143
  D,
1144
- A,
1144
+ O,
1145
1145
  de,
1146
1146
  fe,
1147
1147
  ue,