2023-02-21 14:09:42 +01:00
|
|
|
*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&e.push(o)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.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,{initialize:function(){return lr},initializeEditor:function(){return sr},reinitializeEditor:function(){return cr}});var e={};r.r(e),r.d(e,{disableComplementaryArea:function(){return P},enableComplementaryArea:function(){return L},pinItem:function(){return R},setDefaultComplementaryArea:function(){return T},setFeatureDefaults:function(){return V},setFeatureValue:function(){return D},toggleFeature:function(){return M},unpinItem:function(){return O}});var t={};r.r(t),r.d(t,{getActiveComplementaryArea:function(){return F},isFeatureActive:function(){return z},isItemPinned:function(){return G}});var i={};r.r(i),r.d(i,{closeGeneralSidebar:function(){return Ne},moveBlockToWidgetArea:function(){return Be},persistStubPost:function(){return fe},saveEditedWidgetAreas:function(){return Ee},saveWidgetArea:function(){return ve},saveWidgetAreas:function(){return be},setIsInserterOpened:function(){return Ae},setIsListViewOpened:function(){return Ce},setIsWidgetAreaOpen:function(){return Ie},setWidgetAreasOpenState:function(){return Se},setWidgetIdForClientId:function(){return ke}});var a={};r.r(a),r.d(a,{getWidgetAreas:function(){return xe},getWidgets:function(){return We}});var o={};r.r(o),r.d(o,{__experimentalGetInsertionPoint:function(){return ze},canInsertBlockInWidgetArea:function(){return He},getEditedWidgetAreas:function(){return Me},getIsWidgetAreaOpen:function(){return Fe},getParentWidgetAreaBlock:function(){return Oe},getReferenceWidgetBlocks:function(){return De},getWidget:function(){return Le},getWidgetAreaForWidgetId:function(){return Re},getWidgetAreas:function(){return Pe},getWidgets:function(){return Te},isInserterOpened:function(){return Ge},isListViewOpened:function(){return Ue},isSavingWidgetAreas:function(){return Ve}});var s={};r.r(s),r.d(s,{metadata:function(){return Ze},name:function(){return et},settings:function(){return tt}});var l=window.wp.element,c=window.wp.blocks,d=window.wp.data,u=window.wp.deprecated,m=r.n(u),g=window.wp.blockLibrary,p=window.wp.coreData,h=window.wp.widgets,_=window.wp.preferences,w=window.wp.apiFetch,f=r.n(w);var E=(0,d.combineReducers)({blockInserterPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},widgetAreasOpenState:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{type:r}=t;switch(r){case"SET_WIDGET_AREAS_OPEN_STATE":return t.widgetAreasOpenState;case"SET_IS_WIDGET_AREA_OPEN":{const{clientId:r,isOpen:n}=t;r
|