{"version":3,"file":"Text_Truncate.CCIB50P3.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/7TgbByLdUaISp9A0qUPr/W9yDjfiyFAubsrpEj9aw/Text_Truncate.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// Truncate to 3 lines\nexport function Truncate3Lines(){return{style:{display:\"-webkit-box\",WebkitLineClamp:3,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}};}// Truncate to 1 line\nexport function Truncate1Line(){return{style:{display:\"-webkit-box\",WebkitLineClamp:1,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withTruncate3Lines(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate3Lines(props)});};}withTruncate3Lines.displayName=\"Truncate3Lines\";export function withTruncate1Line(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate1Line(props)});};}withTruncate1Line.displayName=\"Truncate1Line\";\nexport const __FramerMetadata__ = {\"exports\":{\"withTruncate3Lines\":{\"type\":\"reactHoc\",\"name\":\"withTruncate3Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate1Line\":{\"type\":\"override\",\"name\":\"Truncate1Line\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTruncate1Line\":{\"type\":\"reactHoc\",\"name\":\"withTruncate1Line\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate3Lines\":{\"type\":\"override\",\"name\":\"Truncate3Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Truncate.map"],"mappings":"iPACA,SAAgB,GAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,WAAW,CAAC,AAAE,CAC/J,SAAgB,GAAe,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,WAAW,CAAC,AAAE,CAAmJ,SAAgB,EAAmB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,GAAgDC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,GAAO,EAAK,CAAgD,SAAgB,EAAkB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,GAAgDC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAc,GAAO,EAAK,2BAAjO,EAAmB,YAAY,iBAAkM,EAAkB,YAAY"}