PageSourceSearch

https://www.bandwidth.com/wp-content/themes/nmc_bandwidth/scripts/bandwidth.min.js?v=1790087742

js bandwidth.com collected 2026-09-24 08:48:11 UTC 5,454 bytes, 1 lines download raw bytes

1"use strict";function getCookieFromJS(e){let t=e+"=",n=decodeURIComponent(document.cookie).split(";");for(let e=0;e<n.length;e++){let o=n[e];for(;" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}}function setCookieFromJS(e,t,n){const o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);let s="expires="+o.toUTCString();document.cookie=e+"="+t+";"+s+";path=/"}const phonemaps={default:"+18008085150",default_display:"+1 800 808 5150",maps:[{isState:!1,countryCodes:["US","CO","CA"],number:"+18008085150",display:"+1 800 808 5150"},{isState:!1,countryCodes:["GB","SA","AL","BA","LV","LT","ME","MK","RO","RS"],number:"+442039668000",display:"+44 20 3966 8000"},{isState:!1,countryCodes:["BE","AD","IS","LI","LU","MT","MC","SM","SP","DE","FR","HR","NO","TR","BG","CZ","GE","SI","SK","SV","AT","BY","MD","UA"],number:"+3228080000",display:"+32 2 808 00 00"},{isState:!1,countryCodes:["GR","CY"],number:"+302111989880",display:"+302 111 989 880"},{isState:!1,countryCodes:["NL"],number:"+31202418700",display:"+312 0241 8700"},{isState:!1,countryCodes:["PT","ES"],number:"+351210200700",display:"+351 21 020 0700"},{isState:!1,countryCodes:["FI"],number:"+358942455900",display:"+358 9 4245 5900"},{isState:!1,countryCodes:["IT"],number:"+390694808300",display:"+39 06 9450 7100"},{isState:!1,countryCodes:["CH"],number:"+41435880700",display:"+41 43 5880 700"},{isState:!1,countryCodes:["DK"],number:"+4589882100",display:"+45 8988 2100"},{isState:!1,countryCodes:["SE"],number:"+46844685500",display:"+46 84 468 5500"},{isState:!1,countryCodes:["PL"],number:"+48223971500",display:"+48 223 971 500"},{isState:!1,countryCodes:["IE"],number:"+35315134700",display:"+353 1513 4700"},{isState:!1,countryCodes:["HU"],number:"+3614088600",display:"+36 140 88 600"},{isState:!1,countryCodes:["EE"],number:"+3726602100",display:"+372 6602 100"},{isState:!1,countryCodes:["RU"],number:"+74951181200",display:"+7 495 1181 200"},{isState:!1,countryCodes:["CA"],number:"+16472436000",display:"+1 647 243 6000"},{isState:!1,countryCodes:["MX","CR","GT","HN","NI","DO","PA","BO","EC","GY","PY","SR","UY","VE"],number:"+525541613700",display:"+52 55 4161 3700"},{isState:!1,countryCodes:["BR"],number:"+551149508800",display:"+55 1149 508 800"},{isState:!1,countryCodes:["PE"],number:"+5117050220",display:"+51 17 050 220"},{isState:!1,countryCodes:["AR"],number:"+541120400110",display:"+54 1120 400 110"},{isState:!1,countryCodes:["CL"],number:"+56232103990",display:"+56 2 3210 3990"},{isState:!1,countryCodes:["PR"],number:"+17877167070",display:"+1 7877 167 070"},{isState:!1,countryCodes:["HK","CN","AF","ID","MY","MN","KH","TW","TH","AM","AZ","BD","BT","BN","KZ","KG","LA","LB","MV","MM","NP","OM","PK","LK","TJ","TL","TM","UZ","VN"],number:"+85258198800",display:"+852 5819 8800"},{isState:!1,countryCodes:["SG","IL","JP","KR","AU","NZ","EG","IR","IQ","JO","KW","PS","QA","SY","YE","KP","DZ","AO","SH","BJ","BW","BF","BI","CM","CV","CF","TD","KM","CG","CD","DJ","GQ","ER","ET","GA","GM","GH","GN","GW","CI","KE","LS","LR","LY","MG","MW","ML","MR","MU","YT","MA","MZ","NA","NE","NG","ST","RE","RW","ST","SN","SC","SL","SO","ZA","SS","SH","SD","SZ","TZ","TG","TN","UG","CD","ZM","TZ","ZW","BH","IN","PH","AE","WA","OR","NV","AZ","UT","ID","MT"],number:"+6531651800",display:"+65 3165 1800"}]};function setPhone(e){var t=null,n=null;if(e)for(let o in phonemaps.maps)if(-1!==phonemaps.maps[o].countryCodes.indexOf(e)){t=phonemaps.maps[o].number,n=phonemaps.maps[o].display;break}t||(t=phonemaps.default,n=phonemaps.default_display);document.querySelectorAll(".phone a").forEach(function(e){e.href="tel:"+t,e.textContent=n});document.querySelectorAll(".footer_phone a").forEach(function(e){e.href="tel:"+t,e.textContent=n})}async function fetchJson(e){const t=await fetch(e,{credentials:"omit"});if(!t.ok)throw new Error(`HTTP ${t.status} ${t.statusText}`);return await t.json()}function normalizeCountry(e){if(!e)return"";const t=String(e).trim().toUpperCase();return/^[A-Z]{2}$/.test(t)&&"XX"!==t?t:""}async function resolveCountryWithFallback(){const e=normalizeCountry(getCookieFromJS("loc_bw"));if(e)return e;const t=normalizeCountry(window.CF_COUNTRY);if(t)return setCookieFromJS("loc_bw",t,2),t;try{const e=normalizeCountry((await fetchJson("https://ipinfo.io/?token=ff658c3f2f48ae")).country);if(e)return setCookieFromJS("loc_bw",e,2),e}catch(e){console.warn("Fallback #1 failed:",e.message)}return setCookieFromJS("loc_bw","US",1),"US"}function isOneTrustConsented(){return"string"==typeof window.OnetrustActiveGroups&&window.OnetrustActiveGroups.length>0}function injectEmbedCode(e){const t=document.createElement("div");t.innerHTML=e;
1const n=[...t.querySelectorAll("script")],o=[...t.querySelectorAll(":not(script)")],s=n.map(e=>new Promise(t=>{const n=document.createElement("script");[...e.attributes].forEach(e=>n.setAttribute(e.name,e.value)),n.textContent=e.textContent,e.src?(n.onload=t,n.onerror=t):t(),document.body.appendChild(n)}));Promise.all(s).then(()=>{o.forEach(e=>document.body.appendChild(e))})}function notifyServer(){fetch("/wp-json/bandwidth/v1/render-chatbot",{method:"GET",credentials:"same-origin"}).then(e=>e.json()).then(e=>{e.showChatbot&&e.embedCode&&injectEmbedCode(e.embedCode)}).catch(e=>console.warn("Country sync failed:",e))}function OptanonWrapper(){(window.OnetrustActiveGroups||"").split(",").includes("4")&&notifyServer()}(async()=>{setPhone(await resolveCountryWithFallback())})();

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.