{"version":3,"file":"LimitText.CcQiTCui.mjs","names":[],"sources":["https:/framerusercontent.com/modules/dcOLWC9zDSgc3ssEVe7L/HFeOPlE6f7fO17AuxBzJ/LimitText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// ---------------------------------------------------------\n// HELPER FUNCTION\n// ---------------------------------------------------------\n// We keep the logic here to keep things clean\nfunction applyLineLimit(Component,lines){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,display:\"-webkit-box\",WebkitLineClamp:lines,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}});};}// ---------------------------------------------------------\n// EXPORTED OPTIONS\n// ---------------------------------------------------------\n// We now export explicit functions, which Framer detects more reliably\nexport function with1Line(Component){return applyLineLimit(Component,1);}export function with2Lines(Component){return applyLineLimit(Component,2);}export function with3Lines(Component){return applyLineLimit(Component,3);}export function with4Lines(Component){return applyLineLimit(Component,4);}export function with5Lines(Component){return applyLineLimit(Component,5);}export function with6Lines(Component){return applyLineLimit(Component,6);}\nexport const __FramerMetadata__ = {\"exports\":{\"with1Line\":{\"type\":\"reactHoc\",\"name\":\"with1Line\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with5Lines\":{\"type\":\"reactHoc\",\"name\":\"with5Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with3Lines\":{\"type\":\"reactHoc\",\"name\":\"with3Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with4Lines\":{\"type\":\"reactHoc\",\"name\":\"with4Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with2Lines\":{\"type\":\"reactHoc\",\"name\":\"with2Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with6Lines\":{\"type\":\"reactHoc\",\"name\":\"with6Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LimitText.map"],"mappings":"oGAIA,SAAS,EAAe,EAAU,EAAM,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,cAAc,gBAAgB,EAAM,gBAAgB,WAAW,SAAS,SAAS,aAAa,WAAW,CAAC,CAAC,CAIrK,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAe,EAAU,EAAE,CAAE,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAe,EAAU,EAAE,CAAE,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAe,EAAU,EAAE,kBAR1P"}