PageSourceSearch

https://padmanabhamvenkiteela.com/_next/static/chunks/app/contact/page-a7da4ead7aa08a9d.js

js padmanabhamvenkiteela.com collected 2026-10-07 08:22:15 UTC 4,631 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{929:(e,s,t)=>{Promise.resolve().then(t.bind(t,9965))},9965:(e,s,t)=>{"use strict";t.d(s,{default:()=>o});var l=t(5155),a=t(2115);let r=["Speaking & Keynotes","Research Collaboration","Enterprise AI Advisory","Media & Press","Other"],i="Sorry, we couldn't send your message. Please try again or email me directly.";function o(){let e=(0,a.useId)(),[s,t]=(0,a.useState)("idle"),[o,n]=(0,a.useState)(""),[d,u]=(0,a.useState)("");async function m(e){if(e.preventDefault(),"submitting"===s)return;t("submitting"),n(""),u("");let l=e.currentTarget,a=new FormData(l);try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:a.get("name"),email:a.get("email"),inquiry:a.get("inquiry"),message:a.get("message"),website:a.get("website")})}),s=await e.json();if(!e.ok||!s.success){t("error"),n(s.error||i);return}t("success"),u("Thank you. Your message has been sent successfully. I'll get back to you as soon as possible."),l.reset()}catch(e){t("error"),n(i)}}return(0,l.jsxs)("form",{onSubmit:m,noValidate:!1,className:"relative rounded-xl border border-slate-200 bg-white p-6 shadow-sm sm:p-8",children:[(0,l.jsx)("h2",{className:"text-xl font-bold text-slate-900",children:"Send a Message"}),(0,l.jsx)("p",{className:"mt-2 text-sm text-slate-600",children:"Fill out the form below and I'll respond within 2 business days."}),"success"===s&&(0,l.jsx)("p",{role:"status","aria-live":"polite",className:"mt-6 rounded-lg border border-green-200 bg-green-50 px-4 py-3 text-sm text-green-800",children:d}),"error"===s&&(0,l.jsx)("p",{role:"alert","aria-live":"assertive",className:"mt-6 rounded-lg border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800",children:o}),(0,l.jsxs)("div",{className:"absolute -left-[9999px] h-0 w-0 overflow-hidden","aria-hidden":"true",children:[(0,l.jsx)("label",{htmlFor:e,children:"Website"}),(0,l.jsx)("input",{id:e,name:"website",type:"text",tabIndex:-1,autoComplete:"off"})]}),(0,l.jsxs)("div",{className:"mt-8 grid gap-6 sm:grid-cols-2",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-slate-700",children:"Full Name"}),(0,l.jsx)("input",{type:"text",id:"name",name:"name",required:!0,maxLength:120,autoComplete:"name",disabled:"submitting"===s,className:"mt-2 block w-full rounded-lg border border-slate-300 px-4 py-2.5 text-sm text-slate-900 placeholder:text-slate-400 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20 disabled:bg-slate-50",placeholder:"Your name"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-slate-700",children:"Email Address"}),(0,l.jsx)("input",{type:"email",id:"email",name:"email",required:!0,maxLength:254,autoComplete:"email",disabled:"submitting"===s,className:"mt-2 block w-full rounded-lg border border-slate-300 px-4 py-2.5 text-sm text-slate-900 placeholder:text-slate-400 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20 disabled:bg-slate-50",placeholder:"[email protected]"})]})]}),(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsx)("label",{htmlFor:"inquiry",className:"block text-sm font-medium text-slate-700",children:"Inquiry Type"}),(0,l.jsx)("select",{id:"inquiry",name:"inquiry",required:!0,disabled:"submitting"===s,className:"mt-2 block w-full rounded-lg border border-slate-300 px-4 py-2.5 text-sm text-slate-900 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20 disabled:bg-slate-50",defaultValue:r[0],children:r.map(e=>(0,l.jsx)("option",{value:e,children:e},e))})]}),(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium text-slate-700",children:"Message"}),(0,l.jsx)("textarea",{id:"message",name:"message",rows:5,required:!0,minLength:10,maxLength:5e3,disabled:"submitting"===s,className:"mt-2 block w-full rounded-lg border border-slate-300 px-4 py-2.5 text-sm text-slate-900 placeholder:text-slate-400 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20 disabled:bg-slate-50",placeholder:"Tell me about your inquiry..."})]}),(0,l.jsx)("button",{type:"submit",disabled:"submitting"===s,"aria-busy":"submitting"===s,className:"mt-8 w-full rounded-lg bg-blue-600 px-6 py-3 text-sm font-semibold text-white transition-colors hover:bg-blue-700 disabled:cursor-not-allowed disabled:bg-blue-400 sm:w-auto",children:"submitting"===s?"Sending...":"Send Message"})]})}}},e=>{e.O(0,[441,255,358],()=>e(e.s=929)),_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.