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A,0CAYRA,ywDElJtBkJ,GAAb,KDZO,IAAMC,GAAb,MAAM,sDAAOA,4DAHF,CAACC,cAAsB7F,KACtB6F,QAECD,GAAb,GEGaE,GAAb,MAAM,sDAAOA,4DARF,CACPtV,KACAuV,SAMSD,GAAb,GCCaE,GAAb,MAAM,sDAAOA,4DATF,CACPxV,KACAuV,KACAF,SAMSG,GAAb,6BCaO,IAAMC,GAAb,MAAM,sDAAOA,4DAXF,CACPzV,KACAoV,GACAM,KACA3V,IACAuV,GACAE,GACAG,KACAC,SAGSH,GAAb,EAAaA","names":["SwiperCore","Navigation","Pagination","Scrollbar","A11y","Autoplay","SwiperConfig","slidesPerView","spaceBetween","navigation","autoplay","loop","pagination","clickable","scrollbar","draggable","breakpoints","centerInsufficientSlides","simulateTouch","SortByModule","CommonModule","EventService","constructor","pdvRepository","sanitizer","eventsRepository","generalHelper","http","store","this","groupByCategories","params","events$","n","comissionerId","loadSite","pipe","map","res","events","res2","treatHomeEventList","select","EventSelectors","switchMap","filteredEvents","getSiteEvents","of","groupByMonths","getCustomerBuyedTickets","eventId","getCustomerTickets","find","loadEventSite","event","dates","x","dateStartEvent","dateEnd","_","r","_a","dateEndEvent","_b","startDate","formatDate","startTime","Date","googleMapsUrl","bypassSecurityTrustResourceUrl","encodeURI","address","sectors","id","name","position","useMapPlace","useSeats","tickets","flatMap","y","ticketDateId","dateTickets","lotId","lotCurrent","fees","fee","pdvs","PDVs","sectorId","fengPlansExtra","fengPlansInvited","fengPlansPartner","gender","type","description","batch","price","prices","priceVirtual","qty","blacklist","useFacialRecognition","banner","imageWeb","showCupom","city","fbPixel","categories","hideFullTickets","state","uf","integrations","instagram","paymentMethods","limitCPF","a","company","limitPerCPF","limitByCPF","seatsioEventKey","seatsioMapKey","useGoogleEvents","googleAnalyticsKey","googleTagManagerKey","includes","slugs","allowMapV2","skipCustomerDataOnPdv","requireCustomerDataOnPdv","loadTermsOfUse","loadAboutUs","PdvSelectors","getProducerEvents","producerId","loadProducerEvents","getProducerReportEvents","loadProducerReportEvents","getCupomTicket","ticketTagsQuantity","tags","length","quantity","list2site","imagePdv","redirectToExternalLink","getMap","loadEventOrder","getOrders","list2list","query","buildQuery","get","environment","u","filter","item","h","slug","_c","undefined","T","C","_d","tag","_e","logo","_f","E","P","_g","_h","_j","tagsFilter","JSON","parse","v","_k","S","_l","p","_m","N","m","_o","_p","J","U","H","_q","_r","_s","Q","L","D","_t","_u","_v","fengIntegration","Y","_w","ticketTags","R","_x","z","_y","$","_z","V","_0","imagePDV","q","_1","i0","factory","BannerRepository","httpClient","getAll","apiUrl","BannerService","bannerRepository","BannerComponent","router","ngOnInit","open","link","window","navigate","selectors","ctx","CardCategoryComponent","ctx_r4","oxw","SwiperCitiesComponent","EventEmitter","cities","values","states","index","self","findIndex","s","selectedState","sendSelectedState","emit","FilterCategoryPipe","transform","category","c","toLowerCase","pure","FilterTeamPipe","team","eventsFilter","forEach","f","d","ele","indexOf","toLocaleLowerCase","FilterMonthPipe","month","split","ctx_r21","ctx_r25","ctx_r32","ctx_r38","ctx_r74","routes","path","component","bannerService","eventService","activatedRoute","alertService","authService","myProfileService","headerService","Subject","icon","image","width","class","LocationSelectors","clientUF","geoplugin_regionCode","e","loadBanners","getProducer","user","producerOwnerId","showPub","removePub","hideCategoryShowMonth","showClubsShield","loadScript","getCustomer","modeComissioner","comissionerMode","defineModeComissioner","loadEventCategories","loadEventMonths","getComissioner","subscribe","ngOnDestroy","unsubscribe$","next","complete","i","document","getElementsByTagName","src","remove","selectCategory","selectedCategory","sameArray","arr1","arr2","same","filterByTeam","selectedTeam","selectMonth","selectedMonth","createElement","frameElement","async","setAttribute","getAttribute","parent","parentNode","insertBefore","onRouterFilter","snapshot","queryParamMap","eventsIsa","o","showEventsTag","showTime","defineLogoTag","hideShields","toast","title","text","takeUntil","banners","sort","b","setSelectedState","filteredState","dispatch","EventActions","scroll","loading","months","number","toLocaleString","year","getFullYear","monthExists","HomeComponent","HomeRoutingModule","RouterModule","BannerModule","NgxSkeletonLoaderModule","CardCategoryModule","HomeModule","SwiperModule","CardEventModule","SwiperCitiesModule"],"sourceRoot":"webpack:///","sources":["./src/app/config/swiper.config.ts","./src/app/pipes/sort-by/sort-by.module.ts","./src/app/services/event.service.ts","./src/app/repositories/banner.repository.ts","./src/app/services/banner.service.ts","./src/app/views/components/banner/banner.component.html","./src/app/views/components/banner/banner.component.ts","./src/app/views/components/card-category/card-category.component.html","./src/app/views/components/card-category/card-category.component.ts","./src/app/views/components/swiper-cities/swiper-cities.component.html","./src/app/views/components/swiper-cities/swiper-cities.component.ts","./src/app/views/pages/home/filter-category.pipe.ts","./src/app/views/pages/home/filter-team.pipe.ts","./src/app/views/pages/home/filter-month.pipe.ts","./src/app/views/pages/home/home.component.html","./src/app/views/pages/home/home-routing.module.ts","./src/app/views/pages/home/home.component.ts","./src/app/views/components/banner/banner.module.ts","./src/app/views/components/card-category/card-category.module.ts","./src/app/views/pages/home/home.module.ts"],"sourcesContent":["import SwiperCore, { Navigation, Pagination, Scrollbar, A11y, SwiperOptions, Autoplay } from 'swiper';\n\n// install Swiper modules\nSwiperCore.use([Navigation, Pagination, Scrollbar, A11y, Autoplay]);\n\nexport class SwiperConfig {\n\n public static banners: SwiperOptions = {\n slidesPerView: 1,\n spaceBetween: 0,\n navigation: true,\n autoplay: true,\n loop: true,\n pagination: { clickable: true },\n scrollbar: { draggable: true },\n };\n\n public static categories: SwiperOptions = {\n loop: true,\n slidesPerView: 1,\n spaceBetween: 10,\n breakpoints: {\n 320: {\n slidesPerView: 2,\n spaceBetween: 10\n },\n 576: {\n slidesPerView: 3,\n spaceBetween: 20\n },\n 768: {\n slidesPerView: 4,\n spaceBetween: 20\n },\n 992: {\n slidesPerView: 5,\n spaceBetween: 20\n }\n }\n };\n\n public static events: SwiperOptions = {\n loop: true,\n slidesPerView: 1,\n navigation: true,\n scrollbar: { draggable: true },\n breakpoints: {\n 576: {\n slidesPerView: 2\n },\n 768: {\n slidesPerView: 3\n },\n 1400: {\n slidesPerView: 4\n }\n }\n };\n\n public static cities: SwiperOptions = {\n loop: true,\n slidesPerView: 2,\n navigation: true,\n scrollbar: { draggable: true },\n breakpoints: {\n 576: {\n slidesPerView: 3\n },\n 768: {\n slidesPerView: 4\n },\n 992: {\n slidesPerView: 5\n }\n }\n };\n\n public static states: SwiperOptions = {\n loop: true,\n slidesPerView: 2,\n navigation: true,\n scrollbar: { draggable: true },\n breakpoints: {\n 576: {\n slidesPerView: 3\n },\n 768: {\n slidesPerView: 3\n },\n 992: {\n slidesPerView: 3\n }\n }\n };\n\n public static sectors: SwiperOptions = {\n slidesPerView: 1,\n spaceBetween: 15,\n centerInsufficientSlides: true,\n navigation: true,\n scrollbar: { draggable: true },\n breakpoints: {\n 360: {\n slidesPerView: 2,\n spaceBetween: 15\n },\n 576: {\n slidesPerView: 3,\n spaceBetween: 15\n },\n 1200: {\n slidesPerView: 4,\n spaceBetween: 15\n }\n }\n };\n\n public static ticketHolders: SwiperOptions = {\n slidesPerView: 1,\n spaceBetween: 0,\n simulateTouch: false,\n pagination: { clickable: false },\n scrollbar: { draggable: true },\n };\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SortByPipe } from './sort-by.pipe';\n\n\n\n@NgModule({\n declarations: [SortByPipe],\n imports: [\n CommonModule\n ],\n exports: [SortByPipe]\n})\nexport class SortByModule { }\n","import { formatDate } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { map, Observable, of, switchMap } from 'rxjs';\nimport { EventModel } from '../models/event.model';\nimport { SectorModel } from '../models/sector.model';\nimport { TicketModel } from '../models/ticket.model';\nimport { PdvRepository } from '../repositories/pdv.repository';\nimport { EventsRepository } from '../repositories/events.repository';\nimport { environment } from 'src/environments/environment';\nimport { HttpClient } from '@angular/common/http';\nimport { GeneralHelper } from '../helpers/general.helper';\nimport { select, Store } from '@ngrx/store';\nimport { EventSelectors, PdvSelectors } from '../store/pdv/selectors';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class EventService {\n constructor(\n private pdvRepository: PdvRepository,\n private sanitizer: DomSanitizer,\n private eventsRepository: EventsRepository,\n private generalHelper: GeneralHelper,\n private http: HttpClient,\n private store: Store\n ) { }\n\n public groupByCategories(params?: any): Observable {\n let events$: Observable;\n\n if (params?.comissionerId) {\n events$ = this.pdvRepository.loadSite(params)\n .pipe(\n map((res) => {\n return res.events.map((res2) => {\n return this.treatHomeEventList(res2) \n })\n })\n );\n } else {\n events$ = this.store.pipe(\n select(EventSelectors.selectFilteredEvents),\n switchMap((filteredEvents) => {\n if (filteredEvents === null) {\n return this.getSiteEvents();\n }\n return of(filteredEvents);\n })\n );\n }\n\n return events$.pipe(\n map((events) => [...events])\n );\n }\n\n public groupByMonths(params?: any): Observable {\n let events$: Observable;\n\n if (params?.comissionerId) {\n events$ = this.pdvRepository.loadSite(params).pipe(\n map((res) => {\n return res.events.map((res2) => {\n return this.treatHomeEventList(res2)\n })\n })\n );\n } else {\n events$ = this.store.pipe(\n select(EventSelectors.selectFilteredEvents),\n switchMap((filteredEvents) => {\n if (filteredEvents === null) {\n return this.getSiteEvents();\n }\n return of(filteredEvents);\n })\n );\n }\n\n return events$.pipe(\n map((events) => [...events])\n );\n }\n\n public getCustomerBuyedTickets(eventId: string) {\n return this.pdvRepository.getCustomerTickets(eventId)\n }\n\n public find(params: any): Observable {\n return this.pdvRepository.loadEventSite(params)\n .pipe(map(res => {\n const event = res.events[0];\n\n const dates: string[] = event.dates.map((x: any) => x.dateStartEvent);\n\n let dateEnd: string|null = event.dates[0]?.dateEndEvent ?? null;\n\n const startDate: string = formatDate(dates[0], 'EEEE, d \\'de\\' MMMM', 'pt-BR', '+0000');\n const startTime: string = formatDate(dates[0], 'HH:mm', 'pt-BR', '+0000');\n \n if (dateEnd != null && (new Date(dateEnd as string) as unknown as number) - (new Date(dates[0] ) as unknown as number) <= 32340000) {\n dateEnd = null\n }\n\n const googleMapsUrl: SafeResourceUrl = this.sanitizer.bypassSecurityTrustResourceUrl(encodeURI(`https://maps.google.com/maps?q=${event.address}&z=15&ie=UTF8&iwloc=&output=embed`));\n\n const sectors: SectorModel[] = event.sectors.map((x: any) => {\n return {\n id: x.id,\n name: x.name,\n position: x.position,\n useMapPlace: x.useMapPlace,\n useSeats: x.useSeats\n };\n });\n\n const tickets: TicketModel[] = event.sectors.flatMap((x: any) => x.tickets.map((y: any) => {\n\n return {\n id: y.id,\n ticketDateId: y.dateTickets[0].id,\n lotId: y.dateTickets[0].lotCurrent.id,\n fees: y.dateTickets[0].fee,\n pdvs: y.PDVs,\n sectorId: x.id,\n name: y.name,\n fengPlansExtra: y.fengPlansExtra,\n fengPlansInvited: y.fengPlansInvited,\n fengPlansPartner: y.fengPlansPartner,\n gender: y.gender,\n type: y.type,\n description: y.description,\n position: y.position,\n batch: y.dateTickets[0].lotCurrent.name,\n price: y.dateTickets[0].lotCurrent.prices[0].price,\n fee: y.dateTickets[0].lotCurrent.prices[0].priceVirtual - y.dateTickets[0].lotCurrent.prices[0].price,\n qty: 0,\n blacklist: y.blacklist,\n useFacialRecognition: y.useFacialRecognition\n };\n }));\n\n return {\n id: event.id,\n name: event.name,\n description: event.description,\n banner: event.imageWeb,\n address: event.address,\n showCupom: event.showCupom,\n city: event.city.name,\n fbPixel: event.fbPixel,\n categories: event.categories,\n hideFullTickets: event.hideFullTickets,\n state: event.city.state.name,\n uf: event.city.state.uf,\n integrations: event.integrations,\n instagram: event.instagram,\n paymentMethods: event.paymentMethods,\n limitCPF: event?.company.limitPerCPF,\n limitByCPF: event?.limitByCPF,\n dates: dates,\n dateEnd: dateEnd,\n seatsioEventKey: event.seatsioEventKey,\n seatsioMapKey: event.seatsioMapKey,\n useGoogleEvents: event.useGoogleEvents,\n googleAnalyticsKey: event.googleAnalyticsKey,\n googleTagManagerKey: event.googleTagManagerKey,\n startDate: startDate,\n startTime: startTime,\n googleMapsUrl: googleMapsUrl,\n sectors: [\"c6404a91-7340-408a-a170-e56c381efae8\", \"2a9862d4-efd4-4104-be26-0d29f0900f5e\", \"5c353325-cd80-4bdb-9132-2d44885fb172\", \"b501cbf7-0351-452e-a6ca-c0db99d73fba\", \"16e20386-8ad9-41cc-b09a-ce58b1ac2192\", \"91257ab5-acd3-4a1f-ac2f-46d1e3bcd190\", \"0fa70c2d-246c-4561-b217-d3958963b10a\", \"b6122d1a-30a5-4c7a-8d2b-f75efed20d49\", \"d085263e-0417-4d32-8832-b55fa9a6167a\"].includes(event.id) ? [] : sectors,\n tickets: [\"c6404a91-7340-408a-a170-e56c381efae8\", \"2a9862d4-efd4-4104-be26-0d29f0900f5e\", \"5c353325-cd80-4bdb-9132-2d44885fb172\", \"b501cbf7-0351-452e-a6ca-c0db99d73fba\", \"16e20386-8ad9-41cc-b09a-ce58b1ac2192\", \"91257ab5-acd3-4a1f-ac2f-46d1e3bcd190\", \"0fa70c2d-246c-4561-b217-d3958963b10a\", \"b6122d1a-30a5-4c7a-8d2b-f75efed20d49\", \"d085263e-0417-4d32-8832-b55fa9a6167a\"].includes(event.id) ? [] : tickets,\n slugs: event.slugs,\n allowMapV2: event.allowMapV2,\n skipCustomerDataOnPdv: event.skipCustomerDataOnPdv,\n requireCustomerDataOnPdv: event.requireCustomerDataOnPdv\n };\n }));\n }\n\n loadTermsOfUse() {\n return this.pdvRepository.loadTermsOfUse();\n }\n\n loadAboutUs() {\n return this.pdvRepository.loadAboutUs();\n }\n\n getSiteEvents() {\n return this.store.pipe(select(PdvSelectors.selectEvents))\n }\n\n getProducerEvents(producerId?: any) {\n return this.pdvRepository.loadProducerEvents(producerId);\n }\n\n getProducerReportEvents(producerId?: any) {\n return this.pdvRepository.loadProducerReportEvents(producerId);\n }\n\n getCupomTicket(params: any): Observable {\n return this.pdvRepository.loadEventSite(params).pipe(map(res => {\n const event = res.events[0];\n\n const dates: string[] = event.dates.map((x: any) => x.dateStartEvent);\n let dateEnd: string|null = event.dates[0]?.dateEndEvent ?? null;\n \n const startDate: string = formatDate(dates[0], 'EEEE, d \\'de\\' MMMM', 'pt-BR', '+0000');\n const startTime: string = formatDate(dates[0], 'HH:mm', 'pt-BR', '+0000');\n\n if (dateEnd != null && (new Date(dateEnd as string) as unknown as number) - (new Date(dates[0] ) as unknown as number) <= 32340000) {\n dateEnd = null\n }\n\n const googleMapsUrl: SafeResourceUrl = this.sanitizer.bypassSecurityTrustResourceUrl(encodeURI(`https://maps.google.com/maps?q=${event.address}&z=15&ie=UTF8&iwloc=&output=embed`));\n\n const sectors: SectorModel[] = event.sectors.map((x: any) => {\n return {\n id: x.id,\n name: x.name,\n position: x.position,\n useMapPlace: x.useMapPlace,\n useSeats: x.useSeats\n };\n });\n\n const tickets: TicketModel[] = event.sectors.flatMap((x: any) => x.tickets.map((y: any) => {\n\n return {\n id: y.id,\n ticketDateId: y.dateTickets[0].id,\n lotId: y.dateTickets[0].lotCurrent.id,\n fees: y.dateTickets[0].fee,\n sectorId: x.id,\n name: y.name,\n type: y.type,\n gender: y.gender,\n ticketTagsQuantity: typeof y.tags !== 'undefined' && y.tags.length >= 1 ? y.tags[0].quantity : 0,\n description: y.description,\n position: y.position,\n batch: y.dateTickets[0].lotCurrent.name,\n price: y.dateTickets[0].lotCurrent.prices[0].price,\n fee: y.dateTickets[0].lotCurrent.prices[0].priceVirtual - y.dateTickets[0].lotCurrent.prices[0].price,\n qty: 0\n };\n }));\n\n return {\n id: event.id,\n name: event.name,\n description: event.description,\n banner: event.imageWeb,\n address: event.address,\n city: event.city.name,\n state: event.city.state.name,\n uf: event.city.state.uf,\n paymentMethods: event.paymentMethods,\n limitCPF: event?.company.limitPerCPF,\n dates: dates,\n seatsioEventKey: event.seatsioEventKey,\n seatsioMapKey: event.seatsioMapKey,\n startDate: startDate,\n dateEnd: dateEnd,\n startTime: startTime,\n googleMapsUrl: googleMapsUrl,\n sectors: sectors,\n tickets: tickets,\n slugs: event.slugs\n };\n }));\n }\n\n\n\n list2site(params: any) {\n return this.eventsRepository.list2site(params).pipe(map(res => {\n const event = res.events[0];\n\n const dates: string[] = event.dates.map((x: any) => x.dateStartEvent);\n\n const startDate: string = formatDate(dates[0], 'EEEE, d \\'de\\' MMMM', 'pt-BR', '+0000');\n const startTime: string = formatDate(dates[0], 'HH:mm', 'pt-BR', '+0000');\n\n const googleMapsUrl: SafeResourceUrl = this.sanitizer.bypassSecurityTrustResourceUrl(encodeURI(`https://maps.google.com/maps?q=${event.address}&z=15&ie=UTF8&iwloc=&output=embed`));\n\n const sectors: SectorModel[] = event.sectors.map((x: any) => {\n return {\n id: x.id,\n name: x.name,\n position: x.position,\n useMapPlace: x.useMapPlace,\n useSeats: x.useSeats\n };\n });\n\n const tickets: TicketModel[] = event.sectors.flatMap((x: any) => x.tickets.map((y: any) => {\n\n return {\n id: y.id,\n ticketDateId: y.dateTickets[0].id,\n lotId: y.dateTickets[0].lotCurrent.id,\n fees: y.dateTickets[0].fee,\n sectorId: x.id,\n name: y.name,\n comissionerId: y.comissionerId,\n description: y.description,\n position: y.position,\n batch: y.dateTickets[0].lotCurrent.name,\n price: y.dateTickets[0].lotCurrent.prices[0].price,\n fee: y.dateTickets[0].lotCurrent.prices[0].priceVirtual - y.dateTickets[0].lotCurrent.prices[0].price,\n qty: 0\n };\n }));\n\n return {\n id: event.id,\n name: event.name,\n description: event.description,\n banner: event.imageWeb,\n imagePdv: event.imagePdv,\n address: event.address,\n city: event.city.name,\n state: event.city.state.name,\n uf: event.city.state.uf,\n paymentMethods: event.paymentMethods,\n limitCPF: event?.company.limitPerCPF,\n dates: dates,\n seatsioEventKey: event.seatsioEventKey,\n seatsioMapKey: event.seatsioMapKey,\n startDate: startDate,\n startTime: startTime,\n googleMapsUrl: googleMapsUrl,\n sectors: sectors,\n tickets: tickets,\n slugs: event.slugs,\n redirectToExternalLink: event.redirectToExternalLink,\n requireCustomerDataOnPdv: event.requireCustomerDataOnPdv,\n skipCustomerDataOnPdv: event.skipCustomerDataOnPdv\n };\n }));\n }\n\n getMap(params: any): Observable {\n return this.eventsRepository.getMap(params);\n }\n\n loadEventOrder(id: any): Observable {\n return this.eventsRepository.getOrders(id);\n }\n\n list2list(params: any) {\n let query = this.generalHelper.buildQuery(params);\n return this.http.get(environment.apiUrl + '/event/list2list' + '?' + query);\n }\n\n\n treatHomeEventList(event) {\n const dates: string[] = event.dates.map((x: any) => {\n return x.dateStartEvent\n });\n const startDate: string = formatDate(dates[0], 'EEEE, d \\'de\\' MMMM', 'pt-BR', '+0000');\n const startTime: string = formatDate(dates[0], 'HH:mm', 'pt-BR', '+0000');\n const googleMapsUrl: SafeResourceUrl = this.sanitizer.bypassSecurityTrustResourceUrl(encodeURI(`https://maps.google.com/maps?q=${event.address}&z=15&ie=UTF8&iwloc=&output=embed`));\n\n const slugs =\n event?.slugs\n ?.filter((item: any) => item?.slug)\n ?.map((item: any) => ({ slug: item.slug })) ?? undefined;\n\n const tags =\n event?.tags\n ?.filter((item: any) => item?.tag)\n ?.map((item: any) => ({ tag: item.tag, logo: item.logo })) ?? undefined;\n\n const categories =\n event?.categories\n ?.filter((item: any) => item?.name)\n ?.map((item: any) => item.name) ?? undefined;\n\n let tagsFilter = \"\"\n if (event.tagsFilter != null) {\n tagsFilter = JSON.parse(event.tagsFilter)\n }\n\n return {\n id: event?.id ?? \"\",\n name: event?.name ?? \"\",\n banner: event?.banner,\n address: event?.address ?? \"\",\n instagram: event?.instagram,\n city: event?.city?.name ?? \"\",\n state: event?.city?.state?.name ?? \"\",\n uf: event?.city?.state?.uf ?? \"\",\n dates: dates,\n hideFullTickets: event?.hideFullTickets,\n description: event?.description,\n fengIntegration: event?.fengIntegration,\n startDate: startDate,\n startTime: startTime,\n limitCPF: event?.company?.limitPerCPF,\n limitByCPF: event?.limitByCPF,\n fbPixel: event?.fbPixel,\n redirectToExternalLink: event?.redirectToExternalLink,\n requireCustomerDataOnPdv: event?.requireCustomerDataOnPdv,\n skipCustomerDataOnPdv: event?.skipCustomerDataOnPdv,\n slugs: slugs,\n tags: tags,\n tagsFilter: tagsFilter,\n categories: categories,\n ticketTags: event?.ticketTags ?? undefined,\n googleMapsUrl: googleMapsUrl,\n\n seatsioEventKey: event?.seatsioEventKey ?? undefined,\n seatsioMapKey: event?.seatsioMapKey ?? undefined,\n useGoogleEvents: event?.useGoogleEvents,\n paymentMethods: event?.paymentMethods,\n allowMapV2: event?.allowMapV2,\n imageWeb: event?.imageWeb ?? undefined,\n imagePDV: event?.imagePDV ?? undefined,\n company: event?.company,\n };\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { environment } from 'src/environments/environment';\nimport { BannerModel } from '../models/banner.model';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BannerRepository {\n\n private apiUrl: string = environment.apiUrl;\n\n constructor(\n private httpClient: HttpClient\n ) { }\n\n public getAll(): Observable> {\n return this.httpClient.get>(`${this.apiUrl}/banner/active`);\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { BannerModel } from '../models/banner.model';\nimport { BannerRepository } from '../repositories/banner.repository';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BannerService {\n\n constructor(\n private bannerRepository: BannerRepository\n ) { }\n\n public getAll(): Observable> {\n return this.bannerRepository.getAll();\n }\n\n}\n","
\n
\n \"Banner\n \n
\n
\n
\n

