{"version":3,"file":"FileUploadInput.COaGwxme.mjs","names":["serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","useRef","React.useId","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","useRef","useState","accept"],"sources":["https:/framerusercontent.com/modules/mkb2CpSF3UhDFpPQHNPp/yemIa9KTBX86biHcdW2Q/qbKeuLE_J.js","https:/framerusercontent.com/modules/dLQpm09fGGP2FPvzwoBY/FvKtifs6XwIFhQrI1evu/XbNejBF5d.js","https:/framerusercontent.com/modules/a2akGmNkSLpd1jQmPvoC/2W6Ak4S65afpVfQZ92F4/FileUploadInput.js"],"sourcesContent":["// Generated by Framer (bab6da3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,FormBooleanInput,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const serializationHash=\"framer-cUYow\";const variantClassNames={vtOC5rYub:\"framer-v-ludul1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};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 Variants=motion.create(React.Fragment);const getProps=({checked,height,id,name1,value,width,...props})=>{return{...props,m0JPUjk1x:name1??props.m0JPUjk1x??\"Radio\",ochdGJlnz:value??props.ochdGJlnz??\"Option 1\",WG05JwuFj:checked??props.WG05JwuFj};};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,m0JPUjk1x,ochdGJlnz,WG05JwuFj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"vtOC5rYub\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-ludul1\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"vtOC5rYub\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(FormBooleanInput,{className:\"framer-q3t9qh\",defaultChecked:WG05JwuFj,defaultValue:ochdGJlnz,inputName:m0JPUjk1x,layoutDependency:layoutDependency,layoutId:\"QGFZFnYx_\",style:{\"--framer-input-background\":\"rgb(255, 255, 255)\",\"--framer-input-boolean-checked-background\":\"rgb(255, 255, 255)\",\"--framer-input-boolean-checked-border-color\":\"var(--token-36db49d3-d72f-403e-8d33-52a82ad85813, rgb(0, 102, 255))\",\"--framer-input-boolean-checked-border-style\":\"solid\",\"--framer-input-boolean-checked-border-width\":\"1px\",\"--framer-input-boolean-checked-box-shadow\":\"inset 0px 0px 0px 5px var(--token-36db49d3-d72f-403e-8d33-52a82ad85813, rgb(0, 102, 255))\",\"--framer-input-border-bottom-width\":\"1px\",\"--framer-input-border-color\":\"var(--token-d62ffd6d-0365-4204-85b2-674429fa3b78, rgb(230, 231, 232))\",\"--framer-input-border-left-width\":\"1px\",\"--framer-input-border-radius-bottom-left\":\"12px\",\"--framer-input-border-radius-bottom-right\":\"12px\",\"--framer-input-border-radius-top-left\":\"12px\",\"--framer-input-border-radius-top-right\":\"12px\",\"--framer-input-border-right-width\":\"1px\",\"--framer-input-border-style\":\"solid\",\"--framer-input-border-top-width\":\"1px\",\"--framer-input-box-shadow\":\"inset 0px 2px 2px 0px var(--token-d62ffd6d-0365-4204-85b2-674429fa3b78, rgb(230, 231, 232))\",\"--framer-input-icon-mask-image\":\"none\"},type:\"radio\"})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-cUYow.framer-1f1mbvq, .framer-cUYow .framer-1f1mbvq { display: block; }\",\".framer-cUYow.framer-ludul1 { height: 24px; overflow: visible; position: relative; width: 24px; }\",\".framer-cUYow .framer-q3t9qh { --framer-input-focused-border-color: var(--token-36db49d3-d72f-403e-8d33-52a82ad85813, #0066ff); --framer-input-focused-border-style: solid; --framer-input-focused-border-width: 1px; aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); left: 0px; position: absolute; right: 0px; top: 0px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 24\n * @framerIntrinsicWidth 24\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"m0JPUjk1x\":\"name1\",\"ochdGJlnz\":\"value\",\"WG05JwuFj\":\"checked\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerqbKeuLE_J=withCSS(Component,css,\"framer-cUYow\");export default FramerqbKeuLE_J;FramerqbKeuLE_J.displayName=\"Input/Radio\";FramerqbKeuLE_J.defaultProps={height:24,width:24};addPropertyControls(FramerqbKeuLE_J,{m0JPUjk1x:{defaultValue:\"Radio\",title:\"Name\",type:ControlType.String},ochdGJlnz:{defaultValue:\"Option 1\",title:\"Value\",type:ControlType.String},WG05JwuFj:{defaultValue:false,title:\"Checked\",type:ControlType.Boolean}});addFonts(FramerqbKeuLE_J,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerqbKeuLE_J\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"24\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"m0JPUjk1x\\\":\\\"name1\\\",\\\"ochdGJlnz\\\":\\\"value\\\",\\\"WG05JwuFj\\\":\\\"checked\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./qbKeuLE_J.map","// Generated by Framer (9f55354)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,FormBooleanInput,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const serializationHash=\"framer-lf56C\";const variantClassNames={D7py7G3VU:\"framer-v-x4b6hr\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};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 Variants=motion.create(React.Fragment);const getProps=({checked,height,id,name1,required,width,...props})=>{return{...props,MAH2HcCWK:required??props.MAH2HcCWK,RHcUSpBQe:checked??props.RHcUSpBQe,RJQPnHXgH:name1??props.RJQPnHXgH??\"Newsletter\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,RJQPnHXgH,RHcUSpBQe,MAH2HcCWK,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"D7py7G3VU\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-x4b6hr\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"D7py7G3VU\",ref:ref??ref1,style:{...style},children:/*#__PURE__*/_jsx(FormBooleanInput,{className:\"framer-1085k2f\",defaultChecked:RHcUSpBQe,inputName:RJQPnHXgH,layoutDependency:layoutDependency,layoutId:\"BfrcYO72a\",required:MAH2HcCWK,style:{\"--framer-input-background\":\"rgb(255, 255, 255)\",\"--framer-input-boolean-checked-background\":\"var(--token-36db49d3-d72f-403e-8d33-52a82ad85813, rgb(0, 102, 255))\",\"--framer-input-boolean-checked-border-color\":\"var(--token-94b9c18f-67cc-4656-9f74-67bcd6896c60, rgb(0, 71, 179))\",\"--framer-input-boolean-checked-border-style\":\"solid\",\"--framer-input-boolean-checked-border-width\":\"1px\",\"--framer-input-boolean-checked-box-shadow\":\"inset 0px 0px 10px 0px var(--token-36db49d3-d72f-403e-8d33-52a82ad85813, rgb(0, 102, 255))\",\"--framer-input-border-bottom-width\":\"1px\",\"--framer-input-border-color\":\"var(--token-d62ffd6d-0365-4204-85b2-674429fa3b78, rgb(230, 231, 232))\",\"--framer-input-border-left-width\":\"1px\",\"--framer-input-border-radius-bottom-left\":\"6px\",\"--framer-input-border-radius-bottom-right\":\"6px\",\"--framer-input-border-radius-top-left\":\"6px\",\"--framer-input-border-radius-top-right\":\"6px\",\"--framer-input-border-right-width\":\"1px\",\"--framer-input-border-style\":\"solid\",\"--framer-input-border-top-width\":\"1px\",\"--framer-input-box-shadow\":\"inset 0px 2px 2px 0px var(--token-d62ffd6d-0365-4204-85b2-674429fa3b78, rgb(230, 231, 232))\",\"--framer-input-icon-color\":\"rgb(255, 255, 255)\"},type:\"checkbox\"})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-lf56C.framer-xgxx1i, .framer-lf56C .framer-xgxx1i { display: block; }\",\".framer-lf56C.framer-x4b6hr { height: 24px; overflow: visible; position: relative; width: 24px; }\",\".framer-lf56C .framer-1085k2f { --framer-input-boolean-checked-transition: all 0.3s cubic-bezier(0.44,0,0.56,1) 0s; --framer-input-focused-border-color: var(--token-36db49d3-d72f-403e-8d33-52a82ad85813, #0066ff); --framer-input-focused-border-style: solid; --framer-input-focused-border-width: 2px; --framer-input-focused-box-shadow: 0px 0px 10px 0px rgba(0, 102, 255, 0.3); aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); left: 0px; position: absolute; right: 0px; top: 0px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 24\n * @framerIntrinsicWidth 24\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"RJQPnHXgH\":\"name1\",\"RHcUSpBQe\":\"checked\",\"MAH2HcCWK\":\"required\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerXbNejBF5d=withCSS(Component,css,\"framer-lf56C\");export default FramerXbNejBF5d;FramerXbNejBF5d.displayName=\"Input/Checkbox\";FramerXbNejBF5d.defaultProps={height:24,width:24};addPropertyControls(FramerXbNejBF5d,{RJQPnHXgH:{defaultValue:\"Newsletter\",title:\"Name\",type:ControlType.String},RHcUSpBQe:{defaultValue:false,title:\"Checked\",type:ControlType.Boolean},MAH2HcCWK:{defaultValue:false,title:\"Required\",type:ControlType.Boolean}});addFonts(FramerXbNejBF5d,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXbNejBF5d\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"24\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"RJQPnHXgH\\\":\\\"name1\\\",\\\"RHcUSpBQe\\\":\\\"checked\\\",\\\"MAH2HcCWK\\\":\\\"required\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./XbNejBF5d.map","// Drag and drop file upload input that attaches to a form and submits the file with the form\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useState,useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Drag and Drop File Upload Input\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FileUploadInput(props){const{label,accept,background,borderColor,borderRadius,font,style,textColor,apiKey}=props;const inputRef=useRef(null);const[dragActive,setDragActive]=useState(false);const[files,setFiles]=useState([]);const[isClient,setIsClient]=useState(false);useEffect(()=>{setIsClient(typeof window!==\"undefined\");},[]);function handleDrag(e){e.preventDefault();e.stopPropagation();if(e.type===\"dragenter\"||e.type===\"dragover\"){startTransition(()=>setDragActive(true));}else if(e.type===\"dragleave\"){startTransition(()=>setDragActive(false));}}function handleDrop(e){e.preventDefault();e.stopPropagation();startTransition(()=>setDragActive(false));if(e.dataTransfer.files&&e.dataTransfer.files.length>0){const file=e.dataTransfer.files[0];const maxBytes=(props.maxFileSize||5)*1024*1024;// Accept check\nconst accept=(props.accept||\"\").split(\",\").map(s=>s.trim()).filter(Boolean);let valid=true;if(accept.length>0){valid=accept.some(pattern=>{if(pattern.startsWith(\".\")){// Extension\nreturn file.name.toLowerCase().endsWith(pattern.toLowerCase());}else if(pattern.includes(\"/\")){// MIME type\nreturn file.type===pattern;}return false;});}if(!valid){setFiles([{name:file.name,progress:0,status:\"size-error\",error:props.fileFormatErrorMessage||`File format not supported.`}]);return;}if(file.size>maxBytes){setFiles([{name:file.name,progress:0,status:\"size-error\",error:(props.fileSizeErrorMessage||`File too large. Max size is {max}MB`).replace(\"{max}\",String(props.maxFileSize||5))}]);return;}const newFile={name:file.name,progress:0,status:\"idle\",url:undefined,error:undefined,startTime:undefined,estimatedTime:undefined};setFiles([newFile]);uploadFile(file,0);}}async function handleChange(e){if(e.target.files&&e.target.files.length>0){const file=e.target.files[0];const maxBytes=(props.maxFileSize||5)*1024*1024;// Accept check\nconst accept=(props.accept||\"\").split(\",\").map(s=>s.trim()).filter(Boolean);let valid=true;if(accept.length>0){valid=accept.some(pattern=>{if(pattern.startsWith(\".\")){// Extension\nreturn file.name.toLowerCase().endsWith(pattern.toLowerCase());}else if(pattern.includes(\"/\")){// MIME type\nreturn file.type===pattern;}return false;});}if(!valid){setFiles([{name:file.name,progress:0,status:\"size-error\",error:props.fileFormatErrorMessage||`File format not supported.`}]);return;}if(file.size>maxBytes){setFiles([{name:file.name,progress:0,status:\"size-error\",error:(props.fileSizeErrorMessage||`File too large. Max size is {max}MB`).replace(\"{max}\",String(props.maxFileSize||5))}]);return;}const newFile={name:file.name,progress:0,status:\"idle\",url:undefined,error:undefined,startTime:undefined,estimatedTime:undefined};setFiles([newFile]);uploadFile(file,0);}}async function uploadFile(file,index){const urlEndpoint=\"https://api.imgbb.com/1/upload\";const keyToUse=apiKey||\"e7dd78b9936e60df815c91e99b9e5b03\";try{const formData=new FormData;formData.append(\"image\",file);formData.append(\"key\",keyToUse);// Use XMLHttpRequest for progress\nconst xhr=new XMLHttpRequest;xhr.open(\"POST\",urlEndpoint);let startTime=Date.now();xhr.upload.onprogress=event=>{if(event.lengthComputable){const percent=Math.round(event.loaded/event.total*100);const elapsed=(Date.now()-startTime)/1e3;const speed=event.loaded/elapsed// bytes/sec\n;const remaining=event.total-event.loaded;const estimatedTime=speed>0?remaining/speed:0;setFiles(prev=>{const updated=[...prev];updated[index]={...updated[index],progress:percent,status:\"uploading\",startTime,estimatedTime};return updated;});}};xhr.onload=()=>{if(xhr.status===200){const data=JSON.parse(xhr.responseText);const url=data&&data.data&&data.data.url?data.data.url:undefined;setFiles(prev=>{const updated=[...prev];updated[index]={...updated[index],progress:100,status:\"success\",url:url,estimatedTime:0};return updated;});}else{setFiles(prev=>{const updated=[...prev];updated[index]={...updated[index],status:\"error\",error:`Upload failed (${xhr.status})`};return updated;});}};xhr.onerror=()=>{setFiles(prev=>{const updated=[...prev];updated[index]={...updated[index],status:\"error\",error:\"Upload error\"};return updated;});};xhr.send(formData);setFiles(prev=>{const updated=[...prev];updated[index]={...updated[index],status:\"uploading\",startTime};return updated;});}catch(err){setFiles(prev=>{const updated=[...prev];updated[index]={...updated[index],status:\"error\",error:\"Upload error\"};return updated;});}}function handleClick(){if(inputRef.current)inputRef.current.click();}function handleSubmit(e){// Allow the form to submit normally, and ensure the file input is included\n// Optionally, you can handle the file upload here if you want to do AJAX\n// For now, just let the form submit\n}const{borderWidth=2,borderType=\"dashed\"}=props;const borderStyle=`${borderWidth}px ${borderType} ${borderColor}`;const hasFiles=files.length>0;return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",background,border:borderStyle,borderRadius,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",transition:\"border 0.2s\",...font},onClick:handleClick,onDragEnter:handleDrag,onDragOver:handleDrag,onDragLeave:handleDrag,onDrop:handleDrop,tabIndex:0,role:\"button\",\"aria-label\":\"File upload dropzone\",children:[/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"file\",accept:accept,name:\"file\",style:{opacity:0,position:\"absolute\",left:0,top:0,width:\"100%\",height:\"100%\",pointerEvents:\"none\"},onChange:handleChange,tabIndex:-1}),(!hasFiles||files[0]&&files[0].status!==\"success\"&&files[0].status!==\"uploading\"&&files[0].status!==\"size-error\")&&/*#__PURE__*/_jsx(\"span\",{style:{pointerEvents:\"none\",opacity:.8,color:textColor},children:label}),files[0]&&files[0].status===\"size-error\"&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#D00\",fontSize:13,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",textAlign:\"center\",pointerEvents:\"none\",opacity:.8},children:files[0].error}),files[0]&&files[0].status===\"uploading\"&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",animation:\"pulse-light 1.2s infinite\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:props.textColor,fontWeight:props.font?.fontWeight||600,fontSize:props.font?.fontSize||20,letterSpacing:props.font?.letterSpacing,lineHeight:props.font?.lineHeight,textAlign:props.font?.textAlign,pointerEvents:\"none\",zIndex:2},children:\"Uploading...\"}),/*#__PURE__*/_jsx(\"style\",{children:`\n                            @keyframes pulse-light {\n                                0% { filter: brightness(1); }\n                                50% { filter: brightness(1.15); }\n                                100% { filter: brightness(1); }\n                            }\n                        `})]}),isClient&&hasFiles&&files[0]&&files[0].status===\"success\"&&files[0].url&&/*#__PURE__*/_jsx(\"div\",{style:{margin:0,width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"#fff\",borderRadius:8,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"img\",{src:files[0].url,alt:files[0].name,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",borderRadius:8,background:\"#f5f5f5\",maxHeight:\"100%\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Delete image\",onClick:e=>{e.stopPropagation();setFiles([]);if(inputRef.current)inputRef.current.value=\"\";},style:{position:\"absolute\",top:8,right:8,background:\"rgba(0,0,0,0.6)\",border:\"none\",borderRadius:\"50%\",width:32,height:32,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",zIndex:2},children:props.deleteIcon?/*#__PURE__*/_jsx(\"img\",{src:props.deleteIcon,alt:\"Delete\",style:{width:14,height:14,objectFit:\"contain\"}}):/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 20 20\",fill:\"none\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"5\",y:\"7\",width:\"10\",height:\"8\",rx:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 7h14M8 7V5a2 2 0 0 1 2-2v0a2 2 0 0 1 2 2v2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"10\",y1:\"11\",x2:\"10\",y2:\"15\"})]})}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:props.inputName||\"fileUrl_0\",value:files[0].url})]})})]})});}addPropertyControls(FileUploadInput,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Drag & drop files here or click to select\"},accept:{type:ControlType.String,title:\"Accept\",defaultValue:\"\",placeholder:\"e.g. .jpg,.png,.pdf\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F5\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#0066FF\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:2,min:1,max:8,step:1,unit:\"px\"},borderType:{type:ControlType.Enum,title:\"Border Style\",options:[\"solid\",\"dashed\",\"dotted\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\"],defaultValue:\"dashed\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#222222\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},apiKey:{type:ControlType.String,title:\"API Key\",placeholder:\"Paste your imgbb API key here\",description:\"Create an account and generate your API key at https://api.imgbb.com/\",defaultValue:\"e7dd78b9936e60df815c91e99b9e5b03\"},deleteIcon:{type:ControlType.File,allowedFileTypes:[\"svg\",\"png\"],title:\"Delete Icon\",description:\"Upload a custom SVG or PNG icon for the delete button.\"},maxFileSize:{type:ControlType.Number,title:\"Max File Size (MB)\",defaultValue:5,min:1,max:50,step:1,unit:\"MB\",description:\"Maximum allowed file size in megabytes.\"},fileSizeErrorMessage:{type:ControlType.String,title:\"File Size Error Message\",defaultValue:\"File too large. Max size is {max}MB\",description:\"Use {max} as a placeholder for the max file size.\"},fileFormatErrorMessage:{type:ControlType.String,title:\"File Format Error Message\",defaultValue:\"File format not supported.\"},inputName:{type:ControlType.String,title:\"Input Name\",defaultValue:\"fileUrl_0\",description:\"Name of the hidden input field for the uploaded image URL.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FileUploadInput\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FileUploadInput.map"],"mappings":"8YAC2C,IAA4I,IAAkE,IAA4B,CAAgCA,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,kBAAkB,CAA8LC,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAOC,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAASC,EAAS,EAAO,OAAOC,EAAe,CAAOC,GAAU,CAAC,UAAQ,SAAO,KAAG,QAAM,QAAM,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAO,EAAM,WAAW,QAAQ,UAAU,GAAO,EAAM,WAAW,WAAW,UAAU,GAAS,EAAM,UAAU,EAASC,GA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