1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4939],{14285:function(e,t,n){var l=n(11041),r=n(6916),o=n(89954),a=n(1620);const s=(0,r.zo)("div",{}),i=(0,r.zo)("div",{}),d=(0,r.zo)("span",{}),u=(0,r.zo)("div",{}),c=(0,r.zo)("span",{});t.Z=e=>{let{$numberStyle:t,$style:n,$textStyle:r,daysLabel:h="",hoursLabel:x="",minutesLabel:v="",secondsLabel:p="",time:y}=e;const m={display:"flex",gap:"4px",textAlign:"left"},f={fontSize:"16px",lineHeight:"1",fontFamily:l.Vl.extended,letterSpacing:"0.32px",...t},g={fontSize:"10px",lineHeight:"1",fontFamily:l.Vl.regular,display:"flex",justifyContent:"center",alignItems:"center",fontWeight:500,...r},{countdownInfo:b}=(0,o.Z)(new Date(y));return(0,a.jsxs)(s,{$style:{display:"flex",gap:"8px",...n},children:[(0,a.jsxs)(i,{$style:m,children:[(0,a.jsx)(u,{children:(0,a.jsx)(d,{$style:f,children:b.days})}),h&&(0,a.jsx)(c,{$style:g,children:h})]}),(0,a.jsxs)(i,{$style:m,children:[(0,a.jsx)(u,{children:(0,a.jsx)(d,{$style:f,children:b.hours})}),x&&(0,a.jsx)(c,{$style:g,children:x})]}),(0,a.jsxs)(i,{$style:m,children:[(0,a.jsx)(u,{children:(0,a.jsx)(d,{$style:f,children:b.minutes})}),v&&(0,a.jsx)(c,{$style:g,children:v})]}),(0,a.jsxs)(i,{$style:m,children:[(0,a.jsx)(u,{children:(0,a.jsx)(d,{$style:f,children:b.seconds})}),p&&(0,a.jsx)(c,{$style:g,children:p})]})]})}},85428:function(e,t,n){n.d(t,{Z:function(){return z}});var l=n(27802),r=n(6916);const o="var(--header-height)",a="0px",s={workoutPage:a,postArchive:o},i={countdownModule:[o,null,a],backgroundMediaModule:a,backgroundMediaLandscapeModule:a,ctaModule:a,flexibleModule:a,hotspotModule:a,simpleHeroModule:a};var d=(e,t)=>{var n;if(e&&s[e])return s[e];const l=null==t||null===(n=t[0])||void 0===n?void 0:n.component;return l&&i[l]||o},u=n(60781),c=n(76174),h=n(92313);var x=n(11041),v=n(61718),p=n(32059),y=n(29990),m=n(8563),f=n(61925),g=n(19140),b=n(78209),j=n(14285),L=n(1620);const w=(0,r.zo)(y.Z,{":hover":{textDecoration:"underline"}});var S=e=>{var t,n;let{banner:l}=e;if(!l)return null;const{tag:r,theme:o,time:a,daysLabel:s,hoursLabel:i,minutesLabel:d,secondsLabel:u,wrapperLink:c,afterContent:h}=l,y=r&&Array.isArray(r)?(0,b.Z)({tag:r[0]}):void 0,S=a?[{content:[{value:!0}],rules:[{component:"displayRuleTime",max:a}]}]:void 0,[$]=(0,v.Z)(S)||[],Z=!!$;return(0,L.jsx)(L.Fragment,{children:(0,L.jsx)(w,{isVolatile:!0,to:c,$style:g.K[o],children:Z?(0,L.jsxs)(p.S,{$style:{...g.K[o],[x.BC.max.tablet]:{gap:"8px",justifyContent:"space-between"}},children:[(0,L.jsx)(f.Z,{$style:{fontSize:"10px",lineHeight:"1",fontWeight:500,fontFamily:x.Vl.extended,[x.BC.min.tablet]:{position:"absolute",left:x.ew}},title:null==y?void 0:y.text,children:null==y?void 0:y.text}),(0,L.jsx)(j.Z,{time:a,daysLabel:s,hoursLabel:i,minutesLabel:d,secondsLabel:u})]}):(0,L.jsx)(p.S,{$style:g.K[o],className:"after-countdown-banner",...null==h||null===(t=h.text)||void 0===t?void 0:t.sbEditable,children:(0,L.jsx)(m.Z,{data:null==h||null===(n=h.text)||void 0===n?void 0:n.text})})})})},$=n(56764);const Z=(0,r.zo)("ul",{height:"100%",width:"100%"});var C=e=>{let{$style:t={},animationDelay:n=3e3,animationTime:l=1e3,children:o}=e;const[a]=(0,r.hQ)(),s=(0,$.useRef)(null);return o&&null!==s?((0,$.useEffect)((()=>{if(o.length<=1)return;let e,t,r=0;const a=()=>{s.current&&(s.current.style.transform="translateY(-"+100*r+"%)",s.current.style.transition="transform "+l+"ms ease",r++),r>(null==o?void 0:o.length)&&(r=1,t=setTimeout((()=>{s.current&&(s.current.style.transform="translateY(0%)",s.current.style.transition="transform 0ms ease")}),l)),e=setTimeout(a,l+n)};return s.current&&(s.current.append(s.current.children[0].cloneNode(!0)),a()),()=>{clearTimeout(e),clearTimeout(t)}}),[s,o.length]),(0,L.jsx)("div",{className:a({display:"flex",justifyContent:"center",overflow:"hidden",width:"100%",...t}),children:(0,L.jsx)(Z,{ref:s,children:o})})):null},_=n(83897),A=n(77721),D=n(32043);const M={countdownBanner:{type:"countdown",component:S,transformer:e=>{var t;if(e&&e.tag&&e.time)return{type:"countdown",tag:e.tag,time:e.time,theme:e.theme,daysLabel:e.daysLabel,hoursLabel:e.hoursLabel,minutesLabel:e.minutesLabel,secondsLabel:e.secondsLabel,wrapperLink:null===(t=e.wrapperLink)||void 0===t?void 0:t.url,afterContent:{text:(0,h.Z)({paragraph:e.paragraph})}}}},banner:{type:"banner",component:p.Z,transformer:c.u}};var T=e=>{var t;let{banners:n}=e;const l=n.filter((e=>Object.keys(M).includes(e.component))),r=n.filter((e=>"bannerRuleContent"===e.component)),o=(0,v.Z)(r,{onlyMatchWithFirst:!0}),a=(null==o?void 0:o.length)>0?[null==o?void 0:o[0]].concat((0,u.Z)(l)):l,s=!(null==a||!a.length);if((0,A.lR)((()=>{D.Z.trigger("ACTIVE_BANNER_STAUTS",s)}),[s]),0===a.length)return(0,L.jsxs)(_.q,{children:[(0,L.jsx)("body",{"data-has-banner":"false"}),(0,L.jsx)("style",{type:"text/css",children:"\n body { \n --banner-height: 0px;\n }\n "})]});const i=a.map((e=>{const t=M[e.component];if(!t)return null;const n=t.component,l=t.transformer(e);return(0,L.jsx)(n,{banner:l},null==e?void 0:e._uid)}));return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(_.q,{children:[(0,L.jsx)("body",{"data-has-banner":"true"}),(0,L.jsx)("style",{type:"text/css",children:"\n body { \n --banner-height: var(--banner-static-height);\n }\n "})]}),(0,L.jsx)(C,{animationDelay:6e3,animationTime:1e3,$style:{height:"var(--banner-static-height)"},children:i},null==o||null===(t=o[0])||void 0===t?void 0:t._uid)]})};const N=(0,r.zo)("div",{flexShrink:0});var z=e=>{var t,n,r,o,a;let{page:s}=e;const i=(null==s||null===(t=s.data)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.banner)||[];return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(T,{banners:i}),(0,L.jsx)(l.Z,{alternateHrefs:null===(r=s.data)||void 0===r?void 0:r.hrefs,pageType:s.type}),(0,L.jsx)(N,{"aria-hidden":"true",$style:{height:d(s.type,null===(o=s.data)||void 0===o||null===(a=o.content)||void 0===a?void 0:a.heroContent)}})]})}},89954:function(e,t,n){var l=n(56764);const r=e=>{const t=e.getTime()-(new Date).getTime(),n={days:"00",hours:"00",minutes:"00",seconds:"00"};
1if(t>0){const e=Math.floor(t/864e5),l=Math.floor(t/36e5%24),r=Math.floor(t/6e4%60),o=Math.floor(t/1e3%60);n.days=e>=100?e.toString().padStart(3,"0"):e.toString().padStart(2,"0"),n.hours=l.toString().padStart(2,"0"),n.minutes=r.toString().padStart(2,"0"),n.seconds=o.toString().padStart(2,"0")}return n};t.Z=e=>{const{0:t,1:n}=(0,l.useState)(r(e)),o=new Date(e)>new Date;return(0,l.useEffect)((()=>{const t=setInterval((()=>n(r(e))),1e3);return()=>clearInterval(t)}),[e]),{countdownInfo:t,showCountdown:o}}},60754:function(e,t,n){n.r(t);var l=n(15704),r=n(6916),o=n(75488),a=n(91554),s=n(85428),i=n(1620);const d=e=>{if("categoryPage"===e.type){var t,n,l,r,o;const a=null===(t=e.data)||void 0===t?void 0:t.content,s=(null==a||null===(n=a.beforeProductsContent)||void 0===n?void 0:n.length)>0||(null==a||null===(l=a.afterProductsContent)||void 0===l?void 0:l.length)>0||(null==a||null===(r=a.beforeFooterContent)||void 0===r?void 0:r.length)>0,i=null==a?void 0:a.afterProductsHeading,d=Array.isArray(i)?!(null==i||null===(o=i[0])||void 0===o||!o.text):!(null==i||!i.text);return s||d?void 0:"h2"}};t.default=e=>{var t,n,u,c;let{children:h,page:x={}}=e;const[v]=(0,r.hQ)(),p="categoryPage"===x.type,y="product"===x.type?"solid":"solidRounded",m=((null==x||null===(t=x.data)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.banner)||[]).some((e=>["countdownBanner","banner"].includes(e.component)));return(0,i.jsx)(a.fL,{headerTheme:y,hasBanner:m,children:(0,i.jsxs)("div",{className:v({minHeight:"100vh",display:"flex",flexDirection:"column"}),children:[(0,i.jsx)(o.Z,{text:"Skip to main content",to:"#main-content"}),p&&(0,i.jsx)(o.Z,{text:"Skip to product list",to:"#product-list"}),(0,i.jsx)(s.Z,{page:x}),(0,i.jsx)("main",{className:v({flex:"1 0 auto"}),id:"main-content",tabIndex:-1,children:h}),(0,i.jsx)(l.Z,{hideNewsletter:!(null===(u=x.data)||void 0===u||null===(c=u.content)||void 0===c||!c.deactivateFooterNewsletter),overrideNewsletterHeading:d(x)})]})})}}}]);
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.