{"version":3,"file":"WithId.BKY1JmdB.mjs","names":["useStore"],"sources":["https:/framerusercontent.com/modules/AmqG3ypxiCDa2uVCJfVT/JSPiWtekXJgxa4FmHh9q/WithClassName.js","https:/framerusercontent.com/modules/7yxYkihgxBDjD1kKVXnN/aHeT7N6buCsadvIVotXX/WithId.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";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\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withClassNameAppStore(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:`${props.className||\"\"} app-store-link`,id:\"download-ios\"});};}export function withClassNamePlayStore(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:`${props.className||\"\"} play-store-link`});};}export function withClassNameMacApp(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:`${props.className||\"\"} mac-app-link`});};}export function withClassNameWebApp(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:`${props.className||\"\"} web-app-link`});};}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withClassNameWebApp\":{\"type\":\"reactHoc\",\"name\":\"withClassNameWebApp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClassNamePlayStore\":{\"type\":\"reactHoc\",\"name\":\"withClassNamePlayStore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClassNameAppStore\":{\"type\":\"reactHoc\",\"name\":\"withClassNameAppStore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClassNameMacApp\":{\"type\":\"reactHoc\",\"name\":\"withClassNameMacApp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithClassName.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";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\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withDownloadiOSID(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,id:\"download-ios\"});};}export function withDownloadAndroidID(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,id:\"download-android\"});};}export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDownloadiOSID\":{\"type\":\"reactHoc\",\"name\":\"withDownloadiOSID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDownloadAndroidID\":{\"type\":\"reactHoc\",\"name\":\"withDownloadAndroidID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithId.map"],"mappings":"0KAC6O,SAAgB,EAAsB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,GAAG,EAAM,WAAW,GAAG,iBAAiB,GAAG,cAAc,CAAC,CAAI,CAAC,SAAgB,EAAuB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,GAAG,EAAM,WAAW,GAAG,iBAAiB,CAAC,CAAI,CAAC,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,GAAG,EAAM,WAAW,GAAG,cAAc,CAAC,CAAI,CAAC,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,GAAG,EAAM,WAAW,GAAG,cAAc,CAAC,CAAI,iBAD91B,IAA8B,IAAqE,IAAqE,EACnM,EAAY,CAAC,WAAW,SAAS,CAAC,KCAE,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,GAAG,cAAc,CAAC,CAAI,iBADxI,IAA8B,IAAqE,IAAqE,EACnM,EAAY,CAAC,WAAW,SAAS,CAAC"}