(()=>{var t,e,o,r={2547:(t,e,o)=>{"use strict";const r=window.wp.blocks;var s=o(3450),i=o(7092);const n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/add-to-wishlist-button","version":"1.0.0","title":"Add to Wishlist Button","description":"Lets shoppers add the current product to their wishlist from the single-product page.","category":"woocommerce","keywords":["WooCommerce","Wishlist"],"textdomain":"woocommerce","usesContext":["postId"],"ancestor":["woocommerce/add-to-cart-with-options"],"supports":{"interactivity":true,"html":false,"reusable":false,"multiple":false,"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true},"color":{"text":true,"background":true}},"viewScriptModule":"woocommerce/add-to-wishlist-button","style":["file:../woocommerce/add-to-wishlist-button-style.css"]}');var c=o(7723);const l=window.wp.blockEditor;var a=o(790);o(4544),(0,r.registerBlockType)(n,{icon:{src:(0,a.jsx)(s.A,{icon:i.A,className:"wc-block-editor-components-block-icon"})},edit:()=>{const t=(0,l.useBlockProps)({className:"wc-block-add-to-wishlist-button"});return(0,a.jsx)("div",{...t,children:(0,a.jsxs)("button",{type:"button",className:"wc-block-add-to-wishlist-button__toggle",disabled:!0,children:[(0,a.jsx)("span",{className:"wc-block-add-to-wishlist-button__icon wc-block-add-to-wishlist-button__icon--empty",children:(0,a.jsx)(s.A,{icon:i.A,size:24})}),(0,a.jsx)("span",{className:"wc-block-add-to-wishlist-button__label",children:(0,c.__)("Add to wishlist","woocommerce")})]})})},save:()=>null})},4544:()=>{},790:t=>{"use strict";t.exports=window.ReactJSXRuntime},6087:t=>{"use strict";t.exports=window.wp.element},7723:t=>{"use strict";t.exports=window.wp.i18n},5573:t=>{"use strict";t.exports=window.wp.primitives}},s={};function i(t){var e=s[t];if(void 0!==e)return e.exports;var o=s[t]={exports:{}};return r[t](o,o.exports,i),o.exports}i.m=r,t=[],i.O=(e,o,r,s)=>{if(!o){var n=1/0;for(d=0;d<t.length;d++){for(var[o,r,s]=t[d],c=!0,l=0;l<o.length;l++)(!1&s||n>=s)&&Object.keys(i.O).every(t=>i.O[t](o[l]))?o.splice(l--,1):(c=!1,s<n&&(n=s));if(c){t.splice(d--,1);var a=r();void 0!==a&&(e=a)}}return e}s=s||0;for(var d=t.length;d>0&&t[d-1][2]>s;d--)t[d]=t[d-1];t[d]=[o,r,s]},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},o=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,i.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var s=Object.create(null);i.r(s);var n={};e=e||[null,o({}),o([]),o(o)];for(var c=2&r&&t;"object"==typeof c&&!~e.indexOf(c);c=o(c))Object.getOwnPropertyNames(c).forEach(e=>n[e]=()=>t[e]);return n.default=()=>t,i.d(s,n),s},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.j=2559,(()=>{var t={2559:0};i.O.j=e=>0===t[e];var e=(e,o)=>{var r,s,[n,c,l]=o,a=0;if(n.some(e=>0!==t[e])){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(l)var d=l(i)}for(e&&e(o);a<n.length;a++)s=n[a],i.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return i.O(d)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var n=i.O(void 0,[94],()=>i(2547));n=i.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-wishlist-button"]=n})();