{"version":3,"file":"ElipsisText.B2LEA4pL.mjs","names":["__esmMin","init_jsx_runtime","TruncatedText","name","props","lines","Component","init_ElipsisText"],"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":"A,oGAA2C,SAAgBE,EAAc,EAAU,CAAC,MAAO,IAAO,CAAC,IAAyCC,EAAKC,EAAM,oBAAoB,GAAGD,GAAuC,WAAW,QAAmB,EAAE,CAAC,IAAME,EAAMF,EAAK,QAAQ,gBAAI,OAAO,SAAuB,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,MAAoB,gBAAKG,EAAU,CAAC,GAAGF,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,QAAQ,cAAc,gBAAgBC,EAAM,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAU,CAAC,CAAC,CAAE,CAAC,MAAoB,gBAAKC,EAAU,CAAC,GAAGF,CAAK,CAAC,CAAE,CAAE,C"}