CONTINUA DEPOIS DA PUBLICIDADE

Notícias da Copa

Vídeos

CONTINUA DEPOIS DA PUBLICIDADE

Viu isso?

Seleção brasileira já encarou os dois times em Mundiais, com uma vitória e uma derrota

Noruega e Costa do Marfim: quem é o melhor adversário para o Brasil no próximo jogo da Copa? Veja os números

Zagueiro fez o passe para gol de Casemiro, que recolocou a seleção brasileira na partida, e comemorou classificação nos acréscimos do segundo tempo

Gabriel Magalhães explica cruzamento para gol de empate do Brasil e cita motivo de virada contra o Japão: 'Calma'

Mata-mata entre Noruega e Costa do Marfim acontece nesta terça-feira (30): veja horário e onde assistir

Noruega ou Costa do Marfim? Saiba quem é o próximo adversário do Brasil na Copa do Mundo

Volante teve atuação ruim no primeiro tempo, mas virou herói com gol de empate na segunda etapa

Após ser substituído com dores, Casemiro diz que está bem: 'câimbra, nada de mais'

Proposta de Emenda à Constituição 14/2021 institui idade mínima de 57 anos para mulheres e 60 anos para homens, condicionados à comprovação de, no mínimo, 25 anos de contribuição

Senado vota nesta terça-feira PEC que prevê aposentadoria diferenciada para ACE e ACS

Greve iniciada à meia-noite atrapalhou a vida dos usuários de ônibus no começo do dia e também fez os passageiros enfrentarem dificuldade ao sair do trabalho, antes do jogo

Rodoviários convocam assembleia para esta terça-feira, depois da audiência de conciliação no TRT

Técnico elogiou o grupo e explicou que conversou com o craque do Santos sobre sua participação no jogo

Ancelotti diz que colocaria Neymar se a seleção não tivesse empatado antes, e depois o guardou para prorrogação

Frase que viralizou em documentário do Globoplay ganhou novo significado durante o jogo da Copa do Mundo e dominou o X com brincadeiras sobre as defesas de Zion Suzuki

'Tia Helena odiava Suzuki': meme do jogo do Brasil x Japão faz goleiro ser jogador japonês mais comentado da partida

Seleção brasileira saiu atrás do placar, mas buscou a virada com o atacante do Arsenal e Casemiro

Com gol de Martinelli nos acréscimos, Brasil vence o Japão e avança às oitavas de final da Copa do Mundo
CONTINUA DEPOIS DA PUBLICIDADE
CONTINUA DEPOIS DA PUBLICIDADE
CONTINUA DEPOIS DA PUBLICIDADE

"),n.document.write("\n

