(()=>{var e,t,o,r={5371:(e,t,o)=>{"use strict";const r=window.wp.blocks;var i=o(7723);const s=window.wp.blockEditor;var a=o(7715);const n=window.wc.wcSettings,c=(0,n.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),p=(c.pluginUrl,c.pluginUrl,n.STORE_PAGES.shop,n.STORE_PAGES.checkout?.id),l=(n.STORE_PAGES.checkout,n.STORE_PAGES.privacy,n.STORE_PAGES.privacy,n.STORE_PAGES.terms,n.STORE_PAGES.terms,n.STORE_PAGES.cart?.id),d=(n.STORE_PAGES.cart,n.STORE_PAGES.myaccount?.permalink?n.STORE_PAGES.myaccount.permalink:(0,n.getSetting)("wpLoginUrl","/wp-login.php"),(0,n.getSetting)("localPickupEnabled",!1),(0,n.getSetting)("shippingMethodsExist",!1),(0,n.getSetting)("shippingEnabled",!0),(0,n.getSetting)("countries",{})),g=(0,n.getSetting)("countryData",{}),u={...Object.fromEntries(Object.keys(g).filter((e=>!0===g[e].allowBilling)).map((e=>[e,d[e]||""]))),...Object.fromEntries(Object.keys(g).filter((e=>!0===g[e].allowShipping)).map((e=>[e,d[e]||""])))},m=(Object.fromEntries(Object.keys(u).map((e=>[e,g[e].states||{}]))),Object.fromEntries(Object.keys(u).map((e=>[e,g[e].locale||{}]))),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]});(0,n.getSetting)("addressFieldsLocations",m).address,(0,n.getSetting)("addressFieldsLocations",m).contact,(0,n.getSetting)("addressFieldsLocations",m).order,(0,n.getSetting)("additionalOrderFields",{}),(0,n.getSetting)("additionalContactFields",{}),(0,n.getSetting)("additionalAddressFields",{});var w=o(6087);const f=JSON.parse('{"name":"woocommerce/page-content-wrapper","title":"WooCommerce Page","description":"Displays WooCommerce page content.","category":"woocommerce","keywords":["WooCommerce"],"textdomain":"woocommerce","supports":{"html":false,"multiple":false,"inserter":false},"attributes":{"page":{"type":"string","default":""}},"providesContext":{"postId":"postId","postType":"postType"},"apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');o(1089);var b=o(790);(0,r.registerBlockType)(f,{icon:{src:a.A},edit:({attributes:e,setAttributes:t})=>{const o=(0,s.useBlockProps)({className:"wp-block-woocommerce-page-content-wrapper"});return(0,w.useEffect)((()=>{if(!e.postId&&e.page){let o=0;"checkout"===e.page&&(o=p),"cart"===e.page&&(o=l),o&&t({postId:o,postType:"page"})}}),[e,t]),(0,b.jsx)("div",{...o,children:(0,b.jsx)(s.InnerBlocks,{template:[["core/post-title",{align:"wide",level:1}],["core/post-content",{align:"wide"}]]})})},save:()=>(0,b.jsx)(s.InnerBlocks.Content,{}),variations:[{name:"checkout-page",title:(0,i.__)("Checkout Page","woocommerce"),attributes:{page:"checkout"},isActive:(e,t)=>e.page===t.page},{name:"cart-page",title:(0,i.__)("Cart Page","woocommerce"),attributes:{page:"cart"},isActive:(e,t)=>e.page===t.page}]})},1089:()=>{},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e].call(o.exports,o,o.exports,s),o.exports}s.m=r,e=[],s.O=(t,o,r,i)=>{if(!o){var a=1/0;for(l=0;l<e.length;l++){for(var[o,r,i]=e[l],n=!0,c=0;c<o.length;c++)(!1&i||a>=i)&&Object.keys(s.O).every((e=>s.O[e](o[c])))?o.splice(c--,1):(n=!1,i<a&&(a=i));if(n){e.splice(l--,1);var p=r();void 0!==p&&(t=p)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[o,r,i]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);s.r(i);var a={};t=t||[null,o({}),o([]),o(o)];for(var n=2&r&&e;"object"==typeof n&&!~t.indexOf(n);n=o(n))Object.getOwnPropertyNames(n).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,s.d(i,a),i},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.j=7960,(()=>{var e={7960:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var r,i,[a,n,c]=o,p=0;if(a.some((t=>0!==e[t]))){for(r in n)s.o(n,r)&&(s.m[r]=n[r]);if(c)var l=c(s)}for(t&&t(o);p<a.length;p++)i=a[p],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return s.O(l)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=s.O(void 0,[94],(()=>s(5371)));a=s.O(a),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["page-content-wrapper"]=a})();