(()=>{"use strict";const e={n:t=>{const o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{if(Array.isArray(o))for(var n=0;n<o.length;){var r=o[n++],c=o[n++];e.o(t,r)?0===c&&n++:0===c?Object.defineProperty(t,r,{enumerable:!0,value:o[n++]}):Object.defineProperty(t,r,{enumerable:!0,get:c})}else for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}};let t={};e.r(t),e.d(t,{getRegisteredBlockComponents:()=>n,registerBlockComponent:()=>a,registerInnerBlock:()=>s});const o={};function n(e){return{..."object"==typeof o[e]&&Object.keys(o[e]).length>0?o[e]:{},...o.any}}const r=window.wp.deprecated;var c=e.n(r);function a(e){e.context||(e.context="any"),l(e,"context","string"),l(e,"blockName","string"),i(e,"component");const{context:t,blockName:n,component:r}=e;o[t]||(o[t]={}),o[t][n]=r}const i=(e,t)=>{if(e[t]){if("function"==typeof e[t])return;if(e[t].$$typeof&&e[t].$$typeof===Symbol.for("react.lazy"))return}throw new Error(`Incorrect value for the ${t} argument when registering a block component. Component must be a valid React Element or Lazy callback.`)},l=(e,t,o)=>{const n=typeof e[t];if(n!==o)throw new Error(`Incorrect value for the ${t} argument when registering a block component. It was a ${n}, but must be a ${o}.`)};function s(e){c()("registerInnerBlock",{version:"2.8.0",alternative:"registerBlockComponent",plugin:"WooCommerce Blocks",hint:'"main" has been replaced with "context" and is now optional.'}),l(e,"main","string"),a({...e,context:e.main})}(this.ywcas=this.ywcas||{}).ywcasBlocksRegistry=t})();