{"version":3,"file":"Download.DZa-o7Ri.mjs","names":["addPropertyOverrides","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","React.useRef","React.useId","SVG","Cross","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/fFWiHvHocd3X91q7OwE0/roXTzUdtQkz3kM1MYlPj/jp4yKrHgW.js","https:/framerusercontent.com/modules/FmNKOv6oxDVGuK6U38p8/a16z1VMvxjX7Ulvh41gb/NUgoGXE1T.js","https:/framerusercontent.com/modules/kBkaj3LmBqcSU2IkUsBC/uaFLaKvU3aNJkwvPcVLe/Download.js"],"sourcesContent":["// Generated by Framer (aa1abb7)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,SVG,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={yT2hoWiuL:{hover:true}};const serializationHash=\"framer-QinNg\";const variantClassNames={yT2hoWiuL:\"framer-v-j8jcqj\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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=({click,height,id,width,...props})=>{return{...props,OUCrHplmI:click??props.OUCrHplmI};};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,OUCrHplmI,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"yT2hoWiuL\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTaptvrj6o=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(OUCrHplmI){const res=await OUCrHplmI(...args);if(res===false)return false;}});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-j8jcqj\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"yT2hoWiuL\",onTap:onTaptvrj6o,ref:ref??ref1,style:{backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50,...style},variants:{\"yT2hoWiuL-hover\":{backgroundColor:\"rgba(0, 0, 0, 0.03)\"}},...addPropertyOverrides({\"yT2hoWiuL-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1tnw2ei\",\"data-framer-name\":\"Close\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"keOGXnbZH\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 13 13\"><path d=\"M 0.572 0.335 L 12.661 12.693 M 12.661 0.335 L 0.572 12.693\" fill=\"transparent\" stroke-width=\"1.53\" stroke=\"rgb(207, 207, 207)\" stroke-miterlimit=\"10\"></path></svg>',svgContentId:8595973993,withExternalLayout:true})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-QinNg.framer-wqr1p0, .framer-QinNg .framer-wqr1p0 { display: block; }\",\".framer-QinNg.framer-j8jcqj { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 32px; justify-content: center; overflow: hidden; padding: 10px; position: relative; width: 32px; will-change: var(--framer-will-change-override, transform); }\",\".framer-QinNg .framer-1tnw2ei { flex: none; height: 13px; position: relative; width: 13px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-QinNg.framer-j8jcqj { gap: 0px; } .framer-QinNg.framer-j8jcqj > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-QinNg.framer-j8jcqj > :first-child { margin-left: 0px; } .framer-QinNg.framer-j8jcqj > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 32\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"W293FBHUA\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"OUCrHplmI\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerjp4yKrHgW=withCSS(Component,css,\"framer-QinNg\");export default Framerjp4yKrHgW;Framerjp4yKrHgW.displayName=\"cross\";Framerjp4yKrHgW.defaultProps={height:32,width:32};addPropertyControls(Framerjp4yKrHgW,{OUCrHplmI:{title:\"Click\",type:ControlType.EventHandler}});addFonts(Framerjp4yKrHgW,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerjp4yKrHgW\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"OUCrHplmI\\\":\\\"click\\\"}\",\"framerIntrinsicWidth\":\"32\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"W293FBHUA\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"32\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./jp4yKrHgW.map","// Generated by Framer (a1ad18b)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Cross from\"https://framerusercontent.com/modules/fFWiHvHocd3X91q7OwE0/roXTzUdtQkz3kM1MYlPj/jp4yKrHgW.js\";const CrossFonts=getFonts(Cross);const cycleOrder=[\"pkdT1PAdR\",\"QCuw8APK1\"];const serializationHash=\"framer-av838\";const variantClassNames={pkdT1PAdR:\"framer-v-1buijhm\",QCuw8APK1:\"framer-v-1kfrwns\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const iIg040F1D=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;const transformTemplate2=(_,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={\"Variant 2\":\"QCuw8APK1\",Desktop:\"pkdT1PAdR\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,width,...props})=>{return{...props,iIg040F1D:click??props.iIg040F1D,variant:humanReadableVariantMap[props.variant]??props.variant??\"pkdT1PAdR\"};};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,iIg040F1D,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"pkdT1PAdR\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const OUCrHplmI1pzkv8i=activeVariantCallback(async(...args)=>{if(iIg040F1D){const res=await iIg040F1D(...args);if(res===false)return false;}setVariant(\"QCuw8APK1\");});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-1buijhm\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"pkdT1PAdR\",ref:refBinding,style:{...style},...addPropertyOverrides({QCuw8APK1:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-15h267s\",layoutDependency:layoutDependency,layoutId:\"cdQ3ENbwv\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:60,borderBottomRightRadius:60,borderTopLeftRadius:60,borderTopRightRadius:60,boxShadow:\"0px 0.6021873017743928px 1.5656869846134214px -1.0833333333333333px rgba(0, 0, 0, 0.16), 0px 2.288533303243457px 5.950186588432988px -2.1666666666666665px rgba(0, 0, 0, 0.15), 0px 10px 26px -3.25px rgba(0, 0, 0, 0.09)\",opacity:1},transformTemplate:transformTemplate1,variants:{QCuw8APK1:{opacity:0}},...addPropertyOverrides({QCuw8APK1:{transformTemplate:transformTemplate2}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1ttjkyx\",layoutDependency:layoutDependency,layoutId:\"u6ylXSRXb\"}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:32,width:\"32px\",y:(componentViewport?.y||0)+((componentViewport?.height||59)*.49090909090909113-31)+15,...addPropertyOverrides({QCuw8APK1:{y:(componentViewport?.y||0)+72+15}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1eg0t6t-container\",layoutDependency:layoutDependency,layoutId:\"XQpCRXJuE-container\",nodeId:\"XQpCRXJuE\",rendersWithMotion:true,scopeId:\"NUgoGXE1T\",children:/*#__PURE__*/_jsx(Cross,{height:\"100%\",id:\"XQpCRXJuE\",layoutId:\"XQpCRXJuE\",OUCrHplmI:OUCrHplmI1pzkv8i,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-av838.framer-xbgtxg, .framer-av838 .framer-xbgtxg { display: block; }\",\".framer-av838.framer-1buijhm { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; min-height: 59px; overflow: visible; padding: 0px; position: relative; width: 234px; }\",\".framer-av838 .framer-15h267s { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 25px; height: min-content; justify-content: center; left: 50%; overflow: hidden; padding: 11px 10px 11px 20px; position: absolute; top: 49%; width: min-content; will-change: var(--framer-will-change-override, transform); z-index: 1; }\",\".framer-av838 .framer-1ttjkyx { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 186px; }\",\".framer-av838 .framer-1eg0t6t-container { flex: none; height: 32px; position: relative; width: 32px; }\",\".framer-av838.framer-v-1kfrwns .framer-15h267s { top: 72px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 59\n * @framerIntrinsicWidth 234\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"QCuw8APK1\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"iIg040F1D\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerNUgoGXE1T=withCSS(Component,css,\"framer-av838\");export default FramerNUgoGXE1T;FramerNUgoGXE1T.displayName=\"tp\";FramerNUgoGXE1T.defaultProps={height:59,width:234};addPropertyControls(FramerNUgoGXE1T,{variant:{options:[\"pkdT1PAdR\",\"QCuw8APK1\"],optionTitles:[\"Desktop\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},iIg040F1D:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerNUgoGXE1T,[{explicitInter:true,fonts:[]},...CrossFonts],{supportsExplicitInterCodegen:true});FramerNUgoGXE1T.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(Cross,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerNUgoGXE1T\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"59\",\"framerIntrinsicWidth\":\"234\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"iIg040F1D\\\":\\\"click\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"QCuw8APK1\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NUgoGXE1T.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useTracking}from\"framer\";import{motion}from\"framer-motion\";var IconType;(function(IconType){IconType[\"Default\"]=\"Default\";IconType[\"Custom\"]=\"Custom\";})(IconType||(IconType={}));var SrcType;(function(SrcType){SrcType[\"Upload\"]=\"Upload\";SrcType[\"URL\"]=\"URL\";})(SrcType||(SrcType={}));const metaTagSelector='meta[name=\"framer-search-index\"]';function isPublishedSiteOrSSG(){if(typeof document===\"undefined\")return true;const metaTag=document.querySelector(metaTagSelector);return!!metaTag;}/**\n *\n * DOWNLOAD\n * By Hunter\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 100\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Download(props){const{styleOptions,hoverOptions,iconOptions,trackingId,onClick}=props;const{backgroundColor,color,borderRadius,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,gap}=styleOptions;const track=useTracking();const isInPublishedSiteOrSSG=isPublishedSiteOrSSG();let downloadURL=undefined;if(isInPublishedSiteOrSSG){if(props.srcType===\"URL\")downloadURL=props.srcURL;if(props.srcType===\"Upload\")downloadURL=props.srcFile;}const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;const getIcon=()=>{if(!iconOptions)return;const iconStyle={order:iconOptions.alignment===\"start\"?0:2,flexShrink:0};return iconOptions.type===\"Custom\"&&!!iconOptions.image?.src?/*#__PURE__*/_jsx(\"img\",{style:iconStyle,alt:iconOptions.image?.alt&&iconOptions.image.alt.length>0?iconOptions.image.alt:\"download icon\",src:iconOptions.image.src,width:iconOptions.size,height:iconOptions.size}):/*#__PURE__*/_jsx(\"svg\",{style:iconStyle,xmlns:\"http://www.w3.org/2000/svg\",width:iconOptions.size,height:iconOptions.size,fill:iconOptions.color,viewBox:\"0 0 256 256\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M228 152v56a20 20 0 0 1-20 20H48a20 20 0 0 1-20-20v-56a12 12 0 0 1 24 0v52h152v-52a12 12 0 0 1 24 0Zm-108.49 8.49a12 12 0 0 0 17 0l40-40a12 12 0 0 0-17-17L140 123V40a12 12 0 0 0-24 0v83l-19.51-19.49a12 12 0 0 0-17 17Z\"})});};const getCursor=()=>{if(props.srcType===\"URL\"&&props.srcURL)return\"pointer\";if(props.srcType===\"Upload\"&&props.srcFile)return\"pointer\";return\"auto\";};const buttonTitle=isInPublishedSiteOrSSG?\"Download File\":\"Publish to Download\";const handleClick=e=>{if(trackingId)track(trackingId);onClick?.(e);// Do not prevent default; keep normal <a> behavior\n};return /*#__PURE__*/_jsxs(motion.a,{target:\"_blank\",href:downloadURL,download:props.downloadName??\"file.txt\",title:buttonTitle,style:{gap,fontSize:16,lineHeight:1,fontFamily:\"Inter\",fontWeight:500,width:\"max-content\",...props.style,...buttonStyles,...props.fontControl,padding:paddingValue,color:color,backgroundColor:backgroundColor,borderRadius:borderRadius,userSelect:\"none\",placeContent:flexAlignSwitch(props.fontControl),whiteSpace:\"nowrap\",cursor:getCursor()},whileHover:hoverOptions,transition:hoverOptions?.transition,onClick:handleClick,children:[getIcon(),props.text]});}Download.displayName=\"Download\";addPropertyControls(Download,{text:{title:\"Text\",type:ControlType.String,defaultValue:\"Download\"},srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[\"Upload\",\"URL\"]},srcURL:{type:ControlType.String,title:\" \",placeholder:\"../example.pdf\",hidden:props=>props.srcType===\"Upload\"},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"*\"],hidden:props=>props.srcType===\"URL\"},fontControl:{// @ts-ignore - Internal\ntype:ControlType.Font,title:\"Font\",controls:\"extended\"},trackingId:{title:\"Tracking\",type:ControlType.TrackingId,placeholder:\"ID\"},iconOptions:{type:ControlType.Object,optional:true,title:\"Icon\",buttonTitle:\"Size, Color\",controls:{type:{title:\"Type\",type:ControlType.Enum,options:Object.values(IconType),optionTitles:Object.values(IconType),displaySegmentedControl:true},color:{title:\"Color\",type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.type===\"Custom\"},image:{title:\"File\",type:ControlType.ResponsiveImage,allowedFileTypes:[\"jpg\",\"png\",\"svg\"],hidden:props=>props.type===\"Default\"},size:{type:ControlType.Number,displayStepper:true,min:5,defaultValue:16,max:250},alignment:{title:\"Align\",type:ControlType.Enum,displaySegmentedControl:true,options:[\"start\",\"end\"],optionTitles:[\"Start\",\"End\"]}}},styleOptions:{type:ControlType.Object,title:\"Styles\",buttonTitle:\"Button, Font\",controls:{backgroundColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#111\"},color:{type:ControlType.Color,defaultValue:\"#FFF\"},borderRadius:{type:ControlType.Number,title:\"Radius\",displayStepper:true,defaultValue:50},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:10,valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},gap:{title:\"Gap\",type:ControlType.Number,displayStepper:true,defaultValue:5}}},hoverOptions:{type:ControlType.Object,title:\"Hover\",buttonTitle:\"Effect\",optional:true,controls:{scale:{type:ControlType.Number,title:\"Scale\",min:0,max:10,displayStepper:true,step:.01,defaultValue:1.1},backgroundColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#333\",optional:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFF\",optional:true},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{type:\"spring\",stiffness:400,damping:30}}}}});const buttonStyles={display:\"flex\",placeItems:\"center\",placeContent:\"center\",textDecoration:\"none\"};/* Match flex content alignment with text align */const flexAlignSwitch=fontControlStyles=>{if(!fontControlStyles?.textAlign)return\"left\";if(fontControlStyles.textAlign===\"left\")return\"flex-start\";if(fontControlStyles.textAlign===\"right\")return\"flex-end\";return\"center\";};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Download\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"100\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Download.map"],"mappings":"qXAC6a,SAASA,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,qCAAzjB,IAAwJ,IAAkE,IAA4B,EAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQC,EAAkB,e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