61 |
61 |
62 // NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js |
62 // NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js |
63 var legacy_widget_namespaceObject = {}; |
63 var legacy_widget_namespaceObject = {}; |
64 __webpack_require__.r(legacy_widget_namespaceObject); |
64 __webpack_require__.r(legacy_widget_namespaceObject); |
65 __webpack_require__.d(legacy_widget_namespaceObject, { |
65 __webpack_require__.d(legacy_widget_namespaceObject, { |
66 metadata: () => (metadata), |
66 yu: () => (metadata), |
67 name: () => (legacy_widget_name), |
67 UU: () => (legacy_widget_name), |
68 settings: () => (settings) |
68 W0: () => (settings) |
69 }); |
69 }); |
70 |
70 |
71 // NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js |
71 // NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js |
72 var widget_group_namespaceObject = {}; |
72 var widget_group_namespaceObject = {}; |
73 __webpack_require__.r(widget_group_namespaceObject); |
73 __webpack_require__.r(widget_group_namespaceObject); |
74 __webpack_require__.d(widget_group_namespaceObject, { |
74 __webpack_require__.d(widget_group_namespaceObject, { |
75 metadata: () => (widget_group_metadata), |
75 yu: () => (widget_group_metadata), |
76 name: () => (widget_group_name), |
76 UU: () => (widget_group_name), |
77 settings: () => (widget_group_settings) |
77 W0: () => (widget_group_settings) |
78 }); |
78 }); |
79 |
79 |
80 ;// CONCATENATED MODULE: external ["wp","blocks"] |
80 ;// external ["wp","blocks"] |
81 const external_wp_blocks_namespaceObject = window["wp"]["blocks"]; |
81 const external_wp_blocks_namespaceObject = window["wp"]["blocks"]; |
82 ;// CONCATENATED MODULE: external ["wp","primitives"] |
82 ;// external ["wp","primitives"] |
83 const external_wp_primitives_namespaceObject = window["wp"]["primitives"]; |
83 const external_wp_primitives_namespaceObject = window["wp"]["primitives"]; |
84 ;// CONCATENATED MODULE: external "ReactJSXRuntime" |
84 ;// external "ReactJSXRuntime" |
85 const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; |
85 const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; |
86 ;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/widget.js |
86 ;// ./node_modules/@wordpress/icons/build-module/library/widget.js |
87 /** |
87 /** |
88 * WordPress dependencies |
88 * WordPress dependencies |
89 */ |
89 */ |
90 |
90 |
91 |
91 |
96 d: "M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z" |
96 d: "M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z" |
97 }) |
97 }) |
98 }); |
98 }); |
99 /* harmony default export */ const library_widget = (widget); |
99 /* harmony default export */ const library_widget = (widget); |
100 |
100 |
101 ;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs |
101 ;// ./node_modules/clsx/dist/clsx.mjs |
102 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); |
102 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); |
103 ;// CONCATENATED MODULE: external ["wp","blockEditor"] |
103 ;// external ["wp","blockEditor"] |
104 const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"]; |
104 const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"]; |
105 ;// CONCATENATED MODULE: external ["wp","components"] |
105 ;// external ["wp","components"] |
106 const external_wp_components_namespaceObject = window["wp"]["components"]; |
106 const external_wp_components_namespaceObject = window["wp"]["components"]; |
107 ;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/brush.js |
107 ;// ./node_modules/@wordpress/icons/build-module/library/brush.js |
108 /** |
108 /** |
109 * WordPress dependencies |
109 * WordPress dependencies |
110 */ |
110 */ |
111 |
111 |
112 |
112 |
117 d: "M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z" |
117 d: "M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z" |
118 }) |
118 }) |
119 }); |
119 }); |
120 /* harmony default export */ const library_brush = (brush); |
120 /* harmony default export */ const library_brush = (brush); |
121 |
121 |
122 ;// CONCATENATED MODULE: external ["wp","i18n"] |
122 ;// external ["wp","i18n"] |
123 const external_wp_i18n_namespaceObject = window["wp"]["i18n"]; |
123 const external_wp_i18n_namespaceObject = window["wp"]["i18n"]; |
124 ;// CONCATENATED MODULE: external ["wp","element"] |
124 ;// external ["wp","element"] |
125 const external_wp_element_namespaceObject = window["wp"]["element"]; |
125 const external_wp_element_namespaceObject = window["wp"]["element"]; |
126 ;// CONCATENATED MODULE: external ["wp","data"] |
126 ;// external ["wp","coreData"] |
|
127 const external_wp_coreData_namespaceObject = window["wp"]["coreData"]; |
|
128 ;// external ["wp","data"] |
127 const external_wp_data_namespaceObject = window["wp"]["data"]; |
129 const external_wp_data_namespaceObject = window["wp"]["data"]; |
128 ;// CONCATENATED MODULE: external ["wp","coreData"] |
130 ;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/widget-type-selector.js |
129 const external_wp_coreData_namespaceObject = window["wp"]["coreData"]; |
|
130 ;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/widget-type-selector.js |
|
131 /** |
131 /** |
132 * WordPress dependencies |
132 * WordPress dependencies |
133 */ |
133 */ |
134 |
134 |
135 |
135 |
153 } |
153 } |
154 if (widgetTypes.length === 0) { |
154 if (widgetTypes.length === 0) { |
155 return (0,external_wp_i18n_namespaceObject.__)('There are no widgets available.'); |
155 return (0,external_wp_i18n_namespaceObject.__)('There are no widgets available.'); |
156 } |
156 } |
157 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.SelectControl, { |
157 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.SelectControl, { |
|
158 __next40pxDefaultSize: true, |
158 __nextHasNoMarginBottom: true, |
159 __nextHasNoMarginBottom: true, |
159 label: (0,external_wp_i18n_namespaceObject.__)('Select a legacy widget to display:'), |
160 label: (0,external_wp_i18n_namespaceObject.__)('Legacy widget'), |
160 value: selectedId !== null && selectedId !== void 0 ? selectedId : '', |
161 value: selectedId !== null && selectedId !== void 0 ? selectedId : '', |
161 options: [{ |
162 options: [{ |
162 value: '', |
163 value: '', |
163 label: (0,external_wp_i18n_namespaceObject.__)('Select widget') |
164 label: (0,external_wp_i18n_namespaceObject.__)('Select widget') |
164 }, ...widgetTypes.map(widgetType => ({ |
165 }, ...widgetTypes.map(widgetType => ({ |
197 children: description |
197 children: description |
198 })] |
198 })] |
199 }); |
199 }); |
200 } |
200 } |
201 |
201 |
202 ;// CONCATENATED MODULE: external ["wp","notices"] |
202 ;// external ["wp","notices"] |
203 const external_wp_notices_namespaceObject = window["wp"]["notices"]; |
203 const external_wp_notices_namespaceObject = window["wp"]["notices"]; |
204 ;// CONCATENATED MODULE: external ["wp","compose"] |
204 ;// external ["wp","compose"] |
205 const external_wp_compose_namespaceObject = window["wp"]["compose"]; |
205 const external_wp_compose_namespaceObject = window["wp"]["compose"]; |
206 ;// CONCATENATED MODULE: external ["wp","apiFetch"] |
206 ;// external ["wp","apiFetch"] |
207 const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"]; |
207 const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"]; |
208 var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject); |
208 var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject); |
209 ;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/control.js |
209 ;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/control.js |
|
210 /* wp:polyfill */ |
210 /** |
211 /** |
211 * WordPress dependencies |
212 * WordPress dependencies |
212 */ |
213 */ |
213 |
214 |
214 |
215 |
215 |
216 |
216 |
217 |
217 /** |
218 /** |
218 * An API for creating and loading a widget control (a <div class="widget"> |
219 * An API for creating and loading a widget control (a <div class="widget"> |
219 * element) that is compatible with most third party widget scripts. By not |
220 * element) that is compatible with most third party widget scripts. By not |
220 * using React for this, we ensure that we have complete contorl over the DOM |
221 * using React for this, we ensure that we have complete control over the DOM |
221 * and do not accidentally remove any elements that a third party widget script |
222 * and do not accidentally remove any elements that a third party widget script |
222 * has attached an event listener to. |
223 * has attached an event listener to. |
223 * |
224 * |
224 * @property {Element} element The control's DOM element. |
225 * @property {Element} element The control's DOM element. |
225 */ |
226 */ |
673 onChangeInstance(nextInstance); |
673 onChangeInstance(nextInstance); |
674 }, |
674 }, |
675 onChangeHasPreview, |
675 onChangeHasPreview, |
676 onError(error) { |
676 onError(error) { |
677 window.console.error(error); |
677 window.console.error(error); |
678 createNotice('error', (0,external_wp_i18n_namespaceObject.sprintf)( /* translators: %s: the name of the affected block. */ |
678 createNotice('error', (0,external_wp_i18n_namespaceObject.sprintf)(/* translators: %s: the name of the affected block. */ |
679 (0,external_wp_i18n_namespaceObject.__)('The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'), idBase || id)); |
679 (0,external_wp_i18n_namespaceObject.__)('The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'), idBase || id)); |
680 } |
680 } |
681 }); |
681 }); |
682 ref.current.appendChild(control.element); |
682 ref.current.appendChild(control.element); |
683 return () => { |
683 return () => { |
1007 const widgetTypeId = id !== null && id !== void 0 ? id : idBase; |
1001 const widgetTypeId = id !== null && id !== void 0 ? id : idBase; |
1008 const { |
1002 const { |
1009 record: widgetType, |
1003 record: widgetType, |
1010 hasResolved: hasResolvedWidgetType |
1004 hasResolved: hasResolvedWidgetType |
1011 } = (0,external_wp_coreData_namespaceObject.useEntityRecord)('root', 'widgetType', widgetTypeId); |
1005 } = (0,external_wp_coreData_namespaceObject.useEntityRecord)('root', 'widgetType', widgetTypeId); |
1012 const isNavigationMode = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).isNavigationMode(), []); |
|
1013 const setInstance = (0,external_wp_element_namespaceObject.useCallback)(nextInstance => { |
1006 const setInstance = (0,external_wp_element_namespaceObject.useCallback)(nextInstance => { |
1014 setAttributes({ |
1007 setAttributes({ |
1015 instance: nextInstance |
1008 instance: nextInstance |
1016 }); |
1009 }); |
1017 }, []); |
1010 }, []); |
1027 if (!hasResolvedWidgetType) { |
1020 if (!hasResolvedWidgetType) { |
1028 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Placeholder, { |
1021 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Placeholder, { |
1029 children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Spinner, {}) |
1022 children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Spinner, {}) |
1030 }); |
1023 }); |
1031 } |
1024 } |
1032 const mode = idBase && (isNavigationMode || !isSelected) ? 'preview' : 'edit'; |
1025 const mode = idBase && !isSelected ? 'preview' : 'edit'; |
1033 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { |
1026 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { |
1034 children: [idBase === 'text' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockControls, { |
1027 children: [idBase === 'text' && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockControls, { |
1035 group: "other", |
1028 group: "other", |
1036 children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ConvertToBlocksButton, { |
1029 children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ConvertToBlocksButton, { |
1037 clientId: clientId, |
1030 clientId: clientId, |
1340 d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z" |
1333 d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z" |
1341 }) |
1334 }) |
1342 }); |
1335 }); |
1343 /* harmony default export */ const library_group = (group); |
1336 /* harmony default export */ const library_group = (group); |
1344 |
1337 |
1345 ;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/edit.js |
1338 ;// ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/edit.js |
1346 /** |
1339 /** |
1347 * WordPress dependencies |
1340 * WordPress dependencies |
1348 */ |
1341 */ |
1349 |
|
1350 |
|
1351 |
1342 |
1352 |
1343 |
1353 |
1344 |
1354 |
1345 |
1355 |
1346 |
1560 d: "M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z" |
1547 d: "M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z" |
1561 }) |
1548 }) |
1562 }); |
1549 }); |
1563 /* harmony default export */ const move_to = (moveTo); |
1550 /* harmony default export */ const move_to = (moveTo); |
1564 |
1551 |
1565 ;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/components/move-to-widget-area/index.js |
1552 ;// ./node_modules/@wordpress/widgets/build-module/components/move-to-widget-area/index.js |
1566 /** |
1553 /** |
1567 * WordPress dependencies |
1554 * WordPress dependencies |
1568 */ |
1555 */ |
1569 |
1556 |
1570 |
1557 |
1695 * @param {Object} supports Block support settings. |
1682 * @param {Object} supports Block support settings. |
1696 * @see https://developer.wordpress.org/block-editor/how-to-guides/widgets/legacy-widget-block/ |
1683 * @see https://developer.wordpress.org/block-editor/how-to-guides/widgets/legacy-widget-block/ |
1697 */ |
1684 */ |
1698 function registerLegacyWidgetBlock(supports = {}) { |
1685 function registerLegacyWidgetBlock(supports = {}) { |
1699 const { |
1686 const { |
1700 metadata, |
1687 /* metadata */ "yu": metadata, |
1701 settings, |
1688 /* settings */ "W0": settings, |
1702 name |
1689 /* name */ "UU": name |
1703 } = legacy_widget_namespaceObject; |
1690 } = legacy_widget_namespaceObject; |
1704 (0,external_wp_blocks_namespaceObject.registerBlockType)({ |
1691 (0,external_wp_blocks_namespaceObject.registerBlockType)({ |
1705 name, |
1692 name, |
1706 ...metadata |
1693 ...metadata |
1707 }, { |
1694 }, { |
1718 * |
1705 * |
1719 * @param {Object} supports Block support settings. |
1706 * @param {Object} supports Block support settings. |
1720 */ |
1707 */ |
1721 function registerWidgetGroupBlock(supports = {}) { |
1708 function registerWidgetGroupBlock(supports = {}) { |
1722 const { |
1709 const { |
1723 metadata, |
1710 /* metadata */ "yu": metadata, |
1724 settings, |
1711 /* settings */ "W0": settings, |
1725 name |
1712 /* name */ "UU": name |
1726 } = widget_group_namespaceObject; |
1713 } = widget_group_namespaceObject; |
1727 (0,external_wp_blocks_namespaceObject.registerBlockType)({ |
1714 (0,external_wp_blocks_namespaceObject.registerBlockType)({ |
1728 name, |
1715 name, |
1729 ...metadata |
1716 ...metadata |
1730 }, { |
1717 }, { |