{"version":3,"file":"Form.BvSljlGo.mjs","names":["useMemo","useState","_Fragment","__esmMin","window","pe","te","init_ssg_sandbox_shims","init_npm_react_18_3_1","_e","l","p","c","init_jsx_runtime","navigator","addPropertyControls","init_framer_BisrWwwE","ControlType","VideoForm","props","uid","status","setStatus","submitting","setSubmitting","hover","setHover","handleSubmit","normalizedWebhookUrl","webhookUrl","parsedWebhook","configErrorMessage","form","formData","successMessage","fieldEntries","fields","field","valuesByLabel","entry","acc","metadata","payload","emailSubject","title","webhookFormData","index","errorMessage","subtitleParts","subtitleText","rows","f","density","compact","inputBaseStyle","borderColor","renderField","placeholder","commonProps","opts","o","opt","i","idx","cardBackground","titleColor","textColor","focusColor","linkHref","linkText","row","rIdx","buttonBgHover","buttonBg","buttonText","submitText","init_Form"],"sources":["https:/framerusercontent.com/modules/t1RbM7hbH65WCUGM8P4X/p2BZXVieghRKSYqfO2C2/Form.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useMemo,startTransition}from\"react\";// User request: Update the existing Video Contact Form code component in Form.tsx without changing existing instances by default, add a boolean compact control (default false), and when enabled substantially reduce vertical spacing/sizing while preserving schema, validation, webhook behavior, width responsiveness, and natural touch scrolling.\n/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function VideoForm(props){const{webhookUrl,emailSubject,title,subtitleText,linkText,linkHref,submitText,successMessage,errorMessage,configErrorMessage,fields,cardBackground,titleColor,textColor,buttonBg,buttonBgHover,buttonText,focusColor,borderColor,compact}=props;const uid=useMemo(()=>\"vf\"+Math.random().toString(36).slice(2,8),[]);const[status,setStatus]=useState({text:\"\",type:\"idle\"});const[submitting,setSubmitting]=useState(false);const[hover,setHover]=useState(false);async function handleSubmit(e){e.preventDefault();const normalizedWebhookUrl=(webhookUrl||\"\").trim();let parsedWebhook=null;try{parsedWebhook=new URL(normalizedWebhookUrl);}catch{parsedWebhook=null;}if(!normalizedWebhookUrl||!parsedWebhook||parsedWebhook.protocol!==\"https:\"&&parsedWebhook.protocol!==\"http:\"){startTransition(()=>setStatus({text:configErrorMessage,type:\"error\"}));return;}const form=e.currentTarget;const formData=new FormData(form);const honey=String(formData.get(\"_honey\")||\"\").trim();if(honey){startTransition(()=>setStatus({text:successMessage,type:\"ok\"}));form.reset();return;}const fieldEntries=(fields||[]).map(field=>({label:field.label,value:String(formData.get(field.label)||\"\"),required:field.required,fieldType:field.fieldType}));const valuesByLabel=fieldEntries.reduce((acc,entry)=>{acc[entry.label]=entry.value;return acc;},{});const metadata={submittedAt:new Date().toISOString(),userAgent:typeof navigator!==\"undefined\"?navigator.userAgent:\"server\",pageUrl:typeof window!==\"undefined\"?window.location.href:\"\",referrer:typeof document!==\"undefined\"?document.referrer:\"\",timezone:typeof Intl!==\"undefined\"&&typeof Intl.DateTimeFormat===\"function\"?Intl.DateTimeFormat().resolvedOptions().timeZone:\"\"};const payload={subject:emailSubject||\"New form submission\",formTitle:title,submission:valuesByLabel,fields:fieldEntries,metadata};const webhookFormData=new FormData;webhookFormData.append(\"payload\",JSON.stringify(payload));webhookFormData.append(\"subject\",payload.subject);webhookFormData.append(\"formTitle\",payload.formTitle);webhookFormData.append(\"submittedAt\",metadata.submittedAt);webhookFormData.append(\"userAgent\",metadata.userAgent);webhookFormData.append(\"pageUrl\",metadata.pageUrl);webhookFormData.append(\"referrer\",metadata.referrer);webhookFormData.append(\"timezone\",metadata.timezone);webhookFormData.append(\"fields\",JSON.stringify(fieldEntries));webhookFormData.append(\"submission\",JSON.stringify(valuesByLabel));fieldEntries.forEach((entry,index)=>{webhookFormData.append(entry.label,entry.value);webhookFormData.append(`field_${index+1}_label`,entry.label);webhookFormData.append(`field_${index+1}_value`,entry.value);webhookFormData.append(`field_${index+1}_required`,String(entry.required));webhookFormData.append(`field_${index+1}_type`,entry.fieldType);});startTransition(()=>{setSubmitting(true);setStatus({text:\"Sending...\",type:\"idle\"});});try{const res=await fetch(normalizedWebhookUrl,{method:\"POST\",body:webhookFormData});if(!res.ok){throw new Error(\"Webhook request failed\");}startTransition(()=>setStatus({text:successMessage,type:\"ok\"}));form.reset();}catch{startTransition(()=>setStatus({text:errorMessage,type:\"error\"}));}finally{startTransition(()=>setSubmitting(false));}}const subtitleParts=(subtitleText||\"\").split(\"{link}\");// Group fields into rows: a field starts a new row unless \"sameRow\" is on\nconst rows=[];(fields||[]).forEach(f=>{if(f.sameRow&&rows.length>0){rows[rows.length-1].push(f);}else{rows.push([f]);}});const density=useMemo(()=>({cardPadding:compact?24:40,titleMarginBottom:compact?10:20,subtitleMarginBottom:compact?16:28,formGap:compact?10:16,rowGap:compact?10:16,inputPaddingY:compact?9:14,inputPaddingX:16,inputMinHeight:compact?40:48,textareaMinHeight:compact?72:90,buttonMinHeight:compact?40:48,buttonPaddingX:compact?28:40,buttonMarginTop:compact?4:8,mobileCardPadding:compact?16:24,mobileNarrowCardPadding:compact?12:16}),[compact]);const inputBaseStyle={width:\"100%\",padding:`${density.inputPaddingY}px ${density.inputPaddingX}px`,fontSize:16,color:\"#333\",background:\"#fff\",border:`1px solid ${borderColor}`,borderRadius:6,outline:\"none\",fontFamily:\"inherit\",boxSizing:\"border-box\",appearance:\"none\",minHeight:density.inputMinHeight};function renderField(field,idx){const placeholder=field.label+(field.required?\" *\":\"\");const commonProps={name:field.label,required:field.required};if(field.fieldType===\"select\"){const opts=(field.options||\"\").split(\",\").map(o=>o.trim()).filter(Boolean);return /*#__PURE__*/_jsxs(\"select\",{...commonProps,defaultValue:\"\",style:{...inputBaseStyle,backgroundImage:\"url(\\\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><polyline points='6 9 12 15 18 9'></polyline></svg>\\\")\",backgroundRepeat:\"no-repeat\",backgroundPosition:\"right 16px center\",paddingRight:40},children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",disabled:true,children:placeholder}),opts.map((opt,i)=>/*#__PURE__*/_jsx(\"option\",{value:opt,children:opt},i))]},idx);}if(field.fieldType===\"textarea\"){return /*#__PURE__*/_jsx(\"textarea\",{...commonProps,placeholder:placeholder,rows:4,style:{...inputBaseStyle,resize:\"vertical\",minHeight:density.textareaMinHeight}},idx);}return /*#__PURE__*/_jsx(\"input\",{type:field.fieldType,...commonProps,placeholder:placeholder,style:inputBaseStyle},idx);}return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",fontFamily:'-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif',boxSizing:\"border-box\",containerType:\"inline-size\",touchAction:\"auto\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${uid}-card { width: 100%; max-width: 640px; min-width: 0; background: ${cardBackground}; border-radius: 12px; padding: ${density.cardPadding}px; box-sizing: border-box; }\n                .${uid}-title { text-align: center; font-size: ${compact?30:34}px; font-weight: 700; color: ${titleColor}; margin: 0 0 ${density.titleMarginBottom}px 0; }\n                .${uid}-subtitle { text-align: center; font-size: ${compact?14:15}px; line-height: ${compact?1.45:1.6}; color: ${textColor}; margin: 0 0 ${density.subtitleMarginBottom}px 0; }\n                .${uid}-row { display: grid; gap: ${density.rowGap}px; min-width: 0; }\n                .${uid}-btn { align-self: flex-start; }\n                #${uid} input:focus, #${uid} select:focus, #${uid} textarea:focus {\n                    border-color: ${focusColor} !important;\n                    box-shadow: 0 0 0 3px ${focusColor}26;\n                }\n                @container (max-width: 480px) {\n                    .${uid}-card { padding: ${density.mobileCardPadding}px; }\n                    .${uid}-title { font-size: ${compact?22:24}px; }\n                    .${uid}-row { grid-template-columns: minmax(0, 1fr) !important; }\n                    .${uid}-btn { align-self: stretch; width: 100%; text-align: center; }\n                }\n                @container (max-width: 340px) {\n                    .${uid}-card { padding: ${density.mobileNarrowCardPadding}px; }\n                    .${uid}-title { font-size: ${compact?18:20}px; }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:`${uid}-card`,children:[/*#__PURE__*/_jsx(\"h2\",{className:`${uid}-title`,children:title}),/*#__PURE__*/_jsxs(\"p\",{className:`${uid}-subtitle`,children:[subtitleParts[0],subtitleParts.length>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"a\",{href:linkHref,style:{color:\"#2563eb\",textDecoration:\"underline\"},children:linkText}),subtitleParts[1]]})]}),/*#__PURE__*/_jsxs(\"form\",{id:uid,onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:density.formGap,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"_honey\",style:{display:\"none\"},tabIndex:-1,autoComplete:\"off\"}),rows.map((row,rIdx)=>/*#__PURE__*/_jsx(\"div\",{className:`${uid}-row`,style:{gridTemplateColumns:row.length>1?\"repeat(2, minmax(0, 1fr))\":\"minmax(0, 1fr)\"},children:row.map((f,i)=>renderField(f,rIdx*10+i))},rIdx)),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:submitting,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),className:`${uid}-btn`,style:{background:hover?buttonBgHover:buttonBg,color:buttonText,fontSize:16,fontWeight:700,border:\"none\",borderRadius:999,minHeight:density.buttonMinHeight,padding:`0 ${density.buttonPaddingX}px`,cursor:submitting?\"not-allowed\":\"pointer\",opacity:submitting?.6:1,marginTop:density.buttonMarginTop},children:submitText}),status.text&&/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:14,color:status.type===\"ok\"?\"#1a7f37\":status.type===\"error\"?\"#c0392b\":\"#666\"},children:status.text})]})]})]});}VideoForm.displayName=\"Video Contact Form\";VideoForm.defaultProps={webhookUrl:\"https://hooks.zapier.com/hooks/catch/3406296/44rp4ey/\",emailSubject:\"New video inquiry\",title:\"Let's talk video.\",subtitleText:\"Please fill out the form below, and an Account Executive will follow up within 2 hours (Business hours are Monday–Friday, 8 AM – 8 PM). If you're trying to reach someone else, please visit our {link}.\",linkText:\"contact page\",linkHref:\"#\",submitText:\"Submit\",successMessage:\"Thank you! We'll be in touch soon.\",errorMessage:\"Something went wrong. Please try again.\",configErrorMessage:\"Please set a valid webhook URL before publishing.\",cardBackground:\"#ffffff\",titleColor:\"#1a1a1a\",textColor:\"#333333\",buttonBg:\"#f5c518\",buttonBgHover:\"#e6b800\",buttonText:\"#1a1a1a\",focusColor:\"#f5b400\",borderColor:\"#cccccc\",compact:false,fields:[{label:\"First name\",fieldType:\"text\",required:true,sameRow:false,options:\"\"},{label:\"Last name\",fieldType:\"text\",required:true,sameRow:true,options:\"\"},{label:\"Company name\",fieldType:\"text\",required:true,sameRow:false,options:\"\"},{label:\"Phone number\",fieldType:\"tel\",required:false,sameRow:true,options:\"\"},{label:\"Work email address\",fieldType:\"email\",required:true,sameRow:false,options:\"\"},{label:\"Number of employees:\",fieldType:\"select\",required:true,sameRow:false,options:\"1–10, 11–50, 51–200, 201–500, 501–1000, 1000+\"},{label:\"Please provide an overview of your video project\",fieldType:\"textarea\",required:true,sameRow:false,options:\"\"},{label:\"How did you hear about us?\",fieldType:\"select\",required:false,sameRow:false,options:\"Search engine, Social media, Referral, Advertisement, Other\"}]};addPropertyControls(VideoForm,{webhookUrl:{type:ControlType.String,title:\"Webhook URL\",defaultValue:\"https://hooks.zapier.com/hooks/catch/3406296/44rp4ey/\",description:\"Zapier Catch Hook URL that receives form submissions as JSON.\"},emailSubject:{type:ControlType.String,title:\"Email subject\",defaultValue:\"New video inquiry\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Let's talk video.\"},subtitleText:{type:ControlType.String,title:\"Subtitle\",displayTextArea:true,defaultValue:\"Please fill out the form below, and an Account Executive will follow up within 2 hours (Business hours are Monday–Friday, 8 AM – 8 PM). If you're trying to reach someone else, please visit our {link}.\",description:\"Use {link} where you want the contact link inserted.\"},linkText:{type:ControlType.String,title:\"Link text\",defaultValue:\"contact page\"},linkHref:{type:ControlType.String,title:\"Link URL\",defaultValue:\"#\"},submitText:{type:ControlType.String,title:\"Button text\",defaultValue:\"Submit\"},successMessage:{type:ControlType.String,title:\"Success message\",defaultValue:\"Thank you! We'll be in touch soon.\"},errorMessage:{type:ControlType.String,title:\"Error message\",defaultValue:\"Something went wrong. Please try again.\"},configErrorMessage:{type:ControlType.String,title:\"Missing-webhook warning\",defaultValue:\"Please set a valid webhook URL before publishing.\"},fields:{type:ControlType.Array,title:\"Fields\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Field\"},fieldType:{type:ControlType.Enum,title:\"Type\",options:[\"text\",\"email\",\"tel\",\"textarea\",\"select\"],optionTitles:[\"Text\",\"Email\",\"Phone\",\"Paragraph\",\"Dropdown\"],defaultValue:\"text\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},sameRow:{type:ControlType.Boolean,title:\"Same row as previous\",defaultValue:false},options:{type:ControlType.String,title:\"Options (comma-separated)\",defaultValue:\"\",description:\"Only used when type is 'Dropdown'.\"}}},defaultValue:[{label:\"First name\",fieldType:\"text\",required:true,sameRow:false,options:\"\"},{label:\"Last name\",fieldType:\"text\",required:true,sameRow:true,options:\"\"},{label:\"Company name\",fieldType:\"text\",required:true,sameRow:false,options:\"\"},{label:\"Phone number\",fieldType:\"tel\",required:false,sameRow:true,options:\"\"},{label:\"Work email address\",fieldType:\"email\",required:true,sameRow:false,options:\"\"},{label:\"Number of employees:\",fieldType:\"select\",required:true,sameRow:false,options:\"1–10, 11–50, 51–200, 201–500, 501–1000, 1000+\"},{label:\"Please provide an overview of your video project\",fieldType:\"textarea\",required:true,sameRow:false,options:\"\"},{label:\"How did you hear about us?\",fieldType:\"select\",required:false,sameRow:false,options:\"Search engine, Social media, Referral, Advertisement, Other\"}]},cardBackground:{type:ControlType.Color,title:\"Card background\",defaultValue:\"#ffffff\"},titleColor:{type:ControlType.Color,title:\"Title color\",defaultValue:\"#1a1a1a\"},textColor:{type:ControlType.Color,title:\"Text color\",defaultValue:\"#333333\"},borderColor:{type:ControlType.Color,title:\"Border color\",defaultValue:\"#cccccc\"},focusColor:{type:ControlType.Color,title:\"Focus color\",defaultValue:\"#f5b400\"},buttonBg:{type:ControlType.Color,title:\"Button\",defaultValue:\"#f5c518\"},buttonBgHover:{type:ControlType.Color,title:\"Button (hover)\",defaultValue:\"#e6b800\"},buttonText:{type:ControlType.Color,title:\"Button text\",defaultValue:\"#1a1a1a\"},compact:{type:ControlType.Boolean,title:\"Compact\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Form.map"],"mappings":"A,2NAIG,SAAwBkB,EAAU,EAAM,CAAC,GAAK,CAAC,aAAW,eAAa,QAAM,eAAa,WAAS,WAAS,aAAW,iBAAe,eAAa,qBAAmB,SAAO,iBAAe,aAAW,YAAU,WAAS,gBAAc,aAAW,aAAW,cAAY,WAASC,EAAYC,EAAIpB,MAAY,KAAK,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,EAAO,CAACqB,EAAOC,GAAWrB,EAAS,CAAC,KAAK,GAAG,KAAK,MAAM,CAAC,EAAO,CAACsB,EAAWC,GAAevB,EAAS,EAAK,EAAO,CAACwB,EAAMC,GAAUzB,EAAS,EAAK,EAAE,eAAe0B,EAAa,EAAE,CAAC,EAAE,eAAe,EAAE,IAAMC,GAAsBC,GAAY,GAAA,CAAI,KAAK,EAAMC,EAAc,KAAK,GAAG,CAAC,EAAc,IAAI,IAAIF,CAAoB,CAAE,MAAM,CAAC,EAAc,IAAK,CAAC,GAAG,CAACA,GAAsB,CAACE,GAAeA,EAAc,WAAW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