1/*! Third-party software license notices for the dependencies bundled into this file are provided in the THIRD-PARTY-NOTICES.txt file distributed alongside these assets. */ 2import"./chunks/chunk-AVCFFTFQ.js";import"./chunks/chunk-W2R3SJGX.js";import"./chunks/chunk-4BTJULSG.js";import"./chunks/chunk-GSVK4IGV.js";import"./chunks/chunk-23WDHDL5.js";var m=()=>{document.querySelector(".is-invalid")?.scrollIntoView({behavior:"smooth"})};(()=>{"use strict";let e=document.querySelectorAll(".js-needs-validation");Array.from(e).forEach(t=>{t.addEventListener("submit",n=>{t.checkValidity()||(n.preventDefault(),n.stopPropagation()),t.classList.add("was-validated"),m(),document.querySelector(".js-needs-validation :invalid")?.scrollIntoView({behavior:"smooth"})},!1)})})();m();var d=document.querySelector(".js-subnav"),E=document.querySelectorAll(".js-subnav-link"),v=document.querySelector("button.js-subnav-dropdown-button");d&&(E.forEach(e=>{let t=new URL(e.href);window.location.pathname===t.pathname&&(e.classList.add("active"),e.setAttribute("aria-current","page"),l(e.innerText))}),window.location.href.includes("connect-with-a-minfraud-expert")&&l("Fraud prevention solutions"),window.location.href.includes("connect-with-a-geoip-expert")&&l("GeoIP solutions"),window.location.href.includes("contact-corrections")&&l("Correct other data"));function l(e){v&&(v.innerText=e)}var a=document.querySelector(".js-has-transparent-nav"),b=60,f=()=>{window.scrollY>=b?a.classList.remove("has-transparent-nav"):a.classList.add("has-transparent-nav")};a&&(f(),document.addEventListener("scroll",()=>{f()}),d?a.classList.add("has-subnav"):a.classList.remove("has-subnav"));var S=document.querySelectorAll(".js-main-nav__link, .js-utility-nav__link");for(let e of S)e.disabled=!1;var T=document.querySelectorAll(".js-main-nav__item"),h=e=>{let t=e.currentTarget,n=t.querySelector(".main-nav__dropdown-menu");t.setAttribute("aria-expanded","true"),t.classList.add("show"),n?.classList.add("show")},L=e=>{let t=e.currentTarget,n=t.querySelector(".main-nav__dropdown-menu");t.setAttribute("aria-expanded","false"),t.classList.remove("show"),n?.classList.remove("show")},p=()=>{let e=window.innerWidth>991,t=window.matchMedia("(hover: hover)").matches;T.forEach(n=>{n.removeEventListener("mouseover",h),n.removeEventListener("mouseout",L),!(!t||!e)&&(n.addEventListener("mouseover",h),n.addEventListener("mouseout",L))})};window.addEventListener("resize",p);window.addEventListener("load",p);var g=document.getElementById("sidebar-toggle-switch"),w=()=>{let e=document.getElementById("sidebar-container");if(!e)return;let t=e.style.display==="none"?"Hide":"Show",n=document.getElementById("content-container");e.classList.contains("d-none"),e.classList.toggle("d-block"),e.classList.toggle("d-none");let r=document.getElementById("sidebar-chevron");r?.classList.toggle("bi-chevron-right"),r?.classList.toggle("bi-chevron-down"),n?.classList.toggle("col-md-9");let s=document.querySelectorAll(".toggle-header");for(let c of s)c.classList.toggle("offset-md-3");let o=document.getElementById("sidebar-action");o&&(o.textContent=t)};g&&(g.addEventListener("click",w),w());for(let e of document.querySelectorAll(".dropdown-menu form"))e.addEventListener("click",t=>{t.stopPropagation()});var q=function(e){let t=()=>{(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&(e.value&&e.value.trim()===""?e.classList.add("is-empty"):e.classList.remove("is-empty"))};e.addEventListener("input",t),e.addEventListener("change",t),e.addEventListener("focusin",t)},k=['input[type="text"][required]','input[type="number"][required]','input[type="email"][required]',"textarea[required]"],_=document.querySelectorAll(k.join(","));for(let e of _)q(e);var I=function(e){e.startsWith("/")&&(e=e.substring(1));let t=e.split("/");return t.shift(),t.join("/")},u=document.querySelector(".left-nav");if(u){let e=I(window.location.pathname),t=[],n=u.querySelectorAll(".left-nav__link");for(let s of n)s.href!==null&&t.push(s.href);let r=u.querySelectorAll(".js-left-nav__hasLink");for(let s of t)if(new RegExp(`^${s}/`).test(e)||s===e)for(let c of r)c.querySelector(`a[href="${CSS.escape(s)}"]`)&&c.classList.add("left-nav__link--active")}window.addEventListener("load",()=>{setTimeout(()=>{y()},1e3),setInterval(()=>{y()},30*1e3)});
2var A=document.querySelector(".js-header__system-status"),i=(e,t)=>{let n=document.querySelectorAll(".status-icon"),r=document.querySelector(".js-header__status-message");n.forEach(s=>{s&&s.classList.remove("show-status-icon")}),e.forEach(s=>{s.classList.add("show-status-icon")}),A.classList.add("show-header-system-status"),t!==void 0?r.innerText=t:console.error("message is undefined")},y=async()=>{let e=await fetch("https://status.maxmind.com/1.0/status/53fcfbb2ac0c957972000235"),t=await e.json(),n=t.result.incidents,r=t.result.maintenance.active,s=t.result.status_overall.status_code,o=document.querySelectorAll(".status-icon__warning");if(e.ok)if(n.length!=0)i(o,`${t.result.status_overall.status}: ${t.result.incidents[0].name}`);else if(r.length!=0)i(o,`${t.result.status_overall.status}: ${t.result.maintenance.active[0].name}`);else switch(s){case 100:return;case 200:i(o,"Planned Maintenance: We are currently undergoing some scheduled maintenance.");break;case 300:i(o,"Degraded Performance: We are currently experiencing degraded performance in some of our web services.");break;case 400:i(o,"Partial Service Disruption: Some of our web services are temporarily unavailable.");break;case 500:i(o,"Service Disruption: Our web services are temporarily unavailable.");break;case 600:i(o,"Security Event: We are currently mitigating issues relating to some of our web services.");break}else throw new Error("There was an error retrieving the status.")}; 3//# sourceMappingURL=main.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.