1import{a as on}from"./chunk-PDB2FF3Q.js";import"./chunk-FRLRUFYF.js";import"./chunk-LS24A6DE.js";import"./chunk-HZQBPZ6S.js";import"./chunk-ATIKRMP4.js";import"./chunk-BNOJBRMD.js";import{ib as Z,jb as nn}from"./chunk-LHWEQBOF.js";import"./chunk-FZMOTBLQ.js";import"./chunk-SURXIWHQ.js";import"./chunk-PCNP43ZE.js";import"./chunk-5RGCCF7U.js";import"./chunk-X4KWURHK.js";import"./chunk-RPNPA6V7.js";import"./chunk-TSAGDD3L.js";import"./chunk-2KLHVVXY.js";import"./chunk-SCWNZYRH.js";import"./chunk-PULBI4KM.js";import"./chunk-VCVYGOTU.js";import"./chunk-CU2PC3Q3.js";import"./chunk-7RCWNHPV.js";import{b as en}from"./chunk-UVZTK3KN.js";import"./chunk-HCR3IRH2.js";import"./chunk-V4O2LDMY.js";import"./chunk-7APWGJ42.js";import"./chunk-5GQMBFD7.js";import"./chunk-FYGCEZKN.js";import"./chunk-YW6DWN4T.js";import{y as tn}from"./chunk-KBN5CF3F.js";import{sa as X}from"./chunk-PT5IPMWH.js";import"./chunk-M6TI2MTM.js";import"./chunk-V2XY4QMO.js";import"./chunk-XFESIM43.js";import{a as h}from"./chunk-A5KRY6GU.js";import"./chunk-EN7UBUB7.js";import{p as q,q as k}from"./chunk-ICEETNFI.js";import"./chunk-4KBURNX4.js";import{d as f,i as K}from"./chunk-G44W6JOE.js";import"./chunk-B6STJHB2.js";import{j as Y,k as w}from"./chunk-PWUAYS4F.js";import"./chunk-YJKRYWMV.js";import{a as I}from"./chunk-ZDR3KJJS.js";import"./chunk-KTIPPCE2.js";import{o as Q,s as J,z as V}from"./chunk-IVJ2I5VN.js";import{$b as d,Aa as T,Cb as F,E as S,Ec as o,Fc as C,Gb as $,Hc as R,Ib as j,L as E,Na as H,Ta as B,Tb as N,Ub as G,Vc as _,Wc as u,Xc as A,Zb as m,bc as y,cc as b,dc as s,ea as z,ec as i,fc as e,gb as D,gc as p,hb as x,kc as O,lc as M,mb as r,nc as W,rc as U,s as v,sa as g,tc as c,za as L}from"./chunk-EN2B4KZW.js";import"./chunk-4KIXNS7N.js";var an=()=>[w,I,Q,J],rn=(t,a)=>a.title,cn=(t,a)=>a.heading;function ln(t,a){if(t&1&&p(0,"span",2),t&2){let n=c();s("innerHTML",n.nonLoggedInSubHeadline,D)}}function sn(t,a){t&1&&(o(0," Join now for your "),p(1,"br"),o(2,"Welcome Bonus! "))}function mn(t,a){if(t&1&&(i(0,"a",3),o(1,"Sign In"),e()),t&2){let n=c();s("routerLink",n.loginLink)}}function dn(t,a){if(t&1&&(i(0,"a",4),O(1,10),o(2,"Join Now"),M(),e()),t&2){let n=c();s("routerLink",n.joinNowLink)}}function gn(t,a){if(t&1&&p(0,"img",5),t&2){let n=c();s("alt",n.heroImage.alt)("srcset",n.heroImageSrcset)("src",n.heroImageDefaultSrc,x)}}function pn(t,a){if(t&1&&(i(0,"app-game-cards-slider",8)(1,"h3",11),O(2,10),o(3),M(),e()()),t&2){let n=a.$implicit;s("gameCards",n.tiles),r(),s("name",n.icon_name),r(2),C(n.title)}}function Cn(t,a){if(t&1&&(i(0,"h2",12),o(1),e()),t&2){let n=c(2);r(),C(n.pillarsTitle)}}function _n(t,a){if(t&1&&(i(0,"li",14),p(1,"img",15),i(2,"h3",16),o(3),e(),i(4,"p",17),o(5),e()()),t&2){let n=a.$implicit;r(),s("src",n.image,x)("alt",n.alt||""),r(2),C(n.heading),r(2),C(n.description)}}function fn(t,a){if(t&1&&(i(0,"div",9),m(1,Cn,2,1,"h2",12),i(2,"ul",13),y(3,_n,6,4,"li",14,cn),e()()),t&2){let n=c();r(),d(n.pillarsTitle?1:-1),r(2),b(n.pillarCards)}}function hn(t,a){if(t&1){let n=W();i(0,"div",18),p(1,"img",19),i(2,"div")(3,"span"),o(4,"NEW PLAYER BONUS!"),e(),o(5),_(6,"async"),_(7,"number"),_(8,"async"),_(9,"number"),e(),i(10,"a",20),O(11,10),o(12,"JOIN NOW"),M(),e(),i(13,"button",21),U("click",function(){L(n);let l=c(2);return T(l.closeFloatingBanner())}),e()()}if(t&2){let n=c(2);r(5),R(" ",u(7,5,u(6,3,n.goldCoinsQuantity$))," Gold Coins & ",A(9,9,u(8,7,n.sweepsCoinsQuantity$),"1.2-2")," Sweeps Coins "),r(5),s("routerLink",n.joinNowLink)}}function Pn(t,a){if(t&1&&m(0,hn,14,12,"div",18),t&2){let n=c();d(n.showFloatingBanner?0:-1)}}var En=(()=>{class t extends en{constructor(){super(...arguments),this.platformId=g(B),this.store=g(q),this.cookies=g(nn),this.router=g(Y),this.homePageContent=g(K),this.tileGroups=this.homePageContent.categories,this.pillarCards=this.homePageContent.uaPillarCards??[],this.pillarsTitle=this.homePageContent.uaPillarsTitle,this.heroImage=this.homePageContent.homePageHero,this.heroImageWidths=[2048,1866,1610,1303,1080,942,933,721,570,350],this.heroImageSrcset=this.heroImage.url?this.heroImage.srcset||this.heroImageWidths.map(n=>`${this.heroImage.url}&w=${n} ${n}w`).join(", "):"",this.heroImageDefaultSrc=this.heroImage.url?this.heroImage.srcset?this.heroImage.url:`${this.heroImage.url}
1&w=942`:"",this.showFloatingBanner=!1,this.loginLink=[h.LOGIN],this.joinNowLink=`/${h.SIGNUP}/${h.CREATE_USER}`,this.brandNameFull=f.brandNameFull,this.nonLoggedInSubHeadline=f.homePage.nonLoggedInSubHeadline,this.sweepsCoinsQuantity$=this.store.pipe(k(tn),v(n=>n*f.welcomeCodePromo.sweepsMultiplier)),this.goldCoinsQuantity$=this.sweepsCoinsQuantity$.pipe(v(n=>n*f.welcomeCodePromo.goldMultiplier))}ngOnInit(){V(this.platformId)&&(this.hasLoggedInWithEmailBefore=!!this.cookies.get(Z.userEmail),this.showFloatingBanner=!this.hasLoggedInWithEmailBefore),this.store.pipe(k(X),S(n=>!!n),z(this.destroyed$),E(1)).subscribe(()=>this.router.navigate([h.LOBBY]))}closeFloatingBanner(){this.showFloatingBanner=!1}static{this.\u0275fac=(()=>{let n;return function(l){return(n||(n=H(t)))(l||t)}})()}static{this.\u0275cmp=F({type:t,selectors:[["app-home"]],features:[$],decls:31,vars:4,consts:[[1,"home-container"],[1,"js-cta-h1"],[1,"subheadline",3,"innerHTML"],[1,"block-button","secondary",3,"routerLink"],["icon","","name","play-icon",1,"block-button",3,"routerLink"],["fetchpriority","high","data-testid","hero-img","width","1303","height","958","sizes","(min-width: 1140px) 933px, (min-width: 400px) 100vw, calc(37.5vw + 238px)",3,"alt","srcset","src"],[1,"visually-hidden"],[1,"tiles-container"],[1,"d-block","mb-4",3,"gameCards"],[1,"pillar-cards-container","mb-6"],["content",""],["icon","",1,"mb-0",3,"name"],[1,"text-center","p-1","text-wrap-pretty"],[1,"pillar-cards","gap-3","p-0","m-0"],[1,"pillar-card","d-flex","flex-column","align-items-center","text-center","gap-1","mb-5"],["loading","lazy","width","314","height","183",3,"src","alt"],[1,"mb-0","text-wrap-pretty"],[1,"mb-0"],["data-testid","floating-banner",1,"js-floating-banner","floating-banner"],["loading","lazy","alt","","src","assets/images/coins/webp/coins-sparkle-animation.webp","width","130","height","84"],["data-testid","floating-banner-join-now-link","icon","","name","play-icon",1,"block-button","jn",3,"routerLink"],["data-testid","floating-banner-dismiss-button","icon","","name","x-circle-icon","aria-label","close banner",1,"close-button","text-white",3,"click"]],template:function(P,l){P&1&&(i(0,"div",0)(1,"div")(2,"div")(3,"div")(4,"div")(5,"span")(6,"em"),o(7,"Play"),e(),o(8,"games."),e(),o(9,"\xA0"),i(10,"span")(11,"em"),o(12,"Win"),e(),o(13,"real cash prizes!"),e()(),i(14,"h1",1),m(15,ln,1,1,"span",2)(16,sn,3,0),e(),m(17,mn,2,1,"a",3)(18,dn,3,1,"a",4),e(),i(19,"figure"),m(20,gn,1,3,"img",5),e()()(),i(21,"div")(22,"h2",6),o(23,"Game Categories"),e(),i(24,"div",7),y(25,pn,4,3,"app-game-cards-slider",8,rn),e()(),m(27,fn,5,1,"div",9),j(28,Pn,1,1),N(29,28,an),G(),e()),P&2&&(r(15),d(l.hasLoggedInWithEmailBefore?15:16),r(2),d(l.hasLoggedInWithEmailBefore?17:18),r(3),d(l.heroImageDefaultSrc?20:-1),r(5),b(l.tileGroups),r(2),d(l.pillarCards.length?27:-1))},dependencies:[w,I,on],styles:['.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%]{max-width:1140px;margin:0 auto}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{display:block;margin:-13vw auto;pointer-events:none}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{transition:opacity .25s ease-in;opacity:1;display:flex;flex-direction:column;gap:.75em;font-family:var(--f-montserrat);justify-content:center;align-items:flex-start;padding:2em 2em 0;font-size:2.5vw;position:relative;z-index:1}@starting-style{.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:0}}h1[_ngcontent-%COMP%]{color:#fff;font-weight:700;font-size:1.5em;margin-bottom:.5161290323em;line-height:1.25;letter-spacing:0}h1[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{display:block;font-weight:800;color:var(--c-gold-1);font-size:2.5em}h1[_ngcontent-%COMP%], .home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.subheadline){text-shadow:2px 2px 0px var(--c-black)}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.subheadline){color:#fff;font-size:2.5em;display:inline-block;line-height:1.05;font-weight:800;text-transform:lowercase}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.subheadline):last-of-type{font-size:2.25em}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-of-type{margin-bottom:.5em}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{display:inline-block;font-style:normal;text-transform:uppercase;color:var(--c-gold-1);margin-right:.5rem}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .ll[_ngcontent-%COMP%]{font-size:.9em;text-transform:capitalize}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .jn[_ngcontent-%COMP%]{font-size:1em;text-transform:uppercase}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .block-button[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 1141px){.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .block-button[_ngcontent-%COMP%]{display:block}}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-of-type(2) > div[_ngcontent-%COMP%]{padding-bottom:2em}h3[_ngcontent-%COMP%]{--icon-color: var(--t-button-nav-category-icon);font-size:var(--step-0)}@media screen and (min-width: 768px){h3[_ngcontent-%COMP%]{font-size:var(--step-1)}}.tiles-container[_ngcontent-%COMP%]{padding:1rem 1.5rem 5em;max-width:1140px;margin:0 auto}@media only screen and (min-width: calc(2em + 1140px)){.tiles-container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.pillar-cards-container[_ngcontent-%COMP%]{background:var(--t-ua-pillars-background);max-width:1200px;margin-inline:auto;border-radius:.75em;padding-block:2em;padding-inline:1em}@media only screen and (min-width: 750px){.pillar-cards-container[_ngcontent-%COMP%]{padding:2em;padding-block-end:0}}.pillar-cards[_ngcontent-%COMP%]{list-style:none;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));padding-block:2em;padding-inline:1em}.pillar-card[_ngcontent-%COMP%]{padding:var(--space-m);background:var(--t-ua-pillars-card-bg);border-radius:.75em;position:relative}.pillar-card[_ngcontent-%COMP%]:after{content:"";top:0;left:0;width:100%;height:2px;position:absolute;background:var(--t-ua-pillars-card-gradient-border)}.pillar-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:relative;z-index:1;display:block;margin-top:-3.25em;margin-bottom:.5em;max-width:9.5em}.pillar-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:var(--t-text-primary)}.pillar-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--t-brand-accent-secondary);line-height:1.25}.floating-banner[_ngcontent-%COMP%]{transition:opacity .25s ease-in;opacity:1;position:sticky;bottom:0;background:var(--t-brand-primary);border:var(--t-border-width-thin) solid var(--c-gray-3);z-index:1;font-size:.7em;display:flex;align-items:center;justify-content:center;padding:1rem;font-family:Montserrat,sans-serif;gap:.5rem;color:#fff}@starting-style{.floating-banner[_ngcontent-%COMP%]{opacity:0}
1}.floating-banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:6em}.floating-banner[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--c-orange-1);font-weight:800;display:block}.floating-banner[_ngcontent-%COMP%] .jn[_ngcontent-%COMP%]{font-size:.8em;margin-right:1.55em;white-space:nowrap}.floating-banner[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{display:inline-flex;position:absolute;font-size:calc(var(--step-0) * 1.15);line-height:1;top:.5rem;right:.5rem}@media screen and (min-width: 768px){.floating-banner[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{font-size:var(--step-1)}}@media screen and (min-width: 500px){.floating-banner[_ngcontent-%COMP%]{font-size:1em}}@media screen and (min-width: 768px){.floating-banner[_ngcontent-%COMP%]{font-size:1.25em;gap:1.5rem}.floating-banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5em}.floating-banner[_ngcontent-%COMP%] .jn[_ngcontent-%COMP%]{margin-right:0}}@media only screen and (min-width: 1140px){.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr .5fr 1fr 1fr 1fr 1fr}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{margin-top:1.5em;margin-bottom:.75rem}h1[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{display:block}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{grid-row-start:1;grid-column:2/7;max-height:35em;margin-top:-5em;margin-bottom:unset}.home-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{font-size:1em;padding:1em .5em 1.5em 2.5em;grid-row-start:1;grid-column:1/4}}'],changeDetection:0})}}return t})();export{En as HomeComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.