1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{1431:function(e,t,l){"use strict";l.d(t,{Z:function(){return E}});var n=l(7294),s=l(3967),a=l.n(s),i=l(8423);function r(e){return["small","middle","large"].includes(e)}var c=l(3124),o=l(3559),d=l(3262);let u=["wrap","nowrap","wrap-reverse"],h=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],x=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],f=(e,t)=>{let l=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${l}`]:l&&u.includes(l)}},p=(e,t)=>{let l={};return x.forEach(n=>{l[`${e}-align-${n}`]=t.align===n}),l[`${e}-align-stretch`]=!t.align&&!!t.vertical,l},m=(e,t)=>{let l={};return h.forEach(n=>{l[`${e}-justify-${n}`]=t.justify===n}),l},v=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",margin:0,padding:0,"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},g=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,l={};return u.forEach(e=>{l[`${t}-wrap-${e}`]={flexWrap:e}}),l},j=e=>{let{componentCls:t}=e,l={};return x.forEach(e=>{l[`${t}-align-${e}`]={alignItems:e}}),l},_=e=>{let{componentCls:t}=e,l={};return h.forEach(e=>{l[`${t}-justify-${e}`]={justifyContent:e}}),l},b=()=>({});var N=(0,o.I$)("Flex",e=>{let{paddingXS:t,padding:l,paddingLG:n}=e,s=(0,d.IX)(e,{flexGapSM:t,flexGap:l,flexGapLG:n});return[v(s),g(s),y(s),j(s),_(s)]},b,{resetStyle:!1}),w=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)0>t.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(l[n[s]]=e[n[s]]);return l};let S=n.forwardRef((e,t)=>{let{prefixCls:l,rootClassName:s,className:o,style:d,flex:u,gap:h,vertical:x=!1,component:v="div",children:g}=e,y=w(e,["prefixCls","rootClassName","className","style","flex","gap","vertical","component","children"]),{flex:j,direction:_,getPrefixCls:b}=n.useContext(c.E_),S=b("flex",l),[E,C,$]=N(S),O=null!=x?x:null==j?void 0:j.vertical,I=a()(o,s,null==j?void 0:j.className,S,C,$,a()(Object.assign(Object.assign(Object.assign({},f(S,e)),p(S,e)),m(S,e))),{[`${S}-rtl`]:"rtl"===_,[`${S}-gap-${h}`]:r(h),[`${S}-vertical`]:O}),W=Object.assign(Object.assign({},null==j?void 0:j.style),d);return u&&(W.flex=u),h&&!r(h)&&(W.gap=h),E(n.createElement(v,Object.assign({ref:t,className:I,style:W},(0,i.Z)(y,["justify","wrap","align"])),g))});var E=S},1382:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return l(9860)}])},8319:function(e,t,l){"use strict";l.d(t,{C:function(){return i}});var n=l(5893),s=l(7294),a=l(6632);let i=e=>{var t;let{className:l,defaultValue:i,onSubmit:r,onInput:c,prefix:o,hint:d,type:u,maxLength:h,showClear:x,otpText:f,style:p}=e,[m,v]=s.useState(!1),[g,y]=(0,s.useState)(i);(0,s.useEffect)(()=>{i!=g&&y(i)},[i]);let j=e=>{y(e.target.value),null==c||c(e.target.value)};return(0,n.jsxs)("div",{className:"flex items-center gap-2 input-login ".concat(l),children:[o||(0,n.jsx)(n.Fragment,{}),(0,n.jsx)("input",{style:p,maxLength:h,onKeyUp:e=>{"Enter"==e.key&&(null==r||r())},onClick:()=>v(!0),onBlur:()=>v(!1),placeholder:null!=d?d:"",onInput:j,onSubmit:r,value:g,className:"grow-1",type:null!=u?u:"text"}),x&&(null!==(t=null==g?void 0:g.length)&&void 0!==t?t:0)>0&&(0,n.jsx)("div",{className:"",children:(0,n.jsx)(a.Z,{style:{width:16,height:16},onClick:function(){y(""),null==c||c("")},src:"/asset/v2/images/svgClose.svg"})}),f&&(0,n.jsx)("div",{style:{right:16,top:16},className:"pointer bold color1 text-12 text-right",children:f})]})}},1736:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var n=l(5893),s=l(7871),a=l(1664),i=l.n(a),r=l(1163),c=l(7294);function o(e){let{type:t="dark",className:l,hideTerms:a,style:o,id:d,bottomStyle:u}=e;(0,r.useRouter)();let{t:h}=(0,s.$G)(),[x,f]=c.useState(!1),[p,m]=c.useState(!1),[v,g]=c.useState(!1),[y,j]=c.useState(!1);return(0,n.jsx)("div",{id:null!=d?d:"footerPageV2",style:{...o},className:"".concat(l," text-12 bold relative"),children:(0,n.jsx)("div",{style:u,className:"bottom flex flex-col",children:(0,n.jsxs)("div",{className:"container flex gap-4 justify-center items-center mx-auto",children:[(0,n.jsx)("div",{className:"address-text",children:h("copyright")}),!a&&(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(i(),{className:"text-white",href:"/privacy-policy",children:h("policy")}),(0,n.jsx)("span",{className:"address-text",children:"&"}),(0,n.jsx)(i(),{className:"text-white",href:"/terms",children:h("terms")}),(0,n.jsx)("span",{className:"address-text",children:"&"}),(0,n.jsx)(i(),{className:"text-white",href:"/acceptable-use-policy",children:h("acceptable_use_policy")})]})]})})})}},9860:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return S},default:function(){return E}});var n=l(5893),s=l(1216),a=l(1026),i=l(57),r=l(1203),c=l(7804),o=l(4797),d=l(8319),u=l(56),h=l(790),x=l(7871),f=l(1163),p=l(7294),m=l(2812);let v=e=>{let{onClose:t,error:l=""}=e,s=(0,f.useRouter)(),[a,i,r]=(0,h.Z)(),{t:c}=(0,x.$G)(),[o,d]=(0,p.useState)(!0);return(0,p.useEffect)(()=>{let e=document.querySelectorAll(".btn-green"),t=0;
1e.forEach(e=>{t=Math.max(t,e.clientWidth)}),console.log(t),e.forEach(e=>{e.style.minWidth=t+"px"})},[s.query]),(0,p.useEffect)(()=>(document.body.style.overflowY=o?"hidden":"scroll",()=>{document.body.style.overflowY="scroll"}),[o]),(0,p.useEffect)(()=>{r&&d(!1)},[r,o]),(0,p.useEffect)(()=>{o||null==t||t()},[o,t]),(0,n.jsx)(n.Fragment,{children:o&&(0,n.jsx)(m.Z,{onClose:t,showClose:!1,title:c((null==l?void 0:l.length)>0?"failed":"message_sent"),titleStyle:{fontSize:18,color:"#E8FFF4",fontFamily:"Paperlogy9"},className:"modal-contact-sent py-5",open:o,children:(0,n.jsx)("div",{className:"relative h-full",children:(0,n.jsx)("div",{className:"text-center ".concat((null==l?void 0:l.length)>0?"text-danger":""),children:(null==l?void 0:l.length)>0?(0,n.jsx)("div",{className:"",children:c(l)}):(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{fontWeight:500,fontSize:12,color:"#E8FFF4"},children:c("thanks_for_reaching_out")}),(0,n.jsx)("div",{style:{fontWeight:500,fontSize:12,color:"#B9E6D0"},children:(0,n.jsx)(x.cC,{i18nKey:"weve_received_your_inquiry_and_will_get_back_to_you_shortly",components:{br:(0,n.jsx)("br",{})}})}),(0,n.jsx)("div",{onClick:t,className:"mt-4 pointer",style:{backgroundColor:"#38D27D",position:"relative",left:-16,width:"calc(100% + 32px)",padding:"0.5rem 0",fontWeight:"bold",fontSize:14,color:"#E8FFF4"},children:c("got_it")})]})})})})})};var g=l(5196),y=l(1736),j=l(5654),_=l(1431),b=l(3299),N=l(9008),w=l.n(N),S=!0;function E(){var e,t;let l=(0,f.useRouter)(),{t:h}=(0,x.$G)(),{isAuthenticated:m,user:N}=(0,i.t)(),[S,E]=(0,p.useState)(!1),[C,$]=(0,p.useState)("deepSAME"),[O,I]=(0,p.useState)(!1),[W,k]=(0,p.useState)(!1);(0,p.useEffect)(()=>{let e=setInterval(()=>{"site_name"!=h("site_name")&&(I(!0),clearInterval(e))},1e3);return()=>{clearInterval(e)}},[h]),(0,p.useEffect)(()=>{$(h("site_name"))},[h]),(0,p.useEffect)(()=>{r.$.removeCachePage()},[]);let[F,Z]=(0,p.useState)(""),[G,P]=(0,p.useState)(!1),[q,z]=(0,p.useState)(""),[L,M]=(0,p.useState)(""),[A,D]=(0,p.useState)(""),[R,T]=(0,p.useState)(""),[V,K]=(0,p.useState)(""),[X,B]=(0,p.useState)("");(0,p.useEffect)(()=>{if(N){var e,t;z(null!==(e=N.name)&&void 0!==e?e:""),M(null!==(t=N.email)&&void 0!==t?t:"")}console.log({user:N})},[N]);let H=e=>{M(e)},Y=e=>{T(e)},U=e=>{z(e)},J=e=>{D(e)},Q=e=>{K(e)},ee=e=>{B(e)},et=(0,p.useMemo)(()=>0!=q.trim().length&&(!(R.length>0)||!(R.trim().length<9))&&!!c.Z.isValidEmail(L)&&0!=X.trim().length,[A,L,X,q,R]),el=()=>{E(!0),s.S.post(a.Fu.contact,{email:L,phone:R,website:V,inquiry:X,company:A,name:q}).then(e=>{P(!0),k(!0)}).catch(e=>{var t,l,n,s;Z(null!==(s=null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(l=t.data)||void 0===l?void 0:null===(n=l.details)||void 0===n?void 0:n.map(e=>e.message).join(", "))&&void 0!==s?s:e.message)}).finally(()=>{E(!1)})};return(0,n.jsxs)(b.SessionProvider,{children:[(0,n.jsx)(w(),{children:(0,n.jsx)("title",{children:C})}),O?(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex justify-center items-center pagePrivacy",style:{position:"fixed",top:0,left:0,width:"100vw",zIndex:1e3},children:[!m&&(0,n.jsx)(j.Z,{showLanguage:!1,showNews:!1}),m&&(0,n.jsx)(g.Z,{showPricing:!1,showLanguage:!1,showSearch:!1,page:"dashboard"})]}),(0,n.jsxs)("div",{id:"pagePrivacy",children:[(0,n.jsxs)("div",{className:"user-page-content px-4 flex flex-col gap-4 address-text text-14px",style:{width:"calc(100vw - 2rem)",maxWidth:720,minHeight:"100vh"},children:[(0,n.jsx)("div",{children:(0,n.jsx)("h1",{className:"font-bold text-center text-white text-24px capitalize",children:h("contact_us")})}),(0,n.jsx)("div",{className:"terms-content text-14px address-text text-normal mt-8",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:"card",children:[(0,n.jsxs)("div",{className:"card-content",children:[(0,n.jsx)("p",{className:"text-20px bold",style:{color:"rgb(154,190,162)"},children:h("inquiry")}),(0,n.jsx)("p",{className:"address-text",children:h("all_start_required_field")})]}),(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsxs)(_.Z,{vertical:!0,className:"gap-3 gap-2-mobile items-stretch text-normal",children:[(0,n.jsx)(d.C,{style:{fontWeight:400},defaultValue:null!==(e=null==N?void 0:N.name)&&void 0!==e?e:"",onInput:U,hint:h("name_placeholder")}),(0,n.jsx)(d.C,{style:{fontWeight:400},defaultValue:null!==(t=null==N?void 0:N.email)&&void 0!==t?t:"",onInput:H,type:"email",hint:h("email_placeholder")}),(0,n.jsx)(d.C,{style:{fontWeight:400},onInput:J,hint:h("company_placeholder")+" (".concat(h("optional"),")")}),(0,n.jsx)(d.C,{style:{fontWeight:400},onInput:Y,hint:h("phone_placeholder")+" (".concat(h("optional"),")")}),(0,n.jsx)(d.C,{style:{fontWeight:400},onInput:Q,hint:h("website_placeholder")+" (".concat(h("optional"),")")}),(0,n.jsx)("textarea",{style:{outline:"none",fontWeight:400,fontSize:14},className:"input-login inquiry-detail",onInput:e=>{ee(e.currentTarget.value)},placeholder:h("inquiry_placeholder")+"\n".concat(h("please_describe_your_inquiery_in_detail"))})]}),(0,n.jsx)("div",{className:"mt-8 text-12 text-center",style:{color:"rgb(118,118,118)"},children:(0,n.jsx)(x.cC,{components:[(0,n.jsx)("br",{},"br")],i18nKey:h("delete_contact_after_1_year")})}),(0,n.jsx)("div",{className:"mt-8 flex justify-center items-center text-center ".concat(W?"invisible":""),children:(0,n.jsx)(u.r,{loading:S,hideTextWhenLoading:!0,onClick:el,disabled:!et,className:"px-4",type:"submit",text:h("submit"),style:{minWidth:200}})})]})]})})})]}),G&&(0,n.jsx)(v,{onClose:()=>{P(!1),l.back()}}),F.length>0&&(0,n.jsx)(v,{error:F,onClose:()=>Z("")}),(0,n.jsx)(y.Z,{})]})]}):(0,n.jsx)("div",{className:"flex justify-center items-center",style:{minHeight:"100vh"},children:(0,n.jsx)(o.Z,{})})]})}},8423:function(e,t,l){"use strict";function n(e,t){var l=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete l[e]}),l}l.d(t,{Z:function(){return n}})}},function(e){e.O(0,[871,229,763,904,654,997,774,888,179],function(){return e(e.s=1382)}),_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.