{"version":3,"file":"store_ProductPropsLocalStorage.CVShk0fs.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6NueQ0CouAFqjFEtYeCA/K0TEHotRKUtf6cRznxYI/store_ProductPropsLocalStorage.js"],"sourcesContent":["export const setProductPropsLocalValue=(propKey,propValue)=>{return setProductPropsSessionStorage(propKey,propValue);};export const setProductPropsSessionStorage=(propKey,propValue)=>{if(typeof sessionStorage!==\"undefined\"){sessionStorage.setItem(propKey,propValue);}};export const getProductPropsLocalValue=(propKey,jsonObject)=>{try{if(typeof sessionStorage!==\"undefined\"){const propValue=sessionStorage.getItem(propKey);if(jsonObject===true){return JSON.parse(propValue);}else if(propValue===\"true\"){return true;}else if(propValue===\"false\"){return false;}return propValue;}}catch(error){console.error(`Error decoding ${propKey}`,error);}return\"\";};\nexport const __FramerMetadata__ = {\"exports\":{\"setProductPropsLocalValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getProductPropsLocalValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setProductPropsSessionStorage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./store_ProductPropsLocalStorage.map"],"mappings":"+EAAa,GAA2B,EAAQ,IAAoB,EAA8B,EAAQ,GAA0B,GAA+B,EAAQ,IAAY,CAAI,OAAO,eAAiB,KAAa,eAAe,QAAQ,EAAQ,EAAa,EAAc,GAA2B,EAAQ,IAAa,CAAC,GAAG,CAAC,GAAG,OAAO,eAAiB,IAAY,CAAC,IAAM,EAAU,eAAe,QAAQ,GAAiJ,OAArI,IAAa,GAAa,KAAK,MAAM,GAAoB,IAAY,OAAe,GAAc,IAAY,QAAgB,GAAc,CAAW,CAAC,OAAM,EAAM,CAAC,QAAQ,MAAM,kBAAkB,IAAU,EAAQ,OAAM,EAAI"}