c.amazon-adsystem.com Open in urlscan Pro
13.224.196.140  Public Scan

Submitted URL: http://c.amazon-adsystem.com/bao-csm/forensics/a9-tq-forensics-incremental.min.js
Effective URL: https://c.amazon-adsystem.com/bao-csm/forensics/a9-tq-forensics-incremental.min.js
Submission Tags: falconsandbox
Submission: On November 25 via api from US — Scanned from GB

Form analysis 0 forms found in the DOM

Text Content

(function(p,n,w,l){var r={EX:{}};(function(){return"object"===typeof performance&&"function"===typeof performance.now?function(){return performance.now()}:"function"===typeof Date.now?Date.now:function(){return(new Date).getTime()}})();var u=function(a,b,c,e){var f={};try{if(5<=e)return{};b=b||n;c=c||a;for(var k,g=Object.keys(c),d,h=0;h<g.length;h++)d=g[h],k=c[d],"object"!==typeof k||Array.isArray(k)?f[d]=b[d]:f[d]=null==b[d]?null:u(a,b[d],c[d],e+1)}catch(l){m(l,"ex in collecting-")}return f},v=function(a,
b){var c="";try{var e=b.toString(),e=e.replace(/\n/g,"").replace(/\s\s+/g," ");c=e==="function "+a+"() { [native code] }"||e==="function "+a+"() { [native code]}"?"0x6":e=e.replace(/function/,"fx").replace(/\[native code\]/,"nc")}catch(f){c="ex"}return c},s=function(a,b,c,e){var f=[];try{if(5<=e)return[];c=c||b;for(var k=Object.keys(c),g=0;g<k.length;g++){var d=k[g];if("object"!=typeof c[d]||null==c[d]||Array.isArray(c[d]))switch(!0){case !0===a[d]:f[g]=1;break;case !1===a[d]:f[g]=0;break;case 0===
a[d]:f[g]=0;break;case "function"===typeof a[d]:f[g]=v(d,a[d]);break;case null!=a[d]:f[g]=a[d];break;default:f[g]=null}else f[g]=null!=a[d]?s(a[d],b,c[d],e+1):s({},b,c[d],e+1)}}catch(h){m(h,"ex in compression-")}return f},q=function(a,b){try{p.ue&&p.ue.event&&p.ue.event(x(b,a),"a9_tq","a9_tq.FraudMetrics.3")}catch(c){m(c,"ex in logging-")}},h=function(a,b,c){try{q(b+a.stack,c)}catch(e){m(e,"ex in logging-")}},m=function(a,b){p.ueLogError&&p.ueLogError(a,{logLevel:"ERROR",attribution:"A9TQForensics",
message:b})},y=function(){try{if(l&&l.userAgent&&/chrome/i.test(l.userAgent)&&l.userAgentData&&l.userAgentData.brands)for(var a=l.userAgentData.brands,b=0;b<a.length;b++)if(a[b].brand&&/google/i.test(a[b].brand))return!0;return!1}catch(c){h(c,"ex in identifying Chrome Browser ","103")}},t=function(a){try{a&&!a.stack&&(a.stack=a.toString())}catch(b){h(b,"ex in populating stack trace ","100")}},x=function(a,b){try{var c={vfrd:a};"object"===typeof b?c.info=JSON.stringify(b,function(a,b){return"function"===
typeof b?v(a,b):b}):"string"===typeof b&&(c.info=b);return{server:window.location.hostname,fmp:c}}catch(e){return m(e,"ex in constructing pixel - "),{server:window.location.hostname,fmp:{vfrd:"0"}}}};(function(a,b){try{try{try{r.mimeTypesLength=n.navigator.mimeTypes.length,r.pluginsLength=n.navigator.plugins.length}catch(c){h(c,"ex in basic props ","30")}n.a9tqDerivedFeatures=r}catch(e){h(e,"ex in evaluation-","30")}var f=u(a,b,null,0);try{n.a9tqDerivedFeatures=null,delete n.a9tqDerivedFeatures}catch(k){h(k,
"ex in deleting derivedFeatures-","30")}var g=s(f,a,null,0);q(g,"12")}catch(d){m(d,"ex in full attribute flow-")}})({window:{innerHeight:0,innerWidth:0,outerWidth:0,outerHeight:0,length:0,callPhantom:"",__phantomas:"",PhantomEmitter:"",_phantom:"",_WEBDRIVER_ELEM_CACHE:"",domAutomationController:"",domAutomation:"",spawn:"",emit:"",Buffer:"",TEMPORARY:"",external:"",Components:{classes:"",wdIStatus:"",wdIMouse:"",wdICoordinate:"",interfaces:"","interface":{nsICommandProcessor:""}},netscape:{security:{privilegemanager:""}},
isExternalUrlSafeForNavigation:0,opera:{_browserjsran:""},onabsolutedeviceorientation:"",onstorage:"",chrome:"",clearInterval:"",clearTimeout:"",eval:"",alert:"",prompt:"",scroll:"",onhelp:"",maxConnectionsPerServer:"",opr:"",devicePixelRatio:"",webdriver:"",InstallTrigger:"",safari:"",ontouchstart:""},screen:{availHeight:0,availWidth:0,width:0,height:0,colorDepth:0,pixelDepth:0,orientation:{angle:0,onchange:0}},navigator:{appCodeName:"",appName:"",appVersion:"",deviceMemory:0,doNotTrack:0,hardwareConcurrency:0,
language:"",maxTouchPoints:0,product:"",productSub:0,vendor:"",vendorSub:"",userAgent:"",languages:[],platform:"",webdriver:0,msLaunchUri:"",permissions:"",oscpu:"",msMaxTouchPoints:"",userAgentData:""},document:{id:"",height:"",width:"",except:"",style:{position:"",top:"",left:"",visibility:"",opacity:"",hidden:"",webkitHidden:"",msHidden:"",mozHidden:""},referer:"",webdriver:""},a9tqDerivedFeatures:{mimeTypesLength:"",pluginsLength:"",EX:{a:[],b:[]}},history:{length:""}},n);(function(){var a=[];
try{var b=Date.now(),c="function"===typeof w.hasPrivateToken?1:0,e="www.amazon.com"===n.location.hostname?1:0,f="function"===typeof AbortController?1:0,k=y()?1:0;if(k&&c&&e&&f){var g=atob("aHR0cHM6Ly93d3cuYW1hem9uLmNvbS90dC9p"),d=new AbortController,l=setTimeout(function(){try{d.abort()}catch(a){t(a),h(a,"ex in set PST timeout ","100")}},2E3);fetch(g,{privateToken:{version:1,operation:"token-request"},signal:d.signal}).then(function(c){a=[1,Date.now()-b,c.status];q(a,"101")})["catch"](function(a){t(a);
h(a,"ex in PST Issuance API call ","100")})["finally"](function(){clearTimeout(l)})}else a=[0,Date.now()-b,k,c,e,f],q(a,"101")}catch(m){t(m),h(m,"ex in PST issuance flow ","102")}})()})(ue_csm,window,document,navigator);