PageSourceSearch

https://app.filxo.com/_next/static/chunks/app/contact/page-a9b68ddbb8699de3.js

js filxo.com collected 2026-10-02 01:29:28 UTC 10,927 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1327],{5717:function(e,t,r){Promise.resolve().then(r.bind(r,11810))},11810:function(e,t,r){"use strict";r.d(t,{ContactPageClient:function(){return d}});var a=r(57437),s=r(2265),n=r(27648);let l=s.forwardRef(function(e,t){let{title:r,titleId:a,...n}=e;return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},n),r?s.createElement("title",{id:a},r):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))});var o=r(99513),i=r(29116);let c=[{value:"general",label:"General question"},{value:"billing",label:"Billing or plan"},{value:"technical",label:"Something broke"},{value:"abuse_feedback",label:"Abuse or safety"},{value:"partnership",label:"Partnership or press"},{value:"other",label:"Other"}];function d(){let[e,t]=(0,s.useState)({name:"",email:"",topic:"general",message:""}
1),[r,d]=(0,s.useState)("idle"),m=async r=>{r.preventDefault(),d("sending");try{await (0,i.Q5)({name:e.name.trim()||null,email:e.email,message:e.message,topic:e.topic}),d("success"),t({name:"",email:"",topic:"general",message:""}),setTimeout(()=>d("idle"),5e3)}catch(e){d("error"),setTimeout(()=>d("idle"),5e3)}},u=e=>{let{name:r,value:a}=e.target;t(e=>({...e,[r]:a}))};return(0,a.jsxs)("div",{className:"bg-bg-primary",children:[(0,a.jsx)("section",{className:"relative overflow-hidden bg-gradient-to-b from-bg-secondary to-bg-primary py-16 sm:py-24",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"mx-auto mb-16 max-w-3xl text-center",children:[(0,a.jsx)("h1",{className:"mb-4 text-3xl font-bold tracking-tight text-text-primary sm:text-4xl lg:text-5xl",children:"Let's Talk"}),(0,a.jsx)("p",{className:"text-lg leading-relaxed text-text-secondary sm:text-xl",children:"Have questions, feedback, or need help? We're here to assist. Reach out and we'll get back to you within 24 hours."})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-12 lg:grid-cols-[2fr_3fr] lg:gap-16",children:[(0,a.jsxs)("div",{className:"space-y-8",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"mb-4 text-2xl font-bold text-text-primary",children:"Contact Information"}),(0,a.jsx)("p",{className:"leading-relaxed text-text-secondary",children:"Choose the best way to reach us. We typically respond within 24 hours."})]}),(0,a.jsx)("div",{className:"space-y-6",children:(0,a.jsxs)("div",{className:"flex items-start gap-4 roun
1ded-xl border border-border-light bg-bg-primary p-5 transition-all duration-200 hover:shadow-md",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-lg bg-bg-tertiary",children:(0,a.jsx)(l,{className:"h-6 w-6 text-text-secondary"})})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"mb-1 text-base font-semibold text-text-primary",children:"Email"}),(0,a.jsx)("a",{href:"mailto:[email protected]",className:"text-sm text-text-secondary transition-colors hover:text-text-primary",children:"[email protected]"}),(0,a.jsx)("p",{className:"mt-1 text-xs text-text-muted",children:"This is currently the best way to reach us."})]})]})})]}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"rounded-xl border border-border-light bg-bg-primary p-8 shadow-sm lg:p-10",children:[(0,a.jsx)("h2",{className:"mb-2 text-2xl font-bold text-text-primary",children:"Send us a message"}),(0,a.jsx)("p",{className:"mb-8 text-sm text-text-secondary",children:"Fill out the form below and we'll get back to you as soon as possible."}),"success"===r?(0,a.jsx)("div",{className:"mb-6 rounded-lg border border-green-200 bg-green-50 p-4 dark:border-green-800 dark:bg-green-950/40",children:(0,a.jsx)("p",{className:"text-center text-sm font-medium text-green-800 dark:text-green-200",children:"Thank you! Your message has been sent successfully. We'll get back to you within 24 hours."})}):null,"error"===r?(0,a.jsx)("div",{className:"mb-6 rounded-lg border border-red-200 bg-red-50 p-4 dark:border-red-900 dark:bg-red-950/40",children:(0,a.jsx)("p",{className:"text-center text-sm font-medium text-red-800 dark:text-red-200",children:"Something went wrong. Please try again or email us directly at [email protected]."})}):null,(0,a.jsxs)("form",{onSubmit:m,className:"space-y-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"name",className:"mb-2 block text-sm font-medium text-text-secondary",children:"Full Name"}),(0,a.jsx)("input",{type:"text",id:"name",name:"name",value:e.name,onChange:u,required:!0,placeholder:"John Doe",className:"w-full rounded-lg border border-border-primary bg-bg-primary px-4 py-3 text-text-primary placeholder:text-text-placeholder transition-colors focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"email",className:"mb-2 block text-sm font-medium text-text-secondary",children:"Email Address"}),(0,a.jsx)("input",{type:"email",id:"email",name:"email",value:e.email,onChange:u,required:!0,placeholder:"[email protected]",className:"w-full rounded-lg border border-border-primary bg-bg-primary px-4 py-3 text-text-primary placeholder:text-text-placeholder transition-colors focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"topic",className:"mb-2 block text-sm font-medium text-text-secondary",children:"Query type"}),(0,a.jsx)(o.p,{id:"topic",name:"topic",value:e.topic,onChange:u,disabled:"sending"===r,wrapperClassName:"w-full",className:"w-full rounded-lg border border-border-primary bg-bg-primary px-4 py-3 text-sm text-text-primary transition-colors focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary disabled:cursor-not-allowed disabled:opacity-50",children:c.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"message",className:"mb-2 block text-sm font-medium text-text-secondary",children:"Message"}),(0,a.jsx)("textarea",{id:"message",name:"message",value:e.message,onChange:u,required:!0,minLength:10,rows:8,placeholder:"Tell us how we can help you...",className:"w-full resize-none rounded-lg border border-border-primary bg-bg-primary px-4 py-3 text-text-primary placeholder:text-text-placeholder transition-colors focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"})]}),(0,a.jsx)("div",{className:"flex justify-center pt-2",children:(0,a.jsx)("button",{type:"submit",disabled:"sending"===r,className:"w-full rounded-lg bg-primary px-8 py-3.5 font-semibold text-white shadow-sm transition-all duration-200 hover:bg-primary-hover focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:w-auto",children:"sending"===r?"Sending...":"Send Message"})}),(0,a.jsx)("p",{className:"mt-4 text-center text-xs text-text-muted",children:"By 
1submitting this form, you agree to our privacy policy. We'll never share your information."})]})]})})]})]})}),(0,a.jsx)("section",{className:"bg-gradient-to-b from-bg-primary to-bg-secondary py-16 sm:py-20",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[(0,a.jsx)("h2",{className:"mb-4 text-2xl font-bold text-text-primary sm:text-3xl",children:"Looking for quick answers?"}),(0,a.jsx)("p",{className:"mb-8 text-base leading-relaxed text-text-secondary sm:text-lg",children:"Check out our FAQ section for instant answers to common questions."}),(0,a.jsx)(n.default,{href:"/#faqs",className:"inline-block rounded-lg bg-primary px-8 py-3.5 text-base font-semibold text-white shadow-lg transition-all duration-200 hover:bg-primary-hover",children:"Visit FAQs"})]})})})]})}},99513:function(e,t,r){"use strict";r.d(t,{p:function(){return o}});var a=r(57437),s=r(2265),n=r(40875),l=r(94508);let o=(0,s.forwardRef)((e,t)=>{let{className:r,children:s,disabled:o,wrapperClassName:i,...c}=e;return(0,a.jsxs)("div",{className:(0,l.cn)("relative min-w-0",i),children:[(0,a.jsx)("select",{ref:t,disabled:o,className:(0,l.cn)("w-full cursor-pointer appearance-none pr-10",o&&"cursor-not-allowed",r),...c,children:s}),(0,a.jsx)(n.Z,{"aria-hidden":!0,className:(0,l.cn)("pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-muted",o&&"opacity-50")})]})});o.displayName="NativeSelect"},94508:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(61994);function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.W)(t)}},79205:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var a=r(2265);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:c="",children:d,iconNode:m,...u}=e;return(0,a.createElement)("svg",{ref:t,...l,width:s,height:s,stroke:r,strokeWidth:i?24*Number(o)/Number(s):o,className:n("lucide",c),...u},[...m.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),i=(e,t)=>{let r=(0,a.forwardRef)((r,l)=>{let{className:i,...c}=r;return(0,a.createElement)(o,{ref:l,iconNode:t,className:n("lucide-".concat(s(e)),i),...c})});return r.displayName="".concat(e),r}},40875:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},27648:function(e,t,r){"use strict";r.d(t,{default:function(){return s.a}});var a=r(72972),s=r.n(a)},61994:function(e,t,r){"use strict";function a(){for(var e,t,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=function e(t){var r,a,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t){if(Array.isArray(t)){var n=t.length;for(r=0;r<n;r++)t[r]&&(a=e(t[r]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a)}return s}(e))&&(a&&(a+=" "),a+=t);return a}r.d(t,{W:function(){return a}}),t.Z=a}},function(e){e.O(0,[2972,9116,2971,2117,1744],function(){return e(e.s=5717)}),_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.