: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
/******/ (() => { // webpackBootstrap
/******/ // The require scope
/******/ var __webpack_require__ = {};
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => (module['default']) :
/******/ __webpack_require__.d(getter, { a: getter });
/******/ /* webpack/runtime/define property getters */
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ /* webpack/runtime/make namespace object */
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/************************************************************************/
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
PluginBlockSettingsMenuItem: () => (/* reexport */ PluginBlockSettingsMenuItem),
PluginDocumentSettingPanel: () => (/* reexport */ PluginDocumentSettingPanel),
PluginMoreMenuItem: () => (/* reexport */ PluginMoreMenuItem),
PluginPostPublishPanel: () => (/* reexport */ PluginPostPublishPanel),
PluginPostStatusInfo: () => (/* reexport */ PluginPostStatusInfo),
PluginPrePublishPanel: () => (/* reexport */ PluginPrePublishPanel),
PluginSidebar: () => (/* reexport */ PluginSidebar),
PluginSidebarMoreMenuItem: () => (/* reexport */ PluginSidebarMoreMenuItem),
__experimentalFullscreenModeClose: () => (/* reexport */ fullscreen_mode_close),
__experimentalMainDashboardButton: () => (/* binding */ __experimentalMainDashboardButton),
__experimentalPluginPostExcerpt: () => (/* reexport */ __experimentalPluginPostExcerpt),
initializeEditor: () => (/* binding */ initializeEditor),
reinitializeEditor: () => (/* binding */ reinitializeEditor),
store: () => (/* reexport */ store)
// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
var actions_namespaceObject = {};
__webpack_require__.r(actions_namespaceObject);
__webpack_require__.d(actions_namespaceObject, {
__experimentalSetPreviewDeviceType: () => (__experimentalSetPreviewDeviceType),
__unstableCreateTemplate: () => (__unstableCreateTemplate),
closeGeneralSidebar: () => (closeGeneralSidebar),
closeModal: () => (closeModal),
closePublishSidebar: () => (closePublishSidebar),
hideBlockTypes: () => (hideBlockTypes),
initializeMetaBoxes: () => (initializeMetaBoxes),
metaBoxUpdatesFailure: () => (metaBoxUpdatesFailure),
metaBoxUpdatesSuccess: () => (metaBoxUpdatesSuccess),
openGeneralSidebar: () => (openGeneralSidebar),
openModal: () => (openModal),
openPublishSidebar: () => (openPublishSidebar),
removeEditorPanel: () => (removeEditorPanel),
requestMetaBoxUpdates: () => (requestMetaBoxUpdates),
setAvailableMetaBoxesPerLocation: () => (setAvailableMetaBoxesPerLocation),
setIsEditingTemplate: () => (setIsEditingTemplate),
setIsInserterOpened: () => (setIsInserterOpened),
setIsListViewOpened: () => (setIsListViewOpened),
showBlockTypes: () => (showBlockTypes),
switchEditorMode: () => (switchEditorMode),
toggleDistractionFree: () => (toggleDistractionFree),
toggleEditorPanelEnabled: () => (toggleEditorPanelEnabled),
toggleEditorPanelOpened: () => (toggleEditorPanelOpened),
toggleFeature: () => (toggleFeature),
togglePinnedPluginItem: () => (togglePinnedPluginItem),
togglePublishSidebar: () => (togglePublishSidebar),
updatePreferredStyleVariations: () => (updatePreferredStyleVariations)
// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
var selectors_namespaceObject = {};
__webpack_require__.r(selectors_namespaceObject);
__webpack_require__.d(selectors_namespaceObject, {
__experimentalGetInsertionPoint: () => (__experimentalGetInsertionPoint),
__experimentalGetPreviewDeviceType: () => (__experimentalGetPreviewDeviceType),
areMetaBoxesInitialized: () => (areMetaBoxesInitialized),
getActiveGeneralSidebarName: () => (getActiveGeneralSidebarName),
getActiveMetaBoxLocations: () => (getActiveMetaBoxLocations),
getAllMetaBoxes: () => (getAllMetaBoxes),
getEditedPostTemplate: () => (getEditedPostTemplate),
getEditorMode: () => (getEditorMode),
getHiddenBlockTypes: () => (getHiddenBlockTypes),
getMetaBoxesPerLocation: () => (getMetaBoxesPerLocation),
getPreference: () => (getPreference),
getPreferences: () => (getPreferences),
hasMetaBoxes: () => (hasMetaBoxes),
isEditingTemplate: () => (isEditingTemplate),
isEditorPanelEnabled: () => (isEditorPanelEnabled),
isEditorPanelOpened: () => (isEditorPanelOpened),
isEditorPanelRemoved: () => (isEditorPanelRemoved),
isEditorSidebarOpened: () => (isEditorSidebarOpened),
isFeatureActive: () => (isFeatureActive),
isInserterOpened: () => (isInserterOpened),
isListViewOpened: () => (isListViewOpened),
isMetaBoxLocationActive: () => (isMetaBoxLocationActive),
isMetaBoxLocationVisible: () => (isMetaBoxLocationVisible),
isModalActive: () => (isModalActive),
isPluginItemPinned: () => (isPluginItemPinned),
isPluginSidebarOpened: () => (isPluginSidebarOpened),
isPublishSidebarOpened: () => (isPublishSidebarOpened),
isSavingMetaBoxes: () => (selectors_isSavingMetaBoxes)
;// CONCATENATED MODULE: external ["wp","blocks"]
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
;// CONCATENATED MODULE: external ["wp","blockLibrary"]
const external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
;// CONCATENATED MODULE: external ["wp","deprecated"]
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
;// CONCATENATED MODULE: external ["wp","element"]
const external_wp_element_namespaceObject = window["wp"]["element"];
;// CONCATENATED MODULE: external ["wp","data"]
const external_wp_data_namespaceObject = window["wp"]["data"];
;// CONCATENATED MODULE: external ["wp","preferences"]
const external_wp_preferences_namespaceObject = window["wp"]["preferences"];
;// CONCATENATED MODULE: external ["wp","widgets"]
const external_wp_widgets_namespaceObject = window["wp"]["widgets"];
;// CONCATENATED MODULE: external ["wp","editor"]
const external_wp_editor_namespaceObject = window["wp"]["editor"];
;// CONCATENATED MODULE: external ["wp","components"]
const external_wp_components_namespaceObject = window["wp"]["components"];
;// CONCATENATED MODULE: external ["wp","coreData"]
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
;// CONCATENATED MODULE: external ["wp","commands"]
const external_wp_commands_namespaceObject = window["wp"]["commands"];
;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx);
;// CONCATENATED MODULE: external ["wp","blockEditor"]
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
;// CONCATENATED MODULE: external ["wp","plugins"]
const external_wp_plugins_namespaceObject = window["wp"]["plugins"];
;// CONCATENATED MODULE: external ["wp","i18n"]
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
;// CONCATENATED MODULE: external ["wp","notices"]
const external_wp_notices_namespaceObject = window["wp"]["notices"];
;// CONCATENATED MODULE: external ["wp","coreCommands"]
const external_wp_coreCommands_namespaceObject = window["wp"]["coreCommands"];
;// CONCATENATED MODULE: external ["wp","url"]
const external_wp_url_namespaceObject = window["wp"]["url"];
;// CONCATENATED MODULE: external ["wp","htmlEntities"]
const external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
;// CONCATENATED MODULE: external ["wp","primitives"]
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
;// CONCATENATED MODULE: external "ReactJSXRuntime"
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
const wordpress = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, {
xmlns: "http://www.w3.org/2000/svg",
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.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-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
/* harmony default export */ const library_wordpress = (wordpress);
;// CONCATENATED MODULE: external ["wp","compose"]
const external_wp_compose_namespaceObject = window["wp"]["compose"];
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/reducer.js
* Reducer keeping track of the meta boxes isSaving state.
* A "true" value means the meta boxes saving request is in-flight.
* @param {boolean} state Previous state.
* @param {Object} action Action Object.
* @return {Object} Updated state.
function isSavingMetaBoxes(state = false, action) {
case 'REQUEST_META_BOX_UPDATES':
case 'META_BOX_UPDATES_SUCCESS':
case 'META_BOX_UPDATES_FAILURE':
function mergeMetaboxes(metaboxes = [], newMetaboxes) {
const mergedMetaboxes = [...metaboxes];
for (const metabox of newMetaboxes) {
const existing = mergedMetaboxes.findIndex(box => box.id === metabox.id);
mergedMetaboxes[existing] = metabox;
mergedMetaboxes.push(metabox);
* Reducer keeping track of the meta boxes per location.
* @param {boolean} state Previous state.
* @param {Object} action Action Object.
* @return {Object} Updated state.
function metaBoxLocations(state = {}, action) {
case 'SET_META_BOXES_PER_LOCATIONS':
for (const [location, metaboxes] of Object.entries(action.metaBoxesPerLocation)) {
newState[location] = mergeMetaboxes(newState[location], metaboxes);
* Reducer tracking whether meta boxes are initialized.
* @return {boolean} Updated state.
function metaBoxesInitialized(state = false, action) {
case 'META_BOXES_INITIALIZED':
const metaBoxes = (0,external_wp_data_namespaceObject.combineReducers)({
isSaving: isSavingMetaBoxes,
locations: metaBoxLocations,
initialized: metaBoxesInitialized
/* harmony default export */ const reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
;// CONCATENATED MODULE: external ["wp","apiFetch"]
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
;// CONCATENATED MODULE: external ["wp","hooks"]
const external_wp_hooks_namespaceObject = window["wp"]["hooks"];
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/utils/meta-boxes.js
* Function returning the current Meta Boxes DOM Node in the editor
* whether the meta box area is opened or not.
* If the MetaBox Area is visible returns it, and returns the original container instead.
* @param {string} location Meta Box location.
* @return {string} HTML content.
const getMetaBoxContainer = location => {
const area = document.querySelector(`.edit-post-meta-boxes-area.is-${location} .metabox-location-${location}`);
return document.querySelector('#metaboxes .metabox-location-' + location);
;// CONCATENATED MODULE: external ["wp","privateApis"]
const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/lock-unlock.js
} = (0,external_wp_privateApis_namespaceObject.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', '@wordpress/edit-post');
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
} = unlock(external_wp_editor_namespaceObject.privateApis);
* Returns an action object used in signalling that the user opened an editor sidebar.
* @param {?string} name Sidebar name to be opened.
const openGeneralSidebar = name => ({
registry.dispatch(interfaceStore).enableComplementaryArea('core', name);
* Returns an action object signalling that the user closed the sidebar.
const closeGeneralSidebar = () => ({
}) => registry.dispatch(interfaceStore).disableComplementaryArea('core');
* Returns an action object used in signalling that the user opened a modal.
* @deprecated since WP 6.3 use `core/interface` store's action with the same name instead.
* @param {string} name A string that uniquely identifies the modal.
* @return {Object} Action object.
const openModal = name => ({
external_wp_deprecated_default()("select( 'core/edit-post' ).openModal( name )", {
alternative: "select( 'core/interface').openModal( name )"
return registry.dispatch(interfaceStore).openModal(name);
* Returns an action object signalling that the user closed a modal.
* @deprecated since WP 6.3 use `core/interface` store's action with the same name instead.
* @return {Object} Action object.
const closeModal = () => ({
external_wp_deprecated_default()("select( 'core/edit-post' ).closeModal()", {
alternative: "select( 'core/interface').closeModal()"
return registry.dispatch(interfaceStore).closeModal();
* Returns an action object used in signalling that the user opened the publish
* @return {Object} Action object
const openPublishSidebar = () => ({
external_wp_deprecated_default()("dispatch( 'core/edit-post' ).openPublishSidebar", {
alternative: "dispatch( 'core/editor').openPublishSidebar"
registry.dispatch(external_wp_editor_namespaceObject.store).openPublishSidebar();
* Returns an action object used in signalling that the user closed the
* @return {Object} Action object.
const closePublishSidebar = () => ({
external_wp_deprecated_default()("dispatch( 'core/edit-post' ).closePublishSidebar", {
alternative: "dispatch( 'core/editor').closePublishSidebar"
registry.dispatch(external_wp_editor_namespaceObject.store).closePublishSidebar();
* Returns an action object used in signalling that the user toggles the publish sidebar.
* @return {Object} Action object
const togglePublishSidebar = () => ({
external_wp_deprecated_default()("dispatch( 'core/edit-post' ).togglePublishSidebar", {
alternative: "dispatch( 'core/editor').togglePublishSidebar"
registry.dispatch(external_wp_editor_namespaceObject.store).togglePublishSidebar();
* Returns an action object used to enable or disable a panel in the editor.
* @param {string} panelName A string that identifies the panel to enable or disable.
* @return {Object} Action object.
const toggleEditorPanelEnabled = panelName => ({
external_wp_deprecated_default()("dispatch( 'core/edit-post' ).toggleEditorPanelEnabled", {
alternative: "dispatch( 'core/editor').toggleEditorPanelEnabled"
registry.dispatch(external_wp_editor_namespaceObject.store).toggleEditorPanelEnabled(panelName);
* Opens a closed panel and closes an open panel.
* @param {string} panelName A string that identifies the panel to open or close.
const toggleEditorPanelOpened = panelName => ({
external_wp_deprecated_default()("dispatch( 'core/edit-post' ).toggleEditorPanelOpened", {
alternative: "dispatch( 'core/editor').toggleEditorPanelOpened"
registry.dispatch(external_wp_editor_namespaceObject.store).toggleEditorPanelOpened(panelName);
* Returns an action object used to remove a panel from the editor.
* @param {string} panelName A string that identifies the panel to remove.
* @return {Object} Action object.
const removeEditorPanel = panelName => ({
external_wp_deprecated_default()("dispatch( 'core/edit-post' ).removeEditorPanel", {
alternative: "dispatch( 'core/editor').removeEditorPanel"
registry.dispatch(external_wp_editor_namespaceObject.store).removeEditorPanel(panelName);