PageSourceSearch

https://viaggiareinpuglia.it/679.20d694e3545a97a5.js

js viaggiareinpuglia.it collected 2026-10-02 02:36:46 UTC 35,930 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkvip_fe=self.webpackChunkvip_fe||[]).push([[679],{9786:(qt,U,n)=>{n.r(U),n.d(U,{AttrattoreModule:()=>Bt});var _=n(6895),Y=n(5984),M=n(5601),x=n(2970),C=n(7972),v=n(5019),L=n(2531),T=n(9827),b=n(8794),u=n(3315),R=n(5043),I=n(5066),O=n(2753),m=n(1303),t=n(4650),w=n(9751),Q=n(9646),J=n(8505),G=n(3900),K=n(4004),S=n(1751),q=n(2032),Z=n(3207),y=n(7564),c=n(1752),D=n(1756),H=n(3561),f=n(2466),p=n(4006),j=n(1191),$=n(7731),V=n(312),X=n(42),W=n(4908),k=n(8157);const tt=["parolaChiaveRef"];function et(a,l){if(1&a&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.xp6(1),t.hij("\xa0+\xa0",e.otherFiltersCount,"")}}function it(a,l){if(1&a){const e=t.EpF();t.TgZ(0,"div",47)(1,"div",4)(2,"fieldset",48)(3,"legend"),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"app-custom-multiselect",49),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.filter.riconoscimenti=o)})("ngModelChange",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.handleFormSubmit())}),t.ALo(7,"tipologicaTypeTranslate"),t.ALo(8,"translate"),t.qZA()(),t.TgZ(9,"fieldset",48)(10,"legend"),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.TgZ(13,"a
1pp-custom-multiselect",50),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.filter.idsDisabilita=o)})("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.handleDisabilitaChange(o))}),t.ALo(14,"tipologicaTypeTranslate"),t.ALo(15,"translate"),t.qZA()(),t.TgZ(16,"fieldset",51)(17,"legend"),t._uU(18),t.ALo(19,"translate"),t.qZA(),t.TgZ(20,"app-custom-multiselect",52),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.filter.idsServizi=o)}),t.ALo(21,"tipologicaTypeTranslate"),t.ALo(22,"translate"),t.qZA()(),t.TgZ(23,"fieldset",51)(24,"legend"),t._uU(25),t.ALo(26,"translate"),t.qZA(),t.TgZ(27,"app-custom-multiselect",53),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.filter.idsServiziBambini=o)}),t.ALo(28,"tipologicaTypeTranslate"),t.ALo(29,"translate"),t.qZA()()()()}if(2&a){const e=t.oxw();t.xp6(4),t.Oqu(t.lcZ(5,22,"generic.recognitions")),t.xp6(2),t.s9C("label",t.lcZ(8,27,"generic.filterByrecognitions")),t.Q6J("list",t.xi3(7,24,e.riconoscimenti,e.lang))("ngModel",e.filter.riconoscimenti)("placeholder",!0)("scrollable",!0),t.xp6(5),t.Oqu(t.lcZ(12,29,"generic.accessibleFor")),t.xp6(2),t.s9C("label",t.lcZ(15,34,"generic.accessibleFor")),t.Q6J("list",t.xi3(14,31,e.tipologiaDisabilita,e.lang))("ngModel",e.filter.idsDisabilita),t.xp6(3),t.Q6J("hidden",!e.filter.idsDisabilita),t.xp6(2),t.Oqu(t.lcZ(19,36,"generic.services")),t.xp6(2),t.s9C("label",t.lcZ(22,41,"generic.services")),t.Q6J("scrollable",!0)("list",t.xi3(21,38,e.listaServizi,e.lang))("ngModel",e.filter.idsServizi)("disabled",!(null!=e.filter.idsDisabilita&&e.filter.idsDisabilita.length)),t.xp6(3),t.Q6J("hidden",!e.servizioBambini),t.xp6(2),t.Oqu(t.lcZ(26,43,"generic.spaces")),t.xp6(2),t.s9C("label",t.lcZ(29,48,"generic.spaces")),t.Q6J("list",t.xi3(28,45,e.tipologiaSpazioBambini,e.lang))("ngModel",e.filter.idsServiziBambini)}}function ot(a,l){1&a&&(t.TgZ(0,"button",57),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&a&&(t.s9C("title",t.lcZ(1,2,"generic.quit")),t.xp6(2),t.Oqu(t.lcZ(3,4,"generic.quit")))}function at(a,l){if(1&a){const e=t.EpF();t.TgZ(0,"button",58),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(2);return t.KtG(o.clearFilter())}),t.ALo(1,"translate"),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&a&&(t.s9C("title",t.lcZ(1,2,"generic.reset")),t.xp6(2),t.Oqu(t.lcZ(3,4,"generic.reset")))}function rt(a,l){if(1&a){const e=t.EpF();t.YNc(0,ot,4,6,"button",54),t.YNc(1,at,4,6,"ng-template",null,55,t.W1O),t.TgZ(3,"button",56),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.handleFormSubmit(!0))}),t.ALo(4,"translate"),t._uU(5),t.ALo(6,"translate"),t.qZA()}if(2&a){const e=t.MAs(2),i=t.oxw();t.Q6J("ngIf",!i.otherFiltersCount)("ngIfElse",e),t.xp6(3),t.s9C("title",t.lcZ(4,5,"generic.apply")),t.Q6J("disabled",!i.otherFiltersCount&&!1),t.xp6(2),t.Oqu(t.lcZ(6,7,"generic.apply"))}}function nt(a,l){if(1&a&&(t._uU(0),t.ALo(1,"translate")),2&a){const e=t.oxw();t.AsE("",e.totalItems,"\xa0",t.lcZ(1,2,"generic.resultsForYou"),"")}}function lt(a,l){1&a&&(t._uU(0),t.ALo(1,"translate")),2&a&&t.hij(" ",t.lcZ(1,1,"generic.noResult")," ")}function st(a,l){if(1&a){const e=t.EpF();t.TgZ(0,"div",59)(1,"div")(2,"div",6)(3,"label",60),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"select",61),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.filter.column=o)})("ngModelChange",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.handleFormSubmit())}),t.TgZ(7,"option",62),t._uU(8),t.ALo(9,"uppercase"),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"option",63),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"option",64),t._uU(15),t.ALo(16,"translate"),t.qZA()()()()()}if(2&a){const e=t.oxw();
1t.xp6(4),t.Oqu(t.lcZ(5,5,"generic.orderBy")),t.xp6(2),t.Q6J("ngModel",e.filter.column),t.xp6(2),t.Oqu(t.lcZ(9,7,t.lcZ(10,9,"generic.orderBy"))),t.xp6(4),t.Oqu(t.lcZ(13,11,"generic.inAlphabeticalOrder")),t.xp6(3),t.Oqu(t.lcZ(16,13,"generic.relevance"))}}const ct=function(){return{standalone:!0}};let z=(()=>{class a{get lang(){return this._translateService.currentLang}get typeaheadWaitMs(){return x.Av}get filterCount(){return y.P.valuedFieldsCount(this.filter,this.EXCLUDED_KEYS_FILTER_COUNT,this.EXCLUDED_BOOLEAN_FILTER_COUNT)}get otherFiltersCount(){return y.P.valuedFieldsCount(this.filter,this.EXCLUDED_KEYS_OTHER_FILTER_COUNT,this.EXCLUDED_BOOLEAN_FILTER_COUNT)}constructor(e,i,o,r,s,g,d){this._errorService=e,this._globalService=i,this._localitaService=o,this._mapService=r,this._tipologiaService=s,this._tipologicaListTranslate=g,this._translateService=d,this.totalItems=0,this.showMapChange=new t.vpe,this.onSubmit=new t.vpe,this.onReset=new t.vpe,this.tipologiaInteressi=c.n.DEFAULT_TIPOLOGICA_OBJ,this.tipologiaAttrattore=c.n.DEFAULT_TIPOLOGICA_OBJ,this.riconoscimenti=c.n.DEFAULT_TIPOLOGICA_OBJ,this.riconoscimentiFiltered=[],this.tipologiaArea=c.n.DEFAULT_TIPOLOGICA_OBJ,this.tipologiaDisabilita=c.n.DEFAULT_TIPOLOGICA_OBJ,this.tipologiaServizi=c.n.DEFAULT_TIPOLOGICA_OBJ,this.tipologiaSpazioBambini=c.n.DEFAULT_TIPOLOGICA_OBJ,this.localitaList=c.n.DEFAULT_TIPOLOGICA_OBJ,this.localitySearch="",this.servizioBambini=!1,this.EXCLUDED_KEYS_FILTER_COUNT=y.P.BASE_EXCLUDED_KEYS_FILTER_COUNT,this.EXCLUDED_KEYS_OTHER_FILTER_COUNT=["parolaChiave","idsTema","idsTipologie",...this.EXCLUDED_KEYS_FILTER_COUNT],this.EXCLUDED_BOOLEAN_FILTER_COUNT=[]}ngOnChanges(e){var i,o;(null===(i=e.attrattori)||void 0===i?void 0:i.previousValue)!==(null===(o=e.attrattori)||void 0===o?void 0:o.currentValue)&&setTimeout(()=>{var r,s;null===(r=this.mapComponent)||void 0===r||r.setMarkers(this._mapService.buildAttrattoriPreviewMapObject(this.attrattori)),null===(s=this.mapComponent)||void 0===s||s.invalidateSize()},1e3)}ngOnInit(){this._observLocalitaAutocomplete(),this._getTipologie()}ngAfterViewInit(){this._subscribeRicercaLiberaKeyup()}ngOnDestroy(){var e;null===(e=this._keyupSubscription)||void 0===e||e.unsubscribe()}handleShowMapChange(e){this.showMapChange.emit(this.showMap=!this.showMap)}handleAreaChange(e=!1){e||(this.filter.idsLocalita=[]),this.filter.idArea&&(this.localitaFilter||(this.localitaFilter=new T.f,this.localitaFilter.pgSize=999,this.localitaFilter.pgNumber=1,this.localitaFilter.sort=L.D),this.localitaFilter.idArea=this.filter.idArea,this._localitaService.getListLocalita$(this.localitaFilter).toPromise().then(i=>{if(i.codiceEsito===v.se){const o={};Object.keys(c.n.DEFAULT_TIPOLOGICA_OBJ).forEach(r=>o[r]=[]),Object.keys(o).forEach(r=>{var s;return null===(s=i.payload)||void 0===s?void 0:s.forEach(g=>{var d,A;return o[r].push(new q.M(g.id,g.id,null===(A=null===(d=g.denominazione)||void 0===d?void 0:d.find(E=>r===E.codice))||void 0===A?void 0:A.descrizione))})}),this.localitaList=o}}).catch(this._errorService.handleError)),this.handleFormSubmit()}handleInteressiClick(e){this.filter.idsTema||(this.filter.idsTema=[]);const i=this.filter.idsTema.findIndex(o=>o===e);-1===i?this.filter.idsTema.push(e):this.filter.idsTema.splice(i,1),this.handleFormSubmit()}isInteresseChecked(e){var i,o;return!(null===(o=null===(i=this.filter)||void 0===i?void 0:i.idsTema)||void 0===o||!o.find(r=>r===e))}handleDisabilitaChange(e,i=!1){var o;if(i||(this.filter.idsServiziBambini=[]),e){const r=null===(o=this.listaServizi)||void 0===o?void 0:o[c.n.DEFAULT_MAP_LANG],s=this._storedTipoServizio;this._storedTipoServizio=c.n.getTipoServizioByDisabilitaMultiselect(e),this.servizioBambini=!!this._storedTipoServizio.includes(c.u.Bambini),(!r?.length||s!==this._storedTipoServizio)&&(i||(this.filter.idsServizi=[]),this._getTipologiaServizi(this._storedTipoServizio))}else this.listaServizi=c.n.DEFAULT_TIPOLOGICA_OBJ,this.filter.idsServizi=[];this.servizioBambini||(this.filter.idsServiziBambini=[])}clearFilter(){this.localitySearch=null,this._storedTipoServizio=null,this.filter.idArea=null,this.filter.idsLocalita=null,this.filter.big=!1,this.filter.idsDisabilita=null,this.filter.idsServizi=null,this.filter.idsServiziBambini=null,this.filter.riconoscimenti=null,this.handleFormSubmit()}handleFormSubmit(e){this.onSubmit.emit({advanced:e})}handleFormReset(){this.onReset.emit()}handleLocalitaAutocompleteSelected(e){this.filter.idsLocalita=[],this.filter.idsLocalita.push(e.item.id),this.handleFormSubmit()}handleLocalitaAutocompleteBlur(){this.localitySearch||(this.filter.idsLocalita=[])}_getTipologie(){this._globalService.disableSpinner=!0;const e=[this._tipologiaService.getTipologiaProdottoItinerario$().toPromise(),this._tipologiaService.getTipologiaAttrattore$().toPromise(),this._tipologiaService.getCachedTipologiaAreaTerritoriale$().toPromise(),this._tipologiaService.getTipologiaDisabilita$().pipe((0,J.b)(c.n.removePercorsiFromDisabilita)).toPromise(),this._tipologiaService.getTipologiaSpazioBambini$().toPromise(),this._tipologiaService.getTipologiaRiconoscimenti$().toPromise()];this._globalService.disableSpinner=!1,Promise.all(e).then(i=>{this.tipologiaInteressi=i[0].payload,this.tipologiaAttrattore=i[1].payload,this.tipologiaArea=i[2].payload,this.tipologiaDisabilita=i[3].payload,this.tipologiaSpazioBambini=i[4].payload,this.riconoscimenti=i[5].payload,this._filterRiconoscimenti()}).catch(this._errorService.handleError)}_filterRiconoscimenti(){this.riconoscimenti[this.lang.toUpperCase()].forEac
1h(e=>{switch(e.codice){case h.BandieraBlu:case h.BandieraArancione:case h.MasseriaDidattica:case h.Agromuseo:case h.UNESCO:case h.Ecomuseo:this.riconoscimentiFiltered.push(e)}}),this.riconoscimenti[this.lang.toUpperCase()]=this.riconoscimentiFiltered}_subscribeRicercaLiberaKeyup(){this._keyupSubscription||(this._keyupSubscription=b.U.subscribeKeyup(this.parolaChiaveRef.nativeElement,()=>this.handleFormSubmit()))}_getTipologiaServizi(e){this._globalService.spinner(!0);const i=this._tipologiaService.getTipologiaServizi$(e).toPromise();this._globalService.spinner(),i.then(o=>{o.codiceEsito==v.se&&(this.listaServizi=o.payload)}).catch(this._errorService.handleError)}_observLocalitaAutocomplete(){const e=new T.f;e.pgSize=999,e.pgNumber=1,e.sort=L.D,this.listaLocalita$=new w.y(i=>i.next(this.localitySearch)).pipe((0,G.w)(i=>i?(e.parolaChiave=i,this._globalService.disableSpinner=!0,this._localitaService.getListLocalita$(e).pipe((0,J.b)(r=>{var s;this._globalService.disableSpinner=!1,null!==(s=r?.payload)&&void 0!==s&&s.length&&r.payload.forEach(g=>g.denominazione=this._tipologicaListTranslate.transform(g.denominazione,this.lang))}),(0,K.U)(r=>{var s;return r.codiceEsito===v.se&&null!==(s=r.payload)&&void 0!==s&&s.length?r.payload:[]}))):(0,Q.of)([])))}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(D.T),t.Y36(b.U),t.Y36(H.H),t.Y36(I.S),t.Y36(c.n),t.Y36(Z.b),t.Y36(f.sK))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-filtro-attrattori"]],viewQuery:function(e,i){if(1&e&&(t.Gf(tt,5),t.Gf(S.G,5)),2&e){let o;t.iGM(o=t.CRH())&&(i.parolaChiaveRef=o.first),t.iGM(o=t.CRH())&&(i.mapComponent=o.first)}},inputs:{filter:"filter",totalItems:"totalItems",showMap:"showMap",attrattori:"attrattori"},outputs:{showMapChange:"showMapChange",onSubmit:"onSubmit",onReset:"onReset"},features:[t._Bn([Z.b]),t.TTD],decls:94,vars:100,consts:[[1,"filtro-eventi","filtro-eventi--bg-color"],[1,"container"],[1,"row","filtro-eventi__form"],["f","ngForm"],[1,"row"],[1,"col-12","col-md-6","col-lg-3","filtro-eventi__fieldset"],[1,"form-group"],[1,"input-group--icons"],["for","idcerca",1,"form-label","visually-hidden"],["type","text","id","idcerca","name","parolaChiave","aria-describedby","idcerca",1,"form-control",3,"ngModel","placeholder","ngModelChange"],["parolaChiaveRef",""],["name","idsTema","inputId","Interessi",3,"list","placeholder","ngModel","label","ngModelChange"],[1,"col-12","col-md-6","col-lg-3","filtro-eventi__fieldset","order-1"],["name","idsTipologie","inputId","tipologia",3,"list","ngModel","label","placeholder","ngModelChange"],["name","idArea","inputId","area",3,"single","list","ngModel","label","ngModelChange"],["name","idsLocalita","inputId","localita",3,"scrollable","list","ngModel","label","hidden","ngModelChange"],[1,"form-group","custom-multiselect"],["type","text","autocomplete","off","typeaheadOptionField","denominazione",1,"form-control",3,"ngModel","ngModelOptions","typeahead","typeaheadAsync","typeaheadMinLength","typeaheadWaitMs","hidden","ngModelChange","typeaheadOnSelect","blur"],[1,"form-check"],["type","checkbox","id","idinputCheck1","name","big",1,"form-check-input",3,"ngModel","ngModelChange"],["for","idinputCheck1",1,"form-check-label"],[1,"col-12","col-md-6","col-lg-3","filtro-eventi__fieldset--more","order-3","align-self-start"],[1,"visually-hidden"],[1,"row","g-0"],[1,"col-6","d-lg-none"],[1,"form-check","form-switch"],["for","flexSwitchCheckDefault",1,"form-check-label"],["type","checkbox","id","flexSwitchCheckDefault",1,"form-check-input",3,"checked","change"],[1,"col-6","col-lg-12","text-end"],["type","button","data-bs-toggle","modal","data-bs-target","#advanced-search",1,"btn","btn-primary","text-end",3,"title"],[1,"btn--text-center"],[4,"ngIf"],[1,"material-icons","material-icons-outlined","overflow-auto","ms-1"],[1,"filtro-eventi__reset"],["buttonClass","btn-link",3,"label","hidden","onClick"],["modalId","advanced-search","subcontainerClass","modal-fullscreen-md-down",3,"title"],["appTemplate","body"],["appTemplate","footer"],[1,"d-sm-none","col-12","order-3","px-0",3,"hidden"],["mapId","mapMobile",3,"fitBounds"],["mapComponent",""],[1,"container","mb-4","filtro-eventi__status-wrapper"],[1,"row","align-items-center"],["role","status",1,"col","filtro-eventi__status"],[3,"ngIf","ngIfElse"],["noResultTemplate",""],["class","col-auto",4,"ngIf"],[1,"container-fluid"],[1,"col-12","filtro-eventi__fieldset"],["name","idsRiconoscimenti","inputId","riconoscimenti",3,"list","ngModel","label","placeholder","scrollable","ngModelChange"],["name","idsDisabilita","inputId","AccessibilePer",3,"list","ngModel","label","ngModelChange"],[1,"col-12","filtro-eventi__fieldset",3,"hidden"],["name","idsServizi","inputId","Servizi",3,"scrollable","list","ngModel","label","disabled","ngModelChange"],["name","idsServiziBambini","inputId","ServiziFamiglieConBambini",3,"list","ngModel","label","ngModelChange"],["type","button","class","btn btn-link","data-bs-dismiss","modal",3,"title",4,"ngIf","ngIfElse"],["resetFilterTemplate",""],["type","button","data-bs-dismiss","modal",1,"btn","btn-primary",3,"title","disabled","click"],["type","button","data-bs-dismiss","modal",1,"btn","btn-link",3,"title"],["type","button",1,"btn","btn-link",3,"title","click"],[1,"col-auto"],["for","idselect1",1,"form-label","visually-hidden"],["id","idselect1","name","column",1,"form-select","border-0","fw-bold",3,"ngModel","ngModelChange"],["value","","selected",""],["value","denominazione"],["value","ranking"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"form",2,3)(4,"div",4)(5,"fieldset",5)(6,"legend"),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"div",6)(10,"div",7)(11,"label",8),t._uU(12),t.ALo(13,"translate"),t.qZA(),t.TgZ(14,"input",9,10),t.NdJ("ngModelChange",function(r){return i.filter.parolaChiave=r}),t.ALo(16,"translate"),t.qZA()()()(),t.TgZ(17,"fieldset",5)(18,"legend"),t._uU(19),t.ALo(20,"translate"),t.qZA(),t.TgZ(21,"app-custom-multiselect",11),t.NdJ("ngModelChange",function(r){return i.filter.idsTema=r})("ngModelChange",function(){return i.handleFormSubmit()}),t.ALo(22,"tipologicaTypeTranslate"),t.ALo(23,"translate"),t.qZA()(),t.TgZ(24,"fieldset",12)(25,"legend"),t._uU(26),t.ALo(27,"translate"),t.qZA(),t.TgZ(28,"app-custom-multiselect",13),t.NdJ("ngModelChange",function(r){return i.filter.idsTipologie=r})("ngModelChange",function(){return i.handleFormSubmit()}),t.ALo(29,"tipologicaTypeTranslate"),t.ALo(30,"translate"),t.qZA()()(),t.TgZ(31,"div",4)(32,"fieldset",5)(33,"legend"),t._uU(34),t.ALo(35,"translate"),t.qZA(),t.TgZ(36,"app-custom-multiselect",14),t.NdJ("ngModelChange",function(r){return i.filter.idArea=r})("ngModelChange",function(){return i.handleAreaChange()}),t.ALo(37,"tipologicaTypeTranslate"),t.ALo(38,"translate"),t.qZA()(),t.TgZ(39,"fieldset",5)(40,"legend"),t._uU(41),t.ALo(42,"translate"),t.qZA(),t.TgZ(43,"app-custom-multiselect",15),t.NdJ("ngModelChange",function(r){return i.filter.idsLocalita=r}),t.ALo(44,"tipologicaTypeTranslate"),t.ALo(45,"translate"),t.qZA(),t.TgZ(46,"div",16)(47,"input",17),t.NdJ("ngModelChange",function(r){return i.localitySearch=r})("typeaheadOnSelect",function(r){return i.handleLocalitaAutocompleteSelected(r)})("blur",function(){return i.handleLocalitaAutocompleteBlur()}),t.qZA()()(),t.TgZ(48,"fieldset",5)(49,"legend"),t._uU(50),t.ALo(51,"translate"),t.qZA(),t.TgZ(52,"div",18)(53,"input",19),t.NdJ("ngModelChange",function(r){return i.filter.big=r})("ngModelChange",function(){return i.handleFormSubmit()}),t.qZA(),t.TgZ(54,"label",20),t._uU(55),t.ALo(56,"translate"),t.qZA()()(),t.TgZ(57,"fieldset",21)(58,"legend",22),t._uU(59),t.ALo(60,"translate"),t.qZA(),t.TgZ(61,"div",23)(62,"div",24)(63,"div",25)(64,"label",26),t._uU(65),t.ALo(66,"translate"),t.qZA(),t.TgZ(67,"input",27),t.NdJ("change",function(r){return i.handleShowMapChange(r)}),t.qZA()()(),t.TgZ(68,"div",28)(69,"button",29),t.ALo(70,"translate"),t.TgZ(71,"span",30),t._uU(72),t.ALo(73,"translate"),t.qZA(),t.YNc(74,et,2,1,"span",31),t.TgZ(75,"span",32),t._uU(76,"filter_alt"),t.qZA()(),t.TgZ(77,"div",33)(78,"app-button",34),t.NdJ("onClick",function(){return i.handleFormReset()}),t.ALo(79,"translate"),t.qZA()()()(),t.TgZ(80,"app-modal",35),t.ALo(81,"translate"),t.YNc(82,it,30,50,"ng-template",36),t.YNc(83,rt,7,9,"ng-template",37),t.qZA()(),t.TgZ(84,"fieldset",38),t._UZ(85,"app-map",39,40),t.qZA()()()()(),t.TgZ(87,"div",41)(88,"div",42)(89,"div",43),t.YNc(90,nt,2,4,"ng-template",44),t.YNc(91,lt,2,3,"ng-template",null,45,t.W1O),t.qZA(),t.YNc(93,st,17,15,"div",46),t.qZA()()),2&e){const o=t.MAs(92);t.xp6(7),t.Oqu(t.lcZ(8,49,"generic.freeSearch")),t.xp6(5),t.Oqu(t.lcZ(13,51,"generic.search")),t.xp6(2),t.s9C("placeholder",t.lcZ(16,53,"generic.t
1ypeKeywordHere")),t.Q6J("ngModel",i.filter.parolaChiave),t.xp6(5),t.Oqu(t.lcZ(20,55,"generic.interests")),t.xp6(2),t.s9C("label",t.lcZ(23,60,"generic.filterByInterests")),t.Q6J("list",t.xi3(22,57,i.tipologiaInteressi,i.lang))("placeholder",!0)("ngModel",i.filter.idsTema),t.xp6(5),t.Oqu(t.lcZ(27,62,"generic.type")),t.xp6(2),t.s9C("label",t.lcZ(30,67,"generic.filterByType")),t.Q6J("list",t.xi3(29,64,i.tipologiaAttrattore,i.lang))("ngModel",i.filter.idsTipologie)("placeholder",!0),t.xp6(6),t.Oqu(t.lcZ(35,69,"generic.area")),t.xp6(2),t.s9C("label",t.lcZ(38,74,"generic.area")),t.Q6J("single",!0)("list",t.xi3(37,71,i.tipologiaArea,i.lang))("ngModel",i.filter.idArea),t.xp6(5),t.Oqu(t.lcZ(42,76,"generic.locality")),t.xp6(2),t.s9C("label",t.lcZ(45,81,"generic.locality")),t.Q6J("scrollable",!0)("list",t.xi3(44,78,i.localitaList,i.lang))("ngModel",i.filter.idsLocalita)("hidden",!i.filter.idArea),t.xp6(4),t.Q6J("ngModel",i.localitySearch)("ngModelOptions",t.DdM(99,ct))("typeahead",i.listaLocalita$)("typeaheadAsync",!0)("typeaheadMinLength",3)("typeaheadWaitMs",500)("hidden",i.filter.idArea),t.xp6(3),t.Oqu(t.lcZ(51,83,"generic.select")),t.xp6(3),t.Q6J("ngModel",i.filter.big),t.xp6(2),t.Oqu(t.lcZ(56,85,"generic.bigAttractions")),t.xp6(4),t.Oqu(t.lcZ(60,87,"generic.otherFilters")),t.xp6(6),t.Oqu(t.lcZ(66,89,"generic.showMap")),t.xp6(2),t.Q6J("checked",i.showMap),t.xp6(2),t.s9C("title",t.lcZ(70,91,"generic.otherFilters")),t.xp6(3),t.Oqu(t.lcZ(73,93,"generic.otherFilters")),t.xp6(2),t.Q6J("ngIf",i.otherFiltersCount),t.xp6(4),t.s9C("label",t.lcZ(79,95,"generic.resetFilters")),t.Q6J("hidden",!i.filterCount),t.xp6(2),t.s9C("title",t.lcZ(81,97,"generic.customizeSearch")),t.xp6(4),t.Q6J("hidden",!i.showMap||!(null!=i.attrattori&&i.attrattori.length)),t.xp6(1),t.Q6J("fitBounds",!0),t.xp6(5),t.Q6J("ngIf",i.totalItems)("ngIfElse",o),t.xp6(3),t.Q6J("ngIf",i.totalItems)}},dependencies:[_.O5,p._Y,p.YN,p.Kr,p.Fj,p.Wl,p.EJ,p.JJ,p.JL,p.On,p.F,S.G,j.Bp,$.W,V.z,X.r,W.S,_.gd,f.X$,k.o]}),a})();var h=(()=>{return(a=h||(h={})).BandieraBlu="BANDIERA_BLU",a.BandieraArancione="BANDIERA_ARANCIONE",a.Agromuseo="AGROMUSEO",a.MasseriaDidattica="MASSERIA_DIDATTICA",a.UNESCO="UNESCO",a.Ecomuseo="ECOMUSEO",h;var a})(),F=n(9059),gt=n(4551),pt=n(2088),dt=n(2521),N=n(8782);const ht=function(a){return{index:a}};function ut(a,l){if(1&a&&(t.TgZ(0,"li",11),t._UZ(1,"app-card-event",12),t.ALo(2,"tipologicaListTranslate"),t.qZA()),2&a){const e=l.$implicit,i=l.index,o=t.oxw(2);t.xp6(1),t.Q6J("itemId",e.id)("header",t.xi3(2,8,e.denominazione,o.lang))("place",e.comune)("imgUrl",o.getImgSrc(e))("tipoWishlist",o.tipoWishlistAttrattore)("hrefUrl",o.detailBaseUrl+e.url)("data",t.VKq(11,ht,i))("loveIcon",!0)}}function mt(a,l){if(1&a&&(t.TgZ(0,"ul",9),t.YNc(1,ut,3,13,"li",10),t.qZA()),2&a){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.models)}}function _t(a,l){1&a&&(t.TgZ(0,"span",18),t._uU(1,"chevron_left"),t.qZA(),t.TgZ(2,"span",19),t._uU(3),t.ALo(4,"translate"),t.qZA()),2&a&&(t.xp6(3),t.Oqu(t.lcZ(4,1,"generic.prev")))}function ft(a,l){1&a&&(t.TgZ(0,"span",18),t._uU(1,"chevron_right"),t.qZA(),t.TgZ(2,"span",19),t._uU(3),t.ALo(4,"translate"),t.qZA()),2&a&&(t.xp6(3),t.Oqu(t.lcZ(4,1,"generic.prev")))}function vt(a,l){if(1&a){const e=t.EpF();t.TgZ(0,"div",13)(1,"div",14)(2,"pagination",15),t.NdJ("pageChanged",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.handlePageChanged(o))}),t.qZA(),t.YNc(3,_t,5,3,"ng-template",null,16,t.W1O),t.YNc(5,ft,5,3,"ng-template",null,17,t.W1O),t.qZA()()}if(2&a){const e=t.MAs(4),i=t.MAs(6),o=t.oxw();t.Q6J("hidden",o.totalItems<9),t.xp6(2),t.Q6J("totalItems",o.totalItems)("maxSize",5)("itemsPerPage",o.filter.pgSize)("customPreviousTemplate",e)("customNextTemplate",i)("ngModel",o.filter.pgNumber)}}const At=function(){return{percentPosition:!0}};let B=(()=>{class a{constructor(e){this.translateService=e,this.totalItems=0,this.onPageChanged=new t.vpe}handlePageChanged(e){this.filter.pgNumber=e.page,this.onPageChanged.emit()}getImgSrc(e){var i,o;return F.A.getAttrattorePreviewImgUrl(null===(o=null===(i=e.foto)||void 0===i?void 0:i.find(r=>r.anteprima))||void 0===o?void 0:o.file)}get tipoWishlistAttrattore(){return gt.WISHLIST_ATTRATTORE}get isMobileSize(){return O.H.isMobileSize()}get lang(){return this.translateService.currentLang}get detailBaseUrl(){return`/${this.lang}/${C.DETTAGLIO_ATTRATTORE}/`}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(f.sK))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-risultati-attrattori"]],viewQuery:function(e,i){if(1&e&&t.Gf(S.G,5),2&e){let o;t.iGM(o=t.CRH())&&(i.mapComponent=o.first)}},inputs:{filter:"filter",totalItems:"totalItems",models:"models",showMap:"showMap"},outputs:{onPageChanged:"onPageChanged"},decls:10,vars:6,consts:[[1,"container","risultati-eventi"],[1,"row"],[1,"col-12"],[3,"options","ordered"],["class","list-unstyled row gx-2",4,"ngIf"],["class","row",3,"hidden",4,"ngIf"],[1,"container-fluid","d-none","d-sm-block"],[1,"col-12","risultati-eventi__map","px-0"],["mapId","mapAggregatoreAttrattori",3,"fitBounds"],[1,"list-unstyled","row","gx-2"],["ngxMasonryItem","","class","col-12 col-md-6 col-lg-3",4,"ngFor","ngForOf"],["ngxMasonryItem","",1,"col-12","col-md-6","col-lg-3"],[3,"itemId","header","place","imgUrl","tipoWishlist","hrefUrl","data","loveIcon"],[1,"row",3,"hidden"],[1,"col"],[1,"justify-content-center",3,"totalItems","maxSize","itemsPerPage","customPreviousTemplate","customNextTemplate","ngModel","pageChanged"],["prevTemplate",""],["nextTemplate",""],[1,"material-icons"],[1,"visually-hidden"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"ngx-masonry",3),t.YNc(4,mt,2,1,"ul",4),t.qZA(),t.YNc(5,vt,7,7,"div",5),t.qZA()()(),t.TgZ(6,"div",6)(7,"div",1)(8,"div",7),t._UZ(9,"app-map",8),t.qZA()()()),2&e&&(t.xp6(3),t.Q6J("options",t.DdM(5,At))("ordered",!0),t.xp6(1),t.Q6J("ngIf",null==i.models?null:i.models.length),t.xp6(1),t.Q6J("ngIf",i.filter&&(null==i.models?null:i.models.length)),t.xp6(4),t.Q6J("fitBounds",!0))},dependencies:[_.sg,_.O5,p.JJ,p.On,pt.s,S.G,dt.Qt,N.gn,N.CL,f.X$,Z.b]}),a})();var P=n(4575),Ct=n(3827),Tt=n(468),bt=n(3587),St=n(2186),Zt=n(8423),Mt=n(8613),Lt=n(2203),It=n(3858),Ot=n(9835),yt=n(9048),Ft=n(5745),Et=n(4832),Ut=n(9668),xt=n(1299);function Rt(a,l){if(1&a&&(t.TgZ(0,"app-section-common",12),t.ALo(1,"translate"),t.ALo(2,"translate"),t._UZ(3,"app-owl-carousel-itinerari",13),t.qZA()),2&a){const e=t.oxw();t.s9C("titleLabel",t.lcZ(1,4,"generic.theSuggestedItineraries")),t.s9C("hrefLabel",t.lcZ(2,6,"generic.discoverAll")),t.Q6J("hrefUrl",e.aggregatoreItinerariUrl),t.xp6(3),t.Q6J("models",e.itinerariSuggeritiCarousel)}}function Jt(a,l){1&a&&(t._UZ(0,"app-section-common",14),t.ALo(1,"translate")),2&a&&t.s9C("hrefLabel",t.lcZ(1,1,"generic.theSuggestedItineraries"))}function Dt(a,l){1&a&&t._UZ(0,"app-section-common",15)}const zt=[{path:"",component:(()=>{class a{get lang(){return this._translateService.currentLang}get isLogged(){return this._userService.isLogged()}get aggregatoreItinerariUrl(){return this._utilService.buildLangUrl(C.ITINERARI)}get isMobileSize(){return O.H.isMobileSize()}get allServicesUrl(){return this._utilService.buildLangUrl(C.SERVIZI)}get supportoVisitaImg(){return P.Xj}get attrattoriBannerImg(){return P.s6}constructor(e,i,o,r,s,g,d,A,E,Pt,Yt,wt,Qt,Gt,Kt){this._activatedRoute=e,this._aggregatorService=i,this._attrattoreService=o,this._errorService=r,this._globalService=s,this._gtagService=g,this._itinerarioService=d,this._mapService=A,this._seoService=E,this._spinnerService=Pt,this._storageService=Yt,this._translateService=wt,this._userService=Qt,this._utilService=Gt,this._seoObjService=Kt,this.attrattori=[],this.totalItems=0,this.showMap=!O.H.isSmallSize(),this.itinerariSuggeritiCarousel=[],this.breadCrumbModels=[{href:this._utilService.buildLangUrl(C.HOME,!0),label:"generic.home"},{href:"javascript:void(0)",label:"generic.treasuresToBeDiscovered"}],this.bannerParams={idsTipologie:"INTERMEDIAZIONEORGANIZZAZIONE",tipologiaServizio:"TOUROPERATOR"},this._firstTime=!0,this._overOnInit=!1,this._isStoredPage=!1,this._firstTimeOnPageChange=!0,this._langChangeSubscription=this._translateService.onLangChange.subscribe(()=>{this.setMetaTagInfo()})}ngOnInit(){this.setMetaTagInfo(),this._subscribeLangChange(),this._buildFilter(),this._subscribeQueryParams(),this.getBanner(),this._overOnInit=!0}_subscribeQueryParams(){this._activatedRoute.queryParams.subscribe(e=>{e.idsTipologie&&(this.filter.idsTipologie=[e.idsTipologie]),this._overOnInit&&this.getAttrattori()})}ngAfterViewInit(){this.getAttrattori(),this._getItinerariSuggeriti(),setTimeout(()=>{console.log(this.attrattori)},1e3)}ngOnDestroy(){var e;null===(e=this._langChangeSubscription)||void 0===e||e.unsubscribe()}dataLayerBase(){this._gtagService.dataLayerBase(u.GV.Aggregatore,"","",void 0,u.Jb.Luoghi,u.$7.Attrattori,null)}getAttrattori(e,i){if(e){if(this._firstTimeOnPageChange&&this._isStoredPage)return void(this._firstTimeOnPageChange=!1)}else{const o=this.filter.pgNumber;if(this._firstTime||(this.filter.pgNumber=1),this._firstTime=!1,o!==this.filter.pgNumber)return}
1this._attrattoreService.getListAttrattori$(this.filter).toPromise().then(o=>{o.codiceEsito===v.se&&(this.attrattori=o.payload,this.totalItems=o.numeroTotaleOggetti,this._gtagService.utilizzoFiltri(i?u.vA.Avanzato:u.vA.Normale,this.filter,u.$7.Attrattori),this._storageService.ssSet(m.V.FILTER_ATTRATTORI_KEY,this.filter),this._storageService.ssSet(m.V.SEARCH_ATTRATTORI_KEY,this.filtroAttrattoriComponent.localitySearch||""),this._spinnerService.show(),setTimeout(()=>{var r,s,g,d;null===(s=null===(r=this.risultatiAttrattoriComponent)||void 0===r?void 0:r.mapComponent)||void 0===s||s.setMarkers(this._mapService.buildAttrattoriPreviewMapObject(this.attrattori)),null===(d=null===(g=this.risultatiAttrattoriComponent)||void 0===g?void 0:g.mapComponent)||void 0===d||d.invalidateSize(),this._spinnerService.hide()},x.Iy))}).catch(this._errorService.handleError)}handleShowMapChange(e){var i;e&&I.S.handleShowMapSwitch(null===(i=this.risultatiAttrattoriComponent)||void 0===i?void 0:i.mapComponent)}handleFilterReset(){this._storageService.ssClear(m.V.FILTER_ATTRATTORI_KEY),this._storageService.ssClear(m.V.SEARCH_ATTRATTORI_KEY),this.filtroAttrattoriComponent&&(this.filtroAttrattoriComponent.localitySearch="");const e=1===this.filter.pgNumber;this._buildFilter(),e&&this.getAttrattori()}_buildFilter(){const e=this._storageService.ssGet(m.V.FILTER_ATTRATTORI_KEY);e?(this.filter=e,this._isStoredPage=1!==this.filter.pgNumber,setTimeout(()=>{var i,o;this.filter.idArea&&(null===(i=this.filtroAttrattoriComponent)||void 0===i||i.handleAreaChange(!0)),!(null===(o=this.filter.idsDisabilita)||void 0===o)&&o.length&&this.filtroAttrattoriComponent.handleDisabilitaChange(this.filter.idsDisabilita,!0),this.filtroAttrattoriComponent&&(this.filtroAttrattoriComponent.localitySearch=this._storageService.ssGet(m.V.SEARCH_ATTRATTORI_KEY))},0),R.m.log("AggregatoreAttrattoriComponent::_buildFilter::filter from storage::",this.filter)):(R.m.log("AggregatoreAttrattoriComponent::_buildFilter::new filter"),this.filter=new T.f,this.filter.pgSize=b.U.getDevicePgSize(),this.filter.sort=L.D)}_subscribeLangChange(){this._langChangeSubscription=this._translateService.onLangChange.subscribe(e=>{var i,o;"denominazione"===this.filter.column?this.getAttrattori():null===(o=null===(i=this.risultatiAttrattoriComponent)||void 0===i?void 0:i.mapComponent)||void 0===o||o.setMarkers(this._mapService.buildAttrattoriPreviewMapObject(this.attrattori))})}_getItinerariSuggeriti(){const e=new T.f;this.isLogged?e.applyOntologie=!0:e.big=!0,this._globalService.spinner(!0);const i=this._itinerarioService.getListItinerari$(e).toPromise();this._globalService.spinner(),i.then(o=>{o.codiceEsito===v.se&&(this.itinerariSuggeritiCarousel=this._itinerarioService.buildItinerarioGenericCard(o.payload))}).catch(this._errorService.handleError)}setMetaTagInfo(){const{meta:e}=this._activatedRoute.snapshot.data;e&&(this._seoService.updateTitle(e.title),this._seoService.updateDescription(e.description)),this._seoService.updateGenericMeta("it"===this._translateService.currentLang?{title:this._seoObjService.attrattori.metaTitle.it,description:this._seoObjService.attrattori.metaDescription.it,ogTitle:this._seoObjService.attrattori.metaTitle.it,ogDescription:this._seoObjService.attrattori.metaDescription.it,keywords:this._seoObjService.attrattori.metaKeywords.it}:{title:this._seoObjService.attrattori.metaTitle.en,description:this._seoObjService.attrattori.metaDescription.en,ogTitle:this._seoObjService.attrattori.metaTitle.en,ogDescription:this._seoObjService.attrattori.metaDescription.en,keywords:this._seoObjService.attrattori.metaKeywords.en})}getBanner(){this._aggregatorService.getAggregatorBanner("ATTRATTORI").subscribe(e=>{this.banner=e.payload,this.banner.media=F.A.getDAMMediaURL(this.banner.media,F.K.Web)})}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(M.gz),t.Y36(Ct.D),t.Y36(Tt.A),t.Y36(D.T),t.Y36(b.U),t.Y36(u.fg),t.Y36(bt.a),t.Y36(I.S),t.Y36(St.v),t.Y36(Zt.t2),t.Y36(m.V),t.Y36(f.sK),t.Y36(Mt.K),t.Y36(Lt.f),t.Y36(It.T))},a.\u0275cmp=t.Xpm({type:a,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&(t.Gf(z,5),t.Gf(B,5)),2&e){let o;t.iGM(o=t.CRH())&&(i.filtroAttrattoriComponent=o.first),t.iGM(o=t.CRH())&&(i.risultatiAttrattoriComponent=o.first)}}
1,decls:19,vars:37,consts:[[3,"imgUrl","label","didascalia"],[1,"container","py-2","py-lg-4"],[1,"row"],[1,"col-12","col-md"],[3,"models","ngxTranslate"],[3,"attrattori","filter","totalItems","showMap","showMapChange","onSubmit","onReset"],[3,"showMap","totalItems","filter","models","onPageChanged"],["containerClass","bg-yellow py-5","subContainerClass","container",3,"titleLabel","hrefLabel","hrefUrl",4,"ngIf"],["subContainerClass","container py-5 d-none d-sm-block","titleClass","text-primary","hrefUrl","undefined",3,"hrefLabel",4,"ngIf"],["subContainerClass","container py-5",3,"loveIcon","titleLabel"],["subContainerClass","container py-5 d-sm-none","titleClass","text-primary","hrefLabel","label","hrefUrl","",4,"ngIf"],["type","right","containerClass","section-spacer","altText","undefined",3,"imgUrl","title","didascalia","href","queryParams","hrefLabel"],["containerClass","bg-yellow py-5","subContainerClass","container",3,"titleLabel","hrefLabel","hrefUrl"],["carouselId","carouselItinerariSuggeriti",3,"models"],["subContainerClass","container py-5 d-none d-sm-block","titleClass","text-primary","hrefUrl","undefined",3,"hrefLabel"],["subContainerClass","container py-5 d-sm-none","titleClass","text-primary","hrefLabel","label","hrefUrl",""]],template:function(e,i){1&e&&(t.TgZ(0,"main"),t._UZ(1,"app-aggregator-banner",0),t.ALo(2,"translate"),t.ALo(3,"tipologicaListTranslate"),t.TgZ(4,"div",1)(5,"div",2)(6,"div",3),t._UZ(7,"app-breadcrumb",4),t.qZA()()(),t.TgZ(8,"app-filtro-attrattori",5),t.NdJ("showMapChange",function(r){return i.showMap=r})("showMapChange",function(r){return i.handleShowMapChange(r)})("onSubmit",function(r){return i.getAttrattori(!1,r.advanced)})("onReset",function(){return i.handleFilterReset()}),t.qZA(),t.TgZ(9,"app-risultati-attrattori",6),t.NdJ("onPageChanged",function(){return i.getAttrattori(!0)}),t.qZA(),t.YNc(10,Rt,4,8,"app-section-common",7),t.YNc(11,Jt,2,3,"app-section-common",8),t._UZ(12,"app-big-localities-section",9),t.ALo(13,"translate"),t.YNc(14,Dt,1,0,"app-section-common",10),t._UZ(15,"app-section-banner",11),t.ALo(16,"translate"),t.ALo(17,"translate"),t.ALo(18,"translate"),t.qZA()),2&e&&(t.xp6(1),t.s9C("label",t.lcZ(2,24,"generic.treasuresToBeDiscovered")),t.Q6J("imgUrl",null==i.banner?null:i.banner.media)("didascalia",t.xi3(3,26,null==i.banner?null:i.banner.sottotitolo,i.lang)),t.xp6(6),t.Q6J("models",i.breadCrumbModels)("ngxTranslate",!0),t.xp6(1),t.Q6J("attrattori",i.attrattori)("filter",i.filter)("totalItems",i.totalItems)("showMap",i.showMap),t.xp6(1),t.Q6J("showMap",i.showMap)("totalItems",i.totalItems)("filter",i.filter)("models",i.attrattori),t.xp6(1),t.Q6J("ngIf",null==i.itinerariSuggeritiCarousel?null:i.itinerariSuggeritiCarousel.length),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(1),t.s9C("titleLabel",t.lcZ(13,29,"generic.theSuggestedLocations")),t.Q6J("loveIcon",!0),t.xp6(2),t.Q6J("ngIf",!1),t.xp6(1),t.s9C("title",t.lcZ(16,31,"generic.organizedYourTrip")),t.s9C("didascalia",t.lcZ(17,33,"generic.searchOperator")),t.s9C("hrefLabel",t.lcZ(18,35,"generic.weHelpYou")),t.Q6J("imgUrl",i.attrattoriBannerImg)("href",i.allServicesUrl)("queryParams",i.bannerParams))},dependencies:[_.O5,Ot.l,yt.V,Ft.u,Et.g,Ut.C,xt.L,z,B,f.X$,Z.b]}),a})()}];let Nt=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[M.Bz.forChild(zt),M.Bz]}),a})(),Bt=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[_.ez,Nt,Y.m]}),a})()}}]);

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.