@everymatrix/casino-page-nd 1.63.1 → 1.63.3

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 (76) hide show
  1. package/components/{CasinoCalendar-BOs8WCfO.js → CasinoCalendar-BeZncquz.js} +2 -2
  2. package/components/{CasinoCalendar-DmZ5Xi52.js → CasinoCalendar-CXqShP9K.js} +2 -2
  3. package/components/{CasinoCalendar-BgvtoG_R.cjs → CasinoCalendar-nljhPH7y.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-GUntgncR.js → CasinoCalendarDailyDetails-D8MUjPhD.js} +2 -2
  5. package/components/{CasinoCalendarDailyDetails-CUbJ-Eo-.cjs → CasinoCalendarDailyDetails-DciPEtlc.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-BHRzcj6i.js → CasinoCalendarDailyDetails-DjHQLxKC.js} +2 -2
  7. package/components/{CasinoCalendarDailyItem-B2t3D0gO.js → CasinoCalendarDailyItem-1co5UCOc.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-jNI8-Jv1.cjs → CasinoCalendarDailyItem-8n79Y5xW.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DgFxHqRc.js → CasinoCalendarDailyItem-CxNvFRRJ.js} +2 -2
  10. package/components/CasinoCollectionsProviders-CwF-EeBd.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-D7snEtOu.js → CasinoCollectionsProviders-DQ-lUWZN.js} +177 -178
  12. package/components/{CasinoCollectionsProviders-DqBg21dE.js → CasinoCollectionsProviders-Ddznc9st.js} +188 -189
  13. package/components/{CasinoFavoritesSectionNd-C1PLQT7N.js → CasinoFavoritesSectionNd-BlWT4iui.js} +2 -2
  14. package/components/{CasinoFavoritesSectionNd-uHYlK87K.js → CasinoFavoritesSectionNd-BnTeesk0.js} +2 -2
  15. package/components/{CasinoFavoritesSectionNd-BJrBigmF.cjs → CasinoFavoritesSectionNd-D_ZYhOj7.cjs} +1 -1
  16. package/components/{CasinoFilter-WrwNYfuJ.cjs → CasinoFilter-BZvjOUNz.cjs} +1 -1
  17. package/components/{CasinoFilter-C3DXMnbX.js → CasinoFilter-Bhzt3ud6.js} +1 -1
  18. package/components/{CasinoFilter-De6VkgDj.js → CasinoFilter-DffsJWQu.js} +1 -1
  19. package/components/{CasinoGameThumbnailNd-V-pMNJdc.js → CasinoGameThumbnailNd-2nTIk4n4.js} +2 -2
  20. package/components/{CasinoGameThumbnailNd-ClkAoSct.cjs → CasinoGameThumbnailNd-CysHD59z.cjs} +1 -1
  21. package/components/{CasinoGameThumbnailNd-CFafS8eQ.js → CasinoGameThumbnailNd-D0SQKFnz.js} +2 -2
  22. package/components/{CasinoGamesCategorySectionNd-Drp4O0r3.js → CasinoGamesCategorySectionNd-BrJqpr90.js} +6 -6
  23. package/components/{CasinoGamesCategorySectionNd-CQYopwYN.js → CasinoGamesCategorySectionNd-DblhITZq.js} +6 -6
  24. package/components/CasinoGamesCategorySectionNd-sKNU4Uaa.cjs +1 -0
  25. package/components/{CasinoJackpotBanner-B1ZkOilK.js → CasinoJackpotBanner-CLIfQAnS.js} +2 -2
  26. package/components/{CasinoJackpotBanner-DuplLyPb.cjs → CasinoJackpotBanner-CqOh2dMq.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner-DjgSy20d.js → CasinoJackpotBanner-QiQ-hf00.js} +2 -2
  28. package/components/{CasinoLastPlayedSectionNd-BHx1C5va.js → CasinoLastPlayedSectionNd-BHzCZOJx.js} +2 -2
  29. package/components/{CasinoLastPlayedSectionNd-N1fFIUv5.cjs → CasinoLastPlayedSectionNd-C39qJ_Mh.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSectionNd-BDTxfyJH.js → CasinoLastPlayedSectionNd-DVOECVV8.js} +2 -2
  31. package/components/{CasinoMostPlayedSectionNd-UhCl6jDs.js → CasinoMostPlayedSectionNd--1nAaEYW.js} +2 -2
  32. package/components/{CasinoMostPlayedSectionNd-tcn3fQtg.cjs → CasinoMostPlayedSectionNd-CnKNCtdP.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSectionNd-cWiTMaVE.js → CasinoMostPlayedSectionNd-DW8ig7K8.js} +2 -2
  34. package/components/{CasinoMyGamesNd-DgHm2YF7.js → CasinoMyGamesNd-Co0fk_f0.js} +4 -4
  35. package/components/{CasinoMyGamesNd-DwfIWkhh.js → CasinoMyGamesNd-Cqr5TpEC.js} +4 -4
  36. package/components/{CasinoMyGamesNd-Q8OA02xy.cjs → CasinoMyGamesNd-oMRVUeFr.cjs} +1 -1
  37. package/components/{CasinoPageNd-NUnpGq87.js → CasinoPageNd-CBdWKcW1.js} +1562 -1562
  38. package/components/{CasinoPageNd-DS-Z0anQ.js → CasinoPageNd-DE8xKd2z.js} +1552 -1552
  39. package/components/CasinoPageNd-bejASavu.cjs +1 -0
  40. package/components/{CasinoRandomGame-DfqSrqkd.js → CasinoRandomGame-Bk1JbUlj.js} +1 -1
  41. package/components/{CasinoRandomGame-CAPWXz7E.js → CasinoRandomGame-BmbrklCB.js} +1 -1
  42. package/components/{CasinoRandomGame-C6QtFF4H.cjs → CasinoRandomGame-DmhidQ0r.cjs} +1 -1
  43. package/components/{CasinoSearchNd-C3nHoB_a.js → CasinoSearchNd-BBMct-vQ.js} +4 -4
  44. package/components/CasinoSearchNd-Dzr5VYDU.cjs +1 -0
  45. package/components/{CasinoSearchNd-CukQfRJa.js → CasinoSearchNd-TBWaspGM.js} +4 -4
  46. package/components/{CasinoSort-CTiRc82l.js → CasinoSort-BwF_FapK.js} +1 -1
  47. package/components/{CasinoSort-CDJZTsFH.cjs → CasinoSort-Dd8ZEIdO.cjs} +1 -1
  48. package/components/{CasinoSort-CoIkpUDb.js → CasinoSort-JdpRMlFB.js} +1 -1
  49. package/components/{CasinoWinners-Cbji1sSG.js → CasinoWinners-BQNqPkDs.js} +309 -296
  50. package/components/{CasinoWinners-CsFLhIyp.js → CasinoWinners-DndMyplw.js} +218 -221
  51. package/components/CasinoWinners-jQ69UTS2.cjs +1 -0
  52. package/components/{GeneralAnimationLoading-Bmp-KqkP.js → GeneralAnimationLoading-C8QANCXC.js} +1 -1
  53. package/components/{GeneralAnimationLoading-h023DKOA.js → GeneralAnimationLoading-Cw3xHMcW.js} +1 -1
  54. package/components/{GeneralAnimationLoading-DKbjZ0zs.cjs → GeneralAnimationLoading-D60kNPCe.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-DYdohc-6.js} +1 -1
  60. package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-__SOROv4.js} +1 -1
  61. package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-_wmLv9aI.cjs} +1 -1
  62. package/stencil/{ui-image-CYB9UUHg.js → ui-image-B5jMTPJS.js} +1 -1
  63. package/stencil/{ui-image-BSTP7sZO.js → ui-image-DZfaeMnX.js} +1 -1
  64. package/stencil/{ui-image-C3XzpHRB.cjs → ui-image-NUzlC2fG.cjs} +1 -1
  65. package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-d1314fef-CQsVQg0l.js} +2 -2
  66. package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +1 -0
  67. package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-d1314fef-Juydh_ii.js} +2 -2
  68. package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-BK3m47_O.js} +2 -2
  69. package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-DbIvpcwA.cjs} +1 -1
  70. package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-OR-2QD6I.js} +2 -2
  71. package/components/CasinoCollectionsProviders-MS5Dvlol.cjs +0 -1
  72. package/components/CasinoGamesCategorySectionNd-BULnwhi6.cjs +0 -1
  73. package/components/CasinoPageNd-Ced9x_Fm.cjs +0 -1
  74. package/components/CasinoSearchNd-3JRRGKZk.cjs +0 -1
  75. package/components/CasinoWinners-CPM46iQH.cjs +0 -1
  76. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BgvtoG_R.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-BJrBigmF.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-N1fFIUv5.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-tcn3fQtg.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function le(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,e,a){const l=s.slice();return l[43]=e[a],l}function ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(R(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[27]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&1946386432|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=R(u,o,c);m[c]?m[c].p(v,f):(m[c]=K(v),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[30]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67141632&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[15]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67174400&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[16]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[30]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67239936&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[17]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function ie(s){let e;return{c(){e=t.element("casino-last-played-section-nd"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[15]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"lastplayedperiod",s[19]),t.set_custom_element_data(e,"lastplayedorder",s[21]),t.set_custom_element_data(e,"lastplayedlimit",s[22]),t.set_custom_element_data(e,"lastplayedunique",s[23]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&524288&&t.set_custom_element_data(e,"lastplayedperiod",a[19]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedorder",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedlimit",a[22]),l[0]&8388608&&t.set_custom_element_data(e,"lastplayedunique",a[23]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[15]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"mostplayedrounds",s[24]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"mostplayedperiod",s[20]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&16777216&&t.set_custom_element_data(e,"mostplayedrounds",a[24]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&1048576&&t.set_custom_element_data(e,"mostplayedperiod",a[20]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[15]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[18])return ne}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[36](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{mbsource:g}=e,{clientstyling:_=""}=e,{clientstylingurl:u=""}=e,{livecasino:f=""}=e,{visiblegames:c=""}=e,{gamepagemodalurl:v=""}=e,{showgamename:E=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,h,C="",z=!1,b=["","",""],G="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{U(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(n=>{U(n,I[n])});const L=n=>{C!==n&&a(26,C=n)},Y=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},H=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,G=n.data.favoriteGamesLength):a(29,G=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(27,z=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"mbsource"in n&&a(6,g=n.mbsource),"clientstyling"in n&&a(7,_=n.clientstyling),"clientstylingurl"in n&&a(8,u=n.clientstylingurl),"livecasino"in n&&a(9,f=n.livecasino),"visiblegames"in n&&a(10,c=n.visiblegames),"gamepagemodalurl"in n&&a(11,v=n.gamepagemodalurl),"showgamename"in n&&a(12,E=n.showgamename),"integratedgameframedesktop"in n&&a(13,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(14,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(15,P=n.favorites),"mostplayed"in n&&a(16,w=n.mostplayed),"lastplayed"in n&&a(17,M=n.lastplayed),"casinomygames"in n&&a(18,A=n.casinomygames),"lastplayedperiod"in n&&a(19,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(20,q=n.mostplayedperiod),"lastplayedorder"in n&&a(21,D=n.lastplayedorder),"lastplayedlimit"in n&&a(22,S=n.lastplayedlimit),"lastplayedunique"in n&&a(23,N=n.lastplayedunique),"mostplayedrounds"in n&&a(24,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&229404&&d&&o&&m&&P&&w&&M&&Y(),s.$$.dirty[1]&2&&F&&X(),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStyling(h,_),s.$$.dirty[0]&33554688&&u&&h&&t.setClientStylingURL(h,u),s.$$.dirty[0]&33554496&&g&&h&&t.setStreamStyling(h,`${g}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,E,O,B,P,w,M,A,j,q,D,S,N,T,h,C,z,b,G,l,L,F,x,$,ee,te]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:32,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency: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 visiblegames(){return this.$$.ctx[10]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-nljhPH7y.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-D_ZYhOj7.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-C39qJ_Mh.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-CnKNCtdP.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function le(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,e,a){const l=s.slice();return l[43]=e[a],l}function ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(R(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[27]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&1946386432|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=R(u,o,c);m[c]?m[c].p(v,f):(m[c]=K(v),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[30]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67141632&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[15]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67174400&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[16]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[30]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67239936&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[17]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function ie(s){let e;return{c(){e=t.element("casino-last-played-section-nd"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[15]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"lastplayedperiod",s[19]),t.set_custom_element_data(e,"lastplayedorder",s[21]),t.set_custom_element_data(e,"lastplayedlimit",s[22]),t.set_custom_element_data(e,"lastplayedunique",s[23]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&524288&&t.set_custom_element_data(e,"lastplayedperiod",a[19]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedorder",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedlimit",a[22]),l[0]&8388608&&t.set_custom_element_data(e,"lastplayedunique",a[23]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[15]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"mostplayedrounds",s[24]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"mostplayedperiod",s[20]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&16777216&&t.set_custom_element_data(e,"mostplayedrounds",a[24]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&1048576&&t.set_custom_element_data(e,"mostplayedperiod",a[20]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[15]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[18])return ne}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[36](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{mbsource:g}=e,{clientstyling:_=""}=e,{clientstylingurl:u=""}=e,{livecasino:f=""}=e,{visiblegames:c=""}=e,{gamepagemodalurl:v=""}=e,{showgamename:E=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,h,C="",z=!1,b=["","",""],G="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{U(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(n=>{U(n,I[n])});const L=n=>{C!==n&&a(26,C=n)},Y=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},H=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,G=n.data.favoriteGamesLength):a(29,G=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(27,z=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"mbsource"in n&&a(6,g=n.mbsource),"clientstyling"in n&&a(7,_=n.clientstyling),"clientstylingurl"in n&&a(8,u=n.clientstylingurl),"livecasino"in n&&a(9,f=n.livecasino),"visiblegames"in n&&a(10,c=n.visiblegames),"gamepagemodalurl"in n&&a(11,v=n.gamepagemodalurl),"showgamename"in n&&a(12,E=n.showgamename),"integratedgameframedesktop"in n&&a(13,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(14,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(15,P=n.favorites),"mostplayed"in n&&a(16,w=n.mostplayed),"lastplayed"in n&&a(17,M=n.lastplayed),"casinomygames"in n&&a(18,A=n.casinomygames),"lastplayedperiod"in n&&a(19,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(20,q=n.mostplayedperiod),"lastplayedorder"in n&&a(21,D=n.lastplayedorder),"lastplayedlimit"in n&&a(22,S=n.lastplayedlimit),"lastplayedunique"in n&&a(23,N=n.lastplayedunique),"mostplayedrounds"in n&&a(24,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&229404&&d&&o&&m&&P&&w&&M&&Y(),s.$$.dirty[1]&2&&F&&X(),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStyling(h,_),s.$$.dirty[0]&33554688&&u&&h&&t.setClientStylingURL(h,u),s.$$.dirty[0]&33554496&&g&&h&&t.setStreamStyling(h,`${g}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,E,O,B,P,w,M,A,j,q,D,S,N,T,h,C,z,b,G,l,L,F,x,$,ee,te]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:32,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency: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 visiblegames(){return this.$$.ctx[10]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;