(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{257:function(e,t,n){var a=n(524);(a="string"==typeof(a=a.__esModule?a.default:a)?[[e.i,a,""]]:a).locals&&(e.exports=a.locals),(0,n(11).default)("79cf1c9c",a,!0,{singleton:!0})},523:function(e,t,n){"use strict";n.r(t);var a,o=n(257);for(a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a)},524:function(e,t,n){},6:function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d}));var a=n(5),o=n(2),r=n(4),i=n(3),c=n(1),s=(t=n(17),n=n(0),function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments))["state-alias"]="",e}return n}(t.a));Object(c.a)([Object(n.c)()],s.prototype,"state-alias",void 0),Object(c.a)([Object(n.c)()],s.prototype,"__id__",void 0),Object(c.a)([Object(n.c)({default:function(){return{}}})],s.prototype,"data",void 0),Object(c.a)([Object(n.c)({default:function(){return{}}})],s.prototype,"noopProp",void 0),Object(c.a)([Object(n.c)({default:function(){return!1}})],s.prototype,"__initiator__",void 0);var u=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(s);Object(c.a)([Object(n.c)()],u.prototype,"metrics",void 0);var l=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"onHeadlineCollectionChange",value:function(e,t){}}]),n}(u);Object(c.a)([Object(n.c)({required:!0})],l.prototype,"headlineCollection",void 0),Object(c.a)([Object(n.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null);var d=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(u);Object(c.a)([Object(n.c)({required:!0})],d.prototype,"itemCollection",void 0)},760:function(e,t,n){"use strict";n.r(t),n(13),n(55),n(22),n(519),n(15),n(18);var a=n(17),o=n(2),r=n(5),i=n(4),c=n(3),s=(n(45),n(1)),u=n(0),l=n(6),d=(n(53),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).chosen="default",e.classes="ab-w",e}return Object(r.a)(n,[{key:"dispatch",value:function(e){var t=!(!this.domain||this.domain==this.tools.request.domain)||!(!this.path||this.path==this.tools.request.uri);e({domain:this.tools.request.domain,path:this.tools.request.uri,always:t?"default":void 0})}},{key:"created",value:function(){}},{key:"render",value:function(e){if(!this.chosen)return e();var t=this.use||this.data.always||this.always||this.chosen,n=this.$slots[t];return n&&1==n.length&&n[0].tag?(n[0].children[0].componentOptions.propsData.stateAlias=this.testName+"-"+t+"-"+(new Date).getTime(),n[0].data={attrs:{class:this.use?"":this.classes}},n[0]):(n=0<(n=Object.keys(this.$slots)).length?n[0]:"default",n=this.$slots.default||this.$slots[n],e(this.tag,[n]))}},{key:"mounted",value:function(){var e=this;this.chosen=this.tools.custom.ab.mount({testName:this.testName,endTime:this.endTime,domain:this.domain||void 0,path:this.path||void 0,slots:Object.keys(this.$slots),draw:this.draw||null,sample:function(t){e.$emit("sample",t)},pick:function(t){e.$emit("pick",t)},data:this.data}),this.chosen&&this.use&&(this.chosen=this.use),e.classes=""}}]),n}(l.d));Object(s.a)([Object(u.c)({type:String,default:function(){return"div"}})],d.prototype,"tag",void 0),Object(s.a)([Object(u.c)({type:Object})],d.prototype,"draw",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return"vueland-ab-cookie"}})],d.prototype,"testName",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"domain",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"path",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"always",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"use",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"endTime",void 0),Object(s.a)([Object(u.c)({type:Function,default:function(){return null}})],d.prototype,"sample",void 0),Object(s.a)([Object(u.c)({type:Function,default:function(){return null}})],d.prototype,"pick",void 0);var h=d=Object(s.a)([Object(u.a)({name:"AB"})],d),p=n(7);function f(){Array.from(Nt.values()).forEach((function(e,t){function n(){return window.requestAnimationFrame((function(){e.dispatchEvent(new CustomEvent("hydration:visible")),!1===Ft&&(Ft=!0,document.dispatchEvent(new CustomEvent("hydration:firstHydrateRunDone")))}))}Ht.unobserve(e),window.requestIdleCallback?requestIdleCallback(n,{timeout:200}):setTimeout(n,1e3/60+450*t)})),Nt.clear()}var v,m=Object(p.a)(h,void 0,void 0,!1,(function(e){var t=n(523);t.__inject__&&t.__inject__(e)}),null,"2836581e").exports,b=n(387),y=n(388),g=n(389),_=n(390),O=n(384),w=n(391),k=n(392),j=n(393),C=n(394),S=n(395),T=n(396),E=n(397),A=n(398),I=n(399),x=n(400),L=n(401),D=n(402),$=n(403),P=n(404),R=n(405),N=n(406),F=n(407),H=n(408),M=n(409),B=n(410),U=n(385),q=n(411),z=n(412),G=n(413),V=n(414),W=n(415),J=n(416),Q=n(417),K=n(418),Z=n(419),X=n(420),Y=n(421),ee=n(422),te=n(423),ne=n(424),ae=n(425),oe=n(426),re=n(427),ie=n(428),ce=n(429),se=n(430),ue=n(431),le=n(432),de=n(433),he=n(434),pe=n(435),fe=n(436),ve=n(437),me=n(438),be=n(439),ye=n(440),ge=n(441),_e=n(442),Oe=n(443),we=n(444),ke=n(445),je=n(446),Ce=n(447),Se=n(448),Te=n(449),Ee=n(450),Ae=n(451),Ie=n(452),xe=n(453),Le=n(454),De=n(455),$e=n(456),Pe=n(457),Re=n(458),Ne=n(459),Fe=n(460),He=n(461),Me=n(462),Be=n(463),Ue=n(464),qe=n(465),ze=n(466),Ge=n(467),Ve=n(468),We=n(469),Je=n(470),Qe=n(471),Ke=n(472),Ze=n(473),Xe=n(474),Ye=n(475),et=n(476),tt=n(386),nt=n(477),at=n(478),ot=n(479),rt=n(480),it=n(481),ct=n(482),st=n(483),ut=n(484),lt=n(485),dt=n(486),ht=n(487),pt=n(488),ft=n(489),vt=n(490),mt=n(491),bt=n(492),yt=n(493),gt=n(494),_t=n(495),Ot=n(496),wt=n(497),kt=n(498),jt=n(499),Ct=n(500),St=n(501),Tt=n(502),Et=n(503),At=n(504),It=n(505),xt=n(506),Lt=n(507),Dt=n(508),$t=(t=n(509),l=n(510),s=n(511),u=n(512),d=n(513),p=n(514),n(9)),Pt=n(14),Rt=(n(72),n(30),n(34),n(347),n(12),n(23),n(24),"undefined"!=typeof window),Nt=(h=Rt&&window.Config&&"mobile"===Config.plataforma,h=Rt?"".concat(h?"10%":"0%"):"0px",new Set),Ft=!1,Ht="undefined"!=typeof IntersectionObserver?new IntersectionObserver((function(e,t){var n,a=Object(Pt.a)(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;o.isIntersecting||0<o.intersectionRatio?Nt.add(o.target):Nt.delete(o.target)}}catch(e){a.e(e)}finally{a.f()}}),{rootMargin:"".concat(h," 0px ").concat(h," 0px"),threshold:[0,1]}):null,Mt="undefined"!=typeof IntersectionObserver?new IntersectionObserver((function(e,t){var n,a=Object(Pt.a)(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;(o.isIntersecting||0<o.intersectionRatio)&&(o.target.dispatchEvent(new CustomEvent("hydration:visible")),t.unobserve(o.target))}}catch(e){a.e(e)}finally{a.f()}}),{rootMargin:"300% 0px 300% 0px",threshold:[0,1]}):null,Bt={resolved:!0},Ut={},qt={attrs:{"data-force-hydrate":!0}},zt=!1;Rt&&(document.addEventListener("hydration:appReady",(function(){zt=!0}),{capture:!0,once:!0,passive:!0}),v=null,window.addEventListener("scroll",(function(e){!0===zt&&(v&&clearTimeout(v),v=setTimeout(f,100))})));h={props:{on:[],onClick:Boolean,onHover:Boolean,appReady:Boolean,onInteraction:Boolean,whenVisible:Boolean,whenVisibleAd:Boolean,ssrOnly:Boolean,force:Boolean},data:function(){return{hydrated:!Rt||void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).TEST}},created:function(){if(this.ssrOnly)return!1;this.whenVisible||this.force||this.onClick||this.onHover||this.whenVisibleAd||(this.whenVisible=!0)},mounted:function(){var e=this,t=this.$el;if(t.nodeType===Node.ELEMENT_NODE){var n=(Array.isArray(this.on)?this.on:[this.on]).slice().filter((function(e){return"string"!=typeof e}));if(this.whenVisible||this.whenVisibleAd){n.push("hydration:visible");var a=this.whenVisibleAd?Mt:Ht;try{a.observe(t)}catch(t){}this.visible=function(){a&&a.unobserve(t)}}this.onClick&&n.push("click"),this.onHover&&n.push("mouseenter"),this.appReady&&(!1===zt?document.addEventListener("hydration:appReady",this.hydrate,{capture:!0,once:!0,passive:!0}):this.hydrate()),n.length&&(n.forEach((function(t){return e.$el.addEventListener(t,e.hydrate,{capture:!0,once:!0,passive:!0})})),this.off=function(){document.removeEventListener("hydration:appReady",e.hydrate),n.forEach((function(t){return e.$el.removeEventListener(t,e.hydrate)}))})}},beforeDestroy:function(){this.cleanup()},methods:{cleanup:function(){for(var e=0,t=["visible","off"];e<t.length;e++){var n=t[e];n in this&&(this[n](),delete this[n])}},hydrate:function(){this.hydrated=!0,this.cleanup(),this.$emit("componentElementHydrated",this.$el)}},render:function(e){var t,n=this,a=(t=n.$scopedSlots.default?n.$scopedSlots.default({hydrated:n.hydrated}):n.$slots.default,Array.isArray(t)?t[0]:t);return void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).TEST?a:((e=this.hydrated?a:e("div",Object($t.a)({},qt))).asyncFactory=this.hydrated?Bt:Ut,e.isComment=!this.hydrated,e)},watch:{force:{handler:function(e){e&&this.hydrate()},immediate:!0}}};var Gt={AB:m,Accordion:b.a,Api:y.a,BackToTop:g.a,Backgrounds:_.a,BlackBar:O.a,BorderColor:w.a,BorderWidth:k.a,Brand:j.a,ButtonHome:C.a,CardAd:S.a,CardBrandList:T.a,CardBrandSpecial:E.a,CardCarousel:A.a,CardColumn:I.a,CardGroup:x.a,CardGroupVertical:L.a,CardHeadlineBottom:D.a,CardHeadlineMain:$.a,CardHeadlineMainFootball:P.a,CardHoroscope:R.a,CardLive:N.a,CardLiveGrid:F.a,CardPoll:H.a,CardProducts:M.a,CardRow:B.a,CardScoreCarnival:U.a,CardScoreFootball:q.a,CardServices:z.a,CardTeams:G.a,CardTeamsLogged:V.a,CardTicket:W.a,CardTopic:J.a,CardVertical:Q.a,CardVideo:K.a,Carousel:Z.a,Colors:X.a,Comments:Y.a,Container:ee.a,ElementArea:te.a,Email:ne.a,ErrorHandler:ae.a,ErrorScreen:oe.a,ExchangeBar:re.a,ExchangeBarHeader:ie.a,ExchangeItem:ce.a,FollowSocial:se.a,FollowVideo:ue.a,Font:le.a,FontSize:de.a,FontWeight:he.a,Footer:pe.a,GuidelineBase:fe.a,HeaderCard:ve.a,HeaderDesktop:me.a,HeaderMobile:be.a,HeaderScore:ye.a,HeaderSection:ge.a,HeadlineAd:_e.a,HeadlineBigPhoto:Oe.a,HeadlineHorizontal:we.a,HeadlineHorizontalAd:ke.a,HeadlineHorizontalAvatar:je.a,HeadlineHorizontalBrand:Ce.a,HeadlineHorizontalLive:Se.a,HeadlineHorizontalSchedule:Te.a,HeadlineHorizontalSmall:Ee.a,HeadlineList:Ae.a,HeadlineMain:Ie.a,HeadlinePhoto:xe.a,HeadlinePhotoAd:Le.a,HeadlinePhotoBrand:De.a,HeadlineStandard:$e.a,HeadlineSub:Pe.a,HeadlineSubLive:Re.a,Home:Ne.a,Icon:Fe.a,LetterSpacing:He.a,LineHeight:Me.a,LivePlayer:Be.a,LoadTest:Ue.a,LoginGate:qe.a,Lottery:ze.a,Manifest:Ge.a,Media:Ve.a,MediaQuery:We.a,MenuDesktop:Je.a,MenuMobile:Qe.a,MostRead:Ke.a,Noop:Ze.a,OfferAd:Xe.a,Opacity:Ye.a,OrderSections:et.a,Page:tt.a,PhotoCredit:nt.a,Photograph:at.a,PollGate:ot.a,ProgressIndicator:rt.a,PublisherPreview:it.a,Radius:ct.a,RelatedList:st.a,ReportErrorForm:ut.a,ScreenOverlay:lt.a,SearchHeader:dt.a,Section:ht.a,SectionGrid:pt.a,Shadow:ft.a,ShowcaseColumns:vt.a,ShowcaseDefault:mt.a,ShowcaseItens:bt.a,ShowcaseProduct:yt.a,Sizing:gt.a,Slider:_t.a,Spacing:Ot.a,Suggest:wt.a,SvgIcon:kt.a,TeamBadge:jt.a,TextColor:Ct.a,Time:St.a,TitleAd:Tt.a,TitleBrand:Et.a,Touch:At.a,Uolicons:It.a,UserProfile:xt.a,VideoPlayer:Lt.a,WeatherBar:Dt.a,WhatWasHighlight:t.a,WidgetScoreFootball:l.a,Xml:s.a,XmlFeedRss:u.a,XmlOfferProduct:d.a,ZIndex:p.a,Hydrate:h},Vt=n(27),Wt=n(50),Jt=n(26),Qt=n(10),Kt=(Ot=n(8),n.n(Ot)),Zt=(n(355),n(21),n(35),n(36),n(748),n(52),n(242)),Xt=(wt=n(47),n.n(wt));a.a.use(Zt.a);var Yt=Object.values(Gt).filter((function(e){return!0===e.removeInApp})).map((function(e){return e.name})),en=function(e,t,n){return new Promise(function(){var a=Object(Qt.a)(Kt.a.mark((function a(o,r){var i,c,s,u;return Kt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:i=t.$options.name,c=setTimeout((function(){o({error:new Error('The execution of component "'.concat(i,'" was interrupted by timeout after the "').concat(15,' seconds" timeout was reached.'))})}),15e3),s=Xt()(!0,t._data.default||{},((t._data.config||{}).components||{})[i]||{}),t._data.config.rm_require="uolnoticias"===t.tools.request.getParams("uol_app")?Object(Jt.a)(new Set(Object(Jt.a)(Yt).concat(t._data.config.rm_require||[]))):t._data.config.rm_require||[],u=t._data.config.rm_require,t.data=Xt()(!0,t.data||{},s);try{e((function(e){function a(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return t.$options.render=function(){return null},n&&e&&(e.message='Component "'.concat(i,'" had its execution aborted by "dispatch". Reason: "').concat(e.message,'"')),(n=t.tools.log.error)instanceof Function&&e&&n({component:i,error:e}),!0===t.$options.propsData.__initiator__?r(e):o()}if(clearTimeout(c),e=e||{},t._data.config.allowedToGetState||(t._data.config.allowedToGetState=[]),0<Object.keys(e).length&&(t._data.config.allowedToGetState.includes(i)||t._data.config.allowedToGetState.push(i)),e instanceof Error)return a(e,!0);var l,d=[];for(l in(t._data.config||{}).components||{}){var h=t._data.config.components[l];Array.isArray(h.rm_require)&&h.rm_require.includes(i)&&d.push(l)}var p=[];!function e(t){t.$options.name&&p.push(t.$options.name),t.$parent&&e(t.$parent)}(t.$parent);for(var f=!1,v=0,m=p;v<m.length;v++){var b=m[v];d.includes(b)&&(f=!0)}if(u.includes(i)||!0===f)return t.$options.render=function(){return null},["beforeCreate","created","mounted"].forEach((function(e){return t.$options[e]=[]})),t.$store.dispatch("setComponentWithServerError",{id:t.getId()}),a(new Error("Component rejected by rm_require"));var y,g=[],_=Object(Pt.a)((t.__created__hook||[]).slice(1));try{for(_.s();!(y=_.n()).done;)!function(){var e=y.value;g.push(new Promise((function(n,a){try{e.apply(t),n(void 0)}catch(n){a(n)}})))}()}catch(l){_.e(l)}finally{_.f()}Promise.all(g).then((function(){var a=t.__state_alias__||t._data.__state_alias__||t.$options.__id__,r=Xt()(!0,s,e);n("setDispatchData",{id:a,item:r}),t.$store.state.__general__.config||n("setConfig",(t._data||{}).config||{}),t.data=t.$store.state.items[a]||null,o(r)})).catch((function(e){return a(e)}))}))}catch(a){clearTimeout(c),r(a)}case 8:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}())};n(132),n(64),n(16),n(63);var tn=function e(){Object(o.a)(this,e)},nn="both",an="front",on="back",rn=(jt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).scope=nn,e}return n}(kt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).tools=new tn,e}return n}(tn)),Ct=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).scope=an,e}return Object(r.a)(n,[{key:"inApp",value:function(){return/uol_app=uolnoticias/.test(window.location.search)}}]),n}(kt),St=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).scope=on,e}return n}(kt),Tt=n(86),n.n(Tt));
/*!
 * VUELAND - AbTool Tool
 * 2020 fjsilva <fjsilva@uolinc.com>
 */Et=n(380);rn.a.extend(n.n(Et).a);var cn,sn=n(53),un=(At=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).chosen="default",e}return Object(r.a)(n,[{key:"mount",value:function(e){var t=this,n=["testName","endTime","domain","path","draw","tag","use","sample","pick","slots","data"];function a(){if(t.sample instanceof Function)try{t.sample(t.chosen)}catch(e){console.error(e)}}return Xt()(!0,this,Object.keys(e).filter((function(e){return n.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})),this.isValidTime()?this.use?(this.chosen=this.use,a(),this.use):(this.checkCookieIntegrity(),this.chosen=this.getCandidate(),a(),this.chosen):"default"}},{key:"isValidTime",value:function(){function e(){sn.remove(t.cookieName)}var t=this;if(!(a=rn()(this.endTime,"YYYY-MM-DD HH[:]mm")).isValid())return console.error('Invalid test date: "'.concat(this.testName,'"')),e(),!1;var n=rn.a.duration(a.diff(rn()(new Date))),a=n.asHours();return this.expires=n.asDays(),0<=a||(console.warn('[VUELAND-AB] TestAB "'.concat(this.testName,'" has expired!')),e(),!1)}},{key:"checkCookieIntegrity",value:function(){var e=(n=this.parseCookieValue()).expires,t=n.domain,n=n.path;(e&&e!==this.endTime||t&&t!==this.domain&&t!=this.data.domain||n&&n!=this.path&&n!=this.data.path)&&sn.remove(this.cookieName)}},{key:"getCandidate",value:function(){var e=this.parseCookieValue().value;return e&&this.slots.includes(e)?e:this.runPick()}},{key:"cookieName",get:function(){return"vueland-ab-".concat(this.testName)}},{key:"runPick",value:function(){var e=this.firePick(this.slots,this.draw);if(this.mountCookie(e),this.pick instanceof Function)try{this.pick(e)}catch(e){console.error(e)}return e}},{key:"firePick",value:function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=e,a=[],o=0,r=0;r<n.length;r++){var i=n[r],c=t[i];c&&(a.push([i,o+c]),o+=c)}if(o)for(var s=Math.floor(Math.random()*o),u=0;u<a.length;u++)if(a[u][1]>s)return a[u][0];return n[Math.floor(Math.random()*n.length)]}},{key:"mountCookie",value:function(e){var t=this.domain||this.data.domain,n=this.path||this.data.path,a=this.endTime;n="".concat(e,"|").concat(t,"|").concat(n,"|").concat(a),a={expires:this.expires?+this.expires:7};return this.path&&(a.path=this.path),sn.set(this.cookieName,n,a),this.parseCookieValue()}},{key:"parseCookieValue",value:function(){var e=sn.get(this.cookieName),t=(e||"").split("|");return{value:(t=Object(Vt.a)(t,4))[0],domain:t[1],path:t[2],expires:t[3],raw:e}}}]),n}(Ct),It=function(e){Object(i.a)(a,e);var t,n=Object(c.a)(a);function a(){return Object(o.a)(this,a),n.apply(this,arguments)}return Object(r.a)(a,[{key:"secureXSSCallback",value:function(e){return e.replace(/[^a-z0-9_\-\/.]+/gi,"").replace(/eval|Function/g,"")}},{key:"jsonp",value:(t=Object(Qt.a)(Kt.a.mark((function e(t,n,a){var o=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var i=n,c="jsonp_callback_".concat(a),s=document.createElement("script");s.src="".concat(t+(0<=t.indexOf("?")?"&":"?")+i,"=").concat(o.secureXSSCallback(c)),s.onerror=r,document.body.appendChild(s);var u=window.setTimeout((function(){window[c]=function(){console.debug("Response of ".concat(c," returned after timeout"))},r()}),15e3);window[c]=function(t){window.clearTimeout(u),e(t),delete window[c],document.body.removeChild(s)}})));case 1:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})},{key:"handlerObject",value:function(e,t,n,a){var o={code:e};return{200:!1,201:!1,400:!0,401:!0,404:!0,500:!0}[e]&&(o.error=!0),t&&(o.data=t),n&&(t="string"==typeof n?[{message:n}]:[],Array.isArray(n)&&(t=n.map((function(t){var n=t;return t.code&&""!==t.code||(n.code=e),t}))),o.messages=t),a instanceof Function?a(o):o}}]),a}(Ct),xt=(n(42),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).blocklist=new Set,e}return Object(r.a)(n,[{key:"getLinks",value:function(e){var t=this;document.querySelectorAll(e||".hyperlink").forEach((function(e){t.blocklist.add(e.getAttribute("href")||"")}))}},{key:"filterHeadlines",value:function(e){var t=this;return e.filter((function(e){return!t.blocklist.has(e.link)}))}}]),n}(Ct)),n(84),n(33),new Map),ln=new(Lt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getSingle",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return!0===un.has(e)&&!1===t||window.location.search.substr(1).split("&").map((function(e){return e.split("=").map((function(e){return decodeURIComponent(e)}))})).forEach((function(e){e=(t=Object(Vt.a)(e,2))[0];var t=t[1];return un.set(e,t)})),un.get(e)}}]),n}(Ct)),dn=(Dt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).container=document.querySelector("head"),e}return Object(r.a)(n,[{key:"getLastChartBeatTest",value:function(e){return e.length?e.reduce((function(e,t){return t.imageTest?t.key:e}),""):[]}},{key:"load",value:function(){var e;new RegExp("preview").test(null===(e=null===(e=this.config)||void 0===e?void 0:e.__req__)||void 0===e?void 0:e.link)||(this.setCbConfig(),this.setHeadLink(),this.loadConfig())}},{key:"setCbConfig",value:function(){window._sf_async_config=window._sf_async_config||{},Object.assign(window._sf_async_config,{uid:61085,domain:this.getDomain(),flickerControl:!1,useCanonical:!0,articleBlockSelector:"article"}),window._sf_startpt=(new Date).getTime()}},{key:"getDomain",value:function(){return ln.getSingle("chartbeatTest")?"test.uol.com.br":"uol.com.br"}},{key:"setHeadLink",value:function(){var e=document.createElement("script");e.src="//static.chartbeat.com/js/chartbeat_mab_image.js",e.async=!0,this.insertScript(e)}},{key:"loadConfig",value:function(){window._sf_async_config=window._sf_async_config||{},window._sf_async_config.sections="Total UOL Conteúdo,UOL - Home",window._sf_async_config.authors="UOL",window._sf_async_config.autoDetect=!1;var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="//static.chartbeat.com/js/chartbeat_video.js",this.insertScript(e),window._cbv=window._cbv||(window._cbv=[])}},{key:"insertScript",value:function(e){null!==this.container?this.container.appendChild(e):console.error("ChartbeatLoaderTool: failed to insert chartbeat script: container is null")}}]),n}(Ct),t=n(53),n.n(t)),hn=(l=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getCookie",value:function(e){return dn.a.get(e)||""}},{key:"getAllCookies",value:function(){return dn.a.get()}},{key:"setCookie",value:function(e,t,n){dn.a.set(e,t,n)}},{key:"removeCookie",value:function(e){dn.a.remove(e)}}]),n}(Ct),s=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),e=t.call(this),window.location.search.includes("debug")?e.isDebug=!0:e.isDebug=!1,e}return Object(r.a)(n,[{key:"runOnDebugMode",value:function(e){this.isDebug&&e()}},{key:"logMessage",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.runOnDebugMode((function(){var e;(e=console).log.apply(e,t)}))}},{key:"logError",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.runOnDebugMode((function(){var e;(e=console).error.apply(e,t)}))}}]),n}(Ct),new It),pn=(u=function(e){Object(i.a)(l,e);var t,n,a,s,u=Object(c.a)(l);function l(){var e;return Object(o.a)(this,l),(e=u.apply(this,arguments)).API_URL="https://geoip.home.uol.com/index.jsonp",e.COOKIE_NAME="geoloc",e.STATES_CODES={"01":"AC","02":"AL","03":"AP","04":"AM","05":"BA","06":"CE","07":"DF","08":"ES",11:"MS",13:"MA",14:"MT",15:"MG",16:"PA",17:"PB",18:"PR",20:"PI",21:"RJ",22:"RN",23:"RS",24:"RO",25:"RR",26:"SC",27:"SP",28:"SE",29:"GO",30:"PE",31:"TO"},e.CODES_STATES={AC:"01",AL:"02",AP:"03",AM:"04",BA:"05",CE:"06",DF:"07",ES:"08",MS:"11",MA:"13",MT:"14",MG:"15",PA:"16",PB:"17",PR:"18",PI:"20",RJ:"21",RN:"22",RS:"23",RO:"24",RR:"25",SC:"26",SP:"27",SE:"28",GO:"29",PE:"30",TO:"31"},e.USER_DEFINITION=1,e.API_DEFINITION=2,e.API_FALLBACK_DEFINITION=3,e.DEFAULT_LOCATION=["SA","BR","27","São Paulo"],e.defaultCokie="",e.geoLocation={},e}return Object(r.a)(l,[{key:"normalize",value:function(e){return{continent:e[0],country:e[1],state:e[4],city:e[3]}}},{key:"register",value:function(e,t){var n;e=e;switch(t){case this.USER_DEFINITION:n=365;break;case this.API_FALLBACK_DEFINITION:n=1;break;case this.API_DEFINITION:default:n=5}(e=""===(e="BR"!==(e=e instanceof Array==0?[]:e)[1]?this.DEFAULT_LOCATION:e)[2]||""===e[3]?this.DEFAULT_LOCATION:e).push(this.STATES_CODES[e[2]]),this.geoLocation=this.normalize(e),t={expires:n,domain:".uol.com.br"},this.setCookie(this.COOKIE_NAME,e.join(","),t)}},{key:"getCookie",value:function(e){var t=new RegExp("".concat(e,"="),"g");e=new RegExp(".*?".concat(e,"=(.*?)(;.*?$|$)"),"g");return document.cookie.match(t)?(e=document.cookie.replace(e,"$1"),unescape(e)):null}},{key:"setCookie",value:function(e,t,n){var a=escape(t);t=new Date;n.expires&&t.setDate(t.getDate()+n.expires),n={expires:n.expires?"; expires=".concat(t.toUTCString()):"",domain:n.domain?"domain=".concat(n.domain):""},document.cookie="".concat(e,"=").concat(a).concat(n.expires,"; path=/; ").concat(n.domain,"; SameSite='Strict'")}},{key:"removeCookie",value:function(e){dn.a.remove(e)}},{key:"apiCallback",value:function(e){this.register(e,this.API_DEFINITION)}},{key:"fallback",value:function(){this.register(this.DEFAULT_LOCATION,this.API_FALLBACK_DEFINITION)}},{key:"invalidPathError",value:function(e){throw new Error(e)}},{key:"jsonp",value:(s=Object(Qt.a)(Kt.a.mark((function e(){var t;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,hn.jsonp(this.API_URL,"callback","geoloc");case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"requestGeoCod",value:(a=Object(Qt.a)(Kt.a.mark((function e(){var t,n,a=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){return e&&"object"===Object(Wt.a)(e)?(a.apiCallback(e),e):{}},n=function(){return a.fallback(),a.getCookie("geoloc")},e.next=4,this.jsonp().then(t).catch(n);case 4:return n=e.sent,e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"change",value:function(e,t){return!(!e||!t)&&(e=e.toUpperCase(),this.register(["SA","BR",this.CODES_STATES[e],t],this.USER_DEFINITION),!0)}},{key:"getNewGeoCod",value:(n=Object(Qt.a)(Kt.a.mark((function e(){var t;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.requestGeoCod();case 3:return t=e.sent,e.abrupt("return",t);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return n.apply(this,arguments)})},{key:"init",value:(t=Object(Qt.a)(Kt.a.mark((function e(){var t=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getCookie("geoloc");case 2:return this.defaultCokie=e.sent,e.abrupt("return",new Promise((function(e,n){function a(){t.geoLocation||n(),e(t.geoLocation)}function o(e){n(e)}""===t.defaultCokie?t.requestGeoCod().then(a).catch(o):("string"==typeof t.defaultCokie&&(t.geoLocation=t.normalize(unescape(t.defaultCokie).split(","))),t.geoLocation.city?a():t.requestGeoCod().then(a).catch(o))})));case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),l}(Ct),d=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"hasWebp",value:function(e){return/_\d+x\d+\.(jpg|jpeg|png)/.test(e)}},{key:"getWebpSrc",value:function(e){var t=e,n="";return!t.includes("?")||null!=(e=/^(.*)\?(.*)$/.exec(e))&&e.length&&(t=e[1],n=e[2]?"?".concat(e[2]):""),{src:"".concat(t,".webp").concat(n),type:"image/webp"}}}]),n}(jt),p=(n(133),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e,a;return Object(o.a)(this,n),(e=t.call(this)).tags=new WeakMap,e.intersectionObserver=null,"IntersectionObserver"in window&&(a=Math.round(.5*window.innerHeight),e.intersectionObserver=new IntersectionObserver((function(t,n){t.forEach((function(t){var a;0<t.intersectionRatio&&(a=t.target,"function"==typeof(t=e.tags.get(a))&&t(),e.tags.delete(a),n.unobserve(a))}))}),{rootMargin:"".concat(a,"px 0px ").concat(a,"px 0px")})),e}return Object(r.a)(n,[{key:"observe",value:function(e,t){null===this.intersectionObserver?t():(this.tags.set(e,t),this.intersectionObserver.observe(e))}}]),n}(Ct)),h=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createItem",value:function(e,t){localStorage.setItem(e,t)}},{key:"readValue",value:function(e){return localStorage.getItem(e)||""}},{key:"removeItem",value:function(e){localStorage.removeItem(e)}}]),n}(Ct),Ot=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.call(this)).isDebug=!1,window.location.search.includes("debugGA")&&(e.isDebug=!0),e}return Object(r.a)(n,[{key:"send",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"click",n=Object($t.a)({},e);null!==(e=null===(e=window.universal_variable)||void 0===e?void 0:e.aud)&&void 0!==e&&e.userFidelity&&(n.userFidelity=window.universal_variable.aud.userFidelity),this.isDebug&&console.table(n),window.uolAnalytics&&window.uolAnalytics(t,n)}},{key:"interaction",value:function(e,t){(e=Object($t.a)({},e)).label=e.label||"content",e.action="interaction-".concat(t),this.send(e)}}]),n}(Ct),wt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).className="",e.refreshModuleName="OverlayTool",e}return Object(r.a)(n,[{key:"toogleClass",get:function(){return this.className}},{key:"setOverlay",value:function(e){!e&&this.hideFunction?(this.hideFunction(),window.refresh.start(this.refreshModuleName)):this.showFunction&&(this.showFunction(),window.refresh.pause(this.refreshModuleName))}},{key:"setOverlayClass",value:function(e){this.className=e}},{key:"onOverlayShow",value:function(e){this.showFunction=e}},{key:"onOverlayHide",value:function(e){this.hideFunction=e}}]),n}(Ct),n(54)),fn=(kt=(n(56),n(71),n(69),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e,a;return Object(o.a)(this,n),(e=t.call(this)).timeToReload=window.TIME_TO_RELOAD?Number(window.TIME_TO_RELOAD):4.1667*60*1e3,e.startTime=0,e.pausedQueue=[],e.lastUpdate=new Date,!0===e.inApp()&&(e.timeToReload=6e5),window.location.search.includes("timeToReload")&&(a=new URLSearchParams(window.location.search),e.timeToReload=Number(a.getAll("timeToReload"))),window.TIME_TO_RELOAD=e.timeToReload,window.refresh={start:e.start.bind(Object(pn.a)(e)),pause:e.pause.bind(Object(pn.a)(e)),isPaused:e.isPaused.bind(Object(pn.a)(e)),setLastUpdate:e.setLastUpdate.bind(Object(pn.a)(e)),getLastUpdate:e.getLastUpdate.bind(Object(pn.a)(e)),doUpdated:e.doUpdated.bind(Object(pn.a)(e))},window.addEventListener("load",(function(){e.start("home")})),e}return Object(r.a)(n,[{key:"setLastUpdate",value:function(e){this.lastUpdate=e}},{key:"getLastUpdate",value:function(){return this.lastUpdate}},{key:"hasStarted",value:function(){return void 0===this.Timer}},{key:"isPaused",value:function(){return!!this.pausedQueue.length}},{key:"getTimeToReload",value:function(){return this.timeToReload<1e4?1e4:this.timeToReload}},{key:"clearTimer",value:function(){this.Timer&&(clearTimeout(this.Timer),this.Timer=void 0)}},{key:"addToQueue",value:function(e){this.pausedQueue.includes(e)||this.pausedQueue.push(e)}},{key:"removeFromQueue",value:function(e){this.pausedQueue.includes(e)&&this.pausedQueue.splice(this.pausedQueue.indexOf(e),1)}},{key:"reload",value:function(){this.isPaused()||(window.navigator.userAgent.match(/msie|rv:/)?window.history.go(0):window.location.reload())}},{key:"doUpdated",value:function(){this.updateSections&&"function"==typeof this.updateSections&&this.updateSections(0<arguments.length&&void 0!==arguments[0]&&arguments[0])}},{key:"noop",value:function(){}},{key:"start",value:function(e){e&&(this.removeFromQueue(e),!this.isPaused()&&this.hasStarted()&&(this.startTime=Date.now(),this.timeToReload=this.getTimeToReload(),this.Timer=setTimeout(this.reload.bind(this),this.timeToReload)))}},{key:"pause",value:function(e){e&&(this.isPaused()||(this.timeToReload-=Date.now()-this.startTime),this.addToQueue(e),this.clearTimer())}}]),n}(Ct)),function(){function e(t){Object(o.a)(this,e),this.connection=t}return Object(r.a)(e,[{key:"onError",value:function(e){this.connection.on("error",e)}},{key:"onClose",value:function(e){this.connection.on("close",e)}},{key:"onMessage",value:function(e){this.connection.on("message",e)}},{key:"getData",value:function(){return this.connection.data()}},{key:"close",value:function(){this.connection.close()}}]),e}()),vn=(Tt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).socketConfig=null,e.distName="usocket",e}return Object(r.a)(n,[{key:"doConnection",value:function(e){return this.socketConfig&&window.usocket.config(this.socketConfig),new fn(window.usocket.connect(e))}},{key:"connect",value:function(e){var t=this;return new Promise((function(n){window.usocket?n(t.doConnection(e)):document.addEventListener("distLoaded:usocket",(function(){n(t.doConnection(e))}))}))}}]),n}(jt),Et=(n(128),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).alphabet=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.charMap={a:"A|Á|Ă|Ắ|Ặ|Ằ|Ẳ|Ẵ|Ǎ|Â|Ấ|Ậ|Ầ|Ẩ|Ẫ|Ä|Ǟ|Ȧ|Ǡ|Ạ|Ȁ|À|Ả|Ȃ|Ā|Ą|Å|Ǻ|Ḁ|Ⱥ|Ã|Ɐ|ᴀ|Α|Ά|А|á|ă|ắ|ặ|ằ|ẳ|ẵ|ǎ|â|ấ|ậ|ầ|ẩ|ẫ|ä|ǟ|ȧ|ǡ|ạ|ȁ|à|ả|ȃ|ā|ą|ᶏ|ẚ|å|ǻ|ḁ|ⱥ|ã|ɐ|ₐ|α|ά|а|ª",b:"B|Ḃ|Ḅ|Ɓ|Ḇ|Ƀ|Ƃ|ʙ|ᴃ|Β|Б|ḃ|ḅ|ɓ|ḇ|ᵬ|ᶀ|ƀ|ƃ|β|б",c:"C|Ć|Č|Ç|Ḉ|Ĉ|Ċ|Ƈ|Ȼ|Ꜿ|ᴄ|Ц|ć|č|ç|ḉ|ĉ|ɕ|ċ|ƈ|ȼ|ↄ|ꜿ|ц",d:"D|Ď|Ḑ|Ḓ|Ḋ|Ḍ|Ɗ|Ḏ|ǲ|ǅ|Đ|Ƌ|Ꝺ|ᴅ|Ð|Δ|Д|ď|ḑ|ḓ|ȡ|ḋ|ḍ|ɗ|ᶑ|ḏ|ᵭ|ᶁ|đ|ɖ|ƌ|ꝺ|ð|δ|д|∂",e:"E|É|Ĕ|Ě|Ȩ|Ḝ|Ê|Ế|Ệ|Ề|Ể|Ễ|Ḙ|Ë|Ė|Ẹ|Ȅ|È|Ẻ|Ȇ|Ē|Ḗ|Ḕ|Ɇ|Ẽ|Ḛ|Ɛ|Ǝ|ᴇ|ⱻ|Ε|Έ|Е|Э|Ę|é|ĕ|ě|ȩ|ḝ|ê|ế|ệ|ề|ể|ễ|ḙ|ë|ė|ẹ|ȅ|è|ẻ|ȇ|ē|ḗ|ḕ|ⱸ|ę|ᶒ|ɇ|ẽ|ḛ|ɛ|ᶓ|ɘ|ǝ|ₑ|ε|έ|е|э",f:"F|Ḟ|Ƒ|Ꝼ|ꜰ|Φ|Ф|ḟ|ƒ|ᵮ|ᶂ|ꝼ|φ|ф",g:"G|Ǵ|Ğ|Ǧ|Ģ|Ĝ|Ġ|Ɠ|Ḡ|Ǥ|Ᵹ|ɢ|ʛ|Γ|Г|Ґ|ǵ|ğ|ǧ|ģ|ĝ|ġ|ɠ|ḡ|ᶃ|ǥ|ᵹ|ɡ|ᵷ|γ|г|ґ",h:"H|Ḫ|Ȟ|Ḩ|Ĥ|Ⱨ|Ḧ|Ḣ|Ḥ|Ħ|ʜ|Η|Ή|Х|ḫ|ȟ|ḩ|ĥ|ⱨ|ḧ|ḣ|ḥ|ɦ|ẖ|ħ|ɥ|ʮ|ʯ|η|ή|х",i:"I|Í|Ĭ|Ǐ|Î|Ï|Ḯ|İ|Ị|Ȉ|Ì|Ỉ|Ȋ|Į|Ɨ|Ĩ|Ḭ|ɪ|Ι|Ί|Ϊ|И|І|Ī|ı|í|ĭ|ǐ|î|ï|ḯ|ị|ȉ|ì|ỉ|ȋ|ī|į|ᶖ|ɨ|ĩ|ḭ|ᴉ|ᵢ|ι|ί|ϊ|ΐ|и|і",j:"J|Ĵ|Ɉ|ᴊ|Й|ȷ|ɟ|ʄ|ǰ|ĵ|ʝ|ɉ|ⱼ|й",k:"K|Ḱ|Ǩ|Ⱪ|Ꝃ|Ḳ|Ƙ|Ḵ|Ꝁ|Ꝅ|ᴋ|Κ|К|Ķ|ḱ|ǩ|ķ|ⱪ|ꝃ|ḳ|ƙ|ḵ|ᶄ|ꝁ|ꝅ|ʞ|κ|к",l:"L|Ĺ|Ƚ|Ľ|Ļ|Ḽ|Ḷ|Ḹ|Ⱡ|Ꝉ|Ḻ|Ŀ|Ɫ|ǈ|Ł|Ꞁ|ʟ|ᴌ|Λ|Л|ĺ|ƚ|ɬ|ľ|ļ|ḽ|ȴ|ḷ|ḹ|ⱡ|ꝉ|ḻ|ŀ|ɫ|ᶅ|ɭ|ł|ꞁ|λ|л",m:"M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|ᴍ|Μ|М|ḿ|ṁ|ṃ|ɱ|ᵯ|ᶆ|ɯ|ɰ|μ|м",n:"N|Ń|Ň|Ņ|Ṋ|Ṅ|Ṇ|Ǹ|Ɲ|Ṉ|Ƞ|ǋ|Ñ|ɴ|ᴎ|Ν|Н|ń|ň|ņ|ṋ|ȵ|ṅ|ṇ|ǹ|ɲ|ṉ|ƞ|ᵰ|ᶇ|ɳ|ñ|ν|н",o:"O|Ó|Ŏ|Ǒ|Ô|Ố|Ộ|Ồ|Ổ|Ỗ|Ö|Ȫ|Ȯ|Ȱ|Ọ|Ő|Ȍ|Ò|Ỏ|Ơ|Ớ|Ợ|Ờ|Ở|Ỡ|Ȏ|Ꝋ|Ꝍ|Ō|Ṓ|Ṑ|Ɵ|Ǫ|Ǭ|Ø|Ǿ|Õ|Ṍ|Ṏ|Ȭ|Ɔ|ᴏ|ᴐ|Ο|Ό|О|ɵ|ó|ŏ|ǒ|ô|ố|ộ|ồ|ổ|ỗ|ö|ȫ|ȯ|ȱ|ọ|ő|ȍ|ò|ỏ|ơ|ớ|ợ|ờ|ở|ỡ|ȏ|ꝋ|ꝍ|ⱺ|ō|ṓ|ṑ|ǫ|ǭ|ø|ǿ|õ|ṍ|ṏ|ȭ|ɔ|ᶗ|ᴑ|ᴓ|ₒ|ο|ό|о|˚|º",p:"P|Ṕ|Ṗ|Ꝓ|Ƥ|Ꝕ|Ᵽ|Ꝑ|ᴘ|Π|П|ṕ|ṗ|ꝓ|ƥ|ᵱ|ᶈ|ꝕ|ᵽ|ꝑ|π|п",q:"Q|Ꝙ|Ꝗ|ꝙ|ʠ|ɋ|ꝗ",r:"R|Ꞃ|Ŕ|Ř|Ŗ|Ṙ|Ṛ|Ṝ|Ȑ|Ȓ|Ṟ|Ɍ|Ɽ|ʁ|ʀ|ᴙ|ᴚ|Ρ|Р|ꞃ|ŕ|ř|ŗ|ṙ|ṛ|ṝ|ȑ|ɾ|ᵳ|ȓ|ṟ|ɼ|ᵲ|ᶉ|ɍ|ɽ|ɿ|ɹ|ɻ|ɺ|ⱹ|ᵣ|ρ|р",s:"S|Ꞅ|Ś|Ṥ|Š|Ṧ|Ş|Ŝ|Ș|Ṡ|Ṣ|Ṩ|ꜱ|Σ|С|ꞅ|ſ|ẜ|ẛ|ẝ|ś|ṥ|š|ṧ|ş|ŝ|ș|ṡ|ṣ|ṩ|ʂ|ᵴ|ᶊ|ȿ|σ|ς|с",t:"T|Ꞇ|Ť|Ţ|Ṱ|Ț|Ⱦ|Ṫ|Ṭ|Ƭ|Ṯ|Ʈ|Ŧ|ᴛ|Τ|Т|ꞇ|ť|ţ|ṱ|ț|ȶ|ẗ|ⱦ|ṫ|ṭ|ƭ|ṯ|ᵵ|ƫ|ʈ|ŧ|ʇ|τ|т",u:"U|Ú|Ŭ|Ǔ|Û|Ṷ|Ü|Ǘ|Ǚ|Ǜ|Ǖ|Ṳ|Ụ|Ű|Ȕ|Ù|Ủ|Ư|Ứ|Ự|Ừ|Ử|Ữ|Ȗ|Ṻ|Ų|Ů|Ũ|Ṹ|Ṵ|ᴜ|У|Ъ|Ū|ᴝ|ú|ŭ|ǔ|û|ṷ|ü|ǘ|ǚ|ǜ|ǖ|ṳ|ụ|ű|ȕ|ù|ủ|ư|ứ|ự|ừ|ử|ữ|ȗ|ū|ṻ|ų|ᶙ|ů|ũ|ṹ|ṵ|ᵤ|у|ъ",v:"V|Ʌ|Ꝟ|Ṿ|Ʋ|Ṽ|ᴠ|В|ʌ|ⱴ|ꝟ|ṿ|ʋ|ᶌ|ⱱ|ṽ|ᵥ|в",x:"X|Ẍ|Ẋ|Χ|ẍ|ẋ|ᶍ|ₓ|χ",w:"W|Ẃ|Ŵ|Ẅ|Ẇ|Ẉ|Ẁ|Ⱳ|ᴡ|Ω|Ώ|ʍ|ẃ|ŵ|ẅ|ẇ|ẉ|ẁ|ⱳ|ẘ|ω|ώ",y:"Y|Ý|Ŷ|Ÿ|Ẏ|Ỵ|Ỳ|Ƴ|Ỷ|Ỿ|Ȳ|Ɏ|Ỹ|ʏ|Υ|Ύ|Ϋ|Ы|ʎ|ý|ŷ|ÿ|ẏ|ỵ|ỳ|ƴ|ỷ|ỿ|ȳ|ẙ|ɏ|ỹ|υ|ύ|ΰ|ϋ|ы",z:"Z|Ź|Ž|Ẑ|Ⱬ|Ż|Ẓ|Ȥ|Ẕ|Ƶ|ᴢ|Ζ|З|ź|ž|ẑ|ʑ|ⱬ|ż|ẓ|ȥ|ẕ|ᵶ|ᶎ|ʐ|ƶ|ɀ|ζ|з","(c)":"©","(r)":"®",tm:"™",sm:"℠","~":"˜","...":"…",'"':"“|”","":"#|‘|’|'"},e}return Object(r.a)(n,[{key:"toSlug",value:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"-";for(t in this.charMap)e=e.replace(new RegExp(this.charMap[t],"g"),t).trim();return e.replace(/\s+/g,n).replace(/-{2,}/g,n)}},{key:"toSlugPublicador",value:function(e){for(var t in this.charMap)e=e.replace(new RegExp(this.charMap[t],"g"),t);return e.replace(/[^a-z0-9 /&.+(-]+/g,"").replace(/\s+/g,"-").replace(/[&.+(]/g,"")}},{key:"parseMustache",value:function(e,t){for(;e.match(/\{\{\w+\}\}/);)e=e.replace(/\{\{(\w+)\}\}/,(function(e,n){return t[n]}));return e}},{key:"capFirstLetter",value:function(e){return e.split(" ").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})).join(" ")}},{key:"limitChar",value:function(e,t,n,a){return(e=a?e.replace(/<\/?[a-z]?([^>]+)>?/g,""):e).substring(0,t||e.length).trim()+(e.length>t&&n?n:"")}},{key:"alfabetic",value:function(e,t){return t?this.alphabet:(e=(e||"").toLowerCase(),this.alphabet.includes(e)?e:"a")}},{key:"removeSymbols",value:function(e){return e.replace(/["#$&'()*+,-./:;[\\\]_`{|}~]/g,"")}},{key:"emailValidator",value:function(e){if(e){var t=e.split("@"),n=(t=Object(Vt.a)(t,2))[0],a=t[1];if(n&&a&&n.length<=64&&a.length<=255&&a.split(".").some((function(e){return e.length<=63})))return/^[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/.test(e)}return!1}}]),n}(jt)),n(65)),mn=(t=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getTokens",value:function(){var e;return{uol:vn}[null===(e=this.config)||void 0===e?void 0:e.color]||{}}},{key:"getStationColor",value:function(e){var t=this.getTokens(),n="TOKEN_COLOR_".concat(e.replace("-","_").toUpperCase(),"_P_1");return t[t[n="esporte-p-2"===e?"TOKEN_COLOR_ESPORTE_P_2":n]?n:"TOKEN_COLOR_HOME_P_1"]}}]),n}(jt),St=function(e){Object(i.a)(a,e);var t,n=Object(c.a)(a);function a(){var e;return Object(o.a)(this,a),(e=n.apply(this,arguments)).API_URL="https://search.uol.com.br/?format=jsonp",e.errorReturn={message:"Não foi possível acessar a api de cidades neste momento, tente mais tarde",code:500},e}return Object(r.a)(a,[{key:"normalize",value:function(e){var t=[];return e&&e.docs&&e.docs.forEach((function(e){e={normalized:e["municipio-normalizado"],name:e.municipio,uf:e.uf},t.push(e)})),t}},{key:"init",value:(t=Object(Qt.a)(Kt.a.mark((function e(t){var n,a,o=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&2<=t.length)return a=this.API_URL,n=this.tools.custom.string.toSlug(t," ").replace(/ /g,"+AND+"),a="".concat(a,"&size=5&fields=municipio-normalizado,municipio,uf,id&repository=city&cd=").concat(n),e.next=6,this.tools.custom.apiHelpersFront.jsonp(a,"jsonp","citySuggest").then((function(e){return o.tools.custom.apiHelpersFront.handlerObject(200,o.normalize(e),"Sucesso!")})).catch((function(e){return o.tools.custom.apiHelpersFront.handlerObject(o.errorReturn.code,e,o.errorReturn.message)}));e.next=8;break;case 6:return a=e.sent,e.abrupt("return",a);case 8:return e.abrupt("return",{});case 9:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),a}(Ct=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(Ct)),Ct=function(e){Object(i.a)(d,e);var t,n,a,s,u,l=Object(c.a)(d);function d(){var e;return Object(o.a)(this,d),(e=l.apply(this,arguments)).API_URL="https://geoip.home.uol.com/states/",e.errorReturn={message:"Não foi possível acessar a api de cidades neste momento, tente mais tarde",code:500,error:!0},e.defaultCity={normalized:"saopaulo",name:"São Paulo",uf:"SP"},e}return Object(r.a)(d,[{key:"toSlug",value:function(e){return this.tools.custom.string.toSlug(e,"")}},{key:"GeolocFormat",value:function(e){return{normalized:this.toSlug(e.city),name:e.city,uf:e.state}}},{key:"getTitle",value:function(e){var t=e.replace("-n","");return t in(e={cc:"Céu claro",ch:"Chuvoso",tr:"Trovoadas",pi:"Pancadas isoladas",cv:"Chuvisco",nb:"Nublado",ge:"Geada",ne:"Neve",nv:"Névoa",en:"Encoberto",nc:"Nublado com chuva",pc:"Pancadas de chuva",pn:"Poucas nuvens"})?e[t]:""}},{key:"getIcon",value:function(e){return e&&e.label&&(e.label=this.activeIcon(e.label),e.status=this.getTitle(e.label)),e}},{key:"activeIcon",value:function(e){var t=e.toLowerCase();return t in(e={tr:"ch","tr-n":"ch-n"})?e[t]:t}},{key:"normalize",value:function(e){return{state:e[0],city:e[1],min:e[2],max:e[3],label:e[4],url:e[6]}}},{key:"setData",value:function(e){return e=this.normalize(e),this.getIcon(e)}},{key:"setParams",value:function(e){var t=e.uf,n=e.name;e=this.tools.custom.apiHelpersFront.secureXSSCallback;return"".concat(e(null==t?void 0:t.toLowerCase()),"/").concat(e(null==n?void 0:n.toLowerCase()))}},{key:"getGeoloc",value:(u=Object(Qt.a)(Kt.a.mark((function e(){var t;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.tools.custom.geoLoc.init();case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"jsonp",value:(s=Object(Qt.a)(Kt.a.mark((function e(t){var n;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.setParams(t),n="".concat(this.API_URL).concat(n,".js"),e.next=4,this.tools.custom.apiHelpersFront.jsonp(n,"callback","weather");case 4:return n=e.sent,e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"getDataFromCity",value:(a=Object(Qt.a)(Kt.a.mark((function e(t){var n,a,o=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(e){return o.setData(e)},a=function(){return o.errorReturn},e.next=4,this.jsonp(t).then(n).catch(a);case 4:return a=e.sent,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"fetchLocationWeather",value:(n=Object(Qt.a)(Kt.a.mark((function e(t){var n=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=Object(Qt.a)(Kt.a.mark((function e(a,o){var r,i;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.defaultCity,t&&n.tools.custom.geoLoc.change(t.uf,t.name),e.next=4,n.getGeoloc();case 4:return(i=e.sent)&&"object"===Object(Wt.a)(i)&&(r=n.GeolocFormat(i)),e.next=8,n.getDataFromCity({name:r.normalized,uf:r.uf.toUpperCase()});case 8:(i=e.sent).error&&o(new Error(i.message)),a(i);case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"getWeather",value:(t=Object(Qt.a)(Kt.a.mark((function e(t){var n,a=this;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(){return a.fetchLocationWeather(a.defaultCity)},e.abrupt("return",this.fetchLocationWeather(t).then((function(e){return e})).catch(n));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),d}(Ct),{ab:new At,apiHelpersFront:new It,blocklist:new xt,chartbeatLoader:new Dt,cookie:new l,debug:new s,geoLoc:new u,getParameter:new Lt,images:new d,lazyload:new p,localStorage:new h,metrics:new Ot,overlayToggle:new wt,refresh:new kt,socket:new Tt,string:new Et,style:new t}),bn={suggestCity:new St,weather:new Ct},yn=n(381),gn=n(382),_n={},On={styled:{},tokens:[]};function wn(e,t){return Object(gn.a)(e,On)(cn=cn||Object(yn.a)(["",""]),(function(e){return n=e.styled||{},a=e.tokens||[],o="",e=[],Array.isArray(t)&&(e=e.concat(t)),Array.isArray(a)&&(e=e.concat(a)),(e=Object(Jt.a)(new Set(e))).filter((function(e){return Object.keys(_n).includes(e)})).forEach((function(e){return o+="".concat(_n[e],";")})),0<Object.keys(n).length&&(o+=Object.keys(n).map((function(e){return"".concat(e,": ").concat(n[e])})).join(";")+";"),o;var n,a,o}))}function kn(e){function t(e,t){return void 0!==e?e:t}return{shouldRetryOnError:t(e.shouldRetryOnError,!0),revalidateOnFocus:t(e.revalidateOnFocus,!0),revalidateOnReconnect:t(e.revalidateOnReconnect,!0),errorRetryCount:e.errorRetryCount||3,errorRetryInterval:e.errorRetryInterval||3e3,loadingTimeout:e.loadingTimeout||3e3,cacheTTL:e.cacheTTL||0,useLocalStorageAsCache:t(e.useLocalStorageAsCache,!1),onLoadingSlow:e.onLoadingSlow,onOffline:e.onOffline,attachToProp:e.attachToProp,attachToState:e.attachToState,deduping:e.deduping,store:e.store,instance:e.instance}}function jn(e){return btoa(JSON.stringify(e))}function Cn(e){return JSON.parse(atob(e))}function Sn(e){var t=localStorage.getItem(Ln);t&&e(t)}function Tn(e,t){return e.localeCompare(t)}var En=n(106),An=function(){function e(){Object(o.a)(this,e),this.events={}}return Object(r.a)(e,[{key:"on",value:function(e,t){var n=this;return"object"!==Object(Wt.a)(this.events[e])&&(this.events[e]=[]),this.events[e].push(t),function(){return n.removeListener(e,t)}}},{key:"removeListener",value:function(e,t){"object"!==Object(Wt.a)(this.events[e])||-1<(t=this.events[e].indexOf(t))&&this.events[e].splice(t,1)}},{key:"removeAllListeners",value:function(){var e=this;Object.keys(this.events).forEach((function(t){return e.events[t].splice(0,e.events[t].length)}))}},{key:"emit",value:function(e){for(var t=this,n=arguments.length,a=new Array(1<n?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];"object"===Object(Wt.a)(this.events[e])&&Object(Jt.a)(this.events[e]).forEach((function(e){return e.apply(t,a)}))}},{key:"once",value:function(e,t){var n=this,a=this.on(e,(function(){a();for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];t.apply(n,o)}));return a}}]),e}(),In={},xn={},Ln="vrw",Dn=function(){var e=Object(Qt.a)(Kt.a.mark((function e(t,n,a,o){var r,i,c,s,u,l,d,h,p;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="".concat(n,"_").concat(t),d=(d=Fn(r,a.useLocalStorageAsCache)||{}).data,!Rn()||0<a.cacheTTL&&d)return e.abrupt("return",Promise.resolve({data:d,error:d?null:new Error("Network Error. ".concat(t))}));e.next=4;break;case 4:if(!1===a.deduping){e.next=10;break}if("pending"===(i=In[r]||{}).status)return i.refresh(),e.abrupt("return",new Promise((function(e){return i.on((function(t){a.cb instanceof Function&&a.cb(),e(t)}))})));e.next=9;break;case 9:In[r]=Pn(r,{expireTimeout:a.loadingTimeout});case 10:return u=!(s=c=null),clearTimeout(xn[t]),xn[t]=setTimeout((function(){u&&a.onLoadingSlow instanceof Function&&a.onLoadingSlow(),l()}),a.loadingTimeout),l=function(){u=!1,clearTimeout(xn[t]),delete xn[t]},e.prev=15,d=Object($t.a)({method:n},o),e.next=19,window.fetch(t,d);case 19:return h=e.sent,e.next=22,h.json();case 22:if(c=e.sent,h.ok){e.next=25;break}throw new Error("Request url ".concat(t," ends not ok"));case 25:a.store.dispatch("setCache",{id:t,data:c,method:n}),Hn(r,c,a.cacheTTL,a.useLocalStorageAsCache),a.cb instanceof Function&&a.cb(),l(),In[r]&&In[r].emit({data:c,error:s}),e.next=47;break;case 32:if(e.prev=32,e.t0=e.catch(15),s=e.t0,a.skipRetry||!a.shouldRetryOnError){e.next=47;break}p=0;case 37:if(p<a.errorRetryCount)return e.next=40,new Promise((function(e){return window.setTimeout(Object(Qt.a)(Kt.a.mark((function r(){var i;return Kt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Dn(t,n,Object($t.a)(Object($t.a)({},a),{},{skipRetry:!0}),o);case 2:i=r.sent,c=i.data,s=i.error,e();case 6:case"end":return r.stop()}}),r)}))),a.errorRetryInterval||3e3)}));e.next=47;break;case 40:if(c&&!s)return l(),e.abrupt("break",47);e.next=43;break;case 43:case 44:p++,e.next=37;break;case 47:return e.abrupt("return",Promise.resolve({data:c,error:s}));case 48:case"end":return e.stop()}}),e,null,[[15,32]])})));return function(t,n,a,o){return e.apply(this,arguments)}}(),$n=function(){var e=Object(Qt.a)(Kt.a.mark((function e(t,n){var a,o,r,i,c,s,u=arguments;return Kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=2<u.length&&void 0!==u[2]?u[2]:{},o=3<u.length?u[3]:void 0,a=kn(a),c={isAttached:"string"==typeof(l=a).attachToProp||"string"==typeof(l.attachToState||{}).id},s=c.isAttached,r=Object($t.a)({},a),c=(c=(i=function(){var e="".concat(n,"_").concat(t);return Fn(e,a.useLocalStorageAsCache)||{data:a.store.state.__cache__.request[n][t]}||{}})()).data,Gn(),s){e.next=10;break}return e.abrupt("return",Dn(t,n,r,o));case 10:if(r.cb=function(){var e,o,r=i().data;r&&(a.attachToProp?a.instance[a.attachToProp]=r:(e=(o=a.attachToState).map,(o=o.id)?a.store.dispatch("setDispatchData",{id:o,item:e instanceof Function?e(r):r}):console.error('You must enter an ID for using "attachToState". ['.concat(n,"] ").concat(t))))},!Rn()){e.next=18;break}if(!(0<Object.keys(c||{}).length)){e.next=16;break}Dn(t,n,r,o),e.next=18;break;case 16:return e.next=18,Dn(t,n,r,o);case 18:return s=function(){Rn()&&Dn(t,n,r,o),r.cb()},r.revalidateOnReconnect&&window.addEventListener("online",s,!1),r.onOffline instanceof Function&&window.addEventListener("offline",r.onOffline,!1),a.revalidateOnFocus&&window.addEventListener("focus",s,!1),r.cb(),e.abrupt("return",Promise.resolve({data:c}));case 24:case"end":return e.stop()}var l}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Pn=function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{expireTimeout:1e3},a=new An,o={status:"pending",on:function(e){return a.on("fetch",(function(t){e instanceof Function&&e(t)}))},emit:function(e){a.emit("fetch",e),o.status="ended",o.schedule()},schedule:function(){clearTimeout(t),t=window.setTimeout((function(){a.removeAllListeners(),delete In[e]}),n.expireTimeout)},refresh:function(){return o.schedule()}};return o},Rn=function(){return void 0===navigator.onLine||navigator.onLine},Nn=new Map,Fn=function(e){return 1<arguments.length&&void 0!==arguments[1]&&arguments[1]?Bn(e):Nn.get(e)},Hn=function(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3],o=n||0,r={data:t,createdAt:n=Date.now(),expiresAt:o?n+o:1/0};a?Un(e,r):(o&&setTimeout((function(){var t=Date.now();r.expiresAt<=t&&Mn(e,a)}),o),Nn.set(e,r))},Mn=function(e){1<arguments.length&&void 0!==arguments[1]&&arguments[1]?qn(e):Nn.delete(e)},Bn=function(e,t){var n=localStorage.getItem(Ln);if(n)return JSON.parse(atob(n))[e]},Un=function(e,t){var n={},a=localStorage.getItem(Ln);a?(n=Cn(a))[e]=t:n=Object(En.a)({},e,t),localStorage.setItem(Ln,jn(n)),zn(e,n.expiresAt-Date.now())},qn=function(e){var t=localStorage.getItem(Ln);if(t)try{var n=Cn(t);delete n[e],localStorage.setItem(Ln,jn(n))}catch(e){}},zn=function e(t,n){return setTimeout((function(){return Sn((function(n){try{var a=Cn(n),o=a[t].expiresAt;o<Date.now()?(delete a[t],localStorage.setItem(Ln,jn(a))):e(t,o-Date.now())}catch(n){}}))}),n)},Gn=function(){Sn((function(e){var t=Cn(e);Object.keys(t).map((function(e){t[e].expiresAt<Date.now()?(delete t[e],localStorage.setItem(Ln,jn(t))):zn(e,t[e].expiresAt-Date.now())}))}))},Vn=(n(131),function e(t,n){var a;return Array.isArray(t)?t.map((function(t){return e(t,n)})):"[object Object]"===Object.prototype.toString.call(t)?(a={},Object.keys(t).sort(n||Tn).forEach((function(o){a[o]=e(t[o],n)})),a):t}),Wn=(Ct=n(383),n.n(Ct));function Jn(e,t){return{computed:{data:function(){var e=this.stateID||this.getId();return this.$store.state.items[e]||{}}},methods:{getId:function(){return this.__state_alias__||this.$options.__id__},updateComponentState:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{override:!1,onupdate:!0};this.$store.state.items[e]||console.error(new Error("Component: ".concat(this.$options.name," / Invalid state ID (").concat(e,'). The available states are: "').concat(Object.keys(this.$store.state.items).join(", "),'"'))),t=n.override?t:Xt()(!0,this.$store.state.items[e],t),this.$store.dispatch("updateStore",{id:e,content:t}),(e=this.getComponentState(e)).instance&&function(e){if(e&&e.onStateUpdate instanceof Function&&(n||{}).onupdate)try{e.onStateUpdate()}catch(e){}}(e.instance)},updateComponentStateSlot:function(e){var t=this;e.map((function(e){var n=e.id,a=e.content;e=e.override;return t.updateComponentState(n,a,{override:!!e,onupdate:!0})}))},getComponentState:function(e){var t=this.$store.state.items[e];return t||console.error(new Error("Component: ".concat(this.$options.name," / Invalid state ID (").concat(e,'). The available states are: "').concat(Object.keys(this.$store.state.items).join(", "),'"'))),t},getState:function(){var e=this.getId();return this.$store.state.items[e]||null},setState:function(e){var t;e&&(t=this.getId(),this.updateComponentState(t,e,{override:!1,onupdate:!1}))},checkAndLoadStyle:function(){var e=this.tools.custom.string.toSlug(this.$options.name,"-"),t=(o=this.$store.state.__general__.config).color,n=o.system.media.css,a=(r=window.__cssComponents__||{all:[],hash:new Map,inline:new Set}).all,o=r.hash,r=r.inline;(a||[]).includes(e)&&(r.has(e)||!0===(null===(a=a[e])||void 0===a?void 0:a.removeInApp)&&this.tools.custom.getParameter.getSingle("uol_app")||document.querySelector("link[v-style-load-after=".concat(e,"]"))||this.createLink("".concat(n,"/themes/").concat(t,"/").concat(e,".css"),{name:e,hash:o.get(e)}))},createLink:function(e){var t,n=(t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).name;(t=t.hash)&&(e+="&hash=".concat(t)),(t=document.createElement("link")).setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e),t.setAttribute("crossorigin","anonymous"),n&&t.setAttribute("v-style-load-after",n),document.getElementsByTagName("head")[0].appendChild(t)}},beforeMount:function(){try{this.__created__hook[0].apply(this)}catch(e){console.error(e)}if(this.__mounted__hook){var e,t=Object(Pt.a)(this.__mounted__hook);try{for(t.s();!(e=t.n()).done;){var n=e.value;try{n.apply(this)}catch(e){console.error(e)}}}catch(e){t.e(e)}finally{t.f()}}this.checkAndLoadStyle();var a=this.__state_alias__||this.$options.__id__;this.$store.state.items[a]&&this.$store.dispatch("setDispatchData",{id:a,item:Object($t.a)({},this.$store.state.items[a])})},beforeCreate:function(){var t=this;return Object(Qt.a)(Kt.a.mark((function n(){var a,o,r,i,c,s,u,l,d,h,p;return Kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:try{t.$options.__id__=t.$options.name+"::"+Wn()(t.$options.name+JSON.stringify(Vn(Object.keys(t.$options.propsData).filter((function(e){return!Zn.includes(e)})).reduce((function(e,n){return e[n]=t.$options.propsData[n],e}),{}))))}catch(n){console.error(n)}-1<window.location.search.indexOf("debug=true")&&void 0===(null===(a=null===(a=window.__INITIAL_STATE__)||void 0===a?void 0:a.items)||void 0===a?void 0:a[t.$options.__id__])&&(c=JSON.stringify(Vn(Object.keys(t.$options.propsData).filter((function(e){return!Zn.includes(e)})).reduce((function(e,n){return e[n]=t.$options.propsData[n],e}),{}))),console.warn("[WARN STATE] Component state differs between client and server",t.$options.name,t.$options.__id__,c)),e&&(t.$options.name=Object.keys(t.$options.components)[0]),t.fetch=function(e,t){return{get:function(){var n=Object(Qt.a)(Kt.a.mark((function n(a){var o,r,i=arguments;return Kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=1<i.length&&void 0!==i[1]?i[1]:{},r=2<i.length&&void 0!==i[2]?i[2]:{},n.next=4,$n(a,"get",Object($t.a)(Object($t.a)({},o),{},{store:e,instance:t}),r);case 4:return n.abrupt("return",n.sent);case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),post:function(){var n=Object(Qt.a)(Kt.a.mark((function n(a,o){var r,i,c=arguments;return Kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=2<c.length&&void 0!==c[2]?c[2]:{},(i=3<c.length&&void 0!==c[3]?c[3]:{}).body=JSON.stringify(o),n.next=5,$n(a,"post",Object($t.a)(Object($t.a)({},r),{},{store:e,instance:t}),i);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}(),put:function(){var n=Object(Qt.a)(Kt.a.mark((function n(a,o){var r,i,c=arguments;return Kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=2<c.length&&void 0!==c[2]?c[2]:{},(i=3<c.length&&void 0!==c[3]?c[3]:{}).body=JSON.stringify(o),n.next=5,$n(a,"put",Object($t.a)(Object($t.a)({},r),{},{store:e,instance:t}),i);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}(),$delete:function(){var n=Object(Qt.a)(Kt.a.mark((function n(a){var o,r,i=arguments;return Kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=1<i.length&&void 0!==i[1]?i[1]:{},r=2<i.length&&void 0!==i[2]?i[2]:{},n.next=4,$n(a,"delete",Object($t.a)(Object($t.a)({},o),{},{store:e,instance:t}),r);case 4:return n.abrupt("return",n.sent);case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}}(t.$store,t),t.__created__hook=Object(Jt.a)(t.$options.created),t.$options.created=[],t.__mounted__hook=t.$options.mounted?Object(Jt.a)(t.$options.mounted):[],t.$options.mounted=[],c=t.__created__hook.slice(1),o=Object(Pt.a)(c);try{for(o.s();!(r=o.n()).done;){i=r.value;try{i.apply(t)}catch(n){}}}catch(n){o.e(n)}finally{o.f()}if(c=t.__state_alias__||t.$options.__id__,t.$store.state.__general__.serverError[c])return t.$options.render=null,n.abrupt("return");n.next=15;break;case 15:if(s=t.$store.state.__general__.config,d=null===(u=null===(d=null===(u=null==s?void 0:s.system)||void 0===u?void 0:u.media)||void 0===d?void 0:d.js)||void 0===u?void 0:u.replace(/https?:\/\/|^\/\//,"https://").match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i),u=d&&d[1],d=s.allowedToGetState.includes(t.$options.name),t.$store.state.items[c]||!d){n.next=39;break}if(u){n.next=23;break}return console.error('It was not possible to obtain the status of the component "'+t.$options.name+'" because it was not possible to identify the obtaining hostname.The hostname is defined in "config.system.media.js". Please check that the hostname is valid.'),n.abrupt("return");case 23:return l=t.$options.render,t.$options.render=null,d=s.__req__,n.next=28,t.fetch.get("//".concat(u,"/assets/?loadComponent=").concat(t.$options.name,"&data=").concat(JSON.stringify(Object.keys(t.$options.propsData).filter((function(e){return!e.includes("stateAlias")&&!e.includes("__id__")})).reduce((function(e,n){return e[n]=t.$options.propsData[n],e}),{})),"&getState&configPath=").concat(s.loadedConfig.replace(/\.json$/,""),"&forcedFormat=").concat(d.format,"&forcedUserAgent=").concat(d["user-agent"],"&forcedDomain=").concat(d.domain));case 28:if(p=n.sent,h=p.data,p=p.error)return console.error('Could not get state for component with stateID: "'.concat(c,'" during rendering on the client')),console.error(p),t.$store.state.items[c]||(t.$options.render=null),n.abrupt("return");n.next=36;break;case 36:p=h.items[c],t.$store.dispatch("setDispatchData",{id:c,item:p}),t.$store.state.items[c]?(t.$options.render=l,t.$forceUpdate()):t.$options.render=null;case 39:case"end":return n.stop()}}),n)})))()},destroyed:function(){this.$store.dispatch("updateState",this.getId())},created:function(){var n,a,o=((this.$store.state||{}).__general__||{}).config||{};for(n in mn||{})mn[n].tools=Object($t.a)({},mn),delete mn[n].tools[n],mn[n].config=o;for(a in bn||{})bn[a].apis=Object($t.a)({},bn),bn[a].config=o,bn[a].tools={custom:mn},delete bn[a].apis[a];this.tools={custom:mn},this.apis={custom:bn},(t||{}).tools&&(this.tools=Xt()(!0,this.tools,t.tools)),(t||{}).apis&&(this.apis=Xt()(!0,this.apis,t.apis)),this.config=Xt()(!0,{},o,(t||{}).config||{}),e||(this.$options.components=Xt()(!0,this.$options.components,Gt)),this.$options.propsData.stateAlias&&(this.__state_alias__=this.$options.propsData.stateAlias);try{this.stateID||(this.stateID=this.__state_alias__||this.$options.__id__)}catch(n){console.error(n)}if(this.$options.methods.styled instanceof Function){var r,i,c=this.$options.methods.styled();for(r in c)c[r].as&&!this.$options.components[r]&&(i=wn(c[r].as,c[r].tokens||[]),this.$options.components[r]=i)}}}}a.a.config.ignoredElements=["ignore","media-content"],a.a.config.silent=!0;var Qn,Kn,Zn=["__id__","__initiator__","header","component"];for(Kn in n(754),n(752),window.history.scrollRestoration="auto",a.a.config.ignoredElements=["ignore","media-content"],a.a.config.silent=!0,/debug=true/.test(location.search)&&new PerformanceObserver((function(e){return e.getEntries().forEach((function(e){return console.log(">>> longtask",e.toJSON())}))})).observe({entryTypes:["longtask"]}),Gt||{})"LazyHydrate"!==Kn&&"Hydrate"!==Kn&&(Gt[Kn]=Gt[Kn].extend(Jn(!1)));window.__INITIAL_STATE__&&null!==(Qn=null===(Qn=null===(Qn=window.__INITIAL_STATE__)||void 0===Qn?void 0:Qn.__general__)||void 0===Qn?void 0:Qn.config)&&void 0!==Qn&&Qn.rm_require.forEach((function(e){delete Gt[e]}));var Xn=!1;function Yn(){!0!==Xn&&!0!==/debugDisableApp=true/.test(window.location.search)&&(Xn=!0,new Promise((function(e){window.requestAnimationFrame((function(){performance.mark("uol-vueland-vue-app-store:start");var t=function(e,t){var n=1<arguments.length&&void 0!==t?t:null,o=e||"object"===("undefined"==typeof window?"undefined":Object(Wt.a)(window));return new Zt.a.Store({state:function(){return n||{data:{},items:{},__maps__:{},__maps_client__:{},__custom_maps__:{},__general__:{serverError:{}},__cache__:{request:{get:{},post:{},put:{},delete:{}}}}},getters:{data:function(e){return function(t){return t in e.data?e.data[t]:void 0}}},actions:{fetch:function(e,t){return e=e.commit,en(t.resolver,t.instance,e)},setDispatchData:function(e,t){(0,e.commit)("setDispatchData",{id:t.id,item:t.item})},updateState:function(e,t){return(0,e.commit)("updateState",t)},deleteState:function(e,t){return(0,e.commit)("deleteState",t)},setCache:function(e,t){(0,e.commit)("setCache",{id:t.id,data:t.data,method:t.method})},setContextMap:function(e,t){return(0,e.commit)("setContextMap",{name:t.name})},setCustomStore:function(e,t){return(0,e.commit)("setCustomStore",t)},setGeneral:function(e,t){return(0,e.commit)("setGeneral",t)},setComponentWithServerError:function(e,t){return(0,e.commit)("setComponentWithServerError",t)},updateStore:function(e,t){return(0,e.commit)("updateStore",t)},updateCustomStore:function(e,t){return(0,e.commit)("updateCustomStore",t)},setData:function(e,t){return(0,e.commit)("updateData",t)}},mutations:{setDispatchData:function(e,t){var n=t.id;t=t.item;a.a.set(e.items,n,t)},updateState:function(e,t){Object.entries(t).forEach((function(t){t=(n=Object(Vt.a)(t,2))[0];var n=n[1];return a.a.set(e.items,t,n)}))},deleteState:function(e,t){a.a.delete(e.items,t)},setCache:function(e,t){var n=t.id,o=t.data,r=t.method;(t=["get","post","put","delete"]).includes(r)?a.a.set(e.__cache__.request[r],n,o):console.error("Invalid cache (".concat(r,") for request cache. The allowed methods are: ").concat(t.join(", ")))},setConfig:function(e,t){a.a.set(e.__general__,"config",t)},setGeneral:function(e,t){var n=t.id;t=t.content;a.a.set(e.__general__,n,t)},setComponentWithServerError:function(e,t){t=t.id,a.a.set(e.__general__.serverError,t,!0)},setContextMap:function(e,t){var n=t.name,r=o?"__maps_client__":"__maps__";e[r][n]||(e[r][n]=0),t=e[r][n]+1,a.a.set(e[r],n,t)},setCustomStore:function(e,t){var n=t.id;t=t.content;a.a.set(e.__custom_maps__,n,t)},updateStore:function(e,t){var n=t.id;t=t.content;a.a.set(e.items,n,t)},updateCustomStore:function(e,t){var n=t.id;t=t.content;a.a.set(e.__custom_maps__,n,t)},updateData:function(e,t){var n=t.id;t=t.content;a.a.set(e.data,n,t)}}})}(!1,window.__INITIAL_STATE__);performance.measure("uol-vueland-vue-app-store","uol-vueland-vue-app-store:start"),e(t)}))})).then((function(e){performance.mark("uol-vueland-vue-app-init:start"),new a.a({store:e,components:Gt,render:function(e){return e("div",(window.renderStack||[]).map((function(t){var n=t.component;return e(Gt[n],{props:t})})))}}).$mount("#app"),performance.measure("uol-vueland-vue-app-init","uol-vueland-vue-app-init:start"),e=function(){document.dispatchEvent(new CustomEvent("hydration:appReady")),window.dispatchEvent(new CustomEvent("scroll"))},window.requestIdleCallback?window.requestIdleCallback(e,{timeout:500}):setTimeout(e,1e3/60)})))}window.addEventListener("DOMContentLoaded",(function(){Yn()}),{once:!0}),window.addEventListener("pageshow",(function(){Yn()}),{once:!0})}}]);
