(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{135:function(e,t){},138:function(e,t){},140:function(e,t){},141:function(e,t){},142:function(e,t){},143:function(e,t){},144:function(e,t){},145:function(e,t){},151:function(e,t){},153:function(e,t){},159:function(e,t){},164:function(e,t){},166:function(e,t){},169:function(e,t){},175:function(e,t){},178:function(e,t){},179:function(e,t){},180:function(e,t){},185:function(e,t){},207:function(e,t,n){var i=n(383);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("987597d2",i,!0,{singleton:!0})},210:function(e,t,n){var i=n(392);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("20ba71be",i,!0,{singleton:!0})},212:function(e,t,n){var i=n(396);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("2a4b3ed7",i,!0,{singleton:!0})},213:function(e,t,n){var i=n(398);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("6c0dfd3a",i,!0,{singleton:!0})},214:function(e,t,n){var i=n(400);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("c4190d50",i,!0,{singleton:!0})},215:function(e,t,n){var i=n(404);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("23a9ecc8",i,!0,{singleton:!0})},220:function(e,t,n){var i=n(414);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("95faeb32",i,!0,{singleton:!0})},222:function(e,t,n){var i=n(418);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("c0b0dff6",i,!0,{singleton:!0})},231:function(e,t,n){var i=n(432);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("00f7c468",i,!0,{singleton:!0})},236:function(e,t,n){var i=n(442);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("35c6a4cd",i,!0,{singleton:!0})},238:function(e,t,n){var i=n(446);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("7103ba22",i,!0,{singleton:!0})},248:function(e,t,n){var i=n(457);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("21496dda",i,!0,{singleton:!0})},257:function(e,t,n){var i=n(473);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("324698be",i,!0,{singleton:!0})},260:function(e,t,n){var i=n(479);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("d72c21ca",i,!0,{singleton:!0})},261:function(e,t,n){var i=n(481);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("fa7f2758",i,!0,{singleton:!0})},262:function(e,t,n){var i=n(485);(i="string"==typeof(i=i.__esModule?i.default:i)?[[e.i,i,""]]:i).locals&&(e.exports=i.locals),(0,n(11).default)("101f8c5b",i,!0,{singleton:!0})},293:function(e,t,n){"use strict";var i=n(9),o=n(2),a=n(5),r=n(4),s=n(3),c=(n(52),n(21),n(1)),l=n(0),u=function(e){Object(r.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).isHeadline="headline"===e.type,e}return Object(a.a)(n,[{key:"getBrandData",value:function(){var e=this,t=[{name:"uol",width:40,height:20,description:"UOL"},{name:"universa",width:150,height:24,description:"UOL Universa"},{name:"viva-bem",width:124,height:24,description:"UOL Vivabem"},{name:"tab",width:41,height:24,description:"UOL TAB"},{name:"ecoa",width:94,height:24,description:"UOL Ecoa"},{name:"splash",width:169,height:30,description:"UOL Splash"},{name:"tilt",width:47,height:31,description:"UOL Tilt"},{name:"start",width:92,height:24,description:"UOL Start"},{name:"nossa",width:73,height:41,description:"UOL Nossa"},{name:"mov",width:78,height:24,description:"UOL Mov"},{name:"play",width:123,height:24,description:"UOL Play"},{name:"channel",width:136,height:24,description:"Canal UOL"},{name:"folha",width:147,height:24,description:"Folha de São Paulo"}].find((function(t){return t.name===e.icon}));return Object(i.a)({path:"brand"},t)}},{key:"getClasses",get:function(){var e=[];return e.push("brand"),e.push("brand--".concat(this.type)),this.title&&e.push("brand--has-title"),e}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),n}(n(6).c);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"icon",void 0),Object(c.a)([Object(l.c)()],u.prototype,"title",void 0),Object(c.a)([Object(l.c)({default:"div"})],u.prototype,"tag",void 0),Object(c.a)([Object(l.c)({default:"default"})],u.prototype,"type",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"lazypreload",void 0),c=u=Object(c.a)([Object(l.a)({name:"Brand"})],u),l=n(7),u=n(135),u=n.n(u),c=Object(l.a)(c,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)(e.tag,{tag:"div",class:e.getClasses},[t("Icon",e._b({staticClass:"brand__icon",attrs:{lazypreload:e.lazypreload}},"Icon",e.isHeadline?e.getBrandData():e.icon,!1)),e.title?e._e():t("span",{staticClass:"uol-hidden"},[e._v("Seção "+e._s(e.icon.name))]),e.title?t("p",{staticClass:"brand__title"},[e._v("\n    "+e._s(e.title)+"\n  ")]):e._e()],1)}),[],!1,(function(e){var t=n(382);t.__inject__&&t.__inject__(e)}),null,"f0e0e30c"),"function"==typeof u.a&&u()(c),t.a=c.exports},296:function(e,t,n){"use strict";var i=n(10),o=n(9),a=n(2),r=n(5),s=n(4),c=n(3),l=n(8),u=n.n(l),d=(n(75),n(388),n(122),n(52),n(26),n(16),n(50),n(53),n(1)),h=n(0);l=function(e){Object(s.a)(l,e);var t,n=Object(c.a)(l);function l(){var e;return Object(a.a)(this,l),(e=n.apply(this,arguments)).advertisingKey=0,e.default={isMobile:!1,adsPosition:"center",adsData:null},e}return Object(r.a)(l,[{key:"carouselItems",get:function(){var e=JSON.parse(JSON.stringify(this.headlineCollection));return this.data.adsData&&e.splice(this.getAdsIndexPosition(),0,this.data.adsData),e}},{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(e){return e.brand}))?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"getClasses",get:function(){var e=["cardCarousel","cardCarousel--".concat(this.station)];return 1<this.headlineCollection.length&&e.push("cardCarousel__carouselActivated"),"HeadlinePhoto"===this.getComponentRender?e.push("cardCarousel__headlinePhoto"):e.push("cardCarousel__headlinePhotoBrand"),e}},{key:"getComponents",get:function(){var e=this;return this.carouselItems.map((function(t,n){var i=JSON.parse(JSON.stringify(t));return 0===n&&(i.emitLoadEvent=!0),i.metrics=Object(o.a)(Object(o.a)({},e.metrics),{},{position:(n+1).toString()}),{name:e.getItemRender(t),payload:i}}))}},{key:"getItemRender",value:function(e){return!0===e.isAdvertising?"HeadlinePhotoAd":e.brand?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"handleNativeBanner",value:function(e,t){this.tools.custom.debug.logMessage('ADS Carousel Native Banner. CALL "insertBannerRotativoTopo". data:',e,t),t.link&&t.texto&&t.imagem?(this.data.adsPosition=e,this.data.adsData={isAdvertising:!0,title:t.texto,link:t.link,id:"card-carousel-native-banner",offerAd:{label:"Oferecido por",image:t.selo},photo:{images:[{src:this.data.isMobile&&t.imagemMobile?t.imagemMobile:t.imagem}],credit:t.credito}}):this.tools.custom.debug.logMessage("ADS Carousel Native Banner. Erro para renderizar pois não veio as propriedades requireds")}},{key:"created",value:function(){!0===this.enableAdvertising&&void 0===window.insertBannerRotativoTopo&&(window.insertBannerRotativoTopo=this.handleNativeBanner.bind(this))}},{key:"onHeadlineCollectionChange",value:(t=Object(i.a)(u.a.mark((function e(t){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0!==this.enableAdvertising){e.next=6;break}if(!1===t.some((function(e){return!0===e.isAdvertising})))return e.next=5,this.$nextTick();e.next=6;break;case 5:this.advertisingKey=(new Date).getTime();case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),l}(n(6).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=n(7),l=n(138),l=n.n(l),d=Object(h.a)(d,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{class:e.getClasses},[t("Carousel",{staticClass:"edgeToEdge--xs",attrs:{station:e.station,"auto-roll":!0,components:e.getComponents,"shape-button":e.getShapeButton,metrics:e.metrics}}),e.enableAdvertising?t("CardAd",{key:e.advertisingKey,attrs:{id:"banner-300x250-4","class-ad":"rotativo-topo",hidden:"","aria-hidden":"true"}}):e._e()],1)}),[],!1,(function(e){var t=n(391);t.__inject__&&t.__inject__(e)}),null,"270d76b3"),"function"==typeof l.a&&l()(d),t.a=d.exports},298:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}},{key:"getGroupConfigClass",value:function(){var e=["cardGroup","row","row-cols-1","no-gutters"];return 1!==this.columns&&e.push("row-cols-lg-".concat(this.columns)),e}}]),n}(n(6).b);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"headlines",void 0),Object(s.a)([Object(c.c)({default:1})],l.prototype,"columns",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"component",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardGroup"})],l),c=n(7),l=n(140),l=n.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.getGroupConfigClass()},e._l(e.headlines,(function(t){return n(e.component,e._b({key:t.id,tag:"component",staticClass:"col cardGroup__headline"},"component",t,!1))})),1)}),[],!1,null,null,"fc988f5a"),"function"==typeof l.a&&l()(s),t.a=s.exports},299:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),n}(n(6).a);Object(s.a)([Object(c.c)({default:"home"})],l.prototype,"station",void 0),Object(s.a)([Object(c.c)()],l.prototype,"hasHeadlinePhoto",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardGroupVertical"})],l),c=n(7),l=n(141),l=n.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.headlineCollection.length?n("div",{staticClass:"cardGroupVertical edgeToEdge--xs"},[e.hasHeadlinePhoto?n("HeadlinePhoto",e._b({staticClass:"cardGroupVertical__principal",attrs:{station:e.station}},"HeadlinePhoto",Object.assign({},e.headlineCollection[0],{metrics:Object.assign({},e.metrics,{position:"1"})}),!1)):e._e(),e._l(e.headlineCollection,(function(t,i){return[i>=(e.hasHeadlinePhoto?1:0)?n("HeadlineHorizontal",e._b({key:t.id,staticClass:"cardGroupVertical__small",attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},t,{metrics:Object.assign({},e.metrics,{position:(i+1).toString()})}),!1)):e._e()]}))],2):e._e()}),[],!1,(function(e){var t=n(395);t.__inject__&&t.__inject__(e)}),null,"9460fe14"),"function"==typeof l.a&&l()(s),t.a=s.exports},300:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(6).b);Object(s.a)([Object(c.c)()],l.prototype,"responsive",void 0),Object(s.a)([Object(c.c)()],l.prototype,"web",void 0),Object(s.a)([Object(c.c)()],l.prototype,"mobile",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardHeadlineMain"})],l),c=n(7),l=n(142),l=n.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return e.web&&e.mobile?t("HeadlineMain",e._b({attrs:{metrics:e.metrics}},"HeadlineMain",e.data.isMobile?e.mobile:e.web,!1)):t("HeadlineMain",e._b({attrs:{metrics:e.metrics}},"HeadlineMain",e.responsive,!1))}),[],!1,null,null,"c0f9c454"),"function"==typeof l.a&&l()(s),t.a=s.exports},301:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),n}(n(6).a);s=l=Object(s.a)([Object(c.a)({name:"CardRow"})],l),c=n(7),l=n(143),l=n.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.headlineCollection&&e.headlineCollection.length?n("div",{staticClass:"cardRow"},[n("div",{class:["cardRow__list","row","row-cols-1","row-cols-lg-"+e.headlineCollection.length]},e._l(e.headlineCollection,(function(t,i){return n("HeadlineStandard",e._b({key:t.id,staticClass:"cardRow__list__item col",attrs:{metrics:Object.assign({},e.metrics,{position:(i+1).toString()})}},"HeadlineStandard",t,!1))})),1)]):e._e()}),[],!1,(function(e){var t=n(397);t.__inject__&&t.__inject__(e)}),null,"6e985f09"),"function"==typeof l.a&&l()(s),t.a=s.exports},302:function(e,t,n){"use strict";var i=n(9),o=n(2),a=n(5),r=n(4),s=n(3),c=(n(53),n(32),n(26),n(16),n(50),n(1)),l=n(0),u=function(e){Object(r.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"isCardOpinion",get:function(){return"card-opinion"===this.type}},{key:"getComponentRender",get:function(){return this.isCardOpinion?"HeadlineHorizontalAvatar":"HeadlineHorizontal"}},{key:"getHeader",get:function(){var e,t={borderTop:!0};return null!==(e=this.header)&&void 0!==e&&e.link&&(t.linkExternal={text:this.header.labelLink||"ver todos",link:this.header.link,icon:"seta-direita"}),Object.assign(t,this.header)}},{key:"carouselComponents",get:function(){for(var e=[],t=this.headlinesMetrics,n=0;n<t.length;n+=this.quantityHeadlinesDesktop){for(var i=[],o=n;o<n+this.quantityHeadlinesDesktop;o+=1)t[o]&&(t[o].iconOnPhoto=!1,i.push(t[o]));e.push({name:"CardGroup",payload:{component:this.getComponentRender,headlines:i}})}return e}},{key:"accordionComponents",get:function(){var e=this,t=[];return this.headlinesMetrics.forEach((function(n){t.push({name:e.getComponentRender,payload:Object(i.a)(Object(i.a)({},n),{},{iconOnPhoto:!1})})})),t}},{key:"headlinesMetrics",get:function(){var e=this;return this.headlineCollection.map((function(t,n){return(t=Object(i.a)({},t)).metrics=Object(i.a)(Object(i.a)({},e.metrics),{},{position:(n+1).toString()}),t}))}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(6).a);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"header",void 0),Object(c.a)([Object(l.c)({required:!0,default:2})],u.prototype,"quantityHeadlinesMobile",void 0),Object(c.a)([Object(l.c)({required:!0,default:2})],u.prototype,"quantityHeadlinesDesktop",void 0),Object(c.a)([Object(l.c)()],u.prototype,"labelMobile",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"type",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardTopic"})],u),l=n(7),u=n(144),u=n.n(u),c=Object(l.a)(c,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return e.headlineCollection&&e.headlineCollection.length?t("section",{staticClass:"cardTopic",attrs:{"aria-labelledby":e.id}},[e.getHeader?t("HeaderCard",e._b({staticClass:"cardTopic__headerCard edgeToEdge--xs"},"HeaderCard",Object.assign({},{id:e.id},e.getHeader,{metrics:e.metrics}),!1)):e._e(),e.data.isMobile?t("Accordion",{staticClass:"cardTopic__accordion",attrs:{components:e.accordionComponents,metrics:e.metrics,"quantity-show":e.quantityHeadlinesMobile,"quantity-load":e.headlineCollection.length-e.quantityHeadlinesMobile,"button-text":e.isCardOpinion?"mais blogs":e.labelMobile||"ver mais"}}):t("Carousel",{staticClass:"cardTopic__carousel",attrs:{components:e.carouselComponents,"progress-navigation":!0,"auto-roll":!0,"roll-time":18e3,metrics:e.metrics}})],1):e._e()}),[],!1,(function(e){var t=n(399);t.__inject__&&t.__inject__(e)}),null,"42df19b3"),"function"==typeof u.a&&u()(c),t.a=c.exports},303:function(e,t,n){"use strict";var i=n(9),o=n(35),a=n(10),r=n(2),s=n(5),c=n(4),l=n(3),u=n(8),d=n.n(u),h=(n(26),n(14),n(16),n(50),n(401),n(32),n(1)),f=n(0);u=function(e){Object(c.a)(u,e);var t,n=Object(l.a)(u);function u(){var e;return Object(r.a)(this,u),(e=n.apply(this,arguments)).showArrowLeft=!1,e.showArrowRigth=!1,e.currentIndex=0,e.touchAxis={x:0,y:0},e.slideTranslate=0,e.isTouched=!1,e.movement={direction:"initial",numberOfMovements:[]},e.transitionTime=500,e.carouselHeight=0,e.hideCard=!1,e}return Object(s.a)(u,[{key:"componentsStyle",get:function(){return this.components.map((function(){return""}))}},{key:"hasCarousel",get:function(){return 1<this.components.length}},{key:"getCarouselContainerStyle",get:function(){var e=this.carouselHeight?"height: ".concat(this.carouselHeight,"px;"):"",t=e.concat("transition: transform ".concat(this.transitionTime,"ms;"));if(!this.isTouched){if("next"===this.movement.direction)return t.concat("transform: translateX(-".concat(this.movement.numberOfMovements.length,"00%)"));if("prev"===this.movement.direction)return t.concat("transform: translateX(".concat(this.movement.numberOfMovements.length,"00%)"));if("initial"===this.movement.direction)return e.concat("transform: translateX(0); transition: none")}if(this.slideTranslate){var n=parseInt(Math.abs(this.slideTranslate).toString(),10),i=this.$refs.carousel.clientWidth,o=this.slideTranslate<0?"-":"";return n<=i?e.concat("transform: translateX(calc(".concat(this.slideTranslate,"px + 0%))")):e.concat("transform: translateX(calc(".concat(o+i,"px + 0%))"))}return t.concat("transform: translateX(-".concat(this.movement.numberOfMovements.length,"00%)"))}},{key:"componentListSize",get:function(){return this.components.length-1}},{key:"hasArrow",get:function(){return!this.progressNavigation&&this.hasCarousel||void 0}},{key:"created",value:function(){}},{key:"mounted",value:(t=Object(a.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.hasCarousel&&this.setHeight(),this.hideCard=!0,this.startEventName||this.startCarousel();case 5:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"beforeDestroy",value:function(){this.observer&&this.$el&&this.observer.unobserve(this.$el),this.rollTimeout&&window.clearTimeout(this.rollTimeout)}},{key:"setHeight",value:function(){var e=this.$refs.carousel.clientHeight,t=this.$refs.progressIndicator.$el.clientHeight;this.carouselHeight=e-(t===e||t<=8?0:t)}},{key:"startCarousel",value:function(){this.components.length<=1||(this.tools.custom.debug.logMessage("Carrossel: auto roll: ",this.autoRoll),this.autoRoll?(this.tools.custom.debug.logMessage("Carrossel: configura observer para componente"),this.setObserver()):this.tools.custom.debug.logMessage("Carrossel: NÃO configura observer para componente"))}},{key:"hideArrow",value:function(){this.showArrowRigth=!1,this.showArrowLeft=!1}},{key:"showArrow",value:function(e){var t,n;!0!==this.data.isMobile&&(t=(n=this.$refs.carousel).offsetWidth/2,n=n.getClientRects(),t<=e.pageX-(null===(n=n[0])||void 0===n?void 0:n.x)?(this.showArrowRigth=!0,this.showArrowLeft=!1):(this.showArrowRigth=!1,this.showArrowLeft=!0))}},{key:"setObserver",value:function(){var e=this;this.observer=new window.IntersectionObserver((function(t){.3<=Object(o.a)(t,1)[0].intersectionRatio?e.triggerCarouselRoll():e.stopAutoRoll()}),{threshold:.3}),this.observer.observe(this.$el)}},{key:"triggerCarouselRoll",value:function(){var e=this;this.components.length<=1||(this.rollTimeout=window.setTimeout((function(){localStorage.getItem("_cb_hud_collapsed")&&"0"===localStorage.getItem("_cb_hud_collapsed")||e.move(1)}),this.rollTime))}},{key:"stopAutoRoll",value:function(){window.clearTimeout(this.rollTimeout)}},{key:"sendCarouselInteractionMetrics",value:function(e){var t=Object(i.a)(Object(i.a)({},this.metrics),{},{position:e?"2":"1"});this.tools.custom.metrics.interaction(t,e?"right":"left")}},{key:"move",value:function(e,t){function n(){1<=e&&i.moveNextDirection(e),e<=-1&&i.movePrevDirection(e),i.autoRoll&&(i.stopAutoRoll(),i.triggerCarouselRoll())}var i=this;t?(window.clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout((function(){n()}),250)):n()}},{key:"moveNextDirection",value:function(e){var t=this;this.movement.direction="next",this.movement.numberOfMovements=new Array(e).fill(e),this.setStyleInNextCurrents(),setTimeout((function(){t.currentIndex>=t.componentListSize?t.currentIndex=0:t.currentIndex+=e,t.movement.direction="initial",t.clearAllStyleInLineOfComponents()}),this.transitionTime)}},{key:"movePrevDirection",value:function(e){var t=this,n=Math.abs(e);this.movement.direction="prev",this.movement.numberOfMovements=new Array(n).fill(n),this.setStyleInPrevCurrents(),setTimeout((function(){0===t.currentIndex?t.currentIndex=t.componentListSize:t.currentIndex+=e,t.clearAllStyleInLineOfComponents(),t.movement.direction="initial"}),this.transitionTime)}},{key:"setStyleInNextCurrents",value:function(){var e=this,t=this.currentIndex;this.movement.numberOfMovements.forEach((function(){var n=t===e.componentListSize?0:t+1;if(0===n)return e.componentsStyle[0]={"margin-left":"100%",display:"inherit"},void(e.componentsStyle[t]={"margin-left":"-".concat(e.movement.numberOfMovements.length+1,"00%")});e.componentsStyle[n]={display:"inherit"},t+=1}))}},{key:"setStyleInPrevCurrents",value:function(){var e=this,t=this.currentIndex;this.movement.numberOfMovements.forEach((function(){var n,i=0===t?e.componentListSize:t-1;i===e.componentListSize?e.componentsStyle[e.componentListSize]={"margin-left":"-200%",display:"inherit"}:1<e.movement.numberOfMovements.length?(n=e.currentIndex-e.movement.numberOfMovements.length,e.componentsStyle[n]={"margin-left":"-".concat(e.movement.numberOfMovements.length,"00%"),display:"inherit"},i!==n&&(e.componentsStyle[i]={display:"inherit"})):e.componentsStyle[i]={"margin-left":"-100%",display:"inherit"},t+=-1}))}},{key:"clearAllStyleInLineOfComponents",value:function(){for(var e=0;this.componentsStyle[e]="",(e+=1)<=this.componentListSize;);}},{key:"handleProgresIndex",value:function(e){this.move(e-this.currentIndex)}},{key:"handleStartTouch",value:function(e){e=(t=Object(o.a)(e.changedTouches,1)[0]).clientX;var t=t.clientY;this.touchAxis.x=e,this.touchAxis.y=t}},{key:"handleSwipe",value:function(e){var t=(n=Object(o.a)(e.changedTouches,1)[0]).clientX,n=n.clientY;this.stopAutoRoll(),this.touchAxis.y===n?(e.cancelable&&e.preventDefault(),t=this.touchAxis.x-t,this.isTouched=!0,this.showNextAndPrevIndex(),this.slideTranslate=-1*t):this.isTouched=!1}},{key:"showNextAndPrevIndex",value:function(){var e=this.currentIndex===this.componentListSize?0:this.currentIndex+1,t=0===this.currentIndex?this.componentListSize:this.currentIndex-1;t===this.componentListSize?this.componentsStyle[this.componentListSize]={"margin-left":"-300%",display:"inherit"}:this.componentsStyle[t]=0===e?{"margin-left":"-300%",display:"inherit"}:{"margin-left":"-100%",display:"inherit"},0===e?this.componentsStyle[0]={"margin-left":"100%",display:"inherit"}:this.componentsStyle[e]={display:"inherit"}}},{key:"handleEndTouch",value:function(e){var t,n=(t=Object(o.a)(e.changedTouches,1)[0]).clientX,i=t.clientY;i=(e=this.touchAxis.y-i)<0?-1*e:e,n=(t=this.touchAxis.x-n)<0?-1*t:t;Math.abs(t)>Math.abs(e)&&(i<50&&10<n?(this.handleTouchCancel(),this.move((t=0<t)?1:-1),this.sendCarouselInteractionMetrics(t)):this.handleTouchCancel())}},{key:"handleTouchCancel",value:function(){this.isTouched=!1,this.slideTranslate=0,this.clearAllStyleInLineOfComponents(),this.autoRoll&&this.triggerCarouselRoll()}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),u}(n(6).c);Object(h.a)([Object(f.c)()],u.prototype,"station",void 0),Object(h.a)([Object(f.c)({required:!0})],u.prototype,"components",void 0),Object(h.a)([Object(f.c)({default:!1})],u.prototype,"autoRoll",void 0),Object(h.a)([Object(f.c)({default:7e3})],u.prototype,"rollTime",void 0),Object(h.a)([Object(f.c)({default:!1})],u.prototype,"progressNavigation",void 0),Object(h.a)([Object(f.c)()],u.prototype,"startEventName",void 0),Object(h.a)([Object(f.c)({default:"secondary"})],u.prototype,"shapeButton",void 0),Object(h.a)([Object(f.c)()],u.prototype,"metrics",void 0),h=u=Object(h.a)([Object(f.a)({name:"Carousel"})],u),f=n(7),u=n(145),u=n.n(u),h=Object(f.a)(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{ref:"carousel",class:["carousel",{"carousel--withProgress":e.hasCarousel}],on:{mouseenter:function(t){return e.stopAutoRoll()},mouseleave:function(t){e.autoRoll&&e.triggerCarouselRoll(),e.hideArrow()},mousemove:function(t){e.hasArrow&&e.showArrow(t)},mouseout:function(t){return e.hideArrow()}}},[e.hasArrow?n("ButtonHome",{class:["carousel__navigation","carousel__navigation--prev",{"carousel__navigation--show":e.showArrowLeft}],attrs:{shape:e.shapeButton,label:"Anterior",metrics:Object.assign({},e.metrics,{position:"1",action:"left"}),icon:"seta-esquerda"},on:{click:function(t){return e.move(-1,t)}}}):e._e(),e.hasArrow?n("ButtonHome",{class:["carousel__navigation","carousel__navigation--next",{"carousel__navigation--show":e.showArrowRigth}],attrs:{shape:e.shapeButton,metrics:Object.assign({},e.metrics,{position:"2",action:"right"}),label:"Próximo",icon:"seta-direita"},on:{click:function(t){return e.move(1,t)}}}):e._e(),n("ul",{staticClass:"carousel__container",style:e.hasCarousel?e.getCarouselContainerStyle:"",on:{touchstart:e.handleStartTouch,touchmove:e.handleSwipe,touchend:e.handleEndTouch,touchcancel:e.handleTouchCancel}},e._l(e.components,(function(t,i){return n("li",{key:t.name+"-"+i,ref:"carouselComponent"+i,refInFor:!0,class:["carousel__component",{"carousel__component--hide":i!==e.currentIndex&&e.hideCard}],style:e.componentsStyle[i],attrs:{"aria-hidden":e.currentIndex===i?null:"true",tabindex:"-1"}},[n(t.name,e._b({tag:"component",on:e._d({},[e.startEventName,e.startCarousel])},"component",t.payload,!1))],1)})),0),e.hasCarousel?n("ProgressIndicator",{ref:"progressIndicator",staticClass:"carousel__progressIndicator",attrs:{id:e.carousel,"aria-live":"off",metrics:e.metrics,"current-index":e.currentIndex,size:e.components.length,"show-navigation":e.progressNavigation},on:{"index-changed":e.handleProgresIndex}}):e._e()],1)}),[],!1,(function(e){var t=n(403);t.__inject__&&t.__inject__(e)}),null,"73f50eaa"),"function"==typeof u.a&&u()(h),t.a=h.exports},313:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=(n(16),n(50),n(1)),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){var e;return Object(i.a)(this,n),(e=t.apply(this,arguments)).showReportErrorForm=!1,e.metricsFooter={area:"footer",category:"footer",label:"content",position:"1"},e.socialLinks=[{slug:"facebook",title:"Facebook",link:"https://www.facebook.com/bol"},{slug:"twitter",title:"Twitter",link:"https://twitter.com/bol"},{slug:"instagram",title:"Instagram",link:"https://www.instagram.com/portalbol/"}],e}return Object(o.a)(n,[{key:"getCopyright",get:function(){return"1996 - ".concat((new Date).getFullYear().toString()," BOL - Brasil Online - Todos os direitos reservados - Segurança e privacidade")}},{key:"bolIcon",get:function(){return{name:"bol-logo",width:84,height:35,description:"Logo BOL",path:"brand"}}},{key:"toggleReportErrorForm",value:function(){this.showReportErrorForm=!this.showReportErrorForm,this.tools.custom.overlayToggle.setOverlay(this.showReportErrorForm),this.showReportErrorForm?this.$root.$on("overlayCloseAction",this.toggleReportErrorForm):this.$root.$off("overlayCloseAction")}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({inApp:this.tools.userAgent.inApp()})}}]),n}(n(6).c);s=l=Object(s.a)([Object(c.a)({name:"FooterBol"})],l),c=n(7),l=n(151),l=n.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"footerBol",attrs:{role:"contentinfo"}},[n("div",{staticClass:"footerBol__container container"},[e.data.inApp?e._e():[n("Icon",e._b({staticClass:"footerBol__icon"},"Icon",e.bolIcon,!1)),n("span",{staticClass:"footerBol__title"},[e._v(e._s(e.getCopyright))])],n("ButtonHome",{staticClass:"footerBol__button",attrs:{text:"COMUNICAR ERRO",shape:"ghost",metrics:Object.assign({},e.metricsFooter,{action:"error"})},on:{click:function(t){return e.toggleReportErrorForm()}}}),e.showReportErrorForm?n("ReportErrorForm",{staticClass:"footerBol__reportErrorForm",attrs:{metrics:Object.assign({},e.metricsFooter,{category:"report-error-form"})},on:{reportErrorFormClose:function(t){return e.toggleReportErrorForm()}}}):e._e(),n("div",{staticClass:"footerBol__followSocial"},[n("span",{staticClass:"footerBol__followSocial__label"},[e._v("Siga o BOL")]),e._l(e.socialLinks,(function(t,i){return n("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},e.metricsFooter,{position:""+(i+1),label:"content"}),expression:"{...metricsFooter, position: `${index + 1}`, label:'content' }"}],key:t+"-"+i,staticClass:"hyperlink footerBol__followSocial__link",attrs:{target:"_blank",href:t.link,title:t.title}},[n("i",{class:["uolIcons","uolIcons--"+t.slug,"footerBol__followSocial__icon","socialIcons--"+t.slug],attrs:{"aria-hidden":"true"}})])}))],2)],2)])}),[],!1,(function(e){var t=n(413);t.__inject__&&t.__inject__(e)}),null,"3d9b3073"),"function"==typeof l.a&&l()(s),t.a=s.exports},315:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){var e;return Object(i.a)(this,n),(e=t.apply(this,arguments)).headerMetrics={area:"header",label:"product"},e.isLogged=!1,e}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"userIsLogged",value:function(e){return this.isLogged=e,this.isLogged}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(6).c);s=l=Object(s.a)([Object(c.a)({name:"HeaderBol"})],l),c=n(7),l=n(153),l=n.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("header",{staticClass:"headerBol container"},[t("h1",{staticClass:"headerBol__logo"},[t("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},e.headerMetrics,{position:"1",category:"logo-bol",label:"content"}),expression:"{...headerMetrics, position: '1', category: 'logo-bol', label: 'content'}"}],staticClass:"hyperlink headerBol__logo__hyperlink",attrs:{href:"//www.bol.uol.com.br/",title:"BOL - Brasil online"}},[t("Icon",{attrs:{name:"bol-logo",width:e.data.isMobile?84:200,height:e.data.isMobile?30:72,description:"BOL - Brasil online",path:"brand",lazypreload:!0,"aria-hidden":"true"}}),e._v("\n      BOL - Brasil online\n    ")],1)]),t("div",{class:["headerBol__container","edgeToEdge--xs",{"headerBol__container--isLogged":e.isLogged}]},[t("span",{staticStyle:{display:"none"},attrs:{id:"profile-avatar"}}),t("Email",{staticClass:"headerBol__container__email",attrs:{metrics:Object.assign({},e.headerMetrics,{position:"2",category:"email"})},on:{userIsLogged:e.userIsLogged}}),e._m(0)],1),t("Hydrate",{attrs:{"on-click":""}},[t("SearchHeader",{staticClass:"headerBol__search",attrs:{portal:"BOL",metrics:Object.assign({},e.headerMetrics,{position:"3",category:"search-header"})}})],1),t("MenuBol",{staticClass:"headerBol__menu edgeToEdge--xs"})],1)}),[function(){var e=this.$createElement;return(e=this._self._c||e)("div",{staticClass:"headerBol__container__informative"},[e("strong",{staticClass:"headerBol__container__informative__title"},[this._v("BOL Mail com até 18 GB")]),e("span",{staticClass:"headerBol__container__informative__text"},[this._v("Clube de descontos, antivírus e mais")])])}],!1,(function(e){var t=n(417);t.__inject__&&t.__inject__(e)}),null,"51cb83b3"),"function"==typeof l.a&&l()(s),t.a=s.exports},321:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"hasPhoto",get:function(){var e;return!(null===(e=null===(e=this.photo)||void 0===e?void 0:e.images)||void 0===e||!e.length)}},{key:"isExclusive",get:function(){var e;return!(null===(e=this.styleHeadline)||void 0===e||!e.isExclusive)}},{key:"created",value:function(){}},{key:"getStyleHeadlineTitle",get:function(){var e,t=["headlineMain__title"];return 48===(null===(e=this.styleHeadline)||void 0===e?void 0:e.fontSize)&&t.push("headlineMain__title--fontLarge"),t}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(6).c);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"id",void 0),Object(s.a)([Object(c.c)()],l.prototype,"kicker",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(s.a)([Object(c.c)()],l.prototype,"standfirst",void 0),Object(s.a)([Object(c.c)()],l.prototype,"photo",void 0),Object(s.a)([Object(c.c)()],l.prototype,"relateds",void 0),Object(s.a)([Object(c.c)()],l.prototype,"styleHeadline",void 0),Object(s.a)([Object(c.c)()],l.prototype,"icon",void 0),Object(s.a)([Object(c.c)()],l.prototype,"showComments",void 0),Object(s.a)([Object(c.c)()],l.prototype,"metrics",void 0),Object(s.a)([Object(c.b)("lazypreload")],l.prototype,"lazypreload",void 0),s=l=Object(s.a)([Object(c.a)({name:"HeadlineMain"})],l),c=n(7),l=n(159),l=n.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("article",{staticClass:"headlineMain",attrs:{"aria-labelledby":e.id}},[t("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:e.metrics,expression:"metrics"}],staticClass:"hyperlink headlineMain__link",attrs:{href:e.link}},[e.hasPhoto?t("Photograph",e._b({staticClass:"headlineMain__photo edgeToEdge--xs",attrs:{kicker:e.kicker&&e.isExclusive?e.kicker:null,icon:e.icon,lazypreload:e.lazypreload}},"Photograph",e.photo,!1)):e._e(),t("div",[!e.kicker||e.hasPhoto&&e.isExclusive?e._e():t("h2",{class:[e.isExclusive?"headlineMain__kicker--exclusive headlineMain__kicker":"headlineMain__kicker","kicker","kicker--"+(e.isExclusive?"highlight":"default")],domProps:{textContent:e._s(e.kicker)}}),t("h3",{class:["title__element",e.getStyleHeadlineTitle],attrs:{id:e.id}},[e._v("\n        "+e._s(e.title)+"\n\n        "),!e.hasPhoto&&e.icon?t("i",{class:["uolIcons","uolIcons--"+e.icon],attrs:{"aria-hidden":"true"}}):e._e()])])],1),e.standfirst?t("p",{staticClass:"standfirst headlineMain__standfirst"},[e._v("\n    "+e._s(e.standfirst)+"\n  ")]):e._e(),e.relateds&&e.relateds.length?t("RelatedList",{staticClass:"headlineMain__related-list",attrs:{"related-list":e.relateds,"is-mobile":e.data.isMobile,metrics:e.metrics}}):e._e()],1)}),[],!1,(function(e){var t=n(431);t.__inject__&&t.__inject__(e)}),null,"17f3f14a"),"function"==typeof l.a&&l()(s),t.a=s.exports},326:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"hasPhoto",get:function(){var e;return!(null===(e=null===(e=this.photo)||void 0===e?void 0:e.images)||void 0===e||!e.length)}},{key:"isExclusive",get:function(){var e;return!(null===(e=this.styleHeadline)||void 0===e||!e.isExclusive)}},{key:"isKickerOut",get:function(){return this.isExclusive&&this.kicker&&(this.data.isMobile||!this.photo)}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(6).b);Object(s.a)([Object(c.c)()],l.prototype,"kicker",void 0),Object(s.a)([Object(c.c)()],l.prototype,"id",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(s.a)([Object(c.c)()],l.prototype,"photo",void 0),Object(s.a)([Object(c.c)()],l.prototype,"relateds",void 0),Object(s.a)([Object(c.c)()],l.prototype,"styleHeadline",void 0),Object(s.a)([Object(c.c)()],l.prototype,"icon",void 0),Object(s.a)([Object(c.c)()],l.prototype,"showComments",void 0),Object(s.a)([Object(c.b)("lazypreload")],l.prototype,"lazypreload",void 0),s=l=Object(s.a)([Object(c.a)({name:"HeadlineSub"})],l),c=n(7),l=n(164),l=n.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("article",{class:["headlineSub",{"headlineSub__kickerOut--top":e.isKickerOut}],attrs:{"aria-labelledby":e.id}},[t("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:e.metrics,expression:"metrics"}],staticClass:"hyperlink headlineSub__link",attrs:{href:e.link}},[e.isKickerOut?t("h2",{class:["headlineSub__kickerOut","kicker","kicker--highlight"],domProps:{textContent:e._s(e.kicker)}}):e._e(),e.hasPhoto?t("Photograph",e._b({staticClass:"headlineSub__image",attrs:{lazypreload:e.lazypreload,kicker:!e.data.isMobile&&e.isExclusive?e.kicker:null,icon:e.icon}},"Photograph",e.photo,!1)):e._e(),t("div",{staticClass:"headlineSub__content"},[e.kicker&&!e.isExclusive?t("h2",{class:["headlineSub__content__kicker","kicker","kicker--default"],domProps:{textContent:e._s(e.kicker)}}):e._e(),t("h3",{staticClass:"title__element headlineSub__content__title",attrs:{id:e.id}},[e._v("\n        "+e._s(e.title)+"\n\n        "),!e.hasPhoto&&e.icon?t("i",{class:["uolIcons","uolIcons--"+e.icon],attrs:{"aria-hidden":"true"}}):e._e()])])],1),e.relateds&&e.relateds.length?t("RelatedList",{staticClass:"headlineSub__related-list",attrs:{"related-list":e.relateds,metrics:e.metrics}}):e._e()],1)}),[],!1,(function(e){var t=n(441);t.__inject__&&t.__inject__(e)}),null,"765cfa55"),"function"==typeof l.a&&l()(s),t.a=s.exports},328:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){var e;return Object(i.a)(this,n),(e=t.apply(this,arguments)).lazyloadComplete=!1,e.shows=!0,e}return Object(o.a)(n,[{key:"onHandleError",value:function(){this.shows=!1}},{key:"lazyload",value:function(){var e=this;this.lazypreload?this.loadedImage():this.$nextTick((function(){e.loadingSupport?e.loadedImage():e.tools.custom.lazyload.observe(e.$el,e.loadedImage)}))}},{key:"loadingSupport",get:function(){return"loading"in HTMLImageElement.prototype}},{key:"loadedImage",value:function(){this.lazyloadComplete=!0}},{key:"mounted",value:function(){this.lazyload()}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),n}(n(6).c);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"name",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"path",void 0),Object(s.a)([Object(c.c)({default:50})],l.prototype,"width",void 0),Object(s.a)([Object(c.c)({default:50})],l.prototype,"height",void 0),Object(s.a)([Object(c.c)()],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({default:"imagem"})],l.prototype,"description",void 0),Object(s.a)([Object(c.c)({default:!1})],l.prototype,"lazypreload",void 0),s=l=Object(s.a)([Object(c.a)({name:"Icon"})],l),c=n(7),l=n(166),l=n.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return e.shows?t("div",[e.lazyloadComplete||e.lazypreload?t("img",{staticClass:"icon__image",attrs:{loading:e.lazypreload?null:"lazy",decoding:e.lazypreload?null:"async",width:e.width,height:e.height,title:e.title,alt:e.description,src:"https://imguol.com.br/c/home/layout/vueland/icons/"+e.path+"/"+e.name+".svg?v4"},on:{error:e.onHandleError}}):e._e()]):e._e()}),[],!1,(function(e){var t=n(445);t.__inject__&&t.__inject__(e)}),null,"74edc8ca"),"function"==typeof l.a&&l()(s),t.a=s.exports},337:function(e,t,n){"use strict";var i=n(9),o=n(10),a=n(2),r=n(5),s=n(4),c=n(3),l=n(8),u=n.n(l),d=(n(16),n(28),n(30),n(26),n(1)),h=n(0);l=function(e){Object(s.a)(l,e);var t,n=Object(c.a)(l);function l(){return Object(a.a)(this,l),n.apply(this,arguments)}return Object(r.a)(l,[{key:"created",value:function(){}},{key:"whenHydrate",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"when-visible";if("when-visible"===e&&!0===this.data.isMobile)return{force:!0};switch(e){case"force":return{force:!0};case"ssr-only":return{ssrOnly:!0};default:return{whenVisible:!0}}}},{key:"getKey",value:function(e){var t;return(null===(t=e.metrics)||void 0===t?void 0:t.area)||e.id||e.component}},{key:"dispatch",value:(t=Object(o.a)(u.a.mark((function e(t){var n,a,r,s=this;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.tools.userAgent.isSmart(),e.next=3,this.apis.custom.section.getOrderSections(this.fileName);case 3:return r=e.sent,e.next=6,Promise.all(r.map(function(){var e=Object(o.a)(u.a.mark((function e(t){var o;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.data)return e.next=3,s.apis.custom.section.getDataSection(t.data,n);e.next=5;break;case 3:return o=e.sent,e.abrupt("return",{component:t.component,config:t.config,metrics:t.metrics,data:Object(i.a)(Object(i.a)({},o),{},{header:t.data.header}),id:t.id});case 5:return e.abrupt("return",Object(i.a)({},t));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 6:return a=e.sent,e.next=9,this.apis.custom.section.getTimeStamp();case 9:r=e.sent,t({sections:a,isMobile:n,timestamp:r});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),l}(n(6).c);Object(d.a)([Object(h.c)({default:"order-sections"})],l.prototype,"fileName",void 0),d=l=Object(d.a)([Object(h.a)({name:"OrderSections"})],l),h=n(7),l=n(169),l=n.n(l),d=Object(h.a)(d,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.data.isMobile?e._e():n("section",{staticClass:"orderSections__section section orderSections__section__publisher"},[n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-24"},[n("div",{staticClass:"section__grid__highlight"},[n("Hydrate",{attrs:{"ssr-only":""}},[n("CardAd",{class:"section__grid__highlight__item",attrs:{id:"banner-1190x70-2-area","class-name":"1190x70","run-js":!1,"show-label":!0}})],1)],1)])])])]),e._l(e.data.sections,(function(t,i){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.config&&t.config.hydrate,i),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"orderSections__section",attrs:{"data-item-id":t.id,"data-area":t.metrics&&t.metrics.area,metrics:t.metrics},on:{sectionElementMounted:e.observeSection}},"component",Object.assign({},t.data,t.config,{id:t.id,sectionPosition:i}),!1))],1)}))],2)}),[],!1,(function(e){var t=n(456);t.__inject__&&t.__inject__(e)}),null,"6fd1212b"),"function"==typeof l.a&&l()(d),t.a=d.exports},344:function(e,t,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),n}(n(6).a);s=l=Object(s.a)([Object(c.a)({name:"RowFeed"})],l),c=n(7),l=n(175),l=n.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.headlineCollection&&e.headlineCollection.length?n("div",{staticClass:"rowFeed"},[n("div",{class:["rowFeed__list","row","row-cols-1","row-cols-lg-"+e.headlineCollection.length]},e._l(e.headlineCollection,(function(t,i){return n("CardFeedHighlights",e._b({key:t.id,staticClass:"rowFeed__list__item col",attrs:{metrics:Object.assign({},e.metrics,{position:(i+1).toString()})}},"CardFeedHighlights",t,!1))})),1)]):e._e()}),[],!1,(function(e){var t=n(472);t.__inject__&&t.__inject__(e)}),null,"42740561"),"function"==typeof l.a&&l()(s),t.a=s.exports},347:function(e,t,n){"use strict";var i=n(9),o=n(10),a=n(2),r=n(5),s=n(4),c=n(3),l=(n(49),n(8)),u=n.n(l),d=n(1),h=n(0);l=function(e){Object(s.a)(d,e);var t,n,l=Object(c.a)(d);function d(){var e;return Object(a.a)(this,d),(e=l.apply(this,arguments)).lazypreload=0===e.sectionPosition,e.elSectionHeight="auto",e.showContainer=!0,e}return Object(r.a)(d,[{key:"whenHydrate",value:function(e){return this.data.isMobile?"CardAd"===e?{whenVisibleAd:!0}:{whenVisible:!0}:{force:!0}}},{key:"getSectionStyle",get:function(){return{"--section-color":this.tools.custom.style.getStationColor(this.station)}}},{key:"gettoggleHeigth",get:function(){var e;return this.showContainer||null===(e=null==this?void 0:this.$el)||void 0===e||!e.clientHeight?{height:"auto"}:{height:"".concat(null===(e=null==this?void 0:this.$el)||void 0===e?void 0:e.clientHeight,"px")}}},{key:"hasMain",get:function(){return!!(this.mainHighlights.length||this.mainRows.length||this.mainBottom.length||this.asideRows.length)}},{key:"getKey",value:function(e){var t;return(null===(t=e.meta)||void 0===t?void 0:t.key)||e.id||e.component}},{key:"toggleContainer",value:function(){var e=this.tools.custom.localStorage.readValue(this.id);this.showContainer="close"!==e}},{key:"handleShowControl",value:function(e){var t,n;!1===e&&(t=null==(n=this.$el.getElementsByTagName("header")[0])?void 0:n.clientHeight,(n=null===(n=null==this?void 0:this.$el)||void 0===n?void 0:n.clientHeight)&&t&&(this.elSectionHeight="".concat(n-t-23,"px"))),this.showContainer=e}},{key:"mounted",value:(n=Object(o.a)(u.a.mark((function e(){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.toggleContainer(),this.$emit("sectionElementMounted",this.$el);case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"created",value:function(){}},{key:"getClassSection",value:function(){var e=["section"];return this.showsGrid&&e.push("section__grid"),this.className&&e.push(this.className),e.join(" ")}},{key:"mergeMetrics",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(Object(i.a)({},e),this.metrics)}},{key:"getDataBind",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return e.headline?Object(i.a)(Object(i.a)({station:this.station},e.headline),t):e.headlineVideo?Object(i.a)(Object(i.a)({station:this.station},e.headlineVideo),t):e.headlineHybrid?Object(i.a)(Object(i.a)({station:this.station},e.headlineHybrid),t):Object(i.a)(Object(i.a)({station:this.station},e),t)}},{key:"dispatch",value:(t=Object(o.a)(u.a.mark((function e(t){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({isMobile:this.tools.userAgent.isSmart()});case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),d}(n(6).b);Object(d.a)([Object(h.c)({required:!0})],l.prototype,"id",void 0),Object(d.a)([Object(h.c)({default:function(){return"visible"}})],l.prototype,"hydrate",void 0),Object(d.a)([Object(h.c)({required:!0})],l.prototype,"sectionPosition",void 0),Object(d.a)([Object(h.c)({default:"home"})],l.prototype,"station",void 0),Object(d.a)([Object(h.c)({default:!1})],l.prototype,"showsGrid",void 0),Object(d.a)([Object(h.c)({default:"big"})],l.prototype,"headerSizeSpacing",void 0),Object(d.a)([Object(h.c)({default:""})],l.prototype,"className",void 0),Object(d.a)([Object(h.c)()],l.prototype,"header",void 0),Object(d.a)([Object(h.c)({default:[]})],l.prototype,"highlightRows",void 0),Object(d.a)([Object(h.c)({default:[]})],l.prototype,"mainHighlights",void 0),Object(d.a)([Object(h.c)({default:[]})],l.prototype,"mainRows",void 0),Object(d.a)([Object(h.c)({default:[]})],l.prototype,"mainBottom",void 0),Object(d.a)([Object(h.c)({default:[]})],l.prototype,"asideRows",void 0),Object(d.a)([Object(h.c)({default:[]})],l.prototype,"footerRows",void 0),Object(d.a)([Object(h.d)("lazypreload")],l.prototype,"lazypreload",void 0),d=l=Object(d.a)([Object(h.a)({name:"Section"})],l),h=n(7),l=n(178),l=n.n(l),d=Object(h.a)(d,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{key:"section-id-"+e.id,class:e.getClassSection(),style:[e.getSectionStyle,{"--section-height":e.elSectionHeight}],attrs:{"aria-labelledby":e.id}},[e.header?n("HeaderSection",e._b({class:["section__headerSection",{"section__headerSection--spacingSmall":"small"===e.headerSizeSpacing}],attrs:{id:e.id,metrics:Object.assign({},e.metrics,{position:"1",category:"header-section"})},on:{"show-changed":e.handleShowControl}},"HeaderSection",e.header,!1)):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showContainer,expression:"showContainer"}],staticClass:"container"},[n("div",{staticClass:"row"},[e.highlightRows&&e.highlightRows.length?n("div",{staticClass:"col-24",attrs:{id:e.header?null:e.id}},[n("div",{staticClass:"section__grid__highlight"},e._l(e.highlightRows,(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__highlight__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1)]):e._e(),e.hasMain?n("div",{staticClass:"col-24"},[n("div",{staticClass:"row section__grid__main"},[n("div",{staticClass:"col-24 col-lg-15"},[e.mainHighlights&&e.mainHighlights.length?e._l(e.mainHighlights,(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__main__highlight__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})):e._e(),e.mainRows&&e.mainRows.length?n("div",{staticClass:"section__grid__main__rows"},[n("SectionGrid",{attrs:{"main-rows":e.mainRows,"use-container":!1,"shows-grid":!1,metrics:e.metrics}})],1):e._e(),e.mainBottom&&e.mainBottom.length?e._l(e.mainBottom,(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__main__bottom__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})):e._e()],2),e.asideRows&&e.asideRows.length?n("div",{staticClass:"section__grid__aside col-24 col-lg-9"},e._l(e.asideRows,(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__aside__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()])]):e._e(),e.footerRows&&e.footerRows.length?n("div",{staticClass:"col-24"},[n("div",{staticClass:"section__grid__footer"},e._l(e.footerRows,(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__footer__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1)]):e._e()])])],1)}),[],!1,(function(e){var t=n(478);t.__inject__&&t.__inject__(e)}),null,"2cc3993a"),"function"==typeof l.a&&l()(d),t.a=d.exports},348:function(e,t,n){"use strict";var i=n(9),o=n(2),a=n(5),r=n(4),s=n(3),c=(n(49),n(1)),l=n(0),u=function(e){Object(r.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"whenHydrate",value:function(e){return this.data.isMobile?"CardAd"===e?{whenVisibleAd:!0}:{whenVisible:!0}:{force:!0}}},{key:"getKey",value:function(e){var t;return(null===(t=e.meta)||void 0===t?void 0:t.key)||e.id||e.component}},{key:"mergeMetrics",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(Object(i.a)({},this.metrics),e)}},{key:"hasCols",value:function(e){var t=e.columns;return!!(null!==(e=null==t?void 0:t[0])&&void 0!==e&&e.length||null!==(e=null==t?void 0:t[1])&&void 0!==e&&e.length||null!==(t=null==t?void 0:t[2])&&void 0!==t&&t.length)}},{key:"hasHighlights",value:function(e){return!(null===(e=e.highlights)||void 0===e||!e.length)}},{key:"created",value:function(){}},{key:"getClassSection",value:function(){var e=["sectionGrid__rows"];return this.useContainer&&e.push("container"),this.showsGrid&&e.push("sectionGrid__grid"),e.join(" ")}},{key:"getDataBind",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return e.headline?Object(i.a)(Object(i.a)({isInternalComponentSectionGrid:!0},e.headline),t):e.headlineVideo?Object(i.a)(Object(i.a)({isInternalComponentSectionGrid:!0},e.headlineVideo),t):Object(i.a)(Object(i.a)({isInternalComponentSectionGrid:!0},e),t)}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(6).b);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"id",void 0),Object(c.a)([Object(l.c)({default:!0})],u.prototype,"useContainer",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"showsGrid",void 0),Object(c.a)([Object(l.c)({default:[]})],u.prototype,"mainRows",void 0),c=u=Object(c.a)([Object(l.a)({name:"SectionGrid"})],u),l=n(7),u=n(179),u=n.n(u),c=Object(l.a)(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.mainRows&&e.mainRows.length?n("div",{staticClass:"sectionGrid",attrs:{"aria-labelledby":e.id}},e._l(e.mainRows,(function(t,i){return n("div",{key:"section-grid-"+i,class:e.getClassSection(),attrs:{id:0===i?e.id:null}},[e.hasHighlights(t)||e.hasCols(t)?n("div",{staticClass:"row"},[n("div",{staticClass:"col-24 col-lg-16"},[e.hasHighlights(t)?n("div",{staticClass:"sectionGrid__grid__highlight"},e._l(t.highlights,(function(t,i){return n("Hydrate",e._b({key:"section-grid-highlights-"+i},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:"section-grid-highlights-"+i,tag:"component",staticClass:"sectionGrid__grid__highlight__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e(),e.hasCols(t)?n("div",{staticClass:"row"},[t.columns&&t.columns[0]&&t.columns[0].length?n("div",{staticClass:"col-24 col-lg-12 sectionGrid__grid__columnOne"},e._l(t.columns[0],(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"sectionGrid__grid__columnOne__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e(),t.columns&&t.columns[1]&&t.columns[1].length?n("div",{staticClass:"col-24 col-lg-12 sectionGrid__grid__columnTwo"},e._l(t.columns[1],(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"sectionGrid__grid__columnTwo__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()]):e._e()]),t.columns&&t.columns[2]&&t.columns[2].length?n("div",{staticClass:"col-24 col-lg-8 sectionGrid__grid__columnThree"},e._l(t.columns[2],(function(t){return n("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"sectionGrid__grid__columnThree__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()]):e._e(),t.bottom&&t.bottom.length?n("div",{staticClass:"sectionGrid__grid__bottom"},e._l(t.bottom,(function(t,i){return n("Hydrate",e._b({key:"section-grid-bottom-"+i},"Hydrate",e.whenHydrate(t.component),!1),[n(t.component,e._b({key:"section-grid-bottom-"+i,tag:"component",staticClass:"sectionGrid__grid__bottom__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()])})),0):e._e()}),[],!1,(function(e){var t=n(480);t.__inject__&&t.__inject__(e)}),null,"e816818a"),"function"==typeof u.a&&u()(c),t.a=c.exports},349:function(e,t,n){"use strict";var i=n(10),o=n(9),a=n(2),r=n(5),s=n(4),c=n(3),l=n(8),u=n.n(l),d=(n(26),n(19),n(45),n(13),n(17),n(32),n(126),n(47),n(44),n(53),n(75),n(16),n(14),n(1)),h=n(0);l=function(e){Object(s.a)(h,e);var t,n,l,d=Object(c.a)(h);function h(){var e;return Object(a.a)(this,h),(e=d.apply(this,arguments)).NUMBER_OF_RECOMMEND_ITEMS=100,e.TOTAL_COLUMNS=1,e.showSkeleton=!0,e.showErrorScreen=!1,e.showMainRows=!1,e.userHasAnAbTest=!1,e.mainRows=[],e}return Object(r.a)(h,[{key:"ITEMS_BY_BLOCK",get:function(){var e=this.TOTAL_COLUMNS||1;return this.LINES_BY_BLOCK[e].map((function(t){return t*e}))}},{key:"LINES_BY_BLOCK",get:function(){return{1:[15,15,15,0],4:[4,5,5,0],3:[5,7,7,0]}}},{key:"hasMainRows",get:function(){return!!this.mainRows.length}},{key:"errorScreenStyle",get:function(){return{"--section-color":"#016f62"}}},{key:"skeletonItems",get:function(){return this.data.isMobile?new Array(30):new Array(60)}},{key:"defaultMetrics",get:function(){return{area:"feed",category:"card-feed"}}},{key:"errorMetricsPrint",get:function(){return{metrics:Object(o.a)(Object(o.a)({},this.defaultMetrics),{},{label:"content-reload"}),options:{impressionPercentage:100,timeout:1}}}},{key:"startFeedMetricsPrint",value:function(e){if(!1!==this.userHasAnAbTest)return{metrics:Object(o.a)(Object(o.a)({},this.defaultMetrics),{},{category:"feed-".concat(e+1),label:"componente-visualizado"}),options:{useComponentSizeInViewport:!0}}}},{key:"endFeedMetricsPrint",get:function(){return{metrics:Object(o.a)(Object(o.a)({},this.defaultMetrics),{},{category:"end-feed",label:"componente-visualizado"})}}},{key:"hasHighlights",value:function(e){return!(null==e||!e.length)}},{key:"hasBottom",value:function(e){return!(null==e||!e.length)}},{key:"getColumnsFromMainRows",value:function(e){return this.data.isMobile?1:e||4}},{key:"getColumnClassFromMainRows",value:function(e){return"col-24".concat(3===e?" col-lg-8 sectionGridFeed__column":" col-lg-6 sectionGridFeed__column")}},{key:"getColumnComponents",value:function(e,t,n){if(this.data.isMobile)return n;for(var i=[],o=e;i.push(o),(o+=t)<n.length;);return n.filter((function(e,t){return i.includes(t)}))}},{key:"getDataBind",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=this.data.isMobile?void 0:this.mainRows[0].columns;return e.headline?Object(o.a)(Object(o.a)(Object(o.a)({},e.headline),t),{},{column:n,isMobile:this.data.isMobile}):Object(o.a)(Object(o.a)(Object(o.a)({},e),t),{},{column:n,isMobile:this.data.isMobile})}},{key:"changeImageCrop",value:function(e,t){if(!this.data.isMobile&&!t){if(4===this.data.gridColumn)return e.replace(/_v2_(\d+x\d+)\./,"_v2_300x168.");if(3===this.data.gridColumn)return e.replace(/_v2_(\d+x\d+)\./,"_v2_300x300.")}return this.data.isMobile&&!t?e.replace(/_v2_(\d+x\d+)\./,"_v2_150x112."):e.replace(/_v2_(\d+x\d+)\./,"_v2_300x225.")}},{key:"parsedRecommendedHeadlines",value:function(e){var t=this,n={noticias:["notícias"],"folha de s. paulo ":["folha","folha de são paulo"],"viva-bem":["vivabem"],educacao:["educação"],"tv-famosos":["tv e famosos"],entrete:["entretenimento"],play:["uol play"],channel:["canal uol"]};return e.map((function(e,i){return{component:e.in_queue_to_call?"CardFeedHighlights":"HeadlineStandardFeed",data:{headline:{id:e.id,title:e.title,link:e.link,kicker:e.site_name,station:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t="";return Object.values(n).forEach((function(i,o){i.includes(e.toLowerCase())&&(t=Object.keys(n)[o])})),t||e.toLowerCase()}(null==e?void 0:e.site_name),isPartner:e.is_partner,photo:e.image?{images:[{src:t.changeImageCrop(e.image.replace("http://","https://"),e.in_queue_to_call),credit:e["imagem-credito"]||void 0}]}:void 0,metrics:Object(o.a)(Object(o.a)({},t.defaultMetrics),{},{position:"".concat(i+1),label:(i=e.in_queue_to_call,e=e.image,i?e?"highlight-photo":"highlight-no-photo":e?"content-photo":"content-no-photo")})}}}}))}},{key:"statusURI",value:function(e){return e=e?this.config.domain.path:"c.jsuol.com.br/bol","//".concat(e,"/vueland/assets")}},{key:"setItemsToFeed",value:function(){var e=this;null!==(t=null==(o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})?void 0:o.items)&&void 0!==t&&t.length||this.handleFetchError(new Error("[SectionGridFeed] NO ITEMS"));var t=o.items,n=this.TOTAL_COLUMNS,i=this.ITEMS_BY_BLOCK,o=this.NUMBER_OF_RECOMMEND_ITEMS,a=[this.createCardAd("","native-vitrine","1190x330"),this.createCardAd("banner-responsive-horizontal-4","","1190x330"),this.createCardAd("banner-responsive-horizontal-5","","1190x330")],r=(o=this.tools.custom.blocklist.filterHeadlines(t).splice(0,o),this.parsedRecommendedHeadlines(o));(function t(){var o=a.shift();e.mainRows.length<i.length&&(e.mainRows.push({highlights:r.splice(0,i[e.mainRows.length]||r.length),bottom:o?[o]:[],columns:n}),setTimeout(t))})(),this.handleMainRows()}},{key:"handleFetchError",value:function(e){var t=this,n=-1===window.location.hostname.indexOf("www.bol.uol.com.br");fetch("".concat(this.statusURI(n),"/?loadComponent=SnapshotFeed&contentType=js")).then((function(e){return e.json()})).then((function(e){e.items&&e.items.length?t.setItemsToFeed(e):(t.handleErrorScreen(),t.setReportError(JSON.stringify(e)))})).catch((function(e){t.handleErrorScreen(),t.setReportError(e)})),this.setReportError(e)}},{key:"getRecommendedHeadlinesAPI",value:(l=Object(i.a)(u.a.mark((function e(){var t,n=this;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.handleSkeleton(),e.prev=2,t=this.NUMBER_OF_RECOMMEND_ITEMS,performance.mark("_uol-measure-bol-feed-request-time:start"),t="https://recommendation.uol.com.br/recommend_item?referrer=".concat("https://www.bol.uol.com.br","&algorithm=").concat("home_chronos_recommendation","&items=").concat(t+20,"&pages=1"),e.next=10,this.fetch.get(t,{loadingTimeout:6e3,onOffline:function(){return n.handleFetchError(new Error("Offline"))},onLoadingSlow:function(){return n.handleFetchError(new Error("Slow"))}});case 10:t=e.sent,performance.measure("uol-measure-bol-feed-request-time","_uol-measure-bol-feed-request-time:start"),performance.clearMarks("_uol-measure-bol-feed-request-time:start"),this.setItemsToFeed(t.data),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(2),this.handleErrorScreen(),this.setReportError(e.t0);case 20:case"end":return e.stop()}}),e,this,[[2,16]])}))),function(){return l.apply(this,arguments)})},{key:"setReportError",value:function(e){throw window.ReportError({message:e.message,stack:e.stack||"no stack"}),this.tools.custom.debug.logError("[SectionGridFeed] erro na requisição",e),new Error("[SectionGridFeed] Feed request failed: ".concat(e))}},{key:"handleErrorScreen",value:function(){this.showSkeleton=!1,this.showMainRows=!1,this.mainRows.length=0,this.showErrorScreen=!0}},{key:"handleSkeleton",value:function(){this.showErrorScreen=!1,this.showMainRows=!1,this.mainRows.length=0,this.showSkeleton=!0}},{key:"handleMainRows",value:function(){this.showErrorScreen=!1,this.showSkeleton=!1,this.showMainRows=!0}},{key:"createCardAd",value:function(e,t,n){return{component:"CardAd",config:{id:e,className:n,classAd:t}}}},{key:"setConfigTestAbExpCTD0032",value:function(){var e={A:{columns:4,testId:"expCTD0032VWrDDe001"},B:{columns:3,testId:"expCTD0032VWrDDe002"},N:{columns:4,testId:void 0}}[0<arguments.length&&void 0!==arguments[0]?arguments[0]:"N"];this.TOTAL_COLUMNS=e.columns,window.universal_variable.aud.abTest2=e.testId,this.userHasAnAbTest=!!e.testId}},{key:"getABTest",value:(n=Object(i.a)(u.a.mark((function e(){var t=this;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){window._uolabtestsev=window._uolabtestsev||[],window._uolabtestsev.push((function(){!1===t.data.isMobile&&t.setConfigTestAbExpCTD0032(window._uolabtest("_grandabcExpCTD0032")),e(void 0)}))})));case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},{key:"created",value:function(){}},{key:"mounted",value:(t=Object(i.a)(u.a.mark((function e(){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.tools.custom.blocklist.getLinks(),!1===this.data.isMobile&&(this.TOTAL_COLUMNS=4),e.next=4,this.getRecommendedHeadlinesAPI();case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),h}(n(6).c);Object(d.a)([Object(h.c)({required:!0})],l.prototype,"id",void 0),d=l=Object(d.a)([Object(h.a)({name:"SectionGridFeed"})],l),h=n(7),l=n(180),l=n.n(l),d=Object(h.a)(d,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"sectionGridFeed",attrs:{"aria-labelledby":e.id}},[e.showMainRows?e._l(e.mainRows,(function(t,i){return n("div",{key:t.id,staticClass:"container sectionGridFeed__rows"},[e.hasHighlights(t.highlights)?n("div",{directives:[{name:"metrics-print",rawName:"v-metrics-print",value:e.startFeedMetricsPrint(i),expression:"startFeedMetricsPrint(index)"}],staticClass:"row"},e._l(e.getColumnsFromMainRows(t.columns),(function(i,o){return n("div",{key:"section-grid-feed-columns-"+i,class:e.getColumnClassFromMainRows(t.columns)},e._l(e.getColumnComponents(o,e.getColumnsFromMainRows(t.columns),t.highlights),(function(t,i){return n(t.component,e._b({key:"section-grid-feed-columns-rows-"+i,tag:"component",staticClass:"sectionGridFeed__rows__item"},"component",e.getDataBind(t.data,t.config),!1))})),1)})),0):e._e(),e.hasBottom(t.bottom)?n("div",{staticClass:"sectionGridFeed__bottom"},e._l(t.bottom,(function(t,i){return n(t.component,e._b({key:"section-grid-feed-bottom-"+i,tag:"component",staticClass:"sectionGridFeed__bottom__item"},"component",e.getDataBind(t.data,t.config),!1))})),1):e._e()])})):e._e(),e.showSkeleton?[n("div",{staticClass:"container sectionGridFeed__fade__loading"},[n("div",{staticClass:"row"},e._l(e.skeletonItems,(function(t){return n("div",{key:t,staticClass:"col-24 col-lg-6 sectionGridFeed__fade__loading__item"},[n("span",{staticClass:"sectionGridFeed__fade__loading__photo loading__skeleton"}),e._m(0,!0)])})),0)])]:e._e(),e.showErrorScreen?n("ErrorScreen",{directives:[{name:"metrics-print",rawName:"v-metrics-print",value:e.errorMetricsPrint,expression:"errorMetricsPrint"}],staticClass:"sectionGridFeed__errorScreen",style:e.errorScreenStyle,attrs:{metrics:Object.assign({},e.defaultMetrics,{position:"1"})},on:{click:function(t){return e.getRecommendedHeadlinesAPI()}}}):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.userHasAnAbTest,expression:"userHasAnAbTest"},{name:"metrics-print",rawName:"v-metrics-print",value:e.endFeedMetricsPrint,expression:"endFeedMetricsPrint"}],staticClass:"sectionGridFeed__end"})],2)}),[function(){var e=this.$createElement;return(e=this._self._c||e)("div",{staticClass:"sectionGridFeed__fade__loading__container"},[e("span",{staticClass:"sectionGridFeed__fade__loading__title loading__skeleton sectionGridFeed__fade__loading__title--large"}),e("span",{staticClass:"sectionGridFeed__fade__loading__title loading__skeleton sectionGridFeed__fade__loading__title--large"}),e("span",{staticClass:"sectionGridFeed__fade__loading__title loading__skeleton sectionGridFeed__fade__loading__title--medium"})])}],!1,(function(e){var t=n(484);t.__inject__&&t.__inject__(e)}),null,"429a1296"),"function"==typeof l.a&&l()(d),t.a=d.exports},359:function(e,t,n){"use strict";var i=n(12),o=n(24),a=n(10),r=n(2),s=n(5),c=n(4),l=n(3),u=n(8),d=n.n(u),h=(n(16),n(65),n(28),n(30),n(19),n(53),n(52),n(1)),f=n(0);u=function(e){Object(c.a)(h,e);var t,n,u=Object(l.a)(h);function h(){var e;return Object(r.a)(this,h),(e=u.apply(this,arguments)).default={},e}return Object(s.a)(h,[{key:"created",value:function(){}},{key:"dispatch",value:(n=Object(a.a)(d.a.mark((function e(t){var n,i,a,r,s;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=[],a=new Set,e.next=4,this.getHeadlineMain();case 4:return(r=e.sent)&&(i.push(r),this.collectLinks(r,a)),e.next=8,this.apis.custom.chartbeatNews.getNews("uol-conteudo",30,{"tags-id":"80285+OR+15308",size:"30"});case 8:s=e.sent,null!==(r=null===(r=null==s?void 0:s.data)||void 0===r?void 0:r.headlineCollection)&&void 0!==r&&r.length&&(i.push.apply(i,Object(o.a)(s.data.headlineCollection.filter((function(e){return!a.has(e.link)})))),n=this.apis.custom.section.createSectionWith(i,"topo-bol")),t({section:n});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getHeadlineMain",value:(t=Object(a.a)(d.a.mark((function e(){var t,n,i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.next=4,this.apis.custom.section.getDataCommons("/vueland/order-modules/principal-section-1.json");case 4:if(n=e.sent,null===(t=null===(t=null===(t=n.data)||void 0===t?void 0:t.main)||void 0===t?void 0:t.highlights)||void 0===t||!t.length){e.next=12;break}if(i=n.data.main.highlights.find((function(e){return/^.*\/headline-main-\d.json$/.test(e.path)})))return e.next=10,this.apis.custom.section.getDataCommons(i.path);e.next=12;break;case 10:return i=e.sent,e.abrupt("return",i.data.headlineHybrid.responsive||i.data.headlineHybrid.web);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),this.tools.log.error(e.t0);case 17:return e.abrupt("return",void 0);case 18:case"end":return e.stop()}}),e,this,[[1,14]])}))),function(){return t.apply(this,arguments)})},{key:"collectLinks",value:function(e,t){t.add(e.link);var n,o=Object(i.a)(e.relateds||[]);try{for(o.s();!(n=o.n()).done;){var a=n.value;t.add(a.link)}}catch(e){o.e(e)}finally{o.f()}}}]),h}(n(6).c),h=u=Object(h.a)([Object(f.a)({name:"TopoBol"})],u),f=n(7),u=n(185),u=n.n(u),h=Object(f.a)(h,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("Section",{attrs:{id:"topo-bol","main-highlights":e.data.section.mainHighlights,"main-rows":e.data.section.mainRows,"aside-rows":e.data.section.asideRows,"footer-rows":e.data.section.footerRows,"section-position":0,metrics:{area:"topo"}}})}),[],!1,null,null,"5ed33593");"function"==typeof u.a&&u()(h),t.a=h.exports},382:function(e,t,n){"use strict";n.r(t);var i,o=n(207);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},383:function(e,t,n){},391:function(e,t,n){"use strict";n.r(t);var i,o=n(210);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},392:function(e,t,n){},395:function(e,t,n){"use strict";n.r(t);var i,o=n(212);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},396:function(e,t,n){},397:function(e,t,n){"use strict";n.r(t);var i,o=n(213);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},398:function(e,t,n){},399:function(e,t,n){"use strict";n.r(t);var i,o=n(214);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},400:function(e,t,n){},403:function(e,t,n){"use strict";n.r(t);var i,o=n(215);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},404:function(e,t,n){},413:function(e,t,n){"use strict";n.r(t);var i,o=n(220);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},414:function(e,t,n){},417:function(e,t,n){"use strict";n.r(t);var i,o=n(222);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},418:function(e,t,n){},431:function(e,t,n){"use strict";n.r(t);var i,o=n(231);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},432:function(e,t,n){},441:function(e,t,n){"use strict";n.r(t);var i,o=n(236);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},442:function(e,t,n){},445:function(e,t,n){"use strict";n.r(t);var i,o=n(238);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},446:function(e,t,n){},456:function(e,t,n){"use strict";n.r(t);var i,o=n(248);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},457:function(e,t,n){},472:function(e,t,n){"use strict";n.r(t);var i,o=n(257);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},473:function(e,t,n){},478:function(e,t,n){"use strict";n.r(t);var i,o=n(260);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},479:function(e,t,n){},480:function(e,t,n){"use strict";n.r(t);var i,o=n(261);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},481:function(e,t,n){},484:function(e,t,n){"use strict";n.r(t);var i,o=n(262);for(i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i)},485:function(e,t,n){}},[[518,8,0,1,7,3,4,2,6]]]);
