{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/2zBbjgKGembJScRjgHLR/92nmUUfoNnJr9UeCD7Ff/Animated_Numbers.js", "ssg:https://framerusercontent.com/modules/9G7qQd7e3MZcjB4sQTgv/qgaP7YWMmlaqWDj56tJy/lTkDVr6P9.js"],
  "sourcesContent": ["// Animated Numbers - Component Description:\n// This component animates numbers between a start and end value, with the following customizable features:\n// - Start Number: Define the starting number for the animation.\n// - End Number: Define the ending number for the animation.\n// - Speed: Set the duration of the animation.\n// - Font: Choose from extended font options (font family, size, weight, line height).\n// - Font Color: Customize the text color.\n// - Text Alignment: Align the text (left, center, or right).\n// The animation triggers when the component becomes visible in the viewport.\n// Created by Tamas from Framerpod with ChatGPT.\n// Free to use :-)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{motion,animate,useInView}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export function AnimatedNumber(props){const{startNumber,endNumber,speed,font,fontColor,textAlign}=props;const[currentNumber,setCurrentNumber]=useState(startNumber);const ref=useRef(null);const isInView=useInView(ref,{once:true});useEffect(()=>{if(isInView){const controls=animate(startNumber,endNumber,{duration:speed,onUpdate(value){setCurrentNumber(Math.floor(value));}});return()=>controls.stop()// Cleanup on unmount\n;}},[isInView,startNumber,endNumber,speed]);return /*#__PURE__*/_jsx(motion.div,{ref:ref,style:{...font,color:fontColor,textAlign},children:currentNumber});}AnimatedNumber.defaultProps={startNumber:0,endNumber:100,speed:2,font:{fontFamily:\"Inter\",fontWeight:\"Regular\",fontSize:16,lineHeight:\"1.5em\"},fontColor:\"#000\",textAlign:\"center\"};addPropertyControls(AnimatedNumber,{startNumber:{type:ControlType.Number,title:\"Start Number\",defaultValue:0},endNumber:{type:ControlType.Number,title:\"End Number\",defaultValue:100},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:2,min:.1,max:10,step:.1},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},fontColor:{type:ControlType.Color,title:\"Font Color\",defaultValue:\"#000\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",description:\"Code by [Framerpod](https://www.framerpod.com).\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"AnimatedNumber\":{\"type\":\"reactComponent\",\"name\":\"AnimatedNumber\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Animated_Numbers.map", "// Generated by Framer (612a550)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Epilogue-regular\",\"FS;Epilogue-bold\",\"FS;Epilogue-bold italic\",\"FS;Epilogue-italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Epilogue\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/TBAM3F2B3Q62J3EFZZOFBKD7FY2D2ABJ/UXFRFNKWVYOJXQY4ZT3GUSK23QFKNFJY/FXFHMD66ZLUDCPUIIIVS5BUZ2MFAWPYU.woff2\",weight:\"400\"},{family:\"Epilogue\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/Q6PBDKMW3ILHZCUUHJUL7Z5CAEUYIYJT/ACU6JUVISLUN5YPIBAVSNVQX7TIXK7LY/XVEXE7YCBGUS6ROKRHQHPQAR7KODNVQ3.woff2\",weight:\"700\"},{family:\"Epilogue\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/ONZH6ZASWZCELVW4GZ5FS2DD4KV34DZY/IWL64III3URHKBZSTXXZCIKPZUGZBYJJ/KVA3QGLTXVRAZQOOPC6T3N7AGN5JIOM5.woff2\",weight:\"700\"},{family:\"Epilogue\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/KWLZTFPEA4723LEVLYZXLKTL4WVDOH2O/IWOTC5SPMRT64SBDFF2NYBGUX2REAZU5/T7T65M73WIMKNLHBHJ7Z4UDNIFBBEYY6.woff2\",weight:\"400\"}]}];export const css=['.framer-z5FYt .framer-styles-preset-vc64m9:not(.rich-text-wrapper), .framer-z5FYt .framer-styles-preset-vc64m9.rich-text-wrapper p { --framer-font-family: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-bold: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-italic: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-22fcb246-38bd-48c6-8a41-8eefd4df124f, #1a1a1a); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-z5FYt .framer-styles-preset-vc64m9:not(.rich-text-wrapper), .framer-z5FYt .framer-styles-preset-vc64m9.rich-text-wrapper p { --framer-font-family: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-bold: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-italic: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-22fcb246-38bd-48c6-8a41-8eefd4df124f, #1a1a1a); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-z5FYt .framer-styles-preset-vc64m9:not(.rich-text-wrapper), .framer-z5FYt .framer-styles-preset-vc64m9.rich-text-wrapper p { --framer-font-family: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-bold: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-family-italic: \"Epilogue\", \"Epilogue Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-22fcb246-38bd-48c6-8a41-8eefd4df124f, #1a1a1a); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }'];export const className=\"framer-z5FYt\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "2IAWuM,SAASA,EAAeC,EAAM,CAAC,GAAK,CAAC,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C,OAAO,SAAS,OAAO,CAAC,CAAC,CAAC,ECXh4BC,EAAU,UAAU,CAAC,sBAAsB,mBAAmB,0BAA0B,oBAAoB,CAAC,EAAS,IAAMC,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,WAAW,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,OAAO,WAAW,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,OAAO,WAAW,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,OAAO,WAAW,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,KAAK,CAAC,CAAC,CAAC,EAAeC,EAAI,CAAC,mpCAAmpC,ysCAAysC,qsCAAqsC,EAAeC,EAAU",
  "names": ["AnimatedNumber", "props", "startNumber", "endNumber", "speed", "font", "fontColor", "textAlign", "currentNumber", "setCurrentNumber", "ye", "ref", "pe", "isInView", "useInView", "ue", "controls", "animate", "value", "p", "motion", "addPropertyControls", "ControlType", "fontStore", "fonts", "css", "className"]
}
