{"version":3,"file":"CustomCSS.BUpROapK.mjs","names":["__esmMin","init_npm_react_18_3_1","init_jsx_runtime","J","c","applyCustomCss","element","scopeClass","styleSelector","style","enhanceTables","parent","table","wrapper","firstRow","columnCount","observer","withCustomCSS","Component","props","ref","withwithCustomCSS","init_CustomCSS"],"sources":["https:/framerusercontent.com/modules/LjjhQnyMMmfAykckTrx7/Bmi3P2eF6stiOLKDTc2t/CustomCSS.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";function applyCustomCss(element){if(typeof document===\"undefined\"||!element)return;const scopeClass=\"custom-css-scope\";const styleSelector=`style[data-custom-css=\"${scopeClass}\"]`;element.classList.add(scopeClass);const style=document.createElement(\"style\");style.textContent=`\n        .${scopeClass} img {\n            width: 100% !important;\n        }\n        .${scopeClass} strong.framer-text {\n            color: #2B2927 !important;\n        }\n        .${scopeClass} a.framer-text {\n            font-weight: 700 !important;\n        }\n        .${scopeClass} a strong.framer-text {\n            color: #DD5704 !important;\n        }\n        .${scopeClass} a:hover strong.framer-text {\n            color: #BF4900 !important;\n        }\n        .${scopeClass} img {\n            border-radius: 20px !important;\n            display: block !important;\n            margin-top: 32px !important;\n            margin-bottom: 32px !important;\n        }\n        .${scopeClass} h2.framer-text:not(:first-child), .${scopeClass} h2:not(:first-child) {\n            margin-top: 80px !important;\n        }\n        /* Tables: keep columns readable instead of breaking every word */\n        .${scopeClass} table {\n            table-layout: auto !important;\n            width: 100% !important;\n        }\n        .${scopeClass} table th,\n        .${scopeClass} table td,\n        .${scopeClass} table th *,\n        .${scopeClass} table td * {\n            font-size: 15px !important;\n            line-height: 1.45 !important;\n        }\n        @media (max-width: 767px) {\n            .${scopeClass} table th,\n            .${scopeClass} table td,\n            .${scopeClass} table th *,\n            .${scopeClass} table td * {\n                font-size: 14px !important;\n                line-height: 1.4 !important;\n            }\n        }\n        .${scopeClass} table th,\n        .${scopeClass} table td {\n            word-break: normal !important;\n            overflow-wrap: break-word !important;\n            hyphens: none !important;\n            vertical-align: top !important;\n            text-align: left !important;\n        }\n        .${scopeClass} table th,\n        .${scopeClass} table th * {\n            text-wrap: balance !important;\n        }\n        .${scopeClass} .table-scroll {\n            width: 100% !important;\n            max-width: 100% !important;\n            overflow-x: auto !important;\n            -webkit-overflow-scrolling: touch !important;\n        }\n        @media (max-width: 767px) {\n            .${scopeClass} table th,\n            .${scopeClass} table td {\n                padding: 10px 12px !important;\n            }\n        }\n        @media (max-width: 1199px) {\n            .${scopeClass} h2.framer-text:not(:first-child), .${scopeClass} h2:not(:first-child) {\n                margin-top: 64px !important;\n            }\n        }\n        @media (max-width: 767px) {\n            .${scopeClass} h2.framer-text:not(:first-child), .${scopeClass} h2:not(:first-child) {\n                margin-top: 48px !important;\n            }\n        }\n    `;// Give wide tables their own horizontal scroll area and a sensible minimum\n// column width so cells stop collapsing into one word per line. Rich text\n// renders asynchronously, so run this now and again on any content change.\nconst enhanceTables=()=>{element.querySelectorAll(\"table\").forEach(table=>{const parent=table.parentElement;if(parent&&!parent.classList.contains(\"table-scroll\")){const wrapper=document.createElement(\"div\");wrapper.className=\"table-scroll\";parent.insertBefore(wrapper,table);wrapper.appendChild(table);}const firstRow=table.rows[0];const columnCount=firstRow?firstRow.cells.length:0;if(columnCount>2){table.style.minWidth=`${Math.min(columnCount*150,900)}px`;}});};enhanceTables();requestAnimationFrame(enhanceTables);if(!element.__tableObserver){const observer=new MutationObserver(()=>enhanceTables());observer.observe(element,{childList:true,subtree:true});element.__tableObserver=observer;}if(!document.head.querySelector(styleSelector)){style.setAttribute(\"data-custom-css\",scopeClass);document.head.appendChild(style);}}export function withCustomCSS(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{...props,ref:element=>{applyCustomCss(element);if(typeof ref===\"function\"){ref(element);}else if(ref&&\"current\"in ref){ref.current=element;}if(typeof props.ref===\"function\"){props.ref(element);}else if(props.ref&&\"current\"in props.ref){props.ref.current=element;}}});});}export function withwithCustomCSS(Component){return withCustomCSS(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withwithCustomCSS\":{\"type\":\"reactHoc\",\"name\":\"withwithCustomCSS\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomCSS\":{\"type\":\"reactHoc\",\"name\":\"withCustomCSS\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomCSS.map"],"mappings":"A,kHAAyE,SAASK,EAAe,EAAQ,CAAC,GAAG,OAAO,SAAW,KAAa,CAACC,EAAQ,OAAO,IAAMC,EAAW,mBAAyBC,EAAc,0BAA0BD,EAAW,IAAID,EAAQ,UAAU,IAAIC,CAAU,EAAE,IAAME,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,YAAY;WAClVF,EAAW;;;WAGXA,EAAW;;;WAGXA,EAAW;;;WAGXA,EAAW;;;WAGXA,EAAW;;;WAGXA,EAAW;;;;;;WAMXA,EAAW,sCAAsCA,EAAW;;;;WAI5DA,EAAW;;;;WAIXA,EAAW;WACXA,EAAW;WACXA,EAAW;WACXA,EAAW;;;;;eAKPA,EAAW;eACXA,EAAW;eACXA,EAAW;eACXA,EAAW;;;;;WAKfA,EAAW;WACXA,EAAW;;;;;;;WAOXA,EAAW;WACXA,EAAW;;;WAGXA,EAAW;;;;;;;eAOPA,EAAW;eACXA,EAAW;;;;;eAKXA,EAAW,sCAAsCA,EAAW;;;;;eAK5DA,EAAW,sCAAsCA,EAAW;;;;MAO3E,IAAMG,MAAkB,CAACJ,EAAQ,iBAAiB,OAAO,CAAC,CAAC,QAAQ,GAAO,CAAC,IAAMK,EAAOC,EAAM,cAAc,GAAGD,GAAQ,CAACA,EAAO,UAAU,SAAS,cAAc,EAAE,CAAC,IAAME,EAAQ,SAAS,cAAc,KAAK,EAAE,EAAQ,UAAU,eAAeF,EAAO,aAAaE,EAAQD,CAAK,EAAEC,EAAQ,YAAYD,CAAK,CAAE,CAAC,IAAME,EAASF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