PageSourceSearch

https://www.nike.com/_next/static/chunks/739.9426a0c8c563acde.js

js nike.com collected 2026-09-24 09:07:26 UTC 25,161 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[739],{6739:(e,t,r)=>{r.r(t),r.d(t,{AutoplayCarousel:()=>H,NavigationButtons:()=>R,PaginationIndicators:()=>$,ProgressPauseButton:()=>z});var n=r(6029),a=r(3886),l=r.n(a),o=r(494),i=r(260),s=r(6121),u=r.n(s),c=r(708),d=r(764),p=r(3748),m=r(6954);let f={autoplayCarousel:"MDDLJwBF",slidesContainer:"_3PRbJZnK",slide:"_3rlks-sl",controls:"_3LX_QbmP",progressButton:"_2qZJUZJp",dark:"_2a8LwOjT",progressBar:"_1KMgAAcp",progressTrack:"_21Ov18W_",playPause:"_1XkXVf2u",navBtnContainer:"_1qT6E0di",navButton:"_3fh4aDHS",caret:"_2gOsEWii",pagination:"S2QRw7W4",paginationDot:"TYczRBi0",active:"Eh9hXxQZ",transitioning:"_2TL9vIWH",parallaxNext:"_1z17BcHA",parallaxFromRight:"_22kD7MgC",parallaxPrev:"_3l-dojV_",parallaxFromLeft:"_1Io7Ckl7"};var y=r(9232),g=r(7763),h=r(5901);let v={VIDEO:"VIDEO"},b=({analyticsItemId:e="",hashKey:t="",colorTheme:r=h.zG.LIGHT,index:a=0,itemCount:l=0,collectionId:o="",onAutoplayControl:i,...s})=>{let u=s?.actionButtons,c=Array.isArray(u)?u.map(e=>e.analytics?.hashKey).filter(Boolean):[],d=s?.containerType?.toUpperCase();return(0,n.jsx)("div",{"data-analytics-placement-id":e,"data-is-carousel-content":s?.isInCarousel,"data-action-hashkeys":c,"data-click-mod":t,"data-index":a,"data-collection-id":o,"data-item-count":l,"data-analytics-has-landmark":"true","data-qa":"autoplay-carousel-item",className:f.slide,children:d===v.VIDEO?(0,n.jsx)(y.O,{...s,dataAnalyticsHasLandmark:!1,colorTheme:r,controlOptions:s?.controlOptions,preset:"ambient",inAutoplayCarousel:!0,loop:!1,onAutoplayControl:i}):(0,n.jsx)(g.A,{...s,dataAnalyticsHasLandmark:!1,colorTheme:r,loading:0===a?"eager":"lazy"})})};b.propTypes={...h.vc,analyticsItemId:u().string,collectionId:u().string,hashKey:u().string,index:u().number,itemCount:u().number,onAutoplayControl:u().func};var C=r(2907);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function P(e){var t,r;for(t=1;t<arguments.length;t++)r=null!=arguments[t]?arguments[t]:{},t%2?E(Object(r),!0).forEach(function(t){var n,a,l;n=e,a=t,l=r[t],(a=function(e){var t=function(e,t){if("object"!=x(e)||!e)return e;var r,n=e[Symbol.toPrimitive];if(void 0!==n){if(r=n.call(e,t||"default"),"object"!=x(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==x(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[a]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))});return e}var O={s:l().createElement(l().Fragment,null,l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M14.75 17.5L9.25 12l5.5-5.5"})),m:l().createElement(l().Fragment,null,l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M15.525 18.966L8.558 12l6.967-6.967"})),l:l().createElement(l().Fragment,null,l().createElement("path",{stroke:"currentColor",strokeWidth:"3",d:"M31.05 37.932L17.118 24 31.05 10.066"}))},k=l().memo(function(e){return l().createElement(C.A,P(P({},e),{},{paths:O,fill:"none"}))});function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function T(e){var t,r;for(t=1;t<arguments.length;t++)r=null!=arguments[t]?arguments[t]:{}
1,t%2?j(Object(r),!0).forEach(function(t){var n,a,l;n=e,a=t,l=r[t],(a=function(e){var t=function(e,t){if("object"!=A(e)||!e)return e;var r,n=e[Symbol.toPrimitive];if(void 0!==n){if(r=n.call(e,t||"default"),"object"!=A(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==A(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[a]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))});return e}var S={s:l().createElement(l().Fragment,null,l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M9.25 17.5l5.5-5.5-5.5-5.5"})),m:l().createElement(l().Fragment,null,l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M8.474 18.966L15.44 12 8.474 5.033"})),l:l().createElement(l().Fragment,null,l().createElement("path",{stroke:"currentColor",strokeWidth:"3",d:"M16.947 37.932L30.881 24 16.947 10.066"}))},I=l().memo(function(e){return l().createElement(C.A,T(T({},e),{},{paths:S,fill:"none"}))});let R=l().memo(({colorTheme:e=h.zG.LIGHT,onPrevClick:t,onNextClick:r,translations:a={}})=>{let l=(0,i.A)(f.navButton,{[f.dark]:e===h.zG.DARK});return(0,n.jsxs)("div",{className:f.navBtnContainer,children:[(0,n.jsx)("button",{className:l,"aria-label":a.prevButton||"Previous slide",onClick:t,type:"button","data-qa":"prev-btn",children:(0,n.jsx)(k,{className:f.caret,"aria-hidden":"true"})}),(0,n.jsx)("button",{className:l,"aria-label":a.nextButton||"Next slide",onClick:r,type:"button","data-qa":"next-btn",children:(0,n.jsx)(I,{className:f.caret,"aria-hidden":"true"})})]})});function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function D(e){var t,r;for(t=1;t<arguments.length;t++)r=null!=arguments[t]?arguments[t]:{},t%2?w(Object(r),!0).forEach(function(t){var n,a,l;n=e,a=t,l=r[t],(a=function(e){var t=function(e,t){if("object"!=L(e)||!e)return e;var r,n=e[Symbol.toPrimitive];if(void 0!==n){if(r=n.call(e,t||"default"),"object"!=L(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==L(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[a]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))});return e}R.displayName="NavigationButtons",R.propTypes={colorTheme:u().string,onNextClick:u().func.isRequired,onPrevClick:u().func.isRequired,translations:u().objectOf(u().string)};var N={s:l().createElement(l().Fragment,null,l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5zm-7.5 0a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.25 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5zm-7.5 0a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M8.25 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"})),m:l().createElement(l().Fragment,null,l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5zm-7.5 0a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.25 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M15.75 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5zm-7.5 0a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"}),l().createElement("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M8.25 20.25a1.5 1.5 0 01-1.5-1.5V5.25a1.5 1.5 0 013 0v13.5a1.5 1.5 0 01-1.5 1.5z",clipRule:"evenodd"})),l:l().createElement(l().Fragment,null,l().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M33 6c-3.308 0-6 2.692-6 6v24c0 3.308 2.692 6 6 6s6-2.692 
16-6V12c0-3.308-2.692-6-6-6zM15 6c-3.308 0-6 2.692-6 6v24c0 3.308 2.692 6 6 6s6-2.692 6-6V12c0-3.308-2.692-6-6-6z",clipRule:"evenodd"}))},_=l().memo(function(e){return l().createElement(C.A,D(D({},e),{},{paths:N,fill:"none"}))}),M=r(4481);let z=l().memo(({colorTheme:e=h.zG.LIGHT,isAutoPlaying:t=!1,progressCircleRef:r,onPlayPauseClick:a,onFocus:l,translations:o={}})=>{let s=(0,i.A)(f.progressButton,{[f.dark]:e===h.zG.DARK,[f.paused]:!t});return(0,n.jsxs)("button",{className:s,onClick:a,onFocus:l,"aria-label":t?o.autoplayPauseButtonLabel||"Pause autoplay":o.autoplayResumeButtonLabel||"Resume autoplay",type:"button","data-qa":"progress-pause-btn",children:[(0,n.jsx)("svg",{viewBox:"0 0 48 48",className:f.progressTrack,"aria-hidden":"true",children:(0,n.jsx)("circle",{cx:"24",cy:"24",r:"22"})}),(0,n.jsx)("svg",{viewBox:"0 0 48 48",ref:r,className:f.progressBar,"aria-hidden":"true",children:(0,n.jsx)("circle",{cx:"24",cy:"24",r:"22"})}),(0,n.jsx)("span",{className:f.playPause,"aria-hidden":"true",children:t?(0,n.jsx)(_,{}):(0,n.jsx)(M.v,{})})]})});z.displayName="ProgressPauseButton",z.propTypes={colorTheme:u().string,isAutoPlaying:u().bool,onFocus:u().func,onPlayPauseClick:u().func,progressCircleRef:u().oneOfType([u().func,u().shape({current:u().any})]),translations:u().shape({autoplayPauseButtonLabel:u().string,autoplayResumeButtonLabel:u().string})};let $=({slides:e,activeSlideIndex:t,onSlideClick:r,paginationLabel:a})=>(0,n.jsx)("div",{className:f.pagination,role:"group","aria-label":a,children:e?.map((a,l)=>{let o=l===t,s=a?.id??`slide-${l}`;return(0,n.jsx)("button",{className:(0,i.A)(f.paginationDot,{[f.active]:o}),onClick:()=>r(l),"aria-label":`${o?"Current slide, ":""}Go to slide ${l+1} of ${e.length}`,"aria-current":o?"true":void 0,type:"button"},`pagination-${s}`)})});$.propTypes={activeSlideIndex:u().number.isRequired,onSlideClick:u().func.isRequired,paginationLabel:u().string,slides:u().arrayOf(u().shape(h.vc))};var V=r(4512),B=r(3133),K=r(6969),Y=r(4019);let F=e=>e?.querySelector?.("[data-vjs-player]")?.player||null,U=e=>{e&&(e.pause(),e.currentTime(0),e.setState({pausedOnLeave:!1}))},W=(e,t)=>{e.current&&clearTimeout(e.current),t.current&&cancelAnimationFrame(t.current)},X={height:"1px",left:"-10000px",overflow:"hidden",position:"absolute",width:"1px"},H=({slides:e=[],analyticsItemId:t="",cardId:r="",hashKey:l="",translations:s={}})=>{let u=(0,o.wA)(),[y,g]=(0,a.useState)(0),[C,x]=(0,a.useState)(!0),[E,P]=(0,a.useState)(!1),[O,k]=(0,a.useState)(1),[A,j]=(0,a.useState)(""),[T,S]=(0,a.useState)(!1),[I,L]=(0,a.useState)(null),w=(0,a.useRef)(null),D=(0,a.useRef)(null),N=(0,a.useRef)(null),_=(0,a.useRef)(null),M=(0,a.useRef)(y),H=(0,a.useRef)(null),q=(()=>{let{isPortrait:e}=(0,V.Py)(),t=(0,K.RY)();return r=>{if(r?.containerType?.toUpperCase()!==v.VIDEO)return 6e3;let{renderedVideoId:n}=(0,B.e0)({isPortrait:e,...r}),a=t[n]?.durationInSeconds;return a&&a<7?1e3*a:7e3}})(),Z=(0,c.d)("lt","s"),G=(0,m.Q)(Z),Q=(0,m.Q)("(prefers-reduced-motion: reduce)"),J=e?.some(e=>e?.controlOptions&&Object.keys(e.controlOptions).length>0)??!1,ee=e[y]?.colorTheme,{getActiveSlideVideoPlayer:et,pauseVideo:er,restartVideo:en,resumeVideo:ea,stopAllVideos:el,stopInactiveVideos:eo,isActiveSlideVideo:ei,updateFocusableElements:es,goToSlide:eu,goToNextSlide:ec,goToPrevSlide:ed,startAutoplay:ep,stopAutoplay:em}=(({carouselRef:e,currentTransformIndex:t,slides:r,activeSlideIndex:n,translations:l,isTransitioning:o,setIsTransitioning:i,setActiveSlideIndex:s,setCurrentTransformIndex:u,timerRef:c,timeLeftRef:d,isAutoPlaying:p,getSlideDelay:m,progressCircle:f,prefersReducedMotion:y,transitionTimeoutRef:g,setTransitionDirection:h})=>{let v=(0,a.useCallback)(()=>e.current?F(e.current.children[t]):null,[e,t]),b=(0,a.useCallback)(()=>{v()?.pause()},[v]),C=(0,a.useCallback)(()=>{(0,Y.N)(v())},[v]),x=(0,a.useCallback)(()=>{let e=v();e&&(e.currentTime(0),(0,Y.N)(e))},[v]),E=(0,a.useCallback)(()=>{if(!e.current)return;let n=r?.length||0;Array.from(e.current.children).forEach((e,r)=>{let a=r===t;0===r||r===n+1||a||U(F(e))})},[e,r?.length,t]),P=(0,a.useCallback)(()=>
1{e.current&&Array.from(e.current.children).forEach(e=>{U(F(e))})},[e]),O=(0,a.useCallback)(()=>r[n]?.containerType?.toUpperCase()==="VIDEO",[r,n]),k=(0,a.useCallback)(t=>{if(!e.current)return;let n=Array.from(e.current.children),a=r?.length||0;n.forEach((e,n)=>{let o=e?.querySelectorAll("a, button, input, textarea, select, details, [tabindex]:not(video, .vjs-poster, .video-js)"),i=0===n||n===a+1,s=!i&&n===t+1;if(o.forEach(e=>{e.setAttribute("tabindex",s?"0":"-1")}),e?.setAttribute("aria-hidden",!s),!i){let t=r[n-1],o=t?.containerType?.toUpperCase()==="VIDEO",i=t?.titleProps?.text,s=i?`: ${i}`:"",u=l.autoplaySlideNumber?.replace("{slideNum}",n)?.replace("{slidesTotalNum}",a)||`Slide ${n} of ${a}`,c=`${u}, ${o?"video":"image"}${s}`;e.setAttribute("aria-label",c)}})},[e,l,r]),A=(0,a.useCallback)(e=>{let a;if(o||!r?.length)return;g.current&&(clearTimeout(g.current),g.current=null),i(!0);let l=(e%r.length+r.length)%r.length;a=e===n+1?t+1:e===n-1?t-1:n===r.length-1&&0===e?t+1:0===n&&e===r.length-1?t-1:e+1;let p=null;a>t?p="next":a<t&&(p="prev"),h(p),s(l),u(a),W(c,d),f.current&&f.current.style.setProperty("--progress",0),g.current=setTimeout(()=>{a>=r.length+1?u(1):a<=0&&u(r.length),i(!1),h(null),k(l),g.current=null},1e3*!y)},[o,r,n,t,y,i,h,s,u,c,d,f,k,g]),j=(0,a.useCallback)(()=>{A(n+1)},[n,A]),T=(0,a.useCallback)(()=>{A(n-1)},[n,A]),S=(0,a.useCallback)(()=>{if(!p||o)return;let e=m(r[n])||6e3;W(c,d);let t=(f.current?parseFloat(f.current.style.getPropertyValue("--progress")||"0"):0)*e;c.current=setTimeout(()=>{p&&j()},Math.max(0,e-t));let a=performance.now()-t,l=()=>{let t=Math.max(0,e-(performance.now()-a));f.current&&f.current.style.setProperty("--progress",1-t/e),t>0&&(d.current=requestAnimationFrame(l))};d.current=requestAnimationFrame(l)},[p,o,n,r,m,j,c,d,f]);return{getActiveSlideVideoPlayer:v,goToNextSlide:j,goToPrevSlide:T,goToSlide:A,isActiveSlideVideo:O,pauseVideo:b,restartVideo:x,resumeVideo:C,startAutoplay:S,stopAllVideos:P,stopAutoplay:(0,a.useCallback)(()=>{W(c,d)},[c,d]),stopInactiveVideos:E,updateFocusableElements:k}})({activeSlideIndex:y,carouselRef:w,currentTransformIndex:O,getSlideDelay:q,isAutoPlaying:C,isTransitioning:E,prefersReducedMotion:Q,progressCircle:D,setActiveSlideIndex:g,setCurrentTransformIndex:k,setIsTransitioning:P,setTransitionDirection:L,slides:e,timeLeftRef:_,timerRef:N,transitionTimeoutRef:H,translations:s}),ef=(0,a.useCallback)(t=>{let r="next"===t?(y+1)%e.length:(y-1+e.length)%e.length;g(r),k(r+1),L(null),D.current&&D.current.style.setProperty("--progress",0);let n="next"===t?p.Z2.AUTOPLAY_NEXT_CLICK:p.Z2.AUTOPLAY_PREVIOUS_CLICK;u(d.o1.analyticsActions.track({eventName:n,[p.Sp.CLICK_ACTIVITY]:p.Rz[n]}))},[y,e.length,u]);(({containerRef:e,currentTransformIndex:t,activeSlideIndex:r,totalSlides:n,isTransitioning:l,isMobile:o,slidesFullControlsEnabled:i,isVideoFullMode:s,isAutoPlaying:u,prefersReducedMotion:c,transitionDuration:d,onSwipeComplete:p,onDragStart:m,onDragEnd:f})=>{let y=(0,a.useRef)();y.current={activeSlideIndex:r,currentTransformIndex:t,isAutoPlaying:u,isMobile:o,isTransitioning:l,isVideoFullMode:s,onDragEnd:f,onDragStart:m,onSwipeComplete:p,prefersReducedMotion:c,slidesFullControlsEnabled:i,totalSlides:n,transitionDuration:d};let g=(0,a.useRef)({isAnimating:!1,isDragging:!1,isHorizontal:null,startTime:0,startX:0,startY:0,wasAutoPlaying:!1}),h=(0,a.useRef)(null);(0,a.useEffect)(()=>{let t=e.current;if(!t)return;let r=()=>{h.current&&(clearTimeout(h.current),h.current=null)},n=(e,t=0)=>0===t?`translateX(-${100*e}%)`:`translateX(calc(-${100*e}% + ${t}px))`,a=e=>{let t=y.current,r=g.current;if(t.isVideoFullMode||!t.isMobile&&t.slidesFullControlsEnabled||t.isTransitioning||r.isAnimating||t.totalSlides<=1)return;let n=e.touches?.[0];n&&(r.startX=n.clientX,r.startY=n.clientY,r.startTime=performance.now(),r.isDragging=!0,r.isHorizontal=null,r.wasAutoPlaying=t.isAutoPlaying,t.isAutoPlaying&&t.onDragStart())},l=e=>{let r=g.current;if(!r.isDragging)return;let a=e.touches?.[0];if(!a)return;let l=a.clientX-r.startX,o=a.clientY-r.startY;if(null===r.isHorizontal){if(10>Math.sqrt(l*l+o*o))return;if(r.isHorizontal=Math.abs(l)>
1Math.abs(o),!r.isHorizontal){r.isDragging=!1,r.wasAutoPlaying&&y.current.onDragEnd();return}}e.preventDefault(),y.current.prefersReducedMotion||(t.style.transition="none",t.style.transform=n(y.current.currentTransformIndex,l))},o=e=>{let a=y.current,l=g.current;if(!l.isDragging)return;l.isDragging=!1;let o=e.changedTouches?.[0];if(!o){a.prefersReducedMotion||(t.style.transition="none",t.style.transform=n(a.currentTransformIndex)),l.wasAutoPlaying&&a.onDragEnd();return}let i=o.clientX-l.startX,s=Math.abs(i),u=Math.abs(o.clientY-l.startY),c=performance.now()-l.startTime,d=window.innerWidth,p=Math.max(30,Math.min(50,.1*d)),m=l.isHorizontal&&s>u&&(s>p||s/c>.5&&s>20),f=i<0?"next":"prev";if(m){if(a.prefersReducedMotion)return void a.onSwipeComplete(f);l.isAnimating=!0;let e="next"===f?a.currentTransformIndex+1:a.currentTransformIndex-1,o=Math.min(1,s/d),i=Math.max(200,a.transitionDuration*(1-o)),u=!1,c=()=>{u||(u=!0,r(),t.removeEventListener("transitionend",p),l.isAnimating=!1,t.style.transition="none",a.onSwipeComplete(f))},p=e=>{e.target===t&&"transform"===e.propertyName&&c()};t.addEventListener("transitionend",p),h.current=setTimeout(c,i+100),t.style.transition=`transform ${i}ms ease-out`,t.style.transform=n(e)}else if(!a.prefersReducedMotion&&l.isHorizontal){l.isAnimating=!0;let e=Math.min(300,Math.max(150,2*s)),o=!1,i=()=>{!o&&(o=!0,r(),t.removeEventListener("transitionend",u),l.isAnimating=!1,t.style.transition="",l.wasAutoPlaying&&a.onDragEnd())},u=e=>{e.target===t&&"transform"===e.propertyName&&i()};t.addEventListener("transitionend",u),h.current=setTimeout(i,e+100),t.style.transition=`transform ${e}ms ease-out`,t.style.transform=n(a.currentTransformIndex)}else l.wasAutoPlaying&&a.onDragEnd()},i=()=>{let e=g.current;e.isDragging&&(e.isDragging=!1,t.style.transition="none",t.style.transform=n(y.current.currentTransformIndex),e.wasAutoPlaying&&y.current.onDragEnd())};return t.addEventListener("touchstart",a,{passive:!0}),t.addEventListener("touchmove",l,{passive:!1}),t.addEventListener("touchend",o,{passive:!0}),t.addEventListener("touchcancel",i,{passive:!0}),()=>{t.removeEventListener("touchstart",a),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",o),t.removeEventListener("touchcancel",i),r()}},[e])})({activeSlideIndex:y,containerRef:w,currentTransformIndex:O,isAutoPlaying:C,isMobile:G,isTransitioning:E,isVideoFullMode:T,onDragEnd:ep,onDragStart:em,onSwipeComplete:ef,prefersReducedMotion:Q,slidesFullControlsEnabled:J,totalSlides:e.length,transitionDuration:1e3});let ey=(0,a.useCallback)(()=>{ed(),u(d.o1.analyticsActions.track({eventName:p.Z2.AUTOPLAY_PREVIOUS_CLICK,[p.Sp.CLICK_ACTIVITY]:p.Rz[p.Z2.AUTOPLAY_PREVIOUS_CLICK]}))},[ed,u]),eg=(0,a.useCallback)(()=>{ec(),u(d.o1.analyticsActions.track({eventName:p.Z2.AUTOPLAY_NEXT_CLICK,[p.Sp.CLICK_ACTIVITY]:p.Rz[p.Z2.AUTOPLAY_NEXT_CLICK]}))},[ec,u]),eh=(0,a.useCallback)(()=>{let e=!C;x(e),j(e?s.autoplayResumeButtonLabel||"Carousel autoplay resumed":s.autoplayPauseButtonLabel||"Carousel autoplay paused"),ei()&&(e?ea():er());let t=e?p.Z2.AUTOPLAY_PLAY:p.Z2.AUTOPLAY_PAUSE;u(d.o1.analyticsActions.track({eventName:t,[p.Sp.CLICK_ACTIVITY]:p.Rz[t]}))},[C,u,ei,ea,er,s]),ev=(0,a.useCallback)(t=>{T||("ArrowLeft"===t.key?(t.preventDefault(),ey()):"ArrowRight"===t.key?(t.preventDefault(),eg()):"Home"===t.key?(t.preventDefault(),eu(0)):"End"===t.key&&(t.preventDefault(),eu(e.length-1)))},[ey,eg,eu,e.length,T]),eb=(0,a.useCallback)(e=>{"pause"===e?(x(!1),S(!0),em()):"resume"===e&&(x(!0),S(!1),ei()&&en())},[em,ei,en]);(0,a.useEffect)(()=>{es(y),T&&S(!1);let t=y+1,r=e.length;j(s.slideChanged?.replace("{current}",t)?.replace("{total}",r)||`Slide ${t} of ${r}`)},[y,es,e.length,s]),(0,a.useEffect)(()=>{if(!ei())return;let e=setInterval(()=>{let t=et();t&&(clearInterval(e),(0,Y.N)(t))},100),t=setTimeout(()=>clearInterval(e),5e3);return()=>{clearInterval(e),clearTimeout(t)}},[]),(0,a.useEffect)(()=>{if(!E&&e?.length>0){eo();let e=M.current!==y;e&&ei()&&(C?ea():er()),e&&(M.current=y)}},[y,C,ei,E,er,ea,e?.length,eo]),(0,a.useEffect)(()=>(C&&!E?ep():em(),()=>{em()}),[C,y,E,ep,em]),(0,a.useEffect)(()=>{let t=e?.length??0;0!==t&&y>=t&&(H.current&&(clearTimeout(H.current),H.current=null),em(),g(0),k(1),P(!1),el(),M.current=0,D.current&&D.current.style.setProperty("--progress",0))},[e?.length,y,el,em]),(0,a.useEffect)(()=>()=>{el(),H.current&&(clearTimeout(H.current),H.current=null)},[el]);let eC=(0,i.A)(f.autoplayCarousel,{[f.dark]:ee===h.zG.DARK,[f.transitioning]:E});return(0,n.jsxs)("div",{className:eC,id:`carousel-${r}`,role:"region","aria-label":s.autoplayCarousel||"Autoplay Carousel",onKeyDown:ev,children:[(0,n.jsx)("div",{className:f.slidesContainer,ref:w,style:{transform:`translateX(-${100*O}%)`,transition:E&&!Q?"transform 1000ms ease-in-out":"none"},children:e&&e.length>0&&[...e.slice(-1).map(a=>{let o=e.length-1,s=a?.id??`slide-${o}`;return(0,n.jsx)("div",{className:(0,i.A)(f.slide,{[f.parallaxNext]:E&&"next"===I&&0===O&&!Q,[f.parallaxPrev]:E&&"prev"===I&&0===O&&!Q}
1),"data-slide-delay":q(a),"aria-hidden":"true",children:(0,n.jsx)(b,{...a,cardId:r,index:o,analyticsItemId:`${t}_${o+1}`,itemCount:e.length,collectionId:t,hashKey:a.hashKey||l,onAutoplayControl:eb})},`duplicate-last-${s}`)}),...e.map((a,o)=>{let u=q(a),c=a?.containerType?.toUpperCase()==="VIDEO",d=a?.titleProps?.text,p=d?`: ${d}`:"",m=a?.id??`slide-${o}`,g=o+1,h=s.autoplaySlideNumber?.replace("{slideNum}",g)?.replace("{slidesTotalNum}",e.length)||`Slide ${g} of ${e.length}`,v=`${h}, ${c?"video":"image"}${p}`;return(0,n.jsx)("div",{className:(0,i.A)(f.slide,{[f.parallaxNext]:E&&"next"===I&&o+1===O&&!Q,[f.parallaxPrev]:E&&"prev"===I&&o+1===O&&!Q}),"data-slide-delay":u,role:"group","aria-label":v,"aria-hidden":o!==y,children:(0,n.jsx)(b,{...a,cardId:r,index:o,analyticsItemId:`${t}_${o+1}`,itemCount:e.length,collectionId:t,hashKey:a.hashKey||l,onAutoplayControl:eb})},m)}),...e.slice(0,1).map(a=>{let o=a?.id??"slide-0";return(0,n.jsx)("div",{className:(0,i.A)(f.slide,{[f.parallaxNext]:E&&"next"===I&&O===e.length+1&&!Q,[f.parallaxPrev]:E&&"prev"===I&&O===e.length+1&&!Q}),"data-slide-delay":q(a),"aria-hidden":"true",children:(0,n.jsx)(b,{...a,cardId:r,index:0,analyticsItemId:`${t}_1`,itemCount:e.length,collectionId:t,hashKey:a.hashKey||l,onAutoplayControl:eb})},`duplicate-first-${o}`)})]}),!T&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:f.controls,children:[(0,n.jsx)(z,{colorTheme:ee,isAutoPlaying:C,progressCircleRef:D,onPlayPauseClick:eh,translations:s}),!G&&(0,n.jsx)(R,{colorTheme:ee,onPrevClick:ey,onNextClick:eg,translations:s})]}),(0,n.jsx)($,{slides:e,activeSlideIndex:y,onSlideClick:eu,paginationLabel:`${s.autoplayCarousel} ${s.paginationTitle}`})]}),(0,n.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",style:X,children:A})]})};H.propTypes={analyticsItemId:u().string,cardId:u().string,hashKey:u().string,slides:u().arrayOf(u().shape(h.vc)),translations:u().objectOf(u().string)}}}]);
2//# sourceMappingURL=739.9426a0c8c563acde.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.