{"version":3,"file":"FormKitTextarea.BN7L0Nsv.mjs","names":["useState","useState","useRef","useState","useRef","useCallback","useState","useState","useRef","useRef","cloneElement","useState","useRef","useState"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0","https:/framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js","https:/framerusercontent.com/modules/CkzWOzYsjkSH8b0Md9Dz/jFAHTs0VED1zTLOHkBsH/Validation.js","https:/framerusercontent.com/modules/QcJOsISgPpDHi68MFiJ7/iSwiu9OhhEpwJ9bUO8oz/Hooks.js","https:/framerusercontent.com/modules/YQMwVuIkIDYjLHJOwEnu/E43Ih1OWNh9ZYDxH2sAu/Conditions.js","https:/framerusercontent.com/modules/gWXlNkIcFnVLxXMR7ktn/JtLdSfrUYaW9eElJLaFM/Property_controls.js","https:/framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js","https:/framerusercontent.com/modules/hSeRQvQLiNwfAzfTZN4C/2faSrR7PxMT7RJTYjc17/Icons.js","https:/framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js","https:/framerusercontent.com/modules/2zbBcO4Vc6grbG7sZeIX/opIg3Di5HtqYW4tvs3mB/FormKitSelect.js","https:/framerusercontent.com/modules/6fwcFKMgRD58JesnLcVn/52r23U4HyxlPBPcvyFFI/FormKitEmail.js","https:/framerusercontent.com/modules/7HyWoEAIg0K9jZAxeRjB/DtqGrvKHGieawdzZShqq/FormKitCheckbox.js","https:/framerusercontent.com/modules/3iJH2tW5QUFgpH9So3nO/UF4nz2hAgJN545Fau7sS/Form_navigation.js","https:/framerusercontent.com/modules/gVWLXt4kvvwEWptOmj1b/ePNSADvgSMpIujXik2Ax/FormKitSubmit.js","https:/framerusercontent.com/modules/LZi5STmjgrgLRHYHNLR6/ezTn56cKkIdWM2BqzDQg/FormKitText.js","https:/framerusercontent.com/modules/PjsrZgCWPClCYDNEVduk/AkPPsJCqOoB7isDxcblX/FormKitTextarea.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","// Store management for FormKit\n// Based on CMS Filter pattern\nimport{createStore}from\"https://framer.com/m/framer/store.js@^1.0\";import{RenderTarget}from\"framer\";// Track initialized forms (simple Set, no hooks)\nconst initializedForms=new Set;// Helper to check if a form has been initialized\nexport const isFormInitialized=formId=>{return initializedForms.has(formId);};// Global stores per form ID\nconst formStores=new Map;// Helper to get or create store for form\nexport const getFormStore=formId=>{if(!formStores.has(formId)){const newStore=createStore({currentStep:0,totalSteps:1,stepsInitialized:false,data:{},errors:{},touched:{},visitedSteps:[0],stepHistory:[0],completedSteps:[],isSubmitting:false,isCompleted:false,submitAttempted:false,submitState:\"idle\",nextRules:[],previousRules:[],submitSuccessRules:[]});formStores.set(formId,newStore);// Track initialization without using hooks (hooks cannot be called in regular functions!)\ninitializedForms.add(formId);}return formStores.get(formId);};// Helper to get store key - prioritizes manual storeKey over formId\nexport const getFormStoreKey=(formId,manualStoreKey)=>{// If manual store key is provided and not \"auto\", use it\nif(manualStoreKey&&manualStoreKey.trim()!==\"\"&&manualStoreKey!==\"auto\"){return manualStoreKey.trim();}// Otherwise use formId or default\nreturn formId||\"default\";};// Helper to save form to localStorage\nexport const saveFormToLocalStorage=(formId,state)=>{try{const key=`formkit:${formId}`;const data={currentStep:state.currentStep,data:state.data,visitedSteps:state.visitedSteps,stepHistory:state.stepHistory,completedSteps:state.completedSteps,lastSaved:Date.now()};localStorage.setItem(key,JSON.stringify(data));}catch(error){console.error(\"Failed to save form to localStorage:\",error);}};// Helper to load form from localStorage\nexport const loadFormFromLocalStorage=formId=>{try{const key=`formkit:${formId}`;const saved=localStorage.getItem(key);if(saved){return JSON.parse(saved);}}catch(error){console.error(\"Failed to load form from localStorage:\",error);}return null;};// Helper to clear form from localStorage\nexport const clearFormFromLocalStorage=formId=>{try{const key=`formkit:${formId}`;localStorage.removeItem(key);}catch(error){console.error(\"Failed to clear form from localStorage:\",error);}};// Helper to parse URL parameters for prefill\nexport const parseUrlParams=()=>{const params={};try{const urlParams=new URLSearchParams(window.location.search);urlParams.forEach((value,key)=>{params[key]=value;});}catch(error){console.error(\"Failed to parse URL parameters:\",error);}return params;};// Utility function to generate random strings (for unique IDs)\nexport function generateRandomId(length=8){const chars=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";let result=\"\";for(let i=0;i<length;i++){result+=chars.charAt(Math.floor(Math.random()*chars.length));}return result;}// RenderTarget helpers\nexport const isPreview=RenderTarget.current()===RenderTarget.preview;export const isCanvas=RenderTarget.current()===RenderTarget.canvas;export const isExport=RenderTarget.current()===RenderTarget.export;\nexport const __FramerMetadata__ = {\"exports\":{\"isCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFormStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFormStoreKey\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"generateRandomId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isFormInitialized\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseUrlParams\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"loadFormFromLocalStorage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"saveFormToLocalStorage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isExport\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clearFormFromLocalStorage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormKitStore\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Store_management.map","// Validation utilities for FormKit\nexport const validateRequired=(value,fieldName,message)=>{if(value===null||value===undefined||Array.isArray(value)&&value.length===0){return message||`${fieldName} is required`;}if(typeof value===\"string\"&&value.trim()===\"\"){return message||`${fieldName} is required`;}return null;};export const validateEmail=(value,message)=>{if(!value)return null;const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailRegex.test(value)){return message||\"Please enter a valid email address\";}return null;};export const validateURL=value=>{if(!value)return null;try{new URL(value);return null;}catch{return\"Please enter a valid URL\";}};export const validateMinLength=(value,minLength,message)=>{if(!value)return null;if(value.length<minLength){// Support {x} template placeholder\nconst finalMessage=message?message.replace(/{x}/g,minLength.toString()):`Minimum ${minLength} characters required`;return finalMessage;}return null;};export const validateMaxLength=(value,maxLength,message)=>{if(!value)return null;if(value.length>maxLength){// Support {x} template placeholder\nconst finalMessage=message?message.replace(/{x}/g,maxLength.toString()):`Maximum ${maxLength} characters allowed`;return finalMessage;}return null;};export const validatePattern=(value,pattern,message)=>{if(!value)return null;const regex=new RegExp(pattern);if(!regex.test(value)){return message||\"Invalid format\";}return null;};export const validateMin=(value,min,message)=>{if(value===null||value===undefined)return null;if(value<min){return message||`Minimum value is ${min}`;}return null;};export const validateMax=(value,max,message)=>{if(value===null||value===undefined)return null;if(value>max){return message||`Maximum value is ${max}`;}return null;};export const validatePhone=value=>{if(!value)return null;// Basic phone validation (adjust regex as needed)\nconst phoneRegex=/^[\\d\\s\\-\\+\\(\\)]+$/;if(!phoneRegex.test(value)){return\"Please enter a valid phone number\";}return null;};export const validateFileSize=(file,maxSize)=>{if(file.size>maxSize){const maxSizeMB=(maxSize/(1024*1024)).toFixed(2);return`File size must be less than ${maxSizeMB}MB`;}return null;};export const validateFileType=(file,accept)=>{if(!accept)return null;const acceptedTypes=accept.split(\",\").map(t=>t.trim());const fileType=file.type;const fileName=file.name;const fileExtension=`.${fileName.split(\".\").pop()?.toLowerCase()}`;const isValid=acceptedTypes.some(type=>{if(type.startsWith(\".\")){return fileExtension===type.toLowerCase();}if(type.endsWith(\"/*\")){const category=type.split(\"/\")[0];return fileType.startsWith(category);}return fileType===type;});if(!isValid){return`File type not accepted. Allowed: ${accept}`;}return null;};// Combined validator for fields\nexport const validateField=(value,props)=>{const fieldName=props.label||props.name;// Required validation - Checkbox vs others\nif(props.required){// Special handling for checkbox: must be strictly true if required\nif(props.type===\"checkbox\"){if(value!==true){return props.requiredMessage||`${fieldName} must be checked`;}}else if(props.type===\"rating\"||props.type===\"scale\"){// Rating/Scale: 0 means no selection, treat as empty\nif(value===null||value===undefined||value===\"\"||value===0){return props.requiredMessage||`${fieldName} is required`;}}else{const requiredError=validateRequired(value,fieldName,props.requiredMessage);if(requiredError)return requiredError;}}// Skip other validations if value is empty and not required (except checkbox and checkboxGroup which handled separately)\nif(!value&&props.type!==\"checkbox\"&&props.type!==\"checkboxGroup\")return null;// CheckboxGroup validation - handle before type switch for empty arrays\nif(props.type===\"checkboxGroup\"){const arr=Array.isArray(value)?value:[];if(props.minSelected!==undefined&&arr.length<props.minSelected){return props.minMessage?props.minMessage.replace(/{min}/g,props.minSelected.toString()):`Select at least ${props.minSelected} options`;}if(props.maxSelected!==undefined&&arr.length>props.maxSelected){return props.maxMessage?props.maxMessage.replace(/{max}/g,props.maxSelected.toString()):`Select at most ${props.maxSelected} options`;}return null;}// Type-specific validation\nswitch(props.type){case\"email\":return validateEmail(value,props.emailMessage);case\"url\":return validateURL(value);case\"phone\":return validatePhone(value);case\"number\":if(props.min!==undefined){const minError=validateMin(value,props.min,props.minMessage);if(minError)return minError;}if(props.max!==undefined){const maxError=validateMax(value,props.max,props.maxMessage);if(maxError)return maxError;}break;case\"file\":if(value instanceof File){if(props.accept){const typeError=validateFileType(value,props.accept);if(typeError)return typeError;}if(props.maxSize){const sizeError=validateFileSize(value,props.maxSize);if(sizeError)return sizeError;}}break;}// String validation\nif(typeof value===\"string\"){if(props.minLength!==undefined){const minLengthError=validateMinLength(value,props.minLength,props.minLengthMessage);if(minLengthError)return minLengthError;}if(props.maxLength!==undefined){const maxLengthError=validateMaxLength(value,props.maxLength,props.maxLengthMessage);if(maxLengthError)return maxLengthError;}if(props.pattern){const patternError=validatePattern(value,props.pattern,props.patternMessage||props.errorMessage);if(patternError)return patternError;}}return null;};\nexport const __FramerMetadata__ = {\"exports\":{\"validateEmail\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateMax\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateRequired\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateMinLength\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validatePhone\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateFileType\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateFileSize\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateMin\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateURL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateField\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateMaxLength\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validatePattern\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Validation.map","// Custom hooks for FormKit components\n// This eliminates code duplication across field components\nimport{useState,useEffect,useRef}from\"react\";import{RenderTarget}from\"framer\";import{getFormStore,getFormStoreKey}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{validateField}from\"https://framerusercontent.com/modules/CkzWOzYsjkSH8b0Md9Dz/jFAHTs0VED1zTLOHkBsH/Validation.js\";/**\r\n * Custom hook to manage form field state and validation\r\n * Eliminates code duplication across all field components\r\n *\r\n * @example\r\n * ```tsx\r\n * const {\r\n *   value,\r\n *   error,\r\n *   handleChange,\r\n *   handleBlur\r\n * } = useFormField({\r\n *   name: \"email\",\r\n *   formId: \"default\",\r\n *   validation: {\r\n *     required: true,\r\n *     type: \"email\"\r\n *   },\r\n *   validateOnBlur: true,\r\n *   validateOnChange: false\r\n * })\r\n * ```\r\n */export function useFormField(config){// Correct usage\nconst{name,formId=\"default\",storeKey=\"auto\",validation={},validateOnBlur=true,validateOnChange=false,skipValidation=false,label,onChange}=config;// Get store\nconst actualFormId=getFormStoreKey(formId,storeKey);const useStore=getFormStore(actualFormId);const[state,setState]=useStore()// This hook must be stable\n;// Local value for controlled input - check state existence\nconst[localValue,setLocalValue]=useState(()=>{return state?.data?.[name]??\"\";});// Validation state\nconst[isValidating,setIsValidating]=useState(false);const[hasValidated,setHasValidated]=useState(false);// Timeout refs for debouncing\nconst validationTimeoutRef=useRef();// Safety check for state\nconst isStateReady=!!state;// Sync local value from store (for external updates)\nuseEffect(()=>{if(!state?.data)return;const storeValue=state.data[name];const normalizedStoreValue=storeValue===undefined?\"\":storeValue;// Keep local UI in sync for both set and clear mutations\nif(normalizedStoreValue!==localValue){setLocalValue(normalizedStoreValue);}},[state?.data?.[name]])// Only re-run if this specific value changes\n;// Cleanup timeout on unmount\nuseEffect(()=>{return()=>{if(validationTimeoutRef.current){clearTimeout(validationTimeoutRef.current);}};},[]);// Reset errors on load in Preview mode\nuseEffect(()=>{if(RenderTarget.current()===RenderTarget.preview&&isStateReady){setState(prev=>{const currentErrors=prev?.errors||{};if(currentErrors[name]){const{[name]:_,...otherErrors}=currentErrors;return{...prev,errors:otherErrors};}return prev;});}},[isStateReady]);// Clear errors when field becomes hidden/disabled\nuseEffect(()=>{if(skipValidation&&isStateReady){setState(prev=>{const currentErrors=prev?.errors||{};if(currentErrors[name]){const{[name]:_,...otherErrors}=currentErrors;return{...prev,errors:otherErrors};}return prev;});}},[skipValidation]);// Validate when submitAttempted is true or submitState enters validating\nuseEffect(()=>{if(!isStateReady||skipValidation)return;const shouldValidateFromSubmit=state?.submitAttempted||state?.submitState===\"validating\";if(!shouldValidateFromSubmit)return;// Run validation when submit is attempted\nconst error=validateField(localValue,{name,label,...validation});setState(prev=>{const currentErrors=prev?.errors||{};const{[name]:_,...otherErrors}=currentErrors;const newErrors=error?{...otherErrors,[name]:error}:otherErrors;return{...prev,errors:newErrors};});setHasValidated(true);},[state?.submitAttempted,state?.submitState]);/**\r\n     * Validate the current value\r\n     * Returns null (no error) if skipValidation is true\r\n     */const validate=valueToValidate=>{// Skip validation for hidden/disabled fields\nif(skipValidation){return null;}const val=valueToValidate!==undefined?valueToValidate:localValue;const error=validateField(val,{name,label,...validation});return error;};/**\r\n     * Handle value change\r\n     * Updates both local state and store\r\n     * Optionally triggers real-time validation (debounced)\r\n     */const handleChange=value=>{setLocalValue(value);if(!isStateReady)return;setState(prev=>({...prev,data:{...prev?.data||{},[name]:value},touched:{...prev?.touched||{},[name]:true}}));// Call onChange callback if provided\nonChange?.(value);// Real-time validation (debounced) if enabled and field has been touched\n// ALSO validate if submit has been attempted (immediate feedback mode)\nif(validateOnChange||state?.submitAttempted){setIsValidating(true);if(validationTimeoutRef.current){clearTimeout(validationTimeoutRef.current);}validationTimeoutRef.current=setTimeout(()=>{// Determine value to validate - use latest localValue which might be stale in closure?\n// Better pass 'value' directly\nconst error=validate(value);setState(prev=>{const currentErrors=prev?.errors||{};const{[name]:_,...otherErrors}=currentErrors;const newErrors=error?{...otherErrors,[name]:error}:otherErrors;return{...prev,errors:newErrors};});setIsValidating(false);setHasValidated(true);},500)// 500ms debounce\n;}};/**\r\n     * Handle blur event\r\n     * Triggers validation if validateOnBlur is enabled\r\n     * Skips validation and clears errors if skipValidation is true\r\n     */const handleBlur=valueToValidate=>{if(!isStateReady)return;// If field is hidden/disabled, clear any existing errors and skip validation\nif(skipValidation){setState(prev=>{const currentErrors=prev?.errors||{};if(currentErrors[name]){const{[name]:_,...otherErrors}=currentErrors;return{...prev,errors:otherErrors};}return prev;});return;}if(!validateOnBlur)return;const error=validate(valueToValidate);setState(prev=>{const currentErrors=prev?.errors||{};const{[name]:_,...otherErrors}=currentErrors;const newErrors=error?{...otherErrors,[name]:error}:otherErrors;return{...prev,errors:newErrors,touched:{...prev?.touched||{},[name]:true}};});setHasValidated(true);};return{value:localValue,error:state?.errors?.[name]||null,isTouched:state?.touched?.[name]||false,isValidating,hasValidated,setHasValidated,state:state||{},setState,handleChange,handleBlur,validate};}/**\r\n * Hook to access form store directly without field-specific logic\r\n * Useful for components like FormKitProgress, FormKitNext, etc.\r\n */export function useFormStore(formId=\"default\",storeKey=\"auto\"){const actualFormId=getFormStoreKey(formId,storeKey);const useStore=getFormStore(actualFormId);return useStore();}\nexport const __FramerMetadata__ = {\"exports\":{\"UseFormFieldConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFormField\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFormStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UseFormFieldReturn\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export const normalizeConditionValue=value=>{if(typeof value!==\"string\")return value;const trimmed=value.trim();if(trimmed===\"\")return value;if(trimmed.toLowerCase()===\"true\")return true;if(trimmed.toLowerCase()===\"false\")return false;const numeric=Number(trimmed);if(!Number.isNaN(numeric))return numeric;return trimmed;};const isFilled=value=>{if(value===null||value===undefined)return false;if(typeof value===\"string\")return value.trim()!==\"\";if(Array.isArray(value))return value.length>0;return true;};const evaluateRule=(rule,data)=>{const{field,operator=\"equals\",value}=rule;if(!field)return true;const left=data[field];const right=normalizeConditionValue(value);switch(operator){case\"equals\":{if(Array.isArray(left)){if(Array.isArray(right)){return left.length===right.length&&left.every((v,i)=>v===right[i]);}return left.includes(right);}return left===right;}case\"notEquals\":{if(Array.isArray(left)){if(Array.isArray(right)){return!(left.length===right.length&&left.every((v,i)=>v===right[i]));}return!left.includes(right);}return left!==right;}case\"contains\":{if(Array.isArray(left))return left.includes(right);if(typeof left===\"string\"&&typeof right===\"string\"){return left.toLowerCase().includes(right.toLowerCase());}return false;}case\"notContains\":{if(Array.isArray(left))return!left.includes(right);if(typeof left===\"string\"&&typeof right===\"string\"){return!left.toLowerCase().includes(right.toLowerCase());}return true;}case\"greaterThan\":{const l=Number(left);const r=Number(right);if(Number.isNaN(l)||Number.isNaN(r))return false;return l>r;}case\"lessThan\":{const l=Number(left);const r=Number(right);if(Number.isNaN(l)||Number.isNaN(r))return false;return l<r;}case\"greaterThanOrEqual\":{const l=Number(left);const r=Number(right);if(Number.isNaN(l)||Number.isNaN(r))return false;return l>=r;}case\"lessThanOrEqual\":{const l=Number(left);const r=Number(right);if(Number.isNaN(l)||Number.isNaN(r))return false;return l<=r;}case\"isFilled\":return isFilled(left);case\"isEmpty\":return!isFilled(left);default:return true;}};export const evaluateFieldState=(showIf,data,match=\"all\",action=\"show\")=>{// Default state\nif(!showIf||Array.isArray(showIf)&&showIf.length===0||typeof showIf===\"string\"&&showIf.trim()===\"\"){return{isVisible:true,isDisabled:false};}try{let conditionMet;if(typeof showIf===\"string\"){const keys=Object.keys(data);const values=Object.values(data);// Note: new Function is intentional here for user-defined conditions in Framer\nconst fn=new Function(...keys,`return ${showIf}`);conditionMet=Boolean(fn(...values));}else{const results=showIf.map(rule=>evaluateRule(rule,data));conditionMet=match===\"any\"?results.some(Boolean):results.every(Boolean);}switch(action){case\"show\":return{isVisible:conditionMet,isDisabled:false};case\"hide\":return{isVisible:!conditionMet,isDisabled:false};case\"enable\":return{isVisible:true,isDisabled:!conditionMet};case\"disable\":return{isVisible:true,isDisabled:conditionMet};default:return{isVisible:true,isDisabled:false};}}catch(error){console.error(\"Error evaluating conditions:\",error);return{isVisible:true,isDisabled:false};}};/**\r\n * Helper function to determine conditional badge state for canvas mode\r\n * Returns whether to show a badge and what text to display\r\n */export const getConditionalBadge=(showIf,fieldState,showIfAction=\"show\")=>{if(!showIf||showIf.length===0){return{showBadge:false,badgeText:\"\"};}const wouldBeHidden=!fieldState.isVisible;const wouldBeDisabled=fieldState.isDisabled;if(showIfAction===\"show\"&&wouldBeHidden){return{showBadge:true,badgeText:\"Hidden in preview\"};}else if(showIfAction===\"hide\"&&!wouldBeHidden){return{showBadge:true,badgeText:\"Shown in preview\"};}else if(showIfAction===\"enable\"&&wouldBeDisabled){return{showBadge:true,badgeText:\"Disabled in preview\"};}else if(showIfAction===\"disable\"&&!wouldBeDisabled){return{showBadge:true,badgeText:\"Enabled in preview\"};}return{showBadge:false,badgeText:\"\"};};// Backward compatibility wrapper (deprecated but kept for safety if needed)\nexport const evaluateShowIf=(showIf,data,match=\"all\",action=\"show\")=>{const{isVisible}=evaluateFieldState(showIf,data,match,action);return isVisible;};export const evaluateRuleGroup=(rules,data,match=\"all\")=>{if(!rules||rules.length===0)return false;const results=rules.map(rule=>evaluateRule(rule,data));return match===\"any\"?results.some(Boolean):results.every(Boolean);};export const findFirstMatchingMultiStepRule=(rules,data)=>{if(!Array.isArray(rules)||rules.length===0)return null;for(const rule of rules){if(evaluateRuleGroup(rule.conditions,data,rule.match||\"all\")){return rule;}}return null;};export const findMatchingMultiStepRules=(rules,data)=>{if(!Array.isArray(rules)||rules.length===0)return[];return rules.filter(rule=>evaluateRuleGroup(rule.conditions,data,rule.match||\"all\"));};export const normalizeTargetStep=(targetStep,totalSteps)=>{if(!Number.isFinite(targetStep))return null;const requestedStep=Math.max(1,Math.floor(Number(targetStep)));const zeroBasedStep=requestedStep-1;const maxStepIndex=Math.max(0,totalSteps-1);return Math.max(0,Math.min(zeroBasedStep,maxStepIndex));};\nexport const __FramerMetadata__ = {\"exports\":{\"findFirstMatchingMultiStepRule\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"evaluateFieldState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"findMatchingMultiStepRules\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"evaluateShowIf\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeConditionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"evaluateRuleGroup\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getConditionalBadge\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowIfRule\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeTargetStep\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Conditions.map","// Shared Property Control Definitions for FormKit\n// These are reusable control definitions to maintain consistency across components\nimport{ControlType}from\"framer\";/**\r\n * Shared control for conditional visibility using Array/Object format\r\n * NO string expressions - only structured rules\r\n */export const SHOW_IF_CONTROL={type:ControlType.Array,title:\"Conditions\",description:\"Add conditions to control when this field is visible\",control:{type:ControlType.Object,controls:{field:{type:ControlType.String,title:\"Field Name\",description:\"Name of the field to check\",placeholder:\"fieldName\"},operator:{type:ControlType.Enum,title:\"Operator\",options:[\"equals\",\"notEquals\",\"contains\",\"notContains\",\"greaterThan\",\"lessThan\",\"greaterThanOrEqual\",\"lessThanOrEqual\",\"isFilled\",\"isEmpty\"],displaySegmentedControl:false,defaultValue:\"equals\"},value:{type:ControlType.String,title:\"Value\",description:\"Value to compare against\",placeholder:\"compareValue\",hidden:props=>props.operator===\"isFilled\"||props.operator===\"isEmpty\"}}}};export const MULTI_STEP_CONDITION_CONTROL={type:ControlType.Array,title:\"Conditions\",description:\"Add field rules for this branch.\",control:{type:ControlType.Object,controls:{field:{type:ControlType.String,title:\"Field Name\",placeholder:\"fieldName\"},operator:{type:ControlType.Enum,title:\"Operator\",options:[\"equals\",\"notEquals\",\"contains\",\"notContains\",\"greaterThan\",\"lessThan\",\"greaterThanOrEqual\",\"lessThanOrEqual\",\"isFilled\",\"isEmpty\"],optionTitles:[\"Equals\",\"Not Equals\",\"Contains\",\"Not Contains\",\"Greater Than\",\"Less Than\",\"Greater Or Equal\",\"Less Or Equal\",\"Is Filled\",\"Is Empty\"],defaultValue:\"equals\",displaySegmentedControl:false},value:{type:ControlType.String,title:\"Value\",placeholder:\"compareValue\",hidden:props=>props.operator===\"isFilled\"||props.operator===\"isEmpty\"}}}};export const MULTI_STEP_MATCH_CONTROL={type:ControlType.Enum,title:\"Match\",options:[\"all\",\"any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"all\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"};export const MULTI_STEP_NEXT_RULES_CONTROL={type:ControlType.Array,title:\"Next Rules\",description:\"Check rules before the next step action runs.\",control:{type:ControlType.Object,controls:{match:MULTI_STEP_MATCH_CONTROL,conditions:MULTI_STEP_CONDITION_CONTROL,action:{type:ControlType.Enum,title:\"Action\",options:[\"goToStep\",\"setFieldValue\",\"clearFieldValue\"],optionTitles:[\"Go To Step\",\"Set Field Value\",\"Clear Field Value\"],defaultValue:\"goToStep\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},targetStep:{type:ControlType.Number,title:\"Step Number\",description:\"1-based step number to jump to.\",defaultValue:2,min:1,step:1,displayStepper:true,hidden:props=>props.action!==\"goToStep\"},targetField:{type:ControlType.String,title:\"Field Name\",placeholder:\"leadType\",hidden:props=>props.action!==\"setFieldValue\"&&props.action!==\"clearFieldValue\"},targetValue:{type:ControlType.String,title:\"Field Value\",placeholder:\"enterprise\",hidden:props=>props.action!==\"setFieldValue\"}}},defaultValue:[]};export const MULTI_STEP_PREVIOUS_RULES_CONTROL={...MULTI_STEP_NEXT_RULES_CONTROL,title:\"Previous Rules\",description:\"Check rules before the previous step action runs.\",hidden:props=>props.previousBehavior!==\"rules\"};export const MULTI_STEP_SUBMIT_RULES_CONTROL={type:ControlType.Array,title:\"Submit Rules\",description:\"Set or clear fields before submit. Redirect actions run after a successful submission.\",control:{type:ControlType.Object,controls:{match:MULTI_STEP_MATCH_CONTROL,conditions:MULTI_STEP_CONDITION_CONTROL,action:{type:ControlType.Enum,title:\"Action\",options:[\"redirect\"],optionTitles:[\"Redirect\"],defaultValue:\"redirect\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},redirectUrl:{type:ControlType.String,title:\"Redirect URL\",placeholder:\"https://example.com/thank-you\",hidden:props=>props.action!==\"redirect\"}}},defaultValue:[]};/**\r\n * Shared control for showIf match mode (all/any)\r\n */export const SHOW_IF_MATCH_CONTROL={type:ControlType.Enum,title:\"Match Mode\",description:\"How to combine multiple conditions\",options:[\"all\",\"any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"all\"};/**\r\n * Control for conditional visibility action (show/hide when conditions pass)\r\n */export const SHOW_IF_ACTION_CONTROL={type:ControlType.Enum,title:\"When Conditions Pass\",description:\"Control field visibility or enabled state based on conditions\",options:[\"show\",\"hide\",\"enable\",\"disable\"],optionTitles:[\"Show Field\",\"Hide Field\",\"Enable Field\",\"Disable Field\"],defaultValue:\"show\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"};/**\r\n * Shared control for store configuration\r\n * Note: storeKey has been removed - formId handles all use cases\r\n */export const STORE_CONFIG_CONTROL={formId:{type:ControlType.String,title:\"Form ID\",defaultValue:\"default\",description:\"📋 Which form this field belongs to. Use 'default' for single form. For multiple forms on same page, use unique IDs like 'signup', 'contact', or 'newsletter'. Powered by [framerformkit](https://framerformkit.com)\"}};/**\r\n * Validation toggle controls - built-in validation only\r\n */export const VALIDATION_TOGGLE_CONTROLS={validateOnBlur:{type:ControlType.Boolean,title:\"Validate on Blur\",description:\"Validate when user leaves the field\",defaultValue:true},validateOnChange:{type:ControlType.Boolean,title:\"Validate on Change\",description:\"Validate in real-time as user types (debounced)\",defaultValue:true}};/**\r\n * Complete validation controls - grouped for nested object\r\n * Includes type selector, toggles, rules, and messages all in one place\r\n */export const VALIDATION_CONTROLS={// Timing toggles\nvalidateOnBlur:{type:ControlType.Boolean,title:\"On Blur\",description:\"Validate when user leaves field\",defaultValue:true},validateOnChange:{type:ControlType.Boolean,title:\"On Change\",description:\"Real-time validation (debounced)\",defaultValue:true},// Validation type selector\nvalidationType:{type:ControlType.Enum,title:\"Validation Type\",options:[\"built-in\",\"pattern\"],optionTitles:[\"Built-in\",\"Custom Pattern\"],defaultValue:\"built-in\",description:\"Choose validation method\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},// Built-in validation rules\nminLength:{type:ControlType.Number,title:\"Min Length\",min:0,defaultValue:0,step:1,displayStepper:true,description:\"Minimum characters (0 = no minimum)\",hidden:props=>props.validationType===\"pattern\"},maxLength:{type:ControlType.Number,title:\"Max Length\",min:0,defaultValue:0,step:1,displayStepper:true,description:\"Maximum characters (0 = no limit)\",hidden:props=>props.validationType===\"pattern\"},// Custom pattern validation\npattern:{type:ControlType.String,title:\"Pattern (Regex)\",displayTextArea:true,description:\"Example: ^[a-zA-Z0-9]+$ (alphanumeric only)\",hidden:props=>props.validationType===\"built-in\"},// Error messages\nrequiredMessage:{type:ControlType.String,title:\"Required Error\",placeholder:\"This field is required\"},minLengthMessage:{type:ControlType.String,title:\"Min Length Error\",placeholder:\"Please enter at least {x} characters\",description:\"Use {x} for dynamic value\",hidden:props=>props.validationType===\"pattern\"},maxLengthMessage:{type:ControlType.String,title:\"Max Length Error\",placeholder:\"Maximum {x} characters allowed\",description:\"Use {x} for dynamic value\",hidden:props=>props.validationType===\"pattern\"},patternMessage:{type:ControlType.String,title:\"Pattern Error\",placeholder:\"Invalid format\",hidden:props=>props.validationType===\"built-in\"},successMessage:{type:ControlType.String,title:\"Success Message\",placeholder:\"Looks good!\"}};/**\r\n * Base styling controls - can be extended per component\r\n */export const BASE_INPUT_STYLE_CONTROLS={backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(187, 187, 187, 0.15)\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333333\"},placeholderColor:{type:ControlType.Color,title:\"Placeholder Color\",defaultValue:\"#999999\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderColor:\"rgba(187, 187, 187, 0.15)\",borderStyle:\"solid\"}},shadows:{type:ControlType.BoxShadow,title:\"Shadows\",optional:true},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:12},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionIcons:[\"text-align-left\",\"text-align-center\",\"text-align-right\"],defaultValue:\"left\",displaySegmentedControl:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:14,fontWeight:400}},// State styles\nfocusBorderColor:{type:ControlType.Color,title:\"Focus Border\",defaultValue:\"#0099FF\"},errorBorderColor:{type:ControlType.Color,title:\"Error Border\",defaultValue:\"#FF4444\"},disabledOpacity:{type:ControlType.Number,title:\"Disabled Opacity\",min:0,max:1,step:.1,defaultValue:.5,displayStepper:true}};/**\r\n * Label styling controls\r\n */export const LABEL_STYLE_CONTROLS={color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#888888\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:500}},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionIcons:[\"text-align-left\",\"text-align-center\",\"text-align-right\"],defaultValue:\"left\",displaySegmentedControl:true},textTransform:{type:ControlType.Enum,title:\"Text Transform\",options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],optionTitles:[\"None\",\"UPPERCASE\",\"lowercase\",\"Capitalize\"],defaultValue:\"none\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},marginBottom:{type:ControlType.Number,title:\"Bottom Spacing\",min:0,max:24,step:1,defaultValue:8,displayStepper:true}};/**\r\n * Checkbox label styling controls (includes checked state)\r\n */export const CHECKBOX_LABEL_STYLE_CONTROLS={...LABEL_STYLE_CONTROLS,marginBottom:{...LABEL_STYLE_CONTROLS.marginBottom,hidden:()=>true},checkedLabelColor:{type:ControlType.Color,title:\"Checked Color\",optional:true}};/**\r\n * Error message styling controls\r\n */export const ERROR_STYLE_CONTROLS={color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FF4444\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}},marginTop:{type:ControlType.Number,title:\"Top Spacing\",min:0,max:24,step:1,defaultValue:4,displayStepper:true},iconType:{type:ControlType.Enum,title:\"Icon Type\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Icon Svg\"],defaultValue:\"default\",displaySegmentedControl:true},customIcon:{type:ControlType.String,title:\"Custom Icon\",description:\"Paste SVG code here\",displayTextArea:true,hidden:props=>props.iconType!==\"custom\"}};/**\r\n * Success message styling controls\r\n */export const SUCCESS_STYLE_CONTROLS={displayMode:{type:ControlType.Enum,title:\"Display\",options:[\"both\",\"icon\",\"message\"],optionTitles:[\"Both\",\"Icon Only\",\"Message Only\"],defaultValue:\"both\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},// Message text styling\nmessageFont:{type:ControlType.Font,title:\"Message Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}},messageColor:{type:ControlType.Color,title:\"Message Color\",optional:true},iconColor:{type:ControlType.Color,title:\"Icon Color\",optional:true},marginTop:{type:ControlType.Number,title:\"Message Top Spacing\",min:0,max:24,step:1,defaultValue:4,displayStepper:true},// Input styling on success\ninputBorderColor:{type:ControlType.Color,title:\"Input Border Color\",optional:true},inputTextColor:{type:ControlType.Color,title:\"Input Text Color\",optional:true},inputFont:{type:ControlType.Font,title:\"Input Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:14,fontWeight:400}},// Label styling on success\nlabelColor:{type:ControlType.Color,title:\"Label Color\",optional:true},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:14,fontWeight:600}},iconType:{type:ControlType.Enum,title:\"Icon Type\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Icon Svg\"],defaultValue:\"default\",displaySegmentedControl:true},customIcon:{type:ControlType.String,title:\"Custom Icon\",description:\"Paste SVG code here\",displayTextArea:true,hidden:props=>props.iconType!==\"custom\"}};/**\r\n * Focus state styling controls\r\n */export const FOCUS_STYLE_CONTROLS={backgroundColor:{type:ControlType.Color,title:\"Fill\",optional:true},textColor:{type:ControlType.Color,title:\"Text Color\",optional:true},placeholderColor:{type:ControlType.Color,title:\"Placeholder Color\",optional:true},border:{type:ControlType.Border,title:\"Border\",optional:true},shadows:{type:ControlType.BoxShadow,title:\"Shadows\",optional:true},transition:{type:ControlType.Transition,title:\"Transition\",optional:true}};/**\r\n * Helper to create nested styling control group\r\n * Usage: styling: createStylingControl({ inputStyles, labelStyles, errorStyles })\r\n */export function createStylingControl(controls){return{type:ControlType.Object,buttonTitle:\"Styles\",optional:true,controls};}/**\r\n * Single checkbox style controls\r\n */export const CHECKBOX_STYLE_CONTROLS={// Checkbox box styling\nsize:{type:ControlType.Number,title:\"Size\",min:12,max:40,step:1,defaultValue:20,displayStepper:true},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:4},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:2,borderColor:\"#E8E8E8\",borderStyle:\"solid\"}},checkedColor:{type:ControlType.Color,title:\"Checked Color\",defaultValue:\"#0099FF\"},// Checkbox visibility\nshowCheckbox:{type:ControlType.Boolean,title:\"Show Checkbox\",defaultValue:true,description:\"Hide to show text only\"},// Icon options\niconType:{type:ControlType.Enum,title:\"Icon Type\",options:[\"check\",\"circle\",\"x\",\"hidden\",\"custom\"],optionTitles:[\"Check ✓\",\"Circle ●\",\"X ✗\",\"Hidden\",\"Custom SVG\"],defaultValue:\"check\"},checkmarkColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#FFFFFF\"},customIcon:{type:ControlType.String,title:\"Custom Icon SVG\",description:\"Paste SVG code here\",displayTextArea:true,hidden:props=>props.iconType!==\"custom\"},// Container styling\ncontainerBackground:{type:ControlType.Color,title:\"Container Background\",optional:true},containerBorder:{type:ControlType.Border,title:\"Container Border\",optional:true},containerBorderRadius:{type:ControlType.BorderRadius,title:\"Container Radius\",defaultValue:0},containerPadding:{type:ControlType.Padding,title:\"Container Padding\",defaultValue:\"0px\"},// Checked state container styling\ncheckedContainerBackground:{type:ControlType.Color,title:\"Checked Background\",optional:true},checkedContainerBorder:{type:ControlType.Border,title:\"Checked Border\",optional:true},checkboxLabelGap:{type:ControlType.Number,title:\"Checkbox-Label Gap\",min:0,max:24,step:1,defaultValue:10,displayStepper:true}};/**\r\n * Single checkbox validation controls\r\n */export const CHECKBOX_VALIDATION_CONTROLS={requiredMessage:{type:ControlType.String,title:\"Required Error\",placeholder:\"This field must be checked\"},successMessage:{type:ControlType.String,title:\"Success Message\",placeholder:\"Checked!\"}};/**\r\n * Checkbox group style controls (includes gap)\r\n */export const CHECKBOX_GROUP_STYLE_CONTROLS={selectionBox:{type:ControlType.Object,title:\"Selection Box\",description:\"Style the square checkbox and check icon.\",optional:true,controls:{size:{type:ControlType.Number,title:\"Box Size\",min:12,max:40,step:1,defaultValue:20,displayStepper:true,description:\"Size of the checkbox square.\"},borderRadius:{type:ControlType.BorderRadius,title:\"Corner Roundness\",defaultValue:4,description:\"Roundness of the checkbox corners.\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:2,borderColor:\"#E8E8E8\",borderStyle:\"solid\"}},checkedColor:{type:ControlType.Color,title:\"Checked Color\",defaultValue:\"#0099FF\",description:\"Color when selected.\"},hoverCheckedColor:{type:ControlType.Color,title:\"Checked Hover Color\",optional:true,description:\"Optional color when selected and hovered.\"},showCheckbox:{type:ControlType.Boolean,title:\"Show Checkbox\",defaultValue:true,description:\"Turn off for text-only choices.\"},iconType:{type:ControlType.Enum,title:\"Icon Type\",options:[\"check\",\"circle\",\"x\",\"hidden\",\"custom\"],optionTitles:[\"Check\",\"Circle\",\"X\",\"Hidden\",\"Custom SVG\"],defaultValue:\"check\",description:\"Icon shown inside checked box.\"},checkmarkColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#FFFFFF\"},customIcon:{type:ControlType.String,title:\"Custom Icon SVG\",description:\"Paste SVG code if Icon Type is Custom SVG.\",displayTextArea:true,hidden:props=>props.iconType!==\"custom\"}}},optionCard:{type:ControlType.Object,title:\"Option Card\",description:\"Style the row/card that holds each option.\",optional:true,controls:{background:{type:ControlType.Color,title:\"Background\",optional:true},border:{type:ControlType.Border,title:\"Border\",optional:true},borderRadius:{type:ControlType.BorderRadius,title:\"Corner Roundness\",defaultValue:0},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},hoverBackground:{type:ControlType.Color,title:\"Hover Bg\",optional:true},hoverBorder:{type:ControlType.Border,title:\"Hover Border\",optional:true},checkedBackground:{type:ControlType.Color,title:\"Checked Background\",optional:true},checkedBorder:{type:ControlType.Border,title:\"Checked Border\",optional:true},checkedHoverBackground:{type:ControlType.Color,title:\"Checked Hover Bg\",optional:true},checkedHoverBorder:{type:ControlType.Border,title:\"Checked Hover Border\",optional:true}}},optionText:{type:ControlType.Object,title:\"Option Text\",description:\"Typography and colors for option labels.\",optional:true,controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#999999\"},checkedColor:{type:ControlType.Color,title:\"Checked Text Color\",optional:true},hoverColor:{type:ControlType.Color,title:\"Hover Color\",optional:true},checkedHoverColor:{type:ControlType.Color,title:\"Checked Hover\",optional:true},prefixColor:{type:ControlType.Color,title:\"Prefix Color\",optional:true},suffixColor:{type:ControlType.Color,title:\"Suffix Color\",optional:true},prefixFont:{type:ControlType.Font,title:\"Prefix Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}},suffixFont:{type:ControlType.Font,title:\"Suffix Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}}}},spacing:{type:ControlType.Object,title:\"Spacing\",description:\"Control distances between items and text.\",optional:true,controls:{optionGap:{type:ControlType.Number,title:\"Gap Between Choices\",defaultValue:12,displayStepper:true},checkboxLabelGap:{type:ControlType.Number,title:\"Box to Label Gap\",defaultValue:10,displayStepper:true},prefixSuffixGap:{type:ControlType.Number,title:\"Prefix/Suffix Gap\",defaultValue:4,displayStepper:true}}}};/**\r\n * Checkbox group validation controls (includes min/max selection)\r\n */export const CHECKBOX_GROUP_VALIDATION_CONTROLS={requiredMessage:{type:ControlType.String,title:\"Required Error\",placeholder:\"Please select at least one option\"},minSelected:{type:ControlType.Number,title:\"Min Selections\",min:0,description:\"Minimum number of selections required\"},maxSelected:{type:ControlType.Number,title:\"Max Selections\",min:1,description:\"Maximum number of selections allowed\"},minMessage:{type:ControlType.String,title:\"Min Error\",placeholder:\"Select at least {min} options\"},maxMessage:{type:ControlType.String,title:\"Max Error\",placeholder:\"Select at most {max} options\"},successMessage:{type:ControlType.String,title:\"Success Message\",placeholder:\"Great choice!\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"MULTI_STEP_NEXT_RULES_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BASE_INPUT_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FOCUS_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VALIDATION_TOGGLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECKBOX_GROUP_VALIDATION_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECKBOX_LABEL_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MULTI_STEP_MATCH_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHOW_IF_MATCH_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ERROR_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MULTI_STEP_CONDITION_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MULTI_STEP_PREVIOUS_RULES_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MULTI_STEP_SUBMIT_RULES_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECKBOX_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createStylingControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHOW_IF_ACTION_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LABEL_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECKBOX_VALIDATION_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VALIDATION_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SUCCESS_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHOW_IF_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECKBOX_GROUP_STYLE_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"STORE_CONFIG_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Property_controls.map","/**\r\n * HiddenField - Utility component to hide Framer's container wrapper\r\n * \r\n * When a FormKit field is conditionally hidden, this component returns\r\n * a marker element with CSS that hides the parent Framer container.\r\n * This prevents empty gaps in the layout.\r\n */// CSS to hide Framer container wrapper when field is hidden\nimport{jsx as _jsx}from\"react/jsx-runtime\";const HIDDEN_FIELD_CSS=`\r\n[class*=\"-container\"]:has([data-formkit-hidden=\"true\"]) {\r\n    margin: 0 !important;\r\n    padding: 0 !important;\r\n    min-height: 0 !important;\r\n    min-width: 0 !important;\r\n}\r\n\r\n[class*=\"-container\"]:has([data-formkit-hidden=\"true\"]):not(:has([class*=\"-container\"] [data-formkit-hidden=\"true\"])) {\r\n    display: none !important;\r\n}\r\n    \r\n`;// Track if CSS has been injected (singleton pattern)\nlet cssInjected=false;/**\r\n * Injects global CSS once to hide Framer containers with hidden FormKit fields\r\n */export const injectHiddenFieldCSS=()=>{if(cssInjected)return;if(typeof document===\"undefined\")return;const style=document.createElement(\"style\");style.setAttribute(\"data-formkit-hidden-css\",\"true\");style.textContent=HIDDEN_FIELD_CSS;document.head.appendChild(style);cssInjected=true;};/**\r\n * Returns a hidden marker element that triggers CSS to hide parent container.\r\n * Use this instead of `return null` when conditionally hiding a field.\r\n * \r\n * @example\r\n * if (!isVisible) return <HiddenFieldMarker />\r\n */export const HiddenFieldMarker=()=>{// Inject CSS on first render (if not already injected)\ninjectHiddenFieldCSS();return /*#__PURE__*/_jsx(\"div\",{className:\"sithick\",\"data-formkit-hidden\":\"true\",style:{display:\"none\"},\"aria-hidden\":\"true\"});};export default HiddenFieldMarker;\nexport const __FramerMetadata__ = {\"exports\":{\"HiddenFieldMarker\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"injectHiddenFieldCSS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HiddenFieldMarker.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";export const IconCheck=props=>/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",...props,children:/*#__PURE__*/_jsx(\"polyline\",{points:\"20 6 9 17 4 12\"})});export const IconAlert=props=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",...props,children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"8\",x2:\"12\",y2:\"12\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"16\",x2:\"12.01\",y2:\"16\"})]});export const ClockIcon=props=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",...props,children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"12 6 12 12 16 14\"})]});export const CalendarIcon=props=>/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",...props,children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"4\",width:\"18\",height:\"18\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"16\",y1:\"2\",x2:\"16\",y2:\"6\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"8\",y1:\"2\",x2:\"8\",y2:\"6\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"3\",y1:\"10\",x2:\"21\",y2:\"10\"})]});export const ChevronIcon=props=>/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",...props,children:/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 4.5L6 8L9.5 4.5\"})});export const renderIcon=({iconType=\"default\",customIcon,DefaultIcon,props={}})=>{if(iconType===\"custom\"&&customIcon){// If it looks like an SVG tag, render as HTML\nif(customIcon.trim().startsWith(\"<svg\")){const normalizeSvgSize=svg=>svg.replace(/<svg\\b([^>]*)>/i,(_match,attrs)=>{let cleanedAttrs=attrs.replace(/\\s(width|height)=[\"'][^\"']*[\"']/gi,\"\").replace(/\\sstyle=[\"']([^\"']*)[\"']/i,(_styleMatch,styleValue)=>{const filteredStyle=String(styleValue).replace(/(?:^|;)\\s*(width|height)\\s*:\\s*[^;]+;?/gi,\"\").trim();return filteredStyle?` style=\"${filteredStyle}\"`:\"\";});return`<svg${cleanedAttrs} width=\"100%\" height=\"100%\" preserveAspectRatio=\"xMidYMid meet\">`;});// Process SVG to replace hardcoded colors with currentColor\n// This allows the icon to inherit color from the parent element\nconst processedSvg=normalizeSvgSize(customIcon// Replace fill colors (hex, rgb, named colors) with currentColor\n.replace(/fill=[\"']#[0-9a-fA-F]{3,6}[\"']/gi,'fill=\"currentColor\"').replace(/fill=[\"']rgb\\([^)]+\\)[\"']/gi,'fill=\"currentColor\"').replace(/fill=[\"'](black|white|red|blue|green|gray|grey)[\"']/gi,'fill=\"currentColor\"')// Replace stroke colors with currentColor\n.replace(/stroke=[\"']#[0-9a-fA-F]{3,6}[\"']/gi,'stroke=\"currentColor\"').replace(/stroke=[\"']rgb\\([^)]+\\)[\"']/gi,'stroke=\"currentColor\"').replace(/stroke=[\"'](black|white|red|blue|green|gray|grey)[\"']/gi,'stroke=\"currentColor\"'));const htmlProps=props||{};const{style:propStyle,...restHtmlProps}=htmlProps;return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",overflow:\"hidden\",color:\"currentColor\",...propStyle||{}},dangerouslySetInnerHTML:{__html:processedSvg},...restHtmlProps});}// Assume it's an image URL\nreturn /*#__PURE__*/_jsx(\"img\",{src:customIcon,alt:\"Icon\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\"},...props});}// Default\nreturn /*#__PURE__*/_jsx(DefaultIcon,{...props});};\nexport const __FramerMetadata__ = {\"exports\":{\"CalendarIcon\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ChevronIcon\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"IconAlert\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ClockIcon\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"IconCheck\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"renderIcon\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Icons.map","const RTL_LANG_PATTERN=/^(ar|fa|he|ku|ps|sd|ug|ur)\\b/i;const RTL_TEXT_PATTERN=/[\\u0590-\\u05FF\\u0600-\\u06FF\\u0750-\\u077F\\u08A0-\\u08FF\\uFB1D-\\uFDFF\\uFE70-\\uFEFF]/;const LTR_TEXT_PATTERN=/[A-Za-z\\u00C0-\\u024F]/;export function getFormKitDirection(style,textSamples=[]){const explicitDirection=style?.direction;if(explicitDirection===\"rtl\"||explicitDirection===\"ltr\"){return explicitDirection;}// In Framer Canvas, translated content can change before the page/document\n// direction updates. Prefer the field's own content when we have it.\nfor(const sample of textSamples){if(sample===null||sample===undefined)continue;const text=String(sample).trim();if(!text)continue;if(RTL_TEXT_PATTERN.test(text))return\"rtl\";if(LTR_TEXT_PATTERN.test(text))return\"ltr\";}if(typeof document!==\"undefined\"){const documentDirection=document.documentElement?.dir||document.body?.dir;if(documentDirection===\"rtl\"||documentDirection===\"ltr\"){return documentDirection;}const documentLanguage=document.documentElement?.lang||document.body?.lang||\"\";if(RTL_LANG_PATTERN.test(documentLanguage)){return\"rtl\";}}return\"ltr\";}export function getTextAlignForDirection(textAlign,direction){if(textAlign)return textAlign;return direction===\"rtl\"?\"right\":\"left\";}\nexport const __FramerMetadata__ = {\"exports\":{\"getTextAlignForDirection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormKitDirection\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFormKitDirection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Direction.map","/**\r\n * FormKitSelect - Custom Select Dropdown Field\r\n *\r\n * A fully customizable select dropdown with complete color styling control.\r\n *\r\n * Features:\r\n * - Custom dropdown (not native select) for full styling control\r\n * - Dropdown background, option colors, hover states all configurable\r\n * - Click outside to close\r\n * - Keyboard navigation (arrow keys, enter, escape)\r\n * - Portal rendering to avoid overflow clipping\r\n * - Auto-sync with form store via useFormField hook\r\n * - Conditional visibility (Array/Object format only)\r\n *\r\n*/import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState,useRef,useCallback}from\"react\";import{useFormField}from\"https://framerusercontent.com/modules/QcJOsISgPpDHi68MFiJ7/iSwiu9OhhEpwJ9bUO8oz/Hooks.js\";import{getFormStore,getFormStoreKey}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{evaluateFieldState,getConditionalBadge}from\"https://framerusercontent.com/modules/YQMwVuIkIDYjLHJOwEnu/E43Ih1OWNh9ZYDxH2sAu/Conditions.js\";import{SHOW_IF_CONTROL,SHOW_IF_MATCH_CONTROL,SHOW_IF_ACTION_CONTROL,STORE_CONFIG_CONTROL,LABEL_STYLE_CONTROLS,ERROR_STYLE_CONTROLS,SUCCESS_STYLE_CONTROLS,FOCUS_STYLE_CONTROLS,createStylingControl}from\"https://framerusercontent.com/modules/gWXlNkIcFnVLxXMR7ktn/JtLdSfrUYaW9eElJLaFM/Property_controls.js\";import{HiddenFieldMarker}from\"https://framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js\";import{IconCheck,IconAlert,ChevronIcon,renderIcon}from\"https://framerusercontent.com/modules/hSeRQvQLiNwfAzfTZN4C/2faSrR7PxMT7RJTYjc17/Icons.js\";import{getFormKitDirection,getTextAlignForDirection}from\"https://framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js\";/**\r\n * @framerIntrinsicWidth 300\r\n * @framerSupportedLayoutHeight auto\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerDisableUnlink\r\n */export default function FormKitSelect(props){const{// Main props\nname,label,placeholder=\"Select an option\",required=false,// Select-specific\noptions=[{label:\"Option 1\"},{label:\"Option 2\"},{label:\"Option 3\"}],// Validation\nvalidation={},// Styling\nstyling={},// Conditional visibility\nshowIf,showIfMatch=\"all\",showIfAction=\"show\",// Store\nformId=\"default\",// Placeholder\nshowPlaceholderOption=false,openDropdownOnCanvas=false,// Framer\nstyle}=props;// Local state\nconst[isOpen,setIsOpen]=useState(false);const[direction,setDirection]=useState(\"down\");const[selectedValue,setSelectedValue]=useState(\"\");const[highlightedIndex,setHighlightedIndex]=useState(-1);// Refs\nconst wrapperRef=useRef(null);const dropdownRef=useRef(null);// Destructure validation options\nconst{validateOnBlur=true,validateOnChange=false,requiredMessage,successMessage}=validation;// Extract nested styling with defaults\nconst{selectStyles:rawSelectStyles={},dropdownStyles={},labelStyles={},errorStyles={},successStyles={},focusStyles={},groupHeaderStyles={}}=styling;// Merge selectStyles and dropdownStyles for easier access\nconst selectStyles={...rawSelectStyles,...dropdownStyles};// Warn if name contains spaces\nuseEffect(()=>{if(name.includes(\" \")){console.warn(`FormKit Warning: Field name \"${name}\" contains spaces. `+`Use camelCase (firstName) or snake_case (first_name) instead.`);}},[name]);// Build validation config\nconst validationConfig={required,requiredMessage};// Get store state first to evaluate conditions before useFormField\nconst actualFormId=formId||\"default\";const useStore=getFormStore(getFormStoreKey(actualFormId,\"auto\"));const[storeState]=useStore();// Detect render mode\nconst isCanvas=RenderTarget.current()===RenderTarget.canvas;// Evaluate field state BEFORE useFormField to determine skipValidation\nconst fieldState=evaluateFieldState(showIf,storeState?.data||{},showIfMatch,showIfAction);// Determine visibility and disabled state\nlet isVisible=true;let isDisabled=false;let showBadge=false;let badgeText=\"\";if(isCanvas){isVisible=true;isDisabled=false;// Use helper function for badge logic\nconst badge=getConditionalBadge(showIf,fieldState,showIfAction);showBadge=badge.showBadge;badgeText=badge.badgeText;}else{isVisible=fieldState.isVisible;isDisabled=fieldState.isDisabled;}// Skip validation if field is hidden or disabled\nconst shouldSkipValidation=!isCanvas&&(!isVisible||isDisabled);// Use custom hook for form field logic\nconst{value,error,isTouched,isValidating,hasValidated,state,handleChange,handleBlur}=useFormField({name,formId,storeKey:\"auto\",validation:validationConfig,validateOnBlur,validateOnChange,skipValidation:shouldSkipValidation,label});// Sync local state with store value\nuseEffect(()=>{if(value===undefined||value===null||value===\"\"){setSelectedValue(\"\");return;}setSelectedValue(String(value));},[value]);// Close dropdown when clicking outside\nuseEffect(()=>{const handleClickOutside=event=>{if(wrapperRef.current&&!wrapperRef.current.contains(event.target)){setIsOpen(false);}};if(isOpen){document.addEventListener(\"mousedown\",handleClickOutside);}return()=>{document.removeEventListener(\"mousedown\",handleClickOutside);};},[isOpen]);// Keyboard navigation\nconst handleKeyDown=useCallback(e=>{if(isDisabled)return;switch(e.key){case\"Enter\":case\" \":e.preventDefault();if(isOpen&&highlightedIndex>=0){const option=options[highlightedIndex];handleOptionSelect(option.value||option.label);}else{toggleDropdown();}break;case\"Escape\":setIsOpen(false);break;case\"ArrowDown\":e.preventDefault();if(!isOpen){toggleDropdown();}else{setHighlightedIndex(prev=>prev<options.length-1?prev+1:0);}break;case\"ArrowUp\":e.preventDefault();if(isOpen){setHighlightedIndex(prev=>prev>0?prev-1:options.length-1);}break;}},[isOpen,highlightedIndex,options,isDisabled]);// Handle option selection\nconst handleOptionSelect=optionValue=>{setSelectedValue(optionValue);handleChange(optionValue);setTimeout(()=>handleBlur(optionValue),0);setIsOpen(false);setHighlightedIndex(-1);};// Toggle dropdown with auto-direction\nconst toggleDropdown=()=>{if(isDisabled)return;if(!isOpen&&wrapperRef.current){const rect=wrapperRef.current.getBoundingClientRect();const spaceBelow=window.innerHeight-rect.bottom;const spaceAbove=rect.top;const maxHeight=(selectStyles.dropdownMaxHeight??240)+(selectStyles.dropdownMarginTop??4);if(spaceBelow<maxHeight&&spaceAbove>spaceBelow){setDirection(\"up\");}else{setDirection(\"down\");}}setIsOpen(!isOpen);};// Get selected label\nconst getSelectedLabel=()=>{const selectedOption=options.find(opt=>(opt.value||opt.label)===selectedValue);return selectedOption?.label||selectedValue||\"\";};if(!isVisible)return /*#__PURE__*/_jsx(HiddenFieldMarker,{});// Determine if we should show success message\nconst shouldShowSuccess=hasValidated&&!isValidating&&!error&&successMessage&&value&&value!==\"\";const successDisplayMode=successStyles.displayMode??\"both\";const showInlineSuccessIcon=shouldShowSuccess&&(successDisplayMode===\"both\"||successDisplayMode===\"icon\");const showSuccessMessage=shouldShowSuccess&&successMessage&&(successDisplayMode===\"both\"||successDisplayMode===\"message\");const componentDirection=getFormKitDirection(style,[label,placeholder,successMessage,selectedValue,...options.flatMap(option=>[option.label,option.value,option.group])]);const isDropdownVisible=isOpen||isCanvas&&openDropdownOnCanvas;const triggerTextAlign=getTextAlignForDirection(selectStyles.textAlign,componentDirection);const arrowPosition=selectStyles.arrowPosition??(componentDirection===\"rtl\"?\"left\":\"right\");const hasArrow=selectStyles.arrowIcon?.type!==\"none\";const rawTriggerPadding=selectStyles.padding??\"12px\";const parseHorizontalPadding=(paddingValue,side)=>{if(typeof paddingValue===\"number\")return paddingValue;if(typeof paddingValue!==\"string\")return 12;const parts=paddingValue.trim().split(/\\s+/);const getNumeric=part=>{if(!part)return 12;const parsed=parseFloat(part);return Number.isFinite(parsed)?parsed:12;};if(parts.length===1)return getNumeric(parts[0]);if(parts.length===2)return getNumeric(parts[1]);if(parts.length===3)return getNumeric(parts[1]);return side===\"left\"?getNumeric(parts[3]):getNumeric(parts[1]);};const triggerPaddingLeft=parseHorizontalPadding(rawTriggerPadding,\"left\");const triggerPaddingRight=parseHorizontalPadding(rawTriggerPadding,\"right\");const leftInset=hasArrow&&arrowPosition===\"left\"?16:0;const rightInset=(hasArrow&&arrowPosition===\"right\"?16:0)+(showInlineSuccessIcon?24:0);const successIconOffset=componentDirection===\"rtl\"?triggerPaddingLeft+(hasArrow&&arrowPosition===\"left\"?24:0):triggerPaddingRight+(hasArrow&&arrowPosition===\"right\"?24:0);// === STYLING ===\n// Trigger button styles\nconst triggerStyle={width:\"100%\",padding:rawTriggerPadding,fontSize:selectStyles.font?.fontSize??12,fontFamily:selectStyles.font?.fontFamily??\"Inter\",fontWeight:selectStyles.font?.fontWeight??400,lineHeight:selectStyles.font?.lineHeight??undefined,letterSpacing:selectStyles.font?.letterSpacing??undefined,color:selectedValue?selectStyles.textColor??\"#999999\":isDropdownVisible&&selectStyles.placeholderActiveColor?selectStyles.placeholderActiveColor:selectStyles.placeholderColor??\"#999999\",backgroundColor:isDropdownVisible&&focusStyles.backgroundColor?focusStyles.backgroundColor:isDisabled?\"#F5F5F5\":selectStyles.backgroundColor??\"rgba(187, 187, 187, 0.15)\",borderWidth:\"1px\",borderStyle:\"solid\",...isDropdownVisible&&focusStyles.border?focusStyles.border:selectStyles.border,borderColor:isCanvas?selectStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\":shouldShowSuccess&&successStyles.inputBorderColor?successStyles.inputBorderColor:error&&(isTouched||state?.submitAttempted)?selectStyles.errorBorderColor??\"#FF4444\":isDropdownVisible?focusStyles.border?.borderColor??selectStyles.focusBorderColor??\"#0099FF\":selectStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\",borderRadius:selectStyles.borderRadius??12,outline:\"none\",cursor:isDisabled?\"not-allowed\":\"pointer\",opacity:isDisabled?selectStyles.disabledOpacity??.5:1,boxSizing:\"border-box\",textAlign:triggerTextAlign,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",transition:focusStyles.transition??\"border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease\",position:\"relative\",boxShadow:isDropdownVisible&&focusStyles.shadows?Array.isArray(focusStyles.shadows)?focusStyles.shadows.join(\", \"):focusStyles.shadows:undefined};// Dropdown styles\nconst isUp=direction===\"up\";const dropdownStyle={position:\"absolute\",top:isUp?\"auto\":\"100%\",bottom:isUp?\"100%\":\"auto\",left:0,right:0,marginTop:isUp?0:selectStyles.dropdownMarginTop??4,marginBottom:isUp?selectStyles.dropdownMarginTop??4:0,padding:selectStyles.dropdownPadding??\"0px\",backgroundColor:selectStyles.dropdownBackgroundColor??\"#FFFFFF\",...selectStyles.dropdownBorder,borderRadius:selectStyles.dropdownBorderRadius??12,boxShadow:selectStyles.dropdownShadow??(isUp?\"0 -4px 12px rgba(0,0,0,0.15)\":\"0 4px 12px rgba(0,0,0,0.15)\"),maxHeight:selectStyles.dropdownMaxHeight??240,overflowY:\"auto\",zIndex:9999,direction:componentDirection};// Label styles\nconst labelStyle={display:\"block\",fontSize:shouldShowSuccess&&successStyles.labelFont?.fontSize?successStyles.labelFont.fontSize:labelStyles.font?.fontSize??12,fontWeight:shouldShowSuccess&&successStyles.labelFont?.fontWeight?successStyles.labelFont.fontWeight:labelStyles.font?.fontWeight??\"500\",fontFamily:shouldShowSuccess&&successStyles.labelFont?.fontFamily?successStyles.labelFont.fontFamily:labelStyles.font?.fontFamily??\"Inter\",lineHeight:labelStyles.font?.lineHeight??undefined,letterSpacing:labelStyles.font?.letterSpacing??undefined,textAlign:getTextAlignForDirection(labelStyles.textAlign,componentDirection),textTransform:labelStyles.textTransform??\"none\",color:shouldShowSuccess&&successStyles.labelColor?successStyles.labelColor:labelStyles.color??\"#888888\",marginBottom:labelStyles.marginBottom??8,transition:\"color 0.2s ease\"};// Error styles\nconst errorStyle={fontSize:errorStyles.font?.fontSize??12,fontWeight:errorStyles.font?.fontWeight??undefined,fontFamily:errorStyles.font?.fontFamily??\"inherit\",color:errorStyles.color??\"#FF4444\",marginTop:errorStyles.marginTop??4};// Success styles\nconst successStyle={fontSize:successStyles.messageFont?.fontSize??12,fontWeight:successStyles.messageFont?.fontWeight??undefined,fontFamily:successStyles.messageFont?.fontFamily??undefined,color:successStyles.messageColor??\"#22C55E\",marginTop:successStyles.marginTop??4};// Option styles helper\nconst getOptionStyle=(optionValue,index)=>{const isSelected=optionValue===selectedValue;const isHighlighted=index===highlightedIndex;const isPlaceholder=index===-2;const usePlaceholderStyles=isPlaceholder&&selectStyles.showPlaceholderOptionControl===true;return{padding:selectStyles.optionPadding??\"10px 12px 10px 12px\",fontSize:selectStyles.optionFont?.fontSize??12,fontFamily:selectStyles.optionFont?.fontFamily??\"inherit\",fontWeight:selectStyles.optionFont?.fontWeight??400,lineHeight:selectStyles.optionFont?.lineHeight??undefined,letterSpacing:selectStyles.optionFont?.letterSpacing??undefined,textAlign:triggerTextAlign,cursor:\"pointer\",transition:\"background-color 0.15s, color 0.15s\",color:isSelected?selectStyles.optionSelectedTextColor??\"#FFFFFF\":isHighlighted?usePlaceholderStyles?selectStyles.placeholderOptionHoverTextColor??selectStyles.optionHoverTextColor??\"#333333\":selectStyles.optionHoverTextColor??\"#333333\":usePlaceholderStyles?selectStyles.placeholderOptionTextColor??selectStyles.optionTextColor??\"#333333\":selectStyles.optionTextColor??\"#333333\",backgroundColor:isSelected?selectStyles.optionSelectedBackgroundColor??\"#0099FF\":isHighlighted?usePlaceholderStyles?selectStyles.placeholderOptionHoverBackgroundColor??selectStyles.optionHoverBackgroundColor??\"#F0F0F0\":selectStyles.optionHoverBackgroundColor??\"#F0F0F0\":usePlaceholderStyles?selectStyles.placeholderOptionBackgroundColor??selectStyles.optionBackgroundColor??\"transparent\":selectStyles.optionBackgroundColor??\"transparent\"};};// Group header styles\nconst groupHeaderStyle={padding:groupHeaderStyles.groupHeaderPadding??\"8px 12px 4px 12px\",fontSize:groupHeaderStyles.groupHeaderFont?.fontSize??(selectStyles.optionFont?.fontSize??12)-2,fontFamily:groupHeaderStyles.groupHeaderFont?.fontFamily??selectStyles.optionFont?.fontFamily??\"inherit\",fontWeight:groupHeaderStyles.groupHeaderFont?.fontWeight??600,color:groupHeaderStyles.groupHeaderColor??(selectStyles.optionTextColor?`${selectStyles.optionTextColor}99`// Add some transparency\n:\"#666666\"),textTransform:groupHeaderStyles.groupHeaderTextTransform??\"uppercase\",letterSpacing:groupHeaderStyles.groupHeaderFont?.letterSpacing??\"0.5px\",borderTopWidth:groupHeaderStyles.groupHeaderBorderTop?.borderTopWidth??groupHeaderStyles.groupHeaderBorderTop?.borderWidth,borderTopColor:groupHeaderStyles.groupHeaderBorderTop?.borderTopColor??groupHeaderStyles.groupHeaderBorderTop?.borderColor,borderTopStyle:groupHeaderStyles.groupHeaderBorderTop?.borderTopStyle??groupHeaderStyles.groupHeaderBorderTop?.borderStyle,marginTop:groupHeaderStyles.groupHeaderMarginTop??4,pointerEvents:\"none\"};// First group header doesn't need top border/margin\nconst firstGroupHeaderStyle={...groupHeaderStyle,borderTop:\"none\",marginTop:0};// Render grouped options\nconst renderGroupedOptions=()=>{// Check if any options have groups\nconst hasGroups=options.some(opt=>opt.group);if(!hasGroups){// Simple rendering without groups\nconst items=options.map((option,index)=>{const optionValue=option.value||option.label;return /*#__PURE__*/_jsx(\"div\",{role:\"option\",\"aria-selected\":optionValue===selectedValue,onClick:()=>handleOptionSelect(optionValue),onMouseEnter:()=>setHighlightedIndex(index),onMouseLeave:()=>setHighlightedIndex(-1),style:getOptionStyle(optionValue,index),children:option.label},`${optionValue}-${index}`);});if(showPlaceholderOption&&placeholder){items.unshift(/*#__PURE__*/_jsx(\"div\",{role:\"option\",\"aria-selected\":selectedValue===\"\",onClick:()=>handleOptionSelect(\"\"),onMouseEnter:()=>setHighlightedIndex(-2),onMouseLeave:()=>setHighlightedIndex(-1),style:getOptionStyle(\"\",-2),children:placeholder},\"placeholder-option\"));}return items;}// Group options by their group name\nconst grouped={};const ungrouped=[];options.forEach((option,index)=>{if(option.group){if(!grouped[option.group]){grouped[option.group]=[];}grouped[option.group].push({option,originalIndex:index});}else{ungrouped.push({option,originalIndex:index});}});const elements=[];let isFirstGroup=true;// Render placeholder option if enabled\nif(showPlaceholderOption&&placeholder){elements.push(/*#__PURE__*/_jsx(\"div\",{role:\"option\",\"aria-selected\":selectedValue===\"\",onClick:()=>handleOptionSelect(\"\"),onMouseEnter:()=>setHighlightedIndex(-2),onMouseLeave:()=>setHighlightedIndex(-1),style:getOptionStyle(\"\",-2),children:placeholder},\"placeholder-option\"));isFirstGroup=false// Preceding group (if any) is no longer technically \"first\" in layout\n;}// Render ungrouped options first (if any)\nungrouped.forEach(({option,originalIndex})=>{const optionValue=option.value||option.label;elements.push(/*#__PURE__*/_jsx(\"div\",{role:\"option\",\"aria-selected\":optionValue===selectedValue,onClick:()=>handleOptionSelect(optionValue),onMouseEnter:()=>setHighlightedIndex(originalIndex),onMouseLeave:()=>setHighlightedIndex(-1),style:getOptionStyle(optionValue,originalIndex),children:option.label},`ungrouped-${optionValue}-${originalIndex}`));});// Render groups\nObject.entries(grouped).forEach(([groupName,groupOptions])=>{// Group header\nelements.push(/*#__PURE__*/_jsx(\"div\",{style:isFirstGroup&&ungrouped.length===0?firstGroupHeaderStyle:groupHeaderStyle,role:\"presentation\",children:groupName},`group-header-${groupName}`));isFirstGroup=false;// Group options\ngroupOptions.forEach(({option,originalIndex})=>{const optionValue=option.value||option.label;elements.push(/*#__PURE__*/_jsx(\"div\",{role:\"option\",\"aria-selected\":optionValue===selectedValue,onClick:()=>handleOptionSelect(optionValue),onMouseEnter:()=>setHighlightedIndex(originalIndex),onMouseLeave:()=>setHighlightedIndex(-1),style:getOptionStyle(optionValue,originalIndex),children:option.label},`${groupName}-${optionValue}-${originalIndex}`));});});return elements;};const fieldId=`${formId}-${name}`;return /*#__PURE__*/_jsxs(\"div\",{ref:wrapperRef,style:{...style,display:\"flex\",flexDirection:\"column\",width:\"100%\",position:\"relative\",direction:componentDirection},children:[isCanvas&&showBadge&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-8,insetInlineEnd:-8,backgroundColor:\"#FF6B00\",color:\"white\",fontSize:10,fontWeight:600,padding:\"2px 6px\",borderRadius:4,zIndex:1e3,pointerEvents:\"none\",boxShadow:\"0 2px 4px rgba(0,0,0,0.2)\"},children:badgeText}),label&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:fieldId,style:labelStyle,children:[label,required&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FF4444\",marginInlineStart:4},children:\"*\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",id:fieldId,onClick:toggleDropdown,onKeyDown:handleKeyDown,onBlur:()=>{// Delay blur to allow option click\nsetTimeout(()=>{if(!isDropdownVisible)handleBlur();},150);},disabled:isDisabled,style:triggerStyle,\"aria-haspopup\":\"listbox\",\"aria-expanded\":isDropdownVisible,children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:1,minWidth:0,textAlign:triggerTextAlign,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",paddingLeft:triggerTextAlign===\"center\"?Math.max(leftInset,rightInset):leftInset,paddingRight:triggerTextAlign===\"center\"?Math.max(leftInset,rightInset):rightInset},children:selectedValue&&getSelectedLabel()?getSelectedLabel():placeholder||\"Select an option\"}),showInlineSuccessIcon&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",...componentDirection===\"rtl\"?{left:successIconOffset}:{right:successIconOffset},display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:successStyles.iconColor??successStyles.inputTextColor??\"#0099FF\",pointerEvents:\"none\",width:16,height:16},children:renderIcon({iconType:successStyles.iconType,customIcon:successStyles.customIcon,DefaultIcon:IconCheck})}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:arrowPosition===\"left\"?triggerPaddingLeft:\"auto\",right:arrowPosition===\"right\"?triggerPaddingRight:\"auto\",transform:`rotate(${isDropdownVisible?180:0}deg)`,transition:\"transform 0.2s ease\",display:\"flex\",alignItems:\"center\"},children:selectStyles.arrowIcon?.type!==\"none\"&&/*#__PURE__*/_jsx(\"div\",{style:{width:selectStyles.arrowIcon?.size??12,height:selectStyles.arrowIcon?.size??12,color:selectStyles.arrowIcon?.color??\"#666666\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:renderIcon({iconType:selectStyles.arrowIcon?.type===\"custom\"?\"custom\":\"default\",customIcon:selectStyles.arrowIcon?.customIcon,DefaultIcon:ChevronIcon,props:{width:\"100%\",height:\"100%\"}})})})]}),isDropdownVisible&&/*#__PURE__*/_jsx(\"div\",{ref:dropdownRef,role:\"listbox\",style:dropdownStyle,children:renderGroupedOptions()})]}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:name,value:value||\"\"}),error&&(isTouched||state?.submitAttempted)&&/*#__PURE__*/_jsxs(\"div\",{style:{...errorStyle,display:\"flex\",alignItems:\"center\",textTransform:\"lowercase\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:14,height:14},children:renderIcon({iconType:errorStyles.iconType,customIcon:errorStyles.customIcon,DefaultIcon:IconAlert})}),error]}),showSuccessMessage&&/*#__PURE__*/_jsx(\"div\",{style:successStyle,children:successMessage})]});}// === PROPERTY CONTROLS ===\n// Select-specific style controls with full color support\nconst SELECT_STYLE_CONTROLS={// Trigger button\nbackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F5\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#999999\"},placeholderColor:{type:ControlType.Color,title:\"Placeholder\",defaultValue:\"#999999\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionIcons:[\"text-align-left\",\"text-align-center\",\"text-align-right\"],defaultValue:\"left\",displaySegmentedControl:true},placeholderActiveColor:{type:ControlType.Color,title:\"Placeholder (Active)\",defaultValue:\"#999999\",description:\"Color of placeholder when dropdown is open\"},// Border\nborder:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderColor:\"rgba(187, 187, 187, 0.15)\",borderStyle:\"solid\"}},focusBorderColor:{type:ControlType.Color,title:\"Focus Border\",defaultValue:\"#0099FF\",hidden:()=>true},errorBorderColor:{type:ControlType.Color,title:\"Error Border\",defaultValue:\"#FF4444\"},borderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:50,step:1,defaultValue:12,displayStepper:true},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px 12px 12px 12px\"},arrowPosition:{type:ControlType.Enum,title:\"Arrow Position\",options:[\"right\",\"left\"],optionTitles:[\"Right\",\"Left\"],defaultValue:\"right\",displaySegmentedControl:true},arrowIcon:{type:ControlType.Object,title:\"Arrow Icon\",controls:{type:{type:ControlType.Enum,title:\"Type\",options:[\"default\",\"custom\",\"none\"],optionTitles:[\"Default\",\"Custom SVG\",\"None\"],defaultValue:\"default\"},customIcon:{type:ControlType.String,title:\"SVG Code\",defaultValue:\"\",displayTextArea:true,hidden:props=>props.type!==\"custom\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:12,min:8,max:48,displayStepper:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#666666\"}}},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}},icon:{type:ControlType.ComponentInstance,title:\"Icon\",optional:true}};// Dropdown menu style controls\nconst DROPDOWN_STYLE_CONTROLS={dropdownPadding:{type:ControlType.Padding,title:\"Wrap Padding\",defaultValue:\"0px\"},dropdownMarginTop:{type:ControlType.Number,title:\"Margin\",min:-100,max:100,step:1,defaultValue:4,displayStepper:true},dropdownBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},dropdownBorder:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderColor:\"#E8E8E8\",borderStyle:\"solid\"}},dropdownBorderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:50,step:1,defaultValue:12,displayStepper:true},dropdownMaxHeight:{type:ControlType.Number,title:\"Max Height\",min:100,max:500,step:20,defaultValue:240,displayStepper:true},optionTextColor:{type:ControlType.Color,title:\"Option Text\",defaultValue:\"#333333\"},optionBackgroundColor:{type:ControlType.Color,title:\"Option BG\",defaultValue:\"#FFFFFF\"},optionHoverTextColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"#333333\"},optionHoverBackgroundColor:{type:ControlType.Color,title:\"Hover BG\",defaultValue:\"#F0F0F0\"},optionSelectedTextColor:{type:ControlType.Color,title:\"Selected Text\",defaultValue:\"#FFFFFF\"},optionSelectedBackgroundColor:{type:ControlType.Color,title:\"Selected BG\",defaultValue:\"#0099FF\"},optionPadding:{type:ControlType.Padding,title:\"Option Padding\",defaultValue:\"10px 12px 10px 12px\"},optionFont:{type:ControlType.Font,title:\"Option Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:400}},showPlaceholderOptionControl:{type:ControlType.Boolean,title:\"Show Placeholder Option\",defaultValue:false},placeholderOptionTextColor:{type:ControlType.Color,title:\"Placeholder Text\",defaultValue:\"#333333\",hidden:props=>props.showPlaceholderOptionControl!==true},placeholderOptionBackgroundColor:{type:ControlType.Color,title:\"Placeholder BG\",defaultValue:\"#FFFFFF\",hidden:props=>props.showPlaceholderOptionControl!==true},placeholderOptionHoverTextColor:{type:ControlType.Color,title:\"Placeholder Hover Text\",defaultValue:\"#333333\",hidden:props=>props.showPlaceholderOptionControl!==true},placeholderOptionHoverBackgroundColor:{type:ControlType.Color,title:\"Placeholder Hover BG\",defaultValue:\"#F0F0F0\",hidden:props=>props.showPlaceholderOptionControl!==true}};// Group header style controls\nconst GROUP_HEADER_STYLE_CONTROLS={groupHeaderFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:12,fontWeight:600}},groupHeaderColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#666666\"},groupHeaderTextTransform:{type:ControlType.Enum,title:\"Transform\",options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],optionTitles:[\"None\",\"UPPERCASE\",\"lowercase\",\"Capitalize\"],defaultValue:\"uppercase\"},groupHeaderPadding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 12px 4px 12px\"},groupHeaderMarginTop:{type:ControlType.Number,title:\"Margin Top\",min:0,max:50,step:1,defaultValue:4,displayStepper:true},// Border\ngroupHeaderBorderTop:{type:ControlType.Border,title:\"Border Top\",defaultValue:{borderWidth:1,borderColor:\"rgba(187, 187, 187, 0.15)\",borderStyle:\"solid\"}}};// Validation controls\nconst SELECT_VALIDATION_CONTROLS={validateOnBlur:{type:ControlType.Boolean,title:\"On Blur\",description:\"Validate when user leaves field\",defaultValue:true},validateOnChange:{type:ControlType.Boolean,title:\"On Change\",description:\"Real-time validation as user selects\",defaultValue:false},requiredMessage:{type:ControlType.String,title:\"Required Error\",placeholder:\"Please select an option\"},successMessage:{type:ControlType.String,title:\"Success Message\",placeholder:\"Great choice!\"}};// Property Controls\naddPropertyControls(FormKitSelect,{// FLAT - Main options\nname:{type:ControlType.String,title:\"Name\",defaultValue:\"selection\",description:\"Use camelCase or snake_case, NO SPACES\",placeholder:\"field-name\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Selection\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Select an option\"},showPlaceholderOption:{type:ControlType.Boolean,title:\"Show Placeholder\",defaultValue:false,description:\"Add an option to the list to clear selection\"},openDropdownOnCanvas:{type:ControlType.Boolean,title:\"Open in Canvas\",defaultValue:false,description:\"Keep dropdown open in Canvas for easy styling\"},// OPTIONS - Array of items\noptions:{type:ControlType.Array,title:\"Options\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Option\"},value:{type:ControlType.String,title:\"Value\",description:\"Optional - uses label if empty\"},group:{type:ControlType.String,title:\"Group\",description:\"Optional group name for organizing options\",placeholder:\"e.g. Category A\"}}},defaultValue:[{label:\"Option 1\"},{label:\"Option 2\"},{label:\"Option 3\"}]},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},// NESTED - Validation\nvalidation:{type:ControlType.Object,buttonTitle:\"Validation\",optional:true,controls:SELECT_VALIDATION_CONTROLS},// NESTED - Styling organized into groups\nstyling:createStylingControl({selectStyles:{type:ControlType.Object,buttonTitle:\"Select Input\",optional:true,controls:SELECT_STYLE_CONTROLS},dropdownStyles:{type:ControlType.Object,buttonTitle:\"Dropdown & Options\",optional:true,controls:DROPDOWN_STYLE_CONTROLS},groupHeaderStyles:{type:ControlType.Object,buttonTitle:\"Group Headers\",optional:true,controls:GROUP_HEADER_STYLE_CONTROLS},labelStyles:{type:ControlType.Object,buttonTitle:\"Label\",optional:true,controls:LABEL_STYLE_CONTROLS},errorStyles:{type:ControlType.Object,buttonTitle:\"Error\",optional:true,controls:ERROR_STYLE_CONTROLS},successStyles:{type:ControlType.Object,buttonTitle:\"Success\",optional:true,controls:SUCCESS_STYLE_CONTROLS},focusStyles:{type:ControlType.Object,buttonTitle:\"Focus\",optional:true,controls:FOCUS_STYLE_CONTROLS}}),// Conditional visibility\nshowIf:SHOW_IF_CONTROL,showIfMatch:{...SHOW_IF_MATCH_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},showIfAction:{...SHOW_IF_ACTION_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},// Store connection\n...STORE_CONFIG_CONTROL});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormKitSelect\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormKitSelect.map","/**\r\n * FormKitEmail - Email Input Field\r\n *\r\n * An email input field with validation, conditional visibility, and form store integration.\r\n *\r\n * Features:\r\n * - Hybrid prop structure (flat main options, nested styling)\r\n * - Auto-sync with form store via useFormField hook\r\n * - Configurable validation timing (onBlur, onChange)\r\n * - Built-in email format validation (NOT minLength/maxLength!)\r\n * - Error display with validation\r\n * - Conditional visibility (Array/Object format only)\r\n * - Optional success message\r\n *\r\n*/import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState}from\"react\";import{useFormField}from\"https://framerusercontent.com/modules/QcJOsISgPpDHi68MFiJ7/iSwiu9OhhEpwJ9bUO8oz/Hooks.js\";import{getFormStore,getFormStoreKey}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{evaluateFieldState,getConditionalBadge}from\"https://framerusercontent.com/modules/YQMwVuIkIDYjLHJOwEnu/E43Ih1OWNh9ZYDxH2sAu/Conditions.js\";import{SHOW_IF_CONTROL,SHOW_IF_MATCH_CONTROL,SHOW_IF_ACTION_CONTROL,STORE_CONFIG_CONTROL,BASE_INPUT_STYLE_CONTROLS,LABEL_STYLE_CONTROLS,ERROR_STYLE_CONTROLS,SUCCESS_STYLE_CONTROLS,FOCUS_STYLE_CONTROLS,createStylingControl}from\"https://framerusercontent.com/modules/gWXlNkIcFnVLxXMR7ktn/JtLdSfrUYaW9eElJLaFM/Property_controls.js\";import{HiddenFieldMarker}from\"https://framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js\";import{IconCheck,IconAlert,renderIcon}from\"https://framerusercontent.com/modules/hSeRQvQLiNwfAzfTZN4C/2faSrR7PxMT7RJTYjc17/Icons.js\";import{getFormKitDirection,getTextAlignForDirection}from\"https://framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js\";/**\r\n * @framerIntrinsicWidth 300\r\n * @framerSupportedLayoutHeight auto\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerDisableUnlink\r\n */export default function FormKitEmail(props){const{// Main props\nname,label,placeholder=\"email@example.com\",required=false,// disabled prop removed\n// Validation (nested)\nvalidation={},// Styling\nstyling={},// Conditional visibility\nshowIf,showIfMatch=\"all\",showIfAction=\"show\",// Store (simplified!)\nformId=\"default\",// Framer\nstyle}=props;// Destructure validation options (email-specific - NO minLength/maxLength)\nconst{validateOnBlur=true,validateOnChange=false,emailMessage,requiredMessage,successMessage}=validation;// Extract nested styling with defaults\nconst{inputStyles={},labelStyles={},errorStyles={},successStyles={},focusStyles={}}=styling;// Warn if name contains spaces\nuseEffect(()=>{if(name.includes(\" \")){console.warn(`FormKit Warning: Field name \"${name}\" contains spaces. `+`This may cause issues. Use camelCase (firstName) or snake_case (first_name) instead.`);}},[name]);// Build validation config for email type\nconst validationConfig={required,requiredMessage,type:\"email\",emailMessage};// Get store state first to evaluate conditions before useFormField\nconst actualFormId=formId||\"default\";const useStore=getFormStore(getFormStoreKey(actualFormId,\"auto\"));const[storeState]=useStore();// Detect render mode\nconst isCanvas=RenderTarget.current()===RenderTarget.canvas;// Evaluate field state BEFORE useFormField to determine skipValidation\nconst fieldState=evaluateFieldState(showIf,storeState?.data||{},showIfMatch,showIfAction);// Determine visibility and disabled state\nlet isVisible=true;let isDisabled=false;let showBadge=false;let badgeText=\"\";if(isCanvas){isVisible=true;isDisabled=false;// Use helper function for badge logic\nconst badge=getConditionalBadge(showIf,fieldState,showIfAction);showBadge=badge.showBadge;badgeText=badge.badgeText;}else{isVisible=fieldState.isVisible;isDisabled=fieldState.isDisabled;}// Skip validation if field is hidden or disabled (in preview/live mode)\nconst shouldSkipValidation=!isCanvas&&(!isVisible||isDisabled);// Use custom hook for form field logic\nconst{value,error,isTouched,isValidating,hasValidated,state,handleChange,handleBlur}=useFormField({name,formId,storeKey:\"auto\",validation:validationConfig,validateOnBlur,validateOnChange,skipValidation:shouldSkipValidation,label});// Track focus state for border color\nconst[isFocused,setIsFocused]=useState(false);const componentDirection=getFormKitDirection(style,[label,placeholder,successMessage,value,name]);const resolvedInputTextAlign=getTextAlignForDirection(inputStyles.textAlign,componentDirection);const resolvedLabelTextAlign=getTextAlignForDirection(labelStyles.textAlign,componentDirection);if(!isVisible)return /*#__PURE__*/_jsx(HiddenFieldMarker,{});// Determine if we should show success message\n// Only show success AFTER validation has completed at least once\nconst shouldShowSuccess=hasValidated&&// Validation must have run at least once\n!isValidating&&// Not currently validating\n!error&&// No validation errors\nsuccessMessage&&// User provided success message\nvalue&&// Field has a value\n(required?value.trim()!==\"\":true)// If required, must not be empty\n;// Build input styles - use success overrides when applicable\nconst successDisplayMode=successStyles.displayMode??\"both\";const showInlineSuccessIcon=shouldShowSuccess&&(successDisplayMode===\"both\"||successDisplayMode===\"icon\");const showSuccessMessage=shouldShowSuccess&&successMessage&&(successDisplayMode===\"both\"||successDisplayMode===\"message\");const inputStyle={width:\"100%\",padding:inputStyles.padding??\"12px\",fontSize:shouldShowSuccess&&successStyles.inputFont?.fontSize?successStyles.inputFont.fontSize:inputStyles.font?.fontSize??14,fontFamily:shouldShowSuccess&&successStyles.inputFont?.fontFamily?successStyles.inputFont.fontFamily:inputStyles.font?.fontFamily??\"inherit\",fontWeight:shouldShowSuccess&&successStyles.inputFont?.fontWeight?successStyles.inputFont.fontWeight:inputStyles.font?.fontWeight??undefined,lineHeight:inputStyles.font?.lineHeight??undefined,letterSpacing:inputStyles.font?.letterSpacing??undefined,textAlign:resolvedInputTextAlign,color:shouldShowSuccess&&successStyles.inputTextColor?successStyles.inputTextColor:isFocused&&focusStyles.textColor?focusStyles.textColor:value?inputStyles.textColor??\"#999999\":inputStyles.placeholderColor??\"#999999\",backgroundColor:isFocused&&focusStyles.backgroundColor?focusStyles.backgroundColor:isDisabled?\"#F5F5F5\":inputStyles.backgroundColor??\"rgba(187, 187, 187, 0.15)\",borderWidth:\"1px\",borderStyle:\"solid\",...isFocused&&focusStyles.border?focusStyles.border:inputStyles.border,borderColor:isCanvas?inputStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\":shouldShowSuccess&&successStyles.inputBorderColor?successStyles.inputBorderColor:error&&(isTouched||state?.submitAttempted)?inputStyles.errorBorderColor??\"#FF4444\":isFocused?focusStyles.border?.borderColor??inputStyles.focusBorderColor??\"#0099FF\":inputStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\",borderRadius:inputStyles.borderRadius??12,outline:\"none\",transition:focusStyles.transition??\"border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease\",cursor:isDisabled?\"not-allowed\":\"text\",opacity:isDisabled?inputStyles.disabledOpacity??.5:1,boxSizing:\"border-box\",boxShadow:isFocused&&focusStyles.shadows?focusStyles.shadows:inputStyles.shadows};// Build label styles - use success overrides when applicable\nconst labelStyle={display:\"block\",fontSize:shouldShowSuccess&&successStyles.labelFont?.fontSize?successStyles.labelFont.fontSize:labelStyles.font?.fontSize??12,fontWeight:shouldShowSuccess&&successStyles.labelFont?.fontWeight?successStyles.labelFont.fontWeight:labelStyles.font?.fontWeight??\"500\",fontFamily:shouldShowSuccess&&successStyles.labelFont?.fontFamily?successStyles.labelFont.fontFamily:labelStyles.font?.fontFamily??\"Inter\",lineHeight:labelStyles.font?.lineHeight??undefined,letterSpacing:labelStyles.font?.letterSpacing??undefined,textAlign:resolvedLabelTextAlign,textTransform:labelStyles.textTransform??\"none\",color:shouldShowSuccess&&successStyles.labelColor?successStyles.labelColor:labelStyles.color??\"#888888\",marginBottom:labelStyles.marginBottom??8,transition:\"color 0.2s ease\"};// Build error styles\nconst errorStyle={fontSize:errorStyles.font?.fontSize??12,fontWeight:errorStyles.font?.fontWeight??undefined,fontFamily:errorStyles.font?.fontFamily??\"Inter\",lineHeight:errorStyles.font?.lineHeight??undefined,letterSpacing:errorStyles.font?.letterSpacing??undefined,color:errorStyles.color??\"#FF4444\",marginTop:errorStyles.marginTop??4};// Build success message styles\nconst successStyle={fontSize:successStyles.messageFont?.fontSize??12,fontWeight:successStyles.messageFont?.fontWeight??undefined,fontFamily:successStyles.messageFont?.fontFamily??undefined,color:successStyles.messageColor??\"#22C55E\",marginTop:successStyles.marginTop??4};// Generate unique ID for accessibility\nconst fieldId=`${formId}-${name}`;return /*#__PURE__*/_jsxs(\"div\",{...style,style:{...style,display:\"flex\",flexDirection:\"column\",width:\"100%\",position:\"relative\",direction:componentDirection},children:[isCanvas&&showBadge&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-8,insetInlineEnd:-8,backgroundColor:\"#FF6B00\",color:\"white\",fontSize:10,fontWeight:600,padding:\"2px 6px\",borderRadius:4,zIndex:1e3,pointerEvents:\"none\",boxShadow:\"0 2px 4px rgba(0,0,0,0.2)\"},children:badgeText}),label&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:fieldId,style:labelStyle,children:[label,required&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FF4444\",marginInlineStart:4},children:\"*\"})]}),/*#__PURE__*/_jsx(\"style\",{children:`\r\n                #${fieldId} {\r\n                    -webkit-text-fill-color: ${shouldShowSuccess&&successStyles.inputTextColor?successStyles.inputTextColor:isFocused&&focusStyles.textColor?focusStyles.textColor:value?inputStyles.textColor??\"#999999\":inputStyles.placeholderColor??\"#999999\"};\r\n                }\r\n                #${fieldId}::placeholder {\r\n                    color: ${isFocused&&focusStyles.placeholderColor?focusStyles.placeholderColor:inputStyles.placeholderColor??\"#999999\"};\r\n                    -webkit-text-fill-color: ${isFocused&&focusStyles.placeholderColor?focusStyles.placeholderColor:inputStyles.placeholderColor??\"#999999\"};\r\n                    text-align: ${resolvedInputTextAlign};\r\n                    opacity: 1;\r\n                }\r\n                #${fieldId}:-webkit-autofill,\r\n                #${fieldId}:-webkit-autofill:hover,\r\n                #${fieldId}:-webkit-autofill:focus,\r\n                #${fieldId}:-webkit-autofill:active,\r\n                #${fieldId}:autofill,\r\n                #${fieldId}:autofill:hover,\r\n                #${fieldId}:autofill:focus,\r\n                #${fieldId}:autofill:active {\r\n                    -webkit-box-shadow: 0 0 0 1000px ${inputStyles.backgroundColor??\"#F5F5F5\"} inset !important;\r\n                    box-shadow: 0 0 0 1000px ${inputStyles.backgroundColor??\"#F5F5F5\"} inset !important;\r\n                    -webkit-text-fill-color: ${inputStyles.textColor??\"#999999\"} !important;\r\n                    caret-color: ${inputStyles.textColor??\"#999999\"} !important;\r\n                    transition: background-color 5000s ease-in-out 0s !important;\r\n                }\r\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"input\",{id:fieldId,type:\"email\",name:name,value:value||\"\",onChange:e=>handleChange(e.target.value),onBlur:()=>{setIsFocused(false);handleBlur();},onFocus:()=>setIsFocused(true),placeholder:placeholder,disabled:isDisabled,required:required,\"data-formkit\":\"true\",style:inputStyle}),showInlineSuccessIcon&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",insetInlineEnd:12,top:\"50%\",transform:\"translateY(-50%)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:successStyles.iconColor??successStyles.inputTextColor??\"#0099FF\",pointerEvents:\"none\",width:16,height:16},children:renderIcon({iconType:successStyles.iconType,customIcon:successStyles.customIcon,DefaultIcon:IconCheck})})]}),error&&(isTouched||state?.submitAttempted)&&/*#__PURE__*/_jsxs(\"div\",{style:{...errorStyle,display:\"flex\",alignItems:\"center\",textTransform:\"lowercase\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:14,height:14},children:renderIcon({iconType:errorStyles.iconType,customIcon:errorStyles.customIcon,DefaultIcon:IconAlert})}),error]}),showSuccessMessage&&/*#__PURE__*/_jsx(\"div\",{style:successStyle,children:successMessage})]});}// Email validation controls - specific for email fields (NO minLength/maxLength/pattern)\nconst EMAIL_VALIDATION_CONTROLS={// Timing toggles\nvalidateOnBlur:{type:ControlType.Boolean,title:\"On Blur\",description:\"Validate when user leaves field\",defaultValue:true},validateOnChange:{type:ControlType.Boolean,title:\"On Change\",description:\"Real-time validation (debounced)\",defaultValue:false},// Email-specific error message\nemailMessage:{type:ControlType.String,title:\"Email Error\",placeholder:\"Please enter a valid email\",description:\"Custom error for invalid email format\"},// Standard messages\nrequiredMessage:{type:ControlType.String,title:\"Required Error\",placeholder:\"This field is required\"},successMessage:{type:ControlType.String,title:\"Success Message\",placeholder:\"Looks good!\"}};// Property Controls - Hybrid structure\naddPropertyControls(FormKitEmail,{// FLAT - Main options (easy to access and update)\nname:{type:ControlType.String,title:\"Name\",defaultValue:\"email\",description:\"Use camelCase or snake_case, NO SPACES. Examples: email, user_email, contact_email\",placeholder:\"field-name\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Email\",description:\"Field label displayed above input\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"email@example.com\",description:\"Placeholder text shown when empty\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},// disabled prop removed - use showIfAction with \"Enable Field\" / \"Disable Field\"\n// NESTED - Validation (organized!) - Email-specific controls\nvalidation:{type:ControlType.Object,buttonTitle:\"Validation\",optional:true,controls:EMAIL_VALIDATION_CONTROLS},// NESTED - Styling (organized group)\nstyling:createStylingControl({inputStyles:{type:ControlType.Object,buttonTitle:\"Input\",optional:true,controls:{...BASE_INPUT_STYLE_CONTROLS,focusBorderColor:{type:ControlType.Color,hidden:()=>true}}},labelStyles:{type:ControlType.Object,buttonTitle:\"Label\",optional:true,controls:LABEL_STYLE_CONTROLS},errorStyles:{type:ControlType.Object,buttonTitle:\"Error\",optional:true,controls:ERROR_STYLE_CONTROLS},successStyles:{type:ControlType.Object,buttonTitle:\"Success\",optional:true,controls:SUCCESS_STYLE_CONTROLS},focusStyles:{type:ControlType.Object,buttonTitle:\"Focus\",optional:true,controls:FOCUS_STYLE_CONTROLS}}),// Conditional visibility\nshowIf:SHOW_IF_CONTROL,showIfMatch:{...SHOW_IF_MATCH_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},showIfAction:{...SHOW_IF_ACTION_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},// Store connection (flat)\n...STORE_CONFIG_CONTROL});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormKitEmail\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"300\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormKitEmail.map","/**\r\n * FormKitCheckbox - Checkbox Input Field\r\n *\r\n * A checkbox input field with validation, conditional visibility, and form store integration.\r\n *\r\n * Features:\r\n * - Hybrid prop structure (flat main options, nested styling)\r\n * - Auto-sync with form store via useFormField hook\r\n * - Boolean value (true/false)\r\n * - Custom styled checkbox with SVG checkmark\r\n * - Error display with validation\r\n * - Conditional visibility (Array/Object format only)\r\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{useFormField}from\"https://framerusercontent.com/modules/QcJOsISgPpDHi68MFiJ7/iSwiu9OhhEpwJ9bUO8oz/Hooks.js\";import{getFormStore,getFormStoreKey}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{evaluateFieldState,getConditionalBadge}from\"https://framerusercontent.com/modules/YQMwVuIkIDYjLHJOwEnu/E43Ih1OWNh9ZYDxH2sAu/Conditions.js\";import{SHOW_IF_CONTROL,SHOW_IF_MATCH_CONTROL,SHOW_IF_ACTION_CONTROL,STORE_CONFIG_CONTROL,CHECKBOX_LABEL_STYLE_CONTROLS,ERROR_STYLE_CONTROLS,SUCCESS_STYLE_CONTROLS,CHECKBOX_STYLE_CONTROLS,CHECKBOX_VALIDATION_CONTROLS,createStylingControl}from\"https://framerusercontent.com/modules/gWXlNkIcFnVLxXMR7ktn/JtLdSfrUYaW9eElJLaFM/Property_controls.js\";import{HiddenFieldMarker}from\"https://framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js\";import{IconCheck,IconAlert,renderIcon}from\"https://framerusercontent.com/modules/hSeRQvQLiNwfAzfTZN4C/2faSrR7PxMT7RJTYjc17/Icons.js\";import{getFormKitDirection,getTextAlignForDirection}from\"https://framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js\";/**\r\n * @framerIntrinsicWidth 300\r\n * @framerSupportedLayoutHeight auto\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerDisableUnlink\r\n */export default function FormKitCheckbox(props){const{// Main props\nname,label,required=false,// disabled prop removed\ndefaultChecked=false,checkedValue=\"yes\",uncheckedValue=\"no\",// Validation (nested)\nvalidation={},// Styling\nstyling={},// Conditional visibility\nshowIf,showIfMatch=\"all\",showIfAction=\"show\",// Store (simplified!)\nformId=\"default\",// Framer\nstyle}=props;// Local state for immediate UI response (same pattern as FormKitRadio)\nconst[isChecked,setIsChecked]=useState(defaultChecked);// Destructure validation options\n// Destructure validation options\nconst{requiredMessage,successMessage}=validation;// Extract nested styling with defaults\nconst{checkboxStyles={},labelStyles={},errorStyles={},successStyles={}}=styling;// Warn if name contains spaces\nuseEffect(()=>{if(name.includes(\" \")){console.warn(`FormKit Warning: Field name \"${name}\" contains spaces. `+`This may cause issues. Use camelCase (firstName) or snake_case (first_name) instead.`);}},[name]);// Build validation config - for checkbox, required means must be checked\nconst validationConfig={required,requiredMessage:requiredMessage||\"This field must be checked\",type:\"checkbox\"};// Get store state first to evaluate conditions before useFormField\nconst actualFormId=formId||\"default\";const useStore=getFormStore(getFormStoreKey(actualFormId,\"auto\"));const[storeState]=useStore();// Detect render mode\nconst isCanvas=RenderTarget.current()===RenderTarget.canvas;// Evaluate field state BEFORE useFormField to determine skipValidation\nconst fieldState=evaluateFieldState(showIf,storeState?.data||{},showIfMatch,showIfAction);// Determine visibility and disabled state\nlet isVisible=true;let isDisabled=false;let showBadge=false;let badgeText=\"\";if(isCanvas){isVisible=true;isDisabled=false;// Use helper function for badge logic\nconst badge=getConditionalBadge(showIf,fieldState,showIfAction);showBadge=badge.showBadge;badgeText=badge.badgeText;}else{isVisible=fieldState.isVisible;isDisabled=fieldState.isDisabled;}// Skip validation if field is hidden or disabled (in preview/live mode)\nconst shouldSkipValidation=!isCanvas&&(!isVisible||isDisabled);// Use custom hook for form field logic\nconst{value,error,isTouched,state,setState,handleChange,handleBlur}=useFormField({name,formId,storeKey:\"auto\",validation:validationConfig,validateOnBlur:true,validateOnChange:true,skipValidation:shouldSkipValidation,label});// Sync local state with store value (same pattern as FormKitRadio)\nuseEffect(()=>{if(value!==undefined&&value!==\"\"){setIsChecked(Boolean(value));}},[value]);// Initialize with defaultChecked if no value exists\n// IMPORTANT: Use setState directly (not handleChange) to avoid setting touched=true\n// This prevents the validation error from showing on component insert\nuseEffect(()=>{if(value===undefined||value===\"\"){setIsChecked(defaultChecked);// Set value in store without marking as touched\nif(state){setState({data:{...state.data||{},[name]:defaultChecked}});}}},[]);// React to defaultChecked prop changes (Update behavior)\nconst firstUpdate=useRef(true);useEffect(()=>{if(firstUpdate.current){firstUpdate.current=false;return;}// Force update when prop changes\nsetIsChecked(defaultChecked);if(state){setState({data:{...state.data||{},[name]:defaultChecked}});}},[defaultChecked]);// Success state\nconst shouldShowSuccess=!error&&state&&isChecked&&// Only show success if checked? Or if interaction happened?\nsuccessMessage;const componentDirection=getFormKitDirection(style,[label,successMessage,checkedValue,uncheckedValue,name]);if(!isVisible)return /*#__PURE__*/_jsx(HiddenFieldMarker,{});if(!isVisible)return /*#__PURE__*/_jsx(HiddenFieldMarker,{});// Checkbox styling\nconst checkboxSize=checkboxStyles.size??20;const iconType=checkboxStyles.iconType??\"check\";const iconColor=checkboxStyles.checkmarkColor??\"white\";// Render icon based on type\nconst renderCheckIcon=()=>{const iconSize=checkboxSize*.6;switch(iconType){case\"circle\":return /*#__PURE__*/_jsx(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 12 12\",fill:\"none\",children:/*#__PURE__*/_jsx(\"circle\",{cx:\"6\",cy:\"6\",r:\"4\",fill:iconColor})});case\"x\":return /*#__PURE__*/_jsx(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 12 12\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 3L9 9M9 3L3 9\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\"})});case\"hidden\":return null;case\"custom\":if(checkboxStyles.customIcon){return /*#__PURE__*/_jsx(\"div\",{dangerouslySetInnerHTML:{__html:checkboxStyles.customIcon},style:{width:iconSize,height:iconSize,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"}});}return null;case\"check\":default:return /*#__PURE__*/_jsx(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 12 12\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 6L5 9L10 3\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}};const checkboxWrapperStyle={width:checkboxSize,height:checkboxSize,borderRadius:checkboxStyles.borderRadius??4,...checkboxStyles.border,borderWidth:checkboxStyles.border?.borderWidth??2,borderStyle:checkboxStyles.border?.borderStyle??\"solid\",borderColor:isChecked?checkboxStyles.checkedColor??\"#0099FF\":checkboxStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\",backgroundColor:isChecked?checkboxStyles.checkedColor??\"#0099FF\":\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\",cursor:isDisabled?\"not-allowed\":\"pointer\",opacity:isDisabled?.5:1,flexShrink:0};// Container styling\nconst containerStyle={display:\"flex\",alignItems:\"center\",width:\"100%\",gap:checkboxStyles.checkboxLabelGap??10,direction:componentDirection,cursor:isDisabled?\"not-allowed\":\"pointer\",outline:\"none\",backgroundColor:isChecked&&checkboxStyles.checkedContainerBackground?checkboxStyles.checkedContainerBackground:checkboxStyles.containerBackground??\"transparent\",borderRadius:checkboxStyles.containerBorderRadius??0,padding:checkboxStyles.containerPadding??0,...isChecked&&checkboxStyles.checkedContainerBorder?{borderWidth:checkboxStyles.checkedContainerBorder.borderWidth,borderStyle:checkboxStyles.checkedContainerBorder.borderStyle,borderColor:checkboxStyles.checkedContainerBorder.borderColor}:checkboxStyles.containerBorder?{borderWidth:checkboxStyles.containerBorder.borderWidth,borderStyle:checkboxStyles.containerBorder.borderStyle,borderColor:checkboxStyles.containerBorder.borderColor}:{},transition:\"all 0.2s ease\"};// Build label styles\nconst labelStyle={fontSize:shouldShowSuccess&&successStyles.labelFont?.fontSize?successStyles.labelFont.fontSize:labelStyles.font?.fontSize??12,fontWeight:shouldShowSuccess&&successStyles.labelFont?.fontWeight?successStyles.labelFont.fontWeight:labelStyles.font?.fontWeight??\"500\",fontFamily:shouldShowSuccess&&successStyles.labelFont?.fontFamily?successStyles.labelFont.fontFamily:labelStyles.font?.fontFamily??\"Inter\",lineHeight:labelStyles.font?.lineHeight??undefined,letterSpacing:labelStyles.font?.letterSpacing??undefined,textAlign:getTextAlignForDirection(labelStyles.textAlign,componentDirection),textTransform:labelStyles.textTransform??\"none\",color:shouldShowSuccess&&successStyles.labelColor?successStyles.labelColor:isChecked&&labelStyles.checkedLabelColor?labelStyles.checkedLabelColor:labelStyles.color??\"#999999\",cursor:isDisabled?\"not-allowed\":\"pointer\",transition:\"color 0.2s ease\"};// Build error styles\nconst errorStyle={fontSize:errorStyles.font?.fontSize??12,fontWeight:errorStyles.font?.fontWeight??undefined,fontFamily:errorStyles.font?.fontFamily??\"Inter\",lineHeight:errorStyles.font?.lineHeight??undefined,letterSpacing:errorStyles.font?.letterSpacing??undefined,color:errorStyles.color??\"#FF4444\",marginTop:errorStyles.marginTop??4};// Generate unique ID for accessibility\nconst fieldId=`${formId}-${name}`;// Handle checkbox toggle - SAME PATTERN AS FormKitRadio\nconst handleCheckboxSelect=newValue=>{if(!isDisabled){setIsChecked(newValue);handleChange(newValue);}};return /*#__PURE__*/_jsxs(\"div\",{...style,style:{...style,display:\"flex\",flexDirection:\"column\",width:\"100%\",position:\"relative\",direction:componentDirection},children:[isCanvas&&showBadge&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-8,insetInlineEnd:-8,backgroundColor:\"#FF6B00\",color:\"white\",fontSize:10,fontWeight:600,padding:\"2px 6px\",borderRadius:4,zIndex:1e3,pointerEvents:\"none\",boxShadow:\"0 2px 4px rgba(0,0,0,0.2)\"},children:badgeText}),/*#__PURE__*/_jsxs(\"div\",{style:containerStyle,onClick:()=>handleCheckboxSelect(!isChecked),onBlur:handleBlur,children:[/*#__PURE__*/_jsx(\"input\",{id:fieldId,type:\"checkbox\",name:name,checked:isChecked,onChange:()=>handleCheckboxSelect(!isChecked),disabled:isDisabled,required:required,value:checkedValue,\"data-formkit\":\"true\",style:{position:\"absolute\",opacity:0,width:0,height:0,pointerEvents:\"none\"}}),checkboxStyles.showCheckbox!==false&&/*#__PURE__*/_jsx(\"div\",{style:checkboxWrapperStyle,children:isChecked&&renderCheckIcon()}),label&&/*#__PURE__*/_jsxs(\"span\",{style:{...labelStyle,flex:1},children:[label,required&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FF4444\",marginInlineStart:4},children:\"*\"})]}),!isChecked&&/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:name,value:uncheckedValue,disabled:isDisabled})]}),error&&(isTouched||state?.submitAttempted)&&/*#__PURE__*/_jsxs(\"div\",{style:{...errorStyle,display:\"flex\",alignItems:\"center\",textTransform:\"lowercase\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:14,height:14},children:renderIcon({iconType:errorStyles.iconType,customIcon:errorStyles.customIcon,DefaultIcon:IconAlert})}),error]}),shouldShowSuccess&&successStyles&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:successStyles.messageFont?.fontSize??12,fontWeight:successStyles.messageFont?.fontWeight??undefined,fontFamily:successStyles.messageFont?.fontFamily??\"inherit\",color:successStyles.messageColor??\"#0099FF\",marginTop:successStyles.marginTop??4,display:\"flex\",alignItems:\"center\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:14,height:14},children:renderIcon({iconType:successStyles.iconType,customIcon:successStyles.customIcon,DefaultIcon:IconCheck})}),successMessage]})]});}// Property Controls - Hybrid structure\naddPropertyControls(FormKitCheckbox,{// FLAT - Main options (easy to access and update)\nname:{type:ControlType.String,title:\"Name\",defaultValue:\"agreement\",description:\"Use camelCase or snake_case, NO SPACES. Examples: terms, newsletter, remember_me\",placeholder:\"field-name\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"I agree to the terms\",description:\"Text displayed next to checkbox\"},defaultChecked:{type:ControlType.Boolean,title:\"Default Checked\",defaultValue:false},checkedValue:{type:ControlType.String,title:\"Checked Value\",defaultValue:\"yes\",description:\"Value when checked\"},uncheckedValue:{type:ControlType.String,title:\"Unchecked Value\",defaultValue:\"no\",description:\"Value when unchecked\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},// disabled prop removed - use showIfAction with \"Enable Field\" / \"Disable Field\"\n// NESTED - Validation (organized!)\nvalidation:{type:ControlType.Object,buttonTitle:\"Validation\",optional:true,controls:CHECKBOX_VALIDATION_CONTROLS},// NESTED - Styling (organized group)\nstyling:createStylingControl({checkboxStyles:{type:ControlType.Object,buttonTitle:\"Checkbox\",optional:true,controls:CHECKBOX_STYLE_CONTROLS},labelStyles:{type:ControlType.Object,buttonTitle:\"Label\",optional:true,controls:CHECKBOX_LABEL_STYLE_CONTROLS},errorStyles:{type:ControlType.Object,buttonTitle:\"Error\",optional:true,controls:ERROR_STYLE_CONTROLS},successStyles:{type:ControlType.Object,buttonTitle:\"Success\",optional:true,controls:SUCCESS_STYLE_CONTROLS}}),// Conditional visibility\nshowIf:SHOW_IF_CONTROL,showIfMatch:{...SHOW_IF_MATCH_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},showIfAction:{...SHOW_IF_ACTION_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},// Store connection (flat)\n...STORE_CONFIG_CONTROL});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormKitCheckbox\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormKitCheckbox.map","const navigationRegistry=new Map;export const registerFormKitNavigation=(formId,handlers)=>{navigationRegistry.set(formId,handlers);};export const unregisterFormKitNavigation=formId=>{navigationRegistry.delete(formId);};export const getFormKitNavigation=formId=>{return navigationRegistry.get(formId)||null;};\nexport const __FramerMetadata__ = {\"exports\":{\"unregisterFormKitNavigation\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"registerFormKitNavigation\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFormKitNavigation\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormKitNavigationHandlers\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Form_navigation.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,cloneElement}from\"react\";import{getFormStore,getFormStoreKey,isPreview,clearFormFromLocalStorage}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{getFormKitNavigation}from\"https://framerusercontent.com/modules/3iJH2tW5QUFgpH9So3nO/UF4nz2hAgJN545Fau7sS/Form_navigation.js\";import{HiddenFieldMarker}from\"https://framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js\";import{getFormKitDirection}from\"https://framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js\";const getResetData=currentData=>{const resetData={};Object.keys(currentData||{}).forEach(key=>{const value=currentData[key];if(typeof value===\"boolean\"){resetData[key]=false;}else if(Array.isArray(value)){resetData[key]=[];}else{resetData[key]=\"\";}});return resetData;};/**\r\n * FormKitSubmit - Submit Form Button\r\n *\r\n * Button to submit the form data.\r\n *\r\n * Features:\r\n * - Auto-connects to form submission\r\n * - Loading state during submission\r\n * - Validates all fields before submit\r\n * - Shows success message after submission\r\n * - Customizable styling OR custom component with variants\r\n * - Shows only on last step (optional)\r\n *\r\n/**\r\n * @framerIntrinsicWidth 300\r\n * @framerSupportedLayoutHeight auto\r\n * @framerSupportedLayoutWidth any\r\n * @framerDisableUnlink\r\n */export default function FormKitSubmit(props){const{formId=\"default\",// Button type\nbuttonType=\"default\",customButton,variantMappings={defaultVariant:\"default\",loadingVariant:\"loading\",successVariant:\"success\",errorVariant:\"error\"},// Default mode props\ntext=\"Submit\",loadingText=\"Submitting...\",successText=\"Form submitted successfully!\",errorText=\"Please fix the errors above\",showOnlyOnLastStep=true,disabled=false,loadingDuration=1e3,successDuration=3e3,errorDuration=3e3,style,buttonStyles={},styling={},...rest}=props;const{buttonStyles:buttonCustomStyles={},hoverStyles={},successStyles={},errorStyles={}}=styling;const actualFormId=getFormStoreKey(formId,\"auto\");const useStore=getFormStore(actualFormId);const[state,setState]=useStore();// Create a ref to hold the latest state for async operations\n// This fixes the \"stale state\" issue in setTimeout\nconst stateRef=useRef(state);useEffect(()=>{stateRef.current=state;},[state]);const isLastStep=state.currentStep>=state.totalSteps-1;const isSubmitting=state.isSubmitting;const submitState=state.submitState||\"idle\";const isCompleted=!!state.isCompleted;const stepsInitialized=!!state.stepsInitialized;// Track if we're waiting to check validation\nconst validationCheckRef=useRef(false);const containerRef=useRef(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const componentDirection=getFormKitDirection(style,[text,loadingText,successText,errorText]);// Disable native browser validation tooltips on the parent <form>\n// FormKit handles all validation UI, so the browser's default\n// \"Please fill out this field.\" popups are not needed.\nuseEffect(()=>{const parentForm=containerRef.current?.closest(\"form\");if(parentForm){parentForm.setAttribute(\"novalidate\",\"\");}},[]);// Check native HTML5 validation for non-FormKit inputs\nconst checkNativeValidation=()=>{// Find the closest form or container\nconst container=containerRef.current?.closest(\"form\")||document.body;// Find all required inputs that don't have FormKit data attributes\nconst nativeInputs=container.querySelectorAll(\"input[required]:not([data-formkit]), textarea[required]:not([data-formkit]), select[required]:not([data-formkit])\");let isValid=true;for(const input of nativeInputs){if(!input.checkValidity()){// Don't use reportValidity() — it triggers the browser's default\n// tooltip (\"Please fill out this field.\"). FormKit's own error\n// messages handle validation UI instead.\nisValid=false;break;// Stop at first invalid element\n}}return isValid;};// Handle click - trigger validation\nconst handleClick=()=>{if(disabled||isSubmitting||submitState===\"validating\")return;console.log(\"[FormKitSubmit] handleClick\",{formId:actualFormId,currentStep:state.currentStep+1,totalSteps:state.totalSteps,submitRulesCount:state.submitSuccessRules?.length||0});// Always trigger validation on click (don't require double-click after error)\n// Reset first, then trigger validation after a tick\nsetState({submitAttempted:false,submitState:\"idle\"});// Wait a tick, then trigger validation\nsetTimeout(()=>{setState({submitAttempted:true,submitState:\"validating\"});validationCheckRef.current=true;},10);};// Effect to auto-reset error state after errorDuration\nuseEffect(()=>{if(submitState===\"error\"&&errorDuration>0){const timer=setTimeout(()=>{setState({submitState:\"idle\",submitAttempted:false});},errorDuration);return()=>clearTimeout(timer);}},[submitState,errorDuration]);// Effect to auto-reset success state after successDuration\nuseEffect(()=>{if(submitState===\"success\"&&successDuration>0){const timer=setTimeout(()=>{setState({submitState:\"idle\",submitAttempted:false});},successDuration);return()=>clearTimeout(timer);}},[submitState,successDuration]);// Effect to auto-reset error state when all errors are cleared (user filled form correctly)\nuseEffect(()=>{if(submitState===\"error\"){const hasErrors=Object.keys(state.errors||{}).length>0;if(!hasErrors){// All errors cleared - reset button to idle\nsetState({submitState:\"idle\"});}}},[state.errors,submitState]);// useEffect to check errors after validation (runs after re-render with fresh state)\nuseEffect(()=>{if(submitState!==\"validating\"||!validationCheckRef.current)return;// Wait for fields to validate\nconst timer=setTimeout(()=>{validationCheckRef.current=false;// Check FormKit errors (using REF ensuring fresh state)\nconst hasFormKitErrors=Object.keys(stateRef.current.errors||{}).length>0;// Check native HTML5 validation\nconst nativeValid=checkNativeValidation();if(hasFormKitErrors||!nativeValid){setState({submitState:\"error\"});}else{const navigation=getFormKitNavigation(actualFormId);console.log(\"[FormKitSubmit] validation passed\",{formId:actualFormId,hasNavigation:!!navigation,currentStep:(stateRef.current.currentStep||0)+1,totalSteps:stateRef.current.totalSteps});// No errors, proceed with submission\n// Helper for minimum delay\nconst wait=ms=>new Promise(resolve=>setTimeout(resolve,ms));if(navigation?.handleSubmit){// Use FormKit navigation handler (e.g. from FormKitMultiStep)\nPromise.all([navigation.handleSubmit(),wait(loadingDuration)]).then(()=>{const resetData=getResetData(stateRef.current.data);// Reset native form if exists\nconst parentForm=containerRef.current?.closest(\"form\");if(parentForm)parentForm.reset();clearFormFromLocalStorage(actualFormId);setState({currentStep:0,visitedSteps:[0],stepHistory:[0],completedSteps:[],submitState:\"success\",submitAttempted:false,isSubmitting:false,data:resetData,errors:{},touched:{}});}).catch(()=>{setState({submitState:\"error\"});});}else{console.warn(\"[FormKitSubmit] Missing navigation handler, using fallback submit path\",{formId:actualFormId,currentStep:(stateRef.current.currentStep||0)+1,totalSteps:stateRef.current.totalSteps});// No navigation handler found.\n// Fallback 1: Try to submit a parent <form> natively\nconst parentForm=containerRef.current?.closest(\"form\");if(parentForm){setState({isSubmitting:true});wait(loadingDuration).then(()=>{// Reset state before submitting because page might reload\n// or if it's an AJAX form, we want to show success.\n// However, native submit usually reloads.\n// Let's try requestSubmit first which triggers onSubmit handlers.\nif(typeof parentForm.requestSubmit===\"function\"){parentForm.requestSubmit();}else{parentForm.submit();}// If page doesn't reload immediately, show success\nconst resetData=getResetData(stateRef.current.data);// Reset native form if exists\nif(parentForm)parentForm.reset();clearFormFromLocalStorage(actualFormId);setState({currentStep:0,visitedSteps:[0],stepHistory:[0],completedSteps:[],submitState:\"success\",submitAttempted:false,isSubmitting:false,data:resetData,errors:{},touched:{}});});}else{// Fallback 2: Just simulate loading then success (Legacy/Demo behavior)\nsetState({isSubmitting:true})// Manually show loading\n;wait(loadingDuration).then(()=>{const resetData=getResetData(stateRef.current.data);// Reset native form if exists\nconst parentForm=containerRef.current?.closest(\"form\");if(parentForm)parentForm.reset();clearFormFromLocalStorage(actualFormId);setState({currentStep:0,visitedSteps:[0],stepHistory:[0],completedSteps:[],submitState:\"success\",submitAttempted:false,isSubmitting:false,data:resetData,errors:{},touched:{}});});}}}},100);return()=>clearTimeout(timer);},[submitState,state.errors])// state.errors dependency still good to re-trigger if logic changes, but ref covers value access\n;// Hide if not on last step in preview/live (always show on canvas for editing)\nif(showOnlyOnLastStep&&(!stepsInitialized||!isLastStep)&&!isCanvas){// [DEBUG] Log reason for hiding to help debugging\nif(isPreview){console.warn(`[FormKitSubmit] Button Hidden (${actualFormId})\n`+`Reason: 'Show Only On Last Step' is enabled and step metadata is ${stepsInitialized?`current step is ${state.currentStep+1} of ${state.totalSteps}`:\"still initializing\"}.\n`+`If this is unexpected, check if your 'Form ID' matches your other form components.`);}return /*#__PURE__*/_jsx(HiddenFieldMarker,{});}// When MultiStep shows success state, hide submit button in preview/live.\nif(isCompleted&&!isCanvas){return /*#__PURE__*/_jsx(HiddenFieldMarker,{});}// ========================================================================\n// CUSTOM COMPONENT HELPERS\n// ========================================================================\n/**\r\n     * Get current variant based on button state\r\n     */const getCurrentVariant=()=>{if(isSubmitting||submitState===\"validating\"){return variantMappings.loadingVariant||\"loading\";}if(submitState===\"success\"){return variantMappings.successVariant||\"success\";}if(submitState===\"error\"){return variantMappings.errorVariant||\"error\";}return variantMappings.defaultVariant||\"default\";};/**\r\n     * Walk down the React element tree to find the actual Framer component\r\n     * (the one with propertyControls). Returns { component, chain } where\r\n     * chain is the array of wrapper elements from root to the component.\r\n     * Works across both canvas and preview wrapper structures.\r\n     */const extractActualComponent=(element,chain=[])=>{// Check if this element itself has propertyControls\nif(element?.type?.propertyControls){return{component:element,chain};}// Try to go deeper via children (single child)\nconst children=element?.props?.children;if(children&&typeof children===\"object\"&&!Array.isArray(children)){return extractActualComponent(children,[...chain,element]);}// Can't go deeper, return the element itself as fallback\nreturn{component:element,chain};};/**\r\n     * Auto-detect variant property from a component\r\n     */const detectVariantProperty=component=>{if(!component)return null;const propertyControls=component?.type?.propertyControls;if(!propertyControls)return null;// Look for variant/state properties\nfor(const[propName,control]of Object.entries(propertyControls)){if(control.type===\"enum\"&&(propName.toLowerCase().includes(\"variant\")||propName.toLowerCase().includes(\"state\")||control.title?.toLowerCase().includes(\"variant\")||control.title?.toLowerCase().includes(\"state\"))){return propName;}}return null;};/**\r\n     * Render slot component with variant applied\r\n     */const renderSlotWithVariant=(slotComponent,variantName)=>{if(!slotComponent)return null;// Extract the actual component from whatever wrapper depth\nconst{component:actualComponent,chain}=extractActualComponent(slotComponent);// Auto-detect variant property on the actual component\nconst variantProp=detectVariantProperty(actualComponent);const constrainedStyle={width:\"100%\",maxWidth:\"100%\",alignSelf:\"stretch\",boxSizing:\"border-box\"};// If no variant prop found, just render as-is (safe fallback)\nif(!variantProp){return /*#__PURE__*/cloneElement(slotComponent,{...slotComponent.props,style:{...slotComponent.props?.style||{},...constrainedStyle}});}// Clone the actual component with the variant prop set\nconst modifiedComponent=/*#__PURE__*/cloneElement(actualComponent,{...actualComponent.props,[variantProp]:variantName,style:{...actualComponent.props?.style||{},...constrainedStyle}});// Re-wrap with the original wrapper chain (rebuild from inside out)\nlet result=modifiedComponent;for(let i=chain.length-1;i>=0;i--){const wrapper=chain[i];result=/*#__PURE__*/cloneElement(wrapper,{...wrapper.props,style:{...wrapper.props?.style||{},...constrainedStyle},children:result});}return result;};/**\r\n     * Render canvas placeholder for custom button mode\r\n     */const renderCustomButtonPlaceholder=()=>{return /*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",textAlign:\"center\",...buttonCustomStyles.border,borderColor:buttonCustomStyles.border?.borderColor??\"transparent\",color:\"#6c757d\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:500,marginBottom:\"8px\",color:\"#495057\"},children:\"Connect Custom Button\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\"},children:\"Add a component with 4 variants: default, loading, success, error\"})]});};/**\r\n     * Render custom button with variant\r\n     */const renderCustomButton=()=>{const hasCustomButton=customButton&&Array.isArray(customButton)&&customButton.length>0;if(!hasCustomButton){// Show placeholder in canvas mode\nif(isCanvas){return renderCustomButtonPlaceholder();}// In preview/live, show error if no component connected\nreturn /*#__PURE__*/_jsx(\"div\",{style:{padding:12,border:\"1px dashed red\",borderRadius:8,color:\"red\",fontSize:12,background:\"rgba(255,0,0,0.1)\",textAlign:\"center\"},children:\"[FormKit] Custom Button Missing\"});}const currentVariant=getCurrentVariant();return renderSlotWithVariant(customButton[0],currentVariant);};// ========================================================================\n// RENDER\n// ========================================================================\n// Custom button mode\nif(buttonType===\"custom\"){const hasCustomButton=customButton&&Array.isArray(customButton)&&customButton.length>0;return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...style,display:\"flex\",flexDirection:\"column\",position:\"relative\",direction:componentDirection,width:\"100%\",maxWidth:\"100%\",alignSelf:\"stretch\",minWidth:0,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleClick,disabled:disabled||isSubmitting,style:{// Reset all browser button styles\nall:\"unset\",display:\"block\",width:\"100%\",maxWidth:\"100%\",cursor:disabled||isSubmitting?\"not-allowed\":\"pointer\",opacity:disabled?.5:1,boxSizing:\"border-box\"},children:renderCustomButton()})});}// Default button mode\nconst getButtonStyles=()=>{if(submitState===\"success\"){return{color:successStyles.color||\"#2E7D32\",backgroundColor:successStyles.backgroundColor||\"#E8F5E9\",...successStyles};}if(submitState===\"error\"){return{color:errorStyles.color||\"#C62828\",backgroundColor:errorStyles.backgroundColor||\"#FFEBEE\",...errorStyles};}return{};};const currentStyles=getButtonStyles();return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...style,display:\"flex\",flexDirection:\"column\",position:\"relative\",direction:componentDirection,width:\"100%\",maxWidth:\"100%\",alignSelf:\"stretch\",minWidth:0,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:handleClick,disabled:disabled||isSubmitting,style:{width:\"100%\",maxWidth:\"100%\",padding:buttonCustomStyles.padding??\"12px 24px\",fontFamily:buttonCustomStyles.font?.fontFamily??\"inherit\",fontSize:buttonCustomStyles.font?.fontSize??14,fontWeight:buttonCustomStyles.font?.fontWeight??600,letterSpacing:buttonCustomStyles.font?.letterSpacing??undefined,lineHeight:buttonCustomStyles.font?.lineHeight??undefined,color:buttonCustomStyles.color??\"#FFFFFF\",backgroundColor:buttonCustomStyles.backgroundColor??\"rgb(51, 51, 51)\",...buttonCustomStyles.border,borderColor:buttonCustomStyles.border?.borderColor??\"transparent\",borderRadius:`${buttonCustomStyles.borderRadius??6}px`,cursor:disabled||isSubmitting?\"not-allowed\":\"pointer\",opacity:disabled||isSubmitting?.7:1,transition:\"opacity 0.2s, transform 0.1s, background-color 0.2s, color 0.2s\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"8px\",direction:componentDirection,...buttonStyles,...currentStyles},onMouseEnter:e=>{if(!disabled&&!isSubmitting&&submitState!==\"success\"&&submitState!==\"error\"){if(hoverStyles.backgroundColor){e.currentTarget.style.backgroundColor=hoverStyles.backgroundColor;}if(hoverStyles.color){e.currentTarget.style.color=hoverStyles.color;}if(hoverStyles.borderColor){e.currentTarget.style.borderColor=hoverStyles.borderColor;}if(hoverStyles.opacity!==undefined){e.currentTarget.style.opacity=String(hoverStyles.opacity);}else if(!hoverStyles.backgroundColor){e.currentTarget.style.opacity=\"0.9\";}if(hoverStyles.scale){e.currentTarget.style.transform=`scale(${hoverStyles.scale})`;}}},onMouseLeave:e=>{if(!disabled&&!isSubmitting&&submitState!==\"success\"&&submitState!==\"error\"){e.currentTarget.style.backgroundColor=buttonCustomStyles.backgroundColor??\"rgb(51, 51, 51)\";e.currentTarget.style.color=buttonCustomStyles.color??\"#FFFFFF\";e.currentTarget.style.borderColor=buttonCustomStyles.border?.borderColor??\"transparent\";e.currentTarget.style.opacity=\"1\";e.currentTarget.style.transform=\"scale(1)\";}},onMouseDown:e=>{if(!disabled&&!isSubmitting&&submitState!==\"success\"&&submitState!==\"error\"){e.currentTarget.style.transform=\"scale(0.98)\";}},onMouseUp:e=>{if(!disabled&&!isSubmitting&&submitState!==\"success\"&&submitState!==\"error\"){e.currentTarget.style.transform=\"scale(1)\";}},children:[isSubmitting&&/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"3\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{animation:\"spin 1s linear infinite\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M21 12a9 9 0 1 1-6.219-8.56\"})}),isSubmitting?loadingText:submitState===\"success\"?successText:submitState===\"error\"?errorText:text,/*#__PURE__*/_jsx(\"style\",{children:`\r\n                    @keyframes spin {\r\n                        0% { transform: rotate(0deg); }\r\n                        100% { transform: rotate(360deg); }\r\n                    }\r\n                `})]})});}addPropertyControls(FormKitSubmit,{formId:{type:ControlType.String,title:\"Form ID\",defaultValue:\"default\"},// === BUTTON TYPE ===\nbuttonType:{type:ControlType.Enum,title:\"Button Type\",options:[\"default\",\"custom\"],optionTitles:[\"Default (Built-in)\",\"Your Component\"],defaultValue:\"default\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},// === CUSTOM BUTTON SLOT ===\ncustomButton:{type:ControlType.Slot,title:\"Custom Button\",description:\"Connect a component with 4 variants: default, loading, success, error\",maxCount:1,hidden:props=>props.buttonType!==\"custom\"},// === VARIANT MAPPINGS ===\nvariantMappings:{type:ControlType.Object,title:\"Variant Names\",description:\"Map your component's variant names to button states\",hidden:props=>props.buttonType!==\"custom\",controls:{defaultVariant:{type:ControlType.String,title:\"Default\",defaultValue:\"default\"},loadingVariant:{type:ControlType.String,title:\"Loading\",defaultValue:\"loading\"},successVariant:{type:ControlType.String,title:\"Success\",defaultValue:\"success\"},errorVariant:{type:ControlType.String,title:\"Error\",defaultValue:\"error\"}}},// === DEFAULT BUTTON TEXT ===\ntext:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Submit\",hidden:props=>props.buttonType===\"custom\"},loadingText:{type:ControlType.String,title:\"Loading Text\",defaultValue:\"Submitting...\",hidden:props=>props.buttonType===\"custom\"},successText:{type:ControlType.String,title:\"Success Text\",defaultValue:\"Form submitted successfully!\",hidden:props=>props.buttonType===\"custom\"},errorText:{type:ControlType.String,title:\"Error Text\",defaultValue:\"Please fix the errors above\",hidden:props=>props.buttonType===\"custom\"},// === DEFAULT BUTTON STYLING ===\nstyling:{type:ControlType.Object,buttonTitle:\"Styles\",hidden:props=>props.buttonType===\"custom\",controls:{buttonStyles:{type:ControlType.Object,buttonTitle:\"Button\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgb(51, 51, 51)\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:14,fontWeight:600}},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:10,min:0,max:100},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderColor:\"transparent\",borderStyle:\"solid\"}},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px 24px 12px 24px\"}}},hoverStyles:{type:ControlType.Object,buttonTitle:\"Hover\",optional:true,controls:{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#0099FF\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"rgba(0, 153, 255, 0)\"},opacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,step:.1,defaultValue:1,displayStepper:true},scale:{type:ControlType.Number,title:\"Scale\",min:.9,max:1.1,step:.01,defaultValue:1,displayStepper:true}}},successStyles:{type:ControlType.Object,title:\"Success Styles\",optional:true,controls:{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#E8F5E9\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#2E7D32\"}}},errorStyles:{type:ControlType.Object,title:\"Error Styles\",optional:true,controls:{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFEBEE\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#C62828\"}}}}},// === TIMING ===\nloadingDuration:{type:ControlType.Number,title:\"Loading Duration (ms)\",defaultValue:1e3,min:0,max:1e4,step:100},successDuration:{type:ControlType.Number,title:\"Success Duration (ms)\",defaultValue:3e3,min:0,max:1e4,step:100},errorDuration:{type:ControlType.Number,title:\"Error Duration (ms)\",defaultValue:3e3,min:0,max:1e4,step:100},// === BEHAVIOR ===\nshowOnlyOnLastStep:{type:ControlType.Boolean,title:\"Show Only On Last Step\",defaultValue:false},disabled:{type:ControlType.Boolean,title:\"Disabled\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormKitSubmit\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormKitSubmit.map","/**\r\n * FormKitText - Text Input Field\r\n *\r\n * A text input field with validation, conditional visibility, and form store integration.\r\n *\r\n * Features:\r\n * - Hybrid prop structure (flat main options, nested styling)\r\n * - Auto-sync with form store via useFormField hook\r\n * - Configurable validation timing (onBlur, onChange)\r\n * - Error display with validation\r\n * - Conditional visibility (Array/Object format only)\r\n * - Min/max length validation\r\n * - Pattern matching\r\n * - Optional success message\r\n *\r\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState}from\"react\";import{useFormField}from\"https://framerusercontent.com/modules/QcJOsISgPpDHi68MFiJ7/iSwiu9OhhEpwJ9bUO8oz/Hooks.js\";import{getFormStore,getFormStoreKey}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{evaluateFieldState,getConditionalBadge}from\"https://framerusercontent.com/modules/YQMwVuIkIDYjLHJOwEnu/E43Ih1OWNh9ZYDxH2sAu/Conditions.js\";import{SHOW_IF_CONTROL,SHOW_IF_MATCH_CONTROL,SHOW_IF_ACTION_CONTROL,STORE_CONFIG_CONTROL,VALIDATION_CONTROLS,BASE_INPUT_STYLE_CONTROLS,LABEL_STYLE_CONTROLS,ERROR_STYLE_CONTROLS,SUCCESS_STYLE_CONTROLS,FOCUS_STYLE_CONTROLS,createStylingControl}from\"https://framerusercontent.com/modules/gWXlNkIcFnVLxXMR7ktn/JtLdSfrUYaW9eElJLaFM/Property_controls.js\";import{HiddenFieldMarker}from\"https://framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js\";import{IconCheck,IconAlert,renderIcon}from\"https://framerusercontent.com/modules/hSeRQvQLiNwfAzfTZN4C/2faSrR7PxMT7RJTYjc17/Icons.js\";import{getFormKitDirection,getTextAlignForDirection}from\"https://framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js\";/**\r\n * @framerIntrinsicWidth 300\r\n * @framerSupportedLayoutHeight auto\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerDisableUnlink\r\n */export default function FormKitText(props){const{// Main props\nname,label,placeholder=\"\",required=false,// disabled prop removed\n// Validation (nested)\nvalidation={},// Styling\nstyling={},// Conditional visibility\nshowIf,showIfMatch=\"all\",showIfAction=\"show\",// Store (simplified!)\nformId=\"default\",// storeKey removed\n// Framer\nstyle}=props;// Destructure validation options\nconst{validateOnBlur=true,validateOnChange=false,validationType=\"built-in\",minLength,maxLength,pattern,requiredMessage,minLengthMessage,maxLengthMessage,patternMessage,successMessage}=validation;// Extract nested styling with defaults\nconst{inputStyles={},labelStyles={},errorStyles={},successStyles={},focusStyles={}}=styling;// Warn if name contains spaces\nuseEffect(()=>{if(name.includes(\" \")){console.warn(`FormKit Warning: Field name \"${name}\" contains spaces. `+`This may cause issues. Use camelCase (firstName) or snake_case (first_name) instead.`);}},[name]);// Build validation config based on validationType\nconst validationConfig={required,requiredMessage,type:\"text\",// Only include validations based on validationType\n...validationType===\"built-in\"&&{minLength:minLength||undefined,minLengthMessage,maxLength:maxLength||undefined,maxLengthMessage},...validationType===\"pattern\"&&{pattern:pattern||undefined,patternMessage}};// Get store state first to evaluate conditions before useFormField\n// This allows us to pass skipValidation based on field visibility\nconst actualFormId=formId||\"default\";const useStore=getFormStore(getFormStoreKey(actualFormId,\"auto\"));const[storeState]=useStore();// Detect render mode\nconst isCanvas=RenderTarget.current()===RenderTarget.canvas;// Evaluate field state BEFORE useFormField to determine skipValidation\nconst fieldState=evaluateFieldState(showIf,storeState?.data||{},showIfMatch,showIfAction);// Determine visibility and disabled state\nlet isVisible=true;let isDisabled=false;let showBadge=false;let badgeText=\"\";if(isCanvas){isVisible=true;isDisabled=false;// Use helper function for badge logic\nconst badge=getConditionalBadge(showIf,fieldState,showIfAction);showBadge=badge.showBadge;badgeText=badge.badgeText;}else{isVisible=fieldState.isVisible;isDisabled=fieldState.isDisabled;}// Skip validation if field is hidden or disabled (in preview/live mode)\nconst shouldSkipValidation=!isCanvas&&(!isVisible||isDisabled);// Use custom hook for form field logic\nconst{value,error,isTouched,isValidating,hasValidated,state,handleChange,handleBlur}=useFormField({name,formId,storeKey:\"auto\",validation:validationConfig,validateOnBlur,validateOnChange,skipValidation:shouldSkipValidation,label});// Track focus state for border color\nconst[isFocused,setIsFocused]=useState(false);const componentDirection=getFormKitDirection(style,[label,placeholder,successMessage,value,name]);const resolvedInputTextAlign=getTextAlignForDirection(inputStyles.textAlign,componentDirection);const resolvedLabelTextAlign=getTextAlignForDirection(labelStyles.textAlign,componentDirection);if(!isVisible)return /*#__PURE__*/_jsx(HiddenFieldMarker,{});const hasTextValue=typeof value===\"string\"&&value.trim()!==\"\";const shouldShowSuccess=Boolean(hasValidated&&!isValidating&&!error&&successMessage&&(required?hasTextValue:value));const successDisplayMode=successStyles.displayMode??\"both\";const showInlineSuccessIcon=shouldShowSuccess&&(successDisplayMode===\"both\"||successDisplayMode===\"icon\");const showSuccessMessage=shouldShowSuccess&&(successDisplayMode===\"both\"||successDisplayMode===\"message\");// Build input styles - use success overrides when applicable\nconst inputStyle={width:\"100%\",padding:inputStyles.padding??\"12px\",fontSize:shouldShowSuccess&&successStyles.inputFont?.fontSize?successStyles.inputFont.fontSize:inputStyles.font?.fontSize??14,fontFamily:shouldShowSuccess&&successStyles.inputFont?.fontFamily?successStyles.inputFont.fontFamily:inputStyles.font?.fontFamily??\"inherit\",fontWeight:shouldShowSuccess&&successStyles.inputFont?.fontWeight?successStyles.inputFont.fontWeight:inputStyles.font?.fontWeight??undefined,lineHeight:inputStyles.font?.lineHeight??undefined,letterSpacing:inputStyles.font?.letterSpacing??undefined,textAlign:resolvedInputTextAlign,color:shouldShowSuccess&&successStyles.inputTextColor?successStyles.inputTextColor:isFocused&&focusStyles.textColor?focusStyles.textColor:value?inputStyles.textColor??\"#999999\":inputStyles.placeholderColor??\"#999999\",backgroundColor:isFocused&&focusStyles.backgroundColor?focusStyles.backgroundColor:isDisabled?\"#F5F5F5\":inputStyles.backgroundColor??\"rgba(187, 187, 187, 0.15)\",borderWidth:\"1px\",borderStyle:\"solid\",...isFocused&&focusStyles.border?focusStyles.border:inputStyles.border,borderColor:isCanvas?inputStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\":shouldShowSuccess&&successStyles.inputBorderColor?successStyles.inputBorderColor:error&&(isTouched||state?.submitAttempted)?inputStyles.errorBorderColor??\"#FF4444\":isFocused?focusStyles.border?.borderColor??inputStyles.focusBorderColor??\"#0099FF\":inputStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\",borderRadius:inputStyles.borderRadius??12,outline:\"none\",transition:focusStyles.transition??\"border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease\",cursor:isDisabled?\"not-allowed\":\"text\",opacity:isDisabled?inputStyles.disabledOpacity??.5:1,boxSizing:\"border-box\",boxShadow:isFocused&&focusStyles.shadows?focusStyles.shadows:inputStyles.shadows};// Build label styles - use success overrides when applicable\nconst labelStyle={display:\"block\",fontSize:shouldShowSuccess&&successStyles.labelFont?.fontSize?successStyles.labelFont.fontSize:labelStyles.font?.fontSize??12,fontWeight:shouldShowSuccess&&successStyles.labelFont?.fontWeight?successStyles.labelFont.fontWeight:labelStyles.font?.fontWeight??\"500\",fontFamily:shouldShowSuccess&&successStyles.labelFont?.fontFamily?successStyles.labelFont.fontFamily:labelStyles.font?.fontFamily??\"Inter\",lineHeight:labelStyles.font?.lineHeight??undefined,letterSpacing:labelStyles.font?.letterSpacing??undefined,textAlign:resolvedLabelTextAlign,textTransform:labelStyles.textTransform??\"none\",color:shouldShowSuccess&&successStyles.labelColor?successStyles.labelColor:labelStyles.color??\"#888888\",marginBottom:labelStyles.marginBottom??8,transition:\"color 0.2s ease\"};// Build error styles\nconst errorStyle={fontSize:errorStyles.font?.fontSize??12,fontWeight:errorStyles.font?.fontWeight??undefined,fontFamily:errorStyles.font?.fontFamily??\"Inter\",lineHeight:errorStyles.font?.lineHeight??undefined,letterSpacing:errorStyles.font?.letterSpacing??undefined,color:errorStyles.color??\"#FF4444\",marginTop:errorStyles.marginTop??4};// Build success message styles\nconst successStyle={fontSize:successStyles.messageFont?.fontSize??12,fontWeight:successStyles.messageFont?.fontWeight??undefined,fontFamily:successStyles.messageFont?.fontFamily??undefined,color:successStyles.messageColor??\"#22C55E\",marginTop:successStyles.marginTop??4};// Generate unique ID for accessibility\nconst fieldId=`${formId}-${name}`;return /*#__PURE__*/_jsxs(\"div\",{...style,style:{...style,display:\"flex\",flexDirection:\"column\",width:\"100%\",position:\"relative\",direction:componentDirection},children:[isCanvas&&showBadge&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-8,insetInlineEnd:-8,backgroundColor:\"#FF6B00\",color:\"white\",fontSize:10,fontWeight:600,padding:\"2px 6px\",borderRadius:4,zIndex:1e3,pointerEvents:\"none\",boxShadow:\"0 2px 4px rgba(0,0,0,0.2)\"},children:badgeText}),label&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:fieldId,style:labelStyle,children:[label,required&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FF4444\",marginInlineStart:4},children:\"*\"})]}),/*#__PURE__*/_jsx(\"style\",{children:`\r\n                #${fieldId} {\r\n                    -webkit-text-fill-color: ${shouldShowSuccess&&successStyles.inputTextColor?successStyles.inputTextColor:isFocused&&focusStyles.textColor?focusStyles.textColor:value?inputStyles.textColor??\"#999999\":inputStyles.placeholderColor??\"#999999\"};\r\n                }\r\n                #${fieldId}::placeholder {\r\n                    color: ${isFocused&&focusStyles.placeholderColor?focusStyles.placeholderColor:inputStyles.placeholderColor??\"#999999\"};\r\n                    -webkit-text-fill-color: ${isFocused&&focusStyles.placeholderColor?focusStyles.placeholderColor:inputStyles.placeholderColor??\"#999999\"};\r\n                    text-align: ${resolvedInputTextAlign};\r\n                    opacity: 1;\r\n                }\r\n                #${fieldId}:-webkit-autofill,\r\n                #${fieldId}:-webkit-autofill:hover,\r\n                #${fieldId}:-webkit-autofill:focus,\r\n                #${fieldId}:-webkit-autofill:active,\r\n                #${fieldId}:autofill,\r\n                #${fieldId}:autofill:hover,\r\n                #${fieldId}:autofill:focus,\r\n                #${fieldId}:autofill:active {\r\n                    -webkit-box-shadow: 0 0 0 1000px ${inputStyles.backgroundColor??\"#F5F5F5\"} inset !important;\r\n                    box-shadow: 0 0 0 1000px ${inputStyles.backgroundColor??\"#F5F5F5\"} inset !important;\r\n                    -webkit-text-fill-color: ${inputStyles.textColor??\"#999999\"} !important;\r\n                    caret-color: ${inputStyles.textColor??\"#999999\"} !important;\r\n                    transition: background-color 5000s ease-in-out 0s !important;\r\n                }\r\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"input\",{id:fieldId,type:\"text\",name:name,value:value||\"\",onChange:e=>handleChange(e.target.value),onBlur:()=>{setIsFocused(false);handleBlur();},onFocus:()=>setIsFocused(true),placeholder:placeholder,disabled:isDisabled,required:required,\"data-formkit\":\"true\",minLength:validationType===\"built-in\"&&minLength?minLength:undefined,pattern:validationType===\"pattern\"&&pattern?pattern:undefined,style:inputStyle}),showInlineSuccessIcon&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",insetInlineEnd:12,top:\"50%\",transform:\"translateY(-50%)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:successStyles.iconColor??successStyles.inputTextColor??\"#0099FF\",pointerEvents:\"none\",width:16,height:16},children:renderIcon({iconType:successStyles.iconType,customIcon:successStyles.customIcon,DefaultIcon:IconCheck})})]}),error&&(isTouched||state?.submitAttempted)&&/*#__PURE__*/_jsxs(\"div\",{style:{...errorStyle,display:\"flex\",alignItems:\"center\",textTransform:\"lowercase\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:14,height:14},children:renderIcon({iconType:errorStyles.iconType,customIcon:errorStyles.customIcon,DefaultIcon:IconAlert})}),error]}),showSuccessMessage&&/*#__PURE__*/_jsx(\"div\",{style:{...successStyle},children:successMessage})]});}// Property Controls - Hybrid structure\naddPropertyControls(FormKitText,{// FLAT - Main options (easy to access and update)\nname:{type:ControlType.String,title:\"Name\",defaultValue:\"name\",description:\"Use camelCase or snake_case, NO SPACES. Examples: firstName, user_email, phone_number\",placeholder:\"field-name\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Name\",description:\"Field label displayed above input\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Enter the name\",description:\"Placeholder text shown when empty\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},// disabled prop removed\n// NESTED - Validation (organized!)\nvalidation:{type:ControlType.Object,buttonTitle:\"Validation\",optional:true,controls:VALIDATION_CONTROLS},// NESTED - Styling (organized group)\nstyling:createStylingControl({inputStyles:{type:ControlType.Object,buttonTitle:\"Input\",optional:true,controls:{...BASE_INPUT_STYLE_CONTROLS,focusBorderColor:{type:ControlType.Color,hidden:()=>true}}},labelStyles:{type:ControlType.Object,buttonTitle:\"Label\",optional:true,controls:LABEL_STYLE_CONTROLS},errorStyles:{type:ControlType.Object,buttonTitle:\"Error\",optional:true,controls:ERROR_STYLE_CONTROLS},successStyles:{type:ControlType.Object,buttonTitle:\"Success\",optional:true,controls:SUCCESS_STYLE_CONTROLS},focusStyles:{type:ControlType.Object,buttonTitle:\"Focus\",optional:true,controls:FOCUS_STYLE_CONTROLS}}),// Conditional visibility\nshowIf:SHOW_IF_CONTROL,showIfMatch:{...SHOW_IF_MATCH_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},showIfAction:{...SHOW_IF_ACTION_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},// Store connection (flat)\n...STORE_CONFIG_CONTROL});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormKitText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"300\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormKitText.map","/**\r\n * FormKitTextarea - Multi-line Text Input Field\r\n *\r\n * A textarea input field with validation, conditional visibility, and form store integration.\r\n *\r\n * Features:\r\n * - Hybrid prop structure (flat main options, nested styling)\r\n * - Auto-sync with form store via useFormField hook\r\n * - Configurable validation timing (onBlur, onChange)\r\n * - Error display with validation\r\n * - Conditional visibility (Array/Object format only)\r\n * - Min/max length validation\r\n * - Pattern matching\r\n * - Optional success message\r\n * - Auto-resize capability\r\n * - Character counter\r\n **/import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useState}from\"react\";import{useFormField}from\"https://framerusercontent.com/modules/QcJOsISgPpDHi68MFiJ7/iSwiu9OhhEpwJ9bUO8oz/Hooks.js\";import{getFormStore,getFormStoreKey}from\"https://framerusercontent.com/modules/W9pGMfwOEUT2E0G0vdr3/42YKtSLeppXsa3v6m16i/Store_management.js\";import{evaluateFieldState,getConditionalBadge}from\"https://framerusercontent.com/modules/YQMwVuIkIDYjLHJOwEnu/E43Ih1OWNh9ZYDxH2sAu/Conditions.js\";import{SHOW_IF_CONTROL,SHOW_IF_MATCH_CONTROL,SHOW_IF_ACTION_CONTROL,STORE_CONFIG_CONTROL,VALIDATION_CONTROLS,BASE_INPUT_STYLE_CONTROLS,LABEL_STYLE_CONTROLS,ERROR_STYLE_CONTROLS,SUCCESS_STYLE_CONTROLS,FOCUS_STYLE_CONTROLS,createStylingControl}from\"https://framerusercontent.com/modules/gWXlNkIcFnVLxXMR7ktn/JtLdSfrUYaW9eElJLaFM/Property_controls.js\";import{HiddenFieldMarker}from\"https://framerusercontent.com/modules/zT6ckO4RKI5zB9JzgGVW/5pPr41RBexGJfYLsBNcj/HiddenFieldMarker.js\";import{IconCheck,IconAlert,renderIcon}from\"https://framerusercontent.com/modules/hSeRQvQLiNwfAzfTZN4C/2faSrR7PxMT7RJTYjc17/Icons.js\";import{getFormKitDirection,getTextAlignForDirection}from\"https://framerusercontent.com/modules/TnGeMluKUv3ZoPWbVX5z/6AL0m280OlZ8wllCKODq/Direction.js\";/**\r\n * @framerIntrinsicWidth 300\r\n * @framerSupportedLayoutHeight auto\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerDisableUnlink\r\n */export default function FormKitTextarea(props){const{// Main props\nname,label,placeholder=\"\",required=false,// disabled prop removed\n// Textarea-specific\nrows=4,autoResize=false,autoResizeMinHeight=100,autoResizeMaxHeight,showCharCount=false,// Validation (nested)\nvalidation={},// Styling\nstyling={},// Conditional visibility\nshowIf,showIfMatch=\"all\",showIfAction=\"show\",// Store (simplified!)\nformId=\"default\",// storeKey removed\n// Framer\nstyle}=props;// Destructure validation options\nconst{validateOnBlur=true,validateOnChange=false,validationType=\"built-in\",minLength,maxLength,pattern,requiredMessage,minLengthMessage,maxLengthMessage,patternMessage,successMessage}=validation;// Extract nested styling with defaults\nconst{inputStyles={},labelStyles={},errorStyles={},successStyles={},focusStyles={}}=styling;// Textarea ref for auto-resize\nconst textareaRef=useRef(null);// Warn if name contains spaces\nuseEffect(()=>{if(name.includes(\" \")){console.warn(`FormKit Warning: Field name \"${name}\" contains spaces. `+`This may cause issues. Use camelCase (firstName) or snake_case (first_name) instead.`);}},[name]);// Build validation config based on validationType\nconst validationConfig={required,requiredMessage,type:\"text\",// Only include validations based on validationType\n...validationType===\"built-in\"&&{minLength:minLength||undefined,minLengthMessage,maxLength:maxLength||undefined,maxLengthMessage},...validationType===\"pattern\"&&{pattern:pattern||undefined,patternMessage}};// Get store state first to evaluate conditions before useFormField\nconst actualFormId=formId||\"default\";const useStore=getFormStore(getFormStoreKey(actualFormId,\"auto\"));const[storeState]=useStore();// Detect render mode\nconst isCanvas=RenderTarget.current()===RenderTarget.canvas;// Evaluate field state BEFORE useFormField to determine skipValidation\nconst fieldState=evaluateFieldState(showIf,storeState?.data||{},showIfMatch,showIfAction);// Determine visibility and disabled state\nlet isVisible=true;let isDisabled=false;let showBadge=false;let badgeText=\"\";if(isCanvas){isVisible=true;isDisabled=false;// Use helper function for badge logic\nconst badge=getConditionalBadge(showIf,fieldState,showIfAction);showBadge=badge.showBadge;badgeText=badge.badgeText;}else{isVisible=fieldState.isVisible;isDisabled=fieldState.isDisabled;}// Skip validation if field is hidden or disabled (in preview/live mode)\nconst shouldSkipValidation=!isCanvas&&(!isVisible||isDisabled);// Use custom hook for form field logic\nconst{value,error,isTouched,isValidating,hasValidated,state,handleChange,handleBlur}=useFormField({name,formId,storeKey:\"auto\",validation:validationConfig,validateOnBlur,validateOnChange,skipValidation:shouldSkipValidation,label});// Auto-resize effect\nuseEffect(()=>{if(autoResize&&textareaRef.current){const el=textareaRef.current;el.style.height=\"auto\";const scrollHeight=el.scrollHeight;const minHeightPx=autoResizeMinHeight?Number(autoResizeMinHeight):100;const maxHeightPx=autoResizeMaxHeight?Number(autoResizeMaxHeight):undefined;const nextHeight=Math.max(scrollHeight,minHeightPx);el.style.height=maxHeightPx?`${Math.min(nextHeight,maxHeightPx)}px`:`${nextHeight}px`;if(maxHeightPx&&nextHeight>maxHeightPx){el.style.overflowY=\"auto\";}else{el.style.overflowY=\"hidden\";}}else if(textareaRef.current){// Reset height when auto-resize is disabled\nconst el=textareaRef.current;el.style.height=\"\";el.style.overflowY=\"\";}},[value,autoResize,autoResizeMinHeight,autoResizeMaxHeight]);// Track focus state for border color\nconst[isFocused,setIsFocused]=useState(false);const componentDirection=getFormKitDirection(style,[label,placeholder,successMessage,value,name]);const resolvedInputTextAlign=getTextAlignForDirection(inputStyles.textAlign,componentDirection);const resolvedLabelTextAlign=getTextAlignForDirection(labelStyles.textAlign,componentDirection);if(!isVisible)return /*#__PURE__*/_jsx(HiddenFieldMarker,{});// Determine if we should show success message\n// Only show success AFTER validation has completed at least once\nconst shouldShowSuccess=hasValidated&&// Validation must have run at least once\n!isValidating&&// Not currently validating\n!error&&// No validation errors\nsuccessMessage&&// User provided success message\nvalue&&// Field has a value\n(required?value.trim()!==\"\":true)// If required, must not be empty\n;// Character count\nconst successDisplayMode=successStyles.displayMode??\"both\";const showInlineSuccessIcon=shouldShowSuccess&&(successDisplayMode===\"both\"||successDisplayMode===\"icon\");const showSuccessMessage=shouldShowSuccess&&successMessage&&(successDisplayMode===\"both\"||successDisplayMode===\"message\");const charCount=(value||\"\").length;// Build textarea styles - use success overrides when applicable\nconst textareaStyle={width:\"100%\",padding:inputStyles.padding??\"12px\",fontSize:shouldShowSuccess&&successStyles.inputFont?.fontSize?successStyles.inputFont.fontSize:inputStyles.font?.fontSize??14,fontFamily:shouldShowSuccess&&successStyles.inputFont?.fontFamily?successStyles.inputFont.fontFamily:inputStyles.font?.fontFamily??\"inherit\",fontWeight:shouldShowSuccess&&successStyles.inputFont?.fontWeight?successStyles.inputFont.fontWeight:inputStyles.font?.fontWeight??undefined,lineHeight:inputStyles.font?.lineHeight??undefined,letterSpacing:inputStyles.font?.letterSpacing??undefined,textAlign:resolvedInputTextAlign,color:shouldShowSuccess&&successStyles.inputTextColor?successStyles.inputTextColor:isFocused&&focusStyles.textColor?focusStyles.textColor:value?inputStyles.textColor??\"#999999\":inputStyles.placeholderColor??\"#999999\",backgroundColor:isFocused&&focusStyles.backgroundColor?focusStyles.backgroundColor:isDisabled?\"#F5F5F5\":inputStyles.backgroundColor??\"rgba(187, 187, 187, 0.15)\",borderWidth:\"1px\",borderStyle:\"solid\",...isFocused&&focusStyles.border?focusStyles.border:inputStyles.border,borderColor:isCanvas?inputStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\":shouldShowSuccess&&successStyles.inputBorderColor?successStyles.inputBorderColor:error&&(isTouched||state?.submitAttempted)?inputStyles.errorBorderColor??\"#FF4444\":isFocused?focusStyles.border?.borderColor??inputStyles.focusBorderColor??\"#0099FF\":inputStyles.border?.borderColor??\"rgba(187, 187, 187, 0.15)\",borderRadius:inputStyles.borderRadius??12,outline:\"none\",transition:focusStyles.transition??\"border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease\",cursor:isDisabled?\"not-allowed\":\"text\",opacity:isDisabled?inputStyles.disabledOpacity??.5:1,boxSizing:\"border-box\",resize:autoResize?\"none\":\"vertical\",boxShadow:isFocused&&focusStyles.shadows?focusStyles.shadows:inputStyles.shadows,minHeight:autoResize?autoResizeMinHeight||100:undefined};// Build label styles - use success overrides when applicable\nconst labelStyle={display:\"block\",fontSize:shouldShowSuccess&&successStyles.labelFont?.fontSize?successStyles.labelFont.fontSize:labelStyles.font?.fontSize??12,fontWeight:shouldShowSuccess&&successStyles.labelFont?.fontWeight?successStyles.labelFont.fontWeight:labelStyles.font?.fontWeight??\"500\",fontFamily:shouldShowSuccess&&successStyles.labelFont?.fontFamily?successStyles.labelFont.fontFamily:labelStyles.font?.fontFamily??\"Inter\",lineHeight:labelStyles.font?.lineHeight??undefined,letterSpacing:labelStyles.font?.letterSpacing??undefined,textAlign:resolvedLabelTextAlign,textTransform:labelStyles.textTransform??\"none\",color:shouldShowSuccess&&successStyles.labelColor?successStyles.labelColor:labelStyles.color??\"#888888\",marginBottom:labelStyles.marginBottom??8,transition:\"color 0.2s ease\"};// Build error styles\nconst errorStyle={fontSize:errorStyles.font?.fontSize??12,fontWeight:errorStyles.font?.fontWeight??undefined,fontFamily:errorStyles.font?.fontFamily??\"inherit\",lineHeight:errorStyles.font?.lineHeight??undefined,letterSpacing:errorStyles.font?.letterSpacing??undefined,color:errorStyles.color??\"#FF4444\",marginTop:errorStyles.marginTop??4};// Build success message styles\nconst successStyle={fontSize:successStyles.messageFont?.fontSize??12,fontWeight:successStyles.messageFont?.fontWeight??undefined,fontFamily:successStyles.messageFont?.fontFamily??undefined,color:successStyles.messageColor??\"#22C55E\",marginTop:successStyles.marginTop??4};// Generate unique ID for accessibility\nconst fieldId=`${formId}-${name}`;return /*#__PURE__*/_jsxs(\"div\",{...style,style:{...style,display:\"flex\",flexDirection:\"column\",width:\"100%\",position:\"relative\",direction:componentDirection},children:[isCanvas&&showBadge&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-8,insetInlineEnd:-8,backgroundColor:\"#FF6B00\",color:\"white\",fontSize:10,fontWeight:600,padding:\"2px 6px\",borderRadius:4,zIndex:1e3,pointerEvents:\"none\",boxShadow:\"0 2px 4px rgba(0,0,0,0.2)\"},children:badgeText}),label&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:12,width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"label\",{htmlFor:fieldId,style:{...labelStyle,flex:1},children:[label,required&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FF4444\",marginInlineStart:4},children:\"*\"})]}),showCharCount&&maxLength&&validationType===\"built-in\"&&/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:12,color:\"#666666\"},children:[charCount,\"/\",maxLength]})]}),/*#__PURE__*/_jsx(\"style\",{children:`\r\n                #${fieldId} {\r\n                    -webkit-text-fill-color: ${shouldShowSuccess&&successStyles.inputTextColor?successStyles.inputTextColor:isFocused&&focusStyles.textColor?focusStyles.textColor:value?inputStyles.textColor??\"#999999\":inputStyles.placeholderColor??\"#999999\"};\r\n                }\r\n                #${fieldId}::placeholder {\r\n                    color: ${isFocused&&focusStyles.placeholderColor?focusStyles.placeholderColor:inputStyles.placeholderColor??\"#999999\"};\r\n                    -webkit-text-fill-color: ${isFocused&&focusStyles.placeholderColor?focusStyles.placeholderColor:inputStyles.placeholderColor??\"#999999\"};\r\n                    text-align: ${resolvedInputTextAlign};\r\n                    opacity: 1;\r\n                }\r\n                #${fieldId}:-webkit-autofill,\r\n                #${fieldId}:-webkit-autofill:hover,\r\n                #${fieldId}:-webkit-autofill:focus,\r\n                #${fieldId}:-webkit-autofill:active,\r\n                #${fieldId}:autofill,\r\n                #${fieldId}:autofill:hover,\r\n                #${fieldId}:autofill:focus,\r\n                #${fieldId}:autofill:active {\r\n                    -webkit-box-shadow: 0 0 0 1000px ${inputStyles.backgroundColor??\"#F5F5F5\"} inset !important;\r\n                    box-shadow: 0 0 0 1000px ${inputStyles.backgroundColor??\"#F5F5F5\"} inset !important;\r\n                    -webkit-text-fill-color: ${inputStyles.textColor??\"#999999\"} !important;\r\n                    caret-color: ${inputStyles.textColor??\"#999999\"} !important;\r\n                    transition: background-color 5000s ease-in-out 0s !important;\r\n                }\r\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"textarea\",{ref:textareaRef,id:fieldId,name:name,value:value||\"\",onChange:e=>handleChange(e.target.value),onBlur:()=>{setIsFocused(false);handleBlur();},onFocus:()=>setIsFocused(true),onInvalid:e=>e.preventDefault(),placeholder:placeholder,disabled:isDisabled,required:required,\"data-formkit\":\"true\",minLength:validationType===\"built-in\"&&minLength?minLength:undefined,maxLength:validationType===\"built-in\"&&maxLength?maxLength:undefined,rows:autoResize?1:rows,style:textareaStyle}),showInlineSuccessIcon&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",insetInlineEnd:12,top:12,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:successStyles.iconColor??successStyles.inputTextColor??\"#0099FF\",pointerEvents:\"none\",width:16,height:16},children:renderIcon({iconType:successStyles.iconType,customIcon:successStyles.customIcon,DefaultIcon:IconCheck})})]}),error&&(isTouched||state?.submitAttempted)&&/*#__PURE__*/_jsxs(\"div\",{style:{...errorStyle,display:\"flex\",alignItems:\"center\",textTransform:\"lowercase\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:14,height:14},children:renderIcon({iconType:errorStyles.iconType,customIcon:errorStyles.customIcon,DefaultIcon:IconAlert})}),error]}),showSuccessMessage&&/*#__PURE__*/_jsx(\"div\",{style:successStyle,children:successMessage})]});}// Property Controls - Hybrid structure (matching FormKitText pattern)\naddPropertyControls(FormKitTextarea,{// FLAT - Main options (easy to access and update)\nname:{type:ControlType.String,title:\"Name\",defaultValue:\"message\",description:\"Use camelCase or snake_case, NO SPACES. Examples: message, user_bio, comments\",placeholder:\"field-name\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Message\",description:\"Field label displayed above textarea\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Message\",description:\"Placeholder text shown when empty\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},// disabled prop removed - use showIfAction with \"Enable Field\" / \"Disable Field\"\n// FLAT - Textarea-specific options\nrows:{type:ControlType.Number,title:\"Rows\",defaultValue:4,min:1,max:20,step:1,displayStepper:true,hidden:props=>props.autoResize},autoResize:{type:ControlType.Boolean,title:\"Auto Resize\",description:\"Automatically grow as user types\",defaultValue:false},autoResizeMinHeight:{type:ControlType.Number,title:\"Min Height (px)\",min:40,max:500,step:10,defaultValue:100,displayStepper:true,description:\"Minimum height when auto-resizing\",hidden:props=>!props.autoResize},autoResizeMaxHeight:{type:ControlType.Number,title:\"Max Height (px)\",min:50,max:1200,step:10,displayStepper:true,description:\"Maximum height when auto-resizing\",hidden:props=>!props.autoResize},showCharCount:{type:ControlType.Boolean,title:\"Show Char Count\",description:\"Display character counter (requires Max Length)\",defaultValue:false,hidden:props=>!props.validation?.maxLength||props.validation?.validationType===\"pattern\"},// NESTED - Validation (organized!)\nvalidation:{type:ControlType.Object,buttonTitle:\"Validation\",optional:true,controls:VALIDATION_CONTROLS},// NESTED - Styling (organized group)\nstyling:createStylingControl({inputStyles:{type:ControlType.Object,buttonTitle:\"Textarea\",optional:true,controls:{...BASE_INPUT_STYLE_CONTROLS,focusBorderColor:{type:ControlType.Color,hidden:()=>true}}},labelStyles:{type:ControlType.Object,buttonTitle:\"Label\",optional:true,controls:LABEL_STYLE_CONTROLS},errorStyles:{type:ControlType.Object,buttonTitle:\"Error\",optional:true,controls:ERROR_STYLE_CONTROLS},successStyles:{type:ControlType.Object,buttonTitle:\"Success\",optional:true,controls:SUCCESS_STYLE_CONTROLS},focusStyles:{type:ControlType.Object,buttonTitle:\"Focus\",optional:true,controls:FOCUS_STYLE_CONTROLS}}),// Conditional visibility\nshowIf:SHOW_IF_CONTROL,showIfMatch:{...SHOW_IF_MATCH_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},showIfAction:{...SHOW_IF_ACTION_CONTROL,hidden:props=>!props.showIf||props.showIf.length===0},// Store connection (flat)\n...STORE_CONFIG_CONTROL});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormKitTextarea\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormKitTextarea.map"],"mappings":"kPAA8E,SAAgB,GAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,CAAM,CAAC,CAAC,CAAC,EACjD,EAAa,GAAU,CAC1B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAG,EAAU,MAAM,GAAG,CAAQ,CAAC,CAAE,EACjI,EAAW,OAAO,GAAS,SAAS,OAAO,OAAO,CAAC,GAAG,CAAM,CAAC,EAAE,EAC7D,EAAa,IAAI,IACjB,EAAc,GAAU,CAC3B,OAAO,GAAW,aAAY,EAAS,EAAS,CAAU,GAAG,EAAW,OAAO,GAAW,SAAS,OAAO,OAAO,CAAC,GAAG,EAAW,GAAG,CAAQ,CAAC,EAAE,EACjJ,EAAa,QAAQ,GAAQ,EAAO,CAAU,CAAC,CAAE,EACjD,SAAS,GAAU,CACnB,GAAK,CAAC,EAAM,GAAUA,EAAS,CAAU,EAKzC,OAHA,OACA,EAAa,IAAI,CAAQ,MAAY,EAAa,OAAO,CAAQ,GAAI,CAAC,CAAC,EACpE,EAAe,IAAI,IAAM,EAAe,EAAQ,CAAC,EAAU,MAAM,CAAY,GAC1E,CAAC,EAAM,CAAa,CAAG,CAAC,OAAO,CAAS,iBAfT,IA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