@everymatrix/casino-lobby 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/components/{CasinoCalendar-CCQut7OA.js → CasinoCalendar-0AyYaYr6.js} +366 -360
  2. package/components/CasinoCalendar-aMUXtMPt.cjs +9 -0
  3. package/components/{CasinoCalendarDailyDetails-AzSENZXw.js → CasinoCalendarDailyDetails-Djpw089y.js} +61 -61
  4. package/components/CasinoCalendarDailyDetails-DvaXsJ6J.cjs +1 -0
  5. package/components/CasinoCalendarDailyItem-BNFG5z35.js +220 -0
  6. package/components/CasinoCalendarDailyItem-CMMlKWuC.cjs +1 -0
  7. package/components/{CasinoCategoriesSlider-Dd30AvK0.js → CasinoCategoriesSlider-BnLGhDj2.js} +38 -38
  8. package/components/CasinoCategoriesSlider-MGSqtuSH.cjs +1 -0
  9. package/components/CasinoCollectionsProviders-7MJNy6vH.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-Cc1u_orw.js → CasinoCollectionsProviders-O5eYWKqu.js} +2 -2
  11. package/components/CasinoFavoritesSection-CSDBLW4w.cjs +1 -0
  12. package/components/{CasinoFavoritesSection-j7VNOnAg.js → CasinoFavoritesSection-CumUm71T.js} +18 -18
  13. package/components/{CasinoFilter-BpyfHAnH.js → CasinoFilter-Ba4pyyzC.js} +39 -39
  14. package/components/CasinoFilter-DPFQTDnp.cjs +1 -0
  15. package/components/CasinoGamePage-CAEcKO2C.cjs +18 -0
  16. package/components/{CasinoGamePage-BLWJ4xsU.js → CasinoGamePage-D-0bV9s0.js} +1337 -1329
  17. package/components/{CasinoGameThumbnail-EBuJE9IZ.js → CasinoGameThumbnail-Br4gzW2I.js} +82 -82
  18. package/components/CasinoGameThumbnail-q80EbGZc.cjs +38 -0
  19. package/components/CasinoGamesCategorySection-ChO8lRW6.cjs +1 -0
  20. package/components/{CasinoGamesCategorySection-DXn5u5SK.js → CasinoGamesCategorySection-IDIjeUsC.js} +534 -524
  21. package/components/{CasinoJackpotBanner-CJJFsnyb.js → CasinoJackpotBanner-D-0bynYa.js} +2 -2
  22. package/components/CasinoJackpotBanner-DBLcL6wU.cjs +1 -0
  23. package/components/{CasinoLastPlayedSection-bvzxolz1.js → CasinoLastPlayedSection-BHZA2U-l.js} +3 -3
  24. package/components/CasinoLastPlayedSection-Dn26Po-i.cjs +1 -0
  25. package/components/{CasinoLobby-BPSflitf.js → CasinoLobby-BSBqQiwz.js} +7 -7
  26. package/components/CasinoLobby-DQGjTjXn.cjs +1 -0
  27. package/components/CasinoModal-BYPHyNGp.cjs +1 -0
  28. package/components/{CasinoModal-lLGEeGcU.js → CasinoModal-CDlxjS83.js} +2 -2
  29. package/components/{CasinoMostPlayedSection-eQH77h-f.js → CasinoMostPlayedSection-B4cUve-8.js} +17 -17
  30. package/components/CasinoMostPlayedSection-DWj3eB25.cjs +1 -0
  31. package/components/{CasinoMyGames-BJX2ZAvW.js → CasinoMyGames-DG40cnqo.js} +44 -44
  32. package/components/CasinoMyGames-JPu4ITbh.cjs +1 -0
  33. package/components/CasinoPage-CUgnyFdX.cjs +1 -0
  34. package/components/{CasinoPage-Bq3eE915.js → CasinoPage-DZofqKdq.js} +189 -189
  35. package/components/{CasinoRandomGame-DiITGB_u.cjs → CasinoRandomGame-BopxEXk6.cjs} +2 -2
  36. package/components/{CasinoRandomGame-DGD52sa7.js → CasinoRandomGame-ClDKDIUi.js} +15 -15
  37. package/components/CasinoSearch-BHqi_Ojn.cjs +1 -0
  38. package/components/{CasinoSearch-DlG1jylC.js → CasinoSearch-nhPFLDr6.js} +90 -90
  39. package/components/{CasinoSlider-CyXzUPtq.js → CasinoSlider-DDJYl0_C.js} +56 -56
  40. package/components/CasinoSlider-DzlnKD97.cjs +1 -0
  41. package/components/{CasinoSort-D1UmVqPT.js → CasinoSort-COqebE70.js} +23 -23
  42. package/components/CasinoSort-DqAXg8IN.cjs +1 -0
  43. package/components/{CasinoWinners-DSCWZZgk.js → CasinoWinners-B-NBTMbI.js} +49 -49
  44. package/components/CasinoWinners-GJyWRA8u.cjs +1 -0
  45. package/components/{GeneralAnimationLoading-DE8HSm4C.js → GeneralAnimationLoading-C-B40oIV.js} +1 -1
  46. package/components/{GeneralAnimationLoading-DmhAiTlH.cjs → GeneralAnimationLoading-CtmRY9AI.cjs} +1 -1
  47. package/es2015/casino-lobby.cjs +1 -1
  48. package/es2015/casino-lobby.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/{casino-play-random-game-c-goQ4iU.js → casino-play-random-game-B5g4-G4Z.js} +1 -1
  51. package/stencil/{casino-play-random-game-DJ_HpP4O.cjs → casino-play-random-game-CQe5iDJ8.cjs} +1 -1
  52. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  53. package/stencil/{index-7666b794-KI7j9CY0.js → index-eac6b960-DXIu1GM6.js} +112 -104
  54. package/components/CasinoCalendar-B3jjGeXh.cjs +0 -9
  55. package/components/CasinoCalendarDailyDetails-D1jKEWfR.cjs +0 -1
  56. package/components/CasinoCalendarDailyItem-DD924Zcr.js +0 -220
  57. package/components/CasinoCalendarDailyItem-zl4-e9DC.cjs +0 -1
  58. package/components/CasinoCategoriesSlider-DI2g7-y8.cjs +0 -1
  59. package/components/CasinoCollectionsProviders-CHDbSVYn.cjs +0 -1
  60. package/components/CasinoFavoritesSection-Co24_74o.cjs +0 -1
  61. package/components/CasinoFilter-DXA7jKT_.cjs +0 -1
  62. package/components/CasinoGamePage-CCbldgKZ.cjs +0 -18
  63. package/components/CasinoGameThumbnail-DNpT4OO7.cjs +0 -38
  64. package/components/CasinoGamesCategorySection-B2JOakf0.cjs +0 -1
  65. package/components/CasinoJackpotBanner-AjhcDuUc.cjs +0 -1
  66. package/components/CasinoLastPlayedSection-Cey1ENpO.cjs +0 -1
  67. package/components/CasinoLobby-B0BMaElu.cjs +0 -1
  68. package/components/CasinoModal-B71hMJhL.cjs +0 -1
  69. package/components/CasinoMostPlayedSection-B6vs4hfK.cjs +0 -1
  70. package/components/CasinoMyGames-DirVyeaV.cjs +0 -1
  71. package/components/CasinoPage--saBxGwI.cjs +0 -1
  72. package/components/CasinoSearch-3NrItprI.cjs +0 -1
  73. package/components/CasinoSlider-Cyun8L26.cjs +0 -1
  74. package/components/CasinoSort-ersVtC7e.cjs +0 -1
  75. package/components/CasinoWinners-CflzKW0N.cjs +0 -1
  76. package/stencil/index-7666b794-CHdM2q8W.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-aMUXtMPt.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function D(e,r){t.addMessages(e,r)}const E={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function J(e){t.append_styles(e,"svelte-kh3a1g",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function j(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,d,m,c,y,g,S,w=e[4]("sortby")+"",h,A,_,I,z=(e[3]||e[4]("all"))+"",M,O,k,v,C,F,N,a,i,b,H,L,T,Z=t.ensure_array_like(Object.values(e[5])),f=[];for(let p=0;p<Z.length;p+=1)f[p]=P(j(e,Z,p));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),d=t.svg_element("path"),m=t.svg_element("path"),c=t.svg_element("path"),y=t.space(),g=t.element("div"),S=t.element("span"),h=t.text(w),A=t.space(),_=t.element("div"),I=t.element("span"),M=t.text(z),O=t.space(),k=t.element("span"),v=t.svg_element("svg"),C=t.svg_element("path"),a=t.space(),i=t.element("div"),b=t.element("ul");for(let p=0;p<f.length;p+=1)f[p].c();t.attr(d,"id","Path_5267"),t.attr(d,"data-name","Path 5267"),t.attr(d,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(d,"transform","translate(-206.448 0)"),t.attr(d,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(c,"id","Path_5269"),t.attr(c,"data-name","Path 5269"),t.attr(c,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(c,"transform","translate(-412.896 0)"),t.attr(c,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(S,"class","SorterName"),t.attr(_,"class","SorterValueContainer"),t.attr(g,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(v,"xmlns","http://www.w3.org/2000/svg"),t.attr(v,"width","14"),t.attr(v,"height","6.835"),t.attr(v,"viewBox","0 0 14 6.835"),t.attr(k,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(b,"class","SorterDropdown"),t.attr(i,"class",H="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(p,x){t.insert(p,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,d),t.append(s,m),t.append(s,c),t.append(o,y),t.append(o,g),t.append(g,S),t.append(S,h),t.append(g,A),t.append(g,_),t.append(_,I),t.append(I,M),t.append(n,O),t.append(n,k),t.append(k,v),t.append(v,C),t.append(r,a),t.append(r,i),t.append(i,b);for(let u=0;u<f.length;u+=1)f[u]&&f[u].m(b,null);L||(T=t.listen(n,"click",e[13]),L=!0)},p(p,x){if(x&16&&w!==(w=p[4]("sortby")+"")&&t.set_data(h,w),x&24&&z!==(z=(p[3]||p[4]("all"))+"")&&t.set_data(M,z),x&2&&F!==(F="TriangleInactive "+(p[1]?"TriangleActive":""))&&t.attr(k,"class",F),x&2&&N!==(N="SorterSelector "+(p[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),x&120){Z=t.ensure_array_like(Object.values(p[5]));let u;for(u=0;u<Z.length;u+=1){const B=j(p,Z,u);f[u]?f[u].p(B,x):(f[u]=P(B),f[u].c(),f[u].m(b,null))}for(;u<f.length;u+=1)f[u].d(1);f.length=Z.length}x&2&&H!==(H="SorterDropdownContainer "+(p[1]?"SorterOpen":""))&&t.attr(i,"class",H)},d(p){p&&t.detach(r),t.destroy_each(f,p),L=!1,T()}}}function P(e){let r,n,o,l,s,d,m,c,y,g,S;function w(){return e[14](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),d=t.element("span"),m=t.space(),c=t.element("span"),c.textContent=`${e[23]}`,y=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(d,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(h,A){t.insert(h,r,A),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,d),t.append(n,m),t.append(n,c),t.append(r,y),g||(S=t.listen(o,"click",w),g=!0)},p(h,A){e=h,A&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(h){h&&t.detach(r),g=!1,S()}}}function U(e){let r;function n(s,d){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,d){t.insert(s,r,d),l&&l.m(r,null),e[15](r)},p(s,[d]){o===(o=n(s))&&l?l.p(s,d):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[15](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:d=""}=r,{clientstylingurl:m=""}=r,{categoryid:c=""}=r,y,g=!1,S=!0,w="",h="All";V({withLocale:"en",translations:{}});const A=()=>{fetch(s).then(i=>i.json()).then(i=>{Object.keys(i).forEach(b=>{D(b,i[b])})}).catch(i=>{console.log(i)})};Object.keys(E).forEach(a=>{D(a,E[a])});const _={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},I=()=>{let a=document.createElement("style");a.innerHTML=d,y.appendChild(a)},z=()=>{let a=document.createElement("style");fetch(new URL(m)).then(i=>i.text()).then(i=>{a.innerHTML=i,setTimeout(()=>{y.appendChild(a)},1)})},M=()=>{var i;n(3,h="All"),n(2,S=!1),n(1,g=!1);let a=(i=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:i[c];a?n(3,h=a):n(3,h="All"),n(3,h=_[a])},O=a=>{n(3,h=a);let i=localStorage.getItem("vendorSortingBy");w=a;for(let b in _)if(_[b]===a){w=b;break}i==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:w})):(i=JSON.parse(i),i[c]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(i))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:c},window.location.href),n(1,g=!g)},k=()=>{n(1,g=!g),window.postMessage({type:"SortingOpened"},window.location.href)},v=a=>{a.data.type=="FilterOpened"&&n(1,g=!1)};t.onMount(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)}));const C=()=>k(),F=a=>O(a);function N(a){t.binding_callbacks[a?"unshift":"push"](()=>{y=a,n(0,y)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,d=a.clientstyling),"clientstylingurl"in a&&n(11,m=a.clientstylingurl),"categoryid"in a&&n(12,c=a.categoryid)},e.$$.update=()=>{e.$$.dirty&4096&&c&&M(),e.$$.dirty&1025&&d&&y&&I(),e.$$.dirty&2049&&m&&y&&z(),e.$$.dirty&512&&s&&A()},[y,g,S,h,o,_,O,k,l,s,d,m,c,C,F,N]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{}},[],[],!0);exports.default=R;
@@ -1,4 +1,4 @@
1
- import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as G, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, R as st, M as H, F as Te, O as lt, r as V, A as Z, D as _e } from "./CasinoCalendar-CCQut7OA.js";
1
+ import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as G, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, R as st, M as H, F as Te, O as lt, r as V, A as Z, D as _e } from "./CasinoCalendar-0AyYaYr6.js";
2
2
  function we(n, e) {
3
3
  Je(n, e);
4
4
  }
@@ -109,12 +109,12 @@ if (typeof window != "undefined") {
109
109
  }
110
110
  };
111
111
  };
112
- customElements.define = n(customElements.define), import("./GeneralAnimationLoading-DE8HSm4C.js").then(({ default: e }) => {
112
+ customElements.define = n(customElements.define), import("./GeneralAnimationLoading-C-B40oIV.js").then(({ default: e }) => {
113
113
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", e.element);
114
114
  });
115
115
  }
116
116
  function at(n) {
117
- tt(n, "svelte-14orrs9", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
117
+ tt(n, "svelte-157tecu", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.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:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
118
118
  }
119
119
  function ve(n, e, t) {
120
120
  const r = n.slice();
@@ -125,7 +125,7 @@ function Ce(n, e, t) {
125
125
  return r[73] = e[t], r;
126
126
  }
127
127
  function ct(n) {
128
- let e, t, r, s, l, o, d, m, C, I, S, v, _, N, T, E, A, L, x, M = te(
128
+ let e, t, r, s, l, o, f, m, C, I, S, v, _, N, T, E, A, L, x, M = te(
129
129
  /*tabs*/
130
130
  n[17]
131
131
  ), g = [];
@@ -134,7 +134,7 @@ function ct(n) {
134
134
  function P(c, b) {
135
135
  return (
136
136
  /*isLoadingDelayed*/
137
- c[18] ? dt : ft
137
+ c[18] ? ft : dt
138
138
  );
139
139
  }
140
140
  let j = P(n), w = j(n);
@@ -143,9 +143,9 @@ function ct(n) {
143
143
  e = W("div"), t = W("div"), r = W("div");
144
144
  for (let c = 0; c < g.length; c += 1)
145
145
  g[c].c();
146
- s = O(), l = W("div"), o = W("button"), d = ee("svg"), m = ee("path"), I = O(), S = W("button"), v = ee("svg"), _ = ee("path"), E = O(), w.c(), a(r, "class", "WinnerButtonsContainer"), a(m, "style", C = /*numberOfVisibleSlides*/
146
+ s = O(), l = W("div"), o = W("button"), f = ee("svg"), m = ee("path"), I = O(), S = W("button"), v = ee("svg"), _ = ee("path"), E = O(), w.c(), a(r, "class", "WinnerButtonsContainer"), a(m, "style", C = /*numberOfVisibleSlides*/
147
147
  n[12] >= /*winners*/
148
- n[11].length ? "fill:#F6F6F62E" : ""), a(m, "id", "Path_36"), a(m, "data-name", "Path 36"), a(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(m, "transform", "translate(14.656 0) rotate(90)"), a(m, "fill", "#fff"), a(d, "id", "Component_46_2"), a(d, "data-name", "Component 46 – 2"), a(d, "xmlns", "http://www.w3.org/2000/svg"), a(d, "width", "15"), a(d, "height", "15"), a(d, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(_, "style", N = /*numberOfVisibleSlides*/
148
+ n[11].length ? "fill:#F6F6F62E" : ""), a(m, "id", "Path_36"), a(m, "data-name", "Path 36"), a(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(m, "transform", "translate(14.656 0) rotate(90)"), a(m, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(_, "style", N = /*numberOfVisibleSlides*/
149
149
  n[12] >= /*winners*/
150
150
  n[11].length ? "fill:#F6F6F62E" : ""), a(_, "id", "Path_36"), a(_, "data-name", "Path 36"), a(_, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(_, "transform", "translate(0 24.656) rotate(-90)"), a(_, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
151
151
  (n[6] == "true" ? "ButtonsContainerNone" : "")), a(t, "class", "WinnersHeader"), a(e, "class", A = "CasinoWinners " + /*mobile*/
@@ -153,9 +153,9 @@ function ct(n) {
153
153
  },
154
154
  m(c, b) {
155
155
  D(c, e, b), u(e, t), u(t, r);
156
- for (let f = 0; f < g.length; f += 1)
157
- g[f] && g[f].m(r, null);
158
- u(t, s), u(t, l), u(l, o), u(o, d), u(d, m), u(l, I), u(l, S), u(S, v), u(v, _), u(e, E), w.m(e, null), L || (x = [
156
+ for (let d = 0; d < g.length; d += 1)
157
+ g[d] && g[d].m(r, null);
158
+ u(t, s), u(t, l), u(l, o), u(o, f), u(f, m), u(l, I), u(l, S), u(S, v), u(v, _), u(e, E), w.m(e, null), L || (x = [
159
159
  J(
160
160
  o,
161
161
  "click",
@@ -177,13 +177,13 @@ function ct(n) {
177
177
  /*tabs*/
178
178
  c[17]
179
179
  );
180
- let f;
181
- for (f = 0; f < M.length; f += 1) {
182
- const h = Ce(c, M, f);
183
- g[f] ? g[f].p(h, b) : (g[f] = xe(h), g[f].c(), g[f].m(r, null));
180
+ let d;
181
+ for (d = 0; d < M.length; d += 1) {
182
+ const h = Ce(c, M, d);
183
+ g[d] ? g[d].p(h, b) : (g[d] = xe(h), g[d].c(), g[d].m(r, null));
184
184
  }
185
- for (; f < g.length; f += 1)
186
- g[f].d(1);
185
+ for (; d < g.length; d += 1)
186
+ g[d].d(1);
187
187
  g.length = M.length;
188
188
  }
189
189
  b[0] & /*numberOfVisibleSlides, winners*/
@@ -270,16 +270,16 @@ function Me(n) {
270
270
  e = W("button"), t = V("Recent Winners"), a(e, "class", r = "WinnersButton " + /*winnersType*/
271
271
  (n[10] == "recent" ? "Active" : ""));
272
272
  },
273
- m(o, d) {
274
- D(o, e, d), u(e, t), s || (l = J(
273
+ m(o, f) {
274
+ D(o, e, f), u(e, t), s || (l = J(
275
275
  e,
276
276
  "click",
277
277
  /*click_handler*/
278
278
  n[41]
279
279
  ), s = !0);
280
280
  },
281
- p(o, d) {
282
- d[0] & /*winnersType*/
281
+ p(o, f) {
282
+ f[0] & /*winnersType*/
283
283
  1024 && r !== (r = "WinnersButton " + /*winnersType*/
284
284
  (o[10] == "recent" ? "Active" : "")) && a(e, "class", r);
285
285
  },
@@ -292,7 +292,7 @@ function Fe(n) {
292
292
  let e, t = (
293
293
  /*$_*/
294
294
  n[20]("topWinners") + ""
295
- ), r, s, l, o, d;
295
+ ), r, s, l, o, f;
296
296
  return {
297
297
  c() {
298
298
  e = W("button"), r = V(t), s = O(), a(e, "class", l = "WinnersButton " + /*winnersType*/
@@ -300,7 +300,7 @@ function Fe(n) {
300
300
  (n[1] == "false" ? "Off" : ""));
301
301
  },
302
302
  m(m, C) {
303
- D(m, e, C), u(e, r), u(e, s), o || (d = J(
303
+ D(m, e, C), u(e, r), u(e, s), o || (f = J(
304
304
  e,
305
305
  "click",
306
306
  /*click_handler_1*/
@@ -316,7 +316,7 @@ function Fe(n) {
316
316
  (m[1] == "false" ? "Off" : "")) && a(e, "class", l);
317
317
  },
318
318
  d(m) {
319
- m && G(e), o = !1, d();
319
+ m && G(e), o = !1, f();
320
320
  }
321
321
  };
322
322
  }
@@ -345,7 +345,7 @@ function xe(n) {
345
345
  }
346
346
  };
347
347
  }
348
- function ft(n) {
348
+ function dt(n) {
349
349
  let e, t = te(
350
350
  /*winners*/
351
351
  n[11]
@@ -374,8 +374,8 @@ function ft(n) {
374
374
  );
375
375
  let o;
376
376
  for (o = 0; o < t.length; o += 1) {
377
- const d = ve(s, t, o);
378
- r[o] ? r[o].p(d, l) : (r[o] = Se(d), r[o].c(), r[o].m(e, null));
377
+ const f = ve(s, t, o);
378
+ r[o] ? r[o].p(f, l) : (r[o] = Se(f), r[o].c(), r[o].m(e, null));
379
379
  }
380
380
  for (; o < r.length; o += 1)
381
381
  r[o].d(1);
@@ -387,7 +387,7 @@ function ft(n) {
387
387
  }
388
388
  };
389
389
  }
390
- function dt(n) {
390
+ function ft(n) {
391
391
  let e;
392
392
  return {
393
393
  c() {
@@ -427,7 +427,7 @@ function dt(n) {
427
427
  };
428
428
  }
429
429
  function Se(n) {
430
- let e, t, r, s, l, o, d, m = (
430
+ let e, t, r, s, l, o, f, m = (
431
431
  /*winner*/
432
432
  n[70].gameName + ""
433
433
  ), C, I, S, v = (
@@ -451,7 +451,7 @@ function Se(n) {
451
451
  /*defaultcurrency*/
452
452
  n[2]
453
453
  )) + ""
454
- ), c, b, f, h, F;
454
+ ), c, b, d, h, F;
455
455
  function ne() {
456
456
  return (
457
457
  /*click_handler_4*/
@@ -464,13 +464,13 @@ function Se(n) {
464
464
  return {
465
465
  c() {
466
466
  var R, k, U, B;
467
- e = W("div"), t = W("div"), r = W("img"), o = O(), d = W("p"), C = V(m), I = O(), S = W("p"), _ = V(v), N = O(), T = W("p"), A = V(E), L = O(), x = W("p"), g = V(M), P = O(), j = W("span"), c = V(w), b = O(), _e(r.src, s = /*winner*/
467
+ e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(m), I = O(), S = W("p"), _ = V(v), N = O(), T = W("p"), A = V(E), L = O(), x = W("p"), g = V(M), P = O(), j = W("span"), c = V(w), b = O(), _e(r.src, s = /*winner*/
468
468
  (k = (R = n[70]) == null ? void 0 : R.gameModel) == null ? void 0 : k.thumbnail) || a(r, "src", s), a(r, "alt", l = /*winner*/
469
- (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", f = "CardWrapper " + /*addAnimation*/
469
+ (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", d = "CardWrapper " + /*addAnimation*/
470
470
  (n[16] ? "CardWrapperAnimation" : ""));
471
471
  },
472
472
  m(R, k) {
473
- D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, d), u(d, C), u(t, I), u(t, S), u(S, _), u(t, N), u(t, T), u(T, A), u(t, L), u(t, x), u(x, g), u(x, P), u(x, j), u(j, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
473
+ D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, I), u(t, S), u(S, _), u(t, N), u(t, T), u(T, A), u(t, L), u(t, x), u(x, g), u(x, P), u(x, j), u(j, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
474
474
  },
475
475
  p(R, k) {
476
476
  var U, B, q, K;
@@ -498,8 +498,8 @@ function Se(n) {
498
498
  /*defaultcurrency*/
499
499
  n[2]
500
500
  )) + "") && Z(c, w), k[0] & /*addAnimation*/
501
- 65536 && f !== (f = "CardWrapper " + /*addAnimation*/
502
- (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", f);
501
+ 65536 && d !== (d = "CardWrapper " + /*addAnimation*/
502
+ (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", d);
503
503
  },
504
504
  d(R) {
505
505
  R && G(e), n[46](null), h = !1, F();
@@ -536,7 +536,7 @@ function mt(n) {
536
536
  function gt(n, e, t) {
537
537
  let r;
538
538
  nt(n, lt, (i) => t(20, r = i));
539
- let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: d = "Today" } = e, { periodtop: m = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: I = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: v = "All" } = e, { lang: _ = "en" } = e, { isrecentavailable: N = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: L = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: j = "" } = e, { hascustomstyling: w = "false" } = e, c, b, f = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, q = !0, K = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, fe = 0;
539
+ let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: m = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: I = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: v = "All" } = e, { lang: _ = "en" } = e, { isrecentavailable: N = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: L = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: j = "" } = e, { hascustomstyling: w = "false" } = e, c, b, d = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, q = !0, K = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
540
540
  const Ae = () => {
541
541
  let i = new URL(P);
542
542
  fetch(i.href).then((p) => p.json()).then((p) => {
@@ -550,17 +550,17 @@ function gt(n, e, t) {
550
550
  Object.keys(We).forEach((i) => {
551
551
  we(i, We[i]);
552
552
  });
553
- const de = () => {
553
+ const fe = () => {
554
554
  ue = j.split(",").map(function(p) {
555
555
  return p.trim();
556
556
  });
557
557
  const i = new URL(`${s}/v1/casino/${b}-winners`);
558
- t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : I), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? d : m), i.searchParams.append("language", _), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
558
+ t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : I), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : m), i.searchParams.append("language", _), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
559
559
  i.searchParams.append("dataSource", p);
560
560
  }), setTimeout(
561
561
  () => {
562
562
  fetch(i.href).then((p) => p.json()).then((p) => {
563
- t(11, f = []), t(11, f = p.items.map((z) => z)), t(18, re = !1), setTimeout(
563
+ t(11, d = []), t(11, d = p.items.map((z) => z)), t(18, re = !1), setTimeout(
564
564
  () => {
565
565
  Ee(), ge(), M == "true" && (clearInterval(X), je()), t(14, q = !1);
566
566
  },
@@ -571,7 +571,7 @@ function gt(n, e, t) {
571
571
  1e3
572
572
  );
573
573
  }, se = (i) => {
574
- b !== i && (t(11, f = []), t(10, b = i), de());
574
+ b !== i && (t(11, d = []), t(10, b = i), fe());
575
575
  }, Le = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), me = (i, p, z, $) => {
576
576
  window.postMessage(
577
577
  {
@@ -607,14 +607,14 @@ function gt(n, e, t) {
607
607
  }, he = () => {
608
608
  ge(h);
609
609
  }, Ee = () => {
610
- fe = Q.offsetWidth, t(12, F = Math.round(c.offsetWidth / fe));
610
+ de = Q.offsetWidth, t(12, F = Math.round(c.offsetWidth / de));
611
611
  }, pe = () => {
612
- if (F >= f.length) return;
613
- const i = f.length;
612
+ if (F >= d.length) return;
613
+ const i = d.length;
614
614
  h === 0 ? h = i - F : h - F < 0 ? h = 0 : h = h - F, he();
615
615
  }, le = () => {
616
- if (F >= f.length) return;
617
- const i = f.length;
616
+ if (F >= d.length) return;
617
+ const i = d.length;
618
618
  M == "true" && (h === i - F ? h = 0 : h++), M == "false" && (h === i - F ? h = 0 : i - F < h + F ? h = i - F : h += F), he();
619
619
  }, ze = () => {
620
620
  ot(_);
@@ -664,15 +664,15 @@ function gt(n, e, t) {
664
664
  });
665
665
  }
666
666
  return n.$$set = (i) => {
667
- "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, d = i.periodrecent), "periodtop" in i && t(30, m = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, I = i.numberuserstop), "amountlimit" in i && t(33, S = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, _ = i.lang), "isrecentavailable" in i && t(0, N = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, L = i.clientstyling), "clientstylingurl" in i && t(5, x = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, P = i.translationurl), "winnersdatasources" in i && t(38, j = i.winnersdatasources), "hascustomstyling" in i && t(39, w = i.hascustomstyling);
667
+ "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, m = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, I = i.numberuserstop), "amountlimit" in i && t(33, S = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, _ = i.lang), "isrecentavailable" in i && t(0, N = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, L = i.clientstyling), "clientstylingurl" in i && t(5, x = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, P = i.translationurl), "winnersdatasources" in i && t(38, j = i.winnersdatasources), "hascustomstyling" in i && t(39, w = i.hascustomstyling);
668
668
  }, n.$$.update = () => {
669
669
  n.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop*/
670
670
  1610612739 | n.$$.dirty[1] & /*numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
671
- 63 && N && T && d && m && C && I && S && v && _ && g && Ge(), n.$$.dirty[0] & /*session*/
671
+ 63 && N && T && f && m && C && I && S && v && _ && g && Ge(), n.$$.dirty[0] & /*session*/
672
672
  134217728 && l && Ne(), n.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
673
673
  140 && k && (A || E) && be(), n.$$.dirty[0] & /*endpoint*/
674
674
  67108864 | n.$$.dirty[1] & /*winnersdatasources, currency*/
675
- 640 && s && j && Y && de(), n.$$.dirty[1] & /*lang*/
675
+ 640 && s && j && Y && fe(), n.$$.dirty[1] & /*lang*/
676
676
  16 && _ && ze(), n.$$.dirty[1] & /*translationurl*/
677
677
  64 && P && Ae(), n.$$.dirty[1] & /*hascustomstyling*/
678
678
  256 && w && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -690,7 +690,7 @@ function gt(n, e, t) {
690
690
  B,
691
691
  c,
692
692
  b,
693
- f,
693
+ d,
694
694
  F,
695
695
  R,
696
696
  q,
@@ -708,7 +708,7 @@ function gt(n, e, t) {
708
708
  s,
709
709
  l,
710
710
  o,
711
- d,
711
+ f,
712
712
  m,
713
713
  C,
714
714
  I,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function se(r,t){e.addMessages(r,t)}function je(r){e.$locale.set(r)}const le={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CtmRY9AI.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function ze(r){e.append_styles(r,"svelte-157tecu","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.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:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const s=r.slice();return s[70]=t[n],s}function oe(r,t,n){const s=r.slice();return s[73]=t[n],s}function Ee(r){let t,n,s,l,a,o,d,f,w,E,x,y,b,j,F,A,S,B,k,v=e.ensure_array_like(r[17]),m=[];for(let c=0;c<v.length;c+=1)m[c]=fe(oe(r,v,c));function N(c,g){return c[18]?Re:Oe}let T=N(r),_=T(r);return{c(){t=e.element("div"),n=e.element("div"),s=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),f=e.svg_element("path"),E=e.space(),x=e.element("button"),y=e.svg_element("svg"),b=e.svg_element("path"),A=e.space(),_.c(),e.attr(s,"class","WinnerButtonsContainer"),e.attr(f,"style",w=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(f,"id","Path_36"),e.attr(f,"data-name","Path 36"),e.attr(f,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(f,"transform","translate(14.656 0) rotate(90)"),e.attr(f,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(b,"style",j=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(y,"id","Component_46_2"),e.attr(y,"data-name","Component 46 – 2"),e.attr(y,"xmlns","http://www.w3.org/2000/svg"),e.attr(y,"width","15"),e.attr(y,"height","15"),e.attr(y,"viewBox","0 0 16 24.656"),e.attr(x,"class","SliderButton"),e.attr(a,"class",F="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[13]?"Mobile":""))},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,s);for(let u=0;u<m.length;u+=1)m[u]&&m[u].m(s,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,f),e.append(a,E),e.append(a,x),e.append(x,y),e.append(y,b),e.append(t,A),_.m(t,null),B||(k=[e.listen(o,"click",r[43]),e.listen(x,"click",r[44])],B=!0)},p(c,g){if(g[0]&3277827){v=e.ensure_array_like(c[17]);let u;for(u=0;u<v.length;u+=1){const p=oe(c,v,u);m[u]?m[u].p(p,g):(m[u]=fe(p),m[u].c(),m[u].m(s,null))}for(;u<m.length;u+=1)m[u].d(1);m.length=v.length}g[0]&6144&&w!==(w=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(f,"style",w),g[0]&6144&&j!==(j=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",j),g[0]&64&&F!==(F="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",F),T===(T=N(c))&&_?_.p(c,g):(_.d(1),_=T(c),_&&(_.c(),_.m(t,null))),g[0]&8192&&S!==(S="CasinoWinners "+(c[13]?"Mobile":""))&&e.attr(t,"class",S)},d(c){c&&e.detach(t),e.destroy_each(m,c),_.d(),B=!1,e.run_all(k)}}}function Ne(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ce(r){let t,n=r[0]==="true"&&ue(r);return{c(){n&&n.c(),t=e.empty()},m(s,l){n&&n.m(s,l),e.insert(s,t,l)},p(s,l){s[0]==="true"?n?n.p(s,l):(n=ue(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function ue(r){let t,n,s,l,a;return{c(){t=e.element("button"),n=e.text("Recent Winners"),e.attr(t,"class",s="WinnersButton "+(r[10]=="recent"?"Active":""))},m(o,d){e.insert(o,t,d),e.append(t,n),l||(a=e.listen(t,"click",r[41]),l=!0)},p(o,d){d[0]&1024&&s!==(s="WinnersButton "+(o[10]=="recent"?"Active":""))&&e.attr(t,"class",s)},d(o){o&&e.detach(t),l=!1,a()}}}function de(r){let t,n=r[20]("topWinners")+"",s,l,a,o,d;return{c(){t=e.element("button"),s=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(f,w){e.insert(f,t,w),e.append(t,s),e.append(t,l),o||(d=e.listen(t,"click",r[42]),o=!0)},p(f,w){w[0]&1048576&&n!==(n=f[20]("topWinners")+"")&&e.set_data(s,n),w[0]&1026&&a!==(a="WinnersButton "+(f[10]=="top"?"Active":"")+" "+(f[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(f){f&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,s=r[73]=="recent"&&ce(r),l=r[73]=="top"&&de(r);return{c(){s&&s.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){s&&s.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?s?s.p(a,o):(s=ce(a),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),a[73]=="top"?l?l.p(a,o):(l=de(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),s&&s.d(a),l&&l.d(a)}}}function Oe(r){let t,n=e.ensure_array_like(r[11]),s=[];for(let l=0;l<n.length;l+=1)s[l]=me(ae(r,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","WinnersSlider")},m(l,a){e.insert(l,t,a);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);r[47](t)},p(l,a){if(a[0]&14223500){n=e.ensure_array_like(l[11]);let o;for(o=0;o<n.length;o+=1){const d=ae(l,n,o);s[o]?s[o].p(d,a):(s[o]=me(d),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),r[47](null)}}}function Re(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function me(r){let t,n,s,l,a,o,d,f=r[70].gameName+"",w,E,x,y=r[22](r[70].username)+"",b,j,F,A=r[20]("won")+"",S,B,k,v=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,N,T,_=(r[7]?r[3]:r[2])+"",c,g,u,p,C;function q(){return r[45](r[70])}return{c(){var z,W,O,M;t=e.element("div"),n=e.element("div"),s=e.element("img"),o=e.space(),d=e.element("p"),w=e.text(f),E=e.space(),x=e.element("p"),b=e.text(y),j=e.space(),F=e.element("p"),S=e.text(A),B=e.space(),k=e.element("p"),m=e.text(v),N=e.space(),T=e.element("span"),c=e.text(_),g=e.space(),e.src_url_equal(s.src,l=(W=(z=r[70])==null?void 0:z.gameModel)==null?void 0:W.thumbnail)||e.attr(s,"src",l),e.attr(s,"alt",a=(M=(O=r[70])==null?void 0:O.gameModel)==null?void 0:M.thumbnail),e.attr(s,"class","WinnersImage"),e.attr(F,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",u="CardWrapper "+(r[16]?"CardWrapperAnimation":""))},m(z,W){e.insert(z,t,W),e.append(t,n),e.append(n,s),e.append(n,o),e.append(n,d),e.append(d,w),e.append(n,E),e.append(n,x),e.append(x,b),e.append(n,j),e.append(n,F),e.append(F,S),e.append(n,B),e.append(n,k),e.append(k,m),e.append(k,N),e.append(k,T),e.append(T,c),e.append(t,g),r[46](t),p||(C=e.listen(s,"click",q),p=!0)},p(z,W){var O,M,R,P;r=z,W[0]&2048&&!e.src_url_equal(s.src,l=(M=(O=r[70])==null?void 0:O.gameModel)==null?void 0:M.thumbnail)&&e.attr(s,"src",l),W[0]&2048&&a!==(a=(P=(R=r[70])==null?void 0:R.gameModel)==null?void 0:P.thumbnail)&&e.attr(s,"alt",a),W[0]&2048&&f!==(f=r[70].gameName+"")&&e.set_data(w,f),W[0]&2048&&y!==(y=r[22](r[70].username)+"")&&e.set_data(b,y),W[0]&1048576&&A!==(A=r[20]("won")+"")&&e.set_data(S,A),W[0]&2048&&v!==(v=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,v),W[0]&140&&_!==(_=(r[7]?r[3]:r[2])+"")&&e.set_data(c,_),W[0]&65536&&u!==(u="CardWrapper "+(r[16]?"CardWrapperAnimation":""))&&e.attr(t,"class",u)},d(z){z&&e.detach(t),r[46](null),p=!1,C()}}}function Pe(r){let t;function n(a,o){return a[14]||a[15]?Ne:Ee}let s=n(r),l=s(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){s===(s=n(a))&&l?l.p(a,o):(l.d(1),l=s(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[48](null)}}}function De(r,t,n){let s;e.component_subscribe(r,e.$format,i=>n(20,s=i));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:f="Last7Days"}=t,{numberusersrecent:w="20"}=t,{numberuserstop:E="20"}=t,{amountlimit:x="1"}=t,{vendorCategory:y="All"}=t,{lang:b="en"}=t,{isrecentavailable:j="true"}=t,{istopavailable:F="true"}=t,{defaultcurrency:A=""}=t,{usercurrency:S=""}=t,{clientstyling:B=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:v=""}=t,{tabsorder:m=""}=t,{translationurl:N=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:_="false"}=t,c,g,u=[],p=0,C=0,q=window.navigator.userAgent,z,W,O,M,R=!0,P=!1,X=!1,Y,D,H,G,J=[],V=!1,I,Q=0;const he=()=>{let i=new URL(N);fetch(i.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(L=>{se(L,h[L])})}).catch(h=>{console.log(h)})};Object.keys(le).forEach(i=>{se(i,le[i])});const $=()=>{J=T.split(",").map(function(h){return h.trim()});const i=new URL(`${l}/v1/casino/${g}-winners`);n(18,V=!0),i.searchParams.append("limit",g=="recent"?w:E),i.searchParams.append("specifiedCurrency",G),i.searchParams.append("period",g=="recent"?d:f),i.searchParams.append("language",b),i.searchParams.append("amountLimit",x),i.searchParams.append("vendorCategory",y),J.forEach(h=>{i.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(i.href).then(h=>h.json()).then(h=>{n(11,u=[]),n(11,u=h.items.map(L=>L)),n(18,V=!1),setTimeout(()=>{_e(),te(),v=="true"&&(clearInterval(D),be()),n(14,R=!1)},5)})},1e3)},K=i=>{g!==i&&(n(11,u=[]),n(10,g=i),$())},ge=i=>i.slice(0,2)+i.slice(2,-2).replace(/./g,"*")+i.slice(-2),ee=(i,h,L,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:i,launchUrl:h,gameName:L,subVendor:U},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${i}`,userId:`${O||"Not logged in"}`})},te=i=>{const h=[...c.children];Y=h.length,h.forEach((L,U)=>{L.style.transform=`translateX(${100*(i?U-i:U)}%)`}),setTimeout(()=>{n(16,X=!0)},10)},be=()=>{p=0,C<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ne=()=>{te(p)},_e=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=u.length)return;const i=u.length;p===0?p=i-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=u.length)return;const i=u.length;v=="true"&&(p===i-C?p=0:p++),v=="false"&&(p===i-C?p=0:i-C<p+C?p=i-C:p+=C),ne()},ye=()=>{je(b)},we=()=>{n(7,W=!0),O=o},ie=()=>{n(40,G=W?S:A)},We=()=>{let i=document.createElement("style");i.innerHTML=B,M.appendChild(i)},ve=()=>{let i=new URL(k),h=document.createElement("style");fetch(i.href).then(L=>L.text()).then(L=>{h.innerHTML=L,setTimeout(()=>{M.appendChild(h)},1),setTimeout(()=>{},500),n(15,P=!1)})},Ce=()=>{_==="true"&&(!B&&!k&&M&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&k&&n(15,P=!0))},ke=()=>{n(17,H=m.split(",")),n(10,g=H[0]),ie(),n(14,R=!1)};e.onMount(()=>(n(13,z=e.isMobile(q)),()=>{clearInterval(D)}));const xe=()=>K("recent"),Me=()=>K("top"),Fe=()=>re(),Se=()=>Z(),Be=i=>ee(i.gameId,i.gameModel.launchUrl,i.gameModel.name,i.gameModel.subVendor);function Te(i){e.binding_callbacks[i?"unshift":"push"](()=>{I=i,n(19,I)})}function Ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(9,c)})}function Le(i){e.binding_callbacks[i?"unshift":"push"](()=>{M=i,n(8,M)})}return r.$$set=i=>{"endpoint"in i&&n(26,l=i.endpoint),"session"in i&&n(27,a=i.session),"userid"in i&&n(28,o=i.userid),"periodrecent"in i&&n(29,d=i.periodrecent),"periodtop"in i&&n(30,f=i.periodtop),"numberusersrecent"in i&&n(31,w=i.numberusersrecent),"numberuserstop"in i&&n(32,E=i.numberuserstop),"amountlimit"in i&&n(33,x=i.amountlimit),"vendorCategory"in i&&n(34,y=i.vendorCategory),"lang"in i&&n(35,b=i.lang),"isrecentavailable"in i&&n(0,j=i.isrecentavailable),"istopavailable"in i&&n(1,F=i.istopavailable),"defaultcurrency"in i&&n(2,A=i.defaultcurrency),"usercurrency"in i&&n(3,S=i.usercurrency),"clientstyling"in i&&n(4,B=i.clientstyling),"clientstylingurl"in i&&n(5,k=i.clientstylingurl),"enableautoscroll"in i&&n(6,v=i.enableautoscroll),"tabsorder"in i&&n(36,m=i.tabsorder),"translationurl"in i&&n(37,N=i.translationurl),"winnersdatasources"in i&&n(38,T=i.winnersdatasources),"hascustomstyling"in i&&n(39,_=i.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1610612739|r.$$.dirty[1]&63&&j&&F&&d&&f&&w&&E&&x&&y&&b&&m&&ke(),r.$$.dirty[0]&134217728&&a&&we(),r.$$.dirty[0]&140&&W&&(S||A)&&ie(),r.$$.dirty[0]&67108864|r.$$.dirty[1]&640&&l&&T&&G&&$(),r.$$.dirty[1]&16&&b&&ye(),r.$$.dirty[1]&64&&N&&he(),r.$$.dirty[1]&256&&_&&Ce(),r.$$.dirty[0]&272&&B&&M&&We(),r.$$.dirty[0]&288&&k&&M&&ve()},[j,F,A,S,B,k,v,W,M,c,g,u,C,z,R,P,X,H,V,I,s,K,ge,ee,re,Z,l,a,o,d,f,w,E,x,y,b,m,N,T,_,G,xe,Me,Fe,Se,Be,Te,Ae,Le]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,De,Pe,e.safe_not_equal,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:33,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},ze,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[33]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=pe;
@@ -1,4 +1,4 @@
1
- import { S as m, i as h, f as o, c as g, s as y, b as v, e as x, d as b, C as r, j as C, m as _ } from "./CasinoCalendar-CCQut7OA.js";
1
+ import { S as m, i as h, f as o, c as g, s as y, b as v, e as x, d as b, C as r, j as C, m as _ } from "./CasinoCalendar-0AyYaYr6.js";
2
2
  function L(e) {
3
3
  v(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function h(n){t.append_styles(n,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function m(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,d){t.insert(l,i,d),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function g(n,i,l){let{clientstyling:d=""}=i,{clientstylingurl:r=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=d,s.appendChild(e)},p=()=>{let e=new URL(r),c=document.createElement("style");fetch(e.href).then(a=>a.text()).then(a=>{c.innerHTML=a,setTimeout(()=>{s.appendChild(c)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,r=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&d&&s&&u(),n.$$.dirty&5&&r&&s&&p()},[s,d,r,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,g,m,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-aMUXtMPt.cjs");function h(n){t.append_styles(n,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function m(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,d){t.insert(l,i,d),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function g(n,i,l){let{clientstyling:d=""}=i,{clientstylingurl:r=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=d,s.appendChild(e)},p=()=>{let e=new URL(r),c=document.createElement("style");fetch(e.href).then(a=>a.text()).then(a=>{c.innerHTML=a,setTimeout(()=>{s.appendChild(c)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,r=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&d&&s&&u(),n.$$.dirty&5&&r&&s&&p()},[s,d,r,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,g,m,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-B0BMaElu.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-DQGjTjXn.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoLobby-BPSflitf.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLobby-BSBqQiwz.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "1.49.2",
3
+ "version": "1.50.1",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-lobby.cjs",
6
6
  "module": "es2015/casino-lobby.js",
@@ -14,7 +14,7 @@ var p = (n, e, a) => new Promise((t, o) => {
14
14
  }, c = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(m, d);
15
15
  c((a = a.apply(n, e)).next());
16
16
  });
17
- import { b as u, p as f, r as w, h as i, g as x } from "./index-7666b794-KI7j9CY0.js";
17
+ import { b as u, p as f, r as w, h as i, g as x } from "./index-eac6b960-DXIu1GM6.js";
18
18
  import { g as y } from "./app-globals-0f993ce5-D-kw1sls.js";
19
19
  var G = () => {
20
20
  const n = import.meta.url, e = {};
@@ -1,4 +1,4 @@
1
- "use strict";var p=(n,e,a)=>new Promise((i,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?i(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-7666b794-CHdM2q8W.cjs"),w=require("./app-globals-0f993ce5-sCt45RkC.cjs");var g=typeof document!="undefined"?document.currentScript:null,y=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:g&&g.src||new URL("stencil/casino-play-random-game-DJ_HpP4O.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),t.promiseResolve(e)};y().then(n=>p(exports,null,function*(){return yield w.globalScripts(),t.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],limitStylingAppends:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"]}]]]],n)}));const x=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},G="en",l={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(i=>{l[i]||(l[i]={});for(let o in a[i])l[i][o]=a[i][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:G][n]},b=`:host {
1
+ "use strict";var g=(n,e,a)=>new Promise((i,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?i(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-eac6b960-BaE9i06M.cjs"),w=require("./app-globals-0f993ce5-sCt45RkC.cjs");var p=typeof document!="undefined"?document.currentScript:null,y=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:p&&p.tagName.toUpperCase()==="SCRIPT"&&p.src||new URL("stencil/casino-play-random-game-CQe5iDJ8.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),t.promiseResolve(e)};y().then(n=>g(exports,null,function*(){return yield w.globalScripts(),t.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],limitStylingAppends:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"]}]]]],n)}));const x=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},G="en",l={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(i=>{l[i]||(l[i]={});for(let o in a[i])l[i][o]=a[i][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:G][n]},b=`:host {
2
2
  display: block;
3
3
  font-family: inherit;
4
4
  -webkit-transform: translate3d(0, 0, 0);
@@ -0,0 +1 @@
1
+ "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var a=o=>{try{i(n.next(o))}catch(c){r(c)}},l=o=>{try{i(n.throw(o))}catch(c){r(c)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((n=n.apply(e,t)).next())});const Se="casino-play-random-game",_={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1,watchCallback:!0};var Ee=Object.defineProperty,be=(e,t)=>{for(var n in t)Ee(e,n,{get:t[n],enumerable:!0})},C=new WeakMap,E=e=>C.get(e),ke=(e,t)=>C.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],C.set(e,n)},G=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),U=new Map,Te=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=U.get(r);if(a)return a[s];{const l=i=>(U.set(r,i),i[s]);switch(r){case"casino-play-random-game":return Promise.resolve().then(()=>require("./casino-play-random-game-CQe5iDJ8.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),k)},O=new Map,xe="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},v={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),se=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),D=!1,Q=[],ne=[],Le=(e,t)=>n=>{e.push(n),D||(D=!0,v.$flags$&4?q(R):v.raf(R))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},R=()=>{Y(Q),Y(ne),(D=Q.length>0)&&v.raf(R)},q=e=>te().then(e),Ae=Le(ne),J={},Pe=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function re(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var _e={};be(_e,{err:()=>le,map:()=>Oe,ok:()=>z,unwrap:()=>je,unwrapErr:()=>Ie});var z=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function Oe(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>z(s)):z(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var je=e=>{if(e.isOk)return e.value;throw e.value},Ie=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ue=(e,t)=>()=>{},ae=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const i=[],o=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?H(null,s):s),l=a)};if(o(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=H(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},H=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},De={},Re=e=>e&&e.$tag$===De,ze=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,He=e=>E(e).$hostElement$,Be=(e,t,n)=>{const s=v.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Ce=(e,t,n)=>{let s=O.get(e);se&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,O.set(e,s)},qe=(e,t,n)=>{var s;const r=oe(t),a=O.get(r);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),i;if(l||K.set(e,l=new Set),!l.has(r)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=v.$nonce$)!=null?s:re(m);if(o!=null&&i.setAttribute("nonce",o),!(t.$flags$&1))if(e.nodeName==="HEAD"){const c=e.querySelectorAll("link[rel=preconnect]"),$=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,$)}else if("host"in e)if(se){const c=new CSSStyleSheet;c.replaceSync(a),e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{const c=e.querySelector("style");c?c.innerHTML=a+c.innerHTML:e.prepend(i)}else e.append(i);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(i,null)}t.$flags$&4&&(i.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Fe=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=S("attachStyles",t.$tagName$),a=qe(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&s&2&&(n["s-sc"]=a,n.classList.add(a+"-h")),r()},oe=(e,t)=>"sc-"+e.$tagName$,Z=(e,t,n,s,r,a)=>{if(n!==s){let l=G(e,t),i=t.toLowerCase();if(t==="class"){const o=e.classList,c=N(n),$=N(s);o.remove(...c.filter(f=>f&&!$.includes(f))),o.add(...$.filter(f=>f&&!c.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,i)?t=i.slice(2):t=i[2]+t.slice(3),n||s){const o=t.endsWith(ie);t=t.replace(Me,""),n&&v.rel(e,t,n,o),s&&v.ael(e,t,s,o)}}else{const o=F(s);if((l||o&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||r)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,N=e=>e?e.split(We):[],ie="Capture",Me=new RegExp(ie+"$"),ce=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of V(Object.keys(r)))l in a||Z(s,l,r[l],void 0,n,t.$flags$);for(const l of V(Object.keys(a)))Z(s,l,r[l],a[l],n,t.$flags$)};function V(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,W,$e=!1,fe=!1,j=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,i;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(!$e&&_.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),ce(null,r,fe),!!l.getRootNode().querySelector("body")&&_.scoped&&Pe(A)&&l["s-si"]!==A&&l.classList.add(l["s-si"]=A),r.$children$)for(a=0;a<r.$children$.length;++a)i=j(e,r,a),i&&l.appendChild(i);return l["s-hn"]=W,l},de=(e,t,n,s,r,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===W&&(l=l.shadowRoot);r<=a;++r)s[r]&&(i=j(null,n,r),i&&(s[r].$elm$=i,P(l,i,t)))},ue=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;pe(r),a&&a.remove()}}},Xe=(e,t,n,s,r=!1)=>{let a=0,l=0,i=0,o=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],p=s[d],h,y;for(;a<=c&&l<=d;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(p==null)p=s[--d];else if(L($,u,r))w($,u,r),$=t[++a],u=s[++l];else if(L(f,p,r))w(f,p,r),f=t[--c],p=s[--d];else if(L($,p,r))w($,p,r),P(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],p=s[--d];else if(L(f,u,r))w(f,u,r),P(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,o=a;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==u.$tag$?h=j(t&&t[l],n,i):(w(y,u,r),t[i]=void 0,h=y.$elm$),u=s[++l]):(h=j(t&&t[l],n,l),u=s[++l]),h&&P($.$elm$.parentNode,h,$.$elm$)}a>c?de(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ue(t,a,c)},L=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,w=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,l=t.$text$;l===null?(ce(e,t,fe),r!==null&&a!==null?Xe(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):!n&&_.updatable&&r!==null&&ue(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(pe)},P=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ge=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||H(null,null),l=Re(t)?t:ae(null,null,t);if(W=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=s[i])),n&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,A=s["s-sc"],$e=(r.$flags$&1)!==0,w(a,l,n)},he=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},M=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return he(e,e.$ancestorComponent$),Ae(()=>Qe(e,t))},Qe=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=X(r,"componentWillLoad")),s(),Ye(a,()=>Ke(e,r,t))},Ye=(e,t)=>Je(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Je=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ke=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Fe(e);const i=S("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(o=>o()),r["s-rc"]=void 0),i(),a();{const o=(s=r["s-p"])!=null?s:[],c=()=>Ne(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ge(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),X(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),a||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>M(e,!1)),e.$flags$&=-517},ve=e=>{ge(m.documentElement),q(()=>Be(I,"appload",{detail:{namespace:Se}}))},X=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ge=e=>{var t;return e.classList.add((t=_.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>E(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,o=r.$lazyInstance$;n=ze(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](n,l,t)}catch(u){k(u,a)}})}(i&18)===2&&M(r,!1)}},ye=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||n&2&&o&32)&&Object.defineProperty(a,i,{get(){return Ve(this,i)},set(c){et(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;a.attributeChangedCallback=function(o,c,$){v.jmp(()=>{var f;const d=i.get(o);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=E(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const h=u.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(g=>{h[g]!=null&&h[g].call(h,$,c,o)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,c])=>c[0]&15).map(([o,c])=>{var $;const f=c[1]||o;return i.set(f,o),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const o=Te(n);if(o&&"then"in o){const $=Ue();r=yield o,$()}else r=o;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,ye(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c(),B(t.$lazyInstance$)}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const c=oe(n);if(!O.has(c)){const $=S("registerStyles",n.$tagName$);Ce(c,o,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>M(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),B=e=>{X(e,"connectedCallback")},st=e=>{if(!(v.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?B(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>B(t.$lazyInstance$));else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){he(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},nt=e=>{},rt=e=>x(exports,null,function*(){if(!(v.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>nt())}}),lt=(e,t={})=>{var n;const s=S(),r=[],a=t.exclude||[],l=I.customElements,i=m.head,o=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,d=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;const g={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};g.$flags$&4&&(u=!0),g.$members$=h[2],g.$attrsToReflect$=[],g.$watchers$=(y=h[4])!=null?y:{};const T=g.$tagName$,me=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,we(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):v.jmp(()=>st(this))}disconnectedCallback(){v.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!a.includes(T)&&!l.get(T)&&(r.push(T),l.define(T,ye(me,g,1)))})}),r.length>0&&(u&&(c.textContent+=ee),c.textContent+=r.sort()+xe,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(n=v.$nonce$)!=null?n:re(m);p!=null&&c.setAttribute("nonce",p),i.insertBefore(c,o?o.nextSibling:i.firstChild)}d=!1,$.length?$.map(p=>p.connectedCallback()):v.jmp(()=>f=setTimeout(ve,30)),s()};exports.bootstrapLazy=lt;exports.getElement=He;exports.h=ae;exports.promiseResolve=te;exports.registerInstance=ke;