var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(d,t,q){if(q.get||q.set)throw new TypeError("ES3 does not support getters and setters.");d!=Array.prototype&&d!=Object.prototype&&(d[t]=q.value)};$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; $jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(d){return $jscomp.SYMBOL_PREFIX+(d||"")+$jscomp.symbolCounter_++}; $jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[d]&&$jscomp.defineProperty(Array.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(d){var t=0;return $jscomp.iteratorPrototype(function(){return tq&&(q=Math.max(0,t+q));if(null==u||u>t)u=t;u=Number(u);0>u&&(u=Math.max(0,t+u));for(q=Number(q||0);qb;b++)f[b]=0;g[h]=f}})();(function(){for(var c=0,f=g.length;cg;g++)f[g]=0;b[h]=f}})();(function(){for(var c=0,b=q.length;cc||q(g)&&!q(c))return 1;g=parseFloat(b.date.day);c=parseFloat(d.date.day);return gc?1:0}return g=f||(f=g,d=c)});return d}}function k(b,c){this.x=b;this.y=c}function g(b,c,d){this.r=b;this.g=c;this.b=d}function l(b,c,d,g){this.r=b;this.g=c;this.b=d;this.a=g}function q(b){var c=b.getClientRects()[0];b.width=c.width;b.height=c.height}function c(b,c,d){b.beginPath();b.arc(c.x,c.y,24,0,2*Math.PI,!1);var f=b.createRadialGradient(c.x,c.y,0,c.x,c.y,24);f.addColorStop(0,d.RGBa(.6).String());f.addColorStop(1, d.RGBa(0).String());b.fillStyle=f;b.fill();b.beginPath();b.arc(c.x,c.y,3,0,2*Math.PI,!1);b.fillStyle=d.RGBa(.8).String();b.fill()}var m=new g(0,255,102),n=new g(243,156,18);new g(58,152,216);k.prototype.GetDelta=function(b){var c=this.x-b.x;0>c&&(c*=-1);b=this.y-b.y;0>b&&(b*=-1);return c>b?c:b};g.prototype.String=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"};g.prototype.RGBa=function(b){return new l(this.r,this.g,this.b,b)};l.prototype.String=function(){return"rgba("+this.r+", "+this.g+ ", "+this.b+", "+this.a+")"};return new function(){this.New=b;this.RGB=g;this.RGBa=l;this.Click=k}}();return function(){function b(b,c){var l=new H,n={},f=[],h=u(g.index),q=!1;this.exit=function(){q||(f.forEach(function(b){b.exit()}),l.reset(),d(b,h),l=h=null,q=!0)};c.adsList?(c.clicks||(c.clicks=[]),c.adsList.forEach(function(b){var d=b.data.width+"/"+b.data.height,m=n[d];m||(m=n[d]=u(g.container),m.querySelector("h2").textContent=d,h.appendChild(m));f.push(new k(l,m,c,b.id,b.data))}),b.appendChild(h)): console.error("empty ads list")}function q(b,c,g,l,f,h){var k=document.createElement("report-item"),m=document.createElement("row"),n=document.createElement("row"),q=document.createElement("row"),r=new Date(1E3*f.ts),t=c.Sub("activeRow",function(b){b!==h?k.classList.remove("active"):k.classList.add("active")}),u=!1;this.exit=function(){u||(c.Unsub("activeRow",t),d(g,k),u=!0)};m.innerHTML=""+r.toString()+"";n.innerHTML="UUID: "+f.uuid;q.innerHTML="Time to click: "+ f.ttc+" milliseconds";b.add(k,"click",function(b){c.Put("activeRow",h)},l);k.appendChild(m);k.appendChild(n);k.appendChild(q);g.appendChild(k)}function k(b,c,k,n,f){function h(){G||(v.Unsub("activeRow",H),E.forEach(function(b){b.exit()}),b.removeByTag(n),d(c,r),1>=c.childNodes.length&&d(c.parentNode,c),G=!0)}function m(b){b=D.GetMatch(b.layerX,b.layerY);-1