@everymatrix/casino-lobby 1.61.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/components/{CasinoCalendar-DoAbSivX.js → CasinoCalendar-Ds_auLbt.js} +772 -744
  2. package/components/{CasinoCalendar-m598e8c0.js → CasinoCalendar-DwNK-Krf.js} +725 -697
  3. package/components/CasinoCalendar-mfnJr7FR.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-Bsp_M9tm.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-C_XI9wqh.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-ihh2Fdl-.cjs → CasinoCalendarDailyDetails-CfPB55Pq.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-BZFRiT1-.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-DKNNV9h9.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-DX4mmW--.js} +33 -33
  10. package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-3nT06xt_.js} +70 -70
  11. package/components/CasinoCategoriesSlider-BcnId76H.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-BpGXCaMb.js} +71 -71
  13. package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-BGPURFbw.js} +44 -44
  14. package/components/{CasinoCollectionsProviders-tBs9i_s1.cjs → CasinoCollectionsProviders-By4Ga1uR.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-Dk4psn1e.js} +65 -65
  16. package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-Bc0fMYjF.js} +23 -23
  17. package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-C0CsEcw_.js} +23 -23
  18. package/components/{CasinoFavoritesSection-CtF6Vrcg.cjs → CasinoFavoritesSection-vRmZpBaX.cjs} +1 -1
  19. package/components/CasinoFilter-CAtpk4a4.js +645 -0
  20. package/components/CasinoFilter-CtjgbEie.js +646 -0
  21. package/components/CasinoFilter-dn8i37bN.cjs +1 -0
  22. package/components/{CasinoGamePage-BhfZPeFB.cjs → CasinoGamePage-ChuDdD-6.cjs} +6 -6
  23. package/components/{CasinoGamePage-B8-ifO-z.js → CasinoGamePage-DJvIg2Lf.js} +742 -742
  24. package/components/{CasinoGamePage-CLMVY2d0.js → CasinoGamePage-JBZLEvnG.js} +743 -743
  25. package/components/CasinoGameThumbnail-DjAdZZBA.js +1883 -0
  26. package/components/CasinoGameThumbnail-DrQpg0EE.js +1867 -0
  27. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +38 -0
  28. package/components/{CasinoGamesCategorySection-CIfBLzjC.js → CasinoGamesCategorySection-Ch0WIANe.js} +1241 -1159
  29. package/components/CasinoGamesCategorySection-GOjPf7-0.cjs +1 -0
  30. package/components/CasinoGamesCategorySection-foSq_Gr6.js +3154 -0
  31. package/components/{CasinoJackpotBanner-CdD_15mU.js → CasinoJackpotBanner-B2CksgLI.js} +110 -110
  32. package/components/{CasinoJackpotBanner-C8HGJTlE.cjs → CasinoJackpotBanner-B_eZxp_D.cjs} +1 -1
  33. package/components/{CasinoJackpotBanner-B3ZF9rcH.js → CasinoJackpotBanner-Iq9Ey3dk.js} +110 -110
  34. package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-Bp4Lsv3s.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DbANdFuL.js} +46 -46
  36. package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-cmf92qRb.cjs} +1 -1
  37. package/components/{CasinoLobby-Bntp7e5i.js → CasinoLobby-B8ucHOFp.js} +243 -184
  38. package/components/CasinoLobby-CAeLQ5BE.cjs +1 -0
  39. package/components/{CasinoLobby-6kkVRa0v.js → CasinoLobby-siRHhGuy.js} +243 -184
  40. package/components/{CasinoModal-CX70u0Ty.cjs → CasinoModal-DGa_AIvk.cjs} +1 -1
  41. package/components/{CasinoModal-QtSV_GhN.js → CasinoModal-Pt4nHM76.js} +43 -43
  42. package/components/{CasinoModal-bTxbu9d4.js → CasinoModal-e0s3ToYA.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-mgY7J84H.cjs → CasinoMostPlayedSection-Cxmg0Bai.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-B9_yeLMk.js → CasinoMostPlayedSection-Dk8rng9q.js} +44 -44
  45. package/components/{CasinoMostPlayedSection-D-VpqDyh.js → CasinoMostPlayedSection-DuO2XrE8.js} +44 -44
  46. package/components/{CasinoMyGames-CoK6Wgxp.cjs → CasinoMyGames-BXV5DJsV.cjs} +1 -1
  47. package/components/{CasinoMyGames-BQtk1EEq.js → CasinoMyGames-DDhJiodD.js} +51 -51
  48. package/components/{CasinoMyGames-BEUz5puH.js → CasinoMyGames-ZgZazIms.js} +47 -47
  49. package/components/CasinoPage-BfG57-mo.js +4071 -0
  50. package/components/CasinoPage-DlenCL5e.js +4052 -0
  51. package/components/CasinoPage-QkYfyrIK.cjs +1 -0
  52. package/components/{CasinoRandomGame-C7o1QBcd.js → CasinoRandomGame-C-KByRhW.js} +64 -64
  53. package/components/{CasinoRandomGame-DQXmOLue.js → CasinoRandomGame-CFxey-Hj.js} +66 -66
  54. package/components/{CasinoRandomGame-CpRxEK7p.cjs → CasinoRandomGame-Cs9kjDxc.cjs} +1 -1
  55. package/components/{CasinoSearch-DTglx2jN.js → CasinoSearch-BjnGir-z.js} +69 -69
  56. package/components/{CasinoSearch-D8oEWBOH.cjs → CasinoSearch-Ci-NvpMW.cjs} +1 -1
  57. package/components/{CasinoSearch-CTxffz7Z.js → CasinoSearch-Cwi_srKc.js} +69 -69
  58. package/components/{CasinoSlider-pPfml1-U.js → CasinoSlider-39QtmWWi.js} +89 -89
  59. package/components/{CasinoSlider-CGpDul3G.js → CasinoSlider-C7tccz8y.js} +80 -80
  60. package/components/{CasinoSlider-BU163_5n.cjs → CasinoSlider-DrdLTNh9.cjs} +1 -1
  61. package/components/{CasinoSort-BVq-FyEW.cjs → CasinoSort-Big21575.cjs} +1 -1
  62. package/components/{CasinoSort-DGdM4QXv.js → CasinoSort-BvuV6OEx.js} +103 -104
  63. package/components/{CasinoSort-BSaxbC32.js → CasinoSort-DgtkEGDb.js} +111 -110
  64. package/components/{CasinoWinners-i5RqXY4N.js → CasinoWinners-CAaxaJlt.js} +151 -151
  65. package/components/{CasinoWinners-BwwKfUuN.js → CasinoWinners-CUHNrZzd.js} +137 -137
  66. package/components/{CasinoWinners-CtwqFnag.cjs → CasinoWinners-YGc-x05i.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CDwioZhT.cjs → GeneralAnimationLoading-DS00gkfg.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-BszAoL3H.js → GeneralAnimationLoading-DgYbDns-.js} +18 -18
  69. package/components/{GeneralAnimationLoading-Xq-D41Fg.js → GeneralAnimationLoading-GRiNTyhV.js} +18 -18
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
  75. package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
  76. package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
  77. package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
  78. package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
  79. package/stencil/index-ab3202d6-D5caeC50.js +559 -0
  80. package/stencil/index-b2193545-CJX9lIo2.js +519 -0
  81. package/stencil/index-b2193545-CbB5TWd2.js +503 -0
  82. package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
  83. package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
  84. package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
  85. package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
  86. package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
  87. package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
  88. package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
  89. package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
  90. package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
  91. package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
  92. package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
  93. package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
  94. package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
  95. package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
  96. package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
  97. package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
  98. package/components/CasinoCalendar-CR3NqEmo.cjs +0 -22
  99. package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +0 -1
  100. package/components/CasinoFilter-C_1U3dc9.cjs +0 -1
  101. package/components/CasinoFilter-Cs9ZMDdP.js +0 -633
  102. package/components/CasinoFilter-D80YfaXW.js +0 -632
  103. package/components/CasinoGameThumbnail-C3GiNGVC.js +0 -1084
  104. package/components/CasinoGameThumbnail-D6vWUaB6.js +0 -1068
  105. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +0 -30
  106. package/components/CasinoGamesCategorySection-BfmPSDQ9.cjs +0 -1
  107. package/components/CasinoGamesCategorySection-o-CZJ4iD.js +0 -3070
  108. package/components/CasinoLobby-BfVpgZO6.cjs +0 -1
  109. package/components/CasinoPage-CO6a5Btu.cjs +0 -1
  110. package/components/CasinoPage-CiONVvV8.js +0 -3758
  111. package/components/CasinoPage-DOSD686t.js +0 -3755
  112. package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
  113. package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
  114. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
  115. package/stencil/index-b2193545-CGYrx6SV.js +0 -503
  116. package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
  117. package/stencil/index-b2193545-k_uiu1dU.js +0 -519
  118. package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
  119. package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
  120. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CR3NqEmo.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-mfnJr7FR.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,5 +1,5 @@
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-DoAbSivX.js";
2
- function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
1
+ import { a2 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, L as ae, d as H, h as F, t as W, g as le, j, o as re, l as de, u as R, e as B, w as ue, y as r, a3 as q, z, a4 as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, X as me, q as x, r as he, m as we, K, G as _e } from "./CasinoCalendar-DwNK-Krf.js";
2
+ function N(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
5
5
  delay: e,
@@ -9,10 +9,10 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
9
9
  };