"),n.document.close(),n.focus(),!0};t.getAdConfig=function(){var e=window.cdaaas&&window.cdaaas.SETTINGS||{},t={adUnit:e.TAG_MANAGER_AD_UNIT,adCustomData:e.TAG_MANAGER_AD_CUSTOM_DATA,adCmsId:e.TAG_MANAGER_AD_CMS_ID,adAccountId:e.TAG_MANAGER_AD_ACCOUNT_ID,extras:e.TAG_MANAGER_AD_EXTRAS,gaProductUA:e.PRODUCT_UA},n={width:"100%",height:"100%",adUnit:t.adUnit,adCmsId:t.adCmsId,adAccountId:t.adAccountId,ga:{productUA:t.gaProductUA,extras:{dimension1:"web"}}},r=["ambient=web","tipo_pagina=multi-content"];if(t.adCustomData&&r.push(t.adCustomData),t.extras){if("object"===o(t.extras)){var c=[];for(var i in t.extras)c.push(encodeURIComponent(i+"="+t.extras[i]));r.push("tvg_Extras=".concat(c.join(",")))}"string"==typeof t.extras&&r.push("tvg_Extras=".concat(t.extras))}return n.adCustomData=r.join("&"),n};var r=function(e,t){var n=document.createElement("script");n.type="text/javascript",n.defer=!0,n.charset="utf-8",n.src=e,n.onload=n.onreadystatechange=function(){(t&&!this.readyState||"complete"==this.readyState)&&t()},document.getElementsByTagName("head")[0].appendChild(n)};t.loadScript=r;var c=function(e,t){var n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.media="screen,print",n.href=e,n.onload=n.onreadystatechange=function(){(t&&!this.readyState||"complete"==this.readyState)&&t()},document.getElementsByTagName("head")[0].appendChild(n)};t.loadStyle=c;t.loadAssets=function(e,t){e.forEach(function(e){switch(e.type){case"stylesheet":c(e.src,t);break;case"script":r(e.src,t)}})};t.whenAvailable=function(e,t){window.setTimeout(function n(){window[e]?t():window.setTimeout(n,50)},50)}},15:function(e,t,n){},16:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adsLazyload=function(){var e=document.querySelectorAll(".tag-manager-publicidade-container[data-id]");if(console.log("[Lazy loading] Slots encontrados",e),0===e.length)return;e.forEach(function(e){var t=e.getAttribute("data-id");e.setAttribute("id",t),(0,o.whenAvailable)("bannerLazyLoading",function(){return function(e){new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(t.unobserve(e.target),googletag&&!googletag.pubads().getSlots().some(function(t){return t.getSlotElementId()===e.target.id})?(window.bannerLazyLoading(e.target.id,void 0),console.log("[Lazy loading] Iniciado - Publicidade com id ".concat(e.target.id," montada."))):console.log("[Lazy loading] Abortado - Publicidade com id ".concat(e.target.id," já estava montada."),{googletag:googletag,id:e.target.id}))})},{rootMargin:"150px 0px",threshold:.01}).observe(e)}(e)})})};var o=n(0)},17:function(e,t,n){"use strict";var o,r,c;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(n,a){"object"==i(t)&&void 0!==e?a(t):(r=[t],void 0===(c="function"==typeof(o=a)?o.apply(t,r):o)||(e.exports=c))}(0,function(e){var t,n,o=[];function r(e){var t=!0;return function(){t&&(e(),t=!1,setTimeout(function(){return t=!0},150))}}function c(e){var t=i();return e.el.getBoundingClientRect()[e.reference]+t-e.offset}function i(){if("undefined"!=typeof pageYOffset)return pageYOffset;var e=document.documentElement;return(e=e.clientHeight?e:document.body).scrollTop}function a(){}function d(){var e;e=document.body.offsetHeight,n!==e&&(n=e,function(){t=window.innerHeight;for(var e=0,n=o;e=u.pos))break;u.callback&&u.callback(),o.shift()}o.length||(window.removeEventListener("scroll",r(d)),window.removeEventListener("resize",r(a)))}e.add=function(e){if(!e.el)throw new Error("[@globocom/scrollspy] item.el is required");var i=Object.assign({offset:200,reference:"top",pos:0},e);i.pos=c(i);var u=o.findIndex(function(e){return e.pos>i.pos});o.splice(-1===u?o.length:u,0,i),1===o.length&&(t=window.innerHeight,n=document.body?document.body.offsetHeight:0,window.addEventListener("scroll",r(d)),window.addEventListener("resize",r(a))),l()},e.clean=function(){o=[]},e.debug=function(){return o.forEach(function(e,t){var n="2px dashed "+(t%2?"red":"blue"),o=document.createElement("div"),r=["top: "+e.pos+";","width: 100%;","position: absolute;","border-top: "+n+";"].join("");e.el.style.border=n,o.className="debug-line",o.setAttribute("style",r),document.body.appendChild(o)}),o},e.getItems=function(){return o.map(function(e){return e})},Object.defineProperty(e,"__esModule",{value:!0})})},18:function(e,t,n){"use strict";var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(17)),r=n(16);n(15);var c=n(0);window.ScrollSpy=o,(0,c.whenAvailable)("libPubReady",r.adsLazyload)}}); !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([,function(e,t,n){},function(e,t,n){"use strict";n(1)}]); !function(t){var e={};function o(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(r,i,function(e){return t[e]}.bind(null,i));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=4)}([function(t,e,o){var r=o(2)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e){function o(t,e,o,r,i,n,a){try{var c=t[n](a),s=c.value}catch(t){return void o(t)}c.done?e(s):Promise.resolve(s).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise(function(i,n){var a=t.apply(e,r);function c(t){o(a,i,n,c,s,"next",t)}function s(t){o(a,i,n,c,s,"throw",t)}c(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,o){var r=o(3).default;function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=i=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var e,o={},n=Object.prototype,a=n.hasOwnProperty,c=Object.defineProperty||function(t,e,o){t[e]=o.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function h(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,o){return t[e]=o}}function p(t,e,o,r){var i=e&&e.prototype instanceof O?e:O,n=Object.create(i.prototype),a=new C(r||[]);return c(n,"_invoke",{value:E(t,o,a)}),n}function f(t,e,o){try{return{type:"normal",arg:t.call(e,o)}}catch(t){return{type:"throw",arg:t}}}o.wrap=p;var g="suspendedStart",v="suspendedYield",y="executing",_="completed",m={};function O(){}function w(){}function b(){}var L={};h(L,u,function(){return this});var G=Object.getPrototypeOf,x=G&&G(G(j([])));x&&x!==n&&a.call(x,u)&&(L=x);var D=b.prototype=O.prototype=Object.create(L);function S(t){["next","throw","return"].forEach(function(e){h(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function o(i,n,c,s){var u=f(t[i],t,n);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&a.call(d,"__await")?e.resolve(d.__await).then(function(t){o("next",t,c,s)},function(t){o("throw",t,c,s)}):e.resolve(d).then(function(t){l.value=t,c(l)},function(t){return o("throw",t,c,s)})}s(u.arg)}var i;c(this,"_invoke",{value:function(t,r){function n(){return new e(function(e,i){o(t,r,e,i)})}return i=i?i.then(n,n):n()}})}function E(t,o,r){var i=g;return function(n,a){if(i===y)throw Error("Generator is already running");if(i===_){if("throw"===n)throw a;return{value:e,done:!0}}for(r.method=n,r.arg=a;;){var c=r.delegate;if(c){var s=N(c,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===g)throw i=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=y;var u=f(t,o,r);if("normal"===u.type){if(i=r.done?_:v,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=_,r.method="throw",r.arg=u.arg)}}}function N(t,o){var r=o.method,i=t.iterator[r];if(i===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,N(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var n=f(i,t.iterator,o.arg);if("throw"===n.type)return o.method="throw",o.arg=n.arg,o.delegate=null,m;var a=n.arg;return a?a.done?(o[t.resultName]=a.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,m):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var o=t[u];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function o(){for(;++i=0;--i){var n=this.tryEntries[i],c=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc=0;--o){var r=this.tryEntries[o];if(r.tryLoc=0;--e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),I(o),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc===t){var r=o.completion;if("throw"===r.type){var i=r.arg;I(o)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:j(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=e),m}},o}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function o(e){"@babel/helpers - typeof";return t.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,o){"use strict";o.r(e);var r=o(1),i=o.n(r),n=o(0),a=o.n(n);const c="debug",s=Object.freeze({oglobo:{id:"3981",id_simple:"6907",cod_prod:"OG03",isOidcLogin:!1,isNewLoginService:!0,productGroup:"oglobo"},valor:{id:"6668",id_simple:"6908",cod_prod:"valordigital",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},valoroneinterno:{id:"7097",id_simple:"6908",cod_prod:" valor-one",isOidcLogin:!1,isNewLoginService:!0,productGroup:""},monet:{id:"6618",id_simple:"6618",cod_prod:"monet",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},autoesporte:{id:"6613",id_simple:"6613",cod_prod:"auto-esporte",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},vogue:{id:"6614",id_simple:"6614",cod_prod:"vogue",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},glamour:{id:"6616",id_simple:"6616",cod_prod:"glamour",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},casavogue:{id:"6610",id_simple:"6610",cod_prod:"casa-vogue",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},marieclaire:{id:"6609",id_simple:"6609",cod_prod:"marie-claire",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},globorural:{id:"6621",id_simple:"6612",cod_prod:"globo-rural",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},gq:{id:"6622",id_simple:"6622",cod_prod:"gq",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},crescer:{id:"6620",id_simple:"6620",cod_prod:"crescer",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},galileu:{id:"6697",id_simple:"6697",cod_prod:"galileu",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},epocanegocios:{id:"6611",id_simple:"6611",cod_prod:"epoca-negocios",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},casaejardim:{id:"6619",id_simple:"6619",cod_prod:"casa-jardim",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},quem:{id:"6697",id_simple:"6697",cod_prod:"quem",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},pegn:{id:"6615",id_simple:"6615",cod_prod:"pequenas-empresas",isOidcLogin:!1,isNewLoginService:!1,productGroup:""}}),u=Object.freeze({prod:{API_INFOGLOBO:"https://api.infoglobo.com.br/",MODE:"production"},qa:{API_INFOGLOBO:"https://apiqlt-ig.infoglobo.com.br/",MODE:"production"}}),l=5e3,d="UserDataGloboId";class h{constructor(t="oglobo",e="prod",o=!1){this.tenant=t,this.config={...s[t],...u[e]},this.config.MODE===c||this.config.MODE,this._setData({autorizado:!1,logado:!1,motivo:"",glbid:"",uuid:"",access_token:""})}async getData(){const t=this._getAccessToken(),e=this._getCookieCache(),o=this._getGLOBOID(),r=this._getGLBID(),i=this._getUTP();if(r||t)if(this._isCookieCacheValid()){const t=this._getCookieCacheData(e);this._setData(t),this.LOG("Cache setado",this.data)}else{if(t&&(this._setData({access_token:t}),this.LOG("Access Token setado",this.data)),r&&(this._setData({logado:!0,glbid:r}),this.LOG("GLBID setado",this.data)),o){const t=this._getGLOBOIDData(o);this._setData({...t,uuid:t.globoId}),this.LOG("GLOBO_ID setado",this.data)}if(i){const t=this._getUTPData(i);this._setData(t),this.LOG("_utp setado",this.data)}else await this._getBarramentoData();this._setCookieCache()}else h.eraseCookie(d);return this.data}static getCookie(t){var e=" "+document.cookie,o=" "+t+"=",r=e.indexOf(o);if(-1===r)return null;var i=r+o.length,n=e.indexOf(";",i);return-1!==n?e.substring(i,n):e.substring(i)}static setCookie(t,e,o){var r="";if(o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=t+"="+(e||"")+r+"; path=/"}static eraseCookie(t){document.cookie=t+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}_setData(t){"object"==typeof t&&(this.data={...this.data,...t})}_getUTPData(t){try{const e=decodeURIComponent(atob(t));return JSON.parse(e)}catch(t){throw new Error("[infoglobo-user-lib] Erro na conversão do cookie _utp")}}_getGLOBOIDData(t){try{const e=atob(t.split(".")[1]);return JSON.parse(e)}catch(t){throw new Error("[infoglobo-user-lib] Erro na conversão do cookie GLOBO_ID")}}_getCookieCacheData(t){try{return JSON.parse(t)}catch(t){throw new Error(`[infoglobo-user-lib] Erro na conversão do cookie ${d}`)}}async _getBarramentoData(){return new Promise((t,e)=>{setTimeout(async()=>{if(this.data.glbid||this.data.access_token)try{const t=this._getUTP(),o=this._getGLOBOID();if(o){const t=this._getGLOBOIDData(o);this._setData({...t,uuid:t.globoId}),this.LOG("Timeout GLOBO_ID setado",this.data)}if(t){const e=this._getUTPData(t);this._setData(e),this.LOG("Timeout _utp setado",this.data)}else this.data.access_token?await this._fetchDataV4(this.data.access_token):await this._fetchData()}catch(t){e(t)}t(this.data)},l)})}async _fetchData(){try{const t=`${this.config.API_INFOGLOBO}relacionamento/v3/funcionalidade/${this.config.id}/autorizacao-acesso`,e={ipUsuario:"127.0.0.1","token-autenticacao":this.data.glbid,codigoProduto:this.config.cod_prod},o=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","ig-requestid":`infoglobo-user-lib-${(new Date).getTime()}`},body:JSON.stringify(e)}),r=await o.json();this._setData(r),this.LOG("Timeout Barramento v3 setado",this.data)}catch(t){throw new Error("[infoglobo-user-lib] Erro ao consultar a API")}}async _fetchDataV4(t){try{const e=`${this.config.API_INFOGLOBO}relacionamento/v4/autorizacao-acesso/${this.config.id_simple}/solicitacao-autorizacao/`,o={"token-acesso":t,codigoProduto:this.config.cod_prod},r=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","ig-requestid":`infoglobo-user-lib-${(new Date).getTime()}`},body:JSON.stringify(o)}),i=await r.json();this._setData(i),this.LOG("Timeout Barramento v4 setado",this.data)}catch(t){throw new Error("[infoglobo-user-lib] Erro ao consultar a API Barramento v4")}}_getAccessToken(){const t=`globoid-tokens-${window.oidcSettings.clientId}`,e=window.localStorage.getItem(t);return e?JSON.parse(e).access_token:void 0}_getGLBID(){return h.getCookie("GLBID")}_getUTP(){return h.getCookie("_utp")}_getGLOBOID(){return h.getCookie("GLOBO_ID")}_getCookieCache(){return h.getCookie(d)}_setCookieCache(){h.setCookie(d,JSON.stringify(this.data),1)}_isCookieCacheValid(){const t=this._getCookieCache(),e=this._getGLOBOID();if(t&&e){const o=this._getCookieCacheData(t),r=this._getGLOBOIDData(e);return o.globoId===r.globoId}return!1}LOG(t="",e={}){this.config.MODE===c&&console.log("[infoglobo-user-lib]",t,e)}}var p=h,f=function(){var t=window.location.hostname;return t.includes("local.globo.com")||t.includes("localhost")||t.includes(".qa.globoi.com")||t.includes(".qa01.globoi.com")||t.includes(".dev.globoi.com")?"qa":"prod"};if(window.tenant){var g=function(){var t=i()(a.a.mark(function t(){var e,o,r;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=new p(v,y,!0),t.next=3,e.getData();case 3:o=t.sent,r=o.autorizado||!1,OneSignal.push(function(){OneSignal.sendTag("autorizado",r)});case 6:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),v=window.tenant?window.tenant:null,y=window.glb&&"function"==typeof window.glb.getCurrentEnv?window.glb.getCurrentEnv():f(),_=window.OneSignalConfig&&window.OneSignalConfig.tenantsNotReq?window.OneSignalConfig.tenantsNotReq:[];v&&!_.includes(v)?(g(),console.log("[ONESIGNAL] Tenant ".concat(v," - Sending tag to Onesignal"))):v?console.log("[ONESIGNAL] Tenant ".concat(v," - Tag not sent to Onesignal")):console.log("[ONESIGNAL] Tenant no definido - Tag not sent to Onesignal")}}]); !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);r(1)},function(e,t,r){}]); !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);n(1);window.addEventListener("load",()=>{let e=document.createElement("BUTTON");e.classList.add("btn-fullbanner-close"),e.setAttribute("width","10px"),e.setAttribute("height","10px"),document.querySelector("#mc-container-top").appendChild(e),document.querySelector(".btn-fullbanner-close").addEventListener("click",e=>e.target.parentNode.classList.remove("banner-scroll-fixed")),document.querySelector(".btn-fullbanner-close").addEventListener("click",e=>e.target.parentNode.classList.add("banner-hide"))})},function(e,t,n){}]); !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);n(1);console.log("teste")},function(e,t,n){}]); !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([,,,function(e,t,r){"use strict";r.r(t);r(4)},function(e,t,r){}]); (function(){function Se(e){return typeof e=="number"}function Ee(e){return typeof e=="string"}function be(e){return typeof e=="boolean"}function Fe(e){return Object.prototype.toString.call(e)==="[object Object]"}function I(e){return Math.abs(e)}function Te(e){return Math.sign(e)}function ae(e,t){return I(e-t)}function bt(e,t){if(e===0||t===0||I(e)t+n)}function de(e){return Object.keys(e)}function Re(e,t){return[e,t].reduce((o,n)=>(de(n).forEach(r=>{const s=o[r],i=n[r],l=Fe(s)&&Fe(i);o[r]=l?Re(s,i):i}),o),{})}function ke(e,t){return typeof t.MouseEventr.removeEventListener(s,i,l);else{const a=r;a.addListener(i),c=()=>a.removeListener(i)}return e.push(c),n}function o(){e=e.filter(r=>r())}const n={add:t,clear:o};return n}function xt(e,t,o,n){const r=fe(),s=1e3/60;let i=null,l=0,c=0;function a(){r.add(e,"visibilitychange",()=>{e.hidden&&f()})}function C(){v(),r.clear()}function u(m){if(!c)return;i||(i=m,o(),o());const d=m-i;for(i=m,l+=d;l>=s;)o(),l-=s;const h=l/s;n(h),c&&(c=t.requestAnimationFrame(u))}function p(){c||(c=t.requestAnimationFrame(u))}function v(){t.cancelAnimationFrame(c),i=null,l=0,c=0}function f(){i=null,l=0}return{init:a,destroy:C,start:p,stop:v,update:o,render:n}}function St(e,t){const o=t==="rtl",n=e==="y",r=n?"y":"x",s=n?"x":"y",i=!n&&o?-1:1,l=C(),c=u();function a(f){const{height:g,width:m}=f;return n?g:m}function C(){return n?"top":o?"right":"left"}function u(){return n?"bottom":o?"left":"right"}function p(f){return f*i}return{scroll:r,cross:s,startEdge:l,endEdge:c,measureSize:a,direction:p}}function J(e=0,t=0){const o=I(e-t);function n(a){return at}function s(a){return n(a)||r(a)}function i(a){return s(a)?n(a)?e:t:a}function l(a){return o?a-o*Math.ceil((a-t)/o):a}return{length:o,max:t,min:e,constrain:i,reachedAny:s,reachedMax:r,reachedMin:n,removeOffset:l}}function We(e,t,o){const{constrain:n}=J(0,e),r=e+1;let s=i(t);function i(p){return o?I((r+p)%r):n(p)}function l(){return s}function c(p){return s=i(p),u}function a(p){return C().set(l()+p)}function C(){return We(e,l(),o)}const u={get:l,set:c,add:a,clone:C};return u}function Et(e,t,o,n,r,s,i,l,c,a,C,u,p,v,f,g,m,d,h){const{cross:L,direction:w}=e,y=["INPUT","SELECT","TEXTAREA"],S={passive:!1},x=fe(),E=fe(),T=J(50,225).constrain(v.measure(20)),_={mouse:300,touch:400},M={mouse:500,touch:600},N=f?43:25;let U=!1,F=0,Z=0,ee=!1,K=!1,q=!1,z=!1;function me(b){if(!h)return;function k(A){(be(h)||h(b,A))&&ve(A)}const H=t;x.add(H,"dragstart",A=>A.preventDefault(),S).add(H,"touchmove",()=>{},S).add(H,"touchend",()=>{}).add(H,"touchstart",k).add(H,"mousedown",k).add(H,"touchcancel",B).add(H,"contextmenu",B).add(H,"click",G,!0)}function R(){x.clear(),E.clear()}function se(){const b=z?o:t;E.add(b,"touchmove",D,S).add(b,"touchend",B).add(b,"mousemove",D,S).add(b,"mouseup",B)}function ie(b){const k=b.nodeName||"";return y.includes(k)}function j(){return(f?M:_)[z?"mouse":"touch"]}function he(b,k){const H=u.add(Te(b)*-1),A=C.byDistance(b,!f).distance;return f||I(b)=2,!(k&&b.button!==0)&&(ie(b.target)||(ee=!0,s.pointerDown(b),a.useFriction(0).useDuration(0),r.set(i),se(),F=s.readPoint(b),Z=s.readPoint(b,L),p.emit("pointerDown")))}function D(b){if(!ke(b,n)&&b.touches.length>=2)return B(b);const H=s.readPoint(b),A=s.readPoint(b,L),W=ae(H,F),X=ae(A,Z);if(!K&&!z&&(!b.cancelable||(K=W>X,!K)))return B(b);const te=s.pointerMove(b);W>g&&(q=!0),a.useFriction(.3).useDuration(.75),l.start(),r.add(w(te)),b.preventDefault()}function B(b){const H=C.byDistance(0,!1).index!==u.get(),A=s.pointerUp(b)*j(),W=he(w(A),H),X=bt(A,W),te=N-10*X,Q=d+X/50;K=!1,ee=!1,E.clear(),a.useDuration(te).useFriction(Q),c.distance(W,!f),z=!1,p.emit("pointerUp")}function G(b){q&&(b.stopPropagation(),b.preventDefault(),q=!1)}function O(){return ee}return{init:me,destroy:R,pointerDown:O}}function Tt(e,t){let n,r;function s(u){return u.timeStamp}function i(u,p){const f=`client${(p||e.scroll)==="x"?"X":"Y"}`;return(ke(u,t)?u:u.touches[0])[f]}function l(u){return n=u,r=u,i(u)}function c(u){const p=i(u)-i(r),v=s(u)-s(n)>170;return r=u,v&&(n=u),p}function a(u){if(!n||!r)return 0;const p=i(r)-i(n),v=s(u)-s(n),f=s(u)-s(r)>170,g=p/v;return v&&!f&&I(g)>.1?g:0}return{pointerDown:l,pointerMove:c,pointerUp:a,readPoint:i}}function Mt(){function e(o){const{offsetTop:n,offsetLeft:r,offsetWidth:s,offsetHeight:i}=o;return{top:n,right:r+s,bottom:n+i,left:r,width:s,height:i}}return{measure:e}}function kt(e){function t(n){return e*(n/100)}return{measure:t}}function It(e,t,o,n,r,s,i){const l=[e].concat(n);let c,a,C=[],u=!1;function p(m){return r.measureSize(i.measure(m))}function v(m){if(!s)return;a=p(e),C=n.map(p);function d(h){for(const L of h){if(u)return;const w=L.target===e,y=n.indexOf(L.target),S=w?a:C[y],x=p(w?e:n[y]);if(I(x-S)>=.5){m.reInit(),t.emit("resize");break}}}c=new ResizeObserver(h=>{(be(s)||s(m,h))&&d(h)}),o.requestAnimationFrame(()=>{l.forEach(h=>c.observe(h))})}function f(){u=!0,c&&c.disconnect()}return{init:v,destroy:f}}function Pt(e,t,o,n,r,s){let i=0,l=0,c=r,a=s,C=e.get(),u=0;function p(){const S=n.get()-e.get(),x=!c;let E=0;return x?(i=0,o.set(n),e.set(n),E=S):(o.set(e),i+=S/c,i*=a,C+=i,e.add(i),E=C-u),l=Te(E),u=C,y}function v(){const S=n.get()-t.get();return I(S)<.001 f c g l m i d h w a="S,y}const" y="{direction:g,duration:f,velocity:m,seek:p,settled:v,useBaseFriction:h,useBaseDuration:d,useFriction:w,useDuration:L};return" _t s="r.measure(10),i=r.measure(50),l=J(.1,.99);let" u ht ae j o.map>{const{min:m,max:d}=s,h=s.constrain(f),L=!g,w=Me(o,g);return L?d:w||a(m,h)?m:a(d,h)?d:h}).map(f=>parseFloat(f.toFixed(3)))}function p(){if(tf.add(v))}return{loop:C}}function At(e){const{max:t,length:o}=e;function n(s){const i=s-t;return o?i/-o:0}return{get:n}}function Nt(e,t,o,n,r){const{startEdge:s,endEdge:i}=e,{groupSlides:l}=r,c=u().map(t.measure),a=p(),C=v();function u(){return l(n).map(g=>$(g)[i]-g[0][s]).map(I)}function p(){return n.map(g=>o[s]-g[s]).map(g=>-I(g))}function v(){return l(a).map(g=>g[0]).map((g,m)=>g+c[m])}return{snaps:a,snapsAligned:C}}function Dt(e,t,o,n,r,s){const{groupSlides:i}=r,{min:l,max:c}=n,a=C();function C(){const p=i(s),v=!e||t==="keepSnaps";return o.length===1?[s]:v?p:p.slice(l,c).map((f,g,m)=>{const d=!g,h=Me(m,g);if(d){const L=$(m[0])+1;return Ze(L)}if(h){const L=ue(s)-$(m)[0]+1;return Ze(L,$(m)[0])}return f})}return{slideRegistry:a}}function Ot(e,t,o,n,r){const{reachedAny:s,removeOffset:i,constrain:l}=n;function c(f){return f.concat().sort((g,m)=>I(g)-I(m))[0]}function a(f){const g=e?i(f):l(f),m=t.map((h,L)=>({diff:C(h-g,0),index:L})).sort((h,L)=>I(h.diff)-I(L.diff)),{index:d}=m[0];return{index:d,distance:g}}function C(f,g){const m=[f,f+o,f-o];if(!e)return f;if(!g)return c(m);const d=m.filter(h=>Te(h)===g);return d.length?c(d):$(m)-o}function u(f,g){const m=t[f]-r.get(),d=C(m,g);return{index:f,distance:d}}function p(f,g){const m=r.get()+f,{index:d,distance:h}=a(m),L=!e&&s(m);if(!g||L)return{index:d,distance:f};const w=t[d]-h,y=f+C(w,0);return{index:d,distance:y}}return{byDistance:p,byIndex:u,shortcut:C}}function $t(e,t,o,n,r,s,i){function l(u){const p=u.distance,v=u.index!==t.get();s.add(p),p&&(n.duration()?e.start():(e.update(),e.render(1),e.update())),v&&(o.set(t.get()),t.set(u.index),i.emit("select"))}function c(u,p){const v=r.byDistance(u,p);l(v)}function a(u,p){const v=t.clone().set(u),f=r.byIndex(v.get(),p);l(f)}return{distance:c,index:a}}function Ut(e,t,o,n,r,s,i,l){const c={passive:!0,capture:!0};let a=0;function C(v){if(!l)return;function f(g){if(new Date().getTime()-a>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const h=o.findIndex(L=>L.includes(g));Se(h)&&(r.useDuration(0),n.index(h,0),i.emit("slideFocus"))}s.add(document,"keydown",u,!1),t.forEach((g,m)=>{s.add(g,"focus",d=>{(be(l)||l(v,d))&&f(m)},c)})}function u(v){v.code==="Tab"&&(a=new Date().getTime())}return{init:C}}function pe(e){let t=e;function o(){return t}function n(c){t=i(c)}function r(c){t+=i(c)}function s(c){t-=i(c)}function i(c){return Se(c)?c:c.get()}return{get:o,set:n,add:r,subtract:s}}function qe(e,t){const o=e.scroll==="x"?i:l,n=t.style;let r=null,s=!1;function i(p){return`translate3d(${p}px,0px,0px)`}function l(p){return`translate3d(0px,${p}px,0px)`}function c(p){if(s)return;const v=Lt(e.direction(p));v!==r&&(n.transform=o(v),r=v)}function a(p){s=!p}function C(){s||(n.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:C,to:c,toggleActive:a}}function Ft(e,t,o,n,r,s,i,l,c){const C=le(r),u=le(r).reverse(),p=d().concat(h());function v(x,E){return x.reduce((T,_)=>T-r[_],E)}function f(x,E){return x.reduce((T,_)=>v(T,E)>0?T.concat([_]):T,[])}function g(x){return s.map((E,T)=>({start:E-n[T]+.5+x,end:E+t-.5+x}))}function m(x,E,T){const _=g(E);return x.map(M=>{const N=T?0:-o,U=T?o:0,F=T?"end":"start",Z=_[M][F];return{index:M,loopPoint:Z,slideLocation:pe(-1),translate:qe(e,c[M]),target:()=>l.get()>Z?N:U}})}function d(){const x=i[0],E=f(u,x);return m(E,o,!1)}function h(){const x=t-i[0]-1,E=f(C,x);return m(E,-o,!0)}function L(){return p.every(({index:x})=>{const E=C.filter(T=>T!==x);return v(E,t){const{target:E,translate:T,slideLocation:_}=x,M=E();M!==_.get()&&(T.to(M),_.set(M))})}function y(){p.forEach(x=>x.translate.clear())}return{canLoop:L,clear:y,loop:w,loopPoints:p}}function Zt(e,t,o){let n,r=!1;function s(c){if(!o)return;function a(C){for(const u of C)if(u.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}n=new MutationObserver(C=>{r||(be(o)||o(c,C))&&a(C)}),n.observe(e,{childList:!0})}function i(){n&&n.disconnect(),r=!0}return{init:s,destroy:i}}function Rt(e,t,o,n){const r={};let s=null,i=null,l,c=!1;function a(){l=new IntersectionObserver(f=>{c||(f.forEach(g=>{const m=t.indexOf(g.target);r[m]=g}),s=null,i=null,o.emit("slidesInView"))},{root:e.parentElement,threshold:n}),t.forEach(f=>l.observe(f))}function C(){l&&l.disconnect(),c=!0}function u(f){return de(r).reduce((g,m)=>{const d=parseInt(m),{isIntersecting:h}=r[d];return(f&&h||!f&&!h)&&g.push(d),g},[])}function p(f=!0){if(f&&s)return s;if(!f&&i)return i;const g=u(f);return f&&(s=g),f||(i=g),g}return{init:a,destroy:C,get:p}}function Wt(e,t,o,n,r,s){const{measureSize:i,startEdge:l,endEdge:c}=e,a=o[0]&&r,C=f(),u=g(),p=o.map(i),v=m();function f(){if(!a)return 0;const h=o[0];return I(t[l]-h[l])}function g(){if(!a)return 0;const h=s.getComputedStyle($(n));return parseFloat(h.getPropertyValue(`margin-${c}`))}function m(){return o.map((h,L,w)=>{const y=!L,S=Me(w,L);return y?p[L]+C:S?p[L]+u:w[L+1][l]-h[l]}).map(I)}return{slideSizes:p,slideSizesWithGaps:v,startGap:C,endGap:u}}function qt(e,t,o,n,r,s,i,l,c){const{startEdge:a,endEdge:C,direction:u}=e,p=Se(o);function v(d,h){return le(d).filter(L=>L%h===0).map(L=>d.slice(L,L+h))}function f(d){return d.length?le(d).reduce((h,L,w)=>{const y=$(h)||0,S=y===0,x=L===ue(d),E=r[a]-s[y][a],T=r[a]-s[L][C],_=!n&&S?u(i):0,M=!n&&x?u(l):0,N=I(T-M-(E+_));return w&&N>t+c&&h.push(L),x&&h.push(d.length),h},[]).map((h,L,w)=>{const y=Math.max(w[L-1]||0);return d.slice(y,h)}):[]}function g(d){return p?v(d,o):f(d)}return{groupSlides:g}}function zt(e,t,o,n,r,s,i){const{align:l,axis:c,direction:a,startIndex:C,loop:u,duration:p,dragFree:v,dragThreshold:f,inViewThreshold:g,slidesToScroll:m,skipSnaps:d,containScroll:h,watchResize:L,watchSlides:w,watchDrag:y,watchFocus:S}=s,x=2,E=Mt(),T=E.measure(t),_=o.map(E.measure),M=St(c,a),N=M.measureSize(T),U=kt(N),F=yt(l,N),Z=!u&&!!h,ee=u||!!h,{slideSizes:K,slideSizesWithGaps:q,startGap:z,endGap:me}=Wt(M,T,_,o,ee,r),R=qt(M,N,m,u,T,_,z,me,x),{snaps:se,snapsAligned:ie}=Nt(M,F,T,_,R),j=-$(se)+$(q),{snapsContained:he,scrollContainLimit:ve}=Ht(N,j,ie,h,x),D=Z?he:ie,{limit:B}=Vt(j,D,u),G=We(ue(D),C,u),O=G.clone(),P=le(o),b=({dragHandler:ce,scrollBody:$e,scrollBounds:Ue,options:{loop:xe}})=>{xe||Ue.constrain(ce.pointerDown()),$e.seek()},k=({scrollBody:ce,translate:$e,location:Ue,offsetLocation:xe,previousLocation:d1,scrollLooper:f1,slideLooper:p1,dragHandler:C1,animation:g1,eventHandler:Ct,scrollBounds:m1,options:{loop:gt}},mt)=>{const ht=ce.settled(),h1=!m1.shouldConstrain(),vt=gt?ht:ht&&h1,wt=vt&&!C1.pointerDown();wt&&g1.stop();const v1=Ue.get()*mt+d1.get()*(1-mt);xe.set(v1),gt&&(f1.loop(ce.direction()),p1.loop()),$e.to(xe.get()),wt&&Ct.emit("settle"),vt||Ct.emit("scroll")},H=xt(n,r,()=>b(Oe),ce=>k(Oe,ce)),A=.68,W=D[G.get()],X=pe(W),te=pe(W),Q=pe(W),ne=pe(W),we=Pt(X,Q,te,ne,p,A),Ne=Ot(u,D,j,B,ne),De=$t(H,G,O,we,Ne,ne,i),dt=At(B),ft=fe(),l1=Rt(t,o,i,g),{slideRegistry:pt}=Dt(Z,h,D,ve,R,P),u1=Ut(e,o,pt,De,we,ft,i,S),Oe={ownerDocument:n,ownerWindow:r,eventHandler:i,containerRect:T,slideRects:_,animation:H,axis:M,dragHandler:Et(M,e,n,r,ne,Tt(M,r),X,H,De,we,Ne,G,i,U,v,f,d,A,y),eventStore:ft,percentOfView:U,index:G,indexPrevious:O,limit:B,location:X,offsetLocation:Q,previousLocation:te,options:s,resizeHandler:It(t,i,r,o,M,L,E),scrollBody:we,scrollBounds:_t(B,Q,ne,we,U),scrollLooper:Bt(j,B,Q,[X,Q,te,ne]),scrollProgress:dt,scrollSnapList:D.map(dt.get),scrollSnaps:D,scrollTarget:Ne,scrollTo:De,slideLooper:Ft(M,N,j,K,q,se,D,Q,o),slideFocus:u1,slidesHandler:Zt(t,i,w),slidesInView:l1,slideIndexes:P,slideRegistry:pt,slidesToScroll:R,target:ne,translate:qe(M,t)};return Oe}function jt(){let e={},t;function o(a){t=a}function n(a){return e[a]||[]}function r(a){return n(a).forEach(C=>C(t,a)),c}function s(a,C){return e[a]=n(a).concat([C]),c}function i(a,C){return e[a]=n(a).filter(u=>u!==C),c}function l(){e={}}const c={init:o,emit:r,off:i,on:s,clear:l};return c}const Gt={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Xt(e){function t(s,i){return Re(s,i||{})}function o(s){const i=s.breakpoints||{},l=de(i).filter(c=>e.matchMedia(c).matches).map(c=>i[c]).reduce((c,a)=>t(c,a),{});return t(s,l)}function n(s){return s.map(i=>de(i.breakpoints||{})).reduce((i,l)=>i.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:o,optionsMediaQueries:n}}function Yt(e){let t=[];function o(s,i){return t=i.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(s,e)),i.reduce((l,c)=>Object.assign(l,{[c.name]:c}),{})}function n(){t=t.filter(s=>s.destroy())}return{init:o,destroy:n}}function Ie(e,t,o){const n=e.ownerDocument,r=n.defaultView,s=Xt(r),i=Yt(s),l=fe(),c=jt(),{mergeOptions:a,optionsAtMedia:C,optionsMediaQueries:u}=s,{on:p,off:v,emit:f}=c,g=M;let m=!1,d,h=a(Gt,Ie.globalOptions),L=a(h),w=[],y,S,x;function E(){const{container:P,slides:b}=L;S=(Ee(P)?e.querySelector(P):P)||e.children[0];const H=Ee(b)?S.querySelectorAll(b):b;x=[].slice.call(H||S.children)}function T(P){const b=zt(e,S,x,n,r,P,c);if(P.loop&&!b.slideLooper.canLoop()){const k=Object.assign({},P,{loop:!1});return T(k)}return b}function _(P,b){m||(h=a(h,P),L=C(h),w=b||w,E(),d=T(L),u([h,...w.map(({options:k})=>k)]).forEach(k=>l.add(k,"change",M)),L.active&&(d.translate.to(d.location.get()),d.animation.init(),d.slidesInView.init(),d.slideFocus.init(O),d.eventHandler.init(O),d.resizeHandler.init(O),d.slidesHandler.init(O),d.options.loop&&d.slideLooper.loop(),S.offsetParent&&x.length&&d.dragHandler.init(O),y=i.init(O,w)))}function M(P,b){const k=R();N(),_(a({startIndex:k},P),b),c.emit("reInit")}function N(){d.dragHandler.destroy(),d.eventStore.clear(),d.translate.clear(),d.slideLooper.clear(),d.resizeHandler.destroy(),d.slidesHandler.destroy(),d.slidesInView.destroy(),d.animation.destroy(),i.destroy(),l.clear()}function U(){m||(m=!0,l.clear(),N(),c.emit("destroy"),c.clear())}function F(P,b,k){!L.active||m||(d.scrollBody.useBaseFriction().useDuration(b===!0?0:L.duration),d.scrollTo.index(P,k||0))}function Z(P){const b=d.index.add(1).get();F(b,P,-1)}function ee(P){const b=d.index.add(-1).get();F(b,P,1)}function K(){return d.index.add(1).get()!==R()}function q(){return d.index.add(-1).get()!==R()}function z(){return d.scrollSnapList}function me(){return d.scrollProgress.get(d.offsetLocation.get())}function R(){return d.index.get()}function se(){return d.indexPrevious.get()}function ie(){return d.slidesInView.get()}function j(){return d.slidesInView.get(!1)}function he(){return y}function ve(){return d}function D(){return e}function B(){return S}function G(){return x}const O={canScrollNext:K,canScrollPrev:q,containerNode:B,internalEngine:ve,destroy:U,off:v,on:p,emit:f,plugins:he,previousScrollSnap:se,reInit:g,rootNode:D,scrollNext:Z,scrollPrev:ee,scrollProgress:me,scrollSnapList:z,scrollTo:F,selectedScrollSnap:R,slideNodes:G,slidesInView:ie,slidesNotInView:j};return _(t,o),setTimeout(()=>c.emit("init"),0),O}Ie.globalOptions=void 0;const Kt=(e,t,o)=>{const n=()=>{e.canScrollPrev()?t.removeAttribute("disabled"):t.setAttribute("disabled","disabled"),e.canScrollNext()?o.removeAttribute("disabled"):o.setAttribute("disabled","disabled")};return e.on("select",n).on("init",n).on("reInit",n),()=>{t.removeAttribute("disabled"),o.removeAttribute("disabled")}},Qt=(e,t,o)=>{const n=()=>{e.scrollPrev()},r=()=>{e.scrollNext()};t.addEventListener("click",n,!1),o.addEventListener("click",r,!1);const s=Kt(e,t,o);return()=>{s(),t.removeEventListener("click",n,!1),o.removeEventListener("click",r,!1)}};async function Jt({carouselElement:e}){if(!e)return;const t=e.querySelector(".embla__viewport"),o=e.querySelector(".embla__button--prev"),n=e.querySelector(".embla__button--next");if(!t)return;const s=Ie(t,{loop:!1,slidesToScroll:"auto",duration:60,dragFree:!0,breakpoints:{"(min-width: 768px)":{watchDrag:!1}}}),i=Qt(s,o,n);s.on("destroy",i)}function ze(e){let t=e;const o=new Set;function n(){return t}function r(i){t=i,o.forEach(l=>l(t))}function s(i){return o.add(i),()=>o.delete(i)}return[n,r,s]}function Pe(e,t,o){const n=e.findIndex(i=>i[o]===t[o]);if(n===-1)return{itemsLeft:[],itemsRight:[]};const r=e.slice(0,n),s=e.slice(n+1);return{itemsLeft:r,itemsRight:s}}function je(e,t,o){const n=document.querySelector(t);if(!n){console.warn(`Render selector "${t}" not found in the document.`);return}en(e,n,o)}function en(e,t,o){const n=tn(e);if(t.insertAdjacentHTML("beforeend",n),o){const r=t.lastElementChild;r&&r.addEventListener(o.event,o.handler)}}function tn(e){return`

