@everymatrix/casino-lobby 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/components/{CasinoCalendar-BKvw2GLN.js → CasinoCalendar-8h5qdaaJ.js} +331 -269
  2. package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-D9zXfDS4.js} +416 -354
  3. package/components/{CasinoCalendar-P6bQ-mxN.cjs → CasinoCalendar-pDYRKcjG.cjs} +18 -5
  4. package/components/CasinoCalendarDailyDetails-D0Kx4qhT.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DFwCqTfY.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-DkbuLEg5.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-C62RswBp.js +306 -0
  8. package/components/CasinoCalendarDailyItem-DTqfqF2k.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DX_5vyqn.cjs +1 -0
  10. package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-BhsSLM-H.js} +51 -51
  12. package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-CCCss88T.js} +51 -51
  13. package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-8BCzbgO7.js} +35 -33
  14. package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-B7jL1xWi.js} +36 -34
  15. package/components/CasinoCollectionsProviders-DdI8afJV.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-8fm71dF4.js} +35 -34
  17. package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-C0iLu9Sw.js} +35 -34
  18. package/components/CasinoFavoritesSection-DrmyxOK7.cjs +1 -0
  19. package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-BTgsR3X2.js} +63 -59
  20. package/components/{CasinoFilter-EA285UxQ.cjs → CasinoFilter-D06f7IqM.cjs} +1 -1
  21. package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-m6_88uQv.js} +65 -61
  22. package/components/CasinoGamePage-CkvljoIb.js +4249 -0
  23. package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
  24. package/components/CasinoGamePage-DAv8OZV8.js +4228 -0
  25. package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-B4KIog_7.js} +15 -10
  26. package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-BMm5Xl4k.js} +15 -10
  27. package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
  28. package/components/CasinoGamesCategorySection-BSklauO4.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-DUDDLFW2.js} +556 -585
  30. package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-XWxil8vo.js} +1070 -1099
  31. package/components/CasinoJackpotBanner-6WZPbIyJ.js +692 -0
  32. package/components/CasinoJackpotBanner-Bu16yaAe.js +688 -0
  33. package/components/CasinoJackpotBanner-CRGjJl2y.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-BT4kxVP1.js} +41 -41
  35. package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-DFUMCS3n.js} +41 -41
  36. package/components/CasinoLastPlayedSection-cjUgoZnI.cjs +1 -0
  37. package/components/CasinoLobby-CRIb8E4f.cjs +1 -0
  38. package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-Di0-vjQH.js} +327 -308
  39. package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DrBFK5gG.js} +323 -304
  40. package/components/CasinoModal-35QTkTq-.cjs +1 -0
  41. package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-Ce9u8B9n.js} +38 -38
  42. package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-DMOewty4.js} +38 -38
  43. package/components/CasinoMostPlayedSection-C1K-DGkZ.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CXWjhKax.js} +174 -165
  45. package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-DAuM-1cc.js} +174 -165
  46. package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-0CUDyeW1.js} +332 -295
  47. package/components/CasinoMyGames-DQaVeSFh.cjs +1 -0
  48. package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-DTWGCs0t.js} +333 -296
  49. package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-BFAkKTIr.js} +562 -495
  50. package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-CYfqznpn.js} +694 -627
  51. package/components/CasinoPage-Dn8IgsJW.cjs +1 -0
  52. package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-CwNUHn-I.js} +26 -24
  53. package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-qSedkhdM.js} +25 -23
  55. package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-58Bbs2ly.js} +52 -49
  56. package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
  57. package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-Itb9Lu5Z.js} +52 -49
  58. package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-BBo1-Yix.js} +107 -107
  59. package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-BLhtuqXM.js} +88 -88
  60. package/components/CasinoSlider-BiIS2-lS.cjs +1 -0
  61. package/components/{CasinoSort-CVwRicsk.js → CasinoSort-CBEUIj6Q.js} +7 -6
  62. package/components/CasinoSort-ClDrkZcs.cjs +1 -0
  63. package/components/{CasinoSort-D9KTb90Q.js → CasinoSort-DDFUPoRE.js} +7 -6
  64. package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-C9LcOp1b.js} +48 -46
  65. package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
  66. package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-wjNHmiu9.js} +51 -49
  67. package/components/GeneralAnimationLoading-D4V5ml6G.js +84 -0
  68. package/components/GeneralAnimationLoading-DXg7Sgve.js +84 -0
  69. package/components/GeneralAnimationLoading-dlh-TGCV.cjs +1 -0
  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-B5g4-G4Z.js → casino-play-random-game-B9yaAMOE.js} +55 -30
  75. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-BTXyM5es.js} +74 -49
  76. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  77. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  78. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  79. package/stencil/{index-eac6b960-Dvyvd5zP.js → index-510a6ba4-CzpWs0jf.js} +185 -200
  80. package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
  81. package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
  83. package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
  84. package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
  85. package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
  86. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
  87. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
  88. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
  89. package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
  90. package/components/CasinoGamePage-DnFlR6PD.js +0 -4296
  91. package/components/CasinoGamePage-lOejw_q6.js +0 -4275
  92. package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
  93. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
  94. package/components/CasinoJackpotBanner-BdzgC-lW.js +0 -690
  95. package/components/CasinoJackpotBanner-Dx_3WwEw.js +0 -686
  96. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
  97. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
  98. package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
  99. package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
  100. package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
  101. package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
  102. package/components/CasinoPage-azRHPGyF.cjs +0 -1
  103. package/components/CasinoSlider-Zgasc58K.cjs +0 -1
  104. package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
  105. package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
  106. package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
  107. package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
  108. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  109. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-pDYRKcjG.cjs");function z(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-15mlcfp",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,_,v,x,S,k,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),i=e.element("div"),u=e.element("div"),s=e.element("img"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),_=e.space(),v=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.attr(s,"src",p),e.attr(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",k="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(i,"background-image","url('"+n[0]+"')"),e.set_style(i,"background-size","cover"),e.set_style(i,"background-position","center"),e.set_style(i,"-webkit-background-size","cover"),e.set_style(i,"-moz-background-size","cover"),e.set_style(i,"-o-background-size","cover"),e.attr(l,"class","CalendarCard"),e.attr(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),e.append(i,_),e.append(i,v),e.append(v,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.attr(s,"src",p),t&2&&e.attr(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",k),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:C=""}=a,{dailyday:i=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,_=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(F=>F.json()).then(F=>{Object.keys(F).forEach(M=>{z(M,F[M])})}).catch(F=>{console.log(F)})},k=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,_=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}return n.$$set=t=>{"lang"in t&&r(10,l=t.lang),"dailybackground"in t&&r(0,g=t.dailybackground),"dailyicon"in t&&r(1,C=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,s=t.dailybuttontitle),"index"in t&&r(4,p=t.index),"mbsource"in t&&r(12,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&k(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,_,b,w,l,u,m,c,y,h,I,T,d]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-pDYRKcjG.cjs");function K(i,e){t.addMessages(i,e)}const Q={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}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=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BiIS2-lS.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ie(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ne(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function le(i){let e;function s(n,o){return n[13]||re||ce?oe:n[15]?ne:ie}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",re=!1,ce=!1;function me(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:w=""}=e,{clientstyling:N=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,B,I,g=!0,f,y=[],d=!1,W=window.navigator.userAgent,m,Y,z=!1,S=!1;const X=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{K(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(Q).forEach(a=>{K(a,Q[a])});const Z=()=>{z==!1&&(w=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:B,href:"",games:[]}),t.tick(),z=!0,s(26,S=!0),k()},x=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),p=()=>{if(B=l("myGamesName"),I=l("lobbyName"),!x()){let a=new URL(`${r}/v1/casino/groups/${n}`);a.searchParams.append("datasource",n),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(W)),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),te=c.items.filter(J=>{let E=!1;if(J.games.total>0&&(E=!0,M))for(let se of C)J.flags==se&&(E=!1);return E});y=[],y=y.concat(te),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},$=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},H=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.emMessageBus&&q&&q.unsubscribe(),window.removeEventListener("message",H)}));function ee(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,w=a.favorites),"clientstyling"in a&&s(4,N=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&p(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||w)&&!g&&Z(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&$(),i.$$.dirty[0]&33554432&&v&&X(),i.$$.dirty[0]&16400&&N&&m&&t.setClientStyling(m,N),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,Y=0),[u,r,n,o,N,L,F,D,O,T,R,U,G,g,m,d,Y,k,P,h,b,_,w,A,M,v,S,ee]}class V extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,le,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},ae,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(V,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=V;
@@ -1,4 +1,4 @@
1
- import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as j, D as S, j as F, k as fe, o as be, K as de, L as he, M as we, n as Ne, N as Le, O as Me, P as n, v as E, w as _e, Q as Ce, F as ve } from "./CasinoCalendar-CRnGs6mI.js";
1
+ import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as E, G as S, j, k as fe, o as be, l as de, N as he, O as Ne, q as we, r as Le, m as Me, P as n, y as T, z as _e, Q as ve, I as Ce } from "./CasinoCalendar-D9zXfDS4.js";
2
2
  function x(i, e) {
3
3
  le(i, e);
4
4
  }
@@ -88,7 +88,7 @@ if (typeof window != "undefined") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-DlBcdeDm.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-BLhtuqXM.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
@@ -114,7 +114,7 @@ function ke(i) {
114
114
  "endpoint",
115
115
  /*endpoint*/
116
116
  i[1]
117
- ), n(t, "identity", T), n(
117
+ ), n(t, "identity", O), n(
118
118
  t,
119
119
  "favoritesnumber",
120
120
  /*numberOfFavoredGames*/
@@ -169,10 +169,10 @@ function ke(i) {
169
169
  "mygamesiconimage",
170
170
  /*mygamesiconimage*/
171
171
  i[11]
172
- ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
172
+ ), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
173
173
  },
174
174
  m(a, o) {
175
- j(a, e, o), _e(e, t), r || (c = Ce(
175
+ E(a, e, o), _e(e, t), r || (c = ve(
176
176
  /*sendSliderData*/
177
177
  i[17].call(null, t)
178
178
  ), r = !0);
@@ -265,7 +265,7 @@ function ke(i) {
265
265
  );
266
266
  },
267
267
  d(a) {
268
- a && F(e), r = !1, c();
268
+ a && j(e), r = !1, c();
269
269
  }
270
270
  };
271
271
  }
@@ -273,14 +273,14 @@ function Se(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = h("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
276
+ e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, r) {
279
- j(t, e, r);
279
+ E(t, e, r);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && F(e);
283
+ t && j(e);
284
284
  }
285
285
  };
286
286
  }
@@ -288,14 +288,14 @@ function Ee(i) {
288
288
  let e;
289
289
  return {
290
290
  c() {
291
- e = h("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
291
+ e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
292
292
  },
293
293
  m(t, r) {
294
- j(t, e, r);
294
+ E(t, e, r);
295
295
  },
296
296
  p: S,
297
297
  d(t) {
298
- t && F(e);
298
+ t && j(e);
299
299
  }
300
300
  };
301
301
  }
@@ -304,7 +304,7 @@ function je(i) {
304
304
  function t(a, o) {
305
305
  return (
306
306
  /*isLoading*/
307
- a[13] || Fe || Pe ? Ee : (
307
+ a[13] || Pe || Fe ? Ee : (
308
308
  /*hasErrors*/
309
309
  a[15] ? Se : ke
310
310
  )
@@ -316,7 +316,7 @@ function je(i) {
316
316
  e = h("div"), c.c();
317
317
  },
318
318
  m(a, o) {
319
- j(a, e, o), c.m(e, null), i[27](e);
319
+ E(a, e, o), c.m(e, null), i[27](e);
320
320
  },
321
321
  p(a, o) {
322
322
  r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
@@ -324,15 +324,15 @@ function je(i) {
324
324
  i: S,
325
325
  o: S,
326
326
  d(a) {
327
- a && F(e), c.d(), i[27](null);
327
+ a && j(e), c.d(), i[27](null);
328
328
  }
329
329
  };
330
330
  }
331
- let T = "CasinoSliderData", Fe = !1, Pe = !1;
332
- function De(i, e, t) {
331
+ let O = "CasinoSliderData", Pe = !1, Fe = !1;
332
+ function Ae(i, e, t) {
333
333
  let r;
334
- fe(i, ve, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: C = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: B = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: v = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, K, Q, J, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, D = !1;
334
+ fe(i, Ce, (s) => t(33, r = s));
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: q = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: z = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, Q, J, K, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, F = !1;
336
336
  const ee = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
@@ -346,29 +346,29 @@ function De(i, e, t) {
346
346
  x(s, p[s]);
347
347
  });
348
348
  const te = () => {
349
- W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
349
+ W == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
350
350
  // @ts-ignore
351
351
  id: "MYGAMES",
352
- name: Q,
352
+ name: J,
353
353
  href: "",
354
354
  games: []
355
- }), he(), W = !0, t(26, D = !0), A();
355
+ }), he(), W = !0, t(26, F = !0), A();
356
356
  }, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
357
- if (Q = r("myGamesName"), J = r("lobbyName"), !se()) {
357
+ if (J = r("myGamesName"), K = r("lobbyName"), !se()) {
358
358
  let s = new URL(`${c}/v1/casino/groups/${a}`);
359
- s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", we($)), fetch(s).then((m) => m.json()).then(
359
+ s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", Ne($)), fetch(s).then((m) => m.json()).then(
360
360
  (m) => {
361
- let k = v.split(","), oe = m.items.filter((Z) => {
362
- let O = !1;
363
- if (Z.games.total > 0 && (O = !0, v))
361
+ let k = C.split(","), oe = m.items.filter((Z) => {
362
+ let D = !1;
363
+ if (Z.games.total > 0 && (D = !0, C))
364
364
  for (let re of k)
365
- Z.flags == re && (O = !1);
366
- return O;
365
+ Z.flags == re && (D = !1);
366
+ return D;
367
367
  });
368
368
  d = [], d = d.concat(oe), d.unshift({
369
369
  // @ts-ignore
370
370
  id: "LOBBY",
371
- name: J,
371
+ name: K,
372
372
  href: "",
373
373
  games: []
374
374
  }), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
@@ -387,32 +387,32 @@ function De(i, e, t) {
387
387
  window.postMessage(
388
388
  {
389
389
  type: "SliderData",
390
- identity: T,
390
+ identity: O,
391
391
  data: d
392
392
  },
393
393
  window.location.href
394
394
  );
395
395
  }, X = (s) => {
396
- s.data && s.data.type == "SliderLoaded" && T == s.data.identity && A();
396
+ s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
397
397
  };
398
398
  be(() => (window.addEventListener("message", X, !1), () => {
399
- window.emMessageBus && K && K.unsubscribe(), window.removeEventListener("message", X);
399
+ window.emMessageBus && Q && Q.unsubscribe(), window.removeEventListener("message", X);
400
400
  }));
401
401
  function ne(s) {
402
- Ne[s ? "unshift" : "push"](() => {
402
+ we[s ? "unshift" : "push"](() => {
403
403
  g = s, t(14, g);
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, w = s.session), "mostplayed" in s && t(20, N = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, C = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, B = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, v = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, q = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, z = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
410
  14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
- 7872514 && c && w && (N || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
- 67641345 && !y && u && (!w || D) && ae(), i.$$.dirty[0] & /*translationurl*/
411
+ 7872514 && c && N && (w || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
+ 67641345 && !y && u && (!N || F) && ae(), i.$$.dirty[0] & /*translationurl*/
413
413
  33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
414
  16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
- 16416 && C && g && de(g, C), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
415
+ 16416 && v && g && de(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
416
  20480 && g && Me(g, `${P}.Style`);
417
417
  }, t(16, V = 0), [
418
418
  u,
@@ -420,12 +420,12 @@ function De(i, e, t) {
420
420
  a,
421
421
  o,
422
422
  _,
423
- C,
424
- U,
425
- I,
426
- Y,
423
+ v,
424
+ R,
425
+ B,
427
426
  q,
428
427
  z,
428
+ Y,
429
429
  H,
430
430
  P,
431
431
  y,
@@ -433,24 +433,24 @@ function De(i, e, t) {
433
433
  f,
434
434
  V,
435
435
  A,
436
- R,
437
- w,
436
+ I,
438
437
  N,
438
+ w,
439
439
  L,
440
440
  M,
441
- B,
442
- v,
441
+ U,
442
+ C,
443
443
  G,
444
- D,
444
+ F,
445
445
  ne
446
446
  ];
447
447
  }
448
- class Ae extends ce {
448
+ class De extends ce {
449
449
  constructor(e) {
450
450
  super(), me(
451
451
  this,
452
452
  e,
453
- De,
453
+ Ae,
454
454
  je,
455
455
  ue,
456
456
  {
@@ -607,7 +607,7 @@ class Ae extends ce {
607
607
  this.$$set({ mbsource: e }), l();
608
608
  }
609
609
  }
610
- ge(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
610
+ ge(De, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
611
611
  export {
612
- Ae as default
612
+ De as default
613
613
  };
@@ -1,4 +1,4 @@
1
- import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as j, D as S, j as F, k as fe, o as be, K as de, L as he, M as we, n as Ne, N as Le, O as Me, P as n, v as E, w as _e, Q as Ce, F as ve } from "./CasinoCalendar-BKvw2GLN.js";
1
+ import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as E, G as S, j, k as fe, o as be, l as de, N as he, O as Ne, q as we, r as Le, m as Me, P as n, y as T, z as _e, Q as ve, I as Ce } from "./CasinoCalendar-8h5qdaaJ.js";
2
2
  function x(i, e) {
3
3
  le(i, e);
4
4
  }
@@ -88,7 +88,7 @@ if (typeof window < "u") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-ylo7nRmY.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-BBo1-Yix.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
@@ -114,7 +114,7 @@ function ke(i) {
114
114
  "endpoint",
115
115
  /*endpoint*/
116
116
  i[1]
117
- ), n(t, "identity", T), n(
117
+ ), n(t, "identity", O), n(
118
118
  t,
119
119
  "favoritesnumber",
120
120
  /*numberOfFavoredGames*/
@@ -169,10 +169,10 @@ function ke(i) {
169
169
  "mygamesiconimage",
170
170
  /*mygamesiconimage*/
171
171
  i[11]
172
- ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
172
+ ), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
173
173
  },
174
174
  m(a, o) {
175
- j(a, e, o), _e(e, t), r || (c = Ce(
175
+ E(a, e, o), _e(e, t), r || (c = ve(
176
176
  /*sendSliderData*/
177
177
  i[17].call(null, t)
178
178
  ), r = !0);
@@ -265,7 +265,7 @@ function ke(i) {
265
265
  );
266
266
  },
267
267
  d(a) {
268
- a && F(e), r = !1, c();
268
+ a && j(e), r = !1, c();
269
269
  }
270
270
  };
271
271
  }
@@ -273,14 +273,14 @@ function Se(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = h("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
276
+ e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, r) {
279
- j(t, e, r);
279
+ E(t, e, r);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && F(e);
283
+ t && j(e);
284
284
  }
285
285
  };
286
286
  }
@@ -288,14 +288,14 @@ function Ee(i) {
288
288
  let e;
289
289
  return {
290
290
  c() {
291
- e = h("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
291
+ e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
292
292
  },
293
293
  m(t, r) {
294
- j(t, e, r);
294
+ E(t, e, r);
295
295
  },
296
296
  p: S,
297
297
  d(t) {
298
- t && F(e);
298
+ t && j(e);
299
299
  }
300
300
  };
301
301
  }
@@ -304,7 +304,7 @@ function je(i) {
304
304
  function t(a, o) {
305
305
  return (
306
306
  /*isLoading*/
307
- a[13] || Fe || Pe ? Ee : (
307
+ a[13] || Pe || Fe ? Ee : (
308
308
  /*hasErrors*/
309
309
  a[15] ? Se : ke
310
310
  )
@@ -316,7 +316,7 @@ function je(i) {
316
316
  e = h("div"), c.c();
317
317
  },
318
318
  m(a, o) {
319
- j(a, e, o), c.m(e, null), i[27](e);
319
+ E(a, e, o), c.m(e, null), i[27](e);
320
320
  },
321
321
  p(a, o) {
322
322
  r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
@@ -324,15 +324,15 @@ function je(i) {
324
324
  i: S,
325
325
  o: S,
326
326
  d(a) {
327
- a && F(e), c.d(), i[27](null);
327
+ a && j(e), c.d(), i[27](null);
328
328
  }
329
329
  };
330
330
  }
331
- let T = "CasinoSliderData", Fe = !1, Pe = !1;
332
- function De(i, e, t) {
331
+ let O = "CasinoSliderData", Pe = !1, Fe = !1;
332
+ function Ae(i, e, t) {
333
333
  let r;
334
- fe(i, ve, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: C = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: B = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: v = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, K, Q, J, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, D = !1;
334
+ fe(i, Ce, (s) => t(33, r = s));
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: q = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: z = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, Q, J, K, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, F = !1;
336
336
  const ee = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
@@ -346,29 +346,29 @@ function De(i, e, t) {
346
346
  x(s, p[s]);
347
347
  });
348
348
  const te = () => {
349
- W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
349
+ W == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
350
350
  // @ts-ignore
351
351
  id: "MYGAMES",
352
- name: Q,
352
+ name: J,
353
353
  href: "",
354
354
  games: []
355
- }), he(), W = !0, t(26, D = !0), A();
355
+ }), he(), W = !0, t(26, F = !0), A();
356
356
  }, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
357
- if (Q = r("myGamesName"), J = r("lobbyName"), !se()) {
357
+ if (J = r("myGamesName"), K = r("lobbyName"), !se()) {
358
358
  let s = new URL(`${c}/v1/casino/groups/${a}`);
359
- s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", we($)), fetch(s).then((m) => m.json()).then(
359
+ s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", Ne($)), fetch(s).then((m) => m.json()).then(
360
360
  (m) => {
361
- let k = v.split(","), oe = m.items.filter((Z) => {
362
- let O = !1;
363
- if (Z.games.total > 0 && (O = !0, v))
361
+ let k = C.split(","), oe = m.items.filter((Z) => {
362
+ let D = !1;
363
+ if (Z.games.total > 0 && (D = !0, C))
364
364
  for (let re of k)
365
- Z.flags == re && (O = !1);
366
- return O;
365
+ Z.flags == re && (D = !1);
366
+ return D;
367
367
  });
368
368
  d = [], d = d.concat(oe), d.unshift({
369
369
  // @ts-ignore
370
370
  id: "LOBBY",
371
- name: J,
371
+ name: K,
372
372
  href: "",
373
373
  games: []
374
374
  }), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
@@ -387,32 +387,32 @@ function De(i, e, t) {
387
387
  window.postMessage(
388
388
  {
389
389
  type: "SliderData",
390
- identity: T,
390
+ identity: O,
391
391
  data: d
392
392
  },
393
393
  window.location.href
394
394
  );
395
395
  }, X = (s) => {
396
- s.data && s.data.type == "SliderLoaded" && T == s.data.identity && A();
396
+ s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
397
397
  };
398
398
  be(() => (window.addEventListener("message", X, !1), () => {
399
- window.emMessageBus && K && K.unsubscribe(), window.removeEventListener("message", X);
399
+ window.emMessageBus && Q && Q.unsubscribe(), window.removeEventListener("message", X);
400
400
  }));
401
401
  function ne(s) {
402
- Ne[s ? "unshift" : "push"](() => {
402
+ we[s ? "unshift" : "push"](() => {
403
403
  g = s, t(14, g);
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, w = s.session), "mostplayed" in s && t(20, N = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, C = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, B = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, v = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, q = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, z = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
410
  14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
- 7872514 && c && w && (N || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
- 67641345 && !y && u && (!w || D) && ae(), i.$$.dirty[0] & /*translationurl*/
411
+ 7872514 && c && N && (w || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
+ 67641345 && !y && u && (!N || F) && ae(), i.$$.dirty[0] & /*translationurl*/
413
413
  33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
414
  16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
- 16416 && C && g && de(g, C), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
415
+ 16416 && v && g && de(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
416
  20480 && g && Me(g, `${P}.Style`);
417
417
  }, t(16, V = 0), [
418
418
  u,
@@ -420,12 +420,12 @@ function De(i, e, t) {
420
420
  a,
421
421
  o,
422
422
  _,
423
- C,
424
- U,
425
- I,
426
- Y,
423
+ v,
424
+ R,
425
+ B,
427
426
  q,
428
427
  z,
428
+ Y,
429
429
  H,
430
430
  P,
431
431
  y,
@@ -433,24 +433,24 @@ function De(i, e, t) {
433
433
  f,
434
434
  V,
435
435
  A,
436
- R,
437
- w,
436
+ I,
438
437
  N,
438
+ w,
439
439
  L,
440
440
  M,
441
- B,
442
- v,
441
+ U,
442
+ C,
443
443
  G,
444
- D,
444
+ F,
445
445
  ne
446
446
  ];
447
447
  }
448
- class Ae extends ce {
448
+ class De extends ce {
449
449
  constructor(e) {
450
450
  super(), me(
451
451
  this,
452
452
  e,
453
- De,
453
+ Ae,
454
454
  je,
455
455
  ue,
456
456
  {
@@ -607,7 +607,7 @@ class Ae extends ce {
607
607
  this.$$set({ mbsource: e }), l();
608
608
  }
609
609
  }
610
- ge(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
610
+ ge(De, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
611
611
  export {
612
- Ae as default
612
+ De as default
613
613
  };