{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/TcKueLPZCYcNpapAVrfw/NfANay3bmvXhXzhD8V7Z/Date.js", "ssg:https://framerusercontent.com/modules/uWKVSHebJsT4gLrEn3As/42UrK1Ojrzcw6vMlI6Ol/W8vPDampO.js", "ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/XFdSqeUAxA0lmlhOMq6T/4HYf79kGMJIJK2RDJsxg/Lightbox.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{Text}from\"framer\";export function DateText(){const currentDate=new Date;const formattedDate=currentDate.toDateString();return{text:formattedDate};}export function App(){return /*#__PURE__*/_jsx(Text,{width:200,height:40,fontSize:20,textAlign:\"center\",background:\"transparent\",children:\"Today's Date\"});}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withDateText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...DateText(props)});};}withDateText.displayName=\"DateText\";\nexport const __FramerMetadata__ = {\"exports\":{\"DateText\":{\"type\":\"override\",\"name\":\"DateText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDateText\":{\"type\":\"reactHoc\",\"name\":\"withDateText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"App\":{\"type\":\"reactComponent\",\"name\":\"App\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Date.map", "import{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-uNo4Z .framer-styles-preset-1cio2qa:not(.rich-text-wrapper), .framer-uNo4Z .framer-styles-preset-1cio2qa.rich-text-wrapper a { --framer-link-current-text-color: var(--token-46a4628a-55d2-466a-bd50-4119479dfdb7, #ffffff) /* {\"name\":\"Text\"} */; --framer-link-current-text-decoration: none; --framer-link-hover-text-color: rgba(255, 255, 255, 0.9); --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-46a4628a-55d2-466a-bd50-4119479dfdb7, #ffffff); --framer-link-text-decoration: none; }'];export const className=\"framer-uNo4Z\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Create a store to manage the lightbox state\nconst useStore=createStore({isLightboxOpen:false});// Override for the trigger element to open the lightbox\nexport function withLightboxTrigger(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{setStore({isLightboxOpen:true});}});};}// Override for the lightbox component\nexport function withLightbox(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,display:store.isLightboxOpen?\"flex\":\"none\",position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",backgroundColor:\"rgba(0, 0, 0, 0.5)\",justifyContent:\"center\",alignItems:\"center\",zIndex:1e3},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"62.5%\",height:\"90%\",backgroundColor:\"#FFF\",borderRadius:\"20px\",overflow:\"hidden\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"iframe\",{src:\"https://pathway-v1.netlify.app/\",width:\"800px\",height:\"500px\",scrolling:\"no\",style:{border:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:16,right:16,width:32,height:32,backgroundColor:\"#FFF\",color:\"#000\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",borderRadius:\"50%\",fontSize:16,fontWeight:\"bold\"},onClick:()=>{setStore({isLightboxOpen:false});},children:\"X\"})]})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLightbox\":{\"type\":\"reactHoc\",\"name\":\"withLightbox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLightboxTrigger\":{\"type\":\"reactHoc\",\"name\":\"withLightboxTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}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AAe,EAAQ,CAACb,EAAU,MAAME,CAAY,GAC1E,CAACO,EAAMH,CAAa,CAAG,CAAC,OAAOE,CAAS,CCd9C,IAAMM,EAASC,EAAY,CAAC,eAAe,EAAK,CAAC,EAC1C,SAASC,EAAoBC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAE,OAAoBO,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAACE,EAAS,CAAC,eAAe,EAAI,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE",
  "names": ["DateText", "withDateText", "C", "props", "re", "DataObserverContext", "p", "DateText", "fontStore", "fonts", "css", "className", "createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "useStore", "createStore", "withLightboxTrigger", "Component", "props", "store", "setStore", "p"]
}
