{"version":3,"file":"Form_Component.B3Vz-yPk.mjs","names":["useId","useState","_Fragment","__esmMin","window","init_ssg_sandbox_shims","init_npm_react_18_3_1","_e","l","p","c","init_jsx_runtime","ie","ce","Field","id","errorId","sharedInputStyle","BLACK","hasError","ERROR_RED","common","fieldKey","form","onChange","required","errorMessage","labelStyle","label","RED","textarea","ContactForm","isNarrow","setIsNarrow","BREAKPOINT","mode","setMode","setForm","EMPTY_FORM","honeypot","setHoneypot","status","setStatus","errors","setErrors","check","prev","key","e","selectedRooms","s","toggleRoom","updated","room","r","switchMode","next","validate","newErrors","REQUIRED","firstKey","trackSuccess","w","handleSubmit","v","payload","today","res","API_URL","cols","n","fp","isRequired","CSS","m","ROOMS","selected","init_Form_Component"],"sources":["https:/framerusercontent.com/modules/0YT3vPP9ShAm3QlWaDEp/SU9NBpvcgzRoiiQ04YG8/Form_Component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useId}from\"react\";// ─── Constants ───────────────────────────────────────────────────────────────\nconst RED=\"#FF0000\";const BLACK=\"#000000\";const ERROR_RED=\"#ff6666\";const BREAKPOINT=810;const ROOMS=[\"MaHalla exclusive\",\"Main Hall\",\"Black Hall\",\"Underworld\",\"First Floor\",\"Studio\",\"Wintergarden\",\"Ritual Space\",\"Reactor\",\"Kitchen\",\"Forum\"];const API_URL=\"https://forms.mahalla.berlin/api/inquiry\";// Required fields per mode. Change here only — labels and validation follow.\nconst REQUIRED={contact:[\"firstName\",\"email\",\"message\"],location:[\"projectTitle\",\"startDate\",\"endDate\",\"guests\",\"firstName\",\"lastName\",\"email\",\"bookingDescription\"]};const EMPTY_FORM={firstName:\"\",lastName:\"\",company:\"\",email:\"\",phone:\"\",message:\"\",projectTitle:\"\",startDate:\"\",endDate:\"\",guests:\"\",area:\"\",bookingDescription:\"\",referral:\"\"};const isRequired=(mode,key)=>REQUIRED[mode].includes(key);const today=()=>new Date().toISOString().split(\"T\")[0];// ─── Shared Styles ────────────────────────────────────────────────────────────\nconst labelStyle={fontSize:\"11px\",fontWeight:500,marginBottom:\"4px\",display:\"block\",color:RED,letterSpacing:\"0.08em\",textTransform:\"uppercase\"};// Focus ring + placeholder colour (inline styles can't do :focus).\nconst CSS=`\n.mh-input:focus { border-color: ${RED} !important; box-shadow: 0 0 0 1px ${RED}; }\n.mh-input::placeholder { color: rgba(255,255,255,0.4); }\n.mh-btn:focus-visible { outline: 2px solid ${RED}; outline-offset: 2px; }\n`;function Field({label,fieldKey,form,onChange,required,type=\"text\",placeholder=\"\",textarea=false,hasError=false,errorMessage=\"\",autoComplete=\"off\",inputMode,min}){const id=useId();const errorId=`${id}-error`;const sharedInputStyle={width:\"100%\",minWidth:0,padding:\"10px 14px\",background:BLACK,border:`1px solid ${hasError?ERROR_RED:\"rgba(255, 0, 0, 0.5)\"}`,borderRadius:\"8px\",fontSize:\"16px\",color:\"#fff\",boxSizing:\"border-box\",outline:\"none\",fontFamily:\"inherit\",colorScheme:\"dark\",display:\"block\"};const common={id,name:fieldKey,value:form[fieldKey],onChange:onChange(fieldKey),placeholder,autoComplete,\"aria-required\":required||undefined,\"aria-invalid\":hasError||undefined,\"aria-describedby\":hasError&&errorMessage?errorId:undefined,className:\"mh-input\"};return /*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0,width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"label\",{htmlFor:id,style:labelStyle,children:[label,\" \",required&&/*#__PURE__*/_jsx(\"span\",{style:{color:RED},children:\"*\"})]}),textarea?/*#__PURE__*/_jsx(\"textarea\",{...common,rows:4,style:{...sharedInputStyle,resize:\"vertical\"}}):/*#__PURE__*/_jsx(\"input\",{...common,type:type,inputMode:inputMode,min:min,style:sharedInputStyle}),hasError&&errorMessage&&/*#__PURE__*/_jsx(\"span\",{id:errorId,style:{fontSize:\"11px\",color:ERROR_RED,marginTop:\"3px\",display:\"block\",letterSpacing:\"0.04em\"},children:errorMessage})]});}// ─── Main Component ───────────────────────────────────────────────────────────\nexport default function ContactForm(){const[isNarrow,setIsNarrow]=useState(()=>typeof window!==\"undefined\"?window.innerWidth<BREAKPOINT:false);const[mode,setMode]=useState(\"contact\");const[form,setForm]=useState(EMPTY_FORM);const[honeypot,setHoneypot]=useState(\"\");const[status,setStatus]=useState(\"idle\");const[errors,setErrors]=useState({});useEffect(()=>{const check=()=>setIsNarrow(window.innerWidth<BREAKPOINT);check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[]);// ─── Handlers ──────────────────────────────────────────────────────────────\nconst onChange=key=>e=>{setForm(prev=>({...prev,[key]:e.target.value}));setErrors(prev=>({...prev,[key]:undefined}));};const selectedRooms=form.area.split(\",\").map(s=>s.trim()).filter(Boolean);const toggleRoom=room=>{const updated=selectedRooms.includes(room)?selectedRooms.filter(r=>r!==room):[...selectedRooms,room];setForm(prev=>({...prev,area:updated.join(\", \")}));};const switchMode=next=>{if(next===mode)return;// Keep the contact details the visitor already typed.\nsetForm(prev=>({...EMPTY_FORM,firstName:prev.firstName,email:prev.email}));setMode(next);setErrors({});setStatus(\"idle\");};const validate=()=>{const newErrors={};REQUIRED[mode].forEach(key=>{if(!form[key].trim())newErrors[key]=\"Required\";});if(form.email.trim()&&!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(form.email.trim())){newErrors.email=\"Invalid email address\";}if(mode===\"location\"){if(form.guests&&!(Number(form.guests)>=1)){newErrors.guests=\"At least 1\";}if(form.startDate&&form.endDate&&form.endDate<form.startDate){newErrors.endDate=\"Must be after start date\";}}setErrors(newErrors);// Move focus to the first invalid field.\nconst firstKey=Object.keys(newErrors)[0];if(firstKey&&typeof document!==\"undefined\"){const el=document.querySelector(`[name=\"${firstKey}\"]`);el?.focus();}return Object.keys(newErrors).length===0;};const trackSuccess=()=>{if(typeof window===\"undefined\")return;const w=window;w.dataLayer=w.dataLayer||[];w.dataLayer.push({event:\"form_submit\",form_type:mode});};const handleSubmit=async e=>{e.preventDefault();if(status===\"loading\")return;// Bots fill the hidden field: pretend success, send nothing.\nif(honeypot){setStatus(\"success\");return;}if(!validate())return;setStatus(\"loading\");const v=key=>form[key].trim();// Field names must match Airtable exactly (incl. \"Date Inquriy\").\nconst payload=mode===\"contact\"?{formType:\"contact\",fields:{\"Contact Firstname\":v(\"firstName\"),\"contact mail\":v(\"email\"),Description:v(\"message\"),\"Date Inquriy\":today(),\"Project Source\":\"Webform\"}}:{formType:\"location\",fields:{\"Project Title\":v(\"projectTitle\"),\"Start Date\":form.startDate,\"End Date\":form.endDate,Description:v(\"bookingDescription\"),PAX:Number(form.guests),\"MaHalla Area\":selectedRooms,\"Contact Firstname\":v(\"firstName\"),\"Contact Lastname\":v(\"lastName\"),Companyformname:v(\"company\"),\"contact mail\":v(\"email\"),\"contact phone\":v(\"phone\"),\"Lead source\":v(\"referral\"),\"Date Inquriy\":today(),\"Project Source\":\"Webform\"}};try{const res=await fetch(API_URL,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(payload)});if(!res.ok)throw new Error(`HTTP ${res.status}`);setStatus(\"success\");trackSuccess();}catch{setStatus(\"error\");}};// ─── Grid Helper ───────────────────────────────────────────────────────────\nconst cols=n=>({display:\"grid\",gridTemplateColumns:isNarrow?\"1fr\":`repeat(${n}, 1fr)`,gap:\"12px\",minWidth:0,width:\"100%\"});// ─── Field Helper ──────────────────────────────────────────────────────────\nconst fp=key=>({fieldKey:key,form,onChange,required:isRequired(mode,key),hasError:!!errors[key],errorMessage:errors[key]||\"\"});// ─── Success State ─────────────────────────────────────────────────────────\nif(status===\"success\")return /*#__PURE__*/_jsx(\"div\",{role:\"status\",style:{color:RED,fontSize:\"13px\",letterSpacing:\"0.06em\",textTransform:\"uppercase\",padding:\"40px 0\"},children:\"✓ Submitted. We'll be in touch.\"});// ─── Render ────────────────────────────────────────────────────────────────\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"center\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,noValidate:true,\"aria-label\":mode===\"contact\"?\"Contact\":\"Location Inquiry\",style:{background:BLACK,width:\"100%\",maxWidth:\"600px\",padding:\"20px\",margin:0,position:\"relative\",boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",gap:\"16px\",fontFamily:\"inherit\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"div\",{role:\"tablist\",style:{position:\"relative\",display:\"flex\",border:`1px solid ${RED}`,userSelect:\"none\",height:\"40px\",borderRadius:\"8px\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",top:0,left:mode===\"contact\"?0:\"50%\",width:\"50%\",height:\"100%\",background:RED,transition:\"left 0.25s ease\",borderRadius:\"8px\"}}),[\"contact\",\"location\"].map(m=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"tab\",\"aria-selected\":mode===m,className:\"mh-btn\",onClick:()=>switchMode(m),style:{flex:1,textAlign:\"center\",padding:\"10px 12px\",fontSize:\"11px\",letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:mode===m?BLACK:RED,position:\"relative\",zIndex:1,transition:\"color 0.25s ease\",cursor:\"pointer\",whiteSpace:\"nowrap\",background:\"none\",border:\"none\",fontFamily:\"inherit\",borderRadius:\"8px\"},children:m===\"contact\"?\"Contact\":\"Location Inquiry\"},m))]}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:\"-10000px\",width:\"1px\",height:\"1px\",overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"label\",{children:[\"Website\",/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"website\",tabIndex:-1,autoComplete:\"off\",value:honeypot,onChange:e=>setHoneypot(e.target.value)})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"16px\",minWidth:0},children:[mode===\"contact\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Field,{label:\"Name\",...fp(\"firstName\"),autoComplete:\"name\",placeholder:\"Your name\"}),/*#__PURE__*/_jsx(Field,{label:\"Email\",...fp(\"email\"),type:\"email\",inputMode:\"email\",autoComplete:\"email\",placeholder:\"Your email\"}),/*#__PURE__*/_jsx(Field,{label:\"Message\",...fp(\"message\"),textarea:true,placeholder:\"How can we help?\"})]}),mode===\"location\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Field,{label:\"Project Title\",...fp(\"projectTitle\"),placeholder:\"Enter project title\"}),/*#__PURE__*/_jsxs(\"div\",{style:cols(3),children:[/*#__PURE__*/_jsx(Field,{label:\"Start Date\",...fp(\"startDate\"),type:\"date\",min:today()}),/*#__PURE__*/_jsx(Field,{label:\"End Date\",...fp(\"endDate\"),type:\"date\",min:form.startDate||today()}),/*#__PURE__*/_jsx(Field,{label:\"Guests\",...fp(\"guests\"),type:\"number\",inputMode:\"numeric\",min:1,placeholder:\"0\"})]}),/*#__PURE__*/_jsxs(\"div\",{role:\"group\",\"aria-label\":\"MaHalla Area\",children:[/*#__PURE__*/_jsx(\"span\",{style:labelStyle,children:\"MaHalla Area\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:\"6px\",marginTop:\"4px\"},children:ROOMS.map(room=>{const selected=selectedRooms.includes(room);return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-pressed\":selected,className:\"mh-btn\",onClick:()=>toggleRoom(room),style:{padding:\"6px 10px\",fontSize:\"12px\",letterSpacing:\"0.04em\",cursor:\"pointer\",transition:\"all 0.15s ease\",border:`1px solid ${selected?RED:\"rgba(255, 0, 0, 0.5)\"}`,background:selected?RED:BLACK,color:selected?BLACK:RED,borderRadius:\"8px\",fontFamily:\"inherit\",whiteSpace:\"nowrap\"},children:room},room);})})]}),/*#__PURE__*/_jsx(Field,{label:\"Booking Description\",...fp(\"bookingDescription\"),textarea:true,placeholder:\"Describe your booking\"}),/*#__PURE__*/_jsxs(\"div\",{role:\"group\",\"aria-label\":\"Contact\",style:{display:\"flex\",flexDirection:\"column\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...labelStyle,marginBottom:0},children:\"Contact\"}),/*#__PURE__*/_jsxs(\"div\",{style:cols(3),children:[/*#__PURE__*/_jsx(Field,{label:\"Firstname\",...fp(\"firstName\"),autoComplete:\"given-name\",placeholder:\"Firstname\"}),/*#__PURE__*/_jsx(Field,{label:\"Lastname\",...fp(\"lastName\"),autoComplete:\"family-name\",placeholder:\"Lastname\"}),/*#__PURE__*/_jsx(Field,{label:\"Company\",...fp(\"company\"),autoComplete:\"organization\",placeholder:\"Company\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:cols(2),children:[/*#__PURE__*/_jsx(Field,{label:\"Email\",...fp(\"email\"),type:\"email\",inputMode:\"email\",autoComplete:\"email\",placeholder:\"Email\"}),/*#__PURE__*/_jsx(Field,{label:\"Phone\",...fp(\"phone\"),type:\"tel\",inputMode:\"tel\",autoComplete:\"tel\",placeholder:\"Phone\"})]})]}),/*#__PURE__*/_jsx(Field,{label:\"Where did you hear about us?\",...fp(\"referral\"),placeholder:\"Google, Instagram, a friend…\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",paddingTop:\"4px\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"mh-btn\",onClick:()=>{setForm(EMPTY_FORM);setErrors({});setStatus(\"idle\");},style:{background:\"none\",border:\"none\",cursor:\"pointer\",color:RED,fontSize:\"11px\",letterSpacing:\"0.06em\",textTransform:\"uppercase\",opacity:.6,whiteSpace:\"nowrap\",fontFamily:\"inherit\"},children:\"↺ Clear\"}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",className:\"mh-btn\",disabled:status===\"loading\",style:{background:RED,color:BLACK,border:\"none\",padding:\"12px 32px\",fontSize:\"12px\",letterSpacing:\"0.1em\",textTransform:\"uppercase\",cursor:status===\"loading\"?\"not-allowed\":\"pointer\",opacity:status===\"loading\"?.7:1,width:\"100%\",marginLeft:\"16px\",fontFamily:\"inherit\",fontWeight:600,borderRadius:\"8px\"},children:status===\"loading\"?\"Submitting…\":\"Submit\"})]}),status===\"error\"&&/*#__PURE__*/_jsx(\"p\",{role:\"alert\",style:{color:ERROR_RED,fontSize:\"11px\",margin:0,letterSpacing:\"0.04em\",textTransform:\"uppercase\"},children:\"Something went wrong. Please try again or write to info@mahalla.berlin.\"})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ContactForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Form_Component.map"],"mappings":"A,4JAQE,SAASc,EAAM,CAAC,QAAM,WAAS,OAAK,WAAS,WAAS,OAAK,OAAO,cAAY,GAAG,WAAS,GAAM,WAAS,GAAM,eAAa,GAAG,eAAa,MAAM,YAAU,OAAK,CAAC,IAAMC,EAAGf,EAAM,EAAQgB,EAAQ,GAAGD,EAAG,QAAcE,EAAiB,CAAC,MAAM,OAAO,SAAS,EAAE,QAAQ,YAAY,WAAWC,EAAM,OAAO,aAAaC,EAASC,EAAU,yBAAyB,aAAa,MAAM,SAAS,OAAO,MAAM,OAAO,UAAU,aAAa,QAAQ,OAAO,WAAW,UAAU,YAAY,OAAO,QAAQ,OAAO,EAAQC,EAAO,CAAC,KAAG,KAAKC,EAAS,MAAMC,EAAKD,GAAU,SAASE,EAASF,CAAQ,EAAE,cAAY,eAAa,gBAAgBG,GAAU,IAAA,GAAU,eAAeN,GAAU,IAAA,GAAU,mBAAmBA,GAAUO,EAAaV,EAAQ,IAAA,GAAU,UAAU,UAAU,EAAE,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,MAAM,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