{"version":3,"file":"Stagger.ClYNbWTA.mjs","names":["Children"],"sources":["https:/framerusercontent.com/modules/HURG9VqcvI2JS9IYH1Sm/IXmI2HIADK1p0qqIkKn0/Stagger.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Children,cloneElement}from\"react\";// Learn more: https://www.framer.com/docs/guides/overrides/\nexport function StaggerY(Component){return props=>{const{children}=props;const clonedChildren=Children.map(children,(child,index)=>/*#__PURE__*/cloneElement(child,{...child.props,initial:{opacity:0,y:150},whileInView:{opacity:1,y:0,transition:{delay:.01*index,duration:.2,ease:[.65,0,.35,1]}}}));return /*#__PURE__*/_jsx(Component,{...props,children:clonedChildren});};}export function StaggerX(Component){return props=>{const{children}=props;const clonedChildren=Children.map(children,(child,index)=>/*#__PURE__*/cloneElement(child,{...child.props,initial:{opacity:0,x:40},whileInView:{opacity:1,x:0,transition:{delay:.08*index,duration:.4,ease:[.65,0,.35,1]}}}));return /*#__PURE__*/_jsx(Component,{...props,children:clonedChildren});};}export function StaggerScale(Component){return props=>{const{children}=props;const clonedChildren=Children.map(children,(child,index)=>/*#__PURE__*/cloneElement(child,{...child.props,initial:{opacity:0,scale:.5},whileInView:{opacity:1,scale:1,transition:{delay:.05*index,duration:1,ease:[.65,0,.35,1]}}}));return /*#__PURE__*/_jsx(Component,{...props,children:clonedChildren});};}\nexport const __FramerMetadata__ = {\"exports\":{\"StaggerY\":{\"type\":\"reactHoc\",\"name\":\"StaggerY\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StaggerScale\":{\"type\":\"reactHoc\",\"name\":\"StaggerScale\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StaggerX\":{\"type\":\"reactHoc\",\"name\":\"StaggerX\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Stagger.map"],"mappings":"iKACkX,SAAgB,EAAS,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,YAAU,EAAY,EAAeA,EAAS,IAAI,GAAU,EAAM,IAAqB,EAAa,EAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,CAAC,QAAQ,EAAE,EAAE,GAAG,CAAC,YAAY,CAAC,QAAQ,EAAE,EAAE,EAAE,WAAW,CAAC,MAAM,IAAI,EAAM,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,SAAS,EAAe,CAAC,mBADprB,IAAyC"}