{"version":3,"file":"shared.Dgafkmlh.mjs","names":["useRef","fonts","css","className","fonts","css","className","__esmMin","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","fontStore","init_framer_CaDWdxiz","createWrapper","ref","root","recolor","node","el","color","child","observer","Component","props","withItalicOrange","COLORS","withItalicDarkBlue","withItalicElectricBlue","init_Color_Multilingue","fonts$2","css$2","className$2","init_oPSWfgv7X","fonts$1","css$1","className$1","init_ewxX4Xc0u","fonts","css","className","init_ea0RepMK0"],"sources":["https:/framerusercontent.com/modules/azY6xeVoearTQSdqipnb/T9fiEyw0gDHP6u79idlN/Color_Multilingue.js","https:/framerusercontent.com/modules/n8f9IjhFJS6Vt5lB2L0Z/mBL6St6CmOfeGVmbtkWR/oPSWfgv7X.js","https:/framerusercontent.com/modules/6AxdhwjqJkJSAysEE4D9/Th2HosNeCuUB0NytVutK/ewxX4Xc0u.js","https:/framerusercontent.com/modules/gsZqjVFxbxDjKuKZxHuH/w1NFcUL028onvv7LajaB/ea0RepMK0.js"],"sourcesContent":["// File: Color_Multilingue.tsx\n// Marqueur = italique. Le texte mis en italique devient coloré, SANS inclinaison\n// ni changement de poids. Le vrai gras reste gras. Pensé pour le multilingue.\n//\n// Important : un texte \"gras + italique\" est rendu par Framer en <em><strong>…</strong></em>.\n// Il faut donc annuler l'italique sur l'élément marqué ET sur tous ses descendants\n// (sinon le <strong> enfant reste penché).\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";const COLORS={Orange:\"#FF5201\",DarkBlue:\"#160D3D\",ElectricBlue:\"#320CC9\"};function createWrapper(Component,color){return props=>{const ref=useRef(null);useEffect(()=>{const root=ref.current;if(!root)return;const recolor=()=>{root.querySelectorAll(\"em, i\").forEach(el=>{const node=el;// Couleur (héritée par les enfants)\nnode.style.setProperty(\"color\",color,\"important\");// Redresse l'élément marqué...\nnode.style.setProperty(\"font-style\",\"normal\",\"important\");// ...ET tous ses descendants (ex: <strong> dans <em>)\nnode.querySelectorAll(\"*\").forEach(child=>{child.style.setProperty(\"font-style\",\"normal\",\"important\");});});};recolor();const observer=new MutationObserver(recolor);observer.observe(root,{childList:true,subtree:true,characterData:true});return()=>observer.disconnect();});return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withItalicOrange(Component){return createWrapper(Component,COLORS.Orange);}export function withItalicDarkBlue(Component){return createWrapper(Component,COLORS.DarkBlue);}export function withItalicElectricBlue(Component){return createWrapper(Component,COLORS.ElectricBlue);}\nexport const __FramerMetadata__ = {\"exports\":{\"withItalicOrange\":{\"type\":\"reactHoc\",\"name\":\"withItalicOrange\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withItalicElectricBlue\":{\"type\":\"reactHoc\",\"name\":\"withItalicElectricBlue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withItalicDarkBlue\":{\"type\":\"reactHoc\",\"name\":\"withItalicDarkBlue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Color_Multilingue.map","// Generated by Framer (3f060d6)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Boldonse-regular\",\"GF;Boldonse-regular\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Boldonse\",source:\"google\",style:\"normal\",uiFamilyName:\"Boldonse\",url:\"https://fonts.gstatic.com/s/boldonse/v1/ZgNQjPxGPbbJUZemjC35hmHmNpCO.woff2\",weight:\"400\"}]}];export const css=['.framer-5ixna .framer-styles-preset-12k1r6g:not(.rich-text-wrapper), .framer-5ixna .framer-styles-preset-12k1r6g.rich-text-wrapper h3 { --framer-font-family: \"Boldonse\", sans-serif; --framer-font-family-bold: \"Boldonse\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.25); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-08e203ae-a56d-4812-85d7-824714e907ae, #160d3d); --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-5ixna .framer-styles-preset-12k1r6g:not(.rich-text-wrapper), .framer-5ixna .framer-styles-preset-12k1r6g.rich-text-wrapper h3 { --framer-font-family: \"Boldonse\", sans-serif; --framer-font-family-bold: \"Boldonse\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.25); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-08e203ae-a56d-4812-85d7-824714e907ae, #160d3d); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-5ixna\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (a56d1fd)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Boldonse-regular\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Boldonse\",source:\"google\",style:\"normal\",uiFamilyName:\"Boldonse\",url:\"https://fonts.gstatic.com/s/boldonse/v1/ZgNQjPxGPbbJUZemjC35hmHmNpCO.woff2\",weight:\"400\"}]}];export const css=['.framer-CvZC1 .framer-styles-preset-yv9l5:not(.rich-text-wrapper), .framer-CvZC1 .framer-styles-preset-yv9l5.rich-text-wrapper h2 { --framer-font-family: \"Boldonse\", \"Boldonse Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 2.5); --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-b5e80774-f4c3-42b8-a03d-478a12318b6e, #ffffff); --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-CvZC1 .framer-styles-preset-yv9l5:not(.rich-text-wrapper), .framer-CvZC1 .framer-styles-preset-yv9l5.rich-text-wrapper h2 { --framer-font-family: \"Boldonse\", \"Boldonse Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 2.2); --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-b5e80774-f4c3-42b8-a03d-478a12318b6e, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-CvZC1\";\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\"}}}","// Generated by Framer (40f5bc6)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Boldonse-regular\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Boldonse\",source:\"google\",style:\"normal\",uiFamilyName:\"Boldonse\",url:\"https://fonts.gstatic.com/s/boldonse/v1/ZgNQjPxGPbbJUZemjC35hmHmNpCO.woff2\",weight:\"400\"}]}];export const css=['.framer-S29RH .framer-styles-preset-1535w5d:not(.rich-text-wrapper), .framer-S29RH .framer-styles-preset-1535w5d.rich-text-wrapper h3 { --framer-font-family: \"Boldonse\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1); --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.7em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-08e203ae-a56d-4812-85d7-824714e907ae, #160d3d); --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-S29RH .framer-styles-preset-1535w5d:not(.rich-text-wrapper), .framer-S29RH .framer-styles-preset-1535w5d.rich-text-wrapper h3 { --framer-font-family: \"Boldonse\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1); --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-08e203ae-a56d-4812-85d7-824714e907ae, #160d3d); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-S29RH\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,0KAOyJ,S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