(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[983],{3328:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return s(5812)}])},9874:function(e,t,s){"use strict";s.d(t,{Z:function(){return a}});var n=s(5893),l=s(3960);function a(e){return(0,n.jsx)(n.Fragment,{children:e.html?(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,l.Cd)(e.html)}}):e.children?e.children:""})}s(7294)},178:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var n=s(5893),l=s(9008),a=s.n(l);s(7294);var r=s(1163),c=s(3960);function i(e){let{seo:t}=e,s=(0,r.useRouter)();if(!t)return null;let l=()=>{var e,s;return(null==t?void 0:null===(s=t.keywords)||void 0===s?void 0:null===(e=s.related_keywords)||void 0===e?void 0:e.length)?t.keywords.related_keywords.join(","):""},i=c.wB+s.asPath,o="/favicon.ico";return(0,n.jsxs)(a(),{children:[l()&&(0,n.jsx)("meta",{name:"keywords",content:l()}),(0,n.jsx)("link",{rel:"canonical",href:i}),(0,n.jsx)("meta",{property:"og:url",content:i}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),t.title&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:title",content:t.title}),(0,n.jsx)("title",{children:"".concat(t.title)})]}),t.description&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"description",content:t.description}),(0,n.jsx)("meta",{property:"og:description",content:t.description}),(0,n.jsx)("meta",{name:"twitter:description",content:t.description})]}),(0,n.jsx)("meta",{property:"og:image",content:o}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,n.jsx)("meta",{name:"twitter:url",content:i}),(0,n.jsx)("meta",{name:"twitter:image",content:o}),(0,n.jsx)("meta",{name:"robots",content:"index, follow"})]})}},3745:function(e,t,s){"use strict";var n=s(5893);s(7294),t.Z=e=>{let{children:t,bgHeight:s=536,bgImg:l="/image/home/BG6.png"}=e;return(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center bg-no-repeat bg-cover bg-center relative",children:[(0,n.jsx)("img",{src:l,alt:"",className:"!h-[".concat(s,"px] w-full")}),(0,n.jsx)("div",{className:"absolute inset-0 bg-[rgba(0,0,0,.1)]",children:(0,n.jsx)("div",{className:"w-full h-full c-flex flex-col",children:t})})]})}},5812:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return x},default:function(){return d}});var n=s(5893),l=s(178),a=s(9874),r=s(1664),c=s.n(r),i=s(3745);s(7294);var o=s(8174),u=s(9526),x=!0;function d(e){let{seo:t,page_code:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{seo:null==t?void 0:t.data}),(0,n.jsxs)(a.Z,{html:s,children:[(0,n.jsx)(i.Z,{bgImg:"/image/footer/Contact-us-bg.png",bgHeight:320,children:(0,n.jsx)("p",{className:"text-white text-4xl translate-y-[-50px]",children:"Contact Us"})}),(0,n.jsxs)("div",{className:"container flex max-lg:flex-col",children:[(0,n.jsx)("div",{className:"shadow-xl translate-y-[-100px] p-16 bg-white max-[400px]:px-4",children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"c-flex relative pb-4",children:[(0,n.jsx)("span",{className:"text-3xl text-center",children:"Send us your Email "}),(0,n.jsx)("span",{className:"absolute block h-1 w-24 bg-black rounded-md bottom-0 right-1/2 translate-x-1/2"})]}),(0,n.jsx)(o.default,{})]})}),(0,n.jsxs)("div",{className:"ml-24 pt-32 max-lg:translate-y-[-100px] max-[400px]:ml-2",children:[(0,n.jsx)("h3",{className:"mb-8 text-3xl font-bold",children:"Contacts"}),(0,n.jsxs)("p",{children:["We are here for you 24/7",(0,n.jsx)("br",{}),"please feel free to contact us ."]}),(0,n.jsxs)("p",{className:"my-8",children:["Our Email:",(0,n.jsx)("br",{}),(0,n.jsx)(c(),{href:"mailto:".concat(u.TX),className:"text-email",children:u.TX})]}),(0,n.jsxs)("p",{children:["24/7 Available Phone call :",(0,n.jsx)("br",{}),u.xA]})]})]})]})]})}},8174:function(e,t,s){"use strict";s.r(t);var n=s(5893),l=s(7294),a=s(7256),r=s(4499),c=s(221),i=s(5611);t.default=()=>{let{addToast:e}=(0,i.e1)(),[t,s]=(0,l.useState)(""),[o,u]=(0,l.useState)(""),x=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),[d,m]=(0,l.useState)(""),[f,p]=(0,l.useState)(!1),h=()=>{s(""),u(""),m(""),v("")},j=async()=>{let s=x(o);if(!s){v("Email Error");return}if(!t){v("Please input your contactName");return}if(!d){v("Please input your suggestions");return}try{p(!0);let s=await (0,c.mG)({inquiry_info:{email:o},contactName:t,message:d,goods:[{id:0,count:0}],source:1});s&&(u(""),e("Success",{appearance:"success",autoDismiss:!0}),h())}finally{p(!1)}},[g,v]=(0,l.useState)("");return(0,n.jsxs)("div",{className:"w-[730px] max-xl:w-[520px] max-lg:w-full",children:[(0,n.jsxs)("div",{className:"mt-8 ",children:[(0,n.jsx)("p",{className:"pl-12 mb-2",children:"Contact Name"}),(0,n.jsx)("input",{value:t,onChange:e=>{s(e.target.value)},className:"w-full bg-[#f5f6f8] rounded-full h-14 pl-6 text-xl outline-0"})]}),(0,n.jsxs)("div",{className:"my-6 ",children:[(0,n.jsx)("p",{className:"pl-12 mb-2",children:"E-mail"}),(0,n.jsx)("input",{value:o,type:o,onChange:e=>{u(e.target.value)},className:"w-full bg-[#f5f6f8] rounded-full h-14 pl-6 text-xl outline-0"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"pl-12 mb-2",children:"Message"}),(0,n.jsx)("textarea",{value:d,onChange:e=>{m(e.target.value)},className:"w-full bg-[#f5f6f8] rounded-[20px] px-6 outline-0 py-2 h-[240px]",style:{resize:"none"}})]}),(0,n.jsx)("p",{className:"text-red-500",children:g}),(0,n.jsxs)(a.z,{color:"dark",className:"w-full !rounded-full mt-12 c-flex flex-col",onClick:j,children:[f&&(0,n.jsx)(r.Z,{color:"#fff",size:20}),(0,n.jsx)("span",{children:"Subscribe"})]})]})}},9008:function(e,t,s){e.exports=s(9201)}},function(e){e.O(0,[774,888,179],function(){return e(e.s=3328)}),_N_E=e.O()}]);