import{g as a,r as c}from"./params.597cd0f5.js";const u={mounted(){var i,e;const t=a()["aioseo-scroll"]||((i=history.state)==null?void 0:i.scroll);t&&typeof t=="string"&&setTimeout(()=>{var o;this.$scrollTo(`#${t}`,{offset:-130,container:this.scrollContainer||"body"}),c("aioseo-scroll"),(o=history.state)==null||delete o.scroll},this.scrollTimeout||500);const s=a()["aioseo-highlight"]||((e=history.state)==null?void 0:e.highlight);if(s&&typeof s=="string"){const o=t?this.scrollAndHighlightTimeout||1500:this.highlightTimeout||500;setTimeout(()=>{var n;const r=document.querySelectorAll(`#${s.replace(/,/g,", #").replace(/%2C/ig,", #")}`);r.length&&r.forEach(l=>{l.classList.add("aioseo-row-highlight"),setTimeout(()=>{l.classList.remove("aioseo-row-highlight")},1500)}),(n=history.state)==null||delete n.highlight,c("aioseo-highlight")},o)}}};export{u as S};
