{"version":3,"file":"SVG_Sizer.DOQ1R7mL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/C2RMCuo5NlLDz8eQPTCQ/FaSf7wn1GMtNAuaCClj6/SVG_Sizer.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 200\n */export default function SmartSVG(props){const{svgRaw,style}=props;// Extract viewBox\nconst viewBoxMatch=svgRaw.match(/viewBox=\"([^\"]+)\"/);const viewBox=viewBoxMatch?viewBoxMatch[1]:\"0 0 100 100\";// Extract inner content (remove <svg> wrapper)\nconst innerSvg=svgRaw.replace(/<svg[^>]*>/i,\"\")// remove opening <svg ...>\n.replace(/<\\/svg>/i,\"\")// remove closing </svg>\n;return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"100%\",height:\"100%\",viewBox:viewBox,preserveAspectRatio:\"xMidYMid meet\",dangerouslySetInnerHTML:{__html:innerSvg}})});}SmartSVG.defaultProps={svgRaw:`<svg width=\"100%\" height=\"161\" viewBox=\"0 0 1440 161\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M0 0.149048H1440L1440 109.47C1362.98 122.084 1299.97 115.777 1124.93 109.47C949.886 103.163 868.201 80.0375 728.168 96.8561C588.136 113.675 450.437 147.312 298.736 145.21C177.374 143.528 49.0114 112.273 0 96.8561V0.149048Z\" fill=\"#FEBE0F\"/>\n<path d=\"M0 0.149048H1440L1440 109.47C1362.98 122.084 1321.46 165.745 1146.42 159.439C971.382 153.132 922.362 89.8074 772.646 109.47C587.265 133.817 386.29 69.6039 234.589 67.5015C113.227 65.8197 49.0114 112.273 0 96.8561V0.149048Z\" fill=\"#FE6622\"/>\n<path d=\"M1440 0.149048H0L4.54529e-05 109.47C77.0179 122.084 140.033 115.777 315.073 109.47C490.114 103.163 571.799 80.0375 711.832 96.8561C851.864 113.675 989.563 147.312 1141.26 145.21C1262.63 143.528 1390.99 112.273 1440 96.8561V0.149048Z\" fill=\"#00A56B\"/>\n</svg>`};addPropertyControls(SmartSVG,{svgRaw:{type:ControlType.String,title:\"SVG Markup\",placeholder:\"Paste entire SVG here\",defaultValue:SmartSVG.defaultProps.svgRaw,displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SmartSVG\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any\",\"framerIntrinsicHeight\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SVG_Sizer.map"],"mappings":"4JAMG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,SAAO,SAAO,EACzD,EAAa,EAAO,MAAM,mBAAmB,EAAQ,EAAQ,EAAa,EAAa,GAAG,cAC1F,EAAS,EAAO,QAAQ,cAAc,EAAE,CAAC,CAC9C,QAAQ,WAAW,EAAE,EACrB,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,MAAM,EAAE,SAAsB,EAAK,MAAM,CAAC,MAAM,OAAO,OAAO,OAAe,UAAQ,oBAAoB,gBAAgB,wBAAwB,CAAC,OAAO,CAAQ,CAAC,CAAC,CAAC,CAAC,CAAE,iBAVlM,IAAoD,EAU+I,EAAS,aAAa,CAAC,OAAO;;;;OAIpQ,EAAE,EAAoB,EAAS,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,YAAY,wBAAwB,aAAa,EAAS,aAAa,OAAO,gBAAgB,EAAI,CAAC,CAAC"}