PageSourceSearch

https://www.fantrax.com/chunk-DLIU6NVR.js

js fantrax.com collected 2026-09-25 20:00:15 UTC 11,784 bytes, 2 lines download raw bytes

1import{j as ze}from"./chunk-MTLKCYLS.js";import{Ac as Z,Bc as w,C as h,Cc as P,Ea as K,Ef as be,F as W,Fa as T,Fd as le,H as y,I as z,Ia as l,Id as se,J as S,Ja as u,Jd as ce,Ka as v,Kg as Te,La as L,Ld as pe,Lg as he,Oe as fe,Pe as ge,Sc as ee,Sd as G,V as n,Ve as ve,Wa as C,Wh as ye,Xa as Q,Xd as de,Ya as X,Yd as me,Ze as Ce,_ as x,a as N,aa as I,b as U,ba as J,c as q,df as O,ef as M,ff as k,ge as _e,gf as R,ha as d,hd as te,hf as V,ia as m,id as ie,ie as $,if as A,ja as E,jd as ne,jf as B,kb as Y,kd as ae,la as f,ld as oe,le as ue,ma as g,md as re,na as _,oa as o,pa as a,qa as b,ua as D,uf as xe,wa as F,xa as p}from"./chunk-DY55JGJI.js";var Ge=()=>({virtual:!1}),He=()=>({width:18}),Ne=()=>({width:7,align:"center"}),Ue=(e,i)=>i.title,qe=(e,i)=>i.teamId;function We(e,i){if(e&1&&(o(0,"div",13)(1,"div",14),l(2),a(),o(3,"div",15),l(4),a()()),e&2){let t=i.$implicit;T("row--green",t.counted),n(2),u(t.name),n(2),u(t.score)}}function Je(e,i){if(e&1&&(o(0,"div",3)(1,"div",6)(2,"div")(3,"h4"),l(4),a(),o(5,"h5"),l(6),a()()(),o(7,"div",7)(8,"div",8)(9,"div",9),l(10,"Team"),a(),o(11,"div",10),l(12),a()(),o(13,"div",11),f(14,We,5,4,"div",12,qe),a()()()),e&2){let t=i.$implicit,r=p();n(4),u(t.title),n(2),L("",t.subtitle,"",t.final?"":" \xB7 Pending"),n(),_("iTable",r.tableType)("iTableOptions",C(9,Ge)),n(2),_("iTableColumnOptions",C(10,He)),n(2),_("iTableColumnOptions",C(11,Ne))("matTooltip",r.data.scoreTitle),n(),v(" ",r.data.scoreLabel," "),n(2),g(t.rows)}}var Ie=(()=>{let i=class i{constructor(){this.data=y(te),this.tableType=M.Standard}};i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=I({type:i,selectors:[["league-prizes-details-dialog"]],standalone:!1,decls:16,vars:2,consts:[["mat-dialog-title","",1,"sub-heading"],["mat-icon-button","","mat-dialog-close","","color","gray",1,"button--round"],[1,"fx-layout__rows","fx-layout__rows--md"],[1,"fx-layout__rows","fx-layout__rows--compact"],[1,"button-group"],["mat-flat-button","","mat-dialog-close","","color","gray"],[1,"sub-heading"],[3,"iTable","iTableOptions"],["iTableHeader",""],["iTableColumn","team",3,"iTableColumnOptions"],["iTableColumn","score",3,"iTableColumnOptions","matTooltip"],["iTableBody",""],["iTableRow","",3,"row--green"],["iTableRow",""],["iTableCell","team"],["iTableCell","score"]],template:function(s,c){s&1&&(o(0,"div",0)(1,"h3"),l(2),a(),o(3,"h5"),l(4),a(),o(5,"button",1)(6,"mat-icon"),l(7,"close"),a()()(),o(8,"mat-dialog-content")(9,"div",2),f(10,Je,16,12,"div",3,Ue),a()(),o(12,"mat-dialog-actions")(13,"div",4)(14,"button",5),l(15,"Close"),a()()()),s&2&&(n(2),u(c.data.title),n(2),v("Best ",c.data.bestOfCount," periods count - highlighted"),n(6),g(c.data.periods))},dependencies:[w,Z,ne,ae,re,oe,ee,P,O,R,V,A,B,k],encapsulation:2,changeDetection:0});let e=i;return e})();var Ke=()=>({virtual:!1}),Qe=()=>({width:3,maxWidth:5,align:"center"}),Xe=()=>({width:15}),Ye=()=>({width:9,wrap:!0}),Ze=()=>({width:6.5,align:"center"}),et=e=>({teamId:e}),tt=(e,i)=>["/fantasy/league",e,"team","roster",i],H=(e,i)=>i.id;function it(e,i){if(e&1&&b(0,"tab",7),e&2){let t=i.$implicit;_("value",t.id)("label",t.label)}}function nt(e,i){if(e&1){let t=D();o(0,"tab-group",6),F("selectChange",function(s){z(t);let c=p();return S(c.changeTab(s.value))}),f(1,it,1,2,"tab",7,H),a()}if(e&2){let t=p();_("selectedValue",t.data.overall?"OVERALL":"LEAGUE")("standalone",!0),n(),g(t.tabs)}}function at(e,i){if(e&1&&b(0,"tab",7),e&2){let t=i.$implicit;_("value",t.id)("label",t.label)}}function ot(e,i){if(e&1){let t=D();o(0,"div",3)(1,"tab-group",8),F("selectChange",function(s){z(t);let c=p();return S(c.changeTab(s.value))}),f(2,at,1,2,"tab",7,H),a()()}if(e&2){let t=p();n(),_("selectedValue",t.data.overall?"OVERALL":"LEAGUE")("center",!1),n(),g(t.tabs)}}function rt(e,i){if(e&1&&(o(0,"alert")(1,"p",9),l(2),a()()),e&2){let t=p();n(2),u(t.data.notice)}}function lt(e,i){if(e&1&&(o(0,"alert")(1,"p",9),l(2),a()()),e&2){let t=p();n(2),u(t.data.emptyMessage)}}function st(e,i){if(e&1&&(o(0,"h5"),l(1),a()),e&2){let t=p().$implicit;n(),u(t.description)}}function ct(e,i){if(e&1&&(o(0,"h4"),l(1),a()),e&2){let t=p(2).$implicit;n(),u(t.title)}}function pt(e,i){if(e&1&&(o(0,"h5"),l(1),a()),e&2){let t=p(2).$implicit;n(),u(t.subtitle)}}function dt(e,i){if(e&1){let t=D();o(0,"div",16)(1,"button",17),F("click",function(){z(t);let s=p(2).$implicit,c=p().$implicit,j=p();return S(j.openDetails(c,s))}),l(2," Details "),a()()}}function mt(e,i){if(e&1&&(o(0,"div",10)(1,"div",11),d(2,ct,2,1,"h4"),d(3,pt,2,1,"h5"),a(),o(4,"nav"),d(5,dt,3,0,"div",16),a()()),e&2){let t=p().$implicit;
1n(2),m(t.title?2:-1),n(),m(t.subtitle?3:-1),n(2),m(t.showDetails&&t.rows.length?5:-1)}}function _t(e,i){if(e&1&&(o(0,"span",31),l(1),a()),e&2){let t=p().$implicit;n(),v("(",t.leagueNumber,")")}}function ut(e,i){if(e&1&&(o(0,"span",31),l(1),a()),e&2){let t=p().$implicit;n(),L("",t.text?" - ":"","",t.description)}}function ft(e,i){if(e&1&&(o(0,"span"),l(1),d(2,ut,2,2,"span",31),l(3),a()),e&2){let t=i.$implicit,r=i.$index,s=i.$count;n(),u(t.text),n(),m(t.description?2:-1),n(),u(r===s-1?"":",")}}function gt(e,i){if(e&1&&(o(0,"div",26)(1,"div",27),l(2),a(),o(3,"div",28),b(4,"figure",29),o(5,"a",30),l(6),a(),d(7,_t,2,1,"span",31),a(),o(8,"div",32),f(9,ft,4,3,"span",null,E),a(),o(11,"div",33),l(12),a()()),e&2){let t=i.$implicit;T("row--sport",t.mine),n(2),u(t.place),n(2),K("background-image","url("+t.logoUrl+")"),n(),_("routerLink",X(11,tt,t.linkLeagueId,Q(9,et,t.linkTeamId))),n(),v(" ",t.name," "),n(),m(t.leagueNumber?7:-1),n(2),g(t.prizes),n(3),u(t.score)}}function vt(e,i){if(e&1&&(o(0,"div",18)(1,"div",19)(2,"div",20),l(3),a(),o(4,"div",21),l(5,"Team"),a(),o(6,"div",22),l(7," Prizes "),a(),o(8,"div",23),l(9),a()(),o(10,"div",24),f(11,gt,13,14,"div",25,E),a()()),e&2){let t=p().$implicit,r=p().$implicit,s=p();T("league-prizes__table--pending",!t.final),_("iTable",s.tableType)("iTableOptions",C(11,Ke)),n(2),_("iTableColumnOptions",C(12,Qe)),n(),v(" ",s.isMobile?"":"Place"," "),n(),_("iTableColumnOptions",C(13,Xe)),n(2),_("iTableColumnOptions",C(14,Ye)),n(2),_("iTableColumnOptions",C(15,Ze))("matTooltip",r.scoreTitle),n(),v(" ",r.scoreLabel," "),n(2),g(t.rows)}}function Ct(e,i){if(e&1&&(o(0,"div",34)(1,"p",31),l(2,"No winners yet"),a()()),e&2){let t=p().$implicit;T("league-prizes__table--pending",!t.final)}}function xt(e,i){if(e&1&&(o(0,"h5"),l(1),a()),e&2){let t=p(2).$implicit;n(),v("Finalized on ",t.finalizedDate)}}function bt(e,i){if(e&1&&(o(0,"h5",35),l(1),a()),e&2){let t=p(2).$implicit;n(),v("Pending until ",t.finalizedDate)}}function Tt(e,i){if(e&1&&(o(0,"div",15),d(1,xt,2,1,"h5")(2,bt,2,1,"h5",35),a()),e&2){let t=p().$implicit;n(),m(t.final?1:2)}}function ht(e,i){if(e&1&&(o(0,"div",12),d(1,mt,6,3,"div",10),d(2,vt,13,16,"div",13)(3,Ct,3,2,"div",14),d(4,Tt,3,1,"div",15),a()),e&2){let t=i.$implicit;n(),m(t.title||t.showDetails&&t.rows.length?1:-1),n(),m(t.rows.length?2:3),n(2),m(t.finalizedDate?4:-1)}}function yt(e,i){if(e&1&&(o(0,"div",4)(1,"div",10)(2,"div",11)(3,"h3"),l(4),a(),d(5,st,2,1,"h5"),a()(),f(6,ht,5,3,"div",12,E),a()),e&2){let t=i.$implicit;n(4),u(t.name),n(),m(t.description?5:-1),n(),g(t.tables)}}function zt(e,i){e&1&&(o(0,"aside",5)(1,"div",36),b(2,"video-ad"),a(),b(3,"side-ad")(4,"side-column-toggle"),a())}var Ee=(()=>{let i=class i{constructor(r,s,c,j,Le,we,Pe){this.device=r,this.route=s,this.router=c,this.paramService=j,this.dataService=Le,this.dialog=we,this.changeDetector=Pe,this.tableType=M.Standard,this.tabs=[{id:"LEAGUE",label:"League"},{id:"OVERALL",label:"Overall"}],this.subs=[]}ngOnInit(){this.paramMap=this.paramService.getEmpty(),this.subs.push(this.route.data.pipe(h(({leagueId:r})=>this.leagueId=r),h(()=>this.paramService.setParams(this.route.snapshot,this.paramMap)),h(({fantasyInfo:r})=>{this.fantasySettings=r.fantasySettings}),h(({data:r})=>{this.data=r,this.changeDetector.markForCheck()})).subscribe(),this.device.deviceType$.subscribe(r=>{this.isDesktop=r===G.Desktop,this.isMobile=r===G.Mobile,this.changeDetector.markForCheck()}))}ngOnDestroy(){this.subs.forEach(r=>r.unsubscribe())}changeTab(r){this.paramMap.route=U(N({},this.paramMap.route),{overall:r==="OVERALL"}),this.router.navigate(["./",this.paramMap.route],{relativeTo:this.route})}openDetails(r,s){this.dataService.createRequest("getLeaguePrizeDetails",{prizeSetId:r.id,divisionId:s.divisionId,teamIds:s.rows.map(c=>c.teamId),overall:this.data.overall},{leagueId:this.leagueId}).subscribe(c=>{this.dialog.open(Ie,{data:c,width:"48rem"})})}};i.\u0275fac=function(s){return new(s||i)(x(de),x(le),x(se),x(be),x($),x(ie),x(Y))},i.\u0275cmp=I({type:i,selectors:[["app-league-prizes"]],hostAttrs:[1,"content","content--hidable-ad-column","league-prizes"],standalone:!1,decls:9,vars:6,consts:[["title","League Prizes",3,"fantasySettings"],[3,"selectedValue","standalone"],["tabindex","-1",1,"content__main"],[1,"fx-layout__pane","fx-layout__pane--compact"],[1,"fx-layout__rows","fx-layout__rows--md"],["role","complementary",1,"content__column"],[3,"selectChange","selectedValue","standalone"],[3,"value","label"],[3,"selectChange","selectedValue","center"],["alert-content",""],[1,"sub-heading"],[1,"league-prizes__title"],[1,"fx-layout__rows","fx-layout__rows--compact"],[1,"fx-layout__pane","fx-layout__pane--exclude-padding","fx-layout__pane--exclude-gap","league-prizes__table",3,"league-prizes__table--pending","iTable","iTableOptions"],[1,"fx-layout__pane","league-prizes__table",3,"league-prizes__table--pending"],[1,"sub-heading","league-prizes__finalized"],[1,"button-group"],["mat-flat-button","","color","sport--shadow","loadButton","getLeaguePrizeDetails",1,"button--sm",3,"click"],[1,"fx-layout__pane","fx-layout__pane--exclude-padding","fx-layout__pane--exclude-gap","league-prizes__table",3,"iTable","iTableOptions"],["iTableHeader",""],["iTableColumn","place",3,"iTableColumnOptions"],["iTableColumn","team",3,"iTableColumnOptions"],["iTableColumn","prizes",3,"iTableColumnOptions"],["iTableColumn","score",3,"iTableColumnOptions","matTooltip"],["iTableBody",""],["iTableRow","",3,"row--sport"],["iTableRow",""],["iTableCell","place"],["iTableCell","team"],[1,"team-icon","team-icon--xs"],[1,"text--ellipsis",3,"routerLink"],[1,"color--gray"],["iTableCell","prizes"],["iTableCell","score"],[1,"fx-layout__pane","league-prizes__table"],[1,"color--sport"],[1,"content__column__item","hide--premium"]],template:function(s,c){s&1&&(o(0,"headline",0),d(1,nt,3,2,"tab-group",1),a(),o(2,"section",2),d(3,ot,4,2,"div",3),d(4,rt,3,1,"alert"),d(5,lt,3,1,"alert"),f(6,yt,8,2,"div",4,H),a(),d(8,zt,5,0,"aside",5)),s&2&&(_("fantasySettings",c.fantasySettings),n(),m(c.data.showOverallTabs&&c.isDesktop?1:-1),n(2),m(c.data.showOverallTabs&&!c.isDesktop?3:-1),n(),m(c.data.notice?4:-1),n(),m(c.data.emptyMessage?5:-1),n(),g(c.data.prizeSets),n(2),m(c.isDesktop?8:-1))},dependencies:[ce,w,P,xe,me,Ce,ve,Te,ye,O,R,V,A,B,k,ue,he],styles:[`.league-prizes__title{display:flex;flex-direction:column;gap:.3rem}.league-prizes__table--pending{border:solid 2px var(--color-sport--500)}.league-prizes__table .i-table__header{height:var(--button--sm)}.league-prizes__table .i-table__body .i-table__row:last-child .i-table__cell{border-bottom:none}.league-prizes__finalized{justify-content:flex-end}
1.league-prizes__finalized h5:not(.color--sport){color:var(--color-gray--400)}
2`],encapsulation:2,changeDetection:0});let e=i;return e})();var De=({params:e})=>{let r=y(_e).parseObject(e),{leagueId:i}=r,t=q(r,["leagueId"]);return y($).createRequest("getLeaguePrizes",t,{leagueId:i})};var St=[{path:"",component:Ee,runGuardsAndResolvers:"paramsChange",resolve:{leagueId:ge,fantasyInfo:fe,data:De}}],Fe=pe.forChild(St);var fi=(()=>{let i=class i{};i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=J({type:i}),i.\u0275inj=W({imports:[ze,Fe]});let e=i;return e})();export{fi as LeaguePrizesModule};

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.