PageSourceSearch

https://www.nikon.fr/dist-client/TabbedFlipboardMediaCard-Chunk-3d66d168c3455fe99f05.js

js nikon.fr collected 2026-09-24 17:53:05 UTC 22,002 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunknikon_client=globalThis.webpackChunknikon_client||[]).push([[76,480,956,1162,1908,2933,3337,3813,4450,5314,5566,5718,5924,6194,6702,6813,7695,8099,8575,8781,9527],{11183(e,t,n){n.d(t,{A:()=>u});var a=n(13889),r=n(26640),o=n(48210),i=n(97500),s=n.n(i),l=n(59471);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(null,arguments)}const u=({children:e,classes:t,dataTestId:n,epiEdit:i,fallbackSize:u,image:d,imageClasses:p,imageRef:m,lazyLoad:f=!0,progressiveLoad:b=!0,showFallback:h,sizes:v=""})=>{const g=d?.mobile,y=d?.tablet,A=d?.desktop,w=d?.largeDesktop,L=(0,o.A)(),[S,E]=(0,l.useState)(!1);if(!A?.url&&!h)return null;const P={[r.A.Small]:g,[r.A.Medium]:y,[r.A.Large]:A,[r.A.XLarge]:w};return h&&!A?.url?React.createElement("div",{className:s()(t,"flex items-center justify-center")},React.createElement(a.A,{ariaHidden:!0,className:s()(p,"motion-safe:transition motion-safe:duration-500 motion-safe:ease-in-out"),name:"image-outline",size:u??"100%"}),e):React.createElement("picture",{className:s()(t)},React.createElement("source",{type:"image/webp",sizes:v,srcSet:`${g?.url} 376w, ${y?.url} 768w, ${A?.url} 1024w, ${w?.url} 1440w`}),React.createElement("img",c({ref:m,alt:d?.altText?.length?d?.altText:"nikon-image",className:s()(p,"motion-safe:transition motion-safe:duration-500 motion-safe:ease-in-out"),"data-epi-property-name":i,draggable:"false",loading:f?"lazy":"eager",onLoad:()=>{E(!0)},sizes:v,src:S&&b?P[L]?.url:g?.url,height:P[L]?.height,width:P[L]?.width,srcSet:`${g?.originalUrl} 376w, ${y?.originalUrl} 768w, ${A?.originalUrl} 1024w, ${w?.originalUrl} 1440w`},n&&{"data-testid":n})),S&&e)}},64363(e,t,n){n.d(t,{A:()=>u});const a=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),r=(e,t)=>Object.entries(e).reduce((e,[t,n])=>("duration"!==t&&"delay"!==t||"number"!=typeof n?a(n)?e[t]=r(n,t):e[t]=n:e[t]=0,e),{..."transition"===t?{duration:0}:{}}),o=e=>{const t=Object.keys(e).reduce((t,n)=>{const o=e[n];return a(o)&&(t[n]=r(o,n)),t},{...e});return{...t,transition:{...t.transition||{},duration:0}}};var i=n(74632),s=n(24675),l=n(59471);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(null,arguments)}const u=({tag:e,ref:t,variants:n,initial:a,animate:r,exit:u,transition:d,layout:p,whileHover:m,...f})=>{const b=(0,l.useMemo)(()=>i.P[e||"div"],[e]),h=(0,s.I)(),v={variants:n,initial:a,animate:r,exit:u,transition:d,whileHover:m};return React.createElement(b,c({ref:t},h?o(v):v,{layout:!h&&p},f))}},59387(e,t,n){n.d(t,{A:()=>m});var a=n(64363),r=n(39673),o=n(55169),i=n(43143),s=n(97505),l=n(97500),c=n.n(l),u=n(59471);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d.apply(null,arguments)}const p=(0,r.Ay)(()=>n.e(2550).then(n.t.bind(n,21323,23))),m=({classes:e,config:t,controls:n=!0,epiEdit:r,inlineStyles:l,isPlaying:m,ref:f,title:b,subtitles:h,videoAttributes:v,videoDescription:g,videoRatio:y="aspect-video",videoSource:A,videoWidthStyle:w="100%",videoWrapperOpacityProgress:L,onEndedVideo:S,onVideoPause:E,onVideoPlay:P,onVideoReady:C,onVideoStart:R,onVolumeChange:x})=>{const{videoAriaLabel:k}=(0,i.A)(),V=(0,s.A)(),O=(0,u.useRef)(0),I=(0,u.useRef)(!1),N=e=>{(0,o.A)({event:"videoProgress",video_progress:e,video_title:b||A})};return A?React.createElement(a.A,{ref:f,className:c()(e,y,"w-full"),"data-epi-property-name":r,"data-testid":m?"video-playing":"video-paused",style:{opacity:L??1,...l}},V&&React.createElement(p,d({url:A,width:w,height:"100%",controls:n,playing:!0,onProgress:({played:e})=>{var t;t=e,I.current||(O.current<.25&&t>.25&&N("25%"),O.current<.5&&t>.5&&N("50%"),O.current<.75&&t>.75&&N("75%"),O.current>.9&&t<.1&&(N("100%"),I.current=!0),O.current=t)},onStart:()=>{R?.()},onEnded:()=>{S?.()},onPause:E,onPlay:P,onReady:C,config:{...t,file:{tracks:h||[],attributes:{"aria-label":`${k}${g?`: ${g}`:""}`}}},onVolumeChange:e=>{x?.(e.target)}},v))):null}},70122(e,t,n){n.d(t,{A:()=>b});var a=n(13889),r=n(11183),o=n(64363),i=n(59387),s=n(55169),l=n(43143),c=n(37417),u=n(97500),d=n.n(u),p=n(34629),m=n(32088),f=n(59471);
1const b=({autoPlay:e=!1,controls:t=!0,coverImage:n,dataTestId:u="In-View-Video",epiEdit:b,hasInVideoPlayButton:h,hasInVideoMuteButton:v,hasVideoOverlay:g=!0,inVideoMuteButtonPositionClassName:y="bottom-5 left-15",inVideoMuteButtonTabIndex:A=0,inVideoPlayButtonClassName:w,inVideoPlayButtonPositionClassName:L="bottom-5 left-5",inVideoPlayButtonTabIndex:S=0,inViewThreshold:E=.5,meta:P,playOnCoverClick:C=!0,subtitles:R,video:x,videoClasses:k,viedeoInlineStyles:V,videoRatio:O,videoWidthStyle:I,videoWrapperOpacityProgress:N,wrapperClasses:j,onFocusCallback:$,onVideoReady:M})=>{const z=(0,c.A)(),[W,T]=(0,f.useState)(!1),[D,F]=(0,f.useState)(!1),[B,_]=(0,f.useState)(v),[H,U]=(0,f.useState)(!1),X=(0,f.useRef)(null),Y=(0,m.W)(X,{amount:E}),{playVideoAriaLabel:G,pauseVideoAriaLabel:K,muteVideoAriaLabel:Q,unmuteVideoAriaLabel:q}=(0,l.A)(),Z=(0,f.useRef)(!1),J=e&&!z,ee=h?J&&!D:J;(0,f.useEffect)(()=>{T(ee&&Y),Z.current=!0,v||_(!t||!Y||ee)},[ee,Y,t,v]);const te=e=>{(0,s.A)({event:"videoInteraction",video_interaction:e,video_title:x?.url})},ne=()=>{T(!W),F(W),te(W?"pause":"play")},ae=e=>{T(e),t&&!Z.current&&te(e?"play":"pause"),Z.current=!1};return React.createElement("div",{className:d()("relative",j),"data-testid":u,"data-epi-property-name":b},React.createElement(i.A,{classes:k,inlineStyles:V,title:x?.url,videoSource:x?.url,videoDescription:x?.description,ref:X,videoAttributes:{playsinline:!0,muted:B,playing:W,loop:!0},onVideoReady:()=>{U(!0),M?.()},epiEdit:P?.editHints?.video,controls:t,videoRatio:O,subtitles:R,isPlaying:W,onVideoPause:()=>{ae(!1)},onVideoPlay:()=>{ae(!0)},videoWrapperOpacityProgress:N,videoWidthStyle:I,onVolumeChange:e=>{_(0===e.volume||e.muted)}}),h&&H&&React.createElement("button",{type:"button","aria-label":W?K:G,className:d()("absolute z-20 flex h-7.5 w-7.5 items-center justify-center rounded-full bg-black bg-opacity-50",L,w),onClick:()=>{ne()},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),ne())},onFocus:$,"data-testid":`${u}-${W?"Pause":"Play"}-Button`,"data-video-control":"toggle",tabIndex:S},React.createElement(a.A,{name:W?"pause":"play_icon_filled",colorClassName:"text-white",size:"1.4rem",className:"pointer-events-none"})),v&&H&&React.createElement("button",{type:"button","aria-label":B?q:Q,className:d()("absolute z-20 flex h-7.5 w-7.5 items-center justify-center rounded-full bg-black bg-opacity-50",y),onClick:()=>{_(!B)},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),_(!B))},"data-testid":`${u}-${B?"Unmute":"Mute"}-Button`,"data-video-control":"toggle",tabIndex:A},React.createElement(a.A,{name:B?"mute":"volume_up",colorClassName:"text-white",size:"1.4rem",className:"pointer-events-none"})),(n||!ee)&&g&&React.createElement(p.N,null,!W&&React.createElement(o.A,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:()=>{C&&(T(!0),te("play"),Z.current=!0)},className:"group absolute inset-0 flex items-center justify-center hover:cursor-pointer"},n&&React.createElement(r.A,{classes:"relative w-full h-full",image:n,imageClasses:"w-full h-full object-cover object-center",epiEdit:P?.editHints?.video,dataTestId:`${u}-Cover-Image`}),!ee&&n&&React.createElement("button",{type:"button","aria-label":G,className:"absolute bottom-2.5 left-2.5 flex items-center md:bottom-5 md:left-5",onClick:()=>{T(!0),te("play"),Z.current=!0},"data-testid":`${u}-Play-Button`},React.createElement("div",{className:"h-[2.1875rem] w-[2.1875rem] md:h-[2.875rem] md:w-[2.875rem]"},React.createElement(a.A,{name:"play_icon_circle",size:"100%"}))))))}},6086(e,t,n){n.r(t),n.d(t,{default:()=>c});var a=n(11183),r=n(70122),o=n(26093),i=n(61002),s=n(97500),l=n.n(s);const c=({headline:e,media:t,dataTestId:n,meta:s,isSmall:c})=>{const u=(0,o.A)(1024),d=(0,i.A)();return React.createElement("div",{className:l()("relative h-full w-full",{"max-h-[540px] max-w-[540px]":d}),"data-testid":n},React.createElement("p",{className:l()("absolute top-4 left-4 z-10 text-white max-lg:right-[42px] lg:top-6",c||u?"h5":"h3",c?"lg:left-7 lg:w-1/2":"lg:right-8 lg:left-8"),"data-testid":`${n}-Headline`,"data-epi-property-name":s?.editHints?.headline},e),React.createElement("div",{className:"absolute top-0 z-[1] h-full w-full rounded-lg bg-gradient-to-b from-black-100/40","data-testid":`${n}-Gradient`}),d&&React.createElement("div",{className:"absolute bottom-0 h-1/2 w-full","data-epi-property-name":s?.editHints?.media}),t&&("url"in t&&t.url?React.createElement(r.A,{videoClasses:"[&>div>video]:object-cover [&>div>video]:rounded-lg h-full",wrapperClasses:"h-full",autoPlay:!0,hasInVideoPlayButton:!0,inVideoPlayButtonPositionClassName:"bottom-2.5 left-2.5 md:bottom-5 md:left-5",controls:!1,video:t,dataTestId:`${n}-Video`,playOnCoverClick:!1}):React.createElement(a.A,{image:t,imageClasses:"w-full object-cover h-full rounded-lg",dataTestId:`${n}-Image`})))}},26640(e,t,n){n.d(t,{A:()=>r});var a=function(e){return e.Small="sm",e.Medium="md",e.Large="lg",e.XLarge="xl",e}(a||{});const r=a},30680(e,t,n){n.d(t,{A:()=>r});var a=function(e){return e.Screen="Screen",e.Viewport="Viewport",e}(a||{});const r=a},9683(e,t,n){n.d(t,{A:()=>r});var a=n(60422);const r=(0,n(44285).A)(e=>({ariaLabels:a.A,setAriaLabels:t=>e({ariaLabels:t})}))},63904(e,t,n){n.d(t,{A:()=>r});var a=n(42926);const r=()=>{const e=Math.abs(window.outerWidth-window.innerWidth)<=50?1:Number((window.outerWidth/window.innerWidth).toFixed(2));return a.gm&&!a.Fr?window.devicePixelRatio:e}},55169(e,t,n){n.d(t,{A:()=>a});const a=e=>{"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))}},43143(e,t,n){n.d(t,{A:()=>i});var a=n(9683),r=n(60422),o=n(59471);const i=()=>{const[e,t]=(0,o.useState)(r.A),n=(0,a.A)(e=>e.ariaLabels);return(0,o.useEffect)(()=>{t(n)},[n]),e}},48210(e,t,n){n.d(t,{A:()=>l});var a=n(26640),r=n(30680),o=n(63904),i=n(59471);const s=e=>{const t=768,n=1024,i=1440,s=(0,o.A)(),l=e===r.A.Viewport?window.innerWidth:window.innerWidth*s;return l<t?a.A.Small:l>=t&&l<n?a.A.Medium:l>=n&&l<i?a.A.Large:a.A.XLarge},l=(e=r.A.Viewport)=>{const[t,n]=(0,i.useState)(),a=(0,i.useCallback)(()=>n(s(e)),[e]);return(0,i.useEffect)(()=>(window.addEventListener("resize",a),n(s(e)),()=>{window.removeEventListener("resize",a)}),[a,e]),t}},97505(e,t,n){n.d(t,{A:()=>r});var a=n(59471);const r=()=>{const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{t(!0)},[]),e}},26093(e,t,n){n.d(t,{A:()=>i});var a=n(30680),r=n(63904),o=n(59471);const i=(e,t=a.A.Viewport)=>{const[n,i]=(0,o.useState)(),s=(0,o.useCallback)(()=>{const n=(0,r.A)(),o=t===a.A.Viewport?window.innerWidth:window.innerWidth*n;i(o<e)},[e,t]);return(0,o.useEffect)(()=>(window.addEventListener("resize",s),s(),()=>{window.removeEventListener("resize",s)}),[s]),n}},61002(e,t,n){n.d(t,{A:()=>r});var a=n(59471);const r=()=>{const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{t(window.self!==window.top)},[]),e}},37417(e,t,n){n.d(t,{A:()=>
1o});var a=n(24675),r=n(97505);const o=()=>{const e=(0,r.A)();return(0,a.I)()&&e}},60422(e,t,n){n.d(t,{A:()=>a});const a={authorPageAriaLabel:"Author page",backToFirstLevelNavigationAriaLabel:"Back to first level of navigation",breadcrumbAriaLabel:"Breadcrumb navigation",breadcrumbFooterAriaLabel:"Breadcrumb footer navigation",carouselSlideAriaLabel:"Slide",checkoutStepAriaLabel:"Step",clearCompanyNumberAriaLabel:"Clear company number input field",clearFiltersAriaLabel:"Clear filters",closeAddressListAriaLabel:"Close address list",closeMenuAriaLabel:"Close menu",closeMobileNavigationAriaLabel:"Close navigation",closeModalAriaLabel:"Close Modal",closeSignUpFormAriaLabel:"Close signup form",closeSiteNotificationAriaLabel:"Close site notification",compareImagesAriaLabel:"Compare images",copyToClipboardAriaLabel:"Copy to clipboard",countrySelectorCurrentCountryAriaLabel:"Select country, currently {0}",currentPriceAriaLabel:"Now",dateDayAriaLabel:"Day",dateMonthAriaLabel:"Month",dateYearAriaLabel:"Year",decreaseItemQuantityAriaLabel:"Decrease item quantity",editOrDeleteAriaLabel:"Edit or delete",filterOptionsAriaLabel:"Filter options",genreListingPageAriaLabel:"Genre listing page",goToSlideAriaLabel:"Go to slide",helpTextAriaLabel:"Help text",increaseItemQuantityAriaLabel:"Increase item quantity",initialPriceAriaLabel:"Was",mainNavigationAriaLabel:"Main navigation",moreInformationAriaLabel:"More information",muteVideoAriaLabel:"Mute video",nextAriaLabel:"Go to next slide",nikonHomepageAriaLabel:"Go to the Nikon homepage",openAddressListAriaLabel:"Open address list",openImageInFullScreenAriaLabel:"Open image in full screen",openMenuAriaLabel:"Open menu",overlayToCloseDesktopNavigationAriaLabel:"Close overlay",pauseVideoAriaLabel:"Pause video",phoneNumberPrefixAriaLabel:"Phone number prefix",playVideoAriaLabel:"Play video",play3DAriaLabel:"Play 3D view",playFPSPreviewAriaLabel:"Play FPS preview",pauseFPSPreviewAriaLabel:"Pause FPS preview",pause3DAriaLabel:"Pause 3D view",previousAriaLabel:"Go to previous slide",removeItemFromCartAriaLabel:"Remove item from cart",searchAriaLabel:"Search",shareToFacebookAriaLabel:"Share to Facebook",shareToWhatsappAriaLabel:"Share to Whatsapp",shareToXAriaLabel:"Share to X",siteNotificationsAriaLabel:"Site notifications banner",unmuteVideoAriaLabel:"Unmute video",useLeftAndRightArrowKeysAriaLabel:"Use the left and right arrow keys to adjust the image comparison.",uspStripAriaLabel:"Unique Selling Point Strip",videoAriaLabel:"Video",zoomInAriaLabel:"Zoom in",zoomOutAriaLabel:"Zoom out"}},16621(e,t,n){var a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)},r=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.iconList=void 0;var o=n(59471);t.iconList=function(e){return e&&Array.isArray(e.icons)?e.icons.map(function(e){return e.properties.name}):null},t.default=function(e){var t=e.iconSet,n=e.icon,i=e.size,s=e.title,l=e.disableFill,c=e.removeInlineStyle,u=e.native,d=e.SvgComponent,p=e.PathComponent,m=r(e,["iconSet","icon","size","title","disableFill","removeInlineStyle","native","SvgComponent","PathComponent"]);if(!t||!n)return null;var f=t.icons.find(function(e){return e.properties.name===n});if(!f)return null;var b={display:"inline-block",stroke:"currentColor",fill:"currentColor"};u&&(b.display="flex",b.flexDirection="row",b.flexWrap="wrap");var h=a(a(a({},c?{}:b),i?{width:i,height:i}:{}),m.style||{}),v=f.icon.width,g="0 0 ".concat(void 0===v?"1024":v," 1024"),y=f.icon.paths.map(function(e,t){var r,i=null===(r=f.icon.attrs)||void 0===r?void 0:r[t],s=a({d:e,key:n+t},!l&&i?i:{});return(0,o.createElement)(p||"path",s)});return s&&!u&&y.push((0,o.createElement)("title",{key:s},s)),(0,o.createElement)(d||"svg",a(a({},m),{viewBox:g,style:h}),y)}},44285(e,t,n){n.d(t,{A:()=>i});var a=n(59471);function r(e){let t;const n=new Set,a=(e,a)=>{const r="function"==typeof e?e(t):e;if(r!==t){const e=t;t=a?r:Object.assign({}
1,t,r),n.forEach(n=>n(t,e))}},r=()=>t,o={setState:a,getState:r,subscribe:(e,a,o)=>a||o?((e,a=r,o=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let i=a(t);function s(){const n=a(t);if(!o(i,n)){const t=i;e(i=n,t)}}return n.add(s),()=>n.delete(s)})(e,a,o):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(a,r,o),o}const o="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?a.useEffect:a.useLayoutEffect;function i(e){const t="function"==typeof e?r(e):e,n=(e=t.getState,n=Object.is)=>{const[,r]=(0,a.useReducer)(e=>e+1,0),i=t.getState(),s=(0,a.useRef)(i),l=(0,a.useRef)(e),c=(0,a.useRef)(n),u=(0,a.useRef)(!1),d=(0,a.useRef)();let p;void 0===d.current&&(d.current=e(i));let m=!1;(s.current!==i||l.current!==e||c.current!==n||u.current)&&(p=e(i),m=!n(d.current,p)),o(()=>{m&&(d.current=p),s.current=i,l.current=e,c.current=n,u.current=!1});const f=(0,a.useRef)(i);o(()=>{const e=()=>{try{const e=t.getState(),n=l.current(e);c.current(d.current,n)||(s.current=e,d.current=n,r())}catch(e){u.current=!0,r()}},n=t.subscribe(e);return t.getState()!==f.current&&e(),n},[]);const b=m?p:d.current;return(0,a.useDebugValue)(b),b};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[n,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},n}},34629(e,t,n){n.d(t,{N:()=>A});var a=n(62615),r=n(59471),o=n(59098),i=n(76430),s=n(76009),l=n(96566),c=n(10241),u=n(87087);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function p(...e){return r.useCallback(function(...e){return t=>{let n=!1;const a=e.map(e=>{const a=d(e,t);return n||"function"!=typeof a||(n=!0),a});if(n)return()=>{for(let t=0;t<a.length;t++){const n=a[t];"function"==typeof n?n():d(e[t],null)}}}}(...e),e)}class m extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,a=(0,c.s)(e)&&e.offsetHeight||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left,r.bottom=a-r.height-r.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:t,anchorX:n,anchorY:o,root:i}){const s=(0,r.useId)(),l=(0,r.useRef)(null),c=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=(0,r.useContext)(u.Q),f=e.props?.ref??e?.ref,b=p(l,f);return(0,r.useInsertionEffect)(()=>{const{width:e,height:a,top:r,left:u,right:p,bottom:m}=c.current;if(t||!l.current||!e||!a)return;const f="left"===n?`left: ${u}`:`right: ${p}`,b="bottom"===o?`bottom: ${m}`:`top: ${r}`;l.current.dataset.motionPopId=s;const h=document.createElement("style");d&&(h.nonce=d);const v=i??document.head;return v.appendChild(h),h.sheet&&h.sheet.insertRule(`\n          [data-motion-pop-id="${s}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${a}px !important;\n            ${f}px !important;\n            ${b}px !important;\n          }\n        `),()=>{v.contains(h)&&v.removeChild(h)}},[t]),(0,a.jsx)(m,{isPresent:t,childRef:l,sizeRef:c,children:r.cloneElement(e,{ref:b})})}const b=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:s,presenceAffectsLayout:c,mode:u,anchorX:d,anchorY:p,root:m})=>{const b=(0,i.M)(h),v=(0,r.useId)();let g=!0,y=(0,r.useMemo)(()=>(g=!1,{id:v,initial:t,isPresent:n,custom:s,onExitComplete:e=>{b.set(e,!0);for(const e of b.values())if(!e)return;o&&o()},register:e=>(b.set(e,!1),()=>b.delete(e))}),[n,b,o]);return c&&g&&(y={...y}),(0,r.useMemo)(()=>{b.forEach((e,t)=>b.set(t,!1))},[n]),r.useEffect(()=>{!n&&!b.size&&o&&o()},[n]),"popLayout"===u&&(e=(0,a.jsx)(f,{isPresent:n,anchorX:d,anchorY:p,root:m,children:e})),(0,a.jsx)(l.t.Provider,{value:y,children:e})};function h(){return new Map}var v=n(77881);const g=e=>e.key||"";function y(e){const t=[];
1return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}const A=({children:e,custom:t,initial:n=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:u="sync",propagate:d=!1,anchorX:p="left",anchorY:m="top",root:f})=>{const[h,A]=(0,v.xQ)(d),w=(0,r.useMemo)(()=>y(e),[e]),L=d&&!h?[]:w.map(g),S=(0,r.useRef)(!0),E=(0,r.useRef)(w),P=(0,i.M)(()=>new Map),C=(0,r.useRef)(new Set),[R,x]=(0,r.useState)(w),[k,V]=(0,r.useState)(w);(0,s.E)(()=>{S.current=!1,E.current=w;for(let e=0;e<k.length;e++){const t=g(k[e]);L.includes(t)?(P.delete(t),C.current.delete(t)):!0!==P.get(t)&&P.set(t,!1)}},[k,L.length,L.join("-")]);const O=[];if(w!==R){let e=[...w];for(let t=0;t<k.length;t++){const n=k[t],a=g(n);L.includes(a)||(e.splice(t,0,n),O.push(n))}return"wait"===u&&O.length&&(e=O),V(y(e)),x(w),null}const{forceRender:I}=(0,r.useContext)(o.L);return(0,a.jsx)(a.Fragment,{children:k.map(e=>{const r=g(e),o=!(d&&!h)&&(w===k||L.includes(r));return(0,a.jsx)(b,{isPresent:o,initial:!(S.current&&!n)&&void 0,custom:t,presenceAffectsLayout:c,mode:u,root:f,onExitComplete:o?void 0:()=>{if(C.current.has(r))return;if(C.current.add(r),!P.has(r))return;P.set(r,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(I?.(),V(E.current),d&&A?.(),l&&l())},anchorX:p,anchorY:m,children:e},r)})})}},32088(e,t,n){n.d(t,{W:()=>i});var a=n(59471),r=n(20818);const o={some:0,all:1};function i(e,{root:t,margin:n,amount:i,once:s=!1,initial:l=!1}={}){const[c,u]=(0,a.useState)(l);return(0,a.useEffect)(()=>{if(!e.current||s&&c)return;const a={root:t&&t.current||void 0,margin:n,amount:i};return function(e,t,{root:n,margin:a,amount:i="some"}={}){const s=(0,r.K)(e),l=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{const n=l.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e.target,e);"function"==typeof n?l.set(e.target,n):c.unobserve(e.target)}else"function"==typeof n&&(n(e),l.delete(e.target))})},{root:n,rootMargin:a,threshold:"number"==typeof i?i:o[i]});return s.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(u(!0),s?void 0:()=>u(!1)),a)},[t,e,n,s,i]),c}}}]);
2//# sourceMappingURL=TabbedFlipboardMediaCard-Chunk-3d66d168c3455fe99f05.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.