{"version":3,"file":"Custom.Ckn_U72v.mjs","names":["Children"],"sources":["https:/framerusercontent.com/modules/urZTR62jtKjUuCEml2Bd/JIGhMRFwWZ3xmIWlB7w4/Custom.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Children,cloneElement}from\"react\";export function withStaggerChildren(Component){return props=>{const{children}=props;const clonedChildren=Children.map(children,(child,index)=>{return(child===null||child===void 0?void 0:child.props)?/*#__PURE__*/ cloneElement(child,{...child.props,initial:{opacity:0},whileInView:{opacity:1,transition:{duration:.8,easing:\"cubic-bezier(0.19, 1, 0.22, 1)\",delay:.1*index}},viewport:{once:true}}):null;});return /*#__PURE__*/ _jsx(Component,{...props,children:clonedChildren});};}export function withHoverScale(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withWordSpacing(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,style:{wordSpacing:\"-4em\"}});};}export function withAspectRatioSquare(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,style:{aspectRatio:\"1 / 1\",width:\"100%\",height:\"auto\"}});};}export function withAspectRatioHorizontal(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,style:{aspectRatio:\"3 / 2\",width:\"100%\",height:\"auto\"}});};}export function withAspectRatioVertical(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,style:{aspectRatio:\"3 / 4\",width:\"100%\",height:\"auto\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAspectRatioVertical\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioVertical\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioHorizontal\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioHorizontal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioSquare\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioSquare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStaggerChildren\":{\"type\":\"reactHoc\",\"name\":\"withStaggerChildren\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverScale\":{\"type\":\"reactHoc\",\"name\":\"withHoverScale\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWordSpacing\":{\"type\":\"reactHoc\",\"name\":\"withWordSpacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom.map"],"mappings":"yHAAoF,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,YAAU,EAAY,EAAeA,EAAS,IAAI,GAAU,EAAM,IAAgB,GAA0C,MAAqB,EAAa,EAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,EAAE,WAAW,CAAC,SAAS,GAAG,OAAO,iCAAiC,MAAM,GAAG,CAAK,CAAC,EAAE,SAAS,CAAC,KAAK,EAAI,CAAC,CAAC,EAAE,IAAM,EAAE,OAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,SAAS,CAAc,CAAC,CAAE,CAAE,CAAqI,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAA6B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,YAAY,MAAM,CAAC,CAAC,CAAI,iBAAnxB,IAAyC"}