import*as e from"@wordpress/interactivity";var t={438:e=>{e.exports=import("@wordpress/interactivity-router")}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}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);const n=(i={getElement:()=>e.getElement,store:()=>e.store},s={},o.d(s,i),s);var i,s;(0,n.store)("woocommerce/product-reviews",{actions:{*navigate(e){e.preventDefault();const{ref:t}=(0,n.getElement)();if(!function(e){return null!==e&&e instanceof window.HTMLAnchorElement&&!!e.href&&(!e.target||"_self"===e.target)&&e.origin===window.location.origin}(t))return;const{actions:r}=yield Promise.resolve().then(o.bind(o,438));yield r.navigate(t.href),t.closest(".wp-block-woocommerce-product-details")?.scrollIntoView({behavior:"smooth",block:"start"})}}},{lock:!0});