{"version":3,"file":"Helper_Functions.BBjwADWH.mjs","names":["styled"],"sources":["https:/framerusercontent.com/modules/eArD9swLcyDBZmi49mUz/5psSisN9SMIWEuy7GY5L/Helper_Functions.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import styled from\"styled-components\";import{forwardRef}from\"react\";export const withFourthIndent=Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const StyledComponent=styled(Component)`\n            > *::before {\n                content: \"\";\n                display: inline-block;\n                width: calc(25% + 5px);\n                height: 1px;\n            }\n        `;return /*#__PURE__*/_jsx(StyledComponent,{ref:ref,...props});});};export const withThirdIndent=Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const StyledComponent=styled(Component)`\n            > *::before {\n                content: \"\";\n                display: inline-block;\n                width: calc(33.33% + 10px);\n                height: 1px;\n            }\n        `;return /*#__PURE__*/_jsx(StyledComponent,{ref:ref,...props});});};export function withPositionFixed(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,position:\"fixed\"}});};}export function withClipPath(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,clipPath:\"rect(auto auto auto auto)\",willChange:\"unset\"}});};}export function withAnimatedClipPath(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,initial:{clipPath:\"inset(100% 0 0 0)\",willChange:\"unset\"},animate:{clipPath:\"inset(0% 0 0 0)\",willChange:\"unset\"},transition:{duration:.9,delay:.3,ease:[.25,1,.5,1]}});};}export function withStaticViewportHeight(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,height:\"100svh\"}});};}/**\n * À appliquer sur le FRAME PARENT qui contient la vidéo ET le lien.\n * Pas sur la vidéo.\n */export const withLinkedVideoCursor=Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const StyledComponent=styled(Component)`\n            cursor: pointer !important;\n\n            &,\n            & *,\n            &[data-framer-name],\n            & [data-framer-name],\n            & a,\n            & div,\n            & span,\n            & video,\n            & iframe {\n                cursor: pointer !important;\n            }\n\n            & video,\n            & iframe,\n            & [data-framer-component-type=\"Video\"],\n            & [data-framer-name*=\"Video\"],\n            & [data-framer-name*=\"video\"] {\n                pointer-events: none !important;\n            }\n        `;return /*#__PURE__*/_jsx(StyledComponent,{ref:ref,...props});});};export function withWholeWords(Component){const StyledComponent=styled(Component)`\n        & {\n            min-width: 0;\n        }\n\n        & :is(h1, h2, h3, p) {\n            white-space: normal !important;\n            word-break: normal !important;\n            overflow-wrap: normal !important;\n            hyphens: none !important;\n        }\n\n        /* Garde chaque mot animé entier,\n           sans modifier l'animation de ses lettres. */\n        & :is(h1, h2, h3, p) > span[style*=\"white-space\"] {\n            white-space: nowrap !important;\n            word-break: normal !important;\n            overflow-wrap: normal !important;\n        }\n    `;return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(StyledComponent,{...props,ref:ref});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withWholeWords\":{\"type\":\"reactHoc\",\"name\":\"withWholeWords\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFourthIndent\":{\"type\":\"reactHoc\",\"name\":\"withFourthIndent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClipPath\":{\"type\":\"reactHoc\",\"name\":\"withClipPath\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStaticViewportHeight\":{\"type\":\"reactHoc\",\"name\":\"withStaticViewportHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLinkedVideoCursor\":{\"type\":\"reactHoc\",\"name\":\"withLinkedVideoCursor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPositionFixed\":{\"type\":\"reactHoc\",\"name\":\"withPositionFixed\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAnimatedClipPath\":{\"type\":\"reactHoc\",\"name\":\"withAnimatedClipPath\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThirdIndent\":{\"type\":\"reactHoc\",\"name\":\"withThirdIndent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Helper_Functions.map"],"mappings":"uKAc4E,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,OAAO,CAAC,CAAC,CAAI,CAAC,SAAgB,EAAa,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,4BAA4B,WAAW,OAAO,CAAC,CAAC,CAAI,CAAC,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,CAAC,SAAS,oBAAoB,WAAW,OAAO,EAAE,QAAQ,CAAC,SAAS,kBAAkB,WAAW,OAAO,EAAE,WAAW,CAAC,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAI,CAAC,SAAgB,EAAyB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,QAAQ,CAAC,CAAC,CAAI,qBAdlyB,IAAsC,IAA8B,EAAc,EAAiB,GAAgC,GAAY,EAAM,IAOjK,EAAK,EAPgM,CAAS,CAAC;;;;;;;UAO1L,CAAK,MAAI,GAAG,CAAK,CAAC,CAAG,EAAiB,EAAgB,GAAgC,GAAY,EAAM,IAO7H,EAAK,EAP4J,CAAS,CAAC;;;;;;;UAOtJ,CAAK,MAAI,GAAG,CAAK,CAAC,CAAG"}