(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},k=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"boolean"==typeof a},p=function(a){return"number"==typeof a},q=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)},r=function(a,b){function c(){}c.prototype=b.prototype;a.jc=b.prototype;a.prototype=new c};var t=function(a){a=parseFloat(a);return isNaN(a)||1<a||0>a?0:a},ha=/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,u=function(a,b){if(!a)return b;var c=a.match(ha);return c?c[0]:b};var ia=t("0.02"),ja=t("1"),ka=t("1");var la=t("0.005"),ma=t("0.01"),na=t("0.001"),oa=parseInt("1500",10),pa=isNaN(oa)?1500:oa,qa=t("0.01"),ra=t("1.0");var sa=/^true$/.test("false")?!0:!1;var ta=function(){return u("","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 x=function(){return g.googletag||(g.googletag={})},y=function(a,b,c){var d=x();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]=u("","pubads.g.doubleclick.net");z[3]=u("","securepubads.g.doubleclick.net");z[4]=u("","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 C=function(a,b,c,d,f){this.pa=new Date;this.m=d||null;this.oa=c||null;this.Wa=a;this.Xa=b;this.na=f||null};e=C.prototype;e.gb=function(){return this.m};e.fb=function(){return this.oa};e.eb=function(){return this.Wa};e.ab=function(){return this.pa};e.Pb=function(){return this.Xa};e.Rb=function(){return this.na};var xa=["Debug","Info","Warning","Error","Fatal"];
C.prototype.toString=function(){var a=this.pa.toTimeString()+": "+xa[this.Wa]+": "+this.Xa;this.na&&(a+=" Duration: "+(this.pa.getTime()-this.na.ab().getTime())+"ms.");return a};C.prototype.getTimestamp=C.prototype.ab;C.prototype.getService=C.prototype.fb;C.prototype.getSlot=C.prototype.gb;C.prototype.getLevel=C.prototype.eb;C.prototype.getMessage=C.prototype.Pb;C.prototype.getReference=C.prototype.Rb;var D=function(){this.G=[]};D.prototype.Eb=function(){return this.G};D.prototype.Mb=function(a){return ya(this,function(b){return b.fb()===a})};D.prototype.Nb=function(a){return ya(this,function(b){return b.gb()===a})};D.prototype.Lb=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};D.prototype.log=function(a,b,c,d,f){a=new C(a,b,c,d,f);this.G.push(a);return a};
D.prototype.info=function(a,b,c,d){return this.log(1,a,b,c,d)};var F=function(a,b,c,d){a.log(2,b,c,d,void 0)};D.prototype.error=function(a,b,c,d){return this.log(3,a,b,c,d)};var G=function(){var a=x();return a.debug_log||(a.debug_log=new D)};y("getEventLog",G);D.prototype.getAllEvents=D.prototype.Eb;D.prototype.getEventsByService=D.prototype.Mb;D.prototype.getEventsBySlot=D.prototype.Nb;D.prototype.getEventsByLevel=D.prototype.Lb;var H=function(){this.bb=this.va=0};H.prototype.push=function(a){for(var b=G(),c=0;c<arguments.length;++c)try{q(arguments[c])&&(arguments[c](),this.va++)}catch(d){this.bb++,b.error("Exception invoking function: "+d.message)}b.info("Invoked queued function. Total: "+this.va+" Errors: "+this.bb);return this.va};H.prototype.push=H.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 h=window.chrome;if(h&&(h=h.loadTimes)){h().wasFetchedViaSpdy&&(d+="&p=s");if(h().wasNpnNegotiated){var d=d+"&npn=1",m=h().npnNegotiatedProtocol;m&&(d+="&npnv="+(encodeURIComponent||escape)(m))}h().wasAlternateProtocolAvailable&&(d+="&apa=1")}var s=a.t,A=s.start,h=[],m=[],w;for(w in s)if("start"!=w&&0!=w.indexOf("_")){var B=s[w][1];B?s[B]&&m.push(w+"."+za(a,w,s[B][0])):A&&h.push(w+"."+za(a,w))}delete s.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=",h.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 h;"prerender"==document.webkitVisibilityState?h=!1:(Ba(a,b,c),h=!0);h&&(d=!0,document.removeEventListener("webkitvisibilitychange",f,!1))}};document.addEventListener("webkitvisibilitychange",f,!1);return""}return Ba(a,b,c)}};var I=Array.prototype,Ca=I.indexOf?function(a,b,c){return I.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=I.forEach?function(a,b,c){I.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=l(a)?a.split(""):a,h=0;h<d;h++)h in f&&b.call(c,f[h],h,a)},Ea=I.map?function(a,b,c){return I.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=Array(d),h=l(a)?a.split(""):
a,m=0;m<d;m++)m in h&&(f[m]=b.call(c,h[m],m,a));return f},Fa=I.every?function(a,b,c){return I.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=l(a)?a.split(""):a,h=0;h<d;h++)if(h in f&&!b.call(c,f[h],h,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]},Ia=function(a,b){I.sort.call(a,b||Ha)},Ka=function(a){for(var b=Ja,c=0;c<a.length;c++)a[c]={index:c,
value:a[c]};var d=b||Ha;Ia(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},Ha=function(a,b){return a>b?1:a<b?-1:0};var J,La,Ma,Na,Oa=function(){return g.navigator?g.navigator.userAgent:null};Na=Ma=La=J=!1;var K;if(K=Oa()){var Pa=g.navigator;J=0==K.lastIndexOf("Opera",0);La=!J&&(-1!=K.indexOf("MSIE")||-1!=K.indexOf("Trident"));Ma=!J&&-1!=K.indexOf("WebKit");Na=!J&&!Ma&&!La&&"Gecko"==Pa.product}var Qa=J,L=La,Ra=Na,Sa=Ma,Ta=function(){var a=g.document;return a?a.documentMode:void 0},Ua;
t:{var Va="",M;if(Qa&&g.opera)var Wa=g.opera.version,Va="function"==typeof Wa?Wa():Wa;else if(Ra?M=/rv\:([^\);]+)(\)|;)/:L?M=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:Sa&&(M=/WebKit\/(\S+)/),M)var Xa=M.exec(Oa()),Va=Xa?Xa[1]:"";if(L){var Ya=Ta();if(Ya>parseFloat(Va)){Ua=String(Ya);break t}}Ua=Va}
var Za=Ua,$a={},ab=function(a){if(!$a[a]){for(var b=0,c=String(Za).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(c.length,d.length),h=0;0==b&&h<f;h++){var m=c[h]||"",s=d[h]||"",A=RegExp("(\\d*)(\\D*)","g"),w=RegExp("(\\d*)(\\D*)","g");do{var B=A.exec(m)||["","",""],E=w.exec(s)||["","",""];if(0==B[0].length&&0==E[0].length)break;b=((0==B[1].length?0:parseInt(B[1],10))<(0==E[1].length?0:parseInt(E[1],10))?-1:(0==B[1].length?0:
parseInt(B[1],10))>(0==E[1].length?0:parseInt(E[1],10))?1:0)||((0==B[2].length)<(0==E[2].length)?-1:(0==B[2].length)>(0==E[2].length)?1:0)||(B[2]<E[2]?-1:B[2]>E[2]?1:0)}while(0==b)}$a[a]=0<=b}},bb=g.document,cb=bb&&L?Ta()||("CSS1Compat"==bb.compatMode?parseInt(Za,10):5):void 0;if(Ra||L){var db;if(db=L)db=L&&9<=cb;db||Ra&&ab("1.9.1")}L&&ab("9");var eb=function(a){return p(a)&&isFinite(a)&&0==a%1&&0<=a},fb=function(a){return a.replace(/[^a-zA-Z0-9]/g,function(a){return"&#"+a.charCodeAt()+";"})},gb=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 hb=function(a){return k(a)&&2==a.length&&eb(a[0])&&eb(a[1])},ib=function(a){if(!k(a))return!1;for(var b=0;b<a.length;++b){var c=a[b];if(!k(c)||2!=c.length)return!1;for(var d=0;d<c.length;++d)if(!p(c[d]))return!1}return!0},jb=function(a){return k(a)&&1<a.length&&p(a[0])&&p(a[1])};var N=function(a,b){this.tb=a;this.qb=b};N.prototype.Wb=function(){return this.tb};N.prototype.Ob=function(){return this.qb};var kb=function(a){var b=[];if(k(a))if(jb(a))b.push(new N(a[0],a[1]));else for(var c=0;c<a.length;++c){var d=a[c];jb(d)&&b.push(new N(d[0],d[1]))}return b};N.prototype.getWidth=N.prototype.Wb;N.prototype.getHeight=N.prototype.Ob;var O=function(a,b,c){this.w=a;this.Ya=p(b)?b:0;this.g=this.w+"_"+this.Ya;this.nb=c||"gpt_unit_"+this.g};e=O.prototype;e.q=function(){return this.g};e.getName=function(){return this.w};e.$a=function(){return this.Ya};e.toString=O.prototype.q;e.l=function(){return this.nb};O.prototype.getId=O.prototype.q;O.prototype.getName=O.prototype.getName;O.prototype.getDomId=O.prototype.l;O.prototype.getInstance=O.prototype.$a;var lb=function(a,b){this.rb=a;this.ob=b};lb.prototype.getKey=function(){return this.rb};var mb=function(a){this.sb=a},nb=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},ob=function(a){if(!k(a)||2!=a.length)throw Error("Each mapping entry has to be an array of size 2");var b;b=a[0];if(!hb(b))throw Error("Size has to be an array of two non-negative integers");b=new ua(b[0],b[1]);a=kb(a[1]);if(0==a.length)throw Error("At least one slot size must be present");return new lb(b,a)};var P=function(a,b,c,d){this.w=a;this.jb=kb(c);this.aa=null;this.g=new O(a,b,d);this.c=[];this.h={};this.o=null;this.b=G();this.b.info("Created slot: "+this.g,null,this);this.v=this.M=null;this.La=this.Ja="";this.Y=!0;this.d={};this.$=[];this.Ma=!1;this.Ia=this.Ha=null;this.Ka=0};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?F(this.b,"Setting"+c+" after its contents have been loaded",null,this):this.b.info("Setting"+c,null,this)):F(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)q(this.h[b])||a.push(b);return a};
e.ka=function(a){for(var b=0;b<this.c.length;++b)if(a==this.c[b])return F(this.b,"Service "+a.getName()+" is already associated with slot "+this.g,a,this),this;this.c.push(a);a.da(this);return this};e.getName=function(){return this.w};e.i=function(){return this.g};e.Sb=function(){return this.c};e.Tb=function(a){return a&&this.aa?nb(this.aa,a):this.jb};
e.xb=function(a){try{if(!k(a))throw Error("Size mapping has to be an array");var b=Ea(a,ob);this.aa=new mb(b)}catch(c){F(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.o=a};e.F=function(a){this.La=a;return this};e.ba=function(){return this.La};
e.ya=function(a){if(l(a)&&!v(null==a?"":String(a))){var b=this.$;0<=Ca(b,a)||b.push(a);this.b.info("Setting slot level ad category exclusion: "+a,null,this)}else F(this.b,"Invalid slot level ad category exclusion label supplied",null,this);return this};e.wa=function(){this.b.info("Clearing all slot level ad category exclusions",null,this);this.$=[];return this};e.Gb=function(){var a;a=this.$;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.s=function(a,b){var c=[];k(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 h=d.length,m=0;m<h;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.Na(this,a,c)}else F(this.b,"Unable to set"+d,null,this);return this};
e.xa=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.Ub=function(){var a=this.d,b={},c;for(c in a)b[c]=a[c];return b};e.Qb=function(){return this.Ma};e.ra=function(a){eb(a)&&(this.Ka=a)};e.Fb=function(){return this.Ka};
e.dc=function(a,b){this.Ia=(this.Ha=a)&&Boolean(b);b&&!a&&F(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.Hb=function(){return this.Ha};e.Kb=function(){return this.Ia};
var pb=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.o;return l(c)&&0<c.length?(a.Ra(),b.innerHTML=c,a.Qa(),!0):!1};e=P.prototype;e.Cb=function(a){this.M=this.b.info("Fetching ad for slot "+this.getName(),null,this);this.Ja=a};e.Ib=function(){return this.Ja};
e.Bb=function(){this.b.info("Receiving ad for slot "+this.getName(),null,this,this.M)};e.Ra=function(){this.v=this.b.info("Rendering ad for slot "+this.getName(),null,this)};e.Qa=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.Tb;P.prototype.defineSizeMapping=P.prototype.xb;
P.prototype.addService=P.prototype.ka;P.prototype.getOutOfPage=P.prototype.Qb;P.prototype.getAudExtId=P.prototype.Fb;P.prototype.getServices=P.prototype.Sb;P.prototype.getAttributeKeys=P.prototype.B;P.prototype.fetchStarted=P.prototype.Cb;P.prototype.fetchEnded=P.prototype.Bb;P.prototype.renderStarted=P.prototype.Ra;P.prototype.renderEnded=P.prototype.Qa;P.prototype.hasWrapperDiv=P.prototype.A;P.prototype.getContentUrl=P.prototype.Ib;P.prototype.setClickUrl=P.prototype.F;P.prototype.getClickUrl=P.prototype.ba;
P.prototype.clearTargeting=P.prototype.xa;P.prototype.getTargetingMap=P.prototype.Ub;P.prototype.setTargeting=P.prototype.s;P.prototype.setCategoryExclusion=P.prototype.ya;P.prototype.clearCategoryExclusions=P.prototype.wa;P.prototype.getCategoryExclusions=P.prototype.Gb;P.prototype.getCollapseEmptyDiv=P.prototype.Hb;P.prototype.setCollapseEmptyDiv=P.prototype.dc;P.prototype.getDivStartsCollapsed=P.prototype.Kb;var Q=function(){this.D={};this.N={};this.b=G()};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().$a()==c)?d:null};
var qb=function(){var a=x();return a.slot_manager_instance||(a.slot_manager_instance=new Q)},rb=function(a,b,c){var d=qb();return d&&d.add(a,b,c)};y("defineOutOfPageSlot",function(a,b){var c=qb();return c?(c=c.add(a,[1,1],b))?(c.Ma=!0,c):null:null});y("defineSlot",rb);y("defineUnit",rb);Q.prototype.find=Q.prototype.find;Q.getInstance=qb;var sb=function(a){var b=G();if(l(a)){var c;c=qb();c.N[a]?c=c.N[a]:(F(c.b,"Ad unit lookup for div "+a+" failed."),c=null);if(c)if(a=c,a.Y&&!a.A())F(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",sb,!0);var R=function(){this.Ua=[];this.Va={};this.qa=!1;this.h={};this.log=G();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)):F(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.Ua};e.hb=function(){return this.Va};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.ua()}catch(a){this.log.error("Failed to enable service: "+a,this)}}};e.display=function(a,b,c,d){this.enable();a=c?rb(a,b,c):rb(a,b);a.ka(this);d&&a.F(d);sb(a.i().l())};
e.da=function(a){this.Ua.push(a);this.Va[a.i().q()]=a;this.log.info("Associated "+this.getName()+" service with slot "+a.getName(),this,a)};e.clearSlotTargeting=function(){};e.Na=function(){};R.prototype.getSlots=R.prototype.j;R.prototype.getSlotIdMap=R.prototype.hb;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 tb=function(a,b){this.name=a;this.ta=b?b:new g.GPT_jstiming.Timer;this.ta.name=a;this.sa=[]};e=tb.prototype;e.getName=function(){return this.name};e.tick=function(a,b){this.ta.tick(a,b)};e.Za=function(a){a&&this.sa.push(a)};e.report=function(){var a="https:"==g.location.protocol?"https://www.google.com/csi":"http://csi.gstatic.com/csi",b={};this.sa.length&&(b.e=this.sa.join());return g.GPT_jstiming.report(this.ta,b,a)};e.ib=function(a){wa(window,function(){setTimeout(a,10)})};
var S=function(a){this.name=a};r(S,tb);S.prototype.tick=function(){};S.prototype.Za=function(){};S.prototype.report=function(){return null};S.prototype.ib=function(){};var ub=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 tb("global",a):new S("global")};
(function(){if(!x()._gpt_timer_&&g.GPT_jstiming){var a=ub();a.ib(function(){a.tick("load");a.report()});y("_gpt_timer_",a)}return x()._gpt_timer_})();var T=function(){this.c={};this.Z=!1;this.b=G();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.Z=!0;this.b.info("Page load complete",null,null,this.lb)};var U=function(){var a=x();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(!q(c)){c.enable();var c=b,d=x()._gpt_timer_;d&&d.Za(c)}}});var V=function(){R.call(this);this.Oa=!0;this.ha=this.ja=!1;this.P=0;this.Q="";this.ga=this.fa=this.ea=this.C=void 0;this.Pa=this.ia=!1;this.ca={};this.O=!1};r(V,R);e=V.prototype;
e.ua=function(){if(this.Oa){if(!this.Pa){var a=document,b=document.createElement("script");b.async=!0;b.type="text/javascript";b.src=this.p();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="'+fb(this.p())+'">\x3c/script>'),this.ia=!0)};
e.yb=function(){this.Oa=!1};e.ec=function(a){n(a)&&(this.ja=a)};e.cc=function(a){n(a)&&(this.ha=a)};e.Yb=function(a){if(this.ja)vb(this,wb(this,a));else if(this.ha){a=wb(this,a);var b=googletag.pubads();b.isEnabled()?b.clear(a):this.log.error("Pubads service is not enabled, cannot use clear feature.")}};
e.Sa=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.ac=function(){this.ja&&vb(this,null)};
e.gc=function(a,b,c,d,f,h,m){this.O=!1;this.P=0;this.Q="";this.ga=this.fa=this.ea=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(!k(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.ea=a;void 0!==
f&&(this.fa=f);void 0!==h&&(this.ga=h);void 0!==m&&(this.O=m)};e.Jb=function(){return googletag.pubads().getCorrelator()};e.getVideoStreamCorrelator=function(){return googletag.pubads().getVideoStreamCorrelator()};e.hc=function(a){this.P=a};e.ic=function(a){this.Q=a};
var vb=function(a,b){var c=googletag.pubads();if(c.isEnabled()){if(a.O){if(!a.Sa()){F(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.Ta(b,a.P,a.Q,a.C,a.ea,a.fa,a.ga,a.O,a.ha)}else a.log.error("Pubads service is not enabled, cannot use refresh feature.")};
V.prototype.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};var wb=function(a,b){for(var c=a.hb(),d=[],f=0;f<b.length;++f){var h=b[f];h in c?d.push(c[h]):F(a.log,"Cannot find slot with id "+h+".",a)}return d};e=V.prototype;e.getName=function(){return"companion_ads"};
e.p=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.$b=function(){this.log.info("Companion ads implementation fetched.",this);this.ia=!0};e.r=function(a){var b=a&&a.i().q();return b&&b in this.ca&&a.A()&&this.isEnabled()&&!this.isSlotAPersistentRoadblock(a)?(a.R(this.ca[b]),pb(a)):!1};e.H=function(a){this.r(a)};
e.fillSlot=function(a,b){return a&&l(b)&&0<b.length?(this.ca[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.Sa;V.prototype.onImplementationLoaded=V.prototype.$b;V.prototype.notifyUnfilledSlots=V.prototype.Yb;
V.prototype.refreshAllSlots=V.prototype.ac;V.prototype.setRefreshUnfilledSlots=V.prototype.ec;V.prototype.setClearUnfilledSlots=V.prototype.cc;V.prototype.setXfpCorrelator=V.prototype.hc;V.prototype.setXfpPreviousAdsToken=V.prototype.ic;V.prototype.setVideoSessionInfo=V.prototype.gc;V.prototype.getDisplayAdsCorrelator=V.prototype.Jb;V.prototype.getVideoStreamCorrelator=V.prototype.getVideoStreamCorrelator;var W=function(){R.call(this);this.o={}};r(W,R);e=W.prototype;e.getName=function(){return"content"};e.r=function(a){var b=a&&a.i().q();return b in this.o&&this.isEnabled()&&a.A()&&!a.v?(a.R(this.o[b]),pb(a)):!1};e.ua=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.o[a.i().q()]=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 xb=null,yb=Ra||Sa||Qa||"function"==typeof g.atob;var X=function(a,b,c){!l(a)||0>=a.length||!Boolean(b)||!c?G().error("Illegal slot name or size in PassbackSlot(). Name: "+a+"; size: "+b+"; service: "+c):(this.m=new P(a,this[ca]||(this[ca]=++da),b),this.m.ka(c),this.oa=c)};X.prototype.F=function(a){this.m.F(a);return this};X.prototype.s=function(a,b){this.m.s(a,b);return this};X.prototype.ra=function(a){this.m.ra(a);return this};X.prototype.display=function(){zb(this.oa,this.m)};X.prototype.setClickUrl=X.prototype.F;X.prototype.setTargeting=X.prototype.s;
X.prototype.setAudExtId=X.prototype.ra;X.prototype.display=X.prototype.display;var Y=function(){R.call(this);this.u=!1;this.a=null;this.za=0;this.d={};this.T=[];this.Ea=this.V="";this.Da=!1;this.Ba=!0;this.n=this.Aa=!1;this.f=!0;this.S=this.I=this.Ca=!1;this.k=[];this.J=[];this.K=[];this.U=!1;this.W={};this.X=!1;this.Fa=this.Ga="";this.L=[]};r(Y,R);
var Ab={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.ua=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.p();(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 Bb(this)};Y.prototype.getName=function(){return"publisher_ads"};Y.prototype.p=function(){return(gb()?"https:":"http:")+"//partner.googleadservices.com/gpt/pubads_impl_26.js"};
var Bb=function(a){var b=U();a.u||b.Z||(b=document,a.u=!0,b.write('<script type="text/javascript" src="'+fb(a.p())+'">\x3c/script>'))};
Y.prototype.fillSlot=function(a){this.log.info("Calling fillslot");this.a.fillSlot(a);this.W[a.getName()]=!0;if(this.a)if(this.U)(a=this.j()[0])&&a.getName()in this.W&&(this.refresh(),this.U=!1);else for(a=0;a<this.K.length;a++){var b=this.K[a];b[0].getName()in this.W&&(this.refresh(b),I.splice.call(this.K,a,1),a--)}else this.log.error("Bad call to check refreshes before impl is loaded",this)};
Y.prototype.Zb=function(){U();var a=x().impl;if(a&&a.pubads){this.a=a.pubads;this.log.info("GPT implementation fetched.",this);q(this.a.setCookieOptions)&&this.a.setCookieOptions(this.za);this.Ba||this.a.disableFetch();this.I&&this.a.collapseEmptyDivs(this.S);if(this.n){this.f?this.a.enableAsyncSingleRequest():this.a.enableSingleRequest();Cb(this);for(var a=this.j(),b=0;b<a.length;++b)Db(this,a[b])}else this.f&&this.a.enableAsyncRendering();this.Aa&&this.a.disableInitialLoad();Eb(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)zb(this,this.J[b])}else this.log.error("Unable to fetch pubads service implementation from "+this.p(),this)};Y.prototype.da=function(a){this.f||(a.Y=!1);R.prototype.da.call(this,a)};
Y.prototype.H=function(a){if(U().Z&&!this.f)this.log.error("Attempting to display ad in sync mode after page load is complete.",this);else if(this.a)Cb(this),(this.n||Db(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 Db=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 Ab?a.a.addAdSenseSlotAttribute(b,Ab[c[d]],b.get(c[d])):F(a.log,"Ignoring unknown pubads attribute "+c[d]+" with value "+b.get(c[d])+" for slot "+b.getName(),a,b);if(q(a.a.addSlotTargeting)){var c=[],f;for(f in b.d)q(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.ba()&&q(a.a.kb)&&a.a.kb(b,
b.ba());return!0},Cb=function(a){if(!a.Da){a.Da=!0;for(var b=a.B(),c=0;c<b.length;++c)b[c]in Ab?a.a.addAdSensePageAttribute(Ab[b[c]],a.get(b[c])):F(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],k(b))for(c=0;c<b.length;++c)a.a.addAttribute(d,b[c]);q(a.a.addPageCategoryExclusion)&&Da(a.T,function(a){this.a.addPageCategoryExclusion(a)},a);q(a.a.setPublisherProvidedId)&&a.a.setPublisherProvidedId(a.Ea);
a.V&&a.a.setLocation(a.V);void 0!==a.a.setCenterAds&&a.a.setCenterAds(a.Ca);void 0!==a.a.setApiExperiment?Da(a.L,function(a){this.a.setApiExperiment(a)},a):0==a.L.length||F(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(!eb(a))return F(this.log,"Cookie options must be an integer number, 0 or greater. Ignoring value: "+a,this),this;this.za=a;this.a&&q(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 F(this.log,"Unable to set"+d,this),this;this.d[a]=c;this.log.info("Setting"+d,this);if(this.a&&q(this.a.clearAttribute))for(this.a.clearAttribute(a),d=0;d<c.length;++d)this.a.addAttribute(a,c[d]);return this};
e.xa=function(a){var b=" targeting attribute "+a+" for service "+this.getName();if(!l(a)||v(null==a?"":String(a)))return F(this.log,"Unable to clear"+b,this),this;if(!this.d[a])return F(this.log,"Cannot find"+b,this),this;delete this.d[a];this.log.info("Clearing"+b,this);this.a&&q(this.a.clearAttribute)&&this.a.clearAttribute(a);return this};
e.ya=function(a){if(!l(a)||v(null==a?"":String(a)))return F(this.log,"Invalid page level ad category exclusion label supplied",this),this;var b=this.T;0<=Ca(b,a)||b.push(a);this.log.info("Setting page level ad category exclusion: "+a,this);this.a&&q(this.a.clearPageCategoryExclusions)&&this.a.addPageCategoryExclusion(a);return this};
e.wa=function(){this.T=[];this.log.info("Clearing all page level ad category exclusions",this);this.a&&q(this.a.clearPageCategoryExclusions)&&this.a.clearPageCategoryExclusions();return this};e.Xb=function(){this.a?F(this.log,"Ignoring noFetch since the pubads service is already enabled",this):this.Ba=!1};e.disableInitialLoad=function(){this.a?F(this.log,"Ignoring disableInitialLoad since the pubads service is already enabled",this):this.Aa=!0};
e.enableSingleRequest=function(){this.isEnabled()&&!this.n?F(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.n=!0);return this.n};e.enableAsyncRendering=function(){this.isEnabled()&&!this.f?F(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)F(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].Y=!1}return!this.f};e.bc=function(a){this.log.info("Setting centering to "+a,this);this.Ca=a};
e.setPublisherProvidedId=function(a){this.isEnabled()?F(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.Ea=a);return this};e.wb=function(a,b){return new X(a,b,this)};var zb=function(a,b){Bb(a);a.a?q(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&&!k(a))F(this.log,"Slots to refresh must be an array.",this);else{var b=null;if(a&&(b=Fb(this,a),!b.length)){this.log.error("Slots specified, but no valid slots found. Refresh aborted.",this);return}this.a?(this.log.info("Refreshing ads",this),this.a.refresh(b)):this.n?(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.U=!0):F(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",this)}};
e.Ta=function(a,b,c,d,f,h,m,s,A){if(a&&!k(a))F(this.log,"Slots to refresh must be an array.",this);else if(b&&!p(b))F(this.log,"Correlator must be a number.",this);else if(c&&!l(c))F(this.log,"Pstok must be a string.",this);else if(d&&!l(d))F(this.log,"Video IU must be a string.",this);else if(f&&!k(f))F(this.log,"Video IU sizes must be an array.",this);else if(h&&!p(h))F(this.log,"Pod number must be a number.",this);else if(m&&!p(m))F(this.log,"Pod position must be a number.",this);else if(s&&!n(s))F(this.log,
"Persistent roadblocks only must be a boolean.",this);else if(A&&!n(A))F(this.log,"Clear unfilled slots must be a boolean.",this);else if(this.a){var w=null;if(a&&(w=Fb(this,a),!w.length)){this.log.error("No valid slot ids found, refresh aborted.",this);return}f&&!ib(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(w,b,c,d,f,h,m,s,A))}else F(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",
this)};e.Ab=function(){this.X=!0;Eb(this)};e.fc=function(a,b){this.X=!0;this.Ga=a;this.Fa=b;Eb(this)};e.Vb=function(){return this.a&&null!=this.a.getVideoContentInformation?this.a.getVideoContentInformation():null};var Eb=function(a){a.X&&a.a&&a.a.setVideoContentInformation&&a.a.setVideoContentInformation(a.Ga,a.Fa)};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?F(this.log,"Ignoring subsequent call to set div collapse mode (already set)",this):this.isEnabled()?F(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(a){if(!this.a)return F(this.log,"The slot contents cannot be cleared because the GPT implementation Javascript is not yet loaded.",this),!1;if(null!=this.a.clearSlotContents){var b=null;if(a&&(b=Fb(this,a),0==b.length))return this.log.error("Slots specified, but no valid slots found. Clear aborted.",this),!1;this.log.info("Clearing slot contents.",this);return this.a.clearSlotContents(b)}F(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()):F(this.log,"The GPT implementation does not yet support clearNoRefreshState"):F(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&&q(this.a.clearSlotTargeting)&&this.a.clearSlotTargeting(a)};
e.Na=function(a,b,c){this.a&&q(this.a.addSlotTargeting)&&this.a.addSlotTargeting(a,b,c)};
e.setLocation=function(a,b,c){var d="role:1 producer:12";if(void 0!==b){if(!p(a)||!p(b))return F(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 F(this.log,"Radius is expected to be a number"),this;d+=" radius:"+Math.round(c)}}else 50<a.length&&(b=a.substring(0,50),F(this.log,"Location: "+a+" is longer than 50. Truncating it to"+b+"."),a=b),d+=' loc:"'+a+'"';if(yb)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(!xb)for(xb={},a=0;65>a;a++)xb[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a);a=xb;b=[];for(c=0;c<d.length;c+=3){var h=d[c],m=(f=c+1<d.length)?d[c+1]:0,s=c+2<d.length,A=s?d[c+2]:0,w=h>>2,h=(h&3)<<4|m>>4,m=(m&15)<<2|A>>6,A=A&63;s||(A=64,f||(m=64));b.push(a[w],a[h],a[m],a[A])}d=b.join("")}this.V=
"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()?F(this.log,"Ignoring experiment since the service is already enabled. Not setting: "+a,this):this.L.push(a)};var Fb=function(a,b){for(var c=[],d=0;d<b.length;++d){var f=b[d];f instanceof P?c.push(f):F(a.log,"Slot object at position "+d+" is of incorrect type.",a)}return c};
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.Vb;Y.prototype.getVideoStreamCorrelator=Y.prototype.getVideoStreamCorrelator;Y.prototype.isAdRequestFinished=Y.prototype.isAdRequestFinished;Y.prototype.isSlotAPersistentRoadblock=Y.prototype.isSlotAPersistentRoadblock;Y.prototype.noFetch=Y.prototype.Xb;Y.prototype.onGoogleAdsJsLoad=Y.prototype.Zb;Y.prototype.refresh=Y.prototype.refresh;Y.prototype.setLocation=Y.prototype.setLocation;
Y.prototype.setTargeting=Y.prototype.s;Y.prototype.clearTargeting=Y.prototype.xa;Y.prototype.setCategoryExclusion=Y.prototype.ya;Y.prototype.clearCategoryExclusions=Y.prototype.wa;Y.prototype.setVideoContent=Y.prototype.fc;Y.prototype.getVersion=Y.prototype.getVersion;Y.prototype.videoRefresh=Y.prototype.Ta;Y.prototype.setCentering=Y.prototype.bc;Y.prototype.setPublisherProvidedId=Y.prototype.setPublisherProvidedId;Y.prototype.setCookieOptions=Y.prototype.setCookieOptions;var Gb=/#|$/,Hb=function(a,b){var c=a.search(Gb),d;t:{d=0;for(var f=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var h=a.charCodeAt(d-1);if(38==h||63==h)if(h=a.charCodeAt(d+f),!h||61==h||38==h||35==h)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 Ib=function(){var a=window,b=document;if(x()._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!==Hb(a,"google_debug")||null!==Hb(a,"google_console")||null!==Hb(a,"google_force_console")},Jb=function(){if(Ib()){var a=document,b=a.createElement("script");b.type="text/javascript";b.src=
(gb()?"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?Jb():wa(window,Jb);y("disablePublisherConsole",function(){x()._pubconsole_disable_=!0});var Z=function(){this.ma=[];this.la=!1;this.b=G()};Z.prototype.ub=function(a,b){if(!hb(a))return this.la=!0,F(this.b,"Cannot add size mapping due to invalid viewport size: "+a),this;if(!(hb(b)||k(b)&&Fa(b,hb)))return this.la=!0,F(this.b,"Cannot add size mapping due to invalid slot size: "+b),this;this.ma.push([a,b]);return this};Z.prototype.vb=function(){if(this.la)return F(this.b,"Size mapping is null because invalid mappings were added"),null;Ka(this.ma);return this.ma};
var Ja=function(a,b){var c;t:{c=b[0];for(var d=a[0],f=Ha,h=Math.min(c.length,d.length),m=0;m<h;m++){var s=f(c[m],d[m]);if(0!=s){c=s;break t}}c=Ha(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"26"});var $=x().cmd;if(!$||k($)){var Kb=x().cmd=new H;$&&0<$.length&&Kb.push.apply(Kb,$)}(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)))})();})()
