{"version":3,"file":"SVG.DE-RV9JG.mjs","names":["viewBox"],"sources":["https:/framerusercontent.com/modules/95CHZahInTNBsFf62LmP/m04CBA3gtNPUKaJsck8J/SVG.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicWidth auto\n * @framerIntrinsicHeight auto\n */export default function SVGComponent(props){const{customSvgCode,customColor,customPadding,customStrokeWidth,lineCap,lineJoin,title,description}=props;const extractViewBox=svgCode=>{const viewBoxMatch=svgCode.match(/viewBox=\"([^\"]+)\"/);return viewBoxMatch?viewBoxMatch[1]:\"0 0 24 24\";};const processSVGContent=originalSvgCode=>{let modifiedSvgCode=originalSvgCode;const viewBox=extractViewBox(originalSvgCode);// Handle circle fill\nconst circleFillRegex=/<circle[^>]*fill=\"([^\"]*)\"/;const circleMatch=modifiedSvgCode.match(circleFillRegex);if(circleMatch){const updatedCircle=circleMatch[0].replace(circleMatch[1],customColor);modifiedSvgCode=modifiedSvgCode.replace(circleFillRegex,updatedCircle);}else if(modifiedSvgCode.includes(\"<circle\")){modifiedSvgCode=modifiedSvgCode.replace(/<circle/g,`<circle fill=\"${customColor}\"`);}// Handle path stroke and fill\nif(modifiedSvgCode.includes('stroke=\"')){// Modify path with stroke\nmodifiedSvgCode=modifiedSvgCode.replace(/<path/g,`<path stroke=\"${customColor}\" stroke-linecap=\"${lineCap}\" stroke-width=\"${customStrokeWidth}\" stroke-linejoin=\"${lineJoin}\"`);}else{// Modify path without stroke\nmodifiedSvgCode=modifiedSvgCode.replace(/<path/g,`<path fill=\"${customColor}\"`);}// Ensure overflow is visible\nif(!modifiedSvgCode.includes('overflow=\"')){modifiedSvgCode=modifiedSvgCode.replace(/<svg/,`<svg overflow=\"visible\"`);}else{modifiedSvgCode=modifiedSvgCode.replace(/overflow=\"[^\"]*\"/,'overflow=\"visible\"');}return{processedCode:modifiedSvgCode,viewBox};};const containerStyle={padding:`${customPadding}px`,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"};const accessibilityProps={role:\"img\",...title&&{\"aria-label\":title},...description&&{\"aria-description\":description}};const{processedCode,viewBox}=processSVGContent(customSvgCode);return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"svg\",{width:\"100%\",height:\"100%\",viewBox:viewBox,preserveAspectRatio:\"xMinYMid meet\",...accessibilityProps,dangerouslySetInnerHTML:{__html:processedCode}})});}SVGComponent.defaultProps={customSvgCode:`<svg viewBox=\"0 0 856 102\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M43.6526 1.82998V99.6423H22.9725V21.4593H22.3994L0 35.5007V17.1609L24.2143 1.82998H43.6526Z\" fill=\"white\"/>\n        <path d=\"M90.035 0.492701C95.0657 0.492H74.8473C75.6433 19.0076 854.567 24.1339 854.663 29.9606H834.842Z\" fill=\"white\"/>\n    </svg>`,customColor:\"#000000\",customPadding:0,customStrokeWidth:2,lineCap:\"butt\",lineJoin:\"miter\",title:\"\",description:\"\"};addPropertyControls(SVGComponent,{customSvgCode:{type:ControlType.String,title:\"SVG Code\",displayTextArea:true},customColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#ffffff\"},customPadding:{type:ControlType.Number,title:\"Padding\",defaultValue:0,min:0,step:1,displayStepper:true},customStrokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:2,min:0,step:.1,displayStepper:true,hidden:props=>!props.customSvgCode.includes('stroke=\"')},lineCap:{type:ControlType.Enum,title:\"Line Cap\",options:[\"butt\",\"round\",\"square\"],optionTitles:[\"Butt\",\"Round\",\"Square\"],defaultValue:\"butt\",hidden:props=>!props.customSvgCode.includes('stroke=\"')},lineJoin:{type:ControlType.Enum,title:\"Line Join\",options:[\"round\",\"miter\",\"bevel\"],optionTitles:[\"Round\",\"Miter\",\"Bevel\"],defaultValue:\"miter\",hidden:props=>!props.customSvgCode.includes('stroke=\"')},title:{type:ControlType.String,title:\"Title\",defaultValue:\"\",placeholder:\"Icon name...\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",placeholder:\"Icon purpose...\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SVGComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"auto\",\"framerIntrinsicHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SVG.map"],"mappings":"4JAGG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,gBAAc,cAAY,gBAAc,oBAAkB,UAAQ,WAAS,QAAM,eAAa,EAAY,EAAe,GAAS,CAAC,IAAM,EAAa,EAAQ,MAAM,oBAAoB,CAAC,OAAO,EAAa,EAAa,GAAG,aAAoB,EAAkB,GAAiB,CAAC,IAAI,EAAgB,EAAsBA,EAAQ,EAAe,EAAgB,CACrZ,EAAgB,6BAAmC,EAAY,EAAgB,MAAM,EAAgB,CAAC,GAAG,EAAY,CAAC,IAAM,EAAc,EAAY,GAAG,QAAQ,EAAY,GAAG,EAAY,CAAC,EAAgB,EAAgB,QAAQ,EAAgB,EAAc,MAAU,EAAgB,SAAS,UAAU,GAAE,EAAgB,EAAgB,QAAQ,WAAW,iBAAiB,EAAY,GAAG,EAI7L,MAH9M,CAEA,EAFG,EAAgB,SAAS,WAAW,CACvB,EAAgB,QAAQ,SAAS,iBAAiB,EAAY,oBAAoB,EAAQ,kBAAkB,EAAkB,qBAAqB,EAAS,GAAG,CAC/J,EAAgB,QAAQ,SAAS,eAAe,EAAY,GAAG,CAC/E,AAA4C,EAAxC,EAAgB,SAAS,aAAa,CAAkG,EAAgB,QAAQ,mBAAmB,qBAAqB,CAAhJ,EAAgB,QAAQ,OAAO,0BAA0B,CAA+F,CAAC,cAAc,EAAgB,QAAA,EAAQ,EAAS,EAAe,CAAC,QAAQ,GAAG,EAAc,IAAI,MAAM,OAAO,OAAO,OAAO,QA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