PageSourceSearch

https://www.dimers.com/chunk-W4DLXLGK.js

js dimers.com collected 2026-10-02 04:36:00 UTC 6,962 bytes, 1 lines download raw bytes

1import{a as Q}from"./chunk-KEAKBYXQ.js";import{a as K}from"./chunk-TOGIO5UI.js";import{a as z}from"./chunk-NJFU6BAM.js";import"./chunk-H5XFMEYX.js";import{u as j}from"./chunk-WL7LDOGK.js";import"./chunk-FAKKFPWS.js";import{g as $}from"./chunk-SYOTIUFV.js";import{a as U,c as F}from"./chunk-KRN42HVV.js";import{a as q}from"./chunk-M26XU57I.js";import"./chunk-KVWVYYU6.js";import"./chunk-EAJDRVGJ.js";import{s as N}from"./chunk-SDWWVTYX.js";import{$b as M,$c as B,Ab as L,Dc as S,Ea as u,Fc as s,Gc as A,Hc as d,Ic as P,Pa as R,Vb as v,Wb as C,Wc as I,Xb as D,Zb as E,ac as w,ad as H,bc as x,cc as b,dc as o,ec as a,fc as m,gb as k,id as c,ka as p,lb as r,qc as g,sc as f,u as _,xa as T}from"./chunk-XY2K67OX.js";import"./chunk-NAIKXHWT.js";var Y=new Set(["h2h","line","totals"]),Z={h2h:"Moneyline",line:"Spread",totals:"Total"};function h(e){return!Y.has(e.market)}function V(e){return Z[e.market]??e.market}function O(e){return Number((e*100).toFixed(1)).toString()}function G(e){let l=O(e.min_range);return e.max_range===null||e.max_range===void 0?`${l}%+ Edge`:`${l}\u2013${O(e.max_range)}% Edge`}function J(e){return`${((e??0)*100).toFixed(1)}%`}function y(e){return[...e].sort((l,t)=>(t.roi??0)-(l.roi??0))}function W(e,l){let t=new Set(l.filter(i=>i.active).map(i=>i.code.toUpperCase()));return e.filter(i=>t.has(i.sport.toUpperCase()))}var ee=()=>[0,1,2,3,4];function te(e,l){e&1&&(o(0,"div",16)(1,"div",17),m(2,"div",18),o(3,"div",19),m(4,"div",20)(5,"div",21),a()(),o(6,"div",22),m(7,"div",23),a(),o(8,"div",24),m(9,"div",25),a()())}function ie(e,l){e&1&&w(0,te,10,0,"div",16,M),e&2&&x(I(0,ee))}function ne(e,l){e&1&&(o(0,"div",13),s(1," No sweet spots right now. "),a())}function oe(e,l){if(e&1&&(o(0,"div",16)(1,"div",17),m(2,"img",26),o(3,"div",27)(4,"p",28),s(5),B(6,"sportLabel"),a(),o(7,"p",29),s(8),a()()(),o(9,"span",30),s(10),a(),o(11,"span",31),s(12),a()()),e&2){let t=l.$implicit,i=f(2);r(2),b("src",i.iconUrl,k),r(3),P(" ",H(6,6,t.sport)," ",i.betTypeLabel(t)," "),r(3),d(" ",i.edgeRangeLabel(t)," "),r(2),d(" ",t.bets??0," "),r(2),d(" ",i.roiLabel(t.roi)," ")}}function ae(e,l){if(e&1&&w(0,oe,13,8,"div",16,C().trackRule,!0),e&2){let t=f();x(t.visibleRows())}}var he=(()=>{class e{sweetSpotService=p(K);sportMenuService=p(Q);authHelper=p(j);platformId=p(R);destroyRef=p(T);title="Featured Sweet Spots";subtitle="Discover the markets and edge ranges currently producing the strongest returns.";buttonLabel="View Sweet Spots";iconUrl="https://cdn.ciphersports.io/images/sweet-spot-signal-new.svg";maxRows=5;rules=u([]);isLoading=u(!0);activeTab=u("bets");isProUser=F(this.authHelper.isProUser$,{initialValue:!1});betsRows=c(()=>y(this.rules().filter(t=>!h(t))));propsRows=c(()=>y(this.rules().filter(t=>h(t))));visibleRows=c(()=>(this.activeTab()==="bets"?this.betsRows():this.propsRows()).slice(0,this.maxRows));viewAllLink=c(()=>this.activeTab()==="bets"?"/best-bets":"/best-props");viewAllQueryParams=c(()=>this.isProUser()?{tag:"sweet-spot"}:{});constructor(){N(this.platformId)&&_([this.sweetSpotService.getRules(),this.sportMenuService.getSportMenu()]).pipe(U(this.destroyRef)).subscribe({next:([t,i])=>{this.rules.set(W(t??[],i.sports)),this.isLoading.set(!1)},error:()=>this.isLoading.set(!1)})}setTab(t){this.activeTab.set(t)}betTypeLabel=V;edgeRangeLabel=G;roiLabel=J;trackRule(t,i){return`${i.sport}|${i.market}|${i.min_range}|${i.max_range}`}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=L({type:e,selectors:[["app-home-sweet-spots-section"]],decls:27,vars:25,consts:[["aria-labelledby","home-sweet-spots-title",1,"bg-white","py-10","sm:py-12","lg:py-14"],[1,"mx-auto","w-full","max-w-4xl","px-5","sm:px-6","lg:px-8"],[1,"mx-auto","max-w-xl","text-center"],["id","home-sweet-spots-title",1,"heading-xlarge-bold"],[1,"mt-2","text-sm","leading-6","text-slate-500"],[1,"mt-5","flex","justify-center"],["role","tablist",1,"flex","w-full","rounded-lg","bg-navy-50","p-1","sm:w-auto"],["type","button","role","tab",1,"flex-1","rounded-md","px-4","py-1.5","text-sm","font-semibold","transition-colors","sm:flex-none",3,"click"],["customClasses","mt-4",3,"padded"],[1,"flex","items-center","px-4","py-3","text-[10px]","font-semibold","uppercase","tracking-wide","text-slate-500","sm:px-5","sm:text-xs"],[1,"min-w-0","flex-1"],[1,"w-14","whitespace-nowrap","text-right","sm:w-20"],[1,"w-14","whitespace-nowrap","text-right","sm:w-16"],[1,"border-t","border-navy-100","px-5","py-10","text-center","text-sm","text-slate-500"],[1,"mt-6","flex","justify-center"],[1,"btn-small-outline","w-full","sm:w-auto",3,"routerLink","queryParams"],[1,"flex","items-center","border-t","border-navy-100","px-4","py-2.5","sm:px-5"],[1,"flex","min-w-0","flex-1","items-center","gap-2.5","sm:gap-3"],[1,"h-6","w-6","shrink-0","animate-pulse","rounded-full","bg-navy-100"],[1,"min-w-0","space-y-2"],[1,"h-3","w-28","max-w-full","animate-pulse","rounded","bg-navy-100","sm:w-32"],[1,"h-3","w-16","max-w-full","animate-pulse","rounded","bg-navy-100","sm:w-20"],[1,"flex","w-14","shrink-0","justify-end","sm:w-20"],[1,"h-3","w-8","animate-pulse","rounded","bg-navy-100","sm:w-10"],[1,"flex","w-14","shrink-0","justify-end","sm:w-16"],[1,"h-3","w-10","animate-pulse","rounded","bg-navy-100","sm:w-12"],["alt","Sweet spot","aria-hidden","true","loading","lazy","decoding","async",1,"h-6","w-6","shrink-0",3,"src"],[1,"flex","min-w-0","flex-col","gap-0.5"],[1,"m-0","text-sm","font-bold","leading-tight","text-dimers-dark"],[1,"m-0","text-xs","leading-tight","text-slate-500"],[1,"w-14","shrink-0","text-right","text-sm","font-bold","text-dimers-dark","sm:w-20"],[1,"w-14","shrink-0","text-right","text-sm","font-bold","text-dimers-dark","sm:w-16"]],template:function(i,n){i&1&&(o(0,"section",0)(1,"div",1)(2,"div",2)(3,"h2",3),s(4),a(),o(5,"p",4),s(6),a()(),o(7,"div",5)(8,"div",6)(9,"button",7),g("click",function(){return n.setTab("bets")}),s(10," Game Bets "),a(),o(11,"button",7),g("click",function(){return n.setTab("props")}
1),s(12," Prop Bets "),a()()(),o(13,"app-card",8)(14,"div",9)(15,"span",10),s(16,"Bet Type"),a(),o(17,"span",11),s(18,"# Bets"),a(),o(19,"span",12),s(20,"ROI"),a()(),D(21,ie,2,1)(22,ne,2,0,"div",13)(23,ae,2,0),a(),o(24,"div",14)(25,"a",15),s(26),a()()()()),i&2&&(r(4),d(" ",n.title," "),r(2),A(n.subtitle),r(3),S("bg-white",n.activeTab()==="bets")("text-dimers-dark",n.activeTab()==="bets")("shadow-sm",n.activeTab()==="bets")("text-slate-500",n.activeTab()!=="bets"),v("aria-selected",n.activeTab()==="bets"),r(2),S("bg-white",n.activeTab()==="props")("text-dimers-dark",n.activeTab()==="props")("shadow-sm",n.activeTab()==="props")("text-slate-500",n.activeTab()!=="props"),v("aria-selected",n.activeTab()==="props"),r(2),b("padded",!1),r(8),E(n.isLoading()?21:n.visibleRows().length===0?22:23),r(4),b("routerLink",n.viewAllLink())("queryParams",n.viewAllQueryParams()),r(),d(" ",n.buttonLabel," "))},dependencies:[$,q,z],encapsulation:2,changeDetection:0})}return e})();export{he as HomeSweetSpotsSectionComponent};

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.