1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[811,8674],{27227:(_,u,a)=>{a.d(u,{m:()=>g});var s=a(94650),f=a(51572);let t=(()=>{const e=class{};let r=e;return e.\u0275fac=function(m){return new(m||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["ar-loading-spinner"]],decls:2,vars:0,consts:[[1,"center-align","mobile-padding-spinner"]],template:function(m,d){1&m&&(s.TgZ(0,"div",0),s._UZ(1,"mat-spinner"),s.qZA())},dependencies:[f.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})(),g=(()=>{const e=class{constructor(l,m,d){this.templateRef=l,this.vcRef=m,this.componentFactoryResolver=d,this.loadingFactory=this.componentFactoryResolver.resolveComponentFactory(t)}set arLoading(l){this.vcRef.clear(),l?this.loadingComponent=this.vcRef.createComponent(this.loadingFactory):this.vcRef.createEmbeddedView(this.templateRef)}};let r=e;return e.\u0275fac=function(m){return new(m||e)(s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(s._Vd))},e.\u0275dir=s.lG2({type:e,selectors:[["","arLoading",""]],inputs:{arLoading:"arLoading"}}),r})()},98674:(_,u,a)=>{a.d(u,{z:()=>g});var s=a(27227),f=a(51572),t=a(94650);let g=(()=>{const e=class{};let r=e;return e.\u0275fac=function(m){return new(m||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({providers:[s.m],imports:[f.Cq]}),r})()},60811:(_,u,a)=>{a.r(u),a.d(u,{ConfermaContattoModule:()=>Y});var s=a(53358),f=a(40537),t=a(94650),g=a(74670),r=a(44476),e=a(90603),v=a(36895),l=a(1576),m=a(55829),d=a(27227),x=a(4859);function C(n,o){1&n&&(t.TgZ(0,"span"),t._uU(1," Per procedere con la validazione del suo indirizzo mail "),t.qZA())}function T(n,o){1&n&&(t.TgZ(0,"span"),t._uU(1," Per procedere con la validazione del suo numero di telefono "),t.qZA())}function A(n,o){if(1&n){const p=t.EpF();t.TgZ(0,"div",9)(1,"button",10),t.NdJ("click",function(){t.CHM(p);const c=t.oxw(2);return t.KtG(c.confermaContatto())}),t._uU(2," Conferma "),t.qZA(),t.TgZ(3,"button",11),t._uU(4," Annulla "),t.qZA()()}}function y(n,o){if(1&n&&(t.ynx(0),t.TgZ(1,"div",4)(2,"h2"),t._uU(3,"CONTATTO DA VALIDARE"),t.qZA()(),t.TgZ(4,"div",5)(5,"p"),t.YNc(6,C,2,0,"span",2),t.YNc(7,T,2,0,"ng-template",null,6,t.W1O),t.TgZ(9,"b"),t._uU(10),t.qZA(),t._uU(11,', clicchi sul tasto "'),t.TgZ(12,"b"),t._uU(13,"CONFERMA"),t.qZA(),t._uU(14,'". '),t.qZA(),t.TgZ(15,"p"),t._uU(16,'Per annullare l\u2019operazione, clicchi sul tasto "'),t.TgZ(17,"b"),t._uU(18,"ANNULLA"),t.qZA(),t._uU(19,'"'),t.qZA(),t.TgZ(20,"p"),t._uU(21," Per approfondimenti in merito alla richiesta di validazione dei suoi contatti da parte della Compagnia, la invitiamo a cliccare "),t.TgZ(22,"a",7),t._uU(23," qui."),t.qZA()(),t.YNc(24,A,5,0,"div",8),t.qZA(),t.BQk()),2&n){const p=t.MAs(8),i=t.oxw();t.xp6(6),t.Q6J("ngIf",i.isEmail)("ngIfElse",p),t.xp6(4),t.Oqu(i.contact),t.xp6(14),t.Q6J("arLoading",!i.isReady)}}function Z(n,o){1&n&&(t.TgZ(0,"h2"),t._uU(1,"VALIDAZIONE CONTATTO EFFETTUATA"),t.qZA())}function E(n,o){1&n&&t._uU(0," ERRORE NELLA VALIDAZIONE DEL CONTATTO ")}function O(n,o){1&n&&(t.ynx(0),t._uU(1," Abbiamo il piacere di confermarle che la validazione del suo indirizzo mail \xe8 avvenuta con successo! Grazie. "),t.BQk())}function L(n,o){1&n&&t._uU(0," Abbiamo il piacere di confermarle che la validazione del suo numero di cellulare \xe8 avvenuta con successo! Grazie. ")}function U(n,o){if(1&n&&(t.TgZ(0,"p"),t.YNc(1,O,2,0,"ng-container",2),t.YNc(2,L,1,0,"ng-template",null,16,t.W1O),t.qZA()),2&n){const p=t.MAs(3),i=t.oxw(2);t.xp6(1),t.Q6J("ngIf",i.isEmail)("ngIfElse",p)}}function R(n,o){if(1&n&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&n){const p=t.oxw(2);t.xp6(1),t.hij(" ",p.errorMessage," ")}}function b(n,o){if(1&n){const p=t.EpF();t.TgZ(0,"div",4),t.YNc(1,Z,2,0,"h2",2),t.YNc(2,E,1,0,"ng-template",null,12,t.W1O),t.qZA(),t.TgZ(4,"div",5)(5,"div",13),t.YNc(6,U,4,2,"p",2),t.YNc(7,R,2,1,"ng-template",null,14,t.W1O),t.qZA(),t.TgZ(9,"div",13)(10,"a",15),t.NdJ("click",function(){t.CHM(p);const c=t.oxw();return t.KtG(c.goToHome())}),t._uU(11," Torna all'Area Riservata "),t.qZA()()()}if(2&n){const p=t.MAs(3),i=t.MAs(8),c=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!c.showError)("ngIfElse",p),t.xp6(5),t.Q6J("ngIf",!c.showError)("ngIfElse",i)}}let F=(()=>{const o=class{constructor(i,c,h){this.clienteService=i,this.route=c,this.navCtrl=h,this.isReady=!0}ngOnInit(){this.route.queryParams.subscribe(i=>{this.idToken=i.id,this.contact=atob(i.contact),this.isEmail=/\S+@\S+\.\S+/.test(this.contact)})}goToHome(){this.navCtrl.navigateRoot("")}confermaContatto(){this.isReady=!1,this.clienteService.confermaContatto({id:this.idToken}).pipe((0,f.x)(()=>{this.isReady=!0,this.showResponse=!0})).subscribe(i=>{this.showError=!i.esito,this.errorMessage=i.messaggio||"Non \xe8 stato possibile validare il contatto."},i=>{this.showError=!0})}};let n=o;return o.\u0275fac=function(c){return new(c||o)(t.Y36(g.$z),t.Y36(r.gz),t.Y36(e.SH))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ar-conferma-contatto"]],decls:5,vars:2,consts:[[1,"main-container"],[1,"content-container"],[4,"ngIf","ngIfElse"],["responseTemplate",""],["ngClass.lt-md","mobile-content-title",1,"content-title"],[1,"inner-content"],["isPhone",""],["href","https://www.vittoriaassicurazioni.com/richiesta-di-validazione-dei-contatti","target","_blank",2,"text-decoration","underline"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","center center","fxLayoutGap.lt-md","10px","fxLayoutGap.gt-sm","30px",4,"arLoading"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","center center","fxLayoutGap.lt-md","10px","fxLayoutGap.gt-sm","30px"],["mat-flat-button","","type","submit","fxFlex","100","fxFlex.gt-sm","20",1,"ar-button","cliente-section-mat-button",3,"click"],["mat-flat-button","","type","submit","fxFlex","100","fxFlex.gt-sm","20","routerLink","/home","routerDirection","root",1,"ar-button","cliente-section-mat-button"],["titleError",""],["fxLayout","row"],["textError",""],["href","javascript:;","mat-flat-button","","fxFlex","100","fxFlex.gt-sm","30","fxFlex.gt-lg","20","type","button","routerLink","/","routerDirection","root",1,"ar-button",3,"click"],["isPhoneMessage",""]],template:function(c,h){if(1&c&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,y,25,4,"ng-container",2),t.YNc(3,b,12,4,"ng-template",null,3,t.W1O),t.qZA()()),2&c){const M=t.MAs(4);t.xp6(2),t.Q6J("ngIf",!h.showResponse)("ngIfElse",M)}},dependencies:[v.O5,e.YI,e.Fo,r.rH,l.xw,l.SQ,l.Wh,l.yH,m.oO,d.m,x.zs,x.lW],styles:["ar-conferma-contatto .inner-content{padding-top:0}@media screen and (max-width: 960px){ar-conferma-contatto .inner-content{padding:20px}ar-conferma-contatto .content-title{padding-bottom:5px;padding-top:5px}}\n"],encapsulation:2}),n})();var N=a(69814),z=a(98674);const I=[{path:"",component:F}];let Y=(()=>{const o=class{};let n=o;return o.\u0275fac=function(c){return new(c||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[s.m,r.Bz.forChild(I),N.o9,z.z,x.ot]}),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.