This commit is contained in:
Luiz Silva 2026-02-08 20:30:35 -03:00
parent 0cbe901499
commit dbe0f66daf
51 changed files with 30 additions and 304 deletions

View file

@ -22,7 +22,7 @@ __export(local_exports, {
});
module.exports = __toCommonJS(local_exports);
const localValor = (chave_, valor) => {
const localStorage = globalThis.localStorage;
const localStorage = "localStorage" in globalThis ? globalThis.localStorage : void 0;
if (typeof localStorage == "undefined") return null;
const chave = typeof chave_ === "string" ? chave_ : encodeURIComponent(JSON.stringify(chave_));
try {