{"version":3,"file":"_TruncateText.D6Mo1OHN.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/ueu1DdeMnSGO0W17oryj/vlrq4oRCrjTfJPQqmqIv/_TruncateText.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";// define no of lines after you want to truncate\nexport function oneLine(Component){return props=>{const styles={...props?.style,WebkitLineClamp:`1`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props,style:styles})});};}export function twoLines(Component){return props=>{const styles={...props?.style,WebkitLineClamp:`2`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props,style:styles})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"twoLines\":{\"type\":\"reactHoc\",\"name\":\"twoLines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"oneLine\":{\"type\":\"reactHoc\",\"name\":\"oneLine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./_TruncateText.map"],"mappings":"iIACA,SAAgB,EAAQ,EAAU,CAAC,MAAO,CAAA,GAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAAO,MAAM,gBAAA,IAAoB,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAS,EAAC,MAAoB,GAAKA,EAAU,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAO,EAAC,AAAC,EAAC,AAAE,CAAE,UAAgB,EAAS,EAAU,CAAC,MAAO,CAAA,GAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAAO,MAAM,gBAAA,IAAoB,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAS,EAAC,MAAoB,GAAKA,EAAU,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAO,EAAC,AAAC,EAAC,AAAE,CAAE,cAD/kB,GAAiE"}