{"version":3,"file":"mx6AcxWCQ.LlDCucJr.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/aWvELYP20LGnRZ8xS56m/jN4l0IRgmUjAxYGF4LPo/mx6AcxWCQ.js"],"sourcesContent":["// Generated by Framer (94ad37d)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Download from\"https://framerusercontent.com/modules/kBkaj3LmBqcSU2IkUsBC/uaFLaKvU3aNJkwvPcVLe/Download.js\";const DownloadFonts=getFonts(Download);const DownloadControls=getPropertyControls(Download);const enabledGestures={crIahTrOn:{hover:true}};const serializationHash=\"framer-GgKPl\";const variantClassNames={crIahTrOn:\"framer-v-jnmno7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const ovkC77PbI=undefined;const mWvFyKp0j=undefined;const MEikLaKiO=undefined;const transition1={bounce:.2,delay:0,duration:.4,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=({fileSource,fileUpload,height,id,title,width,...props})=>{return{...props,MEikLaKiO:fileUpload??props.MEikLaKiO,mWvFyKp0j:fileSource??props.mWvFyKp0j??\"Upload\",ovkC77PbI:title??props.ovkC77PbI??\"Document title\"};};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,ovkC77PbI,mWvFyKp0j,MEikLaKiO,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"crIahTrOn\",enabledGestures,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-jnmno7\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"crIahTrOn\",ref:refBinding,style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,...style},...addPropertyOverrides({\"crIahTrOn-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-8yrbey-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"kGDQjROzH-container\",nodeId:\"kGDQjROzH\",rendersWithMotion:true,scopeId:\"mx6AcxWCQ\",children:/*#__PURE__*/_jsx(Download,{fontControl:{fontFamily:'\"Roobert Medium\", \"Roobert Medium Placeholder\", sans-serif',fontSize:\"16px\",fontStyle:\"normal\",fontWeight:500,letterSpacing:\"0em\",lineHeight:\"1em\"},height:\"100%\",hoverOptions:{backgroundColor:\"var(--token-38b58682-f5c0-414f-9e6f-a9c259457edf, rgba(0, 0, 0, 0.2))\",color:\"var(--token-4e6063b2-3c2e-4783-bd50-17b50bb67b6e, rgb(0, 0, 0))\",scale:1,transition:{damping:30,delay:0,mass:1,stiffness:400,type:\"spring\"}},iconOptions:{alignment:\"start\",color:\"var(--token-8faf3d0b-8200-4a09-a7d6-b1e48b28ea83, rgba(0, 0, 0, 0.6))\",size:16,type:\"Default\"},id:\"kGDQjROzH\",layoutId:\"kGDQjROzH\",srcFile:MEikLaKiO,srcType:mWvFyKp0j,srcURL:\"\",style:{width:\"100%\"},styleOptions:{backgroundColor:\"var(--token-99eafb74-c63e-4331-bd2f-78c897f58fd5, rgba(0, 0, 0, 0.15))\",borderRadius:8,color:\"var(--token-8faf3d0b-8200-4a09-a7d6-b1e48b28ea83, rgba(0, 0, 0, 0.6))\",gap:8,padding:12,paddingBottom:12,paddingLeft:12,paddingPerSide:false,paddingRight:12,paddingTop:12},text:ovkC77PbI,width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-GgKPl.framer-16ognwf, .framer-GgKPl .framer-16ognwf { display: block; }\",\".framer-GgKPl.framer-jnmno7 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 320px; will-change: var(--framer-will-change-override, transform); }\",\".framer-GgKPl .framer-8yrbey-container { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 320\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"tw92ZiXHd\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"ovkC77PbI\":\"title\",\"mWvFyKp0j\":\"fileSource\",\"MEikLaKiO\":\"fileUpload\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framermx6AcxWCQ=withCSS(Component,css,\"framer-GgKPl\");export default Framermx6AcxWCQ;Framermx6AcxWCQ.displayName=\"Components/Buttons/Download/Default\";Framermx6AcxWCQ.defaultProps={height:40,width:320};addPropertyControls(Framermx6AcxWCQ,{ovkC77PbI:{defaultValue:\"Document title\",displayTextArea:false,title:\"Title\",type:ControlType.String},mWvFyKp0j:DownloadControls?.[\"srcType\"]&&{...DownloadControls[\"srcType\"],defaultValue:\"Upload\",description:undefined,hidden:undefined,title:\"File source\"},MEikLaKiO:DownloadControls?.[\"srcFile\"]&&{...DownloadControls[\"srcFile\"],__defaultAssetReference:\"\",description:undefined,hidden:undefined,title:\"File upload\"}});addFonts(Framermx6AcxWCQ,[{explicitInter:true,fonts:[{cssFamilyName:\"Roobert Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Roobert\",url:\"https://framerusercontent.com/assets/x0cxKjkLAN5SkHUHODrsLuA0SQ.woff2\",weight:\"500\"}]},...DownloadFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framermx6AcxWCQ\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"320\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"ovkC77PbI\\\":\\\"title\\\",\\\"mWvFyKp0j\\\":\\\"fileSource\\\",\\\"MEikLaKiO\\\":\\\"fileUpload\\\"}\",\"framerIntrinsicHeight\":\"40\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"tw92ZiXHd\\\":{\\\"layout\\\":[\\\"fixed\\\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