{"version":3,"file":"Wovenpattern.BYeCuQ8s.mjs","names":["React.useId"],"sources":["https:/framerusercontent.com/modules/bEV14wpUrSeIuqYKqXZE/Sh18MOoc4Lo0YIxm2LCr/Wovenpattern.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Container-Stil wie im Framer-Beispiel\nconst containerStyle={width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\",// position optional, aber oft hilfreich:\nposition:\"relative\"};// Dieses Component rendert ein SVG, das das Pattern über die gesamte Fläche kachelt.\nexport default function Wovenpattern(props){const{scale=64,style,...rest}=props;// Einzigartige ID pro Instanz, damit es keine Konflikte im DOM gibt\nconst patternId=React.useId();const size=scale;return /*#__PURE__*/_jsx(\"div\",{style:{...containerStyle,...style},...rest,children:/*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",preserveAspectRatio:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"pattern\",{id:patternId,x:\"0\",y:\"0\",width:size,height:size,patternUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:size,height:size,fill:\"#741FE6\",fillOpacity:.1}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:size,height:size/2,fill:\"#8624FF\",fillOpacity:.09}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:size/2,height:size,fill:\"#8624FF\",fillOpacity:.075}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:size/2,height:size/2,fill:\"#000000\",fillOpacity:.015})]})}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:\"100%\",height:\"100%\",fill:`url(#${patternId})`})]})});}addPropertyControls(Wovenpattern,{scale:{title:\"Scale\",type:ControlType.Number,defaultValue:64,min:16,max:512,step:8}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Wovenpattern\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Wovenpattern.map"],"mappings":"kLAGA,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,GAAG,QAAM,GAAG,GAAM,EACpE,EAAUA,GAAa,CAAO,EAAK,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAe,GAAG,EAAM,CAAC,GAAG,EAAK,SAAsB,EAAM,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,oBAAoB,OAAO,MAAM,6BAA6B,SAAS,CAAc,EAAK,OAAO,CAAC,SAAsB,EAAM,UAAU,CAAC,GAAG,EAAU,EAAE,IAAI,EAAE,IAAI,MAAM,EAAK,OAAO,EAAK,aAAa,iBAAiB,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,EAAK,OAAO,EAAK,KAAK,UAAU,YAAY,GAAG,CAAC,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,EAAK,OAAO,EAAK,EAAE,KAAK,UAAU,YAAY,IAAI,CAAC,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,EAAK,EAAE,OAAO,EAAK,KAAK,UAAU,YAAY,KAAK,CAAC,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,EAAK,EAAE,OAAO,EAAK,EAAE,KAAK,UAAU,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,OAAO,OAAO,OAAO,KAAK,QAAQ,EAAU,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAJv0B,IAA4B,IAAoD,CACnI,EAAe,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,SACrH,SAAS,WAAW,CAE82B,EAAoB,EAAa,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAK,EAAY,OAAO,aAAa,GAAG,IAAI,GAAG,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC"}