f(13)
f(13)
{done:!1,value:a[b++]}:{done:!0}}}var ba=typeof
Object.defineProperties=="function"?Object.defineProperty:function(a,b,c)
{if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function ca(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");}var q=ca(this);function r(a,b){if(b)a:{var
c=q;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&&b!=null&&ba(c,a,{configurable:!
0,writable:!0,value:b})}}
r("Symbol",function(a){function b(h){if(this instanceof b)throw new
TypeError("Symbol is not a constructor");return new c(d+(h||"")+"_"+e++,h)}function
c(h,f){this.g=h;ba(this,"description",{configurable:!0,writable:!
0,value:f})}if(a)return a;c.prototype.toString=function(){return this.g};var
d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
r("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=q[b[c]];typeof d==="function"&&typeof d.prototype[a]!
="function"&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return
da(aa(this))}})}return a});function da(a){a={next:a};a[Symbol.iterator]=function()
{return this};return a}
function ea(a){var b=typeof Symbol!
="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof
a.length=="number")return{next:aa(a)};throw Error(String(a)+" is not an iterable or
ArrayLike");}function t(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var
fa=typeof Object.create=="function"?Object.create:function(a){function b()
{}b.prototype=a;return new b},ha;
if(typeof Object.setPrototypeOf=="function")ha=Object.setPrototypeOf;else{var ia;a:
{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?
function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not
extensible");return a}:null}var la=ha;
function A(a,b)
{a.prototype=fa(b.prototype);a.prototype.constructor=a;if(la)la(a,b);else for(var c
in b)if(c!="prototype")if(Object.defineProperties){var
d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else
a[c]=b[c];a.T=b.prototype}function ma(){this.i=!1;this.g=null;this.s=void
0;this.l=1;this.m=0;this.h=null}function na(a){if(a.i)throw new
TypeError("Generator is already running");a.i=!0}ma.prototype.j=function(a)
{this.s=a};function oa(a,b){a.h={hb:b,jb:!0};a.l=a.m}
ma.prototype.return=function(a){this.h={return:a};this.l=this.m};function pa(a)
{this.g=new ma;this.h=a}function qa(a,b){na(a.g);var c=a.g.g;if(c)return
sa(a,"return"in c?c["return"]:function(d){return{value:d,done:!
0}},b,a.g.return);a.g.return(b);return ta(a)}
function sa(a,b,c,d){try{var e=b.call(a.g.g,c);if(!(e instanceof Object))throw new
TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.i=!
1,e;var h=e.value}catch(f){return
a.g.g=null,oa(a.g,f),ta(a)}a.g.g=null;d.call(a.g,h);return ta(a)}function ta(a)
{for(;a.g.l;)try{var b=a.h(a.g);if(b)return a.g.i=!1,{value:b.value,done:!
1}}catch(c){a.g.s=void 0,oa(a.g,c)}a.g.i=!1;if(a.g.h)
{b=a.g.h;a.g.h=null;if(b.jb)throw b.hb;return{value:b.return,done:!
0}}return{value:void 0,done:!0}}
function ua(a){this.next=function(b){na(a.g);a.g.g?b=sa(a,a.g.g.next,b,a.g.j):
(a.g.j(b),b=ta(a));return b};this.throw=function(b){na(a.g);a.g.g?
b=sa(a,a.g.g["throw"],b,a.g.j):(oa(a.g,b),b=ta(a));return
b};this.return=function(b){return qa(a,b)};this[Symbol.iterator]=function(){return
this}}function va(a){function b(d){return a.next(d)}function c(d){return
a.throw(d)}return new Promise(function(d,e){function h(f){f.done?
d(f.value):Promise.resolve(f.value).then(b,c).then(h,e)}h(a.next())})}
function wa(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-
a]=arguments[c];return b}
r("Promise",function(a){function b(f){this.g=0;this.i=void 0;this.h=[];this.s=!
1;var k=this.j();try{f(k.resolve,k.reject)}catch(g){k.reject(g)}}function c()
{this.g=null}function d(f){return f instanceof b?f:new b(function(k)
{k(f)})}if(a)return a;c.prototype.h=function(f){if(this.g==null){this.g=[];var
k=this;this.i(function(){k.l()})}this.g.push(f)};var
e=q.setTimeout;c.prototype.i=function(f){e(f,0)};c.prototype.l=function()
{for(;this.g&&this.g.length;){var f=this.g;this.g=[];for(var k=0;k<f.length;++k)
{var g=
f[k];f[k]=null;try{g()}catch(l){this.j(l)}}}this.g=null};c.prototype.j=function(f)
{this.i(function(){throw f;})};b.prototype.j=function(){function f(l){return
function(n){g||(g=!0,l.call(k,n))}}var k=this,g=!
1;return{resolve:f(this.D),reject:f(this.l)}};b.prototype.D=function(f)
{if(f===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(f
instanceof b)this.H(f);else{a:switch(typeof f){case "object":var k=f!=null;break
a;case "function":k=!0;break a;default:k=!1}k?this.B(f):this.m(f)}};
b.prototype.B=function(f){var k=void 0;try{k=f.then}catch(g)
{this.l(g);return}typeof k=="function"?
this.I(k,f):this.m(f)};b.prototype.l=function(f)
{this.u(2,f)};b.prototype.m=function(f){this.u(1,f)};b.prototype.u=function(f,k)
{if(this.g!=0)throw Error("Cannot settle("+f+", "+k+"): Promise already settled in
state"+this.g);this.g=f;this.i=k;this.g===2&&this.F();this.A()};b.prototype.F=funct
ion(){var f=this;e(function(){if(f.C()){var k=q.console;typeof k!
=="undefined"&&k.error(f.i)}},1)};b.prototype.C=
function(){if(this.s)return!1;var
f=q.CustomEvent,k=q.Event,g=q.dispatchEvent;if(typeof g==="undefined")return!
0;typeof f==="function"?f=new f("unhandledrejection",{cancelable:!0}):typeof
k==="function"?f=new k("unhandledrejection",{cancelable:!0}):
(f=q.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!
1,!0,f));f.promise=this;f.reason=this.i;return g(f)};b.prototype.A=function()
{if(this.h!=null){for(var f=0;f<this.h.length;++f)h.h(this.h[f]);this.h=null}};var
h=new c;b.prototype.H=
function(f){var k=this.j();f.ia(k.resolve,k.reject)};b.prototype.I=function(f,k)
{var g=this.j();try{f.call(k,g.resolve,g.reject)}catch(l)
{g.reject(l)}};b.prototype.then=function(f,k){function g(v,y){return typeof
v=="function"?function(w){try{l(v(w))}catch(F){n(F)}}:y}var l,n,p=new
b(function(v,y){l=v;n=y});this.ia(g(f,l),g(k,n));return
p};b.prototype.catch=function(f){return this.then(void
0,f)};b.prototype.ia=function(f,k){function g(){switch(l.g){case
1:f(l.i);break;case 2:k(l.i);break;default:throw Error("Unexpected state: "+
l.g);}}var l=this;this.h==null?h.h(g):this.h.push(g);this.s=!
0};b.resolve=d;b.reject=function(f){return new b(function(k,g)
{g(f)})};b.race=function(f){return new b(function(k,g){for(var l=ea(f),n=l.next();!
n.done;n=l.next())d(n.value).ia(k,g)})};b.all=function(f){var
k=ea(f),g=k.next();return g.done?d([]):new b(function(l,n){function p(w){return
function(F){v[w]=F;y--;y==0&&l(v)}}var v=[],y=0;do v.push(void 0),y+
+,d(g.value).ia(p(v.length-1),n),g=k.next();while(!g.done)})};return b});
r("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});
r("WeakMap",function(a){function b(g){this.g=(k+=Math.random()+1).toString();if(g)
{g=ea(g);for(var l;!(l=g.next()).done;)l=l.value,this.set(l[0],l[1])}}function c()
{}function d(g){var l=typeof g;return l==="object"&&g!==null||
l==="function"}function e(g){if(!t(g,f)){var l=new c;ba(g,f,{value:l})}}function
h(g){var l=Object[g];l&&(Object[g]=function(n){if(n instanceof c)return
n;Object.isExtensible(n)&&e(n);return l(n)})}if(function(){if(!a||!
Object.seal)return!1;try{var g=Object.seal({}),l=Object.seal({}),
n=new a([[g,2],[l,3]]);if(n.get(g)!=2||n.get(l)!=3)return!
1;n.delete(g);n.set(l,4);return!n.has(g)&&n.get(l)==4}catch(p){return!1}}())return
a;var
f="$jscomp_hidden_"+Math.random();h("freeze");h("preventExtensions");h("seal");var
k=0;b.prototype.set=function(g,l){if(!d(g))throw Error("Invalid WeakMap
key");e(g);if(!t(g,f))throw Error("WeakMap key fail: "+g);g[f][this.g]=l;return
this};b.prototype.get=function(g){return d(g)&&t(g,f)?g[f][this.g]:void
0};b.prototype.has=function(g){return d(g)&&t(g,
f)&&t(g[f],this.g)};b.prototype.delete=function(g){return
d(g)&&t(g,f)&&t(g[f],this.g)?delete g[f][this.g]:!1};return b});
r("Map",function(a){function b(){var k={};return k.J=k.next=k.head=k}function
c(k,g){var l=k[1];return da(function(){if(l){for(;l.head!=k[1];)l=l.J;for(;l.next!
=l.head;)return l=l.next,{done:!1,value:g(l)};l=null}return{done:!0,value:void
0}})}function d(k,g){var l=g&&typeof g;l=="object"||l=="function"?h.has(g)?
l=h.get(g):(l=""+ ++f,h.set(g,l)):l="p_"+g;var n=k[0]
[l];if(n&&t(k[0],l))for(k=0;k<n.length;k++){var p=n[k];if(g!==g&&p.key!==p.key||
g===p.key)return{id:l,list:n,index:k,v:p}}return{id:l,
list:n,index:-1,v:void 0}}function e(k){this[0]={};this[1]=b();this.size=0;if(k)
{k=ea(k);for(var g;!(g=k.next()).done;)g=g.value,this.set(g[0],g[1])}}if(function()
{if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!
="function")return!1;try{var k=Object.seal({x:4}),g=new
a(ea([[k,"s"]]));if(g.get(k)!="s"||g.size!=1||g.get({x:4})||g.set({x:4},"t")!=g||
g.size!=2)return!1;var l=g.entries(),n=l.next();if(n.done||n.value[0]!=k||
n.value[1]!="s")return!1;n=l.next();return n.done||n.value[0].x!=
4||n.value[1]!="t"||!l.next().done?!1:!0}catch(p){return!1}}())return a;var h=new
WeakMap;e.prototype.set=function(k,g){k=k===0?0:k;var l=d(this,k);l.list||
(l.list=this[0][l.id]=[]);l.v?l.v.value=g:
(l.v={next:this[1],J:this[1].J,head:this[1],key:k,value:g},l.list.push(l.v),this[1]
.J.next=l.v,this[1].J=l.v,this.size++);return this};e.prototype.delete=function(k)
{k=d(this,k);return k.v&&k.list?(k.list.splice(k.index,1),k.list.length||delete
this[0][k.id],k.v.J.next=k.v.next,k.v.next.J=k.v.J,k.v.head=
null,this.size--,!0):!1};e.prototype.clear=function()
{this[0]={};this[1]=this[1].J=b();this.size=0};e.prototype.has=function(k){return!!
d(this,k).v};e.prototype.get=function(k)
{return(k=d(this,k).v)&&k.value};e.prototype.entries=function(){return
c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return
c(this,function(k){return k.key})};e.prototype.values=function(){return
c(this,function(k){return k.value})};e.prototype.forEach=function(k,g){for(var
l=this.entries(),n;!(n=l.next()).done;)n=
n.value,k.call(g,n[1],n[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;
var f=0;return e});r("Number.MAX_SAFE_INTEGER",function(){return
9007199254740991});r("Number.MIN_SAFE_INTEGER",function(){return-
9007199254740991});r("Number.isFinite",function(a){return a?a:function(b){return
typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-
Infinity}});r("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d
in b)t(b,d)&&c.push([d,b[d]]);return c}});
function xa(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!
d&&c<a.length){var h=c++;return{value:b(h,a[h]),done:!1}}d=!0;return{done:!
0,value:void 0}}};e[Symbol.iterator]=function(){return e};return
e}r("Array.prototype.entries",function(a){return a?a:function(){return
xa(this,function(b,c){return[b,c]})}});
r("Array.prototype.findIndex",function(a){return a?a:function(b,c){a:{var d=this;d
instanceof String&&(d=String(d));for(var e=d.length,h=0;h<e;h+
+)if(b.call(c,d[h],h,d)){b=h;break a}b=-1}return b}});/*
Math.uuid.js (v1.4)
http://www.broofa.com
mailto:[email protected]
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var
Of="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");funct
ion Pf(a){for(var b=Array(36),c=0,d,e=0;e<36;e++)e==8||e==13||e==18||e==23?
b[e]="-":e==14?b[e]="4":(c<=2&&(c=33554432+Math.random()*16777216|
0),d=c&15,c>>=4,b[e]=Of[e==19?d&3|8:d]);this.uuid=b.join("");this.callback=a}
function Qf(a){var b=C.imalib_globalCallbacks||new
Map,c=b.get("AFMA_updateActiveView")||[];if(c.length===0&&C.AFMA_updateActiveView)
{var d=new Pf(C.AFMA_updateActiveView);c.push(d);C.AFMA_updateActiveView=void
0}C.AFMA_updateActiveView||(C.AFMA_updateActiveView=function(){var
e=b.get("AFMA_updateActiveView");e=ea(e);for(var h=e.next();!
h.done;h=e.next())h.value.callback.apply(null,arguments)});a=new
Pf(a);c.push(a);b.set("AFMA_updateActiveView",c);C.imalib_globalCallbacks=b;return
a.uuid}
function Rf(a){if(C.AFMA_updateActiveView){var b=C.imalib_globalCallbacks;if(b){var
c=b.get("AFMA_updateActiveView");if(c){var d=c.findIndex(function(e){return
e.uuid===a});d!==-1&&(c.splice(d,1),c.length===0&&(C.AFMA_updateActiveView=void
0),b.set("AFMA_updateActiveView",c),C.imalib_globalCallbacks=b)}}}};function Z(a,b)
{this.messageName=a;this.parameters=b||{}}function Sf(a,b)
{$d.call(this,a.messageName,b);this.params=a.parameters||{}}A(Sf,$d);function Tf()
{var a=this;this.i=[];this.j=window===window.top;this.l=!
1;this.g=0;this.h=null;typeof window.addEventListener!
=="undefined"&&window.addEventListener("message",function(b){return Uf(a,b)})}
function Uf(a,b){var c=b.data;if((b=b.source)&&c){var
d=a.i,e=c.messageName;c=c.parameters;if(a.j)switch(e){case
"mraid_loaded":c=c.is_top_win;c===!1&&(a.l=!0,a.h=Qf(function(h){a.j&&Vf(a,new
Z("update_activeview_action",h))}),d.indexOf(b)===-1&&(d.push(b),typeof
b.postMessage!=="undefined"&&b.postMessage(new
Z("mraid_env_obj",window.MRAID_ENV),"*")));break;case
"start_tracking_action":a.g==0&&window.AFMA_SendMessage("trackActiveViewUnit");a.g+
=1;break;case "stop_tracking_action":--
a.g;a.g==0&&(window.AFMA_SendMessage("untrackActiveViewUnit",
{hashCode:c.hashCode}),a.h&&(Rf(a.h),a.h=null));break;case
"register_iframe_window_action":c=c.is_top_win;c===!1&&d.indexOf(b)===-
1&&d.push(b);break;case
"receive_message_action":c.messageName=="disableMraidOpen"&&window.AFMA_ReceiveMess
age(c.messageName,c.parameters)}else switch(e){case
"mraid_env_obj":window.MRAID_ENV=c;break;case
"update_activeview_action":window.AFMA_updateActiveView&&window.AFMA_updateActiveVi
ew(c);break;case "receive_message_action":window.AFMA_ReceiveMessage(c.messageName,
c.parameters)}}}function Vf(a,b){a.i.forEach(function(c){return
c.postMessage(b,"*")})};function Wf(a){var
b=Lc("gmsg://mobileads.google.com/"+a.messageName);a=new
Map(Object.entries(a.parameters));b=Kc(b).toString();var
c=b.split(/[?#]/),d=/[?]/.test(b)?"?"+c[1]:"";return Rc(c[0],d,/[#]/.test(b)?"#"+
(d?c[2]:c[1]):"",a)};function Xf(a){Q.call(this);this.h=a;this.g={}}Fa(Xf,Q);var
Yf=[];Xf.prototype.listen=function(a,b,c,d){Array.isArray(b)||
(b&&(Yf[0]=b.toString()),b=Yf);for(var e=0;e<b.length;e++){var h=ne(a,b[e],c||
this.handleEvent,d||!1,this.h||this);if(!h)break;this.g[h.key]=h}return
this};function Zf(a){Cc(a.g,function(b,c)
{this.g.hasOwnProperty(c)&&we(b)},a);a.g={}}Xf.prototype.G=function()
{Xf.T.G.call(this);Zf(this)};
Xf.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not
implemented");};function $f(a,b){R.call(this);this.h=a||1;this.g=b||
C;this.j=Ca(this.tb,this);this.m=Date.now()}Fa($f,R);m=$f.prototype;m.U=!
1;m.K=null;m.tb=function(){if(this.U){var a=Date.now()-this.m;a>0&&a<this.h*.8?
this.K=this.g.setTimeout(this.j,this.h-a):
(this.K&&(this.g.clearTimeout(this.K),this.K=null),ye(this,"tick"),this.U&&(ag(this
),this.start()))}};m.start=function(){this.U=!0;this.K||
(this.K=this.g.setTimeout(this.j,this.h),this.m=Date.now())};
function ag(a){a.U=!1;a.K&&(a.g.clearTimeout(a.K),a.K=null)}m.G=function()
{$f.T.G.call(this);ag(this);delete this.g};function bg()
{if(window.googleJsEnvironment&&(window.googleJsEnvironment.environment=="rhino"||
window.googleJsEnvironment.environment=="jscore"))return new
cg;if(Nf&&window.googleAdsJsInterface&&"notify"in
window.googleAdsJsInterface)try{return
window.googleAdsJsInterface.notify("gmsg://mobileads.google.com/noop"),new
cg}catch(a){}else
if(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.gadG
MSGHandler)return new dg;return new eg}function fg(){gg||(gg=bg());return gg}
var gg=null;function hg(){Q.call(this)}A(hg,Q);function ig(a){var
b=Dc(a.parameters);b["google.afma.Notify_dt"]=(new Date).getTime();return Wf(new
Z(a.messageName,b)).toString()}function jg(a,b){Q.call(this);this.m=a;this.s=b||
1;this.j=[];this.i=new $f(this.s);this.u=new
Xf(this);this.u.listen(this.i,"tick",this.A)}A(jg,hg);jg.prototype.sendMessage=func
tion(a){this.j.push(a);this.i.U||
(a=this.j.shift(),this.m(a),this.i.start())};jg.prototype.A=function(){var
a=this.j.shift();a?this.m(a):ag(this.i)};
function eg(){jg.call(this,function(b){var c=a,d=c.g[c.h];if(!d){var
e=document;d="IFRAME";e.contentType==="application/xhtml+xml"&&(d=d.toLowerCase());
d=e.createElement(d);d.id="afma-notify-"+(new
Date).getTime();d.style.display="none";c.g[c.h]=d}c.h=(c.h+1)%25;e=Dc(b.parameters)
;e["google.afma.Notify_dt"]=(new Date).getTime();c=d;b=Wf(new
Z(b.messageName,e));c.src=Kc(b).toString();d.parentNode||
document.body.appendChild(d)});var a=this;this.g=[];this.h=0}A(eg,jg);
eg.prototype.G=function()
{this.g.forEach(Uc);this.g=[];jg.prototype.G.call(this)};function cg()
{Q.call(this)}A(cg,hg);cg.prototype.sendMessage=function(a)
{a=ig(a);window.googleAdsJsInterface&&window.googleAdsJsInterface.notify&&(window.g
oogleAdsJsInterface.notify(a),window.googleAdsJsInterface.DEBUG&&console.log(a))};f
unction dg(){Q.call(this)}A(dg,hg);dg.prototype.sendMessage=function(a)
{a=ig(a);window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandler
s.gadGMSGHandler&&window.webkit.messageHandlers.gadGMSGHandler.postMessage(a)};func
tion kg(){R.call(this);this.h=fg();this.h=fg();var a=Da(Zd,this.h);this.C?a():
(this.l||(this.l=[]),this.l.push(a));this.g={};this.j=new
Tf}A(kg,R);m=kg.prototype;m.sendMessage=function(a,b){var c=this,d;typeof
a==="string"?d=new Z(a,b):a instanceof Z&&(d=a);document.readyState=="loading"?
oe(C,"DOMContentLoaded",function(){return c.h.sendMessage(d)},!
1,this):this.h.sendMessage(d)};
m.receiveMessage=function(a,b)
{if(this.shouldForwardMessageToIframe())this.forwardMessage(new
Z("receive_message_action",new Z(a,b)));else{var
c=document.getElementById("ad_iframe");c!=void 0&&c.contentWindow!=void
0&&c.contentWindow.AFMA_ReceiveMessage!=void
0&&c.contentWindow.AFMA_ReceiveMessage(a,b)}a=="onshow"&&document.readyState=="load
ing"?oe(C,"DOMContentLoaded",function(){return lg(a,b!=null?b:void 0)}):ye(this,new
Sf(new Z(a,b),this))};
m.addObserver=function(a,b,c){function d(e){return void
c.call(b,e.type,e.params)}this.listen(a,d);this.g[a]||(this.g[a]={});this.g[a]
[b]=d};m.removeObserver=function(a,b){this.g[a]&&this.g[a]
[b]&&(ie(this.i,String(a),this.g[a][b]),delete this.g[a]
[b])};m.shouldForwardMessageToIframe=function(){return
this.j.l};m.forwardMessage=function(a){Vf(this.j,a)};function mg(a,b)
{C.AFMA_Communicator?C.AFMA_Communicator.sendMessage(a,b):ng(a,b)}
function ng(a,b){document.readyState=="loading"?
(a=Ca(ng,null,a,b),oe(C,"DOMContentLoaded",a,!1)):(a=new
Z(a,b),fg().sendMessage(a))}function lg(a,b)
{C.AFMA_Communicator.receiveMessage(a,b)}function og(a,b,c,d)
{C.AFMA_Communicator.removeEventListener(a,b,c,d)}function pg(a,b,c,d)
{C.AFMA_Communicator.addEventListener(a,b,c,d)}function qg(a,b,c)
{C.AFMA_Communicator.addObserver(a,b,c)}function rg(a,b)
{C.AFMA_Communicator.removeObserver(a,b)}
C.AFMA_Communicator||
(Ea("AFMA_AddEventListener",pg),Ea("AFMA_RemoveEventListener",og),Ea("AFMA_AddObser
ver",qg),Ea("AFMA_RemoveObserver",rg),Ea("AFMA_ReceiveMessage",lg),Ea("AFMA_SendMes
sage",mg),C.AFMA_Communicator=new kg);pg("onshow",function()
{});pg("onhide",function(){});function sg(a,b){R.call(this);var
c=this;this.g=b;a.listen("wtaClicked",function(d){if(c.g.openAttributionInline){var
e=d.detail;d=e.underlyingEvent;e=e.wtaUrl;window.adSlot?
window.adSlot.openAttribution(e)&&d.preventDefault():window.openAttribution&&(windo
w.openAttribution(e),d.preventDefault())}});a.listen("updateGpid",function(d)
{switch(d.detail.gpidType){case 1:tg(d);break;case 2:ug(d);break;case
3:tg(d),ug(d)}})}A(sg,R);
function tg(a){var
b=a.detail.gpidPersonalizationEnabled,c=window.AFMA_Communicator;c&&(a.detail.gpidS
houldResetAdsData&&c.sendMessage("resetPAID"),c.sendMessage("setPAIDPersonalization
Enabled",{enabled:b}))}function ug(a){var b={userOptOut:!
a.detail.gpidPersonalizationEnabled};a.detail.gpidShouldResetAdsData&&(b.clearAdsDa
ta=!0);for(a=window;a!==a.parent&&Yc(a);)a=a.parent;b.googMsgType="gpi-
uoo";a.postMessage(JSON.stringify(b),"*")};function vg()
{this.g=this.h=null}vg.prototype.createAttributionCard=function(a){var
b=this;this.g=a;Wd(480,function(){if(b.g.hasUserFeedbackData){var
c=yc(JSON.stringify(b.g.serializedAttributionData)),d=fc(c,wc,1);d=M(d);if(!
(d&&(K(d,1)&&K(d,2)||K(d,11)&&K(d,12))&&K(d,3)&&K(d,5)&&K(d,6)&&K(d,7)))throw
Error("invalid jspb ufd");b.h=new Cf(c,b.g);new sg(b.h,b.g)}else throw Error("bad
card ufd");})};vg.prototype.expandAttributionCard=function(){var
a=this;Wd(481,function(){a.h!=null&&(a.h.ua(),a.h.oa())})};var wg=new
vg;bd(5,C).resolve(wg);}).call(this);