{"version":3,"file":"shared-lib.BimSy2hD.mjs","names":["React.useState","React.useMemo"],"sources":["https:/framerusercontent.com/modules/3BKKFX74XAo1GiYwvstU/hYpMzshpIdRqiZ1836Pp/gLJDTPLyu.js","https:/framerusercontent.com/modules/xSh3G9UmsSCEXPw2hFGG/GHhEzqWZaP4Aw5uMOkPE/SwipeLettersButton.js","https:/framerusercontent.com/modules/x9hLLsxkkxnTGrPwexme/uV2HDEMnMautDziAwp3x/siteMetadata.js"],"sourcesContent":["// Generated by Framer (b6e2e7c)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Decoy Light Italic\",\"CUSTOMV2;Decoy Regular Italic\",\"CUSTOMV2;Decoy Regular Italic\",\"CUSTOMV2;Decoy Light Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Decoy Light Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Decoy\",url:\"https://framerusercontent.com/assets/6aM4uJmZIoKPSotNkqH3sW2OgTE.woff2\",weight:\"300\"},{cssFamilyName:\"Decoy Regular Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Decoy\",url:\"https://framerusercontent.com/assets/BQ6U9OhfyCMHhC4L2sZjMV9ypcI.woff2\",weight:\"400\"}]}];export const css=['.framer-MO635 .framer-styles-preset-1bu62b7:not(.rich-text-wrapper), .framer-MO635 .framer-styles-preset-1bu62b7.rich-text-wrapper p { --framer-font-family: \"Decoy Light Italic\", \"Decoy Light Italic Placeholder\", sans-serif; --framer-font-family-bold: \"Decoy Regular Italic\", \"Decoy Regular Italic Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Decoy Regular Italic\", \"Decoy Regular Italic Placeholder\", sans-serif; --framer-font-family-italic: \"Decoy Light Italic\", \"Decoy Light Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 55px; --framer-font-style: italic; --framer-font-style-bold: italic; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 300; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 300; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-MO635 .framer-styles-preset-1bu62b7:not(.rich-text-wrapper), .framer-MO635 .framer-styles-preset-1bu62b7.rich-text-wrapper p { --framer-font-family: \"Decoy Light Italic\", \"Decoy Light Italic Placeholder\", sans-serif; --framer-font-family-bold: \"Decoy Regular Italic\", \"Decoy Regular Italic Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Decoy Regular Italic\", \"Decoy Regular Italic Placeholder\", sans-serif; --framer-font-family-italic: \"Decoy Light Italic\", \"Decoy Light Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 44px; --framer-font-style: italic; --framer-font-style-bold: italic; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 300; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 300; --framer-letter-spacing: 0em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-MO635 .framer-styles-preset-1bu62b7:not(.rich-text-wrapper), .framer-MO635 .framer-styles-preset-1bu62b7.rich-text-wrapper p { --framer-font-family: \"Decoy Light Italic\", \"Decoy Light Italic Placeholder\", sans-serif; --framer-font-family-bold: \"Decoy Regular Italic\", \"Decoy Regular Italic Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Decoy Regular Italic\", \"Decoy Regular Italic Placeholder\", sans-serif; --framer-font-family-italic: \"Decoy Light Italic\", \"Decoy Light Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 30px; --framer-font-style: italic; --framer-font-style-bold: italic; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 300; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 300; --framer-letter-spacing: 0em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-MO635\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Swipe Letters Button - A button with animated letter transitions on hover\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicWidth 240\n * @framerIntrinsicHeight 64\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SwipeLettersButton(props){const{label=\"GET IN TOUCH\",defaultState={bgColor:\"#1D1D1D\",borderColor:\"#414141\",textColor:\"#FFFFFF\"},hoverState={bgColor:\"#2D2D2D\",borderColor:\"#515151\",textColor:\"#FFFFFF\"},radius=9999,paddingX=24,paddingY=16,font={fontSize:\"18px\",variant:\"Semibold\",letterSpacing:\"0.4px\",textAlign:\"center\"},align=\"center\",showBorder=true,direction=\"alternate\",duration=380,easing=\"cubic-bezier(.25,.75,.25,1)\",stagger=18,link=\"\",gap=.04}=props;const[hovered,setHovered]=React.useState(false);const chars=React.useMemo(()=>Array.from(label||\"\").map(c=>c===\" \"?\"\\xa0\":c),[label]);const handleClick=()=>{if(link&&typeof window!==\"undefined\"){if(link.startsWith(\"http\")||link.startsWith(\"//\")){window.open(link,\"_blank\",\"noopener,noreferrer\");}else{window.location.href=link;}}};const currentBgColor=hovered?hoverState.bgColor:defaultState.bgColor;const currentBorderColor=hovered?hoverState.borderColor:defaultState.borderColor;const currentTextColor=hovered?hoverState.textColor:defaultState.textColor;return /*#__PURE__*/_jsx(\"div\",{onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),onClick:handleClick,style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:align===\"center\"?\"center\":align===\"start\"?\"flex-start\":\"flex-end\",backgroundColor:currentBgColor,borderRadius:radius,border:showBorder?`1px solid ${currentBorderColor}`:\"none\",overflow:\"hidden\",position:\"relative\",userSelect:\"none\",cursor:\"pointer\",transition:\"background-color 0.2s ease, border-color 0.2s ease\"},children:/*#__PURE__*/_jsx(\"div\",{style:{padding:\"15px 20px\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:align===\"center\"?\"center\":align===\"start\"?\"flex-start\":\"flex-end\",gap:`${gap}px`},children:chars.map((ch,i)=>{const dir=direction===\"alternate\"?i%2===0?\"top\":\"bottom\":direction;const initY=dir===\"top\"?\"-50%\":\"0%\";const hoverY=dir===\"top\"?\"0%\":\"-50%\";const delay=`${i*stagger}ms`;return /*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",display:\"inline-block\",height:\"1em\",overflow:\"hidden\",fontFamily:font.fontFamily||\"inherit\",fontSize:font.fontSize,fontWeight:font.fontWeight,fontStyle:font.fontStyle,lineHeight:1,letterSpacing:\"0em\"},children:/*#__PURE__*/_jsxs(\"span\",{style:{display:\"grid\",gridAutoRows:\"1em\",transform:`translateY(${hovered?hoverY:initY})`,transitionProperty:\"transform\",transitionDuration:`${duration}ms`,transitionTimingFunction:easing,transitionDelay:delay,willChange:\"transform\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:currentTextColor,transition:\"color 0.2s ease\"},children:ch}),/*#__PURE__*/_jsx(\"span\",{style:{color:currentTextColor,transition:\"color 0.2s ease\"},children:ch})]})},`${ch}-${i}`);})})});}addPropertyControls(SwipeLettersButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"GET IN TOUCH\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\"},defaultState:{type:ControlType.Object,title:\"Default\",controls:{bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#1D1D1D\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#414141\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"}},defaultValue:{bgColor:\"#1D1D1D\",borderColor:\"#414141\",textColor:\"#FFFFFF\"}},hoverState:{type:ControlType.Object,title:\"Hover\",controls:{bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#2D2D2D\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#515151\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"}},defaultValue:{bgColor:\"#2D2D2D\",borderColor:\"#515151\",textColor:\"#FFFFFF\"}},showBorder:{type:ControlType.Boolean,title:\"Show Border\",defaultValue:true},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:2e3,step:1,defaultValue:9999},paddingX:{type:ControlType.Number,title:\"Pad X\",min:0,max:96,step:1,defaultValue:24},paddingY:{type:ControlType.Number,title:\"Pad Y\",min:0,max:96,step:1,defaultValue:16},font:{type:ControlType.Font,title:\"Typography\",defaultValue:{fontSize:\"18px\",variant:\"Medium\",letterSpacing:\"0.4px\",textAlign:\"center\"},controls:\"extended\",defaultFontType:\"sans-serif\",displayTextAlignment:true,displayFontSize:true},align:{type:ControlType.Enum,title:\"Align\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Start\",\"Center\",\"End\"],displaySegmentedControl:true,defaultValue:\"center\"},direction:{type:ControlType.Enum,title:\"Swipe From\",options:[\"top\",\"bottom\",\"alternate\"],optionTitles:[\"Top\",\"Bottom\",\"Alternate\"],defaultValue:\"alternate\"},duration:{type:ControlType.Number,title:\"Duration (ms)\",min:80,max:2e3,step:10,defaultValue:380},easing:{type:ControlType.Enum,title:\"Easing\",options:[\"ease\",\"ease-in\",\"ease-out\",\"ease-in-out\",\"cubic-bezier(.25,.75,.25,1)\"],optionTitles:[\"ease\",\"ease-in\",\"ease-out\",\"ease-in-out\",\"Snap\"],defaultValue:\"cubic-bezier(.25,.75,.25,1)\"},stagger:{type:ControlType.Number,title:\"Stagger (ms)\",min:0,max:300,step:2,defaultValue:18},gap:{type:ControlType.Number,title:\"Gap (px)\",min:0,max:20,step:1,defaultValue:4}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SwipeLettersButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"64\",\"framerIntrinsicWidth\":\"240\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SwipeLettersButton.map","// Generated by Framer (871da65)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"Chloe Rioual — DA & graphiste engag\\xe9e\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oOAC8B,GAAU,UAAU,CAAC,8BAA8B,gCAAgC,gCAAgC,8BAA8B,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,qBAAqB,OAAO,SAAS,MAAM,SAAS,aAAa,QAAQ,IAAI,yEAA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