1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{78367:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return a(2054)}])},74098:function(e,t,a){"use strict";a.d(t,{Ol:function(){return n},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var r=a(85893),s=a(67294),l=a(59923);let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("rounded-lg border border-slate-200 bg-white text-slate-950 shadow-sm dark:border-slate-800 dark:bg-slate-950 dark:text-slate-50",a),...s})});i.displayName="Card";let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",a),...s})});n.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-slate-500 dark:text-slate-400",a),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},69999:function(e,t,a){"use strict";a.d(t,{I:function(){return i}});var r=a(85893),s=a(67294),l=a(59923);let i=s.forwardRef((e,t)=>{let{className:a,type:s,...i}=e;return(0,r.jsx)("input",{type:s,autoComplete:"off",className:(0,l.cn)("flex h-10 w-full rounded-md border border-slate-200 bg-white px-3 py-2 text-sm r
1ing-offset-white file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-slate-500 disabled:cursor-not-allowed disabled:opacity-50 dark:border-slate-600 dark:bg-slate-950 dark:ring-offset-slate-950 dark:placeholder:text-slate-400 dark:focus-visible:ring-slate-300",a),ref:t,...i})});i.displayName="Input"},53748:function(e,t,a){"use strict";a.d(t,{g:function(){return i}});var r=a(85893),s=a(67294),l=a(59923);let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("textarea",{className:(0,l.cn)("flex min-h-[80px] w-full resize-none rounded-md border border-slate-200 bg-white px-3 py-2 text-sm ring-offset-white placeholder:text-slate-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 disabled:cursor-not-allowed disabled:opacity-50 dark:border-slate-600 dark:bg-slate-950 dark:ring-offset-slate-950 dark:placeholder:text-slate-400 dark:focus-visible:ring-slate-300",a),ref:t,...s})});i.displayName="Textarea"},53353:function(e,t,a){"use strict";a.d(t,{l:function(){return r}});let r=e=>/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/.test(e)},34798:function(e,t,a){"use strict";a.d(t,{D:function(){return r}});let r=()=>"https://api.cypherscribe.com"},2054:function(e,t,a){"use strict";a.r(t);var r=a(85893),s=a(69999),l=a(53748),i=a(74098),n=a(2759),o=a(67294),d=a(74304),c=a(87066),u=a(34798),m=a(53353),h=a(62153),x=a(19982),f=a(41907),p=a(41664),g=a.n(p),w=a(33299),j=a(44667),v=a(96782);t.default=()=>{let[e,t]=(0,o.useState)({name:"",email:"",query:""}),[a,p]=(0,o.useState)(!1),{data:C}=(0,w.useSession)(),_=async a=>{if(a.preventDefault(),""===e.name.trim()||""===e.email.trim()||""===e.query.trim())return(0,d.Am)({title:"Please enter all the fields"});if(!(0,m.l)(e.email))return(0,d.Am)({title:"Please enter a valid email"});let r=new FormData;r.append("name",e.name),r.append("email",e.email),r.append("message",e.query),r.append("date",new Date),(null==C?void 0:C.user)&&r.append("user_id",null==C?void 0:C.user.id),p(!0);try{let e=await c.Z.post("".concat((0,u.D)(),"/contact-form"),r,{headers:{"Content-Type":"application/json"}});p(!1),e.data.success&&((0,d.Am)({title:"We will get back to you within 5 hours"}),t({name:"",email:"",query:""}))}catch(e){p(!1),(0,d.Am)({title:"An error occurred, Please try again later"})}};return(0,r.jsxs)("div",{children:[(0,r.jsx)(h.Z,{}),(0,r.jsx)(j.Z,{title:v.y6.title,description:v.y6.description,keywords:v.y6.keywords,canonicalUrl:"https://cypherscribe.com/contact"}),(0,r.jsx)("div",{className:"flex min-h-[100dvh] pt-24 items-center justify-center bg-gray-100 px-4 py-12 dark:bg-gray-950",children:(0,r.jsxs)("div",{className:"mx-auto w-full max-w-md
1space-y-6",children:[(0,r.jsxs)("div",{className:"space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-3xl font-bold md:text-4xl lg:text-5xl",children:"Get in touch"}),(0,r.jsx)(x.v,{})]}),(0,r.jsxs)(i.Zb,{className:"pt-6",children:[(0,r.jsxs)(i.aY,{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("label",{htmlFor:"name",children:"Name"}),(0,r.jsx)(s.I,{vlaue:e.name,onChange:a=>t({...e,name:a.target.value}),autoComplete:"off",id:"name",placeholder:"Your name"})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("label",{htmlFor:"email",children:"Email"}),(0,r.jsx)(s.I,{vlaue:e.email,onChange:a=>t({...e,email:a.target.value}),autoComplete:"off",id:"email",placeholder:"Your Email",type:"email"})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("label",{htmlFor:"query",children:"What can we help with?"}),(0,r.jsx)(l.g,{value:e.query,onChange:a=>t({...e,query:a.target.value}),autoComplete:"off",className:"min-h-[85px]",id:"query",placeholder:"Your message"})]})]}),(0,r.jsx)(i.eW,{children:(0,r.jsxs)(n.z,{onClick:_,disabled:a,className:"w-full",type:"submit",children:[a&&(0,r.jsx)(y,{className:"w-5 h-5 mr-2 animate-spin"}),"Send message"]})}),(0,r.jsxs)("div",{className:"mt-3",children:[(0,r.jsx)("p",{className:"bg-gray-600 w-[88%] mx-auto h-[1px]"}),(0,r.jsx)("div",{className:"relative w-full flex justify-center -top-[12px]",children:(0,r.jsx)("p",{className:"absolute bg-black px-3",children:"OR"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-around mt-9 mb-6",children:[(0,r.jsx)(g(),{href:"mailto:[email protected]",children:(0,r.jsx)(k,{size:22,className:" transition-all ease-in duration-150 hover:text-gray-400"})}),(0,r.jsx)(g(),{href:"https://x.com/govind755",target:"_blank",children:(0,r.jsx)(N,{size:22,className:"text-white cursor-pointer transition-all ease-in duration-150 hover:text-gray-400"})}),(0,r.jsx)(g(),{href:"https://discord.com/users/loner_yet_strong01",target:"_blank",children:(0,r.jsx)(b,{size:22,className:"text-white cursor-pointer transition-all ease-in duration-150 hover:text-gray-400"})})]})]})]})}),(0,r.jsx)(f.$,{})]})};let y=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","stroke-linejoin":"round",className:"animate-spin",children:(0,r.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),b=()=>(0,r.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 640 512",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"})}),N=()=>(0,r.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 512 512",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})}),k=()=>
1(0,r.jsxs)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"})]})},11163:function(e,t,a){e.exports=a(73035)}},function(e){e.O(0,[9483,1664,7066,9408,9964,2888,9774,179],function(){return e(e.s=78367)}),_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.