{"version":3,"file":"TreeCounter.BdePRsn5.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_DKtAEkcX","useIsStaticRenderer","addPropertyControls","TreeCounter","props","isStatic","count","CSS","title","subtitle","place","trees","i","footer","init_TreeCounter","ControlType"],"sources":["https:/framerusercontent.com/modules/lxm2iWbZi8ILlqx5ljXD/Qg0JNOnAijFUNw6XBNdY/TreeCounter.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const CSS=`\n@keyframes ccrTwgrow{0%{transform:scale(0)}18%,86%{transform:scale(1)}100%{transform:scale(0)}}\n@keyframes ccrTwpulse{0%,100%{box-shadow:0 0 0 0 rgba(88,195,74,.5)}60%{box-shadow:0 0 0 7px rgba(88,195,74,0)}}\n.ccr-tree{animation:ccrTwgrow 4.2s cubic-bezier(.34,1.56,.64,1) infinite both;transform-origin:50% 100%}\n.ccr-pulse{animation:ccrTwpulse 1.6s ease infinite}\n@media (prefers-reduced-motion:reduce){.ccr-tree,.ccr-pulse{animation:none}}\n`;/**\n * Tree Counter — the \"Trees planted\" card from the Careers values stack.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 380\n */export default function TreeCounter(props){const{title=\"Trees planted\",subtitle=\"One for every design task\",place=\"Madagascar\",count=\"14,445\",footer=\"with every design we finish\",trees=7}=props;const isStatic=useIsStaticRenderer();const font=\"'Inter', sans-serif\";return /*#__PURE__*/_jsxs(\"div\",{role:\"group\",\"aria-label\":`${count} trees planted so far`,style:{...props.style,position:\"relative\",boxSizing:\"border-box\",width:\"100%\",padding:22,borderRadius:26,background:\"#FFFFFF\",color:\"#130E3A\",boxShadow:\"0 30px 60px -30px rgba(19,14,58,.55)\",fontFamily:font},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:\"none\",width:42,height:42,borderRadius:12,background:\"#C6F657\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#130E3A\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M5 19c0-9 5-14 15-14 0 10-5 15-14 15z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 19c3-5 6-8 11-10\"})]})}),/*#__PURE__*/_jsxs(\"span\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"b\",{style:{display:\"block\",fontSize:16,fontWeight:700,lineHeight:1.3},children:title}),/*#__PURE__*/_jsx(\"small\",{style:{display:\"block\",fontSize:13,color:\"#5A5675\",lineHeight:1.35},children:subtitle})]}),/*#__PURE__*/_jsxs(\"span\",{style:{marginLeft:\"auto\",display:\"inline-flex\",alignItems:\"center\",gap:6,padding:\"6px 10px\",borderRadius:9,background:\"#F4F3F8\",fontWeight:600,fontSize:12.5,whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"i\",{className:isStatic?\"\":\"ccr-pulse\",style:{width:8,height:8,borderRadius:\"50%\",background:\"#58C34A\",display:\"block\"}}),place]})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"18px 0 0\",fontFamily:\"'PP Neue Corp', 'Inter', sans-serif\",fontWeight:800,textTransform:\"uppercase\",fontSize:64,lineHeight:.9,letterSpacing:\".004em\",color:\"#130E3A\"},children:count}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{display:\"flex\",gap:6,marginTop:16,alignItems:\"flex-end\",height:40},children:Array.from({length:Math.max(0,trees)}).map((_,i)=>/*#__PURE__*/_jsxs(\"svg\",{className:isStatic?\"\":\"ccr-tree\",viewBox:\"0 0 40 48\",style:{width:30,height:36,animationDelay:`${i*.15}s`},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M18.5 47 19 30h2l.5 17z\",fill:\"#130E3A\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"20\",cy:\"18\",r:\"12\",fill:\"#C6F657\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"25\",r:\"8\",fill:\"#A9E03F\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"29\",cy:\"25\",r:\"8\",fill:\"#A9E03F\"})]},i))}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,marginTop:16,paddingTop:14,borderTop:\"1px solid #EEEBF4\",fontWeight:500,fontSize:14,color:\"#474365\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",padding:\"5px 9px\",borderRadius:9,background:\"#C6F657\",color:\"#130E3A\",fontWeight:700,fontSize:13},children:\"+1\"}),footer]})]});}addPropertyControls(TreeCounter,{title:{type:ControlType.String,defaultValue:\"Trees planted\"},subtitle:{type:ControlType.String,defaultValue:\"One for every design task\"},place:{type:ControlType.String,defaultValue:\"Madagascar\"},count:{type:ControlType.String,defaultValue:\"14,445\"},footer:{type:ControlType.String,defaultValue:\"with every design we finish\"},trees:{type:ControlType.Number,defaultValue:7,min:1,max:12,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TreeCounter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"380\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TreeCounter.map"],"mappings":"A,sKAYG,SAAwBO,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,gBAAgB,WAAS,4BAA4B,QAAM,aAAa,QAAM,SAAS,SAAO,8BAA8B,QAA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