{"version":3,"file":"CustomFormMMU.B6PyNRSV.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/ohcM76kl27fg0V2Ww5EB/3gpEPTWXPZOmtPGVmAGA/v8M2etrFw.js","https:/framerusercontent.com/modules/xsGzsS8DRN62unejV1SE/dh4lg7x9T6IyE8qkwJIV/CustomFormMMU.js"],"sourcesContent":["// Generated by Framer (10141bf)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Lexend Exa-700\",\"GF;Lexend Exa-500\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Lexend Exa\",source:\"google\",style:\"normal\",uiFamilyName:\"Lexend Exa\",url:\"https://fonts.gstatic.com/s/lexendexa/v35/UMBCrPdOoHOnxExyjdBeQCH18mulUxBvI9ocSabCHJ8BRq0b.woff2\",weight:\"700\"},{cssFamilyName:\"Lexend Exa\",source:\"google\",style:\"normal\",uiFamilyName:\"Lexend Exa\",url:\"https://fonts.gstatic.com/s/lexendexa/v35/UMBCrPdOoHOnxExyjdBeQCH18mulUxBvI9rJTqbCHJ8BRq0b.woff2\",weight:\"500\"}]}];export const css=['.framer-EKlt3 .framer-styles-preset-7559cj:not(.rich-text-wrapper), .framer-EKlt3 .framer-styles-preset-7559cj.rich-text-wrapper h5 { --framer-font-family: \"Lexend Exa\", \"Lexend Exa Placeholder\", sans-serif; --framer-font-family-bold: \"Lexend Exa\", \"Lexend Exa Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 21px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 500; --framer-letter-spacing: -0.12em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-fbc1826c-9c26-4ca6-996a-1b106212b203, #333335); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-EKlt3 .framer-styles-preset-7559cj:not(.rich-text-wrapper), .framer-EKlt3 .framer-styles-preset-7559cj.rich-text-wrapper h5 { --framer-font-family: \"Lexend Exa\", \"Lexend Exa Placeholder\", sans-serif; --framer-font-family-bold: \"Lexend Exa\", \"Lexend Exa Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 19px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 500; --framer-letter-spacing: -0.12em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-fbc1826c-9c26-4ca6-996a-1b106212b203, #333335); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-EKlt3 .framer-styles-preset-7559cj:not(.rich-text-wrapper), .framer-EKlt3 .framer-styles-preset-7559cj.rich-text-wrapper h5 { --framer-font-family: \"Lexend Exa\", \"Lexend Exa Placeholder\", sans-serif; --framer-font-family-bold: \"Lexend Exa\", \"Lexend Exa Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 500; --framer-letter-spacing: -0.12em; --framer-line-height: 22px; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-fbc1826c-9c26-4ca6-996a-1b106212b203, #333335); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-EKlt3\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";export function CustomFormMM(props){const{formName,inputs,checkboxInputs,selectInputs,termsInput,buttonText,tag,webhook,postSubmitText,redirectText,redirectURL,redirectSeconds,emailInRedirect}=props;const[formValues,setFormValues]=useState({});const[isSubmitted,setIsSubmitted]=useState(false);const[hasValidationError,setHasValidationError]=useState(false);const[isTermsAccepted,setIsTermsAccepted]=useState(false);const handleTermsChange=isChecked=>{setIsTermsAccepted(isChecked);};const handleInputChange=(inputName,inputValue)=>{setFormValues(prevValues=>({...prevValues,[inputName]:inputValue}));};const handleSelectChange=(inputName,selectedValue)=>{setFormValues(prevValues=>({...prevValues,[inputName]:selectedValue}));};const handleCheckboxChange=(inputName,optionValue,optionsType)=>{setFormValues(prevValues=>{let updatedValue;if(optionsType===\"checkbox\"){const checkboxInputValue=prevValues[inputName]||[];updatedValue=[...checkboxInputValue];if(updatedValue.includes(optionValue)){updatedValue.splice(updatedValue.indexOf(optionValue),1);}else{updatedValue.push(optionValue);}}else if(optionsType===\"radio\"){updatedValue=optionValue;}return{...prevValues,[inputName]:updatedValue};});};const handleSubmit=async e=>{e.preventDefault();// Validación adicional antes de enviar el formulario\ntry{const geoPluginValue=await fetchGeopluginData();const updatedFormValues={...formValues,country:geoPluginValue.geoplugin_countryCode,city:geoPluginValue.geoplugin_city,state:geoPluginValue.geoplugin_region,optin_tag:tag};const requiredInputs=inputs.filter(input=>input.required);const emailInput=inputs.find(input=>input.type===\"email\");const emailValue=emailInput?updatedFormValues[emailInput.name]||\"\":\"\";const telInput=inputs.find(input=>input.type===\"tel\");const telValue=telInput?updatedFormValues[telInput.name]||\"\":\"\";const selectErrors=selectInputs.map(selectInput=>{const{name,required}=selectInput;const selectedValue=formValues[name];return required&&(selectedValue===undefined||selectedValue===\"\")?name:null;}).filter(Boolean);if(requiredInputs.some(input=>!updatedFormValues[input.name])||emailValue&&!isValidEmail(emailValue)||telValue&&!isValidTel(telValue)||!isTermsAccepted||selectErrors.length>0){console.log(\"Form validation error: Please fill in all required fields.\");setIsSubmitted(true);setHasValidationError(true);return;// Prevent form submission\n}else{let event=\"Form Submitted\";if(updatedFormValues.hasOwnProperty(\"phone\")){event=\"Application Submitted\";}// analytics.identify(updatedFormValues)\n//analytics.track(event, updatedFormValues)\nif(updatedFormValues.hasOwnProperty(\"email\")){sendWebhook(webhook,updatedFormValues);}else{return true;}setIsSubmitted(true);setHasValidationError(false);if(redirectURL){if(emailInRedirect){const redirectURLWithEmail=`${redirectURL}?email=${encodeURIComponent(emailValue)}`;setTimeout(()=>{window.location.href=redirectURLWithEmail;},redirectSeconds*1e3);}else{setTimeout(()=>{window.location.href=redirectURL;},redirectSeconds*1e3);}}}}catch(error){console.error(\"Error fetching geoplugin data:\",error);setIsSubmitted(true);setHasValidationError(true);}};const isValidEmail=email=>{const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;return emailRegex.test(email);};const isValidTel=tel=>{const telRegex=/^\\d{7,}$/;return telRegex.test(tel);};const sendWebhook=async(url,data)=>{const params=new URLSearchParams;params.append(\"referrer\",document.referrer);for(const[key,value]of Object.entries(data)){params.append(key,value);}const modifiedUrl=`${url}${url.includes(\"?\")?\"&\":\"?\"}${params.toString()}${window.location.search.replace(/^\\?/,\"&\")}`;try{const response=await fetch(modifiedUrl,{method:\"POST\"});if(!response.ok){console.log(\"Error al enviar el webhook.\");}}catch(error){console.log(\"Error en la solicitud POST:\",error);}};return /*#__PURE__*/_jsx(\"div\",{className:\"formContainer\",id:formName,children:isSubmitted&&!hasValidationError?/*#__PURE__*/_jsxs(\"div\",{id:\"postSubmitContainer\",children:[/*#__PURE__*/_jsx(\"i\",{className:\"fas fa-check green-icon\",id:\"postSubmitIcon\"}),/*#__PURE__*/_jsx(\"div\",{className:\"postSubmitText\",id:\"postSubmitText\",children:redirectURL?redirectText:postSubmitText})]}):/*#__PURE__*/_jsxs(\"form\",{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"inputs\",children:[inputs.map((input,index)=>{const{type,name,placeholder,defaultValue,required,error}=input;const inputValue=formValues[name]||defaultValue||\"\";return /*#__PURE__*/_jsxs(\"div\",{className:\"inputWrapper\",children:[/*#__PURE__*/_jsx(\"input\",{type:type,name:name,className:\"inputField\",value:inputValue,placeholder:placeholder,onChange:e=>handleInputChange(name,e.target.value)}),required&&isSubmitted&&(!inputValue||input.type===\"email\"&&inputValue&&!isValidEmail(inputValue)||input.type===\"tel\"&&inputValue&&!isValidTel(inputValue))&&/*#__PURE__*/_jsx(\"div\",{className:\"errorText\",children:error||\"Este campo es obligatorio\"})]},index);}),checkboxInputs.map((checkboxInput,index)=>/*#__PURE__*/_jsx(CheckboxInput,{title:checkboxInput.title,name:checkboxInput.name,options:checkboxInput.options,required:checkboxInput.required,error:checkboxInput.error,optionsType:checkboxInput.optionsType,isFormSubmitted:isSubmitted,handleCheckboxChange:handleCheckboxChange,formValues:formValues},index)),selectInputs.map((selectInput,index)=>/*#__PURE__*/_jsx(SelectInput,{title:selectInput.title,name:selectInput.name,options:selectInput.options,required:selectInput.required,error:selectInput.error,isFormSubmitted:isSubmitted,handleSelectChange:handleSelectChange,formValues:formValues},index)),/*#__PURE__*/_jsx(TermsInput,{name:termsInput.name,linkUrl:termsInput.linkUrl,linkText:termsInput.linkText,error:termsInput.error,isFormSubmitted:isSubmitted,handleTermsChange:handleTermsChange})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"submit\",onClick:handleSubmit,className:\"submitButton\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"submitText\",children:buttonText}),/*#__PURE__*/_jsxs(\"span\",{className:\"formArrow\",children:[\" \",/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"17\",height:\"17\",viewBox:\"0 0 17 17\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8.5 0L7 1.5L12.931 7.438L0 7.438L0 9.563L12.931 9.563L6.992 15.492L8.5 17L17 8.5L8.5 0Z\",fill:\"#333335\"})})]})]})]})});}function CheckboxInput(props){const{title,name,options,required,error,optionsType,isFormSubmitted,handleCheckboxChange,formValues}=props;const selectedOptions=formValues[name]||[];const selectedOption=formValues[name]||\"\";const handleOptionChange=optionValue=>{if(optionsType===\"checkbox\"){handleCheckboxChange(name,optionValue,optionsType);}else if(optionsType===\"radio\"){const updatedOption=selectedOption===optionValue?\"\":optionValue;handleCheckboxChange(name,updatedOption,optionsType);}};return /*#__PURE__*/_jsxs(\"div\",{className:name,children:[/*#__PURE__*/_jsx(\"h3\",{children:title}),options.map((option,index)=>/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsxs(\"label\",{className:\"checkboxLabel\",children:[/*#__PURE__*/_jsx(\"input\",{type:optionsType,name:option.name,checked:selectedOptions.includes(option.value),onChange:()=>handleOptionChange(option.value),className:\"checkboxInput\"}),option.label]})},index)),required&&isFormSubmitted&&selectedOptions.length===0&&/*#__PURE__*/_jsx(\"div\",{className:\"checkboxError\",children:error})]});}function SelectInput(props){const{title,name,options,required,error,isFormSubmitted,formValues,handleSelectChange}=props;const[selectedOption,setSelectedOption]=useState(\"default\");const[hasError,setHasError]=useState(false);useEffect(()=>{// Check if the selected option is the default and set error state accordingly\nsetHasError(required&&isFormSubmitted&&selectedOption===\"default\");},[required,isFormSubmitted,selectedOption]);const handleOptionChange=event=>{const updatedOption=event.target.value;setSelectedOption(updatedOption);handleSelectChange(name,updatedOption);};return /*#__PURE__*/_jsxs(\"div\",{className:name,children:[/*#__PURE__*/_jsxs(\"select\",{className:\"inputField\",name:name,value:selectedOption,onChange:handleOptionChange,children:[/*#__PURE__*/_jsx(\"option\",{value:\"default\",disabled:true,children:title}),options.map((item,index)=>/*#__PURE__*/_jsx(\"option\",{value:item.value,children:item.label},index))]}),hasError&&/*#__PURE__*/_jsx(\"div\",{className:\"errorText\",children:error||\"Este campo es obligatorio.\"})]});}function TermsInput(props){const{formName,name,linkUrl,linkText,error,isFormSubmitted,handleTermsChange}=props;const[isChecked,setIsChecked]=useState(false);useEffect(()=>{handleTermsChange(isChecked)// Llamar a la función handleTermsChange al cambiar el estado isChecked\n;},[isChecked])// Asegurarse de que el efecto se ejecute solo cuando isChecked cambie\n;const showError=isFormSubmitted&&!isChecked;return /*#__PURE__*/_jsxs(\"div\",{className:\"termsInputContainer\",children:[/*#__PURE__*/_jsxs(\"label\",{className:\"termsInputLabel\",children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",name:name,checked:isChecked,onChange:e=>setIsChecked(e.target.checked),className:\"termsInputCheckbox\"}),/*#__PURE__*/_jsx(\"span\",{className:\"checkmark\"}),formName==\"newsletter-form\"?/*#__PURE__*/_jsxs(\"span\",{className:\"termsInputText\",children:[\"Acepto recibir correos y acepto la\",\" \",/*#__PURE__*/_jsx(\"a\",{href:linkUrl,className:\"termsInputLink\",children:linkText}),\".\"]}):/*#__PURE__*/_jsxs(\"span\",{className:\"termsInputText\",children:[\"He le\\xeddo y estoy de acuerdo con los\",\" \",/*#__PURE__*/_jsx(\"a\",{href:linkUrl,className:\"termsInputLink\",children:linkText}),\" \",\".\"]})]}),showError&&/*#__PURE__*/_jsx(\"div\",{className:\"errorText\",children:error})]});}addPropertyControls(CustomFormMM,{formName:{type:ControlType.String,defaultValue:\"Custom Form\",description:\"Se usa como identificador\"},inputs:{type:ControlType.Array,propertyControl:{type:ControlType.Object,controls:{type:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"email\",\"tel\"],optionTitles:[\"Text\",\"Email\",\"Tel\"],description:\"Esto se usa para validar el input\"},name:{type:ControlType.String,defaultValue:\"input\",description:\"Nombre con que se envia en el webhook\"},placeholder:{type:ControlType.String,defaultValue:\"\",placeholder:\"Placeholder\",description:\"Campo que se muestra antes de escribir\"},defaultValue:{type:ControlType.String,defaultValue:\"\",placeholder:\"Default Value\",description:\"Valor por defecto\"},error:{type:ControlType.String,defaultValue:\"\",placeholder:\"Error message\",description:\"Mensaje de error\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Valida si se tiene que completar antes de enviar el formulario\"}}},description:\"Permite inputs basicos\"},checkboxInputs:{type:ControlType.Array,propertyControl:{type:ControlType.Object,controls:{title:{type:ControlType.String,defaultValue:\"Checkbox Input\",description:\"T\\xedtulo para la seccion\"},name:{type:ControlType.String,defaultValue:\"checkbox_input\",description:\"Nombre con que se envia en el webhook\"},options:{type:ControlType.Array,propertyControl:{type:ControlType.Object,controls:{name:{type:ControlType.String,defaultValue:\"option_a\",description:\"Nombre con que se envia en el webhook\"},label:{type:ControlType.String,defaultValue:\"Option A\",description:\"Como se muestra en el checkbox\"},value:{type:ControlType.String,defaultValue:\"a\",description:\"Valor que se envia en el webhook\"}}}},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Valida si se tiene que completar antes de enviar el formulario\"},error:{type:ControlType.String,defaultValue:\"Please select an option.\",placeholder:\"Error message\",description:\"Mensaje de error\"},optionsType:{type:ControlType.Enum,defaultValue:\"checkbox\",options:[\"checkbox\",\"radio\"],optionTitles:[\"Checkbox\",\"Radio\"],description:\"Con que estilo se muestra el checkbox, tambien si se puede seleccionar uno o mas de uno\"}}},description:\"Permite checkbox como inputs\"},selectInputs:{type:ControlType.Array,propertyControl:{type:ControlType.Object,controls:{title:{type:ControlType.String,defaultValue:\"Select Input\",description:\"T\\xedtulo para la seccion\"},name:{type:ControlType.String,defaultValue:\"select_input\",description:\"Nombre con que se envia en el webhook\"},options:{type:ControlType.Array,propertyControl:{type:ControlType.Object,controls:{name:{type:ControlType.String,defaultValue:\"option_a\",description:\"Nombre con que se envia en el webhook\"},label:{type:ControlType.String,defaultValue:\"Option A\",description:\"Como se muestra en el select\"},value:{type:ControlType.String,defaultValue:\"a\",description:\"Valor que se envia en el webhook\"}}}},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},error:{type:ControlType.String,defaultValue:\"Please select an option.\",placeholder:\"Error message\"}}},description:\"Permite selects como inputs\"},termsInput:{type:ControlType.Object,controls:{name:{type:ControlType.String,defaultValue:\"term-forms\"},linkUrl:{type:ControlType.Link,placeholder:\"Link URL\"},linkText:{type:ControlType.String,defaultValue:\"Pol\\xedtica de privacidad\",placeholder:\"Link Text\"},error:{type:ControlType.String,defaultValue:\"Este campo es obligatorio.\",placeholder:\"Error message\"}},description:\"Configuracion de terminos y condiciones\"},buttonText:{type:ControlType.String,defaultValue:\"Send form\",description:\"Texto del bo\\xf3n enviar\"},tag:{type:ControlType.String,defaultValue:\"123\",description:\"Tag que se a\\xf1ade al usuario con el webhook\"},webhook:{type:ControlType.String,description:\"Webhook para enviar los datos del formulario\"},postSubmitText:{type:ControlType.String,defaultValue:\"Gracias por enviar el formulario\",placeholder:\"Gracias por enviar el formulario\",description:\"Texto que se muestra una vez enviado el formulario\"},redirectText:{type:ControlType.String,defaultValue:\"\\xa1Registro exitoso! Redireccionando\",placeholder:\"\\xa1Registro exitoso! Redireccionando\",description:\"Texto que se muestra una vez enviado el formulario cuando hay una redirecci\\xf3n\"},redirectURL:{type:ControlType.String,description:\"Link pera redireccionar una vz enviado el form\"},redirectSeconds:{type:ControlType.Number,defaultValue:0,description:\"Delay en segundos antes de redireccionar\"},emailInRedirect:{type:ControlType.Boolean,defaultValue:false,description:\"Setea si enviar el email como parametro al redireccionar\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CustomFormMM\":{\"type\":\"reactComponent\",\"name\":\"CustomFormMM\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomFormMMU.map"],"mappings":"qOAC8B,GAAU,UAAU,CAAC,oBAAoB,oBAAoB,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,c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