1"use strict";(self.webpackChunks4737=self.webpackChunks4737||[]).push([[847],{847:(R,m,t)=>{t.r(m),t.d(m,{EventsModule:()=>B});var s=t(4650),r=t(6895),i=t(9116),u=t(9300),E=t(4004),c=t(5326),f=t(7816);let p=(()=>{class e{constructor(n,l){this.router=n,this.eventsService=l,this.page=1,this.limit=24,this.router.events.pipe((0,u.h)(o=>o instanceof i.m2),(0,E.U)(o=>o.url)).subscribe(o=>{this.initEventsStreams(o)})}ngOnInit(){}ngOnDestroy(){localStorage.removeItem("currentEvent"),localStorage.removeItem("unit")}initEventsStreams(n){const l=n.split("/");if(l.length>=4){const o=(0,c.ak)("unit",n),h=(0,c.ak)("tertiarygroup",n);o&&localStorage.setItem("unit",o),h&&localStorage.setItem("tertiarygroup",h),o||h?setTimeout(()=>{this.getEventDetails(parseInt(l[2]))},100):this.getEventDetails(parseInt(l[2]))}this.getEventHighlight()}getEventHighlight(){this.eventsService.getEventHighlight(6,0).subscribe()}getEventDetails(n){this.eventsService.getEventDetails(n).subscribe()}}return e.\u0275fac=function(n){return new(n||e)(s.\u0275\u0275directiveInject(i.F0),s.\u0275\u0275directiveInject(f.n))},e.\u0275cmp=s.\u0275\u0275defineComponent({type:e,selectors:[["app-events"]],decls:2,vars:0,consts:[[1,"events-wrapper"]],template:function(n,l){1&n&&(s.\u0275\u0275elementStart(0,"div",0),s.\u0275\u0275element(1,"router-outlet"),s.\u0275\u0275elementEnd())},directives:[i.lC],styles:[""]}),e})();var C=t(9190);const v=t(8643).n.events,g=window.location,a=g.pathname.split("/");"eventos"===a[1]&&"eventos"!==v&&(g.pathname=(a[2]?`${v}/${a[2]}/${a[3]||""}`:v).replace(/\/$/,""));const S=i.Bz.forChild([{path:v,component:p,canActivateChild:[],children:[{path:"",loadChildren:()=>Promise.all([t.e(8592),t.e(7138)]).then(t.bind(t,9815)).then(e=>e.EventsListModule)},{path:":id/:name",loadChildren:()=>Promise.all([t.e(8592),t.e(3900)]).then(t.bind(t,7115)).then(e=>e.EventDetailsModule)},{path:":id/:name/tickets",loadChildren:()=>Promise.all([t.e(3910),t.e(8592),t.e(5290)]).then(t.bind(t,5290)).then(e=>e.EventTicketsModule)},{path:"meus-tickets",loadChildren:()=>Promise.all([t.e(8592),t.e(2669)]).then(t.bind(t,3414)).then(e=>e.MyTicketsModule),canActivate:[C.e]}]}]);var M=t(1315),D=t(3238),P=t(148),j=t(1739),A=t(9627);(0,r.qS)(A.Z,"pt-BR");let B=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=s.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=s.\u0275\u0275defineInjector({providers:[{provide:D.Ad,useValue:"pt-BR"},{provide:s.LOCALE_ID,useValue:"pt-BR"}],imports:[[r.ez,S,j.aw,P.U,M.E]]}),e})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.