File "order-confirmation-billing-wrapper.js"
Full Path: /home/jlklyejr/public_html/wp-content/test/wp-content/plugins/woocommerce/assets/client/blocks/order-confirmation-billing-wrapper.js
File size: 2.83 KB
MIME-type: text/plain
Charset: utf-8
(()=>{"use strict";var e,o={5417:(e,o,r)=>{r.r(o);var t=r(9196);const n=window.wp.blocks,i=window.wp.blockEditor;var l=r(2911),a=r(1873);const s=JSON.parse('{"name":"woocommerce/order-confirmation-billing-wrapper","version":"1.0.0","title":"Billing Address Section","description":"Display the order confirmation billing section.","category":"woocommerce","keywords":["WooCommerce"],"attributes":{"heading":{"type":"string"}},"supports":{"multiple":false,"align":["wide","full"],"html":false,"spacing":{"padding":true,"margin":true,"__experimentalDefaultControls":{"margin":false,"padding":false}}},"textdomain":"woocommerce","apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json"}'),c={heading:{type:"string",default:(0,r(5736).__)("Billing address","woocommerce")}};(0,n.registerBlockType)(s,{icon:{src:(0,t.createElement)(l.Z,{icon:a.Z,className:"wc-block-editor-components-block-icon"})},edit:({attributes:e,setAttributes:o})=>{const r=(0,i.useBlockProps)();return(0,t.createElement)("div",{...r},(0,t.createElement)(i.InnerBlocks,{allowedBlocks:["core/heading"],template:[["core/heading",{level:3,style:{typography:{fontSize:"24px"}},content:e.heading||"",onChangeContent:e=>o({heading:e})}],["woocommerce/order-confirmation-billing-address",{lock:{remove:!0}}]]}))},save:()=>(0,t.createElement)(i.InnerBlocks.Content,null),attributes:c})},9196:e=>{e.exports=window.React},9307:e=>{e.exports=window.wp.element},5736:e=>{e.exports=window.wp.i18n},444:e=>{e.exports=window.wp.primitives}},r={};function t(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return o[e].call(i.exports,i,i.exports,t),i.exports}t.m=o,e=[],t.O=(o,r,n,i)=>{if(!r){var l=1/0;for(p=0;p<e.length;p++){for(var[r,n,i]=e[p],a=!0,s=0;s<r.length;s++)(!1&i||l>=i)&&Object.keys(t.O).every((e=>t.O[e](r[s])))?r.splice(s--,1):(a=!1,i<l&&(l=i));if(a){e.splice(p--,1);var c=n();void 0!==c&&(o=c)}}return o}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[r,n,i]},t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var r in o)t.o(o,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.j=3122,(()=>{var e={3122:0};t.O.j=o=>0===e[o];var o=(o,r)=>{var n,i,[l,a,s]=r,c=0;if(l.some((o=>0!==e[o]))){for(n in a)t.o(a,n)&&(t.m[n]=a[n]);if(s)var p=s(t)}for(o&&o(r);c<l.length;c++)i=l[c],t.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return t.O(p)},r=self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})();var n=t.O(void 0,[2869],(()=>t(5417)));n=t.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["order-confirmation-billing-wrapper"]=n})();