PageSourceSearch

https://www.nikonusa.com/_next/static/chunks/3189.cffc41a34ad6016c.js

js nikonusa.com collected 2026-10-02 02:13:23 UTC 3,237 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3189],{9798:(e,t,a)=>{a.d(t,{A:()=>d});var r=a(37876),i=a(43135),s=a(94220),n=a(74078),o=a(4328);let d=({data:e})=>(0,r.jsx)(i.A,{"data-testid":"delivery-api-error",children:(0,r.jsx)(s.A,{children:(0,r.jsx)(n.A,{children:(0,r.jsxs)(o.A,{variant:"danger",children:[(0,r.jsxs)("h4",{children:["Error ",e.status,": ",e.statusText]}),(0,r.jsxs)("p",{children:[e.error_message," ",(0,r.jsxs)("strong",{children:["(Error Code ",e.error_code,")"]})]})]})})})})},63189:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var r=a(37876);a(14232);var i=a(9798),s=a(99275),n=a(81276),o=a(78282);let d=({data:e})=>{let t=e?.data?.dataSource.payload[0];if(!t)return(0,r.jsx)(s.A,{});{if(t?.err)return(0,r.jsx)(i.A,{data:t.err});let e=t.data.meta_data??{},a={...e,meta_title:e?.meta_title??t.data.title??""};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{content:a,tasticName:"ContentstackTradeInLandingTastic"}),(0,r.jsx)(n.A,{data:t.data,contentTypeUid:t.contentTypeUid})]})}}},78282:(e,t,a)=>{a.d(t,{A:()=>c});var r=a(37876),i=a(14232),s=a(77328),n=a.n(s),o=a(15497),d=a(98850),l=a(60428);let c=({product:e,content:t,path:a,tasticName:s})=>{let{formatMessage:c}=(0,o.t)({name:"product"}),p=(0,i.useMemo)(()=>({title:c({id:"meta.title",defaultMessage:"Cameras and photography equipment from Nikon"}),description:c({id:"meta.desc",defaultMessage:"Find high quality cameras and photography accessories at Nikon"})}),[c]),m=(0,i.useMemo)(()=>{if(!e)return null;let t=a?.split("/").pop(),r=t&&l.p.isNumeric(t)?e.variants.find(e=>e.sku===t):e.variants[0],i=r?(0,d.Cg)(e.name||"",r):l.p.validate(e.name)??l.p.validate(p.title);return{title:l.p.validate(e.metaTitle)??c({id:"overview.meta.title",defaultMessage:"Nikon {product} | {category} | Nikon USA",values:{product:i||"",category:e.categories?.length&&e.categories[e.categories.length-1].name||""}}),description:l.p.validate(e.metaDescription)??l.p.validate(e.description)??l.p.validate(p.description),keywords:Array.isArray(e.searchKeywords)?e.searchKeywords.join(", "):e.searchKeywords??"",image:r?.socialImage??r?.representativeImage??""}},[e,a,c,p]),g=(0,i.useMemo)(()=>{if(!t)return null;let e=t.meta_keywords??t.meta_keyword;return{title:l.p.validate(t.meta_title)??p.title,description:l.p.validate(t.meta_description)??l.p.validate(p.description),keywords:Array.isArray(e)?e.join(", "):e??"",image:"string"==typeof t.meta_image?t.meta_image:t.meta_image?.url??""}},[t,p]),y=m??g??{title:p.title,description:p.description,keywords:"",image:""};return(0,r.jsxs)(n(),{children:[(0,r.jsx)("title",{children:y.title}),(0,r.jsx)("meta",{className:"swiftype",name:"description","data-type":"string",content:y.description}),y.keywords&&(0,r.jsx)("meta",{className:"swiftype",name:"keywords","data-type":"string",content:y.keywords}),y.image&&(0,r.jsx)("meta",{className:"swiftype",name:"image","data-type":"enum",content:y.image}),(0,r.jsx)("meta",{property:"og:title",content:y.title}),(0,r.jsx)("meta",{property:"og:description",content:y.description}),a&&(0,r.jsx)("meta",{property:"og:url",content:a}),y.image&&(0,r.jsx)("meta",{property:"og:image",content:y.image}),(0,r.jsx)("meta",{property:"og:type",content:"product"})]})}}}]);

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.