{"version":3,"file":"clickView.CdkGICur.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/woBPlF13zn30lxdtRzqD/cGPTO38vI6FDAvpYDatN/clickView.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({isView:true});export function isView(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/ _jsx(_Fragment,{children:store.isView&&/*#__PURE__*/ _jsx(Component,{...props})});};}export function onToggleView(Component){return props=>{const[store,setStore]=useStore();const handleClick=e=>setStore({isView:!store.isView});return /*#__PURE__*/ _jsx(Component,{...props,onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"isView\":{\"type\":\"reactHoc\",\"name\":\"isView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onToggleView\":{\"type\":\"reactHoc\",\"name\":\"onToggleView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./clickView.map"],"mappings":"4JAAgL,SAAgB,EAAO,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAM,GAAU,EAAS,EAAE,OAAqB,EAAKA,EAAU,CAAC,SAAS,EAAM,QAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE,mBAA3S,IAAqE,EAAO,EAAS,EAAY,CAAC,OAAO,EAAI,CAAC"}