PageSourceSearch

https://www.nikon.fr/dist-client/FeatureCardsList-Chunk-c1098a5533370a44a889.js

js nikon.fr collected 2026-10-02 03:21:44 UTC 6,978 bytes, 3 lines download raw bytes

1/*! For license information please see FeatureCardsList-Chunk-c1098a5533370a44a889.js.LICENSE.txt */
2(globalThis.webpackChunknikon_client=globalThis.webpackChunknikon_client||[]).push([[2568],{47976(e,t,r){"use strict";r.d(t,{A:()=>l});const n=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),a=(e,t)=>Object.entries(e).reduce((e,[t,r])=>("duration"!==t&&"delay"!==t||"number"!=typeof r?n(r)?e[t]=a(r,t):e[t]=r:e[t]=0,e),{..."transition"===t?{duration:0}:{}}),i=e=>{const t=Object.keys(e).reduce((t,r)=>{const i=e[r];return n(i)&&(t[r]=a(i,r)),t},{...e});return{...t,transition:{...t.transition||{},duration:0}}};var s=r(63392),o=r(24675),c=r(59471);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(null,arguments)}const l=({tag:e,ref:t,variants:r,initial:n,animate:a,exit:l,transition:d,layout:f,whileHover:g,...p})=>{const m=(0,c.useMemo)(()=>s.P[e||"div"],[e]),y=(0,o.I)(),b={variants:r,initial:n,animate:a,exit:l,transition:d,whileHover:g};return React.createElement(m,u({ref:t},y?i(b):b,{layout:!y&&f},p))}},8222(e,t,r){"use strict";r.d(t,{A:()=>u});var n=r(47976),a=r(76081),i=r(68194),s=r(65505),o=r(32088),c=r(59471);const u=({children:e,isAnimationDisabled:t})=>{const r=(0,s.A)(),u=(0,i.A)(),l=(0,c.useRef)(null),d=(0,o.W)(l,{once:!0,margin:"100% 0p
2x -15% 0px"}),{isSoftLoadEnabled:f}=(0,a.A)(e=>({isSoftLoadEnabled:e.isSoftLoadEnabled}));return t||u?React.createElement(React.Fragment,null,e):React.createElement(n.A,{"data-testid":"Soft-Load-Wrapper",ref:l,variants:{hidden:{opacity:0,y:60},visible:{opacity:1,y:0}},initial:"hidden",animate:f&&d||!1===f||r?"visible":"hidden",transition:{opacity:{ease:"easeOut",duration:void 0===f?0:.6},y:{ease:"easeOut",duration:f?.6:0}}},e)}},10606(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(8222),a=r(97500),i=r.n(a);const s=({title:e,cards:t,meta:r})=>{const a=5===t.length?"lg:grid-cols-3 xl:flex xl:flex-row":"lg:flex lg:flex-row lg:items-center lg:justify-center",s=e?"h3":"p";return React.createElement("section",{className:"component-padding bg-white text-black-100 dark:bg-black-100 dark:text-white","data-testid":"CT-167-Feature-Cards-List"},React.createElement(n.A,null,React.createElement("div",{className:"container flex flex-col items-center justify-center gap-10"},e&&React.createElement("h2",{className:"w-4/5 text-center","data-testid":"CT-167-Feature-Cards-List-Title","data-epi-property-name":r?.editHints?.title},e),React.createElement("div",{className:i()("flex flex-col gap-4 md:grid md:grid-cols-2",a),"data-epi-property-name":r?.editHints?.cards},t.map(({title:e,body:t},r)=>React.createElement("div",{key:e,className:"flex max-w-[800px] flex-1 flex-col items-center gap-2 rounded-[5px] bg-grey-600 px-4 py-6 lg:flex-1 lg:self-stretch lg:px-6 lg:py-10","data-testid":`CT-167-Feature-Cards-List-Card-${r}`},React.createElement(s,{className:"h6 text-center text-white","data-testid":`CT-167-Feature-Cards-List-Card-${r}-Title`},e),t&&React.createElement("div",{className:"body-two text-center text-grey-500",dangerouslySetInnerHTML:{__html:t},"data-testid":`CT-167-Feature-Cards-List-Card-${r}-Body`})))))))}},76081(e,t,r){"use strict";r.d(t,{A:()=>n});const n=(0,r(44285).A)(e=>({isSoftLoadEnabled:void 0,setIsSoftLoadEnabled:t=>e({isSoftLoadEnabled:t})}))},2569(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(59471);const a=()=>{const[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(!0)},[]),e}},68194(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(59471);const a=()=>{const[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(window.self!==window.top)},[]),e}},65505(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(24675),a=r(2569);const i=()=>{const e=(0,a.A)();return(0,n.I)()&&e}},44285(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(59471);function a(e){let t;const r=new Set,n=(e,n)=>{const a="function"==typeof e?e(t):e;if(a!==t){const e=t;t=n?a:Object.assign({},t,a),r.forEach(r=>r(t,e))}},a=()=>t,i={setState:n,getState:a,subscribe:(e,n,i)=>n||i?((e,n=a,i=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let s=n(t);function o(){const r=n(t);if(!i(s,r)){const t=s;e(s=r,t)}}return r.add(o),()=>r.delete(o)})(e,n,i):(r.add(e),()=>r.delete(e)),destroy:()=>r.clear()};return t=e(n,a,i),i}const i="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function s(e){const t="function"==typeof e?a(e):e,r=(e=t.getState,r=Object.is)=>{const[,a]=(0,n.useReducer)(e=>e+1,0),s=t.getState(),o=(0,n.useRef)(s),c=(0,n.useRef)(e),u=(0,n.useRef)(r),l=(0,n.useRef)(!1),d=(0,n.useRef)();let f;void 0===d.current&&(d.current=e(s));let g=!1;(o.current!==s||c.current!==e||u.current!==r||l.current)&&(f=e(s),g=!r(d.current,f)),i(()=>{g&&(d.current=f),o.current=s,c.current=e,u.current=r,l.current=!1});const p=(0,n.useRef)(s);i(()=>{const e=()=>{try{const e=t.getState(),r=c.current(e);u.current(d.current,r)||(o.current=e,d.current=r,a())}catch(e){l.current=!0,a()}},r=t.subscribe(e);return t.getState()!==p.current&&e(),r},[]);const m=g?f:d.current;return(0,n.useDebugValue)(m),m};return Object.assign(r,t),r[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[r,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},r}},97500(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}
2.apply(t,[]))||(e.exports=r)}()},32088(e,t,r){"use strict";r.d(t,{W:()=>s});var n=r(59471),a=r(57671);const i={some:0,all:1};function s(e,{root:t,margin:r,amount:s,once:o=!1,initial:c=!1}={}){const[u,l]=(0,n.useState)(c);return(0,n.useEffect)(()=>{if(!e.current||o&&u)return;const n={root:t&&t.current||void 0,margin:r,amount:s};return function(e,t,{root:r,margin:n,amount:s="some"}={}){const o=(0,a.K)(e),c=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{const r=c.get(e.target);if(e.isIntersecting!==Boolean(r))if(e.isIntersecting){const r=t(e.target,e);"function"==typeof r?c.set(e.target,r):u.unobserve(e.target)}else"function"==typeof r&&(r(e),c.delete(e.target))})},{root:r,rootMargin:n,threshold:"number"==typeof s?s:i[s]});return o.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(l(!0),o?void 0:()=>l(!1)),n)},[t,e,r,o,s]),u}}}]);
3//# sourceMappingURL=FeatureCardsList-Chunk-c1098a5533370a44a889.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.