module.exports = "(function(t,e,_){var o=_(5894),r=_(4810);function n(t,e){this.__storage=t,this.__baseKey=e}n.prototype.__getKeyPath=function(t){return[this.__baseKey,t].join(\"$$\")},n.prototype.__getKeyFromStorageKey=function(t){return t.replace(this.__baseKey+\"$$\",\"\")},n.prototype.setItem=function(t,e){(__PROFILE__||__RUM_VERBOSE__)&&_(9256).time(\"localstorageSetItem\");try{this.__storage.setItem(this.__getKeyPath(t),e)}catch(e){r.warn(\"Failed to save\",t,\"to localStorage:\",e)}(__PROFILE__||__RUM_VERBOSE__)&&_(9256).timeEnd(\"localstorageSetItem\")},n.prototype.removeItem=function(t){this.__storage.removeItem(this.__getKeyPath(t))},n.prototype.getItem=function(t){(__PROFILE__||__RUM_VERBOSE__)&&_(9256).time(\"localstorageGetItem\");var e=null;try{e=this.__storage.getItem(this.__getKeyPath(t))}catch(t){}return(__PROFILE__||__RUM_VERBOSE__)&&_(9256).timeEnd(\"localstorageGetItem\"),e},n.prototype.keys=function(){var t=o.keys(this.__storage);return o.map(o.filter(t,o.bind((function(t){return o.includes(t,this.__baseKey)}),this)),o.bind(this.__getKeyFromStorageKey,this))},n.prototype.allKeys=function(){return o.keys(this.__storage)},n.prototype.allValues=function(){return o.values(this.__storage)},t.exports={create:function(t,e){return new n(t,e)},mockStorage:{keys:function(){},getItem:function(t){},removeItem:function(t){},setItem:function(t,e){}}}})";