{"version":3,"file":"Trunctuate_Text_2.C2b96CdB.mjs","names":["_Fragment","__esmMin","init_jsx_runtime","l","c","withTextLineTruncate","styles","props","LINES","Component","init_Trunctuate_Text_2"],"sources":["https:/framerusercontent.com/modules/QeAylU9gHhYxQXyvBTgS/GQfBdMImeSBQGk2HcHPs/Trunctuate_Text_2.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=2;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=./Trunctuate_Text_2.map"],"mappings":"A,kHAI2J,SAAgBK,EAAqB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAMC,EAAO,IAAIC,EAAM,UAAU;;;+BAG5NC,EAAM;;GAElC,MAAoB,gBAAMR,EAAU,CAAC,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAASM,CAAM,CAAC,EAAe,gBAAKG,EAAU,CAAC,GAAGF,CAAK,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,C,wCALO,EAAM,C"}