(function(){var e=void 0,g=!0,h=null,j=!1,k,l=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},m=function(a){return"array"==aa(a)},o=function(a){return"string"==typeof a},q=function(a){return"number"==typeof a},s=function(a){return"function"==aa(a)};Math.floor(2147483648*Math.random()).toString(36);
var 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(h,arguments)},u=function(a,b){function c(){}
c.prototype=b.prototype;a.sb=b.prototype;a.prototype=new c};var v=function(){return l.googletag||(l.googletag={})},w=function(a,b,c){var d=v();if(!(a in d)||c)d[a]=b},da=function(a,b){a.attachEvent?a.attachEvent("onload",b):a.addEventListener&&a.addEventListener("load",b,j)};var x=function(a,b,c,d,f){this.W=new Date;this.Na=d||h;this.Ma=c||h;this.sa=a;this.ta=b;this.V=f||h};k=x.prototype;k.Ea=function(){return this.Na};k.Da=function(){return this.Ma};k.Ca=function(){return this.sa};k.ya=function(){return this.W};k.cb=function(){return this.ta};k.fb=function(){return this.V};var ea=["Debug","Info","Warning","Error","Fatal"];
x.prototype.toString=function(){var a=this.W.toTimeString()+": "+ea[this.sa]+": "+this.ta;this.V&&(a+=" Duration: "+(this.W.getTime()-this.V.ya().getTime())+"ms.");return a};x.prototype.getTimestamp=x.prototype.ya;x.prototype.getService=x.prototype.Da;x.prototype.getSlot=x.prototype.Ea;x.prototype.getLevel=x.prototype.Ca;x.prototype.getMessage=x.prototype.cb;x.prototype.getReference=x.prototype.fb;var y=function(){this.B=[]};y.prototype.Wa=function(){return this.B};y.prototype.$a=function(a){return fa(this,function(b){return b.Da()===a})};y.prototype.ab=function(a){return fa(this,function(b){return b.Ea()===a})};y.prototype.Za=function(a){return fa(this,function(b){return b.Ca()>=a})};var fa=function(a,b){for(var c=[],d=0;d<a.B.length;++d)b(a.B[d])&&c.push(a.B[d]);return c};y.prototype.log=function(a,b,c,d,f){a=new x(a,b,c,d,f);this.B.push(a);return a};
y.prototype.info=function(a,b,c,d){return this.log(1,a,b,c,d)};var z=function(a,b,c,d){a.log(2,b,c,d,e)};y.prototype.error=function(a,b,c,d){return this.log(3,a,b,c,d)};var B=function(){var a=v();return a.debug_log||(a.debug_log=new y)};w("getEventLog",B);y.prototype.getAllEvents=y.prototype.Wa;y.prototype.getEventsByService=y.prototype.$a;y.prototype.getEventsBySlot=y.prototype.ab;y.prototype.getEventsByLevel=y.prototype.Za;var C=function(){this.Aa=this.aa=0};C.prototype.push=function(a){for(var b=B(),c=0;c<arguments.length;++c)try{s(arguments[c])&&(arguments[c](),this.aa++)}catch(d){this.Aa++,b.error("Exception invoking function: "+d.message)}b.info("Invoked queued function. Total: "+this.aa+" Errors: "+this.Aa);return this.aa};C.prototype.push=C.prototype.push;function ga(a){this.t={};this.tick=function(a,c,d){this.t[a]=[d!=e?d:(new Date).getTime(),c]};this.tick("start",h,a)}var ha=new ga;window.GPT_jstiming={Timer:ga,load:ha};try{var D=h;window.chrome&&window.chrome.csi&&(D=Math.floor(window.chrome.csi().pageT));D==h&&window.gtbExternal&&(D=window.gtbExternal.pageT());D==h&&window.external&&(D=window.external.pageT);D&&(window.GPT_jstiming.pt=D)}catch(ia){};if(window.GPT_jstiming){window.GPT_jstiming.Ba={};window.GPT_jstiming.Oa=1;var ja=function(a,b,c){var d=a.t[b],f=a.t.start;if(d&&(f||c))return d=a.t[b][0],c!=e?f=c:f=f[0],d-f},ka=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 i=
window.chrome;if(i&&(i=i.loadTimes))i().wasFetchedViaSpdy&&(d+="&p=s"),i().wasNpnNegotiated&&(d+="&npn=1"),i().wasAlternateProtocolAvailable&&(d+="&apa=1");var p=a.t,H=p.start,i=[],A=[],n;for(n in p)if("start"!=n&&0!=n.indexOf("_")){var r=p[n][1];r?p[r]&&A.push(n+"."+ja(a,n,p[r][0])):H&&i.push(n+"."+ja(a,n))}delete p.start;if(b)for(var ra in b)d+="&"+ra+"="+b[ra];(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,A.length?"&it="+A.join(","):"","",d,"&rt=",i.join(",")].join("")},la=function(a,b,c){a=ka(a,b,c);if(!a)return"";var b=new Image,d=window.GPT_jstiming.Oa++;window.GPT_jstiming.Ba[d]=b;b.onload=b.onerror=function(){window.GPT_jstiming&&delete window.GPT_jstiming.Ba[d]};b.src=a;b=h;return a};window.GPT_jstiming.report=function(a,b,c){if("prerender"==document.webkitVisibilityState){var d=j,f=function(){if(!d){b?b.prerender="1":b={prerender:"1"};var i;"prerender"==document.webkitVisibilityState?
i=j:(la(a,b,c),i=g);i&&(d=g,document.removeEventListener("webkitvisibilitychange",f,j))}};document.addEventListener("webkitvisibilitychange",f,j);return""}return la(a,b,c)}};var na=function(a){for(var b=0,c=(""+ma).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),a=(""+a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=Math.max(c.length,a.length),f=0;0==b&&f<d;f++){var i=c[f]||"",p=a[f]||"",H=RegExp("(\\d*)(\\D*)","g"),A=RegExp("(\\d*)(\\D*)","g");do{var n=H.exec(i)||["","",""],r=A.exec(p)||["","",""];if(0==n[0].length&&0==r[0].length)break;b=((0==n[1].length?0:parseInt(n[1],10))<(0==r[1].length?0:parseInt(r[1],10))?-1:(0==n[1].length?0:parseInt(n[1],10))>(0==r[1].length?
0:parseInt(r[1],10))?1:0)||((0==n[2].length)<(0==r[2].length)?-1:(0==n[2].length)>(0==r[2].length)?1:0)||(n[2]<r[2]?-1:n[2]>r[2]?1:0)}while(0==b)}return b};var E,oa,F,pa,qa=function(){return l.navigator?l.navigator.userAgent:h};pa=F=oa=E=j;var G;if(G=qa()){var sa=l.navigator;E=0==G.indexOf("Opera");oa=!E&&-1!=G.indexOf("MSIE");F=!E&&-1!=G.indexOf("WebKit");pa=!E&&!F&&"Gecko"==sa.product}var I=oa,ta=pa,ua=F,va;
a:{var J="",K;if(E&&l.opera)var wa=l.opera.version,J="function"==typeof wa?wa():wa;else if(ta?K=/rv\:([^\);]+)(\)|;)/:I?K=/MSIE\s+([^\);]+)(\)|;)/:ua&&(K=/WebKit\/(\S+)/),K)var xa=K.exec(qa()),J=xa?xa[1]:"";if(I){var ya,za=l.document;ya=za?za.documentMode:e;if(ya>parseFloat(J)){va=""+ya;break a}}va=J}var ma=va,L={},Aa={},Ba=function(){return Aa[9]||(Aa[9]=I&&!!document.documentMode&&9<=document.documentMode)};!I||Ba();if(ta||I)if(!I||!Ba())ta&&(L["1.9.1"]||(L["1.9.1"]=0<=na("1.9.1")));I&&(L["9"]||(L["9"]=0<=na("9")));var M=function(a,b){this.Qa=a;this.Pa=b};M.prototype.ib=function(){return this.Qa};M.prototype.bb=function(){return this.Pa};M.prototype.getWidth=M.prototype.ib;M.prototype.getHeight=M.prototype.bb;var N=function(a,b,c){this.q=a;this.wa=q(b)?b:0;this.f=this.q+"_"+this.wa;this.La=c||"gpt_unit_"+this.f};k=N.prototype;k.n=function(){return this.f};k.getName=function(){return this.q};k.xa=function(){return this.wa};k.toString=N.prototype.n;k.k=function(){return this.La};N.prototype.getId=N.prototype.n;N.prototype.getName=N.prototype.getName;N.prototype.getDomId=N.prototype.k;N.prototype.getInstance=N.prototype.xa;var Ca=function(a){return a.replace(/[^a-zA-Z0-9]/g,function(a){return"&#"+a.charCodeAt()+";"})},Da=function(){var a=h;try{a=document.location.protocol}catch(b){}return"https:"==a?"https:":"http:"};var O=function(a,b,c,d){this.q=a;var f=[];if(m(c))if(1<c.length&&q(c[0])&&q(c[1]))f.push(new M(c[0],c[1]));else for(var i=0;i<c.length;++i){var p=c[i];m(p)&&1<p.length&&q(p[0])&&q(p[1])&&f.push(new M(p[0],p[1]))}this.Ha=f;this.f=new N(a,b,d);this.c=[];this.g={};this.l=h;this.b=B();this.b.info("Created slot: "+this.f,h,this);this.p=this.F=h;this.ia=this.ha="";this.L=g;this.i={};this.ja=j};k=O.prototype;
k.set=function(a,b){var c=[" attribute ",a," with value ",b," for slot ",this.getName()].join("");a&&o(a)&&b?(this.g[a]=b,this.F||this.p?z(this.b,"Setting"+c+" after its contents have been loaded",h,this):this.b.info("Setting"+c,h,this)):z(this.b,"Unable to set"+c,h,this);return this};k.get=function(a){return a in this.g?this.g[a]:h};k.z=function(){var a=[],b;for(b in this.g)s(this.g[b])||a.push(b);return a};
k.ua=function(a){for(var b=0;b<this.c.length;++b)if(a==this.c[b])return z(this.b,"Service "+a.getName()+" is already associated with slot "+this.f,a,this),this;this.c.push(a);a.S(this);return this};k.getName=function(){return this.q};k.h=function(){return this.f};k.gb=function(){return this.c};k.hb=function(){return this.Ha};k.s=function(){return!!document.getElementById(this.f.k())};k.K=function(a){this.l=a};k.va=function(a){this.ia=a;return this};k.U=function(){return this.ia};
k.ba=function(a,b){var c=[];m(b)?c=b:b&&c.push(b.toString());var d=[" targeting attribute ",a," with value ",c.join()," for slot ",this.getName()].join("");a&&o(a)?(this.i[a]=c,this.F||this.p?z(this.b,"Setting"+d+" after its contents have been loaded",h,this):this.b.info("Setting"+d,h,this)):z(this.b,"Unable to set"+d,h,this);return this};k.eb=function(){return this.ja};
var Ea=function(a){if(!a.s())return a.b.error("Unable to write to slot "+a.f+". It has not yet been rendered.",h,a),j;var b=l.document,c=a.f.k(),b=b&&b.getElementById(c);if(!b)return a.b.error("Unable to find the div container with id "+c+" for slot "+a.f,h,a),j;c=a.l;return o(c)&&0<c.length?(a.oa(),b.innerHTML=c,a.na(),g):j};k=O.prototype;k.Va=function(a){this.F=this.b.info("Fetching ad for slot "+this.getName(),h,this);this.ha=a};k.Xa=function(){return this.ha};
k.Ua=function(){this.b.info("Receiving ad for slot "+this.getName(),h,this,this.F)};k.oa=function(){this.p=this.b.info("Rendering ad for slot "+this.getName(),h,this)};k.na=function(){this.b.info("Completed rendering ad for slot "+this.getName(),h,this,this.p)};O.prototype.set=O.prototype.set;O.prototype.get=O.prototype.get;O.prototype.getName=O.prototype.getName;O.prototype.getSlotId=O.prototype.h;O.prototype.getSizes=O.prototype.hb;O.prototype.addService=O.prototype.ua;
O.prototype.getOutOfPage=O.prototype.eb;O.prototype.getServices=O.prototype.gb;O.prototype.getAttributeKeys=O.prototype.z;O.prototype.fetchStarted=O.prototype.Va;O.prototype.fetchEnded=O.prototype.Ua;O.prototype.renderStarted=O.prototype.oa;O.prototype.renderEnded=O.prototype.na;O.prototype.hasWrapperDiv=O.prototype.s;O.prototype.getContentUrl=O.prototype.Xa;O.prototype.setClickUrl=O.prototype.va;O.prototype.getClickUrl=O.prototype.U;O.prototype.setTargeting=O.prototype.ba;var P=function(){this.A={};this.G={};this.b=B()};P.prototype.add=function(a,b,c){if(!o(a)||0>=a.length||!b)return h;a in this.A||(this.A[a]=[]);b=new O(a,this.A[a].length,b,c);c=b.h().k();if(this.G[c])return this.b.error("Div element "+c+" is already associated with another slot"),h;this.A[a].push(b);return this.G[b.h().k()]=b};P.prototype.find=function(a,b){var c=b||0,d=o(a)&&this.A[a]||[];return 0<=c&&c<d.length&&(d=d[c],d.h().xa()==c)?d:h};
var Q=function(){var a=v();return a.slot_manager_instance||(a.slot_manager_instance=new P)},R=function(a,b,c){var d=Q();return d&&d.add(a,b,c)};w("defineOutOfPageSlot",function(a,b){var c=Q();if(!c)return h;return(c=c.add(a,[1,1],b))?(c.ja=g,c):h});w("defineSlot",R);w("defineUnit",R);P.prototype.find=P.prototype.find;P.getInstance=Q;var Fa=function(a){var b=B();if(o(a)){var c;c=Q();c.G[a]?c=c.G[a]:(z(c.b,"Ad unit lookup for div "+a+" failed."),c=h);if(c)if(a=c,a.L&&!a.s())z(a.b,"Slot "+a.q+" does not have a container div with id: "+a.f.k()+".",h,a);else for(b=0;b<a.c.length;++b)a.c[b].isEnabled()&&a.c[b].C(a);else b.error("Div "+a+" is not mapped to a known ad unit.")}else b.error("Unknown div id in display(): "+a.toString())};w("display",Fa,g);var S=function(){this.qa=[];this.ra={};this.X=j;this.g={};this.log=B();this.log.info("Created service: "+this.getName(),this)};k=S.prototype;k.getName=function(){return"unknown"};k.set=function(a,b){var c=["attribute ",a," with value ",b," for service ",this.getName()].join("");o(a)&&0<a.length?(this.g[a]=b,this.log.info("Setting "+c,this,h)):z(this.log,"Unable to set "+c,this,h);return this};k.get=function(a){return this.g[a]};
k.z=function(){var a=[],b;for(b in this.g)"function"!=typeof this.g[b]&&a.push(b);return a};k.v=function(){return this.qa};k.Fa=function(){return this.ra};k.isEnabled=function(){return this.X};k.enable=function(){if(this.X)this.log.info("Service is already enabled.",this);else{this.X=g;try{this.$()}catch(a){this.log.error("Failed to enable service: "+a,this)}}};k.display=function(a,b,c,d){this.enable();a=c?R(a,b,c):R(a,b);a.ua(this);d&&a.va(d);Fa(a.h().k())};
k.S=function(a){this.qa.push(a);this.ra[a.h().n()]=a;this.log.info("Associated "+this.getName()+" service with slot "+a.getName(),this,a)};S.prototype.getSlots=S.prototype.v;S.prototype.getSlotIdMap=S.prototype.Fa;S.prototype.enable=S.prototype.enable;S.prototype.set=S.prototype.set;S.prototype.get=S.prototype.get;S.prototype.getAttributeKeys=S.prototype.z;S.prototype.display=S.prototype.display;var Ga=function(a,b){this.name=a;this.Z=b?b:new l.GPT_jstiming.Timer;this.Z.name=a;this.Y=[]};k=Ga.prototype;k.getName=function(){return this.name};k.tick=function(a,b){this.Z.tick(a,b)};k.za=function(a){a&&this.Y.push(a)};k.report=function(){var a="https:"==l.location.protocol?"https://www.google.com/csi":"http://csi.gstatic.com/csi",b={};this.Y.length&&(b.e=this.Y.join());return l.GPT_jstiming.report(this.Z,b,a)};k.Ga=function(a){da(window,a)};var T=function(a){this.name=a};u(T,Ga);
T.prototype.tick=function(){};T.prototype.za=function(){};T.prototype.report=function(){return h};T.prototype.Ga=function(){};var Ha=function(){var a=l.GPT_jstiming.load,b=1;b==e&&(b=1);return l.GPT_jstiming&&l.GPT_jstiming.load&&("http:"==l.location.protocol||"https:"==l.location.protocol)&&Math.random()<b?new Ga("global",a):new T("global")};(function(){if(!v()._gpt_timer_&&l.GPT_jstiming){var a=Ha();a.Ga(function(){a.tick("load");a.report()});w("_gpt_timer_",a)}return v()._gpt_timer_})();var U=function(){this.c={};this.M=j;this.b=B();this.Ja=this.b.info("Google service JS loaded");da(window,t(U.prototype.Ka,this))};U.prototype.add=function(a){this.c[a.getName()]=a};U.prototype.find=function(a){var b=h;a in this.c&&(b=this.c[a]);return b};U.prototype.Ka=function(){this.M=g;this.b.info("Page load complete",h,h,this.Ja)};var V=function(){var a=v();return a.service_manager_instance||(a.service_manager_instance=new U)};
w("enableServices",function(){var a=V(),b;for(b in a.c){var c=a.c[b];if(!s(c)){c.enable();var c=b,d=v()._gpt_timer_;d&&d.za(c)}}});var W=function(){S.call(this);this.la=g;this.ka=j;this.I=0;this.J="";this.R=this.Q=this.P=this.w=e;this.ma=this.T=j;this.O={};this.H=j};u(W,S);k=W.prototype;
k.$=function(){if(this.la){if(!this.ma){var a=document,b=document.createElement("script");b.async=g;b.type="text/javascript";b.src=this.m();try{var c=a.getElementsByTagName("script")[0];this.log.info("Fetching companion ads implementation",this);this.ma=g;c.parentNode&&c.parentNode.insertBefore(b,c)}catch(d){this.log.error("Unable to fetch companion ads implementation",this)}}}else this.T||(l.document.write('<script type="text/javascript" src="'+Ca(this.m())+'"><\/script>'),this.T=g)};
k.Ra=function(){this.la=j};k.nb=function(a){"boolean"==typeof a&&(this.ka=a)};k.kb=function(a){if(this.ka){var b=googletag.pubads();b.isEnabled()?(this.H&&(b.clearNoRefreshState(),b.clear()),b.pa(Ia(this,a),this.I,this.J,this.w,this.P,this.Q,this.R,this.H)):this.log.error("Pubads service is not enabled, cannot use refresh feature.")}};
k.pb=function(a,b,c,d,f,i,p){this.H=j;this.I=0;this.J="";this.R=this.Q=this.P=this.w=e;this.I=a;this.J=b;this.w=c;0==this.w.length&&(this.w=e);a:{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=e;break a}d=[Number(d[0]),Number(d[1])];if(isNaN(d[0])||isNaN(d[1])){this.log.error("The master ad size specified is invalid.");a=e;break a}b.push(d)}a=b}this.P=a;f!==e&&(this.Q=f);i!==e&&(this.R=i);p!==e&&(this.H=p)};
k.Ya=function(){return googletag.pubads().getCorrelator()};k.qb=function(a){this.I=a};k.rb=function(a){this.J=a};k.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 j};
var Ia=function(a,b){for(var c=a.Fa(),d=[],f=0;f<b.length;++f){var i=b[f];i in c?d.push(c[i]):z(a.log,"Cannot find slot with id "+i+".",a)}return d};k=W.prototype;k.getName=function(){return"companion_ads"};k.m=function(){return Da()+"//pagead2.googlesyndication.com/pagead/show_companion_ad.js"};k.mb=function(){this.log.info("Companion ads implementation fetched.",this);this.T=g};
k.o=function(a){var b=a&&a.h().n();return b&&b in this.O&&a.s()&&this.isEnabled()&&!this.isSlotAPersistentRoadblock(a)?(a.K(this.O[b]),Ea(a)):j};k.C=function(a){this.o(a)};k.fillSlot=function(a,b){return a&&o(b)&&0<b.length?(this.O[a.h().toString()]=b,this.o(a)):j};w("companionAds",function(){var a=V(),b=a.find("companion_ads");b||(b=new W,a.add(b));return b});W.prototype.fillSlot=W.prototype.fillSlot;W.prototype.enableSyncLoading=W.prototype.Ra;W.prototype.isSlotAPersistentRoadblock=W.prototype.isSlotAPersistentRoadblock;
W.prototype.onImplementationLoaded=W.prototype.mb;W.prototype.notifyUnfilledSlots=W.prototype.kb;W.prototype.setRefreshUnfilledSlots=W.prototype.nb;W.prototype.setXfpCorrelator=W.prototype.qb;W.prototype.setXfpPreviousAdsToken=W.prototype.rb;W.prototype.setVideoSessionInfo=W.prototype.pb;W.prototype.getDisplayAdsCorrelator=W.prototype.Ya;var X=function(){S.call(this);this.l={}};u(X,S);k=X.prototype;k.getName=function(){return"content"};k.o=function(a){var b=a&&a.h().n();return b in this.l&&this.isEnabled()&&a.s()&&!a.p?(a.K(this.l[b]),Ea(a)):j};k.$=function(){for(var a=this.v(),b=0;b<a.length;++b)this.o(a[b])};k.C=function(a){this.o(a)};k.K=function(a,b){a&&o(b)&&0<b.length&&(this.l[a.h().n()]=b,this.o(a))};w("content",function(){var a=V(),b=a.find("content");b||(b=new X,a.add(b));return b});X.prototype.setContent=X.prototype.K;var Y=function(){S.call(this);this.u=j;this.a=h;this.i={};this.ea=j;this.da=g;this.r=this.ca=j;this.d=g;this.D=j;this.j=[];this.N=j;this.fa=this.ga=""};u(Y,S);
var Z={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"};k=Y.prototype;
k.$=function(){if(this.d){if(!this.u){var a=document,b=a.createElement("script");V();b.async=g;b.type="text/javascript";b.src=this.m();(a=a.getElementsByTagName("head")[0]||a.getElementsByTagName("body")[0])?(this.log.info("Fetching GPT implementation",this),a.appendChild(b),this.u=g):this.log.error("Unable to fetch GPT implementation",this)}}else b=V(),!this.u&&!b.M&&(this.u=g,document.write('<script type="text/javascript" src="'+Ca(this.m())+'"><\/script>'))};k.getName=function(){return"publisher_ads"};
k.m=function(){return Da()+"//partner.googleadservices.com/gampad/google_ads_gpt.js"};
k.lb=function(){V();var a=v().impl;if(a&&a.pubads){this.a=a.pubads;this.log.info("GPT implementation fetched.",this);this.da||this.a.disableFetch();this.D&&this.a.collapseEmptyDivs();if(this.r){this.d?this.a.enableAsyncSingleRequest():this.a.enableSingleRequest();Ja(this);for(var a=this.v(),b=0;b<a.length;++b)Ka(this,a[b])}else this.d&&this.a.enableAsyncRendering();this.ca&&this.a.disableInitialLoad();La(this);if(0<this.j.length)for(b=0;b<this.j.length;++b)this.C(this.j[b])}else this.log.error("Unable to fetch pubads service implementation from "+
this.m(),this)};k.S=function(a){this.d||(a.L=j);S.prototype.S.call(this,a)};
k.C=function(a){if(V().M&&!this.d)this.log.error("Attempting to display ad in sync mode after page load is complete.",this);else if(this.a){if(Ja(this),this.r||Ka(this,a))this.log.info("Calling fillslot"),this.a.fillSlot(a)}else if(this.d||this.u&&0==this.j.length){for(var b=j,c=0;c<this.j.length;++c)a===this.j[c]&&(b=g);b||(this.log.info("Delaying rendering of ad slot "+a.getName()+" pending loading of the GPT implementation",this,a),this.j.push(a))}else this.log.error("Skipping rendering of slot "+
a.getName()+" due to missing GPT implementaition",this,a)};
var Ka=function(a,b){if(a.a&&a.a.addSlot(b)==h)return a.log.error("Unable to process name for slot "+b.getName(),a,b),j;for(var c=b.z(),d=0;d<c.length;++d)c[d]in Z?a.a.addAdSenseSlotAttribute(b,Z[c[d]],b.get(c[d])):z(a.log,"Ignoring unknown pubads attribute "+c[d]+" with value "+b.get(c[d])+" for slot "+b.getName(),a,b);if(s(a.a.addSlotTargeting)){var c=[],f;for(f in b.i)s(b.i[f])||c.push(f);for(f=0;f<c.length;++f)a.a.addSlotTargeting(b,c[f],c[f]in b.i?b.i[c[f]]:[])}b.U()&&s(a.a.Ia)&&a.a.Ia(b,b.U());
return g},Ja=function(a){if(!a.ea){a.ea=g;for(var b=a.z(),c=0;c<b.length;++c)b[c]in Z?a.a.addAdSensePageAttribute(Z[b[c]],a.get(b[c])):z(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.i)if(b=a.i[d],m(b))for(c=0;c<b.length;++c)a.a.addAttribute(d,b[c])}};k=Y.prototype;
k.ba=function(a,b){var c=[];o(b)?c.push(b):c=b;var d=[" targeting attribute ",a," with value ",c.join()," for service ",this.getName()].join("");a&&o(a)?(this.i[a]=c,this.log.info("Setting"+d,this)):z(this.log,"Unable to set"+d,this);return this};k.jb=function(){this.a?z(this.log,"Ignoring noFetch since the pubads service is already enabled",this):this.da=j};k.disableInitialLoad=function(){this.a?z(this.log,"Ignoring disableInitialLoad since the pubads service is already enabled",this):this.ca=g};
k.enableSingleRequest=function(){this.isEnabled()&&!this.r?z(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.r=g);return this.r};k.enableAsyncRendering=function(){this.isEnabled()&&!this.d?z(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.d=g);return this.d};
k.Sa=function(){if(this.isEnabled()&&this.d)z(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.d=j;for(var a=this.v(),b=0;b<a.length;++b)a[b].L=j}return!this.d};
k.refresh=function(a){if(a&&!m(a))z(this.log,"Slots to refresh must be an array.",this);else if(this.a){var b=h;if(a){for(var b=[],c=0;c<a.length;++c){var d=a[c];d instanceof O?b.push(d):z(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.log.info("Refreshing ads",this);this.a.refresh(b)}else z(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",
this)};
k.pa=function(a,b,c,d,f,i,p,H){if(a&&!m(a))z(this.log,"Slots to refresh must be an array.",this);else if(b&&!q(b))z(this.log,"Correlator must be a number.",this);else if(c&&!o(c))z(this.log,"Pstok must be a string.",this);else if(d&&!o(d))z(this.log,"Video IU must be a string.",this);else if(f&&!m(f))z(this.log,"Video IU sizes must be an array.",this);else if(i&&!q(i))z(this.log,"Pod number must be a number.",this);else if(p&&!q(p))z(this.log,"Pod position must be a number.",this);else if(H&&"boolean"!=
typeof H)z(this.log,"Persistent roadblocks only must be a boolean.",this);else if(this.a){var A=h;if(a){for(var A=[],n=0;n<a.length;++n){var r=a[n];r instanceof O?A.push(r):z(this.log,"Slot object at position "+n+" is of incorrect type.",this)}if(!A.length){this.log.error("No valid slot ids found, refresh aborted.",this);return}}if(f)for(n=0;n<f.length;++n){a=f[n];if(!m(a)||2!=a.length){this.log.error("Video size array must have only two values, refresh aborted.",this);return}for(r=0;r<a.length;++r)if(!q(a[r])){this.log.error("Video size array must contain only numbers, refresh aborted.",
this);return}}this.log.info("Refreshing ads",this);this.a.refresh(A,b,c,d,f,i,p,H)}else z(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",this)};k.Ta=function(){this.N=g;La(this)};k.ob=function(a,b){this.N=g;this.ga=a;this.fa=b;La(this)};var La=function(a){a.N&&a.a&&a.a.setVideoContentInformation&&a.a.setVideoContentInformation(a.ga,a.fa)};k=Y.prototype;
k.getCorrelator=function(){return 0==this.v().length?"not_available":!this.a?"not_loaded":this.a.getCorrelator==h?"not_available":this.a.getCorrelator()};k.isAdRequestFinished=function(){return!this.a?j:this.a.isAdRequestFinished!=h?this.a.isAdRequestFinished():h};k.isSlotAPersistentRoadblock=function(a){return this.a&&this.a.isSlotAPersistentRoadblock!=h?this.a.isSlotAPersistentRoadblock(a):j};
k.collapseEmptyDivs=function(){this.D?z(this.log,"Ignoring subsequent call to set div collapse mode (already set)",this):this.isEnabled()?z(this.log,"Ignoring change to div collapse mode since the service is already enabled",this):(this.log.info("Enabling collapsing of containers when there is no ad content",this),this.D=g);return this.D};
k.clear=function(){if(!this.a)return z(this.log,"The slot contents cannot be cleared because the GPT implementation Javascript is not yet loaded.",this),j;if(this.a.clearSlotContents!=h)return this.log.info("Clearing slot contents.",this),this.a.clearSlotContents();z(this.log,"The GPT implementation does not yet support clearing slots.");return j};
k.clearNoRefreshState=function(){this.a?this.a.clearNoRefreshState!=h?(this.log.info("Clearing no_refresh state.",this),this.a.clearNoRefreshState()):z(this.log,"The GPT implementation does not yet support clearNoRefreshState"):z(this.log,"The no_refresh state cannot be cleared because the GPT implementation Javascript is not yet loaded.",this)};w("pubads",function(){var a=V(),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.enableAsyncRendering=Y.prototype.enableAsyncRendering;Y.prototype.enableSingleRequest=Y.prototype.enableSingleRequest;Y.prototype.enableSyncRendering=Y.prototype.Sa;Y.prototype.enableVideoAds=Y.prototype.Ta;Y.prototype.getCorrelator=Y.prototype.getCorrelator;Y.prototype.isAdRequestFinished=Y.prototype.isAdRequestFinished;Y.prototype.isSlotAPersistentRoadblock=Y.prototype.isSlotAPersistentRoadblock;
Y.prototype.noFetch=Y.prototype.jb;Y.prototype.onGoogleAdsJsLoad=Y.prototype.lb;Y.prototype.refresh=Y.prototype.refresh;Y.prototype.setTargeting=Y.prototype.ba;Y.prototype.setVideoContent=Y.prototype.ob;Y.prototype.videoRefresh=Y.prototype.pa;var Ma=/#|$/,Oa=function(a){var b=Na,c=b.search(Ma),d;a:{d=0;for(var f=a.length;0<=(d=b.indexOf(a,d))&&d<c;){var i=b.charCodeAt(d-1);if(38==i||63==i)if(i=b.charCodeAt(d+f),!i||61==i||38==i||35==i)break a;d+=f+1}d=-1}if(0>d)return h;f=b.indexOf("&",d);if(0>f||f>c)f=c;d+=a.length+1;return decodeURIComponent(b.substr(d,f-d).replace(/\+/g," "))};var Pa=function(){var a=document,b=a.createElement("script");b.type="text/javascript";b.src=Da()+"//publisherconsole.appspot.com/js/loader.js";b.async=g;(a=a.getElementsByTagName("script")[0])&&a.parentNode&&a.parentNode.insertBefore(b,a)},Qa;
a:{var Ra=window,Sa=document,Ta,Ua=document.cookie.split("google_pubconsole=");if(Ta=2==Ua.length?Ua[1].split(";")[0]:""){var Va=Ta.split("|");if(0<Va.length&&("1"==Va[0]||"0"==Va[0])){Qa=g;break a}}var Na;V();var Wa=j;try{Wa=Ra.top.document.URL===Sa.URL}catch(Xa){}Na=Wa?Sa.URL:Sa.referrer;Qa=Oa("google_debug")!==h||Oa("google_console")!==h}Qa&&da(window,Pa);var $=v().cmd;if(!$||m($)){var Ya=v().cmd=new C;$&&0<$.length&&Ya.push.apply(Ya,$)}(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=g,eval(a.innerHTML)))})();})()
