{"version":3,"file":"FrameEdges.2O2nCOom.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_B6PCHH0A","FrameEdges","props","style","topLeft","topLeftSize","curveColor","topRight","topRightSize","bottomLeft","bottomLeftSize","bottomRight","bottomRightSize","init_FrameEdges","ControlType"],"sources":["https:/framerusercontent.com/modules/MAW7iaLWBKxU1qPwBnF7/0kXGdZZq1UpPuWhW3FNB/FrameEdges.js"],"sourcesContent":["// Customizable Frame Edges - Create curved corner effects on any frame\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FrameEdges(props){const{curveColor,topLeft,topRight,bottomLeft,bottomRight,topLeftSize,topRightSize,bottomLeftSize,bottomRightSize,style}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\"},children:[topLeft&&/*#__PURE__*/_jsx(\"svg\",{style:{position:\"absolute\",top:0,left:0,width:topLeftSize,height:topLeftSize,pointerEvents:\"none\"},viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 0L0 20C0 8.95431 8.95431 0 20 0L0 0Z\",fill:curveColor})}),topRight&&/*#__PURE__*/_jsx(\"svg\",{style:{position:\"absolute\",top:0,right:0,width:topRightSize,height:topRightSize,pointerEvents:\"none\",transform:\"scaleX(-1)\"},viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 0L0 20C0 8.95431 8.95431 0 20 0L0 0Z\",fill:curveColor})}),bottomLeft&&/*#__PURE__*/_jsx(\"svg\",{style:{position:\"absolute\",bottom:0,left:0,width:bottomLeftSize,height:bottomLeftSize,pointerEvents:\"none\",transform:\"scaleY(-1)\"},viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 0L0 20C0 8.95431 8.95431 0 20 0L0 0Z\",fill:curveColor})}),bottomRight&&/*#__PURE__*/_jsx(\"svg\",{style:{position:\"absolute\",bottom:0,right:0,width:bottomRightSize,height:bottomRightSize,pointerEvents:\"none\",transform:\"scale(-1, -1)\"},viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 0L0 20C0 8.95431 8.95431 0 20 0L0 0Z\",fill:curveColor})})]});}addPropertyControls(FrameEdges,{curveColor:{type:ControlType.Color,title:\"Curve Color\",defaultValue:\"#FFFFFF\"},topLeft:{type:ControlType.Boolean,title:\"Top Left\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},topLeftSize:{type:ControlType.Number,title:\"Top Left Size\",defaultValue:80,min:20,max:300,step:5,unit:\"px\",hidden:props=>!props.topLeft},topRight:{type:ControlType.Boolean,title:\"Top Right\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},topRightSize:{type:ControlType.Number,title:\"Top Right Size\",defaultValue:80,min:20,max:300,step:5,unit:\"px\",hidden:props=>!props.topRight},bottomLeft:{type:ControlType.Boolean,title:\"Bottom Left\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},bottomLeftSize:{type:ControlType.Number,title:\"Bottom Left Size\",defaultValue:80,min:20,max:300,step:5,unit:\"px\",hidden:props=>!props.bottomLeft},bottomRight:{type:ControlType.Boolean,title:\"Bottom Right\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},bottomRightSize:{type:ControlType.Number,title:\"Bottom Right Size\",defaultValue:80,min:20,max:300,step:5,unit:\"px\",hidden:props=>!props.bottomRight}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameEdges\",\"slots\":[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