(function(){var e,g=this,aa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b},h=function(a){return"array"==aa(a)},ba=function(a){var b=aa(a);return"array"==b||"object"==b&&"number"==typeof a.length},l=function(a){return"string"==typeof a},n=function(a){return"number"==typeof a},p=function(a){return"function"==aa(a)},ca="closure_uid_"+(1E9*Math.random()>>>0),da=0,ea=function(a,b,c){return a.call.apply(a.bind,arguments)},fa=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)}},ga=function(a,b,c){ga=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ea:fa;return ga.apply(null,arguments)},q=function(a,b){function c(){}c.prototype=b.prototype;a.gc=b.prototype;a.prototype=new c};var r=function(a){a=parseFloat(a);return isNaN(a)||1<a||0>a?0:a},ha=/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,s=function(a,b){if(!a)return b;var c=a.match(ha);return c?c[0]:b};var ia=r("0.02"),ja=r("1"),ka=r("1");var la=r("0.005"),ma=r("0.01"),na=r("0.001"),oa=parseInt("1500",10),pa=isNaN(oa)?1500:oa,qa=r("0.01"),ra=r("1.0");var sa=/^true$/.test("false")?!0:!1;var ta=function(){return s("","pagead2.googlesyndication.com")};var v=function(a){return/^[\s\xa0]*$/.test(a)};var ua=function(a,b){this.width=a;this.height=b};ua.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};ua.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var va="http://"+ta()+"/pagead/show_ads.js";var w=function(){return g.googletag||(g.googletag={})},y=function(a,b,c){var d=w();a in d&&!c||(d[a]=b)},wa=function(a,b){a.addEventListener?a.addEventListener("load",b,!1):a.attachEvent&&a.attachEvent("onload",b)};var z={};z[1]=ta();z[2]=s("","pubads.g.doubleclick.net");z[3]=s("","securepubads.g.doubleclick.net");z[4]=s("","partner.googleadservices.com");z[5]=va;z[6]=sa;z[7]=ia;z[8]=ja;z[9]=ka;z[10]=ma;z[11]=na;z[12]=la;z[13]=pa;z[16]=qa;z[17]=ra;y("_vars_",z);var A=function(a,b,c,d,f){this.pa=new Date;this.q=d||null;this.oa=c||null;this.Va=a;this.Wa=b;this.na=f||null};e=A.prototype;e.gb=function(){return this.q};e.fb=function(){return this.oa};e.eb=function(){return this.Va};e.$a=function(){return this.pa};e.Ob=function(){return this.Wa};e.Qb=function(){return this.na};var xa=["Debug","Info","Warning","Error","Fatal"];
A.prototype.toString=function(){var a=this.pa.toTimeString()+": "+xa[this.Va]+": "+this.Wa;this.na&&(a+=" Duration: "+(this.pa.getTime()-this.na.$a().getTime())+"ms.");return a};A.prototype.getTimestamp=A.prototype.$a;A.prototype.getService=A.prototype.fb;A.prototype.getSlot=A.prototype.gb;A.prototype.getLevel=A.prototype.eb;A.prototype.getMessage=A.prototype.Ob;A.prototype.getReference=A.prototype.Qb;var C=function(){this.G=[]};C.prototype.Eb=function(){return this.G};C.prototype.Lb=function(a){return ya(this,function(b){return b.fb()===a})};C.prototype.Mb=function(a){return ya(this,function(b){return b.gb()===a})};C.prototype.Kb=function(a){return ya(this,function(b){return b.eb()>=a})};var ya=function(a,b){for(var c=[],d=0;d<a.G.length;++d)b(a.G[d])&&c.push(a.G[d]);return c};C.prototype.log=function(a,b,c,d,f){a=new A(a,b,c,d,f);this.G.push(a);return a};
C.prototype.info=function(a,b,c,d){return this.log(1,a,b,c,d)};var D=function(a,b,c,d){a.log(2,b,c,d,void 0)};C.prototype.error=function(a,b,c,d){return this.log(3,a,b,c,d)};var F=function(){var a=w();return a.debug_log||(a.debug_log=new C)};y("getEventLog",F);C.prototype.getAllEvents=C.prototype.Eb;C.prototype.getEventsByService=C.prototype.Lb;C.prototype.getEventsBySlot=C.prototype.Mb;C.prototype.getEventsByLevel=C.prototype.Kb;var G=function(){this.ab=this.ua=0};G.prototype.push=function(a){for(var b=F(),c=0;c<arguments.length;++c)try{p(arguments[c])&&(arguments[c](),this.ua++)}catch(d){this.ab++,b.error("Exception invoking function: "+d.message)}b.info("Invoked queued function. Total: "+this.ua+" Errors: "+this.ab);return this.ua};G.prototype.push=G.prototype.push;(function(){function a(a){this.t={};this.tick=function(a,b,c){this.t[a]=[void 0!=c?c:(new Date).getTime(),b]};this.tick("start",null,a)}var b=new a;window.GPT_jstiming={Timer:a,load:b};if(window.performance&&window.performance.timing){var b=window.performance.timing,c=window.GPT_jstiming.load,d=b.navigationStart,b=b.responseStart;0<d&&b>=d&&(c.tick("_wtsrt",void 0,d),c.tick("wtsrt_","_wtsrt",b),c.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),
c&&0<d&&(c.tick("_tbnd",void 0,window.chrome.csi().startE),c.tick("tbnd_","_tbnd",d))),null==b&&window.gtbExternal&&(b=window.gtbExternal.pageT()),null==b&&window.external&&(b=window.external.pageT,c&&0<d&&(c.tick("_tbnd",void 0,window.external.startE),c.tick("tbnd_","_tbnd",d))),b&&(window.GPT_jstiming.pt=b)}catch(f){}})();if(window.GPT_jstiming){window.GPT_jstiming.cb={};window.GPT_jstiming.pb=1;var za=function(a,b,c){var d=a.t[b],f=a.t.start;if(d&&(f||c))return d=a.t[b][0],void 0!=c?f=c:f=f[0],d-f},Aa=function(a,b,c){var d="";window.GPT_jstiming.pt&&(d+="&srt="+window.GPT_jstiming.pt,delete window.GPT_jstiming.pt);try{window.external&&window.external.tran?d+="&tran="+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+
window.chrome.csi().tran)}catch(f){}var k=window.chrome;if(k&&(k=k.loadTimes)){k().wasFetchedViaSpdy&&(d+="&p=s");if(k().wasNpnNegotiated){var d=d+"&npn=1",m=k().npnNegotiatedProtocol;m&&(d+="&npnv="+(encodeURIComponent||escape)(m))}k().wasAlternateProtocolAvailable&&(d+="&apa=1")}var t=a.t,B=t.start,k=[],m=[],u;for(u in t)if("start"!=u&&0!=u.indexOf("_")){var x=t[u][1];x?t[x]&&m.push(u+"."+za(a,u,t[x][0])):B&&k.push(u+"."+za(a,u))}delete t.start;if(b)for(var E in b)d+="&"+E+"="+b[E];(b=c)||(b="https:"==
document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.GPT_jstiming.sn||"gpt")+"&action=",a.name,m.length?"&it="+m.join(","):"",d,"&rt=",k.join(",")].join("")},Ba=function(a,b,c){a=Aa(a,b,c);if(!a)return"";b=new Image;var d=window.GPT_jstiming.pb++;window.GPT_jstiming.cb[d]=b;b.onload=b.onerror=function(){window.GPT_jstiming&&delete window.GPT_jstiming.cb[d]};b.src=a;b=null;return a};window.GPT_jstiming.report=function(a,b,c){if("prerender"==
document.webkitVisibilityState){var d=!1,f=function(){if(!d){b?b.prerender="1":b={prerender:"1"};var k;"prerender"==document.webkitVisibilityState?k=!1:(Ba(a,b,c),k=!0);k&&(d=!0,document.removeEventListener("webkitvisibilitychange",f,!1))}};document.addEventListener("webkitvisibilitychange",f,!1);return""}return Ba(a,b,c)}};var H=Array.prototype,Ca=H.indexOf?function(a,b,c){return H.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(l(a))return l(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},Da=H.forEach?function(a,b,c){H.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=l(a)?a.split(""):a,k=0;k<d;k++)k in f&&b.call(c,f[k],k,a)},Ea=H.map?function(a,b,c){return H.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=Array(d),k=l(a)?a.split(""):
a,m=0;m<d;m++)m in k&&(f[m]=b.call(c,k[m],m,a));return f},Fa=H.every?function(a,b,c){return H.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=l(a)?a.split(""):a,k=0;k<d;k++)if(k in f&&!b.call(c,f[k],k,a))return!1;return!0},Ga=function(a,b){var c;t:{c=a.length;for(var d=l(a)?a.split(""):a,f=0;f<c;f++)if(f in d&&b.call(void 0,d[f],f,a)){c=f;break t}c=-1}return 0>c?null:l(a)?a.charAt(c):a[c]},Ha=function(a,b){H.sort.call(a,b||I)},Ja=function(a){for(var b=Ia,c=0;c<a.length;c++)a[c]={index:c,value:a[c]};
var d=b||I;Ha(a,function(a,b){return d(a.value,b.value)||a.index-b.index});for(c=0;c<a.length;c++)a[c]=a[c].value},I=function(a,b){return a>b?1:a<b?-1:0};var J,Ka,La,Ma,Na=function(){return g.navigator?g.navigator.userAgent:null};Ma=La=Ka=J=!1;var K;if(K=Na()){var Oa=g.navigator;J=0==K.lastIndexOf("Opera",0);Ka=!J&&(-1!=K.indexOf("MSIE")||-1!=K.indexOf("Trident"));La=!J&&-1!=K.indexOf("WebKit");Ma=!J&&!La&&!Ka&&"Gecko"==Oa.product}var Pa=J,L=Ka,Qa=Ma,Ra=La,Sa=function(){var a=g.document;return a?a.documentMode:void 0},Ta;
t:{var Ua="",M;if(Pa&&g.opera)var Va=g.opera.version,Ua="function"==typeof Va?Va():Va;else if(Qa?M=/rv\:([^\);]+)(\)|;)/:L?M=/\b(?:MSIE|rv)\s+([^\);]+)(\)|;)/:Ra&&(M=/WebKit\/(\S+)/),M)var Wa=M.exec(Na()),Ua=Wa?Wa[1]:"";if(L){var Xa=Sa();if(Xa>parseFloat(Ua)){Ta=String(Xa);break t}}Ta=Ua}
var Ya=Ta,Za={},$a=function(a){if(!Za[a]){for(var b=0,c=String(Ya).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(c.length,d.length),k=0;0==b&&k<f;k++){var m=c[k]||"",t=d[k]||"",B=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var x=B.exec(m)||["","",""],E=u.exec(t)||["","",""];if(0==x[0].length&&0==E[0].length)break;b=((0==x[1].length?0:parseInt(x[1],10))<(0==E[1].length?0:parseInt(E[1],10))?-1:(0==x[1].length?0:
parseInt(x[1],10))>(0==E[1].length?0:parseInt(E[1],10))?1:0)||((0==x[2].length)<(0==E[2].length)?-1:(0==x[2].length)>(0==E[2].length)?1:0)||(x[2]<E[2]?-1:x[2]>E[2]?1:0)}while(0==b)}Za[a]=0<=b}},ab=g.document,bb=ab&&L?Sa()||("CSS1Compat"==ab.compatMode?parseInt(Ya,10):5):void 0;if(Qa||L){var cb;if(cb=L)cb=L&&9<=bb;cb||Qa&&$a("1.9.1")}L&&$a("9");var db=function(a){return h(a)&&2==a.length&&n(a[0])&&isFinite(a[0])&&0==a[0]%1&&0<=a[0]&&n(a[1])&&isFinite(a[1])&&0==a[1]%1&&0<=a[1]},eb=function(a){if(!h(a))return!1;for(var b=0;b<a.length;++b){var c=a[b];if(!h(c)||2!=c.length)return!1;for(var d=0;d<c.length;++d)if(!n(c[d]))return!1}return!0},fb=function(a){return h(a)&&1<a.length&&n(a[0])&&n(a[1])};var N=function(a,b){this.tb=a;this.qb=b};N.prototype.Ub=function(){return this.tb};N.prototype.Nb=function(){return this.qb};var gb=function(a){var b=[];if(h(a))if(fb(a))b.push(new N(a[0],a[1]));else for(var c=0;c<a.length;++c){var d=a[c];fb(d)&&b.push(new N(d[0],d[1]))}return b};N.prototype.getWidth=N.prototype.Ub;N.prototype.getHeight=N.prototype.Nb;var O=function(a,b,c){this.w=a;this.Xa=n(b)?b:0;this.g=this.w+"_"+this.Xa;this.nb=c||"gpt_unit_"+this.g};e=O.prototype;e.p=function(){return this.g};e.getName=function(){return this.w};e.Za=function(){return this.Xa};e.toString=O.prototype.p;e.l=function(){return this.nb};O.prototype.getId=O.prototype.p;O.prototype.getName=O.prototype.getName;O.prototype.getDomId=O.prototype.l;O.prototype.getInstance=O.prototype.Za;var hb=function(a){return a.replace(/[^a-zA-Z0-9]/g,function(a){return"&#"+a.charCodeAt()+";"})},ib=function(){var a=null,b=window,c=null;try{for(;null!=b&&b!==a;){c=b.location.protocol;if("https:"===c)break;else if("http:"===c||"file:"===c)return!1;a=b;b=b.parent}}catch(d){}return!0};var jb=function(a,b){this.rb=a;this.ob=b};jb.prototype.getKey=function(){return this.rb};var kb=function(a){this.sb=a},lb=function(a,b){var c=Ga(a.sb,function(a){a=a.getKey();return a.width<=b.width&&a.height<=b.height});return null==c?null:c.ob},mb=function(a){if(!h(a)||2!=a.length)throw Error("Each mapping entry has to be an array of size 2");var b;b=a[0];if(!db(b))throw Error("Size has to be an array of two non-negative integers");b=new ua(b[0],b[1]);a=gb(a[1]);if(0==a.length)throw Error("At least one slot size must be present");return new jb(b,a)};var P=function(a,b,c,d){this.w=a;this.jb=gb(c);this.ba=null;this.g=new O(a,b,d);this.c=[];this.h={};this.n=null;this.b=F();this.b.info("Created slot: "+this.g,null,this);this.v=this.M=null;this.Ja=this.Ia="";this.Z=!0;this.d={};this.aa=[];this.Ka=!1;this.Ha=this.Ga=null;this.ib=!1};e=P.prototype;
e.set=function(a,b){var c=" attribute "+a+" with value "+b+" for slot "+this.getName();a&&l(a)&&b?(this.h[a]=b,this.M||this.v?D(this.b,"Setting"+c+" after its contents have been loaded",null,this):this.b.info("Setting"+c,null,this)):D(this.b,"Unable to set"+c,null,this);return this};e.get=function(a){return a in this.h?this.h[a]:null};e.B=function(){var a=[],b;for(b in this.h)p(this.h[b])||a.push(b);return a};
e.ma=function(a){for(var b=0;b<this.c.length;++b)if(a==this.c[b])return D(this.b,"Service "+a.getName()+" is already associated with slot "+this.g,a,this),this;this.c.push(a);a.ea(this);return this};e.getName=function(){return this.w};e.i=function(){return this.g};e.Ua=function(){return this.c};e.Rb=function(a){return a&&this.ba?lb(this.ba,a):this.jb};
e.xb=function(a){try{if(!h(a))throw Error("Size mapping has to be an array");var b=Ea(a,mb);this.ba=new kb(b)}catch(c){D(this.b,"Error processing size mapping: "+c.message,null,this)}return this};e.A=function(){return!!document.getElementById(this.g.l())};e.R=function(a){this.n=a};e.F=function(a){this.Ja=a;return this};e.ca=function(){return this.Ja};
e.xa=function(a){if(l(a)&&!v(null==a?"":String(a))){var b=this.aa;0<=Ca(b,a)||b.push(a);this.b.info("Setting slot level ad category exclusion: "+a,null,this)}else D(this.b,"Invalid slot level ad category exclusion label supplied",null,this);return this};e.va=function(){this.b.info("Clearing all slot level ad category exclusions",null,this);this.aa=[];return this};e.Fb=function(){var a;a=this.aa;var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];a=c}else a=[];return a};
e.recordImpression=function(){if(!this.ib)return D(this.b,"Not recording impression as enableManualImpression was not called on this slot.",null,this),this;for(var a=this.Ua(),b=!1,c=0;c<a.length;++c){var d=a[c];d.isEnabled()&&(d.recordImpression(this),b=!0)}b||D(this.b,"Not recording impression as no service is enabled.",null,this);return this};
e.s=function(a,b){var c=[];h(b)?c=b:b&&c.push(b.toString());var d=" targeting attribute "+a+" with value "+c.join()+" for slot "+this.getName();if(a&&l(a)){this.b.info("Setting"+d,null,this);t:{var d=this.d[a],f=c;if(ba(d)&&ba(f)&&d.length==f.length){for(var k=d.length,m=0;m<k;m++)if(d[m]!==f[m]){d=!1;break t}d=!0}else d=!1}this.d[a]=c;if(!d&&(this.M||this.v))for(d=0;d<this.c.length;++d)f=this.c[d],f.isEnabled()&&f.La(this,a,c)}else D(this.b,"Unable to set"+d,null,this);return this};
e.wa=function(){this.b.info("Clearing slot targeting.",null,this);var a;t:{a=this.d;for(var b in a){a=!1;break t}a=!0}this.d={};if(!a)for(a=0;a<this.c.length;++a)b=this.c[a],b.isEnabled()&&b.clearSlotTargeting(this);return this};e.Sb=function(){var a=this.d,b={},c;for(c in a)b[c]=a[c];return b};e.Pb=function(){return this.Ka};
e.ac=function(a,b){this.Ha=(this.Ga=a)&&Boolean(b);b&&!a&&D(this.b,"Ignoring a call to setCollapseEmptyDiv(false, true). Slots that start out collapsed should also collapse when empty. Slot "+this.g,null,this);return this};e.Gb=function(){return this.Ga};e.Jb=function(){return this.Ha};
var nb=function(a){if(!a.A())return a.b.error("Unable to write to slot "+a.g+". It has not yet been rendered.",null,a),!1;var b=g.document,c=a.g.l(),b=b&&b.getElementById(c);if(!b)return a.b.error("Unable to find the div container with id "+c+" for slot "+a.g,null,a),!1;c=a.n;return l(c)&&0<c.length?(a.Na(),b.innerHTML=c,a.Ma(),!0):!1};e=P.prototype;e.Cb=function(a){this.M=this.b.info("Fetching ad for slot "+this.getName(),null,this);this.Ia=a};e.Hb=function(){return this.Ia};
e.Bb=function(){this.b.info("Receiving ad for slot "+this.getName(),null,this,this.M)};e.Na=function(){this.v=this.b.info("Rendering ad for slot "+this.getName(),null,this)};e.Ma=function(){this.b.info("Completed rendering ad for slot "+this.getName(),null,this,this.v)};P.prototype.set=P.prototype.set;P.prototype.get=P.prototype.get;P.prototype.getName=P.prototype.getName;P.prototype.getSlotId=P.prototype.i;P.prototype.getSizes=P.prototype.Rb;P.prototype.defineSizeMapping=P.prototype.xb;
P.prototype.addService=P.prototype.ma;P.prototype.getOutOfPage=P.prototype.Pb;P.prototype.getServices=P.prototype.Ua;P.prototype.getAttributeKeys=P.prototype.B;P.prototype.fetchStarted=P.prototype.Cb;P.prototype.fetchEnded=P.prototype.Bb;P.prototype.renderStarted=P.prototype.Na;P.prototype.renderEnded=P.prototype.Ma;P.prototype.hasWrapperDiv=P.prototype.A;P.prototype.getContentUrl=P.prototype.Hb;P.prototype.setClickUrl=P.prototype.F;P.prototype.getClickUrl=P.prototype.ca;
P.prototype.clearTargeting=P.prototype.wa;P.prototype.getTargetingMap=P.prototype.Sb;P.prototype.setTargeting=P.prototype.s;P.prototype.setCategoryExclusion=P.prototype.xa;P.prototype.clearCategoryExclusions=P.prototype.va;P.prototype.getCategoryExclusions=P.prototype.Fb;P.prototype.getCollapseEmptyDiv=P.prototype.Gb;P.prototype.setCollapseEmptyDiv=P.prototype.ac;P.prototype.getDivStartsCollapsed=P.prototype.Jb;var Q=function(){this.D={};this.N={};this.b=F()};Q.prototype.add=function(a,b,c){if(!l(a)||0>=a.length||!b)return null;a in this.D||(this.D[a]=[]);b=new P(a,this.D[a].length,b,c);c=b.i().l();if(this.N[c])return this.b.error("Div element "+c+" is already associated with another slot"),null;this.D[a].push(b);return this.N[b.i().l()]=b};Q.prototype.find=function(a,b){var c=b||0,d=l(a)&&this.D[a]||[];return 0<=c&&c<d.length&&(d=d[c],d.i().Za()==c)?d:null};
var ob=function(){var a=w();return a.slot_manager_instance||(a.slot_manager_instance=new Q)},pb=function(a,b,c){var d=ob();return d&&d.add(a,b,c)};y("defineOutOfPageSlot",function(a,b){var c=ob();return c?(c=c.add(a,[1,1],b))?(c.Ka=!0,c):null:null});y("defineSlot",pb);y("defineUnit",pb);Q.prototype.find=Q.prototype.find;Q.getInstance=ob;var qb=function(a){var b=F();if(l(a)){var c;c=ob();c.N[a]?c=c.N[a]:(D(c.b,"Ad unit lookup for div "+a+" failed."),c=null);if(c)if(a=c,a.Z&&!a.A())D(a.b,"Slot "+a.w+" does not have a container div with id: "+a.g.l()+".",null,a);else for(b=0;b<a.c.length;++b)a.c[b].isEnabled()&&a.c[b].H(a);else b.error("Div "+a+" is not mapped to a known ad unit.")}else b.error("Unknown div id in display(): "+a.toString())};y("display",qb,!0);var R=function(){this.Sa=[];this.Ta={};this.qa=!1;this.h={};this.log=F();this.log.info("Created service: "+this.getName(),this)};e=R.prototype;e.getName=function(){return"unknown"};e.getVersion=function(){return"unversioned"};e.set=function(a,b){var c="attribute "+a+" with value "+b+" for service "+this.getName();l(a)&&0<a.length?(this.h[a]=b,this.log.info("Setting "+c,this,null)):D(this.log,"Unable to set "+c,this,null);return this};e.get=function(a){return this.h[a]};
e.B=function(){var a=[],b;for(b in this.h)"function"!=typeof this.h[b]&&a.push(b);return a};e.j=function(){return this.Sa};e.bb=function(){return this.Ta};e.isEnabled=function(){return this.qa};e.enable=function(){if(this.qa)this.log.info("Service is already enabled.",this);else{this.qa=!0;try{this.ta()}catch(a){this.log.error("Failed to enable service: "+a,this)}}};e.display=function(a,b,c,d){this.enable();a=c?pb(a,b,c):pb(a,b);a.ma(this);d&&a.F(d);qb(a.i().l())};
e.ea=function(a){this.Sa.push(a);this.Ta[a.i().p()]=a;this.log.info("Associated "+this.getName()+" service with slot "+a.getName(),this,a)};e.clearSlotTargeting=function(){};e.La=function(){};e.recordImpression=function(){};R.prototype.getSlots=R.prototype.j;R.prototype.getSlotIdMap=R.prototype.bb;R.prototype.enable=R.prototype.enable;R.prototype.set=R.prototype.set;R.prototype.get=R.prototype.get;R.prototype.getAttributeKeys=R.prototype.B;R.prototype.display=R.prototype.display;var rb=function(a,b){this.name=a;this.sa=b?b:new g.GPT_jstiming.Timer;this.sa.name=a;this.ra=[]};e=rb.prototype;e.getName=function(){return this.name};e.tick=function(a,b){this.sa.tick(a,b)};e.Ya=function(a){a&&this.ra.push(a)};e.report=function(){var a="https:"==g.location.protocol?"https://www.google.com/csi":"http://csi.gstatic.com/csi",b={};this.ra.length&&(b.e=this.ra.join());return g.GPT_jstiming.report(this.sa,b,a)};e.hb=function(a){wa(window,function(){setTimeout(a,10)})};
var S=function(a){this.name=a};q(S,rb);S.prototype.tick=function(){};S.prototype.Ya=function(){};S.prototype.report=function(){return null};S.prototype.hb=function(){};var sb=function(){var a=g.GPT_jstiming.load,b=0.01;void 0==b&&(b=0.01);return g.GPT_jstiming&&g.GPT_jstiming.load&&("http:"==g.location.protocol||"https:"==g.location.protocol)&&Math.random()<b?new rb("global",a):new S("global")};
(function(){if(!w()._gpt_timer_&&g.GPT_jstiming){var a=sb();a.hb(function(){a.tick("load");a.report()});y("_gpt_timer_",a)}return w()._gpt_timer_})();var T=function(){this.c={};this.$=!1;this.b=F();this.lb=this.b.info("Google service JS loaded");wa(window,ga(T.prototype.mb,this))};T.prototype.add=function(a){this.c[a.getName()]=a};T.prototype.find=function(a){var b=null;a in this.c&&(b=this.c[a]);return b};T.prototype.mb=function(){this.$=!0;this.b.info("Page load complete",null,null,this.lb)};var U=function(){var a=w();return a.service_manager_instance||(a.service_manager_instance=new T)};
y("enableServices",function(){var a=U(),b;for(b in a.c){var c=a.c[b];if(!p(c)){c.enable();var c=b,d=w()._gpt_timer_;d&&d.Ya(c)}}});var V=function(){R.call(this);this.Oa=!0;this.ja=!1;this.P=0;this.Q="";this.ha=this.ga=this.fa=this.C=void 0;this.Pa=this.ia=!1;this.da={};this.O=!1};q(V,R);e=V.prototype;
e.ta=function(){if(this.Oa){if(!this.Pa){var a=document,b=document.createElement("script");b.async=!0;b.type="text/javascript";b.src=this.o();try{var c=a.getElementsByTagName("script")[0];this.log.info("Fetching companion ads implementation",this);this.Pa=!0;c.parentNode&&c.parentNode.insertBefore(b,c)}catch(d){this.log.error("Unable to fetch companion ads implementation",this)}}}else this.ia||(g.document.write('<script type="text/javascript" src="'+hb(this.o())+'">\x3c/script>'),this.ia=!0)};
e.yb=function(){this.Oa=!1};e.bc=function(a){"boolean"==typeof a&&(this.ja=a)};e.Wb=function(a){if(this.ja){for(var b=this.bb(),c=[],d=0;d<a.length;++d){var f=a[d];f in b?c.push(b[f]):D(this.log,"Cannot find slot with id "+f+".",this)}tb(this,c)}};e.Qa=function(){var a=googletag.pubads();if(!a.isEnabled())return!1;var a=a.j(),b=this.j();if(a.length!=b.length)return!1;for(var c=0;c<b.length;++c){for(var d=!1,f=0;f<a.length;++f)if(b[c]===a[f]){d=!0;break}if(!d)return!1}return!0};
e.Zb=function(){this.ja&&tb(this,null)};
e.dc=function(a,b,c,d,f,k,m){this.O=!1;this.P=0;this.Q="";this.ha=this.ga=this.fa=this.C=void 0;this.P=a;this.Q=b;this.C=c;0==this.C.length&&(this.C=void 0);t:{a=d.split(",");b=[];for(c=0;c<a.length;++c){d=a[c].split("x");if(2!=d.length){this.log.error("The master ad size specified is invalid.");a=void 0;break t}d=[Number(d[0]),Number(d[1])];if(!h(d)||2!=d.length||isNaN(d[0])||isNaN(d[1])){this.log.error("The master ad size specified is invalid.");a=void 0;break t}b.push(d)}a=b}this.fa=a;void 0!==
f&&(this.ga=f);void 0!==k&&(this.ha=k);void 0!==m&&(this.O=m)};e.Ib=function(){return googletag.pubads().getCorrelator()};e.getVideoStreamCorrelator=function(){return googletag.pubads().getVideoStreamCorrelator()};e.ec=function(a){this.P=a};e.fc=function(a){this.Q=a};
var tb=function(a,b){var c=googletag.pubads();if(c.isEnabled()){if(a.O){if(!a.Qa()){D(a.log,"Persistent roadblock requested, but ad slots are incorrectly configured. All ad slots on page must have both pubads and companionAds services attached. Skipping refresh.");return}c.clearNoRefreshState();c.clear()}c.Ra(b,a.P,a.Q,a.C,a.fa,a.ga,a.ha,a.O)}else a.log.error("Pubads service is not enabled, cannot use refresh feature.")};e=V.prototype;
e.isSlotAPersistentRoadblock=function(a){var b=googletag.pubads();if(b.isEnabled())return b.isSlotAPersistentRoadblock(a);this.log.error("Pubads service is not enabled, cannot check whether slot is a persistent roadblock.  Content writing allowed.");return!1};e.getName=function(){return"companion_ads"};e.o=function(){var a=document,b=null;try{b=a.location.protocol}catch(c){}return("https:"==b?"https:":"http:")+"//pagead2.googlesyndication.com/pagead/show_companion_ad.js"};
e.Yb=function(){this.log.info("Companion ads implementation fetched.",this);this.ia=!0};e.r=function(a){var b=a&&a.i().p();return b&&b in this.da&&a.A()&&this.isEnabled()&&!this.isSlotAPersistentRoadblock(a)?(a.R(this.da[b]),nb(a)):!1};e.H=function(a){this.r(a)};e.fillSlot=function(a,b){return a&&l(b)&&0<b.length?(this.da[a.i().toString()]=b,this.r(a)):!1};y("companionAds",function(){var a=U(),b=a.find("companion_ads");b||(b=new V,a.add(b));return b});V.prototype.fillSlot=V.prototype.fillSlot;
V.prototype.enableSyncLoading=V.prototype.yb;V.prototype.isSlotAPersistentRoadblock=V.prototype.isSlotAPersistentRoadblock;V.prototype.isRoadblockingSupported=V.prototype.Qa;V.prototype.onImplementationLoaded=V.prototype.Yb;V.prototype.notifyUnfilledSlots=V.prototype.Wb;V.prototype.refreshAllSlots=V.prototype.Zb;V.prototype.setRefreshUnfilledSlots=V.prototype.bc;V.prototype.setXfpCorrelator=V.prototype.ec;V.prototype.setXfpPreviousAdsToken=V.prototype.fc;V.prototype.setVideoSessionInfo=V.prototype.dc;
V.prototype.getDisplayAdsCorrelator=V.prototype.Ib;V.prototype.getVideoStreamCorrelator=V.prototype.getVideoStreamCorrelator;var W=function(){R.call(this);this.n={}};q(W,R);e=W.prototype;e.getName=function(){return"content"};e.r=function(a){var b=a&&a.i().p();return b in this.n&&this.isEnabled()&&a.A()&&!a.v?(a.R(this.n[b]),nb(a)):!1};e.ta=function(){for(var a=this.j(),b=0;b<a.length;++b)this.r(a[b])};e.H=function(a){this.r(a)};e.R=function(a,b){a&&(l(b)&&0<b.length)&&(this.n[a.i().p()]=b,this.r(a))};y("content",function(){var a=U(),b=a.find("content");b||(b=new W,a.add(b));return b});W.prototype.setContent=W.prototype.R;var ub=null,vb=Qa||Ra||Pa||"function"==typeof g.atob;var X=function(a,b,c){!l(a)||0>=a.length||!Boolean(b)||!c?F().error("Illegal slot name or size in PassbackSlot(). Name: "+a+"; size: "+b+"; service: "+c):(this.q=new P(a,this[ca]||(this[ca]=++da),b),this.q.ma(c),this.oa=c)};X.prototype.F=function(a){this.q.F(a);return this};X.prototype.s=function(a,b){this.q.s(a,b);return this};X.prototype.display=function(){wb(this.oa,this.q)};X.prototype.setClickUrl=X.prototype.F;X.prototype.setTargeting=X.prototype.s;X.prototype.display=X.prototype.display;var Y=function(){R.call(this);this.u=!1;this.a=null;this.ya=0;this.d={};this.U=[];this.Da=this.W="";this.Ca=!1;this.Aa=!0;this.m=this.za=!1;this.f=!0;this.S=this.I=this.Ba=!1;this.k=[];this.J=[];this.T=[];this.K=[];this.V=!1;this.X={};this.Y=!1;this.Ea=this.Fa="";this.L=[]};q(Y,R);
var xb={adsense_ad_format:"google_ad_format",adsense_ad_types:"google_ad_type",adsense_allow_expandable_ads:"google_allow_expandable_ads",adsense_background_color:"google_color_bg",adsense_bid:"google_bid",adsense_border_color:"google_color_border",adsense_channel_ids:"google_ad_channel",adsense_content_section:"google_ad_section",adsense_cpm:"google_cpm",adsense_ed:"google_ed",adsense_encoding:"google_encoding",adsense_family_safe:"google_safe",adsense_feedback:"google_feedback",adsense_flash_version:"google_flash_version",
adsense_font_face:"google_font_face",adsense_font_size:"google_font_size",adsense_hints:"google_hints",adsense_host:"google_ad_host",adsense_host_channel:"google_ad_host_channel",adsense_host_tier_id:"google_ad_host_tier_id",adsense_keyword_type:"google_kw_type",adsense_keywords:"google_kw",adsense_line_color:"google_line_color",adsense_link_color:"google_color_link",adsense_relevant_content:"google_contents",adsense_reuse_colors:"google_reuse_colors",adsense_targeting:"google_targeting",adsense_targeting_types:"google_targeting",
adsense_test_mode:"google_adtest",adsense_text_color:"google_color_text",adsense_ui_features:"google_ui_features",adsense_ui_version:"google_ui_version",adsense_url_color:"google_color_url",alternate_ad_iframe_color:"google_alternate_color",alternate_ad_url:"google_alternate_ad_url",demographic_age:"google_cust_age",demographic_ch:"google_cust_ch",demographic_gender:"google_cust_gender",demographic_interests:"google_cust_interests",demographic_job:"google_cust_job",demographic_l:"google_cust_l",demographic_lh:"google_cust_lh",
demographic_u_url:"google_cust_u_url",demographic_unique_id:"google_cust_id",document_language:"google_language",geography_override_city:"google_city",geography_override_country:"google_country",geography_override_region:"google_region",page_url:"google_page_url"};
Y.prototype.ta=function(){if(this.f){if(!this.u){var a=document,b=a.createElement("script");U();b.async=!0;b.type="text/javascript";b.src=this.o();(a=a.getElementsByTagName("head")[0]||a.getElementsByTagName("body")[0])?(this.log.info("Fetching GPT implementation",this),a.appendChild(b),this.u=!0):this.log.error("Unable to fetch GPT implementation",this)}}else yb(this)};Y.prototype.getName=function(){return"publisher_ads"};Y.prototype.o=function(){return(ib()?"https:":"http:")+"//partner.googleadservices.com/gpt/pubads_impl_25.js"};
var yb=function(a){var b=U();a.u||b.$||(b=document,a.u=!0,b.write('<script type="text/javascript" src="'+hb(a.o())+'">\x3c/script>'))};
Y.prototype.fillSlot=function(a){this.log.info("Calling fillslot");this.a.fillSlot(a);this.X[a.getName()]=!0;if(this.a)if(this.V)(a=this.j()[0])&&a.getName()in this.X&&(this.refresh(),this.V=!1);else for(a=0;a<this.K.length;a++){var b=this.K[a];b[0].getName()in this.X&&(this.refresh(b),H.splice.call(this.K,a,1),a--)}else this.log.error("Bad call to check refreshes before impl is loaded",this)};
Y.prototype.Xb=function(){U();var a=w().impl;if(a&&a.pubads){this.a=a.pubads;this.log.info("GPT implementation fetched.",this);p(this.a.setCookieOptions)&&this.a.setCookieOptions(this.ya);this.Aa||this.a.disableFetch();this.I&&this.a.collapseEmptyDivs(this.S);if(this.m){this.f?this.a.enableAsyncSingleRequest():this.a.enableSingleRequest();zb(this);for(var a=this.j(),b=0;b<a.length;++b)Ab(this,a[b])}else this.f&&this.a.enableAsyncRendering();this.za&&this.a.disableInitialLoad();Bb(this);if(0<this.k.length)for(b=
0;b<this.k.length;++b)this.H(this.k[b]);if(0<this.J.length)for(b=0;b<this.J.length;++b)wb(this,this.J[b]);Da(this.T,this.recordImpression,this);this.T=[]}else this.log.error("Unable to fetch pubads service implementation from "+this.o(),this)};Y.prototype.ea=function(a){this.f||(a.Z=!1);R.prototype.ea.call(this,a)};
Y.prototype.H=function(a){if(U().$&&!this.f)this.log.error("Attempting to display ad in sync mode after page load is complete.",this);else if(this.a)zb(this),(this.m||Ab(this,a))&&this.fillSlot(a);else if(this.f||this.u&&0==this.k.length){for(var b=!1,c=0;c<this.k.length;++c)a===this.k[c]&&(b=!0);b||(this.log.info("Delaying rendering of ad slot "+a.getName()+" pending loading of the GPT implementation",this,a),this.k.push(a))}else this.log.error("Skipping rendering of slot "+a.getName()+" due to missing GPT implementaition",
this,a)};
var Ab=function(a,b){if(a.a&&null==a.a.addSlot(b))return a.log.error("Unable to process name for slot "+b.getName(),a,b),!1;for(var c=b.B(),d=0;d<c.length;++d)c[d]in xb?a.a.addAdSenseSlotAttribute(b,xb[c[d]],b.get(c[d])):D(a.log,"Ignoring unknown pubads attribute "+c[d]+" with value "+b.get(c[d])+" for slot "+b.getName(),a,b);if(p(a.a.addSlotTargeting)){var c=[],f;for(f in b.d)p(b.d[f])||c.push(f);for(f=0;f<c.length;++f)a.a.addSlotTargeting(b,c[f],c[f]in b.d?b.d[c[f]]:[])}b.ca()&&p(a.a.kb)&&a.a.kb(b,
b.ca());return!0},zb=function(a){if(!a.Ca){a.Ca=!0;for(var b=a.B(),c=0;c<b.length;++c)b[c]in xb?a.a.addAdSensePageAttribute(xb[b[c]],a.get(b[c])):D(a.log,"Ignoring unknown pubads attribute "+b[c]+" with value "+a.get(b[c]),a);a.a.addAdSensePageAttribute("google_tag_info","v2");for(var d in a.d)if(b=a.d[d],h(b))for(c=0;c<b.length;++c)a.a.addAttribute(d,b[c]);p(a.a.addPageCategoryExclusion)&&Da(a.U,function(a){this.a.addPageCategoryExclusion(a)},a);p(a.a.setPublisherProvidedId)&&a.a.setPublisherProvidedId(a.Da);
a.W&&a.a.setLocation(a.W);void 0!==a.a.setCenterAds&&a.a.setCenterAds(a.Ba);void 0!==a.a.setApiExperiment?Da(a.L,function(a){this.a.setApiExperiment(a)},a):0==a.L.length||D(a.log,"Ignoring forced experiments due to lack of support in the Pubads implementation. Experiments: "+a.L.join())}};e=Y.prototype;
e.setCookieOptions=function(a){if(!n(a)||!isFinite(a)||0!=a%1||0>a)return D(this.log,"Cookie options must be an integer number, 0 or greater. Ignoring value: "+a,this),this;this.ya=a;this.a&&p(this.a.setCookieOptions)&&this.a.setCookieOptions(a);return this};
e.s=function(a,b){var c=[];l(b)?c.push(b):c=b;var d=" targeting attribute "+a+" with value "+c.join()+" for service "+this.getName();if(!l(a)||v(null==a?"":String(a)))return D(this.log,"Unable to set"+d,this),this;this.d[a]=c;this.log.info("Setting"+d,this);if(this.a&&p(this.a.clearAttribute))for(this.a.clearAttribute(a),d=0;d<c.length;++d)this.a.addAttribute(a,c[d]);return this};
e.wa=function(a){var b=" targeting attribute "+a+" for service "+this.getName();if(!l(a)||v(null==a?"":String(a)))return D(this.log,"Unable to clear"+b,this),this;if(!this.d[a])return D(this.log,"Cannot find"+b,this),this;delete this.d[a];this.log.info("Clearing"+b,this);this.a&&p(this.a.clearAttribute)&&this.a.clearAttribute(a);return this};
e.xa=function(a){if(!l(a)||v(null==a?"":String(a)))return D(this.log,"Invalid page level ad category exclusion label supplied",this),this;var b=this.U;0<=Ca(b,a)||b.push(a);this.log.info("Setting page level ad category exclusion: "+a,this);this.a&&p(this.a.clearPageCategoryExclusions)&&this.a.addPageCategoryExclusion(a);return this};
e.va=function(){this.U=[];this.log.info("Clearing all page level ad category exclusions",this);this.a&&p(this.a.clearPageCategoryExclusions)&&this.a.clearPageCategoryExclusions();return this};e.Vb=function(){this.a?D(this.log,"Ignoring noFetch since the pubads service is already enabled",this):this.Aa=!1};e.disableInitialLoad=function(){this.a?D(this.log,"Ignoring disableInitialLoad since the pubads service is already enabled",this):this.za=!0};
e.enableSingleRequest=function(){this.isEnabled()&&!this.m?D(this.log,"Ignoring change to single request mode since the service is already enabled",this):(this.log.info("Using single request mode to fetch ads",this),this.m=!0);return this.m};e.enableAsyncRendering=function(){this.isEnabled()&&!this.f?D(this.log,"Ignoring change to async-rendering mode since the service is already enabled",this):(this.log.info("Using async-rendering mode to fetch ads",this),this.f=!0);return this.f};
e.zb=function(){if(this.isEnabled()&&this.f)D(this.log,"Ignoring change to async-rendering mode since the service is already enabled",this);else{this.log.info("Using sync-rendering mode to fetch ads",this);this.f=!1;for(var a=this.j(),b=0;b<a.length;++b)a[b].Z=!1}return!this.f};e.$b=function(a){this.log.info("Setting centering to "+a,this);this.Ba=a};
e.setPublisherProvidedId=function(a){this.isEnabled()?D(this.log,"Ignoring change to PPID since the service is already enabled. Not setting: "+a,this):(this.log.info("Setting PPID to "+a,this),this.Da=a);return this};e.wb=function(a,b){return new X(a,b,this)};var wb=function(a,b){yb(a);a.a?p(a.a.passback)?a.a.passback(b):a.log.error("The GPT impl does not yet support passbacks.",a,b):(a.log.info("Delaying passback of ad slot "+b.getName()+" pending loading of the GPT implementation",a,b),a.J.push(b))};
e=Y.prototype;
e.refresh=function(a){if(a&&!h(a))D(this.log,"Slots to refresh must be an array.",this);else{var b=null;if(a){for(var b=[],c=0;c<a.length;++c){var d=a[c];d instanceof P?b.push(d):D(this.log,"Slot object at position "+c+" is of incorrect type.",this)}if(!b.length){this.log.error("No valid slot ids found, refresh aborted.",this);return}}this.a?(this.log.info("Refreshing ads",this),this.a.refresh(b)):this.m?(this.log.info("Refresh pushed on pending list until GPT implementation Javascript loads.",this),
b?(a=this.K,0<=Ca(a,b)||a.push(b)):this.V=!0):D(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",this)}};
e.Ra=function(a,b,c,d,f,k,m,t){if(a&&!h(a))D(this.log,"Slots to refresh must be an array.",this);else if(b&&!n(b))D(this.log,"Correlator must be a number.",this);else if(c&&!l(c))D(this.log,"Pstok must be a string.",this);else if(d&&!l(d))D(this.log,"Video IU must be a string.",this);else if(f&&!h(f))D(this.log,"Video IU sizes must be an array.",this);else if(k&&!n(k))D(this.log,"Pod number must be a number.",this);else if(m&&!n(m))D(this.log,"Pod position must be a number.",this);else if(t&&"boolean"!=
typeof t)D(this.log,"Persistent roadblocks only must be a boolean.",this);else if(this.a){var B=null;if(a){for(var B=[],u=0;u<a.length;++u){var x=a[u];x instanceof P?B.push(x):D(this.log,"Slot object at position "+u+" is of incorrect type.",this)}if(!B.length){this.log.error("No valid slot ids found, refresh aborted.",this);return}}f&&!eb(f)?this.log.error("Video size array must have only two values, both numeric. Refresh aborted.",this):(this.log.info("Refreshing ads",this),this.a.refresh(B,b,c,
d,f,k,m,t))}else D(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",this)};e.Ab=function(){this.Y=!0;Bb(this)};e.cc=function(a,b){this.Y=!0;this.Fa=a;this.Ea=b;Bb(this)};e.Tb=function(){return this.a&&null!=this.a.getVideoContentInformation?this.a.getVideoContentInformation():null};var Bb=function(a){a.Y&&(a.a&&a.a.setVideoContentInformation)&&a.a.setVideoContentInformation(a.Fa,a.Ea)};e=Y.prototype;
e.getCorrelator=function(){return 0==this.j().length?"not_available":this.a?null!=this.a.getCorrelator?this.a.getCorrelator():"not_available":"not_loaded"};e.getVideoStreamCorrelator=function(){if(!this.a||null==this.a.getVideoStreamCorrelator)return 0;var a=this.a.getVideoStreamCorrelator();return isNaN(a)?0:a};e.isAdRequestFinished=function(){return this.a?null!=this.a.isAdRequestFinished?this.a.isAdRequestFinished():null:!1};
e.isSlotAPersistentRoadblock=function(a){return this.a&&null!=this.a.isSlotAPersistentRoadblock?this.a.isSlotAPersistentRoadblock(a):!1};
e.collapseEmptyDivs=function(a){this.I?D(this.log,"Ignoring subsequent call to set div collapse mode (already set)",this):this.isEnabled()?D(this.log,"Ignoring change to div collapse mode since the service is already enabled",this):(this.S=Boolean(a),this.log.info("Enabling collapsing of containers when there is no ad content. Collapse before ad fetch = "+this.S,this),this.I=!0);return this.I};
e.clear=function(){if(!this.a)return D(this.log,"The slot contents cannot be cleared because the GPT implementation Javascript is not yet loaded.",this),!1;if(null!=this.a.clearSlotContents)return this.log.info("Clearing slot contents.",this),this.a.clearSlotContents();D(this.log,"The GPT implementation does not yet support clearing slots.");return!1};
e.clearNoRefreshState=function(){this.a?null!=this.a.clearNoRefreshState?(this.log.info("Clearing no_refresh state.",this),this.a.clearNoRefreshState()):D(this.log,"The GPT implementation does not yet support clearNoRefreshState"):D(this.log,"The no_refresh state cannot be cleared because the GPT implementation Javascript is not yet loaded.",this)};e.clearSlotTargeting=function(a){this.a&&p(this.a.clearSlotTargeting)&&this.a.clearSlotTargeting(a)};
e.La=function(a,b,c){this.a&&p(this.a.addSlotTargeting)&&this.a.addSlotTargeting(a,b,c)};e.recordImpression=function(a){this.a?p(this.a.recordImpression)?this.a.recordImpression(a):D(this.log,"The implementation does not support recordImpression, all impressions are recorded immediately.",this,a):this.T.push(a)};
e.setLocation=function(a,b,c){var d="role:1 producer:12";if(void 0!==b){if(!n(a)||!n(b))return D(this.log,"Latitude and longitude are expected to be numbers"),this;d+=" latlng{ latitude_e7: "+Math.round(1E7*a)+" longitude_e7: "+Math.round(1E7*b)+"}";if(void 0!==c){if(isNaN(c))return D(this.log,"Radius is expected to be a number"),this;d+=" radius:"+Math.round(c)}}else 50<a.length&&(b=a.substring(0,50),D(this.log,"Location: "+a+" is longer than 50. Truncating it to"+b+"."),a=b),d+=' loc:"'+a+'"';if(vb)d=
g.btoa(d);else{a=d;d=[];for(c=b=0;c<a.length;c++){for(var f=a.charCodeAt(c);255<f;)d[b++]=f&255,f>>=8;d[b++]=f}if(!ba(d))throw Error("encodeByteArray takes an array as a parameter");if(!ub)for(ub={},a=0;65>a;a++)ub[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a);a=ub;b=[];for(c=0;c<d.length;c+=3){var k=d[c],m=(f=c+1<d.length)?d[c+1]:0,t=c+2<d.length,B=t?d[c+2]:0,u=k>>2,k=(k&3)<<4|m>>4,m=(m&15)<<2|B>>6,B=B&63;t||(B=64,f||(m=64));b.push(a[u],a[k],a[m],a[B])}d=b.join("")}this.W=
"a "+d;return this};e.getVersion=function(){return this.a?null!=this.a.getVersion?this.a.getVersion():"unversioned":void 0};e.Db=function(a){this.isEnabled()?D(this.log,"Ignoring experiment since the service is already enabled. Not setting: "+a,this):this.L.push(a)};y("pubads",function(){var a=U(),b=a.find("publisher_ads");b||(b=new Y,a.add(b));return b});Y.prototype.clear=Y.prototype.clear;Y.prototype.clearNoRefreshState=Y.prototype.clearNoRefreshState;Y.prototype.collapseEmptyDivs=Y.prototype.collapseEmptyDivs;
Y.prototype.definePassback=Y.prototype.wb;Y.prototype.enableAsyncRendering=Y.prototype.enableAsyncRendering;Y.prototype.enableSingleRequest=Y.prototype.enableSingleRequest;Y.prototype.enableSyncRendering=Y.prototype.zb;Y.prototype.enableVideoAds=Y.prototype.Ab;Y.prototype.forceExperiment=Y.prototype.Db;Y.prototype.getCorrelator=Y.prototype.getCorrelator;Y.prototype.getVideoContent=Y.prototype.Tb;Y.prototype.getVideoStreamCorrelator=Y.prototype.getVideoStreamCorrelator;
Y.prototype.isAdRequestFinished=Y.prototype.isAdRequestFinished;Y.prototype.isSlotAPersistentRoadblock=Y.prototype.isSlotAPersistentRoadblock;Y.prototype.noFetch=Y.prototype.Vb;Y.prototype.onGoogleAdsJsLoad=Y.prototype.Xb;Y.prototype.refresh=Y.prototype.refresh;Y.prototype.setLocation=Y.prototype.setLocation;Y.prototype.setTargeting=Y.prototype.s;Y.prototype.clearTargeting=Y.prototype.wa;Y.prototype.setCategoryExclusion=Y.prototype.xa;Y.prototype.clearCategoryExclusions=Y.prototype.va;
Y.prototype.setVideoContent=Y.prototype.cc;Y.prototype.getVersion=Y.prototype.getVersion;Y.prototype.videoRefresh=Y.prototype.Ra;Y.prototype.setCentering=Y.prototype.$b;Y.prototype.setPublisherProvidedId=Y.prototype.setPublisherProvidedId;Y.prototype.setCookieOptions=Y.prototype.setCookieOptions;var Cb=/#|$/,Db=function(a,b){var c=a.search(Cb),d;t:{d=0;for(var f=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var k=a.charCodeAt(d-1);if(38==k||63==k)if(k=a.charCodeAt(d+f),!k||61==k||38==k||35==k)break t;d+=f+1}d=-1}if(0>d)return null;f=a.indexOf("&",d);if(0>f||f>c)f=c;d+=b.length+1;return decodeURIComponent(a.substr(d,f-d).replace(/\+/g," "))};var Eb=function(){var a=window,b=document;if(w()._pubconsole_disable_)return!1;var c;c=document.cookie.split("google_pubconsole=");if(c=2==c.length?c[1].split(";")[0]:"")if(c=c.split("|"),0<c.length&&("1"==c[0]||"0"==c[0]))return!0;U();c=!1;try{c=a.top.document.URL===b.URL}catch(d){}a=c?b.URL:b.referrer;return null!==Db(a,"google_debug")||null!==Db(a,"google_console")||null!==Db(a,"google_force_console")},Fb=function(){if(Eb()){var a=document,b=a.createElement("script");b.type="text/javascript";b.src=
(ib()?"https:":"http:")+"//publisherconsole.appspot.com/js/loader.js";b.async=!0;(a=a.getElementsByTagName("script")[0])&&a.parentNode&&a.parentNode.insertBefore(b,a)}};"complete"===document.readyState?Fb():wa(window,Fb);y("disablePublisherConsole",function(){w()._pubconsole_disable_=!0});var Z=function(){this.la=[];this.ka=!1;this.b=F()};Z.prototype.ub=function(a,b){if(!db(a))return this.ka=!0,D(this.b,"Cannot add size mapping due to invalid viewport size: "+a),this;if(!(db(b)||h(b)&&Fa(b,db)))return this.ka=!0,D(this.b,"Cannot add size mapping due to invalid slot size: "+b),this;this.la.push([a,b]);return this};Z.prototype.vb=function(){if(this.ka)return D(this.b,"Size mapping is null because invalid mappings were added"),null;Ja(this.la);return this.la};
var Ia=function(a,b){var c;t:{c=b[0];for(var d=a[0],f=I,k=Math.min(c.length,d.length),m=0;m<k;m++){var t=f(c[m],d[m]);if(0!=t){c=t;break t}}c=I(c.length,d.length)}return c};y("sizeMapping",function(){return new Z});Z.prototype.addSize=Z.prototype.ub;Z.prototype.build=Z.prototype.vb;y("getVersion",function(){return"25"});var $=w().cmd;if(!$||h($)){var Gb=w().cmd=new G;$&&0<$.length&&Gb.push.apply(Gb,$)}(function(){var a=document.getElementsByTagName("script");0<a.length&&(a=a[a.length-1],a.src&&(0<=a.src.indexOf("/tag/js/gpt.js")&&a.innerHTML&&!a.googletag_executed)&&(a.googletag_executed=!0,eval(a.innerHTML)))})();})()