{{ title }}

\n

{{ date }}

\n

\n {{ local }}\n

\n \n
\n
\n \n
\n \n
\n \n
\n \n
\n
\n
","import { Component, Input, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'app-banner',\n templateUrl: './banner.component.html',\n styleUrls: ['./banner.component.scss']\n})\nexport class BannerComponent implements OnInit {\n\n @Input() image?: string;\n @Input() date?: string;\n @Input() title?: string;\n @Input() link?: string;\n @Input() eventId?: string;\n @Input() slugs?: string;\n @Input() local?: string;\n @Input() skeleton?: boolean;\n\n constructor(\n private router: Router\n ) { }\n\n ngOnInit(): void {\n }\n\n public open(): void {\n if(this.link){\n window.open(this.link, \"_blank\");\n }\n else if (this.slugs && this.slugs.length > 0) {\n this.router.navigate([this.slugs[0]]);\n } else {\n this.router.navigate(['/event', this.eventId]);\n }\n }\n}\n","
\n \n
{{ name }}
\n
\n\n\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-card-category',\n templateUrl: './card-category.component.html',\n styleUrls: ['./card-category.component.scss']\n})\nexport class CardCategoryComponent implements OnInit {\n\n @Input() image: string = '';\n @Input() name: string = '';\n @Input() skeleton: boolean = false;\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","\n \n
\n {{state.uf}}\n

{{ state.name }}

\n
\n
\n
\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\nimport { SwiperConfig } from 'src/app/config/swiper.config';\nimport { CityModel } from 'src/app/models/city.model';\nimport { StateModel } from 'src/app/models/state.model';\nimport { SwiperOptions } from 'swiper';\n\n@Component({\n selector: 'app-swiper-cities',\n templateUrl: './swiper-cities.component.html',\n styleUrls: ['./swiper-cities.component.scss']\n})\nexport class SwiperCitiesComponent {\n public citiesSwiperConfig: SwiperOptions = SwiperConfig.states;\n public states: StateModel[] = [];\n\n @Input() \n set cities(values: CityModel[]) {\n this.states = values.map(city => city.state)\n .filter((state, index, self) => \n index === self.findIndex((s) => s.id === state.id)\n );\n }\n\n @Output() sendSelectedState: EventEmitter = new EventEmitter();\n\n selectedState(state: StateModel): void {\n this.sendSelectedState.emit(state);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'filterCategory'\n})\nexport class FilterCategoryPipe implements PipeTransform {\n\n transform(events: any[], category: string | null | undefined): any[] {\n if (!events || !category) {\n return events;\n } else {\n return events.filter(event => {\n return event.categories.find((c: any) => c.toLowerCase() == category.toLowerCase()) != undefined;\n });\n }\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'filterTeam'\n})\nexport class FilterTeamPipe implements PipeTransform {\n\n\n\n transform(events: any[], team: string[] | null | undefined): any[] {\n if (!events || team == null || team == null || team.length == 0) {\n return events;\n } else { \n let eventsFilter: any = []\n events.forEach(function(event: any) { \n if (event?.tagsFilter?.length) {\n event.tagsFilter.forEach(function(ele: string) {\n if (team!.indexOf(ele.toLocaleLowerCase()) > -1) { \n eventsFilter[eventsFilter.length] = event\n } \n }); \n }\n \n }); \n \n return eventsFilter\n } \n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'filterMonth'\n})\nexport class FilterMonthPipe implements PipeTransform {\n\n transform(events: any[], month: string | null | undefined): any[] {\n if (!events || !month) {\n return events;\n } else {\n return events.filter(event => {\n return event.dates.find((c: any) => c.split(\"-\")[1] == month) != undefined;\n });\n }\n }\n}\n","\n
\n
\n
\n
\n \n \n \n \n \n\n \n \n \n \n \n\n \n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
{{ category.name }}
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n

{{\n month[\"name\"] }}

\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n\n\n
\n
\n
\n \n \n
\n
\n
\n

Nenhum evento encontrado

\n
\n
\n
\n
\n =1 else showNoEvents\">\n
\n \n \n
\n
\n \n
\n

Nenhum evento encontrado

\n
\n
\n
\n
\n
\n \n
\n\n
\n
\n

Nenhum evento encontrado

\n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n
\n
\n \n
\n
\n \n \n \n \n \n
\n
\n \n
\n
\n
\n
\n\n
\n
\n

Cadastre seu evento em
nossa\n plataforma!

\n \n Seja nosso parceiro\n \n
\n
\n\n\n
\n
\n
\n

O Que Há em seu estado?

\n
\n
\n
\n
\n \n
\n
\n
","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { HomeComponent } from './home.component';\n\nconst routes: Routes = [\n {\n path: '',\n component: HomeComponent\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n})\nexport class HomeRoutingModule { }\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { map, Subject, takeUntil } from 'rxjs';\nimport { BannerModel } from 'src/app/models/banner.model';\nimport { BannerService } from 'src/app/services/banner.service';\nimport { EventService } from 'src/app/services/event.service';\nimport { SwiperOptions } from 'swiper';\nimport { SwiperConfig } from '../../../config/swiper.config';\nimport { ActivatedRoute } from '@angular/router';\nimport { AlertService } from '../../../services/alert.service';\nimport { AuthService } from '../../../services/auth.service';\nimport { MyProfileService } from '../../../services/my-profile.service';\nimport { environment } from 'src/environments/environment';\nimport { HeaderService } from '../../../services/header.service';\nimport { select, Store } from '@ngrx/store';\nimport { LocationSelectors } from 'src/app/store/location/selectors';\nimport { StateModel } from 'src/app/models/state.model';\nimport { EventActions } from 'src/app/store/pdv/actions';\nimport { PdvSelectors } from 'src/app/store/pdv/selectors';\n\ndeclare const geoplugin_regionCode: any;\ndeclare const window: any;\n\n@Component({\n selector: 'app-home',\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.scss']\n})\nexport class HomeComponent implements OnInit, OnDestroy {\n public banners?: BannerModel[];\n public events!: any[];\n public bannersSwiperConfig: SwiperOptions = SwiperConfig.banners;\n public categoriesSwiperConfig: SwiperOptions = SwiperConfig.categories;\n public eventsSwiperConfig: SwiperOptions = SwiperConfig.events;\n public unsubscribe$ = new Subject();\n public showEventsTag: boolean = false;\n public selectedCategory?: string | null;\n public selectedMonth?: string | null;\n public comissionerMode?: boolean = false;\n public categories: any[] = [\n { id: 'shows-e-festas', name: 'Shows e Festas', icon: '../../../../assets/images/eventos-e-shows.webp' },\n { id: 'esportes', name: 'Esportes', icon: '../../../../assets/images/esporte.webp' },\n { id: 'teatros-e-cinema', name: 'Teatros e Cinema', icon: '../../../../assets/images/teatro-e-cinema.webp' },\n ]\n\n public hideCategoryShowMonth: boolean = false\n public showClubsShield: boolean = false\n public hideShields: boolean = false\n\n public showPub: boolean = true\n public showTime = true\n public months: any[] = []\n public loading: boolean = false\n public eventsIsa: any[] = [ \n // {\n // name: \"LET'S VIBE\",\n // address: \"Estacionamento Estádio Nilton Santos\",\n // date: \"2024-03-18T21:30:00.000Z\",\n // state: \"TO\",\n // city: \"Palmas\",\n // uf: \"TO\",\n // redirectToExternalLink: \"https://www.ingressosa.com/lets-vibe\",\n // image: \"https://static-meubilhete.s3.dualstack.us-east-1.amazonaws.com/event/5b779198-4d45-4e8e-b857-5ac81838a4ab-imagePDV.jpg?1733753859823\"\n // },\n // {\n // name: \"DE MESA EM MESA - CAMPO GRANDE\",\n // address: \"BOSQUE DOS IPÊS\",\n // date: \"2024-03-22T20:00:00.000Z\",\n // state: \"MS\",\n // city: \"Campo Grande\",\n // uf: \"MS\",\n // redirectToExternalLink: \"https://ingressosa.com/de-mesa-em-mesa-campo-grande\",\n // image: \"https://static-meubilhete.s3.dualstack.us-east-1.amazonaws.com/event/9a54ba0f-54f5-4b37-ad39-11c7dc415b8a-imagePDV.jpg?1732388563057\"\n // }\n ]\n public selectedTeam: any = []\n public isaTeams = [\n { name: [\"mirassol\", \"mirassolfc\", \"mirassol f.c.\", \"mfc\", \"mirasol fc\"], image: '../../../../assets/times/mirassol.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"e.c.vitória\", \"ecvitória\", \"e.c. vitória\", \"ec vitória\", \"vitória\"], image: '../../../../assets/times/vitoria_logomarca.png', width: 121, class: 'ms-2 me-2' },\n { name: [\"vila nova\", \"vilanova\", \"vila nova f.c.\", \"vila nova fc\"], image: '../../../../assets/times/vilanova.png', width: 61, class: 'ms-2 me-4 mt-2' },\n { name: [\"atlético go\", \"atleticogoianiense\", \"atléticogoianiense\", \"atlético-go\", \"atlético goianiense\", \"acg\"], image: '../../../../assets/times/atletico_goianiense.png', width: 44, class: 'ms-2 me-2' },\n { name: [\"remo\", \"clubedoremo\", \"clube do remo\"], image: '../../../../assets/times/remo.png', width: 101, class: 'ms-2 me-3' },\n { name: [\"paysandu\", \"paysandu f.c.\", \"paysandu fc\"], image: '../../../../assets/times/paysandu.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"guarani\", \"guarani f.c.\",\"guarani fc\"], image: '../../../../assets/times/guarani.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"gama\", \"sociedade esportiva do gama\", \"se gama\", \"s.e. gama\"], image: '../../../../assets/times/gama.png', width: 81, class: 'ms-2 me-3' },\n { name: [\"santa cruz\", \"santacruz\", \"santa cruz f.c.\",\"santa cruz fc\"], image: '../../../../assets/times/santa_cruz.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"flamengo\", \"clube de regatas do flamengo\", \"cr flamengo\", \"c.r. flamengo\"], image: '../../../../assets/times/flamengo.png', width: 61, class: 'ms-2 me-3' },\n { name: [\"vasco\", \"vasco da gama\", \"c.r. vasco da gama\", \"cr vasco da gama\", \"cr vasco\", \"c.r vasco\"], image: '../../../../assets/times/vasco.png', width: 61, class: 'ms-2 me-3' },\n { name: [\"botafogo\", \"botafogo futebol e regatas\", \"boafogo f.r.\", \"botafogo fr\"], image: '../../../../assets/times/botafogo.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"fluminense\", \"fluminense f.c.\", \"fluminense fc\"], image: '../../../../assets/times/fluminense.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"palmeiras\", \"se palmeiras\", \"sociedade esportiva palmeiras\"], image: '../../../../assets/times/palmeiras.png', width: 81, class: 'ms-2 me-3' },\n { name: [\"corinthians\", \"e.c corinthians paulista\", \"e.c corinthians\", \"ec corinthians\", \"ec corinthians paulista\"], image: '../../../../assets/times/corinthians.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"são paulo\", \"sãopaulo\", \"saopaulo\", \"spfc\", \"são paulo f.c.\", \"são paulo fc\"], image: '../../../../assets/times/sao_paulo.png', width: 71, class: 'ms-2 me-3' },\n { name: [\"santos\", \"santos fc\", \"santosfc\", \"santos f.c.\"], image: '../../../../assets/times/santos.png', width: 81, class: 'ms-2 me-3' },\n { name: [\"aparecidense\", \"associação atlética aparecidense\",\"a.a. aparecidense\", \"aa aparecidense\", \"aaa\", \"aparecidense fc\", \"aparecidense f.c.\"], image: '../../../../assets/times/aparecidense.png', width: 81, class: 'ms-2 me-3' },\n { name: [\"anápolis\", \"anápolis f.c.\", \"anápolisfc\", \"anapolisfc\", \"anápolis fc\"], image: '../../../../assets/times/anapolis.png', width: 79, class: 'ms-2 me-3' },\n { name: [\"treze\", \"treze .f.c\", \"treze fc\"], image: '../../../../assets/times/treze.png', width: 81, class: 'ms-2 me-3' },\n { name: [\"são bento\", \"e.c. são bento\", \"ecsaobento\", \"ecsãobento\", \"sãobento\",\"saobento\", \"ec são bento\", \"e.c.são bento\", \"esporte clube são bento\"], image: '../../../../assets/times/sao_bento.png', width: 81, class: 'ms-2 me-2' },\n { name: [\"dtc\", \"tdc\", \"trem desportivo clube\", \"trem desportivo\", \"trem clube\"], image: '../../../../assets/times/trem.jpg', width: 101, class: 'ms-2 me-3' },\n { name: [\"mtc\", \"mc\", \"motoclube\", \"moto\", \"motoclub\", \"moto clube\", \"moto club\"], image: '../../../../assets/times/motoclub.png', width: 73, class: 'ms-2 me-3' },\n { name: [\"goiânia e.c.\", \"goiânia ec\", \"goiânia\", \"goiania ec\", \"goiânia e.c.\", \"goiania\"], image: '../../../../assets/times/goiania.png', width: 73, class: 'ms-2 me-3' }\n ];\n\n public goianaoTeams = [\n { name: [\"anápolis\"], width: 71, image: \"../../../../assets/times/anapolis.png\", class: \"ms-2 me-2\" },\n { name: [\"passaporte abecat\", \"abecat\"], width: 77, image: \"../../../../assets/times/abecat.jpg\", class: \"ms-2 me-2\" },\n { name: [\"associação atlética aparecidense\"], width: 81, image: \"../../../../assets/times/associacao-atletica-aparecidense.gif\", class: \"ms-2 me-2\" },\n { name: [\"atlético go\", \"atlético-go\", \"atlético goianiense\", \"acg\"], width: 77, image: \"../../../../assets/times/atletico-go.jpg\", class: \"ms-2 me-2\" },\n { name: [\"crac\"], width: 77, image: \"../../../../assets/times/crac.gif\", class: \"ms-2 me-2\" },\n { name: \"goianésia\", width: 71, image: \"../../../../assets/times/goianesia.gif\", class: \"ms-2 me-2\" },\n { name: [\"goiânia\", \"e.c.goiânia\", \"e.c. goiânia\", \"ec goiânia\"], width: 71, image: \"../../../../assets/times/goiania.gif\", class: \"ms-2 me-2\" },\n { name: [\"goiás\"], width: 71, image: \"../../../../assets/times/goias.gif\", class: \"ms-2 me-2\" },\n { name: [\"goiatuba\"], width: 71, image: \"../../../../assets/times/goiatuba.gif\", class: \"ms-2 me-2\" },\n { name: [\"inhumas\"], width: 71, image: \"../../../../assets/times/inhumas.jpg\", class: \"ms-2 me-2\" },\n { name: [\"jataiense\"], width: 71, image: \"../../../../assets/times/jataiense.gif\", class: \"ms-2 me-2\" },\n { name: [\"vila nova\", \"vila nova f.c.\"], width: 61, image: \"../../../../assets/times/vilanova.png\", class: 'ms-2 me-4 mt-2' },\n ]\n showSwiperStates = environment.showSwiperStates;\n showBeOurPartner = environment.showBeOurPartner;\n\n cities$ = this.store.pipe(select(LocationSelectors.selectCities));\n pdv$ = this.store.pipe(select(PdvSelectors.selectCompany))\n\n pdvLoader$ = this.store.pipe(select(PdvSelectors.selectLoader));\n\n public get clientUF(): string {\n try {\n return geoplugin_regionCode();\n } catch (e) {\n return 'GO';\n }\n }\n\n constructor(\n private bannerService: BannerService,\n private eventService: EventService,\n private activatedRoute: ActivatedRoute,\n private alertService: AlertService,\n private authService: AuthService,\n private myProfileService: MyProfileService,\n private store: Store,\n private headerService: HeaderService\n ) { }\n\n ngOnInit(): void {\n this.loadBanners();\n\n if (this.authService.getProducer() != null && this.authService.getProducer().user != null && this.authService.getProducer().user.producerOwnerId != null && this.authService.getProducer().user.producerOwnerId == \"28164152-03a1-4bce-b96f-9fe223d32d98\") {\n this.showPub = false\n this.removePub()\n }\n\n this.hideCategoryShowMonth = environment.hideCategoryShowMonth\n\n this.showClubsShield = environment.showClubsShieldsFilter\n // if (this.showPub == true){\n this.loadScript();\n // }\n\n\n if (this.authService.getCustomer() != null\n && this.authService.getCustomer().modeComissioner != null\n && this.authService.getCustomer().modeComissioner == true) {\n this.comissionerMode = true;\n this.myProfileService.defineModeComissioner(this.comissionerMode as boolean);\n if (this.hideCategoryShowMonth == false) {\n this.loadEventCategories();\n } else {\n this.loadEventMonths();\n }\n }\n\n this.myProfileService.getComissioner().subscribe((res: any) => {\n this.comissionerMode = res;\n if (this.hideCategoryShowMonth == false) {\n this.loadEventCategories();\n } else {\n this.loadEventMonths();\n }\n });\n\n\n }\n\n\n ngOnDestroy(): void {\n this.unsubscribe$.next(null);\n this.unsubscribe$.complete();\n\n this.removePub()\n }\n\n removePub() {\n for (let i = 0; i < document.getElementsByTagName(\"script\").length; i++) {\n if (document.getElementsByTagName(\"script\")[i].id != null) {\n if (document.getElementsByTagName(\"script\")[i].id == \"CleverCoreLoader79488\") {\n document.getElementsByTagName(\"script\")[i].src = \"\"\n document.getElementsByTagName(\"script\")[i].id = \"\"\n }\n }\n }\n\n for (let i = 0; i < document.getElementsByTagName(\"div\").length; i++) {\n if (document.getElementsByTagName(\"div\")[i].id != null) {\n if (document.getElementsByTagName(\"div\")[i].id.indexOf(\"clever-79488-\") > -1) {\n document.getElementsByTagName(\"div\")[i].remove()\n }\n }\n }\n }\n\n public selectCategory(category: string) {\n this.selectedCategory = this.selectedCategory != category ? category : null;\n }\n\n sameArray(arr1, arr2) {\n if (arr1.length != arr2.length) {\n return false;\n }\n\n let same = true\n arr1.forEach(function (ele, i) {\n\n if (ele != arr2[i]) {\n same = false\n }\n })\n\n return same\n }\n\n\n filterByTeam(team) {\n if (this.sameArray(this.selectedTeam, team) == true) {\n this.selectedTeam = []\n } else {\n this.selectedTeam = team\n }\n }\n\n public selectMonth(month: string) {\n this.selectedMonth = this.selectedMonth != month ? month : null;\n }\n\n loadScript() {\n if (environment.enableCleverAdvertising) {\n (function (document, window) {\n var a, c = document.createElement(\"script\"), f = window.frameElement;\n\n c.id = \"CleverCoreLoader79488\";\n c.src = \"https://scripts.cleverwebserver.com/22de7571ff776767c3f3385a9138a14d.js\";\n\n c.async = !0;\n c.type = \"text/javascript\";\n c.setAttribute(\"data-target\", window.name || (f && f.getAttribute(\"id\")));\n c.setAttribute(\"data-callback\", \"put-your-callback-function-here\");\n c.setAttribute(\"data-callback-url-click\", \"put-your-click-macro-here\");\n c.setAttribute(\"data-callback-url-view\", \"put-your-view-macro-here\");\n\n\n try {\n a = parent.document.getElementsByTagName(\"script\")[0] || document.getElementsByTagName(\"script\")[0];\n } catch (e) {\n a = !1;\n }\n\n a || (a = document.getElementsByTagName(\"head\")[0] || document.getElementsByTagName(\"body\")[0]);\n a.parentNode.insertBefore(c, a);\n })(document, window);\n }\n }\n\n\n /*\n existindo, indica que cliente está em uma rota de tags.\n a rota de tags lista apenas o eventos pertecentes a esta tag em\n uma url personalizada\n */\n onRouterFilter(): void {\n let tag = this.activatedRoute.snapshot.queryParamMap.get('tag');\n\n //this.events = [];\n if (tag != null && tag !== '') {\n this.eventService.getSiteEvents().subscribe((res: any) => {\n this.events! = []\n this.eventsIsa = []\n if (res != null && res?.length) {\n res.forEach((event: any) => {\n if (event.tags.length > 0 && event.tags[0].tag == tag) {\n this.showEventsTag = true;\n if (event.tags[0].tag == \"sesi\") {\n this.showTime = false\n }\n if (event.tags[0].logo != null) {\n this.headerService.defineLogoTag(event.tags[0].logo)\n }\n this.events![this.events!.length] = event;\n this.hideShields = true\n }\n });\n }\n if (this.events!.length == 0) {\n this.showEventsTag = false;\n this.alertService.toast({ icon: 'error', title: 'Nenhum evento encontrado', text: 'Nenhum evento encontrado para a tag ' + tag });\n }\n });\n }\n }\n\n private loadBanners(): void {\n this.bannerService.getAll()\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(banners => {\n this.banners = banners.sort((a: BannerModel, b: BannerModel) => { if (a.uf == this.clientUF) return -1; else return 1; });\n });\n }\n\n private loadEventCategories(): void {\n let params;\n\n\n if (this.comissionerMode == true) {\n params = { comissionerId: this.authService.getCustomer().comissionerId };\n }\n\n if (this.events != null) {\n this.events.length = 0;\n }\n\n this.eventService.groupByCategories(params)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((events) => {\n this.events = events.filter(\n (event) => event.id !== 'f6ae00d6-3f76-4abd-9c03-3676e4e33a38'\n );\n this.onRouterFilter();\n });\n }\n\n setSelectedState(filteredState: StateModel) {\n this.store.dispatch(EventActions.filterEventsByState({ filteredState }));\n window.scroll(0, 203);\n }\n\n private loadEventMonths(): void {\n let params;\n\n\n if (this.comissionerMode == true) {\n params = { comissionerId: this.authService.getCustomer().comissionerId };\n }\n\n if (this.events != null) {\n this.events.length = 0;\n }\n this.loading = true\n this.eventService.groupByMonths(params)\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((events) => {\n let months: any[] = []\n events.forEach((event) => {\n // this.loading = false\n let number = event.dates[0].split(\"-\")[1]\n let name = new Date(event.dates[0]).toLocaleString(\"pt-BR\", { month: \"long\" })\n let year = new Date(event.dates[0]).getFullYear()\n let monthExists = months.filter((month) => {\n if (month.number == number) {\n return month\n }\n })\n if (monthExists.length <= 0) {\n months[months.length] = { number: number, name: name, year: year }\n }\n })\n\n this.months = months\n\n this.months = this.months.sort((a, b) => {\n if (a.year !== b.year) {\n return a.year - b.year;\n }\n\n return months.indexOf(a.month) - months.indexOf(b.month)\n });\n this.events = events.filter(\n (event) => event.id !== 'f6ae00d6-3f76-4abd-9c03-3676e4e33a38'\n );\n this.onRouterFilter();\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';\n\nimport { BannerComponent } from './banner.component';\n\n@NgModule({\n declarations: [\n BannerComponent\n ],\n imports: [\n CommonModule,\n NgxSkeletonLoaderModule\n ],\n exports: [\n BannerComponent\n ],\n})\nexport class BannerModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';\nimport { RouterModule } from '@angular/router';\nimport { CardCategoryComponent } from './card-category.component';\n\n@NgModule({\n declarations: [\n CardCategoryComponent\n ],\n imports: [\n CommonModule,\n NgxSkeletonLoaderModule,\n RouterModule\n ],\n exports: [\n CardCategoryComponent\n ],\n})\nexport class CardCategoryModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SwiperModule } from 'swiper/angular';\nimport { SortByModule } from '../../../pipes/sort-by/sort-by.module';\nimport { HomeRoutingModule } from './home-routing.module';\nimport { HomeComponent } from './home.component';\nimport { BannerModule } from '../../components/banner/banner.module';\nimport { CardCategoryModule } from '../../components/card-category/card-category.module';\nimport { CardEventModule } from '../../components/card-event/card-event.module';\nimport { SwiperCitiesModule } from '../../components/swiper-cities/swiper-cities.module';\nimport { FilterCategoryPipe } from './filter-category.pipe';\nimport { FilterMonthPipe } from './filter-month.pipe';\nimport { FilterTeamPipe } from './filter-team.pipe';\n\n@NgModule({\n declarations: [\n HomeComponent,\n FilterCategoryPipe,\n FilterMonthPipe,\n FilterTeamPipe\n ],\n imports: [\n CommonModule,\n HomeRoutingModule,\n SwiperModule,\n SortByModule,\n BannerModule,\n CardCategoryModule,\n CardEventModule,\n SwiperCitiesModule,\n ]\n})\nexport class HomeModule { }\n"]}