{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Khm2CgNBpK1wufmRsf8w/jnbF6EY28tc36tFJ1hVk/Custom_Effects.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";import{motion}from\"framer-motion\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,animate:{rotate:90},transition:{duration:.25}});};}export function withHover(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,whileHover:{scale:1.1,zIndex:1,transition:{duration:.25,ease:\"easeInOut\"}}});};}export function withDelay(Component){return props=>{return /*#__PURE__*/ _jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.25},children:/*#__PURE__*/ _jsx(Component,{...props})});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/ _jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function withEllipsis(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,numberOfLines:1});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEllipsis\":{\"type\":\"reactHoc\",\"name\":\"withEllipsis\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDelay\":{\"type\":\"reactHoc\",\"name\":\"withDelay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom_Effects.map"],
  "mappings": "kFACA,IAAMA,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAA+J,SAASC,EAAUC,EAAU,CAAC,OAAOC,GAA6BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,WAAW,CAAC,MAAM,IAAI,OAAO,EAAE,WAAW,CAAC,SAAS,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,CAAI,CAAmc,SAASE,EAAaC,EAAU,CAAC,OAAOC,GAA6BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,cAAc,CAAC,CAAC,CAAI",
  "names": ["useStore", "createStore", "withHover", "Component", "props", "p", "withEllipsis", "Component", "props", "p"]
}
