You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
26 KiB

this.wp=this.wp||{},this.wp.data=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=308)}({0:function(t,e){!function(){t.exports=this.wp.element}()},10:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",function(){return n})},12:function(t,e,r){"use strict";r.d(e,"a",function(){return i});var n=r(28),o=r(3);function i(t,e){return!e||"object"!==Object(n.a)(e)&&"function"!=typeof e?Object(o.a)(t):e}},120:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},13:function(t,e,r){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,"a",function(){return n})},14:function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}r.d(e,"a",function(){return o})},15:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},173:function(t,e){t.exports=function(t){var e,r=Object.keys(t);return e=function(){var t,e,n;for(t="return {",e=0;e<r.length;e++)t+=(n=JSON.stringify(r[e]))+":r["+n+"](s["+n+"],a),";return t+="}",new Function("r,s,a",t)}(),function(n,o){var i,u,c;if(void 0===n)return e(t,{},o);for(i=e(t,n,o),u=r.length;u--;)if(n[c=r[u]]!==i[c])return i;return n}}},18:function(t,e,r){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,"a",function(){return n})},188:function(t,e){!function(){t.exports=this.wp.reduxRoutine}()},19:function(t,e,r){"use strict";var n=r(33);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",function(){return o})},2:function(t,e){!function(){t.exports=this.lodash}()},25:function(t,e,r){"use strict";var n=r(35);var o=r(36);function i(t,e){return Object(n.a)(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(n=(u=c.next()).done)&&(r.push(u.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,e)||Object(o.a)()}r.d(e,"a",function(){return i})},28:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)})(t)}r.d(e,"a",function(){return o})},3:function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",function(){return n})},308:function(t,e,r){"use strict";r.r(e);var n={};r.r(n),r.d(n,"getIsResolving",function(){return E}),r.d(n,"hasStartedResolution",function(){return P}),r.d(n,"hasFinishedResolution",function(){return _}),r.d(n,"isResolving",function(){return x}),r.d(n,"getCachedResolvers",function(){return T});var o={};r.r(o),r.d(o,"startResolution",function(){return R}),r.d(o,"finishResolution",function(){return I}),r.d(o,"invalidateResolution",function(){return k});var i={};r.r(i),r.d(i,"controls",function(){return V}),r.d(i,"persistence",function(){return G});var u=r(173),c=r.n(u),a=r(25),s=r(8),f=r(2),l=r(38),p=r(62),d=r(86),h=r.n(d),y=function(){return function(t){return function(e){return h()(e)?e.then(function(e){if(e)return t(e)}):t(e)}}},b=r(19),v=function(t,e){return function(){return function(r){return function(n){var o=t.select("core/data").getCachedResolvers(e);Object.entries(o).forEach(function(r){var o=Object(a.a)(r,2),i=o[0],u=o[1],c=Object(f.get)(t.namespaces,[e,"resolvers",i]);c&&c.shouldInvalidate&&u.forEach(function(r,o){!1===r&&c.shouldInvalidate.apply(c,[n].concat(Object(b.a)(o)))&&t.dispatch("core/data").invalidateResolution(e,i,o)})}),r(n)}}}};function g(t,e,r){var n,o,i,u=e.reducer,c=function(t,e,r){var n=[Object(p.a)(v(r,e),y)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&n.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));return Object(p.c)(t,Object(f.flowRight)(n))}(u,t,r);if(e.actions&&(o=function(t,e){return Object(f.mapValues)(t,function(t){return function(){return e.dispatch(t.apply(void 0,arguments))}})}(e.actions,c)),e.selectors&&(n=function(t,e){return Object(f.mapValues)(t,function(t){return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.apply(void 0,[e.getState()].concat(n))}})}(e.selectors,c)),e.resolvers){var a=function(t,e){var r=t.select("core/data").hasStartedResolution,n=t.dispatch("core/data"),o=n.startResolution,i=n.finishResolution;return{hasStarted:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return r.apply(void 0,[e].concat(n))},start:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return o.apply(void 0,[e].concat(r))},finish:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return i.apply(void 0,[e].concat(r))},fulfill:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return function(t,e,r){return w.apply(this,arguments)}.apply(void 0,[t,e].concat(n))}}}(r,t),d=function(t,e,r,n){return{resolvers:Object(f.mapValues)(t,function(t){var e=t.fulfill,r=void 0===e?t:e;return Object(s.a)({},t,{fulfill:r})}),selectors:Object(f.mapValues)(e,function(e,o){var i=t[o];if(!i)return e;return function(){for(var t=arguments.length,u=new Array(t),c=0;c<t;c++)u[c]=arguments[c];function a(){return(a=Object(l.a)(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[e].concat(u))){t.next=3;break}return t.abrupt("return");case 3:if(!r.hasStarted(o,u)){t.next=5;break}return t.abrupt("return");case 5:return r.start(o,u),t.next=8,r.fulfill.apply(r,[o].concat(u));case 8:r.finish(o,u);case 9:case"end":return t.stop()}},t,this)}))).apply(this,arguments)}return function(){return a.apply(this,arguments)}.apply(void 0,u),e.apply(void 0,u)}})}}(e.resolvers,n,a,c);i=d.resolvers,n=d.selectors}return{reducer:u,store:c,actions:o,selectors:n,resolvers:i,getSelectors:function(){return n},getActions:function(){return o},subscribe:c&&function(t){var e=c.getState();c.subscribe(function(){var r=c.getState(),n=r!==e;e=r,n&&t()})}}}function w(){return(w=Object(l.a)(regeneratorRuntime.mark(function t(e,r,n){var o,i,u,c,a,s,l=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.stores[r],i=Object(f.get)(o,["resolvers",n])){t.next=4;break}return t.abrupt("return");case 4:for(u=l.length,c=new Array(u>3?u-3:0),a=3;a<u;a++)c[a-3]=l[a];if(!(s=i.fulfill.apply(i,c))){t.next=9;break}return t.next=9,o.store.dispatch(s);case 9:case"end":return t.stop()}},t,this)}))).apply(this,arguments)}var O=r(66),m=r.n(O),j=r(15),S=function(t){return function(e){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[t];if(void 0===o)return r;var i=e(r[o],n);return i===r[o]?r:Object(s.a)({},r,Object(j.a)({},o,i))}}};function E(t,e,r,n){var o=Object(f.get)(t,[e,r]);if(o)return o.get(n)}function P(t,e,r){return void 0!==E(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function _(t,e,r){return!1===E(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function x(t,e,r){return!0===E(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function T(t,e){return t.hasOwnProperty(e)?t[e]:{}}function R(t,e,r){return{type:"START_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function I(t,e,r){return{type:"FINISH_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function k(t,e,r){return{type:"INVALIDATE_RESOLUTION",reducerKey:t,selectorName:e,args:r}}var A={reducer:Object(f.flowRight)([S("reducerKey"),S("selectorName")])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new m.a,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===e.type,n=new m.a(t);return n.set(e.args,r),n;case"INVALIDATE_RESOLUTION":var o=new m.a(t);return o.delete(e.args),o}return t}),actions:o,selectors:n};function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={},r=[];function n(){r.forEach(function(t){return t()})}function o(t,r){if("function"!=typeof r.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof r.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof r.subscribe)throw new TypeError("config.subscribe must be a function");e[t]=r,r.subscribe(n)}var i={registerGenericStore:o,stores:e,namespaces:e,subscribe:function(t){return r.push(t),function(){r=Object(f.without)(r,t)}},select:function(t){var r=e[t];return r&&r.getSelectors()},dispatch:function(t){var r=e[t];return r&&r.getActions()},use:function(t,e){return i=Object(s.a)({},i,t(i,e))}};return i.registerStore=function(t,e){if(!e.reducer)throw new TypeError("Must specify store reducer");var r=g(t,e,i);return o(t,r),r.store},Object.entries(Object(s.a)({"core/data":A},t)).map(function(t){var e=Object(a.a)(t,2),r=e[0],n=e[1];return i.registerStore(r,n)}),function(t){return Object(f.mapValues)(t,function(t,e){return"function"!=typeof t?t:function(){return i[e].apply(null,arguments)}})}(i)}var C,D,L=N(),M=r(188),U=r.n(M),V=function(t){return{registerStore:function(e,r){var n=t.registerStore(e,r);if(r.controls){var o=U()(r.controls),i=Object(p.a)(o);Object.assign(n,i(function(){return n})(r.reducer)),t.namespaces[e].supportControls=!0}return n}}},K={getItem:function(t){return C&&C[t]?C[t]:null},setItem:function(t,e){C||K.clear(),C[t]=String(e)},clear:function(){C=Object.create(null)}},F=K;try{(D=window.localStorage).setItem("__wpDataTestLocalStorage",""),D.removeItem("__wpDataTestLocalStorage")}catch(t){D=F}var H=D,W="WP_DATA";var G=function(t,e){var r=function(t){var e,r=t.storage,n=void 0===r?H:r,o=t.storageKey,i=void 0===o?W:o;return{get:function(){if(void 0===e){var t=n.getItem(i);if(null===t)e={};else try{e=JSON.parse(t)}catch(t){e={}}}return e},set:function(t,r){e=Object(s.a)({},e,Object(j.a)({},t,r)),n.setItem(i,JSON.stringify(e))}}}(e);return{registerStore:function(e,n){if(!n.persist)return t.registerStore(e,n);var o=r.get()[e];n=Object(s.a)({},n,{reducer:function(t,e){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1?arguments[1]:void 0;return t(r,n)}}(n.reducer,o)});var i=t.registerStore(e,n);return i.dispatch=Object(f.flow)([i.dispatch,function(t,e,n){var o=t();return function(i){var u=t();return u!==o&&(Array.isArray(n)&&(u=Object(f.pick)(u,n)),r.set(e,u),o=u),i}}(i.getState,e,n.persist)]),i}}},X=r(18),z=r(10),B=r(9),J=r(12),Q=r(13),Y=r(14),q=r(3),Z=r(0),$=r(40),tt=r.n($),et=r(7),rt=Object(Z.createContext)(L),nt=rt.Consumer,ot=rt.Provider,it=function(t){return Object(et.createHigherOrderComponent)(function(e){var r={};function n(e){return t(e.registry.select,e.ownProps,e.registry)||r}var o=function(t){function r(t){var e;return Object(z.a)(this,r),(e=Object(J.a)(this,Object(Q.a)(r).call(this,t))).onStoreChange=e.onStoreChange.bind(Object(q.a)(Object(q.a)(e))),e.subscribe(t.registry),e.mergeProps=n(t),e}return Object(Y.a)(r,t),Object(B.a)(r,[{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){this.canRunSelection=!1,this.unsubscribe()}},{key:"shouldComponentUpdate",value:function(t,e){var r=t.registry!==this.props.registry;r&&(this.unsubscribe(),this.subscribe(t.registry));var o=r||!tt()(this.props.ownProps,t.ownProps);if(this.state===e&&!o)return!1;if(o){var i=n(t);tt()(this.mergeProps,i)||(this.mergeProps=i)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var t=n(this.props);tt()(this.mergeProps,t)||(this.mergeProps=t,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(t){this.unsubscribe=t.subscribe(this.onStoreChange)}},{key:"render",value:function(){return Object(Z.createElement)(e,Object(X.a)({},this.props.ownProps,this.mergeProps))}}]),r}(Z.Component);return function(t){return Object(Z.createElement)(nt,null,function(e){return Object(Z.createElement)(o,{ownProps:t,registry:e})})}},"withSelect")},ut=function(t){return Object(et.createHigherOrderComponent)(function(e){var r=function(r){function n(t){var e;return Object(z.a)(this,n),(e=Object(J.a)(this,Object(Q.a)(n).apply(this,arguments))).proxyProps={},e.setProxyProps(t),e}return Object(Y.a)(n,r),Object(B.a)(n,[{key:"proxyDispatch",value:function(e){for(var r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(r=t(this.props.registry.dispatch,this.props.ownProps,this.props.registry))[e].apply(r,o)}},{key:"setProxyProps",value:function(e){var r=this,n=t(this.props.registry.dispatch,e.ownProps,this.props.registry);this.proxyProps=Object(f.mapValues)(n,function(t,e){return"function"!=typeof t&&console.warn("Property ".concat(e," returned from mapDispatchToProps in withDispatch must be a function.")),r.proxyProps.hasOwnProperty(e)?r.proxyProps[e]:r.proxyDispatch.bind(r,e)})}},{key:"render",value:function(){return Object(Z.createElement)(e,Object(X.a)({},this.props.ownProps,this.proxyProps))}}]),n}(Z.Component);return function(t){return Object(Z.createElement)(nt,null,function(e){return Object(Z.createElement)(r,{ownProps:t,registry:e})})}},"withDispatch")};r.d(e,"select",function(){return ct}),r.d(e,"dispatch",function(){return at}),r.d(e,"subscribe",function(){return st}),r.d(e,"registerGenericStore",function(){return ft}),r.d(e,"registerStore",function(){return lt}),r.d(e,"use",function(){return pt}),r.d(e,"withSelect",function(){return it}),r.d(e,"withDispatch",function(){return ut}),r.d(e,"RegistryProvider",function(){return ot}),r.d(e,"RegistryConsumer",function(){return nt}),r.d(e,"createRegistry",function(){return N}),r.d(e,"plugins",function(){return i}),r.d(e,"combineReducers",function(){return c.a});var ct=L.select,at=L.dispatch,st=L.subscribe,ft=L.registerGenericStore,lt=L.registerStore,pt=L.use},33:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",function(){return n})},35:function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",function(){return n})},36:function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(e,"a",function(){return n})},38:function(t,e,r){"use strict";function n(t,e,r,n,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void r(t)}c.done?e(a):Promise.resolve(a).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var u=t.apply(e,r);function c(t){n(u,o,i,c,a,"next",t)}function a(t){n(u,o,i,c,a,"throw",t)}c(void 0)})}}r.d(e,"a",function(){return o})},40:function(t,e){!function(){t.exports=this.wp.isShallowEqual}()},51:function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},62:function(t,e,r){"use strict";r.d(e,"c",function(){return c}),r.d(e,"b",function(){return s}),r.d(e,"a",function(){return l});var n=r(67),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,r){var o;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(c)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var a=t,s=e,f=[],l=f,p=!1;function d(){l===f&&(l=f.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function y(t){if("function"!=typeof t)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var e=!0;return d(),l.push(t),function(){if(e){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");e=!1,d();var r=l.indexOf(t);l.splice(r,1)}}}function b(t){if(!u(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,s=a(s,t)}finally{p=!1}for(var e=f=l,r=0;r<e.length;r++){(0,e[r])()}return t}return b({type:i.INIT}),(o={dispatch:b,subscribe:y,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");a=t,b({type:i.REPLACE})}})[n.a]=function(){var t,e=y;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function r(){t.next&&t.next(h())}return r(),{unsubscribe:e(r)}}})[n.a]=function(){return this},t},o}function a(t,e){var r=e&&e.type;return"Given "+(r&&'action "'+String(r)+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var o=e[n];0,"function"==typeof t[o]&&(r[o]=t[o])}var u,c=Object.keys(r);try{!function(t){Object.keys(t).forEach(function(e){var r=t[e];if(void 0===r(void 0,{type:i.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===r(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(r)}catch(t){u=t}return function(t,e){if(void 0===t&&(t={}),u)throw u;for(var n=!1,o={},i=0;i<c.length;i++){var s=c[i],f=r[s],l=t[s],p=f(l,e);if(void 0===p){var d=a(s,e);throw new Error(d)}o[s]=p,n=n||p!==l}return n?o:t}}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=e.map(function(t){return t(o)});return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){f(t,e,r[e])})}return t}({},r,{dispatch:n=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}.apply(void 0,i)(r.dispatch)})}}}},66:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){var r=t._map,n=t._arrayTreeMap,o=t._objectTreeMap;if(r.has(e))return r.get(e);for(var i=Object.keys(e).sort(),u=Array.isArray(e)?n:o,c=0;c<i.length;c++){var a=i[c];if(void 0===(u=u.get(a)))return;var s=e[a];if(void 0===(u=u.get(s)))return}var f=u.get("_ekm_value");return f?(r.delete(f[0]),f[0]=e,u.set("_ekm_value",f),r.set(e,f),f):void 0}var u=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.clear(),e instanceof t){var r=[];e.forEach(function(t,e){r.push([e,t])}),e=r}if(null!=e)for(var n=0;n<e.length;n++)this.set(e[n][0],e[n][1])}return function(t,e,r){e&&o(t.prototype,e),r&&o(t,r)}(t,[{key:"set",value:function(e,r){if(null===e||"object"!==n(e))return this._map.set(e,r),this;for(var o=Object.keys(e).sort(),i=[e,r],u=Array.isArray(e)?this._arrayTreeMap:this._objectTreeMap,c=0;c<o.length;c++){var a=o[c];u.has(a)||u.set(a,new t),u=u.get(a);var s=e[a];u.has(s)||u.set(s,new t),u=u.get(s)}var f=u.get("_ekm_value");return f&&this._map.delete(f[0]),u.set("_ekm_value",i),this._map.set(e,i),this}},{key:"get",value:function(t){if(null===t||"object"!==n(t))return this._map.get(t);var e=i(this,t);return e?e[1]:void 0}},{key:"has",value:function(t){return null===t||"object"!==n(t)?this._map.has(t):void 0!==i(this,t)}},{key:"delete",value:function(t){return!!this.has(t)&&(this.set(t,void 0),!0)}},{key:"forEach",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),t.call(r,o,i,e)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}]),t}();t.exports=u},67:function(t,e,r){"use strict";(function(t,n){var o,i=r(85);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var u=Object(i.a)(o);e.a=u}).call(this,r(51),r(120)(t))},7:function(t,e){!function(){t.exports=this.wp.compose}()},8:function(t,e,r){"use strict";r.d(e,"a",function(){return o});var n=r(15);function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),o.forEach(function(e){Object(n.a)(t,e,r[e])})}return t}},85:function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}r.d(e,"a",function(){return n})},86:function(t,e){t.exports=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}},9:function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}r.d(e,"a",function(){return o})}});