{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/NxaIym4BbeaXZkFt75hV/7IoCObhr4tvrpZ0cirJl/ScaleTransform.js"],
  "sourcesContent": ["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { createStore } from \"https://framer.com/m/framer/store.js@^1.0.0\";\nimport { randomColor } from \"https://framer.com/m/framer/utils.js@^0.9.0\"; // Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore = createStore({\n  background: \"#0099FF\"\n});\nexport function scaleHalf(Component) {\n  return props => {\n    return /*#__PURE__*/_jsx(Component, {\n      ...props,\n      animate: {\n        scale: .5\n      }\n    });\n  };\n}\nexport function withScaleMobile(Component) {\n  return props => {\n    return /*#__PURE__*/_jsx(Component, {\n      ...props,\n      animate: {\n        scale: .66\n      }\n    });\n  };\n}\nexport function withScaleTablet(Component) {\n  return props => {\n    return /*#__PURE__*/_jsx(Component, {\n      ...props,\n      animate: {\n        scale: .75\n      }\n    });\n  };\n}\nexport function withHover(Component) {\n  return props => {\n    return /*#__PURE__*/_jsx(Component, {\n      ...props,\n      whileHover: {\n        scale: 1.05\n      }\n    });\n  };\n}\nexport function withRandomColor(Component) {\n  return props => {\n    const [store, setStore] = useStore();\n    return /*#__PURE__*/_jsx(Component, {\n      ...props,\n      animate: {\n        background: store.background\n      },\n      onClick: () => {\n        setStore({\n          background: randomColor()\n        });\n      }\n    });\n  };\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"withScaleTablet\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withScaleTablet\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"withHover\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withHover\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"withRandomColor\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withRandomColor\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"scaleHalf\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"scaleHalf\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"withScaleMobile\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withScaleMobile\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./ScaleTransform.map"],
  "mappings": "2HAAAA,IAGA,IAAMC,EAAWC,EAAY,CAC3B,WAAY,SACd,CAAC,EACM,SAASC,EAAUC,EAAW,CACnC,OAAOC,GACeC,EAAKF,EAAW,CAClC,GAAGC,EACH,QAAS,CACP,MAAO,EACT,CACF,CAAC,CAEL,CACO,SAASE,EAAgBH,EAAW,CACzC,OAAOC,GACeC,EAAKF,EAAW,CAClC,GAAGC,EACH,QAAS,CACP,MAAO,GACT,CACF,CAAC,CAEL,CACO,SAASG,EAAgBJ,EAAW,CACzC,OAAOC,GACeC,EAAKF,EAAW,CAClC,GAAGC,EACH,QAAS,CACP,MAAO,GACT,CACF,CAAC,CAEL",
  "names": ["init_shims", "useStore", "createStore", "scaleHalf", "Component", "props", "p", "withScaleMobile", "withScaleTablet"]
}
