{"version":3,"file":"Counter_FX.Dj-RZdm-.mjs","names":["useRef","useCallback","useState","useMemo","React.useRef","React.useState","__esmMin","window","ne","init_ssg_sandbox_shims","_e","pe","p","c","init_jsx_runtime","ce","init_npm_react_18_3_1","ee","de","motion","useInView","init_framer_motion_DhsWWWsN","isMotionValue","RenderTarget","init_framer_BkYB2Gqq","useIsInCurrentNavigationTarget","addPropertyControls","ControlType","useIsOnCanvas","useIsBrowserSafari","defaultEvents","useRenderTarget","useOnExit","borderRadiusControl","useRadius","useOnEnter","init_OIjZRBmWDcIE2B6qgG1j","getProps","rest","props","Video","newProps","VideoMemo","usePlaybackControls","isInCurrentNavigationTarget","requestingPlay","isPlayingRef","setProgress","videoRef","newProgress","rawProgress","isAlreadySet","video","useAutoplayBehavior","initialPlayingProp","playingProp","hasPlayingPropChanged","setHasPlayingPropChanged","behavesAsGif","muted","loop","playsinline","controls","autoplay","capitalizeFirstLetter","value","titleCase","ObjectFitType","SrcType","defaultVideo","objectFitOptions","init_Video","\"Fill\"","\"Contain\"","\"Cover\"","\"None\"","\"ScaleDown\"","\"Video\"","\"Url\"","startTimeProp","isSafari","wasPausedOnLeave","wasEndedOnLeave","isOnCanvas","renderTarget","isStaticRenderer","borderRadius","autoplayBehavior","isInViewport","isCloseToViewport","startTime","play","pause","poster","posterEnabled","isMountedAndReadyForProgressChanges","rawProgressValue","progress","srcFile","srcUrl","src","srcType","volume","onSeeked","onPause","onPlay","onEnd","isPlaying","onClick","parseFontSize","font","raw","CounterFX","Tag","htmlTag","containerRef","started","setStarted","scrollProgress","setScrollProgress","isCountingUp","to","from","isScrollMode","triggerMode","fontSize","fontStyles","duration","easing","decimals","el","trigger","target","sectionName","id","observer","entry","onScroll","rect","vh","layout","buildOdometerLayout","showThousandSep","digitEntries","sequences","getDigitSequence","d","timings","digitHeight","digitWidth","digitIdx","tint","prefix","i","idx","OdometerWheel","suffix","endY","sequence","hasMotion","y","transition","digitDuration","EASING_MAP","digit","fromDigit","toDigit","seq","countingUp","fromAbs","toAbs","fromStr","toStr","fromInt","fromDec","toInt","toDec","maxLen","fromPad","toPad","result","template","di","ch","init_Counter_FX"],"sources":["https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/Sn64gjTwaJh0TFAuaV07/Video.js","https:/framerusercontent.com/modules/nJIZBJy1pXGIY2N8Jxb8/oxcRE8poOwrxTcBdsUZ0/Counter_FX.js"],"sourcesContent":["// ⚠️⚠️⚠️⚠️⚠️\n// Edit these files in https://github.com/framer/FramerCodeComponents\n// ⚠️⚠️⚠️⚠️⚠️\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsInCurrentNavigationTarget,RenderTarget}from\"framer\";import{isMotionValue,useInView}from\"framer-motion\";import{borderRadiusControl,defaultEvents,useIsBrowserSafari,useIsOnCanvas,useOnEnter,useOnExit,useRadius,useRenderTarget}from\"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\";// https://framer.com/m/framer/default-utils.js@^0.45.0\nimport{memo,useCallback,useEffect,useMemo,useRef,useState}from\"react\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const defaultVideo=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\";// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export function Video(props){const newProps=getProps(props);return /*#__PURE__*/_jsx(VideoMemo,{...newProps});}function usePlaybackControls(videoRef){const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const requestingPlay=useRef(false);const isPlayingRef=useRef(false);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const video=videoRef.current;if(!video)return;video.preload=\"auto\"// makes sure browsers don't throttle: https://html.spec.whatwg.org/multipage/media.html#:~:text=When%20the%20media%20resource%20is%20playing%2C%20hints%20to%20the%20user%20agent%20that%20bandwidth%20is%20to%20be%20considered%20scarce%2C%20e.g.%20suggesting%20throttling%20the%20download%20so%20that%20the%20media%20data%20is%20obtained%20at%20the%20slowest%20possible%20rate%20that%20still%20maintains%20consistent%20playback.\n;const isPlaying=video.currentTime>0&&video.onplaying&&!video.paused&&!video.ended&&video.readyState>=video.HAVE_CURRENT_DATA;if(!isPlaying&&video&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;isPlayingRef.current=true;video.play().catch(e=>{})// It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();isPlayingRef.current=false;},[]);return{play,pause,setProgress,isPlaying:isPlayingRef};}function useAutoplayBehavior({playingProp,muted,loop,playsinline,controls}){const[initialPlayingProp]=useState(playingProp);const[hasPlayingPropChanged,setHasPlayingPropChanged]=useState(false);if(playingProp!==initialPlayingProp&&!hasPlayingPropChanged){setHasPlayingPropChanged(true);}const behavesAsGif=// passing `playing === true` on mount indicates that the video should\n// autoplay, like a GIF\ninitialPlayingProp&&muted&&loop&&playsinline&&!controls&&// Some users of the <Video> component use it by wrapping it with\n// another smart component and adding their own controls on top. (The\n// controls use transitions to control the video: e.g., when clicking\n// the play button, the smart component will transition to a state with\n// <Video playing={true} />.) In this case, we don't want the video to\n// behave as a gif, as it will be weird if the video suddenly started\n// acting as such (and auto-pausing when leaving the viewport) as soon\n// as the site visitor mutes it and clicks “Play”.\n!hasPlayingPropChanged;let autoplay;if(behavesAsGif)autoplay=\"on-viewport\";else if(initialPlayingProp)autoplay=\"on-mount\";else autoplay=\"no-autoplay\";return autoplay;}const VideoMemo=/*#__PURE__*/memo(function VideoInner(props){const{// default props\nsrcType=\"URL\",srcUrl,srcFile=\"\",posterEnabled=false,controls=false,playing=true,loop=true,muted=true,playsinline=true,restartOnEnter=false,objectFit=\"cover\",backgroundColor=\"rgba(0,0,0,0)\",radius=0,volume=25,startTime:startTimeProp=0,poster,playing:playingProp,progress,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp}=props;const videoRef=useRef();const isSafari=useIsBrowserSafari();const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const renderTarget=useRenderTarget();const isStaticRenderer=isOnCanvas||renderTarget===RenderTarget.export;const borderRadius=useRadius(props);// Hard-coding `autoplayBehavior` and `isInViewport` when on canvas as a\n// tiny perf optimization. isStaticRenderer won’t change through the lifecycle of\n// the component, so using these hooks conditionally should be safe\nconst autoplayBehavior=isStaticRenderer?\"no-autoplay\":useAutoplayBehavior({playingProp,muted,loop,playsinline,controls});const isInViewport=isStaticRenderer?true:useInView(videoRef);const isCloseToViewport=isStaticRenderer?false:useInView(videoRef,{margin:\"10%\",once:true});// Video elements behave oddly at 100% duration\nconst startTime=startTimeProp===100?99.9:startTimeProp;const{play,pause,setProgress,isPlaying}=usePlaybackControls(videoRef);// Pause/play via props\nuseEffect(()=>{if(isStaticRenderer)return;if(autoplayBehavior===\"on-viewport\")return;if(playingProp)play();else pause();},[autoplayBehavior,playingProp]);// Pause/play via viewport\nuseEffect(()=>{if(isStaticRenderer)return;// this also explicitly retries playing for videos that play on-mount, which could fail if they're not muted for example\nif(isInViewport&&playingProp&&autoplayBehavior!==\"no-autoplay\")play();if(autoplayBehavior!==\"on-viewport\")return;pause();},[autoplayBehavior,isInViewport,playingProp]);useEffect(()=>{if(!isOnCanvas||poster||posterEnabled||startTime||!videoRef.current)return;// forces a poster to show up when the video is in an iframe; this is needed when `poster` changes\nvideoRef.current.currentTime=.01;},[posterEnabled,poster,startTime]);/**\n     * The Video component has some effects that sync the video element with props\n     * like `startTime`, `progress`, etc. React calls these effects whenever these\n     * props change. However, it also calls them on the first mount, and this is\n     * troublesome – if we’re doing SSR, and the user changed the video state before\n     * the video was hydrated, the initial `useEffect` call will reset the video\n     * state. To avoid this, we use this flag.\n     */const isMountedAndReadyForProgressChanges=useRef(false);// Allow scrubbling via progress prop\n// 1) Handle cases when the progress prop itself changes\nuseEffect(()=>{if(!isMountedAndReadyForProgressChanges.current){isMountedAndReadyForProgressChanges.current=true;return;}const rawProgressValue=isMotionValue(progress)?progress.get():(progress??0)*.01;setProgress(// When the progress value exists (e.g. <Video startTime={10}\n// progress={50} />), we respect the `progress` value over\n// `startTime`, even if `startTime` changes. That’s because\n// `startTime` == start == changing it shouldn’t affect the current\n// progress\n(rawProgressValue??0)||// Then why fall back to `startTime` when `progress` doesn’t exist,\n// you might ask? Now, that’s for\n// - canvas UX: we want the video progress to change when the user\n//   is scrobbling the “Start Time” in component settings.\n// - backwards compatibility: maybe some users *are* scrobbling\n//   using `startTime` instead of `progress`? We don’t know, and it\n//   always supported it, so let’s not break it\n(startTime??0)/100);},[startTime,srcFile,srcUrl,progress]);// 2) Handle cases when the motion value inside the progress prop changes\nuseEffect(()=>{if(!isMotionValue(progress))return;return progress.on(\"change\",value=>setProgress(value));},[progress]);// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isStaticRenderer\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===\"URL\")return srcUrl+fragment;if(srcType===\"Upload\")return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoplayBehavior===\"on-mount\"){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=(volume??0)/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{const video=videoRef.current;if(!video)return;if(video.currentTime<.3&&startTime>0)setProgress((startTime??0)*.01);if(// when the component updates (e.g. only srcFile/url changes), and the video was already playing, keep playing\nisPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport)play();};return /*#__PURE__*/_jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>onSeeked?.(e),onPause:e=>onPause?.(e),onPlay:e=>onPlay?.(e),onEnded:e=>onEnd?.(e),autoPlay:isPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport,preload:isPlaying.current?\"auto\":isStaticRenderer&&!poster?\"metadata\":autoplayBehavior!==\"on-mount\"&&!isCloseToViewport?\"none\":// `autoplay` overrides this too\n\"metadata\",poster:posterEnabled&&!srcFile&&srcUrl===defaultVideo?\"https://framerusercontent.com/images/5ILRvlYXf72kHSVHqpa3snGzjU.jpg\":posterEnabled&&poster?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isStaticRenderer?true:muted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";function capitalizeFirstLetter(value){return value.charAt(0).toUpperCase()+value.slice(1);}export function titleCase(value){const groups=value.match(/[A-Z]{2,}|[A-Z][a-z]+|[a-z]+|[A-Z]|\\d+/gu)||[];return groups.map(capitalizeFirstLetter).join(\" \");}const objectFitOptions=[\"cover\",\"fill\",\"contain\",\"scale-down\",\"none\"];addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[\"URL\",\"Upload\"]},srcUrl:{type:ControlType.String,title:\"URL\",defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",hidden(props){return props.srcType===\"Upload\";}},srcFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"mp4\",\"webm\"],description:\"Only MP4 and WebM\",hidden(props){return props.srcType===\"URL\";}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},...borderRadiusControl,posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\"Image\",hidden:({posterEnabled})=>!posterEnabled,description:\"We recommend adding a poster. [Learn more](https://www.framer.com/help/articles/how-are-videos-optimized-in-framer/).\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:objectFitOptions,optionTitles:objectFitOptions.map(titleCase)},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted,defaultValue:25},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"titleCase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"200\",\"framerContractVersion\":\"1\"}},\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","// ═══════════════════════════════════════════════════════════════════════════\n// COUNTER FX — ODOMETER-STYLE ANIMATED NUMBER COUNTER\n// ═══════════════════════════════════════════════════════════════════════════\n//\n//\n// WHAT THIS COMPONENT DOES:\n// Animates a number from a start value to an end value using true\n// odometer-style rolling digit wheels. Each digit position is an\n// independent vertical strip that scrolls through all intermediate\n// values (0–9), creating the mechanical feel of a real odometer.\n//\n// WHY CODE IS REQUIRED:\n// - Per-digit sequence generation with automatic wrap-around (9→0, 0→9).\n// - Zero-padded layout ensures stable width — digit positions never shift.\n// - Framer Motion animate() drives each wheel's translateY independently.\n// - Gradient mask on each wheel creates depth (digits fade at edges).\n// - Scroll-linked mode maps scroll position directly to wheel progress\n//   via passive scroll listener — no React re-renders during scroll.\n// - IntersectionObserver for Layer in View / Section in View triggers.\n// - Section in View resolves a named Framer Scroll Section by ID.\n//\n// TRIGGER MODES:\n// - On Appear    — fires immediately on page load\n// - On Scroll    — counter progress tied 1:1 to scroll position\n// - Layer in View — fires when this component enters the viewport\n// - Section in View — fires when a named Scroll Section enters viewport\n//\n// EASING CURVES:\n// - Linear  — constant speed\n// - Smooth  — cubic ease-out deceleration\n// - Spring  — overshoot + settle\n// - Bounce  — dramatic overshoot\n//\n// ═══════════════════════════════════════════════════════════════════════════\n// Created by AliThemes.com\n// Powered by Framer Motion\n// ═══════════════════════════════════════════════════════════════════════════\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */function parseFontSize(font){if(!font?.fontSize)return 60;const raw=font.fontSize;if(typeof raw===\"number\")return raw;return parseFloat(String(raw))||60;}export default function CounterFX(props){const{from,to,duration,easing,decimals,prefix,suffix,showThousandSep,tint,font,triggerMode,sectionName,htmlTag}=props;const Tag=htmlTag||\"div\";const containerRef=React.useRef(null);const[started,setStarted]=React.useState(false);const[scrollProgress,setScrollProgress]=React.useState(0);const isCountingUp=to>=from;const isScrollMode=triggerMode===\"onScroll\";const fontSize=parseFontSize(font);const fontStyles=font||{};React.useEffect(()=>{setStarted(false);setScrollProgress(0);},[from,to,duration,easing,decimals]);React.useEffect(()=>{const el=containerRef.current;if(!el)return;if(isScrollMode)return;const trigger=()=>{setStarted(false);requestAnimationFrame(()=>setStarted(true));};if(triggerMode===\"onAppear\"){trigger();return;}let target=el;if(triggerMode===\"sectionInView\"&&sectionName){const id=sectionName.replace(/^#/,\"\").trim();target=document.getElementById(id)||el;}const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){trigger();observer.disconnect();}},{threshold:.2});observer.observe(target);return()=>observer.disconnect();},[from,to,duration,easing,decimals,triggerMode,isScrollMode,sectionName]);React.useEffect(()=>{if(!isScrollMode)return;const el=containerRef.current;if(!el)return;const onScroll=()=>{const rect=el.getBoundingClientRect();const vh=window.innerHeight;const progress=(vh-rect.top)/(vh+rect.height);setScrollProgress(Math.min(1,Math.max(0,progress)));};window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[isScrollMode]);const layout=buildOdometerLayout(from,to,decimals,showThousandSep);const digitEntries=layout.filter(e=>e.type===\"digit\");const sequences=digitEntries.map(d=>getDigitSequence(d.fromDigit,d.toDigit,isCountingUp));const timings=digitEntries.map(()=>({delay:0,dur:duration}));const digitHeight=fontSize*1.2;const digitWidth=fontSize*.62;let digitIdx=0;return /*#__PURE__*/_jsxs(Tag,{ref:containerRef,style:{display:\"inline-flex\",alignItems:\"center\",...fontStyles,color:tint,fontVariantNumeric:\"tabular-nums\"},children:[prefix&&/*#__PURE__*/_jsx(\"span\",{style:{lineHeight:1,marginRight:fontSize*.08},children:prefix}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\"},children:layout.map((entry,i)=>{if(entry.type===\"sep\"){return /*#__PURE__*/_jsx(\"span\",{style:{lineHeight:1,opacity:entry.char===\",\"?.4:1},children:entry.char},`s${i}`);}const idx=digitIdx++;return /*#__PURE__*/_jsx(OdometerWheel,{sequence:sequences[idx],delay:timings[idx].delay,digitDuration:timings[idx].dur,started:started,scrollProgress:scrollProgress,isScrollMode:isScrollMode,digitHeight:digitHeight,digitWidth:digitWidth,tint:tint,easing:easing},`d${i}`);})}),suffix&&/*#__PURE__*/_jsx(\"span\",{style:{lineHeight:1,marginLeft:fontSize*.08},children:suffix})]});}CounterFX.defaultProps={font:{fontFamily:\"Inter\",fontWeight:700,fontSize:60,lineHeight:\"1em\"},tint:\"#FFFFFF\"};/* --- ODOMETER WHEEL --- */const EASING_MAP={linear:\"linear\",smooth:[0,0,.2,1],spring:[.34,1.56,.64,1],bounce:[.22,1.8,.5,1]};function OdometerWheel({sequence,delay,digitDuration,started,scrollProgress,isScrollMode,digitHeight,digitWidth,tint,easing}){const endY=-(sequence.length-1)*digitHeight;const hasMotion=sequence.length>1;const y=isScrollMode?(scrollProgress||0)*endY:started?endY:0;const transition=isScrollMode?{duration:.08,ease:\"linear\"}:started?{delay,duration:digitDuration,ease:EASING_MAP[easing]||EASING_MAP.smooth}:{duration:0};return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",height:digitHeight,width:digitWidth,overflow:\"hidden\",display:\"inline-flex\",justifyContent:\"center\",...hasMotion?{maskImage:\"linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%)\",WebkitMaskImage:\"linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%)\"}:{}},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:\"100%\"},animate:{y},transition:transition,children:sequence.map((digit,i)=>/*#__PURE__*/_jsx(\"div\",{style:{height:digitHeight,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:tint,lineHeight:1,fontWeight:\"inherit\",fontVariantNumeric:\"tabular-nums\"},children:digit},i))})});}/* --- HELPERS --- */function getDigitSequence(fromDigit,toDigit,countingUp){if(fromDigit===toDigit)return[fromDigit];const seq=[];if(countingUp){if(toDigit>=fromDigit){for(let i=fromDigit;i<=toDigit;i++)seq.push(i);}else{for(let i=fromDigit;i<=9;i++)seq.push(i);for(let i=0;i<=toDigit;i++)seq.push(i);}}else{if(toDigit<=fromDigit){for(let i=fromDigit;i>=toDigit;i--)seq.push(i);}else{for(let i=fromDigit;i>=0;i--)seq.push(i);for(let i=9;i>=toDigit;i--)seq.push(i);}}return seq;}function buildOdometerLayout(from,to,decimals,showThousandSep){const fromAbs=Math.abs(from);const toAbs=Math.abs(to);const fromStr=decimals>0?fromAbs.toFixed(decimals):Math.round(fromAbs).toString();const toStr=decimals>0?toAbs.toFixed(decimals):Math.round(toAbs).toString();const[fromInt,fromDec]=fromStr.split(\".\");const[toInt,toDec]=toStr.split(\".\");const maxLen=Math.max(fromInt.length,toInt.length);const fromPad=fromInt.padStart(maxLen,\"0\");const toPad=toInt.padStart(maxLen,\"0\");const result=[];if(showThousandSep){const template=toPad.replace(/\\B(?=(\\d{3})+(?!\\d))/g,\",\");let di=0;for(const ch of template){if(ch===\",\"){result.push({type:\"sep\",char:\",\"});}else{result.push({type:\"digit\",fromDigit:+fromPad[di],toDigit:+toPad[di]});di++;}}}else{for(let i=0;i<maxLen;i++){result.push({type:\"digit\",fromDigit:+fromPad[i],toDigit:+toPad[i]});}}if(fromDec&&toDec){result.push({type:\"sep\",char:\".\"});for(let i=0;i<fromDec.length;i++){result.push({type:\"digit\",fromDigit:+fromDec[i],toDigit:+toDec[i]});}}return result;}/* --- PROPERTY CONTROLS --- */addPropertyControls(CounterFX,{from:{type:ControlType.Number,title:\"From\",defaultValue:0},to:{type:ControlType.Number,title:\"To\",defaultValue:1e3},duration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:2,min:.3,max:10,step:.1,hidden:p=>p.triggerMode===\"onScroll\"},easing:{type:ControlType.Enum,title:\"Easing\",defaultValue:\"smooth\",options:[\"linear\",\"smooth\",\"spring\",\"bounce\"],optionTitles:[\"Linear\",\"Smooth\",\"Spring\",\"Bounce\"],hidden:p=>p.triggerMode===\"onScroll\"},triggerMode:{type:ControlType.Enum,title:\"Trigger\",defaultValue:\"layerInView\",options:[\"onAppear\",\"onScroll\",\"layerInView\",\"sectionInView\"],optionTitles:[\"On Appear\",\"On Scroll\",\"Layer in View\",\"Section in View\"]},sectionName:{type:ControlType.String,title:\"Section Name\",defaultValue:\"\",placeholder:\"# name\",hidden:p=>p.triggerMode!==\"sectionInView\"},decimals:{type:ControlType.Number,title:\"Decimals\",defaultValue:0,min:0,max:4,step:1},prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\",placeholder:\"$ € \\xa3\"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\",placeholder:\"% + k\"},showThousandSep:{type:ControlType.Boolean,title:\"Thousands Sep\",defaultValue:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontFamily:\"Inter\",fontWeight:700,fontSize:\"60px\",lineHeight:\"1em\"}},tint:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},htmlTag:{type:ControlType.Enum,title:\"HTML Tag\",defaultValue:\"div\",options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\",\"div\",\"span\"],optionTitles:[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\",\"P\",\"DIV\",\"SPAN\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CounterFX\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Counter_FX.map"],"mappings":"A,kaAKA,SAASqC,EAAS,EAAM,CAAC,GAAK,CAAC,QAAM,SAAO,UAAQ,WAAS,cAAY,aAAW,KAAG,WAAS,GAAGC,GAAMC,EAAM,OAAOD,CAAK,CAQxH,SAAgBE,EAAM,EAAM,CAAC,IAAMC,EAASJ,EAASE,CAAK,EAAE,MAAoB,gBAAKG,EAAU,CAAC,GAAGD,CAAQ,CAAC,CAAE,CAAC,SAASE,EAAoB,EAAS,CAAC,IAAMC,EAA4BnB,EAA+B,EAAQoB,EAAe7C,EAAO,EAAK,EAAQ8C,EAAa9C,EAAO,EAAK,EAAQ+C,EAAY9C,EAAY,GAAa,CAAC,GAAG,CAAC+C,EAAS,QAAQ,OAAO,IAAMC,GAAaC,IAAc,EAAE,KAAKA,GAAaF,EAAS,QAAQ,SAAeG,EAAa,KAAK,IAAIH,EAAS,QAAQ,YAAYC,CAAW,EAAE,GAAMD,EAAS,QAAQ,SAAS,GAAG,CAACG,IAAc,EAAS,QAAQ,YAAYF,EAAa,EAAE,CAAC,CAAC,EAEha,MAAM,CAAC,KAFsahD,MAAgB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