(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{143:function(t,e){},144:function(t,e){},145:function(t,e){},146:function(t,e){},147:function(t,e){},148:function(t,e){},149:function(t,e){},150:function(t,e){},152:function(t,e){},153:function(t,e){},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){},162:function(t,e){},163:function(t,e){},283:function(t,e,i){var o=i(588);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("359e3857",o,!0,{singleton:!0})},284:function(t,e,i){var o=i(590);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("da3ca184",o,!0,{singleton:!0})},285:function(t,e,i){var o=i(592);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("8a03b99c",o,!0,{singleton:!0})},287:function(t,e,i){var o=i(596);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("20ba71be",o,!0,{singleton:!0})},288:function(t,e,i){var o=i(598);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("241fb02b",o,!0,{singleton:!0})},289:function(t,e,i){var o=i(600);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("7e1814ce",o,!0,{singleton:!0})},290:function(t,e,i){var o=i(602);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("96a6841c",o,!0,{singleton:!0})},297:function(t,e,i){var o=i(605);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("47b21383",o,!0,{singleton:!0})},299:function(t,e,i){var o=i(609);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("2a4b3ed7",o,!0,{singleton:!0})},300:function(t,e,i){var o=i(611);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("7430a8b2",o,!0,{singleton:!0})},301:function(t,e,i){var o=i(613);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("5141e3f9",o,!0,{singleton:!0})},302:function(t,e,i){var o=i(615);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("14b245eb",o,!0,{singleton:!0})},305:function(t,e,i){var o=i(620);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("5063fc19",o,!0,{singleton:!0})},306:function(t,e,i){var o=i(622);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("5bf3f6d6",o,!0,{singleton:!0})},307:function(t,e,i){var o=i(624);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("eb5ccf2c",o,!0,{singleton:!0})},308:function(t,e,i){var o=i(629);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("981d49fc",o,!0,{singleton:!0})},309:function(t,e,i){var o=i(631);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("443bd0a8",o,!0,{singleton:!0})},427:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).headlineAdKey=0,t}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"onHeadlineCollectionChange",value:function(){!0===this.advertising&&(this.headlineAdKey=(new Date).getTime())}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);Object(r.a)([Object(c.c)({default:!1})],l.prototype,"advertising",void 0),Object(r.a)([Object(c.c)({default:function(){return"banner-native-home-area"}})],l.prototype,"headlineAdId",void 0),Object(r.a)([Object(c.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null),r=l=Object(r.a)([Object(c.a)({name:"CardBrandList"})],l),c=i(8),l=i(143),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("ul",{staticClass:"cardBrandList"},[t._l(t.headlineCollection,(function(e,o){return i("li",{key:e.id+"-"+o,staticClass:"cardBrandList__item"},[i("HeadlineHorizontalBrand",t._b({attrs:{metrics:Object.assign({},t.metrics,{position:(o+1).toString()})}},"HeadlineHorizontalBrand",e,!1))],1)})),t.advertising?i("li",{staticClass:"cardBrandList__item"},[i("HeadlineHorizontalAd",{key:"advertising-"+t.headlineAdKey,attrs:{id:t.headlineAdId}})],1):t._e()],2):t._e()}),[],!1,(function(t){var e=i(587);e.__inject__&&e.__inject__(t)}),null,"5fae11b5"),"function"==typeof l.a&&l()(r),e.a=r.exports},428:function(t,e,i){"use strict";var o=i(9),a=i(2),n=i(5),s=i(4),r=i(3),c=i(1),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){return Object(a.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"relatedsMetrics",get:function(){if(null!==(t=this.styleHeadline)&&void 0!==t&&t.isPremium){var t="".concat(this.metrics.category,"-subscribe");return Object(o.a)(Object(o.a)({},this.metrics),{},{category:t})}return this.metrics}},{key:"hasRelateds",get:function(){return!(!this.relateds||!this.relateds.length)}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).c);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"id",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"link",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"title",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"brand",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"photo",void 0),Object(c.a)([Object(l.c)()],u.prototype,"icon",void 0),Object(c.a)([Object(l.c)()],u.prototype,"kicker",void 0),Object(c.a)([Object(l.c)()],u.prototype,"styleHeadline",void 0),Object(c.a)([Object(l.c)()],u.prototype,"relateds",void 0),Object(c.a)([Object(l.c)()],u.prototype,"showComments",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardBrandSpecial"})],u),l=i(8),u=i(144),u=i.n(u),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"cardBrandSpecial"},[e("HeadlineHorizontalBrand",{class:["cardBrandSpecial__headline",{"has-relateds":t.hasRelateds}],attrs:{id:t.id,link:t.link,title:t.title,brand:t.brand,photo:t.photo,icon:t.icon,kicker:t.kicker,"style-headline":t.styleHeadline,"show-comments":t.showComments,metrics:t.metrics}}),t.hasRelateds?e("RelatedList",{staticClass:"cardBrandSpecial__related-list",attrs:{"related-list":t.relateds,"is-mobile":t.data.isMobile,metrics:t.relatedsMetrics}}):t._e()],1)}),[],!1,(function(t){var e=i(589);e.__inject__&&e.__inject__(t)}),null,"ba3e0b6e"),"function"==typeof u.a&&u()(c),e.a=c.exports},429:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({})}}]),i}(i(7).c);Object(r.a)([Object(c.c)()],l.prototype,"url",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardCarnivalStrip"})],l),c=i(8),l=i(145),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("section",{staticClass:"card-carnival-strip"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{action:t.url,position:"1",label:"carnaval"}),expression:"{...metrics, action: url, position: '1', label: 'carnaval'}"}],staticClass:"carnival-strip hyperlink edgeToEdge--xs",attrs:{href:t.url}},[e("div",{staticClass:"carnival-strip--title"},[t._v("\n      Carnaval 2023\n    ")])]),e("CardAd",{staticClass:"card-carnival-strip--ad",attrs:{id:"selo-carnaval","class-ad":"selo-vertical","custom-class":"carnival","show-label":!1}})],1)}),[],!1,(function(t){var e=i(591);e.__inject__&&e.__inject__(t)}),null,"bb783262"),"function"==typeof l.a&&l()(r),e.a=r.exports},430:function(t,e,i){"use strict";var o=i(10),a=i(9),n=i(2),s=i(5),r=i(4),c=i(3),l=i(6),u=i.n(l),d=(i(71),i(286),i(56),i(37),i(17),i(16),i(32),i(38),i(1)),h=i(0);l=function(t){Object(r.a)(d,t);var e,i,l=Object(c.a)(d);function d(){var t;return Object(n.a)(this,d),(t=l.apply(this,arguments)).advertisingKey=0,t.default={isMobile:!1,adsPosition:"center",adsData:null},t}return Object(s.a)(d,[{key:"carouselItems",get:function(){var t=JSON.parse(JSON.stringify(this.headlineCollection));return this.data.adsData&&t.splice(this.getAdsIndexPosition(),0,this.data.adsData),t}},{key:"getAdsIndexPosition",value:function(){switch(this.data.adsPosition){case"center":case"meio":return Math.ceil(this.headlineCollection.length/2);case"first":case"primeiro":return 0;case"last":case"ultimo":return this.headlineCollection.length;default:return Number.isNaN(Number(this.data.adsPosition))?Math.max(1,this.headlineCollection.length-1):Number(this.data.adsPosition)}}},{key:"getShapeButton",get:function(){return"HeadlinePhoto"!==this.getComponentRender?"secondary":"primary"}},{key:"getComponentRender",get:function(){return this.headlineCollection.find((function(t){return t.brand}))?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"getClasses",get:function(){var t=["cardCarousel","cardCarousel--".concat(this.station)];return 1<this.headlineCollection.length&&t.push("cardCarousel__carouselActivated"),"HeadlinePhoto"===this.getComponentRender?t.push("cardCarousel__headlinePhoto"):t.push("cardCarousel__headlinePhotoBrand"),t}},{key:"getComponents",get:function(){var t=this;return this.carouselItems.map((function(e,i){var o,n=JSON.parse(JSON.stringify(e));return 0===i&&(n.emitLoadEvent=!0),n.metrics=Object(a.a)(Object(a.a)(Object(a.a)({},t.metrics),null!==(o=e.styleHeadline)&&void 0!==o&&o.isPremium?{category:"".concat(t.metrics.category,"-subscribe")}:{}),{},{position:(i+1).toString()}),{name:t.getItemRender(e),payload:n}}))}},{key:"getItemRender",value:function(t){return!0===t.isAdvertising?"HeadlinePhotoAd":t.brand?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"handleNativeBanner",value:function(t,e){this.tools.custom.debug.logMessage('ADS Carousel Native Banner. CALL "insertBannerRotativoTopo". data:',t,e),e.link&&e.texto&&e.imagem?(this.data.adsPosition=t,this.data.adsData={isAdvertising:!0,title:e.texto,link:e.link,id:"card-carousel-native-banner",offerAd:{label:"Oferecido por",image:e.selo},photo:{images:[{src:this.data.isMobile&&e.imagemMobile?e.imagemMobile:e.imagem}],credit:e.credito}}):this.tools.custom.debug.logMessage("ADS Carousel Native Banner. Erro para renderizar pois não veio as propriedades requireds")}},{key:"created",value:function(){}},{key:"mounted",value:(i=Object(o.a)(u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:!0===this.enableAdvertising&&void 0===window.insertBannerRotativoTopo&&(window.insertBannerRotativoTopo=this.handleNativeBanner.bind(this));case 3:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"onHeadlineCollectionChange",value:(e=Object(o.a)(u.a.mark((function t(e){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!0!==this.enableAdvertising){t.next=6;break}if(!1===e.some((function(t){return!0===t.isAdvertising})))return t.next=5,this.$nextTick();t.next=6;break;case 5:this.advertisingKey=(new Date).getTime();case 6:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),d}(i(7).a);Object(d.a)([Object(h.c)({default:!1})],l.prototype,"enableAdvertising",void 0),Object(d.a)([Object(h.c)({default:"home"})],l.prototype,"station",void 0),Object(d.a)([Object(h.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null),d=l=Object(d.a)([Object(h.a)({name:"CardCarousel"})],l),h=i(8),l=i(146),l=i.n(l),d=Object(h.a)(d,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{class:t.getClasses},[e("Carousel",{staticClass:"edgeToEdge--xs",attrs:{station:t.station,"auto-roll":!0,components:t.getComponents,"shape-button":t.getShapeButton,metrics:t.metrics}}),t.enableAdvertising?e("CardAd",{key:t.advertisingKey,attrs:{id:"banner-300x250-4","class-ad":"rotativo-topo",hidden:"","aria-hidden":"true"}}):t._e()],1)}),[],!1,(function(t){var e=i(595);e.__inject__&&e.__inject__(t)}),null,"2c8764a4"),"function"==typeof l.a&&l()(d),e.a=d.exports},431:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);Object(r.a)([Object(c.c)({default:!1})],l.prototype,"advertising",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardColumn"})],l),c=i(8),l=i(147),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?i("div",{staticClass:"cardColumn"},[i("div",{staticClass:"row row-cols-1 row-cols-lg-2"},[t._l(t.headlineCollection,(function(e,o){return i("HeadlineStandard",t._b({key:e.id,staticClass:"cardColumn__headlineStandard col"},"HeadlineStandard",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(o+1).toString()})}),!1))})),t.advertising?i("div",{staticClass:"cardColumn__headlineStandard col"},[i("div",{staticClass:"cardColumn__headlineAd"},[t._v("\n        Publicidade\n      ")])]):t._e()],2)]):t._e()}),[],!1,(function(t){var e=i(597);e.__inject__&&e.__inject__(t)}),null,"15525924"),"function"==typeof l.a&&l()(r),e.a=r.exports},432:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=(i(37),i(1)),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}},{key:"cupLinkTable",get:function(){return this.itemCollection.find((function(t){return"tabela-copa"===t.slug}))||{}}},{key:"cupLinkSelection",get:function(){return this.itemCollection.find((function(t){return"selecao"===t.slug}))||{}}}]),i}(i(7).b);r=l=Object(r.a)([Object(c.a)({name:"CardCupHeaderLinks"})],l),c=i(8),l=i(148),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"cardCupHeaderLinks"},[e("div",{staticClass:"cardCupHeaderLinks__content"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"logo-copa-2022",action:t.cupLinkTable.link}),expression:"{ ...metrics, label: 'logo-copa-2022', action : cupLinkTable.link }"}],staticClass:"hyperlink cardCupHeaderLinks__content__logo",attrs:{href:"https://www.uol.com.br/esporte/futebol/copa-do-mundo/"}},[e("img",{staticClass:"cardCupHeaderLinks__content__img",attrs:{src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/world-cup/2022/world-cup-2022.svg?v=2",alt:t.cupLinkTable.title}})]),e("div",{staticClass:"cardCupHeaderLinks__content__links"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"tabela-copa",action:t.cupLinkTable.link}),expression:"{ ...metrics, label: 'tabela-copa', action :cupLinkTable.link}"}],staticClass:"hyperlink cardCupHeaderLinks__content__links__item",attrs:{href:t.cupLinkTable.link}},[t._v("\n        "+t._s(t.cupLinkTable.title)+"\n        "),e("i",{staticClass:"cardCupHeaderLinks__content__links__item__icon",class:["uolIcons","uolIcons--seta-direita"],attrs:{"aria-hidden":"true"}})]),e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{position:"2",label:"selecao",action:t.cupLinkSelection.link}),expression:"{ ...metrics, position:'2', label: 'selecao', action : cupLinkSelection.link }"}],staticClass:"hyperlink cardCupHeaderLinks__content__links__item",attrs:{href:t.cupLinkSelection.link}},[e("img",{staticClass:"cardCupHeaderLinks__content__links__item__img",attrs:{src:"https://e.imguol.com/futebol/brasoes/40x40/brasil.png",alt:t.cupLinkSelection.title}}),t._v("\n        "+t._s(t.cupLinkSelection.title)+"\n        "),e("i",{staticClass:"cardCupHeaderLinks__content__links__item__icon",class:["uolIcons","uolIcons--seta-direita"],attrs:{"aria-hidden":"true"}})])]),t.data.isMobile?t._e():e("div",{staticClass:"cardCupHeaderLinks__content__border"})]),e("CardAd",{staticClass:"cardCupHeaderLinks__advertising",attrs:{id:"selo-copa","class-ad":"selo-copa"}})],1)}),[],!1,(function(t){var e=i(599);e.__inject__&&e.__inject__(t)}),null,"35865f0a"),"function"==typeof l.a&&l()(r),e.a=r.exports},433:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=(i(24),i(1)),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"isSingleMatch",get:function(){return 1===this.matchs.length}},{key:"filteredMatchs",get:function(){return this.data.isMobile||"3-colunas"!==this.position?this.matchs.slice(0,4):this.matchs.slice(0,3)}},{key:"dispatch",value:function(t){this.tools.loadDistAsset(this.tools.custom.socket.distName),t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).c);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"id",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"matchs",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"position",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardCupScore"})],l),c=i(8),l=i(149),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"cardCupScore",attrs:{"aria-labelledby":t.id}},[i("div",{staticClass:"cardCupScore__container edgeToEdge--xs"},[i("ul",{staticClass:"cardCupScore__matchs",class:{"cardCupScore__matchs--singleMatch":t.isSingleMatch}},t._l(t.filteredMatchs,(function(e,o){return i("WidgetCupScore",{key:"match-"+e.idMatch,staticClass:"cardCupScore__matchs__match",attrs:{metrics:Object.assign({},t.metrics,{position:""+(o+1),label:"jogo"}),match:e,"is-live":!0,"is-single-match":t.isSingleMatch}},[!t.data.isMobile&&0<o?i("span",{staticClass:"cardCupScore__matchs__separator"},[i("span",{staticClass:"cardCupScore__matchs__separator__icon"},[t._v("\n            ◆\n          ")])]):t._e()])})),1)])])}),[],!1,(function(t){var e=i(601);e.__inject__&&e.__inject__(t)}),null,"3e0df23b"),"function"==typeof l.a&&l()(r),e.a=r.exports},434:function(t,e,i){"use strict";var o=i(10),a=i(2),n=i(5),s=i(4),r=i(3),c=i(6),l=i.n(c),u=(i(12),i(37),i(21),i(13),i(52),i(50),i(24),i(14),i(16),i(66),i(32),i(57),i(29),i(33),i(85),i(1)),d=i(0);c=function(t){Object(s.a)(f,t);var e,i,c,u,d,h,p=Object(r.a)(f);function f(){var t;return Object(a.a)(this,f),(t=p.apply(this,arguments)).selectedState="sp",t.sockets={},t.timeouts={},t.tryConnection={},t.firstLoad=!0,t.errorMsg={sap:"0",msg:"Aguardando dados"},t.configSocket={domain:"rtevent.uol.com"},t.href="https://noticias.uol.com.br/eleicoes/2022/apuracao/2turno/",t}return Object(n.a)(f,[{key:"onChangeState",value:function(t){this.selectedState=t,this.interrupted||(this.tools.custom.cookie.setCookie("elections_state",t),this.sockets.governor&&this.sockets.governor.close&&(this.sockets.governor.close(),this.sockets.governor=null),this.connectGovernor(t))}},{key:"getChannel",value:function(t){var e=this.data.prefix;return t?"".concat(e).concat(t,"-c3"):"".concat(e,"br-c1")}},{key:"configCandidates",value:function(t){var e,i=this;t&&(function(){try{t.forEach((function(t){t.nu=function(t){if(t.length<26)return t||"";var e=t.split(" "),i=[];return 2<e.length?(e.forEach((function(t,o){0!==o&&o!==e.length-1&&2<t.length?i.push("".concat(t.charAt(0),".")):i.push(t)})),i.join(" ")):t}(t.nu)}))}catch(t){i.tools.custom.debug.logError("[CardElectionsItem] Error ao abreviar nome",t)}}(),(e=null==t?void 0:t.find((function(t){return 1===t.s||2===t.s})))&&(e.elected=!0,(e=null==t?void 0:t.find((function(t){return!t.elected})))&&(e.s=9)),this.data.qa.tooltip&&t.forEach((function(t){t.van=1})))}},{key:"president",get:function(){return this.data.presidentData}},{key:"presidentCandidates",get:function(){var t;return this.configCandidates(null===(t=null===(t=this.data.presidentData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)),null===(t=null===(t=this.data.presidentData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)}},{key:"governor",get:function(){return this.data.governorData}},{key:"governorCandidates",get:function(){var t;return this.configCandidates(null===(t=null===(t=this.data.governorData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)),null===(t=null===(t=this.data.governorData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)}},{key:"polling",value:(h=Object(o.a)(l.a.mark((function t(e,i){var a,n,s,r,c,u,d=this;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a="governor"===i?"governorData":"presidentData",n=null===(u=null==e?void 0:e.replace(this.data.prefix,""))||void 0===u?void 0:u.split("-"),s=(d.selectedState in d.data.definedStates?"https://stc.eleicoes2022.uol.com/2022/1turno/":"https://stc.eleicoes2022.uol.com/2022/2turno/").concat(n[0]||"","/").concat(n[0]||"","-").concat(n[1]||"",".json"),r=function(t){(t=t.data).error?d.data[a]=d.errorMsg:d.data[a]=t},c=function(){d.data[a]=d.errorMsg},u=function(){var t=Object(o.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(d.disableSocket||d.selectedState in d.data.definedStates)return t.abrupt("return");t.next=2;break;case 2:if(d.timeouts[i]||(d.timeouts[i]=setInterval(Object(o.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.polling(e,i);case 2:case"end":return t.stop()}}),t)}))),3e4)),d.firstLoad&&"president"===i)return d.firstLoad=!1,t.next=7,d.connect(d.getChannel(),"president");t.next=7;break;case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),this.fetch.get(s).then(r).catch(c).finally(u);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"connect",value:(d=Object(o.a)(l.a.mark((function t(e,i,a){var n,s,r=this;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.disableSocket||this.selectedState in this.data.definedStates)return this.polling(e,i),t.abrupt("return");t.next=3;break;case 3:return t.next=5,this.tools.custom.socket.connect(e);case 5:n=t.sent,a||(this.tryConnection[e]=2),console.log("Trying to connect : ",e),this.timeouts[i]&&(clearTimeout(this.timeouts[i]),this.timeouts[i]=null),s=function(){0<r.tryConnection[e]?(--r.tryConnection[e],setTimeout(Object(o.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.connect(e,i,!0);case 2:r.sockets[i]=t.sent;case 3:case"end":return t.stop()}}),t)}))),250)):(r.tryConnection[e]=null,r.polling(e,i))},n.onError((function(t){r.tools.custom.debug.logError(e,"Erro na conexão com o socket",t),s()})),n.onMessage((function(t){t.invalidChannel?s():r.data["governor"===i?"governorData":"presidentData"]=t})),n.onClose((function(){return console.log(e,"socket: closed")})),this.sockets[i]=n;case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,i){return d.apply(this,arguments)})},{key:"connectGovernor",value:(u=Object(o.a)(l.a.mark((function t(e){var i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this.getChannel(e),t.next=3,this.connect(i,"governor");case 3:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"getCookie",value:function(t){var e=new RegExp("".concat(t,"="),"g");t=new RegExp(".*?".concat(t,"=(.*?)(;.*?$|$)"),"g");return document.cookie.match(e)?(t=document.cookie.replace(t,"$1"),unescape(t)):""}},{key:"geoloc",value:function(){var t;try{var e=null===(t=this.getCookie("geoloc"))||void 0===t?void 0:t.split(",");return e.length?(e[4]||"").toLowerCase():""}catch(t){return this.tools.custom.debug.logError("Erro ao pegar cookie geoloc",t),""}}},{key:"initialConnection",value:(c=Object(o.a)(l.a.mark((function t(){var e,i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=this.tools.custom.cookie.getCookie("elections_state")||this.geoloc()||"sp")in this.data.definedStates&&(e="sp"),i=this.getChannel(),e&&"sp"!==e&&this.onChangeState(e),t.t0=Promise,t.next=7,this.connect("eleicoes-placar-".concat(this.selectedState,"-c3"),"governor");case 7:return t.t1=t.sent,t.next=10,this.connect(i,"president");case 10:return t.t2=t.sent,t.t3=[t.t1,t.t2],t.next=14,t.t0.all.call(t.t0,t.t3);case 14:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"created",value:function(){}},{key:"mounted",value:(i=Object(o.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.interrupted)return t.abrupt("return");t.next=2;break;case 2:return this.data.qa.interrupted&&(this.interrupted=this.data.qa.interrupted),this.tools.custom.socket.socketConfig=this.configSocket,t.next=6,this.initialConnection();case 6:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"beforeDestroy",value:function(){Object.values(this.sockets).forEach((function(t){t.close&&t.close()}))}},{key:"dispatch",value:(e=Object(o.a)(l.a.mark((function t(e){var i,o,a;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=this.apis.custom.elections,o=this.tools.request.getParams("interrupted"),a=this.tools.request.getParams("tooltip"),this.tools.loadDistAsset(this.tools.custom.socket.distName),e({governorData:{},presidentData:{},isMobile:this.tools.userAgent.isSmart(),prefix:i.getPrefix(),states:i.getStates(),definedStates:i.getDefinedStates(),qa:{interrupted:o,tooltip:a}});case 5:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),f}(i(7).e);Object(u.a)([Object(d.c)({default:"presidente-e-governador"})],c.prototype,"mobileShow",void 0),Object(u.a)([Object(d.c)({default:!1})],c.prototype,"interrupted",void 0),Object(u.a)([Object(d.c)({default:!1})],c.prototype,"disableSocket",void 0),u=c=Object(u.a)([Object(d.a)({name:"CardElections"})],c),d=i(8),c=i(150),c=i.n(c),u=Object(d.a)(u,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("section",{staticClass:"cardElections"},[e("div",{staticClass:"cardElections__content"},[e("h2",{staticClass:"cardElections__content__title"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"content-elicoes-2022",action:t.href}),expression:"{ ...metrics, label: 'content-elicoes-2022', action : href }"}],attrs:{href:t.href}},[e("span",{staticClass:"cardElections__content__title__text"},[t._v("Eleições ")]),t._v(" 2022\n      ")])])]),e("div",{staticClass:"cardElections__container"},[t.interrupted?e("div",{staticClass:"cardElections__container__interrupted"},[e("span",{staticClass:"cardElections__container__interrupted__message"},[t._v("Apuração interrompida por ordem judicial")])]):t._e(),!t.data.isMobile||t.data.isMobile&&t.mobileShow.includes("presidente")?e("CardElectionsItem",{attrs:{title:"Presidente",candidates:t.presidentCandidates,"counted-votes":t.president.sap,metrics:t.metrics,interrupted:t.interrupted,href:t.href,"is-mobile":t.data.isMobile}}):t._e(),!t.data.isMobile||t.data.isMobile&&t.mobileShow.includes("governador")?e("CardElectionsItem",{attrs:{"has-dropdown":!0,states:t.data.states,"defined-states":t.data.definedStates,title:"Governador",candidates:t.governorCandidates,"counted-votes":t.governor.sap,metrics:t.metrics,"active-state":t.selectedState,interrupted:t.interrupted,href:t.href,"is-mobile":t.data.isMobile},on:{onChangeState:t.onChangeState}}):t._e()],1),e("div",{staticClass:"cardElections__footer"},[t.data.isMobile?t._e():e("div",{staticClass:"cardElections__footer__source"},[t._v("\n      FONTE: TSE\n    ")])])])}),[],!1,(function(t){var e=i(604);e.__inject__&&e.__inject__(t)}),null,"739e548c"),"function"==typeof c.a&&c()(u),e.a=u.exports},436:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}},{key:"getGroupConfigClass",value:function(){var t=["cardGroup","row","row-cols-1","no-gutters"];return 1!==this.columns&&t.push("row-cols-lg-".concat(this.columns)),t}}]),i}(i(7).c);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"headlines",void 0),Object(r.a)([Object(c.c)({default:1})],l.prototype,"columns",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"component",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardGroup"})],l),c=i(8),l=i(152),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:t.getGroupConfigClass()},t._l(t.headlines,(function(e){return i(t.component,t._b({key:e.id,tag:"component",staticClass:"col cardGroup__headline"},"component",e,!1))})),1)}),[],!1,null,null,"6cef2f04"),"function"==typeof l.a&&l()(r),e.a=r.exports},437:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);Object(r.a)([Object(c.c)({default:"home"})],l.prototype,"station",void 0),Object(r.a)([Object(c.c)()],l.prototype,"hasHeadlinePhoto",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardGroupVertical"})],l),c=i(8),l=i(153),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?i("div",{staticClass:"cardGroupVertical edgeToEdge--xs"},[t.hasHeadlinePhoto?i("HeadlinePhoto",t._b({staticClass:"cardGroupVertical__principal",attrs:{station:t.station}},"HeadlinePhoto",Object.assign({},t.headlineCollection[0],{metrics:Object.assign({},t.metrics,{position:"1"})}),!1)):t._e(),t._l(t.headlineCollection,(function(e,o){return[o>=(t.hasHeadlinePhoto?1:0)?i("HeadlineHorizontal",t._b({key:e.id,staticClass:"cardGroupVertical__small",attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(o+1).toString()})}),!1)):t._e()]}))],2):t._e()}),[],!1,(function(t){var e=i(608);e.__inject__&&e.__inject__(t)}),null,"6f0c2265"),"function"==typeof l.a&&l()(r),e.a=r.exports},438:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineBottom"})],l),c=i(8),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,o){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:(o+1).toString()})}),!1))],1)})),0)]):t._e()}),[],!1,(function(t){var e=i(610);e.__inject__&&e.__inject__(t)}),null,"d8c7cb76"),"function"==typeof l.a&&l()(r),e.a=r.exports},439:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).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(8),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},440:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=(i(13),i(57),i(1)),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(a.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){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).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(8),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.title}},[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(612);e.__inject__&&e.__inject__(t)}),null,"371b6154"),"function"==typeof l.a&&l()(r),e.a=r.exports},441:function(t,e,i){"use strict";var o=i(9),a=i(2),n=i(5),s=i(4),r=i(3),c=(i(17),i(22),i(85),i(28),i(30),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){var t;return Object(a.a)(this,i),(t=e.apply(this,arguments)).key=1,t}return Object(n.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(o.a)(Object(o.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(o.a)(Object(o.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(o.a)(Object(o.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(7).a);Object(c.a)([Object(l.c)({default:"home"})],u.prototype,"station",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"type",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"metrics",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardHorizontalBlogs"})],u),l=i(8),u=i(157),u=i.n(u),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(614);e.__inject__&&e.__inject__(t)}),null,"6727a701"),"function"==typeof u.a&&u()(c),e.a=c.exports},443:function(t,e,i){"use strict";var o=i(10),a=i(9),n=i(2),s=i(5),r=i(4),c=i(3),l=i(6),u=i.n(l),d=(i(618),i(12),i(1)),h=i(0);(l=function(t){Object(r.a)(l,t);var e,i=Object(c.a)(l);function l(){var t;return Object(n.a)(this,l),(t=i.apply(this,arguments)).showOpenCard=!1,t.showCloseCard=!0,t.showGateCard=!1,t.isLogged=!1,t.dailyForecast="",t.signCookie="",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(s.a)(l,[{key:"bindMetrics",get:function(){return Object(a.a)(Object(a.a)({},this.metrics),{},{category:"card-horoscopo",label:"content"})}},{key:"actionBindMetrics",value:function(t,e){e=Object(a.a)(Object(a.a)({},this.metrics),{},{category:"card-horoscopo",area:"universa",position:"".concat(t,"-").concat(e+1)}),this.tools.custom.metrics.interaction(e,this.isLogged?"choice":"login")}},{key:"isLoggedWithCookie",value:function(){return this.isLogged&&!!this.signCookie.length}},{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.signCookie=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){e.dailyForecast=null===(t=null==t?void 0:t.data)||void 0===t?void 0:t.text}))}},{key:"getLink",value:function(){return"https://www.uol.com.br/universa/horoscopo/".concat(this.signCookie,"/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(){if(this.isLoggedWithCookie())return this.switchToOpenCard(),void this.getDailyForecast(this.signCookie);0!==this.signCookie.length?!this.isLogged&&this.signCookie.length&&this.switchToGateCard():this.switchToCloseCard()}},{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")}},{key:"created",value:function(){}},{key:"mounted",value:(e=Object(o.a)(u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.signCookie=this.getCookie(),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(7).c)).removeInApp=!0,d=l=Object(d.a)([Object(h.a)({name:"CardHoroscope"})],l),h=i(8),l=i(159),l=i.n(l),d=Object(h.a)(d,(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.signCookie],icon:t.signCookie,"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.signCookie]}},[i("i",{class:["uolIcons","uolIcons--"+t.signCookie,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),i("span",{staticClass:"cardHoroscope__title"},[t._v("\n        "+t._s(t.listSigns[t.signCookie])+"\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,o,a){return i("li",{key:o,staticClass:"cardHoroscope__close__item",attrs:{tabindex:"0"},on:{click:function(e){t.switchToOpenCardOrGate(o),t.actionBindMetrics(o,a)},keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.switchToOpenCardOrGate(o),t.actionBindMetrics(o,a)}}},[i("i",{class:["uolIcons","uolIcons--"+o,"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(619);e.__inject__&&e.__inject__(t)}),null,"019a48e6"),"function"==typeof l.a&&l()(d),e.a=d.exports},444:function(t,e,i){"use strict";var o=i(9),a=i(2),n=i(5),s=i(4),r=i(3),c=(i(21),i(12),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){return Object(a.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"getComponents",get:function(){var t=this,e=[];return this.headlineCollection.forEach((function(i,a){e.push({name:"HeadlineHorizontalLive",payload:Object(o.a)(Object(o.a)({},i),{},{metrics:Object(o.a)(Object(o.a)({},t.metrics),{},{position:"".concat(null===(i=t.metrics)||void 0===i?void 0:i.position,"-").concat(a+1)})})})})),e}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).a);Object(c.a)([Object(l.c)({default:1,required:!0})],u.prototype,"quantityShow",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"isInternalComponentSectionGrid",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardLive"})],u),l=i(8),u=i(160),u=i.n(u),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(621);e.__inject__&&e.__inject__(t)}),null,"cc3bb2b8"),"function"==typeof u.a&&u()(c),e.a=c.exports},445:function(t,e,i){"use strict";var o=i(9),a=i(2),n=i(5),s=i(4),r=i(3),c=(i(37),i(17),i(12),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){return Object(a.a)(this,i),e.apply(this,arguments)}return Object(n.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=[],a=0;a<t.length;a+=1)i.push({name:"HeadlineHorizontalLive",payload:Object(o.a)({type:e},t[a])});return i}},{key:"getGroupGrid",value:function(t){for(var e=[],i=0;i<t.length;i+=2){var o=t[i+1],a=t[i]&&o?2:1,n=[t[i]];o&&n.push(o),e.push({name:"CardGroup",payload:{columns:a,component:"HeadlineHorizontalLive",headlines:n}})}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 a=Object(o.a)({},e);return a.metrics=Object(o.a)(Object(o.a)({},t.metrics),{},{position:"".concat(null===(e=t.metrics)||void 0===e?void 0:e.position,"-").concat(i+1)}),a}))}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).e);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"headlines",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"isInternalComponentSectionGrid",void 0),Object(c.a)([Object(l.c)()],u.prototype,"metrics",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardLiveGrid"})],u),l=i(8),u=i(161),u=i.n(u),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(623);e.__inject__&&e.__inject__(t)}),null,"043119d5"),"function"==typeof u.a&&u()(c),e.a=c.exports},446:function(t,e,i){"use strict";var o,a,n=i(10),s=i(9),r=i(2),c=i(5),l=i(4),u=i(3),d=i(6),h=i.n(d),p=(i(16),i(32),i(12),i(37),i(625),i(13),i(14),i(1)),f=i(0),_=i(7);(d=o=o||{}).RESULTS="results",d.VOTE="vote",(d=a=a||{}).voteSucess="Voto realizado com sucesso!",d.voteFailed="Problema para votar, tente novamente.",d.partialResultFailed="Problema para recuperar o resultado, tente novamente.",d.userOffline="Você está offline, verifique sua conexão.",d.invalidCaptcha="Encontramos um problema para validar seu voto. Tente novamente.",(_=function(t){Object(l.a)(_,t);var e,i,d,p,f=Object(u.a)(_);function _(){var t;return Object(r.a)(this,_),(t=f.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)(_,[{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(s.a)(Object(s.a)({},this.metrics),{},{action:"vote-again-logged"}):Object(s.a)(Object(s.a)({},this.metrics),{},{action:this.controlStates.isLogged?"vote-logged":"vote-logged-out"})}},{key:"onOptionChange",value:function(){this.selectedOption&&this.setSessionStorage(this.selectedOption)}},{key:"showPartialResults",value:(p=Object(n.a)(h.a.mark((function t(){var e;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.controlStates.showLoadingPartialResults=!0,t.next=3,this.requestPoll(o.RESULTS);case 3:null!=(e=t.sent)&&e.error||null==e||!e.data?this.showMessageError(a.partialResultFailed):(this.resultPoll=e.data,this.controlStates.showResults=!0,this.controlStates.showLoadingPartialResults=!1);case 5:case"end":return t.stop()}}),t,this)}))),function(){return p.apply(this,arguments)})},{key:"requestPoll",value:(d=Object(n.a)(h.a.mark((function t(e){var i,o=this;return h.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 o.showMessageError(a.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 d.apply(this,arguments)})},{key:"getUrlRequest",value:function(t){var e="https://enquete.uol.com.br/".concat(t,"?id=").concat(this.pollId);return t===o.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(n.a)(h.a.mark((function t(){var e;return h.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(a.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(o.VOTE);case 10:null!=(e=t.sent)&&e.data&&!e.error?(this.resultVote=e.data,this.executeCodeReturn()):this.showMessageError(a.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(a.invalidCaptcha)}},{key:"computedVote",value:(e=Object(n.a)(h.a.mark((function t(){var e=this;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.messageReturn=a.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(o.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(s.a)(Object(s.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(s.a)(Object(s.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")}},{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()})}}]),_}(_.b)).removeInApp=!0,Object(p.a)([Object(f.c)({required:!0})],_.prototype,"pollTitle",void 0),Object(p.a)([Object(f.c)({required:!0})],_.prototype,"pollId",void 0),Object(p.a)([Object(f.c)()],_.prototype,"disclaimer",void 0),Object(p.a)([Object(f.e)("selectedOption")],_.prototype,"onOptionChange",null),p=_=Object(p.a)([Object(f.a)({name:"CardPoll"})],_),f=i(8),_=i(162),_=i.n(_),p=Object(f.a)(p,(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._v("\n      "+t._s(t.pollTitle)+"\n    ")]),t.itemCollection&&t.itemCollection.length?i("div",{staticClass:"cardPoll__options"},t._l(t.itemCollection,(function(e,o){return i("div",{directives:[{name:"show",rawName:"v-show",value:!t.controlStates.voteComputedSucess,expression:"!controlStates.voteComputedSucess"}],key:e.id+"-"+o,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+"-"+(o+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+"-"+(o+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(628);e.__inject__&&e.__inject__(t)}),null,"c6a117f8"),"function"==typeof _.a&&_()(p),e.a=p.exports},447:function(t,e,i){"use strict";var o=i(2),a=i(5),n=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(n.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).show=!0,t.loaded=!1,t}return Object(a.a)(i,[{key:"created",value:function(){}},{key:"handlePhotoError",value:function(){this.show=!1}},{key:"handlePhotoLoaded",value:function(){this.loaded=!0}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);r=l=Object(r.a)([Object(c.a)({name:"CardPrime"})],l),c=i(8),l=i(163),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,o){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:""+(o+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.photo.credit,"emit-error-event":!0,crop:"3x4","emit-load-event":!0},on:{loadError:t.handlePhotoError}}),i("div",{staticClass:"cardPrime__poster__title"},[i("h3",{staticClass:"cardPrime__poster__title__text"},[t._v("\n                "+t._s(e.title)+"\n              ")])])],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.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(630);e.__inject__&&e.__inject__(t)}),null,"7494b1f8"),"function"==typeof l.a&&l()(r),e.a=r.exports},587:function(t,e,i){"use strict";i.r(e);var o,a=i(283);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},588:function(t,e,i){},589:function(t,e,i){"use strict";i.r(e);var o,a=i(284);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},590:function(t,e,i){},591:function(t,e,i){"use strict";i.r(e);var o,a=i(285);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},592:function(t,e,i){},595:function(t,e,i){"use strict";i.r(e);var o,a=i(287);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},596:function(t,e,i){},597:function(t,e,i){"use strict";i.r(e);var o,a=i(288);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},598:function(t,e,i){},599:function(t,e,i){"use strict";i.r(e);var o,a=i(289);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},600:function(t,e,i){},601:function(t,e,i){"use strict";i.r(e);var o,a=i(290);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},602:function(t,e,i){},604:function(t,e,i){"use strict";i.r(e);var o,a=i(297);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},605:function(t,e,i){},608:function(t,e,i){"use strict";i.r(e);var o,a=i(299);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},609:function(t,e,i){},610:function(t,e,i){"use strict";i.r(e);var o,a=i(300);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},611:function(t,e,i){},612:function(t,e,i){"use strict";i.r(e);var o,a=i(301);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},613:function(t,e,i){},614:function(t,e,i){"use strict";i.r(e);var o,a=i(302);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},615:function(t,e,i){},619:function(t,e,i){"use strict";i.r(e);var o,a=i(305);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},620:function(t,e,i){},621:function(t,e,i){"use strict";i.r(e);var o,a=i(306);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},622:function(t,e,i){},623:function(t,e,i){"use strict";i.r(e);var o,a=i(307);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},624:function(t,e,i){},628:function(t,e,i){"use strict";i.r(e);var o,a=i(308);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},629:function(t,e,i){},630:function(t,e,i){"use strict";i.r(e);var o,a=i(309);for(o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o)},631:function(t,e,i){}}]);
