{"version":3,"file":"shared-lib.BEFAGOWc.mjs","names":["metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/kBkaj3LmBqcSU2IkUsBC/uaFLaKvU3aNJkwvPcVLe/Download.js","https:/framerusercontent.com/modules/Q40ZwEFQ0E4z1pvb6Ifl/jxIN996chGqNWjBeCBTi/Dx3jQimOa.js","https:/framerusercontent.com/modules/1sQrhuHGjAy7sZGNg9If/PsNQ3pzu0tZSiOw4kqQw/siteMetadata.js","https:/framerusercontent.com/modules/esWZH934ONafvSkgswga/w8DH4l9GC54RILYbBNMU/hzQAPT5Wb.js","https:/framerusercontent.com/modules/A0J01UB5kPM96Q2mybC7/axCwf1RYdDlIfZedqIhi/VA_ygdZ1O.js"],"sourcesContent":["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","// Generated by Framer (94ad37d)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-Atoh8 .framer-styles-preset-10xuxqc:not(.rich-text-wrapper), .framer-Atoh8 .framer-styles-preset-10xuxqc.rich-text-wrapper a {  }\"];export const className=\"framer-Atoh8\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (08b35c4)\nexport default function metadata(params,activeLocale){return{description:\"KermorWeb, webdesigner freelance, cr\\xe9e des landing pages, sites vitrines et maquettes Figma orient\\xe9s conversion. J’aide les cr\\xe9ateurs, entrepreneurs et projets SaaS \\xe0 am\\xe9liorer leur image, clarifier leur message et transformer leur trafic en clients.\",favicon:\"https://framerusercontent.com/assets/BpJlXt4CJ5Oz18QCBYl3HHjA.png\",robots:\"max-image-preview:large\",title:\"KermorWeb – Webdesigner sp\\xe9cialis\\xe9 en landing pages & sites qui convertissent\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c0d7099)\nimport siteMetadata from\"https://framerusercontent.com/modules/1sQrhuHGjAy7sZGNg9If/PsNQ3pzu0tZSiOw4kqQw/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"ric9oy\",mediaQuery:\"(min-width: 1300px)\"},{hash:\"37l75l\",mediaQuery:\"(min-width: 810px) and (max-width: 1299.98px)\"},{hash:\"15y4i3m\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{DFwutixMJ:\"r\\xe9alisations\",dKpT8UWL4:\"accueil\",KMaQJ41P3:\"services\",NT9eQPRWP:\"m\\xe9thode\",sTXwFj4R_:\"rdv\"},robots:\"max-image-preview:large\",serializationId:\"framer-lUFWi\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (ee64472)\nimport siteMetadata from\"https://framerusercontent.com/modules/1sQrhuHGjAy7sZGNg9If/PsNQ3pzu0tZSiOw4kqQw/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"wwyquy\"}],description:siteMetadata(params,activeLocale).description,elements:{QIXzXlZqB:\"hero-section\"},framerSearch:{index:false},robots:\"noindex\",serializationId:\"framer-Xv7ra\",title:siteMetadata(params,activeLocale).title||\"404\",viewport:\"width=1200\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mOAAob,SAAS,GAAsB,CAAoG,OAAhG,OAAO,SAAW,IAAmB,GAAiE,CAAC,CAA/C,SAAS,cAAc,EAAgB,CAYnjB,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,eAAa,eAAa,cAAY,aAAW,WAAS,EAAW,CAAC,kBAAgB,QAAM,eAAa,UAAQ,iBAAe,aAAW,eAAa,gBAAc,cAAY,OAAK,EAAmB,EAAM,GAAa,CAAO,EAAuB,GAAsB,CAAK,EAAyB,IAA2B,EAAM,UAAU,QAAM,EAAY,EAAM,QAAU,EAAM,UAAU,WAAS,EAAY,EAAM,UAAS,IAAM,EAAa,EAAe,GAAG,EAAW,KAAK,EAAa,KAAK,EAAc,KAAK,EAAY,IAAI,GAAG,EAAQ,IAAU,MAAY,CAAC,GAAG,CAAC,EAAY,OAAO,IAAM,EAAU,CAAC,MAAM,EAAY,YAAY,QAAQ,EAAE,EAAE,WAAW,EAAE,CAAC,OAAO,EAAY,OAAO,UAAY,EAAY,OAAO,IAAiB,EAAK,MAAM,CAAC,MAAM,EAAU,IAAI,EAAY,OAAO,KAAK,EAAY,MAAM,IAAI,OAAO,EAAE,EAAY,MAAM,IAAI,gBAAgB,IAAI,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