|
|
|
*/!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 rr},reinitializeEditor:function(){return tr}});var e={};r.r(e),r.d(e,{disableComplementaryArea:function(){return R},enableComplementaryArea:function(){return P},pinItem:function(){return L},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 Ce},moveBlockToWidgetArea:function(){return Be},persistStubPost:function(){return we},saveEditedWidgetAreas:function(){return fe},saveWidgetArea:function(){return Ee},saveWidgetAreas:function(){return be},setIsInserterOpened:function(){return Ie},setIsListViewOpened:function(){return Ae},setIsWidgetAreaOpen:function(){return Se},setWidgetAreasOpenState:function(){return ke},setWidgetIdForClientId:function(){return ye}});var a={};r.r(a),r.d(a,{getWidgetAreas:function(){return Ne},getWidgets:function(){return xe}});var o={};r.r(o),r.d(o,{__experimentalGetInsertionPoint:function(){return Ge},canInsertBlockInWidgetArea:function(){return ze},getEditedWidgetAreas:function(){return Oe},getIsWidgetAreaOpen:function(){return Ve},getParentWidgetAreaBlock:function(){return Le},getReferenceWidgetBlocks:function(){return Me},getWidget:function(){return Te},getWidgetAreaForWidgetId:function(){return Re},getWidgetAreas:function(){return Pe},getWidgets:function(){return We},isInserterOpened:function(){return Fe},isListViewOpened:function(){return He},isSavingWidgetAreas:function(){return De}});var s={};r.r(s),r.d(s,{metadata:function(){return Xe},name:function(){return Ze},settings:function(){return et}});var l=window.wp.element,c=window.wp.blocks,d=window.wp.data,u=window.wp.blockLibrary,m=window.wp.coreData,g=window.wp.widgets,p=window.wp.preferences,h=window.wp.apiFetch,_=r.n(h);var w=(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;return{...e,[r]:n}}default:return e}}}),f=window.wp.i18n,b=window.wp.not
|