PageSourceSearch

https://euroleague.tv/code/js/96406.01cc91179d7845ff430d.js

js euroleague.tv collected 2026-09-24 23:55:30 UTC 54,266 bytes, 8 lines download raw bytes

1(()=>{(function(){try{var oe=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},b=new oe.Error().stack;b&&(oe._sentryDebugIds=oe._sentryDebugIds||{},oe._sentryDebugIds[b]="36b7c347-66fc-421b-9f63-cdb188f852d6",oe._sentryDebugIdIdentifier="sentry-dbid-36b7c347-66fc-421b-9f63-cdb188f852d6")}catch(t){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[90601,96406],{10046:((oe,b,t)=>{t.d(b,{vH:()=>at,Z:()=>_e,n1:()=>nt});var e=t(96540),h=t(86364),I=t(56347),T=t(54625),C=t(6099),g=t(35604),u=t(35667),y=t(32248),A=t(58562),c=t(90953),n=t(92675),s=t(79040),X=t(43093),q=t(35601),se=t(75862),p=t(88034),P=t(54985),f=t(32808),E=t(41483),m=t(73145),O=t(13516),S=t(41078),U=t(16231);const K="icon-profile",D=({handleSignInClick:V,handleSignUpClick:v})=>{const{signIn:L,signUp:B}=(0,A.b0)(["signIn","signUp"]);return(0,S.l)()<U.jy?e.createElement(s.Hv,null,({isActive:Y})=>e.createElement(n.K0,{onClick:V,className:(0,O.AH)(n.k9.PRIMARY,K),"data-test-id":"profile-btn","aria-label":L.value},e.createElement(s.Q6,{name:u.Fc.ACCOUNT,state:Y?u.nJ.HOVER:u.nJ.NORMAL,height:18,width:18,fallbackIcon:()=>e.createElement(q.A,{width:"18",height:"18",className:"btn-icon__icon"})}))):e.createElement(e.Fragment,null,e.createElement(n.$n,{className:n.k9.PRIMARY,"data-test-id":"sign-up-btn",type:"submit",onClick:v,smallMode:!0},e.createElement("span",{className:"btn__label"},B.value)),e.createElement(n.$n,{onClick:V,className:n.k9.SECONDARY,"data-test-id":"sign-in-btn",type:"submit",smallMode:!0},e.createElement("span",{className:"btn__label"},L.value)))};var w=t(59530),Ie=t(12189),F=t(21975),re=t(55488),ee=t(2275),ye=t(31065),De=t(37299);const Te=e.lazy(async()=>{const{UserProfileTopbar:V}=await Promise.all([t.e(94708),t.e(44125),t.e(70077),t.e(52118),t.e(85128),t.e(43913),t.e(31865),t.e(19267),t.e(8899),t.e(97659),t.e(87181)]).then(t.bind(t,83720));return{default:V}}),dt=(0,e.lazy)(()=>t.e(31892).then(t.bind(t,31892))),nt=V=>V.layout===g.Ww.TOP_RIGHT||V.layout===g.Ww.TOP_RIGHT_UTILITIES,_e=(V,v,L,B)=>{var H,ie,Y,j,de;const Ce=!!((H=V==null?void 0:V.style)!=null&&H.iconUrl||(ie=V==null?void 0:V.style)!=null&&ie.activeIconUrl),Ne=(Y=V==null?void 0:V.type)==null?void 0:Y.toLowerCase(),be=(de=(j=V==null?void 0:V.data)==null?void 0:j[Ne])==null?void 0:de.toLowerCase();if(Ce)return e.createElement(De.c,{url:V.style.iconUrl,activeUrl:V.style.activeIconUrl,size:v,isSideBySide:L});switch(be){case"search":return e.createElement(s.Q6,{name:u.Fc.SEARCH,isAriaHidden:!0,state:B?u.nJ.HOVER:u.nJ.NORMAL,width:20,height:v,className:"btn-icon__icon default-menu-icon",fallbackIcon:()=>e.createElement(f.A,{className:"btn-icon__icon default-menu-icon",width:20,height:v})});case"browse":return e.createElement(s.Q6,{name:u.Fc.BROWSE,isAriaHidden:!0,state:B?u.nJ.HOVER:u.nJ.NORMAL,height:v,width:v,className:"default-menu-icon",fallbackIcon:()=>e.createElement(se.A,{className:"default-menu-icon",width:v,height:v,viewBox:"-4 -1 38 30"})});case"schedule":case"tv guide":case"epg":return e.createElement(s.Q6,{name:u.Fc.CALENDAR,isAriaHidden:!0,state:B?u.nJ.HOVER:u.nJ.NORMAL,width:v,height:v,className:"default-menu-icon",fallbackIcon:()=>e.createElement(p.A,{className:"default-menu-icon",width:v,height:v,viewBox:"-2 0 35 32"})});case"home":return e.createElement(s.Q6,{name:u.Fc.HOME,isAriaHidden:!0,state:B?u.nJ.HOVER:u.nJ.NORMAL,width:v,height:v,className:"default-menu-icon",fallbackIcon:()=>e.createElement(P.A,{className:"default-menu-icon",width:v,height:v,viewBox:"0 1 30 30"})});case"account":return e.createElement(s.Q6,{name:u.Fc.ACCOUNT,isAriaHidden:!0,state:B?u.nJ.HOVER:u.nJ.NORMAL,width:v,height:v,className:"btn-icon__icon",fallbackIcon:()=>e.createElement(q.A,{width:v,height:v,className:"btn-icon__icon"})});default:return null}},Ge=(V,v,L=!1)=>e.createElement(s.Hv,null,({isActive:B})=>{var H,ie,Y,j;const de=(j=(Y=(ie=(H=V.style)==null?void 0:H.config)==null?void 0:ie.states)==null?void 0:Y[g.e7.ACTIVE])==null?void 0:j.iconBackgroundColour;return e.createElement(n.K0,{className:(0,ee.AH)(n.k9.PRIMARY,"icon-search"),onClick:v,"data-test-id":"search-btn","aria-label":V.title,style:de?{"--primary-color":de}:void 0},_e(V,20,!1,B||L))}),at=({isHamburgerOpened:V,isGuest:v,onAddLiveEvent:L,toggleSidebar:B,handleSignUpClick:H,handleSignInClick:ie,topRightMenu:Y,blockClick:j=!1})=>{const de=(0,h.wA)(),{account:Ce,search:Ne}=(0,A.b0)(["account","search"]),be=(0,h.d4)(Q=>Q.liveEvent.totalResults),Be=(0,I.W6)(),Re=(0,I.zy)(),{routes:he}=(0,e.useContext)(w.P),{profileConfiguration:vt,contentSearchEngine:mt}=(0,c.U)(),ft=mt===y.ContentSearchEngineType.VESPER,Ye=(0,Ie.GX)(vt),Et=()=>!j&&de(C._.fetchRequest({rpp:E.y})),ot=Q=>{de(C._.addEvent({content:Q,shouldUpdateContent:!1})),L(Q)},st=Q=>{de(C._.removeEvent({content:Q,shouldUpdateContent:!1}))},Dt=()=>{if(j)return null;ft?(0,ee.mH)(he[F.xW.SEARCH],Be):(de((0,X.bj)()),(0,ee.mH)(`${Re.pathname}${Re.search}${re.UT}`,Be))},xe=!!(0,ye.YW)(he[F.xW.SEARCH],Re.pathname)||Re.hash.includes(re.UT);return e.createElement(e.Fragment,null,Y==null?void 0:Y.items.map(Q=>{var Tt;if(Q.type===g.xU.VIEW)switch(Q.data.view.toLowerCase()){case"search":return V?null:e.createElement(m.Ay,{key:"search",className:"search-btn-wrapper",message:(Q==null?void 0:Q.title)||Ne.value,position:m.C_.BOTTOM},Ge(Q,Dt,xe));case"livenow":return v?null:e.createElement(dt,{key:"live",count:j?2:be,returnTo:Re.pathname,getLiveEvents:Et,addLiveEvent:ot,removeLiveEvent:st,toggleAppSidebar:B,customIconUrl:(Tt=Q==null?void 0:Q.style)==null?void 0:Tt.iconUrl,customLabel:Q==null?void 0:Q.title});case"account":return!v&&(Ye?e.createElement(Te,{key:"user-profiles",blockClick:j}):e.createElement(m.Ay,{key:"account",message:(Q==null?void 0:Q.title)||Ce.value,position:m.C_.BOTTOM},e.createElement(s.Hv,null,({isActive:bt})=>e.createElement(T.N_,{to:!j&&he[F.xW.ACCOUNT],className:"logged-in",tabIndex:-1},e.createElement(n.K0,{className:(0,ee.AH)(n.k9.PRIMARY,K),"data-test-id":"profile-btn","aria-label":(Q==null?void 0:Q.title)||Ce.value},_e(Q,20,!1,bt))))));default:return null}return null}),v?e.createElement(D,{handleSignInClick:ie,handleSignUpClick:H}):null)}}),24381:((oe,b,t)=>{t.d(b,{o:()=>C});var e=t(91287);const h={get:g=>`/navigation/menu/${g}`,legacy:"/menu-items"},C={get:async g=>{const u=e.N.instance.httpService,y=`${u.baseUrl}${h.get(g)}`;return(await u.get(y)).parsedData}
1,getLegacy:async()=>{const g=e.N.instance.httpService,u=`${g.baseUrl}${h.legacy}`;return(await g.get(u)).parsedData}}}),25638:((oe,b,t)=>{t.d(b,{X:()=>h});var e=t(96540);const h=(I,T,C)=>{e.useEffect(()=>(window.addEventListener("click",g),()=>{window.removeEventListener("click",g)}),[T]);const g=u=>{!I.find(A=>{var c,n,s;return!!u.target.closest(A)||((s=(n=(c=u.target)==null?void 0:c.className)==null?void 0:n.search)==null?void 0:s.call(n,A))>=0})&&T&&C()}}}),32808:((oe,b,t)=>{t.d(b,{A:()=>A});var e=t(96540),h=t(85092),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(c,n,s)=>n in c?I(c,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[n]=s,y=(c,n)=>{for(var s in n||(n={}))C.call(n,s)&&u(c,s,n[s]);if(T)for(var s of T(n))g.call(n,s)&&u(c,s,n[s]);return c};const A=(c=>e.createElement(h.A,y({},c),e.createElement("path",{d:"M30.625 29.25l-5.688-5.688c4.313-5.563 3.563-13.563-1.75-18.188-5.25-4.688-13.25-4.438-18.25 0.563s-5.25 13-0.563 18.25c4.625 5.313 12.625 6.063 18.188 1.75l5.688 5.688c0.625 0.563 1.625 0.5 2.25-0.125s0.688-1.625 0.125-2.25zM4.375 15.375c0-5.5 4.5-10 10-10 5.563 0 10.063 4.5 10.063 10 0 5.563-4.5 10.063-10.063 10.063-5.5 0-10-4.5-10-10.063z"})))}),33949:((oe,b,t)=>{t.d(b,{Mx:()=>_e,RE:()=>nt,oi:()=>V});var e=t(96540),h=t(56347),I=t(35604),T=t(82511),C=t(32248),g=t(68407),u=t(90953),y=t(43093),A=t(39496),c=t(49912),n=t(59530),s=t(24984),X=t(68472),q=t(12189),se=t(47393),p=t(21975),P=t(55488),f=t(97963),E=t(2275),m=t(71342),O=t(33438),S=t(10046),U=Object.defineProperty,K=Object.defineProperties,D=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,re=(v,L,B)=>L in v?U(v,L,{enumerable:!0,configurable:!0,writable:!0,value:B}):v[L]=B,ee=(v,L)=>{for(var B in L||(L={}))Ie.call(L,B)&&re(v,B,L[B]);if(w)for(var B of w(L))F.call(L,B)&&re(v,B,L[B]);return v},ye=(v,L)=>K(v,D(L));const De=(v,L,B,H=!1,ie=!1,Y=!1)=>{const{view:j}=v.data,de=L[j.toUpperCase()],Ce=(de==null?void 0:de.toLowerCase())||`/${j.toLowerCase()}`,Ne=new URLSearchParams(B.search),be=B.pathname===L[p.xW.SUBSCRIPTION_CONFIRMATION];switch(j.toLowerCase()){case"live_events":case"livenow":return{to:!H&&P.NV};case"preferences":const Be={"data-test-id":"navbar-preferences"};return!H&&!be&&(ie?(Ne.set(X.hg,"true"),Be.to=`${B.pathname}?${Ne.toString()}${P.OK}`):Be.to=`${L[p.xW.ACCOUNT]}?section=preferences`),Be;case"logout":return{className:"btn-logout non-featured",to:!H&&L[p.xW.LOGOUT],"data-test-id":"logout-btn"};case"search":return{to:!H&&Y?L[p.xW.SEARCH]:P.UT,onClick:()=>!Y&&O.Ay.dispatch((0,y.bj)())};default:return{to:!H&&(0,h.tW)(Ce),"data-test-id":`navbar-${j.toLowerCase()}`}}},Te=(v,L,B=!1)=>{const{section:H}=v.data,ie=L[H.toUpperCase()],Y=(ie==null?void 0:ie.toLowerCase())||`/${H.toLowerCase()}`;switch(H.toLowerCase()){default:return{to:!B&&Y,"data-test-id":`navbar-${H.toLowerCase()}`}}},dt=["home","browse","schedule"],nt=(v,L,B,H=!1,ie=!1,Y=!1)=>{const{type:j,data:{outboundLink:de,section:Ce,pluginId:Ne}}=v;switch(j){case I.xU.OUTBOUND_LINK:return{target:"_blank",to:!H&&de,isExternalLink:!0,type:j};case I.xU.VIEW:return ye(ee({},De(v,L,B,H,ie,Y)),{type:j});case I.xU.PLUGIN_LINK:return{to:!H&&(0,m.gk)(g.LinkTypes.PLUGIN,L,{pluginId:Ne}),type:j};case I.xU.SECTION:return dt.includes(v.data.section.toLowerCase())?ye(ee({},Te(v,L,H)),{type:j}):{to:!H&&(0,m.gk)(g.LinkTypes.SECTION_LINK,L,{sectionName:Ce}),type:j}}};var _e=(v=>(v[v.LARGE=0]="LARGE",v[v.SIDE_BY_SIDE=1]="SIDE_BY_SIDE",v))(_e||{});const Ge="/plugin/ONETRUST",at="/plugin/CMP",V=v=>{var L,B,H,ie,Y,j;const de=(0,h.zy)(),{routes:Ce}=e.useContext(n.P),Ne=v.imageStyle===1,{profileConfiguration:be,contentSearchEngine:Be}=(0,u.U)(),Re=Be===C.ContentSearchEngineType.VESPER,he=nt(v,Ce,de,v.blockClick,(0,q.GX)(be),Re),vt=["preferences","account"].includes((B=(L=v.data)==null?void 0:L.view)==null?void 0:B.toLowerCase()),mt=(0,f.sh)().type===T.XE.CHILD,ft=vt&&mt;let Ye=he==null?void 0:he.to;const Et=st=>{se.eG.isAvailable()&&(st==null||st.preventDefault(),se.eG.showPreferences())};if(!he||ft)return null;((he==null?void 0:he.to)===Ge||(he==null?void 0:he.to)===at)&&(Ye="",he.onClick=Et);const ot=v.showIcon?(0,S.Z)(v,v.imageSize,Ne):null;return e.createElement(s.D,ye(ee({key:v.title,inactiveClassName:(H=v.inactiveMenuClass)!=null?H:c.IM,className:(Y=v.menuClass)!=null?Y:(0,c.aC)((ie=v.style)==null?void 0:ie.featured),smart:!0,menuItemType:v.type},he),{to:Ye,menuItemStyle:(j=v.style)==null?void 0:j.config,menuItemDefaultStyle:v.menuItemDefaultStyle,reserveBoldWidth:v.reserveBoldWidth,underlineAnchor:(0,A.cz)({onLink:v.underlineOnLink,iconBesideLabel:v.iconBesideLabel,hasIcon:!!ot,holdsBoldMetrics:v.reserveBoldWidth})}),ot,v.textElement?e.createElement(v.textElement,null,v.title):e.createElement("span",{className:(0,E.AH)(v.showIcon&&Ne&&"pull-left"),"data-label":v.title},e.createElement("span",null,v.title)))}}),35601:((oe,b,t)=>{t.d(b,{A:()=>A});var e=t(96540),h=t(85092),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(c,n,s)=>n in c?I(c,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[n]=s,y=(c,n)=>{for(var s in n||(n={}))C.call(n,s)&&u(c,s,n[s]);if(T)for(var s of T(n))g.call(n,s)&&u(c,s,n[s]);return c};const A=(c=>e.createElement(h.A,y({},c),e.createElement("svg",{viewBox:"0 0 13 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M0 11.56C0 10.0578 1.20093 8.84006 2.68235 8.84006H2.79565C2.94339 8.84006 3.09089 8.85243 3.23663 8.87706L5.55035 9.26809C5.87098 9.32229 6.19865 9.31693 6.51738 9.25229L8.28956 8.89288C8.46276 8.85
1775 8.63897 8.84006 8.81561 8.84006H9.38824C10.8697 8.84006 12.0706 10.0578 12.0706 11.56V14.28C12.0706 15.7822 10.8697 17 9.38824 17H2.68235C1.20093 17 0 15.7822 0 14.28V11.56Z",fill:"white"}),e.createElement("path",{d:"M6.03507 7.47999C7.88685 7.47999 9.38801 5.95776 9.38801 4.07999C9.38801 2.20222 7.88685 0.679993 6.03507 0.679993C4.18329 0.679993 2.68213 2.20222 2.68213 4.07999C2.68213 5.95776 4.18329 7.47999 6.03507 7.47999Z",fill:"white"}))))}),37299:((oe,b,t)=>{t.d(b,{c:()=>g});var e=t(96540),h=t(63679),I=t(13516),T=t(96763);const C=h.Ay.div`
2	${({$size:u})=>u?`width: ${u}px; height: ${u}px;`:""}
3`,g=({url:u,activeUrl:y,size:A,isSideBySide:c})=>{const n=A!=null?A:30,s=u||y,X=!!(u&&y),q=!!(!u&&y),se=D=>D&&D.endsWith(".svg"),[p,P]=(0,e.useState)({__html:null}),[f,E]=(0,e.useState)({__html:null}),[m,O]=(0,e.useState)(!1),S=(0,e.useCallback)((D=!1)=>(0,I.vy)(D&&y?y:s,n,n),[s,y,n]),U=(0,e.useCallback)(async(D=!1)=>{O(!1);try{const w=await t.e(99418).then(t.bind(t,99418)),F=await(await fetch(D?y:s)).text();D?E({__html:w.default.sanitize(F)}):P({__html:w.default.sanitize(F)})}catch(w){T.warn("Failed to load SVG",s,w),O(!0)}},[s,P,O,y,E]);(0,e.useEffect)(()=>{se(s)&&U()},[s,U]),(0,e.useEffect)(()=>{X&&se(y)&&U(!0)},[X,y,U]);const K=(D=!1)=>se(D&&y?y:s)?m?null:e.createElement(e.Fragment,null,e.createElement("i",{className:(0,I.AH)("custom-menu-svg","custom-menu-icon",D&&"custom-menu-icon--active"),dangerouslySetInnerHTML:D&&f.__html?f:p})):e.createElement("img",{alt:"",className:(0,I.AH)(c&&"pull-left","custom-menu-img","custom-menu-icon",D&&"custom-menu-icon--active"),src:S(D)});return e.createElement(C,{className:(0,I.AH)("custom-menu-icon--wrapper",X&&"custom-menu-icon--wrapper--swap",q&&"custom-menu-icon--wrapper--active-only",A&&"custom-menu-icon--wrapper--sized"),$size:A},K(),X?K(!0):null)}}),41483:((oe,b,t)=>{t.d(b,{y:()=>e});const e=10}),43093:((oe,b,t)=>{t.d(b,{VB:()=>s,WN:()=>se,Xh:()=>u,bj:()=>c,fn:()=>n,p5:()=>C,rf:()=>A,vt:()=>g});var e=t(76849),h=t(55488),I=t(45322),T=t(87585);const C=(f,E,m,O,S,U,K)=>async D=>{if(m){const w=(0,e.ZS)(O),Ie=w.map(ye=>(0,e.Lf)(E,ye,m,S,U,K)),F=await(0,e.Jf)(f,Ie),re=(0,e.Tp)(F,w),ee=P(F);D(q(m,re,ee))}},g=(f,E,m,O,S,U,K,D)=>async w=>{const Ie=[(0,e.Lf)(E,O,m,S,U,K,D)],F=await(0,e.Jf)(f,Ie);F&&F.length&&F[0].hits.length&&w(p(F[0],O))},u=()=>async f=>{const{popularEvents:{events:E},popularVods:{vods:m}}=await(0,e.J_)(h.bt);f(X({events:E,videos:m}))},y=()=>trackable({type:ACTION_TYPES.CLOSE_SEARCH},analyticsActionTypes.CLOSE_SEARCH),A=()=>(0,T.ak)({type:h.TH.OPEN_SEARCH},I._.OPEN_SEARCH),c=()=>({type:h.TH.NEW_SEARCH}),n=f=>({type:h.TH.SEARCH_VALUE_UPDATED,value:f}),s=f=>({type:h.TH.SEARCH_REFINE_UPDATED,refines:f}),X=f=>({type:h.TH.SET_POPULAR_CONTENT,popularContent:f}),q=(f,E,m)=>(0,T.ak)({type:h.TH.SET_SEARCH_RESULTS,results:E,totalCount:m},I._.SET_SEARCH_RESULTS,{value:f,count:m}),se=(f,E)=>(0,T.ak)({type:h.TH.TRACK_SEARCH_RESULTS},I._.SET_SEARCH_RESULTS,{value:f,count:E}),p=(f,E)=>({type:h.TH.SET_NEXT_PAGE_RESULTS,nextPageResults:f,requestType:E}),P=f=>f.reduce((E,{totalHits:m})=>E+m,0)}),49912:((oe,b,t)=>{t.d(b,{IM:()=>on,Fp:()=>un,aC:()=>sn,z1:()=>Wt,Mr:()=>Nt,UD:()=>wt});var e=t(96540),h=t(56347),I=t(20181),T=t.n(I),C=t(35604),g=t(1346),u=t(35667),y=t(32248),A=t(58562),c=t(90953),n=t(79040),s=t(92675),X=t(6223),q=t(32808),se=t(59530),p=t(82311),P=t(21975),f=t(55488),E=t(2275),m=t(33949),O=t(20194),S=Object.defineProperty,U=Object.defineProperties,K=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,F=(a,o,d)=>o in a?S(a,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[o]=d,re=(a,o)=>{for(var d in o||(o={}))w.call(o,d)&&F(a,d,o[d]);if(D)for(var d of D(o))Ie.call(o,d)&&F(a,d,o[d]);return a},ee=(a,o)=>U(a,K(o));const ye=a=>e.createElement("h3",null,a.children),De=a=>e.createElement("h4",null,a.children),Te=({isOpen:a,isGuest:o,history:d,mainMenuItems:N,secondaryMenuItems:r,hasSearchItem:l,blockClick:i=!1})=>{const[_,J]=e.useState(null),{appSettings:{WEB:ve},contentSearchEngine:$}=(0,c.U)(),{routes:Se}=e.useContext(se.P),{logout:ue}=(0,A.b0)(["logout"]),{featured:G,nonFeatured:Z}=(0,p.rj)(r),ge=$===y.ContentSearchEngineType.VESPER,te=(0,E.AH)("hamburger-navbar",a&&"open",o&&"guest-user");e.useEffect(()=>{J(null)},[a]),e.useEffect(()=>(a?((0,E.OT)("body"),(0,E.IV)([".hamburger-navbar",".topbar.hamburger"])):((0,E.HK)("body"),(0,E.RJ)()),()=>{(0,E.HK)("body"),(0,E.RJ)()}),[a]);const le=()=>e.createElement("ul",{className:"main-navbar"},N.filter(R=>!(0,p.WX)(R)).map((R,Me)=>e.createElement("li",{key:`${R.title}`},e.createElement(m.oi,ee(re({},R),{textElement:ye,showIcon:!1,imageStyle:m.Mx.SIDE_BY_SIDE,blockClick:i,style:ee(re({},R.style),{config:void 0})}))))),Le=()=>Z.filter(R=>!(0,p.WX)(R)).map((R,Me)=>e.createElement("li",{key:`${R.title}`,role:"listitem"},e.createElement(m.oi,ee(re({blockClick:i},R),{textElement:De,imageStyle:m.Mx.SIDE_BY_SIDE,style:ee(re({},R.style),{config:void 0})})))),ne=()=>G.filter(R=>!(0,p.WX)(R)).map((R,Me)=>e.createElement("li",{key:`${R.title}`,role:"listitem"},e.createElement(m.oi,ee(re({blockClick:i},R),{textElement:De,imageStyle:m.Mx.SIDE_BY_SIDE,style:ee(re({},R.style),{config:void 0})})))),x=()=>{const R=()=>
3{if(!i)return(0,E.mH)(Se[P.xW.LOGOUT],d)};return e.createElement("div",{className:"logout-btn"},e.createElement(s.$n,{title:ue.value,className:s.k9.SECONDARY,onClick:R,"data-test-id":"logout-btn",smallMode:!0},e.createElement("span",{className:"btn__label"},ue.value)))},ae=R=>{if(R.preventDefault(),!i)if(ge){const Me={defaultSearchValue:_};(0,E.mH)(Se[P.xW.SEARCH],d,null,Me)}else{const Me=`${d.location.pathname}${f.UT}${_?`?value=${_}`:""}`;(0,E.mH)(Me,d)}},me=R=>J(R.target.value);return e.createElement(X.s,{transitionEnterTimeout:200,transitionLeaveTimeout:200,transitionName:"hamburger-navbar",component:"div",className:te},a?e.createElement("div",{className:"hamburger-navbar__content"},e.createElement("div",{className:"hamburger-navbar__main-menu"},le(),e.createElement("ul",{className:"featured-navbar"},ne())),e.createElement("div",{className:"hamburger-navbar__sub-menu"},l?e.createElement(nt,{onSubmit:ae,onChange:me}):null,e.createElement("ul",{className:"non-featured-navbar"},Le()),o?null:x()),o&&(ve!=null&&ve.languageBadgeStyle)?e.createElement(O.J,{shouldReload:!0}):null):null)},dt=(0,h.y)(Te),nt=({onSubmit:a,onChange:o})=>{const{search:d}=(0,A.b0)(["search"]);return e.createElement("form",{className:"hamburger-navbar__search",onSubmit:a},e.createElement("input",{type:"text",placeholder:d.value,onChange:o}),e.createElement(q.A,{width:"23",height:"23",onClick:a}))};var _e=t(51019),Ge=t(65855),at=t(87333),V=t(87585),v=t(79544),L=t(56646),B=t(56589),H=t(39496);const ie=a=>{var o,d,N;const r=e.useContext(n.Ss),l=!!((N=(d=(o=r==null?void 0:r.icons)==null?void 0:o[u.Fc.ARROW_DOWN])==null?void 0:d.iconsMetadata)!=null&&N[u.nJ.HOVER]);return a&&!l};var Y=Object.defineProperty,j=Object.defineProperties,de=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Be=(a,o,d)=>o in a?Y(a,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[o]=d,Re=(a,o)=>{for(var d in o||(o={}))Ne.call(o,d)&&Be(a,d,o[d]);if(Ce)for(var d of Ce(o))be.call(o,d)&&Be(a,d,o[d]);return a},he=(a,o)=>j(a,de(o));const vt=75,mt=475,ft=100,Ye=(a,o,d=0)=>{const N=vt*Math.max(a+1,o+1)-d;return{maxHeight:Math.min(N,mt)+ft}},Et=a=>({title:a,type:C.xU.VIEW,data:{view:"logout"},style:{featured:!1}}),ot=a=>{const{more:o,logOut:d}=(0,A.b0)(["more","logOut"]),{readImmediateInteractionType:N}=(0,B.V)(),{open:r,close:l,isGuest:i,menuItems:_,subMenuClass:J,isOpen:ve,itemStyle:$,reserveBoldWidth:Se}=a,ue=ie(ve),G=i?_:[..._,Et(d.value)],{featured:Z,nonFeatured:ge}=(0,p.rj)(G),te=ge.length,le=Ye(Z.length,te),Le=Ye(Z.length,te,10),ne=!!Z.length,x=!!te||!i,ae=(0,E.AH)(J,(!ne||!x)&&"navbar-menu--one-column"),me=ne||x,R=()=>{const{isImmediateInteractionKeyboard:z}=N();z||r()},Me=z=>{(z.key==="Enter"||z.key===" ")&&(ve?l():r()),z.key==="Escape"&&l()},Ae=z=>{const Oe=z.currentTarget,He=z.relatedTarget,{isImmediateInteractionKeyboard:fe}=N();fe&&He&&Oe.contains(He)||l()},Ve=e.useCallback(z=>z.preventDefault(),[]);return me?e.createElement("div",{className:"more-button-wrapper navbar-link",onMouseLeave:l},e.createElement(H.Js,{as:"button",type:"button",className:`
4        resident-secondary-color-fill
5        resident-primary-color-fill-hover
6        btn-main btn-more`,onMouseDown:Ve,onMouseEnter:r,onFocus:R,onKeyDown:Me,"data-test-id":"more-btn","aria-expanded":ve,"aria-haspopup":"true","aria-controls":"more-menu",id:"more-button",$menuItemStyle:$,$disableUnderline:!0,$reserveBoldWidth:Se},e.createElement("span",{"data-label":o.value},e.createElement("span",null,o.value)),e.createElement(n.Q6,{name:u.Fc.ARROW_DOWN,isAriaHidden:!0,state:ve?u.nJ.HOVER:u.nJ.NORMAL,height:11,width:11,className:(0,E.AH)("icon-arrowdown",ue&&"icon-arrowdown--open"),fallbackIcon:()=>e.createElement(_e.A,{className:(0,E.AH)("icon-arrowdown",ue&&"icon-arrowdown--open"),height:"11",width:"11"})})),ve?e.createElement("div",{className:ae,style:le,"data-test-id":"more-menu",id:"more-menu",role:"menu","aria-label":"More menu",onBlur:Ae},e.createElement("div",{className:"triangle-icon"}),e.createElement("div",{className:"secondary-links",style:Le},ne?e.createElement("div",{className:"secondary-links__featured"},Z.map((z,Oe)=>e.createElement(m.oi,he(Re({blockClick:a.blockClick,key:Oe},z),{imageStyle:m.Mx.SIDE_BY_SIDE,style:he(Re({},z.style),{config:void 0})})))):null,x?e.createElement("div",{className:"secondary-links__non-featured"},ge.map((z,Oe)=>e.createElement(m.oi,he(Re({blockClick:a.blockClick,key:Oe},z),{imageStyle:m.Mx.SIDE_BY_SIDE,style:he(Re({},z.style),{config:void 0})})))):null)):null):null};var st=Object.defineProperty,Dt=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Q=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Ft=(a,o,d)=>o in a?st(a,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[o]=d,Kt=(a,o)=>{for(var d in o||(o={}))Tt.call(o,d)&&Ft(a,d,o[d]);if(Q)for(var d of Q(o))bt.call(o,d)&&Ft(a,d,o[d]);return a},Vt=(a,o)=>Dt(a,xe(o));const jt=a=>{const{featured:o,nonFeatured:d}=(0,p.rj)(a.links);return e.createElement("div",{className:"secondary-links light-scroll-bar"},o.map((N,r)=>e.createElement(m.oi,Vt(Kt({key:r},N),{showIcon:!1,imageStyle:m.Mx.SIDE_BY_SIDE,blockClick:a.blockClick,menuItemDefaultStyle:a.menuItemDefaultStyle,reserveBoldWidth:a.reserveBoldWidth}))),d.map((N,r)=>e.createElement(m.oi,Vt(Kt({key:r},N),{showIcon:!1,imageStyle:m.Mx.SIDE_BY_SIDE,blockClick:a.blockClick,menuItemDefaultStyle:a.menuItemDefaultStyle,reserveBoldWidth:a.reserveBoldWidth}))))},Ct=({menuItems:a,styleConfig:o,menuItemDefaultStyle:d,menuCssClass:N,isGuest:r,blockClick:l=!1,isOpen:i,handleBlur:_,reserveBoldWidth:J})=>{const ve=(0,h.W6)(),{logOut:$}=(0,A.b0)(["logOut"]),{routes:Se}
6=e.useContext(se.P),{appSettings:{WEB:ue}}=(0,c.U)(),G=()=>{if(l)return null;ve.push(Se[P.xW.LOGOUT])},Z=a.filter(ne=>{var x,ae;return((ae=(x=ne.data)==null?void 0:x.view)==null?void 0:ae.toLowerCase())!=="logout"}),ge=o?{styleConfig:o}:void 0,te=(0,L.bR)(ge),le=Object.keys(te).length>0,Le=(0,E.AH)(N,le&&"navbar-menu--styled",le&&"navbar-menu--no-gradient");return e.createElement("div",{id:"left-nav-region",className:Le,style:te,"data-test-id":"more-menu",inert:i?void 0:"",onBlur:_},e.createElement("div",{className:"sidebar-submenu-content light-scroll-bar"},e.createElement(jt,{links:Z,blockClick:l,menuItemDefaultStyle:d,reserveBoldWidth:J})),r&&(ue!=null&&ue.languageBadgeStyle)?e.createElement(O.J,{shouldReload:!0}):null,r?null:e.createElement(s.$n,{smallMode:!0,onClick:G,className:(0,E.AH)(s.k9.SECONDARY,"logout-btn")},$.value))};var en=Object.defineProperty,rt=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,$t=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,Jt=(a,o,d)=>o in a?en(a,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[o]=d,Fe=(a,o)=>{for(var d in o||(o={}))nn.call(o,d)&&Jt(a,d,o[d]);if($t)for(var d of $t(o))an.call(o,d)&&Jt(a,d,o[d]);return a},Xe=(a,o)=>rt(a,tn(o));const on="resident-primary-color-fg-hover",ht=1025,gt="body",Bt=["account","preferences","logout"],sn=a=>a?"":"non-featured",rn=(a,o)=>{var d;const N=a.find(l=>l.layout===C.Ww.FOLDER);if(!o)return N;const r=a.find(l=>l.layout===C.Ww.EXPANDABLE);return(d=r==null?void 0:r.items)!=null&&d.length?r:N},ln=(a,o)=>({styleConfig:o?a==null?void 0:a.styleConfig:void 0,menuItemDefaultStyle:o?a==null?void 0:a.menuItemDefaultStyle:void 0}),cn=(a,o,d)=>{var N;return{menuItemDefaultStyle:d?a==null?void 0:a.menuItemDefaultStyle:void 0,style:Xe(Fe({},o.style),{config:d?(N=o.style)==null?void 0:N.config:void 0})}},Gt=(a,o,d)=>{const N=o&&!d?(0,L.bR)(a):void 0,r=Object.keys(N!=null?N:{}).length>0;return{style:N,isStyled:r,hasGradient:r&&!(0,L.k)(a)}},Wt=a=>{var o;return(0,H.Jw)(a==null?void 0:a.menuItemDefaultStyle)||!!((o=a==null?void 0:a.items)!=null&&o.some(d=>{var N;return(0,H.Jw)((N=d.style)==null?void 0:N.config)}))},Yt=({isTopNavbar:a,isMobile:o,isHamburger:d})=>a&&!o||o&&!d,Xt=(a,o)=>Wt(Xe(Fe({},a),{items:o})),Ut=(a,o)=>Yt(a)&&Wt(o),Nt=a=>o=>{var d,N;return a?!Bt.includes((N=(d=o.data)==null?void 0:d.view)==null?void 0:N.toLowerCase()):!0},wt=a=>o=>!(o.data.section==="Schedule"&&a),zt=a=>(a===C.Ww.TOP||a===C.Ww.TOP_LEFT)&&document.body.clientWidth>=ht,un=({setMobile:a,isGuest:o,menus:d,isOpen:N,open:r,close:l,isMobile:i,showAppSidebar:_,isSearchActive:J,toggleMenu:ve,blockClick:$=!1,topBarRef:Se,navRef:ue,contentContainerRef:G,hasExpandableMenu:Z=!1,isExpandableMenuOpen:ge=!1,onToggleExpandableMenu:te})=>{var le;const Le=e.useRef(null),ne=ue!=null?ue:Le,x=(0,e.useRef)(_);x.current=_;const ae=(0,e.useRef)(null),me=G!=null?G:ae,{hash:R}=(0,h.zy)(),{hasLive:Me,scheduleSection:Ae,webSettings:{MENU_ITEM_ICON_STATUS:Ve}}=(0,c.U)(),{menu:z,primary:Oe,more:He}=(0,A.b0)(["menu","primary","more"]);e.useEffect(()=>{R.includes(f.UT)&&l()},[R]),e.useEffect(()=>{a(window.innerWidth<ht)},[]);const fe=d.find(p.ST),We=fe==null?void 0:fe.layout,k=d.find(W=>W.layout===C.Ww.TOP_RIGHT_UTILITIES),ce=We===C.Ww.TOP||We===C.Ww.TOP_LEFT,Ee=We===C.Ww.HAMBURGER,Ue=We===C.Ww.SIDEBAR,we=rn(d,Ue),yt=Yt({isTopNavbar:ce,isMobile:i,isHamburger:Ee}),lt=Ut({isTopNavbar:ce,isMobile:i,isHamburger:Ee},fe),ze=ie(ge),Ot=Gt(fe,i,Ee),dn=ce?ht:v.cO,pt=k==null?void 0:k.items.find(p.WX),Qe=d.some(W=>W.items.some(p.WX)),Ze=!!pt,vn=fe==null?void 0:fe.items.some(p.WX),mn=Ue||i&&!Ee,Qt=!(Me&&Ae===y.AvailabilityState.ENABLED),ke=((le=we==null?void 0:we.items)==null?void 0:le.filter(Nt(o)))||[],Lt=!(ke!=null&&ke.length),ct=(fe==null?void 0:fe.items.filter(Nt(o)).filter(wt(Qt)))||[],Ke=i&&Ze&&!vn?[...ct,pt]:ct,_t=5,{visibleItems:Pt,hiddenItems:Zt}=(0,at.W)(Ke,Ue?ne:Se,Ue?me:ne,void 0,(W,pe)=>W.title===pe.title,!!Ue,me),it=(0,e.useMemo)(()=>Zt.filter(Boolean).map(W=>{var pe;return Xe(Fe({},W),{style:Xe(Fe({}
6,(pe=W==null?void 0:W.style)!=null?pe:{}),{featured:!0}),showIcon:!1})}),[Zt]);ke.unshift(...it);const Rt=i&&Xt(we,ke),fn=(0,e.useMemo)(()=>Pt.filter(Boolean).map(W=>Xe(Fe({},W),{showIcon:!0})),[Pt]),It=W=>{const pe=document.getElementsByClassName("full-screen-overlay");W?pe||(0,E.HK)(gt):(0,E.OT)(gt)},je=({target:W})=>{const pe=W==null?void 0:W.closest("#left-nav-region .smart-link");N&&pe||J||(N&&(i||Ee)?It(!1):!N&&!_&&It(!0),N&&ne.current&&!ne.current.contains(W)&&!zt(We)&&!_&&!Ee&&(It(!0),l()))},$e=T()(()=>{const W=window.innerWidth;!i&&W<dn?(a(!0),l()):i&&W>=ht&&(a(!1),l()),!i&&!_&&It(!0)},100,{leading:!0,maxWait:100});e.useEffect(()=>(window.addEventListener("click",je,!1),window.addEventListener("touchstart",je,!1),window.addEventListener("resize",$e),()=>{window.removeEventListener("click",je,!1),window.removeEventListener("touchstart",je,!1),window.removeEventListener("resize",$e),x.current||(0,E.HK)(gt)}),[i,d,N,J]);const qe=W=>{W.preventDefault(),ve(),(0,V.u4)(g.rI.MENU_TOGGLE)},St=W=>{const pe=ne.current,At=W.relatedTarget;pe!=null&&pe.contains(At)||l()},Je=Ue?"left":We==null?void 0:We.toLowerCase(),et=(0,E.AH)(`navbar ${i?"left":Je}`,Ee&&"left",Ue&&"left-navbar",Ot.isStyled&&"navbar--styled-bottom",Ot.hasGradient&&"navbar--gradient-bottom",ce?"":"pull-left",Ee||ce&&i?"force-mobile":"",N?"open":""),tt=(0,E.AH)("navbar-menu",N?"open":""),En=(0,E.AH)("navbar-main",Ke.length>=_t&&"scrollable"),hn=(0,e.useCallback)(W=>W.preventDefault(),[]);return d.length===0?null:e.createElement(e.Fragment,null,e.createElement("nav",{ref:ne,className:et,"data-test-id":"navbar","aria-hidden":!i&&Ee,"aria-label":Oe.value,style:Ot.style},e.createElement("ul",{className:En,ref:me},fn.map((W,pe)=>{var At,ut;return e.createElement("li",{key:`${W.title}`},e.createElement(m.oi,Fe(Xe(Fe({key:pe},W),{menuClass:(0,E.AH)("resident-primary-color-fill-hover","btn-main"),inactiveMenuClass:"",imageStyle:m.Mx.LARGE,showIcon:!ce||i||Ve===y.AvailabilityState.ENABLED&&!!((At=W==null?void 0:W.style)!=null&&At.iconUrl||(ut=W==null?void 0:W.style)!=null&&ut.activeIconUrl),blockClick:$,reserveBoldWidth:lt,iconBesideLabel:ce&&!i}),cn(fe,W,yt))))}),ce&&!i&&!Lt?e.createElement("li",{key:"dropdown-menu-item"},e.createElement(ot,{close:l,open:r,isGuest:o,menuItems:ke,subMenuClass:tt,blockClick:$,isOpen:N,itemStyle:fe==null?void 0:fe.menuItemDefaultStyle,reserveBoldWidth:lt})):null,ce&&!i&&Z&&te?e.createElement("li",{key:"expandable-menu-toggle",className:"expandable-menu-toggle"},e.createElement(H.Js,{as:"button",type:"button",className:(0,E.AH)("btn-main","btn-expandable-toggle","resident-secondary-color-fill","resident-primary-color-fill-hover"),onMouseDown:hn,onClick:te,"aria-expanded":ge,"aria-label":He.value,$menuItemStyle:fe==null?void 0:fe.menuItemDefaultStyle,$disableUnderline:!0,$reserveBoldWidth:lt},e.createElement("span",{"data-label":He.value},e.createElement("span",null,He.value)),e.createElement(n.Q6,{name:u.Fc.ARROW_DOWN,isAriaHidden:!0,state:ge?u.nJ.HOVER:u.nJ.NORMAL,height:11,width:11,className:(0,E.AH)("icon-arrowdown",ze&&"icon-arrowdown--open"),fallbackIcon:()=>e.createElement(_e.A,{className:(0,E.AH)("icon-arrowdown",ze&&"icon-arrowdown--open"),height:"11",width:"11"})}))):null),!Ee&&!Lt&&fe?e.createElement(n.Hv,null,({isActive:W})=>e.createElement("div",{className:"bottom-section"},e.createElement("a",{className:"resident-secondary-color-fill resident-primary-color-fill-hover",href:"#",onClick:qe,"data-test-id":"hamburger-btn",role:"button","aria-label":z.value,"aria-expanded":N,"aria-controls":"left-nav-region"},e.createElement(n.Q6,{name:u.Fc.BURGER,state:W?u.nJ.HOVER:u.nJ.NORMAL,height:24,width:24,fallbackIcon:()=>e.createElement(Ge.A,{height:"24",width:"24"})})))):null,mn&&!Lt?e.createElement(Ct,Xe(Fe({menuItems:ke},ln(we,i)),{isGuest:o,close:l,open:r,subMenuClass:"",menuCssClass:tt,blockClick:$,isOpen:N,handleBlur:St,reserveBoldWidth:Rt})):null),Ee?e.createElement(dt,{isOpen:N,mainMenuItems:ct,secondaryMenuItems:ke,hasSearchItem:Qe,isGuest:o,blockClick:$}):null)}}),54985:((oe,b,t)=>{t.d(b,{A:()=>A});var e=t(96540),h=t(85092),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(c,n,s)=>n in c?I(c,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[n]=s,y=(c,n)=>{for(var s in n||(n={}))C.call(n,s)&&u(c,s,n[s]);if(T)for(var s of T(n))g.call(n,s)&&u(c,s,n[s]);return c};const A=(c=>e.createElement(h.A,y({},c),e.createElement("path",{d:"M15.25 3.063c-0.25 0-0.5 0.063-0.688 0.188l-14.125 11.188c-0.375 0.375-0.625 1.125-0.25 1.625 0.375 0.438 1.188 0.5 1.625 0.125l13.438-10.625 13.438 10.625c0.438 0.375 1.25 0.375 1.625-0.125 0.313-0.438 0.188-1.25-0.25-1.625l-14.125-11.188c-0.25-0.125-0.5-0.188-0.688-0.188zM6.313 13.938l-2.25 1.75v10.75c0 0.625 0.5 1.125 1.125 1.125h7.063c0.625 0 1.125-0.5 1.125-1.125v-6.313h3.75v6.313c0 0.625 0.438 1.125 1.063 1.125h7.063c0.625 0 1.125-0.5 1.125-1.125v-10.75l-2.25-1.75v11.438h-4.813v-6.375c0-0.563-0.5-1.063-1.125-1.063h-5.938c-0.625 0-1.125 0.5-1.125 1.063v6.375h-4.813z"})))}),56646:((oe,b,t)=>{t.d(b,{bR:()=>n,db:()=>q,hS:()=>se,k:()=>X});var e=t(55194),h=t(2275),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(p,P,f)=>P in p?I(p,P,{enumerable:!0,configurable:!0,writable:!0,value:f}):p[P]=f,y=(p,P)=>{for(var f in P||(P={}))C.call(P,f)&&u(p,f,P[f]);if(T)for(var f of T(P))g.call(P,f)&&u(p,f,P[f]);return p};const A=/^#[0-9a-fA-F]{6}$/,c=p=>{const{backgroundColour:P,backgroundOpacity:f}=p;return!P||!A.test(P)?{}:{"--color-bg":(0,e.Tj)(P),"--background-opacity":(0,h.qE)(f!=null?f:1,0,1).toString()}},n=(p,P=!1)=>{const f=p==null?void 0:p.styleConfig;return f?P&&f.fixedOnScroll?c(y(y({},f),f.fixedOnScroll)):c(f):{}},s=p=>{const P=p==null?void 0:p.styleConfig;if(P!=null&&P.fixedOnScroll)return c(y(y({},P),P.fixedOnScroll))},X=(p,P=!1)=>{const f=p==null?void 0:p.styleConfig;return f?(P&&f.fixedOnScroll?y(y({},f),f.fixedOnScroll):f).gradient===!1:!1},q=(p,P)=>P?void 0:p,se=(p,{isTopNavbar:P,isMobile:f,isScrolledLayer:E})=>{if(!(!P||f))return E?s(p):n(p)}}),65855:((oe,b,t)=>{t.d(b,{A:()=>A});var e=t(96540),h=t(85092),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(c,n,s)=>n in c?I(c,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[n]=s,y=(c,n)=>{for(var s in n||(n={}))C.call(n,s)&&u(c,s,n[s]);if(T)for(var s of T(n))g.call(n,s)&&u(c,s,n[s]);return c};const A=(c=>e.createElement(h.A,y({},c),e.createElement("path",{d:"M0 4h32v4h-32zM0 14h24v4h-24zM0 24h32v4h-32z"})))}),75862:((oe,b,t)=>{t.d(b,{A:()=>A});var e=t(96540),h=t(85092),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(c,n,s)=>n in c?I(c,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[n]=s,y=(c,n)=>{for(var s in n||(n={}))C.call(n,s)&&u(c,s,n[s]);if(T)for(var s of T(n))g.call(n,s)&&u(c,s,n[s]);return c};const A=(c=>e.createElement(h.A,y({},c),e.createElement("path",{d:"M11 0h-9.25c-0.938 0-1.75 0.813-1.75 1.813v9.313c0 1 0.813 
61.813 1.75 1.813h9.25c0.938 0 1.75-0.813 1.75-1.813v-9.313c0-1-0.813-1.813-1.75-1.813zM11 11.125h-9.25v-9.313h9.25zM11 17.375h-9.25c-0.938 0-1.75 0.813-1.75 1.813v9.375c0 0.938 0.813 1.75 1.75 1.75h9.25c0.938 0 1.75-0.813 1.75-1.75v-9.375c0-1-0.813-1.813-1.75-1.813zM11 28.563h-9.25v-9.375h9.25zM28.563 0h-9.25c-0.938 0-1.75 0.813-1.75 1.813v9.313c0 1 0.813 1.813 1.75 1.813h9.25c0.938 0 1.75-0.813 1.75-1.813v-9.313c0-1-0.813-1.813-1.75-1.813zM28.563 11.125h-9.25v-9.313h9.25zM28.563 17.375h-9.25c-0.938 0-1.75 0.813-1.75 1.813v9.375c0 0.938 0.813 1.75 1.75 1.75h9.25c0.938 0 1.75-0.813 1.75-1.75v-9.375c0-1-0.813-1.813-1.75-1.813zM28.563 28.563h-9.25v-9.375h9.25z"})))}),76849:((oe,b,t)=>{t.d(b,{IC:()=>q,J_:()=>A,Jf:()=>c,Lf:()=>f,Tp:()=>s,ZS:()=>P,gJ:()=>se});var e=t(16505),h=t(55488),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(m,O,S)=>O in m?I(m,O,{enumerable:!0,configurable:!0,writable:!0,value:S}):m[O]=S,y=(m,O)=>{for(var S in O||(O={}))C.call(O,S)&&u(m,S,O[S]);if(T)for(var S of T(O))g.call(O,S)&&u(m,S,O[S]);return m};const A=async m=>await e.LV.get(h.xM,{queryParams:m}),c=async(m,O)=>{try{const{results:S}=await m.search(O);return S.map(n)}catch(S){throw S}},n=({hits:m,nbPages:O,nbHits:S,page:U})=>({hits:m,totalPages:O,totalHits:S,page:U}),s=(m,O)=>O.reduce((S,U,K)=>{const D=m[K];return U===h.Py.LIVE_EVENT&&(D.hits=X(m[K].hits)),S[U]=D,S},{}),X=m=>[...m].sort(({startDate:O},{startDate:S})=>O-S),q=()=>{const m=ENV_CONF.env.toLowerCase(),O=APP_CONF.realm;return h.ow.replace("{env}",m).replace("{realm}",O)},se=(m,O,S)=>{const U=y({},m);return U[O]&&!S?delete U[O]:U[O]=S,U},p=m=>m.trim(),P=m=>m.type?[m.type]:[...h.mR],f=(m,O,S,U,K,D,w)=>{const Ie=E({type:O});return{indexName:m,query:S,params:{filters:U,facetFilters:K!=null&&K.length&&D?[...K,Ie]:[Ie],hitsPerPage:h.I$,page:w}}},E=m=>Object.keys(m).map(O=>m[O]&&`${O}:${m[O]}`).join(" AND ")}),87333:((oe,b,t)=>{t.d(b,{W:()=>C});var e=t(96540),h=t(20181),I=t.n(h);const T=160;function C(g,u,y,A=T,c=(X,q)=>X===q,n=!1,s){const[X,q]=(0,e.useState)([]),[se,p]=(0,e.useState)([]),P=(0,e.useRef)(null);(0,e.useEffect)(()=>{const E=P.current;(!E||E.length!==g.length||E.some((O,S)=>O!==g[S]))&&(P.current=g,q(g),p([]))},[g]);const f=e.useMemo(()=>I()(E=>{var m,O,S,U;const K=E[0];if(K.contentRect.width===0)return;if(n?K.target.scrollHeight>K.target.clientHeight:K.target.scrollWidth>K.target.clientWidth){q(F=>{if(F.length===0)return F;const re=F[F.length-1];return p(ee=>ee.some(De=>c?c(De,re):De===re)?ee:[re,...ee]),F.slice(0,-1)});return}else P.current=g,q(g),p([]);((O=(m=y.current)==null?void 0:m.offsetWidth)!=null?O:0)>((U=(S=s.current)==null?void 0:S.offsetWidth)!=null?U:0)+A&&p(F=>{if(F.length===0)return F;const[re,...ee]=F;return q(ye=>ye.some(Te=>c?c(Te,re):Te===re)?ye:[...ye,re]),ee})},700),[]);return(0,e.useLayoutEffect)(()=>{if(!(u!=null&&u.current))return;const E=new ResizeObserver(f);return E.observe(u.current),()=>{E.disconnect(),f.cancel()}},[u==null?void 0:u.current,y,A,f,n]),{visibleItems:X,hiddenItems:se}}}),88034:((oe,b,t)=>{t.d(b,{A:()=>A});var e=t(96540),h=t(85092),I=Object.defineProperty,T=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(c,n,s)=>n in c?I(c,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[n]=s,y=(c,n)=>{for(var s in n||(n={}))C.call(n,s)&&u(c,s,n[s]);if(T)for(var s of T(n))g.call(n,s)&&u(c,s,n[s]);return c};const A=(c=>e.createElement(h.A,y({},c),e.createElement("path",{d:"M15.063 23.75h2.25v2.25h-2.25zM7.75 23.75h2.25v2.25h-2.25zM15.063 15.813h2.25v2.25h-2.25zM7.75 15.813h2.25v2.25h-2.25zM28.563 8.375h-24.813v-1.938c0-1.125 0.875-2 1.938-2h3.813v1c0 0.563 0.438 1 0.938 1 0.563 0 0.938-0.438 0.938-1v-1h9.563v1c0 0.563 0.438 1 0.938 1 0.563 0 1-0.438 1-1v-1h3.813c1 0 1.875 0.875 1.875 2zM28.563 27.5c0 1.063-0.875 1.875-1.875 1.875h-21c-1.063 0-1.938-0.813-1.938-1.875v-17.375h24.813zM26.438 2.375h-3.813v-0.938c0-0.563-0.438-1-1-1-0.5 0-0.938 0.438-0.938 1v0.938h-9.563v-0.938c0-0.563-0.438-1-1-1-0.5 0-0.938 0.438-0.938 1v0.938h-3.813c-2.125 0-3.875 1.688-3.875 3.813v21.063c0 2.125 1.75 3.875 3.875 3.875h21.063c2.125 0 3.813-1.75 3.813-3.875v-21.063c0-2.125-1.688-3.813-3.813-3.813zM22.938 15.813h2.25v2.25h-2.25zM22.938 23.75h2.25v2.25h-2.25z"})))}),89979:((oe,b,t)=>{t.d(b,{R:()=>I,c:()=>h});var e=t(15234);const h=(T,C)=>({type:e.Qs,closeMenu:T,shouldOpenSidebar:C}),I=T=>({type:e.oc,isMobile:T})}),96406:((oe,b,t)=>{t.d(b,{b:()=>N});var e=t(96540),h=t(86364),I=t(56347),T=t(20181),C=t.n(T),g=t(35604),u=t(1346),y=t(35667),A=t(32248),c=t(58562),n=t(90953),s=t(94962),X=t(13516),q=t(79040),se=t(89979),p=t(97615),P=t(65855),f=t(89064),E=t(20194),m=t(33949),O=t(10046),S=t(49912),U=t(92675),K=t(59530),D=t(21975),w=t(2275);const Ie=r=>new Promise((l,i)=>{const _=new Image;_.src=r,_.onload=()=>l(),_.onerror=()=>i()}),F=r=>{const{watchNow:l,live:i}
6=(0,c.b0)(["watchNow","live"]),[_,J]=e.useState(!1),[ve,$]=e.useState((0,X.vy)(r.thumbnailUrl,160,90)),{routes:Se}=e.useContext(K.P),ue=(0,I.W6)(),{settings:{CARD_THUMBNAIL:G}}=(0,n.U)(),Z=async le=>{await Ie(le),J(!0)},ge=async le=>{try{await Z(le)}catch(Le){const ne=(0,X.vy)(G,160,90);$(ne),await Z(ne)}};if(e.useEffect(()=>{const le=(0,X.vy)(r.thumbnailUrl,160,90);$(le),ge(le)},[r.thumbnailUrl]),!_)return null;const te=()=>{r.dismiss(),(0,w.mH)((0,I.tW)(Se[D.xW.LIVE],{eventId:r.id}),ue)};return e.createElement("div",{className:"toast"},e.createElement("div",{className:"toast__image"},e.createElement("img",{src:ve}),e.createElement("div",{className:"badge live"},i.value)),e.createElement("div",{className:"toast__content"},e.createElement("h1",{"aria-level":2},r.title),e.createElement(U.$n,{smallMode:!0,onClick:te,className:U.k9.PRIMARY},e.createElement("span",{className:"btn__label"},l.value))),e.createElement(U.K0,{smallMode:!0,onClick:r.dismiss,className:(0,X.AH)(U.k9.PRIMARY,"toast__close")},e.createElement(f.A,{className:"btn-icon__icon"})))},re=(0,I.y)(F);var ee=t(91645),ye=t(6099),De=t(41483),Te=t(87754),dt=t(6223),nt=t(56710),_e=t(12189),Ge=t(55488),at=t(56016),V=t(63967),v=t(61707);const L=(0,e.lazy)(()=>Promise.all([t.e(94708),t.e(44125),t.e(70077),t.e(27846),t.e(75145),t.e(68393),t.e(8571),t.e(4525),t.e(28123),t.e(91800),t.e(79564),t.e(48467),t.e(78955),t.e(42371)]).then(t.bind(t,47843))),B="body",ie=({showAppSidebar:r,toggleAppSidebar:l,isGuest:i,live:_,loadLiveEvents:J,currentLocation:ve})=>{const $=(0,w.AH)("app-sidebar"),Se=(0,w.AH)("app-sidebar__overlay",r&&"opened"),{authenticationProviders:ue}=(0,nt.Z)(),G=e.useRef(null),{profileConfiguration:Z}=(0,n.U)(),{signIn:ge,liveNow:te,close:le}=(0,c.b0)(["signIn","liveNow","close"]),{isFetching:Le,isFetchingNext:ne}=(0,h.d4)(k=>k.services.session.user),{pathname:x}=(0,I.zy)(),{routes:ae}=e.useContext(K.P),me=(0,I.W6)(),[R,Me]=(0,e.useState)(!1),Ae=(0,I.zy)(),Ve=(0,_e.GX)(Z);e.useEffect(()=>{const k=new URLSearchParams(window.location.search).get("from");Le||ne||k&&i&&Oe(!0,!0)},[ve,i,Le,ne]),e.useEffect(()=>()=>{Oe(!1,!1)},[]),e.useEffect(()=>{const k=document.getElementsByClassName("full-screen-overlay");return r?(0,w.OT)(B):k||(0,w.HK)(B),Te.jg.addEventListener("mousedown",z),Te.jg.addEventListener("touchstart",z),Te.jg.addEventListener("keydown",He),()=>{Te.jg.removeEventListener("mousedown",z),Te.jg.removeEventListener("touchstart",z),Te.jg.removeEventListener("keydown",He),(0,w.HK)(B)}},[r]),e.useEffect(()=>{let k;return R&&r&&!G.current.contains(document.activeElement)&&(k=requestAnimationFrame(()=>{const ce=(0,v.j)(G.current,["input","a"]);ce==null||ce.focus()})),()=>{k!==void 0&&cancelAnimationFrame(k)}},[r,R]);const z=k=>{if(Me(!1),k.detail===0||!(G!=null&&G.current))return;const ce=(0,w.Sr)(event,G==null?void 0:G.current);r&&!ce&&Oe(!0,!1)},Oe=(k,ce)=>l(k,ce),He=k=>{i&&k.key==="Tab"||Me(!0)},fe=k=>{const ce=G.current,Ee=k.relatedTarget,Ue=ce==null?void 0:ce.contains(Ee),we=document.querySelector("#dice-modal"),yt=we==null?void 0:we.contains(Ee);ce&&r&&Ee!==null&&!Ue&&!yt&&Oe(!1,!1)},We=(0,at.Z3)(async()=>{var k;const Ee=new URLSearchParams(window.location.search||"").get("from"),Ue=Ee===ae[D.xW.SIGNUP],we=(0,w.sU)(Ae,["playlistId","seriesId","seasonId","watchlistId","owner"]).toString();if(Oe(!0,!1),!Ue){const yt=`${Ae.pathname}${Ae.search}`,lt=Ee||yt,ze=Ee&&we?`?${we}`:"",Ot=Ve?`${lt}${ze}${Ge.q7}`:`${lt}${ze}`;me.replace(Ot,(k=Ae==null?void 0:Ae.state)!=null?k:{})}},ue);return e.createElement(e.Fragment,null,e.createElement("div",{className:Se}),e.createElement(dt.s,{transitionEnterTimeout:600,transitionLeaveTimeout:600,transitionName:"sidebar-slide",component:e.Fragment},r?e.createElement("div",{className:$,ref:G,onBlur:fe},e.createElement("div",{className:"app-sidebar__topbar"},e.createElement("h2",null,i?ge.value:te.value),e.createElement(U.K0,{"aria-label":(le==null?void 0:le.value)||"Close",smallMode:!0,onClick:()=>Oe(!1,!1),className:U.k9.PRIMARY},e.createElement(f.A,{className:"btn-icon__icon"}))),i?e.createElement(V.X,{providers:We,hasSignup:APP_CONF.allowSelfregistration,style:"sidebar",from:x}):e.createElement(L,{showAppSidebar:r,live:_,loadLiveEvents:J,currentLocation:ve})):null))};var Y=t(87585),j=Object.defineProperty,de=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,be=(r,l,i)=>l in r?j(r,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[l]=i,Be=(r,l)=>{for(var i in l||(l={}))Ce.call(l,i)&&be(r,i,l[i]);if(de)for(var i of de(l))Ne.call(l,i)&&be(r,i,l[i]);return r};const Re=r=>e.createElement(ie,Be({},r)),he=r=>({toggleAppSidebar:(l,i)=>{const _=(0,se.c)(l,i);r(_)},loadLiveEvents:async l=>{l?(r(ye._.fetchNextPageRequest({rpp:De.y,p:l})),(0,Y.u4)(u.uQ.LOAD_MORE,{page:l})):r(ye._.fetchRequest({rpp:De.y}))}}),vt=({services:{navbar:{showAppSidebar:r},session:{user:{isGuest:l}},app:{currentLocation:i}},liveEvent:_})=>({showAppSidebar:r,isGuest:l,live:_,currentLocation:i}),mt=(0,h.Ng)(vt,he)(Re);var ft=t(25638),Ye=t(87333),Et=t(98284),ot=t(24984),st=t(82311),Dt=t(15234),xe=t(56646),Q=t(79383),Tt=t(49688);const bt={frontofficeAuthentication:"FRONTOFFICE_AUTHENTICATION"},Ft={captcha:"CAPTCHA"},Kt=(r=[])=>r!=null&&r.length?r.some(l=>l.action===bt.frontofficeAuthentication&&l.type===Ft.captcha):!1;var Vt=t(39848),jt=t(31065),Ct=t(25310),en=t(24381),rt=t(42023),tn=t(51927);
6const $t="(max-width: 1024px)";var nn=Object.defineProperty,an=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,ht=(r,l,i)=>l in r?nn(r,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[l]=i,gt=(r,l)=>{for(var i in l||(l={}))Xe.call(l,i)&&ht(r,i,l[i]);if(Fe)for(var i of Fe(l))on.call(l,i)&&ht(r,i,l[i]);return r},Bt=(r,l)=>an(r,Jt(l));const sn=({preventFetching:r=!1,forcedTargetPlatformMenu:l=null})=>{const i=(0,tn.U)($t),_=(0,h.wA)(),J=(0,h.d4)(x=>x.menu),ve=i?rt.ak.MOBILE_WEB:rt.ak.WEB,[$,Se]=e.useState(ve),[ue,G]=e.useState({menus:{[ve]:(J==null?void 0:J.menus)||[]},active:null}),Z=!!J.menus,ge=(0,h.d4)(x=>{var ae,me,R;return(R=(me=(ae=x==null?void 0:x.services)==null?void 0:ae.session)==null?void 0:me.user)==null?void 0:R.id}),te=(0,h.d4)(x=>{var ae,me,R;return(R=(me=(ae=x==null?void 0:x.services)==null?void 0:ae.session)==null?void 0:me.user)==null?void 0:R.isGuest}),le=async()=>{var x;try{_(Ct.l.setFetching());const ae=await en.o.get($),me=(x=ae.menus)!=null&&x.length?ae.menus:J.menus;G(R=>Bt(gt({},R),{menus:Bt(gt({},R.menus),{[$]:me}),active:$})),_(Ct.l.fetchSuccess({menus:me,deviceType:$}))}catch(ae){_(Ct.l.fetchFailure())}},Le=e.useCallback(async()=>{var x;if((x=ue.menus[$])!=null&&x.length){G(ae=>Bt(gt({},ae),{active:$})),_(Ct.l.fetchSuccess({menus:ue.menus[$],deviceType:$}));return}r||le()},[r,ue,$,J]);e.useEffect(()=>{const x=l||(i?rt.ak.MOBILE_WEB:rt.ak.WEB);Se(x)},[i,l]);const ne=e.useCallback(()=>{ue.active&&(G({menus:{[rt.ak.WEB]:[],[rt.ak.MOBILE_WEB]:[]},active:$}),ge&&!r&&le())},[$,ue,r,J,ge]);return e.useEffect(()=>{Z&&ne()},[ge,te,Z]),e.useEffect(()=>{Z&&Le()},[$,Z]),{shouldUseMobileMenuData:i}};var rn=Object.defineProperty,ln=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Xt=(r,l,i)=>l in r?rn(r,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[l]=i,Ut=(r,l)=>{for(var i in l||(l={}))Wt.call(l,i)&&Xt(r,i,l[i]);if(Gt)for(var i of Gt(l))Yt.call(l,i)&&Xt(r,i,l[i]);return r},Nt=(r,l)=>ln(r,cn(l));const wt=250,zt=150,un=50,a=15e3,o=()=>e.createElement(P.A,{className:"hamburger-icon",height:"24",width:"24"}),d=()=>e.createElement(f.A,{className:"close-icon",width:"20",height:"20"}),N=({root:r,isGuest:l,isNavbarOpened:i,isVisible:_,menus:J,openNavbar:ve,closeNavbar:$,toggleNavbarMenu:Se,setNavbarMobile:ue,isMobile:G,showAppSidebar:Z,isSearchActive:ge,blockClick:te=!1,preventFetching:le=!1,simplified:Le=!1})=>{var ne,x,ae,me,R,Me;const Ae=e.useRef(null),Ve=e.useRef((r==null?void 0:r.scrollTop)||window.scrollY),z=e.useRef(null),Oe=e.useRef(null),He=e.useRef(null),{appSettings:{WEB:fe},authenticationProviders:We,mfaConfigurations:k,realmFullName:ce,hasLive:Ee,scheduleSection:Ue}=(0,n.U)(),{openIdProviderState:we,isOidcLoading:yt}=(0,ee.A)(),lt=(0,Q.d)(),{logoWebSrc:ze}=(0,Et.b)({imageUris:lt}),Ot=(x=(ne=we==null?void 0:we.clientConfiguration)==null?void 0:ne.additionalConfig)==null?void 0:x.accountMenuTargetPlatform,{imageType:dn}=e.useContext(X.xK);sn({preventFetching:le,forcedTargetPlatformMenu:Ot});const pt=(0,h.wA)(),Qe=(0,I.zy)(),Ze=(0,h.d4)(M=>M.menu.defaultMenu),{menu:vn,goToPage:mn}=(0,c.b0)(["menu","goToPage"],{goToPage:{title:Ze==null?void 0:Ze.title}}),[Qt,ke]=e.useState(!1),Lt=(0,s.ZC)(Qt),ct=(0,h.d4)(M=>M.views.live.events),Ht=(0,Tt.u)(),[Ke,_t]=e.useState(!1),[Pt,Zt]=e.useState(null),[it,Rt]=e.useState(!1),fn=e.useMemo(()=>J==null?void 0:J.find(O.n1),[J]),{defaultMenuParams:It,routes:je}=e.useContext(K.P),$e=J==null?void 0:J.find(st.ST),qe=J==null?void 0:J.find(M=>M.layout===g.Ww.EXPANDABLE),St=!!((ae=qe==null?void 0:qe.items)!=null&&ae.length),Je=($e==null?void 0:$e.layout)||g.Ww.TOP,et=!!((me=$e==null?void 0:$e.styleConfig)!=null&&me.fixedOnScroll),tt=(0,xe.db)($e,G),En=St&&(!(0,xe.k)(tt,et&&Ke)||((Me=(R=tt==null?void 0:tt.styleConfig)==null?void 0:R.backgroundOpacity)!=null?Me:1)<1),hn=(0,jt.eM)(je,[D.xW.ACCOUNT,D.xW.PURCHASE,D.xW.SIGNUP],Qe.pathname),W=Je!==g.Ww.SIDEBAR,pe=Je===g.Ww.HAMBURGER,At=pe&&i,ut=Je===g.Ww.TOP||Je===g.Ww.TOP_LEFT,Tn=Je===g.Ww.SIDEBAR,gn=(0,s.ZC)(Z),kt=(0,I.W6)(),Cn=Qe.hash.includes(Ge.UT),Nn=(0,w.AH)("topbar",pe&&"hamburger",Tn&&"left-navbar",W&&"full-topbar",W&&Ke&&!et&&"hidden-sticky",Cn&&"search-active",i&&"open"),On=et&&Ke,pn=(M,Pe)=>(0,w.AH)("topbar__bg",M&&"topbar__bg--faded",(it||(0,xe.k)(tt,Pe))&&"topbar__bg--no-gradient"),Pn=!(Ee&&Ue===A.AvailabilityState.ENABLED),Ln=($e==null?void 0:$e.items.filter((0,S.Mr)(l)).filter((0,S.UD)(Pn)))||[],{hiddenItems:Rn}=(0,Ye.W)(Ln,z,Oe,void 0,(M,Pe)=>M.title===Pe.title,!1,He);e.useEffect(()=>{An()},[l,Z,gn]);const An=()=>{const M=Z&&!gn,Pe=!Z&&gn;(0,w.V$)(l)?Pe?(0,Y.u4)(u.uQ.CLOSE):M&&(0,Y.u4)(u.uQ.OPEN):Pe?(0,Y.u4)(u.bE.CLOSED):M&&(0,Y.u4)(u.bE.STARTED)},Dn=()=>
6{if(te)return null;(0,w.mH)(je[D.xW.SIGNUP],kt)},bn=()=>{const M={type:Dt.o8};pt(M)},Bn=()=>{clearTimeout(Ae.current),Ae.current=null,Ae.current=window.setTimeout(()=>{In()},a)};e.useEffect(()=>(r?(r.addEventListener("scroll",xt),window.removeEventListener("scroll",xt)):window.addEventListener("scroll",xt),()=>{window.removeEventListener("scroll",xt),r==null||r.removeEventListener("scroll",xt),clearTimeout(Ae.current)}),[Ke,r,Qe.pathname]),e.useEffect(()=>{const M=Qe.hash.includes(Ge.NV);M&&ct&&kt.push({hash:""}),ke(M),!M&&Lt&&(ct!=null&&ct.length)&&pt((0,se.c)(!1,!0))},[Qe,Qt,Lt,ct]);const Wn=(M=!1)=>{const Pe=Ht||M?"":mn.value,Mt=e.createElement("img",{alt:[ce,"Logo",Pe].filter(Boolean).join(" "),src:(0,X.vy)(ze,"AUTO",600,dn)}),qt=!!Ze&&!!Object.keys(It||{}).length;return!ze||!M&&!qt||Ht&&yt?null:M||Ht||!qt?e.createElement("span",null,Mt):e.createElement(ot.D,Ut({key:Ze.title,smart:!0,menuItemType:Ze.type},It),Mt)},yn=(M=!1)=>e.createElement("div",{className:"logo"},Wn(M)),xt=C()(()=>{if(hn)return;const M=(r==null?void 0:r.scrollTop)||window.scrollY;if(et){_t(M>zt);return}const Pe=document.scrollingElement.scrollHeight-document.scrollingElement.clientHeight,Mt=M>=Pe&&Pe>0,qt=M<=0,xn=Ve.current>M&&!Mt,Fn=Ve.current<M&&!qt,Mn=(0,jt.eM)(je,[D.xW.INTERSTITIAL,D.xW.VOD,D.xW.SEASON,D.xW.PLAYLIST],Qe.pathname),Kn=Mn||M<Ve.current-un,Vn=Mn||M>zt;Ke&&xn&&Kn?_t(!1):!Ke&&Fn&&Vn&&_t(!0),Ve.current=M},wt,{leading:!0,maxWait:wt}),Un=e.useCallback(()=>Rt(M=>!M),[]);e.useEffect(()=>{Ke&&!et&&Rt(!1)},[Ke,et]),(0,ft.X)([".navbar-expandable",".expandable-menu-toggle"],it,()=>Rt(!1)),e.useEffect(()=>{if(!it)return;const M=Pe=>{Pe.key==="Escape"&&Rt(!1)};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[it]);const In=()=>Zt(null),wn=()=>te?null:pt((0,se.c)()),Hn=()=>{if(te)return null;if((0,Vt.R)(We)){(0,at.Z)(We,kt,je,Ht,Qe);return}if(Kt(k)){(0,w.mH)(je[D.xW.LOGIN],kt);return}pt((0,se.c)())};if(_===!1)return null;if(Le)return e.createElement("div",{className:(0,w.AH)("topbar","full-topbar","topbar--simplified")},yn(!0));const Sn=St?[...Rn,...qe.items.filter((0,S.Mr)(l))].filter((0,S.UD)(Pn)):[],_n=St&&(0,S.z1)(Nt(Ut({},qe),{items:Sn}));return e.createElement(e.Fragment,null,e.createElement("div",{ref:z,className:Nn},e.createElement("div",{className:pn(On,!1),style:(0,xe.hS)(tt,{isTopNavbar:ut,isMobile:G,isScrolledLayer:!1})}),et?e.createElement("div",{className:pn(!On,!0),style:(0,xe.hS)(tt,{isTopNavbar:ut,isMobile:G,isScrolledLayer:!0})}):null,pe?e.createElement(p.QM,{className:"hamburger-menu__toggle",onClick:bn,ariaLabel:vn.value,isExpanded:i,role:"button"},e.createElement(q.Hv,null,i?({isActive:M})=>e.createElement(q.Q6,{name:y.Fc.CLOSE,state:M?y.nJ.HOVER:y.nJ.NORMAL,width:20,height:20,className:"close-icon",fallbackIcon:d}):({isActive:M})=>e.createElement(q.Q6,{name:y.Fc.BURGER,state:M?y.nJ.HOVER:y.nJ.NORMAL,width:24,height:24,className:"hamburger-icon",fallbackIcon:o}))):null,Je===g.Ww.TOP&&Ze?yn():null,e.createElement("div",{className:"topbar__main-menu"},Je!==g.Ww.TOP&&ze&&Ze?yn():null,ut?e.createElement(S.Fp,{open:ve,close:$,toggleMenu:Se,setMobile:ue,isOpen:i,isMobile:G,showAppSidebar:Z,isSearchActive:ge,menus:J,isGuest:l,blockClick:te,topBarRef:z,navRef:Oe,contentContainerRef:He,hasExpandableMenu:St,isExpandableMenuOpen:it,onToggleExpandableMenu:Un}):null),e.createElement("div",{className:"topbar__functionalities"},e.createElement(O.vH,{isGuest:l,handleSignInClick:Hn,handleSignUpClick:Dn,onAddLiveEvent:Bn,toggleSidebar:wn,isHamburgerOpened:At,topRightMenu:fn,blockClick:te}),l&&(fe!=null&&fe.languageBadgeStyle)?e.createElement(E.J,{blockClick:te,shouldReload:!0}):null)),ut&&!G&&St?e.createElement("nav",null,e.createElement("ul",{className:(0,w.AH)("navbar-expandable",Je===g.Ww.TOP_LEFT&&"navbar-expandable--left",it&&"navbar-expandable--open",En&&"navbar-expandable--fade",(0,xe.k)(qe)&&"navbar-expandable--no-gradient"),style:(0,xe.bR)(qe)},Sn.map(M=>{var Pe,Mt;return e.createElement("li",{key:M.title},e.createElement(m.oi,Nt(Ut({},M),{menuClass:(0,w.AH)("resident-primary-color-fill-hover","btn-main"),inactiveMenuClass:"",imageStyle:m.Mx.SIDE_BY_SIDE,showIcon:!!((Pe=M==null?void 0:M.style)!=null&&Pe.iconUrl||(Mt=M==null?void 0:M.style)!=null&&Mt.activeIconUrl),blockClick:te,menuItemDefaultStyle:qe.menuItemDefaultStyle,reserveBoldWidth:_n,underlineOnLink:!0})))}))):null,e.createElement(mt,null),Pt?e.createElement(re,{title:Pt.title,id:Pt.id,dismiss:In,thumbnailUrl:Pt.thumbnailUrl}):null)}})}]);})();
7
8//# sourceMappingURL=96406.01cc91179d7845ff430d.js.map

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.