{
  "version": 3,
  "sources": ["ssg: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": "yFAAsI,IAAMA,EAASC,EAAY,CAAC,OAAO,EAAI,CAAC,EAAS,SAASC,EAAOC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAE,OAAqBO,EAAKC,EAAU,CAAC,SAASH,EAAM,QAAsBE,EAAKJ,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE",
  "names": ["useStore", "createStore", "isView", "Component", "props", "store", "setStore", "p", "l"]
}
