{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/yTIwAlBYUqx9bhPvIPG8/FeO7scBUhGXrYo5Solef/truncateText.js"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";// define no of lines after you want to truncate\nexport function oneLine(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:`1`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props,style:styles})});};}export function twoLines(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:`2`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props,style:styles})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"oneLine\":{\"type\":\"reactHoc\",\"name\":\"oneLine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"twoLines\":{\"type\":\"reactHoc\",\"name\":\"twoLines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./truncateText.map"],
  "mappings": "gDACO,SAASA,EAAQC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAO,CAAC,GAAuCD,GAAM,MAAM,gBAAgB,IAAI,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoBE,EAAKC,EAAU,CAAC,SAAsBD,EAAKH,EAAU,CAAC,GAAGC,EAAM,MAAMC,CAAM,CAAC,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASG,EAASL,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAO,CAAC,GAAuCD,GAAM,MAAM,gBAAgB,IAAI,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoBE,EAAKC,EAAU,CAAC,SAAsBD,EAAKH,EAAU,CAAC,GAAGC,EAAM,MAAMC,CAAM,CAAC,CAAC,CAAC,CAAE,CAAE",
  "names": ["oneLine", "Component", "props", "styles", "p", "l", "twoLines"]
}
