PageSourceSearch

https://www.nikon.bg/dist-client/BasicHeader-Chunk-9348d76a7540eab3b044.js

js nikon.bg collected 2026-10-06 05:08:47 UTC 10,527 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunknikon_client=globalThis.webpackChunknikon_client||[]).push([[6492],{76439(e,t,a){a.d(t,{A:()=>u});var r=a(36223),i=a(30808),n=a(4586),o=a(97500),l=a.n(o),s=a(59471);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},c.apply(null,arguments)}const u=({ariaHidden:e,children:t,classes:a,dataTestId:o,epiEdit:u,fallbackSize:d,image:p,imageClasses:b,imageRef:m,lazyLoad:A=!0,progressiveLoad:f=!0,showFallback:g,sizes:v=""})=>{const L=p?.mobile,w=p?.tablet,h=p?.desktop,y=p?.largeDesktop,S=(0,n.A)(),[C,k]=(0,s.useState)(!1);if(!h?.url&&!g)return null;const O={[i.A.Small]:L,[i.A.Medium]:w,[i.A.Large]:h,[i.A.XLarge]:y};return g&&!h?.url?React.createElement("div",{className:l()(a,"flex items-center justify-center")},React.createElement(r.A,{ariaHidden:!0,className:l()(b,"motion-safe:transition motion-safe:duration-500 motion-safe:ease-in-out"),name:"image-outline",size:d??"100%"}),t):React.createElement("picture",{className:l()(a)},React.createElement("source",{type:"image/webp",sizes:v,srcSet:`${L?.url} 376w, ${w?.url} 768w, ${h?.url} 1024w, ${y?.url} 1440w`}),React.createElement("img",c({ref:m,alt:p?.altText?.length?p?.altText:"nikon-image","aria-hidden":e,className:l()(b,"motion-safe:transition motion-safe:duration-500 motion-safe:ease-in-out"),"data-epi-property-name":u,draggable:"false",loading:A?"lazy":"eager",onLoad:()=>{k(!0)},sizes:v,src:C&&f?O[S]?.url:L?.url,height:O[S]?.height,width:O[S]?.width,srcSet:`${L?.originalUrl} 376w, ${w?.originalUrl} 768w, ${h?.originalUrl} 1024w, ${y?.originalUrl} 1440w`},o&&{"data-testid":o})),C&&t)}},42658(e,t,a){a.r(t),a.d(t,{default:()=>l});var r=a(76439),i=a(73359),n=a(37981),o=a(6798);const l=({homepageLink:e,logo:t})=>{const a=(0,o.A)(),{url:l,target:s="_self"}=e||{};(0,n.A)();const{mainNavigationAriaLabel:c}=(0,i.A)();return t&&React.createElement("nav",{"aria-label":c,className:"relative flex flex-col","data-testid":"CT-01-A-Basic-Header"},React.createElement("div",{className:"relative z-80 flex h-[77px] flex-row items-stretch border-grey-500/30 border-b bg-black-100 px-5 py-2.5 lg:h-[129px] lg:px-7 lg:py-3.5"},t&&React.createElement("a",{href:l,target:a?"_parent":s,rel:"noreferrer",className:"my-2 mr-6 lg:my-4","data-testid":"CT-01-A-Basic-Header-Logo-Link"},React.createElement(r.A,{sizes:"",lazyLoad:!1,image:t,imageClasses:"h-10 w-10 lg:h-[4.25rem] lg:w-[4.25rem]",progressiveLoad:!1,dataTestId:"CT-01-A-Basic-Header-Logo-Image"}))))}},30808(e,t,a){a.d(t,{A:()=>i});var r=function(e){return e.Small="sm",e.Medium="md",e.Large="lg",e.XLarge="xl",e}(r||{});const i=r},44528(e,t,a){a.d(t,{A:()=>i});var r=function(e){return e.Screen="Screen",e.Viewport="Viewport",e}(r||{});const i=r},45403(e,t,a){a.d(t,{A:()=>i});var r=a(80078);const i=(0,a(44285).A)(e=>({ariaLabels:r.A,setAriaLabels:t=>e({ariaLabels:t})}))},85793(e,t,a){a.d(t,{A:()=>r});const r=(0,a(44285).A)(e=>({isCookiesAccepted:!1,setIsCookiesAccepted:t=>e({isCookiesAccepted:t})}))},80552(e,t,a){a.d(t,{A:()=>i});var r=a(42926);const i=()=>{const e=Math.abs(window.outerWidth-window.innerWidth)<=50?1:Number((window.outerWidth/window.innerWidth).toFixed(2));return r.gm&&!r.Fr?window.devicePixelRatio:e}},73359(e,t,a){a.d(t,{A:()=>o});var r=a(45403),i=a(80078),n=a(59471);const o=()=>{const[e,t]=(0,n.useState)(i.A),a=(0,r.A)(e=>e.ariaLabels);return(0,n.useEffect)(()=>{t(a)},[a]),e}},4586(e,t,a){a.d(t,{A:()=>s});var r=a(30808),i=a(44528),n=a(80552),o=a(59471);const l=e=>{const t=768,a=1024,o=1440,l=(0,n.A)(),s=e===i.A.Viewport?window.innerWidth:window.innerWidth*l;return s<t?r.A.Small:s>=t&&s<a?r.A.Medium:s>=a&&s<o?r.A.Large:r.A.XLarge},s=(e=i.A.Viewport)=>{const[t,a]=(0,o.useState)(),r=(0,o.useCallback)(()=>a(l(e)),[e]);return(0,o.useEffect)(()=>(window.addEventListener("resize",r),a(l(e)),()=>{window.removeEventListener("resize",r)}),[r,e]),t}},37981(e,t,a){a.d(t,{A:()=>n});var r=a(85793),i=a(59471);const n=()=>{const{setIsCookiesAccepted:e}=(0,r.A)(e=>({setIsCookiesAccepted:e.setIsCookiesAccepted}));(0,i.useEffect)(()=>{const t=setInterval(()=>{window.OnetrustActiveGroups&&(e(window.OnetrustActiveGroups.split(",").slice(1).length>2),clearInterval(t))},100);return()=>clearInterval(t)},[e]),(0,i.useEffect)(()=>{window.OptanonWrapper=()=>{window.OneTrust&&"function"==typeof window.OneTrust.OnConsentChanged&&window.OneTrust.OnConsentChanged(t=>{e(t.detail.length>1)})}},[e])}},6798(e,t,a){a.d(t,{A:()=>i});var r=a(59471);const i=()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(window.self!==window.top)},[]),e}},80078(e,t,a){a.d(t,{A:()=>r});const r={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",clearFiltersAri
1aLabel:"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,a){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var i in t=arguments[a])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__rest||function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(a[r[i]]=e[r[i]])}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.iconList=void 0;var n=a(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,a=e.icon,o=e.size,l=e.title,s=e.disableFill,c=e.removeInlineStyle,u=e.native,d=e.SvgComponent,p=e.PathComponent,b=i(e,["iconSet","icon","size","title","disableFill","removeInlineStyle","native","SvgComponent","PathComponent"]);if(!t||!a)return null;var m=t.icons.find(function(e){return e.properties.name===a});if(!m)return null;var A={display:"inline-block",stroke:"currentColor",fill:"currentColor"};u&&(A.display="flex",A.flexDirection="row",A.flexWrap="wrap");var f=r(r(r({},c?{}:A),o?{width:o,height:o}:{}),b.style||{}),g=m.icon.width,v="0 0 ".concat(void 0===g?"1024":g," 1024"),L=m.icon.paths.map(function(e,t){var i,o=null===(i=m.icon.attrs)||void 0===i?void 0:i[t],l=r({d:e,key:a+t},!s&&o?o:{});return(0,n.createElement)(p||"path",l)});return l&&!u&&L.push((0,n.createElement)("title",{key:l},l)),(0,n.createElement)(d||"svg",r(r({},b),{viewBox:v,style:f}),L)}},44285(e,t,a){a.d(t,{A:()=>o});var r=a(59471);function i(e){let t;const a=new Set,r=(e,r)=>{const i="function"==typeof e?e(t):e;if(i!==t){const e=t;t=r?i:Object.assign({},t,i),a.forEach(a=>a(t,e))}},i=()=>t,n={setState:r,getState:i,subscribe:(e,r,n)=>r||n?((e,r=i,n=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");
1let o=r(t);function l(){const a=r(t);if(!n(o,a)){const t=o;e(o=a,t)}}return a.add(l),()=>a.delete(l)})(e,r,n):(a.add(e),()=>a.delete(e)),destroy:()=>a.clear()};return t=e(r,i,n),n}const n="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?r.useEffect:r.useLayoutEffect;function o(e){const t="function"==typeof e?i(e):e,a=(e=t.getState,a=Object.is)=>{const[,i]=(0,r.useReducer)(e=>e+1,0),o=t.getState(),l=(0,r.useRef)(o),s=(0,r.useRef)(e),c=(0,r.useRef)(a),u=(0,r.useRef)(!1),d=(0,r.useRef)();let p;void 0===d.current&&(d.current=e(o));let b=!1;(l.current!==o||s.current!==e||c.current!==a||u.current)&&(p=e(o),b=!a(d.current,p)),n(()=>{b&&(d.current=p),l.current=o,s.current=e,c.current=a,u.current=!1});const m=(0,r.useRef)(o);n(()=>{const e=()=>{try{const e=t.getState(),a=s.current(e);c.current(d.current,a)||(l.current=e,d.current=a,i())}catch(e){u.current=!0,i()}},a=t.subscribe(e);return t.getState()!==m.current&&e(),a},[]);const A=b?p:d.current;return(0,r.useDebugValue)(A),A};return Object.assign(a,t),a[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[a,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},a}}}]);
2//# sourceMappingURL=BasicHeader-Chunk-9348d76a7540eab3b044.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.