(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{84634:function(n,e,t){"use strict";var i=t(59499),o=t(4730),r=t(62505),c=t(35005),s=t(35650),a=t(85893),l=["type","text","icon","variant","size","onClick","icon_color","text_color"];function d(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function u(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?d(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var p=(0,r.ZP)(c.Z).withConfig({displayName:"Button__ButtonPrimary",componentId:"sc-e70uu1-0"})(["display:flex;flex-direction:row;justify-content:center;align-items:center;font-weight:500;min-width:",";min-height:",";background-color:",";color:",";border-color:transparent !important;border-radius:4px;padding:",";margin:",";&:hover,&:focus{background-color:",";}&:active{background-color:",";}"],(function(n){return"small"===n.size?"79px":"110px"}),(function(n){return"small"===n.size?"36px":"48px"}),(function(n){return n.disabled?"#e8ebec !important":s.Z.colors.primary}),(function(n){return n.disabled?"#939ea9 !important":"white"}),(function(n){return n.padding||"small"===n.size?"7px 12px":"12px 24px"}),(function(n){return n.margin}),s.Z.colors.primary,s.Z.colors.primary),m=(0,r.ZP)(p).withConfig({displayName:"Button__ButtonOutlined",componentId:"sc-e70uu1-1"})(["background-color:rgba(229,139,34,10%);border-color:"," !important;color:#e58b22;"],s.Z.colors.primary),f=(0,r.ZP)(p).withConfig({displayName:"Button__ButtonSecondary",componentId:"sc-e70uu1-2"})(["background-color:#151f44;&:hover,&:focus{background-color:#0b1126;}&:active{background-color:#151f44;}"]),h=(0,r.ZP)(p).withConfig({displayName:"Button__ButtonStroke",componentId:"sc-e70uu1-3"})(["background-color:#ffffff;border-color:#e8ebec !important;color:#151f44;&:hover,&:focus{background-color:#e8ebec;color:#151f44;}&:active{background-color:#ffffff;color:#151f44;}"]),x=(0,r.ZP)(p).withConfig({displayName:"Button__ButtonFill",componentId:"sc-e70uu1-4"})(["background:linear-gradient(180deg,#7950FF 0%,#5E35E6 100%);color:#fff;font-size:17px;border:1px solid #ccc;border-left:none;cursor:pointer;border-radius:0 8px 8px 0;padding:10px;&:hover,&:focus{background-color:#0b7dda;color:#fff;}&:active{background-color:#0b7dda;color:#fff;}"]),g=(0,r.ZP)(p).withConfig({displayName:"Button__ButtonLink",componentId:"sc-e70uu1-5"})(["background-color:transparent;padding:0;color:",";&:hover,&:focus{background-color:transparent;color:#151F44;}&:active{background-color:transparent;color:#151F44;}"],s.Z.colors.neutral),v=(0,r.ZP)(p).withConfig({displayName:"Button__ButtonFillBold",componentId:"sc-e70uu1-6"})(["background-color:#151F44;color:#fff;&:hover,&:focus{background-color:#151F44;color:#fff;}&:active{background-color:#151F44;color:#fff;}"]);function j(n){var e=n.type,t=n.text,i=n.icon,r=n.variant,c=void 0===r?"primary":r,s=n.size,d=void 0===s?"small":s,j=n.onClick,b=(n.icon_color,n.text_color),y=(0,o.Z)(n,l);switch(c){case"primary":return(0,a.jsxs)(p,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{style:{color:b},children:t})]}));case"secondary":return(0,a.jsxs)(f,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{style:{color:b},children:t})]}));case"outlined":return(0,a.jsxs)(m,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{style:{color:b},children:t})]}));case"stroke":return(0,a.jsxs)(h,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{style:{color:b},children:t})]}));case"fill":return(0,a.jsxs)(x,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{style:{color:b},children:t})]}));case"fill-bold":return(0,a.jsxs)(v,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{children:t})]}));case"link":return(0,a.jsxs)(g,u(u({onClick:j,type:e,size:d},y),{},{children:[i&&(0,a.jsx)("i",{className:i}),(0,a.jsx)("span",{children:t})]}));default:return null}}j.defaultProps={type:"",onClick:function(){},icon:"",size:"small",text:"",children:null,variant:"primary",icon_color:"",text_color:""},e.Z=j},32205:function(n,e,t){"use strict";t.r(e);var i=t(87536),o=t(62505),r=t(35650),c=t(27647),s=t(40988),a=t(65927),l=t(84634),d=t(22817),u=t(14416),p=t(51447),m=t(41664),f=t.n(m),h=t(74231),x=t(57828),g=t(47533),v=t(42556),j=t(94501),b=t(85893),y=o.ZP.div.withConfig({displayName:"contact__ContactWrap",componentId:"sc-4bxr9q-0"})([".mtop16{margin-top:","}.form-control{border-top:0 !important;border-left:0 !important;border-right:0 !important;border-radius:0 !important;}"],r.Z.spaces.space16);e.default=(0,u.$j)((function(n){return{settings:(0,d.TQ)(n)}}))((function(n){var e,t,o,r,d,m,N=n.settings,k=(0,u.I0)(),_=h.Ry().shape({name:h.Z_().trim().required("B\u1ea1n c\u1ea7n nh\u1eadp t\xean").min(5).max(255,"B\u1ea1n ch\u1ec9 \u0111\u01b0\u1ee3c nh\u1eadp t\u1ed1i \u0111a 255 k\xfd t\u1ef1"),email:h.Z_().trim().required("B\u1ea1n c\u1ea7n nh\u1eadp email").test("email","Vui l\xf2ng nh\u1eadp \u0111\xfang \u0111\u1ecbnh d\u1ea1ng E-mail",(function(n){return!!x.HN.test(n)})).min(5).max(255,"B\u1ea1n ch\u1ec9 \u0111\u01b0\u1ee3c nh\u1eadp t\u1ed1i \u0111a 255 k\xfd t\u1ef1"),title:h.Z_().trim().required("B\u1ea1n c\u1ea7n nh\u1eadp ti\xeau \u0111\u1ec1").min(5).max(255,"B\u1ea1n ch\u1ec9 \u0111\u01b0\u1ee3c nh\u1eadp t\u1ed1i \u0111a 255 k\xfd t\u1ef1"),message:h.Z_().trim().required("B\u1ea1n c\u1ea7n nh\u1eadp tin nh\u1eafn").min(5).max(255,"B\u1ea1n ch\u1ec9 \u0111\u01b0\u1ee3c nh\u1eadp t\u1ed1i \u0111a 255 k\xfd t\u1ef1")}),w=(0,i.cI)({mode:"onSubmit",reValidateMode:"onChange",resolver:(0,g.X)(_),defaultValues:{name:"",email:"",title:"",message:""}}),Z=w.handleSubmit,C=w.control,B=w.setValue,P=(w.watch,w.register);return(0,b.jsx)(c.Z,{title:"Li\xean h\u1ec7",children:(0,b.jsx)(y,{children:(0,b.jsx)("div",{className:"container",children:(0,b.jsxs)("div",{className:"row",children:[(0,b.jsx)("div",{className:"col-lg-6 col-12",children:(0,b.jsxs)("div",{className:"contact-question",children:[(0,b.jsx)("div",{className:"contact-unit"}),(0,b.jsx)("h4",{children:"Li\xean l\u1ea1c v\u1edbi ch\xfang t\xf4i"}),(0,b.jsxs)("h3",{children:["B\u1ea1n c\xf3 c\xe2u h\u1ecfi ? ",(0,b.jsx)("br",{}),"H\xe3y li\xean h\u1ec7 v\u1edbi ch\xfang t\xf4i ",(0,b.jsx)("i",{children:"\ud83d\udc4b"})]}),(0,b.jsx)("p",{children:"\u0110i\u1ec1n v\xe0o bi\u1ec3u m\u1eabu v\xe0 \u0111\u1ed9i ng\u0169 c\u1ee7a ch\xfang t\xf4i s\u1ebd li\xean h\u1ec7 l\u1ea1i trong v\xf2ng 24h"}),(0,b.jsxs)(a.Z,{onSubmit:Z((function(n){k((0,v.b8)({postData:{name:null===n||void 0===n?void 0:n.name,email:null===n||void 0===n?void 0:n.email,subject:null===n||void 0===n?void 0:n.title,content:null===n||void 0===n?void 0:n.message},cb:function(n){var e=n.success,t=n.error;(0,j.PV)({message:e?"Ch\xfang t\xf4i \u0111\xe3 nh\u1eadn \u0111\u01b0\u1ee3c tin nh\u1eafn c\u1ee7a b\u1ea1n. Ch\xfang t\xf4i s\u1ebd ph\u1ea3n h\u1ed3i l\u1ea1i b\u1ea1n nhanh nh\u1ea5t c\xf3 th\u1ec3. Xin c\u1ea3m \u01a1n!":null===t||void 0===t?void 0:t.message})}}))})),className:"formSignIn rounded-3",children:[(0,b.jsx)(s.Z,{control:C,className:"form-group",setValue:B,register:P,type:"text",name:"name",label:"H\u1ecd v\xe0 t\xean",defaultValue:""}),(0,b.jsx)(s.Z,{control:C,className:"form-group",setValue:B,register:P,type:"text",name:"email",label:"Email",defaultValue:""}),(0,b.jsx)(s.Z,{control:C,className:"form-group",setValue:B,register:P,type:"text",name:"title",label:"Ch\u1ee7 \u0111\u1ec1",defaultValue:""}),(0,b.jsx)(s.Z,{control:C,className:"form-group",setValue:B,register:P,type:"text-area",name:"message",label:"N\u1ed9i dung",defaultValue:""}),(0,b.jsx)(l.Z,{type:"submit",variant:"primary",size:"large",text:"G\u1eedi tin nh\u1eafn",icon:"fa-arrow-right"})]})]})}),(0,b.jsxs)("div",{className:"col-lg-6 col-12 main-position",children:[(0,b.jsx)("div",{className:"contact-position",children:(0,b.jsxs)("div",{className:"contact-position-content",children:[(0,b.jsx)("div",{className:"position-cont",children:(0,b.jsx)("p",{children:"V\u1ecb tr\xed"})}),(0,b.jsx)("h3",{children:null===(e=N.find((function(n){return 43==n.get("id")})))||void 0===e?void 0:e.get("value")}),(0,b.jsx)("div",{className:"position-cont",children:(0,b.jsx)("p",{children:"Gi\u1edd l\xe0m vi\u1ec7c"})}),(0,b.jsx)("h3",{children:(0,p.NN)(null===(t=N.find((function(n){return 123==n.get("id")})))||void 0===t?void 0:t.get("value"))}),(0,b.jsx)("p",{children:"Nh\xf3m h\u1ed7 tr\u1ee3 c\u1ee7a ch\xfang t\xf4i lu\xf4n s\u1eb5n s\xe0ng 24h"}),(0,b.jsx)("div",{className:"position-cont",children:(0,b.jsx)("p",{children:"Li\xean h\u1ec7"})}),(0,b.jsx)(f(),{href:"tel:".concat(null===(o=N.find((function(n){return 122==n.get("id")})))||void 0===o?void 0:o.get("value")),children:(0,b.jsx)("h3",{children:null===(r=N.find((function(n){return 122==n.get("id")})))||void 0===r?void 0:r.get("value")})}),(0,b.jsx)(f(),{href:"mailto:".concat(null===(d=N.find((function(n){return 64==n.get("id")})))||void 0===d?void 0:d.get("value")),children:(0,b.jsx)("p",{children:null===(m=N.find((function(n){return 64==n.get("id")})))||void 0===m?void 0:m.get("value")})}),(0,b.jsxs)("div",{className:"position-content-icon",children:[(0,b.jsx)("a",{href:"",children:(0,b.jsx)("i",{className:"fab fa-facebook"})}),(0,b.jsxs)("a",{href:"",children:[" ",(0,b.jsx)("i",{className:"fab fa-twitter"})]}),(0,b.jsx)("a",{href:"",children:(0,b.jsx)("i",{className:"fab fa-instagram"})}),(0,b.jsx)("a",{href:"",children:(0,b.jsx)("i",{className:"fab fa-invision"})})]})]})}),(0,b.jsxs)("div",{className:"contact-position-unittop",children:[(0,b.jsx)("div",{className:"unittop1"}),(0,b.jsx)("div",{className:"unittop2"}),(0,b.jsx)("div",{className:"unittop3"})]}),(0,b.jsxs)("div",{className:"contact-position-unitleft",children:[(0,b.jsx)("div",{className:"unitleft1"}),(0,b.jsx)("div",{className:"unitleft2"}),(0,b.jsx)("div",{className:"unitleft3"})]})]})]})})})})}))},66405:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return t(32205)}])}},function(n){n.O(0,[523,112,651,999,484,647,774,888,179],(function(){return e=66405,n(n.s=e);var e}));var e=n.O();_N_E=e}]);