pagead2.googlesyndication.com Open in urlscan Pro
2404:6800:4003:c0f::9a  Public Scan

URL: http://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js
Submission: On August 27 via manual from SG — Scanned from SG

Form analysis 0 forms found in the DOM

Text Content

if(!window['googleNDT_']){window['googleNDT_']=(new Date()).getTime();}(function() {window.googleAltLoader=3;var sffeData_={service_host:"pagead2.googlesyndication.com",hash:"14998278037559159588",packages:"registrar",module:"ads",version:"1",m:{cei:"17301293,17301321,17301323",ah:true,uatm:500,ecfc2:true,llrm:1000,lldl:"bS5zZWFycy5jb20=",abf:{"_enableLazyLoading":true,"_enableMudskipperForCse":true,"_fixCtcLinksOnIos":true,"_googEnableQup":true,"_useServerProvidedDomain":true,"_waitOnConsentForFirstPartyCookie":true,"enableEnhancedTargetingRsonc":true,"enableNonblockingSasCookie":true},mdp:1800000,ssdl:"YXBwc3BvdC5jb20sYmxvZ3Nwb3QuY29tLGJyLmNvbSxjby5jb20sY2xvdWRmcm9udC5uZXQsZXUuY29tLGhvcHRvLm9yZyxpbi5uZXQsdHJhbnNsYXRlLmdvb2csdWsuY29tLHVzLmNvbSx3ZWIuYXBw",rsm:10}};/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var h=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},k="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},m=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},n=m(this),p=function(a,b){if(b)a:{var c=n;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&k(c,a,{configurable:!0,writable:!0,value:b})}};
p("Symbol",function(a){if(a)return a;var b=function(f,g){this.m=f;k(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.m};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e});
p("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=n[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&k(d.prototype,a,{configurable:!0,writable:!0,value:function(){return q(h(this))}})}return a});
var q=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},r=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};p("Array.prototype.entries",function(a){return a?a:function(){return r(this,function(b,c){return[b,c]})}});
var t=this||self,u=function(a,b){function c(){}c.prototype=b.prototype;a.F=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.D=function(d,e,f){for(var g=Array(arguments.length-2),l=2;l<arguments.length;l++)g[l-2]=arguments[l];return b.prototype[e].apply(d,g)}};function v(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,v);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}u(v,Error);v.prototype.name="CustomError";function w(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");v.call(this,c+a[d])}u(w,v);w.prototype.name="AssertionError";var x=function(a,b){throw new w("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var y=function(a){y[" "](a);return a};y[" "]=function(){};var A=function(a){if(z!==z)throw Error("SafeUrl is not meant to be built directly");this.C=a};A.prototype.toString=function(){return this.C.toString()};var z={};new A("about:invalid#zClosurez");new A("about:blank");var B={},C=function(){if(B!==B)throw Error("SafeStyle is not meant to be built directly");this.B=""};C.prototype.toString=function(){return this.B.toString()};new C;var D={},E=function(){if(D!==D)throw Error("SafeStyleSheet is not meant to be built directly");this.A=""};E.prototype.toString=function(){return this.A.toString()};new E;var F={},G=function(){var a=t.trustedTypes&&t.trustedTypes.emptyHTML||"";if(F!==F)throw Error("SafeHtml is not meant to be built directly");this.v=a};G.prototype.toString=function(){return this.v.toString()};new G;var H=function(a,b){this.name=a;this.value=b};H.prototype.toString=function(){return this.name};var I=new H("OFF",Infinity),J=new H("WARNING",900),K=new H("CONFIG",700),L=function(){this.g=0;this.clear()},M;L.prototype.clear=function(){this.i=Array(this.g);this.j=-1;this.l=!1};var N=function(a,b,c){this.reset(a||I,b,c,void 0,void 0)};N.prototype.reset=function(){};
var O=function(a,b){this.level=null;this.s=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.u={h:function(){return a}}},P=function(a){if(a.level)return a.level;if(a.parent)return P(a.parent);x("Root logger has no level set.");return I},aa=function(a,b){for(;a;)a.s.forEach(function(c){c(b)}),a=a.parent},ba=function(){this.entries={};var a=new O("");a.level=K;this.entries[""]=a},Q,R=function(a,b){var c=a.entries[b];if(c)return c;c=R(a,b.slice(0,Math.max(b.lastIndexOf("."),0)));var d=new O(b,
c);a.entries[b]=d;c.children.push(d);return d},S=function(){Q||(Q=new ba);return Q};/*

 SPDX-License-Identifier: Apache-2.0
*/
var T=[],U=function(a){var b;if(b=R(S(),"safevalues").u){var c="A URL with content '"+a+"' was sanitized away.",d=J;if(a=b)if(a=b&&d){a=d.value;var e=b?P(R(S(),b.h())):I;a=a>=e.value}if(a){d=d||I;a=R(S(),b.h());"function"===typeof c&&(c=c());M||(M=new L);e=M;b=b.h();if(0<e.g){var f=(e.j+1)%e.g;e.j=f;e.l?(e=e.i[f],e.reset(d,c,b),b=e):(e.l=f==e.g-1,b=e.i[f]=new N(d,c,b))}else b=new N(d,c,b);aa(a,b)}}};-1===T.indexOf(U)&&T.push(U);var V=function(){var a=window;if(a.top==a)return 0;a=a.top;try{var b;if(b=!!a&&null!=a.location.href)b:{try{y(a.foo);b=!0;break b}catch(d){}b=!1}var c=b}catch(d){c=!1}return c?1:2};function W(a,b,c){null!=c&&""!==c&&(a+=encodeURIComponent(b)+"="+encodeURIComponent(c)+"&");return a}function X(a){window.google_afd_request=null;window.google_afd_ad_request_done&&window.google_afd_ad_request_done(a)}
function ca(a){var b=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b.open("GET",a,!0);b.responseType="json";X&&(b.onreadystatechange=function(){if(4==b.readyState){if("string"==typeof b.response)var c=JSON.parse(b.response);else"object"==typeof b.response&&(c=b.response);X(c)}});b.send()}function Y(a){var b=window,c=document.referrer;1==a&&(c=b.top.document.referrer);return c}
function Z(){var a=window.google_afd_request;window.onerror=da;if(a)if(a.client)if(a.api&&"2"==a.api){var b=(new Date).getTime(),c=-(new Date).getTimezoneOffset(),d=V(),e=Y(d);window.screen&&(a.u_h=window.screen.height,a.u_w=window.screen.width);var f=a.domain_name&&a.adtest&&"on"==a.adtest?a.domain_name:document.domain;a={output:"afd_ads",adtest:a.adtest,client:a.client.replace(/^ca-/,""),afdt:"create"==a.session_token?"create":a.token,swp:a.drid,domain_name:f,dt:b,u_tz:c,u_his:window.history.length,
u_h:a.u_h,u_w:a.u_w,frm:d,ref:e};b="https://www.google.com/dp/ads?";for(var g in a)b=W(b,g,a[g]);a=b=b.slice(0,-1)}else if("ca-rs-"==a.client.substring(0,6)||"partner-rs-"==a.client.substring(0,11)||"rs-"==a.client.substring(0,3)||a.domain_name){g=(new Date).getTime();c=-(new Date).getTimezoneOffset();d=V();e=Y(d);window.screen&&(a.u_h=window.screen.height,a.u_w=window.screen.width);a={output:"afd_ads",client:a.client.replace(/^ca-/,""),domain_name:a.domain_name,adtest:a.adtest,afdt:"create"==a.session_token?
"create":a.token,url:a.url,swp:a.drid,dt:g,u_tz:c,u_his:window.history.length,u_h:a.u_h,u_w:a.u_w,frm:d,ref:e};g="https://www.google.com/dp/ads?";for(b in a)g=W(g,b,a[b]);a=g=g.slice(0,-1).substring(0,2E3)}else X({error_code:202}),a=null;else X({o:201}),a=null;else X({o:200}),a=null;a&&ca(a)}function da(){Z();return!0}Z();
})();