"use strict";
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.getRegion = exports.setRegion = exports.cacheConsts = void 0;
var _amosTool = require("amos-tool"),
  lsTool = _amosTool.Store.lsTool,
  cacheConsts = {
    _days: 1,
    CURRENT_REGION: "CURRENT_REGION"
  };
exports.cacheConsts = cacheConsts;
var setRegion = function(o) {
  lsTool.write(cacheConsts.CURRENT_REGION, JSON.stringify(o))
};
exports.setRegion = setRegion;
var getRegion = function() {
  return lsTool.read(cacheConsts.CURRENT_REGION)
};
exports.getRegion = getRegion;
