let track_outbound_links=(t={})=>{let e=new URL(pixel_url_base),n=e.hostname,r=e.pathname.replace(/\/$/,"");document.querySelectorAll("a").forEach((e=>{let a,i=e.getAttribute("href"),l=e.innerText.trim()||e.getAttribute("title")||e.getAttribute("data-original-title")||e.getAttribute("aria-label");if(!i||"#"==i)return;try{a=new URL(i,window.location.origin)}catch(t){return}let o=a.hostname!==n,u=a.hostname===n&&!a.pathname.startsWith(r);(o||u)&&e.addEventListener("click",(e=>{let n={type:"outbound_click",outbound_url:a.href,outbound_title:l,url:window.location.href,...t};send_data_beacon(n)}))}))};
