WordPress/wp-includes/js/dist/edit-post.min.js

2 lines
42 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var s in o)e.o(o,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:o[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{PluginBlockSettingsMenuItem:()=>qt,PluginDocumentSettingPanel:()=>Wt,PluginMoreMenuItem:()=>Qt,PluginPostPublishPanel:()=>Xt,PluginPostStatusInfo:()=>Zt,PluginPrePublishPanel:()=>$t,PluginSidebar:()=>Yt,PluginSidebarMoreMenuItem:()=>Kt,__experimentalFullscreenModeClose:()=>A,__experimentalMainDashboardButton:()=>eo,__experimentalPluginPostExcerpt:()=>Jt,initializeEditor:()=>oo,reinitializeEditor:()=>so,store:()=>tt});var o={};e.r(o),e.d(o,{__experimentalSetPreviewDeviceType:()=>he,__unstableCreateTemplate:()=>fe,closeGeneralSidebar:()=>Z,closeModal:()=>K,closePublishSidebar:()=>ee,hideBlockTypes:()=>de,initializeMetaBoxes:()=>xe,metaBoxUpdatesFailure:()=>me,metaBoxUpdatesSuccess:()=>ge,openGeneralSidebar:()=>X,openModal:()=>Y,openPublishSidebar:()=>J,removeEditorPanel:()=>ie,requestMetaBoxUpdates:()=>ue,setAvailableMetaBoxesPerLocation:()=>pe,setIsEditingTemplate:()=>ye,setIsInserterOpened:()=>we,setIsListViewOpened:()=>_e,showBlockTypes:()=>le,switchEditorMode:()=>ne,toggleDistractionFree:()=>ve,toggleEditorPanelEnabled:()=>oe,toggleEditorPanelOpened:()=>se,toggleFeature:()=>re,togglePinnedPluginItem:()=>ae,togglePublishSidebar:()=>te,updatePreferredStyleVariations:()=>ce});var s={};e.r(s),e.d(s,{getEditedPostTemplateId:()=>Se});var i={};e.r(i),e.d(i,{__experimentalGetInsertionPoint:()=>Ze,__experimentalGetPreviewDeviceType:()=>$e,areMetaBoxesInitialized:()=>Je,getActiveGeneralSidebarName:()=>ke,getActiveMetaBoxLocations:()=>ze,getAllMetaBoxes:()=>qe,getEditedPostTemplate:()=>et,getEditorMode:()=>Te,getHiddenBlockTypes:()=>Re,getMetaBoxesPerLocation:()=>He,getPreference:()=>Ae,getPreferences:()=>Ie,hasMetaBoxes:()=>We,isEditingTemplate:()=>Ke,isEditorPanelEnabled:()=>De,isEditorPanelOpened:()=>Ne,isEditorPanelRemoved:()=>Oe,isEditorSidebarOpened:()=>je,isFeatureActive:()=>Fe,isInserterOpened:()=>Xe,isListViewOpened:()=>Ye,isMetaBoxLocationActive:()=>Ue,isMetaBoxLocationVisible:()=>Ge,isModalActive:()=>Le,isPluginItemPinned:()=>Ve,isPluginSidebarOpened:()=>Be,isPublishSidebarOpened:()=>Ce,isSavingMetaBoxes:()=>Qe});const r=window.wp.blocks,n=window.wp.blockLibrary,a=window.wp.deprecated;var c=e.n(a);const l=window.wp.element,d=window.wp.data,p=window.wp.preferences,u=window.wp.widgets,g=window.wp.editor;function m(e){var t,o,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(o=m(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}const h=function(){for(var e,t,o=0,s="",i=arguments.length;o<i;o++)(e=arguments[o])&&(t=m(e))&&(s&&(s+=" "),s+=t);return s},w=window.wp.blockEditor,_=window.wp.plugins,y=window.wp.i18n,f=window.wp.primitives,b=window.ReactJSXRuntime,x=(0,b.jsx)(f.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,b.jsx)(f.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})}),v=(0,b.jsx)(f.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,b.jsx)(f.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})}),S=window.wp.notices,P=window.wp.commands,E=window.wp.coreCommands,M=window.wp.url,T=window.wp.htmlEntities,j=window.wp.coreData,B=window.wp.components,k=window.wp.compose,I=(0,b.jsx)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,b.jsx)(f.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-