{"version":3,"file":"LoaderCounter.SCSt_iEv.mjs","names":["fixedValue","React.useState","React.useRef","p","React.useMemo"],"sources":["https:/framerusercontent.com/modules/aGxbJEkhNrDnpPqnGNiE/1KnRwfjCWO0zsTVvk5Tx/LoaderCounter.js"],"sourcesContent":["/**\n * @framerDisableUnlink\n * @framerDisplayName \"Loader Counter\"\n *//**\n * Loader Counter v1.0.0\n * Professional animated number counter with authentic loader and linear modes.\n *\n * ✨ Features:\n * • Authentic loader animation with realistic pauses and speed variations\n * • Linear counting mode for smooth, consistent animations\n * • Smart number formatting with thousands separators and abbreviations (K/M/B)\n * • Color transitions that interpolate smoothly during animation\n * • Intersection Observer for viewport-triggered animations\n * • Full accessibility support with ARIA labels and announcements\n * • Respects user motion preferences automatically\n * • High-performance RAF-based animation loop\n *\n * 🎨 Customization:\n * • Native Framer font controls with full typography support\n * • Dynamic color transitions between start and end colors\n * • Flexible prefix/suffix system with independent colors\n * • Auto-duration calculation based on number range\n * • Customizable animation delay and replay options\n *\n * 🚀 Perfect for:\n * • Loading screens with realistic progress indicators\n * • Statistics and metrics displays\n * • Achievement counters and milestones\n * • Dynamic data visualizations\n * • Marketing landing pages with animated numbers\n *\n * © 2025 Amr Rashed - All rights reserved\n * Author: Amr Rashed (https://amrrashed.com)\n * Documentation: https://loadercounter.framer.website/demo\n * Support: hello@amrrashed.com\n * License: Commercial use allowed with attribution\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Disable unlinking to protect the component\nexport const framerDisableUnlinking=true;/* ===== UTILITIES ===== */const clamp=(value,min=0,max=1)=>Math.max(min,Math.min(max,value));// Color interpolation with support for hex and rgb\nconst parseColor=color=>{// Handle hex colors\nif(color.startsWith(\"#\")){const hex=color.slice(1);const fullHex=hex.length===3?hex.split(\"\").map(c=>c+c).join(\"\"):hex;const bigint=parseInt(fullHex,16);return{r:bigint>>16&255,g:bigint>>8&255,b:bigint&255};}// Handle rgb/rgba colors\nconst match=color.match(/rgba?\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)/);if(match){return{r:parseInt(match[1]),g:parseInt(match[2]),b:parseInt(match[3])};}// Default to black\nreturn{r:0,g:0,b:0};};const interpolateColor=(start,end,progress)=>{const from=parseColor(start);const to=parseColor(end);const r=Math.round(from.r+(to.r-from.r)*progress);const g=Math.round(from.g+(to.g-from.g)*progress);const b=Math.round(from.b+(to.b-from.b)*progress);return`rgb(${r}, ${g}, ${b})`;};// Loader-specific easing - more dramatic speed changes\nconst loaderEase=t=>{// Very fast start (0-25%) - shoots up quickly\nif(t<.25){return 3.2*t*t;}// Steady middle (25-65%) - consistent progress\nif(t<.65){const adjusted=(t-.25)/.4;return .2+adjusted*.5;}// Slow section (65-88%) - crawling\nif(t<.88){const adjusted=(t-.65)/.23;return .7+Math.pow(adjusted,1.5)*.18;}// Extremely slow finish (88-100%) - classic loader struggle\nconst final=(t-.88)/.12;return .88+Math.pow(final,4)*.12;};// Generate random micro-pauses for authentic loader feel\nfunction generateLoaderPauses(){const pauses=[];// Add 3-5 noticeable pauses\nconst pauseCount=3+Math.floor(Math.random()*3);for(let i=0;i<pauseCount;i++){// Pauses occur between 15-85% progress\nconst center=.15+Math.random()*.7;// Longer pause duration (100-300ms relative to total duration)\nconst width=.04+Math.random()*.08;pauses.push({start:Math.max(.15,center-width/2),end:Math.min(.85,center+width/2)});}// Add one longer pause around 75-85% (the classic \"almost there\" pause)\npauses.push({start:.75+Math.random()*.05,end:.82+Math.random()*.03});return pauses;}/* ===== NUMBER FORMATTING ===== */function formatNumber(value,options){const{thousands,abbreviate,locale,decimals}=options;if(abbreviate){const absValue=Math.abs(value);let divisor=1;let suffix=\"\";let precision=0;// Determine scale based on current value, not range\nif(absValue>=1e9){divisor=1e9;suffix=\"B\";// For billions, show 2 decimals if under 10B, 1 decimal if under 100B\nif(absValue<1e10)precision=2;else if(absValue<1e11)precision=1;}else if(absValue>=1e6){divisor=1e6;suffix=\"M\";// For millions, show 2 decimals if under 10M, 1 decimal if under 100M\nif(absValue<1e7)precision=2;else if(absValue<1e8)precision=1;}else if(absValue>=1e3){divisor=1e3;suffix=\"K\";// For thousands, show 2 decimals if under 10K, 1 decimal if under 100K\nif(absValue<1e4)precision=2;else if(absValue<1e5)precision=1;}// If no abbreviation needed, show the normal number\nif(divisor===1){const fixedValue=Number(value.toFixed(decimals));if(thousands){try{return new Intl.NumberFormat(locale,{minimumFractionDigits:decimals,maximumFractionDigits:decimals,useGrouping:true}).format(fixedValue);}catch{return fixedValue.toString();}}return fixedValue.toString();}// Apply abbreviation with appropriate precision\nconst scaled=value/divisor;const factor=Math.pow(10,precision);const rounded=Math.round(scaled*factor)/factor;// Format with appropriate decimal places\nlet text;if(precision===0||Number.isInteger(rounded)){text=rounded.toFixed(0);}else{text=rounded.toFixed(precision).replace(/\\.?0+$/,\"\");}return(value<0?\"-\":\"\")+text+suffix;}const fixedValue=Number(value.toFixed(decimals));if(thousands){try{return new Intl.NumberFormat(locale,{minimumFractionDigits:decimals,maximumFractionDigits:decimals,useGrouping:true}).format(fixedValue);}catch{return new Intl.NumberFormat(\"en-US\",{minimumFractionDigits:decimals,maximumFractionDigits:decimals,useGrouping:true}).format(fixedValue);}}return fixedValue.toString();}function getDecimalPlaces(num){const str=String(num);const idx=str.indexOf(\".\");return idx>=0?Math.min(3,str.length-idx-1):0;}/* ===== ANIMATION HOOK ===== */function useCounterAnimation(config){const[value,setValue]=React.useState(config.from);const[progress,setProgress]=React.useState(0);const[isVisible,setIsVisible]=React.useState(!config.startOnView);const[isAnimating,setIsAnimating]=React.useState(false);const containerRef=React.useRef(null);const animationRef=React.useRef();const pausesRef=React.useRef([]);const lastPausedRef=React.useRef(false);// Visibility observer\nReact.useEffect(()=>{if(!config.startOnView){setIsVisible(true);return;}const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){setIsVisible(true);}else if(config.replay){setIsVisible(false);setValue(config.from);setProgress(0);setIsAnimating(false);}},{threshold:.1});if(containerRef.current){observer.observe(containerRef.current);}return()=>observer.disconnect();},[config.startOnView,config.replay,config.from]);// Prefer reduced motion support\nReact.useEffect(()=>{const prefersReducedMotion=window.matchMedia?.(\"(prefers-reduced-motion: reduce)\")?.matches;if(prefersReducedMotion){// Skip animation for users who prefer reduced motion\nsetValue(config.to);setProgress(1);return;}},[config.to]);// Animation loop\nReact.useEffect(()=>{if(!isVisible)return;// Check for reduced motion preference\nconst prefersReducedMotion=window.matchMedia?.(\"(prefers-reduced-motion: reduce)\")?.matches;if(prefersReducedMotion){setValue(config.to);setProgress(1);return;}// Cancel any existing animation\nif(animationRef.current){cancelAnimationFrame(animationRef.current);}// Generate pauses for loader mode\npausesRef.current=config.isLoader?generateLoaderPauses():[];lastPausedRef.current=false;setIsAnimating(true);const startTime=performance.now()+config.delay*1e3;const duration=config.duration*1e3;const range=config.to-config.from;const animate=()=>{const now=performance.now();const elapsed=now-startTime;// Handle delay\nif(elapsed<0){animationRef.current=requestAnimationFrame(animate);return;}let rawProgress=clamp(elapsed/duration);// For loader mode, apply pauses\nif(config.isLoader&&rawProgress<.95){const isPaused=pausesRef.current.some(p=>rawProgress>=p.start&&rawProgress<=p.end);if(isPaused){if(!lastPausedRef.current){// Just entered a pause, hold current value\nlastPausedRef.current=true;}// Don't update during pause\nanimationRef.current=requestAnimationFrame(animate);return;}else{lastPausedRef.current=false;}}// Apply easing\nconst easedProgress=config.isLoader?loaderEase(rawProgress):rawProgress;// Update values\nsetProgress(easedProgress);setValue(config.from+range*easedProgress);if(rawProgress<1){animationRef.current=requestAnimationFrame(animate);}else{// Ensure we end exactly at the target\nsetProgress(1);setValue(config.to);setIsAnimating(false);}};animationRef.current=requestAnimationFrame(animate);return()=>{if(animationRef.current){cancelAnimationFrame(animationRef.current);}setIsAnimating(false);};},[isVisible,config.from,config.to,config.duration,config.delay,config.isLoader]);return{containerRef,value,progress,isAnimating};}/* ===== MAIN COMPONENT ===== */export default function LoaderCounter(props){const{// Animation\nisLoader=true,from=0,to=100,duration=false,customDuration=3.2,delay=0,startOnView=true,replay=true,// Formatting\nformatThousands=false,abbreviate=false,locale=false,customLocale=\"en-US\",// Styling\nfont={fontFamily:\"Inter\",fontWeight:600,fontSize:64,letterSpacing:0,lineHeight:1.1,textAlign:\"left\"},color=\"#000000\",// Color transition\ncolorTransition=false,startColor=\"#3b82f6\",endColor=\"#ef4444\",// Affixes\nprefix=\"\",prefixColor=\"#000000\",suffix=\"\",suffixColor=\"#000000\",gap=8}=props;// Calculate auto duration based on range (longer for loader effect)\nconst calculatedDuration=React.useMemo(()=>{if(!duration){const range=Math.abs(to-from);// Loader mode: 3-4.5s for authentic loading feel\nif(isLoader){const seconds=3+Math.log10(Math.max(1,range))*.5;return clamp(seconds,3,4.5);}else{// Linear mode: faster 1-2.5s\nconst seconds=1+Math.log10(Math.max(1,range))*.4;return clamp(seconds,1,2.5);}}return customDuration;},[duration,customDuration,from,to,isLoader]);// Resolve locale\nconst resolvedLocale=React.useMemo(()=>{if(!formatThousands)return\"en-US\";if(!locale&&typeof window!==\"undefined\"){return window.navigator?.language||\"en-US\";}return customLocale||\"en-US\";},[locale,customLocale,formatThousands]);// Calculate decimal places\nconst decimals=React.useMemo(()=>{return Math.max(getDecimalPlaces(from),getDecimalPlaces(to));},[from,to]);// Use animation hook\nconst{containerRef,value,progress,isAnimating}=useCounterAnimation({from,to,duration:calculatedDuration,delay,isLoader,startOnView,replay});// Format current value\nconst displayValue=React.useMemo(()=>{return formatNumber(value,{thousands:formatThousands,abbreviate,locale:resolvedLocale,decimals,from,to});},[value,formatThousands,abbreviate,resolvedLocale,decimals,from,to]);// Calculate interpolated color\nconst currentColor=React.useMemo(()=>{if(colorTransition&&startColor&&endColor){return interpolateColor(startColor,endColor,progress);}return color;},[colorTransition,startColor,endColor,progress,color]);// Build font styles\nconst fontStyles=React.useMemo(()=>({fontFamily:font?.fontFamily||\"Inter\",fontWeight:font?.fontWeight||600,fontSize:font?.fontSize||64,letterSpacing:font?.letterSpacing||0,lineHeight:font?.lineHeight||1.1,textAlign:font?.textAlign||\"left\"}),[font]);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,role:\"status\",\"aria-live\":\"polite\",\"aria-label\":`Counter: ${displayValue}`,style:{width:\"100%\",display:\"flex\",justifyContent:fontStyles.textAlign===\"center\"?\"center\":fontStyles.textAlign===\"right\"?\"flex-end\":\"flex-start\",...fontStyles},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"baseline\",gap:prefix||suffix?`${gap}px`:\"0px\",fontVariantNumeric:\"tabular-nums\",// Prevent text selection during animation for cleaner UX\nuserSelect:isAnimating?\"none\":\"auto\",// Smooth color transitions\ntransition:colorTransition?\"color 0.3s ease\":undefined},children:[prefix&&/*#__PURE__*/_jsx(\"span\",{style:{color:prefixColor},\"aria-hidden\":\"true\",children:prefix}),/*#__PURE__*/_jsx(\"span\",{style:{color:currentColor},\"data-value\":value,\"data-progress\":progress,children:displayValue}),suffix&&/*#__PURE__*/_jsx(\"span\",{style:{color:suffixColor},\"aria-hidden\":\"true\",children:suffix})]}),progress===1&&/*#__PURE__*/_jsxs(\"span\",{style:{position:\"absolute\",width:\"1px\",height:\"1px\",padding:\"0\",margin:\"-1px\",overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",borderWidth:\"0\"},\"aria-live\":\"assertive\",children:[\"Counter complete: \",prefix,displayValue,suffix]})]});}/* ===== DEFAULT PROPS ===== */LoaderCounter.defaultProps={font:{fontFamily:\"Inter\",fontWeight:600,fontSize:64,letterSpacing:0,lineHeight:1.1,textAlign:\"left\"}};/* ===== PROPERTY CONTROLS ===== */addPropertyControls(LoaderCounter,{isLoader:{type:ControlType.Boolean,title:\"Style\",defaultValue:true,enabledTitle:\"Loader\",disabledTitle:\"Linear\"},from:{type:ControlType.Number,title:\"From\",defaultValue:0,displayStepper:true},to:{type:ControlType.Number,title:\"To\",defaultValue:100,displayStepper:true},duration:{type:ControlType.Boolean,title:\"Duration\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Auto\"},customDuration:{type:ControlType.Number,title:\"Seconds\",defaultValue:3.2,min:.5,max:10,step:.1,hidden:props=>!props.duration},delay:{type:ControlType.Number,title:\"Delay (s)\",defaultValue:0,min:0,max:5,step:.1,displayStepper:true},abbreviate:{type:ControlType.Boolean,title:\"Shorten\",defaultValue:false,enabledTitle:\"K/M/B\",disabledTitle:\"Full\"},formatThousands:{type:ControlType.Boolean,title:\"Format\",defaultValue:false,enabledTitle:\"1,000\",disabledTitle:\"1000\"},locale:{type:ControlType.Boolean,title:\"Locale\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Auto\",hidden:props=>!props.formatThousands},customLocale:{type:ControlType.String,title:\"Code\",defaultValue:\"en-US\",placeholder:\"en-US, nl-NL, etc\",hidden:props=>!props.formatThousands||!props.locale},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:true},colorTransition:{type:ControlType.Boolean,title:\"Color fade\",defaultValue:false},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\",hidden:props=>props.colorTransition},startColor:{type:ControlType.Color,title:\"From color\",defaultValue:\"#3b82f6\",hidden:props=>!props.colorTransition},endColor:{type:ControlType.Color,title:\"To color\",defaultValue:\"#ef4444\",hidden:props=>!props.colorTransition},prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\",placeholder:\"$, €, etc\"},prefixColor:{type:ControlType.Color,title:\"Prefix color\",defaultValue:\"#000000\",hidden:props=>!props.prefix},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\",placeholder:\"%, pts, etc\"},suffixColor:{type:ControlType.Color,title:\"Suffix color\",defaultValue:\"#000000\",hidden:props=>!props.suffix},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,max:32,step:1,hidden:props=>!props.prefix&&!props.suffix},startOnView:{type:ControlType.Boolean,title:\"On view\",defaultValue:true},replay:{type:ControlType.Boolean,title:\"Replay\",defaultValue:true,hidden:props=>!props.startOnView,description:\"[Built by Amr Rashed](https://amrrashed.com)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"framerDisableUnlinking\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"LoaderCounter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LoaderCounter.map"],"mappings":"oNA+CA,SAAS,GAAsB,CAAC,IAAM,EAAO,EAAE,CACzC,EAAW,EAAE,KAAK,MAAM,KAAK,QAAQ,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,EAAW,IAAI,CAC5E,IAAM,EAAO,IAAI,KAAK,QAAQ,CAAC,GACzB,EAAM,IAAI,KAAK,QAAQ,CAAC,IAAI,EAAO,KAAK,CAAC,MAAM,KAAK,IAAI,IAAI,EAAO,EAAM,EAAE,CAAC,IAAI,KAAK,IAAI,IAAI,EAAO,EAAM,EAAE,CAAC,CAAC,CAC/C,OAArE,EAAO,KAAK,CAAC,MAAM,IAAI,KAAK,QAAQ,CAAC,IAAI,IAAI,IAAI,KAAK,QAAQ,CAAC,IAAI,CAAC,CAAQ,EAA2C,SAAS,EAAa,EAAM,EAAQ,CAAC,GAAK,CAAC,YAAU,aAAW,SAAO,YAAU,EAAQ,GAAG,EAAW,CAAC,IAAM,EAAS,KAAK,IAAI,EAAM,CAAK,EAAQ,EAAM,EAAO,GAAO,EAAU,EAKxS,GAJG,GAAU,KAAK,EAAQ,IAAI,EAAO,IAClC,EAAS,KAAK,EAAU,EAAU,EAAS,OAAK,EAAU,IAAW,GAAU,KAAK,EAAQ,IAAI,EAAO,IACvG,EAAS,IAAI,EAAU,EAAU,EAAS,MAAI,EAAU,IAAW,GAAU,MAAK,EAAQ,IAAI,EAAO,IACrG,EAAS,IAAI,EAAU,EA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