(()=>{"use strict";var e,t,r={1287:(e,t,r)=>{r.d(t,{c:()=>s});var a=r(5133);const o=window.wc.wcSettings,n=(0,o.getSetting)("isBlockTheme"),c=(0,o.getSetting)("isProductArchive"),i=(0,o.getSetting)("needsRefreshForInteractivityAPI",!1);function s(e,t={}){const r=new URL(e);return r.pathname=r.pathname.replace(/\/page\/[0-9]+/i,""),r.searchParams.delete("paged"),r.searchParams.forEach(((e,t)=>{t.match(/^query(?:-[0-9]+)?-page$/)&&r.searchParams.delete(t)})),e=r.href,i||!n&&c?window.location.href=e:(0,a.navigate)(e,t)}},5133:e=>{e.exports=window.wc.__experimentalInteractivity}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return r[e](n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e=o(5133),t=o(1287),(0,e.store)("woocommerce/product-filter-active",{actions:{clearAll:()=>{const{params:r}=(0,e.getContext)(),a=new URL(window.location.href),{searchParams:o}=a;r.forEach((e=>o.delete(e))),(0,t.c)(a.href)}}})})();