`}function nn(e,t,o){const n=document.querySelector(t);if(!n){console.warn(`Render selector "${t}" not found in the document.`);return}n.classList.add("is-hide"),setTimeout(()=>{on(n),n.innerHTML="",o?o(e,n):rn(e,n),setTimeout(()=>{n.classList.remove("is-hide")},0)},250)}function on(e){const t=e._wmPlayer;if(t&&typeof t.destroy=="function")try{t.destroy(),e._wmPlayer=null}catch(n){console.warn("Erro ao destruir WM Player:",n)}e.querySelectorAll("[data-player]").forEach(n=>{const r=n.id;if(window.Clappr&&r)try{const s=n._clapprPlayer;s&&typeof s.destroy=="function"&&s.destroy()}catch(s){console.warn("Erro ao destruir player Clappr:",s)}})}function rn(e,t){const o=sn(e);t.innerHTML=o}function sn(e){return` `}const V={carousel:".carousel-vertical-lightbox",carouselWrapper:".carousel-vertical-lightbox-wrapper",wrapperCenter:".carousel-vertical-lightbox-wrapper-center",wrapperCenterTarget:".carousel-vertical-lightbox-wrapper-center__target",wrapperPrevious:".carousel-vertical-lightbox-wrapper--previous",wrapperNext:".carousel-vertical-lightbox-wrapper--next",closeButton:".carousel-vertical-lightbox__close-button",prevButton:".carousel-vertical-lightbox__prev",nextButton:".carousel-vertical-lightbox__next",volumeButton:".carousel-vertical-lightbox__volume-button",playButton:".carousel-vertical-lightbox__play-button",progressBarWrapper:".carousel-vertical-lightbox__progress-bar-wrapper",mobilePlayPause:".carousel-vertical-lightbox-wrapper-center__mobile-play-pause"};function cn(){return document.querySelector(V.carousel)}function Ge(){return document.querySelector(V.carouselWrapper)}function oe(){return document.querySelector(V.wrapperCenter)}function Xe(){return document.querySelector(V.wrapperCenterTarget)}function an(){return document.querySelector(V.wrapperPrevious)}function ln(){return document.querySelector(V.wrapperNext)}function un(){return document.querySelector(V.closeButton)}function Ye(){return document.querySelector(V.prevButton)}function Ke(){return document.querySelector(V.nextButton)}function Qe(){return document.querySelector(V.volumeButton)}function dn(){return document.querySelector(V.playButton)}function Je(){const e=Xe();return e&&e._wmPlayer||null}function fn(){const e=an(),t=ln(),o=Xe();e&&(e.innerHTML=""),t&&(t.innerHTML=""),o&&(o.innerHTML="")}function Ce(e,t,o,n){const r=Pe(e,t,"videoId");fn(),r.itemsLeft.forEach(s=>{je(s,V.wrapperPrevious,{event:"click",handler:o})}),r.itemsRight.forEach(s=>{je(s,V.wrapperNext,{event:"click",handler:o})}),nn(t,V.wrapperCenterTarget,n)}function ge(e,t){const o=e.findIndex(s=>s.videoId===t.videoId),n=Ye(),r=Ke();n&&(n.disabled=o===0),r&&(r.disabled=o===e.length-1)}function _e(){const e=oe(),t=Je();if(!t){console.warn("Player instance not found");return}e?.classList.contains("is-paused")?t.play():t.pause()}function He(){const e=oe();e&&(e.classList.remove("is-paused"),e.classList.remove("is-playing"))}function pn(){const e=dn();e&&e.addEventListener("click",_e)}function Cn(){document.addEventListener("click",e=>{const t=e.target;t.tagName==="VIDEO"&&t.closest(V.wrapperCenterTarget)&&(e.preventDefault(),e.stopPropagation(),_e())})}function gn(){document.addEventListener("click",e=>{e.target.closest(V.mobilePlayPause)&&(e.preventDefault(),e.stopPropagation(),_e())})}function mn(){pn(),Cn(),gn()}function et(e){const{getVideos:t,getCurrentVideo:o,setCurrentVideo:n,handleCardClick:r,onNavigate:s,onCreateCenterCard:i,goToNext:l}=e,c=Pe(t(),o(),"videoId");if(c.itemsLeft.length>0){const a=c.itemsLeft[c.itemsLeft.length-1];n(a),He(),Ce(t(),a,r,(C,u)=>{i?.(C,u,l)}),ge(t(),a),s?.(a,"prev")}}function tt(e){const{getVideos:t,getCurrentVideo:o,setCurrentVideo:n,handleCardClick:r,onNavigate:s,onCreateCenterCard:i,goToNext:l}=e,c=Pe(t(),o(),"videoId");if(c.itemsRight.length>0){const a=c.itemsRight[0];n(a),He(),Ce(t(),a,r,(C,u)=>{i?.(C,u,l)}),ge(t(),a),s?.(a,"next")}}function hn(e,t){const{getVideos:o,setCurrentVideo:n,handleCardClick:r,onCreateCenterCard:s,goToNext:i}=t,l=o().find(c=>c.videoId===e);l&&(n(l),He(),Ce(o(),l,r,(c,a)=>{s?.(c,a,i)}),ge(o(),l))}function vn(e,t,o,n,r,s,i){const l={getVideos:e,getCurrentVideo:t,setCurrentVideo:o,handleCardClick:n,onNavigate:r,onCreateCenterCard:s,goToNext:i},c=()=>et(l),a=()=>tt(l),C=Ye(),u=Ke();C&&C.addEventListener("click",c),u&&u.addEventListener("click",a)}function Ve(e,t,o,n){return r=>{const i=r.currentTarget.dataset.videoId;i&&hn(i,{getVideos:e,setCurrentVideo:t,handleCardClick:Ve(e,t,o,n),onCreateCenterCard:o,goToNext:n})}}function nt(){return window.innerWidth{const i=Ge();if(!i){console.warn("Carousel wrapper não encontrado para configurar swipe gestures");return}const l=p=>{o=p.touches[0].clientY},c=p=>{n=p.changedTouches[0].clientY,a()},a=()=>{const p=o-n;p>r?C():ptt(e),u=()=>et(e);i.addEventListener("touchstart",l,{passive:!0}),i.addEventListener("touchend",c,{passive:!0})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",s):setTimeout(s,100)}const ot="carousel-vertical-swipe-hint-seen",bn=3e3,Ln=400;function yn(){if(!nt()||localStorage.getItem(ot))return;const e=oe();if(!e)return;const t=document.createElement("div");t.className="carousel-vertical-swipe-hint",t.setAttribute("data-testid","carousel-vertical-swipe-hint"),t.innerHTML=` `;let o=!1;const n=()=>{o||(o=!0,localStorage.setItem(ot,"1"),t.classList.add("is-hiding"),setTimeout(()=>t.remove(),Ln))};t.addEventListener("click",n),Ge()?.addEventListener("touchend",n,{once:!0,passive:!0}),e.appendChild(t),setTimeout(n,bn)}const xn=` `;function Sn(e){return` `}function En(){document.documentElement.classList.add("carousel-vertical-lightbox--opened")}function Tn(){document.documentElement.classList.remove("carousel-vertical-lightbox--opened")}function Mn(e){e.querySelectorAll("[data-video-id]").forEach(o=>{const n=o._wmPlayer;if(n&&typeof n.destroy=="function")try{n.destroy(),o._wmPlayer=null}catch(r){console.warn("Erro ao destruir WM Player:",r)}})}function kn(e){const t=un();t&&t.addEventListener("click",()=>{const o=cn();o&&(Mn(o),o.remove()),Tn(),e?.()})}function In(){const e=Qe();e&&e.addEventListener("click",()=>{const t=Je();if(!t){console.warn("Player instance not found");return}e.classList.contains("is-muted")?(e.classList.remove("is-muted"),e.setAttribute("data-mute-state","unmuted"),t.unmute()):(e.classList.add("is-muted"),e.setAttribute("data-mute-state","muted"),t.mute())})}function Pn(){const e=oe();e&&(e.addEventListener("mouseenter",()=>{e.classList.add("is-hover")}),e.addEventListener("mouseleave",()=>{e.classList.remove("is-hover")}))}function _n(e,t,o,n,r){const s=()=>{const l=(e().findIndex(a=>a.videoId===t().videoId)+1)%e().length,c=e()[l];o(c),Ce(e(),c,Ve(e,o,r,s),(a,C)=>{r?.(a,C,s)}),ge(e(),c),n?.(c,"next")};return s}const rt={facebook:'',twitter:'',whatsapp:'',telegram:"Telegram",copyLink:'',share:''};function Hn(e){return``}function Vn(e){const t=e.networks||{},o=[];return Object.keys(t).forEach(n=>{t[n]&&o.push(Hn(n))}),` `}function Be(){return document.querySelector(".carousel-share-wrapper")}function st(){return document.querySelector('[data-network="copyLink"]')}function Bn(){const e=Be(),t=document.querySelector(".carousel-share-trigger"),o=document.querySelector(".carousel-share-networks"),n=st();if(!t||!o)return;let r=null;t.addEventListener("click",()=>{r!==null&&(clearTimeout(r),r=null),e?.classList?.contains("is-active")?(e?.classList?.remove("is-active"),e?.classList?.remove("is-opened"),n?.classList?.remove("is-clicked")):(e?.classList?.add("is-active"),r=window.setTimeout(()=>{e?.classList?.add("is-opened"),r=null},500))}),document.querySelectorAll(".share-button-network").forEach(i=>{i.addEventListener("click",l=>{const a=l.currentTarget.getAttribute("data-network");a&&Nn(a)})})}const it=new WeakMap;function An(e){const t=Be();t&&it.set(t,e)}function Nn(e){const t=Be(),o=(t&&it.get(t))??window.location.href,n=document.title;let r="";switch(e){case"facebook":r=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(o)}`;break;case"twitter":r=`https://twitter.com/intent/tweet?url=${encodeURIComponent(o)}&text=${encodeURIComponent(n)}`;break;case"whatsapp":r=`https://wa.me/?text=${encodeURIComponent(n+" "+o)}`;break;case"telegram":r=`https://t.me/share/url?url=${encodeURIComponent(o)}&text=${encodeURIComponent(n)}`;break;case"copyLink":navigator.clipboard.writeText(o).then(()=>{const s=st();s&&(s.classList.add("is-clicked"),setTimeout(()=>{s.classList.remove("is-clicked")},2e3))}).catch(s=>{console.error("Erro ao copiar URL:",s)});return}r&&window.open(r,"_blank","noopener,noreferrer")}function Dn(e){if(!e)return;const t=document.querySelector(".carousel-vertical-lightbox__buttons-bottom");if(!t){console.warn("Element .carousel-vertical-lightbox-wrapper-center not found");return}const o=Vn(e);t.insertAdjacentHTML("afterbegin",o),Bn()}function On({videoSelected:e,data:t,onClose:o,onNavigate:n,onLoad:r,onCreateCenterCard:s,shareConfig:i,showSwipeHint:l=!1}){const c=Sn(e.tenantId);document.body.insertAdjacentHTML("beforeend",c),En();const[a]=ze(t),[C,u]=ze(e),p=_n(a,C,u,n,s),v=Ve(a,u,s,p),f={getVideos:a,getCurrentVideo:C,setCurrentVideo:u,handleCardClick:v,onNavigate:n,onCreateCenterCard:s,goToNext:p};vn(a,C,u,v,n,s,p),wn(f),Ce(a(),C(),v,(g,m)=>{s?.(g,m,p)}),ge(a(),C()),kn(o),In(),mn(),Pn(),Dn(i),l&&yn(),r?.()}function $n(e,t){const{progressBarWrapper:o,progressBarContainer:n,progressBarFill:r,progressBarThumb:s,progressBarTime:i}=Un();t.appendChild(o);let l=!1,c=0,a=0,C=0,u=0;function p(w){const y=Math.floor(w/60),S=Math.floor(w%60);return`${y}:${S.toString().padStart(2,"0")}`}function v(w,y){c=w,a=y;const S=y>0?w/y*100:0;r.style.width=`${S}%`,s.style.left=`${S}%`;const x=i.querySelector(".current"),E=i.querySelector(".total");x&&(x.textContent=p(w)),E&&(E.textContent=p(y))}function f(w){const y=n.getBoundingClientRect();let S;"touches"in w?S=w.touches.length>0?w.touches[0].clientX:w.changedTouches[0].clientX:S=w.clientX;const x=S-y.left;return Math.max(0,Math.min(1,x/y.width))*a}function g(w){e&&typeof e.seek=="function"&&e.seek(Math.floor(w))}function m(w){l=!0,n.classList.add("is-dragging"),"touches"in w&&(C=Date.now(),u=w.touches[0].clientX);const y=f(w);v(y,a),w.preventDefault()}function d(w){if(!l)return;const y=f(w);v(y,a),w.preventDefault()}function h(w){if(l){if(l=!1,n.classList.remove("is-dragging"),"changedTouches"in w){const S=Date.now()-C,x=w.changedTouches[0].clientX,E=Math.abs(x-u);if(S{l||v(w.current,w.total)}),e.on("canplay",()=>{}),e.on("ended",()=>{v(a,a)}),e.on("loadstart",()=>{v(0,0)})),o._cleanup=()=>{n.removeEventListener("mousedown",m),n.removeEventListener("click",L),n.removeEventListener("touchstart",m),document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",d),document.removeEventListener("touchend",h)},o}function Un(){const e=document.createElement("div");e.className="carousel-vertical-lightbox__progress-bar-wrapper";const t=document.createElement("div");t.className="carousel-vertical-lightbox__progress-bar-container";const o=document.createElement("div");o.className="carousel-vertical-lightbox__progress-bar-fill";const n=document.createElement("div");n.className="carousel-vertical-lightbox__progress-bar-thumb";const r=document.createElement("div");return r.className="carousel-vertical-lightbox__progress-bar-time",r.innerHTML='0:00 / 0:00',t.appendChild(o),t.appendChild(n),e.appendChild(t),e.appendChild(r),{progressBarWrapper:e,progressBarContainer:t,progressBarFill:o,progressBarThumb:n,progressBarTime:r}}function Fn(e=""){if(!window.utag_data)return;const t=window.utag_data,o=t.ad_unit,n=t.editoria_path?`/${t.editoria_path}`:"/home",r=e?`/${e}`:"";return r?`${o}${n}${r}`:`${o}${n}`}const Zn="wmPlayerPlaylistLoaded",Rn="https://api.globovideos.com/videos/{videoId}/playlist/without_resources/callback/{callbackName}",ct="carousel_vertical_consumption_urls";let Y=null;function Wn(){try{const e=localStorage.getItem(ct);return e?JSON.parse(e):null}catch{return console.warn("Could not load consumption URL cache from localStorage"),null}}function qn(e){try{localStorage.setItem(ct,JSON.stringify(e))}catch{console.warn("Could not save consumption URL cache to localStorage")}}function zn(e,t){return Rn.replace("{videoId}",e).replace("{callbackName}",t)}function jn(e){return new Promise(t=>{const o=`${Zn}${e}`,n=document.createElement("script"),r=()=>{delete window[o],n.parentNode&&n.parentNode.removeChild(n)};window[o]=i=>{console.log("[videoConsumptionUrl] JSONP response for",e,":",i);const l=i?.videos?.[0]?.url_for_consumption??null;console.log("[videoConsumptionUrl] Extracted URL:",l),t(l),r()};const s=zn(e,o);console.log("[videoConsumptionUrl] Loading script:",s),n.src=s,n.onerror=()=>{console.error("[videoConsumptionUrl] Script load error for videoId:",e),t(null),r()},document.head.appendChild(n)})}function at(e,t=Y){return!t||t.videoIds.length!==e.length?!1:e.every(o=>t.videoIds.includes(o))}async function Gn(e){const t=e.map(s=>s.videoId);if(console.log("[videoConsumptionUrl] Fetching URLs for videoIds:",t),at(t))return console.log("[videoConsumptionUrl] Using in-memory cache"),Y.urls;const o=Wn();if(o&&at(t,o))return console.log("[videoConsumptionUrl] Using localStorage cache"),Y=o,Y.urls;console.log("[videoConsumptionUrl] Cache miss, fetching from API"),Y=null;const n=await Promise.all(t.map(async s=>{const i=await jn(s);return[s,i]}));console.log("[videoConsumptionUrl] Fetched entries:",n);const r={};for(const[s,i]of n)i&&(r[s]=i);return console.log("[videoConsumptionUrl] Built urls object:",r),Y={videoIds:t,urls:r},qn(Y),r}function Xn(e){return Y?.urls[e]??null}function Yn(e,t,o){if(window.WM===void 0)return console.error("WM Player library is not loaded."),null;const n=new window.WM.Player({source:e.videoId,width:"100%",height:"100%",preventBlackBars:!0,chromeless:!0,adUnit:Fn("video"),ga4:{event_params:{video_format:"vertical"}},events:{onCanPlay:function(){n.consent(),n.play()},onPlay:function(){Qe()?.getAttribute("data-mute-state")==="muted"?n.mute():n.unmute();const c=oe();c&&(c.classList.remove("is-paused"),c.classList.add("is-playing"))},onPause:function(){const i=oe();i&&(i.classList.add("is-paused"),i.classList.remove("is-playing"))},onEnded:function(){o&&o()}}});n.attachTo(t);const r=Xn(e.videoId);r&&An(r),t._wmPlayer=n;const s=t.closest(V.wrapperCenter);if(s){const i=s.querySelector(V.progressBarWrapper);i&&(i._cleanup&&i._cleanup(),i.remove());const l=$n(n,s);t._progressBar=l}return n}const Kn={default:{bg:"#1e4c9a",text:"#fff"},error:{bg:"#f00",text:"#fff"},warning:{bg:"#ff0",text:"#000"},ga:{bg:"#06aa48",text:"#000"},"ga-error":{bg:"#f00",text:"#fff"}};function Le({text:e="",title:t="",type:o="default"}){let n=t;if(o==="ga"?n="log-ga-event":o==="ga-error"&&(n="log-ga-event-error"),n1()){const r=Qn(o);console.log(`%c %c${n} `,r.header,r.title,e)}}function Qn(e="default"){const t=Kn[e];return{header:`background: ${t.bg}; color: ${t.text}; font-weight:bold; font-size:14px; padding:2px; margin-right:5px;`,title:`background: ${t.bg}; color: ${t.text}; font-weight:bold; font-size:14px; padding:2px;`}}const Ae="Carrossel Vertical",ye=`pageRefresh | ${Ae}`;let re=null;function Jn(){re&&clearInterval(re),re=setInterval(()=>{window.WindowControl?.pageRefresh?.timeOut&&(Le({title:ye,text:"WindowControl.pageRefresh.timeOut detected, calling stop again"}),ut())},200)}function e1(){re&&(clearInterval(re),re=null)}function lt(e){const t=Date.now(),o=6e4,r=setInterval(()=>{if(window.WindowControl?.pageRefresh){clearInterval(r),e();return}Date.now()-t>=o&&(clearInterval(r),Le({title:ye}),console.warn("⚠️ window.WindowControl is not available"))},200)}function t1(){e1(),lt(()=>{Le({title:ye,text:"WindowControl.pageRefresh.start"}),window.WindowControl?.pageRefresh.start(Ae)})}function ut(){lt(()=>{Le({title:ye,text:"WindowControl.pageRefresh.stop"}),window.WindowControl?.pageRefresh.stop(Ae),Jn()})}function n1(){if(typeof window>"u")return!1;const e=window.location.host;return e.includes("oglobo.qa.globoi.com")||e.includes("localhost")}function o1(){return new Promise((e,t)=>{if(window.WM){e();return}const o=document.querySelector('script[src*="api.min.js"]');if(o){o.addEventListener("load",()=>e()),o.addEventListener("error",()=>t(new Error("Falha ao carregar WM script")));return}const n=document.createElement("script");n.src="https://s3.glbimg.com/v1/AUTH_e1b09a2d222b4900a437a46914be81e5/api/stable/web/api.min.js",n.async=!0,n.onload=()=>{console.log("WM script carregado com sucesso"),e()},n.onerror=()=>{console.error("Erro ao carregar WM script"),t(new Error("Falha ao carregar WM script"))},document.head.appendChild(n)})}function r1(e){const t=new Set,o=[],n=[];return e.forEach(r=>{const s=String(r.videoId);t.has(s)?n.push(r):(t.add(s),o.push(r))}),n.length>0&&(console.warn(`⚠️ Removed ${n.length} duplicate video(s)`),console.log("Duplicate videos removed:",n)),o}async function s1(e,t){const o=r1(e);if(Gn(o).catch(n=>{console.error("Erro ao buscar URLs de consumo dos vídeos:",n)}),!window.WM)try{await o1()}catch(n){console.error("Não foi possível carregar o WM script:",n);return}On({videoSelected:t,data:o,showSwipeHint:!0,shareConfig:{networks:{facebook:!0,twitter:!0,whatsapp:!0,copyLink:!0}},onLoad:()=>{ut()},onClose:()=>{t1()},onCreateCenterCard(n,r,s){Yn(n,r,s)}})}function i1(e){return{videoId:e.videoId,videoDomain:e.videoDomain,videoPoster:e.videoPoster,videoHat:e.videoHat,videoTitle:e.videoTitle}}async function c1({carouselElement:e}){if(!e)return;const t=[];e.querySelectorAll(".vertical-videos__image").forEach(o=>{const n=o;t.push(i1(n.dataset)),o.addEventListener("click",a1)}),window.carouselVideosVerticaisItems=t}function a1(e){const t=e.currentTarget;s1(window.carouselVideosVerticaisItems,t.dataset)}document.addEventListener("DOMContentLoaded",async()=>{const e=document.querySelector(".carousel-lista-videos-verticais");e&&(await Jt({carouselElement:e}),await c1({carouselElement:e}))})})(); !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([,,function(e,t,o){},function(e,t,o){"use strict";o(2);const n={timeOut:null,start:function(e){this.stop(e);const t=window.WindowControl&&window.WindowControl.refreshPageTime,o=e?`[WindowControl | ${e}]`:"[WindowControl]";if(!t||isNaN(t)||t{console.debug(`${o} - Auto-refreshing page`),window.location.reload()},n)},stop:function(e){if(null!==this.timeOut){const t=e?`[WindowControl | ${e}]`:"[WindowControl]";clearTimeout(this.timeOut),this.timeOut=null,console.debug(`${t} - Stop Refresh Page`)}}};window.WindowControl=window.WindowControl||{},WindowControl.pageRefresh=n,window.addEventListener("load",()=>WindowControl.pageRefresh.start("Page load"))}]); !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict"}]); //]]>