PageSourceSearch

https://www.tqcsolution.com/_next/static/chunks/pages/contact-us-bf63e1c251300bea.js

js tqcsolution.com collected 2026-10-02 01:46:56 UTC 10,113 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{2873:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return s(3155)}])},7154:function(e,t,s){"use strict";s.d(t,{Z:function(){return h}});var i=s(5893),n=s(5675),a=s.n(n),c=s(7294);s(6852),s(7827);var r=function(){return(0,i.jsxs)("div",{className:"popup-confirm",children:[(0,i.jsx)("div",{className:"popup-mask"}),(0,i.jsxs)("div",{className:"box-popup",children:[(0,i.jsx)(a(),{width:60,height:60,src:"/assets/icons/ic-check-circle-solid.svg",alt:"pub-star"}),(0,i.jsx)("div",{className:"box-popup-status-title",children:"Success"}),(0,i.jsx)("div",{className:"box-popup-status-description",children:"Your account has been subcribe succesfully!"})]})]})},o=s(6486),l=s.n(o),d=s(4752),u=s(9988),h=function(){let[e,t]=(0,c.useState)(!1),[s,n]=(0,c.useState)(""),[o,h]=(0,c.useState)(!1),m=(0,c.useCallback)(l().debounce((e,t)=>t(e),100),[]);(0,c.useEffect)(()=>{if(e){let e=setTimeout(()=>{t(!1),clearTimeout(e)},2e3)}},[e]);let x=()=>{if(o||!s)return;t(!0);let e=localStorage.getItem(d.XF),i={email:s,time:new Date().getTime()};if((0,u.Zp)(e||"")){let t=atob(e);if((0,u.pM)(t)){let e=JSON.parse(t);if(Array.isArray(e)){let t=[...e,i];localStorage.setItem(d.XF,btoa(JSON.stringify(t)))}else localStorage.setItem(d.XF,btoa(JSON.stringify([i])))}else localStorage.setItem(d.XF,btoa(JSON.stringify([i])))}else localStorage.setItem(d.XF,btoa(JSON.stringify([i])));n(""),h(!1)};return(0,i.jsxs)("footer",{children:[e&&(0,i.jsx)(r,{}),(0,i.jsxs)("div",{className:"box-company container",children:[(0,i.jsx)(a(),{src:"/assets/images/logo-TQC.png",alt:"TQC Solution logo",width:93,height:44,style:{width:"100%",height:"100%",maxHeight:"44px",maxWidth:"93px"}}),(0,i.jsx)("div",{className:"box-company-text",children:"TQC Solution Joint Stock Company"})]}),(0,i.jsxs)("div",{className:"box-info container",children:[(0,i.jsxs)("div",{className:"box-address",children:[(0,i.jsxs)("div",{className:"box-address-company",children:[(0,i.jsx)(a(),{src:"/assets/images/logo-TQC.png",alt:"TQC Solution logo",width:93,height:44,style:{width:"100%",height:"100%",maxHeight:"44px",maxWidth:"93px"}}),(0,i.jsx)("div",{className:"box-address-company-text",children:"TQC Solution Joint Stock Company"})]}),(0,i.jsxs)("div",{className:"box-address-location",children:[(0,i.jsx)(a(),{src:"/assets/icons/ic-mail.svg",alt:"location icon",width:20,height:20}),(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:"Email:"})," [email protected]"]})]}),(0,i.jsxs)("div",{className:"box-address-location",children:[(0,i.jsx)(a(),{src:"/assets/icons/ic-map-pin.svg",alt:"location icon",width:20,height:20}),(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:"Address:"}),"  24th Floor, CEO Building, Pham Hung Street, Me Tri Ward, Nam Tu Liem District, Ha Noi City, Viet Nam"]})]})]}),(0,i.jsxs)("div",{className:"box-subscribe",children:[(0,i.jsx)("div",{className:"box-subscribe-title",children:"Subscribe"}),(0,i.jsxs)("div",{className:"box-subscribe-input",style:{border:o?"1px solid red":"1px solid var(--border-color-grey)"},children:[(0,i.jsx)("input",{value:s,type:"text",placeholder:"Email Address",onChange:e=>{let t=e.target.value;n(t),m(t,e=>{e&&d.Ej.test(e)?h(!1):h(!0)})},onKeyUp:e=>{13===e.keyCode&&x()}}),(0,i.jsx)(a(),{onClick:x,src:"/assets/icons/ic-arrow-right.svg",alt:"arrow icon",width:20,height:20})]})]})]}),(0,i.jsxs)("div",{className:"box-copyright",children:[(0,i.jsx)(a(),{src:"/assets/icons/ic-copyright.svg",alt:"copyright icon",width:12,height:12}),"2024 TQC Solution. All Rights Reserved",(0,i.jsxs)("div",{className:"policy",children:[(0,i.jsx)("a",{href:"/privacy-policy",children:"Privacy Policy"}),"|",(0,i.jsx)("a",{href:"/cookies-policy",children:"Cookies Policy"}),"|",(0,i.jsx)("a",{href:"/terms-and-conditions",children:"Terms and Conditions"})]})]})]})}},6804:function(e,t,s){"use strict";var i=s(5893),n=s(7294);s(2087);var a=s(5675),c=s.n(a),r=s(1664),o=s.n(r),l=s(1163);let d=[{name:"Home",path:"/"},{name:"Products",path:"/products"},{name:"About us",path:"/about-us"},{name:"Jobs",path:"/jobs"},{name:"Contact",path:"/contact-us"}];t.Z=function(){let e=(0,l.useRouter)(),t=(0,n.useRef)(),[s,a]=(0,n.use
1State)(1),[r,u]=(0,n.useState)(0),[h,m]=(0,n.useState)(!0),x=()=>{m(!h)};(0,n.useEffect)(()=>{let e=()=>{let e=window.scrollY,s=Math.max(0,1-e/1500),i=e>200?160:0;t.current&&(t.current.style.opacity=s,t.current.style.transform="translateY(-".concat(i,"px)")),a(s),u(i)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let p=t=>{let s=e.pathname;return"/"===t?"/"===s:s===t||"/"!==t&&s.startsWith("".concat(t,"/"))};return(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("div",{className:"header",ref:t,style:{transition:"transform 0.2s ease-in-out",opacity:s,transform:"translateY( -".concat(r,"px)")},children:(0,i.jsx)("header",{className:"container",children:(0,i.jsxs)("div",{className:"box-header",children:[(0,i.jsx)("div",{className:"box-logo",children:(0,i.jsx)(o(),{href:"/",children:(0,i.jsx)(c(),{src:"/assets/images/logo-TQC.png",width:126,height:60,alt:"TQC Solution logo",priority:!0,style:{width:"100%",height:"100%"}})})}),(0,i.jsx)("div",{className:"box-menu",children:(0,i.jsx)("ul",{className:"list-menu",children:d.map(e=>{let t=p(e.path);return(0,i.jsx)(o(),{href:e.path,children:(0,i.jsx)("li",{className:"list-menu-item ".concat(t?"active":""),children:e.name})},e.name)})})}),(0,i.jsx)("button",{className:"btn-menu-mobile",onClick:x,children:(0,i.jsx)(c(),{src:"/assets/icons/ic-menu.svg",alt:"menu-open",width:24,height:24})})]})})}),(0,i.jsx)("div",{className:"mobile-menu ".concat(h?"":"open"),onClick:x,children:(0,i.jsxs)("div",{className:"box-menu",onClick:e=>{e.stopPropagation()},children:[(0,i.jsx)("button",{className:"box-menu-close",onClick:x,children:(0,i.jsx)(c(),{src:"/assets/icons/ic-close-circle.svg",alt:"menu-close",width:24,height:24})}),(0,i.jsx)("ul",{className:"box-menu-list",children:d.map(e=>{let t=p(e.path);return(0,i.jsx)(o(),{href:e.path,children:(0,i.jsx)("li",{className:"box-menu-list-item ".concat(t?"active":""),children:e.name})},e.name)})})]})})]})}},4752:function(e,t,s){"use strict";s.d(t,{DV:function(){return n},Ej:function(){return i},XF:function(){return a}});let i=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,n="contact",a="subscribe"},3155:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return p}});var i=s(5893),n=s(6804);s(5689);var a=s(7154),c=s(7294),r=s(5675),o=s.n(r),l=s(9008),d=s.n(l),u=s(6486),h=s.n(u),m=s(4752),x=s(9988);function p(){let[e,t]=(0,c.useState)(!1),[s,r]=(0,c.useState)(""),[l,u]=(0,c.useState)(""),[p,g]=(0,c.useState)(""),[f,j]=(0,c.useState)(""),[b,v]=(0,c.useState)(""),N=(0,c.useCallback)(h().debounce((e,t)=>t(e),100),[]);return(0,i.jsxs)(c.Fragment,{children:[(0,i.jsxs)(d(),{children:[(0,i.jsx)("title",{children:"Contact"}),(0,i.jsx)("meta",{name:"description",content:"Over the years, we have helped content creators across the globe generate more revenue. Artificial Intelligence (AI) algorithms analyze user data and behaviors to show the ads in the right place and audience, and therefore improving the efficiency and user experience"})]}),(0,i.jsx)(n.Z,{}),(0,i.jsxs)("div",{className:"contact-us",children:[(0,i.jsx)(o(),{priority:!0,src:"https://cf.tqcsolution.com/contact.png",width:7680,height:4332,style:{width:"100%",height:"100%"},alt:"banner",className:"img-fixed"}),(0,i.jsxs)("div",{className:"contact-container container",children:[(0,i.jsxs)("div",{className:"contact-form",children:[(0,i.jsx)("div",{className:"contact-form_title",children:"Contact us"}),e&&(0,i.jsxs)("div",{className:"contact-form_success",children:[(0,i.jsx)(o(),{width:300,height:260,src:"/assets/images/car.png",alt:"car"}),(0,i.jsx)("p",{children:"Your message has been sent successfully."})]}),!e&&(0,i.jsxs)("div",{className:"contact-form_form",children:[(0,i.jsxs)("div",{className:"contact-form_form-input",children:[(0,i.jsx)("label",{children:"Your name"}),(0,i.jsx)("input",{placeholder:"Subject",onChange:e=>{r(e.target.value)}})]}),(0,i.jsxs)("div",{className:"contact-form_form-input",children:[(0,i.jsxs)("label",{children:["Your email ",(0,i.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,i.jsx)("input",{placeholder:"Email",onChange:e=>{let t=e.target.value;u(t),N(t,e=>{e&&m.Ej.test(e)?g(!1):g(!0)})},style:{border:p?"1px solid red":""}})]}),(0,i.jsxs)("div",{className:"contact-form_form-input",children:[(0,i.jsxs)("label",{children:["Message ",(0,i.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,i.jsx)("textarea",{placeholder:"Message",rows:5,onChange:e=>{let t=e.target.value;j(t),N(t,e=>{e?v(!1):v(!0)})},style:{border:b?"1px solid red":""}})]}),(0,i.jsx)("button",{className:"contact-form_form-btn",onClick:()=>
1{if(p||b||!l||!f)return;let e=localStorage.getItem(m.DV);if((0,x.Zp)(e||"")){let t=atob(e);if((0,x.pM)(t)){let e=JSON.parse(t),i={name:s,email:l,message:f,time:new Date().getTime()};if(Array.isArray(e)){let t=[...e,i];localStorage.setItem(m.DV,btoa(JSON.stringify(t)))}else localStorage.setItem(m.DV,btoa(JSON.stringify([i])))}}else{let e=new Date().getTime();localStorage.setItem(m.DV,btoa(JSON.stringify([{name:s,email:l,message:f,time:e}])))}t(!0)},children:"Send"})]})]}),(0,i.jsx)(a.Z,{})]})]})]})}},9988:function(e,t,s){"use strict";function i(e){try{return JSON.parse(e),!0}catch(e){return!1}}function n(e){if(""===e||""===e.trim())return!1;try{return btoa(atob(e))==e}catch(e){return!1}}function a(e){return e.toLocaleString("vi-VN")}s.d(t,{Zp:function(){return n},nI:function(){return c},pM:function(){return i},xG:function(){return a}});let c=()=>{var e,t;let s=null===(t=window)||void 0===t?void 0:null===(e=t.navigator)||void 0===e?void 0:e.userAgent;return!(/mobile/i.test(s)||/tablet/i.test(s))}},6852:function(){},2087:function(){},7827:function(){},5689:function(){}},function(e){e.O(0,[662,675,814,774,888,179],function(){return e(e.s=2873)}),_N_E=e.O()}]);

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.