(function(){var g,l=this,m=function(a){return void 0!==a},aa=function(a){a=a.split(".");for(var b=l,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b},n=function(){},ba=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},q=function(a){return"array"==ba(a)},ca=function(a){var b=ba(a);return"array"==b||"object"==b&&"number"==typeof a.length},r=function(a){return"string"==typeof a},t=function(a){return"number"==typeof a},u=function(a){return"function"==ba(a)},da=function(a){var b=
typeof a;return"object"==b&&null!=a||"function"==b},ga=function(a){return a[ea]||(a[ea]=++fa)},ea="closure_uid_"+(1E9*Math.random()>>>0),fa=0,ha=function(a,b,c){return a.call.apply(a.bind,arguments)},ia=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)}},w=function(a,b,c){w=Function.prototype.bind&&
-1!=Function.prototype.bind.toString().indexOf("native code")?ha:ia;return w.apply(null,arguments)},y=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},A=Date.now||function(){return+new Date},C=function(a,b){a=a.split(".");var c=l;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&m(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},D=function(a,b){function c(){}c.prototype=b.prototype;
a.l=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Xj=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var E=document,F=window;var ja=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ja);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};D(ja,Error);ja.prototype.name="CustomError";var ka;var la=function(a){return/^[\s\xa0]*$/.test(a)},ma=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ua=function(a){if(!na.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(oa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(pa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(qa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ra,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(sa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(ta,"&#0;"));return a},oa=/&/g,pa=/</g,
qa=/>/g,ra=/"/g,sa=/'/g,ta=/\x00/g,na=/[\x00&<>"']/,va=function(a,b){return a<b?-1:a>b?1:0},wa=function(a){var b=Number(a);return 0==b&&la(a)?NaN:b},xa=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},ya=function(a){var b=r(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};var za=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(r(a))return r(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},G=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=r(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Aa=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=r(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var p=h[k];b.call(c,p,k,a)&&(e[f++]=p)}return e},Ba=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=r(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e},Ca=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=r(a)?a.split(""):a,f=0;f<d;f++)if(f in
e&&b.call(c,e[f],f,a))return!0;return!1},Da=function(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1},Ea=function(a,b){return 0<=za(a,b)},Fa=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Ga=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Ha=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Ia=function(a,b){for(var c=1;c<arguments.length;c++){var d=
arguments[c];if(ca(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},Ja=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++],f;f=e;f=da(f)?"o"+ga(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},Ka=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},La=function(a){for(var b=Math.random,c=a.length-1;0<c;c--){var d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];
a[d]=e}};var Ma=function(a){Ma[" "](a);return a};Ma[" "]=n;var Na=function(a,b){try{return Ma(a[b]),!0}catch(c){}return!1},Pa=function(a,b){var c=Oa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Qa=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Ra=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Sa=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Ta=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Ua=function(a){for(var b in a)return!1;return!0},Va=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Wa=function(a){var b=ba(a);if("object"==b||"array"==b){if(u(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=Wa(a[c]);
return b}return a},Ya=function(){var a=Xa,b={},c;for(c in a)b[a[c]]=c;return b},Za="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),$a=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Za.length;f++)c=Za[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},ab=function(a){var b=arguments.length;if(1==b&&q(arguments[0]))return ab.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");
for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};var bb;a:{var cb=l.navigator;if(cb){var db=cb.userAgent;if(db){bb=db;break a}}bb=""}var H=function(a){return-1!=bb.indexOf(a)};var eb=function(){return H("iPhone")&&!H("iPod")&&!H("iPad")};var fb=H("Opera"),I=H("Trident")||H("MSIE"),gb=H("Edge"),hb=H("Gecko")&&!(-1!=bb.toLowerCase().indexOf("webkit")&&!H("Edge"))&&!(H("Trident")||H("MSIE"))&&!H("Edge"),ib=-1!=bb.toLowerCase().indexOf("webkit")&&!H("Edge"),jb=ib&&H("Mobile"),kb=H("Android"),lb=eb(),mb=H("iPad"),nb=function(){var a=l.document;return a?a.documentMode:void 0},ob;
a:{var pb="",qb=function(){var a=bb;if(hb)return/rv\:([^\);]+)(\)|;)/.exec(a);if(gb)return/Edge\/([\d\.]+)/.exec(a);if(I)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ib)return/WebKit\/(\S+)/.exec(a);if(fb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();qb&&(pb=qb?qb[1]:"");if(I){var rb=nb();if(null!=rb&&rb>parseFloat(pb)){ob=String(rb);break a}}ob=pb}
var sb=ob,Oa={},tb=function(a){return Pa(a,function(){for(var b=0,c=ma(String(sb)).split("."),d=ma(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",k=d[f]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==h[0].length&&0==k[0].length)break;b=va(0==h[1].length?0:parseInt(h[1],10),0==k[1].length?0:parseInt(k[1],10))||va(0==h[2].length,0==k[2].length)||va(h[2],k[2]);h=h[3];k=k[3]}while(0==b)}return 0<=b})},ub;var vb=l.document;
ub=vb&&I?nb()||("CSS1Compat"==vb.compatMode?parseInt(sb,10):5):void 0;var wb=!I||9<=Number(ub),xb=I&&!tb("9");!ib||tb("528");hb&&tb("1.9b")||I&&tb("8")||fb&&tb("9.5")||ib&&tb("528");hb&&!tb("8")||I&&tb("9");var J=function(){this.ta=this.ta;this.Tb=this.Tb};J.prototype.ta=!1;J.prototype.dispose=function(){this.ta||(this.ta=!0,this.j())};var yb=function(a,b){a.ta?m(void 0)?b.call(void 0):b():(a.Tb||(a.Tb=[]),a.Tb.push(m(void 0)?w(b,void 0):b))};J.prototype.j=function(){if(this.Tb)for(;this.Tb.length;)this.Tb.shift()()};var K=function(a){a&&"function"==typeof a.dispose&&a.dispose()},zb=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ca(d)?zb.apply(null,d):K(d)}};var Ab=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Wb=!1;this.$g=!0};Ab.prototype.stopPropagation=function(){this.Wb=!0};Ab.prototype.preventDefault=function(){this.defaultPrevented=!0;this.$g=!1};var Bb=ib?"webkitTransitionEnd":fb?"otransitionend":"transitionend";var Cb=function(a,b){Ab.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.ea=this.state=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?hb&&(Na(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:
"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=ib||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=ib||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=
a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.ea=a;a.defaultPrevented&&this.preventDefault()}};D(Cb,Ab);Cb.prototype.stopPropagation=function(){Cb.l.stopPropagation.call(this);this.ea.stopPropagation?this.ea.stopPropagation():this.ea.cancelBubble=!0};
Cb.prototype.preventDefault=function(){Cb.l.preventDefault.call(this);var a=this.ea;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,xb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};Cb.prototype.Ne=function(){return this.ea};var Db="closure_listenable_"+(1E6*Math.random()|0),Eb=function(a){return!(!a||!a[Db])},Fb=0;var Hb=function(a,b,c,d,e){this.listener=a;this.be=null;this.src=b;this.type=c;this.capture=!!d;this.Ld=e;this.key=++Fb;this.uc=this.sd=!1},Ib=function(a){a.uc=!0;a.listener=null;a.be=null;a.src=null;a.Ld=null};var Jb=function(a){this.src=a;this.P={};this.ld=0};Jb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.P[f];a||(a=this.P[f]=[],this.ld++);var h=Kb(a,b,d,e);-1<h?(b=a[h],c||(b.sd=!1)):(b=new Hb(b,this.src,f,!!d,e),b.sd=c,a.push(b));return b};Jb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.P))return!1;var e=this.P[a];b=Kb(e,b,c,d);return-1<b?(Ib(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.P[a],this.ld--),!0):!1};
var Lb=function(a,b){var c=b.type;if(!(c in a.P))return!1;var d=a.P[c],e=za(d,b),f;(f=0<=e)&&Array.prototype.splice.call(d,e,1);f&&(Ib(b),0==a.P[c].length&&(delete a.P[c],a.ld--));return f};Jb.prototype.tc=function(a){a=a&&a.toString();var b=0,c;for(c in this.P)if(!a||c==a){for(var d=this.P[c],e=0;e<d.length;e++)++b,Ib(d[e]);delete this.P[c];this.ld--}return b};Jb.prototype.Mc=function(a,b,c,d){a=this.P[a.toString()];var e=-1;a&&(e=Kb(a,b,c,d));return-1<e?a[e]:null};
Jb.prototype.hasListener=function(a,b){var c=m(a),d=c?a.toString():"",e=m(b);return Ra(this.P,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var Kb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.uc&&f.listener==b&&f.capture==!!c&&f.Ld==d)return e}return-1};var Mb="closure_lm_"+(1E6*Math.random()|0),Nb={},Ob=0,L=function(a,b,c,d,e){if(q(b)){for(var f=0;f<b.length;f++)L(a,b[f],c,d,e);return null}c=Pb(c);return Eb(a)?a.eb(b,c,d,e):Qb(a,b,c,!1,d,e)},Qb=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=!!e,k=Rb(a);k||(a[Mb]=k=new Jb(a));c=k.add(b,c,d,e,f);if(c.be)return c;d=Sb();c.be=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(Tb(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
Ob++;return c},Sb=function(){var a=Ub,b=wb?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Vb=function(a,b,c,d,e){if(q(b)){for(var f=0;f<b.length;f++)Vb(a,b[f],c,d,e);return null}c=Pb(c);return Eb(a)?a.Rb(b,c,d,e):Qb(a,b,c,!0,d,e)},Wb=function(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)Wb(a,b[f],c,d,e);else c=Pb(c),Eb(a)?a.Fb(b,c,d,e):a&&(a=Rb(a))&&(b=a.Mc(b,c,!!d,e))&&M(b)},M=function(a){if(t(a)||!a||a.uc)return!1;var b=a.src;if(Eb(b))return b.$b(a);
var c=a.type,d=a.be;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(Tb(c),d);Ob--;(c=Rb(b))?(Lb(c,a),0==c.ld&&(c.src=null,b[Mb]=null)):Ib(a);return!0},Xb=function(a){if(a)if(Eb(a))a.Ga&&a.Ga.tc("end");else if(a=Rb(a)){var b=0,c="end".toString(),d;for(d in a.P)if(!c||d==c)for(var e=a.P[d].concat(),f=0;f<e.length;++f)M(e[f])&&++b}},Yb=function(a,b,c,d,e){c=Pb(c);d=!!d;return Eb(a)?a.Mc(b,c,d,e):a?(a=Rb(a))?a.Mc(b,c,d,e):null:null},Tb=function(a){return a in Nb?
Nb[a]:Nb[a]="on"+a},$b=function(a,b,c,d){var e=!0;if(a=Rb(a))if(b=a.P[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.uc&&(f=Zb(f,d),e=e&&!1!==f)}return e},Zb=function(a,b){var c=a.listener,d=a.Ld||a.src;a.sd&&M(a);return c.call(d,b)},Ub=function(a,b){if(a.uc)return!0;if(!wb){var c=b||aa("window.event");b=new Cb(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=
!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.Wb&&0<=e;e--){b.currentTarget=c[e];var f=$b(c[e],a,!0,b),d=d&&f}for(e=0;!b.Wb&&e<c.length;e++)b.currentTarget=c[e],f=$b(c[e],a,!1,b),d=d&&f}return d}return Zb(a,new Cb(b,this))},Rb=function(a){a=a[Mb];return a instanceof Jb?a:null},ac="__closure_events_fn_"+(1E9*Math.random()>>>0),Pb=function(a){if(u(a))return a;a[ac]||(a[ac]=function(b){return a.handleEvent(b)});return a[ac]};var bc={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var dc=function(){this.he="";this.xh=cc};dc.prototype.vb=!0;dc.prototype.$a=function(){return this.he};dc.prototype.toString=function(){return"Const{"+this.he+"}"};var ec=function(a){return a instanceof dc&&a.constructor===dc&&a.xh===cc?a.he:"type_error:Const"},cc={},fc=function(a){var b=new dc;b.he=a;return b};fc("");var hc=function(){this.rf="";this.uh=gc};hc.prototype.vb=!0;var gc={};hc.prototype.$a=function(){return this.rf};hc.prototype.Nb=function(a){this.rf=a;return this};var ic=(new hc).Nb(""),jc=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var lc=function(){this.qf="";this.th=kc};lc.prototype.vb=!0;var kc={},nc=function(a){a=ec(a);return 0===a.length?mc:(new lc).Nb(a)};lc.prototype.$a=function(){return this.qf};lc.prototype.Nb=function(a){this.qf=a;return this};var mc=(new lc).Nb("");var pc=function(){this.Vb="";this.wh=oc};pc.prototype.vb=!0;pc.prototype.$a=function(){return this.Vb};pc.prototype.Xe=!0;pc.prototype.Lc=function(){return 1};var qc=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,oc={},rc=function(a){var b=new pc;b.Vb=a;return b};rc("about:blank");var tc=function(){this.Vg="";this.yh=sc};tc.prototype.vb=!0;tc.prototype.$a=function(){return this.Vg};tc.prototype.Xe=!0;tc.prototype.Lc=function(){return 1};var sc={};var vc=function(){this.Vb="";this.sh=uc;this.mg=null};vc.prototype.Xe=!0;vc.prototype.Lc=function(){return this.mg};vc.prototype.vb=!0;vc.prototype.$a=function(){return this.Vb};
var wc=function(a){if(a instanceof vc&&a.constructor===vc&&a.sh===uc)return a.Vb;ba(a);return"type_error:SafeHtml"},xc=/^[a-zA-Z0-9-]+$/,yc={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},zc={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Bc=function(a){var b=0,c="",d=function(a){if(q(a))G(a,d);else{if(!(a instanceof vc)){var e=null;a.Xe&&(e=a.Lc());a=Ac(ua(a.vb?a.$a():String(a)),e)}c+=wc(a);a=a.Lc();0==
b?b=a:0!=a&&b!=a&&(b=null)}};G(arguments,d);return Ac(c,b)},uc={},Ac=function(a,b){return(new vc).Nb(a,b)};vc.prototype.Nb=function(a,b){this.Vb=a;this.mg=b;return this};Ac("<!DOCTYPE html>",0);Ac("",0);Ac("<br>",0);var O=function(a,b){this.x=m(a)?a:0;this.y=m(b)?b:0};O.prototype.clone=function(){return new O(this.x,this.y)};var Cc=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1},Dc=function(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)};g=O.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.translate=function(a,b){a instanceof O?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),t(b)&&(this.y+=b));return this};g.scale=function(a,b){b=t(b)?b:a;this.x*=a;this.y*=b;return this};var P=function(a,b){this.width=a;this.height=b},Ec=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=P.prototype;g.clone=function(){return new P(this.width,this.height)};g.Dh=function(){return this.width*this.height};g.Pc=function(){return!this.Dh()};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){b=t(b)?b:a;this.width*=a;this.height*=b;return this};var Fc=!I||9<=Number(ub);!hb&&!I||I&&9<=Number(ub)||hb&&tb("1.9.1");I&&tb("9");var Gc=I||fb||ib;var Jc=function(a){return a?new Hc(Ic(a)):ka||(ka=new Hc)},Lc=function(a,b){Qa(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Kc.hasOwnProperty(d)?a.setAttribute(Kc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},Kc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",
valign:"vAlign",width:"width"},Mc=function(a){a=(a||window).document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new P(a.clientWidth,a.clientHeight)},Oc=function(a,b,c){return Nc(document,arguments)},Nc=function(a,b){var c=String(b[0]),d=b[1];if(!Fc&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',ua(d.name),'"');if(d.type){c.push(' type="',ua(d.type),'"');var e={};$a(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(r(d)?c.className=d:q(d)?c.className=
d.join(" "):Lc(c,d));2<b.length&&Pc(a,c,b,2);return c},Pc=function(a,b,c,d){function e(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];!ca(f)||da(f)&&0<f.nodeType?e(f):G(Qc(f)?Ha(f):f,e)}},Rc=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Q=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Sc=function(a){var b;if(Gc&&!(I&&tb("9")&&!tb("10")&&l.SVGElement&&a instanceof l.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return da(b)&&
1==b.nodeType?b:null},Ic=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},Uc=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else Rc(a),a.appendChild(Ic(a).createTextNode(String(b)))},Qc=function(a){if(a&&"number"==typeof a.length){if(da(a))return"function"==typeof a.item||"string"==typeof a.item;if(u(a))return"function"==typeof a.item}return!1},
Hc=function(a){this.U=a||l.document||document};Hc.prototype.getElementsByTagName=function(a,b){return(b||this.U).getElementsByTagName(String(a))};var Vc=function(a,b){a=a.U;b=b&&"*"!=b?String(b).toUpperCase():"";b=a.querySelectorAll&&a.querySelector&&b?a.querySelectorAll(b+""):a.getElementsByTagName(b||"*");return b};g=Hc.prototype;g.ig=function(a,b,c){return Nc(this.U,arguments)};g.createElement=function(a){return this.U.createElement(String(a))};g.createTextNode=function(a){return this.U.createTextNode(String(a))};
g.jc=function(){var a=this.U;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=function(a,b){Pc(Ic(a),a,arguments,1)};g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.removeNode=Q;g.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Wc=function(){return ib?"Webkit":hb?"Moz":I?"ms":fb?"O":null},Xc=function(a,b){if(b&&a in b)return a;var c=Wc();return c?(c=c.toLowerCase(),a=c+ya(a),!m(b)||a in b?a:null):null};var Yc=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=Yc.prototype;g.clone=function(){return new Yc(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof Yc?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.expand=function(a,b,c,d){da(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.translate=function(a,b){a instanceof O?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,t(b)&&(this.top+=b,this.bottom+=b));return this};
g.scale=function(a,b){b=t(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var $c=function(a,b,c){if(r(b))(b=Zc(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Zc(c,d);f&&(c.style[f]=e)}},ad={},Zc=function(a,b){var c=ad[b];if(!c){var d=xa(b),c=d;void 0===a.style[d]&&(d=Wc()+ya(d),void 0!==a.style[d]&&(c=d));ad[b]=c}return c},bd=function(a,b){var c;a:{c=Ic(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))){c=c[b]||c.getPropertyValue(b)||"";break a}c=""}return c||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},
dd=function(a,b,c){var d;b instanceof O?(d=b.x,b=b.y):(d=b,b=c);a.style.left=cd(d,!1);a.style.top=cd(b,!1)},ed=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}I&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},fd=function(a){if(1==a.nodeType)return a=ed(a),new O(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new O(a.clientX,
a.clientY)},gd=function(a,b,c){if(b instanceof P)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=cd(b,!0);a.style.height=cd(c,!0)},cd=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},id=function(a){var b=hd;if("none"!=bd(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},hd=function(a){var b=
a.offsetWidth,c=a.offsetHeight,d=ib&&!b&&!c;return m(b)&&!d||!a.getBoundingClientRect?new P(b,c):(a=ed(a),new P(a.right-a.left,a.bottom-a.top))},jd=function(a,b){a.style.display=b?"":"none"},ld=function(a,b){b=Jc(b);var c,d=b.U;I&&d.createStyleSheet?(c=d.createStyleSheet(),kd(c,a)):(d=Vc(b,"HEAD")[0],d||(c=Vc(b,"BODY")[0],d=b.ig("HEAD"),c.parentNode.insertBefore(d,c)),c=b.ig("STYLE"),kd(c,a),b.appendChild(d,c))},kd=function(a,b){b instanceof lc&&b.constructor===lc&&b.th===kc?b=b.qf:(ba(b),b="type_error:SafeStyleSheet");
I&&m(a.cssText)?a.cssText=b:a.innerHTML=b},md=hb?"MozUserSelect":ib||gb?"WebkitUserSelect":null,nd=function(a){var b=a.getElementsByTagName("*");if(md){var c="none";a.style&&(a.style[md]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&(d.style[md]=c)}}else if(I||fb)if(c="on",a.setAttribute("unselectable",c),b)for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)};var od=[],pd=function(a){try{var b=id(F.document.documentElement);b.width-=2;b.height-=2;var c=id(a),d=0<a.contentDocument.body.children.length||0<a.contentDocument.head.children.length;return b.width<=c.width&&b.height<=c.height&&d}catch(e){return!1}},qd=function(a,b,c){G(E.getElementsByTagName("iframe"),function(d){pd(d)?od.push(L(d.contentDocument.body,a,b,c,void 0)):od.push(L(d,"load",function(){pd(d)&&od.push(L(d.contentDocument.body,a,b,c,void 0))}))})};var R=function(){J.call(this);this.Ga=new Jb(this);this.Bh=this;this.mf=null};D(R,J);R.prototype[Db]=!0;g=R.prototype;g.addEventListener=function(a,b,c,d){L(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Wb(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.mf;if(c)for(b=[];c;c=c.mf)b.push(c);var c=this.Bh,d=a.type||a;if(r(a))a=new Ab(a,c);else if(a instanceof Ab)a.target=a.target||c;else{var e=a;a=new Ab(d,c);$a(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.Wb&&0<=h;h--)f=a.currentTarget=b[h],e=rd(f,d,!0,a)&&e;a.Wb||(f=a.currentTarget=c,e=rd(f,d,!0,a)&&e,a.Wb||(e=rd(f,d,!1,a)&&e));if(b)for(h=0;!a.Wb&&h<b.length;h++)f=a.currentTarget=b[h],e=rd(f,d,!1,a)&&e;return e};
g.j=function(){R.l.j.call(this);this.Ga&&this.Ga.tc(void 0);this.mf=null};g.eb=function(a,b,c,d){return this.Ga.add(String(a),b,!1,c,d)};g.Rb=function(a,b,c,d){return this.Ga.add(String(a),b,!0,c,d)};g.Fb=function(a,b,c,d){return this.Ga.remove(String(a),b,c,d)};g.$b=function(a){return Lb(this.Ga,a)};
var rd=function(a,b,c,d){b=a.Ga.P[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.uc&&h.capture==c){var k=h.listener,p=h.Ld||h.src;h.sd&&a.$b(h);e=!1!==k.call(p,d)&&e}}return e&&0!=d.$g};R.prototype.Mc=function(a,b,c,d){return this.Ga.Mc(String(a),b,c,d)};R.prototype.hasListener=function(a,b){return this.Ga.hasListener(m(a)?String(a):void 0,b)};var sd=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},td=function(a){a=String(a);if(sd(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},wd=function(a){var b=[];ud(new vd,a,b);return b.join("")},vd=function(){this.ce=void 0},
ud=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(q(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],ud(a,a.ce?a.ce.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),xd(d,c),c.push(":"),ud(a,a.ce?a.ce.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":xd(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},yd={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},zd=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,xd=function(a,b){b.push('"',a.replace(zd,function(a){var b=yd[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),
yd[a]=b);return b}),'"')};var Ad=function(a){return function(){return a}},Bd=Ad(!1),Cd=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Dd=function(a,b){b&&(a=w(a,b));var c=null;return function(b){l.clearTimeout(c);var d=arguments;c=l.setTimeout(function(){a.apply(null,d)},100)}};var Ed="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""},Fd=function(){};Fd.prototype.next=function(){throw Ed;};Fd.prototype.ue=function(){return this};var Gd=function(a,b){this.O={};this.C=[];this.od=this.D=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=Gd.prototype;g.la=function(){Hd(this);for(var a=[],b=0;b<this.C.length;b++)a.push(this.O[this.C[b]]);return a};g.tb=function(){Hd(this);return this.C.concat()};g.fc=function(a){return Id(this.O,a)};g.Pc=function(){return 0==this.D};
g.clear=function(){this.O={};this.od=this.D=this.C.length=0};g.remove=function(a){return Id(this.O,a)?(delete this.O[a],this.D--,this.od++,this.C.length>2*this.D&&Hd(this),!0):!1};var Hd=function(a){if(a.D!=a.C.length){for(var b=0,c=0;b<a.C.length;){var d=a.C[b];Id(a.O,d)&&(a.C[c++]=d);b++}a.C.length=c}if(a.D!=a.C.length){for(var e={},c=b=0;b<a.C.length;)d=a.C[b],Id(e,d)||(a.C[c++]=d,e[d]=1),b++;a.C.length=c}};g=Gd.prototype;g.get=function(a,b){return Id(this.O,a)?this.O[a]:b};
g.set=function(a,b){Id(this.O,a)||(this.D++,this.C.push(a),this.od++);this.O[a]=b};g.addAll=function(a){var b;a instanceof Gd?(b=a.tb(),a=a.la()):(b=Ta(a),a=Sa(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(a,b){for(var c=this.tb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new Gd(this)};
g.ue=function(a){Hd(this);var b=0,c=this.od,d=this,e=new Fd;e.next=function(){if(c!=d.od)throw Error("The map has changed since the iterator was created");if(b>=d.C.length)throw Ed;var e=d.C[b++];return a?e:d.O[e]};return e};var Id=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Jd=function(a){if(a.la&&"function"==typeof a.la)return a.la();if(r(a))return a.split("");if(ca(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Sa(a)},Kd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ca(a)||r(a))G(a,b,c);else{var d;if(a.tb&&"function"==typeof a.tb)d=a.tb();else if(a.la&&"function"==typeof a.la)d=void 0;else if(ca(a)||r(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=Ta(a);for(var e=Jd(a),f=e.length,h=0;h<f;h++)b.call(c,
e[h],d&&d[h],a)}};var Ld=function(a){this.O=new Gd;a&&this.addAll(a)},Md=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+ga(a):b.substr(0,1)+a};g=Ld.prototype;g.add=function(a){this.O.set(Md(a),a)};g.addAll=function(a){a=Jd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};g.tc=function(a){a=Jd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};g.remove=function(a){return this.O.remove(Md(a))};g.clear=function(){this.O.clear()};g.Pc=function(){return this.O.Pc()};g.contains=function(a){return this.O.fc(Md(a))};
g.la=function(){return this.O.la()};g.clone=function(){return new Ld(this)};g.ue=function(){return this.O.ue(!1)};var Nd=H("Firefox"),Od=H("Safari")&&!((H("Chrome")||H("CriOS"))&&!H("Edge")||H("Coast")||H("Opera")||H("Edge")||H("Silk")||H("Android"))&&!(eb()||H("iPad")||H("iPod"));var Pd=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("test",null,b)}catch(c){}return a}(),Qd=function(a,b,c){a.addEventListener?a.addEventListener(b,c,Pd?void 0:!1):a.attachEvent&&a.attachEvent("on"+b,c)},Rd=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Pd?void 0:!1):a.detachEvent&&a.detachEvent("on"+b,c)};var Sd=[],Td="touchstart touchend click mousedown mouseup vclick".split(" "),Ud=new R,Vd=!1,Wd=!1,Zd=function(){Vd||(G(Td,function(a){Sd.push(L(E.body,a,function(b){rd(Ud,a,!0,Xd(b))},!0));Sd.push(L(E.body,a,function(b){rd(Ud,a,!1,Xd(b))},!1));qd(a,function(b){Wd||rd(Ud,a,!0,Xd(b))},!0);qd(a,function(b){Wd||rd(Ud,a,!1,Xd(b))},!1)}),Yd(),Vd=!0)},ae=function(a,b,c,d){Ea(Td,a)&&(Zd(),a=L(Ud,a,b,c,d),$d(d,a))},be=function(a){null!==a&&"object"==typeof a&&r(a.type)&&Ea(Td,a.type)&&Wd&&Ud.dispatchEvent(Xd(a))},
Xd=function(a){a=u(a.Ne)?a:new Cb(a);a.target=null;a.srcElement=null;a.currentTarget=null;a.relatedTarget=null;return a},ce=function(a){Wd=a},de=function(a){return u(a.Ne)?a.ea:a},Yd=function(){var a=null,b=null;Sd.push(L(Ud,"touchstart",function(c){c=de(c);ca(c.touches)&&0!=c.touches.length&&(a=A(),c=c.touches[0],b=new O(c.screenX,c.screenY))}));Sd.push(L(Ud,"touchend",function(c){if(null!=b&&null!=a&&(c=de(c),ca(c.changedTouches)&&0!=c.changedTouches.length)){c=c.changedTouches[0];var d=new O(c.screenX,
c.screenY),e=Dc(b,d),f=A()-a;500>=f&&9>=e&&(e=E.createEvent("CustomEvent"),e.initEvent("vclick",!0,!0),$a(e,{clientX:c.clientX,clientY:c.clientY,ak:b,$j:d,duration:f}),Ud.dispatchEvent(e));b=a=null}}))},$d=function(a,b){for(var c=1;c<arguments.length;c++)ca(arguments[c])?y($d,a).apply(this,arguments[c]):function(b){yb(a,function(){M(b)})}(arguments[c])};var ee=function(a,b,c){this.label=a;this.type=4;this.eventId=b;this.value=c};var ge=function(a){this.Yb=fe();this.enabled=Math.random()<a;this.Jc=[];this.pg={}},fe=l.performance&&l.performance.now?w(l.performance.now,l.performance):A;ge.prototype.install=function(a){a=a||window;a.google_js_reporting_queue=a.google_js_reporting_queue||[];this.Jc=a.google_js_reporting_queue};ge.prototype.disable=function(){this.Jc.length=0;this.enabled=!1};ge.prototype.oa=function(a){this.Jc.push(a)};
var he=function(a,b,c){var d=fe();c=c();d=fe()-a.Yb-(d-a.Yb);if(a.enabled){var e=a.pg[b]||0,f=e+1;f>e&&(a.pg[b]=f);a.oa(new ee(b,f,d))}return c},je=function(a,b){return w(function(){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];return he(this,a,function(){return b.apply(void 0,c)})},ie)};var ke=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,le=function(a){var b=a.match(ke);a=b[1];var c=b[2],d=b[3],b=b[4],e="";a&&(e+=a+":");d&&(e+="//",c&&(e+=c+"@"),e+=d,b&&(e+=":"+b));return e},me=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e,f=null;0<=d?(e=a[c].substring(0,d),f=a[c].substring(d+1)):e=a[c];b(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}},ne=function(a){if(a[1]){var b=
a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")},oe=function(a,b,c){if(q(b))for(var d=0;d<b.length;d++)oe(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",encodeURIComponent(String(b)))},pe=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},qe=/#|$/,re=/[?&]($|#)/,
se=function(a,b,c){for(var d=a.search(qe),e=0,f,h=[];0<=(f=pe(a,e,b,d));)h.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||d,d);h.push(a.substr(e));a=[h.join("").replace(re,"$1"),"&",b];null!=c&&a.push("=",encodeURIComponent(String(c)));return ne(a)};var te=function(a){try{return!!a&&null!=a.location.href&&Na(a,"foo")}catch(b){return!1}},ue=function(a){var b=[!0];if(!(1E-4>Math.random())){var c=Math.random();if(c<a){a=window;try{var d=new Uint32Array(1);a.crypto.getRandomValues(d);c=d[0]/65536/65536}catch(e){c=Math.random()}return b[Math.floor(c*b.length)]}}return null},ve=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)},we=function(a){if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=
b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};var xe=function(a,b){this.kh=a;this.mh=b},ye=function(a,b){this.url=a;this.Bg=!!b;this.depth=t(void 0)?void 0:null};var ze=function(a,b,c,d,e){this.Hg=c||4E3;this.Yc=a||"&";this.Eh=b||",$";this.me=m(d)?d:"trn";this.oj=e||null;this.Tf=!1;this.Dc={};this.Pi=0;this.dc=[]},Ae=function(a,b){var c={};c[a]=b;return[c]},Be=function(a,b,c,d){a.dc.push(b);a.Dc[b]=Ae(c,d)};
ze.prototype.Gd=function(a,b,c,d){a=a+"//"+b+c;var e=Ce(this)-c.length-d.length;if(0>e)return"";this.dc.sort(function(a,b){return a-b});c=null;b="";for(var f=0;f<this.dc.length;f++)for(var h=this.dc[f],k=this.Dc[h],p=0;p<k.length;p++){if(!e){c=null==c?h:c;break}var v=De(k[p],this.Yc,this.Eh);if(v){v=b+v;if(e>=v.length){e-=v.length;a+=v;b=this.Yc;break}else this.Tf&&(b=e,v[b-1]==this.Yc&&--b,a+=v.substr(0,b),b=this.Yc,e=0);c=null==c?h:c}}f="";this.me&&null!=c&&(f=b+this.me+"="+(this.oj||c));return a+
f+d};
var Ce=function(a){if(!a.me)return a.Hg;var b=1,c;for(c in a.Dc)b=c.length>b?c.length:b;return a.Hg-a.me.length-b-a.Yc.length-1},De=function(a,b,c,d,e){var f=[];ve(a,function(a,k){(a=Ee(a,b,c,d,e))&&f.push(k+"="+a)});return f.join(b)},Ee=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],h=0;h<a.length;h++)f.push(Ee(a[h],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>
e?encodeURIComponent(De(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};var Ge=function(a,b,c,d,e,f){if((d?a.ij:Math.random())<(e||a.Oh))try{var h;c instanceof ze?h=c:(h=new ze,ve(c,function(a,b){var c=h,d=c.Pi++;a=Ae(b,a);c.dc.push(d);c.Dc[d]=a}));var k=h.Gd(a.Xi,a.va,a.za+b+"&","");k&&("undefined"===typeof f?Fe(l,k):Fe(l,k,f))}catch(p){}},Fe=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(c){var e=function(a){c(a);Rd(d,"load",e);Rd(d,"error",e)};Qd(d,"load",e);Qd(d,"error",e)}d.src=b;a.google_image_requests.push(d)};var He=function(a,b,c){this.Ug=a;this.Uh=b;this.Df=c;this.Sf=null;this.Th=this.Jg;this.oh=!1},Ie=function(a,b,c){this.message=a;this.fileName=b||"";this.lineNumber=c||-1},Ke=function(a,b,c){var d;try{d=c()}catch(h){var e=a.Df;try{var f=Je(h),e=a.Th.call(a,b,f,void 0,void 0)}catch(k){a.Jg("pAR",k)}if(!e)throw h;}finally{}return d},Le=function(a,b,c){return function(){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];return Ke(a,b,function(){return c.apply(void 0,d)})}};
He.prototype.Jg=function(a,b,c,d,e){try{var f=e||this.Uh,h=new ze;h.Tf=!0;Be(h,1,"context",a);b instanceof Ie||(b=Je(b));Be(h,2,"msg",b.message.substring(0,512));b.fileName&&Be(h,3,"file",b.fileName);0<b.lineNumber&&Be(h,4,"line",b.lineNumber.toString());b={};if(this.Sf)try{this.Sf(b)}catch(Tc){}if(d)try{d(b)}catch(Tc){}d=[b];h.dc.push(5);h.Dc[5]=d;var k;e=l;d=[];var p,v=null;do{b=e;te(b)?(p=b.location.href,v=b.document&&b.document.referrer||null):(p=v,v=null);d.push(new ye(p||""));try{e=b.parent}catch(Tc){e=
null}}while(e&&b!=e);p=0;for(var x=d.length-1;p<=x;++p)d[p].depth=x-p;b=l;if(b.location&&b.location.ancestorOrigins&&b.location.ancestorOrigins.length==d.length-1)for(p=1;p<d.length;++p){var B=d[p];B.url||(B.url=b.location.ancestorOrigins[p-1]||"",B.Bg=!0)}for(var z=new ye(l.location.href,!1),N=d.length-1,x=N;0<=x;--x){var Gb=d[x];if(Gb.url&&!Gb.Bg){z=Gb;break}}var Gb=null,Oj=d.length&&d[N].url;0!=z.depth&&Oj&&(Gb=d[N]);k=new xe(z,Gb);k.mh&&Be(h,6,"top",k.mh.url||"");Be(h,7,"url",k.kh.url||"");Ge(this.Ug,
f,h,this.oh,c)}catch(Tc){try{Ge(this.Ug,f,{context:"ecmserr",rctx:a,msg:Me(Tc),url:k.kh.url},this.oh,c)}catch(Vk){}}return this.Df};
var Je=function(a){return new Ie(Me(a),a.fileName,a.lineNumber)},Me=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};var Ne=Object.prototype.hasOwnProperty,Oe=null,Pe=function(a){return"undefined"===typeof a},Qe=function(a,b){for(var c in a)Ne.call(a,c)&&b.call(void 0,a[c],c,a)},Re=function(a){return t(a)&&0<a},Se=function(a){return!!a&&0<we(a).length},Te=!!window.google_async_iframe_id,Ue=Te&&window.parent||window;var Ve,We,ie=new ge(1);Ve=new function(){this.Xi="http:"===F.location.protocol?"http:":"https:";this.va="pagead2.googlesyndication.com";this.za="/pagead/gen_204?id=";this.Oh=.01;this.ij=Math.random()};We=new He(Ve,"jserror",!0);ie.install(function(){if(Te&&!te(Ue)){var a="."+E.domain;try{for(;2<a.split(".").length&&!te(Ue);)E.domain=a=a.substr(a.indexOf(".")+1),Ue=window.parent}catch(b){}te(Ue)||(Ue=window)}return Ue}());
var Xe=function(a){var b="osd_proto::reqm_int".toString(),b=b.toString();return Le(We,b,je(b,a))};var Ye=function(a){if(a.classList)return a.classList;a=a.className;return r(a)&&a.match(/\S+/g)||[]},Ze=function(a,b){return a.classList?a.classList.contains(b):Ea(Ye(a),b)},$e=function(a,b){a.classList?a.classList.add(b):Ze(a,b)||(a.className+=0<a.className.length?" "+b:b)},af=function(a,b){if(a.classList)G(b,function(b){$e(a,b)});else{var c={};G(Ye(a),function(a){c[a]=!0});G(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}},bf=function(a,b){a.classList?
a.classList.remove(b):Ze(a,b)&&(a.className=Aa(Ye(a),function(a){return a!=b}).join(" "))},df=function(a){var b=Sa(cf);a.classList?G(b,function(b){bf(a,b)}):a.className=Aa(Ye(a),function(a){return!Ea(b,a)}).join(" ")};var ef=function(){this.ud=[]},S=function(a,b,c,d,e){a.ud.push(new ff(b,c,d,e))},gf=function(a,b){S(a,b,"zIndex",999999)},hf=function(a){for(var b=a.ud.length-1;0<=b;b--){var c=a.ud[b];c.nd?(c.ff.style.removeProperty(c.Xa),c.ff.style.setProperty(c.Xa,c.Pg,c.Ti)):c.ff.style[c.Xa]=c.Pg}a.ud.length=0},ff=function(a,b,c,d){this.ff=a;this.Xa=(this.nd=m(d)&&a.style&&a.style.getPropertyPriority)?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.Pg=this.nd?a.style.getPropertyValue(this.Xa):a.style[this.Xa];
this.Ti=this.nd?a.style.getPropertyPriority(this.Xa):null;this.nd?(a.style.removeProperty(this.Xa),a.style.setProperty(this.Xa,c,d)):a.style[this.Xa]=c};var jf={NORMAL:0,LIGHTBOX:1,EXPANSION_MODES:2},U=function(){var a=T().MOBILE_BROWSER_CLASS;if(null!=a&&0<=a)return 3!=a;a=F.navigator.userAgent;return jb||kb||hb&&(/Mobile/.test(a)||/Tablet/.test(a))||I&&/IEMobile/.test(a)},T=function(){return F.CREATIVE_TOOLSET_PARAMS||{}},kf=function(){var a=T();return{SAMPLE_VIEWPORT_SIZES:a.SAMPLE_VIEWPORT_SIZES,JS_EXPERIMENT_LABELS:a.JS_EXPERIMENT_LABELS,MOBILE_BROWSER_CLASS:a.MOBILE_BROWSER_CLASS}},lf=function(a){return!!a&&/^ins$/i.test(a.nodeName)},mf=function(a,
b){var c=new P(a.innerWidth,a.innerHeight);a=Mc(a);return!U()||b&&c.height>a.height?a:c},nf=function(a){a.style.setProperty("background-color","transparent","important");a.style.setProperty("background-image","none","important");a.style.setProperty("border","0 none transparent","important");a.style.setProperty("color","transparent","important");a.style.setProperty("margin","0px 0px 0px 0px","important");a.style.setProperty("opacity","1","important");a.style.setProperty("overflow","visible","important");
a.style.setProperty("padding","0px 0px 0px 0px","important");a.style.setProperty("visibility","visible","important")};var of=["osd_timed_out","video_thumb_initialized","autopreview_started_playing","autopreview_playing_2s"],V=function(a,b,c){pf("ct-error",a,b,c)},qf=function(a,b,c){pf("ct-info",a,b,c)},pf=function(a,b,c,d){c=Va(c||{});d=d||.01;Ea(of,b)&&(d=1);m(void 0)&&(void 0)(a,b,c,d)||(c.eventType=b,b=T(),m(b.EXPANSION_CLICK_INFO)&&(c.ai=b.EXPANSION_CLICK_INFO),c.clientTime=A(),Ge(Ve,a,c,"jserror"!=a,d,void 0))};var rf=function(a){this.lf=a},tf=function(a,b,c,d){sf(a,"ct-error",b,c,d)},W=function(a,b,c,d){sf(a,"ct-info",b,c,d)},sf=function(a,b,c,d,e){d=Va(d||{});e=e||.01;m(a.lf)&&a.lf(b,c,d,e)||("ct-info"==b?qf(c,d,e):"ct-error"==b&&V(c,d,e))};var uf=function(a,b,c){this.Hi=c;this.Nh=a;this.$i=b;this.Yd=0;this.Md=null};uf.prototype.get=function(){var a;0<this.Yd?(this.Yd--,a=this.Md,this.Md=a.next,a.next=null):a=this.Nh();return a};uf.prototype.put=function(a){this.$i(a);this.Yd<this.Hi&&(this.Yd++,a.next=this.Md,this.Md=a)};var vf=function(a){l.setTimeout(function(){throw a;},0)},wf,xf=function(){var a=l.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!H("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=w(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!H("Trident")&&!H("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(m(c.next)){c=c.next;var a=c.Zf;c.Zf=null;a()}};return function(a){d.next={Zf:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){l.setTimeout(a,0)}};var yf=function(){this.se=this.Bc=null},Af=new uf(function(){return new zf},function(a){a.reset()},100);yf.prototype.add=function(a,b){var c=Af.get();c.set(a,b);this.se?this.se.next=c:this.Bc=c;this.se=c};yf.prototype.remove=function(){var a=null;this.Bc&&(a=this.Bc,this.Bc=this.Bc.next,this.Bc||(this.se=null),a.next=null);return a};var zf=function(){this.next=this.scope=this.Me=null};zf.prototype.set=function(a,b){this.Me=a;this.scope=b;this.next=null};
zf.prototype.reset=function(){this.next=this.scope=this.Me=null};var Ff=function(a,b){Bf||Cf();Df||(Bf(),Df=!0);Ef.add(a,b)},Bf,Cf=function(){var a=l.Promise;if(-1!=String(a).indexOf("[native code]")){var b=a.resolve(void 0);Bf=function(){b.then(Gf)}}else Bf=function(){var a=Gf;!u(l.setImmediate)||l.Window&&l.Window.prototype&&!H("Edge")&&l.Window.prototype.setImmediate==l.setImmediate?(wf||(wf=xf()),wf(a)):l.setImmediate(a)}},Df=!1,Ef=new yf,Gf=function(){for(var a;a=Ef.remove();){try{a.Me.call(a.scope)}catch(b){vf(b)}Af.put(a)}Df=!1};var Hf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},If=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Kf=function(a,b){this.s=0;this.hb=void 0;this.ec=this.lb=this.ba=null;this.Hd=this.Fe=!1;if(a!=n)try{var c=this;a.call(b,function(a){Jf(c,2,a)},function(a){Jf(c,3,a)})}catch(d){Jf(this,3,d)}},Lf=function(){this.next=this.context=this.pc=this.Xc=this.Ib=null;this.qd=!1};Lf.prototype.reset=function(){this.context=this.pc=this.Xc=this.Ib=null;this.qd=!1};var Mf=new uf(function(){return new Lf},function(a){a.reset()},100),Nf=function(a,b,c){var d=Mf.get();d.Xc=a;d.pc=b;d.context=c;return d};
Kf.prototype.then=function(a,b,c){return Of(this,u(a)?a:null,u(b)?b:null,c)};Hf(Kf);Kf.prototype.cancel=function(a){0==this.s&&Ff(function(){var b=new Pf(a);Qf(this,b)},this)};
var Qf=function(a,b){if(0==a.s)if(a.ba){var c=a.ba;if(c.lb){for(var d=0,e=null,f=null,h=c.lb;h&&(h.qd||(d++,h.Ib==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.s&&1==d?Qf(c,b):(f?(d=f,d.next==c.ec&&(c.ec=d),d.next=d.next.next):Rf(c),Sf(c,e,3,b)))}a.ba=null}else Jf(a,3,b)},Uf=function(a,b){a.lb||2!=a.s&&3!=a.s||Tf(a);a.ec?a.ec.next=b:a.lb=b;a.ec=b},Of=function(a,b,c,d){var e=Nf(null,null,null);e.Ib=new Kf(function(a,h){e.Xc=b?function(c){try{var e=b.call(d,c);a(e)}catch(v){h(v)}}:a;e.pc=c?function(b){try{var e=
c.call(d,b);!m(e)&&b instanceof Pf?h(b):a(e)}catch(v){h(v)}}:h});e.Ib.ba=a;Uf(a,e);return e.Ib};Kf.prototype.pj=function(a){this.s=0;Jf(this,2,a)};Kf.prototype.qj=function(a){this.s=0;Jf(this,3,a)};
var Jf=function(a,b,c){if(0==a.s){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.s=1;var d;a:{var e=c,f=a.pj,h=a.qj;if(e instanceof Kf)Uf(e,Nf(f||n,h||null,a)),d=!0;else if(If(e))e.then(f,h,a),d=!0;else{if(da(e))try{var k=e.then;if(u(k)){Vf(e,k,f,h,a);d=!0;break a}}catch(p){h.call(a,p);d=!0;break a}d=!1}}d||(a.hb=c,a.s=b,a.ba=null,Tf(a),3!=b||c instanceof Pf||Wf(a,c))}},Vf=function(a,b,c,d,e){var f=!1,h=function(a){f||(f=!0,c.call(e,a))},k=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,
h,k)}catch(p){k(p)}},Tf=function(a){a.Fe||(a.Fe=!0,Ff(a.Xh,a))},Rf=function(a){var b=null;a.lb&&(b=a.lb,a.lb=b.next,b.next=null);a.lb||(a.ec=null);return b};Kf.prototype.Xh=function(){for(var a;a=Rf(this);)Sf(this,a,this.s,this.hb);this.Fe=!1};
var Sf=function(a,b,c,d){if(3==c&&b.pc&&!b.qd)for(;a&&a.Hd;a=a.ba)a.Hd=!1;if(b.Ib)b.Ib.ba=null,Xf(b,c,d);else try{b.qd?b.Xc.call(b.context):Xf(b,c,d)}catch(e){Yf.call(null,e)}Mf.put(b)},Xf=function(a,b,c){2==b?a.Xc.call(a.context,c):a.pc&&a.pc.call(a.context,c)},Wf=function(a,b){a.Hd=!0;Ff(function(){a.Hd&&Yf.call(null,b)})},Yf=vf,Pf=function(a){ja.call(this,a)};D(Pf,ja);Pf.prototype.name="cancel";var Zf=function(a,b){R.call(this);this.Ob=a||1;this.zc=b||l;this.xe=w(this.lj,this);this.$e=A()};D(Zf,R);g=Zf.prototype;g.enabled=!1;g.S=null;g.setInterval=function(a){this.Ob=a;this.S&&this.enabled?(this.stop(),this.start()):this.S&&this.stop()};
g.lj=function(){if(this.enabled){var a=A()-this.$e;0<a&&a<.8*this.Ob?this.S=this.zc.setTimeout(this.xe,this.Ob-a):(this.S&&(this.zc.clearTimeout(this.S),this.S=null),this.dispatchEvent("tick"),this.enabled&&(this.S=this.zc.setTimeout(this.xe,this.Ob),this.$e=A()))}};g.start=function(){this.enabled=!0;this.S||(this.S=this.zc.setTimeout(this.xe,this.Ob),this.$e=A())};g.stop=function(){this.enabled=!1;this.S&&(this.zc.clearTimeout(this.S),this.S=null)};g.j=function(){Zf.l.j.call(this);this.stop();delete this.zc};
var $f=function(a,b,c){if(u(a))c&&(a=w(a,c));else if(a&&"function"==typeof a.handleEvent)a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:l.setTimeout(a,b||0)};var ag=function(a,b,c){J.call(this);this.bf=a;this.Ob=b||0;this.kc=c;this.Ih=w(this.Ph,this)};D(ag,J);g=ag.prototype;g.Sa=0;g.j=function(){ag.l.j.call(this);this.stop();delete this.bf;delete this.kc};g.start=function(a){this.stop();this.Sa=$f(this.Ih,m(a)?a:this.Ob)};g.stop=function(){this.wb()&&l.clearTimeout(this.Sa);this.Sa=0};g.wb=function(){return 0!=this.Sa};g.Ph=function(){this.Sa=0;this.bf&&this.bf.call(this.kc)};var bg=function(a){J.call(this);this.kc=a;this.C={}};D(bg,J);var cg=[];bg.prototype.eb=function(a,b,c,d){q(b)||(b&&(cg[0]=b.toString()),b=cg);for(var e=0;e<b.length;e++){var f=L(a,b[e],c||this.handleEvent,d||!1,this.kc||this);if(!f)break;this.C[f.key]=f}return this};bg.prototype.Rb=function(a,b,c,d){return dg(this,a,b,c,d)};var dg=function(a,b,c,d,e,f){if(q(c))for(var h=0;h<c.length;h++)dg(a,b,c[h],d,e,f);else{b=Vb(b,c,d||a.handleEvent,e,f||a.kc||a);if(!b)return a;a.C[b.key]=b}return a};
bg.prototype.Fb=function(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)this.Fb(a,b[f],c,d,e);else if(a=Yb(a,b,c||this.handleEvent,d,e||this.kc||this))M(a),delete this.C[a.key];return this};bg.prototype.tc=function(){Qa(this.C,function(a,b){this.C.hasOwnProperty(b)&&M(a)},this);this.C={}};bg.prototype.j=function(){bg.l.j.call(this);this.tc()};bg.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var eg=function(){J.call(this);this.Af={}};D(eg,J);eg.prototype.cf=null;eg.prototype.connect=function(a){a&&a()};eg.prototype.Ia=function(){return!0};var fg=function(a,b){a.Af.expandable_ad={Da:b,Mg:!1}},gg=function(a,b){if(b&&r(a))try{return td(a)}catch(c){return null}else if(!b&&!r(a))return wd(a);return a};eg.prototype.j=function(){eg.l.j.call(this);delete this.cf;delete this.Af;delete this.lg};var hg=function(a,b){this.va=this.ac=this.ib="";this.Ab=null;this.Mb=this.za="";this.ya=this.Ci=!1;var c;a instanceof hg?(this.ya=m(b)?b:a.ya,ig(this,a.ib),c=a.ac,jg(this),this.ac=c,c=a.va,jg(this),this.va=c,kg(this,a.Ab),c=a.za,jg(this),this.za=c,lg(this,a.gb.clone()),a=a.Mb,jg(this),this.Mb=a):a&&(c=String(a).match(ke))?(this.ya=!!b,ig(this,c[1]||"",!0),a=c[2]||"",jg(this),this.ac=mg(a),a=c[3]||"",jg(this),this.va=mg(a,!0),kg(this,c[4]),a=c[5]||"",jg(this),this.za=mg(a,!0),lg(this,c[6]||"",!0),
a=c[7]||"",jg(this),this.Mb=mg(a)):(this.ya=!!b,this.gb=new ng(null,0,this.ya))};
hg.prototype.toString=function(){var a=[],b=this.ib;b&&a.push(og(b,pg,!0),":");var c=this.va;if(c||"file"==b)a.push("//"),(b=this.ac)&&a.push(og(b,pg,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Ab,null!=c&&a.push(":",String(c));if(c=this.za)this.va&&"/"!=c.charAt(0)&&a.push("/"),a.push(og(c,"/"==c.charAt(0)?qg:rg,!0));(c=this.gb.toString())&&a.push("?",c);(c=this.Mb)&&a.push("#",og(c,sg));return a.join("")};
hg.prototype.resolve=function(a){var b=this.clone(),c=!!a.ib;c?ig(b,a.ib):c=!!a.ac;if(c){var d=a.ac;jg(b);b.ac=d}else c=!!a.va;c?(d=a.va,jg(b),b.va=d):c=null!=a.Ab;d=a.za;if(c)kg(b,a.Ab);else if(c=!!a.za){if("/"!=d.charAt(0))if(this.va&&!this.za)d="/"+d;else{var e=b.za.lastIndexOf("/");-1!=e&&(d=b.za.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&
f.push(""):".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?(jg(b),b.za=d):c=""!==a.gb.toString();c?lg(b,a.gb.clone()):c=!!a.Mb;c&&(a=a.Mb,jg(b),b.Mb=a);return b};hg.prototype.clone=function(){return new hg(this)};
var ig=function(a,b,c){jg(a);a.ib=c?mg(b,!0):b;a.ib&&(a.ib=a.ib.replace(/:$/,""))},kg=function(a,b){jg(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Ab=b}else a.Ab=null},lg=function(a,b,c){jg(a);b instanceof ng?(a.gb=b,a.gb.Bf(a.ya)):(c||(b=og(b,tg)),a.gb=new ng(b,0,a.ya))},jg=function(a){if(a.Ci)throw Error("Tried to modify a read-only Uri");};hg.prototype.Bf=function(a){this.ya=a;this.gb&&this.gb.Bf(a);return this};
var ug=function(a){return a instanceof hg?a.clone():new hg(a,void 0)},mg=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},og=function(a,b,c){return r(a)?(a=encodeURI(a).replace(b,vg),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},vg=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},pg=/[#\/\?@]/g,rg=/[\#\?:]/g,qg=/[\#\?]/g,tg=/[\#\?@]/g,sg=/#/g,ng=function(a,b,c){this.D=this.G=null;this.ka=a||null;this.ya=!!c},wg=function(a){a.G||
(a.G=new Gd,a.D=0,a.ka&&me(a.ka,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=ng.prototype;g.add=function(a,b){wg(this);this.ka=null;a=xg(this,a);var c=this.G.get(a);c||this.G.set(a,c=[]);c.push(b);this.D+=1;return this};g.remove=function(a){wg(this);a=xg(this,a);return this.G.fc(a)?(this.ka=null,this.D-=this.G.get(a).length,this.G.remove(a)):!1};g.clear=function(){this.G=this.ka=null;this.D=0};g.Pc=function(){wg(this);return 0==this.D};
g.fc=function(a){wg(this);a=xg(this,a);return this.G.fc(a)};g.tb=function(){wg(this);for(var a=this.G.la(),b=this.G.tb(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};g.la=function(a){wg(this);var b=[];if(r(a))this.fc(a)&&(b=Fa(b,this.G.get(xg(this,a))));else{a=this.G.la();for(var c=0;c<a.length;c++)b=Fa(b,a[c])}return b};g.set=function(a,b){wg(this);this.ka=null;a=xg(this,a);this.fc(a)&&(this.D-=this.G.get(a).length);this.G.set(a,[b]);this.D+=1;return this};
g.get=function(a,b){a=a?this.la(a):[];return 0<a.length?String(a[0]):b};g.toString=function(){if(this.ka)return this.ka;if(!this.G)return"";for(var a=[],b=this.G.tb(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.la(d),f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}return this.ka=a.join("&")};g.clone=function(){var a=new ng;a.ka=this.ka;this.G&&(a.G=this.G.clone(),a.D=this.D);return a};
var xg=function(a,b){b=String(b);a.ya&&(b=b.toLowerCase());return b};ng.prototype.Bf=function(a){a&&!this.ya&&(wg(this),this.ka=null,this.G.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.remove(b),0<a.length&&(this.ka=null,this.G.set(xg(this,b),Ha(a)),this.D+=a.length))},this));this.ya=a};ng.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Kd(arguments[b],function(a,b){this.add(b,a)},this)};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var X=function(a,b){this.de=[];this.Og=a;this.kg=b||null;this.Nc=this.Ha=!1;this.hb=void 0;this.Ef=this.Fh=this.we=!1;this.ne=0;this.ba=null;this.rd=0};X.prototype.cancel=function(a){if(this.Ha)this.hb instanceof X&&this.hb.cancel();else{if(this.ba){var b=this.ba;delete this.ba;a?b.cancel(a):(b.rd--,0>=b.rd&&b.cancel())}this.Og?this.Og.call(this.kg,this):this.Ef=!0;this.Ha||this.og(new yg)}};X.prototype.hg=function(a,b){this.we=!1;zg(this,a,b)};
var zg=function(a,b,c){a.Ha=!0;a.hb=c;a.Nc=!b;Ag(a)},Cg=function(a){if(a.Ha){if(!a.Ef)throw new Bg;a.Ef=!1}};X.prototype.Da=function(a){Cg(this);zg(this,!0,a)};X.prototype.og=function(a){Cg(this);zg(this,!1,a)};var Eg=function(a,b,c){Dg(a,b,null,c)},Dg=function(a,b,c,d){a.de.push([b,c,d]);a.Ha&&Ag(a)};X.prototype.then=function(a,b,c){var d,e,f=new Kf(function(a,b){d=a;e=b});Dg(this,d,function(a){a instanceof yg?f.cancel():e(a)});return f.then(a,b,c)};Hf(X);
var Fg=function(a,b){b instanceof X?Eg(a,w(b.Hh,b)):Eg(a,function(){return b})};X.prototype.Hh=function(a){var b=new X;Dg(this,b.Da,b.og,b);a&&(b.ba=this,this.rd++);return b};
var Gg=function(a){return Ca(a.de,function(a){return u(a[1])})},Ag=function(a){if(a.ne&&a.Ha&&Gg(a)){var b=a.ne,c=Hg[b];c&&(c.Zg(),delete Hg[b]);a.ne=0}a.ba&&(a.ba.rd--,delete a.ba);for(var b=a.hb,d=c=!1;a.de.length&&!a.we;){var e=a.de.shift(),f=e[0],h=e[1],e=e[2];if(f=a.Nc?h:f)try{var k=f.call(e||a.kg,b);m(k)&&(a.Nc=a.Nc&&(k==b||k instanceof Error),a.hb=b=k);if(If(b)||"function"===typeof l.Promise&&b instanceof l.Promise)d=!0,a.we=!0}catch(p){b=p,a.Nc=!0,Gg(a)||(c=!0)}}a.hb=b;d&&(k=w(a.hg,a,!0),
d=w(a.hg,a,!1),b instanceof X?(Dg(b,k,d),b.Fh=!0):b.then(k,d));c&&(b=new Ig(b),Hg[b.Sa]=b,a.ne=b.Sa)},Bg=function(){ja.call(this)};D(Bg,ja);Bg.prototype.message="Deferred has already fired";Bg.prototype.name="AlreadyCalledError";var yg=function(){ja.call(this)};D(yg,ja);yg.prototype.message="Deferred was canceled";yg.prototype.name="CanceledError";var Ig=function(a){this.Sa=l.setTimeout(w(this.kj,this),0);this.Vh=a};Ig.prototype.kj=function(){delete Hg[this.Sa];throw this.Vh;};Ig.prototype.Zg=function(){l.clearTimeout(this.Sa)};
var Hg={};var Jg={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},Kg=["pu","lru","pru","lpu","ppu"],Lg={},Ng=function(){for(var a=10,b=Mg,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d},Mg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var Og=function(a){J.call(this);this.ua=a||Jc()};D(Og,J);Og.prototype.kd=0;Og.prototype.getType=function(){return this.kd};Og.prototype.jc=function(){return this.ua.jc()};Og.prototype.getName=function(){return Jg[String(this.kd)]||""};var Qg=function(a,b,c,d,e){Og.call(this,c);this.m=a;this.sc=e||2;this.nf=b||"*";this.Kb=new bg(this);this.Sc=new Zf(100,this.jc());this.kf=!!d;this.Cb=new X;this.Db=new X;this.nb=new X;this.Sh=Ng();this.$d=null;this.kf?1==Pg(this.m)?Fg(this.nb,this.Cb):Fg(this.nb,this.Db):(Fg(this.nb,this.Cb),2==this.sc&&Fg(this.nb,this.Db));Eg(this.nb,this.Ri,this);this.nb.Da(!0);this.Kb.eb(this.Sc,"tick",this.Ig)};D(Qg,Og);Qg.prototype.ma=null;Qg.prototype.Ag=!1;Qg.prototype.kd=1;var Rg={};Qg.prototype.ed=0;
var Tg=function(a){var b=a.ea.data;if(!r(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);if(d=Lg[e])return d.Mf(c,b,a.ea.origin),!0;var d=Sg(b)[0],f;for(f in Lg)if(a=Lg[f],1==Pg(a)&&!a.Ia()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d))return f=a,delete Lg[f.name],f.name=e,Lg[e]=f,a.Mf(c,b),!0;return!1},Ug=function(a){2!=a.sc||null!=a.ma&&2!=a.ma||a.send("tp","SETUP_NTPV2,"+a.Sh);null!=a.ma&&1!=a.ma||a.send("tp",
"SETUP")},Vg=function(a,b){if(2!=a.sc||null!=a.ma&&2!=a.ma||2!=b){if(null!=a.ma&&1!=a.ma||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.Db.Ha||a.Db.Da(!0)},Wg=function(a,b){b>a.ma&&(a.ma=b);1==a.ma&&(a.Db.Ha||a.kf||a.Db.Da(!0),a.$d=null)};g=Qg.prototype;g.connect=function(){var a=this.jc(),b=ga(a),c=Rg[b];t(c)||(c=0);0==c&&L(a.postMessage?a:a.document,"message",Tg,!1,Qg);Rg[b]=c+1;this.Ag=!0;this.Ig()};
g.Ig=function(){var a=0==Pg(this.m);this.kf&&a||this.m.Ia()||this.ta?this.Sc.stop():(this.Sc.start(),Ug(this))};g.send=function(a,b){var c=this.m.zb;c&&(this.send=function(a,b){var d=this,e=this.m.name;this.ed=$f(function(){d.ed=0;try{var f=c.postMessage?c:c.document;f.postMessage&&f.postMessage(e+"|"+a+":"+b,d.nf)}catch(p){}},0)},this.send(a,b))};
g.Ri=function(){var a=this.m,b=1==this.sc||1==this.ma?200:void 0;a.Ia()||a.ob&&a.ob.wb()||(a.s=2,K(a.ob),m(b)?(a.ob=new ag(a.ze,b),a.ob.start()):(a.ob=null,a.ze()))};
g.j=function(){if(this.Ag){var a=this.jc(),b=ga(a),c=Rg[b];Rg[b]=c-1;1==c&&Wb(a.postMessage?a:a.document,"message",Tg,!1,Qg)}this.ed&&(l.clearTimeout(this.ed),this.ed=0);K(this.Kb);delete this.Kb;K(this.Sc);delete this.Sc;this.Cb.cancel();delete this.Cb;this.Db.cancel();delete this.Db;this.nb.cancel();delete this.nb;delete this.send;Qg.l.j.call(this)};var Sg=function(a){a=a.split(",");a[1]=a[1]||null;return a};var Yg=function(a,b){eg.call(this);for(var c=0,d;d=Kg[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.$=a;this.name=this.$.cn||Ng();this.ua=b||Jc();this.vd=[];this.pf=new bg(this);a.lpu=a.lpu||le(this.ua.jc().location.href)+"/robots.txt";a.ppu=a.ppu||le(a.pu||"")+"/robots.txt";Lg[this.name]=this;Yb(window,"unload",Xg)||Vb(window,"unload",Xg)};D(Yg,eg);var Zg=/^%*tp$/,$g=/^%+tp$/;g=Yg.prototype;g.ob=null;g.Ub=null;g.T=null;g.s=1;
g.Ia=function(){return 2==this.s};g.zb=null;g.Od=null;g.getConfig=function(){return this.$};g.connect=function(a){this.ze=a||n;3==this.s&&(this.s=1);this.Ub?Eg(this.Ub,this.gg):this.gg()};
g.gg=function(){this.Ub=null;if(this.$.ifrid){var a=this.$.ifrid;this.Od=r(a)?this.ua.U.getElementById(a):a}this.Od&&((a=this.Od.contentWindow)||(a=window.frames[this.$.ifrid]),this.zb=a);if(!this.zb){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.zb=window.parent}if(!this.T){this.$.tp||(this.$.tp=u(document.postMessage)||u(window.postMessage)||I&&window.postMessage?1:hb?2:I&&this.$.pru?3:4);switch(this.$.tp){case 1:this.T=new Qg(this,this.$.ph,
this.ua,!!this.$.osh,this.$.nativeProtocolVersion||2);break;case 6:this.T=null;break;case 2:this.T=null;break;case 3:this.T=null;break;case 4:this.T=null}if(!this.T)throw Error("CrossPageChannel: No suitable transport found!");}for(this.T.connect();0<this.vd.length;)this.vd.shift()()};g.close=function(){this.Ub&&(this.Ub.cancel(),this.Ub=null);this.vd.length=0;this.pf.tc();this.s=3;K(this.T);this.ze=this.T=null;K(this.ob);this.ob=null};
g.send=function(a,b){if(this.Ia()){var c;try{c=!!this.zb&&!this.zb.closed}catch(d){c=!1}c?(da(b)&&(b=wd(b)),this.T.send(ah(a),b)):this.close()}};
g.Mf=function(a,b,c){if(this.Ub)this.vd.push(w(this.Mf,this,a,b,c));else{var d=this.$.ph;if((la(null==c?"":String(c))||la(null==d?"":String(d))||c==this.$.ph)&&!this.ta&&3!=this.s)if(a&&"tp"!=a)this.Ia()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=$g.test(a)?a.substring(1):a,a=(c=this.Af[a])?c:this.lg?{Da:y(this.lg,a),Mg:da(b)}:null)&&(b=gg(b,a.Mg),null!=b&&a.Da(b));else switch(a=this.T,c=Sg(b),b=c[1],c[0]){case "SETUP_ACK":Wg(a,1);a.Cb.Ha||a.Cb.Da(!0);break;case "SETUP_ACK_NTPV2":2==a.sc&&
(Wg(a,2),a.Cb.Ha||a.Cb.Da(!0));break;case "SETUP":Wg(a,1);Vg(a,1);break;case "SETUP_NTPV2":2==a.sc&&(c=a.ma,Wg(a,2),Vg(a,2),1!=c&&null==a.$d||a.$d==b||Ug(a),a.$d=b)}}};var ah=function(a){Zg.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},Pg=function(a){var b=a.$.role;return t(b)?b:window.parent==a.zb?1:0};Yg.prototype.j=function(){this.close();this.Od=this.zb=null;delete Lg[this.name];K(this.pf);delete this.pf;Yg.l.j.call(this)};var Xg=function(){for(var a in Lg)K(Lg[a])};var bh=function(a,b){return(a=a.match("[?&#]"+b+"=([^&#]*)"))?decodeURIComponent(a[1]):void 0},ch=function(a,b,c){c=c?encodeURIComponent:function(a){return a};var d=we(l.document.URL),e=0<d.length;return a+(-1==a.indexOf(c("?"))?c("?"):c("&"))+c([e?"google_debug"+(d?"="+d:"")+"&":"","xpc=",b,"&p=",encodeURIComponent(l.document.location.protocol),"//",encodeURIComponent(l.document.location.host)].join(""))},dh=function(a,b,c,d,e,f,h,k){return{a:a,b:b,c:c,d:d,e:e,f:f,g:h,h:k,i:void 0}},eh=function(a){return(a||
l.document.location.protocol+"//"+l.document.location.host)+"/robots.txt"};var fh=function(a,b){R.call(this);this.$c=0;this.Ud=this.Ac=!1;this.Fa=a;this.gj=b;this.Ud||(this.Ud=!0,this.Li=L(this.Fa,"touchstart",y(this.Vd,w(this.Kd,this)),!1,this),this.Ki=L(this.Fa,"touchmove",y(this.Vd,w(this.ri,this)),!1,this),this.Ji=L(this.Fa,"touchend",y(this.Vd,w(this.Jd,this)),!1,this),this.Ii=L(this.Fa,"touchcancel",y(this.Vd,w(this.Id,this)),!1,this))};D(fh,R);fh.prototype.j=function(){this.Ud&&(this.Ac=!1,this.$c=0,this.Ud=!1,M(this.Li),M(this.Ki),M(this.Ji),M(this.Ii));fh.l.j.call(this)};
var gh=function(a,b){if(!a.Ac)return null;for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(a.$c==d.identifier)return d}return null};g=fh.prototype;g.Kd=function(a){var b=a.ea;this.Ac||0==b.targetTouches.length||(b=b.targetTouches[b.targetTouches.length-1],this.$c=b.identifier,this.Ac=!0,this.dispatchEvent({type:"singletouchstart",jb:b,Fc:a}))};g.ri=function(a){var b=gh(this,a.ea);b&&this.dispatchEvent({type:"singletouchmove",jb:b,Fc:a})};
g.Jd=function(a){var b=gh(this,a.ea);b&&(this.Ac=!1,this.$c=0,this.dispatchEvent({type:"singletouchend",jb:b,Fc:a}))};g.Id=function(a){var b=gh(this,a.ea);b&&(this.Ac=!1,this.$c=0,this.dispatchEvent({type:"singletouchcancel",jb:b,Fc:a}))};g.Vd=function(a,b){this.gj&&b.preventDefault();a(b)};var hh=function(a){R.call(this);this.nh=0;this.le=null;this.Ff=[L(a,"singletouchstart",this.pi,!1,this),L(a,"singletouchend",this.oi,!1,this)]};D(hh,R);hh.prototype.pi=function(a){this.nh=Date.now();this.le=new O(a.jb.clientX,a.jb.clientY)};hh.prototype.oi=function(a){if(null!==this.le){var b=new O(a.jb.clientX,a.jb.clientY),c=500<Date.now()-this.nh;9<Dc(b,this.le)||c||(this.dispatchEvent({type:"singletouchtap",Zj:b,Fc:a.Fc}),this.le=null)}};
hh.prototype.j=function(){for(var a=0;a<this.Ff.length;a++)M(this.Ff[a]);this.Ff=[];hh.l.j.call(this)};var Xa={Jj:"log_ignored_events",Ij:"log_idle_on_pub",Rj:"stricter_mobile_taps",xj:"error_reporting",USE_MRAID_GET_MAX_SIZE:"use_mraid_get_max_size",Fj:"external_overlay",Oj:"overlay_expand_icon",Pj:"overlay_touch_ripple"},ih=function(a){var b=T().JS_EXPERIMENT_LABELS;return r(b)?Ea(b.split(","),a):!1},jh=function(a){var b=T().JS_EXPERIMENT_LABELS;if(r(b))for(var b=b.split(","),c=0;c<b.length;c++){var d=b[c].match(a);if(null!=d)return parseInt(d[1],10)}return-1},kh=function(){return jh(/^ad_survey_(\d+)$/)},
lh=function(){var a=[],b=T().JS_EXPERIMENT_LABELS;if(r(b)){var c=Ya();G(b.split(","),function(b){la(b)||null!==c&&b in c||a.push(b)})}Ja(a);return a};var mh=function(){R.call(this);this.s=0;this.endTime=this.startTime=null};D(mh,R);mh.prototype.Zd=function(){this.ja("begin")};mh.prototype.Wc=function(){this.ja("end")};mh.prototype.ja=function(a){this.dispatchEvent(a)};var nh=function(a,b){q(b)||(b=[b]);b=Ba(b,function(a){return r(a)?a:a.ae+" "+a.duration+"s "+a.timing+" "+a.wd+"s"});$c(a,"transition",b.join(","))},oh=Cd(function(){if(I)return tb("10.0");var a;a=document.createElement("DIV");var b=ib?"-webkit":hb?"-moz":I?"-ms":fb?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!xc.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in zc)throw Error("Tag name <div> is not allowed for SafeHtml.");var c=
null,d,e="";if(b)for(d in b){if(!xc.test(d))throw Error('Invalid attribute name "'+d+'".');var f=b[d];if(null!=f){var h;h=d;var k=f;if(k instanceof dc)k=ec(k);else if("style"==h.toLowerCase()){f=void 0;if(!da(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof hc)){var p="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var v=k[f];if(null!=v){if(v instanceof dc)v=
ec(v);else if(jc.test(v)){for(var x=!0,B=!0,z=0;z<v.length;z++){var N=v.charAt(z);"'"==N&&B?x=!x:'"'==N&&x&&(B=!B)}x&&B||(v="zClosurez")}else v="zClosurez";p+=f+":"+v+";"}}k=p?(new hc).Nb(p):ic}k instanceof hc&&k.constructor===hc&&k.uh===gc?f=k.rf:(ba(k),f="type_error:SafeStyle");k=f}else{if(/^on/i.test(h))throw Error('Attribute "'+h+'" requires goog.string.Const value, "'+k+'" given.');if(h.toLowerCase()in yc)if(k instanceof tc)k instanceof tc&&k.constructor===tc&&k.yh===sc?k=k.Vg:(ba(k),k="type_error:TrustedResourceUrl");
else if(k instanceof pc)k instanceof pc&&k.constructor===pc&&k.wh===oc?k=k.Vb:(ba(k),k="type_error:SafeUrl");else if(r(k))f=k,f instanceof pc||(f=f.vb?f.$a():String(f),qc.test(f)||(f="about:invalid#zClosurez"),f=rc(f)),k=f.$a();else throw Error('Attribute "'+h+'" on tag "div" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+k+'" given.');}k.vb&&(k=k.$a());h=h+'="'+ua(String(k))+'"';e+=" "+h}}d="<div"+e;e=void 0;null!=e?q(e)||(e=[e]):e=[];!0===bc.div?d+=">":(c=Bc(e),d+=">"+wc(c)+
"</div>",c=c.Lc());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);b=Ac(d,c);a.innerHTML=wc(b);a=a.firstChild;b=a.style[xa("transition")];return""!=("undefined"!==typeof b?b:a.style[Zc(a,"transition")]||"")});var ph=function(a,b,c,d,e){mh.call(this);this.Fa=a;this.Qh=b;this.xi=c;this.tg=d;this.nj=q(e)?e:[e]};D(ph,mh);g=ph.prototype;g.play=function(){if(1==this.s)return!1;this.Zd();this.ja("play");this.startTime=A();this.s=1;if(oh())return $c(this.Fa,this.xi),this.Y=$f(this.Vi,void 0,this),!0;this.Gf(!1);return!1};g.Vi=function(){id(this.Fa);nh(this.Fa,this.nj);$c(this.Fa,this.tg);this.Y=$f(w(this.Gf,this,!1),1E3*this.Qh)};g.stop=function(){1==this.s&&this.Gf(!0)};
g.Gf=function(a){$c(this.Fa,"transition","");l.clearTimeout(this.Y);$c(this.Fa,this.tg);this.endTime=A();this.s=0;a?this.ja("stop"):this.ja("finish");this.Wc()};g.j=function(){this.stop();ph.l.j.call(this)};g.pause=function(){};var sh=function(a,b,c,d){this.o=a;this.Pa=b;b=id(this.Pa);this.qh=c;this.J=a.document.createElement("div");this.J.style.width=b.width+"px";this.J.style.height=b.height+"px";this.J.style.zIndex=bd(this.Pa,"zIndex");this.J.style.position="absolute";this.J.style.top="0";this.J.style.left="0";this.J.style.backgroundColor="rgba(0, 0, 0, 0)";this.J.style.overflow="hidden";nd(this.J);this.Pa.parentNode.appendChild(this.J);jd(this.J,!0);this.Z=a.document.createElement("div");this.Z.style.width=b.width+"px";
this.Z.style.height=b.height+"px";this.Z.style.position="absolute";this.Z.style.top="0px";this.Z.style.left="0px";this.Z.style.opacity=.7;this.Z.style.backgroundColor="#fff";nd(this.Z);this.J.appendChild(this.Z);jd(this.Z,!1);this.Qf=new ph(this.Z,.5,{opacity:.7},{opacity:0},[{ae:"opacity",duration:.5,timing:"ease-in",wd:0}]);this.We=!0;this.Ba=a.document.createElement("div");this.Ba.style.position="relative";this.Ba.style.height=2*b.height+"px";this.Ba.style.width=2*b.width+"px";nd(this.Ba);this.J.appendChild(this.Ba);
this.ra=a.document.createElement("div");this.ra.style.position="absolute";this.ra.style.margin="auto";this.ra.style.bottom="0";this.ra.style.top="0";this.ra.style.right="0";this.ra.style.left="0";this.ra.style.opacity=.09;this.ra.style.backgroundColor="#000";this.ra.style.borderRadius="50%";nd(this.ra);this.Ba.appendChild(this.ra);this.W=a.document.createElement("div");this.W.style.position="absolute";this.W.style.bottom="5px";this.W.style.right="5px";this.W.style.height="40px";this.W.style.width=
"40px";this.W.style.borderRadius="50%";this.W.style.borderWidth="2px";this.W.style.borderStyle="solid";this.W.style.borderColor="#eee";qh(this);nd(this.W);this.J.appendChild(this.W);jd(this.W,d);this.wa=a.document.createElement("img");this.wa.src=["http:"==this.o.location.protocol?"http:":"https:","//pagead2.googlesyndication.com/pagead/bf/images/diagonal_expand_arrows.svg"].join("");this.wa.style.position="absolute";this.wa.style.margin="auto";this.wa.style.bottom="0";this.wa.style.top="0";this.wa.style.right=
"0";this.wa.style.left="0";this.wa.style.height="40px";this.wa.style.width="40px";nd(this.wa);this.W.appendChild(this.wa);this.fb=a.document.createElement("div");this.fb.style.width=b.width+"px";this.fb.style.height=b.height+"px";this.fb.style.position="absolute";this.fb.style.top="0px";this.fb.style.left="0px";this.fb.style.backgroundColor="rgba(0, 0, 0, 0)";nd(this.fb);this.J.appendChild(this.fb);this.ha=a.document.createElement("div");this.ha.style.width=b.width-20+"px";this.ha.style.height=b.height-
20+"px";this.ha.style.position="absolute";this.ha.style.margin="auto";this.ha.style.top="0px";this.ha.style.left="0px";this.ha.style.right="0px";this.ha.style.bottom="0px";this.ha.style.backgroundColor="rgba(0, 0, 0, 0)";nd(this.ha);this.J.appendChild(this.ha);d=Sc(this.Pa);a=bd(d,"position");if("absolute"!=a&&"fixed"!=a&&"relative"!=a){a=fd(d);c=fd(this.Pa);d.style.position="relative";d=fd(d);var e=fd(this.Pa);Cc(a,d)||rh("overlay-iframe-parent-coords-changed",a,d);Cc(c,e)||rh("overlay-iframe-moved-after-parent-position-changed",
c,e)}a=fd(this.Pa);c=fd(this.J);Cc(a,c)||(rh("overlay-incorrect-after-parent-position-changed",a,c),a=new O(a.x-c.x,a.y-c.y),this.J.style.top=a.y+"px",this.J.style.left=a.x+"px",a=fd(this.Pa),c=fd(this.J),Cc(a,c)||rh("overlay-incorrect-after-offset",a,c));b=.95*Math.max(b.width,b.height);this.ke=new ph(this.ra,.4,{height:"15px",width:"15px"},{height:b+"px",width:b+"px"},[{ae:"height",duration:.4,timing:"ease-out",wd:0},{ae:"width",duration:.4,timing:"ease-out",wd:0}]);L(this.ke,"end",w(this.si,this),
!1);this.ke.stop();jd(this.Ba,!1)};D(sh,J);var rh=function(a,b,c){qf(a,{x1:b.x,y1:b.y,x2:c.x,y2:c.y})},qh=function(a){a.W.style.backgroundColor="#999"};sh.prototype.si=function(){this.ke.stop();jd(this.Ba,!1);this.We||(this.We=!0,this.Qf.play(!0))};sh.prototype.j=function(){Q(this.ha);Q(this.ra);Q(this.Ba);Q(this.Z);Q(this.J);Q(this.wa);Q(this.W)};var th=function(a,b,c,d){this.Hf=c;this.kb=new sh(a,b,ih("overlay_touch_ripple"),ih("overlay_expand_icon"));this.u=d;this.Ec=new fh(this.kb.fb,!1);this.Gc=new fh(this.kb.ha,!1);this.Xf=new hh(this.Ec);this.ag=new hh(this.Gc);this.H=[L(this.Gc,"singletouchstart",this.Kd,!1,this),L(this.Gc,"singletouchend",this.Jd,!1,this),L(this.Gc,"singletouchcancel",this.Id,!1,this),L(this.Ec,"singletouchstart",this.Kd,!1,this),L(this.Ec,"singletouchend",this.Jd,!1,this),L(this.Ec,"singletouchcancel",this.Id,!1,
this),L(this.Xf,"singletouchtap",this.fi,!1,this),L(this.ag,"singletouchtap",this.gi,!1,this)]};D(th,J);var uh=function(a){for(var b=0;b<a.H.length;b++)M(a.H[b]);a.H=[]};g=th.prototype;g.gi=function(){uh(this);this.Hf();W(this.u,"external-center-tap",{},1)};g.fi=function(){W(this.u,"external-border-tap",{},1)};
g.Kd=function(a){var b=this.kb;a=new O(a.jb.clientX,a.jb.clientY);if(b.qh){var c=id(b.Pa),d=fd(b.Pa);dd(b.Ba,a.x-d.x-c.width,a.y-d.y-c.height);jd(b.Ba,!0);b.ke.play(!0)}else jd(b.Ba,!1);b=this.kb;b.qh?(b.We=!1,b.Qf.stop(),jd(b.Z,!0),b.Z.style.opacity=.7):jd(b.Z,!1);this.kb.W.style.backgroundColor="#4285F4"};g.Jd=function(){qh(this.kb)};g.Id=function(){qh(this.kb)};g.j=function(){uh(this);this.kb.dispose();this.Gc.dispose();this.Ec.dispose();this.ag.dispose();this.Xf.dispose()};var vh={},wh=null,xh=function(a){a=ga(a);delete vh[a];Ua(vh)&&wh&&wh.stop()},zh=function(){wh||(wh=new ag(function(){yh()},20));var a=wh;a.wb()||a.start()},yh=function(){var a=A();Qa(vh,function(b){Ah(b,a)});Ua(vh)||zh()};var Bh=function(a,b,c,d){mh.call(this);if(!q(a)||!q(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.hd=a;this.Rh=b;this.duration=c;this.Of=d;this.coords=[];this.tj=!1;this.Aa=0};D(Bh,mh);
Bh.prototype.play=function(a){if(a||0==this.s)this.Aa=0,this.coords=this.hd;else if(1==this.s)return!1;xh(this);this.startTime=a=A();-1==this.s&&(this.startTime-=this.duration*this.Aa);this.endTime=this.startTime+this.duration;this.Aa||this.Zd();this.ja("play");-1==this.s&&this.ja("resume");this.s=1;var b=ga(this);b in vh||(vh[b]=this);zh();Ah(this,a);return!0};Bh.prototype.stop=function(a){xh(this);this.s=0;a&&(this.Aa=1);Ch(this,this.Aa);this.ja("stop");this.Wc()};
Bh.prototype.pause=function(){1==this.s&&(xh(this),this.s=-1,this.ja("pause"))};Bh.prototype.j=function(){0==this.s||this.stop(!1);this.ja("destroy");Bh.l.j.call(this)};
var Ah=function(a,b){b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.Aa=(b-a.startTime)/(a.endTime-a.startTime);1<a.Aa&&(a.Aa=1);Ch(a,a.Aa);1==a.Aa?(a.s=0,xh(a),a.ja("finish"),a.Wc()):1==a.s&&a.jf()},Ch=function(a,b){u(a.Of)&&(b=a.Of(b));a.coords=Array(a.hd.length);for(var c=0;c<a.hd.length;c++)a.coords[c]=(a.Rh[c]-a.hd[c])*b+a.hd[c]};Bh.prototype.jf=function(){this.ja("animate")};Bh.prototype.ja=function(a){this.dispatchEvent(new Dh(a,this))};
var Dh=function(a,b){Ab.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.Aa=b.Aa;this.state=b.s};D(Dh,Ab);var Eh=function(a,b,c,d,e){Bh.call(this,b,c,d,e);this.element=a};D(Eh,Bh);Eh.prototype.pe=n;Eh.prototype.jf=function(){this.pe();Eh.l.jf.call(this)};Eh.prototype.Wc=function(){this.pe();Eh.l.Wc.call(this)};Eh.prototype.Zd=function(){this.pe();Eh.l.Zd.call(this)};var Fh=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Eh.apply(this,arguments)};D(Fh,Eh);
Fh.prototype.pe=function(){var a;if(a=this.tj)m(this.ah)||(this.ah="rtl"==bd(this.element,"direction")),a=this.ah;this.element.style[a?"right":"left"]=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};var Gh=function(a){return 1-Math.pow(1-a,3)};var Hh=function(a){var b=a.document,c;try{var d,e=a.document;d="CSS1Compat"==e.compatMode?e.documentElement:e.body;c=new P(d.clientWidth,d.clientHeight)}catch(f){c=new P(-12245933,-12245933)}return new P(Math.max(c.width,Math.max(b.body.scrollWidth,b.documentElement.scrollWidth)),Math.max(c.height,Math.max(b.body.scrollHeight,b.documentElement.scrollHeight)))};var Ih=function(){J.call(this);this.rc=this.na=null;var a=window;this.fd=!(!a.history||!a.history.pushState)&&"null"!=F.location.origin&&!mb&&!lb};D(Ih,J);var Jh=function(a){null===a.na?50<=F.history.length?a.fd=!1:(a.na={state:F.history.state,title:F.document.title,href:F.location.href,Gi:F.history.length},F.history.replaceState({view:"expanded"},""),F.history.pushState({},"")):(V("history-cleanup-error",null,.01),a.fd=!1)};
Ih.prototype.cg=function(){var a=F.history;if(null!==a.state&&null!==a.state.view&&null!==this.na&&"expanded"==a.state.view)return F.history.replaceState(this.na.state,this.na.title,this.na.href),this.na=null,!0;V("browser-history-error",{prevLen:this.na?this.na.Gi:0,currLen:a.length,prevState:!!this.na,currState:!!a.state,currView:a.state?a.state.view:""},.01);return this.fd=!1};Ih.prototype.j=function(){this.na=null;M(this.rc)};var Lh=function(a,b){R.call(this);this.Ce=[];this.sj=!!b;this.Kb=new bg(this);this.Bi=window.parent!=window;if(a)if(q(a))for(b=0;b<a.length;b++)Kh(this,a[b].U);else Kh(this,a.U);else Kh(this,Jc().U);this.Cg=A()};D(Lh,R);Lh.prototype.Kg=0;var Mh=["click","dblclick","mousedown","mousemove","mouseup"],Nh=["touchend","touchmove","touchstart"],Oh=["keydown","keyup"];Lh.prototype.j=function(){Lh.l.j.call(this);this.Kb.dispose();this.Kb=null;delete this.Ce};
var Kh=function(a,b){if(!Ea(a.Ce,b)){a.Ce.push(b);var c=!a.sj,d=Fa(Oh,Mh);a.Bi||Ia(d,Nh);a.Kb.eb(b,d,a.ii,c)}};Lh.prototype.ii=function(a){var b=!1;switch(a.type){case "mousemove":if("number"==typeof this.Eg&&this.Eg!=a.clientX||"number"==typeof this.Fg&&this.Fg!=a.clientY)b=!0;this.Eg=a.clientX;this.Fg=a.clientY;break;default:b=!0}b&&Ph(this)};Lh.prototype.Zg=function(){Ph(this)};var Ph=function(a){var b=A();a.Cg=b;b>a.Kg&&(a.dispatchEvent("activity"),a.Kg=b+3E3)};var Th=function(a,b){R.call(this);b||(Qh.add(this),null==Rh&&(Rh=new Lh),b=Rh);this.vi=a;this.ve=b;this.Gh=w(this.Si,this);Sh(this)};D(Th,R);Th.prototype.Ve=!1;var Rh=Th.prototype.Vc=null,Qh=new Ld,Sh=function(a){var b=a.vi+1-(A()-a.ve.Cg);0<b?a.Vc=$f(a.Gh,b):(L(a.ve,"activity",a.Ng,!1,a),a.Ve=!0,a.dispatchEvent("idle"))};Th.prototype.Si=function(){this.Vc=null;Sh(this)};Th.prototype.Ng=function(){Uh(this);this.dispatchEvent("active");Sh(this)};
var Uh=function(a){a.Ve&&(Wb(a.ve,"activity",a.Ng,!1,a),a.Ve=!1)};Th.prototype.j=function(){Uh(this);null!=this.Vc&&(l.clearTimeout(this.Vc),this.Vc=null);Qh.remove(this);null!=Rh&&Qh.Pc()&&(Rh.dispose(),Rh=null);Th.l.j.call(this)};var Vh=function(a){this.u=a;this.H=[];this.Nd=new Th(5E3);this.H.push(L(this.Nd,"idle",this.ei,!1,this));this.H.push(L(this.Nd,"active",this.di,!1,this))};D(Vh,J);Vh.prototype.ei=function(){W(this.u,"become-idle-on-pub",{},1)};Vh.prototype.di=function(){W(this.u,"become-active-on-pub",{},1)};Vh.prototype.j=function(){for(var a=0;a<this.H.length;a++)M(this.H[a]);this.H=[];null!=this.Nd&&this.Nd.dispose()};var Xh=function(a,b){this.cc=new O(0,0);this.pa=null;this.Uf=!1;null!==b&&(this.pa=a.document.createElement("div"),this.pa.style.setProperty("height","1px","important"),this.pa.style.setProperty("width","1px","important"),this.pa.style.setProperty("visibility","hidden","important"),this.pa.style.setProperty("position","fixed","important"),Wh(this),b.appendChild(this.pa))};D(Xh,J);
var Wh=function(a){a.pa.style.setProperty("top",a.cc.y+"px","important");a.pa.style.setProperty("left",a.cc.x+"px","important")},Yh=function(a){a=a.pa.getBoundingClientRect();return 1E-6>=Math.abs(a.top-0)&&1E-6>=Math.abs(a.left-0)},Zh=function(a,b){if(null!==a.pa&&!Yh(a)){var c=a.pa.getBoundingClientRect();a.cc.y-=c.top;a.cc.x-=c.left;Wh(a);Yh(a)||a.Uf||(a.Uf=!0,V("could-not-position-at-viewport-origin"))}a=a.cc;return new O(b.x+a.x,b.y+a.y)};Xh.prototype.j=function(){Q(this.pa);this.pa=null};var ai=function(a,b,c,d){J.call(this);this.o=a;this.u=b;this.hh=c;this.Kh=d;this.Gb=null;this.jh=0;this.H=[];this.mc=Mc(this.o);this.eg=this.xc=this.qa=this.pb=this.Ra=this.w=this.I=this.ca=this.If=this.ge=null;this.Wg=[{type:"multiple-choice",title:"",La:"Test Question",Qa:{0:"Option 1",1:"Option 2"},Ua:!1},{type:"multiple-choice",title:"",La:"Did you intend to open this ad?",Qa:{0:"Yes",1:"No"},Ua:!0},{type:"stars-rating",title:"Survey powered by",La:"Rate your experience with this ad",Qa:{},Ua:!1},
{type:"multiple-choice",title:"",La:"Which one of these best describes your experience with the ad?",Qa:{0:"The ad accidentally expanded",1:"The ad was broken",2:"I liked the layout",3:"I found the ad relevant",4:"Other"},hj:!0,Ua:!0},{type:"multiple-choice",title:"Survey powered by",La:"Describe your experience with the ad:",Qa:{0:"I intended to expand the ad",1:"I did not intend to expand the ad"},Ua:!0},{type:"multiple-choice",title:"Survey powered by",La:"",Qa:{0:"I intentionally expanded the ad",
1:"I accidentally expanded the ad"},Ua:!0},{type:"multiple-choice",title:"Survey powered by",La:"",Qa:{0:"The ad was broken",1:"The ad worked correctly"},Ua:!0},{type:"multiple-choice",title:"",La:"How much time did you spend on the previous ad?",Qa:{0:"More than 5 minutes",1:"Less than 5 minutes"},Ua:!0},{type:"multiple-choice",title:"",La:"What is the current year?",Qa:{0:"2015",1:"1988"},Ua:!0},{type:"multiple-choice",title:"",La:"What is the current year?",Qa:{0:"2015",1:"1988",2:"1862",3:"2020",
4:"2012"},Ua:!0}];ld(nc($h),this.o.document)};D(ai,J);
var $h=fc("#goog-ea-survey-overlay{all:initial;background-color:#fff;position:fixed;"),bi=fc('@import url(//fonts.googleapis.com/css?family=Roboto&lang=en);body{font-family:"Roboto",Arial,sans-serif;margin:0}#header{background-color:#4285f4;display:table}#close-button{color:#3367d6;cursor:pointer;font-size:24pt;float:right;height:42px;position:absolute;right:0;text-align:center;width:42px}#title{color:#fff;cursor:default;float:left;font-size:11pt;font-weight:bold;margin-top:25px;margin-left:20px;margin-right:7px}#logo{height:20px;margin-top:25px}#content-box{background-color:#f6f6f6;cursor:default;display:table}.answers{display:table-cell;position:relative;text-align:center;vertical-align:middle}#question{color:#fff;display:table-cell;font-size:12pt;padding-right:50px;padding-left:50px;position:relative;text-align:center;vertical-align:middle}#question-inner{color:#9e9e9e;font-size:11pt;padding-bottom:20px}#stars{direction:rtl;unicode-bidi:bidi-override}.star{font-size:25pt;position:relative;width:1.1em;color:#bdbdbd;cursor:default}.star:hover,.star:hover~span{color:#ffd700}.answer-button{background-color:#ebebeb;border-radius:3px;cursor:pointer;margin-left:50px;margin-right:50px;margin-bottom:12px;padding-left:20px;padding-right:20px}.answer-button:hover{background-color:#dedede}.answer-button.raised{box-shadow:0 2px 5px 0 rgba(0,0,0,0.26);transition:box-shadow .2s cubic-bezier(.4,0,.2,1);transition-delay:.2s}.answer-button.raised:active{box-shadow:0 rgba(0,0,0,0.2);transition-delay:0s}.answer{cursor:pointer;display:inline-block;font-size:10pt;margin:8px}.stars-label{color:#9e9e9e;font-size:10pt}'),ci=
function(a){return null!==a.I&&"visible"==a.I.style.visibility},di=function(a,b,c){var d=mf(a.o);return Zh(a.Gb,new O((d.width-b)/2,(d.height-c)/2))};
ai.prototype.Zi=function(){if(null!=this.o.document.getElementById("goog-ea-survey-overlay")){ld(nc(bi),this.I.contentDocument);this.ca=new Hc(this.I.contentDocument);this.Ra=this.ca.createElement("div");this.Ra.id="header";this.ca.appendChild(this.I.contentDocument.body,this.Ra);this.pb=this.ca.createElement("div");this.pb.id="content-box";this.ca.appendChild(this.I.contentDocument.body,this.pb);this.gh();this.H.push(L(this.o,"resize",this.Oc,!1,this));var a=kh();if(0>a||a>this.Wg.length-1)a=0;var b=
this.Wg[a];if("multiple-choice"==b.type)ei(this,a,b.La,b.Qa,b.hj,b.title,b.Ua,b.type);else if("stars-rating"==b.type){var c=b.La,d=b.title,b=b.type;this.qa=this.ca.createElement("div");this.qa.className="answers";this.qa.id="stars";this.pb.appendChild(this.qa);var e=this.ca.createElement("div");e.textContent=c.toUpperCase();e.id="question-inner";this.qa.appendChild(e);W(this.u,"survey-created",ab(["questionIndex",a,"questionType",b]),1);for(c=5;0<c;c--)b=this.ca.createElement("span"),b.textContent=
"\u2605",b.className="star",this.qa.appendChild(b),e=ab(["questionIndex",a,"answerId",c]),this.H.push(L(b,"click",y(this.xg,e),!1,this));0==d.length||fi(this,d)}this.jh++;null===this.Gb&&(this.Gb=new Xh(this.o,this.I.parentElement))}else tf(this.u,"survey-iframe-not-created",{},1)};
ai.prototype.gh=function(){this.xc||(this.xc=Oc("DIV",{textContent:"\u00d7",id:"close-button"}),this.xc.style.zIndex=1E6,this.Ra.appendChild(this.xc),this.H.push(L(this.xc,"click",function(){W(this.u,"survey-closed",{},1);gi(this)},!1,this)))};
var ei=function(a,b,c,d,e,f,h,k){a.qa=a.ca.createElement("div");a.qa.className="answers";a.pb.appendChild(a.qa);0==c.length||0==f.length?0==c.length?0==f.length||fi(a,f):(f=a.ca.createElement("div"),f.textContent=c,f.id="question",a.Ra.appendChild(f)):(fi(a,f),f=a.ca.createElement("div"),f.textContent=c,f.id="question-inner",a.qa.appendChild(f));c=Ba(Ta(d),function(a){return parseInt(a,10)});h&&La(c);null!=e&&e&&(e=c.length-1,Ka(c,c.indexOf(e),e));e=c.toString().replace(/,/g,"-");W(a.u,"survey-created",
ab(["questionIndex",b,"questionType",k,"answerOrder",e]),1);G(c,function(a,b){var c=this.ca.createElement("div");c.className="answer-button raised";this.qa.appendChild(c);var e=this.ca.createElement("div");e.textContent=d[a];e.className="answer";c.appendChild(e);a=ab(["answerId",a,"answerIndex",b]);this.H.push(L(c,"click",y(this.xg,a),!1,this))},a)},fi=function(a,b){var c=a.ca.createElement("div");c.textContent=b;c.id="title";a.Ra.appendChild(c);"Survey powered by"==b&&(b=a.ca.createElement("img"),
b.src="//pagead2.googlesyndication.com/pagead/bf/images/google_white_logo.png",b.id="logo",a.Ra.appendChild(b))};ai.prototype.xg=function(a){W(this.u,"survey-response",a,1);gi(this)};var gi=function(a){l.clearTimeout(a.eg);null!=a.ge&&(a.If=A()-a.ge,W(a.u,"survey-duration",{duration:a.If},1));Rc(a.I);Q(a.I);a.I=null;a.xc=null;a.w=null;a.Ra=null;a.pb=null;a.qa=null;a.ge=null;a.If=null;a.hh();1<=a.jh&&a.Kh()};
ai.prototype.Oc=function(){var a=Mc(this.o);Ec(this.mc,a)||(this.mc=a,ci(this)&&(a=di(this,this.I.clientWidth,this.I.clientHeight),dd(this.I,a.x,a.y)),null!=this.w&&(a=Hh(this.o),gd(this.w,a.width,a.height)))};ai.prototype.j=function(){G(this.H,function(a){M(a)},this);this.H=[];ai.l.j.call(this)};if(E&&E.URL){var hi=!Se(E.URL);We.Df=hi};var ii=function(a,b){this.Ca=a||0;this.sa=b||""};ii.prototype.match=function(a){return(this.Ca||this.sa)&&(a.Ca||a.sa)?this.sa||a.sa?this.sa==a.sa:this.Ca||a.Ca?this.Ca==a.Ca:!1:!1};ii.prototype.toString=function(){var a=""+this.Ca;this.sa&&(a+="-"+this.sa);return a};
var ji=function(a){var b=[];Qa(a,function(a,d){d=encodeURIComponent(d);r(a)&&(a=encodeURIComponent(a));b.push(d+"="+a)});b.push("24="+(new Date).getTime());return b.join("\n")},ki=0,li=0,mi=function(a){var b=0,c=F;try{if(c&&c.Goog_AdSense_getAdAdapterInstance)return c}catch(e){}var d=c.location&&c.location.ancestorOrigins;if(m(d)&&(!d||!d.length))return null;for(;c&&5>b;){try{if(c.google_osd_static_frame)return c}catch(e){}try{if(c.aswift_0&&c.aswift_0.google_osd_static_frame)return c.aswift_0}catch(e){}b++;
c=a?0<c.location.ancestorOrigins.length&&c.location.origin==c.location.ancestorOrigins[0]?c.parent:null:c!=c.parent?c.parent:null}return null},ni=function(a,b,c,d,e,f,h){h=h||n;if(10<li)F.clearInterval(ki),h();else if(++li,F.postMessage&&(b.Ca||b.sa)){if(f=mi(f)){h={};b.Ca&&(h[4]=b.Ca);b.sa&&(h[12]=b.sa);h[0]="goog_request_monitoring";h[6]=a;h[16]=c;d&&d.length&&(h[17]=d.join(","));e&&(h[19]=e);try{var k=ji(h);f.postMessage(k,"*")}catch(p){}}}else F.clearInterval(ki),h()};var pi=function(a){var b=oi;return function(){var c=this||l,c=c.closure_memoize_cache_||(c.closure_memoize_cache_={}),d=b(ga(a),arguments);return c.hasOwnProperty(d)?c[d]:c[d]=a.apply(this,arguments)}},oi=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\x0B")};var qi=function(a){R.call(this);this.ua=a||Jc();if(this.qg=this.bi())this.Wh=L(this.ua.U,this.qg,w(this.hi,this))};D(qi,R);g=qi.prototype;g.bi=pi(function(){var a=this.isSupported(),b="hidden"!=this.Fd();return a?b?((Wc()||"")+"visibilitychange").toLowerCase():"visibilitychange":null});g.Fd=pi(function(){return Xc("hidden",this.ua.U)});g.ci=pi(function(){return Xc("visibilityState",this.ua.U)});g.isSupported=function(){return!!this.Fd()};
g.hi=function(){var a=this.isSupported()?this.ua.U[this.ci()]:null,a=new ri(!!this.ua.U[this.Fd()],a);this.dispatchEvent(a)};g.j=function(){M(this.Wh);qi.l.j.call(this)};var ri=function(a,b){Ab.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};D(ri,Ab);var si=null,ti=!1,wi=function(a,b,c){var d=F.mraid;d&&d.addEventListener?(d.addEventListener("viewableChange",w(a,b)),yb(b,function(){d.removeEventListener&&d.removeEventListener("viewableChange",w(a,b))})):c?(ti=!0,c=y(ui,w(a,b),b),$d(b,L(F,"i-creative-view",c,!1))):$d(b,L(vi(),"visibilitychange",a,!1,b))},ui=function(a,b){ti=!1;a(!0);$d(b,L(vi(),"visibilitychange",a,!1,b))},xi=function(){var a=F.mraid;a&&a.isViewable?a=!a.isViewable():(a=ti)||(a=vi(),a=!!a.ua.U[a.Fd()]);return a},vi=function(){null===
si&&(si=new qi);return si},yi=function(a,b,c){if(c.data){var d=c.data;if(r(d)){c={};for(var d=d.split("\n"),e=0;e<d.length;e++){var f=d[e].indexOf("=");if(!(0>=f)){var h=Number(d[e].substr(0,f)),f=d[e].substr(f+1);switch(h){case 5:case 8:case 11:case 15:case 16:case 18:f="true"==f;break;case 4:case 7:case 6:case 14:case 20:case 21:case 22:case 23:case 24:case 25:f=Number(f);break;case 3:case 19:if(u(decodeURIComponent))try{f=decodeURIComponent(f)}catch(k){throw Error("Error: URI malformed: "+f);}break;
case 17:f=Ba(decodeURIComponent(f).split(","),Number)}c[h]=f}}c=c[0]?c:null}else c=null;if(c&&(d=new ii(c[4],c[12]),a&&a.match(d)&&"goog_update_data"==c[0])){a={pd:c[7]};if(c=c[9])c=c.split("-"),4==c.length&&(a.Hb=new Yc(wa(c[0]),wa(c[3]),wa(c[2]),wa(c[1])));b(a)}}};var zi=function(a,b,c,d,e,f,h,k){this.v=a;this.o=b;this.u=h;this.K=c.clone();this.mc=Mc(this.o);this.Hf=d;this.Hc=e;this.Rg=f;this.H=[];this.A=new ef;this.te=.3;this.Gb=this.V=this.sb=this.w=null;this.Gb=new Xh(this.o,this.v.parentElement);this.Cd=null;this.X=k},Ai=function(a,b,c){var d=mf(a.o,!0),e=d.width/2-c.width/2,d=d.height/2-c.height/2;S(a.A,a.v,"left",0);S(a.A,a.v,"top",0);var f=a.K.width/2-c.width/2;c=a.K.height/2-c.height/2;e=Math.max(0,e-f)+f;d=Math.max(0,d-c)+c;U()?(e-=b.x,b=d-b.y):b=
d;b=new O(Math.floor(e),Math.floor(b));U()||(b=Zh(a.Gb,b));return b};zi.prototype.Oc=function(){var a=Mc(this.o);Ec(this.mc,a)||(this.mc=a,Bi(this),this.N()&&this.Rg&&(W(this.u,"responsive-callback-triggered"),this.Rg()));null!=this.w&&(a=Hh(this.o),this.w.style.setProperty("width",a.width+"px","important"),this.w.style.setProperty("height",a.height+"px","important"),W(this.u,"viewport-resized",{oldWidth:this.w.width,oldHeight:this.w.height,newWidth:a.width,newHeight:a.height}))};
var Bi=function(a){if(a.N()){var b=fd(Sc(a.v)),b=Ai(a,b,a.K);S(a.A,a.v,"left",b.x+"px","important");S(a.A,a.v,"top",b.y+"px","important");Ci(a,b.x,b.y)}};zi.prototype.N=function(){return null!=this.w};var Ei=function(a){a.sb&&1==a.sb.s&&(Xb(a.sb),a.sb.stop());G(a.H,function(a){M(a)},a);a.H=[];!a.N()||null!==a.X&&ci(a.X)||a.Xg();a.V&&Q(a.V);Di(a);hf(a.A)};zi.prototype.Xg=function(){Q(this.w);this.X=this.w=null};var Di=function(a){null!=a.Cd&&(a.Cd.dispose(),a.Cd=null)};
zi.prototype.wg=function(){this.Hc();if(0<=kh()&&null!=this.X){var a=this.X;if(null!==a.I){var b;b=mf(a.o);var c=Math.max(250,a.qa.clientHeight+120),d=Math.min(.95*b.width,350);U()&&310<=b.width&&(d=Math.max(d,300));b=new P(d,c);c=di(a,b.width,b.height);gd(a.I,b.width,b.height);dd(a.I,c.x,c.y);null===a.Ra||gd(a.Ra,b.width,60);null===a.pb||gd(a.pb,b.width,b.height-60)}a.I.style.visibility="visible";a.ge=A();b=jh(/^survey_close_button_(\d+)$/);0<=b&&(a.eg=$f(a.gh,b,a))}};
zi.prototype.Yi=function(a){var b,c=this.v;b=new O(c.offsetLeft,c.offsetTop);c=b.x-Math.ceil(this.K.width/2-a.width/2);a=b.y-Math.ceil(this.K.height/2-a.height/2);S(this.A,this.v,"width",this.K.width+"px","important");S(this.A,this.v,"height",this.K.height+"px","important");S(this.A,this.v,"left",c+"px","important");S(this.A,this.v,"top",a+"px","important");Ci(this,c,a);this.H.push(L(this.o,"resize",Dd(this.Oc,this),!1,this));u(this.o.document.elementFromPoint)&&(a=fd(this.v),c=id(this.v),this.o.document.elementFromPoint(a.x+
c.width/2,a.y+c.height/2)!=this.v&&tf(this.u,"lightbox-behind-content",{url:this.o.document.location.href,e:kf().JS_EXPERIMENT_LABELS}));xi()&&tf(this.u,"lightbox-not-in-focus",{url:this.o.document.location.href});ih("log_idle_on_pub")&&(Di(this),this.Cd=new Vh(this.u));this.Hf(this.K)};
var Ci=function(a,b,c){if(!a.V){var d="http:"==F.location.protocol?"http:":"https:";a.V=a.o.document.createElement("img");a.V.src=[d,"//pagead2.googlesyndication.com/pagead/bf/images/close_circle.png"].join("");d=a.v;d.parentNode&&d.parentNode.insertBefore(a.V,d);nf(a.V);a.V.style.setProperty("outline","none","important");S(a.A,a.V,"zIndex",1E6,"important");a.V.style.setProperty("width","42px","important");a.V.style.setProperty("height","42px","important");a.H.push(L(a.V,"click",y(a.wg,"close-button"),
!1,a))}b=b+a.K.width-21;c-=21;d=Hh(a.o);a.K.width+42>d.width&&(b-=(a.K.width+42-d.width)/2);a.V.style.setProperty("position",bd(a.v,"position"),"important");a.V.style.setProperty("left",b+"px","important");a.V.style.setProperty("top",c+"px","important");jd(a.V,!0)};var Fi=function(a,b,c){a=Sc(a);var d=Sc(a),e=Sc(d),f=a;lf(a)&&d&&lf(d)&&((f=e)&&lf(e)&&Ze(e,"adsbygoogle")&&(f=Sc(e)),b||(a&&gf(c,a),gf(c,d),f==Sc(e)&&e&&gf(c,e)));for(a=f;a&&a.style&&!/^body$/i.test(a.nodeName);a=Sc(a))b&&!U()||"visible"==a.style.overflow||S(c,a,"overflow","visible"),b&&("visible"!=a.style.overflow&&(S(c,a,"overflow-x","visible","important"),S(c,a,"overflow-y","visible","important")),S(c,a,"zIndex",999999,"important"),d=bd(a,"position"),"absolute"!=d&&"fixed"!=d&&"relative"!=d&&
(S(c,a,"position","relative","important"),S(c,a,"left",0),S(c,a,"top",0),S(c,a,"right",0),S(c,a,"bottom",0)))};var Gi=function(a,b,c,d,e){this.N=!1;this.Rf=a;this.o=d;this.Wf=e;this.rj=b;this.M=c.clone();this.A=new ef;this.He=this.Ke=this.Ie=this.af=this.Td=this.Qb=this.Pb=null;this.Le=!1;this.Be=0;this.Qd=this.yg=!1;this.u=new rf;this.ih=!1;this.X=null};Gi.prototype.Pd=function(){return this.ab};Gi.prototype.isExpanded=function(){return this.N};Gi.prototype.Gd=function(){return this.rj};Gi.prototype.collapse=function(){Hi(this)&&(this.Pb&&(Ei(this.Pb),this.Pb=null),hf(this.A),this.ab=this.N=!1)};
var Ii=function(a,b,c){S(a.A,b,"width",c.width+"px",void 0);S(a.A,b,"height",c.height+"px",void 0);gf(a.A,b)},Ji=function(a){var b=[],c=Hi(a);if(!c)return b;b.push(c);a.o&&a.Wf&&b.push(a.o.document.getElementById(a.Wf));return b};
Gi.prototype.expand=function(a,b){var c=Ji(this);if(!(0>=c.length)){for(var d=0,e=c.length;d<e;++d)Ii(this,c[d],a);c=c[c.length-1];a.width>this.M.width&&(0==b||3==b)&&S(this.A,c,"left",this.M.width-a.width+"px",void 0);a.height>this.M.height&&(1==b||0==b)&&S(this.A,c,"top",this.M.height-a.height+"px",void 0);Fi(c,!1,this.A);this.N=!0}};
Gi.prototype.resize=function(a){var b=Ji(this);if(!(0>=b.length)){for(var c=b.length,d=0;d<c;++d)gd(b[d],a);b=b[c-1].parentNode;c=b.parentNode;d=c.parentNode;lf(b)&&c&&lf(c)&&(gd(b,a),gd(c,a),d&&d&&lf(d)&&Ze(d,"adsbygoogle")&&gd(d,a));this.Qb=a;this.Qd&&this.Pb&&(b=this.Pb,b.K=a.clone(),Bi(b))}};
var Ki=function(a){if(a.Qb)a=a.Qb;else{a=mf(a.o||F,!0);var b=new P(Math.max(0,a.width-Math.max(Math.ceil(.1*a.width),42)),Math.max(0,a.height-Math.max(Math.ceil(.2*a.height),42)));U()&&310<=a.width&&(b.width=Math.max(b.width,300));a=b}return a},Mi=function(a,b,c,d,e){var f;if((F.CREATIVE_TOOLSET_PREVIEW_PARAMS||{}).ENABLE_OUT_OF_FOCUS_EXPANSION)f=!1;else{f=!1;var h=a.o||F;u(h.document.hasFocus)&&!h.document.hasFocus()&&(W(a.u,"document-not-in-focus"),f=!0);xi()&&(W(a.u,"document-is-hidden"),f=!0)}if(f)d();
else if(!(a.ab||a.N||(a.ab=!0,a.yg||(Li(a),f=Ji(a),0>=f.length)))){f=f[f.length-1];h=a.o||F;a.Td=c;a.af=d;a.Qb=b.clone();0<=kh()&&null===a.X&&!a.ih&&(a.ih=!0,a.X=new ai(h,a.u,n,w(a.Lh,a)));a.Pb=new zi(f,h,a.Qb,w(a.Yh,a),w(a.Mh,a),w(a.Oc,a,e),a.u,a.X);Fi(f,!0,a.A);a=a.Pb;a.w=a.o.document.createElement("div");b=a.v;b.parentNode&&b.parentNode.insertBefore(a.w,b);nf(a.w);b=Hh(a.o);a.w.style.setProperty("width",b.width+"px","important");a.w.style.setProperty("height",b.height+"px","important");a.w.style.setProperty("position",
"fixed","important");S(a.A,a.w,"zIndex",999998,"important");a.w.style.setProperty("opacity","0.7","important");b=new O(0,0);b=Zh(a.Gb,b);a.w.style.setProperty("left",b.x+"px","important");a.w.style.setProperty("top",b.y+"px","important");a.w.style.setProperty("background-color","#666","important");a.w.id="goog-lb-overlay";a.H.push(L(a.w,"click",y(a.wg,"background-overlay"),!1,a));S(a.A,a.v,"zIndex",999999,"important");null!=a.X&&(a.X.w=a.w);$c(a.v,"outline","none");b=id(a.v);S(a.A,a.v,"width",b.width+
"px","important");S(a.A,a.v,"height",b.height+"px","important");e=fd(Sc(a.v));U()||(e=Zh(a.Gb,e));c=Ai(a,e,b);a.mc=Mc(a.o);U()?(e=d=0,S(a.A,a.v,"position","absolute","important"),a.v.parentNode&&S(a.A,a.v.parentNode,"position","relative","important")):(d=e.x,e=e.y,S(a.A,a.v,"position","fixed","important"));a:{f=kf();if(null==f.SAMPLE_VIEWPORT_SIZES){if(U()&&!ue(.05)||!U()&&!ue(.01))break a}else if(!f.SAMPLE_VIEWPORT_SIZES)break a;f=Mc(a.o);h=mf(a.o);W(a.u,"viewport",{event:"lbstart",ew:a.K.width,
eh:a.K.height,lw:f.width,lh:f.height,vw:h.width,vh:h.height},1)}oh()?a.sb=new ph(a.v,a.te,{left:d+"px",top:e+"px"},{left:c.x+"px",top:c.y+"px"},[{ae:"all",duration:a.te,timing:"ease-out",wd:0}]):a.sb=new Fh(a.v,[d,e],[c.x,c.y],1E3*a.te,Gh);L(a.sb,"end",w(a.Yi,a,b),!1);a.sb.play();null!=a.X&&(b=w(a.Xg,a),a.X.hh=b,a=a.X,a.I=a.o.document.createElement("iframe"),a.I.style.visibility="hidden",a.I.style.zIndex=1E6,a.I.id="goog-ea-survey-overlay",a.o.document.body.appendChild(a.I),$f(a.Zi,200,a))}};
Gi.prototype.Oc=function(a){this.Qd&&(this.Qb=null,a())};Gi.prototype.Lh=function(){this.X.dispose();this.X=null};Gi.prototype.gd=function(a,b){if(!this.Le){this.Le=!0;var c=Ji(this),c=0>=c.length?null:c[c.length-1],d=this.o||F;d&&c?(this.Ie=a,this.Ke=b,w(this.ji,this),a=w(this.ki,this),ih("external_overlay")||tf(this.u,"unknown-external-notifier"),a=new th(d,c,a,this.u),this.He=a):tf(this.u,"external-notifier-invalid-iframe-or-win")}};
var Li=function(a){null!==a.He&&(clearTimeout(a.Be),a.Be=0,a.He.dispose(),a.Ie=null,a.Ke=null,a.Le=!1)};g=Gi.prototype;g.ki=function(){this.Ke();this.Be=setTimeout(w(this.ui,this),3E3)};g.ui=function(){this.yg=!0;Li(this);W(this.u,"dispose-external-notifier-timeout",{},1)};g.ji=function(){this.Ie()};g.Yh=function(a){if(this.ab){this.N=!0;this.ab=!1;var b=Ji(this);1<b.length&&Ii(this,b[0],a);this.Td&&(this.Td(),this.Td=null)}};g.Mh=function(){this.Qb=null;this.N||this.collapse();this.af&&this.af()};
var Ni=function(a,b){var c=Ji(a),d=fd(c[c.length-1]),e=Mc(a.o||F),c=d.y,f=e.height-(d.y+a.M.height),c=b.height-a.M.height>c||f>=c,f=d.x,d=e.width-(d.x+a.M.width);a=b.width-a.M.width>f||d>=f;b=2;c&&!a?b=3:!c&&a?b=1:c||a||(b=0);return b},Hi=function(a){a.v||(a.v=E.getElementById(a.Rf));return a.v};var Oi=function(a,b){R.call(this);this.u=new rf(w(this.yf,this));var c=this.B=a,d=this.u;m(c.u.lf)?V("multiple-gen204-overrides"):c.u=d;this.Jh=b;var e;a:{a=a.Gd();try{b=a;var f=E.URL;f instanceof hg||(f=ug(f));b instanceof hg||(b=ug(b));e=f.resolve(b)}catch(h){b=a.indexOf("//");e=a.substring(0,b);e=(f=0<=b&&(0==b||":"==a.charAt(b-1)))&&0<b?e:E.location.protocol;a=f?a.substring(b+2):E.location.host;b=a.indexOf("/");0>b&&(b=a.indexOf("?"));f&&0<b&&(a=a.substring(0,b));e=e+"//"+a;break a}f=e.ib+"://"+
e.va;null!=e.Ab&&(f+=":"+e.Ab);e=f}this.nf=e;e=this.B;f={};f.ifrid=e.Rf;f.pu=e.Gd();f.cn=this.Jh;f.ppu=eh(this.nf);f.lpu=eh();this.m=new Yg(f);fg(this.m,w(this.Se,this));this.fg();$f(this.Pe,3E4,this);this.ad=!1};D(Oi,R);g=Oi.prototype;g.fg=function(){if(this.m)try{this.m.connect()}catch(a){$f(this.fg,10,this)}};g.Pe=function(){this.m&&!this.m.Ia()&&(this.m.T.connect=function(){},1==this.m.T.kd&&(this.m.T.Yj=function(){}),4==this.m.T.kd&&(this.m.T.Wj=function(){}),this.m.T.dispose(),this.m.dispose())};
g.Se=function(a){var b=a.split("_"),c=b[0];switch(c){case "expand":this.Qe(b);break;case "collapse":this.Oe();break;case "resize":this.Te(b);break;case "maxsize":this.Re();break;case "params":a=a.substr(7);F.CREATIVE_TOOLSET_PARAMS=td(a);this.ad=!0;this.L("ok_params");break;case "previewParams":a=a.substr(14);F.CREATIVE_TOOLSET_PREVIEW_PARAMS=td(a);break;case "startExternalNotifier":this.Ue();break;case "setResponsive":this.B.Qd=!0;break;case "expanding":case "collapsed":this.dispatchEvent(c)}};
g.L=function(a){this.m.send("expandable_ad",a)};g.Re=function(){var a=Ki(this.B);this.L("ok_maxsize_i"+a.width+"_e"+a.height)};
g.Qe=function(a){if(!this.B.isExpanded()){for(var b=new P(0,0),c=0,d=0;d<a.length;++d){var e=a[d].charAt(0);"w"==e?b.width=parseInt(a[d].substring(1),10):"h"==e?b.height=parseInt(a[d].substring(1),10):"m"==e&&(c=parseInt(a[d].substring(1),10))}a=Ni(this.B,b);this.je="ok_expand_w"+b.width+"_h"+b.height+"_d"+a;0===c?(this.B.expand(b,a),this.zf()):1===c&&Mi(this.B,b,w(this.zf,this),w(this.cj,this),w(this.ej,this))}};g.Ue=function(){this.ad?this.B.gd(w(this.aj,this),w(this.bj,this)):W(this.u,"start-external-notifier-before-params-received")};
g.aj=function(){this.L("externalNotifierAboutToComplete")};g.bj=function(){this.L("externalNotifierComplete")};g.yf=function(a,b,c,d){if(!this.m||!this.m.Ia())return!1;a="externalLog_"+b+"_"+a+"_"+d;for(var e in c)a+="_"+e+"_"+c[e];this.L(a);return!0};g.zf=function(){this.je&&(this.L(this.je),this.je=null)};g.ej=function(){this.L("parentViewportResized")};g.cj=function(){this.L("initiateCollapse")};
g.Oe=function(){if(this.B.isExpanded()){this.B.collapse();var a=this.B.M.clone();this.L("ok_collapse_w"+a.width+"_h"+a.height)}};g.Te=function(a){for(var b=new P(0,0),c=0;c<a.length;++c){var d=a[c].charAt(0);"w"==d?b.width=parseInt(a[c].substring(1),10):"h"==d&&(b.height=parseInt(a[c].substring(1),10))}this.je="ok_resize_w"+b.width+"_h"+b.height;this.B.resize(b);this.zf()};
C("ExpandableAdSlotFactory.createIframeFromWindow",function(a){var b=a.google_frame_id;b||(b="google_frame_"+Math.floor(2147483647*Math.random()));var c=Pi(b,a.google_ad_url,parseInt(a.google_ad_width,10),parseInt(a.google_ad_height,10),a.google_container_id);return a[b]=c});
var Qi=function(a){if(!a)return null;var b=a.a,c=a.b,d=a.c,e=a.d,f=a.e,h=a.h;if(!b||!c||0>=d||0>=e||!f)return null;a=new Gi(b,c,new P(d,e),a.f,a.g);f=new Oi(a,f);h&&(F[h]=f);return f},Pi=function(a,b,c,d,e,f,h,k){if(!a||!b||0>=c||0>=d)return null;var p=Ng();b=ch(b,p,k);k="<iframe allowtransparency=true frameborder=0 height="+d+" hspace=0 id="+a+" marginheight=0 marginwidth=0 name="+a+' scrolling=no src="'+b+'" style="left:0;position:absolute;top:0" vspace=0 width='+c+" allowfullscreen=true></iframe>";
if(!h){var v="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px;background-color:transparent";k=['<ins id="',a+"_expand",'" style="display:inline-table;',v,'"><ins id="',a+"_anchor",'" style="display:block;',v,'">',k,"</ins></ins>"].join("")}(e=e?E.getElementById(e):null)?e.innerHTML=k:E.write(k);return Qi(dh(a,b,c,d,p,f,h))};C("ExpandableAdSlotFactory.createIframe",Pi);
C("DhtmlExpandableIframeFactory.createElement",function(a,b,c,d){if(!a||!b||0>=c||0>=d)return null;var e=Ng();b=ch(b,e);var f=Ri(a,b,c,d);Qi(dh(a,b,c,d,e,void 0,void 0,"expandableAdSlot_"+a));return Si(f,c,d)});var Ti=function(a,b,c,d,e){if(!a||!b||0>=c||0>=d)return null;var f=Ng();b=ch(b,f);var h=Ri(a,b,c,d),h=Si(h,c,d);e(h);Qi(dh(a,b,c,d,f,void 0,void 0,"expandableAdSlot_"+a));return h};
C("DhtmlExpandableIframeFactory.appendAndSetupExpandableIframe",function(a,b,c,d,e){e=w(e.appendChild,e);return Ti(a,b,c,d,e)});C("DhtmlExpandableIframeFactory.insertAsSiblingAndSetupExpandableIframe",function(a,b,c,d,e){return Ti(a,b,c,d,function(a){e.parentNode.insertBefore(a,e.nextSibling)})});
var Si=function(a,b,c){b="border:none;height:"+c+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+b+"px";c=E.createElement("ins");c.style.cssText="display:inline-table;"+b;var d=E.createElement("ins");d.style.cssText="display:block;"+b;d.appendChild(a);c.appendChild(d);return c},Ri=function(a,b,c,d){var e=document.createElement("iframe");e.style.cssText="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px";e.name=a;e.id=a;e.src=b;e.style.cssText=
"left:0;position:absolute;top:0";e.width=c;e.height=d;e.frameBorder=0;e.hspace=0;e.vspace=0;e.scrolling="no";e.marginHeight=0;e.marginWidth=0;e.allowTransparency=!0;e.setAttribute("allowfullscreen",!0);return e};Oi.prototype.listen=Oi.prototype.eb;Oi.prototype.listenOnce=Oi.prototype.Rb;Oi.prototype.unlisten=Oi.prototype.Fb;Oi.prototype.unlistenByKey=Oi.prototype.$b;var Ui=function(a,b,c,d,e,f,h){R.call(this);this.B=new Gi(b,c,new P(d,e),f,h);this.dj=a;this.ad=!1;this.u=new rf(w(this.yf,this))};D(Ui,R);
Ui.prototype.li=function(a){var b=a,c="",d=a.indexOf("_");0<d&&(b=a.slice(0,d),c=a.slice(d+1));switch(b){case "expand":this.Qe(c);break;case "collapse":this.Oe();break;case "resize":this.Te(c);break;case "maxsize":this.Re();break;case "params":F.CREATIVE_TOOLSET_PARAMS=td(c);this.ad=!0;this.L("ok_params");break;case "previewParams":F.CREATIVE_TOOLSET_PREVIEW_PARAMS=td(c);break;case "startExternalNotifier":this.Ue();break;case "expanding":case "collapsed":this.dispatchEvent(b);break;case "setResponsive":this.B.Qd=
!0}};Ui.prototype.handleMessage=Ui.prototype.li;g=Ui.prototype;g.L=function(a){this.dj(a)};g.Re=function(){var a=Ki(this.B);this.L("ok_maxsize_i"+a.width+"_e"+a.height)};
g.Qe=function(a){if(!this.B.isExpanded()){var b=new P(0,0),c=0;a=a.split("_");for(var d=0;d<a.length;++d)switch(a[d].charAt(0)){case "w":b.width=parseInt(a[d].substring(1),10);break;case "h":b.height=parseInt(a[d].substring(1),10);break;case "m":c=parseInt(a[d].substring(1),10)}a=Ni(this.B,b);d="ok_expand_w"+b.width+"_h"+b.height+"_d"+a;switch(c){case 0:this.B.expand(b,a);this.L(d);break;case 1:Mi(this.B,b,w(this.L,this,d),w(this.L,this,"initiateCollapse"),w(this.L,this,"parentViewportResized"))}}};
g.Ue=function(){this.ad?this.B.gd(w(this.L,this,"externalNotifierAboutToComplete"),w(this.L,this,"externalNotifierComplete")):W(this.u,"start-external-notifier-before-params-received")};g.yf=function(a,b,c,d){a="externalLog_"+b+"_"+a+"_"+d;for(var e in c)a+="_"+e+"_"+c[e];this.L(a);return!0};g.Oe=function(){if(this.B.isExpanded()){this.B.collapse();var a=this.B.M.clone();this.L("ok_collapse_w"+a.width+"_h"+a.height)}};
g.Te=function(a){var b=new P(0,0);a=a.split("_");for(var c=0;c<a.length;++c)switch(a[c].charAt(0)){case "w":b.width=parseInt(a[c].substring(1),10);break;case "h":b.height=parseInt(a[c].substring(1),10)}a="ok_resize_w"+b.width+"_h"+b.height;this.B.resize(b);this.L(a)};C("ExpandableIframeController",Ui);Ui.prototype.listen=Ui.prototype.eb;Ui.prototype.listenOnce=Ui.prototype.Rb;Ui.prototype.unlisten=Ui.prototype.Fb;Ui.prototype.unlistenByKey=Ui.prototype.$b;var Vi={ENGAGEMENT_START:"engstart",ENGAGEMENT_END:"engend"},Wi={CLICK_TO_EXPAND:29,HOVER_TO_EXPAND:30,GENERIC_ENGAGEMENT:32,VIDEO_PLAY:33,VIDEO_UNMUTE:34,VIDEO_VIEW_TIMER:35,MOUSE_HOVER:36,SWIPE:37,CREATIVE_TOOLSET_ERROR:377,VIDEO_REPLAY:10001,VIDEO_PAUSE:10002,VIDEO_STOP:10003,VIDEO_MUTE:10004,VIDEO_MIDPOINT:10005,VIDEO_COMPLETE:10006,VIDEO_INTERACTION:10007,FULL_SCREEN:10008,MANUAL_CLOSE:10009,CONTRACTION:10010,VIDEO_FIRST_QUARTILE:10011,VIDEO_THIRD_QUARTILE:10012,SUCCESSFUL_ENGAGEMENT:10025,ENGAGEMENT_END:10026,
VIDEO2_START:10027,VIDEO2_FIRST_QUARTILE:10028,VIDEO2_MIDPOINT:10029,VIDEO2_THIRD_QUARTILE:10030,VIDEO2_COMPLETE:10031,VIDEO3_START:10032,VIDEO3_FIRST_QUARTILE:10033,VIDEO3_MIDPOINT:10034,VIDEO3_THIRD_QUARTILE:10035,VIDEO3_COMPLETE:10036,VIDEO4_START:10037,VIDEO4_FIRST_QUARTILE:10038,VIDEO4_MIDPOINT:10039,VIDEO4_THIRD_QUARTILE:10040,VIDEO4_COMPLETE:10041,VIDEO5_START:10042,VIDEO5_FIRST_QUARTILE:10043,VIDEO5_MIDPOINT:10044,VIDEO5_THIRD_QUARTILE:10045,VIDEO5_COMPLETE:10046,RENDERING_COMPLETED:10048,
VIDEO_PREVIEW:10056};var Xi=function(){this.vc=[];this.mb=[]},Yi=function(){var a=aa("googlecreative.reporting.sharedReporter");a||(a=new Xi,C("googlecreative.reporting.sharedReporter",a));return a};g=Xi.prototype;g.addReporter=function(a){G(this.vc,function(b){b.newReporterCallback(a);a.newReporterCallback(b)});G(this.mb,function(b){a.registerChargeableEventName(b)});this.vc.push(a)};g.reportEvents=function(a){G(this.vc,function(b){b.reportEvents(a)})};
g.registerChargeableEventName=function(a){G(this.vc,function(b){b.registerChargeableEventName(a)});this.mb.push(a)};g.logCustomVariable=function(a,b){G(this.vc,function(c){c.logCustomVariable(a,b)})};g.getType=function(){return"UNIFIED_DISPATCHER"};g.getConfig=function(){return{reportingApiVersion:2}};g.newReporterCallback=n;g.supportsChargeableEvents=function(){var a=!1;G(this.vc,function(b){b.supportsChargeableEvents()&&(a=!0)});return a};var Zi=function(a){return 0>a.indexOf("::")?a:a.substr(a.indexOf("::")+2)};var $i={EXPANSION:"expansion",EXPANSION_HOVER:"expansion_hover",GENERIC_ENGAGEMENT:"generic_engagement",PART2VIEWED:"part2viewed",RM_VIDEO_PLAY:"rm_video_play",RM_VIDEO_UNMUTE:"rm_video_unmute",RM_VIDEO_VIEW_TIMER:"rm_video_view_timer",MOUSE_HOVER:"mouse_hover",SWIPE:"swipe",CLICK_THROUGH:"click_through",RM_VIDEO_REPLAY:"rm_video_replay",RM_VIDEO_PAUSE:"rm_video_pause",RM_VIDEO_STOP:"rm_video_stop",RM_VIDEO_MUTE:"rm_video_mute",VIDEOPLAYTIME50:"videoplaytime50",VIDEOPLAYTIME100:"videoplaytime100",
RM_VIDEO_INTERACTION:"rm_video_interaction",RM_FULLSCREEN:"rm_fullscreen",RM_MANUAL_CLOSE:"rm_manual_close",CONTRACTION:"contraction",VIDEOPLAYTIME25:"videoplaytime25",VIDEOPLAYTIME75:"videoplaytime75",ENGAGE_3S:"engage_3s",ENGAGE_4S:"engage_4s",ENGAGE_5S:"engage_5s",ENGAGE_10S:"engage_10s",ENGAGE_15S:"engage_15s",ENGAGE_20S:"engage_20s",ENGAGE_25S:"engage_25s",ENGAGE_30S:"engage_30s",ENGAGE_35S:"engage_35s",ENGAGE_40S:"engage_40s",ENGAGE_45S:"engage_45s",ENGAGE_50S:"engage_50s",ENGAGE_55S:"engage_55s",
ENGAGE_60S:"engage_60s",ENGAGE_90S:"engage_90s",ENGAGE_120S:"engage_120s",ENGAGE_180S:"engage_180s",ENGAGE_SUCCESS:"engage_success",ENGAGE_ENDED:"engage_ended",VIDEO2_PLAYTIME0:"video2_playtime0",VIDEO2_PLAYTIME25:"video2_playtime25",VIDEO2_PLAYTIME50:"video2_playtime50",VIDEO2_PLAYTIME75:"video2_playtime75",VIDEO2_PLAYTIME100:"video2_playtime100",VIDEO3_PLAYTIME0:"video3_playtime0",VIDEO3_PLAYTIME25:"video3_playtime25",VIDEO3_PLAYTIME50:"video3_playtime50",VIDEO3_PLAYTIME75:"video3_playtime75",VIDEO3_PLAYTIME100:"video3_playtime100",
VIDEO4_PLAYTIME0:"video4_playtime0",VIDEO4_PLAYTIME25:"video4_playtime25",VIDEO4_PLAYTIME50:"video4_playtime50",VIDEO4_PLAYTIME75:"video4_playtime75",VIDEO4_PLAYTIME100:"video4_playtime100",VIDEO5_PLAYTIME0:"video5_playtime0",VIDEO5_PLAYTIME25:"video5_playtime25",VIDEO5_PLAYTIME50:"video5_playtime50",VIDEO5_PLAYTIME75:"video5_playtime75",VIDEO5_PLAYTIME100:"video5_playtime100",CREATIVE_TOOLSET_ERROR:"ct_error",video1Paused:"rm_video_pause",video1Played0Percent:"part2viewed",video1Played25Percent:"videoplaytime25",
video1Played50Percent:"videoplaytime50",video1Played75Percent:"videoplaytime75",video1Played100Percent:"videoplaytime100",video2Paused:"rm_video_pause",video2Played0Percent:"video2_playtime0",video2Played25Percent:"video2_playtime25",video2Played50Percent:"video2_playtime50",video2Played75Percent:"video2_playtime75",video2Played100Percent:"video2_playtime100",video3Paused:"rm_video_pause",video3Played0Percent:"video3_playtime0",video3Played25Percent:"video3_playtime25",video3Played50Percent:"video3_playtime50",
video3Played75Percent:"video3_playtime75",video3Played100Percent:"video3_playtime100",video4Paused:"rm_video_pause",video4Played0Percent:"video4_playtime0",video4Played25Percent:"video4_playtime25",video4Played50Percent:"video4_playtime50",video4Played75Percent:"video4_playtime75",video4Played100Percent:"video4_playtime100",video5Paused:"rm_video_pause",video5Played0Percent:"video5_playtime0",video5Played25Percent:"video5_playtime25",video5Played50Percent:"video5_playtime50",video5Played75Percent:"video5_playtime75",
video5Played100Percent:"video5_playtime100",imageGalleryCardInteracted:"tetris_image_gallery_card_interacted",mapCardInteracted:"tetris_map_card_interacted",videoCardInteracted:"tetris_video_card_interacted",elementInteracted:"lightbox_ad_interacted"};
$a($i,{"Element interacted":"lightbox_ad_interacted","Logo clicked":"tetris_logo_clicked","Header CTA clicked":"tetris_header_cta_clicked","Social link clicked":"tetris_social_link_clicked","Image gallery card interacted":"tetris_image_gallery_card_interacted","Image gallery CTA clicked":"tetris_image_gallery_cta_clicked","Image gallery image selected":"tetris_image_gallery_image_selected","Map card interacted":"tetris_map_card_interacted","Map location selected":"tetris_map_location_selected","Product gallery card interacted":"tetris_product_gallery_card_interacted",
"Product gallery product clicked":"tetris_product_gallery_product_clicked","Product gallery scrolled":"tetris_product_gallery_scrolled","Thumb selected":"tetris_thumb_selected","Video buffering":"tetris_video_buffering","Video card interacted":"tetris_video_card_interacted","Video paused":"rm_video_pause","Video played 0%":"part2viewed","Video played 25%":"videoplaytime25","Video played 50%":"videoplaytime50","Video played 75%":"videoplaytime75","Video played 100%":"videoplaytime100","Video playing":"tetris_video_playing",
"Video unmuted":"rm_video_unmute"});var aj={"Element interacted":"ENGAGEMENT_AD_INTERACTION",ENGAGE_10S:"ENGAGEMENT_DURATION_10S"},bj={};$a(bj,{"Tetris became active":"tetris_became_active","Tetris became idle":"tetris_became_idle"});var cj={};
$a(cj,{"Autopreview playing 2s":"autopreview_playing_2s","Autopreview started playing":"autopreview_started_playing","Engagement state failure":"engagement_state_failure","Google Maps API failure":"google_maps_api_failure","Osd timed out":"osd_timed_out","Video thumb initialized":"video_thumb_initialized","WebFont API failure":"web_font_api_failure","YouTube Iframe API failure":"youtube_iframe_api_failure"});
for(var dj={EXPANSION:29,EXPANSION_HOVER:30,GENERIC_ENGAGEMENT:32,RM_VIDEO_PLAY:33,RM_VIDEO_UNMUTE:34,RM_VIDEO_VIEW_TIMER:35,MOUSE_HOVER:36,SWIPE:37},ej={29:"EXPANSION",30:"EXPANSION_HOVER",32:"GENERIC_ENGAGEMENT",33:"RM_VIDEO_PLAY",34:"RM_VIDEO_UNMUTE",35:"RM_VIDEO_VIEW_TIMER",36:"MOUSE_HOVER",37:"SWIPE",377:"CT_ERROR",10001:"RM_VIDEO_REPLAY",10002:"RM_VIDEO_PAUSE",10003:"RM_VIDEO_STOP",10004:"RM_VIDEO_MUTE",10005:"VIDEOPLAYTME50",10006:"VIDEOPLAYTME100",10007:"RM_VIDEO_INTERACTION",10008:"RM_FULL_SCREEN",
10009:"RM_MANUAL_CLOSE",10010:"CONTRACTION",10011:"VIDEOPLAYTIME25",10012:"VIDEOPLAYTIME75",10015:"ENGAGE_3S",10016:"ENGAGE_4S",10017:"ENGAGE_5S",10018:"ENGAGE_10S",10019:"ENGAGE_15S",10020:"ENGAGE_30S",10021:"ENGAGE_60S",10022:"ENGAGE_90S",10023:"ENGAGE_120S",10024:"ENGAGE_180S",10025:"ENGAGE_SUCCESS",10026:"ENGAGE_ENDED",10027:"VIDEO2_PLAYTIME0",10028:"VIDEO2_PLAYTIME25",10029:"VIDEO2_PLAYTIME50",10030:"VIDEO2_PLAYTIME75",10031:"VIDEO2_PLAYTIME100",10032:"VIDEO3_PLAYTIME0",10033:"VIDEO3_PLAYTIME25",
10034:"VIDEO3_PLAYTIME50",10035:"VIDEO3_PLAYTIME75",10036:"VIDEO3_PLAYTIME100",10037:"VIDEO4_PLAYTIME0",10038:"VIDEO4_PLAYTIME25",10039:"VIDEO4_PLAYTIME50",10040:"VIDEO4_PLAYTIME75",10041:"VIDEO4_PLAYTIME100",10042:"VIDEO5_PLAYTIME0",10043:"VIDEO5_PLAYTIME25",10044:"VIDEO5_PLAYTIME50",10045:"VIDEO5_PLAYTIME75",10046:"VIDEO5_PLAYTIME100",10049:"ENGAGE_20S",10050:"ENGAGE_25S",10051:"ENGAGE_35S",10052:"ENGAGE_40S",10053:"ENGAGE_45S",10054:"ENGAGE_50S",10055:"ENGAGE_55S"},fj=1;10>=fj;++fj){var gj="card"+
fj;$a($i,ab(gj+"VideoPaused","rm_video_pause",gj+"VideoPlayed0Percent","part2viewed",gj+"VideoPlayed25Percent","videoplaytime25",gj+"VideoPlayed50Percent","videoplaytime50",gj+"VideoPlayed75Percent","videoplaytime75",gj+"VideoPlayed100Percent","videoplaytime100",gj+"ImageGalleryCardInteracted","tetris_image_gallery_card_interacted",gj+"MapCardInteracted","tetris_map_card_interacted",gj+"VideoCardInteracted","tetris_video_card_interacted"))};var hj=function(){J.call(this);this.xf=""};D(hj,J);g=hj.prototype;
g.reportEvents=function(a){if(!this.ta)for(var b=0;b<a.length;++b){var c=Zi(a[b].unifiedReportingEvent.name);if(m(c))switch(c){case "search_lift_impression":ij(this,"199");break;case "EXPANSION":case "EXPANSION_HOVER":ij(this,"201");break;case "GENERIC_ENGAGEMENT":ij(this,"259");break;case "ENGAGE_3S":ij(this,"204");break;case "ENGAGE_4S":ij(this,"205");break;case "ENGAGE_5S":ij(this,"206");break;case "ENGAGE_10S":ij(this,"211");break;case "ENGAGE_15S":ij(this,"216");break;case "ENGAGE_30S":ij(this,
"231");break;case "ENGAGE_60S":ij(this,"240");break;case "ENGAGE_90S":ij(this,"241");break;case "ENGAGE_120S":ij(this,"242");break;case "ENGAGE_180S":ij(this,"243");break;case "elementInteracted":case "Element interacted":ij(this,"260")}}};g.registerChargeableEventName=n;g.logCustomVariable=n;g.getType=function(){return"GDN_SEARCH_LIFT"};g.getConfig=function(){return{reportingApiVersion:2}};g.newReporterCallback=n;g.supportsChargeableEvents=function(){return!1};
var ij=function(a,b){if(!a.xf){var c=T();a.xf=c&&c.SEARCH_UPLIFT_URL?c.SEARCH_UPLIFT_URL:""}if(a=a.xf)da(T().VBB_DATA)&&(a=se(a,"vtt",T().VBB_DATA.TRAFFIC_TYPE),a=se(a,"vbk",T().VBB_DATA.VBB_BUCKET)),b=se(a,"vi",b),E.body?(Oe||(a=E.createElement("iframe"),a.style.display="none",a.id="anonIframe",Oe=a,E.body.appendChild(a)),a=!0):a=!1,a&&Fe(Oe.contentWindow,b,void 0)};var jj=function(){var a=T();return a&&a.CREATIVE_CONVERSION_URL?a.CREATIVE_CONVERSION_URL:""},kj=function(a){var b=T().ENGAGEMENT_CONVERSION_URLS;return m(b)&&m(b[a])?b[a]:null},mj=function(a,b,c){Math.random()>(c||.01)||(c=ih("error_reporting"),jj()&&c?(b=Va(b||{}),b.eventType=a,(a=lj(377,b))&&Yi().reportEvents([a])):V(a,b,1))},oj=function(a,b){var c={};c.explen=b;a.chargeable&&nj(32,c);nj(a.action,c)},nj=function(a,b){"number"===typeof a&&ej[a]&&(a=lj(a,b||{}))&&Yi().reportEvents([a])},lj=function(a,
b){a=ej[a];return m(a)?pj(a,b):null},pj=function(a,b){return{unifiedReportingEvent:{type:"CUSTOM_EVENT",name:a,videoName:"",trigger:"Counter"},count:1,time:0,data:[b]}},Y=function(a,b){return function(){try{return b.apply(this,arguments)}catch(c){mj(a,{errorName:c.name,errorMessage:c.message},1)}}};var qj=null,rj=function(){var a;if(!qj)a:{for(var b=[l.top],c=[],d=0,e;e=b[d++];){c.push(e);try{if(e.frames)for(var f=e.frames.length,h=0;h<f&&1024>b.length;++h)b.push(e.frames[h])}catch(k){}}for(b=0;b<c.length;b++)try{if((a=c[b].frames.google_esf)&&te(a)){qj=a;break a}}catch(k){}qj=null}a=qj;if(!a)return null;(c=a.esf_winPropArray)||(c=a.esf_winPropArray=[]);for(a=0;a<c.length;a++)if(c[a].window==F)return c[a].store;a={};a.window=F;a.store={};Array.prototype.push.call(c,a);return a.store};hb||ib||I&&tb(11);var tj=function(){this.Ja=[];this.Ja.push(new sj(0,{Za:"notifierstart",bb:["notifiercompleted"]}));this.Ja.push(new sj(0,{Za:"expansionrequested",yi:["abouttoexpand"],bb:["expansioncompleted"]}));this.Ja.push(new sj(0,{Za:"initialload",bb:["creativerendered"]}));this.Ja.push(new sj(0,{Za:"initialload",bb:["videoplaying"]}));this.Ja.push(new sj(0,{Za:"creativerendered",bb:["videopreviewvisible"]}));this.Ja.push(new sj(0,{Za:"videopreviewvisible",bb:["videopreviewstarted"]}));this.Ja.push(new sj(0,
{Za:"videopreviewvisible",bb:["videopreviewinvisible"]}));this.Ja.push(new sj(0,{Za:"videopreviewstarted",bb:["videopreviewpaused"]}));this.Ja.push(new sj(0,{Za:"videoplaystartrequested",bb:["videoplaystarted"]}));this.zd={};if(F.jstiming)for(var a=0;a<this.Ja.length;a++)for(var b=this.Ja[a],c=b.Jc(),d=0;d<c.length;d++){var e=c[d];(this.zd[e]||(this.zd[e]=[])).push(b)}this.oa("initialload")},sj=function(a,b){this.ug=b.Za;this.Dg=b.bb;this.zi=b.yi||[];this.S=null};
tj.prototype.oa=function(a){if(T().MEASURE_LATENCY){var b=this.zd[a];if(b)for(var c=0;c<b.length;c++)b[c].oa(a)}};sj.prototype.Jc=function(){return Ga([this.ug],this.Dg,this.zi)};sj.prototype.oa=function(a){this.ug==a?(this.S=new window.jstiming.Timer,this.S.name="loadcreativetoolset"):this.S&&(Ma(this.S.tick(a)),0>Da(this.Dg,function(b){return b==a})||Ma(F.rptcsiqid(this.S,{explabel:T().JS_EXPERIMENT_LABELS})))};var uj=function(){this.fe={}},vj=function(a,b,c){var d;if(da(c)){var e;"touchend"==c.type||"touchcancel"==c.type?c.changedTouches&&0<c.changedTouches.length?(d=c.changedTouches[0].clientX,e=c.changedTouches[0].clientY):u(c.Ne)&&(c=c.ea,c.changedTouches&&0<c.changedTouches.length&&(d=c.changedTouches[0].clientX,e=c.changedTouches[0].clientY)):(e=fd(c),d=e.x,e=e.y);d=m(d)&&m(e)?d+","+e:""}else d=c+"";d&&(a.fe[b]=d)},xj=function(a){var b={};Qe(a.fe,w(function(a,d){wj(d)&&(b[d]=a)},a));return b},wj=function(a){var b=
T().JS_SPAM_SIGNALS;a=yj[a];return m(a)&&null!=b&&(b&a)==a},yj={zcf:8192,zcr:16384,clkt:16,zbq:262144,gcf:32768,gcr:65536,gq:4096,gv:524288};var zj=function(a){R.call(this);this.Ma=!1;this.xb=this.aboutToExpandCallback=this.expansionCallback=null;this.oc=a.oc;this.De=a.ng;this.Nf=a.zh;this.cf=null;this.Vf=a.Ch||a.ng;this.Vf>this.De&&(this.Vf=this.De);var b=E.body;this.rg=E.createElement("div");b.appendChild(this.rg);this.ia=0;this.fa=new uj;this.Qc=a.Fi;this.qb=0};D(zj,R);g=zj.prototype;g.j=function(){Q(this.rg);K(this.xb);this.xb=null;zj.l.j.call(this)};
g.remove=function(){if(4==this.ia||0==this.ia)this.fa.fe={};this.dispatchEvent(new Ab("removed",this))};g.Ed=function(){return this.qb};g.vg=function(){return xj(this.fa)};g.getContext=function(){return this.ia};var Bj=function(a,b){Ea(Aj[a.ia],b)||qf("notifierContextTransitionError",{old:a.ia,"new":b,not:a.oc});a.ia=b;a.Qc&&(1==a.ia?a.Qc.oa("notifierstart"):2==a.ia&&a.Qc.oa("notifiercompleted"))};g=zj.prototype;g.wb=function(){return 1==this.ia};g.Pd=function(){return 1==this.ia||2==this.ia};
g.isExpanded=function(){return 3==this.ia};g.Xb=function(a){Bj(this,a?3:0);this.remove()};g.ic=function(){return this.De};g.ub=function(){return this.oc};var Cj=function(a){a.Ma&&a.expansionCallback&&(Bj(a,2),a.remove(),a.expansionCallback(),a.expansionCallback=null)};zj.prototype.Sg=function(){this.aboutToExpandCallback&&(Ea(Aj[this.ia],2)&&this.aboutToExpandCallback(),this.aboutToExpandCallback=null);this.Qc&&this.Qc.oa("abouttoexpand")};var Aj={0:[1],1:[2,4],4:[0],2:[3],3:[0]};var Dj=function(a,b){this.zg=this.yc=0;this.jd=this.Y=null;this.Yb=0;this.yc=0<a?a:0;this.zg=b&&0<b&&b<this.yc?this.yc-b:0};Dj.prototype.start=function(a,b,c){null!==this.Y||null!==this.jd||0>=this.yc||(this.Yb=A(),this.Y=$f(b,this.yc,a),c&&(this.jd=$f(c,this.zg,a)))};Dj.prototype.clear=function(){null!==this.Y&&(l.clearTimeout(this.Y),this.Y=null);null!==this.jd&&(l.clearTimeout(this.jd),this.jd=null);this.Yb=0};
var Ej=function(a){return a.Yb?A()-a.Yb:0},Fj=function(a){var b=Ej(a);return Math.max(0,a.yc-b)};var Gj=function(a){zj.call(this,a);this.nc=0;this.Bb=null;this.qe=new Dj(50);a=E.body;m(E.body.onmouseenter)&&m(E.body.onmouseleave)&&!Od?$d(this,L(a,"mouseenter",this.Xd,!1,this),L(a,"mouseleave",this.Wd,!1,this)):$d(this,L(a,"mouseover",this.Xd,!0,this),L(a,"mouseout",this.Wd,!0,this))};D(Gj,zj);g=Gj.prototype;g.Xd=function(a){this.nc||(this.nc=A(),a&&(vj(this.fa,"zcf",a),vj(this.fa,"zcr",a)))};g.j=function(){Q(this.Bb);this.Bb=null;Gj.l.j.call(this)};g.Wd=function(){this.nc=0};
g.remove=function(){Gj.l.remove.call(this);this.Ma=!1};g.Xb=function(a){Gj.l.Xb.call(this,a);!a&&F.innerWidth&&hb&&(this.Bb=document.createElement("div"),$c(this.Bb,{position:"absolute",width:F.innerWidth+"px",height:F.innerHeight+"px",opacity:0,top:0,zIndex:999999}),L(this.Bb,"mouseover",function(){E.body.removeChild(this.Bb);this.Bb=null},!0,this),E.body.appendChild(this.Bb))};g.start=function(a,b){this.qe.clear();this.Ma?this.Tg(a,b):this.qe.start(this,y(this.Tg,a,b))};
g.Tg=function(a,b){this.qe.clear();this.qb=0;this.Ma&&(this.expansionCallback=a,this.aboutToExpandCallback=b,Bj(this,1),this.Pf())};var Hj=function(a){Gj.call(this,a);this.Kc=new Dj(3E3);ae("mousedown",this.ef,!0,this);this.oc="DesktopClickToExpand"};D(Hj,Gj);g=Hj.prototype;g.j=function(){this.Kc.clear();Hj.l.j.call(this)};g.ef=function(){this.isExpanded()||(this.Ma=!0,this.Kc.clear(),this.Kc.start(this,this.Zh))};g.Zh=function(){this.Ma=!1};g.hc=function(){return 29};g.remove=function(){Hj.l.remove.call(this);this.Kc.clear()};g.Pf=function(){this.Kc.clear();this.qb=1;Cj(this)};var Ij=function(){var a=T().IS_MOBILE_APP_REQUEST;m(a)||(a=m(F.mraid));return a};var Jj=function(a,b,c,d,e){J.call(this);this.Lg=c;this.Di=d;this.Wi=e;a=r("engagement_css_link")?document.getElementById("engagement_css_link"):"engagement_css_link";da(a)&&1==a.nodeType||(a=E.getElementsByTagName("head"),a=0<a.length?a[0]:E.body.parentNode.appendChild(E.createElement("head")),b=E.createElement("link"),b.rel="stylesheet",b.type="text/css",b.href=T().ENGAGEMENT_CSS_URL||"//pagead2.googlesyndication.com/pagead/css/engagement.css",b.id="engagement_css_link",a.appendChild(b),b=E.createElement("link"),
b.rel="stylesheet",b.type="text/css",b.href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700",a.appendChild(b));a=E.createElement("div");af(a,["progressbar-notifier","container","off",this.Di?"rtl":"ltr"]);0==this.Wi&&$e(a,"desktop");this.fh(a);b=E.createElement("span");b.className="spanner";c=E.createTextNode(" ");d=E.createElement("div");d.className="overlay overlay1";e=E.createElement("div");e.className="overlay overlay2";var f=E.createElement("div");f.className="viz";var h=E.createElement("div");
h.className="notifier-text";var k=E.createTextNode(this.Lg?this.Lg:"Expanding..."),p=E.createElement("div");p.className="progbar-container";var v=E.createElement("div");v.className="progbar-border";var x=E.createElement("div");x.className="progbar";E.body.appendChild(a);a.appendChild(b);b.appendChild(c);a.appendChild(d);a.appendChild(e);a.appendChild(f);f.appendChild(h);h.appendChild(k);f.appendChild(p);p.appendChild(v);p.appendChild(x);a={container:a,overlay:d};this.td=a.container;this.Ui=a.overlay;
this.Eb=null;$d(this,L(F,"resize",y(this.fh,this.td),!1,this))};D(Jj,J);var cf={Mj:"off",Nj:"on",uj:"cancel"};Jj.prototype.j=function(){Q(this.td);Jj.l.j.call(this)};var Kj=function(a,b){df(a.td);$e(a.td,b)},Lj=function(a){null!=a.Eb&&(M(a.Eb),a.Eb=null);Kj(a,"on")},Mj=function(a,b){var c=w(function(){null!=this.Eb&&Mj(this,0)},a);b&&4==b?(Kj(a,"cancel"),null==a.Eb&&(a.Eb=Vb(a.Ui,Bb,c,!1,a))):(M(a.Eb),a.Eb=null,Kj(a,"off"))};
Jj.prototype.fh=function(a){if(Ij()){var b=Mc().height;0>=b&&(b=window.innerHeight);a.style.height=cd(b,!0)}};var Nj=function(a){Gj.call(this,a);this.Tc=0;this.Uc=null;this.da=new Dj(this.ic(),this.Nf);ae("mousedown",this.ef,!0,this);ae("mouseup",this.Ni,!0,this);this.xb=new Jj(0,0,a.sg||"Expanding...",T().EXPANSION_RIGHT_TO_LEFT||!1,0)};D(Nj,Gj);g=Nj.prototype;g.j=function(){M(this.Uc);this.Uc=null;Nj.l.j.call(this)};g.ef=function(){this.isExpanded()||(this.Tc=A())};
g.Ni=function(){if(!this.isExpanded()&&this.Tc&&this.wb()){this.da.clear();this.qb=3;var a=this.nc?A()-this.nc:0,b=A()-this.Tc;vj(this.fa,"zbq",a);vj(this.fa,"clkt",b);this.Tc=0;Cj(this)}};g.Xd=function(a){Nj.l.Xd.call(this,a);this.Ma=!0};g.Wd=function(){this.nc&&A();Nj.l.Wd.call(this);this.Ma=!1;this.qe.clear();var a=this.wb();a&&Bj(this,4);this.da.clear();this.remove();a&&Bj(this,0)};g.Mi=function(a){a&&vj(this.fa,"zcr",a)};g.hc=function(){return 30};
g.remove=function(){Nj.l.remove.call(this);this.da.clear();this.Tc=0;Mj(this.xb,this.getContext());M(this.Uc);this.Uc=null};g.sf=function(){this.qb=2;Cj(this)};g.Pf=function(){this.da.start(this,this.sf,this.Sg);Lj(this.xb);if(wj("zcf")||wj("zcr"))this.Uc=L(E.body,"mousemove",this.Mi,!0,this)};var Pj=function(a){zj.call(this,a);this.Na=this.ga=0;ae("touchstart",this.Kf,!0,this);ae("touchend",this.Jf,!0,this)};D(Pj,zj);g=Pj.prototype;g.start=function(a){!ih("stricter_mobile_taps")||0!=this.ga&&0!=this.Na?(Bj(this,1),this.expansionCallback=a,this.Ma=!0,Cj(this)):qf("noTouchStartEndPair",{notifier:"InstantlyEngage"},1)};g.remove=function(){Pj.l.remove.call(this);this.Na=this.ga=0};g.hc=Ad(29);g.Ed=function(){return 4};g.ic=Ad(0);g.ub=Ad("InstantlyEngage");
g.Kf=function(a){this.isExpanded()||(this.ga=A(),this.Na=0,vj(this.fa,"gcf",a))};g.Jf=function(a){!this.isExpanded()&&this.ga&&(this.Na=A(),this.ga&&(vj(this.fa,"gq",this.Na-this.ga),vj(this.fa,"gcr",a)))};var Qj=function(a){zj.call(this,a);this.gf=a.oc};D(Qj,zj);g=Qj.prototype;g.start=function(){};g.remove=n;g.Pd=Bd;g.Xb=n;g.hc=Ad(32);g.ic=Ad(Infinity);g.ub=function(){return this.gf};var Rj=function(a){R.call(this);this.gf=a};D(Rj,R);g=Rj.prototype;g.remove=n;g.Pd=Bd;g.start=function(a){a()};g.Xb=function(){};g.hc=function(){return 32};g.Ed=function(){return 1};g.ub=function(){return this.gf};g.ic=function(){return 0};g.vg=function(){return{}};var Sj=function(a){zj.call(this,a);this.Na=this.ga=0;this.da=new Dj(this.ic(),this.Nf);ae("touchstart",this.Kf,!0,this);ae("touchend",this.Jf,!0,this);this.xb=new Jj(0,0,(a.sg||"Tap to cancel")+"...",T().EXPANSION_RIGHT_TO_LEFT||!1,1)};D(Sj,zj);g=Sj.prototype;g.j=function(){this.da.clear();Sj.l.j.call(this)};g.hc=function(){return 29};g.remove=function(){Sj.l.remove.call(this);this.da.clear();Mj(this.xb,this.getContext());this.Ma=!1;this.Na=this.ga=0};
g.Kf=function(a){this.isExpanded()||(this.ga=A(),this.wb()&&null!==this.da.Y&&0<Fj(this.da)?(this.da.clear(),Bj(this,4),this.remove(),Bj(this,0),a.preventDefault(),a.stopPropagation()):vj(this.fa,"gcf",a))};g.Jf=function(a){!this.isExpanded()&&this.ga&&(this.Na=A(),vj(this.fa,"gcr",a),vj(this.fa,"gq",this.Na-this.ga),ih("stricter_mobile_taps")||(this.ga=0))};g.sf=function(){8!=this.Ed()&&(this.qb=5);var a={};$a(a,this.fa.fe);a.scproglen=Ej(this.da);this.Ma=!0;Cj(this)};
g.fj=Cd(function(){var a;if(!(a=Wd))a:{a=E.getElementsByTagName("iframe");for(var b=0,c;c=a[b];b++)if(pd(c)){a=!0;break a}a=!1}return a});g.start=function(a,b){if(!(this.wb()&&null!==this.da.Y&&0<Fj(this.da))){this.qb=0;if(!this.fj())this.qb=8;else if(0==this.ga&&0==this.Na||ih("stricter_mobile_taps")&&(0==this.ga||0==this.Na)){qf("noTouchStartEndPair",{notifier:"ProgBarMobile"},1);return}this.expansionCallback=a;this.aboutToExpandCallback=b;Bj(this,1);this.da.start(this,this.sf,this.Sg);Lj(this.xb)}};var Uj=function(a,b){switch(a){case "NoOp":a=new Rj(a);break;case "InstantlyEngage":a=new Pj(Tj(a,b));break;case "NeverEngage":a=new Qj(Tj(a,b));break;case "DesktopProgressBarHover":a=new Nj(Tj(a,b));break;case "DesktopClickToExpand":a=new Hj(Tj(a,b));break;case "LargeCanvasEngagement":a=new Qj(Tj(a,b));break;case "MobileProgressBarTapToCancelCSS3":a=new Sj(Tj(a,b));break;case "AutoExpand":a=new Rj(a);break;default:var c=U()?"MobileProgressBarTapToCancelCSS3":"DesktopProgressBarHover";qf("notifierUnknownWarning",
{unknownInput:a,replacedWith:c});return Uj(c,b)}return a},Tj=function(a,b){var c=T(),d=c.ENGAGEMENT_DELAY_MS;if(!d||0>d)d=2E3;var e=c.ABOUT_TO_EXPAND_TIME_LEFT_MS;if(!e||0>=e||e>=d)e=500;return{oc:a,sg:c.EXPANSION_TEXT,ng:d,Ch:d,zh:e,Fi:b}};var Vj=function(a,b){this.xa=a;this.aa=b||null;this.cpeEnabled=Y("CT-cpeEnabled",w(this.cpeEnabled,this));this.getClientEnvironment=Y("CT-getClientEnvironment",w(this.getClientEnvironment,this));this.getEngagementState=Y("CT-getEngagementState",w(this.getEngagementState,this));this.getActiveExperimentLabels=Y("CT-getActiveExperimentLabels",w(this.getActiveExperimentLabels,this));this.getActivePreviewParams=Y("CT-getActivePreviewParams",w(this.getActivePreviewParams,this))};g=Vj.prototype;
g.cpeEnabled=function(){return this.xa.cpeEnabled()};g.getClientEnvironment=function(){return{browserClass:this.xa.getClientEnvironment().browserClass,language:this.xa.getClientEnvironment().language}};g.getEngagementState=function(){return this.aa};g.getActiveExperimentLabels=function(){return lh()};g.getActivePreviewParams=function(){return{DISABLE_OSD:(F.CREATIVE_TOOLSET_PREVIEW_PARAMS||{}).DISABLE_OSD}};var Wj=function(){this.F=null;this.jj=!1;this.Hb=this.pd=null},Xj=function(){return T().ENGAGEMENT_URL||""};Wj.prototype.cpeEnabled=function(){return T().ENABLE_CPE};Wj.prototype.getClientEnvironment=function(){var a=0;U()&&!Ij()?a=1:Ij()&&(a=2);return{browserClass:a,language:T().LANGUAGE}};var Yj=function(){J.call(this);this.wc=null;this.Jb=0;this.bd=this.Wa=null;this.yb=this.Zc=!1;this.qc=null;this.Zb=0;this.Rd=!1;this.cd=[];this.Gg=!1};D(Yj,J);var Zj=function(a,b){!a.yb&&a.Jb<a.wc.length&&(b=a.wc[a.Jb].interval-b,0<b?a.bd=setTimeout(w(a.bh,a),b):a.bh())},ak=function(a){if(!a.Rd){a.Rd=!0;for(var b=0;b<a.cd.length;b++)oj(a.wc[b].args,a.cd[b]);a.cd=[]}};
Yj.prototype.bh=function(){if(null!=this.Wa){var a=A()-this.Wa,b=this.wc[this.Jb].args;!this.Rd&&b.chargeable&&ak(this);this.Rd?oj(b,a):this.cd.push(a);this.Jb+=1;Zj(this,a)}};var bk=function(a){a.yb||(null!=a.Wa?(clearTimeout(a.bd),a.bd=null,a.qc=A(),a.yb=!0):a.Zc=!0)};Yj.prototype.mi=function(a){a=da(a)?a.hidden:!a;F.mraid&&qf("mraidViewableChange",{hidden:a});a?bk(this):(this.Zc=!1,this.yb&&null!=this.Wa&&(this.yb=!1,a=A()-this.qc,this.Zb+=a,this.Wa+=a,this.qc=null,a=A()-this.Wa,Zj(this,a)))};var ck=function(){J.call(this);this.aa={chargeableAction:void 0,currentState:0,cycleWasCharged:!1,engagementAction:void 0,engagementCycle:0,timestamp:A()};this.xd=this.yd=null;this.dd=new Yj;yb(this,y(K,this.dd));this.aa.currentState=0};D(ck,J);
var dk=function(a,b){a.yd=A();null!=a.xd&&(a.aa.engagementCycle++,a.aa.cycleWasCharged=!1);var c=a.dd,d=a.yd,e="LARGE_CANVAS"==b&&U()&&!Ij();c.Gg||(c.Gg=!0,wi(c.mi,c,e),xi()&&(c.Zc=!0));if(null==c.wc){var e=[{interval:3E3,args:{action:10015,chargeable:!0}},{interval:4E3,args:{action:10016}},{interval:5E3,args:{action:10017}},{interval:1E4,args:{action:10018}},{interval:15E3,args:{action:10019}},{interval:2E4,args:{action:10049}},{interval:25E3,args:{action:10050}},{interval:3E4,args:{action:10020}},
{interval:35E3,args:{action:10051}},{interval:4E4,args:{action:10052}},{interval:45E3,args:{action:10053}},{interval:5E4,args:{action:10054}},{interval:55E3,args:{action:10055}},{interval:6E4,args:{action:10021}},{interval:9E4,args:{action:10022}},{interval:12E4,args:{action:10023}},{interval:18E4,args:{action:10024}}],f=T().EXPERIMENTAL_REPORTING_SCHEDULE;if(m(f))try{e=td(f).schedule}catch(h){V("badExpSchedJson",{context:"experimental reporting schedule parse error",msg:h.toString()})}if("LargeCanvasEngagement"==
T().ENGAGEMENT_NOTIFIER)for(f=0;f<e.length;f++)delete e[f].args.chargeable;c.wc=e}c.Jb=0;c.Zb=0;c.cd=[];c.Wa=d;c.Zc&&bk(c);d=A()-c.Wa;Zj(c,d);a.aa.timestamp=a.yd;a.aa.engagementAction=b};ck.prototype.Cf=function(a){0==this.aa.currentState&&(this.aa.currentState=a,2==a&&dk(this,"LARGE_CANVAS"))};ck.prototype.getEngagementState=function(){return this.aa};var ek=Fa(Sa({vj:"chrgact",wj:"ctype",yj:"cycchrg",zj:"deferred_action",Aj:"no_charge",Bj:"engact",Cj:"engactd",Dj:"engcyc",Ej:"engdelay",Gj:"label",Hj:"explen",Lj:"noconv",Kj:"notifier",Qj:"random",Sj:"unload",Tj:"value",Uj:"visfrc",Vj:"viscrd"}),Sa(Vi)),fk=function(a){var b={};Qe(a,function(a,d){Ea(ek,d)&&(b[d]=a)});return b};var gk=function(){this.time=0;this.Ee=!1;this.data=null};gk.prototype.setTime=function(a){this.time=a;return this};var hk=function(a,b){this.dg=a;this.vf=b};D(hk,gk);var ik=function(a,b){var c=[],d="",e=b.indexOf("?")+1;0!=e?(c.push(b.substr(0,e)),d=b.substr(e)):(c.push(b),c.push("?"));Qe(a,function(a,b){d=d.replace(new RegExp(b+"=[^&\\s]*&?"),"");c.push([b,"=",a,"&"].join(""))});d?c.push(d):(a=c.pop(),a=a.substr(0,a.length-1),c.push(a));return c.join("")};
hk.prototype.Yf=function(){if(this.Ee){var a={context:"GdnChargeableEventUrlBuilder assembleUrl",msg:"eventAlreadySent cannot be true for chargeable url: "+this.dg};Ge(Ve,"cpeunif",a,!0,void 0,void 0);return""}a=Va(this.data||{});a.ctype=this.dg.toString();return ik(a,this.vf)};var jk=function(a,b){this.Ei=a;this.vf=b};D(jk,gk);jk.prototype.Yf=function(){var a=Va(this.data||{});a.label=this.Ei;this.Ee&&(a.noconv=1);a.random=Math.floor(1E11+9E11*Math.random());var b=[this.vf],c;for(c in a)oe(c,a[c],b);return ne(b)};var kk=function(a,b){J.call(this);this.xa=a;this.bg=!1;this.Ad={};this.mb=[];this.oe=[];this.md=0;this.rh=1049;this.rb=new ck;yb(this,y(K,this.rb));this.jg=!1;this.cb=b};D(kk,J);
kk.prototype.reportEvents=function(a){for(var b=0;b<a.length;++b){var c=a[b];if(!this.ta){var d=c.unifiedReportingEvent,e="CUSTOM_EVENT"!=d.type?d.type:d.name,f;f=e;var h=aj[Zi(f)],k;if(k=m(h))k=T().ENGAGEMENT_CONVERSION_URLS,k=m(k)&&!Ua(k);k?null==kj(h)?(f={context:"GdnEventReporter.shouldReportBiddableEvent_",eventName:f,cpeEnabled:!!this.xa.cpeEnabled(),chargeableUrlLength:Xj().length},V("noBiddableConversionUrl",f),f=!1):f=this.Ad[f]?!1:!0:f=!1;f&&(f=new hg(kj(aj[Zi(e)])),ig(f,F.location.protocol),
Fe(F,f.toString(),void 0));f=e;this.xa.cpeEnabled()&&!Xj()?(h={context:"GdnEventReporter.shouldReportChargeableEvent",msg:"CPE is enabled but chargeable url is not set"},V("cpeAndNoChargeableUrl",h),f=!1):(!this.xa.cpeEnabled()||this.jg||this.ye()||(h={context:"GdnEventReporter.shouldReportChargeableEvent",msg:"CPE default chargeable event is not configured and attempt to configure failed."},V("cpeChargeableEventConfigureFailed",h)),f=0==this.mb.length&&!!dj[f]||Ea(this.mb,f),f=this.xa.cpeEnabled()&&
!!Xj()&&!this.bg&&f);if(f){if(this.bg=!0,d=this.rb,d.aa.chargeableAction=e,d.aa.cycleWasCharged=!0,d.aa.currentState=1,ak(d.dd),lk(this,e,new hk(dj[e]||dj.GENERIC_ENGAGEMENT,Xj()),1,c.time,!0,c.data,!1),1<c.count){this.Ad[e]=!0;d=[];if(q(c.data))for(f=1;f<c.data.length;++f)d.push(Wa(c.data[f]));mk(this,e,{count:c.count-1,time:0,data:d,unifiedReportingEvent:c.unifiedReportingEvent})}}else if((f=m($i[Zi(e)]))?jj()||(f="Unknown",m(window.adData)?f="FLASH_TEMPLATE or HTML5_TEMPLATE":m(window.studioV2)&&
(f=da(window.studioV2.creatives)?"RICH_MEDIA":"HTML5_STUDIO_TEMPLATE"),f={context:"GdnEventReporter.shouldReportFreeEvent",msg:"free url is not set",eventName:e,cpeEnabled:!!this.xa.cpeEnabled(),chargeableUrlLength:Xj().length,creativeType:f},V("noFreeUrl",f),f=!1):f=!1,f)mk(this,e,c);else if(m(bj[Zi(e)]))qf(bj[Zi(e)]);else if(m(cj[Zi(e)]))V(cj[Zi(e)]);else if(ih("log_ignored_events")&&"Counter"==d.trigger&&"CUSTOM_EVENT"==d.type)c=encodeURIComponent(e+",").length,this.md+=c,this.md>this.rh&&(nk(this),
this.md=c),Ia(this.oe,e);else if(this.cb){c=e;switch(Wi[c.toUpperCase()]){case 10048:this.cb.oa("creativerendered");break;case 10056:this.cb.oa("videoplaying")}d=this.cb;null!=d.zd[c]&&d.oa(c)}this.Ad[e]=!0}}};
var mk=function(a,b,c){lk(a,b,new jk($i[Zi(b)],jj()||""),c.count,c.time,!1,c.data,!!a.Ad[b])},lk=function(a,b,c,d,e,f,h,k){for(var p=0;p<d;++p){var v=[];q(h)&&h.length>p&&(v=fk(h[p]));if(null!==v&&"engstart"in v)dk(a.rb,b);else if(null!==v&&"engend"in v){var x=a.rb;x.xd=A();var B=x.dd;B.yb&&(B.yb=!1,B.Zc=!0,B.Zb+=A()-B.qc,B.qc=null);clearTimeout(B.bd);B.bd=null;B.Wa=null;B.Jb=0;x.aa.currentState=0;x.aa.timestamp=A();x=v;var z=a.rb;if(z.xd){B=z.xd-z.yd;z=z.dd;if(z.yb)var N=A()-z.qc,z=z.Zb+N;else z=
z.Zb;B-=z}else B=0;x.explen=""+B}x=a.xa;B=f;z={};x.F&&(N=x.F.ic(),N=Infinity==N?-1:N,z.engdelay=N.toString(),z.notifier=x.F.ub(),N=x.F.Ed(),z.engactd=N,8==N&&(B=!1),B&&$a(z,x.F.vg()));t(x.pd)&&(z.visfrc=x.pd);null===x.Hb||(z.viscrd=x.Hb.top+","+x.Hb.left+","+x.Hb.bottom+","+x.Hb.right);B=x=z;z=a.rb.getEngagementState();N={};N.engcyc=z.engagementCycle;z.engagementAction&&(N.engact=z.engagementAction);N.cycchrg=z.cycleWasCharged;z.chargeableAction&&(N.chrgact=z.chargeableAction);$a(B,N);$a(x,v);B=c.setTime(e);
B.Ee=k;B.data=x;if(x=B.Yf())2E3<x.length&&V("reporting-url-too-long"),Fe(F,x,void 0),0<e&&(e=0),k=!0;null!==v&&"engend"in v&&nk(a)}};g=kk.prototype;g.getEngagementState=function(){return this.rb.getEngagementState()};g.registerChargeableEventName=function(a){Ea(this.mb,a)||Ia(this.mb,a)};g.logCustomVariable=n;g.getType=function(){return"GDN"};g.getConfig=function(){return{reportingApiVersion:2}};g.newReporterCallback=function(a){u(a.getType)&&"STUDIO"==a.getType()&&(this.xa.jj=!0)};
g.supportsChargeableEvents=function(){return this.xa.cpeEnabled()};g.ye=function(){if(!F.CREATIVE_TOOLSET_PARAMS||null==T().NEVER_CHARGE_FOR_EXPANSION)return!1;T().NEVER_CHARGE_FOR_EXPANSION&&0==this.mb.length&&Yi().registerChargeableEventName("GENERIC_ENGAGEMENT");return this.jg=!0};g.Cf=function(a){this.rb.Cf(a)};var nk=function(a){0!=a.oe.length&&(qf("unreportedEvents",{events:a.oe},1),a.oe=[],a.md=0)};var ok=null,pk=!1,qk=function(a,b){if(null!=ok&&!ok.ta)return ok;ok=new kk(a,b);Yi().addReporter(ok);return ok};var rk=function(){J.call(this);this.Ka=null};D(rk,J);rk.prototype.j=function(){Q(this.Ka);this.Ka=null;rk.l.j.call(this)};rk.prototype.show=function(a){this.Ka||(this.Ka=Oc("DIV"),E.body.appendChild(this.Ka));$e(this.Ka,"fading-text-overlay");Uc(this.Ka,a);$e(this.Ka,"shown");setTimeout(w(function(){bf(this.Ka,"shown")},this),5E3)};var Z=function(){R.call(this);this.N=this.Ta=!1;this.df=!0;this.Ae=new P(0,0);this.Ze=this.wf=this.Cc=this.Ye=this.Hc=this.Ge=null;this.$f=new Yc(0,0,0,0);this.K=new P(0,0);this.M=new P(0,0);this.cf=null;this.Ya=0;this.Sb=this.F=null;this.Oa=this.Je=this.Bd=this.Dd=!1;this.gc=sk||(sk=new Wj);tk||(tk=new tj);this.cb=tk;this.Va=qk(this.gc,this.cb);var a=null;null!=this.Va&&(yb(this,y(K,this.Va)),a=this.Va.getEngagementState());this.$h=new Vj(this.gc,a);this.Ic=0;this.R=this.Ea=this.Sd=null;this.re=
new X;var a=w(this.ti,this),b=/[&\?#]exk=([^& ]+)/.exec(F.location.href),b=new ii(T().AD_KEY||0,b&&2==b.length?b[1]:null);if(b.Ca||b.sa)Qd(F,"message",y(yi,b,a)),ki=F.setInterval(Xe(y(ni,2,b,void 0,void 0,void 0,void 0,void 0)),500);this.lc=null;this.Lf=new rk;yb(this,y(K,this.Lf));this.Lb=new Ih;this.rc=null;this.tf()},tk,uk,vk;D(Z,R);
Z.prototype.tf=function(){this.instantlyResizeWindow=Y("CTB-instantlyResizeWindow",w(this.instantlyResizeWindow,this));this.getCollapsedHeight=Y("CTB-getCollapsedHeight",w(this.getCollapsedHeight,this));this.getCollapsedWidth=Y("CTB-getCollapsedWidth",w(this.getCollapsedWidth,this));this.getExpandedHeight=Y("CTB-getExpandedHeight",w(this.getExpandedHeight,this));this.getExpandedWidth=Y("CTB-getExpandedHeight",w(this.getExpandedWidth,this));this.getMaxExpandableSize=Y("CTB-getMaxExpandableSize",w(this.getMaxExpandableSize,
this));this.isExpanded=Y("CTB-isExpanded",w(this.isExpanded,this));this.isExpansionEnabled=Y("CTB-isExpansionEnabled",w(this.isExpansionEnabled,this));this.shouldMaintainCoordinates=Y("CTB-shouldMaintainCoordinates",w(this.shouldMaintainCoordinates,this));this.getConfig=Y("CTB-getConfig",w(this.getConfig,this));this.dispose=Y("CTB-dispose",w(this.dispose,this));this.reportEngagement=Y("CTB-reportEngagement",w(this.reportEngagement,this));this.setChargeableAction=Y("CTB-setChargeableAction",w(this.setChargeableAction,
this));this.eb=Y("CTB-listen",w(this.eb,this));this.Rb=Y("CTB-listenOnce",w(this.Rb,this));this.Fb=Y("CTB-unlisten",w(this.Fb,this));this.$b=Y("CTB-unlistenByKey",w(this.$b,this));this.hf=Y("CTB-notifyResizingToRenderingLibrary",w(this.hf,this))};Z.prototype.j=function(){zb(this.F,this.Ea);this.R=this.Ea=this.F=null;this.re=new X;this.Lb.dispose();null!=si&&(si.dispose(),si=null);Z.l.j.call(this)};var sk=new Wj;
Z.prototype.Yg=function(a){if(this.isExpanded()&&!this.Oa){var b=null!=this.F&&"LargeCanvasEngagement"==this.F.ub()?10009:10010;a=a||{};a.engend=!0;nj(b,a)}};var wk=function(a,b){null!=a.lc&&$c(a.lc,{display:b?"block":"none"})};Z.prototype.instantlyResizeWindow=function(a,b){xk(this,w(function(){T().ALLOW_INSTANT_RESIZING?this.isExpanded()||0<=a&&0<=b&&yk(this,new P(a,b)):zk(this,"illegal_instant_resizing",{resizew:a,resizeh:b})},this))};
Z.prototype.getMaxExpandableSize=function(a){this.Sb?Eg(this.Sb,a):(this.Sb=new X,Eg(this.Sb,a),Ak(this,"maxsize")||(this.Rc=!0))};var xk=function(a,b){Eg(a.re,b);!a.re.Ha&&a.re.Da()};Z.prototype.setExternalResizeCallback=function(a){this.wf=a};Z.prototype.hf=function(){this.wf?this.wf():V("resize-callback-is-not-defined")};var Bk=function(a){a.Dd=!0;null!==a.Cc&&(a.Bd=!1,a.Cc())},Ck=function(a){a=1==a.Ya;var b=ih("external_overlay");return U()&&!Ij()&&a&&b};
Z.prototype.wi=function(){var a=T();qf("toolset-params-available");Dk(this)||(this.F=Ek(this,this.Oa?"NoOp":a.ENGAGEMENT_NOTIFIER),U()&&(this.Ic=a.ENGAGEMENT_BORDER_WIDTH||10,this.Ea=Ek(this,"InstantlyEngage"),this.dh(),ae("touchstart",this.mj,!1,this)))};var Ek=function(a,b){var c=Uj(b,a.cb);yb(a,y(K,c));L(c,"removed",a.Qi,!1,a);"LargeCanvasEngagement"==b?(a.N=!0,a.Ta=!1,null!=a.Va&&a.Va.Cf(2),a.gc.F=c):"AutoExpand"==b&&a.Ze&&a.Ze();return c};g=Z.prototype;g.ye=function(){null!=this.Va&&this.Va.ye()};
g.dh=function(){if(this.Ea){var a=Mc();0==a.height&&(a.height=window.innerHeight);this.$f=new Yc(this.Ic,a.width-this.Ic,a.height-this.Ic,this.Ic)}};g.mj=function(a){this.Sd=fd(a)};g.getCollapsedHeight=function(){return this.M.height};g.getCollapsedWidth=function(){return this.M.width};g.getExpandedHeight=function(){return this.K.height};g.getExpandedWidth=function(){return this.K.width};g.isExpanded=function(){return this.N};g.isExpansionEnabled=function(){return this.Ta};
g.shouldMaintainCoordinates=function(a){this.df=a};
var Gk=function(a,b){if("function"==typeof b&&a.Ta&&!a.N&&!a.ab()){var c=w(function(){this.dispatchEvent("expanding");b()},a);a.cb.oa("expansionrequested");var d=w(function(a){if(null!=a){if(a.lightboxWidth<this.getExpandedWidth()){this.Lf.show("Zoom out for the full experience");Fk(this,{overlay:!0,maxw:a.lightboxWidth,maxh:a.lightboxHeight});this.F&&this.F.remove();this.Ea&&this.Ea.remove();return}a=this.Lf;a.Ka&&bf(a.Ka,"shown")}this.Ea&&this.$f.contains(this.Sd)?this.R=this.Ea:this.F&&(this.R=
this.F,this.Ea&&!this.Sd&&zk(this,"incompatible_with_1_point_5_click"));null!==this.R&&(this.gc.F=this.R,this.R.start(c,w(this.Ah,this)))},a);U()&&1==a.Ya?a.getMaxExpandableSize(d):d()}};Z.prototype.Qi=function(){this.Sd=null};
var Jk=function(a,b,c){a.N=!0;null===a.R||a.R.Xb(!0);a.df&&Hk(a,b,c);wk(a,!0);Ik(!1);a.Lb.fd&&(Jh(a.Lb),a.rc=Vb(F,"popstate",a.ni,!1,a));var d=Ck(a);a.Oa||!a.R&&!d||(d=d?29:a.R.hc(),nj(d,{engstart:!0}));1==a.Ya&&(d=w(function(a){(a.lightboxWidth<b.width||a.lightboxHeight<b.height)&&Fk(this,{overlay:!1,maxw:a.lightboxWidth,maxh:a.lightboxHeight,bc:T().MOBILE_BROWSER_CLASS})},a),a.getMaxExpandableSize(d));u(a.Ge)&&(a.Ge(b.width,b.height,c),a.cb.oa("expansioncompleted"))};
Z.prototype.ni=function(){this.N&&this.Lb.cg()&&Kk(this)};var Dk=function(a){return!a.Oa&&Ck(a)?(a.Bd=!1,a.Dd=!1,a.Je=!1,a.gd(),!0):!1},Lk=function(a,b){a.Sb&&(a.Sb.Da(b),a.Sb=null)},Kk=function(a){null!==a.R&&a.ab()?a.R.Xb(!1):"function"===typeof a.Ye&&a.Ye();var b;if(b=a.Lb.fd)b=a.Lb,b=null!==b.na&&b.na.state!=F.history.state;b&&(M(a.rc),a.rc=null,a=a.Lb,a.rc=Vb(F,"popstate",a.cg,!1,a),F.history.back())};Z.prototype.Ah=function(){u(this.Cc)&&this.Cc()};
var Ik=function(a){var b=E.getElementById("abgc");b&&jd(b,a);(b=E.getElementById("BAP-holder"))&&jd(b,a);(b=E.getElementById("cbc"))&&jd(b,a)},Hk=function(a,b,c){if(1===a.Ya){var d=E.body;c=Math.round((b.width-a.M.width)/2);0<c&&$c(d,"marginLeft",c+"px");a=Math.round((b.height-a.M.height)/2);0<a&&$c(d,"marginTop",a+"px")}else{d=E.body;if(0==c||3==c){var e=b.width-a.M.width;0<e&&$c(d,"marginLeft",e+"px")}if(0==c||1==c)a=b.height-a.M.height,0<a&&$c(d,"marginTop",a+"px")}};
Z.prototype.ab=function(){return!!this.R&&this.R.Pd()};Z.prototype.reportEngagement=function(a,b){this.Oa||nj(a,b)};Z.prototype.setChargeableAction=function(a){!this.Oa&&"number"===typeof a&&ej[a]&&dj[ej[a]]&&(a=ej[a])&&Yi().registerChargeableEventName(a)};
var Fk=function(a,b){var c={expandw:a.getExpandedWidth(),expandh:a.getExpandedHeight()};Qe(b,function(a,b){c[b]=a});b=T();m(b.EXPANSION_CLICK_INFO)&&(c.ai=b.EXPANSION_CLICK_INFO);zk(a,"oversized_expansion",c)},zk=function(a,b,c){c=Va(c||{});c.ee=a.isExpansionEnabled()?1:0;c.ie=a.isExpanded()?1:0;c.em=a.Ya;c.p=a.Oa?1:0;c.not=a.F&&a.F.ub();a.Ea&&(c.not+=","+a.Ea.ub());mj(b,c)};Z.prototype.ti=function(a){this.Oa||(this.gc.pd=a.pd,this.gc.Hb=a.Hb||null)};Z.prototype.getConfig=function(){return this.$h};var Mk={"become-active-on-pub":!0,"become-idle-on-pub":!0,"document-is-hidden":!0,"document-not-in-focus":!0,"drag-to-expand-background-touch":!0,"drag-to-expand-end":!0,"drag-to-expand-tap-timeout":!0,"drag-to-expand-tap":!0,"dispose-external-notifier-timeout":!0,"external-notifier-invalid-iframe-or-win":!0,"external-border-tap":!0,"external-center-tap":!0,"lightbox-behind-content":!0,"lightbox-not-in-focus":!0,"unknown-external-notifier":!0,viewport:!0,"viewport-resized":!0,"collapse-target":!0,
"survey-created":!0,"survey-response":!0,"survey-closed":!0,"survey-duration":!0,"survey-iframe-not-created":!0},Nk=/^[\w,]*$/,Ok=function(a,b){switch(a){case "url":return!0;case "e":return null!==b.match(Nk);case "event":return"lbstart"==b;case "ew":case "eh":case "lw":case "lh":case "vw":case "vh":return!isNaN(parseFloat(b));case "holdComplete":return"true"==b||"false"==b;case "direction":return"up"==b||"down"==b||"left"==b||"right"==b||"none"==b;case "distance":case "duration":case "progress":return!isNaN(parseFloat(b));
case "state":return"hooked"==b||"tapunhooked"==b||"holdunhooked"==b||"middrag"==b||"expanding"==b;case "oldWidth":case "oldHeight":case "newWidth":case "newHeight":return!isNaN(parseFloat(b));case "collapseTarget":return"close-button"==b||"background-overlay"==b;case "questionIndex":return!isNaN(parseFloat(b));case "questionType":return"multiple-choice"==b||"stars-rating"==b;case "answerOrder":case "answerIndex":return!isNaN(parseFloat(b));case "answerId":return!isNaN(parseFloat(b))}return!1};var Rk=function(){if(Pk&&!Pk.ta)return Pk;Z.call(this);Pk=this;this.Y=this.m=null;this.Qg=this.Rc=!1;this.M=Mc(F).clone();var a=F.parent;a?a.postMessage(wd({notify:"expandable-xpc-ready",googMsgType:"ct"}),"*"):V("xpc-no-pub");a=Qk(E.URL);if(!m(a.cn)){var b=rj();b=b?b.adUrl:void 0;(b=b||"")&&(a=Qk(b))}m(a.cn)&&(this.m=new Yg(a),fg(this.m,w(this.Se,this)),this.m.connect(w(this.Ai,this)),this.Y=$f(this.Pe,3E4,this))};D(Rk,Z);
Rk.prototype.tf=function(){Rk.l.tf.call(this);this.collapseWindow=Y("XCT-collapseWindow",w(this.collapseWindow,this));this.expandWindow=Y("XCT-expandWindow",w(this.expandWindow,this));this.enableExpansion=Y("XCT-enableExpansion",w(this.enableExpansion,this))};var Pk=null;Rk.prototype.j=function(){l.clearTimeout(this.Y);K(this.m);this.m=this.Y=null;Rk.l.j.call(this)};
Rk.prototype.enableExpansion=function(a){this.Ta=!0;if(a){var b=a.height,c=a.collapseCallback,d=a.initiateCollapseCallback,e=a.aboutToExpandCallback,f=a.initiateFullscreenExpansionCallback,h=a.expansionMode,b=Re(a.width)&&Re(b),c=u(a.expansionCallback)&&u(c)&&(Pe(d)||u(d))&&(Pe(e)||u(e))&&(Pe(f)||u(f)),c=b&&c;if("undefined"!==typeof h){if(!t(h)||0>h||2<=h)c=!1;1!==h||d||(c=!1)}if(this.Ta=c)this.Ae=new P(a.width,a.height),this.K=this.Ae.clone(),this.Ge=a.expansionCallback,this.Hc=a.collapseCallback,
this.Ye=u(a.initiateCollapseCallback)?a.initiateCollapseCallback:null,d=a.aboutToExpandCallback,this.Cc=u(d)?d:null,this.Ze=u(a.initiateFullscreenExpansionCallback)?a.initiateFullscreenExpansionCallback:null,this.Ya=a.expansionMode||0,1===this.Ya&&this.shouldMaintainCoordinates(!1),xk(this,w(this.wi,this)),ib&&1==this.Ya&&!Ij()&&(this.lc=E.createElement("div"),this.lc.id="inframe-close-button",d=Math.floor(21),$c(this.lc,{height:d+"px",width:d+"px"}),E.body.appendChild(this.lc)),u(a.toolsetReadyCallback)&&
xk(this,a.toolsetReadyCallback),this.Oa||$d(this,Vb(F,"pagehide",w(this.Yg,this,{unload:!0}),!0,this));$d(this,L(F,"resize",this.dh,!1,this))}else this.Ta=!1;a=this.Ta;return a?!0:!1};var Qk=function(a){var b;b=bh(a,"xpc");a=bh(a,"p");var c={};c.cn=b;c.ph=a;c.ppu=eh(a);c.lpu=eh();return c};Rk.prototype.Pe=function(){this.m&&!this.m.Ia()&&(K(this.m),this.m=null,zk(this,"xct-commTimeout"),this.Rc&&Lk(this,{lightboxWidth:0,lightboxHeight:0}))};
Rk.prototype.expandWindow=function(a,b){!this.Ta||this.N||this.ab()||(a&&b&&(this.K=(new P(a,b)).clone()),Ck(this)?this.Dd&&(this.Bd=!0,this.Je&&this.uf()):Gk(this,w(this.uf,this)))};Rk.prototype.gd=function(){this.Qg&&Ak(this,"startExternalNotifier")};Rk.prototype.uf=function(){var a=this.K.clone();Ak(this,["expand_w",a.width,"_h",a.height,"_m",this.Ya].join(""))};var yk=function(a,b){Ak(a,["resize_w",b.width,"_h",b.height].join(""))};
Rk.prototype.collapseWindow=function(){this.Ta&&this.N&&Ak(this,"collapse")};var Ak=function(a,b){if(a.m&&a.m.Ia())return a.m.send("expandable_ad",b),!0;zk(a,"xct-commError",{msg:b});return!1};g=Rk.prototype;
g.Se=function(a){var b=a.split("_");if("ok"===b[0]){for(var c,d,e,f=new P(0,0),h=2;h<b.length;++h){var k=b[h].charAt(0),p=parseInt(b[h].substring(1),10);"w"==k?f.width=p:"h"==k?f.height=p:"d"==k?c=p:"i"==k?d=p:"e"==k&&(e=p)}"expand"==b[1]&&Re(f.width)&&Re(f.height)&&t(c)&&0<=c?Jk(this,f,c):"collapse"==b[1]&&Re(f.width)&&Re(f.height)?(this.Yg(),this.N=!1,null!==this.R&&(this.R.Xb(!1),Nd&&"DesktopProgressBarHover"==this.R.ub()&&(K(this.F),this.R=this.F=Ek(this,"DesktopClickToExpand"))),this.df&&$c(E.body,
{marginLeft:0,marginTop:0}),wk(this,!1),Ik(!0),this.dispatchEvent("collapsed"),this.K=this.Ae.clone(),"function"==typeof this.Hc&&this.Hc(f.width,f.height),Dk(this)):"resize"==b[1]&&Re(f.width)&&Re(f.height)?this.M=f.clone():"maxsize"==b[1]&&t(d)&&t(e)?Lk(this,{lightboxWidth:d,lightboxHeight:e}):"params"==b[1]?(this.Qg=!0,Ck(this)&&this.gd()):zk(this,"xct-badMsg",{Oi:a})}else if("initiateCollapse"===b[0])Kk(this);else if("externalNotifierAboutToComplete"===b[0])Bk(this);else if("externalNotifierComplete"===
b[0])this.Je=!0,this.Dd?this.Bd&&this.uf():Bk(this);else if("externalLog"===b[0]){if(4<=b.length){a=b[1];c=b[2];d=parseFloat(b[3]);e={};for(h=4;h+1<b.length;h+=2)Ok(b[h],b[h+1])&&(e[b[h]]=b[h+1]);!Mk[a]||"ct-error"!=c&&"ct-info"!=c||pf(c,a,e,d)}}else"parentViewportResized"===b[0]?this.hf():zk(this,"xct-badMsg",{Oi:a})};g.setExpandProperties=function(a,b,c){"lightbox"==a&&b&&c&&yk(this,new P(b,c))};
g.Ai=function(){l.clearTimeout(this.Y);this.Y=null;this.m&&this.m.Ia()||(K(this.m),this.m=null,zk(this,"xct-commNotFound"),this.Rc&&Lk(this,{lightboxWidth:0,lightboxHeight:0}));var a=wd(kf());Ak(this,"params_"+a);a=wd({ENABLE_OUT_OF_FOCUS_EXPANSION:(F.CREATIVE_TOOLSET_PREVIEW_PARAMS||{}).ENABLE_OUT_OF_FOCUS_EXPANSION});Ak(this,"previewParams_"+a);this.Rc&&!Ak(this,"maxsize")&&(this.Rc=!0)};g.dispatchEvent=function(a){var b=Rk.l.dispatchEvent.call(this,a);Ak(this,a);return b};
g.setExternalResizeCallback=function(a){Rk.l.setExternalResizeCallback.call(this,a);Ak(this,"setResponsive")};
(function(a){function b(){if(uk&&!uk.ta)return uk;a.call(this);uk=this;this.Oa=!0;null!=this.Va&&(this.Va.dispose(),this.Va=null);return uk}D(b,a);C("CreativeToolset",a);C("CreativeToolset.prototype.collapseWindow",a.prototype.collapseWindow);C("CreativeToolset.prototype.enableExpansion",a.prototype.enableExpansion);C("CreativeToolset.prototype.expandWindow",a.prototype.expandWindow);C("CreativeToolset.prototype.instantlyResizeWindow",a.prototype.instantlyResizeWindow);C("CreativeToolset.prototype.getCollapsedHeight",
a.prototype.getCollapsedHeight);C("CreativeToolset.prototype.getCollapsedWidth",a.prototype.getCollapsedWidth);C("CreativeToolset.prototype.getExpandedHeight",a.prototype.getExpandedHeight);C("CreativeToolset.prototype.getExpandedWidth",a.prototype.getExpandedWidth);C("CreativeToolset.prototype.getMaxExpandableSize",a.prototype.getMaxExpandableSize);C("CreativeToolset.prototype.isExpanded",a.prototype.isExpanded);C("CreativeToolset.prototype.isExpansionEnabled",a.prototype.isExpansionEnabled);C("CreativeToolset.prototype.setExternalResizeCallback",
a.prototype.setExternalResizeCallback);C("CreativeToolset.prototype.setExpandProperties",a.prototype.setExpandProperties);C("CreativeToolset.prototype.shouldMaintainCoordinates",a.prototype.shouldMaintainCoordinates);C("CreativeToolset.prototype.reportEngagement",a.prototype.reportEngagement);C("CreativeToolset.prototype.setChargeableAction",a.prototype.setChargeableAction);C("CreativeToolset.prototype.getConfig",a.prototype.getConfig);C("CreativeToolset.prototype.dispose",a.prototype.dispose);C("CreativeToolsetProxy",
b);C("CreativeToolsetProxy.prototype",CreativeToolset.prototype);C("CreativeToolset.BrowserClass.DESKTOP",0);C("CreativeToolset.BrowserClass.MOBILE_WEB",1);C("CreativeToolset.BrowserClass.IN_APP",2);C("EngagementAction",Wi);C("CreativeToolset.EngagementAction",Wi);C("CreativeToolset.ExpansionMode",jf);C("CreativeToolset.EngagementCycleParam",Vi);tk=new tj;vk=function(){return new a};C("CreativeToolset.getInstance",vk);qk(sk,tk);L(F,"load",function(){if(!pk){var a=new hj;Yi().addReporter(a);pk=!0}(a=
pj("search_lift_impression"))&&Yi().reportEvents([a])});C("CreativeToolset.internals.creativeBodyRemoteEventSink",be);C("CreativeToolset.internals.enableRemoteEvents",ce);C("CreativeToolset.internals.gen204.sampledInfo",qf);C("CreativeToolset.internals.gen204.sampledError",V);Z.prototype.listen=Z.prototype.eb;Z.prototype.listenOnce=Z.prototype.Rb;Z.prototype.unlisten=Z.prototype.Fb;Z.prototype.unlistenByKey=Z.prototype.$b})(Rk);if(Se(document.URL)){window.CreativeToolset.getInstance().dispose();var Sk=document.createElement("script");Sk.src="//pagead2.googlesyndication.com/pagead/js/creativetoolset/expansion_embed_dbg.js";document.body.appendChild(Sk)}else{var Tk=F.google_eas_queue;if(Tk&&q(Tk))for(var Uk=0;Uk<Tk.length;Uk++)Tk[Uk]&&Qi(Tk[Uk]);F.google_eas_queue={push:Qi}};}).call(this);
