{"version":3,"file":"ElipsisText.DRkMT5R2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/YALW3BYNdb0xjsF6GE0a/KI9PjjvY8ykIoO5so9jt/ElipsisText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function TruncatedText(Component){return props=>{const truncatedTextPrefix=\"Lines:\";const name=props[\"data-framer-name\"];if(name===null||name===void 0?void 0:name.startsWith(truncatedTextPrefix)){const lines=name.replace(new RegExp(\"^\"+truncatedTextPrefix),\"\").trim();return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,display:\"-webkit-box\",WebkitLineClamp:lines,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}});}return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"TruncatedText\":{\"type\":\"reactHoc\",\"name\":\"TruncatedText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ElipsisText.map"],"mappings":"0HAA2C,SAAgB,EAAc,EAAU,CAAC,MAAO,CAAA,GAAO,CAAC,IAAM,EAAoB,SAAe,EAAK,EAAM,oBAAoB,GAAqC,AAAlC,GAAuC,WAAW,EAAoB,CAAC,CAAC,IAAM,EAAM,EAAK,QAAQ,AAAI,OAAO,IAAI,EAAA,CAAqB,GAAG,CAAC,MAAM,CAAC,MAAoB,GAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,cAAc,gBAAgB,EAAM,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAW,CAAC,EAAC,AAAE,OAAoB,GAAK,EAAU,CAAC,GAAG,CAAM,EAAC,AAAE,CAAE,cAAxiB,GAA2C"}