{"version":3,"file":"t7b59ZNLq.BOcHEdC2.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/YMSFY9J5Q3vVwZJqzXRw/DBuZ7rMiobyHEVOhKcGh/LegalContentStyles.js","https:/framerusercontent.com/modules/Ah0Yi4T9dUcXwT9VcyzJ/gfS6dlJJ4IOh4sz14N5E/t7b59ZNLq.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls}from\"framer\";// ─── LegalContentStyles ──────────────────────────────────────────────────────\n// Single source of truth for RichText / legal page heading + body colors.\n// Place this component ONLY on the /legal/:slug page canvas.\n// Dark-mode-only — site is dark-locked, no light selectors needed.\n// ─────────────────────────────────────────────────────────────────────────────\nconst STYLE_ID=\"juno-legal-content-styles-v3\";const CSS=`\n    /* ── Headings: canvas data attributes (Framer editor) ── */\n    [data-framer-component-type=\"RichText\"] h1,\n    [data-framer-component-type=\"RichText\"] h2,\n    [data-framer-component-type=\"RichText\"] h3,\n    [data-framer-component-type=\"RichText\"] h4,\n    [data-framer-component-type=\"RichText\"] h5,\n    [data-framer-component-type=\"RichText\"] h6,\n    [data-framer-name=\"LegalContent\"] h1,\n    [data-framer-name=\"LegalContent\"] h2,\n    [data-framer-name=\"LegalContent\"] h3,\n    [data-framer-name=\"LegalContent\"] h4,\n    [data-framer-name=\"Content\"] h1,\n    [data-framer-name=\"Content\"] h2,\n    [data-framer-name=\"Content\"] h3,\n    [data-framer-name=\"Content\"] h4,\n    /* ── CMS CollectionItem — no [style] restriction ── */\n    [data-framer-component-type=\"CollectionItem\"] h1,\n    [data-framer-component-type=\"CollectionItem\"] h2,\n    [data-framer-component-type=\"CollectionItem\"] h3,\n    [data-framer-component-type=\"CollectionItem\"] h4,\n    [data-framer-component-type=\"CollectionItem\"] h5,\n    [data-framer-component-type=\"CollectionItem\"] h6,\n    /* ── Published output: Framer uses .framer-text wrapper ── */\n    .framer-text h1,\n    .framer-text h2,\n    .framer-text h3,\n    .framer-text h4,\n    .framer-text h5,\n    .framer-text h6 {\n        color: rgb(242, 242, 243) !important;\n    }\n\n    /* ── Body / list items ── */\n    [data-framer-component-type=\"RichText\"] p,\n    [data-framer-component-type=\"RichText\"] li,\n    [data-framer-name=\"LegalContent\"] p,\n    [data-framer-name=\"LegalContent\"] li,\n    [data-framer-name=\"Content\"] p,\n    [data-framer-name=\"Content\"] li,\n    [data-framer-component-type=\"CollectionItem\"] p,\n    [data-framer-component-type=\"CollectionItem\"] li,\n    .framer-text p,\n    .framer-text li {\n        color: rgb(201, 201, 207) !important;\n    }\n\n    /* ── h2 sizing (section headings) ── */\n    [data-framer-component-type=\"RichText\"] h2,\n    [data-framer-name=\"LegalContent\"] h2,\n    [data-framer-name=\"Content\"] h2,\n    [data-framer-component-type=\"CollectionItem\"] h2,\n    .framer-text h2 {\n        font-size: 28px !important;\n        font-weight: 700 !important;\n        line-height: 1.3 !important;\n        margin-top: 40px !important;\n        margin-bottom: 8px !important;\n    }\n\n    /* ── h3 sizing ── */\n    [data-framer-component-type=\"RichText\"] h3,\n    [data-framer-name=\"LegalContent\"] h3,\n    [data-framer-name=\"Content\"] h3,\n    [data-framer-component-type=\"CollectionItem\"] h3,\n    .framer-text h3 {\n        font-size: 24px !important;\n        font-weight: 600 !important;\n        line-height: 1.35 !important;\n        margin-top: 12px !important;\n        margin-bottom: 4px !important;\n    }\n`;function injectLegalCSS(){if(typeof document===\"undefined\")return;// Always replace so file updates take effect without a full reload\nlet el=document.getElementById(STYLE_ID);if(!el){el=document.createElement(\"style\");el.id=STYLE_ID;document.head.appendChild(el);}el.textContent=CSS;}export default function LegalStyles(){useEffect(()=>{injectLegalCSS();},[]);return null;}addPropertyControls(LegalStyles,{});// Kept for backwards-compat with any canvas nodes still referencing this export\nexport function LegalRichTextFix(){return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withLegalRichTextFix(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...LegalRichTextFix(props)});};}withLegalRichTextFix.displayName=\"LegalRichTextFix\";\nexport const __FramerMetadata__ = {\"exports\":{\"LegalRichTextFix\":{\"type\":\"override\",\"name\":\"LegalRichTextFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLegalRichTextFix\":{\"type\":\"reactHoc\",\"name\":\"withLegalRichTextFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LegalContentStyles.map","// Generated by Framer (7587b09)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-aCyN1 .framer-styles-preset-be5zub:not(.rich-text-wrapper), .framer-aCyN1 .framer-styles-preset-be5zub.rich-text-wrapper a { --framer-link-current-text-color: var(--token-eef382eb-a7f1-4f0e-8900-93c7e224c4a3, #cc8311); --framer-link-hover-text-color: var(--token-16cf765a-6b59-4054-b2e8-d4e0c2406f02, #2563eb); --framer-link-text-color: var(--token-47869eaa-0a61-45f9-9473-c3d280791077, #5a5a60); }\"];export const className=\"framer-aCyN1\";\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\"}}}"],"mappings":"wLA6EE,SAAS,GAAgB,CAAC,GAAG,OAAO,SAAW,IAAY,OAC7D,IAAI,EAAG,SAAS,eAAe,EAAS,CAAK,IAAI,EAAG,SAAS,cAAc,QAAQ,CAAC,EAAG,GAAG,EAAS,SAAS,KAAK,YAAY,EAAG,EAAE,EAAG,YAAY,EAAK,SAAwB,GAAa,CAAuC,OAAtC,MAAc,CAAC,GAAgB,EAAG,EAAE,CAAC,CAAQ,KACzO,SAAgB,GAAkB,CAAC,MAAM,EAAE,CAAqJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,EAAM,CAAC,CAAC,uBA/ExU,IAA6B,IAAwC,CAK1G,EAAS,+BAAqC,EAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyEuL,EAAoB,EAAY,EAAE,CAAC,CACqG,EAAqB,YAAY,yCC9E1X,GAAU,UAAU,EAAE,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAc,EAAI,CAAC,yZAAyZ,CAAc,EAAU"}