{"version":3,"file":"Truntuate_Text.pbkPl0AE.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/rMnrDjQirgauwgYSdQ98/DVPjinQXoakaCCU26sjk/Truntuate_Text.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function withTextTruncate(Component){return props=>{const styles=`.${props.className} > * {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(Component,{...props})]});};}const LINES=3;export function withTextLineTruncate(Component){return props=>{const styles=`.${props.className} > * {\n         overflow: hidden;\n          -webkit-box-orient: vertical;\n         -webkit-line-clamp: ${LINES};\n         display: -webkit-box;\n}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(Component,{...props})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTextTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTextTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTextLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Truntuate_Text.map"],"mappings":"wIAI2J,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAO,IAAI,EAAM,UAAU;;;+BAG5N,EAAM;;GAElC,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,EAAO,EAAe,EAAK,EAAU,CAAC,GAAG,EAAM,EAAE,CAAC,CAAG,CAAE,qBALM,EAAM"}