@everymatrix/casino-page-nd 1.54.0 → 1.54.4
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.
- package/components/{CasinoCalendar-B2vomzsf.js → CasinoCalendar-pVz7jYqi.js} +1166 -1205
- package/components/{CasinoCalendarDailyDetails-BCGdQSNl.js → CasinoCalendarDailyDetails-D7GkfhmR.js} +1 -1
- package/components/{CasinoCalendarDailyItem-BzgTjc6A.js → CasinoCalendarDailyItem-CU9qMJji.js} +1 -1
- package/components/{CasinoCollectionsProviders-D6rovYy_.js → CasinoCollectionsProviders-DxgdPTXN.js} +237 -242
- package/components/{CasinoFavoritesSectionNd-INQg8msA.js → CasinoFavoritesSectionNd-B8EIXq01.js} +3 -3
- package/components/{CasinoFilter-BHlBiPqY.js → CasinoFilter-C67EHGOs.js} +53 -54
- package/components/{CasinoGameThumbnailNd-4Vul04z-.js → CasinoGameThumbnailNd-Dj9aITsK.js} +856 -872
- package/components/{CasinoGamesCategorySectionNd-I0eWiZjs.js → CasinoGamesCategorySectionNd-OZ2HaGrH.js} +643 -674
- package/components/{CasinoJackpotBanner-B2cH0DUh.js → CasinoJackpotBanner-BRQqqpK8.js} +153 -157
- package/components/{CasinoLastPlayedSectionNd-BSzJtQMf.js → CasinoLastPlayedSectionNd--_9buYZx.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-BP3wHHRU.js → CasinoMostPlayedSectionNd-umJpV9lP.js} +2 -2
- package/components/{CasinoMyGamesNd-csZCp6GQ.js → CasinoMyGamesNd-Bosn4XLW.js} +68 -69
- package/components/{CasinoPageNd-BOEmR8fM.js → CasinoPageNd-C2EI24cS.js} +340 -343
- package/components/{CasinoRandomGame-6VOnC82y.js → CasinoRandomGame-BpYrX4Cp.js} +231 -247
- package/components/{CasinoSearchNd-But6VEIj.js → CasinoSearchNd-CmTarxBK.js} +192 -194
- package/components/{CasinoSort-Du-XHuIh.js → CasinoSort-bFOcp6J4.js} +2 -3
- package/components/{CasinoWinners-D8QknKKW.js → CasinoWinners-BUoqMo1a.js} +146 -148
- package/components/{GeneralAnimationLoading-B16w9fAI.js → GeneralAnimationLoading-CC5IRZHm.js} +1 -1
- package/esnext/casino-page-nd.js +14 -0
- package/package.json +10 -16
- package/stencil/{casino-play-random-game-CdK9RTmU.js → casino-play-random-game-BrayzMrR.js} +44 -62
- package/stencil/{index-47910d1c-BJIxkb-p.js → index-47910d1c-CWwDm8i3.js} +222 -238
- package/components/CasinoCalendar-CDVrxyQe.cjs +0 -6
- package/components/CasinoCalendarDailyDetails-7zAb7BF9.cjs +0 -1
- package/components/CasinoCalendarDailyItem-4YHj0r9V.cjs +0 -1
- package/components/CasinoCollectionsProviders-D4MAEEgW.cjs +0 -1
- package/components/CasinoFavoritesSectionNd-CbF2hHrz.cjs +0 -1
- package/components/CasinoFilter-BPHXroGh.cjs +0 -1
- package/components/CasinoGameThumbnailNd-DX3_1UUn.cjs +0 -39
- package/components/CasinoGamesCategorySectionNd-CThuz0lZ.cjs +0 -1
- package/components/CasinoJackpotBanner-3tJsMybK.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-Msd6Q6lK.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-DbiLqqdm.cjs +0 -1
- package/components/CasinoMyGamesNd-B_-UbmIL.cjs +0 -1
- package/components/CasinoPageNd-BgvDysBY.cjs +0 -1
- package/components/CasinoRandomGame-JdeKkDQP.cjs +0 -2
- package/components/CasinoSearchNd-ClCSeV0E.cjs +0 -1
- package/components/CasinoSort-DBYruc_n.cjs +0 -1
- package/components/CasinoWinners-BUUOGc9x.cjs +0 -1
- package/components/GeneralAnimationLoading-BnTkXHOJ.cjs +0 -1
- package/es2015/casino-page-nd.cjs +0 -1
- package/es2015/casino-page-nd.js +0 -16
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/casino-play-random-game-D5-NhS5J.cjs +0 -371
- package/stencil/index-47910d1c-CDXxJ6XN.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CDVrxyQe.cjs");function se(r,t){e.addMessages(r,t)}function Ae(r){e.$locale.set(r)}const le={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-BnTkXHOJ.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function je(r){e.append_styles(r,"svelte-1x13ubp","*,*::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}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.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 i=r.slice();return i[70]=t[n],i}function oe(r,t,n){const i=r.slice();return i[73]=t[n],i}function Le(r){let t,n,i,l,a,o,d,u,W,L,M,y,_,A,x,N,S,T,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 E(c,g){return c[18]?Re:Oe}let B=E(r),b=B(r);return{c(){t=e.element("div"),n=e.element("div"),i=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"),u=e.svg_element("path"),L=e.space(),M=e.element("button"),y=e.svg_element("svg"),_=e.svg_element("path"),N=e.space(),b.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(u,"style",W=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(u,"id","Path_36"),e.attr(u,"data-name","Path 36"),e.attr(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(u,"transform","translate(14.656 0) rotate(90)"),e.attr(u,"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(_,"style",A=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(_,"id","Path_36"),e.attr(_,"data-name","Path 36"),e.attr(_,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(_,"transform","translate(0 24.656) rotate(-90)"),e.attr(_,"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(M,"class","SliderButton"),e.attr(a,"class",x="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,i);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,u),e.append(a,L),e.append(a,M),e.append(M,y),e.append(y,_),e.append(t,N),b.m(t,null),T||(k=[e.listen(o,"click",r[43]),e.listen(M,"click",r[44])],T=!0)},p(c,g){if(g[0]&3277827){v=e.ensure_array_like(c[17]);let f;for(f=0;f<v.length;f+=1){const p=oe(c,v,f);m[f]?m[f].p(p,g):(m[f]=fe(p),m[f].c(),m[f].m(i,null))}for(;f<m.length;f+=1)m[f].d(1);m.length=v.length}g[0]&6144&&W!==(W=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(u,"style",W),g[0]&6144&&A!==(A=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(_,"style",A),g[0]&64&&x!==(x="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",x),B===(B=E(c))&&b?b.p(c,g):(b.d(1),b=B(c),b&&(b.c(),b.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),b.d(),T=!1,e.run_all(k)}}}function Ee(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,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[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(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=ue(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function ue(r){let t,n=r[20]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[10]=="recent"?"Active":""))},m(d,u){e.insert(d,t,u),e.append(t,i),a||(o=e.listen(t,"click",r[41]),a=!0)},p(d,u){u[0]&1048576&&n!==(n=d[20]("recentWinners")+"")&&e.set_data(i,n),u[0]&1024&&l!==(l="WinnersButton "+(d[10]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(d){d&&e.detach(t),a=!1,o()}}}function de(r){let t,n=r[20]("topWinners")+"",i,l,a,o,d;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(u,W){e.insert(u,t,W),e.append(t,i),e.append(t,l),o||(d=e.listen(t,"click",r[42]),o=!0)},p(u,W){W[0]&1048576&&n!==(n=u[20]("topWinners")+"")&&e.set_data(i,n),W[0]&1026&&a!==(a="WinnersButton "+(u[10]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(u){u&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,i=r[73]=="recent"&&ce(r),l=r[73]=="top"&&de(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?i?i.p(a,o):(i=ce(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=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)),i&&i.d(a),l&&l.d(a)}}}function Oe(r){let t;function n(a,o){return a[11].length!==0?Ge:Pe}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[47](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),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,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function Pe(r){let t,n=r[20]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&1048576&&n!==(n=l[20]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ge(r){let t,n=e.ensure_array_like(r[11]),i=[];for(let l=0;l<n.length;l+=1)i[l]=me(ae(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},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);i[o]?i[o].p(d,a):(i[o]=me(d),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function me(r){let t,n,i,l,a,o,d,u=r[70].gameName+"",W,L,M,y=r[22](r[70].username)+"",_,A,x,N=r[20]("won")+"",S,T,k,v=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,E,B,b=(r[7]?r[3]:r[2])+"",c,g,f,p,C;function q(){return r[45](r[70])}return{c(){var j,w,O,F;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),d=e.element("p"),W=e.text(u),L=e.space(),M=e.element("p"),_=e.text(y),A=e.space(),x=e.element("p"),S=e.text(N),T=e.space(),k=e.element("p"),m=e.text(v),E=e.space(),B=e.element("span"),c=e.text(b),g=e.space(),e.src_url_equal(i.src,l=(w=(j=r[70])==null?void 0:j.gameModel)==null?void 0:w.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(F=(O=r[70])==null?void 0:O.gameModel)==null?void 0:F.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",f="CardWrapper "+(r[16]?"CardWrapperAnimation":""))},m(j,w){e.insert(j,t,w),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,d),e.append(d,W),e.append(n,L),e.append(n,M),e.append(M,_),e.append(n,A),e.append(n,x),e.append(x,S),e.append(n,T),e.append(n,k),e.append(k,m),e.append(k,E),e.append(k,B),e.append(B,c),e.append(t,g),r[46](t),p||(C=e.listen(i,"click",q),p=!0)},p(j,w){var O,F,R,P;r=j,w[0]&2048&&!e.src_url_equal(i.src,l=(F=(O=r[70])==null?void 0:O.gameModel)==null?void 0:F.thumbnail)&&e.attr(i,"src",l),w[0]&2048&&a!==(a=(P=(R=r[70])==null?void 0:R.gameModel)==null?void 0:P.thumbnail)&&e.attr(i,"alt",a),w[0]&2048&&u!==(u=r[70].gameName+"")&&e.set_data(W,u),w[0]&2048&&y!==(y=r[22](r[70].username)+"")&&e.set_data(_,y),w[0]&1048576&&N!==(N=r[20]("won")+"")&&e.set_data(S,N),w[0]&2048&&v!==(v=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,v),w[0]&140&&b!==(b=(r[7]?r[3]:r[2])+"")&&e.set_data(c,b),w[0]&65536&&f!==(f="CardWrapper "+(r[16]?"CardWrapperAnimation":""))&&e.attr(t,"class",f)},d(j){j&&e.detach(t),r[46](null),p=!1,C()}}}function De(r){let t;function n(a,o){return a[14]||a[15]?Ee:Le}let i=n(r),l=i(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){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(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 Ie(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(20,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:W="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:y="All"}=t,{lang:_="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:N=""}=t,{usercurrency:S=""}=t,{clientstyling:T=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:v=""}=t,{tabsorder:m=""}=t,{translationurl:E=""}=t,{winnersdatasources:B=""}=t,{hascustomstyling:b="false"}=t,c,g,f=[],p=0,C=0,q=window.navigator.userAgent,j,w,O,F,R=!0,P=!1,J=!1,X,G,H,D,Y=[],V=!1,I,Q=0;const he=()=>{let s=new URL(E);fetch(s.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(z=>{se(z,h[z])})}).catch(h=>{console.log(h)})};Object.keys(le).forEach(s=>{se(s,le[s])});const $=()=>{Y=B.split(",").map(function(h){return h.trim()});const s=new URL(`${l}/v1/casino/${g}-winners`);n(18,V=!0),s.searchParams.append("limit",g=="recent"?W:L),s.searchParams.append("specifiedCurrency",D),s.searchParams.append("period",g=="recent"?d:u),s.searchParams.append("language",_),s.searchParams.append("amountLimit",M),s.searchParams.append("vendorCategory",y),Y.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>{n(11,f=[]),n(11,f=h.items.map(z=>z)),n(18,V=!1),setTimeout(()=>{be(),te(),v=="true"&&(clearInterval(G),_e()),n(14,R=!1)},5)})},1e3)},K=s=>{g!==s&&(n(11,f=[]),n(10,g=s),$())},ge=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ee=(s,h,z,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:z,subVendor:U},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${O||"Not logged in"}`})},te=s=>{const h=[...c.children];X=h.length,h.forEach((z,U)=>{z.style.transform=`translateX(${100*(s?U-s:U)}%)`}),setTimeout(()=>{n(16,J=!0)},10)},_e=()=>{p=0,C<X?G=setInterval(()=>{Z()},3e3):clearInterval(G)},ne=()=>{te(p)},be=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=f.length)return;const s=f.length;p===0?p=s-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=f.length)return;const s=f.length;v=="true"&&(p===s-C?p=0:p++),v=="false"&&(p===s-C?p=0:s-C<p+C?p=s-C:p+=C),ne()},ye=()=>{Ae(_)},We=()=>{n(7,w=!0),O=o},ie=()=>{n(40,D=w?S:N)},we=()=>{let s=document.createElement("style");s.innerHTML=T,F.appendChild(s)},ve=()=>{let s=new URL(k),h=document.createElement("style");fetch(s.href).then(z=>z.text()).then(z=>{h.innerHTML=z,setTimeout(()=>{F.appendChild(h)},1),setTimeout(()=>{},500),n(15,P=!1)})},Ce=()=>{b==="true"&&(!T&&!k&&F&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!T&&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,j=e.isMobile(q)),()=>{clearInterval(G)}));const Me=()=>K("recent"),Fe=()=>K("top"),xe=()=>re(),Se=()=>Z(),Te=s=>ee(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Be(s){e.binding_callbacks[s?"unshift":"push"](()=>{I=s,n(19,I)})}function Ne(s){e.binding_callbacks[s?"unshift":"push"](()=>{c=s,n(9,c)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{F=s,n(8,F)})}return r.$$set=s=>{"endpoint"in s&&n(26,l=s.endpoint),"session"in s&&n(27,a=s.session),"userid"in s&&n(28,o=s.userid),"periodrecent"in s&&n(29,d=s.periodrecent),"periodtop"in s&&n(30,u=s.periodtop),"numberusersrecent"in s&&n(31,W=s.numberusersrecent),"numberuserstop"in s&&n(32,L=s.numberuserstop),"amountlimit"in s&&n(33,M=s.amountlimit),"vendorCategory"in s&&n(34,y=s.vendorCategory),"lang"in s&&n(35,_=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(2,N=s.defaultcurrency),"usercurrency"in s&&n(3,S=s.usercurrency),"clientstyling"in s&&n(4,T=s.clientstyling),"clientstylingurl"in s&&n(5,k=s.clientstylingurl),"enableautoscroll"in s&&n(6,v=s.enableautoscroll),"tabsorder"in s&&n(36,m=s.tabsorder),"translationurl"in s&&n(37,E=s.translationurl),"winnersdatasources"in s&&n(38,B=s.winnersdatasources),"hascustomstyling"in s&&n(39,b=s.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1610612739|r.$$.dirty[1]&63&&A&&x&&d&&u&&W&&L&&M&&y&&_&&m&&ke(),r.$$.dirty[0]&134217728&&a&&We(),r.$$.dirty[0]&140&&w&&(S||N)&&ie(),r.$$.dirty[0]&67108864|r.$$.dirty[1]&640&&l&&B&&D&&$(),r.$$.dirty[1]&16&&_&&ye(),r.$$.dirty[1]&64&&E&&he(),r.$$.dirty[1]&256&&b&&Ce(),r.$$.dirty[0]&272&&T&&F&&we(),r.$$.dirty[0]&288&&k&&F&&ve()},[A,x,N,S,T,k,v,w,F,c,g,f,C,j,R,P,J,H,V,I,i,K,ge,ee,re,Z,l,a,o,d,u,W,L,M,y,_,m,E,B,b,D,Me,Fe,xe,Se,Te,Be,Ne,ze]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ie,De,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},je,[-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 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CDVrxyQe.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 +0,0 @@
|
|
|
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/CasinoPageNd-BgvDysBY.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",t.element)})}
|
package/es2015/casino-page-nd.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
if (typeof window != "undefined") {
|
|
2
|
-
let n = function(t) {
|
|
3
|
-
return function(...s) {
|
|
4
|
-
try {
|
|
5
|
-
return t.apply(this, s);
|
|
6
|
-
} catch (e) {
|
|
7
|
-
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"))
|
|
8
|
-
return !1;
|
|
9
|
-
throw e;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoPageNd-BOEmR8fM.js").then(({ default: t }) => {
|
|
14
|
-
!customElements.get("casino-page-nd") && customElements.define("casino-page-nd", t.element);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s=()=>{};exports.globalScripts=s;
|
|
@@ -1,371 +0,0 @@
|
|
|
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-47910d1c-CDXxJ6XN.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-D5-NhS5J.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
|
-
display: block;
|
|
3
|
-
font-family: inherit;
|
|
4
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
5
|
-
transform: translate3d(0, 0, 0);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host * {
|
|
9
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
10
|
-
transform: translate3d(0, 0, 0);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.RandomGameWrapper {
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: var(--emw--size-4x-medium, 700px);
|
|
16
|
-
background: transparent;
|
|
17
|
-
position: relative;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.GameContainerGradient {
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 10%;
|
|
24
|
-
left: -5px;
|
|
25
|
-
width: 100vw;
|
|
26
|
-
height: 80%;
|
|
27
|
-
background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.5) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.5) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
z-index: 1;
|
|
30
|
-
filter: blur(10px);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.GamesContainer {
|
|
34
|
-
display: flex;
|
|
35
|
-
height: var(--emw--size-4x-medium, 600px);
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
flex-wrap: nowrap;
|
|
38
|
-
justify-content: flex-start;
|
|
39
|
-
align-items: center;
|
|
40
|
-
align-content: flex-start;
|
|
41
|
-
gap: var(--emw--spacing-large, 20px);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.RandomGameCard {
|
|
45
|
-
position: relative;
|
|
46
|
-
width: var(--emw--size-3x-medium, 300px);
|
|
47
|
-
height: var(--emw--size-4x-medium, 420px);
|
|
48
|
-
border-radius: var(--emw--border-radius-large, 20px);
|
|
49
|
-
top: 8%;
|
|
50
|
-
filter: blur(5px);
|
|
51
|
-
}
|
|
52
|
-
.RandomGameCard .RandomGameVendor {
|
|
53
|
-
position: absolute;
|
|
54
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
55
|
-
bottom: var(--emw--spacing-small-minus, 10px);
|
|
56
|
-
left: var(--emw--spacing-small-minus, 10px);
|
|
57
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.TheRandomGame {
|
|
61
|
-
animation-name: ZoomFadeIn;
|
|
62
|
-
animation-duration: 0.5s;
|
|
63
|
-
animation-fill-mode: forwards;
|
|
64
|
-
-webkit-animation-name: ZoomFadeIn;
|
|
65
|
-
-webkit-animation-duration: 0.5s;
|
|
66
|
-
-webkit-animation-fill-mode: forwards;
|
|
67
|
-
opacity: 1;
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
filter: blur(0);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.RandomGameImage {
|
|
73
|
-
width: inherit;
|
|
74
|
-
height: inherit;
|
|
75
|
-
object-fit: cover;
|
|
76
|
-
border-radius: var(--emw--border-radius-large, 20px);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.RandomGameDetails {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: row;
|
|
82
|
-
justify-content: space-between;
|
|
83
|
-
align-items: center;
|
|
84
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
85
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
86
|
-
width: 100%;
|
|
87
|
-
}
|
|
88
|
-
.RandomGameDetails .RandomGameTitle {
|
|
89
|
-
line-height: 18px;
|
|
90
|
-
}
|
|
91
|
-
.RandomGameDetails .RandomGameInfo {
|
|
92
|
-
border-radius: 50%;
|
|
93
|
-
width: var(--emw--spacing-medium, 16px);
|
|
94
|
-
height: var(--emw--spacing-medium, 16px);
|
|
95
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
96
|
-
font-weight: var(--emw--font-weight-normal, 400);
|
|
97
|
-
border: solid 1px var(--emw--color-typography, #FFFFFF);
|
|
98
|
-
text-align: center;
|
|
99
|
-
margin: var(--emw--spacing-2x-small, 4px) 0;
|
|
100
|
-
line-height: 14px;
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
}
|
|
103
|
-
.RandomGameDetails .RandomGamePlay {
|
|
104
|
-
background: var(--emw--color-primary, #4bd004);
|
|
105
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
106
|
-
border: none;
|
|
107
|
-
border-radius: var(--emw--border-radius-medium, 5px);
|
|
108
|
-
width: 200px;
|
|
109
|
-
height: 40px;
|
|
110
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
111
|
-
cursor: pointer;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ButtonWrapper {
|
|
115
|
-
position: absolute;
|
|
116
|
-
top: 50%;
|
|
117
|
-
left: 50%;
|
|
118
|
-
transform: translate(-50%, -50%);
|
|
119
|
-
z-index: 20;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.ButtonContainer {
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: column;
|
|
125
|
-
justify-content: center;
|
|
126
|
-
align-items: center;
|
|
127
|
-
gap: 10px;
|
|
128
|
-
width: 100%;
|
|
129
|
-
position: relative;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.ButtonIcon {
|
|
133
|
-
display: flex;
|
|
134
|
-
flex-direction: column;
|
|
135
|
-
justify-content: center;
|
|
136
|
-
align-items: center;
|
|
137
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.QustionMark {
|
|
141
|
-
position: absolute;
|
|
142
|
-
font-family: sans-serif;
|
|
143
|
-
font-size: 120px;
|
|
144
|
-
font-weight: 900;
|
|
145
|
-
color: color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 10%);
|
|
146
|
-
text-shadow: 0px 12px 0px color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 50%);
|
|
147
|
-
left: 50%;
|
|
148
|
-
top: -20%;
|
|
149
|
-
transform: translateX(-50%);
|
|
150
|
-
z-index: 10;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.HexagonMarkShadow {
|
|
154
|
-
width: 100px;
|
|
155
|
-
height: 115px;
|
|
156
|
-
display: flex;
|
|
157
|
-
justify-content: center;
|
|
158
|
-
align-items: center;
|
|
159
|
-
background: color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 70%);
|
|
160
|
-
clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.HexagonMark {
|
|
164
|
-
position: absolute;
|
|
165
|
-
width: var(--emw--size-medium, 90px);
|
|
166
|
-
height: 105px;
|
|
167
|
-
background: linear-gradient(to bottom, color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 20%) 0%, var(--emw--categories-color-secondary, var(--emw--color-secondary, #eeac4a)) 100%);
|
|
168
|
-
clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.RandomButtons {
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: row;
|
|
174
|
-
justify-content: center;
|
|
175
|
-
align-items: center;
|
|
176
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
177
|
-
width: 100%;
|
|
178
|
-
position: relative;
|
|
179
|
-
z-index: 10;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.RandomButton {
|
|
183
|
-
font-size: var(--emw--font-size-large, 20px);
|
|
184
|
-
text-transform: uppercase;
|
|
185
|
-
width: max-content;
|
|
186
|
-
border-radius: var(--emw--button-border-radius, 50px);
|
|
187
|
-
padding: var(--emw--spacing-large, 20px) var(--emw--spacing-2x-large, 40px);
|
|
188
|
-
border: solid 3px var(--emw--button-border-color, #063B17);
|
|
189
|
-
color: var(--emw--button-text-color, #FFFFFF);
|
|
190
|
-
opacity: 1;
|
|
191
|
-
animation: ButtonEffect 3s linear infinite;
|
|
192
|
-
background-image: linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E), black 30%), var(--emw--color-primary, #22B04E));
|
|
193
|
-
background-size: 300% 100%;
|
|
194
|
-
cursor: pointer;
|
|
195
|
-
position: relative;
|
|
196
|
-
z-index: 10;
|
|
197
|
-
}
|
|
198
|
-
.RandomButton:hover {
|
|
199
|
-
opacity: 0.8;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.HideAnimation {
|
|
203
|
-
filter: blur(5px);
|
|
204
|
-
animation: AnimateButton 0.2s forwards;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.Flip {
|
|
208
|
-
animation-name: Flip, Blur;
|
|
209
|
-
animation-duration: 0.75s, 3s;
|
|
210
|
-
animation-iteration-count: infinite, 1;
|
|
211
|
-
-webkit-animation-name: Flip, Blur;
|
|
212
|
-
-webkit-animation-duration: 0.75s, 3s;
|
|
213
|
-
-webkit-animation-iteration-count: infinite, 1;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
@keyframes ButtonEffect {
|
|
217
|
-
0% {
|
|
218
|
-
background-position: 0% 50%;
|
|
219
|
-
}
|
|
220
|
-
33% {
|
|
221
|
-
background-position: 100% 50%;
|
|
222
|
-
}
|
|
223
|
-
66% {
|
|
224
|
-
background-position: 200% 50%;
|
|
225
|
-
}
|
|
226
|
-
100% {
|
|
227
|
-
background-position: 300% 50%;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
@keyframes ZoomFadeIn {
|
|
231
|
-
0% {
|
|
232
|
-
transform: scale(0.2) translateY(0);
|
|
233
|
-
filter: blur(5px);
|
|
234
|
-
opacity: 0.3;
|
|
235
|
-
}
|
|
236
|
-
50% {
|
|
237
|
-
transform: scale(1.1) translateY(-30px);
|
|
238
|
-
filter: blur(2px);
|
|
239
|
-
opacity: 0.7;
|
|
240
|
-
}
|
|
241
|
-
100% {
|
|
242
|
-
transform: scale(1) translateY(-30px);
|
|
243
|
-
filter: blur(0px);
|
|
244
|
-
opacity: 1;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
@keyframes AnimateButton {
|
|
248
|
-
0% {
|
|
249
|
-
opacity: 0.7;
|
|
250
|
-
}
|
|
251
|
-
50% {
|
|
252
|
-
opacity: 0.4;
|
|
253
|
-
}
|
|
254
|
-
100% {
|
|
255
|
-
opacity: 0;
|
|
256
|
-
display: none;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
@keyframes Flip {
|
|
260
|
-
0% {
|
|
261
|
-
transform: rotateY(0deg);
|
|
262
|
-
}
|
|
263
|
-
50% {
|
|
264
|
-
transform: rotateY(180deg);
|
|
265
|
-
}
|
|
266
|
-
100% {
|
|
267
|
-
transform: rotateY(360deg);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
@keyframes Blur {
|
|
271
|
-
0% {
|
|
272
|
-
filter: blur(0);
|
|
273
|
-
}
|
|
274
|
-
50% {
|
|
275
|
-
filter: blur(1px);
|
|
276
|
-
}
|
|
277
|
-
100% {
|
|
278
|
-
filter: blur(3px);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
@container (max-width: 475px) {
|
|
282
|
-
.GamesContainer {
|
|
283
|
-
height: inherit;
|
|
284
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
285
|
-
}
|
|
286
|
-
.RandomGameWrapper {
|
|
287
|
-
width: 100%;
|
|
288
|
-
height: 300px;
|
|
289
|
-
overflow: hidden;
|
|
290
|
-
background: transparent;
|
|
291
|
-
position: relative;
|
|
292
|
-
}
|
|
293
|
-
.GameContainerGradient {
|
|
294
|
-
position: absolute;
|
|
295
|
-
top: 10%;
|
|
296
|
-
left: -5px;
|
|
297
|
-
width: 100vw;
|
|
298
|
-
height: 80%;
|
|
299
|
-
background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.2) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.2) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
|
|
300
|
-
pointer-events: none;
|
|
301
|
-
z-index: 1;
|
|
302
|
-
filter: blur(5px);
|
|
303
|
-
}
|
|
304
|
-
.RandomGameCard {
|
|
305
|
-
width: 100px;
|
|
306
|
-
height: 150px;
|
|
307
|
-
top: 0%;
|
|
308
|
-
border-radius: var(--emw--border-radius-medium, 4px);
|
|
309
|
-
filter: blur(5px);
|
|
310
|
-
}
|
|
311
|
-
.RandomGameImage {
|
|
312
|
-
width: 102px;
|
|
313
|
-
height: inherit;
|
|
314
|
-
top: 0%;
|
|
315
|
-
}
|
|
316
|
-
.RandomGameDetails {
|
|
317
|
-
font-size: 14px;
|
|
318
|
-
width: 100%;
|
|
319
|
-
}
|
|
320
|
-
.RandomGameDetails .RandomGameTitle {
|
|
321
|
-
line-height: 18px;
|
|
322
|
-
width: 75%;
|
|
323
|
-
}
|
|
324
|
-
.RandomGameDetails .RandomGameInfo {
|
|
325
|
-
border-radius: 50%;
|
|
326
|
-
width: 16px;
|
|
327
|
-
height: 16px;
|
|
328
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
329
|
-
line-height: 14px;
|
|
330
|
-
}
|
|
331
|
-
.RandomGameDetails .RandomGamePlay {
|
|
332
|
-
background: var(--emw--color-primary, #52d004);
|
|
333
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
334
|
-
border: none;
|
|
335
|
-
border-radius: 5px;
|
|
336
|
-
width: 200px;
|
|
337
|
-
height: 40px;
|
|
338
|
-
font-size: 14px;
|
|
339
|
-
cursor: pointer;
|
|
340
|
-
}
|
|
341
|
-
.RandomGameCard .RandomGameVendor {
|
|
342
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
343
|
-
bottom: 5px;
|
|
344
|
-
right: 5px;
|
|
345
|
-
}
|
|
346
|
-
.RandomButtons {
|
|
347
|
-
display: flex;
|
|
348
|
-
flex-direction: column;
|
|
349
|
-
justify-content: center;
|
|
350
|
-
align-items: center;
|
|
351
|
-
gap: 5px;
|
|
352
|
-
width: 100%;
|
|
353
|
-
}
|
|
354
|
-
.RandomButton {
|
|
355
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
356
|
-
padding: 10px 15px;
|
|
357
|
-
border: solid 1px var(--emw--button-border-color, #063B17);
|
|
358
|
-
}
|
|
359
|
-
.QustionMark {
|
|
360
|
-
font-size: 100px;
|
|
361
|
-
font-weight: 700;
|
|
362
|
-
}
|
|
363
|
-
.HexagonMarkShadow {
|
|
364
|
-
width: 80px;
|
|
365
|
-
height: 95px;
|
|
366
|
-
}
|
|
367
|
-
.HexagonMark {
|
|
368
|
-
width: 70px;
|
|
369
|
-
height: 85px;
|
|
370
|
-
}
|
|
371
|
-
}`,v=b,f=class{constructor(n){t.registerInstance(this,n),this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.limitStylingAppends=!1,this.isLoading=!0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1,this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[e[a],e[i]]=[e[i],e[a]];return e},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.shadowRoot.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),a=document.createElement("style");fetch(e.href).then(i=>i.text()).then(i=>{a.innerHTML=i,this.clientStyling=i,setTimeout(()=>{this.host.shadowRoot.prepend(a)},1)})}}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",x()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),e(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-i/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){if(this.hasErrors)return t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},s("error",this.language)));if(this.isLoading)return t.h("div",{class:"RandomGameLoading"},t.h("div",{class:"Title"},s("randomGameLoading",this.language)));if(!this.isLoading)return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>t.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():null},t.h("div",{class:"RandomGameVendor"},n.vendor.name),t.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language)))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"]}}};f.style=v;exports.casino_play_random_game=f;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var b=(e,t,n)=>new Promise((s,r)=>{var a=$=>{try{l(n.next($))}catch(o){r(o)}},i=$=>{try{l(n.throw($))}catch(o){r(o)}},l=$=>$.done?s($.value):Promise.resolve($.value).then(a,i);l((n=n.apply(e,t)).next())});const Ee="casino-play-random-game",F={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,modernPropertyDecls:!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 ke=Object.defineProperty,Te=(e,t)=>{for(var n in t)ke(e,n,{get:t[n],enumerable:!0})},W=new WeakMap,S=e=>W.get(e),xe=(e,t)=>{W.set(t.$lazyInstance$=e,t)},Le=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],W.set(e,n)},M=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),z=new Map,we=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=z.get(r);if(a)return a[s];{const i=l=>(z.set(r,l),l[s]);switch(r){case"casino-play-random-game":return Promise.resolve().then(()=>require("./casino-play-random-game-D5-NhS5J.cjs")).then(i,L)}}return import(`./${r}.entry.js`).then(i=>(z.set(r,i),i[s]),i=>{L(i,t.$hostElement$)})},O=new Map,Pe="sty-id",Ae="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},k=j.document||{head:{}},h={$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)},se=e=>Promise.resolve(e),ne=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),R=!1,J=[],re=[],be=(e,t)=>n=>{e.push(n),R||(R=!0,h.$flags$&4?G(U):h.raf(U))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){L(n)}e.length=0},U=()=>{Z(J),Z(re),(R=J.length>0)&&h.raf(U)},G=e=>se().then(e),me=be(re),X=e=>(e=typeof e,e==="object"||e==="function");function le(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={};Te(_e,{err:()=>ae,map:()=>Oe,ok:()=>H,unwrap:()=>Ie,unwrapErr:()=>je});var H=e=>({isOk:!0,isErr:!1,value:e}),ae=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=>H(s)):H(n)}if(e.isErr){const n=e.value;return ae(n)}throw"should never get here"}var Ie=e=>{if(e.isOk)return e.value;throw e.value},je=e=>{if(e.isErr)return e.value;throw e.value},T=(e,t="")=>()=>{},ze=(e,t)=>()=>{},ie=(e,t,...n)=>{let s=null,r=null,a=!1,i=!1;const l=[],$=c=>{for(let d=0;d<c.length;d++)s=c[d],Array.isArray(s)?$(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!X(s))&&(s=String(s)),a&&i?l[l.length-1].$text$+=s:l.push(a?C(null,s):s),i=a)};if($(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(d=>c[d]).join(" "))}}const o=C(e,null);return o.$attrs$=t,l.length>0&&(o.$children$=l),o.$key$=r,o},C=(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,q=(e,t)=>e!=null&&!X(e)&&t&1?String(e):e,Ue=e=>S(e).$hostElement$,He=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},P=new WeakMap,Ce=(e,t,n)=>{let s=O.get(e);ne&&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:k,a)if(typeof a=="string"){e=e.head||e;let i=P.get(e),l;if(i||P.set(e,i=new Set),!i.has(r)){{l=document.querySelector(`[${Pe}="${r}"]`)||k.createElement("style"),l.innerHTML=a;const $=(s=h.$nonce$)!=null?s:le(k);if($!=null&&l.setAttribute("nonce",$),!(t.$flags$&1))if(e.nodeName==="HEAD"){const o=e.querySelectorAll("link[rel=preconnect]"),c=o.length>0?o[o.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(c==null?void 0:c.parentNode)===e?c:null)}else if("host"in e)if(ne){const o=new CSSStyleSheet;o.replaceSync(a),e.adoptedStyleSheets=[o,...e.adoptedStyleSheets]}else{const o=e.querySelector("style");o?o.innerHTML=a+o.innerHTML:e.prepend(l)}else e.append(l);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(l,null)}t.$flags$&4&&(l.innerHTML+=te),i&&i.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=T("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$,V=(e,t,n,s,r,a,i)=>{if(n!==s){let l=M(e,t),$=t.toLowerCase();if(t==="class"){const o=e.classList,c=N(n);let d=N(s);o.remove(...c.filter(f=>f&&!d.includes(f))),o.add(...d.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):M(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const o=t.endsWith($e);t=t.replace(We,""),n&&h.rel(e,t,n,o),s&&h.ael(e,t,s,o)}}else{const o=X(s);if(l||o&&s!==null)try{if(e.tagName.includes("-"))e[t]!==s&&(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))}}},Fe=/\s/,N=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Fe)),$e="Capture",We=new RegExp($e+"$"),ce=(e,t,n,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||{},i=t.$attrs$||{};for(const l of ee(Object.keys(a)))l in i||V(r,l,a[l],void 0,n,t.$flags$);for(const l of ee(Object.keys(i)))V(r,l,a[l],i[l],n,t.$flags$)};function ee(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var Y,fe=!1,I=(e,t,n)=>{const s=t.$children$[n];let r=0,a,i;if(s.$text$!==null)a=s.$elm$=k.createTextNode(s.$text$);else if(a=s.$elm$=k.createElement(s.$tag$),ce(null,s,fe),s.$children$)for(r=0;r<s.$children$.length;++r)i=I(e,s,r),i&&a.appendChild(i);return a["s-hn"]=Y,a},de=(e,t,n,s,r,a)=>{let i=e,l;for(i.shadowRoot&&i.tagName===Y&&(i=i.shadowRoot);r<=a;++r)s[r]&&(l=I(null,n,r),l&&(s[r].$elm$=l,_(i,l,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()}}},Ge=(e,t,n,s,r=!1)=>{let a=0,i=0,l=0,$=0,o=t.length-1,c=t[0],d=t[o],f=s.length-1,u=s[0],p=s[f],g,v;for(;a<=o&&i<=f;)if(c==null)c=t[++a];else if(d==null)d=t[--o];else if(u==null)u=s[++i];else if(p==null)p=s[--f];else if(m(c,u,r))w(c,u,r),c=t[++a],u=s[++i];else if(m(d,p,r))w(d,p,r),d=t[--o],p=s[--f];else if(m(c,p,r))w(c,p,r),_(e,c.$elm$,d.$elm$.nextSibling),c=t[++a],p=s[--f];else if(m(d,u,r))w(d,u,r),_(e,d.$elm$,c.$elm$),d=t[--o],u=s[++i];else{for(l=-1,$=a;$<=o;++$)if(t[$]&&t[$].$key$!==null&&t[$].$key$===u.$key$){l=$;break}l>=0?(v=t[l],v.$tag$!==u.$tag$?g=I(t&&t[i],n,l):(w(v,u,r),t[l]=void 0,g=v.$elm$),u=s[++i]):(g=I(t&&t[i],n,i),u=s[++i]),g&&_(c.$elm$.parentNode,g,c.$elm$)}a>o?de(e,s[f+1]==null?null:s[f+1].$elm$,n,s,i,f):i>f&&ue(t,a,o)},m=(e,t,n=!1)=>e.$tag$===t.$tag$?n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,w=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,i=t.$text$;i===null?(ce(e,t,fe),r!==null&&a!==null?Ge(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):!n&&F.updatable&&r!==null&&ue(r,0,r.length-1)):e.$text$!==i&&(s.data=i)},pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(pe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||C(null,null),i=Re(t)?t:ie(null,null,t);if(Y=s.tagName,r.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},r.$attrsToReflect$.map(([l,$])=>i.$attrs$[$]=s[l])),n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=a.$elm$=s.shadowRoot||s,r.$flags$&1,w(a,i,n)},he=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const n=t["s-p"].push(new Promise(s=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),s()}))}},Q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return he(e,e.$ancestorComponent$),me(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=T("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=K(r,"componentWillLoad",void 0,n)),s(),Qe(a,()=>Me(e,r,t))},Qe=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Me=(e,t,n)=>b(exports,null,function*(){var s;const r=e.$hostElement$,a=T("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];n&&Be(e);const l=T("render",e.$cmpMeta$.$tagName$);Je(e,t,r,n),i&&(i.map($=>$()),r["s-rc"]=void 0),l(),a();{const $=(s=r["s-p"])!=null?s:[],o=()=>Ze(e);$.length===0?o():(Promise.all($).then(o),e.$flags$|=4,$.length=0)}}),Je=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){L(r,e.$hostElement$)}return null},Ze=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=T("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(n),K(r,"componentDidLoad",void 0,n),s(),e.$onReadyResolve$(n),a||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&G(()=>Q(e,!1)),e.$flags$&=-517},ge=e=>{ye(k.documentElement),G(()=>He(j,"appload",{detail:{namespace:Ee}}))},K=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(r){L(r,s)}},ye=e=>{var t;return e.classList.add((t=F.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>S(e).$instanceValues$.get(t),D=(e,t,n,s)=>{const r=S(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$,i=r.$instanceValues$.get(t),l=r.$flags$,$=r.$lazyInstance$;n=q(n,s.$members$[t][0]);const o=Number.isNaN(i)&&Number.isNaN(n),c=n!==i&&!o;if((!(l&8)||i===void 0)&&c&&(r.$instanceValues$.set(t,n),$)){if(s.$watchers$&&l&128){const d=s.$watchers$[t];d&&d.map(f=>{try{$[f](n,i,t)}catch(u){L(u,a)}})}(l&18)===2&&Q(r,!1)}},ve=(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 i=Object.entries((s=t.$members$)!=null?s:{});if(i.map(([l,[$]])=>{if($&31||n&2&&$&32){const{get:o,set:c}=Object.getOwnPropertyDescriptor(a,l)||{};o&&(t.$members$[l][0]|=2048),c&&(t.$members$[l][0]|=4096),(n&1||!o)&&Object.defineProperty(a,l,{get(){{if(!(t.$members$[l][0]&2048))return Ve(this,l);const d=S(this),f=d?d.$lazyInstance$:a;return f?f[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const f=S(this);if(c){const u=$&32?this[l]:f.$hostElement$[l];typeof u=="undefined"&&f.$instanceValues$.get(l)?d=f.$instanceValues$.get(l):!f.$instanceValues$.get(l)&&u&&f.$instanceValues$.set(l,u),c.apply(this,[q(d,$)]),d=$&32?this[l]:f.$hostElement$[l],D(this,l,d,t);return}{if(!(n&1)||!(t.$members$[l][0]&4096)){D(this,l,d,t),n&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{t.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=d)});return}const u=()=>{const p=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&p&&f.$instanceValues$.set(l,p),f.$lazyInstance$[l]=q(d,$),D(this,l,f.$lazyInstance$[l],t)};f.$lazyInstance$?u():f.$onReadyPromise$.then(()=>u())}}})}}),n&1){const l=new Map;a.attributeChangedCallback=function($,o,c){h.jmp(()=>{var d;const f=l.get($);if(this.hasOwnProperty(f)&&F.lazyLoad)c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const p=S(this),g=p==null?void 0:p.$flags$;if(g&&!(g&8)&&g&128&&c!==o){const v=p.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[$];y==null||y.forEach(x=>{v[x]!=null&&v[x].call(v,c,o,$)})}return}}const u=Object.getOwnPropertyDescriptor(a,f);c=c===null&&typeof this[f]=="boolean"?!1:c,c!==this[f]&&(!u.get||u.set)&&(this[f]=c)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([$,o])=>o[0]&15).map(([$,o])=>{var c;const d=o[1]||$;return l.set(d,$),o[0]&512&&((c=t.$attrsToReflect$)==null||c.push([$,d])),d})]))}}return e},Ne=(e,t,n,s)=>b(exports,null,function*(){let r;if(!(t.$flags$&32)){t.$flags$|=32;{const l=we(n,t);if(l&&"then"in l){const o=ze();r=yield l,o()}else r=l;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,ve(r,n,2),r.isProxied=!0);const $=T("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(o){L(o,e)}t.$flags$&=-9,t.$flags$|=128,$(),B(t.$lazyInstance$,e)}if(r&&r.style){let l;typeof r.style=="string"&&(l=r.style);const $=oe(n);if(!O.has($)){const o=T("registerStyles",n.$tagName$);Ce($,l,!!(n.$flags$&1)),o()}}}const a=t.$ancestorComponent$,i=()=>Q(t,!0);a&&a["s-rc"]?a["s-rc"].push(i):i()}),B=(e,t)=>{K(e,"connectedCallback",void 0,t)},et=e=>{if(!(h.$flags$&1)){const t=S(e),n=t.$cmpMeta$,s=T("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?B(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>B(t.$lazyInstance$,e));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 i=e[r];delete e[r],e[r]=i}}),Ne(e,t,n)}s()}},tt=(e,t)=>{},st=e=>b(exports,null,function*(){if(!(h.$flags$&1)){const t=S(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>tt())}P.has(e)&&P.delete(e),e.shadowRoot&&P.has(e.shadowRoot)&&P.delete(e.shadowRoot)}),nt=(e,t={})=>{var n;const s=T(),r=[],a=t.exclude||[],i=j.customElements,l=k.head,$=l.querySelector("meta[charset]"),o=k.createElement("style"),c=[];let d,f=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",k.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(g=>{var v;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(u=!0),y.$members$=g[2],y.$attrsToReflect$=[],y.$watchers$=(v=g[4])!=null?v:{};const x=y.$tagName$,Se=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Le(E,y),y.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){S(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),d&&(clearTimeout(d),d=null),f?c.push(this):h.jmp(()=>et(this))}disconnectedCallback(){h.jmp(()=>st(this)),h.raf(()=>{var E;const A=S(this);((E=A==null?void 0:A.$vnode$)==null?void 0:E.$elm$)instanceof Node&&!A.$vnode$.$elm$.isConnected&&delete A.$vnode$.$elm$})}componentOnReady(){return S(this).$onReadyPromise$}};y.$lazyBundleId$=p[0],!a.includes(x)&&!i.get(x)&&(r.push(x),i.define(x,ve(Se,y,1)))})}),r.length>0&&(u&&(o.textContent+=te),o.textContent+=r.sort()+Ae,o.innerHTML.length)){o.setAttribute("data-styles","");const p=(n=h.$nonce$)!=null?n:le(k);p!=null&&o.setAttribute("nonce",p),l.insertBefore(o,$?$.nextSibling:l.firstChild)}f=!1,c.length?c.map(p=>p.connectedCallback()):h.jmp(()=>d=setTimeout(ge,30)),s()};exports.bootstrapLazy=nt;exports.getElement=Ue;exports.h=ie;exports.promiseResolve=se;exports.registerInstance=xe;
|