{"version":3,"file":"Elements.DC_nTty2.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/LhVBAZrFY98aZqPg2h7v/CaXNtyv20SJfO7IPeNGF/Elements.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{useRef,useEffect}from\"react\";export function setInnerSvgAutoHeight(Component){return props=>{const contentRef=useRef(null);useEffect(()=>{if(contentRef.current){const svgs=contentRef.current.querySelectorAll(\"svg\");svgs.forEach(svg=>{svg.style.height=\"auto\";});const divs=contentRef.current.querySelectorAll(\".svgContainer\");divs.forEach(div=>{div.style.display=\"flex\";div.style.flexDirection=\"column\";div.style.justifyContent=\"center\";});}},[]);return /*#__PURE__*/_jsx(Component,{ref:contentRef,...props,draggable:\"false\"});};}export function withNegativeHorizontalMargin(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{marginLeft:\"-18px\",marginRight:\"-18px\",width:\"100vw\",paddingLeft:\"18px\",paddingRigth:\"18px\"}});};}export default function with2LineTruncate(Component){const LINES=2;return props=>{const styles={...props?.style,WebkitLineClamp:`${LINES}`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props,style:styles})});};}export function withForcedWhiteTextColor(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{\"--framer-text-color\":\"white\"}});};}export function withBorder(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{width:\"100%\",height:\"48px\",\"border-style\":\"solid\",\"border-width\":\"1px\",\"border-color\":\"black\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"setInnerSvgAutoHeight\":{\"type\":\"reactHoc\",\"name\":\"setInnerSvgAutoHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withForcedWhiteTextColor\":{\"type\":\"reactHoc\",\"name\":\"withForcedWhiteTextColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNegativeHorizontalMargin\":{\"type\":\"reactHoc\",\"name\":\"withNegativeHorizontalMargin\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBorder\":{\"type\":\"reactHoc\",\"name\":\"withBorder\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactHoc\",\"name\":\"with2LineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Elements.map"],"mappings":"kHAAylB,SAAgB,EAA6B,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,WAAW,QAAQ,YAAY,QAAQ,MAAM,QAAQ,YAAY,OAAO,aAAa,MAAM,CAAC,CAAC,CAAI,CAAC,SAAwB,EAAkB,EAAU,CAAe,MAAO,IAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAAO,MAAM,gBAAgB,IAAW,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoB,EAAKA,EAAU,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAM,CAAC,CAAC,CAAC,CAAE,CAAE,CAA4J,SAAgB,EAAW,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,eAAe,QAAQ,eAAe,MAAM,eAAe,OAAO,CAAC,CAAC,CAAI,iBAA36C,IAAoC"}