PageSourceSearch

https://www.floelite.com/4067.14bd9527a91fd850.js

js floelite.com collected 2026-10-02 18:33:25 UTC 126,601 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflosports_webapp=self.webpackChunkflosports_webapp||[]).push([[4067],{27280:(me,ce,a)=>{a.d(ce,{h:()=>k});var c=a(94650),j=a(36895),y=a(87833),R=a(67930);function V(O,I){if(1&O&&(c.\u0275\u0275elementStart(0,"span",6),c.\u0275\u0275text(1),c.\u0275\u0275pipe(2,"floTime"),c.\u0275\u0275elementEnd()),2&O){const w=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(2,1,w.durationSeconds))}}function N(O,I){if(1&O&&(c.\u0275\u0275elementStart(0,"div",1)(1,"span",2),c.\u0275\u0275element(2,"flo-svg-icon",3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"span",4),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(5,V,3,3,"span",5),c.\u0275\u0275elementEnd()),2&O){const w=c.\u0275\u0275nextContext();c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(w.title),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",w.durationSeconds&&w.durationSeconds>0)}}let k=(()=>{class O{constructor(){this.title=null,this.durationSeconds=null}}return O.\u0275fac=function(w){return new(w||O)},O.\u0275cmp=c.\u0275\u0275defineComponent({type:O,selectors:[["flo-rail-player-info-bar"]],inputs:{title:"title",durationSeconds:"durationSeconds"},decls:1,vars:1,consts:[["class","rail-player-info-bar","data-test","rail-player-info-bar",4,"ngIf"],["data-test","rail-player-info-bar",1,"rail-player-info-bar"],["aria-hidden","true",1,"rail-player-info-bar__play-icon","bg-primary","color-100"],["icon","vid_play","width","10px"],["data-test","rail-player-info-bar-title",1,"rail-player-info-bar__title"],["class","rail-player-info-bar__duration","data-test","rail-player-info-bar-duration",4,"ngIf"],["data-test","rail-player-info-bar-duration",1,"rail-player-info-bar__duration"]],template:function(w,Q){1&w&&c.\u0275\u0275template(0,N,6,2,"div",0),2&w&&c.\u0275\u0275property("ngIf",Q.title)},dependencies:[j.O5,y.b,R.I],styles:['.rail-player-info-bar[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;width:100%;padding:4px;border:1px solid #f5f5f7;border-bottom-left-radius:.3125rem;border-bottom-right-radius:.3125rem}.rail-player-info-bar__play-icon[_ngcontent-%COMP%]{flex:0 0 auto;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px}.rail-player-info-bar__title[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-size:.95rem}.rail-player-info-bar__duration[_ngcontent-%COMP%]{flex:0 0 auto;font-size:.85rem;opacity:.8;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}'],changeDetection:0}),O})()},86809:(me,ce,a)=>{a.d(ce,{ZR:()=>s,o7:()=>m,zX:()=>Ft});var c=a(39300),j=a(94813),y=a(54004),R=a(71884),V=a(34782),N=a(63900),k=a(70262),O=a(18505),I=a(11365),w=a(68675),Q=a(11520),J=a(13103),W=a(39646),te=a(77579),z=a(56451),q=a(39841),l=a(48382);const re=a(80483).literal("collection","event","video","article","ranking","result","team","person","supporter","grappling","experience-grappling");var t,M=a(35453),X=a(80529),K=a(91954),oe=a(14289),se=a(3504),S=(t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,u){r.__proto__=u}||function(r,u){for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(r[h]=u[h])})(n,i)},function(n,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}),ee=function(){return ee=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++)for(var u in n=arguments[i])Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u]);return t},ee.apply(this,arguments)},H=se.t$,L=function(t,n,i){return H([{value:t,context:n,message:i}])},E=se.F2,G=function(){function t(n,i,r,u){this.name=n,this.is=i,this.validate=r,this.encode=u,this.decode=this.decode.bind(this)}return t.prototype.pipe=function(n,i){var r=this;return void 0===i&&(i="pipe(".concat(this.name,", ").concat(n.name,")")),new t(i,n.is,function(u,h){var g=r.validate(u,h);return(0,se.nM)(g)?g:n.validate(g.right,h)},this.encode===U&&n.encode===U?U:function(u){return r.encode(n.encode(u))})},t.prototype.asDecoder=function(){return this},t.prototype.asEncoder=function(){return this},t.prototype.decode=function(n){return this.validate(n,[{key:"",type:this,actual:n}])},t}(),U=function(t){return t};function he(t,n,i,r){for(var u=t.length,h=Array(u+1),g=0;g<u;g++)h[g]=t[g];return h[u]={key:n,type:i,actual:r},h}function ge(t,n){for(var i=n.length,r=0;r<i;r++)t.push(n[r])}var ye=Object.prototype.hasOwnProperty;function be(t){for(var n=0;n<t.length;n++)if(t[n].encode!==U)return!1;return!0}function De(t){return"{ ".concat(function xe(t){return Object.keys(t).map(function(n){return"".concat(n,": ").concat(t[n].name)}).join(", ")}(t)," }")}function Ae(t){return t.length>0}var C={};function ie(t,n){for(var i=[],r=0,u=t;r<u.length;r++){var h=u[r];-1!==n.indexOf(h)&&i.push(h)}return i}function le(t){return"LiteralType"===t._tag}var We=[];function _e(t){if(-1!==We.indexOf(t))return C;if(function ae(t){return"InterfaceType"===t._tag}(t)||function He(t){return"StrictType"===t._tag}(t)){var n=C;for(var i in t.props){var r=t.props[i];le(r)&&(n===C&&(n={}),n[i]=[r.value])}return n}if(function ot(t){return"ExactType"===t._tag}(t)||function Ge(t){return"RefinementType"===t._tag}(t))return _e(t.type);if(function Qe(t){return"IntersectionType"===t._tag}(t))return t.types.reduce(function(h,g){return function b(t,n){if(t===C)return n;if(n===C)return t;var i=Object.assign({},t);for(var r in n)if(ye.call(t,r)){var u=ie(t[r],n[r]);if(!Ae(u)){i=C;break}i[r]=u}else i[r]=n[r];return i}(h,_e(g))},C);if(function Ye(t){return"UnionType"===t._tag}(t))return t.types.slice(1).reduce(function(h,g){return function A(t,n){if(t===C||n===C)return C;var i=C;for(var r in t)ye.call(n,r)&&0===ie(t[r],n[r]).length&&(i===C&&(i={}),i[r]=t[r].concat(n[r]));return i}(h,_e(g))},_e(t.types[0]));if(function Me(t){return"RecursiveType"===t._tag}(t)){We.push(t);var u=_e(t.type);return We.pop(),u}return C}var at=function(t){function n(){var i=t.call(this,"null",function(r){return null===r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="NullType",i}return S(n,t),n}(G),fe=(new at,function(t){function n(){var i=t.call(this,"undefined",function(r){return void 0===r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="UndefinedType",i}return S(n,t),n}(G)),we=new fe,st=function(t){function n(){var i=t.call(this,"void",we.is,we.validate,U)||this;return i._tag="VoidType",i}return S(n,t),n}(G),ct=(new st,function(t){function n(){var i=t.call(this,"unknown",function(r){return!0},E,U)||this;return i._tag="UnknownType",i}return S(n,t),n}(G)),dt=(new ct,function(t){function n(){var i=t.call(this,"string",function(r){return"string"==typeof r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;
1return i._tag="StringType",i}return S(n,t),n}(G)),ke=new dt,ze=function(t){function n(){var i=t.call(this,"number",function(r){return"number"==typeof r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="NumberType",i}return S(n,t),n}(G),Xe=new ze,Ze=function(t){function n(){var i=t.call(this,"bigint",function(r){return"bigint"==typeof r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="BigIntType",i}return S(n,t),n}(G),pt=(new Ze,function(t){function n(){var i=t.call(this,"boolean",function(r){return"boolean"==typeof r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="BooleanType",i}return S(n,t),n}(G)),ut=(new pt,function(t){function n(){var i=t.call(this,"UnknownArray",Array.isArray,function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="AnyArrayType",i}return S(n,t),n}(G)),ft=(new ut,function(t){function n(){var i=t.call(this,"UnknownRecord",function(r){return null!==r&&"object"==typeof r&&!Array.isArray(r)},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="AnyDictionaryType",i}return S(n,t),n}(G)),ve=new ft,ht=function(t){function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.value=g,f._tag="LiteralType",f}return S(n,t),n}(G);function Ve(t,n){void 0===n&&(n=JSON.stringify(t));var i=function(r){return r===t};return new ht(n,i,function(r,u){return i(r)?E(t):L(r,u)},U,t)}!function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.keys=g,f._tag="KeyofType",f},t)}(G);var mt=function(t){function n(i,r,u,h,g,f){var x=t.call(this,i,r,u,h)||this;return x.type=g,x.predicate=f,x._tag="RefinementType",x}return S(n,t),n}(G);!function yt(t,n,i){it(t,n,i)}(Xe,function(t){return Number.isInteger(t)},"Int");var Je=function(t){function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.runDefinition=g,f._tag="RecursiveType",f}return S(n,t),n}(G);Object.defineProperty(Je.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0}),function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.type=g,f._tag="ArrayType",f},t)}(G);var xt=function(t){function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.props=g,f._tag="InterfaceType",f}return S(n,t),n}(G);!function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.props=g,f._tag="PartialType",f},t)}(G),function(t){S(function n(i,r,u,h,g,f){var x=t.call(this,i,r,u,h)||this;return x.domain=g,x.codomain=f,x._tag="DictionaryType",x},t)}(G);var tt=function(t){function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.types=g,f._tag="UnionType",f}return S(n,t),n}(G);function nt(t,n){void 0===n&&(n=function Re(t){return"("+t.map(function(n){return n.name}).join(" | ")+")"}(t));var i=function Ke(t){for(var n=_e(t[0]),i=Object.keys(n),r=t.length,u=function(d){for(var $=n[d].slice(),T=[n[d]],v=1;v<r;v++){var D=_e(t[v])[d];if(void 0===D)return"continue-keys";if(D.some(function(Z){return-1!==$.indexOf(Z)}))return"continue-keys";$.push.apply($,D),T.push(D)}return{value:[d,T]}},h=0,g=i;h<g.length;h++){var x=u(g[h]);if("object"==typeof x)return x.value}}(t);if(void 0!==i&&t.length>0){var r=i[0],u=i[1],h=u.length,g=function(f){for(var x=0;x<h;x++)if(-1!==u[x].indexOf(f))return x};return new Ne(n,function(f){if(ve.is(f)){var x=g(f[r]);return void 0!==x&&t[x].is(f)}return!1},function(f,x){var d=ve.validate(f,x);if((0,se.nM)(d))return d;var $=d.right,T=g($[r]);if(void 0===T)return L(f,x);var v=t[T];return v.validate($,he(x,String(T),v,$))},be(t)?U:function(f){var x=g(f[r]);if(void 0===x)throw new Error("no codec found to encode value in union codec ".concat(n));return t[x].encode(f)},t,r)}return new tt(n,function(f){return t.some(function(x){return x.is(f)})},function(f,x){for(var d=[],$=0;$<t.length;$++){var T=t[$],v=T.validate(f,he(x,String($),T,f));if(!(0,se.nM)(v))return E(v.right);ge(d,v.left)}return H(d)},be(t)?U:function(f){for(var x=0,d=t;x<d.length;x++){var $=d[x];if($.is(f))return $.encode(f)}throw new Error("no codec found to encode value in union type ".concat(n))},t)}!function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.types=g,f._tag="IntersectionType",f},t)}(G),function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.types=g,f._tag="TupleType",f},t)}(G),function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.type=g,f._tag="ReadonlyType",f},t)}(G),function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.type=g,f._tag="ReadonlyArrayType",f},t)}(G),function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;return f.type=g,f._tag="ExactType",f},t)}(G);var Ot=function(t){function n(){var i=t.call(this,"Function",function(r){return"function"==typeof r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="FunctionType",i}return S(n,t),n}(G),Mt=(new Ot,function(t){function n(){var i=t.call(this,"never",function(r){return!1},function(r,u){return L(r,u)},function(){throw new Error("cannot encode never")})||this;return i._tag="NeverType",i}return S(n,t),n}(G)),Dt=(new Mt,function(t){function n(){var i=t.call(this,"any",function(r){return!0},E,U)||this;return i._tag="AnyType",i}return S(n,t),n}(G));function it(t,n,i){return void 0===i&&(i="(".concat(t.name," | ").concat(function e(t){return t.displayName||t.name||"<function".concat(t.length,">")}(n),")")),new mt(i,function(r){return t.is(r)&&n(r)},function(r,u){var h=t.validate(r,u);if((0,se.nM)(h))return h;var g=h.right;return n(g)?E(g):L(g,u)},t.encode,t,n)}new Dt,it(Xe,Number.isInteger,"Integer");var Ne=function(t){function n(i,r,u,h,g,f){var x=t.call(this,i,r,u,h,g)||this;return x.tag=f,x}return S(n,t),n}(tt),Rt=function(t){function n(){var i=t.call(this,"object",function(r){return null!==r&&"object"==typeof r},function(r,u){return i.is(r)?E(r):L(r,u)},U)||this;return i._tag="ObjectType",i}return S(n,t),n}(G);new Rt,function(t){S(function n(i,r,u,h,g){var f=t.call(this,i,r,u,h)||this;
1return f.props=g,f._tag="StrictType",f},t)}(G);var Lt=a(49670),rt=a(32858),Te=a(94650),At=a(14270),wt=a(77648),Ut=a(14814),Bt=a(26465),Vt=a(93962),Nt=a(39640);const Ft=t=>"person"===t.type&&void 0!==t.gender&&void 0!==t.name;let s=(()=>{class t{constructor(i,r,u,h,g,f,x){this.collectionsService=i,this.routerService=r,this.vs=u,this.updateContentTargeting=h,this.es=g,this.logger=f,this.searchFiltersService=x,this.experiments$=(0,W.of)([]),this.action$=new te.x,this.moreNodesSelected$=this.action$.pipe((0,c.h)(d=>"[Collections] More Nodes Selected"===d.type)),this.collectionId$=this.routerService.route$.pipe((0,j.j)("params"),(0,j.j)("collectionId"),(0,c.h)(Boolean),(0,y.U)(String),(0,y.U)(d=>(0,rt.OR)(d)),(0,y.U)(String)),this.collectionTag$=this.routerService.route$.pipe((0,j.j)("params"),(0,j.j)("collectionTag"),(0,c.h)(Boolean),(0,y.U)(String)),this.collectionNodeId$=this.routerService.route$.pipe((0,j.j)("params"),(0,j.j)("nodeId"),(0,c.h)(Boolean),(0,y.U)(String),(0,y.U)(d=>(0,rt.OR)(d)),(0,y.U)(String)),this.collectionIdentifier$=(0,z.T)(this.collectionId$.pipe((0,y.U)(d=>({collectionId:d}))),this.collectionTag$.pipe((0,y.U)(d=>({collectionTag:d}))),this.collectionNodeId$.pipe((0,y.U)(d=>({nodeId:d})))),this.selectedNodeId$=this.routerService.queryParams$.pipe((0,y.U)(d=>(d||{}).playing),(0,R.x)()),this.eventViewFilter$=this.routerService.queryParams$.pipe((0,y.U)(d=>(d||{}).view||"Completed"),(0,R.x)()),this.collectionRequestParams$=this.routerService.route$.pipe((0,y.U)(d=>d.data),(0,y.U)(d=>d?.collection?.params),(0,V.d)({bufferSize:1,refCount:!0})),this.collectionApiResponse$=this.routerService.route$.pipe((0,y.U)(d=>d.data),(0,y.U)(d=>d?.collection?.collectionRes),(0,c.h)(d=>!!d),(0,V.d)({bufferSize:1,refCount:!0})),this.collection$=(0,q.a)([this.collectionApiResponse$,this.collectionIdentifier$]).pipe((0,y.U)(([d,$])=>({collectionTypeParam:Object.values($)[0],...d.data})),(0,R.x)((d,$)=>d.id===$.id&&d.tag===$.tag&&d.nodeId===$.nodeId)),this.nodeWithShareableLink$=(0,q.a)([this.collectionApiResponse$,this.vs.coreSiteUrl$]).pipe((0,y.U)(([d,$])=>({...d.data.original_entity,shareable_link:`${$}${d.data.slug_uri}`}))),this.collectionDefaultNodeType$=this.collection$.pipe((0,y.U)(d=>d&&d.node_associations&&d.node_associations[0]&&d.node_associations[0].type||"event")),this.baseSelectedTab$=(0,q.a)([this.routerService.route$.pipe((0,y.U)(d=>d.params.tab)),this.collectionDefaultNodeType$]).pipe((0,y.U)(([d,$])=>re.is(d)?d:$),(0,R.x)(),(0,V.d)({bufferSize:1,refCount:!0})),this.statxSelectedTab$=this.routerService.route$.pipe((0,y.U)(d=>d.params.tab)).pipe((0,y.U)(d=>re.is(d)?d:oe.B.result)),this.baseTabs$=(0,q.a)([this.collectionApiResponse$,this.baseSelectedTab$]).pipe((0,y.U)(([d,$])=>_(d,$)),(0,y.U)(d=>d.filter($=>"league"!==$.value))),this.isGrappling$=this.vs.siteId$.pipe((0,y.U)(d=>d===M.s3.FLOGRAPPLING)),this.personNodeId$=this.collectionApiResponse$.pipe((0,y.U)(d=>d.data.metadata_filters?.filter($=>"person"===$.type)),(0,y.U)(d=>!!d&&d.length>0&&d[0].id)),this.statxGrapplingResults$=(0,q.a)([this.isGrappling$,this.personNodeId$]).pipe((0,N.w)(([d,$])=>d&&$?this.collectionsService.getStatXResultsByCoreNodeId($,"grappling").pipe((0,k.K)(T=>(T instanceof X.UA?(T.status<500&&this.logger.warn("Collection Facade: StatX Grappling Result Warning",T.error),T.status>=500&&this.logger.error("Collection Facade: StatX Grappling Result HttpErrorResponse",T.error)):this.logger.error("Collection Facade: StatX Grappling Result Error",T),(0,W.of)(void 0)))):(0,W.of)(void 0))),this.personResultsTab$=(0,q.a)([this.personNodeId$,this.routerService.queryParams$,this.vs.siteId$]).pipe((0,N.w)(([d,$,T])=>!d||T!==M.s3.FLOGRAPPLING&&T!==M.s3.FLOWRESTLING?(0,W.of)(void 0):this.collectionsService.getExperienceCollectionDetailTab(d,Lt.lf.Results,$).pipe((0,O.b)(()=>this.searchFiltersService.isFilterOrSearchLoading$.next(!1)))),(0,y.U)(d=>{if(d&&d.sections&&d.sections.length>1)return d.sections}),(0,R.x)(),(0,V.d)({bufferSize:1,refCount:!0})),this.statxSubHeader$=this.statxGrapplingResults$.pipe((0,y.U)(d=>{if(d&&"aggregations"in d){const $="wlRecord",T=d.aggregations.find(v=>v.key===$)?.rows[0];return T?`${T.wins.text}-${T.losses.text}-${T.draws.text} (W-L-D)`:void 0}})),this.statxTabs$=(0,q.a)([this.baseTabs$,this.statxSelectedTab$]).pipe((0,y.U)(([d,$])=>{const T={active:$===oe.B.result,count:1,displayName:"Results",route:`./${oe.B.result}`,value:oe.L.grappling};return[T,...d.filter(v=>v.value!==oe.B.result).map(v=>({...v,active:!T.active&&v.active}))]}),(0,V.d)({bufferSize:1,refCount:!0})),this.tabs$=this.personResultsTab$.pipe((0,N.w)(d=>(0,l.s)(()=>!!d,this.statxTabs$,this.baseTabs$))),this.selectedTab$=this.personResultsTab$.pipe((0,N.w)(d=>d?this.statxSelectedTab$:this.baseSelectedTab$)),this.nodesRequestParam
1s$=(0,q.a)([this.collection$.pipe((0,N.w)(()=>this.collectionRequestParams$)),this.eventViewFilter$,this.selectedTab$]).pipe((0,I.M)(this.selectedNodeId$),(0,y.U)(([[d,$,T],v])=>({...d,view:$,include_node:v,type:T}))),this.nodesPaginatedRequest$=this.nodesRequestParams$.pipe((0,I.M)(this.collectionApiResponse$),(0,w.O)([]),(0,Q.G)(),(0,c.h)(([[d,$],[T,v]])=>{const D=(v.data||{}).original_entity?.id,Z=(T||{}).collectionId,ue=(T||{}).collectionTag,$e=(T||{}).nodeId;return!!Z&&`${(v.data||{}).id}`==`${Z}`||!!ue&&`${(v.data||{}).tag}`==`${ue}`||!!$e&&`${D}`==`${$e}`}),(0,y.U)(([[d,$],[T,v]])=>{const B=(T||{}).type,ue=B!==((v.data?.node_associations||[])[0]||{}).type||"event"===B?void 0:{meta:v.meta,data:v.data.node_associations};return T.collectionId?this.collectionsService.getCollectionNodesById(T.collectionId,T,ue):T.nodeId&&!isNaN(Number(T.nodeId))?this.collectionsService.getCollectionNodesByNodeId(Number(T.nodeId),T,ue):this.collectionsService.getCollectionNodesByTag(T.collectionTag,T,ue)}),(0,V.d)({bufferSize:1,refCount:!0})),this.collectionSlug$=this.collection$.pipe((0,y.U)(d=>d.slug)),this.nodes$=this.nodesPaginatedRequest$.pipe((0,N.w)(d=>(0,q.a)([d.allPageDataArray$,this.collectionSlug$])),(0,y.U)(([d,$])=>o(d||[],$)),(0,V.d)({refCount:!0,bufferSize:1})),this.currentNodesParams$=(0,q.a)([this.nodesRequestParams$,this.nodesPaginatedRequest$.pipe((0,N.w)(d=>d.pagination$))]).pipe((0,y.U)(([d,$])=>({...d,...$}))),this.relatedCollections$=this.routerService.route$.pipe((0,y.U)(d=>d.data),(0,y.U)(d=>d?.collection?.relatedCollections),(0,V.d)({bufferSize:1,refCount:!0})),this.selectedNode$=(0,q.a)([this.selectedNodeId$,this.nodes$]).pipe((0,y.U)(([d,$])=>$.find(T=>`${T.id}`==`${d}`)),(0,O.b)(d=>this.updateNodeAdTargeting(d)),(0,V.d)(1)),this.getNextPage=this.moreNodesSelected$.pipe((0,I.M)(this.nodesPaginatedRequest$)).subscribe(([,d])=>{d.goToNextPage()}),this.destroyPaginatedRequests=this.nodesPaginatedRequest$.pipe((0,Q.G)(),(0,O.b)(([d])=>d.destroy()),(0,J.Z)()).subscribe({next:d=>d.forEach($=>$.destroy())})}updateNodeAdTargeting(i){this.updateContentTargeting.updateContentTargeting({contentIds:i&&i.aggregated_node_ids,categorySlugs:i&&i.aggregated_category_slugs})}}return t.\u0275fac=function(i){return new(i||t)(Te.\u0275\u0275inject(At.c),Te.\u0275\u0275inject(wt.c),Te.\u0275\u0275inject(Ut.A),Te.\u0275\u0275inject(Bt.u),Te.\u0275\u0275inject(Vt.j),Te.\u0275\u0275inject(K.te),Te.\u0275\u0275inject(Nt.O))},t.\u0275prov=Te.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac}),t})();const _=(t,n)=>{const i=t.meta&&t.meta.extra&&t.meta.extra[1];t.meta?.sites?.includes(M.s3.VARSITY)&&i&&(i.pre_faceted_display_names.ranking="Standings");const u=i&&i.pre_faceted_types||[],h=i&&i.pre_faceted_display_names||{},f=t.data.node_associations,x=re.is(n)?n:f&&f[0]&&f[0].type;return u.map(d=>({...d,displayName:h[d.value]?h[d.value]:d.value,route:`./${d.value}`,active:d.value===x}))},o=(t,n)=>[...t.map(i=>({...i,collectionSlug:n}))];function m(t){const n=Array.isArray(t)?t[0]:t;return(0,se.tO)(function qe(t,n){void 0===n&&(n=De(t));var i=Object.keys(t),r=i.map(function(h){return t[h]}),u=i.length;return new xt(n,function(h){if(ve.is(h)){for(var g=0;g<u;g++){var f=i[g],x=h[f];if(void 0===x&&!ye.call(h,f)||!r[g].is(x))return!1}return!0}return!1},function(h,g){var f=ve.validate(h,g);if((0,se.nM)(f))return f;for(var x=f.right,d=x,$=[],T=0;T<u;T++){var v=i[T],B=d[v],p=r[T],D=p.validate(B,he(g,v,p,B));if((0,se.nM)(D))ge($,D.left);else{var Z=D.right;(Z!==B||void 0===Z&&!ye.call(d,v))&&(d===x&&(d=ee({},x)),d[v]=Z)}}return $.length>0?H($):E(d)},be(r)?U:function(h){for(var g=ee({},h),f=0;f<u;f++){var x=i[f],d=r[f].encode;d!==U&&(g[x]=d(h[x]))}return g},t)}({id:ke,type:nt([Ve("collection"),Ve("message"),Ve("search"),Ve("text")]),style:ke}).decode(n))}},86766:(me,ce,a)=>{a.d(ce,{R:()=>re});var c=a(39841),j=a(39646),y=a(60515),R=a(62843),V=a(17414),N=a(94119),k=a(54004),O=a(70262),I=a(63900),w=a(95698),Q=a(91954),J=a(31995),W=a(26656),te=a(32858),z=a(94650),q=a(26520),l=a(14270),Y=a(93962);let re=(()=>{class M{constructor(K,oe,se,S){this.router=K,this.collectionsService=oe,this.es=se,this.logger=S,this.getOldCollectionPageData=(ee,P,H,L)=>{const E=this.sanitizeIncludeNode(ee.queryParams.includeNode),G={...N.f,collectionId:P,collectionTag:H,include_node:E,type:ee.params.tab,view:ee.queryParams.view||"Completed",nodeId:L};return P?(0,c.a)([this.collectionsService.getCollectionById(P,G),(0,j.of)(G),this.collectionsService.getRelatedCollections(P)]).pipe((0,k.U)(([U,e,Ce])=>({collectionRes:U,params:e,relatedCollections:Ce})),(0,O.K)(U=>(this.logResolverError(`CollectionResolver: CollectionId Error - ${P}`,U),y.E))):H?(0,c.a)([this.collectionsService.getCollectionByTag(H,G).pipe((0,k.U)(U=>({...U,data:{tag:G.collectionTag,...U.data}}))),(0,j.of)(G),this.collectionsService.getRecentlyPublishedCollections()]).pipe((0,k.U)(([U,e,Ce])=>({collectionRes:U,params:e,relatedCollections:Ce})),(0,O.K)(U=>(this.logResolverError(`CollectionResolver: Tag Error - ${H}`,U),y.E))):L?(0,c.a)([this.collectionsService.getCollectionByNodeId(Number(L),G).pipe((0,k.U)(U=>({...U,data:{nodeId:G.nodeId,...U.data}}))),(0,j.of)(G),this.collectionsService.getRecentlyPublishedCollections()]).pipe((0,k.U)(([U,e,Ce])=>({collectionRes:U,params:e,relatedCollections:Ce})),(0,O.K)(U=>(this.logResolverError(`CollectionResolver: NodeId Error - ${L}`,U),y.E))):(0,R._)("CollectionResolver: no collection id or tag provided").pipe((0,O.K)(U=>(this.router.navigate(["**"],{skipLocationChange:!0}),y.E)))},this.sanitizeIncludeNode=ee=>ee?parseInt(decodeURIComponent(ee),10):void 0}resolve(K,oe){const se=K.params.collectionId?(0,te.OR)(K.params.collectionId).toString():void 0,S=K.params.collectionTag,ee=K.params.nodeId?(0,te.OR)(K.params.nodeId).toString():void 0,P=K.parent?.url?.toString();return(0,c.a)([this.es.isInVariation(W.Mi,W.vY,P?.startsWith("people")||!1),this.es.isInVariation(W.t1,W.IY,!!P?.match(/^collections\/(\d+)/)||!1)]).pipe((0,I.w)(([H,L])=>H&&P?.startsWith("people")||L&&P?.match(/^collections\/(\d+)/)?(0,j.of)({}):this.getOldCollectionPageData(K,se,S,ee)),(0,w.q)(1))}logResolverError(K,oe){oe?.statusText===J.c.CIRCUIT_OPEN?this.logger.warn(`${K}: circuit breaker open, returning fallback`):oe instanceof V.W?this.logger.warn(`${K}: SSR timeout, returning fallback`,{errorMessage:oe.message}):this.logger.error(K,oe)}}return M.\u0275fac=function(K){return new(K||M)(z.\u0275\u0275inject(q.Router),z.\u0275\u0275inject(l.c),z.\u0275\u0275inject(Y.j),z.\u0275\u0275inject(Q.te))},M.\u0275prov=z.\u0275\u0275defineInjectable({token:M,factory:M.\u0275fac}),M})()},18492:(me,ce,a)=>{a.d(ce,{J:()=>l});var c=a(34782),j=a(39841),y=a(63900),R=a(39646),V=a(49670),N=a(91954),k=a(93634),O=a(26656),I=a(75445),w=a(94650),Q=a(17212),J=a(49257),W=a(80529),te=a(93962),z=a(14814),q=a(55887);let l=(()=>{class Y{constructor(M,X,K,oe,se,S,ee){this.logger=M,this.cacheDataService=X,this.dataService=K,this.http=oe,this.experimentationService=se,this.verticalService=S,this.serverResponseService=ee,this.catchDegraded=(P,H)=>(0,k.R)(this.logger,"EntityHubDataService",P,{...H,responseService:this.serverResponseService}),this.inNavV2Variation$=this.experimentationService.isInVariation(O.yu,O.FQ).pipe((0,c.d)(1)),this.inVarsityLeagueEventsVariation$=this.experimentationService.isInVariation(O.I9,O.Ku).pipe((0,c.d)(1)),this.inScheduleRedesign2025Variation$=this.experimentationService.isInVariation(O.ro,O.ZS).pipe((0,c.d)(1)),this.isNextGenEventHub$=this.experimentationService.isInVariation(O._8,O.t,!0),this.isNextGenEventHubShort$=this.experimentationService.isInVariation(O.uJ,O.ET,!0),this.isMultidayScheduleEnabled$=this.experimentationService.isInVariation(O.rq,O.rm,!1),this.isNextGen$=(0,j.a)([this.isNextGenEventHubShort$,this.isNextGenEventHub$]).pipe((0,y.w)(([P,H])=>(0,R.of)(H||P)),(0,c.d)(1)),this.siteId$=this.verticalService.siteId$}getEntityHubLayoutWithCacheWrapper(M,X,K,oe){return(0,j.a)([this.inNavV2Variation$,this.inVarsityLeagueEventsVariation$,this.inScheduleRedesign2025Variation$,this.siteId$,this.isMultidayScheduleEnabled$]).pipe((0,y.w)(([se,S,ee,P,H])=>{let L=(0,I.o9)(K,se,S,ee,oe,H);const E=K?.get("search");
1L=E?L.set("search",E):L;const G=K?.get("playing");L=G?L.set("playing",G):L,L=L.set("site_id",P);const U=(0,I.tc)(M,X);return this.cacheDataService.wrapper(U,L,!0,"EntityHubDataService",{responseService:this.serverResponseService,suppressedStatuses:[404],setNotFoundOn404:!0})}))}getEntityHubLayout(M,X,K,oe){return(0,j.a)([this.inNavV2Variation$,this.inVarsityLeagueEventsVariation$,this.isMultidayScheduleEnabled$]).pipe((0,y.w)(([se,S,ee])=>{const P=(0,I.o9)(K,se,S,void 0,oe,ee),H=(0,I.tc)(M,X);return this.http.get(H,{params:P}).pipe(this.catchDegraded(void 0,{suppressedStatuses:[404]}))}))}getEntityHubPartial(M,X,K){return X?(0,j.a)([this.inNavV2Variation$,this.inVarsityLeagueEventsVariation$,this.siteId$,this.isNextGen$,this.isMultidayScheduleEnabled$]).pipe((0,y.w)(([oe,se,S,ee,P])=>{let H=(0,I.o9)(K,oe,se,void 0,ee,P);const L=K?.get("search");H=L?H.set("search",L):H,H=H.set("site_id",S.toString());const E=`${V.nK}/${M}/${X}/partial`;return"minimal"===K?.get("viewMode")?this.cacheDataService.wrapper(E,H,!0,"EntityHubDataService",{responseService:this.serverResponseService,suppressedStatuses:[404]}):this.http.get(E,{params:H}).pipe(this.catchDegraded(void 0,{suppressedStatuses:[404]}))})):(0,R.of)(void 0)}getEntityHubPaginatedPartial(M){return this.dataService.get(M)}favoriteAndRefetchEntityHubLayout(M,X,K,oe){return this.dataService.request(M).pipe((0,y.w)(()=>this.isNextGen$.pipe((0,y.w)(se=>X?this.getEntityHubLayout(X,K,oe,se):(0,R.of)(void 0)))))}}return Y.\u0275fac=function(M){return new(M||Y)(w.\u0275\u0275inject(N.te),w.\u0275\u0275inject(Q.D),w.\u0275\u0275inject(J.D),w.\u0275\u0275inject(W.eN),w.\u0275\u0275inject(te.j),w.\u0275\u0275inject(z.A),w.\u0275\u0275inject(q.N,8))},Y.\u0275prov=w.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac}),Y})()},16525:(me,ce,a)=>{a.d(ce,{Q:()=>Ft});var c=a(26520),j=a(61135),y=a(39300),R=a(63900),V=a(71884),N=a(68675),k=a(77579),O=a(34782),I=a(54004),w=a(39841),Q=a(39646),J=a(82722),W=a(18505),te=a(11520),z=a(75026),q=a(11365),l=a(49561),Y=a(91954),re=a(41951),M=a(14825),X=a(7069),K=a(75445),oe=a(32858),se=a(55795),S=a(36514),ee=a(39047),P=a(9367),H=a(91062),L=a(26656),E=a(3283),G=a(95698),U=a(70262),e=a(94650),Ce=a(32936),he=a(40435),ge=a(32797);let xe=(()=>{class s{constructor(o,m,t,n){this.relatedContentData=o,this.featureFlagService=m,this.platformService=t,this.log=n,this.destroy$=new k.x,this.loadCollection$=new k.x,this.queue$=new j.X([]),this.index$=new j.X(0),this.currentVideo$=(0,w.a)([this.queue$,this.index$]).pipe((0,I.U)(([i,r])=>i[r]??null),(0,V.x)((i,r)=>(i?.id??null)===(r?.id??null)),(0,O.d)({bufferSize:1,refCount:!0})),this.loadCollection$.pipe((0,V.x)(),(0,R.w)(i=>this.buildQueue$(i)),(0,J.R)(this.destroy$)).subscribe(i=>{this.queue$.next(i),this.index$.next(0)})}loadQueue(o){this.loadCollection$.next(o)}next(){this.index$.next(Math.min(this.index$.value+1,this.queue$.value.length))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.loadCollection$.complete(),this.queue$.complete(),this.index$.complete()}buildQueue$(o){return this.featureFlagService.getValueWhenReady$(S.c.COLLECTIONS_STICKY_VIDEO,!1).pipe((0,G.q)(1),(0,R.w)(m=>!m||this.platformService.isServer?(0,Q.of)([]):this.relatedContentData.getVideosOnlyFree(o,void 0,null,5).pipe((0,I.U)(t=>t.data),(0,U.K)(t=>(this.log.error("CollectionsRailVideoQueueService: error fetching queue",{collectionId:o,error:t}),(0,Q.of)([]))))))}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275inject(Ce.s),e.\u0275\u0275inject(he.Qt),e.\u0275\u0275inject(ge.m),e.\u0275\u0275inject(Y.te))},s.\u0275prov=e.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac}),s})();var be=a(93962),De=a(18492),Ee=a(5201),Ie=a(26465),Se=a(70477),Fe=a(33811),Re=a(89990),Pe=a(77906),de=a(36895),Oe=a(86809),Le=a(4128),Ae=a(49670),C=a(68873);const ie=600,b=1e3,A=1800,ae=s=>{const _=(s=>_=>`${s}?width=${_}`)(s);return[ie,b,A].map(o=>({size:o,url:_(o),unit:"w"}))},ot=C.ls(s=>{const _=""===s.asset_url?void 0:s.asset_url;if(null!=_)return{url:_,alt:`picture of ${s.title}`}},s=>{if(null!=s)return{...s,sources:ae(s.url),sizes:{default:{size:1800,unit:"w"},responsiveSizes:[{mediaQuery:`(max-width: ${Ae.ql.small})`,size:600,unit:"w"},{mediaQuery:`(max-width: ${Ae.ql.medium})`,size:1e3,unit:"w"}]}}});var Ge=a(58958),Qe=a(35453),Me=(()=>{return(s=Me||(Me={}))[s.LEVEL=l.N.levelCategoryId]="LEVEL",s[s.GOVERNING_BODY=l.N.governingBodyCategoryId]="GOVERNING_BODY",Me;var s})();const _e=s=>{if(s.original_entity){const o=s.categories&&s.categories.length>0?s.categories[0].id:void 0;
1return Ge.C.includes(s.original_entity.type??"")?s.original_entity?.id:o}},Ke=s=>{if(s.original_entity){const _=s.original_entity.type;if(Ge.C.includes(_??""))return _}if(s.categories&&s.categories.length>0)return"contentcategory"};var at=a(47905),Wt=a(77648),fe=(()=>{return(s=fe||(fe={})).RESUME="Resume",s.SIGN_UP="Sign Up",s.FAVORITE="Favorite",s.FAVORITED="Favorited",fe;var s})(),we=a(14814),st=a(88055);let lt=(()=>{class s{constructor(o,m,t){this.vs=o,this.userPrefService=m,this.ar=t,this.getCtaType=(n,i,r,u,h,g)=>(0,w.a)([this.vs.isFavoriteFeatureVertical$,this.queryNodeId$,this.vs.siteId$]).pipe((0,R.w)(([f,x,d])=>{const $=((s,_,o,m,t)=>!!t&&(_===Qe.s3.FLORACING?(s=>{const _=void 0!==s&&s.length>0&&void 0!==s[0].parent?s[0].parent:void 0;return!(!_||!_.id||_.id!==Me.LEVEL&&_.id!==Me.GOVERNING_BODY)})(m):s&&["person","team"].some(n=>n===o)))(f,d,r,h,u);return i?$?x?this.userPrefService.postUserCustomizationByCoreNodeId(x,r).pipe((0,I.U)(T=>T?fe.FAVORITED:fe.FAVORITE)):this.userPrefService.getUserCustomizationByCoreNodeId(u,r,!0).pipe((0,I.U)(T=>T?fe.FAVORITED:fe.FAVORITE),(0,V.x)(),(0,O.d)(1)):(0,Q.of)(n?void 0:g?fe.RESUME:fe.SIGN_UP):(0,Q.of)($?fe.FAVORITE:fe.SIGN_UP)}),(0,V.x)(),(0,O.d)({bufferSize:1,refCount:!0})),this.favoriteByCollectionIdAndType=(n,i)=>this.userPrefService.postUserCustomizationByCoreNodeId(n,i),this.unfavorite=(n,i)=>this.userPrefService.getUserCustomizationByCoreNodeId(n,i,!0).pipe((0,R.w)(r=>r?this.userPrefService.deleteUserCustomization(r.id):(0,Q.of)(void 0))),this.queryNodeId$=this.ar.queryParamMap.pipe((0,I.U)(n=>n.get("coreNodeId")?Number(n.get("coreNodeId")):void 0),(0,V.x)(),(0,O.d)({bufferSize:1,refCount:!0}))}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275inject(we.A),e.\u0275\u0275inject(st.m),e.\u0275\u0275inject(c.ActivatedRoute))},s.\u0275prov=e.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();var ct=a(51011),Ue=a(4707),ze=a(39137),Xe=a(68316),Ze=a(34204);let kt=(()=>{class s{constructor(o){this.el=o}ngOnChanges(){this.setImgAttributes()}setImgAttributes(){this.el.nativeElement.srcset=(s=>this.sources.reduce((o,m)=>o.concat(`${m.url} ${m.size}${m.unit}`),[]).join(", "))(),(0,Ze.maybe)(this.sizes).tapSome(o=>this.el.nativeElement.sizes=(s=>{const _=`${s.default.size}${s.default.unit}`;return(0,Ze.maybe)(s.responsiveSizes).map(o=>o.reduce((m,t)=>m.concat(`${t.mediaQuery} ${t.size}${t.unit}`),[])).map(o=>o.concat(_)).map(o=>o.join(", ")).valueOr(_)})(o))}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275directiveInject(e.ElementRef))},s.\u0275dir=e.\u0275\u0275defineDirective({type:s,selectors:[["img","floResponsiveImg",""]],inputs:{sources:"sources",sizes:"sizes"},features:[e.\u0275\u0275NgOnChangesFeature]}),s})();var ut=a(74372);function Be(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",5),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(t.joinNow())}),e.\u0275\u0275text(1,"Sign Up "),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext();e.\u0275\u0275classMap(o.classes)}}function ft(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",6),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(t.resumeSubscription())}),e.\u0275\u0275text(1,"Resume "),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext();e.\u0275\u0275classMap(o.classes)}}function ve(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",7),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(t.favorite())}),e.\u0275\u0275element(1,"span",8),e.\u0275\u0275text(2,"Favorite"),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext();e.\u0275\u0275classMap(o.classes)}}function ht(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",9),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(t.unfavorite())}),e.\u0275\u0275element(1,"span",10),e.\u0275\u0275text(2,"Favorited"),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext();e.\u0275\u0275classMap(o.classes)}}let vt=(()=>{class s{constructor(o,m){this.router=o,this.collectionFavoriteService=m,this.ctaSubject=new Ue.t(1),this.cta$=this.ctaSubject.asObservable(),this.joinNow=()=>{this.router.navigate(["/signup"],{queryParamsHandling:"merge",queryParams:{redirect:this.router.url}})},this.resumeSubscription=()=>{this.router.navigate(["/account/subscriptions"])},this.favorite=()=>{this.ctaSubject.next(fe.FAVORITED),this.isUserLoggedIn?this.collectionFavoriteService.favoriteByCollectionIdAndType(this.coreNodeId,this.collectionType).pipe((0,G.q)(1),(0,U.K)(t=>(this.ctaSubject.next(fe.FAVORITE),(0,Q.of)(void 0)))).subscribe():this.router.navigate(["/create-account"],{queryParamsHandling:"merge",queryParams:{redirect:`${this.router.url}${this.router.url.includes("?")?"&":"?"}coreNodeId=${this.coreNodeId}`,register:"1"}})},this.unfavorite=()=>{this.ctaSubject.next(fe.FAVORITE),this.collectionFavoriteService.unfavorite(this.coreNodeId,this.collectionType).pipe((0,G.q)(1),(0,U.K)(t=>(this.ctaSubject.next(fe.FAVORITED),(0,Q.of)(void 0)))).subscribe()}}set cta(o){o&&this.ctaSubject.next(o)}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275directiveInject(c.Router),e.\u0275\u0275directiveInject(lt))},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["flo-collection-cta"]],inputs:{cta:"cta",coreNodeId:"coreNodeId",collectionType:"collectionType",classes:"classes",isUserLoggedIn:"isUserLoggedIn"},decls:7,vars:7,consts:[[3,"ngSwitch"],["data-test","collection-join-now-button","floAnalytics","","tagName","Button","name","Collection Sign Up Click","class","btn btn-primary",3,"class","click",4,"ngSwitchCase"],["data-test","collection-resume-button","floAnalytics","","tagName","Button","name","Collection Resume Click","class","btn btn-primary",3,"class","click",4,"ngSwitchCase"],["data-test","collection-favorite-button","floAnalytics","","tagName","Button","name","Collection Favorite Click","class","btn btn-secondary",3,"class","click",4,"ngSwitchCase"],["data-test","collection-unfavorite-button","floAnalytics","","tagName","Button","name","Collection Unfavorite Click","class","btn btn-primary",3,"class","click",4,"ngSwitchCase"],["data-test","collection-join-now-button","floAnalytics","","tagName","Button","name","Collection Sign Up Click",1,"btn","btn-primary",3,"click"],["data-test","collection-resume-button","floAnalytics","","tagName","Button","name","Collection Resume Click",1,"btn","btn-primary",3,"click"],["data-test","collection-favorite-button","floAnalytics","","tagName","Button","name","Collection Favorite Click",1,"btn","btn-secondary",3,"click"],["floSvg","icon-star-outlined","aria-hidden","true",1,"svg-icon-lg","svg-vertical-align-text-bottom","me-1"],["data-test","collection-unfavorite-button","floAnalytics","","tagName","Button","name","Collection Unfavorite Click",1,"btn","btn-primary",3,"click"],["floSvg","icon-star-filled","aria-hidden","true",1,"svg-icon-lg","svg-vertical-align-text-bottom","me-1"]],template:function(o,m){1&o&&(e.\u0275\u0275elementContainerStart(0,0),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275template(3,Be,2,2,"button",1),e.\u0275\u0275template(4,ft,2,2,"button",2),e.\u0275\u0275template(5,ve,3,2,"button",3),e.\u0275\u0275template(6,ht,3,2,"button",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&o&&(e.\u0275\u0275property("ngSwitch",e.\u0275\u0275pipeBind1(1,5,m.cta$)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngSwitchCase","Sign Up"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","Resume"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","Favorite"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","Favorited"))},dependencies:[de.RF,de.n9,ze.v,ut.g,de.Ov],styles:[".mobile-footer-cta[_nghost-%COMP%]   div[_ngcontent-%COMP%], .mobile-footer-cta   [_nghost-%COMP%]   div[_ngcontent-%COMP%]{margin:1rem!important}.mobile-footer-cta[_nghost-%COMP%]   div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .mobile-footer-cta   [_nghost-%COMP%]   div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),s})();var mt=a(71489);function yt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"div",12),e.\u0275\u0275element(1,"img",13),e.\u0275\u0275elementEnd()),2&s){const o=_.ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275property("src",null==o?null:o.url,e.\u0275\u0275sanitizeUrl)("alt",null==o?null:o.alt)("sources",null==o?null:o.sources)("sizes",null==o?null:o.sizes)}}function zt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"a",14),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&s){const o=_.ngIf,m=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("analyticsProperties",e.\u0275\u0275pipeBind1(1,4,m.drillThroughAnalytics$))("routerLink",null==o?null:o.slug_uri)("queryParams",e.\u0275\u0275pipeBind1(2,6,m.queryParams$)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==o?null:o.name,"")}}function Je(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"h1",15),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&s){const o=e.\u0275\u0275nextContext().ngIf;e.\u0275\u0275property("ngClass",o.titleStyle),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",o.headerText," ")}}function Gt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"h2",16),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&s){const o=e.\u0275\u0275nextContext().ngIf;e.\u0275\u0275property("ngClass",o.titleStyle),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",o.subheaderText," ")}}function _t(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"time",17),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&s){const o=e.\u0275\u0275nextContext().ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(o.date)}}function Ct(s,_){if(1&s&&(e.\u0275\u0275element(0,"p",25),e.\u0275\u0275pipe(1,"floSanitizeHtml")),2&s){const o=e.\u0275\u0275nextContext(3).ngIf;e.\u0275\u0275property("innerHtml",e.\u0275\u0275pipeBind1(1,1,o.preview_text),e.\u0275\u0275sanitizeHtml)}}function xt(s,_){if(1&s&&(e.\u0275\u0275element(0,"p",26),e.\u0275\u0275pipe(1,"floSanitizeHtml")),2&s){const o=e.\u0275\u0275nextContext(3).ngIf;e.\u0275\u0275property("innerHtml",e.\u0275\u0275pipeBind1(1,1,o.description),e.\u0275\u0275sanitizeHtml)}}function qe(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",27),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext(4);
1return e.\u0275\u0275resetView(t.handleSeeMoreClick(t.showMore$.getValue()))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext().ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",o.readMoreBtnText," ")}}function bt(s,_){if(1&s&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ct,2,3,"p",21),e.\u0275\u0275template(2,xt,2,3,"p",22),e.\u0275\u0275elementStart(3,"div",23),e.\u0275\u0275template(4,qe,2,1,"a",24),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&s){const o=_.ngIf,m=e.\u0275\u0275nextContext(2).ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.showPreviewText&&m.preview_text),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!o.showPreviewText),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!!o.readMoreBtnText)}}const Qt=function(s,_){return{showPreviewText:s,readMoreBtnText:_}};function et(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"section",18)(1,"div",19)(2,"div",20),e.\u0275\u0275template(3,bt,5,3,"ng-container",0),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275elementEnd()()()),2&s){const o=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",e.\u0275\u0275pureFunction2(5,Qt,e.\u0275\u0275pipeBind1(4,1,o.showPreviewText$),e.\u0275\u0275pipeBind1(5,3,o.readMoreBtnText$)))}}function Yt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"h6",28),e.\u0275\u0275text(1," Presented by "),e.\u0275\u0275elementStart(2,"a",29),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()),2&s){const o=_.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("routerLink",o.url),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(o.name)}}function tt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"div")(1,"div",30)(2,"p"),e.\u0275\u0275text(3,"Unlock Premium Rankings to see where you stack up."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"a",31),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275text(6,"Go to Rankings"),e.\u0275\u0275elementEnd()()()),2&s){const o=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate1("href","",e.\u0275\u0275pipeBind1(5,1,o.siteHost$),"/nextgen/high-school/premium-rankings",e.\u0275\u0275sanitizeUrl)}}function nt(s,_){if(1&s&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,yt,2,4,"div",1),e.\u0275\u0275elementStart(2,"nav",2)(3,"div",3)(4,"div"),e.\u0275\u0275template(5,zt,4,8,"a",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275element(7,"flo-collection-cta",6),e.\u0275\u0275pipe(8,"async"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(9,Je,2,2,"h1",7),e.\u0275\u0275template(10,Gt,2,2,"h2",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,_t,2,1,"time",9),e.\u0275\u0275template(12,et,6,8,"section",10),e.\u0275\u0275template(13,Yt,4,2,"h6",11),e.\u0275\u0275template(14,tt,7,3,"div",0),e.\u0275\u0275pipe(15,"async"),e.\u0275\u0275elementContainerEnd()),2&s){const o=_.ngIf,m=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.heroImage),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",o.navStyle),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",o.drillThroughStyle),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",o.drill_through_link),e.\u0275\u0275advance(2),e.\u0275\u0275property("cta",e.\u0275\u0275pipeBind1(8,14,m.cta$))("coreNodeId",o.coreNodeId)("collectionType",o.collectionType)("isUserLoggedIn",o.isUserLoggedIn),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",o.headerText),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.subheaderText),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.date),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.description),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",o.supporters),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(15,16,m.showNGRankingsCTA$))}}let Tt=(()=>{class s{constructor(o,m,t,n){this.segment=o,this.verticalService=m,this.activatedRoute=t,this.experimentationService=n,this.props$=new Ue.t(1),this.ctaSubject=ne
1w Ue.t(1),this.ngOnDestroy$=new Ue.t(1),this.showMore$=new j.X(!1),this.queryParams$=this.activatedRoute.queryParams,this.action$=new e.EventEmitter,this.cta$=this.ctaSubject.asObservable(),this.siteId$=this.verticalService.siteId$,this.siteSettings$=this.verticalService.siteSettings$,this.siteHost$=this.siteSettings$.pipe((0,I.U)(i=>i?.core_site_url||"")),this.template$=(0,w.a)([this.props$,this.siteId$]).pipe((0,I.U)(([i,r])=>({...i,coreNodeId:_e(i),collectionType:Ke(i),titleStyle:i&&!i.drill_through_link?"col-9 px-0 py-0 mt-sm-0":"mt-sm-3",navStyle:i&&!i.drill_through_link?"flex-row-reverse":"align-items-center",drillThroughStyle:i&&i.drill_through_link?"col-12 d-flex justify-content-between align-items-center px-0":"col-3 px-0 d-flex justify-content-end",drill_through_link:r!==Qe.s3.FLOCOLLEGE?i.drill_through_link:null})),(0,J.R)(this.ngOnDestroy$)),this.drillThroughAnalytics$=this.props$.pipe((0,y.h)(i=>!!i.drill_through_link),(0,I.U)(i=>function dt(s){return{name:"Drill Through Link",category_parent_name:!!s.parent&&s.parent.name}}(i.drill_through_link))),this.readMoreBtnText$=(0,w.a)([this.props$,this.showMore$]).pipe((0,I.U)(([i,r])=>i.should_show_read_more?r?"See Less":"See More":"")),this.showPreviewText$=(0,w.a)([this.props$,this.showMore$]).pipe((0,I.U)(([i,r])=>!!i.should_show_read_more&&!r)),this.isInRankingsVariation$=this.experimentationService.isInVariation(L.rI,L.$P).pipe(),this.showNGRankingsCTA$=(0,w.a)([this.isInRankingsVariation$,this.props$]).pipe((0,I.U)(([i,r])=>i&&7215276===r?.id))}set props(o){o&&this.props$.next(o)}set cta(o){o&&this.ctaSubject.next(o)}handleSeeMoreClick(o){const m=o?"See Less":"See More";this.segment.track(ee.AA.LINK_CLICKED,{action:"Click",name:m,text:m}),this.showMore$.next(!o)}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275directiveInject(Se.BP),e.\u0275\u0275directiveInject(we.A),e.\u0275\u0275directiveInject(c.ActivatedRoute),e.\u0275\u0275directiveInject(be.j))},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["flo-collection"]],inputs:{props:"props",cta:"cta"},outputs:{action$:"action$"},decls:2,vars:3,consts:[[4,"ngIf"],["class","\n      jumbotron\n      rounded\n      mb-0\n      mt-sm-4\n      bg-300\n      container-fluid\n      p-0\n      ratio ratio-16x9\n    ","title","jumbotron","data-test","jumbotron",4,"ngIf"],["aria-label","breadcrumb","data-test","event-header-nav",1,"d-flex","mt-md-3","pt-md-3","pt-3","mt-2","justify-content-between","w-100","flex-wrap",3,"ngClass"],[3,"ngClass"],["data-test","breadcrumb-item","class","drill-through","floAnalytics","",3,"analyticsProperties","routerLink","queryParams",4,"ngIf"],[1,"px-0","d-none","d-md-block"],["data-test","collection-primary-cta",3,"cta","coreNodeId","collectionType","isUserLoggedIn"],["class","display-4 d-block text-700 mb-0 mt-0 pt-1 text-break","data-test","header-text",3,"ngClass",4,"ngIf"],["class","col-12 mb-0 mt-0 pt-0 text-break","data-test","subheader-text",3,"ngClass",4,"ngIf"],["class","headline d-block text-700",4,"ngIf"],["data-test","collection-header-description","class","mt-2 pt-1 mb-sm-0 mb-1 font-family-regular text-700",4,"ngIf"],["class","subhead text-muted",4,"ngFor","ngForOf"],["title","jumbotron","data-test","jumbotron",1,"jumbotron","rounded","mb-0","mt-sm-4","bg-300","container-fluid","p-0","ratio","ratio-16x9"],["floResponsiveImg","",1,"img-fluid","rounded",3,"src","alt","sources","sizes"],["data-test","breadcrumb-item","floAnalytics","",1,"drill-through",3,"analyticsProperties","routerLink","queryParams"],["data-test","header-text",1,"display-4","d-block","text-700","mb-0","mt-0","pt-1","text-break",3,"ngClass"],["data-test","subheader-text",1,"col-12","mb-0","mt-0","pt-0","text-break",3,"ngClass"],[1,"headline","d-block","text-700"],["data-test","collection-header-description",1,"mt-2","pt-1","mb-sm-0","mb-1","font-family-regular","text-700"],[1,"row"],["floDynamicContent","",1,"col-md-12"],["class","text-700","data-test","preview-text",3,"innerHtml",4,"ngIf"],["class","text-700","data-test","description",3,"innerHtml",4,"ngIf"],[1,"mb-2"],["class","primary-color-text subhead see-more-btn","data-test","see-more-btn",3,"click",4,"ngIf"],["data-test","preview-text",1,"text-700",3,"innerHtml"],["data-test","description",1,"text-700",3,"innerHtml"],["data-test","see-more-btn",1,"primary-color-text","subhead","see-more-btn",3,"click"],[1,"subhead","text-muted"],[3,"routerLink"],[1,"ngRankingsCTA"],["target","_top",3,"href"]],template:function(o,m){1&o&&(e.\u0275\u0275template(0,nt,16,18,"ng-container",0),e.\u0275\u0275pipe(1,"async")),2&o&&e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(1,1,m.template$))},dependencies:[de.mk,de.sg,de.O5,c.RouterLinkWithHref,ze.v,Xe.F,kt,vt,de.Ov,mt.m],styles:[".tab-container[_ngcontent-%COMP%]{z-index:11}.ngRankingsCTA[_ngcontent-%COMP%]{background:#133DC2;height:36px;padding:16px;box-sizing:content-box;display:flex;align-items:center;justify-content:space-between;border-radius:6px}.ngRankingsCTA[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{align-self:center;font-size:18px;color:#fff;margin-bottom:0}@media (max-width: 768px){.ngRankingsCTA[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:12px}}.ngRankingsCTA[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:8px;border:1px solid #6F6F73;border-radius:6px;background:#F3F3F5;white-space:nowrap;color:#0c0c0c}"],changeDetection:0}),s})();var Xt=a(88111),$t=a(502),Zt=a(281),Et=a(47298);const Jt=[[["","leaderboard-large",""]],[["","leaderboard-small",""]],[["","header",""]],[["","tabs",""]],[["","mobile-ad",""]],[["","sidebar-top",""]],[["","sidebar-ad",""]],[["","sidebar",""]],[["","sidebar-ad-sticky",""]],[["","sidebar-description",""]],[["","footer",""]]],It=["[leaderboard-large]","[leaderboard-small]","[header]","[tabs]","[mobile-ad]","[sidebar-top]","[sidebar-ad]","[sidebar]","[sidebar-ad-sticky]","[sidebar-description]","[footer]"];let qt=(()=>{class s{constructor(){this.stickySidebar=!1}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["flo-header-layout"]],inputs:{stickySidebar:"stickySidebar"},ngContentSelectors:It,decls:28,vars:12,consts:[[1,"my-3","d-none","d-lg-block","position-relative"],[1,"my-3","d-none","d-md-block","d-lg-none","position-relative"],[1,"container","bg-white","color-900","min-vh-100"],[1,"row"],[1,"col-12","pt-0","pt-sm-2","content-container"],[1,"header-container"],[1,"mt-4","mb-3","mb-md-4","pt-2","position-relative","d-block","tab-container"],[1,"w-100",2,"min-height","480px"],[1,"text-center","d-block","d-lg-none","mb-3","mobile-ad-container"],[1,"d-flex","justify-content-center"],[1,"sidebar","d-lg-block","col-12","border-start","pt-sm-2","px-lg-0","px-3"],["data-test","sidebar-sticky-wrapper",1,"sidebar-sticky-wrapper"],[1,"d-none","d-lg-flex","justify-content-center","pt-4","py-3"],["data-test","sidebar-ad-sticky-wrapper",1,"d-none","d-lg-flex","justify-content-center","pt-4","py-3"],[1,"d-md-none"],[1,"bg-white","color-900","pt-1"]],template:function(o,m){1&o&&(e.\u0275\u0275projectionDef(Jt),e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275projection(1),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"div",1),e.\u0275\u0275projection(3,1),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"main",2)(5,"div",3)(6,"div",4)(7,"div",5),e.\u0275\u0275projection(8,2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",6),e.\u0275\u0275projection(10,3,["class","tabs"]),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",7),e.\u0275\u0275element(12,"router-outlet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",8)(14,"div",9),e.\u0275\u0275projection(15,4),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(16,"div",10)(17,"div",11),e.\u0275\u0275projection(18,5),e.\u0275\u0275elementStart(19,"div",12),e.\u0275\u0275projection(20,6),e.\u0275\u0275elementEnd(),e.\u0275\u0275projection(21,7),e.\u0275\u0275elementStart(22,"div",13),e.\u0275\u0275projection(23,8),e.\u0275\u0275elementEnd(),e.\u0275\u0275projection(24,9),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(25,"flo-adhesion-footer",14)(26,"div",15),e.\u0275\u0275projection(27,10),e.\u0275\u0275elementEnd()()),2&o&&(e.\u0275\u0275advance(6),e.\u0275\u0275classProp("col-lg-7",m.stickySidebar)("c
1ol-lg-8",!m.stickySidebar),e.\u0275\u0275advance(10),e.\u0275\u0275classProp("col-lg-5",m.stickySidebar)("col-lg-4",!m.stickySidebar),e.\u0275\u0275advance(1),e.\u0275\u0275classProp("stick-to-header",m.stickySidebar),e.\u0275\u0275advance(5),e.\u0275\u0275classProp("stick-to-header",!m.stickySidebar))},dependencies:[c.RouterOutlet,Et.a],styles:[".sidebar-sticky-wrapper[_ngcontent-%COMP%]:not(.stick-to-header){display:contents}@media (min-width: 992px){.sidebar-sticky-wrapper.stick-to-header[_ngcontent-%COMP%]{max-height:calc(100vh - 84px);overflow-y:auto;overscroll-behavior:contain}}[_nghost-%COMP%]     flo-adhesion-footer:not(:has([footer])){display:none}.content-container[_ngcontent-%COMP%]{padding:0 32px}@media (max-width: 576px){.content-container[_ngcontent-%COMP%]{padding:0 16px}}.tab-container[_ngcontent-%COMP%]{z-index:11}.results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]{padding:0}.results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%], .results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .tab-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .tab-container[_ngcontent-%COMP%], .results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .mobile-ad-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .mobile-ad-container[_ngcontent-%COMP%]{padding:0 32px}@media (max-width: 576px){.results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%], .results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .tab-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .tab-container[_ngcontent-%COMP%], .results-tab[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .mobile-ad-container[_ngcontent-%COMP%], .results-tab   [_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]   .mobile-ad-container[_ngcontent-%COMP%]{padding:0 16px}}"]}),s})();var en=a(3253),St=a(55018),Pt=a(48275),Ot=a(1447);function tn(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"li",3)(1,"a",4)(2,"div",5)(3,"div",6)(4,"div",7),e.\u0275\u0275element(5,"img",8),e.\u0275\u0275pipe(6,"async"),e.\u0275\u0275pipe(7,"floImage"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"div",9)(9,"h5",10),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"span",11),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"floDateYear"),e.\u0275\u0275elementEnd()()()()()),2&s){const o=_.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",o.slug_uri)("analyticsProperties",o.analytics),e.\u0275\u0275advance(4),e.\u0275\u0275property("src",e.\u0275\u0275pipeBind1(6,6,e.\u0275\u0275pipeBind2(7,8,null==o||null==o.asset?null:o.asset.url,200)),e.\u0275\u0275sanitizeUrl)("alt",null==o?null:o.short_title),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(null==o?null:o.short_title),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind2(13,11,null==o?null:o.publish_start_date,null==o?null:o.publish_end_date))}}function Mt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"div")(1,"h5",1),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"ul"),e.\u0275\u0275template(4,tn,14,14,"li",2),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275elementEnd()()),2&s){const o=_.ngIf,m=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(o),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",e.\u0275\u0275pipeBind1(5,3,m.nodes$))("ngForTrackBy",m.trackById)}}let nn=(()=>{class s{constructor(){this.props$=new Ue.t(1),this.nodes$=this.props$.pipe((0,y.h)(o=>!!o.nodes.length),(0,I.U)(o=>o.nodes.filter((m,t)=>
1o.limit?t<o.limit:t<5).map((m,t,n)=>({...m,analytics:{...(0,en.I)(m,t,n.length),component:"NodeListWidgetComponent"}})))),this.headerTitle$=this.props$.pipe((0,I.U)(o=>o.headerTitle||"Related Content")),this.trackById=St.x}set props(o){o&&this.props$.next(o)}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["flo-node-list-widget"]],inputs:{props:"props"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"color-900","font-family-heavy","border-bottom","mb-0","pt-3","mt-1","list-title"],["class","py-3 border-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"py-3","border-bottom"],["data-test","node-list-widget-item-link","floAnalytics","",1,"primary-color-text-hover","w-100",3,"routerLink","analyticsProperties"],[1,"d-flex","flex-row","align-items-center","col-12","px-0","py-1"],[1,"ps-0","pe-0","pe-sm-2","col-lg-4","col-md-2","col-sm-2","col-3","me-3","me-sm-2"],[1,"position-relative","top","right","overflow-hidden","rounded","color-ignite","bg-dark",2,"padding-top","75%"],[1,"img-fluid","rounded","position-absolute","h-100","w-100","top","left","bottom","right",2,"object-fit","cover",3,"src","alt"],[1,"col-lg-8","col-md-10","col-sm-10","col-9","px-0","align-self-start"],[1,"color-800","font-family-bold","mb-0","apply-text-hover","text-line-clamp-2"],[1,"flo-footnote","d-flex"]],template:function(o,m){1&o&&(e.\u0275\u0275template(0,Mt,6,5,"div",0),e.\u0275\u0275pipe(1,"async")),2&o&&e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(1,1,m.headerTitle$))},dependencies:[de.sg,de.O5,c.RouterLinkWithHref,ze.v,de.Ov,Pt.J,Ot.y],styles:["h5.list-title[_ngcontent-%COMP%]{padding-bottom:12px}"],changeDetection:0}),s})();var Dt=a(82117),rn=a(27280);const it=function(){return{isMuted:!0}};function on(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",1)(1,"flo-video-player",2),e.\u0275\u0275listener("played",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(t.onPlayed())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(2,"flo-rail-player-info-bar",3),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("video",o.currentVideo)("isAutoPlayed",!0)("isPlaylist",!0)("volumeControls",e.\u0275\u0275pureFunction0(9,it))("isEmbedded",!0)("prerollPlacement","sidebar-rail")("prerollIsAccompanyingContent",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("title",null==o.currentVideo?null:o.currentVideo.title)("durationSeconds",o.currentVideoDurationSeconds)}}let Ne=(()=>{class s{constructor(){this.currentVideo=null,this.played=new e.EventEmitter}get currentVideoDurationSeconds(){return this.currentVideo?.duration??null}
1onPlayed(){this.played.emit()}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["flo-collections-sticky-video"]],hostAttrs:[1,"d-none","d-lg-block"],inputs:{currentVideo:"currentVideo"},outputs:{played:"played"},decls:1,vars:1,consts:[["class","right-rail-sticky-container","data-test","collections-sticky-video-container",4,"ngIf"],["data-test","collections-sticky-video-container",1,"right-rail-sticky-container"],["data-test","collections-sticky-video",1,"video-player",3,"video","isAutoPlayed","isPlaylist","volumeControls","isEmbedded","prerollPlacement","prerollIsAccompanyingContent","played"],[1,"d-block",3,"title","durationSeconds"]],template:function(o,m){1&o&&e.\u0275\u0275template(0,on,3,10,"div",0),2&o&&e.\u0275\u0275property("ngIf",m.currentVideo)},dependencies:[de.O5,Dt.p4,rn.h],styles:["[_nghost-%COMP%]{display:block}.right-rail-sticky-container[_ngcontent-%COMP%]{width:100%}.right-rail-sticky-container[_ngcontent-%COMP%]   flo-video-player.video-player[_ngcontent-%COMP%]{display:block;width:100%;padding-top:0;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem;overflow:hidden}"],changeDetection:0}),s})();var an=a(54505);function sn(s,_){if(1&s&&(e.\u0275\u0275element(0,"old-flo-tab",18),e.\u0275\u0275pipe(1,"async")),2&s){const o=_.$implicit,m=e.\u0275\u0275nextContext(3);e.\u0275\u0275property("tabTitle",o.displayName)("route",o.route)("active",o.active)("qp",e.\u0275\u0275pipeBind1(1,4,m.queryParams$))}}function ln(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"old-flo-tabs",16),e.\u0275\u0275template(1,sn,2,6,"old-flo-tab",17),e.\u0275\u0275elementEnd()),2&s){const o=_.ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",o)}}function cn(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"flo-collections-sticky-video",19),e.\u0275\u0275listener("played",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(t.onStickyVideoPlayed())}),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("currentVideo",e.\u0275\u0275pipeBind1(1,1,o.currentStickyVideo$))}}function Rt(s,_){if(1&s&&(e.\u0275\u0275elementStart(0,"div",20),e.\u0275\u0275element(1,"flo-node-list-widget",21),e.\u0275\u0275elementEnd()),2&s){const o=_.ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275property("props",o)}}function dn(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",22)(1,"span",23),e.\u0275\u0275element(2,"flo-collection-cta",24),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",25)(5,"flo-lazy",3),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(6,"mapGet"),e.\u0275\u0275elementEnd()()()}if(2&s){const o=_.ngIf,m=e.\u0275\u0275nextContext().ngIf,t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("cta",e.\u0275\u0275pipeBind1(3,6,t.cta$))("coreNodeId",o.collectionId)("collectionType",o.collectionType)("isUserLoggedIn",o.isUserLoggedIn),e.\u0275\u0275advance(3),e.\u0275\u0275property("componentConstructor",t.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(6,8,m.adConfigs,"adhesion"))}}function pn(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"flo-lazy",3),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(4,"mapGet"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(5,"flo-lazy",3),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(6,"mapGet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"flo-header-layout",4),e.\u0275\u0275pipe(8,"async"),e.\u0275\u0275elementStart(9,"flo-lazy",5),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(10,"mapGet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"flo-lazy",6),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(12,"mapGet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"flo-lazy",7),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(14,"mapGet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(15,"flo-collection",8),e.\u0275\u0275pipe(16,"async"),e.\u0275\u0275pipe(17,"async"),e.\u0275\u0275template(18,ln,2,1,"old-flo-tabs",9),e.\u0275\u0275pipe(19,"async"),e.\u0275\u0275template(20,cn,2,3,"flo-collections-sticky-video",10),e.\u0275\u0275pipe(21,"async"),e.\u0275\u0275elementStart(22,"div",11),e.\u0275\u0275template(23,Rt,2,1,"div",12),e.\u0275\u0275pipe(24,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"flo-lazy",13),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(26,"mapGet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"flo-lazy",14),e.\u0275\u0275listener("componentLoaded",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.loadedAdsPush(t))}),e.\u0275\u0275pipe(28,"mapGet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(29,dn,7,11,"div",15),e.\u0275\u0275pipe(30,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&s){const o=_.ngIf,m=e.\u0275\u0275nextContext();let t;e.\u0275\u0275advance(3),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(4,34,o.adConfigs,"skin")),e.\u0275\u0275advance(2),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(6,37,o.adConfigs,"interstitial")),e.\u0275\u0275advance(2),e.\u0275\u0275property("stickySidebar",null!==(t=e.\u0275\u0275pipeBind1(8,40,m.stickyVideoEnabled$))&&void 0!==t&&t),e.\u0275\u0275advance(2),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(10,42,o.adConfigs,"leaderboard-lg"))("detectorHeight",90)("detectorWidth",728),e.\u0275\u0275advance(2),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(12,45,o.adConfigs,"leaderboard-sm"))("detectorHeight",90)("detectorWidth",728),e.\u0275\u0275advance(2),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(14,48,o.adConfigs,"rectangle-mobile"))("detectorHeight",200)("detectorWidth",300)("threshold",.25),e.\u0275\u0275advance(2),e.\u0275\u0275property("props",e.\u0275\u0275pipeBind1(16,51,m.collectionComponentProps$))("cta",e.\u0275\u0275pipeBind1(17,53,m.cta$)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(19,55,m.tabs$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(21,57,m.stickyVideoEnabled$)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(24,59,m.nodeListWidgetProps$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(26,61,o.adConfigs,"rectangle-sticky"))("detectorHeight",200)("detectorWidth",300)("threshold",.25),e.\u0275\u0275advance(2),e.\u0275\u0275property("componentConstructor",m.AdComponent)("initialProps",e.\u0275\u0275pipeBind2(28,64,o.adConfigs,"rectangle-1"))("detectorHeight",200)("detectorWidth",300)("threshold",.25),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(30,67,m.collectionComponentProps$))}}const un=function(s){return{adConfigs:s}};let fn=(()=>{class s{constructor(o,m,t,n,i,r,u,h,g,f,x,d,$,T){this.logger=o,this.collectionFacade=m,this.nodeService=t,this.authService=n,this.platformService=i,this.routerService=r,this.updateContentTargeting=u,this.collectionFavoriteService=h,this.headService=g,this.subscriptionService=f,this.activatedRoute=x,this.featureFlagService=d,this.collectionsRailQueue=$,this.window=T,this.ngOnDestroy$=new k.x,this.ngAfterViewInit$=new k.x,this.loadedAds$=new j.X([]),this.stickyVideoEnabled$=this.featureFlagService.loading$.pipe((0,y.h)(v=>!v),(0,R.w)(()=>this.featureFlagService.isEnabled(S.c.COLLECTIONS_STICKY_VIDEO,!1)),(0,V.x)(),(0,N.O)(!1),(0,O.d)({bufferSize:1,refCount:!0})),this.currentStickyVideo$=this.collectionsRailQueue.currentVideo$,this.loadStickyVideoQueue$=(0,w.a)([this.collectionFacade.collection$.pipe((0,I.U)(v=>v?.id??null),(0,V.x)()),this.stickyVideoEnabled$]).pipe((0,J.R)(this.ngOnDestroy$)).subscribe(([v,B])=>{B&&"number"==typeof v&&this.collectionsRailQueue.loadQueue(v)}),this.queryParams$=this.activatedRoute.queryParams,this.action$=this.collectionFacade.action$,this.user$=this.authService.user$.pipe((0,O.d)(1)),this.hasPausedSubscription$=this.authService.user$.pipe((0,y.h)(X.bb),(0,R.w)(v
1=>v.id?this.subscriptionService.userHasPausedSubscription(v.id):(0,Q.of)(!1)),(0,O.d)(1)),this.collectionComponentProps$=(0,w.a)([this.collectionFacade.collection$,this.collectionFacade.tabs$,this.user$,this.collectionFacade.statxSubHeader$,this.hasPausedSubscription$]).pipe((0,I.U)(([v,B,p,D,Z])=>({isUserPremium:p.isPremium,isUserLoggedIn:p.loggedIn,userHasPausedSubscription:Z,...hn(v,B,D)})),(0,O.d)({refCount:!0,bufferSize:1})),this.tabs$=this.collectionComponentProps$.pipe((0,I.U)(v=>v.tabs),(0,y.h)(v=>!!v)),this.cta$=this.collectionComponentProps$.pipe((0,R.w)(v=>{const B=Ke(v)??null,p=_e(v)??0;return this.collectionFavoriteService.getCtaType(v.isUserPremium||!1,v.isUserLoggedIn||!1,B,p,v.categories,v.userHasPausedSubscription)}),(0,O.d)({refCount:!0,bufferSize:1})),this.mapMetaProps$=this.collectionFacade.collection$.pipe((0,I.U)(v=>({title:v.meta_collections_page_title||v.title,seo_description:v.description_plain||v.meta_collections_page_description,asset:{url:v.asset_url}})),(0,O.d)(1)),this.nodeListWidgetProps$=this.collectionFacade.relatedCollections$.pipe((0,y.h)(v=>v?.data?.length>0),(0,I.U)(v=>({nodes:v.data}))),this.updateMeta$=(0,w.a)([this.mapMetaProps$,this.collectionFacade.selectedNode$]).pipe((0,I.U)(([v,B])=>B||v),(0,J.R)(this.ngOnDestroy$)).subscribe(v=>this.nodeService.applyNodeMetaToPage(v)),this.videoEnded$=this.action$.pipe((0,y.h)(v=>"[Collections] Video Ended"===v.type)),this.scrollToTop$=this.collectionFacade.collectionIdentifier$.pipe((0,V.x)((v,B)=>!!B.collectionId&&B.collectionId===v.collectionId||!!B.collectionTag&&B.collectionTag===v.collectionTag||!!B.nodeId&&B.nodeId===v.nodeId),(0,y.h)(()=>this.platformService.isBrowser)).subscribe(()=>{this.window.scroll(0,0)}),this.goToNextVideo=this.videoEnded$.pipe((0,q.M)(this.collectionFacade.nodes$,this.collectionFacade.selectedNode$.pipe((0,I.U)(v=>(v||{id:void 0}).id)),this.routerService.queryParams$)).subscribe(([v,B,p,D])=>{const Z=B.findIndex(je=>`${je.id}`==`${p}`);this.routerService.router.navigate([],{queryParamsHandling:"merge",queryParams:{playing:B[Z<B.length?Z+1:0].id}})}),this.updatePageHead=this.ngAfterViewInit$.pipe((0,R.w)(v=>this.collectionFacade.nodeWithShareableLink$.pipe((0,W.b)(B=>{if(this.headService.addElementToHead((0,E.nQ)(B.shareable_link)),(0,Oe.zX)(B)){const p=(0,E.OX)(B);this.headService.addElementToHead(p)}}))),(0,G.q)(1)).subscribe(),this.AdComponent=a.e(7996).then(a.bind(a,17996)).then(v=>v.AdComponent),this.adTargeting$=(0,w.a)([this.collectionFacade.collection$,this.user$,this.updateContentTargeting.nestedContentTargeting$]).pipe((0,I.U)(([v,B,p])=>({...(0,Ie.y)(v,p,B.isPremium),analyticsTracking:v})),(0,V.x)(M.Y.equals)),this.refreshAds$=this.adTargeting$.pipe((0,q.M)(this.loadedAds$),(0,R.w)(v
1=>{this.logger.trace("Collections View: updating ad targeting");const[B,p]=v;return(0,Le.D)(p.map(D=>D.updateTargeting(B))).pipe((0,I.U)(D=>v))}),(0,R.w)(([v,B])=>(this.logger.trace("Collections View: video change refresh triggered",{targeting:v}),(0,Le.D)(B.map(p=>p.refresh())))),(0,J.R)(this.ngOnDestroy$)).subscribe(),this.loadedAdsPush=v=>{this.loadedAds$.next([...this.loadedAds$.getValue(),v.instance])},this.initialAdConfigMap$=this.adTargeting$.pipe((0,G.q)(1),(0,I.U)(v=>{const B=new Map;return B.set("skin",{config:{adConfig:(0,M.$)("collections/atf",re.E6,"collection-skin",v)}}),B.set("leaderboard-lg",{config:{adConfig:(0,M.$)("collections/728x90_flex",re._7,"leaderboard-large",v),additionalOpts:{deferClick:l.N.advertising.preventClickTimeout}}}),B.set("leaderboard-sm",{config:{adConfig:(0,M.$)("collections/728x90_flex",re.Ze,"leaderboard-small",v)}}),B.set("rectangle-1",{config:{adConfig:(0,M.$)("collections/300x250_1",re.$N,"rectangle-1",v)}}),B.set("rectangle-sticky",{config:{adConfig:(0,M.$)("collections/300x250_2",re.Op,"rectangle-sticky",v),additionalOpts:{maxRefreshTime:6e4}}}),B.set("rectangle-mobile",{config:{adConfig:(0,M.$)("collections/300x250_1",re.$N,"rectangle-mobile",v)}}),B.set("adhesion",{config:{adConfig:(0,M.$)("collections/adhesion",re.gM,"adhesion",v),additionalOpts:{maxRefreshTime:3e4}}}),B}))}onStickyVideoPlayed(){this.collectionsRailQueue.next()}ngAfterViewInit(){this.ngAfterViewInit$.next(),this.ngAfterViewInit$.complete()}ngOnDestroy(){this.headService.removeElement(E.p9),this.headService.removeElement(E.oL),this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275directiveInject(Y.te),e.\u0275\u0275directiveInject(Oe.ZR),e.\u0275\u0275directiveInject(at.s),e.\u0275\u0275directiveInject(Ee.e),e.\u0275\u0275directiveInject(ge.m),e.\u0275\u0275directiveInject(Wt.c),e.\u0275\u0275directiveInject(Ie.u),e.\u0275\u0275directiveInject(lt),e.\u0275\u0275directiveInject(Pe.W),e.\u0275\u0275directiveInject(ct.F),e.\u0275\u0275directiveInject(c.ActivatedRoute),e.\u0275\u0275directiveInject(he.Qt),e.\u0275\u0275directiveInject(xe),e.\u0275\u0275directiveInject(H.m))},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["flo-collection-view"]],features:[e.\u0275\u0275ProvidersFeature([xe])],decls:2,vars:5,consts:[[4,"ngIf"],[1,"ad-skin"],[1,"d-none","d-xl-block"],[3,"componentConstructor","initialProps","componentLoaded"],[3,"stickySidebar"],["leaderboard-large","",1,"leaderboard-center",3,"componentConstructor","initialProps","detectorHeight","detectorWidth","componentLoaded"],["leaderboard-small","",1,"leaderboard-center",3,"componentConstructor","initialProps","detectorHeight","detectorWidth","componentLoaded"],["mobile-ad","",3,"componentConstructor","initialProps","detectorHeight","detectorWidth","threshold","componentLoaded"],["header","",3,"props","cta"],["tabs","",4,"ngIf"],["sidebar-top","",3,"currentVideo","played",4,"ngIf"],["sidebar",""],["class","px-md-4 mx-md-2 mb-2",4,"ngIf"],["sidebar-ad-sticky","",3,"componentConstructor","initialProps","detectorHeight","detectorWidth","threshold","componentLoaded"],["sidebar-ad","",3,"componentConstructor","initialProps","detectorHeight","detectorWidth","threshold","componentLoaded"],["footer","",4,"ngIf"],["tabs",""],[3,"tabTitle","route","active","qp",4,"ngFor","ngForOf"],[3,"tabTitle","route","active","qp"],["sidebar-top","",3,"currentVideo","played"],[1,"px-md-4","mx-md-2","mb-2"],[3,"props"],["footer",""],[1,"d-md-none","mobile-footer-cta"],["data-test","collection-primary-cta-footer","classes","btn-lg",3,"cta","coreNodeId","collectionType","isUserLoggedIn"],[1,"adhesion-ad"]],template:function(o,m){1&o&&(e.\u0275\u0275template(0,pn,31,69,"ng-container",0),e.\u0275\u0275pipe(1,"async")),2&o&&e.\u0275\u0275property("ngIf",e.\u0275\u0275pureFunction1(3,un,e.\u0275\u0275pipeBind1(1,1,m.initialAdConfigMap$)))},dependencies:[Tt,vt,de.sg,de.O5,Xt.D,$t.w,Zt.c,qt,nn,Ne,de.Ov,an.P],encapsulation:2,changeDetection:0}),s})();const hn=(s,_,o)=>({...Lt(s),subheaderText:o||s.subtitle||void 0,tabs:_});function Lt(s){return{...s,tabs:[],heroImage:ot(s),headerText:s.short_title||s.title||void 0,subheaderText:s.subtitle||void 0,bodyText:s.description||void 0,collectionType:Ke(s),collectionId:_e(s)}}var rt=a(79221),Te=a(42957);function At(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"flo-collections-sticky-video",5),e.\u0275\u0275listener("played",function(){e.\u0275\u0275restoreView(o);const t=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(t.onStickyVideoPlayed())}),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementEnd()}if(2&s){const o=e.\u0275\u0275nextContext(3);e.\u0275\u0275property("currentVideo",e.\u0275\u0275pipeBind1(1,1,o.currentStickyVideo$))}}const wt=function(){return[]};function Ut(s,_){if(1&s){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"flo-entity-hub-layout",3),e.\u0275\u0275listener("lazyLoadedAdRef",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.adLoadedOnChildView(t))})("tabClicked",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.handleTabClicked(t))})("toggleClicked",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.handleToggleClicked(t))})("nextPage",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetVie
1w(n.handleNextPage(t))})("layoutHeaderCtaButton",function(t){e.\u0275\u0275restoreView(o);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.handleHeaderCta1ButtonClick(t))}),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275pipe(6,"async"),e.\u0275\u0275pipe(7,"async"),e.\u0275\u0275pipe(8,"async"),e.\u0275\u0275pipe(9,"async"),e.\u0275\u0275pipe(10,"async"),e.\u0275\u0275pipe(11,"async"),e.\u0275\u0275pipe(12,"async"),e.\u0275\u0275template(13,At,2,3,"flo-collections-sticky-video",4),e.\u0275\u0275pipe(14,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&s){const o=e.\u0275\u0275nextContext(2);let m;e.\u0275\u0275advance(1),e.\u0275\u0275property("selectedItem",e.\u0275\u0275pipeBind1(2,13,o.selectedItem$))("layout",e.\u0275\u0275pipeBind1(3,15,o.layout$))("geoBlockedIds",e.\u0275\u0275pureFunction0(37,wt))("signupCtaItem",e.\u0275\u0275pipeBind1(4,17,o.signupCta$))("selectedTab",e.\u0275\u0275pipeBind1(5,19,o.selectedTab$))("partial",e.\u0275\u0275pipeBind1(6,21,o.partial$))("isLoading",e.\u0275\u0275pipeBind1(7,23,o.isLoading$))("isPartialError",e.\u0275\u0275pipeBind1(8,25,o.isPartialError$))("hideRightRail",e.\u0275\u0275pipeBind1(9,27,o.hideRightRail$))("stickyRightRail",null!==(m=e.\u0275\u0275pipeBind1(10,29,o.collectionsStickyVideoEnabled$))&&void 0!==m&&m)("message",e.\u0275\u0275pipeBind1(11,31,o.message$))("adConfigMap",e.\u0275\u0275pipeBind1(12,33,o.adConfigs$)),e.\u0275\u0275advance(12),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(14,35,o.collectionsStickyVideoEnabled$))}}function Bt(s,_){if(1&s&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ut,15,38,"ng-container",0),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementContainerEnd()),2&s){const o=e.\u0275\u0275nextContext(),m=e.\u0275\u0275reference(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!e.\u0275\u0275pipeBind1(2,2,o.isLayoutError$))("ngIfElse",m)}}function Vt(s,_){1&s&&(e.\u0275\u0275elementStart(0,"div",6),e.\u0275\u0275element(1,"flo-error"),e.\u0275\u0275elementEnd())}function Nt(s,_){1&s&&e.\u0275\u0275element(0,"flo-collection-view")}const jt=/^\/collections\//;let Ft=(()=>{class s{constructor(o,m,t,n,i,r,u,h,g,f,x,d,$,T,v,B){this.ar=o,this.es=m,this.entityHubDataService=t,this.router=n,this.authService=i,this.updateAdTargeting=r,this.pageMetaService=u,this.segmentService=h,this.ps=g,this.partialsDataService=f,this.favoriteService=x,this.headService=d,this.featureFlagService=$,this.collectionsRailQueue=T,this.log=v,this.window=B,this.tabSubject$=new j.X(null),this._isSameEntityHub=!1,this.isAhlBracketsEnabled$=this.featureFlagService.loading$.pipe((0,y.h)(p=>!p),(0,R.w)(()=>this.featureFlagService.isEnabled(S.c.AHL_BRACKETS,!1)),(0,V.x)(),(0,N.O)(!1)),this.ngOnDestroy$=new k.x,this.collectionsStickyVideoEnabled$=this.featureFlagService.loading$.pipe((0,y.h)(p=>!p),(0,R.w)(()=>this.featureFlagService.isEnabled(S.c.COLLECTIONS_STICKY_VIDEO,!1)),(0,V.x)(),(0,N.O)(!1),(0,O.d)({bufferSize:1,refCount:!0})),this.collectionId$=this.ar.paramMap.pipe((0,I.U)(p=>{if(!jt.test(this.router.url))return null;const D=p.get("collectionId"),Z=D?Number(D):NaN;return Number.isFinite(Z)?Z:null}),(0,V.x)()),this.loadStickyVideoQueue$=(0,w.a)([this.collectionId$,this.collectionsStickyVideoEnabled$]).pipe((0,R.w)(([p,D])=>(0,Q.of)(D&&null!==p?p:null)),(0,V.x)(),(0,J.R)(this.ngOnDestroy$)).subscribe(p=>{null!==p&&this.collectionsRailQueue.loadQueue(p)}),this.currentStickyVideo$=this.collectionsRailQueue.currentVideo$,this.tabChanged$=new k.x,this.isLoading$=new j.X(!1),this.isLayoutError$=new j.X(!1),this.isPartialError$=new j.X(!1),this.paginate$=new k.x,this.headerCta1ButtonClick$=new k.x,this.selectedTab$=new k.x,this.childParams$=this.router.events.pipe((0,W.b)(p=>{const D=(0,K.fV)(p,this._tabs||[]);D&&this.selectedTab$.next(D)}),(0,y.h)(p=>p instanceof c.NavigationEnd),(0,N.O)([]),(0,R.w)(p=>this.ar.firstChild?.paramMap||(0,Q.of)(void 0)),(0,J.R)(this.ngOnDestroy$),(0,V.x)()),this.hideRightRail$=(0,w.a)([this.tabSubject$,this.childParams$]).pipe((0,R.w)(([p,D])=>{const Z=D?D.get("tab")??null:null;return(0,Q.of)(Z?"events"===Z:!!this._tabs&&(0,K.zp)(this._tabs))})),this.updatePageMeta=p=>{this.pageMetaService.setIsMetaClearable(!0),this.pageMetaService.clearMeta(),this.pageMetaService.setPageMeta({type:"website"===p.ogType?p.ogType:"website",title:p.title||"",description:p.description||"",canonicalUrl:p.canonicalUrl||"",siteName:null,twitterCard:"summary_large_image"===p.card?p.card:"summary_large_image",image:{url:p.imageUrl||"",height:Number(p.imageHeight)||P.l,width:Number(p.imageWidth)||P.fF}}),this.pageMetaService.setIsMetaClearable(!1)},this.addSchemaMetaData=p=>{!p||this.headService.addElementToHead((0,E.F8)(p))},this.selectedItem$=this.ar.queryParamMap.pipe((0,I.U)(p=>p?.get("playing")),(0,R.w)(p=>!isNaN(Number(p))&&Number(p)>0?this.partialsDataService.getVideoPlayerCardPartial(Number(p)).pipe((0,I.U)(D=>(0,X.ar)(D)?D:void 0)):(0,Q.of)(void 0)),(0,W.b)(p=>{p&&p.seo&&this.updatePageMeta(p.seo)}),(0,I.U)(p=>{if(p)return p.data}),(0,J.R)(this.ngOnDestroy$)),this.shouldShowNewEntityHub$=(0,w.a)([(0,Q.of)((0,K.vm)(this.router.url)),this.es.isInVariation(L.Mi,L.vY,this.router.url.startsWith("/people/")),this.es.isInVariation(L.t1,L.IY,!!this.router.url.match(/^\/collections\/(\d+)/))]).pipe((0,R.w)(([p,D,Z])=>(0,Q.of)(p||D&&this.router.url.startsWith("/people/")||Z&&!!this.router.url.match(/^\/collections\/(\d+)/))),(0,O.d)(1)),this.entityHubResponse$=(0,w.a)([this.shouldShowNewEntityHub$,this.ar.queryParamMap,this.ar.paramMap,this.childParams$,this.tabChanged$.pipe((0,N.O)(void 0))]).pipe((0,N.O)([]),(0,te.G)(),(0,y.h)(([[,p,D,Z],[ue,$e,je,Ht]])=>(this._isSameEntityHub=!!Ht?.get("tab")&&Z?.get("tab")===Ht?.get("tab")&&(0,K.zv)(je.get("
1collectionId")||je.get("nodeId"))===(0,K.zv)(D.get("collectionId")||D.get("nodeId")),!!ue&&(0,K.mx)(p||(0,c.convertToParamMap)({}),$e||(0,c.convertToParamMap)({}),Z||(0,c.convertToParamMap)({}),Ht||(0,c.convertToParamMap)({}),D||(0,c.convertToParamMap)({}),je||(0,c.convertToParamMap)({})))),(0,W.b)(p=>this.isLoading$.next(!0)),(0,R.w)(([[,,p],[,D,Z,ue,$e]])=>(this.scrollToTop(Z,p),this.paginate$.next(void 0),this.tabChanged$.next(void 0),this.headerCta1ButtonClick$.next(void 0),this.getEntityHubExperience(Z,D,!!$e,ue))),(0,W.b)(p=>this.isLoading$.next(!1)),(0,O.d)(1)),this.layout$=(0,w.a)([this.entityHubResponse$,this.headerCta1ButtonClick$.pipe((0,N.O)(void 0)),this.isAhlBracketsEnabled$.pipe((0,N.O)(!1))]).pipe((0,R.w)(([p,D,Z])=>{if(D?.apiCall)return this.favoriteService.setHasUpdatedFavorites(!0),this.entityHubDataService.favoriteAndRefetchEntityHubLayout(D.apiCall,this._id,this._tab,this._queryParams);if(p&&(0,X.zI)(p)){const ue=this._nodeSlug&&Z?(0,se.N8)(p,this._nodeSlug):p;return this._tabs=ue.nav.items.filter(X.aw),this.tabSubject$.next(this._tabs),(0,Q.of)(ue)}return(0,Q.of)(void 0)}),(0,y.h)(X.bb),(0,O.d)(1)),this.signupCta$=this.layout$.pipe((0,I.U)(K.VX),(0,N.O)(null),(0,O.d)({bufferSize:1,refCount:!0})),this.paginatedResponse$=(0,w.a)([this.entityHubResponse$,this.paginate$.pipe((0,N.O)(void 0),(0,R.w)(p=>p?.url?(this.segmentService.trackEvent({name:ee.AA.INFINITE_SCROLL,properties:{page:p.analytics?.extraContext?.page}}),this.entityHubDataService.getEntityHubPaginatedPartial(p.url)):(0,Q.of)(void 0)))]).pipe((0,z.R)((p,[D,Z])=>(0,K.dQ)(p,Z,D),void 0)),this.scrollToTop=(p,D)=>{this.ps.isBrowser&&(0,K.zv)(p?.get("collectionId")||p?.get("nodeId"))!==(0,K.zv)(D?.get("collectionId")||D?.get("nodeId"))&&this.window.scroll(0,0)},this.partial$=this.paginatedResponse$.pipe((0,I.U)(p=>{if((0,X.i0)(p)||(0,X.Yz)(p)||(0,X.TG)(p))return p}),(0,O.d)(1)),this.message$=this.entityHubResponse$.pipe((0,I.U)(p=>{if(p&&(0,X.I5)(p))return p.sections.find(X.X6)})),this.loadedAds$=new j.X([]),this.adConfigMap=new Map,this.adLoadedOnChildView=p=>{this.loadedAds$.next([...this.loadedAds$.getValue(),p.instance])},this.sportAdCategory$=this.ar.paramMap.pipe((0,I.U)(p=>{const D=!0===this.ar.snapshot?.data?.deriveAdCategoryFromSlug,Z=p.get("nodeId");return(D&&Z?(0,oe.jw)(Z):"")||null}),(0,V.x)()),this.adTargeting$=(0,w.a)([this.layout$,this.authService.isPremium$,this.sportAdCategory$]).pipe((0,I.U)(([p,D,Z])=>{const ue=p&&(0,X.zI)(p)?{contentIds:p.adTargeting.aggregatedNodeIds,categorySlugs:p.adTargeting.aggregatedCategorySlugs,isPremium:p.adTargeting.isUserPremium}:{isPremium:D};if(!Z)return ue;const $e=Array.from(new Set([...ue.categorySlugs??[],Z]));return{...ue,categorySlugs:$e}}),(0,V.x)(M.Y.equals),(0,O.d)(1)),this.refreshAds$=this.adTargeting$.pipe((0,q.M)(this.loadedAds$),(0,R.w)(p=>{const[D,Z]=p;return this.log.trace("Entity Collections: updating ad targeting for subsequent view"),this.updateAdTargeting.updateLoadedAdsTargeting(D,Z).pipe((0,I.U)(ue=>p))}),(0,R.w)(([p,D])=>(this.log.trace("Entity Collections: ad refresh triggered for subsequent view",{targeting:p}),this.updateAdTargeting.refreshLoadedAds(D))),(0,J.R)(this.ngOnDestroy$)).subscribe(),this.AdComponent=a.e(7996).then(a.bind(a,17996)).then(p=>p.AdComponent),this.loadedAdsPush=p=>{this.loadedAds$.next([...this.loadedAds$.getValue(),p.instance])},this.adConfigs$=this.adTargeting$.pipe((0,I.U)(p=>(this.adConfigMap.set("skin",{config:{adConfig:(0,M.$)("collections/atf",re.E6,"collection-skin",p),additionalOpts:{deferClick:l.N.advertising.preventClickTimeout}}}),this.adConfigMap.set("leaderboard-large",{config:{adConfig:(0,M.$)("collections/728x90_flex",re.HA,"leaderboard-large",p),additionalOpts:{deferClick:l.N.advertising.preventClickTimeout}}}),this.adConfigMap.set("leaderboard-small",{config:{adConfig:(0,M.$)("collections/728x90_flex",re.Ze,"leaderboard-small",p),additionalOpts:{deferClick:l.N.advertising.preventClickTimeout}}}),this.adConfigMap.set("content-mobile",{config:{adConfig:(0,M.$)("collections/728x90_flex",re.Ze,"content-mobile",p),additionalOpts:{maxRefreshTime:3e4}}}),this.adConfigMap.set("adhesion",{config:{adConfig:(0,M.$)("collections/adhesion",re.gM,"adhesion",p),additionalOpts:{maxRefreshTime:3e4}}}),this.adConfigMap.set("rectangle-mobile",{config:{adConfig:(0,M.$)("collections/300x250_1",re.$N,"rectangle-mobile",p)}}),this.adConfigMap))),this.updatePageHeadOnLayout$=this.layout$.pipe((0,W.b)(p=>{p?.seo&&(this.updatePageMeta(p.seo),this.addSchemaMetaData(p.seo.schema))}),(0,J.R)(this.ngOnDestroy$)).subscribe(),this.updatePageHeadOnPartial$=this.partial$.pipe((0,V.x)((p,D)=>p?.seo?.title===D?.seo?.title),(0,W.b)(p=>{p?.seo&&this.updatePageMeta(p.seo)}),(0,J.R)(this.ngOnDestroy$)).subscribe(),this.trackSegmentPage=(0,w.a)([this.layout$,this.authService.loggedIn$]).pipe((0,y.h)(([p,D])=>!D||!!p?.analytics?.extraContext&&"isFavorite"in p?.analytics?.extraContext),(0,I.U)(([p,D])=>p),(0,y.h)(p=>!!p?.analytics),(0,V.x)((p,D)=>
1p.analytics.entityId===D.analytics.entityId),(0,I.U)(p=>p.analytics),(0,W.b)(p=>{this.segmentService.pageV2({page_category:p.extraContext?.pageCategory||"Collection",subpage_category:p.extraContext?.subpageCategory,category:p.entityType||null,node_type:p.entityType||void 0,autoPageCall:!1},{_tag:"collection",node_id:p.entityId||void 0,content_tags:p.extraContext?.contentTags||void 0,is_favorite:p.extraContext?.isFavorite})}),(0,J.R)(this.ngOnDestroy$)).subscribe(),this.preloadPlayoffsModule$=this.isAhlBracketsEnabled$.pipe((0,y.h)(p=>p),(0,J.R)(this.ngOnDestroy$)).subscribe(()=>{a.e(214).then(a.bind(a,70214)).catch(()=>{})})}onStickyVideoPlayed(){this.collectionsRailQueue.next()}handleTabClicked(o){this.tabChanged$.next(o)}handleToggleClicked(o){o.action.url&&this.router.navigateByUrl(o.action.url)}handleNextPage(o){this.paginate$.next(o)}handleHeaderCta1ButtonClick(o){this.headerCta1ButtonClick$.next(o)}favoriteCollection(o){if(this._queryParams?.get("coreNodeId")&&o){const m=this._queryParams?.keys.reduce((t,n)=>({...t,[n]:this._queryParams?.get(n)}),{});return this.entityHubDataService.favoriteAndRefetchEntityHubLayout(o,this._id,this._tab,this._queryParams).pipe((0,W.b)(t=>{this.router.navigate([],{queryParams:{...m,coreNodeId:null}})}))}}getEntityHubExperience(o,m,t,n){return this._queryParams=m,this._tab=(0,K.cM)(n?.get("tab")),this._nodeSlug=o.get("nodeId"),this._id=(0,K.zv)(o.get("collectionId")||o.get("nodeId")),this._id&&this._tab&&(t||this._isSameEntityHub||"minimal"===this._queryParams?.get("viewMode"))?this.entityHubDataService.getEntityHubPartial(this._id,this._tab,this._queryParams).pipe((0,W.b)(i=>{this.isPartialError$.next(!i)})):this._id?this.entityHubDataService.getEntityHubLayoutWithCacheWrapper(this._id,this._tab,this._queryParams).pipe((0,W.b)(i=>{this.isLayoutError$.next(!i)}),(0,R.w)(i=>this.favoriteCollection(i?.header?.cta1?.apiCall)||(0,Q.of)(i))):(0,Q.of)(void 0)}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete(),this.loadedAds$.complete(),this.tabChanged$.complete(),this.paginate$.complete(),this.isLoading$.complete(),this.isLayoutError$.complete(),this.isPartialError$.complete(),this.headerCta1ButtonClick$.complete(),this.pageMetaService.clearMeta(),this.headService.removeElement(E.oL)}}return s.\u0275fac=function(o){return new(o||s)(e.\u0275\u0275directiveInject(c.ActivatedRoute),e.\u0275\u0275directiveInject(be.j),e.\u0275\u0275directiveInject(De.J),e.\u0275\u0275directiveInject(c.Router),e.\u0275\u0275directiveInject(Ee.e),e.\u0275\u0275directiveInject(Ie.u),e.\u0275\u0275directiveInject(P.de),e.\u0275\u0275directiveInject(Se.BP),e.\u0275\u0275directiveInject(ge.m),e.\u0275\u0275directiveInject(Fe.r),e.\u0275\u0275directiveInject(Re.e),e.\u0275\u0275directiveInject(Pe.W),e.\u0275\u0275directiveInject(he.Qt),e.\u0275\u0275directiveInject(xe),e.\u0275\u0275directiveInject(Y.te),e.\u0275\u0275directiveInject(H.m))},s.\u0275cmp=e.\u0275\u0275defineComponent({type:s,selectors:[["ng-component"]],features:[e.\u0275\u0275ProvidersFeature([xe])],decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["error",""],["oldCollection",""],[3,"selectedItem","layout","geoBlockedIds","signupCtaItem","selectedTab","partial","isLoading","isPartialError","hideRightRail","stickyRightRail","message","adConfigMap","lazyLoadedAdRef","tabClicked","toggleClicked","nextPage","layoutHeaderCtaButton"],["right-rail-top","",3,"currentVideo","played",4,"ngIf"],["right-rail-top","",3,"currentVideo","played"],[1,"container","bg-white","min-vh-100","py-5"]],template:function(o,m){if(1&o&&(e.\u0275\u0275template(0,Bt,3,4,"ng-container",0),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275template(2,Vt,2,0,"ng-template",null,1,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(4,Nt,1,0,"ng-template",null,2,e.\u0275\u0275templateRefExtractor)),2&o){const t=e.\u0275\u0275reference(5);e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(1,2,m.shouldShowNewEntityHub$))("ngIfElse",t)}},dependencies:[de.O5,fn,rt.q,Te.P,Ne,de.Ov],encapsulation:2,changeDetection:0}),s})()},79757:(me,ce,a)=>{a.d(ce,{FE:()=>re,Xq:()=>y,Yt:()=>te,_3:()=>z,_P:()=>w,_e:()=>W,di:()=>Q,fL:()=>I,h_:()=>J,nv:()=>q,sK:()=>l});
1const y={clientCode:"ahl",displayName:"American Hockey League",nodeIds:["10826833"],rounds:[{label:"First Round",bestOf:3},{label:"Division Semifinals",bestOf:5},{label:"Division Finals",bestOf:5},{label:"Conf. Finals",bestOf:7},{label:"Calder Cup Finals",bestOf:7}],reseededAfterRounds:[1],championshipName:"Calder Cup Finals"},N={ahl:y,echl:{clientCode:"echl",displayName:"ECHL",nodeIds:["10824633"],rounds:[{label:"Division Semifinals",bestOf:7},{label:"Division Finals",bestOf:7},{label:"Conference Finals",bestOf:7},{label:"Kelly Cup Finals",bestOf:7}],championshipName:"Kelly Cup Finals"},ohl:{clientCode:"ohl",displayName:"Ontario Hockey League",nodeIds:["10826825"],rounds:[{label:"Round 1",bestOf:7},{label:"Round 2",bestOf:7},{label:"Conference Championship",bestOf:7},{label:"J. Ross Robertson Cup",bestOf:7}],championshipName:"J. Ross Robertson Cup"}},k=/[.*+?^${}()|[\]\\]/g,O=Object.values(N).map(M=>({config:M,patterns:M.nodeIds.map(X=>new RegExp(`(?:^|/)${X.replace(k,"\\$&")}(?=[-/]|$)`))})),I=M=>M.rounds.length,w=(M,X)=>M.rounds[X-1]?.label??`Round ${X}`,Q=(M,X)=>M.rounds[X-1]?.bestOf??7,J=M=>M.westernConferenceName??"Western Conference",W=M=>M.easternConferenceName??"Eastern Conference",te=(M,X)=>M.reseededAfterRounds?.includes(X)??!1,z=(M,X)=>Math.abs(I(M)-X)%2==1;function q(M){if(M)return O.find(({patterns:X})=>X.some(K=>K.test(M)))?.config}function l(M){return(M.queryOverride?N[M.queryOverride.toLowerCase()]:void 0)??q(M.urlSlug??"")??y}function re(M,X,K=3){const oe=M??[];return(oe.length>0?oe:(X??[]).filter(S=>/playoffs?/i.test(S.name))).slice(0,K).map(S=>({id:S.id,name:S.name}))}},55795:(me,ce,a)=>{a.d(ce,{KB:()=>R,N8:()=>V});var c=a(79757),j=(()=>{return(N=j||(j={})).Schedule="Schedule",N.Standings="Standings",N.Playoffs="Playoffs",j;var N})();const y=N=>"link"===N.type;function R(N){return!!(0,c.nv)(N)}function V(N,k,O=!1){if(!R(k))return N;const I=`/leagues/${k}/playoffs`,w=N.nav.items.find(Y=>y(Y)&&(Y.url===I||"playoffs"===Y.id)),Q=N.nav.items.filter(Y=>!(y(Y)&&(Y.url===I||"playoffs"===Y.id))),J=w&&y(w)?{...w,state:O?"selected":w.state}:{type:"link",id:"playoffs",title:j.Playoffs,url:I,style:"navigation:sub",nextStyle:null,nodeId:null,nodeType:null,analytics:null,shareUrl:null,state:O?"selected":"unselected",apiCall:null,target:null,mergeParams:null,contentMetadata:null,badge:null,asset:null,secondaryAsset:null,screenType:"unknown"},W=Q.findIndex(Y=>y(Y)&&Y.title===j.Schedule),te=Q.findIndex(Y=>y(Y)&&Y.title===j.Standings),z=-1!==W?W+1:-1!==te?te:Q.length,q=[...Q];q.splice(z,0,J);let l=q;return O&&(l=l.map(Y=>y(Y)&&"playoffs"!==Y.id&&"selected"===Y.state?{...Y,state:"unselected"}:Y)),{...N,nav:{...N.nav,items:l}}}},88111:(me,ce,a)=>{a.d(ce,{D:()=>R});var c=a(94650),j=a(26520);const y=["*"];let R=(()=>{class V{constructor(){this.tabTitle="Tab",this.active=!1,this.route="",this.analyticsName=""}}return V.\u0275fac=function(k){return new(k||V)},V.\u0275cmp=c.\u0275\u0275defineComponent({type:V,selectors:[["old-flo-tab"]],inputs:{tabTitle:"tabTitle",active:"active",route:"route",analyticsName:"analyticsName",count:"count",qp:"qp",analytics:"analytics"},ngContentSelectors:y,decls:2,vars:3,consts:[["role","tabpanel","tabIndex","-1",1,"pane",3,"hidden","routerLink","queryParams"]],template:function(k,O){1&k&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"a",0),c.\u0275\u0275projection(1),c.\u0275\u0275elementEnd()),2&k&&c.\u0275\u0275property("hidden",!O.active)("routerLink",O.route)("queryParams",O.qp)},dependencies:[j.RouterLinkWithHref],encapsulation:2}),V})()},502:(me,ce,a)=>{a.d(ce,{w:()=>se});var c=a(94650),j=a(63900),y=a(68675),R=a(54004),V=a(34782),N=a(4707),k=a(39047),O=a(57559),I=a(88111),w=a(14140),Q=a(70477),J=a(26520),W=a(36895),te=a(25108),z=a(87833);function q(S,ee){if(1&S&&(c.\u0275\u0275elementStart(0,"span",7),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&S){const P=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1("(",P.count,") ")}}function l(S,ee){if(1&S){const P=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",4),c.\u0275\u0275pipe(1,"async"),c.\u0275\u0275elementStart(2,"a",5),c.\u0275\u0275listener("click",function(L){const G=c.\u0275\u0275restoreView(P).$implicit,U=c.\u0275\u0275nextContext().ngIf,e=c.\u0275\u0275nextContext();
1return c.\u0275\u0275resetView(e.updateTab(G,L,U))}),c.\u0275\u0275pipe(3,"lowercase"),c.\u0275\u0275text(4),c.\u0275\u0275pipe(5,"titlecase"),c.\u0275\u0275template(6,q,2,1,"span",6),c.\u0275\u0275elementEnd()()}if(2&S){const P=ee.$implicit,H=c.\u0275\u0275nextContext(2);c.\u0275\u0275classProp("tab-active",P.active)("flex-tab",c.\u0275\u0275pipeBind1(1,8,H.tabClass$)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pipeBind1(3,10,P.route))("queryParams",P.qp),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1("",c.\u0275\u0275pipeBind1(5,12,P.tabTitle)," "),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",P.count)}}function Y(S,ee){if(1&S&&(c.\u0275\u0275elementStart(0,"span",7),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&S){const P=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1("(",P.count,") ")}}function re(S,ee){if(1&S){const P=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",14),c.\u0275\u0275pipe(1,"async"),c.\u0275\u0275elementStart(2,"a",15),c.\u0275\u0275listener("click",function(L){const G=c.\u0275\u0275restoreView(P).$implicit,U=c.\u0275\u0275nextContext(2).ngIf,e=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(e.updateTab(G,L,U))}),c.\u0275\u0275pipe(3,"lowercase"),c.\u0275\u0275text(4),c.\u0275\u0275pipe(5,"titlecase"),c.\u0275\u0275template(6,Y,2,1,"span",6),c.\u0275\u0275elementEnd()()}if(2&S){const P=ee.$implicit,H=c.\u0275\u0275nextContext(3);c.\u0275\u0275classProp("tab-active",P.active)("flex-tab",c.\u0275\u0275pipeBind1(1,8,H.tabClass$)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pipeBind1(3,10,P.route))("queryParams",P.qp),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",c.\u0275\u0275pipeBind1(5,12,P.tabTitle)," "),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",P.count)}}const M=function(){return[]};function X(S,ee){if(1&S){const P=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",8),c.\u0275\u0275listener("openChange",function(L){c.\u0275\u0275restoreView(P);const E=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(E.handleOpenChange(L))}),c.\u0275\u0275pipe(1,"async"),c.\u0275\u0275elementStart(2,"a",9),c.\u0275\u0275text(3,"More "),c.\u0275\u0275elementStart(4,"span",10),c.\u0275\u0275element(5,"flo-svg-icon",11),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"ul",12),c.\u0275\u0275template(7,re,7,14,"li",13),c.\u0275\u0275elementEnd()()}if(2&S){const P=c.\u0275\u0275nextContext().ngIf,H=c.\u0275\u0275nextContext();c.\u0275\u0275classProp("flex-tab",c.\u0275\u0275pipeBind1(1,7,H.tabClass$)),c.\u0275\u0275advance(2),c.\u0275\u0275property("routerLink",c.\u0275\u0275pureFunction0(9,M)),c.\u0275\u0275advance(2),c.\u0275\u0275classProp("rotate-svg-180",H.dropdownExpanded),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngForOf",P.collapsibleTabs)("ngForTrackBy",H.trackByCollapsibleTab)}}function K(S,ee){if(1&S&&(c.\u0275\u0275elementStart(0,"ul",1),c.\u0275\u0275template(1,l,7,14,"li",2),c.\u0275\u0275template(2,X,8,10,"li",3),c.\u0275\u0275elementEnd()),2&S){const P=ee.ngIf,H=c.\u0275\u0275nextContext();c.\u0275\u0275classProp("no-dropdown",!1===P.dropdownActive),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",P.primaryTabs)("ngForTrackBy",H.trackByPrimaryTab),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",P.collapsibleTabs&&(null==P.collapsibleTabs?null:P.collapsibleTabs.length))}}const oe=["*"];let se=(()=>{class S{constructor(P,H){this.userAgentService=P,this.segment=H,this.limit=5,this.currentTab=new c.EventEmitter,this.ngAfterContentInit$=new N.t(1),this.primaryTabs=[],this.collapsibleTabs=[],this.dropdownExpanded=!1,this.dropdownActive=!1,this.tabChanges$=this.ngAfterContentInit$.pipe((0,j.w)(()=>this.tabs.changes.pipe((0,y.O)(this.tabs))),(0,R.U)(L=>L.toArray()),(0,V.d)(1)),this.tabClass$=this.tabChanges$.pipe((0,R.U)(L=>L.length),(0,R.U)(L=>L>3),(0,V.d)(1)),this.buildTabList$=this.tabChanges$.pipe((0,R.U)(L=>{const E=this.userAgentService.userAgent.isDesktop?this.limit:3,G=L.slice(0,E),U=E<L.length?L.slice(E,L.length):[];return E<L.length?{dropdownActive:!0,primaryTabs:G,collapsibleTabs:U}:{dropdownActive:!1,primaryTabs:L.map(e=>({...e,primaryTab:!0})),collapsibleTabs:U}}),(0,V.d)(1)),this.trackByPrimaryTab=(L,E)=>E.tabTitle,this.trackByCollapsibleTab=(L,E)=>E.tabTitle}updateTab(P,H,L){L.primaryTabs?.forEach(E=>E.active=!1),L.collapsibleTabs?.forEach(E=>E.active=!1),P.active=!0,this.currentTab.emit(P),this.dropdownActive=!P.primaryTab,this.tabs.setDirty(),H.stopPropagation(),this.segment.track(k.AA.TAB_CLICKED,{name:P.analyticsName||(0,O.ZV)(P.tabTitle)})}ngAfterContentInit(){this.ngAfterContentInit$.next(),this.ngAfterContentInit$.complete()}handleOpenChange(P){this.dropdownExpanded=P}}
1return S.\u0275fac=function(P){return new(P||S)(c.\u0275\u0275directiveInject(w.VH),c.\u0275\u0275directiveInject(Q.BP))},S.\u0275cmp=c.\u0275\u0275defineComponent({type:S,selectors:[["old-flo-tabs"]],contentQueries:function(P,H,L){if(1&P&&c.\u0275\u0275contentQuery(L,I.D,4),2&P){let E;c.\u0275\u0275queryRefresh(E=c.\u0275\u0275loadQuery())&&(H.tabs=E)}},inputs:{limit:"limit"},outputs:{currentTab:"currentTab"},ngContentSelectors:oe,decls:3,vars:3,consts:[["class","tabs-container border-bottom-0 mb-0","data-test","tabs-container","role","tablist",3,"no-dropdown",4,"ngIf"],["data-test","tabs-container","role","tablist",1,"tabs-container","border-bottom-0","mb-0"],["class","tab-label",3,"tab-active","flex-tab",4,"ngFor","ngForOf","ngForTrackBy"],["class","tab-label","ngbDropdown","",3,"flex-tab","openChange",4,"ngIf"],[1,"tab-label"],[1,"font-family-regular","nav-link","apply-text-active","p-0","h-100","w-100","d-flex","align-items-center","justify-content-center",3,"routerLink","queryParams","click"],["class","count apply-text-active flo-footnote",4,"ngIf"],[1,"count","apply-text-active","flo-footnote"],["ngbDropdown","",1,"tab-label",3,"openChange"],["tabIndex","0","ngbDropdownToggle","",1,"font-family-regular","nav-link","apply-text-active","d-flex","align-items-center",3,"routerLink"],[1,"dropdown-arrow"],["icon","angle-down","width","2em",1,"svg-vertical-align-top"],["ngbDropdownMenu",""],["class","tab-label","ngbDropdownItem","",3,"tab-active","flex-tab",4,"ngFor","ngForOf","ngForTrackBy"],["ngbDropdownItem","",1,"tab-label"],[1,"font-family-regular","nav-link","apply-text-hover","apply-text-active","p-0","h-100","w-100","d-flex","align-items-center","justify-content-center",3,"routerLink","queryParams","click"]],template:function(P,H){1&P&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275template(0,K,3,5,"ul",0),c.\u0275\u0275pipe(1,"async"),c.\u0275\u0275projection(2)),2&P&&c.\u0275\u0275property("ngIf",c.\u0275\u0275pipeBind1(1,1,H.buildTabList$))},dependencies:[J.RouterLinkWithHref,W.sg,W.O5,te.jt,te.iD,te.Vi,te.TH,z.b,W.Ov,W.i8,W.rS],styles:["li.more-tabs[_ngcontent-%COMP%]{position:relative}.dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown-menu.show[_ngcontent-%COMP%]{display:-moz-flex;display:flex;flex-direction:column}a.nav-link[_ngcontent-%COMP%], .count[_ngcontent-%COMP%]{color:inherit}.dropdown-menu[_ngcontent-%COMP%]{min-width:inherit;width:100%;top:95%;left:0;padding:0;box-shadow:0 8px 10px #0000001a;border:none}.dropdown-menu[_ngcontent-%COMP%]   .tab-active[_ngcontent-%COMP%], .dropdown-menu[_ngcontent-%COMP%]   .tab-label[_ngcontent-%COMP%]{border-bottom:none}.flex-tab[_ngcontent-%COMP%]{min-width:inherit}.tab-label[_ngcontent-%COMP%]{flex-basis:inherit;border-top:none}@media (max-width: 768px){.tab-label[_ngcontent-%COMP%]:first-of-type{padding-left:0}}.no-borders[_nghost-%COMP%]   ul.tabs-container[_ngcontent-%COMP%], .no-borders   [_nghost-%COMP%]   ul.tabs-container[_ngcontent-%COMP%]{border:none}"],changeDetection:0}),S})()},3253:(me,ce,a)=>{a.d(ce,{I:()=>y});var c=a(95839);function y(R,V,N){return"event"===R.type?(0,c.XY)(R,V):function j(R,V,N){return{name:R.title,item_order:V,array_length:N,node_id:R.id,node_type:R.type,is_premium:R.premium,primary_association_id:R.node&&R.node.primary_event_or_series_association&&R.node.primary_event_or_series_association.id,primary_association_title:R.node&&R.node.primary_event_or_series_association&&R.node.primary_event_or_series_association.title}}(R,V,N)}},95839:(me,ce,a)=>{a.d(ce,{SM:()=>Oe,XY:()=>Le,Lg:()=>Ae});var c=a(49671),j=a(4707),y=a(39646),R=a(39841),V=a(63900),N=a(34782),k=a(54004),O=a(82722),I=a(39300),w=a(55018),Q=a(57959);const J=C=>C.node&&C.node.supporters?C.node.supporters.filter(ie=>"partner"===ie.supporter_type)[0]:void 0,W=C=>{const ie=J(C),A=C.drill_through_link;return(ie&&ie.slug_uri)===(A&&A.slug_uri)};var te=a(7069),z=a(83423),q=a(26656),l=a(94650),Y=a(5201),re=a(51011),M=a(93962),X=a(14814),K=a(36895),oe=a(26520),se=a(39137),S=a(74372),ee=a(93834),P=a(62641),H=a(93499),L=a(44584),E=a(89046);let G=(()=>{class C{constructor(b){this.ngOnDestroy$=new j.t(1),this.nativeElement$=new j.t(1),this.date$=new j.t(1),this.endDate$=new j.t(1),this.variant$=new j.t(1),this.tbd$=new j.t(1),this.textContent$=(0,R.a)([this.date$,this.endDate$,this.variant$,this.tbd$]).pipe((0,k.U)(([A,ne,le,F])=>ne?this.getDateRangeDisplayText(A,ne,le,F):this.getDateDisplayText(A,le,F))),this.updateNativeElement=(0,R.a)([this.textContent$,this.date$,this.nativeElement$]).pipe((0,O.R)(this.ngOnDestroy$)).subscribe(([A,ne,le])=>{le.textContent=A,le.dateTime=ne}),this.getDateDisplayText=(A,ne,le)=>{switch(ne){case 3:return(0,ee.Z)((0,E.legacyParse)(A))?this.setDateFormat(A,le,"MMM d","h:mm a, MMM d"):this.setDateFormat(A,le,"MMM d, yyyy","h:mm a, MMM d, yyyy");case 2:return(0,ee.Z)((0,E.legacyParse)(A))?(0,z.vw)(A,"MMM d"):(0,z.vw)(A,"MMM d, yyyy");case 1:return le?`${(0,z.vw)(A,"yyyy-MM-dd")} TBD`:(0,z.vw)(A,"yyyy-MM-dd HH:mm:ss");default:return A.toString()}},this.getDateRangeDisplayText=(A,ne,le,F)=>{switch(le){case 3:return(0,P.Z)((0,E.legacyParse)(A),(0,E.legacyParse)(ne))?this.getDateDisplayText(A,le,F):(0,H.Z)((0,E.legacyParse)(A),(0,E.legacyParse)(ne))?`${this.setDateFormat(A,F,"MMM d","h:mm a, MMM d")} - ${(0,ee.Z)((0,E.legacyParse)(ne))?(0,z.vw)(ne,"d"):(0,z.vw)(ne,"d, yyyy")}`:(0,L.Z)((0,E.legacyParse)(A),(0,E.legacyParse)(ne))?`${this.setDateFormat(A,F,"MMM d","h:mm a, MMM d")} - ${(0,ee.Z)((0,E.legacyParse)(ne))?(0,z.vw)(ne,"MMM d"):(0,z.vw)(ne,"MMM d, yyyy")}`:`${this.getDateDisplayText(A,le,F)} - ${this.getDateDisplayText(ne,le,F)}`;case 2:return(0,P.Z)((0,E.legacyParse)(A),(0,E.legacyParse)(ne))?this.getDateDisplayText(A,le,F):(0,H.Z)((0,E.legacyParse)(A),(0,E.legacyParse)(ne))?`${(0,z.vw)(A,"MMM d")} - ${(0,ee.Z)((0,E.legacyParse)(ne))?(0,z.vw)(ne,"d"):(0,z.vw)(ne,"d, yyyy")}`:(0,L.Z)((0,E.legacyParse)(A),(0,E.legacyParse)(ne))?`${(0,z.vw)(A,"MMM d")} - ${(0,ee.Z)((0,E.legacyParse)(ne))?(0,z.vw)(ne,"MMM d"):(0,z.vw)(ne,"MMM d, yyyy")}`:`${this.getDateDisplayText(A,le,F)} - ${this.getDateDisplayText(ne,le,F)}`;default:return`${this.getDateDisplayText(A,le,F)} - ${this.getDateDisplayText(ne,le,F)}`}},this.nativeElement$.next(b.nativeElement),this.variant$.next(0)}set date(b){void 0!==b&&this.date$.next((0,z.vw)(b))}set endDate(b){this.endDate$.next(b?(0,z.vw)(b):void 0)}set variant(b){this.variant$.next(1*b)}set isTbd(b){this.tbd$.next(b||!1)}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}setDateFormat(b,A,ne,le){return A?`TBD, ${(0,z.vw)(b,`${ne}`)}`:(0,z.vw)(b,`${le}`)}}return C.\u0275fac=function(b){return new(b||C)(l.\u0275\u0275directiveInject(l.ElementRef))},C.\u0275dir=l.\u0275\u0275defineDirective({type:C,selectors:[["time","floDisplayDate",""]],inputs:{date:"date",endDate:"endDate",variant:"variant",isTbd:"isTbd"}}),C})();var U=a(1447);function e(C,ie){1&C&&l.\u0275\u0275element(0,"span",15),2&C&&l.\u0275\u0275property("textContent",", ")}function Ce(C,ie){if(1&C&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"span",14),l.\u0275\u0275pipe(2,"async"),l.\u0275\u0275template(3,e,1,1,"span",9),l.\u0275\u0275elementContainerEnd()),2&C){const b=ie.ngIf,A=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(1),l.\u0275\u0275property("ngClass",l.\u0275\u0275pipeBind1(2,3,A.displayTextClass$))("textContent",b),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!!b)}}function he(C,ie){1&C&&l.\u0275\u0275element(0,"span",16),2&C&&l.\u0275\u0275property("textContent","- Unavailable in your area")}function ge(C,ie){if(1&C&&(l.\u0275\u0275elementStart(0,"div",11),l.\u0275\u0275template(1,Ce,4,5,"ng-container",4),l.\u0275\u0275pipe(2,"async"),l.\u0275\u0275element(3,"time",12),l.\u0275\u0275template(4,he,1,1,"span",13),l.\u0275\u0275elementEnd()),2&C){const b=ie.ngIf,A=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",l.\u0275\u0275pipeBind1(2,6,A.displayText$)),l.\u0275\u0275advance(2),l.\u0275\u0275property("date",b.startDate)("endDate",b.endDate)("variant",b.displayDateVariant)("isTbd",null==b.live_event?null:b.live_event.start_time_tbd),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",b.is_geoblocked)}}function ye(C,ie){if(1&C&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"a",17),l.\u0275\u0275pipe(2,"async"),l.\u0275\u0275pipe(3,"async"),l.\u0275\u0275elementContainerEnd()),2&C){const b=l.\u0275\u0275nextContext().ngIf,A=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275propertyInterpolate2("href","",l.\u0275\u0275pipeBind1(2,5,A.siteUrl),"/nextgen",b.slug_uri,"",l.\u0275\u0275sanitizeUrl),l.\u0275\u0275property("name",b.short_title)("analyticsProperties",l.\u0275\u0275pipeBind1(3,7,A.analytics$))("textContent",b.short_title)}}function xe(C,ie){if(1&C&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"a",18),l.\u0275\u0275pipe(2,"async"),l.\u0275\u0275elementContainerEnd()),2&C){const b=l.\u0275\u0275nextContext().ngIf,A=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("routerLink",b.slug_uri)("name",b.short_title)("analyticsProperties",l.\u0275\u0275pipeBind1(2,4,A.analytics$))("textContent",b.short_title)}}function be(C,ie){if(1&C&&l.\u0275\u0275element(0,"div",19),2&C){const b=l.\u0275\u0275nextContext().ngIf;l.\u0275\u0275property("textContent","Sponsored By "+b.sponsor.title)}}function De(C,ie){if(1&C&&l.\u0275\u0275element(0,"a",20),2&C){const b=ie.ngIf;l.\u0275\u0275property("routerLink",b.slug_uri)("textContent",b.name)}}function Ee(C,ie){1&C&&l.\u0275\u0275element(0,"span",15),2&C&&l.\u0275\u0275property("textContent",", ")}function Ie(C,ie){if(1&C&&l.\u0275\u0275element(0,"a",21),2&C){const b=l.\u0275\u0275nextContext().ngIf;l.\u0275\u0275property("routerLink",b.partner.slug_uri)("textContent",b.partner.title)}}function Se(C,ie){if(1&C&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"a",27)(2,"div",28),l.\u0275\u0275element(3,"img",29),l.\u0275\u0275pipe(4,"async"),l.\u0275\u0275pipe(5,"floImage"),l.\u0275\u0275element(6,"i",30)(7,"div",31),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()),2&C){const b=l.\u0275\u0275nextContext().ngIf;l.\u0275\u0275advance(1),l.\u0275\u0275property("routerLink",b.routerLink)("name",b.name)("analyticsProperties",b.analyticsProperties),l.\u0275\u0275advance(2),l.\u0275\u0275property("src",l.\u0275\u0275pipeBind1(4,4,l.\u0275\u0275pipeBind2(5,6,b.thumbnail,149)),l.\u0275\u0275sanitizeUrl)}}function Fe(C,ie){if(1&C&&(l.\u0275\u0275elementStart(0,"a",26),l.\u0275\u0275pipe(1,"async"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()),2&C){const b=l.\u0275\u0275nextContext().ngIf,A=l.\u0275\u0275nextContext(2);l.\u0275\u0275classProp("d-md-none",b.thumbnail)("resume-button",l.\u0275\u0275pipeBind1(1,8,A.hasPausedSubscription$)),l.\u0275\u0275property("name",b.name)("routerLink",b.routerLink)("analyticsProperties",b.analyticsProperties),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",b.linkText," ")}}function Re(C,ie){if(1&C&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",22),l.\u0275\u0275template(2,Se,8,9,"ng-container",23),l.\u0275\u0275template(3,Fe,3,10,"ng-template",null,24,l.\u0275\u0275templateRefExtractor),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"div",25)(6,"a",26),l.\u0275\u0275text(7),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()),2&C){const b=ie.ngIf,A=l.\u0275\u0275reference(4);l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!!b.thumbnail)("ngIfElse",A),l.\u0275\u0275advance(4),l.\u0275\u0275classProp("d-md-none",b.thumbnail),l.\u0275\u0275property("name",b.name)("routerLink",b.routerLink)("analyticsProperties",b.analyticsProperties),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",b.linkText," ")}}const Pe=function(C,ie,b,A,ne){return{routerLink:C,analyticsProperties:ie,thumbnail:b,name:A,linkText:ne}};function de(C,ie){if(1&C&&(l.\u0275\u0275elementStart(0,"li",1)(1,"div",2),l.\u0275\u0275pipe(2,"async"),l.\u0275\u0275template(3,ge,5,8,"div",3),l.\u0275\u0275pipe(4,"async"),l.\u0275\u0275template(5,ye,4,9,"ng-container",4),l.\u0275\u0275template(6,xe,3,6,"ng-container",4),l.\u0275\u0275template(7,be,1,1,"div",5),l.\u0275\u0275elementStart(8,"div",6)(9,"div",7),l.\u0275\u0275template(10,De,1,2,"a",8),l.\u0275\u0275template(11,Ee,1,1,"span",9),l.\u0275\u0275template(12,Ie,1,2,"a",10),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275template(13,Re,8,8,"ng-container",4),l.\u0275\u0275pipe(14,"async"),l.\u0275\u0275pipe(15,"async"),l.\u0275\u0275pipe(16,"async"),l.\u0275\u0275pipe(17,"async"),l.\u0275\u0275pipe(18,"async"),l.\u0275\u0275elementEnd()),2&C){const b=ie.ngIf,A=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275classProp("col-md-8",l.\u0275\u0275pipeBind1(2,10,A.thumbnailImageUrl$)),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",l.\u0275\u0275pipeBind1(4,12,A.event$)),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!0===A.isNextGenEventHub),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",!A.isNextGenEventHub),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",b.sponsor),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",b.drill_through_link),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",b.partner&&b.drill_through_link),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",b.partner),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",l.\u0275\u0275pureFunction5(24,Pe,l.\u0275\u0275pipeBind1(14,14,A.routerLink$),l.\u0275\u0275pipeBind1(15,16,A.analyticsProperties$),l.\u0275\u0275pipeBind1(16,18,A.thumbnailImageUrl$),l.\u0275\u0275pipeBind1(17,20,A.name$),l.\u0275\u0275pipeBind1(18,22,A.linkText$)))}}let Oe=(()=>{class C{constructor(b,A,ne,le){this.authService=b,this.subscriptionService=A,this.experimentationService=ne,this.verticalService=le,this.isNextGenEventHub=null,this.isNextGenEventHubLong$=this.experimentationService.isInVariation(q._8,q.t,!0),this.isNextGenEventHubShort$=this.experimentationService.isInVariation(q.uJ,q.ET,!0),this.siteSetting=this.verticalService.siteSettings$,this.props$=new j.t(1),this.ngOnDestroy$=new j.t(1),this.hasPausedSubscription$=this.authService.userIdentity$.pipe((0,V.w)(F=>F?this.subscriptionService.userHasPausedSubscription(F.id):(0,y.of)(!1)),(0,N.d)(1)),this.event$=this.props$.pipe((0,k.U)(F=>{const ae=F.event,pe=ae.live_event?.start_date_time??ae.start_date_time;
1return{...ae,sponsor:ae.node?.supporters.filter(He=>"title_sponsor"===He.supporter_type)[0],partner:!W(ae)&&J(ae),startDate:void 0!==pe?(0,z.vw)(pe):void 0,endDate:void 0!==pe?(0,Q.I)(pe,ae.number_of_days):void 0,displayDateVariant:"PRE-AIR"!==ae.live_event?.status?2:3}}),(0,O.R)(this.ngOnDestroy$),(0,N.d)({bufferSize:1,refCount:!0})),this.isNextGenEventHub$=(0,R.a)([this.isNextGenEventHubLong$,this.isNextGenEventHubShort$]).pipe((0,V.w)(function(){var F=(0,c.Z)(function*([ae,pe]){return ae||pe});return function(ae){return F.apply(this,arguments)}}()),(0,O.R)(this.ngOnDestroy$)),this.siteUrl=this.siteSetting.pipe((0,k.U)(F=>F.core_site_url)),this.liveEvent$=this.event$.pipe((0,k.U)(F=>F.live_event),(0,I.h)(te.bb),(0,O.R)(this.ngOnDestroy$),(0,N.d)(1)),this.analytics$=this.props$.pipe((0,k.U)(F=>F.analyticsProps)),this.analyticsProperties$=this.props$.pipe((0,k.U)(F=>({status:F.event.live_event?.status,liveId:F.event.live_event?.id,eventId:F.event.id,itemOrder:F.index})),(0,k.U)(F=>(0,Q.tb)(F.eventId,F.liveId,F.status,F.itemOrder)),(0,O.R)(this.ngOnDestroy$)),this.thumbnailImageUrl$=this.event$.pipe((0,I.h)(F=>"LIVE"===F.live_event?.status&&!!F.asset?.url),(0,k.U)(F=>F.asset?.url)),this.linkText$=(0,R.a)([this.event$,this.hasPausedSubscription$]).pipe((0,k.U)(([F,ae])=>ae?"Resume":(0,Q.tl)(F.replay_video_count,F.live_event?.status)),(0,O.R)(this.ngOnDestroy$),(0,N.d)(1)),this.routerLink$=(0,R.a)([this.event$,this.hasPausedSubscription$]).pipe((0,k.U)(([F,ae])=>ae?"/account/subscriptions":(0,Q.Ll)(F.slug_uri,F.live_event?.status,F.live_event?.id))),this.name$=this.linkText$.pipe((0,k.U)(F=>/replay/i.test(F)?"Replays":"Watch")),this.eventStatus$=this.liveEvent$.pipe((0,k.U)(F=>(0,Q.cc)(F.start_at_next,F.start_date_time,F.status)),(0,O.R)(this.ngOnDestroy$),(0,N.d)(1)),this.displayText$=this.eventStatus$.pipe((0,k.U)(F=>"LIVE"===F?"Live Now":void 0)),this.displayTextClass$=this.eventStatus$.pipe((0,k.U)(Q.Mx)),this.trackById=w.x}set props(b){b&&this.props$.next(b)}ngOnInit(){this.isNextGenEventHub$.subscribe(b=>{this.isNextGenEventHub=b})}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}}return C.\u0275fac=function(b){return new(b||C)(l.\u0275\u0275directiveInject(Y.e),l.\u0275\u0275directiveInject(re.F),l.\u0275\u0275directiveInject(M.j),l.\u0275\u0275directiveInject(X.A))},C.\u0275cmp=l.\u0275\u0275defineComponent({type:C,selectors:[["flo-event-list-item"]],inputs:{props:"props"},decls:2,vars:3,consts:[["class","mx-0 row w-100 border-bottom pt-3 mt-1 pb-3 mb-1 align-items-end",4,"ngIf"],[1,"mx-0","row","w-100","border-bottom","pt-3","mt-1","pb-3","mb-1","align-items-end"],[1,"px-0","my-0","col-8","pe-1"],["class","subhead pb-1",4,"ngIf"],[4,"ngIf"],["class","subhead pb-2","data-test","event-list-item-supporter",3,"textContent",4,"ngIf"],[1,"d-flex","flex-row","justify-content-between","mt-2"],[1,"subhead","p-0","m-0","text-500"],["class","subhead text-500 hover-text-primary","floAnalytics","","data-test","event-list-item-drill-through-link",3,"routerLink","textContent",4,"ngIf"],[3,"textContent",4,"ngIf"],["class","subhead text-500 hover-text-primary","floAnalytics","","data-test","event-list-item-partner-link",3,"routerLink","textContent",4,"ngIf"],[1,"subhead","pb-1"],["floDisplayDate","","data-test","event-status-date-date",1,"fw-normal","text-800","subhead",3,"date","endDate","variant","isTbd"],["class","flo-footnote","data-test","event-status-date-geoblock-notice",3,"textContent",4,"ngIf"],["data-test","event-status-date-text",3,"ngClass","textContent"],[3,"textContent"],["data-test","event-status-date-geoblock-notice",1,"flo-footnote",3,"textContent"],["floAnalytics","","target","_top","data-test","event-list-item-link",1,"my-0","h3","bold-font","color-800","hover-text-primary",3,"name","href","analyticsProperties","textContent"],["floAnalytics","","data-test","event-list-item-link",1,"my-0","h3","bold-font","color-800","hover-text-primary",3,"routerLink","name","analyticsProperties","textContent"],["data-test","event-list-item-supporter",1,"subhead","pb-2",3,"textContent"],["floAnalytics","","data-test","event-list-item-drill-through-link",1,"subhead","text-500","hover-text-primary",3,"routerLink","textContent"],["floAnalytics","","data-test","event-list-item-partner-link",1,"subhead","text-500","hover-text-primary",3,"routerLink","textContent"],[1,"px-0","my-0","col-4","d-none","d-md-flex","justify-content-end"],[4,"ngIf","ngIfElse"],["nonLiveEvent",""],[1,"pxs-0","my-0","col-4","d-flex","d-md-none","justify-content-end"],["floAnalytics","","tagName","Link","data-test","event-status-link",1,"subhead","p-0",3,"name","routerLink","analyticsProperties"],["floAnalytics","","tagName","Link",3,"routerLink","name","analyticsProperties"],[1,"position-relative"],[1,"img-fluid","rounded",3,"src"],["floSvg","vid_play","title","play video",1,"position-absolute","center-x","center-y","z-index-min","d-flex","pointer-events-none"],[1,"video-overlay","rounded"]],template:function(b,A){1&b&&(l.\u0275\u0275template(0,de,19,30,"li",0),l.\u0275\u0275pipe(1,"async")),2&b&&l.\u0275\u0275property("ngIf",l.\u0275\u0275pipeBind1(1,1,A.event$))},dependencies:[K.mk,K.O5,oe.RouterLinkWithHref,se.v,S.g,G,K.Ov,U.y],styles:['.resume-button[_ngcontent-%COMP%]{border:1px solid #939396;border-radius:4px;width:130px;height:40px;
1display:flex;align-items:center;justify-content:center}.video-overlay[_ngcontent-%COMP%]{background:#0c0c0c;opacity:.2;content:" ";position:absolute;width:100%;height:100%;inset:0}.video-overlay[_ngcontent-%COMP%]:hover{opacity:.5;transition:opacity ease-in-out .2s}'],changeDetection:0}),C})();function Le(C,ie){return{name:C.short_title||"no title",node_id:C.id||-1,live_id:C.live_event&&C.live_event.id,event_status:C.live_event&&C.live_event.status,item_order:ie}}const Ae=(C,ie,b,A)=>({event:{id:C.id,short_title:C.short_title,live_event:C.live_event,slug_uri:C.slug_uri,asset:C.asset,start_date_time:C.start_date_time,end_date_time:C.end_date_time,replay_video_count:C.replay_video_count,drill_through_link:C.drill_through_link,node:C.node,is_geoblocked:A||C.is_geoblocked||!1,number_of_days:C.number_of_days},analyticsProps:ie,index:b})},48275:(me,ce,a)=>{a.d(ce,{J:()=>N});var c=a(89046),y=a(94650),R=a(36895),V=a(1555);let N=(()=>{class k{constructor(I,w){this.datePipe=I,this.floDatePipe=w}transform(I,w,Q,J,W){const te=(0,c.legacyParse)(I),z=(0,c.legacyParse)(w);let q;if(I)if("year"===J)q=this.datePipe.transform(te,"y");else if("time"===Q)if(w){const l=z,Y=te,re=W?"TBD":this.datePipe.transform(Y,"shortTime"),M=this.datePipe.transform(l,"y");q=`${this.floDatePipe.transform(I,w)}, ${M} - ${re}`}else{const l=te,Y=this.datePipe.transform(l,"shortTime"),re=this.datePipe.transform(l,"y");q=`${this.floDatePipe.transform(I)}, ${re}, ${Y}`}else if(w){const l=this.datePipe.transform(z,"y");q=`${this.floDatePipe.transform(I,w)}, ${l}`}else{const l=this.datePipe.transform(te,"y");q=`${this.floDatePipe.transform(I)}, ${l}`}else q="N/A";return q}}return k.\u0275fac=function(I){return new(I||k)(y.\u0275\u0275directiveInject(R.uU,16),y.\u0275\u0275directiveInject(V.F,16))},k.\u0275pipe=y.\u0275\u0275definePipe({name:"floDateYear",type:k,pure:!0}),k})()},32936:(me,ce,a)=>{a.d(ce,{s:()=>I});var c=a(39646),j=a(91954),y=a(70262),R=a(34782),V=a(49670),N=a(94650),k=a(80529);const O={data:[],meta:{}};let I=(()=>{class w{constructor(J,W){this.log=J,this.http=W,this.relatedContentCache=new Map}relatedContentCacheKey(J,W,te,z,q,l){return`${J}|${null===W?"null":String(W)}|${te}|${z}|${q??""}|${l??""}`}getRelatedContent(J,W,te,z,q,l){const Y=this.relatedContentCacheKey(J,W,te,z,q,l),re=this.relatedContentCache.get(Y);if(void 0!==re)return re;const M={limit:te.toString(10),types:z,...!!q&&{excludedNodeIds:q.toString()},...void 0!==l&&{premium:l},version:V.n3},X=this.http.get(`${V.PS}/${J}/related`,{params:M}).pipe((0,y.K)(K=>null!==W?this.http.get(`${V.PS}/${W}/related`,{params:{limit:te.toString(),types:z,...void 0!==l&&{premium:l},version:V.n3}}):(0,c.of)(O)),(0,y.K)(K=>(this.log.error("Failed to fetch related content for fallback id.",{error:K,fallbackId:W}),(0,c.of)(O))),(0,R.d)({bufferSize:1,refCount:!0}));return this.relatedContentCache.set(Y,X),X}getArticlesVideosResultsRankings(J,W,te=null,z=3){return this.getRelatedContent(J,te,z,"article,ranking,result,video",W)}getArticlesVideos(J,W,te=null,z=9){return this.getRelatedContent(J,te,z,"article,video",W)}getRankings(J,W,te=null,z=3){return this.getRelatedContent(J,te,z,"ranking",W)}getVideosOnly(J,W,te=null,z=1){return this.getRelatedContent(J,te,z,"video",W)}getVideosOnlyFree(J,W,te=null,z=1){return this.getRelatedContent(J,te,z,"video",W,"0")}}return w.\u0275fac=function(J){return new(J||w)(N.\u0275\u0275inject(j.te),N.\u0275\u0275inject(k.eN))},w.\u0275prov=N.\u0275\u0275defineInjectable({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},14289:(me,ce,a)=>{a.d(ce,{B:()=>j,L:()=>c});var c=(()=>{return(y=c||(c={})).grappling="grappling",y.experienceGrappling="experience-grappling",c;var y})(),j=(()=>{return(y=j||(j={})).result="result",y.collection="collection",y.event="event",y.video="video",y.article="article",y.ranking="ranking",j;var y})()}}]);

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.