"use strict";var{_ppads,_pbjs,googletag,adsbygoogle}=((n,t,i,r,u)=>{function e(){const n=[];if(typeof t.RewardBidder=="function"){const i=t.RewardBidder();i&&n.push(i)}if(typeof t.adsInterstitial=="function"){const i=t.adsInterstitial();i&&n.push(i)}return n.length===0?null:n[Math.floor(Math.random()*n.length)]}function o(t,i,r="tagId"){const u=Math.round(n.scrollY/n.innerHeight)+1;t.forEach(n=>{const t=n.code;n.bids.forEach(n=>{n.bidder===i&&(n.params[r]=`${t}_Viewport_${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.performanceOnStart=performance.now();t.performanceFirstSlotRenderEnded=!1;t.performanceFirstSlotOnLoadEnded=!1;t.current_outstream_id=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.isIframe=n.frameElement&&n.frameElement.clientHeight<=400;t.rand=Math.floor(Math.random()*100);t.slots={};t.currentUrl=n.location.origin+n.location.pathname;t.executeParallelAuctionAlongsidePrebid={requestManager:{aps:!1,prebid:!1}};t.document=document;t.formats={outstreamInText:null};t.logFirstSlotRender=()=>{try{t.performanceFirstSlotRenderEnded=!0;const n=performance.now()-t.performanceOnStart;t.LogDispatcher.info("First slot rendered",{component:"Core",sendOnce:!0,logKey:"first-slot-rendered",elapsed:n.toFixed(2)})}catch(n){t.LogDispatcher.error("Core failed during logFirstSlotRender execution",{component:"Core",error:n})}};t.logFirstSlotOnLoad=()=>{try{t.performanceFirstSlotOnLoadEnded=!0;const n=performance.now()-t.performanceOnStart;t.LogDispatcher.info("First slot on load rendered",{component:"Core",sendOnce:!0,logKey:"first-slot-on-load-rendered",elapsed:n.toFixed(2)})}catch(n){t.LogDispatcher.error("Core failed during logFirstSlotOnLoad execution",{component:"Core",error:n})}};t.pbjsUserIds={identityLink:{}};t.deepMergeObjects=function(n,i){for(let r in i)i.hasOwnProperty(r)&&(i[r]&&typeof i[r]=="object"&&!Array.isArray(i[r])?(n[r]||(n[r]={}),t.deepMergeObjects(n[r],i[r])):n[r]=i[r]);return n};t.isGptPresent=()=>{for(var f,u=document.getElementsByTagName("script"),i=0;i<u.length;i++)if(f=u[i].getAttribute("src")||"",f.indexOf(t.GPT_SRC)>-1)return!0;return n.googletag&&(n.googletag.apiReady||n.googletag.pubads&&typeof n.googletag.pubads=="function")?!0:n.googletag&&r._loaded_?!0:!1};t.getParameterByName=i=>{try{i=i.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");const r=new RegExp("[\\?&]"+i+"=([^&#]*)"),t=r.exec(n.location.search);return t===null?null:decodeURIComponent(t[1].replace(/\+/g," "))}catch(r){return t.LogDispatcher.error("Core failed during getParameterByName execution",{component:"Core",name:i,error:r}),null}};t.stringIsEmpty=function(n){return!n||!n.length};t.parseBool=function(n){return n==="true"};t.hasChild=function(n){return n&&n.hasChildNodes&&n.hasChildNodes()?[...n.childNodes].find(n=>n.innerHTML&&n.innerHTML.length):undefined};t.hasChildAd=function(n){return n&&n.hasChildNodes&&n.hasChildNodes()?[...n.childNodes].find(n=>n.innerHTML&&n.innerHTML.length&&t.hasDataPremiumAds(n)):undefined};t.hasDataPremiumAds=function(n){if(!n||!n.hasAttribute)return!1;if(n.hasAttribute("data-premium"))return!0;const t=n.firstElementChild;return!!(t&&t.hasAttribute&&t.hasAttribute("data-premium"))};t.prevElementIsAd=function(n){return n?t.hasDataPremiumAds(n.previousElementSibling):!1};t.nextElementIsAd=function(n){return n?t.hasDataPremiumAds(n.nextElementSibling):!1};t.createElementFromString=function(n){const t=new DOMParser,i=t.parseFromString(n,"text/html");return i.body.firstChild};t.getElementByClassName=function(n,t){const i=n.getElementsByClassName(t);return i&&i[0]?i[0]:undefined};t.sanitizeUndefinedString=function(n){return n&&n!=="undefined"?n:undefined};t.distinctArrayOfString=function(n){return n.filter((n,t,i)=>i.indexOf(n)===t)};t.distinctArrayOfObject=function(n,t){return[...new Map(n.map(n=>[n[t],n])).values()].filter(n=>n)};t.isHomePage=function(){return document&&document.location&&document.location.host&&(!document.location.pathname||document.location.pathname.length<=1)};t.debounce=function(n,t){clearTimeout(n._tId);n._tId=setTimeout(()=>n(),t)};t.throttle=(n,t)=>{let i=Date.now();return(...r)=>{i+t-Date.now()<0&&(n(r),i=Date.now())}};t.observer=(n,i)=>{const r=n=>{n.type&&n.addedNodes&&n.addedNodes.length&&n.type==="childList"&&setTimeout(()=>i(),1e3)};new MutationObserver(t.throttle(n=>{for(let t of n){if(Array.isArray(t)){const n=t.flat(Infinity);for(let t=0;t<n.length;++t)r(n[t]);continue}r(t)}},1500)).observe(n,{attributes:!1,childList:!0,subtree:!0})};t.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.numberRoundDown=(n,t)=>{const i=Math.pow(10,t);return parseFloat((Math.floor(n*i)/i).toFixed(3))};t.SelectorHelper=(class{constructor(n=[]){this.exclusionRules=n}buildSelector(n){if(!this.exclusionRules.length)return n;const t=this.exclusionRules.join(""),i=n.split(/(\s*[>+~]\s*|\s+)/),r=i.map(n=>/^\s*[>+~]\s*$/.test(n)||/^\s*$/.test(n)?n:this.exclusionRules.some(t=>n.includes(t))?n:n+t);return r.join("")}safeQuerySelectorAll(n){const i=this.buildSelector(n);try{return[...new Set(document.querySelectorAll(i))]}catch(r){try{document.querySelector(n);t.logerror("SelectorHelper","Append failure",r);t.LogDispatcher.error("Core failed during Append execution",{component:"Core",userSelector:n,fullSelector:i,error:r})}catch(u){t.logerror("SelectorHelper","Invalid user selector",u);t.LogDispatcher.error("Core failed due to invalid selector",{component:"Core",userSelector:n,error:u})}return[]}}static supportsHasSelector(){try{return document.querySelector(":has(*)"),!0}catch{return!1}}});t.setStorage=function(n,t){localStorage.setItem(`_ppads_${n}`,t)};t.getStorage=function(n){return localStorage.getItem(`_ppads_${n}`)};t.waitForVar=(n,i,r,u)=>{r=r||50;u=u||5e3;const e=new Function("try { return typeof "+n+' !== "undefined" ? '+n+" : void 0; }catch(e){ return void 0; }");let o=0;const f=setInterval(()=>{var s=e();s!==void 0?(clearInterval(f),i(s)):(o+=r)>=u&&(clearInterval(f),t.LogDispatcher.warn("Timeout waiting for: "+n),i(s))},r)};t.YandexLogo=n=>{const u=JSON.parse(n.getAttribute(`data-sizes-${t.device}`)),i="https://static.premiumads.com.br/yandex",f={"240x400":[`${i}/with-logo/240x400.webp`,`${i}/with-logo/240x400_1.webp`,`${i}/with-logo/240x400_2.webp`,`${i}/with-logo/240x400_3.webp`,`${i}/without-logo/240x400_.webp`,`${i}/without-logo/240x400_1.webp`,`${i}/without-logo/240x400_2.webp`,],"300x500":[`${i}/with-logo/300x500.webp`,`${i}/with-logo/300x500_1.webp`,`${i}/with-logo/300x500_2.webp`,`${i}/with-logo/300x500_3.webp`,`${i}/without-logo/300x500.webp`,`${i}/without-logo/300x500_1.webp`,`${i}/without-logo/300x500_2.webp`,],"300x250":[`${i}/with-logo/300x250.webp`,`${i}/with-logo/300x250_1.webp`,`${i}/with-logo/300x250_2.webp`,`${i}/with-logo/300x250_3.webp`,`${i}/without-logo/300x250.webp`,`${i}/without-logo/300x250_1.webp`,`${i}/without-logo/300x250_2.webp`,`${i}/without-logo/300x250_3.webp`,],"336x280":[`${i}/with-logo/336x280.webp`,`${i}/with-logo/336x280_1.webp`,`${i}/with-logo/336x280_2.webp`,`${i}/with-logo/336x280_3.webp`,`${i}/without-logo/336x280.webp`,`${i}/without-logo/336x280_1.webp`,`${i}/without-logo/336x280_2.webp`,`${i}/without-logo/336x280_3.webp`,],"728x90":[`${i}/with-logo/728x90.webp`,`${i}/with-logo/728x90_1.webp`,`${i}/with-logo/728x90_2.webp`,`${i}/with-logo/728x90_3.webp`,`${i}/without-logo/728x90.webp`,`${i}/without-logo/728x90_1.webp`,`${i}/without-logo/728x90_2.webp`,],"970x250":[`${i}/with-logo/970x250.webp`,`${i}/with-logo/970x250_1.webp`,`${i}/with-logo/970x250_2.webp`,`${i}/with-logo/970x250_3.webp`,`${i}/without-logo/970x250.webp`,`${i}/without-logo/970x250_1.webp`,`${i}/without-logo/970x250_2.webp`,]};let r="";for(let n=0;n<u.length;n++)if(r=Object.keys(f).find(t=>t===`${u[n][0]}x${u[n][1]}`),r)break;if(!r||!r.length)return"";const e=f[r],o=Math.floor(Math.random()*e.length);return`<div><a href="${"https://yandex.com/games?utm_source=distrib&utm_medium=comino-premiumads&clid=4106960"}"><img src="${e[o]}" alt="Find anything: webpages, images, music, good. Solve any problem — from everyday to a scientific one. Search by text, voice or image." /></a></div>`};t.pbjsGetHighestCpmBids=(n,t={})=>{let r=i.getHighestCpmBids(n);const u=n=>(n=n.filter(n=>n.cpm>0),n.sort((n,t)=>t.cpm-n.cpm),n);return r&&r.length?r:t&&t.hasOwnProperty(n)?u(t[n].bids):r};t.getStoredRequestORTB2Imp=function(n={}){const i={ext:{prebid:{storedrequest:{id:t.siteid}}}};return t.deepMergeObjects(i,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=()=>{try{var r=n.innerHeight;t.device=="desktop"&&t.categoria==="home"&&(t.loadScript("https://jsc.mgid.com/7/6/76.elalteno.com.bo.1595861.js"),t.loadScript("https://jsc.mgid.com/7/6/76.elalteno.com.bo.1600851.js"));t.device=="mobile"&&t.categoria==="home"&&(t.loadScript("https://jsc.mgid.com/7/6/76.elalteno.com.bo.1595863.js"),t.loadScript(" https://jsc.mgid.com/7/6/76.elalteno.com.bo.1600852.js"));t.device=="mobile"&&t.categoria!=="home"&&t.loadScript("https://jsc.mgid.com/7/6/76.elalteno.com.bo.1595864.js");try{t.addAnalyticsTeste=t=>{function r(){n.dataLayer.push(arguments)}var i=document.createElement("script");i.setAttribute("id","pp-script-analytics");i.type="text/javascript";i.src=`https://www.googletagmanager.com/gtag/js?id=${t}`;i.async=!0;(document.head||document.documentElement).appendChild(i);n.dataLayer=n.dataLayer||[];r("js",new Date);r("config",t)};t.addAnalyticsTeste("G-KSQPNJ2CKE")}catch(i){t.log("PREMIUM CUSTOM JS - ANALYTICS",i)}}catch(i){t.logerror("core","customScripts",i)}};t.environment="production";t.isLocal=!1;t.tagurl="https://tags.premiumads.com.br";t.tagurlQueryParams="";t.DefaultFloorPrice=.2;t.queryParamsHas=n=>location.search.indexOf(n)>=0||localStorage.hasOwnProperty(n)||t.tagurlQueryParams.indexOf(n)>=0||!1;t.debug=t.queryParamsHas("pp_debug");t.skipRefresh=t.queryParamsHas("ppads-skip-refresh");t.build="2025.10.13286.3";t.version="2025.10.13286.3+ba25775132df559cecf70b586208d68359056a73";t.versionCache="638962150912467228";t.dominio="elalteno.com.bo";t.siteid="c9545b44-b4df-4c25-f85a-08da637f3ad6";t.partnerid="bc988270-5107-4c81-f00d-08d99987a551";t.canonical="";t.urlLogo="";t.bidders={size_sizeless:[{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1641409,formatId:68014,target:""}},{bidder:"appnexus",params:{placementId:26801723,allowSmallerSizes:!0}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"triplelift",params:{inventoryCode:"PremiumAds_RON_Prebid"}}],size_outstream:[{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1641409,formatId:132698,target:""}},{bidder:"appnexus",params:{placementId:26801725,video:{minduration:1,maxduration:60,skippable:!0,playback_method:["auto_play_sound_off"],mimes:["video/mp4","application/javascript"]}}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}}],size_instream:[{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1641409,formatId:113995,target:""}},{bidder:"appnexus",params:{placementId:26801726,video:{minduration:1,maxduration:60,skippable:!0,playback_method:["auto_play_sound_off"],mimes:["video/mp4","application/javascript"]}}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}}]};t.bidderHandlers={smartadserver:n=>{n.params.target=`categoria=${t.categoria}`}};t.getBidders=n=>{if(!n||!t.bidders||!t.bidders[n])return[];t.onEachABTestInstance(1,n=>n.module.reload());return t.bidders[n].map(n=>{const i=t.bidderHandlers[n.bidder];return typeof i=="function"&&i(n),JSON.parse(JSON.stringify(n))})};t.urls=[];t.BlockUrlsJson=[{Title:"Elementor WP Plugin",Method:"Contains",Url:"elementor-preview=1",Block:"3",Format:"0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15",Device:"All",Order:0},{Title:"Beaver Builder WP Plugin",Method:"Contains",Url:"fl-builder-template",Block:"3",Format:"0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15",Device:"All",Order:0}];t.PolicyUrl=[];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.DfpPrefix="EL_ALTENO";t.DfpId="75894840,7634444";t.McmMI=!0;t.PrebidTimeout=2500;i.TIMEOUT=t.PrebidTimeout;i.MASTER_TIMEOUT=i.TIMEOUT+5e3;t.HasRefresh=t.skipRefresh?!1:!0;t.PrebidLazyLoad=!1;t.switches={prebid:!0,apstag:!0};t.HasPremiumLazyLoad=!0;t.PremiumLazyLoadViewport=1;t.PremiumLazyLoadMobileScale=2;t.googleTagTargets={};t.adUnitsViewabilityBooster=[];t.HasSticky=!1;t.JsonSticky=[];t.HasCustomAd=!1;t.HasReward=!1;t.RewardBlockUrlsPopupJson={};t.RewardBlockUrlsJson=[];t.HasFlex=!1;t.GlobalConfigJson=[{Selector:".post-content .field--type-text-with-summary p",Multiply:.5,EachParagraph:0}];const f={ARTICLE_WRAP:"pp-article-wrap",PARAGRAPH_EACH:"pp-each",PARAGRAPH_INTEXT:"pp-intext",PARAGRAPH_ON_EACH:"pp-on-each",PARAGRAPH_OUTSTREAM:"pp-outstream",PARAGRAPH_VALID:"ppad",VIEWPORT:"pp-viewport",LAST_PARAGRAPH:"pp-last-paragraph"};return t.GlobalElementAttributes=f,t.PremiumGlobal=(class{_paragraphFinder;_parentNodeProcessor;ps;static MIN_TEXT_LENGTH=30;static MAX_VIEWPORT_HEIGHT=700;constructor(){this._global=t.GlobalConfigJson;this._outstreams=t.OutstreamJson||{Items:[]};this._paragraphFinder=new t.GlobalParagraphFinder;this._parentNodeProcessor=new t.GlobalParentNodeProcessor;t.ParagraphProcessorInstance.setGlobal(this);this.load()}load(){this.setArticleWraps()}setArticleWraps(){this._global?.length&&this._global.filter(n=>n.Selector?.trim()).forEach(n=>this.forEachItem(n))}forEachItem(n){try{const i=n=>[...new Set([...document.querySelectorAll(`${n}:not([${f.ARTICLE_WRAP}])`)])];if(this.ps=this._paragraphFinder.findParagraphs(n.Selector,i),!this.ps?.length)return;this._parentNodeProcessor.processParentNodes(n,i,this.ps);t.ParagraphProcessorInstance.processParagraphs(n,this.ps)}catch(i){t.logerror("global","forEachItem",i);t.LogDispatcher.error("Global failed during forEachItem execution",{component:"Global",error:i})}}}),t.GlobalParagraphFinder=(class{findParagraphs(n,t){let i=t(`${n} p`);return i?.length||(i=t(n)),i}}),t.GlobalParentNodeProcessor=(class{processParentNodes(n,i){const u=Array.from(i(n.Selector));if(u.length){const r=new Set;u.forEach(t=>{let i=t.parentElement;while(i&&i!==document.body){const t=i.querySelectorAll(n.Selector).length;if(t>1&&!i.hasAttribute("data-fetch")){r.add(i);break}i=i.parentElement}n.EachParagraph&&!r.size&&r.add(t)});r.forEach(i=>{i.setAttribute(t.GlobalElementAttributes.ARTICLE_WRAP,n.Selector),i.setAttribute(t.GlobalElementAttributes.PARAGRAPH_EACH,Boolean(n.EachParagraph))})}}}),t.ParagraphProcessorScan=(class{constructor(n){this.host=n}configureViewportHeight(n){this.host.height_dobra=t.getViewPort().height;this.host.height_dobra>t.PremiumGlobal.MAX_VIEWPORT_HEIGHT&&(this.host.height_dobra=t.PremiumGlobal.MAX_VIEWPORT_HEIGHT);n.Multiply!==0&&(this.host.height_dobra=this.host.height_dobra*n.Multiply)}forEachItemSelector(n,t){if(n){if(this._isLineBreakTag(n))return this._forEachLineBreak(n,t);this._isMinTextLengh(n)&&(this.host.paragraph=n,this.host.paragraphClientHeight=this.host.paragraph.clientHeight,this._setParagraphDataAttribute(t))}}_forEachLineBreak(n,i){if(n.nextSibling&&n.nextSibling.nodeValue&&!(n.nextSibling.nodeValue.length<t.PremiumGlobal.MIN_TEXT_LENGTH)){const r=[100,130,160],u=Math.floor(Math.random()*r.length);this.host.paragraph=n;this.host.paragraphClientHeight=this.host.lineBreakCount?r[u]:0;this._setParagraphDataAttribute(i);this.host.lineBreakCount++}}_setParagraphDataAttribute(n){this.host.paragraphCount++;this.host.paragraph.setAttribute(t.GlobalElementAttributes.PARAGRAPH_VALID,!0);this.host.paragraph.setAttribute(t.GlobalElementAttributes.PARAGRAPH_ON_EACH,n);const i=t.getOffset(this.host.paragraph),r=i.top+this.host.paragraphClientHeight-this.host.text_init_position;r>=this.host.height_dobra&&(this.host.paragraph.setAttribute(t.GlobalElementAttributes.VIEWPORT,this.host.viewport),this.host.text_init_position=i.top+this.host.paragraphClientHeight,this.host.viewport++)}setLastParagraph(){this.host.paragraph&&(this.host.paragraph.setAttribute(t.GlobalElementAttributes.LAST_PARAGRAPH,"true"),this.host.viewport===1&&this.host.paragraph.setAttribute(t.GlobalElementAttributes.VIEWPORT,this.host.viewport))}_isLineBreakTag(n){return n.tagName&&n.tagName==="BR"&&n.parentNode.tagName!=="P"}_isMinTextLengh(n){return n.innerText!=null&&n.innerText.length>=t.PremiumGlobal.MIN_TEXT_LENGTH}}),t.ParagraphProcessorMark=(class{constructor(n){this.host=n}setAsInTextOrOutstream(n){try{if(!this._isMinTextLengh(n))return;const i=this.host._global._outstreams.Items.filter(n=>t.HasOutstream&&t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)),r=parseInt(n.getAttribute(t.GlobalElementAttributes.PARAGRAPH_ON_EACH),10),u=this._getEligibleParagraphs(r,this.host._global.ps);this._markParagraphsForAds(u,i)}catch(i){t.logerror("global","_setAsInTextOrOutstream",i);t.LogDispatcher.error("Global failed during _setAsInTextOrOutstream execution",{component:"Global",error:i})}}_getEligibleParagraphs(n,t){return n?[...t].filter((t,i)=>(i+1)%n==0):[...t]}_markParagraphsForAds(n,i){const r=this.host._global.ps;r.forEach((r,u)=>{const f=u+1,e=n.includes(r),o=i.find(n=>!n.ReplaceIntext&&n.FixedElement===f);o?r.setAttribute(t.GlobalElementAttributes.PARAGRAPH_OUTSTREAM,"true"):e&&r.setAttribute(t.GlobalElementAttributes.PARAGRAPH_INTEXT,"true")})}preChecks(n,i,r){return this.host._processedParagraphs.has(n)?!0:this._maybeMarkOutstream(n,i,r)?(this.host._processedParagraphs.add(n),this.host._intext._psCount++,!0):t.nextElementIsAd(n)?(this.host._processedParagraphs.add(n),this.host._intext._psCount++,!0):!1}_maybeMarkOutstream(n,t,i){if(!Array.isArray(i)||!i.length)return!1;const r=i.some(n=>n&&n.ReplaceIntext===!0&&t===(n.ReplacePosition|0));if(!r)return!1;try{n.setAttribute("pp-outstream","true");n.hasAttribute("pp-intext")&&n.removeAttribute("pp-intext")}catch(u){}return!0}_isMinTextLengh(n){return n&&n.innerText!=null&&n.innerText.length>=t.PremiumGlobal.MIN_TEXT_LENGTH}}),t.ParagraphProcessorInsert=(class{constructor(n){this.host=n}htmlInserts(n){if(this.host._intext&&this.host._adInserter&&this.host._intext._wrap){this.host._ps=[...this.host._intext._wrap.querySelectorAll(this.host._intext._psSelector)].filter(n=>n.hasAttribute("pp-intext")&&!n.hasAttribute("pp-outstream"));let r=null,i=0;if(t.device==="mobile"&&this.host._intext._intext.QtdeEndPostMobile&&(i=parseInt(this.host._intext._intext.QtdeEndPostMobile,10)||0),t.device==="desktop"&&this.host._intext._intext.QtdeEndPostDesktop&&(i=parseInt(this.host._intext._intext.QtdeEndPostDesktop,10)||0),this.host._intext.onEach=this.host._intext._wrap.getAttribute("pp-each")==="true",this.host._intext.onEach){this._whenInTextOnEach(n,r,i);return}this._whenInTextViewportDriven(n,r,i)}}_whenInTextOnEach(n,i,r){(i=this.host._ps.filter(n=>!n.hasAttribute(t.InText.LAST_PARAGRAPH)),i&&i.length)&&(i.forEach((t,i)=>this._forEachParagraphOnEach(t,i+1,n)),r>0&&this.host._adInserter?.insertTagAtLast&&this.host._adInserter.insertTagAtLast(r))}_whenInTextViewportDriven(n,i,r){(i=r>0?this.host._intext._wrap.querySelectorAll(`[pp-viewport]:not([${t.InText.LAST_PARAGRAPH}])`):this.host._intext._wrap.querySelectorAll("[pp-viewport]"),i&&i.length)&&([...i].forEach((t,i)=>this._forEachParagraph(t,i+1,r>0,n)),this.host._adInserter?.insertTagAtLast&&this.host._adInserter.insertTagAtLast(r),this.host._intext._psCount++)}_forEachParagraphOnEach(n,t,i){this.host.mark.preChecks(n,t,i)||(this.host._adInserter?.insertTagOnEach&&this.host._adInserter.insertTagOnEach(n,t),this.host._finalizeProcessed(n))}_forEachParagraph(n,i,r,u){if(!((this.host._intext._intext?.Skip|0)>=i)){const e=n.getAttribute("pp-viewport"),f=n.nextElementSibling,o=!!f&&f.hasAttribute&&f.hasAttribute(t.InText.LAST_PARAGRAPH);r&&o||e&&!o&&(this.host.mark.preChecks(n,i,u)||(this.host._adInserter?.insertTagOnViewport&&this.host._adInserter.insertTagOnViewport(parseInt(e,10),n),this.host._finalizeProcessed(n)))}}}),t.ParagraphProcessor=(class{_global;_intext;_adInserter;text_init_position=0;viewport=1;height_dobra=null;paragraphClientHeight=null;paragraphCount=0;lineBreakCount=0;paragraph=null;_processedParagraphs=new Set;_ps;scan;mark;insert;constructor(){this.scan=new t.ParagraphProcessorScan(this);this.mark=new t.ParagraphProcessorMark(this);this.insert=new t.ParagraphProcessorInsert(this)}setGlobal(n){this._global=n}setInText(n){this._intext=n}setAdInserter(n){this._adInserter=n}processParagraphs(n,t){n&&t&&t.forEach&&(this.scan.configureViewportHeight(n),this.text_init_position=0,this.viewport=1,t.forEach(t=>this.scan.forEachItemSelector(t,n.EachParagraph)),this.scan.setLastParagraph(),t.forEach(n=>this.mark.setAsInTextOrOutstream(n)))}htmlInserts(n){this.insert.htmlInserts(n)}_finalizeProcessed(n){this._processedParagraphs.add(n);this._intext._psCount++}}),t.ParagraphProcessorInstance=new t.ParagraphProcessor,t.HasOutstream=!1,t.HasOutstreamSlider=!1,t.playlist=[],t.HasInText=!0,t.InTextJson=[{Title:"INTEXT",Position:"After",QtdeViewport:1,Skip:0,QtdeEndPostDesktop:2,QtdeEndPostMobile:1,DesktopSizes:[[336,280],[300,250],[2,2]],MobileSizes:[[336,280],[300,250],[2,2]],Order:0}],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.InTextAdInserter=(class{_intext;_adUnitGenerator;constructor(n,t){this._intext=n;this._adUnitGenerator=t}insertTagOnViewport(n,i){let r=0;if(this._intext._intext.Skip>0&&(r=parseInt(this._intext._intext.Skip,10)),n>t.InText.LIMIT_ADUNIT_NUMBER&&(n=t.InText.LIMIT_ADUNIT_NUMBER),n>r){const u=this._adUnitGenerator.getIdAdUnit(n);let r=this._adUnitGenerator.createHtmlDivPremium(u);this._intext._intext.QtdeViewport===2&&t.device==="desktop"&&(r=`<div class='ppBoxIntexts'>${r}${r}</div>`);t.insertAdjacentHTML(i,this._intext._intext.Position,r)}}insertTagOnEach(n,i){n.hasAttribute("data-intext-processed")||(t.insertAdjacentHTML(n,this._intext._intext.Position,this._adUnitGenerator.createHtmlDivPremium(this._adUnitGenerator.getIdAdUnit(i))),n.setAttribute("data-intext-processed","true"))}insertTagAtLast(n){const r="ppBoxFinalMateria";let u=`<div id="${r}" ads="${n}">`;const i=this._intext._wrap.querySelector(`[${t.InText.LAST_PARAGRAPH}]`);if(i){const f=i.nextElementSibling;if(!f||f.id!==r){for(let i=1;i<=n;i++){const r=`${t.InText.DFP_PREFIX}_FINAL_MATERIA_${String(i).padStart(2,"0")}`;u+=this._adUnitGenerator.createHtmlDivPremium(r,!0,n);this._intext._psCount++}try{i.insertAdjacentHTML("afterend",u)}catch(e){t.logerror("intext","load",e);t.LogDispatcher.error("InText failed during insertTagAtLast execution",{component:"InText",error:e});return}}}}}),t.InTextAdUnitGenerator=(class{_intext;constructor(n){this._intext=n}getIdAdUnit(n){return t.IntextFixedAdUnit?`${t.InText.DFP_PREFIX}_INTEXT`:(n>t.InText.LIMIT_ADUNIT_NUMBER&&(n=t.InText.LIMIT_ADUNIT_NUMBER),n<10)?`${this._intext._dfpAdunit}${String(n).padStart(2,"0")}`:`${this._intext._dfpAdunit}${n}`}createHtmlDivPremium(n,i=false,r=1){let u=[];this._intext._intext.MobileSizes&&this._intext._intext.MobileSizes.forEach(function(n){u.push(n)});let f=[];if(this._intext._intext.DesktopSizes&&this._intext._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))),t.beforeCreateInTextElement){const i=t.beforeCreateInTextElement({idAdunit:n,mobileSizes:u,desktopSizes:f});n=i.idAdunit||n}let e="";u.length&&(e=JSON.stringify(u));let o="";f.length&&(o=JSON.stringify(f));let s=`<div data-premium `;return s+` data-adunit="${n}"data-sizes-mobile="${e}"data-sizes-desktop="${o}"data-type="intext"data-count="${this._intext._psCount}"id="${t.idGenerator("pads_intext")}"></div>`}}),t.InText=(class{_cycle;_dfpAdunit;_psCount;_psSelector;_styles;_intext;_wrap;onEach;_adInserter;_adUnitGenerator;_paragraphSelector;static LAST_PARAGRAPH="pp-last-paragraph";static LIMIT_ADUNIT_NUMBER=15;static DFP_PREFIX=t.DfpPrefix;constructor(n=1){this._cycle=n;this._dfpAdunit=`${t.InText.DFP_PREFIX}_INTEXT_`;this._psCount=1;this._psSelector='[ppad="true"]:not([data-fetch="true"])';this._styles=t.InTextStyle;this._intexts=t.InTextJson;this._outstreams=t.OutstreamJson||{Items:[]};this._outstreams.Items=this._outstreams.Items.filter(n=>t.HasOutstream&&t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes));this._adUnitGenerator=new t.InTextAdUnitGenerator(this);this._adInserter=new t.InTextAdInserter(this,this._adUnitGenerator);this._paragraphSelector=new t.InTextParagraphSelector(this);t.ParagraphProcessorInstance.setInText(this);t.ParagraphProcessorInstance.setAdInserter(this._adInserter);this._cycle===1&&this.styles();this.reload()}reload(){this._wrap=undefined;this.onEach=!1;const n=this._intexts&&this._intexts.length;t.isValidUrl()&&t.HasInText&&n&&this.load()}load(){this._intexts.forEach(n=>this.forEachItem(n,this._outstreams.Items))}forEachItem(n,i){if(t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)){const r=[...document.querySelectorAll("[pp-article-wrap]:not([data-fetch])")];(this._intext=n,this._intext)&&r.forEach(n=>this.forEachParent(n,i))}}forEachParent(n,i){try{if(this._wrap=n,!this._wrap)return;t.ParagraphProcessorInstance.htmlInserts(i);this._wrap.setAttribute("data-fetch",!0)}catch(r){t.logerror("intext","load",r);t.LogDispatcher.error("InText failed during forEachParent execution",{component:"InText",error:r})}}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}}),t.InTextParagraphSelector=(class{_intext;constructor(n){this._intext=n}}),t.HasInImage=!1,t.HasInFeed=!1,t.elements={},t.VastTAG="https://pubads.g.doubleclick.net/gampad/ads?iu=/75894840,7634444/EL_ALTENO_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.USD=5.45,t.EUR=6.35,t.HasTaboola=!1,t.TaboolaElements=[],t.TaboolaName="",t.TaboolaLazyload=!1,t.HasMgid=!0,t.MgidElements=[{Id:"00000000-0000-0000-0000-000000000000",Container:"#page-main-content",Mode:"InsideAfter",Placement:"1595862",TargetType:"mgid",Status:0,SiteId:"00000000-0000-0000-0000-000000000000"}],t.MgidId="946624",t.MgIdLazyload=!1,t.NaveggId=46575,t.HasAnchor=!0,t.AnchorJson={FloorPrice:{Desktop:.3,Mobile:.3,Version:"v3"},Items:[{Title:"ANCHOR",Selector:null,Position:"Footer",Cap:0,Refresh:30,HasCloseButton:1,BackgroundColorCloseButton:null,BackgroundColor:null,DesktopWidth:"Ad",DesktopSizes:[[970,90],[728,90]],MobileSizes:[[320,100],[320,50]],Device:"All",Order:0}],Version:"v3"},t.PremiumAnchorPositions=[],t.PremiumAnchorOpenedEvent=new Event("pp-anchor-opened"),t.PremiumAnchorClosedEvent=new Event("pp-anchor-closed"),t.PremiumAnchor=(class{constructor(){this.mainElementId=t.idGenerator("ppBoxAnchor");this.closeElementId="closingppAnchor";this.openClass="openAnchor";this.items=(t.AnchorJson.Items||[]).filter(n=>n.Position&&n.Position.length).filter(n=>n.Device&&n.Device.length&&(n.Device.toLowerCase()===t.device||n.Device.toLowerCase()==="all"));this.reload()}hasIt(){return t.isValidUrl()&&t.HasAnchor&&t.AnchorJson&&this.items&&this.items.length||this.getElement()&&!this.isOpen()}addEvents(){this.hasIt()&&n.addEventListener(t.DisplaySlotRenderEndedEventKey,n=>this.eventDisplaySlotRenderEndedCallback(n),!1)}eventDisplaySlotRenderEndedCallback(n){if(n.detail&&n.detail.type==="anchor"&&n.detail.element&&!t.hasReward()){const i=this.getElement();i&&i.setAttribute("loaded","true");this.expandAnchor()}}getElement(){return document.getElementById(this.mainElementId)}reload(){this.unload();this.load()}load(){this.hasIt()&&(this.styles(),t.AnchorPriceDesktop=t.formatFloor(t.AnchorJson.FloorPrice.Desktop),t.AnchorPriceMobile=t.formatFloor(t.AnchorJson.FloorPrice.Mobile),this.items.forEach(n=>this.forEachItem(n)),this.addEvents())}unload(){if(this.hasIt()){n.removeEventListener(t.DisplaySlotRenderEndedEventKey,this.eventDisplaySlotRenderEndedCallback);try{const n=document.querySelectorAll('[data-premium][data-type="anchor"]');if(!n||!n.length)return;for(let i=0;i<n.length;i++)t.googletagDestroySlot(n[i]),n[i].parentElement.remove()}catch(i){t.logerror("adsanchor","removeBeforeCreateAnchor",i);t.LogDispatcher.error("anchor unload",{component:"Anchor",error:i})}}}forEachItem(n){if(t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes))try{const i=n.Selector?document.querySelector(n.Selector):document.body;if(!i)return;i.insertAdjacentHTML("afterbegin",this.htmltag(n));this.addCloseEvent(n);t.PremiumAnchorPositions.includes(n.Position)||t.PremiumAnchorPositions.push(n.Position)}catch(i){t.logerror("anchor","load",i);t.LogDispatcher.error("anchor forEachItem",{component:"Anchor",error:i})}}expandAnchor(){document.body.setAttribute("scrolled","true");let n=this.getElement();n&&n.hasAttribute("loaded")&&(n=n.querySelectorAll(".ppAnchor")[0],n&&t.hasChild(n))&&this.open()}htmltag(n){let u=document.body,f=`${t.DfpPrefix}_HEADERSTICKY`,i=50;n.MobileSizes&&(n.MobileSizes.forEach(n=>i=n[1]>i?n[1]:i),u.classList.add(`ppAnchorMobileHeight${i}`));const e=n.BackgroundColor?`background-color: ${n.BackgroundColor}`:"",o=n.BackgroundColorCloseButton?`background-color: ${n.BackgroundColorCloseButton}`:"";let r=`<div id="${this.mainElementId}" class="ppBoxAnchor ppAnchor${n.Position}">`;return r+=`<div class="ppAnchorContainer ppAnchorWidth${n.DesktopWidth} ppAnchorHeight${i}">`,u.classList.add(`anchor${n.Position}`),n.HasCloseButton&&(r+=`<div id="${this.closeElementId}" class="ppAnchorClose" style="${o}"><span></span></div>`),r+`<div class="ppAnchor" style="${e}" 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></div>`}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${t.AnchorStyle}</style>`)}open(){let i=document.querySelector(".ppAnchorHeader"),r=document.querySelector(".ppAnchorFooter");r?document.body.classList.add("anchorFooter"):i&&document.body.classList.add("anchorHeader");document.body.classList.add(this.openClass);n.dispatchEvent(t.PremiumAnchorOpenedEvent)}isOpen(){return document.body.classList.contains(this.openClass)}addCloseEvent(n){if(n.HasCloseButton){const i=document.getElementById(this.closeElementId);i.addEventListener("click",()=>{this.remove(),t.LogDispatcher.info("Anchor closed successfully",{component:"Anchor",logKey:"anchor-closed"})})}}remove(){const i=this.getElement();i&&(document.body.classList.remove(this.openClass),n.dispatchEvent(t.PremiumAnchorClosedEvent),n.removeEventListener(t.DisplaySlotRenderEndedEventKey,this.eventDisplaySlotRenderEndedCallback),i.remove(),t.googletagDestroySlot(i))}}),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.searchForUrl=(n,t)=>{if(!n||!t)return!1;const i=t.replace("https://","").replace("http://","");return n.includes(i)},t.PremiumUri=(class{constructor(n){this._blockUrls=n||t.BlockUrlsJson;this.setUri()}getWindowLocation(){return n.location}getDocumentLocation(){return document.location}setURL1(){return this.url1=this.getWindowLocation().origin+this.getWindowLocation().pathname}setURL2(){return this.url2=this.getDocumentLocation().toString()}appendVastTag(){t.debug&&t.VastTagHelper.append("adtest","on");t.VastTagHelper.append("ad_type","video");t.VastTagHelper.append("description_url",encodeURIComponent(this.getWindowLocation().href))}setUri(){const n=this.getWindowLocation().pathname.replace(/\/?(\?|#|$)/,"/$1");if(this.parts=n.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){const t=n[n.length-1];return t.substring(0,40)}match(n){this.setURL1();this.setURL2();let i;const u=n.Url&&n.Url.trim(),r=(n.Display||n.Device||"all").toLowerCase(),f=r=="all"||t.device==r;return i=n.Method=="Contains"?this.url1.includes(n.Url)||this.url2.includes(n.Url):n.Method=="NotContains"?!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,u&&f&&i}matchAny(){return!this._blockUrls||!this._blockUrls.length?!1:this._blockUrls.find(n=>this.match(n))?!0:!1}checkUrlBlockManual(){const n=this._blockUrls;let t=!1;return n&&n.length&&n.forEach(n=>{if(this.match(n)){const i=n.Block.split(",");if(i.includes("2")){t=!0;return}}}),t}isValidUrl(n){let i=this._blockUrls,r=!0;return i&&i.length&&i.forEach(i=>{if(this.match(i)){const f=i.Block.split(",");if(f.includes("1")){r=!1;return}if(i.Format&&!n){const u=i.Format.split(",");u.includes("13")&&(t.HasAnchor=!1,t.AnchorJson={});u.includes("1")&&(t.HasInText=!1,t.InTextJson=[]);u.includes("5")&&(t.HasInFeed=!1,t.InFeedJson={});u.includes("4")&&(t.HasFlex=!1,t.FlexJson={});u.includes("0")&&(t.HasCustomAd=!1,t.CustomAdJson=[]);u.includes("2")&&(t.GlobalConfigJson=[]);u.includes("3")&&(t.HasSticky=!1,t.JsonSticky=[]);u.includes("6")&&(t.HasOutstream=!1,t.OutstreamJson={Items:[]});u.includes("7")&&(t.HasPosPopup=!1);u.includes("8")&&(t.HasOutstreamSlider=!1,t.OutstreamSliderJson={});u.includes("9")&&(t.HasInStream=!1);u.includes("10")&&(t.HasReward=!1,t.RewardBlockUrlsPopupJson={});u.includes("11")&&(t.HasNative=!1,t.NativeJson={});u.includes("12")&&(t.hasRadioAd=!1,t.RadioAdJson={});u.includes("14")&&(t.HasInImage=!1,t.InImageJson=[]);u.includes("15")&&(t.HasTaboola=!1,t.TaboolaElements=[],t.HasMgid=!1,t.MgidElements=[])}}}),r}}),(t=>{if(n.hasOwnProperty("apstag")){t.apstagready=!0;return}!function(n,t,i,r,u,f,e){function o(i,r){t[n]._Q=t[n]._Q||[];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")})(typeof t=="undefined"?{}:t),t.corev4style={id:"ppads-style-202510132863+ba25775132df559cecf70b586208d68359056a73",content:'<style id="ppads-style-202510132863+ba25775132df559cecf70b586208d68359056a73">[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}.ppBoxAnchor{position:fixed;display:flex;justify-content:center;align-items:center;text-align:center;z-index:2147483641}.ppBoxAnchor .ppAnchorContainer{position:relative;pointer-events:initial}.ppAnchor{border:15px solid transparent;background:#fff;box-shadow:-1px -1px 4px rgba(0,0,0,.2);display:flex;justify-content:center;align-items:center}.openAnchor .ppBoxAnchor{min-height:80px;min-width:320px;width:100%;transition:all 1s ease;pointer-events:none}.ppBoxAnchor .ppAnchorClose{background:#666;cursor:pointer;position:absolute;right:0;z-index:2;height:30px;width:30px;box-shadow:1px 1px 2px rgba(0,0,0,.31);display:none}.openAnchor .ppBoxAnchor .ppAnchorClose{display:block}.ppBoxAnchor .ppAnchorClose span{background:no-repeat url(https://tags.premiumads.com.br/Content/p_icons_3.png) -49px 0;background-size:83px;float:left;width:14px;height:14px;margin:8px}.ppBoxAnchor.ppAnchorHeader .ppAnchorClose{top:100%}.ppBoxAnchor.ppAnchorFooter .ppAnchorClose{bottom:100%}.ppBoxAnchor.ppAnchorHeader{transform:translateY(-100%);top:0}.ppBoxAnchor.ppAnchorFooter{transform:translateY(100%);bottom:0}.ppBoxAnchor .ppAnchorWidthFull .ppAnchor{flex:1}.openAnchor .ppBoxAnchor.ppAnchorHeader{animation:openAnchorHeader .7s both}.openAnchor .ppBoxAnchor.ppAnchorFooter{animation:openAnchorFooter .7s both}@keyframes openAnchorHeader{0%{transform:translateY(-100%)}100%{transform:translateY(0%)}}@keyframes openAnchorFooter{0%{transform:translateY(100%)}100%{transform:translateY(0%)}}.pp-mobile body.openAnchor.anchorHeader,.pp-desktop body.openAnchor.anchorHeader{margin-top:120px}.pp-mobile body.openAnchor.anchorFooter,.pp-desktop body.openAnchor.anchorFooter{margin-bottom:120px}.brid-temp-holder>img{display:none!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){if(t.scripts=t.scripts||[],t.scripts.indexOf(n.scriptSrc)>-1){n.alwaysInvokeCallback&&n.callback();return}n.target||t.scripts.push(n.scriptSrc);const i=document.createElement("script");return i.type="text/javascript",n.attrs&&Object.entries(n.attrs).forEach(([n,t])=>{i.setAttribute(n,t)}),n.scriptSrc.indexOf("a.teads.tv/page/")>=0&&i.classList.add("teads"),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.LogDispatcher.error("Core failed during style loader execution",{component:"Core",error:r})}},t.loadScript=function(n,i,r,u){try{const f=t.scriptInit({scriptSrc:n,scriptId:r,callback:i,alwaysInvokeCallback:u});if(!f)return;document.getElementsByTagName("head")[0].appendChild(f)}catch(f){t.logerror("loaders","script",f,n);t.LogDispatcher.error("Core failed during script loader execution",{component:"Core",error:f})}},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.LogDispatcher.error("Core failed during style loader execution",{component:"Core",error:i})}},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.LogDispatcher.error("Core failed during script loader execution",{component:"Core",error:i})}},t.loadTeadsScript=n=>{try{const i={scriptSrc:n,target:document.getElementsByTagName("body")[0]};t.loadScript_v2(i)}catch(i){t.logerror("loaders","script",i,n);t.LogDispatcher.error("Core failed during Teads script loader execution",{component:"Core",error:i})}},t.PremiumLazyLoad=t.HasPremiumLazyLoad,t.PbjsUrl=`${t.tagurl}/scripts/pbjs-min.js?v=20250627`,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),t.initAdserver=function(){const n=()=>r.pubads().getSlots().filter(n=>n.ppads&&!n.loaded&&!n.stop)??[],i=(n,t)=>{for(let i=0;i<n.length;i++)n[i].loaded=!0,t(n[i])};r.cmd.push(function(){let u=n();if(u&&u.length){if(t.BlockedByGoogle){i(n(),n=>t.prebidRenderAd(document.getElementById(n.getSlotElementId()),n));return}i(u,n=>{r.display(n.getSlotElementId()),n.refresh&&r.pubads().refresh([n])});r.pubads().isInitialLoadDisabled()&&(u=u.filter(n=>!n.refresh),u&&u.length&&r.pubads().refresh(u))}})},t.hasValidDataSizes=function(n,i){return t.device==="mobile"&&n&&n.length>0?!0:t.device==="desktop"&&i&&i.length>0?!0:!1},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);t.LogDispatcher.error("Core failed during getMinMaxSize execution",{component:"Core",error: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.cssText="padding: 24px 0 20px 0; margin: 30px 0");u!=="flex"&&u!=="slider"&&u!=="anchor"&&(i.style.cssText=`min-width: ${r.max[0]}px; min-height: ${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.convertFloorPriceToUSD=n=>{const i=.01,r=parseFloat((n/t.USD).toFixed(3)),u=t.numberRoundDown(r,2);return u<i?r<i?i:r:u},t.convertDefaultFloorPriceToUSD=()=>t.convertFloorPriceToUSD(t.DefaultFloorPrice),t.getFloor=function(n,i){const u=n=>!n||isNaN(n)?r:parseFloat(n),f=n=>t.DefaultFloorPrice>n?t.DefaultFloorPrice:n,e=n=>i&&i==="USD"?t.convertFloorPriceToUSD(n):n;let r=t.DefaultFloorPrice;return n?(t.device==="desktop"?n.anchor&&t.AnchorPriceDesktop?r=f(u(t.AnchorPriceDesktop)):n.outstream&&(t.OutstreamFloorPriceDesktop||t.OutstreamSliderFloorPriceDesktop)?r=f(Math.max(u(t.OutstreamFloorPriceDesktop),u(t.OutstreamSliderFloorPriceDesktop))):n.pospopup&&t.PosPopupFloorPriceDesktop!==""?r=f(u(t.PosPopupFloorPriceDesktop)):n.flex&&t.FlexPriceDesktop&&(r=f(u(t.FlexPriceDesktop))):n.anchor&&t.AnchorPriceMobile?r=f(u(t.AnchorPriceMobile)):n.outstream&&(t.OutstreamFloorPriceMobile||t.OutstreamSliderFloorPriceMobile)?r=f(Math.max(u(t.OutstreamFloorPriceMobile),u(t.OutstreamSliderFloorPriceMobile))):n.pospopup&&t.PosPopupFloorPriceMobile!==""&&(r=f(u(t.PosPopupFloorPriceMobile))),e(r)):e(r)},t.setGoogleTagTarget=function(n){t.BlockedByGoogle||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(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());const r=t.getFloor(n,"BRL");!i&&r>.01&&n.setTargeting("pp_pb",r.toFixed(2));t.setGoogleTagTarget(n)},t.setinitconfigs=()=>{t.scroll={currentPage:1,que:[]};t.scroll.que.push(()=>t.LazyDisplay());const n=document.querySelector("html"),i=`pp-${t.device}`;document.getElementById(t.corev4style.id)||document.head.insertAdjacentHTML("beforeend",t.corev4style.content);n.classList.contains(i)||n.classList.add(i)},t.setCustomScripts=()=>{try{t.customScripts&&t.customScripts(i,r)}catch(n){t.logerror("core","customScripts",n);t.LogDispatcher.error("Core failed during customScripts execution",{component:"Core",error: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(){if(t.isValidUrl()&&t.HasPosPopup&&(t.device!=="mobile"||t.PosPopupFloorPriceMobile!="")&&(t.device!=="desktop"||t.PosPopupFloorPriceDesktop!="")){const n=`/${t.DfpId}/${t.DfpPrefix}_VIGNETTE`;return{dataType:"interstitial",code:n,dfpCode:n,mediaTypes:{video:{context:"instream",plcmt:3,placement:5,playerSize:[[336,280]],mimes:["video/mp4"],protocols:[3,7],api:[0],playbackmethod:[3],skip:1,maxduration:120,linearity:1,useCacheKey:!0}},ortb2Imp:t.getStoredRequestORTB2Imp({instl:1})}}},t.loadAll=()=>{},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.adsmgid=(class{constructor(){this.load()}load(){if(t.isValidUrl()&&t.HasMgid)try{t.MgidElements.forEach(n=>{const i=document.querySelector(n.Container);if(i&&n.Placement)if(t.MgIdLazyload){const r="ppads-mgid";t.scroll.que.push(()=>{t.isOnViewport(i)&&!i.hasAttribute(r)&&(this.insertElement(n,i),i.setAttribute(r,"true"))})}else this.insertElement(n,i)})}catch(n){t.logerror("PREMIUM MGID",n);t.LogDispatcher.error("MGID failed during load execution",{component:"MGID",error:n})}}insertElement(n,i){const r=document.createElement("div");r.setAttribute("data-type","_mgwidget");r.setAttribute("data-widget-id",n.Placement);const u=document.createElement("script");u.innerHTML='(function(w,q){w[q]=w[q]||[];w[q].push(["_mgc.load"])})(window,"_mgq");';t.loadScript(`https://jsc.mgid.com/site/${t.MgidId}.js`,()=>{switch(n.Mode){case"Before":i.insertAdjacentElement("beforebegin",r);i.insertAdjacentElement("beforebegin",u);break;case"After":i.insertAdjacentElement("afterend",r);i.insertAdjacentElement("afterend",u);break;case"InsideBefore":i.prepend(r);i.prepend(u);break;case"InsideAfter":default:i.appendChild(r);i.appendChild(u)}},null,!0)}}),t.navegg=function(){try{const u="https://tag.navdmp.com/universal.min.js",i=()=>{n.naveggReady=n.naveggReady||[],n[`nvg${t.NaveggId}`]=new Navegg({acc:t.NaveggId})};if(typeof n.Navegg=="function"){t.LogDispatcher.info("Navegg constructor is already present.",{component:"Navegg",sendOnce:!0,logKey:"navegg"});i();return}let r=document.querySelector(`script[src="${u}"]`);if(!r){t.loadScript(u,function(){i()});return}t.LogDispatcher.info("Navegg script already been loading from outside.",{component:"Navegg",sendOnce:!0,logKey:"navegg"});r.readyState==="complete"||r.readyState==="loaded"?i():r.addEventListener("load",i)}catch(i){t.logerror("navegg","exception",i);t.LogDispatcher.error("Navegg failed during execution",{component:"Navegg",error:i,sendOnce:!0,logKey:"navegg",json:{naveggId:t.NaveggId}})}},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){n=n.filter(n=>n.adunit&&n.adunit.bids&&n.adunit.bids.length);n.forEach(n=>{n.clearTargeting(),n.loaded=!1,n.timestamp=Date.now()+1e4,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||r.cmd.push(()=>{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.Seedtag=function(){t.Seedtag&&t.SeedtagHasInImage&&t.SeedtagId&&t.loadScript("https://t.seedtag.com/t/"+t.SeedtagId+".js")},t.adstaboola=(class{constructor(){this.load()}load(){if(t.isValidUrl()&&t.HasTaboola)if(t.TaboolaLazyload){const n=t.TaboolaElements.map(n=>document.getElementById(n.Container)).find(n=>n!==null);if(!n)return;t.scroll.que.push(()=>{t.isOnViewport(n)&&this.insertElement()})}else this.insertElement()}insertElement(){const i="https://cdn.taboola.com/libtrc/"+t.TaboolaName+"/loader.js";if(!((t.scripts||[]).indexOf(i)>-1)){let r=!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)&&(r=!0,_taboola.push({mode:n.Mode,container:n.Container,placement:n.Placement,target_type:n.TargetType}))});_taboola.push({flush:!0});r&&(t.loadScript(i,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.loadTeadsScript("https://a.teads.tv/analytics/tag.js"))},t.checkUrlBlockManual=function(){if(t.Uri)return t.Uri.checkUrlBlockManual()},t.isValidUrl=function(n=false){if(t.Uri)return t.Uri.isValidUrl(n)},t.ViewabilityBooster=()=>{try{const n=(n,t)=>t.adunit.dfpCode.includes(n.code),i=(n,t=true)=>{n.classList.add("pp-viewability-booster"),n.classList.remove("pp-viewability-booster-on","pp-viewability-booster-off"),n.classList.add(t?"pp-viewability-booster-on":"pp-viewability-booster-off")},f=(r,u,f)=>{try{n(u,r.slot)&&setTimeout(()=>i(f,!1),1500)}catch(e){t.logerror("viewability booster","exception",e);t.LogDispatcher.error("ViewabilityBooster failed during onImpressionViewable execution",{component:"ViewabilityBooster",error:e})}},e=(r,u,f)=>{try{n(u,r.slot)&&!r.isEmpty&&i(f,!0)}catch(e){t.logerror("viewability booster","exception",e);t.LogDispatcher.error("ViewabilityBooster failed during onSlotRenderEnded execution",{component:"ViewabilityBooster",error:e})}},u={},o=n=>{u[n]||(u[n]=!0,r.cmd.push(()=>{r.display(n)}))},s=n=>{const i=document.querySelector(n.selector);o(n.code);r.cmd.push(()=>{t.googletagEventListeners.que.slotRenderEnded.push(t=>e(t,n,i)),t.googletagEventListeners.que.impressionViewable.push(t=>f(t,n,i))})};(t.adUnitsViewabilityBooster||[]).filter(n=>n.device.includes(t.device)).filter(n=>document.querySelector(`div[data-adunit="${n.code}"]`)).forEach(n=>s(n))}catch(n){t.logerror("viewability booster","exception",n);t.LogDispatcher.error("ViewabilityBooster failed during execution",{component:"ViewabilityBooster",error:n})}},t.isOnViewport=function(i,r=0){if(!i)return!1;if(i.getAttribute("lazyload")&&i.getAttribute("lazyload")=="false")return!0;let u=t.PremiumLazyLoadViewport;t.device=="mobile"&&t.PremiumLazyLoadMobileScale>0&&(u=u*t.PremiumLazyLoadMobileScale);const 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(){this.reload()}hasIt(){return t.isValidUrl()&&t.HasFlex&&t.FlexJson&&t.FlexJson.Items&&t.FlexJson.Items.length}addEvents(){this.hasIt()&&n.addEventListener(t.DisplaySlotRenderEndedEventKey,n=>this.eventDisplaySlotRenderEndedCallback(n),!1)}eventDisplaySlotRenderEndedCallback(n){n.detail&&n.detail.type==="flex"&&n.detail.element&&!t.hasReward()&&this.open(n.detail.element)}reload(){this.unload();this.load()}load(){this.hasIt()&&(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)}}),this.addEvents())}unload(){if(this.hasIt()){n.removeEventListener(t.DisplaySlotRenderEndedEventKey,this.eventDisplaySlotRenderEndedCallback);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(i){t.logerror("adsflex","removeBeforeCreateFlex",i);t.LogDispatcher.error("Flex failed during removeBeforeCreateFlex execution",{component:"Flex",error:i})}}}htmltag(n){const r=`${t.DfpPrefix}_FLEX`,u=n.FlexPosition==0,i=document.createElement("div");return i.id=t.idGenerator("pads-flex"),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.SlotExtension={minimumInViewPercentage:70,setPreviousRefresh:n=>{n.previousRefresh&&n.previousRefresh.length||(n.previousRefresh=[]),n.previousRefresh.push(n.countRefresh||0)},onVisibilityChanged:(n,i)=>{const r=n.inViewPercentage,u=()=>n.previousInViewPercentage&&n.previousInViewPercentage.length;return u()||(n.previousInViewPercentage=[]),r&&r<t.SlotExtension.minimumInViewPercentage&&n.previousInViewPercentage.indexOf(r)===-1&&n.previousInViewPercentage.push(r),n.inViewPercentage=i,n.inViewPercentage&&u()},onRenderEnded:n=>{t.SlotExtension.setPreviousRefresh(n)}},t.SlotRefreshHelper=(class{constructor(n={}){this.origin=n?.origin;this.slot=n?.slot;this.refreshTime=n?.refreshTime}log(n){return t.logv2("core",`refresh ${this.slot?.adunit?.dfpCode||""}`,{origin:this.origin,step:n,inViewPercentage:{prev:this.slot.previousInViewPercentage,curr:this.slot.inViewPercentage},isEmpty:this.slot.isEmpty,slotId:this.slot.getSlotElementId(),countRefresh:this.slot.countRefresh||0,previousRefresh:this.slot.previousRefresh||[]})}hasLength(n){return((n||[]).filter(n=>n)||[]).length||0}isVisible(){return this.slot.inViewPercentage&&this.slot.inViewPercentage>t.SlotExtension.minimumInViewPercentage||t.isIabVisible(document.getElementById(this.slot.getSlotElementId()))}isVisibleForASecondTime(){return this.hasLength(this.slot.previousInViewPercentage)&&this.hasLength(this.slot.previousRefresh)}ms(){return this.isVisible()&&this.isVisibleForASecondTime()?0:this.refreshTime*1e3}reset(){this.slot.previousInViewPercentage=[];this.slot.nextRefresh=this.isVisible()?Date.now()+this.ms():0}hasNextRefresh(){return this.slot.nextRefresh&&this.slot.nextRefresh>Date.now()}hasPendingRefresh(){return!(this.slot.previousRefresh||[]).includes(this.slot.countRefresh||0)}countRefresh(n=1){const t=this.slot.countRefresh;this.slot.countRefresh=t?n?t+1:t-1:1}cancelRequestAds(){const n=this.isVisible();return n||t.SlotExtension.setPreviousRefresh(this.slot),!n}}),t.refresh=function(i,r,u=30){if(r&&r.adunit&&t.HasRefresh){const f=new t.SlotRefreshHelper({origin:i,slot:r,refreshTime:u});if(!t.skipRefresh&&(t.refreshOnHiddenDocument||!n.document.hidden)){const e=r.isEmpty;if(!f.isVisible()&&!e)return f.reset();if(f.hasNextRefresh()){setTimeout(()=>t.refresh(i,r,u),3e3);return}if(!f.hasPendingRefresh()){f.countRefresh();const o=f.ms();f.log(`(5) request ads in ${o} ms`);setTimeout(()=>{if(f.cancelRequestAds()){f.log(`(6) request ads cancelled, slot not visible`);return}t.requestAds([r],!0,e)},o);f.reset()}}}},t.renderAdOnMessageReceived=n=>{if(n&&n.data&&n.data.ppads){let i;const u=document.querySelectorAll("iframe");for(let t=0;t<u.length;t++)if(u[t].contentWindow===n.source){i=u[t];break}if(i){const f=i?.parentNode?.parentNode;f&&f.tagName!=="BODY"&&r.cmd.push(()=>t.renderAdWhenElementFound(n.data,f))}}},t.renderAdWhenElementFound=(n,i)=>{const u=r.pubads().getSlots().filter(n=>n.getSlotElementId()===i.id);u&&u.length&&(r.destroySlots(u),i.removeAttribute("id",""),i.removeAttribute("data-fetch",""),i.removeAttribute("data-google-query-id",""),i.setAttribute("data-premium",""),i.setAttribute("data-adunit",n.config.adUnit),i.setAttribute("data-sizes",JSON.stringify(n.config.sizes)),t.display())},t.renderAd=()=>{n.addEventListener("message",n=>t.renderAdOnMessageReceived(n),!1)},t.idGenerator=function(n){if(n)return`${n}-${Date.now()}${Math.floor(Math.random()*100)}`},t.DisplayImpressionViewable=()=>{t.googletagEventListeners.que.impressionViewable.push(n=>{t.refresh("impressionViewable",n.slot)})},t.DisplaySlotOnload=()=>{t.googletagEventListeners.que.slotOnload.push(n=>{n.slot.ppads&&(t.performanceFirstSlotOnLoadEnded||t.logFirstSlotOnLoad())})},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=(i,r)=>{if((!(i.clientHeight<=2)||t.debug)&&!t.DisablePassback){if(t.AdsensePublisherId&&t.AdsenseAdunitId){let r=document.createElement("ins");r.classList.add("adsbygoogle");r.style.cssText=`display: block; min-width: ${i.clientWidth}px; min-height: ${i.clientHeight}px;`;r.setAttribute("data-ad-client",t.AdsensePublisherId);r.setAttribute("data-ad-slot",t.AdsenseAdunitId);r.setAttribute("data-format","auto");r.setAttribute("data-full-width-responsive","true");const f=document.createElement("div");f.appendChild(r);i.innerHTML="";i.appendChild(f);t.loadScript(`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${t.AdsensePublisherId}`);(u=n.adsbygoogle||[]).push({})}else t.PassbackCodeSnipet&&t.createIframe(i,t.PassbackCodeSnipet);t.DisablePostBid||t.prebidRenderAd(i,r)}};t.googletagEventListeners.que.slotRenderEnded.push(n=>{const r=document.getElementById(n.slot.getSlotElementId());t.SlotExtension.onRenderEnded(n.slot);n.slot.isEmpty=n.isEmpty;n.isEmpty&&(n.slot.refresh?i(r,n.slot):t.refresh("slotRenderEnded",n.slot),t.LogDispatcher.info("Banner without ad response / impression",{slotElementId:n.slot.getSlotElementId(),adUnitPath:n.slot.getAdUnitPath(),sizes:n.size,targeting:n.slot.getTargetingKeys().reduce((t,i)=>(t[i]=n.slot.getTargeting(i),t),{})}));n.isEmpty||t.DisplaySlotRenderEndedDispatchEvent(r);t.performanceFirstSlotRenderEnded||t.logFirstSlotRender()})},t.DisplaySlotVisibilityChanged=()=>{t.googletagEventListeners.que.slotVisibilityChanged.push(n=>{t.SlotExtension.onVisibilityChanged(n.slot,n.inViewPercentage)&&t.refresh("slotVisibilityChanged",n.slot)})},t.createIframe=(n,i)=>{const u=document.createElement("div");u.style="margin:0; padding:0; display:flex; justify-content:center; align-items:center;";let r=document.createElement("iframe");if(r.width=n.clientWidth,r.height=n.clientHeight,r.marginWidth=0,r.marginHeight=0,r.frameBorder=0,r.scrolling="no",t.debug){r.style.cssText="box-sizing:border-box;border:2px dashed #000;";const t=document.createElement("div");t.append(n.dataset.adunit);t.style.cssText="color:red;font-weight:bold;text-transform:uppercase;position:absolute;background-color:#fff;padding:3px;";u.appendChild(t)}u.appendChild(r);n.innerHTML="";n.appendChild(u);const f=r.contentWindow.document;if(i)try{f.write(i);f.close()}catch(e){t.logerror("core","loadPassback",e);t.LogDispatcher.error("Create iframe failed during loadPassback execution",{component:"Core",error:e})}return f},t.display=function(n){let f=!1;const o=()=>{f||(setTimeout(()=>t.DisplaySlotRenderEndedDispatchEvent(undefined),8e3),f=!0)};t.DisplaySetID();const i=t.DisplayLazyLoad();if(!i||i.length===0)return o();const u=t.DisplayAdUnit({lazy:n,elements:i});if(!n){const n=e();n&&u.push(n)}if(u.length===0)return o();t.BlockedByGoogle||r.cmd.push(()=>{t.pubadsReady||(t.DisplayImpressionViewable(),t.DisplaySlotVisibilityChanged(),t.DisplaySlotRenderEnded(),t.DisplaySlotOnload(),t.DisplayTarget(),t.DisplayPubAdsConfig(),t.pubadsReady=!0)});r.cmd.push(()=>{let i=t.DisplaySlot(u??[])??[];!n&&t.PrebidLazyLoad&&t.PremiumLazyLoad?t.initAdserver():t.requestAds(i)})},t.AdUnitConfigFloors=n=>{const i={};return i.banner=t.getFloor(n.formats,"USD"),i.video=t.getFloor(n.formats,"USD"),{floors:{schema:{fields:["mediaType"]},values:i,"default":t.convertDefaultFloorPriceToUSD()}}},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(n),r=n.bids.concat(t.getBidders("size_sizeless"));return{sizes:i,bids:r}},t.DisplayAdUnitBidsFlexGetSizes=n=>{if(!t.FlexJson||!t.FlexJson.Items||!t.FlexJson.Items.length||t.device=="mobile"||t.deviceWidth<1366)return[];let i=[],r=0;return n.dataSizes.forEach(function(n){n[0]>120&&t.deviceWidth<1700||(i[r]=n,r++)}),i},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 t=0;t<i.dataSizes.length;t++){let r=i.dataSizes[t],f="size_",o=0,e=0;if(r instanceof Array){if(typeof r[0]=="string")continue;f=f+r[0]+"x"+r[1];e=r[0];o=r[1]}else{if(typeof r=="string")continue;f=f+i.dataSizes[0]+"x"+i.dataSizes[1];e=i.dataSizes[0];o=i.dataSizes[1]}if((n.innerWidth||document.documentElement.clientWidth)>=e)u.push([e,o]);else continue;if(!isNaN(r))break}const f=t.getMinMaxSize(u);return t.sizesIsOnly1x1(u)||(r=r.concat(t.getBidders("size_sizeless"))),i.dataType==="intext"?r=r.concat(t.getBidders("size_intext")):i.dataType==="anchor"?r=r.concat(t.getBidders("size_anchor")):f&&f.max&&f.max[1]>=250&&(r=r.concat(t.getBidders("size_banner"))),{sizes:u,bids:r}},t.LivePreviewAdUnit=n=>{if(t.livepreview&&t.livepreview.length){const n=Math.floor(Math.random()*t.livepreview.length);return`/${t.livepreview[n]}`}return n},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 a=f.getAttribute("data-type");if((!t.checkUrlBlockManual()||a)&&!f.getAttribute("data-fetch")){f.setAttribute("data-fetch","true");let h=f.getAttribute("data-adunit")||f.getAttribute("data-premium-adunit")||"PADRAO";if(h=t.LivePreviewAdUnit(h),!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 v=f.getAttribute("data-type")==="outstream"||!1,y=f.getAttribute("data-type")==="intext"||!1,l=f.getAttribute("data-type")==="flex"||!1,b=f.getAttribute("data-anchor")?!0:!1,k=f.getAttribute("data-sticky")?!0:!1;let e=[],o=[],s=[];try{const n=f.getAttribute("data-sizes"),i=f.getAttribute("data-sizes-"+t.device);if(!n&&!i)continue;e=n?JSON.parse(n):i?JSON.parse(i):[]}catch(d){t.logerror("display","data-sizes invalido",d);t.LogDispatcher.error("Display failed due to invalid data-sizes attribute",{component:"Core",error:d})}if((!e||!e.length)&&f.getAttribute("width")){const n=f.getAttribute("width"),t=f.getAttribute("height");e.push([parseInt(n),parseInt(t)])}if(e&&e.length&&(l||f.offsetParent!==null)){let p;if(p=t.isIframe?t.DisplayAdUnitBidsIFrame({dataSizes:e,bids:s}):l?t.DisplayAdUnitBidsFlex({dataSizes:e,bids:s}):v?t.DisplayAdUnitBidsOutstream({dataSizes:e,bids:s}):t.DisplayAdUnitBidsDefault({dataSizes:e,bids:s,dataType:a}),o=p.sizes,s=p.bids,o&&o.length){t.setSize(o,f);const w=(h.indexOf("/")>-1?"":"/"+t.DfpId+"/")+h,c={dfpCode:h,dataType:a,dfpSizes:o,path:w,code:f.id,bids:s,anchor:b,flex:l,intext:y,outstream:v,sticky:k,rand:t.rand,mediaTypes:{banner:{sizes:o}},ortb2Imp:t.getStoredRequestORTB2Imp({ext:{gpid:`${w}#${f.id}`,data:{pbadslot:`${w}#${f.id}`}}}),...t.AdUnitConfigFloors({formats:{anchor:b,flex:l,intext:y,outstream:v,sticky:k}})};y&&f.dataset.count==="1"&&(c.dfpSizes.push([400,225]),c.code="_ppads_outstream_intext",f.id="_ppads_outstream_intext",c.mediaTypes.video={context:"outstream",plcmt:2,placement:3,playerSize:[[400,225]],mimes:["video/3gpp","video/mpeg","video/webm","video/x-ms-wmv","video/ogg","video/mp4"],protocols:[3,6,7,8],api:[1,2],playbackmethod:[6],skip:1,maxduration:120,linearity:1,renderer:{backupOnly:!0,url:"https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",render:function(n){const t={ad:{video:{content:n.vastXml,player_height:n.playerHeight||300,player_width:n.playerWidth||400}}};n.renderer.push(()=>{ANOutstreamVideo.renderAd({targetId:n.adUnitCode,adResponse:t})})}}},c.bids=t.getBidders("size_outstream"));i.push(c)}}}}}return i}},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.prebidRenderAd=(n,r)=>i.que.push(()=>{try{const u=r&&r.adunit;if(!u||!u.code){t.LogDispatcher.info("Prebid skipped: missing adUnit or code",{component:"Prebid",sendOnce:!0});return}u.bids=Array.isArray(u.bids)?u.bids:[];const e=n=>Array.isArray(n)&&n.length&&n[0]&&n[0].adId,o=r=>{t.LogDispatcher.info("Prebid rendering ad",{component:"Prebid",code:u.code,bidId:r[0].adId,sendOnce:!0}),i.renderAd(t.createIframe(n),r[0].adId),setTimeout(()=>t.DisplaySlotRenderEndedDispatchEvent(n),1e3)};let f=t.pbjsGetHighestCpmBids(u.code);if(e(f))return o(f);t.LogDispatcher.info("Prebid cached path: no bids, requesting auction",{component:"Prebid",code:u.code,bidsCount:Array.isArray(f)?f.length:0,sendOnce:!0});i.requestBids({adUnits:[u],bidsBackHandler:n=>{if(f=t.pbjsGetHighestCpmBids(u.code,n),e(f))return o(f);t.LogDispatcher.info("Prebid no-bid after auction",{component:"Prebid",code:u.code,bidsCount:Array.isArray(f)?f.length:0,sendOnce:!0})}})}catch(u){t.LogDispatcher.error("Prebid failed during prebidRenderAd execution",{component:"Prebid",error:u,sendOnce:!0});throw u;}}),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.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((f=t.LivePreviewAdUnit(f),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.DisplaySlot=n=>{const i=[];for(let u=0;u<n.length;u++){const f=n[u];if(!f||typeof f!="object"){t.LogDispatcher.warn("Invalid adunit object");continue}if(!f.code){t.LogDispatcher.warn("Missing adunit code");continue}try{t.slots.hasOwnProperty(f.code)&&(r.destroySlots([t.slots[f.code]]),t.LogDispatcher.info("Recreating slot",{json:{adUnitCode:f.code}}));let n;if(f.dataType==="interstitial"){if(n=r.defineOutOfPageSlot(f.code,r.enums.OutOfPageFormat.INTERSTITIAL),!n){t.LogDispatcher.warn("defineOutOfPageSlot returned null",{json:{adUnitCode:f.code,dataType:"interstitial"}});continue}typeof n.setConfig=="function"?n.setConfig({interstitial:{triggers:{navBar:!0,unhideWindow:!0}}}):t.LogDispatcher.warn("slot.setConfig unavailable; skipping interstitial triggers",{json:{adUnitCode:f.code}});n.addService&&n.addService(r.pubads())}else if(f.dataType==="rewarded"){if(n=r.defineOutOfPageSlot(f.code,r.enums.OutOfPageFormat.REWARDED),!n){t.LogDispatcher.warn("defineOutOfPageSlot returned null",{json:{adUnitCode:f.code,dataType:"rewarded"}});continue}n.addService&&n.addService(r.pubads())}else{const i=t.sizesHas2x2(f.dfpSizes)?f.dfpSizes.concat("fluid"):f.dfpSizes;if(n=r.defineSlot(f.path,i,f.code),!n){t.LogDispatcher.warn("defineSlot returned null",{json:{adUnitCode:f.code,dataType:"standard",adUnitPath:f.path}});continue}n.addService(r.pubads())}n.sizes=f.dfpSizes;n.pospopup=f.dataType==="interstitial";n.flex=f.flex;n.anchor=f.anchor;n.outstream=f.outstream;n.intext=f.intext;n.count=0;n.adunit=f;n.ppads=!0;t.setTargeting(n);i.push(n);t.slots[f.code]=n}catch(e){t.LogDispatcher.error("DisplaySlot processing error",{error:e,json:{adUnitCode:f.code}});continue}}t.onEachABTestInstance(2,n=>n.module.set(!0));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.PolicyEnforcedJson&&t.PolicyEnforcedJson.length&&(t.searchForWords(t.PolicyEnforcedJson,t.currentUrl)||t.searchForUrl(t.PolicyUrl,t.currentUrl))&&r.pubads().setTargeting("pp_policy","enforced");t.setNaveggTargeting()},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.LogDispatcher.error("Navegg failed during setNaveggTargeting execution",{component:"Navegg",error:i})}},t.apstagInit=function(){if(t.switches.apstag&&!t.apstagready){t.apstagready=!0;try{apstag.init({pubID:"331fbd2e-ff5e-4e7c-9de6-7c2166bce7b7",adServer:"googletag",videoAdServer:"DFP",schain:t.schain,bidTimeout:i.TIMEOUT,enableLogging:t.debug})}catch(n){t.logerror("core","apstag.init",n);t.LogDispatcher.error("ApsTag failed during apstag.init execution",{component:"ApsTag",error:n})}}},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 r=()=>{const n=t.convertDefaultFloorPriceToUSD()*100;return n<1?Math.round(n):Math.trunc(n)},i={slotID:n.adunit.code,slotName:n.adunit.path,floor:{currency:"USD",value:r()},gpid:`${n.adunit.path}#${n.adunit.code}`};return n.adunit.dataType==="interstitial"&&t.McmMI||(n.adunit.intext&&n.adunit.mediaTypes.video&&t.McmMI?(i.mediaType="multi-format",i.multiFormatProperties={display:{sizes:n.adunit.dfpSizes},video:{sizes:[[400,300]]}}):i.sizes=n.adunit.dfpSizes),i}}).filter(n=>n);i&&i.length&&apstag.fetchBids({gpid:!0,slots:i},function(n){r.cmd.push(function(){n.forEach(n=>{if(n.mediaType==="video"){let i=new URLSearchParams(n.qsParams),u=i.get("amzniid");const f=i.get("amznbid");let t=r.pubads().getSlots().filter(n=>n.pospopup);t&&t.length&&(t[0].setTargeting("amzniid",u),t[0].setTargeting("amznbid",f))}});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),u=r.map(n=>n.code);i.que.push(function(){try{o(r,"taboola","tagId");i.requestBids({timeout:i.TIMEOUT,adUnits:r,bidsBackHandler:function(){i.setTargetingForGPTAsync(u);t.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!0;t.BiddersBack(n)}})}catch(f){t.LogDispatcher.error("Prebid failed during _ppads.prebidRequestHeaderBids execution",{component:"Prebid",error:f});throw f;}})}},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){const i=t.getBoundingClientRect();return{top:i.top+n.scrollY,left:i.left+n.scrollX}},t.hasReward=()=>t.Reward&&t.Reward.enabled(),t.isFloatAdType=n=>n==="flex"||n==="anchor"||n==="slider",t.isIabVisible=function(t){if(!t)return!1;if(t.getAttribute("lazyload")=="false")return!0;const i=n,u=document,f=u.documentElement,e=u.getElementsByTagName("body")[0],y=i.innerWidth||f.clientWidth||e.clientWidth,o=i.innerHeight||f.clientHeight||e.clientHeight,s={top:i.pageYOffset,bottom:i.pageYOffset+o},r=t.getBoundingClientRect(),h={top:r.y+i.pageYOffset,bottom:r.y+r.height+i.pageYOffset},c=r.height,a=Math.max(h.bottom,s.bottom)-Math.min(h.top,s.top),v=a-o,l=c-v;return(l<=0?0:l/c*100)>=60},t.googletagRefresh=()=>{const n=t.RefreshTime||30,i=()=>{const n=r.pubads().getSlots().filter(n=>n.ppads&&n.adunit);n.forEach(u)},u=i=>{const r=document.getElementById(i.getSlotElementId());!r||!t.isIabVisible(r)||t.sizesIsOnly1x1(i.sizes)||i.timestamp&&i.timestamp>=Date.now()||t.refresh("googletagRefresh",i,n)};r.cmd.push(()=>{t.HasRefresh&&document.addEventListener("visibilitychange",()=>{let r=undefined;if(document.hidden||document.visibilityState==="hidden"){r&&clearInterval(r);return}if(t.refreshOnHiddenDocument){r=setInterval(i,n*1e3);return}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.URLHelper=(class{static set(n,t,i){try{if(!n)return n;const r=new URL(n);return i===undefined?r.searchParams.delete(t):r.searchParams.set(t,i),r.toString()}catch(r){return n}}}),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 e=`evt-slot-${n.slot.getSlotElementId()}`;let f=t.getElementByClassName(u,e);f||(f=document.createElement("span"),f.classList.add(e),f.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(f));u.title=`${i} ${n.slot.getSlotElementId()}`;u.setAttribute("data-event",i);f.innerHTML=u.title;f.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,t=>{if(this.hasDataPremium(t,n,"#F28705"))for(let n=0;n<this.que.slotRenderEnded.length;++n)this.que.slotRenderEnded[n](t)})}onSlotOnload(){const n="slotOnload";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#267365"))for(let n=0;n<this.que.slotOnload.length;++n)this.que.slotOnload[n](t)})}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.BlockedByGoogle=!1,t.DisablePassback=!1,t.PassbackCodeSnipet=``,t.RefreshTime=30,t.TagAnalyticsWeight=50,t.TagAnalyticsUrl="https://logs.premiumads.com.br",t.LogCommon=(class{static _base=null;static base(){return this._base||(this._base={browser:t.LogWeb.getBrowserInfo(),domain:t.dominio,environment:t.environment,userId:t.LogCore.getUserId(),origin:"JavaScript",application:"Tags",userAgent:t.LogWeb.getUserAgent(),referrer:t.LogWeb.getReferrer(),scriptSrc:t.LogWeb.getScriptSrc(),scriptQueryParams:t.LogWeb.getScriptQueryParams(),script:{build:t.build,version:t.version,versionCache:t.versionCache,url:t.tagurl,qp:t.tagurlQueryParams}}),this._base}static envelope(n,t,i={}){const r=this.base();return{...r,level:n,message:t,timestamp:(new Date).toISOString(),url:location.href,...i}}static reset(){this._base=null}}),t.LogCore=(class{static sentLogsKey="__ppads_sent_logs";static storage=(()=>{try{return n.localStorage}catch{return null}})();static scheduleIdle(t,i=200){try{"requestIdleCallback"in n?requestIdleCallback(()=>{try{t()}catch{}},{timeout:i}):setTimeout(()=>{try{t()}catch{}},0)}catch{setTimeout(()=>{try{t()}catch{}},0)}}static sampled(n,t){return n>=t}static _getSent(){if(!this.storage)return{};try{return JSON.parse(this.storage.getItem(this.sentLogsKey)||"{}")}catch{return{}}}static hasAlreadyLogged(n){return t.debug?!1:!!this._getSent()[n]}static markAsLogged(n){if(!t.debug)try{const t=this._getSent();t[n]=!0;const i=Object.keys(t);i.length>100&&delete t[i[0]];this.storage?.setItem(this.sentLogsKey,JSON.stringify(t))}catch(i){if(i?.name==="QuotaExceededError"||i?.name==="NS_ERROR_DOM_QUOTA_REACHED")try{this.storage?.removeItem(this.sentLogsKey)}catch{}}}static getUserId(){const n="__ppads_user_id";if(!this.storage)return"u_"+Math.random().toString(36).slice(2)+Date.now().toString(36);try{let t=this.storage.getItem(n);if(!t){try{t=crypto.randomUUID()}catch{t="u_"+Math.random().toString(36).slice(2)+Date.now().toString(36)}this.storage.setItem(n,t)}return t}catch{return"u_"+Math.random().toString(36).slice(2)+Date.now().toString(36)}}static prune(n){try{const t=JSON.parse(JSON.stringify(n)),i=(n,t=300)=>typeof n=="string"&&n.length>t?n.slice(0,t):n;return t.userAgent&&(t.userAgent=i(t.userAgent,200)),t.referrer&&(t.referrer=i(t.referrer,300)),t.message&&(t.message=i(t.message,300)),t.perf&&Array.isArray(t.perf.serverTiming)&&t.perf.serverTiming.length>6&&(t.perf.serverTiming=t.perf.serverTiming.slice(0,6)),function t(n){n&&typeof n=="object"&&Object.keys(n).forEach(i=>{const r=n[i];r===null||r===undefined||r===""?delete n[i]:typeof r=="object"&&t(r)})}(t),t}catch{return n}}static serializeError(n){return(n instanceof Error)?{name:n.name,message:n.message,stack:n.stack?String(n.stack).slice(0,1e3):undefined}:n}}),t.LogDiagnostics=(class{static run(){const n=`ppads_loader_diagnostic:${t.version}:${location.host}`;if(!t.LogCore.hasAlreadyLogged(n)){t.LogCore.markAsLogged(n);const u=t.LogWeb.getPageInfo(),i=t.LogWeb.getScriptSrc(),r=t.LogWeb.getScriptFinalUrl(i)||i,f=t.LogWeb.getPerformanceFor(r),{builtAtISO:e,ageDays:o,isStale7d:s,staleSource:h}=this._computeStaleness({version:t.version,versionCache:t.versionCache}),c=t.LogCommon.envelope("info","Loader diagnostics",{sendOnce:!0,logKey:n,page:u,perf:f,sw:{controlled:!!navigator.serviceWorker?.controller||!1},script:{...t.LogCommon.base().script,src:i,finalSrc:r||null,builtAt:e,versionAgeDays:o,isStale7d:s,staleSource:h}});t.LogDispatcher._post(c);t.LogCore.scheduleIdle(()=>{navigator.serviceWorker?.controller&&Promise.resolve(t.LogWeb.getServiceWorkerInfo()).then(i=>i&&t.LogDispatcher._post(t.LogCommon.envelope("info","Loader diagnostics",{sendOnce:!0,logKey:`${n}:sw`,sw:i}))).catch(()=>{}),Math.random()<.01&&t.LogWeb.fetchCfDiag(r).then(i=>i&&t.LogDispatcher._post(t.LogCommon.envelope("info","Loader diagnostics",{sendOnce:!0,logKey:`${n}:cf`,cf:i}))).catch(()=>{})},400)}}static _computeStaleness({version:n,versionCache:t}){const f=Date.now();let i=null,r=null;if(typeof t=="string"&&/^\d{15,}$/.test(t))try{const u=BigInt(t),f=(u-621355968000000000n)/10000n,n=Number(f);Number.isFinite(n)&&n>0&&(i=n,r="versionCache")}catch{}if(!i&&typeof n=="string"){const t=n.match(/(\d{4})[.\-_\/](\d{1,2})(?:[.\-_\/](\d{1,2}))?/);if(t){const f=+t[1],u=+t[2],n=t[3],e=n&&+n>=1&&+n<=31?+n:1;f>=2e3&&u>=1&&u<=12&&(i=Date.UTC(f,u-1,e),r="versionString")}}const e=i?new Date(i).toISOString():null,u=i?Math.floor((f-i)/864e5):null,o=typeof u=="number"?u>7:null;return{builtAtISO:e,ageDays:u,isStale7d:o,staleSource:r}}}),t.LogDispatcher=(class{static _inited=false;static init(){this._inited||(this._inited=!0,this.traffic=Math.ceil(Math.random()*100),this.weight=t.TagAnalyticsWeight,t.LogCore.scheduleIdle(()=>{t.LogCore.sampled(this.weight,this.traffic)&&t.LogDiagnostics?.run&&t.LogDiagnostics.run()},200))}static error(n,i={}){i&&i.error&&(i.error=t.LogCore.serializeError(i.error));this.fetch("error",n,i)}static warn(n,t={}){this.fetch("warning",n,t)}static info(n,t={}){this.fetch("info",n,t)}static fetch=(n,i,r={})=>{this.init();if(!t.LogCore.sampled(this.weight,this.traffic))return;if(r.sendOnce){const n=r.logKey||i;if(t.LogCore.hasAlreadyLogged(n))return;t.LogCore.markAsLogged(n)}const u=t.LogCommon.envelope(n,i,r);this._post(u)};static _post=n=>{try{const u=()=>(crypto.randomUUID?.()||("e_"+Date.now()+"_"+Math.random().toString(36).slice(2)));n.eid=n.eid||u();const r=`${t.TagAnalyticsUrl}/logger`;const i=JSON.stringify(t.LogCore.prune(n));if(navigator.sendBeacon&&i.length<60*1024){const n=navigator.sendBeacon(r,i);if(!n&&typeof fetch==="function"){fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},i,keepalive:true,credentials:"omit",cache:"no-store"}).catch(()=>{})}return}fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},i,keepalive:true,credentials:"omit",cache:"no-store"}).catch(()=>{})}catch{}};}),t.LogWeb=(class{static getBrowserInfo(){try{const n=navigator.userAgent||"";let i="Unknown",r="";return/firefox\/\d+/i.test(n)?(i="Firefox",r=(n.match(/firefox\/(\d+)/i)||[,""])[1]):/edg\/\d+/i.test(n)?(i="Edge",r=(n.match(/edg\/(\d+)/i)||[,""])[1]):/chrome\/\d+/i.test(n)&&!/edg/i.test(n)?(i="Chrome",r=(n.match(/chrome\/(\d+)/i)||[,""])[1]):/safari\/\d+/i.test(n)&&!/chrome/i.test(n)&&(i="Safari",r=(n.match(/version\/(\d+)/i)||[,"Unknown"])[1]),{browser:i,version:r,device:t.device}}catch{return{browser:"Unknown",version:"Unknown",device:t.device}}}static getUserAgent(){try{return navigator.userAgent}catch{return"Unknown"}}static getReferrer(){try{return document.referrer||null}catch{return null}}static getPageInfo(){try{return{origin:location.origin,protocol:location.protocol.replace(":",""),pathname:location.pathname}}catch{return null}}static getScriptSrc(){try{const u=new RegExp("^"+t.tagurl.split("/dfp/")[0].replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\/dfp\\/[^\\/?#]+","i");let n,i,r;if(n=document.currentScript&&document.currentScript.src,n&&u.test(n))return n;for(r=document.getElementsByTagName("script"),i=r.length-1;i>=0;i--)if(n=r[i].src||r[i].getAttribute("src"),n&&u.test(n))return n;for(r=performance.getEntriesByType?performance.getEntriesByType("resource"):[],i=r.length-1;i>=0;i--)if(n=r[i]&&r[i].name,n&&u.test(n))return n;return null}catch{return null}}static getScriptQueryParams(){try{const n=this.getScriptSrc();if(!n)return{};const i=new URL(n),t={};for(const[n,r]of i.searchParams.entries())t[n]=r;return t}catch{return{}}}static _findPerfEntry(n){try{const i=performance.getEntriesByName(n);if(i&&i.length)return i[0];const t=performance.getEntriesByType("resource");if(!t||t.length===0||t.length>250)return null;for(let i=0;i<t.length;i++){const r=t[i];if(r.initiatorType==="script"&&r.name&&r.name.indexOf(n)!==-1)return r}return null}catch{return null}}static getScriptFinalUrl(n){try{if(!n)return null;const t=this._findPerfEntry(n);return t?.name||null}catch{return null}}static getPerformanceFor(t){try{if(!t||!("performance"in n))return null;const i=this._findPerfEntry(t);if(!i)return null;const f=Array.isArray(i.serverTiming)?i.serverTiming.slice(0,6).map(n=>({name:n.name,desc:n.description||""})):[],r=n=>Number.isFinite(n)?Math.trunc(n):null,u=n=>Number.isFinite(n)?+n:null;return{name:i.name||null,initiatorType:i.initiatorType||null,nextHopProtocol:i.nextHopProtocol||null,transferSize:r(i.transferSize),encodedBodySize:r(i.encodedBodySize),decodedBodySize:r(i.decodedBodySize),duration:u(i.duration),redirectTime:u((i.redirectEnd||0)-(i.redirectStart||0)),fetchToResponse:u((i.responseEnd||0)-(i.fetchStart||0)),serverTiming:f}}catch{return null}}static getServiceWorkerInfo(){const n={controlled:!!navigator.serviceWorker?.controller,scope:null,scriptURL:null};try{return!("serviceWorker"in navigator)||!n.controlled?n:navigator.serviceWorker.getRegistration().then(t=>(t?.active&&(n.scope=t.scope||null,n.scriptURL=t.active.scriptURL||null),n)).catch(()=>n)}catch{return n}}static fetchCfDiag(n){try{const i=t&&t.tagurl?new URL(t.tagurl):null;if(!i)return Promise.resolve(null);const r=new URL("/ppads-diag",i.origin);return n&&r.searchParams.set("u",n),fetch(r.toString(),{method:"GET",mode:"cors",cache:"no-store",credentials:"omit"}).then(n=>n.ok?n.json():null).catch(()=>null)}catch{return Promise.resolve(null)}}}),t.afterLoadAllFormats=()=>{t.googletagRefresh(),t.ViewabilityBooster(),t.Taboola||(t.Taboola=new t.adstaboola),t.MgId||(t.MgId=new t.adsmgid),t.Seedtag(),t.display(),setTimeout(()=>{t.navegg&&t.navegg(n,document),t.LiveRamp&&t.LiveRamp(),t.Teads&&t.Teads(n)},5e3)},t.afterReloadAllFormats=()=>{t.display()},t.loadAllFormats=()=>{n.frameElement&&(t.HasFlex=t.HasAnchor=t.HasPosPopup=t.HasReward=!1),t.PremiumGlobal&&(t.GlobalInstance=new t.PremiumGlobal),t.HasInText&&t.InText&&(t.InTextInstance=new t.InText),t.HasInImage&&t.PremiumInImage&&(t.InImage=new t.PremiumInImage),t.HasAnchor&&t.PremiumAnchor&&(t.Anchor=new t.PremiumAnchor),t.HasFlex&&t.PremiumFlex&&(t.formats.flex=new t.PremiumFlex),t.HasInFeed&&t.PremiumInfeed&&(t.InFeed=new t.PremiumInfeed),t.CustomAdFormat&&(t.CustomAd=new t.CustomAdFormat(t.CustomAdJson,t.CustomAdStyle)),t.RewardFormat&&(t.Reward=new t.RewardFormat),t.HasInStream&&t.PremiumInstream&&new t.PremiumInstream,t.loadOutStreamSlider&&t.loadOutStreamSlider(),t.HasRadioAd&&t.RadioAd&&new t.RadioAd,t.loadOutstream()},t.loadOutstream=()=>{let i=!1;n.addEventListener(t.DisplaySlotRenderEndedEventKey,()=>{t.hasReward()||i||(i=!0,t.formats.outstreamInText&&(t.formats.outstreamInText.destroy(),t.formats.outstreamInText=undefined),t.HasOutstream&&t.PremiumOutstream&&!t.formats.outstreamInText&&(t.formats.outstreamInText=new t.PremiumOutstream,t.PassbackTeads=()=>t.formats.outstreamInText.loadPlayer()))},!1)},t.reloadAllFormats=()=>{t.GlobalInstance&&t.GlobalInstance.load(),t.InTextInstance&&t.InTextInstance.reload(),t.InImage&&t.InImage.reload(),t.Anchor&&t.Anchor.reload(),t.formats.flex&&t.formats.flex.reload(),t.CustomAd&&t.CustomAd.reload(),t.Reward&&t.Reward.reload(),t.InFeed&&t.InFeed.reload(),t.formats.outstreamInText&&(t.formats.outstreamInText.destroy(),t.formats.outstreamInText=undefined),t.loadOutStreamSlider&&t.loadOutStreamSlider(),t.loadOutstream()},t.load=()=>t.waitForVar("googletag.apiReady",()=>{if(t.setinitconfigs(),t.isIframe)return t.display();try{t.setCustomScripts()}catch(n){t.logerror("load","customScripts",n);t.LogDispatcher.error("Core failed during customScripts load execution",{component:"Core",error:n})}t.loadAllFormats();t.afterLoadAllFormats();t.renderAd()}),t.reload=()=>{if(t.setinitconfigs(),t.isIframe)return t.display();t.reloadAllFormats();t.afterReloadAllFormats()},(()=>{n.addEventListener("scroll",t.throttle(()=>{const n=()=>{for(let n=0;n<t.scroll.que.length;++n)t.scroll.que[n]()};t.debounce(()=>n(),500)},500)),t.GPT_SRC="https://securepubads.g.doubleclick.net/tag/js/gpt.js",t.isGptPresent()?t.LogDispatcher.info("GoogleTag already present",{component:"GPT",sendOnce:!0,logKey:"googletag-present"}):t.loadScript(t.GPT_SRC,()=>t.LogDispatcher.info("Loading GoogleTag script",{component:"GPT",sendOnce:!0,logKey:"googletag-load"})),t.googletagEventListeners=new t.GoogleTagEvents,t.googletagEventListeners.mount(),t.switches.prebid&&!t.PrebidLazyLoad&&t.loadScript(t.PbjsUrl),t.apstagInit(),t.EnableTagsAnalytics&&new t.EnableTagsAnalytics,t.spaReadyKey="pp-spa-ready",t.afterSPAChanges=()=>setTimeout(()=>{t.reload()}),t.getLastURL=()=>{const t=["#google_vignette","#goog_rewarded"];let n=location.href;for(let i=0;i<t.length;i++)n=n.replace(t[i],"");return n},t.lastURL=t.getLastURL(),t.afterPageChanges=n=>setTimeout(()=>{const i=document.body.classList;i.contains(t.spaReadyKey)||i.add(t.spaReadyKey);n()}),setInterval(()=>{const n=t.getLastURL();n!==t.lastURL&&(t.lastURL=n,t.afterPageChanges(()=>t.afterSPAChangesCustomScriptCallback?t.afterSPAChangesCustomScriptCallback():t.afterSPAChanges()))},3e3),t.switches.prebid&&i.que.push(function(){try{const n={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:6e3,auctionDelay:0,userIds:[{name:"criteo"},{name:"naveggId",storage:{name:"nvggid",type:"cookie&html5",expires:8}},{name:"yandex",bidders:["yandex"],storage:{type:"cookie",name:"_ym_uid",expires:365}},]},priceGranularity:{buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5},{max:35,increment:1},]},enableSendAllBids:!1,schain:{validation:"strict",config:t.schain},maxRequestsPerOrigin:10,maxNestedIframes:10,floors:{enforcement:{enforceJS:!0},schema:{fields:["mediaType"]},currency:"USD"},suppressEmptyKeys:!0,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache",ignoreBidderCacheKey:!0},enableTIDs:!0,useBidCache:!0};n.currency={adServerCurrency:"USD",rates:{USD:{USD:1,BRL:t.USD,EUR:t.USD/t.EUR}}};i.setConfig(n);i.aliasBidder("appnexus","appnexusTest");i.bidderSettings={standard:{storageAllowed:!0},taboola:{storageAllowed:!0}}}catch(n){t.LogDispatcher.error("Prebid failed during pbjs.setConfig execution",{component:"Prebid",error:n});throw n;}}),t.PremiumUri&&(t.Uri=new t.PremiumUri,t.Uri.appendVastTag()),t.SelectorHelper.supportsHasSelector()||t.LogDispatcher.warning("Browser does not support :has() selector",{component:"Core",sendOnce:!0,logKey:"has-selector-not-supported"}),t.UtmSource=t.getParameterByName("utm_source"),t.UtmMedium=t.getParameterByName("utm_medium"),t.UtmCampaign=t.getParameterByName("utm_campaign"),t.load()})(),{_ppads:t,_pbjs:i,googletag:r,adsbygoogle:u}})(window,_ppads||{},window._pbjs||{},window.googletag||{},window.adsbygoogle||[])