import{l as a}from"./p-7716c8ae.js";import{g as r}from"./p-c9699503.js";async function o(o){let c=o?await r(o,null):null;try{if(o){await a.removeItem(o)}else{await a.clear()}}catch(a){console.log("Error clearing data from cache with localforage",a)}try{if(o){localStorage.removeItem(o)}else{localStorage.clear()}}catch(a){console.log("Error clearing data from cache with LocalStorage",a)}return c}export{o as c};
//# sourceMappingURL=p-f0f8adab.js.map