1import{c as k}from"./chunk-3HW7H4Z4.js";import{c as S}from"./chunk-36GMPCEQ.js";import"./chunk-UDBQIRI4.js";import"./chunk-S3WBTXLR.js";import"./chunk-MDCAIHA4.js";import"./chunk-H5XFMEYX.js";import"./chunk-RNEFTN2Z.js";import"./chunk-57U7VUHU.js";import"./chunk-I6CCTIVI.js";import"./chunk-I7X5EPSI.js";import"./chunk-FAKKFPWS.js";import{l as w}from"./chunk-HCNO6M7P.js";import{a as T}from"./chunk-3DO2DTDJ.js";import"./chunk-KVWVYYU6.js";import"./chunk-EAJDRVGJ.js";import{a as P}from"./chunk-ALSL2IRL.js";import{K as b}from"./chunk-UCCMBJTV.js";import{$b as C,Ab as v,Bb as g,Fc as r,Hc as _,Xb as h,Zb as f,ac as x,bc as M,fb as y,ga as p,gb as m,gc as i,hc as n,ic as l,ka as c,lb as o,nc as d,sc as u,xa as O}from"./chunk-Z27RTGQE.js";import"./chunk-NAIKXHWT.js";function D(e,s){if(e&1&&l(0,"li",15),e&2){let t=s.$implicit;d("innerHTML",t,y)}}function R(e,s){if(e&1&&(i(0,"div",34)(1,"div",35)(2,"a",36),l(3,"img",37),n()()()),e&2){let t=u().$implicit;o(2),d("href",t.redirect_url,m),o(),d("src",t.thumbnail.url,m)("alt",t.thumbnail.custom_properties.alt_text)}}function U(e,s){if(e&1&&(i(0,"div",33),h(1,R,4,3,"div",34),n()),e&2){let t=s.$implicit;o(),f(t?1:-1)}}function j(e,s){if(e&1&&(i(0,"div",17),x(1,U,2,1,"div",33,C),n()),e&2){let t=u(2);o(),M(t.freeToPlay.live_items)}}function I(e,s){if(e&1&&(i(0,"div",2)(1,"div",3),l(2,"img",4)(3,"img",5),n(),i(4,"div",6)(5,"div",7)(6,"div",8)(7,"h1",9),r(8),n(),l(9,"div",10),i(10,"a",11),r(11),n(),i(12,"div",12)(13,"p",13),r(14," Play now for a chance to win "),n(),i(15,"ul",14),x(16,D,1,1,"li",15,C),n()(),i(18,"div",16)(19,"p",13),r(20,"Games Currently Live"),n(),h(21,j,3,0,"div",17),n()()()(),i(22,"div",18),l(23,"img",19),n(),i(24,"div",20)(25,"h2",21),r(26,"How To Play"),n(),i(27,"div",22)(28,"div",23),l(29,"img",24),n(),i(30,"div",25)(31,"div",26)(32,"p",27),r(33,"STEP 1"),n(),i(34,"p",28),r(35,"Choose a game and make your predictions."),n()()(),i(36,"div",25)(37,"div",29)(38,"p",27),r(39,"STEP 2"),n(),i(40,"p",28),r(41," Once you\u2019re ready to submit your picks, simply login or register to confirm your entry. "),n()()(),i(42,"div",23),l(43,"img",30),n(),i(44,"div",23),l(45,"img",31),n(),i(46,"div",25)(47,"div",26)(48,"p",27),r(49,"STEP 3"),n(),i(50,"p",28),r(51," Check back to see how your picks performed and to see if you\u2019re on top of the leaderboard. "),n()()(),i(52,"a",32),r(53),n()()()()),e&2){let t=u();o(2),d("src",t.freeToPlay.hero_banner.url,m)("alt",t.freeToPlay.hero_banner.custom_properties.alt_text),o(),d("src",t.freeToPlay.hero_banner_mobile.url,m)("alt",t.freeToPlay.hero_banner_mobile.custom_properties.alt_text),o(5),_(" ",t.freeToPlay.app_page_header," "),o(),d("innerHTML",t.trustedDescription,y),o(),d("href",t.freeToPlay.cta_btn_url,m),o(),_(" ",t.freeToPlay.cta_btn_text," "),o(5),M(t.trustedWinnable),o(5),f(t.freeToPlay.live_items?21:-1),o(31),d("href",t.freeToPlay.how_to_btn_url,m),o(),_(" ",t.freeToPlay.how_to_btn_text," ")}}var L=(()=>{class e{freeToPlay;ftpLiveGames;ftpLoading=!0;ftpError=!1;trustedDescription;trustedWinnable=[];blogService=c(S);sanitiser=c(b);metaSetter=c(k);destroyRef=c(O);ngOnInit(){this.loadGames()}loadGames(){this.ftpLoading=!0,this.ftpError=!1,this.blogService.getFreeToPlayData().pipe(T(this.destroyRef)).subscribe(t=>{if(!t||Object.keys(t).length===0){this.setErrorState();return}this.freeToPlay=t,this.trustedDescription=P(this.sanitiser,t.app_page_subheader),this.trustedWinnable=Array.isArray(t.winnable_items)?t.winnable_items.map(a=>P(this.sanitiser,a)):[],this.metaSetter.setMeta({title:t.seo_title,seoTitle:t.seo_title,description:t.seo_description,metaImageURL:t.social_thumbnail?.url||"https://cdn.ciphersports.io/images/dimers-site/generic_meta.jpeg",canonicalURL:"https://www.dimers.com/free-to-play"}),this.ftpLoading=!1},()=>this.setErrorState())}setErrorState(){this.metaSetter.setMeta({title:"Dimers",description:"No more watching from the sidelines. Dimers gives sports fans the news, tools & analysis to Make the Play.",metaImageURL:"https://cdn.ciphersports.io/images/dimers-site/generic_meta.jpeg",canonicalURL:"https://www.dimers.com/free-to-play"}),this.ftpLoading=!1,this.ftpError=!0}sanitise(t){return P(this.sanitiser,t)}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=v({type:e,selectors:[["app-free-to-play-page"]],decls:3,vars:1,consts:[[1,"full-column"],[1,"free-to-play"],[1,"free-to-play-holder"],[1,"ftp-hero-holder"],[1,"ftp-hero-image","large-only",3,"src","alt"],[1,"ftp-hero-image","small-only",3,"src","alt"],[1,"content-holder"],[1,"ftp-main-content"],[1,"ftp-content-holder"],[1,"bright-yellow","f-38","f-bold","main-content-header"],[1,"desc","f-white","m-top-40",3,"innerHTML"],["block","","large","",1,"button-enabled-yellow","m-top-20",3,"href"],[1,"chance-to-win"],[1,"bright-yellow","f-bold","f-20"],[1,"ctw-list"],[1,"f-white",3,"innerHTML"],[1,"live-games","m-top-40"],[1,"live-ctr"],[1,"lower
1-outerlinep-holder"],["src","https://cdn.ciphersports.io/images/dimers-site/ftp/BlueRip-loweroutline.png","alt","","aria-hidden","true","loading","lazy",1,"lower-outerline"],[1,"ftp-how-to-play"],[1,"bright-red","f-38","f-bold","htp"],[1,"htp-list","m-top-40"],[1,"image-cell"],["src","https://cdn.ciphersports.io/images/dimers-site/ftp/step1.png","alt","Step 1: Choose a game and make your predictions","loading","lazy",1,"live-game"],[1,"text-cell"],[1,"step-desc"],[1,"bright-red","f-bold"],[1,""],[1,"step-desc","tar"],["src","https://cdn.ciphersports.io/images/dimers-site/ftp/step2.png","alt","Step 2: Login or register to submit your picks","loading","lazy",1,"live-game"],["src","https://cdn.ciphersports.io/images/dimers-site/ftp/step3.png","alt","Step 3: Check back to see how your picks performed","loading","lazy",1,"live-game"],["block","","large","",1,"button-enabled-yellow","m-top-20","m-bottom-40",3,"href"],["cols","12","md","6",1,"live-cell"],[1,"ftp-games-live"],[1,"game-holder"],[3,"href"],["lazy-src","liveGames.thumb_url","loading","lazy",1,"live-game",3,"src","alt"]],template:function(a,E){a&1&&(i(0,"div",0)(1,"div",1),h(2,I,54,11,"div",2),n()()),a&2&&(o(2),f(!E.ftpLoading&&!E.ftpError?2:-1))},styles:["[_nghost-%COMP%]{width:100%;display:grid;grid-template-columns:repeat(12,1fr);gap:30px;grid-auto-flow:row;align-content:start}@media screen and (max-width:850px){[_nghost-%COMP%]{gap:30px 10px}}[_nghost-%COMP%] .main-column[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 9;display:grid;grid-template-columns:100%;gap:30px;grid-auto-flow:row;align-content:start;max-width:100%}@media screen and (max-width:1250px){[_nghost-%COMP%] .main-column[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 8}}@media screen and (max-width:1030px){[_nghost-%COMP%] .main-column[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 12}}[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{grid-column-start:10;grid-column-end:span 3;display:grid;grid-template-columns:100%;gap:30px;grid-auto-flow:row;align-content:start;max-width:100%}@media screen and (max-width:1250px){[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{grid-column-start:9;grid-column-end:span 4}}@media screen and (max-width:1030px){[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 12}}[_nghost-%COMP%] .narrow-main-column[_ngcontent-%COMP%]{grid-column-start:4;grid-column-end:span 6;display:grid;grid-template-columns:100%;gap:30px;grid-auto-flow:row;align-content:start;max-width:100%}@media screen and (max-width:1250px){[_nghost-%COMP%] .narrow-main-column[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 8;grid-row:1}}@media screen and (max-width:1030px){[_nghost-%COMP%] .narrow-main-column[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 12}}[_nghost-%COMP%] .left-flank[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 3;display:grid;grid-template-columns:100%;gap:30px;grid-auto-flow:row;align-content:start;max-width:100%}@media screen and (max-width:1250px){[_nghost-%COMP%] .left-flank[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 8;grid-row:2}}@media screen and (max-width:1030px){[_nghost-%COMP%] .left-flank[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 12}}[_nghost-%COMP%] .right-flank[_ngcontent-%COMP%]{grid-column-start:10;grid-column-end:span 3;display:grid;grid-template-columns:100%;gap:30px;grid-auto-flow:row;align-content:start;max-width:100%}@media screen and (max-width:1250px){[_nghost-%COMP%] .right-flank[_ngcontent-%COMP%]{grid-column-start:9;grid-column-end:span 4}}@media screen and (max-width:1030px){[_nghost-%COMP%] .right-flank[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 12}}[_nghost-%COMP%] .full-column[_ngcontent-%COMP%]{grid-column-start:1;grid-column-end:span 12;display:grid;grid-template-columns:100%;gap:30px;grid-auto-flow:row;align-content:start;max-width:100%}.ftp-content-holder[_ngcontent-%COMP%]{padding:20px}.ftp-hero-holder[_ngcontent-%COMP%] .ftp-hero-image[_ngcontent-%COMP%]{width:100%}
1.ftp-hero-holder[_ngcontent-%COMP%] .large-only[_ngcontent-%COMP%]{display:block}@media screen and (max-width:750px){.ftp-hero-holder[_ngcontent-%COMP%] .large-only[_ngcontent-%COMP%]{display:none}}.ftp-hero-holder[_ngcontent-%COMP%] .small-only[_ngcontent-%COMP%]{display:none}@media screen and (max-width:750px){.ftp-hero-holder[_ngcontent-%COMP%] .small-only[_ngcontent-%COMP%]{display:block}}.content-holder[_ngcontent-%COMP%]{background:#100d2c}.game-description[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;position:absolute;bottom:0;width:100%}.game-description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-shadow:0px 0px 4px #efe300}.ftp-how-to-play[_ngcontent-%COMP%]{max-width:700px;margin:0 auto}.ftp-how-to-play[_ngcontent-%COMP%] .image-cell[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.htp[_ngcontent-%COMP%]{text-align:center}.tar[_ngcontent-%COMP%]{text-align:right}.button-enabled-yellow[_ngcontent-%COMP%]{height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:4px}.chance-to-win[_ngcontent-%COMP%]{background:#ffffff4d;padding:20px;border-radius:10px;margin-top:20px}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]::marker{color:#efe300}ul[_ngcontent-%COMP%]{margin:0}.htp-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;grid-auto-flow:row}.htp-list[_ngcontent-%COMP%] .text-cell[_ngcontent-%COMP%]{grid-column:span 2}.htp-list[_ngcontent-%COMP%] .button-enabled-yellow[_ngcontent-%COMP%]{grid-column:span 3}.live-ctr[_ngcontent-%COMP%]{display:grid;grid-auto-flow:row;grid-template-columns:repeat(2,calc(50% - 10px));gap:20px}@media screen and (max-width:750px){.live-ctr[_ngcontent-%COMP%]{grid-template-columns:100%}}.live-ctr[_ngcontent-%COMP%] .live-cell[_ngcontent-%COMP%] .game-holder[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .live-ctr[_ngcontent-%COMP%] .live-cell[_ngcontent-%COMP%] .game-holder[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .lower-outerline[_ngcontent-%COMP%]{width:100%}.ctw-list[_ngcontent-%COMP%]{padding-left:24px}"]})}return e})();var H=[{path:"",component:L},{path:"",redirectTo:"",pathMatch:"full"}],z=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275mod=g({type:e});static \u0275inj=p({imports:[w.forChild(H),w]})}return e})();var Y=(()=>{class e{static \u0275fac=function(a){return new(a||e)};static \u0275mod=g({type:e});static \u0275inj=p({imports:[z]})}return e})();export{Y as FreeToPlayModule};
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.