1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[591],{204:(e,t,a)=>{"use strict";a.d(t,{default:()=>r});var l=a(95155),n=a(60709),i=a(15239),o=a(12115);let r=e=>{var t,a,r,s,c,d,u,m,h,p,v,g,f,b,x,y,w,k;let{...N}=e,[j,_]=(0,o.useState)(!1);(0,o.useEffect)(()=>{_(!1)},[N.src]);let S=j&&N.fallbackSrc?N.fallbackSrc:N.src,I=N.transformations&&S,P=(0,n.Wh)(S,null==(t=N.transformations)?void 0:t.desktop),A=(0,n.Wh)(S,null==(a=N.transformations)?void 0:a.tablet),E=(0,n.Wh)(S,null==(r=N.transformations)?void 0:r.mobile),C={alt:N.alt||"",width:null==(s=N.transformations)?void 0:s.mobileWidth,height:null==(c=N.transformations)?void 0:c.mobileHeight},{props:{srcSet:L}}=(0,i.getImageProps)({...C,width:(null==(d=N.transformations)?void 0:d.tabletWidth)||(null==(u=N.transformations)?void 0:u.mobileWidth),height:(null==(m=N.transformations)?void 0:m.tabletHeight)||(null==(h=N.transformations)?void 0:h.mobileHeight),src:A}),{props:{srcSet:M}}=(0,i.getImageProps)({...C,width:(null==(p=N.transformations)?void 0:p.desktopWidth)||(null==(v=N.transformations)?void 0:v.mobileWidth),height:(null==(g=N.transformations)?void 0:g.desktopHeight)||(null==(f=N.transformations)?void 0:f.mobileHeight),src:P}),T=null==(b=N.transformations)?void 0:b.mobileWidth,D=null==(x=N.transformations)?void 0:x.mobileHeight,O=N.imageStyle?N.imageStyle:{width:"100%"};return I?(0,l.jsxs)("picture",{className:N.pictureClassName,children:[(null==(y=N.transformations)?void 0:y.desktop)&&(0,l.jsx)("source",{srcSet:M,media:"(min-width: 1024px)"}),(null==(w=N.transformations)?void 0:w.tablet)&&(0,l.jsx)("source",{srcSet:L,media:"(min-width: 768px)"}),(0,l.jsx)(i.default,{src:E,width:T,height:D,alt:null!=(k=N.alt)?k:"",className:N.className,style:O,priority:N.priority,loading:N.priority?"eager":"lazy",sizes:N.sizes,onError:()=>{!j&&N.fallbackSrc&&_(!0)}})]}):null}},681:(e,t,a)=>{"use strict";a.d(t,{default:()=>r});var l=a(95155),n=a(99042),i=a(88284),o=a(12115);let r=e=>{let{colors:t}=e,[a,r]=(0,o.useState)("");return t?(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)("div",{className:"grid lg:grid-cols-3 gap-4",children:t.map(e=>(0,l.jsxs)("div",{className:"flex flex-row gap-4 w-full",children:[(0,l.jsx)("div",{className:"relative w-[40px] h-[100px] rounded-b-xl border border-grey-100 ".concat(e.class),style:e.class?{}:{backgroundColor:e.hex},children:(0,l.jsx)("span",{className:"w-[10px] h-[10px] bg-black absolute left-[15px] bottom-[20px] rounded border border-grey-300"})}),(0,l.jsx)("div",{className:"flex flex-col grow",children:(0,l.jsxs)("div",{className:" flex items-start gap-2 relative w-full",children:[(0,l.jsx)("button",{className:"p-1 bg-grey-100 hover:bg-secondary hover:text-white rounded",onClick:()=>(e=>{navigator.clipboard.writeText(e),r(e),setTimeout(()=>{r("")},1500)})(e.class),children:(0,i.a)("SettingsIcon")}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("p",{className:"d3-ty-subtitle-1",children:e.name}),e.hex&&(0,l.jsxs)("p",{className:"d3-ty-subtitle-3",children:["HEX: ",e.hex]})]}),a&&a===e.class&&(0,l.jsx)("div",{className:"absolute top-0 left-[40px] ",children:(0,l.jsx)(n.A,{type:"success",title:"Class copied"})})]})})]},e.name))})}):null}},2100:()=>{},3031:(e,t,a)=>{"use strict";a.d(t,{default:()=>g});var l=a(95155),n=a(84380);a(2100);var i=a(12115),o=a(34240),r=a(65380),s=a(85999);a(25223);var c=a(72519),d=a(68544),u=a(62893),m=a(60709),h=a(83429),p=a(15239);let v=e=>{var t,a;let{entity:n,desktopImageUrl:i,mobileImageUrl:o}=e,{fields:r,tags:s}=n,v=(null==r?void 0:r.roofline)||(null==s||null==(t=s[0])?void 0:t.title),g=null==r?void 0:r.headline,f=null==r?void 0:r.description,b=null!=(a=null==r?void 0:r.callToAction1Link)?a:null==r?void 0:r.url,x=null==r?void 0:r.callToAction2Link,y=null==r?void 0:r.callToAction3Link,w=null==r?void 0:r.eventDate,k=w?(0,h.Y)(w,"MMM"):null,N=w?(0,h.Y)(w,"D"):null,j=w?(0,h.Y)(w,"ddd, MMM D \xb7 h:mm A [ET]"):null,_=(null==b?void 0:b.url)&&(null==b?void 0:b.displayText)||(null==x?void 0:x.url)&&(null==x?void 0:x.displayText)||(null==y?void 0:y.url)&&(null==y?void 0:y.displayText),S=(0,m.Wh)(i||o,m.Ng.heroPromoCarousel.desktop),I=(0,m.Wh)(o||i,m.Ng.heroPromoCarousel.mobile),P=g||n.title||"";return(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__slide",children:[(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__image-wrapper",children:[I&&(0,l.jsx)(p.default,{src:I,fill:!0,alt:P,className:"object-cover d3-hero-promo-carousel__image--mobile",sizes:"100vw",priority:!0}),S&&(0,l.jsx)(p.default,{src:S,fill:!0,alt:"","aria-hidden":"true",className:"object-cover d3-hero-promo-carousel__image--desktop",sizes:"60vw",priority:!0}),w&&(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__date-badge","aria-hidden":"true",children:[(0,l.jsx)("span",{className:"d3-hero-promo-carousel__date-badge-month",children:k}),(0,l.jsx)("span",{className:"d3-hero-promo-carousel__date-badge-day",children:N})]})]}),(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__content",children:[(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__content-inner",children:[(v||j)&&(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__meta",children:[v&&(0,l.jsx)("span",{className:"d3-hero-promo-carousel__tag",children:v}),j&&(0,l.jsx)("p",{className:"d3-hero-promo-carousel__date-string",children:j})]}),g&&(0,l.jsx)("h2",{className:"d3-hero-promo-carousel__title",children:g}),f&&(0,l.jsx)("p",{className:"d3-hero-promo-carousel__description",children:f})]}),_&&(0,l.jsxs)("div",{className:"d3-hero-promo-carousel__ctas",children:[(null==b?void 0:b.url)&&(null==b?void 0:b.displayText)&&(0,l.jsx)(c.A,{url:b.url,text:b.displayText,variant:u.Gf.primaryOnDark,target:b.openInNewTab?"_blank":void 0}),(null==x?void 0:x.url)&&(null==x?void 0:x.displayText)&&(0,l.jsx)(c.A,{url:x.url,text:x.displayText,variant:u.Gf.secondaryOnDark,target:x.openInNewTab?"_blank":void 0}),(null==y?void 0:y.url)&&(null==y?void 0:y.displayText)&&(0,l.jsx)(d.A,{href:y.url,className:"d3-hero-promo-carousel__cta-link",target:y.openInNewTab?"_blank":void 0,children:y.displayText})]})]})]})};o.A.use([r.Jq]);let g=e=>{let{items:t,uniqueId:a}=e,[o,c]=(0,i.useState)(!1),d=(0,i.useRef)(null),u=(0,n.A)();return((0,i.useEffect)(()=>{c(!0)},[]),o)?(0,l.jsxs)("div",{className:"d3-hero-promo-carousel",children:[(0,l.jsx)(s.RC,{ref:d,className:"d3-hero-promo-carousel__swiper",modules:[r.Ij,r.s3,r.dK],pagination:{clickable:!0,el:'[data-js-hero-promo-pagination="'.concat(a,'"]'),renderBullet:function(e,t){return'<span class="'.concat(t,'"></span>')}},autoplay:{delay:5e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},keyboard:{enabled:!0},loop:t.length>
11,slidesPerView:1,a11y:{enabled:!0,nextSlideMessage:u("next-slide"),prevSlideMessage:u("prev-slide")},children:t.map((e,t)=>(0,l.jsx)(s.qr,{onFocus:()=>{var e,a;return null==(a=d.current)||null==(e=a.swiper)?void 0:e.slideTo(t)},children:(0,l.jsx)(v,{entity:e.entity,desktopImageUrl:e.desktopImageUrl,mobileImageUrl:e.mobileImageUrl})},"".concat(a,"-").concat(e.entity._entityId||t)))},a),t.length>1&&(0,l.jsx)("div",{className:"d3-hero-promo-carousel__pagination d3-carousel__pagination swiper-pagination","data-js-hero-promo-pagination":a})]}):(0,l.jsx)("div",{className:"d3-hero-promo-carousel",children:t[0]&&(0,l.jsx)(v,{entity:t[0].entity,desktopImageUrl:t[0].desktopImageUrl,mobileImageUrl:t[0].mobileImageUrl})})}},3377:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var l=a(95155),n=a(48368),i=a(68544),o=a(95277),r=a(31360),s=a(60709),c=a(12115);let d=e=>{var t,a;let{menuItem:d,teamsLogos:u}=e,m=(0,c.useRef)(null),h=(0,r.A)(m);return(0,l.jsx)("div",{className:"flex items-center py-6 lg:py-8",ref:m,children:(0,l.jsx)("div",{className:"pl-2",children:(0,l.jsx)(i.A,{shouldRenderChildren:!d.link,href:d.link,children:(0,l.jsx)(n.A,{src:(e=>{var t;return(null==u||null==(t=u.find(t=>t.name===e))?void 0:t.assetUrl)||""})(null!=(a=null==d||null==(t=d.icon)?void 0:t.data)?a:""),alt:(0,o.JJ)(null==d?void 0:d.text),transformations:s.Ng.logos,width:h?48:64,height:h?48:64})})})})}},6835:(e,t,a)=>{"use strict";a.d(t,{MatchDataProvider:()=>r});var l=a(17503),n=a(83429),i=a(20063),o=a(12115);let r=e=>{let{seasonId:t,matchId:a,optaMatchId:r}=e,s=(0,o.useRef)(!0),c=(0,o.useRef)(!1),d=(0,i.usePathname)();return(0,o.useEffect)(()=>{let e;if(c.current)return void console.log("[MDP] Already running, skipping duplicate effect");c.current=!0,console.log("[MDP] Effect starting for optaMatchId:",r,"matchId:",a,"pathname:",d),s.current=!0;let t="data-match-".concat((0,l.cK)(r),"-date"),i="div[".concat(t,"]");console.log("[MDP] Selector:",i),console.log("[MDP] Parsed optaMatchId:",(0,l.cK)(r)),console.log("[MDP] All divs with data-match attribute:",document.querySelectorAll("div[data-match]")),console.log("[MDP] Elements with our specific attribute:",document.querySelectorAll("[data-match-"+(0,l.cK)(r)+"-date]"));let o=0,u=e=>{let a=e.getAttribute(t);console.log("[MDP] Attribute value:",a);let i=(0,n.Y)(null!=a?a:"","yyyy-MM-DD HH:mm:ss");console.log("[MDP] Formatted date:",i);let o=(e=>{if(!e)return"";let t=new Date(e);return Number.isNaN(t.getTime())?/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/.test(e)?(console.log("[MDP] Date value",e),e.replace("Z",".000Z")):(console.log("[MDP] value",e),e):(console.log("[MDP] Date value",e),t.toISOString())})(a);console.log("[MDP] Formatted match_date:",o),window.matchDetails={key:(0,l.cK)(r),date_utc:null!=i?i:"",match_date:null!=i?i:"",matchDate:null!=o?o:""},console.log("[MDP] window.matchDetails set:",window.matchDetails)};return e=setInterval(()=>{o++;let a=document.querySelector(i),l=document.querySelector("[".concat(t,"]"));console.log("[MDP] Poll attempt ".concat(o,"/").concat(20,":"),a?"FOUND!":"not found","byAttr:",l?"FOUND!":"not found"),a&&s.current?(console.log("[MDP] â
Element found, processing..."),clearInterval(e),u(a)):l&&s.current?(console.log("[MDP] â
Element found by attribute (not div), processing..."),clearInterval(e),u(l)):o>=20&&(console.log("[MDP] â Max attempts reached, giving up"),console.log("[MDP] Final check - all elements with attribute:",document.querySelectorAll("[".concat(t,"]"))),clearInterval(e))},500),()=>{console.log("[MDP] Cleanup: stopping poll for optaMatchId:",r),clearInterval(e),s.current=!1,c.current=!1}},[r,a,d]),null}},7047:(e,t,a)=>{"use strict";a.d(t,{H:()=>l});var l=function(e){return e.VisitPage="visit-page",e.PageViewTime="page-view-time",e.LastActivity="last-activity",e.RequestedMatchReminder="requestedMatchReminder",e}({})},7921:(e,t,a)=>{"use strict";a.d(t,{default:()=>r});var l=a(29511),n=a(7047),i=a(71655),o=a(12115);let r=e=>{let{eventName:t}=e,{manageVisitPageEvent:a,managePageViewTimeEvent:r,isInitialized:s,canTrack:c}=(0,l.c)();return(0,o.useEffect)(()=>
1{if(!t)return;if(s&&c){var e;(null==(e=window)?void 0:e.location.pathname)&&t===n.H.VisitPage&&a(window.location.pathname)}let l=()=>(0,i.Z2)(t,e=>{let{page:t,time:a}=e;return r(t,a)});return window.addEventListener("beforeunload",l),()=>{window.removeEventListener("beforeunload",l)}},[s,c]),null}},8499:()=>{},8706:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});var l=a(95155),n=a(95277),i=a(67909),o=a(12115);let r=(0,i.default)(()=>Promise.resolve().then(a.bind(a,95331)),{loadableGenerated:{webpack:()=>[95331]}}),s=e=>{var t,a;let{...i}=e,{entity:s,captionVisible:c,autoPlay:d=!1}=i,u=(0,n.JJ)(i.containerCss,"grid grid-cols-1 relative overflow-hidden w-full"),m=null==s||null==(t=s.fields)?void 0:t.videoId,h="https://www.youtube.com/embed/".concat(m),p=(0,o.useRef)(null),[v,g]=(0,o.useState)(!1),[f,b]=(0,o.useState)(()=>d?"".concat(h,"?mute=1&playsinline=1"):"".concat(h,"?playsinline=1")),x=window.matchMedia("(hover: hover) and (pointer: fine)").matches;if(!s)return null;let y=d&&x?{onMouseEnter:()=>b("".concat(h,"?mute=1&autoplay=1&playsinline=1")),onMouseLeave:()=>b("".concat(h,"?mute=1&autoplay=0&playsinline=1"))}:{},w=d&&!x?{onTouchStart:()=>{d&&!x&&(b("".concat(h,"?mute=1&autoplay=1&playsinline=1")),g(!0))},onTouchEnd:()=>{d&&!x&&(b("".concat(h,"?mute=1&autoplay=0&playsinline=1")),g(!1))}}:{};return(0,l.jsxs)("div",{ref:p,className:u,children:[(0,l.jsxs)("div",{className:"relative w-full h-full",children:[(0,l.jsx)("iframe",{title:s.title,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:f,className:"w-full h-full aspect-video"}),d&&(0,l.jsx)("div",{className:"absolute inset-0 cursor-pointer",...y,...w})]}),c&&(null==(a=s.fields)?void 0:a.description)&&(0,l.jsx)("div",{className:"flex flex-row mt-4",children:(0,l.jsx)(r,{classNames:"d3-ty-caption pt-[6px] pr-1 ".concat(i.colorSchema.youtube.body),markdownText:s.fields.description})})]})}},9722:()=>{},10358:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(95155),n=a(72519),i=a(88284),o=a(18841),r=a(12115);let s=e=>{var t,a;let{widgetID:n,colorSchema:s}=e,[c,d]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{d(!!document.getElementById(o.Pv))},[]),(0,l.jsx)("button",{id:"".concat(o.J2,"-").concat(n),className:"ecal-sync-widget-button fixed bottom-4 ".concat(c?"right-14":"right-4"," bg-secondary text-white ").concat(null==s||null==(t=s.icon)?void 0:t.fill," ").concat(null==s||null==(a=s.icon)?void 0:a.text," rounded-full z-[1]"),"data-ecal-widget-id":n,"data-ecal-no-styling":!0,children:(0,i.a)("Calendar",{height:56,width:56})})},c=e=>{let{className:t,ctaTitle:a,colorSchema:c,widgetID:d,showFixedButton:u,variant:m}=e,h=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e,a=document.getElementById("".concat(o.J2,"-").concat(d));a&&(t.isIntersecting?a.classList.add("hidden"):a.classList.remove("hidden"))}),t=h.current;return t&&e.observe(t),()=>{t&&e.unobserve(t),e.disconnect()}},[d]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:h,className:"flex items-center justify-center",children:(0,l.jsx)(n.A,{"data-ecal-widget-id":d,text:a,variant:m,"data-ecal-no-styling":!0,className:t,svgIcon:(0,i.a)("PlusIcon",{height:10,width:10}),iconPosition:"beforeText"})}),u&&(0,l.jsx)(s,{widgetID:d,colorSchema:c})]})}},15530:(e,t,a)=>{"use strict";a.d(t,{Album:()=>u});var l=a(95155),n=a(34646),i=a(17021),o=a(94659);a(56040);var r=a(60709),s=a(12115),c=a(34240),d=a(65380);a(25223),c.A.use([d.Jq]);let u=e=>{var t;let{uniqueId:a,albumEntity:c,thumbnailPlaceholder:d,colorSchema:u}=e,{fancyboxInit:m,handlerClickLightbox:h}=(0,i.A)();return((0,s.useEffect)(()=>{m()},[m]),null==c||null==(t=c.elements)?void 0:t.length)?(0,l.jsx)(n.default,{className:"d3-story-part-carousel",items:null==c?void 0:c.elements,cardVariant:o._.overlay,transformation:r.Ng.overlayCard,swiperProps:{spaceBetween:2,breakpoints:{768:{slidesPerView:3},1280:{slidesPerView:3}}},uniqueId:a,handlerClickLightbox:h,enableLightbox:!0,thumbnailPlaceholder:d,colorSchema:u}):null}},15557:(e,t,a)=>{"use strict";a.d(t,{default:()=>s});var l=a(95155),n=a(84380);let i=e=>{let t,{label:a,value:i,position:o,colorSchema:r,daysMinsdecoration:s,hoursSecondsdecoration:c}=e,d=(0,n.A)(),u="";return o%2==0?s?t={backgroundImage:"url(".concat(s,")"),backgroundPosition:"bottom"}:u=r.eventCountdownItem.firstIcon:c?t={backgroundImage:"url(".concat(c,")"),backgroundPosition:"bottom"}:u=r.eventCountdownItem.secondIcon,(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center gap-1 lg:gap-2 ".concat(r.eventCountdownItem.text),children:[(0,l.jsx)("div",{className:"flex items-center justify-center d3-ty-heading-2 xs:w-[80px] xs:h-[65px] w-[50px] h-[41px] lg:w-[60px] lg:h-[49px] 2xl:w-[90px] 2xl:h-[73px] bg-contain bg-no-repeat font-galeana-standard font-normal ".concat(u),style:t,children:i}),(0,l.jsx)("div",{className:"d3-ty-heading-5 font-galeana-standard font-bold",children:d(a)})]})};a(95277),a(83429);let o=e=>{let{targetDate:t,dateNow:a=new Date}=e;if(!t)return!1;let l=t-a;return!(l<=0)&&{days:Math.floor(l/864e5),hours:Math.floor(l/36e5%24),minutes:Math.floor(l/1e3/60%60),seconds:Math.floor(l/1e3%60)}};var r=a(12115);let s=e=>
1{let{className:t,targetDate:a,hasBackgroundIcon:n,colorSchema:s,daysMinsdecoration:c,hoursSecondsdecoration:d}=e,[u,m]=(0,r.useState)(o({targetDate:a}));return((0,r.useEffect)(()=>{let e=setInterval(()=>{m(o({targetDate:a}))},1e3);return()=>clearInterval(e)},[a]),u)?(0,l.jsx)("div",{className:null!=t?t:"flex gap-4 relative mx-auto lg:ms-[60%]",children:Object.entries(u).map((e,t)=>{let[a,o]=e;return(0,l.jsx)(i,{value:o,label:"event-countdown-".concat(a),position:t,hasBackgroundIcon:n,colorSchema:s,daysMinsdecoration:c,hoursSecondsdecoration:d},"".concat(a,"-").concat(t))})}):null}},17021:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=()=>({handlerClickLightbox:e=>{null==e||e.preventDefault()},fancyboxInit:async()=>{let{Fancybox:e}=await a.e(831).then(a.bind(a,95831));e.bind("[data-fancybox]",{animated:!1,Thumbs:!1,Toolbar:{display:{left:[],middle:[],right:["close"]}},backdropClick:!1,Images:{initialSize:"cover",content:(e,t)=>{var a,l;let n="<picture>",i=null==(a=t.media)?void 0:a.split(";");return null==(l=t.sources)||l.split(";").map((e,t)=>{n+='<source\n media="'.concat(i?i[t]:"",'"\n srcset="').concat(e,'"\n />')}),n+='<img src="'.concat(t.src,'" alt="').concat(t.title,'" class="max-w-none w-full h-full object-cover block object-top"/>'),n+="</picture>",n+='<div class="fancybox__caption">'.concat(t.caption,"</div>")}},caption:()=>"",wheel:!1,on:{loaded:(e,t)=>{if(t){let e=document.querySelector('.fancybox-image[src="'.concat(t.src,'"]'));null==e||e.setAttribute("title",t.title)}}}})}})},17503:(e,t,a)=>{"use strict";a.d(t,{cK:()=>i});var l=a(12749);let n=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"});RegExp("[".concat(Object.keys(n).join(""),"]"),"g");let i=e=>(e=>e?(0,l.kW)(e):"")(e?e.split(":").pop():null)},18326:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var l=a(95155),n=a(62893),i=a(12115);let o=()=>{let e="true";return(0,i.useEffect)(()=>{let t=new URL(window.location.href).searchParams.get(n.OU.appView)===e,a=t=>{t.querySelectorAll("a").forEach(t=>{let a,l=t.getAttribute("href");if(!(!l||l.startsWith("#")||l.startsWith("mailto:")||l.startsWith("tel:")||l.startsWith("javascript:"))){try{a=new URL(l,window.location.href)}catch(e){return}a.hash||(a.searchParams.has(n.OU.appView)?a.searchParams.set(n.OU.appView,e):a.searchParams.append(n.OU.appView,e),t.setAttribute("href",a.toString()))}})};if(t){try{a(document)}catch(e){}let e=document.getElementById("main-container"),t=new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.length>0&&e.addedNodes.forEach(e=>{if(e instanceof HTMLElement)try{a(e)}catch(e){}})})});return e&&t.observe(e,{childList:!0,subtree:!0}),()=>t.disconnect()}},[]),(0,l.jsx)(l.Fragment,{})}},19843:()=>{},20473:()=>{},22834:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});
1var l=a(95155),n=a(60709),i=a(15239);let o=e=>{var t,a,o,r,s,c,d,u,m,h,p,v,g,f,b,x,y,w;let{...k}=e,N=k.transformations&&k.src,j=(0,n.Wh)(k.src,null==(t=k.transformations)?void 0:t.desktop),_=(0,n.Wh)(k.src,null==(a=k.transformations)?void 0:a.tablet),S=(0,n.Wh)(k.src,null==(o=k.transformations)?void 0:o.mobile),I={alt:k.alt||"",width:null==(r=k.transformations)?void 0:r.mobileWidth,height:null==(s=k.transformations)?void 0:s.mobileHeight},{props:{srcSet:P}}=(0,i.getImageProps)({...I,width:(null==(c=k.transformations)?void 0:c.tabletWidth)||(null==(d=k.transformations)?void 0:d.mobileWidth),height:(null==(u=k.transformations)?void 0:u.tabletHeight)||(null==(m=k.transformations)?void 0:m.mobileHeight),src:_}),{props:{srcSet:A}}=(0,i.getImageProps)({...I,width:(null==(h=k.transformations)?void 0:h.desktopWidth)||(null==(p=k.transformations)?void 0:p.mobileWidth),height:(null==(v=k.transformations)?void 0:v.desktopHeight)||(null==(g=k.transformations)?void 0:g.mobileHeight),src:j}),E=null==(f=k.transformations)?void 0:f.mobileWidth,C=null==(b=k.transformations)?void 0:b.mobileHeight,L=k.imageStyle?k.imageStyle:{width:"100%"};return N?(0,l.jsxs)("picture",{className:k.pictureClassName,children:[(null==(x=k.transformations)?void 0:x.desktop)&&(0,l.jsx)("source",{srcSet:A,media:"(min-width: 1024px)"}),(null==(y=k.transformations)?void 0:y.tablet)&&(0,l.jsx)("source",{srcSet:P,media:"(min-width: 768px)"}),(0,l.jsx)(i.default,{src:S,width:E,height:C,alt:null!=(w=k.alt)?w:"",className:k.className,style:L,priority:k.priority,loading:k.priority?"eager":"lazy",sizes:k.sizes})]}):null}},23545:()=>{},23567:()=>{},24158:(e,t,a)=>{"use strict";a(65897),a(55529),a(95704)},26354:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var l=a(95155),n=a(88284),i=a(12115);let o=e=>{let{children:t,matchCarouselId:a,colorSchema:o}=e,[r,s]=(0,i.useState)(!1),c=(0,i.useCallback)(e=>{var t,l,n,i,o,r,s,c,d,u,m,h;return e&&(null==(n=document)||null==(l=n.getElementById(a))||null==(t=l.classList)?void 0:t.contains("hidden"))?null==(d=document)||null==(c=d.getElementById(a))||null==(s=c.classList)?void 0:s.remove("hidden"):e||(null==(r=document)||null==(o=r.getElementById(a))||null==(i=o.classList)?void 0:i.contains("hidden"))||null==(h=document)||null==(m=h.getElementById(a))||null==(u=m.classList)?void 0:u.add("hidden")},[a]);(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(s(!1),c(!0))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[c]);let d="flex fixed h-screen top-header-height right-0 overflow-y-auto transition-transform translate-x-full duration-300 ease-in-out w-[75%] ".concat(o.drawer.wrapper," ").concat(r?"transform-none":"","\n");return(0,l.jsxs)("div",{className:"flex z-50",children:[r&&(0,l.jsx)("div",{className:"fixed inset-0 top-header-height opacity-60 bg-black",onClick:()=>{s(!1),c(!0)},"aria-hidden":"true"}),r?(0,l.jsx)("button",{className:"menu-btn menu-btn-close",onClick:()=>{s(!1),c(!0)},id:"hamburger-open","aria-label":"Close",children:(0,n.a)("CloseIcon")}):(0,l.jsx)("button",{className:"group space-y-2 w-full h-full",onClick:()=>{s(!0),c(!1)},"aria-expanded":r,id:"hamburger","aria-label":"Open",children:(0,n.a)("HamburgerMenu")}),(0,l.jsx)("div",{className:d,children:(0,l.jsx)("div",{className:"flex h-full flex-col pt-4 pb-8 px-6 w-[226px]",children:t})})]})}},26739:(e,t,a)=>{"use strict";a.d(t,{default:()=>g});var l=a(95155),n=a(80142),i=a(51309),o=a(65897),r=a(55529);let s=async e=>{let{key:t,expirationTime:a=3e5,callback:l}=e,n=localStorage.getItem(t),i=new Date().getTime();if(n)try{let{data:e,expires:t}=JSON.parse(n);if(t>i)return e}catch(e){r.A.log("Invalid localStorage data for key ".concat(t,", error: ").concat(JSON.stringify(e)),o.T.warning)}let s=await l();return s&&localStorage.setItem(t,JSON.stringify({data:s,expires:i+a})),s};var c=a(78794),d=a(45115);a(56396);var u=a(95704);let m=async e=>{let{endeavorFrontOfficeApiKey:t,endeavorFrontOfficeApiBaseUrl:a,endeavorRealm:l}=e;try{let e={"Content-Type":"application/json","x-api-key":t||u.env.ENDEAVOR_FRONTOFFICE_API_KEY,realm:l||u.env.ENDEAVOR_REALM,app:"Vesper"},n=(0,d.Cl)(null,e);return await s({key:c.H.endeavorToken,callback:async()=>await n("".concat(a||u.env.ENDEAVOR_FRONTOFFICE_API_BASE_URL,"/v2/login/guest/checkin"))})}catch(e){return r.A.log("fetchApiKeyData API Error: ".concat(JSON.stringify(e)),o.T.error),null}};var h=a(12115);a(57614);var p=a(39138);let v=e=>{let{errorType:t}=e;return(0,l.jsx)("div",{className:"h-full w-full text-white top-0 left-0 absolute bg-black flex items-center justify-center z-50",children:(0,l.jsx)(p.default,{translationTermKey:"endeavor-video-error-".concat(null==t?void 0:t.toLowerCase())})})},g=e=>{let{colorSchema:t,fbAppId:o,videoId:r,playerId:s}=e,{playerError:c,videoMediaInfo:d}=(e=>{let{playerId:t,videoId:l}=e,{ENDEAVOR_FRONTOFFICE_API_KEY:n,ENDEAVOR_FRONTOFFICE_API_BASE_URL:o,ENDEAVOR_SDK_ENVIRONMENT:r,ENDEAVOR_REALM:s}=(0,i.V)(),[c,d]=(0,h.useState)(null),u=(0,h.useRef)(null),[p,v]=(0,h.useState)(),[g,f]=(0,h.useState)({title:null,description:null}),b=(0,h.useCallback)(async e=>{let t=await m({endeavorFrontOfficeApiBaseUrl:o,endeavorFrontOfficeApiKey:n,endeavorRealm:s});return e?(null==t?void 0:t.refreshToken)||"":(null==t?void 0:t.authorisationToken)||""},[o,n,s]),x=(0,h.useCallback)(async()=>await b(),[b]),y=(0,h.useCallback)(async()=>await b(!0),[b]),w=(0,h.useCallback)(async()=>
1{if(c||!n||!r||!s)return;let{VesperSdkBuilder:e,Environment:t}=await a.e(730).then(a.t.bind(a,67159,23));d(new e({apiConfig:{apiKey:n,environment:t[r],realm:s},authManager:{getAuthToken:x,getRefreshToken:y,refreshAuthToken:y}}).build())},[c,n,r,s,x,y]),k=(0,h.useCallback)(async()=>{let{PlayerManagerEvents:e,LoadType:n,AutoplayOptions:i}=await a.e(730).then(a.t.bind(a,67159,23));if(!c)return void w();if(!u.current)try{var o,r;let a=await c.createPlayerManager({parent:t,userInterfaceConfig:{mountUserInterface:!0},playerConfig:{defaultAutoplay:i.NO}}),{unsubscribe:s}=a.createSubscriptionContext().on(e.BEACON_ACCESS_DENIED,()=>{v(e.BEACON_ACCESS_DENIED)}).on(e.BEACON_ACCESS_DENIED,()=>{v(e.BEACON_ACCESS_DENIED)}).on(e.BEACON_CONCURRENCY,()=>{v(e.BEACON_CONCURRENCY)}).on(e.BEACON_GEO_RESTRICTION,()=>{v(e.BEACON_GEO_RESTRICTION)}).on(e.SOURCE_ERROR,()=>{v(e.SOURCE_ERROR)}).on(e.FATAL_PLAYBACK,()=>{v(e.FATAL_PLAYBACK)});await a.load({id:l,type:n.VOD,autoPlay:!1});let d=a.getPlayer(),m=null==d?void 0:d.getMediaInfo();return f({title:null==m||null==(o=m.metadata)?void 0:o.title,description:null==m||null==(r=m.metadata)?void 0:r.description}),()=>{s(),u.current=null}}catch(t){v(e.SOURCE_ERROR)}},[w,t,c,l]);return(0,h.useEffect)(()=>(k(),()=>{var e;null==u||null==(e=u.current)||e.unload()}),[k]),{playerError:p,videoMediaInfo:g}})({playerId:s,videoId:r});return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"d3-endeavor-video d3-full-bleed py-6 lg:py-10 ".concat(t.endeavor.wrapper),children:(0,l.jsxs)("div",{className:"container",children:[(null==d?void 0:d.title)&&(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row items-start lg:items-center w-full justify-between gap-4 lg:gap-6 mb-10 ",children:[(0,l.jsx)("div",{className:"d3-ty-heading-2 ".concat(t.endeavor.title),children:d.title}),(0,l.jsx)(n.default,{title:d.title,fbAppId:o,colorSchema:t})]}),(0,l.jsx)("div",{className:"endeavor-player",id:s,children:c&&(0,l.jsx)(v,{errorType:c})}),(null==d?void 0:d.description)&&(0,l.jsx)("div",{className:"d3-ty-body-3 mt-4 lg:mt-6 ".concat(t.endeavor.description),children:d.description})]})})})}},29511:(e,t,a)=>{"use strict";a.d(t,{IterableProvider:()=>u,c:()=>m});var l=a(95155),n=a(51309),i=a(71655);let o=()=>{var e,t;return null!=(t=null==(e=window.OnetrustActiveGroups)?void 0:e.includes("C0002"))&&t};var r=a(12115),s=a(35805);let c=(0,r.createContext)(null),d="iterable-anonymous-id",u=e=>{let{children:t}=e,[u,m]=(0,r.useState)(null),[h,p]=(0,r.useState)(!1),[v,g]=(0,r.useState)(!1),[f,b]=(0,r.useState)(!1),x=(0,r.useRef)(Date.now()),{ITERABLE_API_KEY:y,ITERABLE_API_SECRET:w}=(0,n.V)();!function(){if(window.localStorage.getItem(d))return;let e=(0,s.Ak)();window.localStorage.setItem(d,e)}();let k=async()=>{try{let e={email:"[email protected]",userID:"anonymous",iat:Math.floor(Date.now()/1e3),exp:Math.floor(Date.now()/1e3)+3600};if(!w)return"";let{default:t}=await Promise.all([a.e(268),a.e(798)]).then(a.t.bind(a,138,23));return t.sign(e,w,{algorithm:"HS256"})}catch(e){return""}};return((0,r.useEffect)(()=>{g(!0)},[]),(0,r.useEffect)(()=>{if(v)return b(o()),(e=>{let t=()=>{e()},a=()=>{void 0!==window.OneTrust&&window.OneTrust.OnConsentChanged(t)};return window.addEventListener("load",a),a(),()=>{window.removeEventListener("load",a)}})(()=>{b(o())})},[v]),(0,r.useEffect)(()=>{if(!v||!y||!w)return;let e=async()=>{try{let e=await Promise.resolve().then(a.t.bind(a,51745,23));if(!e.initialize)return;let t=e.initialize(y,k);t&&(m(t),p(!0))}catch(e){console.error("Failed to initialize Iterable SDK:",e)}};f&&e()},[v,y,w,f]),y&&w)?(0,l.jsx)(c.Provider,{value:{iterable:u,isInitialized:h,canTrack:f,manageVisitPageEvent:e=>{f&&(0,i.B1)(u,e)},managePageViewTimeEvent:(e,t)=>{f&&((0,i.Ql)({iterable:u,page:e,time:t,enterTime:x.current}),x.current=t)}},children:t}):t},m=()=>(0,r.useContext)(c)},30155:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var l=a(95155),n=a(66226),i=a(63049),o=a(94659),r=a(65897),s=a(45115),c=a(60709),d=a(55529),u=a(12115),m=a(96584);let h=e=>{let{selectionSlug:t,limit:a,skip:h,thumbnailPlaceholder:p,entityType:v,tags:g,colorSchema:f}=e,{data:b,error:x}=(0,m.Ay)(e=>(0,i.A)({entityType:v,tags:g,skip:h,limit:a,selectionSlug:t,index:e}),(0,s.GO)());if(x)return d.A.log("Fetch error Editorial Stack",r.T.error),null;let y=b?b.flatMap(e=>{var t;return null!=(t=null==e?void 0:e.items)?t:[]}):[];return y.length?(0,l.jsx)("div",{className:"d3-editorial-stack",children:null==y?void 0:y.map((e,t)=>{var a,i;return(0,l.jsxs)(u.Fragment,{children:[(0,l.jsx)(n.A,{entity:e,variant:o._.horizontal,transformations:c.Ng.horizontalCard,thumbnailPlaceholder:p,cardOptions:{hideDate:null==(a=e.fields)?void 0:a.hideDateFromSelections,hideTitle:null==(i=e.fields)?void 0:i.hideTitleFromSelections},colorSchema:f}
1,e._entityId),t<y.length-1&&(0,l.jsx)("hr",{className:"w-full border border-black/10 my-4"})]},e._entityId||e.id||t)})}):null}},30883:()=>{},31360:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(18841),n=a(12115);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.jK,[a,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let a=new ResizeObserver(()=>{i(window.innerWidth<t)});return e.current&&a.observe(e.current),()=>{a.disconnect()}},[e,t]),a}},31756:(e,t,a)=>{"use strict";a.d(t,{default:()=>k});var l=a(95155),n=a(72519),i=a(66226),o=a(68544),r=a(22834),s=a(95277),c=a(17247),d=a(94659),u=a(62893);a(51327);var m=a(60709),h=a(83429),p=a(35805);let v=e=>{var t,a,n,v;let{mainHero:g,items:f,className:b,transformation:x,thumbnailPlaceholder:y,colorSchema:w,mobileRatio:k,canHideTitle:N,siteTitle:j}=e,_="relative block d3-hero__image after:content-[''] after:absolute after:inset-0 after:bg-gradient-to-t after:from-black after:to-transparent lg:after:right-1/2 lg:after:bg-gradient-to-r after:block",S=f&&f.length?"mb-32 sm:mb-60 lg:mb-14 xl:mb-32 sm:pb-16 lg:pb-10":"mb-32 lg:mb-40",I=(0,s.JJ)((null==(t=g.context)?void 0:t.title)||(null==(a=g.tags[0])?void 0:a.title)),P=k===u.Ot.landscape?"relative block after:content-[''] after:block after:h-12 after:w-full after:bg-gradient-to-b after:from-transparent after:to-black after:absolute after:bottom-0":"",A=(0,l.jsx)(r.A,{transformations:x,className:"object-cover",pictureClassName:P,src:(0,s.JJ)(null==g||null==(n=g.thumbnail)?void 0:n.templateUrl)||y,alt:null==g?void 0:g.title,priority:!0,sizes:"100vw"}),E=N&&(null==(v=g.fields)?void 0:v.hideHeadlineFromHero);return(0,l.jsxs)("div",{className:"d3-hero d3-full-bleed grid ".concat(null!=b?b:""," ").concat(k===u.Ot.landscape?"-landscape":""),children:[(0,c.iO)(g.url)?(0,l.jsx)(o.A,{href:g.url,"aria-label":g.title,className:_,children:A}):(0,l.jsx)("div",{className:_,children:A}),(0,l.jsx)("div",{className:"d3-hero__main container flex flex-col items-start justify-end pb-6 z-0 pointer-events-none ".concat(S),children:!E&&(0,l.jsxs)("div",{className:"flex flex-col gap-4 lg:w-[max(720px,_50%)] text-balance",children:[I&&(0,l.jsx)("p",{className:"d3-ty-subtitle-3 uppercase ".concat(w.hero.tag),children:I}),j&&(0,l.jsx)("h1",{className:"d3-ty-heading-1 line-clamp-6 ".concat(w.hero.title),children:j}),!j&&g.title&&(0,l.jsx)("h1",{className:"d3-ty-heading-1 line-clamp-6 ".concat(w.hero.title),children:g.title}),g.contentDate&&(0,l.jsx)("p",{className:"d3-ty-date ".concat(w.hero.date),children:(0,h.Y)(g.contentDate)})]})}),f&&f.length>1&&(0,l.jsx)("div",{className:"d3-hero__list container flex flex-col lg:flex-row gap-6 -mt-28 sm:-mt-60 lg:-mt-14 xl:-mt-32",children:f.slice(1).filter(Boolean).map(e=>(0,l.jsx)("div",{className:"basis-1/3",children:(0,l.jsx)(i.A,{entity:e,variant:d._.default,transformations:m.Ng.defaultCard,thumbnailPlaceholder:y,colorSchema:w,useParagraphTitle:!0})},"hero-item-".concat((0,p.Ak)())))})]})};var g=a(35791),f=a(63049),b=a(65897),x=a(45115),y=a(55529),w=a(96584);let k=e=>{let{selectionSlug:t,limit:a,skip:i,hasHero:o,thumbnailPlaceholder:r,entityType:s,tags:c,colorSchema:d}=e,{data:h,setSize:p,size:k,error:N,isLoading:j}=(0,w.Ay)(e=>(0,f.A)({entityType:s,tags:c,skip:i,limit:a,selectionSlug:t,index:e}),(0,x.GO)(),{revalidateFirstPage:!1});if(N)return y.A.log("Fetch error Editorial Grid",b.T.error),null;let _=h?h.flatMap(e=>{var t;return null!=(t=null==e?void 0:e.items)?t:[]}):[],S=o?_[0]:null,I=o?_.slice(1,_.length):_;if(!_.length)return null;let P=h?h[h.length-1]:null,A=!j&&(!P||P.pagination.nextUrl);return(0,l.jsxs)(l.Fragment,{children:[S&&(0,l.jsx)(v,{mainHero:S,transformation:m.Ng.editorialHero,thumbnailPlaceholder:r,colorSchema:d,canHideTitle:!0}),(0,l.jsx)(g.A,{items:I,thumbnailPlaceholder:r,isSelection:!0,colorSchema:d}),A&&(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(n.A,{text:"load-more",onClick:()=>{p(k+1)},variant:u.Gf.primary})})]})}},33759:(e,t,a)=>{"use strict";a(31794)},34089:()=>{},34646:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var l=a(95155);let n=e=>{let{uniqueId:t}=e;return(0,l.jsx)("div",{className:"d3-carousel__pagination flex justify-center mt-6 lg:mt-10","data-js-carousel-pagination":t})};var i=a(66226),o=a(68544);a(63701);var r=a(60709),s=a(34240),c=a(65380);a(25223),s.A.use([c.Jq]);let d=e=>{var t,a;let{slide:n,variant:s,modifierClass:c,transformation:d,cardOptions:u,enableLightbox:m,handlerClickLightbox:h,thumbnailPlaceholder:p,colorSchema:v}=e,g=(0,l.jsx)(i.A,{entity:n,variant:s,modifierClass:c,transformations:d,thumbnailPlaceholder:p,cardOptions:u,colorSchema:v});return m&&h?(0,l.jsx)(o.A,{href:(0,r.Wh)(null==(t=n.image)?void 0:t.templateUrl,r.Ng.fancyBoxDetails.desktop),"data-fancybox":"gallery","data-caption":(null==n||null==(a=n.fields)?void 0:a.description)||n.title,onClick:h,"data-title":n.title,"data-height":"100%","data-media":"(max-width: 40em);(max-width: 64em)","data-sources":"".concat((0,r.Wh)(null==n?void 0:n.src,r.Ng.fancyBoxDetails.mobile),";\n ").concat((0,r.Wh)(null==n?void 0:n.src,r.Ng.fancyBoxDetails.tablet)),children:g}):(0,l.jsx)(l.Fragment,{children:g})};var u=a(84380),m=a(35805),h=a(12115),p=a(85999);s.A.use([c.Jq]);let v=e=>
1{let{items:t,className:a,mountedClassName:i,swiperClassName:o,slideClassName:r,uniqueId:s,cardVariant:v,cardModifierClass:g,transformation:f,swiperProps:b,cardOptions:x,enableLightbox:y,thumbnailPlaceholder:w,isSelection:k,colorSchema:N,handlerClickLightbox:j}=e,[_,S]=(0,h.useState)(!1),I=(0,h.useRef)(null),P=(0,u.A)();if((0,h.useEffect)(()=>{S(!0)},[]),!t)return null;if(!_)return(0,l.jsx)("div",{className:i});let A=void 0!==s?s:(0,m.Ak)();return(0,l.jsxs)("div",{className:"d3-carousel ".concat(a||""),children:[(0,l.jsx)(p.RC,{ref:I,className:"d3-carousel__carousel ".concat(o||""),modules:[c.Vx,c.dK],navigation:{prevEl:'[data-js-carousel-prev="'.concat(A,'"]'),nextEl:'[data-js-carousel-next="'.concat(A,'"]')},pagination:{clickable:!0,el:'[data-js-carousel-pagination="'.concat(A,'"]'),renderBullet:function(e,t){return'<span class="'.concat(t,'"></span>')}},a11y:{enabled:!0,nextSlideMessage:P("next-slide"),prevSlideMessage:P("prev-slide")},slidesPerView:1.3,spaceBetween:8,...b,children:t.map((e,t)=>{var a,n;let i=k?{hideTitle:null==(a=e.fields)?void 0:a.hideTitleFromSelections,hideDate:null==(n=e.fields)?void 0:n.hideDateFromSelections}:{};return(0,l.jsx)(p.qr,{className:r,onFocus:()=>{var e,a;return null==(a=I.current)||null==(e=a.swiper)?void 0:e.slideTo(t)},children:(0,l.jsx)(d,{slide:e,variant:v,modifierClass:g,transformation:f,cardOptions:{...null!=x?x:{},...i},handlerClickLightbox:j,enableLightbox:y,thumbnailPlaceholder:w,colorSchema:N})},"".concat(A,"-").concat(e._entityId))})},A),(0,l.jsx)(n,{uniqueId:A})]})}},34709:()=>{},35791:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var l=a(95155),n=a(66226),i=a(95277),o=a(94659),r=a(60709),s=a(35805);let c={1:"",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4"},d=e=>{let{items:t,itemsPerRow:a,baseUrl:d,thumbnailPlaceholder:u,isSelection:m,cardOptions:h,colorSchema:p}=e,v="grid grid-cols-1 gap-x-4 gap-y-6 lg:gap-y-10 lg:gap-x-6 ".concat(c[(0,i.ph)(a,4)]," d3-grid-small-col:lg:grid-cols-1");return(0,l.jsx)("div",{className:v,children:null==t?void 0:t.map(e=>{var t,a;let i=m?{hideTitle:null==(t=e.fields)?void 0:t.hideTitleFromSelections,hideDate:null==(a=e.fields)?void 0:a.hideDateFromSelections}:{};return(0,l.jsx)(n.A,{entity:e,variant:o._.default,transformations:r.Ng.defaultCard,baseUrl:d,thumbnailPlaceholder:u,colorSchema:p,cardOptions:{...null!=h?h:{},...i}},"".concat(e._entityId,"-").concat((0,s.Ak)()))})})}},40149:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var l=a(95155),n=a(30926);let i=(0,n.createServerReference)("40400dc760e63b7c07dbd96ad893e613a8c490d7b6",n.callServer,void 0,n.findSourceMapURL,"getEndeavorBucketAction");var o=a(72519),r=a(35791),s=a(56396),c=a(95704),d=a(84380),u=a(62893),m=a(12115);let h=e=>{let{editorialItems:t,endeavorBucket:a,limit:n,thumbnailPlaceholder:h,hasLoadMore:p,lastSeen:v,colorSchema:g}=e,f=(0,d.A)(),[b,x]=(0,m.useState)(!1),[y,w]=(0,m.useState)(p),[k,N]=(0,m.useState)(t),[j,_]=(0,m.useState)(v),S=async()=>{var e,t,l,o,r;x(!0);let d=await i({endeavorBucket:a,limit:n,lastSeen:j}),u=null==d||null==(e=d.data)?void 0:e.contentList;if(!(null==u?void 0:u.length))return null;let m=u.reduce((e,t)=>{let a=(e=>{var t,a,l,n,i,o,r,d;let u="/videos/".concat(e.id),m=null!=(n=null==(t=e.title)?void 0:t.replace(/\s+/g,"-").toLowerCase())?n:"",h="endeavor-api";return{id:null!=(i=null==(a=e.id)?void 0:a.toString())?i:"",type:s.ns.external,entityCode:s.et.endeavorvideo,_translationId:null!=(o=null==(l=e.id)?void 0:l.toString())?o:"",_entityId:null!=(r=e.externalId)?r:"",selfUrl:u,url:u,slug:m,title:null!=(d=e.title)?d:"",tags:[],relations:[],references:{},fields:{accessLevel:e.accessLevel,licenceIds:e.licenceIds,startDate:e.startDate,endDate:e.endDate,live:e.live,subEvents:e.subEvents,localBroadcasters:e.localBroadcasters,audioOnly:e.audioOnly,audioTracks:e.audioTracks,externalDataProvider:e.externalDataProvider},createdBy:h,lastUpdatedBy:h,lastUpdatedDate:new Date().toISOString(),contentDate:e.startDate?new Date(e.startDate).toISOString():"",context:null,featured:0,thumbnail:e.thumbnailUrl?{thumbnailUrl:e.thumbnailUrl,templateUrl:(e=>{let t=c.env.ENDEAVOR_IMAGE_BASE_URL,a=c.env.ENDEAVOR_IMAGE_BASE_URL_REDIRECT;return t&&a?e.replace(t,a):e})(e.thumbnailUrl),title:e.title,format:"",slug:"thumbnail-".concat(m)}:null,parts:[]}})(t);return e.push(a),e},[]);N(e=>[...e||[],...m||[]]),w(null==d||null==(l=d.data)||null==(t=l.paging)?void 0:t.moreDataAvailable),_(null==d||null==(r=d.data)||null==(o=r.paging)?void 0:o.lastSeen),x(!1)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{items:k,thumbnailPlaceholder:h,cardOptions:{enableCardIcon:!0},colorSchema:g}),y&&(0,l.jsx)(o.A,{isDisabled:b,text:f("load-more"),onClick:S,variant:u.Gf.primary,className:"flex m-auto d3-ty-navigation-lg mt-10"})]})}},42169:()=>{},45115:(e,t,a)=>{"use strict";a.d(t,{Cl:()=>o,GO:()=>i});var l=a(95125);let n="Unable to retrieve data from api. Please try again later.",i=e=>t=>l.A.get(t,e?{headers:e}:void 0).then(async e=>e.data).catch(e=>{let t;throw e instanceof Error&&(t=e.message),Error(t||n)}),o=(e,t)=>a=>l.A.post(a,e,{headers:t}).then(async e=>e.data).catch(e=>{let t;throw e instanceof Error&&(t=e.message),Error(t||n)})},45955:()=>{},48265:()=>{},48368:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o});var l=a(95155),n=a(60709),i=a(15239);let o=e=>{let{src:t,width:a,height:o,alt:r,transformations:s,className:c,sizes:d}=e,u=(0,n.Wh)(t,null==s?void 0:s.desktop);if(!s)return null;let m=!a&&!o;return(0,l.jsx)(i.default,{src:u,alt:null!=r?r:"",fill:m,width:a,height:o,className:"".concat(m?"object-contain":""," ").concat(null!=c?c:""),sizes:d})}},49327:()=>{},51327:()=>{},53357:()=>{},54553:()=>{},56040:()=>{},56047:()=>{},56396:(e,t,a)=>{"use strict";a.d(t,{et:()=>n,ns:()=>l});var l=function(e){return e.album="album",e.customentity="customentity",e.document="document",e.external="external",e.markdown="markdown",e.photo="photo",e.story="story",e.youtubevideo="youtubevideo",e.player="player",e}({}),n=function(e){return e.accordion="accordion",e.advertisement="advertisement",e.event="event",e.image="page-builder-gad-asset",e.meeting="meeting",e.youtubevideo="youtubevideo",e.partner="partner",e.people="people",e.text="page-builder-text-editor",e.endeavorvideo="endeavorvideo",e}({})},59907:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var l=a(95155),n=a(72519),i=a(66226),o=a(94659),r=a(62893),s=a(65897),c=a(45115),d=a(60709),u=a(55529),m=a(96584);let h=e=>{let{selectionSlug:t,skip:a,limit:h,thumbnailPlaceholder:p,colorSchema:v}=e,{data:g,setSize:f,size:b,error:x,isLoading:y}=(0,m.Ay)(e=>"/api/dapi/selection/".concat(t,"?skip=").concat(a||(h?e*h:0),"&limit=").concat(h),(0,c.GO)(),{revalidateFirstPage:!1});if(x)return u.A.log("Fetch error Album List",s.T.error),null;let w=g?g.flatMap(e=>{var t;return null!=(t=null==e?void 0:e.items)?t:[]}):[];if(!w.length)return null;let k=g?g[g.length-1]:null,N=!y&&(!k||k.pagination.nextUrl);return(0,l.jsxs)("div",{className:"d3-album-list",children:[(0,l.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-2 lg:gap-6",children:null==w?void 0:w.map(e=>{var t,a;let n={hideTitle:null==(t=e.fields)?void 0:t.hideTitleFromSelections,hideDate:null==(a=e.fields)?void 0:a.hideDateFromSelections};return(0,l.jsx)(i.A,{entity:e,variant:o._.overlay,thumbnailPlaceholder:p,transformations:d.Ng.overlayCardVertical,modifierClass:"-overlay-vertical",cardOptions:{enableCardIcon:!0,...n},colorSchema:v},e._entityId)})}),N&&(0,l.jsx)("div",{className:"flex justify-center mt-8 lg:mt-10",children:(0,l.jsx)(n.A,{text:"load-more",onClick:()=>{f(b+1)},variant:r.Gf.primary,className:"flex m-auto d3-ty-navigation-lg"})})]})}},60037:()=>{},60115:()=>{},60709:(e,t,a)=>{"use strict";a.d(t,{Ng:()=>l,Wh:()=>n});let l={photoStoryPart:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:640,mobileHeight:360,tabletWidth:1080,tabletHeight:607.5,desktopWidth:1080,desktopHeight:607.5},storyHeader:{mobile:"t_ratio3_4-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio21_9-size60",mobileWidth:640,mobileHeight:853,tabletWidth:1080,tabletHeight:607.5,desktopWidth:1920,desktopHeight:823},storyHeaderLandscape:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio21_9-size60",mobileWidth:1080,mobileHeight:607.5,tabletWidth:1280,tabletHeight:720,desktopWidth:1920,desktopHeight:823},hero:{mobile:"t_ratio3_5-size60",tablet:"t_ratio3_5-size60",desktop:"t_ratio21_9-size60",mobileWidth:640,mobileHeight:853,tabletWidth:640,tabletHeight:853,desktopWidth:1920,desktopHeight:823},heroLandscape:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio21_9-size60",mobileWidth:1280,mobileHeight:720,tabletWidth:1280,tabletHeight:720,desktopWidth:1920,desktopHeight:823},editorialHero:{mobile:"t_ratio3_4-size60",tablet:"t_ratio3_4-size60",desktop:"t_ratio21_9-size60",mobileWidth:640,mobileHeight:853,tabletWidth:750,tabletHeight:1250,desktopWidth:1920,desktopHeight:823},logos:{mobile:"t_q-best",tablet:"t_q-best",desktop:"t_q-best",mobileWidth:100,mobileHeight:100},albumMosaicSquare:{mobile:"t_ratio16_9-size60",tablet:"t_ratio1_1-size60",desktop:"t_ratio1_1-size60",mobileWidth:384,mobileHeight:384,tabletWidth:460,tabletHeight:460,desktopWidth:640,desktopHeight:640},albumMosaicLandscape:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:384,mobileHeight:216,tabletWidth:640,tabletHeight:360,desktopWidth:750,desktopHeight:422},albumMosaicPortrait:{mobile:"t_ratio1_1-size20",tablet:"t_ratio1_1-size20",desktop:"t_ratio3_4-size60",mobileWidth:384,mobileHeight:384,tabletWidth:640,tabletHeight:640,desktopWidth:640,desktopHeight:853},defaultCard:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:640,mobileHeight:360,tabletWidth:384,tabletHeight:216,desktopWidth:384,desktopHeight:216},horizontalCard:{mobile:"t_ratio4_3-size60",tablet:"t_ratio4_3-size60",desktop:"t_ratio4_3-size60",mobileWidth:256,mobileHeight:192,tabletWidth:256,tabletHeight:192,desktopWidth:256,desktopHeight:192},overlayCard:{mobile:"t_ratio3_4-size60",tablet:"t_ratio3_4-size60",desktop:"t_ratio3_4-size60",mobileWidth:384,mobileHeight:512,tabletWidth:384,tabletHeight:512,desktopWidth:640,desktopHeight:853},overlayCardVertical:{mobile:"t_ratio3_5-size60",tablet:"t_ratio3_5-size60",desktop:"t_ratio3_5-size60",mobileWidth:640,mobileHeight:1066,tabletWidth:640,tabletHeight:1066,desktopWidth:640,desktopHeight:1066},heroPromoCarousel:{mobile:"t_ratio3_4-size60",tablet:"t_ratio3_4-size60",desktop:"t_ratio16_9-size60",mobileWidth:640,mobileHeight:853,tabletWidth:640,tabletHeight:853,desktopWidth:1152,desktopHeight:648},promo:{mobile:"t_ratio3_5-size60",tablet:"t_ratio16_9-size30",desktop:"t_ratio21_9-size50",mobileWidth:384,mobileHeight:614},promoImage:{mobile:"w_480",tablet:"w_480",desktop:"w_1280",mobileWidth:360,mobileHeight:608,desktopWidth:1344,desktopHeight:440},promoVideo:{mobile:"w_1280,h_720,c_fill,q_auto,f_mp4",tablet:"w_1280,h_720,c_fill,q_auto,f_mp4",desktop:"w_1920,h_1080,c_fill,q_auto,f_mp4",mobileWidth:360,mobileHeight:480,desktopWidth:1440,desktopHeight:618},fancyBoxDetails:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:384,mobileHeight:216},featuredContentLarge:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:640,mobileHeight:360,tabletWidth:888,tabletHeight:499,desktopWidth:888,desktopHeight:499},featuredContentMedium:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:640,mobileHeight:360,tabletWidth:432,tabletHeight:243,desktopWidth:432,desktopHeight:243},featuredContentSmall:{mobile:"t_ratio16_9-size60",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",mobileWidth:640,mobileHeight:360,tabletWidth:384,tabletHeight:216,desktopWidth:512,desktopHeight:288},ogImage:{mobile:"t_ratio16_9-size50-c_pad",tablet:"t_ratio16_9-size50-c_pad",desktop:"t_ratio16_9-size50-c_pad",mobileWidth:1280,mobileHeight:720}
1,containerBackground:{mobile:"t_ratio3_4-size20",tablet:"t_ratio16_9-size60",desktop:"t_ratio16_9-size60",desktopWidth:1920,desktopHeight:1080,mobileWidth:420,mobileHeight:560,tabletWidth:1920,tabletHeight:1080}},n=(e,t)=>{if(!e)return"";if(t){let a=/{formatInstructions}/;if(a.test(e))return e.replace(a,t)}return e}},62093:(e,t,a)=>{"use strict";a.d(t,{default:()=>u});var l=a(95155),n=a(48368),i=a(68544),o=a(39138),r=a(95277),s=a(31360),c=a(60709),d=a(12115);let u=e=>{var t,a;let{menuItem:u,teamsLogos:m,colorSchema:h}=e,p=(0,d.useRef)(null),v=(0,s.A)(p),g="d3-ty-navigation-lg border-b-2 border-b-transparent hover:border-b-primary ".concat(h.teamList.actions),f="mx-2 inline-block h-1 w-1 rounded-full ".concat(h.teamList.bullets);return(0,l.jsxs)("div",{className:"flex items-center py-6 lg:py-8",ref:p,children:[(0,l.jsx)(n.A,{src:(e=>{var t;return(null==m||null==(t=m.find(t=>t.name===e))?void 0:t.assetUrl)||""})(null!=(a=null==u||null==(t=u.icon)?void 0:t.data)?a:""),alt:(0,r.JJ)(null==u?void 0:u.text),transformations:c.Ng.logos,width:v?48:64,height:v?48:64}),(0,l.jsxs)("div",{className:"pl-2",children:[(0,l.jsx)(i.A,{shouldRenderChildren:!u.link,href:u.link,children:(0,l.jsx)("div",{className:"d3-ty-heading-4 pb-3 ".concat(h.teamList.text),children:u.text})}),(0,l.jsx)("div",{className:"flex items-center",children:u.items.map((e,t)=>{if(!e.visible)return null;let a=u.items.length-1===t;return(0,l.jsxs)(d.Fragment,{children:[(0,l.jsx)(i.A,{shouldRenderChildren:!e.link,href:e.link,target:e.target,className:g,children:(0,l.jsx)("span",{className:g,children:(0,l.jsx)(o.default,{translationTermKey:e.text})})}),!a&&(0,l.jsx)("span",{className:f})]},e.id)})})]})]},u.id)}},62401:()=>{},63049:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var l=a(85823);let n=e=>{var t;let{entityType:a,tags:l,skip:n,limit:o,index:r,selectionSlug:s}=e;return i({entityCode:a,tags:null==l?void 0:l.join(),skip:null!=(t=0!==n?n:null)?t:o?r*o:0,limit:o,...!l&&{slug:s},isSelection:!(null==l?void 0:l.length)&&!!s})},i=e=>{let{skip:t,limit:a,tags:n,slug:i,entityCode:o,isSelection:r}=e,s=(0,l.eA)(null!=t?t:0,null!=a?a:0,null!=n?n:"").replace(/\.slug|\$/g,""),c="selection/".concat(i),d="/api/dapi/".concat(r?c:o),u=i?"".concat(d,"/").concat(i):"".concat(d,"/all");return r&&(u=d),s.length?"".concat(u,"?").concat(s):u}},63701:()=>{},63926:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>_});var l=a(95155);a(31794),a(33759);let n=e=>{var t;return e?(null==(t=e.trim())?void 0:t.split(";")).reduce((e,t)=>{let a=t.split(":");return e[a[0]]=null==a?void 0:a[1],e},{}):null},i=(e,t)=>!!(t&&t[e]&&"true"===t[e]);a(85823),a(17503);var o=a(43624);a(56396);var r=function(e){return e.broadcaster="broadcaster",e.playerHeader="player-header",e.playerHeaderHeadshot="player-header-headshot",e.playerHeadshot="player-headshot",e.stadium="stadium",e.teamHeader="team-header",e.teamLogo="team-logo",e}({}),s=a(60709);r.broadcaster,r.playerHeader,r.playerHeaderHeadshot,r.playerHeadshot,r.stadium,r.teamHeader,r.teamLogo,a(95704).env.TENANT,o.b.nwsl,a(76372),a(65897),a(16547),a(24158),a(55529);var c=a(95704);let d=c.env.CULTURE,u=c.env.ENVIRONMENT,m="{path}";"api/v1/Menu?path=".concat(m,"&culture=").concat(d,"&environment=").concat(u),"api/v1/Menu?path=".concat(m,"&culture=").concat(d,"&environment=").concat(u,"&token=").concat("{token}"),a(95704);var h=function(e){return e.header="header",e.headerMobile="headerMobile",e.sdpWidget="sdpWidget",e.footer="footer",e.social="social",e.teams="teams",e.masthead="masthead",e.default="default",e}({}),p=function(e){return e.hiddenMobile="hiddenMobile",e.defaultOpen="defaultOpen",e.appearance="appearance",e.hideCaret="hideCaret",e}({});let v=e=>({[h.header]:{actions:{onHover:!0,onFocus:!0},config:{hiddenSubNav:{desktop:!0,mobile:!1}},classes:{wrapper:"flex items-center gap-2 menu-header-font ".concat(null==e?void 0:e.menu.headerDesktop.wrapper),wrapperList:"relative ".concat(null==e?void 0:e.menu.headerDesktop.itemBackgroun
1d),item:"flex flex-row items-center d3-ty-navigation gap-1 xl:d3-ty-navigation-lg xl:text-sm xl:font-extrabold xl:leading-none p-4 w-max cursor-default font-galeana-extended ".concat(null==e?void 0:e.menu.headerDesktop.itemText," ").concat(null==e?void 0:e.menu.headerDesktop.itemLink),itemLink:"flex flex-row items-center gap-1 d3-ty-navigation xl:d3-ty-navigation-lg xl:text-sm xl:font-extrabold xl:leading-none p-4 w-max font-galeana-extended ".concat(null==e?void 0:e.menu.headerDesktop.itemLink),subMenu:"flex-col w-max min-w-40 absolute top-full origin-top d3-ty-navigation xl:d3-ty-navigation-lg shadow-header \n ".concat(null==e?void 0:e.menu.headerDesktop.subItemBackground),subMenuItem:"px-2 py-6 w-full block border-b border-black/10 cursor-default ".concat(null==e?void 0:e.menu.headerDesktop.subItemText),subMenuItemLink:"px-2 py-6 w-full block d3-ty-navigation xl:d3-ty-navigation-lg xl:text-sm xl:font-extrabold xl:leading-none ".concat(null==e?void 0:e.menu.headerDesktop.subItemLink," border-b-[1px] border-black border-opacity-10"),subMenuList:"w-full ".concat(null==e?void 0:e.menu.headerDesktop.subItemList),active:"".concat(null==e?void 0:e.menu.headerDesktop.activeItem," hover:opacity-70 transition duration-300")}},[h.headerMobile]:{classes:{wrapper:"flex flex-col menu-header-font ".concat(null==e?void 0:e.menu.headerMobile.wrapper),wrapperList:"relative border-black border-opacity-10 border-b-[1px] last:border-none ".concat(null==e?void 0:e.menu.headerMobile.itemBackgroun
1d),item:"flex flex-row items-center gap-2 d3-ty-heading-3 font-extrabold py-4 px-4 font-galeana-extended ".concat(null==e?void 0:e.menu.headerMobile.itemText),itemLink:"flex flex-row items-center gap-2 d3-ty-heading-3 font-extrabold py-4 px-4 font-galeana-extended ".concat(null==e?void 0:e.menu.headerMobile.itemLink),subMenu:"flex-col gap-4 mb-4 ".concat(null==e?void 0:e.menu.headerMobile.subItemBackground),subMenuItem:"block px-4 ".concat(null==e?void 0:e.menu.headerMobile.subItemText),subMenuItemLink:"block px-4 ".concat(null==e?void 0:e.menu.headerMobile.subItemLink),subMenuList:"d3-ty-body-2 text-[16px] ".concat(null==e?void 0:e.menu.headerMobile.subItemList),active:"".concat(null==e?void 0:e.menu.headerMobile.activeItem," py-4 px-[40px] mx-[-24px]")}},[h.footer]:{actions:{onClick:!0,onKeyEnter:!0},config:{hasOpenedStateIcons:{desktop:!1,mobile:!0},isFirstSubNavOpened:{desktop:!1,mobile:!1},hiddenSubNav:{desktop:!1,mobile:!0}},classes:{wrapper:"flex flex-col gap-2 lg:gap-4 ".concat(null==e?void 0:e.menu.footer.wrapper),wrapperList:"relative ".concat(null==e?void 0:e.menu.footer.itemBackgroun
1d),item:"flex flex-row gap-2 d3-ty-heading-4 justify-center lg:justify-start items-center ".concat(null==e?void 0:e.menu.footer.itemText),itemLink:"flex flex-row gap-2 d3-ty-heading-4 justify-center lg:justify-start items-center ".concat(null==e?void 0:e.menu.footer.itemLink),subMenu:"flex d3-ty-body-3 lg:d3-ty-body-2 gap-x-8 gap-y-4 justify-center mt-6 mb-2 lg:mb-0 px-4 lg:px-0 flex-col lg:gap-4 text-center lg:text-left lg:max-w-[300px] ".concat(null==e?void 0:e.menu.footer.subItemText),subMenuItemLink:"hover:opacity-70 transition duration-300 ".concat(null==e?void 0:e.menu.footer.subItemLink),subMenuList:"relative pb-2 ".concat(null==e?void 0:e.menu.footer.subItemList,' after:content-[""] after:h-px after:w-full after:block after:absolute after:bottom-[0] after:opacity-10 lg:last:after:hidden'),active:"".concat(null==e?void 0:e.menu.footer.activeItem," border-b-[3px]")}},[h.social]:{config:{iconSize:36,hasTitleAttr:!0,hiddenText:!0},classes:{item:"flex flex-row items-center gap-2 d3-ty-navigation uppercase ".concat(null==e?void 0:e.menu.social.itemText),itemLink:"flex flex-row items-center gap-2 d3-ty-navigation uppercase transition duration-300 ".concat(null==e?void 0:e.menu.social.itemLink),subMenu:"flex flex-row gap-4 ".concat(null==e?void 0:e.menu.social.subItemText),subMenuItemLink:"transition duration-300 ".concat(null==e?void 0:e.menu.social.subItemLink),icon:"object-contain"}},[h.teams]:{config:{iconSize:28,teamsLogos:!0,hasTitleAttr:!0,hiddenText:!0},classes:{wrapper:"flex flex-row gap-6 py-[10px] border-b-[1px] border-black border-opacity-10",item:"flex flex-col items-center gap-2 d3-ty-navigation-lg",itemLink:"flex flex-col items-center gap-2 d3-ty-navigation-lg duration-300 hocus:scale-125",icon:"object-contain"}},[h.masthead]:{classes:{wrapper:"flex flex-row gap-4 lg:gap-8 w-full flex-nowrap overflow-x-auto overflow-y-auto pb-1 pt-1 scroll-my-2 custom-scrollbar ".concat(null==e?void 0:e.menu.masthead.wrapper),item:"flex flex-row items-center gap-2 d3-ty-heading-1 shrink-0 ".concat(null==e?void 0:e.menu.masthead.itemText),itemLink:"flex flex-row items-center gap-2 ".concat(null==e?void 0:e.menu.masthead.itemLink," d3-ty-heading-1 shrink-0 hover:opacity-70 transition duration-300"),active:"border-b-[3px] ".concat(null==e?void 0:e.menu.masthead.activeItem),wrapperList:"shrink-0"}},[h.default]:{classes:{wrapper:"flex gap-2",item:"flex flex-row items-center gap-2 d3-ty-navigation-lg",itemLink:"flex flex-row items-center gap-2 d3-ty-navigation-lg hover:opacity-70 transition duration-300",subMenu:"d3-ty-navigation",subMenuItemLink:"hover:opacity-70 transition duration-300",active:"border-b-[3px]"},config:{iconSize:28}},[h.sdpWidget]:{classes:{wrapper:"d3-full-bleed flex flex-row items-center [justify-content:safe_center] justify-center gap-4 lg:gap-8 w-full overflow-x-auto px-4 lg:px-6 mt-2 scroll-my-2 border-b-[1px] border-grey-200 ".concat(null==e?void 0:e.menu.sdpWidget.wrapper),item:"flex flex-row items-center gap-2 uppercase shrink-0 ".concat(null==e?void 0:e.menu.sdpWidget.itemText),itemLink:"flex flex-row items-center gap-2 shrink-0 ".concat(null==e?void 0:e.menu.sdpWidget.itemLink," leading-8 uppercase hover:underline underline-offset-[10px] decoration-[3px]"),active:"underline ".concat(null==e?void 0:e.menu.sdpWidget.activeItem),wrapperList:"shrink-0 d3-ty-navigation-lg "}}});var g=a(48368),f=a(68544),b=a(39138),x=a(88284),y=a(95277);let w=e=>{var t,a,n,o,r,c,d;let u,{menuItem:m,navItemClasses:h,navLinkItemClasses:w,parentId:k,iconWidth:N,iconHeight:j,source:_,lastSubMenuId:S,baseUrl:I,teamsLogos:P,isSubNavOpened:A,hasSubNavIcon:E,colorSchema:C,customProperties:L,onMouseEnter:M,onMouseLeave:T,onClick:D,onFocus:O,onBlur:z,onKeyEnter:H}=e,W=(0,y.uo)(null==m?void 0:m.isActive),R=(null==m?void 0:m.tag)?(0,l.jsx)(b.default,{translationTermKey:m.tag}):(0,l.jsx)(b.default,{translationTermKey:(0,y.JJ)(null==m?void 0:m.text)}),U=null!=(o=null==m||null==(t=m.icon)?void 0:t.data)?o:"",F=v(C);if(U){let e=(null==(r=F[_].config)?void 0:r.teamsLogos)&&P?(e=>{var t;return null==P||null==(t=P.find(t=>t.name===e))?void 0:t.assetUrl})(U):U;u=(0,l.jsx)(g.A,{src:(0,y.JJ)(e),className:F[_].classes.icon,alt:"",transformations:s.Ng.logos,width:N,height:j}),(null==(c=F[_].config)?void 0:c.teamsLogos)||(u=(0,x.a)(U,{className:F[_].classes.icon,width:N,height:j}))}let B={...k?{parentid:k}:void 0,...(null==m?void 0:m.target)&&(null==m?void 0:m.link)?{target:m.target}:void 0,...!(null==m?void 0:m.target)&&(null==m?void 0:m.link)?{rel:"noopener"}:void 0,...(null==m?void 0:m.tag)?{"data-tag":m.tag}:void 0},J=(null==L?void 0:L.appearance)==="cta",V=!!E&&!i(p.hideCaret,null!=L?L:null),q=J?"inline-flex border border-grey-200 text-secondary rounded-full px-6 py-3 my-3.5 d3-cta -secondary lg:text-sm lg:font-extrabold text-base lg:text-sm":"",K=(0,l.jsxs)(l.Fragment,{children:[null!=u?u:null,!R||
1(null==(a=F[_].config)?void 0:a.hiddenText)?R&&(0,l.jsx)("span",{className:"sr-only",children:R}):(0,l.jsx)(l.Fragment,{children:R}),V?(0,x.a)("CaretDownIcon",{width:18,height:18,className:"gap-1 lg:absolute lg:right-2 lg:top-1/2 lg:-translate-y-1/2 ".concat(A?"":"lg:text-secondary")}):null]});return(null==m?void 0:m.link)?(0,l.jsx)(f.A,{href:m.link,className:"".concat(J?" d3-ty-heading-3 ":null!=w?w:""," ").concat(E?"relative pr-7":""," ").concat(W?F[_].classes.active:""," ").concat(q," "),"data-id":null==m?void 0:m.id,onFocus:O,baseUrl:I,title:(null==(d=F[_].config)?void 0:d.hasTitleAttr)?m.text:"",...B,children:K}):(0,l.jsx)("span",{className:"".concat(J?"":null!=h?h:""," ").concat(E?"relative pr-7":""," ").concat(W?F[_].classes.active:""," ").concat(q),"data-id":null==m?void 0:m.id,tabIndex:(null==m?void 0:m.items)&&(null==(n=m.items)?void 0:n.length)>0?0:void 0,onClick:D,onMouseEnter:M,onMouseLeave:T,onFocus:O,onKeyDown:e=>"Enter"===e.key?null==H?void 0:H():void 0,onBlur:S===(null==m?void 0:m.id)?z:void 0,...B,children:K})},k=e=>{var t,a,o,r,s;let{menuItem:c,navSubMenuClasses:d,navItemClasses:u,navLinkItemClasses:m,source:h,subMenuId:g,baseUrl:f,teamsLogos:b,isMobile:x,lastSubMenuId:y,colorSchema:k,onFocus:N,onBlur:j,onKeyEnter:_,onClick:S,onMouseLeave:I,onMouseEnter:P}=e,A=c.items&&c.items.length>0,E=n(null==c||null==(t=c.properties)?void 0:t.data),C=v(k),L=(()=>{var e,t,a,l;return i(p.defaultOpen,E)&&(null==(t=C[h].config)||null==(e=t.isFirstSubNavOpened)?void 0:e.mobile)&&x||i(p.defaultOpen,E)&&(null==(l=C[h].config)||null==(a=l.isFirstSubNavOpened)?void 0:a.desktop)&&!x?!g:g===c.id||!(()=>{var e,t,a,l;return null!=(t=C[h].config)&&null!=(e=t.hiddenSubNav)&&!!e.desktop&&!x||null!=(l=C[h].config)&&null!=(a=l.hiddenSubNav)&&!!a.mobile&&!!x})()})();return(0,l.jsxs)(l.Fragment,{children:[(null==(a=C[h].config)?void 0:a.stepNavigation)&&g&&(null==(o=C[h].config)||!o.stepNavigation||g!==c.id)?null:(0,l.jsx)(w,{menuItem:c,navItemClasses:u,navLinkItemClasses:m,iconWidth:null==(r=C[h].config)?void 0:r.iconSize,iconHeight:null==(s=C[h].config)?void 0:s.iconSize,isSubNavOpened:L,hasSubNavIcon:(()=>{var e,t,a,l;return!!A||null!=(t=C[h].config)&&null!=(e=t.hasOpenedStateIcons)&&!!e.desktop&&!x||null!=(l=C[h].config)&&null!=(a=l.hasOpenedStateIcons)&&!!a.mobile&&!!x})(),source:h,subMenuId:g,baseUrl:f,teamsLogos:b,colorSchema:k,...E?{customProperties:E}:void 0,onFocus:N,onKeyEnter:_,onClick:S,onMouseEnter:P,onMouseLeave:I}),A?(0,l.jsx)("ul",{className:"flex ".concat(L?"visible":"hidden"," ").concat(null!=d?d:""),"aria-hidden":!L,children:c.items.map(e=>{var t,a,o;let r=n(null==e||null==(t=e.properties)?void 0:t.data);return i(p.hiddenMobile,r)&&x||!e.visible?null:(0,l.jsx)("li",{className:C[h].classes.subMenuList,children:(0,l.jsx)(w,{menuItem:e,parentId:c.id,navItemClasses:C[h].classes.subMenuItem,navLinkItemClasses:C[h].classes.subMenuItemLink,iconWidth:null==(a=C[h].config)?void 0:a.iconSize,iconHeight:null==(o=C[h].config)?void 0:o.iconSize,source:h,baseUrl:f,lastSubMenuId:y,colorSchema:k,onBlur:j,onClick:S,onMouseEnter:P,onMouseLeave:I})},"sub-menu-list-".concat(e.id))})}):null]})};var N=a(31360),j=a(12115);let _=e=>{var t,a,o;let{menuItems:r,source:s,baseUrl:c,teamsLogos:d,colorSchema:u}=e,{subMenuId:m,onClickHandler:h,onHoverHandler:g,onFocusHandler:f,onKeyEnterHandler:b,onClickItemHandler:x}=((e,t)=>
1{let[a,l]=(0,j.useState)(),n=(0,j.useCallback)(e=>{l(e)},[]),i=v(t);return(0,j.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[n]),{subMenuId:a,onClickHandler:t=>{var l;if(null==(l=i[e].actions)?void 0:l.onClick)return t.id===a?n():n(t.id)},onClickItemHandler:t=>{var l;if(null==(l=i[e].config)?void 0:l.stepNavigation)return t.id===a?n():n(t.id)},onHoverHandler:t=>{var a;if(null==(a=i[e].actions)?void 0:a.onHover)return(null==t?void 0:t.id)?n(t.id):n()},handleMenuSelection:n,onFocusHandler:t=>{var a;if(null==(a=i[e].actions)?void 0:a.onFocus)return t&&t.items.some(e=>e.link||e.items.length>0)?n(t.id):n()},onKeyEnterHandler:t=>{var l;if(null==(l=i[e].actions)?void 0:l.onKeyEnter)return t&&!a?n(t.id):n()}}})(s,u),y=(0,j.useRef)(null),w=(0,N.A)(y),_=v(u);if(!r||(null==r?void 0:r.length)===0)return null;let S=null==(o=r.flatMap(e=>null==e?void 0:e.items))||null==(a=o.slice(-1))||null==(t=a[0])?void 0:t.id;return(0,l.jsx)("ul",{className:_[s].classes.wrapper,ref:y,children:r.map(e=>{var t,a;let o=n(null==e||null==(t=e.properties)?void 0:t.data);return i(p.hiddenMobile,o)&&w||!e.visible?null:(0,l.jsx)("li",{className:_[s].classes.wrapperList,onClick:()=>h(e),onMouseEnter:()=>g(e),onMouseLeave:()=>g(),children:(0,l.jsx)(k,{menuItem:e,navItemClasses:_[s].classes.item,navLinkItemClasses:_[s].classes.itemLink,navSubMenuClasses:null==(a=_[s].classes)?void 0:a.subMenu,source:s,baseUrl:c,teamsLogos:d,subMenuId:m,isMobile:w,lastSubMenuId:S,colorSchema:u,onFocus:()=>f(e),onBlur:()=>f(),onKeyEnter:()=>b(e),onClick:()=>x(e)})},"menu-list-".concat(e.id))})})}},64673:()=>{},66226:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var l=a(95155),n=a(88284),i=a(94659),o=a(56396);let r=e=>{var t,a;return e.type===o.ns.photo?null==(a=e.image)?void 0:a.templateUrl:null==(t=e.thumbnail)?void 0:t.templateUrl},s=e=>e.type===o.ns.album?i.A.album:e.entityCode===o.et.endeavorvideo||e.entityCode===o.et.youtubevideo?i.A.play:null,c=e=>{let{entity:t,className:a}=e;return s(t)?(0,n.a)(s(t),{className:null!=a?a:""}):null};var d=a(83429);let u=e=>{let{date:t,className:a,hide:n}=e;return n||!t?null:(0,l.jsx)("time",{dateTime:t,className:"".concat(a," uppercase"),children:(0,d.Y)(t)})};var m=a(204);let h=e=>{let{text:t,className:a}=e;return t?(0,l.jsx)("div",{className:a,children:(0,l.jsx)("span",{children:t})}):null};var p=a(95277);let v=e=>{var t;let{title:a,hide:n,heading:i,className:o}=e,r="".concat(i?i.toLowerCase():"h4"),s=null!=(t=(0,p.JJ)(o,""))?t:"d3-ty-body-1 text-white line-clamp-2",c=(0,p.uo)(n);return!a||c?null:(0,l.jsx)(r,{className:s,children:a})};var g=a(22834),f=a(68544),b=a(17247);let x={[i._.default]:e=>{var t,a;let{entity:n,childrenAttributes:i,transformations:s,thumbnailPlaceholder:d,cardOptions:g,colorSchema:f,priority:b,sizes:x,useParagraphTitle:y}=e;return(0,l.jsxs)("article",{className:"d3-card__content",...i,children:[(0,l.jsx)(m.default,{src:(0,p.JJ)(r(n))||d,fallbackSrc:(0,p.JJ)((e=>{var t,a;return e.type===o.ns.photo?null==(a=e.image)?void 0:a.fallbackTemplateUrl:null==(t=e.thumbnail)?void 0:t.fallbackTemplateUrl})(n))||d,className:"d3-card__image",alt:n.title,transformations:s,priority:b,sizes:x}),(null==g?void 0:g.enableCardIcon)&&(0,l.jsx)(c,{entity:n,className:"d3-card__icon absolute ".concat(null==f?void 0:f.defaultCard.icon)}),(0,l.jsxs)("div",{className:"d3-card__info",children:[!(null==g?void 0:g.hideTag)&&(0,l.jsx)(h,{text:(0,p.JJ)((null==(t=n.context)?void 0:t.title)||(null==(a=n.tags[0])?void 0:a.title)),className:"d3-card__tag ".concat(null==f?void 0:f.defaultCard.tag)}),!(null==g?void 0:g.hideTitle)&&(0,l.jsx)(v,{title:n.title,heading:y?"p":"h4",className:"d3-card__title ".concat(null==f?void 0:f.defaultCard.title)}),!(null==g?void 0:g.hideDate)&&(0,l.jsx)(u,{date:n.contentDate,className:"d3-card__date ".concat(null==f?void 0:f.defaultCard.date)})]})]})},[i._.overlay]:e=>{var t,a;let{entity:n,childrenAttributes:i,transformations:o,thumbnailPlaceholder:s,cardOptions:d,colorSchema:m,priority:f,sizes:b,useParagraphTitle:x}=e;return(0,l.jsxs)("article",{className:"d3-card__content",...i,children:[(0,l.jsx)(g.A,{src:(0,p.JJ)(r(n))||s,className:"d3-card__image",alt:n.title,transformations:o,priority:f,sizes:b}),(null==d?void 0:d.enableCardIcon)&&(0,l.jsx)(c,{entity:n,className:"d3-card__icon ".concat(null==m?void 0:m.overlayCard.icon)}),(0,l.jsxs)("div",{className:"d3-card__info",children:[!(null==d?void 0:d.hideTag)&&(0,l.jsx)(h,{text:(0,p.JJ)((null==(t=n.context)?void 0:t.t
1itle)||(null==(a=n.tags[0])?void 0:a.title)),className:"d3-card__tag ".concat(null==m?void 0:m.overlayCard.tag)}),!(null==d?void 0:d.hideTitle)&&(0,l.jsx)(v,{title:n.title,heading:x?"p":"h4",className:"d3-card__title ".concat(null==m?void 0:m.overlayCard.title)}),!(null==d?void 0:d.hideDate)&&(0,l.jsx)(u,{date:n.contentDate,className:"d3-card__date ".concat(null==m?void 0:m.overlayCard.date)})]})]})},[i._.horizontal]:e=>{var t,a;let{entity:n,childrenAttributes:i,transformations:o,thumbnailPlaceholder:s,cardOptions:d,colorSchema:m,priority:f,sizes:b,useParagraphTitle:x}=e;return(0,l.jsxs)("article",{className:"d3-card__content",...i,children:[(0,l.jsx)(g.A,{src:(0,p.JJ)(r(n))||s,className:"d3-card__image",pictureClassName:"d3-card__picture",alt:n.title,transformations:o,priority:f,sizes:b}),(null==d?void 0:d.enableCardIcon)&&(0,l.jsx)(c,{entity:n,className:"d3-card__icon ".concat(null==m?void 0:m.horizontalCard.icon)}),(0,l.jsxs)("div",{className:"d3-card__info",children:[!(null==d?void 0:d.hideTag)&&(0,l.jsx)(h,{text:(0,p.JJ)((null==(t=n.context)?void 0:t.title)||(null==(a=n.tags[0])?void 0:a.title)),className:"d3-card__tag ".concat(null==m?void 0:m.horizontalCard.tag)}),!(null==d?void 0:d.hideTitle)&&(0,l.jsx)(v,{title:n.title,heading:x?"p":"h4",className:"d3-card__title ".concat(null==m?void 0:m.horizontalCard.title)}),!(null==d?void 0:d.hideDate)&&(0,l.jsx)(u,{date:n.contentDate,className:"d3-card__date ".concat(null==m?void 0:m.horizontalCard.date)})]})]})}},y=e=>{let{entity:t,baseUrl:a,variant:n,transformations:o,modifierClass:r,thumbnailPlaceholder:s,cardOptions:c,colorSchema:d,priority:u,sizes:m,useParagraphTitle:h}=e,v=n||i._.default,g=x[v];if(!t||!g)return null;let y="d3-card -".concat(v," ").concat(null!=r?r:""),w={entity:t,baseUrl:a,transformations:o,thumbnailPlaceholder:s,cardOptions:c,colorSchema:d,priority:u,sizes:m,useParagraphTitle:h};return(0,l.jsx)(l.Fragment,{children:(0,b.iO)(t.url)?(0,l.jsx)(f.A,{href:(0,p.JJ)(t.url),"aria-label":t.title,baseUrl:a,className:y,children:g({...w,childrenAttributes:{"aria-hidden":!0}})}):(0,l.jsx)("div",{className:y,children:g(w)})})}},67102:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var l=a(95155),n=a(68544),i=a(22834),o=a(60709);let r=[{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-2",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicSquare},{col:"col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicSquare},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicSquare},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicSquare},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicSquare},{col:"col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicSquare},{col:"col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicPortrait},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicSquare},{col:"col-span-2",row:"row-span-1",transformation:o.Ng.albumMosaicSquare},{col:"col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicPortrait}],s=[{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:o.Ng.albumMosaicLandscape}];var c=a(95277),d=a(31360),u=a(17021);a(56040);var m=a(12115);let h=e=>{let{elements:t,thumbnailPlaceholder:a}=e,h=(0,m.useRef)(null),p=(0,d.A)(h),{fancyboxInit:v,handlerClickLightbox:g}=(0,u.A)(),f=((e,t)=>{let a=t?s:r,l=[];for(let t=0;t<e;t++){let e=a[t%20],n={col:e.col,row:e.row,transformation:e.transformation};l.push(n)}return l})(t.length,p),b=t.filter(e=>e.image&&e.image.templateUrl),x=f.map((e,t)=>{var a,l,n,i;return(null==(l=b[t])||null==(a=l.image)?void 0:a.templateUrl)?{...e,src:null==(n=b[t].image)?void 0:n.templateUrl,title:null==(i=b[t].image)?void 0:i.title}:e});return(0,m.useEffect)(()=>{v()},[v]),(0,l.jsx)(l.Fragment,{children:x.map((e,r)=>(0,l.jsx)("div",{className:"tile ".concat(e.col," ").concat(e.row),ref:h,children:e.src&&e.transformation&&(0,l.jsx)(n.A,{href:(0,o.Wh)(null==e?void 0:e.src,o.Ng.fancyBoxDetails.desktop),"data-fancybox":"gallery","data-caption":t[r].fields.description||t[r].title,onClick:g,"data-title":t[r].title,"data-height":"100%","data-media":"(max-width: 40em);(max-width: 64em)","data-sources":"".concat((0,o.Wh)(null==e?void 0:e.src,o.Ng.fancyBoxDetails.mobile),";\n ").concat((0,o.Wh)(null==e?void 0:e.src,o.Ng.fancyBoxDetails.tablet)),children:(0,l.jsx)(i.A,{src:e.src||a,alt:(0,c.JJ)(e.title),className:"w-full h-full object-cover block object-top",transformations:e.transformation,imageStyle:{height:"100%"}})})},"".concat(t[r]._entityId,"-").concat(r)))})}},67310:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var l=a(95155),n=a(46841),i=a(12115);let o=e=>{let{additionalClasses:t="",inputAdditionalClasses:a="",inputTitle:o="insert your text here",inputValue:r="",lightTheme:s=!1,redirectPath:c="/search",placeholderText:d="",widthCssClass:u="w-full",colorSchema:m}=e,h=(0,i.useRef)(null);return(0,l.jsx)("div",{className:"flex items-center justify-center ".concat(m.search.searchBar.wrapper," ").concat(u," ").concat(t),children:(0,l.jsxs)("div",{className:"w-full lg:w-3/4 max-w-[650px] px-1 pt-2 flex flex-col justify-center h-full relative",children:[(0,l.jsx)("input",{className:"w-full h-12 leading-5 border outline-0 text-md p-4 pr-12 rounded-full ".concat(m.search.searchBar.input," ").concat(a),title:o,placeholder:d,ref:h,onKeyUp:e=>{var t,a;let l=null!=(a=null==(t=e.target)?void 0:t.value)?a:"";"Enter"===e.key&&window.location.assign(c+"?q="+l)},defaultValue:r}),(0,l.jsx)(n.A,{className:"absolute right-6 ".concat(m.search.searchBar.icon)})]})})}},69357:()=>{},69875:()=>{}
1,70591:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,52619,23)),Promise.resolve().then(a.t.bind(a,81356,23)),Promise.resolve().then(a.t.bind(a,41402,23)),Promise.resolve().then(a.bind(a,24437)),Promise.resolve().then(a.bind(a,36552)),Promise.resolve().then(a.bind(a,15530)),Promise.resolve().then(a.bind(a,18326)),Promise.resolve().then(a.bind(a,26354)),Promise.resolve().then(a.bind(a,81420)),Promise.resolve().then(a.bind(a,15557)),Promise.resolve().then(a.bind(a,34646)),Promise.resolve().then(a.bind(a,95331)),Promise.resolve().then(a.bind(a,63926)),Promise.resolve().then(a.bind(a,204)),Promise.resolve().then(a.bind(a,83598)),Promise.resolve().then(a.bind(a,67310)),Promise.resolve().then(a.bind(a,80142)),Promise.resolve().then(a.bind(a,39138)),Promise.resolve().then(a.bind(a,77011)),Promise.resolve().then(a.t.bind(a,32945,23)),Promise.resolve().then(a.bind(a,8706)),Promise.resolve().then(a.bind(a,87732)),Promise.resolve().then(a.bind(a,83919)),Promise.resolve().then(a.bind(a,59907)),Promise.resolve().then(a.bind(a,67102)),Promise.resolve().then(a.bind(a,10358)),Promise.resolve().then(a.bind(a,31756)),Promise.resolve().then(a.bind(a,30155)),Promise.resolve().then(a.bind(a,26739)),Promise.resolve().then(a.bind(a,3031)),Promise.resolve().then(a.bind(a,7921)),Promise.resolve().then(a.bind(a,6835)),Promise.resolve().then(a.bind(a,91282)),Promise.resolve().then(a.bind(a,681)),Promise.resolve().then(a.bind(a,99683)),Promise.resolve().then(a.bind(a,94199)),Promise.resolve().then(a.bind(a,62093)),Promise.resolve().then(a.bind(a,3377)),Promise.resolve().then(a.bind(a,40149)),Promise.resolve().then(a.t.bind(a,90232,23)),Promise.resolve().then(a.t.bind(a,19843,23)),Promise.resolve().then(a.t.bind(a,25223,23)),Promise.resolve().then(a.t.bind(a,34709,23)),Promise.resolve().then(a.t.bind(a,51327,23)),Promise.resolve().then(a.t.bind(a,9722,23)),Promise.resolve().then(a.t.bind(a,42169,23)),Promise.resolve().then(a.t.bind(a,69357,23)),Promise.resolve().then(a.t.bind(a,34089,23)),Promise.resolve().then(a.t.bind(a,88969,23)),Promise.resolve().then(a.t.bind(a,94517,23)),Promise.resolve().then(a.t.bind(a,20473,23)),Promise.resolve().then(a.t.bind(a,49327,23)),Promise.resolve().then(a.t.bind(a,83185,23)),Promise.resolve().then(a.t.bind(a,8499,23)),Promise.resolve().then(a.t.bind(a,54553,23)),Promise.resolve().then(a.t.bind(a,60115,23)),Promise.resolve().then(a.t.bind(a,23567,23)),Promise.resolve().then(a.t.bind(a,72645,23)),Promise.resolve().then(a.t.bind(a,62401,23)),Promise.resolve().then(a.t.bind(a,60037,23)),Promise.resolve().then(a.t.bind(a,45955,23)),Promise.resolve().then(a.t.bind(a,30883,23)),Promise.resolve().then(a.t.bind(a,48265,23)),Promise.resolve().then(a.t.bind(a,56047,23)),Promise.resolve().then(a.t.bind(a,73563,23)),Promise.resolve().then(a.t.bind(a,86997,23)),Promise.resolve().then(a.t.bind(a,83915,23)),Promise.resolve().then(a.t.bind(a,53357,23)),Promise.resolve().then(a.t.bind(a,23545,23)),Promise.resolve().then(a.t.bind(a,99463,23)),Promise.resolve().then(a.t.bind(a,69875,23)),Promise.resolve().then(a.t.bind(a,64673,23))},71655:(e,t,a)=>{"use strict";a.d(t,{B1:()=>r,Ql:()=>s,Z2:()=>c});var l=a(7047),n=a(51745),i=a(55529),o=a(65897);let r=async(e,t)=>{if(e)try{await (0,n.track)({eventName:l.H.VisitPage,dataFields:{visitedPage:t}})}catch(e){i.A.log("Failed to track event ".concat(l.H.VisitPage,": ").concat(e),o.T.error)}},s=async e=>{let{iterable:t,page:a,time:r,enterTime:s}=e;if(t)try{await (0,n.track)({eventName:l.H.PageViewTime,dataFields:{pageViewTime:r-s,page:a}})}catch(e){i.A.log("Failed to track event ".concat(l.H.PageViewTime,": ").concat(e),o.T.error)}},c=(e,t)=>{e===l.H.PageViewTime&&t({page:window.location.pathname,time:Date.now()})}},72645:()=>{},73563:()=>{},77011:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var l=a(95155),n=a(31360),i=a(12115);let o=e=>{let{desktop:t,mobile:a,className:o}=e,r=(0,i.useRef)(null),s=(0,i.useRef)(null),c=(0,n.A)(r),d=!c,u="w-full h-full object-cover ".concat(null!=o?o:"").trim(),m=d?t:a;return(0,i.useEffect)(()=>{let e=s.current;if(e&&m.src){var t;e.src=m.src,e.load(),null==(t=e.play())||t.catch(()=>{})}}
1,[m.src,d]),(0,l.jsx)("div",{ref:r,className:"w-full h-full",children:(0,l.jsx)("video",{ref:s,muted:!0,loop:!0,playsInline:!0,preload:"none",poster:m.poster,className:u},c?"mobile":"desktop")})}},78794:(e,t,a)=>{"use strict";a.d(t,{H:()=>l});var l=function(e){return e.endeavorToken="endeavorToken",e.popupDismissed="popupDismissed",e}({})},80142:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});var l=a(95155),n=a(99042),i=a(39138),o=a(88284),r=a(12115);let s=e=>{let{title:t,fbAppId:a,colorSchema:s}=e,[c,d]=(0,r.useState)(""),[u,m]=(0,r.useState)(!1);(0,r.useEffect)(()=>{a&&!window.fbInit&&(window.fbInit=!0,window.fbAsyncInit=function(){window.FB.init({appId:a,version:"v10.0",xfbml:!0})},function(e,t,a){let l,n=e.getElementsByTagName(t)[0];e.getElementById(a)||((l=e.createElement(t)).id=a,l.src="//connect.facebook.net/en_US/sdk.js",null==n||n.parentNode.insertBefore(l,n))}(document,"script","facebook-jssdk"))},[a]),(0,r.useEffect)(()=>{d(window.location.href)},[]);let h=e=>"whatsapp"===e?window.open("https://api.whatsapp.com/send?text=".concat(c)):"x"===e?window.open("https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(t),"&url=").concat(c)):"link"===e?void(navigator.clipboard.writeText(c),m(!0),setTimeout(()=>{m(!1)},1500)):("facebook"===e&&window.FB&&window.FB.ui({method:"share",href:c}),null);return(0,l.jsxs)("div",{className:"flex flex-row gap-2 relative ".concat(s.socialShare.body),children:[u&&(0,l.jsx)("div",{className:"absolute top-0 right-0 ",children:(0,l.jsx)(n.A,{type:"success",title:"link-copied"})}),[{id:"facebook",icon:"FacebookRounded"},{id:"x",icon:"XRounded"},{id:"whatsapp",icon:"WhatsAppRounded"},{id:"link",icon:"CopyLinkRounded"}].map(e=>(0,l.jsxs)("button",{onClick:()=>h(e.id),onKeyDown:t=>"Enter"===t.key?h(e.id):void 0,children:[(0,o.a)(e.icon,{className:"cursor-pointer ".concat(s.socialShare.icon),width:36,height:36}),(0,l.jsx)("span",{className:"sr-only",children:(0,l.jsx)(i.default,{translationTermKey:"share-".concat(e.id)})})]},e.id))]})}},81420:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var l=a(95155),n=a(68321);let i=e=>{let{ecalScriptId:t}=e;return t?(0,l.jsx)(n.default,{id:"ecal-script",src:"https://sync.ecal.com/v2/ecal.widget.js",strategy:"lazyOnload","data-ecal-apikey":"v6jf45De4Whmh7pvEYo7MPzqz7PfGPzDqGsEVuyd4A66e37434",onLoad:()=>{let e=window.EcalWidget;null==e||e.init({apiKey:t})}}):null}},83185:()=>{},83429:(e,t,a)=>{"use strict";a.d(t,{Y:()=>i});var l=a(21001),n=a.n(l);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?(t||(t="MMMM DD, YYYY"),n()(e).utc(!1).format(t)):null}},83598:(e,t,a)=>{"use strict";a.d(t,{default:()=>n});var l=a(12115);let n=e=>{let{widgetId:t}=e,a="is-stuck";return(0,l.useEffect)(()=>{let e=document.getElementById(t);if(!e)return void console.log("Element with id ".concat(t," not found"));let l=e.offsetTop,n=e=>{window.scrollY>l?e.classList.add(a):e.classList.remove(a)},i=t=>{let a=()=>n(t);return window.addEventListener("scroll",a),n(t),()=>e.removeEventListener("scroll",a)},o=new MutationObserver((t,a)=>{for(let l of t)if("childList"===l.type){let t=e.querySelector(".d3w-filter-wrapper[data-main-filters]");if(t){let e=i(t);return a.disconnect(),e}}});return o.observe(e,{childList:!0,subtree:!0}),()=>{o.disconnect()}},[t]),null}},83915:()=>{},83919:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(95155),n=a(65897),i=a(55529);let o=e=>"string"==typeof e&&/^\d+x\d+$/.test(e)?e.split("x").map(Number):(i.A.log("Advertising error: cannot render module without correct size: must have this format 320x70",n.T.error),null),r=async e=>{let{googletag:t,unitPath:a,sizes:l,slotId:n}=e;l&&(await ((e,t,a,l)=>new Promise(n=>{e.cmd.push(()=>((e,t,a,l,n)=>{var i;let o=e.pubads().getSlots();if(null==o?void 0:o.some(e=>e.getSlotElementId()===l))return void n();null==(i=e.defineSlot(t,a,l))||i.addService(e.pubads()),e.pubads().enableSingleRequest(),e.pubads().collapseEmptyDivs(),e.enableServices(),n()})(e,t,a,l,n))}
1))(t,a,l,n),t.display(n))};var s=a(12115);let c=e=>{let{slotId:t,mobileSize:a,desktopSize:n,mobileAdUnitPath:i,desktopAdUnitPath:c}=e,d="adv-".concat(t),{isLoading:u,error:m,styles:h,hasDesktopSlot:p,hasMobileSlot:v}=(e=>{let{slotId:t,desktopAdUnitPath:a,mobileAdUnitPath:l,desktopSize:n,mobileSize:i,divId:c}=e,[d,u]=(0,s.useState)(!0),[m,h]=(0,s.useState)(null),p=i?o(i):null,v=n?o(n):null,g=!!a&&!!(null==v?void 0:v.length),f=!!l&&!!(null==p?void 0:p.length);return(0,s.useEffect)(()=>((async()=>{try{if(u(!0),!window.googletag)throw Error("Google Tag Manager not initialized");let e=window.googletag;g&&r({googletag:e,unitPath:a,sizes:v,slotId:"".concat(c,"-desktop")}),f&&r({googletag:e,unitPath:l,sizes:p,slotId:"".concat(c,"-mobile")})}catch(e){h(e instanceof Error?e:Error("Failed to initialize ad")),console.error("Advertisement initialization failed:",JSON.stringify(e))}finally{u(!1)}})(),()=>{var e;(null==(e=window.googletag)?void 0:e.destroySlots)&&window.googletag.cmd.push(()=>{window.googletag.destroySlots()})}),[t,a,v,c,l,p,g,f]),{hasDesktopSlot:g,hasMobileSlot:f,styles:{mobile:{width:"".concat((null==p?void 0:p[0])||0,"px"),height:"".concat((null==p?void 0:p[1])||0,"px")},desktop:{width:"".concat((null==v?void 0:v[0])||0,"px"),height:"".concat((null==v?void 0:v[1])||0,"px")}},isLoading:d,error:m}})({slotId:t,mobileSize:a,desktopSize:n,mobileAdUnitPath:i,desktopAdUnitPath:c,divId:d});return m?(console.error("Advertisement error:",JSON.stringify(m)),null):p||v?(0,l.jsx)("div",{className:"relative flex",children:u?(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100/50",children:(0,l.jsx)("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-gray-300 border-t-gray-600"})}):(0,l.jsxs)(l.Fragment,{children:[p&&(0,l.jsx)("div",{className:"mx-auto hidden lg:block",id:"".concat(d,"-desktop"),style:h.desktop,"aria-hidden":"true"}),v&&(0,l.jsx)("div",{className:"mx-auto lg:hidden",id:"".concat(d,"-mobile"),style:h.mobile,"aria-hidden":"true"})]})}):null}},85823:(e,t,a)=>{"use strict";a.d(t,{eA:()=>v}),a(31794),a(95277),a(16547),a(56396),a(65897),a(55529),a(20063),a(33759);var l=a(95704);let n=l.env.CULTURE,i=l.env.FORGE_DISTRIBUTION_API_BASE_URL,o="{slug}",r="{entityCode}",s="v2/content/".concat(n,"/").concat(r,"/").concat(o),c="v2/content/".concat(n,"/").concat(r),d="v2/content/".concat(n,"/sel-").concat(o),u=async function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;let l=s.replace(r,e).replace(o,parseFieldValue(t,null==a?void 0:a.variables));return l=new URL(l,i).href,logger.log("Getting ".concat(e," entity slug:").concat(t," data from FORGE DISTRIBUTION API ").concat(l),LoggerLevel.debug),await axios.get(l).then(async n=>{var i;logger.log("Retrieved ".concat(e," entity slug:").concat(t," data from FORGE DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(n.data)),LoggerLevel.debug);let o=await enrichDistributionEntities([n.data],a);return null!=(i=null==o?void 0:o[0])?i:null}).catch(e=>handleApiError({apiUrl:l,apiName:u.name,response:e,forceError:!!(null==a?void 0:a.forceError)}))},m=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=getAPIQueryString(t),l=c.replace(r,e)+a;return l=new URL(l,i).href,logger.log("Getting ".concat(e," entity list data from FORGE DISTRIBUTION API ").concat(l),LoggerLevel.debug),await axios.get(l).then(async a=>(logger.log("Retrieved ".concat(e," ").concat(e," entity list data from FORGE DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(a.data)),LoggerLevel.debug),a.data.items=await enrichDistributionEntities(a.data.items,t),a.data)).catch(e=>handleApiError({apiUrl:l,apiName:m.name,response:e,forceError:!!(null==t?void 0:t.forceError)}))},h=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=getAPIQueryString(t),l=d.replace(o,parseFieldValue(e,null==t?void 0:t.variables))+a;return l=new URL(l,i).href,logger.log("Getting selection slug:".concat(e," data from FORGE DISTRIBUTION API ").concat(l),LoggerLevel.debug),await axios.get(l).then(async a=>(logger.log("Retrieved selection slug:".concat(e," data from FORGE DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(a.data)),LoggerLevel.debug),a.data.items=await enrichDistributionEntities(a.data.items,t),a.data)).catch(e=>handleApiError({apiUrl:l,apiName:h.name,response:e,forceError:!!(null==t?void 0:t.forceError)}))};a(24158),a(17503),a(95704);var p=a(95704);p.env.CULTURE,p.env.ENVIRONMENT;let v=(e,t,a,l,n)=>{let i=[];e&&i.push("$skip=".concat(l&&l>1?(l-1)*t+e:e)),t&&i.push("$limit=".concat(t));let o=(e=>{if(!e||0===e.length)return;let t=[];
1return e.includes(",")?e.split(",").forEach(e=>{t.push("tags.slug=".concat(e))}):t.push("tags.slug=".concat(e)),t})(a);return o&&(i=i.concat(o)),n&&i.push("fields.dateFrom=".concat(n)),i.join("&")}},86997:()=>{},87732:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var l=a(95155),n=a(88284),i=a(84380);let o=e=>{let{onClick:t,useWhiteCloseIcon:a=!1}=e,o=(0,i.A)();return(0,l.jsx)("button",{type:"button",className:"absolute top-4 z-10 right-4 transition-colors focus-visible:outline-none ".concat(a?"text-white hover:text-white/80":"text-black hover:text-grey-500"),"aria-label":o("close-popup"),onClick:t,children:(0,n.a)("CloseIcon")})},r=e=>{let{width:t,height:a}=e;return{width:t?"".concat(t,"px"):void 0,height:a?"".concat(a,"px"):void 0,maxWidth:"100%"}};var s=a(12115),c=a(78794);let d=e=>{let{mobileContent:t,desktopContent:a,popupWidthMobile:n,popupHeightMobile:d,popupWidthDesktop:u,popupHeightDesktop:m,useWhiteCloseIcon:h,surfaceClassName:p,pagePath:v}=e,g=(0,i.A)(),{isOpen:f,contentBaseClass:b,handleClose:x}=(e=>{let{surfaceClassName:t,hasDesktopContent:a,pagePath:l}=e,[n,i]=(0,s.useState)(!1);(0,s.useEffect)(()=>{((e,t)=>
1{if(!t.trim().length)return!1;let a=e[t];if(!a)return!1;let l=new Date;return new Date(a)>=l})(JSON.parse(localStorage.getItem(c.H.popupDismissed)||"{}"),l)?i(!1):i(!0)},[l]);let o=(0,s.useCallback)(()=>{let e=new Date(Date.now()+864e5),t=((e,t,a)=>t.trim().length?{...e,[t]:a.toISOString()}:e)(JSON.parse(localStorage.getItem(c.H.popupDismissed)||"{}"),l,e);localStorage.setItem(c.H.popupDismissed,JSON.stringify(t))},[l]),r=(0,s.useCallback)(()=>{i(!1),o()},[o]);return(0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&r()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[r]),{isOpen:n,contentBaseClass:(0,s.useMemo)(()=>"relative flex w-full justify-center ".concat(t," rounded-2xl shadow-2xl overflow-hidden pointer-events-auto"),[t]),handleClose:r}})({surfaceClassName:p,hasDesktopContent:!!a,pagePath:null!=v?v:""});return f?(0,l.jsxs)("div",{className:"fixed top-0 bottom-0 left-0 right-0 z-50 flex items-center justify-center mb-0",children:[(0,l.jsx)("button",{type:"button",className:"absolute top-0 bottom-0 left-0 right-0 bg-black/70 cursor-pointer","aria-label":g("close-popup"),onClick:x}),(0,l.jsxs)("div",{className:"relative z-10 flex h-full w-full items-center justify-center px-4 py-8 pointer-events-none",children:[t&&(0,l.jsxs)("dialog",{open:!0,className:"".concat(b," ").concat(a?"lg:hidden":""," m-0 border-none p-0 max-w-none max-h-none"),"aria-modal":"true","aria-label":g("popup-content"),style:r({width:n,height:d}),children:[(0,l.jsx)(o,{onClick:x,useWhiteCloseIcon:h}),t]}),a&&(0,l.jsxs)("dialog",{open:!0,className:"".concat(b," ").concat(t?"hidden lg:flex":""," m-0 border-none p-0 max-w-none max-h-none"),"aria-modal":"true","aria-label":g("popup-content"),style:r({width:u,height:m}),children:[(0,l.jsx)(o,{onClick:x,useWhiteCloseIcon:h}),a]})]})]}):null}},88969:()=>{},90232:()=>{},91282:(e,t,a)=>{"use strict";let l;a.d(t,{default:()=>I});var n=a(95155),i=a(66226),o=a(94918),r=a(39138),s=a(72519),c=a(84380),d=function(e){return e.TYPE="type",e.ENTITY_CODE="entityCode",e}({}),u=a(62893),m=a(56396),h=a(12115);let p=e=>{let{types:t,azureSearchOption:a,totalCount:l,colorSchema:i,setIsLoading:o,setAzureSearchOption:p,refreshSearch:v}=e,g=(0,c.A)(),[f,b]=(0,h.useState)("all"),x=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";o(!0),a.q=e,a.page=0,a.facetType=t,a.facetValue=l,p(a),b(l||"all"),v(!0)};return(0,n.jsxs)("ul",{className:"mb-10 flex flex-wrap list-none overflow-auto",children:[(0,n.jsx)("li",{children:(0,n.jsx)(s.A,{text:g("all"),variant:u.Gf.reset,onClick:()=>x(a.q),className:"mr-4 cursor-pointer d3-ty-heading-5 border-b-2 text-md ".concat(i.search.categoryItem," \n ").concat("all"===f?i.search.categoryItemActive:"border-transparent")})},g("all")),null==t?void 0:t.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(s.A,{text:g(e),variant:u.Gf.reset,onClick:()=>x(a.q,[m.ns.photo,m.ns.album,m.ns.document,m.ns.story,m.ns.player].includes(e)?d.TYPE:d.ENTITY_CODE,e),className:"mr-4 cursor-pointer d3-ty-heading-5 border-b-2 text-md ".concat(i.search.categoryItem," \n ").concat(f===e?i.search.categoryItemActive:"border-transparent")})},e)),(0,n.jsx)("div",{className:"lg:flex-1"}),(0,n.jsxs)("div",{className:"w-full lg:w-auto lg:flex lg:items-center text-sm lg:text-end py-2 ".concat(i.search.totalCount),children:[l," ",(0,n.jsx)(r.default,{translationTermKey:"results-found"})]})]})};var v=a(65897),g=a(9697),f=a(55529);a(95704);let b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.t.standard;if(!e)return e;let a=null==l?void 0:l[e.toLowerCase()];return a&&a[t]?a[t]:(f.A.log("TRANSLATION not found for this key: '".concat(e,"' and this type: '").concat(t,"'"),v.T.debug),e)},x=e=>{let{isKeyPagesPagination:t,prevPage:a,azureSearchOption:l,nextPage:i,isLoading:o,isLoadMore:r,refreshSearch:c,setIsLoading:d,setAzureSearchOption:m}=e,h=(e,a)=>{d(!0),t?l.keyPagesPage=e:l.page=e,m(l),c(a)};return r?(0,n.jsx)("div",{className:"flex justify-center mt-8 lg:mt-10",children:i>0&&(0,n.jsx)(s.A,{isDisabled:o,text:b("load-more"),onClick:()=>h(i),variant:u.Gf.primary,className:"flex m-auto d3-ty-navigation-lg"})}):(0,n.jsxs)("div",{className:"flex w-full justify-between mt-8",children:[(0,n.jsx)("div",{className:"flex-start",children:a>-1&&(0,n.jsx)(s.A,{isDisabled:o,text:b("previous"),variant:u.Gf.primary,hide:!1,onClick:()=>h(a,!0)})}),(0,n.jsx)("div",{className:"flex-end",children:i>0&&(0,n.jsx)(s.A,{isDisabled:o,text:b("next"),variant:u.Gf.primary,hide:!1,onClick:()=>h(i,!0)})})]})};a(31794),a(17247),a(16547);let y=[m.ns.story,m.ns.album,m.ns.player];var w=a(94659),k=a(60709);let N=e=>{let{searchResult:t,types:a,isLoading:l,isKeyPage:s,isLoadMore:c,azureSearchOption:d,azureSearchResult:u,thumbnailPlaceholder:v,playerThumbnailPlaceholder:g,nextPage:f,prevPage:b,colorSchema:N,setIsLoading:j,setAzureSearchOption:_,refreshSearch:S}=e;if(!(null==t?void 0:t.length)&&s)return null;let I=((e,t)=>{var a,l,n,i,o;return e.facetType&&e.facetValue?(null!=(l=null==t||null==(a=t.forgeEntities.items.find(t=>t.type===e.facetValue))?void 0:a.count)?l:0)+(null!=(n=null==t?void 0:t.keyPages.count)?n:0):(null!=(i=null==t?void 0:t.forgeEntities.items.filter(e=>y.includes(e.type)&&e.type!==m.ns.player).reduce((e,t)=>
1{var a;return e+(null!=(a=t.count)?a:0)},0))?i:0)+(null!=(o=null==t?void 0:t.forgeEntities.playersCount)?o:0)})(d,u);return(0,n.jsxs)("div",{className:"py-4 last:pb-4 lg:last:pb-20 mt-4 relative",children:[l&&(0,n.jsx)(o.A,{}),s?(0,n.jsxs)("div",{className:"w-full lg:w-auto lg:flex lg:items-center text-sm lg:text-end py-2 ".concat(N.search.totalCount),children:[I," ",(0,n.jsx)(r.default,{translationTermKey:"results-found"})]}):(0,n.jsx)(p,{types:a,azureSearchOption:d,setIsLoading:j,setAzureSearchOption:_,refreshSearch:S,totalCount:I,colorSchema:N}),(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"my-1 grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4",children:t.map(e=>(0,n.jsx)(h.Fragment,{children:(0,n.jsx)(i.A,{entity:e,variant:w._.default,transformations:k.Ng.defaultCard,thumbnailPlaceholder:e.type===m.ns.player&&null!=g?g:v,colorSchema:N,modifierClass:e.type===m.ns.player?"-player":void 0})},e.id))}):null,(0,n.jsx)(x,{nextPage:f,prevPage:b,azureSearchOption:d,setIsLoading:j,setAzureSearchOption:_,refreshSearch:S,isKeyPagesPagination:s,isLoadMore:c,isLoading:l})]})};var j=a(30926);let _=(0,j.createServerReference)("6054b541e564f68fe5d398abbd6d8c21fd5beb3edf",j.callServer,void 0,j.findSourceMapURL,"azureSearchForgeEntities"),S=(0,j.createServerReference)("40a645739caa25eb43f833386191d9b63a1644cb3e",j.callServer,void 0,j.findSourceMapURL,"azureSearchKeyPages"),I=e=>{let{azureSearchResult:t,initialAzureSearchOption:a,thumbnailPlaceholder:l,playerThumbnailPlaceholder:i,initialData:o,types:r,variables:s,isLoadMore:c,initialNextPage:d,isKeyPage:u,colorSchema:p}=e,{azureSearchOption:v,isLoading:g,nextPage:f,prevPage:b,searchResult:x,refreshSearch:w,setAzureSearchOption:k,setIsLoading:j}=(e=>{let{isKeyPage:t,initialData:a,initialNextPage:l,initialAzureSearchOption:n,variables:i}=e,[o,r]=(0,h.useState)(a||[]),[s,c]=(0,h.useState)(n),[d,u]=(0,h.useState)(!1),[p,v]=(0,h.useState)(l),[g,f]=(0,h.useState)(-1),b=(0,h.useCallback)((e,t)=>{v(((e,t,a)=>{if(!t.length)return 0;let l=e.limit,n=e.page;return(n+1)*l<a?n+1:0})(s,e,t)),f((e=>e.page>=0?e.page-1:-1)(s))},[s]),x=(0,h.useCallback)(async(e,t)=>{let a=await _(e,i);if(null==a?void 0:a.data){var l,n;let i=((e,t)=>{var a;let l=null!=(a=null==t?void 0:t.items.filter(t=>e?t.type===e:y.includes(t.type)))?a:[];if(!e&&l.length>0){let e=l.filter(e=>e.type!==m.ns.player).flatMap(e=>e.documents);return e.sort((e,t)=>{let a=e.contentDate?new Date(e.contentDate).getTime():0;return(t.contentDate?new Date(t.contentDate).getTime():0)-a}),[...e,...l.filter(e=>e.type===m.ns.player).flatMap(e=>e.documents)]}return l.flatMap(e=>e.documents)})(e.facetValue,null!=(l=null==a?void 0:a.data)?l:[]);r(e=>t?[...i]:[...e,...i]),b(i,e.facetValue===m.ns.player?null!=(n=a.data.playersCount)?n:0:e.facetValue?a.data.count:(e=>{var t;return e.items.filter(e=>y.includes(e.type)&&e.type!==m.ns.player).reduce((e,t)=>{var a;return e+(null!=(a=t.count)?a:0)},0)+(null!=(t=e.playersCount)?t:0)})(a.data)),u(!1)}},[b,i]),w=(0,h.useCallback)((e,t)=>{v(((e,t,a)=>{let l=e.keyPagesLimit*(e.keyPagesPage+1)===a,n=e.keyPagesPage>0?e.keyPagesPage+1:1;return(null==t?void 0:t.length)&&(null==t?void 0:t.length)===e.keyPagesLimit&&!l?n:0})(s,e,t)),f((e=>e.keyPagesPage>=0?e.keyPagesPage-1:-1)(s))},[s]),k=(0,h.useCallback)(async(e,t)=>{let a=await S(e);if(null==a?void 0:a.data){let e=(e=>null==e?void 0:e.reduce((e,t)=>{let a={title:t.Title,thumbnail:{title:t.Title,templateUrl:t.Image},url:t.Url};return e.push(a),e},[]))(null==a?void 0:a.data.items);r(a=>t?[...e||[]]:[...a||[],...e||[]]),w(null==a?void 0:a.data.items,null==a?void 0:a.data.count),u(!1)}},[w]),N=async e=>{t?await k(s,e):await x(s,e)};return{searchResult:o,isLoading:d,nextPage:p,prevPage:g,azureSearchOption:s,setAzureSearchOption:c,setIsLoading:u,refreshSearch:N}})({initialAzureSearchOption:a,isKeyPage:u,initialData:o,initialNextPage:d,variables:s});return(0,n.jsx)(N,{azureSearchOption:v,azureSearchResult:t,nextPage:f,prevPage:b,isLoading:g,isLoadMore:c,searchResult:x,thumbnailPlaceholder:l,playerThumbnailPlaceholder:i,types:r,isKeyPage:u,refreshSearch:w,setAzureSearchOption:k,setIsLoading:j,colorSchema:p})}},94199:(e,t,a)=>{"use strict";a.d(t,{default:()=>r});var l=a(95155),n=a(99042),i=a(88284),o=a(12115);let r=e=>{let{typography:t,fonts:a}=e,[r,s]=(0,o.useState)("desktop"),[c,d]=(0,o.useState)("");return t&&a?(0,l.jsxs)("div",{className:"w-full",children:[Object.entries(a).map(e=>
1{let[t,a]=e;return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"mb-4 py-4 ".concat(a.fontClass),children:[(0,l.jsx)("p",{className:"d3-ty-heading-1 mb-2 uppercase",children:t}),(0,l.jsxs)("div",{className:"flex gap-4 flex-col lg:flex-row lg:gap-20 lg:items-center",children:[(0,l.jsx)("div",{children:a.texts.map((e,t)=>(0,l.jsx)("div",{children:e},t))}),(0,l.jsx)("div",{className:"flex gap-4",children:a.weights.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-1 ".concat(e.fontClasses),children:[(0,l.jsx)("p",{className:"text-4xl",children:e.text}),(0,l.jsx)("p",{children:e.weight}),(0,l.jsx)("p",{children:e.name})]},t))})]})]}),(0,l.jsx)("hr",{className:"mb-2"})]},t)}),(0,l.jsx)("ul",{className:"flex gap-4",children:["desktop","mobile"].map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)("button",{className:"group relative inline-block overflow-hidden rounded px-12 py-3 hover:bg-gray-100 capitalize ".concat(r===e?"bg-grey-100 text-black":"bg-white"),onClick:()=>s(e),children:[(0,l.jsx)("span",{className:"ease absolute bottom-0 ".concat("desktop"===e?"right-0":"left-0"," h-0 w-0 border-b-4 border-grey-300 transition-all duration-200 group-hover:w-full")}),e]})},e))}),(0,l.jsx)("div",{className:"p-4",children:Object.entries(t).map(e=>{let[t,a]=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"my-4 py-4",children:(0,l.jsx)("p",{className:"d3-ty-heading-3 mb-2 uppercase text-grey-300",children:t})}),(0,l.jsx)("div",{className:"flex flex-col gap-10",children:a.map(e=>(0,l.jsxs)("div",{className:"flex gap-4 flex-col lg:flex-row lg:gap-20 lg:items-center",children:[(0,l.jsxs)("div",{className:"w-[200px] flex items-center gap-2 relative",children:[(0,l.jsx)("button",{className:"p-1 bg-grey-100 hover:bg-secondary hover:text-white rounded",onClick:()=>(e=>{navigator.clipboard.writeText(e),d(e),setTimeout(()=>{d("")},1500)})(e.class),children:(0,i.a)("SettingsIcon")}),(0,l.jsx)("p",{className:"d3-ty-heading-4",children:e.name}),c&&c===e.class&&(0,l.jsx)("div",{className:"absolute top-0 right-0 ",children:(0,l.jsx)(n.A,{type:"success",title:"Class copied"})})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("p",{className:"text-grey-200",children:e["".concat(r)].description}),(0,l.jsx)("p",{className:"".concat(e["".concat(r)].class),children:e.text})]})]},e.name))}),(0,l.jsx)("hr",{className:"mb-4 mt-4"})]},t)})})]}):null}},94517:()=>{},94659:(e,t,a)=>{"use strict";a.d(t,{A:()=>n,_:()=>l});var l=function(e){return e.default="default",e.overlay="overlay",e.horizontal="horizontal",e}({}),n=function(e){return e.album="Album",e.play="Play",e}({})},95331:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>h});var l=a(95155);a(90232);let n=e=>{let{...t}=e,{content:a,className:n,fromMarkdown:i}=t,o=(e=>e?e.replace(/<script[^>]*src=["'](?:https?:)?\/\/cs\.iubenda\.com\/autoblocking\/[^"']+["'][^>]*><\/script>/gi,""):e)(a||"");return(0,l.jsx)("div",{className:"".concat(i?"":"d3-markdown"),children:(0,l.jsx)("div",{className:"htmlcontent-code w-full "+(n||""),dangerouslySetInnerHTML:{__html:o}})})};var i=a(62893),o=a(65897),r=a(55529),s=a(13020),c=a(32238);let d=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e?await u(e,t):""};async function u(e,t){if(!e)return"";let a={text:e,links:[],strikeouts:[],superScripts:[],subScripts:[]};a=function(e){let t=Array.from(e.text.matchAll(/<\s*(sub)[^>]*>(.*?)<\s*\/\s*(sub)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.subScripts.push(t),e.text=e.text.replace(t,"[subscript-placeholder-".concat(e.subScripts.length-1,"]"))}),e}(a=function(e){let t=Array.from(e.text.matchAll(/<\s*(sup)[^>]*>(.*?)<\s*\/\s*(sup)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.superScripts.push(t),e.text=e.text.replace(t,"[superscript-placeholder-".concat(e.superScripts.length-1,"]"))}),e}(a=function(e){let t=Array.from(e.text.matchAll(/<\s*(s)[^>]*>(.*?)<\s*\/\s*(s)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.strikeouts.push(t),e.text=e.text.replace(t,"[strikeout-placeholder-".concat(e.strikeouts.length-1,"]"))}),e}(a=function(e){let t=Array.from(e.text.matchAll(/<\s*(a)[^>]*>(.*?)<\s*\/\s*(a)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.links.push(t),e.text=e.text.replace(t,"[link-placeholder-".concat(e.links.length-1,"]"))}),e}(a))));let l=await (0,s.V)().use(c.A,{sanitize:!0}).process(a.text);return a.text=(null==l?void 0:l.toString())?null==l?void 0:l.toString():a.text,(a=function(e){for(let t=0;t<e.subScripts.length;t++){let a=e.subScripts[t];e.text=e.text.replace("[subscript-placeholder-".concat(t,"]"),a)}return e}(a=function(e){for(let t=0;t<e.superScripts.length;t++){let a=e.superScripts[t];e.text=e.text.replace("[superscript-placeholder-".concat(t,"]"),a)}return e}(a=function(e){for(let t=0;t<e.strikeouts.length;t++){let a=e.strikeouts[t];e.text=e.text.replace("[strikeout-placeholder-".concat(t,"]"),a)}return e}(a=function(e,t){for(let a=0;a<e.links.length;a++){let l=e.links[a],n=function(e){let t=e.match(/href="([^"]*)"/);if(t){let e=t[1];if(e.includes("mailto:"))return null;try{if(e.match(/^(https?:)?\/\//i)){let t=new URL(e);return t.searchParams.append(i.OU.appView,"true"),t.toString()}if(e.includes("?"))return"".concat(e,"&").concat(i.OU.appView,"=true");return"".concat(e,"?").concat(i.OU.appView,"=true")}
1catch(t){return r.A.log('Url "'.concat(e,'" is invalid.'),o.T.warning),e}}return null}(l);t&&n&&(l=l.replace(/href="([^"]*)"/,'href="'.concat(n,'"'))),e.text=e.text.replace("[link-placeholder-".concat(a,"]"),l)}return e}(a,t))))).text}var m=a(12115);let h=e=>{let{markdownText:t,classNames:a,containerClassName:i,isAppView:o}=e,[r,s]=(0,m.useState)(null);return((0,m.useEffect)(()=>{let e=!1;return(async()=>{if(!t)return s(null);let a=await d(t,o);e||s(a)})(),()=>{e=!0}},[t,o]),t&&r)?(0,l.jsx)("div",{className:"d3-markdown ".concat(null!=i?i:""),children:(0,l.jsx)(n,{content:r,className:a,fromMarkdown:!0})}):null}},99042:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var l=a(95155),n=a(39138),i=a(88284);let o=e=>{let{title:t,className:a,type:o}=e;return(0,l.jsxs)("div",{className:"flex items-center w-full max-w-xs p-4 mb-4 bg-white rounded-lg shadow ".concat(null!=a?a:""),role:"alert",children:[(0,l.jsxs)("div",{className:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 rounded-lg ".concat("error"===o?"bg-tertiary-100":"bg-green-100"),children:["error"===o&&(0,i.a)("RemoveIcon"),"success"===o&&(0,i.a)("CheckIcon")]}),(0,l.jsx)("div",{className:"ms-3",children:(0,l.jsx)(n.default,{translationTermKey:t})})]})}},99463:()=>{},99683:(e,t,a)=>{"use strict";a.d(t,{default:()=>s});var l=a(95155),n=a(72519),i=a(99042),o=a(88284),r=a(12115);let s=e=>{let{callToAction:t}=e,[a,s]=(0,r.useState)("");return(0,l.jsx)("div",{className:"grid lg:grid-cols-2 gap-4 p-4",children:Object.entries(t).map(e=>{let[t,r]=e;return(0,l.jsx)("div",{className:"mb-4 py-4 lg:col-span-1",children:r.map(e=>(0,l.jsxs)("div",{className:"flex gap-4 items-center ".concat(e.isDark?"bg-[#333]":"bg-white"," py-8 px-4"),children:[(0,l.jsx)("p",{className:"d3-ty-heading-2 ".concat(e.isDark?"text-white":"text-black "," uppercase"),children:e.name}),(0,l.jsx)(n.A,{variant:e.style,svgIcon:(0,o.a)("ArrowRight"),smallSize:e.smallSize}),(0,l.jsx)("div",{className:"flex flex-col grow",children:(0,l.jsxs)("div",{className:" flex items-start gap-2 relative w-full",children:[(0,l.jsx)("button",{className:"p-1 rounded ".concat(e.isDark?"text-white":"text-black "," hover:bg-secondary"),onClick:()=>(e=>{navigator.clipboard.writeText(e),s(e),setTimeout(()=>{s("")},1500)})(e.style),children:(0,o.a)("CopyLinkRounded")}),a&&a===e.style&&(0,l.jsx)("div",{className:"absolute top-0 left-[40px] ",children:(0,l.jsx)(i.A,{type:"success",title:"CTA Style copied"})})]})})]},e.name))},t)})})}}}]);
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.