1"use strict";(self.webpackChunkensinandosiao=self.webpackChunkensinandosiao||[]).push([[847],{847:(A,h,t)=>{t.r(h),t.d(h,{EventsModule:()=>j});var s=t(4650),m=t(6895),i=t(9116),c=t(9300),g=t(4004),u=t(7816);let E=(()=>{class n{constructor(e,o){this.router=e,this.eventsService=o,this.page=1,this.limit=24,this.router.events.pipe((0,c.h)(l=>l instanceof i.m2),(0,g.U)(l=>l.url)).subscribe(l=>{this.initEventsStreams(l)})}ngOnInit(){}ngOnDestroy(){localStorage.removeItem("currentEvent")}initEventsStreams(e){const o=e.split("/");if(o.length>=4)if(o[3].includes("?tertiarygroup=")){const l=o[3].split("?tertiarygroup=")[1];localStorage.setItem("tertiarygroup",l),setTimeout(()=>{this.getEventDetails(parseInt(o[2]))},100)}else this.getEventDetails(parseInt(o[2]));this.getEventHighlight()}getEventHighlight(){this.eventsService.getEventHighlight(6,0).subscribe()}getEventDetails(e){this.eventsService.getEventDetails(e).subscribe()}}return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275directiveInject(i.F0),s.\u0275\u0275directiveInject(u.n))},n.\u0275cmp=s.\u0275\u0275defineComponent({type:n,selectors:[["app-events"]],decls:2,vars:0,consts:[[1,"events-wrapper"]],template:function(e,o){1&e&&(s.\u0275\u0275elementStart(0,"div",0),s.\u0275\u0275element(1,"router-outlet"),s.\u0275\u0275elementEnd())},directives:[i.lC],styles:[""]}),n})();var f=t(9190);const v=t(8643).n.events,r=window.location,a=r.pathname.split("/");"eventos"===a[1]&&"eventos"!==v&&(r.pathname=(a[2]?`${v}/${a[2]}/${a[3]||""}`:v).replace(/\/$/,""));const y=i.Bz.forChild([{path:v,component:E,canActivateChild:[],children:[{path:"",loadChildren:()=>Promise.all([t.e(8592),t.e(7138)]).then(t.bind(t,9815)).then(n=>n.EventsListModule)},{path:":id/:name",loadChildren:()=>Promise.all([t.e(8592),t.e(3900)]).then(t.bind(t,7115)).then(n=>n.EventDetailsModule)},{path:":id/:name/tickets",loadChildren:()=>Promise.all([t.e(3910),t.e(8592),t.e(5290)]).then(t.bind(t,5290)).then(n=>n.EventTicketsModule)},{path:"meus-tickets",loadChildren:()=>Promise.all([t.e(8592),t.e(2669)]).then(t.bind(t,3414)).then(n=>n.MyTicketsModule),canActivate:[f.e]}]}]);var M=t(1315),I=t(3238),S=t(148),D=t(1739),P=t(9627);(0,m.qS)(P.Z,"pt-BR");let j=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({providers:[{provide:I.Ad,useValue:"pt-BR"},{provide:s.LOCALE_ID,useValue:"pt-BR"}],imports:[[m.ez,y,D.aw,S.U,M.E]]}),n})()}}]);
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.