"use strict";var{_ppads,_pbjs,googletag}=((n,t,i,r)=>{if(t&&t.ready)return{_ppads:t,_pbjs:i,googletag:r};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","yahoossp","projectagora","amx"];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.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})};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=()=>{};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="2022.10.21294.4";t.version="2022.10.21294.4";t.versionCache="638024910122593572";t.dominio="gazetadocerrado.com.br";t.siteid="bf62ddcc-9c63-432a-fb3b-08d903736159";t.partnerid="4c0833d8-d300-410c-573e-08d903736146";t.canonical="https://gazetadocerrado.com.br/";t.urlLogo="https://gazetadocerrado.com.br/wp-content/themes/standart/src/img/GZDC.png";t.hasNonAdChecks=!1;t.bidders={size_sizeless:[{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1375977,formatId:68014}},{bidder:"appnexus",params:{placementId:21467328,allowSmallerSizes:!0}},{bidder:"criteo",params:{networkId:"7833"}},{bidder:"oftmedia",params:{placementId:22741751}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"improvedigital",params:{placementId:22767240}}],size_outstream:[{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1375977,formatId:113995}},{bidder:"appnexus",params:{placementId:21467330,video:{minduration:1,maxduration:60,skippable:!0,playback_method:["auto_play_sound_off"],mimes:["video/mp4","application/javascript"]}}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"improvedigital",params:{placementId:22767241}}]};t.getBidders=function(n){return!n||!t.bidders||!t.bidders[n]?[]:t.bidders[n]};t.urls=[];t.BlockUrlsJson=[{Title:"",Method:"Equals",Url:"",Block:"All",Format:"All",Device:"All"},{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="GAZETA_DO_CERRADO";t.DfpId="75894840,22024606931";t.HasJquery=!1;t.PrebidTimeout=2500;t.HasPrebidServer=!1;t.PrebidServerTest=!1;t.HasRefresh=!0;t.PrebidLazyLoad=!1;t.switches={prebid:!0,apstag:!1};t.HasPremiumLazyLoad=!1;t.PremiumLazyLoadViewport=1;t.PremiumLazyLoadMobileScale=2;t.PremiumLazyLoadPercent=100;t.googleTagTargets={};t.pp_count_refresh=[];t.HasSticky=!1;t.JsonSticky=[];t.HasCustomAd=!0;t.CustomAdJson=[{Title:"INTEXT 01",Sufix:"INTEXT_01",Id:"custom-intext",Selector:".post-body.col > p:nth-child(5)",Position:"After",Refresh:0,Sticky:0,Top:0,QtdeAds:1,DesktopSizes:[[336,280],[300,250],[2,2]],MobileSizes:[[336,280],[300,250],[2,2]]}];t.CustomAdStyle=`[data-type="custom"]{margin:0 auto 30px}`;t.PremiumCustomAd=(class{constructor(n,i){this.hasSticky=!1;this._customads=n;this._styles=i;this.load();t.adssticky&&t.adssticky()}load(){t.HasCustomAd&&this._customads&&this._customads.length&&t.isValidUrl()&&(t.Reward&&t.Reward.enabled(),this.styles(),this._customads.forEach(n=>{let t=null;try{if(t=document.querySelectorAll(n.Selector),!t||!t.length)return}catch(r){return}let i=1;t.forEach(t=>{for(var r=1;r<=(n.QtdeAds||1);r++){const r=this.htmltag(n,i);if(!r)return;const u=(new DOMParser).parseFromString(r,"text/html");switch(n.Position){case"Before":t.insertAdjacentHTML("beforebegin",r);break;case"After":t.insertAdjacentHTML("beforeend",r);break;case"InsideBefore":t.prepend(u.body.firstChild);break;case"InsideAfter":default:t.appendChild(u.body.firstChild)}i++}})}))}htmltag(n){let u=`${t.DfpPrefix}_${n.Sufix}`;const f=[],i=[],r=["data-premium",`data-adunit="${u}"`],e=document.querySelector(`[data-premium][data-adunit="${u}"]`);if(n.Sticky){if(this.hasSticky=!0,e){e.setAttribute("data-sticky","");return}f.push(n.Version==="css"?"pp-sticky-this-v2":"pp-sticky-this");r.push("data-sticky")}n.Limiter&&i.push(`element-collapse=${n.Limiter}`);n.Top&&(i.push(`style="top:${n.Top}px;"`),i.push(`topSpacing=${n.Top}`));n.QtdeAds&&i.push(`ads="${n.QtdeAds}"`);n.MobileSizes&&r.push(`data-sizes-mobile="${JSON.stringify(n.MobileSizes)}"`);n.DesktopSizes&&r.push(`data-sizes-desktop="${JSON.stringify(n.DesktopSizes)}"`);let o=`<div class="${f.join(" ")}" ${i.join(" ")}>`;return o+=`<div ${r.join(" ")}></div>`,o+`</div>`}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}});t.HasAnchor=!0;t.AnchorJson={FloorPrice:{Desktop:.3,Mobile:.3,Version:"v3"},Items:[{Title:null,Selector:"",Position:"Footer",Expand:null,Cap:0,Refresh:0,HasCloseButton:0,BackgroundColorCloseButton:"#32323a",BackgroundColor:"#ffffff",DesktopWidth:"Ad",DesktopSizes:[[970,90],[728,90]],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:2147483644;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}#ppAnchorClose{cursor:pointer;position:absolute;right:5px;height:30px;width:30px;z-index:2;box-shadow:1px 1px 2px rgba(0,0,0,.31)}#ppAnchorClose 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:-135px;bottom:auto}#ppBoxAnchor.ppAnchorHeader.ppAnchorHeight100{top:-170px}#ppBoxAnchor.ppAnchorFooter{bottom:-135px;top:auto}#ppBoxAnchor.ppAnchorFooter.ppAnchorHeight100{bottom:-170px}.pp-desktop #ppBoxAnchor.ppAnchorFooter{box-shadow:-1px -1px 4px rgba(0,0,0,.2);border-radius:2px}.openAnchor #ppBoxAnchor.ppAnchorHeader{top:0;bottom:auto}.openAnchor #ppBoxAnchor.ppAnchorFooter{bottom:0;top:auto}body{transition:margin .4s}.pp-mobile #ppBoxAnchor.ppAnchorHeader #ppAnchorClose{top:52px}.pp-mobile #ppBoxAnchor.ppAnchorFooter #ppAnchorClose{bottom:65px;border-radius:15px 0 0 0;right:0;box-shadow:-1px -1px 2px rgba(0,0,0,.2)}.pp-mobile #ppBoxAnchor.ppAnchorFooter.ppAnchorHeight100 #ppAnchorClose{bottom:115px}.pp-mobile body.openAnchor.anchorHeader{margin-top:80px}.pp-mobile body.openAnchor.anchorFooter{margin-bottom:80px}.pp-mobile #ppBoxAnchor.ppAnchorHeader div#ppAnchorClose{top:65px;border-radius:0 0 0 15px;right:0;width:28px}.pp-mobile #ppBoxAnchor.ppAnchorHeader.ppAnchorHeight100 div#ppAnchorClose{top:115px}.pp-desktop #ppBoxAnchor.ppAnchorHeader div#ppAnchorClose{bottom:0;right:5px}.pp-desktop #ppBoxAnchor.ppAnchorHeader.ppAnchorWidthAd div#ppAnchorClose{top:-15px;right:-30px;border-radius:0 0 14px 0}.pp-desktop #ppBoxAnchor.ppAnchorFooter.ppAnchorWidthAd div#ppAnchorClose{right:-11px;top:-30px}.pp-desktop #ppBoxAnchor.ppAnchorFooter div#ppAnchorClose{right:3px;top:-11px;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=>{n.detail&&n.detail.type==="anchor"&&this.isScroll()&&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){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){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="ppAnchorClose" 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("ppAnchorClose");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=30;t.PosPopupFloorPriceDesktop="1";t.PosPopupFloorPriceMobile="1";t.HasReward=!1;t.RewardBlockUrlsPopupJson={};t.RewardBlockUrlsJson=[];t.HasFlex=!1;t.GlobalConfigJson=[{Selector:".post-body.col p",Multiply:1,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=this.ps[0].parentNode;i.setAttribute(this.checkDataAttr,n.Selector);i.setAttribute(this.onEachDataAttr,n.EachParagraph>0);this.setHeightDobra(n);this.text_init_position=0;this.viewport=1;this.ps.forEach(t=>this.forEachItemSelector(t,n.EachParagraph));this.setLastParagraph()}catch(t){}}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(n){if(this.paragraphCount++,!n||!this.paragraphCount||this.paragraphCount%n==0){this.paragraph.setAttribute(this.ppadDataAttr,!0);const i=t.getOffset(this.paragraph),r=i.top+this.paragraphClientHeight-this.text_init_position;r>=this.height_dobra&&(this.paragraph.setAttribute(this.viewportDataAttr,this.viewport),this.text_init_position=i.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.OutstreamJson={FloorPrice:{Desktop:.3,Mobile:.3,Version:"v3"},Items:[{Title:"#1 Nova Definição",FixedElement:5,Backfill:"banner",CustomBackfill:null,Javascript:null,Slider:!1,DesktopSizes:[[336,280],[300,250],[2,2]],MobileSizes:[[336,280],[300,250],[2,2]],PlayerSizeDesktop:null,PlayerSizeMobile:null,PlayerSliderSizeDesktop:null,PlayerSliderSizeMobile:null,PrioritizeTeads:!0}],Version:"v3"};t.StreamPlayer=(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=`//imasdk.googleapis.com/js/sdkloader/ima3.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.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(n){if(this.toggleStarted)return this.isVisible(n);this.toggleStarted=!0;this.isVisible(n);t.scroll.que.push(()=>this.isVisible(n))}isVisible(n){const i=t.isOnViewportOnly(this.container);if(i&&!this.element.visible&&(this.element.visible=!0),i&&this.element.animated){this.unanimate();return}i||!this.element.visible||this.element.animated||this.animate();n&&n(this.element.visible)}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)}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)}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.args.src&&(this.iframe.dataset.src=this.args.src),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.toggle=n=>this.toggle(n);this.args.bidsBackHandler&&(this.iframe.bidsBackHandler=()=>this.args.bidsBackHandler());this.args.onClose&&(this.iframe.onClose=()=>this.args.onClose());let i="";switch(this.args.format){case"instream":i=`<div class="loading" style="display:flex;align-items:center;height:100%;width:100%;justify-content:center;color:${this.styleColor};"><div>O vídeo está sendo carregado...</div></div>`}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/v1"></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;this._ps=document.querySelectorAll("[ppad]");this._styles=t.OutstreamStyle;this._wrap;this._id="_ppads_video";this._format="outstream-intext";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._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){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))}htmlInserts(){this.tagVideo||this._ps.forEach((n,t)=>this.forEachParagraph(n,t))}forEachParagraph(n,t){const i=parseInt(this._outstream.FixedElement,0),r=i?0:1,u=n.hasAttribute("pp-viewport")&&n.getAttribute("pp-viewport")==r,f=i&&t+1==i;if(u||f)try{this.insertDiv(this.next(n,"[ppad]:not(.pp-box-adunit)"))}catch(e){}}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}}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;if(t.TeadsClassic&&n){t.loadScript("https://a.teads.tv/page/"+t.TeadsClassic+"/tag");return}this.loadPlayer()}}loadPlayer(){this.player&&this.player.unmount();var n={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}}};this.player=new t.StreamPlayer({element:this.tagVideo,network:{},format:this._format,onClose:()=>this.bidsBackHandler(),bidsBackHandler:()=>this.bidsBackHandler(),retryAttemptLimit:5,style:{backgroundColor:"#fff",color:"#fff"},size:{desktop:n.desktop,mobile:n.mobile},slider:n.slider});this.player.mount()}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}bidsBackHandler(){switch(this._outstream.Backfill){case"banner":this.bidsBackHandlerBanner();break;case"other":if(this._outstream.Javascript)try{eval(this._outstream.Javascript)}catch(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.tagVideo.innerHTML="";this.tagVideo.insertAdjacentElement("afterend",n);t.LazyDisplay()}bidsBackHandlerTeadsClassic(){t.TeadsClassic&&t.loadScript("https://a.teads.tv/page/"+t.TeadsClassic+"/tag")}});t.OutstreamSliderJson={Settings:[{WithAnchor:0,OpenWhen:"always",FloorPrice:{Desktop:.05,Mobile:.05,Version:"v3"}}],Networks:[{Title:null,Enable:1,Weight:100,Network:"avantis",NetworkOther:"",Player:null,Javascript:"",Position:null,xOffset:0,yOffset:0,ShowBannerAfterVideo:1,PlayerSizeDesktop:null,PlayerSizeMobile:null}],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&&(t.Reward&&t.Reward.enabled()||(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))}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({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.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.HasInStream=!1;t.PremiumInstream=(class{constructor(){this.load()}load(){if(t.HasInStream){const n=document.querySelectorAll(`.wp-video`);if(n&&n.length){n.forEach(n=>{const i=n.querySelector("video");if(i){const r=i.getAttribute("src")||i.currentSrc;if(r){const t=document.createElement("div");t.setAttribute("data-premium","");t.setAttribute("data-type","premiumads-stream");t.setAttribute("data-src",r);t.setAttribute("data-width",i.width);t.setAttribute("data-height",i.height);n.parentNode.insertBefore(t,n.nextSibling);n.style.display="none";n.remove()}}});const i=document.querySelectorAll('div[data-type="premiumads-stream"]');i&&i.length&&i.forEach(n=>{if(!n.getAttribute("loaded")){const r=n.getAttribute("data-src");if(n.setAttribute("loaded",!0),r){var i={desktop:{width:t.InstreamJson.PlayerSizeDesktop?t.InstreamJson.PlayerSizeDesktop[0]:550,height:t.InstreamJson.PlayerSizeDesktop?t.InstreamJson.PlayerSizeDesktop[1]:309},mobile:{width:t.InstreamJson.PlayerSizeMobile?t.InstreamJson.PlayerSizeMobile[0]:336,height:t.InstreamJson.PlayerSizeMobile?t.InstreamJson.PlayerSizeMobile[1]:189},slider:{desktop:{width:t.InstreamJson.PlayerSliderSizeDesktop?t.InstreamJson.PlayerSliderSizeDesktop[0]:400,height:t.InstreamJson.PlayerSliderSizeDesktop?t.InstreamJson.PlayerSliderSizeDesktop[1]:225},mobile:{width:t.InstreamJson.PlayerSliderSizeMobile?t.InstreamJson.PlayerSliderSizeMobile[0]:225,height:t.InstreamJson.PlayerSliderSizeMobile?t.InstreamJson.PlayerSliderSizeMobile[1]:126}}};const u=new t.StreamPlayer({element:n,src:r,width:n.getAttribute("data-width"),height:n.getAttribute("data-height"),format:"instream",retryAttemptLimit:1,style:{backgroundColor:"#000",color:"#fff"},size:{desktop:i.desktop,mobile:i.mobile},slider:i.slider});u.mount()}}})}}}});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({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=!0;t.HasInTextEnd=!0;t.SkipInText="";t.InTextJson=[{Title:"INTEXT - FINAL MATERIA",Position:"After",QtdeViewport:1,Skip:10,QtdeEndPostDesktop:2,QtdeEndPostMobile:1,DesktopSizes:[[336,280],[300,250],[2,2]],MobileSizes:[[336,280],[300,250],[2,2]]}];t.InTextStyle=`#ppBoxFinalMateria,.ppBoxIntexts{width:100%;display:flex;flex-direction:row;justify-content:center}#ppBoxFinalMateria[ads="2"],.ppBoxIntexts[ads="2"]{justify-content:space-between}.pp-desktop #ppBoxFinalMateria:not([ads="1"]) .pp-box-adunit,.pp-desktop .ppBoxIntexts .pp-box-adunit{width:50%}.PPLoadMore{display:inline-block}`;t.PremiumIntext=(class{constructor(n=1){this._cycle=n;this._dfpAdunit=`${t.DfpPrefix}_INTEXT_`;this._intext;this._intexts=t.InTextJson;this._ps=document.querySelectorAll("[ppad]");this._styles=t.InTextStyle;this.LAST_PARAGRAPH="pp-last-paragraph";this._wrap;this.onEach=!1;this.load()}load(){const n=this._intexts&&this._intexts.length,i=this._ps&&this._ps.length;t.HasInText&&t.isValidUrl()&&n&&i&&(this._intexts.forEach(n=>this.forEachItem(n)),this._wrap&&this._intext)&&(this._cycle==1&&this.styles(),this.htmlInserts())}forEachItem(n){if(!this._wrap&&t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)){try{if(this._wrap=document.querySelector("[pp-article-wrap]:not([data-fetch])"),this.onEach=this._wrap.getAttribute("pp-each")==="true",!this._wrap)return}catch(i){return}this._intext=n}}htmlInserts(){let i=null,n=0;t.device=="mobile"&&this._intext.QtdeEndPostMobile&&(n=parseInt(this._intext.QtdeEndPostMobile));t.device=="desktop"&&this._intext.QtdeEndPostDesktop&&(n=parseInt(this._intext.QtdeEndPostDesktop));i=n>0?this._wrap.querySelectorAll(`[pp-viewport]:not([${this.LAST_PARAGRAPH}])`):this._wrap.querySelectorAll("[pp-viewport]");this.onEach&&(i=[...this._ps].filter(n=>!n.hasAttribute(this.LAST_PARAGRAPH)));i.forEach((t,i)=>this.forEachParagraph(t,++i,n>0));this.insertTagAtLast(n)}forEachParagraph(n,t,i){const r=n.getAttribute("pp-viewport"),u=i&&n.nextElementSibling&&n.nextElementSibling.hasAttribute(this.LAST_PARAGRAPH);if(this.onEach&&!u){this.insertTagOnEach(t,n);return}r&&!u&&this.insertTagOnViewport(parseInt(r),n)}insertTagOnViewport(n,i){let r=0;if(this._intext.Skip>0&&(r=parseInt(this._intext.Skip)),n>15&&(n=15),n>r){const u=this.getIdAdUnit(n);let r=this.createHtmlDivPremium(u);this._intext.QtdeViewport==2&&t.device==="desktop"&&(r=`<div class='ppBoxIntexts'>${r}${r}</div>`);this.insertPosition(i,r)}}insertTagOnEach(n,t){this.insertPosition(t,this.createHtmlDivPremium(this.getIdAdUnit(n)))}insertTagAtLast(n){let i=`<div id="ppBoxFinalMateria" ads="${n}">`;for(let r=1;r<=n;r++){const u=t.DfpPrefix+"_FINAL_MATERIA_0"+r.toString();i+=this.createHtmlDivPremium(u,!0,n)}try{const n=document.querySelector(`[${this.LAST_PARAGRAPH}]`);n.insertAdjacentHTML("afterend",i)}catch(r){return}}getIdAdUnit(n){return t.IntextFixedAdUnit?`${t.DfpPrefix}_INTEXT`:n<10?`${this._dfpAdunit}0${n}`:`${this._dfpAdunit}${n}`}insertPosition(n,t){n.tagName==="BR"?n.insertAdjacentHTML("afterend",t):this._intext.Position=="Before"?n.insertAdjacentHTML("beforebegin",t):this._intext.Position=="InsideBefore"?n.insertAdjacentHTML("aferbegin",t):this._intext.Position=="InsideAfter"?n.insertAdjacentHTML("beforeend",t):n.insertAdjacentHTML("afterend",t);n.setAttribute("data-fetch",!0)}createHtmlDivPremium(n,i=false,r=1){let u=[];this._intext.MobileSizes&&this._intext.MobileSizes.forEach(function(n){u.push(n)});let f=[];this._intext.DesktopSizes&&this._intext.DesktopSizes.forEach(function(n){f.push(n)});i&&r>1&&(u.length&&(u=u.filter(n=>n[0]<=336&&n[0]>2)),f.length&&(f=f.filter(n=>n[0]<=336&&n[0]>2)));let s=`<div data-premium `;t.dominio==="campograndenews.com.br"&&n=="DM_INTEXT_01"&&(n=t.device==="desktop"?"Video_Out_Stream_Desktop":"Video_Out_Stream_Mobile",u.length&&(u.push([320,180]),u.push([1,1])),f.length&&(f.push([640,360]),f.push([1,1])));let e="";u.length&&(e=JSON.stringify(u));let o="";return f.length&&(o=JSON.stringify(f)),s+` data-adunit="${n}"data-sizes-mobile="${e}"data-sizes-desktop="${o}"data-type='intext'></div>`}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}});t.HasInFeed=!0;t.ElementsInFeed=[];t.InFeedJson={General:null,Feed:[{Title:null,ContainerSelector:"#main",FeedItemSelector:"#news",Multiply:1,FixedInsert:0,Skip:0,DesktopSizes:[[970,250],[970,90],[728,90]],MobileSizes:null,Obs:null},{Title:null,ContainerSelector:"main",FeedItemSelector:".news",Multiply:0,FixedInsert:5,Skip:0,DesktopSizes:null,MobileSizes:[[336,280],[300,250]],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;try{this.load()}catch(n){}}load(){let n=this._infeeds&&this._infeeds.length&&this._infeeds[0].FeedItemSelector;t.isValidUrl()&&t.HasInFeed&&n&&(t.Reward&&t.Reward.enabled(),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){}})}setDOMObserve(){this._general&&this._general[0]&&this._general[0].DOMObserve&&(this.DOMObserve=this._general[0].DOMObserve)}searchAndSetupItemsToInsertAds(n,t){try{let i=n.querySelectorAll(`${t.FeedItemSelector}:not([pp-infeed])`);if(!i||!i.length)return;i.forEach(n=>{this.setupItemToInsertAds(n,t)});this.observer(n,t)}catch(i){}}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)}`,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.AdsenseAdunitId="";t.AdsensePublisherId="";t.UsingPublisherAdManager=!1;t.BloqueadoGoogle=!1;t.VastTAG="https://pubads.g.doubleclick.net/gampad/ads?iu=/75894840,22024606931/GAZETA_DO_CERRADO_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=5.39;t.EUR=5.43;t.Analytics=!1;t.AvantisId="3";t.OutstreamUrls=[{bidder:"Avantis",params:{Key:80,Url:"'https://cdn.avantisvideo.com/avm/js/video-loader.js?id=645b490f-24f2-429d-a04c-d266868eea7c&tagId=3&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()}setUri(){if(t.VastTAG+=`${t.debug?"&adtest=on":""}&description_url=${encodeURIComponent(n.location.href)}`,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}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};t.corev4style={id:"ppads-style-202210212944",content:'<style id="ppads-style-202210212944">[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-slider.pp-video-open{display:block}.pp-slider .pp-video-container{position:relative;background-color:rgba(0,0,0,.1)}.pp-slider .pp-video-container .pp-video-close{cursor:pointer;position:absolute;right:0;height:20px;width:20px;border-radius:50%;box-shadow:1px 1px 2px rgb(0 0 0/31%);top:-20px;background-color:#19285e}.pp-slider .pp-video-container .pp-video-close span{background-image:url(https://tags.premiumads.com.br/Content/p_icons_3.png);background-size:80px;background-repeat:no-repeat;background-position:-47px 0;width:14px;height:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pp-mobile .anchorFooter.openAnchor div#cookie-notice{bottom:129px;transition:all 1s ease-in-out}[data-adunit="GAZETA_DO_CERRADO_INTEXT_01"]{margin:30px 0}[data-adunit="GAZETA_DO_CERRADO_INTEXT_01"]:before{content:"PUBLICIDADE";display:block;white-space:nowrap;position:absolute;background-color:#fff;font-size:10px;letter-spacing:1px;color:#555;top:-20px;left:50%;transform:translateX(-50%);padding:0 10px;line-height:normal}<\/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);n.addEventListener("pp-anchor-opened",()=>{this.setScrolled(),this.updateYOffset()},!1);n.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,"right");break;case"left":this.keyframes(0,0,0,t);this.element.classList.add(i,"left");break;case"top-right":this.keyframes(r,t,0,0);this.element.classList.add(i,"right");break;case"bottom-right":this.keyframes(0,t,u,0);this.element.classList.add(i,"right");break;case"top-left":this.keyframes(r,0,0,t);this.element.classList.add(i,"left");break;case"bottom-left":default:this.keyframes(0,0,u,t);this.element.classList.add(i,"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.left { left:${r||0} }`;u+=`#${this.element.id}.pp-slider.right { right:${t||0} }`;u+=`#${this.element.id}.pp-slider.animation.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.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.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.loadStyle_v2=n=>{try{const i=t.styleInit(n);if(!i)return;n.target.appendChild(i)}catch(i){}};t.loadScript_v2=n=>{try{const i=t.scriptInit(n);if(!i)return;n.target.appendChild(i)}catch(i){}};t.PremiumLazyLoad=t.HasPremiumLazyLoad;t.PbjsUrl=`${t.tagurl}/scripts/pbjs-min.js?v=20220910`;t.schain={ver:"1.0",complete:1,nodes:[{asi:"premiumads.com.br",sid:t.partnerid,hp: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(t){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.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)},5e3),t.afterLoadAllFormatsCallDisplay()};t.formats={outstreamInText:null};t.loadAllFormats=()=>{t.setCustomScripts();n.frameElement&&(t.HasFlex=t.HasAnchor=t.HasPosPopup=t.HasReward=!1);t.PremiumGlobal&&new t.PremiumGlobal;t.HasInText&&t.PremiumIntext&&new t.PremiumIntext;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();let i=0;const r=setInterval(()=>{const n=document.querySelectorAll("[data-premium]");if(!t.performanceFirstSlotOnLoadEnded&&n&&n.length&&i<3){i++;return}clearInterval(r);t.formats.outstreamInText&&t.formats.outstreamInText.destroy();t.HasOutstream&&t.OutstreamJson&&t.OutstreamJson.Items&&t.OutstreamJson.Items.length&&t.PremiumOutstream&&(t.formats.outstreamInText=new t.PremiumOutstream,t.PassbackTeads=function(){t.formats.outstreamInText.loadPlayer()});t.HasInStream&&t.PremiumInstream&&new t.PremiumInstream;t.loadOutStreamSlider&&t.loadOutStreamSlider();t.HasRadioAd&&t.RadioAd&&new t.RadioAd;t.performanceFirstSlotOnLoadEnded=n&&n.length?!0:!1},5e3)};t.afterLoadAllFormatsCallDisplay=()=>{t.display()};t.log=function(){t.debug};t.logv2=function(){!t.debug};t.logerror=function(){!(t.debug||t.isLocal)};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=()=>{t.HasOutstreamSlider&&(t.OutstreamSlider||(t.OutstreamSlider=new t.PremiumOutstreamSlider),t.OutstreamSlider)&&(t.OutstreamSlider.setup(),t.OutstreamSlider.ready)&&(t.OutstreamSliderAlways||!t.HasAnchor?t.OutstreamSlider.loadScript():t.OutstreamSliderAlways?t.HasAnchor||t.OutstreamSlider.loadScript():t.OutstreamSlider.loadScript())};t.requestAds=function(n,r=false,u=false){n.forEach(n=>{n.clearTargeting(),n.loaded=!1,r&&(n.refresh=!0,n.count++),t.setTargeting(n,u)});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.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.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&&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){}}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.DisplaySlot=n=>{const u=[];for(var i=0;i<n.length;i++){let f=n[i];t.slots.hasOwnProperty(f.code)&&r.destroySlots([t.slots[f.code]]);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)}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||t.bidders[o]&&t.bidders[o].length&&(r=r.concat(t.bidders[o])),!isNaN(e))break}return t.sizesIsOnly1x1(u)||(r=r.concat(t.getBidders("size_sizeless"))),{sizes:u,bids:r}};t.DisplayAdUnit=i=>{const r=[];if(i.elements&&i.elements.length){for(let u=0;u<i.elements.length;u++){let f=i.elements[u];if(n.ppAdsTestInstance&&!n.ppAdsTestInstance.expiry()&&n.ppAdsTestInstance.abtest&&n.ppAdsTestInstance.abtest.config&&n.ppAdsTestInstance.abtest.config.slots&&!n.ppAdsTestInstance.abtest.exists(f.id)){document.querySelector(`#${f.id}`).closest("[data-premium]").remove();return}let c=f.getAttribute("data-type");if((i.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{o=JSON.parse(f.getAttribute("data-sizes"))||JSON.parse(f.getAttribute("data-sizes-"+t.device))||[]}catch(d){}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 k={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}})};r.push(k)}}}}return r}};t.DisplayTarget=()=>{r.pubads().setTargeting("url",t.dominio),t.isIframe&&r.pubads().set("page_url",t.dominio),t.categoria&&(r.pubads().setTargeting("categoria",t.categoria),t.subcategoria&&r.pubads().setTargeting("subcategoria",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}),t.PremiumLazyLoad||r.pubads().enableLazyLoad({fetchMarginPercent:t.PremiumLazyLoadViewport*100,renderMarginPercent:t.PremiumLazyLoadViewport*50,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.DisplaySlotRenderEnded=()=>{t.googletagEventListeners.que.slotRenderEnded.push(r=>{const u=document.getElementById(r.slot.getSlotElementId());if(r.isEmpty){if(r.slot.refresh)return;if(u.dataset.type==="flex"||u.dataset.type==="anchor"||u.dataset.type==="slider")t.refresh(r.slot,5e3,!0);else if(u.clientHeight>2){let n=document.createElement("iframe");n.width=u.clientWidth;n.height=u.clientHeight;n.marginWidth=0;n.marginHeight=0;n.frameBorder=0;n.scrolling="no";let r=u.querySelector("[id^='google_ads_iframe_']");r?(r.style.height="auto",r.style.width="auto",r.appendChild(n)):u.appendChild(n);let f=n.contentWindow.document;if(i&&i.getBidResponsesForAdUnitCode){let r=i.getBidResponsesForAdUnitCode(u.id);if(r.bids&&r.bids.length){let t=r.bids[0];if(t.mediaType!="banner")return;t.width>2&&t.height>2&&(n.width=t.width,n.height=t.height);i.renderAd(f,t.adId)}else if(!t.DisablePassback&&u.clientHeight>=240){let n=`<div style="text-align: center"><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=premiumads-20&marketplace=amazon&region=BR&placement=B08KGWJDRZ&asins=B08KGWJDRZ&linkId=b42d8e9f9ddfb0c7b4568affdba16e13&show_border=true&link_opens_in_new_window=true"></iframe><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=premiumads-20&marketplace=amazon&region=BR&placement=B085WTR4CP&asins=B085WTR4CP&linkId=d476c12a7fd3db710af461813648f442&show_border=true&link_opens_in_new_window=true"></iframe>`;u.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=premiumads-20&marketplace=amazon&region=BR&placement=B07JQSL9RW&asins=B07JQSL9RW&linkId=e3373df5307cefccb08851996d282dd4&show_border=true&link_opens_in_new_window=true"></iframe>`);u.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=premiumads-20&marketplace=amazon&region=BR&placement=B07RK58K76&asins=B07RK58K76&linkId=6bf027e142c89c7cda900b1c452241be&show_border=true&link_opens_in_new_window=true"></iframe>`);u.clientWidth>=600&&(n+=``);n+=`</div>`;f.write(n);f.close()}}}}else{r.slot.size=r.size;var f=parseInt(r.size[0]),e=parseInt(r.size[1]);if(f===1&&e===1){let n=r.slot.getTargetingMap();if(n){let t;try{n.hasOwnProperty("amznsz")?t=n.amznsz[0].split("x"):n.hasOwnProperty("hb_size")&&n.hb_size[0].indexOf("x")>0&&(t=n.hb_size[0].split("x"));t&&(f=parseInt(t[0]),e=parseInt(t[1]),r.slot.size=[f,e])}catch(i){}}}if(f>1&&e>1&&u.hasAttribute("data-anchor")){let n=document.getElementById("ppBoxAnchor");n&&n.setAttribute("loaded","true")}}if(t.performanceFirstSlotRenderEnded||(t.performanceFirstSlotRenderEnded=!0),!r.isEmpty&&u.hasAttribute("data-type")){const i=new CustomEvent(t.DisplaySlotRenderEndedEventKey,{detail:{element:u,type:u.getAttribute("data-type")}});n.dispatchEvent(i)}})};t.display=function(n){if(n||!t.Reward||!t.Reward.enabled()){t.DisplaySetID();const i=t.DisplayLazyLoad();if(i&&i.length!==0){const u=t.DisplayAdUnit({lazy:n,elements:i});let f=[];u.length!==0&&(r.cmd.push(function(){(f=t.DisplaySlot(u),t.pubadsReady)||(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(f)}))}}};t.setNaveggTargeting=function(){try{let t,i,u=JSON.parse(n.localStorage.getItem("nvgpersona46575"));for(i in u)t="nvg_"+i,t=t.substring(0,10),r.pubads().setTargeting(t,u[i])}catch(t){}};t.apstagInit=function(){t.switches.apstag&&!t.apstagready&&(t.apstagready=!0,apstag.init({pubID:"331fbd2e-ff5e-4e7c-9de6-7c2166bce7b7",adServer:"googletag",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;let i=n.map(n=>({slotID:n.adunit.code,slotName:n.adunit.path,sizes:n.adunit.dfpSizes}));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.googletagRefresh=function(){if(t.HasRefresh){const n=(t.RefreshTime||30)*1e3,i=60,r=function(n,r,u){if(n&&!n.refreshPending&&n.ppads&&n.adunit&&!t.sizesIsOnly1x1(n.sizes)){let f=function(n){n&&((n.refreshPending=!1,n.inViewPercentage<i)||(n.viewedAt=null,t.requestAds([n],!0)))};r=="impressionViewable"?(n.refreshPending=!0,setTimeout(()=>{f(n)},u)):n.viewedAt&&n.viewedAt+u<Date.now()&&f(n)}};t.googletagEventListeners.que.impressionViewable.push(t=>{t.slot.viewedAt=Date.now(),r(t.slot,"impressionViewable",n)});t.googletagEventListeners.que.slotVisibilityChanged.push(t=>{(t.slot.inViewPercentage=t.inViewPercentage,t.inViewPercentage<i)||r(t.slot,"slotVisibilityChanged",n)})}};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.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){if(!n||!n.slot)return!1;const t=document.getElementById(n.slot.getSlotElementId());return t?t&&t.hasAttribute("data-premium"):!1}onImpressionViewable(){r.pubads().addEventListener("impressionViewable",n=>{if(this.hasDataPremium(n))for(let t=0;t<this.que.impressionViewable.length;++t)this.que.impressionViewable[t](n)})}onSlotRenderEnded(){r.pubads().addEventListener("slotRenderEnded",n=>{if(this.hasDataPremium(n))for(let t=0;t<this.que.slotRenderEnded.length;++t)this.que.slotRenderEnded[t](n)})}onSlotOnload(){r.pubads().addEventListener("slotOnload",n=>{if(this.hasDataPremium(n))for(let t=0;t<this.que.slotOnload.length;++t)this.que.slotOnload[t](n)})}onSlotVisibilityChanged(){r.pubads().addEventListener("slotVisibilityChanged",n=>{if(this.hasDataPremium(n))for(let t=0;t<this.que.slotVisibilityChanged.length;++t)this.que.slotVisibilityChanged[t](n)})}});t.PremiumUri&&(t.Uri=new t.PremiumUri);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:{all:{bidders:"*",filter:"include"}},syncsPerBidder:10,userIds:[{name:"criteo"},{...t.pbjsUserIds.identityLink},{name:"naveggId"},]},priceGranularity:{buckets:[{precision:2,max:45,increment:.01}]},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};r.currency={adServerCurrency:t.UsingPublisherAdManager?"BRL":"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={projectagora:{bidCpmAdjustment:function(n){return n*.75}},oftmedia:{bidCpmAdjustment:function(n){return n*.8}},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.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 i=(n,t)=>(n=[...n].sort(),t=[...t].sort(),t.find((t,i)=>t!==n[i]));let n=location.href;new MutationObserver(()=>document.debounce(()=>{const r=location.href;if(r!==n){const u=i(n,r);if(t.InFeed&&u&&u.length===1){t.afterLoadAllFormatsCallDisplay();return}n=r;t.loadAndDisplayFormats()}},1e3)).observe(document,{subtree:!0,childList:!0})}catch(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}})(window,_ppads||{},window._pbjs||{},window.googletag||{})