1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86378,(e,r,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"warnOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},56193,e=>{"use strict";let r=(0,e.i(95675).default)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);e.s(["Phone",()=>r],56193)},40170,e=>{"use strict";let r=(0,e.i(95675).default)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",()=>r],40170)},76841,e=>{"use strict";var r=e.i(95334),s=e.i(64977),a=e.i(40170),t=e.i(56193);function o(){return(0,r.jsx)("footer",{className:"border-t border-border bg-secondary py-12",children:(0,r.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,r.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,r.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 mb-8",children:[(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h3",{className:"text-lg font-bold",children:"TEMPORARY INSANITY"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Eternal Truth in Temporary Chaos."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic pt-2",children:"A ministry of Saving Grace Church"})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h4",{className:"text-sm font-semibold uppercase tracking-wider",children:"Church Info"}),(0,r.jsxs)("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://www.savinggrace.church",target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground transition-colors font-medium",children:"Saving Grace Church"})}),(0,r.jsxs)("li",{className:"flex items-start gap-2",children:[(0,r.jsx)(a.MapPin,{className:"w-4 h-4 mt-0.5 shrink-0"}),(0,r.jsxs)("span",{children:["1 Volturno Street",(0,r.jsx)("br",{}),"North Providence, RI 02904"]})]}),(0,r.jsxs)("li",{className:"flex items-center gap-2",children:[(0,r.jsx)(t.Phone,{className:"w-4 h-4 shrink-0"}),(0,r.jsx)("a",{href:"tel:+14017273000",className:"hover:text-foreground transition-colors",children:"(401) 727-3000"})]})]})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h4",{className:"text-sm font-semibold uppercase tracking-wider",children:"Quick Links"}),(0,r.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,r.jsx)("li",{children:(0,r.jsx)(s.default,{href:"/",className:"hover:text-foreground transition-colors",children:"Home"})}),(0,r.jsx)("li",{children:(0,r.jsx)(s.default,{href:"/about",className:"hover:text-foreground transition-colors",children:"About"})}),(0,r.jsx)("li",{children:(0,r.jsx)(s.default,{href:"/episodes",className:"hover:text-foreground transition-colors",children:"Episodes"})}),(0,r.jsx)("li",{children:(0,r.jsx)(s.default,{href:"/host",className:"hover:text-foreground transition-colors",children:"Host"})}),(0,r.jsx)("li",{children:(0,r.jsx)(s.default,{href:"/contact",className:"hover:text-foreground transition-colors",children:"Contact"})})]})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h4",{className:"text-sm font-semibold uppercase tracking-wider",children:"Subscribe"}),(0,r.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/temporary-insanity/id1671261400",target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground transition-colors",children:"Apple Podcasts"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://open.spotify.com/show/1sguoE4BFOhtZwDC7XJ5Pe?si=fcc3bdf30a7e4b4a",target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground transition-colors",children:"Spotify"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://feeds.captivate.fm/temporaryinsanitypodcast/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground transition-colors",children:"RSS Feed"})})]})]})]}),(0,r.jsx)("div",{className:"pt-8 border-t border-border text-center text-sm text-muted-foreground",children:(0,r.jsxs)("p",{children:["© ",new Date().getFullYear()," Temporary Insanity Podcast. All rights reserved."]})})]})})})}e.s(["Footer",()=>o])},7366,36047,e=>{"use strict";var r=e.i(95675);let s=(0,r.default)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);e.s(["Mail",()=>s],7366);let a=(0,r.default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>a],36047)},69139,e=>{"use strict";var r=e.i(95334),s=e.i(50455),a=e.i(7366),t=e.i(95675);let o=(0,t.default)("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"}]]),l=(0,t.default)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);var n=e.i(56193),d=e.i(40170);let i=(0,t.default)("Church",[["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v5",key:"ma6bk"}],["path",{d:"M14 22v-4a2 2 0 0 0-4 0v4",key:"1pdhuj"}],["path",{d:"M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22",key:"1rkokr"}],["path",{d:"m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7",key:"1w6esw"}]]);var c=e.i(36047);let m=(0,t.default)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),u=(0,t.default)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var x=e.i(13474),h=e.i(76841);function b(){let[e,t]=(0,s.useState)(!1),[b,p]=(0,s.useState)(!1),[g]=(0,s.useState)(()=>Date.now()),[f,j]=(0,s.useState)({name:"",email:"",subject:"",message:"",website:""}),[y,N]=(0,s.useState)({name:"",email:"",subject:"",message:"",expertise:"",website:""}),[v,w]=(0,s.useState)({name:"",email:"",topic:"",why:"",website:""}
1),[k,S]=(0,s.useState)("idle"),[C,F]=(0,s.useState)("idle"),[q,T]=(0,s.useState)("idle"),[P,M]=(0,s.useState)(""),[I,A]=(0,s.useState)(""),[E,W]=(0,s.useState)(""),G=async e=>{e.preventDefault(),S("loading"),M("");try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...f,_formLoadedAt:g})});if(!e.ok){let r=await e.json();throw Error(r.message||"Failed to send message")}S("success"),j({name:"",email:"",subject:"",message:"",website:""}),setTimeout(()=>{S("idle"),t(!1)},3e3)}catch(e){S("error"),M(e instanceof Error?e.message:"Failed to send message")}},z=async e=>{e.preventDefault(),F("loading"),A("");try{let e=await fetch("/api/contact-guest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...y,_formLoadedAt:g})});if(!e.ok){let r=await e.json();throw Error(r.message||"Failed to send message")}F("success"),N({name:"",email:"",subject:"",message:"",expertise:"",website:""}),setTimeout(()=>{F("idle"),p(!1)},3e3)}catch(e){F("error"),A(e instanceof Error?e.message:"Failed to send message")}},O=async e=>{e.preventDefault(),T("loading"),W("");try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:v.name,email:v.email,subject:`Topic Request: ${v.topic}`,message:`Topic: ${v.topic} 2
3Why it matters: ${v.why}`,website:v.website,_formLoadedAt:g})});if(!e.ok){let r=await e.json();throw Error(r.message||"Failed to send request")}T("success"),w({name:"",email:"",topic:"",why:"",website:""}),setTimeout(()=>T("idle"),3e3)}catch(e){T("error"),W(e instanceof Error?e.message:"Failed to send request")}},_=e=>{w(r=>({...r,[e.target.name]:e.target.value}))},L=e=>{j(r=>({...r,[e.target.name]:e.target.value}))},R=e=>{N(r=>({...r,[e.target.name]:e.target.value}))};return(0,r.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,r.jsx)(x.Navigation,{}),(0,r.jsx)("section",{className:"py-24 lg:py-32 bg-secondary",children:(0,r.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,r.jsxs)("div",{className:"max-w-4xl mx-auto text-center space-y-6",children:[(0,r.jsx)("h1",{className:"text-5xl lg:text-6xl font-bold tracking-tight",children:"Get in Touch"}),(0,r.jsx)("p",{className:"text-xl lg:text-2xl text-muted-foreground",children:"Connect with us - We'd love to hear from you"})]})})}),(0,r.jsx)("section",{className:"py-16 border-b-2 border-border",children:(0,r.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,r.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-center mb-12",children:"Contact Information"}),(0,r.jsxs)("div",{className:"grid md:grid-cols-3 gap-6",children:[(0,r.jsxs)("button",{onClick:()=>t(!0),className:"p-6 border-2 border-border rounded-lg bg-card text-center space-y-4 hover:border-foreground
3/20 transition-colors cursor-pointer",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center",children:(0,r.jsx)(a.Mail,{className:"w-6 h-6 text-primary"})})}),(0,r.jsx)("h3",{className:"text-lg font-bold",children:"General Inquiries"}),(0,r.jsx)("p",{className:"text-sm text-primary break-all",children:"[email protected]"}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"Click to send message"})]}),(0,r.jsxs)("button",{onClick:()=>p(!0),className:"p-6 border-2 border-border rounded-lg bg-card text-center space-y-4 hover:border-foreground/20 transition-colors cursor-pointer",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center",children:(0,r.jsx)(l,{className:"w-6 h-6 text-primary"})})}),(0,r.jsx)("h3",{className:"text-lg font-bold",children:"Guest Inquiries"}),(0,r.jsx)("p",{className:"text-sm text-primary break-all",children:"[email protected]"}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"Click to send message"})]}),(0,r.jsxs)("div",{className:"p-6 border-2 border-border rounded-lg bg-card text-center space-y-4",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center",children:(0,r.jsx)(n.Phone,{className:"w-6 h-6 text-primary"})})}),(0,r.jsx)("h3",{className:"text-lg font-bold",children:"Saving Grace Church Office"}),(0,r.jsx)("a",{href:"tel:+14017273000",className:"text-sm text-primary hover:underline block",children:"(401) 727-3000"})]})]})]})})}),(0,r.jsx)("section",{className:"py-16 bg-secondary",children:(0,r.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,r.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,r.jsxs)("div",{className:"text-center space-y-6",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center",children:(0,r.jsx)(i,{className:"w-8 h-8 text-primary"})})}),(0,r.jsx)("h2",{className:"text-3xl font-bold",children:"A Ministry of Saving Grace Church"}),(0,r.jsx)("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Temporary Insanity Podcast is a ministry of Saving Grace Church, committed to exploring faith and contemporary issues through Biblical truth."}),(0,r.jsxs)("div",{className:"pt-6 space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-start justify-center gap-3",children:[(0,r.jsx)(d.MapPin,{className:"w-5 h-5 text-primary mt-1 flex-shrink-0"}),(0,r.jsxs)("div",{className:"text-left",children:[(0,r.jsx)("p",{className:"font-semibold",children:"Visit Us"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"1 Volturno Street"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"North Providence, RI 02904"})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-3",children:[(0,r.jsx)(n.Phone,{className:"w-5 h-5 text-primary"}),(0,r.jsx)("a",{href:"tel:+14017273000",className:"text-primary hover:underline",children:"(401) 727-3000"})]})]}),(0,r.jsx)("div",{className:"pt-4",children:(0,r.jsx)("a",{href:"https://www.savinggrace.church",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity",children:"Visit Saving Grace Church"})})]})})})}),(0,r.jsx)("section",{className:"py-24 lg:py-32",children:(0,r.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,r.jsxs)("div",{className:"max-w-6xl mx-auto space-y-16",children:[(0,r.jsxs)("div",{className:"text-center space-y-4",children:[(0,r.jsx)("h2",{className:"text-4xl font-bold",children:"Send Us a Message"}),(0,r.jsx)("p",{className:"text-lg text-muted-foreground leading-relaxed max-w-3xl mx-auto",children:"Have questions, feedback, or want to suggest a topic for discussion? Interested in being a guest on the show? Use the forms below to reach out to us."})]}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 gap-8",children:[(0,r.jsxs)("div",{className:"p-8 border-2 border-border rounded-lg bg-card",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,r.jsx)(a.Mail,{className:"w-6 h-6 text-primary"}),(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"General Inquiries"})]}),(0,r.jsxs)("form",{onSubmit:G,className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"general-name",className:"block text-sm font-medium mb-2",children:"Name *"}),(0,r.jsx)("input",{type:"text",id:"general-name",name:"name",required:!0,value:f.name,onChange:L,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"Your name"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"general-email",className:"block text-sm font-medium mb-2",children:"Email *"}),(0,r.jsx)("input",{type:"email",id:"general-email",name:"email",required:!0,value:f.email,onChange:L,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"[email protected]"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"general-subject",className:"block text-sm font-medium mb-2",children:"Subject *"}),(0,r.jsx)("input",{type:"text",id:"general-subject",name:"subject",required:!0,value:f.subject,onChange:L,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"What's this about?"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"general-message",className:"block text-sm font-medium mb-2",children:"Message *"}),(0,r.jsx)("textarea",{id:"general-message",name:"message",required:!0,value:f.message,onChange:L,rows:5,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors resize-none",placeholder:"Tell us what's on your mind..."})]}),(0,r.jsxs)("div",{className:"absolute opacity-0 -z-10","aria-hidden":"true",children:[(0,r.jsx)("label",{htmlFor:"general-website",children:"Website"}),(0,r.jsx)("input",{type:"text",id:"general-website",name:"website",value:f.website,onChange:L,tabIndex:-1,autoComplete:"off"})]}),"success"===k&&(0,r.jsx)("div",{className:"p-4 bg-green-500/10 border-2 border-green-500/20 rounded-md text-green-700 dark:text-green-400",children:"Thank you! We'll get back to you soon."}),"error"===k&&(0,r.jsx)("div",{className:"p-4 bg-red-500/10 border-2 border-red-500/20 rounded-md text-red-700 dark:text-red-400",children:P||"Something went wrong. Please try again."}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===k,className:"w-full px-6 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:"loading"===k?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"animate-spin",children:"â³"}),"Sending..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{className:"w-4 h-4"}),"Send Message"]})})]})]}),(0,r.jsxs)("div",{className:"p-8 border-2 border-border rounded-lg bg-card",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,r.jsx)(l,{className:"w-6 h-6 text-primary"}),(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"Guest Inquiries"})]}),(0,r.jsxs)("form",{onSubmit:z,className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"guest-name",className:"block text-sm font-medium mb-2",children:"Name *"}),(0,r.jsx)("input",{type:"text",id:"guest-name",name:"name",required:!0,value:y.name,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"Your name"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"guest-email",className:"block text-sm font-medium mb-2",children:"Email *"}),(0,r.jsx)("input",{type:"email",id:"guest-email",name:"email",required:!0,value:y.email,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"[email protected]"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"guest-expertise",className:"block text-sm font-medium mb-2",children:"Area of Expertise *"}),(0,r.jsx)("input",{type:"text",id:"guest-expertise",name:"expertise",required:!0,value:y.expertise,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"e.g., Theology, Social Justice"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"guest-subject",className:"block text-sm font-medium mb-2",children:"Proposed Topic *"}),(0,r.jsx)("input",{type:"text",id:"guest-subject",name:"subject",required:!0,value:y.subject,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"What would you discuss?"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"guest-message",className:"block text-sm font-medium mb-2",children:"Tell Us About Yourself *"}),(0,r.jsx)("textarea",{id:"guest-message",name:"message",required:!0,value:y.message,onChange:R,rows:5,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors resize-none",placeholder:"Share your background..."})]}),(0,r.jsxs)("div",{className:"absolute opacity-0 -z-10","aria-hidden":"true",children:[(0,r.jsx)("label",{htmlFor:"guest-website",children:"Website"}),(0,r.jsx)("input",{type:"text",id:"guest-website",name:"website",value:y.website,onChange:R,tabIndex:-1,autoComplete:"off"})]}),"success"===C&&(0,r.jsx)("div",{className:"p-4 bg-green-500/10 border-2 border-green-500/20 rounded-md text-green-700 dark:text-green-400",children:"Thank you! We'll review your inquiry."}),"error"===C&&(0,r.jsx)("div",{className:"p-4 bg-red-500/10 border-2 border-red-500/20 rounded-md text-red-700 dark:text-red-400",children:I||"Something went wrong. Please try again."}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===C,className:"w-full px-6 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:"loading"===C?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"animate-spin",children:"â³"}),"Sending..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{className:"w-4 h-4"}),"Submit Inquiry"]})})]})]})]}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 gap-8",children:[(0,r.jsxs)("div",{className:"p-8 border-2 border-border rounded-lg bg-card",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,r.jsx)(m,{className:"w-6 h-6 text-primary"}),(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"Suggest a Topic"})]}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-6",children:"Have a topic you'd love to hear Pastor Josh cover? Let us know."}),(0,r.jsxs)("form",{onSubmit:O,className:"space-y-5",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"topic-name",className:"block text-sm font-medium mb-2",children:"Name *"}),(0,r.jsx)("input",{type:"text",id:"topic-name",name:"name",required:!0,value:v.name,onChange:_,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"Your name"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"topic-email",className:"block text-sm font-medium mb-2",children:"Email *"}),(0,r.jsx)("input",{type:"email",id:"topic-email",name:"email",required:!0,value:v.email,onChange:_,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"[email protected]"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"topic-topic",className:"block text-sm font-medium mb-2",children:"Topic *"}),(0,r.jsx)("input",{type:"text",id:"topic-topic",name:"topic",required:!0,value:v.topic,onChange:_,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"e.g., Biblical manhood, Church burnout"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"topic-why",className:"block text-sm font-medium mb-2",children:"Why It Matters *"}),(0,r.jsx)("textarea",{id:"topic-why",name:"why",required:!0,value:v.why,onChange:_,rows:4,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors resize-none",placeholder:"Why should the show cover this? How does it affect people?"})]}),(0,r.jsxs)("div",{className:"absolute opacity-0 -z-10","aria-hidden":"true",children:[(0,r.jsx)("label",{htmlFor:"topic-website",children:"Website"}),(0,r.jsx)("input",{type:"text",id:"topic-website",name:"website",value:v.website,onChange:_,tabIndex:-1,autoComplete:"off"})]}),"success"===q&&(0,r.jsx)("div",{className:"p-4 bg-green-500/10 border-2 border-green-500/20 rounded-md text-green-700 dark:text-green-400",children:"Thanks for the suggestion! We'll consider it for a future episode."}),"error"===q&&(0,r.jsx)("div",{className:"p-4 bg-red-500/10 border-2 border-red-500/20 rounded-md text-red-700 dark:text-red-400",children:E||"Something went wrong. Please try again."}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===q,className:"w-full px-6 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:"loading"===q?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"animate-spin",children:"â"}),"Sending..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{className:"w-4 h-4"}),"Submit Topic"]})})]})]}),(0,r.jsxs)("div",{className:"p-8 border-2 border-border rounded-lg bg-card",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,r.jsx)(l,{className:"w-6 h-6 text-primary"}),(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"Guest Guidelines"})]}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-8",children:"Interested in being a guest on Temporary Insanity? Here's what we look for."}),(0,r.jsxs)("ul",{className:"space-y-5",children:[(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(u,{className:"w-5 h-5 text-primary mt-0.5 flex-shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold",children:"Christ-centered and respectful"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Conversations grounded in faith, not sensationalism."})]})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(u,{className:"w-5 h-5 text-primary mt-0.5 flex-shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold",children:"Expertise or lived experience"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Bring real knowledge, real stories, or both."})]})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(u,{className:"w-5 h-5 text-primary mt-0.5 flex-shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold",children:"Willing to be practical & honest"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"We value transparency and actionable takeaways over polished talking points."})]})]})]}),(0,r.jsxs)("div",{className:"mt-8 p-5 bg-secondary rounded-lg space-y-3",children:[(0,r.jsx)("p",{className:"font-semibold text-sm",children:"Ready to apply?"}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Use the Guest Inquiries form above or email us directly at"," ",(0,r.jsx)("button",{type:"button",onClick:()=>p(!0),className:"text-primary hover:underline font-medium",children:"[email protected]"})]})]})]})]}),(0,r.jsxs)("div",{className:"text-center space-y-6 pt-8 border-t-2 border-border",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold",children:"Subscribe to the Podcast"}),(0,r.jsx)("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Join our growing community exploring faith in the modern world. Subscribe on your favorite platform."}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center pt-4",children:[(0,r.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/temporary-insanity/id1671261400",target:"_blank",rel:"noopener noreferrer",className:"px-8 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity",children:"Apple Podcasts"}),(0,r.jsx)("a",{href:"https://open.spotify.com/show/1sguoE4BFOhtZwDC7XJ5Pe?si=fcc3bdf30a7e4b4a",target:"_blank",rel:"noopener noreferrer",className:"px-8 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity",children:"Spotify"}),(0,r.jsx)("a",{href:"https://feeds.captivate.fm/temporaryinsanitypodcast/",target:"_blank",rel:"noopener noreferrer",className:"px-8 py-3 border-2 border-border font-medium rounded-md hover:border-foreground
3/20 transition-colors",children:"RSS Feed"})]})]})]})})}),e&&(0,r.jsx)("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",children:(0,r.jsxs)("div",{className:"bg-background border-2 border-border rounded-lg max-w-2xl w-full max-h-[90vh] overflow-y-auto",children:[(0,r.jsxs)("div",{className:"sticky top-0 bg-background border-b-2 border-border p-6 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(a.Mail,{className:"w-6 h-6 text-primary"}),(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"General Inquiries"})]}),(0,r.jsx)("button",{onClick:()=>t(!1),className:"p-2 hover:bg-secondary rounded-md transition-colors",children:(0,r.jsx)(c.X,{className:"w-6 h-6"})})]}),(0,r.jsx)("div",{className:"p-6",children:(0,r.jsxs)("form",{onSubmit:G,className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-general-name",className:"block text-sm font-medium mb-2",children:"Name *"}),(0,r.jsx)("input",{type:"text",id:"modal-general-name",name:"name",required:!0,value:f.name,onChange:L,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"Your name"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-general-email",className:"block text-sm font-medium mb-2",children:"Email *"}),(0,r.jsx)("input",{type:"email",id:"modal-general-email",name:"email",required:!0,value:f.email,onChange:L,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"[email protected]"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-general-subject",className:"block text-sm font-medium mb-2",children:"Subject *"}),(0,r.jsx)("input",{type:"text",id:"modal-general-subject",name:"subject",required:!0,value:f.subject,onChange:L,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"What's this about?"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-general-message",className:"block text-sm font-medium mb-2",children:"Message *"}),(0,r.jsx)("textarea",{id:"modal-general-message",name:"message",required:!0,value:f.message,onChange:L,rows:5,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors resize-none",placeholder:"Tell us what's on your mind..."})]}),"success"===k&&(0,r.jsx)("div",{className:"p-4 bg-green-500/10 border-2 border-green-500/20 rounded-md text-green-700 dark:text-green-400",children:"Thank you! We'll get back to you soon."}),"error"===k&&(0,r.jsx)("div",{className:"p-4 bg-red-500/10 border-2 border-red-500/20 rounded-md text-red-700 dark:text-red-400",children:P||"Something went wrong. Please try again."}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===k,className:"w-full px-6 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:"loading"===k?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"animate-spin",children:"â³"}),"Sending..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{className:"w-4 h-4"}),"Send Message"]})})]})})]})}),b&&(0,r.jsx)("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",children:(0,r.jsxs)("div",{className:"bg-background border-2 border-border rounded-lg max-w-2xl w-full max-h-[90vh] overflow-y-auto",children:[(0,r.jsxs)("div",{className:"sticky top-0 bg-background border-b-2 border-border p-6 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(l,{className:"w-6 h-6 text-primary"}),(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"Guest Inquiries"})]}),(0,r.jsx)("button",{onClick:()=>p(!1),className:"p-2 hover:bg-secondary rounded-md transition-colors",children:(0,r.jsx)(c.X,{className:"w-6 h-6"})})]}),(0,r.jsx)("div",{className:"p-6",children:(0,r.jsxs)("form",{onSubmit:z,className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-guest-name",className:"block text-sm font-medium mb-2",children:"Name *"}),(0,r.jsx)("input",{type:"text",id:"modal-guest-name",name:"name",required:!0,value:y.name,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"Your name"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-guest-email",className:"block text-sm font-medium mb-2",children:"Email *"}),(0,r.jsx)("input",{type:"email",id:"modal-guest-email",name:"email",required:!0,value:y.email,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"[email protected]"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-guest-expertise",className:"block text-sm font-medium mb-2",children:"Area of Expertise *"}),(0,r.jsx)("input",{type:"text",id:"modal-guest-expertise",name:"expertise",required:!0,value:y.expertise,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors",placeholder:"e.g., Theology, Social Justice"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-guest-subject",className:"block text-sm font-medium mb-2",children:"Proposed Topic *"}),(0,r.jsx)("input",{type:"text",id:"modal-guest-subject",name:"subject",required:!0,value:y.subject,onChange:R,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground
3/40 focus:outline-none transition-colors",placeholder:"What would you discuss?"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"modal-guest-message",className:"block text-sm font-medium mb-2",children:"Tell Us About Yourself *"}),(0,r.jsx)("textarea",{id:"modal-guest-message",name:"message",required:!0,value:y.message,onChange:R,rows:5,className:"w-full px-4 py-3 border-2 border-border rounded-md bg-background focus:border-foreground/40 focus:outline-none transition-colors resize-none",placeholder:"Share your background..."})]}),"success"===C&&(0,r.jsx)("div",{className:"p-4 bg-green-500/10 border-2 border-green-500/20 rounded-md text-green-700 dark:text-green-400",children:"Thank you! We'll review your inquiry."}),"error"===C&&(0,r.jsx)("div",{className:"p-4 bg-red-500/10 border-2 border-red-500/20 rounded-md text-red-700 dark:text-red-400",children:I||"Something went wrong. Please try again."}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===C,className:"w-full px-6 py-3 bg-primary text-primary-foreground font-medium rounded-md hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:"loading"===C?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"animate-spin",children:"â³"}),"Sending..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{className:"w-4 h-4"}),"Submit Inquiry"]})})]})})]})}),(0,r.jsx)(h.Footer,{})]})}e.s(["default",()=>b],69139)}]);
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.