{"version":3,"file":"FormFileUpload.B1IUjeE-.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","useState","useRef","React.useRef","React.useState","React.useCallback"],"sources":["https:/framerusercontent.com/modules/Jxc0f1G3u8qR4Elspijw/UYdRY3ntm7ho27JpFn87/OoISciBQW.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/lc0Q9AG2emwm6qpEDIA0/y008yH9quZ9bW0mW4V9U/Examples.js","https:/framerusercontent.com/modules/kiiMpJ4G3NvG3KJLrBzu/8Bgo9NCtZPSm5d3VbdiG/FormFileUpload.js"],"sourcesContent":["// Generated by Framer (56ce7df)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={ALDSA1WJ4:{hover:true,pressed:true}};const cycleOrder=[\"ALDSA1WJ4\",\"NH_GfuZhh\",\"xjbP9AvG_\",\"OHfmHyRel\",\"vx4SzAlRe\"];const serializationHash=\"framer-yTwq7\";const variantClassNames={ALDSA1WJ4:\"framer-v-18zt7x\",NH_GfuZhh:\"framer-v-1hqtamz\",OHfmHyRel:\"framer-v-mk4it1\",vx4SzAlRe:\"framer-v-1b1uw55\",xjbP9AvG_:\"framer-v-nmv2fn\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const iKoq3wD1p=undefined;const a4tbXStIt=undefined;const iWPTae2k5=undefined;const tDsACIfZX=undefined;const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"ALDSA1WJ4\",Disabled:\"xjbP9AvG_\",Error:\"vx4SzAlRe\",Loading:\"NH_GfuZhh\",Success:\"OHfmHyRel\"};const Variants=motion.create(React.Fragment);const getProps=({borderColor,height,id,spinner1,spinner2,textColor,width,...props})=>{return{...props,a4tbXStIt:textColor??props.a4tbXStIt??\"rgb(0, 0, 0)\",iKoq3wD1p:borderColor??props.iKoq3wD1p??{borderColor:\"rgb(0, 0, 0)\",borderStyle:\"solid\",borderWidth:1},iWPTae2k5:spinner1??props.iWPTae2k5??true,tDsACIfZX:spinner2??props.tDsACIfZX??false,variant:humanReadableVariantMap[props.variant]??props.variant??\"ALDSA1WJ4\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,iKoq3wD1p,a4tbXStIt,iWPTae2k5,tDsACIfZX,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ALDSA1WJ4\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"NH_GfuZhh\")return false;return true;};const isDisplayed1=value=>{if(baseVariant===\"NH_GfuZhh\")return value;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-18zt7x\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"ALDSA1WJ4\",ref:refBinding,style:{\"--border-bottom-width\":(iKoq3wD1p?.borderBottomWidth??iKoq3wD1p?.borderWidth)+\"px\",\"--border-color\":iKoq3wD1p?.borderColor,\"--border-left-width\":(iKoq3wD1p?.borderLeftWidth??iKoq3wD1p?.borderWidth)+\"px\",\"--border-right-width\":(iKoq3wD1p?.borderRightWidth??iKoq3wD1p?.borderWidth)+\"px\",\"--border-style\":iKoq3wD1p?.borderStyle,\"--border-top-width\":(iKoq3wD1p?.borderTopWidth??iKoq3wD1p?.borderWidth)+\"px\",opacity:1,...style},variants:{\"ALDSA1WJ4-hover\":{opacity:1},\"ALDSA1WJ4-pressed\":{opacity:1},OHfmHyRel:{opacity:1},vx4SzAlRe:{opacity:1},xjbP9AvG_:{opacity:.5}},...addPropertyOverrides({\"ALDSA1WJ4-hover\":{\"data-framer-name\":undefined},\"ALDSA1WJ4-pressed\":{\"data-framer-name\":undefined},NH_GfuZhh:{\"data-framer-name\":\"Loading\"},OHfmHyRel:{\"data-framer-name\":\"Success\"},vx4SzAlRe:{\"data-framer-name\":\"Error\"},xjbP9AvG_:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UGx1cyBKYWthcnRhIFNhbnMtcmVndWxhcg==\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"0.03em\",\"--framer-line-height\":\"1.5em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-a4tbXStIt-OoISciBQW))\",\"--framer-text-transform\":\"uppercase\"},children:\"Submit\"})}),className:\"framer-8kr0g7\",fonts:[\"FS;Plus Jakarta Sans-regular\"],layoutDependency:layoutDependency,layoutId:\"PCZ4hRdJi\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-a4tbXStIt-OoISciBQW)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-a4tbXStIt-OoISciBQW\":a4tbXStIt},variants:{vx4SzAlRe:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"ALDSA1WJ4-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UGx1cyBKYWthcnRhIFNhbnMtcmVndWxhcg==\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"0.06em\",\"--framer-line-height\":\"1.5em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-a4tbXStIt-OoISciBQW))\",\"--framer-text-transform\":\"uppercase\"},children:\"Submit\"})})},OHfmHyRel:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UGx1cyBKYWthcnRhIFNhbnMtcmVndWxhcg==\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"0.03em\",\"--framer-line-height\":\"1.5em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-a4tbXStIt-OoISciBQW))\",\"--framer-text-transform\":\"uppercase\"},children:\"Thank you\"})})},vx4SzAlRe:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UGx1cyBKYWthcnRhIFNhbnMtc2VtaWJvbGQ=\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),fonts:[\"FS;Plus Jakarta Sans-semibold\"]}},baseVariant,gestureVariant)}),isDisplayed1(iWPTae2k5!==false)&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1x0lx9c\",\"data-framer-name\":\"Spinner 1\",layoutDependency:layoutDependency,layoutId:\"YIxBQ8nGS\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1tg930x\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"rqD4Usyh4\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 7.208614864864882deg, rgb(0, 0, 0) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{NH_GfuZhh:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-pv1rhf\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"n7miXAX0t\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})}),isDisplayed1(tDsACIfZX!==false)&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-bptm15\",\"data-framer-name\":\"Spinner 2\",layoutDependency:layoutDependency,layoutId:\"MHgLDkoOV\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-11dyeo6\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"cMezCK0jg\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1n2w9mq\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"eMajAH7Uf\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\".framer-yTwq7.framer-eq3vlf, .framer-yTwq7 .framer-eq3vlf { display: block; }\",\".framer-yTwq7.framer-18zt7x { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 48px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 190px; }\",\".framer-yTwq7 .framer-8kr0g7 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-yTwq7 .framer-1x0lx9c, .framer-yTwq7 .framer-bptm15 { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: auto; overflow: hidden; position: relative; width: 20px; }\",\".framer-yTwq7 .framer-1tg930x { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-yTwq7 .framer-pv1rhf, .framer-yTwq7 .framer-1n2w9mq { aspect-ratio: 1 / 1; flex: none; height: auto; left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-yTwq7 .framer-11dyeo6 { bottom: 0px; flex: none; left: 0px; overflow: hidden; position: absolute; right: 0px; top: 0px; }\",\".framer-yTwq7.framer-v-1hqtamz.framer-18zt7x, .framer-yTwq7.framer-v-nmv2fn.framer-18zt7x, .framer-yTwq7.framer-v-mk4it1.framer-18zt7x, .framer-yTwq7.framer-v-1b1uw55.framer-18zt7x { cursor: unset; }\",\".framer-yTwq7.framer-v-1hqtamz .framer-1tg930x { overflow: hidden; }\",'.framer-yTwq7[data-border=\"true\"]::after, .framer-yTwq7 [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 190\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"NH_GfuZhh\":{\"layout\":[\"fixed\",\"fixed\"]},\"xjbP9AvG_\":{\"layout\":[\"fixed\",\"fixed\"]},\"OHfmHyRel\":{\"layout\":[\"fixed\",\"fixed\"]},\"vx4SzAlRe\":{\"layout\":[\"fixed\",\"fixed\"]},\"Y8SQvkbHO\":{\"layout\":[\"fixed\",\"fixed\"]},\"FkC6YdDE8\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"iKoq3wD1p\":\"borderColor\",\"a4tbXStIt\":\"textColor\",\"iWPTae2k5\":\"spinner1\",\"tDsACIfZX\":\"spinner2\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerOoISciBQW=withCSS(Component,css,\"framer-yTwq7\");export default FramerOoISciBQW;FramerOoISciBQW.displayName=\"Form Button\";FramerOoISciBQW.defaultProps={height:48,width:190};addPropertyControls(FramerOoISciBQW,{variant:{options:[\"ALDSA1WJ4\",\"NH_GfuZhh\",\"xjbP9AvG_\",\"OHfmHyRel\",\"vx4SzAlRe\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},iKoq3wD1p:{defaultValue:{borderColor:\"rgb(0, 0, 0)\",borderStyle:\"solid\",borderWidth:1},title:\"Border Color\",type:ControlType.Border},a4tbXStIt:{defaultValue:\"rgb(0, 0, 0)\",title:\"Text Color\",type:ControlType.Color},iWPTae2k5:{defaultValue:true,title:\"Spinner 1\",type:ControlType.Boolean},oniWPTae2k5Change:{changes:\"iWPTae2k5\",type:ControlType.ChangeHandler},tDsACIfZX:{defaultValue:false,title:\"Spinner 2\",type:ControlType.Boolean},ontDsACIfZXChange:{changes:\"tDsACIfZX\",type:ControlType.ChangeHandler}});addFonts(FramerOoISciBQW,[{explicitInter:true,fonts:[{cssFamilyName:\"Plus Jakarta Sans\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Plus Jakarta Sans\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/TX2N2Q6ZO2LBO34H72H5RVJTBQFGU4GV/ZICVNTLTT4V7CCIJPWNY363N6LIP2AET/OUUAK2X2MEGEKC6ULA4CFSBY4PE5EGPV.woff2\",weight:\"400\"},{cssFamilyName:\"Plus Jakarta Sans\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Plus Jakarta Sans\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/ZLH2B3SFZRQ3US4ZUYG2367OYUMTVTGK/RSOPFK2EORTGBCOBZRY42GDLXFFB4IQW/JZ35FM4UJSKC7X2PM65RH75Q5KLE552S.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerOoISciBQW\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"48\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"NH_GfuZhh\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"xjbP9AvG_\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"OHfmHyRel\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"vx4SzAlRe\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Y8SQvkbHO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"FkC6YdDE8\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"iKoq3wD1p\\\":\\\"borderColor\\\",\\\"a4tbXStIt\\\":\\\"textColor\\\",\\\"iWPTae2k5\\\":\\\"spinner1\\\",\\\"tDsACIfZX\\\":\\\"spinner2\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"190\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OoISciBQW.map","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","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";import{useEffect,useRef}from\"react\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withPhoneNumber(Component){return props=>{const containerRef=useRef(null);useEffect(()=>{if(containerRef.current){const inputElement=containerRef.current.querySelector(\"input\");if(inputElement){const handleInputChange=e=>{// Remove all non-numeric characters\nconst numbersOnly=e.target.value.replace(/\\D/g,\"\");// Limit to 10 digits\nconst limitedNumbers=numbersOnly.slice(0,10);// Format as (555) 555-5555\nconst x=limitedNumbers.match(/(\\d{0,3})(\\d{0,3})(\\d{0,4})/);e.target.value=!x[2]?x[1]:`(${x[1]}) ${x[2]}${x[3]?\"-\"+x[3]:\"\"}`;};inputElement.addEventListener(\"input\",handleInputChange);return()=>{inputElement.removeEventListener(\"input\",handleInputChange);};}}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:containerRef});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPhoneNumber\":{\"type\":\"reactHoc\",\"name\":\"withPhoneNumber\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const ACCEPTED_EXTENSIONS=[\"pdf\",\"jpg\",\"jpeg\",\"png\",\"dwg\"];const ACCEPT_ATTRIBUTE=\".pdf,.jpg,.jpeg,.png,.dwg,image/jpeg,image/png,application/pdf\";function extensionOf(fileName){return fileName.split(\".\").pop()?.toLowerCase()??\"\";}function uploadToCloudinary(file,cloudName,uploadPreset){const body=new FormData;body.append(\"file\",file);body.append(\"upload_preset\",uploadPreset);return fetch(`https://api.cloudinary.com/v1_1/${encodeURIComponent(cloudName)}/auto/upload`,{method:\"POST\",body}).then(async response=>{const data=await response.json().catch(()=>({}));if(!response.ok||!data.secure_url){throw new Error(data?.error?.message||`Upload failed for ${file.name}`);}return{name:file.name,url:data.secure_url};});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FormFileUpload(props){const{cloudName=\"\",uploadPreset=\"\",fieldName=\"uploaded_files\",label=\"UPLOAD FILES\",description=\"Share any relevant documents, existing plans, proposed drawings, photos. (.PDF, .JPG, .PNG, .DWG)\",buttonLabel=\"choose files\",maxFiles=5,maxFileSize=25,required=false,theme=\"light\",style}=props;const isDark=theme===\"dark\";const textColor=isDark?\"rgb(255, 255, 255)\":\"rgb(0, 0, 0)\";const labelColor=isDark?textColor:\"rgb(135, 135, 135)\";const fieldBackground=isDark?\"rgb(52, 52, 52)\":\"rgb(255, 255, 255)\";const idleBorderColor=isDark?\"rgb(52, 52, 52)\":\"rgb(255, 255, 255)\";const hoverBorderColor=isDark?\"rgb(125, 125, 125)\":\"rgb(120, 120, 120)\";const focusBorderColor=textColor;const errorColor=isDark?\"rgb(238, 112, 112)\":\"rgb(150, 35, 35)\";const rootRef=React.useRef(null);const inputRef=React.useRef(null);const[uploadState,setUploadState]=React.useState(\"idle\");const[uploadedFiles,setUploadedFiles]=React.useState([]);const[status,setStatus]=React.useState(\"\");const[dragging,setDragging]=React.useState(false);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const processFiles=React.useCallback(async files=>{const limitedFiles=files.slice(0,maxFiles);if(!limitedFiles.length)return;const invalidType=limitedFiles.find(file=>!ACCEPTED_EXTENSIONS.includes(extensionOf(file.name)));if(invalidType){setUploadState(\"error\");setStatus(\"Use PDF, JPG, PNG, or DWG files only.\");return;}const maxBytes=maxFileSize*1024*1024;const oversized=limitedFiles.find(file=>file.size>maxBytes);if(oversized){setUploadState(\"error\");setStatus(`Each file must be smaller than ${maxFileSize} MB.`);return;}if(!cloudName.trim()||!uploadPreset.trim()){setUploadState(\"error\");setStatus(\"File upload is not configured yet.\");return;}setUploadState(\"uploading\");setUploadedFiles([]);setStatus(`Uploading 1 of ${limitedFiles.length}…`);try{const completed=[];for(let index=0;index<limitedFiles.length;index++){setStatus(`Uploading ${index+1} of ${limitedFiles.length}…`);completed.push(await uploadToCloudinary(limitedFiles[index],cloudName.trim(),uploadPreset.trim()));}setUploadedFiles(completed);setUploadState(\"success\");setStatus(`${completed.length} file${completed.length===1?\"\":\"s\"} ready`);}catch(error){setUploadedFiles([]);setUploadState(\"error\");setStatus(error instanceof Error?error.message:\"Upload failed. Try again.\");}},[cloudName,maxFileSize,maxFiles,uploadPreset]);React.useEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;const form=rootRef.current?.closest(\"form\");if(!form)return;const validateUpload=event=>{if(uploadState===\"uploading\"){event.preventDefault();event.stopPropagation();setUploadState(\"error\");setStatus(\"Wait for the upload to finish before submitting.\");return;}if(required&&uploadedFiles.length===0){event.preventDefault();event.stopPropagation();setUploadState(\"error\");setStatus(\"Please upload at least one file.\");}};form.addEventListener(\"submit\",validateUpload,true);return()=>form.removeEventListener(\"submit\",validateUpload,true);},[isCanvas,required,uploadState,uploadedFiles.length]);const displayText=isCanvas?buttonLabel:uploadState===\"uploading\"?status:uploadState===\"success\"?status:buttonLabel;const fileUrls=uploadedFiles.map(file=>file.url).join(\"\\n\");const fileNames=uploadedFiles.map(file=>file.name).join(\", \");return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,\"data-form-file-upload\":true,style:{...style,position:\"relative\",width:\"100%\",height:\"auto\",boxSizing:\"border-box\",...{containerType:\"inline-size\"},fontFamily:'\"Plus Jakarta Sans\", sans-serif'},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                [data-form-file-upload] .upload-layout {\n                    display: grid;\n                    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n                    gap: 16px;\n                    align-items: end;\n                    width: 100%;\n                }\n                [data-form-file-upload\u001d .upload-description { order: 1; }\n                [data-form-file-upload] .upload-control { order: 2; }\n                [data-form-file-upload\u001d .upload-field:hover {\n                    border-color: ${hoverBorderColor} !important;\n                }\n                [data-form-file-upload] .upload-field:focus-within {\n                    border-color: ${focusBorderColor} !important;\n                }\n                @container (max-width: 480px) {\n                    [data-form-file-upload\u001d .upload-layout {\n                        grid-template-columns: minmax(0, 1fr);\n                        gap: 26px;\n                    }\n                    [data-form-file-upload] .upload-description { order: 2; }\n                    [data-form-file-upload] .upload-control { order: 1; }\n                }\n            `}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:fieldName,value:fileUrls,readOnly:true}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:`${fieldName}_names`,value:fileNames,readOnly:true}),/*#__PURE__*/_jsxs(\"div\",{className:\"upload-layout\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"upload-description\",style:{margin:0,fontSize:12,fontWeight:200,fontVariationSettings:'\"wght\" 200',lineHeight:\"17px\",letterSpacing:\"-0.01em\",color:textColor},children:description}),/*#__PURE__*/_jsxs(\"div\",{className:\"upload-control\",style:{display:\"flex\",flexDirection:\"column\",gap:10,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,fontWeight:200,fontVariationSettings:'\"wght\" 200',lineHeight:\"1.2em\",letterSpacing:\"0.03em\",textTransform:\"uppercase\",color:labelColor},children:label}),/*#__PURE__*/_jsxs(\"div\",{className:\"upload-field\",onDragEnter:event=>{event.preventDefault();setDragging(true);},onDragOver:event=>event.preventDefault(),onDragLeave:()=>setDragging(false),onDrop:event=>{event.preventDefault();setDragging(false);if(!isCanvas)processFiles(Array.from(event.dataTransfer.files));},style:{position:\"relative\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:25,padding:\"0px 12px\",boxSizing:\"border-box\",overflow:\"hidden\",background:fieldBackground,borderStyle:\"solid\",borderWidth:1,borderColor:uploadState===\"error\"?\"rgb(170, 45, 45)\":dragging?focusBorderColor:idleBorderColor,borderRadius:\"0 0 0 10px\",transition:\"border-color 160ms ease\"},children:[/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"file\",multiple:true,accept:ACCEPT_ATTRIBUTE,\"aria-label\":label,disabled:isCanvas||uploadState===\"uploading\",onChange:event=>{if(!isCanvas)processFiles(Array.from(event.target.files??[]));event.target.value=\"\";},style:{position:\"absolute\",width:1,height:1,opacity:0,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",disabled:isCanvas||uploadState===\"uploading\",onClick:()=>inputRef.current?.click(),style:{minWidth:160,maxWidth:\"90%\",height:21,padding:\"0px 18px\",overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",background:fieldBackground,border:`1px solid ${textColor}`,borderRadius:5,color:textColor,font:\"inherit\",fontSize:14,fontWeight:300,lineHeight:\"1em\",cursor:isCanvas||uploadState===\"uploading\"?\"default\":\"pointer\"},children:displayText})]}),!isCanvas&&uploadState===\"error\"&&/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontSize:11,lineHeight:\"1.35em\",color:errorColor},children:status})]})]})]});}addPropertyControls(FormFileUpload,{cloudName:{type:ControlType.String,title:\"Cloud Name\",defaultValue:\"\",placeholder:\"Cloudinary cloud name\"},uploadPreset:{type:ControlType.String,title:\"Upload Preset\",defaultValue:\"\",placeholder:\"Unsigned upload preset\"},fieldName:{type:ControlType.String,title:\"Field Name\",defaultValue:\"uploaded_files\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"UPLOAD FILES\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Share any relevant documents, existing plans, proposed drawings, photos. (.PDF, .JPG, .PNG, .DWG)\",displayTextArea:true},buttonLabel:{type:ControlType.String,title:\"Button Label\",defaultValue:\"choose files\"},maxFiles:{type:ControlType.Number,title:\"Max Files\",defaultValue:5,min:1,max:10,step:1,displayStepper:true},maxFileSize:{type:ControlType.Number,title:\"Max File MB\",defaultValue:25,min:1,max:100,step:1,displayStepper:true},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},theme:{type:ControlType.Enum,title:\"Theme\",options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"],defaultValue:\"light\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormFileUpload\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormFileUpload.map"],"mappings":"0YAC+rB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,+CAA7zB,IAA2I,IAAkE,IAA4B,EAAiC,EAAgB,EAA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