"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _default = function _default(key) {
  try {
    return JSON.parse(localStorage[key] || '{}').value;
  } catch (e) {
    return null;
  }
};

exports.default = _default;