summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/dist/data.min.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/js/dist/data.min.js
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/js/dist/data.min.js')
-rw-r--r--wp-includes/js/dist/data.min.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/wp-includes/js/dist/data.min.js b/wp-includes/js/dist/data.min.js
new file mode 100644
index 0000000..0a7f07a
--- /dev/null
+++ b/wp-includes/js/dist/data.min.js
@@ -0,0 +1,9 @@
+/*! This file is auto-generated */
+!function(){var e={1919:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function o(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){var o={};return r.isMergeableObject(e)&&s(e).forEach((function(t){o[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(i(e,s)&&r.isMergeableObject(t[s])?o[s]=function(e,t){if(!t.customMerge)return c;var r=t.customMerge(e);return"function"==typeof r?r:c}(s,r)(e[s],t[s],r):o[s]=n(t[s],r))})),o}function c(e,r,s){(s=s||{}).arrayMerge=s.arrayMerge||o,s.isMergeableObject=s.isMergeableObject||t,s.cloneUnlessOtherwiseSpecified=n;var i=Array.isArray(r);return i===Array.isArray(e)?i?s.arrayMerge(e,r,s):u(e,r,s):n(r,s)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return c(e,r,t)}),{})};var a=c;e.exports=a},2167:function(e){"use strict";function t(e){return t="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},t(e)}function r(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 n(e,t){var r=e._map,n=e._arrayTreeMap,o=e._objectTreeMap;if(r.has(t))return r.get(t);for(var s=Object.keys(t).sort(),i=Array.isArray(t)?n:o,u=0;u<s.length;u++){var c=s[u];if(void 0===(i=i.get(c)))return;var a=t[c];if(void 0===(i=i.get(a)))return}var l=i.get("_ekm_value");return l?(r.delete(l[0]),l[0]=t,i.set("_ekm_value",l),r.set(t,l),l):void 0}var o=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 o,s,i;return o=e,s=[{key:"set",value:function(r,n){if(null===r||"object"!==t(r))return this._map.set(r,n),this;for(var o=Object.keys(r).sort(),s=[r,n],i=Array.isArray(r)?this._arrayTreeMap:this._objectTreeMap,u=0;u<o.length;u++){var c=o[u];i.has(c)||i.set(c,new e),i=i.get(c);var a=r[c];i.has(a)||i.set(a,new e),i=i.get(a)}var l=i.get("_ekm_value");return l&&this._map.delete(l[0]),i.set("_ekm_value",s),this._map.set(r,s),this}},{key:"get",value:function(e){if(null===e||"object"!==t(e))return this._map.get(e);var r=n(this,e);return r?r[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==t(e)?this._map.has(e):void 0!==n(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,s){null!==s&&"object"===t(s)&&(o=o[1]),e.call(n,o,s,r)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}],s&&r(o.prototype,s),i&&r(o,i),e}();e.exports=o},9125:function(e){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 s,i,u;if(void 0===n)return t(e,{},o);for(s=t(e,n,o),i=r.length;i--;)if(n[u=r[i]]!==s[u])return s;return n}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n),r.d(n,{AsyncModeProvider:function(){return Xe},RegistryConsumer:function(){return Ge},RegistryProvider:function(){return He},combineReducers:function(){return it},controls:function(){return L},createReduxStore:function(){return be},createRegistry:function(){return Oe},createRegistryControl:function(){return T},createRegistrySelector:function(){return I},dispatch:function(){return ot},plugins:function(){return o},register:function(){return gt},registerGenericStore:function(){return lt},registerStore:function(){return ft},resolveSelect:function(){return ut},select:function(){return st},subscribe:function(){return at},suspendSelect:function(){return ct},use:function(){return pt},useDispatch:function(){return nt},useRegistry:function(){return Ke},useSelect:function(){return Qe},useSuspenseSelect:function(){return Ye},withDispatch:function(){return tt},withRegistry:function(){return rt},withSelect:function(){return Ze}});var e={};r.r(e),r.d(e,{countSelectorsByStatus:function(){return ne},getCachedResolvers:function(){return te},getIsResolving:function(){return z},getResolutionError:function(){return Z},getResolutionState:function(){return q},hasFinishedResolution:function(){return Q},hasResolutionFailed:function(){return Y},hasResolvingSelectors:function(){return re},hasStartedResolution:function(){return J},isResolving:function(){return ee}});var t={};r.r(t),r.d(t,{failResolution:function(){return ie},failResolutions:function(){return ae},finishResolution:function(){return se},finishResolutions:function(){return ce},invalidateResolution:function(){return le},invalidateResolutionForStore:function(){return fe},invalidateResolutionForStoreSelector:function(){return pe},startResolution:function(){return oe},startResolutions:function(){return ue}});var o={};r.r(o),r.d(o,{persistence:function(){return xe}});var s=r(9125),i=r.n(s),u=window.wp.deprecated,c=r.n(u);function a(e){return a="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},a(e)}function l(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function f(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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){var n,o,s;n=e,o=t,s=r[t],(o=l(o))in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var y="function"==typeof Symbol&&Symbol.observable||"@@observable",d=function(){return Math.random().toString(36).substring(7).split("").join(".")},v={INIT:"@@redux/INIT"+d(),REPLACE:"@@redux/REPLACE"+d(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+d()}};function b(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(g(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(g(1));return r(h)(e,t)}if("function"!=typeof e)throw new Error(g(2));var o=e,s=t,i=[],u=i,c=!1;function a(){u===i&&(u=i.slice())}function l(){if(c)throw new Error(g(3));return s}function f(e){if("function"!=typeof e)throw new Error(g(4));if(c)throw new Error(g(5));var t=!0;return a(),u.push(e),function(){if(t){if(c)throw new Error(g(6));t=!1,a();var r=u.indexOf(e);u.splice(r,1),i=null}}}function p(e){if(!b(e))throw new Error(g(7));if(void 0===e.type)throw new Error(g(8));if(c)throw new Error(g(9));try{c=!0,s=o(s,e)}finally{c=!1}for(var t=i=u,r=0;r<t.length;r++){(0,t[r])()}return e}return p({type:v.INIT}),(n={dispatch:p,subscribe:f,getState:l,replaceReducer:function(e){if("function"!=typeof e)throw new Error(g(10));o=e,p({type:v.REPLACE})}})[y]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(g(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[y]=function(){return this},e},n}function S(){for(var e=arguments.length,t=new 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 O(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(g(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},s=t.map((function(e){return e(o)}));return n=S.apply(void 0,s)(r.dispatch),p(p({},r),{},{dispatch:n})}}}var m=r(2167),w=r.n(m),R=window.wp.reduxRoutine,E=r.n(R),_=window.wp.compose;function I(e){const t=(...r)=>e(t.registry.select)(...r);return t.isRegistrySelector=!0,t}function T(e){return e.isRegistryControl=!0,e}const j="@@data/SELECT",N="@@data/RESOLVE_SELECT",A="@@data/DISPATCH";function P(e){return null!==e&&"object"==typeof e}const L={select:function(e,t,...r){return{type:j,storeKey:P(e)?e.name:e,selectorName:t,args:r}},resolveSelect:function(e,t,...r){return{type:N,storeKey:P(e)?e.name:e,selectorName:t,args:r}},dispatch:function(e,t,...r){return{type:A,storeKey:P(e)?e.name:e,actionName:t,args:r}}},x={[j]:T((e=>({storeKey:t,selectorName:r,args:n})=>e.select(t)[r](...n))),[N]:T((e=>({storeKey:t,selectorName:r,args:n})=>{const o=e.select(t)[r].hasResolver?"resolveSelect":"select";return e[o](t)[r](...n)})),[A]:T((e=>({storeKey:t,actionName:r,args:n})=>e.dispatch(t)[r](...n)))};var M=window.wp.privateApis;const{lock:F,unlock:U}=(0,M.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.","@wordpress/data");var D=()=>e=>t=>{return!(r=t)||"object"!=typeof r&&"function"!=typeof r||"function"!=typeof r.then?e(t):t.then((t=>{if(t)return e(t)}));var r};var C={name:"core/data",instantiate(e){const t=t=>(r,...n)=>e.select(r)[t](...n),r=t=>(r,...n)=>e.dispatch(r)[t](...n);return{getSelectors(){return Object.fromEntries(["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].map((e=>[e,t(e)])))},getActions(){return Object.fromEntries(["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].map((e=>[e,r(e)])))},subscribe(){return()=>()=>{}}}}};var k=(e,t)=>()=>r=>n=>{const o=e.select(C).getCachedResolvers(t);return Object.entries(o).forEach((([r,o])=>{const s=e.stores?.[t]?.resolvers?.[r];s&&s.shouldInvalidate&&o.forEach(((o,i)=>{"finished"!==o?.status&&"error"!==o?.status||!s.shouldInvalidate(n,...i)||e.dispatch(C).invalidateResolution(t,r,i)}))})),r(n)};function V(e){return()=>t=>r=>"function"==typeof r?r(e):t(r)}function G(e){if(null==e)return[];const t=e.length;let r=t;for(;r>0&&void 0===e[r-1];)r--;return r===t?e:e.slice(0,r)}const H=(K="selectorName",e=>(t={},r)=>{const n=r[K];if(void 0===n)return t;const o=e(t[n],r);return o===t[n]?t:{...t,[n]:o}})(((e=new(w()),t)=>{switch(t.type){case"START_RESOLUTION":{const r=new(w())(e);return r.set(G(t.args),{status:"resolving"}),r}case"FINISH_RESOLUTION":{const r=new(w())(e);return r.set(G(t.args),{status:"finished"}),r}case"FAIL_RESOLUTION":{const r=new(w())(e);return r.set(G(t.args),{status:"error",error:t.error}),r}case"START_RESOLUTIONS":{const r=new(w())(e);for(const e of t.args)r.set(G(e),{status:"resolving"});return r}case"FINISH_RESOLUTIONS":{const r=new(w())(e);for(const e of t.args)r.set(G(e),{status:"finished"});return r}case"FAIL_RESOLUTIONS":{const r=new(w())(e);return t.args.forEach(((e,n)=>{const o={status:"error",error:void 0},s=t.errors[n];s&&(o.error=s),r.set(G(e),o)})),r}case"INVALIDATE_RESOLUTION":{const r=new(w())(e);return r.delete(G(t.args)),r}}return e}));var K;var W=(e={},t)=>{switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":if(t.selectorName in e){const{[t.selectorName]:r,...n}=e;return n}return e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"FAIL_RESOLUTION":case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":case"FAIL_RESOLUTIONS":case"INVALIDATE_RESOLUTION":return H(e,t)}return e},B={};function $(e){return[e]}function X(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function q(e,t,r){const n=e[t];if(n)return n.get(G(r))}function z(e,t,r){const n=q(e,t,r);return n&&"resolving"===n.status}function J(e,t,r){return void 0!==q(e,t,r)}function Q(e,t,r){const n=q(e,t,r)?.status;return"finished"===n||"error"===n}function Y(e,t,r){return"error"===q(e,t,r)?.status}function Z(e,t,r){const n=q(e,t,r);return"error"===n?.status?n.error:null}function ee(e,t,r){return"resolving"===q(e,t,r)?.status}function te(e){return e}function re(e){return Object.values(e).some((e=>Array.from(e._map.values()).some((e=>"resolving"===e[1]?.status))))}const ne=function(e,t){var r,n=t||$;function o(){r=new WeakMap}function s(){var t,o,s,i,u,c=arguments.length;for(i=new Array(c),s=0;s<c;s++)i[s]=arguments[s];for(t=function(e){var t,n,o,s,i,u=r,c=!0;for(t=0;t<e.length;t++){if(!(i=n=e[t])||"object"!=typeof i){c=!1;break}u.has(n)?u=u.get(n):(o=new WeakMap,u.set(n,o),u=o)}return u.has(B)||((s=function(){var e={clear:function(){e.head=null}};return e}()).isUniqueByDependants=c,u.set(B,s)),u.get(B)}(u=n.apply(null,i)),t.isUniqueByDependants||(t.lastDependants&&!X(u,t.lastDependants,0)&&t.clear(),t.lastDependants=u),o=t.head;o;){if(X(o.args,i,1))return o!==t.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=t.head,o.prev=null,t.head.prev=o,t.head=o),o.val;o=o.next}return o={val:e.apply(null,i)},i[0]=null,o.args=i,t.head&&(t.head.prev=o,o.next=t.head),t.head=o,o.val}return s.getDependants=n,s.clear=o,o(),s}((e=>{const t={};return Object.values(e).forEach((e=>Array.from(e._map.values()).forEach((e=>{var r;const n=null!==(r=e[1]?.status)&&void 0!==r?r:"error";t[n]||(t[n]=0),t[n]++})))),t}),(e=>[e]));function oe(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function se(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function ie(e,t,r){return{type:"FAIL_RESOLUTION",selectorName:e,args:t,error:r}}function ue(e,t){return{type:"START_RESOLUTIONS",selectorName:e,args:t}}function ce(e,t){return{type:"FINISH_RESOLUTIONS",selectorName:e,args:t}}function ae(e,t,r){return{type:"FAIL_RESOLUTIONS",selectorName:e,args:t,errors:r}}function le(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function fe(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function pe(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}const ge=e=>{const t=[...e];for(let e=t.length-1;e>=0;e--)void 0===t[e]&&t.splice(e,1);return t},ye=(e,t)=>Object.fromEntries(Object.entries(null!=e?e:{}).map((([e,r])=>[e,t(r,e)]))),de=(e,t)=>t instanceof Map?Object.fromEntries(t):t;function ve(e){const t=new WeakMap;return{get(r,n){let o=t.get(r);return o||(o=e(r,n),t.set(r,o)),o}}}function be(r,n){const o={},s={},u={privateActions:o,registerPrivateActions:e=>{Object.assign(o,e)},privateSelectors:s,registerPrivateSelectors:e=>{Object.assign(s,e)}},c={name:r,instantiate:c=>{const a=new Set,l=n.reducer,f=function(e,t,r,n){const o={...t.controls,...x},s=ye(o,(e=>e.isRegistryControl?e(r):e)),u=[k(r,e),D,E()(s),V(n)],c=[O(...u)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&c.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e,serialize:{replacer:de}}));const{reducer:a,initialState:l}=t,f=i()({metadata:W,root:a});return h(f,{root:l},(0,_.compose)(c))}(r,n,c,{registry:c,get dispatch(){return b},get select(){return j},get resolveSelect(){return P()}});F(f,u);const p=function(){const e={};return{isRunning(t,r){return e[t]&&e[t].get(ge(r))},clear(t,r){e[t]&&e[t].delete(ge(r))},markAsRunning(t,r){e[t]||(e[t]=new(w())),e[t].set(ge(r),!0)}}}();function g(e){return(...t)=>Promise.resolve(f.dispatch(e(...t)))}const y={...ye(t,g),...ye(n.actions,g)},d=ve(g),v=new Proxy((()=>{}),{get:(e,t)=>{const r=o[t];return r?d.get(r,t):y[t]}}),b=new Proxy(v,{apply:(e,t,[r])=>f.dispatch(r)});F(y,v);const S=n.resolvers?function(e){return ye(e,(e=>e.fulfill?e:{...e,fulfill:e}))}(n.resolvers):{};function m(e,t){e.isRegistrySelector&&(e.registry=c);const r=(...t)=>{const r=f.__unstableOriginalGetState();return e(r.root,...t)},n=S[t];return n?function(e,t,r,n,o){function s(e){const s=n.getState();if(o.isRunning(t,e)||"function"==typeof r.isFulfilled&&r.isFulfilled(s,...e))return;const{metadata:i}=n.__unstableOriginalGetState();J(i,t,e)||(o.markAsRunning(t,e),setTimeout((async()=>{o.clear(t,e),n.dispatch(oe(t,e));try{const o=r.fulfill(...e);o&&await n.dispatch(o),n.dispatch(se(t,e))}catch(r){n.dispatch(ie(t,e,r))}}),0))}const i=(...t)=>(s(t),e(...t));return i.hasResolver=!0,i}(r,t,n,f,p):(r.hasResolver=!1,r)}const R={...ye(e,(function(e){const t=(...t)=>{const r=f.__unstableOriginalGetState();return e(r.metadata,...t)};return t.hasResolver=!1,t})),...ye(n.selectors,m)},I=ve(m);for(const[e,t]of Object.entries(s))I.get(t,e);const T=new Proxy((()=>{}),{get:(e,t)=>{const r=s[t];return r?I.get(r,t):R[t]}}),j=new Proxy(T,{apply:(e,t,[r])=>r(f.__unstableOriginalGetState())});F(R,T);const N=function(e,t){const{getIsResolving:r,hasStartedResolution:n,hasFinishedResolution:o,hasResolutionFailed:s,isResolving:i,getCachedResolvers:u,getResolutionState:c,getResolutionError:a,hasResolvingSelectors:l,countSelectorsByStatus:f,...p}=e;return ye(p,((r,n)=>r.hasResolver?(...o)=>new Promise(((s,i)=>{const u=()=>e.hasFinishedResolution(n,o),c=t=>{if(e.hasResolutionFailed(n,o)){const t=e.getResolutionError(n,o);i(t)}else s(t)},a=()=>r.apply(null,o),l=a();if(u())return c(l);const f=t.subscribe((()=>{u()&&(f(),c(a()))}))})):async(...e)=>r.apply(null,e)))}(R,f),A=function(e,t){return ye(e,((r,n)=>r.hasResolver?(...o)=>{const s=r.apply(null,o);if(e.hasFinishedResolution(n,o)){if(e.hasResolutionFailed(n,o))throw e.getResolutionError(n,o);return s}throw new Promise((r=>{const s=t.subscribe((()=>{e.hasFinishedResolution(n,o)&&(r(),s())}))}))}:r))}(R,f),P=()=>N;f.__unstableOriginalGetState=f.getState,f.getState=()=>f.__unstableOriginalGetState().root;const L=f&&(e=>(a.add(e),()=>a.delete(e)));let M=f.__unstableOriginalGetState();return f.subscribe((()=>{const e=f.__unstableOriginalGetState(),t=e!==M;if(M=e,t)for(const e of a)e()})),{reducer:l,store:f,actions:y,selectors:R,resolvers:S,getSelectors:()=>R,getResolveSelectors:P,getSuspendSelectors:()=>A,getActions:()=>y,subscribe:L}}};return F(c,u),c}function he(){let e=!1,t=!1;const r=new Set,n=()=>Array.from(r).forEach((e=>e()));return{get isPaused(){return e},subscribe(e){return r.add(e),()=>r.delete(e)},pause(){e=!0},resume(){e=!1,t&&(t=!1,n())},emit(){e?t=!0:n()}}}function Se(e){return"string"==typeof e?e:e.name}function Oe(e={},t=null){const r={},n=he();let o=null;function s(){n.emit()}function i(e,n){if(r[e])return console.error('Store "'+e+'" is already registered.'),r[e];const o=n();if("function"!=typeof o.getSelectors)throw new TypeError("store.getSelectors must be a function");if("function"!=typeof o.getActions)throw new TypeError("store.getActions must be a function");if("function"!=typeof o.subscribe)throw new TypeError("store.subscribe must be a function");o.emitter=he();const i=o.subscribe;if(o.subscribe=e=>{const t=o.emitter.subscribe(e),r=i((()=>{o.emitter.isPaused?o.emitter.emit():e()}));return()=>{r?.(),t?.()}},r[e]=o,o.subscribe(s),t)try{U(o.store).registerPrivateActions(U(t).privateActionsOf(e)),U(o.store).registerPrivateSelectors(U(t).privateSelectorsOf(e))}catch(e){}return o}let u={batch:function(e){n.isPaused?e():(n.pause(),Object.values(r).forEach((e=>e.emitter.pause())),e(),n.resume(),Object.values(r).forEach((e=>e.emitter.resume())))},stores:r,namespaces:r,subscribe:(e,o)=>{if(!o)return n.subscribe(e);const s=Se(o),i=r[s];return i?i.subscribe(e):t?t.subscribe(e,o):n.subscribe(e)},select:function(e){const n=Se(e);o?.add(n);const s=r[n];return s?s.getSelectors():t?.select(n)},resolveSelect:function(e){const n=Se(e);o?.add(n);const s=r[n];return s?s.getResolveSelectors():t&&t.resolveSelect(n)},suspendSelect:function(e){const n=Se(e);o?.add(n);const s=r[n];return s?s.getSuspendSelectors():t&&t.suspendSelect(n)},dispatch:function(e){const n=Se(e),o=r[n];return o?o.getActions():t&&t.dispatch(n)},use:function(e,t){if(!e)return;return u={...u,...e(u,t)},u},register:function(e){i(e.name,(()=>e.instantiate(u)))},registerGenericStore:function(e,t){c()("wp.data.registerGenericStore",{since:"5.9",alternative:"wp.data.register( storeDescriptor )"}),i(e,(()=>t))},registerStore:function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");return i(e,(()=>be(e,t).instantiate(u))).store},__unstableMarkListeningStores:function(e,t){o=new Set;try{return e.call(this)}finally{t.current=Array.from(o),o=null}}};u.register(C);for(const[t,r]of Object.entries(e))u.register(be(t,r));t&&t.subscribe(s);const a=(l=u,Object.fromEntries(Object.entries(l).map((([e,t])=>"function"!=typeof t?[e,t]:[e,function(){return u[e].apply(null,arguments)}]))));var l;return F(a,{privateActionsOf:e=>{try{return U(r[e].store).privateActions}catch(e){return{}}},privateSelectorsOf:e=>{try{return U(r[e].store).privateSelectors}catch(e){return{}}}}),a}var me=Oe();
+/*!
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+function we(e){return"[object Object]"===Object.prototype.toString.call(e)}function Re(e){var t,r;return!1!==we(e)&&(void 0===(t=e.constructor)||!1!==we(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}var Ee=r(1919),_e=r.n(Ee);let Ie;const Te={getItem(e){return Ie&&Ie[e]?Ie[e]:null},setItem(e,t){Ie||Te.clear(),Ie[e]=String(t)},clear(){Ie=Object.create(null)}};var je=Te;let Ne;try{Ne=window.localStorage,Ne.setItem("__wpDataTestLocalStorage",""),Ne.removeItem("__wpDataTestLocalStorage")}catch(e){Ne=je}const Ae=Ne,Pe="WP_DATA";function Le(e,t){const r=function(e){const{storage:t=Ae,storageKey:r=Pe}=e;let n;return{get:function(){if(void 0===n){const e=t.getItem(r);if(null===e)n={};else try{n=JSON.parse(e)}catch(e){n={}}}return n},set:function(e,o){n={...n,[e]:o},t.setItem(r,JSON.stringify(n))}}}(t);return{registerStore(t,n){if(!n.persist)return e.registerStore(t,n);const o=r.get()[t];if(void 0!==o){let e=n.reducer(n.initialState,{type:"@@WP/PERSISTENCE_RESTORE"});e=Re(e)&&Re(o)?_e()(e,o,{isMergeableObject:Re}):o,n={...n,initialState:e}}const s=e.registerStore(t,n);return s.subscribe(function(e,t,n){let o;if(Array.isArray(n)){const e=n.reduce(((e,t)=>Object.assign(e,{[t]:(e,r)=>r.nextState[t]})),{});s=it(e),o=(e,t)=>t.nextState===e?e:s(e,t)}else o=(e,t)=>t.nextState;var s;let i=o(void 0,{nextState:e()});return()=>{const n=o(i,{nextState:e()});n!==i&&(r.set(t,n),i=n)}}(s.getState,t,n.persist)),s}}}Le.__unstableMigrate=()=>{};var xe=Le,Me=window.wp.element,Fe=window.wp.priorityQueue,Ue=window.wp.isShallowEqual,De=r.n(Ue);const Ce=(0,Me.createContext)(me),{Consumer:ke,Provider:Ve}=Ce,Ge=ke;var He=Ve;function Ke(){return(0,Me.useContext)(Ce)}const We=(0,Me.createContext)(!1),{Consumer:Be,Provider:$e}=We;var Xe=$e;const qe=(0,Fe.createQueue)();function ze(e,t){const r=t?e.suspendSelect:e.select,n={};let o,s,i,u,c=!1;return(t,a)=>{function l(){if(c&&t===o)return s;const a={current:null},l=e.__unstableMarkListeningStores((()=>t(r,e)),a);u?u.updateStores(a.current):u=(t=>{const r=[...t],o=new Set;return{subscribe:function(t){c=!1;const s=()=>{c=!1,t()},u=()=>{i?qe.add(n,s):s()},a=[];function l(t){a.push(e.subscribe(u,t))}for(const e of r)l(e);return o.add(l),()=>{o.delete(l);for(const e of a.values())e?.();qe.cancel(n)}},updateStores:function(e){for(const t of e)if(!r.includes(t)){r.push(t);for(const e of o)e(t)}}}})(a.current),De()(s,l)||(s=l),o=t,c=!0}return i&&!a&&(c=!1,qe.cancel(n)),l(),i=a,{subscribe:u.subscribe,getValue:function(){return l(),s}}}}function Je(e,t,r){const n=Ke(),o=(0,Me.useContext)(We),s=(0,Me.useMemo)((()=>ze(n,e)),[n]),i=(0,Me.useCallback)(t,r),{subscribe:u,getValue:c}=s(i,o),a=(0,Me.useSyncExternalStore)(u,c,c);return(0,Me.useDebugValue)(a),a}function Qe(e,t){const r="function"!=typeof e,n=(0,Me.useRef)(r);if(r!==n.current){const e=n.current?"static":"mapping";throw new Error(`Switching useSelect from ${e} to ${r?"static":"mapping"} is not allowed`)}return r?(o=e,Ke().select(o)):Je(!1,e,t);var o}function Ye(e,t){return Je(!0,e,t)}var Ze=e=>(0,_.createHigherOrderComponent)((t=>(0,_.pure)((r=>{const n=Qe(((t,n)=>e(t,r,n)));return(0,Me.createElement)(t,{...r,...n})}))),"withSelect");var et=(e,t)=>{const r=Ke(),n=(0,Me.useRef)(e);return(0,_.useIsomorphicLayoutEffect)((()=>{n.current=e})),(0,Me.useMemo)((()=>{const e=n.current(r.dispatch,r);return Object.fromEntries(Object.entries(e).map((([e,t])=>("function"!=typeof t&&console.warn(`Property ${e} returned from dispatchMap in useDispatchWithMap must be a function.`),[e,(...t)=>n.current(r.dispatch,r)[e](...t)]))))}),[r,...t])};var tt=e=>(0,_.createHigherOrderComponent)((t=>r=>{const n=et(((t,n)=>e(t,r,n)),[]);return(0,Me.createElement)(t,{...r,...n})}),"withDispatch");var rt=(0,_.createHigherOrderComponent)((e=>t=>(0,Me.createElement)(Ge,null,(r=>(0,Me.createElement)(e,{...t,registry:r})))),"withRegistry");var nt=e=>{const{dispatch:t}=Ke();return void 0===e?t:t(e)};function ot(e){return me.dispatch(e)}function st(e){return me.select(e)}const it=i(),ut=me.resolveSelect,ct=me.suspendSelect,at=me.subscribe,lt=me.registerGenericStore,ft=me.registerStore,pt=me.use,gt=me.register}(),(window.wp=window.wp||{}).data=n}(); \ No newline at end of file