"use strict";var{_ppads,_pbjs,googletag,adsbygoogle}=((n,t,i,r,u)=>{if(t&&t.ready)return{_ppads:t,_pbjs:i,googletag:r,adsbygoogle:u};t.ready=!0;r.cmd=r.cmd||[];i.que=i.que||[];t.scroll={que:[]};t.performanceOnStart=performance.now();t.performanceFirstSlotRenderEnded=!1;t.performanceFirstSlotOnLoadEnded=!1;t.current_outstream_id=1;t.testmode=location.search.indexOf("pp_test")>=0||!1;t.deviceWidth=n.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;t.device=/Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||t.deviceWidth<800?"mobile":"desktop";t.playerWidth=t.device==="mobile"?336:640;t.playerHeight=t.device==="mobile"?280:360;t.isIframe=n.frameElement&&n.frameElement.clientHeight<=400;t.rand=Math.floor(Math.random()*100);t.PrebidServerBidders=["appnexus","rubicon","onetag","triplelift","smartadserver","improvedigital","oftmedia","projectagora","amx","seedtag"];t.slots={};t.currentUrl=n.location.origin+n.location.pathname;t.executeParallelAuctionAlongsidePrebid={requestManager:{aps:!1,prebid:!1}};t.document=document;t.pbjsUserIds={identityLink:{}};Document.prototype.hasChild=function(n){return n&&n.hasChildNodes&&n.hasChildNodes()?[...n.childNodes].find(n=>n.innerHTML&&n.innerHTML.length):undefined};Document.prototype.hasChildAd=function(n){return n&&n.hasChildNodes&&n.hasChildNodes()?[...n.childNodes].find(n=>n.innerHTML&&n.innerHTML.length&&n.hasAttribute&&n.hasAttribute("data-premium")):undefined};Document.prototype.createElementFromString=function(n){const t=new DOMParser,i=t.parseFromString(n,"text/html");return i.body.firstChild};Document.prototype.getElementByClassName=function(n,t){const i=n.getElementsByClassName(t);return i&&i[0]?i[0]:undefined};Document.prototype.sanitizeUndefinedString=function(n){return n&&n!=="undefined"?n:undefined};t.isHomePage=function(){return document&&document.location&&document.location.host&&(!document.location.pathname||document.location.pathname.length<=1)};Document.prototype.debounce=function(n,t){clearTimeout(n._tId);n._tId=setTimeout(()=>n(),t)};Document.prototype.throttle=(n,t)=>{let i=Date.now();return(...r)=>{i+t-Date.now()<0&&(n(r),i=Date.now())}};Document.prototype.observer=(n,t)=>{const i=n=>{n.type&&n.addedNodes&&n.addedNodes.length&&n.type==="childList"&&setTimeout(()=>t(),1e3)};new MutationObserver(document.throttle(n=>{for(let t of n){if(Array.isArray(t)){const n=t.flat(Infinity);for(let t=0;t<n.length;++t)i(n[t]);continue}i(t)}},1500)).observe(n,{attributes:!1,childList:!0,subtree:!0})};Document.prototype.insertAdjacentHTML=(n,t,i)=>{let r={Before:"beforebegin",InsideBefore:"afterbegin",InsideAfter:"beforeend",After:"afterend"};n.tagName==="BR"&&(r={After:"afterend"});n.tagName==="IMG"&&(r={Before:"beforebegin",After:"afterend"});n.insertAdjacentHTML(r[t]?r[t]:r.After,i)};t.setStorage=function(n,t){localStorage.setItem(`_ppads_${n}`,t)};t.getStorage=function(n){return localStorage.getItem(`_ppads_${n}`)};t.element=t.element||{};t.element.visible=n=>{n.classList.remove("pads-invisible")};t.element.invisible=n=>{n.classList.add("pads-invisible")};t.customScripts=(i,r)=>{function u(){var n=document.querySelectorAll('.content .html p:not([id*="box-infeed"])'),r=document.querySelector("#_ppads_video"),t,i;n&&n.length>0&&!r&&(t=n[1],i=document.createElement("div"),i.setAttribute("id","_ppads_video"),t&&t.after(i))}try{t.currentUrl.includes("coletanea-de-memes")&&document.body.classList.add("pp-coletanea-de-memes")}catch(e){}try{t.scroll.que.push(function(){t.InFeed.readContainers();u()})}catch(e){}t.ExpandAds=!0;try{var f=n.location.href,o=setInterval(function(){if(f!==n.location.href){const n=r.pubads().getSlots().filter(function(n){return n.ppads}).map(n=>n.adunit.dfpCode);t.reloadAds(n)}},1e3)}catch(s){}try{const n={bidder:"seedtag",params:{adUnitId:"29034639",publisherId:"5971-8011-01",placement:"inBanner"}};t.bidders.size_300x250||(t.bidders.size_300x250=[]);t.bidders.size_336x280||(t.bidders.size_336x280=[]);t.bidders.size_970x250||(t.bidders.size_970x250=[]);t.bidders.size_300x250.push(n);t.bidders.size_336x280.push(n);t.bidders.size_970x250.push(n)}catch(e){}r.cmd.push(function(){r.pubads().setTargeting("pp_excl",["fulllab"])})};t.isLocal=!1;t.tagurl="https://tags.premiumads.com.br";t.livepreview=(location.hostname=="127.0.0.1"||location.hostname=="localhost"||location.hostname=="premiumads.com.br"||location.hostname=="creatives.premiumads.com.br")&&location.pathname.includes("/previews");t.DefaultFloorPrice=.05;t.debug=location.search.indexOf("pp_debug")>=0||localStorage.hasOwnProperty("pp_debug")||!1;t.build="2023.8.10222.18";t.version="2023.08.10222.18";t.versionCache="638273691821860388";t.dominio="naointendo.com.br";t.siteid="0651793f-0d83-4223-ac63-e4b17bd88732";t.partnerid="e14d724b-fed1-47e3-aa42-0fa0e85cd59e";t.canonical="";t.urlLogo="";t.hasNonAdChecks=!1;t.bidders={size_sizeless:[{bidder:"rubicon",params:{accountId:15410,siteId:172964,zoneId:835072}},{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:933775,formatId:68014}},{bidder:"appnexus",params:{placementId:13782758,allowSmallerSizes:!0}},{bidder:"criteo",params:{networkId:"7833"}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"triplelift",params:{inventoryCode:"PremiumAds_RON_Prebid"}},{bidder:"improvedigital",params:{placementId:22900798,publisherId:1879}}],size_320x50:[{bidder:"seedtag",params:{adUnitId:"27609136",publisherId:"5971-8011-01",placement:"inScreen"}}],size_320x100:[{bidder:"seedtag",params:{adUnitId:"27609136",publisherId:"5971-8011-01",placement:"inScreen"}}],size_300x250:[{bidder:"teads",params:{placementId:"182032",pageId:"167191"}}],size_336x280:[{bidder:"teads",params:{placementId:"182032",pageId:"167191"}}],size_outstream:[{bidder:"rubicon",params:{accountId:15410,siteId:133686,zoneId:1734892,video:{size_id:203}}},{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:933775,formatId:113995}},{bidder:"appnexus",params:{placementId:27174535,video:{minduration:1,maxduration:60,skippable:!0,playback_method:["auto_play_sound_off"],mimes:["video/mp4","application/javascript"]}}},{bidder:"teads",params:{placementId:"182031",pageId:"167190"}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"improvedigital",params:{placementId:22900799,publisherId:1879}}]};t.getBidders=function(n){if(!n||!t.bidders||!t.bidders[n])return[];t.onEachABTestInstance(1,n=>n.module.reload());return t.bidders[n]};t.urls=[];t.BlockUrlsJson=[{Title:"Elementor WP Plugin",Method:"Contains",Url:"elementor-preview=1",Block:"PremiumAutoAds",Format:"All",Device:"All"},{Title:"Beaver Builder WP Plugin",Method:"Contains",Url:"fl-builder-template",Block:"PremiumAutoAds",Format:"All",Device:"All"}];t.PolicyEnforcedJson=["sangue","morta","presa","executou","tiros","morto","feminicidio","agonizar","vitima","baleado","emboscada","morte","morreu","assasinato","condenado","homicidio","violencia","sexual","acidente","agredido","agredida","agressao","bolsonaro","assassinado","seios","sensualiza","bumbum","sexo","suicidio","cocaina","assassino","crime","nua","doloso","drogas","prostituta","policia","prostituicao","estuprada","estupro","odio","guerra","terrorismo","abuso","presidente-da-republica","fake-news","acidentes","presidente-do-brasil","governo-federal","investigacao","brutalidade","manifestacao","suicidio","matou","violencia","cocaina","corpao","morta","morte","assassino","crime","mortes","assedio","crimes","sexuais","nudes","lula","dilma","pornografia","estupro","aborto","intimas"];t.Yieldbird="";t.DfpPrefix="NAOINTENDO";t.DfpId="75894840,90794000";t.HasJquery=!1;t.PrebidTimeout=2500;t.HasPrebidServer=!1;t.PrebidServerTest=!1;t.HasRefresh=!0;t.PrebidLazyLoad=!1;t.switches={prebid:!0,apstag:!0};t.HasPremiumLazyLoad=!0;t.PremiumLazyLoadViewport=1;t.PremiumLazyLoadMobileScale=2;t.googleTagTargets={};t.pp_count_refresh=[];t.HasSticky=!1;t.JsonSticky=[];t.HasCustomAd=!1;t.HasAnchor=!0;t.AnchorJson={FloorPrice:{Desktop:.35,Mobile:.35,Version:"v3"},Items:[{Title:"ANCHOR DESKTOP",Selector:"",Position:"Footer",Cap:0,Refresh:30,HasCloseButton:1,BackgroundColorCloseButton:"#ff3b45",BackgroundColor:"#ffffff",DesktopWidth:"Ad",DesktopSizes:[[970,90],[728,90]],MobileSizes:[]},{Title:"ANCHOR MOBILE",Selector:"",Position:"Footer",Cap:0,Refresh:30,HasCloseButton:0,BackgroundColorCloseButton:"#ff3b45",BackgroundColor:"#ffffff",DesktopWidth:"Ad",DesktopSizes:[],MobileSizes:[[320,100],[320,50]]}],Version:"v3"};t.AnchorStyle=`#ppBoxAnchor{box-sizing:border-box;text-align:center;position:fixed;left:0;width:100%;transition:all 1s ease-in-out;z-index:2147483641;border-top:15px solid transparent;border-bottom:15px solid transparent;background:#fff;height:80px}#ppBoxAnchor.ppAnchorHeight100{height:130px}.pp-mobile #ppBoxAnchor{box-shadow:-1px -1px 4px rgba(0,0,0,.3)}.pp-desktop #ppBoxAnchor.ppAnchorWidthAd{width:1000px;left:50%;margin-left:-500px}.pp-desktop #ppBoxAnchor{height:120px}#closingppAnchor{cursor:pointer;position:absolute;right:5px;height:30px;width:30px;z-index:2;box-shadow:1px 1px 2px rgba(0,0,0,.31)}#closingppAnchor span{background-image:url(https://tags.premiumads.com.br/Content/p_icons_3.png);background-size:83px;background-repeat:no-repeat;background-position:-49px 0;float:left;width:14px;height:14px;margin:8px}#ppBoxAnchor.ppAnchorHeader{top:-150px;bottom:auto}#ppBoxAnchor.ppAnchorHeader.ppAnchorHeight100{top:-170px}#ppBoxAnchor.ppAnchorFooter{bottom:-150px;top:auto}#ppBoxAnchor.ppAnchorFooter.ppAnchorHeight100{bottom:-170px}.pp-desktop #ppBoxAnchor.ppAnchorFooter{box-shadow:-1px -1px 4px rgba(0,0,0,.2)}.openAnchor #ppBoxAnchor.ppAnchorHeader{top:0;bottom:auto}.openAnchor #ppBoxAnchor.ppAnchorFooter{bottom:0;top:auto}body{transition:margin .4s}.pp-mobile #ppBoxAnchor.ppAnchorHeader #closingppAnchor{top:52px}.pp-mobile #ppBoxAnchor.ppAnchorFooter #closingppAnchor{bottom:65px;right:0;box-shadow:-1px -1px 2px rgba(0,0,0,.2)}.pp-mobile #ppBoxAnchor.ppAnchorFooter.ppAnchorHeight100 #closingppAnchor{bottom:115px}.pp-mobile body.openAnchor.anchorHeader{margin-top:80px}.pp-mobile body.openAnchor.anchorFooter{margin-bottom:80px}.pp-mobile #ppBoxAnchor.ppAnchorHeader div#closingppAnchor{top:65px;right:0;width:28px}.pp-mobile #ppBoxAnchor.ppAnchorHeader.ppAnchorHeight100 div#closingppAnchor{top:115px}.pp-desktop #ppBoxAnchor.ppAnchorHeader div#closingppAnchor{bottom:-45px;right:0}.pp-desktop #ppBoxAnchor.ppAnchorHeader.ppAnchorWidthAd div#closingppAnchor{top:105px;right:0}.pp-desktop #ppBoxAnchor.ppAnchorFooter.ppAnchorWidthAd div#closingppAnchor{right:0;top:-45px}.pp-desktop #ppBoxAnchor.ppAnchorFooter div#closingppAnchor{right:0;top:-45px;z-index:1}.pp-desktop body.openAnchor.anchorHeader{margin-top:120px}.pp-desktop body.openAnchor.anchorFooter{margin-bottom:120px}.brid-temp-holder>img{display:none !important}`;t.PremiumAnchorPositions=[];t.PremiumAnchorOpenedEvent=new Event("pp-anchor-opened");t.PremiumAnchorClosedEvent=new Event("pp-anchor-closed");t.PremiumAnchor=(class{constructor(i,r){this._anchors=i;this._styles=r;this.load();t.scroll.que.push(()=>this.expandAnchor());n.addEventListener(t.DisplaySlotRenderEndedEventKey,n=>{if(n.detail&&n.detail.type==="anchor"&&n.detail.element&&!t.hasReward()){let i=document.getElementById("ppBoxAnchor");i&&i.setAttribute("loaded","true");this.expandAnchor()}},!1)}load(){t.HasAnchor&&this._anchors&&this._anchors.Items&&this._anchors.Items.length&&t.isValidUrl()&&(this.styles(),t.AnchorPriceDesktop=t.formatFloor(this._anchors.FloorPrice.Desktop),t.AnchorPriceMobile=t.formatFloor(this._anchors.FloorPrice.Mobile),this._anchors.Items.forEach(n=>{if(!t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)){t.HasAnchor=!1;return}let r=document.getElementById("ppBoxAnchor");r&&r.remove();let u=this.htmltag(n);if(this.hasMobileOrDesktopSizes(n)){let i=null;try{if(i=n.Selector?document.querySelector(n.Selector):document.body,!i)return}catch(f){t.logerror("anchor","load",f);return}i.insertAdjacentHTML("afterbegin",u);this.closeAnchor(n);t.PremiumAnchorPositions.includes(n.Position)||t.PremiumAnchorPositions.push(n.Position);t.HasAnchor=!0}}))}hasMobileOrDesktopSizes(n){return n.MobileSizes&&n.MobileSizes.length&&t.device=="mobile"||n.DesktopSizes&&n.DesktopSizes.length&&t.device!="mobile"}isScroll(){return this._anchors.Items.find(n=>n.Expand&&n.Expand==="Auto")}expandAnchor(){document.body.setAttribute("scrolled","true");const n=document.querySelector("#ppBoxAnchor");if(n&&n.hasAttribute("loaded")){const t=n.querySelectorAll(".ppAnchor")[0];document.hasChild(t)&&this.openAnchor()}}htmltag(n){let r=document.body,f=`${t.DfpPrefix}_HEADERSTICKY`;t.AnchorCap=n.Cap;let i=50;n.MobileSizes&&(n.MobileSizes.forEach(n=>i=n[1]>i?n[1]:i),r.classList.add(`ppAnchorMobileHeight${i}`));let u=`<div id="ppBoxAnchor" style="background-color: ${n.BackgroundColor}" class="ppAnchor${n.Position} ppAnchorWidth${n.DesktopWidth} ppAnchorHeight${i}">`;return r.classList.add(`anchor${n.Position}`),n.HasCloseButton&&(u+=`<div id="closingppAnchor" style="background-color: ${n.BackgroundColorCloseButton}"><span></span></div>`),u+`<div class="ppAnchor" data-sizes-mobile="${JSON.stringify(n.MobileSizes)}" position="${n.Position}" data-sizes-desktop="${JSON.stringify(n.DesktopSizes)}" data-premium data-type="anchor" data-anchor="true" lazyload="false" data-adunit="${f}"></div></div></div>`}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}openAnchor(){let i=document.querySelector(".ppAnchorHeader"),r=document.querySelector(".ppAnchorFooter");r?document.body.classList.add("anchorFooter"):i&&t.isScrollUp()&&document.body.classList.add("anchorHeader");document.body.classList.add("openAnchor");n.dispatchEvent(t.PremiumAnchorOpenedEvent)}closeAnchor(i){if(i.HasCloseButton){let r=document.getElementById("closingppAnchor");r.addEventListener("click",function(){document.body.classList.remove("openAnchor");n.dispatchEvent(t.PremiumAnchorClosedEvent);let i=document.getElementById("ppBoxAnchor");i.remove();t.googletagDestroySlot(i)})}}});t.HasPosPopup=!0;t.PosPopupCap=0;t.PosPopupFloorPriceDesktop="0.5";t.PosPopupFloorPriceMobile="0.5";t.HasReward=!1;t.RewardBlockUrlsPopupJson={};t.RewardBlockUrlsJson=[];t.HasFlex=!0;t.FlexJson={FloorPrice:{Desktop:1,Mobile:.05,Version:"v3"},Items:[{Title:"Flex Esquerda",FlexPosition:1,DesktopSizes:[[300,600],[300,250],[160,600],[120,600]]}],Version:"v3"};t.FlexCap=0;t.GlobalConfigJson=[{Selector:".content .html p",Multiply:.5,EachParagraph:0}];t.PremiumGlobal=(class{constructor(){this.ps=null;this.paragraph=null;this.text_init_position=0;this.viewport=1;this.height_dobra;this.checkDataAttr="pp-article-wrap";this.onEachDataAttr="pp-each";this.viewportDataAttr="pp-viewport";this.ppadDataAttr="ppad";this.minTextLength=30;this.paragraphClientHeight;this.paragraphCount=0;this.lineBreakCount=0;this._global=t.GlobalConfigJson;this._intextStyle=t.InTextStyle;this._intexts=t.InTextJson;this._outstreamStyle=t.OutstreamStyle;this._outstreams=t.OutstreamJson;this.load()}load(){this.setArticleWraps()}setArticleWraps(){this._global&&this._global.length&&this._global.filter(n=>n.Selector&&n.Selector.trim()).forEach(n=>this.forEachItem(n))}forEachItem(n){try{const t=t=>{this.ps=document.querySelectorAll(`${n.Selector}${t}:not([${this.checkDataAttr}])`)};if(t(" p"),this.ps&&this.ps.length||t(""),!this.ps||!this.ps.length||!this.ps[0]||!this.ps[0].parentNode)return;const i=[...new Set([...this.ps].map(n=>n.parentNode))];i.forEach(t=>{t.setAttribute(this.checkDataAttr,n.Selector),t.setAttribute(this.onEachDataAttr,n.EachParagraph>0),t.setAttribute("EachParagraph",n.EachParagraph)});this.setHeightDobra(n);this.text_init_position=0;this.viewport=1;this.ps.forEach(t=>this.forEachItemSelector(t,n.EachParagraph));this.setLastParagraph()}catch(i){t.logerror("global","forEachItem",i)}}forEachItemSelector(n,t){if(this.isLineBreakTag(n))return this.forEachLineBreak(n,t);!n.innerText||n.innerText.length<this.minTextLength||(this.paragraph=n,this.paragraphClientHeight=this.paragraph.clientHeight,this.setParagraphDataAttribute(t))}forEachLineBreak(n,t){if(n.nextSibling&&n.nextSibling.nodeValue&&!(n.nextSibling.nodeValue.length<this.minTextLength)){const i=[100,130,160],r=Math.floor(Math.random()*i.length);this.paragraph=n;this.paragraphClientHeight=this.lineBreakCount?i[r]:0;this.setParagraphDataAttribute(t);this.lineBreakCount++}}setParagraphDataAttribute(){this.paragraphCount++;this.paragraph.setAttribute(this.ppadDataAttr,!0);const n=t.getOffset(this.paragraph),i=n.top+this.paragraphClientHeight-this.text_init_position;i>=this.height_dobra&&(this.paragraph.setAttribute(this.viewportDataAttr,this.viewport),this.text_init_position=n.top+this.paragraphClientHeight,this.viewport++)}setHeightDobra(n){this.height_dobra=t.getViewPort().height;this.height_dobra>700&&(this.height_dobra=700);n.Multiply!=0&&(this.height_dobra=this.height_dobra*n.Multiply)}setLastParagraph(){this.paragraph&&(this.paragraph.setAttribute("pp-last-paragraph","true"),this.viewport==1&&this.paragraph.setAttribute(this.viewportDataAttr,this.viewport))}isLineBreakTag(n){return n.tagName&&n.tagName=="BR"}});t.HasOutstream=!0;t.HasOutstreamSlider=!0;t.playlist=[];t.OutstreamJson={FloorPrice:{Desktop:.3,Mobile:.3,Version:"v3"},EnableDirectCampain:!0,Items:[{Title:"Outstream Intext",FixedElement:1,Backfill:"bannerTeads",CustomBackfill:null,Javascript:null,Slider:!0,DesktopSizes:[[336,280],[300,250]],MobileSizes:[[336,280],[300,250]],PlayerSizeDesktop:[550,309],PlayerSizeMobile:[336,189],PlayerSliderSizeDesktop:[400,225],PlayerSliderSizeMobile:[225,126],PrioritizeTeads:!0,Position:"bottom-left",xOffset:15,yOffset:15}],Version:"v3"};t.StreamPlayer_v2=(class{constructor(n){this.version="?v=20220919";this.videojs={script:`${t.tagurl}/scripts/video.js/video.min.js${this.version}`,style:`${t.tagurl}/scripts/video.js/video-js.min.css${this.version}`};this.ima3=`https://imasdk.googleapis.com/js/sdkloader/ima3${t.debug?"_debug":""}.js`;this.contribads={script:`${t.tagurl}/scripts/videojs-contrib-ads/videojs-contrib-ads.min.js${this.version}`,style:`${t.tagurl}/scripts/videojs-contrib-ads/videojs.ads.css${this.version}`};this.ima={script:`${t.tagurl}/scripts/videojs-ima/videojs.ima.min.js${this.version}`,style:`${t.tagurl}/scripts/videojs-ima/videojs.ima.css${this.version}`};this.animation=new t.StreamPlayerSliderAnimation;this.isMobile=t.device==="mobile";this.width;this.height;this.network;this.zIndex=2147483647;this.element={visible:!1,animated:!1};this.instream={on:!1,slider:!1};this.outstream={on:!1,slider:!1};this.audio={on:!1,slider:!1};this.container=document.createElement("div");this.iframe=document.createElement("iframe");this.toggleStarted=!1;this.args=n;this.network=this.args&&this.args.network?this.args.network:{};this.network.autoplay=this.network.autoplay||!0;this.network.version=this.network.version||"v1";this.xOffset=this.network.xOffset||10;this.yOffset=this.network.yOffset||10;this.position=this.network.Position||"bottom-right";this.setSize();this.style={width:this.width,height:this.height,zIndex:this.zIndex,xOffset:this.xOffset,yOffset:this.yOffset,position:this.position,...this.args.style||{}};this.instream.on=this.args.format==="instream";this.instream.slider=this.instream.on&&t.InstreamJson&&t.InstreamJson.Slider;this.outstream.on=this.args.format.indexOf("outstream")>-1;this.outstream.slider=this.outstream.on&&t.OutstreamJson&&t.OutstreamJson.Items&&t.OutstreamJson.Items.some(n=>n.Slider)||this.args.format=="outstream-slider";this.audio.on=this.args.format==="audio"}getWidth(){return this.isMobile?this.args.size.mobile.width:this.args.size.desktop.width}getHeight(){return this.isMobile?this.args.size.mobile.height:this.args.size.desktop.height}getSliderWidth(){return this.isMobile?this.args.slider.mobile.width:this.args.slider.desktop.width}getSliderHeight(){return(this.isMobile?this.args.slider.mobile.height:this.args.slider.desktop.height)+16}setSize(){this.width=this.getWidth();this.height=this.getHeight()}getCssSize(){return`height: ${this.height+16}px;width: ${this.width}px;`}toggle(){if(this.toggleStarted)return this.isVisible();this.toggleStarted=!0;this.isVisible()}dispatchEvent(){this.iframe.toggleEvent=new CustomEvent("iframe-toggle",{detail:{visible:this.element.visible}});this.iframe.dispatchEvent(this.iframe.toggleEvent)}isVisible(){const n=t.isOnViewportOnly(this.container);if(this.iframe.dataset.visible=n,n&&!this.element.visible&&(this.element.visible=n,this.dispatchEvent()),n&&this.element.animated){this.unanimate();return}n||!this.element.visible||this.element.animated||this.animate()}hasSlider(){return this.instream.slider||this.outstream.slider}animate(){this.hasSlider()&&(this.iframe.classList.add("pp-slider"),this.iframe.style.cssText+=`position: fixed;z-index: ${this.zIndex};`,(this.instream.on||this.outstream.on||this.audio.on)&&(this.iframe.style.cssText+=`width: ${this.getSliderWidth()}px;height: ${this.getSliderHeight()}px;display: block;`),this.animation.add(this.iframe,this.position,this.xOffset,this.yOffset,!this.instream.on&&!this.outstream.on&&!this.audio.on),this.element.animated=!0,this.iframe.dataset.visible=this.element.animated)}unanimate(){this.hasSlider()&&(this.iframe.classList.remove("pp-slider"),this.iframe.style.cssText+=`position: initial;z-index: initial;${this.getCssSize()}`,this.animation.remove(this.iframe),this.element.animated=!1,this.iframe.dataset.visible=this.element.animated)}mount(){this.container.style.cssText=`border: 0;padding: 0;display: flex;justify-content: center;${this.getCssSize()}`;this.iframe.classList.add("pads-invisible");this.iframe.allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture";this.iframe.allowfullscreen=!0;this.iframe.frameborder="0";this.iframe.id=`premiumads-stream-${Math.floor(Math.random()*Date.now())}`;this.iframe.style.cssText=this.container.style.cssText;this.iframe.style.backgroundColor="transparent";this.iframe.dataset.network=JSON.stringify(this.network);this.iframe.dataset.format=this.args.format;this.iframe.dataset.style=JSON.stringify(this.style);this.iframe.dataset.playerSize=JSON.stringify([this.width,this.height]);this.iframe.dataset.retry=this.args.retryAttemptLimit;(this.instream.on||this.outstream.on||this.audio.on)&&this.args.element&&this.args.element.appendChild?(this.iframe.dataset.media=JSON.stringify({src:this.args.src||undefined,type:this.args.type||undefined}),this.args.element.appendChild(this.container),this.container.appendChild(this.iframe)):(this.iframe.style.cssText+=`display: none;`,document.body.appendChild(this.iframe),this.animate());this.iframe.bidsBackHandler=this.args.bidsBackHandler?()=>this.args.bidsBackHandler():()=>{};this.args.onClose&&(this.iframe.onClose=()=>this.args.onClose());this.isVisible();t.scroll.que.push(()=>this.toggle());const n=this.iframe.contentWindow||this.iframe.contentDocument||this.iframe;n.document.open();n.document.write(`<link rel="stylesheet" href="${this.videojs.style}" />`);n.document.write(`<link rel="stylesheet" href="${this.contribads.style}" />`);n.document.write(`<link rel="stylesheet" href="${this.ima.style}" />`);n.document.write(`<script type="text/javascript" src="${this.videojs.script}"></script>`);n.document.write(`<script type="text/javascript" src="${this.ima3}"></script>`);n.document.write(`<script type="text/javascript" src="${this.contribads.script}"></script>`);n.document.write(`<script type="text/javascript" src="${this.ima.script}"></script>`);n.document.write(`<script type="text/javascript" src="${t.tagurl}/stream/player/v2?v=20230810"></script>`);n.document.close()}unmount(){this.container&&this.container.remove();this.iframe&&this.iframe.remove()}});t.PremiumOutstream=(class{constructor(){this._outstream;this._outstreams=t.OutstreamJson||{Items:[]};this._ps=document.querySelectorAll("[ppad]");this._styles=t.OutstreamStyle;this._wrap;this._id="_ppads_video";this._format="outstream-intext";this.LAST_PARAGRAPH="pp-last-paragraph";this.hasEndPostIntext=t.HasInText?t.InTextJson.some(n=>n.QtdeEndPostDesktop>0||n.QtdeEndPostMobile>0):!1;this.player;this.load()}load(){const n=this._outstreams&&this._outstreams.Items&&this._outstreams.Items.length,i=this._ps&&this._ps.length;t.HasOutstream&&t.isValidUrl()&&n&&i&&(this.setFloorPrice(),this.setDirectCampain(),this._outstreams.Items.forEach(n=>this.forEachItem(n)),this._wrap&&this._outstream)&&(this.htmlInserts(),this.ads())}destroy(){this.player&&this.player.unmount()}forEachItem(n){if(!this._wrap&&t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)){try{if(this._wrap=document.querySelector("[pp-article-wrap]"),!this._wrap)return}catch(i){t.logerror("outstream","load",i);return}this._outstream=n}}setFloorPrice(){this._outstreams&&this._outstreams.FloorPrice&&(t.OutstreamFloorPriceDesktop=t.formatFloor(this._outstreams.FloorPrice.Desktop),t.OutstreamFloorPriceMobile=t.formatFloor(this._outstreams.FloorPrice.Mobile))}setDirectCampain(){this._outstreams&&this._outstreams.FloorPrice&&(t.OutstreamEnableDirectCampain=this._outstreams.EnableDirectCampain)}htmlInserts(){this.tagVideo||this._ps.forEach((n,t)=>this.forEachParagraph(n,t))}forEachParagraph(n,i){if(!n.hasAttribute(this.LAST_PARAGRAPH)||!this.hasEndPostIntext){const r=parseInt(this._outstream.FixedElement,0),u=r?0:1,f=n.hasAttribute("pp-viewport")&&n.getAttribute("pp-viewport")==u,e=r&&i+1==r;if(f||e)try{this.insertDiv(this.next(n,"[ppad]:not(.pp-box-adunit)"))}catch(o){t.logerror("outstream intext","forEachParagraph",o)}}}next(n,t){if(n){const i=(n,t)=>n&&n.matches&&n.matches(t),r=n=>{const t=n.nextSibling;return t&&t.hasAttribute&&t.hasAttribute("data-premium")||document.hasChildAd(t)};if(i(n,t)&&!r(n))return n;while(n=n.nextSibling)if(i(n,t)&&!r(n))return n.hasAttribute(this.LAST_PARAGRAPH)&&this.hasEndPostIntext?null:n}}insertDiv(n){n&&(n.insertAdjacentHTML(n.nodeName=="BR"?"beforebegin":"afterend",`<div id="${this.currentDivId}" style="display:flex;justify-content:center;"></div>`),t.OutstreamDivInserted=!0)}get currentDivId(){let n="";return t.current_outstream_id>1&&(n=`_${t.current_outstream_id}`),`${this._id}${n}`}get tagVideo(){return document.getElementById(this.currentDivId)}ads(){this.styles();this.pbjs()}pbjs(){if(this.tagVideo){let n=this._outstream.PrioritizeTeads===!1?!1:!0;t.TeadsClassic&&n&&t.loadScript("https://a.teads.tv/page/"+t.TeadsClassic+"/tag");this.loadPlayer()}}loadPlayer(){this.player&&this.player.unmount();var i={desktop:{width:this._outstream.PlayerSizeDesktop?this._outstream.PlayerSizeDesktop[0]:550,height:this._outstream.PlayerSizeDesktop?this._outstream.PlayerSizeDesktop[1]:309},mobile:{width:this._outstream.PlayerSizeMobile?this._outstream.PlayerSizeMobile[0]:336,height:this._outstream.PlayerSizeMobile?this._outstream.PlayerSizeMobile[1]:189},slider:{desktop:{width:this._outstream.PlayerSliderSizeDesktop?this._outstream.PlayerSliderSizeDesktop[0]:400,height:this._outstream.PlayerSliderSizeDesktop?this._outstream.PlayerSliderSizeDesktop[1]:225},mobile:{width:this._outstream.PlayerSliderSizeMobile?this._outstream.PlayerSliderSizeMobile[0]:225,height:this._outstream.PlayerSliderSizeMobile?this._outstream.PlayerSliderSizeMobile[1]:126}}};const n={element:this.tagVideo,network:this._outstream,format:this._format,onClose:()=>this.bidsBackHandler(),bidsBackHandler:()=>this.bidsBackHandler(),retryAttemptLimit:5,style:{backgroundColor:"#fff",color:"#fff"},size:{desktop:i.desktop,mobile:i.mobile},slider:i.slider};if(t.playlist&&t.playlist.length){const i=t.playlist[Math.floor(Math.random()*t.playlist.length)];n.network.poster=i.Poster;n.network.src=i.Src;n.network.type=i.Type||"video/mp4"}else t.VideoInstreamPoster&&t.VideoInstreamSrc&&(n.network.poster=t.VideoInstreamPoster,n.network.src=t.VideoInstreamSrc,n.network.type=t.VideoInstreamType||"video/mp4");n.network.version="v2";this.player=new t.StreamPlayer_v2(n);this.player.mount()}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}bidsBackHandler(){this.resetTagVideoInnerHTML();switch(this._outstream.Backfill){case"banner":this.bidsBackHandlerBanner();break;case"other":if(this._outstream.Javascript)try{eval(this._outstream.Javascript)}catch(n){t.logerror("outstream intext","bidsBackHandler",n)}break;case"bannerTeads":this.bidsBackHandlerBanner();this.bidsBackHandlerTeadsClassic();break;default:this.bidsBackHandlerTeadsClassic()}}bidsBackHandlerBanner(){const n=document.createElement("div");if(n.setAttribute("id",`P_${t.DfpPrefix}_OUTSTREAM_0`),n.setAttribute("data-premium",""),n.setAttribute("data-adunit",`${t.DfpPrefix}_OUTSTREAM`),n.setAttribute("data-type","intext"),t.device==="desktop"){const t=this._outstream.DesktopSizes&&this._outstream.DesktopSizes.length?this._outstream.DesktopSizes:[[640,360],[336,280],[300,250],[1,1]];n.setAttribute("data-sizes-desktop",JSON.stringify(t))}else{const t=this._outstream.MobileSizes&&this._outstream.MobileSizes.length?this._outstream.MobileSizes:[[336,280],[300,250],[1,1]];n.setAttribute("data-sizes-mobile",JSON.stringify(t))}this.resetTagVideoInnerHTML();this.tagVideo.insertAdjacentElement("afterend",n);t.LazyDisplay()}bidsBackHandlerTeadsClassic(){t.TeadsClassic&&t.loadScript("https://a.teads.tv/page/"+t.TeadsClassic+"/tag")}resetTagVideoInnerHTML(){this.tagVideo.innerHTML=""}});t.OutstreamSliderJson={Settings:[{WithAnchor:0,OpenWhen:"always",FloorPrice:{Desktop:.05,Mobile:.05,Version:"v3"}}],Networks:[{Title:"Avantis",Enable:1,Weight:85,Network:"avantis",NetworkOther:"",Player:null,Javascript:"",Position:null,xOffset:0,yOffset:0,ShowBannerAfterVideo:1,PlayerSizeDesktop:[400,225],PlayerSizeMobile:[225,126]},{Title:"Show Heroes",Enable:1,Weight:15,Network:"show-heroes",NetworkOther:"",Player:null,Javascript:"",Position:null,xOffset:0,yOffset:0,ShowBannerAfterVideo:1,PlayerSizeDesktop:[400,225],PlayerSizeMobile:[225,126]}],Version:"v3"};t.PremiumOutstreamSlider=(class{constructor(){this.ready=!1;this._outstreamSliders=t.OutstreamSliderJson}setup(){t.HasOutstreamSlider&&t.isValidUrl()&&this._outstreamSliders&&this._outstreamSliders.Networks&&this._outstreamSliders.Networks.length&&this._outstreamSliders.Settings&&this._outstreamSliders.Settings.length&&(this._settings=this._outstreamSliders.Settings[0],this.setFloorPrice(),this.cleanAndSets(),this.bid(),this.ready=!0)}cleanAndSets(){this._settings.OpenWhen?this._settings.OpenWhen==="always"&&(t.OutstreamSliderAlways=!0):this._settings.WithAnchor&&(t.OutstreamSliderAlways=!0);this._outstreamSliders.Networks=this._outstreamSliders.Networks.filter(n=>n.Enable&&n.Weight).map(n=>(n.Network=="vidoomy"&&t.VidoomyId?n.Url=`https://ads.vidoomy.com/${t.VidoomyId}.js`:n.Network=="avantis"&&t.AvantisId?n.Url=`https://cdn.avantisvideo.com/avm/js/video-loader.js?id=645b490f-24f2-429d-a04c-d266868eea7c&tagId=${t.AvantisId}&subId=&callback=`:n.Network=="show-heroes"&&t.ShowHeroesActive===!0&&(n.Url=`https://ads.viralize.tv/display/?zid=AAEjZtqAB751aeNV&${t.schainUrl}`),n))}bid(){if(this._outstreamSliders.Networks.length){let n=1;this._outstreamSliders.Networks.forEach(t=>{n+=parseInt(t.Weight)});let i=Math.floor(Math.random()*n);n=0;this._outstreamSliders.Networks.forEach(r=>{n+=parseInt(r.Weight),n>=i&&!t.OutstreamNetwork&&(t.OutstreamUrl=r.Url,t.OutstreamNetwork=r)})}}loadScript(){if(!t.OutstreamSliderLoaded&&t.OutstreamNetwork&&(!this._settings.OpenWhen||this._settings.OpenWhen!=="never")){t.OutstreamSliderLoaded=!0;const r=t.OutstreamNetwork.Network,n=this._outstreamSliders.Networks.find(n=>n.Network===r),u=n.Network=="premiumads"&&n.Player=="videojs";var i={desktop:{width:0,height:0},mobile:{width:0,height:0},slider:{desktop:{width:t.OutstreamNetwork.PlayerSizeDesktop?t.OutstreamNetwork.PlayerSizeDesktop[0]:400,height:t.OutstreamNetwork.PlayerSizeDesktop?t.OutstreamNetwork.PlayerSizeDesktop[1]:225},mobile:{width:t.OutstreamNetwork.PlayerSizeMobile?t.OutstreamNetwork.PlayerSizeMobile[0]:225,height:t.OutstreamNetwork.PlayerSizeMobile?t.OutstreamNetwork.PlayerSizeMobile[1]:126}}};try{if(u){const r=new t.StreamPlayer_v1({network:n,format:"outstream-slider",style:{backgroundColor:"#000",color:"#fff"},size:{desktop:i.desktop,mobile:i.mobile},slider:i.slider});r.mount()}else n.Network=="other"?eval(`(function() {${t.OutstreamNetwork.Javascript}})();`):t.OutstreamUrl&&t.loadScript(t.OutstreamUrl)}catch(f){t.logerror("outstream slider","load",f)}t.OutstreamSliderLoaded=t.IsSpa?!1:!0}}setFloorPrice(){this._settings&&this._settings.FloorPrice&&(t.OutstreamSliderFloorPriceDesktop=t.formatFloor(this._settings.FloorPrice.Desktop),t.OutstreamSliderFloorPriceMobile=t.formatFloor(this._settings.FloorPrice.Mobile))}});t.HasRadioAd=!1;t.RadioAd=(class{constructor(){this.ready=!1;this.media;this.container;this.adPause=!1;this.streamPlayer;this.firstAccess=!0;this.load()}load(){if(t.HasRadioAd&&t.RadioAdJson&&(this.selector=t.RadioAdJson.Selector,this.containerStyle=t.RadioAdJson.ContainerStyle,this.search(),this.ready)&&(this.html(),this.container)){var n={desktop:{width:t.RadioAdJson.PlayerSizeDesktop?t.RadioAdJson.PlayerSizeDesktop[0]:550,height:t.RadioAdJson.PlayerSizeDesktop?t.RadioAdJson.PlayerSizeDesktop[1]:309},mobile:{width:t.RadioAdJson.PlayerSizeMobile?t.RadioAdJson.PlayerSizeMobile[0]:336,height:t.RadioAdJson.PlayerSizeMobile?t.RadioAdJson.PlayerSizeMobile[1]:189},slider:{desktop:{width:t.RadioAdJson.PlayerSliderSizeDesktop?t.RadioAdJson.PlayerSliderSizeDesktop[0]:400,height:t.RadioAdJson.PlayerSliderSizeDesktop?t.RadioAdJson.PlayerSliderSizeDesktop[1]:225},mobile:{width:t.RadioAdJson.PlayerSliderSizeMobile?t.RadioAdJson.PlayerSliderSizeMobile[0]:225,height:t.RadioAdJson.PlayerSliderSizeMobile?t.RadioAdJson.PlayerSliderSizeMobile[1]:126}}};this.streamPlayer=new t.StreamPlayer_v1({element:this.container,format:"audio",onClose:()=>this.play(),bidsBackHandler:()=>this.play(),retryAttemptLimit:1,style:{backgroundColor:"#000",color:"#fff"},size:{desktop:n.desktop,mobile:n.mobile},slider:n.slider});this.addEventListener()}}addEventListener(){this.media.listening||(this.media.listening=!0,this.media.pause(),this.media.addEventListener("playing",()=>{this.adPause||this.firstAccess||(this.media.pause(),this.open())}),this.media.addEventListener("pause",()=>{this.adPause=!1,this.firstAccess&&(this.open(),this.firstAccess=!1)}))}search(){if(!this.ready){const t=document.querySelector(this.selector);if(t){const n=t.querySelectorAll("audio,video");n&&n.length&&(this.media=n[0],this.ready=!0)}}}open(){this.streamPlayer.mount();this.container.style.display="flex"}play(){this.adPause=!0;this.media.play();this.container.style.display="none"}html(){this.container||(this.container=document.createElement("div"),this.container.style.cssText=`${this.containerStyle} display: none;`,document.body.appendChild(this.container))}});t.HasInText=!1;t.HasInTextEnd=!1;t.SkipInText="";t.HasInImage=!1;t.HasInFeed=!0;t.ElementsInFeed=[];t.InFeedJson={General:[{DOMObserve:0}],Feed:[{Title:"INFEED 1",ContainerSelector:".pp-coletanea-de-memes .content",FeedItemSelector:".html > p",Multiply:0,FixedInsert:3,Skip:0,DesktopSizes:[[336,280],[300,250],[2,2]],MobileSizes:[[336,280],[300,250],[320,100],[320,50],[2,2]],Obs:null},{Title:"INFEED 2",ContainerSelector:"article.Post.is-admin .content .html",FeedItemSelector:"p",Multiply:0,FixedInsert:3,Skip:0,DesktopSizes:[[336,280],[300,250],[2,2]],MobileSizes:[[336,280],[300,250],[320,100],[320,50],[2,2]],Obs:null}]};t.InFeedStyle=``;t.PremiumInfeed=(class{constructor(){this._infeeds=t.InFeedJson.Feed;this._general=t.InFeedJson.General;this._styles=t.InFeedStyle;this._cycle=1;this.DOMObserve;this.containers;this.cycleObserver={};this.infeedViewport=this.infeedViewport||1;this.countInfeedItens=this.countInfeedItens||0;this.LIMIT_ADUNIT_NUMBER=15;try{this.load()}catch(n){t.logerror("infeed","load",n)}}load(){let n=this._infeeds&&this._infeeds.length&&this._infeeds[0].FeedItemSelector;t.isValidUrl()&&t.HasInFeed&&n&&(this._cycle==1&&this.styles(),this.setDOMObserve(),this.readContainers())}readContainers(){this._infeeds.forEach(n=>{if(t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes))try{if(this.containers=document.querySelectorAll(n.ContainerSelector),!this.containers||!this.containers.length)return;this.containers.forEach(t=>{this.searchAndSetupItemsToInsertAds(t,n)})}catch(i){t.logerror("infeed","load",i)}})}setDOMObserve(){this._general&&this._general[0]&&this._general[0].DOMObserve&&(this.DOMObserve=this._general[0].DOMObserve)}searchAndSetupItemsToInsertAds(n,i){try{let t=n.querySelectorAll(`${i.FeedItemSelector}:not([pp-infeed])`);if(!t||!t.length)return;t.forEach(n=>{this.setupItemToInsertAds(n,i)});this.observer(n,i)}catch(r){t.logerror("infeed","searchAndSetupItemsToInsertAds",r)}}setupItemToInsertAds(n,i){this.countInfeedItens++;let r=this.infeedViewport;if(n&&(n.setAttribute("pp-infeed",!0),this.isAllowedToInsert(n,i))){this.countInfeedItens=0;let u=`${t.DfpPrefix}_INFEED_${this.adunitPadLeft(r>this.LIMIT_ADUNIT_NUMBER?this.LIMIT_ADUNIT_NUMBER:r)}`,f=0;if(i.Skip>0&&(f=parseInt(i.Skip)),r>f){let t=n.cloneNode(!0);t.setAttribute("idAdunit",u);t.setAttribute("id",`box-infeed-${r}`);t.innerHTML=this.tagHtml(u,i);t.setAttribute("data-fetch",!0);n.insertAdjacentElement("afterend",t)}r<15&&this.infeedViewport++}}isAllowedToInsert(n,i){let r=!1,u=i.FixedInsert&&i.FixedInsert>0;if(u&&i.FixedInsert==this.countInfeedItens)r=!0;else if(!u){let f=document.querySelectorAll("[pp-infeed][data-fetch]"),u=null;if(u=f.length?f[f.length-1]:document.querySelector("[pp-infeed]"),u){let f=t.getOffset(u).top+u.clientHeight,e=t.getOffset(n).top,o=parseInt(n.clientHeight),s=e+o-f,h=t.getViewPort().height,c=i.Multiply||1,l=h*c;s>=l&&(r=!0)}}return r}tagHtml(n,t){return`<div data-premium data-adunit="${n}" data-sizes-mobile="${JSON.stringify(t.MobileSizes)}" data-sizes-desktop="${JSON.stringify(t.DesktopSizes)}"data-type="infeed"></div>`}adunitPadLeft(n){return n<10?`0${n}`:n}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}observer(n,t){if(this.DOMObserve){const i=this.getCycleObserverKey(t);if(this.cycleObserver[i]){this.cycleObserver[i]++;return}this.cycleObserver[i]=1;document.observer(n,()=>{this.searchAndSetupItemsToInsertAds(n,t)})}}getCycleObserverKey(n){return n.ContainerSelector.replace(/[^a-zA-Z0-9 ]/g,"")}});t.elements={};t.UsingPublisherAdManager=!1;t.BloqueadoGoogle=!1;t.VastTAG="https://pubads.g.doubleclick.net/gampad/ads?iu=/75894840,90794000/NAOINTENDO_INSTREAM&env=vp&tfcd=0&npa=0&sz=400x300%7C640x360%7C640x480&gdfp_req=1&output=vast&unviewed_position_start=1&impl=s&correlator=&vad_type=linear";t.IgnoreDevice=!1;t.CpmMultiplier=1;t.USD=4.89;t.EUR=5.37;t.Analytics=!1;t.IsSpa=!0;t.RubiconOutstream="1734892";t.TeadsClassic="167188";t.TeadsPlacementId="182031";t.AvantisId="64";t.ShowHeroesActive=!0;t.SeedtagHasInImage=!0;t.SeedtagId="5971-8011-01";t.OutstreamUrls=[{bidder:"Avantis",params:{Key:80,Url:"'https://cdn.avantisvideo.com/avm/js/video-loader.js?id=645b490f-24f2-429d-a04c-d266868eea7c&tagId=64&subId=&callback='"}}];t.HasTaboola=!1;t.TaboolaElements=[];t.PremiumUri=(class{constructor(i){this.url1=n.location.origin+n.location.pathname;this.url2=document.location&&document.location.toString?document.location.toString():"";this._blockUrls=i||t.BlockUrlsJson;this.setUri()}appendVastTag(){t.debug&&t.VastTagHelper.append("adtest","on");t.VastTagHelper.append("description_url",encodeURIComponent(n.location.href))}setUri(){if(n.location.search&&n.location.search.indexOf("utm_")>=0){const i=new URLSearchParams(n.location.search);t.UtmSource=i.get("utm_source");t.UtmMedium=i.get("utm_medium");t.UtmCampaign=i.get("utm_campaign")}var i=n.location.pathname.replace(/\/?(\?|#|$)/,"/$1");if(this.parts=i.split("/").filter(function(n){return n!==""}),this.parts[0]===undefined||this.parts[0]==="/"||this.parts[0]===""){t.categoria="home";return}this.parts.length&&(t.categoria=this.parts[0].substring(0,40));this.parts.length>1&&(t.subcategoria=this.parts[1].substring(0,40));t.link=this.link(this.parts)}link(n){var t=n[n.length-1];return t.substring(0,40)}match(n){let i;const u=n.Url&&n.Url.trim(),r=(n.Display||n.Device||"all").toLowerCase(),f=r=="all"||t.device==r;i=n.Method=="Contains"?this.url1.includes(n.Url)||this.url2.includes(n.Url):n.Method=="NotContains"&&this.parts.length>1?!this.url1.includes(n.Url)||!this.url2.includes(n.Url):n.Method=="NotEquals"?this.url1!==n.Url||this.url2!==n.Url:this.url1==n.Url||this.url2==n.Url;const e=(n.Block||n.Format||"all").toLowerCase();return u&&f&&i&&e}matchAny(){return!this._blockUrls||!this._blockUrls.length?!1:this._blockUrls.find(n=>this.match(n))?!0:!1}checkUrlBlockAll(){const n=this._blockUrls;let t=!1;return n&&n.length&&n.forEach(n=>{if(this.match(n)){const i=(n.Block||n.Format||"allpluspublisher").toLowerCase();if(i=="allpluspublisher"){t=!0;return}}}),t}isValidUrl(n){let i=this._blockUrls,r=!0;return i&&i.length&&i.forEach(i=>{if(this.match(i)){const u=(i.Block||i.Format||"all").toLowerCase();if(u=="all"){r=!1;return}if(i.Format&&!n){const n=i.Format.toLowerCase();if(n=="all"){r=!1;return}if(n=="anchor"){t.HasAnchor=!1;t.AnchorJson={};return}if(n=="intext"){t.HasInText=!1;t.InTextJson=[];return}if(n=="infeed"){t.HasInFeed=!1;t.InFeedJson={};return}if(n=="flex"){t.HasFlex=!1;t.FlexJson={};return}if(n=="customad"){t.HasCustomAd=!1;t.CustomAdJson=[];return}}}}),r}});t.searchForWords=(n,t)=>{const i=n=>n.normalize("NFD").replace(/[\u0300-\u036f]/g,""),r=n.find(n=>{const r=n.replace(/\s+/g," ").trim().split(" ");if(!r)return!1;const u=r.map(n=>i(t).includes(i(n))).filter(n=>n);return u&&u.length===r.length});return r?!0:!1};!function(n,t,i,r,u,f,e){function o(i,r){t[n]._Q.push([i,r])}t[n]||(t[n]={init:function(){o("i",arguments)},fetchBids:function(){o("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]},f=i.createElement(r),f.async=!0,f.src=u,e=i.getElementsByTagName(r)[0],e.parentNode.insertBefore(f,e))}("apstag",n,document,"script","https://c.amazon-adsystem.com/aax2/apstag.js");t.corev4style={id:"ppads-style-2023081022218",content:'<style id="ppads-style-2023081022218">[data-premium]{display:flex;align-content:center;justify-content:center;position:relative}[data-premium]:empty:before{content:"";background:transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAUCAYAAAB8gkaAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6REM3QUY3NTExMTFFMTFFQUJBNjBGRDMzODE5Q0Q4OEUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6REM3QUY3NTAxMTFFMTFFQUJBNjBGRDMzODE5Q0Q4OEUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDA0OTMxMzcxMDVDMTFFQTkzMzI4MUFDMDc5Rjg4MkIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDA0OTMxMzgxMDVDMTFFQTkzMzI4MUFDMDc5Rjg4MkIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6hSXXgAAABvElEQVR42uSWv0sCYRjHv0qEk0OD2IFLS+BgcB3l7OAvJDLamrRI78hFCFeHlgyaQhtKWtqEk4gw/4A44pIyaCtE6RKJBpekxd43/FVG5dW59MAL9/K+PN/3+b4f3nt0kiR5RFHcr9fr49AojEbjg9/vX0YsFlPK5XJTy6D5qY6eVmSxWKBl0PxUR48hxr8Vq6K0EYYgHGDnB8ka6RXo0jcqxYoiQpiBi5EQyT39urKRL08qXyDPJXCKEpzyJa7cDkz1bqidIBU/xvXbZAYsp9rGAs7kCayzYwBrx7wi4bDWL7QXTiKZJCP8jII8qlIsl8UmY8eSiXybvAhwd9g67rmPgoQss4i0rTW38djmXtSIETDkGh7nurYZuGnw8nkHlIaiIM+Y39lqYBgVd0bASCh6zO4KED4sRXJzWHOP/R0gFIwUF0UzaO1D+7YNCqnCKVdxBWunOlrtgDZSMEYJWda+FYNvoQuKex4xJYNgse1GCtGBASFgZAjGAdsnu00sPEy5BQoLR9yHFWq1IMB1NInQN4CA5/nmMILqDPdtpH/RSqWiqQjNT3SqOtIWeFttgVnDtuCetAWrrwIMAOi2a8B5U104AAAAAElFTkSuQmCC") no-repeat center center;background-size:auto 16px;width:100%;height:100%;position:absolute}[data-premium][data-type="intext"]>div::before,[data-premium][data-type="infeed"]>div::before{content:"PUBLICIDADE";display:block;white-space:nowrap;position:absolute;background-color:#fff;font-size:10px;letter-spacing:1px;color:#555;top:7px;left:50%;transform:translateX(-50%);padding:0 10px;line-height:normal}.pp-sticky{position:fixed;top:0}.pp-sticky-this .ad-text{display:none}.pp-sticky-this-v2{position:-webkit-sticky;position:sticky;top:0}.pp-close-btn{cursor:pointer;position:absolute;right:15px;top:-1px;height:16px;width:16px;box-shadow:1px 1px 2px rgb(0 0 0/31%);background-color:#000;z-index:9999999999}.pp-close-btn span{background-image:url(https://tags.premiumads.com.br/Content/p_icons_3.png);background-size:69px;background-repeat:no-repeat;background-position:-40px 0;float:left;width:12px;height:12px;margin:2px}.pads-invisible{position:fixed !important;right:100vw !important;z-index:-100 !important}:root{--themeColorA:#fff;--themeColorB:transparent}#pp_box_player_outstream{transition:.3s height ease-in-out;width:0;height:0;overflow:hidden}.box-drawer-container{position:absolute;background:rgba(0,0,0,.9);margin-top:-70px;width:0;transition:.2s width ease-in-out;overflow:hidden}.pp_open_video .box-drawer-container{width:110px}.pp_open_video .box-drawer-container.unmuted{width:30px}.volume svg{width:30px;height:30px}.volume{float:left;height:31px;cursor:pointer;display:none}.unmuted .volume.unmute{display:none}.unmuted .volume.mute,.volume.unmute{display:block}.unmute.volume:after{content:"Ativar o som";color:#fff;font-size:10px;float:right;margin-top:4px;font-family:Arial,sans-serif;text-transform:uppercase;margin-right:7px}#pp_box_player_outstream #pp_player_outstream{overflow:hidden;height:0;transition:.3s height ease-in-out}.pp-mobile #pp_box_player_outstream.pp_open_video{width:320px;margin-left:-160px;left:50%;position:relative;height:180px}.pp-desktop #pp_box_player_outstream.pp_open_video{width:498px;margin-left:-249px;left:50%;position:relative;height:280px}.pp-desktop #pp_box_player_outstream #pp_player_outstream{height:280px}.pp-mobile #pp_box_player_outstream #pp_player_outstream{height:180px}#pp_box_player_outstream .play-wrapper{display:none !important}.pp_video_close{background-color:rgba(0,0,0,.8);cursor:pointer;position:absolute;right:0;top:0;width:0;margin-top:-24px;overflow:hidden;height:24px;transition:.2s width ease-in-out}.pp_open_video .pp_video_close{width:34px}.pp_video_close span{background-image:url(https://tags.premiumads.com.br/Content/p_icons_3.png);background-size:75px;background-repeat:no-repeat;background-position:-44px 0;float:left;width:14px;height:12px;margin:6px 10px}.ppOutstream div[id^="google"]{display:none}.pp-slider{position:fixed;z-index:2147483647}.pp_boxnewflex{z-index:2147483645;position:fixed;top:50%;margin-top:-300px;padding:15px;background:#fff}.pp_newflex:before{content:"PUBLICIDADE";position:absolute;font-size:10px;color:#999;margin-top:-15px}.pp_boxnewflex.pp_right{right:0;-webkit-animation:right-to-left 3s linear forwards;animation:right-to-left 3s linear forwards}.pp_boxnewflex.pp_left{left:0;-webkit-animation:left-to-right 3s linear forwards;animation:left-to-right 3s linear forwards}.pp-mobile .anchorFooter.openAnchor div#cookies{bottom:140px;transition:transition ease-in-out 1s}#avantisContainer0>.avntsFloating,div#avantisContainer0{left:0!important}<\/style>'};t.StreamPlayerSliderAnimation=(class{constructor(){this.document;this.element;this.position;this.xOffset;this.yOffset;this.closeButton=16;this.anchorHeader=t.HasAnchor&&t.PremiumAnchorPositions.includes("Header")?130:0;this.anchorFooter=t.HasAnchor&&t.PremiumAnchorPositions.includes("Footer")?130:0}add(i,r,u,f,e=true){this.document=t.document;this.element=i;this.position=r;this.xOffset=u?Number.isInteger(u)?u||10:u:undefined;this.yOffset=f?Number.isInteger(f)?f||10:f:undefined;this.setScrolled();this.setPosition(e);const o=n||this.element.contentWindow;o&&o.addEventListener&&(o.addEventListener("pp-anchor-opened",()=>{this.setScrolled(),this.updateYOffset()},!1),o.addEventListener("pp-anchor-closed",()=>this.updateYOffset(),!1))}remove(){}setScrolled(){this.scrolled=this.document.body.getAttribute("scrolled")=="true"}setPosition(n){const t=this.xOffset?Number.isInteger(this.xOffset)?`${this.xOffset}px`:this.xOffset:undefined,r=this.top(this.anchorHeader),u=this.bottom(this.anchorFooter),i=n?"animation":"no-animation";this.updateYOffset();switch(this.position){case"right":this.keyframes(0,t,0,0);this.element.classList.add(i,"pp_right");break;case"left":this.keyframes(0,0,0,t);this.element.classList.add(i,"pp_left");break;case"top-right":this.keyframes(r,t,0,0);this.element.classList.add(i,"pp_right");break;case"bottom-right":this.keyframes(0,t,u,0);this.element.classList.add(i,"pp_right");break;case"top-left":this.keyframes(r,0,0,t);this.element.classList.add(i,"pp_left");break;case"bottom-left":default:this.keyframes(0,0,u,t);this.element.classList.add(i,"pp_left")}}top(n){return Number.isInteger(this.yOffset)?`${this.yOffset+this.closeButton+(n?this.anchorHeader:0)}px`:this.yOffset}bottom(n){return Number.isInteger(this.yOffset)?`${this.yOffset+(n?this.anchorFooter:0)}px`:this.yOffset}updateYOffset(){this.position.includes("top")?this.element.style.top=this.top(this.scrolled):this.position.includes("bottom")&&(this.element.style.bottom=this.bottom(this.scrolled))}keyframes(n,t,i,r){if(this.uuid=`keyframes-${this.element.id}`,!this.document.getElementById(this.uuid)){const f=`from{left:-100%} to{left:${r||0}}`,e=`from{right:-100%} to{right:${t||0}}`;let u=`@-webkit-keyframes ${this.uuid}-left-to-right {${f}}`;u+=`@keyframes ${this.uuid}-left-to-right {${f}}`;u+=`@-webkit-keyframes ${this.uuid}-right-to-left {${e}}`;u+=`@keyframes ${this.uuid}-right-to-left {${e}}`;u+=`#${this.element.id}.pp-slider.pp_left { left:${r||0} }`;u+=`#${this.element.id}.pp-slider.pp_right { right:${t||0} }`;u+=`#${this.element.id}.pp-slider.animation.pp_left { -webkit-animation: ${this.uuid}-left-to-right 3s linear forwards; animation: ${this.uuid}-left-to-right 3s linear forwards; }`;u+=`#${this.element.id}.pp-slider.animation.pp_right { -webkit-animation: ${this.uuid}-right-to-left 3s linear forwards; animation: ${this.uuid}-right-to-left 3s linear forwards; }`;this.document.body.insertAdjacentHTML("beforeend",`<style id="${this.uuid}">${u}</style>`)}}});t.styleInit=n=>{if(n.href&&(t.styles=t.styles||[],!(t.styles.indexOf(n.href)>-1))){n.target||t.styles.push(n.href);const i=document.createElement("link");return i.rel="stylesheet",i.href=n.href,n.callback&&i.addEventListener("load",function(t){n.callback(null,t)},!1),i}};t.scriptInit=n=>{if(n.scriptSrc&&(t.scripts=t.scripts||[],!(t.scripts.indexOf(n.scriptSrc)>-1))){n.target||t.scripts.push(n.scriptSrc);const i=document.createElement("script");return i.type="text/javascript",i.src=n.scriptSrc,i.async=!0,n.scriptSrc.indexOf("cdn.avantisvideo.com")>=0?i.id="avantisJS":n.scriptId&&(i.id=n.scriptId),n.callback&&i.addEventListener("load",function(t){n.callback(null,t)},!1),i}};t.loadStyle=function(n,i){try{const r=t.styleInit({href:n,callback:i});if(!r)return;document.getElementsByTagName("head")[0].appendChild(r)}catch(r){t.logerror("loaders","style",r,n)}};t.loadScript=function(n,i,r){try{const u=t.scriptInit({scriptSrc:n,scriptId:r,callback:i});if(!u)return;document.getElementsByTagName("head")[0].appendChild(u)}catch(u){t.logerror("loaders","script",u,n)}};t.loadStyle_v2=n=>{try{const i=t.styleInit(n);if(!i)return;n.target.appendChild(i)}catch(i){t.logerror("loaders","style",i,n)}};t.loadScript_v2=n=>{try{const i=t.scriptInit(n);if(!i)return;n.target.appendChild(i)}catch(i){t.logerror("loaders","script",i,n)}};t.PremiumLazyLoad=t.HasPremiumLazyLoad;t.PbjsUrl=`${t.tagurl}/scripts/pbjs-min.js?v=20230601`;t.schain={ver:"1.0",complete:1,nodes:[{asi:"premiumads.com.br",sid:t.partnerid,hp:1}]};t.schainUrl="schain=1.0,1!premiumads.com.br,"+t.partnerid+",1";t.isIframe&&(t.PrebidLazyLoad=t.PremiumLazyLoad=!1);i.TIMEOUT=t.PrebidTimeout||2500;i.MASTER_TIMEOUT=i.TIMEOUT+1e3;t.initAdserver=function(){r.cmd.push(function(){let n=r.pubads().getSlots().filter(function(n){return n.ppads&&!n.loaded&&!n.stop});if(n&&n.length){for(let t=0;t<n.length;t++){let i=n[t];i.loaded=!0;r.display(i.getSlotElementId());i.refresh&&r.pubads().refresh([i])}r.pubads().isInitialLoadDisabled()&&(n=n.filter(function(n){return!n.refresh}),n&&n.length&&r.pubads().refresh(n))}})};t.loadAndDisplayFormats=function(){t.isValidUrl(!0)&&(t.started||(t.started=!0,t.time=(new Date).getTime(),t.isIframe?t.display():(t.loadAllFormats(),t.afterLoadAllFormats()),t.started=!1))};t.hasValidDataSizes=function(n,i){return t.device==="mobile"&&n&&n.length>0?!0:t.device==="desktop"&&i&&i.length>0?!0:!1};t.datasizeConfig=function(n){return n[0]==0?"fluid":n};t.sizesHas2x2=function(n){return n.find(n=>n[0]===2&&n[1]===2)};t.sizesIsOnly1x1=function(n){return!Array.isArray(n)||n.length>1?!1:n.find(n=>n[0]===1&&n[1]===1)};t.getMinMaxSize=function(n){if(n&&n.length)try{const t=(t,i)=>n.reduce((n,r)=>t==="max"?n[i]>r[i]?n:r:n[i]<r[i]?n:r),i=t("max",0)[0],r=t("min",0)[0],u=t("max",1)[1],f=t("min",1)[1];return{max:[i,u],min:[r,f]}}catch(i){t.logerror("core","getMinMaxSize",i);return}};t.setSize=function(n,i){if(!t.isIframe&&i){const r=t.getMinMaxSize(n);if(r&&r.max&&r.min){const u=i.getAttribute("data-type");(u==="intext"||u==="infeed")&&(i.style.padding="24px 0 20px 0",i.style.margin="30px 0");u!=="flex"&&u!=="slider"&&(i.style.minWidth=r.max[0]+"px",i.style.minHeight=r.max[1]+"px",t.ExpandAds!==!1&&i.clientWidth>2&&i.clientHeight>2&&n.push([i.clientWidth,i.clientHeight]))}}};t.formatFloor=function(n){return n&&n.replace&&n.indexOf&&n.indexOf(",")>-1?n.replace(",","."):n};t.getFloor=function(n,i){let r=t.DefaultFloorPrice;if(!n)return r;const f=n=>!n||isNaN(n)?r:parseFloat(n),u=n=>t.DefaultFloorPrice>n?t.DefaultFloorPrice:n;return t.device==="desktop"?n.anchor&&t.AnchorPriceDesktop?r=u(parseFloat(t.AnchorPriceDesktop)):n.outstream&&(t.OutstreamFloorPriceDesktop||t.OutstreamSliderFloorPriceDesktop)?r=u(Math.max(f(t.OutstreamFloorPriceDesktop),f(t.OutstreamSliderFloorPriceDesktop))):n.pospopup&&t.PosPopupFloorPriceDesktop!==""?r=u(parseFloat(t.PosPopupFloorPriceDesktop)):n.flex&&t.FlexPriceDesktop&&(r=u(parseFloat(t.FlexPriceDesktop))):n.anchor&&t.AnchorPriceMobile?r=u(parseFloat(t.AnchorPriceMobile)):n.outstream&&(t.OutstreamFloorPriceMobile||t.OutstreamSliderFloorPriceMobile)?r=u(Math.max(f(t.OutstreamFloorPriceMobile),f(t.OutstreamSliderFloorPriceMobile))):n.pospopup&&t.PosPopupFloorPriceMobile!==""&&(r=u(parseFloat(t.PosPopupFloorPriceMobile))),i&&i==="USD"?r/t.USD:r};t.setGoogleTagTarget=function(n){t.googleTagTargets&&t.googleTagTargets[n.adunit.dfpCode]&&t.googleTagTargets[n.adunit.dfpCode].length&&t.googleTagTargets[n.adunit.dfpCode].forEach(t=>{n.setTargeting(t.key,t.values||t.value)})};t.setTargeting=function(n,i){if(t.setGoogleTagTarget(n),n.adunit.dataType&&n.setTargeting("data_type",n.adunit.dataType),n.adunit.anchor){let t=document.getElementById(n.getSlotElementId());t&&n.setTargeting("pp_sticky",t.getAttribute("position")==="Footer"?"bottom":"top")}else n.adunit.sticky&&n.setTargeting("pp_sticky","vertical");n.refresh&&n.setTargeting("pp_refresh","true");n.count>=0&&n.setTargeting("pp_loop",n.count<10?"0"+n.count:n.count.toString());var u=t.getFloor(n,"BRL");if(!t.debug&&!i&&u>.01&&n.setTargeting("pp_pb",u.toFixed(2).toString()),t.PolicyEnforcedJson&&t.PolicyEnforcedJson.length){if(!t.searchForWords(t.PolicyEnforcedJson,t.currentUrl))return;r.pubads().setTargeting("pp_policy","enforced")}};t.setinitconfigs=()=>{const n=`html`,i=`pp-${t.device}`;document.querySelector(`#${t.corev4style.id}`)||document.body.insertAdjacentHTML("afterbegin",t.corev4style.content);document.querySelector(n).classList.contains(i)||document.querySelector(n).classList.add(i)};t.setCustomScripts=()=>{try{t.customScripts&&t.customScripts(i,r)}catch(n){t.logerror("core","init",n)}};t.onEachABTestInstance=(i,r)=>{if(!n.ppAdsTestInstance||!n.ppAdsTestInstance.length){t.onEachABTestInstanceNotice||(t.onEachABTestInstanceNotice=!0);return}n.ppAdsTestInstance.forEach(n=>{n.config&&n.config.type&&n.config.type==i&&!n.expiry()&&r(n)})};t.adsInterstitial=function(){t.HasPosPopup&&t.isValidUrl()&&(t.device!=="mobile"||t.PosPopupFloorPriceMobile!="")&&(t.device!=="desktop"||t.PosPopupFloorPriceDesktop!="")&&r.cmd.push(function(){let n=r.defineOutOfPageSlot(`/${t.DfpId}/${t.DfpPrefix}_VIGNETTE`,r.enums.OutOfPageFormat.INTERSTITIAL);n&&(n.addService(r.pubads()),n.adunit={dataType:"vignette"},n.pospopup=!0,t.setTargeting(n))})};t.loadAll=()=>{};t.afterLoadAllFormats=()=>{t.googletagRefresh(),t.adstaboola(),setTimeout(()=>{t.navegg&&t.navegg(n,document),t.LiveRamp&&t.LiveRamp(),t.Teads&&t.Teads(n),t.Seedtag&&t.Seedtag()},5e3),t.afterLoadAllFormatsCallDisplay()};t.formats={outstreamInText:null};t.loadAllFormats=()=>{t.setCustomScripts(),n.frameElement&&(t.HasFlex=t.HasAnchor=t.HasPosPopup=t.HasReward=!1),t.PremiumGlobal&&(t.Global=new t.PremiumGlobal),t.HasInText&&t.PremiumIntext&&(t.InText=new t.PremiumIntext),t.HasInImage&&t.PremiumInImage&&(t.InImage=new t.PremiumInImage),t.HasAnchor&&t.PremiumAnchor&&new t.PremiumAnchor(t.AnchorJson,t.AnchorStyle),t.formats.flex&&t.formats.flex.unload(),t.HasFlex&&t.PremiumFlex&&(t.formats.flex=new t.PremiumFlex),t.HasInFeed&&t.PremiumInfeed&&(t.InFeed=new t.PremiumInfeed),t.PremiumCustomAd&&new t.PremiumCustomAd(t.CustomAdJson,t.CustomAdStyle),t.PremiumReward_v1&&(t.Reward=new t.PremiumReward_v1),t.adsInterstitial&&t.adsInterstitial(),t.formats.outstreamInText&&(t.formats.outstreamInText.destroy(),t.formats.outstreamInText=undefined),t.HasInStream&&t.PremiumInstream&&new t.PremiumInstream,t.loadOutStreamSlider&&t.loadOutStreamSlider(),t.HasRadioAd&&t.RadioAd&&new t.RadioAd,t.HasOutstream&&t.PremiumOutstream&&!t.formats.outstreamInText&&(t.formats.outstreamInText=new t.PremiumOutstream,t.PassbackTeads=()=>t.formats.outstreamInText.loadPlayer())};t.afterLoadAllFormatsCallDisplay=()=>{t.display()};t.log=function(){t.debug};t.logv2=function(){!t.debug};t.warn=function(){!(t.debug||t.isLocal)};t.logerror=function(n,t){console.error(`%cPREMIUM ERROR ${n.toUpperCase()} ${t.toUpperCase()}%c`,"background:red;color:#fff;border-radius:3px;padding:2px 5px;","color:#fff;font-weight:bold;text-transform:uppercase;",arguments)};t.getPremiumLogo=function(){return'<div style="width:30px; color: #1c6e60; margin-bottom: 15px;" class="icon-media"><svg version="1.1" id="Camada_1-170860" x="0px" y="0px" viewBox="0 0 50 55.1" style="enable-background:new 0 0 50 55.1" xml:space="preserve"><style type="text/css">.st0{fill:#1c6e60}<\/style><g><polygon class="st0" points="11.9,33.6 5,33.7 5,5 11.9,5 11.9,0 0,0 0,38.9 11.9,38.9 "><\/polygon><polygon class="st0" points="11.9,5 30.7,5.2 30.7,33.9 23.8,33.9 23.8,38.9 35.6,38.9 35.6,0 11.9,0 "><\/polygon><polygon class="st0" points="26.2,49.8 19.3,49.9 19.3,21.2 26.2,21.2 26.2,16.2 14.4,16.2 14.4,55.1 26.2,55.1 "><\/polygon><polygon class="st0" points="38.1,21.5 45,21.4 45,50.1 26.2,49.8 26.2,55.1 50,55.1 50,16.2 38.1,16.2 "><\/polygon><\/g><\/svg><\/div>'};t.navegg=function(i){var r="Navegg";i[r]?(n.naveggReady=n.naveggReady||[],n.nvg46575=new Navegg({acc:46575})):t.loadScript("https://tag.navdmp.com/universal.min.js",function(){i[r]=i[r]||function(n){i[r].q=i[r].q||[];i[r].q.push([this,n])};n.naveggReady=n.naveggReady||[];n.nvg46575=new Navegg({acc:46575})})};t.loadOutStreamSlider=()=>{if(t.HasOutstreamSlider&&(!t.OutstreamSlider&&t.PremiumOutstreamSlider&&(t.OutstreamSlider=new t.PremiumOutstreamSlider),t.OutstreamSlider)&&(t.OutstreamSlider.setup(),t.OutstreamSlider.ready)){let i=!1;n.addEventListener(t.DisplaySlotRenderEndedEventKey,()=>{t.hasReward()||i||(i=!0,t.OutstreamSliderAlways||!t.HasAnchor?t.OutstreamSlider.loadScript():t.OutstreamSliderAlways?t.HasAnchor||t.OutstreamSlider.loadScript():t.OutstreamSlider.loadScript())},!1)}};t.requestAds=function(n,r=false,u=false){t.hasRewardSlot({slots:n})||(n=n.filter(n=>n.adunit&&n.adunit.bids.length),n.forEach(n=>{n.clearTargeting(),n.loaded=!1,r&&(n.refresh=!0,n.count++),t.setTargeting(n,u)}),n.length&&(t.switches.prebid||t.switches.apstag)?(t.apstagRequestHeaderBids(n),t.prebidRequestHeaderBids(n),setTimeout(function(){t.initAdserver()},i.MASTER_TIMEOUT)):t.initAdserver())};t.reloadAds=function(n){!n||!n instanceof Array||n.forEach(function(n){let i=r.pubads().getSlots().filter(n=>n.adunit).find(t=>t.adunit.dfpCode===n);i&&t.requestAds([i],!0)})};t.saveConfig=function(n){t.debug||(n==="pospopup"?t.Config.PosPopup={Viewed:!0,Expires:(new Date).getTime()+t.PosPopupCap*6e4}:n==="anchor"&&t.AnchorCap&&(t.Config.Anchor={Viewed:!0,Expires:(new Date).getTime()+t.AnchorCap*6e4}),localStorage.setItem("_ppads",JSON.stringify(t.Config)))};t.Seedtag=function(){t.SeedtagHasInImage&&t.SeedtagId&&t.loadScript("https://t.seedtag.com/t/"+t.SeedtagId+".js")};t.adstaboola=function(){if(t.HasTaboola){let i=!1;n._taboola=n._taboola||[];n._taboola.push({tracking:"utm_source=taboola&utm_medium=organicclicks"});t.categoria==="home"?_taboola.push({home:"auto"}):_taboola.push({article:"auto"});t.TaboolaElements.forEach(function(n){document.getElementById(n.Container)&&(i=!0,_taboola.push({mode:n.Mode,container:n.Container,placement:n.Placement,target_type:n.TargetType}))});_taboola.push({flush:!0});i&&(t.loadScript("https://cdn.taboola.com/libtrc/"+t.TaboolaName+"/loader.js",null,"tb_loader_script"),n.performance&&typeof n.performance.mark=="function"&&n.performance.mark("tbl_ic"))}};t.Teads=function(n){(t.TeadsClassic||t.TeadsPlacementId)&&(n.teads_analytics=n.teads_analytics||{},n.teads_analytics.analytics_tag_id="PUB_13576",n.teads_analytics.share=n.teads_analytics.share||function(){(n.teads_analytics.shared_data=n.teads_analytics.shared_data||[]).push(arguments)},t.loadScript("https://a.teads.tv/analytics/tag.js"))};t.checkUrlBlockAll=function(){if(t.Uri)return t.Uri.checkUrlBlockAll()};t.isValidUrl=function(n=false){if(t.Uri)return t.Uri.isValidUrl(n)};t.isOnViewport=function(i,r=0){var u;if(!i)return!1;if(i.getAttribute("lazyload")&&i.getAttribute("lazyload")=="false")return!0;u=t.PremiumLazyLoadViewport;t.device=="mobile"&&t.PremiumLazyLoadMobileScale>0&&(u=u*t.PremiumLazyLoadMobileScale);var f=n.innerHeight||document.documentElement.clientHeight,o=(u+1)*f,e=i.getBoundingClientRect(),s=f*r;return e.top<=o&&e.bottom>s};t.isOnViewportOnly=function(i){if(!i)return!1;const u=t.device=="mobile"&&t.PremiumLazyLoadMobileScale>0?t.PremiumLazyLoadMobileScale:t.PremiumLazyLoadViewport,r=i.getBoundingClientRect();return r.top>=u&&r.bottom<=(n.innerHeight||document.documentElement.clientHeight)};t.PremiumFlex=(class{constructor(){t.HasFlex&&t.FlexJson&&t.FlexJson.Items&&t.FlexJson.Items.length&&t.isValidUrl()&&(this.unload(),this.load(),n.addEventListener(t.DisplaySlotRenderEndedEventKey,n=>{n.detail&&n.detail.type==="flex"&&n.detail.element&&!t.hasReward()&&this.open(n.detail.element)},!1))}load(){t.FlexPriceDesktop=t.formatFloor(t.FlexJson.FloorPrice.Desktop);t.FlexJson.Items.forEach(n=>{if(t.hasValidDataSizes(null,n.DesktopSizes)){const i=this.htmltag(n);this.close(i)}})}unload(){try{const n=document.querySelectorAll('[data-premium][data-type="flex"]');if(!n||!n.length)return;for(let i=0;i<n.length;i++)t.googletagDestroySlot(n[i]),n[i].parentElement.remove()}catch(n){t.logerror("adsflex","removeBeforeCreateFlex",n)}}htmltag(n){const r=`${t.DfpPrefix}_FLEX`,u=n.FlexPosition==0,i=document.createElement("div");return i.id=`pads-flex-${Date.now()}${Math.floor(Math.random()*100)}`,i.classList.add("pp_boxnewflex","pp-slider","pads-invisible"),i.innerHTML=`<div class='pp-close-btn'><span></span></div><div class='pp_newflex' data-sizes-desktop='${JSON.stringify(n.DesktopSizes)}' data-premium data-type='flex' lazyload='false' data-adunit='${r}' data-position="${u?"right":"left"}"></div>`,document.body.prepend(i),i}open(n){t.element.visible(n.parentNode);const i=new t.StreamPlayerSliderAnimation;i.add(n.parentNode,n.getAttribute("data-position"),undefined,undefined)}close(n){n.querySelector(".pp-close-btn").addEventListener("click",()=>{t.element.invisible(n),n.remove(),t.googletagDestroySlot(n)})}});t.adsrefresh=function(){t.RefreshAdUnits.forEach(function(n){if(n){let t=n.split(",");if(!(t.length<2)){let i=parseInt(t[1])*1e3;if(i>0){let n=document.querySelector("div[data-adunit='"+t[0]+"']");n&&(n.setAttribute("refreshtime",i),n.classList.add("pp_refresh"))}}}})};t.refresh=function(n,i,r){if(n&&r){let u=document.getElementById(n.getSlotElementId());u&&setTimeout(()=>{t.requestAds([n],!0,r)},i)}};t.pageScrollLastPosition=0;t.isScrollDown=function(){var i=!1;return n.pageYOffset>t.pageScrollLastPosition&&(i=!0),t.pageScrollLastPosition=n.pageYOffset,i};t.isScrollUp=function(){var i=!1;return n.pageYOffset<t.pageScrollLastPosition&&(i=!0),t.pageScrollLastPosition=n.pageYOffset,i};t.hasRewardSlot=n=>n.adunit?!n.adunit.code.includes("_REWARDED")&&t.hasReward():n.slots?!n.slots.find(n=>n.adunit.code.includes("_REWARDED"))&&t.hasReward():void 0;t.DisplaySlot=n=>{const u=[];for(var i=0;i<n.length;i++){let f=n[i];if(t.slots.hasOwnProperty(f.code)&&r.destroySlots([t.slots[f.code]]),!t.hasRewardSlot({adunit:f})){let e=r.defineSlot(f.path,t.sizesHas2x2(f.dfpSizes)?f.dfpSizes.concat("fluid"):f.dfpSizes,f.code).addService(r.pubads());e&&(e.sizes=f.dfpSizes,e.flex=f.flex,e.anchor=f.anchor,e.outstream=f.outstream,e.intext=f.intext,e.count=0,e.adunit=f,e.ppads=!0,t.setTargeting(e),u.push(e),t.slots[f.code]=e)}}t.onEachABTestInstance(2,n=>n.module.set(!0));return u};t.DisplaySetID=()=>{const i=document.querySelectorAll("div[data-premium],div[data-premium-adunit]"),n={};for(let r=0;r<i.length;r++){let u=i[r],f=(u.getAttribute("data-adunit")||u.getAttribute("data-premium-adunit")||"PADRAO").replace(/\//g,"_");if((t.livepreview&&(f="PREMIUM_LIVE_PREVIEW"),n.hasOwnProperty(f)?n[f]+=1:n[f]=0,!u.id)&&(u.setAttribute("id","P_"+f+"_"+n[f]),u.getAttribute("data-sizes-"+t.device)==="[[1,1]]"||u.getAttribute("data-sizes-"+t.device)==="[1,1]"||u.getAttribute("data-smart")||u.getAttribute("data-pospopup")||u.getAttribute("data-type")==="flex"||t.isIframe)){u.setAttribute("lazyload","false");continue}}return n};t.DisplayLazyLoad=()=>{const i=[],n=document.querySelectorAll("div[data-premium]:not([data-fetch]),div[data-premium-adunit]:not([data-fetch])");if(!t.PremiumLazyLoad)return n;if(n&&n.length!==0){for(let r=0;r<n.length;r++){let u=n[r];t.isOnViewport(u)&&i.push(u)}return i}};t.AdUnitConfigFloors=n=>{const i={};return i[n.mediaType]=t.getFloor(n.formats,"USD"),{floors:{schema:{fields:["mediaType"]},values:i}}};t.DisplayAdUnitBidsIFrame=n=>{const i=n.dataSizes,r=n.bids.concat(t.getBidders("size_sizeless"));return{sizes:i,bids:r}};t.DisplayAdUnitBidsFlex=n=>{const i=t.DisplayAdUnitBidsFlexGetSizes(),r=n.bids.concat(t.getBidders("size_sizeless"));return{sizes:i,bids:r}};t.DisplayAdUnitBidsFlexGetSizes=()=>{if(!t.FlexJson||!t.FlexJson.Items||!t.FlexJson.Items.length||t.device=="mobile"||t.deviceWidth<1366)return[];let n=[];return t.FlexJson.Items.forEach(function(i){let r=0;return i.DesktopSizes.forEach(function(i){i[0]>120&&t.deviceWidth<1700||(n[r]=i,r++)}),!1}),n};t.DisplayAdUnitBidsOutstream=n=>{const i=n.bids.concat(t.getBidders("size_outstream"));return n.dataSizes.forEach(function(i){t.getViewPort().width>=i[0]&&n.sizes.push(i)}),{sizes,bids:i}};t.DisplayAdUnitBidsDefault=i=>{let u=[],r=[];for(let f=0;f<i.dataSizes.length;f++){let e=i.dataSizes[f],o="size_",h=0,s=0;if(e instanceof Array){if(typeof e[0]=="string")continue;o=o+e[0]+"x"+e[1];s=e[0];h=e[1]}else{if(typeof e=="string")continue;o=o+i.dataSizes[0]+"x"+i.dataSizes[1];s=i.dataSizes[0];h=i.dataSizes[1]}if((n.innerWidth||document.documentElement.clientWidth)>=s)u.push([s,h]);else continue;if(!r.length){const n=t.getBidders(o);n&&n.length&&(r=r.concat(n))}if(!isNaN(e))break}return t.sizesIsOnly1x1(u)||(r=r.concat(t.getBidders("size_sizeless"))),i.dataType==="intext"&&(r=r.concat(t.getBidders("size_intext"))),{sizes:u,bids:r}};t.DisplayAdUnit=n=>{const i=[],r=n=>{const i=[];t.onEachABTestInstance(2,t=>{t.module.exists(n.id)||(document.querySelector(`#${n.id}`).closest("[data-premium]").remove(),i.push(n.id))});return i.length};if(n.elements&&n.elements.length){for(let u=0;u<n.elements.length;u++){let f=n.elements[u];if(!r(f)){let c=f.getAttribute("data-type");if((n.lazy||!t.PrebidLazyLoad||c!=="flex"&&c!=="anchor")&&!f.getAttribute("data-fetch")){f.setAttribute("data-fetch","true");let h=f.getAttribute("data-adunit")||f.getAttribute("data-premium-adunit")||"PADRAO";if(t.livepreview&&(h="PREMIUM_LIVE_PREVIEW"),!t.isIframe){const n=f.getAttribute("data-device")||f.getAttribute("data-premium-device")||"all";if(n!=="all"&&n!==t.device){f.style.display="none";continue}}f.setAttribute("i",u);const a=f.getAttribute("data-type")==="outstream"||!1,p=f.getAttribute("data-type")==="intext"||!1,l=f.getAttribute("data-type")==="flex"||!1,w=f.getAttribute("data-anchor")?!0:!1,b=f.getAttribute("data-sticky")?!0:!1;let o=[],s=[],e=[];try{const n=f.getAttribute("data-sizes"),i=f.getAttribute("data-sizes-"+t.device);if(!n&&!i)continue;o=n?JSON.parse(n):i?JSON.parse(i):[]}catch(k){t.logerror("display","data-sizes invalido",k)}if((!o||!o.length)&&f.getAttribute("width")){const n=f.getAttribute("width"),t=f.getAttribute("height");o.push([parseInt(n),parseInt(t)])}if(o&&o.length&&(l||f.offsetParent!==null)){let v;if(v=t.isIframe?t.DisplayAdUnitBidsIFrame({dataSizes:o,bids:e}):l?t.DisplayAdUnitBidsFlex({bids:e}):a?t.DisplayAdUnitBidsOutstream({dataSizes:o,bids:e}):t.DisplayAdUnitBidsDefault({dataSizes:o,bids:e,dataType:c}),s=v.sizes,e=v.bids,s&&s.length){t.setSize(s,f);const y=(h.indexOf("/")>-1?"":"/"+t.DfpId+"/")+h;if(e.length>0)for(let n=0;n<e.length;n++)e[n]&&e[n].bidder==="adagio"&&(e[n].params.adUnitElementId=f.id,e[n].params.environment=t.device,e[n].params.placement=h,e[n].params.pagetype=t.categoria==="home"?"home":"article",t.categoria&&(e[n].params.category=t.categoria),t.subcategoria&&(e[n].params.subcategory=t.subcategoria));const d={dfpCode:h,dataType:c,dfpSizes:s,path:y,code:f.id,bids:e,anchor:w,flex:l,intext:p,outstream:a,sticky:b,rand:t.rand,mediaTypes:{banner:{sizes:s}},ortb2Imp:{ext:{gpid:`${y}#${f.id}`,data:{pbadslot:`${y}#${f.id}`}}},...t.AdUnitConfigFloors({mediaType:"banner",formats:{anchor:w,flex:l,intext:p,outstream:a,sticky:b}})};i.push(d)}}}}}return i}};t.DisplayTarget=()=>{if(r.pubads().setTargeting("url",t.dominio),t.isIframe&&r.pubads().set("page_url",t.dominio),t.categoria){const n=r.pubads().getTargeting("categoria");if(r.pubads().setTargeting("categoria",[...n,t.categoria]),t.subcategoria){const n=r.pubads().getTargeting("subcategoria");r.pubads().setTargeting("subcategoria",[...n,t.subcategoria])}t.link&&r.pubads().setTargeting("link",t.link)}t.UtmSource&&r.pubads().setTargeting("utm_source",t.UtmSource);t.UtmMedium&&r.pubads().setTargeting("utm_medium",t.UtmMedium);t.UtmCampaign&&r.pubads().setTargeting("utm_campaign",t.UtmCampaign);t.topicos&&r.pubads().setTargeting("topicos",t.topicos);t.setNaveggTargeting()};t.DisplayPubAdsConfig=()=>{r.pubads().setSafeFrameConfig({sandbox:!0,allowOverlayExpansion:!0,allowPushExpansion:!0}),r.pubads().enableLazyLoad({fetchMarginPercent:-1,renderMarginPercent:t.PremiumLazyLoadViewport*100,mobileScaling:t.PremiumLazyLoadMobileScale}),r.pubads().setCentering(!0),r.pubads().enableSingleRequest(),r.enableServices()};t.DisplayImpressionViewable=()=>{t.googletagEventListeners.que.impressionViewable.push(n=>{const t=document.getElementById(n.slot.getSlotElementId());t.getAttribute("data-sticky")||t.hasAttribute("refreshtime")})};t.DisplaySlotOnload=()=>{t.googletagEventListeners.que.slotOnload.push(()=>{t.performanceFirstSlotOnLoadEnded||(t.performanceFirstSlotOnLoadEnded=!0)})};t.DisplaySlotRenderEndedEventKey="pp-slot-render-ended";t.DisplaySlotRenderEndedDispatchEvent=i=>{const r=new CustomEvent(t.DisplaySlotRenderEndedEventKey,{detail:{element:i,type:i?i.getAttribute("data-type"):"unknown"}});n.dispatchEvent(r)};t.DisplaySlotRenderEnded=()=>{const i=function(i){if(!(i.clientHeight<=2)&&!t.DisablePassback){let r=document.createElement("div");if(t.AdsensePublisherId&&t.AdsenseAdunitId){let f=document.createElement("ins");f.classList.add("adsbygoogle");f.style.display="block";f.style.minWidth=i.clientWidth+"px";f.style.minHeight=i.clientHeight+"px";f.setAttribute("data-ad-client",t.AdsensePublisherId);f.setAttribute("data-ad-slot",t.AdsenseAdunitId);f.setAttribute("data-format","auto");f.setAttribute("data-full-width-responsive","true");r.appendChild(f);i.innerHTML="";i.appendChild(r);t.loadScript(`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${t.AdsensePublisherId}`);(u=n.adsbygoogle||[]).push({})}else if(t.PassbackCodeSnipet){let n=document.createElement("iframe");n.width=i.clientWidth;n.height=i.clientHeight;n.marginWidth=0;n.marginHeight=0;n.frameBorder=0;n.scrolling="no";r.appendChild(n);i.innerHTML="";i.appendChild(r);let u=n.contentWindow.document;u.write(t.PassbackCodeSnipet);u.close()}else if(i.clientHeight>=240){let n=`<div style="height:240px; overflow: hidden; text-align:center">`;n+=`<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B09LVLN4L4&asins=B09LVLN4L4&linkId=00cd7b518a46ebf1eacdf278d3fa694b&show_border=true&link_opens_in_new_window=true"></iframe>`;n+=`<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B09QV7PZM6&asins=B09QV7PZM6&linkId=385be226b6f5d8863effc7a193d4bba5&show_border=true&link_opens_in_new_window=true"></iframe>`;i.clientWidth>=360&&(n+=`<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B08KGWJDRZ&asins=B08KGWJDRZ&linkId=4f10e8903e0dd7025e7ce51e5319f04b&show_border=true&link_opens_in_new_window=true"></iframe>`);i.clientWidth>=480&&(n+=`<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B085M5P9LF&asins=B085M5P9LF&linkId=40e4ab263a6af2a0e20e18c1dd14c3fa&show_border=true&link_opens_in_new_window=true"></iframe>`);n+=`</div>`;r.insertAdjacentHTML("afterbegin",n);i.innerHTML="";i.appendChild(r)}}};t.googletagEventListeners.que.slotRenderEnded.push(n=>{const r=document.getElementById(n.slot.getSlotElementId());let u=1,f=1;if(n.slot.isEmpty=n.isEmpty,n.slot.size=n.size,n.isEmpty)n.slot.refresh||r.dataset.type!=="flex"&&r.dataset.type!=="anchor"&&r.dataset.type!=="slider"?i(r):t.refresh(n.slot,1e3,!0);else if(u=parseInt(n.size[0]),f=parseInt(n.size[1]),u===1&&f===1){let i=n.slot.getTargetingMap();if(i){let e;try{i.hasOwnProperty("amznsz")?e=i.amznsz[0].split("x"):i.hasOwnProperty("hb_size")&&i.hb_size[0].indexOf("x")>0&&(e=i.hb_size[0].split("x"));e&&(u=parseInt(e[0]),f=parseInt(e[1]),n.slot.size=[u,f])}catch(o){t.logerror("display","Cant get the real size",o,n,r)}}}t.performanceFirstSlotRenderEnded||(t.performanceFirstSlotRenderEnded=!0);!n.isEmpty&&u>1&&f>1&&r.hasAttribute("data-type")&&t.DisplaySlotRenderEndedDispatchEvent(r)})};t.display=function(n){const i=()=>{setTimeout(()=>t.DisplaySlotRenderEndedDispatchEvent(undefined),5e3)};if(!t.checkUrlBlockAll()&&(n||!t.hasReward())){t.DisplaySetID();const u=t.DisplayLazyLoad();if(!u||u.length===0)return i();const f=t.DisplayAdUnit({lazy:n,elements:u});let e=[];if(f.length===0)return i();i();r.cmd.push(()=>{(e=t.DisplaySlot(f),t.pubadsReady||t.hasReward())||(t.DisplayImpressionViewable(),t.DisplaySlotRenderEnded(),t.DisplaySlotOnload(),t.DisplayTarget(),t.DisplayPubAdsConfig(),t.pubadsReady=!0)});r.cmd.push(function(){!n&&t.PrebidLazyLoad&&t.PremiumLazyLoad?t.initAdserver():t.requestAds(e)})}};t.setNaveggTargeting=function(){try{let t,i,u=JSON.parse(n.localStorage.getItem("nvgpersona46575")),f="";for(i in u)t="nvg_"+i,t=t.substring(0,10),r.pubads().setTargeting(t,u[i]),f+=`${t}=${u[i]}&`}catch(i){t.logerror("core","setNaveggTargeting",i)}};t.apstagInit=function(){t.switches.apstag&&!t.apstagready&&(t.apstagready=!0,apstag.init({pubID:"331fbd2e-ff5e-4e7c-9de6-7c2166bce7b7",adServer:"googletag",videoAdServer:"DFP",schain:t.schain}))};t.BiddersBack=function(){t.switches.apstag&&t.switches.prebid?t.executeParallelAuctionAlongsidePrebid.requestManager.aps&&t.executeParallelAuctionAlongsidePrebid.requestManager.prebid&&t.initAdserver():t.switches.prebid&&t.executeParallelAuctionAlongsidePrebid.requestManager.prebid?t.initAdserver():t.switches.apstag&&t.executeParallelAuctionAlongsidePrebid.requestManager.aps&&t.initAdserver()};t.apstagRequestHeaderBids=function(n){if(t.switches.apstag&&n){t.executeParallelAuctionAlongsidePrebid.requestManager.aps=!1;const i=n.map(n=>{if(!t.sizesIsOnly1x1(n.sizes)){const i={slotID:n.adunit.code,slotName:n.adunit.path,floor:{currency:"USD",value:Math.round(t.DefaultFloorPrice/t.USD*100)}};return n.adunit.path.indexOf("DCI_INTEXT_01")>0?(i.mediaType="multi-format",i.multiFormatProperties={display:{sizes:n.adunit.dfpSizes},video:{sizes:[[400,225]]}}):i.sizes=n.adunit.dfpSizes,i}}).filter(n=>n);i&&i.length&&apstag.fetchBids({slots:i},function(){r.cmd.push(function(){apstag.setDisplayBids();t.executeParallelAuctionAlongsidePrebid.requestManager.aps=!0;t.BiddersBack()})})}};t.prebidRequestHeaderBids=function(n){if(t.switches.prebid&&n){t.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!1;const r=n.map(n=>n.adunit);i.que.push(function(){i.requestBids({timeout:i.TIMEOUT,adUnits:r,bidsBackHandler:function(){i.setTargetingForGPTAsync();t.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!0;t.BiddersBack(n)}})})}};t.getSlot=function(n){let t=null;return r.pubads().getSlots().forEach(function(i){i.getSlotElementId().toString()===n&&(i.clearTargeting(),t=i)}),t};t.LazyDisplay=function(){t.fetch||(t.fetch=!0,t.switches.prebid&&!i.getConfig&&t.loadScript(t.PbjsUrl),t.display(!0),t.fetch=!1)};t.getViewPort=function(){let t=n.innerHeight||document.documentElement.clientHeight,i=n.innerWidth||document.documentElement.clientWidth;return{width:i,height:t}};t.getOffset=function(t){var i=t.getBoundingClientRect();return{top:i.top+n.scrollY,left:i.left+n.scrollX}};t.hasReward=()=>t.Reward&&t.Reward.enabled()&&t.Reward.hasAd();t.googletagRefresh=function(){if(t.HasRefresh){const i=(t.RefreshTime||30)*1e3,u=60,f=function(t){if(t.getAttribute("lazyload")=="false")return!0;const i=n,f=document,e=f.documentElement,o=f.getElementsByTagName("body")[0],p=i.innerWidth||e.clientWidth||o.clientWidth,s=i.innerHeight||e.clientHeight||o.clientHeight,h={top:i.pageYOffset,bottom:i.pageYOffset+s},r=t.getBoundingClientRect(),c={top:r.y+i.pageYOffset,bottom:r.y+r.height+i.pageYOffset},l=r.height,v=Math.max(c.bottom,h.bottom)-Math.min(c.top,h.top),y=v-s,a=l-y;return(a<=0?0:a/l*100)>=u};setInterval(()=>{let n=r.pubads().getSlots().filter(function(n){return n.ppads&&n.adunit});n.forEach(n=>{let i=document.getElementById(n.getSlotElementId());i&&f(i)&&!t.sizesIsOnly1x1(n.sizes)&&t.requestAds([n],!0,n.isEmpty)})},i)}};t.googletagDestroySlot=function(n){n.hasAttribute("data-premium")||(n=n.querySelector("[data-premium]"));n&&r.cmd.push(function(){r.destroySlots(r.pubads().getSlots().filter(t=>t.getSlotElementId()===n.id))})};t.VastTagHelper=(class{static append(n,i){t.VastTAG=t.VastTagHelper.add(n,i)}static add(n,i){const r=new URL(t.VastTAG);if(n==="cust_params"){const t=new URLSearchParams(i);if(r.searchParams.has(n)){const i=new URLSearchParams(decodeURIComponent(r.searchParams.get(n))),u=new URLSearchParams({...Object.fromEntries(i),...Object.fromEntries(t)});r.searchParams.set(n,u.toString())}else r.searchParams.append(n,t.toString());return r.toString()}return r.searchParams.has(n)?r.toString():(r.searchParams.append(n,i),r.toString())}});t.GoogleTagEvents=(class{constructor(){this.ready=!1;this.que={impressionViewable:[],slotRenderEnded:[],slotOnload:[],slotVisibilityChanged:[]}}mount(){this.ready||(r.cmd.push(()=>{this.onImpressionViewable(),this.onSlotRenderEnded(),this.onSlotOnload(),this.onSlotVisibilityChanged()}),this.ready=!0)}hasDataPremium(n,i,r){if(!n||!n.slot)return!1;const u=document.getElementById(n.slot.getSlotElementId());if(!u)return!1;const f=u&&u.hasAttribute("data-premium");if(f&&t.debug){u.style.cssText=`position:relative; box-sizing: border-box; border: solid 3px ${r}`;const f=`evt-slot-${n.slot.getSlotElementId()}`;let t=document.getElementByClassName(u,f);t||(t=document.createElement("span"),t.classList.add(f),t.style.cssText=`position: absolute; right: 0; top: 0; background-color: ${r}; color: #ffffff; text-align: right; word-break: break-word; padding: 0 0 3px 3px; font-size: 0.75em;`,u.append(t));u.title=`${i} ${n.slot.getSlotElementId()}`;u.setAttribute("data-event",i);t.innerHTML=u.title;t.style.backgroundColor=r}return f}onImpressionViewable(){const n="impressionViewable";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#F2CB05"))for(let n=0;n<this.que.impressionViewable.length;++n)this.que.impressionViewable[n](t)})}onSlotRenderEnded(){const n="slotRenderEnded";r.pubads().addEventListener(n,i=>{if(this.hasDataPremium(i,n,"#F28705")&&!t.hasReward())for(let n=0;n<this.que.slotRenderEnded.length;++n)this.que.slotRenderEnded[n](i)})}onSlotOnload(){const n="slotOnload";r.pubads().addEventListener(n,i=>{if(this.hasDataPremium(i,n,"#267365")&&!t.hasReward())for(let n=0;n<this.que.slotOnload.length;++n)this.que.slotOnload[n](i)})}onSlotVisibilityChanged(){const n="slotVisibilityChanged";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#F23030"))for(let n=0;n<this.que.slotVisibilityChanged.length;++n)this.que.slotVisibilityChanged[n](t)})}});t.PremiumUri&&(t.Uri=new t.PremiumUri,t.Uri.appendVastTag());t.switches.prebid&&i.que.push(function(){var r={bidderTimeout:i.TIMEOUT,debug:t.debug,rubicon:{singleRequest:!0,rendererConfig:{label:"PUBLICIDADE",collapse:!1}},improvedigital:{singleRequest:!0,usePrebidSizes:!0},userSync:{filterSettings:{iframe:{bidders:"*",filter:"include"},image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:5e3,auctionDelay:0,userIds:[{name:"criteo"},{...t.pbjsUserIds.identityLink},{name:"naveggId"},]},priceGranularity:{buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:21,increment:.5},{max:35,increment:1},]},enableSendAllBids:!1,targetingControls:{alwaysIncludeDeals:!0,allowTargetingKeys:["BIDDER","PRICE_BUCKET","AD_ID","SIZE","DEAL","SOURCE","FORMAT","ADOMAIN"]},schain:{validation:"strict",config:t.schain},maxRequestsPerOrigin:10,maxNestedIframes:10,floors:{currency:"USD","default":t.DefaultFloorPrice/t.USD},suppressEmptyKeys:!0,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache",ignoreBidderCacheKey:!0}};r.currency={adServerCurrency:"USD",rates:{USD:{USD:1,BRL:t.USD,EUR:t.USD/t.EUR}}};i.setConfig(r);n.ga&&(ga("create","UA-98623244-1","auto","_ppads_ga",{sampleRate:t.debug?100:1}),ga("_ppads_ga.send","pageview"),i.enableAnalytics([{provider:"ga",options:{trackerName:"_ppads_ga"}}]));i.aliasBidder("appnexus","appnexusTest");i.bidderSettings={standard:{storageAllowed:!0}}});try{t.Config=JSON.parse(localStorage.getItem("_ppads"));t.Config?(t.Config.Anchor&&t.Config.Anchor.Viewed?t.Config.Anchor.Expires<(new Date).getTime()&&(t.Config.Anchor.Viewed=!1):t.Config.Anchor.Viewed=!1,t.Config.PosPopup&&t.Config.PosPopup.Viewed?t.Config.PosPopup.Expires<(new Date).getTime()&&(t.Config.PosPopup.Viewed=!1):t.Config.PosPopup.Viewed=!1):t.Config={Flex:{Viewed:!1},Anchor:{Viewed:!1},PosPopup:{Viewed:!1}}}catch(f){t.Config={Flex:{Viewed:!1},Anchor:{Viewed:!1},PosPopup:{Viewed:!1}};t.logerror("loaders","config",f)}t.switches.prebid&&!t.PrebidLazyLoad&&t.loadScript(t.PbjsUrl);t.loadScript("https://securepubads.g.doubleclick.net/tag/js/gpt.js");t.googletagEventListeners=new t.GoogleTagEvents;t.googletagEventListeners.mount();t.apstagInit();t.setinitconfigs();t.loadAndDisplayFormats();t.PremiumAnalytics&&new t.PremiumAnalytics;t.scroll.que.push(()=>t.LazyDisplay());try{const r=(n,t)=>(n=[...n].sort(),t=[...t].sort(),t.find((t,i)=>t!==n[i])),i=()=>location.protocol+"//"+location.host+location.pathname;let n=i();new MutationObserver(()=>document.debounce(()=>{const u=i();if(u!==n){n=u;const f=r(n,u),e=t.Global&&t.InText;if((t.InFeed||e)&&f&&f.length===1){e&&(t.Global.load(),t.InText.reload(),t.InImage&&t.InImage.reload());t.afterLoadAllFormatsCallDisplay();return}t.loadAndDisplayFormats()}},1e3)).observe(document,{subtree:!0,childList:!0})}catch(f){t.logerror("loaders","MutationObserver",f)}return n.addEventListener("scroll",document.throttle(()=>{const n=()=>{for(let n=0;n<t.scroll.que.length;++n)t.scroll.que[n]()};n();document.debounce(()=>n(),500)},500)),{_ppads:t,_pbjs:i,googletag:r,adsbygoogle:u}})(window,_ppads||{},window._pbjs||{},window.googletag||{},window.adsbygoogle||[])