(function(){"use strict";var r=s=>{let e=!1;const n=()=>document.readyState==="complete"||document.readyState==="interactive"||document.readyState==="loaded",o=()=>{window.removeEventListener("DOMContentLoaded",a),document.removeEventListener("readystatechange",d)},t=()=>{e||(e=!0,s(),o())},a=()=>{t()},d=()=>{n()&&t()};n()?t():(window.addEventListener("DOMContentLoaded",a),document.addEventListener("readystatechange",d))};r(()=>{document.addEventListener("click",s=>{const e=s.target.closest(".asp-us-phrase[data-asp-phrase]");if(!e)return;s.preventDefault();const n=e.dataset.aspPhrase??"",o=e.dataset.aspAction??"",t=parseInt(e.dataset.aspId??"0",10),a=window.ASP;a&&(o==="trigger"?a.api(t,"searchFor",n):o==="redirect"&&a.api(t,"doRedirectToResults",n))})})})();
