{"version":3,"file":"BaseForm.CYhmtKXm.mjs","names":["z","useState","useCallback","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","_e","init_jsx_runtime","p","ce","useAnimationControls","motion","init_framer_motion_DhsWWWsN","withCSS","useRouter","addPropertyControls","init_framer_BWFVvmND","inferInitialRouteFromPath","ControlType","Bs","init_v4","customFieldToZodSchema","field","schema","defaultValue","dynamicBoxShadow","shadows","output","shadow","fieldModel","isBrowser","getURLSearchParam","VERSION","BaseForm","Spinner","basePropertyControls","privateBasePropertyControls","defaultStyle","containerStyles","errorStyle","successStyle","init_BaseForm","urlParams","paramName","hashParams","onSuccessCallback","onErrorCallback","error","setError","success","setSuccess","isSubmitting","setSubmitting","focus","setFocus","inputPadding","inputBorderRadius","inputBorderObject","inputFocusObject","inputShadowObject","inputHeight","inputFixedHeight","input","labelPadding","labelBorderRadius","labelBorderObject","labelShadowObject","label","buttonBorderObject","button","labelPaddingValue","inputPaddingValue","buttonPaddingValue","buttonPadding","router","onSuccess","data","link","path","hash","routeId","pathVariables","resolve","message","passwordVisibility","setPasswordVisibility","togglePasswordVisibility","prev","fieldName","fields","isFocus","name","handleFocus","event","handleBlur","displayError","displaySuccess","handleSubmit","formData","formDataJSON","value","formControls","parsed","onSubmit","ok","inputFocusStylesFrom","inputFocusStylesTo","inputShadowStyles","inputBorderStyles","labelShadowStyles","labelBorderStyles","buttonShadowStyles","buttonShadow","buttonBorderStyles","secondaryButtonShadowStyles","secondaryButton","secondaryButtonBorderStyles","formVariants","inputVariants","requiredFlag","isRequired","baseInput","defaultValues","onInputChange","isDisabled","key","passwordInput","showPassword","checkboxInput","dateInput","timeInput","dateTimeInput","fieldsHTML","style","isInitializing","submitAddon","secondaryButtonAction","gap","noButtonStyles","props"],"sources":["https:/framerusercontent.com/modules/tU0OhNHakDNO2P6BFnP9/DkAA5y3AozKVoSSPI9gf/BaseForm.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion,useAnimationControls}from\"framer-motion\";import{useCallback,useEffect,useState}from\"react\";import{// @ts-ignore\naddPropertyControls,// @ts-ignore\nControlType,// @ts-ignore\ninferInitialRouteFromPath,// @ts-ignore\nuseRouter,// @ts-ignore\nwithCSS}from\"framer\";import{z}from\"https://ga.jspm.io/npm:zod@4.0.14/v4/index.js\";export const fieldModel=z.object({type:z.enum([\"string\",\"number\",\"boolean\"]),name:z.string(),displayName:z.string().nullish(),description:z.string().nullish(),defaultValue:z.union([z.string(),z.number(),z.boolean()]).nullish(),format:z.enum([\"password\",\"email\",\"url\",\"phone\",\"date\",\"time\",\"datetime\"]).nullish(),required:z.boolean(),// Properties for overriding a fields (Framer overrides)\noverridable:z.boolean().default(true),render:z.boolean().default(true),hidden:z.boolean().default(false),placeholder:z.string().optional()});export const customFieldModel=fieldModel.extend({input:z.boolean()});export const safeParseCustomFields=fields=>{return z.array(customFieldModel).safeParse(fields);};export function customFieldToZodSchema(field){if(!field){return null;}if(!field.name){return null;}let schema;const defaultValue=field?.defaultValue;if(field.type===\"string\"){schema=z.string();if(field?.format){// Apply predefined format validations\nswitch(field.format){case\"email\":schema=z.email(\"Invalid email format. Example: user@example.com\");break;case\"url\":schema=z.url(\"Invalid URL format. Example: https://example.com\");break;case\"phone\":// Basic phone number validation (allows various international formats)\nschema=z.e164(\"Invalid phone number format. Example: +1234567890\");break;case\"date\":// ISO date format (YYYY-MM-DD)\nschema=z.iso.date(\"Invalid date format. Example: 2023-12-31\");break;case\"time\":// Time format (HH:MM or HH:MM:SS)\nschema=z.iso.time(\"Invalid time format. Example: 14:30 or 14:30:45\");break;case\"datetime\":// ISO datetime format\nschema=z.iso.datetime(\"Invalid datetime format. Example: 2023-12-31T14:30:00Z\");break;default:break;}}schema=field?.required===false?schema.nullish():schema.nullable();schema=schema.default(defaultValue?String(defaultValue):null);}else if(field.type===\"number\"){schema=z.coerce.number();schema=field?.required===false?schema.nullish():schema.nullable();schema=schema.default(defaultValue?Number(defaultValue):null);}else if(field.type===\"boolean\"){schema=z.coerce.boolean();schema=field?.required===false?schema.nullish():schema.nullable();schema=schema.default(defaultValue?Boolean(defaultValue):null);}else{// Skip unsupported types\nreturn null;}if(field?.description){schema=schema.meta({description:field.description});}return schema;}const isBrowser=()=>{return typeof window!==\"undefined\";};export const getURLSearchParam=paramName=>{if(!isBrowser){return null;}const urlParams=new URLSearchParams(window.location.search);if(urlParams.has(paramName)){return urlParams.get(paramName);}const hashParams=new URLSearchParams(window.location.hash.substring(1))// Remove the '#' part\n;if(hashParams.has(paramName)){return hashParams.get(paramName);}return null;};/**\n * Increment the number whenever shipping a new version to customers.\n * This will ensure that multiple versions of this component can exist\n * in the same project without css rules overlapping. Only use valid css class characters.\n */const VERSION=\"v2\";/**\n * BaseForm.tsx\n * By Joel Whitaker\n *\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 40\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n */const BaseForm=withCSS(function BaseForm({label,input,button,link,gap,style,isInitializing=false,isDisabled=false,fields,defaultValues,onSuccess:onSuccessCallback,onError:onErrorCallback,onSubmit,onInputChange,submitAddon,secondaryButton,secondaryButtonAction}){const[error,setError]=useState(null);const[success,setSuccess]=useState(null);const[isSubmitting,setSubmitting]=useState(false);const[focus,setFocus]=useState(null);// Input Padding\nconst{padding:inputPadding,borderRadius:inputBorderRadius,borderObject:inputBorderObject,focusObject:inputFocusObject,shadowObject:inputShadowObject,height:inputHeight,fixedHeight:inputFixedHeight}=input;const{padding:labelPadding,borderRadius:labelBorderRadius,borderObject:labelBorderObject,shadowObject:labelShadowObject}=label;const{borderObject:buttonBorderObject,buttonShadow,buttonPadding}=button;const labelPaddingValue=labelPadding;const inputPaddingValue=inputPadding;const buttonPaddingValue=buttonPadding;const router=useRouter();const onSuccess=async(data,message)=>{/* Reset */setSubmitting(false);setError(null);setFocus(null);if(onSuccessCallback){onSuccessCallback(data);}else if(link){const[path,hash]=link.split(\"#\");const{routeId,pathVariables}=inferInitialRouteFromPath(router.routes,path);if(routeId){router.navigate(routeId,hash,pathVariables);// Wait for navigation to complete\nawait new Promise(resolve=>setTimeout(resolve,500));}}else if(message){setSuccess(message);}};const[passwordVisibility,setPasswordVisibility]=useState({});const togglePasswordVisibility=useCallback(fieldName=>{setPasswordVisibility(prev=>({...prev,[fieldName]:!prev[fieldName]}));},[]);// Visibility is keyed by field name, and different modes can reuse a\n// name (e.g. the profile form's set/change password both render\n// `new_password`), so a stale toggle would leak into the next mode.\nuseEffect(()=>{setPasswordVisibility({});},[fields]);const isFocus=name=>{return focus===name;};const handleFocus=useCallback(event=>{setFocus(event.target.name);},[]);const handleBlur=useCallback(_event=>{setFocus(null);setError(null);setSuccess(null);},[]);function displayError(){return!isSubmitting&&error;}function displaySuccess(){return!isSubmitting&&success;}const handleSubmit=useCallback(async event=>{event.preventDefault();// Prevent submitting while submitting\nif(isSubmitting)return;setSubmitting(true);setError(null);setSuccess(null);// @ts-ignore - Linter unable to detect event.target\nconst formData=new FormData(event.target);const formDataJSON=Object.fromEntries(formData.entries());// Check that all required fields are filled\nfor(const field of fields){const value=formDataJSON[field.name];if(field.required===true&&!value){setError(`${field.displayName} is required.`);formControls.start(\"error\");setSubmitting(false);return false;}const schema=customFieldToZodSchema(field);if(schema){const parsed=schema.safeParse(value);if(!parsed.success&&parsed.error){const error=z.prettifyError(parsed.error);setError(error);formControls.start(\"error\");setSubmitting(false);return false;}}}if(typeof onSubmit===\"function\"){try{const{ok,message}=await onSubmit(formDataJSON);if(!ok){setSubmitting(false);setError(message);formControls.start(\"error\");if(onErrorCallback){onErrorCallback();}return false;}await onSuccess(formDataJSON,message);// @ts-ignore - Linter unable to detect event.target.reset\nevent.target.reset();setPasswordVisibility({});}catch(error){console.error(\"Error during onSubmit:\",error);if(onErrorCallback){onErrorCallback();}}finally{setSubmitting(false);}}else{setSubmitting(false);}},[onSubmit,isSubmitting,fields]);// Animation\nconst formControls=useAnimationControls();// Input Box Shadow Stylees\nconst inputFocusStylesFrom=input.focusObject?`inset 0 0 0 ${inputFocusObject.focusWidthFrom}px ${inputFocusObject.focusColor}`:null;const inputFocusStylesTo=input.focusObject?`inset 0 0 0 ${inputFocusObject.focusWidthTo}px ${inputFocusObject.focusColor}`:null;const inputShadowStyles=inputShadowObject||null;const inputBorderStyles=input.borderObject?`inset 0 0 0 ${inputBorderObject.borderWidth}px ${inputBorderObject.borderColor}`:null;// Label Border Styles\nconst labelShadowStyles=labelShadowObject||null;const labelBorderStyles=label.borderObject?`inset 0 0 0 ${labelBorderObject.borderWidth}px ${labelBorderObject.borderColor}`:null;// Button Border Styles\nconst buttonShadowStyles=buttonShadow||null;const buttonBorderStyles=buttonBorderObject?`inset 0 0 0 ${buttonBorderObject.borderWidth}px ${buttonBorderObject.borderColor}`:null;// Secondary Button Styles (rendered below the main button, opt-in)\nconst secondaryButtonShadowStyles=secondaryButton?.buttonShadow||null;const secondaryButtonBorderStyles=secondaryButton?.borderObject?`inset 0 0 0 ${secondaryButton.borderObject.borderWidth}px ${secondaryButton.borderObject.borderColor}`:null;// Shake or wiggle as error\nconst formVariants={default:{x:0},error:{x:[0,-4,4,0],transition:{duration:.2}}};const inputVariants={default:{boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},focused:{boxShadow:dynamicBoxShadow(inputFocusStylesTo,inputShadowStyles,inputBorderStyles)}};const requiredFlag=isRequired=>{if(isRequired){return /*#__PURE__*/_jsx(\"span\",{children:\"*\"});}return null;};const baseInput=(field,key)=>{if(field.hidden===true&&field.required===true){console.error(`FramerAuth -- Incorrect setup for ${field.displayName}: A required field cannot be hidden.`);}return /*#__PURE__*/_jsxs(\"div\",{style:{display:field.hidden===true?\"none\":\"flex\",flexDirection:\"column\"},children:[label.display&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:field.name,style:{padding:labelPaddingValue,marginBottom:\"0.25rem\",borderRadius:labelBorderRadius,fontSize:16,...label.font,background:label.fill,color:label.color,boxShadow:dynamicBoxShadow(labelShadowStyles,labelBorderStyles)},children:[field.displayName,label.displayAsterix&&requiredFlag(field.required)]}),field.description&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:label.color,opacity:.7,marginBottom:\"0.25rem\",...label.font},children:field.description}),/*#__PURE__*/_jsx(motion.input,{type:field.type,name:field.name,placeholder:field.placeholder,defaultValue:defaultValues?.[field.name],className:`${VERSION} framer-custom-input`,onFocus:handleFocus,onBlur:handleBlur,onChange:onInputChange?e=>onInputChange({name:field.name,type:field.type,value:e.target.value}):undefined,autoComplete:\"off\",autoCapitalize:\"off\",autoCorrect:\"off\",spellCheck:\"false\",style:{...defaultStyle,padding:inputPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...input.font,background:input.fill,height:inputHeight?\"auto\":inputFixedHeight,color:isDisabled?input.placeholderColor:input.color,opacity:isDisabled?.8:1,boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},variants:inputVariants,initial:false,animate:isFocus(field.name)?\"focused\":\"default\",transition:{duration:.3},disabled:isDisabled})]},key);};const passwordInput=(field,key)=>{if(field.hidden===true&&field.required===true){console.error(`FramerAuth -- Incorrect setup for ${field.displayName}: A required field cannot be hidden.`);}const showPassword=passwordVisibility[field.name]||false;return /*#__PURE__*/_jsxs(\"div\",{style:{display:field.hidden===true?\"none\":\"flex\",flexDirection:\"column\"},children:[label.display&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:field.name,style:{padding:labelPaddingValue,marginBottom:\"0.25rem\",borderRadius:labelBorderRadius,fontSize:16,...label.font,background:label.fill,color:label.color,boxShadow:dynamicBoxShadow(labelShadowStyles,labelBorderStyles)},children:[field.displayName,label.displayAsterix&&requiredFlag(field.required)]}),field.description&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:label.color,opacity:.7,marginBottom:\"0.25rem\",...label.font},children:field.description}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",flexDirection:\"row\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(motion.input,{type:showPassword?\"text\":\"password\",name:field.name,placeholder:field.placeholder,defaultValue:defaultValues?.[field.name],className:`${VERSION} framer-custom-input`,onFocus:handleFocus,onBlur:handleBlur,onChange:onInputChange?e=>onInputChange({name:field.name,type:field.type,value:e.target.value}):undefined,autoComplete:\"off\",autoCapitalize:\"off\",autoCorrect:\"off\",spellCheck:\"false\",style:{...defaultStyle,padding:inputPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...input.font,background:input.fill,height:inputHeight?\"auto\":inputFixedHeight,color:isDisabled?input.placeholderColor:input.color,opacity:isDisabled?.8:1,boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},variants:inputVariants,initial:false,animate:isFocus(field.name)?\"focused\":\"default\",transition:{duration:.3},disabled:isDisabled}),input.icon?.showPasswordVisibilityIcon===true&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",tabIndex:999,onClick:()=>togglePasswordVisibility(field.name),style:{position:\"absolute\",right:0,top:0,bottom:0,display:\"flex\",alignItems:\"center\",padding:input.padding,background:\"transparent\",border:\"none\",color:input.icon.color||input.color,cursor:\"pointer\"},children:showPassword?// Material icons (visibility_off)\n// <svg\n//   xmlns=\"http://www.w3.org/2000/svg\"\n//   height=\"24\"\n//   viewBox=\"0 -960 960 960\"\n//   width=\"24\"\n//   fill=\"currentColor\"\n// >\n//   <path d=\"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z\" />\n// </svg>\n// Phosphor icons (eye-slash)\n/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"24\",height:\"24\",fill:\"currentColor\",viewBox:\"0 0 256 256\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z\"})}):// Material icons (visibility)\n// <svg\n//   xmlns=\"http://www.w3.org/2000/svg\"\n//   height=\"24\"\n//   viewBox=\"0 -960 960 960\"\n//   width=\"24\"\n//   fill=\"currentColor\"\n// >\n//   <path d=\"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z\" />\n// </svg>\n// Phosphor icons (eye)\n/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"24\",height:\"24\",fill:\"currentColor\",viewBox:\"0 0 256 256\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z\"})})})]})]},key);};const checkboxInput=(field,key)=>{if(field.hidden===true&&field.required===true){console.error(`FramerAuth -- Incorrect setup for ${field.displayName}: A required field cannot be hidden.`);}return /*#__PURE__*/_jsx(\"div\",{style:{display:field.hidden===true?\"none\":\"inherit\"},children:/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"center\",fontSize:16,...label.font,background:label.fill,color:label.color},children:[/*#__PURE__*/_jsx(motion.input,{name:field.name,type:\"checkbox\",required:field.required,defaultChecked:defaultValues?.[field.name],disabled:isDisabled,onChange:onInputChange?e=>onInputChange({name:field.name,type:field.type,value:e.target.checked}):undefined,style:{margin:\"0px 8px 0px 4px\",opacity:isDisabled?.8:1}}),field.displayName]})},key);};const dateInput=(field,key)=>{if(field.hidden===true&&field.required===true){console.error(`FramerAuth -- Incorrect setup for ${field.displayName}: A required field cannot be hidden.`);}return /*#__PURE__*/_jsxs(\"div\",{style:{display:field.hidden===true?\"none\":\"flex\",flexDirection:\"column\"},children:[label.display&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:field.name,style:{padding:labelPaddingValue,marginBottom:\"0.25rem\",borderRadius:labelBorderRadius,fontSize:16,...label.font,background:label.fill,color:label.color,boxShadow:dynamicBoxShadow(labelShadowStyles,labelBorderStyles)},children:[field.displayName,label.displayAsterix&&requiredFlag(field.required)]}),field.description&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:label.color,opacity:.7,marginBottom:\"0.25rem\",...label.font},children:field.description}),/*#__PURE__*/_jsx(motion.input,{type:\"date\",name:field.name,placeholder:field.placeholder,defaultValue:defaultValues?.[field.name],className:`${VERSION} framer-custom-input`,onFocus:handleFocus,onBlur:handleBlur,onChange:onInputChange?e=>{// The date input already returns yyyy-mm-dd format\nonInputChange({name:field.name,type:\"date\",value:e.target.value});}:undefined,autoComplete:\"off\",style:{...defaultStyle,padding:inputPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...input.font,background:input.fill,height:inputHeight?\"auto\":inputFixedHeight,color:isDisabled?input.placeholderColor:input.color,opacity:isDisabled?.8:1,boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},variants:inputVariants,initial:false,animate:isFocus(field.name)?\"focused\":\"default\",transition:{duration:.3},disabled:isDisabled})]},key);};const timeInput=(field,key)=>{if(field.hidden===true&&field.required===true){console.error(`FramerAuth -- Incorrect setup for ${field.displayName}: A required field cannot be hidden.`);}return /*#__PURE__*/_jsxs(\"div\",{style:{display:field.hidden===true?\"none\":\"flex\",flexDirection:\"column\"},children:[label.display&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:field.name,style:{padding:labelPaddingValue,marginBottom:\"0.25rem\",borderRadius:labelBorderRadius,fontSize:16,...label.font,background:label.fill,color:label.color,boxShadow:dynamicBoxShadow(labelShadowStyles,labelBorderStyles)},children:[field.displayName,label.displayAsterix&&requiredFlag(field.required)]}),field.description&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:label.color,opacity:.7,marginBottom:\"0.25rem\",...label.font},children:field.description}),/*#__PURE__*/_jsx(motion.input,{type:\"time\",name:field.name,placeholder:field.placeholder,defaultValue:defaultValues?.[field.name],className:`${VERSION} framer-custom-input`,onFocus:handleFocus,onBlur:handleBlur,onChange:onInputChange?e=>{onInputChange({name:field.name,type:\"time\",value:e.target.value});}:undefined,autoComplete:\"off\",style:{...defaultStyle,padding:inputPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...input.font,background:input.fill,height:inputHeight?\"auto\":inputFixedHeight,color:isDisabled?input.placeholderColor:input.color,opacity:isDisabled?.8:1,boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},variants:inputVariants,initial:false,animate:isFocus(field.name)?\"focused\":\"default\",transition:{duration:.3},disabled:isDisabled})]},key);};const dateTimeInput=(field,key)=>{if(field.hidden===true&&field.required===true){console.error(`FramerAuth -- Incorrect setup for ${field.displayName}: A required field cannot be hidden.`);}return /*#__PURE__*/_jsxs(\"div\",{style:{display:field.hidden===true?\"none\":\"flex\",flexDirection:\"column\"},children:[label.display&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:field.name,style:{padding:labelPaddingValue,marginBottom:\"0.25rem\",borderRadius:labelBorderRadius,fontSize:16,...label.font,background:label.fill,color:label.color,boxShadow:dynamicBoxShadow(labelShadowStyles,labelBorderStyles)},children:[field.displayName,label.displayAsterix&&requiredFlag(field.required)]}),field.description&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:label.color,opacity:.7,marginBottom:\"0.25rem\",...label.font},children:field.description}),/*#__PURE__*/_jsx(motion.input,{type:\"datetime-local\",name:field.name,placeholder:field.placeholder,defaultValue:defaultValues?.[field.name],className:`${VERSION} framer-custom-input`,onFocus:handleFocus,onBlur:handleBlur,onChange:onInputChange?e=>{onInputChange({name:field.name,type:\"datetime-local\",value:e.target.value});}:undefined,autoComplete:\"off\",style:{...defaultStyle,padding:inputPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...input.font,background:input.fill,height:inputHeight?\"auto\":inputFixedHeight,color:isDisabled?input.placeholderColor:input.color,opacity:isDisabled?.8:1,boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},variants:inputVariants,initial:false,animate:isFocus(field.name)?\"focused\":\"default\",transition:{duration:.3},disabled:isDisabled})]},key);};const fieldsHTML=fields?.map(field=>{if(field.type===\"boolean\"){return checkboxInput(field,field.name);}else if(field.type===\"string\"&&field.format===\"password\"&&!isDisabled){return passwordInput(field,field.name);}else if(field.type===\"string\"&&field.format===\"date\"&&!isDisabled){return dateInput(field,field.name);}else if(field.type===\"string\"&&field.format===\"time\"&&!isDisabled){return timeInput(field,field.name);}else if(field.type===\"string\"&&field.format===\"datetime\"&&!isDisabled){return dateTimeInput(field,field.name);}else{return baseInput(field,field.name);}});return /*#__PURE__*/_jsxs(motion.div,{style:{...style,...containerStyles,// @ts-ignore\n\"--framer-custom-placeholder-color\":input.placeholderColor},variants:formVariants,animate:formControls,children:[isInitializing&&/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",paddingTop:\"2rem\",paddingBottom:\"2rem\"},children:/*#__PURE__*/_jsx(Spinner,{shouldAppear:true,padding:inputPadding,color:input.color})}),!isInitializing&&/*#__PURE__*/_jsxs(\"form\",{style:{width:\"100%\",height:\"auto\",display:\"flex\",position:\"relative\",flexDirection:\"column\",color:button.color,gap:gap},onSubmit:handleSubmit,method:\"POST\",children:[fieldsHTML,submitAddon,secondaryButtonAction&&!isDisabled&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:secondaryButtonAction.onClick,style:{WebkitAppearance:\"none\",appearance:\"none\",width:\"100%\",height:\"auto\",outline:\"none\",border:\"none\",cursor:\"pointer\",padding:secondaryButton?.buttonPadding,borderRadius:secondaryButton?.borderRadius===undefined||secondaryButton?.borderRadius===null?inputBorderRadius:secondaryButton.borderRadius,fontSize:16,...secondaryButton?.buttonFont,background:secondaryButton?.fill,color:secondaryButton?.color,boxShadow:dynamicBoxShadow(secondaryButtonShadowStyles,secondaryButtonBorderStyles)},children:secondaryButtonAction.active?secondaryButton?.cancelLabel||\"Cancel\":secondaryButton?.label||\"Change Password\"}),!button.shouldAppear&&isSubmitting&&/*#__PURE__*/_jsx(Spinner,{shouldAppear:button.shouldAppear,padding:inputPadding,color:input.color}),/*#__PURE__*/_jsxs(\"div\",{children:[button.shouldAppear&&!isDisabled&&/*#__PURE__*/_jsx(\"div\",{style:{display:button.align===\"stretch\"?\"block\":\"flex\",justifyContent:button.align===\"center\"?\"center\":button.align===\"start\"?\"flex-start\":\"flex-end\",position:\"relative\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:button.align===\"stretch\"?\"block\":\"inline-flex\"},children:[/*#__PURE__*/_jsx(motion.input,{type:\"submit\",value:button.label,style:{...defaultStyle,width:button.align===\"stretch\"?\"100%\":\"auto\",height:inputHeight?\"100%\":inputFixedHeight,cursor:\"pointer\",padding:buttonPaddingValue,borderRadius:button.borderRadius===undefined||button.borderRadius===null?inputBorderRadius:button.borderRadius,fontSize:16,...button.buttonFont,background:button.fill,color:isSubmitting?\"transparent\":button.color,zIndex:1,boxShadow:dynamicBoxShadow(buttonShadowStyles,buttonBorderStyles)}}),isSubmitting&&/*#__PURE__*/_jsx(\"div\",{style:{borderRadius:inputBorderRadius,position:\"absolute\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:button.align===\"stretch\"?\"100%\":\"auto\",height:\"100%\",inset:0,zIndex:2,color:button.color},children:/*#__PURE__*/_jsx(Spinner,{color:button.color})})]})}),/*#__PURE__*/_jsx(motion.div,{animate:{scale:displaySuccess()?1:0,opacity:displaySuccess()?1:0,height:displaySuccess()?\"auto\":0},initial:{scale:0,opacity:0,height:0},transition:{duration:.5},children:/*#__PURE__*/_jsx(\"div\",{style:{paddingTop:gap},children:/*#__PURE__*/_jsx(\"div\",{style:{...successStyle,borderRadius:inputBorderRadius},children:success})})}),/*#__PURE__*/_jsx(motion.div,{animate:{scale:displayError()?1:0,opacity:displayError()?1:0,height:displayError()?\"auto\":0},initial:{scale:0,opacity:0,height:0},transition:{duration:.5},children:/*#__PURE__*/_jsx(\"div\",{style:{paddingTop:gap},children:/*#__PURE__*/_jsx(\"div\",{style:{...errorStyle,borderRadius:inputBorderRadius},children:error})})})]})]})]});},[`.${VERSION}.framer-custom-input::placeholder { color: var(--framer-custom-placeholder-color) !important; }`]);export const Spinner=props=>{const noButtonStyles=!props.shouldAppear?{position:\"absolute\",top:`calc(50% - 8px)`,right:props.padding?.split(\" \").length===1?props.padding:props.padding?.split(\" \")[1]}:{};return /*#__PURE__*/_jsx(motion.div,{// @ts-ignore\nstyle:{height:16,width:16,...noButtonStyles},initial:{rotate:0},animate:{rotate:360},transition:{duration:1,repeat:Infinity},children:/*#__PURE__*/_jsx(motion.div,{initial:{scale:0},animate:{scale:1},children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",style:{fill:\"currentColor\",color:props.color},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M 8 0 C 3.582 0 0 3.582 0 8 C 0 12.419 3.582 16 8 16 C 12.418 16 16 12.419 16 8 C 15.999 3.582 12.418 0 8 0 Z M 8 14 C 4.687 14 2 11.314 2 8 C 2 4.687 4.687 2 8 2 C 11.314 2 14 4.687 14 8 C 14 11.314 11.314 14 8 14 Z\",fill:\"currentColor\",opacity:\"0.2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M 8 0 C 12.418 0 15.999 3.582 16 8 C 16 8 16 9 15 9 C 14 9 14 8 14 8 C 14 4.687 11.314 2 8 2 C 4.687 2 2 4.687 2 8 C 2 8 2 9 1 9 C 0 9 0 8 0 8 C 0 3.582 3.582 0 8 0 Z\",fill:\"currentColor\"})]})})});};export const basePropertyControls={label:{title:\"Label\",type:ControlType.Object,controls:{display:{type:ControlType.Boolean,title:\"Show\",defaultValue:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},displayAsterix:{title:\"Asterix\",type:ControlType.Boolean,defaultValue:false},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"transparent\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},padding:{title:\"Padding\",type:ControlType.Padding},borderRadius:{title:\"Radius\",type:ControlType.BorderRadius},shadowObject:{type:ControlType.BoxShadow,title:\"Shadow\",optional:true}}},input:{title:\"Input\",type:ControlType.Object,controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},placeholderColor:{title:\"Placeholder\",type:ControlType.Color,defaultValue:\"rgba(0, 0, 0, 0.3)\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#EBEBEB\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},height:{title:\"Height\",type:ControlType.Boolean,enabledTitle:\"Auto\",disabledTitle:\"Fixed\"},fixedHeight:{title:\" \",type:ControlType.Number,displayStepper:true,min:0,defaultValue:50,hidden:props=>props.height},padding:{title:\"Padding\",type:ControlType.Padding,defaultValue:\"15px\"},borderRadius:{title:\"Radius\",type:ControlType.BorderRadius,defaultValue:\"8px\"},focusObject:{type:ControlType.Object,title:\"Focus\",optional:true,controls:{focusWidthFrom:{title:\"From\",type:ControlType.Number,displayStepper:true,defaultValue:0},focusWidthTo:{title:\"To\",type:ControlType.Number,displayStepper:true,defaultValue:2},focusColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"#09F\"}}},borderObject:{type:ControlType.Object,title:\"Border\",optional:true,controls:{borderWidth:{title:\"Width\",type:ControlType.Number,displayStepper:true,defaultValue:1},borderColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"rgba(200,200,200,0.5)\"}}},shadowObject:{type:ControlType.BoxShadow,title:\"Shadow\",optional:true}}},button:{title:\"Button\",type:ControlType.Object,controls:{shouldAppear:{title:\"Show\",type:ControlType.Boolean,defaultValue:true},align:{title:\"Align\",type:ControlType.Enum,options:[\"start\",\"center\",\"end\",\"stretch\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Stretch\"],defaultValue:\"stretch\"},label:{title:\"Label\",type:ControlType.String,defaultValue:\"Save Changes\"},buttonFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#333\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#FFF\"},buttonPadding:{title:\"Padding\",type:ControlType.Padding,defaultValue:\"15px\"},borderRadius:{title:\"Radius\",type:ControlType.BorderRadius,defaultValue:\"8px\"},borderObject:{type:ControlType.Border,title:\"Border\",optional:true,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(200,200,200,0.5)\"}},buttonShadow:{type:ControlType.BoxShadow,title:\"Shadow\",optional:true}}},link:{title:\"Link\",type:ControlType.String,defaultValue:\"\"},gap:{title:\"Gap\",type:ControlType.Number,displayStepper:true,min:0,defaultValue:10},onSuccess:{title:\"Success\",type:ControlType.EventHandler},onError:{title:\"Error\",type:ControlType.EventHandler}};/**\n * Opt-in property control for the secondary button. It is intentionally kept\n * out of `basePropertyControls` so it only appears on forms that need it\n * (e.g. the Profile form's change-password toggle). Spread it into a form's\n * export controls as `secondaryButton: secondaryButtonControl`.\n */export const secondaryButtonControl={title:\"Secondary\",type:ControlType.Object,controls:{label:{title:\"Label\",type:ControlType.String,defaultValue:\"Change Password\"},cancelLabel:{title:\"Cancel\",type:ControlType.String,defaultValue:\"Cancel\"},buttonFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#FFF\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#333\"},buttonPadding:{title:\"Padding\",type:ControlType.Padding,defaultValue:\"15px\"},borderRadius:{title:\"Radius\",type:ControlType.BorderRadius,defaultValue:\"8px\"},borderObject:{type:ControlType.Border,title:\"Border\",optional:true,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(200,200,200,0.5)\"}},buttonShadow:{type:ControlType.BoxShadow,title:\"Shadow\",optional:true}}};const privateBasePropertyControls={};// @ts-ignore\naddPropertyControls(BaseForm,{...basePropertyControls,...privateBasePropertyControls});const defaultStyle={WebkitAppearance:\"none\",appearance:\"none\",width:\"100%\",height:\"auto\",outline:\"none\",border:\"none\"};const containerStyles={position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};const errorStyle={padding:\"1rem\",color:\"#FFFFFF\",fontSize:\"16px\",backgroundColor:\"#E02424\"};const successStyle={padding:\"1rem\",color:\"#FFFFFF\",fontSize:\"16px\",backgroundColor:\"#00C853\"};function dynamicBoxShadow(...shadows){const output=[];shadows.forEach(shadow=>shadow&&output.push(shadow));return output.join(\", \");}export default BaseForm;\nexport const __FramerMetadata__ = {\"exports\":{\"basePropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"safeParseCustomFields\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CustomField\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"BaseForm\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicWidth\":\"300\"}},\"Spinner\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Field\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"secondaryButtonControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"customFieldModel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"customFieldToZodSchema\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fieldModel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getURLSearchParam\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormDataJSON\":{\"type\":\"ts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