(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{154:function(t,e){},155:function(t,e){},156:function(t,e){},157:function(t,e){},159:function(t,e){},160:function(t,e){},161:function(t,e){},163:function(t,e){},164:function(t,e){},165:function(t,e){},166:function(t,e){},167:function(t,e){},308:function(t,e,i){var a=i(649);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("7430a8b2",a,!0,{singleton:!0})},309:function(t,e,i){var a=i(651);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("5141e3f9",a,!0,{singleton:!0})},311:function(t,e,i){var a=i(653);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("14b245eb",a,!0,{singleton:!0})},314:function(t,e,i){var a=i(659);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("5063fc19",a,!0,{singleton:!0})},315:function(t,e,i){var a=i(661);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("5bf3f6d6",a,!0,{singleton:!0})},316:function(t,e,i){var a=i(663);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("eb5ccf2c",a,!0,{singleton:!0})},318:function(t,e,i){var a=i(667);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("b32c83ec",a,!0,{singleton:!0})},319:function(t,e,i){var a=i(669);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("732db9a4",a,!0,{singleton:!0})},320:function(t,e,i){var a=i(674);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("981d49fc",a,!0,{singleton:!0})},321:function(t,e,i){var a=i(676);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("443bd0a8",a,!0,{singleton:!0})},322:function(t,e,i){var a=i(678);(a="string"==typeof(a=a.__esModule?a.default:a)?[[t.i,a,""]]:a).locals&&(t.exports=a.locals),(0,i(11).default)("b04e681e",a,!0,{singleton:!0})},465:function(t,e,i){"use strict";var a=i(2),s=i(5),o=i(4),n=i(3),r=i(1),c=i(0),l=function(t){Object(o.a)(i,t);var e=Object(n.a)(i);function i(){return Object(a.a)(this,i),e.apply(this,arguments)}return Object(s.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(8).a);r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineBottom"})],l),c=i(9),l=i(154),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?i("div",{staticClass:"cardHeadlineBottom"},[i("ul",{staticClass:"cardHeadlineBottom__list row row-cols-1 row-cols-lg-2"},t._l(t.headlineCollection,(function(e,a){return i("li",{key:e.id,staticClass:"cardHeadlineBottom__list__item col"},[i("HeadlineHorizontal",t._b({attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(a+1).toString()})}),!1))],1)})),0)]):t._e()}),[],!1,(function(t){var e=i(648);e.__inject__&&e.__inject__(t)}),null,"d8c7cb76"),"function"==typeof l.a&&l()(r),e.a=r.exports},466:function(t,e,i){"use strict";var a=i(2),s=i(5),o=i(4),n=i(3),r=i(1),c=i(0),l=function(t){Object(o.a)(i,t);var e=Object(n.a)(i);function i(){return Object(a.a)(this,i),e.apply(this,arguments)}return Object(s.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(8).c);Object(r.a)([Object(c.c)()],l.prototype,"responsive",void 0),Object(r.a)([Object(c.c)()],l.prototype,"web",void 0),Object(r.a)([Object(c.c)()],l.prototype,"mobile",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineMain"})],l),c=i(9),l=i(155),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.web&&t.mobile?e("HeadlineMain",t._b({attrs:{metrics:t.metrics}},"HeadlineMain",t.data.isMobile?t.mobile:t.web,!1)):e("HeadlineMain",t._b({attrs:{metrics:t.metrics}},"HeadlineMain",t.responsive,!1))}),[],!1,null,null,"adf161f6"),"function"==typeof l.a&&l()(r),e.a=r.exports},467:function(t,e,i){"use strict";var a=i(2),s=i(5),o=i(4),n=i(3),r=(i(13),i(52),i(1)),c=i(0),l=function(t){Object(o.a)(i,t);var e=Object(n.a)(i);function i(){return Object(a.a)(this,i),e.apply(this,arguments)}return Object(s.a)(i,[{key:"created",value:function(){}},{key:"getCropImage",value:function(){return this.data.isMobile?"9x16":"16x9"}},{key:"scoreStateName",get:function(){return"ScoreFootball-".concat(this.match.idMatch)}},{key:"dispatch",value:function(t){var e=[{tag:"script",closeTag:!0,attrs:[{key:"src",value:"/vueland/assets/?loadComponent=Media&contentType=js&scope=assets/dist&asset=usocket.js&cache=".concat("202201051530")},{key:"onload",value:"document.dispatchEvent(new CustomEvent('distLoaded:usocket'));"},{key:"type",value:"module"},{key:"async",value:"async"}]}];this.tools.appendResource().before(e),t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(8).c);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"match",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"photo",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(r.a)([Object(c.c)({default:!1})],l.prototype,"isQa",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineMainFootball"})],l),c=i(9),l=i(156),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("article",{staticClass:"cardHealineFootball"},[e("Photograph",t._b({staticClass:"cardHealineFootball__photo edgeToEdge--xs",attrs:{crop:t.getCropImage()}},"Photograph",t.photo,!1)),e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:t.metrics,expression:"metrics"}],staticClass:"hyperlink cardHealineFootball__link edgeToEdge--xs",attrs:{href:t.link,title:t.photo.credit}},[e("WidgetScoreFootball",{attrs:{"is-live":!0,type:"thin",match:t.match}}),e("h2",{class:["cardHealineFootball__kicker","kicker","kicker--highlight"],attrs:{id:t.id},domProps:{textContent:t._s("Ao vivo")}}),e("h3",{staticClass:"cardHealineFootball__title"},[t._v("\n      "+t._s(t.title)+"\n    ")])],1)],1)}),[],!1,(function(t){var e=i(650);e.__inject__&&e.__inject__(t)}),null,"371b6154"),"function"==typeof l.a&&l()(r),e.a=r.exports},468:function(t,e,i){"use strict";var a=i(7),s=i(2),o=i(5),n=i(4),r=i(3),c=(i(17),i(23),i(66),i(26),i(27),i(1)),l=i(0),d=function(t){Object(n.a)(i,t);var e=Object(r.a)(i);function i(){var t;return Object(s.a)(this,i),(t=e.apply(this,arguments)).key=1,t}return Object(o.a)(i,[{key:"getRowComponents",get:function(){return this.headlineCollection.map(this.mergeVersionProp)}},{key:"getComponents",get:function(){var t=this,e=this.getRows,i=this.mergeVersionProp;e=this.headlineCollection.map(i).reduce(e,{});return Object.values(e).filter((function(e){return e.length===t.limit})).map((function(e){return e={component:"HeadlineHorizontalAvatar",items:e},{name:"CardHorizontalRow",payload:Object(a.a)(Object(a.a)({},e),{},{metrics:t.metrics})}}))}},{key:"hasCarrouselData",get:function(){return this.getComponents&&!!this.getComponents.length}},{key:"limit",get:function(){return this.isFourColumns?4:3}},{key:"isFourColumns",get:function(){return"4-colunas"===this.type}},{key:"mergeVersionProp",value:function(t,e){return Object(a.a)(Object(a.a)({},t),{},{position:e+1,horizontal:!0})}},{key:"getRows",value:function(t,e,i){return t[this.key]=t[this.key]||[],0!==i&&i%this.limit==0&&(this.key+=1,t[this.key]=t[this.key]||[]),e&&(e.metrics=Object(a.a)(Object(a.a)({},this.metrics),{},{position:i+1})),t[this.key].push(e),t}},{key:"getHeaderStyle",get:function(){var t=this.station;return this.station.includes("esporte")&&(t="esporte"),t=this.tools.custom.style.getStationColor(t),{"border-top":"2px solid ".concat(t)}}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(8).a);Object(c.a)([Object(l.c)({default:"home"})],d.prototype,"station",void 0),Object(c.a)([Object(l.c)({required:!0})],d.prototype,"type",void 0),Object(c.a)([Object(l.c)({required:!0})],d.prototype,"metrics",void 0),c=d=Object(c.a)([Object(l.a)({name:"CardHorizontalBlogs"})],d),l=i(9),d=i(157),d=i.n(d),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?e("section",{staticClass:"cardHorizontalBlogs",style:t.getHeaderStyle,attrs:{"data-type":t.isFourColumns?"4-columns":"3-columns"}},[!t.data.isMobile&&t.hasCarrouselData?e("Carousel",{staticClass:"edgeToEdge--xs",attrs:{components:t.getComponents,"progress-navigation":!1,metrics:t.metrics,"show-progress-indicator":!1,"shape-button":"primary","calculate-height":!1}}):e("CardHorizontalRow",{attrs:{items:t.getRowComponents,component:"HeadlineHorizontalAvatar",metrics:t.metrics}})],1):t._e()}),[],!1,(function(t){var e=i(652);e.__inject__&&e.__inject__(t)}),null,"6727a701"),"function"==typeof d.a&&d()(c),e.a=c.exports},470:function(t,e,i){"use strict";var a=i(10),s=i(7),o=i(2),n=i(5),r=i(4),c=i(3),l=i(6),d=i.n(l),u=(i(656),i(12),i(67),i(1)),p=i(0);l=function(t){Object(r.a)(l,t);var e,i=Object(c.a)(l);function l(){var t;return Object(o.a)(this,l),(t=i.apply(this,arguments)).showOpenCard=!1,t.showCloseCard=!0,t.showGateCard=!1,t.isLogged=!1,t.dailyForecast="",t.userSign="",t.listSigns=Object.freeze({aries:"áries",touro:"touro",gemeos:"gêmeos",cancer:"câncer",leao:"leão",virgem:"virgem",libra:"libra",escorpiao:"escorpião",sagitario:"sagitário",capricornio:"capricórnio",aquario:"aquário",peixes:"peixes"}),t}return Object(n.a)(l,[{key:"bindMetrics",get:function(){return Object(s.a)(Object(s.a)({},this.metrics),{},{category:"card-horoscopo",label:"content"})}},{key:"actionBindMetrics",value:function(t,e){e=Object(s.a)(Object(s.a)({},this.metrics),{},{category:"card-horoscopo",position:"".concat(t,"-").concat(e+1)}),this.tools.custom.metrics.interaction(e,this.isLogged?"choice":"login")}},{key:"isLoggedWithCookie",value:function(){return this.isLogged&&"string"==typeof this.userSign&&0<this.userSign.trim().length&&!/^\d+$/.test(this.userSign.trim())}},{key:"switchToOpenCard",value:function(){this.showOpenCard=!0,this.showCloseCard=!1,this.showGateCard=!1}},{key:"switchToCloseCard",value:function(){this.showCloseCard=!0,this.showOpenCard=!1,this.showGateCard=!1}},{key:"switchToGateCard",value:function(){this.showGateCard=!0,this.showOpenCard=!1,this.showCloseCard=!1}},{key:"switchToOpenCardOrGate",value:function(t){if(this.userSign=t,this.setCookie(t),this.isLogged)return this.getDailyForecast(t),void this.switchToOpenCard();this.login()}},{key:"getDailyForecast",value:function(t){var e=this;this.fetch.get("/vueland/api/?params=".concat(t,"&loadComponent=Api&api=horoscope&method=getSign")).then((function(t){t=e.tools.custom.string.limitChar(null===(t=null==t?void 0:t.data)||void 0===t?void 0:t.text,90,"...",!1),e.dailyForecast=t}))}},{key:"getLink",value:function(){return"https://www.uol.com.br/universa/horoscopo/".concat(this.userSign,"/horoscopo-do-dia/")}},{key:"getCookie",value:function(){return this.tools.custom.cookie.getCookie("meuSigno")}},{key:"setCookie",value:function(t){this.tools.custom.cookie.setCookie("meuSigno",t,{expires:730,domain:".uol.com.br"})}},{key:"handleLoggedAndCookie",value:function(){var t="string"==typeof this.userSign&&0<this.userSign.trim().length&&!/^\d+$/.test(this.userSign.trim());if(this.isLoggedWithCookie())return this.switchToOpenCard(),void this.getDailyForecast(this.userSign);t?this.switchToCloseCard():!this.isLogged&&t&&this.switchToGateCard()}},{key:"handleLoggedIn",value:function(){this.isLogged=!0,this.handleLoggedAndCookie()}},{key:"handleLoggedOut",value:function(){this.isLogged=!1,this.handleLoggedAndCookie()}},{key:"login",value:function(){this.$store.getters.data("UserProfileIsUserLogged")||this.$root.$emit("UserProfileLogin",{area:"sa=selecao-signo"})}},{key:"created",value:function(){}},{key:"mounted",value:(e=Object(a.a)(d.a.mark((function t(){return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.userSign=this.getCookie()||"",t.next=3,this.$nextTick();case 3:this.$root.$on("UserProfileLoggedIn",this.handleLoggedIn),this.$root.$on("UserProfileLoggedOut",this.handleLoggedOut),this.$store.getters.data("UserProfileIsUserLogged")&&(this.isLogged=!0),this.handleLoggedAndCookie();case 7:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),l}(i(8).c),u=l=Object(u.a)([Object(p.a)({name:"CardHoroscope"})],l),p=i(9),l=i(159),l=i.n(l);u=Object(p.a)(u,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cardHoroscope"},[i("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.data.isMobile||!t.showOpenCard&&!t.showGateCard?t.data.isMobile&&(t.showOpenCard||t.showGateCard)?i("HeaderCard",{staticClass:"cardHoroscope__header edgeToEdge--xs",attrs:{link:t.getLink(),text:t.listSigns[t.userSign],icon:t.userSign,"button-text":t.isLogged?"trocar signo":"",metrics:Object.assign({},t.bindMetrics,{action:"change"})},on:{click:function(e){return t.switchToCloseCard()}}}):t._e():i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:t.bindMetrics,expression:"bindMetrics"}],staticClass:"hyperlink cardHoroscope__link",attrs:{href:t.getLink(),title:t.listSigns[t.userSign]}},[i("i",{class:["uolIcons","uolIcons--"+t.userSign,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),i("span",{staticClass:"cardHoroscope__title"},[t._v("\n        "+t._s(t.listSigns[t.userSign])+"\n      ")])])],1),i("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.showOpenCard?i("div",{staticClass:"cardHoroscope__open edgeToEdge--xs"},[i("div",{staticClass:"cardHoroscope__open__desc"},[i("p",{staticClass:"cardHoroscope__title cardHoroscope__title--forecast"},[t._v("\n          "+t._s(t.dailyForecast)+"\n        ")]),i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.bindMetrics,{position:"1"}),expression:"{...bindMetrics, position: '1'}"}],staticClass:"hyperlink linkExternal cardHoroscope__linkExternal",attrs:{title:"Previsão completa",href:t.getLink()}},[i("span",{staticClass:"linkExternal__text"},[t._v("PREVISÃO COMPLETA")]),i("i",{class:["uolIcons","uolIcons--seta-direita","linkExternal__icon"],attrs:{"aria-hidden":"true"}})])]),t.data.isMobile?t._e():i("ButtonHome",{staticClass:"cardHoroscope__button",attrs:{text:"trocar signo",shape:"ghost",metrics:Object.assign({},t.metrics,{category:"card-horoscopo",action:"change"})},on:{click:function(e){return t.switchToCloseCard()}}})],1):t._e()]),t.showGateCard?i("LoginGate",{staticClass:"cardHoroscope__gate",attrs:{metrics:Object.assign({},t.metrics,{category:"card-horoscopo"}),type:"horoscope",text:"Para continuar vendo as previsões do seu signo, é fácil e rápido"},on:{click:function(e){return t.login()}}}):t._e(),i("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.showCloseCard?i("div",{staticClass:"cardHoroscope__close edgeToEdge--xs"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.bindMetrics,{position:"1",label:"escolha-signo"}),expression:"{...bindMetrics, position: '1', label: 'escolha-signo'}"}],staticClass:"cardHoroscope__title cardHoroscope__title--close",attrs:{href:"https://www.uol.com.br/universa/horoscopo/previsao-diaria/"}},[t._v("\n        HORÓSCOPO\n      ")]),i("ul",{staticClass:"cardHoroscope__close__list"},t._l(t.listSigns,(function(e,a,s){return i("li",{key:a,staticClass:"cardHoroscope__close__item",attrs:{tabindex:"0"},on:{click:function(e){t.switchToOpenCardOrGate(a),t.actionBindMetrics(a,s)},keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.switchToOpenCardOrGate(a),t.actionBindMetrics(a,s)}}},[i("i",{class:["uolIcons","uolIcons--"+a,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),i("span",{staticClass:"cardHoroscope__title cardHoroscope__title--sign"},[t._v("\n            "+t._s(e)+"\n          ")])])})),0)]):t._e()])],1)}),[],!1,(function(t){var e=i(658);e.__inject__&&e.__inject__(t)}),null,"019a48e6"),"function"==typeof l.a&&l()(u),e.a=u.exports},471:function(t,e,i){"use strict";var a=i(7),s=i(2),o=i(5),n=i(4),r=i(3),c=(i(20),i(12),i(1)),l=i(0),d=function(t){Object(n.a)(i,t);var e=Object(r.a)(i);function i(){return Object(s.a)(this,i),e.apply(this,arguments)}return Object(o.a)(i,[{key:"getComponents",get:function(){var t=this,e=[];return this.headlineCollection.forEach((function(i,s){e.push({name:"HeadlineHorizontalLive",payload:Object(a.a)(Object(a.a)({},i),{},{metrics:Object(a.a)(Object(a.a)({},t.metrics),{},{position:"".concat(null===(i=t.metrics)||void 0===i?void 0:i.position,"-").concat(s+1)})})})})),e}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(8).a);Object(c.a)([Object(l.c)({default:1,required:!0})],d.prototype,"quantityShow",void 0),Object(c.a)([Object(l.c)({default:!1})],d.prototype,"isInternalComponentSectionGrid",void 0),c=d=Object(c.a)([Object(l.a)({name:"CardLive"})],d),l=i(9),d=i(160),d=i.n(d),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?e("div",{staticClass:"cardLive"},[t.data.isMobile?e("Accordion",{staticClass:"cardLive__accordion",attrs:{components:t.getComponents,"quantity-show":t.quantityShow,"quantity-load":t.headlineCollection.length-t.quantityShow,metrics:t.metrics}}):e("CardLiveGrid",{attrs:{headlines:t.headlineCollection,metrics:t.metrics,"is-internal-component-section-grid":t.isInternalComponentSectionGrid}})],1):t._e()}),[],!1,(function(t){var e=i(660);e.__inject__&&e.__inject__(t)}),null,"cc3bb2b8"),"function"==typeof d.a&&d()(c),e.a=c.exports},472:function(t,e,i){"use strict";var a=i(7),s=i(2),o=i(5),n=i(4),r=i(3),c=(i(35),i(17),i(12),i(1)),l=i(0),d=function(t){Object(n.a)(i,t);var e=Object(r.a)(i);function i(){return Object(s.a)(this,i),e.apply(this,arguments)}return Object(o.a)(i,[{key:"getType",get:function(){var t,e,i="default";return null!==(e=this.headlines)&&void 0!==e&&e.length&&(t=!!this.headlines.find((function(t){return t.photo})),e=!!this.headlines.find((function(t){return t.thinImageWeb})),t?e&&(i="thinImageWeb"):i="thin"),i}},{key:"getSimpleGrid",value:function(t,e){for(var i=[],s=0;s<t.length;s+=1)i.push({name:"HeadlineHorizontalLive",payload:Object(a.a)({type:e},t[s])});return i}},{key:"getGroupGrid",value:function(t){for(var e=[],i=0;i<t.length;i+=2){var a=t[i+1],s=t[i]&&a?2:1,o=[t[i]];a&&o.push(a),e.push({name:"CardGroup",payload:{columns:s,component:"HeadlineHorizontalLive",headlines:o}})}return e}},{key:"carouselComponents",get:function(){var t=this.getType;return"thin"===t||this.isInternalComponentSectionGrid?this.getSimpleGrid(this.headlineMetrics,t):this.getGroupGrid(this.headlineMetrics)}},{key:"headlineMetrics",get:function(){var t=this;return this.headlines.map((function(e,i){var s=Object(a.a)({},e);return s.metrics=Object(a.a)(Object(a.a)({},t.metrics),{},{position:"".concat(null===(e=t.metrics)||void 0===e?void 0:e.position,"-").concat(i+1)}),s}))}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(8).e);Object(c.a)([Object(l.c)({required:!0})],d.prototype,"headlines",void 0),Object(c.a)([Object(l.c)({default:!1})],d.prototype,"isInternalComponentSectionGrid",void 0),Object(c.a)([Object(l.c)()],d.prototype,"metrics",void 0),c=d=Object(c.a)([Object(l.a)({name:"CardLiveGrid"})],d),l=i(9),d=i(161),d=i.n(d),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.headlines&&t.headlines.length?e("div",{class:["cardLiveGrid","cardLiveGrid--"+t.getType]},[e("Carousel",{staticClass:"cardLiveGrid__carousel",attrs:{components:t.carouselComponents,"progress-navigation":!0,"auto-roll":!0,metrics:t.metrics}})],1):t._e()}),[],!1,(function(t){var e=i(662);e.__inject__&&e.__inject__(t)}),null,"043119d5"),"function"==typeof d.a&&d()(c),e.a=c.exports},474:function(t,e,i){"use strict";var a=i(7),s=i(10),o=i(2),n=i(5),r=i(4),c=i(3),l=i(6),d=i.n(l),u=(i(35),i(18),i(12),i(66),i(17),i(1)),p=i(0);l=function(t){Object(r.a)(l,t);var e,i=Object(c.a)(l);function l(){return Object(o.a)(this,l),i.apply(this,arguments)}return Object(n.a)(l,[{key:"getMetrics",get:function(){return Object.assign({},this.metrics)}},{key:"getFlag",value:function(t){return"//imguol.com.br/c/esporte/olimpiadas/2020/paises/".concat(t,".svg")}},{key:"getPinnedCountry",value:function(t){return t.abbr===this.pinnedCountry}},{key:"pinned",get:function(){var t;return(null===(t=this.data.standings)||void 0===t?void 0:t.find(this.getPinnedCountry))||{}}},{key:"countries",get:function(){var t,e=this.data.standings;if(null==e||!e.length)return[];var i=null===(t=null==e?void 0:e.slice(0,this.amount))||void 0===t?void 0:t.find(this.getPinnedCountry);return null===(t=this.pinned)||void 0===t||!t.abbr||i?null==e?void 0:e.slice(0,this.amount+1):null==e?void 0:e.slice(0,this.amount).concat(this.pinned)}},{key:"created",value:function(){}},{key:"dispatch",value:(e=Object(s.a)(d.a.mark((function t(e){var i,s;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=4,this.tools.json.open("commons.uol.com.br/sistemas/roswell/olympics/2024/medal-board.json");case 4:s=t.sent,i=s.board,s=function(t){return Object(a.a)(Object(a.a)({},t),{},{position:t.rank_gold?"".concat(t.rank_gold,"º"):"-",abbr:null===(t=t.abbr)||void 0===t?void 0:t.toUpperCase()})},s=Object.values(i).map(s),e({isMobile:this.tools.userAgent.isSmart(),standings:s}),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),this.tools.log.error(t.t0),e({standings:[]});case 16:case"end":return t.stop()}}),t,this,[[0,12]])}))),function(t){return e.apply(this,arguments)})}]),l}(i(8).e);Object(u.a)([Object(p.c)({default:"Olimpíadas 24"})],l.prototype,"title",void 0),Object(u.a)([Object(p.c)({default:""})],l.prototype,"link",void 0),Object(u.a)([Object(p.c)({default:""})],l.prototype,"standingsLink",void 0),Object(u.a)([Object(p.c)({default:"BRA"})],l.prototype,"pinnedCountry",void 0),Object(u.a)([Object(p.c)({default:"rank_gold"})],l.prototype,"orderBy",void 0),Object(u.a)([Object(p.c)()],l.prototype,"metrics",void 0),Object(u.a)([Object(p.c)({default:4})],l.prototype,"amount",void 0),Object(u.a)([Object(p.c)({default:"selo-olimpiadas-1"})],l.prototype,"adsId",void 0),u=l=Object(u.a)([Object(p.a)({name:"CardOlympicsMedals"})],l),p=i(9),l=i(163),l=i.n(l),u=Object(p.a)(u,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t.data.isMobile?i("CardOlympicsMedalsCompact",{attrs:{"standings-link":t.standingsLink,"header-link":t.headerLink,link:t.link,title:t.title,"pinned-country":t.pinnedCountry,metrics:t.metrics,"order-by":t.orderBy,"ads-id":t.adsId}}):i("section",{staticClass:"cardOlympicsMedals"},[i("div",{staticClass:"cardOlympicsMedals__wrapper"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"quadro-de-medalhas"}),expression:"{...getMetrics, label: 'quadro-de-medalhas'}"}],attrs:{href:t.standingsLink}},[i("header",{staticClass:"cardOlympicsMedals__header"})]),i("div",{staticClass:"cardOlympicsMedals__body"},[i("ul",{staticClass:"cardOlympicsMedals__links"},[i("li",{staticClass:"cardOlympicsMedals__links__link hyperlink"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"quadro-de-medalhas"}),expression:"{...getMetrics, label: 'quadro-de-medalhas'}"}],attrs:{href:t.standingsLink}},[i("img",{staticClass:"cardOlympicsMedals__links__link__icon",attrs:{src:"//imguol.com.br/c/esporte/olimpiadas/2024/home/olympics_medal_icon.svg"}}),t._v("\n              Quadro de medalhas\n            ")])]),t.link?i("li",{staticClass:"cardOlympicsMedals__links__link hyperlink"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"melhor-do-brasil"}),expression:"{...getMetrics, label: 'melhor-do-brasil'}"}],attrs:{href:t.link}},[i("img",{staticClass:"cardOlympicsMedals__links__link__icon",attrs:{src:"//imguol.com.br/c/esporte/olimpiadas/2024/home/br_flag.svg"}}),t._v("\n              Melhor do Brasil\n            ")])]):t._e()]),i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"quadro-de-medalhas"}),expression:"{...getMetrics, label: 'quadro-de-medalhas'}"}],staticClass:"cardOlympicsMedals__body__link hyperlink",attrs:{href:t.standingsLink}},[i("ul",{staticClass:"cardOlympicsMedals__scoreboard",attrs:{"aria-label":"Lista de países com medalhas"}},t._l(t.countries,(function(e){return i("li",{key:e.abbr,staticClass:"cardOlympicsMedals__country",class:{"cardOlympicsMedals__country--pinned":t.getPinnedCountry(e)}},[i("span",{staticClass:"cardOlympicsMedals__country__info"},[i("span",{staticClass:"cardOlympicsMedals__country__info__position"},[t._v(t._s(e.position))]),i("img",{staticClass:"cardOlympicsMedals__country__info__flag",attrs:{src:t.getFlag(e.abbr),alt:"Bandeira de "+e.abbr}}),i("span",{staticClass:"cardOlympicsMedals__country__info__abbr"},[t._v("\n                  "+t._s(e.abbr)+"\n                ")])]),i("span",{staticClass:"cardOlympicsMedals__country__medals"},[i("span",{staticClass:"cardOlympicsMedals__country__medal cardOlympicsMedals__country__medal--gold"},[t._v(t._s(e.gold))]),i("span",{staticClass:"cardOlympicsMedals__country__medal cardOlympicsMedals__country__medal--silver"},[t._v(t._s(e.silver))]),i("span",{staticClass:"cardOlympicsMedals__country__medal cardOlympicsMedals__country__medal--bronze"},[t._v(t._s(e.bronze))])])])})),0)])])])])],1)}),[],!1,(function(t){var e=i(666);e.__inject__&&e.__inject__(t)}),null,"09982bb1"),"function"==typeof l.a&&l()(u),e.a=u.exports},475:function(t,e,i){"use strict";var a=i(7),s=i(10),o=i(2),n=i(5),r=i(4),c=i(3),l=i(6),d=i.n(l),u=(i(35),i(18),i(12),i(66),i(17),i(1)),p=i(0);l=function(t){Object(r.a)(l,t);var e,i=Object(c.a)(l);function l(){return Object(o.a)(this,l),i.apply(this,arguments)}return Object(n.a)(l,[{key:"getMetrics",get:function(){return Object.assign({},this.metrics)}},{key:"getFlag",value:function(t){return"//imguol.com.br/c/esporte/olimpiadas/2020/paises/".concat(t,".svg")}},{key:"getPinnedCountry",value:function(t){return t.abbr===this.pinnedCountry}},{key:"pinned",get:function(){var t;return(null===(t=this.data.standings)||void 0===t?void 0:t.find(this.getPinnedCountry))||{}}},{key:"countries",get:function(){var t,e=this.data.standings;if(null==e||!e.length)return[];var i=null===(t=null==e?void 0:e.slice(0,this.amount))||void 0===t?void 0:t.find(this.getPinnedCountry);return null===(t=this.pinned)||void 0===t||!t.abbr||i?null==e?void 0:e.slice(0,this.amount+1):null==e?void 0:e.slice(0,this.amount).concat(this.pinned)}},{key:"created",value:function(){}},{key:"dispatch",value:(e=Object(s.a)(d.a.mark((function t(e){var i,s;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=4,this.tools.json.open("commons.uol.com.br/sistemas/roswell/olympics/2024/medal-board.json");case 4:s=t.sent,i=s.board,s=function(t){return Object(a.a)(Object(a.a)({},t),{},{position:t.rank_gold?"".concat(t.rank_gold,"º"):"-",abbr:null===(t=t.abbr)||void 0===t?void 0:t.toUpperCase()})},s=Object.values(i).map(s),e({standings:s}),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),this.tools.log.error(t.t0),e({standings:[]});case 16:case"end":return t.stop()}}),t,this,[[0,12]])}))),function(t){return e.apply(this,arguments)})}]),l}(i(8).e);Object(u.a)([Object(p.c)({default:"Olimpíadas 24"})],l.prototype,"title",void 0),Object(u.a)([Object(p.c)({default:""})],l.prototype,"link",void 0),Object(u.a)([Object(p.c)({default:""})],l.prototype,"standingsLink",void 0),Object(u.a)([Object(p.c)({default:"BRA"})],l.prototype,"pinnedCountry",void 0),Object(u.a)([Object(p.c)({default:"rank_gold"})],l.prototype,"orderBy",void 0),Object(u.a)([Object(p.c)()],l.prototype,"metrics",void 0),Object(u.a)([Object(p.c)({default:3})],l.prototype,"amount",void 0),Object(u.a)([Object(p.c)({default:"selo-olimpiadas-2"})],l.prototype,"adsId",void 0),u=l=Object(u.a)([Object(p.a)({name:"CardOlympicsMedalsCompact"})],l),p=i(9),l=i(164),l=i.n(l),u=Object(p.a)(u,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"cardOlympicsMedalsCompact"},[i("div",{staticClass:"cardOlympicsMedalsCompact__wrapper edgeToEdge--xs"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"quadro-de-medalhas"}),expression:"{...getMetrics, label: 'quadro-de-medalhas'}"}],attrs:{href:t.standingsLink}},[i("header",{staticClass:"cardOlympicsMedalsCompact__header"})]),i("div",{staticClass:"cardOlympicsMedalsCompact__body"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"quadro-medalhas"}),expression:"{...getMetrics, label: 'quadro-medalhas'}"}],staticClass:"cardOlympicsMedalsCompact__body__link hyperlink",attrs:{href:t.standingsLink}},[i("ul",{staticClass:"cardOlympicsMedalsCompact__scoreboard",attrs:{"aria-label":"Lista de países com medalhas"}},t._l(t.countries,(function(e){return i("li",{key:e.abbr,staticClass:"cardOlympicsMedalsCompact__country",class:{"cardOlympicsMedalsCompact__country--pinned":t.getPinnedCountry(e)}},[i("span",{staticClass:"cardOlympicsMedalsCompact__country__position"},[t._v(t._s(e.position))]),i("img",{staticClass:"cardOlympicsMedalsCompact__country__flag",attrs:{src:t.getFlag(e.abbr),alt:"Bandeira de "+e.abbr}}),i("span",{staticClass:"cardOlympicsMedalsCompact__country__abbr"},[t._v("\n              "+t._s(e.abbr)+"\n            ")]),i("span",{staticClass:"cardOlympicsMedalsCompact__country__medals"},[i("span",{staticClass:"cardOlympicsMedalsCompact__country__medal cardOlympicsMedalsCompact__country__medal--gold"},[t._v(t._s(e.gold))]),i("span",{staticClass:"cardOlympicsMedalsCompact__country__medal cardOlympicsMedalsCompact__country__medal--silver"},[t._v(t._s(e.silver))]),i("span",{staticClass:"cardOlympicsMedalsCompact__country__medal cardOlympicsMedalsCompact__country__medal--bronze"},[t._v(t._s(e.bronze))])])])})),0)]),i("ul",{staticClass:"cardOlympicsMedalsCompact__links"},[i("li",{staticClass:"cardOlympicsMedalsCompact__links__link hyperlink"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"quadro-de-medalhas"}),expression:"{...getMetrics, label: 'quadro-de-medalhas'}"}],attrs:{href:t.standingsLink}},[i("img",{staticClass:"cardOlympicsMedalsCompact__links__link__icon",attrs:{src:"//imguol.com.br/c/esporte/olimpiadas/2024/home/olympics_medal_icon.svg"}}),t._v("\n            Quadro de medalhas\n          ")])]),t.link?i("li",{staticClass:"cardOlympicsMedalsCompact__links__link hyperlink"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.getMetrics,{label:"melhor-do-brasil"}),expression:"{...getMetrics, label: 'melhor-do-brasil'}"}],attrs:{href:t.link}},[i("img",{staticClass:"cardOlympicsMedalsCompact__links__link__icon",attrs:{src:"//imguol.com.br/c/esporte/olimpiadas/2024/home/br_flag.svg"}}),t._v("\n            Melhor do Brasil\n          ")])]):t._e()])])])])}),[],!1,(function(t){var e=i(668);e.__inject__&&e.__inject__(t)}),null,"046b8690"),"function"==typeof l.a&&l()(u),e.a=u.exports},476:function(t,e,i){"use strict";var a,s,o=i(10),n=i(7),r=i(2),c=i(5),l=i(4),d=i(3),u=i(6),p=i.n(u),h=(i(16),i(31),i(12),i(35),i(670),i(13),i(15),i(1)),_=i(0),m=i(8);(u=a=a||{}).RESULTS="results",u.VOTE="vote",(u=s=s||{}).voteSucess="Voto realizado com sucesso!",u.voteFailed="Problema para votar, tente novamente.",u.partialResultFailed="Problema para recuperar o resultado, tente novamente.",u.userOffline="Você está offline, verifique sua conexão.",u.invalidCaptcha="Encontramos um problema para validar seu voto. Tente novamente.",m=function(t){Object(l.a)(m,t);var e,i,u,h,_=Object(d.a)(m);function m(){var t;return Object(r.a)(this,m),(t=_.apply(this,arguments)).selectedOption="",t.messageReturn="",t.controlStates={isLogged:!1,showGatekeeper:!1,showResults:!1,voteComputedSucess:!1,showLoadingPartialResults:!1,showLoadingComputingVote:!1,failedRequest:!1,voteAfterLogin:!1,captchaReady:!1,applyVoteAgain:!1},t.gatekeeperData={headText:"você já votou uma vez na enquete!",midText:{text:"Seja assinante para votar quantas vezes quiser e tenha acesso ilimitado a todo conteúdo UOL.",highlight:"acesso ilimitado"},benefits:["Mais de 190 colunistas renomados","Dicas de investimentos","E mais: Esporte, Horóscopo e conteúdo exclusivo dos maiores jornais do país"],metrics:t.metrics},t}return Object(c.a)(m,[{key:"validIdPoll",value:function(){return this.getIdCookie()===this.pollId.toString()&&(this.controlStates.applyVoteAgain=!0),this.controlStates.applyVoteAgain}},{key:"buttonText",get:function(){var t=(e=this.controlStates).isLogged,e=e.applyVoteAgain;return t&&e?"VOTAR DE NOVO":"VOTAR"}},{key:"metricsVotedComputed",get:function(){return this.controlStates.isLogged&&this.controlStates.applyVoteAgain?Object(n.a)(Object(n.a)({},this.metrics),{},{action:"vote-again-logged"}):Object(n.a)(Object(n.a)({},this.metrics),{},{action:this.controlStates.isLogged?"vote-logged":"vote-logged-out"})}},{key:"metricsTitle",get:function(){return Object(n.a)(Object(n.a)({},this.metrics),{},{component:"card-poll",label:"content-headline",position:void 0})}},{key:"onOptionChange",value:function(){this.selectedOption&&this.setSessionStorage(this.selectedOption)}},{key:"showPartialResults",value:(h=Object(o.a)(p.a.mark((function t(){var e;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.controlStates.showLoadingPartialResults=!0,t.next=3,this.requestPoll(a.RESULTS);case 3:null!=(e=t.sent)&&e.error||null==e||!e.data?this.showMessageError(s.partialResultFailed):(this.resultPoll=e.data,this.controlStates.showResults=!0,this.controlStates.showLoadingPartialResults=!1);case 5:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"requestPoll",value:(u=Object(o.a)(p.a.mark((function t(e){var i,a=this;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this.getUrlRequest(e),t.next=3,this.fetch.get(i,{cacheTTL:0,onOffline:function(){return a.showMessageError(s.userOffline)}},{credentials:"include"});case 3:return i=(i=t.sent).data,t.abrupt("return",i?{data:i,error:!1}:{error:!0});case 6:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"getUrlRequest",value:function(t){var e="https://enquete.uol.com.br/".concat(t,"?id=").concat(this.pollId);return t===a.VOTE&&(e+="&answers=".concat(this.selectedOption,"&g-recaptcha-response=").concat(this.captchaToken)),e}},{key:"showMessageError",value:function(t){var e=this;this.controlStates.failedRequest=!0,this.controlStates.showLoadingComputingVote=!1,this.messageReturn=t,setTimeout((function(){e.controlStates.voteComputedSucess=!1,e.controlStates.failedRequest=!1,e.controlStates.showLoadingPartialResults=!1}),3e3)}},{key:"validateVote",value:(i=Object(o.a)(p.a.mark((function t(){var e;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.controlStates.isLogged){t.next=14;break}if(this.controlStates.captchaReady){t.next=4;break}return this.showMessageError(s.invalidCaptcha),t.abrupt("return");case 4:return t.next=6,window.grecaptcha.enterprise.execute("6LeSwIsdAAAAAH2urtWmGXzsbhOnhBq2dKq5qW4v",{action:"VOTAR"});case 6:return this.captchaToken=t.sent,this.controlStates.showLoadingComputingVote=!0,t.next=10,this.requestPoll(a.VOTE);case 10:null!=(e=t.sent)&&e.data&&!e.error?(this.resultVote=e.data,this.executeCodeReturn()):this.showMessageError(s.voteFailed),t.next=16;break;case 14:this.controlStates.voteAfterLogin=!0,this.login();case 16:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"executeCodeReturn",value:function(){1===this.resultVote.code?this.computedVote():3===this.resultVote.code?this.toggleGatekeeper():this.showMessageError(s.invalidCaptcha)}},{key:"computedVote",value:(e=Object(o.a)(p.a.mark((function t(){var e=this;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.messageReturn=s.voteSucess,this.controlStates.voteComputedSucess=!0,this.controlStates.showResults=!0,this.controlStates.applyVoteAgain=!0,this.selectedOption="",this.setIdCookie("".concat(this.pollId)),this.setSessionStorage(this.selectedOption),setTimeout((function(){e.requestPoll(a.RESULTS).then((function(t){e.resultPoll=t.data||e.resultVote,e.controlStates.showLoadingComputingVote=!1,e.controlStates.voteComputedSucess=!1}))}),3e3);case 8:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"getQtdAnswers",get:function(){switch(this.itemCollection.length){case 3:return"cardPoll__answers--three";case 4:return"cardPoll__answers--four";case 5:return"cardPoll__answers--five";default:return"cardPoll__answers--two"}}},{key:"getPercentVote",value:function(t){var e=null===(i=this.resultPoll)||void 0===i?void 0:i.answers.find((function(e){return e.id===parseInt(t,10)}));if(e){var i=e.percent.toString();return(i=parseInt(i,10)!==parseFloat(i)?e.percent.toFixed(2):"".concat(i,".00")).replace(/\./,",")}return"0"}},{key:"bindMetrics",value:function(t){(t=Object(n.a)(Object(n.a)({},this.metrics),t)).action&&this.tools.custom.metrics.interaction(t,t.action)}},{key:"setSessionStorage",value:function(t){sessionStorage.setItem("homePollOption-".concat(this.pollId),t)}},{key:"setIdCookie",value:function(t){this.tools.custom.cookie.setCookie("idPoll-".concat(t),t,{expires:10,domain:".uol.com.br"})}},{key:"getIdCookie",value:function(){return this.tools.custom.cookie.getCookie("idPoll-".concat(this.pollId))}},{key:"toggleGatekeeper",value:function(){this.controlStates.showGatekeeper=!this.controlStates.showGatekeeper,this.tools.custom.overlayToggle.setOverlay(this.controlStates.showGatekeeper),this.controlStates.showGatekeeper?(this.data.isMobile&&(this.$root.$emit("toggleMenu"),this.$root.$emit("toggleZIndex")),this.$root.$on("overlayCloseAction",this.toggleGatekeeper),this.tools.custom.metrics.send(Object(n.a)(Object(n.a)({},this.gatekeeperData.metrics),{},{category:"paywall",action:"impressao",label:"componente-visualizado",abTest20:"home-".concat(this.metrics.area,"-").concat(this.metrics.category)}),"event")):(this.$root.$emit("toggleZIndex"),this.$root.$off("overlayCloseAction"),this.controlStates.showLoadingComputingVote=!1)}},{key:"handleLoggedIn",value:function(){this.controlStates.isLogged=!0,this.controlStates.voteAfterLogin&&this.selectedOption.length&&(this.validateVote(),this.controlStates.voteAfterLogin=!1)}},{key:"handleLoggedOut",value:function(){this.controlStates.isLogged=!1}},{key:"login",value:function(){this.$store.getters.data("UserProfileIsUserLogged")||this.$root.$emit("UserProfileLogin",{area:"sa=enquete"})}},{key:"created",value:function(){this.$root.$on("UserProfileLoggedIn",this.handleLoggedIn),this.$root.$on("UserProfileLoggedOut",this.handleLoggedOut)}},{key:"loadCaptcha",value:function(){var t=this;window.grecaptcha.enterprise.ready((function(){t.controlStates.captchaReady=!0}))}},{key:"mounted",value:function(){var t;this.validIdPoll(),window.grecaptcha?this.$nextTick(this.loadCaptcha):((t=document.createElement("script")).id="recaptchaScript",t.src="https://www.google.com/recaptcha/enterprise.js?render=6LeSwIsdAAAAAH2urtWmGXzsbhOnhBq2dKq5qW4v",t.onload=this.loadCaptcha.bind(this),document.head.appendChild(t)),this.$store.getters.data("UserProfileIsUserLogged")&&this.handleLoggedIn(),this.selectedOption=sessionStorage.getItem("homePollOption-".concat(this.pollId))||""}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),m}(m.b),Object(h.a)([Object(_.c)({required:!0})],m.prototype,"pollTitle",void 0),Object(h.a)([Object(_.c)({required:!0})],m.prototype,"pollId",void 0),Object(h.a)([Object(_.c)()],m.prototype,"disclaimer",void 0),Object(h.a)([Object(_.c)()],m.prototype,"url",void 0),Object(h.a)([Object(_.e)("selectedOption")],m.prototype,"onOptionChange",null),h=m=Object(h.a)([Object(_.a)({name:"CardPoll"})],m),_=i(9),m=i(165),m=i.n(m),h=Object(_.a)(h,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cardPoll"},[t.controlStates.showLoadingComputingVote&&!t.controlStates.voteComputedSucess?i("div",{staticClass:"cardPoll__loading__ellipsis loading__ellipsis"},[i("div"),i("div"),i("div"),i("div")]):t._e(),i("p",{directives:[{name:"show",rawName:"v-show",value:t.controlStates.voteComputedSucess||t.controlStates.failedRequest,expression:"controlStates.voteComputedSucess || controlStates.failedRequest"}],class:["cardPoll__messageReturn alert",{"alert--failed":t.controlStates.failedRequest}]},[t._v("\n    "+t._s(t.messageReturn)+"\n  ")]),i("div",{class:["cardPoll__container",{"cardPoll--opacity":t.controlStates.showLoadingComputingVote||t.controlStates.failedRequest},t.getQtdAnswers]},[i("h3",{staticClass:"cardPoll__title"},[t.url?i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:t.metricsTitle,expression:"metricsTitle"}],staticClass:"hyperlink",attrs:{href:t.url}},[t._v("\n        "+t._s(t.pollTitle)+"\n      ")]):i("span",[t._v("\n        "+t._s(t.pollTitle)+"\n      ")])]),t.itemCollection&&t.itemCollection.length?i("div",{staticClass:"cardPoll__options"},t._l(t.itemCollection,(function(e,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:!t.controlStates.voteComputedSucess,expression:"!controlStates.voteComputedSucess"}],key:e.id+"-"+a,class:["cardPoll__options__item",{"cardPoll__options__item--disabled":t.selectedOption&&t.selectedOption!==e.id}],attrs:{tabindex:"0"},on:{click:function(i){i.preventDefault(),t.selectedOption=e.id,t.bindMetrics({position:e.slug+"-"+(a+1),action:t.showResults?"result-choice":"choice"})},keydown:function(i){if(!i.type.indexOf("key")&&t._k(i.keyCode,"enter",13,i.key,"Enter"))return null;t.selectedOption=e.id,t.bindMetrics({position:e.slug+"-"+(a+1),action:t.showResults?"result-choice":"choice"})}}},[i("Photograph",t._b({staticClass:"cardPoll__options__photo",attrs:{crop:"1x1",type:"avatar"}},"Photograph",e.photo,!1)),i("div",{staticClass:"cardPoll__options__container"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedOption,expression:"selectedOption"}],staticClass:"cardPoll__options__container__input",attrs:{id:"poll-"+e.id,tabindex:"-1",type:"radio",name:"optionsPoll"},domProps:{value:e.id,checked:t._q(t.selectedOption,e.id)},on:{change:function(i){t.selectedOption=e.id}}}),i("label",{attrs:{for:"poll-"+e.id}},[t._v(t._s(e.title))]),t.controlStates.showLoadingPartialResults?i("span",{staticClass:"cardPoll__loading__percent loading__skeleton"}):t._e(),t.controlStates.showResults&&!t.controlStates.showLoadingPartialResults?i("p",{staticClass:"cardPoll__options__container__percent"},[t._v("\n            "+t._s(t.getPercentVote(e.id))+"\n          ")]):t._e()])],1)})),0):t._e(),i("ButtonHome",{class:["cardPoll__buttonVote",{"cardPoll__buttonVote--applyVoteAgain":t.controlStates.applyVoteAgain}],attrs:{disabled:!t.selectedOption.length,metrics:Object.assign({},t.metricsVotedComputed),text:t.buttonText},on:{click:function(e){return t.validateVote()}}})],1),i("div",{class:["cardPoll__bottom",{"cardPoll--opacity":t.controlStates.showLoadingComputingVote||t.controlStates.failedRequest}]},[i("div",{staticClass:"cardPoll__bottom--information"},[t.disclaimer?i("p",{staticClass:"cardPoll__bottom__disclaimer"},[t._v("\n        "+t._s(t.disclaimer)+"\n      ")]):t._e(),t._m(0)]),t.controlStates.showResults||t.controlStates.showLoadingPartialResults?t._e():i("ButtonHome",{staticClass:"cardPoll__bottom__buttonResult",attrs:{shape:"ghost",text:"RESULTADO PARCIAL",metrics:Object.assign({},t.metrics,{action:"result"})},on:{click:function(e){return t.showPartialResults()}}}),t.controlStates.showLoadingPartialResults?i("span",{staticClass:"cardPoll__loading__result loading__skeleton"}):t._e(),t.resultPoll&&t.resultPoll.votes&&t.controlStates.showResults&&!t.controlStates.showLoadingComputingVote?i("p",{staticClass:"cardPoll__bottom__result"},[t._v("\n      "+t._s(t.resultPoll.votes)+" VOTOS\n    ")]):t._e()],1),i("Gatekeeper",t._b({directives:[{name:"show",rawName:"v-show",value:t.controlStates.showGatekeeper,expression:"controlStates.showGatekeeper"}],staticClass:"cardPoll__gatekeeper",on:{closeGate:t.toggleGatekeeper}},"Gatekeeper",t.gatekeeperData,!1)),i("div",{staticClass:"g-recaptcha",attrs:{"data-sitekey":"6LeSwIsdAAAAAH2urtWmGXzsbhOnhBq2dKq5qW4v","data-size":"invisible"}})],1)}),[function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("p",{staticClass:"cardPoll__bottom__recaptcha"},[t._v("\n        Este site é protegido pelo reCAPTCHA e pelo Google\n        "),e("a",{staticClass:"cardPoll__bottom__recaptcha__link",attrs:{href:"https://policies.google.com/privacy",target:"_blank"}},[t._v("Política de Privacidade")]),t._v(" e\n        "),e("a",{staticClass:"cardPoll__bottom__recaptcha__link",attrs:{href:"https://policies.google.com/terms",target:"_blank"}},[t._v("Termos de serviço")]),t._v(".\n      ")])}],!1,(function(t){var e=i(673);e.__inject__&&e.__inject__(t)}),null,"c6a117f8"),"function"==typeof m.a&&m()(h),e.a=h.exports},477:function(t,e,i){"use strict";var a=i(2),s=i(5),o=i(4),n=i(3),r=i(1),c=i(0),l=function(t){Object(o.a)(i,t);var e=Object(n.a)(i);function i(){var t;return Object(a.a)(this,i),(t=e.apply(this,arguments)).show=!0,t}return Object(s.a)(i,[{key:"created",value:function(){}},{key:"handlePhotoError",value:function(){this.show=!1}},{key:"dispatch",value:function(t){t()}}]),i}(i(8).a);r=l=Object(r.a)([Object(c.a)({name:"CardPrime"})],l),c=i(9),l=i(166),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection.length&&t.show?i("section",{staticClass:"cardPrime"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"uol-prime-home"}),expression:"{ ...metrics, label: 'uol-prime-home' }"}],staticClass:"cardPrime__header hyperlink cardPrime__link",attrs:{href:"https://www.uol.com.br/prime/"}},[t._m(0)]),i("div",{staticClass:"cardPrime__content"},[i("ul",{staticClass:"cardPrime__list"},t._l(t.headlineCollection,(function(e,a){return i("li",{key:e.id,staticClass:"cardPrime__item"},[e.photo.images.length?i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"abrir-chamada",position:""+(a+1)}),expression:"{ ...metrics,label: 'abrir-chamada', position: `${index+1}` }"}],staticClass:"cardPrime__item__link hyperlink cardPrime__link",attrs:{href:e.link}},[i("article",{staticClass:"cardPrime__poster",attrs:{"aria-labelledby":e.id}},[i("photograph",{staticClass:"cardPrime__poster__image",attrs:{images:e.photo.images,credit:e.title,"emit-error-event":!0,"sharp-border":!0,crop:"3x4","emit-load-event":!0},on:{loadError:t.handlePhotoError}})],1),e.styleHeadline.isPremium?i("div",{staticClass:"cardPrime__premium"},[i("span",{staticClass:"kicker--premium kicker--premium"})]):t._e()]):t._e()])})),0)])]):t._e()}),[function(){var t=this.$createElement;return(t=this._self._c||t)("div",{staticClass:"cardPrime__header__wrapper",attrs:{"aria-hidden":"true"}},[t("img",{staticClass:"cardPrime__header__logo",attrs:{src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/brand/uol-prime-white.svg"}}),t("img",{staticClass:"cardPrime__header__subtitle",attrs:{src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/brand/uol-prime-subtitle.svg"}})])}],!1,(function(t){var e=i(675);e.__inject__&&e.__inject__(t)}),null,"7494b1f8"),"function"==typeof l.a&&l()(r),e.a=r.exports},478:function(t,e,i){"use strict";var a=i(2),s=i(5),o=i(4),n=i(3),r=i(1),c=i(0),l=function(t){Object(o.a)(i,t);var e=Object(n.a)(i);function i(){var t;return Object(a.a)(this,i),(t=e.apply(this,arguments)).show=!0,t}return Object(s.a)(i,[{key:"created",value:function(){}},{key:"handlePhotoError",value:function(){this.show=!1}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(8).a);r=l=Object(r.a)([Object(c.a)({name:"CardPrimeHighlight"})],l),c=i(9),l=i(167),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection.length&&t.show?i("section",{staticClass:"cardPrimeHighlight"},t._l(t.headlineCollection,(function(e,a){return i("article",{key:e.id,staticClass:"cardPrimeHighlight__item"},[e.photo.images.length?i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"content",position:""+(a+1)}),expression:"{ ...metrics,label: 'content', position: `${index+1}` }"}],staticClass:"cardPrimeHighlight__item__link hyperlink cardPrimeHighlight__link",attrs:{href:e.link}},[i("photograph",{staticClass:"cardPrimeHighlight__poster__image",attrs:{images:e.photo.images,credit:e.title,crop:t.data.isMobile?"":"4x3","emit-error-event":!0,"emit-load-event":!0},on:{loadError:t.handlePhotoError}}),i("div",{staticClass:"cardPrimeHighlight__info"},[t.data.isMobile?t._e():i("h3",{staticClass:"cardPrimeHighlight__title"},[t._v("\n          "+t._s(e.title)+"\n        ")]),e.styleHeadline.isPremium?i("div",{staticClass:"cardPrimeHighlight__premium"},[i("span",{staticClass:"kicker--premium kicker--premium"})]):t._e()])],1):t._e()])})),0):t._e()}),[],!1,(function(t){var e=i(677);e.__inject__&&e.__inject__(t)}),null,"8fc0e38e"),"function"==typeof l.a&&l()(r),e.a=r.exports},648:function(t,e,i){"use strict";i.r(e);var a,s=i(308);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},649:function(t,e,i){},650:function(t,e,i){"use strict";i.r(e);var a,s=i(309);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},651:function(t,e,i){},652:function(t,e,i){"use strict";i.r(e);var a,s=i(311);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},653:function(t,e,i){},658:function(t,e,i){"use strict";i.r(e);var a,s=i(314);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},659:function(t,e,i){},660:function(t,e,i){"use strict";i.r(e);var a,s=i(315);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},661:function(t,e,i){},662:function(t,e,i){"use strict";i.r(e);var a,s=i(316);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},663:function(t,e,i){},666:function(t,e,i){"use strict";i.r(e);var a,s=i(318);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},667:function(t,e,i){},668:function(t,e,i){"use strict";i.r(e);var a,s=i(319);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},669:function(t,e,i){},673:function(t,e,i){"use strict";i.r(e);var a,s=i(320);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},674:function(t,e,i){},675:function(t,e,i){"use strict";i.r(e);var a,s=i(321);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},676:function(t,e,i){},677:function(t,e,i){"use strict";i.r(e);var a,s=i(322);for(a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a)},678:function(t,e,i){}}]);
