{"version":3,"file":"MultiStepRSVPFormB.DiPUgcm4.mjs","names":["React.useState","createClient"],"sources":["https:/framerusercontent.com/modules/SdSQoWXvwra5atwylYqX/b88W3jWrl9SF0fk8Uceq/MultiStepRSVPFormB.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{createClient}from\"https://esm.sh/@supabase/supabase-js\";// --- CONFIGURATION ---\n// PASTE YOUR KEYS HERE\nconst SUPABASE_URL=\"https://mrybrhyfdpqucrtpeqxm.supabase.co\";const SUPABASE_KEY=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1yeWJyaHlmZHBxdWNydHBlcXhtIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQ4NzI1ODIsImV4cCI6MjA4MDQ0ODU4Mn0.6oDA7woJowQkm2qyW-yPOuNr_x13S9OaWqIU0cy2_R8\";// Initialize Supabase\nconst supabase=createClient(SUPABASE_URL,SUPABASE_KEY);// Your deployed Google Apps Script Web App URL\nconst GOOGLE_SCRIPT_URL=\"https://script.google.com/macros/s/AKfycbxBQCboGO8v0QGnCPyCQQPUDY6_n_aY6fM8dwjpHVV_IM_ErciT7Eo3gTii-Xg3Xy47/exec\";const palette={bg:\"#F7F1E7\",cardBg:\"#FFFFFF\",navy:\"#1D3559\",body:\"#3A3A3A\",accent:\"#C8943B\",accentDark:\"#9D6F1E\",border:\"#D7CBB7\",error:\"#B3261E\",muted:\"#7A7A7A\"};// Helper to map your UI values \"none\" to DB values \"no_activity\"\nconst mapToDbId=uiValue=>uiValue===\"none\"?\"no_activity\":uiValue;export default function MultiStepRSVPFormB(props){const{width,height}=props;const[step,setStep]=React.useState(\"1\");// --- SUPABASE STATE ---\nconst[dbActivities,setDbActivities]=React.useState([]);const[loadingData,setLoadingData]=React.useState(true);// Step 1 – Your Info\nconst[firstName,setFirstName]=React.useState(\"\");const[lastName,setLastName]=React.useState(\"\");const[email,setEmail]=React.useState(\"\");const[attending,setAttending]=React.useState(\"\");// Step 2 – Your Activity\nconst[activity,setActivity]=React.useState(\"\");// Step 3 – Food & Travel\nconst[allergies,setAllergies]=React.useState([]);const[otherAllergy,setOtherAllergy]=React.useState(\"\");const[airfare,setAirfare]=React.useState(\"\");// Step 4 – Additional Accommodations\nconst[guest,setGuest]=React.useState(\"\");// Step 5 Y1 – Guest Info\nconst[guestFirstName,setGuestFirstName]=React.useState(\"\");const[guestLastName,setGuestLastName]=React.useState(\"\");// Step 5 Y2 – Guest Activity\nconst[guestActivity,setGuestActivity]=React.useState(\"\");// Step 5 Y3 – Guest Food Allergies\nconst[guestAllergies,setGuestAllergies]=React.useState([]);const[guestOtherAllergy,setGuestOtherAllergy]=React.useState(\"\");// Step 5 N1 – Get Text Update\nconst[textUpdates,setTextUpdates]=React.useState(\"\");const[phone,setPhone]=React.useState(\"\");// Step 6 – Liability Waiver\nconst[waiverAccepted,setWaiverAccepted]=React.useState(false);// Validation + submit state\nconst[errors,setErrors]=React.useState({});const[submitting,setSubmitting]=React.useState(false);const[submitError,setSubmitError]=React.useState(null);// Only allow emails from @wordandbrown.com\nconst emailRegex=/^[^\\s@]+@wordandbrown\\.com$/i;// Format phone number\nconst formatUSPhone=raw=>{const digits=raw.replace(/\\D/g,\"\").slice(0,10)// keep max 10 digits\n;const len=digits.length;if(len===0)return\"\";if(len<=3)return digits;if(len<=6)return`(${digits.slice(0,3)}) ${digits.slice(3)}`;return`(${digits.slice(0,3)}) ${digits.slice(3,6)}-${digits.slice(6)}`;};const phoneRegex=/^\\d{10}$/;// --- 1. FETCH DATA ON LOAD ---\nReact.useEffect(()=>{const fetchData=async()=>{const{data,error}=await supabase.from(\"activities\").select(\"*\").order(\"id\")// Ensure consistent order\n;if(data){// Map DB 'no_activity' to UI 'none' if needed, or just handle mapping logic\nsetDbActivities(data);}setLoadingData(false);};fetchData();// Realtime Subscription\nconst channel=supabase.channel(\"rsvp_updates\").on(\"postgres_changes\",{event:\"UPDATE\",schema:\"public\",table:\"activities\"},payload=>{setDbActivities(current=>current.map(a=>a.id===payload.new.id?{...a,spots_remaining:payload.new.spots_remaining}:a));}).subscribe();return()=>{supabase.removeChannel(channel);};},[]);// --- HELPER: CALCULATE DISPLAY SPOTS ---\n// Takes the raw DB count and subtracts user selections visually\nconst getDisplaySpots=(dbId,currentSpots)=>{if(currentSpots===null)return null// Unlimited\n;let visualSpots=currentSpots;// If user selected this activity, visually hold 1 spot\nif(mapToDbId(activity)===dbId)visualSpots-=1;// If guest selected this activity, visually hold another spot\nif(mapToDbId(guestActivity)===dbId)visualSpots-=1;return Math.max(0,visualSpots);};const toggleFromList=(list,setList,value)=>{if(list.includes(value)){setList(list.filter(v=>v!==value));}else{setList([...list,value]);}};// --- VALIDATION LOGIC (UNCHANGED) ---\nconst validateStep=s=>{const newErrors={};if(s===\"1\"){if(!firstName.trim())newErrors.firstName=\"First name is required.\";if(!lastName.trim())newErrors.lastName=\"Last name is required.\";if(!email.trim())newErrors.email=\"Email is required.\";else if(!emailRegex.test(email))newErrors.email=\"Please use your @wordandbrown.com email address.\";if(!attending)newErrors.attending=\"Please select if you are attending.\";}if(s===\"2\"){if(!activity)newErrors.activity=\"Please select one activity.\";}if(s===\"3\"){if(allergies.length===0)newErrors.allergies=\"Please select at least one option.\";if(!airfare)newErrors.airfare=\"Please select an airfare option.\";}if(s===\"4\"){if(!guest)newErrors.guest=\"Please indicate if you will bring a guest.\";}if(s===\"5Y1\"){if(!guestFirstName.trim())newErrors.guestFirstName=\"Guest first name is required.\";if(!guestLastName.trim())newErrors.guestLastName=\"Guest last name is required.\";}if(s===\"5Y2\"){if(!guestActivity)newErrors.guestActivity=\"Please select one activity for your guest.\";}if(s===\"5Y3\"){if(guestAllergies.length===0)newErrors.guestAllergies=\"Please select at least one option.\";}if(s===\"5N1\"){if(!textUpdates)newErrors.textUpdates=\"Please select Yes or No.\";if(textUpdates===\"yes\"){if(!phone.trim())newErrors.phone=\"Phone number is required.\";else if(!phoneRegex.test(phone.replace(/\\D/g,\"\")))newErrors.phone=\"Enter a 10-digit phone number.\";}}if(s===\"6\"){if(!waiverAccepted)newErrors.waiver=\"You must acknowledge the waiver to continue.\";}setErrors(newErrors);return Object.keys(newErrors).length===0;};const getNextStep=s=>{if(s===\"1\")return\"2\";if(s===\"2\")return\"3\";if(s===\"3\")return\"4\";if(s===\"4\")return guest===\"yes\"?\"5Y1\":\"5N1\";if(s===\"5Y1\")return\"5Y2\";if(s===\"5Y2\")return\"5Y3\";if(s===\"5Y3\")return\"5N1\";if(s===\"5N1\")return\"6\";if(s===\"6\")return\"7\";return\"7\";};const getPrevStep=s=>{if(s===\"7\")return\"6\";if(s===\"6\")return guest===\"yes\"?\"5Y3\":\"5N1\";if(s===\"5N1\")return\"4\";if(s===\"5Y3\")return\"5Y2\";if(s===\"5Y2\")return\"5Y1\";if(s===\"5Y1\")return\"4\";if(s===\"4\")return\"3\";if(s===\"3\")return\"2\";if(s===\"2\")return\"1\";return\"1\";};// --- SUBMISSION HANDLER ---\nconst handleFinalSubmit=async()=>{setSubmitting(true);setSubmitError(null);try{// 1. Book User Activity in Supabase\n// Only if they picked something that isn't \"none\" (mapped to no_activity)\nconst userActId=mapToDbId(activity);const{data:userData,error:userError}=await supabase.rpc(\"book_activity\",{activity_id_input:userActId,user_email_input:email});if(userError)throw new Error(\"Database connection failed.\");if(userData===false)throw new Error(`Sorry, \"${activity}\" just sold out!`);// 2. Book Guest Activity (if applicable)\nif(guest===\"yes\"){const guestActId=mapToDbId(guestActivity);const{data:guestData,error:guestError}=await supabase.rpc(\"book_activity\",{activity_id_input:guestActId,user_email_input:email+\" (Guest)\"});if(guestError)console.error(\"Guest booking error\",guestError);if(guestData===false){// Complexity: User booked, Guest failed. For this demo, we alert.\nthrow new Error(`Sorry, guest activity \"${guestActivity}\" is sold out!`);}}// 3. Submit to Google Sheet (if DB successful)\nconst payload={timestamp:new Date().toISOString(),firstName,lastName,email,attending,activity,allergies:allergies.join(\", \"),otherAllergy,airfare,guest,guestFirstName,guestLastName,guestActivity,guestAllergies:guestAllergies.join(\", \"),guestOtherAllergy,textUpdates,phone,waiverAccepted};const res=await fetch(GOOGLE_SCRIPT_URL,{method:\"POST\",body:JSON.stringify(payload)});if(!res.ok)throw new Error(\"Google Sheet submission failed.\");// 4. Success\nsetSubmitting(false);setStep(\"7\");}catch(err){console.error(\"Submission error:\",err);setSubmitting(false);setSubmitError(err?.message||\"There was a problem submitting your RSVP.\");}};const handleNext=async()=>{if(submitting)return;const ok=validateStep(step);if(!ok)return;// On Step 6, we do the full submission\nif(step===\"6\"){await handleFinalSubmit();return;}setStep(getNextStep(step));};const handleBack=()=>{if(submitting)return;setErrors({});if(step===\"1\")return;setStep(getPrevStep(step));};const isFirstStep=step===\"1\";const isLastStep=step===\"7\";const renderError=field=>errors[field]?/*#__PURE__*/_jsx(\"div\",{style:{color:palette.error,fontSize:12,marginTop:4},children:errors[field]}):null;// --- STYLES ---\nconst containerStyle={width,height,boxSizing:\"border-box\",padding:40,fontFamily:'\"Museo Sans\", system-ui, sans-serif',display:\"flex\",flexDirection:\"column\",justifyContent:\"space-between\",borderRadius:20,background:palette.bg,border:`1px solid ${palette.border}`,boxShadow:\"0 18px 35px rgba(0,0,0,0.08)\"};const headingStyle={fontFamily:'\"EB Garamond\", serif',fontSize:30,textAlign:\"center\",color:palette.navy,margin:\"0 0 8px\"};const subtitleStyle={fontSize:14,textAlign:\"center\",color:palette.body,marginBottom:24};const fieldStyle={display:\"flex\",flexDirection:\"column\",marginBottom:16};const labelStyle={fontSize:13,fontWeight:600,color:palette.navy,marginBottom:4};const inputBase={padding:\"10px 12px\",borderRadius:6,border:`1px solid ${palette.border}`,fontSize:14,background:palette.cardBg,outline:\"none\"};const checkboxRow={display:\"flex\",flexDirection:\"row\",alignItems:\"center\",gap:8,marginBottom:8,fontSize:13,color:palette.body};const radioRow=checkboxRow;const buttonsRow={display:\"flex\",justifyContent:\"space-between\",marginTop:24};const buttonBase={padding:\"12px 28px\",borderRadius:999,border:\"1px solid transparent\",cursor:\"pointer\",fontWeight:600,fontSize:14,display:\"inline-flex\",alignItems:\"center\",gap:6,whiteSpace:\"nowrap\"};const primaryButton={...buttonBase,background:palette.accent,color:\"#FFFFFF\"};const secondaryButton={...buttonBase,background:palette.cardBg,color:palette.navy,borderColor:palette.navy};const cardGrid={display:\"grid\",gridTemplateColumns:\"repeat(2, minmax(0, 1fr))\",gap:16};const mainContentStyle={flex:1,overflowY:\"auto\",paddingRight:8};// --- UPDATED ACTIVITY CARD ---\n// Now accepts disabled state\nconst activityCard=opts=>{const{title,description,spots,selected,onSelect,disabled}=opts;return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>!disabled&&onSelect(),disabled:disabled,style:{textAlign:\"left\",borderRadius:12,padding:16,border:selected?`1.5px solid ${palette.accent}`:`1px solid ${palette.border}`,background:palette.cardBg,cursor:disabled?\"not-allowed\":\"pointer\",boxShadow:selected?\"0 0 0 1px rgba(200,148,59,0.35)\":\"none\",opacity:disabled?.6:1,position:\"relative\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,marginBottom:6},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:16,height:16,borderRadius:999,border:`1.5px solid ${selected?palette.accent:palette.navy}`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:selected&&/*#__PURE__*/_jsx(\"span\",{style:{width:8,height:8,borderRadius:999,background:palette.accent}})}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:'\"EB Garamond\", serif',fontSize:18,color:palette.navy},children:title})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,color:palette.body,marginBottom:10,lineHeight:1.4},children:description||\"Join us for this exclusive activity.\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,color:palette.navy,fontWeight:600},children:spots===null?\"\":disabled?\"No longer available\":`${spots} spots remaining`})]});};// Hardcoded descriptions to match DB IDs (optional)\nconst descriptions={golf:\"Enjoy 18 holes on this award-winning course. There will be six consecutive tee times every ten minutes, starting at 9:30 a.m.\",massage:\"Enjoy a 60-minute massage customized to your preferences, with the options for full-body relaxation or focused relief on specific areas\",facial:\"Enjoy a 60-minute facial featuring mineral-rich sea algae with customized exfoliating and hydrating treatments to leave skin clear and glowing\",no_activity:\"Thank you, but I will pass on the activity.\"};const progressDots=()=>{const dotCount=7;let currentIndex=parseInt(step,10)||5// Default for 5Y/5N logic\n;if(step===\"6\")currentIndex=6;if(step===\"7\")currentIndex=7;return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",gap:6,marginBottom:16},children:Array.from({length:dotCount}).map((_,i)=>{const active=i+1<=currentIndex;return /*#__PURE__*/_jsx(\"div\",{style:{width:6,height:6,borderRadius:999,background:active?palette.navy:\"#D5CBBE\"}},i);})});};// --- RENDER ---\nreturn /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[/*#__PURE__*/_jsxs(\"div\",{children:[progressDots(),step===\"1\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Your Information\"}),/*#__PURE__*/_jsxs(\"p\",{style:subtitleStyle,children:[\"Your invitation is \",/*#__PURE__*/_jsx(\"strong\",{children:\"non-transferable\"}),\" \",\"and is intended for the invited recipient exclusively.\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(2, 1fr)\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"First Name\"}),/*#__PURE__*/_jsx(\"input\",{style:inputBase,value:firstName,onChange:e=>setFirstName(e.target.value)}),renderError(\"firstName\")]}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Last Name\"}),/*#__PURE__*/_jsx(\"input\",{style:inputBase,value:lastName,onChange:e=>setLastName(e.target.value)}),renderError(\"lastName\")]})]}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Email Address\"}),/*#__PURE__*/_jsx(\"input\",{style:inputBase,placeholder:\"email@wordandbrown.com\",value:email,onChange:e=>setEmail(e.target.value)}),renderError(\"email\")]}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Will you be joining us for this year's Top Producer Event at Ojai Valley Inn?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:32,marginTop:4},children:[/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:attending===\"yes\",onChange:()=>setAttending(\"yes\")}),\" \",\"Yes, I’ll be there\"]}),/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:attending===\"no\",onChange:()=>setAttending(\"no\")}),\" \",\"No, I can’t make it\"]})]}),renderError(\"attending\")]})]}),step===\"2\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Your Activity\"}),/*#__PURE__*/_jsxs(\"p\",{style:subtitleStyle,children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Please select your activity for Monday, April 27.\"}),\" \",/*#__PURE__*/_jsx(\"br\",{}),\"Please note that all spa appointments are subject to availability, and we will confirm your reservation in a follow-up email. Thank you for understanding.\"]}),loadingData?/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",color:palette.muted},children:\"Loading availability...\"}):/*#__PURE__*/_jsx(\"div\",{style:cardGrid,children:dbActivities.map(act=>{// Match DB 'no_activity' to UI 'none'\nconst uiValue=act.id===\"no_activity\"?\"none\":act.id;const displaySpots=getDisplaySpots(act.id,act.spots_remaining);const isSoldOut=displaySpots!==null&&displaySpots<=0;// Don't show sold out items if you prefer hiding them,\n// but usually we show them as disabled.\nreturn activityCard({key:act.id,value:uiValue,title:act.title,description:descriptions[act.id]||act.title,spots:displaySpots,selected:activity===uiValue,onSelect:()=>setActivity(uiValue),disabled:isSoldOut&&activity!==uiValue});})}),renderError(\"activity\")]}),step===\"3\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Food & Travel\"}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Do you have any dietary restrictions or food allergies?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(4, 1fr)\",rowGap:8},children:[[\"None\",\"Vegetarian\",\"Vegan\",\"Gluten-Free\",\"Lactose-Free\",\"No Red Meat\",\"No Fish\"].map(opt=>{const noneSelected=allergies.includes(\"None\");const isNone=opt===\"None\";return /*#__PURE__*/_jsxs(\"label\",{style:checkboxRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:allergies.includes(opt),disabled:!isNone&&noneSelected,onChange:()=>{if(isNone){// Toggle None\nif(allergies.includes(\"None\")){// Unselect None\nsetAllergies([]);}else{// Select only None, clear others & otherAllergy\nsetAllergies([\"None\"]);setOtherAllergy(\"\");}}else{// Any other option: make sure None is not selected\nconst withoutNone=allergies.filter(a=>a!==\"None\");if(withoutNone.includes(opt)){setAllergies(withoutNone.filter(a=>a!==opt));}else{setAllergies([...withoutNone,opt]);}}}}),\" \",opt]},opt);}),/*#__PURE__*/_jsxs(\"label\",{style:checkboxRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:allergies.includes(\"Other\"),disabled:allergies.includes(\"None\"),onChange:()=>{const noneSelected=allergies.includes(\"None\");// If None is selected, start from empty\nconst base=noneSelected?[]:allergies.filter(a=>a!==\"None\");if(base.includes(\"Other\")){setAllergies(base.filter(a=>a!==\"Other\"));setOtherAllergy(\"\");}else{setAllergies([...base,\"Other\"]);}}}),\" \",\"Other\"]}),allergies.includes(\"Other\")&&/*#__PURE__*/_jsx(\"input\",{style:{...inputBase,gridColumn:\"span 3\"},placeholder:\"Specify\",value:otherAllergy,onChange:e=>setOtherAllergy(e.target.value)})]}),renderError(\"allergies\")]}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Do you need airfare accommodation?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:32},children:[/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:airfare===\"yes\",onChange:()=>setAirfare(\"yes\")}),\" \",\"Yes\"]}),/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:airfare===\"no\",onChange:()=>setAirfare(\"no\")}),\" \",\"No\"]})]}),renderError(\"airfare\")]})]}),step===\"4\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Additional Accommodations\"}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Will you be bringing a guest with you to the event?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:32},children:[/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:guest===\"yes\",onChange:()=>setGuest(\"yes\")}),\" \",\"Yes\"]}),/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:guest===\"no\",onChange:()=>setGuest(\"no\")}),\" \",\"No\"]})]}),renderError(\"guest\")]})]}),step===\"5Y1\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Guest Information\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(2, 1fr)\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"First Name\"}),/*#__PURE__*/_jsx(\"input\",{style:inputBase,value:guestFirstName,onChange:e=>setGuestFirstName(e.target.value)}),renderError(\"guestFirstName\")]}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Last Name\"}),/*#__PURE__*/_jsx(\"input\",{style:inputBase,value:guestLastName,onChange:e=>setGuestLastName(e.target.value)}),renderError(\"guestLastName\")]})]})]}),step===\"5Y2\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Guest Activity\"}),/*#__PURE__*/_jsxs(\"p\",{style:subtitleStyle,children:[/*#__PURE__*/_jsxs(\"strong\",{children:[\"Please select your guest’s activity.\",\" \"]}),/*#__PURE__*/_jsx(\"br\",{}),\"Please note that all spa appointments are subject to availability, and we will confirm your reservation in a follow-up email. Thank you for understanding.\"]}),loadingData?/*#__PURE__*/_jsx(\"div\",{children:\"Loading...\"}):/*#__PURE__*/_jsx(\"div\",{style:cardGrid,children:dbActivities.map(act=>{const uiValue=act.id===\"no_activity\"?\"none\":act.id;const displaySpots=getDisplaySpots(act.id,act.spots_remaining);const isSoldOut=displaySpots!==null&&displaySpots<=0;return activityCard({key:act.id,value:uiValue,title:act.title,description:descriptions[act.id]||act.title,spots:displaySpots,selected:guestActivity===uiValue,onSelect:()=>setGuestActivity(uiValue),disabled:isSoldOut&&guestActivity!==uiValue});})}),renderError(\"guestActivity\")]}),step===\"5Y3\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Guest Dietary Restrictions\"}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Does your guest have any dietary restrictions or food allergies?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(4, 1fr)\",rowGap:8},children:[[\"None\",\"Vegetarian\",\"Vegan\",\"Gluten-Free\",\"Lactose-Free\",\"No Red Meat\",\"No Fish\"].map(opt=>{const noneSelected=guestAllergies.includes(\"None\");const isNone=opt===\"None\";return /*#__PURE__*/_jsxs(\"label\",{style:checkboxRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:guestAllergies.includes(opt),disabled:!isNone&&noneSelected,onChange:()=>{if(isNone){if(guestAllergies.includes(\"None\")){// Unselect None\nsetGuestAllergies([]);}else{// Select only None, clear others & guestOtherAllergy\nsetGuestAllergies([\"None\"]);setGuestOtherAllergy(\"\");}}else{const withoutNone=guestAllergies.filter(a=>a!==\"None\");if(withoutNone.includes(opt)){setGuestAllergies(withoutNone.filter(a=>a!==opt));}else{setGuestAllergies([...withoutNone,opt]);}}}}),\" \",opt]},opt);}),/*#__PURE__*/_jsxs(\"label\",{style:checkboxRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:guestAllergies.includes(\"Other\"),disabled:guestAllergies.includes(\"None\"),onChange:()=>{const noneSelected=guestAllergies.includes(\"None\");const base=noneSelected?[]:guestAllergies.filter(a=>a!==\"None\");if(base.includes(\"Other\")){setGuestAllergies(base.filter(a=>a!==\"Other\"));setGuestOtherAllergy(\"\");}else{setGuestAllergies([...base,\"Other\"]);}}}),\" \",\"Other\"]}),guestAllergies.includes(\"Other\")&&/*#__PURE__*/_jsx(\"input\",{style:{...inputBase,gridColumn:\"span 3\"},placeholder:\"Specify\",value:guestOtherAllergy,onChange:e=>setGuestOtherAllergy(e.target.value)})]}),renderError(\"guestAllergies\")]})]}),step===\"5N1\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Get Text Updates\"}),/*#__PURE__*/_jsxs(\"div\",{style:fieldStyle,children:[/*#__PURE__*/_jsx(\"p\",{style:subtitleStyle,children:\"If you'd like to receive text updates leading up to and during the event, just enter your cell phone number below. Don't worry, we promise not to spam you-just the important stuff to keep you in the know!\"}),/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:textUpdates===\"yes\",onChange:()=>setTextUpdates(\"yes\")}),\" \",\"Yes, my number is:\",\" \",textUpdates===\"yes\"&&/*#__PURE__*/_jsx(\"input\",{style:{...inputBase,marginLeft:8,width:180},placeholder:\"(555) 555-5555\",value:phone,onChange:e=>setPhone(formatUSPhone(e.target.value))})]}),/*#__PURE__*/_jsxs(\"label\",{style:radioRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",checked:textUpdates===\"no\",onChange:()=>setTextUpdates(\"no\")}),\" \",\"No, thanks\"]}),renderError(\"textUpdates\"),textUpdates===\"yes\"&&renderError(\"phone\"),/*#__PURE__*/_jsx(\"p\",{style:subtitleStyle,children:\"Please note that you won't be able to reply to these text messages; these are informational only.\"})]})]}),step===\"6\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Event Liability Waiver\"}),/*#__PURE__*/_jsx(\"textarea\",{style:{...inputBase,height:200,resize:\"none\",overflowY:\"scroll\",lineHeight:1.4,width:\"100%\",marginBottom:16},readOnly:true,value:\"RELEASE OF LIABILITY... (Text Omitted for Brevity - Copy from your original code if needed)\"}),/*#__PURE__*/_jsxs(\"label\",{style:checkboxRow,children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:waiverAccepted,onChange:e=>setWaiverAccepted(e.target.checked)}),/*#__PURE__*/_jsx(\"span\",{children:\"I acknowledge that I have read and understood...\"})]}),renderError(\"waiver\")]}),step===\"7\"&&/*#__PURE__*/_jsxs(\"div\",{style:mainContentStyle,children:[/*#__PURE__*/_jsx(\"h1\",{style:headingStyle,children:\"Registration Confirmed\"}),/*#__PURE__*/_jsx(\"p\",{style:{textAlign:\"center\",marginTop:20},children:\"Thank you for submitting your RSVP. Your response has been recorded. We are thrilled you will be joining us! Check your email for confirmation.\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:buttonsRow,children:[/*#__PURE__*/_jsx(\"button\",{style:{...secondaryButton,opacity:isFirstStep||submitting?.4:1,cursor:isFirstStep||submitting?\"default\":\"pointer\"},onClick:handleBack,disabled:isFirstStep||submitting,children:\"← Previous Step\"}),!isLastStep&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"flex-end\"},children:[/*#__PURE__*/_jsx(\"button\",{style:{...primaryButton,opacity:submitting?.7:1,cursor:submitting?\"default\":\"pointer\"},onClick:handleNext,disabled:submitting,children:step===\"6\"?submitting?\"Booking Spot...\":\"Let’s Party!\":\"Next Step →\"}),submitError&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:8,fontSize:12,color:palette.error},children:submitError})]})]})]});}MultiStepRSVPFormB.defaultProps={width:960,height:620};addPropertyControls(MultiStepRSVPFormB,{width:{type:ControlType.Number,defaultValue:960},height:{type:ControlType.Number,defaultValue:620}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiStepRSVPFormB\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiStepRSVPFormB.map"],"mappings":"yOAKgE,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,QAAM,UAAQ,EAAW,CAAC,EAAK,GAASA,EAAe,IAAI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