window.googletag&&typeof googletag._gpt_js_load_2_=='function'&&googletag._gpt_js_load_2_(function(_,_m){var Wja=function(a){var b=_.ec;if(!(0,_.ND)(a)){var c,d;b=(d=(c=typeof b==="function"?b():b)==null?void 0:c.concat("\n"))!=null?d:"";throw Error(b+String(a));}return a},Xja=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1},X1=function(a){if(!Yja.test(a))return null;a=Number(a);return isNaN(a)?null:a},Y1=function(a,b,c,d){d=d===void 0?null:d;var e=function(g){try{var h=JSON.parse(g.data)}catch(k){return}!h||h.googMsgType!==b||d&&/[:|%3A]javascript\(/i.test(g.data)&&!d(h,g)||c(h,g)};_.Og(a,"message",e);var f=!1;return function(){var g=!1;f||(f=!0,g=_.Pg(a,"message",e));return g}},Z1=function(a,b,c,d){c.googMsgType=b;a.postMessage(JSON.stringify(c),d)},$1=function(a,b,c,d,e){if(!(e<=0)&&(Z1(a,b,c,d),a=a.frames))for(var f=0;f1&&$1(a[f],b,c,d,--e)},Zja=function(a,b){return a&&a.source?a.source===b||a.source.parent===b:!1},b2=function(a){var b={bottom:"auto",clear:"none",display:"inline","float":"none",height:"auto",left:"auto",margin:0,"margin-bottom":0,"margin-left":0,"margin-right":"0","margin-top":0,"max-height":"none","max-width":"none",opacity:1,overflow:"visible",padding:0,"padding-bottom":0,"padding-left":0,"padding-right":0,"padding-top":0,position:"static",right:"auto",top:"auto","vertical-align":"baseline",visibility:"visible",width:"auto","z-index":"auto"};_.qD(_.u(Object,"keys").call(Object,b),function(c){var d=a.style[_.uD(c)];(typeof d!=="undefined"?d:a.style[_.WF(a,c)])||_.jm(a,c,b[c])});a2(a)},c2=function(a){var b=a.screen.height===812&&a.screen.width===375||a.screen.width===812&&a.screen.height===375||a.screen.width===414&&a.screen.height===896||a.screen.width===896&&a.screen.height===414;return(a.navigator&&a.navigator.userAgent&&a.navigator.userAgent.match(/iPhone OS 1[1-9]|[2-9]\d/))!=null&&b},d2=function(a,b){a=a.getComputedStyle(b);return b.offsetWidth>0&&b.offsetHeight>0&&a.display!=="none"&&a.visibility!=="hidden"&&a.opacity!=="0"},aka=function(a,b){var c=c===void 0?$ja:c;return d2(a,b)&&c.some(function(d){var e;return(e=b.src)==null?void 0:_.u(e,"includes").call(e,d)})},bka=function(a){return _.u(Array,"from").call(Array,a.document.querySelectorAll("video")).some(function(b){return d2(a,b)&&!(!b.currentSrc&&!b.src)})||_.u(Array,"from").call(Array,a.document.querySelectorAll("iframe")).some(function(b){return aka(a,b)})},f2=function(a,b,c,d){if(!(a.nodeName in cka))if(a.nodeType===3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in e2)d&&a.nodeName==="IMG"&&a.hasAttribute("alt")&&b.push(" "+a.getAttribute("alt")),b.push(e2[a.nodeName]);else for(a=a.firstChild;a;)f2(a,b,c,d),a=a.nextSibling},dka=function(a){var b=new _.y.Set;a.forEach(function(c){switch(c){case 1:b.add(1);break;case 2:b.add(2);break;case 3:b.add(3);break;case 5:b.add(5);break;case 6:b.add(6);break;case 7:b.add(7)}});return b},eka=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;case 5:return 5;case 6:return 6;case 7:return 7;default:return 0}},fka=function(a,b,c,d){return Y1(a,"fullscreen",d.Ka(952,function(e,f){if(f.source===b){if(!("eventType"in e))throw Error("bad message "+JSON.stringify(e));delete e.googMsgType;c(e)}}))},gka=function(a,b,c,d,e){a=new g2(1,a,b,c,d,e);a.init();return a},h2=function(a){return _.hc(function(b){if(b instanceof a)return!0;var c,d,e=b==null?void 0:(c=b.ownerDocument)==null?void 0:(d=c.defaultView)==null?void 0:d[a.name];return(0,_.ND)(e)&&b instanceof e})},i2=function(a){return _.hc(function(b){return hka(b)&&b.tagName.toLowerCase()===a})},ika=function(a){var b;a=((b=a===void 0?null:a)!=null?b:window).googletag;return(a==null?0:a.apiReady)?a:void 0},lka=function(a){var b=jka(_.$n(_.MF(a)))||[];return!!_.qm(a,function(c){if(!_.Za(c)||c.nodeType!=1)return!1;var d=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector;return!d||_.Va(b,c)>=0||_.gi(_.u(Object,"values").call(Object,kka),function(e){return d.call(c,e)})},!1,20)},jka=function(a){var b=ika(a);return b?_.bm(_.rD(b.pubads().getSlots(),function(c){return a.document.getElementById(c.getSlotElementId())}),function(c){return c!=null}):null},j2=function(a){var b;(b=a.j)==null||b.setAttribute("data-vignette-loaded","true")},k2=function(a,b){var c=a.ownerDocument,d=c.createElementNS("http://www.w3.org/2000/svg","line");d.setAttribute("x1",b?"32":"22");d.setAttribute("y1","18");d.setAttribute("x2",b?"38":"28");d.setAttribute("y2","12");a.appendChild(d);c=c.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1",b?"38":"28");c.setAttribute("y1","12");c.setAttribute("x2",b?"44":"34");c.setAttribute("y2","18");a.appendChild(c)},l2=function(a,b){var c=a.ownerDocument,d=c.createElementNS("http://www.w3.org/2000/svg","line");d.setAttribute("x1",b?"32":"22");d.setAttribute("y1","12");d.setAttribute("x2",b?"38":"28");d.setAttribute("y2","18");a.appendChild(d);c=c.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1",b?"38":"28");c.setAttribute("y1","18");c.setAttribute("x2",b?"44":"34");c.setAttribute("y2","12");a.appendChild(c)},m2=function(a,b,c){b!==null&&X1(a.getAttribute("width"))!==null&&a.setAttribute("width",String(b));c!==null&&X1(a.getAttribute("height"))!==null&&a.setAttribute("height",String(c));b!==null&&(a.style.width=_.CY(b));c!==null&&(a.style.height=_.CY(c))},mka=function(a){a=_.sl(a);a=100*(a<1?1:a);return{width:a+"vw",height:a+"vh"}},nka=function(a,b,c,d){if(!(b<=0))return function(e){if(e>=b)return a.O({K:99}),!1;if((0,_.su)()!==0)return a.O({K:100}),!1;a:{e=d;e=e===void 0?window:e;if(_.li(c))try{var f={value:e.sessionStorage.getItem("lvtd")};break a}catch(g){f={error:1};break a}f={error:0}}e=f.value;if(f.error!==void 0)return a.O({K:101}),!1;e?(f=Number(e),f=isNaN(f)?!1:Date.now()-f>=_.L(_.bU)*60*1E3):f=!0;if(!f)return a.O({K:102}),!1;f=Date.now().toString();e=d;e=e===void 0?window:e;if(_.li(c))try{e.sessionStorage.setItem("lvtd",f)}catch(g){}return!0}},n2=function(a){this.B=_.B(a)};_.W(n2,_.C);n2.prototype.C=_.D(_.AQ);var o2=function(a){this.B=_.B(a)};_.W(o2,_.C);o2.prototype.C=_.D(_.BQ);_.kY.prototype.Ff=_.da(5,function(a){var b=this.g().Cq;if(_.zi(this.Z,b)){var c=this.Ya,d=c.lb,e=c.Pb,f=c.rb,g=c.Ce,h=c.sa,k=a.mh,l=a.Ts;a=this.H;c=a.th;b=_.tQ(_.wQ(_.vQ(b),this.l++));e=_.py(b,11,e);d=_.xQ(_.uQ(_.sQ(_.oy(e,8,d),_.Ji(_.Ki([f]))),g),h());f=new o2;k=_.py(f,2,k);f=new n2;l=_.Sj(f,1,l);l=_.Ji(l);l=_.Ck(k,1,l);l=_.Ji(l);l=_.Mi(d,6,_.yQ,l);c.call(a,_.Ji(l))}});_.eC.prototype.Ff=_.da(4,function(a){this.g.Ff(a)});var p2=function(a,b,c,d){d=d===void 0?!1:d;if(!a.Ua){a.Ua=[];for(var e=a.o.parentElement;e;){a.Ua.push(e);if(a.j===e)break;e=e.parentNode&&e.parentNode.nodeType===1?e.parentNode:null}}e=a.Ua.slice();!c&&a.j===e[e.length-1]&&e.pop();var f;if(d)for(c=e.length-1;c>=0;--c)(f=e[c])&&b.call(a,f,c,e);else for(c=0;ca?b>e?b:e:b=this.R&&d<=this.G.innerHeight)break;this.L=setTimeout(function(){x2(b,a+b.la)},this.la);this.j=1;break;case 1:this.ga>-this.ra||(clearTimeout(this.L),x2(this,a))}};var $ja="youtube.com youtube-nocookie.com vimeo.com dailymotion.com twitch.tv kick.com rumble.com".split(" "),z2=["mousemove","mousedown","scroll","keydown"],A2=function(a,b){_.Z.call(this);var c=this;this.G=a;this.Ui=b;this.g=[];this.j=_.Zw(function(){Aka(c)})};_.W(A2,_.Z);A2.prototype.listen=function(a){this.j();this.g.push(a)};var Aka=function(a){for(var b=null,c=null,d=function(l){if(b&&l.timeStamp-b>a.Ui){if(bka(a.G)){a.dispose();return}for(var m={bg:l.timeStamp,vq:l.timeStamp-b,lt:c},n=_.w(a.g),p=n.next();!p.done;p=n.next()){p=p.value;try{p(m)}catch(q){}}}b=l.timeStamp},e=_.w(z2),f=e.next();!f.done;f=e.next())a.G.addEventListener(f.value,d);var g=null,h,k;((h=a.G.navigator)==null?0:h.userActivation)&&((k=a.G.performance)==null?0:k.now)&&(g=a.G.setInterval(function(){a.G.navigator.userActivation.isActive&&(c=a.G.performance.now())},1E3));_.Cu(a,function(){for(var l=_.w(z2),m=l.next();!m.done;m=l.next())a.G.removeEventListener(m.value,d);g&&a.G.clearInterval(g)})},B2=function(a,b){return new A2(a,b===void 0?3E4:b)},C2=function(a){w2.call(this,a,[0,1,2]);this.j=0;this.init()};_.W(C2,w2);C2.prototype.g=function(a){var b=this;switch(this.j){case 0:this.A&&!this.I&&(this.j=1);break;case 1:if(!this.A&&this.o&&this.I){this.j=2;var c=setTimeout(function(){b.g(a)},200);_.Cu(this,function(){return void clearTimeout(c)})}break;case 2:!this.A&&this.o&&this.I?x2(this,a):this.j=1}};var D2=function(a){_.Z.call(this);var b=this;this.G=a;this.g=[];this.j=_.Zw(function(){Bka(b)})};_.W(D2,_.Z);D2.prototype.listen=function(a){this.j();this.g.push(a)};var Bka=function(a){var b=!1,c=function(e){e.isTrusted&&(b=!0)},d=function(e){var f=e.timeStamp;if(e=e.isTrusted&&!b)e=(e=a.G.document.referrer)&&typeof URL==="function"?(new URL(e)).origin===a.G.location.origin:!1;if(e){f={bg:f};e=_.w(a.g);for(var g=e.next();!g.done;g=e.next()){g=g.value;try{g(f)}catch(h){}}}};a.G.addEventListener("focus",d);a.G.addEventListener("blur",c);_.Cu(a,function(){a.G.removeEventListener("focus",d);a.G.removeEventListener("blur",c)})},E2=function(a,b){w2.call(this,a,[]);this.j=b;this.init()};_.W(E2,w2);E2.prototype.g=function(a){this.j(a)&&x2(this,a)};var F2=function(a,b,c,d){b=b===void 0?250:b;c=c===void 0?1:c;d=d===void 0?2:d;w2.call(this,a,[4]);this.Qj=b;this.Lm=c;this.Mm=d;this.L=null;this.j=[];(0,_.su)()===0?this.R=c*this.G.innerHeight:this.R=d*this.G.innerHeight;this.j.push({scrollY:this.G.scrollY,time:_.mm(this.G)});this.init()};_.W(F2,w2);F2.prototype.g=function(a,b){var c=this;if(b!=null&&b.event&&(this.j.push({scrollY:this.G.scrollY,time:a}),!(this.j.length<2))){b=this.j.length-2;var d=this.j[b],e=this.j[this.j.length-1];for(this.L&&clearTimeout(this.L);e.time-d.time<=1E3;){if(Math.abs(e.scrollY-d.scrollY)>this.R){this.L=setTimeout(function(){x2(c,a)},this.Qj);break}if(--b<0)break;d=this.j[b]}}};var G2=function(a){w2.call(this,a,[1]);this.init()};_.W(G2,w2);G2.prototype.g=function(a){this.j!=null||(this.j=0);switch(this.j){case 0:this.o&&(this.j=1);break;case 1:this.o||(this.j=2,this.R=a);break;case 2:this.o&&(this.L=a-this.R,x2(this,a))}};var H2=function(a,b,c,d){_.Z.call(this);var e=this;c.promise.then(function(){return void e.dispose()});b=_.w(b);for(var f=b.next(),g={};!f.done;g={Vb:void 0},f=b.next())switch(g.Vb=f.value,g.Vb){case 2:f=new G2(a);_.NA(this,f);f.F.then(function(h){return function(){return void c.resolve(h.Vb)}}(g));break;case 3:if((0,_.su)()!==0)break;f=new C2(a);_.NA(this,f);f.F.then(function(h){return function(){return void c.resolve(h.Vb)}}(g));break;case 4:f=new D2(a);_.NA(this,f);f.listen(function(h){return function(){return void c.resolve(h.Vb)}}(g));break;case 5:f=B2(a,d.Ui);_.NA(this,f);f.listen(function(h){return function(){return void c.resolve(h.Vb)}}(g));break;case 6:f=new y2(a,d.Bp,d.Ap);_.NA(this,f);f.F.then(function(h){return function(){return void c.resolve(h.Vb)}}(g));break;case 7:f=new F2(a,d.Qj,d.Lm,d.Mm);_.NA(this,f);f.F.then(function(h){return function(){return void c.resolve(h.Vb)}}(g));break;case 8:f=new E2(a,d.Hr),_.NA(this,f),f.F.then(function(h){return function(){return void c.resolve(h.Vb)}}(g))}};_.W(H2,_.Z);var cka={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1,NOSCRIPT:1},e2={IMG:" ",BR:"\n"},Cka=/ \xAD /g,Dka=/\xAD/g,Eka=/\u200B/g,Fka=/ +/g,Gka=/^\s*/;var g2=function(a,b,c,d,e,f){_.Z.call(this);this.slotType=a;this.F=b;this.gl=c;this.qa=d;this.H=e;this.Ah=f;this.state=1;this.qem=null;this.o=new _.lk;this.g=new _.lk;this.j=new _.lk};_.W(g2,_.Z);var Hka=function(a){return _.Sg(function(b){return b.return(a.o.promise)})},Ika=function(a){return _.Sg(function(b){return b.return(a.g.promise)})},Jka=function(a){return _.Sg(function(b){return b.return(a.j.promise)})};g2.prototype.init=function(){var a=this,b=fka(this.F,this.gl,function(c){if(c.eventType==="adError")a.j.resolve(),a.state=4;else if(c.eventType==="adReady"&&a.state===1)a.qem=c.qem,c.slotType!==a.slotType&&(I2(a,{cur_st:a.state,evt:c.eventType,adp_tp:c.slotType}),a.state=4),a.o.resolve(),a.state=2;else if(c.eventType==="adClosed"&&a.state===2)a.g.resolve(c.result),a.state=3;else if(c.eventType!=="adClosed"||a.state!==3)c.eventType==="adClosed"&&c.closeAfterError&&(a.g.resolve(c.result),a.state=3),I2(a,{cur_st:a.state,evt:c.eventType}),a.state=4},this.qa);_.Cu(this,b)};var I2=function(a,b){var c=.25;c=c===void 0?.01:c;b.type="err_st";b.slot=a.slotType;b.freq=c;a.qem&&(b.qem=a.qem);b.tag_type=a.Ah.Hs;b.version=a.Ah.version;_.$l(a.H,"fullscreen_tag",b,!1,c)};h2(Node);h2(Element);var hka=h2(HTMLElement);h2(SVGElement);var kka={vt:"ins.adsbygoogle-ablated-ad-slot",xt:"body ins.adsbygoogle",wt:"iframe[id^=aswift_],iframe[id^=google_ads_frame]",Jt:".google-auto-placed",Kt:"ins.adsbygoogle[data-anchor-status]",Mt:"iframe[id^=google_ads_iframe]",Rt:"div[id^=div-gpt-ad]",hu:"ins.adsbygoogle[data-ad-format=autorelaxed]",iu:"div.trc_related_container,div.OUTBRAIN,div[id^=rcjsload],div[id^=ligatusframe],div[id^=crt-],iframe[id^=cto_iframe],div[id^=yandex_], div[id^=Ya_sync],iframe[src*=adnxs],div.advertisement--appnexus,div[id^=apn-ad],div[id^=amzn-native-ad],iframe[src*=amazon-adsystem],iframe[id^=ox_],iframe[src*=openx],img[src*=openx],div[class*=adtech],div[id^=adtech],iframe[src*=adtech],div[data-content-ad-placement=true],div.wpcnt div[id^=atatags-]",Qt:"div.googlepublisherpluginad",su:"html > ins.adsbygoogle",Lt:"div.autors-widget"};var L2=function(a,b){var c=this;this.cd=a;this.l=!1;this.g=b.Ka(264,function(d){c.l&&(J2||(d=Date.now()),c.cd(d),J2?K2.call(_.ka,c.g):_.ka.setTimeout(c.g,17))})};L2.prototype.start=function(){this.l||(this.l=!0,J2?K2.call(_.ka,this.g):this.g(0))};L2.prototype.stop=function(){this.l=!1};var K2=_.ka.requestAnimationFrame||_.ka.webkitRequestAnimationFrame,J2=!!K2&&!/'iPhone'/.test(_.ka.navigator.userAgent);var M2=function(a,b,c,d){var e=this;this.start=a;this.end=b;this.time=c;this.progress=0;this.startTime=null;this.l=!1;this.g=[];this.j=null;this.o=new L2(function(f){if(e.l)e.o.stop();else{e.startTime===null&&(e.startTime=f);e.progress=(f-e.startTime)/e.time;e.progress>=1&&(e.progress=1);f=e.j?e.j(e.progress):e.progress;e.g=[];for(var g=0;g=0||b.push(g)}e=b}else e=[]}else e=[]}else e=[];(b=a.F.uq)||(b=_.pl(a.o),b=Math.abs(b-1)<.05);f=a.requestedSize.width=864E5)return a.D.O({K:11}),!1;a:switch(a.Ua.tag){case 0:c=!0;break a;case 1:c=!1;break a;default:c=!1}if(!c)return a.D.O({K:12}),!1;if(a.A.Rl)return a.D.O({K:13}),!1;if($2(a))return a.D.O({K:14}),!1;if(!a.A.hm)return a.D.O({K:15}),!1;if(!a.Na&&d)return a.D.O({K:16}),!1;a.Na&&a.D.O({K:17});d&&a.D.O({K:18});if(e.length)return a.D.O({K:19}),!1;if(!b)return a.D.O({K:20}),!1;if(!f)return a.D.O({K:21}),!1;a.D.O({K:22});return!0},e3=function(a,b){var c;if(!(c=!a.F.wp)){a:{try{var d,e;if((e=(d=HTMLScriptElement).supports)==null||!e.call(d,"speculationrules")||(new URL(b)).origin!==a.o.origin){var f=!1;break a}var g=a.o.document.createElement("script");g.type="speculationrules";var h=_.Pa(JSON.stringify({prerender:[{urls:[b]}]}).replace(/=this.g)delete this.history[a];else break;this.index=a;a>=this.history.length&&this.reset()};i3.prototype.reset=function(){this.history=[];this.index=0};var k3=function(a,b,c,d){c=c===void 0?b:c;d=d===void 0?100:d;_.Z.call(this);var e=this;this.document=a;this.target=b;this.handle=c;this.ob=d;this.I=this.A=this.ra=!1;this.F=this.g=this.j=this.o=this.na=this.P=this.ga=this.R=null;this.Bb=new h3(this.handle,"mousedown",function(f){f.button===0&&j3(e,f)});_.NA(this,this.Bb);this.Cb=new h3(this.handle,"touchstart",function(f){j3(e,f)});_.NA(this,this.Cb);this.Ab=new h3(this.handle,"click",function(f){e.ra?(e.onClick(),e.ra=!1):f.stopPropagation()});_.NA(this,this.Ab)};_.W(k3,_.Z);var l3=function(a){a=a.touches&&a.touches[0]||a;return new _.Zj(a.clientX,a.clientY)};k3.prototype.wa=function(){if(this.o&&this.j&&this.g){var a=this.o,b=q2(this.g,this.j);var c=new _.Zj(a.x+b.x,a.y+b.y);a=this.target;c instanceof _.Zj?(b=c.x,c=c.y):(b=c,c=void 0);a.style.left=_.cG(b,!1);a.style.top=_.cG(c,!1)}};k3.prototype.Ua=function(){};k3.prototype.onClick=function(){};k3.prototype.la=function(){var a=this.target,b=a.parentElement||null;var c=r2(a);b=r2(b);c=new _.Zj(c.x-b.x,c.y-b.y);a=t2(a,"margin");return q2(c,new _.Zj(a.left,a.top))};var j3=function(a,b){a.A&&a.stop();a.A=!0;a.o=a.la();a.j=l3(b);a.g=a.j;a.F=new i3(a.ob);a.F.add(a.j);a.R=new h3(a.document,"mousemove",function(c){m3(a,c)});_.NA(a,a.R);a.ga=new h3(a.document,"touchmove",function(c){m3(a,c)});_.NA(a,a.ga);a.P=new h3(a.document,"mouseup",function(c){n3(a,c)});_.NA(a,a.P);a.na=new h3(a.document,"touchend",function(c){n3(a,c)});_.NA(a,a.na)},m3=function(a,b){if(a.A)if(b.preventDefault(),a.g=l3(b),a.F.add(a.g),a.I)a.wa();else{var c=a.j,d=a.g;b=c.x-d.x;c=c.y-d.y;Math.sqrt(b*b+c*c)>=10&&(a.wa(),a.I=!0)}},n3=function(a,b){a.I?(b.preventDefault(),a.g=l3(b),a.Ua()):a.ra=!0;a.stop()};k3.prototype.stop=function(){this.I=this.A=!1;this.F=this.g=this.j=this.o=null;this.R&&this.R.remove();this.ga&&this.ga.remove();this.P&&this.P.remove();this.na&&this.na.remove()};var o3={Jh:!1,Sj:!1,rm:!1};var r3=function(a,b,c,d,e,f,g,h,k,l,m,n,p){f=f===void 0?function(){}:f;g=g===void 0?function(){}:g;p=p===void 0?o3:p;_.Z.call(this);var q=this;this.config=a;this.ya=b;this.A=c;this.P=d;this.g=e;this.Bb=f;this.Oa=g;this.qa=h;this.H=k;this.Ab=l;this.ra=m;this.o=n;this.Ua=p;this.L=null;this.I=!1;this.na=0;this.wa=!1;this.j=this.ga=null;this.F=n?2:1;_.Cu(this,function(){p3(q,!0)});this.R=_.yh("INS",b.document);typeof HTMLElement.prototype.attachShadow!=="function"||this.qa.Ac(1013,function(){q.L=_.yh("DIV",b.document);q.L.className="grippy-host";q.L.attachShadow({mode:"closed"}).appendChild(q.R);_.Cu(q,function(){q.L=null});return!0})||(this.L=null);this.Aa=b.innerHeight;this.Na=this.config.scroll_detached==="true";this.la=this.config.dismissable==="true";this.uc=(this.Md=!this.Ua.rm||!!this.o)&&(this.config.draggable==="true"||this.g!=="top");this.Xb=this.config.expId||"";this.Cb=this.config.qemId||"";a=parseInt(this.config.z_index_override,10);this.ob=isNaN(a)?null:a;this.ub=new _.bY(b);!this.la&&_.ka.navigator.userAgent.match(/iPhone OS 7/)&&b.setInterval(function(){var r=q.ya.innerHeight;if(Math.abs(r-460)<2||Math.abs(r-529)<2)rthis.P.height,c=parseInt(this.j.style[this.g],10);if(c||b){var d=function(){a.F=3;if(b){var g=a.P.height;a.j.style[a.g]="0";a.j.style.height=g+"px";a.A.parentElement.style.height=g+"px";a.A.height=""+g;a.A.style.height=g+"px";a.A.style.maxHeight="30vh";u3(a,g);var h;(h=a.ga)!=null&&(h.L=g)}a.I=!1;B3(a);a.j.setAttribute("data-anchor-status","displayed");a.j.setAttribute("data-anchor-shown","true");w3(a,!1)};this.I=!0;if(c&&!b){var e=-c/C3(this);A3(this,e);w3(this,!1);c=new P2(this.j,c,0,e,this.g,this.qa,d,O2);this.ra();N2(c)}else if(b){var f=this.o.maxHeight+5;e=this.P.height-f;f=(f+c>this.P.height?-1:1)*(e-c)/C3(this);A3(this,f);c===e?d():(c=new P2(this.j,c,e,f,this.g,this.qa,d,O2),this.ra(),N2(c))}}}};var y3=function(a){if(!a.I){$ka(a);var b=parseInt(a.j.style[a.g],10),c=function(){a.I=!1;a.F=4;B3(a);a.j.setAttribute("data-anchor-status","displayed");a.j.setAttribute("data-anchor-shown","true");w3(a,!1)};if(b){a.I=!0;var d=-b/C3(a);A3(a,d);w3(a,!1);b=new P2(a.j,b,0,d,a.g,a.qa,c,O2);a.ra();N2(b)}else c()}},p3=function(a,b){if(!a.I&&a.j){var c=parseInt(a.j.style[a.g],10),d=-(a.F===4?a.o.maxHeight+5:a.P.height)-(b?30:0),e=(c-d)/C3(a);a.g==="bottom"&&c2(a.ya)&&a.qa.Ac(405,function(){z3(a,"21px",e,"ease-in")});b||w3(a,!0);c===d?b||(a.F=0):a.Ab()&&(a.I=!0,N2(new P2(a.j,c,d,e,a.g,a.qa,function(){a.I=!1;b?a.Bb():(a.F=0,w3(a,!0));a.j.setAttribute("data-anchor-status","dismissed")},Kka)))}},C3=function(a){return a.o?a.o.Ok?a.o.Ok:Infinity:.1},ala=function(a,b){if(a.g!=="bottom"&&a.g!=="top")throw Error("unsupported reactive type");var c=function(f){a.onClick(f)};_.Og(a.R,"click",c);_.Cu(a,function(){_.Pg(a.R,"click",c)});a.L&&(_.Og(a.L,"click",c),_.Cu(a,function(){a.L&&_.Pg(a.L,"click",c)}));_.jm(b,{opacity:1});var d=a.ya.document;if(d){a.j=b;var e=a.o?a.o.maxHeight+5:a.P.height;a.uc&&(a.ga=new (a.g==="top"?D3:E3)(a,d,e,b,a.R),_.NA(a,a.ga));d={position:"fixed",left:_.CY(0)};s3(a)&&(d.left="50%",d.transform="translateX(-50%)",d["box-shadow"]=t3(a),d["border-radius"]="5px");d[a.g]=_.CY(-e-30);_.jm(b,d);_.Vv(b,{overflow:"visible",background:"#FAFAFA"});_.eY(a.ub,function(f){var g=a.ob===null?2147483647:a.ob;_.jm(b,{zIndex:f===null?g:Math.min(f,g)})});q3(a)}},z3=function(a,b,c,d){_.jm(a.A,{transition:c/1E3+"s","transition-timing-function":d,"margin-top":b})},B3=function(a){a.Oa();a.Oa=function(){}},F3=function(a,b,c,d,e){k3.call(this,b,d,e);this.ub=a;this.L=c};_.W(F3,k3);F3.prototype.Ua=function(){var a=this.ub;if(!a.I){var b=parseInt(a.j.style[a.g],10),c=b+parseInt(a.j.style.height,10),d=a.P.height/2;c>=(a.o?(a.o.maxHeight+5)/2:_.u(Number,"MAX_SAFE_INTEGER"))?(y3(a),x3(a,"d",!1,b)):c>=d?(a.show(),x3(a,"d",!1,b)):(p3(a,a.la),x3(a,"d",!0,b))}};F3.prototype.wa=function(){if(this.o!==null&&this.j!==null&&this.g!==null){var a=this.Oa(this.o.y,q2(this.g,this.j).y);a>0&&(a=0);a<-this.L&&(a=-this.L);var b={};b[this.Na()]=_.CY(a);_.jm(this.target,b)}};var D3=function(a,b,c,d,e){F3.call(this,a,b,c,d,e)};_.W(D3,F3);D3.prototype.la=function(){return new _.Zj(0,parseInt(this.target.style.top,10))};D3.prototype.Oa=function(a,b){return b-a};D3.prototype.Na=function(){return"top"};var E3=function(a,b,c,d,e){F3.call(this,a,b,c,d,e)};_.W(E3,F3);E3.prototype.la=function(){return new _.Zj(0,parseInt(this.target.style.bottom,10))};E3.prototype.Oa=function(a,b){return a-b};E3.prototype.Na=function(){return"bottom"};var K3=function(a,b,c,d,e,f,g,h,k,l){h=h===void 0?null:h;k=k===void 0?o3:k;l=l===void 0?null:l;_.W1.call(this,a,b,f);var m=this;this.qa=d;this.H=e;this.storage=g;this.A=h;this.Bb=k;this.D=l;this.R=this.sf=this.vd=0;this.Ab=this.Fn=!1;this.F=null;this.ra=this.filled=!1;this.wa=null;this.ga=0;this.nf=this.na=!1;this.Oa=!0;this.Na=null;this.ub=this.uc=this.Cb=this.pm=this.Jn=this.Ln=!1;this.aj=0;this.fm=this.la=this.Ig=!1;this.ob=t2(b.document.body,"padding");this.P=t2(b.document.body,"padding");this.I=c;this.L=bla(this);this.Nn=_.Wj(b||window).height/2;this.Aa=_.Wj(b||window).height;this.im=oka(b);G3(this);this.Am=this.qa.Ka(266,function(){H3(m,!0,33);I3(m,!0)});this.Im=this.qa.Ka(267,function(){H3(m,!0,34);I3(m,!0)});this.Jm=this.qa.Ka(268,function(){if(m.na&&m.j&&m.F){var n=m.F;n.na=_.ul(n.ya)}n=_.ul(m.g);var p=n-m.vd;J3(m,p);m.ub&&(p>0&&(m.R+=p),m.Ig=m.im-n<=m.Aa,m.vd=n);I3(m)});this.Vm=this.qa.Ka(269,function(){cla(m)});this.un=this.qa.Ka(270,function(n){dla(m,n)});this.zn=this.qa.Ka(271,function(n){if(n&&n.touches){m.wa="touchmove";m.ga=n.touches.length;m.ra=!0;I3(m);if(!m.Fn&&n.touches&&n.touches.length!==0&&n.touches[0]){n=n.touches[0].pageY;var p=n-m.sf;m.sf=n;n=p}else n=0;n>0&&(m.R+=n);J3(m,n)}});this.Dn=this.qa.Ka(272,function(n){n&&n.touches&&n.touches[0]&&(m.wa="touchstart",m.ga=n.touches.length,m.ra=!1,I3(m),m.sf=n.touches[0].pageY,n=(n=n.target)&&m.I==="top"&&m.filled&&m.F&&v3(m.F)&&n.nodeType===1?_.RF(v3(m.F),n):!1,m.Fn=n)});this.Zi=this.qa.Ka(273,function(){m.Cb||(m.Cb=!0,_.Pg(m.o,"load",m.Zi),m.uc&&!m.nf||I3(m,!0))});_.Og(a,"load",this.Zi);_.Cu(this,function(){_.Pg(a,"load",m.Zi)})};_.W(K3,_.W1);var ela=function(a){var b=a.g;_.Og(b,"orientationchange",a.Am);_.Og(b,"resize",a.Im);_.Og(b,"scroll",a.Jm);_.Og(b,"touchcancel",a.Vm);_.Og(b,"touchend",a.un);_.Og(b,"touchmove",a.zn);_.Og(b,"touchstart",a.Dn);_.Cu(a,function(){L3(a)})},L3=function(a){var b=a.g;_.Pg(b,"orientationchange",a.Am);_.Pg(b,"resize",a.Im);_.Pg(b,"scroll",a.Jm);_.Pg(b,"touchcancel",a.Vm);_.Pg(b,"touchend",a.un);_.Pg(b,"touchmove",a.zn);_.Pg(b,"touchstart",a.Dn)};K3.prototype.On=function(a){var b=this.j;if(b&&!this.F){for(var c in M3)!M3.hasOwnProperty(c)||c in a||(a[c]=M3[c]);this.Ln=a.use_manual_view==="true"||this.I==="top"||!!_.zm(this.g).wasReactiveAdConfigReceived[2];this.Jn=a.use_important==="true";if(c=a.af_l)this.uc=c==="true";this.fm=(this.ub=a.wait_for_scroll==="true"||this.I==="top")&&(a.tsec==="true"||this.I==="top");this.aj=parseInt(a.lims,10);N3(this,a);this.F=fla(this,a);this.Na=O3(this);this.Ig=this.Aa>=this.im;a=this.j;c=this.F&&v3(this.F);a&&c&&(this.I==="top"?a.appendChild(c):a.insertBefore(c,a.firstChild));ela(this);this.filled=!0;b.setAttribute("data-anchor-status","ready-to-display")}};var O3=function(a){var b=a.L.height+5;a.I==="bottom"&&c2(a.g)&&(b+=20);return new _.Vj(a.L.width,b)},N3=function(a,b){var c=parseInt(b.ht,10),d=c>0?c:null;b=parseInt(b.wd,10);var e=b>0?b:null;d!==null&&(a.L.height=d);e!==null&&(a.L.width=e);p2(a,function(f){m2(f,e,d)},!1,!0);m2(a.o,e,d)},fla=function(a,b){b=new r3(b,a.g,a.o,a.L,a.I,function(){if(!a.Ab){a.Ab=!0;L3(a);var c=a.j;_.Rx(c);P3(a,a.ob,!0,!0);c&&(c.style.display="none")}},function(){return void gla(a)},a.qa,a.H,function(){return a.collapse()},function(){a.la&&(a.la=!1,J3(a,null));a.xm&&_.Qx(a.U,a.slotId);a.Xb&&(clearTimeout(a.Xb),a.Xb=null);return!0},a.A,a.Bb);_.NA(a,b);return b},G3=function(a){if(a.Oa){var b=a.j;b&&(b.style.display="none");P3(a,a.ob,!0,!0);a.Oa=!1}};K3.prototype.Jc=function(a){a=a===void 0?!1:a;this.nf||H3(this,a,9);this.nf=!0;if(this.na||!Q3(this,a)||!this.Cb&&this.uc)!this.Cb&&this.uc&&H3(this,a,12);else{var b=this.j;b?(R3(this),p2(this,function(c){b2(c)},!0),ala(this.F,b),this.show(),H3(this,!0,14),this.na=!0,(a=this.o.contentWindow)&&$1(a,"ig",{rr:"vis-aa"},"*",2),hla(this),S3(this,this.Bb.Jh),ila(this),jla(this)):H3(this,a,13)}};K3.prototype.show=function(){var a=this.j;if(a){var b=this.F,c=b.ya,d=_.ul(c);if(!(Math.abs(d-b.na)<10)){var e=d<10;c=d+10+_.ml(c)>_.tl(c);e=e||c;b.Na||b.wa||b.I||(b.F===0||e?b.F===0&&e&&q3(b):q3(b,!1));b.na=d}this.Oa||(T3(this),b=t2(this.g.document.body,"padding"),this.I==="bottom"&&(b.bottom+=this.Na.height+25),P3(this,b),a.style.display="block",this.Oa=!0)}};var R3=function(a){var b=a.j;if(b&&a.o.parentElement){s2(b,a.Na);var c=a.g.innerWidth;b.style.width=_.rl(a.g).scrollWidth>c?""+c:!a.Bb.Sj||_.EJ()||_.DJ()?"100%":"auto";U3(a);a.A&&_.Vv(a.o.parentElement,{height:a.A.maxHeight+"px",display:"inline-block"})}},U3=function(a){p2(a,function(c){s2(c,a.L);c.style.width="100%"},!1,!0);a.o.style.display="block";a.o.style.margin="0 auto";if(a.Jn){var b=a.j;pka(b,function(c){a2(c,function(d){return c===b&&/display|bottom/i.test(d)?!1:!0});if(c.nodeName==="svg")return!1})}},T3=function(a){if(a.I!=="bottom"&&a.I!=="top")throw Error("Unexpected position: "+a.I);},bla=function(a){T3(a);var b=a.g.innerWidth;a=_.Lp(_.dG,a.o).height||+a.o.height||0;return new _.Vj(b,a)},cla=function(a){a.wa="touchcancel";_.ka.setTimeout(a.qa.Ka(274,function(){a.wa==="touchcancel"&&(a.ga=0,a.ra=!1,I3(a))}),1E3)},dla=function(a,b){if(b&&b.touches){a.wa="touchend";var c=b.touches.length;c<2?_.ka.setTimeout(a.qa.Ka(256,function(){a.wa==="touchend"&&(a.ga=c,a.ra=!1,I3(a))}),1E3):(a.ga=c,I3(a))}},J3=function(a,b){var c=a.Oa?V3(a,a.la):a.ob.top;if(a.I==="top"&&a.g.document.body&&a.filled&&a.F&&a.na&&a.P.top!==c&&b!==0){var d=a.P.clone();b===null?(d.top=c,P3(a,d)):(b>0&&a.P.top>c&&(d.top=Math.max(c,a.P.top-b),P3(a,d,!1)),b<0&&a.P.top=2&&a.ra&&H3(a,b,18):H3(a,b,16);!a.filled||a.Ab||a.ga>=2&&a.ra||!Q3(a,b)?G3(a):(H3(a,b,19),a.Jc(b),a.show())};K3.prototype.Bd=function(){return _.ol(this.g)};var Q3=function(a,b){b=b===void 0?!1:b;H3(a,b,20);if(!a.Bd())return H3(a,b,21),!1;if(!a.na&&a.ub){a.aj&&setTimeout(function(){if(!a.na){a.ub=!1;H3(a,b,24);a.Jc(!0);var d=a.P.clone();d.top=V3(a,a.la);P3(a,d,!0)}},a.aj);a.fm&&(a.R+=Math.max(_.ul(a.g)-a.vd,0));var c=!1;switch(a.I){case "bottom":return(c=a.R>=a.Nn||a.Ig)||H3(a,b,27),c;case "top":return(c=a.R>V3(a))||H3(a,b,29),c;default:return!0}}H3(a,b,31);return!0},V3=function(a,b){return(b===void 0?0:b)?a.ob.top+30:a.ob.top+30+a.Na.height-5},gla=function(a){a.Ln&&!a.pm&&(a.pm=!0,a.qa.Ac(257,function(){var b={msg_type:"manual-send-view"},c=a.o.contentWindow;c&&c.postMessage(JSON.stringify(b),"*")}))};K3.prototype.collapse=function(){this.la||(this.la=!0,J3(this,null));return kla(this)};var hla=function(a){if(a.A||!(a.L.height