{"version":3,"file":"Glass.CSqVLALa.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Deex6mslxHgTH8oeUQm7/rRGNf06g611doxPkCJDw/Glass.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function RealGlass(props){const{radius,blur,backgroundOpacity,edgeOpacity,bottomRightEdgeOpacity,edgeWidth,shineOpacity,shadowOpacity}=props;const shadowParts=[/*\n         * Dezenter Außenschatten\n         */`0 8px 22px rgba(0, 0, 0, ${shadowOpacity})`];/*\n     * Glass Edge oben links\n     */if(edgeOpacity>0&&edgeWidth>0){shadowParts.push(`inset ${edgeWidth}px ${edgeWidth}px 0 rgba(255, 255, 255, ${edgeOpacity})`);}/*\n     * Glass Edge unten rechts\n     */if(bottomRightEdgeOpacity>0&&edgeWidth>0){shadowParts.push(`inset -${edgeWidth}px -${edgeWidth}px 0 rgba(255, 255, 255, ${bottomRightEdgeOpacity})`);}return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\",borderRadius:radius,/*\n                 * Fast transparenter Glas-Fill\n                 */background:`rgba(255, 255, 255, ${backgroundOpacity})`,/*\n                 * Echter Background Blur\n                 */backdropFilter:`blur(${blur}px)  brightness(105%)`,WebkitBackdropFilter:`blur(${blur}px)  brightness(105%)`,boxShadow:shadowParts.join(\", \")},children:shineOpacity>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderRadius:radius,pointerEvents:\"none\",background:`\n                            linear-gradient(\n                                135deg,\n                                rgba(255, 255, 255, ${shineOpacity}) 0%,\n                                rgba(255, 255, 255, ${shineOpacity*.35}) 24%,\n                                rgba(255, 255, 255, 0) 58%\n                            )\n                        `}})});}RealGlass.defaultProps={radius:46,blur:28,backgroundOpacity:.035,edgeOpacity:.08,bottomRightEdgeOpacity:.08,edgeWidth:.5,shineOpacity:.1,shadowOpacity:.08};addPropertyControls(RealGlass,{radius:{type:ControlType.Number,title:\"Radius\",min:0,max:120,step:1,defaultValue:46},blur:{type:ControlType.Number,title:\"Blur\",min:0,max:80,step:1,defaultValue:28},backgroundOpacity:{type:ControlType.Number,title:\"Fill\",min:0,max:.3,step:.005,defaultValue:.035},edgeOpacity:{type:ControlType.Number,title:\"Top Edge\",min:0,max:.5,step:.01,defaultValue:.08},bottomRightEdgeOpacity:{type:ControlType.Number,title:\"Bottom Edge\",min:0,max:.5,step:.01,defaultValue:.08},edgeWidth:{type:ControlType.Number,title:\"Edge Width\",min:0,max:2,step:.25,defaultValue:.5},shineOpacity:{type:ControlType.Number,title:\"Shine\",min:0,max:.5,step:.01,defaultValue:.1},shadowOpacity:{type:ControlType.Number,title:\"Shadow\",min:0,max:.25,step:.01,defaultValue:.08}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RealGlass\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Glass.map"],"mappings":"4JAA+F,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,SAAO,OAAK,oBAAkB,cAAY,yBAAuB,YAAU,eAAa,iBAAe,EAAY,EAAY,CAElQ,4BAA4B,EAAc,EAAE,EAIsG,OAFnJ,EAAY,GAAG,EAAU,GAAG,EAAY,KAAK,SAAS,EAAU,KAAK,EAAU,2BAA2B,EAAY,EAAE,EAExH,EAAuB,GAAG,EAAU,GAAG,EAAY,KAAK,UAAU,EAAU,MAAM,EAAU,2BAA2B,EAAuB,EAAE,EAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,SAAS,SAAS,aAAa,EAE/P,WAAW,uBAAuB,EAAkB,GAEpD,eAAe,QAAQ,EAAK,uBAAuB,qBAAqB,QAAQ,EAAK,uBAAuB,UAAU,EAAY,KAAK,IAAI,CAAC,EAAE,SAAS,EAAa,GAAgB,EAAK,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