(()=>{"use strict";const e=window.wp.blocks,o=window.ReactJSXRuntime,r=window.wp.blockEditor,c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-gallery-large-image","title":"Viewer","description":"Container for the current gallery image, navigation buttons, zoom functionality and more.","category":"woocommerce","keywords":["WooCommerce"],"usesContext":["postId","hoverZoom","fullScreenOnClick"],"supports":{"interactivity":true},"textdomain":"woocommerce","ancestor":["woocommerce/product-gallery"],"viewScriptModule":"woocommerce/product-gallery-large-image","editorStyle":"file:../woocommerce/product-gallery-large-image-editor.css"}');(0,e.registerBlockType)(c,{icon:()=>(0,o.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.22448 1.5L1.5 6.81504V11.7072L5.12953 9.06066C5.38061 8.87758 5.71858 8.86829 5.97934 9.0373L8.90601 10.9342L12.4772 7.46225C12.7683 7.17925 13.2317 7.17925 13.5228 7.46225L16.5 10.3568V2C16.5 1.72386 16.2761 1.5 16 1.5H6.22448ZM1.5 13.5636V16C1.5 16.2761 1.72386 16.5 2 16.5H16C16.2761 16.5 16.5 16.2761 16.5 16V12.4032L16.4772 12.4266L13 9.04603L9.52279 12.4266C9.27191 12.6706 8.88569 12.7086 8.59206 12.5183L5.59643 10.5766L1.5 13.5636ZM0 2C0 0.89543 0.895431 0 2 0H16C17.1046 0 18 0.895431 18 2V16C18 17.1046 17.1046 18 16 18H2C0.89543 18 0 17.1046 0 16V2Z",fill:"currentColor"})}),edit:()=>{const e=(0,r.useInnerBlocksProps)({className:"wc-block-product-gallery-large-image__inner-blocks"},{templateInsertUpdatesSelection:!0}),c=(0,r.useBlockProps)({className:"wc-block-product-gallery-large-image wc-block-editor-product-gallery-large-image"});return(0,o.jsx)("div",{...c,children:(0,o.jsx)("div",{...e})})},save:()=>{const e=r.useBlockProps.save({className:"wc-block-product-gallery-large-image__inner-blocks"}),c=r.useInnerBlocksProps.save(e);return(0,o.jsx)("div",{...c})}}),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["product-gallery-large-image"]={}})();