(()=>{var e={8870:()=>{}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,i),a.exports}(()=>{"use strict";const e=window.wc.__experimentalInteractivity;i(8870);const t=e=>e&&e instanceof window.HTMLAnchorElement&&e.href&&(!e.target||"_self"===e.target)&&e.origin===window.location.origin,n={state:{get startAnimation(){return"start"===(0,e.getContext)().animation},get finishAnimation(){return"finish"===(0,e.getContext)().animation}},actions:{*navigate(i){var n,o;const a=(0,e.getContext)(),{ref:c}=(0,e.getElement)(),r=null==c||null===(n=c.closest("[data-wc-navigation-id]"))||void 0===n||null===(o=n.dataset)||void 0===o?void 0:o.wcNavigationId;if(t(c)&&(e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||e.defaultPrevented))(i)){i.preventDefault();const t=setTimeout((()=>{a.accessibilityMessage=a.accessibilityLoadingMessage,a.animation="start"}),400);yield(0,e.navigate)(c.href),clearTimeout(t),a.accessibilityMessage=a.accessibilityLoadedMessage+(a.accessibilityMessage===a.accessibilityLoadedMessage?" ":""),a.animation="finish",a.isPrefetchNextOrPreviousLink=!!c.href,function(e){if(!e)return;const t=`[data-wc-navigation-id=${e}] .wc-block-product-template .wc-block-product`,i=document.querySelector(t);if(i){const e=i.getBoundingClientRect();e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)||i.scrollIntoView({behavior:"smooth",block:"start"})}}(r)}},*prefetchOnHover(){const{ref:i}=(0,e.getElement)();t(i)&&(yield(0,e.prefetch)(i.href))}},callbacks:{*prefetch(){const i=(0,e.getContext)(),{ref:n}=(0,e.getElement)();null!=i&&i.isPrefetchNextOrPreviousLink&&t(n)&&(yield(0,e.prefetch)(n.href))}}};(0,e.store)("woocommerce/product-collection",n)})()})();