text: !function(e){function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}var t={};__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=3)}([function(e,t,r){"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function isDefined(e){return null!=e}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,t,r){return t&&defineProperties(e.prototype,t),r&&defineProperties(e,r),e}}(),i=r(1).createKey(),a=function(){function CrepeStore(){function onExistsObjVariable(e,t){if(void 0!==e)for(var r in e)e.hasOwnProperty(r)&&t(r)}var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.state,n=void 0===r?{}:r,a=t.mutations,o=t.actions,s=t.getters,u=t.modules,c=void 0===u?{}:u,f=t.debug,l=void 0!==f&&f,_=arguments[1];_classCallCheck(this,CrepeStore),i(this).mutations={},i(this).actions={},i(this).listeners=[],i(this).getters={},i(this).state=n,i(this).debug=l,i(this).parent=_,i(this).publish=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;i(e).listeners.forEach(function(t){t(e)}),isDefined(i(e).parent)&&i(this).publish(e.parent)},i(this).executeOnAllModules=function(t){var r=i(e).state;for(var n in r)r.hasOwnProperty(n)&&r[n]instanceof CrepeStore&&t(r[n])},onExistsObjVariable(a,function(t){e.addMutation({type:t,fn:a[t]})}),onExistsObjVariable(o,function(t){e.addAction({type:t,fn:o[t]})}),onExistsObjVariable(s,function(t){e.addGetter({name:t,fn:s[t]})}),onExistsObjVariable(c,function(t){i(e).state[t]=new CrepeStore(c[t],e)})}return n(CrepeStore,[{key:"addMutation",value:function(e){var t=e.type,r=e.fn;i(this).mutations[t]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.apply(void 0,[i(this).state].concat(t))}.bind(this)}},{key:"addAction",value:function(e){var t=e.type,r=e.fn;i(this).actions[t]=function(){var e=i(this).parent,t={commit:this.commit};isDefined(e)&&Object.assign(t,{state:i(this).state,rootState:i(this).parent.state});for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];r.apply(void 0,[t].concat(a))}.bind(this)}},{key:"addGetter",value:function(e){var t=this,r=e.name,n=e.fn;Object.defineProperty(i(this).getters,r,{get:function(){return n(i(t).state)}})}},{key:"dispatch",value:function(e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(t=i(this).actions)[e].apply(t,n)}},{key:"subscribe",value:function(e){var t=this;i(this).listeners.push(e);var r=function(){for(var r=i(t).listeners.length,n=0;n<r;n++)if(listener=i(t).listeners[n],e==listener){var a=i(t).listeners.slice(0,n),o=i(t).listeners.slice(n+1,r);i(t).listener=[].concat(_toConsumableArray(a),_toConsumableArray(o));break}};return e(this),i(this).executeOnAllModules(e),r}},{key:"commit",get:function(){return function(e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(t=i(this).mutations)[e].apply(t,n),i(this).publish()}.bind(this)}},{key:"getters",get:function(){return i(this).getters}},{key:"state",get:function(){return i(this).state}}]),CrepeStore}();t.default=a},function(e,t){function createKey(e){e="function"==typeof e?e:createBound(e);var t=new WeakMap,r=new WeakMap;return function(n){if("object"==typeof n){var i=t.get(n);return i||(r.has(n)?i=n:(i=e(n),t.set(n,i),r.set(i,!0))),i}}}function createBound(e){return function(){return Object.create(e||Object.prototype)}}e.exports={createKey:createKey}},,function(e,t,r){"use strict";window.CrepeStore=r(0).default}]);