text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.VuetStore=e.VuetStore||{})}(this,function(e){"use strict";var t={error:function(e){throw new Error("[vuet-store] "+e)},warn:function(e){},assertModule:function(e,t){t in e.modules||this.error("The '"+t+"' module does not exist")},assertVue:function(){this.error("must call Vue.use(Vuet) before creating a store instance")},assertFetch:function(e,t){this.assertModule(e,t),"function"!=typeof e.getModule(t).fetch&&this.error("'"+t+"' module 'fetch' must be the function type")}},o=function(e){return"__vuet_store_"+e+"__"},n=function(e,t){setTimeout(function(){localStorage.setItem(o(e),JSON.stringify(t))},0)},u={addModule:function(e,t){var n=JSON.parse(localStorage.getItem(o(t)));n&&(e.getModule(t).state=n)},rule:function(e){var u=e.path;return{created:function(){t.assertModule(this.$vuet,u),n(u,this.$vuet.getModule(u).state),this[o(u)]=this.$vuet.app.$watch(function(){return this.$vuet.getModule(u).state},function(e){n(u,e)},{deep:!0})},destroyed:function(){this[o(u)](),delete this[o(u)]}}}};e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
  //# sourceMappingURL=vuet-store.min.js.map
  