{"version":3,"file":"DropCap_FirstParagraph_Reports.CG_khk5Z.mjs","names":["forwardRef","_Fragment","__esmMin","init_npm_react_18_3_1","init_jsx_runtime","J","c","p","withReportDropCap","mergedClassName","props","l","Component","init_DropCap_FirstParagraph_Reports"],"sources":["https:/framerusercontent.com/modules/o5KybeTBZMnLU5RjFwf3/GK2XYf0GHZ2TeMEuLewp/DropCap_FirstParagraph_Reports.js"],"sourcesContent":["// Request: Create a NEW code file named \"DropCap_FirstParagraph_Reports.tsx\" exporting a single code override `withReportDropCap` (React HOC wrapping a canvas RichText element). It must merge an added className (e.g. \"report-dropcap\") with props.className and render a <style> tag alongside the component. CSS: on the FIRST paragraph of the wrapped rich text (`.report-dropcap p:first-of-type::first-letter`, also covering p.framer-text), apply a drop cap: float:left; initial-letter:3; -webkit-initial-letter:3; font-size:58px; line-height:0.82; margin-top:6px; margin-right:14px; margin-left:-2px; font-weight:700; color:#0093CF; all !important. Keep it simple, no other styling, no controls. Same on all breakpoints.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withReportDropCap(Component){const Wrapped=/*#__PURE__*/forwardRef(function WithReportDropCap(props,ref){const mergedClassName=[props.className,\"report-dropcap\"].filter(Boolean).join(\" \");return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .report-dropcap p:first-of-type::first-letter,\n                    .report-dropcap p.framer-text:first-of-type::first-letter {\n                        float: left !important;\n                        initial-letter: 3 !important;\n                        -webkit-initial-letter: 3 !important;\n                        font-size: 58px !important;\n                        line-height: 0.82 !important;\n                        margin-top: 6px !important;\n                        margin-right: 14px !important;\n                        margin-left: -2px !important;\n                        font-weight: 700 !important;\n                        color: #0093CF !important;\n                    }\n                `}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,className:mergedClassName})]});});return Wrapped;}\nexport const __FramerMetadata__ = {\"exports\":{\"withReportDropCap\":{\"type\":\"reactHoc\",\"name\":\"withReportDropCap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DropCap_FirstParagraph_Reports.map"],"mappings":"A,gIAC6G,SAAgBQ,EAAkB,EAAU,CAcrD,MAdiFR,kBAAW,SAA2B,EAAM,EAAI,CAAC,IAAMS,EAAgB,CAACC,EAAM,UAAU,gBAAgB,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,EAAE,MAAoB,gBAAMT,EAAU,CAAC,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;iBAc3X,CAAC,EAAe,gBAAKW,EAAU,CAAK,MAAI,GAAGF,EAAM,UAAUD,CAAe,CAAC,CAAC,CAAC,CAAC,CAAE,CAAgB,CAAE,C"}