10
10
  }
11
11
  function ye(s) {
12
- ne(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)}");
12
+ oe(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)}");
13
13
  }
14
- const be = (s) => ({}), N = (s) => ({});
15
- function V(s) {
14
+ const be = (s) => ({}), V = (s) => ({});
15
+ function X(s) {
16
16
  let e, t, n, o, l, w, k, c, u, b, p;
17
17
  const C = (
18
18
  /*#slots*/
@@ -31,23 +31,23 @@ function V(s) {
31
31
  s,
32
32
  /*$$scope*/
33
33
  s[19],
34
- N
34
+ V
35
35
  ), f = h || pe();
36
36
  return {
37
37
  c() {
38
- e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ce(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (s[1] == "true" && /*mobileView*/
40
- s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), O(() => (
40
+ s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  s[22].call(t)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
45
  m(a, g) {
46
- j(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = de(
46
+ H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
47
47
  t,
48
48
  /*div1_elementresize_handler*/
49
49
  s[22].bind(t)
50
- ), s[23](e), u = !0, b || (p = ue(
50
+ ), s[23](e), u = !0, b || (p = fe(
51
51
  l,
52
52
  "click",
53
53
  /*close*/
@@ -56,62 +56,62 @@ function V(s) {
56
56
  },
57
57
  p(a, g) {
58
58
  s = a, d && d.p && (!u || g[0] & /*$$scope*/
59
- 524288) && P(
59
+ 524288) && A(
60
60
  d,
61
61
  C,
62
62
  s,
63
63
  /*$$scope*/
64
64
  s[19],
65
- u ? x(
65
+ u ? P(
66
66
  C,
67
67
  /*$$scope*/
68
68
  s[19],
69
69
  g,
70
70
  null
71
- ) : q(
71
+ ) : O(
72
72
  /*$$scope*/
73
73
  s[19]
74
74
  ),
75
75
  null
76
76
  ), h && h.p && (!u || g[0] & /*$$scope*/
77
- 524288) && P(
77
+ 524288) && A(
78
78
  h,
79
79
  M,
80
80
  s,
81
81
  /*$$scope*/
82
82
  s[19],
83
- u ? x(
83
+ u ? P(
84
84
  M,
85
85
  /*$$scope*/
86
86
  s[19],
87
87
  g,
88
88
  be
89
- ) : q(
89
+ ) : O(
90
90
  /*$$scope*/
91
91
  s[19]
92
92
  ),
93
- N
93
+ V
94
94
  ), (!u || g[0] & /*haspanicbutton, mobileView*/
95
95
  10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
96
96
  (s[1] == "true" && /*mobileView*/
97
97
  s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
98
98
  },
99
99
  i(a) {
100
- u || (F(d, a), F(f, a), a && O(() => {
101
- u && (c || (c = A(t, K, { transitionDuration: (
100
+ u || (F(d, a), F(f, a), a && q(() => {
101
+ u && (c || (c = U(t, N, { transitionDuration: (
102
102
  /*duration*/
103
103
  s[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(a) {
108
- W(d, a), W(f, a), a && (c || (c = A(t, K, { transitionDuration: (
108
+ W(d, a), W(f, a), a && (c || (c = U(t, N, { transitionDuration: (
109
109
  /*duration*/
110
110
  s[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && H(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && j(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -119,35 +119,35 @@ function pe(s) {
119
119
  let e, t;
120
120
  return {
121
121
  c() {
122
- e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
122
+ e = K("svg"), t = K("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(n, o) {
125
- j(n, e, o), z(e, t);
125
+ H(n, e, o), z(e, t);
126
126
  },
127
- p: ge,
127
+ p: _e,
128
128
  d(n) {
129
- n && H(e);
129
+ n && j(e);
130
130
  }
131
131
  };
132
132
  }
133
133
  function Me(s) {
134
134
  let e, t, n = (
135
135
  /*show*/
136
- s[7] && V(s)
136
+ s[7] && X(s)
137
137
  );
138
138
  return {
139
139
  c() {
140
- n && n.c(), e = le();
140
+ n && n.c(), e = ae();
141
141
  },
142
142
  m(o, l) {
143
- n && n.m(o, l), j(o, e, l), t = !0;
143
+ n && n.m(o, l), H(o, e, l), t = !0;
144
144
  },
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (oe(), W(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = X(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
149
149
  n = null;
150
- }), ae());
150
+ }), le());
151
151
  },
152
152
  i(o) {
153
153
  t || (F(n), t = !0);
@@ -156,13 +156,13 @@ function Me(s) {
156
156
  W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && H(e), n && n.d(o);
159
+ o && j(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, L, D, S = !1;
165
- const X = () => {
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, D, L, S = !1;
165
+ const J = () => {
166
166
  t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
@@ -203,7 +203,7 @@ function ke(s, e, t) {
203
203
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
- M == "true" && fe(p, w).then(
206
+ M == "true" && me(p, w).then(
207
207
  (i) => {
208
208
  i.Guid, i.UserID;
209
209
  },
@@ -216,15 +216,15 @@ function ke(s, e, t) {
216
216
  window.removeEventListener("message", G), window.removeEventListener("resize", G);
217
217
  }));
218
218
  function Y(i) {
219
- U[i ? "unshift" : "push"](() => {
219
+ x[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
223
223
  function Z() {
224
- L = this.clientWidth, D = this.clientHeight, t(5, L), t(6, D);
224
+ D = this.clientWidth, L = this.clientHeight, t(5, D), t(6, L);
225
225
  }
226
226
  function $(i) {
227
- U[i ? "unshift" : "push"](() => {
227
+ x[i ? "unshift" : "push"](() => {
228
228
  y = i, t(2, y);
229
229
  });
230
230
  }
@@ -233,8 +233,8 @@ function ke(s, e, t) {
233
233
  }, s.$$.update = () => {
234
234
  s.$$.dirty[0] & /*session, userid, endpoint*/
235
235
  17920 && w && k && p && T(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
236
- 2052 && c && y && me(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
- 8196 && b && y && he(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
236
+ 2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
+ 8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
238
238
  262148 && y && we(y, `${f}.Style`);
239
239
  }, [
240
240
  l,
@@ -242,10 +242,10 @@ function ke(s, e, t) {
242
242
  y,
243
243
  g,
244
244
  _,
245
- L,
246
245
  D,
246
+ L,
247
247
  S,
248
- X,
248
+ J,
249
249
  w,
250
250
  k,
251
251
  c,
@@ -270,7 +270,7 @@ class Ce extends te {
270
270
  e,
271
271
  ke,
272
272
  Me,
273
- se,
273
+ ne,
274
274
  {
275
275
  duration: 0,
276
276
  session: 9,
@@ -362,7 +362,7 @@ class Ce extends te {
362
362
  this.$$set({ mbsource: e }), m();
363
363
  }
364
364
  }
365
- _e(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
365
+ se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
366
366
  export {
367
367
  Ce as default
368
368
  };
@@ -1,5 +1,5 @@
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-m598e8c0.js";
2
- function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
1
+ import { a2 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, L as ae, d as H, h as F, t as W, g as le, j, o as re, l as de, u as R, e as B, w as ue, y as r, a3 as q, z, a4 as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, X as me, q as x, r as he, m as we, K, G as _e } from "./CasinoCalendar-Ds_auLbt.js";
2
+ function N(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
5
5
  delay: e,
@@ -9,10 +9,10 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
9
9
  };
10
10
  }
11
11
  function ye(s) {
12
- ne(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)}");
12
+ oe(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)}");
13
13
  }
14
- const be = (s) => ({}), N = (s) => ({});
15
- function V(s) {
14
+ const be = (s) => ({}), V = (s) => ({});
15
+ function X(s) {
16
16
  let e, t, n, o, l, w, k, c, u, b, p;
17
17
  const C = (
18
18
  /*#slots*/
@@ -31,23 +31,23 @@ function V(s) {
31
31
  s,
32
32
  /*$$scope*/
33
33
  s[19],
34
- N
34
+ V
35
35
  ), f = h || pe();
36
36
  return {
37
37
  c() {
38
- e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ce(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (s[1] == "true" && /*mobileView*/
40
- s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), O(() => (
40
+ s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  s[22].call(t)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
45
  m(a, g) {
46
- j(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = de(
46
+ H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
47
47
  t,
48
48
  /*div1_elementresize_handler*/
49
49
  s[22].bind(t)
50
- ), s[23](e), u = !0, b || (p = ue(
50
+ ), s[23](e), u = !0, b || (p = fe(
51
51
  l,
52
52
  "click",
53
53
  /*close*/
@@ -56,62 +56,62 @@ function V(s) {
56
56
  },
57
57
  p(a, g) {
58
58
  s = a, d && d.p && (!u || g[0] & /*$$scope*/
59
- 524288) && P(
59
+ 524288) && A(
60
60
  d,
61
61
  C,
62
62
  s,
63
63
  /*$$scope*/
64
64
  s[19],
65
- u ? x(
65
+ u ? P(
66
66
  C,
67
67
  /*$$scope*/
68
68
  s[19],
69
69
  g,
70
70
  null
71
- ) : q(
71
+ ) : O(
72
72
  /*$$scope*/
73
73
  s[19]
74
74
  ),
75
75
  null
76
76
  ), h && h.p && (!u || g[0] & /*$$scope*/
77
- 524288) && P(
77
+ 524288) && A(
78
78
  h,
79
79
  M,
80
80
  s,
81
81
  /*$$scope*/
82
82
  s[19],
83
- u ? x(
83
+ u ? P(
84
84
  M,
85
85
  /*$$scope*/
86
86
  s[19],
87
87
  g,
88
88
  be
89
- ) : q(
89
+ ) : O(
90
90
  /*$$scope*/
91
91
  s[19]
92
92
  ),
93
- N
93
+ V
94
94
  ), (!u || g[0] & /*haspanicbutton, mobileView*/
95
95
  10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
96
96
  (s[1] == "true" && /*mobileView*/
97
97
  s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
98
98
  },
99
99
  i(a) {
100
- u || (F(d, a), F(f, a), a && O(() => {
101
- u && (c || (c = A(t, K, { transitionDuration: (
100
+ u || (F(d, a), F(f, a), a && q(() => {
101
+ u && (c || (c = U(t, N, { transitionDuration: (
102
102
  /*duration*/
103
103
  s[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(a) {
108
- W(d, a), W(f, a), a && (c || (c = A(t, K, { transitionDuration: (
108
+ W(d, a), W(f, a), a && (c || (c = U(t, N, { transitionDuration: (
109
109
  /*duration*/
110
110
  s[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && H(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && j(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -119,35 +119,35 @@ function pe(s) {
119
119
  let e, t;
120
120
  return {
121
121
  c() {
122
- e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
122
+ e = K("svg"), t = K("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(n, o) {
125
- j(n, e, o), z(e, t);
125
+ H(n, e, o), z(e, t);
126
126
  },
127
- p: ge,
127
+ p: _e,
128
128
  d(n) {
129
- n && H(e);
129
+ n && j(e);
130
130
  }
131
131
  };
132
132
  }
133
133
  function Me(s) {
134
134
  let e, t, n = (
135
135
  /*show*/
136
- s[7] && V(s)
136
+ s[7] && X(s)
137
137
  );
138
138
  return {
139
139
  c() {
140
- n && n.c(), e = le();
140
+ n && n.c(), e = ae();
141
141
  },
142
142
  m(o, l) {
143
- n && n.m(o, l), j(o, e, l), t = !0;
143
+ n && n.m(o, l), H(o, e, l), t = !0;
144
144
  },
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (oe(), W(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = X(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
149
149
  n = null;
150
- }), ae());
150
+ }), le());
151
151
  },
152
152
  i(o) {
153
153
  t || (F(n), t = !0);
@@ -156,13 +156,13 @@ function Me(s) {
156
156
  W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && H(e), n && n.d(o);
159
+ o && j(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, L, D, S = !1;
165
- const X = () => {
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, D, L, S = !1;
165
+ const J = () => {
166
166
  t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
@@ -203,7 +203,7 @@ function ke(s, e, t) {
203
203
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
- M == "true" && fe(p, w).then(
206
+ M == "true" && me(p, w).then(
207
207
  (i) => {
208
208
  i.Guid, i.UserID;
209
209
  },
@@ -216,15 +216,15 @@ function ke(s, e, t) {
216
216
  window.removeEventListener("message", G), window.removeEventListener("resize", G);
217
217
  }));
218
218
  function Y(i) {
219
- U[i ? "unshift" : "push"](() => {
219
+ x[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
223
223
  function Z() {
224
- L = this.clientWidth, D = this.clientHeight, t(5, L), t(6, D);
224
+ D = this.clientWidth, L = this.clientHeight, t(5, D), t(6, L);
225
225
  }
226
226
  function $(i) {
227
- U[i ? "unshift" : "push"](() => {
227
+ x[i ? "unshift" : "push"](() => {
228
228
  y = i, t(2, y);
229
229
  });
230
230
  }
@@ -233,8 +233,8 @@ function ke(s, e, t) {
233
233
  }, s.$$.update = () => {
234
234
  s.$$.dirty[0] & /*session, userid, endpoint*/
235
235
  17920 && w && k && p && T(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
236
- 2052 && c && y && me(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
- 8196 && b && y && he(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
236
+ 2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
+ 8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
238
238
  262148 && y && we(y, `${f}.Style`);
239
239
  }, [
240
240
  l,
@@ -242,10 +242,10 @@ function ke(s, e, t) {
242
242
  y,
243
243
  g,
244
244
  _,
245
- L,
246
245
  D,
246
+ L,
247
247
  S,
248
- X,
248
+ J,
249
249
  w,
250
250
  k,
251
251
  c,
@@ -270,7 +270,7 @@ class Ce extends te {
270
270
  e,
271
271
  ke,
272
272
  Me,
273
- se,
273
+ ne,
274
274
  {
275
275
  duration: 0,
276
276
  session: 9,
@@ -362,7 +362,7 @@ class Ce extends te {
362
362
  this.$$set({ mbsource: e }), m();
363
363
  }
364
364
  }
365
- _e(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
365
+ se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
366
366
  export {
367
367
  Ce as default
368
368
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CR3NqEmo.cjs");require("./CasinoFavoritesSection-CtF6Vrcg.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-mfnJr7FR.cjs");require("./CasinoFavoritesSection-vRmZpBaX.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;