(function(){var m=this,n=function(a){return"string"==typeof a},r="closure_uid_"+(1E9*Math.random()>>>0),aa=0,ba=function(a,b,c){return a.call.apply(a.bind,arguments)},ca=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},t=function(a,b,c){t=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
ba:ca;return t.apply(null,arguments)},da=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},u=Date.now||function(){return+new Date},ea=function(){var a=v,b=w;function c(){}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new c;a.na=function(a,c,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[c].apply(a,g)}};var x=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},y=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},z=function(a,b){return a<b?-1:a>b?1:0};var w=function(a,b){this.ka=a;this.F=b;var c=document.documentMode;this.S=c&&10>c;this.g={};this.w=!1},C=function(a){a.w=!0;for(var b in a.g)a.g[b].G&&A(a,b),B(a,b)},E=function(a,b){var c=b.n;switch(b.t){case 1:var d=b.d,c=D(a,c);c.G(d);break;case 2:var d=a,e=D(d,c);e.H=!0;B(d,c)}},D=function(a,b){a.g[b]||(a.g[b]={H:!1,B:[],G:null});return a.g[b]},B=function(a,b){var c=D(a,b);if(c.H){for(var d=c.B.length,e=0;e<d;e++)a.sendMessage(b,c.B[e]);c.B=[]}},A=function(a,b){if(a.w){var c={t:2};c.s=a.F;c.n=
b;a.send(c)}};w.prototype.C=function(a,b){var c=D(this,a);c.G=b;A(this,a)};w.prototype.sendMessage=function(a,b){var c=D(this,a);this.w&&c.H?(c={t:1},c.s=this.F,c.n=a,c.d=b,this.send(c)):c.B.push(b)};w.prototype.da=function(){return this.w};var v=function(a,b,c,d){var e;try{e=!!document.cookie}catch(f){e=!1}if(e&&(e=window.location.origin||window.location.protocol+"//"+window.location.host,!0!==window.secureChannel_allowAnyParent&&b!==e&&-1===c.indexOf(e)))throw Error();window.postMessage&&(w.call(this,a,d),this.T=!!window.MessageChannel,this.D=b,this.b=this.A=null,window.addEventListener("message",t(this.aa,this),!1),window.addEventListener("load",t(this.ca,this),!1))};ea();
v.prototype.send=function(a){this.T?this.A&&this.A.postMessage(a):(a=this.S?JSON.stringify(a):a,this.b.contentWindow.postMessage(a,"*"))};
v.prototype.ca=function(){var a={t:0};a.s=this.F;if(this.T){var b=new MessageChannel;this.A=b.port1;this.A.onmessage=t(function(a){E(this,a.data)},this);this.ka.postMessage(a,this.D,[b.port2]);C(this)}else this.b=document.createElement("iframe"),this.b.style.display="none",b='<!doctype html><html><head><script>window.addEventListener("message",function(e){e.source.parent.postMessage(e.data,'+JSON.stringify(this.D)+");},false);\x3c/script></head><body></body></html>",this.b.srcdoc=b,this.b.src="javascript:'"+
encodeURI(b)+"'",this.b.onload=t(function(){this.send(a);C(this)},this),document.body.appendChild(this.b)};v.prototype.aa=function(a){var b;b=a.data;b=this.S?JSON.parse(b):b;b.s!==this.F||a.source!==window.parent||"*"!==this.D&&a.origin!==this.D||E(this,b)};var F=window;var fa=function(a,b,c,d){var e=null,f=null,g=null,h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=c,d&&(h+=":"+d));e&&(h+=e);f&&(h+="?"+f);g&&(h+="#"+g);return h},G=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,H=function(a){var b=!0;return a?b?decodeURI(a):decodeURIComponent(a):a};var I=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(n(a))return n(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ha=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},ia=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};var ja=function(a,b){var c,d;for(d in a)b.call(c,a[d],d,a)},ka=function(a,b){var c,d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d},la=function(a,b){var c,d;for(d in a)if(b.call(c,a[d],d,a))return d};var J;a:{var ma=m.navigator;if(ma){var na=ma.userAgent;if(na){J=na;break a}}J=""}var K=function(a){var b=J;return-1!=b.indexOf(a)},oa=function(){var a="WebKit",b=J;return-1!=b.toLowerCase().indexOf(a.toLowerCase())};var pa=K("Opera")||K("OPR"),L=K("Trident")||K("MSIE"),qa=K("Edge"),M=K("Gecko")&&!(oa()&&!K("Edge"))&&!(K("Trident")||K("MSIE"))&&!K("Edge"),ra=oa()&&!K("Edge"),ua=function(){if(pa&&m.opera){var a;var b=m.opera.version;try{a=b()}catch(c){a=b}return a}a="";(b=sa())&&(a=b?b[1]:"");return L&&(b=ta(),b>parseFloat(a))?String(b):a},sa=function(){var a=J;if(M)return/rv\:([^\);]+)(\)|;)/.exec(a);if(qa)return/Edge\/([\d\.]+)/.exec(a);if(L)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ra)return/WebKit\/(\S+)/.exec(a)},
ta=function(){var a=m.document;return a?a.documentMode:void 0},va=ua(),wa={},xa=function(a){if(!wa[a]){var b,c=a;b=va;var d=0;b=y(String(b)).split(".");for(var c=y(String(c)).split("."),e=Math.max(b.length,c.length),f=0;0==d&&f<e;f++){var g=b[f]||"",h=c[f]||"",p=RegExp("(\\d*)(\\D*)","g"),k=RegExp("(\\d*)(\\D*)","g");do{var q=p.exec(g)||["","",""],l=k.exec(h)||["","",""];if(0==q[0].length&&0==l[0].length)break;var d=0==q[1].length?0:parseInt(q[1],10),ga=0==l[1].length?0:parseInt(l[1],10),d=z(d,ga)||
z(0==q[2].length,0==l[2].length)||z(q[2],l[2])}while(0==d)}b=d;wa[a]=0<=b}},ya,za=m.document,Aa=ta(),Ba=ya=za&&L?Aa||("CSS1Compat"==za.compatMode?parseInt(va,10):5):void 0;var N;if(!(N=!M&&!L)){var O;if(O=L){var Ca=9;O=Number(Ba)>=Ca}N=O}N||M&&xa("1.9.1");L&&xa("9");var Da=function(a,b){var c,d;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(c,a[d],d,a)};var Ea=function(a,b,c){var d;a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)},Fa=function(a,b,c){var d;a.removeEventListener?a.removeEventListener(b,c,d||!1):a.detachEvent&&a.detachEvent("on"+b,c)};var Ha=function(){var a;a="http"+(Ga()?"":"s")+"://";a+="pagead2.googlesyndication.com/pagead/gen_204?id=";var b=.01;this.U=a;this.X=b;this.ja=Math.random()},Ia=function(a){var b="",c=function(a,c){if(0===a||a)b+="&"+c+"="+encodeURIComponent(String(a))};Da(a,c);return b},Ja=function(a,b){var c=m;c.google_image_requests||(c.google_image_requests=[]);var d=c.document.createElement("img");if(b){var e=function(a){b(a);Fa(d,"load",e);Fa(d,"error",e)};Ea(d,"load",e);Ea(d,"error",e)}d.src=a;c.google_image_requests.push(d)};var Ka=function(a,b){var c,d;d=d||document;var e=d.createElement("script");e.type="text/javascript";b&&(void 0!==e.onreadystatechange?e.onreadystatechange=function(){if("complete"==e.readyState||"loaded"==e.readyState)try{b()}catch(a){}}:e.onload=b);c&&(e.id=c);e.src=a;var f=d.getElementsByTagName("head")[0];if(f)try{window.setTimeout(function(){f.appendChild(e)},0)}catch(g){}},Ga=function(){var a;return"http:"===(a||F).location.protocol};var P=function(a,b){this.V=b;this.J=null;this.j="";this.a="1";Ka(a,t(this.ba,this))};P.prototype.ba=function(){this.a=null;if(window.botguard)if(window.botguard.bg)try{this.J=new window.botguard.bg(this.V)}catch(a){this.a="5"}else this.a="3";else this.a="2"};var La=function(a){if(a.a)return"";if(!a.J.invoke)return a.a="4","";var b;try{b=a.J.invoke()}catch(c){return a.a="6",""}return b&&b.length?b:(a.a="6","")};
P.prototype.getError=function(){return this.a?this.a:this.j.length?3>this.j.length?"7":770<this.j.length?"8":null:null};var Ma={CLOSE:"c",DIRECTIONS:"d",IN_APP_PURCHASE:"p",LOCATION:"l",TELEPHONE:"t",LOCATION_FORMAT_MAP:"l_m",LOCATION_FORMAT_LANDING_PAGE:"l_l",LOCATION_FORMAT_STORE_INFO:"l_s",LOCATION_FORMAT_DIRECTIONS:"l_d",LOCATION_FORMAT_CALL:"l_c",LOCATION_FORMAT_TEXT:"l_t",LOCATION_FORMAT_IMAGE:"l_i",QUERY:"q"};var Q=function(a,b){this.h=a;this.l=b;this.K=[];this.I=Infinity;this.v=null;var c=this.l.bg;c&&(this.v=new P(c.u,c.c));this.h.C("event",t(this.$,this));window.addEventListener("click",t(this.fa,this),!0);window.addEventListener("touchstart",t(this.ga,this),!0);Na(this);this.exit=this.Y;this.exitNonCharging=this.Z;this.RedirectType=Ma;this.reportInteraction_=this.ha;this.updateUrls_=this.ma},Na=function(a){a.h.C("exit-pmcfg",t(function(a){this.N=a},a))};
Q.prototype.Y=function(a,b){Oa(this,a,void 0,b)};Q.prototype.Z=function(a){Oa(this,a,38)};Q.prototype.ha=function(a){var b={};b.i=a;this.h.sendMessage("interactions",b)};Q.prototype.ma=function(a){var b={};b.f=a;this.h.sendMessage("url_update",b)};
var Oa=function(a,b,c,d){var e;if(1!=a.l.exit_strategy||d)e=!1;else{var f;if(f=b)f=(f=(f=a.l.google_template_data)&&f.adData)&&f[0]&&f[0][b];f=f||a.l.redirect_url;e=n(f)&&(f.match(G)[1]||null);e=n(e)&&0==e.toLowerCase().indexOf("http")?null!=F.open(f,"_blank"):!1}f={};f.f=b;f.c=c;f.r=d;f.d=a.K;f.o=e;a.v&&(b=a.v,b.j=La(b),b=b.j,f.br=b,f.be=a.v.getError());a.N&&F.parent.postMessage?(b={},b.n=a.N,b.er=f,F.parent.postMessage(b,"*")):a.h.sendMessage("exit",f)},Pa=function(a,b,c,d){var e={};e.x=b;e.y=c;
e.e=d;e.t=Date.now()-a.I;e.ts=Date.now();a.K.push(e)};Q.prototype.fa=function(a){Pa(this,a.clientX,a.clientY,0)};Q.prototype.ga=function(a){a.changedTouches&&0<a.changedTouches.length&&Pa(this,a.changedTouches[0].clientX,a.changedTouches[0].clientY,1)};Q.prototype.$=function(a){switch(a.e){case "onshow":this.I=u()}};var Qa;Qa=new Ha;var Sa=function(a){var b,c=b||Ra;return function(){var b=this||m,b=b.closure_memoize_cache_||(b.closure_memoize_cache_={}),e=c(a[r]||(a[r]=++aa),arguments);return b.hasOwnProperty(e)?b[e]:b[e]=a.apply(this,arguments)}},Ra=function(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};var Ta=["googleads.g.doubleclick.net","adclick.g.doubleclick.net","www.googleadservices.com","adclick.googleadservices.com"];var Ua=["destinationUrl","displayUrl"],Va="googlesyndication.com googleadservices.com googleusercontent.com doubleclick.net youtube.com googleapis.com gstatic.com google-analytics.com".split(" "),Wa=Sa(function(a,b,c,d){d=d||{};d.i=a.W;d.t=a.la;d.c=b;d.m=c;d.lp=a.ea;a.L&&(d.e=a.L);a.M&&(d.gqi=a.M);a.O&&(d.qqi=a.O);a.ia(d)}),Xa=function(a,b){return function(c,d,e){var f={};e&&(f.jsl=e);d&&(f.jsf=d);Wa(a,"j",c,f);b&&b(c,d,e)}},Ya=function(a){var b=a.match(G),c=function(a){return x(b[3],a)};return ia(Va,
c)?a:fa(b[1],b[2],b[3],b[4])},$a=function(a,b,c){var d={},e=0,f=function(a,b,c,f){d["a"+e]=a;null!=b&&(d["f"+e]=b);null!=c&&null!=f&&(d["s"+e]=c,d["d"+e]=f);e++};0!=b&&f("layout","layout",0,b.toFixed(4));if(b=window.performance&&window.performance.timing)b=b.responseEnd-b.navigationStart,f("http"+(Ga()?"":"s"),"layout_html",0,b.toFixed(4));window.performance&&window.performance.getEntries&&(ha(window.performance.getEntries(),function(b){var d=la(c,function(a){return b.name&&x(b.name,a)});d&&d in c&&
delete c[d];if(Za(b.name)&&a.R){var e=0<b.startTime?b.startTime.toFixed(4):null,k=0<b.responseEnd?(b.responseEnd-b.startTime).toFixed(4):null;f(Ya(b.name),d,e,k)}}),(a.R||a.P)&&ja(c,function(a,b){f(a,b,-1,-1)}));0<e&&Wa(a,"p","",d)},ab=function(a){return ka(a,function(a,c){return n(a)&&Za(a)&&!(0<=I(Ua,c))})},Za=function(a){var b;if(b=/^(https?:)?\/\//.test(a))(b=a)?(a=H(b.match(G)[5]||null))?(b=b?(b=H(b.match(G)[3]||null))?0<=I(Ta,b):!1:!1,a=b&&-1!=a.indexOf("/aclk")):a=!1:a=!1,b=!a;return b},bb=
function(a,b,c,d,e){var f=t(Function.prototype.apply,b,c,Array.prototype.slice.call(arguments,3));if(d&&d.monitoring){var g;g=d.monitoring;g={W:g.creativeId||-1,la:g.templateId||-1,L:g.experimentId,P:g.reportErrors||!1,R:g.reportPerf||!1,ia:a,ea:g.layoutPath,M:g.gqi,O:g.qqi};var h=d.monitoring.loadTime?u()-d.monitoring.loadTime:0,p=d.google_template_data.adData[0],k=g,p=ab(p),k=da($a,k,h,p);window.setTimeout(k,1E4);if(g.P){k=window.onerror;window.onerror=Xa(g,k);try{f()}catch(l){var f=Xa(g,k),q;g=
l.toString();l.name&&-1==g.indexOf(l.name)&&(g+=": "+l.name);l.message&&-1==g.indexOf(l.message)&&(g+=": "+l.message);if(l.stack){k=l.stack;p=g;try{for(-1==k.indexOf(p)&&(k=p+"\n"+k);k!=q;)q=k,k=k.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");g=k.replace(/\n */g,"\n")}catch(ga){g=p}}q=g;f(q,l.lineNumber,l.fileName)}}else f()}else f()},cb=function(a){var b,c="html5-mon",d=1,e="jserror"!=c,f=Qa;try{var g,h=d||f.X,p=e?f.ja:Math.random();if(g=p<h){var k=f.U+c+Ia(a),k=k.substring(0,2E3);"undefined"===
typeof b?Ja(k):Ja(k,b)}}catch(q){}};for(var R,db=window.location.hash.substring(1),eb={},fb=db.split("&"),S=0;S<fb.length;S++){var gb=fb[S].split("=");eb[gb[0]]=decodeURIComponent(gb[1])}R=eb;var T=R.p;0!=T.indexOf("http")&&(T="*");var U;var hb=window.parent,ib=T,jb=["http://pagead2.googlesyndication.com","https://pagead2.googlesyndication.com","http://tpc.googlesyndication.com","https://tpc.googlesyndication.com","https://adwords-displayads.googleusercontent.com"],kb=R.t;try{U=new v(hb,ib,jb,kb)}catch(a){U=null}
if(U){U.C("adData",function(a){if(window.onAdData){var b=new Q(U,a),c=Date.now();b.I=c;bb(cb,window.onAdData,window,a,b)}});var lb,V=U,mb=lb||"secureChannel",nb=V,ob,pb=mb,qb=nb,rb=ob,W=pb.split("."),X=rb||m;W[0]in X||!X.execScript||X.execScript("var "+W[0]);for(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length){var sb=qb;Z=void 0!==sb}Z?X[Y]=qb:X=X[Y]?X[Y]:X[Y]={}}var tb=V;tb.registerApplicationHandler=V.C;var ub=V;ub.sendMessage=V.sendMessage;var vb=V;vb.isInitialized=V.da};})()
