(()=>{var e,t,o,r={5452:(e,t,o)=>{"use strict";const r=window.wp.blocks;var n=o(6012);const c=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}}'),i=window.wp.blockEditor;var s=o(7723),l=o(790);o(3664),(0,r.registerBlockType)(c,{icon:n.A,edit:()=>{const e=(0,i.useBlockProps)(),t=(0,i.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)(i.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 c(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e].call(o.exports,o,o.exports,c),o.exports}c.m=r,e=[],c.O=(t,o,r,n)=>{if(!o){var i=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||i>=n)&&Object.keys(c.O).every((e=>c.O[e](o[l])))?o.splice(l--,1):(s=!1,n<i&&(i=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]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.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);c.r(n);var i={};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=>i[t]=()=>e[t]));return i.default=()=>e,c.d(n,i),n},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.j=1276,(()=>{var e={1276:0};c.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[i,s,l]=o,a=0;if(i.some((t=>0!==e[t]))){for(r in s)c.o(s,r)&&(c.m[r]=s[r]);if(l)var p=l(c)}for(t&&t(o);a<i.length;a++)n=i[a],c.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return c.O(p)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=c.O(void 0,[94],(()=>c(5452)));i=c.O(i),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["product-filter-clear-button"]=i})();