{"version":3,"file":"Custom.D-CU2sg8.mjs","names":["Children"],"sources":["https:/framerusercontent.com/modules/z6Elh47M0ryyO9CVlOrg/VzXDyITtJ63v6a1V7cV0/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)=>/*#__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}}));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\":{\"withAspectRatioHorizontal\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioHorizontal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStaggerChildren\":{\"type\":\"reactHoc\",\"name\":\"withStaggerChildren\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioSquare\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioSquare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioVertical\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioVertical\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWordSpacing\":{\"type\":\"reactHoc\",\"name\":\"withWordSpacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverScale\":{\"type\":\"reactHoc\",\"name\":\"withHoverScale\",\"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,IAAsB,EAAa,EAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,WAAW,CAAC,SAAS,GAAG,OAAO,iCAAiC,MAAM,GAAG,EAAM,CAAC,CAAC,SAAS,CAAC,KAAK,GAAK,CAAC,CAAC,CAAC,CAAC,OAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,SAAS,EAAe,CAAC,EAAwI,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAA6B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,YAAY,OAAO,CAAC,CAAC,CAAI,SAAgB,EAAsB,EAAU,CAAC,MAAO,IAA6B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,YAAY,QAAQ,MAAM,OAAO,OAAO,OAAO,CAAC,CAAC,kBAAz3B,IAAyC"}