{"version":3,"file":"Richtext.BoKcOo7T.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8cgFu3YD2hj75Ib9w4ch/K7i6YcxAa2HecSdo7cLY/Richtext.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\n/**\n * Component hiển thị nội dung RichText từ Framer CMS\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerCMS content\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";export default function Richtext({content}){useEffect(()=>{console.log(\"CMS Data:\",content);},[content]);return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[content?/*#__PURE__*/_jsx(\"div\",{dangerouslySetInnerHTML:{__html:content}}):/*#__PURE__*/_jsx(\"p\",{children:\" \"}),/*#__PURE__*/_jsx(\"style\",{children:`\n                img {\n                    width: 100% !important;\n                    height: auto !important;\n                    display: block;\n                }\n                iframe {\n                    max-width: 100%;\n                }\n            `})]});}// Styles cho container\nconst containerStyle={width:\"100%\",maxWidth:\"800px\",margin:\"0 auto\",padding:\"20px\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Richtext\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Richtext.map"],"mappings":"yHAQyF,SAAwB,EAAS,CAAC,WAAS,CAA8D,OAA7D,MAAc,CAAC,QAAQ,IAAI,YAAY,EAAQ,EAAG,CAAC,EAAQ,CAAC,CAAqB,EAAM,MAAM,CAAC,MAAM,EAAe,SAAS,CAAC,EAAqB,EAAK,MAAM,CAAC,wBAAwB,CAAC,OAAO,EAAQ,CAAC,CAAC,CAAc,EAAK,IAAI,CAAC,SAAS,IAAI,CAAC,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;cAS1Y,CAAC,CAAC,CAAC,CAAC,oBAT0C,IAA6B,CAUnF,EAAe,CAAC,MAAM,OAAO,SAAS,QAAQ,OAAO,SAAS,QAAQ,OAAO,SAAS,SAAS"}