Gutenberg - Version 9.5.2

Version Description

Download this release

Release Info

Developer talldanwp
Plugin Icon 128x128 Gutenberg
Version 9.5.2
Comparing to
See all releases

Code changes from version 9.5.1 to 9.5.2

build/data/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '0072b9b8cd2ac389eca68d72bffcfb8a');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'b6c1a835b46629c1c9fe582c05fe1b5f');
build/data/index.js CHANGED
@@ -1 +1 @@
1
- window.wp=window.wp||{},window.wp.data=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=389)}({0:function(e,t){e.exports=window.wp.element},109:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(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)}}function i(e,t){var r=e._map,n=e._arrayTreeMap,o=e._objectTreeMap;if(r.has(t))return r.get(t);for(var i=Object.keys(t).sort(),u=Array.isArray(t)?n:o,c=0;c<i.length;c++){var a=i[c];if(void 0===(u=u.get(a)))return;var s=t[a];if(void 0===(u=u.get(s)))return}var f=u.get("_ekm_value");return f?(r.delete(f[0]),f[0]=t,u.set("_ekm_value",f),r.set(t,f),f):void 0}var u=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var r=[];t.forEach((function(e,t){r.push([t,e])})),t=r}if(null!=t)for(var n=0;n<t.length;n++)this.set(t[n][0],t[n][1])}var t,r;return t=e,(r=[{key:"set",value:function(t,r){if(null===t||"object"!==n(t))return this._map.set(t,r),this;for(var o=Object.keys(t).sort(),i=[t,r],u=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,c=0;c<o.length;c++){var a=o[c];u.has(a)||u.set(a,new e),u=u.get(a);var s=t[a];u.has(s)||u.set(s,new e),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(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==n(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==n(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=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]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),e}();e.exports=u},12:function(e,t){e.exports=window.React},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(12);function o(e,t){var r=Object(n.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(n.useRef)(r),i=Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return Object(n.useEffect)((function(){o.current=i}),[i]),i.result}},13:function(e,t){e.exports=window.wp.compose},153:function(e,t){e.exports=window.wp.priorityQueue},154:function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=r,e.exports.default=r},16:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(25),o=r(36),i=r(29);function u(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},160:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},167:function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t<r.length;t++)e+=(n=JSON.stringify(r[t]))+":r["+n+"](s["+n+"],a),";return e+="}",new Function("r,s,a",e)}(),function(n,o){var i,u,c;if(void 0===n)return t(e,{},o);for(i=t(e,n,o),u=r.length;u--;)if(n[c=r[u]]!==i[c])return i;return n}}},17:function(e,t){e.exports=window.regeneratorRuntime},197:function(e,t,r){"use strict";(function(e,n){var o,i=r(264);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var u=Object(i.a)(o);t.a=u}).call(this,r(160),r(361)(e))},2:function(e,t){e.exports=window.lodash},25:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},263:function(e,t){e.exports=window.wp.reduxRoutine},264:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(25);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},34:function(e,t){e.exports=window.wp.deprecated},36:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},361:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},37:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},389:function(e,t,r){"use strict";r.r(t),r.d(t,"withSelect",(function(){return Ge})),r.d(t,"withDispatch",(function(){return Ke})),r.d(t,"withRegistry",(function(){return ze})),r.d(t,"RegistryProvider",(function(){return De})),r.d(t,"RegistryConsumer",(function(){return ke})),r.d(t,"useRegistry",(function(){return Le})),r.d(t,"useSelect",(function(){return Fe})),r.d(t,"useDispatch",(function(){return Xe})),r.d(t,"AsyncModeProvider",(function(){return Me})),r.d(t,"createRegistry",(function(){return ae})),r.d(t,"createRegistrySelector",(function(){return T})),r.d(t,"createRegistryControl",(function(){return A})),r.d(t,"controls",(function(){return N})),r.d(t,"createReduxStore",(function(){return ee})),r.d(t,"plugins",(function(){return i})),r.d(t,"combineReducers",(function(){return c.a})),r.d(t,"select",(function(){return Je})),r.d(t,"__experimentalResolveSelect",(function(){return We})),r.d(t,"dispatch",(function(){return Ye})),r.d(t,"subscribe",(function(){return qe})),r.d(t,"registerGenericStore",(function(){return Qe})),r.d(t,"registerStore",(function(){return Be})),r.d(t,"use",(function(){return $e})),r.d(t,"register",(function(){return Ze}));var n={};r.r(n),r.d(n,"getIsResolving",(function(){return H})),r.d(n,"hasStartedResolution",(function(){return K})),r.d(n,"hasFinishedResolution",(function(){return z})),r.d(n,"isResolving",(function(){return X})),r.d(n,"getCachedResolvers",(function(){return J}));var o={};r.r(o),r.d(o,"startResolution",(function(){return W})),r.d(o,"finishResolution",(function(){return Y})),r.d(o,"invalidateResolution",(function(){return q})),r.d(o,"invalidateResolutionForStore",(function(){return Q})),r.d(o,"invalidateResolutionForStoreSelector",(function(){return B}));var i={};r.r(i),r.d(i,"controls",(function(){return de})),r.d(i,"persistence",(function(){return me}));var u=r(167),c=r.n(u),a=r(9),s=r(6),f=r(2),l=r(70),p=r.n(l),b=r(17),d=r.n(b),v=r(39),y=r(197),O={INIT:"@@redux/INIT"+Math.random().toString(36).substring(7).split("").join("."),REPLACE:"@@redux/REPLACE"+Math.random().toString(36).substring(7).split("").join(".")},h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function j(e,t,r){var n;if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(j)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,u=[],c=u,a=!1;function s(){c===u&&(c=u.slice())}function f(){if(a)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 i}function l(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(a)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 t=!0;return s(),c.push(e),function(){if(t){if(a)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.");t=!1,s();var r=c.indexOf(e);c.splice(r,1)}}}function p(e){if(!function(e){if("object"!==(void 0===e?"undefined":h(e))||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(a)throw new Error("Reducers may not dispatch actions.");try{a=!0,i=o(i,e)}finally{a=!1}for(var t=u=c,r=0;r<t.length;r++)(0,t[r])();return e}return p({type:O.INIT}),(n={dispatch:p,subscribe:l,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,p({type:O.REPLACE})}})[y.a]=function(){var e,t=l;return(e={subscribe:function(e){if("object"!==(void 0===e?"undefined":h(e))||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[y.a]=function(){return this},e},n}function w(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=e.apply(void 0,n),u=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},c={getState:i.getState,dispatch:function(){return u.apply(void 0,arguments)}},a=t.map((function(e){return e(c)}));return u=w.apply(void 0,a)(i.dispatch),g({},i,{dispatch:u})}}}var S,E=r(109),R=r.n(E),_=r(263),x=r.n(_),P=r(16);function T(e){var t=function t(){return e(t.registry.select).apply(void 0,arguments)};return t.isRegistrySelector=!0,t}function A(e){return e.isRegistryControl=!0,e}var I="@@data/SELECT",N={select:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:I,storeKey:e,selectorName:t,args:n}},resolveSelect:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"@@data/RESOLVE_SELECT",storeKey:e,selectorName:t,args:n}},dispatch:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"@@data/DISPATCH",storeKey:e,actionName:t,args:n}}},k=(S={},Object(s.a)(S,I,A((function(e){return function(t){var r,n=t.storeKey,o=t.selectorName,i=t.args;return(r=e.select(n))[o].apply(r,Object(P.a)(i))}}))),Object(s.a)(S,"@@data/RESOLVE_SELECT",A((function(e){return function(t){var r,n=t.storeKey,o=t.selectorName,i=t.args,u=e.select(n)[o].hasResolver?"__experimentalResolveSelect":"select";return(r=e[u](n))[o].apply(r,Object(P.a)(i))}}))),Object(s.a)(S,"@@data/DISPATCH",A((function(e){return function(t){var r,n=t.storeKey,o=t.actionName,i=t.args;return(r=e.dispatch(n))[o].apply(r,Object(P.a)(i))}}))),S),D=r(154),L=r.n(D),C=function(){return function(e){return function(t){return L()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},M=function(e,t){return function(){return function(r){return function(n){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(r){var o=Object(a.a)(r,2),i=o[0],u=o[1],c=Object(f.get)(e.stores,[t,"resolvers",i]);c&&c.shouldInvalidate&&u.forEach((function(r,o){!1===r&&c.shouldInvalidate.apply(c,[n].concat(Object(P.a)(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),r(n)}}}};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var F=("selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r.selectorName;if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:U(U({},t),{},Object(s.a)({},n,o))}})((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new R.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new R.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new R.a(e);return o.delete(t.args),o}return e})),G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return F(e,t)}return e};function H(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function K(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==H(e,t,r)}function z(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===H(e,t,r)}function X(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===H(e,t,r)}function J(e){return e}function W(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Y(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function q(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Q(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function B(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ee(e,t){return{name:e,instantiate:function(r){var i,u,a=t.reducer,s=function(e,t,r){var n=Z(Z({},t.controls),k),o=Object(f.mapValues)(n,(function(e){return e.isRegistryControl?e(r):e})),i=[M(r,e),C,x()(o)],u=[m.apply(void 0,i)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&u.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return j(c()({metadata:G,root:a}),{root:s},Object(f.flowRight)(u))}(e,t,r),l=(i={},{isRunning:function(e,t){return i[e]&&i[e].get(t)},clear:function(e,t){i[e]&&i[e].delete(t)},markAsRunning:function(e,t){i[e]||(i[e]=new R.a),i[e].set(t,!0)}}),p=function(e,t){return Object(f.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(Z(Z({},o),t.actions),s),b=function(e,t){return Object(f.mapValues)(e,(function(e){var r=function(){var r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<r;o++)n[o+1]=arguments[o];return e.apply(void 0,n)};return r.hasResolver=!1,r}))}(Z(Z({},Object(f.mapValues)(n,(function(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(n))}}))),Object(f.mapValues)(t.selectors,(function(e){return e.isRegistrySelector&&(e.registry=r),function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(n))}}))),s);if(t.resolvers){var y=function(e,t,r,n){var o=Object(f.mapValues)(e,(function(e){return e.fulfill?e:Z(Z({},e),{},{fulfill:e})}));return{resolvers:o,selectors:Object(f.mapValues)(t,(function(t,i){var u=e[i];if(!u)return t.hasResolver=!1,t;var c=function(){for(var e=arguments.length,c=new Array(e),a=0;a<e;a++)c[a]=arguments[a];function s(){return f.apply(this,arguments)}function f(){return(f=Object(v.a)(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.getState(),!(n.isRunning(i,c)||"function"==typeof u.isFulfilled&&u.isFulfilled.apply(u,[t].concat(c)))){e.next=3;break}return e.abrupt("return");case 3:if(!K(r.__unstableOriginalGetState().metadata,i,c)){e.next=6;break}return e.abrupt("return");case 6:n.markAsRunning(i,c),setTimeout(Object(v.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(i,c),r.dispatch(W(i,c)),e.next=4,te.apply(void 0,[r,o,i].concat(c));case 4:r.dispatch(Y(i,c));case 5:case"end":return e.stop()}}),e)}))));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return s.apply(void 0,c),t.apply(void 0,c)};return c.hasResolver=!0,c}))}}(t.resolvers,b,s,l);u=y.resolvers,b=y.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var O=s&&function(e){var t=s.__unstableOriginalGetState();return s.subscribe((function(){var r=s.__unstableOriginalGetState(),n=r!==t;t=r,n&&e()}))};return{reducer:a,store:s,actions:p,selectors:b,resolvers:u,getSelectors:function(){return b},getActions:function(){return p},subscribe:O}}}}function te(e,t,r){return re.apply(this,arguments)}function re(){return(re=Object(v.a)(d.a.mark((function e(t,r,n){var o,i,u,c,a,s=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(f.get)(r,[n])){e.next=3;break}return e.abrupt("return");case 3:for(i=s.length,u=new Array(i>3?i-3:0),c=3;c<i;c++)u[c-3]=s[c];if(!(a=o.fulfill.apply(o,u))){e.next=8;break}return e.next=8,t.dispatch(a);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ie=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,r){return oe(oe({},t),{},Object(s.a)({},r,function(t){return function(r){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];return(n=e.select(r))[t].apply(n,i)}}(r)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,r){return oe(oe({},t),{},Object(s.a)({},r,function(t){return function(r){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];return(n=e.dispatch(r))[t].apply(n,i)}}(r)))}),{})},subscribe:function(){return function(){}}}};function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[],o=new Set;function i(){n.forEach((function(e){return e()}))}var u=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function c(e){var n=Object(f.isObject)(e)?e.name:e;o.add(n);var i=r[n];return i?i.getSelectors():t&&t.select(n)}function s(e,t){o.clear();var r=e.call(this);return t.current=Array.from(o),r}var l=p()((function(e){return Object(f.mapValues)(Object(f.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,r){return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return new Promise((function(n){var i=function(){return e.hasFinishedResolution(r,o)},c=function(){return t.apply(null,o)},a=c();if(i())return n(a);var s=u((function(){i()&&(s(),n(c()))}))}))}}))}),{maxSize:1});function b(e){return l(c(e))}function d(e){var n=Object(f.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)}function v(e){return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return g[t].apply(null,arguments)}}))}function y(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");r[e]=t,t.subscribe(i)}function O(e){y(e.name,e.instantiate(g))}function h(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):u(n)}var g={registerGenericStore:y,stores:r,namespaces:r,subscribe:u,select:c,__experimentalResolveSelect:b,dispatch:d,use:j,register:O,__experimentalMarkListeningStores:s,__experimentalSubscribeStore:h};function j(e,t){return g=ce(ce({},g),e(g,t))}return g.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var r=ee(e,t).instantiate(g);return y(e,r),r.store},y("core/data",ie(g)),Object.entries(e).forEach((function(e){var t=Object(a.a)(e,2),r=t[0],n=t[1];return g.registerStore(r,n)})),t&&t.subscribe(i),v(g)}var se,fe,le=ae(),pe=r(34),be=r.n(pe),de=function(e){return be()("wp.data.plugins.controls",{hint:"The controls plugins is now baked-in."}),e},ve={getItem:function(e){return se&&se[e]?se[e]:null},setItem:function(e,t){se||ve.clear(),se[e]=String(t)},clear:function(){se=Object.create(null)}},ye=ve;try{(fe=window.localStorage).setItem("__wpDataTestLocalStorage",""),fe.removeItem("__wpDataTestLocalStorage")}catch(e){fe=ye}function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ge=fe;function je(e){var t,r=e.storage,n=void 0===r?ge:r,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=n.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(e){t={}}}return t},set:function(e,r){t=he(he({},t),{},Object(s.a)({},e,r)),n.setItem(i,JSON.stringify(t))}}}function we(e,t){var r=je(t);return{registerStore:function(t,n){if(!n.persist)return e.registerStore(t,n);var o=r.get()[t];if(void 0!==o){var i=n.reducer(n.initialState,{type:"@@WP/PERSISTENCE_RESTORE"});i=Object(f.isPlainObject)(i)&&Object(f.isPlainObject)(o)?Object(f.merge)({},i,o):o,n=he(he({},n),{},{initialState:i})}var u=e.registerStore(t,n);return u.subscribe(function(e,t,n){var o,i;if(Array.isArray(n)){var u=n.reduce((function(e,t){return Object.assign(e,Object(s.a)({},t,(function(e,r){return r.nextState[t]})))}),{});i=c()(u),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var n=o(a,{nextState:e()});n!==a&&(r.set(t,n),a=n)}}(u.getState,t,n.persist)),u}}}we.__unstableMigrate=function(e){var t=je(e),r=t.get(),n=Object(f.get)(r,["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}});var o=r["core/edit-post"],i=Object.keys(r).length>0,u=Object(f.has)(r,["core/edit-post","preferences","features","fullscreenMode"]);i&&!u&&(o=Object(f.merge)({},o,{preferences:{features:{fullscreenMode:!1}}}));var c=Object(f.get)(r,["core/nux","preferences","areTipsEnabled"]),a=Object(f.has)(r,["core/edit-post","preferences","features","welcomeGuide"]);void 0===c||a||(o=Object(f.merge)({},o,{preferences:{features:{welcomeGuide:c}}})),o!==r["core/edit-post"]&&t.set("core/edit-post",o)};var me=we,Se=r(8),Ee=r(0),Re=r(13),_e=r(127),xe=r(153),Pe=r(78),Te=r.n(Pe),Ae=Object(Ee.createContext)(le),Ie=Ae.Consumer,Ne=Ae.Provider,ke=Ie,De=Ne;function Le(){return Object(Ee.useContext)(Ae)}var Ce=Object(Ee.createContext)(!1),Me=(Ce.Consumer,Ce.Provider),Ve="undefined"!=typeof window?Ee.useLayoutEffect:Ee.useEffect,Ue=Object(xe.createQueue)();function Fe(e,t){var r,n=Object(Ee.useCallback)(e,t),o=Le(),i=Object(Ee.useContext)(Ce),u=Object(_e.a)((function(){return{queue:!0}}),[o]),c=Object(Ee.useReducer)((function(e){return e+1}),0),s=Object(a.a)(c,2)[1],f=Object(Ee.useRef)(),l=Object(Ee.useRef)(i),p=Object(Ee.useRef)(),b=Object(Ee.useRef)(),d=Object(Ee.useRef)(),v=Object(Ee.useRef)([]),y=Object(Ee.useCallback)((function(e){return o.__experimentalMarkListeningStores(e,v)}),[o]),O=Object(Ee.useMemo)((function(){return{}}),t||[]);try{r=f.current!==n||b.current?y((function(){return n(o.select,o)})):p.current}catch(e){var h="An error occurred while running 'mapSelect': ".concat(e.message);if(b.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(b.current.stack,"\n\n"),h+="Original stack trace:",new Error(h);console.error(h)}return Ve((function(){f.current=n,p.current=r,b.current=void 0,d.current=!0,l.current!==i&&(l.current=i,Ue.flush(u))})),Ve((function(){var e=function(){if(d.current){try{var e=y((function(){return f.current(o.select,o)}));if(Te()(p.current,e))return;p.current=e}catch(e){b.current=e}s()}};l.current?Ue.add(u,e):e();var t=function(){l.current?Ue.add(u,e):e()},r=v.current.map((function(e){return o.__experimentalSubscribeStore(e,t)}));return function(){d.current=!1,r.forEach((function(e){return e()})),Ue.flush(u)}}),[o,y,O]),r}var Ge=function(e){return Object(Re.createHigherOrderComponent)((function(t){return Object(Re.pure)((function(r){var n=Fe((function(t,n){return e(t,r,n)}));return Object(Ee.createElement)(t,Object(Se.a)({},r,n))}))}),"withSelect")},He="undefined"!=typeof window?Ee.useLayoutEffect:Ee.useEffect,Ke=function(e){return Object(Re.createHigherOrderComponent)((function(t){return function(r){var n=function(e,t){var r=Le(),n=Object(Ee.useRef)(e);return He((function(){n.current=e})),Object(Ee.useMemo)((function(){var e=n.current(r.dispatch,r);return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=n.current(r.dispatch,r))[t].apply(e,arguments)}}))}),[r].concat(Object(P.a)(t)))}((function(t,n){return e(t,r,n)}),[]);return Object(Ee.createElement)(t,Object(Se.a)({},r,n))}}),"withDispatch")},ze=Object(Re.createHigherOrderComponent)((function(e){return function(t){return Object(Ee.createElement)(ke,null,(function(r){return Object(Ee.createElement)(e,Object(Se.a)({},t,{registry:r}))}))}}),"withRegistry"),Xe=function(e){var t=Le().dispatch;return void 0===e?t:t(e)},Je=le.select,We=le.__experimentalResolveSelect,Ye=le.dispatch,qe=le.subscribe,Qe=le.registerGenericStore,Be=le.registerStore,$e=le.use,Ze=le.register},39:function(e,t,r){"use strict";function n(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void r(e)}c.done?t(a):Promise.resolve(a).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var u=e.apply(t,r);function c(e){n(u,o,i,c,a,"next",e)}function a(e){n(u,o,i,c,a,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},70:function(e,t,r){e.exports=function(e,t){var r,n,o=0;function i(){var i,u,c=r,a=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(u=0;u<a;u++)if(c.args[u]!==arguments[u]){c=c.next;continue e}return c!==r&&(c===n&&(n=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return c={args:i,val:e.apply(null,i)},r?(r.prev=c,c.next=r):n=c,o===t.maxSize?(n=n.prev).next=null:o++,r=c,c.val}return t=t||{},i.clear=function(){r=null,n=null,o=0},i}},78:function(e,t){e.exports=window.wp.isShallowEqual},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(37),o=r(29),i=r(38);function u(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}}});
1
+ window.wp=window.wp||{},window.wp.data=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=389)}({0:function(e,t){e.exports=window.wp.element},109:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(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)}}function i(e,t){var r=e._map,n=e._arrayTreeMap,o=e._objectTreeMap;if(r.has(t))return r.get(t);for(var i=Object.keys(t).sort(),u=Array.isArray(t)?n:o,c=0;c<i.length;c++){var a=i[c];if(void 0===(u=u.get(a)))return;var s=t[a];if(void 0===(u=u.get(s)))return}var f=u.get("_ekm_value");return f?(r.delete(f[0]),f[0]=t,u.set("_ekm_value",f),r.set(t,f),f):void 0}var u=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var r=[];t.forEach((function(e,t){r.push([t,e])})),t=r}if(null!=t)for(var n=0;n<t.length;n++)this.set(t[n][0],t[n][1])}var t,r;return t=e,(r=[{key:"set",value:function(t,r){if(null===t||"object"!==n(t))return this._map.set(t,r),this;for(var o=Object.keys(t).sort(),i=[t,r],u=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,c=0;c<o.length;c++){var a=o[c];u.has(a)||u.set(a,new e),u=u.get(a);var s=t[a];u.has(s)||u.set(s,new e),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(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==n(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==n(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=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]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),e}();e.exports=u},12:function(e,t){e.exports=window.React},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(12);function o(e,t){var r=Object(n.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(n.useRef)(r),i=Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return Object(n.useEffect)((function(){o.current=i}),[i]),i.result}},13:function(e,t){e.exports=window.wp.compose},153:function(e,t){e.exports=window.wp.priorityQueue},154:function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=r,e.exports.default=r},16:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(25),o=r(36),i=r(29);function u(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},160:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},167:function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t<r.length;t++)e+=(n=JSON.stringify(r[t]))+":r["+n+"](s["+n+"],a),";return e+="}",new Function("r,s,a",e)}(),function(n,o){var i,u,c;if(void 0===n)return t(e,{},o);for(i=t(e,n,o),u=r.length;u--;)if(n[c=r[u]]!==i[c])return i;return n}}},17:function(e,t){e.exports=window.regeneratorRuntime},197:function(e,t,r){"use strict";(function(e,n){var o,i=r(264);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var u=Object(i.a)(o);t.a=u}).call(this,r(160),r(361)(e))},2:function(e,t){e.exports=window.lodash},25:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},263:function(e,t){e.exports=window.wp.reduxRoutine},264:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(25);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},34:function(e,t){e.exports=window.wp.deprecated},36:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},361:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},37:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},389:function(e,t,r){"use strict";r.r(t),r.d(t,"withSelect",(function(){return Ge})),r.d(t,"withDispatch",(function(){return Ke})),r.d(t,"withRegistry",(function(){return ze})),r.d(t,"RegistryProvider",(function(){return De})),r.d(t,"RegistryConsumer",(function(){return ke})),r.d(t,"useRegistry",(function(){return Le})),r.d(t,"useSelect",(function(){return Fe})),r.d(t,"useDispatch",(function(){return Xe})),r.d(t,"AsyncModeProvider",(function(){return Me})),r.d(t,"createRegistry",(function(){return ae})),r.d(t,"createRegistrySelector",(function(){return T})),r.d(t,"createRegistryControl",(function(){return A})),r.d(t,"controls",(function(){return N})),r.d(t,"createReduxStore",(function(){return ee})),r.d(t,"plugins",(function(){return i})),r.d(t,"combineReducers",(function(){return c.a})),r.d(t,"select",(function(){return Je})),r.d(t,"__experimentalResolveSelect",(function(){return We})),r.d(t,"dispatch",(function(){return Ye})),r.d(t,"subscribe",(function(){return qe})),r.d(t,"registerGenericStore",(function(){return Qe})),r.d(t,"registerStore",(function(){return Be})),r.d(t,"use",(function(){return $e})),r.d(t,"register",(function(){return Ze}));var n={};r.r(n),r.d(n,"getIsResolving",(function(){return H})),r.d(n,"hasStartedResolution",(function(){return K})),r.d(n,"hasFinishedResolution",(function(){return z})),r.d(n,"isResolving",(function(){return X})),r.d(n,"getCachedResolvers",(function(){return J}));var o={};r.r(o),r.d(o,"startResolution",(function(){return W})),r.d(o,"finishResolution",(function(){return Y})),r.d(o,"invalidateResolution",(function(){return q})),r.d(o,"invalidateResolutionForStore",(function(){return Q})),r.d(o,"invalidateResolutionForStoreSelector",(function(){return B}));var i={};r.r(i),r.d(i,"controls",(function(){return de})),r.d(i,"persistence",(function(){return me}));var u=r(167),c=r.n(u),a=r(9),s=r(6),f=r(2),l=r(70),p=r.n(l),b=r(17),d=r.n(b),v=r(39),y=r(197),O={INIT:"@@redux/INIT"+Math.random().toString(36).substring(7).split("").join("."),REPLACE:"@@redux/REPLACE"+Math.random().toString(36).substring(7).split("").join(".")},h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function j(e,t,r){var n;if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(j)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,u=[],c=u,a=!1;function s(){c===u&&(c=u.slice())}function f(){if(a)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 i}function l(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(a)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 t=!0;return s(),c.push(e),function(){if(t){if(a)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.");t=!1,s();var r=c.indexOf(e);c.splice(r,1)}}}function p(e){if(!function(e){if("object"!==(void 0===e?"undefined":h(e))||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(a)throw new Error("Reducers may not dispatch actions.");try{a=!0,i=o(i,e)}finally{a=!1}for(var t=u=c,r=0;r<t.length;r++)(0,t[r])();return e}return p({type:O.INIT}),(n={dispatch:p,subscribe:l,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,p({type:O.REPLACE})}})[y.a]=function(){var e,t=l;return(e={subscribe:function(e){if("object"!==(void 0===e?"undefined":h(e))||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[y.a]=function(){return this},e},n}function w(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=e.apply(void 0,n),u=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},c={getState:i.getState,dispatch:function(){return u.apply(void 0,arguments)}},a=t.map((function(e){return e(c)}));return u=w.apply(void 0,a)(i.dispatch),g({},i,{dispatch:u})}}}var S,E=r(109),R=r.n(E),_=r(263),x=r.n(_),P=r(16);function T(e){var t=function t(){return e(t.registry.select).apply(void 0,arguments)};return t.isRegistrySelector=!0,t}function A(e){return e.isRegistryControl=!0,e}var I="@@data/SELECT",N={select:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:I,storeKey:e,selectorName:t,args:n}},resolveSelect:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"@@data/RESOLVE_SELECT",storeKey:e,selectorName:t,args:n}},dispatch:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"@@data/DISPATCH",storeKey:e,actionName:t,args:n}}},k=(S={},Object(s.a)(S,I,A((function(e){return function(t){var r,n=t.storeKey,o=t.selectorName,i=t.args;return(r=e.select(n))[o].apply(r,Object(P.a)(i))}}))),Object(s.a)(S,"@@data/RESOLVE_SELECT",A((function(e){return function(t){var r,n=t.storeKey,o=t.selectorName,i=t.args,u=e.select(n)[o].hasResolver?"__experimentalResolveSelect":"select";return(r=e[u](n))[o].apply(r,Object(P.a)(i))}}))),Object(s.a)(S,"@@data/DISPATCH",A((function(e){return function(t){var r,n=t.storeKey,o=t.actionName,i=t.args;return(r=e.dispatch(n))[o].apply(r,Object(P.a)(i))}}))),S),D=r(154),L=r.n(D),C=function(){return function(e){return function(t){return L()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},M=function(e,t){return function(){return function(r){return function(n){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(r){var o=Object(a.a)(r,2),i=o[0],u=o[1],c=Object(f.get)(e.stores,[t,"resolvers",i]);c&&c.shouldInvalidate&&u.forEach((function(r,o){!1===r&&c.shouldInvalidate.apply(c,[n].concat(Object(P.a)(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),r(n)}}}};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var F=("selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r.selectorName;if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:U(U({},t),{},Object(s.a)({},n,o))}})((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new R.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new R.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new R.a(e);return o.delete(t.args),o}return e})),G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return F(e,t)}return e};function H(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function K(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==H(e,t,r)}function z(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===H(e,t,r)}function X(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===H(e,t,r)}function J(e){return e}function W(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Y(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function q(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Q(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function B(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ee(e,t){return{name:e,instantiate:function(r){var i,u,a=t.reducer,s=function(e,t,r){var n=Z(Z({},t.controls),k),o=Object(f.mapValues)(n,(function(e){return e.isRegistryControl?e(r):e})),i=[M(r,e),C,x()(o)],u=[m.apply(void 0,i)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&u.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return j(c()({metadata:G,root:a}),{root:s},Object(f.flowRight)(u))}(e,t,r),l=(i={},{isRunning:function(e,t){return i[e]&&i[e].get(t)},clear:function(e,t){i[e]&&i[e].delete(t)},markAsRunning:function(e,t){i[e]||(i[e]=new R.a),i[e].set(t,!0)}}),p=function(e,t){return Object(f.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(Z(Z({},o),t.actions),s),b=function(e,t){return Object(f.mapValues)(e,(function(e){var r=function(){var r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<r;o++)n[o+1]=arguments[o];return e.apply(void 0,n)};return r.hasResolver=!1,r}))}(Z(Z({},Object(f.mapValues)(n,(function(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(n))}}))),Object(f.mapValues)(t.selectors,(function(e){return e.isRegistrySelector&&(e.registry=r),function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(n))}}))),s);if(t.resolvers){var y=function(e,t,r,n){var o=Object(f.mapValues)(e,(function(e){return e.fulfill?e:Z(Z({},e),{},{fulfill:e})}));return{resolvers:o,selectors:Object(f.mapValues)(t,(function(t,i){var u=e[i];if(!u)return t.hasResolver=!1,t;var c=function(){for(var e=arguments.length,c=new Array(e),a=0;a<e;a++)c[a]=arguments[a];function s(){return f.apply(this,arguments)}function f(){return(f=Object(v.a)(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.getState(),!(n.isRunning(i,c)||"function"==typeof u.isFulfilled&&u.isFulfilled.apply(u,[t].concat(c)))){e.next=3;break}return e.abrupt("return");case 3:if(!K(r.__unstableOriginalGetState().metadata,i,c)){e.next=6;break}return e.abrupt("return");case 6:n.markAsRunning(i,c),setTimeout(Object(v.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(i,c),r.dispatch(W(i,c)),e.next=4,te.apply(void 0,[r,o,i].concat(c));case 4:r.dispatch(Y(i,c));case 5:case"end":return e.stop()}}),e)}))));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return s.apply(void 0,c),t.apply(void 0,c)};return c.hasResolver=!0,c}))}}(t.resolvers,b,s,l);u=y.resolvers,b=y.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var O=s&&function(e){var t=s.__unstableOriginalGetState();return s.subscribe((function(){var r=s.__unstableOriginalGetState(),n=r!==t;t=r,n&&e()}))};return{reducer:a,store:s,actions:p,selectors:b,resolvers:u,getSelectors:function(){return b},getActions:function(){return p},subscribe:O}}}}function te(e,t,r){return re.apply(this,arguments)}function re(){return(re=Object(v.a)(d.a.mark((function e(t,r,n){var o,i,u,c,a,s=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(f.get)(r,[n])){e.next=3;break}return e.abrupt("return");case 3:for(i=s.length,u=new Array(i>3?i-3:0),c=3;c<i;c++)u[c-3]=s[c];if(!(a=o.fulfill.apply(o,u))){e.next=8;break}return e.next=8,t.dispatch(a);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ie=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,r){return oe(oe({},t),{},Object(s.a)({},r,function(t){return function(r){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];return(n=e.select(r))[t].apply(n,i)}}(r)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,r){return oe(oe({},t),{},Object(s.a)({},r,function(t){return function(r){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];return(n=e.dispatch(r))[t].apply(n,i)}}(r)))}),{})},subscribe:function(){return function(){}}}};function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[],o=new Set;function i(){n.forEach((function(e){return e()}))}var u=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function c(e){var n=Object(f.isObject)(e)?e.name:e;o.add(n);var i=r[n];return i?i.getSelectors():t&&t.select(n)}function s(e,t){o.clear();var r=e.call(this);return t.current=Array.from(o),r}var l=p()((function(e){return Object(f.mapValues)(Object(f.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,r){return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return new Promise((function(n){var i=function(){return e.hasFinishedResolution(r,o)},c=function(){return t.apply(null,o)},a=c();if(i())return n(a);var s=u((function(){i()&&(s(),n(c()))}))}))}}))}),{maxSize:1});function b(e){return l(c(e))}function d(e){var n=Object(f.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)}function v(e){return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return g[t].apply(null,arguments)}}))}function y(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");r[e]=t,t.subscribe(i)}function O(e){y(e.name,e.instantiate(g))}function h(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):u(n)}var g={registerGenericStore:y,stores:r,namespaces:r,subscribe:u,select:c,__experimentalResolveSelect:b,dispatch:d,use:j,register:O,__experimentalMarkListeningStores:s,__experimentalSubscribeStore:h};function j(e,t){return g=ce(ce({},g),e(g,t))}return g.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var r=ee(e,t).instantiate(g);return y(e,r),r.store},y("core/data",ie(g)),Object.entries(e).forEach((function(e){var t=Object(a.a)(e,2),r=t[0],n=t[1];return g.registerStore(r,n)})),t&&t.subscribe(i),v(g)}var se,fe,le=ae(),pe=r(34),be=r.n(pe),de=function(e){return be()("wp.data.plugins.controls",{hint:"The controls plugins is now baked-in."}),e},ve={getItem:function(e){return se&&se[e]?se[e]:null},setItem:function(e,t){se||ve.clear(),se[e]=String(t)},clear:function(){se=Object.create(null)}},ye=ve;try{(fe=window.localStorage).setItem("__wpDataTestLocalStorage",""),fe.removeItem("__wpDataTestLocalStorage")}catch(e){fe=ye}function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ge=fe;function je(e){var t,r=e.storage,n=void 0===r?ge:r,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=n.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(e){t={}}}return t},set:function(e,r){t=he(he({},t),{},Object(s.a)({},e,r)),n.setItem(i,JSON.stringify(t))}}}function we(e,t){var r=je(t);return{registerStore:function(t,n){if(!n.persist)return e.registerStore(t,n);var o=r.get()[t];if(void 0!==o){var i=n.reducer(n.initialState,{type:"@@WP/PERSISTENCE_RESTORE"});i=Object(f.isPlainObject)(i)&&Object(f.isPlainObject)(o)?Object(f.merge)({},i,o):o,n=he(he({},n),{},{initialState:i})}var u=e.registerStore(t,n);return u.subscribe(function(e,t,n){var o,i;if(Array.isArray(n)){var u=n.reduce((function(e,t){return Object.assign(e,Object(s.a)({},t,(function(e,r){return r.nextState[t]})))}),{});i=c()(u),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var n=o(a,{nextState:e()});n!==a&&(r.set(t,n),a=n)}}(u.getState,t,n.persist)),u}}}we.__unstableMigrate=function(e){var t=je(e),r=t.get(),n=Object(f.get)(r,["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}});var o=r["core/edit-post"],i=Object.keys(r).length>0,u=Object(f.has)(r,["core/edit-post","preferences","features","fullscreenMode"]);i&&!u&&(o=Object(f.merge)({},o,{preferences:{features:{fullscreenMode:!1}}}));var c=Object(f.get)(r,["core/nux","preferences","areTipsEnabled"]),a=Object(f.has)(r,["core/edit-post","preferences","features","welcomeGuide"]);void 0===c||a||(o=Object(f.merge)({},o,{preferences:{features:{welcomeGuide:c}}})),o!==r["core/edit-post"]&&t.set("core/edit-post",o)};var me=we,Se=r(8),Ee=r(0),Re=r(13),_e=r(127),xe=r(153),Pe=r(78),Te=r.n(Pe),Ae=Object(Ee.createContext)(le),Ie=Ae.Consumer,Ne=Ae.Provider,ke=Ie,De=Ne;function Le(){return Object(Ee.useContext)(Ae)}var Ce=Object(Ee.createContext)(!1),Me=(Ce.Consumer,Ce.Provider),Ve="undefined"!=typeof window?Ee.useLayoutEffect:Ee.useEffect,Ue=Object(xe.createQueue)();function Fe(e,t){var r,n=Object(Ee.useCallback)(e,t),o=Le(),i=Object(Ee.useContext)(Ce),u=Object(_e.a)((function(){return{queue:!0}}),[o]),c=Object(Ee.useReducer)((function(e){return e+1}),0),s=Object(a.a)(c,2)[1],f=Object(Ee.useRef)(),l=Object(Ee.useRef)(i),p=Object(Ee.useRef)(),b=Object(Ee.useRef)(),d=Object(Ee.useRef)(),v=Object(Ee.useRef)([]),y=Object(Ee.useCallback)((function(e){return o.__experimentalMarkListeningStores(e,v)}),[o]),O=Object(Ee.useMemo)((function(){return{}}),t||[]);try{r=f.current!==n||b.current?y((function(){return n(o.select,o)})):p.current}catch(e){var h="An error occurred while running 'mapSelect': ".concat(e.message);if(b.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(b.current.stack,"\n\n"),h+="Original stack trace:",new Error(h);console.error(h)}return Ve((function(){f.current=n,p.current=r,b.current=void 0,d.current=!0,l.current!==i&&(l.current=i,Ue.flush(u))})),Ve((function(){var e=function(){if(d.current){try{var e=y((function(){return f.current(o.select,o)}));if(Te()(p.current,e))return;p.current=e}catch(e){b.current=e}s()}};l.current?Ue.add(u,e):e();var t=function(){l.current?Ue.add(u,e):e()},r=v.current.map((function(e){return o.__experimentalSubscribeStore(e,t)}));return function(){d.current=!1,r.forEach((function(e){return null==e?void 0:e()})),Ue.flush(u)}}),[o,y,O]),r}var Ge=function(e){return Object(Re.createHigherOrderComponent)((function(t){return Object(Re.pure)((function(r){var n=Fe((function(t,n){return e(t,r,n)}));return Object(Ee.createElement)(t,Object(Se.a)({},r,n))}))}),"withSelect")},He="undefined"!=typeof window?Ee.useLayoutEffect:Ee.useEffect,Ke=function(e){return Object(Re.createHigherOrderComponent)((function(t){return function(r){var n=function(e,t){var r=Le(),n=Object(Ee.useRef)(e);return He((function(){n.current=e})),Object(Ee.useMemo)((function(){var e=n.current(r.dispatch,r);return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=n.current(r.dispatch,r))[t].apply(e,arguments)}}))}),[r].concat(Object(P.a)(t)))}((function(t,n){return e(t,r,n)}),[]);return Object(Ee.createElement)(t,Object(Se.a)({},r,n))}}),"withDispatch")},ze=Object(Re.createHigherOrderComponent)((function(e){return function(t){return Object(Ee.createElement)(ke,null,(function(r){return Object(Ee.createElement)(e,Object(Se.a)({},t,{registry:r}))}))}}),"withRegistry"),Xe=function(e){var t=Le().dispatch;return void 0===e?t:t(e)},Je=le.select,We=le.__experimentalResolveSelect,Ye=le.dispatch,qe=le.subscribe,Qe=le.registerGenericStore,Be=le.registerStore,$e=le.use,Ze=le.register},39:function(e,t,r){"use strict";function n(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void r(e)}c.done?t(a):Promise.resolve(a).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var u=e.apply(t,r);function c(e){n(u,o,i,c,a,"next",e)}function a(e){n(u,o,i,c,a,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},70:function(e,t,r){e.exports=function(e,t){var r,n,o=0;function i(){var i,u,c=r,a=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(u=0;u<a;u++)if(c.args[u]!==arguments[u]){c=c.next;continue e}return c!==r&&(c===n&&(n=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return c={args:i,val:e.apply(null,i)},r?(r.prev=c,c.next=r):n=c,o===t.maxSize?(n=n.prev).next=null:o++,r=c,c.val}return t=t||{},i.clear=function(){r=null,n=null,o=0},i}},78:function(e,t){e.exports=window.wp.isShallowEqual},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(37),o=r(29),i=r(38);function u(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}}});
changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 9.5.1 =
4
 
5
  ### Bug Fixes:
1
  == Changelog ==
2
 
3
+ = 9.5.2 =
4
+
5
+ - Fix uncaught error with a custom generic store without a unsubscribe function in useSelect.
6
+
7
  = 9.5.1 =
8
 
9
  ### Bug Fixes:
gutenberg.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.3
7
  * Requires PHP: 5.6
8
- * Version: 9.5.1
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '9.5.1' );
17
- define( 'GUTENBERG_GIT_COMMIT', '46d5d757ead952d91b3147a71a6630c868bbfc16' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.3
7
  * Requires PHP: 5.6
8
+ * Version: 9.5.2
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '9.5.2' );
17
+ define( 'GUTENBERG_GIT_COMMIT', 'a580961feefa90a0e5bc2007cbec3a2049c34a40' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: matveb, joen, karmatosed
3
  Requires at least: 5.4.0
4
  Tested up to: 5.5
5
  Requires PHP: 5.6
6
- Stable tag: 9.5.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -57,4 +57,4 @@ View <a href="https://developer.wordpress.org/block-editor/principles/versions-i
57
 
58
  == Changelog ==
59
 
60
- To read the changelog for Gutenberg 9.5.1, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.5.1">release page</a>.
3
  Requires at least: 5.4.0
4
  Tested up to: 5.5
5
  Requires PHP: 5.6
6
+ Stable tag: 9.5.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
57
 
58
  == Changelog ==
59
 
60
+ To read the changelog for Gutenberg 9.5.2, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.5.2">release page</a>.