(function(){"use strict";var n=window.document,u=function(){return Array.prototype.forEach?function(n,t){return n.forEach(t)}:function(n,t){for(var r=n.length,i=0;i<r;i+=1)t(n[i],i)}}(),e=function(n,t){var i=[];return u(n,function(n){i.push(t(n))}),i},o=function(n){return n.toLocaleLowerCase()},s=function(n){var t=n.indexOf("//");return t>=0?n.substring(t+2):n},h=function(n){return n.endsWith("/")},v=function(n){return window.decodeURIComponent(n.replace(/%(?![0-9a-f]{2})/gi,"%25"))},i=function(){var t=window.location.href;return n.currentScript&&n.currentScript.dataset.url&&(t=v(n.currentScript.dataset.url)),t=o(t),s(t)}(),r=function(){return i.includes("bt-debug")?function(n){window.console.log("Bidtellect Universal Pixel ❯ "+n.toString())}:function(){}}(),y=function(n,t){n=s(o(n));switch(t){case 2:return i.startsWith(n);case 3:return i.includes(n);case 4:return new RegExp(n).test(i);default:return h(i)&&!h(n)&&(n+="/"),i===n}},f=function(t){return n.createElement(t)},t=function(n,t,i){n.setAttribute(t,i||"")},c=function(n,t){n.appendChild(t)},p=function(){return e([["https://www.box.com/",2,[["https://cdn.bttrack.com/js/16175/analytics/1.0/analytics.min.js",2]]],["https://blog.box.com/",1,[["https://cdn.bttrack.com/js/16175/analytics/1.0/analytics.min.js",2]]],["https://events.box.com/security-trends-2024",2,[["https://cdn.bttrack.com/js/16175/analytics/1.0/analytics.min.js",2]]],["https://www.box.com/resources/protect-against-cyberthreats-interactive",2,[["https://bttrack.com/Pixel/Retarget/3036",3]]],["https://www.box.com/resources/unstructured-infographic ",2,[["https://bttrack.com/Pixel/Retarget/3036",3]]],["https://www.box.com/resources/cyber-threats-infographic ",2,[["https://bttrack.com/Pixel/Retarget/3036",3]]],["https://www.box.com/overview",2,[["https://bttrack.com/Pixel/Retarget/3036",3]]],["https://www.box.com/security-compliance",2,[["https://bttrack.com/Pixel/Retarget/3036",3]]]],function(n){return{expression:n[0],matchTypeId:n[1],pixels:e(n[2],function(n){return{url:n[0],type:n[1]}})}})}(),w=function(n){var i=f("img");return t(i,"src",n),t(i,"width","1"),t(i,"height","1"),i},b=function(n){var i=f("script");return t(i,"src",n),t(i,"async"),t(i,"defer"),i},k=function(n){switch(n.type){case 2:case 5:return b(n.url);default:return w(n.url)}},d=function(){var n=f("div");return t(n,"class","bidtellect"),t(n,"style","display: none !important;"),function(){return n}}(),l=function(){r("Loaded");r("URL: "+i);var t=d();r("Starting checks...");u(p,function(n){var i=y(n.expression,n.matchTypeId);r((i?"":"No ")+"Match: ("+n.matchTypeId+") "+n.expression);i&&u(n.pixels,function(n){var i=k(n);r("Pixel Deployed: "+n.url);i&&c(t,i)})});t.firstChild&&c(n.body,t)},a=function(){n.removeEventListener("DOMContentLoaded",a,!1);l()},g=function(n){switch(n){case"complete":case"loaded":case"interactive":return!0}};g(n.readyState)?l():n.addEventListener("DOMContentLoaded",a,!1)})()