1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2682,8674],{88742:(A,d,o)=>{o.d(d,{W:()=>_});var s=o(97582),i=o(94650),u=o(19585),x=o(93612),r=o(90603),t=o(78078),b=o(99571),m=o(36895),l=o(4859);function T(C,h){if(1&C){const g=i.EpF();i.TgZ(0,"button",3),i.NdJ("click",function(){i.CHM(g);const z=i.oxw();return i.KtG(z.backTo())}),i._UZ(1,"img",4),i._uU(2," INDIETRO"),i.qZA()}}function O(C,h){if(1&C){const g=i.EpF();i.TgZ(0,"button",3),i.NdJ("click",function(){i.CHM(g);const z=i.oxw();return i.KtG(z.backToPreviousLocation())}),i._UZ(1,"img",4),i._uU(2),i.qZA()}if(2&C){const g=i.oxw();i.xp6(2),i.hij(" ",g.testo||"INDIETRO"," ")}}const f=class{constructor(h,g,v){this.navController=h,this.routingState=g,this.mobileService=v,this.navigate=new i.vpe}backToPreviousLocation(){this.navigate.emit(),!this.customNavigation&&(this.route?this.navController.navigateRoot(this.route):this.mobileService.isApp()?this.mobileService.navigateBack():history.back())}backTo(){this.navigate.emit(),!this.customNavigation&&(this.mobileService.isApp()?this.mobileService.navigateBack():this.navController.navigateBack(this.routingState.getPreviousUrl(
1)))}};let _=f;f.\u0275fac=function(g){return new(g||f)(i.Y36(r.SH),i.Y36(t.Y),i.Y36(b.W))},f.\u0275cmp=i.Xpm({type:f,selectors:[["ar-back-button"]],inputs:{customNavigation:"customNavigation",testo:"testo",route:"route"},outputs:{navigate:"navigate"},decls:5,vars:4,consts:[[1,"back-btn"],["type","button","mat-fab","","extended","","class","ar-back-button outline-bright","aria-label","Torna indietro",3,"click",4,"ngIf","ngIfElse"],["isAuth",""],["type","button","mat-fab","","extended","","aria-label","Torna indietro",1,"ar-back-button","outline-bright",3,"click"],["src","assets/imgs/icons/icona-arrow-white.svg","alt","","aria-hidden","true"]],template:function(g,v){if(1&g&&(i.TgZ(0,"div",0),i.YNc(1,T,3,0,"button",1),i.ALo(2,"async"),i.YNc(3,O,3,1,"ng-template",null,2,i.W1O),i.qZA()),2&g){const z=i.MAs(4);i.xp6(1),i.Q6J("ngIf",i.lcZ(2,2,v.isAnonimo$))("ngIfElse",z)}},dependencies:[m.O5,l.cs,m.Ov],styles:["ar-back-button .back-btn a .mdc-button__label,ar-back-button .back-btn button .mdc-button__label{width:100%;display:flex;flex-direction:row;align-items:center}@media screen and (max-width: 960px){ar-back-button .back-btn{margin-top:60px}ar-back-button .fixed{position:fixed;width:100%;z-index:5}}\n"],encapsulation:2}),(0,s.gn)([(0,u.Ph)(x.jq.isAnonimo)],_.prototype,"isAnonimo$",void 0)},27227:(A,d,o)=>{o.d(d,{m:()=>x});var s=o(94650),i=o(51572);let u=(()=>{const t=class{};let r=t;return t.\u0275fac=function(l){return new(l||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ar-loading-spinner"]],decls:2,vars:0,consts:[[1,"center-align","mobile-padding-spinner"]],template:function(l,T){1&l&&(s.TgZ(0,"div",0),s._UZ(1,"mat-spinner"),s.qZA())},dependencies:[i.Ou],styles:[".center-align[_ngcontent-%COMP%]{display:flex;max-height:100%;box-sizing:border-box;flex-direction:row;justify-content:center;align-items:stretch;align-content:stretch}@media screen and (max-width: 960px){.mobile-padding-spinner[_ngcontent-%COMP%]{padding-top:60px}}"]}),r})(),x=(()=>{const t=class{constructor(m,l,T){this.templateRef=m,this.vcRef=l,this.componentFactoryResolver=T,this.loadingFactory=this.componentFactoryResolver.resolveComponentFactory(u)}set arLoading(m){this.vcRef.clear(),m?this.loadingComponent=this.vcRef.createComponent(this.loadingFactory):this.vcRef.createEmbeddedView(this.templateRef)}};let r=t;return t.\u0275fac=function(l){return new(l||t)(s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(s._Vd))},t.\u0275dir=s.lG2({type:t,selectors:[["","arLoading",""]],inputs:{arLoading:"arLoading"}}),r})()},98674:(A,d,o)=>{o.d(d,{z:()=>x});var s=o(27227),i=o(51572),u=o(94650);let x=(()=>{const t=class{};let r=t;return t.\u0275fac=function(l){return new(l||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:[s.m],imports:[i.Cq]}),r})()},72682:(A,d,o)=>{o.r(d),o.d(d,{MappaAgenzieModule:()=>G});var s=o(53358),i=o(44476);class u{}var x=o(7625),r=o(2231),t=o(94650),b=o(6488),m=o(36895),l=o(97392),T=o(55829),O=o(27227),_=o(43496),f=o(88742);function C(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.AsE("",e.agenzie.indirizzo.indirizzo," ",e.agenzie.indirizzo.comune,"")}}function h(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," Tel: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.MGl("href","tel:",e.agenzie.contatti.telefono,"",t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.telefono)}}function g(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij("Fax: ",e.agenzie.contatti.fax,"")}}function v(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," Email: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.MGl("href","mailto:",e.agenzie.contatti.mail,"",t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.mail)}}function z(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," PEC: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.MGl("href","mailto:",e.agenzie.contatti.pec,"",t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.pec)}}function Z(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," Sito web: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.s9C("href",e.agenzie.contatti.url,t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.url)}}function P(n,c){1&n&&(t.ynx(0),t.TgZ(1,"div"),t._uU(2," Apri "),t.TgZ(3,"mat-icon",19),t._uU(4," keyboard_arrow_down "),t.qZA()(),t.BQk())}function E(n,c){1&n&&(t.TgZ(0,"div",20),t._uU(1," Chiudi "),t.TgZ(2,"mat-icon",19),t._uU(3," keyboard_arrow_up "),t.qZA()())}function I(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.AsE("",e.agenzie.indirizzo.indirizzo," ",e.agenzie.indirizzo.comune,"")}}function y(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," Tel: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(3);t.xp6(2),t.MGl("href","tel:",e.agenzie.contatti.telefono,"",t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.telefono)}}function U(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.hij("Fax: ",e.agenzie.contatti.fax,"")}}function w(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," Email: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(3);t.xp6(2),t.MGl("href","mailto:",e.agenzie.contatti.mail,"",t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.mail)}}function R(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," PEC: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(3);t.xp6(2),t.MGl("href","mailto:",e.agenzie.contatti.pec,"",t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.pec)}}function k(n,c){if(1&n&&(t.TgZ(0,"p"),t._uU(1," Sito web: "),t.TgZ(2,"a",18),t._uU(3),t.qZA()()),2&n){const e=t.oxw(3);t.xp6(2),t.s9C("href",e.agenzie.contatti.url,t.LSH),t.xp6(1),t.Oqu(e.agenzie.contatti.url)}}function N(n,c){if(1&n&&(t.TgZ(0,"div",21),t.YNc(1,I,2,2,"p",8),t.YNc(2,y,4,2,"p",8),t.YNc(3,U,2,1,"p",8),t.YNc(4,w,4,2,"p",8),t.YNc(5,R,4,2,"p",8),t.YNc(6,k,4,2,"p",8),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.agenzie.indirizzo.indirizzo),t.xp6(1),t.Q6J("ngIf",e.agenzie.contatti.telefono),t.xp6(1),t.Q6J("ngIf",e.agenzie.contatti.fax),t.xp6(1),t.Q6J("ngIf",e.agenzie.contatti.mail),t.xp6(1),t.Q6J("ngIf",e.agenzie.contatti.pec),t.xp6(1),t.Q6J("ngIf",e.agenzie.contatti.url)}}function J(n,c){if(1&n){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",1),t._UZ(2,"ar-back-button",2),t.TgZ(3,"div",3)(4,"h2"),t._uU(5,"Risultati selezionati"),t.qZA()(),t.TgZ(6,"div",4)(7,"agm-map",5),t.NdJ("mapReady",function(p){t.CHM(e);const M=t.oxw();return t.KtG(M.mapReady(p))}),t.TgZ(8,"agm-marker",6)(9,"agm-info-window",7)(10,"b")(11,"h4"),t._uU(12),t.qZA()(),t.YNc(13,C,2,2,"p",8),t.YNc(14,h,4,2,"p",8),t.YNc(15,g,2,1,"p",8),t.YNc(16,v,4,2,"p",8),t.YNc(17,z,4,2,"p",8),t.YNc(18,Z,4,2,"p",8),t.qZA()()(),t.TgZ(19,"div",9)(20,"div",10)(21,"h2",11),t.NdJ("click",function(){t.CHM(e);const p=t.oxw();return t.KtG(p.centerMap())}),t._uU(22),t.qZA(),t.TgZ(23,"span",12),t.NdJ("click",function(){t.CHM(e);const p=t.oxw();return t.KtG(p.centerMap())}),t._uU(24,"Trova sulla mappa "),t._UZ(25,"span",13),t.qZA(),t.TgZ(26,"span",14),t.NdJ("click",function(){t.CHM(e);const p=t.oxw();return t.KtG(p.moreInfoClick())}),t.YNc(27,P,5,0,"ng-container",15),t.YNc(28,E,4,0,"ng-template",null,16,t.W1O),t.qZA()(),t.YNc(30,N,7,6,"div",17),t.qZA()()(),t.BQk()}if(2&n){const e=t.MAs(29),a=t.oxw();
1t.xp6(2),t.Q6J("testo","INDIETRO"),t.xp6(5),t.Q6J("gestureHandling","auto")("scrollwheel",null)("latitude",a.lat)("longitude",a.lng)("zoom",15),t.xp6(1),t.Q6J("latitude",a.agenzie.coordinateGeo.latitudine)("longitude",a.agenzie.coordinateGeo.longitudine)("iconUrl","assets/imgs/vittoria_marker.png"),t.xp6(1),t.Q6J("isOpen",a.isInfoWindowOpen(1)),t.xp6(3),t.Oqu(a.agenzie.ragioneSociale),t.xp6(1),t.Q6J("ngIf",a.agenzie.indirizzo.indirizzo),t.xp6(1),t.Q6J("ngIf",a.agenzie.contatti.telefono),t.xp6(1),t.Q6J("ngIf",a.agenzie.contatti.fax),t.xp6(1),t.Q6J("ngIf",a.agenzie.contatti.mail),t.xp6(1),t.Q6J("ngIf",a.agenzie.contatti.pec),t.xp6(1),t.Q6J("ngIf",a.agenzie.contatti.url),t.xp6(4),t.Oqu(a.agenzie.ragioneSociale),t.xp6(5),t.Q6J("ngIf",!a.isInfoVisible)("ngIfElse",e),t.xp6(3),t.Q6J("ngIf",a.isInfoVisible)}}let Y=(()=>{const c=class extends r.P{constructor(a,p){super(),this.mappaAgenziaService=a,this.route=p,this.isReady=!1,this.isInfoVisible=!0,this.openedWindow=-1,this.agenzie=new u,this.lat=0,this.lng=0}mapReady(a){this.map=a}openWindow(a){this.openedWindow=a}isInfoWindowOpen(a){return this.openedWindow===a}getMappaAgenzia(a,p){this.mappaAgenziaService.getMappeAgenzie(a,p).pipe((0,x.R)(this._unsubscribeAll)).subscribe(M=>{this.agenzie=M,this.lat=M.coordinateGeo.latitudine,this.lng=M.coordinateGeo.longitudine,this.isReady=!0})}centerMap(){this.map&&(this.map.setCenter({lat:this.lat,lng:this.lng}),this.openWindow(1))}moreInfoClick(){this.isInfoVisible=!this.isInfoVisible}ngOnInit(){const a=parseInt(this.route.snapshot.paramMap.get("tipoPuntoInteresse"),10),p=this.route.snapshot.paramMap.get("key");a&&p&&this.getMappaAgenzia(a,p)}};let n=c;return c.\u0275fac=function(p){return new(p||c)(t.Y36(b.Y),t.Y36(i.gz))},c.\u0275cmp=t.Xpm({type:c,selectors:[["ar-mappa-agenzie"]],features:[t.qOj],decls:1,vars:1,consts:[[4,"arLoading"],["ngClass.lt-md","outer-content-mobile",1,"outer-content"],[3,"testo"],["ngClass.lt-md","mobile-content-title",1,"content-title"],[1,"inner-content"],[1,"agm-map",3,"gestureHandling","scrollwheel","latitude","longitude","zoom","mapReady"],[3,"latitude","longitude","iconUrl"],[3,"isOpen"],[4,"ngIf"],[1,"map-info-section"],[1,"drop-down-info-title",2,"display","inline-block","width","100%"],[3,"click"],[1,"search-on-map-container",3,"click"],[1,"icon-marker-vittoria"],[1,"open-section",3,"click"],[4,"ngIf","ngIfElse"],["chiudiTemplate",""],["class","drop-down-info",4,"ngIf"],[3,"href"],[2,"vertical-align","middle"],[2,"float","right"],[1,"drop-down-info"]],template:function(p,M){1&p&&t.YNc(0,J,31,21,"ng-container",0),2&p&&t.Q6J("arLoading",!M.isReady)},dependencies:[m.O5,l.Hw,T.oO,O.m,_.d,_.SA,_.pt,f.W],styles:[".agm-map[_ngcontent-%COMP%]{height:400px}.map-info-section[_ngcontent-%COMP%]{margin-top:25px}.drop-down-info-title[_ngcontent-%COMP%]{border-bottom:1px solid #0074bd}.drop-down-info-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .drop-down-info-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.drop-down-info-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{cursor:pointer}.drop-down-info-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:15px;color:var(--primary-color);cursor:pointer}.outer-content-mobile[_ngcontent-%COMP%]{background-color:#f1f1f1;margin-top:60px}.content-main-wrapper-mobile[_ngcontent-%COMP%]{background-color:#fff;margin:15px;border-radius:4px}.mobile-content-title[_ngcontent-%COMP%]{margin-top:0!important}.icon-marker-vittoria[_ngcontent-%COMP%]{background-image:url(vittoria_marker.3577104eb16aec54.png);background-repeat:no-repeat;height:23px;width:23px;vertical-align:middle;margin-left:0!important}.search-on-map-container[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}.open-section[_ngcontent-%COMP%]{display:inline-block;margin-top:10px;margin-bottom:10px;float:right;cursor:pointer}.drop-down-info-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{vertical-align:middle}.drop-down-info-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px;margin-right:15px}@media screen and (max-width: 960px){.inner-content[_ngcontent-%COMP%]{background-color:#fff}.map-info-section[_ngcontent-%COMP%]{margin-top:0;padding:20px}}"]}),n})();var D=o(92340),L=o(4859),B=o(284),W=o(84385),Q=o(69814),S=o(98674),K=o(99762);const H=[{path:"",component:Y}];let G=(()=>{const c=class{};let n=c;return c.\u0275fac=function(p){return new(p||c)},c.\u0275mod=t.oAB({type:c}),c.\u0275inj=t.cJS({imports:[s.m,i.Bz.forChild(H),W.LD,B.c,l.Ps,L.ot,Q.o9,S.z,_.su.forRoot({apiKey:D.N.googleMapsApiKey}),K.n]}),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.