PageSourceSearch

https://www.gaif.ai/_next/static/chunks/app/(routes)/contact/page-6a0ca1850b2746f0.js

js gaif.ai collected 2026-10-05 12:02:55 UTC 7,261 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5397],{3751:(e,r,t)=>{"use strict";t.d(r,{A:()=>i});var a=t(45232);let s=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},o=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).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 n=(0,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:s=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:r,...l,width:s,height:s,stroke:t,strokeWidth:i?24*Number(n)/Number(s):n,className:o("lucide",d),...m},[...u.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(c)?c:[c]])}),i=(e,r)=>{let t=(0,a.forwardRef)((t,l)=>{let{className:i,...d}=t;return(0,a.createElement)(n,{ref:l,iconNode:r,className:o("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...d})});return t.displayName=s(e),t}},26704:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(3751).A)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},68867:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}(r,{callServer:function(){return a.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}});let a=t(46624),s=t(55700),o=t(43946)},87690:(e,r,t)=>{"use strict";t.d(r,{default:()=>x});var a=t(51900),s=t(45232),o=t(48385),l=t(68867);let n=(0,l.createServerReference)("6096dd910dad5c2c09b213a02ee45d73e0f9c6f943",l.callServer,void 0,l.findSourceMapURL,"submitContactForm");var i=t(26704),d=t(93143),c=t(88565),u=t(46911);function m(){let{pending:e}=(0,o.useFormStatus)();return(0,a.jsx)("button",{type:"submit",disabled:e,className:"w-full sm:w-auto bg-gaif-orchid hover:bg-gaif-purple text-white font-semibold py-3 px-8 text-base rounded-full transition-all disabled:opacity-70 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("svg",{className:"animate-spin -ml-1 mr-2 h-5 w-5 text-white",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Sending..."]}):(0,a.jsxs)(a.Fragment,{children:["Send Message",(0,a.jsx)(i.A,{className:"w-4 h-4"})]})})}function x(){let[e,r]=(0,s.useState)(null);async function t(e){r(null);let t=await n({},e);if(r(t),t.success){let e=document.getElementById("contactForm");e&&e.reset()}}return(0,a.jsxs)("div",{className:"bg-card border border-border/20 rounded-3xl p-6 sm:p-8 md:p-10 shadow-xl relative overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-gaif-orchid/5 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2 pointer-events-none"}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-gaif-orange/5 rounded-full blur-3xl translate-y-1/2 -translate-x-1/2 pointer-events-none"}),(0,a.jsx)("h3",{className:"text-2xl md:text-3xl font-bold text-foreground mb-6 relative z-10",children:"Send us a message"}),(null==e?void 0:e.success)&&(0,a.jsxs)(u.P.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"mb-6 p-4 bg-green-500/10 border border-green-500/20 text-green-600 dark:text-green-400 rounded-xl flex items-start gap-3 relative z-10",children:[(0,a.jsx)(d.A,{className:"w-5 h-5 shrink-0 mt-0.5"}),(0,a.jsx)("p",{children:e.message})]}),(null==e?void 0:e.error)&&(0,a.jsxs)(u.P.div,{initial:{opacity:0,y:-10}
1,animate:{opacity:1,y:0},className:"mb-6 p-4 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl flex items-start gap-3 relative z-10",children:[(0,a.jsx)(c.A,{className:"w-5 h-5 shrink-0 mt-0.5"}),(0,a.jsx)("p",{children:e.error})]}),(0,a.jsxs)("form",{id:"contactForm",action:t,className:"space-y-5 relative z-10",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"name",className:"text-sm font-medium text-foreground",children:"Your Name"}),(0,a.jsx)("input",{type:"text",id:"name",name:"name",required:!0,placeholder:"John Doe",className:"w-full bg-background border border-border/50 focus:border-gaif-orchid focus:ring-1 focus:ring-gaif-orchid rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground transition-colors outline-none"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"email",className:"text-sm font-medium text-foreground",children:"Email Address"}),(0,a.jsx)("input",{type:"email",id:"email",name:"email",required:!0,placeholder:"[email protected]",className:"w-full bg-background border border-border/50 focus:border-gaif-orchid focus:ring-1 focus:ring-gaif-orchid rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground transition-colors outline-none"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"subject",className:"text-sm font-medium text-foreground",children:"Subject"}),(0,a.jsx)("input",{type:"text",id:"subject",name:"subject",required:!0,placeholder:"How can we help you?",className:"w-full bg-background border border-border/50 focus:border-gaif-orchid focus:ring-1 focus:ring-gaif-orchid rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground transition-colors outline-none"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"message",className:"text-sm font-medium text-foreground",children:"Message"}),(0,a.jsx)("textarea",{id:"message",name:"message",required:!0,rows:5,placeholder:"Tell us more about your inquiry, partnership idea, or feedback...",className:"w-full bg-background border border-border/50 focus:border-gaif-orchid focus:ring-1 focus:ring-gaif-orchid rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground transition-colors outline-none resize-none"})]}),(0,a.jsx)("div",{className:"pt-2",children:(0,a.jsx)(m,{})})]})]})}},88565:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(3751).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},91886:(e,r,t)=>{Promise.resolve().then(t.bind(t,87690))},93143:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(3751).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])}},e=>{e.O(0,[6911,4404,8838,7358],()=>e(e.s=91886)),_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.