{"version":3,"file":"Router.DXAXto8S.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/iYHqOlkQsaFyHacEUToN/iYwPu7w20wCvpDfQxpWX/grFAwXTZE.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/qIyy7o0d7csi9tC4XA7R/eZrlAzsf2Rz46pk4kmb8/Router.js"],"sourcesContent":["// Generated by Framer (8e1ebfe)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Cabinet Grotesk-regular\",\"FS;Cabinet Grotesk-bold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Cabinet Grotesk\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Cabinet Grotesk\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/J6PPRPKWXDUIYA47IXLEQB4R4OPVYDQH/N2ZXAXWEHVMLISD2TIXJC7EF4GOY43L4/NXM4Z4TDCMYWBZ7AVI2N6DQ5VMWNENMU.woff2\",weight:\"400\"},{cssFamilyName:\"Cabinet Grotesk\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Cabinet Grotesk\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/XMXWOHABYLQDJ42L65EFRYNVRY37HQCB/B2O4O6V3JMFM2WDCYQI3A47L5U4THDUL/WN5274VQ3AUBDFP74GB4EC4XYJ3EKVNE.woff2\",weight:\"700\"}]}];export const css=['.framer-bGv7Y .framer-styles-preset-17nuuo0:not(.rich-text-wrapper), .framer-bGv7Y .framer-styles-preset-17nuuo0.rich-text-wrapper p { --framer-font-family: \"Cabinet Grotesk\", \"Cabinet Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Cabinet Grotesk\", \"Cabinet Grotesk Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: -0.02em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: center; --framer-text-color: var(--token-c386d835-930c-43e2-8fc8-072512458264, rgba(255, 255, 255, 0.9)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-bGv7Y\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"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","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","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\";/*\n    Mail:       krutikmaru18@gmail.com\n    Contra:     https://contra.com/krutikmaru\n    LinkedIn:   https://www.linkedin.com/in/krutik-maru/\n */const useStore=createStore({state:true});export function withGoBack(Component){const handleGoBack=()=>{if(window){window.history.back();}};return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{onClick:handleGoBack,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withGoBack\":{\"type\":\"reactHoc\",\"name\":\"withGoBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Router.map"],"mappings":"qOAC8B,GAAU,UAAU,CAAC,6BAA6B,0BAA0B,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,kBAAkB,OAAO,YAAY,MAAM,SAAS,aAAa,kBAAkB,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,cAAc,kBAAkB,OAAO,YAAY,MAAM,SAAS,aAAa,kBAAkB,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,y4BAAy4B,CAAc,EAAU,kBCD7jD,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,E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