2024-01-31 13:59:56 +01:00
|
|
|
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var s=typeof o;if("string"===s||"number"===s)e.push(o);else if(Array.isArray(o)){if(o.length){var a=r.apply(null,o);a&&e.push(a)}}else if("object"===s){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var i in o)n.call(o,i)&&o[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{PluginBlockSettingsMenuItem:()=>gr,PluginDocumentSettingPanel:()=>wn,PluginMoreMenuItem:()=>hr,PluginPostPublishPanel:()=>Vn,PluginPostStatusInfo:()=>un,PluginPrePublishPanel:()=>Un,PluginSidebar:()=>Sn,PluginSidebarMoreMenuItem:()=>br,__experimentalFullscreenModeClose:()=>Bo,__experimentalMainDashboardButton:()=>Go,__experimentalPluginPostExcerpt:()=>Er,initializeEditor:()=>_r,reinitializeEditor:()=>yr,store:()=>no});var e={};o.r(e),o.d(e,{closeModal:()=>j,disableComplementaryArea:()=>z,enableComplementaryArea:()=>G,openModal:()=>Q,pinItem:()=>H,setDefaultComplementaryArea:()=>V,setFeatureDefaults:()=>q,setFeatureValue:()=>W,toggleFeature:()=>$,unpinItem:()=>U});var t={};o.r(t),o.d(t,{getActiveComplementaryArea:()=>Y,isComplementaryAreaLoading:()=>Z,isFeatureActive:()=>K,isItemPinned:()=>X,isModalActive:()=>J});var r={};o.r(r),o.d(r,{__experimentalSetPreviewDeviceType:()=>gt,__unstableCreateTemplate:()=>_t,closeGeneralSidebar:()=>Ye,closeModal:()=>Xe,closePublishSidebar:()=>Je,hideBlockTypes:()=>ct,initializeMetaBoxes:()=>vt,metaBoxUpdatesFailure:()=>pt,metaBoxUpdatesSuccess:()=>mt,openGeneralSidebar:()=>je,openModal:()=>Ze,openPublishSidebar:()=>Ke,removeEditorPanel:()=>nt,requestMetaBoxUpdates:()=>ut,setAvailableMetaBoxesPerLocation:()=>dt,setIsEditingTemplate:()=>Et,setIsInserterOpened:()=>ht,setIsListViewOpened:()=>bt,showBlockTypes:()=>lt,switchEditorMode:()=>st,toggleDistractionFree:()=>ft,toggleEditorPanelEnabled:()=>tt,toggleEditorPanelOpened:()=>ot,toggleFeature:()=>rt,togglePinnedPluginItem:()=>at,togglePublishSidebar:()=>et,updatePreferredStyleVariations:()=>it});var s={};o.r(s),o.d(s,{__experimentalGetInsertionPoint:()=>Xt,__experimentalGetPreviewDeviceType:()=>Yt,areMetaBoxesInitialized:()=>eo,getActiveGeneralSidebarName:()=>At,getActiveMetaBoxLocations:()=>Ht,getAllMetaBoxes:()=>qt,getEditedPostTemplate:()=>to,getEditorMode:()=>xt,getHiddenBlockTypes:()=>Nt,getMetaBoxesPerLocation:()=>Wt,getPreference:()=>Lt,getPreferences:()=>It,hasMetaBoxes:()=>Qt,isEditingTemplate:()=>Jt,isEditorPanelEnabled:()=>Ot,isEditorPanelOpened:()=>Rt,isEditorPanelRemoved:()=>Dt,isEditorSidebarOpened:()=>Bt,isFeatureActive:()=>Gt,isInserterOpened:()=>Zt,isListViewOpened:()=>Kt,isMetaBoxLocationActive:()=>$t,isMetaBoxLocationVisible:()=>Ut,isModalActive:()=>Vt,isPluginItemPinned:()=>zt,isPluginSidebarOpened:()=>Tt,isPublishSidebarOpened:()=>Ft,isSavingMetaBoxes:()=>jt});const a=window.React,i=window.wp.blocks,l=window.wp.blockLibrary,c=window.wp.deprecated;var d=o.n(c);const u=window.wp.element,m=window.wp.data,p=window.wp.hooks,g=window.wp.preferences,h=window.wp.widgets,b=window.wp.editor,E=window.wp.mediaUtils;(0,p.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",(()=>E.MediaUpload));const _=window.wp.components,y=window.wp.blockEditor,v=window.wp.i18n,f=window.wp.compose,w=(0,f.compose)((0,m.withSelect)(((e,t)=>{if((0,i.hasBlockSupport)(t.name,"multiple",!0))return{};const o=e(y.store).getBlocks()
|