1"use strict";(globalThis.webpackChunknikon_client=globalThis.webpackChunknikon_client||[]).push([[586],{89993(e,t,a){a.d(t,{A:()=>c});var n=a(36223),i=a(97500),r=a.n(i),o=a(82008);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}const c=({children:e,className:t,dataTestId:a,disabled:i=!1,editHint:c,hasCustomStyling:s,icon:d,iconSize:m="18px",interactionTheme:u="grey-600",isLightMode:g,link:h,secondary:y=!1,secondaryBackgroundClassName:p="bg-transparent",tabIndex:b,theme:v="yellow",linkCallback:f,onFocus:k,...w})=>{const N="black"===v,x="red"===v,A=r()("text-black-100",{"group-hover:text-white group-focus:text-white group-active:text-white":y&&(N||x)}),E=(0,o.h)({className:t,disabled:i,hasCustomStyling:s,icon:d,interactionTheme:u,isLightMode:g,secondary:y,secondaryBackgroundClassName:p,theme:v});return h?.url&&(h?.name||e)&&!i?React.createElement("a",l({},w,{className:E,href:h.url,target:h.target,"data-epi-property-name":c,onClick:f,"data-testid":a,onFocus:k,tabIndex:b},"download"===d&&{download:h.url}),e||h.name,d&&React.createElement(n.A,{name:d,className:A,size:m})):React.createElement("button",l({},w,{className:E,disabled:i,"data-epi-property-name":c,"data-testid":a,onFocus:k,tabIndex:b}),e,d&&React.createElement(n.A,{name:d,className:"ml-2",colorClassName:A,size:m}))}},82008(e,t,a){a.d(t,{h:()=>r});var n=a(97500),i=a.n(n);const r=({className:e,disabled:t=!1,hasCustomStyling:a,icon:n,interactionTheme:r="grey-600",isLightMode:o,secondary:l=!1,secondaryBackgroundClassName:c="bg-transparent",theme:s="yellow"})=>{const d="yellow"===s,m="black"===s,u="red"===s;return i()({"bg-yellow py-1 px-4 text-black-100 hover:bg-yellow-100 focus:bg-yellow-500 active:bg-yellow-500":!a&&!t&&!l&&d,[`${c} border border-yellow py-[3px] px-[15px] text-black-100 hover:border-yellow-100 hover:bg-yellow-100 hover:text-black-100 focus:border-yellow-500 focus:bg-yellow-500 active:border-yellow-500 active:bg-yellow-500 ${o?"":"dark:text-white dark:hover:text-black-100 dark:focus:text-black-100 dark:active:text-black-100"}`]:!a&&!t&&l&&d,[`bg-black-100 py-1 px-4 text-white ${{"grey-250":"hover:bg-grey-250 focus:bg-grey-250 active:bg-grey-250","grey-600":"hover:bg-grey-600 focus:bg-grey-600 active:bg-grey-600"}[r]}`]:!a&&!t&&!l&&m,"border border-black-100 bg-transparent px-[15px] py-[3px] text-black-100 hover:bg-black-100 hover:text-white focus:bg-black-100 focus:text-white active:bg-black-100 active:text-white":!a&&!t&&l&&m,"border border-red-100 bg-transparent px-[15px] py-[3px] text-black-100 hover:bg-red-100 hover:text-white focus:bg-red-100 focus:text-white active:bg-red-100 active:text-white":!a&&!t&&l&&u,"bg-grey text-grey-500 py-1 px-4":t,"flex items-center w-fit group":n},"cta rounded-full inline-block min-h-min select-none",e)}},76439(e,t,a){a.d(t,{A:()=>d});var n=a(36223),i=a(30808),r=a(4586),o=a(97500),l=a.n(o),c=a(59471);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},s.apply(null,arguments)}const d=({ariaHidden:e,children:t,classes:a,dataTestId:o,epiEdit:d,fallbackSize:m,image:u,imageClasses:g,imageRef:h,lazyLoad:y=!0,progressiveLoad:p=!0,showFallback:b,sizes:v=""})=>{const f=u?.mobile,k=u?.tablet,w=u?.desktop,N=u?.largeDesktop,x=(0,r.A)(),[A,E]=(0,c.useState)(!1);if(!w?.url&&!b)return null;const T={[i.A.Small]:f,[i.A.Medium]:k,[i.A.Large]:w,[i.A.XLarge]:N};return b&&!w?.url?React.createElement("div",{className:l()(a,"flex items-center justify-center")},React.createElement(n.A,{ariaHidden:!0,className:l()(g,"motion-safe:transition motion-safe:duration-500 motion-safe:ease-in-out"),name:"image-outline",size:m??"100%"}),t):React.createElement("picture",{className:l()(a)},React.createElement("source",{type:"image/webp",sizes:v,srcSet:`${f?.url} 376w, ${k?.url} 768w, ${w?.url} 1024w, ${N?.url} 1440w`}),React.createElement("img",s({ref:h,alt:u?.altText?.length?u?.altText:"nikon-image","aria-hidden":e,className:l()(g,"motion-safe:transition motion-safe:duration-500 motion-safe:ease-in-out"),"data-epi-property-name":d,draggable:"false",loading:y?"lazy":"eager",onLoad:()=>{E(!0)},sizes:v,src:A&&p?T[x]?.url:f?.url,height:T[x]?.height,width:T[x]?.width,srcSet:`${f?.originalUrl} 376w, ${k?.originalUrl} 768w, ${w?.originalUrl} 1024w, ${N?.originalUrl} 1440w`},o&&{"data-testid":o})),A&&t)}},11661(e,t,a){a.d(t,{A:()=>c});var n=a(47976),i=a(73359),r=a(97500),o=a.n(r);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}const c=({fromPriceLabel:e,pricingData:t,vatLabel:a,shippingLabel:r,rrpLabel:c,centerText:s=!1,smallText:d=!1,containerClassName:m,containerFontSize:u="body-one",taxesAnimationProps:g={}
1,taxesTopMarginClassName:h="mt-2",taxesClassName:y,taxesFontSize:p="body-four",priceClassName:b,dataTestId:v,isLightMode:f})=>{const{initialPriceAriaLabel:k,currentPriceAriaLabel:w}=(0,i.A)(),{amountSaved:N,formattedPrice:x,formattedCalculatedPrice:A,shippingCost:E,price:T}=t;if("number"!=typeof T)return null;const S=N>0&&!!x,R=[!S&&e,S&&c,S&&`${k} ${x},`,S&&A&&w,A].filter(Boolean).join(" ")||void 0;return React.createElement("div",{className:o()(m,d?"body-two font-light":u,{"flex flex-col items-center":s}),"data-testid":v},(S||A)&&React.createElement("div",{role:"group",className:o()("flex flex-wrap gap-x-2",{"justify-center":s}),"aria-label":R},e&&React.createElement("span",{"aria-hidden":"true"},e),S&&React.createElement(React.Fragment,null,c&&React.createElement("span",{"aria-hidden":"true",className:"mr-2"},c),React.createElement("span",{"aria-hidden":"true",className:"font-extralight line-through decoration-1","data-testid":"Price-Display-Text-Discount-Price"},x)),A&&React.createElement("span",{"aria-hidden":e||S?"true":void 0,className:o()({"font-normal":!d,"text-grey-450":N>0,"dark:text-yellow":N>0&&!f},b),"data-testid":"Price-Display-Text-Price"},A)),(a||!E&&r)&&React.createElement(n.A,l({tag:"p"},g,{className:o()(y,p,"block",{[`${h}`]:!d,"text-center":s}),"data-testid":"Price-Display-Text-VAT/Shipping"}),a&&a,a&&!E&&r&&" + ",!E&&r&&r))}},29609(e,t,a){a.d(t,{A:()=>o});var n=a(36223),i=a(97500),r=a.n(i);const o=({className:e,editHint:t,link:a,dataTestId:i="Return-Link"})=>React.createElement("a",{href:a.url,className:r()(e,"body-two group flex flex-row items-center gap-x-1 text-black-100 hover:text-grey-500 dark:text-white dark:hover:text-yellow"),"data-epi-property-name":t,"data-testid":i},React.createElement(n.A,{name:"chevron_right",className:"-translate-x-2 rotate-180",colorClassName:"text-black-100 group-hover:text-grey-500 dark:text-white dark:group-hover:text-yellow"}),a.name)},24219(e,t,a){a.d(t,{A:()=>h});var n=a(47976),i=a(33063),r=a(59471);const o=(e,t,a,n=!1)=>{const[i,o]=(0,r.useState)(!1),l=(0,r.useRef)({top:0,y:0});(0,r.useEffect)(()=>{const r=e.current;r?.clientWidth&&(r.style.cursor=t>=a||n?"inherit":i?"grabbing":"grab")},[t,a,i,n]),(0,r.useEffect)(()=>{l.current={top:0,y:0};const t=e.current;if(!t)return()=>({});if(n)return t.scrollTop=0,()=>({});const a=e=>{const a=e.clientY-l.current.y;t.scrollTop=l.current.top-a},i=()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i),o(!1)},r=e=>{l.current={top:t.scrollTop,y:e.clientY},o(!0),document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)};return t.addEventListener("mousedown",r),()=>{t.removeEventListener("mousedown",r)}},[n])};var l=a(14365),c=a(11866),s=a(65215);const d=(e,t,a,n=!1)=>{const{scrollYProgress:i}=(0,c.L)({container:e}),[o,d]=(0,r.useState)(!0),[m,u]=(0,r.useState)(!1),[g,h]=(0,r.useState)(l.A.Start),y=.05;return(0,s.L)(i,"change",e=>{e<y&&h(l.A.Start),e>=y&&e<=.95&&h(l.A.Middle),e>.95&&h(l.A.End)}),(0,r.useEffect)(()=>{if(t&&!n){if(t>=a)return d(!0),void u(!0);g===l.A.Start&&(d(!0),u(!1)),g===l.A.Middle&&(d(!1),u(!1)),g===l.A.End&&u(!0)}},[n,g,t,a]),{isStart:o,isEnd:m}};var m=a(97500),u=a.n(m),g=a(34629);const h=({children:e,className:t,customScrollbarTheme:a,disableScroll:l=!1,hasDefaultHeightClass:c=!0,hideScrollbar:s=!0,ref:m,shadowColour:h="from-white dark:from-black-100",shadowHeight:y="h-10"})=>{const p=(0,r.useRef)(null),[b,{height:v}]=(0,i.A)(),[f,{height:k}]=(0,i.A)(),{isStart:w,isEnd:N}=d(p,v,k,l);o(p,v,k,l),(0,r.useImperativeHandle)(m,()=>({scrollTo:(e,t="smooth")=>{p.current?.scrollTo({top:e,behavior:t})}}));const x=(0,r.useCallback)(e=>{p.current=e,b(e)},[b]);return React.createElement("div",{className:u()(t,"relative",{"h-full":c})},React.createElement(g.N,null,!w&&!l&&React.createElement(n.A,{tag:"span",animate:{opacity:1},className:u()(h,y,"pointer-events-none absolute top-0 z-10 w-full bg-gradient-to-b to-transparent"),exit:{opacity:0},initial:{opacity:0}
1,transition:{duration:.25},"aria-hidden":"true"})),React.createElement("div",{ref:x,tabIndex:0,className:u()({"scrollbar-hide":s,"overflow-y-hidden":l,"overflow-y-auto":!l,"custom-scrollbar":!l&&a,"custom-scrollbar--light":"light"===a,"custom-scrollbar--dark":"dark"===a},"relative h-full select-none"),role:"presentation"},React.createElement("div",{ref:f},e)),React.createElement(g.N,null,!N&&!l&&React.createElement(n.A,{tag:"span",animate:{opacity:1},className:u()(h||"from-white dark:from-black-100",y,"pointer-events-none absolute bottom-0 z-10 w-full bg-gradient-to-t to-transparent"),exit:{opacity:0},initial:{opacity:0},transition:{duration:.25},"aria-hidden":"true"})))}},60586(e,t,a){a.d(t,{A:()=>E});var n=a(89993),i=a(36223),r=a(76439),o=a(47976),l=a(11661),c=a(29609),s=a(44578),d=a(24219),m=a(44528),u=a(98190),g=a(39970),h=a(78195),y=a(20315),p=a(66665),b=a(51852),v=a(73359),f=a(28885),k=a(33063),w=a(97500),N=a.n(w),x=a(34629),A=a(59471);const E=({title:e,subTitle:t,vatLabel:a,shippingLabel:w,thumbnail:E,icon:T,buyNowLink:S,anchorNavigationItems:R,ctaLinks:C,pricingData:L,fromPriceLabel:P,navPosition:H=g.A.Top,returnLink:B,backgroundColour:I=u.A.Black,showReturnLinkMobileOnly:$,shouldHavePadding:_})=>{const[z,D]=(0,A.useState)(!1),[M,O]=(0,A.useState)(!1),W=(0,f.A)(1024),U=!(0,f.A)(1024,m.A.Screen)&&W,j=(0,f.A)(1440),[F,{clientHeight:Y}]=(0,k.A)(),V=(0,A.useRef)(null),G=(0,A.useRef)(null),q=(0,A.useRef)(null),[X,J]=(0,A.useState)(I),{setStickyNavPosition:K}=(0,y.A)(e=>({setStickyNavPosition:e.setStickyNavPosition})),{setStickyNavigationTopHeight:Q,setStickyNavigationBottomHeight:Z}=(0,h.A)(e=>({setStickyNavigationTopHeight:e.setStickyNavigationTopHeight,setStickyNavigationBottomHeight:e.setStickyNavigationBottomHeight})),{closeModalAriaLabel:ee,openMenuAriaLabel:te}=(0,v.A)(),{activeAnchorId:ae,scrollTo:ne}=(0,b.A)({items:R,stickToBottom:M}),ie={[u.A.Grey]:"#1F191A",[u.A.Black]:"#0A0203"};(0,A.useEffect)(()=>{Q(M?0:Y),Z(M?Y:0)},[M,Y,Q,Z]),(0,A.useEffect)(()=>{j||D(!1)},[j]);const re=C?[]:R.filter(e=>e.primary||e.secondary).slice(0,2),oe=C?R.map(e=>({...e,primary:!1,secondary:!1})):R.filter(e=>!e.primary&&!e.secondary),le=[...oe,...2===re.length?re:[]],ce=C?.links.filter(e=>e.link.url&&e.link.name).slice(0,2)??[],se=()=>{setTimeout(()=>D(!1),750)};return(0,A.useEffect)(()=>{if(!V?.current)return;new IntersectionObserver(([e])=>{const t=1===e?.intersectionRatio?I:u.A.Black;J(t)},{threshold:1}).observe(V.current)},[I]),(0,A.useEffect)(()=>{if(!M||U)return;const e=document.getElementById("ProductNavigation");e&&(W?(document.documentElement.style.setProperty("padding-bottom",Y-1+"px"),e.classList.remove("sticky","top-0"),e.classList.add("fixed","bottom-0","w-full"),e.style.top="auto"):(document.documentElement.style.removeProperty("padding-bottom"),"auto"===e.style.top&&(e.style.top=""),e.classList.add("sticky","top-0"),e.classList.remove("fixed","bottom-0","w-full")))},[M,W,Y,U]),(0,A.useEffect)(()=>{O(H===g.A.Bottom&&!!W&&!U),K(H)},[H,K,W,U]),(0,A.useEffect)(()=>{if(!q.current||!G.current)return;const e=G.current?.querySelector('a[data-nav-active="true"]');if(e){const t=q.current.getOffsetWidth(),a=e.offsetLeft+e.clientWidth/2-t/2;q.current.scrollTo(a)}},[]),React.createElement(o.A,{ref:e=>{V.current=e,F(e)},initial:{backgroundColor:ie[I]},animate:{backgroundColor:ie[X]},className:N()({"pt-20":0===R.length},"dark relative z-10 flex min-h-[76px] flex-row items-center px-5 py-7.5 xl:px-7.5 xl:py-6",{"mb-7.5 lg:mb-24":_}),"data-testid":"CT-06-Sticky-Navigation"},B?.name&&B?.url&&React.createElement("div",{className:N()("pointer-events-none absolute left-0 flex px-5 lg:px-7",{"xl:hidden":$})},React.createElement("span",{className:"pointer-events-auto"},React.createElement(c.A,{link:B,dataTestId:"CT-06-Sticky-Navigation-Return-Link"}))),S?.name&&React.createElement("div",{className:"flex w-1/2 flex-col items-start text-white md:flex-row md:items-center xl:w-1/3"},E&&React.createElement(r.A,{image:E,imageClasses:"md:mr-7.5 w-20 object-contain hidden md:block",sizes:"300px",dataTestId:"CT-06-Sticky-Navigation-Thumbnail"}),React.createElement("div",{className:"md:pr-7.5"},T?React.createElement(r.A,{image:T,imageClasses:"w-7.5 mb-2",sizes:"300px",dataTestId:"CT-06-Sticky-Navigation-Icon"}):React.createElement("p",{className:"body-two","data-testid":"CT-06-Sticky-Navigation-Title"},e),t&&React.createElement("p",{className:"body-four hidden md:block","data-testid":"CT-06-Sticky-Navigation-Subtitle"},t)),L?.formattedCalculatedPrice&&React.createElement("div",{className:"mt-2 border-white md:mt-0 md:border-l md:pl-7.5"},React.createElement(l.A,{pricingData:L,vatLabel:a,shippingLabel:w,fromPriceLabel:P,smallText:!0,dataTestId:"CT-06-Sticky-Navigation-Price-Display-Text"}))),React.createElement("div",{className:"ml-auto flex h-full w-1/2 select-none items-center justify-end xl:w-2/3","data-testid":"CT-06-Sticky-Navigation-Nav-Item-Container"},React.createElement(o.A,{className:"flex h-full overflow-hidden",initial:{opacity:0}
1,animate:{opacity:1}},React.createElement(s.A,{shadowColour:I===u.A.Black?"from-black-100":"from-grey-600",className:"flex w-full justify-end",threshold:.01,hasTabbableNestedItems:!0},React.createElement("div",{className:"flex"},oe.map((e,t)=>React.createElement("div",{key:e.anchor,className:"hidden shrink-0 text-white xl:block","data-testid":`CT-06-Sticky-Navigation-Non-CTA-Nav-Item-${t}`},React.createElement("button",{type:"button",onClick:()=>{ne(`a-${e.anchor}`),L?.formattedCalculatedPrice?(0,p.A)({event:"menuUsed",content_type:"pdp_menu",main_category:e.title}):(0,p.A)({event:"menuUsed",content_type:"anchor_menu",main_category:e.title})},className:N()({"border-yellow border-b text-yellow":e.anchor===ae},"body-two ml-7.5 hover:text-grey-500 motion-safe:transition-all motion-safe:duration-100"),"data-testid":`CT-06-Sticky-Navigation-Non-CTA-Nav-Item-${t}-Button`},e.title)))))),(le.length>0||2===ce.length)&&React.createElement("div",{className:"flex items-center xl:hidden"},React.createElement("div",{className:"mr-5 flex h-9 w-9 items-center justify-center rounded-full border border-yellow bg-grey-600"},React.createElement(o.A,{tag:"button",animate:{rotate:z?180:0},type:"button",onClick:()=>D(!z),"aria-label":z?ee:te,"data-testid":"CT-06-Sticky-Navigation-Dropdown-Button"},React.createElement(i.A,{name:"caret_down",colorClassName:"text-yellow",className:M?"rotate-180":""})))),re.map((e,t)=>React.createElement("div",{className:N()("ml-7.5 shrink-0",{"hidden xl:block":2===re.length}),key:e.anchor,"data-testid":`CT-06-Sticky-Navigation-CTA-Nav-Item-${t}`},React.createElement(n.A,{className:"min-h-min",onClick:()=>ne(`a-${e.anchor}`),secondary:!e.primary&&e.secondary,linkCallback:()=>{(0,p.A)({event:"menuUsed",content_type:"anchor_menu",main_cta:e.title})},dataTestId:`CT-06-Sticky-Navigation-CTA-Nav-Item-${t}-Button`},e.title))),ce.map((e,t)=>React.createElement("div",{className:N()("ml-7.5 shrink-0",{"hidden xl:block":2===ce.length}),key:`${e.link.name} - ${e.link.url}`,"data-testid":`CT-06-Sticky-Navigation-Displayed-CTA-Link-${t}`},React.createElement(n.A,{className:"min-h-min",link:e.link,secondary:e.secondary,linkCallback:()=>{(0,p.A)({event:"menuUsed",content_type:"anchor_menu",main_cta:e.link.name})},"data-testid":`CT-06-Sticky-Navigation-Displayed-CTA-Link-${t}-Button`}))),S?.name&&S.url&&React.createElement("div",{className:"flex items-center"},React.createElement(n.A,{link:S,linkCallback:()=>{(0,p.A)({event:"menuUsed",content_type:"pdp_menu",main_cta:S.name})},dataTestId:"CT-06-Sticky-Navigation-Buy-Now-Link",className:"text-center lg:ml-5 xl:ml-7.5"}))),React.createElement(x.N,null,z&&React.createElement(o.A,{key:"menu",initial:{translateY:M?20:-20,opacity:0},animate:{translateY:0,opacity:1},exit:{translateY:M?20:-20,opacity:0},transition:{duration:.5,ease:[.74,0,.19,1.02]},className:N()(M?"bottom-full":"top-full","absolute left-0 z-0 w-full"),"data-testid":"CT-06-Sticky-Navigation-Dropdown"},React.createElement(d.A,{className:"flex max-h-60 flex-col gap-y-7.5 bg-white shadow-lg sm:max-h-80",shadowColour:"from-white",shadowHeight:"h-16 sm:h-20"},React.createElement("ul",{className:"flex flex-col gap-y-7.5 px-5 py-7.5"},le.map((e,t)=>React.createElement("li",{key:e.anchor},e.primary||e.secondary?React.createElement(n.A,{className:"min-h-min",link:{name:e.title,url:`#a-${e.anchor}`,target:""},linkCallback:se,secondary:!e.primary&&e.secondary,isLightMode:!0,dataTestId:`CT-06-Sticky-Navigation-Dropdown-Button-${t}`}):e.title&&React.createElement("button",{type:"button",onClick:()=>{ne(`a-${e.anchor}`),se(),L?.formattedCalculatedPrice?(0,p.A)({event:"menuUsed",content_type:"pdp_menu",main_category:e.title}):(0,p.A)({event:"menuUsed",content_type:"anchor_menu",main_category:e.title})},className:N()({"border-yellow border-b-2":e.anchor===ae},"body-three font-light text-black-100"),"data-testid":`CT-06-Sticky-Navigation-Dropdown-Item-${t}`},e.title))),2===ce.length&&ce.map((e,t)=>React.createElement("li",{key:`${e.link.name} - ${e.link.url}`},React.createElement(n.A,{className:"min-h-min",link:e.link,linkCallback:se,isLightMode:!0,secondary:e.secondary,dataTestId:`CT-06-Sticky-Navigation-Dropdown-Displayed-CTA-Link-${t}`}))))))))}},30808(e,t,a){a.d(t,{A:()=>i});var n=function(e){return e.Small="sm",e.Medium="md",e.Large="lg",e.XLarge="xl",e}(n||{});const i=n},44528(e,t,a){a.d(t,{A:()=>i});
1var n=function(e){return e.Screen="Screen",e.Viewport="Viewport",e}(n||{});const i=n},98190(e,t,a){a.d(t,{A:()=>i});var n=function(e){return e.Black="black",e.Grey="grey",e.OffWhite="off-white",e.ShadowGrey="shadow-grey",e.Yellow="yellow",e}(n||{});const i=n},39970(e,t,a){a.d(t,{A:()=>i});var n=function(e){return e.Top="top",e.Bottom="bottom",e}(n||{});const i=n},78195(e,t,a){a.d(t,{A:()=>n});const n=(0,a(44285).A)(e=>({siteNotificationsHeight:0,USPsStripHeight:0,stickyBuyBarHeight:0,tabbedProductNavigationTopHeight:0,tabbedProductNavigationBottomHeight:0,stickyNavigationTopHeight:0,stickyNavigationBottomHeight:0,setSiteNotificationsHeight:t=>e({siteNotificationsHeight:t}),setUSPsStripHeight:t=>e({USPsStripHeight:t}),setStickyBuyBarHeight:t=>e({stickyBuyBarHeight:t}),setTabbedProductNavigationTopHeight:t=>e({tabbedProductNavigationTopHeight:t}),setTabbedProductNavigationBottomHeight:t=>e({tabbedProductNavigationBottomHeight:t}),setStickyNavigationTopHeight:t=>e({stickyNavigationTopHeight:t}),setStickyNavigationBottomHeight:t=>e({stickyNavigationBottomHeight:t})}))},20315(e,t,a){a.d(t,{A:()=>i});var n=a(39970);const i=(0,a(44285).A)(e=>({stickyNavPosition:n.A.Top,setStickyNavPosition:t=>e({stickyNavPosition:t})}))},80552(e,t,a){a.d(t,{A:()=>i});var n=a(42926);const i=()=>{const e=Math.abs(window.outerWidth-window.innerWidth)<=50?1:Number((window.outerWidth/window.innerWidth).toFixed(2));return n.gm&&!n.Fr?window.devicePixelRatio:e}},51852(e,t,a){a.d(t,{A:()=>l});var n=a(44528),i=a(59471),r=a(92231),o=a(28885);const l=({items:e,stickToBottom:t})=>{const a=(0,o.A)(1024),l=!(0,o.A)(1024,n.A.Screen)&&a,[c,s]=(0,i.useState)(""),d=(0,r.A)(c,250),m=(0,i.useCallback)(()=>e.map(e=>`#a-${e.anchor}`),[e]),u=(0,i.useCallback)(()=>{const e=m();if(0===e.length)return;const t=document.querySelectorAll(e.toString()),a=new IntersectionObserver(e=>{const t=e.filter(e=>e.isIntersecting);let a;if(1===t.length&&(a=t.at(0)),t.length>1){let e;t.forEach(t=>{e||(e=t),t.intersectionRatio>=e?.intersectionRatio&&(e=t)}),a=e}s(a?.target.id.split("-")[1]||"")},{rootMargin:"-30% 0% -30% 0%",threshold:[0,.25,.5,.75,1]});t.forEach(e=>{a.observe(e)})},[m]);return(0,i.useEffect)(()=>(window.addEventListener("scroll",u),u(),()=>window.removeEventListener("scroll",u)),[u]),(0,i.useEffect)(()=>{["ProductNavigation","AnchorMenu"].forEach(e=>{document.getElementById(e)?.classList[l?"remove":"add"]("sticky")})},[l]),{scrollTo:e=>{const n=document.getElementById(e);if(!n)return;const i=Array.from(document.querySelectorAll('img[loading="lazy"]')).filter(e=>n.compareDocumentPosition(e)===Node.DOCUMENT_POSITION_PRECEDING);i.forEach(e=>{e.setAttribute("loading","eager")});const r=0===i.length?0:a?400:300;setTimeout(()=>{const e=(n?.getBoundingClientRect().top||0)+window.scrollY+(()=>{const e=document.getElementById("AnchorMenu"),a=document.getElementById("ProductNavigation"),n=document.getElementById("SiteNotifications");return-20-(e&&"sticky"===getComputedStyle(e).position?e.clientHeight:0)-(a&&!t&&"sticky"===getComputedStyle(a).position?a.clientHeight:0)-(n?.parentElement?.parentElement&&"sticky"===getComputedStyle(n.parentElement?.parentElement).position?n.clientHeight:0)})();window.scrollTo({top:e,behavior:"smooth"})},r)},activeAnchorId:d}}},4586(e,t,a){a.d(t,{A:()=>c});var n=a(30808),i=a(44528),r=a(80552),o=a(59471);const l=e=>{const t=768,a=1024,o=1440,l=(0,r.A)(),c=e===i.A.Viewport?window.innerWidth:window.innerWidth*l;return c<t?n.A.Small:c>=t&&c<a?n.A.Medium:c>=a&&c<o?n.A.Large:n.A.XLarge},c=(e=i.A.Viewport)=>{const[t,a]=(0,o.useState)(),n=(0,o.useCallback)(()=>a(l(e)),[e]);return(0,o.useEffect)(()=>(window.addEventListener("resize",n),a(l(e)),()=>{window.removeEventListener("resize",n)}),[n,e]),t}},92231(e,t,a){a.d(t,{A:()=>i});var n=a(59471);const i=(e,t)=>{const[a,i]=(0,n.useState)(e);return(0,n.useEffect)(()=>{const a=setTimeout(()=>i(e),t||500);return()=>{clearTimeout(a)}},[e,t]),a}},28885(e,t,a){a.d(t,{A:()=>o});var n=a(44528),i=a(80552),r=a(59471);const o=(e,t=n.A.Viewport)=>{const[a,o]=(0,r.useState)(),l=(0,r.useCallback)(()=>{const a=(0,i.A)(),r=t===n.A.Viewport?window.innerWidth:window.innerWidth*a;o(r<e)},[e,t]);return(0,r.useEffect)(()=>(window.addEventListener("resize",l),l(),()=>{window.removeEventListener("resize",l)}),[l]),a}},33063(e,t,a){a.d(t,{A:()=>i});var n=a(59471);const i=()=>
1{const e=(0,n.useRef)(void 0),[t,a]=(0,n.useState)({width:0,height:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0}),i=(0,n.useCallback)(e=>{if(!Array.isArray(e))return;const t=e[0];a({width:t?.contentRect.width??0,height:t?.contentRect.height??0,clientWidth:t?.target.clientWidth??0,clientHeight:t?.target.clientHeight??0,scrollWidth:t?.target.scrollWidth??0,scrollHeight:t?.target.scrollHeight??0})},[]);return[(0,n.useCallback)(t=>{e.current&&!t&&(e.current.disconnect(),e.current=void 0),!e.current&&t&&(e.current=new ResizeObserver(i),e.current.observe(t))},[i]),t]}}}]); 2//# sourceMappingURL=586-5e1c592f651674a5fafe.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.