(()=>{var e,t,o,r={5452:(e,t,o)=>{"use strict";const r=window.wp.blocks;var n=o(6012);const i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"woocommerce/product-filter-clear-button","title":"Clear filters","description":"Allows shoppers to clear active filters.","category":"woocommerce","keywords":["WooCommerce","clear filters"],"textdomain":"woocommerce","apiVersion":3,"ancestor":["woocommerce/product-filter-active"],"usesContext":["filterData"],"supports":{"interactivity":true,"inserter":true}}'),c=window.wp.blockEditor;var s=o(7723),l=o(790);o(3664),(0,r.registerBlockType)(i,{icon:n.A,edit:()=>{const e=(0,c.useBlockProps)(),t=(0,c.useInnerBlocksProps)(e,{allowedBlocks:["core/buttons","core/button"],template:[["core/buttons",{layout:{type:"flex",verticalAlignment:"stretched"}},[["core/button",{text:(0,s.__)("Clear filters","woocommerce"),className:"wc-block-product-filter-clear-button is-style-outline",style:{border:{width:"1px"},typography:{textDecoration:"none"},outline:"none",fontSize:"medium",spacing:{padding:{left:"8px",right:"8px",top:"5px",bottom:"5px"}}},textAlign:"center",width:100}]]]]});return(0,l.jsx)("div",{...t})},save:function(){return(0,l.jsx)(c.InnerBlocks.Content,{})}})},3664:()=>{},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,e=[],i.O=(t,o,r,n)=>{if(!o){var c=1/0;for(p=0;p<e.length;p++){for(var[o,r,n]=e[p],s=!0,l=0;l<o.length;l++)(!1&n||c>=n)&&Object.keys(i.O).every((e=>i.O[e](o[l])))?o.splice(l--,1):(s=!1,n<c&&(c=n));if(s){e.splice(p--,1);var a=r();void 0!==a&&(t=a)}}return t}n=n||0;for(var p=e.length;p>0&&e[p-1][2]>n;p--)e[p]=e[p-1];e[p]=[o,r,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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 n=Object.create(null);i.r(n);var c={};t=t||[null,o({}),o([]),o(o)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=o(s))Object.getOwnPropertyNames(s).forEach((t=>c[t]=()=>e[t]));return c.default=()=>e,i.d(n,c),n},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=1276,(()=>{var e={1276:0};i.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[c,s,l]=o,a=0;if(c.some((t=>0!==e[t]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);if(l)var p=l(i)}for(t&&t(o);a<c.length;a++)n=c[a],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(p)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var c=i.O(void 0,[94],(()=>i(5452)));c=i.O(c),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["product-filter-clear-button"]=c})();