: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
return src || mp3 || m4a || ogg || wav || wma;
/* harmony default export */ const audio_transforms = (transforms);
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/index.js
$schema: "https://schemas.wp.org/trunk/block.json",
description: "Embed a simple audio player.",
keywords: ["music", "sound", "podcast", "recording"],
__experimentalRole: "content"
__experimentalRole: "content"
__experimentalRole: "content"
__experimentalDefaultControls: {
editorStyle: "wp-block-audio-editor",
src: 'https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg'
transforms: audio_transforms,
const audio_init = () => initBlock({
metadata: audio_metadata,
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
const button_button = /*#__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: "M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"
/* harmony default export */ const library_button = (button_button);
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/migrate-font-family.js
} = unlock(external_wp_blockEditor_namespaceObject.privateApis);
* Migrates the current style.typography.fontFamily attribute,
* whose value was "var:preset|font-family|helvetica-arial",
* to the style.fontFamily attribute, whose value will be "helvetica-arial".
* @param {Object} attributes The current attributes
* @return {Object} The updated attributes.
/* harmony default export */ function migrate_font_family(attributes) {
if (!attributes?.style?.typography?.fontFamily) {
} = attributes.style.typography;
style: cleanEmptyObject({
fontFamily: fontFamily.split('|').pop()
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/deprecated.js
const migrateBorderRadius = attributes => {
// We have to check old property `borderRadius` and if
// `styles.border.radius` is a `number`
const oldBorderRadius = [borderRadius, newAttributes.style?.border?.radius].find(possibleBorderRadius => {
return typeof possibleBorderRadius === 'number' && possibleBorderRadius !== 0;
...newAttributes.style?.border,
radius: `${oldBorderRadius}px`
function migrateAlign(attributes) {
className: dist_clsx(otherAttributes.className, `align${attributes.align}`)
const migrateCustomColorsAndGradients = attributes => {
if (!attributes.customTextColor && !attributes.customBackgroundColor && !attributes.customGradient) {
if (attributes.customTextColor) {
style.color.text = attributes.customTextColor;
if (attributes.customBackgroundColor) {
style.color.background = attributes.customBackgroundColor;
if (attributes.customGradient) {
style.color.gradient = attributes.customGradient;
const oldColorsMigration = attributes => {
customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
customBackgroundColor: attributes.color && '#' === attributes.color[0] ? attributes.color : undefined
return migrateCustomColorsAndGradients(restAttributes);
const blockAttributes = {
__experimentalSkipSerialization: true,
__experimentalDefaultControls: {
__experimentalFontFamily: true,
__experimentalDefaultControls: {
__experimentalSkipSerialization: true,
padding: ['horizontal', 'vertical'],
__experimentalDefaultControls: {
__experimentalSkipSerialization: true,
__experimentalDefaultControls: {
__experimentalSelector: '.wp-block-button__link'
const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetBorderClassesAndStyles)(attributes);
const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
const spacingProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetSpacingClassesAndStyles)(attributes);
const buttonClasses = dist_clsx('wp-block-button__link', colorProps.className, borderProps.className, {
// For backwards compatibility add style that isn't provided via
'no-border-radius': style?.border?.radius === 0
// The use of a `title` attribute here is soft-deprecated, but still applied
// if it had already been assigned, for the sake of backward-compatibility.
// A title will no longer be assigned for new or updated button block links.
const wrapperClasses = dist_clsx(className, {
[`has-custom-width wp-block-button__width-${width}`]: width,
[`has-custom-font-size`]: fontSize || style?.typography?.fontSize
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("div", {
...external_wp_blockEditor_namespaceObject.useBlockProps.save({
className: wrapperClasses
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.RichText.Content, {
className: buttonClasses,
__experimentalSkipSerialization: true,