{"version":3,"file":"Text_Truncate_2_lines.DdXRM8fV.mjs","names":["_jsx","_Fragment","__esmMin","init_jsx_runtime","l","c","init_store_js__1_0","withLineTruncate","Component","props","styles","LINES","init_Text_Truncate_2_lines","createStore"],"sources":["https:/framerusercontent.com/modules/DJgn6IVaTk8KefGyCl6B/DkaAHDV6SZeHG0hIdoLG/Text_Truncate_2_lines.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});const LINES=2;export default function withLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:`${LINES}`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props,style:styles})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactHoc\",\"name\":\"withLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Truncate_2_lines.map"],"mappings":"A,4JACiE,SAAwBO,EAAiBC,EAAU,CAAC,MAAOC,IAAO,CAAC,IAAMC,EAAO,CAAC,GAAGD,GAA0C,MAAM,gBAAgB,GAAGE,IAAQ,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,MAAoBX,gBAAKC,EAAU,CAAC,SAAsBD,gBAAKQ,EAAU,CAAC,GAAGC,EAAM,MAAMC,CAAM,CAAC,CAAC,CAAC,CAAE,CAAE,C,4CAAnZG,EAAY,CAAC,WAAW,SAAS,CAAC,EAAQF,EAAM,C"}