(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},p=function(a){return"number"==typeof a},q=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)}},s=function(a,b,c){s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ba:ca;return s.apply(h,arguments)},t=function(a,b){function c(){}
c.prototype=b.prototype;a.ub=b.prototype;a.prototype=new c};var v=function(){return l.googletag||(l.googletag={})},x=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 y=function(a,b,c,d,f){this.V=new Date;this.Oa=d||h;this.Na=c||h;this.ra=a;this.sa=b;this.U=f||h};k=y.prototype;k.Da=function(){return this.Oa};k.Ca=function(){return this.Na};k.Ba=function(){return this.ra};k.xa=function(){return this.V};k.gb=function(){return this.sa};k.ib=function(){return this.U};var ea=["Debug","Info","Warning","Error","Fatal"];
y.prototype.toString=function(){var a=[];a.push(this.V.toTimeString());a.push(": ");a.push(ea[this.ra]);a.push(": ");a.push(this.sa);this.U&&(a.push(" Duration: "),a.push(this.V.getTime()-this.U.xa().getTime()),a.push("ms."));return a.join("")};y.prototype.getTimestamp=y.prototype.xa;y.prototype.getService=y.prototype.Ca;y.prototype.getSlot=y.prototype.Da;y.prototype.getLevel=y.prototype.Ba;y.prototype.getMessage=y.prototype.gb;y.prototype.getReference=y.prototype.ib;var z=function(){this.B=[]};z.prototype.Ya=function(){return this.B};z.prototype.cb=function(a){return fa(this,function(b){return b.Ca()===a})};z.prototype.eb=function(a){return fa(this,function(b){return b.Da()===a})};z.prototype.bb=function(a){return fa(this,function(b){return b.Ba()>=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};z.prototype.log=function(a,b,c,d,f){a=new y(a,b,c,d,f);this.B.push(a);return a};
z.prototype.info=function(a,b,c,d){return this.log(1,a,b,c,d)};var A=function(a,b,c,d){a.log(2,b,c,d,e)};z.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 z)};x("getEventLog",B);z.prototype.getAllEvents=z.prototype.Ya;z.prototype.getEventsByService=z.prototype.cb;z.prototype.getEventsBySlot=z.prototype.eb;z.prototype.getEventsByLevel=z.prototype.bb;var C=function(){this.za=this.Z=0};C.prototype.push=function(a){for(var b=B(),c=0;c<arguments.length;++c)try{q(arguments[c])&&(arguments[c](),this.Z++)}catch(d){this.za++,b.error("Exception invoking function: "+d.message)}b.info("Invoked queued function. Total: "+this.Z+" Errors: "+this.za);return this.Z};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.Aa={};window.GPT_jstiming.Pa=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");a.Sa&&(d+="&"+a.Sa);var r=a.t,E=r.start,i=[],u=[],n;for(n in r)if("start"!=n&&0!=n.indexOf("_")){var w=r[n][1];w?r[w]&&u.push(n+"."+ja(a,n,r[w][0])):E&&i.push(n+"."+ja(a,n))}delete r.start;if(b)for(var qa in b)d+="&"+qa+"="+b[qa];(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,u.length?"&it="+u.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.Pa++;window.GPT_jstiming.Aa[d]=b;b.onload=b.onerror=function(){window.GPT_jstiming&&delete window.GPT_jstiming.Aa[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]||"",r=a[f]||"",E=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var n=E.exec(i)||["","",""],w=u.exec(r)||["","",""];if(0==n[0].length&&0==w[0].length)break;b=((0==n[1].length?0:parseInt(n[1],10))<(0==w[1].length?0:parseInt(w[1],10))?-1:(0==n[1].length?0:parseInt(n[1],10))>(0==w[1].length?
0:parseInt(w[1],10))?1:0)||((0==n[2].length)<(0==w[2].length)?-1:(0==n[2].length)>(0==w[2].length)?1:0)||(n[2]<w[2]?-1:n[2]>w[2]?1:0)}while(0==b)}return b};var F,oa,G,pa,ra=function(){return l.navigator?l.navigator.userAgent:h};pa=G=oa=F=j;var H;if(H=ra()){var sa=l.navigator;F=0==H.indexOf("Opera");oa=!F&&-1!=H.indexOf("MSIE");G=!F&&-1!=H.indexOf("WebKit");pa=!F&&!G&&"Gecko"==sa.product}var I=oa,ta=pa,ua=G,va;
a:{var J="",K;if(F&&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(ra()),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.Ra=a;this.Qa=b};M.prototype.lb=function(){return this.Ra};M.prototype.fb=function(){return this.Qa};M.prototype.getWidth=M.prototype.lb;M.prototype.getHeight=M.prototype.fb;var N=function(a,b,c){this.j=a;this.ta=p(b)?b:0;this.f=this.j+"_"+this.ta;this.La=c||"gpt_unit_"+this.f};k=N.prototype;k.o=function(){return this.f};k.getName=function(){return this.j};k.wa=function(){return this.ta};k.toString=N.prototype.o;k.l=function(){return this.La};N.prototype.getId=N.prototype.o;N.prototype.getName=N.prototype.getName;N.prototype.getDomId=N.prototype.l;N.prototype.getInstance=N.prototype.wa;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.j=a;var f=[];if(m(c))if(1<c.length&&p(c[0])&&p(c[1]))f.push(new M(c[0],c[1]));else for(var i=0;i<c.length;++i){var r=c[i];m(r)&&1<r.length&&p(r[0])&&p(r[1])&&f.push(new M(r[0],r[1]))}this.Ha=f;this.f=new N(a,b,d);this.c=[];this.g={};this.m=h;this.b=B();this.b.info("Created slot: "+this.f,h,this);this.Ga=this.q=this.Fa=this.D=h;this.ea=this.da="";this.K=g;this.i={};this.fa=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.D||this.q?A(this.b,"Setting"+c+" after its contents have been loaded",h,this):this.b.info("Setting"+c,h,this)):A(this.b,"Unable to set"+c,h,this);return this};k.get=function(a){return a in this.g?this.g[a]:h};k.A=function(){var a=[],b;for(b in this.g)q(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 A(this.b,"Service "+a.getName()+" is already associated with slot "+this.f,a,this),this;this.c.push(a);a.N(this);return this};k.getName=function(){return this.j};k.h=function(){return this.f};k.jb=function(){return this.c};k.kb=function(){return this.Ha};k.r=function(){return!!document.getElementById(this.f.l())};k.J=function(a){this.m=a};k.va=function(a){this.ea=a;return this};k.S=function(){return this.ea};
k.aa=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.D||this.q?A(this.b,"Setting"+d+" after its contents have been loaded",h,this):this.b.info("Setting"+d,h,this)):A(this.b,"Unable to set"+d,h,this);return this};k.hb=function(){return this.fa};
var Ea=function(a){if(!a.r())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.l(),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.m;return o(c)&&0<c.length?(a.la(),b.innerHTML=c,a.ka(),g):j};k=O.prototype;k.Xa=function(a){this.D=this.b.info("Fetching ad for slot "+this.getName(),h,this);this.da=a};k.Za=function(){return this.da};
k.Wa=function(){this.Fa=this.b.info("Receiving ad for slot "+this.getName(),h,this,this.D)};k.la=function(){this.q=this.b.info("Rendering ad for slot "+this.getName(),h,this)};k.ka=function(){this.Ga=this.b.info("Completed rendering ad for slot "+this.getName(),h,this,this.q)};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.kb;O.prototype.addService=O.prototype.ua;
O.prototype.getOutOfPage=O.prototype.hb;O.prototype.getServices=O.prototype.jb;O.prototype.getAttributeKeys=O.prototype.A;O.prototype.fetchStarted=O.prototype.Xa;O.prototype.fetchEnded=O.prototype.Wa;O.prototype.renderStarted=O.prototype.la;O.prototype.renderEnded=O.prototype.ka;O.prototype.hasWrapperDiv=O.prototype.r;O.prototype.getContentUrl=O.prototype.Za;O.prototype.setClickUrl=O.prototype.va;O.prototype.getClickUrl=O.prototype.S;O.prototype.setTargeting=O.prototype.aa;var P=function(){this.z={};this.G={};this.b=B()};P.prototype.add=function(a,b,c){if(!o(a)||0>=a.length||!b)return h;a in this.z||(this.z[a]=[]);b=new O(a,this.z[a].length,b,c);c=b.h().l();if(this.G[c])return this.b.error("Div element "+c+" is already associated with another slot"),h;this.z[a].push(b);return this.G[b.h().l()]=b};P.prototype.find=function(a,b){var c=b||0,d=o(a)&&this.z[a]||[];return 0<=c&&c<d.length&&(d=d[c],d.h().wa()==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)};x("defineOutOfPageSlot",function(a,b){var c=Q();if(!c)return h;return(c=c.add(a,[1,1],b))?(c.fa=g,c):h});x("defineSlot",R);x("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]:(A(c.b,"Ad unit lookup for div "+a+" failed."),c=h);if(c)if(a=c,a.K&&!a.r())A(a.b,"Slot "+a.j+" does not have a container div with id: "+a.f.l()+".",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())};x("display",Fa,g);var S=function(a,b){this.j=a;this.X=b?b:new l.GPT_jstiming.Timer;this.X.name=a;this.W=[]};k=S.prototype;k.getName=function(){return this.j};k.tick=function(a,b){this.X.tick(a,b)};k.ya=function(a){a&&this.W.push(a)};k.report=function(){var a="https:"==l.location.protocol?"https://www.google.com/csi":"http://csi.gstatic.com/csi",b={};this.W.length&&(b.e=this.W.join());return l.GPT_jstiming.report(this.X,b,a)};k.$=function(a){da(window,a)};var T=function(a){this.j=a};t(T,S);T.prototype.tick=function(){};
T.prototype.ya=function(){};T.prototype.report=function(){return h};T.prototype.$=function(){};var Ga=function(a,b,c,d){b==e&&(b=1);a=l.GPT_jstiming&&l.GPT_jstiming.load&&("http:"==l.location.protocol||"https:"==l.location.protocol)&&Math.random()<b?new S(a,d):new T(a);c&&a.$(s(S.prototype.report,a));return a};(function(){if(!v()._gpt_timer_&&l.GPT_jstiming){var a=Ga("global",1,j,l.GPT_jstiming.load);a.$(function(){a.tick("load");a.report()});x("_gpt_timer_",a)}return v()._gpt_timer_})();var U=function(a,b){this.pa=[];this.qa={};this.T=j;this.g={};this.Ma=Ga(this.getName(),a,b);this.log=B();this.log.info("Created service: "+this.getName(),this)};k=U.prototype;k.getName=function(){return"unknown"};k.$a=function(){return this.Ma};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)):A(this.log,"Unable to set "+c,this,h);return this};k.get=function(a){return this.g[a]};
k.A=function(){var a=[],b;for(b in this.g)"function"!=typeof this.g[b]&&a.push(b);return a};k.v=function(){return this.pa};k.Ea=function(){return this.qa};k.isEnabled=function(){return this.T};k.enable=function(){if(this.T)this.log.info("Service is already enabled.",this);else{this.T=g;try{this.Y()}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().l())};
k.N=function(a){this.pa.push(a);this.qa[a.h().o()]=a;this.log.info("Associated "+this.getName()+" service with slot "+a.getName(),this,a)};U.prototype.getSlots=U.prototype.v;U.prototype.getSlotIdMap=U.prototype.Ea;U.prototype.enable=U.prototype.enable;U.prototype.set=U.prototype.set;U.prototype.get=U.prototype.get;U.prototype.getAttributeKeys=U.prototype.A;U.prototype.getCsiTimer=U.prototype.$a;U.prototype.display=U.prototype.display;var V=function(){this.c={};this.L=j;this.b=B();this.Ja=this.b.info("Google service JS loaded");da(window,s(V.prototype.Ka,this))};V.prototype.add=function(a){this.c[a.getName()]=a};V.prototype.find=function(a){var b=h;a in this.c&&(b=this.c[a]);return b};V.prototype.Ka=function(){this.L=g;this.b.info("Page load complete",h,h,this.Ja)};var W=function(){var a=v();return a.service_manager_instance||(a.service_manager_instance=new V)};
x("enableServices",function(){var a=W(),b;for(b in a.c){var c=a.c[b];if(!q(c)){c.enable();var c=b,d=v()._gpt_timer_;d&&d.ya(c)}}});var X=function(){U.call(this);this.ma=g;this.oa=j;this.H=0;this.I="";this.Q=this.P=this.O=this.w=e;this.na=this.R=j;this.M={}};t(X,U);k=X.prototype;
k.Y=function(){if(this.ma){if(!this.na){var a=document,b=document.createElement("script");b.async=g;b.type="text/javascript";b.src=this.n();try{var c=a.getElementsByTagName("script")[0];this.log.info("Fetching companion ads implementation",this);this.na=g;c.parentNode&&c.parentNode.insertBefore(b,c)}catch(d){this.log.error("Unable to fetch companion ads implementation",this)}}}else if(!this.R)l.document.write('<script type="text/javascript" src="'+Ca(this.n())+'"><\/script>'),this.R=g};
k.Ta=function(){this.ma=j};k.qb=function(a){if("boolean"==typeof a)this.oa=a};k.nb=function(a){if(this.oa){var b=googletag.pubads();b.isEnabled()?b.refresh(Ha(this,a),this.H,this.I,this.w,this.O,this.P,this.Q):this.log.error("Pubads service is not enabled, cannot use refresh feature.")}};
k.rb=function(a,b,c,d,f,i){this.H=0;this.I="";this.Q=this.P=this.O=this.w=e;this.H=a;this.I=b;this.w=c;if(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.O=a;if(f)this.P=f;if(i)this.Q=i};k.ab=function(){return googletag.pubads().getCorrelator()};
k.sb=function(a){this.H=a};k.tb=function(a){this.I=a};var Ha=function(a,b){for(var c=a.Ea(),d=[],f=0;f<b.length;++f){var i=b[f];i in c?d.push(c[i]):A(a.log,"Cannot find slot with id "+i+".",a)}return d};k=X.prototype;k.getName=function(){return"companion_ads"};k.n=function(){return Da()+"//pagead2.googlesyndication.com/pagead/show_companion_ad.js"};k.pb=function(){this.log.info("Companion ads implementation fetched.",this);this.R=g};
k.p=function(a){var b=a&&a.h().o();return b&&b in this.M&&a.r()&&this.isEnabled()?(a.J(this.M[b]),Ea(a)):j};k.C=function(a){this.p(a)};k.fillSlot=function(a,b){return a&&o(b)&&0<b.length?(this.M[a.h().toString()]=b,this.p(a)):j};x("companionAds",function(){var a=W(),b=a.find("companion_ads");b||(b=new X,a.add(b));return b});X.prototype.fillSlot=X.prototype.fillSlot;X.prototype.enableSyncLoading=X.prototype.Ta;X.prototype.onImplementationLoaded=X.prototype.pb;X.prototype.notifyUnfilledSlots=X.prototype.nb;
X.prototype.setRefreshUnfilledSlots=X.prototype.qb;X.prototype.setXfpCorrelator=X.prototype.sb;X.prototype.setXfpPreviousAdsToken=X.prototype.tb;X.prototype.setVideoSessionInfo=X.prototype.rb;X.prototype.getDisplayAdsCorrelator=X.prototype.ab;var Y=function(){U.call(this);this.m={}};t(Y,U);k=Y.prototype;k.getName=function(){return"content"};k.p=function(a){var b=a&&a.h().o();return b in this.m&&this.isEnabled()&&a.r()&&!a.q?(a.J(this.m[b]),Ea(a)):j};k.Y=function(){for(var a=this.v(),b=0;b<a.length;++b)this.p(a[b])};k.C=function(a){this.p(a)};k.J=function(a,b){a&&o(b)&&0<b.length&&(this.m[a.h().o()]=b,this.p(a))};x("content",function(){var a=W(),b=a.find("content");b||(b=new Y,a.add(b));return b});Y.prototype.setContent=Y.prototype.J;var Z=function(){U.call(this);this.u=j;this.a=h;this.i={};this.ga=j;this.ca=g;this.s=this.ba=j;this.d=g;this.F=j;this.k=[];this.ha=j;this.ia=this.ja=""};t(Z,U);
var Ia={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_text_color",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=Z.prototype;
k.Y=function(){if(this.d){if(!this.u){var a=document,b=a.createElement("script");W();b.async=g;b.type="text/javascript";b.src=this.n();(a=a.getElementsByTagName("head")[0]||a.getElementsByTagName("body")[0])?(this.log.info("Fetching GDFP implementation",this),a.appendChild(b),this.u=g):this.log.error("Unable to fetch GDFP implementation",this)}}else if(b=W(),!this.u&&!b.L)this.u=g,document.write('<script type="text/javascript" src="'+Ca(this.n())+'"><\/script>')};k.getName=function(){return"publisher_ads"};
k.n=function(){return Da()+"//partner.googleadservices.com/gampad/google_ads_gpt.js"};
k.ob=function(){W();var a=v().impl;if(a&&a.pubads){this.a=a.pubads;this.log.info("GDFP implementation fetched.",this);this.ca||this.a.disableFetch();this.F&&this.a.collapseEmptyDivs();if(this.s){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.ba&&this.a.disableInitialLoad();La(this);if(0<this.k.length)for(b=0;b<this.k.length;++b)this.C(this.k[b])}else this.log.error("Unable to fetch pubads service implementation from "+
this.n(),this)};k.N=function(a){if(!this.d)a.K=j;U.prototype.N.call(this,a)};
k.C=function(a){if(W().L&&!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.s||Ka(this,a))this.log.info("Calling fillslot"),this.a.fillSlot(a)}else if(this.d||this.u&&0==this.k.length){for(var b=j,c=0;c<this.k.length;++c)a===this.k[c]&&(b=g);b||(this.log.info("Delaying rendering of ad slot "+a.getName()+" pending loading of the GDFP implementation",this,a),this.k.push(a))}else this.log.error("Skipping rendering of slot "+
a.getName()+" due to missing GDFP 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.A(),d=0;d<c.length;++d)c[d]in Ia?a.a.addAdSenseSlotAttribute(b,Ia[c[d]],b.get(c[d])):A(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.i)q(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.S()&&q(a.a.Ia)&&a.a.Ia(b,b.S());
return g},Ja=function(a){if(!a.ga){a.ga=g;for(var b=a.A(),c=0;c<b.length;++c)b[c]in Ia?a.a.addAdSensePageAttribute(Ia[b[c]],a.get(b[c])):A(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=Z.prototype;
k.aa=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)):A(this.log,"Unable to set"+d,this);return this};k.mb=function(){this.a?A(this.log,"Ignoring noFetch since the pubads service is already enabled",this):this.ca=j};k.disableInitialLoad=function(){this.a?A(this.log,"Ignoring disableInitialLoad since the pubads service is already enabled",this):this.ba=g};
k.enableSingleRequest=function(){this.isEnabled()&&!this.s?A(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.s=g);return this.s};k.enableAsyncRendering=function(){this.isEnabled()&&!this.d?A(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.Ua=function(){if(this.isEnabled()&&this.d)A(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].K=j}return!this.d};
k.refresh=function(a,b,c,d,f,i,r){if(a&&!m(a))A(this.log,"Slots to refresh must be an array.",this);else if(b&&!p(b))A(this.log,"Correlator must be a number.",this);else if(c&&!o(c))A(this.log,"Pstok must be a string.",this);else if(d&&!o(d))A(this.log,"Video IU must be a string.",this);else if(f&&!m(f))A(this.log,"Video IU sizes must be an array.",this);else if(i&&!p(i))A(this.log,"Pod number must be a number.",this);else if(r&&!p(r))A(this.log,"Pod position must be a number.",this);else if(this.a){var E=
h;if(a){for(var E=[],u=0;u<a.length;++u){var n=a[u];n instanceof O?E.push(n):A(this.log,"Slot object at position "+u+" is of incorrect type.",this)}if(!E.length){this.log.error("No valid slot ids found, refresh aborted.",this);return}}if(f)for(u=0;u<f.length;++u){a=f[u];if(!m(a)||2!=a.length){this.log.error("Video size array must have only two values, refresh aborted.",this);return}for(n=0;n<a.length;++n)if(!p(a[n])){this.log.error("Video size array must contain only numbers, refresh aborted.",this);
return}}this.log.info("Refreshing ads",this);this.a.refresh(E,b,c,d,f,i,r)}else A(this.log,"The ads cannot be refreshed because the GDFP implementation Javascript is not yet loaded.",this)};k.Va=function(a,b){this.ha=g;this.ja=a||"";this.ia=b||"";La(this)};var La=function(a){a.ha&&a.a&&a.a.setVideoContentInformation&&a.a.setVideoContentInformation(a.ja,a.ia)};
Z.prototype.getCorrelator=function(){return 0==this.v().length?"not_available":!this.a?"not_loaded":this.a.getCorrelator==h?"not_available":this.a.getCorrelator()};Z.prototype.collapseEmptyDivs=function(){this.F?A(this.log,"Ignoring subsequent call to set div collapse mode (already set)",this):this.isEnabled()?A(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.F=g);return this.F};
x("pubads",function(){var a=W(),b=a.find("publisher_ads");b||(b=new Z,a.add(b));return b});Z.prototype.enableSingleRequest=Z.prototype.enableSingleRequest;Z.prototype.enableAsyncRendering=Z.prototype.enableAsyncRendering;Z.prototype.enableSyncRendering=Z.prototype.Ua;Z.prototype.collapseEmptyDivs=Z.prototype.collapseEmptyDivs;Z.prototype.noFetch=Z.prototype.mb;Z.prototype.refresh=Z.prototype.refresh;Z.prototype.setTargeting=Z.prototype.aa;Z.prototype.onGoogleAdsJsLoad=Z.prototype.ob;
Z.prototype.enableVideoAdsOnPage=Z.prototype.Va;Z.prototype.getCorrelator=Z.prototype.getCorrelator;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;W();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");if(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)})();})()

