{"version":3,"file":"GlassSticker.DYN8W7Hd.mjs","names":[],"sources":["https:/framerusercontent.com/modules/v0dLKhv0kyBkzjEeLvOF/Pym8FpwBVfUCrfYdMkAB/GlassSticker.js"],"sourcesContent":["// Glass morphism style sticker with \"MEET THE FOUNDER\" text in circular layout\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function GlassSticker(props){const{text=\"MEET THE FOUNDER\",centerIcon=\"✦\",backgroundColor=\"rgba(255, 255, 255, 0.1)\",borderColor=\"rgba(255, 255, 255, 0.3)\",textColor=\"#FFFFFF\",blur=10,opacity=.15,borderWidth=1,size=200,rotate=true,rotationSpeed=10}=props;const radius=size/2-20;// Repeat the text twice with spaces in between\nconst repeatedText=`${text} • ${text} • `;const characters=repeatedText.split(\"\");const angleStep=360/characters.length;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:size,height:size,borderRadius:\"50%\",background:backgroundColor,backdropFilter:`blur(${blur}px)`,WebkitBackdropFilter:`blur(${blur}px)`,border:`${borderWidth}px solid ${borderColor}`,boxShadow:`0 8px 32px 0 rgba(0, 0, 0, ${opacity})`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",width:\"100%\",height:\"100%\",top:0,left:0,animation:rotate?`rotate ${rotationSpeed}s linear infinite`:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                        @keyframes rotate {\n                            from {\n                                transform: rotate(0deg);\n                            }\n                            to {\n                                transform: rotate(360deg);\n                            }\n                        }\n                    `}),characters.map((char,index)=>{const angle=index*angleStep-90;const x=radius*Math.cos(angle*Math.PI/180);const y=radius*Math.sin(angle*Math.PI/180);return /*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:\"50%\",top:\"50%\",transform:`translate(-50%, -50%) translate(${x}px, ${y}px) rotate(${angle+90}deg)`,color:textColor,...props.font,transformOrigin:\"center\"},children:char},index);})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:size*.25,color:textColor,zIndex:1},children:centerIcon})]})});}addPropertyControls(GlassSticker,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"MEET THE FOUNDER\"},centerIcon:{type:ControlType.String,title:\"Center Icon\",defaultValue:\"✦\"},rotate:{type:ControlType.Boolean,title:\"Rotate\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},rotationSpeed:{type:ControlType.Number,title:\"Speed\",defaultValue:10,min:1,max:60,step:1,unit:\"s\",hidden:({rotate})=>!rotate},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"rgba(255, 255, 255, 0.3)\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:5,step:.5,unit:\"px\"},blur:{type:ControlType.Number,title:\"Blur\",defaultValue:10,min:0,max:30,step:1,unit:\"px\"},opacity:{type:ControlType.Number,title:\"Shadow Opacity\",defaultValue:.15,min:0,max:1,step:.05},size:{type:ControlType.Number,title:\"Size\",defaultValue:200,min:100,max:400,step:10,unit:\"px\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Regular\",letterSpacing:\"0.15em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlassSticker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\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