(function(){var h,ba=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); n("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c>>0),Aa=0,Ba=function(a,b,c){return a.call.apply(a.bind,arguments)},Ca=function(a,b,c){if(!a)throw Error();if(arguments.length> 2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},w=function(a,b,c){w=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ba:Ca;return w.apply(null,arguments)},Da=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this, d)}},A=function(){return Date.now()},B=function(a,b){a=a.split(".");var c=t;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},C=function(a,b){function c(){}c.prototype=b.prototype;a.X=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.xd=function(d,e,f){for(var g=Array(arguments.length-2),k=2;k=0)&&Array.prototype.splice.call(a,b,1);return c}function Oa(a){return Array.prototype.concat.apply([],arguments)}function Pa(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:0};var Wa,Xa=u("CLOSURE_FLAGS"),Ya=Xa&&Xa[610401301];Wa=Ya!=null?Ya:!1;function Za(){var a=t.navigator;return a&&(a=a.userAgent)?a:""}var $a,ab=t.navigator;$a=ab?ab.userAgentData||null:null;function bb(a){return Wa?$a?$a.brands.some(function(b){return(b=b.brand)&&b.indexOf(a)!=-1}):!1:!1}function G(a){return Za().indexOf(a)!=-1};function cb(){return Wa?!!$a&&$a.brands.length>0:!1}function db(){return cb()?!1:G("Opera")}function eb(){return G("Firefox")||G("FxiOS")}function fb(){return cb()?bb("Chromium"):(G("Chrome")||G("CriOS"))&&!(cb()?0:G("Edge"))||G("Silk")};function gb(){return G("iPhone")&&!G("iPod")&&!G("iPad")};var ib=function(a){var b=hb;return Object.prototype.hasOwnProperty.call(b,"10")?b["10"]:b["10"]=a("10")};var jb=db(),kb=cb()?!1:G("Trident")||G("MSIE"),lb=G("Edge"),mb=G("Gecko")&&!(Za().toLowerCase().indexOf("webkit")!=-1&&!G("Edge"))&&!(G("Trident")||G("MSIE"))&&!G("Edge"),nb=Za().toLowerCase().indexOf("webkit")!=-1&&!G("Edge"),ob=Wa&&$a&&$a.platform?$a.platform==="Android":G("Android"),pb=function(){var a=t.document;return a?a.documentMode:void 0},sb; a:{var tb="",ub=function(){var a=Za();if(mb)return/rv:([^\);]+)(\)|;)/.exec(a);if(lb)return/Edge\/([\d\.]+)/.exec(a);if(kb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(nb)return/WebKit\/(\S+)/.exec(a);if(jb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();ub&&(tb=ub?ub[1]:"");if(kb){var vb=pb();if(vb!=null&&vb>parseFloat(tb)){sb=String(vb);break a}}sb=tb}var wb=sb,hb={},xb=function(){return ib(function(){return Ua(wb,"10")>=0})},yb; if(t.document&&kb){var zb=pb();yb=zb?zb:parseInt(wb,10)||void 0}else yb=void 0;var Ab=yb;var Bb=eb(),Cb=gb()||G("iPod"),Db=G("iPad"),Eb=G("Android")&&!(fb()||eb()||db()||G("Silk")),Fb=fb(),Gb=G("Safari")&&!(fb()||(cb()?0:G("Coast"))||db()||(cb()?0:G("Edge"))||(cb()?bb("Microsoft Edge"):G("Edg/"))||(cb()?bb("Opera"):G("OPR"))||eb()||G("Silk")||G("Android"))&&!(gb()||G("iPad")||G("iPod"));var Hb={},Ib=null;var Jb=typeof Uint8Array!=="undefined",Kb=!kb&&typeof btoa==="function";var Lb=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};function Mb(){var a=Error("int32");Lb(a,"warning");return a};var Nb=typeof Symbol==="function"&&typeof Symbol()==="symbol",Ob=typeof Symbol==="function"&&typeof Symbol()==="symbol"?Symbol():void 0;Math.max.apply(Math,la(Object.values({gd:1,ed:2,dd:4,kd:8,jd:16,hd:32,Ic:64,ud:128,Wc:256,Vc:512,fd:1024,Qc:2048,qd:4096,Rc:8192,Lc:16384})));var Tb=Nb?function(a){return a[Ob]|0}:function(a){return a.Da|0},Ub=Nb?function(a){return a[Ob]}:function(a){return a.Da},Vb=Nb?function(a,b){a[Ob]=b}:function(a,b){a.Da!==void 0?a.Da=b:Object.defineProperties(a,{Da:{value:b,configurable:!0,writable:!0,enumerable:!1}})};var Wb={},Xb={};function Yb(a){return!(!a||typeof a!=="object"||a.g!==Xb)}function Zb(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function $b(a){return!Array.isArray(a)||a.length?!1:Tb(a)&1?!0:!1};var ac=typeof t.BigInt==="function"&&typeof t.BigInt(0)==="bigint";var bc=Number.MIN_SAFE_INTEGER.toString(),cc=ac?BigInt(Number.MIN_SAFE_INTEGER):void 0,dc=Number.MAX_SAFE_INTEGER.toString(),ec=ac?BigInt(Number.MAX_SAFE_INTEGER):void 0;function fc(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d=1024)throw Error("pvtlmt");e=e&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,d-(+!!(e&512)-1));if(b>1024)throw Error("spvt");e= e&-33521665|(b&1023)<<15}}}Vb(a,e);return a};function mc(a,b){return nc(b)} function nc(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return(ac?a>=cc&&a<=ec:a[0]==="-"?fc(a,bc):fc(a,dc))?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if($b(a))return}else if(Jb&&a!=null&&a instanceof Uint8Array){if(Kb){for(var b="",c=0,d=a.length-10240;c>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|k>>6];k=b[k&63];c[e++]=""+g+l+m+k}g=0;k=d;switch(a.length-f){case 2:g=a[f+1],k=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+k+d}a=c.join("")}return a}}return a};function oc(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=$b(a)?void 0:e&&Tb(a)&2?a:pc(a,b,c,d!==void 0,e);else if(Zb(a)){var f={},g;for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&(f[g]=oc(a[g],b,c,d,e));a=f}else a=b(a,d);return a}}function pc(a,b,c,d,e){var f=d||c?Tb(a):0;d=d?!!(f&32):void 0;a=Array.prototype.slice.call(a);for(var g=0;g>15&1023||536870912;if(b>=e){var f=d;if(d&256)var g=a[a.length-1];else{if(c==null)break a;g=a[e+(+!!(d&512)-1)]={};f|=256}g[b]=c;b0;b--){k=c[b-1];if(!(k==null||$b(k)||Yb(k)&&k.size===0))break;var E=!0}if(c!==a||g||E){if(!e)c=Array.prototype.slice.call(c,0,b);else if(E||g||l)c.length=b;l&&c.push(l)}E=c}else E=a;return E};var xc=function(a){this.pa=lc(a)};r(xc,uc);var yc=function(a){this.pa=lc(a)};r(yc,uc);var zc=function(a){var b="&rmfb="+(typeof window.vv).substr(0,3);return a.substring(a.length-7)=="&adurl="?a.substring(0,a.length-7)+b+"&adurl=":a+b};function Ac(a){return a=a===void 0?window:a};var Bc=function(){},Cc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};var Dc=function(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)},Ec=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var Fc=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};Fc.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Fc.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Fc.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};var H=function(a,b){this.width=a;this.height=b},Gc=function(a){return new H(a.width,a.height)};H.prototype.aspectRatio=function(){return this.width/this.height};H.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};H.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};H.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Hc(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ic(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}function Jc(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}var Kc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Lc(a,b){for(var c,d,e=1;e/g,">").replace(/"/g,""").replace(/'/g,"'");return Vc(a)}function rd(a){var b=qd("");return Vc(a.map(function(c){return Wc(qd(c))}).join(Wc(b).toString()))}var sd=/^[a-z][a-z\d-]*$/i,td="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),ud="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),vd=["action","formaction","href"]; function wd(a){var b;if(!sd.test("div"))throw Error("");if(td.indexOf("DIV")!==-1)throw Error("");var c="":(a=rd(b.map(function(d){return d instanceof Uc?d:qd(String(d))})),c+=">"+a.toString()+"");return Vc(c)} function xd(a){for(var b="",c=Object.keys(a),d=0;dc){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c; b=a[0]+(a[1]?"?"+a[1]:"")+a[2]}else b=a;return b},Ld=/#|$/;var Md=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())};function Nd(){var a=a===void 0?window:a;if(a.interstitialAdFrame){var b;return(b=a.interstitialAdFrame)!=null?b:null}try{var c;return(c=a.parent.interstitialAdFrame)!=null?c:null}catch(d){}return null};var Od=function(a,b){this.v=Math.random()1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d2*this.size&&de(this),!0):!1};var de=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Yd;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var ee=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var fe=function(a){if(a.ka&&typeof a.ka=="function")return a.ka();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(xa(a)){for(var b=[],c=a.length,d=0;d-1){e=typeof e==="number"?e:1;for(var f=0;f-1?(b=a[g],c||(b.ya=!1)):(b=new ue(b,this.src,f,!!d,e),b.ya=c,a.push(b));return b}; var ye=function(a,b){var c=b.type;c in a.g&&Na(a.g[c],b)&&(ve(b),a.g[c].length==0&&(delete a.g[c],a.j--))},ze=function(a,b,c,d,e){a=a.g[b.toString()];b=-1;a&&(b=xe(a,c,d,e));return b>-1?a[b]:null},xe=function(a,b,c,d){for(var e=0;e-1&&(ve(f[c]),Array.prototype.splice.call(f,c,1),f.length==0&&(delete a.g[b],a.j--)))):a&&(a=df(a))&&(c=ze(a,b,c,d,e))&&jf(c)},jf=function(a){if(typeof a!=="number"&&a&&!a.wa){var b=a.src;if(se(b))ye(b.s,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture): b.detachEvent?b.detachEvent(ff(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ce--;(c=df(b))?(ye(c,a),c.j==0&&(c.src=null,b[Ae]=null)):ve(a)}}},ff=function(a){return a in Be?Be[a]:Be[a]="on"+a},gf=function(a,b){if(a.wa)a=!0;else{b=new qe(b,this);var c=a.listener,d=a.Ca||a.src;a.ya&&jf(a);a=c.call(d,b)}return a},df=function(a){a=a[Ae];return a instanceof we?a:null},kf="__closure_events_fn_"+(Math.random()*1E9>>>0),bf=function(a){if(typeof a==="function")return a;a[kf]||(a[kf]=function(b){return a.handleEvent(b)}); return a[kf]};var lf=function(a){N.call(this);this.j=a;this.g={}};C(lf,N);var mf=[];lf.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(mf[0]=b.toString()),b=mf);for(var e=0;e0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var rf=function(a,b){a.s(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var sf=function(){this.j=this.g=null};sf.prototype.add=function(a,b){var c=tf.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};var vf=function(){var a=uf,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.j=null),b.next=null);return b},tf=new qf(function(){return new wf},function(a){return a.reset()}),wf=function(){this.next=this.g=this.j=null};wf.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};wf.prototype.reset=function(){this.next=this.g=this.j=null};var xf,yf=!1,uf=new sf,Af=function(a,b){xf||zf();yf||(xf(),yf=!0);uf.add(a,b)},zf=function(){var a=Promise.resolve(void 0);xf=function(){a.then(Bf)}};function Bf(){for(var a;a=vf();){try{a.j.call(a.g)}catch(b){Ra(b)}rf(tf,a)}yf=!1};var Cf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Ef=function(a,b){this.g=0;this.D=void 0;this.s=this.j=this.o=null;this.v=this.A=!1;if(a!=Bc)try{var c=this;a.call(b,function(d){Df(c,2,d)},function(d){Df(c,3,d)})}catch(d){Df(this,3,d)}},Ff=function(){this.next=this.context=this.j=this.s=this.g=null;this.o=!1};Ff.prototype.reset=function(){this.context=this.j=this.s=this.g=null;this.o=!1}; var Gf=new qf(function(){return new Ff},function(a){a.reset()}),Hf=function(a,b,c){var d=Gf.get();d.s=a;d.j=b;d.context=c;return d},Jf=function(a,b,c){If(a,b,c,null)||Af(Da(b,a))},Kf=function(a){return new Ef(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,z){d--;e[m]=z;d==0&&b(e)},g=function(m){c(m)},k=0,l;k1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?Rf(c,b):(f?(d=f,d.next==c.s&&(c.s=d),d.next=d.next.next):Sf(c),Tf(c,e,3,b)))}a.o=null}else Df(a,3,b)},Of=function(a,b){a.j||a.g!=2&&a.g!=3||Uf(a);a.s?a.s.next=b:a.j=b;a.s=b},Nf=function(a,b,c,d){var e=Hf(null,null,null);e.g=new Ef(function(f,g){e.s=b?function(k){try{var l=b.call(d,k);f(l)}catch(m){g(m)}}:f;e.j=c?function(k){try{var l=c.call(d, k);l===void 0&&k instanceof Qf?g(k):f(l)}catch(m){g(m)}}:g});e.g.o=a;Of(a,e);return e.g};Ef.prototype.C=function(a){this.g=0;Df(this,2,a)};Ef.prototype.H=function(a){this.g=0;Df(this,3,a)}; var Df=function(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,If(c,a.C,a.H,a)||(a.D=c,a.g=b,a.o=null,Uf(a),b!=3||c instanceof Qf||Vf(a,c)))},If=function(a,b,c,d){if(a instanceof Ef)return Of(a,Hf(b||Bc,c||null,d)),!0;if(Cf(a))return a.then(b,c,d),!0;if(ya(a))try{var e=a.then;if(typeof e==="function")return Wf(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},Wf=function(a,b,c,d,e){var f=!1,g=function(l){f||(f=!0,c.call(e,l))},k=function(l){f||(f=!0,d.call(e, l))};try{b.call(a,g,k)}catch(l){k(l)}},Uf=function(a){a.A||(a.A=!0,Af(a.B,a))},Sf=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.s=null);return b};Ef.prototype.B=function(){for(var a;a=Sf(this);)Tf(this,a,this.g,this.D);this.A=!1}; var Tf=function(a,b,c,d){if(c==3&&b.j&&!b.o)for(;a&&a.v;a=a.o)a.v=!1;if(b.g)b.g.o=null,Xf(b,c,d);else try{b.o?b.s.call(b.context):Xf(b,c,d)}catch(e){Yf.call(null,e)}rf(Gf,b)},Xf=function(a,b,c){b==2?a.s.call(a.context,c):a.j&&a.j.call(a.context,c)},Vf=function(a,b){a.v=!0;Af(function(){a.v&&Yf.call(null,b)})},Yf=Ra,Qf=function(a){Ea.call(this,a)};C(Qf,Ea);Qf.prototype.name="cancel";var Lf=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ var $f=function(a){var b=Zf;this.v=[];this.G=b;this.F=a||null;this.s=this.o=!1;this.j=void 0;this.C=this.J=this.D=!1;this.A=0;this.g=null;this.B=0};$f.prototype.cancel=function(a){if(this.o)this.j instanceof $f&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.B--,b.B<=0&&b.cancel())}this.G?this.G.call(this.F,this):this.C=!0;this.o||(a=new ag(this),bg(this),cg(this,!1,a))}};$f.prototype.H=function(a,b){this.D=!1;cg(this,a,b)}; var cg=function(a,b,c){a.o=!0;a.j=c;a.s=!b;dg(a)},bg=function(a){if(a.o){if(!a.C)throw new eg(a);a.C=!1}},fg=function(a,b,c,d){a.v.push([b,c,d]);a.o&&dg(a)};$f.prototype.then=function(a,b,c){var d,e,f=new Ef(function(g,k){e=g;d=k});fg(this,e,function(g){g instanceof ag?f.cancel():d(g);return gg},this);return f.then(a,b,c)};$f.prototype.$goog_Thenable=!0; var hg=function(a){return Ka(a.v,function(b){return typeof b[1]==="function"})},gg={},dg=function(a){if(a.A&&a.o&&hg(a)){var b=a.A,c=ig[b];c&&(t.clearTimeout(c.g),delete ig[b]);a.A=0}a.g&&(a.g.B--,delete a.g);b=a.j;for(var d=c=!1;a.v.length&&!a.D;){var e=a.v.shift(),f=e[0],g=e[1];e=e[2];if(f=a.s?g:f)try{var k=f.call(e||a.F,b);k===gg&&(k=void 0);k!==void 0&&(a.s=a.s&&(k==b||k instanceof Error),a.j=b=k);if(Cf(b)||typeof t.Promise==="function"&&b instanceof t.Promise)d=!0,a.D=!0}catch(l){b=l,a.s=!0, hg(a)||(c=!0)}}a.j=b;d&&(k=w(a.H,a,!0),d=w(a.H,a,!1),b instanceof $f?(fg(b,k,d),b.J=!0):b.then(k,d));c&&(b=new jg(b),ig[b.g]=b,a.A=b.g)},eg=function(){Ea.call(this)};C(eg,Ea);eg.prototype.message="Deferred has already fired";eg.prototype.name="AlreadyCalledError";var ag=function(){Ea.call(this)};C(ag,Ea);ag.prototype.message="Deferred was canceled";ag.prototype.name="CanceledError";var jg=function(a){this.g=t.setTimeout(w(this.o,this),0);this.j=a}; jg.prototype.o=function(){delete ig[this.g];throw this.j;};var ig={};var P=function(){N.call(this);this.s=new we(this);this.na=this;this.Y=null};C(P,N);P.prototype[re]=!0;P.prototype.addEventListener=function(a,b,c,d){af(this,a,b,c,d)};P.prototype.removeEventListener=function(a,b,c,d){hf(this,a,b,c,d)}; var Q=function(a,b){var c=a.Y;if(c){var d=[];for(var e=1;c;c=c.Y)d.push(c),++e}a=a.na;c=b.type||b;typeof b==="string"?b=new O(b,a):b instanceof O?b.target=b.target||a:(e=b,b=new O(c,a),Lc(b,e));e=!0;if(d)for(var f=d.length-1;f>=0;f--){var g=b.g=d[f];e=kg(g,c,!0,b)&&e}g=b.g=a;e=kg(g,c,!0,b)&&e;e=kg(g,c,!1,b)&&e;if(d)for(f=0;f0&&a2147483647?-1:t.setTimeout(a,b||0)};var og=function(a,b){this.top=a;this.left=b};og.prototype.ceil=function(){this.top=Math.ceil(this.top);this.left=Math.ceil(this.left);return this};og.prototype.floor=function(){this.top=Math.floor(this.top);this.left=Math.floor(this.left);return this};og.prototype.round=function(){this.top=Math.round(this.top);this.left=Math.round(this.left);return this};var pg=function(a){this.g=a};pg.prototype.toString=function(){return(this.g&2?"b":"t")+(this.g&1?"r":"l")};B("studio.common.mde.Direction",pg);pg.Corner={rd:0,sd:1,Ec:2,Fc:3};function qg(a,b,c,d,e){this.name=a;this.reportingId=b;this.type=c;this.s=d;this.A=e;this.v=!1}var rg=function(a){switch(a){case "Exit":return"Exit";case "Count":return"Counter";case "Start":case "Stop":return"Timer";default:throw"Unsupported event action";}};var sg={DISPLAY_TIMER:{id:null,type:"Timer",K:!0,L:!0},INTERACTION_TIMER:{id:null,type:"Timer",K:!0,L:!0},INTERACTIVE_IMPRESSION:{id:null,type:"Counter",K:!0,L:!1},MANUAL_CLOSE:{id:null,type:"Counter",K:!0,L:!0},EXPAND_TIMER:{id:null,type:"Timer",K:!0,L:!1},FULL_SCREEN:{id:null,type:"Counter",K:!0,L:!0},SCROLL:{id:null,type:"Counter",K:!0,L:!0},LARGE_SCROLL:{id:null,type:"Counter",K:!0,L:!0},SMALL_SCROLL:{id:null,type:"Counter",K:!0,L:!0},ENGAGEMENT:{id:null,type:"Counter",K:!0,L:!0},VIDEO_PLAY:{id:null, type:"Counter",K:!0,L:!1},VIDEO_VIEW_TIMER:{id:null,type:"Timer",K:!0,L:!0},VIDEO_COMPLETE:{id:null,type:"Counter",K:!0,L:!1},VIDEO_INTERACTION:{id:null,type:"Counter",K:!0,L:!0},VIDEO_PAUSE:{id:null,type:"Counter",K:!0,L:!0},VIDEO_MUTE:{id:null,type:"Counter",K:!0,L:!0},VIDEO_REPLAY:{id:null,type:"Counter",K:!0,L:!0},VIDEO_FIRST_QUARTILE:{id:null,type:"Counter",K:!0,L:!0},VIDEO_MIDPOINT:{id:null,type:"Counter",K:!0,L:!0},VIDEO_THIRD_QUARTILE:{id:null,type:"Counter",K:!0,L:!0},VIDEO_STOP:{id:null, type:"Counter",K:!0,L:!0},VIDEO_UNMUTE:{id:null,type:"Counter",K:!0,L:!0},BACKUP_IMAGE_IMPRESSION:{id:null,type:"Counter",K:!0,L:!0},HTML5_CREATIVE_IMPRESSION:{id:null,type:"Counter",K:!0,L:!0}},tg=function(a){var b=sg[a];return b?new qg(a,b.id,b.type,b.K,b.L):null};var ug={3:"INTERACTION_TIMER",EVENT_USER_INTERACTION:"INTERACTIVE_IMPRESSION",EVENT_MANUAL_CLOSE:"MANUAL_CLOSE",EVENT_VIDEO_PLAY:"VIDEO_PLAY",EVENT_VIDEO_VIEW_TIMER:"VIDEO_VIEW_TIMER",EVENT_VIDEO_COMPLETE:"VIDEO_COMPLETE",EVENT_VIDEO_INTERACTION:"VIDEO_INTERACTION",EVENT_VIDEO_PAUSE:"VIDEO_PAUSE",EVENT_VIDEO_MUTE:"VIDEO_MUTE",EVENT_VIDEO_REPLAY:"VIDEO_REPLAY",EVENT_VIDEO_FIRSTQUARTILE:"VIDEO_FIRST_QUARTILE",EVENT_VIDEO_MIDPOINT:"VIDEO_MIDPOINT",EVENT_VIDEO_THIRDQUARTILE:"VIDEO_THIRD_QUARTILE",EVENT_VIDEO_STOP:"VIDEO_STOP", EVENT_VIDEO_UNMUTE:"VIDEO_UNMUTE",EVENT_FULLSCREEN:"FULL_SCREEN",DISPLAY_TIMER:"DISPLAY_TIMER",INTERACTION_TIMER:"INTERACTION_TIMER",INTERACTIVE_IMPRESSION:"INTERACTIVE_IMPRESSION",MANUAL_CLOSE:"MANUAL_CLOSE",EXPAND_TIMER:"EXPAND_TIMER",FULL_SCREEN:"FULL_SCREEN",SCROLL:"SCROLL",LARGE_SCROLL:"LARGE_SCROLL",SMALL_SCROLL:"SMALL_SCROLL",ENGAGEMENT:"ENGAGEMENT",VIDEO_PLAY:"VIDEO_PLAY",VIDEO_VIEW_TIMER:"VIDEO_VIEW_TIMER",VIDEO_COMPLETE:"VIDEO_COMPLETE",VIDEO_INTERACTION:"VIDEO_INTERACTION",VIDEO_PAUSE:"VIDEO_PAUSE", VIDEO_MUTE:"VIDEO_MUTE",VIDEO_REPLAY:"VIDEO_REPLAY",VIDEO_FIRST_QUARTILE:"VIDEO_FIRST_QUARTILE",VIDEO_MIDPOINT:"VIDEO_MIDPOINT",VIDEO_THIRD_QUARTILE:"VIDEO_THIRD_QUARTILE",VIDEO_STOP:"VIDEO_STOP",VIDEO_UNMUTE:"VIDEO_UNMUTE",BACKUP_IMAGE_IMPRESSION:"BACKUP_IMAGE_IMPRESSION",HTML5_CREATIVE_IMPRESSION:"HTML5_CREATIVE_IMPRESSION"};var vg=ja(["https://s0.2mdn.net/ads/richmedia/studio/mu/templates/hifi/hifi.js"]),wg=ja(["https://s0.2mdn.net/ads/richmedia/studio_canary/mu/templates/hifi/hifi_canary.js"]);({})[3]=yd(vg);({})[3]=yd(wg);var xg=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""};var Bg=function(a){var b={},c=b.document||document,d=Sc(a).toString(),e=Hd(new Gd(c),"SCRIPT"),f={lb:e,ob:void 0},g=new $f(f),k=null,l=b.timeout!=null?b.timeout:5E3;l>0&&(k=window.setTimeout(function(){yg(e,!0);var m=new zg(1,"Timeout reached for loading script "+d);bg(g);cg(g,!1,m)},l),f.ob=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(yg(e,b.yd||!1,k),bg(g),cg(g,!0,null))};e.onerror=function(){yg(e,!0,k);var m=new zg(0,"Error while loading script "+ d);bg(g);cg(g,!1,m)};f=b.attributes||{};Lc(f,{type:"text/javascript",charset:"UTF-8"});Bd(e,f);nd(e,a);Ag(c).appendChild(e)},Ag=function(a){var b=(a||document).getElementsByTagName("HEAD");return b&&b.length!==0?b[0]:a.documentElement},Zf=function(){if(this&&this.lb){var a=this.lb;a&&a.tagName=="SCRIPT"&&yg(a,!0,this.ob)}},yg=function(a,b,c){c!=null&&t.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Ed(a)},0)},zg=function(a, b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Ea.call(this,c);this.code=a};C(zg,Ea);function Cg(a){a=Dg(a);return Vc(a)}function Eg(a){a=Dg(a);return Rc(a)}function Dg(a){return a===null?"null":a===void 0?"undefined":a};var Fg=function(a,b,c,d,e){this.D=a;this.g="";b&&(this.g=/^(http[s]?:)?\/\//.test(b)?b:"//pagead2.googlesyndication.com/activeview?avi="+b);this.A=c||"";this.s=!1;this.v=d||"//www.googletagservices.com/activeview/js/current/lidar.js";this.j=e||null;this.o=e!==void 0&&!!e["data-google-av-turtlex"]},Gg=function(a,b){b.setAttribute("id","DfaVisibilityIdentifier_"+A());if(b.classList)b.classList.add("GoogleActiveViewClass");else{if(b.classList)var c=!b.classList.contains("GoogleActiveViewClass");else c= b.classList?b.classList:xg(b).match(/\S+/g)||[],c=!(Ga(c,"GoogleActiveViewClass")>=0);c&&(c=xg(b),c+=c.length>0?" GoogleActiveViewClass":"GoogleActiveViewClass",typeof b.className=="string"?b.className=c:b.setAttribute&&b.setAttribute("class",c))}b._avicxn_=a.g;b._avm_=a.A;if(a.j){b.classList.add(a.j.active_view_class_name);for(var d in a.j)a.j.hasOwnProperty(d)&&d.indexOf("data-google-av")===0&&b.setAttribute(d,a.j[d])}a.s||(Bg(Eg(a.v)),a.s=!0)},Ig=function(a){(a.g||a.o)&&Hg(a.D,a.g+"&id=lidar2&r=w&rs=5r&v=0")};var Jg=function(a,b,c){O.call(this,a);this.data=c};C(Jg,O);var Kg=function(a,b,c,d){O.call(this,a);this.j=b;this.D=c;this.H=!!d};C(Kg,O);var Lg=function(a,b,c,d){b=="Count"&&(d=!0);Kg.call(this,a,b,!0,d);this.o=c};C(Lg,Kg);var Mg=function(a,b,c,d){Lg.call(this,a,b,c);this.videoName=d};C(Mg,Lg);var Ng=function(a,b,c,d,e){Kg.call(this,a,b,!1,e);this.A=c;this.C=d};C(Ng,Kg);var Og=function(a,b){O.call(this,"reportCustomVariable");this.j=a;this.o=b};C(Og,O); var Pg=function(a,b,c,d,e,f){Ng.call(this,a,"Exit",b,!0);this.B=c!="null"?c:null;this.o=d!="null"?d:null;this.v=e;this.log=f};C(Pg,Ng);var Qg=function(a){O.call(this,"invokeExternalJSFunction");this.j=a};C(Qg,O);var Rg=function(a,b,c){O.call(this,"setTimerAdjustment");this.j=a;this.o=b;this.v=c};C(Rg,O);var Sg=function(a){O.call(this,"registerChargeableEventName");this.j=a};C(Sg,O);var Tg=function(a){O.call(this,"updateVideoProgress");this.duration=a};C(Tg,O);function Ug(a,b){switch(a){case "logEvent":return Vg(b);case "logVideoEvent":return new Mg("logVideoEvent",b[0],ug[b[2]],b[1]);case "updateVideoProgress":return new Tg(b[1],b[2]);case "logEventFlushCounters":return b[0]="Exit",Vg(b,!0);case "logExitFlushEventsOpenPopup":return Wg(b,!0);case "launchExit":return Wg(b,!1);case "TURTLEX_AD_CLICKED":return new Jg("TURTLEX_AD_CLICKED",null,b[0]);case "recordTimings":return new Jg("recordTimings",null,b[0]);case "reportCustomVariable":return new Og(b[0], b[1]);case "flushCounters":return new O("flushCounters");case "conduitInitialized":return new Jg("conduitInitialized",null,{features:b[1]&&Array.isArray(b[1])&&b[1].length!=0?b[1]:null});case "expandAsset":return new Jg("expandAsset",null,b.length>1?b[1]:null);case "expandRequested":return new Jg("expandRequested",null,b.length>1?b[1]:null);case "expandFinished":case "collapseAsset":case "collapseRequested":case "collapseFinished":case "tellAssetHide":return new Jg(a);case "invokeExternalJSFunction":return new Qg(b[0]); case "setTimerAdjustment":return new Rg(ug[b[0]],parseFloat(b[1]),parseFloat(b[2]));case "registerChargeableEventName":return new Sg(b[0]);case "fullscreenExpandRequested":return new Jg(a,null,b);case "setResponsiveBehavior":return new Jg(a,null,{behavior:b[0],state:b[1]});case "responsiveResize":return new Jg(a,null,{width:b[0],height:b[1]});case "isFullscreenSupported":case "queryFullscreenDimensions":case "fullscreenExpandFinished":case "fullscreenCollapseRequested":case "fullscreenCollapseFinished":return new Jg(a); case "AD_CLICKED":return new O("AD_CLICKED");case "registerEventTypeListenerForType":return new Jg(a,null,{type:b[0],zd:b[1]});case "getHostpageFeatures":return new Jg("getHostpageFeatures",null,{type:b[0]})}return null}function Vg(a,b){var c=a[0],d=a[1],e=Xg(a[3]);return Xg(a[4])?new Ng("logEvent",c,d,e,b):new Lg("logEvent",c,ug[d],b)}function Wg(a,b){return new Pg("logExitFlushEventsOpenPopup",a[1],a[4],a[5]||null,a[6],b)}function Xg(a){return a!=null?a.toString().toLowerCase()=="true":!1};var Yg=function(a){a=a?a.toLowerCase():"";switch(a){case "normal":return"normal";case "lightbox":return"lightbox";case "push_down":return"push_down"}return null};var $g=function(a){this.M=a.eventReportingUrl||"";this.A=a.clickUrl||"";this.J=a.clickUrlTimesToEscape||"1";this.g=a.clickEventTagUrl||"";this.o=a.impressionUrl||"";this.R=a.geoData||"";this.Y=a.siteName||"";this.V=a.siteId||"";this.H=a.adId||"";this.G=a.buyId||"";this.creativeId=a.creativeId||"";this.T=a.placementId||"";this.F=a.advertiserId||"";this.S=a.keyValueOrdinal||"";this.U=a.renderingId||"";this.randomNumber=a.randomNumber||"";this.W=a.stringReportingUrl||"";this.s=a.bookingTimeMetaData|| {};this.B=new Zg(a.tag||{});this.N=a.exitSuffix||"";this.D=a.dynamicData||"";this.O=a.exitUrlPatternMacroValues;this.j=a.placementDimensions||{w:"0",h:"0"};this.C=a.activeViewClkStr||"";this.v=a.activeViewUrlPrefix||""},Zg=function(a){this.j=a.adContainerElementId;this.g=a.runtimeMetaData||{};this.o=!!a.renderFloatInplace};var ah=function(a,b){this.g=a;this.j=b;this.o=b=="push_down"};var bh=function(a,b,c){this.position=a;this.startTime=b;this.j=b>-1;this.endTime=c;this.g=c>-1};function ch(a,b){this.j=a;this.g=F(M(b))?"0_0":b};var dh=function(){this.g=!1};var fh=function(a,b){this.top=parseInt(a,10);this.j=eh(a);this.left=parseInt(b,10);this.g=eh(b)},eh=function(a){return Ma(gh,function(b){var c=String(b).toLowerCase();b=String(a.slice(a.length-b.length)).toLowerCase();return(c-1&&b[c]>b[e]&&(d=!1);a[c+2]=d?b[c]:-1}this.g=a};var Gh=function(){};function Hh(a,b){if(typeof a==="boolean")return a;if(typeof a==="string"){if(a==="true")return!0;if(a==="false")return!1}return b?b:!1};var Ih=function(){this.oa=!1;this.D=this.s=this.hb="";this.A=new H(0,0);this.B="";this.F=new H(0,0);this.j=!1;this.La="";this.ia=[];this.Ha=this.na=!1;this.V=null;this.g={};this.O="";this.U=this.Ia=this.T=!1;this.N="";this.H={ua:"",va:""};this.v={};this.C=this.Y=this.aa="";this.S=1;this.da=this.M="";this.ha=null;this.o=[];this.Z=[];this.jb=[];this.Na={};this.ca={};this.Ba={};this.ea={};this.J={};this.W=!1;var a={};this.ib=(a.Exit=this.ca,a.Timer=this.Ba,a.Counter=this.ea,a);this.G=this.R=null;this.Aa= !1;this.gb=0;this.eb=!1;this.fb=""},Jh=function(a,b){if(F(M(a)))return"";var c=new Fh(a);var d=c.g[3];if(-1==d)return a;a:{for(var e=4;e=0&&k=0)}e&&!f.test(b.url)&&(b.url=Kd(b.url,c))}a.ca[b.name]=b;Ph(a,b)},Uh=function(a,b){return(a=Oh(a,b))?[b,escape(""),escape(""),a.type].join(":"):null},Th=function(a,b){return["CUSTOM_EVENT",escape(a),escape(""),b].join(":")},Vh=function(a,b,c){return(a= Oh(a,b))&&[b,escape(""),escape(c),a.type].join(":")},Yh=function(a,b){if(!b)return null;if(b.type=="CUSTOM_EVENT"||b.videoName){if(b.type=="CUSTOM_EVENT"&&!b.videoName){var c=b.name;b=b.trigger;a.ib[b]?(a=a.ib[b],a=a[c]&&a[c].reportingId||null):a=null;return a}if(b.type!="CUSTOM_EVENT"&&b.videoName){a:switch(c=b.videoName,b=Oh(a,b.type),b.type){case "Timer":a=Xh(a.Ba,b,c);a=a!=null?a.reportingId:null;break a;case "Counter":a=Xh(a.ea,b,c);a=a!=null?a.reportingId:null;break a;default:a=null}return a}}else return(a= Oh(a,b.type))?a.reportingId:null;return null},Oh=function(a,b){return a.Na[b]||(a.Na[b]=tg(b))},Xh=function(a,b,c){for(var d in a){var e=a[d];if(e.g&&e.g.Ua==c&&e.g.xa==b.name)return e}return null};Ih.prototype.Ja=!1;function Zh(){P.call(this);this.v=new lf(this);var a=Da(ne,this.v);this.H?a():(this.D||(this.D=[]),this.D.push(a))}C(Zh,P);var ai=function(){var a=$h,b="ma";if(a.ma&&a.hasOwnProperty(b))return a.ma;var c=new a;a.ma=c;a.hasOwnProperty(b);return c};var $h=function(){Zh.call(this);this.g=window.mraid||null;this.o=!1;this.j=null};r($h,Zh);h=$h.prototype;h.isVisible=function(){return this.g.isViewable()};h.close=function(){return this.g.close()};h.Ka=function(){try{this.g.removeEventListener("ready",w(this.Ka,this))}catch(a){this.g.removeEventListener("ready")}this.g.addEventListener("viewableChange",w(this.cb,this));this.g.addEventListener("stateChange",w(this.fc,this));Q(this,"ready");this.g.isViewable()&&this.cb()};h.fc=function(){Q(this,"state_change")}; h.cb=function(){this.g.isViewable()?Q(this,"show"):Q(this,"hide");this.o||this.g==null||this.g.AFMA_LIDAR==null||(this.g.addEventListener(this.g.AFMA_LIDAR,w(this.hc,this)),this.o=!0)};h.hc=function(a){var b=this.g.getCurrentPosition();b=a.width*a.height/(b.width*b.height);var c=new O("viewable_change");c.visibleBox=new og(a.y,a.x);c.visibilityFraction=b;Q(this,c)}; var ci=function(a){return!!t.AFMA_Communicator&&!!t.AFMA_Communicator.sendMessage&&((a.j&&a.j.enable_open_system_browser?a.j.enable_open_system_browser:!1)||bi(a))},bi=function(a){return a.j&&a.j.enable_use_custom_tabs?a.j.enable_use_custom_tabs:!1},di=function(a,b){return{a:"app",u:b,system_browser:!0,use_first_package:!0,use_running_process:!0,use_custom_tabs:bi(a)}};$h.prototype.I=function(){this.g=null;Zh.prototype.I.call(this)};var ei=/doubleclick.net\/(pf)?ad/;var fi=function(){return nb?"-webkit":mb?"-moz":kb?"-ms":null};var gi={},hi=function(a,b){var c=gi[b];if(!c){var d=od(b);c=d;a.style[d]===void 0&&(d=(nb?"Webkit":mb?"Moz":kb?"ms":null)+pd(d),a.style[d]!==void 0&&(c=d));gi[b]=c}return c},ii=function(a,b){var c=a.style[od(b)];return typeof c!=="undefined"?c:a.style[hi(a,b)]||""},ji=function(a){a:{var b=Fd(a);if(b.defaultView&&b.defaultView.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.position||b.getPropertyValue("position")||"";break a}b=""}b||(b=a.currentStyle?a.currentStyle.position:null); return b||a.style&&a.style.position},li=function(a,b,c){if(b instanceof H)c=b.height,b=b.width;else if(c==void 0)throw Error("missing height argument");a.style.width=ki(b,!0);a.style.height=ki(c,!0)},ki=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a};var mi=Cc(function(){var a=Dd(document,"DIV"),b=fi(),c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");md(a,wd({style:c}));return ii(a.firstChild,"transition")!=""});var ni=function(a){return(a=a.exec(Za()))?a[1]:""},fj=function(){if(Bb)return ni(/Firefox\/([0-9.]+)/);if(kb||lb||jb)return wb;if(Fb){if(gb()||G("iPad")||G("iPod")||(Wa&&$a&&$a.platform?$a.platform==="macOS":G("Macintosh"))){var a=ni(/CriOS\/([0-9.]+)/);if(a)return a}return ni(/Chrome\/([0-9.]+)/)}if(Gb&&!(gb()||G("iPad")||G("iPod")))return ni(/Version\/([0-9.]+)/);if(Cb||Db){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Za()))return a[1]+"."+a[2]}else if(Eb)return(a=ni(/Android\s+([0-9.]+)/))?a:ni(/Version\/([0-9.]+)/); return""}();var gj=document.createElement("VIDEO");gj&&gj.canPlayType&&gj.canPlayType("video/mp4").replace(/no/,"");var hj=document.createElement("VIDEO");hj&&hj.canPlayType&&hj.canPlayType("video/webm").replace(/no/,""); var ij=function(a,b){if(!t.postMessage)return!1;a=Array.isArray(a)?Pa(a):[];Ma(a,function(c){return c=="Modernizr.canvas"})||a.push("Modernizr.canvas");b&&!Ma(a,function(c){return c=="Modernizr.cssanimations"})&&a.push("Modernizr.cssanimations");return La(a,function(c){if("svgFilters"==c){if(!(kb&&xb()&&Number(Ab)>=10||Fb&&Ua(fj,"18")>=0||Bb&&Ua(fj,"11")>=0))return!1}else if("svgFeImage"==c){if(!(kb&&xb()&&Number(Ab)>=10||Fb&&Ua(fj,"29")>=0))return!1}else if(/Modernizr.canvas/.test(c)){if(!document.createElement("canvas").getContext)return!1}else if(/Modernizr.cssanimations/.test(c)){if(c= Cd(document).style,c.animationName===void 0&&c[(nb?"Webkit":mb?"Moz":kb?"ms":null)+"AnimationName"]===void 0)return!1}else if(/Modernizr.cssgradients/.test(c)){c="";for(var d,e=["",fi()+"-"],f=0;f-1))return!1}else if(/Modernizr.csstransitions/.test(c)&& !mi())return!1;return!0})};function jj(a,b,c,d,e,f,g,k,l,m){if(b){var z=zd(document,c);md(z,Cg((F(M(b.g))?['
']:['','']).join("")));d=new uh(d);var R=M(b.A);F(R)||Hg(d,R);Hg(d,b.s);Hg(d,b.o);for(R=0;R0&&lj(m,c);a=new Fg(d,f,g,k,l);(a.g||a.o)&&(a.g||a.o?Gg(a,z):a.s||Ig(a));F(M(b.g))||af(z,"click", function(){for(var E=0;E0?d=b[0]:d=document.documentElement;D(a,function(e){d.appendChild(mj(e))})}else D(a,function(e){c.parentNode.insertBefore(mj(e),c.nextSibling)})}function mj(a){var b=Dd(document,"SCRIPT");nd(b,Eg(a));b.type="text/javascript";b.async=!1;return b} function kj(a){var b=window.DARTDebugEventHandler;if(b){b=new b;try{b.handleEventActivity("BACKUP_IMAGE_IMPRESSION","Counter",1,0,!1,a)}catch(c){}}};var nj=function(a,b){O.call(this,a);this.j=b};r(nj,O);var oj="EXPAND EXPAND_REQUEST EXPAND_FINISH COLLAPSE COLLAPSE_REQUEST COLLAPSE_FINISH EXPAND_FULL_SCREEN COLLAPSE_FULL_SCREEN SHOW HIDE".split(" ");var S=function(a,b){N.call(this);this.j=b;this.J=new lf(this);this.J.listen(this.j,oj,this.M);this.g=a;this.G=[];this.F=[];this.A=[];this.o=[];this.C=[];this.B=[];this.v=[];this.s=[]};r(S,N);S.prototype.I=function(){this.J.dispose();this.s=this.v=this.o=this.B=this.C=this.A=this.F=this.G=null;N.prototype.I.call(this)}; S.prototype.M=function(a){if(a.j==this.g){var b=null;switch(a.type){case "SHOW":b=this.G;break;case "HIDE":b=this.F;break;case "COLLAPSE_REQUEST":b=this.v;break;case "COLLAPSE_FINISH":b=this.s;break;case "COLLAPSE":b=this.o;break;case "EXPAND":b=this.A;break;case "EXPAND_REQUEST":b=this.C;break;case "EXPAND_FINISH":b=this.B}b&&pj(this,b)}};var pj=function(a,b){D(b,function(c){c(this)},a)},qj=function(a){return a.j.j[a.g]||null};h=S.prototype;h.tb=function(){return this.g.s};h.sb=function(){return this.g.id}; h.ac=function(){var a=qj(this);return a&&(a=a.P())?(a=new Fc(a.offsetLeft,a.offsetTop),{x:a.x,y:a.y}):null};h.wb=function(a,b){var c=qj(this);if(c){c=c.P();if(a instanceof Fc){var d=a.x;a=a.y}else d=a,a=b;c.style.left=ki(d,!1);c.style.top=ki(a,!1)}};h.xb=function(a){var b=qj(this);if(b)if(b=b.P(),typeof a==="string")(a=hi(b,a))&&(b.style[a]=void 0);else for(var c in a){var d=b,e=a[c],f=hi(d,c);f&&(d.style[f]=e)}}; h.Zb=function(){var a=qj(this);if(a){var b=a.P();if(b){var c=Fd(b);a=new Fc(0,0);if(b!=(c?Fd(c):document).documentElement){try{var d=b.getBoundingClientRect()}catch(e){d={left:0,top:0,right:0,bottom:0}}c=(c?new Gd(Fd(c)):Fa||(Fa=new Gd)).g;b=Cd(c);c=c.defaultView;b=new Fc(c.pageXOffset||b.scrollLeft,c.pageYOffset||b.scrollTop);a.x=d.left+b.x;a.y=d.top+b.y}return{x:a.x,y:a.y}}}return null};h.Wa=function(){return{width:this.g.width,height:this.g.height}}; h.ra=function(a,b){var c=qj(this);c&&c.ra(a,b)};h.Sb=function(){var a=this.g.g&&this.g.g.g;return a?{width:a.width,height:a.height}:this.Wa()};h.vb=function(a,b,c,d){var e=qj(this);e&&(e.P().style.clip=["rect(",a,"px ",b,"px ",c,"px ",d,"px)"].join(""),e.P().style.position="absolute")};h.Tb=function(){var a=qj(this);return a?a.P():null};h.rb=function(){var a=qj(this);return a?a.o:null};h.Mb=function(a){this.G.push(a)};h.yc=function(a){Na(this.G,a)};h.Kb=function(a){this.F.push(a)}; h.xc=function(a){Na(this.F,a)};h.Hb=function(a){this.A.push(a)};h.uc=function(a){Na(this.A,a)};h.Jb=function(a){this.C.push(a)};h.wc=function(a){Na(this.C,a)};h.Ib=function(a){this.B.push(a)};h.vc=function(a){Na(this.B,a)};h.Eb=function(a){this.o.push(a)};h.rc=function(a){Na(this.o,a)};h.Gb=function(a){this.v.push(a)};h.tc=function(a){Na(this.v,a)};h.Fb=function(a){this.s.push(a)};h.sc=function(a){Na(this.s,a)};h.yb=function(){rj(this.j,this.g)};h.ub=function(){this.j.O(this.g)}; h.qb=function(){sj(this.j,this.g)};h.pb=function(){tj(this.j,this.g)};S.prototype.getType=S.prototype.tb;S.prototype.getId=S.prototype.sb;S.prototype.getPosition=S.prototype.ac;S.prototype.setPosition=S.prototype.wb;S.prototype.setStyle=S.prototype.xb;S.prototype.getPagePosition=S.prototype.Zb;S.prototype.getDimension=S.prototype.Wa;S.prototype.setDimension=S.prototype.ra;S.prototype.getCollapsedDimension=S.prototype.Sb;S.prototype.setClip=S.prototype.vb;S.prototype.getContainerElement=S.prototype.Tb; S.prototype.getAssetElement=S.prototype.rb;S.prototype.addShowCallback=S.prototype.Mb;S.prototype.removeShowCallback=S.prototype.yc;S.prototype.addHideCallback=S.prototype.Kb;S.prototype.removeHideCallback=S.prototype.xc;S.prototype.addExpandCallback=S.prototype.Hb;S.prototype.removeExpandCallback=S.prototype.uc;S.prototype.addExpandRequestCallback=S.prototype.Jb;S.prototype.removeExpandRequestCallback=S.prototype.wc;S.prototype.addExpandFinishCallback=S.prototype.Ib; S.prototype.removeExpandFinishCallback=S.prototype.vc;S.prototype.addCollapseCallback=S.prototype.Eb;S.prototype.removeCollapseCallback=S.prototype.rc;S.prototype.addCollapseRequestCallback=S.prototype.Gb;S.prototype.removeCollapseRequestCallback=S.prototype.tc;S.prototype.addCollapseFinishCallback=S.prototype.Fb;S.prototype.removeCollapseFinishCallback=S.prototype.sc;S.prototype.show=S.prototype.yb;S.prototype.hide=S.prototype.ub;S.prototype.expand=S.prototype.qb;S.prototype.collapse=S.prototype.pb;var T=function(a,b){N.call(this);this.g=a;this.s=b};r(T,N);T.prototype.j=function(){return this.g.name};T.prototype.fa=function(){var a=this.g.url;return(/^https?/.test(a)?"":this.s)+a};T.prototype.o=function(){return this.g.g};T.prototype.v=function(){return this.g.j};T.prototype.getName=T.prototype.j;T.prototype.getUrl=T.prototype.fa;T.prototype.isVideo=T.prototype.o;T.prototype.getStreamingUrl=T.prototype.v;function uj(a,b){this.g=a;this.j=b}uj.prototype.o=function(){return this.g.name};uj.prototype.getName=uj.prototype.o;uj.prototype.fa=function(){return this.g.url};uj.prototype.getUrl=uj.prototype.fa;uj.prototype.s=function(a,b){this.j.Oa(new Pg("logExitFlushEventsOpenPopup",this.g.name,a||null,b||null,null,!0))};uj.prototype.fireExit=uj.prototype.s;var W=function(a,b){N.call(this);this.j=a;this.s=b;this.g=vj(a.o,b);Qa(this.g,function(c){return c.g.id});this.v=wj(a.Z,(a.U?a.H.va:a.H.ua)||"");this.o=xj(a.ca,b);this.AssetTypes=yj;zj(this)};r(W,N);var vj=function(a,b){return Ia(a,function(c){return new S(c,b)})},wj=function(a,b){return Ia(a,function(c){return new T(c,b)})},xj=function(a,b){return Ia(Jc(a),function(c){return new uj(c,b)})},zj=function(a){var b=u("studioV2.api.creatives")||[];B("studioV2.api.creatives",b);b.push(a)};h=W.prototype; h.I=function(){var a=u("studioV2.api.creatives");a&&Array.isArray(a)&&Na(a,this);oe(this.g,this.v,this.o);N.prototype.I.call(this)};h.Ub=function(){return this.j.D};h.Ob=function(){return this.j.g.cid||""};h.Qb=function(){return this.g};h.Pb=function(a){return this.g[a]||null};h.Xb=function(a){return Ma(this.g,function(b){return b.g.s==a})};h.Rb=function(a){return Ha(this.g,function(b){return b.g.s==a})};h.Wb=function(){return this.o};h.Cc=function(){this.s.dispose()};W.prototype.getApiVersion=function(){return""}; W.prototype.getCreativeId=W.prototype.Ub;W.prototype.getSiteId=function(){return""};W.prototype.getSiteName=function(){return""};W.prototype.getAdId=function(){return""};W.prototype.getBuyId=function(){return""};W.prototype.getAdserverCreativeId=W.prototype.Ob;W.prototype.getPlacementId=function(){return""};W.prototype.getAdvertiserId=function(){return""};W.prototype.getAssets=W.prototype.Qb;W.prototype.getChildAssets=function(){return[]};W.prototype.getAssetAt=W.prototype.Pb; W.prototype.getAssetById=function(){return null};W.prototype.getFirstAssetByType=W.prototype.Xb;W.prototype.getAssetsByType=W.prototype.Rb;W.prototype.getExits=W.prototype.Wb;W.prototype.unload=W.prototype.Cc;var yj={INPAGE:"BANNER",EXPANDING:"EXPANDABLE",FLOAT:"FLOATING",OVERLAY:"OVERLAY"};var Aj=void 0,Dj=function(){Aj===void 0&&(Aj=Ma(Bj,Cj)||"none");return Aj},Cj=function(a){switch(a){case "msn":a:{try{var b=window.$WLXRmAd||window.parent&&window.parent.$WLXRmAd;break a}catch(c){}b=void 0}return!!b;case "safe":return!!u("$sf.ext");case "mraid":return!!window.mraid;default:return!1}},Bj=["gdn","mraid","safe","msn","none"];var Fj=function(a,b,c,d){N.call(this);this.o=a;this.A=b;this.B=c;this.v=d;this.s=!1;this.g={};this.g.l=!1;this.g.i=!1;this.g.x=!1;this.g.c=!1;this.g.r=!1;this.g.n=!1;this.g.t=!1;this.g.m=!1;this.j=Ej(this)};r(Fj,N);var Ej=function(a){return a.o.isActive()&&Ua(a.v.replace("_","."),"01.226")!=-1?De(t,"unload",function(){Gj(this,"u")},void 0,a):null};Fj.prototype.I=function(){this.j&&jf(this.j)}; var Hj=function(a){return Ua(a.v.replace("_","."),"01.226")!=-1&&!a.s&&(a.g.u||Ic(a.g,function(b){return b}))},Gj=function(a,b){a.o.g[b]=A()-a.B;a.g[b]=!0;Hj(a)&&(Hg(a.A,a.o.j()),a.s=!0,a.j&&jf(a.j))};var Ij="undefined_type",Jj=0,Kj=null;var Mj=function(a){P.call(this);this.g=this.v=null;this.j=new lf(this);this.B=!1;Lj||(this.g=new lg(100),this.j.listen(this.g,"tick",this.o),this.g.start(),this.j.listen(document,"DOMContentLoaded",this.o),this.j.listen(document,"readystatechange",this.o),this.j.listen(window,"load",this.A),this.o(),a!=null&&typeof a==="number"&&ng(this.A,a,this))};r(Mj,P); Mj.prototype.o=function(){var a;if(a=kb){a=!1;try{a=window.frameElement==null}catch(c){}}if(a&&document.documentElement.doScroll)if(document.documentElement.doScroll)try{document.documentElement.doScroll("left");var b=!0}catch(c){b=!1}else b=!1;else document.readyState==="undefined"?document.getElementsByTagName?(b=document.getElementsByTagName("*"),b=b.length>0?b[b.length-1]:null,this.v&&b&&this.v==b?b=!0:(this.v=b,b=!1)):b=!1:b=document.readyState==="complete";b&&this.A()}; Mj.prototype.I=function(){Nj(this);P.prototype.I.call(this)};var Nj=function(a){a.j.dispose();a.g&&(a.g.dispose(),a.g=null)};Mj.prototype.A=function(){this.B||(Lj=this.B=!0,Nj(this),Q(this,new O("ready")))};var Lj=!1;var Oj=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b},Pj=function(a,b){if((b.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState||""]||0)==3)return!1;a();return!0},Qj=function(a){var b=document;var c=c===void 0?!1:c;if(!Pj(a,b))if(c){var d=function(){Ec(b,"prerenderingchange",d);a()};Dc(b,"prerenderingchange", d)}else{var e=!1,f=Oj(b),g=function(){!e&&Pj(a,b)&&(e=!0,Ec(b,f,g))};f&&Dc(b,f,g)}};var Rj=function(){};Rj.ma=void 0;Rj.g=function(){return Rj.ma?Rj.ma:Rj.ma=new Rj};Rj.prototype.g=0;var Sj=function(a){P.call(this);this.U=a||Fa||(Fa=new Gd);this.F=null;this.la=!1;this.j=null;this.v=void 0;this.T=this.R=null};C(Sj,P);Sj.prototype.ha=Rj.g();Sj.prototype.S=function(){return this.F||(this.F=":"+(this.ha.g++).toString(36))};Sj.prototype.P=function(){return this.j};var Tj=function(a){a.v||(a.v=new lf(a));return a.v};Sj.prototype.G=function(){this.j=Hd(this.U,"DIV")};Sj.prototype.qa=function(a){Uj(this,a)};Sj.prototype.Z=function(a){Uj(this,a.parentNode,a)}; var Uj=function(a,b,c){if(a.la)throw Error("Component already rendered");a.j||a.G();b?b.insertBefore(a.j,c||null):a.U.g.body.appendChild(a.j);a.R&&!a.R.la||a.ja()};Sj.prototype.sa=function(a){this.j=a};Sj.prototype.ja=function(){this.la=!0;Vj(this,function(a){!a.la&&a.P()&&a.ja()})};var Wj=function(a){Vj(a,function(b){b.la&&Wj(b)});a.v&&pf(a.v);a.la=!1}; Sj.prototype.I=function(){this.la&&Wj(this);this.v&&(this.v.dispose(),delete this.v);Vj(this,function(a){a.dispose()});this.j&&Ed(this.j);this.R=this.j=this.T=null;Sj.X.I.call(this)};var Vj=function(a,b){a.T&&a.T.forEach(b,void 0)};function Xj(a,b){Sj.call(this,b);this.ea=a;this.aa=null}C(Xj,Sj);Xj.prototype.qa=function(a){this.ea&&Yj(this);Xj.X.qa.call(this,a)};Xj.prototype.Z=function(a){this.ea&&Yj(this);Xj.X.Z.call(this,a)};var Yj=function(a){a.P()||a.G();Vj(a,function(b){b.qa(a.P())})};Xj.prototype.S=function(){return this.F||(this.F=(Kj||(Kj="200_281_"+Ij))+"_"+(Jj++).toString(36))};Xj.prototype.toString=function(){return this.S()}; var Zj=function(a){Vj(a,function(b){Zj(b)})},ak=function(a){Vj(a,function(b){ak(b)})},bk=function(a){Vj(a,function(b){bk(b)})},ck=function(a){Vj(a,function(b){ck(b)})};Xj.prototype.ra=function(a,b){li(this.P(),a,b);Vj(this,function(c){c.ra("100%","100%")})};Xj.prototype.Pa=function(a){Qj(a.resolve)};function dk(a,b,c){Xj.call(this,!1,c);this.J=a;this.A=b;if(b=a.g&&a.g.g)b=a.g.g,b=new H(b.width,b.height);this.oa=b||new H(a.width,a.height);this.V=!1;this.W=[];this.ca=null}C(dk,Xj);h=dk.prototype;h.qc=function(){for(this.V=!0;this.W.length>0;)this.W.shift()};h.zc=function(){this.V=!1}; h.sa=function(a){dk.X.sa.call(this,a);a.style.position="relative";var b=this.oa;if(b instanceof H){var c=b.height;b=b.width}else throw Error("missing height argument");b=parseInt(b,10)>0?b:"100%";c=parseInt(c,10)>0?c:"100%";li(a,b,c);"boxSizing"in a.style&&(a.style.boxSizing="content-box");b=this.A.G;(null==b?0:(b.g||b.o)&&this.A.o.length==1)?Gg(b,a):b!=null&&(b.g||b.o)&&!b.s&&Ig(b)}; h.ja=function(){var a=Tj(this);a.listen(this,"conduitInitialized",this.qc);a.listen(this,"RESET",this.zc);dk.X.ja.call(this);var b=Tj(this);this.ca=new Mj(5E3);Lj?this.Ya():b.listen(this.ca,"ready",this.Ya);if(b=this.P())a.listen(b,"mouseover",this.ec),a.listen(b,"mouseout",this.ab);a.listen(this,"logEvent",this.Za);a.listen(this,"logExitFlushEventsOpenPopup",this.Za)};h.ec=function(){ek(this,"1")};h.ab=function(){ek(this,"0")};h.Za=function(a){rg(a.j)=="Exit"&&this.ab()}; var ek=function(a,b){a.V||a.W.push({name:"isMouseOver",value:b})},fk=function(a,b,c){(b=Ug(b,c))&&Q(a,b)};var X=function(a){O.call(this,a)};r(X,O);X.prototype.Lb=function(a,b){this[a]=b;return this};B("studio.events.StudioEvent",X);X.prototype.addProperty=X.prototype.Lb;X.INIT="init";X.VISIBLE="visible";X.HIDDEN="hidden";X.VISIBILITY_CHANGE="visibilityChange";X.VISIBILITY_CHANGE_WITH_INFO="visibilityChangeWithInfo";X.EXIT="exit";X.INTERACTION="interaction";X.PAGE_LOADED="pageLoaded";X.ORIENTATION="orientation";X.ABOUT_TO_EXPAND="aboutToExpand";X.EXPAND_START="expandStart";X.EXPAND_FAILED="expandFailed"; X.EXPAND_FINISH="expandFinish";X.COLLAPSE_START="collapseStart";X.COLLAPSE_FINISH="collapseFinish";X.COLLAPSE="collapse";X.FULLSCREEN_SUPPORT="fullscreenSupport";X.HOSTPAGE_FEATURES_LOADED="hostpageFeaturesLoaded";X.FULLSCREEN_DIMENSIONS="fullscreenDimensions";X.FULLSCREEN_EXPAND_START="fullscreenExpandStart";X.FULLSCREEN_EXPAND_FINISH="fullscreenExpandFinish";X.FULLSCREEN_COLLAPSE_START="fullscreenCollapseStart";X.FULLSCREEN_COLLAPSE_FINISH="fullscreenCollapseFinish";X.HOSTPAGE_SCROLL="hostpageScroll"; X.OPTIONAL_HOSTPAGE_SCROLL="optHostpageScroll";X.SCROLL_INTERACTION="scrollInteraction";X.ENTER_VIEWPORT="enterViewport";X.OPTIONAL_ENTER_VIEWPORT="optEnterViewport";X.EXIT_VIEWPORT="exitViewport";X.OPTIONAL_EXIT_VIEWPORT="optExitViewport";X.VIDEO_START="videoStart";var gk=ja(["about:blank"]),hk=ja(["javascript:undefined"]),ik=yd(gk);Sc(ik);var jk=yd(hk);Sc(jk);var kk=function(){this.g=[];this.j=[]};h=kk.prototype;h.addReporter=function(a){D(this.g,function(b){b.newReporterCallback(a);a.newReporterCallback(b)});D(this.j,function(b){a.registerChargeableEventName(b)});this.g.push(a)};h.reportEvents=function(a){D(this.g,function(b){b.reportEvents(a)})};h.registerChargeableEventName=function(a){D(this.g,function(b){b.registerChargeableEventName(a)});this.j.push(a)};h.logCustomVariable=function(a,b){D(this.g,function(c){c.logCustomVariable(a,b)})}; h.getType=function(){return"UNIFIED_DISPATCHER"};h.getConfig=function(){return{reportingApiVersion:2}};h.newReporterCallback=function(){};h.supportsChargeableEvents=function(){var a=!1;D(this.g,function(b){b.supportsChargeableEvents()&&(a=!0)});return a};var lk=function(a,b){this.s=a.aa;this.j=a.Y;this.g=a;this.o=b};lk.prototype.reportEvents=function(a){a=mk(this,a);if(a.length)for(var b=A(),c=0;c950&&(g.push(f),f="");g.push(f+e)}}return c};h=lk.prototype;h.logCustomVariable=function(a,b){this.j&&this.j.length>0&&Hg(this.o,[this.j,"×tamp=",A(),";str=",a,";strtype=",b].join(""))};h.getType=function(){return"STUDIO"};h.getConfig=function(){return{reportingApiVersion:2}}; h.newReporterCallback=function(a){a.supportsChargeableEvents()&&!this.g.W&&Sh(this.g,!0)};h.supportsChargeableEvents=function(){return!1};var nk=function(a){this.s={};this.g={};this.o={};this.F={};this.j=this.Xa(a);this.A=a;this.B={};this.C={};this.v={}};C(nk,N); var pk=function(a,b,c,d){if(c||!a.F[b])a.F[b]||(a.s[b]=0,a.F[b]=!0),a.s[b]++,d&&ok(a,d)},ok=function(a,b){D(b,function(c){D(Mh(this.A,c),function(d){d.ping()},this)},a)},qk=function(a,b,c,d){if(!(b in a.o)){for(var e=A(),f=a.B[b];f&&f.length>0;)e+=f.pop();a.o[b]=e;c&&(a.v[c]=a.v[c]||[],a.v[c].push(b));pk(a,b,!1,d)}},rk=function(a,b,c){if(b in a.o){for(var d=a.o[b],e=A(),f=a.C[b];f&&f.length>0;)e+=f.pop();d=e-d;d<0&&(d=0);a.g[b]=a.g[b]||0;a.g[b]+=d;delete a.o[b];c&&a.v[c]&&Na(a.v[c],b)}},sk=function(a){for(var b in a.o)rk(a, b)},tk=function(a){for(var b in a.o)rk(a,b),qk(a,b);b=[];for(var c in a.s){var d=0,e=a.s[c];a.g[c]&&(d=Math.floor(a.g[c]/1E3),a.g[c]-=d*1E3);a.s[c]=0;if(e>0||d>0){var f=b,g=f.push,k=c.match(/([^:]+):([^:]*):([^:]*):(.+)/);g.call(f,{unifiedReportingEvent:k&&k.length==5?{type:k[1],name:unescape(k[2]),videoName:unescape(k[3]),trigger:k[4]}:null,count:e,time:d})}}if(Lh(a.A)){if(c=a.j,(a=a.A.g.CREATIVE_PARAMETER_TURTLEX_AD_SIGNALS)&&b.length!=0){b=mk(c,b).join(";");a={Ta:a,label:"rm_html5_event",kb:b}; var l=l===void 0?t:l;b=new yc;a!=null&&(a.Ta!=null&&sc(b,1,a.Ta),a.Bc!=null&&sc(b,3,a.Bc),a.label!=null&&sc(b,6,a.label),a.jc!=null&&sc(b,7,a.jc),a.Nb!=null&&sc(b,8,a.Nb),a.kb!=null&&sc(b,11,a.kb));var m;(m=Ac(l).fence)==null||m.reportEvent({eventType:"interaction",eventData:wc(b),destination:["buyer"]})}}else a.j.reportEvents(b)};nk.prototype.I=function(){sk(this);nk.X.I.call(this)};var uk=function(a){this.o=a;this.j=!1;this.g=new je};h=uk.prototype;h.reportEvents=function(a){this.j||D(a,function(b){this.g.has(b.unifiedReportingEvent.name)&&(this.j=!0,D(Mh(this.o,"ENGAGEMENT_IMG"),function(c){c.ping()}))},this)};h.registerChargeableEventName=function(a){this.g.add(a)};h.logCustomVariable=function(){};h.getType=function(){return"THIRD_PARTY"};h.getConfig=function(){return{reportingApiVersion:2}};h.newReporterCallback=function(){};h.supportsChargeableEvents=function(){return!1};var vk=function(a,b){this.G=b;nk.call(this,a)};C(vk,nk);h=vk.prototype;h.Xa=function(a){if("gdn"==Dj()){var b=u("googlecreative.reporting.sharedReporter");b||(b=new kk,B("googlecreative.reporting.sharedReporter",b));b.addReporter(new lk(a,this.G));00;){var a=this.j.pop();typeof a==="number"?t.clearTimeout(a):a.dispose()}N.prototype.I.call(this)};var xk=function(a,b,c){wk.call(this,a);this.A=b;this.C=c;this.g=new lg(this.A*1E3);af(this.g,"tick",w(this.ba,this))};r(xk,wk);h=xk.prototype;h.bb=function(){this.g.j||this.g.start()};h.ba=function(){mg(this.g);wk.prototype.ba.call(this)};h.Ma=function(){return this.s!=null&&this.C||wk.prototype.Ma.call(this)};h.Ga=function(){return!1};h.I=function(){mg(this.g);this.g.dispose();wk.prototype.I.call(this)};var yk=function(a,b,c){wk.call(this,a);this.g=b;this.A=c&&this.g.length>0?this.g.pop():null};r(yk,wk);yk.prototype.Qa=function(){for(var a=0;a=0){var k;(k=window.fence)==null||k.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:wc(g),destination:["buyer"],once:!0})}else{var l;(l=window.fence)==null||l.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:wc(g),destination:["buyer"]})}var m; (m=window.fence)==null||m.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:wc(g),destination:["buyer"]});var z;(z=window.fence)==null||z.reportEvent({eventType:"click",eventData:wc(g),destination:["buyer"]});var R;(R=window.fence)==null||R.reportEvent({eventType:"click",destination:["component-seller"]})};var Y=function(a,b,c,d){P.call(this);this.g=a;this.ia=b;this.A=c;this.j={};this.J={};this.F=new lf(this);this.R=this.S=!1;this.B=this.U=0;this.C=[];this.M={};this.W=new W(this.g,this);this.G=d;this.o=a.j?new Bk(a):new vk(a,this.G);this.v=Ek(a,this.o);this.N={};kb&&this.F.listen(self,"unload",this.dispose);this.F.listen(t,"pagehide",w(this.v.ba,this.v));this.A.g!=null&&(a=this.A,a.g.getState()=="loading"?a.g.addEventListener("ready",w(a.Ka,a)):a.Ka(),this.A.j=this.g.V);Sd(1);Sd(64);window.layoutsPreview&& Sd(16);"gdn"==Dj()&&Sd(32);this.g.j&&Sd(256);this.A.g!=null&&Sd(8)};C(Y,P);var Fk={},Ek=function(a,b){var c=!1;D(a.o,function(d){d.g!=null&&d.g.j=="lightbox"&&(c=!0)});return a.j?new Ck(b,2,!1):c?new xk(b,2,!0):new yk(b,zk,!0)};Y.prototype.da=function(){this.B++;Gk(this)};Y.prototype.aa=function(){Hk(this,new Lg("logEvent","Count","FULL_SCREEN"))};Y.prototype.ea=function(a){typeof a.D==="boolean"&&a.D?Hk(this,a):Ik(this,a);a.H&&this.v.ba()};Y.prototype.Z=function(){this.v.ba()}; var Ik=function(a,b){var c=rg(b.j);c=Th(b.A,c);c!=null&&Jk(a,c,b.j,b.C,b.g)},Jk=function(a,b,c,d,e,f){if(b!==null)switch(a.o.Fa(b,c,d),c){case "Exit":f||(f=[]),f.push("CLICK");case "Count":pk(a.o,b,d,f);b=a.g.J[b];c=!1;b&&b.v&&(b=a.v,b.B?c=!1:(tk(b.v),b.o=A(),c=b.B=!0));c||a.v.bb();break;case "Start":qk(a.o,b,e,f);break;case "Stop":rk(a.o,b,e)}},Hk=function(a,b){if(b.o=="DISPLAY_TIMER")b.j=="Start"&&(a.S||(Kk(a).then(a.V,void 0,a),a.S=!0),a.U++==0&&(b=Uh(a.g,"DISPLAY_TIMER"))&&Jk(a,b,"Start",!1), a.B--);else{var c=Uh(a.g,b.o);if(c){var d=[];(b.o=="FULL_SCREEN"||b.o=="EXPAND_TIMER"&&b.j=="Start")&&d.push("EXPANSION");Jk(a,c,b.j,!1,b.g,d)}}};h=Y.prototype;h.kc=function(a){Hk(this,a);var b=Vh(this.g,a.o,a.videoName);b!=null&&Jk(this,b,a.j,!1,a.g)};h.nb=function(){var a=Uh(this.g,"DISPLAY_TIMER");a&&Jk(this,a,"Stop",!1)}; h.Oa=function(a){var b=this.g.ca[a.A]||{},c=a.B!=null?a.B:b.url;a.o==null||F(M(a.o))||(c=Kd(c,a.o));var d=this.g.S,e=Mh(this.g,"CLICK"),f=1==e.length?e[0].fa():"",g=c;e=a.v!=null?a.v:this.g.C;"market"==(c.match(Id)[1]||null)&&ob?(c=me(this.g.C,"http://ad.doubleclick.net/viewad/817-grey.gif",b.reportingId||null,f,d),Hg(this.G,c)):g=me(e,c,b.reportingId||null,f,d);c=g;d=b.o;b=b.j!=null?b.j:void 0;this.A.g!=null?(b=this.A,ei.test(c)?b.g.expand(c):ci(b)?t.AFMA_Communicator.sendMessage("open",di(b,c)): b.g.open(c)):window.open(c,d||"_blank",b||"");a.log&&e.indexOf("[rm_exit_id]")==-1&&Ik(this,a);this.v.ba()};h.ic=function(a){var b=this.J[a.g];switch(a.type){case "expandAsset":sj(this,b);break;case "expandRequested":sj(this,b);break;case "expandFinished":if(a=this.j[b])ak(a),Q(this,new nj("EXPAND_FINISH",b));break;case "collapseAsset":tj(this,b);break;case "collapseRequested":tj(this,b);break;case "collapseFinished":if(a=this.j[b])ck(a),Q(this,new nj("COLLAPSE_FINISH",b));break;case "tellAssetHide":this.O(b)}}; h.cc=function(a){a=unescape(a.j);this.g.j&&this.o.Ea(a);try{eval(a)}catch(b){}};h.bc=function(a){var b=Uh(this.g,a.j);if(b){var c=this.o,d=a.o;a=a.v;var e=c.B[b]||(c.B[b]=[]);b=c.C[b]||(c.C[b]=[]);d!=0&&e.push(d);a!=0&&b.push(a)}};h.dc=function(a){this.o.Ra(a.j,a.o)};h.Ab=function(a){var b=this.g.g.CREATIVE_PARAMETER_TURTLEX_AD_SIGNALS,c=a.data.reportingId;b&&c&&Dk(b,c,a.data.clickX,a.data.clickY,a.data.creativeDims,a.data.bgResponse)}; h.zb=function(){var a=Mh(this.g,"IMPRESSION_JS");a.length>0&&(a=Ia(a,function(b){return b.fa()}),lj(a,this.g.O));Lk(this)};var Lk=function(a){for(var b=a.g.o,c=0;c0&&e.startTime||0)*1E3)}},rj=function(a,b,c){c?c>0&&(a.B++,a.C.push(ng(w(a.T,a,b),c))):(a.B++,a.T(b))}; Y.prototype.T=function(a){if(!(a in this.j)){var b=this.ia.g(a)?new Mk(a,this.g):null;if(b){this.j[a]=b;this.J[b]=a;b=this.j[a];var c=this.F;c.listen(b,"logEvent",this.ea);c.listen(b,"logVideoEvent",this.kc);c.listen(b,"logExitFlushEventsOpenPopup",this.Oa);c.listen(b,"launchExit",this.Oa);Lh(this.g)&&c.listen(b,"TURTLEX_AD_CLICKED",this.Ab);c.listen(b,"expandAsset expandRequested expandFinished collapseAsset collapseRequested collapseFinished tellAssetHide".split(" "),this.ic);c.listen(b,"invokeExternalJSFunction", this.cc);c.listen(b,"reportCustomVariable",this.dc);c.listen(b,"setTimerAdjustment",this.bc);c.listen(b,"flushCounters",this.Z);c.listen(b,"RESET",this.da);c.listen(b,"registerChargeableEventName",this.ca);c.listen(b,"fullscreenExpandFinished",this.aa);if(a.D||this.g.T){if(b=a.C,c=null,b&&(c=zd(document,b)),c){var d;if(d=this.g.T)d=c,d=!(!F(M(ji(d)))&&"static"!=ji(d));d&&(c.style.position="relative");this.g.Ia&&(c.style.display="inline-block",c.style.verticalAlign="top");a.g&&a.g.o&&(this.N[b]=c.style.height, c.style.height="auto");this.j[a].qa(c)}}else document.body&&document.body.firstChild?this.j[a].Z(document.body.firstChild):document.body?this.j[a].qa(document.body):document.documentElement&&this.j[a].qa(document.documentElement);Q(this,new nj("SHOW",a))}}a.j&&(b=a.j,b=(b&&b.g&&b.endTime>0&&b.endTime||-1)*1E3,b>0&&(b=ng(w(this.O,this,a),b),this.C.push(b),this.M[a]=b));this.R||(Kk(this).then(this.ha,void 0,this),this.R=!0);this.g.eb&&Nk(this)}; var Nk=function(a){var b=a.g.fb;b?(b=t["bllsn"+b],typeof b!=="function"?setTimeout(function(){throw Error("atw: blockListenCallback is not a function");},0):b(function(c){if(c&&!c.block){c=a.g.o;for(var d=0;d0;)rk(c,d.pop(),b);delete this.J[b];b.dispose();delete this.j[a];this.M[a]&&(t.clearTimeout(this.M[a]),delete this.M[a]);Q(this,new nj("HIDE",a));Gk(this)}}; var sj=function(a,b){var c=a.j[b];c&&(Zj(c),Q(a,new nj("EXPAND",b)),Q(a,new nj("EXPAND_REQUEST",b)))},tj=function(a,b){var c=a.j[b];c&&(bk(c),Q(a,new nj("COLLAPSE",b)),Q(a,new nj("COLLAPSE_REQUEST",b)))};Y.prototype.ha=function(){Ok(this)}; var Ok=function(a){a.v.s=A();a.g.Ja&&Hk(a,new Lg("logEvent","Count","HTML5_CREATIVE_IMPRESSION"));Lh(a.g)?typeof window.vv==="function"&&window.vv():a.g.Ha&&(a.g.Aa&&!a.g.j?typeof window.vv==="function"?window.vv():Hg(a.G,zc(a.g.M)):Hg(a.G,a.g.M));var b=[];qh.forEach(function(c){b.push.apply(b,la(Mh(a.g,c)))});a.g.Aa&&typeof window.pdib3==="function"&&!a.g.j?b.forEach(function(c){var d=c.fa();F(M(d))||(c.mb?Ac().pdib3(d,!0):Ac().pdib3(d,!1))}):b.forEach(function(c){c.ping()})}; Y.prototype.V=function(){this.v.Qa();this.C.push(ng(w(this.nb,this),24E4))};var Gk=function(a){--a.U==0&&(a.nb(),sk(a.o),a.B==0&&a.dispose())};Y.prototype.ca=function(a){this.o.Sa(a.j)}; Y.prototype.I=function(){for(var a in this.N)zd(document,a).style.height=this.N[a];this.F.dispose();for(this.W.dispose();this.C.length>0;)t.clearTimeout(this.C.pop());a=this.g.o;for(var b=0;b=0&&b.indexOf(c,d)==d}b&&(this.j.g=a.error instanceof Error?a.error:a.message,a=this.j.j(),sh(t,a,!1,!1,!1))};Rk.prototype.I=function(){this.g&&this.o.removeEventListener("error",this.g,!1);N.prototype.I.call(this)};var Sk=function(a){this.g=a};var Tk=function(){N.call(this);this.B={};this.j=this.g=null;this.o=[];this.s=!0};r(Tk,N);var Uk=function(a,b,c){a.s=!1;a.g===null&&(a.g=new Ef(typeof(t.MutationObserver||t.WebKitMutationObserver)==="function"?a.A:a.v,a));Pf(a.g.then(b,function(){},c),function(){this.j!==null&&this.j.disconnect();this.s=!0},a)}; Tk.prototype.A=function(a){Vk(this)?a():(this.j=new t.MutationObserver(w(function(b,c){var d=!1;D(b,function(e){"childList"==e.type&&0!=e.addedNodes.length&&(d=!0)});d&&Vk(this)&&(c.disconnect(),a())},this)),this.j.observe(t.document.documentElement,{childList:!0,subtree:!0}))};Tk.prototype.v=function(a){var b=new Mj(1500);Lj?Vk(this)&&a():af(b,"ready",function(){Vk(this)?a():ng(function(){Vk(this)&&a()},0,this)},!1,this)}; var Vk=function(a){for(var b=a.o.length-1;b>=0;--b){var c=a.o[b];if(zd(document,c)===null){b:{var d=window;try{var e=d.parent.document;break b}catch(f){}e=void 0}c=e?e.getElementById(c)!==null:!1}else c=!0;if(!c)return a.o.length=b+1,!1}a.o=[];return!0};Tk.prototype.I=function(){this.g!==null&&this.g.cancel();this.g=null;this.j!==null&&this.j.disconnect();this.j=null};var Wk=null,Xk=null,Yk=function(a,b){return Ia(Mh(a,b),function(c){return c.fa()})},Zk=function(a){var b=Nh(a).length>0,c=a.ia;a=a.na;return b&&ij(c,a)},al=function(a){var b="",c=u("dclkStudioV3.startTimes."+a.D),d=Nh(a);d.length>0&&(b=(b=d[0].v)&&b.g?b.g:"");d=!F(b)&&"0_0"!==b;c&&d?(a=$k(Xk,a.j),c=new Fj(new Pk(4E-5,"https:","200_281",b),a,c,b)):c=null;return c},cl=function(a){if(Zk(a)){var b=al(a);b&&Gj(b,"l");var c=new Tk;D(a.o,function(e){e=e.C;e!=null&&c.s&&(e=new Sk(e),c.g=null,c.B["."]=e,c.o.push(e.g))}); a=bl(a,b);Uk(c,a.zb,a)}else if(a.R){b=Yk(a,"IMPRESSION_IMG");var d=Yk(a,"IMPRESSION_JS");jj(a.s,a.R,a.O,a.j,b,a.G.g,a.G.A,a.G.v,a.G.j,d)}},el=function(){dl().then(function(a){D(a,cl)})},fl=function(a){Fk[a]&&Fk[a].dispose()};var gl=function(a,b){if(a.videoData){var c=a.videoData;c=new Bh(c.associatedVideoEntryReportingIdentifier,c.associatedStandardVideoEvent)}return new Eh(a.name,a.reportingId,b,c)};var hl=function(a){return JSON.parse(a.replace(/\\"/g,'"'))};function il(){} var dl=function(){var a=jl();return new Ef(function(b){var c=[],d=u("studioV2.creatives")||{},e;for(e in d){var f=d[e],g=f.creativeDefinition;if(g)for(var k=f.adResponses;k.length>0;){var l=k.shift(),m=l.creativeDto;if(m.rendererName==Ij&&m.templateVersion=="200_281"){var z=c,R=z.push,E=void 0,ra=l,aa=g,L=new Ih,Xc=new zh(ra.creativeDto),Ee=void 0,Fe=void 0,p=L,K=Xc;if(!p.oa){p.oa=!0;var x=K.j,Yc=x.B;p.s=K.id||p.s;p.D=K.uniqueId||p.s||p.D;p.A=K.o?new H(parseInt(K.o.width,10)||p.A.width,parseInt(K.o.height, 10)||p.A.height):p.A;p.B=x.D||p.B;p.F=x.j?new H(parseInt(x.j.w,10)||p.F.width,parseInt(x.j.h,10)||p.F.height):p.F;p.j=K.v||p.j;p.ia=K.s||p.ia;p.na=K.A||p.na;for(Fe in x.s)p.g[Fe]=x.s[Fe];p.g.sn=x.Y;p.g.sid=x.V;p.g.aid=x.H;p.g.cid=x.creativeId;p.g.buy=x.G;p.g.pid=x.T;p.g.adv=x.F;p.g.kid=x.S;p.g.rid=x.U;p.g.geo=x.R;p.g.randomNumber=x.randomNumber;for(Ee in Yc.g)p.g[Ee]=Yc.g[Ee];p.O=Yc.j||p.O;p.T=Yc.o||p.T;p.N=K.G||p.N;p.U="https"==(K.J.match(Id)[1]||null);p.H={ua:K.H||p.H.ua,va:K.F||p.H.va};var Zc= new uh(p.j);F(M(x.g))||(p.v.CLICK=[new oh(x.g,Zc)]);if(Array.isArray(K.g)&&K.g.length>0){p.v.IMPRESSION_IMG=[];for(var Ge=0;Ge=0;--dd){var Pe=Oe[dd];if(Pe.previewMode){var ed=Pe,Va=u("window.dclkStudioV3.creativeParametersOverrides");ed&&Va&&(Va.CREATIVE_PARAMETER_LAYOUT_CONFIG&&(ed.creativeParameters.CREATIVE_PARAMETER_LAYOUT_CONFIG=Va.CREATIVE_PARAMETER_LAYOUT_CONFIG), Va.PREVIEW_FRAME_NAME&&(ed.creativeParameters.PREVIEW_FRAME_NAME=Va.PREVIEW_FRAME_NAME),Va.PREVIEW_FRAME_DEPTH&&(ed.creativeParameters.PREVIEW_FRAME_DEPTH=Va.PREVIEW_FRAME_DEPTH))}var Qe=void 0,J=Pe,U=new Ih,q=U,v=J;if(!q.oa){q.oa=!0;q.hb=v.renderingLibraryData.version;var Ja=v.creativeParameters;q.s=Ja.cid||q.s;q.D=Ja.creative_unique_id||q.D;q.A=new H(parseInt(v.width,10)||q.A.width,parseInt(v.height,10)||q.A.height);q.F=new H(parseInt(v.slotWidth,10)||q.F.width,parseInt(v.slotHeight,10)||q.F.height); q.j=Hh(v.previewMode,q.j);q.La=q.j?v.previewEventsUrl:"";Array.isArray(v.html5Features)&&(q.na=Ga(v.html5Features,"Modernizr.cssanimations")>=0,q.ia=v.html5Features);q.g=Ja;q.O=Ja.ad_container_id||q.O;q.T=Hh(Ja.mtfRenderFloatInplace,q.T);q.Ia=Hh(Ja.generate_ad_slot,q.Ia);q.da=Ja.exit_suffix||q.da;a:{var fd=v.primaryFiles;if(fd!=null)for(var gd=0;gd=0:a==b};ll.prototype.g=function(){return!1};var bl=function(a,b){var c=Wk,d=$k(c.o,a.j),e=a.D;Fk[e]||(Fk[e]=new Y(a,c,ai(),d,b));return Fk[e]},jl=function(){var a=Wk;a.j||(a.j=new il);return a.j};var nl=function(a,b,c){dk.call(this,a,b,c);this.g=b;this.O=this.o=null;this.da=this.M=!1;this.N=-1;this.C=null;this.B=ai()};r(nl,dk);h=nl.prototype;h.ja=function(){if(!F(M(this.g.N))){var a=this.P(),b=new Image;b.width=Gc(this.g.A).width;b.height=Gc(this.g.A).height;b.src=this.g.N;a.appendChild(b);this.O=b}dk.prototype.ja.call(this)}; h.Ya=function(){this.O!=null&&(this.P().removeChild(this.O),this.O=null);this.o==null&&ol(this);fk(this,"logEvent",["Start","DISPLAY_TIMER",null,"false","false"]);Tj(this).listen(this.o,"mouseover",this.nc);Tj(this).listen(this.o,"mouseout",this.mc);var a=Tj(this);this.C&&(of(a,this.C,"tick",this.Va),this.C.dispose());this.C=new lg(80);a.listen(this.C,"tick",this.Va);this.C.start()};h.ra=function(a,b){dk.prototype.ra.call(this,a,b);li(this.o,"100%","100%")}; h.Va=function(){this.N>0&&!this.M&&1E30&&(k=e[0].fa()),m=me(this.A.C,m,l,k,this.A.S));c.url=m}f=this.g;c=this.B.g!=null;e={};g=[];e.clickTags=[];for(var z in d)k=d[z],l=k.url,m={name:k.name,url:l},Lh(f)&&(m.reportingId=k.reportingId),e.clickTags.push(m),g.push(encodeURIComponent(k.name)+"="+encodeURIComponent(l));e.isInitClickTag=!0;c&&(e.relegateNavigation="parent");Kh(f)&&(e.newtonOt2Token=f.g.CREATIVE_PARAMETER_NEWTON_OT2_TOKEN);Lh(f)&&(e.isTurtleXAdClick= !0);d=JSON.stringify(e);b.call(a,d,"*")};h.pc=function(a){var b=this.B;try{var c=JSON.parse(a.j.data);if(c.isPostClickTag&&c.clickTag){var d=[c.clickTag];ci(b)&&d.length==1&&typeof d[0]==="string"?t.AFMA_Communicator.sendMessage("open",di(b,d[0])):b.g.open.apply(b.g,d)}}catch(e){}};h.Bb=function(a){try{var b=this.g.g.CREATIVE_PARAMETER_TURTLEX_AD_SIGNALS,c=JSON.parse(a.j.data),d=c.reportingId;b&&d&&Dk(b,d,c.clickX,c.clickY,c.creativeDims,c.bgResponse)}catch(e){}};var pl=function(){ll.call(this)};r(pl,ll);pl.prototype.g=function(a){var b=ml("BANNER",a.s);a=ml("HTML5",a.o);return b&&a};var ql=new pl,rl=ql.o;Wk=ql;Xk=rl;for(var sl=document.getElementsByTagName("noscript"),tl=0;tl