{"version":3,"file":"ServiceScrollActive.DTMgO9-q.mjs","names":["useState","rafId","React.useRef","React.useRef","__esmMin","init_ssg_sandbox_shims","navigator","_e","de","init_jsx_runtime","c","init_npm_react_18_3_1","ce","window","useObserveData","Data","init_framer_CaDWdxiz","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","clamp","value","getPageY","el","detectWeakOrMobileDevice","cores","memory","touchPoints","viewportWidth","updatePerformanceProfile","isLowEndOrMobile","ensureMediaState","mediaQuery","measureBounds","startEl","endEl","force","cachedEndY","cachedStartY","setProgress","setGlobalStore","next","progress","lastProgress","scrollToProgress","distance","cachedDistance","targetScroll","VIEWPORT_TRIGGER","updateProgress","isDragging","isTabVisible","scheduleUpdate","rafId$1","lastFrameTime","frameIntervalMs","ts","scheduleMeasureAndUpdate","onVisibilityChange","onMotionPreferenceChange","addListeners","visibilityHandlerAttached","mediaQueryHandlerAttached","removeListeners","listenerCount","ensureResizeObserver","resizeObserver","observeSensor","unobserveSensor","observerCount","withServicesStartSensor","ref","setStore","useProgressStore","t1","t2","Component","props","withServicesEndSensor","withServicesProgressLine","store","prefersReducedMotion","withServicesProgressHandle","updateFromPointer","track","event","rect","onPointerDown","onPointerMove","onPointerUp","cursor","withServicesProgressTrack","hasMeasured","init_SectionScrollIndicator","getIsMobile","MOBILE_BREAKPOINT","getVariant","isMobile","isPassed","EXPANDED_VARIANT_MOBILE","CONTRACTED_VARIANT_MOBILE","EXPANDED_VARIANT_DESKTOP","CONTRACTED_VARIANT_DESKTOP","calculatePassedCard","globalSetStore","mobile","activeX","ACTIVE_X_POSITION_MOBILE","ACTIVE_X_POSITION_DESKTOP","newestPassedIndex","hasVisibleCards","registeredCards","cardElement","cardIndex","currentPassedCard","currentIsMobile","scheduleCalculation","rafId","addGlobalListeners","removeGlobalListeners","CardWrapper","element","index","mountedCards","variant","withServiceCard01","withServiceCard02","withServiceCard03","withServiceCard04","withServiceCard05","init_ServiceScrollActive"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/ssglqxrAmt9AIapOKHw4/iCDatSkpUTgwMGkDP3uk/SectionScrollIndicator.js","https:/framerusercontent.com/modules/DMVev9wNUrPJOCHkqMyW/rNPQgPLIL0QNBjdKcH4q/ServiceScrollActive.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";// @ts-ignore\nimport{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useProgressStore=createStore({progress:0});let startEl=null;let endEl=null;let rafId=null;let isDragging=false;let setGlobalStore=null;let listenerCount=0;let observerCount=0;let resizeObserver=null;let visibilityHandlerAttached=false;let mediaQuery=null;let mediaQueryHandlerAttached=false;let isTabVisible=true;let prefersReducedMotion=false;let isLowEndOrMobile=false;let frameIntervalMs=16;let lastFrameTime=0;let hasMeasured=false;let cachedStartY=0;let cachedEndY=0;let cachedDistance=0;let lastProgress=-1;const VIEWPORT_TRIGGER=.55;function clamp(value){return Math.max(0,Math.min(1,value));}function getPageY(el){const rect=el.getBoundingClientRect();return rect.top+window.scrollY;}function detectWeakOrMobileDevice(){if(typeof window===\"undefined\"||typeof navigator===\"undefined\"){return false;}const cores=navigator.hardwareConcurrency||4;const memory=navigator.deviceMemory||4;const touchPoints=navigator.maxTouchPoints||0;const viewportWidth=window.innerWidth||1280;return cores<=4||memory<=4||touchPoints>0||viewportWidth<900;}function updatePerformanceProfile(){isLowEndOrMobile=detectWeakOrMobileDevice();frameIntervalMs=isLowEndOrMobile?48:16;}function ensureMediaState(){if(typeof document!==\"undefined\"){isTabVisible=document.visibilityState!==\"hidden\";}if(typeof window!==\"undefined\"){if(!mediaQuery){mediaQuery=window.matchMedia(\"(prefers-reduced-motion: reduce)\");}prefersReducedMotion=mediaQuery.matches;}updatePerformanceProfile();}function measureBounds(force=false){if(typeof window===\"undefined\"||!startEl||!endEl)return;if(!force&&hasMeasured)return;cachedStartY=getPageY(startEl);cachedEndY=getPageY(endEl);cachedDistance=cachedEndY-cachedStartY;hasMeasured=true;}function setProgress(progress){if(!setGlobalStore)return;const next=clamp(progress);if(Math.abs(next-lastProgress)<.001)return;lastProgress=next;setGlobalStore({progress:next});}function scrollToProgress(progress){if(typeof window===\"undefined\")return;if(!startEl||!endEl)return;measureBounds(true);const distance=cachedDistance;if(distance<=0)return;const targetScroll=cachedStartY+distance*clamp(progress)-window.innerHeight*VIEWPORT_TRIGGER;window.scrollTo({top:targetScroll,behavior:\"auto\"});setProgress(progress);}function updateProgress(){if(typeof window===\"undefined\")return;if(!startEl||!endEl||!setGlobalStore)return;if(isDragging)return;if(!isTabVisible)return;measureBounds();const distance=cachedDistance;if(distance<=0){setProgress(0);return;}const triggerY=window.scrollY+window.innerHeight*VIEWPORT_TRIGGER;const progress=clamp((triggerY-cachedStartY)/distance);setProgress(progress);}function scheduleUpdate(){if(typeof window===\"undefined\")return;if(!isTabVisible)return;if(rafId!==null)return;rafId=window.requestAnimationFrame(ts=>{rafId=null;if(ts-lastFrameTime<frameIntervalMs)return;lastFrameTime=ts;updateProgress();});}function scheduleMeasureAndUpdate(){hasMeasured=false;scheduleUpdate();}function onVisibilityChange(){if(typeof document===\"undefined\")return;isTabVisible=document.visibilityState!==\"hidden\";if(isTabVisible){hasMeasured=false;scheduleUpdate();}}function onMotionPreferenceChange(){if(!mediaQuery)return;prefersReducedMotion=mediaQuery.matches;}function addListeners(){if(typeof window===\"undefined\"||typeof document===\"undefined\")return;listenerCount+=1;if(listenerCount>1)return;ensureMediaState();window.addEventListener(\"scroll\",scheduleUpdate,{passive:true});window.addEventListener(\"resize\",scheduleMeasureAndUpdate,{passive:true});if(!visibilityHandlerAttached){document.addEventListener(\"visibilitychange\",onVisibilityChange);visibilityHandlerAttached=true;}if(mediaQuery&&!mediaQueryHandlerAttached){mediaQuery.addEventListener(\"change\",onMotionPreferenceChange);mediaQueryHandlerAttached=true;}}function removeListeners(){if(typeof window===\"undefined\"||typeof document===\"undefined\")return;listenerCount=Math.max(0,listenerCount-1);if(listenerCount>0)return;window.removeEventListener(\"scroll\",scheduleUpdate);window.removeEventListener(\"resize\",scheduleMeasureAndUpdate);if(rafId!==null){window.cancelAnimationFrame(rafId);rafId=null;}if(visibilityHandlerAttached){document.removeEventListener(\"visibilitychange\",onVisibilityChange);visibilityHandlerAttached=false;}if(mediaQuery&&mediaQueryHandlerAttached){mediaQuery.removeEventListener(\"change\",onMotionPreferenceChange);mediaQueryHandlerAttached=false;}}function ensureResizeObserver(){if(typeof window===\"undefined\"||typeof ResizeObserver===\"undefined\"){return;}if(resizeObserver)return;resizeObserver=new ResizeObserver(()=>{scheduleMeasureAndUpdate();});}function observeSensor(el){if(!el)return;ensureResizeObserver();if(!resizeObserver)return;resizeObserver.observe(el);observerCount+=1;}function unobserveSensor(el){if(!el||!resizeObserver)return;resizeObserver.unobserve(el);observerCount=Math.max(0,observerCount-1);if(observerCount===0){resizeObserver.disconnect();resizeObserver=null;}}export function withServicesStartSensor(Component){return function WrappedComponent(props){const ref=React.useRef(null);const[,setStore]=useProgressStore();React.useEffect(()=>{if(typeof window===\"undefined\")return;startEl=ref.current;setGlobalStore=setStore;addListeners();observeSensor(startEl);scheduleMeasureAndUpdate();const t1=window.setTimeout(updateProgress,100);const t2=window.setTimeout(updateProgress,500);return()=>{window.clearTimeout(t1);window.clearTimeout(t2);unobserveSensor(startEl);startEl=null;hasMeasured=false;removeListeners();};},[setStore]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style||{},opacity:0,pointerEvents:\"none\"}});};}export function withServicesEndSensor(Component){return function WrappedComponent(props){const ref=React.useRef(null);const[,setStore]=useProgressStore();React.useEffect(()=>{if(typeof window===\"undefined\")return;endEl=ref.current;setGlobalStore=setStore;addListeners();observeSensor(endEl);scheduleMeasureAndUpdate();const t1=window.setTimeout(updateProgress,100);const t2=window.setTimeout(updateProgress,500);return()=>{window.clearTimeout(t1);window.clearTimeout(t2);unobserveSensor(endEl);endEl=null;hasMeasured=false;removeListeners();};},[setStore]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style||{},opacity:0,pointerEvents:\"none\"}});};}export function withServicesProgressLine(Component){return function WrappedComponent(props){const[store]=useProgressStore();return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style||{},transformOrigin:\"left center\",transform:`scaleX(${store.progress})`,transition:prefersReducedMotion?\"transform 0.2s linear\":\"none\"}});};}export function withServicesProgressHandle(Component){return function WrappedComponent(props){const[store]=useProgressStore();function updateFromPointer(event){const target=event.currentTarget;const track=target.parentElement;if(!track)return;const rect=track.getBoundingClientRect();if(rect.width<=0)return;const progress=clamp((event.clientX-rect.left)/rect.width);scrollToProgress(progress);}function onPointerDown(event){event.preventDefault();event.stopPropagation();isDragging=true;const target=event.currentTarget;target.setPointerCapture(event.pointerId);updateFromPointer(event);}function onPointerMove(event){if(!isDragging)return;updateFromPointer(event);}function onPointerUp(event){isDragging=false;const target=event.currentTarget;target.releasePointerCapture(event.pointerId);updateProgress();}const cursor=isDragging?\"grabbing\":\"grab\";return /*#__PURE__*/_jsx(Component,{...props,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:onPointerUp,style:{...props.style||{},position:\"absolute\",left:`${store.progress*100}%`,transform:\"translateX(-50%)\",cursor,touchAction:\"none\",pointerEvents:\"auto\",// important: no transition, so it follows instantly\ntransition:\"none\",willChange:\"left\"}});};}export function withServicesProgressTrack(Component){return function WrappedComponent(props){function updateFromPointer(event){const target=event.currentTarget;const rect=target.getBoundingClientRect();if(rect.width<=0)return;const progress=clamp((event.clientX-rect.left)/rect.width);scrollToProgress(progress);}function onPointerDown(event){event.preventDefault();isDragging=true;const target=event.currentTarget;target.setPointerCapture(event.pointerId);updateFromPointer(event);}function onPointerMove(event){if(!isDragging)return;updateFromPointer(event);}function onPointerUp(event){isDragging=false;const target=event.currentTarget;target.releasePointerCapture(event.pointerId);updateProgress();}return /*#__PURE__*/_jsx(Component,{...props,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:onPointerUp,style:{...props.style||{},cursor:\"pointer\",touchAction:\"none\",pointerEvents:\"auto\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withServicesProgressLine\":{\"type\":\"reactHoc\",\"name\":\"withServicesProgressLine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServicesProgressHandle\":{\"type\":\"reactHoc\",\"name\":\"withServicesProgressHandle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServicesProgressTrack\":{\"type\":\"reactHoc\",\"name\":\"withServicesProgressTrack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServicesEndSensor\":{\"type\":\"reactHoc\",\"name\":\"withServicesEndSensor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServicesStartSensor\":{\"type\":\"reactHoc\",\"name\":\"withServicesStartSensor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SectionScrollIndicator.map","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({passedCard:0,isMobile:false});const EXPANDED_VARIANT_DESKTOP=\"Expanded card\";const CONTRACTED_VARIANT_DESKTOP=\"contracted card\";const EXPANDED_VARIANT_MOBILE=\"Expanded card Mobile\";const CONTRACTED_VARIANT_MOBILE=\"contracted card Mobile\";const MOBILE_BREAKPOINT=810;const ACTIVE_X_POSITION_DESKTOP=.64;const ACTIVE_X_POSITION_MOBILE=.8;const registeredCards=new Map;let rafId=null;let mountedCards=0;let currentPassedCard=0;let currentIsMobile=false;let globalSetStore=null;function getIsMobile(){if(typeof window===\"undefined\")return false;return window.innerWidth<=MOBILE_BREAKPOINT;}function getVariant(isPassed,isMobile){if(isMobile){return isPassed?EXPANDED_VARIANT_MOBILE:CONTRACTED_VARIANT_MOBILE;}return isPassed?EXPANDED_VARIANT_DESKTOP:CONTRACTED_VARIANT_DESKTOP;}function calculatePassedCard(){if(typeof window===\"undefined\"||!globalSetStore)return;const mobile=getIsMobile();const activeX=window.innerWidth*(mobile?ACTIVE_X_POSITION_MOBILE:ACTIVE_X_POSITION_DESKTOP);let newestPassedIndex=0;let hasVisibleCards=false;registeredCards.forEach((cardElement,cardIndex)=>{const rect=cardElement.getBoundingClientRect();const verticallyVisible=rect.bottom>window.innerHeight*.1&&rect.top<window.innerHeight*.9;if(!verticallyVisible)return;hasVisibleCards=true;const cardCenterX=rect.left+rect.width/2;if(cardCenterX<=activeX){newestPassedIndex=Math.max(newestPassedIndex,cardIndex);}});if(!hasVisibleCards)return;newestPassedIndex=Math.max(0,newestPassedIndex);const shouldUpdateCard=newestPassedIndex!==currentPassedCard;const shouldUpdateDevice=mobile!==currentIsMobile;if(!shouldUpdateCard&&!shouldUpdateDevice)return;currentPassedCard=newestPassedIndex;currentIsMobile=mobile;globalSetStore({passedCard:currentPassedCard,isMobile:currentIsMobile});}function scheduleCalculation(){if(typeof window===\"undefined\")return;if(rafId!==null)return;rafId=window.requestAnimationFrame(()=>{rafId=null;calculatePassedCard();});}function addGlobalListeners(){if(typeof window===\"undefined\")return;window.addEventListener(\"scroll\",scheduleCalculation,{passive:true});window.addEventListener(\"resize\",scheduleCalculation);}function removeGlobalListeners(){if(typeof window===\"undefined\")return;window.removeEventListener(\"scroll\",scheduleCalculation);window.removeEventListener(\"resize\",scheduleCalculation);if(rafId!==null){window.cancelAnimationFrame(rafId);rafId=null;}}function CardWrapper({Component,props,index}){const ref=React.useRef(null);const[store,setStore]=useStore();React.useEffect(()=>{const element=ref.current;if(!element)return;registeredCards.set(index,element);mountedCards+=1;globalSetStore=setStore;if(mountedCards===1){addGlobalListeners();}scheduleCalculation();const t1=window.setTimeout(scheduleCalculation,100);const t2=window.setTimeout(scheduleCalculation,500);return()=>{window.clearTimeout(t1);window.clearTimeout(t2);registeredCards.delete(index);mountedCards-=1;if(mountedCards<=0){mountedCards=0;currentPassedCard=0;currentIsMobile=false;globalSetStore=null;removeGlobalListeners();}else{scheduleCalculation();}};},[index,setStore]);const isPassed=index<=store.passedCard;const variant=getVariant(isPassed,store.isMobile);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(Component,{...props,variant:variant})});}export function withServiceCard01(Component){return function WrappedComponent(props){return /*#__PURE__*/_jsx(CardWrapper,{Component:Component,props:props,index:0});};}export function withServiceCard02(Component){return function WrappedComponent(props){return /*#__PURE__*/_jsx(CardWrapper,{Component:Component,props:props,index:1});};}export function withServiceCard03(Component){return function WrappedComponent(props){return /*#__PURE__*/_jsx(CardWrapper,{Component:Component,props:props,index:2});};}export function withServiceCard04(Component){return function WrappedComponent(props){return /*#__PURE__*/_jsx(CardWrapper,{Component:Component,props:props,index:3});};}export function withServiceCard05(Component){return function WrappedComponent(props){return /*#__PURE__*/_jsx(CardWrapper,{Component:Component,props:props,index:4});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withServiceCard05\":{\"type\":\"reactHoc\",\"name\":\"withServiceCard05\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServiceCard03\":{\"type\":\"reactHoc\",\"name\":\"withServiceCard03\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServiceCard01\":{\"type\":\"reactHoc\",\"name\":\"withServiceCard01\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServiceCard04\":{\"type\":\"reactHoc\",\"name\":\"withServiceCard04\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withServiceCard02\":{\"type\":\"reactHoc\",\"name\":\"withServiceCard02\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ServiceScrollActive.map"],"mappings":"A,iNAA8E,SAAgBiB,EAAY,EAAO,CACjH,IAAMC,EAAUH,GAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGI,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASH,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO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