1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8347],{13634:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/layout/withMenuFooter",function(){return a(66757)}])},66757:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return h}});var t=a(85893),l=a(9008),s=(a(25675),a(41664)),c=a(11163),o=a(67294),i=a(36005),r=a(69448),d=a(94184),u=a.n(d),f=a(86896);function h(e){var n=(0,c.useRouter)(),a=(0,f.Z)().formatMessage,d=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return a({id:e,defaultMessage:n||e})},h=(0,o.useCallback)((function(e){return e?"/".concat(n.query.domainLocale).concat(e):"/".concat(n.query.domainLocale)}),[n]);(0,o.useEffect)((function(){document&&e.locale&&(document.body.classList.remove("pmn"),document.body.classList.add("vi"==(0,i.U2)(e,"locale","en")?"open-sans-font":"lato-font"))}),[e]);var m=e.locales?e.locales.split(","):[];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{children:(0,t.jsx)("title",{children:(0,i.U2)(e,["homepage","title"],"Mitutoyo Asia Pacific")})}),(0,t.jsx)("div",{className:"flex z-500 filter drop-shadow-md sticky top-0 bg-white",children:(0,t.jsxs)("div",{className:"container flex flex-row",children:[(0,t.jsx)("div",{className:u()("flex h-20 px-2"),children:!(0,i.xb)(e.homepage)&&(0,t.jsx)(s.default,{href:h(),passHref:!0,children:(0,t.jsx)("a",{target:"_self",children:(0,t.jsx)("img",{src:"/img/mitutoyo-logo.svg",alt:e.homepage.title,width:169,height:52.5})})})}),(0,t.jsx)("div",{className:"w-40 flex flex-row gap-1 justify-center p-4 divide-x-2",children:m.length>1&&m.map((function(a,l){return(0,t.jsx)(s.default,{href:n.asPath.replace("-".concat(e.locale,"/"),"-".concat(a,"/")),passHref:!0,children:(0,t.jsx)("a",{target:"_self",children:(0,t.jsx)("span",{className:u()("flex justify-center uppercase h-8 lg:h-10 text-base p-1 lg:p-2 min-w-10",e.locale==a?"text-yellow-450":""),children:d(a||"en",a||"en")})})},l)}))})]})}),(0,t.jsx)("div",{className:"container xs:px-2 md:px-0",children:e.children}),(0,t.jsx)(r.default,{homepage:e.homepage,domainLocale:e.domainLocale,displayFooterMenu:!0})]})}}},function(e){e.O(0,[9774,2888,179],(function(){return n=13634,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.