(function(){function h(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function q(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:h(a)}}var r=this;function t(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}function v(a,b,c){return a.call.apply(a.bind,arguments)}function x(a,b,c){if(!a)throw Error();if(2<arguments.length){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)}}function y(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?y=v:y=x;return y.apply(null,arguments)}var z=Date.now||function(){return+new Date};function B(a,b){function c(){}c.prototype=b.prototype;a.B=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.C=function(d,e,g){for(var k=Array(arguments.length-2),u=2;u<arguments.length;u++)k[u-2]=arguments[u];return b.prototype[e].apply(d,k)}};var C=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"==typeof a?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)};function D(){}var aa="function"==typeof Uint8Array;function E(a,b,c){a.a=null;b||(b=[]);a.l=void 0;a.f=-1;a.b=b;a:{if(b=a.b.length){--b;var d=a.b[b];if(!(null===d||"object"!=typeof d||"array"==t(d)||aa&&d instanceof Uint8Array)){a.g=b-a.f;a.c=d;break a}}a.g=Number.MAX_VALUE}a.i={};if(c)for(b=0;b<c.length;b++)if(d=c[b],d<a.g)d+=a.f,a.b[d]=a.b[d]||F;else{var e=a.g+a.f;a.b[e]||(a.c=a.b[e]={});a.c[d]=a.c[d]||F}}var F=[];function G(a,b){if(b<a.g){b+=a.f;var c=a.b[b];return c===F?a.b[b]=[]:c}if(a.c)return c=a.c[b],c===F?a.c[b]=[]:c}function H(a,b,c){a=G(a,b);return null==a?c:a}function I(a){a=G(a,9);a=null==a?a:!!a;return null==a?!1:a}function ba(a){var b=J;a.a||(a.a={});if(!a.a[1]){var c=G(a,1);c&&(a.a[1]=new b(c))}return a.a[1]}function K(a){var b=L;a.a||(a.a={});if(!a.a[1]){for(var c=G(a,1),d=[],e=0;e<c.length;e++)d[e]=new b(c[e]);a.a[1]=d}b=a.a[1];b==F&&(b=a.a[1]=[]);return b}D.prototype.toString=function(){return this.b.toString()};function J(a){E(this,a,ca)}B(J,D);function L(a){E(this,a,null)}B(L,D);function M(a){E(this,a,null)}B(M,D);var ca=[1];var N=document,O=window;var da={capture:!0},ea=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});r.addEventListener("test",null,b)}catch(c){}return a});function fa(a){return a?a.passive&&ea()?a:a.capture||!1:!1}function P(a,b,c,d){a.addEventListener&&a.addEventListener(b,c,fa(d))};function ha(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)}function Q(a,b){a&&ha(b,function(c,d){a.style[d]=c})}function ia(a){for(var b=N.body,c=document.createDocumentFragment(),d=a.length,e=0;e<d;++e)c.appendChild(a[e]);b.appendChild(c)};function ja(a){a=void 0===a?[]:a;r.google_logging_queue||(r.google_logging_queue=[]);r.google_logging_queue.push([12,a])};function R(){this.b=this.b;this.c=this.c}R.prototype.b=!1;function ka(a){a.b||(a.b=!0,a.f())}R.prototype.f=function(){if(this.c)for(;this.c.length;)this.c.shift()()};function S(a,b,c){R.call(this);this.g=a;this.u=b||0;this.i=c;this.l=y(this.s,this)}B(S,R);S.prototype.a=0;S.prototype.f=function(){S.B.f.call(this);this.stop();delete this.g;delete this.i};S.prototype.start=function(a){this.stop();var b=this.l;a=void 0!==a?a:this.u;if("function"!=t(b))if(b&&"function"==typeof b.handleEvent)b=y(b.handleEvent,b);else throw Error("Invalid listener argument");this.a=2147483647<Number(a)?-1:r.setTimeout(b,a||0)};S.prototype.stop=function(){0!=this.a&&r.clearTimeout(this.a);this.a=0};S.prototype.s=function(){this.a=0;this.g&&this.g.call(this.i)};function la(a){P(O,"message",function(b){try{var c=JSON.parse(b.data)}catch(d){return}!c||"ig"!==c.googMsgType||a(c,b)})};var ma={display:"inline-block",position:"absolute"},na={display:"none",width:"100%",height:"100%",top:"0",left:"0"};function T(a,b){a&&(a.style.display=(void 0===b?0:b)?"none":"inline-block")}function V(){this.c=[];this.f=this.a=null;this.u=[];this.i=null;this.s=[];this.b=[];this.g=[];this.l={};this.A=[]}V.prototype.init=function(a){var b=this;ja([a]);this.i=new M(a);a=ba(this.i);C(K(a),function(e){b.g.push({v:0,m:!1,w:0,h:e,o:-1})});try{var c=N.querySelectorAll("*[data-ifc]")}catch(e){c=[]}this.b=c;c=this.b.length;for(a={j:0};a.j<c;a={j:a.j},++a.j){var d=new J(JSON.parse(this.b[a.j].getAttribute("data-ifc")||"[]"));C(K(d),function(e){return function(g){b.g.push({v:0,m:!1,w:0,h:g,o:e.j})}}(a))}c=q(this.g);for(a=c.next();!a.done;a=c.next())a=a.value,d=a.h,0<H(d,2,0)&&0<H(d,5,1)?(!this.a&&I(d)&&(this.a=W(na)),oa(this,a)):H(d,1,"")&&I(d)&&pa(this,H(d,1,""));c=this.c.slice(0);this.a&&c.push(this.a);N.body&&ia(c);P(N,"click",function(e){for(var g,k=-1,u=[],U=q(b.g),p=U.next();!p.done;p=U.next()){p=p.value;var f=p.o,n=-1!==f;if(!(H(p.h,3,0)<=k||p.m||n&&!1===u[f])){var l=!n||u[f]||b.b[f].contains(e.target);n&&l&&(u[f]=!0);if(f=l)if(n=e,f=p,l=f.h,0<H(l,2,0)&&0<H(l,5,1))f=b.l[H(l,5,1)],f=void 0!==f&&z()<f+H(l,2,0);else if(H(l,1,"")){l=(0<=f.o?b.b[f.o]:N.body).getBoundingClientRect();var A=parseFloat(N.body.style.zoom||1),w=q([n.clientX/A-l.left,n.clientY/A-l.top,l.width,l.height]);n=w.next().value;l=w.next().value;A=w.next().value;w=w.next().value;!(0<A&&0<w)||isNaN(n)||isNaN(l)||0>n||0>l?f=!1:(f=X(H(f.h,1,"")),f=!(n>=f.left&&A-n>f.right&&l>=f.top&&w-l>f.bottom))}else f=!0;f&&(g=p,k=H(p.h,3,0))}}if(g)switch(k=g.h,H(k,4,1)){case 2:case 3:case 4:var m=void 0===m?!1:m;e.preventDefault?e.preventDefault():e.returnValue=!1;m&&e.stopPropagation();m=z();500<m-g.w&&(g.w=m,++g.v);m=g.h;if(H(m,8,0)&&g.v>=H(m,8,0))if(g.m=!0,b.a&&0<H(m,2,0))Y(b);else if(0<b.c.length&&H(m,1,""))for(m=q(b.c),g=m.next();!g.done;g=m.next())T(g.value,!0);m=k.b;g=q(b.s);for(k=g.next();!k.done;k=g.next())k=k.value,k(e,m)}},da)};V.prototype.registerCallback=function(a){this.s.push(a)};function pa(a,b){b=X(b);var c=H(a.i,9,0);a.c=[{width:"100%",height:b.top+c+"px",top:-c+"px",left:"0"},{width:b.right+c+"px",height:"100%",top:"0",right:-c+"px"},{width:"100%",height:b.bottom+c+"px",bottom:-c+"px",left:"0"},{width:b.left+c+"px",height:"100%",top:"0",left:-c+"px"}].map(function(d){return W(d,9019)})}function Z(a,b){if(!b.m){var c=H(b.h,5,1);a.l[c]=z();I(b.h)&&(a.u.push(b),Y(a))}}function oa(a,b){switch(H(b.h,5,1)){case 2:O.AFMA_Communicator&&O.AFMA_Communicator.addEventListener&&O.AFMA_Communicator.addEventListener("onshow",function(){Z(a,b)});break;case 4:P(N,"DOMContentLoaded",function(){Z(a,b)});break;case 7:O.mraid&&O.mraid.isViewable&&P(O.mraid,"viewableChange",function(){var d=O.mraid;"function"==t(d.isViewable)&&d.isViewable()&&Z(a,b)});break;case 8:la(function(d){d.rr&&Z(a,b)});break;case 9:if(O.IntersectionObserver){var c=new IntersectionObserver(function(d){d=q(d);for(var e=d.next();!e.done;e=d.next())if(0<e.value.intersectionRatio){Z(a,b);break}});c.observe(N.body);a.A.push(c)}}}function Y(a){for(var b=0,c=q(a.u),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.h,g=a.l[H(e,5,1)];d.m||void 0===g||(b=Math.max(b,g+H(e,2,0)))}a.f&&ka(a.f);b-=z();var k=a.a;0<b?(T(k),a.f=new S(function(){T(k,!0)},b),a.f.start()):T(k,!0)}function W(a,b){b=void 0===b?2147483647:b;var c=N.createElement("DIV");Q(c,ma);Q(c,{"z-index":b});Q(c,a);return c}function X(a){a=void 0===a?"":a;var b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4==a.length&&a.reduce(function(c,d){return c&&!isNaN(d)},!0)&&(a=q(a.map(function(c){return+c})),b.top=a.next().value,b.right=a.next().value,b.bottom=a.next().value,b.left=a.next().value));return b};window.googqscp=new V;}).call(this);