{"version":3,"file":"Sticker.CbDLIDWD.mjs","names":["__esmMin","p","c","init_jsx_runtime","RenderTarget","addPropertyControls","init_framer_DKtAEkcX","ControlType","burst","pts","points","r","outer","inner","a","Sticker","animate","float","art","IMAGES","kind","YELLOW","INK","TEAL","style","rotate","KINDS","init_Sticker"],"sources":["https:/framerusercontent.com/modules/IrMNgIdC7NPcVlcMIJpz/lB5A9GAKAv4qtbZoSYdv/Sticker.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const IMAGES={Hand:\"https://framerusercontent.com/images/Pn3ZcZaLAg1a85TFYQ8W7mTu0.png\",\"Cool badge\":\"https://framerusercontent.com/images/Jud28Wyxroht3JhTUIR67050atI.png\",Snowflake:\"https://framerusercontent.com/images/7Y0rm1mjmy9b8htCxD4p3feYvko.webp\",\"Doodle smiley\":\"https://framerusercontent.com/images/EfOAT6EHwuYeCDeglkZmegVIlE.webp\"};const KINDS=[\"Hand\",\"Smiley\",\"Starburst\",\"Bolt\",\"Cool badge\",\"Snowflake\",\"Doodle smiley\"];const INK=\"#231F20\";const YELLOW=\"#FDC057\";const TEAL=\"#5BAEC6\";function burst(points=14,outer=50,inner=27){const pts=[];for(let i=0;i<points*2;i++){const r=i%2===0?outer:inner;const a=Math.PI*i/points-Math.PI/2;pts.push((50+r*Math.cos(a)).toFixed(2)+\",\"+(50+r*Math.sin(a)).toFixed(2));}return pts.join(\" \");}/**\n * Decorative CrewLAB sticker (hand, smiley, starburst, bolt and friends).\n * Purely decorative: hidden from screen readers and never clickable.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Sticker({kind=\"Hand\",rotate=-8,float=true,style}){const animate=float&&RenderTarget.current()!==RenderTarget.canvas;let art;if(IMAGES[kind]){art=/*#__PURE__*/_jsx(\"img\",{src:IMAGES[kind]+\"?scale-down-to=512\",alt:\"\",loading:\"lazy\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",display:\"block\"}});}else if(kind===\"Smiley\"){art=/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 100 100\",width:\"100%\",height:\"100%\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"50\",cy:\"50\",r:\"45\",fill:YELLOW,stroke:INK,strokeWidth:\"3.5\"}),/*#__PURE__*/_jsx(\"ellipse\",{cx:\"36\",cy:\"40\",rx:\"4.6\",ry:\"8.4\",fill:INK}),/*#__PURE__*/_jsx(\"ellipse\",{cx:\"64\",cy:\"40\",rx:\"4.6\",ry:\"8.4\",fill:INK}),/*#__PURE__*/_jsx(\"path\",{d:\"M26 58 C34 76 66 76 74 58\",fill:\"none\",stroke:INK,strokeWidth:\"4.2\",strokeLinecap:\"round\"})]});}else if(kind===\"Bolt\"){art=/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 100 100\",width:\"100%\",height:\"100%\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M58 6 L22 56 H44 L36 94 L78 40 H54 Z\",fill:\"#FFFFFF\",stroke:INK,strokeWidth:\"4\",strokeLinejoin:\"round\"})});}else{art=/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 100 100\",width:\"100%\",height:\"100%\",children:/*#__PURE__*/_jsx(\"polygon\",{points:burst(),fill:TEAL})});}return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{...style,width:\"100%\",height:\"100%\",pointerEvents:\"none\",userSelect:\"none\"},children:[animate?/*#__PURE__*/_jsx(\"style\",{children:`@keyframes cl-sticker-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@media(prefers-reduced-motion:reduce){.cl-sticker-float{animation:none !important}}`}):null,/*#__PURE__*/_jsx(\"div\",{className:animate?\"cl-sticker-float\":undefined,style:{width:\"100%\",height:\"100%\",animation:animate?\"cl-sticker-float 5.5s ease-in-out infinite\":undefined},children:/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",transform:`rotate(${rotate}deg)`},children:art})})]});}addPropertyControls(Sticker,{kind:{type:ControlType.Enum,title:\"Sticker\",options:KINDS,defaultValue:\"Hand\"},rotate:{type:ControlType.Number,title:\"Tilt\",defaultValue:-8,min:-45,max:45,unit:\"\\xb0\"},float:{type:ControlType.Boolean,title:\"Gentle float\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Sticker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Sticker.map"],"mappings":"A,2KAA0mB,SAASQ,EAAM,EAAO,GAAG,EAAM,GAAG,EAAM,GAAG,CAAC,IAAMC,EAAI,CAAC,EAAE,IAAI,IAAI,EAAE,EAAE,EAAEC,EAAO,EAAE,IAAI,CAAC,IAAMC,EAAE,EAAE,GAAI,EAAEC,EAAMC,EAAYC,EAAE,KAAK,GAAG,EAAEJ,EAAO,KAAK,GAAG,EAAED,EAAI,MAAM,GAAGE,EAAE,KAAK,IAAIG,CAAC,EAAA,CAAG,QAAQ,CAAC,EAAE,KAAK,GAAGH,EAAE,KAAK,IAAIG,CAAC,EAAA,CAAG,QAAQ,CAAC,CAAC,CAAE,CAAC,OAAOL,EAAI,KAAK,GAAG,CAAE,CAK31B,SAAwBM,EAAQ,CAAC,OAAK,OAAO,SAAO,GAAG,QAAM,GAAK,SAAO,CAAC,IAAMC,EAAQC,GAAOb,EAAa,QAAQ,IAAIA,EAAa,OAAWc,EAAuiC,MAAniC,CAAi5BA,EAA94BC,EAAOC,GAAwB,gBAAK,MAAM,CAAC,IAAID,EAAOC,GAAM,qBAAqB,IAAI,GAAG,QAAQ,OAAO,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,QAAQ,OAAO,CAAC,CAAC,EAAWA,IAAO,SAA2B,gBAAM,M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