"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("react");var e=require("../../utils/genericFunctions/localStorage.js");require("../../node_modules/tslib/tslib.es6.js"),require("../../store/index.js");exports.loadCache=function(t,r){var i=(e.getJSONItem("caches-".concat(r))||{})[t];if(!(i&&i._expiration&&(new Date).getTime()>i._expiration))return i},exports.saveCache=function(t,r,i,c){if(i){var a=e.getJSONItem("caches-".concat(i))||{},s=r;s._expiration=c,a[t]=s,e.setJSONItem("caches-".concat(i),a)}};
//# sourceMappingURL=local_storage.js.map
