{"version":3,"file":"TruncatedText.C5QCSMW8.mjs","names":[],"sources":["https:/framerusercontent.com/modules/jDWqyNQcHjtokXdKK5OA/8iXRZwKi3FA3aIviA9TC/TruncatedText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";//Código usado para colocar um limitador de linhas nos textos, para usar, basta aplicar esse código no texto e renomear o elemento como \"Lines:*numero de linhas*\"\nconst truncatedTextPrefix=\"Lines:\"// Prefix the layer name with this to set the line limit\n;export function TruncatedText(Component){return props=>{const name=props[\"data-framer-name\"];if(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=./TruncatedText.map"],"mappings":"0HAEC,SAAgB,EAAc,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAK,EAAM,oBAAoB,GAAG,GAAM,WAAW,GAAqB,CAAC,IAAM,EAAM,EAAK,QAAY,OAAO,IAAI,GAAqB,IAAI,OAAO,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,cAAc,gBAAgB,EAAM,gBAAgB,WAAW,SAAS,SAAS,aAAa,WAAW,CAAC,CAAG,QAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAG,CAAE,qBADpb,EAAoB"}